@agregio-solutions/design-system 1.19.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design-system.cjs +214 -169
- package/dist/design-system.js +4490 -4245
- package/dist/packages/components/TimeField/index.d.ts +119 -0
- package/dist/packages/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/design-system.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),u=require("react"),yn=require("react-dom");function Mh(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 Ih=Mh(u),Oh=u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);const Ma=u.createContext({}),ie=typeof document<"u"?u.useLayoutEffect:()=>{};function Be(e){const t=u.useRef(null);return ie(()=>{t.current=e},[e]),u.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}function Lh(e){let[t,r]=u.useState(e),n=u.useRef(null),a=Be(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?a():r(i.value)});ie(()=>{n.current&&a()});let o=Be(i=>{n.current=i(t),a()});return[t,o]}const ua={prefix:String(Math.round(Math.random()*1e10)),current:0},rd=u.createContext(ua),Vh=u.createContext(!1);let jh=!!(typeof window<"u"&&window.document&&window.document.createElement),bo=new WeakMap;function Kh(e=!1){let t=u.useContext(rd),r=u.useRef(null);if(r.current===null&&!e){var n,a;let o=(a=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(n=a.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let i=bo.get(o);i==null?bo.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==i.state&&(t.current=i.id,bo.delete(o))}r.current=++t.current}return r.current}function Nh(e){let t=u.useContext(rd);t===ua&&!jh&&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=Kh(!!e),n=t===ua&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function _h(e){let t=u.useId(),[r]=u.useState(Dt()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${ua.prefix}`;return e||`${n}-${t}`}const zh=typeof u.useId=="function"?_h:Nh;function Hh(){return!1}function Zh(){return!0}function Uh(e){return()=>{}}function Dt(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(Uh,Hh,Zh):u.useContext(Vh)}let Wh=!!(typeof window<"u"&&window.document&&window.document.createElement),da=new Map;function Re(e){let[t,r]=u.useState(e),n=u.useRef(null),a=zh(t),o=u.useCallback(i=>{n.current=i},[]);return Wh&&da.set(a,o),ie(()=>{let i=a;return()=>{da.delete(i)}},[a]),u.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),a}function Gh(e,t){if(e===t)return e;let r=da.get(e);if(r)return r(t),t;let n=da.get(t);return n?(n(e),e):t}function Cr(e=[]){let t=Re(),[r,n]=Lh(t),a=u.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return ie(a,[t,a,...e]),r}function Zt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const se=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},et=e=>e&&"window"in e&&e.window===e?e:se(e).defaultView||window;function nd(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=nd(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Wi(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=nd(e))&&(n&&(n+=" "),n+=t);return n}function U(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let a in n){let o=t[a],i=n[a];typeof o=="function"&&typeof i=="function"&&a[0]==="o"&&a[1]==="n"&&a.charCodeAt(2)>=65&&a.charCodeAt(2)<=90?t[a]=Zt(o,i):(a==="className"||a==="UNSAFE_className")&&typeof o=="string"&&typeof i=="string"?t[a]=Wi(o,i):a==="id"&&o&&i?t.id=Gh(o,i):t[a]=i!==void 0?i:o}}return t}function $n(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const qh=new Set(["id"]),Yh=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Jh=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Qh=/^(data-.*)$/;function te(e,t={}){let{labelable:r,isLink:n,propNames:a}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(qh.has(i)||r&&Yh.has(i)||n&&Jh.has(i)||a!=null&&a.has(i)||Qh.test(i))&&(o[i]=e[i]);return o}function dt(e){if(Xh())e.focus({preventScroll:!0});else{let t=em(e);e.focus(),tm(t)}}let On=null;function Xh(){if(On==null){On=!1;try{document.createElement("div").focus({get preventScroll(){return On=!0,!0}})}catch{}}return On}function em(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 tm(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function Ia(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 Gi(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 yt(){return Gi(/^Mac/i)}function rm(){return Gi(/^iPhone/i)}function ad(){return Gi(/^iPad/i)||yt()&&navigator.maxTouchPoints>1}function xn(){return rm()||ad()}function nm(){return yt()||xn()}function qi(){return Ia(/AppleWebKit/i)&&!am()}function am(){return Ia(/Chrome/i)}function od(){return Ia(/Android/i)}function om(){return Ia(/Firefox/i)}const id=u.createContext({isNative:!0,open:lm,useHref:e=>e});function im(e){let{children:t,navigate:r,useHref:n}=e,a=u.useMemo(()=>({isNative:!1,open:(o,i,l,s)=>{sd(o,d=>{ld(d,i)?r(l,s):Bt(d,i)})},useHref:n||(o=>o)}),[r,n]);return u.createElement(id.Provider,{value:a},t)}function Oa(){return u.useContext(id)}function ld(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 Bt(e,t,r=!0){var n,a;let{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}=t;om()&&(!((a=window.event)===null||a===void 0||(n=a.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(yt()?o=!0:i=!0);let d=qi()&&yt()&&!ad()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Bt.isOpening=r,dt(e),e.dispatchEvent(d),Bt.isOpening=!1}Bt.isOpening=!1;function sd(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 lm(e,t){sd(e,r=>Bt(r,t))}function Yi(e){let t=Oa();return{href:e!=null&&e.href?t.useHref(e==null?void 0:e.href):void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let cr=new Map,ti=new Set;function as(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let a=cr.get(n.target);a||(a=new Set,cr.set(n.target,a),n.target.addEventListener("transitioncancel",r,{once:!0})),a.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let a=cr.get(n.target);if(a&&(a.delete(n.propertyName),a.size===0&&(n.target.removeEventListener("transitioncancel",r),cr.delete(n.target)),cr.size===0)){for(let o of ti)o();ti.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?as():document.addEventListener("DOMContentLoaded",as));function ud(e){requestAnimationFrame(()=>{cr.size===0?e():ti.add(e)})}function Ji(){let e=u.useRef(new Map),t=u.useCallback((a,o,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:o,eventTarget:a,fn:s,options:l}),a.addEventListener(o,i,l)},[]),r=u.useCallback((a,o,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;a.removeEventListener(o,d,l),e.current.delete(i)},[]),n=u.useCallback(()=>{e.current.forEach((a,o)=>{r(a.eventTarget,a.type,o,a.options)})},[r]);return u.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function er(e,t){let{id:r,"aria-label":n,"aria-labelledby":a}=e;return r=Re(r),a&&n?a=[...new Set([r,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),!n&&!a&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":a}}function Ye(e){const t=u.useRef(null);return u.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function os(e,t){const r=u.useRef(!0),n=u.useRef(null);u.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),u.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((a,o)=>!Object.is(a,n[o])))&&e(),n.current=t},t)}function sm(){return typeof window.ResizeObserver<"u"}function La(e){const{ref:t,onResize:r}=e;u.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(sm()){const a=new window.ResizeObserver(o=>{o.length&&r()});return a.observe(n),()=>{n&&a.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function Qi(e,t){ie(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function nn(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}function Va(e,t){let r=e;for(nn(r,t)&&(r=r.parentElement);r&&!nn(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function um(e,t){const r=[];for(;e&&e!==document.documentElement;)nn(e,t)&&r.push(e),e=e.parentElement;return r}let _e=typeof document<"u"&&window.visualViewport;function dm(){let e=Dt(),[t,r]=u.useState(()=>e?{width:0,height:0}:is());return u.useEffect(()=>{let n=()=>{r(a=>{let o=is();return o.width===a.width&&o.height===a.height?a:o})};return _e?_e.addEventListener("resize",n):window.addEventListener("resize",n),()=>{_e?_e.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function is(){return{width:_e&&(_e==null?void 0:_e.width)||window.innerWidth,height:_e&&(_e==null?void 0:_e.height)||window.innerHeight}}let cm=0;const yo=new Map;function Dn(e){let[t,r]=u.useState();return ie(()=>{if(!e)return;let n=yo.get(e);if(n)r(n.element.id);else{let a=`react-aria-description-${cm++}`;r(a);let o=document.createElement("div");o.id=a,o.style.display="none",o.textContent=e,document.body.appendChild(o),n={refCount:0,element:o},yo.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),yo.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function br(e,t,r,n){let a=Be(r),o=r==null;u.useEffect(()=>{if(o||!e.current)return;let i=e.current;return i.addEventListener(t,a,n),()=>{i.removeEventListener(t,a,n)}},[e,t,n,o,a])}function dd(e,t){let r=ls(e,t,"left"),n=ls(e,t,"top"),a=t.offsetWidth,o=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d}=getComputedStyle(e),c=e.scrollLeft+parseInt(d,10),f=e.scrollTop+parseInt(s,10),p=c+e.clientWidth,h=f+e.clientHeight;r<=i?i=r-parseInt(d,10):r+a>p&&(i+=r+a-p),n<=f?l=n-parseInt(s,10):n+o>h&&(l+=n+o-h),e.scrollLeft=i,e.scrollTop=l}function ls(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let a=0;for(;t.offsetParent&&(a+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){a-=e[n];break}t=t.offsetParent}return a}function ca(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=um(e);for(let d of s)dd(d,e)}else{var r;let{left:s,top:d}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,a,o;t==null||(a=t.containingElement)===null||a===void 0||(n=a.scrollIntoView)===null||n===void 0||n.call(a,{block:"center",inline:"center"}),(o=e.scrollIntoView)===null||o===void 0||o.call(e,{block:"nearest"})}}}}function ri(e){return e.mozInputSource===0&&e.isTrusted?!0:od()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function fm(e){return!od()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function cd(e,t){let r=u.useRef(null);return e&&r.current&&t(e,r.current)&&(e=r.current),r.current=e,e}function Xi(e,t,r){let n=u.useRef(t),a=Be(()=>{r&&r(n.current)});u.useEffect(()=>{var o;let i=e==null||(o=e.current)===null||o===void 0?void 0:o.form;return i==null||i.addEventListener("reset",a),()=>{i==null||i.removeEventListener("reset",a)}},[e,a])}function rt(e,t,r){let[n,a]=u.useState(e||t),o=u.useRef(e!==void 0),i=e!==void 0;u.useEffect(()=>{let d=o.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),o.current=i},[i]);let l=i?e:n,s=u.useCallback((d,...c)=>{let f=(p,...h)=>{r&&(Object.is(l,p)||r(p,...h)),i||(l=p)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),a((h,...m)=>{let v=d(i?l:h,...m);return f(v,...c),i?h:v})):(i||a(d),f(d,...c))},[i,l,r]);return[l,s]}function ni(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}let hr="default",ai="",Qn=new WeakMap;function ss(e){if(xn()){if(hr==="default"){const t=se(e);ai=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}hr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Qn.set(e,e.style.userSelect),e.style.userSelect="none")}function Ln(e){if(xn()){if(hr!=="disabled")return;hr="restoring",setTimeout(()=>{ud(()=>{if(hr==="restoring"){const t=se(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ai||""),ai="",hr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Qn.has(e)){let t=Qn.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Qn.delete(e)}}const an=u.createContext({register:()=>{}});an.displayName="PressResponderContext";function pm(e,t){return t.get?t.get.call(e):t.value}function fd(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function hm(e,t){var r=fd(e,t,"get");return pm(e,r)}function mm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function wn(e,t,r){mm(e,t),t.set(e,r)}function vm(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 us(e,t,r){var n=fd(e,t,"set");return vm(e,n,r),r}function gm(e){let t=u.useContext(an);if(t){let{register:r,...n}=t;e=U(n,e),r()}return Qi(t,e.ref),e}var Vn=new WeakMap;class jn{continuePropagation(){us(this,Vn,!1)}get shouldStopPropagation(){return hm(this,Vn)}constructor(t,r,n){wn(this,Vn,{writable:!0,value:void 0}),us(this,Vn,!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 ds=Symbol("linkClicked");function Rt(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:a,onPressUp:o,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=gm(e),[h,m]=u.useState(!1),v=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:y,removeAllGlobalListeners:k}=Ji(),D=Be((b,A)=>{let S=v.current;if(i||S.didFirePressStart)return!1;let x=!0;if(S.isTriggeringEvent=!0,n){let M=new jn("pressstart",A,b);n(M),x=M.shouldStopPropagation}return r&&r(!0),S.isTriggeringEvent=!1,S.didFirePressStart=!0,m(!0),x}),C=Be((b,A,S=!0)=>{let x=v.current;if(!x.didFirePressStart)return!1;x.ignoreClickAfterPress=!0,x.didFirePressStart=!1,x.isTriggeringEvent=!0;let M=!0;if(a){let R=new jn("pressend",A,b);a(R),M=R.shouldStopPropagation}if(r&&r(!1),m(!1),t&&S&&!i){let R=new jn("press",A,b);t(R),M&&(M=R.shouldStopPropagation)}return x.isTriggeringEvent=!1,M}),E=Be((b,A)=>{let S=v.current;if(i)return!1;if(o){S.isTriggeringEvent=!0;let x=new jn("pressup",A,b);return o(x),S.isTriggeringEvent=!1,x.shouldStopPropagation}return!0}),w=Be(b=>{let A=v.current;A.isPressed&&A.target&&(A.isOverTarget&&A.pointerType!=null&&C(ht(A.target,b),A.pointerType,!1),A.isPressed=!1,A.isOverTarget=!1,A.activePointerId=null,A.pointerType=null,k(),c||Ln(A.target))}),P=Be(b=>{d&&w(b)}),F=u.useMemo(()=>{let b=v.current,A={onKeyDown(x){if($o(x.nativeEvent,x.currentTarget)&&x.currentTarget.contains(x.target)){var M;fs(x.target,x.key)&&x.preventDefault();let R=!0;if(!b.isPressed&&!x.repeat){b.target=x.currentTarget,b.isPressed=!0,R=D(x,"keyboard");let T=x.currentTarget,K=O=>{$o(O,T)&&!O.repeat&&T.contains(O.target)&&b.target&&E(ht(b.target,O),"keyboard")};y(se(x.currentTarget),"keyup",Zt(K,S),!0)}R&&x.stopPropagation(),x.metaKey&&yt()&&((M=b.metaKeyEvents)===null||M===void 0||M.set(x.key,x.nativeEvent))}else x.key==="Meta"&&(b.metaKeyEvents=new Map)},onClick(x){if(!(x&&!x.currentTarget.contains(x.target))&&x&&x.button===0&&!b.isTriggeringEvent&&!Bt.isOpening){let M=!0;if(i&&x.preventDefault(),!b.ignoreClickAfterPress&&!b.ignoreEmulatedMouseEvents&&!b.isPressed&&(b.pointerType==="virtual"||ri(x.nativeEvent))){!i&&!s&&dt(x.currentTarget);let R=D(x,"virtual"),T=E(x,"virtual"),K=C(x,"virtual");M=R&&T&&K}b.ignoreEmulatedMouseEvents=!1,b.ignoreClickAfterPress=!1,M&&x.stopPropagation()}}},S=x=>{var M;if(b.isPressed&&b.target&&$o(x,b.target)){var R;fs(x.target,x.key)&&x.preventDefault();let K=x.target;C(ht(b.target,x),"keyboard",b.target.contains(K)),k(),x.key!=="Enter"&&el(b.target)&&b.target.contains(K)&&!x[ds]&&(x[ds]=!0,Bt(b.target,x,!1)),b.isPressed=!1,(R=b.metaKeyEvents)===null||R===void 0||R.delete(x.key)}else if(x.key==="Meta"&&(!((M=b.metaKeyEvents)===null||M===void 0)&&M.size)){var T;let K=b.metaKeyEvents;b.metaKeyEvents=void 0;for(let O of K.values())(T=b.target)===null||T===void 0||T.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){A.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(fm(T.nativeEvent)){b.pointerType="virtual";return}xo(T.currentTarget)&&T.preventDefault(),b.pointerType=T.pointerType;let K=!0;b.isPressed||(b.isPressed=!0,b.isOverTarget=!0,b.activePointerId=T.pointerId,b.target=T.currentTarget,!i&&!s&&dt(T.currentTarget),c||ss(b.target),K=D(T,b.pointerType),y(se(T.currentTarget),"pointermove",x,!1),y(se(T.currentTarget),"pointerup",M,!1),y(se(T.currentTarget),"pointercancel",R,!1)),K&&T.stopPropagation()},A.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(xo(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},A.onPointerUp=T=>{!T.currentTarget.contains(T.target)||b.pointerType==="virtual"||T.button===0&&rr(T,T.currentTarget)&&E(T,b.pointerType||T.pointerType)};let x=T=>{T.pointerId===b.activePointerId&&(b.target&&rr(T,b.target)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,D(ht(b.target,T),b.pointerType)):b.target&&b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,C(ht(b.target,T),b.pointerType,!1),P(T)))},M=T=>{T.pointerId===b.activePointerId&&b.isPressed&&T.button===0&&b.target&&(rr(T,b.target)&&b.pointerType!=null?C(ht(b.target,T),b.pointerType):b.isOverTarget&&b.pointerType!=null&&C(ht(b.target,T),b.pointerType,!1),b.isPressed=!1,b.isOverTarget=!1,b.activePointerId=null,b.pointerType=null,k(),c||Ln(b.target))},R=T=>{w(T)};A.onDragStart=T=>{T.currentTarget.contains(T.target)&&w(T)}}else{A.onMouseDown=R=>{if(R.button!==0||!R.currentTarget.contains(R.target))return;if(xo(R.currentTarget)&&R.preventDefault(),b.ignoreEmulatedMouseEvents){R.stopPropagation();return}b.isPressed=!0,b.isOverTarget=!0,b.target=R.currentTarget,b.pointerType=ri(R.nativeEvent)?"virtual":"mouse",!i&&!s&&dt(R.currentTarget),D(R,b.pointerType)&&R.stopPropagation(),y(se(R.currentTarget),"mouseup",x,!1)},A.onMouseEnter=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!0,T=D(R,b.pointerType)),T&&R.stopPropagation()},A.onMouseLeave=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!1,T=C(R,b.pointerType,!1),P(R)),T&&R.stopPropagation()},A.onMouseUp=R=>{R.currentTarget.contains(R.target)&&!b.ignoreEmulatedMouseEvents&&R.button===0&&E(R,b.pointerType||"mouse")};let x=R=>{if(R.button===0){if(b.isPressed=!1,k(),b.ignoreEmulatedMouseEvents){b.ignoreEmulatedMouseEvents=!1;return}b.target&&rr(R,b.target)&&b.pointerType!=null?C(ht(b.target,R),b.pointerType):b.target&&b.isOverTarget&&b.pointerType!=null&&C(ht(b.target,R),b.pointerType,!1),b.isOverTarget=!1}};A.onTouchStart=R=>{if(!R.currentTarget.contains(R.target))return;let T=bm(R.nativeEvent);if(!T)return;b.activePointerId=T.identifier,b.ignoreEmulatedMouseEvents=!0,b.isOverTarget=!0,b.isPressed=!0,b.target=R.currentTarget,b.pointerType="touch",!i&&!s&&dt(R.currentTarget),c||ss(b.target),D(R,b.pointerType)&&R.stopPropagation(),y(et(R.currentTarget),"scroll",M,!0)},A.onTouchMove=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=cs(R.nativeEvent,b.activePointerId),K=!0;T&&rr(T,R.currentTarget)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,K=D(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,K=C(R,b.pointerType,!1),P(R)),K&&R.stopPropagation()},A.onTouchEnd=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=cs(R.nativeEvent,b.activePointerId),K=!0;T&&rr(T,R.currentTarget)&&b.pointerType!=null?(E(R,b.pointerType),K=C(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(K=C(R,b.pointerType,!1)),K&&R.stopPropagation(),b.isPressed=!1,b.activePointerId=null,b.isOverTarget=!1,b.ignoreEmulatedMouseEvents=!0,b.target&&!c&&Ln(b.target),k()},A.onTouchCancel=R=>{R.currentTarget.contains(R.target)&&(R.stopPropagation(),b.isPressed&&w(R))};let M=R=>{b.isPressed&&R.target.contains(b.target)&&w({currentTarget:b.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};A.onDragStart=R=>{R.currentTarget.contains(R.target)&&w(R)}}return A},[y,i,s,k,c,w,P,C,D,E]);return u.useEffect(()=>()=>{var b;c||Ln((b=v.current.target)!==null&&b!==void 0?b:void 0)},[c]),{isPressed:l||h,pressProps:U(p,F)}}function el(e){return e.tagName==="A"&&e.hasAttribute("href")}function $o(e,t){const{key:r,code:n}=e,a=t,o=a.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(a instanceof et(a).HTMLInputElement&&!pd(a,r)||a instanceof et(a).HTMLTextAreaElement||a.isContentEditable)&&!((o==="link"||!o&&el(a))&&r!=="Enter")}function bm(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function cs(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const a=r[n];if(a.identifier===t)return a}return null}function ht(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function ym(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 $m(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function rr(e,t){let r=t.getBoundingClientRect(),n=ym(e);return $m(r,n)}function xo(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function fs(e,t){return e instanceof HTMLInputElement?!pd(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!el(e)}const xm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function pd(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":xm.has(e.type)}const Dm=u.forwardRef(({children:e,...t},r)=>{let n=u.useRef(!1),a=u.useContext(an);r=Ye(r||(a==null?void 0:a.ref));let o=U(a||{},{...t,ref:r,register(){n.current=!0,a&&a.register()}});return Qi(a,r),u.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)},[]),u.createElement(an.Provider,{value:o},e)});function wm({children:e}){let t=u.useMemo(()=>({register:()=>{}}),[]);return u.createElement(an.Provider,{value:t},e)}class Em{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 hd(e){let t=u.useRef({isFocused:!1,observer:null});ie(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Be(n=>{e==null||e(n)});return u.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=n.target,o=i=>{t.current.isFocused=!1,a.disabled&&r(new Em("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function md(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:a}=e;const o=u.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),a&&a(!1),!0},[n,a]),i=hd(o),l=u.useCallback(s=>{const d=se(s.target);s.target===s.currentTarget&&d.activeElement===s.target&&(r&&r(s),a&&a(!0),i(s))},[a,r,i]);return{focusProps:{onFocus:!t&&(r||a||n)?l:void 0,onBlur:!t&&(n||a)?o:void 0}}}let $t=null,on=new Set,Yr=new Map,Ut=!1,oi=!1;const Cm={Tab:!0,Escape:!0};function ja(e,t){for(let r of on)r(e,t)}function Pm(e){return!(e.metaKey||!yt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function fa(e){Ut=!0,Pm(e)&&($t="keyboard",ja("keyboard",e))}function He(e){$t="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ut=!0,ja("pointer",e))}function vd(e){ri(e)&&(Ut=!0,$t="virtual")}function gd(e){e.target===window||e.target===document||(!Ut&&!oi&&($t="virtual",ja("virtual",e)),Ut=!1,oi=!1)}function bd(){Ut=!1,oi=!0}function pa(e){if(typeof window>"u"||Yr.get(et(e)))return;const t=et(e),r=se(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ut=!0,n.apply(this,arguments)},r.addEventListener("keydown",fa,!0),r.addEventListener("keyup",fa,!0),r.addEventListener("click",vd,!0),t.addEventListener("focus",gd,!0),t.addEventListener("blur",bd,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",He,!0),r.addEventListener("pointermove",He,!0),r.addEventListener("pointerup",He,!0)):(r.addEventListener("mousedown",He,!0),r.addEventListener("mousemove",He,!0),r.addEventListener("mouseup",He,!0)),t.addEventListener("beforeunload",()=>{yd(e)},{once:!0}),Yr.set(t,{focus:n})}const yd=(e,t)=>{const r=et(e),n=se(e);t&&n.removeEventListener("DOMContentLoaded",t),Yr.has(r)&&(r.HTMLElement.prototype.focus=Yr.get(r).focus,n.removeEventListener("keydown",fa,!0),n.removeEventListener("keyup",fa,!0),n.removeEventListener("click",vd,!0),r.removeEventListener("focus",gd,!0),r.removeEventListener("blur",bd,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",He,!0),n.removeEventListener("pointermove",He,!0),n.removeEventListener("pointerup",He,!0)):(n.removeEventListener("mousedown",He,!0),n.removeEventListener("mousemove",He,!0),n.removeEventListener("mouseup",He,!0)),Yr.delete(r))};function Sm(e){const t=se(e);let r;return t.readyState!=="loading"?pa(e):(r=()=>{pa(e)},t.addEventListener("DOMContentLoaded",r)),()=>yd(e,r)}typeof document<"u"&&Sm();function ha(){return $t!=="pointer"}function ma(){return $t}function $d(e){$t=e,ja(e,null)}function km(){pa();let[e,t]=u.useState($t);return u.useEffect(()=>{let r=()=>{t($t)};return on.add(r),()=>{on.delete(r)}},[]),Dt()?null:e}const Bm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Rm(e,t,r){var n;const a=typeof window<"u"?et(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?et(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?et(r==null?void 0:r.target).HTMLElement:HTMLElement,l=typeof window<"u"?et(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof a&&!Bm.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof o||(r==null?void 0:r.target)instanceof i&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof l&&!Cm[r.key])}function Tm(e,t,r){pa(),u.useEffect(()=>{let n=(a,o)=>{Rm(!!(r!=null&&r.isTextInput),a,o)&&e(ha())};return on.add(n),()=>{on.delete(n)}},t)}function At(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:a}=e,o=u.useRef({isFocusWithin:!1}),i=u.useCallback(d=>{o.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(d),a&&a(!1))},[r,a,o]),l=hd(i),s=u.useCallback(d=>{!o.current.isFocusWithin&&document.activeElement===d.target&&(n&&n(d),a&&a(!0),o.current.isFocusWithin=!0,l(d))},[n,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let va=!1,Do=0;function ii(){va=!0,setTimeout(()=>{va=!1},50)}function ps(e){e.pointerType==="touch"&&ii()}function Am(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",ps):document.addEventListener("touchend",ii),Do++,()=>{Do--,!(Do>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",ps):document.removeEventListener("touchend",ii))}}function nt(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:a}=e,[o,i]=u.useState(!1),l=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(Am,[]);let{hoverProps:s,triggerHoverEnd:d}=u.useMemo(()=>{let c=(h,m)=>{if(l.pointerType=m,a||m==="touch"||l.isHovered||!h.currentTarget.contains(h.target))return;l.isHovered=!0;let v=h.currentTarget;l.target=v,t&&t({type:"hoverstart",target:v,pointerType:m}),r&&r(!0),i(!0)},f=(h,m)=>{if(l.pointerType="",l.target=null,m==="touch"||!l.isHovered)return;l.isHovered=!1;let v=h.currentTarget;n&&n({type:"hoverend",target:v,pointerType:m}),r&&r(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=h=>{va&&h.pointerType==="mouse"||c(h,h.pointerType)},p.onPointerLeave=h=>{!a&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=h=>{!l.ignoreEmulatedMouseEvents&&!va&&c(h,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=h=>{!a&&h.currentTarget.contains(h.target)&&f(h,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,a,l]);return u.useEffect(()=>{a&&d({currentTarget:l.target},l.pointerType)},[a]),{hoverProps:s,isHovered:o}}function Fm(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:a}=e,o=u.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=Be(s=>{r&&Kn(s,t)&&(a&&a(s),o.current.isPointerDown=!0)}),l=Be(s=>{r&&r(s)});u.useEffect(()=>{let s=o.current;if(n)return;const d=t.current,c=se(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Kn(p,t)&&l(p),s.isPointerDown=!1};return c.addEventListener("pointerdown",i,!0),c.addEventListener("pointerup",f,!0),()=>{c.removeEventListener("pointerdown",i,!0),c.removeEventListener("pointerup",f,!0)}}else{let f=h=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Kn(h,t)&&l(h),s.isPointerDown=!1},p=h=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Kn(h,t)&&l(h),s.isPointerDown=!1};return c.addEventListener("mousedown",i,!0),c.addEventListener("mouseup",f,!0),c.addEventListener("touchstart",i,!0),c.addEventListener("touchend",p,!0),()=>{c.removeEventListener("mousedown",i,!0),c.removeEventListener("mouseup",f,!0),c.removeEventListener("touchstart",i,!0),c.removeEventListener("touchend",p,!0)}}},[t,n,i,l])}function Kn(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 hs(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 Mm(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:hs(e.onKeyDown),onKeyUp:hs(e.onKeyUp)}}}const Im=500;function xd(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:a,threshold:o=Im,accessibilityDescription:i}=e;const l=u.useRef();let{addGlobalListener:s,removeGlobalListener:d}=Ji(),{pressProps:c}=Rt({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),a&&a({...p,type:"longpress"}),l.current=void 0},o),p.pointerType==="touch")){let h=m=>{m.preventDefault()};s(p.target,"contextmenu",h,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=Dn(a&&!t?i:void 0);return{longPressProps:U(c,f)}}function Wt(e){const t=se(e);if(ma()==="virtual"){let r=t.activeElement;ud(()=>{t.activeElement===r&&e.isConnected&&dt(e)})}else dt(e)}function Om(e){const t=et(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,a=r!=="none"&&n!=="hidden"&&n!=="collapse";if(a){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:i,visibility:l}=o(e);a=i!=="none"&&l!=="hidden"&&l!=="collapse"}return a}function Lm(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Dd(e,t){return e.nodeName!=="#comment"&&Om(e)&&Lm(e,t)&&(!e.parentElement||Dd(e.parentElement,e))}const ms=u.createContext(null);let ue=null;function wd(e){let{children:t,contain:r,restoreFocus:n,autoFocus:a}=e,o=u.useRef(null),i=u.useRef(null),l=u.useRef([]),{parentNode:s}=u.useContext(ms)||{},d=u.useMemo(()=>new li({scopeRef:l}),[l]);ie(()=>{let p=s||De.root;if(De.getTreeNode(p.scopeRef)&&ue&&!ba(ue,p.scopeRef)){let h=De.getTreeNode(ue);h&&(p=h)}p.addChild(d),De.addNode(d)},[d,s]),ie(()=>{let p=De.getTreeNode(l);p&&(p.contain=!!r)},[r]),ie(()=>{var p;let h=(p=o.current)===null||p===void 0?void 0:p.nextSibling,m=[];for(;h&&h!==i.current;)m.push(h),h=h.nextSibling;l.current=m},[t]),Hm(l,n,r),Nm(l,r),Um(l,n,r),zm(l,a),u.useEffect(()=>{const p=se(l.current?l.current[0]:void 0).activeElement;let h=null;if(Te(p,l.current)){for(let m of De.traverse())m.scopeRef&&Te(p,m.scopeRef.current)&&(h=m);h===De.getTreeNode(l)&&(ue=h.scopeRef)}},[l]),ie(()=>()=>{var p,h,m;let v=(m=(h=De.getTreeNode(l))===null||h===void 0||(p=h.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&m!==void 0?m:null;(l===ue||ba(l,ue))&&(!v||De.getTreeNode(v))&&(ue=v),De.removeTreeNode(l)},[l]);let c=u.useMemo(()=>Vm(l),[]),f=u.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return u.createElement(ms.Provider,{value:f},u.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:o}),t,u.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Vm(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:a,wrap:o,accept:i}=t,l=n||se(r[0]).activeElement,s=r[0].previousElementSibling,d=jt(r),c=Ae(d,{tabbable:a,accept:i},r);c.currentNode=Te(l,r)?l:s;let f=c.nextNode();return!f&&o&&(c.currentNode=s,f=c.nextNode()),f&&Oe(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:a,wrap:o,accept:i}=t,l=n||se(r[0]).activeElement,s=r[r.length-1].nextElementSibling,d=jt(r),c=Ae(d,{tabbable:a,accept:i},r);c.currentNode=Te(l,r)?l:s;let f=c.previousNode();return!f&&o&&(c.currentNode=s,f=c.previousNode()),f&&Oe(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:a}=t,o=jt(r),i=Ae(o,{tabbable:n,accept:a},r);i.currentNode=r[0].previousElementSibling;let l=i.nextNode();return l&&Oe(l,!0),l},focusLast(t={}){let r=e.current,{tabbable:n,accept:a}=t,o=jt(r),i=Ae(o,{tabbable:n,accept:a},r);i.currentNode=r[r.length-1].nextElementSibling;let l=i.previousNode();return l&&Oe(l,!0),l}}}const tl=["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]"],jm=tl.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";tl.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Km=tl.join(':not([hidden]):not([tabindex="-1"]),');function jt(e){return e[0].parentElement}function Zr(e){let t=De.getTreeNode(ue);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Nm(e,t){let r=u.useRef(),n=u.useRef();ie(()=>{let a=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const o=se(a?a[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!Zr(e)||d.isComposing)return;let c=o.activeElement,f=e.current;if(!f||!Te(c,f))return;let p=jt(f),h=Ae(p,{tabbable:!0},f);if(!c)return;h.currentNode=c;let m=d.shiftKey?h.previousNode():h.nextNode();m||(h.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=d.shiftKey?h.previousNode():h.nextNode()),d.preventDefault(),m&&Oe(m,!0)},l=d=>{(!ue||ba(ue,e))&&Te(d.target,e.current)?(ue=e,r.current=d.target):Zr(e)&&!ga(d.target,e)?r.current?r.current.focus():ue&&ue.current&&ya(ue.current):Zr(e)&&(r.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(o.activeElement&&Zr(e)&&!ga(o.activeElement,e))if(ue=e,o.body.contains(d.target)){var c;r.current=d.target,(c=r.current)===null||c===void 0||c.focus()}else ue.current&&ya(ue.current)})};return o.addEventListener("keydown",i,!1),o.addEventListener("focusin",l,!1),a==null||a.forEach(d=>d.addEventListener("focusin",l,!1)),a==null||a.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",i,!1),o.removeEventListener("focusin",l,!1),a==null||a.forEach(d=>d.removeEventListener("focusin",l,!1)),a==null||a.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),ie(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Ed(e){return ga(e)}function Te(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function ga(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of De.traverse(De.getTreeNode(t)))if(r&&Te(e,r.current))return!0;return!1}function _m(e){return ga(e,ue)}function ba(e,t){var r;let n=(r=De.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Oe(e,t=!1){if(e!=null&&!t)try{Wt(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function ya(e,t=!0){let r=e[0].previousElementSibling,n=jt(e),a=Ae(n,{tabbable:t},e);a.currentNode=r;let o=a.nextNode();t&&!o&&(n=jt(e),a=Ae(n,{tabbable:!1},e),a.currentNode=r,o=a.nextNode()),Oe(o)}function zm(e,t){const r=u.useRef(t);u.useEffect(()=>{if(r.current){ue=e;const n=se(e.current?e.current[0]:void 0);!Te(n.activeElement,ue.current)&&e.current&&ya(e.current)}r.current=!1},[e])}function Hm(e,t,r){ie(()=>{if(t||r)return;let n=e.current;const a=se(n?n[0]:void 0);let o=i=>{let l=i.target;Te(l,e.current)?ue=e:Ed(l)||(ue=null)};return a.addEventListener("focusin",o,!1),n==null||n.forEach(i=>i.addEventListener("focusin",o,!1)),()=>{a.removeEventListener("focusin",o,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",o,!1))}},[e,t,r])}function Zm(e){let t=De.getTreeNode(ue);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Um(e,t,r){const n=u.useRef(typeof document<"u"?se(e.current?e.current[0]:void 0).activeElement:null);ie(()=>{let a=e.current;const o=se(a?a[0]:void 0);if(!t||r)return;let i=()=>{(!ue||ba(ue,e))&&Te(o.activeElement,e.current)&&(ue=e)};return o.addEventListener("focusin",i,!1),a==null||a.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),a==null||a.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,r]),ie(()=>{const a=se(e.current?e.current[0]:void 0);if(!t)return;let o=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!Zr(e)||i.isComposing)return;let l=a.activeElement;if(!Te(l,e.current))return;let s=De.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=Ae(a.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!a.body.contains(d)||d===a.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!Te(f,e.current))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(Te(f,e.current));i.preventDefault(),i.stopPropagation(),f?Oe(f,!0):Ed(d)?Oe(d,!0):l.blur()}};return r||a.addEventListener("keydown",o,!0),()=>{r||a.removeEventListener("keydown",o,!0)}},[e,t,r]),ie(()=>{const a=se(e.current?e.current[0]:void 0);if(!t)return;let o=De.getTreeNode(e);if(o){var i;return o.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=De.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(Te(a.activeElement,e.current)||a.activeElement===a.body&&Zm(e))){let d=De.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){Oe(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&De.getTreeNode(c.scopeRef)){ya(c.scopeRef.current,!0);return}c=c.parent}}})}}}},[e,t])}function Ae(e,t,r){let n=t!=null&&t.tabbable?Km:jm,a=se(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(o){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(o)?NodeFilter.FILTER_REJECT:o.matches(n)&&Dd(o)&&(!r||Te(o,r))&&(!(t!=null&&t.accept)||t.accept(o))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(a.currentNode=t.from),a}function Ka(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=r,s=a||se(n).activeElement,d=Ae(n,{tabbable:o,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&i&&(d.currentNode=n,c=d.nextNode()),c&&Oe(c,!0),c},focusPrevious(r=t){let n=e.current;if(!n)return null;let{from:a,tabbable:o=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=r,s=a||se(n).activeElement,d=Ae(n,{tabbable:o,accept:l});if(n.contains(s))d.currentNode=s;else{let f=wo(d);return f&&Oe(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=wo(d);if(!f)return null;c=f}return c&&Oe(c,!0),c??null},focusFirst(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=r,l=Ae(n,{tabbable:a,accept:o}).nextNode();return l&&Oe(l,!0),l},focusLast(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:o=t.accept}=r,i=Ae(n,{tabbable:a,accept:o}),l=wo(i);return l&&Oe(l,!0),l??null}}}function wo(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class rl{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let a=this.fastMap.get(r??null);if(!a)return;let o=new li({scopeRef:t});a.addChild(o),o.parent=a,this.fastMap.set(t,o),n&&(o.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 o of this.traverse())o!==r&&r.nodeToRestore&&o.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Te(o.nodeToRestore,r.scopeRef.current)&&(o.nodeToRestore=r.nodeToRestore);let a=r.children;n&&(n.removeChild(r),a.size>0&&a.forEach(o=>n&&n.addChild(o))),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 rl;var n;for(let a of this.traverse())r.addTreeNode(a.scopeRef,(n=(t=a.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,a.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new li({scopeRef:null}),this.fastMap.set(null,this.root)}}class li{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 De=new rl;function Me(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,a=u.useRef({isFocused:!1,isFocusVisible:t||ha()}),[o,i]=u.useState(!1),[l,s]=u.useState(()=>a.current.isFocused&&a.current.isFocusVisible),d=u.useCallback(()=>s(a.current.isFocused&&a.current.isFocusVisible),[]),c=u.useCallback(h=>{a.current.isFocused=h,i(h),d()},[d]);Tm(h=>{a.current.isFocusVisible=h,d()},[],{isTextInput:r});let{focusProps:f}=md({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=At({isDisabled:!n,onFocusWithinChange:c});return{isFocused:o,isFocusVisible:l,focusProps:n?p:f}}let Wm=u.createContext(null);function Gm(e){let t=u.useContext(Wm)||{};Qi(t,e);let{ref:r,...n}=t;return n}function nl(e,t){let{focusProps:r}=md(e),{keyboardProps:n}=Mm(e),a=U(r,n),o=Gm(t),i=e.isDisabled?{}:o,l=u.useRef(e.autoFocus);return u.useEffect(()=>{l.current&&t.current&&Wt(t.current),l.current=!1},[t]),{focusableProps:U({...a,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function qm(e,t){let r=t==null?void 0:t.isDisabled,[n,a]=u.useState(!1);return ie(()=>{if(e!=null&&e.current&&!r){let o=()=>{if(e.current){let l=Ae(e.current,{tabbable:!0});a(!!l.nextNode())}};o();let i=new MutationObserver(o);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),r?!1:n}function Ym(e,t){let{elementType:r="a",onPress:n,onPressStart:a,onPressEnd:o,onClick:i,isDisabled:l,...s}=e,d={};r!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=nl(e,t),{pressProps:f,isPressed:p}=Rt({onPress:n,onPressStart:a,onPressEnd:o,isDisabled:l,ref:t}),h=te(s,{labelable:!0}),m=U(c,f),v=Oa(),y=Yi(e);return{isPressed:p,linkProps:U(h,y,{...m,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:k=>{var D;(D=f.onClick)===null||D===void 0||D.call(f,k),i&&(i(k),console.warn("onClick is deprecated, please use onPress")),!v.isNative&&k.currentTarget instanceof HTMLAnchorElement&&k.currentTarget.href&&!k.isDefaultPrevented()&&ld(k.currentTarget,k)&&e.href&&(k.preventDefault(),v.open(k.currentTarget,k,e.href,e.routerOptions))}})}}const Jm=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Qm=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Cd(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 Jm.has(r.script)}let t=e.split("-")[0];return Qm.has(t)}const Xm=Symbol.for("react-aria.i18n.locale");function Pd(){let e=typeof window<"u"&&window[Xm]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Cd(e)?"rtl":"ltr"}}let si=Pd(),Ur=new Set;function vs(){si=Pd();for(let e of Ur)e(si)}function Sd(){let e=Dt(),[t,r]=u.useState(si);return u.useEffect(()=>(Ur.size===0&&window.addEventListener("languagechange",vs),Ur.add(r),()=>{Ur.delete(r),Ur.size===0&&window.removeEventListener("languagechange",vs)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const kd=u.createContext(null);function ev(e){let{locale:t,children:r}=e,n=Sd(),a=u.useMemo(()=>t?{locale:t,direction:Cd(t)?"rtl":"ltr"}:n,[n,t]);return u.createElement(kd.Provider,{value:a},r)}function Se(){let e=Sd();return u.useContext(kd)||e}const tv=Symbol.for("react-aria.i18n.locale"),rv=Symbol.for("react-aria.i18n.strings");let nr;class Ft{getStringForLocale(t,r){let a=this.getStringsForLocale(r)[t];if(!a)throw new Error(`Could not find intl message ${t} in ${r} locale`);return a}getStringsForLocale(t){let r=this.strings[t];return r||(r=nv(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[tv];if(nr===void 0){let a=window[rv];if(!a)return null;nr={};for(let o in a)nr[o]=new Ft({[r]:a[o]},r)}let n=nr==null?void 0:nr[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=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}}function nv(e,t,r="en-US"){if(t[e])return t[e];let n=av(e);if(t[n])return t[n];for(let a in t)if(a.startsWith(n+"-"))return t[a];return t[r]}function av(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const gs=new Map,bs=new Map;class Bd{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 a=r["="+t];if(a)return typeof a=="function"?a():a;let o=this.locale+":"+n,i=gs.get(o);i||(i=new Intl.PluralRules(this.locale,{type:n}),gs.set(o,i));let l=i.select(t);return a=r[l]||r.other,typeof a=="function"?a():a}number(t){let r=bs.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),bs.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}}const ys=new WeakMap;function ov(e){let t=ys.get(e);return t||(t=new Ft(e),ys.set(e,t)),t}function Rd(e,t){return t&&Ft.getGlobalDictionaryForPackage(t)||ov(e)}function at(e,t){let{locale:r}=Se(),n=Rd(e,t);return u.useMemo(()=>new Bd(r,n),[r,n])}function yr(e,t){return e-t*Math.floor(e/t)}const Td=1721426;function Kt(e,t,r,n){t=En(e,t);let a=t-1,o=-2;return r<=2?o=0:kt(t)&&(o=-1),Td-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*r-362)/12+o+n)}function kt(e){return e%4===0&&(e%100!==0||e%400===0)}function En(e,t){return e==="BC"?1-t:t}function Na(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const iv={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 Ve{fromJulianDay(t){let r=t,n=r-Td,a=Math.floor(n/146097),o=yr(n,146097),i=Math.floor(o/36524),l=yr(o,36524),s=Math.floor(l/1461),d=yr(l,1461),c=Math.floor(d/365),f=a*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,h]=Na(f),m=r-Kt(p,h,1,1),v=2;r<Kt(p,h,3,1)?v=0:kt(h)&&(v=1);let y=Math.floor(((m+v)*12+373)/367),k=r-Kt(p,h,y,1)+1;return new ye(p,h,y,k)}toJulianDay(t){return Kt(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return iv[kt(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return kt(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"}}const lv={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function we(e,t){return t=he(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function sv(e,t){return t=he(t,e.calendar),e=Gt(e),t=Gt(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function ui(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function uv(e,t){return we(e,ol(t))}function al(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-mv(t))%7;return n<0&&(n+=7),n}function Ad(e){return ct(Date.now(),e)}function ol(e){return Fe(Ad(e))}function Fd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Md(e,t){return $s(e)-$s(t)}function $s(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Eo=null;function Id(){return Eo==null&&(Eo=new Intl.DateTimeFormat().resolvedOptions().timeZone),Eo}function Gt(e){return e.subtract({days:e.day-1})}function $a(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function dv(e){return Gt(e.subtract({months:e.month-1}))}function cv(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function fv(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function ln(e,t){let r=al(e,t);return e.subtract({days:r})}function pv(e,t){return ln(e,t).add({days:6})}const xs=new Map;function hv(e){if(Intl.Locale){let r=xs.get(e);return r||(r=new Intl.Locale(e).maximize().region,r&&xs.set(e,r)),r}let t=e.split("-")[1];return t==="u"?void 0:t}function mv(e){let t=hv(e);return t&&lv[t]||0}function vv(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((al(Gt(e),t)+r)/7)}function il(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function ll(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Tt(e){e=he(e,new Ve);let t=En(e.era,e.year);return Od(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Od(e,t,r,n,a,o,i){let l=new Date;return l.setUTCHours(n,a,o,i),l.setUTCFullYear(e,t-1,r),l.getTime()}function sn(e,t){if(t==="UTC")return 0;if(e>0&&t===Id())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:a,hour:o,minute:i,second:l}=Ld(e,t);return Od(r,n,a,o,i,l,0)-Math.floor(e/1e3)*1e3}const Ds=new Map;function Ld(e,t){let r=Ds.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"}),Ds.set(t,r));let n=r.formatToParts(new Date(e)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const xa=864e5;function gv(e,t){let r=Tt(e),n=r-sn(r-xa,t),a=r-sn(r+xa,t);return Vd(e,t,n,a)}function Vd(e,t,r,n){return(r===n?[r]:[r,n]).filter(o=>bv(e,t,o))}function bv(e,t,r){let n=Ld(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 st(e,t,r="compatible"){let n=We(e);if(t==="UTC")return Tt(n);if(t===Id()&&r==="compatible"){n=he(n,new Ve);let s=new Date,d=En(n.era,n.year);return s.setFullYear(d,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let a=Tt(n),o=sn(a-xa,t),i=sn(a+xa,t),l=Vd(n,t,a-o,a-i);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(a-o,a-i);case"compatible":case"later":return Math.max(a-o,a-i);case"reject":throw new RangeError("No such absolute time found")}}function jd(e,t,r="compatible"){return new Date(st(e,t,r))}function ct(e,t){let r=sn(e,t),n=new Date(e+r),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Yt(a,o,i,t,r,l,s,d,c)}function Fe(e){return new ye(e.calendar,e.era,e.year,e.month,e.day)}function We(e,t){let r=0,n=0,a=0,o=0;if("timeZone"in e)({hour:r,minute:n,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:a,millisecond:o}=t),new dn(e.calendar,e.era,e.year,e.month,e.day,r,n,a,o)}function he(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,qt(n),n}function yv(e,t,r){if(e instanceof Yt)return e.timeZone===t?e:xv(e,t);let n=st(e,t,r);return ct(n,t)}function $v(e){let t=Tt(e)-e.offset;return new Date(t)}function xv(e,t){let r=Tt(e)-e.offset;return he(ct(r,t),e.calendar)}const jr=36e5;function _a(e,t){let r=e.copy(),n="hour"in r?zd(r,t):0;di(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ci(r),Kd(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,Dv(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let a=r.calendar.getYearsInEra(r);if(r.year>a){var o,i;let s=(o=(i=r.calendar).isInverseEra)===null||o===void 0?void 0:o.call(i,r);r.year=a,r.month=s?1:r.calendar.getMonthsInYear(r),r.day=s?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function di(e,t){var r,n;!((r=(n=e.calendar).isInverseEra)===null||r===void 0)&&r.call(n,e)&&(t=-t),e.year+=t}function ci(e){for(;e.month<1;)di(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,di(e,1)}function Dv(e){for(;e.day<1;)e.month--,ci(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ci(e)}function Kd(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 qt(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Kd(e)}function sl(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Nd(e,t){return _a(e,sl(t))}function ul(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),qt(r),r}function un(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),_d(r),r}function wv(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Nn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Nn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Nn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Nn(e.hour,24),t}function _d(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 Nn(e,t){let r=e%t;return r<0&&(r+=t),r}function zd(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,wv(e)}function Hd(e,t){let r=e.copy();return zd(r,t),r}function Ev(e,t){return Hd(e,sl(t))}function dl(e,t,r,n){let a=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=gt(s,r,0,l.length-1,n==null?void 0:n.round),a.era=l[s],qt(a);break}case"year":var o,i;!((o=(i=a.calendar).isInverseEra)===null||o===void 0)&&o.call(i,a)&&(r=-r),a.year=gt(e.year,r,-1/0,9999,n==null?void 0:n.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=gt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":a.day=gt(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(a),qt(a),a}function cl(e,t,r,n){let a=e.copy();switch(t){case"hour":{let o=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=o>=12;i=s?12:0,l=s?23:11}a.hour=gt(o,r,i,l,n==null?void 0:n.round);break}case"minute":a.minute=gt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":a.second=gt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":a.millisecond=gt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return a}function gt(e,t,r,n,a=!1){if(a){e+=Math.sign(t),e<r&&(e=n);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Zd(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 a=_a(We(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=st(a,e.timeZone)}else r=Tt(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=ct(r,e.timeZone);return he(n,e.calendar)}function Cv(e,t){return Zd(e,sl(t))}function Pv(e,t,r,n){switch(t){case"hour":{let a=0,o=23;if((n==null?void 0:n.hourCycle)===12){let m=e.hour>=12;a=m?12:0,o=m?23:11}let i=We(e),l=he(un(i,{hour:a}),new Ve),s=[st(l,e.timeZone,"earlier"),st(l,e.timeZone,"later")].filter(m=>ct(m,e.timeZone).day===l.day)[0],d=he(un(i,{hour:o}),new Ve),c=[st(d,e.timeZone,"earlier"),st(d,e.timeZone,"later")].filter(m=>ct(m,e.timeZone).day===d.day).pop(),f=Tt(e)-e.offset,p=Math.floor(f/jr),h=f%jr;return f=gt(p,r,Math.floor(s/jr),Math.floor(c/jr),n==null?void 0:n.round)*jr+h,he(ct(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return cl(e,t,r,n);case"era":case"year":case"month":case"day":{let a=dl(We(e),t,r,n),o=st(a,e.timeZone);return he(ct(o,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Sv(e,t,r){let n=We(e),a=un(ul(n,t),t);if(a.compare(n)===0)return e;let o=st(a,e.timeZone,r);return he(ct(o,e.timeZone),e.calendar)}const kv=/^(\d{4})-(\d{2})-(\d{2})$/,Bv=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,Rv=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:([+-]\d{2})(?::?(\d{2}))?)?\[(.*?)\]$/;function Tv(e){let t=e.match(kv);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new ye(Ce(t[1],0,9999),Ce(t[2],1,12),1);return r.day=Ce(t[3],0,r.calendar.getDaysInMonth(r)),r}function ws(e){let t=e.match(Bv);if(!t)throw new Error("Invalid ISO 8601 date time string: "+e);let r=new dn(Ce(t[1],1,9999),Ce(t[2],1,12),1,t[4]?Ce(t[4],0,23):0,t[5]?Ce(t[5],0,59):0,t[6]?Ce(t[6],0,59):0,t[7]?Ce(t[7],0,1/0)*1e3:0);return r.day=Ce(t[3],0,r.calendar.getDaysInMonth(r)),r}function Av(e,t){let r=e.match(Rv);if(!r)throw new Error("Invalid ISO 8601 date time string: "+e);let n=new Yt(Ce(r[1],1,9999),Ce(r[2],1,12),1,r[10],0,r[4]?Ce(r[4],0,23):0,r[5]?Ce(r[5],0,59):0,r[6]?Ce(r[6],0,59):0,r[7]?Ce(r[7],0,1/0)*1e3:0);n.day=Ce(r[3],0,n.calendar.getDaysInMonth(n));let a=We(n),o;if(r[8]){var i;if(n.offset=Ce(r[8],-23,23)*36e5+Ce((i=r[9])!==null&&i!==void 0?i:"0",0,59)*6e4,o=Tt(n)-n.offset,!gv(a,n.timeZone).includes(o))throw new Error(`Offset ${Gd(n.offset)} is invalid for ${fl(n)} in ${n.timeZone}`)}else o=st(We(a),n.timeZone,t);return ct(o,n.timeZone)}function Ce(e,t,r){let n=Number(e);if(n<t||n>r)throw new RangeError(`Value out of range: ${t} <= ${n} <= ${r}`);return n}function Ud(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 Wd(e){let t=he(e,new Ve);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function fl(e){return`${Wd(e)}T${Ud(e)}`}function Gd(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 Fv(e){return`${fl(e)}${Gd(e.offset)}[${e.timeZone}]`}function pl(e){let t=typeof e[0]=="object"?e.shift():new Ve,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),a=e.shift(),o=e.shift();return[t,r,n,a,o]}var Mv=new WeakMap;class ye{copy(){return this.era?new ye(this.calendar,this.era,this.year,this.month,this.day):new ye(this.calendar,this.year,this.month,this.day)}add(t){return _a(this,t)}subtract(t){return Nd(this,t)}set(t){return ul(this,t)}cycle(t,r,n){return dl(this,t,r,n)}toDate(t){return jd(this,t)}toString(){return Wd(this)}compare(t){return Fd(this,t)}constructor(...t){wn(this,Mv,{writable:!0,value:void 0});let[r,n,a,o,i]=pl(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,qt(this)}}var Iv=new WeakMap;class hl{copy(){return new hl(this.hour,this.minute,this.second,this.millisecond)}add(t){return Hd(this,t)}subtract(t){return Ev(this,t)}set(t){return un(this,t)}cycle(t,r,n){return cl(this,t,r,n)}toString(){return Ud(this)}compare(t){return Md(this,t)}constructor(t=0,r=0,n=0,a=0){wn(this,Iv,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=a,_d(this)}}var Ov=new WeakMap;class dn{copy(){return this.era?new dn(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new dn(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return _a(this,t)}subtract(t){return Nd(this,t)}set(t){return ul(un(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return dl(this,t,r,n);default:return cl(this,t,r,n)}}toDate(t,r){return jd(this,t,r)}toString(){return fl(this)}compare(t){let r=Fd(this,t);return r===0?Md(this,We(t)):r}constructor(...t){wn(this,Ov,{writable:!0,value:void 0});let[r,n,a,o,i]=pl(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,qt(this)}}var Lv=new WeakMap;class Yt{copy(){return this.era?new Yt(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Yt(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Zd(this,t)}subtract(t){return Cv(this,t)}set(t,r){return Sv(this,t,r)}cycle(t,r,n){return Pv(this,t,r,n)}toDate(){return $v(this)}toString(){return Fv(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-yv(t,this.timeZone).toDate().getTime()}constructor(...t){wn(this,Lv,{writable:!0,value:void 0});let[r,n,a,o,i]=pl(t),l=t.shift(),s=t.shift();this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,qt(this)}}const $r=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],Vv=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Xn=[1867,1911,1925,1988,2018],Pt=["meiji","taisho","showa","heisei","reiwa"];function Es(e){const t=$r.findIndex(([r,n,a])=>e.year<r||e.year===r&&e.month<n||e.year===r&&e.month===n&&e.day<a);return t===-1?$r.length-1:t===0?0:t-1}function Co(e){let t=Xn[Pt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new ye(e.year+t,e.month,e.day)}class jv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=Es(r);return new ye(this,Pt[n],r.year-Xn[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay(Co(t))}balanceDate(t){let r=Co(t),n=Es(r);Pt[n]!==t.era&&(t.era=Pt[n],t.year=r.year-Xn[n]),this.constrainDate(t)}constrainDate(t){let r=Pt.indexOf(t.era),n=Vv[r];if(n!=null){let[a,o,i]=n,l=a-Xn[r];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(o,t.month),t.month===o&&(t.day=Math.min(i,t.day)))}if(t.year===1&&r>=0){let[,a,o]=$r[r];t.month=Math.max(a,t.month),t.month===a&&(t.day=Math.max(o,t.day))}}getEras(){return Pt}getYearsInEra(t){let r=Pt.indexOf(t.era),n=$r[r],a=$r[r+1];if(a==null)return 9999-n[0]+1;let o=a[0]-n[0];return(t.month<a[1]||t.month===a[1]&&t.day<a[2])&&o++,o}getDaysInMonth(t){return super.getDaysInMonth(Co(t))}getMinimumMonthInYear(t){let r=Cs(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=Cs(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function Cs(e){if(e.year===1){let t=Pt.indexOf(e.era);return $r[t]}}const qd=-543;class Kv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=En(r.era,r.year);return new ye(this,n-qd,r.month,r.day)}toJulianDay(t){return super.toJulianDay(Ps(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(Ps(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function Ps(e){let[t,r]=Na(e.year+qd);return new ye(t,r,e.month,e.day)}const Da=1911;function Yd(e){return e.era==="minguo"?e.year+Da:1-e.year+Da}function Ss(e){let t=e-Da;return t>0?["minguo",t]:["before_minguo",1-t]}class Nv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=En(r.era,r.year),[a,o]=Ss(n);return new ye(this,a,o,r.month,r.day)}toJulianDay(t){return super.toJulianDay(ks(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=Ss(Yd(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(ks(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Da}constructor(...t){super(...t),this.identifier="roc"}}function ks(e){let[t,r]=Na(Yd(e));return new ye(t,r,e.month,e.day)}const Bs=1948320,Rs=[0,31,62,93,124,155,186,216,246,276,306,336];class _v{fromJulianDay(t){let r=t-Bs,n=1+Math.floor((33*r+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),o=r-a,i=o<216?Math.floor(o/31):Math.floor((o-6)/30),l=o-Rs[i]+1;return new ye(this,n,i+1,l)}toJulianDay(t){let r=Bs-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return r+=Rs[t.month-1],r+=t.day,r}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||yr(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Po=78,Ts=80;class zv extends Ve{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-Po,a=t-Kt(r.era,r.year,1,1),o;a<Ts?(n--,o=kt(r.year-1)?31:30,a+=o+155+90+10):(o=kt(r.year)?31:30,a-=Ts);let i,l;if(a<o)i=1,l=a+1;else{let s=a-o;s<155?(i=Math.floor(s/31)+2,l=s%31+1):(s-=155,i=Math.floor(s/30)+7,l=s%30+1)}return new ye(this,n,i,l)}toJulianDay(t){let r=t.year+Po,[n,a]=Na(r),o,i;return kt(a)?(o=31,i=Kt(n,a,3,21)):(o=30,i=Kt(n,a,3,22)),t.month===1?i+t.day-1:(i+=o+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&&kt(t.year+Po)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const wa=1948440,As=1948439,ze=1300,ar=1600,Hv=460322;function Ea(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Jd(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),a=Math.min(12,Math.ceil((r-(29+Ea(t,n,1,1)))/29.5)+1),o=r-Ea(t,n,a,1)+1;return new ye(e,n,a,o)}function Fs(e){return(14+11*e)%30<11}class ml{fromJulianDay(t){return Jd(this,wa,t)}toJulianDay(t){return Ea(wa,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&Fs(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return Fs(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class Zv extends ml{fromJulianDay(t){return Jd(this,As,t)}toJulianDay(t){return Ea(As,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Uv="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let fi,xr;function ea(e){return Hv+xr[e-ze]}function Wr(e,t){let r=e-ze,n=1<<11-(t-1);return fi[r]&n?30:29}function Ms(e,t){let r=ea(e);for(let n=1;n<t;n++)r+=Wr(e,n);return r}function Is(e){return xr[e+1-ze]-xr[e-ze]}class Wv extends ml{fromJulianDay(t){let r=t-wa,n=ea(ze),a=ea(ar);if(r<n||r>a)return super.fromJulianDay(t);{let o=ze-1,i=1,l=1;for(;l>0;){o++,l=r-ea(o)+1;let s=Is(o);if(l===s){i=12;break}else if(l<s){let d=Wr(o,i);for(i=1;l>d;)l-=d,i++,d=Wr(o,i);break}}return new ye(this,o,i,r-Ms(o,i)+1)}}toJulianDay(t){return t.year<ze||t.year>ar?super.toJulianDay(t):wa+Ms(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<ze||t.year>ar?super.getDaysInMonth(t):Wr(t.year,t.month)}getDaysInYear(t){return t.year<ze||t.year>ar?super.getDaysInYear(t):Is(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",fi||(fi=new Uint16Array(Uint8Array.from(atob(Uv),t=>t.charCodeAt(0)).buffer)),!xr){xr=new Uint32Array(ar-ze+1);let t=0;for(let r=ze;r<=ar;r++){xr[r-ze]=t;for(let n=1;n<=12;n++)t+=Wr(r,n)}}}}const Os=347997,Qd=1080,Xd=24*Qd,Gv=29,qv=12*Qd+793,Yv=Gv*Xd+qv;function Lt(e){return yr(e*7+1,19)<7}function ta(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return yr(3*(n+1),7)<3&&(n+=1),n}function Jv(e){let t=ta(e-1),r=ta(e);return ta(e+1)-r===356?2:r-t===382?1:0}function Jr(e){return ta(e)+Jv(e)}function ec(e){return Jr(e+1)-Jr(e)}function Qv(e){let t=ec(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function _n(e,t){if(t>=6&&!Lt(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=Qv(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?Lt(e)?30:0:30}class Xv{fromJulianDay(t){let r=t-Os,n=r*Xd/Yv,a=Math.floor((19*n+234)/235)+1,o=Jr(a),i=Math.floor(r-o);for(;i<1;)a--,o=Jr(a),i=Math.floor(r-o);let l=1,s=0;for(;s<i;)s+=_n(a,l),l++;l--,s-=_n(a,l);let d=i-s;return new ye(this,a,l,d)}toJulianDay(t){let r=Jr(t.year);for(let n=1;n<t.month;n++)r+=_n(t.year,n);return r+t.day+Os}getDaysInMonth(t){return _n(t.year,t.month)}getMonthsInYear(t){return Lt(t.year)?13:12}getDaysInYear(t){return ec(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(Lt(r.year)&&!Lt(t.year)&&r.month>6?t.month--:!Lt(r.year)&&Lt(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const pi=1723856,Ls=1824665,hi=5500;function Ca(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function vl(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Ca(e,r,1,1))/30),a=t+1-Ca(e,r,n,1);return[r,n,a]}function tc(e){return Math.floor(e%4/3)}function rc(e,t){return t%13!==0?30:tc(e)+5}class gl{fromJulianDay(t){let[r,n,a]=vl(pi,t),o="AM";return r<=0&&(o="AA",r+=hi),new ye(this,o,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=hi),Ca(pi,r,t.month,t.day)}getDaysInMonth(t){return rc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+tc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class e3 extends gl{fromJulianDay(t){let[r,n,a]=vl(pi,t);return r+=hi,new ye(this,"AA",r,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class t3 extends gl{fromJulianDay(t){let[r,n,a]=vl(Ls,t),o="CE";return r<=0&&(o="BCE",r=1-r),new ye(this,o,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Ca(Ls,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),rc(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 bl(e){switch(e){case"buddhist":return new Kv;case"ethiopic":return new gl;case"ethioaa":return new e3;case"coptic":return new t3;case"hebrew":return new Xv;case"indian":return new zv;case"islamic-civil":return new ml;case"islamic-tbla":return new Zv;case"islamic-umalqura":return new Wv;case"japanese":return new jv;case"persian":return new _v;case"roc":return new Nv;case"gregory":default:return new Ve}}let So=new Map;class bt{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),a=this.formatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return a3()&&(this.resolvedHourCycle||(this.resolvedHourCycle=o3(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=nc(t,r),this.options=r}}const r3={true:{ja:"h11"},false:{}};function nc(e,t={}){if(typeof t.hour12=="boolean"&&n3()){t={...t};let a=r3[String(t.hour12)][e.split("-")[0]],o=t.hour12?"h12":"h23";t.hourCycle=a??o,delete t.hour12}let r=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(So.has(r))return So.get(r);let n=new Intl.DateTimeFormat(e,t);return So.set(r,n),n}let ko=null;function n3(){return ko==null&&(ko=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),ko}let Bo=null;function a3(){return Bo==null&&(Bo=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Bo}function o3(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=nc(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function ft(e){e=cd(e??{},i3);let{locale:t}=Se();return u.useMemo(()=>new bt(t,e),[t,e])}function i3(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 a of r)if(t[a]!==e[a])return!1;return!0}let Ro=new Map,mi=!1;try{mi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Pa=!1;try{Pa=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const ac={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class l3{format(t){let r="";if(!mi&&this.options.signDisplay!=null?r=u3(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Pa){var n;let{unit:a,unitDisplay:o="short",locale:i}=this.resolvedOptions();if(!a)return r;let l=(n=ac[a])===null||n===void 0?void 0:n[o];r+=l[i]||l.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),a=this.numberFormatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!mi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Pa&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=s3(t,r),this.options=r}}function s3(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!Pa){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=ac[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Ro.has(a))return Ro.get(a);let o=new Intl.NumberFormat(e,t);return Ro.set(a,o),o}function u3(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 a=e.format(-r),o=e.format(r),i=a.replace(o,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(o,"!!!").replace(i,"+").replace("!!!",o)}else return e.format(r)}}const d3=new RegExp("^.*\\(.*\\).*$"),c3=["latn","arab","hanidec"];class oc{parse(t){return To(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return To(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return To(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Vs=new Map;function To(e,t,r){let n=js(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let a of c3)if(a!==n.options.numberingSystem){let o=js(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(o.isValidPartialNumber(r))return o}}return n}function js(e,t){let r=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():""),n=Vs.get(r);return n||(n=new f3(e,t),Vs.set(r,n)),n}class f3{parse(t){let r=this.sanitize(t);if(this.symbols.group&&(r=zn(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 i=r.indexOf("-");r=r.replace("-","");let l=r.indexOf(".");l===-1&&(l=r.length),r=r.replace(".",""),l-2===0?r=`0.${r}`:l-2===-1?r=`0.0${r}`:l-2===-2?r="0.00":r=`${r.slice(0,l-2)}.${r.slice(l-2)}`,i>-1&&(r=`-${r}`)}let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var a,o;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((a=this.options.minimumFractionDigits)!==null&&a!==void 0?a:0)+2,20),maximumFractionDigits:Math.min(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2,20)};return new oc(this.locale,i).parse(new l3(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&d3.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("،",this.symbols.decimal)),this.symbols.group&&(t=zn(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=zn(t,"."," ")),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=zn(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=h3(t,this.formatter,this.options,r);var n,a;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Ks=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),p3=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function h3(e,t,r,n){var a,o,i,l;let s=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=p3.map(S=>s.formatToParts(S));var p;let h=(p=(a=d.find(S=>S.type==="minusSign"))===null||a===void 0?void 0:a.value)!==null&&p!==void 0?p:"-",m=(o=c.find(S=>S.type==="plusSign"))===null||o===void 0?void 0:o.value;!m&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(m="+");let y=(i=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(S=>S.type==="decimal"))===null||i===void 0?void 0:i.value,k=(l=d.find(S=>S.type==="group"))===null||l===void 0?void 0:l.value,D=d.filter(S=>!Ks.has(S.type)).map(S=>Ns(S.value)),C=f.flatMap(S=>S.filter(x=>!Ks.has(x.type)).map(x=>Ns(x.value))),E=[...new Set([...D,...C])].sort((S,x)=>x.length-S.length),w=E.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${E.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse(),F=new Map(P.map((S,x)=>[S,x])),b=new RegExp(`[${P.join("")}]`,"g");return{minusSign:h,plusSign:m,decimal:y,group:k,literals:w,numeral:b,index:S=>String(F.get(S))}}function zn(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Ns(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Ao=new Map;function za(e){let{locale:t}=Se(),r=t+(e?Object.entries(e).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(Ao.has(r))return Ao.get(r);let n=new Intl.Collator(t,e);return Ao.set(r,n),n}function m3(e){let t=za({usage:"search",...e}),r=u.useCallback((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(0,i.length),i)===0),[t]),n=u.useCallback((o,i)=>i.length===0?!0:(o=o.normalize("NFC"),i=i.normalize("NFC"),t.compare(o.slice(-i.length),i)===0),[t]),a=u.useCallback((o,i)=>{if(i.length===0)return!0;o=o.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=o.length;l++){let d=o.slice(l,l+s);if(t.compare(i,d)===0)return!0}return!1},[t]);return u.useMemo(()=>({startsWith:r,endsWith:n,contains:a}),[r,n,a])}function v3(e,t){let{elementType:r="button",isDisabled:n,onPress:a,onPressStart:o,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:h,rel:m,type:v="button"}=e,y;r==="button"?y={type:v,disabled:n}:y={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?h:void 0,type:r==="input"?v:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?m:void 0};let{pressProps:k,isPressed:D}=Rt({onPressStart:o,onPressEnd:i,onPressChange:s,onPress:a,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:C}=nl(e,t);c&&(C.tabIndex=n?-1:C.tabIndex);let E=U(C,k,te(e,{labelable:!0}));return{isPressed:D,buttonProps:U(y,E,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:w=>{f&&(f(w),console.warn("onClick is deprecated, please use onPress"))}})}}var ic={};ic={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var lc={};lc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var sc={};sc={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var uc={};uc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var dc={};dc={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var cc={};cc={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var fc={};fc={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var pc={};pc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var hc={};hc={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var mc={};mc={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var vc={};vc={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var gc={};gc={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var bc={};bc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var yc={};yc={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var $c={};$c={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var xc={};xc={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var Dc={};Dc={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var wc={};wc={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var Ec={};Ec={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var Cc={};Cc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Pc={};Pc={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var Sc={};Sc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var kc={};kc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Bc={};Bc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Rc={};Rc={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var Tc={};Tc={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var Ac={};Ac={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var Fc={};Fc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var Mc={};Mc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var Ic={};Ic={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var Oc={};Oc={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var Lc={};Lc={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var Vc={};Vc={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var jc={};jc={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Cn={};Cn={"ar-AE":ic,"bg-BG":lc,"cs-CZ":sc,"da-DK":uc,"de-DE":dc,"el-GR":cc,"en-US":fc,"es-ES":pc,"et-EE":hc,"fi-FI":mc,"fr-FR":vc,"he-IL":gc,"hr-HR":bc,"hu-HU":yc,"it-IT":$c,"ja-JP":xc,"ko-KR":Dc,"lt-LT":wc,"lv-LV":Ec,"nb-NO":Cc,"nl-NL":Pc,"pl-PL":Sc,"pt-BR":kc,"pt-PT":Bc,"ro-RO":Rc,"ru-RU":Tc,"sk-SK":Ac,"sl-SI":Fc,"sr-SP":Mc,"sv-SE":Ic,"tr-TR":Oc,"uk-UA":Lc,"zh-CN":Vc,"zh-TW":jc};function Kc(e){return e&&e.__esModule?e.default:e}const yl=new WeakMap;function cn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function g3(e){let t=at(Kc(Cn),"@react-aria/calendar"),r,n;"highlightedRange"in e?{start:r,end:n}=e.highlightedRange||{}:r=n=e.value;let a=ft({weekday:"long",month:"long",year:"numeric",day:"numeric",era:cn(r)||cn(n),timeZone:e.timeZone}),o="anchorDate"in e?e.anchorDate:null;return u.useMemo(()=>{if(!o&&r&&n)if(we(r,n)){let i=a.format(r.toDate(e.timeZone));return t.format("selectedDateDescription",{date:i})}else{let i=gi(a,t,r,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:i})}return""},[r,n,o,e.timeZone,t,a])}function vi(e,t,r,n){let a=at(Kc(Cn),"@react-aria/calendar"),o=cn(e)||cn(t),i=ft({month:"long",year:"numeric",era:o,calendar:e.calendar.identifier,timeZone:r}),l=ft({month:"long",year:"numeric",day:"numeric",era:o,calendar:e.calendar.identifier,timeZone:r});return u.useMemo(()=>{if(we(e,Gt(e))){if(we(t,$a(e)))return i.format(e.toDate(r));if(we(t,$a(t)))return n?gi(i,a,e,t,r):i.formatRange(e.toDate(r),t.toDate(r))}return n?gi(l,a,e,t,r):l.formatRange(e.toDate(r),t.toDate(r))},[e,t,i,l,a,r,n])}function gi(e,t,r,n,a){let o=e.formatRangeToParts(r.toDate(a),n.toDate(a)),i=-1;for(let d=0;d<o.length;d++){let c=o[d];if(c.source==="shared"&&c.type==="literal")i=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<o.length;d++)d<i?l+=o[d].value:d>i&&(s+=o[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const Nc=7e3;let Qr=null;function bi(e,t="assertive",r=Nc){Qr||(Qr=new y3),Qr.announce(e,t,r)}function b3(e){Qr&&Qr.clear(e)}class y3{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=Nc){if(!this.node)return;let a=document.createElement("div");a.textContent=t,r==="assertive"?this.assertiveLog.appendChild(a):this.politeLog.appendChild(a),t!==""&&setTimeout(()=>{a.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 $3(e){return e&&e.__esModule?e.default:e}function _c(e,t){let r=at($3(Cn),"@react-aria/calendar"),n=te(e),a=vi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),o=vi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);os(()=>{t.isFocused||bi(o)},[o]);let i=g3(t);os(()=>{i&&bi(i,"polite",4e3)},[i]);let l=Cr([!!e.errorMessage,e.isInvalid,e.validationState]);yl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,d]=u.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=u.useState(!1),h=e.isDisabled||t.isPreviousVisibleRangeInvalid();h&&f&&(p(!1),t.setFocused(!0));let m=er({id:e.id,"aria-label":[e["aria-label"],o].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:U(n,m,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":r.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":r.format("previous"),isDisabled:h,onFocusChange:p},errorMessageProps:{id:l},title:a}}function x3(e,t){return _c(e,t)}function D3(e,t,r){let n=_c(e,t),a=u.useRef(!1),o=u.useRef(typeof window<"u"?window:null);return br(o,"pointerdown",l=>{a.current=l.width===0&&l.height===0}),br(o,"pointerup",l=>{if(a.current){a.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;r.current&&r.current.contains(document.activeElement)&&(!r.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{r.current&&(!l.relatedTarget||!r.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},br(r,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function w3(e,t){let{startDate:r=t.visibleRange.start,endDate:n=t.visibleRange.end}=e,{direction:a}=Se(),o=h=>{switch(h.key){case"Enter":case" ":h.preventDefault(),t.selectFocusedDate();break;case"PageUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousSection(h.shiftKey);break;case"PageDown":h.preventDefault(),h.stopPropagation(),t.focusNextSection(h.shiftKey);break;case"End":h.preventDefault(),h.stopPropagation(),t.focusSectionEnd();break;case"Home":h.preventDefault(),h.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":h.preventDefault(),h.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":h.preventDefault(),h.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":h.preventDefault(),h.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(h.preventDefault(),t.setAnchorDate(null));break}},i=vi(r,n,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:s}=yl.get(t),d=er({"aria-label":[l,i].filter(Boolean).join(", "),"aria-labelledby":s}),c=ft({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=Se(),p=u.useMemo(()=>{let h=ln(ol(t.timeZone),f);return[...new Array(7).keys()].map(m=>{let y=h.add({days:m}).toDate(t.timeZone);return c.format(y)})},[f,t.timeZone,c]);return{gridProps:U(d,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:o,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:p}}function E3(e){return e&&e.__esModule?e.default:e}function C3(e,t,r){let{date:n,isDisabled:a}=e,{errorMessageId:o,selectedDateDescription:i}=yl.get(t),l=at(E3(Cn),"@react-aria/calendar"),s=ft({weekday:"long",day:"numeric",month:"long",year:"numeric",era:cn(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);a=a||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!a&&!f,h=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&we(t.value,n));h&&(d=!0),n=cd(n,ui);let m=u.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),v=uv(n,t.timeZone),y=u.useMemo(()=>{let x="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(we(n,t.value.start)||we(n,t.value.end))&&(x=i+", "),x+=s.format(m),v?x=l.format(d?"todayDateSelected":"todayDate",{date:x}):d&&(x=l.format("dateSelected",{date:x})),t.minValue&&we(n,t.minValue)?x+=", "+l.format("minimumDate"):t.maxValue&&we(n,t.maxValue)&&(x+=", "+l.format("maximumDate")),x},[s,m,l,d,v,n,t,i]),k="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?k=l.format("finishRangeSelectionPrompt"):k=l.format("startRangeSelectionPrompt"));let D=Dn(k),C=u.useRef(!1),E=u.useRef(!1),w=u.useRef(null),{pressProps:P,isPressed:F}=Rt({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(x){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(x.pointerType==="mouse"||x.pointerType==="touch")){if(t.highlightedRange&&!h){if(we(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}else if(we(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}}let M=()=>{t.setDragging(!0),w.current=null,t.selectDate(n),t.setFocusedDate(n),C.current=!0};x.pointerType==="touch"?w.current=setTimeout(M,200):M()}},onPressEnd(){E.current=!1,C.current=!1,clearTimeout(w.current),w.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(x){if(!t.isReadOnly&&("anchorDate"in t&&w.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(E.current)t.setAnchorDate(n);else if(t.anchorDate&&!C.current)t.selectDate(n),t.setFocusedDate(n);else if(x.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let M=n.add({days:1});t.isInvalid(M)&&(M=n.subtract({days:1})),t.isInvalid(M)||t.setFocusedDate(M)}else x.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),b=null;a||(b=we(n,t.focusedDate)?0:-1),u.useEffect(()=>{c&&r.current&&(dt(r.current),ma()!=="pointer"&&document.activeElement===r.current&&ca(r.current,{containingElement:Va(r.current)}))},[c,r]);let A=ft({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),S=u.useMemo(()=>A.formatToParts(m).find(x=>x.type==="day").value,[A,m]);return{cellProps:{role:"gridcell","aria-disabled":!p||null,"aria-selected":d||null,"aria-invalid":h||null},buttonProps:U(P,{onFocus(){a||t.setFocusedDate(n)},tabIndex:b,role:"button","aria-disabled":!p||null,"aria-label":y,"aria-invalid":h||null,"aria-describedby":[h?o:null,D["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(x){"highlightDate"in t&&(x.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(x){"releasePointerCapture"in x.target&&x.target.releasePointerCapture(x.pointerId)},onContextMenu(x){x.preventDefault()}}),isPressed:F,isFocused:c,isSelected:d,isDisabled:a,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:h,formattedDate:S}}function $l(e,t,r){let{validationBehavior:n,focus:a}=e;ie(()=>{if(n==="native"&&(r!=null&&r.current)){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(s),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(S3(r.current))}});let o=Be(()=>{t.resetValidation()}),i=Be(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=r==null||(d=r.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&r&&c&&k3(c)===r.current){var f;a?a():(f=r.current)===null||f===void 0||f.focus(),$d("keyboard")}s.preventDefault()}),l=Be(()=>{t.commitValidation()});u.useEffect(()=>{let s=r==null?void 0:r.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),d==null||d.addEventListener("reset",o),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",o)}},[r,i,l,o,n])}function P3(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 S3(e){return{isInvalid:!e.validity.valid,validationDetails:P3(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function k3(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const Ha={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},zc={...Ha,customError:!0,valid:!1},St={isInvalid:!1,validationDetails:Ha,validationErrors:[]},B3=u.createContext({}),Pr="__formValidationState"+Date.now();function tr(e){if(e[Pr]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:o}=e[Pr];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:o}}return R3(e)}function R3(e){let{isInvalid:t,validationState:r,name:n,value:a,builtinValidation:o,validate:i,validationBehavior:l="aria"}=e;r&&(t||(t=r==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:zc}:null,d=u.useMemo(()=>_s(T3(i,a)),[i,a]);o!=null&&o.validationDetails.valid&&(o=null);let c=u.useContext(B3),f=u.useMemo(()=>n?Array.isArray(n)?n.flatMap(S=>yi(c[S])):yi(c[n]):[],[c,n]),[p,h]=u.useState(c),[m,v]=u.useState(!1);c!==p&&(h(c),v(!1));let y=u.useMemo(()=>_s(m?[]:f),[m,f]),k=u.useRef(St),[D,C]=u.useState(St),E=u.useRef(St),w=()=>{if(!P)return;F(!1);let S=d||o||k.current;Fo(S,E.current)||(E.current=S,C(S))},[P,F]=u.useState(!1);return u.useEffect(w),{realtimeValidation:s||y||d||o||St,displayValidation:l==="native"?s||y||D:s||y||d||o||D,updateValidation(S){l==="aria"&&!Fo(D,S)?C(S):k.current=S},resetValidation(){let S=St;Fo(S,E.current)||(E.current=S,C(S)),l==="native"&&F(!1),v(!0)},commitValidation(){l==="native"&&F(!0),v(!0)}}}function yi(e){return e?Array.isArray(e)?e:[e]:[]}function T3(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return yi(r)}return[]}function _s(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:zc}:null}function Fo(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 fn(...e){let t=new Set,r=!1,n={...Ha};for(let i of e){var a,o;for(let l of i.validationErrors)t.add(l);r||(r=i.isInvalid);for(let l in n)(a=n)[o=l]||(a[o]=i.validationDetails[l])}return n.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:n}}function Hc(e,t,r){let{isDisabled:n=!1,isReadOnly:a=!1,value:o,name:i,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},h=l!=null,m=s!=null||d!=null;!h&&!m&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:v,isPressed:y}=Rt({isDisabled:n}),{pressProps:k,isPressed:D}=Rt({isDisabled:n||a,onPress(){t.toggle()}}),{focusableProps:C}=nl(e,r),E=U(v,C),w=te(e,{labelable:!0});return Xi(r,t.isSelected,t.setSelected),{labelProps:U(k,{onClick:P=>P.preventDefault()}),inputProps:U(w,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":a||void 0,onChange:p,disabled:n,...o==null?{}:{value:o},name:i,type:"checkbox",...E}),isSelected:t.isSelected,isPressed:y||D,isDisabled:n,isReadOnly:a,isInvalid:f||c==="invalid"}}function Zc(e,t,r){let n=tr({...e,value:t.isSelected}),{isInvalid:a,validationErrors:o,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=Hc({...e,isInvalid:a},t,r);$l(e,n,r);let{isIndeterminate:h,isRequired:m,validationBehavior:v="aria"}=e;return u.useEffect(()=>{r.current&&(r.current.indeterminate=!!h)}),{labelProps:l,inputProps:{...s,checked:d,"aria-required":m&&v==="aria"||void 0,required:m&&v==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:a,validationErrors:o,validationDetails:i}}const Uc=new WeakMap;function Wc(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":a,labelElementType:o="label"}=e;t=Re(t);let i=Re(),l={};r?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:o==="label"?t:void 0}):!n&&!a&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=er({id:t,"aria-label":a,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function Pn(e){let{description:t,errorMessage:r,isInvalid:n,validationState:a}=e,{labelProps:o,fieldProps:i}=Wc(e),l=Cr([!!t,!!r,n,a]),s=Cr([!!t,!!r,n,a]);return i=U(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function A3(e,t){let{isDisabled:r,name:n,validationBehavior:a="aria"}=e,{isInvalid:o,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=Pn({...e,labelElementType:"span",isInvalid:o,errorMessage:e.errorMessage||i});Uc.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:a});let p=te(e,{labelable:!0}),{focusWithinProps:h}=At({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:U(p,{role:"group","aria-disabled":r||void 0,...d,...h}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:o,validationErrors:i,validationDetails:l}}function xl(e={}){let{isReadOnly:t}=e,[r,n]=rt(e.isSelected,e.defaultSelected||!1,e.onChange);function a(i){t||n(i)}function o(){t||n(!r)}return{isSelected:r,setSelected:a,toggle:o}}function F3(e,t,r){const n=xl({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(y){y?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(y)}});let{name:a,descriptionId:o,errorMessageId:i,validationBehavior:l}=Uc.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=tr({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=u.useRef(St),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};u.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,h=l==="native"?t.displayValidation:p;var m;let v=Zc({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||a,isRequired:(m=e.isRequired)!==null&&m!==void 0?m:t.isRequired,validationBehavior:l,[Pr]:{realtimeValidation:p,displayValidation:h,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(y){c.current=y,f()}}},n,r);return{...v,inputProps:{...v.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,o].filter(Boolean).join(" ")||void 0}}}const mr={top:"top",bottom:"top",left:"left",right:"left"},Sa={top:"bottom",bottom:"top",left:"right",right:"left"},M3={top:"left",left:"top"},$i={top:"height",left:"width"},Gc={width:"totalWidth",height:"totalHeight"},Hn={};let Ie=typeof document<"u"&&window.visualViewport;function zs(e){let t=0,r=0,n=0,a=0,o=0,i=0,l={},s=(Ie==null?void 0:Ie.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;n=f.clientWidth,a=f.clientHeight;var d;t=(d=Ie==null?void 0:Ie.width)!==null&&d!==void 0?d:n;var c;r=(c=Ie==null?void 0:Ie.height)!==null&&c!==void 0?c:a,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,Ie&&(o=Ie.offsetTop,i=Ie.offsetLeft)}else({width:t,height:r,top:o,left:i}=Dr(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,a=r;return qi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s&&(l.top=0,l.left=0,o=Ie.pageTop,i=Ie.pageLeft),{width:t,height:r,totalWidth:n,totalHeight:a,scroll:l,top:o,left:i}}function I3(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Hs(e,t,r,n,a,o,i){let l=a.scroll[e],s=n[$i[e]],d=n.scroll[mr[e]]+o,c=s+n.scroll[mr[e]]-o,f=t-l+i[e]-n[mr[e]],p=t-l+r+i[e]-n[mr[e]];return f<d?d-f:p>c?Math.max(c-p,d-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 Zs(e){if(Hn[e])return Hn[e];let[t,r]=e.split(" "),n=mr[t]||"right",a=M3[n];mr[r]||(r="center");let o=$i[n],i=$i[a];return Hn[e]={placement:t,crossPlacement:r,axis:n,crossAxis:a,size:o,crossSize:i},Hn[e]}function Mo(e,t,r,n,a,o,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:h,size:m,crossSize:v}=n,y={};y[h]=e[h],f==="center"?y[h]+=(e[v]-r[v])/2:f!==h&&(y[h]+=e[v]-r[v]),y[h]+=o;const k=e[h]-r[v]+s+d,D=e[h]+e[v]-s-d;if(y[h]=ni(y[h],k,D),c===p){const C=l?i[m]:t[Gc[m]];y[Sa[p]]=Math.floor(C-e[p]+a)}else y[p]=Math.floor(e[p]+e[m]+a);return y}function L3(e,t,r,n,a,o,i,l){const s=n?r.height:t[Gc.height];let d=e.top!=null?r.top+e.top:r.top+(s-e.bottom-i),c=l!=="top"?Math.max(0,t.height+t.top+t.scroll.top-d-(a.top+a.bottom+o)):Math.max(0,d+i-(t.top+t.scroll.top)-(a.top+a.bottom+o));return Math.min(t.height-o*2,c)}function Us(e,t,r,n,a,o){let{placement:i,axis:l,size:s}=o;return i===l?Math.max(0,r[l]-e[l]-e.scroll[l]+t[l]-n[l]-n[Sa[l]]-a):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-r[l]-r[s]-n[l]-n[Sa[l]]-a)}function V3(e,t,r,n,a,o,i,l,s,d,c,f,p,h,m,v){let y=Zs(e),{size:k,crossAxis:D,crossSize:C,placement:E,crossPlacement:w}=y,P=Mo(t,l,r,y,c,f,d,p,m,v),F=c,b=Us(l,d,t,a,o+c,y);if(i&&n[k]>b){let H=Zs(`${Sa[E]} ${w}`),B=Mo(t,l,r,H,c,f,d,p,m,v);Us(l,d,t,a,o+c,H)>b&&(y=H,P=B,F=c)}let A="bottom";y.axis==="top"?y.placement==="top"?A="top":y.placement==="bottom"&&(A="bottom"):y.crossAxis==="top"&&(y.crossPlacement==="top"?A="bottom":y.crossPlacement==="bottom"&&(A="top"));let S=Hs(D,P[D],r[C],l,s,o,d);P[D]+=S;let x=L3(P,l,d,p,a,o,r.height,A);h&&h<x&&(x=h),r.height=Math.min(r.height,x),P=Mo(t,l,r,y,F,f,d,p,m,v),S=Hs(D,P[D],r[C],l,s,o,d),P[D]+=S;let M={},R=t[D]+.5*t[C]-P[D];const T=m/2+v,K=r[C]-m/2-v,O=t[D]-P[D]+m/2,$=t[D]+t[C]-P[D]-m/2,z=ni(R,O,$);return M[D]=ni(z,T,K),{position:P,maxHeight:x,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:y.placement}}function j3(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:a,padding:o,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,h=n instanceof HTMLElement?K3(n):document.documentElement,m=h===document.documentElement;const v=window.getComputedStyle(h).position;let y=!!v&&v!=="static",k=m?Dr(r):Ws(r,h);if(!m){let{marginTop:b,marginLeft:A}=window.getComputedStyle(r);k.top+=parseInt(b,10)||0,k.left+=parseInt(A,10)||0}let D=Dr(n),C=O3(n);D.width+=C.left+C.right,D.height+=C.top+C.bottom;let E=I3(a),w=zs(l),P=zs(h),F=l.tagName==="BODY"?Dr(h):Ws(h,l);return h.tagName==="HTML"&&l.tagName==="BODY"&&(P.scroll.top=0,P.scroll.left=0),V3(t,k,D,E,C,o,i,w,P,F,s,d,y,c,f,p)}function Dr(e){let{top:t,left:r,width:n,height:a}=e.getBoundingClientRect(),{scrollTop:o,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+o-l,left:r+i-s,width:n,height:a}}function Ws(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:a,left:o,width:i,height:l}=e.getBoundingClientRect();n={top:a,left:o,width:i,height:l}}else{n=Dr(e);let a=Dr(t),o=window.getComputedStyle(t);a.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=a.top,n.left-=a.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function K3(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Gs(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Gs(t);)t=t.parentElement;return t||document.documentElement}function Gs(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 qc=new WeakMap;function N3(e){let{triggerRef:t,isOpen:r,onClose:n}=e;u.useEffect(()=>{if(!r||n===null)return;let a=o=>{let i=o.target;if(!t.current||i instanceof Node&&!i.contains(t.current))return;let l=n||qc.get(t.current);l&&l()};return window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("scroll",a,!0)}},[r,n,t])}let be=typeof document<"u"&&window.visualViewport;function _3(e){let{direction:t}=Se(),{arrowSize:r=0,targetRef:n,overlayRef:a,scrollRef:o=a,placement:i="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:c=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:h=!0,onClose:m,maxHeight:v,arrowBoundaryOffset:y=0}=e,[k,D]=u.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),C=[p,i,a.current,n.current,o.current,l,s,d,c,f,h,t,v,y,r],E=u.useRef(be==null?void 0:be.scale);u.useEffect(()=>{h&&(E.current=be==null?void 0:be.scale)},[h]);let w=u.useCallback(()=>{if(p===!1||!h||!a.current||!n.current||!o.current||!d||(be==null?void 0:be.scale)!==E.current)return;let b=a.current;if(!v&&a.current){var A;b.style.top="0px",b.style.bottom="";var S;b.style.maxHeight=((S=(A=window.visualViewport)===null||A===void 0?void 0:A.height)!==null&&S!==void 0?S:window.innerHeight)+"px"}let x=j3({placement:H3(i,t),overlayNode:a.current,targetNode:n.current,scrollNode:o.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:v,arrowSize:r,arrowBoundaryOffset:y});b.style.top="",b.style.bottom="",Object.keys(x.position).forEach(M=>b.style[M]=x.position[M]+"px"),b.style.maxHeight=x.maxHeight!=null?x.maxHeight+"px":void 0,D(x)},C);ie(w,C),z3(w),La({ref:a,onResize:w});let P=u.useRef(!1);ie(()=>{let b,A=()=>{P.current=!0,clearTimeout(b),b=setTimeout(()=>{P.current=!1},500),w()},S=()=>{P.current&&A()};return be==null||be.addEventListener("resize",A),be==null||be.addEventListener("scroll",S),()=>{be==null||be.removeEventListener("resize",A),be==null||be.removeEventListener("scroll",S)}},[w]);let F=u.useCallback(()=>{P.current||m()},[m,P]);return N3({triggerRef:n,isOpen:h,onClose:m&&F}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...k.position,maxHeight:k.maxHeight}},placement:k.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:k.arrowOffsetLeft,top:k.arrowOffsetTop}},updatePosition:w}}function z3(e){ie(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function H3(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const mt=[];function Yc(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:a,isDismissable:o=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;u.useEffect(()=>(a&&mt.push(t),()=>{let m=mt.indexOf(t);m>=0&&mt.splice(m,1)}),[a,t]);let s=()=>{mt[mt.length-1]===t&&r&&r()},d=m=>{(!l||l(m.target))&&mt[mt.length-1]===t&&(m.stopPropagation(),m.preventDefault())},c=m=>{(!l||l(m.target))&&(mt[mt.length-1]===t&&(m.stopPropagation(),m.preventDefault()),s())},f=m=>{m.key==="Escape"&&!i&&!m.nativeEvent.isComposing&&(m.stopPropagation(),m.preventDefault(),s())};Fm({ref:t,onInteractOutside:o&&a?c:null,onInteractOutsideStart:d});let{focusWithinProps:p}=At({isDisabled:!n,onBlurWithin:m=>{!m.relatedTarget||_m(m.relatedTarget)||(!l||l(m.relatedTarget))&&r()}}),h=m=>{m.target===m.currentTarget&&m.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:h}}}function Jc(e,t,r){let{type:n}=e,{isOpen:a}=t;u.useEffect(()=>{r&&r.current&&qc.set(r.current,t.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let i=Re();return{triggerProps:{"aria-haspopup":o,"aria-expanded":a,"aria-controls":a?i:null,onPress:t.toggle},overlayProps:{id:i}}}const Io=typeof document<"u"&&window.visualViewport,Z3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Zn=0,Oo;function Qc(e={}){let{isDisabled:t}=e;ie(()=>{if(!t)return Zn++,Zn===1&&(xn()?Oo=W3():Oo=U3()),()=>{Zn--,Zn===0&&Oo()}},[t])}function U3(){return Zt(vr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),vr(document.documentElement,"overflow","hidden"))}function W3(){let e,t,r=d=>{e=Va(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=vr(e,"overscrollBehavior","contain"))},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()},a=d=>{let c=d.target;Ys(c)&&c!==document.activeElement&&(d.preventDefault(),l(),c.style.transform="translateY(-2000px)",c.focus(),requestAnimationFrame(()=>{c.style.transform=""})),t&&t()},o=d=>{let c=d.target;Ys(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Io&&(Io.height<window.innerHeight?requestAnimationFrame(()=>{qs(c)}):Io.addEventListener("resize",()=>qs(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=Zt(Kr(window,"scroll",d),vr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),vr(document.documentElement,"overflow","hidden"),vr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=Zt(Kr(document,"touchstart",r,{passive:!1,capture:!0}),Kr(document,"touchmove",n,{passive:!1,capture:!0}),Kr(document,"touchend",a,{passive:!1,capture:!0}),Kr(document,"focus",o,!0));return()=>{t==null||t(),i==null||i(),s()}}function vr(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Kr(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function qs(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Va(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,a=e.getBoundingClientRect().top;a>n+e.clientHeight&&(r.scrollTop+=a-n)}e=r.parentElement}}function Ys(e){return e instanceof HTMLInputElement&&!Z3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Xc={};Xc={dismiss:"تجاهل"};var ef={};ef={dismiss:"Отхвърляне"};var tf={};tf={dismiss:"Odstranit"};var rf={};rf={dismiss:"Luk"};var nf={};nf={dismiss:"Schließen"};var af={};af={dismiss:"Απόρριψη"};var of={};of={dismiss:"Dismiss"};var lf={};lf={dismiss:"Descartar"};var sf={};sf={dismiss:"Lõpeta"};var uf={};uf={dismiss:"Hylkää"};var df={};df={dismiss:"Rejeter"};var cf={};cf={dismiss:"התעלם"};var ff={};ff={dismiss:"Odbaci"};var pf={};pf={dismiss:"Elutasítás"};var hf={};hf={dismiss:"Ignora"};var mf={};mf={dismiss:"閉じる"};var vf={};vf={dismiss:"무시"};var gf={};gf={dismiss:"Atmesti"};var bf={};bf={dismiss:"Nerādīt"};var yf={};yf={dismiss:"Lukk"};var $f={};$f={dismiss:"Negeren"};var xf={};xf={dismiss:"Zignoruj"};var Df={};Df={dismiss:"Descartar"};var wf={};wf={dismiss:"Dispensar"};var Ef={};Ef={dismiss:"Revocare"};var Cf={};Cf={dismiss:"Пропустить"};var Pf={};Pf={dismiss:"Zrušiť"};var Sf={};Sf={dismiss:"Opusti"};var kf={};kf={dismiss:"Odbaci"};var Bf={};Bf={dismiss:"Avvisa"};var Rf={};Rf={dismiss:"Kapat"};var Tf={};Tf={dismiss:"Скасувати"};var Af={};Af={dismiss:"取消"};var Ff={};Ff={dismiss:"關閉"};var Mf={};Mf={"ar-AE":Xc,"bg-BG":ef,"cs-CZ":tf,"da-DK":rf,"de-DE":nf,"el-GR":af,"en-US":of,"es-ES":lf,"et-EE":sf,"fi-FI":uf,"fr-FR":df,"he-IL":cf,"hr-HR":ff,"hu-HU":pf,"it-IT":hf,"ja-JP":mf,"ko-KR":vf,"lt-LT":gf,"lv-LV":bf,"nb-NO":yf,"nl-NL":$f,"pl-PL":xf,"pt-BR":Df,"pt-PT":wf,"ro-RO":Ef,"ru-RU":Cf,"sk-SK":Pf,"sl-SI":Sf,"sr-SP":kf,"sv-SE":Bf,"tr-TR":Rf,"uk-UA":Tf,"zh-CN":Af,"zh-TW":Ff};const Js={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 If(e={}){let{style:t,isFocusable:r}=e,[n,a]=u.useState(!1),{focusWithinProps:o}=At({isDisabled:!r,onFocusWithinChange:l=>a(l)}),i=u.useMemo(()=>n?t:t?{...Js,...t}:Js,[n]);return{visuallyHiddenProps:{...o,style:i}}}function Jt(e){let{children:t,elementType:r="div",isFocusable:n,style:a,...o}=e,{visuallyHiddenProps:i}=If(e);return u.createElement(r,U(o,i),t)}function G3(e){return e&&e.__esModule?e.default:e}function xi(e){let{onDismiss:t,...r}=e,n=at(G3(Mf),"@react-aria/overlays"),a=er(r,n.format("dismiss")),o=()=>{t&&t()};return u.createElement(Jt,null,u.createElement("button",{...a,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}let Nr=new WeakMap,Ne=[];function Of(e,t=document.body){let r=new Set(e),n=new Set,a=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let d=p=>{if(r.has(p)||n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let h of r)if(p.contains(h))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(s);if(f===NodeFilter.FILTER_ACCEPT&&o(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)o(p),p=c.nextNode()}},o=s=>{var d;let c=(d=Nr.get(s))!==null&&d!==void 0?d:0;s.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&s.setAttribute("aria-hidden","true"),n.add(s),Nr.set(s,c+1))};Ne.length&&Ne[Ne.length-1].disconnect(),a(t);let i=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...r,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(r.delete(c),n.delete(c));for(let c of d.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?r.add(c):c instanceof Element&&a(c)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ne.push(l),()=>{i.disconnect();for(let s of n){let d=Nr.get(s);d===1?(s.removeAttribute("aria-hidden"),Nr.delete(s)):Nr.set(s,d-1)}l===Ne[Ne.length-1]?(Ne.pop(),Ne.length&&Ne[Ne.length-1].observe()):Ne.splice(Ne.indexOf(l),1)}}function q3(e,t){let{triggerRef:r,popoverRef:n,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=Yc({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:i},n),{overlayProps:c,arrowProps:f,placement:p}=_3({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:a?t.close:null});return Qc({isDisabled:a||!t.isOpen}),ie(()=>{if(t.isOpen&&!a&&n.current)return Of([n.current])},[a,t.isOpen,n]),{popoverProps:U(s,c),arrowProps:f,underlayProps:d,placement:p}}const Y3=u.createContext({});function J3(){var e;return(e=u.useContext(Y3))!==null&&e!==void 0?e:{}}const Lf=u.createContext(null);function Vf(e){let t=Dt(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[a,o]=u.useState(!1),i=u.useMemo(()=>({contain:a,setContain:o}),[a,o]),{getContainer:l}=J3();if(!e.portalContainer&&l&&(r=l()),!r)return null;let s=e.children;return e.disableFocusManagement||(s=u.createElement(wd,{restoreFocus:!0,contain:a&&!n},s)),s=u.createElement(Lf.Provider,{value:i},u.createElement(wm,null,s)),yn.createPortal(s,r)}function jf(){let e=u.useContext(Lf),t=e==null?void 0:e.setContain;ie(()=>{t==null||t(!0)},[t])}function Q3(e,t,r){let{overlayProps:n,underlayProps:a}=Yc({...e,isOpen:t.isOpen,onClose:t.close},r);return Qc({isDisabled:!t.isOpen}),jf(),u.useEffect(()=>{if(t.isOpen)return Of([r.current])},[t.isOpen,r]),{modalProps:U(n),underlayProps:a}}const Dl=new WeakMap;function X3(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function eg(e,t){let r=Dl.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${X3(t)}`}function Di(e){return nm()?e.altKey:e.ctrlKey}function fr(e){return yt()?e.metaKey:e.ctrlKey}const tg=1e3;function Kf(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,a=u.useRef({search:"",timeout:null}).current,o=i=>{let l=rg(i.key);if(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;l===" "&&a.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),a.search+=l;let s=t.getKeyForSearch(a.search,r.focusedKey);s==null&&(s=t.getKeyForSearch(a.search)),s!=null&&(r.setFocusedKey(s),n&&n(s)),clearTimeout(a.timeout),a.timeout=setTimeout(()=>{a.search=""},tg)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?o:null}}}function rg(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function Nf(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:a=!1,shouldFocusWrap:o=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:h=n,linkBehavior:m="action"}=e,{direction:v}=Se(),y=Oa(),k=S=>{if(S.altKey&&S.key==="Tab"&&S.preventDefault(),!n.current.contains(S.target))return;const x=(B,L)=>{if(B!=null){if(t.isLink(B)&&m==="selection"&&s&&!Di(S)){yn.flushSync(()=>{t.setFocusedKey(B,L)});let N=h.current.querySelector(`[data-key="${CSS.escape(B.toString())}"]`),G=t.getItemProps(B);y.open(N,S,G.href,G.routerOptions);return}if(t.setFocusedKey(B,L),t.isLink(B)&&m==="override")return;S.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):s&&!Di(S)&&t.replaceSelection(B)}};switch(S.key){case"ArrowDown":if(r.getKeyBelow){var M,R;S.preventDefault();let B=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(M=r.getFirstKey)===null||M===void 0?void 0:M.call(r);B==null&&o&&(B=(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r,t.focusedKey)),x(B)}break;case"ArrowUp":if(r.getKeyAbove){var T,K;S.preventDefault();let B=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(T=r.getLastKey)===null||T===void 0?void 0:T.call(r);B==null&&o&&(B=(K=r.getLastKey)===null||K===void 0?void 0:K.call(r,t.focusedKey)),x(B)}break;case"ArrowLeft":if(r.getKeyLeftOf){var O,$;S.preventDefault();let B=r.getKeyLeftOf(t.focusedKey);B==null&&o&&(B=v==="rtl"?(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r,t.focusedKey):($=r.getLastKey)===null||$===void 0?void 0:$.call(r,t.focusedKey)),x(B,v==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var z,H;S.preventDefault();let B=r.getKeyRightOf(t.focusedKey);B==null&&o&&(B=v==="rtl"?(z=r.getLastKey)===null||z===void 0?void 0:z.call(r,t.focusedKey):(H=r.getFirstKey)===null||H===void 0?void 0:H.call(r,t.focusedKey)),x(B,v==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){S.preventDefault();let B=r.getFirstKey(t.focusedKey,fr(S));t.setFocusedKey(B),fr(S)&&S.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):s&&t.replaceSelection(B)}break;case"End":if(r.getLastKey){S.preventDefault();let B=r.getLastKey(t.focusedKey,fr(S));t.setFocusedKey(B),fr(S)&&S.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):s&&t.replaceSelection(B)}break;case"PageDown":if(r.getKeyPageBelow){S.preventDefault();let B=r.getKeyPageBelow(t.focusedKey);x(B)}break;case"PageUp":if(r.getKeyPageAbove){S.preventDefault();let B=r.getKeyPageAbove(t.focusedKey);x(B)}break;case"a":fr(S)&&t.selectionMode==="multiple"&&l!==!0&&(S.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(S.stopPropagation(),S.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(S.shiftKey)n.current.focus();else{let B=Ae(n.current,{tabbable:!0}),L,N;do N=B.lastChild(),N&&(L=N);while(N);L&&!L.contains(document.activeElement)&&dt(L)}break}}},D=u.useRef({top:0,left:0});br(h,"scroll",p?null:()=>{D.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let C=S=>{if(t.isFocused){S.currentTarget.contains(S.target)||t.setFocused(!1);return}if(S.currentTarget.contains(S.target)){if(t.setFocused(!0),t.focusedKey==null){let R=K=>{K!=null&&(t.setFocusedKey(K),s&&t.replaceSelection(K))},T=S.relatedTarget;var x,M;T&&S.currentTarget.compareDocumentPosition(T)&Node.DOCUMENT_POSITION_FOLLOWING?R((x=t.lastSelectedKey)!==null&&x!==void 0?x:r.getLastKey()):R((M=t.firstSelectedKey)!==null&&M!==void 0?M:r.getFirstKey())}else p||(h.current.scrollTop=D.current.top,h.current.scrollLeft=D.current.left);if(!p&&t.focusedKey!=null){let R=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);R&&(R.contains(document.activeElement)||dt(R),ma()==="keyboard"&&ca(R,{containingElement:n.current}))}}},E=S=>{S.currentTarget.contains(S.relatedTarget)||t.setFocused(!1)};const w=u.useRef(a);u.useEffect(()=>{if(w.current){let S=null;a==="first"&&(S=r.getFirstKey()),a==="last"&&(S=r.getLastKey());let x=t.selectedKeys;if(x.size){for(let M of x)if(t.canSelectItem(M)){S=M;break}}t.setFocused(!0),t.setFocusedKey(S),S==null&&!c&&Wt(n.current)}},[]);let P=u.useRef(t.focusedKey);u.useEffect(()=>{let S=ma();if(t.isFocused&&t.focusedKey!=null&&(h!=null&&h.current)){let x=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);x&&(S==="keyboard"||w.current)&&(p||dd(h.current,x),S!=="virtual"&&ca(x,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&P.current!=null&&Wt(n.current),P.current=t.focusedKey,w.current=!1},[p,h,t.focusedKey,t.isFocused,n]);let F={onKeyDown:k,onFocus:C,onBlur:E,onMouseDown(S){h.current===S.target&&S.preventDefault()}},{typeSelectProps:b}=Kf({keyboardDelegate:r,selectionManager:t});d||(F=U(b,F));let A;return c||(A=t.focusedKey==null?0:-1),{collectionProps:{...F,tabIndex:A}}}function _f(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:i,isDisabled:l,onAction:s,allowsDifferentPressOrigin:d,linkBehavior:c="action"}=e,f=Oa(),p=$=>{if($.pointerType==="keyboard"&&Di($))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(c==="selection"){let z=t.getItemProps(r);f.open(n.current,$,z.href,z.routerOptions),t.setSelectedKeys(t.selectedKeys);return}else if(c==="override"||c==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):$&&$.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||$&&(fr($)||$.pointerType==="touch"||$.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};u.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!o&&(i?i():document.activeElement!==n.current&&Wt(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,o]),l=l||t.isDisabled(r);let h={};!o&&!l?h={tabIndex:r===t.focusedKey?0:-1,onFocus($){$.target===n.current&&t.setFocusedKey(r)}}:l&&(h.onMouseDown=$=>{$.preventDefault()});let m=t.isLink(r)&&c==="override",v=t.isLink(r)&&c!=="selection"&&c!=="none",y=!l&&t.canSelectItem(r)&&!m,k=(s||v)&&!l,D=k&&(t.selectionBehavior==="replace"?!y:!y||t.isEmpty),C=k&&y&&t.selectionBehavior==="replace",E=D||C,w=u.useRef(null),P=E&&y,F=u.useRef(!1),b=u.useRef(!1),A=$=>{if(s&&s(),v){let z=t.getItemProps(r);f.open(n.current,$,z.href,z.routerOptions)}},S={};a?(S.onPressStart=$=>{w.current=$.pointerType,F.current=P,$.pointerType==="keyboard"&&(!E||Xs())&&p($)},d?(S.onPressUp=D?null:$=>{$.pointerType!=="keyboard"&&y&&p($)},S.onPress=D?A:null):S.onPress=$=>{if(D||C&&$.pointerType!=="mouse"){if($.pointerType==="keyboard"&&!Qs())return;A($)}else $.pointerType!=="keyboard"&&y&&p($)}):(S.onPressStart=$=>{w.current=$.pointerType,F.current=P,b.current=D,y&&($.pointerType==="mouse"&&!D||$.pointerType==="keyboard"&&(!k||Xs()))&&p($)},S.onPress=$=>{($.pointerType==="touch"||$.pointerType==="pen"||$.pointerType==="virtual"||$.pointerType==="keyboard"&&E&&Qs()||$.pointerType==="mouse"&&b.current)&&(E?A($):y&&p($))}),h["data-key"]=r,S.preventFocusOnPress=o;let{pressProps:x,isPressed:M}=Rt(S),R=C?$=>{w.current==="mouse"&&($.stopPropagation(),$.preventDefault(),A($))}:void 0,{longPressProps:T}=xd({isDisabled:!P,onLongPress($){$.pointerType==="touch"&&(p($),t.setSelectionBehavior("toggle"))}}),K=$=>{w.current==="touch"&&F.current&&$.preventDefault()},O=t.isLink(r)?$=>{Bt.isOpening||$.preventDefault()}:void 0;return{itemProps:U(h,y||D?x:{},P?T:{},{onDoubleClick:R,onDragStartCapture:K,onClick:O}),isPressed:M,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:l,allowsSelection:y,hasAction:E}}function Qs(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Xs(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class wl{isDisabled(t){var r;return this.disabledBehavior==="all"&&(((r=t.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(t.key))}getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let a=this.getItem(t);if(!a)return null;let o=a.getBoundingClientRect();do t=r(t),a=this.getItem(t);while(a&&n(o,a.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.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return t!==null?this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!nn(r))return this.getFirstKey();let a=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=a.x-r.scrollLeft,l=Math.max(0,o.x-i+o.width-a.width);for(;n&&o.x-i>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let i=a.y-r.scrollTop,l=Math.max(0,o.y-i+o.height-a.height);for(;n&&o.y-i>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),o=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(!nn(r))return this.getLastKey();let a=r.getBoundingClientRect(),o=n.getBoundingClientRect();if(this.orientation==="horizontal"){let i=a.x-r.scrollLeft,l=Math.min(r.scrollWidth,o.x-i-o.width+a.width);for(;n&&o.x-i<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}else{let i=a.y-r.scrollTop,l=Math.min(r.scrollHeight,o.y-i-o.height+a.height);for(;n&&o.y-i<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),o=n==null?void 0:n.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,a=r||this.getFirstKey();for(;a!=null;){let o=n.getItem(a),i=o.textValue.slice(0,t.length);if(o.textValue&&this.collator.compare(i,t)===0)return a;a=this.getKeyBelow(a)}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.disabledBehavior=r.disabledBehavior||"all",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.disabledBehavior="all";this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function ng(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:a,keyboardDelegate:o}=e,i=za({usage:"search",sensitivity:"base"}),l=t.disabledBehavior,s=u.useMemo(()=>o||new wl({collection:r,disabledKeys:n,disabledBehavior:l,ref:a,collator:i}),[o,r,n,a,i,l]),{collectionProps:d}=Nf({...e,ref:a,selectionManager:t,keyboardDelegate:s});return{listProps:d}}function ag(e,t,r){let n=te(e,{labelable:!0}),a=e.selectionBehavior||"toggle",o=e.linkBehavior||(a==="replace"?"action":"override");a==="toggle"&&o==="action"&&(o="override");let{listProps:i}=ng({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:o}),{focusWithinProps:l}=At({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=Re(e.id);Dl.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:o});let{labelProps:d,fieldProps:c}=Wc({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:U(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...U(c,i)})}}class og{build(t,r){return this.context=r,eu(()=>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 a of t.items)yield*this.getFullNode({value:a},{renderer:r})}else{let a=[];u.Children.forEach(r,i=>{a.push(i)});let o=0;for(let i of a){let l=this.getFullNode({element:i,index:o},{});for(let s of l)o++,yield s}}}getKey(t,r,n,a){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${a}${r.key}`;let o=r.value;if(o!=null){var i;let l=(i=o.key)!==null&&i!==void 0?i:o.id;if(l==null)throw new Error("No key found for item");return l}return a?`${a}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,a){let o=t.element;if(!o&&t.value&&r&&r.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=a?a.key:null,yield s;return}o=r.renderer(t.value)}if(u.isValidElement(o)){let s=o.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let p=typeof o.type=="function"?o.type.name:o.type;throw new Error(`Unknown element <${p}> in collection.`)}let d=s.getCollectionNode(o.props,this.context),c=t.index,f=d.next();for(;!f.done&&f.value;){let p=f.value;t.index=c;let h=p.key;h||(h=p.element?null:this.getKey(o,t,r,n));let v=[...this.getFullNode({...p,key:h,index:c,wrapper:ig(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${o.key}`:o.key,a)];for(let y of v){if(y.value=p.value||t.value,y.value&&this.cache.set(y.value,y),t.type&&y.type!==t.type)throw new Error(`Unsupported type <${Lo(y.type)}> in <${Lo(a.type)}>. Only <${Lo(t.type)}> is supported.`);c++,yield y}f=d.next(v)}return}if(t.key==null)return;let i=this,l={type:t.type,props:t.props,key:t.key,parentKey:a?a.key:null,value:t.value,level:a?a.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:eu(function*(){if(!t.hasChildNodes)return;let s=0;for(let d of t.childNodes()){d.key!=null&&(d.key=`${l.key}${d.key}`),d.index=s;let c=i.getFullNode(d,i.getChildState(r,d),l.key,l);for(let f of c)s++,yield f}})};yield l}constructor(){this.cache=new WeakMap}}function eu(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 ig(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Lo(e){return e[0].toUpperCase()+e.slice(1)}function lg(e,t,r){let n=u.useMemo(()=>new og,[]),{children:a,items:o,collection:i}=e;return u.useMemo(()=>{if(i)return i;let s=n.build({children:a,items:o},r);return t(s)},[n,a,o,i,r,t])}function zf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function sg(e){return ug(e)}function ug(e,t){for(let r of e)return r}function Vo(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...tu(e,t),t],a=[...tu(e,r),r],o=n.slice(0,a.length).findIndex((i,l)=>i!==a[l]);return o!==-1?(t=n[o],r=a[o],t.index-r.index):n.findIndex(i=>i===r)>=0?1:(a.findIndex(i=>i===t)>=0,-1)}function tu(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const ru=new WeakMap;function dg(e){let t=ru.get(e);if(t!=null)return t;t=0;let r=n=>{for(let a of n)a.type==="section"?r(zf(a,e)):t++};return r(e),ru.set(e,t),t}function cg(e,t,r){var n,a;let{key:o}=e,i=Dl.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(o);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(o);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var h;let m=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:i==null?void 0:i.shouldFocusOnHover;var v;let y=(v=e.shouldUseVirtualFocus)!==null&&v!==void 0?v:i==null?void 0:i.shouldUseVirtualFocus;var k;let D=(k=e.isVirtualized)!==null&&k!==void 0?k:i==null?void 0:i.isVirtualized,C=Cr(),E=Cr(),w={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};yt()&&qi()||(w["aria-label"]=e["aria-label"],w["aria-labelledby"]=C,w["aria-describedby"]=E);let P=t.collection.getItem(o);if(D){let O=Number(P==null?void 0:P.index);w["aria-posinset"]=Number.isNaN(O)?void 0:O+1,w["aria-setsize"]=dg(t.collection)}let F=i!=null&&i.onAction?()=>{var O;return i==null||(O=i.onAction)===null||O===void 0?void 0:O.call(i,o)}:void 0,{itemProps:b,isPressed:A,isFocused:S,hasAction:x,allowsSelection:M}=_f({selectionManager:t.selectionManager,key:o,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&m,isVirtualized:D,shouldUseVirtualFocus:y,isDisabled:s,onAction:F||!(P==null||(n=P.props)===null||n===void 0)&&n.onAction?Zt(P==null||(a=P.props)===null||a===void 0?void 0:a.onAction,F):void 0,linkBehavior:i==null?void 0:i.linkBehavior}),{hoverProps:R}=nt({isDisabled:s||!m,onHoverStart(){ha()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(o))}}),T=te(P==null?void 0:P.props);delete T.id;let K=Yi(P==null?void 0:P.props);return{optionProps:{...w,...U(T,b,R,K),id:eg(t,o)},labelProps:{id:C},descriptionProps:{id:E},isFocused:S,isFocusVisible:S&&ha(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:M,hasAction:x}}function fg(e){let{heading:t,"aria-label":r}=e,n=Re();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var Hf={};Hf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Zf={};Zf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Uf={};Uf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Wf={};Wf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Gf={};Gf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var qf={};qf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Yf={};Yf={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Jf={};Jf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Qf={};Qf={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Xf={};Xf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var e0={};e0={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var t0={};t0={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var r0={};r0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var n0={};n0={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var a0={};a0={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var o0={};o0={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var i0={};i0={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var l0={};l0={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var s0={};s0={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var u0={};u0={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var d0={};d0={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var c0={};c0={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var f0={};f0={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var p0={};p0={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var h0={};h0={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 v0={};v0={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var g0={};g0={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var b0={};b0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var y0={};y0={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var $0={};$0={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var x0={};x0={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var D0={};D0={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var w0={};w0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var E0={};E0={"ar-AE":Hf,"bg-BG":Zf,"cs-CZ":Uf,"da-DK":Wf,"de-DE":Gf,"el-GR":qf,"en-US":Yf,"es-ES":Jf,"et-EE":Qf,"fi-FI":Xf,"fr-FR":e0,"he-IL":t0,"hr-HR":r0,"hu-HU":n0,"it-IT":a0,"ja-JP":o0,"ko-KR":i0,"lt-LT":l0,"lv-LV":s0,"nb-NO":u0,"nl-NL":d0,"pl-PL":c0,"pt-BR":f0,"pt-PT":p0,"ro-RO":h0,"ru-RU":m0,"sk-SK":v0,"sl-SI":g0,"sr-SP":b0,"sv-SE":y0,"tr-TR":$0,"uk-UA":x0,"zh-CN":D0,"zh-TW":w0};function pg(e){return e&&e.__esModule?e.default:e}function hg(e,t,r){let{type:n="menu",isDisabled:a,trigger:o="press"}=e,i=Re(),{triggerProps:l,overlayProps:s}=Jc({type:n},t,r),d=h=>{if(!a&&!(o==="longPress"&&!h.altKey)&&r&&r.current)switch(h.key){case"Enter":case" ":if(o==="longPress")return;case"ArrowDown":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("last");break;default:"continuePropagation"in h&&h.continuePropagation()}},c=at(pg(E0),"@react-aria/menu"),{longPressProps:f}=xd({isDisabled:a||o!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(h){h.pointerType!=="touch"&&h.pointerType!=="keyboard"&&!a&&t.open(h.pointerType==="virtual"?"first":null)},onPress(h){h.pointerType==="touch"&&!a&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...o==="press"?p:f,id:i,onKeyDown:d},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}var C0={};C0={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 P0={};P0={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 S0={};S0={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 k0={};k0={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 R0={};R0={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 T0={};T0={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 A0={};A0={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 F0={};F0={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 M0={};M0={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 I0={};I0={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 O0={};O0={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={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 V0={};V0={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 j0={};j0={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 K0={};K0={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 N0={};N0={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 _0={};_0={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 z0={};z0={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 H0={};H0={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 U0={};U0={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 W0={};W0={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 G0={};G0={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 q0={};q0={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 Y0={};Y0={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 J0={};J0={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 Q0={};Q0={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 X0={};X0={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 e4={};e4={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 t4={};t4={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 r4={};r4={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 n4={};n4={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 a4={};a4={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 Sn={};Sn={"ar-AE":C0,"bg-BG":P0,"cs-CZ":S0,"da-DK":k0,"de-DE":B0,"el-GR":R0,"en-US":T0,"es-ES":A0,"et-EE":F0,"fi-FI":M0,"fr-FR":I0,"he-IL":O0,"hr-HR":L0,"hu-HU":V0,"it-IT":j0,"ja-JP":K0,"ko-KR":N0,"lt-LT":_0,"lv-LV":z0,"nb-NO":H0,"nl-NL":Z0,"pl-PL":U0,"pt-BR":W0,"pt-PT":G0,"ro-RO":q0,"ru-RU":Y0,"sk-SK":J0,"sl-SI":Q0,"sr-SP":X0,"sv-SE":e4,"tr-TR":t4,"uk-UA":r4,"zh-CN":n4,"zh-TW":a4};function El(e,t,r){let{direction:n}=Se(),a=u.useMemo(()=>Ka(t),[t]),o=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(!0)),!r))switch(s.key){case"ArrowLeft":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusNext():a.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusPrevious():a.focusNext();break}},i=()=>{var s;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=Ae(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=Rt({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return U(l,{onKeyDown:o})}function mg(e){return e&&e.__esModule?e.default:e}const o4=new WeakMap,Xr="__role_"+Date.now(),i4="__focusManager_"+Date.now();function vg(e,t,r){var n;let{isInvalid:a,validationErrors:o,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=Pn({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||o}),f=u.useRef(null),{focusWithinProps:p}=At({...e,onFocusWithin(S){var x;f.current=t.value,(x=e.onFocus)===null||x===void 0||x.call(e,S)},onBlurWithin:S=>{var x;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(x=e.onBlur)===null||x===void 0||x.call(e,S)},onFocusWithinChange:e.onFocusChange}),h=at(mg(Sn),"@react-aria/datepicker"),m=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",v=t.maxGranularity==="hour"?"time":"date",y=t.value?h.format(m,{[v]:t.formatValue({month:"long"})}):"",k=Dn(y),D=e[Xr]==="presentation"?s["aria-describedby"]:[k["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,C=e[i4],E=u.useMemo(()=>C||Ka(r),[C,r]),w=El(t,r,e[Xr]==="presentation");o4.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:D,focusManager:E});let P=u.useRef(e.autoFocus),F;e[Xr]==="presentation"?F={role:"presentation"}:F=U(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":D}),u.useEffect(()=>{P.current&&E.focusFirst(),P.current=!1},[E]),Xi(e.inputRef,t.value,t.setValue),$l({...e,focus(){E.focusFirst()}},t,e.inputRef);let b={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||""};e.validationBehavior==="native"&&(b.type="text",b.hidden=!0,b.required=e.isRequired,b.onChange=()=>{});let A=te(e);return{labelProps:{...l,onClick:()=>{E.focusFirst()}},fieldProps:U(A,F,w,p,{onKeyDown(S){e.onKeyDown&&e.onKeyDown(S)},onKeyUp(S){e.onKeyUp&&e.onKeyUp(S)}}),inputProps:b,descriptionProps:d,errorMessageProps:c,isInvalid:a,validationErrors:o,validationDetails:i}}function gg(e){return e&&e.__esModule?e.default:e}function bg(e,t,r){let n=Re(),a=Re(),o=Re(),i=at(gg(Sn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:h}=Pn({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),m=El(t,r),v=f["aria-labelledby"]||f.id,{locale:y}=Se(),k=t.formatValue(y,{month:"long"}),D=k?i.format("selectedDateDescription",{date:k}):"",C=Dn(D),E=[C["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,w=te(e),P=u.useMemo(()=>Ka(r),[r]),{focusWithinProps:F}=At({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:U(w,m,f,C,F,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":v,"aria-describedby":E,onKeyDown(b){t.isOpen||e.onKeyDown&&e.onKeyDown(b)},onKeyUp(b){t.isOpen||e.onKeyUp&&e.onKeyUp(b)}}),labelProps:{...c,onClick:()=>{P.focusFirst()}},fieldProps:{...f,id:o,[Xr]:"presentation","aria-describedby":E,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[Pr]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:h,buttonProps:{...C,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${v}`,"aria-describedby":E,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:a,"aria-labelledby":`${n} ${v}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function yg(e){return e&&e.__esModule?e.default:e}function $g(){let{locale:e}=Se(),t=Rd(yg(Sn),"@react-aria/datepicker");return u.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new xg(e,t)}},[e,t])}class xg{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,r){this.locale=t,this.dictionary=r}}var l4={};l4={Empty:"فارغ"};var s4={};s4={Empty:"Изпразни"};var u4={};u4={Empty:"Prázdné"};var d4={};d4={Empty:"Tom"};var c4={};c4={Empty:"Leer"};var f4={};f4={Empty:"Άδειο"};var p4={};p4={Empty:"Empty"};var h4={};h4={Empty:"Vacío"};var m4={};m4={Empty:"Tühjenda"};var v4={};v4={Empty:"Tyhjä"};var g4={};g4={Empty:"Vide"};var b4={};b4={Empty:"ריק"};var y4={};y4={Empty:"Prazno"};var $4={};$4={Empty:"Üres"};var x4={};x4={Empty:"Vuoto"};var D4={};D4={Empty:"空"};var w4={};w4={Empty:"비어 있음"};var E4={};E4={Empty:"Tuščias"};var C4={};C4={Empty:"Tukšs"};var P4={};P4={Empty:"Tom"};var S4={};S4={Empty:"Leeg"};var k4={};k4={Empty:"Pusty"};var B4={};B4={Empty:"Vazio"};var R4={};R4={Empty:"Vazio"};var T4={};T4={Empty:"Gol"};var A4={};A4={Empty:"Не заполнено"};var F4={};F4={Empty:"Prázdne"};var M4={};M4={Empty:"Prazen"};var I4={};I4={Empty:"Prazno"};var O4={};O4={Empty:"Tomt"};var L4={};L4={Empty:"Boş"};var V4={};V4={Empty:"Пусто"};var j4={};j4={Empty:"空"};var K4={};K4={Empty:"空白"};var N4={};N4={"ar-AE":l4,"bg-BG":s4,"cs-CZ":u4,"da-DK":d4,"de-DE":c4,"el-GR":f4,"en-US":p4,"es-ES":h4,"et-EE":m4,"fi-FI":v4,"fr-FR":g4,"he-IL":b4,"hr-HR":y4,"hu-HU":$4,"it-IT":x4,"ja-JP":D4,"ko-KR":w4,"lt-LT":E4,"lv-LV":C4,"nb-NO":P4,"nl-NL":S4,"pl-PL":k4,"pt-BR":B4,"pt-PT":R4,"ro-RO":T4,"ru-RU":A4,"sk-SK":F4,"sl-SI":M4,"sr-SP":I4,"sv-SE":O4,"tr-TR":L4,"uk-UA":V4,"zh-CN":j4,"zh-TW":K4};function Dg(e){return e&&e.__esModule?e.default:e}function wg(e){const t=u.useRef();let{value:r,textValue:n,minValue:a,maxValue:o,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:h,onIncrementToMax:m}=e;const v=at(Dg(N4),"@react-aria/spinbutton"),y=()=>clearTimeout(t.current);u.useEffect(()=>()=>y(),[]);let k=x=>{if(!(x.ctrlKey||x.metaKey||x.shiftKey||x.altKey||l))switch(x.key){case"PageUp":if(c){x.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(x.preventDefault(),d==null||d());break;case"PageDown":if(p){x.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(x.preventDefault(),f==null||f());break;case"Home":h&&(x.preventDefault(),h==null||h());break;case"End":m&&(x.preventDefault(),m==null||m());break}},D=u.useRef(!1),C=()=>{D.current=!0},E=()=>{D.current=!1},w=n===""?v.format("Empty"):(n||`${r}`).replace("-","−");u.useEffect(()=>{D.current&&(b3("assertive"),bi(w,"assertive"))},[w]);const P=Be(x=>{y(),d==null||d(),t.current=window.setTimeout(()=>{(o===void 0||isNaN(o)||r===void 0||isNaN(r)||r<o)&&P(60)},x)}),F=Be(x=>{y(),f==null||f(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||r===void 0||isNaN(r)||r>a)&&F(60)},x)});let b=x=>{x.preventDefault()},{addGlobalListener:A,removeAllGlobalListeners:S}=Ji();return{spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":w,"aria-valuemin":a,"aria-valuemax":o,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:k,onFocus:C,onBlur:E},incrementButtonProps:{onPressStart:()=>{P(400),A(window,"contextmenu",b)},onPressEnd:()=>{y(),S()},onFocus:C,onBlur:E},decrementButtonProps:{onPressStart:()=>{F(400),A(window,"contextmenu",b)},onPressEnd:()=>{y(),S()},onFocus:C,onBlur:E}}}function Eg(e,t,r){let n=u.useRef(""),{locale:a}=Se(),o=$g(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=o4.get(t),c=e.isPlaceholder?"":e.text,f=u.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=ft({month:"long",timeZone:f.timeZone}),h=ft({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let $=p.format(t.dateValue);c=$!==c?`${c} – ${$}`:$}else e.type==="hour"&&!e.isPlaceholder&&(c=h.format(t.dateValue));let{spinButtonProps:m}=wg({value:e.value,textValue:c,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)}}),v=u.useMemo(()=>new oc(a,{maximumFractionDigits:0}),[a]),y=()=>{if(e.text===e.placeholder&&d.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let $=e.text.slice(0,-1),z=v.parse($);$=z===0?"":$,$.length===0||z===0?t.clearSegment(e.type):t.setSegment(e.type,z),n.current=$}else e.type==="dayPeriod"&&t.clearSegment(e.type)},k=$=>{if($.key==="a"&&(yt()?$.metaKey:$.ctrlKey)&&$.preventDefault(),!($.ctrlKey||$.metaKey||$.shiftKey||$.altKey))switch($.key){case"Backspace":case"Delete":$.preventDefault(),$.stopPropagation(),y();break}},{startsWith:D}=m3({sensitivity:"base"}),C=ft({hour:"numeric",hour12:!0}),E=u.useMemo(()=>{let $=new Date;return $.setHours(0),C.formatToParts($).find(z=>z.type==="dayPeriod").value},[C]),w=u.useMemo(()=>{let $=new Date;return $.setHours(12),C.formatToParts($).find(z=>z.type==="dayPeriod").value},[C]),P=ft({year:"numeric",era:"narrow",timeZone:"UTC"}),F=u.useMemo(()=>{if(e.type!=="era")return[];let $=he(new ye(1,1,1),t.calendar),z=t.calendar.getEras().map(B=>{let L=$.set({year:1,month:1,day:1,era:B}).toDate("UTC"),G=P.formatToParts(L).find(W=>W.type==="era").value;return{era:B,formatted:G}}),H=Cg(z.map(B=>B.formatted));if(H)for(let B of z)B.formatted=B.formatted.slice(H);return z},[P,t.calendar,e.type]),b=$=>{if(t.isDisabled||t.isReadOnly)return;let z=n.current+$;switch(e.type){case"dayPeriod":if(D(E,$))t.setSegment("dayPeriod",0);else if(D(w,$))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let H=F.find(B=>D(B.formatted,$));H&&(t.setSegment("era",H.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!v.isValidPartialNumber(z))return;let H=v.parse(z),B=H,L=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":H>11&&(B=v.parse($));break;case"h12":L=!1,H>12&&(B=v.parse($));break}e.value>=12&&H>1&&(H+=12)}else H>e.maxValue&&(B=v.parse($));if(isNaN(H))return;let N=B!==0||L;N&&t.setSegment(e.type,B),+(H+"0")>e.maxValue||z.length>=String(e.maxValue).length?(n.current="",N&&d.focusNext()):n.current=z;break}}},A=()=>{n.current="",ca(r.current,{containingElement:Va(r.current)}),window.getSelection().collapse(r.current)},S=u.useRef("");br(r,"beforeinput",$=>{switch($.preventDefault(),$.inputType){case"deleteContentBackward":case"deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&y();break;case"insertCompositionText":S.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:$.data!=null&&b($.data);break}}),br(r,"input",$=>{let{inputType:z,data:H}=$;switch(z){case"insertCompositionText":r.current.textContent=S.current,(D(E,H)||D(w,H))&&b(H);break}}),ie(()=>{let $=r.current;return()=>{document.activeElement===$&&(d.focusPrevious()||d.focusNext())}},[r,d]);let x=xn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},M=u.useMemo(()=>t.segments.find($=>$.isEditable),[t.segments]);e!==M&&!t.isInvalid&&(s=void 0);let R=Re(),T=!t.isDisabled&&!t.isReadOnly&&e.isEditable,K=e.type==="literal"?"":o.of(e.type),O=er({"aria-label":`${K}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:U(m,O,{id:R,...x,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCapitalize:T?"off":void 0,autoCorrect:T?"off":void 0,[parseInt(u.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!T?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:k,onFocus:A,style:{caretColor:"transparent"},onPointerDown($){$.stopPropagation()},onMouseDown($){$.stopPropagation()}})}}function Cg(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 Pg(e){return e&&e.__esModule?e.default:e}function Sg(e,t,r){var n,a;let o=at(Pg(Sn),"@react-aria/datepicker"),{isInvalid:i,validationErrors:l,validationDetails:s}=t.displayValidation,{labelProps:d,fieldProps:c,descriptionProps:f,errorMessageProps:p}=Pn({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||l}),h=c["aria-labelledby"]||c.id,{locale:m}=Se(),v=t.formatValue(m,{month:"long"}),y=v?o.format("selectedRangeDescription",{startDate:v.start,endDate:v.end}):"",k=Dn(y),D={"aria-label":o.format("startDate"),"aria-labelledby":h},C={"aria-label":o.format("endDate"),"aria-labelledby":h},E=Re(),w=Re(),P=El(t,r),F=[k["aria-describedby"],c["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=u.useMemo(()=>Ka(r,{accept:T=>T.id!==E}),[r,E]),A={[i4]:b,[Xr]:"presentation","aria-describedby":F,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},S=te(e),{focusWithinProps:x}=At({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),M=u.useRef(St),R=u.useRef(St);return{groupProps:U(S,P,c,k,x,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":F,onKeyDown(T){t.isOpen||e.onKeyDown&&e.onKeyDown(T)},onKeyUp(T){t.isOpen||e.onKeyUp&&e.onKeyUp(T)}}),labelProps:{...d,onClick:()=>{b.focusFirst()}},buttonProps:{...k,id:E,"aria-haspopup":"dialog","aria-label":o.format("calendar"),"aria-labelledby":`${E} ${h}`,"aria-describedby":F,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:w,"aria-labelledby":`${E} ${h}`},startFieldProps:{...D,...A,value:(n=t.value)===null||n===void 0?void 0:n.start,onChange:T=>t.setDateTime("start",T),autoFocus:e.autoFocus,name:e.startName,[Pr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){M.current=T,t.updateValidation(fn(T,R.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...A,value:(a=t.value)===null||a===void 0?void 0:a.end,onChange:T=>t.setDateTime("end",T),name:e.endName,[Pr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){R.current=T,t.updateValidation(fn(M.current,T))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:f,errorMessageProps:p,calendarProps:{autoFocus:!0,value:t.dateRange,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:i,validationErrors:l,validationDetails:s}}function kg(e,t){let{role:r="dialog"}=e,n=Cr();n=e["aria-label"]?void 0:n;let a=u.useRef(!1);return u.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Wt(t.current);let o=setTimeout(()=>{document.activeElement===t.current&&(a.current=!0,t.current&&(t.current.blur(),Wt(t.current)),a.current=!1)},500);return()=>{clearTimeout(o)}}},[t]),jf(),{dialogProps:{...te(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:o=>{a.current&&o.stopPropagation()}},titleProps:{id:n}}}const _4=new WeakMap;function Bg(e,t,r){let{keyboardDelegate:n,isDisabled:a,isRequired:o,name:i,validationBehavior:l="aria"}=e,s=za({usage:"search",sensitivity:"base"}),d=u.useMemo(()=>n||new wl(t.collection,t.disabledKeys,null,s),[n,t.collection,t.disabledKeys,s]),{menuTriggerProps:c,menuProps:f}=hg({isDisabled:a,type:"listbox"},t,r),p=b=>{switch(b.key){case"ArrowLeft":{b.preventDefault();let A=t.selectedKey!=null?d.getKeyAbove(t.selectedKey):d.getFirstKey();A&&t.setSelectedKey(A);break}case"ArrowRight":{b.preventDefault();let A=t.selectedKey!=null?d.getKeyBelow(t.selectedKey):d.getFirstKey();A&&t.setSelectedKey(A);break}}},{typeSelectProps:h}=Kf({keyboardDelegate:d,selectionManager:t.selectionManager,onTypeSelect(b){t.setSelectedKey(b)}}),{isInvalid:m,validationErrors:v,validationDetails:y}=t.displayValidation,{labelProps:k,fieldProps:D,descriptionProps:C,errorMessageProps:E}=Pn({...e,labelElementType:"span",isInvalid:m,errorMessage:e.errorMessage||v});h.onKeyDown=h.onKeyDownCapture,delete h.onKeyDownCapture;let w=te(e,{labelable:!0}),P=U(h,c,D),F=Re();return _4.set(t,{isDisabled:a,isRequired:o,name:i,validationBehavior:l}),{labelProps:{...k,onClick:()=>{e.isDisabled||(r.current.focus(),$d("keyboard"))}},triggerProps:U(w,{...P,isDisabled:a,onKeyDown:Zt(P.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[F,P["aria-labelledby"],P["aria-label"]&&!P["aria-labelledby"]?P.id:null].filter(Boolean).join(" "),onFocus(b){t.isFocused||(e.onFocus&&e.onFocus(b),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(b){t.isOpen||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:F},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:b=>{b.currentTarget.contains(b.relatedTarget)||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[D["aria-labelledby"],P["aria-label"]&&!D["aria-labelledby"]?P.id:null].filter(Boolean).join(" ")},descriptionProps:C,errorMessageProps:E,isInvalid:m,validationErrors:v,validationDetails:y}}function Rg(e,t,r){let n=_4.get(t)||{},{autoComplete:a,name:o=n.name,isDisabled:i=n.isDisabled}=e,{validationBehavior:l,isRequired:s}=n,d=km(),{visuallyHiddenProps:c}=If();Xi(e.selectRef,t.selectedKey,t.setSelectedKey),$l({validationBehavior:l,focus:()=>r.current.focus()},t,e.selectRef);var f;return{containerProps:{...c,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:d==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:i},selectProps:{tabIndex:-1,autoComplete:a,disabled:i,required:l==="native"&&s,name:o,value:(f=t.selectedKey)!==null&&f!==void 0?f:"",onChange:p=>t.setSelectedKey(p.target.value)}}}function Tg(e){let{state:t,triggerRef:r,label:n,name:a,isDisabled:o}=e,i=u.useRef(null),{containerProps:l,inputProps:s,selectProps:d}=Rg({...e,selectRef:i},t,r);var c;return t.collection.size<=300?u.createElement("div",{...l,"data-testid":"hidden-select-container"},u.createElement("input",s),u.createElement("label",null,n,u.createElement("select",{...d,ref:i},u.createElement("option",null),[...t.collection.getKeys()].map(f=>{let p=t.collection.getItem(f);if(p.type==="item")return u.createElement("option",{key:p.key,value:p.key},p.textValue)})))):a?u.createElement("input",{type:"hidden",autoComplete:d.autoComplete,name:a,disabled:o,value:(c=t.selectedKey)!==null&&c!==void 0?c:""}):null}function Ag(e){let t=te(e,{labelable:!0}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}function Fg(e,t,r){let{labelProps:n,inputProps:a,isSelected:o,isPressed:i,isDisabled:l,isReadOnly:s}=Hc(e,t,r);return{labelProps:n,inputProps:{...a,role:"switch",checked:o},isSelected:o,isPressed:i,isDisabled:l,isReadOnly:s}}const z4=new WeakMap;function ka(e,t,r){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${z4.get(e)}-${r}-${t}`}function Mg(e,t,r){let{key:n,isDisabled:a,shouldSelectOnPressUp:o}=e,{selectionManager:i,selectedKey:l}=t,s=n===l,d=a||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=_f({selectionManager:i,key:n,ref:r,isDisabled:d,shouldSelectOnPressUp:o,linkBehavior:"selection"}),p=ka(t,n,"tab"),h=ka(t,n,"tabpanel"),{tabIndex:m}=c,v=t.collection.getItem(n),y=te(v==null?void 0:v.props,{labelable:!0});delete y.id;let k=Yi(v==null?void 0:v.props);return{tabProps:U(y,k,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?h:void 0,tabIndex:d?void 0:m,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function Ig(e,t,r){let n=qm(r)?void 0:0;var a;const o=ka(t,(a=e.id)!==null&&a!==void 0?a:t==null?void 0:t.selectedKey,"tabpanel"),i=er({...e,id:o,"aria-labelledby":ka(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:U(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class Og{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)}isDisabled(t){var r,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.isDisabled(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.isDisabled(t));return t}constructor(t,r,n,a=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=a}}function Lg(e,t,r){let{orientation:n="horizontal",keyboardActivation:a="automatic"}=e,{collection:o,selectionManager:i,disabledKeys:l}=t,{direction:s}=Se(),d=u.useMemo(()=>new Og(o,s,n,l),[o,l,n,s]),{collectionProps:c}=Nf({ref:r,selectionManager:i,keyboardDelegate:d,selectOnFocus:a==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Re();z4.set(t,f);let p=er({...e,id:f});return{tabListProps:{...U(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}function Vg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function H4(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var wi={exports:{}},jo={};/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),u=require("react"),wn=require("react-dom");function Kh(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 Nh=Kh(u),_h=u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);const _a=u.createContext({}),le=typeof document<"u"?u.useLayoutEffect:()=>{};function Be(e){const t=u.useRef(null);return le(()=>{t.current=e},[e]),u.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}function zh(e){let[t,r]=u.useState(e),n=u.useRef(null),a=Be(()=>{if(!n.current)return;let o=n.current.next();if(o.done){n.current=null;return}t===o.value?a():r(o.value)});le(()=>{n.current&&a()});let i=Be(o=>{n.current=o(t),a()});return[t,i]}const va={prefix:String(Math.round(Math.random()*1e10)),current:0},sd=u.createContext(va),Hh=u.createContext(!1);let Zh=!!(typeof window<"u"&&window.document&&window.document.createElement),Di=new WeakMap;function Uh(e=!1){let t=u.useContext(sd),r=u.useRef(null);if(r.current===null&&!e){var n,a;let i=(a=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(n=a.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(i){let o=Di.get(i);o==null?Di.set(i,{id:t.current,state:i.memoizedState}):i.memoizedState!==o.state&&(t.current=o.id,Di.delete(i))}r.current=++t.current}return r.current}function Wh(e){let t=u.useContext(sd);t===va&&!Zh&&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=Uh(!!e),n=t===va&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${r}`}function Gh(e){let t=u.useId(),[r]=u.useState(Dt()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${va.prefix}`;return e||`${n}-${t}`}const qh=typeof u.useId=="function"?Gh:Wh;function Yh(){return!1}function Jh(){return!0}function Qh(e){return()=>{}}function Dt(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(Qh,Yh,Jh):u.useContext(Hh)}let Xh=!!(typeof window<"u"&&window.document&&window.document.createElement),ga=new Map;function Re(e){let[t,r]=u.useState(e),n=u.useRef(null),a=qh(t),i=u.useCallback(o=>{n.current=o},[]);return Xh&&ga.set(a,i),le(()=>{let o=a;return()=>{ga.delete(o)}},[a]),u.useEffect(()=>{let o=n.current;o&&(n.current=null,r(o))}),a}function em(e,t){if(e===t)return e;let r=ga.get(e);if(r)return r(t),t;let n=ga.get(t);return n?(n(e),e):t}function Cr(e=[]){let t=Re(),[r,n]=zh(t),a=u.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return le(a,[t,a,...e]),r}function Zt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const se=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:se(e).defaultView||window;function ud(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=ud(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Jo(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=ud(e))&&(n&&(n+=" "),n+=t);return n}function U(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let a in n){let i=t[a],o=n[a];typeof i=="function"&&typeof o=="function"&&a[0]==="o"&&a[1]==="n"&&a.charCodeAt(2)>=65&&a.charCodeAt(2)<=90?t[a]=Zt(i,o):(a==="className"||a==="UNSAFE_className")&&typeof i=="string"&&typeof o=="string"?t[a]=Jo(i,o):a==="id"&&i&&o?t.id=em(i,o):t[a]=o!==void 0?o:i}}return t}function En(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const tm=new Set(["id"]),rm=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),nm=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),am=/^(data-.*)$/;function te(e,t={}){let{labelable:r,isLink:n,propNames:a}=t,i={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(tm.has(o)||r&&rm.has(o)||n&&nm.has(o)||a!=null&&a.has(o)||am.test(o))&&(i[o]=e[o]);return i}function dt(e){if(im())e.focus({preventScroll:!0});else{let t=om(e);e.focus(),lm(t)}}let zn=null;function im(){if(zn==null){zn=!1;try{document.createElement("div").focus({get preventScroll(){return zn=!0,!0}})}catch{}}return zn}function om(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 lm(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function za(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 Qo(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 yt(){return Qo(/^Mac/i)}function sm(){return Qo(/^iPhone/i)}function dd(){return Qo(/^iPad/i)||yt()&&navigator.maxTouchPoints>1}function Cn(){return sm()||dd()}function um(){return yt()||Cn()}function Xo(){return za(/AppleWebKit/i)&&!dm()}function dm(){return za(/Chrome/i)}function cd(){return za(/Android/i)}function cm(){return za(/Firefox/i)}const fd=u.createContext({isNative:!0,open:pm,useHref:e=>e});function fm(e){let{children:t,navigate:r,useHref:n}=e,a=u.useMemo(()=>({isNative:!1,open:(i,o,l,s)=>{hd(i,d=>{pd(d,o)?r(l,s):Tt(d,o)})},useHref:n||(i=>i)}),[r,n]);return u.createElement(fd.Provider,{value:a},t)}function Ha(){return u.useContext(fd)}function pd(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 Tt(e,t,r=!0){var n,a;let{metaKey:i,ctrlKey:o,altKey:l,shiftKey:s}=t;cm()&&(!((a=window.event)===null||a===void 0||(n=a.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(yt()?i=!0:o=!0);let d=Xo()&&yt()&&!dd()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:o,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:o,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Tt.isOpening=r,dt(e),e.dispatchEvent(d),Tt.isOpening=!1}Tt.isOpening=!1;function hd(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 pm(e,t){hd(e,r=>Tt(r,t))}function el(e){let t=Ha();return{href:e!=null&&e.href?t.useHref(e==null?void 0:e.href):void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let cr=new Map,io=new Set;function ss(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let a=cr.get(n.target);a||(a=new Set,cr.set(n.target,a),n.target.addEventListener("transitioncancel",r,{once:!0})),a.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let a=cr.get(n.target);if(a&&(a.delete(n.propertyName),a.size===0&&(n.target.removeEventListener("transitioncancel",r),cr.delete(n.target)),cr.size===0)){for(let i of io)i();io.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?ss():document.addEventListener("DOMContentLoaded",ss));function md(e){requestAnimationFrame(()=>{cr.size===0?e():io.add(e)})}function tl(){let e=u.useRef(new Map),t=u.useCallback((a,i,o,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(o),o(...d)}:o;e.current.set(o,{type:i,eventTarget:a,fn:s,options:l}),a.addEventListener(i,o,l)},[]),r=u.useCallback((a,i,o,l)=>{var s;let d=((s=e.current.get(o))===null||s===void 0?void 0:s.fn)||o;a.removeEventListener(i,d,l),e.current.delete(o)},[]),n=u.useCallback(()=>{e.current.forEach((a,i)=>{r(a.eventTarget,a.type,i,a.options)})},[r]);return u.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function er(e,t){let{id:r,"aria-label":n,"aria-labelledby":a}=e;return r=Re(r),a&&n?a=[...new Set([r,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),!n&&!a&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":a}}function Je(e){const t=u.useRef(null);return u.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function us(e,t){const r=u.useRef(!0),n=u.useRef(null);u.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),u.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((a,i)=>!Object.is(a,n[i])))&&e(),n.current=t},t)}function hm(){return typeof window.ResizeObserver<"u"}function Za(e){const{ref:t,onResize:r}=e;u.useEffect(()=>{let n=t==null?void 0:t.current;if(n)if(hm()){const a=new window.ResizeObserver(i=>{i.length&&r()});return a.observe(n),()=>{n&&a.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function rl(e,t){le(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function un(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}function Ua(e,t){let r=e;for(un(r,t)&&(r=r.parentElement);r&&!un(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function mm(e,t){const r=[];for(;e&&e!==document.documentElement;)un(e,t)&&r.push(e),e=e.parentElement;return r}let ze=typeof document<"u"&&window.visualViewport;function vm(){let e=Dt(),[t,r]=u.useState(()=>e?{width:0,height:0}:ds());return u.useEffect(()=>{let n=()=>{r(a=>{let i=ds();return i.width===a.width&&i.height===a.height?a:i})};return ze?ze.addEventListener("resize",n):window.addEventListener("resize",n),()=>{ze?ze.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function ds(){return{width:ze&&(ze==null?void 0:ze.width)||window.innerWidth,height:ze&&(ze==null?void 0:ze.height)||window.innerHeight}}let gm=0;const wi=new Map;function Pn(e){let[t,r]=u.useState();return le(()=>{if(!e)return;let n=wi.get(e);if(n)r(n.element.id);else{let a=`react-aria-description-${gm++}`;r(a);let i=document.createElement("div");i.id=a,i.style.display="none",i.textContent=e,document.body.appendChild(i),n={refCount:0,element:i},wi.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),wi.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function br(e,t,r,n){let a=Be(r),i=r==null;u.useEffect(()=>{if(i||!e.current)return;let o=e.current;return o.addEventListener(t,a,n),()=>{o.removeEventListener(t,a,n)}},[e,t,n,i,a])}function vd(e,t){let r=cs(e,t,"left"),n=cs(e,t,"top"),a=t.offsetWidth,i=t.offsetHeight,o=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d}=getComputedStyle(e),c=e.scrollLeft+parseInt(d,10),f=e.scrollTop+parseInt(s,10),p=c+e.clientWidth,h=f+e.clientHeight;r<=o?o=r-parseInt(d,10):r+a>p&&(o+=r+a-p),n<=f?l=n-parseInt(s,10):n+i>h&&(l+=n+i-h),e.scrollLeft=o,e.scrollTop=l}function cs(e,t,r){const n=r==="left"?"offsetLeft":"offsetTop";let a=0;for(;t.offsetParent&&(a+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){a-=e[n];break}t=t.offsetParent}return a}function ba(e,t){if(document.contains(e)){let o=document.scrollingElement||document.documentElement;if(window.getComputedStyle(o).overflow==="hidden"){let s=mm(e);for(let d of s)vd(d,e)}else{var r;let{left:s,top:d}=e.getBoundingClientRect();e==null||(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,a,i;t==null||(a=t.containingElement)===null||a===void 0||(n=a.scrollIntoView)===null||n===void 0||n.call(a,{block:"center",inline:"center"}),(i=e.scrollIntoView)===null||i===void 0||i.call(e,{block:"nearest"})}}}}function oo(e){return e.mozInputSource===0&&e.isTrusted?!0:cd()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function bm(e){return!cd()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function gd(e,t){let r=u.useRef(null);return e&&r.current&&t(e,r.current)&&(e=r.current),r.current=e,e}function nl(e,t,r){let n=u.useRef(t),a=Be(()=>{r&&r(n.current)});u.useEffect(()=>{var i;let o=e==null||(i=e.current)===null||i===void 0?void 0:i.form;return o==null||o.addEventListener("reset",a),()=>{o==null||o.removeEventListener("reset",a)}},[e,a])}function Ge(e,t,r){let[n,a]=u.useState(e||t),i=u.useRef(e!==void 0),o=e!==void 0;u.useEffect(()=>{let d=i.current;d!==o&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}.`),i.current=o},[o]);let l=o?e:n,s=u.useCallback((d,...c)=>{let f=(p,...h)=>{r&&(Object.is(l,p)||r(p,...h)),o||(l=p)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),a((h,...m)=>{let v=d(o?l:h,...m);return f(v,...c),o?h:v})):(o||a(d),f(d,...c))},[o,l,r]);return[l,s]}function lo(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}let hr="default",so="",ia=new WeakMap;function fs(e){if(Cn()){if(hr==="default"){const t=se(e);so=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}hr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(ia.set(e,e.style.userSelect),e.style.userSelect="none")}function Hn(e){if(Cn()){if(hr!=="disabled")return;hr="restoring",setTimeout(()=>{md(()=>{if(hr==="restoring"){const t=se(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=so||""),so="",hr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&ia.has(e)){let t=ia.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),ia.delete(e)}}const dn=u.createContext({register:()=>{}});dn.displayName="PressResponderContext";function ym(e,t){return t.get?t.get.call(e):t.value}function bd(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function $m(e,t){var r=bd(e,t,"get");return ym(e,r)}function xm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Sn(e,t,r){xm(e,t),t.set(e,r)}function Dm(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 ps(e,t,r){var n=bd(e,t,"set");return Dm(e,n,r),r}function wm(e){let t=u.useContext(dn);if(t){let{register:r,...n}=t;e=U(n,e),r()}return rl(t,e.ref),e}var Zn=new WeakMap;class Un{continuePropagation(){ps(this,Zn,!1)}get shouldStopPropagation(){return $m(this,Zn)}constructor(t,r,n){Sn(this,Zn,{writable:!0,value:void 0}),ps(this,Zn,!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 hs=Symbol("linkClicked");function At(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:a,onPressUp:i,isDisabled:o,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=wm(e),[h,m]=u.useState(!1),v=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:y,removeAllGlobalListeners:S}=tl(),D=Be((b,A)=>{let k=v.current;if(o||k.didFirePressStart)return!1;let x=!0;if(k.isTriggeringEvent=!0,n){let M=new Un("pressstart",A,b);n(M),x=M.shouldStopPropagation}return r&&r(!0),k.isTriggeringEvent=!1,k.didFirePressStart=!0,m(!0),x}),C=Be((b,A,k=!0)=>{let x=v.current;if(!x.didFirePressStart)return!1;x.ignoreClickAfterPress=!0,x.didFirePressStart=!1,x.isTriggeringEvent=!0;let M=!0;if(a){let R=new Un("pressend",A,b);a(R),M=R.shouldStopPropagation}if(r&&r(!1),m(!1),t&&k&&!o){let R=new Un("press",A,b);t(R),M&&(M=R.shouldStopPropagation)}return x.isTriggeringEvent=!1,M}),E=Be((b,A)=>{let k=v.current;if(o)return!1;if(i){k.isTriggeringEvent=!0;let x=new Un("pressup",A,b);return i(x),k.isTriggeringEvent=!1,x.shouldStopPropagation}return!0}),w=Be(b=>{let A=v.current;A.isPressed&&A.target&&(A.isOverTarget&&A.pointerType!=null&&C(ht(A.target,b),A.pointerType,!1),A.isPressed=!1,A.isOverTarget=!1,A.activePointerId=null,A.pointerType=null,S(),c||Hn(A.target))}),P=Be(b=>{d&&w(b)}),F=u.useMemo(()=>{let b=v.current,A={onKeyDown(x){if(Ei(x.nativeEvent,x.currentTarget)&&x.currentTarget.contains(x.target)){var M;vs(x.target,x.key)&&x.preventDefault();let R=!0;if(!b.isPressed&&!x.repeat){b.target=x.currentTarget,b.isPressed=!0,R=D(x,"keyboard");let T=x.currentTarget,K=O=>{Ei(O,T)&&!O.repeat&&T.contains(O.target)&&b.target&&E(ht(b.target,O),"keyboard")};y(se(x.currentTarget),"keyup",Zt(K,k),!0)}R&&x.stopPropagation(),x.metaKey&&yt()&&((M=b.metaKeyEvents)===null||M===void 0||M.set(x.key,x.nativeEvent))}else x.key==="Meta"&&(b.metaKeyEvents=new Map)},onClick(x){if(!(x&&!x.currentTarget.contains(x.target))&&x&&x.button===0&&!b.isTriggeringEvent&&!Tt.isOpening){let M=!0;if(o&&x.preventDefault(),!b.ignoreClickAfterPress&&!b.ignoreEmulatedMouseEvents&&!b.isPressed&&(b.pointerType==="virtual"||oo(x.nativeEvent))){!o&&!s&&dt(x.currentTarget);let R=D(x,"virtual"),T=E(x,"virtual"),K=C(x,"virtual");M=R&&T&&K}b.ignoreEmulatedMouseEvents=!1,b.ignoreClickAfterPress=!1,M&&x.stopPropagation()}}},k=x=>{var M;if(b.isPressed&&b.target&&Ei(x,b.target)){var R;vs(x.target,x.key)&&x.preventDefault();let K=x.target;C(ht(b.target,x),"keyboard",b.target.contains(K)),S(),x.key!=="Enter"&&al(b.target)&&b.target.contains(K)&&!x[hs]&&(x[hs]=!0,Tt(b.target,x,!1)),b.isPressed=!1,(R=b.metaKeyEvents)===null||R===void 0||R.delete(x.key)}else if(x.key==="Meta"&&(!((M=b.metaKeyEvents)===null||M===void 0)&&M.size)){var T;let K=b.metaKeyEvents;b.metaKeyEvents=void 0;for(let O of K.values())(T=b.target)===null||T===void 0||T.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){A.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(bm(T.nativeEvent)){b.pointerType="virtual";return}Ci(T.currentTarget)&&T.preventDefault(),b.pointerType=T.pointerType;let K=!0;b.isPressed||(b.isPressed=!0,b.isOverTarget=!0,b.activePointerId=T.pointerId,b.target=T.currentTarget,!o&&!s&&dt(T.currentTarget),c||fs(b.target),K=D(T,b.pointerType),y(se(T.currentTarget),"pointermove",x,!1),y(se(T.currentTarget),"pointerup",M,!1),y(se(T.currentTarget),"pointercancel",R,!1)),K&&T.stopPropagation()},A.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(Ci(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},A.onPointerUp=T=>{!T.currentTarget.contains(T.target)||b.pointerType==="virtual"||T.button===0&&rr(T,T.currentTarget)&&E(T,b.pointerType||T.pointerType)};let x=T=>{T.pointerId===b.activePointerId&&(b.target&&rr(T,b.target)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,D(ht(b.target,T),b.pointerType)):b.target&&b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,C(ht(b.target,T),b.pointerType,!1),P(T)))},M=T=>{T.pointerId===b.activePointerId&&b.isPressed&&T.button===0&&b.target&&(rr(T,b.target)&&b.pointerType!=null?C(ht(b.target,T),b.pointerType):b.isOverTarget&&b.pointerType!=null&&C(ht(b.target,T),b.pointerType,!1),b.isPressed=!1,b.isOverTarget=!1,b.activePointerId=null,b.pointerType=null,S(),c||Hn(b.target))},R=T=>{w(T)};A.onDragStart=T=>{T.currentTarget.contains(T.target)&&w(T)}}else{A.onMouseDown=R=>{if(R.button!==0||!R.currentTarget.contains(R.target))return;if(Ci(R.currentTarget)&&R.preventDefault(),b.ignoreEmulatedMouseEvents){R.stopPropagation();return}b.isPressed=!0,b.isOverTarget=!0,b.target=R.currentTarget,b.pointerType=oo(R.nativeEvent)?"virtual":"mouse",!o&&!s&&dt(R.currentTarget),D(R,b.pointerType)&&R.stopPropagation(),y(se(R.currentTarget),"mouseup",x,!1)},A.onMouseEnter=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!0,T=D(R,b.pointerType)),T&&R.stopPropagation()},A.onMouseLeave=R=>{if(!R.currentTarget.contains(R.target))return;let T=!0;b.isPressed&&!b.ignoreEmulatedMouseEvents&&b.pointerType!=null&&(b.isOverTarget=!1,T=C(R,b.pointerType,!1),P(R)),T&&R.stopPropagation()},A.onMouseUp=R=>{R.currentTarget.contains(R.target)&&!b.ignoreEmulatedMouseEvents&&R.button===0&&E(R,b.pointerType||"mouse")};let x=R=>{if(R.button===0){if(b.isPressed=!1,S(),b.ignoreEmulatedMouseEvents){b.ignoreEmulatedMouseEvents=!1;return}b.target&&rr(R,b.target)&&b.pointerType!=null?C(ht(b.target,R),b.pointerType):b.target&&b.isOverTarget&&b.pointerType!=null&&C(ht(b.target,R),b.pointerType,!1),b.isOverTarget=!1}};A.onTouchStart=R=>{if(!R.currentTarget.contains(R.target))return;let T=Em(R.nativeEvent);if(!T)return;b.activePointerId=T.identifier,b.ignoreEmulatedMouseEvents=!0,b.isOverTarget=!0,b.isPressed=!0,b.target=R.currentTarget,b.pointerType="touch",!o&&!s&&dt(R.currentTarget),c||fs(b.target),D(R,b.pointerType)&&R.stopPropagation(),y(tt(R.currentTarget),"scroll",M,!0)},A.onTouchMove=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=ms(R.nativeEvent,b.activePointerId),K=!0;T&&rr(T,R.currentTarget)?!b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!0,K=D(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(b.isOverTarget=!1,K=C(R,b.pointerType,!1),P(R)),K&&R.stopPropagation()},A.onTouchEnd=R=>{if(!R.currentTarget.contains(R.target))return;if(!b.isPressed){R.stopPropagation();return}let T=ms(R.nativeEvent,b.activePointerId),K=!0;T&&rr(T,R.currentTarget)&&b.pointerType!=null?(E(R,b.pointerType),K=C(R,b.pointerType)):b.isOverTarget&&b.pointerType!=null&&(K=C(R,b.pointerType,!1)),K&&R.stopPropagation(),b.isPressed=!1,b.activePointerId=null,b.isOverTarget=!1,b.ignoreEmulatedMouseEvents=!0,b.target&&!c&&Hn(b.target),S()},A.onTouchCancel=R=>{R.currentTarget.contains(R.target)&&(R.stopPropagation(),b.isPressed&&w(R))};let M=R=>{b.isPressed&&R.target.contains(b.target)&&w({currentTarget:b.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};A.onDragStart=R=>{R.currentTarget.contains(R.target)&&w(R)}}return A},[y,o,s,S,c,w,P,C,D,E]);return u.useEffect(()=>()=>{var b;c||Hn((b=v.current.target)!==null&&b!==void 0?b:void 0)},[c]),{isPressed:l||h,pressProps:U(p,F)}}function al(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ei(e,t){const{key:r,code:n}=e,a=t,i=a.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(a instanceof tt(a).HTMLInputElement&&!yd(a,r)||a instanceof tt(a).HTMLTextAreaElement||a.isContentEditable)&&!((i==="link"||!i&&al(a))&&r!=="Enter")}function Em(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function ms(e,t){const r=e.changedTouches;for(let n=0;n<r.length;n++){const a=r[n];if(a.identifier===t)return a}return null}function ht(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Cm(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 Pm(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function rr(e,t){let r=t.getBoundingClientRect(),n=Cm(e);return Pm(r,n)}function Ci(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function vs(e,t){return e instanceof HTMLInputElement?!yd(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!al(e)}const Sm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function yd(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Sm.has(e.type)}const km=u.forwardRef(({children:e,...t},r)=>{let n=u.useRef(!1),a=u.useContext(dn);r=Je(r||(a==null?void 0:a.ref));let i=U(a||{},{...t,ref:r,register(){n.current=!0,a&&a.register()}});return rl(a,r),u.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)},[]),u.createElement(dn.Provider,{value:i},e)});function Bm({children:e}){let t=u.useMemo(()=>({register:()=>{}}),[]);return u.createElement(dn.Provider,{value:t},e)}class Rm{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 $d(e){let t=u.useRef({isFocused:!1,observer:null});le(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Be(n=>{e==null||e(n)});return u.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=n.target,i=o=>{t.current.isFocused=!1,a.disabled&&r(new Rm("blur",o)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var o;(o=t.current.observer)===null||o===void 0||o.disconnect();let l=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function xd(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:a}=e;const i=u.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),a&&a(!1),!0},[n,a]),o=$d(i),l=u.useCallback(s=>{const d=se(s.target);s.target===s.currentTarget&&d.activeElement===s.target&&(r&&r(s),a&&a(!0),o(s))},[a,r,o]);return{focusProps:{onFocus:!t&&(r||a||n)?l:void 0,onBlur:!t&&(n||a)?i:void 0}}}let $t=null,cn=new Set,tn=new Map,Ut=!1,uo=!1;const Tm={Tab:!0,Escape:!0};function Wa(e,t){for(let r of cn)r(e,t)}function Am(e){return!(e.metaKey||!yt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ya(e){Ut=!0,Am(e)&&($t="keyboard",Wa("keyboard",e))}function Ze(e){$t="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ut=!0,Wa("pointer",e))}function Dd(e){oo(e)&&(Ut=!0,$t="virtual")}function wd(e){e.target===window||e.target===document||(!Ut&&!uo&&($t="virtual",Wa("virtual",e)),Ut=!1,uo=!1)}function Ed(){Ut=!1,uo=!0}function $a(e){if(typeof window>"u"||tn.get(tt(e)))return;const t=tt(e),r=se(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ut=!0,n.apply(this,arguments)},r.addEventListener("keydown",ya,!0),r.addEventListener("keyup",ya,!0),r.addEventListener("click",Dd,!0),t.addEventListener("focus",wd,!0),t.addEventListener("blur",Ed,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",Ze,!0),r.addEventListener("pointermove",Ze,!0),r.addEventListener("pointerup",Ze,!0)):(r.addEventListener("mousedown",Ze,!0),r.addEventListener("mousemove",Ze,!0),r.addEventListener("mouseup",Ze,!0)),t.addEventListener("beforeunload",()=>{Cd(e)},{once:!0}),tn.set(t,{focus:n})}const Cd=(e,t)=>{const r=tt(e),n=se(e);t&&n.removeEventListener("DOMContentLoaded",t),tn.has(r)&&(r.HTMLElement.prototype.focus=tn.get(r).focus,n.removeEventListener("keydown",ya,!0),n.removeEventListener("keyup",ya,!0),n.removeEventListener("click",Dd,!0),r.removeEventListener("focus",wd,!0),r.removeEventListener("blur",Ed,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",Ze,!0),n.removeEventListener("pointermove",Ze,!0),n.removeEventListener("pointerup",Ze,!0)):(n.removeEventListener("mousedown",Ze,!0),n.removeEventListener("mousemove",Ze,!0),n.removeEventListener("mouseup",Ze,!0)),tn.delete(r))};function Fm(e){const t=se(e);let r;return t.readyState!=="loading"?$a(e):(r=()=>{$a(e)},t.addEventListener("DOMContentLoaded",r)),()=>Cd(e,r)}typeof document<"u"&&Fm();function xa(){return $t!=="pointer"}function Da(){return $t}function Pd(e){$t=e,Wa(e,null)}function Mm(){$a();let[e,t]=u.useState($t);return u.useEffect(()=>{let r=()=>{t($t)};return cn.add(r),()=>{cn.delete(r)}},[]),Dt()?null:e}const Im=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Om(e,t,r){var n;const a=typeof window<"u"?tt(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,i=typeof window<"u"?tt(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,o=typeof window<"u"?tt(r==null?void 0:r.target).HTMLElement:HTMLElement,l=typeof window<"u"?tt(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof a&&!Im.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof i||(r==null?void 0:r.target)instanceof o&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof l&&!Tm[r.key])}function Vm(e,t,r){$a(),u.useEffect(()=>{let n=(a,i)=>{Om(!!(r!=null&&r.isTextInput),a,i)&&e(xa())};return cn.add(n),()=>{cn.delete(n)}},t)}function Mt(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:a}=e,i=u.useRef({isFocusWithin:!1}),o=u.useCallback(d=>{i.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(i.current.isFocusWithin=!1,r&&r(d),a&&a(!1))},[r,a,i]),l=$d(o),s=u.useCallback(d=>{!i.current.isFocusWithin&&document.activeElement===d.target&&(n&&n(d),a&&a(!0),i.current.isFocusWithin=!0,l(d))},[n,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:o}}}let wa=!1,Pi=0;function co(){wa=!0,setTimeout(()=>{wa=!1},50)}function gs(e){e.pointerType==="touch"&&co()}function Lm(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",gs):document.addEventListener("touchend",co),Pi++,()=>{Pi--,!(Pi>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",gs):document.removeEventListener("touchend",co))}}function nt(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:a}=e,[i,o]=u.useState(!1),l=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(Lm,[]);let{hoverProps:s,triggerHoverEnd:d}=u.useMemo(()=>{let c=(h,m)=>{if(l.pointerType=m,a||m==="touch"||l.isHovered||!h.currentTarget.contains(h.target))return;l.isHovered=!0;let v=h.currentTarget;l.target=v,t&&t({type:"hoverstart",target:v,pointerType:m}),r&&r(!0),o(!0)},f=(h,m)=>{if(l.pointerType="",l.target=null,m==="touch"||!l.isHovered)return;l.isHovered=!1;let v=h.currentTarget;n&&n({type:"hoverend",target:v,pointerType:m}),r&&r(!1),o(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=h=>{wa&&h.pointerType==="mouse"||c(h,h.pointerType)},p.onPointerLeave=h=>{!a&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=h=>{!l.ignoreEmulatedMouseEvents&&!wa&&c(h,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=h=>{!a&&h.currentTarget.contains(h.target)&&f(h,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,a,l]);return u.useEffect(()=>{a&&d({currentTarget:l.target},l.pointerType)},[a]),{hoverProps:s,isHovered:i}}function jm(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:a}=e,i=u.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=Be(s=>{r&&Wn(s,t)&&(a&&a(s),i.current.isPointerDown=!0)}),l=Be(s=>{r&&r(s)});u.useEffect(()=>{let s=i.current;if(n)return;const d=t.current,c=se(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Wn(p,t)&&l(p),s.isPointerDown=!1};return c.addEventListener("pointerdown",o,!0),c.addEventListener("pointerup",f,!0),()=>{c.removeEventListener("pointerdown",o,!0),c.removeEventListener("pointerup",f,!0)}}else{let f=h=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Wn(h,t)&&l(h),s.isPointerDown=!1},p=h=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Wn(h,t)&&l(h),s.isPointerDown=!1};return c.addEventListener("mousedown",o,!0),c.addEventListener("mouseup",f,!0),c.addEventListener("touchstart",o,!0),c.addEventListener("touchend",p,!0),()=>{c.removeEventListener("mousedown",o,!0),c.removeEventListener("mouseup",f,!0),c.removeEventListener("touchstart",o,!0),c.removeEventListener("touchend",p,!0)}}},[t,n,o,l])}function Wn(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 bs(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 Km(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:bs(e.onKeyDown),onKeyUp:bs(e.onKeyUp)}}}const Nm=500;function Sd(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:a,threshold:i=Nm,accessibilityDescription:o}=e;const l=u.useRef();let{addGlobalListener:s,removeGlobalListener:d}=tl(),{pressProps:c}=At({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),a&&a({...p,type:"longpress"}),l.current=void 0},i),p.pointerType==="touch")){let h=m=>{m.preventDefault()};s(p.target,"contextmenu",h,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=Pn(a&&!t?o:void 0);return{longPressProps:U(c,f)}}function Wt(e){const t=se(e);if(Da()==="virtual"){let r=t.activeElement;md(()=>{t.activeElement===r&&e.isConnected&&dt(e)})}else dt(e)}function _m(e){const t=tt(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,a=r!=="none"&&n!=="hidden"&&n!=="collapse";if(a){const{getComputedStyle:i}=e.ownerDocument.defaultView;let{display:o,visibility:l}=i(e);a=o!=="none"&&l!=="hidden"&&l!=="collapse"}return a}function zm(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function kd(e,t){return e.nodeName!=="#comment"&&_m(e)&&zm(e,t)&&(!e.parentElement||kd(e.parentElement,e))}const ys=u.createContext(null);let ue=null;function Bd(e){let{children:t,contain:r,restoreFocus:n,autoFocus:a}=e,i=u.useRef(null),o=u.useRef(null),l=u.useRef([]),{parentNode:s}=u.useContext(ys)||{},d=u.useMemo(()=>new fo({scopeRef:l}),[l]);le(()=>{let p=s||we.root;if(we.getTreeNode(p.scopeRef)&&ue&&!Ca(ue,p.scopeRef)){let h=we.getTreeNode(ue);h&&(p=h)}p.addChild(d),we.addNode(d)},[d,s]),le(()=>{let p=we.getTreeNode(l);p&&(p.contain=!!r)},[r]),le(()=>{var p;let h=(p=i.current)===null||p===void 0?void 0:p.nextSibling,m=[];for(;h&&h!==o.current;)m.push(h),h=h.nextSibling;l.current=m},[t]),Ym(l,n,r),Wm(l,r),Qm(l,n,r),qm(l,a),u.useEffect(()=>{const p=se(l.current?l.current[0]:void 0).activeElement;let h=null;if(Te(p,l.current)){for(let m of we.traverse())m.scopeRef&&Te(p,m.scopeRef.current)&&(h=m);h===we.getTreeNode(l)&&(ue=h.scopeRef)}},[l]),le(()=>()=>{var p,h,m;let v=(m=(h=we.getTreeNode(l))===null||h===void 0||(p=h.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&m!==void 0?m:null;(l===ue||Ca(l,ue))&&(!v||we.getTreeNode(v))&&(ue=v),we.removeTreeNode(l)},[l]);let c=u.useMemo(()=>Hm(l),[]),f=u.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return u.createElement(ys.Provider,{value:f},u.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:i}),t,u.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:o}))}function Hm(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:a,wrap:i,accept:o}=t,l=n||se(r[0]).activeElement,s=r[0].previousElementSibling,d=jt(r),c=Ae(d,{tabbable:a,accept:o},r);c.currentNode=Te(l,r)?l:s;let f=c.nextNode();return!f&&i&&(c.currentNode=s,f=c.nextNode()),f&&Le(f,!0),f},focusPrevious(t={}){let r=e.current,{from:n,tabbable:a,wrap:i,accept:o}=t,l=n||se(r[0]).activeElement,s=r[r.length-1].nextElementSibling,d=jt(r),c=Ae(d,{tabbable:a,accept:o},r);c.currentNode=Te(l,r)?l:s;let f=c.previousNode();return!f&&i&&(c.currentNode=s,f=c.previousNode()),f&&Le(f,!0),f},focusFirst(t={}){let r=e.current,{tabbable:n,accept:a}=t,i=jt(r),o=Ae(i,{tabbable:n,accept:a},r);o.currentNode=r[0].previousElementSibling;let l=o.nextNode();return l&&Le(l,!0),l},focusLast(t={}){let r=e.current,{tabbable:n,accept:a}=t,i=jt(r),o=Ae(i,{tabbable:n,accept:a},r);o.currentNode=r[r.length-1].nextElementSibling;let l=o.previousNode();return l&&Le(l,!0),l}}}const il=["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]"],Zm=il.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";il.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Um=il.join(':not([hidden]):not([tabindex="-1"]),');function jt(e){return e[0].parentElement}function Yr(e){let t=we.getTreeNode(ue);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Wm(e,t){let r=u.useRef(),n=u.useRef();le(()=>{let a=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const i=se(a?a[0]:void 0);let o=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!Yr(e)||d.isComposing)return;let c=i.activeElement,f=e.current;if(!f||!Te(c,f))return;let p=jt(f),h=Ae(p,{tabbable:!0},f);if(!c)return;h.currentNode=c;let m=d.shiftKey?h.previousNode():h.nextNode();m||(h.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=d.shiftKey?h.previousNode():h.nextNode()),d.preventDefault(),m&&Le(m,!0)},l=d=>{(!ue||Ca(ue,e))&&Te(d.target,e.current)?(ue=e,r.current=d.target):Yr(e)&&!Ea(d.target,e)?r.current?r.current.focus():ue&&ue.current&&Pa(ue.current):Yr(e)&&(r.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(i.activeElement&&Yr(e)&&!Ea(i.activeElement,e))if(ue=e,i.body.contains(d.target)){var c;r.current=d.target,(c=r.current)===null||c===void 0||c.focus()}else ue.current&&Pa(ue.current)})};return i.addEventListener("keydown",o,!1),i.addEventListener("focusin",l,!1),a==null||a.forEach(d=>d.addEventListener("focusin",l,!1)),a==null||a.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{i.removeEventListener("keydown",o,!1),i.removeEventListener("focusin",l,!1),a==null||a.forEach(d=>d.removeEventListener("focusin",l,!1)),a==null||a.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),le(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Rd(e){return Ea(e)}function Te(e,t){return!e||!t?!1:t.some(r=>r.contains(e))}function Ea(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of we.traverse(we.getTreeNode(t)))if(r&&Te(e,r.current))return!0;return!1}function Gm(e){return Ea(e,ue)}function Ca(e,t){var r;let n=(r=we.getTreeNode(t))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Le(e,t=!1){if(e!=null&&!t)try{Wt(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Pa(e,t=!0){let r=e[0].previousElementSibling,n=jt(e),a=Ae(n,{tabbable:t},e);a.currentNode=r;let i=a.nextNode();t&&!i&&(n=jt(e),a=Ae(n,{tabbable:!1},e),a.currentNode=r,i=a.nextNode()),Le(i)}function qm(e,t){const r=u.useRef(t);u.useEffect(()=>{if(r.current){ue=e;const n=se(e.current?e.current[0]:void 0);!Te(n.activeElement,ue.current)&&e.current&&Pa(e.current)}r.current=!1},[e])}function Ym(e,t,r){le(()=>{if(t||r)return;let n=e.current;const a=se(n?n[0]:void 0);let i=o=>{let l=o.target;Te(l,e.current)?ue=e:Rd(l)||(ue=null)};return a.addEventListener("focusin",i,!1),n==null||n.forEach(o=>o.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),n==null||n.forEach(o=>o.removeEventListener("focusin",i,!1))}},[e,t,r])}function Jm(e){let t=we.getTreeNode(ue);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Qm(e,t,r){const n=u.useRef(typeof document<"u"?se(e.current?e.current[0]:void 0).activeElement:null);le(()=>{let a=e.current;const i=se(a?a[0]:void 0);if(!t||r)return;let o=()=>{(!ue||Ca(ue,e))&&Te(i.activeElement,e.current)&&(ue=e)};return i.addEventListener("focusin",o,!1),a==null||a.forEach(l=>l.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),a==null||a.forEach(l=>l.removeEventListener("focusin",o,!1))}},[e,r]),le(()=>{const a=se(e.current?e.current[0]:void 0);if(!t)return;let i=o=>{if(o.key!=="Tab"||o.altKey||o.ctrlKey||o.metaKey||!Yr(e)||o.isComposing)return;let l=a.activeElement;if(!Te(l,e.current))return;let s=we.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=Ae(a.body,{tabbable:!0});c.currentNode=l;let f=o.shiftKey?c.previousNode():c.nextNode();if((!d||!a.body.contains(d)||d===a.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!Te(f,e.current))&&d){c.currentNode=d;do f=o.shiftKey?c.previousNode():c.nextNode();while(Te(f,e.current));o.preventDefault(),o.stopPropagation(),f?Le(f,!0):Rd(d)?Le(d,!0):l.blur()}};return r||a.addEventListener("keydown",i,!0),()=>{r||a.removeEventListener("keydown",i,!0)}},[e,t,r]),le(()=>{const a=se(e.current?e.current[0]:void 0);if(!t)return;let i=we.getTreeNode(e);if(i){var o;return i.nodeToRestore=(o=n.current)!==null&&o!==void 0?o:void 0,()=>{let l=we.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(Te(a.activeElement,e.current)||a.activeElement===a.body&&Jm(e))){let d=we.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){Le(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&we.getTreeNode(c.scopeRef)){Pa(c.scopeRef.current,!0);return}c=c.parent}}})}}}},[e,t])}function Ae(e,t,r){let n=t!=null&&t.tabbable?Um:Zm,a=se(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(i){var o;return!(t==null||(o=t.from)===null||o===void 0)&&o.contains(i)?NodeFilter.FILTER_REJECT:i.matches(n)&&kd(i)&&(!r||Te(i,r))&&(!(t!=null&&t.accept)||t.accept(i))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(a.currentNode=t.from),a}function Ga(e,t={}){return{focusNext(r={}){let n=e.current;if(!n)return null;let{from:a,tabbable:i=t.tabbable,wrap:o=t.wrap,accept:l=t.accept}=r,s=a||se(n).activeElement,d=Ae(n,{tabbable:i,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&o&&(d.currentNode=n,c=d.nextNode()),c&&Le(c,!0),c},focusPrevious(r=t){let n=e.current;if(!n)return null;let{from:a,tabbable:i=t.tabbable,wrap:o=t.wrap,accept:l=t.accept}=r,s=a||se(n).activeElement,d=Ae(n,{tabbable:i,accept:l});if(n.contains(s))d.currentNode=s;else{let f=Si(d);return f&&Le(f,!0),f??null}let c=d.previousNode();if(!c&&o){d.currentNode=n;let f=Si(d);if(!f)return null;c=f}return c&&Le(c,!0),c??null},focusFirst(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:i=t.accept}=r,l=Ae(n,{tabbable:a,accept:i}).nextNode();return l&&Le(l,!0),l},focusLast(r=t){let n=e.current;if(!n)return null;let{tabbable:a=t.tabbable,accept:i=t.accept}=r,o=Ae(n,{tabbable:a,accept:i}),l=Si(o);return l&&Le(l,!0),l??null}}}function Si(e){let t,r;do r=e.lastChild(),r&&(t=r);while(r);return t}class ol{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let a=this.fastMap.get(r??null);if(!a)return;let i=new fo({scopeRef:t});a.addChild(i),i.parent=a,this.fastMap.set(t,i),n&&(i.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 i of this.traverse())i!==r&&r.nodeToRestore&&i.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Te(i.nodeToRestore,r.scopeRef.current)&&(i.nodeToRestore=r.nodeToRestore);let a=r.children;n&&(n.removeChild(r),a.size>0&&a.forEach(i=>n&&n.addChild(i))),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 ol;var n;for(let a of this.traverse())r.addTreeNode(a.scopeRef,(n=(t=a.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,a.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new fo({scopeRef:null}),this.fastMap.set(null,this.root)}}class fo{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 we=new ol;function Oe(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,a=u.useRef({isFocused:!1,isFocusVisible:t||xa()}),[i,o]=u.useState(!1),[l,s]=u.useState(()=>a.current.isFocused&&a.current.isFocusVisible),d=u.useCallback(()=>s(a.current.isFocused&&a.current.isFocusVisible),[]),c=u.useCallback(h=>{a.current.isFocused=h,o(h),d()},[d]);Vm(h=>{a.current.isFocusVisible=h,d()},[],{isTextInput:r});let{focusProps:f}=xd({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=Mt({isDisabled:!n,onFocusWithinChange:c});return{isFocused:i,isFocusVisible:l,focusProps:n?p:f}}let Xm=u.createContext(null);function ev(e){let t=u.useContext(Xm)||{};rl(t,e);let{ref:r,...n}=t;return n}function ll(e,t){let{focusProps:r}=xd(e),{keyboardProps:n}=Km(e),a=U(r,n),i=ev(t),o=e.isDisabled?{}:i,l=u.useRef(e.autoFocus);return u.useEffect(()=>{l.current&&t.current&&Wt(t.current),l.current=!1},[t]),{focusableProps:U({...a,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},o)}}function tv(e,t){let r=t==null?void 0:t.isDisabled,[n,a]=u.useState(!1);return le(()=>{if(e!=null&&e.current&&!r){let i=()=>{if(e.current){let l=Ae(e.current,{tabbable:!0});a(!!l.nextNode())}};i();let o=new MutationObserver(i);return o.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{o.disconnect()}}}),r?!1:n}function rv(e,t){let{elementType:r="a",onPress:n,onPressStart:a,onPressEnd:i,onClick:o,isDisabled:l,...s}=e,d={};r!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=ll(e,t),{pressProps:f,isPressed:p}=At({onPress:n,onPressStart:a,onPressEnd:i,isDisabled:l,ref:t}),h=te(s,{labelable:!0}),m=U(c,f),v=Ha(),y=el(e);return{isPressed:p,linkProps:U(h,y,{...m,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:S=>{var D;(D=f.onClick)===null||D===void 0||D.call(f,S),o&&(o(S),console.warn("onClick is deprecated, please use onPress")),!v.isNative&&S.currentTarget instanceof HTMLAnchorElement&&S.currentTarget.href&&!S.isDefaultPrevented()&&pd(S.currentTarget,S)&&e.href&&(S.preventDefault(),v.open(S.currentTarget,S,e.href,e.routerOptions))}})}}const nv=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),av=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Td(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 nv.has(r.script)}let t=e.split("-")[0];return av.has(t)}const iv=Symbol.for("react-aria.i18n.locale");function Ad(){let e=typeof window<"u"&&window[iv]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Td(e)?"rtl":"ltr"}}let po=Ad(),Jr=new Set;function $s(){po=Ad();for(let e of Jr)e(po)}function Fd(){let e=Dt(),[t,r]=u.useState(po);return u.useEffect(()=>(Jr.size===0&&window.addEventListener("languagechange",$s),Jr.add(r),()=>{Jr.delete(r),Jr.size===0&&window.removeEventListener("languagechange",$s)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Md=u.createContext(null);function ov(e){let{locale:t,children:r}=e,n=Fd(),a=u.useMemo(()=>t?{locale:t,direction:Td(t)?"rtl":"ltr"}:n,[n,t]);return u.createElement(Md.Provider,{value:a},r)}function Pe(){let e=Fd();return u.useContext(Md)||e}const lv=Symbol.for("react-aria.i18n.locale"),sv=Symbol.for("react-aria.i18n.strings");let nr;class It{getStringForLocale(t,r){let a=this.getStringsForLocale(r)[t];if(!a)throw new Error(`Could not find intl message ${t} in ${r} locale`);return a}getStringsForLocale(t){let r=this.strings[t];return r||(r=uv(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[lv];if(nr===void 0){let a=window[sv];if(!a)return null;nr={};for(let i in a)nr[i]=new It({[r]:a[i]},r)}let n=nr==null?void 0:nr[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=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}}function uv(e,t,r="en-US"){if(t[e])return t[e];let n=dv(e);if(t[n])return t[n];for(let a in t)if(a.startsWith(n+"-"))return t[a];return t[r]}function dv(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const xs=new Map,Ds=new Map;class Id{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 a=r["="+t];if(a)return typeof a=="function"?a():a;let i=this.locale+":"+n,o=xs.get(i);o||(o=new Intl.PluralRules(this.locale,{type:n}),xs.set(i,o));let l=o.select(t);return a=r[l]||r.other,typeof a=="function"?a():a}number(t){let r=Ds.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Ds.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}}const ws=new WeakMap;function cv(e){let t=ws.get(e);return t||(t=new It(e),ws.set(e,t)),t}function Od(e,t){return t&&It.getGlobalDictionaryForPackage(t)||cv(e)}function at(e,t){let{locale:r}=Pe(),n=Od(e,t);return u.useMemo(()=>new Id(r,n),[r,n])}function yr(e,t){return e-t*Math.floor(e/t)}const Vd=1721426;function Kt(e,t,r,n){t=kn(e,t);let a=t-1,i=-2;return r<=2?i=0:Rt(t)&&(i=-1),Vd-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*r-362)/12+i+n)}function Rt(e){return e%4===0&&(e%100!==0||e%400===0)}function kn(e,t){return e==="BC"?1-t:t}function qa(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const fv={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 Me{fromJulianDay(t){let r=t,n=r-Vd,a=Math.floor(n/146097),i=yr(n,146097),o=Math.floor(i/36524),l=yr(i,36524),s=Math.floor(l/1461),d=yr(l,1461),c=Math.floor(d/365),f=a*400+o*100+s*4+c+(o!==4&&c!==4?1:0),[p,h]=qa(f),m=r-Kt(p,h,1,1),v=2;r<Kt(p,h,3,1)?v=0:Rt(h)&&(v=1);let y=Math.floor(((m+v)*12+373)/367),S=r-Kt(p,h,y,1)+1;return new $e(p,h,y,S)}toJulianDay(t){return Kt(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return fv[Rt(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Rt(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"}}const pv={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Ee(e,t){return t=he(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function hv(e,t){return t=he(t,e.calendar),e=Gt(e),t=Gt(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function ho(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function mv(e,t){return Ee(e,Ya(t))}function sl(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-xv(t))%7;return n<0&&(n+=7),n}function Ld(e){return ct(Date.now(),e)}function Ya(e){return Fe(Ld(e))}function jd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Kd(e,t){return Es(e)-Es(t)}function Es(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let ki=null;function ul(){return ki==null&&(ki=new Intl.DateTimeFormat().resolvedOptions().timeZone),ki}function Gt(e){return e.subtract({days:e.day-1})}function Sa(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function vv(e){return Gt(e.subtract({months:e.month-1}))}function gv(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function bv(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function fn(e,t){let r=sl(e,t);return e.subtract({days:r})}function yv(e,t){return fn(e,t).add({days:6})}const Cs=new Map;function $v(e){if(Intl.Locale){let r=Cs.get(e);return r||(r=new Intl.Locale(e).maximize().region,r&&Cs.set(e,r)),r}let t=e.split("-")[1];return t==="u"?void 0:t}function xv(e){let t=$v(e);return t&&pv[t]||0}function Dv(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((sl(Gt(e),t)+r)/7)}function dl(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function cl(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Ft(e){e=he(e,new Me);let t=kn(e.era,e.year);return Nd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Nd(e,t,r,n,a,i,o){let l=new Date;return l.setUTCHours(n,a,i,o),l.setUTCFullYear(e,t-1,r),l.getTime()}function pn(e,t){if(t==="UTC")return 0;if(e>0&&t===ul())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:a,hour:i,minute:o,second:l}=_d(e,t);return Nd(r,n,a,i,o,l,0)-Math.floor(e/1e3)*1e3}const Ps=new Map;function _d(e,t){let r=Ps.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"}),Ps.set(t,r));let n=r.formatToParts(new Date(e)),a={};for(let i of n)i.type!=="literal"&&(a[i.type]=i.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const ka=864e5;function wv(e,t){let r=Ft(e),n=r-pn(r-ka,t),a=r-pn(r+ka,t);return zd(e,t,n,a)}function zd(e,t,r,n){return(r===n?[r]:[r,n]).filter(i=>Ev(e,t,i))}function Ev(e,t,r){let n=_d(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 st(e,t,r="compatible"){let n=Ne(e);if(t==="UTC")return Ft(n);if(t===ul()&&r==="compatible"){n=he(n,new Me);let s=new Date,d=kn(n.era,n.year);return s.setFullYear(d,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let a=Ft(n),i=pn(a-ka,t),o=pn(a+ka,t),l=zd(n,t,a-i,a-o);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(a-i,a-o);case"compatible":case"later":return Math.max(a-i,a-o);case"reject":throw new RangeError("No such absolute time found")}}function Hd(e,t,r="compatible"){return new Date(st(e,t,r))}function ct(e,t){let r=pn(e,t),n=new Date(e+r),a=n.getUTCFullYear(),i=n.getUTCMonth()+1,o=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Yt(a,i,o,t,r,l,s,d,c)}function Fe(e){return new $e(e.calendar,e.era,e.year,e.month,e.day)}function Ne(e,t){let r=0,n=0,a=0,i=0;if("timeZone"in e)({hour:r,minute:n,second:a,millisecond:i}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:a,millisecond:i}=t),new mn(e.calendar,e.era,e.year,e.month,e.day,r,n,a,i)}function Ss(e){return new Mr(e.hour,e.minute,e.second,e.millisecond)}function he(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,qt(n),n}function Zd(e,t,r){if(e instanceof Yt)return e.timeZone===t?e:Pv(e,t);let n=st(e,t,r);return ct(n,t)}function Cv(e){let t=Ft(e)-e.offset;return new Date(t)}function Pv(e,t){let r=Ft(e)-e.offset;return he(ct(r,t),e.calendar)}const zr=36e5;function Ja(e,t){let r=e.copy(),n="hour"in r?qd(r,t):0;mo(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,vo(r),Ud(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,Sv(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let a=r.calendar.getYearsInEra(r);if(r.year>a){var i,o;let s=(i=(o=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(o,r);r.year=a,r.month=s?1:r.calendar.getMonthsInYear(r),r.day=s?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function mo(e,t){var r,n;!((r=(n=e.calendar).isInverseEra)===null||r===void 0)&&r.call(n,e)&&(t=-t),e.year+=t}function vo(e){for(;e.month<1;)mo(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,mo(e,1)}function Sv(e){for(;e.day<1;)e.month--,vo(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,vo(e)}function Ud(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 qt(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Ud(e)}function fl(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Wd(e,t){return Ja(e,fl(t))}function pl(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),qt(r),r}function hn(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),Gd(r),r}function kv(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Gn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Gn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Gn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Gn(e.hour,24),t}function Gd(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 Gn(e,t){let r=e%t;return r<0&&(r+=t),r}function qd(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,kv(e)}function Yd(e,t){let r=e.copy();return qd(r,t),r}function Bv(e,t){return Yd(e,fl(t))}function hl(e,t,r,n){let a=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=gt(s,r,0,l.length-1,n==null?void 0:n.round),a.era=l[s],qt(a);break}case"year":var i,o;!((i=(o=a.calendar).isInverseEra)===null||i===void 0)&&i.call(o,a)&&(r=-r),a.year=gt(e.year,r,-1/0,9999,n==null?void 0:n.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=gt(e.month,r,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":a.day=gt(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(a),qt(a),a}function ml(e,t,r,n){let a=e.copy();switch(t){case"hour":{let i=e.hour,o=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=i>=12;o=s?12:0,l=s?23:11}a.hour=gt(i,r,o,l,n==null?void 0:n.round);break}case"minute":a.minute=gt(e.minute,r,0,59,n==null?void 0:n.round);break;case"second":a.second=gt(e.second,r,0,59,n==null?void 0:n.round);break;case"millisecond":a.millisecond=gt(e.millisecond,r,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return a}function gt(e,t,r,n,a=!1){if(a){e+=Math.sign(t),e<r&&(e=n);let i=Math.abs(t);t>0?e=Math.ceil(e/i)*i:e=Math.floor(e/i)*i,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function Jd(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 a=Ja(Ne(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=st(a,e.timeZone)}else r=Ft(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=ct(r,e.timeZone);return he(n,e.calendar)}function Rv(e,t){return Jd(e,fl(t))}function Tv(e,t,r,n){switch(t){case"hour":{let a=0,i=23;if((n==null?void 0:n.hourCycle)===12){let m=e.hour>=12;a=m?12:0,i=m?23:11}let o=Ne(e),l=he(hn(o,{hour:a}),new Me),s=[st(l,e.timeZone,"earlier"),st(l,e.timeZone,"later")].filter(m=>ct(m,e.timeZone).day===l.day)[0],d=he(hn(o,{hour:i}),new Me),c=[st(d,e.timeZone,"earlier"),st(d,e.timeZone,"later")].filter(m=>ct(m,e.timeZone).day===d.day).pop(),f=Ft(e)-e.offset,p=Math.floor(f/zr),h=f%zr;return f=gt(p,r,Math.floor(s/zr),Math.floor(c/zr),n==null?void 0:n.round)*zr+h,he(ct(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return ml(e,t,r,n);case"era":case"year":case"month":case"day":{let a=hl(Ne(e),t,r,n),i=st(a,e.timeZone);return he(ct(i,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Av(e,t,r){let n=Ne(e),a=hn(pl(n,t),t);if(a.compare(n)===0)return e;let i=st(a,e.timeZone,r);return he(ct(i,e.timeZone),e.calendar)}const Fv=/^(\d{2})(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,Mv=/^(\d{4})-(\d{2})-(\d{2})$/,Iv=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,Ov=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:([+-]\d{2})(?::?(\d{2}))?)?\[(.*?)\]$/;function ks(e){let t=e.match(Fv);if(!t)throw new Error("Invalid ISO 8601 time string: "+e);return new Mr(me(t[1],0,23),t[2]?me(t[2],0,59):0,t[3]?me(t[3],0,59):0,t[4]?me(t[4],0,1/0)*1e3:0)}function Vv(e){let t=e.match(Mv);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let r=new $e(me(t[1],0,9999),me(t[2],1,12),1);return r.day=me(t[3],0,r.calendar.getDaysInMonth(r)),r}function Bs(e){let t=e.match(Iv);if(!t)throw new Error("Invalid ISO 8601 date time string: "+e);let r=new mn(me(t[1],1,9999),me(t[2],1,12),1,t[4]?me(t[4],0,23):0,t[5]?me(t[5],0,59):0,t[6]?me(t[6],0,59):0,t[7]?me(t[7],0,1/0)*1e3:0);return r.day=me(t[3],0,r.calendar.getDaysInMonth(r)),r}function Lv(e,t){let r=e.match(Ov);if(!r)throw new Error("Invalid ISO 8601 date time string: "+e);let n=new Yt(me(r[1],1,9999),me(r[2],1,12),1,r[10],0,r[4]?me(r[4],0,23):0,r[5]?me(r[5],0,59):0,r[6]?me(r[6],0,59):0,r[7]?me(r[7],0,1/0)*1e3:0);n.day=me(r[3],0,n.calendar.getDaysInMonth(n));let a=Ne(n),i;if(r[8]){var o;if(n.offset=me(r[8],-23,23)*36e5+me((o=r[9])!==null&&o!==void 0?o:"0",0,59)*6e4,i=Ft(n)-n.offset,!wv(a,n.timeZone).includes(i))throw new Error(`Offset ${ec(n.offset)} is invalid for ${vl(n)} in ${n.timeZone}`)}else i=st(Ne(a),n.timeZone,t);return ct(i,n.timeZone)}function me(e,t,r){let n=Number(e);if(n<t||n>r)throw new RangeError(`Value out of range: ${t} <= ${n} <= ${r}`);return n}function Qd(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 Xd(e){let t=he(e,new Me);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function vl(e){return`${Xd(e)}T${Qd(e)}`}function ec(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 jv(e){return`${vl(e)}${ec(e.offset)}[${e.timeZone}]`}function gl(e){let t=typeof e[0]=="object"?e.shift():new Me,r;if(typeof e[0]=="string")r=e.shift();else{let o=t.getEras();r=o[o.length-1]}let n=e.shift(),a=e.shift(),i=e.shift();return[t,r,n,a,i]}var Kv=new WeakMap;class $e{copy(){return this.era?new $e(this.calendar,this.era,this.year,this.month,this.day):new $e(this.calendar,this.year,this.month,this.day)}add(t){return Ja(this,t)}subtract(t){return Wd(this,t)}set(t){return pl(this,t)}cycle(t,r,n){return hl(this,t,r,n)}toDate(t){return Hd(this,t)}toString(){return Xd(this)}compare(t){return jd(this,t)}constructor(...t){Sn(this,Kv,{writable:!0,value:void 0});let[r,n,a,i,o]=gl(t);this.calendar=r,this.era=n,this.year=a,this.month=i,this.day=o,qt(this)}}var Nv=new WeakMap;class Mr{copy(){return new Mr(this.hour,this.minute,this.second,this.millisecond)}add(t){return Yd(this,t)}subtract(t){return Bv(this,t)}set(t){return hn(this,t)}cycle(t,r,n){return ml(this,t,r,n)}toString(){return Qd(this)}compare(t){return Kd(this,t)}constructor(t=0,r=0,n=0,a=0){Sn(this,Nv,{writable:!0,value:void 0}),this.hour=t,this.minute=r,this.second=n,this.millisecond=a,Gd(this)}}var _v=new WeakMap;class mn{copy(){return this.era?new mn(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new mn(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ja(this,t)}subtract(t){return Wd(this,t)}set(t){return pl(hn(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return hl(this,t,r,n);default:return ml(this,t,r,n)}}toDate(t,r){return Hd(this,t,r)}toString(){return vl(this)}compare(t){let r=jd(this,t);return r===0?Kd(this,Ne(t)):r}constructor(...t){Sn(this,_v,{writable:!0,value:void 0});let[r,n,a,i,o]=gl(t);this.calendar=r,this.era=n,this.year=a,this.month=i,this.day=o,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,qt(this)}}var zv=new WeakMap;class Yt{copy(){return this.era?new Yt(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Yt(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Jd(this,t)}subtract(t){return Rv(this,t)}set(t,r){return Av(this,t,r)}cycle(t,r,n){return Tv(this,t,r,n)}toDate(){return Cv(this)}toString(){return jv(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Zd(t,this.timeZone).toDate().getTime()}constructor(...t){Sn(this,zv,{writable:!0,value:void 0});let[r,n,a,i,o]=gl(t),l=t.shift(),s=t.shift();this.calendar=r,this.era=n,this.year=a,this.month=i,this.day=o,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,qt(this)}}const $r=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],Hv=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],oa=[1867,1911,1925,1988,2018],kt=["meiji","taisho","showa","heisei","reiwa"];function Rs(e){const t=$r.findIndex(([r,n,a])=>e.year<r||e.year===r&&e.month<n||e.year===r&&e.month===n&&e.day<a);return t===-1?$r.length-1:t===0?0:t-1}function Bi(e){let t=oa[kt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new $e(e.year+t,e.month,e.day)}class Zv extends Me{fromJulianDay(t){let r=super.fromJulianDay(t),n=Rs(r);return new $e(this,kt[n],r.year-oa[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay(Bi(t))}balanceDate(t){let r=Bi(t),n=Rs(r);kt[n]!==t.era&&(t.era=kt[n],t.year=r.year-oa[n]),this.constrainDate(t)}constrainDate(t){let r=kt.indexOf(t.era),n=Hv[r];if(n!=null){let[a,i,o]=n,l=a-oa[r];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(i,t.month),t.month===i&&(t.day=Math.min(o,t.day)))}if(t.year===1&&r>=0){let[,a,i]=$r[r];t.month=Math.max(a,t.month),t.month===a&&(t.day=Math.max(i,t.day))}}getEras(){return kt}getYearsInEra(t){let r=kt.indexOf(t.era),n=$r[r],a=$r[r+1];if(a==null)return 9999-n[0]+1;let i=a[0]-n[0];return(t.month<a[1]||t.month===a[1]&&t.day<a[2])&&i++,i}getDaysInMonth(t){return super.getDaysInMonth(Bi(t))}getMinimumMonthInYear(t){let r=Ts(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=Ts(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function Ts(e){if(e.year===1){let t=kt.indexOf(e.era);return $r[t]}}const tc=-543;class Uv extends Me{fromJulianDay(t){let r=super.fromJulianDay(t),n=kn(r.era,r.year);return new $e(this,n-tc,r.month,r.day)}toJulianDay(t){return super.toJulianDay(As(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(As(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function As(e){let[t,r]=qa(e.year+tc);return new $e(t,r,e.month,e.day)}const Ba=1911;function rc(e){return e.era==="minguo"?e.year+Ba:1-e.year+Ba}function Fs(e){let t=e-Ba;return t>0?["minguo",t]:["before_minguo",1-t]}class Wv extends Me{fromJulianDay(t){let r=super.fromJulianDay(t),n=kn(r.era,r.year),[a,i]=Fs(n);return new $e(this,a,i,r.month,r.day)}toJulianDay(t){return super.toJulianDay(Ms(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=Fs(rc(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Ms(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Ba}constructor(...t){super(...t),this.identifier="roc"}}function Ms(e){let[t,r]=qa(rc(e));return new $e(t,r,e.month,e.day)}const Is=1948320,Os=[0,31,62,93,124,155,186,216,246,276,306,336];class Gv{fromJulianDay(t){let r=t-Is,n=1+Math.floor((33*r+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),i=r-a,o=i<216?Math.floor(i/31):Math.floor((i-6)/30),l=i-Os[o]+1;return new $e(this,n,o+1,l)}toJulianDay(t){let r=Is-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return r+=Os[t.month-1],r+=t.day,r}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||yr(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Ri=78,Vs=80;class qv extends Me{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-Ri,a=t-Kt(r.era,r.year,1,1),i;a<Vs?(n--,i=Rt(r.year-1)?31:30,a+=i+155+90+10):(i=Rt(r.year)?31:30,a-=Vs);let o,l;if(a<i)o=1,l=a+1;else{let s=a-i;s<155?(o=Math.floor(s/31)+2,l=s%31+1):(s-=155,o=Math.floor(s/30)+7,l=s%30+1)}return new $e(this,n,o,l)}toJulianDay(t){let r=t.year+Ri,[n,a]=qa(r),i,o;return Rt(a)?(i=31,o=Kt(n,a,3,21)):(i=30,o=Kt(n,a,3,22)),t.month===1?o+t.day-1:(o+=i+Math.min(t.month-2,5)*31,t.month>=8&&(o+=(t.month-7)*30),o+=t.day-1,o)}getDaysInMonth(t){return t.month===1&&Rt(t.year+Ri)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Ra=1948440,Ls=1948439,He=1300,ar=1600,Yv=460322;function Ta(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function nc(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),a=Math.min(12,Math.ceil((r-(29+Ta(t,n,1,1)))/29.5)+1),i=r-Ta(t,n,a,1)+1;return new $e(e,n,a,i)}function js(e){return(14+11*e)%30<11}class bl{fromJulianDay(t){return nc(this,Ra,t)}toJulianDay(t){return Ta(Ra,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&js(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return js(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class Jv extends bl{fromJulianDay(t){return nc(this,Ls,t)}toJulianDay(t){return Ta(Ls,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Qv="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let go,xr;function la(e){return Yv+xr[e-He]}function Qr(e,t){let r=e-He,n=1<<11-(t-1);return go[r]&n?30:29}function Ks(e,t){let r=la(e);for(let n=1;n<t;n++)r+=Qr(e,n);return r}function Ns(e){return xr[e+1-He]-xr[e-He]}class Xv extends bl{fromJulianDay(t){let r=t-Ra,n=la(He),a=la(ar);if(r<n||r>a)return super.fromJulianDay(t);{let i=He-1,o=1,l=1;for(;l>0;){i++,l=r-la(i)+1;let s=Ns(i);if(l===s){o=12;break}else if(l<s){let d=Qr(i,o);for(o=1;l>d;)l-=d,o++,d=Qr(i,o);break}}return new $e(this,i,o,r-Ks(i,o)+1)}}toJulianDay(t){return t.year<He||t.year>ar?super.toJulianDay(t):Ra+Ks(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<He||t.year>ar?super.getDaysInMonth(t):Qr(t.year,t.month)}getDaysInYear(t){return t.year<He||t.year>ar?super.getDaysInYear(t):Ns(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",go||(go=new Uint16Array(Uint8Array.from(atob(Qv),t=>t.charCodeAt(0)).buffer)),!xr){xr=new Uint32Array(ar-He+1);let t=0;for(let r=He;r<=ar;r++){xr[r-He]=t;for(let n=1;n<=12;n++)t+=Qr(r,n)}}}}const _s=347997,ac=1080,ic=24*ac,e3=29,t3=12*ac+793,r3=e3*ic+t3;function Vt(e){return yr(e*7+1,19)<7}function sa(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return yr(3*(n+1),7)<3&&(n+=1),n}function n3(e){let t=sa(e-1),r=sa(e);return sa(e+1)-r===356?2:r-t===382?1:0}function rn(e){return sa(e)+n3(e)}function oc(e){return rn(e+1)-rn(e)}function a3(e){let t=oc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function qn(e,t){if(t>=6&&!Vt(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=a3(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?Vt(e)?30:0:30}class i3{fromJulianDay(t){let r=t-_s,n=r*ic/r3,a=Math.floor((19*n+234)/235)+1,i=rn(a),o=Math.floor(r-i);for(;o<1;)a--,i=rn(a),o=Math.floor(r-i);let l=1,s=0;for(;s<o;)s+=qn(a,l),l++;l--,s-=qn(a,l);let d=o-s;return new $e(this,a,l,d)}toJulianDay(t){let r=rn(t.year);for(let n=1;n<t.month;n++)r+=qn(t.year,n);return r+t.day+_s}getDaysInMonth(t){return qn(t.year,t.month)}getMonthsInYear(t){return Vt(t.year)?13:12}getDaysInYear(t){return oc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(Vt(r.year)&&!Vt(t.year)&&r.month>6?t.month--:!Vt(r.year)&&Vt(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const bo=1723856,zs=1824665,yo=5500;function Aa(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function yl(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Aa(e,r,1,1))/30),a=t+1-Aa(e,r,n,1);return[r,n,a]}function lc(e){return Math.floor(e%4/3)}function sc(e,t){return t%13!==0?30:lc(e)+5}class $l{fromJulianDay(t){let[r,n,a]=yl(bo,t),i="AM";return r<=0&&(i="AA",r+=yo),new $e(this,i,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=yo),Aa(bo,r,t.month,t.day)}getDaysInMonth(t){return sc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+lc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class o3 extends $l{fromJulianDay(t){let[r,n,a]=yl(bo,t);return r+=yo,new $e(this,"AA",r,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class l3 extends $l{fromJulianDay(t){let[r,n,a]=yl(zs,t),i="CE";return r<=0&&(i="BCE",r=1-r),new $e(this,i,r,n,a)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Aa(zs,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),sc(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 xl(e){switch(e){case"buddhist":return new Uv;case"ethiopic":return new $l;case"ethioaa":return new o3;case"coptic":return new l3;case"hebrew":return new i3;case"indian":return new qv;case"islamic-civil":return new bl;case"islamic-tbla":return new Jv;case"islamic-umalqura":return new Xv;case"japanese":return new Zv;case"persian":return new Gv;case"roc":return new Wv;case"gregory":default:return new Me}}let Ti=new Map;class bt{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),a=this.formatter.formatToParts(r);return[...n.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return d3()&&(this.resolvedHourCycle||(this.resolvedHourCycle=c3(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=uc(t,r),this.options=r}}const s3={true:{ja:"h11"},false:{}};function uc(e,t={}){if(typeof t.hour12=="boolean"&&u3()){t={...t};let a=s3[String(t.hour12)][e.split("-")[0]],i=t.hour12?"h12":"h23";t.hourCycle=a??i,delete t.hour12}let r=e+(t?Object.entries(t).sort((a,i)=>a[0]<i[0]?-1:1).join():"");if(Ti.has(r))return Ti.get(r);let n=new Intl.DateTimeFormat(e,t);return Ti.set(r,n),n}let Ai=null;function u3(){return Ai==null&&(Ai=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Ai}let Fi=null;function d3(){return Fi==null&&(Fi=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Fi}function c3(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=uc(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(i=>i.type==="hour").value,10),a=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(i=>i.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function ft(e){e=gd(e??{},f3);let{locale:t}=Pe();return u.useMemo(()=>new bt(t,e),[t,e])}function f3(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 a of r)if(t[a]!==e[a])return!1;return!0}let Mi=new Map,$o=!1;try{$o=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Fa=!1;try{Fa=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const dc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class p3{format(t){let r="";if(!$o&&this.options.signDisplay!=null?r=m3(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!Fa){var n;let{unit:a,unitDisplay:i="short",locale:o}=this.resolvedOptions();if(!a)return r;let l=(n=dc[a])===null||n===void 0?void 0:n[i];r+=l[o]||l.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),a=this.numberFormatter.formatToParts(r);return[...n.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!$o&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Fa&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,r={}){this.numberFormatter=h3(t,r),this.options=r}}function h3(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!Fa){var n;let{unit:o,unitDisplay:l="short"}=t;if(!o)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=dc[o])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${o} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((o,l)=>o[0]<l[0]?-1:1).join():"");if(Mi.has(a))return Mi.get(a);let i=new Intl.NumberFormat(e,t);return Mi.set(a,i),i}function m3(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 a=e.format(-r),i=e.format(r),o=a.replace(i,"").replace(/\u200e|\u061C/,"");return[...o].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(i,"!!!").replace(o,"+").replace("!!!",i)}else return e.format(r)}}const v3=new RegExp("^.*\\(.*\\).*$"),g3=["latn","arab","hanidec"];class cc{parse(t){return Ii(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,r,n){return Ii(this.locale,this.options,t).isValidPartialNumber(t,r,n)}getNumberingSystem(t){return Ii(this.locale,this.options,t).options.numberingSystem}constructor(t,r={}){this.locale=t,this.options=r}}const Hs=new Map;function Ii(e,t,r){let n=Zs(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let a of g3)if(a!==n.options.numberingSystem){let i=Zs(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(i.isValidPartialNumber(r))return i}}return n}function Zs(e,t){let r=e+(t?Object.entries(t).sort((a,i)=>a[0]<i[0]?-1:1).join():""),n=Hs.get(r);return n||(n=new b3(e,t),Hs.set(r,n)),n}class b3{parse(t){let r=this.sanitize(t);if(this.symbols.group&&(r=Yn(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 l=r.indexOf(".");l===-1&&(l=r.length),r=r.replace(".",""),l-2===0?r=`0.${r}`:l-2===-1?r=`0.0${r}`:l-2===-2?r="0.00":r=`${r.slice(0,l-2)}.${r.slice(l-2)}`,o>-1&&(r=`-${r}`)}let n=r?+r:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var a,i;let o={...this.options,style:"decimal",minimumFractionDigits:Math.min(((a=this.options.minimumFractionDigits)!==null&&a!==void 0?a:0)+2,20),maximumFractionDigits:Math.min(((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)+2,20)};return new cc(this.locale,o).parse(new p3(this.locale,o).format(n))}return this.options.currencySign==="accounting"&&v3.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("،",this.symbols.decimal)),this.symbols.group&&(t=Yn(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=Yn(t,"."," ")),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=Yn(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=$3(t,this.formatter,this.options,r);var n,a;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Us=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),y3=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function $3(e,t,r,n){var a,i,o,l;let s=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=y3.map(k=>s.formatToParts(k));var p;let h=(p=(a=d.find(k=>k.type==="minusSign"))===null||a===void 0?void 0:a.value)!==null&&p!==void 0?p:"-",m=(i=c.find(k=>k.type==="plusSign"))===null||i===void 0?void 0:i.value;!m&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(m="+");let y=(o=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(k=>k.type==="decimal"))===null||o===void 0?void 0:o.value,S=(l=d.find(k=>k.type==="group"))===null||l===void 0?void 0:l.value,D=d.filter(k=>!Us.has(k.type)).map(k=>Ws(k.value)),C=f.flatMap(k=>k.filter(x=>!Us.has(x.type)).map(x=>Ws(x.value))),E=[...new Set([...D,...C])].sort((k,x)=>x.length-k.length),w=E.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${E.join("|")}|[\\p{White_Space}]`,"gu"),P=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(9876543210)].reverse(),F=new Map(P.map((k,x)=>[k,x])),b=new RegExp(`[${P.join("")}]`,"g");return{minusSign:h,plusSign:m,decimal:y,group:S,literals:w,numeral:b,index:k=>String(F.get(k))}}function Yn(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function Ws(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Oi=new Map;function Qa(e){let{locale:t}=Pe(),r=t+(e?Object.entries(e).sort((a,i)=>a[0]<i[0]?-1:1).join():"");if(Oi.has(r))return Oi.get(r);let n=new Intl.Collator(t,e);return Oi.set(r,n),n}function x3(e){let t=Qa({usage:"search",...e}),r=u.useCallback((i,o)=>o.length===0?!0:(i=i.normalize("NFC"),o=o.normalize("NFC"),t.compare(i.slice(0,o.length),o)===0),[t]),n=u.useCallback((i,o)=>o.length===0?!0:(i=i.normalize("NFC"),o=o.normalize("NFC"),t.compare(i.slice(-o.length),o)===0),[t]),a=u.useCallback((i,o)=>{if(o.length===0)return!0;i=i.normalize("NFC"),o=o.normalize("NFC");let l=0,s=o.length;for(;l+s<=i.length;l++){let d=i.slice(l,l+s);if(t.compare(o,d)===0)return!0}return!1},[t]);return u.useMemo(()=>({startsWith:r,endsWith:n,contains:a}),[r,n,a])}function D3(e,t){let{elementType:r="button",isDisabled:n,onPress:a,onPressStart:i,onPressEnd:o,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:h,rel:m,type:v="button"}=e,y;r==="button"?y={type:v,disabled:n}:y={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?h:void 0,type:r==="input"?v:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?m:void 0};let{pressProps:S,isPressed:D}=At({onPressStart:i,onPressEnd:o,onPressChange:s,onPress:a,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:C}=ll(e,t);c&&(C.tabIndex=n?-1:C.tabIndex);let E=U(C,S,te(e,{labelable:!0}));return{isPressed:D,buttonProps:U(y,E,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:w=>{f&&(f(w),console.warn("onClick is deprecated, please use onPress"))}})}}var fc={};fc={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var pc={};pc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var hc={};hc={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var mc={};mc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var vc={};vc={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var gc={};gc={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var bc={};bc={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var yc={};yc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var $c={};$c={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var xc={};xc={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var Dc={};Dc={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var wc={};wc={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var Ec={};Ec={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var Cc={};Cc={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var Pc={};Pc={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var Sc={};Sc={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var kc={};kc={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var Bc={};Bc={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var Rc={};Rc={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var Tc={};Tc={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var Ac={};Ac={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var Fc={};Fc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var Mc={};Mc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Ic={};Ic={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Oc={};Oc={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var Vc={};Vc={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var Lc={};Lc={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var jc={};jc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var Kc={};Kc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var Nc={};Nc={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var _c={};_c={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var zc={};zc={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var Hc={};Hc={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var Zc={};Zc={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Bn={};Bn={"ar-AE":fc,"bg-BG":pc,"cs-CZ":hc,"da-DK":mc,"de-DE":vc,"el-GR":gc,"en-US":bc,"es-ES":yc,"et-EE":$c,"fi-FI":xc,"fr-FR":Dc,"he-IL":wc,"hr-HR":Ec,"hu-HU":Cc,"it-IT":Pc,"ja-JP":Sc,"ko-KR":kc,"lt-LT":Bc,"lv-LV":Rc,"nb-NO":Tc,"nl-NL":Ac,"pl-PL":Fc,"pt-BR":Mc,"pt-PT":Ic,"ro-RO":Oc,"ru-RU":Vc,"sk-SK":Lc,"sl-SI":jc,"sr-SP":Kc,"sv-SE":Nc,"tr-TR":_c,"uk-UA":zc,"zh-CN":Hc,"zh-TW":Zc};function Uc(e){return e&&e.__esModule?e.default:e}const Dl=new WeakMap;function vn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function w3(e){let t=at(Uc(Bn),"@react-aria/calendar"),r,n;"highlightedRange"in e?{start:r,end:n}=e.highlightedRange||{}:r=n=e.value;let a=ft({weekday:"long",month:"long",year:"numeric",day:"numeric",era:vn(r)||vn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return u.useMemo(()=>{if(!i&&r&&n)if(Ee(r,n)){let o=a.format(r.toDate(e.timeZone));return t.format("selectedDateDescription",{date:o})}else{let o=Do(a,t,r,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:o})}return""},[r,n,i,e.timeZone,t,a])}function xo(e,t,r,n){let a=at(Uc(Bn),"@react-aria/calendar"),i=vn(e)||vn(t),o=ft({month:"long",year:"numeric",era:i,calendar:e.calendar.identifier,timeZone:r}),l=ft({month:"long",year:"numeric",day:"numeric",era:i,calendar:e.calendar.identifier,timeZone:r});return u.useMemo(()=>{if(Ee(e,Gt(e))){if(Ee(t,Sa(e)))return o.format(e.toDate(r));if(Ee(t,Sa(t)))return n?Do(o,a,e,t,r):o.formatRange(e.toDate(r),t.toDate(r))}return n?Do(l,a,e,t,r):l.formatRange(e.toDate(r),t.toDate(r))},[e,t,o,l,a,r,n])}function Do(e,t,r,n,a){let i=e.formatRangeToParts(r.toDate(a),n.toDate(a)),o=-1;for(let d=0;d<i.length;d++){let c=i[d];if(c.source==="shared"&&c.type==="literal")o=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<i.length;d++)d<o?l+=i[d].value:d>o&&(s+=i[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const Wc=7e3;let nn=null;function wo(e,t="assertive",r=Wc){nn||(nn=new C3),nn.announce(e,t,r)}function E3(e){nn&&nn.clear(e)}class C3{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=Wc){if(!this.node)return;let a=document.createElement("div");a.textContent=t,r==="assertive"?this.assertiveLog.appendChild(a):this.politeLog.appendChild(a),t!==""&&setTimeout(()=>{a.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 P3(e){return e&&e.__esModule?e.default:e}function Gc(e,t){let r=at(P3(Bn),"@react-aria/calendar"),n=te(e),a=xo(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),i=xo(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);us(()=>{t.isFocused||wo(i)},[i]);let o=w3(t);us(()=>{o&&wo(o,"polite",4e3)},[o]);let l=Cr([!!e.errorMessage,e.isInvalid,e.validationState]);Dl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:o});let[s,d]=u.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=u.useState(!1),h=e.isDisabled||t.isPreviousVisibleRangeInvalid();h&&f&&(p(!1),t.setFocused(!0));let m=er({id:e.id,"aria-label":[e["aria-label"],i].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:U(n,m,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":r.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":r.format("previous"),isDisabled:h,onFocusChange:p},errorMessageProps:{id:l},title:a}}function S3(e,t){return Gc(e,t)}function k3(e,t,r){let n=Gc(e,t),a=u.useRef(!1),i=u.useRef(typeof window<"u"?window:null);return br(i,"pointerdown",l=>{a.current=l.width===0&&l.height===0}),br(i,"pointerup",l=>{if(a.current){a.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;r.current&&r.current.contains(document.activeElement)&&(!r.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{r.current&&(!l.relatedTarget||!r.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},br(r,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function B3(e,t){let{startDate:r=t.visibleRange.start,endDate:n=t.visibleRange.end}=e,{direction:a}=Pe(),i=h=>{switch(h.key){case"Enter":case" ":h.preventDefault(),t.selectFocusedDate();break;case"PageUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousSection(h.shiftKey);break;case"PageDown":h.preventDefault(),h.stopPropagation(),t.focusNextSection(h.shiftKey);break;case"End":h.preventDefault(),h.stopPropagation(),t.focusSectionEnd();break;case"Home":h.preventDefault(),h.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":h.preventDefault(),h.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":h.preventDefault(),h.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":h.preventDefault(),h.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(h.preventDefault(),t.setAnchorDate(null));break}},o=xo(r,n,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:s}=Dl.get(t),d=er({"aria-label":[l,o].filter(Boolean).join(", "),"aria-labelledby":s}),c=ft({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:f}=Pe(),p=u.useMemo(()=>{let h=fn(Ya(t.timeZone),f);return[...new Array(7).keys()].map(m=>{let y=h.add({days:m}).toDate(t.timeZone);return c.format(y)})},[f,t.timeZone,c]);return{gridProps:U(d,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:i,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:p}}function R3(e){return e&&e.__esModule?e.default:e}function T3(e,t,r){let{date:n,isDisabled:a}=e,{errorMessageId:i,selectedDateDescription:o}=Dl.get(t),l=at(R3(Bn),"@react-aria/calendar"),s=ft({weekday:"long",day:"numeric",month:"long",year:"numeric",era:vn(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);a=a||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!a&&!f,h=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&Ee(t.value,n));h&&(d=!0),n=gd(n,ho);let m=u.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),v=mv(n,t.timeZone),y=u.useMemo(()=>{let x="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Ee(n,t.value.start)||Ee(n,t.value.end))&&(x=o+", "),x+=s.format(m),v?x=l.format(d?"todayDateSelected":"todayDate",{date:x}):d&&(x=l.format("dateSelected",{date:x})),t.minValue&&Ee(n,t.minValue)?x+=", "+l.format("minimumDate"):t.maxValue&&Ee(n,t.maxValue)&&(x+=", "+l.format("maximumDate")),x},[s,m,l,d,v,n,t,o]),S="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?S=l.format("finishRangeSelectionPrompt"):S=l.format("startRangeSelectionPrompt"));let D=Pn(S),C=u.useRef(!1),E=u.useRef(!1),w=u.useRef(null),{pressProps:P,isPressed:F}=At({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(x){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(x.pointerType==="mouse"||x.pointerType==="touch")){if(t.highlightedRange&&!h){if(Ee(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}else if(Ee(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}}let M=()=>{t.setDragging(!0),w.current=null,t.selectDate(n),t.setFocusedDate(n),C.current=!0};x.pointerType==="touch"?w.current=setTimeout(M,200):M()}},onPressEnd(){E.current=!1,C.current=!1,clearTimeout(w.current),w.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(x){if(!t.isReadOnly&&("anchorDate"in t&&w.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(E.current)t.setAnchorDate(n);else if(t.anchorDate&&!C.current)t.selectDate(n),t.setFocusedDate(n);else if(x.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let M=n.add({days:1});t.isInvalid(M)&&(M=n.subtract({days:1})),t.isInvalid(M)||t.setFocusedDate(M)}else x.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),b=null;a||(b=Ee(n,t.focusedDate)?0:-1),u.useEffect(()=>{c&&r.current&&(dt(r.current),Da()!=="pointer"&&document.activeElement===r.current&&ba(r.current,{containingElement:Ua(r.current)}))},[c,r]);let A=ft({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),k=u.useMemo(()=>A.formatToParts(m).find(x=>x.type==="day").value,[A,m]);return{cellProps:{role:"gridcell","aria-disabled":!p||null,"aria-selected":d||null,"aria-invalid":h||null},buttonProps:U(P,{onFocus(){a||t.setFocusedDate(n)},tabIndex:b,role:"button","aria-disabled":!p||null,"aria-label":y,"aria-invalid":h||null,"aria-describedby":[h?i:null,D["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(x){"highlightDate"in t&&(x.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(x){"releasePointerCapture"in x.target&&x.target.releasePointerCapture(x.pointerId)},onContextMenu(x){x.preventDefault()}}),isPressed:F,isFocused:c,isSelected:d,isDisabled:a,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:h,formattedDate:k}}function wl(e,t,r){let{validationBehavior:n,focus:a}=e;le(()=>{if(n==="native"&&(r!=null&&r.current)){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(s),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(F3(r.current))}});let i=Be(()=>{t.resetValidation()}),o=Be(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=r==null||(d=r.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&r&&c&&M3(c)===r.current){var f;a?a():(f=r.current)===null||f===void 0||f.focus(),Pd("keyboard")}s.preventDefault()}),l=Be(()=>{t.commitValidation()});u.useEffect(()=>{let s=r==null?void 0:r.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",o),s.addEventListener("change",l),d==null||d.addEventListener("reset",i),()=>{s.removeEventListener("invalid",o),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",i)}},[r,o,l,i,n])}function A3(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 F3(e){return{isInvalid:!e.validity.valid,validationDetails:A3(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function M3(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}const Xa={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},qc={...Xa,customError:!0,valid:!1},Bt={isInvalid:!1,validationDetails:Xa,validationErrors:[]},I3=u.createContext({}),Pr="__formValidationState"+Date.now();function tr(e){if(e[Pr]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:i}=e[Pr];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:a,commitValidation:i}}return O3(e)}function O3(e){let{isInvalid:t,validationState:r,name:n,value:a,builtinValidation:i,validate:o,validationBehavior:l="aria"}=e;r&&(t||(t=r==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:qc}:null,d=u.useMemo(()=>Gs(V3(o,a)),[o,a]);i!=null&&i.validationDetails.valid&&(i=null);let c=u.useContext(I3),f=u.useMemo(()=>n?Array.isArray(n)?n.flatMap(k=>Eo(c[k])):Eo(c[n]):[],[c,n]),[p,h]=u.useState(c),[m,v]=u.useState(!1);c!==p&&(h(c),v(!1));let y=u.useMemo(()=>Gs(m?[]:f),[m,f]),S=u.useRef(Bt),[D,C]=u.useState(Bt),E=u.useRef(Bt),w=()=>{if(!P)return;F(!1);let k=d||i||S.current;Vi(k,E.current)||(E.current=k,C(k))},[P,F]=u.useState(!1);return u.useEffect(w),{realtimeValidation:s||y||d||i||Bt,displayValidation:l==="native"?s||y||D:s||y||d||i||D,updateValidation(k){l==="aria"&&!Vi(D,k)?C(k):S.current=k},resetValidation(){let k=Bt;Vi(k,E.current)||(E.current=k,C(k)),l==="native"&&F(!1),v(!0)},commitValidation(){l==="native"&&F(!0),v(!0)}}}function Eo(e){return e?Array.isArray(e)?e:[e]:[]}function V3(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return Eo(r)}return[]}function Gs(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:qc}:null}function Vi(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 gn(...e){let t=new Set,r=!1,n={...Xa};for(let o of e){var a,i;for(let l of o.validationErrors)t.add(l);r||(r=o.isInvalid);for(let l in n)(a=n)[i=l]||(a[i]=o.validationDetails[l])}return n.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:n}}function Yc(e,t,r){let{isDisabled:n=!1,isReadOnly:a=!1,value:i,name:o,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=P=>{P.stopPropagation(),t.setSelected(P.target.checked)},h=l!=null,m=s!=null||d!=null;!h&&!m&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:v,isPressed:y}=At({isDisabled:n}),{pressProps:S,isPressed:D}=At({isDisabled:n||a,onPress(){t.toggle()}}),{focusableProps:C}=ll(e,r),E=U(v,C),w=te(e,{labelable:!0});return nl(r,t.isSelected,t.setSelected),{labelProps:U(S,{onClick:P=>P.preventDefault()}),inputProps:U(w,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":a||void 0,onChange:p,disabled:n,...i==null?{}:{value:i},name:o,type:"checkbox",...E}),isSelected:t.isSelected,isPressed:y||D,isDisabled:n,isReadOnly:a,isInvalid:f||c==="invalid"}}function Jc(e,t,r){let n=tr({...e,value:t.isSelected}),{isInvalid:a,validationErrors:i,validationDetails:o}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=Yc({...e,isInvalid:a},t,r);wl(e,n,r);let{isIndeterminate:h,isRequired:m,validationBehavior:v="aria"}=e;return u.useEffect(()=>{r.current&&(r.current.indeterminate=!!h)}),{labelProps:l,inputProps:{...s,checked:d,"aria-required":m&&v==="aria"||void 0,required:m&&v==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:a,validationErrors:i,validationDetails:o}}const Qc=new WeakMap;function Xc(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":a,labelElementType:i="label"}=e;t=Re(t);let o=Re(),l={};r?(n=n?`${o} ${n}`:o,l={id:o,htmlFor:i==="label"?t:void 0}):!n&&!a&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=er({id:t,"aria-label":a,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function Rn(e){let{description:t,errorMessage:r,isInvalid:n,validationState:a}=e,{labelProps:i,fieldProps:o}=Xc(e),l=Cr([!!t,!!r,n,a]),s=Cr([!!t,!!r,n,a]);return o=U(o,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:i,fieldProps:o,descriptionProps:{id:l},errorMessageProps:{id:s}}}function L3(e,t){let{isDisabled:r,name:n,validationBehavior:a="aria"}=e,{isInvalid:i,validationErrors:o,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=Rn({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||o});Qc.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:a});let p=te(e,{labelable:!0}),{focusWithinProps:h}=Mt({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:U(p,{role:"group","aria-disabled":r||void 0,...d,...h}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:i,validationErrors:o,validationDetails:l}}function El(e={}){let{isReadOnly:t}=e,[r,n]=Ge(e.isSelected,e.defaultSelected||!1,e.onChange);function a(o){t||n(o)}function i(){t||n(!r)}return{isSelected:r,setSelected:a,toggle:i}}function j3(e,t,r){const n=El({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(y){y?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(y)}});let{name:a,descriptionId:i,errorMessageId:o,validationBehavior:l}=Qc.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=tr({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=u.useRef(Bt),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};u.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,h=l==="native"?t.displayValidation:p;var m;let v=Jc({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||a,isRequired:(m=e.isRequired)!==null&&m!==void 0?m:t.isRequired,validationBehavior:l,[Pr]:{realtimeValidation:p,displayValidation:h,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(y){c.current=y,f()}}},n,r);return{...v,inputProps:{...v.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?o:null,i].filter(Boolean).join(" ")||void 0}}}const mr={top:"top",bottom:"top",left:"left",right:"left"},Ma={top:"bottom",bottom:"top",left:"right",right:"left"},K3={top:"left",left:"top"},Co={top:"height",left:"width"},ef={width:"totalWidth",height:"totalHeight"},Jn={};let Ve=typeof document<"u"&&window.visualViewport;function qs(e){let t=0,r=0,n=0,a=0,i=0,o=0,l={},s=(Ve==null?void 0:Ve.scale)>1;if(e.tagName==="BODY"){let f=document.documentElement;n=f.clientWidth,a=f.clientHeight;var d;t=(d=Ve==null?void 0:Ve.width)!==null&&d!==void 0?d:n;var c;r=(c=Ve==null?void 0:Ve.height)!==null&&c!==void 0?c:a,l.top=f.scrollTop||e.scrollTop,l.left=f.scrollLeft||e.scrollLeft,Ve&&(i=Ve.offsetTop,o=Ve.offsetLeft)}else({width:t,height:r,top:i,left:o}=Dr(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,a=r;return Xo()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s&&(l.top=0,l.left=0,i=Ve.pageTop,o=Ve.pageLeft),{width:t,height:r,totalWidth:n,totalHeight:a,scroll:l,top:i,left:o}}function N3(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Ys(e,t,r,n,a,i,o){let l=a.scroll[e],s=n[Co[e]],d=n.scroll[mr[e]]+i,c=s+n.scroll[mr[e]]-i,f=t-l+o[e]-n[mr[e]],p=t-l+r+o[e]-n[mr[e]];return f<d?d-f:p>c?Math.max(c-p,d-f):0}function _3(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 Js(e){if(Jn[e])return Jn[e];let[t,r]=e.split(" "),n=mr[t]||"right",a=K3[n];mr[r]||(r="center");let i=Co[n],o=Co[a];return Jn[e]={placement:t,crossPlacement:r,axis:n,crossAxis:a,size:i,crossSize:o},Jn[e]}function Li(e,t,r,n,a,i,o,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:h,size:m,crossSize:v}=n,y={};y[h]=e[h],f==="center"?y[h]+=(e[v]-r[v])/2:f!==h&&(y[h]+=e[v]-r[v]),y[h]+=i;const S=e[h]-r[v]+s+d,D=e[h]+e[v]-s-d;if(y[h]=lo(y[h],S,D),c===p){const C=l?o[m]:t[ef[m]];y[Ma[p]]=Math.floor(C-e[p]+a)}else y[p]=Math.floor(e[p]+e[m]+a);return y}function z3(e,t,r,n,a,i,o,l){const s=n?r.height:t[ef.height];let d=e.top!=null?r.top+e.top:r.top+(s-e.bottom-o),c=l!=="top"?Math.max(0,t.height+t.top+t.scroll.top-d-(a.top+a.bottom+i)):Math.max(0,d+o-(t.top+t.scroll.top)-(a.top+a.bottom+i));return Math.min(t.height-i*2,c)}function Qs(e,t,r,n,a,i){let{placement:o,axis:l,size:s}=i;return o===l?Math.max(0,r[l]-e[l]-e.scroll[l]+t[l]-n[l]-n[Ma[l]]-a):Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-r[l]-r[s]-n[l]-n[Ma[l]]-a)}function H3(e,t,r,n,a,i,o,l,s,d,c,f,p,h,m,v){let y=Js(e),{size:S,crossAxis:D,crossSize:C,placement:E,crossPlacement:w}=y,P=Li(t,l,r,y,c,f,d,p,m,v),F=c,b=Qs(l,d,t,a,i+c,y);if(o&&n[S]>b){let H=Js(`${Ma[E]} ${w}`),B=Li(t,l,r,H,c,f,d,p,m,v);Qs(l,d,t,a,i+c,H)>b&&(y=H,P=B,F=c)}let A="bottom";y.axis==="top"?y.placement==="top"?A="top":y.placement==="bottom"&&(A="bottom"):y.crossAxis==="top"&&(y.crossPlacement==="top"?A="bottom":y.crossPlacement==="bottom"&&(A="top"));let k=Ys(D,P[D],r[C],l,s,i,d);P[D]+=k;let x=z3(P,l,d,p,a,i,r.height,A);h&&h<x&&(x=h),r.height=Math.min(r.height,x),P=Li(t,l,r,y,F,f,d,p,m,v),k=Ys(D,P[D],r[C],l,s,i,d),P[D]+=k;let M={},R=t[D]+.5*t[C]-P[D];const T=m/2+v,K=r[C]-m/2-v,O=t[D]-P[D]+m/2,$=t[D]+t[C]-P[D]-m/2,z=lo(R,O,$);return M[D]=lo(z,T,K),{position:P,maxHeight:x,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:y.placement}}function Z3(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:a,padding:i,shouldFlip:o,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,h=n instanceof HTMLElement?U3(n):document.documentElement,m=h===document.documentElement;const v=window.getComputedStyle(h).position;let y=!!v&&v!=="static",S=m?Dr(r):Xs(r,h);if(!m){let{marginTop:b,marginLeft:A}=window.getComputedStyle(r);S.top+=parseInt(b,10)||0,S.left+=parseInt(A,10)||0}let D=Dr(n),C=_3(n);D.width+=C.left+C.right,D.height+=C.top+C.bottom;let E=N3(a),w=qs(l),P=qs(h),F=l.tagName==="BODY"?Dr(h):Xs(h,l);return h.tagName==="HTML"&&l.tagName==="BODY"&&(P.scroll.top=0,P.scroll.left=0),H3(t,S,D,E,C,i,o,w,P,F,s,d,y,c,f,p)}function Dr(e){let{top:t,left:r,width:n,height:a}=e.getBoundingClientRect(),{scrollTop:i,scrollLeft:o,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+i-l,left:r+o-s,width:n,height:a}}function Xs(e,t){let r=window.getComputedStyle(e),n;if(r.position==="fixed"){let{top:a,left:i,width:o,height:l}=e.getBoundingClientRect();n={top:a,left:i,width:o,height:l}}else{n=Dr(e);let a=Dr(t),i=window.getComputedStyle(t);a.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=a.top,n.left-=a.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function U3(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!eu(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!eu(t);)t=t.parentElement;return t||document.documentElement}function eu(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 tf=new WeakMap;function W3(e){let{triggerRef:t,isOpen:r,onClose:n}=e;u.useEffect(()=>{if(!r||n===null)return;let a=i=>{let o=i.target;if(!t.current||o instanceof Node&&!o.contains(t.current))return;let l=n||tf.get(t.current);l&&l()};return window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("scroll",a,!0)}},[r,n,t])}let ye=typeof document<"u"&&window.visualViewport;function G3(e){let{direction:t}=Pe(),{arrowSize:r=0,targetRef:n,overlayRef:a,scrollRef:i=a,placement:o="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:c=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:h=!0,onClose:m,maxHeight:v,arrowBoundaryOffset:y=0}=e,[S,D]=u.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),C=[p,o,a.current,n.current,i.current,l,s,d,c,f,h,t,v,y,r],E=u.useRef(ye==null?void 0:ye.scale);u.useEffect(()=>{h&&(E.current=ye==null?void 0:ye.scale)},[h]);let w=u.useCallback(()=>{if(p===!1||!h||!a.current||!n.current||!i.current||!d||(ye==null?void 0:ye.scale)!==E.current)return;let b=a.current;if(!v&&a.current){var A;b.style.top="0px",b.style.bottom="";var k;b.style.maxHeight=((k=(A=window.visualViewport)===null||A===void 0?void 0:A.height)!==null&&k!==void 0?k:window.innerHeight)+"px"}let x=Z3({placement:Y3(o,t),overlayNode:a.current,targetNode:n.current,scrollNode:i.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:v,arrowSize:r,arrowBoundaryOffset:y});b.style.top="",b.style.bottom="",Object.keys(x.position).forEach(M=>b.style[M]=x.position[M]+"px"),b.style.maxHeight=x.maxHeight!=null?x.maxHeight+"px":void 0,D(x)},C);le(w,C),q3(w),Za({ref:a,onResize:w});let P=u.useRef(!1);le(()=>{let b,A=()=>{P.current=!0,clearTimeout(b),b=setTimeout(()=>{P.current=!1},500),w()},k=()=>{P.current&&A()};return ye==null||ye.addEventListener("resize",A),ye==null||ye.addEventListener("scroll",k),()=>{ye==null||ye.removeEventListener("resize",A),ye==null||ye.removeEventListener("scroll",k)}},[w]);let F=u.useCallback(()=>{P.current||m()},[m,P]);return W3({triggerRef:n,isOpen:h,onClose:m&&F}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...S.position,maxHeight:S.maxHeight}},placement:S.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:S.arrowOffsetLeft,top:S.arrowOffsetTop}},updatePosition:w}}function q3(e){le(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function Y3(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const mt=[];function rf(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:a,isDismissable:i=!1,isKeyboardDismissDisabled:o=!1,shouldCloseOnInteractOutside:l}=e;u.useEffect(()=>(a&&mt.push(t),()=>{let m=mt.indexOf(t);m>=0&&mt.splice(m,1)}),[a,t]);let s=()=>{mt[mt.length-1]===t&&r&&r()},d=m=>{(!l||l(m.target))&&mt[mt.length-1]===t&&(m.stopPropagation(),m.preventDefault())},c=m=>{(!l||l(m.target))&&(mt[mt.length-1]===t&&(m.stopPropagation(),m.preventDefault()),s())},f=m=>{m.key==="Escape"&&!o&&!m.nativeEvent.isComposing&&(m.stopPropagation(),m.preventDefault(),s())};jm({ref:t,onInteractOutside:i&&a?c:null,onInteractOutsideStart:d});let{focusWithinProps:p}=Mt({isDisabled:!n,onBlurWithin:m=>{!m.relatedTarget||Gm(m.relatedTarget)||(!l||l(m.relatedTarget))&&r()}}),h=m=>{m.target===m.currentTarget&&m.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:h}}}function nf(e,t,r){let{type:n}=e,{isOpen:a}=t;u.useEffect(()=>{r&&r.current&&tf.set(r.current,t.close)});let i;n==="menu"?i=!0:n==="listbox"&&(i="listbox");let o=Re();return{triggerProps:{"aria-haspopup":i,"aria-expanded":a,"aria-controls":a?o:null,onPress:t.toggle},overlayProps:{id:o}}}const ji=typeof document<"u"&&window.visualViewport,J3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Qn=0,Ki;function af(e={}){let{isDisabled:t}=e;le(()=>{if(!t)return Qn++,Qn===1&&(Cn()?Ki=X3():Ki=Q3()),()=>{Qn--,Qn===0&&Ki()}},[t])}function Q3(){return Zt(vr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),vr(document.documentElement,"overflow","hidden"))}function X3(){let e,t,r=d=>{e=Ua(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=vr(e,"overscrollBehavior","contain"))},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()},a=d=>{let c=d.target;ru(c)&&c!==document.activeElement&&(d.preventDefault(),l(),c.style.transform="translateY(-2000px)",c.focus(),requestAnimationFrame(()=>{c.style.transform=""})),t&&t()},i=d=>{let c=d.target;ru(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",ji&&(ji.height<window.innerHeight?requestAnimationFrame(()=>{tu(c)}):ji.addEventListener("resize",()=>tu(c),{once:!0}))}))},o=null,l=()=>{if(o)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;o=Zt(Hr(window,"scroll",d),vr(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),vr(document.documentElement,"overflow","hidden"),vr(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=Zt(Hr(document,"touchstart",r,{passive:!1,capture:!0}),Hr(document,"touchmove",n,{passive:!1,capture:!0}),Hr(document,"touchend",a,{passive:!1,capture:!0}),Hr(document,"focus",i,!0));return()=>{t==null||t(),o==null||o(),s()}}function vr(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function Hr(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function tu(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let r=Ua(e);if(r!==document.documentElement&&r!==document.body&&r!==e){let n=r.getBoundingClientRect().top,a=e.getBoundingClientRect().top;a>n+e.clientHeight&&(r.scrollTop+=a-n)}e=r.parentElement}}function ru(e){return e instanceof HTMLInputElement&&!J3.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var of={};of={dismiss:"تجاهل"};var lf={};lf={dismiss:"Отхвърляне"};var sf={};sf={dismiss:"Odstranit"};var uf={};uf={dismiss:"Luk"};var df={};df={dismiss:"Schließen"};var cf={};cf={dismiss:"Απόρριψη"};var ff={};ff={dismiss:"Dismiss"};var pf={};pf={dismiss:"Descartar"};var hf={};hf={dismiss:"Lõpeta"};var mf={};mf={dismiss:"Hylkää"};var vf={};vf={dismiss:"Rejeter"};var gf={};gf={dismiss:"התעלם"};var bf={};bf={dismiss:"Odbaci"};var yf={};yf={dismiss:"Elutasítás"};var $f={};$f={dismiss:"Ignora"};var xf={};xf={dismiss:"閉じる"};var Df={};Df={dismiss:"무시"};var wf={};wf={dismiss:"Atmesti"};var Ef={};Ef={dismiss:"Nerādīt"};var Cf={};Cf={dismiss:"Lukk"};var Pf={};Pf={dismiss:"Negeren"};var Sf={};Sf={dismiss:"Zignoruj"};var kf={};kf={dismiss:"Descartar"};var Bf={};Bf={dismiss:"Dispensar"};var Rf={};Rf={dismiss:"Revocare"};var Tf={};Tf={dismiss:"Пропустить"};var Af={};Af={dismiss:"Zrušiť"};var Ff={};Ff={dismiss:"Opusti"};var Mf={};Mf={dismiss:"Odbaci"};var If={};If={dismiss:"Avvisa"};var Of={};Of={dismiss:"Kapat"};var Vf={};Vf={dismiss:"Скасувати"};var Lf={};Lf={dismiss:"取消"};var jf={};jf={dismiss:"關閉"};var Kf={};Kf={"ar-AE":of,"bg-BG":lf,"cs-CZ":sf,"da-DK":uf,"de-DE":df,"el-GR":cf,"en-US":ff,"es-ES":pf,"et-EE":hf,"fi-FI":mf,"fr-FR":vf,"he-IL":gf,"hr-HR":bf,"hu-HU":yf,"it-IT":$f,"ja-JP":xf,"ko-KR":Df,"lt-LT":wf,"lv-LV":Ef,"nb-NO":Cf,"nl-NL":Pf,"pl-PL":Sf,"pt-BR":kf,"pt-PT":Bf,"ro-RO":Rf,"ru-RU":Tf,"sk-SK":Af,"sl-SI":Ff,"sr-SP":Mf,"sv-SE":If,"tr-TR":Of,"uk-UA":Vf,"zh-CN":Lf,"zh-TW":jf};const nu={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 Nf(e={}){let{style:t,isFocusable:r}=e,[n,a]=u.useState(!1),{focusWithinProps:i}=Mt({isDisabled:!r,onFocusWithinChange:l=>a(l)}),o=u.useMemo(()=>n?t:t?{...nu,...t}:nu,[n]);return{visuallyHiddenProps:{...i,style:o}}}function Jt(e){let{children:t,elementType:r="div",isFocusable:n,style:a,...i}=e,{visuallyHiddenProps:o}=Nf(e);return u.createElement(r,U(i,o),t)}function eg(e){return e&&e.__esModule?e.default:e}function Po(e){let{onDismiss:t,...r}=e,n=at(eg(Kf),"@react-aria/overlays"),a=er(r,n.format("dismiss")),i=()=>{t&&t()};return u.createElement(Jt,null,u.createElement("button",{...a,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}let Zr=new WeakMap,_e=[];function _f(e,t=document.body){let r=new Set(e),n=new Set,a=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(p);let d=p=>{if(r.has(p)||n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let h of r)if(p.contains(h))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(s);if(f===NodeFilter.FILTER_ACCEPT&&i(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)i(p),p=c.nextNode()}},i=s=>{var d;let c=(d=Zr.get(s))!==null&&d!==void 0?d:0;s.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&s.setAttribute("aria-hidden","true"),n.add(s),Zr.set(s,c+1))};_e.length&&_e[_e.length-1].disconnect(),a(t);let o=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...r,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(r.delete(c),n.delete(c));for(let c of d.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?r.add(c):c instanceof Element&&a(c)}});o.observe(t,{childList:!0,subtree:!0});let l={observe(){o.observe(t,{childList:!0,subtree:!0})},disconnect(){o.disconnect()}};return _e.push(l),()=>{o.disconnect();for(let s of n){let d=Zr.get(s);d===1?(s.removeAttribute("aria-hidden"),Zr.delete(s)):Zr.set(s,d-1)}l===_e[_e.length-1]?(_e.pop(),_e.length&&_e[_e.length-1].observe()):_e.splice(_e.indexOf(l),1)}}function tg(e,t){let{triggerRef:r,popoverRef:n,isNonModal:a,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:o,...l}=e,{overlayProps:s,underlayProps:d}=rf({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:o},n),{overlayProps:c,arrowProps:f,placement:p}=G3({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:a?t.close:null});return af({isDisabled:a||!t.isOpen}),le(()=>{if(t.isOpen&&!a&&n.current)return _f([n.current])},[a,t.isOpen,n]),{popoverProps:U(s,c),arrowProps:f,underlayProps:d,placement:p}}const rg=u.createContext({});function ng(){var e;return(e=u.useContext(rg))!==null&&e!==void 0?e:{}}const zf=u.createContext(null);function Hf(e){let t=Dt(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[a,i]=u.useState(!1),o=u.useMemo(()=>({contain:a,setContain:i}),[a,i]),{getContainer:l}=ng();if(!e.portalContainer&&l&&(r=l()),!r)return null;let s=e.children;return e.disableFocusManagement||(s=u.createElement(Bd,{restoreFocus:!0,contain:a&&!n},s)),s=u.createElement(zf.Provider,{value:o},u.createElement(Bm,null,s)),wn.createPortal(s,r)}function Zf(){let e=u.useContext(zf),t=e==null?void 0:e.setContain;le(()=>{t==null||t(!0)},[t])}function ag(e,t,r){let{overlayProps:n,underlayProps:a}=rf({...e,isOpen:t.isOpen,onClose:t.close},r);return af({isDisabled:!t.isOpen}),Zf(),u.useEffect(()=>{if(t.isOpen)return _f([r.current])},[t.isOpen,r]),{modalProps:U(n),underlayProps:a}}const Cl=new WeakMap;function ig(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function og(e,t){let r=Cl.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${ig(t)}`}function So(e){return um()?e.altKey:e.ctrlKey}function fr(e){return yt()?e.metaKey:e.ctrlKey}const lg=1e3;function Uf(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,a=u.useRef({search:"",timeout:null}).current,i=o=>{let l=sg(o.key);if(!l||o.ctrlKey||o.metaKey||!o.currentTarget.contains(o.target))return;l===" "&&a.search.trim().length>0&&(o.preventDefault(),"continuePropagation"in o||o.stopPropagation()),a.search+=l;let s=t.getKeyForSearch(a.search,r.focusedKey);s==null&&(s=t.getKeyForSearch(a.search)),s!=null&&(r.setFocusedKey(s),n&&n(s)),clearTimeout(a.timeout),a.timeout=setTimeout(()=>{a.search=""},lg)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?i:null}}}function sg(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function Wf(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:a=!1,shouldFocusWrap:i=!1,disallowEmptySelection:o=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:h=n,linkBehavior:m="action"}=e,{direction:v}=Pe(),y=Ha(),S=k=>{if(k.altKey&&k.key==="Tab"&&k.preventDefault(),!n.current.contains(k.target))return;const x=(B,V)=>{if(B!=null){if(t.isLink(B)&&m==="selection"&&s&&!So(k)){wn.flushSync(()=>{t.setFocusedKey(B,V)});let N=h.current.querySelector(`[data-key="${CSS.escape(B.toString())}"]`),G=t.getItemProps(B);y.open(N,k,G.href,G.routerOptions);return}if(t.setFocusedKey(B,V),t.isLink(B)&&m==="override")return;k.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):s&&!So(k)&&t.replaceSelection(B)}};switch(k.key){case"ArrowDown":if(r.getKeyBelow){var M,R;k.preventDefault();let B=t.focusedKey!=null?r.getKeyBelow(t.focusedKey):(M=r.getFirstKey)===null||M===void 0?void 0:M.call(r);B==null&&i&&(B=(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r,t.focusedKey)),x(B)}break;case"ArrowUp":if(r.getKeyAbove){var T,K;k.preventDefault();let B=t.focusedKey!=null?r.getKeyAbove(t.focusedKey):(T=r.getLastKey)===null||T===void 0?void 0:T.call(r);B==null&&i&&(B=(K=r.getLastKey)===null||K===void 0?void 0:K.call(r,t.focusedKey)),x(B)}break;case"ArrowLeft":if(r.getKeyLeftOf){var O,$;k.preventDefault();let B=r.getKeyLeftOf(t.focusedKey);B==null&&i&&(B=v==="rtl"?(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r,t.focusedKey):($=r.getLastKey)===null||$===void 0?void 0:$.call(r,t.focusedKey)),x(B,v==="rtl"?"first":"last")}break;case"ArrowRight":if(r.getKeyRightOf){var z,H;k.preventDefault();let B=r.getKeyRightOf(t.focusedKey);B==null&&i&&(B=v==="rtl"?(z=r.getLastKey)===null||z===void 0?void 0:z.call(r,t.focusedKey):(H=r.getFirstKey)===null||H===void 0?void 0:H.call(r,t.focusedKey)),x(B,v==="rtl"?"last":"first")}break;case"Home":if(r.getFirstKey){k.preventDefault();let B=r.getFirstKey(t.focusedKey,fr(k));t.setFocusedKey(B),fr(k)&&k.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):s&&t.replaceSelection(B)}break;case"End":if(r.getLastKey){k.preventDefault();let B=r.getLastKey(t.focusedKey,fr(k));t.setFocusedKey(B),fr(k)&&k.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(B):s&&t.replaceSelection(B)}break;case"PageDown":if(r.getKeyPageBelow){k.preventDefault();let B=r.getKeyPageBelow(t.focusedKey);x(B)}break;case"PageUp":if(r.getKeyPageAbove){k.preventDefault();let B=r.getKeyPageAbove(t.focusedKey);x(B)}break;case"a":fr(k)&&t.selectionMode==="multiple"&&l!==!0&&(k.preventDefault(),t.selectAll());break;case"Escape":!o&&t.selectedKeys.size!==0&&(k.stopPropagation(),k.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(k.shiftKey)n.current.focus();else{let B=Ae(n.current,{tabbable:!0}),V,N;do N=B.lastChild(),N&&(V=N);while(N);V&&!V.contains(document.activeElement)&&dt(V)}break}}},D=u.useRef({top:0,left:0});br(h,"scroll",p?null:()=>{D.current={top:h.current.scrollTop,left:h.current.scrollLeft}});let C=k=>{if(t.isFocused){k.currentTarget.contains(k.target)||t.setFocused(!1);return}if(k.currentTarget.contains(k.target)){if(t.setFocused(!0),t.focusedKey==null){let R=K=>{K!=null&&(t.setFocusedKey(K),s&&t.replaceSelection(K))},T=k.relatedTarget;var x,M;T&&k.currentTarget.compareDocumentPosition(T)&Node.DOCUMENT_POSITION_FOLLOWING?R((x=t.lastSelectedKey)!==null&&x!==void 0?x:r.getLastKey()):R((M=t.firstSelectedKey)!==null&&M!==void 0?M:r.getFirstKey())}else p||(h.current.scrollTop=D.current.top,h.current.scrollLeft=D.current.left);if(!p&&t.focusedKey!=null){let R=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);R&&(R.contains(document.activeElement)||dt(R),Da()==="keyboard"&&ba(R,{containingElement:n.current}))}}},E=k=>{k.currentTarget.contains(k.relatedTarget)||t.setFocused(!1)};const w=u.useRef(a);u.useEffect(()=>{if(w.current){let k=null;a==="first"&&(k=r.getFirstKey()),a==="last"&&(k=r.getLastKey());let x=t.selectedKeys;if(x.size){for(let M of x)if(t.canSelectItem(M)){k=M;break}}t.setFocused(!0),t.setFocusedKey(k),k==null&&!c&&Wt(n.current)}},[]);let P=u.useRef(t.focusedKey);u.useEffect(()=>{let k=Da();if(t.isFocused&&t.focusedKey!=null&&(h!=null&&h.current)){let x=h.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);x&&(k==="keyboard"||w.current)&&(p||vd(h.current,x),k!=="virtual"&&ba(x,{containingElement:n.current}))}t.isFocused&&t.focusedKey==null&&P.current!=null&&Wt(n.current),P.current=t.focusedKey,w.current=!1},[p,h,t.focusedKey,t.isFocused,n]);let F={onKeyDown:S,onFocus:C,onBlur:E,onMouseDown(k){h.current===k.target&&k.preventDefault()}},{typeSelectProps:b}=Uf({keyboardDelegate:r,selectionManager:t});d||(F=U(b,F));let A;return c||(A=t.focusedKey==null?0:-1),{collectionProps:{...F,tabIndex:A}}}function Gf(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:o,isDisabled:l,onAction:s,allowsDifferentPressOrigin:d,linkBehavior:c="action"}=e,f=Ha(),p=$=>{if($.pointerType==="keyboard"&&So($))t.toggleSelection(r);else{if(t.selectionMode==="none")return;if(t.isLink(r)){if(c==="selection"){let z=t.getItemProps(r);f.open(n.current,$,z.href,z.routerOptions),t.setSelectedKeys(t.selectedKeys);return}else if(c==="override"||c==="none")return}t.selectionMode==="single"?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):$&&$.shiftKey?t.extendSelection(r):t.selectionBehavior==="toggle"||$&&(fr($)||$.pointerType==="touch"||$.pointerType==="virtual")?t.toggleSelection(r):t.replaceSelection(r)}};u.useEffect(()=>{r===t.focusedKey&&t.isFocused&&!i&&(o?o():document.activeElement!==n.current&&Wt(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,i]),l=l||t.isDisabled(r);let h={};!i&&!l?h={tabIndex:r===t.focusedKey?0:-1,onFocus($){$.target===n.current&&t.setFocusedKey(r)}}:l&&(h.onMouseDown=$=>{$.preventDefault()});let m=t.isLink(r)&&c==="override",v=t.isLink(r)&&c!=="selection"&&c!=="none",y=!l&&t.canSelectItem(r)&&!m,S=(s||v)&&!l,D=S&&(t.selectionBehavior==="replace"?!y:!y||t.isEmpty),C=S&&y&&t.selectionBehavior==="replace",E=D||C,w=u.useRef(null),P=E&&y,F=u.useRef(!1),b=u.useRef(!1),A=$=>{if(s&&s(),v){let z=t.getItemProps(r);f.open(n.current,$,z.href,z.routerOptions)}},k={};a?(k.onPressStart=$=>{w.current=$.pointerType,F.current=P,$.pointerType==="keyboard"&&(!E||iu())&&p($)},d?(k.onPressUp=D?null:$=>{$.pointerType!=="keyboard"&&y&&p($)},k.onPress=D?A:null):k.onPress=$=>{if(D||C&&$.pointerType!=="mouse"){if($.pointerType==="keyboard"&&!au())return;A($)}else $.pointerType!=="keyboard"&&y&&p($)}):(k.onPressStart=$=>{w.current=$.pointerType,F.current=P,b.current=D,y&&($.pointerType==="mouse"&&!D||$.pointerType==="keyboard"&&(!S||iu()))&&p($)},k.onPress=$=>{($.pointerType==="touch"||$.pointerType==="pen"||$.pointerType==="virtual"||$.pointerType==="keyboard"&&E&&au()||$.pointerType==="mouse"&&b.current)&&(E?A($):y&&p($))}),h["data-key"]=r,k.preventFocusOnPress=i;let{pressProps:x,isPressed:M}=At(k),R=C?$=>{w.current==="mouse"&&($.stopPropagation(),$.preventDefault(),A($))}:void 0,{longPressProps:T}=Sd({isDisabled:!P,onLongPress($){$.pointerType==="touch"&&(p($),t.setSelectionBehavior("toggle"))}}),K=$=>{w.current==="touch"&&F.current&&$.preventDefault()},O=t.isLink(r)?$=>{Tt.isOpening||$.preventDefault()}:void 0;return{itemProps:U(h,y||D?x:{},P?T:{},{onDoubleClick:R,onDragStartCapture:K,onClick:O}),isPressed:M,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:l,allowsSelection:y,hasAction:E}}function au(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function iu(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Pl{isDisabled(t){var r;return this.disabledBehavior==="all"&&(((r=t.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(t.key))}getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,r,n){let a=this.getItem(t);if(!a)return null;let i=a.getBoundingClientRect();do t=r(t),a=this.getItem(t);while(a&&n(i,a.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.isDisabled(r))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){let r=this.collection.getItem(t);if(r.type==="item"&&!this.isDisabled(r))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return t!==null?this.ref.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null}getKeyPageAbove(t){let r=this.ref.current,n=this.getItem(t);if(!n)return null;if(!un(r))return this.getFirstKey();let a=r.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.orientation==="horizontal"){let o=a.x-r.scrollLeft,l=Math.max(0,i.x-o+i.width-a.width);for(;n&&i.x-o>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),i=n==null?void 0:n.getBoundingClientRect()}else{let o=a.y-r.scrollTop,l=Math.max(0,i.y-o+i.height-a.height);for(;n&&i.y-o>l;)t=this.getKeyAbove(t),n=t==null?null:this.getItem(t),i=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(!un(r))return this.getLastKey();let a=r.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.orientation==="horizontal"){let o=a.x-r.scrollLeft,l=Math.min(r.scrollWidth,i.x-o-i.width+a.width);for(;n&&i.x-o<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),i=n==null?void 0:n.getBoundingClientRect()}else{let o=a.y-r.scrollTop,l=Math.min(r.scrollHeight,i.y-o-i.height+a.height);for(;n&&i.y-o<l;)t=this.getKeyBelow(t),n=t==null?null:this.getItem(t),i=n==null?void 0:n.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,a=r||this.getFirstKey();for(;a!=null;){let i=n.getItem(a),o=i.textValue.slice(0,t.length);if(i.textValue&&this.collator.compare(o,t)===0)return a;a=this.getKeyBelow(a)}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.disabledBehavior=r.disabledBehavior||"all",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.disabledBehavior="all";this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function ug(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:a,keyboardDelegate:i}=e,o=Qa({usage:"search",sensitivity:"base"}),l=t.disabledBehavior,s=u.useMemo(()=>i||new Pl({collection:r,disabledKeys:n,disabledBehavior:l,ref:a,collator:o}),[i,r,n,a,o,l]),{collectionProps:d}=Wf({...e,ref:a,selectionManager:t,keyboardDelegate:s});return{listProps:d}}function dg(e,t,r){let n=te(e,{labelable:!0}),a=e.selectionBehavior||"toggle",i=e.linkBehavior||(a==="replace"?"action":"override");a==="toggle"&&i==="action"&&(i="override");let{listProps:o}=ug({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:l}=Mt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=Re(e.id);Cl.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i});let{labelProps:d,fieldProps:c}=Xc({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:U(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...U(c,o)})}}class cg{build(t,r){return this.context=r,ou(()=>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 a of t.items)yield*this.getFullNode({value:a},{renderer:r})}else{let a=[];u.Children.forEach(r,o=>{a.push(o)});let i=0;for(let o of a){let l=this.getFullNode({element:o,index:i},{});for(let s of l)i++,yield s}}}getKey(t,r,n,a){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${a}${r.key}`;let i=r.value;if(i!=null){var o;let l=(o=i.key)!==null&&o!==void 0?o:i.id;if(l==null)throw new Error("No key found for item");return l}return a?`${a}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,a){let i=t.element;if(!i&&t.value&&r&&r.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=a?a.key:null,yield s;return}i=r.renderer(t.value)}if(u.isValidElement(i)){let s=i.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let p=typeof i.type=="function"?i.type.name:i.type;throw new Error(`Unknown element <${p}> in collection.`)}let d=s.getCollectionNode(i.props,this.context),c=t.index,f=d.next();for(;!f.done&&f.value;){let p=f.value;t.index=c;let h=p.key;h||(h=p.element?null:this.getKey(i,t,r,n));let v=[...this.getFullNode({...p,key:h,index:c,wrapper:fg(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${i.key}`:i.key,a)];for(let y of v){if(y.value=p.value||t.value,y.value&&this.cache.set(y.value,y),t.type&&y.type!==t.type)throw new Error(`Unsupported type <${Ni(y.type)}> in <${Ni(a.type)}>. Only <${Ni(t.type)}> is supported.`);c++,yield y}f=d.next(v)}return}if(t.key==null)return;let o=this,l={type:t.type,props:t.props,key:t.key,parentKey:a?a.key:null,value:t.value,level:a?a.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:ou(function*(){if(!t.hasChildNodes)return;let s=0;for(let d of t.childNodes()){d.key!=null&&(d.key=`${l.key}${d.key}`),d.index=s;let c=o.getFullNode(d,o.getChildState(r,d),l.key,l);for(let f of c)s++,yield f}})};yield l}constructor(){this.cache=new WeakMap}}function ou(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 fg(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function Ni(e){return e[0].toUpperCase()+e.slice(1)}function pg(e,t,r){let n=u.useMemo(()=>new cg,[]),{children:a,items:i,collection:o}=e;return u.useMemo(()=>{if(o)return o;let s=n.build({children:a,items:i},r);return t(s)},[n,a,i,o,r,t])}function qf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function hg(e){return mg(e)}function mg(e,t){for(let r of e)return r}function _i(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...lu(e,t),t],a=[...lu(e,r),r],i=n.slice(0,a.length).findIndex((o,l)=>o!==a[l]);return i!==-1?(t=n[i],r=a[i],t.index-r.index):n.findIndex(o=>o===r)>=0?1:(a.findIndex(o=>o===t)>=0,-1)}function lu(e,t){let r=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),r.unshift(t);return r}const su=new WeakMap;function vg(e){let t=su.get(e);if(t!=null)return t;t=0;let r=n=>{for(let a of n)a.type==="section"?r(qf(a,e)):t++};return r(e),su.set(e,t),t}function gg(e,t,r){var n,a;let{key:i}=e,o=Cl.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(i);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(i);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:o==null?void 0:o.shouldSelectOnPressUp;var h;let m=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:o==null?void 0:o.shouldFocusOnHover;var v;let y=(v=e.shouldUseVirtualFocus)!==null&&v!==void 0?v:o==null?void 0:o.shouldUseVirtualFocus;var S;let D=(S=e.isVirtualized)!==null&&S!==void 0?S:o==null?void 0:o.isVirtualized,C=Cr(),E=Cr(),w={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};yt()&&Xo()||(w["aria-label"]=e["aria-label"],w["aria-labelledby"]=C,w["aria-describedby"]=E);let P=t.collection.getItem(i);if(D){let O=Number(P==null?void 0:P.index);w["aria-posinset"]=Number.isNaN(O)?void 0:O+1,w["aria-setsize"]=vg(t.collection)}let F=o!=null&&o.onAction?()=>{var O;return o==null||(O=o.onAction)===null||O===void 0?void 0:O.call(o,i)}:void 0,{itemProps:b,isPressed:A,isFocused:k,hasAction:x,allowsSelection:M}=Gf({selectionManager:t.selectionManager,key:i,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&m,isVirtualized:D,shouldUseVirtualFocus:y,isDisabled:s,onAction:F||!(P==null||(n=P.props)===null||n===void 0)&&n.onAction?Zt(P==null||(a=P.props)===null||a===void 0?void 0:a.onAction,F):void 0,linkBehavior:o==null?void 0:o.linkBehavior}),{hoverProps:R}=nt({isDisabled:s||!m,onHoverStart(){xa()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(i))}}),T=te(P==null?void 0:P.props);delete T.id;let K=el(P==null?void 0:P.props);return{optionProps:{...w,...U(T,b,R,K),id:og(t,i)},labelProps:{id:C},descriptionProps:{id:E},isFocused:k,isFocusVisible:k&&xa(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:M,hasAction:x}}function bg(e){let{heading:t,"aria-label":r}=e,n=Re();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var Yf={};Yf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Jf={};Jf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Qf={};Qf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Xf={};Xf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var e0={};e0={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var t0={};t0={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var r0={};r0={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var n0={};n0={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var a0={};a0={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var i0={};i0={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var o0={};o0={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var l0={};l0={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var s0={};s0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var u0={};u0={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var d0={};d0={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var c0={};c0={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var f0={};f0={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var p0={};p0={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var h0={};h0={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var m0={};m0={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var v0={};v0={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var g0={};g0={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 y0={};y0={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var $0={};$0={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var x0={};x0={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var D0={};D0={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var w0={};w0={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var E0={};E0={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var C0={};C0={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var P0={};P0={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var S0={};S0={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var k0={};k0={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var B0={};B0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var R0={};R0={"ar-AE":Yf,"bg-BG":Jf,"cs-CZ":Qf,"da-DK":Xf,"de-DE":e0,"el-GR":t0,"en-US":r0,"es-ES":n0,"et-EE":a0,"fi-FI":i0,"fr-FR":o0,"he-IL":l0,"hr-HR":s0,"hu-HU":u0,"it-IT":d0,"ja-JP":c0,"ko-KR":f0,"lt-LT":p0,"lv-LV":h0,"nb-NO":m0,"nl-NL":v0,"pl-PL":g0,"pt-BR":b0,"pt-PT":y0,"ro-RO":$0,"ru-RU":x0,"sk-SK":D0,"sl-SI":w0,"sr-SP":E0,"sv-SE":C0,"tr-TR":P0,"uk-UA":S0,"zh-CN":k0,"zh-TW":B0};function yg(e){return e&&e.__esModule?e.default:e}function $g(e,t,r){let{type:n="menu",isDisabled:a,trigger:i="press"}=e,o=Re(),{triggerProps:l,overlayProps:s}=nf({type:n},t,r),d=h=>{if(!a&&!(i==="longPress"&&!h.altKey)&&r&&r.current)switch(h.key){case"Enter":case" ":if(i==="longPress")return;case"ArrowDown":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("last");break;default:"continuePropagation"in h&&h.continuePropagation()}},c=at(yg(R0),"@react-aria/menu"),{longPressProps:f}=Sd({isDisabled:a||i!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(h){h.pointerType!=="touch"&&h.pointerType!=="keyboard"&&!a&&t.open(h.pointerType==="virtual"?"first":null)},onPress(h){h.pointerType==="touch"&&!a&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...i==="press"?p:f,id:o,onKeyDown:d},menuProps:{...s,"aria-labelledby":o,autoFocus:t.focusStrategy||!0,onClose:t.close}}}var T0={};T0={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 M0={};M0={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 I0={};I0={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 O0={};O0={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 V0={};V0={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 L0={};L0={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 j0={};j0={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 N0={};N0={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 z0={};z0={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 H0={};H0={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 Z0={};Z0={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 U0={};U0={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:"달력",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:"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 q0={};q0={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 Y0={};Y0={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 J0={};J0={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 Q0={};Q0={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 X0={};X0={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 e1={};e1={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 t1={};t1={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 r1={};r1={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 n1={};n1={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 a1={};a1={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 i1={};i1={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 o1={};o1={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 l1={};l1={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 s1={};s1={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 u1={};u1={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 d1={};d1={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 Tn={};Tn={"ar-AE":T0,"bg-BG":A0,"cs-CZ":F0,"da-DK":M0,"de-DE":I0,"el-GR":O0,"en-US":V0,"es-ES":L0,"et-EE":j0,"fi-FI":K0,"fr-FR":N0,"he-IL":_0,"hr-HR":z0,"hu-HU":H0,"it-IT":Z0,"ja-JP":U0,"ko-KR":W0,"lt-LT":G0,"lv-LV":q0,"nb-NO":Y0,"nl-NL":J0,"pl-PL":Q0,"pt-BR":X0,"pt-PT":e1,"ro-RO":t1,"ru-RU":r1,"sk-SK":n1,"sl-SI":a1,"sr-SP":i1,"sv-SE":o1,"tr-TR":l1,"uk-UA":s1,"zh-CN":u1,"zh-TW":d1};function Sl(e,t,r){let{direction:n}=Pe(),a=u.useMemo(()=>Ga(t),[t]),i=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(!0)),!r))switch(s.key){case"ArrowLeft":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusNext():a.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),n==="rtl"?a.focusPrevious():a.focusNext();break}},o=()=>{var s;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=Ae(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=At({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&o()},onPress(s){s.pointerType!=="mouse"&&o()}});return U(l,{onKeyDown:i})}function xg(e){return e&&e.__esModule?e.default:e}const c1=new WeakMap,an="__role_"+Date.now(),f1="__focusManager_"+Date.now();function p1(e,t,r){var n;let{isInvalid:a,validationErrors:i,validationDetails:o}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=Rn({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i}),f=u.useRef(null),{focusWithinProps:p}=Mt({...e,onFocusWithin(k){var x;f.current=t.value,(x=e.onFocus)===null||x===void 0||x.call(e,k)},onBlurWithin:k=>{var x;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(x=e.onBlur)===null||x===void 0||x.call(e,k)},onFocusWithinChange:e.onFocusChange}),h=at(xg(Tn),"@react-aria/datepicker"),m=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",v=t.maxGranularity==="hour"?"time":"date",y=t.value?h.format(m,{[v]:t.formatValue({month:"long"})}):"",S=Pn(y),D=e[an]==="presentation"?s["aria-describedby"]:[S["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,C=e[f1],E=u.useMemo(()=>C||Ga(r),[C,r]),w=Sl(t,r,e[an]==="presentation");c1.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:D,focusManager:E});let P=u.useRef(e.autoFocus),F;e[an]==="presentation"?F={role:"presentation"}:F=U(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":D}),u.useEffect(()=>{P.current&&E.focusFirst(),P.current=!1},[E]),nl(e.inputRef,t.value,t.setValue),wl({...e,focus(){E.focusFirst()}},t,e.inputRef);let b={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||""};e.validationBehavior==="native"&&(b.type="text",b.hidden=!0,b.required=e.isRequired,b.onChange=()=>{});let A=te(e);return{labelProps:{...l,onClick:()=>{E.focusFirst()}},fieldProps:U(A,F,w,p,{onKeyDown(k){e.onKeyDown&&e.onKeyDown(k)},onKeyUp(k){e.onKeyUp&&e.onKeyUp(k)}}),inputProps:b,descriptionProps:d,errorMessageProps:c,isInvalid:a,validationErrors:i,validationDetails:o}}function Dg(e,t,r){var n;let a=p1(e,t,r);return a.inputProps.value=((n=t.timeValue)===null||n===void 0?void 0:n.toString())||"",a}function wg(e){return e&&e.__esModule?e.default:e}function Eg(e,t,r){let n=Re(),a=Re(),i=Re(),o=at(wg(Tn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:h}=Rn({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),m=Sl(t,r),v=f["aria-labelledby"]||f.id,{locale:y}=Pe(),S=t.formatValue(y,{month:"long"}),D=S?o.format("selectedDateDescription",{date:S}):"",C=Pn(D),E=[C["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,w=te(e),P=u.useMemo(()=>Ga(r),[r]),{focusWithinProps:F}=Mt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:U(w,m,f,C,F,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":v,"aria-describedby":E,onKeyDown(b){t.isOpen||e.onKeyDown&&e.onKeyDown(b)},onKeyUp(b){t.isOpen||e.onKeyUp&&e.onKeyUp(b)}}),labelProps:{...c,onClick:()=>{P.focusFirst()}},fieldProps:{...f,id:i,[an]:"presentation","aria-describedby":E,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[Pr]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:h,buttonProps:{...C,id:n,"aria-haspopup":"dialog","aria-label":o.format("calendar"),"aria-labelledby":`${n} ${v}`,"aria-describedby":E,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:a,"aria-labelledby":`${n} ${v}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function Cg(e){return e&&e.__esModule?e.default:e}function Pg(){let{locale:e}=Pe(),t=Od(Cg(Tn),"@react-aria/datepicker");return u.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new Sg(e,t)}},[e,t])}class Sg{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,r){this.locale=t,this.dictionary=r}}var h1={};h1={Empty:"فارغ"};var m1={};m1={Empty:"Изпразни"};var v1={};v1={Empty:"Prázdné"};var g1={};g1={Empty:"Tom"};var b1={};b1={Empty:"Leer"};var y1={};y1={Empty:"Άδειο"};var $1={};$1={Empty:"Empty"};var x1={};x1={Empty:"Vacío"};var D1={};D1={Empty:"Tühjenda"};var w1={};w1={Empty:"Tyhjä"};var E1={};E1={Empty:"Vide"};var C1={};C1={Empty:"ריק"};var P1={};P1={Empty:"Prazno"};var S1={};S1={Empty:"Üres"};var k1={};k1={Empty:"Vuoto"};var B1={};B1={Empty:"空"};var R1={};R1={Empty:"비어 있음"};var T1={};T1={Empty:"Tuščias"};var A1={};A1={Empty:"Tukšs"};var F1={};F1={Empty:"Tom"};var M1={};M1={Empty:"Leeg"};var I1={};I1={Empty:"Pusty"};var O1={};O1={Empty:"Vazio"};var V1={};V1={Empty:"Vazio"};var L1={};L1={Empty:"Gol"};var j1={};j1={Empty:"Не заполнено"};var K1={};K1={Empty:"Prázdne"};var N1={};N1={Empty:"Prazen"};var _1={};_1={Empty:"Prazno"};var z1={};z1={Empty:"Tomt"};var H1={};H1={Empty:"Boş"};var Z1={};Z1={Empty:"Пусто"};var U1={};U1={Empty:"空"};var W1={};W1={Empty:"空白"};var G1={};G1={"ar-AE":h1,"bg-BG":m1,"cs-CZ":v1,"da-DK":g1,"de-DE":b1,"el-GR":y1,"en-US":$1,"es-ES":x1,"et-EE":D1,"fi-FI":w1,"fr-FR":E1,"he-IL":C1,"hr-HR":P1,"hu-HU":S1,"it-IT":k1,"ja-JP":B1,"ko-KR":R1,"lt-LT":T1,"lv-LV":A1,"nb-NO":F1,"nl-NL":M1,"pl-PL":I1,"pt-BR":O1,"pt-PT":V1,"ro-RO":L1,"ru-RU":j1,"sk-SK":K1,"sl-SI":N1,"sr-SP":_1,"sv-SE":z1,"tr-TR":H1,"uk-UA":Z1,"zh-CN":U1,"zh-TW":W1};function kg(e){return e&&e.__esModule?e.default:e}function Bg(e){const t=u.useRef();let{value:r,textValue:n,minValue:a,maxValue:i,isDisabled:o,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:h,onIncrementToMax:m}=e;const v=at(kg(G1),"@react-aria/spinbutton"),y=()=>clearTimeout(t.current);u.useEffect(()=>()=>y(),[]);let S=x=>{if(!(x.ctrlKey||x.metaKey||x.shiftKey||x.altKey||l))switch(x.key){case"PageUp":if(c){x.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(x.preventDefault(),d==null||d());break;case"PageDown":if(p){x.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(x.preventDefault(),f==null||f());break;case"Home":h&&(x.preventDefault(),h==null||h());break;case"End":m&&(x.preventDefault(),m==null||m());break}},D=u.useRef(!1),C=()=>{D.current=!0},E=()=>{D.current=!1},w=n===""?v.format("Empty"):(n||`${r}`).replace("-","−");u.useEffect(()=>{D.current&&(E3("assertive"),wo(w,"assertive"))},[w]);const P=Be(x=>{y(),d==null||d(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||r===void 0||isNaN(r)||r<i)&&P(60)},x)}),F=Be(x=>{y(),f==null||f(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||r===void 0||isNaN(r)||r>a)&&F(60)},x)});let b=x=>{x.preventDefault()},{addGlobalListener:A,removeAllGlobalListeners:k}=tl();return{spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":w,"aria-valuemin":a,"aria-valuemax":i,"aria-disabled":o||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:S,onFocus:C,onBlur:E},incrementButtonProps:{onPressStart:()=>{P(400),A(window,"contextmenu",b)},onPressEnd:()=>{y(),k()},onFocus:C,onBlur:E},decrementButtonProps:{onPressStart:()=>{F(400),A(window,"contextmenu",b)},onPressEnd:()=>{y(),k()},onFocus:C,onBlur:E}}}function Rg(e,t,r){let n=u.useRef(""),{locale:a}=Pe(),i=Pg(),{ariaLabel:o,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=c1.get(t),c=e.isPlaceholder?"":e.text,f=u.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=ft({month:"long",timeZone:f.timeZone}),h=ft({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let $=p.format(t.dateValue);c=$!==c?`${c} – ${$}`:$}else e.type==="hour"&&!e.isPlaceholder&&(c=h.format(t.dateValue));let{spinButtonProps:m}=Bg({value:e.value,textValue:c,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)}}),v=u.useMemo(()=>new cc(a,{maximumFractionDigits:0}),[a]),y=()=>{if(e.text===e.placeholder&&d.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let $=e.text.slice(0,-1),z=v.parse($);$=z===0?"":$,$.length===0||z===0?t.clearSegment(e.type):t.setSegment(e.type,z),n.current=$}else e.type==="dayPeriod"&&t.clearSegment(e.type)},S=$=>{if($.key==="a"&&(yt()?$.metaKey:$.ctrlKey)&&$.preventDefault(),!($.ctrlKey||$.metaKey||$.shiftKey||$.altKey))switch($.key){case"Backspace":case"Delete":$.preventDefault(),$.stopPropagation(),y();break}},{startsWith:D}=x3({sensitivity:"base"}),C=ft({hour:"numeric",hour12:!0}),E=u.useMemo(()=>{let $=new Date;return $.setHours(0),C.formatToParts($).find(z=>z.type==="dayPeriod").value},[C]),w=u.useMemo(()=>{let $=new Date;return $.setHours(12),C.formatToParts($).find(z=>z.type==="dayPeriod").value},[C]),P=ft({year:"numeric",era:"narrow",timeZone:"UTC"}),F=u.useMemo(()=>{if(e.type!=="era")return[];let $=he(new $e(1,1,1),t.calendar),z=t.calendar.getEras().map(B=>{let V=$.set({year:1,month:1,day:1,era:B}).toDate("UTC"),G=P.formatToParts(V).find(W=>W.type==="era").value;return{era:B,formatted:G}}),H=Tg(z.map(B=>B.formatted));if(H)for(let B of z)B.formatted=B.formatted.slice(H);return z},[P,t.calendar,e.type]),b=$=>{if(t.isDisabled||t.isReadOnly)return;let z=n.current+$;switch(e.type){case"dayPeriod":if(D(E,$))t.setSegment("dayPeriod",0);else if(D(w,$))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let H=F.find(B=>D(B.formatted,$));H&&(t.setSegment("era",H.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!v.isValidPartialNumber(z))return;let H=v.parse(z),B=H,V=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":H>11&&(B=v.parse($));break;case"h12":V=!1,H>12&&(B=v.parse($));break}e.value>=12&&H>1&&(H+=12)}else H>e.maxValue&&(B=v.parse($));if(isNaN(H))return;let N=B!==0||V;N&&t.setSegment(e.type,B),+(H+"0")>e.maxValue||z.length>=String(e.maxValue).length?(n.current="",N&&d.focusNext()):n.current=z;break}}},A=()=>{n.current="",ba(r.current,{containingElement:Ua(r.current)}),window.getSelection().collapse(r.current)},k=u.useRef("");br(r,"beforeinput",$=>{switch($.preventDefault(),$.inputType){case"deleteContentBackward":case"deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&y();break;case"insertCompositionText":k.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:$.data!=null&&b($.data);break}}),br(r,"input",$=>{let{inputType:z,data:H}=$;switch(z){case"insertCompositionText":r.current.textContent=k.current,(D(E,H)||D(w,H))&&b(H);break}}),le(()=>{let $=r.current;return()=>{document.activeElement===$&&(d.focusPrevious()||d.focusNext())}},[r,d]);let x=Cn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},M=u.useMemo(()=>t.segments.find($=>$.isEditable),[t.segments]);e!==M&&!t.isInvalid&&(s=void 0);let R=Re(),T=!t.isDisabled&&!t.isReadOnly&&e.isEditable,K=e.type==="literal"?"":i.of(e.type),O=er({"aria-label":`${K}${o?`, ${o}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:U(m,O,{id:R,...x,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCapitalize:T?"off":void 0,autoCorrect:T?"off":void 0,[parseInt(u.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!T?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:S,onFocus:A,style:{caretColor:"transparent"},onPointerDown($){$.stopPropagation()},onMouseDown($){$.stopPropagation()}})}}function Tg(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 Ag(e){return e&&e.__esModule?e.default:e}function Fg(e,t,r){var n,a;let i=at(Ag(Tn),"@react-aria/datepicker"),{isInvalid:o,validationErrors:l,validationDetails:s}=t.displayValidation,{labelProps:d,fieldProps:c,descriptionProps:f,errorMessageProps:p}=Rn({...e,labelElementType:"span",isInvalid:o,errorMessage:e.errorMessage||l}),h=c["aria-labelledby"]||c.id,{locale:m}=Pe(),v=t.formatValue(m,{month:"long"}),y=v?i.format("selectedRangeDescription",{startDate:v.start,endDate:v.end}):"",S=Pn(y),D={"aria-label":i.format("startDate"),"aria-labelledby":h},C={"aria-label":i.format("endDate"),"aria-labelledby":h},E=Re(),w=Re(),P=Sl(t,r),F=[S["aria-describedby"],c["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=u.useMemo(()=>Ga(r,{accept:T=>T.id!==E}),[r,E]),A={[f1]:b,[an]:"presentation","aria-describedby":F,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},k=te(e),{focusWithinProps:x}=Mt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),M=u.useRef(Bt),R=u.useRef(Bt);return{groupProps:U(k,P,c,S,x,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":F,onKeyDown(T){t.isOpen||e.onKeyDown&&e.onKeyDown(T)},onKeyUp(T){t.isOpen||e.onKeyUp&&e.onKeyUp(T)}}),labelProps:{...d,onClick:()=>{b.focusFirst()}},buttonProps:{...S,id:E,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${E} ${h}`,"aria-describedby":F,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:w,"aria-labelledby":`${E} ${h}`},startFieldProps:{...D,...A,value:(n=t.value)===null||n===void 0?void 0:n.start,onChange:T=>t.setDateTime("start",T),autoFocus:e.autoFocus,name:e.startName,[Pr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){M.current=T,t.updateValidation(gn(T,R.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...A,value:(a=t.value)===null||a===void 0?void 0:a.end,onChange:T=>t.setDateTime("end",T),name:e.endName,[Pr]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){R.current=T,t.updateValidation(gn(M.current,T))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:f,errorMessageProps:p,calendarProps:{autoFocus:!0,value:t.dateRange,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:o,validationErrors:l,validationDetails:s}}function Mg(e,t){let{role:r="dialog"}=e,n=Cr();n=e["aria-label"]?void 0:n;let a=u.useRef(!1);return u.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Wt(t.current);let i=setTimeout(()=>{document.activeElement===t.current&&(a.current=!0,t.current&&(t.current.blur(),Wt(t.current)),a.current=!1)},500);return()=>{clearTimeout(i)}}},[t]),Zf(),{dialogProps:{...te(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:i=>{a.current&&i.stopPropagation()}},titleProps:{id:n}}}const q1=new WeakMap;function Ig(e,t,r){let{keyboardDelegate:n,isDisabled:a,isRequired:i,name:o,validationBehavior:l="aria"}=e,s=Qa({usage:"search",sensitivity:"base"}),d=u.useMemo(()=>n||new Pl(t.collection,t.disabledKeys,null,s),[n,t.collection,t.disabledKeys,s]),{menuTriggerProps:c,menuProps:f}=$g({isDisabled:a,type:"listbox"},t,r),p=b=>{switch(b.key){case"ArrowLeft":{b.preventDefault();let A=t.selectedKey!=null?d.getKeyAbove(t.selectedKey):d.getFirstKey();A&&t.setSelectedKey(A);break}case"ArrowRight":{b.preventDefault();let A=t.selectedKey!=null?d.getKeyBelow(t.selectedKey):d.getFirstKey();A&&t.setSelectedKey(A);break}}},{typeSelectProps:h}=Uf({keyboardDelegate:d,selectionManager:t.selectionManager,onTypeSelect(b){t.setSelectedKey(b)}}),{isInvalid:m,validationErrors:v,validationDetails:y}=t.displayValidation,{labelProps:S,fieldProps:D,descriptionProps:C,errorMessageProps:E}=Rn({...e,labelElementType:"span",isInvalid:m,errorMessage:e.errorMessage||v});h.onKeyDown=h.onKeyDownCapture,delete h.onKeyDownCapture;let w=te(e,{labelable:!0}),P=U(h,c,D),F=Re();return q1.set(t,{isDisabled:a,isRequired:i,name:o,validationBehavior:l}),{labelProps:{...S,onClick:()=>{e.isDisabled||(r.current.focus(),Pd("keyboard"))}},triggerProps:U(w,{...P,isDisabled:a,onKeyDown:Zt(P.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[F,P["aria-labelledby"],P["aria-label"]&&!P["aria-labelledby"]?P.id:null].filter(Boolean).join(" "),onFocus(b){t.isFocused||(e.onFocus&&e.onFocus(b),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(b){t.isOpen||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:F},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:b=>{b.currentTarget.contains(b.relatedTarget)||(e.onBlur&&e.onBlur(b),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[D["aria-labelledby"],P["aria-label"]&&!D["aria-labelledby"]?P.id:null].filter(Boolean).join(" ")},descriptionProps:C,errorMessageProps:E,isInvalid:m,validationErrors:v,validationDetails:y}}function Og(e,t,r){let n=q1.get(t)||{},{autoComplete:a,name:i=n.name,isDisabled:o=n.isDisabled}=e,{validationBehavior:l,isRequired:s}=n,d=Mm(),{visuallyHiddenProps:c}=Nf();nl(e.selectRef,t.selectedKey,t.setSelectedKey),wl({validationBehavior:l,focus:()=>r.current.focus()},t,e.selectRef);var f;return{containerProps:{...c,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:d==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:o},selectProps:{tabIndex:-1,autoComplete:a,disabled:o,required:l==="native"&&s,name:i,value:(f=t.selectedKey)!==null&&f!==void 0?f:"",onChange:p=>t.setSelectedKey(p.target.value)}}}function Vg(e){let{state:t,triggerRef:r,label:n,name:a,isDisabled:i}=e,o=u.useRef(null),{containerProps:l,inputProps:s,selectProps:d}=Og({...e,selectRef:o},t,r);var c;return t.collection.size<=300?u.createElement("div",{...l,"data-testid":"hidden-select-container"},u.createElement("input",s),u.createElement("label",null,n,u.createElement("select",{...d,ref:o},u.createElement("option",null),[...t.collection.getKeys()].map(f=>{let p=t.collection.getItem(f);if(p.type==="item")return u.createElement("option",{key:p.key,value:p.key},p.textValue)})))):a?u.createElement("input",{type:"hidden",autoComplete:d.autoComplete,name:a,disabled:i,value:(c=t.selectedKey)!==null&&c!==void 0?c:""}):null}function Lg(e){let t=te(e,{labelable:!0}),r;return e.orientation==="vertical"&&(r="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":r}}:{separatorProps:t}}function jg(e,t,r){let{labelProps:n,inputProps:a,isSelected:i,isPressed:o,isDisabled:l,isReadOnly:s}=Yc(e,t,r);return{labelProps:n,inputProps:{...a,role:"switch",checked:i},isSelected:i,isPressed:o,isDisabled:l,isReadOnly:s}}const Y1=new WeakMap;function Ia(e,t,r){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Y1.get(e)}-${r}-${t}`}function Kg(e,t,r){let{key:n,isDisabled:a,shouldSelectOnPressUp:i}=e,{selectionManager:o,selectedKey:l}=t,s=n===l,d=a||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=Gf({selectionManager:o,key:n,ref:r,isDisabled:d,shouldSelectOnPressUp:i,linkBehavior:"selection"}),p=Ia(t,n,"tab"),h=Ia(t,n,"tabpanel"),{tabIndex:m}=c,v=t.collection.getItem(n),y=te(v==null?void 0:v.props,{labelable:!0});delete y.id;let S=el(v==null?void 0:v.props);return{tabProps:U(y,S,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?h:void 0,tabIndex:d?void 0:m,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function Ng(e,t,r){let n=tv(r)?void 0:0;var a;const i=Ia(t,(a=e.id)!==null&&a!==void 0?a:t==null?void 0:t.selectedKey,"tabpanel"),o=er({...e,id:i,"aria-labelledby":Ia(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:U(o,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class _g{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)}isDisabled(t){var r,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.isDisabled(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.isDisabled(t));return t}constructor(t,r,n,a=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=a}}function zg(e,t,r){let{orientation:n="horizontal",keyboardActivation:a="automatic"}=e,{collection:i,selectionManager:o,disabledKeys:l}=t,{direction:s}=Pe(),d=u.useMemo(()=>new _g(i,s,n,l),[i,l,n,s]),{collectionProps:c}=Wf({ref:r,selectionManager:o,keyboardDelegate:d,selectOnFocus:a==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Re();Y1.set(t,f);let p=er({...e,id:f});return{tabListProps:{...U(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}function Hg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function J1(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var ko={exports:{}},zi={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var uu;function Zg(){if(uu)return zi;uu=1;var e=u;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,a=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function l(f,p){var h=p(),m=n({inst:{value:h,getSnapshot:p}}),v=m[0].inst,y=m[1];return i(function(){v.value=h,v.getSnapshot=p,s(v)&&y({inst:v})},[f,h,p]),a(function(){return s(v)&&y({inst:v}),f(function(){s(v)&&y({inst:v})})},[f]),o(h),h}function s(f){var p=f.getSnapshot;f=f.value;try{var h=p();return!r(f,h)}catch{return!0}}function d(f,p){return p()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:l;return zi.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,zi}var Hi={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var au;function Kg(){return au||(au=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=u,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(C){{for(var E=arguments.length,w=new Array(E>1?E-1:0),P=1;P<E;P++)w[P-1]=arguments[P];n("error",C,w)}}function n(C,E,w){{var P=t.ReactDebugCurrentFrame,F=P.getStackAddendum();F!==""&&(E+="%s",w=w.concat([F]));var b=w.map(function(A){return String(A)});b.unshift("Warning: "+E),Function.prototype.apply.call(console[C],console,b)}}function a(C,E){return C===E&&(C!==0||1/C===1/E)||C!==C&&E!==E}var o=typeof Object.is=="function"?Object.is:a,i=e.useState,l=e.useEffect,s=e.useLayoutEffect,d=e.useDebugValue,c=!1,f=!1;function p(C,E,w){c||e.startTransition!==void 0&&(c=!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 P=E();if(!f){var F=E();o(P,F)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var b=i({inst:{value:P,getSnapshot:E}}),A=b[0].inst,S=b[1];return s(function(){A.value=P,A.getSnapshot=E,h(A)&&S({inst:A})},[C,P,E]),l(function(){h(A)&&S({inst:A});var x=function(){h(A)&&S({inst:A})};return C(x)},[C]),d(P),P}function h(C){var E=C.getSnapshot,w=C.value;try{var P=E();return!o(w,P)}catch{return!0}}function m(C,E,w){return E()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!v,k=y?m:p,D=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:k;Ko.useSyncExternalStore=D,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ko}process.env.NODE_ENV==="production"?wi.exports=jg():wi.exports=Kg();var Ng=wi.exports;class Cl{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new Cl(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 Z4{*[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 pn extends Z4{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof pn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,r,n,a;let o=this.ownerDocument.getMutableNode(this);o.index=this.index,o.level=this.level,o.parentKey=this.parentNode instanceof pn?this.parentNode.node.key:null;var i;o.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;o.nextKey=(l=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&l!==void 0?l:null,o.hasChildNodes=!!this.firstChild;var s;o.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;o.lastChildKey=(d=(a=this.lastChild)===null||a===void 0?void 0:a.node.key)!==null&&d!==void 0?d:null}setProps(t,r,n){let a=this.ownerDocument.getMutableNode(this),{value:o,textValue:i,id:l,...s}=t;if(s.ref=r,a.props=s,a.rendered=n,a.value=o,a.textValue=i||(typeof n=="string"?n:"")||t["aria-label"]||"",l!=null&&l!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=l}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 Cl(t,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}}class _g{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),a=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;a;)yield a,a=a.nextKey!=null?r.get(a.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 zg extends Z4{get isConnected(){return!0}createElement(t){return new pn(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 o of this.dirtyNodes)o instanceof pn&&o.isConnected&&o.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,r;let o=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&o.addNode(i.node);var n,a;o.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(a=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&a!==void 0?a: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 Pl(e){let{children:t,items:r,idScope:n,addIdAndValue:a,dependencies:o=[]}=e,i=u.useMemo(()=>new WeakMap,o);return u.useMemo(()=>{if(r&&typeof t=="function"){let d=[];for(let c of r){let f=i.get(c);if(!f){f=t(c);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l:c.key)!==null&&s!==void 0?s:c.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=u.cloneElement(f,a?{key:p,id:p,value:c}:{key:p}),i.set(c,f)}d.push(f)}return d}else if(typeof t!="function")return t},[t,r,i,n,a])}function Hg(e){return Pl({...e,addIdAndValue:!0})}const U4=u.createContext(!1);function Zg(e,t){let{collection:r,document:n}=Sl(t);return{portal:W4(e,n),collection:r}}function Ug(e,t,r){let n=Dt(),a=u.useRef(n);a.current=n;let o=u.useCallback(()=>a.current?r():t(),[t,r]);return Ng.useSyncExternalStore(e,o)}const Wg=typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore:Ug;function Sl(e){let t=u.useMemo(()=>new zg(e||new _g),[e]),r=u.useCallback(i=>t.subscribe(i),[t]),n=u.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),a=u.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:Wg(r,n,a),document:t}}const Ei=u.createContext(null),kn=u.createContext(null);function W4(e,t){let r=u.useContext(kn),n=t??r,a=Hg(e),o=u.useMemo(()=>u.createElement(U4.Provider,{value:!0},a),[a]);return Dt()?u.createElement(Ei.Provider,{value:n},o):yn.createPortal(o,n)}function G4(e){return u.createElement(u.Fragment,null,W4(e))}function q4(e,t,r){let n=u.useContext(U4);var a;return n?(a=kl(e,t,r,"children"in t?t.children:null))!==null&&a!==void 0?a:u.createElement(u.Fragment,null):null}function Gg(e,t,r){return u.useCallback(n=>{n==null||n.setProps(e,t,r)},[e,t,r])}function kl(e,t,r,n,a){let o=Gg(t,r,n),i=u.useContext(Ei);if(i){let l=i.ownerDocument.nodesByProps.get(t);return l||(l=i.ownerDocument.createElement(e),l.setProps(t,r,n),i.appendChild(l),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(t,l)),a?u.createElement(Ei.Provider,{value:l},a):null}return u.createElement(e,{ref:o},a)}const Ci=Symbol("default");function je({values:e,children:t}){for(let[r,n]of e)t=u.createElement(r.Provider,{value:n},t);return t}function fe(e){let{className:t,style:r,children:n,defaultClassName:a,defaultChildren:o,defaultStyle:i,values:l}=e;return u.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:a}):s=t,typeof r=="function"?d=r({...l,defaultStyle:i||{}}):d=r,typeof n=="function"?c=n({...l,defaultChildren:o}):n==null?c=o:c=n,{className:s??a,style:d||i?{...i,...d}:void 0,children:c??o,"data-rac":""}},[t,r,n,a,o,i,l])}function Mt(e,t){let r=u.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(o=>`"${o}"`));if(!t&&!r.slots[Ci])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let a=t||Ci;if(!r.slots[a])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return r.slots[a]}return r}function ge(e,t,r){let n=Mt(r,e.slot)||{},{ref:a,...o}=n,i=Ye(u.useMemo(()=>$n(t,a),[t,a])),l=U(o,e);return"style"in o&&o.style&&"style"in e&&e.style&&(typeof o.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof o.style=="function"?o.style(s):o.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...o.style,...e.style}),[l,i]}function Bn(){let[e,t]=u.useState(!0),r=u.useRef(!1),n=u.useCallback(a=>{r.current=!0,t(!!a)},[]);return ie(()=>{r.current||t(!1)},[]),[n,e]}function Bl(e,t=!0){let[r,n]=u.useState(!0);return Y4(e,r&&t,u.useCallback(()=>n(!1),[])),r&&t}function Pi(e,t){let[r,n]=u.useState(!1),[a,o]=u.useState("idle");return!t&&e.current&&a==="idle"&&(r=!0,n(!0),o("exiting")),!e.current&&a==="exited"&&o("idle"),Y4(e,r,u.useCallback(()=>{o("exited"),n(!1)},[])),r}function Y4(e,t,r){let n=u.useRef(null);t&&e.current&&(n.current=window.getComputedStyle(e.current).animation),ie(()=>{if(t&&e.current){let a=window.getComputedStyle(e.current);if(a.animationName&&a.animationName!=="none"&&a.animation!==n.current){let o=l=>{l.target===e.current&&(i.removeEventListener("animationend",o),yn.flushSync(()=>{r()}))},i=e.current;return i.addEventListener("animationend",o),()=>{i.removeEventListener("animationend",o)}}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 hn=u.createContext(!1),qg=typeof DocumentFragment<"u"?new DocumentFragment:null;function J4(e){let t=u.useContext(hn),r=Dt();if(t)return u.createElement(u.Fragment,null,e.children);let n=u.createElement(hn.Provider,{value:!0},e.children);return r?u.createElement("template",{"data-react-aria-hidden":!0},n):yn.createPortal(n,qg)}function Rl(e){let t=(r,n)=>u.useContext(hn)?null:e(r,n);return t.displayName=e.displayName||e.name,u.forwardRef(t)}function Za(e){const t=/^(data-.*)$/;let r={};for(const n in e)t.test(n)||(r[n]=e[n]);return r}const Yg=u.createContext(null);function Jg(e,t){[e,t]=ge(e,t,Yg);let r=e.href?"a":"span",{linkProps:n,isPressed:a}=Ym({...e,elementType:r},t),{hoverProps:o,isHovered:i}=nt(e),{focusProps:l,isFocused:s,isFocusVisible:d}=Me(),c=fe({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:a,isHovered:i,isFocused:s,isFocusVisible:d}});return u.createElement(r,{ref:t,slot:e.slot||void 0,...U(c,n,o,l),"data-focused":s||void 0,"data-hovered":i||void 0,"data-pressed":a||void 0,"data-focus-visible":d||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},c.children)}const Qg=u.forwardRef(Jg),Xg=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Fr=u.createContext({});function eb(e,t){[e,t]=ge(e,t,Fr);let r=e,{buttonProps:n,isPressed:a}=v3(e,t),{focusProps:o,isFocused:i,isFocusVisible:l}=Me(e),{hoverProps:s,isHovered:d}=nt(e),c=fe({...e,values:{isHovered:d,isPressed:a,isFocused:i,isFocusVisible:l,isDisabled:e.isDisabled||!1},defaultClassName:"react-aria-Button"});return u.createElement("button",{...te(e,{propNames:Xg}),...U(n,o,s),...c,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":r.isPressed||a||void 0,"data-hovered":d||void 0,"data-focused":i||void 0,"data-focus-visible":l||void 0})}const Q4=Rl(eb),It=u.createContext({});function wr(e,t,r){return t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0}function Si(e,t,r,n,a){let o={};for(let l in t)o[l]=Math.floor(t[l]/2),o[l]>0&&t[l]%2===0&&o[l]--;let i=Nt(e,t,r).subtract(o);return mn(e,i,t,r,n,a)}function Nt(e,t,r,n,a){let o=e;return t.years?o=dv(e):t.months?o=Gt(e):t.weeks&&(o=ln(e,r)),mn(e,o,t,r,n,a)}function ki(e,t,r,n,a){let o={...t};t.days?o.days--:t.weeks?o.weeks--:t.months?o.months--:t.years&&o.years--;let i=Nt(e,t,r).subtract(o);return mn(e,i,t,r,n,a)}function mn(e,t,r,n,a,o){return a&&e.compare(a)>=0&&(t=ll(t,Nt(Fe(a),r,n))),o&&e.compare(o)<=0&&(t=il(t,ki(Fe(o),r,n))),t}function Et(e,t,r){return t&&(e=ll(e,Fe(t))),r&&(e=il(e,Fe(r))),e}function X4(e,t,r){if(!r)return e;for(;e.compare(t)>=0&&r(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function e1(e){let t=u.useMemo(()=>new bt(e.locale),[e.locale]),r=u.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:a,visibleDuration:o={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible"}=e,f=u.useMemo(()=>a(r.calendar),[a,r.calendar]),[p,h]=rt(e.value,e.defaultValue,e.onChange),m=u.useMemo(()=>p?he(Fe(p),f):null,[p,f]),v=u.useMemo(()=>p&&"timeZone"in p?p.timeZone:r.timeZone,[p,r.timeZone]),y=u.useMemo(()=>e.focusedValue?Et(he(Fe(e.focusedValue),f),i,l):void 0,[e.focusedValue,f,i,l]),k=u.useMemo(()=>Et(e.defaultFocusedValue?he(Fe(e.defaultFocusedValue),f):m||he(ol(v),f),i,l),[e.defaultFocusedValue,m,v,f,i,l]),[D,C]=rt(y,k,e.onFocusChange),[E,w]=u.useState(()=>{switch(s){case"start":return Nt(D,o,n,i,l);case"end":return ki(D,o,n,i,l);case"center":default:return Si(D,o,n,i,l)}}),[P,F]=u.useState(e.autoFocus||!1),b=u.useMemo(()=>{let $={...o};return $.days?$.days--:$.days=-1,E.add($)},[E,o]),[A,S]=u.useState(f.identifier);if(f.identifier!==A){let $=he(D,f);w(Si($,o,n,i,l)),C($),S(f.identifier)}wr(D,i,l)?C(Et(D,i,l)):D.compare(E)<0?w(ki(D,o,n,i,l)):D.compare(b)>0&&w(Nt(D,o,n,i,l));function x($){$=Et($,i,l),C($)}function M($){if(!e.isDisabled&&!e.isReadOnly){if($===null){h(null);return}if($=Et($,i,l),$=X4($,E,d),!$)return;$=he($,(p==null?void 0:p.calendar)||new Ve),p&&"hour"in p?h(p.set($)):h($)}}let R=u.useMemo(()=>m?d&&d(m)?!0:wr(m,i,l):!1,[m,d,i,l]),T=e.isInvalid||e.validationState==="invalid"||R,K=T?"invalid":null,O=u.useMemo(()=>c==="visible"?o:No(o),[c,o]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:m,setValue:M,visibleRange:{start:E,end:b},minValue:i,maxValue:l,focusedDate:D,timeZone:v,validationState:K,isValueInvalid:T,setFocusedDate($){x($),F(!0)},focusNextDay(){x(D.add({days:1}))},focusPreviousDay(){x(D.subtract({days:1}))},focusNextRow(){o.days?this.focusNextPage():(o.weeks||o.months||o.years)&&x(D.add({weeks:1}))},focusPreviousRow(){o.days?this.focusPreviousPage():(o.weeks||o.months||o.years)&&x(D.subtract({weeks:1}))},focusNextPage(){let $=E.add(O);C(Et(D.add(O),i,l)),w(Nt(mn(D,$,O,n,i,l),O,n))},focusPreviousPage(){let $=E.subtract(O);C(Et(D.subtract(O),i,l)),w(Nt(mn(D,$,O,n,i,l),O,n))},focusSectionStart(){o.days?x(E):o.weeks?x(ln(D,n)):(o.months||o.years)&&x(Gt(D))},focusSectionEnd(){o.days?x(b):o.weeks?x(pv(D,n)):(o.months||o.years)&&x($a(D))},focusNextSection($){if(!$&&!o.days){x(D.add(No(o)));return}o.days?this.focusNextPage():o.weeks?x(D.add({months:1})):(o.months||o.years)&&x(D.add({years:1}))},focusPreviousSection($){if(!$&&!o.days){x(D.subtract(No(o)));return}o.days?this.focusPreviousPage():o.weeks?x(D.subtract({months:1})):(o.months||o.years)&&x(D.subtract({years:1}))},selectFocusedDate(){M(D)},selectDate($){M($)},isFocused:P,setFocused:F,isInvalid($){return wr($,i,l)},isSelected($){return m!=null&&we($,m)&&!this.isCellDisabled($)&&!this.isCellUnavailable($)},isCellFocused($){return P&&D&&we($,D)},isCellDisabled($){return e.isDisabled||$.compare(E)<0||$.compare(b)>0||this.isInvalid($,i,l)},isCellUnavailable($){return e.isDateUnavailable&&e.isDateUnavailable($)},isPreviousVisibleRangeInvalid(){let $=E.subtract({days:1});return we($,E)||this.isInvalid($,i,l)},isNextVisibleRangeInvalid(){let $=b.add({days:1});return we($,b)||this.isInvalid($,i,l)},getDatesInWeek($,z=E){let H=z.add({weeks:$}),B=[];H=ln(H,n);let L=al(H,n);for(let N=0;N<L;N++)B.push(null);for(;B.length<7;){B.push(H);let N=H.add({days:1});if(we(H,N))break;H=N}for(;B.length<7;)B.push(null);return B}}}function No(e){let t={...e};for(let r in e)t[r]=1;return t}function tb(e){let{value:t,defaultValue:r,onChange:n,createCalendar:a,locale:o,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=rt(t,r||null,n),[p,h]=u.useState(null),m="center";if(c&&c.start&&c.end){let z=Si(Fe(c.start),i,o,l,s).add(i).subtract({days:1});c.end.compare(z)>0&&(m="start")}let v=u.useRef(null),[y,k]=u.useState(null),D=u.useMemo(()=>ll(l,y==null?void 0:y.start),[l,y]),C=u.useMemo(()=>il(s,y==null?void 0:y.end),[s,y]),E=e1({...d,value:c&&c.start,createCalendar:a,locale:o,visibleDuration:i,minValue:D,maxValue:C,selectionAlignment:m}),w=$=>{$&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(v.current={start:iu($,E,-1),end:iu($,E,1)},k(v.current)):(v.current=null,k(null))},[P,F]=u.useState(E.visibleRange);(!ui(E.visibleRange.start,P.start)||!ui(E.visibleRange.end,P.end))&&(w(p),F(E.visibleRange));let b=$=>{$?(h($),w($)):(h(null),w(null))},A=p?_o(p,E.focusedDate):c&&_o(c.start,c.end),S=$=>{if(!e.isReadOnly&&($=Et($,D,C),$=X4($,E.visibleRange.start,e.isDateUnavailable),!!$))if(!p)b($);else{let z=_o(p,$);f({start:ou(z.start,c==null?void 0:c.start),end:ou(z.end,c==null?void 0:c.end)}),b(null)}},[x,M]=u.useState(!1),{isDateUnavailable:R}=e,T=u.useMemo(()=>!c||p?!1:R&&(R(c.start)||R(c.end))?!0:wr(c.start,l,s)||wr(c.end,l,s),[R,c,p,l,s]),K=e.isInvalid||e.validationState==="invalid"||T;return{...E,value:c,setValue:f,anchorDate:p,setAnchorDate:b,highlightedRange:A,validationState:K?"invalid":null,isValueInvalid:K,selectFocusedDate(){S(E.focusedDate)},selectDate:S,highlightDate($){p&&E.setFocusedDate($)},isSelected($){return A&&$.compare(A.start)>=0&&$.compare(A.end)<=0&&!E.isCellDisabled($)&&!E.isCellUnavailable($)},isInvalid($){var z,H;return E.isInvalid($)||wr($,(z=v.current)===null||z===void 0?void 0:z.start,(H=v.current)===null||H===void 0?void 0:H.end)},isDragging:x,setDragging:M}}function _o(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Fe(e),end:Fe(t)})}function ou(e,t){return e=he(e,(t==null?void 0:t.calendar)||new Ve),t&&"hour"in t?t.set(e):e}function iu(e,t,r){let n=e.add({days:r});for(;(r<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:r});return t.isCellUnavailable(n)?n.add({days:-r}):null}function rb(e={}){let[t,r]=rt(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,a=u.useRef(new Map),o=tr({...e,value:t}),i=o.displayValidation.isInvalid;var l;return{...o,value:t,setValue(d){e.isReadOnly||e.isDisabled||r(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||r(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&r(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?r(t.filter(c=>c!==d)):r(t.concat(d)))},setInvalid(d,c){let f=new Map(a.current);c.isInvalid?f.set(d,c):f.delete(d),a.current=f,o.updateValidation(fn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class lu{*[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=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let i of o.childNodes)r(i)};for(let o of t)r(o);let n,a=0;for(let[o,i]of this.keyMap)n?(n.nextKey=o,i.prevKey=n.key):(this.firstKey=o,i.prevKey=void 0),i.type==="item"&&(i.index=a++),n=i,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}class Xe extends Set{constructor(t,r,n){super(t),t instanceof Xe?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function nb(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function ab(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:a="toggle",disabledBehavior:o="all"}=e,i=u.useRef(!1),[,l]=u.useState(!1),s=u.useRef(null),d=u.useRef(null),[,c]=u.useState(null),f=u.useMemo(()=>su(e.selectedKeys),[e.selectedKeys]),p=u.useMemo(()=>su(e.defaultSelectedKeys,new Xe),[e.defaultSelectedKeys]),[h,m]=rt(f,p,e.onSelectionChange),v=u.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[y,k]=u.useState(a);a==="replace"&&y==="toggle"&&typeof h=="object"&&h.size===0&&k("replace");let D=u.useRef(a);return u.useEffect(()=>{a!==D.current&&(k(a),D.current=a)},[a]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:y,setSelectionBehavior:k,get isFocused(){return i.current},setFocused(C){i.current=C,l(C)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(C,E="first"){s.current=C,d.current=E,c(C)},selectedKeys:h,setSelectedKeys(C){(n||!nb(C,h))&&m(C)},disabledKeys:v,disabledBehavior:o}}function su(e,t){return e?e==="all"?"all":new Xe(e):t}class ob{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&&Vo(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&&Vo(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 Xe([t],t,t);else{let n=this.state.selectedKeys,a=n.anchorKey||t;r=new Xe(n,a,t);for(let o of this.getKeyRange(a,n.currentKey||t))r.delete(o);for(let o of this.getKeyRange(t,a))this.canSelectItem(o)&&r.add(o)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),a=this.collection.getItem(r);return n&&a?Vo(this.collection,n,a)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],a=t;for(;a;){let o=this.collection.getItem(a);if((o&&o.type==="item"||o.type==="cell"&&this.allowsCellSelection)&&n.push(a),a===r)return n;a=this.collection.getKeyAfter(a)}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 Xe(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 Xe([t],t,t):new Xe;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Xe;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 a=this.collection.getItem(n);a.type==="item"&&t.push(n),a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&r(sg(zf(a,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 Xe)}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){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(r=n.props)===null||r===void 0)&&r.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled))}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}getItemProps(t){var r;return(r=this.collection.getItem(t))===null||r===void 0?void 0:r.props}constructor(t,r,n){this.collection=t,this.state=r;var a;this.allowsCellSelection=(a=n==null?void 0:n.allowsCellSelection)!==null&&a!==void 0?a:!1,this._isSelectAll=null}}function t1(e){let{filter:t}=e,r=ab(e),n=u.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=u.useCallback(d=>t?new lu(t(d)):new lu(d),[t]),o=u.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=lg(e,a,o),l=u.useMemo(()=>new ob(i,r),[i,r]);const s=u.useRef(null);return u.useEffect(()=>{if(r.focusedKey!=null&&!i.getItem(r.focusedKey)){const d=s.current.getItem(r.focusedKey),c=[...s.current.getKeys()].map(v=>{const y=s.current.getItem(v);return y.type==="item"?y:null}).filter(v=>v!==null),f=[...i.getKeys()].map(v=>{const y=i.getItem(v);return y.type==="item"?y:null}).filter(v=>v!==null),p=c.length-f.length;let h=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),m;for(;h>=0;){if(!l.isDisabled(f[h].key)){m=f[h];break}h<f.length-1?h++:(h>d.index&&(h=d.index),h--)}r.setFocusedKey(m?m.key:null)}s.current=i},[i,l,r,r.focusedKey]),{collection:i,disabledKeys:n,selectionManager:l}}function r1(e){var t;let[r,n]=rt(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),a=u.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:i,selectionManager:l}=t1({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:a,onSelectionChange:d=>{var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=r!=null?o.getItem(r):null;return{collection:o,disabledKeys:i,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:s}}function Mr(e){let[t,r]=rt(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=u.useCallback(()=>{r(!0)},[r]),a=u.useCallback(()=>{r(!1)},[r]),o=u.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:a,toggle:o}}var n1={};n1={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var a1={};a1={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var o1={};o1={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 i1={};i1={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 l1={};l1={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 s1={};s1={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var u1={};u1={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 d1={};d1={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 c1={};c1={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 f1={};f1={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 p1={};p1={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 h1={};h1={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var m1={};m1={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 v1={};v1={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 g1={};g1={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 b1={};b1={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var y1={};y1={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var $1={};$1={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 x1={};x1={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 D1={};D1={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 w1={};w1={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 E1={};E1={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 C1={};C1={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 P1={};P1={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 S1={};S1={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 k1={};k1={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var B1={};B1={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 R1={};R1={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 T1={};T1={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 A1={};A1={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 F1={};F1={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 M1={};M1={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var I1={};I1={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var O1={};O1={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var L1={};L1={"ar-AE":n1,"bg-BG":a1,"cs-CZ":o1,"da-DK":i1,"de-DE":l1,"el-GR":s1,"en-US":u1,"es-ES":d1,"et-EE":c1,"fi-FI":f1,"fr-FR":p1,"he-IL":h1,"hr-HR":m1,"hu-HU":v1,"it-IT":g1,"ja-JP":b1,"ko-KR":y1,"lt-LT":$1,"lv-LV":x1,"nb-NO":D1,"nl-NL":w1,"pl-PL":E1,"pt-BR":C1,"pt-PT":P1,"ro-RO":S1,"ru-RU":k1,"sk-SK":B1,"sl-SI":R1,"sr-SP":T1,"sv-SE":A1,"tr-TR":F1,"uk-UA":M1,"zh-CN":I1,"zh-TW":O1};function ib(e){return e&&e.__esModule?e.default:e}const V1=new Ft(ib(L1));function j1(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Ba(e,t,r,n,a){let o=e!=null&&r!=null&&e.compare(r)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=o||i||l,d=[];if(s){let c=j1(),f=Ft.getGlobalDictionaryForPackage("@react-stately/datepicker")||V1,p=new Bd(c,f),h=new bt(c,Sr({},a)),m=h.resolvedOptions().timeZone;i&&d.push(p.format("rangeUnderflow",{minValue:h.format(t.toDate(m))})),o&&d.push(p.format("rangeOverflow",{maxValue:h.format(r.toDate(m))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:o,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function lb(e,t,r,n,a){let o=Ba(e==null?void 0:e.start,t,r,n,a),i=Ba(e==null?void 0:e.end,t,r,n,a),l=fn(o,i);if(e.end!=null&&e.start!=null&&e.end.compare(e.start)<0){let s=Ft.getGlobalDictionaryForPackage("@react-stately/datepicker")||V1;l=fn(l,{isInvalid:!0,validationErrors:[s.getStringForLocale("rangeReversed",j1())],validationDetails:{...Ha,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return l}const sb={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},ub={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Sr(e,t){e={...t.shouldForceLeadingZeros?ub:sb,...e};let n=t.granularity||"minute",a=Object.keys(e);var o;let i=a.indexOf((o=t.maxGranularity)!==null&&o!==void 0?o:"year");i<0&&(i=0);let l=a.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=a.slice(i,l+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&i===0&&(s.era="short"),s}function gr(e){return e&&"hour"in e?e:new hl}function K1(e,t){if(e===null)return null;if(e)return he(e,t)}function _r(e,t,r,n){if(e)return K1(e,r);let a=he(Ad(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?Fe(a):n?a:We(a)}function Tl(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[a,o]=u.useState([n,r]);e&&(a[0]!==n||a[1]!==r)&&o([n,r]),t||(t=e?n:a[0]);let i=e?r:a[1];return[t,i]}function db(e){let t=Mr(e),[r,n]=rt(e.value,e.defaultValue||null,e.onChange),a=r||e.placeholderValue,[o,i]=Tl(a,e.granularity),l=r!=null?r.toDate(i??"UTC"):null,s=o==="hour"||o==="minute"||o==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=u.useState(null),[h,m]=u.useState(null);if(r&&(f=r,"hour"in r&&(h=r)),a&&!(o in a))throw new Error("Invalid granularity "+o+" for value "+a.toString());let v=(r==null?void 0:r.calendar.identifier)==="gregory"&&r.era==="BC",y=u.useMemo(()=>({granularity:o,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:v}),[o,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,v]),{minValue:k,maxValue:D,isDateUnavailable:C}=e,E=u.useMemo(()=>Ba(r,k,D,C,y),[r,k,D,C,y]),w=tr({...e,value:r,builtinValidation:E}),P=w.displayValidation.isInvalid,F=e.validationState||(P?"invalid":null),b=(x,M)=>{n("timeZone"in M?M.set(Fe(x)):We(x,M)),p(null),m(null),w.commitValidation()};return{...w,value:r,setValue:n,dateValue:f,timeValue:h,setDateValue:x=>{let M=typeof c=="function"?c():c;s?h||M?b(x,h||gr(e.placeholderValue)):p(x):(n(x),w.commitValidation()),M&&t.setOpen(!1)},setTimeValue:x=>{f&&x?b(f,x):m(x)},granularity:o,hasTime:s,...t,setOpen(x){!x&&!r&&f&&s&&b(f,h||gr(e.placeholderValue)),t.setOpen(x)},validationState:F,isInvalid:P,formatValue(x,M){if(!l)return"";let R=Sr(M,y);return new bt(x,R).format(l)}}}const cb=new Ft({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 fb(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?cb.getStringForLocale(e,r):"––"}const Un={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},uu={year:5,month:2,day:7,hour:2,minute:15,second:15},pb={dayperiod:"dayPeriod"};function hb(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:a,isReadOnly:o,isRequired:i,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue,[f,p]=Tl(c,e.granularity),h=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let m=u.useMemo(()=>new bt(t),[t]),v=u.useMemo(()=>r(m.resolvedOptions().calendar),[r,m]),[y,k]=rt(e.value,e.defaultValue,e.onChange),D=u.useMemo(()=>K1(y,v),[y,v]),[C,E]=u.useState(()=>_r(e.placeholderValue,f,v,p)),w=D||C,P=v.identifier==="gregory"&&w.era==="BC",F=u.useMemo(()=>{var I;return{granularity:f,maxGranularity:(I=e.maxGranularity)!==null&&I!==void 0?I:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:P,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,P]),b=u.useMemo(()=>Sr({},F),[F]),A=u.useMemo(()=>new bt(t,b),[t,b]),S=u.useMemo(()=>A.resolvedOptions(),[A]),x=u.useMemo(()=>A.formatToParts(new Date).filter(I=>Un[I.type]).reduce((I,_)=>(I[_.type]=!0,I),{}),[A]),[M,R]=u.useState(()=>e.value||e.defaultValue?{...x}:{}),T=u.useRef(),K=u.useRef(v.identifier);u.useEffect(()=>{v.identifier!==K.current&&(K.current=v.identifier,E(I=>Object.keys(M).length>0?he(I,v):_r(e.placeholderValue,f,v,p)))},[v,f,M,p,e.placeholderValue]),y&&Object.keys(M).length<Object.keys(x).length&&(M={...x},R(M)),y==null&&Object.keys(M).length===Object.keys(x).length&&(M={},R(M),E(_r(e.placeholderValue,f,v,p)));let O=D&&Object.keys(M).length>=Object.keys(x).length?D:C,$=I=>{if(e.isDisabled||e.isReadOnly)return;let _=Object.keys(M),Z=Object.keys(x);I==null?(k(null),E(_r(e.placeholderValue,f,v,p)),R({})):_.length>=Z.length||_.length===Z.length-1&&x.dayPeriod&&!M.dayPeriod&&T.current!=="dayPeriod"?(I=he(I,(c==null?void 0:c.calendar)||new Ve),k(I)):E(I),T.current=null},z=u.useMemo(()=>O.toDate(h),[O,h]),H=u.useMemo(()=>A.formatToParts(z).map(I=>{let _=Un[I.type];I.type==="era"&&v.getEras().length===1&&(_=!1);let Z=Un[I.type]&&!M[I.type],Y=Un[I.type]?fb(I.type,I.value,t):null;return{type:pb[I.type]||I.type,text:Z?Y:I.value,...mb(O,I.type,S),isPlaceholder:Z,placeholder:Y,isEditable:_}}),[z,M,A,S,O,v,t]);x.era&&M.year&&!M.era?(M.era=!0,R({...M})):!x.era&&M.era&&(delete M.era,R({...M}));let B=I=>{M[I]=!0,I==="year"&&x.era&&(M.era=!0),R({...M})},L=(I,_)=>{if(M[I])$(vb(O,I,_,S));else{B(I);let Z=Object.keys(M),Y=Object.keys(x);(Z.length>=Y.length||Z.length===Y.length-1&&x.dayPeriod&&!M.dayPeriod)&&$(O)}},N=u.useMemo(()=>Ba(y,l,s,d,F),[y,l,s,d,F]),G=tr({...e,value:y,builtinValidation:N}),W=G.displayValidation.isInvalid,Q=e.validationState||(W?"invalid":null);var q;return{...G,value:D,dateValue:z,calendar:v,setValue:$,segments:H,dateFormatter:A,validationState:Q,isInvalid:W,granularity:f,maxGranularity:(q=e.maxGranularity)!==null&&q!==void 0?q:"year",isDisabled:a,isReadOnly:o,isRequired:i,increment(I){L(I,1)},decrement(I){L(I,-1)},incrementPage(I){L(I,uu[I]||1)},decrementPage(I){L(I,-(uu[I]||1))},setSegment(I,_){B(I),$(gb(O,I,_,S))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let I=Object.keys(M),_=Object.keys(x);I.length===_.length-1&&x.dayPeriod&&!M.dayPeriod&&(M={...x},R(M),$(O.copy()))},clearSegment(I){delete M[I],T.current=I,R({...M});let _=_r(e.placeholderValue,f,v,p),Z=O;if(I==="dayPeriod"&&"hour"in O&&"hour"in _){let Y=O.hour>=12,re=_.hour>=12;Y&&!re?Z=O.set({hour:O.hour-12}):!Y&&re&&(Z=O.set({hour:O.hour+12}))}else I in O&&(Z=O.set({[I]:_[I]}));k(null),$(Z)},formatValue(I){if(!D)return"";let _=Sr(I,F);return new bt(t,_).format(z)}}}function mb(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:cv(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:fv(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 vb(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 a=e.hour,o=a>=12;return e.set({hour:o?a-12:a+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function gb(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 a=e.hour,o=a>=12;return r>=12===o?e:e.set({hour:o?a-12:a+12})}case"hour":if(n.hour12){let o=e.hour>=12;!o&&r===12&&(r=0),o&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function bb(e){var t,r;let n=Mr(e),[a,o]=rt(e.value,e.defaultValue||null,e.onChange),[i,l]=u.useState(()=>a||{start:null,end:null});a==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=a||i,d=O=>{l(O||{start:null,end:null}),O!=null&&O.start&&O.end?o(O):o(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue,[f,p]=Tl(c,e.granularity),h=f==="hour"||f==="minute"||f==="second";var m;let v=(m=e.shouldCloseOnSelect)!==null&&m!==void 0?m:!0,[y,k]=u.useState(null),[D,C]=u.useState(null);s&&s.start&&s.end&&(y=s,"hour"in s.start&&(D=s));let E=(O,$)=>{d({start:"timeZone"in $.start?$.start.set(Fe(O.start)):We(O.start,$.start),end:"timeZone"in $.end?$.end.set(Fe(O.end)):We(O.end,$.end)}),k(null),C(null),R.commitValidation()},w=O=>{let $=typeof v=="function"?v():v;h?$||O.start&&O.end&&(D!=null&&D.start)&&(D!=null&&D.end)?E(O,{start:(D==null?void 0:D.start)||gr(e.placeholderValue),end:(D==null?void 0:D.end)||gr(e.placeholderValue)}):k(O):O.start&&O.end?(d(O),R.commitValidation()):k(O),$&&n.setOpen(!1)},P=O=>{y!=null&&y.start&&(y!=null&&y.end)&&O.start&&O.end?E(y,O):C(O)},F=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(r=s.end)===null||r===void 0?void 0:r.calendar.identifier)==="gregory"&&s.end.era==="BC",b=u.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:F}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,F]),{minValue:A,maxValue:S,isDateUnavailable:x}=e,M=u.useMemo(()=>lb(s,A,S,x,b),[s,A,S,x,b]),R=tr({...e,value:a,name:u.useMemo(()=>[e.startName,e.endName],[e.startName,e.endName]),builtinValidation:M}),T=R.displayValidation.isInvalid,K=e.validationState||(T?"invalid":null);return{...R,value:s,setValue:d,dateRange:y,timeRange:D,granularity:f,hasTime:h,setDate(O,$){w({...y,[O]:$})},setTime(O,$){P({...D,[O]:$})},setDateTime(O,$){d({...s,[O]:$})},setDateRange:w,setTimeRange:P,...n,setOpen(O){!O&&!(s!=null&&s.start&&(s!=null&&s.end))&&(y!=null&&y.start)&&(y!=null&&y.end)&&h&&E(y,{start:(D==null?void 0:D.start)||gr(e.placeholderValue),end:(D==null?void 0:D.end)||gr(e.placeholderValue)}),n.setOpen(O)},validationState:K,isInvalid:T,formatValue(O,$){if(!s||!s.start||!s.end)return null;let z="timeZone"in s.start?s.start.timeZone:void 0,H=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),B="timeZone"in s.end?s.end.timeZone:void 0,L=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),N=Sr($,{granularity:H,timeZone:z,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),G=s.start.toDate(z||"UTC"),W=s.end.toDate(B||"UTC"),Q=new bt(O,N),q;if(z===B&&H===L&&s.start.compare(s.end)!==0){try{let I=Q.formatRangeToParts(G,W),_=-1;for(let re=0;re<I.length;re++){let j=I[re];if(j.source==="shared"&&j.type==="literal")_=re;else if(j.source==="endRange")break}let Z="",Y="";for(let re=0;re<I.length;re++)re<_?Z+=I[re].value:re>_&&(Y+=I[re].value);return{start:Z,end:Y}}catch{}q=Q}else{let I=Sr($,{granularity:L,timeZone:B,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});q=new bt(O,I)}return{start:Q.format(G),end:q.format(W)}}}}function yb(e){let t=Mr(e),[r,n]=u.useState(null),a=r1({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),o.commitValidation()}}),o=tr({...e,value:a.selectedKey}),[i,l]=u.useState(!1);return{...o,...a,...t,focusStrategy:r,open(s=null){a.collection.size!==0&&(n(s),t.open())},toggle(s=null){a.collection.size!==0&&(n(s),t.toggle())},isFocused:i,setFocused:l}}function $b(e){var t;let r=r1({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:du(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:n,collection:a,selectedKey:o}=r,i=u.useRef(o);return u.useEffect(()=>{let l=o;(n.isEmpty||!a.getItem(l))&&(l=du(a,r.disabledKeys),l!=null&&n.setSelectedKeys([l])),(l!=null&&n.focusedKey==null||!n.isFocused&&l!==i.current)&&n.setFocusedKey(l),i.current=l}),{...r,isDisabled:e.isDisabled||!1}}function du(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 N1=u.createContext({}),_1=u.createContext({}),Ua=u.createContext(null),Wa=u.createContext(null);function xb(e,t){[e,t]=ge(e,t,N1);let{locale:r}=Se(),n=e1({...e,locale:r,createCalendar:bl}),{calendarProps:a,prevButtonProps:o,nextButtonProps:i,errorMessageProps:l,title:s}=x3(e,n),d=fe({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-Calendar"});return u.createElement("div",{...d,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},u.createElement(je,{values:[[Fr,{slots:{previous:o,next:i}}],[Ma,{"aria-hidden":!0,level:2,children:s}],[Ua,n],[It,{slots:{errorMessage:l}}]]},u.createElement(Jt,null,u.createElement("h2",null,a["aria-label"])),d.children,u.createElement(Jt,null,u.createElement("button",{"aria-label":i["aria-label"],disabled:i.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const Db=u.forwardRef(xb);function wb(e,t){[e,t]=ge(e,t,_1);let{locale:r}=Se(),n=tb({...e,locale:r,createCalendar:bl}),{calendarProps:a,prevButtonProps:o,nextButtonProps:i,errorMessageProps:l,title:s}=D3(e,n,t),d=fe({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return u.createElement("div",{...d,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},u.createElement(je,{values:[[Fr,{slots:{previous:o,next:i}}],[Ma,{"aria-hidden":!0,level:2,children:s}],[Wa,n],[It,{slots:{errorMessage:l}}]]},u.createElement(Jt,null,u.createElement("h2",null,a["aria-label"])),d.children,u.createElement(Jt,null,u.createElement("button",{"aria-label":i["aria-label"],disabled:i.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const Eb=u.forwardRef(wb),Ga=u.createContext(null);function Cb(e,t){let r=u.useContext(Ua),n=u.useContext(Wa),a=r??n,o=a.visibleRange.start;e.offset&&(o=o.add(e.offset));let{gridProps:i,headerProps:l,weekDays:s}=w3({startDate:o,endDate:$a(o),weekdayStyle:e.weekdayStyle},a);var d;return u.createElement(Ga.Provider,{value:{headerProps:l,weekDays:s,startDate:o}},u.createElement("table",{...te(e),...i,ref:t,style:e.style,className:(d=e.className)!==null&&d!==void 0?d:"react-aria-CalendarGrid"},typeof e.children!="function"?e.children:u.createElement(u.Fragment,null,u.createElement(kb,null,c=>u.createElement(Rb,null,c)),u.createElement(Ab,null,e.children))))}const Pb=u.forwardRef(Cb);function Sb(e,t){let{children:r,style:n,className:a}=e,{headerProps:o,weekDays:i}=u.useContext(Ga);return u.createElement("thead",{...te(e),...o,ref:t,style:n,className:a||"react-aria-CalendarGridHeader"},u.createElement("tr",null,i.map((l,s)=>u.cloneElement(r(l),{key:s}))))}const kb=u.forwardRef(Sb);function Bb(e,t){let{children:r,style:n,className:a}=e;return u.createElement("th",{...te(e),ref:t,style:n,className:a||"react-aria-CalendarHeaderCell"},r)}const Rb=u.forwardRef(Bb);function Tb(e,t){let{children:r,style:n,className:a}=e,o=u.useContext(Ua),i=u.useContext(Wa),l=o??i,{startDate:s}=u.useContext(Ga),{locale:d}=Se(),c=vv(s,d);return u.createElement("tbody",{...te(e),ref:t,style:n,className:a||"react-aria-CalendarGridBody"},[...new Array(c).keys()].map(f=>u.createElement("tr",{key:f},l.getDatesInWeek(f,s).map((p,h)=>p?u.cloneElement(r(p),{key:h}):u.createElement("td",{key:h})))))}const Ab=u.forwardRef(Tb);function Fb({date:e,...t},r){let n=u.useContext(Ua),a=u.useContext(Wa),o=n??a;var i;let{startDate:l}=(i=u.useContext(Ga))!==null&&i!==void 0?i:{startDate:o.visibleRange.start},s=u.useRef(null),{cellProps:d,buttonProps:c,...f}=C3({date:e},o,s),{hoverProps:p,isHovered:h}=nt({...t,isDisabled:f.isDisabled}),{focusProps:m,isFocusVisible:v}=Me();v&&(v=f.isFocused);let y=!sv(l,e),k=!1,D=!1;"highlightedRange"in o&&o.highlightedRange&&(k=we(e,o.highlightedRange.start),D=we(e,o.highlightedRange.end));let C=fe({...t,defaultChildren:f.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:e,isHovered:h,isOutsideMonth:y,isFocusVisible:v,isSelectionStart:k,isSelectionEnd:D,...f}}),E={"data-focused":f.isFocused||void 0,"data-hovered":h||void 0,"data-pressed":f.isPressed||void 0,"data-unavailable":f.isUnavailable||void 0,"data-disabled":f.isDisabled||void 0,"data-focus-visible":v||void 0,"data-outside-visible-range":f.isOutsideVisibleRange||void 0,"data-outside-month":y||void 0,"data-selected":f.isSelected||void 0,"data-selection-start":k||void 0,"data-selection-end":D||void 0,"data-invalid":f.isInvalid||void 0};return u.createElement("td",{...d,ref:r},u.createElement("div",{...U(te(t),c,m,p,E,C),ref:s}))}const Mb=u.forwardRef(Fb),qa=u.createContext(null),Rn=u.createContext(null),Ya=u.createContext({}),Ib=u.createContext(null),z1=u.createContext(null);function Ob(e,t){[e,t]=ge(e,t,Ib);let{validationBehavior:r}=Mt(Rn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=rb({...e,validationBehavior:o}),[l,s]=Bn(),{groupProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p,...h}=A3({...e,label:s,validationBehavior:o},i),m=fe({...e,values:{isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:e.isRequired||!1,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-CheckboxGroup"});return u.createElement("div",{...d,...m,ref:t,slot:e.slot||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":i.isInvalid||void 0,"data-disabled":e.isDisabled||void 0},u.createElement(je,{values:[[z1,i],[Ya,{...c,ref:l,elementType:"span"}],[It,{slots:{description:f,errorMessage:p}}],[qa,h]]},m.children))}function Lb(e,t){let{inputRef:r=null,...n}=e;[e,t]=ge(n,t,Oh);let{validationBehavior:a}=Mt(Rn)||{};var o,i;let l=(i=(o=e.validationBehavior)!==null&&o!==void 0?o:a)!==null&&i!==void 0?i:"native",s=u.useContext(z1),d=Ye($n(r,e.inputRef!==void 0?e.inputRef:null)),{labelProps:c,inputProps:f,isSelected:p,isDisabled:h,isReadOnly:m,isPressed:v,isInvalid:y}=s?F3({...e,value:e.value,children:typeof e.children=="function"?!0:e.children},s,d):Zc({...e,children:typeof e.children=="function"?!0:e.children,validationBehavior:l},xl(e),d),{isFocused:k,isFocusVisible:D,focusProps:C}=Me(),E=h||m,{hoverProps:w,isHovered:P}=nt({...e,isDisabled:E}),F=fe({...e,defaultClassName:"react-aria-Checkbox",values:{isSelected:p,isIndeterminate:e.isIndeterminate||!1,isPressed:v,isHovered:P,isFocused:k,isFocusVisible:D,isDisabled:h,isReadOnly:m,isInvalid:y,isRequired:e.isRequired||!1}}),b=te(e);return delete b.id,u.createElement("label",{...U(b,c,w,F),ref:t,slot:e.slot||void 0,"data-selected":p||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-pressed":v||void 0,"data-hovered":P||void 0,"data-focused":k||void 0,"data-focus-visible":D||void 0,"data-disabled":h||void 0,"data-readonly":m||void 0,"data-invalid":y||void 0,"data-required":e.isRequired||void 0},u.createElement(Jt,{elementType:"span"},u.createElement("input",{...U(f,C),ref:d})),F.children)}const Vb=u.forwardRef(Lb),jb=u.forwardRef(Ob),H1=u.createContext({});let Kb=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...a}=e;return a};function Nb(e,t){[e,t]=ge(e,t,H1);let{hoverProps:r,isHovered:n}=nt(e),{isFocused:a,isFocusVisible:o,focusProps:i}=Me({isTextInput:!0,autoFocus:e.autoFocus}),l=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",s=fe({...e,values:{isHovered:n,isFocused:a,isFocusVisible:o,isDisabled:e.disabled||!1,isInvalid:l},defaultClassName:"react-aria-Input"});return u.createElement("input",{...U(Kb(e),i,r),...s,ref:t,"data-focused":a||void 0,"data-disabled":e.disabled||void 0,"data-hovered":n||void 0,"data-focus-visible":o||void 0,"data-invalid":l||void 0})}const _b=Rl(Nb);var Z1={};Z1={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var U1={};U1={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var W1={};W1={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var G1={};G1={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var q1={};q1={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var Y1={};Y1={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var J1={};J1={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var Q1={};Q1={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var X1={};X1={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var ep={};ep={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var tp={};tp={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var rp={};rp={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var np={};np={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var ap={};ap={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var op={};op={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var ip={};ip={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var lp={};lp={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var sp={};sp={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var up={};up={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var dp={};dp={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var cp={};cp={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var fp={};fp={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var pp={};pp={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var hp={};hp={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var mp={};mp={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var vp={};vp={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var gp={};gp={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var bp={};bp={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var yp={};yp={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var $p={};$p={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var xp={};xp={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var Dp={};Dp={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var wp={};wp={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var Ep={};Ep={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var Cp={};Cp={"ar-AE":Z1,"bg-BG":U1,"cs-CZ":W1,"da-DK":G1,"de-DE":q1,"el-GR":Y1,"en-US":J1,"es-ES":Q1,"et-EE":X1,"fi-FI":ep,"fr-FR":tp,"he-IL":rp,"hr-HR":np,"hu-HU":ap,"it-IT":op,"ja-JP":ip,"ko-KR":lp,"lt-LT":sp,"lv-LV":up,"nb-NO":dp,"nl-NL":cp,"pl-PL":fp,"pt-BR":pp,"pt-PT":hp,"ro-RO":mp,"ru-RU":vp,"sk-SK":gp,"sl-SI":bp,"sr-SP":yp,"sv-SE":$p,"tr-TR":xp,"uk-UA":Dp,"zh-CN":wp,"zh-TW":Ep};const Pp=u.createContext(null);function zb(e,t){let{render:r}=u.useContext(Pp);return u.createElement(u.Fragment,null,r(e,t))}const Hb=u.forwardRef(zb),Al=u.createContext({}),Zb=u.createContext({});function Ub(e,t){let[r,n]=ge(e,t,Zb),a=q4("header",e,t);return a||u.createElement("header",{className:"react-aria-Header",...r,ref:n},r.children)}const Wb=u.forwardRef(Ub),Sp=u.createContext({});function Gb(e,t){let[r,n]=ge(e,t,Sp),{elementType:a,orientation:o,style:i,className:l}=r,s=a||"hr";s==="hr"&&o==="vertical"&&(s="div");let{separatorProps:d}=Ag({elementType:a,orientation:o}),c=q4("separator",e,t);return c||u.createElement(s,{...te(r),...d,style:i,className:l??"react-aria-Separator",ref:n,slot:r.slot||void 0})}const qb=u.forwardRef(Gb),Fl=u.createContext(null),Tn=u.createContext(null);function Yb(e,t){[e,t]=ge(e,t,Fl);let r=u.useContext(hn),n=u.useContext(Tn);return u.useContext(kn)?u.createElement(G4,e):n?r?null:u.createElement(kp,{state:n,props:e,listBoxRef:t}):u.createElement(Jb,{props:e,listBoxRef:t})}function Jb({props:e,listBoxRef:t}){let{portal:r,collection:n}=Zg(e);e={...e,collection:n,children:null,items:null};let a=t1(e);return u.createElement(u.Fragment,null,r,u.createElement(kp,{state:a,props:e,listBoxRef:t}))}const Qb=u.forwardRef(Yb);function kp({state:e,props:t,listBoxRef:r}){let{dragAndDropHooks:n,layout:a="stack",orientation:o="vertical"}=t,{collection:i,selectionManager:l}=e,s=!!(n!=null&&n.useDraggableCollectionState),d=!!(n!=null&&n.useDroppableCollectionState),{direction:c}=Se(),{disabledBehavior:f,disabledKeys:p}=l,h=za({usage:"search",sensitivity:"base"}),m=u.useMemo(()=>t.keyboardDelegate||new wl({collection:i,collator:h,ref:r,disabledKeys:p,disabledBehavior:f,layout:a,orientation:o,direction:c}),[i,h,r,f,p,o,c,t.keyboardDelegate,a]),{listBoxProps:v}=ag({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:m},e,r),y=Pl({items:i,children:K=>{switch(K.type){case"section":return u.createElement(Xb,{section:K});case"separator":return u.createElement(qb,K.props);case"item":return u.createElement(Bp,{item:K});default:throw new Error("Unsupported node type in Menu: "+K.type)}}}),k=u.useRef(s),D=u.useRef(d);u.useEffect(()=>{k.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),D.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[s,d]);let C,E,w,P=!1,F=null,b=u.useRef(null);if(s&&n){C=n.useDraggableCollectionState({collection:i,selectionManager:l,preview:n.renderDragPreview?b:void 0}),n.useDraggableCollection({},C,r);let K=n.DragPreview;F=n.renderDragPreview?u.createElement(K,{ref:b},n.renderDragPreview):null}if(d&&n){E=n.useDroppableCollectionState({collection:i,selectionManager:l});let K=n.dropTargetDelegate||new n.ListDropTargetDelegate(i,r,{orientation:o,layout:a,direction:c});w=n.useDroppableCollection({keyboardDelegate:m,dropTargetDelegate:K},E,r),P=E.isDropTarget({type:"root"})}let{focusProps:A,isFocused:S,isFocusVisible:x}=Me(),M={isDropTarget:P,isEmpty:e.collection.size===0,isFocused:S,isFocusVisible:x,layout:t.layout||"stack",state:e},R=fe({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:M}),T=null;return e.collection.size===0&&t.renderEmptyState&&(T=u.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(M))),u.createElement(wd,null,u.createElement("div",{...te(t),...U(v,A,w==null?void 0:w.collectionProps),...R,ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":P||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":S||void 0,"data-focus-visible":x||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},u.createElement(je,{values:[[Fl,t],[Tn,e],[Al,{dragAndDropHooks:n,dragState:C,dropState:E}],[Sp,{elementType:"div"}],[Pp,{render:n5}]]},y),T,F))}function Xb({section:e,className:t,style:r}){var n,a;let o=u.useContext(Tn),[i,l]=Bn();var s;let{headingProps:d,groupProps:c}=fg({heading:l,"aria-label":(s=e.props["aria-label"])!==null&&s!==void 0?s:void 0}),f=Pl({items:o.collection.getChildren(e.key),children:p=>{switch(p.type){case"header":return u.createElement(e5,{item:p,headingProps:d,headingRef:i});case"item":return u.createElement(Bp,{item:p});default:throw new Error("Unsupported element type in Section: "+p.type)}}});return u.createElement("section",{...te(e.props),...c,className:t||((n=e.props)===null||n===void 0?void 0:n.className)||"react-aria-Section",style:r||((a=e.props)===null||a===void 0?void 0:a.style),ref:e.props.ref},f)}function e5({item:e,headingProps:t,headingRef:r}){let{ref:n,...a}=e.props;return u.createElement(Wb,{...t,...a,ref:$n(r,n)},e.rendered)}function t5(e,t){return kl("item",e,t,e.children)}const r5=u.forwardRef(t5);function Bp({item:e}){var t;let r=Ye(e.props.ref),n=u.useContext(Tn),{dragAndDropHooks:a,dragState:o,dropState:i}=u.useContext(Al),{optionProps:l,labelProps:s,descriptionProps:d,...c}=cg({key:e.key,"aria-label":(t=e.props)===null||t===void 0?void 0:t["aria-label"]},n,r),{hoverProps:f,isHovered:p}=nt({isDisabled:!c.allowsSelection&&!c.hasAction,onHoverStart:e.props.onHoverStart,onHoverChange:e.props.onHoverChange,onHoverEnd:e.props.onHoverEnd}),h=null;o&&a&&(h=a.useDraggableItem({key:e.key},o));let m=null;i&&a&&(m=a.useDroppableItem({target:{type:"item",key:e.key,dropPosition:"on"}},i,r));let v=e.props,y=o&&o.isDragging(e.key),k=fe({...v,id:void 0,children:e.rendered,defaultClassName:"react-aria-ListBoxItem",values:{...c,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior,allowsDragging:!!o,isDragging:y,isDropTarget:m==null?void 0:m.isDropTarget}}),D=(a==null?void 0:a.renderDropIndicator)||(E=>u.createElement(Hb,{target:E}));u.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 C=v.href?"a":"div";return u.createElement(u.Fragment,null,(a==null?void 0:a.useDropIndicator)&&D({type:"item",key:e.key,dropPosition:"before"}),u.createElement(C,{...U(l,f,h==null?void 0:h.dragProps,m==null?void 0:m.dropProps),...k,ref:r,"data-allows-dragging":!!o||void 0,"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":c.isFocusVisible||void 0,"data-pressed":c.isPressed||void 0,"data-dragging":y||void 0,"data-drop-target":(m==null?void 0:m.isDropTarget)||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},u.createElement(je,{values:[[It,{slots:{label:s,description:d}}]]},k.children)),(a==null?void 0:a.useDropIndicator)&&n.collection.getKeyAfter(e.key)==null&&D({type:"item",key:e.key,dropPosition:"after"}))}function n5(e,t){t=Ye(t);let{dragAndDropHooks:r,dropState:n}=u.useContext(Al),{dropIndicatorProps:a,isHidden:o,isDropTarget:i}=r.useDropIndicator(e,n,t);return o?null:u.createElement(o5,{...e,dropIndicatorProps:a,isDropTarget:i,ref:t})}function a5(e,t){let{dropIndicatorProps:r,isDropTarget:n,...a}=e,o=fe({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return u.createElement("div",{...r,...o,role:"option",ref:t,"data-drop-target":n||void 0})}const o5=u.forwardRef(a5),Ja=u.createContext({});function i5(e,t){[e,t]=ge(e,t,Ja);let{isDisabled:r,isInvalid:n,onHoverStart:a,onHoverChange:o,onHoverEnd:i,...l}=e,{hoverProps:s,isHovered:d}=nt({onHoverStart:a,onHoverChange:o,onHoverEnd:i,isDisabled:r}),{isFocused:c,isFocusVisible:f,focusProps:p}=Me({within:!0});r??(r=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),n??(n=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let h=fe({...e,values:{isHovered:d,isFocusWithin:c,isFocusVisible:f,isDisabled:r,isInvalid:n},defaultClassName:"react-aria-Group"});var m,v;return u.createElement("div",{...U(l,p,s),...h,ref:t,role:(m=e.role)!==null&&m!==void 0?m:"group",slot:(v=e.slot)!==null&&v!==void 0?v:void 0,"data-focus-within":c||void 0,"data-hovered":d||void 0,"data-focus-visible":f||void 0,"data-disabled":r||void 0,"data-invalid":n||void 0},h.children)}const Ml=u.forwardRef(i5),l5=u.createContext({placement:"bottom"}),An=u.createContext(null);function s5(e,t){[e,t]=ge(e,t,An);let r=u.useContext(wt),n=Mr(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,o=Pi(t,a.isOpen)||e.isExiting||!1;if(u.useContext(hn)){let l=e.children;return typeof l=="function"&&(l=l({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),u.createElement(u.Fragment,null,l)}return a&&!a.isOpen&&!o?null:u.createElement(u5,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:o})}const Il=u.forwardRef(s5);function u5({state:e,isExiting:t,UNSTABLE_portalContainer:r,...n}){let a=u.useRef(null),[o,i]=u.useState(0);ie(()=>{a.current&&e.isOpen&&i(a.current.getBoundingClientRect().width)},[e.isOpen,a]);var l;let{popoverProps:s,underlayProps:d,arrowProps:c,placement:f}=q3({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:o},e),p=n.popoverRef,h=Bl(p,!!f)||n.isEntering||!1,m=fe({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:h,isExiting:t}}),v={...s.style,...m.style};return u.createElement(Vf,{isExiting:t,portalContainer:r},!n.isNonModal&&e.isOpen&&u.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),u.createElement("div",{...U(te(n),s),...m,ref:p,slot:n.slot||void 0,style:v,"data-trigger":n.trigger,"data-placement":f,"data-entering":h||void 0,"data-exiting":t||void 0},!n.isNonModal&&u.createElement(xi,{onDismiss:e.close}),u.createElement(l5.Provider,{value:{...c,placement:f,ref:a}},m.children),u.createElement(xi,{onDismiss:e.close})))}const Qa=u.createContext(null),wt=u.createContext(null);function d5(e){let t=Mr(e),r=u.useRef(null),{triggerProps:n,overlayProps:a}=Jc({type:"dialog"},t,r);return n.id=Re(),a["aria-labelledby"]=n.id,u.createElement(je,{values:[[wt,t],[Qa,a],[An,{trigger:"DialogTrigger",triggerRef:r}]]},u.createElement(Dm,{...n,ref:r,isPressed:t.isOpen},e.children))}function c5(e,t){let r=e["aria-labelledby"];[e,t]=ge(e,t,Qa);let{dialogProps:n,titleProps:a}=kg({...e,"aria-labelledby":r},t),o=u.useContext(wt),i=e.children;typeof i=="function"&&(i=i({close:(o==null?void 0:o.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 l;return u.createElement("section",{...te(e),...n,ref:t,slot:e.slot||void 0,style:e.style,className:(l=e.className)!==null&&l!==void 0?l:"react-aria-Dialog"},u.createElement(je,{values:[[Ma,{slots:{[Ci]:{},title:{...a,level:2}}}]]},i))}const Ol=u.forwardRef(c5),Ll=u.createContext(null),Xa=u.createContext(null),Vl=u.createContext(null);function f5(e,t){let r=u.useContext(Xa),n=u.useContext(Vl);return r||n?u.createElement(Rp,{...e,ref:t}):u.createElement(p5,{...e,ref:t})}const p5=u.forwardRef((e,t)=>{let[r,n]=ge({slot:e.slot},t,Ll),{locale:a}=Se(),o=hb({...r,locale:a,createCalendar:bl}),i=u.useRef(null),{fieldProps:l,inputProps:s}=vg({...r,inputRef:i},o,n);return u.createElement(je,{values:[[Xa,o],[H1,{...s,ref:i}],[Ja,{...l,ref:n,isInvalid:o.isInvalid}]]},u.createElement(Rp,e))}),Rp=u.forwardRef((e,t)=>{let{className:r,children:n}=e,a=u.useContext(Xa),o=u.useContext(Vl),i=a??o;return u.createElement(u.Fragment,null,u.createElement(Ml,{...e,ref:t,slot:e.slot||void 0,className:r??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,s)=>u.cloneElement(n(l),{key:s}))),u.createElement(_b,null))}),Tp=u.forwardRef(f5);function h5({segment:e,...t},r){let n=u.useContext(Xa),a=u.useContext(Vl),o=n??a,i=Ye(r),{segmentProps:l}=Eg(e,o,i),{focusProps:s,isFocused:d,isFocusVisible:c}=Me(),{hoverProps:f,isHovered:p}=nt({...t,isDisabled:o.isDisabled||e.type==="literal"}),h=fe({...t,values:{...e,isReadOnly:!e.isEditable,isInvalid:o.isInvalid,isDisabled:o.isDisabled,isHovered:p,isFocused:d,isFocusVisible:c},defaultChildren:e.text,defaultClassName:"react-aria-DateSegment"});return u.createElement("div",{...U(te(t),l,s,f),...h,ref:i,"data-placeholder":e.isPlaceholder||void 0,"data-invalid":o.isInvalid||void 0,"data-readonly":!e.isEditable||void 0,"data-disabled":o.isDisabled||void 0,"data-type":e.type,"data-hovered":p||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0})}const Bi=u.forwardRef(h5),m5=u.createContext(null),v5=u.createContext(null),g5=u.createContext(null),b5=u.createContext(null);function y5(e,t){[e,t]=ge(e,t,m5);let{validationBehavior:r}=Mt(Rn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=db({...e,validationBehavior:o}),l=u.useRef(null),[s,d]=Bn(),{groupProps:c,labelProps:f,fieldProps:p,buttonProps:h,dialogProps:m,calendarProps:v,descriptionProps:y,errorMessageProps:k,...D}=bg({...Za(e),label:d,validationBehavior:o},i,l),[C,E]=u.useState(null),w=u.useCallback(()=>{l.current&&E(l.current.offsetWidth+"px")},[]);La({ref:l,onResize:w});let{focusProps:P,isFocused:F,isFocusVisible:b}=Me({within:!0}),A=fe({...e,values:{state:i,isFocusWithin:F,isFocusVisible:b,isDisabled:e.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DatePicker"}),S=te(e);return delete S.id,u.createElement(je,{values:[[g5,i],[Ja,{...c,ref:l,isInvalid:i.isInvalid}],[Ll,p],[Fr,{...h,isPressed:i.isOpen}],[Ya,{...f,ref:s,elementType:"span"}],[N1,v],[wt,i],[An,{trigger:"DatePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":C}}],[Qa,m],[It,{slots:{description:y,errorMessage:k}}],[qa,D]]},u.createElement("div",{...P,...S,...A,ref:t,slot:e.slot||void 0,"data-focus-within":F||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":b||void 0,"data-disabled":e.isDisabled||void 0,"data-open":i.isOpen||void 0}))}const $5=u.forwardRef(y5);function x5(e,t){[e,t]=ge(e,t,v5);let{validationBehavior:r}=Mt(Rn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",i=bb({...e,validationBehavior:o}),l=u.useRef(null),[s,d]=Bn(),{groupProps:c,labelProps:f,startFieldProps:p,endFieldProps:h,buttonProps:m,dialogProps:v,calendarProps:y,descriptionProps:k,errorMessageProps:D,...C}=Sg({...Za(e),label:d,validationBehavior:o},i,l),[E,w]=u.useState(null),P=u.useCallback(()=>{l.current&&w(l.current.offsetWidth+"px")},[]);La({ref:l,onResize:P});let{focusProps:F,isFocused:b,isFocusVisible:A}=Me({within:!0}),S=fe({...e,values:{state:i,isFocusWithin:b,isFocusVisible:A,isDisabled:e.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DateRangePicker"}),x=te(e);return delete x.id,u.createElement(je,{values:[[b5,i],[Ja,{...c,ref:l,isInvalid:i.isInvalid}],[Fr,{...m,isPressed:i.isOpen}],[Ya,{...f,ref:s,elementType:"span"}],[_1,y],[wt,i],[An,{trigger:"DateRangePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":E}}],[Qa,v],[Ll,{slots:{start:p,end:h}}],[It,{slots:{description:k,errorMessage:D}}],[qa,C]]},u.createElement("div",{...F,...x,...S,ref:t,slot:e.slot||void 0,"data-focus-within":b||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":e.isDisabled||void 0,"data-open":i.isOpen||void 0}))}const D5=u.forwardRef(x5);function w5(e,t){[e,t]=ge(e,t,Ma);let{children:r,level:n=3,className:a,...o}=e,i=`h${n}`;return u.createElement(i,{...o,ref:t,className:a??"react-aria-Heading"},r)}const E5=u.forwardRef(w5),C5=u.createContext(null),jl=u.createContext(null);function P5(e,t){if(u.useContext(jl))return u.createElement(cu,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:i,onOpenChange:l,children:s,isEntering:d,isExiting:c,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p,...h}=e;return u.createElement(Ap,{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:i,onOpenChange:l,isEntering:d,isExiting:c,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p},u.createElement(cu,{...h,modalRef:t},s))}const S5=u.forwardRef(P5);function k5(e,t){[e,t]=ge(e,t,C5);let r=u.useContext(wt),n=Mr(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,o=Ye(t),i=u.useRef(null),l=Pi(o,a.isOpen),s=Pi(i,a.isOpen),d=l||s||e.isExiting||!1,c=Dt();return!a.isOpen&&!d||c?null:u.createElement(B5,{...e,state:a,isExiting:d,overlayRef:o,modalRef:i})}const Ap=u.forwardRef(k5);function B5({UNSTABLE_portalContainer:e,...t}){let r=t.modalRef,{state:n}=t,{modalProps:a,underlayProps:o}=Q3(t,n,r),i=Bl(t.overlayRef)||t.isEntering||!1,l=fe({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:i,isExiting:t.isExiting,state:n}}),s=dm(),d={...l.style,"--visual-viewport-height":s.height+"px"};return u.createElement(Vf,{isExiting:t.isExiting,portalContainer:e},u.createElement("div",{...U(te(t),o),...l,style:d,ref:t.overlayRef,"data-entering":i||void 0,"data-exiting":t.isExiting||void 0},u.createElement(je,{values:[[jl,{modalProps:a,modalRef:r,isExiting:t.isExiting,isDismissable:t.isDismissable}],[wt,n]]},l.children)))}function cu(e){let{modalProps:t,modalRef:r,isExiting:n,isDismissable:a}=u.useContext(jl),o=u.useContext(wt),i=u.useMemo(()=>$n(e.modalRef,r),[e.modalRef,r]),l=Ye(i),s=Bl(l),d=fe({...e,defaultClassName:"react-aria-Modal",values:{isEntering:s,isExiting:n,state:o}});return u.createElement("div",{...U(te(e),t),...d,ref:l,"data-entering":s||void 0,"data-exiting":n||void 0},a&&u.createElement(xi,{onDismiss:o.close}),d.children)}function R5(e){return e&&e.__esModule?e.default:e}const ra=u.createContext(null),Ri=u.createContext(null);function T5(e,t){[e,t]=ge(e,t,ra);let{validationBehavior:r}=Mt(Rn)||{};var n,a;let o=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",{collection:i,document:l}=Sl(),s=yb({...e,collection:i,children:void 0,validationBehavior:o}),{isFocusVisible:d,focusProps:c}=Me({within:!0}),f=u.useRef(null),[p,h]=Bn(),{labelProps:m,triggerProps:v,valueProps:y,menuProps:k,descriptionProps:D,errorMessageProps:C,...E}=Bg({...Za(e),label:h,validationBehavior:o},s,f),[w,P]=u.useState(null),F=u.useCallback(()=>{f.current&&P(f.current.offsetWidth+"px")},[f]);La({ref:f,onResize:F});let b=u.useMemo(()=>({isOpen:s.isOpen,isFocused:s.isFocused,isFocusVisible:d,isDisabled:e.isDisabled||!1,isInvalid:E.isInvalid||!1,isRequired:e.isRequired||!1}),[s.isOpen,s.isFocused,d,e.isDisabled,E.isInvalid,e.isRequired]),A=fe({...e,values:b,defaultClassName:"react-aria-Select"}),S=te(e);return delete S.id,u.createElement(u.Fragment,null,u.createElement(J4,null,u.createElement(je,{values:[[ra,e],[Ri,s],[kn,l]]},A.children)),u.createElement(je,{values:[[ra,e],[Ri,s],[Fp,y],[Ya,{...m,ref:p,elementType:"span"}],[Fr,{...v,ref:f,isPressed:s.isOpen}],[wt,s],[An,{trigger:"Select",triggerRef:f,placement:"bottom start",style:{"--trigger-width":w}}],[Fl,k],[Tn,s],[It,{slots:{description:D,errorMessage:C}}],[qa,E]]},u.createElement("div",{...S,...A,...c,ref:t,slot:e.slot||void 0,"data-focused":s.isFocused||void 0,"data-focus-visible":d||void 0,"data-open":s.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-required":e.isRequired||void 0}),u.createElement(Tg,{state:s,triggerRef:f,label:h,name:e.name,isDisabled:e.isDisabled})))}const A5=u.forwardRef(T5),Fp=u.createContext(null);function F5(e,t){var r,n;[e,t]=ge(e,t,Fp);let a=u.useContext(Ri),{placeholder:o}=Mt(ra),i=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,l=i==null?void 0:i.rendered;typeof l=="function"&&(l=l({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let s=at(R5(Cp),"react-aria-components");var d,c;let f=fe({...e,defaultChildren:l||o||s.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(d=(r=a.selectedItem)===null||r===void 0?void 0:r.value)!==null&&d!==void 0?d:null,selectedText:(c=(n=a.selectedItem)===null||n===void 0?void 0:n.textValue)!==null&&c!==void 0?c:null,isPlaceholder:!i}}),p=te(e);return u.createElement("span",{ref:t,...p,...f,"data-placeholder":!i||void 0},u.createElement(It.Provider,{value:void 0},f.children))}const M5=u.forwardRef(F5),I5=u.createContext(null);function O5(e,t){let{inputRef:r=null,...n}=e;[e,t]=ge(n,t,I5);let a=Ye($n(r,e.inputRef!==void 0?e.inputRef:null)),o=xl(e),{labelProps:i,inputProps:l,isSelected:s,isDisabled:d,isReadOnly:c,isPressed:f}=Fg({...Za(e),children:typeof e.children=="function"?!0:e.children},o,a),{isFocused:p,isFocusVisible:h,focusProps:m}=Me(),v=e.isDisabled||e.isReadOnly,{hoverProps:y,isHovered:k}=nt({...e,isDisabled:v}),D=fe({...e,defaultClassName:"react-aria-Switch",values:{isSelected:s,isPressed:f,isHovered:k,isFocused:p,isFocusVisible:h,isDisabled:d,isReadOnly:c,state:o}}),C=te(e);return delete C.id,u.createElement("label",{...U(C,i,y,D),ref:t,slot:e.slot||void 0,"data-selected":s||void 0,"data-pressed":f||void 0,"data-hovered":k||void 0,"data-focused":p||void 0,"data-focus-visible":h||void 0,"data-disabled":d||void 0,"data-readonly":c||void 0},u.createElement(Jt,{elementType:"span"},u.createElement("input",{...U(l,m),ref:a})),D.children)}const L5=u.forwardRef(O5),Kl=u.createContext(null),Nl=u.createContext(null);function V5(e,t){[e,t]=ge(e,t,Kl);let{collection:r,document:n}=Sl(),{children:a,orientation:o="horizontal"}=e;return a=u.useMemo(()=>typeof a=="function"?a({orientation:o,defaultChildren:null}):a,[a,o]),u.createElement(u.Fragment,null,u.createElement(J4,null,u.createElement(kn.Provider,{value:n},a)),u.createElement(j5,{props:e,collection:r,tabsRef:t}))}function j5({props:e,tabsRef:t,collection:r}){let{orientation:n="horizontal"}=e,a=$b({...e,collection:r,children:void 0}),{focusProps:o,isFocused:i,isFocusVisible:l}=Me({within:!0}),s=u.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=fe({...e,defaultClassName:"react-aria-Tabs",values:s});return u.createElement("div",{...te(e),...o,...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":a.isDisabled||void 0},u.createElement(je,{values:[[Kl,e],[Nl,a]]},d.children))}const K5=u.forwardRef(V5);function N5(e,t){return u.useContext(kn)?u.createElement(G4,e):u.createElement(_5,{props:e,forwardedRef:t})}function _5({props:e,forwardedRef:t}){let r=u.useContext(Nl),{orientation:n="horizontal",keyboardActivation:a="automatic"}=Mt(Kl),o=Ye(t),{tabListProps:i}=Lg({...e,orientation:n,keyboardActivation:a},r,o),l=fe({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:n,state:r}}),s=te(e);return delete s.id,u.createElement("div",{...s,...i,ref:o,...l,"data-orientation":n||void 0},[...r.collection].map(d=>u.createElement(U5,{key:d.key,item:d,state:r})))}const z5=u.forwardRef(N5);function H5(e,t){return kl("item",e,t,e.children)}const Z5=u.forwardRef(H5);function U5({item:e,state:t}){let r=Ye(e.props.ref),{tabProps:n,isSelected:a,isDisabled:o,isPressed:i}=Mg({key:e.key,...e.props},t,r),{focusProps:l,isFocused:s,isFocusVisible:d}=Me(),{hoverProps:c,isHovered:f}=nt({isDisabled:o}),p=fe({...e.props,children:e.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:a,isDisabled:o,isFocused:s,isFocusVisible:d,isPressed:i,isHovered:f,state:t}}),h=e.props.href?"a":"div";return u.createElement(h,{...U(n,l,c,p),ref:r,"data-selected":a||void 0,"data-disabled":o||void 0,"data-focused":s||void 0,"data-focus-visible":d||void 0,"data-pressed":i||void 0,"data-hovered":f||void 0})}function W5(e,t){const r=u.useContext(Nl);let n=Ye(t),{tabPanelProps:a}=Ig(e,r,n),{focusProps:o,isFocused:i,isFocusVisible:l}=Me(),s=r.selectedKey===e.id,d=fe({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:i,isFocusVisible:l,isInert:!s,state:r}});if(!s&&!e.shouldForceMount)return null;let c=te(e);delete c.id;let f=s?U(c,a,o,d):d;return u.createElement("div",{...f,ref:n,"data-focused":i||void 0,"data-focus-visible":l||void 0,inert:s?void 0:"true","data-inert":s?void 0:"true"})}const G5=Rl(W5);var Le=function(){return Le=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Le.apply(this,arguments)};function Qt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function q5(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Y5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,J5=q5(function(e){return Y5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),de="-ms-",en="-moz-",oe="-webkit-",Mp="comm",eo="rule",_l="decl",Q5="@import",Ip="@keyframes",X5="@layer",Op=Math.abs,zl=String.fromCharCode,Ti=Object.assign;function ey(e,t){return ke(e,0)^45?(((t<<2^ke(e,0))<<2^ke(e,1))<<2^ke(e,2))<<2^ke(e,3):0}function Lp(e){return e.trim()}function vt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function na(e,t,r){return e.indexOf(t,r)}function ke(e,t){return e.charCodeAt(t)|0}function kr(e,t,r){return e.slice(t,r)}function lt(e){return e.length}function Vp(e){return e.length}function Gr(e,t){return t.push(e),e}function ty(e,t){return e.map(t).join("")}function fu(e,t){return e.filter(function(r){return!vt(r,t)})}var to=1,Br=1,jp=0,Ge=0,Ee=0,Ir="";function ro(e,t,r,n,a,o,i,l){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:to,column:Br,length:i,return:"",siblings:l}}function Ct(e,t){return Ti(ro("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function or(e){for(;e.root;)e=Ct(e.root,{children:[e]});Gr(e,e.siblings)}function ry(){return Ee}function ny(){return Ee=Ge>0?ke(Ir,--Ge):0,Br--,Ee===10&&(Br=1,to--),Ee}function tt(){return Ee=Ge<jp?ke(Ir,Ge++):0,Br++,Ee===10&&(Br=1,to++),Ee}function zt(){return ke(Ir,Ge)}function aa(){return Ge}function no(e,t){return kr(Ir,e,t)}function Ai(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ay(e){return to=Br=1,jp=lt(Ir=e),Ge=0,[]}function oy(e){return Ir="",e}function zo(e){return Lp(no(Ge-1,Fi(e===91?e+2:e===40?e+1:e)))}function iy(e){for(;(Ee=zt())&&Ee<33;)tt();return Ai(e)>2||Ai(Ee)>3?"":" "}function ly(e,t){for(;--t&&tt()&&!(Ee<48||Ee>102||Ee>57&&Ee<65||Ee>70&&Ee<97););return no(e,aa()+(t<6&&zt()==32&&tt()==32))}function Fi(e){for(;tt();)switch(Ee){case e:return Ge;case 34:case 39:e!==34&&e!==39&&Fi(Ee);break;case 40:e===41&&Fi(e);break;case 92:tt();break}return Ge}function sy(e,t){for(;tt()&&e+Ee!==57;)if(e+Ee===84&&zt()===47)break;return"/*"+no(t,Ge-1)+"*"+zl(e===47?e:tt())}function uy(e){for(;!Ai(zt());)tt();return no(e,Ge)}function dy(e){return oy(oa("",null,null,null,[""],e=ay(e),0,[0],e))}function oa(e,t,r,n,a,o,i,l,s){for(var d=0,c=0,f=i,p=0,h=0,m=0,v=1,y=1,k=1,D=0,C="",E=a,w=o,P=n,F=C;y;)switch(m=D,D=tt()){case 40:if(m!=108&&ke(F,f-1)==58){na(F+=ee(zo(D),"&","&\f"),"&\f",Op(d?l[d-1]:0))!=-1&&(k=-1);break}case 34:case 39:case 91:F+=zo(D);break;case 9:case 10:case 13:case 32:F+=iy(m);break;case 92:F+=ly(aa()-1,7);continue;case 47:switch(zt()){case 42:case 47:Gr(cy(sy(tt(),aa()),t,r,s),s);break;default:F+="/"}break;case 123*v:l[d++]=lt(F)*k;case 125*v:case 59:case 0:switch(D){case 0:case 125:y=0;case 59+c:k==-1&&(F=ee(F,/\f/g,"")),h>0&<(F)-f&&Gr(h>32?hu(F+";",n,r,f-1,s):hu(ee(F," ","")+";",n,r,f-2,s),s);break;case 59:F+=";";default:if(Gr(P=pu(F,t,r,d,c,a,l,C,E=[],w=[],f,o),o),D===123)if(c===0)oa(F,t,P,P,E,o,f,l,w);else switch(p===99&&ke(F,3)===110?100:p){case 100:case 108:case 109:case 115:oa(e,P,P,n&&Gr(pu(e,P,P,0,0,a,l,C,a,E=[],f,w),w),a,w,f,l,n?E:w);break;default:oa(F,P,P,P,[""],w,0,l,w)}}d=c=h=0,v=k=1,C=F="",f=i;break;case 58:f=1+lt(F),h=m;default:if(v<1){if(D==123)--v;else if(D==125&&v++==0&&ny()==125)continue}switch(F+=zl(D),D*v){case 38:k=c>0?1:(F+="\f",-1);break;case 44:l[d++]=(lt(F)-1)*k,k=1;break;case 64:zt()===45&&(F+=zo(tt())),p=zt(),c=f=lt(C=F+=uy(aa())),D++;break;case 45:m===45&<(F)==2&&(v=0)}}return o}function pu(e,t,r,n,a,o,i,l,s,d,c,f){for(var p=a-1,h=a===0?o:[""],m=Vp(h),v=0,y=0,k=0;v<n;++v)for(var D=0,C=kr(e,p+1,p=Op(y=i[v])),E=e;D<m;++D)(E=Lp(y>0?h[D]+" "+C:ee(C,/&\f/g,h[D])))&&(s[k++]=E);return ro(e,t,r,a===0?eo:l,s,d,c,f)}function cy(e,t,r,n){return ro(e,t,r,Mp,zl(ry()),kr(e,2,-2),0,n)}function hu(e,t,r,n,a){return ro(e,t,r,_l,kr(e,0,n),kr(e,n+1,-1),n,a)}function Kp(e,t,r){switch(ey(e,t)){case 5103:return oe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+e+e;case 4789:return en+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+en+e+de+e+e;case 5936:switch(ke(e,t+11)){case 114:return oe+e+de+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+de+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+de+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return oe+e+de+e+e;case 6165:return oe+e+de+"flex-"+e+e;case 5187:return oe+e+ee(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return oe+e+de+"flex-item-"+ee(e,/flex-|-self/g,"")+(vt(e,/flex-|baseline/)?"":de+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return oe+e+de+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return oe+e+de+ee(e,"shrink","negative")+e;case 5292:return oe+e+de+ee(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+ee(e,"-grow","")+oe+e+de+ee(e,"grow","positive")+e;case 4554:return oe+ee(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4200:if(!vt(e,/flex-|baseline/))return de+"grid-column-align"+kr(e,t)+e;break;case 2592:case 3360:return de+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,vt(n.props,/grid-\w+-end/)})?~na(e+(r=r[t].value),"span",0)?e:de+ee(e,"-start","")+e+de+"grid-row-span:"+(~na(r,"span",0)?vt(r,/\d+/):+vt(r,/\d+/)-+vt(e,/\d+/))+";":de+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return vt(n.props,/grid-\w+-start/)})?e:de+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,oe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(lt(e)-1-t>6)switch(ke(e,t+1)){case 109:if(ke(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+en+(ke(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~na(e,"stretch",0)?Kp(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,o,i,l,s,d){return de+a+":"+o+d+(i?de+a+"-span:"+(l?s:+s-+o)+d:"")+e});case 4949:if(ke(e,t+6)===121)return ee(e,":",":"+oe)+e;break;case 6444:switch(ke(e,ke(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oe+(ke(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+de+"$2box$3")+e;case 100:return ee(e,":",":"+de)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function Ra(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function fy(e,t,r,n){switch(e.type){case X5:if(e.children.length)break;case Q5:case _l:return e.return=e.return||e.value;case Mp:return"";case Ip:return e.return=e.value+"{"+Ra(e.children,n)+"}";case eo:if(!lt(e.value=e.props.join(",")))return""}return lt(r=Ra(e.children,n))?e.return=e.value+"{"+r+"}":""}function py(e){var t=Vp(e);return function(r,n,a,o){for(var i="",l=0;l<t;l++)i+=e[l](r,n,a,o)||"";return i}}function hy(e){return function(t){t.root||(t=t.return)&&e(t)}}function my(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case _l:e.return=Kp(e.value,e.length,r);return;case Ip:return Ra([Ct(e,{value:ee(e.value,"@","@"+oe)})],n);case eo:if(e.length)return ty(r=e.props,function(a){switch(vt(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":or(Ct(e,{props:[ee(a,/:(read-\w+)/,":"+en+"$1")]})),or(Ct(e,{props:[a]})),Ti(e,{props:fu(r,n)});break;case"::placeholder":or(Ct(e,{props:[ee(a,/:(plac\w+)/,":"+oe+"input-$1")]})),or(Ct(e,{props:[ee(a,/:(plac\w+)/,":"+en+"$1")]})),or(Ct(e,{props:[ee(a,/:(plac\w+)/,de+"input-$1")]})),or(Ct(e,{props:[a]})),Ti(e,{props:fu(r,n)});break}return""})}}var vy={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Xt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Np="active",_p="data-styled-version",ao="6.1.11",Hl=`/*!sc*/
|
|
18
|
-
`,
|
|
17
|
+
*/var du;function Ug(){return du||(du=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=u,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(C){{for(var E=arguments.length,w=new Array(E>1?E-1:0),P=1;P<E;P++)w[P-1]=arguments[P];n("error",C,w)}}function n(C,E,w){{var P=t.ReactDebugCurrentFrame,F=P.getStackAddendum();F!==""&&(E+="%s",w=w.concat([F]));var b=w.map(function(A){return String(A)});b.unshift("Warning: "+E),Function.prototype.apply.call(console[C],console,b)}}function a(C,E){return C===E&&(C!==0||1/C===1/E)||C!==C&&E!==E}var i=typeof Object.is=="function"?Object.is:a,o=e.useState,l=e.useEffect,s=e.useLayoutEffect,d=e.useDebugValue,c=!1,f=!1;function p(C,E,w){c||e.startTransition!==void 0&&(c=!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 P=E();if(!f){var F=E();i(P,F)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var b=o({inst:{value:P,getSnapshot:E}}),A=b[0].inst,k=b[1];return s(function(){A.value=P,A.getSnapshot=E,h(A)&&k({inst:A})},[C,P,E]),l(function(){h(A)&&k({inst:A});var x=function(){h(A)&&k({inst:A})};return C(x)},[C]),d(P),P}function h(C){var E=C.getSnapshot,w=C.value;try{var P=E();return!i(w,P)}catch{return!0}}function m(C,E,w){return E()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!v,S=y?m:p,D=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:S;Hi.useSyncExternalStore=D,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Hi}process.env.NODE_ENV==="production"?ko.exports=Zg():ko.exports=Ug();var Wg=ko.exports;class kl{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new kl(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 Q1{*[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 bn extends Q1{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof bn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,r,n,a;let i=this.ownerDocument.getMutableNode(this);i.index=this.index,i.level=this.level,i.parentKey=this.parentNode instanceof bn?this.parentNode.node.key:null;var o;i.prevKey=(o=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&o!==void 0?o:null;var l;i.nextKey=(l=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&l!==void 0?l:null,i.hasChildNodes=!!this.firstChild;var s;i.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;i.lastChildKey=(d=(a=this.lastChild)===null||a===void 0?void 0:a.node.key)!==null&&d!==void 0?d:null}setProps(t,r,n){let a=this.ownerDocument.getMutableNode(this),{value:i,textValue:o,id:l,...s}=t;if(s.ref=r,a.props=s,a.rendered=n,a.value=i,a.textValue=o||(typeof n=="string"?n:"")||t["aria-label"]||"",l!=null&&l!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=l}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 kl(t,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}}class Gg{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),a=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;a;)yield a,a=a.nextKey!=null?r.get(a.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 qg extends Q1{get isConnected(){return!0}createElement(t){return new bn(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 i of this.dirtyNodes)i instanceof bn&&i.isConnected&&i.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,r;let i=this.getMutableCollection();for(let o of this.mutatedNodes)o.isConnected&&i.addNode(o.node);var n,a;i.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(a=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&a!==void 0?a: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 Bl(e){let{children:t,items:r,idScope:n,addIdAndValue:a,dependencies:i=[]}=e,o=u.useMemo(()=>new WeakMap,i);return u.useMemo(()=>{if(r&&typeof t=="function"){let d=[];for(let c of r){let f=o.get(c);if(!f){f=t(c);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l:c.key)!==null&&s!==void 0?s:c.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=u.cloneElement(f,a?{key:p,id:p,value:c}:{key:p}),o.set(c,f)}d.push(f)}return d}else if(typeof t!="function")return t},[t,r,o,n,a])}function Yg(e){return Bl({...e,addIdAndValue:!0})}const X1=u.createContext(!1);function Jg(e,t){let{collection:r,document:n}=Rl(t);return{portal:e4(e,n),collection:r}}function Qg(e,t,r){let n=Dt(),a=u.useRef(n);a.current=n;let i=u.useCallback(()=>a.current?r():t(),[t,r]);return Wg.useSyncExternalStore(e,i)}const Xg=typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore:Qg;function Rl(e){let t=u.useMemo(()=>new qg(e||new Gg),[e]),r=u.useCallback(o=>t.subscribe(o),[t]),n=u.useCallback(()=>{let o=t.getCollection();return t.isSSR&&t.resetAfterSSR(),o},[t]),a=u.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:Xg(r,n,a),document:t}}const Bo=u.createContext(null),An=u.createContext(null);function e4(e,t){let r=u.useContext(An),n=t??r,a=Yg(e),i=u.useMemo(()=>u.createElement(X1.Provider,{value:!0},a),[a]);return Dt()?u.createElement(Bo.Provider,{value:n},i):wn.createPortal(i,n)}function t4(e){return u.createElement(u.Fragment,null,e4(e))}function r4(e,t,r){let n=u.useContext(X1);var a;return n?(a=Tl(e,t,r,"children"in t?t.children:null))!==null&&a!==void 0?a:u.createElement(u.Fragment,null):null}function eb(e,t,r){return u.useCallback(n=>{n==null||n.setProps(e,t,r)},[e,t,r])}function Tl(e,t,r,n,a){let i=eb(t,r,n),o=u.useContext(Bo);if(o){let l=o.ownerDocument.nodesByProps.get(t);return l||(l=o.ownerDocument.createElement(e),l.setProps(t,r,n),o.appendChild(l),o.ownerDocument.updateCollection(),o.ownerDocument.nodesByProps.set(t,l)),a?u.createElement(Bo.Provider,{value:l},a):null}return u.createElement(e,{ref:i},a)}const Ro=Symbol("default");function Ie({values:e,children:t}){for(let[r,n]of e)t=u.createElement(r.Provider,{value:n},t);return t}function de(e){let{className:t,style:r,children:n,defaultClassName:a,defaultChildren:i,defaultStyle:o,values:l}=e;return u.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:a}):s=t,typeof r=="function"?d=r({...l,defaultStyle:o||{}}):d=r,typeof n=="function"?c=n({...l,defaultChildren:i}):n==null?c=i:c=n,{className:s??a,style:d||o?{...o,...d}:void 0,children:c??i,"data-rac":""}},[t,r,n,a,i,o,l])}function wt(e,t){let r=u.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(i=>`"${i}"`));if(!t&&!r.slots[Ro])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let a=t||Ro;if(!r.slots[a])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return r.slots[a]}return r}function ve(e,t,r){let n=wt(r,e.slot)||{},{ref:a,...i}=n,o=Je(u.useMemo(()=>En(t,a),[t,a])),l=U(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof i.style=="function"?i.style(s):i.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...i.style,...e.style}),[l,o]}function Ir(){let[e,t]=u.useState(!0),r=u.useRef(!1),n=u.useCallback(a=>{r.current=!0,t(!!a)},[]);return le(()=>{r.current||t(!1)},[]),[n,e]}function Al(e,t=!0){let[r,n]=u.useState(!0);return n4(e,r&&t,u.useCallback(()=>n(!1),[])),r&&t}function To(e,t){let[r,n]=u.useState(!1),[a,i]=u.useState("idle");return!t&&e.current&&a==="idle"&&(r=!0,n(!0),i("exiting")),!e.current&&a==="exited"&&i("idle"),n4(e,r,u.useCallback(()=>{i("exited"),n(!1)},[])),r}function n4(e,t,r){let n=u.useRef(null);t&&e.current&&(n.current=window.getComputedStyle(e.current).animation),le(()=>{if(t&&e.current){let a=window.getComputedStyle(e.current);if(a.animationName&&a.animationName!=="none"&&a.animation!==n.current){let i=l=>{l.target===e.current&&(o.removeEventListener("animationend",i),wn.flushSync(()=>{r()}))},o=e.current;return o.addEventListener("animationend",i),()=>{o.removeEventListener("animationend",i)}}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 yn=u.createContext(!1),tb=typeof DocumentFragment<"u"?new DocumentFragment:null;function a4(e){let t=u.useContext(yn),r=Dt();if(t)return u.createElement(u.Fragment,null,e.children);let n=u.createElement(yn.Provider,{value:!0},e.children);return r?u.createElement("template",{"data-react-aria-hidden":!0},n):wn.createPortal(n,tb)}function Fl(e){let t=(r,n)=>u.useContext(yn)?null:e(r,n);return t.displayName=e.displayName||e.name,u.forwardRef(t)}function Fn(e){const t=/^(data-.*)$/;let r={};for(const n in e)t.test(n)||(r[n]=e[n]);return r}const rb=u.createContext(null);function nb(e,t){[e,t]=ve(e,t,rb);let r=e.href?"a":"span",{linkProps:n,isPressed:a}=rv({...e,elementType:r},t),{hoverProps:i,isHovered:o}=nt(e),{focusProps:l,isFocused:s,isFocusVisible:d}=Oe(),c=de({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:a,isHovered:o,isFocused:s,isFocusVisible:d}});return u.createElement(r,{ref:t,slot:e.slot||void 0,...U(c,n,i,l),"data-focused":s||void 0,"data-hovered":o||void 0,"data-pressed":a||void 0,"data-focus-visible":d||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},c.children)}const ab=u.forwardRef(nb),ib=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Or=u.createContext({});function ob(e,t){[e,t]=ve(e,t,Or);let r=e,{buttonProps:n,isPressed:a}=D3(e,t),{focusProps:i,isFocused:o,isFocusVisible:l}=Oe(e),{hoverProps:s,isHovered:d}=nt(e),c=de({...e,values:{isHovered:d,isPressed:a,isFocused:o,isFocusVisible:l,isDisabled:e.isDisabled||!1},defaultClassName:"react-aria-Button"});return u.createElement("button",{...te(e,{propNames:ib}),...U(n,i,s),...c,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":r.isPressed||a||void 0,"data-hovered":d||void 0,"data-focused":o||void 0,"data-focus-visible":l||void 0})}const i4=Fl(ob),Et=u.createContext({});function wr(e,t,r){return t!=null&&e.compare(t)<0||r!=null&&e.compare(r)>0}function Ao(e,t,r,n,a){let i={};for(let l in t)i[l]=Math.floor(t[l]/2),i[l]>0&&t[l]%2===0&&i[l]--;let o=Nt(e,t,r).subtract(i);return $n(e,o,t,r,n,a)}function Nt(e,t,r,n,a){let i=e;return t.years?i=vv(e):t.months?i=Gt(e):t.weeks&&(i=fn(e,r)),$n(e,i,t,r,n,a)}function Fo(e,t,r,n,a){let i={...t};t.days?i.days--:t.weeks?i.weeks--:t.months?i.months--:t.years&&i.years--;let o=Nt(e,t,r).subtract(i);return $n(e,o,t,r,n,a)}function $n(e,t,r,n,a,i){return a&&e.compare(a)>=0&&(t=cl(t,Nt(Fe(a),r,n))),i&&e.compare(i)<=0&&(t=dl(t,Fo(Fe(i),r,n))),t}function Pt(e,t,r){return t&&(e=cl(e,Fe(t))),r&&(e=dl(e,Fe(r))),e}function o4(e,t,r){if(!r)return e;for(;e.compare(t)>=0&&r(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function l4(e){let t=u.useMemo(()=>new bt(e.locale),[e.locale]),r=u.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:a,visibleDuration:i={months:1},minValue:o,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible"}=e,f=u.useMemo(()=>a(r.calendar),[a,r.calendar]),[p,h]=Ge(e.value,e.defaultValue,e.onChange),m=u.useMemo(()=>p?he(Fe(p),f):null,[p,f]),v=u.useMemo(()=>p&&"timeZone"in p?p.timeZone:r.timeZone,[p,r.timeZone]),y=u.useMemo(()=>e.focusedValue?Pt(he(Fe(e.focusedValue),f),o,l):void 0,[e.focusedValue,f,o,l]),S=u.useMemo(()=>Pt(e.defaultFocusedValue?he(Fe(e.defaultFocusedValue),f):m||he(Ya(v),f),o,l),[e.defaultFocusedValue,m,v,f,o,l]),[D,C]=Ge(y,S,e.onFocusChange),[E,w]=u.useState(()=>{switch(s){case"start":return Nt(D,i,n,o,l);case"end":return Fo(D,i,n,o,l);case"center":default:return Ao(D,i,n,o,l)}}),[P,F]=u.useState(e.autoFocus||!1),b=u.useMemo(()=>{let $={...i};return $.days?$.days--:$.days=-1,E.add($)},[E,i]),[A,k]=u.useState(f.identifier);if(f.identifier!==A){let $=he(D,f);w(Ao($,i,n,o,l)),C($),k(f.identifier)}wr(D,o,l)?C(Pt(D,o,l)):D.compare(E)<0?w(Fo(D,i,n,o,l)):D.compare(b)>0&&w(Nt(D,i,n,o,l));function x($){$=Pt($,o,l),C($)}function M($){if(!e.isDisabled&&!e.isReadOnly){if($===null){h(null);return}if($=Pt($,o,l),$=o4($,E,d),!$)return;$=he($,(p==null?void 0:p.calendar)||new Me),p&&"hour"in p?h(p.set($)):h($)}}let R=u.useMemo(()=>m?d&&d(m)?!0:wr(m,o,l):!1,[m,d,o,l]),T=e.isInvalid||e.validationState==="invalid"||R,K=T?"invalid":null,O=u.useMemo(()=>c==="visible"?i:Zi(i),[c,i]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:m,setValue:M,visibleRange:{start:E,end:b},minValue:o,maxValue:l,focusedDate:D,timeZone:v,validationState:K,isValueInvalid:T,setFocusedDate($){x($),F(!0)},focusNextDay(){x(D.add({days:1}))},focusPreviousDay(){x(D.subtract({days:1}))},focusNextRow(){i.days?this.focusNextPage():(i.weeks||i.months||i.years)&&x(D.add({weeks:1}))},focusPreviousRow(){i.days?this.focusPreviousPage():(i.weeks||i.months||i.years)&&x(D.subtract({weeks:1}))},focusNextPage(){let $=E.add(O);C(Pt(D.add(O),o,l)),w(Nt($n(D,$,O,n,o,l),O,n))},focusPreviousPage(){let $=E.subtract(O);C(Pt(D.subtract(O),o,l)),w(Nt($n(D,$,O,n,o,l),O,n))},focusSectionStart(){i.days?x(E):i.weeks?x(fn(D,n)):(i.months||i.years)&&x(Gt(D))},focusSectionEnd(){i.days?x(b):i.weeks?x(yv(D,n)):(i.months||i.years)&&x(Sa(D))},focusNextSection($){if(!$&&!i.days){x(D.add(Zi(i)));return}i.days?this.focusNextPage():i.weeks?x(D.add({months:1})):(i.months||i.years)&&x(D.add({years:1}))},focusPreviousSection($){if(!$&&!i.days){x(D.subtract(Zi(i)));return}i.days?this.focusPreviousPage():i.weeks?x(D.subtract({months:1})):(i.months||i.years)&&x(D.subtract({years:1}))},selectFocusedDate(){M(D)},selectDate($){M($)},isFocused:P,setFocused:F,isInvalid($){return wr($,o,l)},isSelected($){return m!=null&&Ee($,m)&&!this.isCellDisabled($)&&!this.isCellUnavailable($)},isCellFocused($){return P&&D&&Ee($,D)},isCellDisabled($){return e.isDisabled||$.compare(E)<0||$.compare(b)>0||this.isInvalid($,o,l)},isCellUnavailable($){return e.isDateUnavailable&&e.isDateUnavailable($)},isPreviousVisibleRangeInvalid(){let $=E.subtract({days:1});return Ee($,E)||this.isInvalid($,o,l)},isNextVisibleRangeInvalid(){let $=b.add({days:1});return Ee($,b)||this.isInvalid($,o,l)},getDatesInWeek($,z=E){let H=z.add({weeks:$}),B=[];H=fn(H,n);let V=sl(H,n);for(let N=0;N<V;N++)B.push(null);for(;B.length<7;){B.push(H);let N=H.add({days:1});if(Ee(H,N))break;H=N}for(;B.length<7;)B.push(null);return B}}}function Zi(e){let t={...e};for(let r in e)t[r]=1;return t}function lb(e){let{value:t,defaultValue:r,onChange:n,createCalendar:a,locale:i,visibleDuration:o={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Ge(t,r||null,n),[p,h]=u.useState(null),m="center";if(c&&c.start&&c.end){let z=Ao(Fe(c.start),o,i,l,s).add(o).subtract({days:1});c.end.compare(z)>0&&(m="start")}let v=u.useRef(null),[y,S]=u.useState(null),D=u.useMemo(()=>cl(l,y==null?void 0:y.start),[l,y]),C=u.useMemo(()=>dl(s,y==null?void 0:y.end),[s,y]),E=l4({...d,value:c&&c.start,createCalendar:a,locale:i,visibleDuration:o,minValue:D,maxValue:C,selectionAlignment:m}),w=$=>{$&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(v.current={start:fu($,E,-1),end:fu($,E,1)},S(v.current)):(v.current=null,S(null))},[P,F]=u.useState(E.visibleRange);(!ho(E.visibleRange.start,P.start)||!ho(E.visibleRange.end,P.end))&&(w(p),F(E.visibleRange));let b=$=>{$?(h($),w($)):(h(null),w(null))},A=p?Ui(p,E.focusedDate):c&&Ui(c.start,c.end),k=$=>{if(!e.isReadOnly&&($=Pt($,D,C),$=o4($,E.visibleRange.start,e.isDateUnavailable),!!$))if(!p)b($);else{let z=Ui(p,$);f({start:cu(z.start,c==null?void 0:c.start),end:cu(z.end,c==null?void 0:c.end)}),b(null)}},[x,M]=u.useState(!1),{isDateUnavailable:R}=e,T=u.useMemo(()=>!c||p?!1:R&&(R(c.start)||R(c.end))?!0:wr(c.start,l,s)||wr(c.end,l,s),[R,c,p,l,s]),K=e.isInvalid||e.validationState==="invalid"||T;return{...E,value:c,setValue:f,anchorDate:p,setAnchorDate:b,highlightedRange:A,validationState:K?"invalid":null,isValueInvalid:K,selectFocusedDate(){k(E.focusedDate)},selectDate:k,highlightDate($){p&&E.setFocusedDate($)},isSelected($){return A&&$.compare(A.start)>=0&&$.compare(A.end)<=0&&!E.isCellDisabled($)&&!E.isCellUnavailable($)},isInvalid($){var z,H;return E.isInvalid($)||wr($,(z=v.current)===null||z===void 0?void 0:z.start,(H=v.current)===null||H===void 0?void 0:H.end)},isDragging:x,setDragging:M}}function Ui(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Fe(e),end:Fe(t)})}function cu(e,t){return e=he(e,(t==null?void 0:t.calendar)||new Me),t&&"hour"in t?t.set(e):e}function fu(e,t,r){let n=e.add({days:r});for(;(r<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:r});return t.isCellUnavailable(n)?n.add({days:-r}):null}function sb(e={}){let[t,r]=Ge(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,a=u.useRef(new Map),i=tr({...e,value:t}),o=i.displayValidation.isInvalid;var l;return{...i,value:t,setValue(d){e.isReadOnly||e.isDisabled||r(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||r(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&r(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?r(t.filter(c=>c!==d)):r(t.concat(d)))},setInvalid(d,c){let f=new Map(a.current);c.isInvalid?f.set(d,c):f.delete(d),a.current=f,i.updateValidation(gn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:o?"invalid":null,isInvalid:o,isRequired:n}}class pu{*[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=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let o of i.childNodes)r(o)};for(let i of t)r(i);let n,a=0;for(let[i,o]of this.keyMap)n?(n.nextKey=i,o.prevKey=n.key):(this.firstKey=i,o.prevKey=void 0),o.type==="item"&&(o.index=a++),n=o,n.nextKey=void 0;this.lastKey=n==null?void 0:n.key}}class et extends Set{constructor(t,r,n){super(t),t instanceof et?(this.anchorKey=r||t.anchorKey,this.currentKey=n||t.currentKey):(this.anchorKey=r,this.currentKey=n)}}function ub(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function db(e){let{selectionMode:t="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:n,selectionBehavior:a="toggle",disabledBehavior:i="all"}=e,o=u.useRef(!1),[,l]=u.useState(!1),s=u.useRef(null),d=u.useRef(null),[,c]=u.useState(null),f=u.useMemo(()=>hu(e.selectedKeys),[e.selectedKeys]),p=u.useMemo(()=>hu(e.defaultSelectedKeys,new et),[e.defaultSelectedKeys]),[h,m]=Ge(f,p,e.onSelectionChange),v=u.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[y,S]=u.useState(a);a==="replace"&&y==="toggle"&&typeof h=="object"&&h.size===0&&S("replace");let D=u.useRef(a);return u.useEffect(()=>{a!==D.current&&(S(a),D.current=a)},[a]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:y,setSelectionBehavior:S,get isFocused(){return o.current},setFocused(C){o.current=C,l(C)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(C,E="first"){s.current=C,d.current=E,c(C)},selectedKeys:h,setSelectedKeys(C){(n||!ub(C,h))&&m(C)},disabledKeys:v,disabledBehavior:i}}function hu(e,t){return e?e==="all"?"all":new et(e):t}class cb{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&&_i(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&&_i(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 et([t],t,t);else{let n=this.state.selectedKeys,a=n.anchorKey||t;r=new et(n,a,t);for(let i of this.getKeyRange(a,n.currentKey||t))r.delete(i);for(let i of this.getKeyRange(t,a))this.canSelectItem(i)&&r.add(i)}this.state.setSelectedKeys(r)}getKeyRange(t,r){let n=this.collection.getItem(t),a=this.collection.getItem(r);return n&&a?_i(this.collection,n,a)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){let n=[],a=t;for(;a;){let i=this.collection.getItem(a);if((i&&i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&n.push(a),a===r)return n;a=this.collection.getKeyAfter(a)}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 et(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 et([t],t,t):new et;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new et;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 a=this.collection.getItem(n);a.type==="item"&&t.push(n),a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&r(hg(qf(a,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 et)}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){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(r=n.props)===null||r===void 0)&&r.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled))}isLink(t){var r,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}getItemProps(t){var r;return(r=this.collection.getItem(t))===null||r===void 0?void 0:r.props}constructor(t,r,n){this.collection=t,this.state=r;var a;this.allowsCellSelection=(a=n==null?void 0:n.allowsCellSelection)!==null&&a!==void 0?a:!1,this._isSelectAll=null}}function s4(e){let{filter:t}=e,r=db(e),n=u.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=u.useCallback(d=>t?new pu(t(d)):new pu(d),[t]),i=u.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),o=pg(e,a,i),l=u.useMemo(()=>new cb(o,r),[o,r]);const s=u.useRef(null);return u.useEffect(()=>{if(r.focusedKey!=null&&!o.getItem(r.focusedKey)){const d=s.current.getItem(r.focusedKey),c=[...s.current.getKeys()].map(v=>{const y=s.current.getItem(v);return y.type==="item"?y:null}).filter(v=>v!==null),f=[...o.getKeys()].map(v=>{const y=o.getItem(v);return y.type==="item"?y:null}).filter(v=>v!==null),p=c.length-f.length;let h=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),m;for(;h>=0;){if(!l.isDisabled(f[h].key)){m=f[h];break}h<f.length-1?h++:(h>d.index&&(h=d.index),h--)}r.setFocusedKey(m?m.key:null)}s.current=o},[o,l,r,r.focusedKey]),{collection:o,disabledKeys:n,selectionManager:l}}function u4(e){var t;let[r,n]=Ge(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),a=u.useMemo(()=>r!=null?[r]:[],[r]),{collection:i,disabledKeys:o,selectionManager:l}=s4({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:a,onSelectionChange:d=>{var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=r!=null?i.getItem(r):null;return{collection:i,disabledKeys:o,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:s}}function Vr(e){let[t,r]=Ge(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=u.useCallback(()=>{r(!0)},[r]),a=u.useCallback(()=>{r(!1)},[r]),i=u.useCallback(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:a,toggle:i}}var d4={};d4={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var c4={};c4={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var f4={};f4={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 p4={};p4={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 h4={};h4={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 m4={};m4={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var v4={};v4={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 g4={};g4={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 b4={};b4={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 y4={};y4={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 $4={};$4={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 x4={};x4={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var D4={};D4={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 w4={};w4={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 E4={};E4={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 C4={};C4={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var P4={};P4={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var S4={};S4={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 k4={};k4={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 B4={};B4={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 R4={};R4={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 T4={};T4={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 A4={};A4={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 F4={};F4={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 M4={};M4={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 I4={};I4={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var O4={};O4={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 V4={};V4={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 L4={};L4={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 j4={};j4={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 K4={};K4={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 N4={};N4={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var _4={};_4={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var z4={};z4={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var H4={};H4={"ar-AE":d4,"bg-BG":c4,"cs-CZ":f4,"da-DK":p4,"de-DE":h4,"el-GR":m4,"en-US":v4,"es-ES":g4,"et-EE":b4,"fi-FI":y4,"fr-FR":$4,"he-IL":x4,"hr-HR":D4,"hu-HU":w4,"it-IT":E4,"ja-JP":C4,"ko-KR":P4,"lt-LT":S4,"lv-LV":k4,"nb-NO":B4,"nl-NL":R4,"pl-PL":T4,"pt-BR":A4,"pt-PT":F4,"ro-RO":M4,"ru-RU":I4,"sk-SK":O4,"sl-SI":V4,"sr-SP":L4,"sv-SE":j4,"tr-TR":K4,"uk-UA":N4,"zh-CN":_4,"zh-TW":z4};function fb(e){return e&&e.__esModule?e.default:e}const Z4=new It(fb(H4));function U4(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Oa(e,t,r,n,a){let i=e!=null&&r!=null&&e.compare(r)>0,o=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=i||o||l,d=[];if(s){let c=U4(),f=It.getGlobalDictionaryForPackage("@react-stately/datepicker")||Z4,p=new Id(c,f),h=new bt(c,Sr({},a)),m=h.resolvedOptions().timeZone;o&&d.push(p.format("rangeUnderflow",{minValue:h.format(t.toDate(m))})),i&&d.push(p.format("rangeOverflow",{maxValue:h.format(r.toDate(m))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:i,rangeUnderflow:o,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function pb(e,t,r,n,a){let i=Oa(e==null?void 0:e.start,t,r,n,a),o=Oa(e==null?void 0:e.end,t,r,n,a),l=gn(i,o);if(e.end!=null&&e.start!=null&&e.end.compare(e.start)<0){let s=It.getGlobalDictionaryForPackage("@react-stately/datepicker")||Z4;l=gn(l,{isInvalid:!0,validationErrors:[s.getStringForLocale("rangeReversed",U4())],validationDetails:{...Xa,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return l}const hb={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},mb={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Sr(e,t){e={...t.shouldForceLeadingZeros?mb:hb,...e};let n=t.granularity||"minute",a=Object.keys(e);var i;let o=a.indexOf((i=t.maxGranularity)!==null&&i!==void 0?i:"year");o<0&&(o=0);let l=a.indexOf(n);if(l<0&&(l=2),o>l)throw new Error("maxGranularity must be greater than granularity");let s=a.slice(o,l+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&o===0&&(s.era="short"),s}function gr(e){return e&&"hour"in e?e:new Mr}function W4(e,t){if(e===null)return null;if(e)return he(e,t)}function Ur(e,t,r,n){if(e)return W4(e,r);let a=he(Ld(n).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?Fe(a):n?a:Ne(a)}function Ml(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[a,i]=u.useState([n,r]);e&&(a[0]!==n||a[1]!==r)&&i([n,r]),t||(t=e?n:a[0]);let o=e?r:a[1];return[t,o]}function vb(e){let t=Vr(e),[r,n]=Ge(e.value,e.defaultValue||null,e.onChange),a=r||e.placeholderValue,[i,o]=Ml(a,e.granularity),l=r!=null?r.toDate(o??"UTC"):null,s=i==="hour"||i==="minute"||i==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=u.useState(null),[h,m]=u.useState(null);if(r&&(f=r,"hour"in r&&(h=r)),a&&!(i in a))throw new Error("Invalid granularity "+i+" for value "+a.toString());let v=(r==null?void 0:r.calendar.identifier)==="gregory"&&r.era==="BC",y=u.useMemo(()=>({granularity:i,timeZone:o,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:v}),[i,e.hourCycle,e.shouldForceLeadingZeros,o,e.hideTimeZone,v]),{minValue:S,maxValue:D,isDateUnavailable:C}=e,E=u.useMemo(()=>Oa(r,S,D,C,y),[r,S,D,C,y]),w=tr({...e,value:r,builtinValidation:E}),P=w.displayValidation.isInvalid,F=e.validationState||(P?"invalid":null),b=(x,M)=>{n("timeZone"in M?M.set(Fe(x)):Ne(x,M)),p(null),m(null),w.commitValidation()};return{...w,value:r,setValue:n,dateValue:f,timeValue:h,setDateValue:x=>{let M=typeof c=="function"?c():c;s?h||M?b(x,h||gr(e.placeholderValue)):p(x):(n(x),w.commitValidation()),M&&t.setOpen(!1)},setTimeValue:x=>{f&&x?b(f,x):m(x)},granularity:i,hasTime:s,...t,setOpen(x){!x&&!r&&f&&s&&b(f,h||gr(e.placeholderValue)),t.setOpen(x)},validationState:F,isInvalid:P,formatValue(x,M){if(!l)return"";let R=Sr(M,y);return new bt(x,R).format(l)}}}const gb=new It({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 bb(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?gb.getStringForLocale(e,r):"––"}const Xn={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},mu={year:5,month:2,day:7,hour:2,minute:15,second:15},yb={dayperiod:"dayPeriod"};function G4(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:a,isReadOnly:i,isRequired:o,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue,[f,p]=Ml(c,e.granularity),h=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let m=u.useMemo(()=>new bt(t),[t]),v=u.useMemo(()=>r(m.resolvedOptions().calendar),[r,m]),[y,S]=Ge(e.value,e.defaultValue,e.onChange),D=u.useMemo(()=>W4(y,v),[y,v]),[C,E]=u.useState(()=>Ur(e.placeholderValue,f,v,p)),w=D||C,P=v.identifier==="gregory"&&w.era==="BC",F=u.useMemo(()=>{var I;return{granularity:f,maxGranularity:(I=e.maxGranularity)!==null&&I!==void 0?I:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:P,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,P]),b=u.useMemo(()=>Sr({},F),[F]),A=u.useMemo(()=>new bt(t,b),[t,b]),k=u.useMemo(()=>A.resolvedOptions(),[A]),x=u.useMemo(()=>A.formatToParts(new Date).filter(I=>Xn[I.type]).reduce((I,_)=>(I[_.type]=!0,I),{}),[A]),[M,R]=u.useState(()=>e.value||e.defaultValue?{...x}:{}),T=u.useRef(),K=u.useRef(v.identifier);u.useEffect(()=>{v.identifier!==K.current&&(K.current=v.identifier,E(I=>Object.keys(M).length>0?he(I,v):Ur(e.placeholderValue,f,v,p)))},[v,f,M,p,e.placeholderValue]),y&&Object.keys(M).length<Object.keys(x).length&&(M={...x},R(M)),y==null&&Object.keys(M).length===Object.keys(x).length&&(M={},R(M),E(Ur(e.placeholderValue,f,v,p)));let O=D&&Object.keys(M).length>=Object.keys(x).length?D:C,$=I=>{if(e.isDisabled||e.isReadOnly)return;let _=Object.keys(M),Z=Object.keys(x);I==null?(S(null),E(Ur(e.placeholderValue,f,v,p)),R({})):_.length>=Z.length||_.length===Z.length-1&&x.dayPeriod&&!M.dayPeriod&&T.current!=="dayPeriod"?(I=he(I,(c==null?void 0:c.calendar)||new Me),S(I)):E(I),T.current=null},z=u.useMemo(()=>O.toDate(h),[O,h]),H=u.useMemo(()=>A.formatToParts(z).map(I=>{let _=Xn[I.type];I.type==="era"&&v.getEras().length===1&&(_=!1);let Z=Xn[I.type]&&!M[I.type],Y=Xn[I.type]?bb(I.type,I.value,t):null;return{type:yb[I.type]||I.type,text:Z?Y:I.value,...$b(O,I.type,k),isPlaceholder:Z,placeholder:Y,isEditable:_}}),[z,M,A,k,O,v,t]);x.era&&M.year&&!M.era?(M.era=!0,R({...M})):!x.era&&M.era&&(delete M.era,R({...M}));let B=I=>{M[I]=!0,I==="year"&&x.era&&(M.era=!0),R({...M})},V=(I,_)=>{if(M[I])$(xb(O,I,_,k));else{B(I);let Z=Object.keys(M),Y=Object.keys(x);(Z.length>=Y.length||Z.length===Y.length-1&&x.dayPeriod&&!M.dayPeriod)&&$(O)}},N=u.useMemo(()=>Oa(y,l,s,d,F),[y,l,s,d,F]),G=tr({...e,value:y,builtinValidation:N}),W=G.displayValidation.isInvalid,Q=e.validationState||(W?"invalid":null);var q;return{...G,value:D,dateValue:z,calendar:v,setValue:$,segments:H,dateFormatter:A,validationState:Q,isInvalid:W,granularity:f,maxGranularity:(q=e.maxGranularity)!==null&&q!==void 0?q:"year",isDisabled:a,isReadOnly:i,isRequired:o,increment(I){V(I,1)},decrement(I){V(I,-1)},incrementPage(I){V(I,mu[I]||1)},decrementPage(I){V(I,-(mu[I]||1))},setSegment(I,_){B(I),$(Db(O,I,_,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let I=Object.keys(M),_=Object.keys(x);I.length===_.length-1&&x.dayPeriod&&!M.dayPeriod&&(M={...x},R(M),$(O.copy()))},clearSegment(I){delete M[I],T.current=I,R({...M});let _=Ur(e.placeholderValue,f,v,p),Z=O;if(I==="dayPeriod"&&"hour"in O&&"hour"in _){let Y=O.hour>=12,re=_.hour>=12;Y&&!re?Z=O.set({hour:O.hour-12}):!Y&&re&&(Z=O.set({hour:O.hour+12}))}else I in O&&(Z=O.set({[I]:_[I]}));S(null),$(Z)},formatValue(I){if(!D)return"";let _=Sr(I,F);return new bt(t,_).format(z)}}}function $b(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:gv(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:bv(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 xb(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 a=e.hour,i=a>=12;return e.set({hour:i?a-12:a+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}}function Db(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 a=e.hour,i=a>=12;return r>=12===i?e:e.set({hour:i?a-12:a+12})}case"hour":if(n.hour12){let i=e.hour>=12;!i&&r===12&&(r=0),i&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}}function wb(e){var t,r;let n=Vr(e),[a,i]=Ge(e.value,e.defaultValue||null,e.onChange),[o,l]=u.useState(()=>a||{start:null,end:null});a==null&&o.start&&o.end&&(o={start:null,end:null},l(o));let s=a||o,d=O=>{l(O||{start:null,end:null}),O!=null&&O.start&&O.end?i(O):i(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue,[f,p]=Ml(c,e.granularity),h=f==="hour"||f==="minute"||f==="second";var m;let v=(m=e.shouldCloseOnSelect)!==null&&m!==void 0?m:!0,[y,S]=u.useState(null),[D,C]=u.useState(null);s&&s.start&&s.end&&(y=s,"hour"in s.start&&(D=s));let E=(O,$)=>{d({start:"timeZone"in $.start?$.start.set(Fe(O.start)):Ne(O.start,$.start),end:"timeZone"in $.end?$.end.set(Fe(O.end)):Ne(O.end,$.end)}),S(null),C(null),R.commitValidation()},w=O=>{let $=typeof v=="function"?v():v;h?$||O.start&&O.end&&(D!=null&&D.start)&&(D!=null&&D.end)?E(O,{start:(D==null?void 0:D.start)||gr(e.placeholderValue),end:(D==null?void 0:D.end)||gr(e.placeholderValue)}):S(O):O.start&&O.end?(d(O),R.commitValidation()):S(O),$&&n.setOpen(!1)},P=O=>{y!=null&&y.start&&(y!=null&&y.end)&&O.start&&O.end?E(y,O):C(O)},F=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(r=s.end)===null||r===void 0?void 0:r.calendar.identifier)==="gregory"&&s.end.era==="BC",b=u.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:F}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,F]),{minValue:A,maxValue:k,isDateUnavailable:x}=e,M=u.useMemo(()=>pb(s,A,k,x,b),[s,A,k,x,b]),R=tr({...e,value:a,name:u.useMemo(()=>[e.startName,e.endName],[e.startName,e.endName]),builtinValidation:M}),T=R.displayValidation.isInvalid,K=e.validationState||(T?"invalid":null);return{...R,value:s,setValue:d,dateRange:y,timeRange:D,granularity:f,hasTime:h,setDate(O,$){w({...y,[O]:$})},setTime(O,$){P({...D,[O]:$})},setDateTime(O,$){d({...s,[O]:$})},setDateRange:w,setTimeRange:P,...n,setOpen(O){!O&&!(s!=null&&s.start&&(s!=null&&s.end))&&(y!=null&&y.start)&&(y!=null&&y.end)&&h&&E(y,{start:(D==null?void 0:D.start)||gr(e.placeholderValue),end:(D==null?void 0:D.end)||gr(e.placeholderValue)}),n.setOpen(O)},validationState:K,isInvalid:T,formatValue(O,$){if(!s||!s.start||!s.end)return null;let z="timeZone"in s.start?s.start.timeZone:void 0,H=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),B="timeZone"in s.end?s.end.timeZone:void 0,V=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),N=Sr($,{granularity:H,timeZone:z,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),G=s.start.toDate(z||"UTC"),W=s.end.toDate(B||"UTC"),Q=new bt(O,N),q;if(z===B&&H===V&&s.start.compare(s.end)!==0){try{let I=Q.formatRangeToParts(G,W),_=-1;for(let re=0;re<I.length;re++){let j=I[re];if(j.source==="shared"&&j.type==="literal")_=re;else if(j.source==="endRange")break}let Z="",Y="";for(let re=0;re<I.length;re++)re<_?Z+=I[re].value:re>_&&(Y+=I[re].value);return{start:Z,end:Y}}catch{}q=Q}else{let I=Sr($,{granularity:V,timeZone:B,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});q=new bt(O,I)}return{start:Q.format(G),end:q.format(W)}}}}function Eb(e){let{placeholderValue:t=new Mr,minValue:r,maxValue:n,granularity:a,validate:i}=e,[o,l]=Ge(e.value,e.defaultValue,e.onChange),s=o||t,d=s&&"day"in s?s:void 0,c=e.defaultValue&&"timeZone"in e.defaultValue?e.defaultValue.timeZone:void 0,f=u.useMemo(()=>{let D=s&&"timeZone"in s?s.timeZone:void 0;return(D||c)&&t?Zd(Wr(t),D||c):Wr(t)},[t,s,c]),p=u.useMemo(()=>Wr(r,d),[r,d]),h=u.useMemo(()=>Wr(n,d),[n,d]),m=u.useMemo(()=>o&&"day"in o?Ss(o):o,[o]),v=u.useMemo(()=>o==null?null:Wr(o),[o]);return{...G4({...e,value:v,defaultValue:void 0,minValue:p,maxValue:h,onChange:D=>{l(d||c?D:D&&Ss(D))},granularity:a||"minute",maxGranularity:"hour",placeholderValue:f,createCalendar:()=>new Me,validate:u.useCallback(()=>i==null?void 0:i(o),[i,o])}),timeValue:m}}function Wr(e,t=Ya(ul())){return e?"day"in e?e:Ne(t,e):null}function Cb(e){let t=Vr(e),[r,n]=u.useState(null),a=u4({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),i.commitValidation()}}),i=tr({...e,value:a.selectedKey}),[o,l]=u.useState(!1);return{...i,...a,...t,focusStrategy:r,open(s=null){a.collection.size!==0&&(n(s),t.open())},toggle(s=null){a.collection.size!==0&&(n(s),t.toggle())},isFocused:o,setFocused:l}}function Pb(e){var t;let r=u4({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:vu(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:n,collection:a,selectedKey:i}=r,o=u.useRef(i);return u.useEffect(()=>{let l=i;(n.isEmpty||!a.getItem(l))&&(l=vu(a,r.disabledKeys),l!=null&&n.setSelectedKeys([l])),(l!=null&&n.focusedKey==null||!n.isFocused&&l!==o.current)&&n.setFocusedKey(l),o.current=l}),{...r,isDisabled:e.isDisabled||!1}}function vu(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 q4=u.createContext({}),Y4=u.createContext({}),ei=u.createContext(null),ti=u.createContext(null);function Sb(e,t){[e,t]=ve(e,t,q4);let{locale:r}=Pe(),n=l4({...e,locale:r,createCalendar:xl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:o,errorMessageProps:l,title:s}=S3(e,n),d=de({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-Calendar"});return u.createElement("div",{...d,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},u.createElement(Ie,{values:[[Or,{slots:{previous:i,next:o}}],[_a,{"aria-hidden":!0,level:2,children:s}],[ei,n],[Et,{slots:{errorMessage:l}}]]},u.createElement(Jt,null,u.createElement("h2",null,a["aria-label"])),d.children,u.createElement(Jt,null,u.createElement("button",{"aria-label":o["aria-label"],disabled:o.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const kb=u.forwardRef(Sb);function Bb(e,t){[e,t]=ve(e,t,Y4);let{locale:r}=Pe(),n=lb({...e,locale:r,createCalendar:xl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:o,errorMessageProps:l,title:s}=k3(e,n,t),d=de({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:n.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return u.createElement("div",{...d,...a,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":n.isValueInvalid||void 0},u.createElement(Ie,{values:[[Or,{slots:{previous:i,next:o}}],[_a,{"aria-hidden":!0,level:2,children:s}],[ti,n],[Et,{slots:{errorMessage:l}}]]},u.createElement(Jt,null,u.createElement("h2",null,a["aria-label"])),d.children,u.createElement(Jt,null,u.createElement("button",{"aria-label":o["aria-label"],disabled:o.isDisabled,onClick:()=>n.focusNextPage(),tabIndex:-1}))))}const Rb=u.forwardRef(Bb),ri=u.createContext(null);function Tb(e,t){let r=u.useContext(ei),n=u.useContext(ti),a=r??n,i=a.visibleRange.start;e.offset&&(i=i.add(e.offset));let{gridProps:o,headerProps:l,weekDays:s}=B3({startDate:i,endDate:Sa(i),weekdayStyle:e.weekdayStyle},a);var d;return u.createElement(ri.Provider,{value:{headerProps:l,weekDays:s,startDate:i}},u.createElement("table",{...te(e),...o,ref:t,style:e.style,className:(d=e.className)!==null&&d!==void 0?d:"react-aria-CalendarGrid"},typeof e.children!="function"?e.children:u.createElement(u.Fragment,null,u.createElement(Mb,null,c=>u.createElement(Ob,null,c)),u.createElement(Lb,null,e.children))))}const Ab=u.forwardRef(Tb);function Fb(e,t){let{children:r,style:n,className:a}=e,{headerProps:i,weekDays:o}=u.useContext(ri);return u.createElement("thead",{...te(e),...i,ref:t,style:n,className:a||"react-aria-CalendarGridHeader"},u.createElement("tr",null,o.map((l,s)=>u.cloneElement(r(l),{key:s}))))}const Mb=u.forwardRef(Fb);function Ib(e,t){let{children:r,style:n,className:a}=e;return u.createElement("th",{...te(e),ref:t,style:n,className:a||"react-aria-CalendarHeaderCell"},r)}const Ob=u.forwardRef(Ib);function Vb(e,t){let{children:r,style:n,className:a}=e,i=u.useContext(ei),o=u.useContext(ti),l=i??o,{startDate:s}=u.useContext(ri),{locale:d}=Pe(),c=Dv(s,d);return u.createElement("tbody",{...te(e),ref:t,style:n,className:a||"react-aria-CalendarGridBody"},[...new Array(c).keys()].map(f=>u.createElement("tr",{key:f},l.getDatesInWeek(f,s).map((p,h)=>p?u.cloneElement(r(p),{key:h}):u.createElement("td",{key:h})))))}const Lb=u.forwardRef(Vb);function jb({date:e,...t},r){let n=u.useContext(ei),a=u.useContext(ti),i=n??a;var o;let{startDate:l}=(o=u.useContext(ri))!==null&&o!==void 0?o:{startDate:i.visibleRange.start},s=u.useRef(null),{cellProps:d,buttonProps:c,...f}=T3({date:e},i,s),{hoverProps:p,isHovered:h}=nt({...t,isDisabled:f.isDisabled}),{focusProps:m,isFocusVisible:v}=Oe();v&&(v=f.isFocused);let y=!hv(l,e),S=!1,D=!1;"highlightedRange"in i&&i.highlightedRange&&(S=Ee(e,i.highlightedRange.start),D=Ee(e,i.highlightedRange.end));let C=de({...t,defaultChildren:f.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:e,isHovered:h,isOutsideMonth:y,isFocusVisible:v,isSelectionStart:S,isSelectionEnd:D,...f}}),E={"data-focused":f.isFocused||void 0,"data-hovered":h||void 0,"data-pressed":f.isPressed||void 0,"data-unavailable":f.isUnavailable||void 0,"data-disabled":f.isDisabled||void 0,"data-focus-visible":v||void 0,"data-outside-visible-range":f.isOutsideVisibleRange||void 0,"data-outside-month":y||void 0,"data-selected":f.isSelected||void 0,"data-selection-start":S||void 0,"data-selection-end":D||void 0,"data-invalid":f.isInvalid||void 0};return u.createElement("td",{...d,ref:r},u.createElement("div",{...U(te(t),c,m,p,E,C),ref:s}))}const Kb=u.forwardRef(jb),Mn=u.createContext(null),Lr=u.createContext(null),In=u.createContext({}),Nb=u.createContext(null),J4=u.createContext(null);function _b(e,t){[e,t]=ve(e,t,Nb);let{validationBehavior:r}=wt(Lr)||{};var n,a;let i=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",o=sb({...e,validationBehavior:i}),[l,s]=Ir(),{groupProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p,...h}=L3({...e,label:s,validationBehavior:i},o),m=de({...e,values:{isDisabled:o.isDisabled,isReadOnly:o.isReadOnly,isRequired:e.isRequired||!1,isInvalid:o.isInvalid,state:o},defaultClassName:"react-aria-CheckboxGroup"});return u.createElement("div",{...d,...m,ref:t,slot:e.slot||void 0,"data-readonly":o.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":o.isInvalid||void 0,"data-disabled":e.isDisabled||void 0},u.createElement(Ie,{values:[[J4,o],[In,{...c,ref:l,elementType:"span"}],[Et,{slots:{description:f,errorMessage:p}}],[Mn,h]]},m.children))}function zb(e,t){let{inputRef:r=null,...n}=e;[e,t]=ve(n,t,_h);let{validationBehavior:a}=wt(Lr)||{};var i,o;let l=(o=(i=e.validationBehavior)!==null&&i!==void 0?i:a)!==null&&o!==void 0?o:"native",s=u.useContext(J4),d=Je(En(r,e.inputRef!==void 0?e.inputRef:null)),{labelProps:c,inputProps:f,isSelected:p,isDisabled:h,isReadOnly:m,isPressed:v,isInvalid:y}=s?j3({...e,value:e.value,children:typeof e.children=="function"?!0:e.children},s,d):Jc({...e,children:typeof e.children=="function"?!0:e.children,validationBehavior:l},El(e),d),{isFocused:S,isFocusVisible:D,focusProps:C}=Oe(),E=h||m,{hoverProps:w,isHovered:P}=nt({...e,isDisabled:E}),F=de({...e,defaultClassName:"react-aria-Checkbox",values:{isSelected:p,isIndeterminate:e.isIndeterminate||!1,isPressed:v,isHovered:P,isFocused:S,isFocusVisible:D,isDisabled:h,isReadOnly:m,isInvalid:y,isRequired:e.isRequired||!1}}),b=te(e);return delete b.id,u.createElement("label",{...U(b,c,w,F),ref:t,slot:e.slot||void 0,"data-selected":p||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-pressed":v||void 0,"data-hovered":P||void 0,"data-focused":S||void 0,"data-focus-visible":D||void 0,"data-disabled":h||void 0,"data-readonly":m||void 0,"data-invalid":y||void 0,"data-required":e.isRequired||void 0},u.createElement(Jt,{elementType:"span"},u.createElement("input",{...U(f,C),ref:d})),F.children)}const Hb=u.forwardRef(zb),Zb=u.forwardRef(_b),Il=u.createContext({});let Ub=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...a}=e;return a};function Wb(e,t){[e,t]=ve(e,t,Il);let{hoverProps:r,isHovered:n}=nt(e),{isFocused:a,isFocusVisible:i,focusProps:o}=Oe({isTextInput:!0,autoFocus:e.autoFocus}),l=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",s=de({...e,values:{isHovered:n,isFocused:a,isFocusVisible:i,isDisabled:e.disabled||!1,isInvalid:l},defaultClassName:"react-aria-Input"});return u.createElement("input",{...U(Ub(e),o,r),...s,ref:t,"data-focused":a||void 0,"data-disabled":e.disabled||void 0,"data-hovered":n||void 0,"data-focus-visible":i||void 0,"data-invalid":l||void 0})}const Gb=Fl(Wb);var Q4={};Q4={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var X4={};X4={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var ep={};ep={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var tp={};tp={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var rp={};rp={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var np={};np={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var ap={};ap={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var ip={};ip={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var op={};op={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var lp={};lp={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var sp={};sp={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var up={};up={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var dp={};dp={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var cp={};cp={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var fp={};fp={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var pp={};pp={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var hp={};hp={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var mp={};mp={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var vp={};vp={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var gp={};gp={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var bp={};bp={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var yp={};yp={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var $p={};$p={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var xp={};xp={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Dp={};Dp={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var wp={};wp={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var Ep={};Ep={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var Cp={};Cp={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var Pp={};Pp={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var Sp={};Sp={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var kp={};kp={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var Bp={};Bp={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var Rp={};Rp={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var Tp={};Tp={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var Ap={};Ap={"ar-AE":Q4,"bg-BG":X4,"cs-CZ":ep,"da-DK":tp,"de-DE":rp,"el-GR":np,"en-US":ap,"es-ES":ip,"et-EE":op,"fi-FI":lp,"fr-FR":sp,"he-IL":up,"hr-HR":dp,"hu-HU":cp,"it-IT":fp,"ja-JP":pp,"ko-KR":hp,"lt-LT":mp,"lv-LV":vp,"nb-NO":gp,"nl-NL":bp,"pl-PL":yp,"pt-BR":$p,"pt-PT":xp,"ro-RO":Dp,"ru-RU":wp,"sk-SK":Ep,"sl-SI":Cp,"sr-SP":Pp,"sv-SE":Sp,"tr-TR":kp,"uk-UA":Bp,"zh-CN":Rp,"zh-TW":Tp};const Fp=u.createContext(null);function qb(e,t){let{render:r}=u.useContext(Fp);return u.createElement(u.Fragment,null,r(e,t))}const Yb=u.forwardRef(qb),Ol=u.createContext({}),Jb=u.createContext({});function Qb(e,t){let[r,n]=ve(e,t,Jb),a=r4("header",e,t);return a||u.createElement("header",{className:"react-aria-Header",...r,ref:n},r.children)}const Xb=u.forwardRef(Qb),Mp=u.createContext({});function e5(e,t){let[r,n]=ve(e,t,Mp),{elementType:a,orientation:i,style:o,className:l}=r,s=a||"hr";s==="hr"&&i==="vertical"&&(s="div");let{separatorProps:d}=Lg({elementType:a,orientation:i}),c=r4("separator",e,t);return c||u.createElement(s,{...te(r),...d,style:o,className:l??"react-aria-Separator",ref:n,slot:r.slot||void 0})}const t5=u.forwardRef(e5),Vl=u.createContext(null),On=u.createContext(null);function r5(e,t){[e,t]=ve(e,t,Vl);let r=u.useContext(yn),n=u.useContext(On);return u.useContext(An)?u.createElement(t4,e):n?r?null:u.createElement(Ip,{state:n,props:e,listBoxRef:t}):u.createElement(n5,{props:e,listBoxRef:t})}function n5({props:e,listBoxRef:t}){let{portal:r,collection:n}=Jg(e);e={...e,collection:n,children:null,items:null};let a=s4(e);return u.createElement(u.Fragment,null,r,u.createElement(Ip,{state:a,props:e,listBoxRef:t}))}const a5=u.forwardRef(r5);function Ip({state:e,props:t,listBoxRef:r}){let{dragAndDropHooks:n,layout:a="stack",orientation:i="vertical"}=t,{collection:o,selectionManager:l}=e,s=!!(n!=null&&n.useDraggableCollectionState),d=!!(n!=null&&n.useDroppableCollectionState),{direction:c}=Pe(),{disabledBehavior:f,disabledKeys:p}=l,h=Qa({usage:"search",sensitivity:"base"}),m=u.useMemo(()=>t.keyboardDelegate||new Pl({collection:o,collator:h,ref:r,disabledKeys:p,disabledBehavior:f,layout:a,orientation:i,direction:c}),[o,h,r,f,p,i,c,t.keyboardDelegate,a]),{listBoxProps:v}=dg({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:m},e,r),y=Bl({items:o,children:K=>{switch(K.type){case"section":return u.createElement(i5,{section:K});case"separator":return u.createElement(t5,K.props);case"item":return u.createElement(Op,{item:K});default:throw new Error("Unsupported node type in Menu: "+K.type)}}}),S=u.useRef(s),D=u.useRef(d);u.useEffect(()=>{S.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),D.current!==d&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[s,d]);let C,E,w,P=!1,F=null,b=u.useRef(null);if(s&&n){C=n.useDraggableCollectionState({collection:o,selectionManager:l,preview:n.renderDragPreview?b:void 0}),n.useDraggableCollection({},C,r);let K=n.DragPreview;F=n.renderDragPreview?u.createElement(K,{ref:b},n.renderDragPreview):null}if(d&&n){E=n.useDroppableCollectionState({collection:o,selectionManager:l});let K=n.dropTargetDelegate||new n.ListDropTargetDelegate(o,r,{orientation:i,layout:a,direction:c});w=n.useDroppableCollection({keyboardDelegate:m,dropTargetDelegate:K},E,r),P=E.isDropTarget({type:"root"})}let{focusProps:A,isFocused:k,isFocusVisible:x}=Oe(),M={isDropTarget:P,isEmpty:e.collection.size===0,isFocused:k,isFocusVisible:x,layout:t.layout||"stack",state:e},R=de({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:M}),T=null;return e.collection.size===0&&t.renderEmptyState&&(T=u.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(M))),u.createElement(Bd,null,u.createElement("div",{...te(t),...U(v,A,w==null?void 0:w.collectionProps),...R,ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":P||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":k||void 0,"data-focus-visible":x||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},u.createElement(Ie,{values:[[Vl,t],[On,e],[Ol,{dragAndDropHooks:n,dragState:C,dropState:E}],[Mp,{elementType:"div"}],[Fp,{render:u5}]]},y),T,F))}function i5({section:e,className:t,style:r}){var n,a;let i=u.useContext(On),[o,l]=Ir();var s;let{headingProps:d,groupProps:c}=bg({heading:l,"aria-label":(s=e.props["aria-label"])!==null&&s!==void 0?s:void 0}),f=Bl({items:i.collection.getChildren(e.key),children:p=>{switch(p.type){case"header":return u.createElement(o5,{item:p,headingProps:d,headingRef:o});case"item":return u.createElement(Op,{item:p});default:throw new Error("Unsupported element type in Section: "+p.type)}}});return u.createElement("section",{...te(e.props),...c,className:t||((n=e.props)===null||n===void 0?void 0:n.className)||"react-aria-Section",style:r||((a=e.props)===null||a===void 0?void 0:a.style),ref:e.props.ref},f)}function o5({item:e,headingProps:t,headingRef:r}){let{ref:n,...a}=e.props;return u.createElement(Xb,{...t,...a,ref:En(r,n)},e.rendered)}function l5(e,t){return Tl("item",e,t,e.children)}const s5=u.forwardRef(l5);function Op({item:e}){var t;let r=Je(e.props.ref),n=u.useContext(On),{dragAndDropHooks:a,dragState:i,dropState:o}=u.useContext(Ol),{optionProps:l,labelProps:s,descriptionProps:d,...c}=gg({key:e.key,"aria-label":(t=e.props)===null||t===void 0?void 0:t["aria-label"]},n,r),{hoverProps:f,isHovered:p}=nt({isDisabled:!c.allowsSelection&&!c.hasAction,onHoverStart:e.props.onHoverStart,onHoverChange:e.props.onHoverChange,onHoverEnd:e.props.onHoverEnd}),h=null;i&&a&&(h=a.useDraggableItem({key:e.key},i));let m=null;o&&a&&(m=a.useDroppableItem({target:{type:"item",key:e.key,dropPosition:"on"}},o,r));let v=e.props,y=i&&i.isDragging(e.key),S=de({...v,id:void 0,children:e.rendered,defaultClassName:"react-aria-ListBoxItem",values:{...c,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior,allowsDragging:!!i,isDragging:y,isDropTarget:m==null?void 0:m.isDropTarget}}),D=(a==null?void 0:a.renderDropIndicator)||(E=>u.createElement(Yb,{target:E}));u.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 C=v.href?"a":"div";return u.createElement(u.Fragment,null,(a==null?void 0:a.useDropIndicator)&&D({type:"item",key:e.key,dropPosition:"before"}),u.createElement(C,{...U(l,f,h==null?void 0:h.dragProps,m==null?void 0:m.dropProps),...S,ref:r,"data-allows-dragging":!!i||void 0,"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":c.isFocusVisible||void 0,"data-pressed":c.isPressed||void 0,"data-dragging":y||void 0,"data-drop-target":(m==null?void 0:m.isDropTarget)||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},u.createElement(Ie,{values:[[Et,{slots:{label:s,description:d}}]]},S.children)),(a==null?void 0:a.useDropIndicator)&&n.collection.getKeyAfter(e.key)==null&&D({type:"item",key:e.key,dropPosition:"after"}))}function u5(e,t){t=Je(t);let{dragAndDropHooks:r,dropState:n}=u.useContext(Ol),{dropIndicatorProps:a,isHidden:i,isDropTarget:o}=r.useDropIndicator(e,n,t);return i?null:u.createElement(c5,{...e,dropIndicatorProps:a,isDropTarget:o,ref:t})}function d5(e,t){let{dropIndicatorProps:r,isDropTarget:n,...a}=e,i=de({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return u.createElement("div",{...r,...i,role:"option",ref:t,"data-drop-target":n||void 0})}const c5=u.forwardRef(d5),Vn=u.createContext({});function f5(e,t){[e,t]=ve(e,t,Vn);let{isDisabled:r,isInvalid:n,onHoverStart:a,onHoverChange:i,onHoverEnd:o,...l}=e,{hoverProps:s,isHovered:d}=nt({onHoverStart:a,onHoverChange:i,onHoverEnd:o,isDisabled:r}),{isFocused:c,isFocusVisible:f,focusProps:p}=Oe({within:!0});r??(r=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),n??(n=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let h=de({...e,values:{isHovered:d,isFocusWithin:c,isFocusVisible:f,isDisabled:r,isInvalid:n},defaultClassName:"react-aria-Group"});var m,v;return u.createElement("div",{...U(l,p,s),...h,ref:t,role:(m=e.role)!==null&&m!==void 0?m:"group",slot:(v=e.slot)!==null&&v!==void 0?v:void 0,"data-focus-within":c||void 0,"data-hovered":d||void 0,"data-focus-visible":f||void 0,"data-disabled":r||void 0,"data-invalid":n||void 0},h.children)}const Ll=u.forwardRef(f5),p5=u.createContext({placement:"bottom"}),Ln=u.createContext(null);function h5(e,t){[e,t]=ve(e,t,Ln);let r=u.useContext(Ct),n=Vr(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,i=To(t,a.isOpen)||e.isExiting||!1;if(u.useContext(yn)){let l=e.children;return typeof l=="function"&&(l=l({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),u.createElement(u.Fragment,null,l)}return a&&!a.isOpen&&!i?null:u.createElement(m5,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:i})}const jl=u.forwardRef(h5);function m5({state:e,isExiting:t,UNSTABLE_portalContainer:r,...n}){let a=u.useRef(null),[i,o]=u.useState(0);le(()=>{a.current&&e.isOpen&&o(a.current.getBoundingClientRect().width)},[e.isOpen,a]);var l;let{popoverProps:s,underlayProps:d,arrowProps:c,placement:f}=tg({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:i},e),p=n.popoverRef,h=Al(p,!!f)||n.isEntering||!1,m=de({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:h,isExiting:t}}),v={...s.style,...m.style};return u.createElement(Hf,{isExiting:t,portalContainer:r},!n.isNonModal&&e.isOpen&&u.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),u.createElement("div",{...U(te(n),s),...m,ref:p,slot:n.slot||void 0,style:v,"data-trigger":n.trigger,"data-placement":f,"data-entering":h||void 0,"data-exiting":t||void 0},!n.isNonModal&&u.createElement(Po,{onDismiss:e.close}),u.createElement(p5.Provider,{value:{...c,placement:f,ref:a}},m.children),u.createElement(Po,{onDismiss:e.close})))}const ni=u.createContext(null),Ct=u.createContext(null);function v5(e){let t=Vr(e),r=u.useRef(null),{triggerProps:n,overlayProps:a}=nf({type:"dialog"},t,r);return n.id=Re(),a["aria-labelledby"]=n.id,u.createElement(Ie,{values:[[Ct,t],[ni,a],[Ln,{trigger:"DialogTrigger",triggerRef:r}]]},u.createElement(km,{...n,ref:r,isPressed:t.isOpen},e.children))}function g5(e,t){let r=e["aria-labelledby"];[e,t]=ve(e,t,ni);let{dialogProps:n,titleProps:a}=Mg({...e,"aria-labelledby":r},t),i=u.useContext(Ct),o=e.children;typeof o=="function"&&(o=o({close:(i==null?void 0:i.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 l;return u.createElement("section",{...te(e),...n,ref:t,slot:e.slot||void 0,style:e.style,className:(l=e.className)!==null&&l!==void 0?l:"react-aria-Dialog"},u.createElement(Ie,{values:[[_a,{slots:{[Ro]:{},title:{...a,level:2}}}]]},o))}const Kl=u.forwardRef(g5),Nl=u.createContext(null),b5=u.createContext(null),ai=u.createContext(null),ii=u.createContext(null);function y5(e,t){[e,t]=ve(e,t,b5);let{validationBehavior:r}=wt(Lr)||{};var n,a;let i=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",{locale:o}=Pe(),l=Eb({...e,locale:o,validationBehavior:i}),s=u.useRef(null),[d,c]=Ir(),f=u.useRef(null),{labelProps:p,fieldProps:h,inputProps:m,descriptionProps:v,errorMessageProps:y,...S}=Dg({...Fn(e),label:c,inputRef:f,validationBehavior:i},l,s),D=de({...e,values:{state:l,isInvalid:l.isInvalid,isDisabled:l.isDisabled},defaultClassName:"react-aria-TimeField"}),C=te(e);return delete C.id,u.createElement(Ie,{values:[[ii,l],[Vn,{...h,ref:s,isInvalid:l.isInvalid}],[Il,{...m,ref:f}],[In,{...p,ref:d,elementType:"span"}],[Et,{slots:{description:v,errorMessage:y}}],[Mn,S]]},u.createElement("div",{...C,...D,ref:t,slot:e.slot||void 0,"data-invalid":l.isInvalid||void 0}))}const $5=u.forwardRef(y5);function x5(e,t){let r=u.useContext(ai),n=u.useContext(ii);return r||n?u.createElement(Vp,{...e,ref:t}):u.createElement(D5,{...e,ref:t})}const D5=u.forwardRef((e,t)=>{let[r,n]=ve({slot:e.slot},t,Nl),{locale:a}=Pe(),i=G4({...r,locale:a,createCalendar:xl}),o=u.useRef(null),{fieldProps:l,inputProps:s}=p1({...r,inputRef:o},i,n);return u.createElement(Ie,{values:[[ai,i],[Il,{...s,ref:o}],[Vn,{...l,ref:n,isInvalid:i.isInvalid}]]},u.createElement(Vp,e))}),Vp=u.forwardRef((e,t)=>{let{className:r,children:n}=e,a=u.useContext(ai),i=u.useContext(ii),o=a??i;return u.createElement(u.Fragment,null,u.createElement(Ll,{...e,ref:t,slot:e.slot||void 0,className:r??"react-aria-DateInput",isInvalid:o.isInvalid},o.segments.map((l,s)=>u.cloneElement(n(l),{key:s}))),u.createElement(Gb,null))}),_l=u.forwardRef(x5);function w5({segment:e,...t},r){let n=u.useContext(ai),a=u.useContext(ii),i=n??a,o=Je(r),{segmentProps:l}=Rg(e,i,o),{focusProps:s,isFocused:d,isFocusVisible:c}=Oe(),{hoverProps:f,isHovered:p}=nt({...t,isDisabled:i.isDisabled||e.type==="literal"}),h=de({...t,values:{...e,isReadOnly:!e.isEditable,isInvalid:i.isInvalid,isDisabled:i.isDisabled,isHovered:p,isFocused:d,isFocusVisible:c},defaultChildren:e.text,defaultClassName:"react-aria-DateSegment"});return u.createElement("div",{...U(te(t),l,s,f),...h,ref:o,"data-placeholder":e.isPlaceholder||void 0,"data-invalid":i.isInvalid||void 0,"data-readonly":!e.isEditable||void 0,"data-disabled":i.isDisabled||void 0,"data-type":e.type,"data-hovered":p||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0})}const Va=u.forwardRef(w5),E5=u.createContext(null),C5=u.createContext(null),P5=u.createContext(null),S5=u.createContext(null);function k5(e,t){[e,t]=ve(e,t,E5);let{validationBehavior:r}=wt(Lr)||{};var n,a;let i=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",o=vb({...e,validationBehavior:i}),l=u.useRef(null),[s,d]=Ir(),{groupProps:c,labelProps:f,fieldProps:p,buttonProps:h,dialogProps:m,calendarProps:v,descriptionProps:y,errorMessageProps:S,...D}=Eg({...Fn(e),label:d,validationBehavior:i},o,l),[C,E]=u.useState(null),w=u.useCallback(()=>{l.current&&E(l.current.offsetWidth+"px")},[]);Za({ref:l,onResize:w});let{focusProps:P,isFocused:F,isFocusVisible:b}=Oe({within:!0}),A=de({...e,values:{state:o,isFocusWithin:F,isFocusVisible:b,isDisabled:e.isDisabled||!1,isInvalid:o.isInvalid,isOpen:o.isOpen},defaultClassName:"react-aria-DatePicker"}),k=te(e);return delete k.id,u.createElement(Ie,{values:[[P5,o],[Vn,{...c,ref:l,isInvalid:o.isInvalid}],[Nl,p],[Or,{...h,isPressed:o.isOpen}],[In,{...f,ref:s,elementType:"span"}],[q4,v],[Ct,o],[Ln,{trigger:"DatePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":C}}],[ni,m],[Et,{slots:{description:y,errorMessage:S}}],[Mn,D]]},u.createElement("div",{...P,...k,...A,ref:t,slot:e.slot||void 0,"data-focus-within":F||void 0,"data-invalid":o.isInvalid||void 0,"data-focus-visible":b||void 0,"data-disabled":e.isDisabled||void 0,"data-open":o.isOpen||void 0}))}const B5=u.forwardRef(k5);function R5(e,t){[e,t]=ve(e,t,C5);let{validationBehavior:r}=wt(Lr)||{};var n,a;let i=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",o=wb({...e,validationBehavior:i}),l=u.useRef(null),[s,d]=Ir(),{groupProps:c,labelProps:f,startFieldProps:p,endFieldProps:h,buttonProps:m,dialogProps:v,calendarProps:y,descriptionProps:S,errorMessageProps:D,...C}=Fg({...Fn(e),label:d,validationBehavior:i},o,l),[E,w]=u.useState(null),P=u.useCallback(()=>{l.current&&w(l.current.offsetWidth+"px")},[]);Za({ref:l,onResize:P});let{focusProps:F,isFocused:b,isFocusVisible:A}=Oe({within:!0}),k=de({...e,values:{state:o,isFocusWithin:b,isFocusVisible:A,isDisabled:e.isDisabled||!1,isInvalid:o.isInvalid,isOpen:o.isOpen},defaultClassName:"react-aria-DateRangePicker"}),x=te(e);return delete x.id,u.createElement(Ie,{values:[[S5,o],[Vn,{...c,ref:l,isInvalid:o.isInvalid}],[Or,{...m,isPressed:o.isOpen}],[In,{...f,ref:s,elementType:"span"}],[Y4,y],[Ct,o],[Ln,{trigger:"DateRangePicker",triggerRef:l,placement:"bottom start",style:{"--trigger-width":E}}],[ni,v],[Nl,{slots:{start:p,end:h}}],[Et,{slots:{description:S,errorMessage:D}}],[Mn,C]]},u.createElement("div",{...F,...x,...k,ref:t,slot:e.slot||void 0,"data-focus-within":b||void 0,"data-invalid":o.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":e.isDisabled||void 0,"data-open":o.isOpen||void 0}))}const T5=u.forwardRef(R5);function A5(e,t){[e,t]=ve(e,t,_a);let{children:r,level:n=3,className:a,...i}=e,o=`h${n}`;return u.createElement(o,{...i,ref:t,className:a??"react-aria-Heading"},r)}const F5=u.forwardRef(A5),M5=u.createContext(null),zl=u.createContext(null);function I5(e,t){if(u.useContext(zl))return u.createElement(gu,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:i,defaultOpen:o,onOpenChange:l,children:s,isEntering:d,isExiting:c,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p,...h}=e;return u.createElement(Lp,{isDismissable:n,isKeyboardDismissDisabled:a,isOpen:i,defaultOpen:o,onOpenChange:l,isEntering:d,isExiting:c,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p},u.createElement(gu,{...h,modalRef:t},s))}const O5=u.forwardRef(I5);function V5(e,t){[e,t]=ve(e,t,M5);let r=u.useContext(Ct),n=Vr(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,i=Je(t),o=u.useRef(null),l=To(i,a.isOpen),s=To(o,a.isOpen),d=l||s||e.isExiting||!1,c=Dt();return!a.isOpen&&!d||c?null:u.createElement(L5,{...e,state:a,isExiting:d,overlayRef:i,modalRef:o})}const Lp=u.forwardRef(V5);function L5({UNSTABLE_portalContainer:e,...t}){let r=t.modalRef,{state:n}=t,{modalProps:a,underlayProps:i}=ag(t,n,r),o=Al(t.overlayRef)||t.isEntering||!1,l=de({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:o,isExiting:t.isExiting,state:n}}),s=vm(),d={...l.style,"--visual-viewport-height":s.height+"px"};return u.createElement(Hf,{isExiting:t.isExiting,portalContainer:e},u.createElement("div",{...U(te(t),i),...l,style:d,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},u.createElement(Ie,{values:[[zl,{modalProps:a,modalRef:r,isExiting:t.isExiting,isDismissable:t.isDismissable}],[Ct,n]]},l.children)))}function gu(e){let{modalProps:t,modalRef:r,isExiting:n,isDismissable:a}=u.useContext(zl),i=u.useContext(Ct),o=u.useMemo(()=>En(e.modalRef,r),[e.modalRef,r]),l=Je(o),s=Al(l),d=de({...e,defaultClassName:"react-aria-Modal",values:{isEntering:s,isExiting:n,state:i}});return u.createElement("div",{...U(te(e),t),...d,ref:l,"data-entering":s||void 0,"data-exiting":n||void 0},a&&u.createElement(Po,{onDismiss:i.close}),d.children)}function j5(e){return e&&e.__esModule?e.default:e}const ua=u.createContext(null),Mo=u.createContext(null);function K5(e,t){[e,t]=ve(e,t,ua);let{validationBehavior:r}=wt(Lr)||{};var n,a;let i=(a=(n=e.validationBehavior)!==null&&n!==void 0?n:r)!==null&&a!==void 0?a:"native",{collection:o,document:l}=Rl(),s=Cb({...e,collection:o,children:void 0,validationBehavior:i}),{isFocusVisible:d,focusProps:c}=Oe({within:!0}),f=u.useRef(null),[p,h]=Ir(),{labelProps:m,triggerProps:v,valueProps:y,menuProps:S,descriptionProps:D,errorMessageProps:C,...E}=Ig({...Fn(e),label:h,validationBehavior:i},s,f),[w,P]=u.useState(null),F=u.useCallback(()=>{f.current&&P(f.current.offsetWidth+"px")},[f]);Za({ref:f,onResize:F});let b=u.useMemo(()=>({isOpen:s.isOpen,isFocused:s.isFocused,isFocusVisible:d,isDisabled:e.isDisabled||!1,isInvalid:E.isInvalid||!1,isRequired:e.isRequired||!1}),[s.isOpen,s.isFocused,d,e.isDisabled,E.isInvalid,e.isRequired]),A=de({...e,values:b,defaultClassName:"react-aria-Select"}),k=te(e);return delete k.id,u.createElement(u.Fragment,null,u.createElement(a4,null,u.createElement(Ie,{values:[[ua,e],[Mo,s],[An,l]]},A.children)),u.createElement(Ie,{values:[[ua,e],[Mo,s],[jp,y],[In,{...m,ref:p,elementType:"span"}],[Or,{...v,ref:f,isPressed:s.isOpen}],[Ct,s],[Ln,{trigger:"Select",triggerRef:f,placement:"bottom start",style:{"--trigger-width":w}}],[Vl,S],[On,s],[Et,{slots:{description:D,errorMessage:C}}],[Mn,E]]},u.createElement("div",{...k,...A,...c,ref:t,slot:e.slot||void 0,"data-focused":s.isFocused||void 0,"data-focus-visible":d||void 0,"data-open":s.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-required":e.isRequired||void 0}),u.createElement(Vg,{state:s,triggerRef:f,label:h,name:e.name,isDisabled:e.isDisabled})))}const N5=u.forwardRef(K5),jp=u.createContext(null);function _5(e,t){var r,n;[e,t]=ve(e,t,jp);let a=u.useContext(Mo),{placeholder:i}=wt(ua),o=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,l=o==null?void 0:o.rendered;typeof l=="function"&&(l=l({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let s=at(j5(Ap),"react-aria-components");var d,c;let f=de({...e,defaultChildren:l||i||s.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(d=(r=a.selectedItem)===null||r===void 0?void 0:r.value)!==null&&d!==void 0?d:null,selectedText:(c=(n=a.selectedItem)===null||n===void 0?void 0:n.textValue)!==null&&c!==void 0?c:null,isPlaceholder:!o}}),p=te(e);return u.createElement("span",{ref:t,...p,...f,"data-placeholder":!o||void 0},u.createElement(Et.Provider,{value:void 0},f.children))}const z5=u.forwardRef(_5),H5=u.createContext(null);function Z5(e,t){let{inputRef:r=null,...n}=e;[e,t]=ve(n,t,H5);let a=Je(En(r,e.inputRef!==void 0?e.inputRef:null)),i=El(e),{labelProps:o,inputProps:l,isSelected:s,isDisabled:d,isReadOnly:c,isPressed:f}=jg({...Fn(e),children:typeof e.children=="function"?!0:e.children},i,a),{isFocused:p,isFocusVisible:h,focusProps:m}=Oe(),v=e.isDisabled||e.isReadOnly,{hoverProps:y,isHovered:S}=nt({...e,isDisabled:v}),D=de({...e,defaultClassName:"react-aria-Switch",values:{isSelected:s,isPressed:f,isHovered:S,isFocused:p,isFocusVisible:h,isDisabled:d,isReadOnly:c,state:i}}),C=te(e);return delete C.id,u.createElement("label",{...U(C,o,y,D),ref:t,slot:e.slot||void 0,"data-selected":s||void 0,"data-pressed":f||void 0,"data-hovered":S||void 0,"data-focused":p||void 0,"data-focus-visible":h||void 0,"data-disabled":d||void 0,"data-readonly":c||void 0},u.createElement(Jt,{elementType:"span"},u.createElement("input",{...U(l,m),ref:a})),D.children)}const U5=u.forwardRef(Z5),Hl=u.createContext(null),Zl=u.createContext(null);function W5(e,t){[e,t]=ve(e,t,Hl);let{collection:r,document:n}=Rl(),{children:a,orientation:i="horizontal"}=e;return a=u.useMemo(()=>typeof a=="function"?a({orientation:i,defaultChildren:null}):a,[a,i]),u.createElement(u.Fragment,null,u.createElement(a4,null,u.createElement(An.Provider,{value:n},a)),u.createElement(G5,{props:e,collection:r,tabsRef:t}))}function G5({props:e,tabsRef:t,collection:r}){let{orientation:n="horizontal"}=e,a=Pb({...e,collection:r,children:void 0}),{focusProps:i,isFocused:o,isFocusVisible:l}=Oe({within:!0}),s=u.useMemo(()=>({orientation:n,isFocusWithin:o,isFocusVisible:l}),[n,o,l]),d=de({...e,defaultClassName:"react-aria-Tabs",values:s});return u.createElement("div",{...te(e),...i,...d,ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":a.isDisabled||void 0},u.createElement(Ie,{values:[[Hl,e],[Zl,a]]},d.children))}const q5=u.forwardRef(W5);function Y5(e,t){return u.useContext(An)?u.createElement(t4,e):u.createElement(J5,{props:e,forwardedRef:t})}function J5({props:e,forwardedRef:t}){let r=u.useContext(Zl),{orientation:n="horizontal",keyboardActivation:a="automatic"}=wt(Hl),i=Je(t),{tabListProps:o}=zg({...e,orientation:n,keyboardActivation:a},r,i),l=de({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:n,state:r}}),s=te(e);return delete s.id,u.createElement("div",{...s,...o,ref:i,...l,"data-orientation":n||void 0},[...r.collection].map(d=>u.createElement(ty,{key:d.key,item:d,state:r})))}const Q5=u.forwardRef(Y5);function X5(e,t){return Tl("item",e,t,e.children)}const ey=u.forwardRef(X5);function ty({item:e,state:t}){let r=Je(e.props.ref),{tabProps:n,isSelected:a,isDisabled:i,isPressed:o}=Kg({key:e.key,...e.props},t,r),{focusProps:l,isFocused:s,isFocusVisible:d}=Oe(),{hoverProps:c,isHovered:f}=nt({isDisabled:i}),p=de({...e.props,children:e.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:a,isDisabled:i,isFocused:s,isFocusVisible:d,isPressed:o,isHovered:f,state:t}}),h=e.props.href?"a":"div";return u.createElement(h,{...U(n,l,c,p),ref:r,"data-selected":a||void 0,"data-disabled":i||void 0,"data-focused":s||void 0,"data-focus-visible":d||void 0,"data-pressed":o||void 0,"data-hovered":f||void 0})}function ry(e,t){const r=u.useContext(Zl);let n=Je(t),{tabPanelProps:a}=Ng(e,r,n),{focusProps:i,isFocused:o,isFocusVisible:l}=Oe(),s=r.selectedKey===e.id,d=de({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:o,isFocusVisible:l,isInert:!s,state:r}});if(!s&&!e.shouldForceMount)return null;let c=te(e);delete c.id;let f=s?U(c,a,i,d):d;return u.createElement("div",{...f,ref:n,"data-focused":o||void 0,"data-focus-visible":l||void 0,inert:s?void 0:"true","data-inert":s?void 0:"true"})}const ny=Fl(ry);var je=function(){return je=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},je.apply(this,arguments)};function Qt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function ay(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var iy=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,oy=ay(function(e){return iy.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ce="-ms-",on="-moz-",ie="-webkit-",Kp="comm",oi="rule",Ul="decl",ly="@import",Np="@keyframes",sy="@layer",_p=Math.abs,Wl=String.fromCharCode,Io=Object.assign;function uy(e,t){return ke(e,0)^45?(((t<<2^ke(e,0))<<2^ke(e,1))<<2^ke(e,2))<<2^ke(e,3):0}function zp(e){return e.trim()}function vt(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function da(e,t,r){return e.indexOf(t,r)}function ke(e,t){return e.charCodeAt(t)|0}function kr(e,t,r){return e.slice(t,r)}function lt(e){return e.length}function Hp(e){return e.length}function Xr(e,t){return t.push(e),e}function dy(e,t){return e.map(t).join("")}function bu(e,t){return e.filter(function(r){return!vt(r,t)})}var li=1,Br=1,Zp=0,qe=0,Ce=0,jr="";function si(e,t,r,n,a,i,o,l){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:li,column:Br,length:o,return:"",siblings:l}}function St(e,t){return Io(si("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ir(e){for(;e.root;)e=St(e.root,{children:[e]});Xr(e,e.siblings)}function cy(){return Ce}function fy(){return Ce=qe>0?ke(jr,--qe):0,Br--,Ce===10&&(Br=1,li--),Ce}function rt(){return Ce=qe<Zp?ke(jr,qe++):0,Br++,Ce===10&&(Br=1,li++),Ce}function zt(){return ke(jr,qe)}function ca(){return qe}function ui(e,t){return kr(jr,e,t)}function Oo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function py(e){return li=Br=1,Zp=lt(jr=e),qe=0,[]}function hy(e){return jr="",e}function Wi(e){return zp(ui(qe-1,Vo(e===91?e+2:e===40?e+1:e)))}function my(e){for(;(Ce=zt())&&Ce<33;)rt();return Oo(e)>2||Oo(Ce)>3?"":" "}function vy(e,t){for(;--t&&rt()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return ui(e,ca()+(t<6&&zt()==32&&rt()==32))}function Vo(e){for(;rt();)switch(Ce){case e:return qe;case 34:case 39:e!==34&&e!==39&&Vo(Ce);break;case 40:e===41&&Vo(e);break;case 92:rt();break}return qe}function gy(e,t){for(;rt()&&e+Ce!==57;)if(e+Ce===84&&zt()===47)break;return"/*"+ui(t,qe-1)+"*"+Wl(e===47?e:rt())}function by(e){for(;!Oo(zt());)rt();return ui(e,qe)}function yy(e){return hy(fa("",null,null,null,[""],e=py(e),0,[0],e))}function fa(e,t,r,n,a,i,o,l,s){for(var d=0,c=0,f=o,p=0,h=0,m=0,v=1,y=1,S=1,D=0,C="",E=a,w=i,P=n,F=C;y;)switch(m=D,D=rt()){case 40:if(m!=108&&ke(F,f-1)==58){da(F+=ee(Wi(D),"&","&\f"),"&\f",_p(d?l[d-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:F+=Wi(D);break;case 9:case 10:case 13:case 32:F+=my(m);break;case 92:F+=vy(ca()-1,7);continue;case 47:switch(zt()){case 42:case 47:Xr($y(gy(rt(),ca()),t,r,s),s);break;default:F+="/"}break;case 123*v:l[d++]=lt(F)*S;case 125*v:case 59:case 0:switch(D){case 0:case 125:y=0;case 59+c:S==-1&&(F=ee(F,/\f/g,"")),h>0&<(F)-f&&Xr(h>32?$u(F+";",n,r,f-1,s):$u(ee(F," ","")+";",n,r,f-2,s),s);break;case 59:F+=";";default:if(Xr(P=yu(F,t,r,d,c,a,l,C,E=[],w=[],f,i),i),D===123)if(c===0)fa(F,t,P,P,E,i,f,l,w);else switch(p===99&&ke(F,3)===110?100:p){case 100:case 108:case 109:case 115:fa(e,P,P,n&&Xr(yu(e,P,P,0,0,a,l,C,a,E=[],f,w),w),a,w,f,l,n?E:w);break;default:fa(F,P,P,P,[""],w,0,l,w)}}d=c=h=0,v=S=1,C=F="",f=o;break;case 58:f=1+lt(F),h=m;default:if(v<1){if(D==123)--v;else if(D==125&&v++==0&&fy()==125)continue}switch(F+=Wl(D),D*v){case 38:S=c>0?1:(F+="\f",-1);break;case 44:l[d++]=(lt(F)-1)*S,S=1;break;case 64:zt()===45&&(F+=Wi(rt())),p=zt(),c=f=lt(C=F+=by(ca())),D++;break;case 45:m===45&<(F)==2&&(v=0)}}return i}function yu(e,t,r,n,a,i,o,l,s,d,c,f){for(var p=a-1,h=a===0?i:[""],m=Hp(h),v=0,y=0,S=0;v<n;++v)for(var D=0,C=kr(e,p+1,p=_p(y=o[v])),E=e;D<m;++D)(E=zp(y>0?h[D]+" "+C:ee(C,/&\f/g,h[D])))&&(s[S++]=E);return si(e,t,r,a===0?oi:l,s,d,c,f)}function $y(e,t,r,n){return si(e,t,r,Kp,Wl(cy()),kr(e,2,-2),0,n)}function $u(e,t,r,n,a){return si(e,t,r,Ul,kr(e,0,n),kr(e,n+1,-1),n,a)}function Up(e,t,r){switch(uy(e,t)){case 5103:return ie+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ie+e+e;case 4789:return on+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ie+e+on+e+ce+e+e;case 5936:switch(ke(e,t+11)){case 114:return ie+e+ce+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ie+e+ce+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ie+e+ce+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ie+e+ce+e+e;case 6165:return ie+e+ce+"flex-"+e+e;case 5187:return ie+e+ee(e,/(\w+).+(:[^]+)/,ie+"box-$1$2"+ce+"flex-$1$2")+e;case 5443:return ie+e+ce+"flex-item-"+ee(e,/flex-|-self/g,"")+(vt(e,/flex-|baseline/)?"":ce+"grid-row-"+ee(e,/flex-|-self/g,""))+e;case 4675:return ie+e+ce+"flex-line-pack"+ee(e,/align-content|flex-|-self/g,"")+e;case 5548:return ie+e+ce+ee(e,"shrink","negative")+e;case 5292:return ie+e+ce+ee(e,"basis","preferred-size")+e;case 6060:return ie+"box-"+ee(e,"-grow","")+ie+e+ce+ee(e,"grow","positive")+e;case 4554:return ie+ee(e,/([^-])(transform)/g,"$1"+ie+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,ie+"$1"),/(image-set)/,ie+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,ie+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,ie+"box-pack:$3"+ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ie+e+e;case 4200:if(!vt(e,/flex-|baseline/))return ce+"grid-column-align"+kr(e,t)+e;break;case 2592:case 3360:return ce+ee(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,vt(n.props,/grid-\w+-end/)})?~da(e+(r=r[t].value),"span",0)?e:ce+ee(e,"-start","")+e+ce+"grid-row-span:"+(~da(r,"span",0)?vt(r,/\d+/):+vt(r,/\d+/)-+vt(e,/\d+/))+";":ce+ee(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return vt(n.props,/grid-\w+-start/)})?e:ce+ee(ee(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,ie+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(lt(e)-1-t>6)switch(ke(e,t+1)){case 109:if(ke(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+ie+"$2-$3$1"+on+(ke(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~da(e,"stretch",0)?Up(ee(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ee(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,o,l,s,d){return ce+a+":"+i+d+(o?ce+a+"-span:"+(l?s:+s-+i)+d:"")+e});case 4949:if(ke(e,t+6)===121)return ee(e,":",":"+ie)+e;break;case 6444:switch(ke(e,ke(e,14)===45?18:11)){case 120:return ee(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ie+(ke(e,14)===45?"inline-":"")+"box$3$1"+ie+"$2$3$1"+ce+"$2box$3")+e;case 100:return ee(e,":",":"+ce)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ee(e,"scroll-","scroll-snap-")+e}return e}function La(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function xy(e,t,r,n){switch(e.type){case sy:if(e.children.length)break;case ly:case Ul:return e.return=e.return||e.value;case Kp:return"";case Np:return e.return=e.value+"{"+La(e.children,n)+"}";case oi:if(!lt(e.value=e.props.join(",")))return""}return lt(r=La(e.children,n))?e.return=e.value+"{"+r+"}":""}function Dy(e){var t=Hp(e);return function(r,n,a,i){for(var o="",l=0;l<t;l++)o+=e[l](r,n,a,i)||"";return o}}function wy(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ey(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Ul:e.return=Up(e.value,e.length,r);return;case Np:return La([St(e,{value:ee(e.value,"@","@"+ie)})],n);case oi:if(e.length)return dy(r=e.props,function(a){switch(vt(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ir(St(e,{props:[ee(a,/:(read-\w+)/,":"+on+"$1")]})),ir(St(e,{props:[a]})),Io(e,{props:bu(r,n)});break;case"::placeholder":ir(St(e,{props:[ee(a,/:(plac\w+)/,":"+ie+"input-$1")]})),ir(St(e,{props:[ee(a,/:(plac\w+)/,":"+on+"$1")]})),ir(St(e,{props:[ee(a,/:(plac\w+)/,ce+"input-$1")]})),ir(St(e,{props:[a]})),Io(e,{props:bu(r,n)});break}return""})}}var Cy={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Xt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Wp="active",Gp="data-styled-version",di="6.1.11",Gl=`/*!sc*/
|
|
18
|
+
`,ql=typeof window<"u"&&"HTMLElement"in window,Py=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),xu=/invalid hook call/i,ea=new Set,Sy=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
19
19
|
`)+`You may see this warning because you've called styled inside another component.
|
|
20
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var
|
|
20
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var i=!0;console.error=function(o){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];xu.test(o)?(i=!1,ea.delete(n)):a.apply(void 0,Qt([o],l,!1))},u.useRef(),i&&!ea.has(n)&&(console.warn(n),ea.add(n))}catch(o){xu.test(o.message)&&ea.delete(n)}finally{console.error=a}}},ci=Object.freeze([]),Rr=Object.freeze({});function ky(e,t,r){return r===void 0&&(r=Rr),e.theme!==r.theme&&e.theme||t||r.theme}var Lo=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),By=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ry=/(^-|-$)/g;function Du(e){return e.replace(By,"-").replace(Ry,"")}var Ty=/(a)(d)/gi,ta=52,wu=function(e){return String.fromCharCode(e+(e>25?39:97))};function jo(e){var t,r="";for(t=Math.abs(e);t>ta;t=t/ta|0)r=wu(t%ta)+r;return(wu(t%ta)+r).replace(Ty,"$1-$2")}var Gi,qp=5381,Lt=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Yp=function(e){return Lt(qp,e)};function Jp(e){return jo(Yp(e)>>>0)}function Qp(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function qi(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Xp=typeof Symbol=="function"&&Symbol.for,eh=Xp?Symbol.for("react.memo"):60115,Ay=Xp?Symbol.for("react.forward_ref"):60112,Fy={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},My={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},th={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Iy=((Gi={})[Ay]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gi[eh]=th,Gi);function Eu(e){return("type"in(t=e)&&t.type.$$typeof)===eh?th:"$$typeof"in e?Iy[e.$$typeof]:Fy;var t}var Oy=Object.defineProperty,Vy=Object.getOwnPropertyNames,Cu=Object.getOwnPropertySymbols,Ly=Object.getOwnPropertyDescriptor,jy=Object.getPrototypeOf,Pu=Object.prototype;function rh(e,t,r){if(typeof t!="string"){if(Pu){var n=jy(t);n&&n!==Pu&&rh(e,n,r)}var a=Vy(t);Cu&&(a=a.concat(Cu(t)));for(var i=Eu(e),o=Eu(t),l=0;l<a.length;++l){var s=a[l];if(!(s in My||r&&r[s]||o&&s in o||i&&s in i)){var d=Ly(t,s);try{Oy(e,s,d)}catch{}}}}return e}function Tr(e){return typeof e=="function"}function Yl(e){return typeof e=="object"&&"styledComponentId"in e}function _t(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ko(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function Ar(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function No(e,t,r){if(r===void 0&&(r=!1),!r&&!Ar(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=No(e[n],t[n]);else if(Ar(t))for(var n in t)e[n]=No(e[n],t[n]);return e}function Jl(e,t){Object.defineProperty(e,"toString",{value:t})}var Ky=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
21
21
|
|
|
22
22
|
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
23
23
|
|
|
@@ -58,7 +58,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
58
58
|
|
|
59
59
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
60
60
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
61
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Ay(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],a=1,o=e.length;a<o;a+=1)n.push(e[a]);return n.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function Or(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Ay.apply(void 0,Qt([Ty[e]],t,!1)).trim())}var Fy=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,o=a;t>=o;)if((o<<=1)<0)throw Or(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=a;i<o;i++)this.groupSizes[i]=0}for(var l=this.indexOfGroup(t+1),s=(i=0,r.length);i<s;i++)this.tag.insertRule(l,r[i])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),a=n+r;this.groupSizes[t]=0;for(var o=n;o<a;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],a=this.indexOfGroup(t),o=a+n,i=a;i<o;i++)r+="".concat(this.tag.getRule(i)).concat(Hl);return r},e}(),My=1<<30,ia=new Map,Ta=new Map,la=1,qn=function(e){if(ia.has(e))return ia.get(e);for(;Ta.has(la);)la++;var t=la++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>My))throw Or(16,"".concat(t));return ia.set(e,t),Ta.set(t,e),t},Iy=function(e,t){la=t+1,ia.set(e,t),Ta.set(t,e)},Oy="style[".concat(Xt,"][").concat(_p,'="').concat(ao,'"]'),Ly=new RegExp("^".concat(Xt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Vy=function(e,t,r){for(var n,a=r.split(","),o=0,i=a.length;o<i;o++)(n=a[o])&&e.registerName(t,n)},jy=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Hl),a=[],o=0,i=n.length;o<i;o++){var l=n[o].trim();if(l){var s=l.match(Ly);if(s){var d=0|parseInt(s[1],10),c=s[2];d!==0&&(Iy(c,d),Vy(e,c,s[3]),e.getTag().insertRules(d,a)),a.length=0}else a.push(l)}}};function Ky(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Jp=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(l){var s=Array.from(l.querySelectorAll("style[".concat(Xt,"]")));return s[s.length-1]}(r),o=a!==void 0?a.nextSibling:null;n.setAttribute(Xt,Np),n.setAttribute(_p,ao);var i=Ky();return i&&n.setAttribute("nonce",i),r.insertBefore(n,o),n},Ny=function(){function e(t){this.element=Jp(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,a=0,o=n.length;a<o;a++){var i=n[a];if(i.ownerNode===r)return i}throw Or(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),_y=function(){function e(t){this.element=Jp(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),zy=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),xu=Zl,Hy={isServer:!Zl,useCSSOMInjection:!gy},Qp=function(){function e(t,r,n){t===void 0&&(t=Rr),r===void 0&&(r={});var a=this;this.options=Le(Le({},Hy),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Zl&&xu&&(xu=!1,function(o){for(var i=document.querySelectorAll(Oy),l=0,s=i.length;l<s;l++){var d=i[l];d&&d.getAttribute(Xt)!==Np&&(jy(o,d),d.parentNode&&d.parentNode.removeChild(d))}}(this)),Wl(this,function(){return function(o){for(var i=o.getTag(),l=i.length,s="",d=function(f){var p=function(k){return Ta.get(k)}(f);if(p===void 0)return"continue";var h=o.names.get(p),m=i.getGroup(f);if(h===void 0||m.length===0)return"continue";var v="".concat(Xt,".g").concat(f,'[id="').concat(p,'"]'),y="";h!==void 0&&h.forEach(function(k){k.length>0&&(y+="".concat(k,","))}),s+="".concat(m).concat(v,'{content:"').concat(y,'"}').concat(Hl)},c=0;c<l;c++)d(c);return s}(a)})}return e.registerId=function(t){return qn(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(Le(Le({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,a=r.target;return r.isServer?new zy(a):n?new Ny(a):new _y(a)}(this.options),new Fy(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(qn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(qn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(qn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Zy=/&/g,Uy=/^\s*\/\/.*$/gm;function Xp(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Xp(r.children,t)),r})}function Wy(e){var t,r,n,a=Rr,o=a.options,i=o===void 0?Rr:o,l=a.plugins,s=l===void 0?oo:l,d=function(p,h,m){return m.startsWith(r)&&m.endsWith(r)&&m.replaceAll(r,"").length>0?".".concat(t):p},c=s.slice();c.push(function(p){p.type===eo&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(Zy,r).replace(n,d))}),i.prefix&&c.push(my),c.push(fy);var f=function(p,h,m,v){h===void 0&&(h=""),m===void 0&&(m=""),v===void 0&&(v="&"),t=v,r=h,n=new RegExp("\\".concat(r,"\\b"),"g");var y=p.replace(Uy,""),k=dy(m||h?"".concat(m," ").concat(h," { ").concat(y," }"):y);i.namespace&&(k=Xp(k,i.namespace));var D=[];return Ra(k,py(c.concat(hy(function(C){return D.push(C)})))),D};return f.hash=s.length?s.reduce(function(p,h){return h.name||Or(15),Vt(p,h.name)},zp).toString():"",f}var Gy=new Qp,Vi=Wy(),eh=u.createContext({shouldForwardProp:void 0,styleSheet:Gy,stylis:Vi});eh.Consumer;u.createContext(void 0);function Du(){return u.useContext(eh)}var ji=function(){function e(t,r){var n=this;this.inject=function(a,o){o===void 0&&(o=Vi);var i=n.name+o.hash;a.hasNameForId(n.id,i)||a.insertRules(n.id,i,o(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Wl(this,function(){throw Or(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Vi),this.name+t.hash},e}(),qy=function(e){return e>="A"&&e<="Z"};function wu(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;qy(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var th=function(e){return e==null||e===!1||e===""},rh=function(e){var t,r,n=[];for(var a in e){var o=e[a];e.hasOwnProperty(a)&&!th(o)&&(Array.isArray(o)&&o.isCss||Tr(o)?n.push("".concat(wu(a),":"),o,";"):Ar(o)?n.push.apply(n,Qt(Qt(["".concat(a," {")],rh(o),!1),["}"],!1)):n.push("".concat(wu(a),": ").concat((t=a,(r=o)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in vy||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ht(e,t,r,n){if(th(e))return[];if(Ul(e))return[".".concat(e.styledComponentId)];if(Tr(e)){if(!Tr(o=e)||o.prototype&&o.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof ji||Ar(a)||a===null||console.error("".concat(Up(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ht(a,t,r,n)}var o;return e instanceof ji?r?(e.inject(r,n),[e.getName(n)]):[e]:Ar(e)?rh(e):Array.isArray(e)?Array.prototype.concat.apply(oo,e.map(function(i){return Ht(i,t,r,n)})):[e.toString()]}function Yy(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Tr(r)&&!Ul(r))return!1}return!0}var Jy=Hp(ao),Qy=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Yy(t),this.componentId=r,this.baseHash=Vt(Jy,r),this.baseStyle=n,Qp.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=_t(a,this.staticRulesId);else{var o=Oi(Ht(this.rules,t,r,n)),i=Ii(Vt(this.baseHash,o)>>>0);if(!r.hasNameForId(this.componentId,i)){var l=n(o,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,l)}a=_t(a,i),this.staticRulesId=i}else{for(var s=Vt(this.baseHash,n.hash),d="",c=0;c<this.rules.length;c++){var f=this.rules[c];if(typeof f=="string")d+=f,process.env.NODE_ENV!=="production"&&(s=Vt(s,f));else if(f){var p=Oi(Ht(f,t,r,n));s=Vt(s,p+c),d+=p}}if(d){var h=Ii(s>>>0);r.hasNameForId(this.componentId,h)||r.insertRules(this.componentId,h,n(d,".".concat(h),void 0,this.componentId)),a=_t(a,h)}}return a},e}(),nh=u.createContext(void 0);nh.Consumer;var Uo={},Eu=new Set;function Xy(e,t,r){var n=Ul(e),a=e,o=!Zo(e),i=t.attrs,l=i===void 0?oo:i,s=t.componentId,d=s===void 0?function(E,w){var P=typeof E!="string"?"sc":vu(E);Uo[P]=(Uo[P]||0)+1;var F="".concat(P,"-").concat(Zp(ao+P+Uo[P]));return w?"".concat(w,"-").concat(F):F}(t.displayName,t.parentComponentId):s,c=t.displayName,f=c===void 0?function(E){return Zo(E)?"styled.".concat(E):"Styled(".concat(Up(E),")")}(e):c,p=t.displayName&&t.componentId?"".concat(vu(t.displayName),"-").concat(t.componentId):t.componentId||d,h=n&&a.attrs?a.attrs.concat(l).filter(Boolean):l,m=t.shouldForwardProp;if(n&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;m=function(E,w){return v(E,w)&&y(E,w)}}else m=v}var k=new Qy(r,p,n?a.componentStyle:void 0);function D(E,w){return function(P,F,b){var A=P.attrs,S=P.componentStyle,x=P.defaultProps,M=P.foldedComponentIds,R=P.styledComponentId,T=P.target,K=u.useContext(nh),O=Du(),$=P.shouldForwardProp||O.shouldForwardProp;process.env.NODE_ENV!=="production"&&u.useDebugValue(R);var z=yy(F,K,x)||Rr,H=function(Q,q,I){for(var _,Z=Le(Le({},q),{className:void 0,theme:I}),Y=0;Y<Q.length;Y+=1){var re=Tr(_=Q[Y])?_(Z):_;for(var j in re)Z[j]=j==="className"?_t(Z[j],re[j]):j==="style"?Le(Le({},Z[j]),re[j]):re[j]}return q.className&&(Z.className=_t(Z.className,q.className)),Z}(A,F,z),B=H.as||T,L={};for(var N in H)H[N]===void 0||N[0]==="$"||N==="as"||N==="theme"&&H.theme===z||(N==="forwardedAs"?L.as=H.forwardedAs:$&&!$(N,B)||(L[N]=H[N],$||process.env.NODE_ENV!=="development"||J5(N)||Eu.has(N)||!Mi.has(B)||(Eu.add(N),console.warn('styled-components: it looks like an unknown prop "'.concat(N,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(Q,q){var I=Du(),_=Q.generateAndInjectStyles(q,I.styleSheet,I.stylis);return process.env.NODE_ENV!=="production"&&u.useDebugValue(_),_}(S,H);process.env.NODE_ENV!=="production"&&P.warnTooManyClasses&&P.warnTooManyClasses(G);var W=_t(M,R);return G&&(W+=" "+G),H.className&&(W+=" "+H.className),L[Zo(B)&&!Mi.has(B)?"class":"className"]=W,L.ref=b,u.createElement(B,L)}(C,E,w)}D.displayName=f;var C=u.forwardRef(D);return C.attrs=h,C.componentStyle=k,C.displayName=f,C.shouldForwardProp=m,C.foldedComponentIds=n?_t(a.foldedComponentIds,a.styledComponentId):"",C.styledComponentId=p,C.target=n?a.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(E){this._foldedDefaultProps=n?function(w){for(var P=[],F=1;F<arguments.length;F++)P[F-1]=arguments[F];for(var b=0,A=P;b<A.length;b++)Li(w,A[b],!0);return w}({},a.defaultProps,E):E}}),process.env.NODE_ENV!=="production"&&(by(f,p),C.warnTooManyClasses=function(E,w){var P={},F=!1;return function(b){if(!F&&(P[b]=!0,Object.keys(P).length>=200)){var A=w?' with the id of "'.concat(w,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(E).concat(A,`.
|
|
61
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Ny(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],a=1,i=e.length;a<i;a+=1)n.push(e[a]);return n.forEach(function(o){r=r.replace(/%[a-z]/,o)}),r}function Kr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Ny.apply(void 0,Qt([Ky[e]],t,!1)).trim())}var _y=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,i=a;t>=i;)if((i<<=1)<0)throw Kr(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=a;o<i;o++)this.groupSizes[o]=0}for(var l=this.indexOfGroup(t+1),s=(o=0,r.length);o<s;o++)this.tag.insertRule(l,r[o])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),a=n+r;this.groupSizes[t]=0;for(var i=n;i<a;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],a=this.indexOfGroup(t),i=a+n,o=a;o<i;o++)r+="".concat(this.tag.getRule(o)).concat(Gl);return r},e}(),zy=1<<30,pa=new Map,ja=new Map,ha=1,ra=function(e){if(pa.has(e))return pa.get(e);for(;ja.has(ha);)ha++;var t=ha++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>zy))throw Kr(16,"".concat(t));return pa.set(e,t),ja.set(t,e),t},Hy=function(e,t){ha=t+1,pa.set(e,t),ja.set(t,e)},Zy="style[".concat(Xt,"][").concat(Gp,'="').concat(di,'"]'),Uy=new RegExp("^".concat(Xt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Wy=function(e,t,r){for(var n,a=r.split(","),i=0,o=a.length;i<o;i++)(n=a[i])&&e.registerName(t,n)},Gy=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Gl),a=[],i=0,o=n.length;i<o;i++){var l=n[i].trim();if(l){var s=l.match(Uy);if(s){var d=0|parseInt(s[1],10),c=s[2];d!==0&&(Hy(c,d),Wy(e,c,s[3]),e.getTag().insertRules(d,a)),a.length=0}else a.push(l)}}};function qy(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var nh=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(l){var s=Array.from(l.querySelectorAll("style[".concat(Xt,"]")));return s[s.length-1]}(r),i=a!==void 0?a.nextSibling:null;n.setAttribute(Xt,Wp),n.setAttribute(Gp,di);var o=qy();return o&&n.setAttribute("nonce",o),r.insertBefore(n,i),n},Yy=function(){function e(t){this.element=nh(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,a=0,i=n.length;a<i;a++){var o=n[a];if(o.ownerNode===r)return o}throw Kr(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),Jy=function(){function e(t){this.element=nh(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Qy=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Su=ql,Xy={isServer:!ql,useCSSOMInjection:!Py},ah=function(){function e(t,r,n){t===void 0&&(t=Rr),r===void 0&&(r={});var a=this;this.options=je(je({},Xy),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&ql&&Su&&(Su=!1,function(i){for(var o=document.querySelectorAll(Zy),l=0,s=o.length;l<s;l++){var d=o[l];d&&d.getAttribute(Xt)!==Wp&&(Gy(i,d),d.parentNode&&d.parentNode.removeChild(d))}}(this)),Jl(this,function(){return function(i){for(var o=i.getTag(),l=o.length,s="",d=function(f){var p=function(S){return ja.get(S)}(f);if(p===void 0)return"continue";var h=i.names.get(p),m=o.getGroup(f);if(h===void 0||m.length===0)return"continue";var v="".concat(Xt,".g").concat(f,'[id="').concat(p,'"]'),y="";h!==void 0&&h.forEach(function(S){S.length>0&&(y+="".concat(S,","))}),s+="".concat(m).concat(v,'{content:"').concat(y,'"}').concat(Gl)},c=0;c<l;c++)d(c);return s}(a)})}return e.registerId=function(t){return ra(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(je(je({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,a=r.target;return r.isServer?new Qy(a):n?new Yy(a):new Jy(a)}(this.options),new _y(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(ra(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(ra(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(ra(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),e2=/&/g,t2=/^\s*\/\/.*$/gm;function ih(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=ih(r.children,t)),r})}function r2(e){var t,r,n,a=Rr,i=a.options,o=i===void 0?Rr:i,l=a.plugins,s=l===void 0?ci:l,d=function(p,h,m){return m.startsWith(r)&&m.endsWith(r)&&m.replaceAll(r,"").length>0?".".concat(t):p},c=s.slice();c.push(function(p){p.type===oi&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(e2,r).replace(n,d))}),o.prefix&&c.push(Ey),c.push(xy);var f=function(p,h,m,v){h===void 0&&(h=""),m===void 0&&(m=""),v===void 0&&(v="&"),t=v,r=h,n=new RegExp("\\".concat(r,"\\b"),"g");var y=p.replace(t2,""),S=yy(m||h?"".concat(m," ").concat(h," { ").concat(y," }"):y);o.namespace&&(S=ih(S,o.namespace));var D=[];return La(S,Dy(c.concat(wy(function(C){return D.push(C)})))),D};return f.hash=s.length?s.reduce(function(p,h){return h.name||Kr(15),Lt(p,h.name)},qp).toString():"",f}var n2=new ah,_o=r2(),oh=u.createContext({shouldForwardProp:void 0,styleSheet:n2,stylis:_o});oh.Consumer;u.createContext(void 0);function ku(){return u.useContext(oh)}var zo=function(){function e(t,r){var n=this;this.inject=function(a,i){i===void 0&&(i=_o);var o=n.name+i.hash;a.hasNameForId(n.id,o)||a.insertRules(n.id,o,i(n.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Jl(this,function(){throw Kr(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=_o),this.name+t.hash},e}(),a2=function(e){return e>="A"&&e<="Z"};function Bu(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;a2(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var lh=function(e){return e==null||e===!1||e===""},sh=function(e){var t,r,n=[];for(var a in e){var i=e[a];e.hasOwnProperty(a)&&!lh(i)&&(Array.isArray(i)&&i.isCss||Tr(i)?n.push("".concat(Bu(a),":"),i,";"):Ar(i)?n.push.apply(n,Qt(Qt(["".concat(a," {")],sh(i),!1),["}"],!1)):n.push("".concat(Bu(a),": ").concat((t=a,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Cy||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ht(e,t,r,n){if(lh(e))return[];if(Yl(e))return[".".concat(e.styledComponentId)];if(Tr(e)){if(!Tr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof zo||Ar(a)||a===null||console.error("".concat(Qp(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ht(a,t,r,n)}var i;return e instanceof zo?r?(e.inject(r,n),[e.getName(n)]):[e]:Ar(e)?sh(e):Array.isArray(e)?Array.prototype.concat.apply(ci,e.map(function(o){return Ht(o,t,r,n)})):[e.toString()]}function i2(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Tr(r)&&!Yl(r))return!1}return!0}var o2=Yp(di),l2=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&i2(t),this.componentId=r,this.baseHash=Lt(o2,r),this.baseStyle=n,ah.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=_t(a,this.staticRulesId);else{var i=Ko(Ht(this.rules,t,r,n)),o=jo(Lt(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,o)){var l=n(i,".".concat(o),void 0,this.componentId);r.insertRules(this.componentId,o,l)}a=_t(a,o),this.staticRulesId=o}else{for(var s=Lt(this.baseHash,n.hash),d="",c=0;c<this.rules.length;c++){var f=this.rules[c];if(typeof f=="string")d+=f,process.env.NODE_ENV!=="production"&&(s=Lt(s,f));else if(f){var p=Ko(Ht(f,t,r,n));s=Lt(s,p+c),d+=p}}if(d){var h=jo(s>>>0);r.hasNameForId(this.componentId,h)||r.insertRules(this.componentId,h,n(d,".".concat(h),void 0,this.componentId)),a=_t(a,h)}}return a},e}(),uh=u.createContext(void 0);uh.Consumer;var Yi={},Ru=new Set;function s2(e,t,r){var n=Yl(e),a=e,i=!qi(e),o=t.attrs,l=o===void 0?ci:o,s=t.componentId,d=s===void 0?function(E,w){var P=typeof E!="string"?"sc":Du(E);Yi[P]=(Yi[P]||0)+1;var F="".concat(P,"-").concat(Jp(di+P+Yi[P]));return w?"".concat(w,"-").concat(F):F}(t.displayName,t.parentComponentId):s,c=t.displayName,f=c===void 0?function(E){return qi(E)?"styled.".concat(E):"Styled(".concat(Qp(E),")")}(e):c,p=t.displayName&&t.componentId?"".concat(Du(t.displayName),"-").concat(t.componentId):t.componentId||d,h=n&&a.attrs?a.attrs.concat(l).filter(Boolean):l,m=t.shouldForwardProp;if(n&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;m=function(E,w){return v(E,w)&&y(E,w)}}else m=v}var S=new l2(r,p,n?a.componentStyle:void 0);function D(E,w){return function(P,F,b){var A=P.attrs,k=P.componentStyle,x=P.defaultProps,M=P.foldedComponentIds,R=P.styledComponentId,T=P.target,K=u.useContext(uh),O=ku(),$=P.shouldForwardProp||O.shouldForwardProp;process.env.NODE_ENV!=="production"&&u.useDebugValue(R);var z=ky(F,K,x)||Rr,H=function(Q,q,I){for(var _,Z=je(je({},q),{className:void 0,theme:I}),Y=0;Y<Q.length;Y+=1){var re=Tr(_=Q[Y])?_(Z):_;for(var j in re)Z[j]=j==="className"?_t(Z[j],re[j]):j==="style"?je(je({},Z[j]),re[j]):re[j]}return q.className&&(Z.className=_t(Z.className,q.className)),Z}(A,F,z),B=H.as||T,V={};for(var N in H)H[N]===void 0||N[0]==="$"||N==="as"||N==="theme"&&H.theme===z||(N==="forwardedAs"?V.as=H.forwardedAs:$&&!$(N,B)||(V[N]=H[N],$||process.env.NODE_ENV!=="development"||oy(N)||Ru.has(N)||!Lo.has(B)||(Ru.add(N),console.warn('styled-components: it looks like an unknown prop "'.concat(N,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(Q,q){var I=ku(),_=Q.generateAndInjectStyles(q,I.styleSheet,I.stylis);return process.env.NODE_ENV!=="production"&&u.useDebugValue(_),_}(k,H);process.env.NODE_ENV!=="production"&&P.warnTooManyClasses&&P.warnTooManyClasses(G);var W=_t(M,R);return G&&(W+=" "+G),H.className&&(W+=" "+H.className),V[qi(B)&&!Lo.has(B)?"class":"className"]=W,V.ref=b,u.createElement(B,V)}(C,E,w)}D.displayName=f;var C=u.forwardRef(D);return C.attrs=h,C.componentStyle=S,C.displayName=f,C.shouldForwardProp=m,C.foldedComponentIds=n?_t(a.foldedComponentIds,a.styledComponentId):"",C.styledComponentId=p,C.target=n?a.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(E){this._foldedDefaultProps=n?function(w){for(var P=[],F=1;F<arguments.length;F++)P[F-1]=arguments[F];for(var b=0,A=P;b<A.length;b++)No(w,A[b],!0);return w}({},a.defaultProps,E):E}}),process.env.NODE_ENV!=="production"&&(Sy(f,p),C.warnTooManyClasses=function(E,w){var P={},F=!1;return function(b){if(!F&&(P[b]=!0,Object.keys(P).length>=200)){var A=w?' with the id of "'.concat(w,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(E).concat(A,`.
|
|
62
62
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
63
63
|
Example:
|
|
64
64
|
const Component = styled.div.attrs(props => ({
|
|
@@ -67,16 +67,16 @@ Example:
|
|
|
67
67
|
},
|
|
68
68
|
}))\`width: 100%;\`
|
|
69
69
|
|
|
70
|
-
<Component />`),F=!0,P={}}}}(f,p)),
|
|
70
|
+
<Component />`),F=!0,P={}}}}(f,p)),Jl(C,function(){return".".concat(C.styledComponentId)}),i&&rh(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),C}function Tu(e,t){for(var r=[e[0]],n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}var Au=function(e){return Object.assign(e,{isCss:!0})};function fi(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Tr(e)||Ar(e))return Au(Ht(Tu(ci,Qt([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?Ht(n):Au(Ht(Tu(n,t)))}function Ho(e,t,r){if(r===void 0&&(r=Rr),!t)throw Kr(1,t);var n=function(a){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e(t,r,fi.apply(void 0,Qt([a],i,!1)))};return n.attrs=function(a){return Ho(e,t,je(je({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},n.withConfig=function(a){return Ho(e,t,je(je({},r),a))},n}var dh=function(e){return Ho(s2,e)},L=dh;Lo.forEach(function(e){L[e]=dh(e)});function ch(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var n=Ko(fi.apply(void 0,Qt([e],t,!1))),a=Jp(n);return new zo(a,n)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
71
71
|
Perhaps you're looking to import 'styled-components/native'?
|
|
72
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var
|
|
72
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var na="__sc-".concat(Xt,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[na]||(window[na]=0),window[na]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
73
73
|
|
|
74
|
-
See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24a.71.71 0 0 0-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72Z",fill:"currentColor"})})}function t2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function r2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function n2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59a.996.996 0 0 0 0 1.41l6.59 6.59a.996.996 0 1 0 1.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function a2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.005 5.209v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 1 0-1.41-1.41l-4.88 4.88V5.209c0-.55-.45-1-1-1s-1 .45-1 1Z",fill:"currentColor"})})}function o2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 0 0 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function i2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M13 18.791V7.621l4.88 4.88c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58a.996.996 0 1 0 1.41 1.41L11 7.621v11.17c0 .55.45 1 1 1s1-.45 1-1Z",fill:"currentColor"})})}function l2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 20c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2s-2 .9-2 2v7c0 1.1.9 2 2 2Zm10-5v3c0 1.1.9 2 2 2s2-.9 2-2v-3c0-1.1-.9-2-2-2s-2 .9-2 2Zm-4 5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2s-2 .9-2 2v12c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function s2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.665 21c-.35 0-.62-.31-.57-.66l.9-6.34h-3.5c-.88 0-.33-.75-.31-.78 1.26-2.23 3.15-5.53 5.65-9.93a.577.577 0 0 1 1.07.37l-.9 6.34h3.51c.4 0 .62.19.4.66-3.29 5.74-5.2 9.09-5.75 10.05-.1.18-.29.29-.5.29Z",fill:"currentColor"})})}function u2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2h-8ZM6 19H4v-2h2v2Zm0-4H4v-2h2v2Zm0-4H4V9h2v2Zm0-4H4V5h2v2Zm4 12H8v-2h2v2Zm0-4H8v-2h2v2Zm0-4H8V9h2v2Zm0-4H8V5h2v2Zm9 12h-7v-2h2v-2h-2v-2h2v-2h-2V9h7c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Zm-1-8h-2v2h2v-2Zm0 4h-2v2h2v-2Z",fill:"currentColor"})})}function d2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1H7V2c0-.55-.45-1-1-1s-1 .45-1 1v1H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-1 18H5c-.55 0-1-.45-1-1V8h16v12c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function c2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z",fill:"currentColor"})})}function f2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m8.795 15.875-3.47-3.47a.996.996 0 1 0-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 1 0-1.41-1.41l-9.88 9.87Z",fill:"currentColor"})})}function p2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0Z",fill:"currentColor"})})}function h2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15 6.705a.996.996 0 0 0-1.41 0L9 11.295a.996.996 0 0 0 0 1.41l4.59 4.59a.996.996 0 1 0 1.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41Z",fill:"currentColor"})})}function m2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9 6.71a.996.996 0 0 0 0 1.41L12.88 12 9 15.88a.996.996 0 1 0 1.41 1.41L15 12.7a.996.996 0 0 0 0-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01Z",fill:"currentColor"})})}function v2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function g2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function b2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.5 20h-10V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1Zm5-4V4c0-1.1-.9-2-2-2h-9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2Zm-2 0h-9V4h9v12Z",fill:"currentColor"})})}function y2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v10ZM9 9h6c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1Zm6.5-5-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1h-2.5Z",fill:"currentColor"})})}function $2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M16.59 9.5H15v-5c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71ZM5 19.5c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function x2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2Zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function D2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36Zm17.71-10.42a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83Z",fill:"currentColor"})})}function w2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1Zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm1-3h-2v-2h2v2Z",fill:"currentColor"})})}function E2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.79 16.29c.39.39 1.02.39 1.41 0l3.59-3.59a.996.996 0 0 0 0-1.41L12.2 7.7a.996.996 0 1 0-1.41 1.41L12.67 11H4c-.55 0-1 .45-1 1s.45 1 1 1h8.67l-1.88 1.88c-.39.39-.38 1.03 0 1.41ZM19 3H5a2 2 0 0 0-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Z",fill:"currentColor"})})}function C2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m11.295 9-4.59 4.59A.996.996 0 1 0 8.115 15l3.89-3.88 3.88 3.88a.996.996 0 1 0 1.41-1.41L12.705 9a.996.996 0 0 0-1.41 0Z",fill:"currentColor"})})}function P2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m15.875 9-3.88 3.88L8.115 9a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0Z",fill:"currentColor"})})}function S2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2ZM8.5 14.21c0 .43-.36.79-.79.79-.25 0-.49-.12-.64-.33L4.75 11.5v2.88c0 .35-.28.62-.62.62-.34 0-.63-.28-.63-.62V9.79c0-.43.36-.79.79-.79h.05c.26 0 .5.12.65.33l2.26 3.17V9.62c0-.34.28-.62.63-.62s.62.28.62.62v4.59Zm5-4.57c0 .35-.28.62-.62.62H11v1.12h1.88c.35 0 .62.28.62.62v.01c0 .35-.28.62-.62.62H11v1.11h1.88c.35 0 .62.28.62.62 0 .35-.28.62-.62.62h-2.53a.85.85 0 0 1-.85-.85v-4.3c0-.45.38-.83.85-.83h2.53c.35 0 .62.28.62.62v.02Zm7 4.36c0 .55-.45 1-1 1h-4c-.55 0-1-.45-1-1V9.62c0-.34.28-.62.62-.62.34 0 .62.28.62.62v3.89h1.13v-2.9c0-.35.28-.62.62-.62.34 0 .62.28.62.62v2.89h1.12V9.62c0-.35.28-.62.62-.62.34 0 .62.28.62.62V14h.03Z",fill:"currentColor"})})}function k2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4.25 5.61C6.57 8.59 10 13 10 13v5c0 1.1.9 2 2 2s2-.9 2-2v-5s3.43-4.41 5.75-7.39c.51-.66.04-1.61-.8-1.61H5.04c-.83 0-1.3.95-.79 1.61Z",fill:"currentColor"})})}function B2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function R2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.699 15.89 13.819 12l3.89-3.89a.996.996 0 1 0-1.41-1.41l-4.59 4.59a.996.996 0 0 0 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0a.993.993 0 0 0-.01-1.4ZM6.999 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function T2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 6h-8l-1.41-1.41C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2Zm-1 12H5c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function A2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm0 10h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm8-16v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2Zm2 16h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function F2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm-1-4h2v2h-2v-2Zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47Z",fill:"currentColor"})})}function M2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9.998 19.328v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87l-8.36-7.53c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87h1.7v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1Z",fill:"currentColor"})})}function I2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8Zm8.25 6.75A5.489 5.489 0 0 1 12 17.5c-2.03 0-3.8-1.11-4.75-2.75-.19-.33.06-.75.44-.75h8.62c.39 0 .63.42.44.75ZM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5Z",fill:"currentColor"})})}function O2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8ZM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96ZM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16Zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8ZM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38Z",fill:"currentColor"})})}function L2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.291 8.11 3.89 3.89-3.89 3.89a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41l-4.59-4.6a.996.996 0 0 0-1.41 0c-.38.39-.38 1.03 0 1.41ZM17.001 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function V2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17 7h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c1.65 0 3 1.35 3 3s-1.35 3-3 3h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-9 5c0 .55.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1Zm2 3H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h3c.55 0 1-.45 1-1s-.45-1-1-1H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h3c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function j2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function K2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20.94 11A8.994 8.994 0 0 0 13 3.06V2c0-.55-.45-1-1-1s-1 .45-1 1v1.06A8.994 8.994 0 0 0 3.06 11H2c-.55 0-1 .45-1 1s.45 1 1 1h1.06A8.994 8.994 0 0 0 11 20.94V22c0 .55.45 1 1 1s1-.45 1-1v-1.06A8.994 8.994 0 0 0 20.94 13H22c.55 0 1-.45 1-1s-.45-1-1-1h-1.06ZM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7Z",fill:"currentColor"})})}function N2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M5.104 5h6c.55 0 1-.45 1-1s-.45-1-1-1h-6c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h6c.55 0 1-.45 1-1s-.45-1-1-1h-6V5Z",fill:"currentColor"}),g.jsx("path",{d:"m20.754 11.65-2.79-2.79a.501.501 0 0 0-.86.35V11h-7c-.55 0-1 .45-1 1s.45 1 1 1h7v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})]})}function _2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1Zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function z2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M7 11h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function H2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M15.11 12.45 14 10.24l-3.11 6.21c-.16.34-.51.55-.89.55s-.73-.21-.89-.55L7.38 13H2v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5h-6c-.38 0-.73-.21-.89-.55Z",fill:"currentColor"}),g.jsx("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v5h6c.38 0 .73.21.89.55L10 13.76l3.11-6.21c.34-.68 1.45-.68 1.79 0L16.62 11H22V6c0-1.1-.9-2-2-2Z",fill:"currentColor"})]})}function Z2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function U2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function W2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.497 17.499c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 1 1.41 0l1.17 1.17a3 3 0 0 0 4.24 0l4.18-4.17 1.44 1.44a.5.5 0 0 0 .85-.35v-4.29a.48.48 0 0 0-.49-.5h-4.29c-.45 0-.67.54-.35.85l1.44 1.44-4.17 4.17a.996.996 0 0 1-1.41 0l-1.17-1.17a3 3 0 0 0-4.24 0l-4.61 4.59c-.38.39-.38 1.03 0 1.41Z",fill:"currentColor"})})}function G2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.004 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.68-1.5-1.51-1.5s-1.49.67-1.49 1.5v.68c-2.87.68-4.5 3.24-4.5 6.32v5l-1.3 1.29c-.63.63-.19 1.71.7 1.71h13.17c.89 0 1.34-1.08.71-1.71l-1.28-1.29Zm-6.01 6c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2ZM6.774 4.48c.42-.38.43-1.03.03-1.43a1 1 0 0 0-1.39-.02 10.424 10.424 0 0 0-3.27 6.06c-.09.61.38 1.16 1 1.16.48 0 .9-.35.98-.83a8.44 8.44 0 0 1 2.65-4.94Zm11.83-1.45c-.4-.37-1.02-.36-1.4.02-.4.4-.38 1.04.03 1.42 1.38 1.27 2.35 3 2.65 4.94.07.48.49.83.98.83.61 0 1.09-.55.99-1.16-.38-2.37-1.55-4.48-3.25-6.05Z",fill:"currentColor"})})}function q2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.29 17.04 18 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.11 6 7.67 6 10.75v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h13.17c.9 0 1.34-1.08.71-1.71ZM16 16.75H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6Zm-4 5c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Z",fill:"currentColor"})})}function Y2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.305 21.75c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Zm6-11c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l8.19 8.19v-2.1ZM4.715 3.1l-1.41 1.41 2.81 2.81c-.52 1-.81 2.16-.81 3.43v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h12.83l1.74 1.74 1.41-1.41L4.715 3.1Z",fill:"currentColor"})})}function J2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.642 6.351a7.95 7.95 0 0 0-6.48-2.31c-3.67.37-6.69 3.35-7.1 7.02-.55 4.85 3.2 8.94 7.93 8.94a7.98 7.98 0 0 0 7.21-4.56c.32-.67-.16-1.44-.9-1.44-.37 0-.72.2-.88.53a5.994 5.994 0 0 1-6.8 3.31c-2.22-.49-4.01-2.3-4.48-4.52a6.002 6.002 0 0 1 5.85-7.32c1.66 0 3.14.69 4.22 1.78l-1.51 1.51c-.63.63-.19 1.71.7 1.71h3.59c.55 0 1-.45 1-1v-3.59c0-.89-1.08-1.34-1.71-.71l-.64.65Z",fill:"currentColor"})})}function Q2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5ZM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5Zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z",fill:"currentColor"})})}function X2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26Zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5Z",fill:"currentColor"})})}function e$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m3.671 20.4 17.45-7.48a1 1 0 0 0 0-1.84L3.671 3.6a.993.993 0 0 0-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91Z",fill:"currentColor"})})}function t$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.5 12c0-.23-.01-.45-.03-.68l1.86-1.41c.4-.3.51-.86.26-1.3l-1.87-3.23a.987.987 0 0 0-1.25-.42l-2.15.91c-.37-.26-.76-.49-1.17-.68l-.29-2.31c-.06-.5-.49-.88-.99-.88h-3.73c-.51 0-.94.38-1 .88l-.29 2.31c-.41.19-.8.42-1.17.68l-2.15-.91c-.46-.2-1-.02-1.25.42L2.41 8.62c-.25.44-.14.99.26 1.3l1.86 1.41a7.343 7.343 0 0 0 0 1.35l-1.86 1.41c-.4.3-.51.86-.26 1.3l1.87 3.23c.25.44.79.62 1.25.42l2.15-.91c.37.26.76.49 1.17.68l.29 2.31c.06.5.49.88.99.88h3.73c.5 0 .93-.38.99-.88l.29-2.31c.41-.19.8-.42 1.17-.68l2.15.91c.46.2 1 .02 1.25-.42l1.87-3.23c.25-.44.14-.99-.26-1.3l-1.86-1.41c.03-.23.04-.45.04-.68Zm-7.46 3.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5Z",fill:"currentColor"})})}function r$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m2.776 14.764-.09-.09a.996.996 0 0 1 0-1.41l6.09-6.1a.996.996 0 0 1 1.41 0l3.29 3.29 6.39-7.18a1 1 0 0 1 1.45-.04c.37.38.39.98.04 1.37l-7.17 8.07a.992.992 0 0 1-1.45.04l-3.25-3.25-5.3 5.3a.996.996 0 0 1-1.41 0Zm1.41 6 5.3-5.3 3.25 3.25c.41.41 1.07.39 1.45-.04l7.17-8.07c.35-.39.33-.99-.04-1.37a1 1 0 0 0-1.45.04l-6.39 7.18-3.29-3.29a.996.996 0 0 0-1.41 0l-6.09 6.1a.996.996 0 0 0 0 1.41l.09.09c.39.39 1.03.39 1.41 0Z",fill:"currentColor"})})}function n$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 17.52 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5Z",fill:"currentColor"})})}function a$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m19.648 9.295-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75Zm-7.65 6.36-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28Z",fill:"currentColor"})})}function o$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.136 11.855-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.32.85.09.85-.35v-1.8h6.01c.55 0 1-.45 1-1s-.45-1-1-1h-6.01v-1.79c0-.45-.54-.67-.85-.35Zm14.51-3.21-2.78-2.79c-.31-.32-.85-.09-.85.35v1.79h-6.02c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})})}function i$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M14.17 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59ZM8 15h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h5c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function l$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12.466 8c-2.65 0-5.05.99-6.9 2.6l-1.89-1.89c-.63-.63-1.71-.19-1.71.7V15c0 .55.45 1 1 1h5.59c.89 0 1.34-1.08.71-1.71l-1.91-1.91c1.39-1.16 3.16-1.88 5.12-1.88 3.16 0 5.89 1.84 7.19 4.5.27.56.91.84 1.5.64.71-.23 1.07-1.04.75-1.72-1.72-3.5-5.3-5.92-9.45-5.92Z",fill:"currentColor"})})}function s$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M22 18.926V8.276c0-.82-.5-1.55-1.26-1.86l-8-3.2c-.48-.19-1.01-.19-1.49 0l-8 3.2C2.5 6.726 2 7.466 2 8.276v10.65c0 1.1.9 2 2 2h3v-9h10v9h3c1.1 0 2-.9 2-2Zm-11 0H9v2h2v-2Zm2-3h-2v2h2v-2Zm2 3h-2v2h2v-2Z",fill:"currentColor"})})}function u$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 5.494 7.53 13.01H4.47L12 5.494Zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01Zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1Zm0 5h2v2h-2v-2Z",fill:"currentColor"})})}const d$={access_time:e2,add:t2,add_box:r2,arrow_back:n2,arrow_downward:a2,arrow_forward:o2,arrow_upward:i2,bar_chart:l2,bolt:s2,business:u2,calendar_today:d2,cancel:c2,check:f2,check_circle_outline:p2,chevron_left:h2,chevron_right:m2,clear:v2,close:g2,content_copy:b2,delete_outline:y2,download:$2,drag_indicator:x2,edit:D2,error_outline:w2,exit_to_app:E2,expand_less:C2,expand_more:P2,fiber_new:S2,filter_alt:k2,filter_list:B2,first_page:R2,folder_open:T2,grid_view:A2,help_outline:F2,home:M2,insert_emoticon:I2,language:O2,last_page:L2,link:V2,list:j2,location_searching:K2,logout:N2,menu:_2,minimize:z2,monitor_heart:H2,more_horiz:Z2,more_vert:U2,moving:W2,notifications_active:G2,notifications_none:q2,notifications_off:Y2,refresh:J2,remove_red_eye:Q2,search:X2,send:e$,settings:t$,stacked_line_chart:r$,star:n$,star_outline:a$,swap_horiz:o$,text_snippet:i$,undo:l$,warehouse:s$,warning_amber:u$},Je=({name:e,...t})=>{const r=d$[e],n={...t,className:Wi("design-system-icon",t.className),"data-icon-name":e};return r?g.jsx(r,{...n}):(console.error(`Icon "${e}" not found`),g.jsx("svg",{...n,"data-warning":"icon not found",viewBox:"0 0 24 24"}))},c$={sky:{100:{$type:"color",$value:"#d8e1f3"},400:{$type:"color",$value:"#0059ff"},600:{$type:"color",$value:"#003dad"}},ocean:{100:{$type:"color",$value:"#e5f6ff"},300:{$type:"color",$value:"#449eca"},400:{$type:"color",$value:"#00a0f0"},600:{$type:"color",$value:"#00527a"}},green:{100:{$type:"color",$value:"#f0f8ed"},400:{$type:"color",$value:"#3ba50d"},600:{$type:"color",$value:"#1e5f02"}},brown:{100:{$type:"color",$value:"#fff7e5"},400:{$type:"color",$value:"#eba000"},600:{$type:"color",$value:"#6b4900"}},red:{100:{$type:"color",$value:"#ffe5ed"},400:{$type:"color",$value:"#d10a46"},600:{$type:"color",$value:"#850028"}},azure:{400:{$type:"color",$value:"#0f87ff"},500:{$type:"color",$value:"#1056c6"},700:{$type:"color",$value:"#001a70"},800:{$type:"color",$value:"#001352"},900:{$type:"color",$value:"#000c33"}},grass:{400:{$type:"color",$value:"#c1e510"},500:{$type:"color",$value:"#89da10"},700:{$type:"color",$value:"#4f9c30"}},orange:{400:{$type:"color",$value:"#ffb30f"},500:{$type:"color",$value:"#ff871f"},700:{$type:"color",$value:"#fe5716"}},grey:{0:{$type:"color",$value:"#ffffff"},50:{$type:"color",$value:"#f8f9fc"},100:{$type:"color",$value:"#e2e3e9"},200:{$type:"color",$value:"#dbdde6"},300:{$type:"color",$value:"#b8bbc6"}}},f$={1:{$type:"dimension",$value:8},2:{$type:"dimension",$value:16},3:{$type:"dimension",$value:24},4:{$type:"dimension",$value:32},5:{$type:"dimension",$value:40},6:{$type:"dimension",$value:48},7:{$type:"dimension",$value:56},8:{$type:"dimension",$value:64},9:{$type:"dimension",$value:72},10:{$type:"dimension",$value:80},11:{$type:"dimension",$value:88},12:{$type:"dimension",$value:96},13:{$type:"dimension",$value:104},half:{$type:"dimension",$value:4}},p$={sm:{$type:"dimension",$value:2},md:{$type:"dimension",$value:4},lg:{$type:"dimension",$value:8}},J={colors:c$,spacings:f$,radiuss:p$},ce={color:{content:{action:{action:J.colors.sky[400].$value,actionDarker:J.colors.sky[600].$value,actionLighter:J.colors.sky[100].$value},neutral:{primary:J.colors.azure[900].$value,primaryReversed:J.colors.grey[0].$value,secondary:J.colors.azure[800].$value,tertiary:J.colors.grey[300].$value,stroke:J.colors.grey[200].$value},brand:{brand1:J.colors.azure[700].$value,brand2:J.colors.azure[500].$value,brand3:J.colors.azure[400].$value,brand4:J.colors.grass[700].$value,brand5:J.colors.grass[500].$value,brand6:J.colors.grass[400].$value,brand7:J.colors.orange[700].$value,brand8:J.colors.orange[500].$value,brand9:J.colors.orange[400].$value},message:{informative:J.colors.ocean[400].$value,informativeDarker:J.colors.ocean[600].$value,informativeLighter:J.colors.ocean[100].$value,negative:J.colors.red[400].$value,negativeDarker:J.colors.red[600].$value,negativeLighter:J.colors.red[100].$value,positive:J.colors.green[400].$value,positiveDarker:J.colors.green[600].$value,positiveLighter:J.colors.green[100].$value,warning:J.colors.brown[400].$value,warningDarker:J.colors.brown[600].$value,warningLighter:J.colors.brown[100].$value}},background:{neutral:{overground:J.colors.grey[0].$value,ground:J.colors.grey[0].$value,groundReversed:J.colors.azure[900].$value,underground1:J.colors.grey[50].$value,underground2:J.colors.grey[100].$value},highlight:{focus:J.colors.ocean[300].$value,focusReversed:J.colors.grey[0].$value}}},spacing:{xxs:`${J.spacings.half.$value}px`,xs:`${J.spacings[1].$value}px`,sm:`${J.spacings[2].$value}px`,md:`${J.spacings[3].$value}px`,lg:`${J.spacings[4].$value}px`,xl:`${J.spacings[6].$value}px`,xxl:`${J.spacings[10].$value}px`},radius:{minimal:`${J.radiuss.sm.$value}px`,rounded:`${J.radiuss.md.$value}px`,full:`${J.radiuss.lg.$value}px`},"z-index":{base:"1",dropdown:"10",sticky:"20",fixed:"30",modalBackdrop:"40",offCanvas:"50",modal:"60",popover:"70",tooltip:"80"}},X={xxSmall:"12px",extraSmall:"14px",small:"16px",medium:"20px",large:"24px",extraLarge:"32px",xxLarge:"40px"},le={xxSmall:"16px",extraSmall:"20px",small:"24px",medium:"28px",large:"32px",extraLarge:"40px",xxLarge:"56px"},ih=V.span`
|
|
74
|
+
See https://s-c.sh/2BAXzed for more info.`),window[na]+=1);function u2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24a.71.71 0 0 0-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72Z",fill:"currentColor"})})}function d2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function c2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1Z",fill:"currentColor"})})}function f2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59a.996.996 0 0 0 0 1.41l6.59 6.59a.996.996 0 1 0 1.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function p2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.005 5.209v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 1 0-1.41-1.41l-4.88 4.88V5.209c0-.55-.45-1-1-1s-1 .45-1 1Z",fill:"currentColor"})})}function h2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 0 0 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function m2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M13 18.791V7.621l4.88 4.88c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58a.996.996 0 1 0 1.41 1.41L11 7.621v11.17c0 .55.45 1 1 1s1-.45 1-1Z",fill:"currentColor"})})}function v2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 20c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2s-2 .9-2 2v7c0 1.1.9 2 2 2Zm10-5v3c0 1.1.9 2 2 2s2-.9 2-2v-3c0-1.1-.9-2-2-2s-2 .9-2 2Zm-4 5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2s-2 .9-2 2v12c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function g2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.665 21c-.35 0-.62-.31-.57-.66l.9-6.34h-3.5c-.88 0-.33-.75-.31-.78 1.26-2.23 3.15-5.53 5.65-9.93a.577.577 0 0 1 1.07.37l-.9 6.34h3.51c.4 0 .62.19.4.66-3.29 5.74-5.2 9.09-5.75 10.05-.1.18-.29.29-.5.29Z",fill:"currentColor"})})}function b2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2h-8ZM6 19H4v-2h2v2Zm0-4H4v-2h2v2Zm0-4H4V9h2v2Zm0-4H4V5h2v2Zm4 12H8v-2h2v2Zm0-4H8v-2h2v2Zm0-4H8V9h2v2Zm0-4H8V5h2v2Zm9 12h-7v-2h2v-2h-2v-2h2v-2h-2V9h7c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Zm-1-8h-2v2h2v-2Zm0 4h-2v2h2v-2Z",fill:"currentColor"})})}function y2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1H7V2c0-.55-.45-1-1-1s-1 .45-1 1v1H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-1 18H5c-.55 0-1-.45-1-1V8h16v12c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function $2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z",fill:"currentColor"})})}function x2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m8.795 15.875-3.47-3.47a.996.996 0 1 0-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 1 0-1.41-1.41l-9.88 9.87Z",fill:"currentColor"})})}function D2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0Z",fill:"currentColor"})})}function w2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15 6.705a.996.996 0 0 0-1.41 0L9 11.295a.996.996 0 0 0 0 1.41l4.59 4.59a.996.996 0 1 0 1.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41Z",fill:"currentColor"})})}function E2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9 6.71a.996.996 0 0 0 0 1.41L12.88 12 9 15.88a.996.996 0 1 0 1.41 1.41L15 12.7a.996.996 0 0 0 0-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01Z",fill:"currentColor"})})}function C2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function P2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"})})}function S2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.5 20h-10V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1Zm5-4V4c0-1.1-.9-2-2-2h-9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2Zm-2 0h-9V4h9v12Z",fill:"currentColor"})})}function k2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v10ZM9 9h6c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1Zm6.5-5-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1h-2.5Z",fill:"currentColor"})})}function B2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M16.59 9.5H15v-5c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71ZM5 19.5c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function R2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2Zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function T2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36Zm17.71-10.42a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83Z",fill:"currentColor"})})}function A2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1Zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm1-3h-2v-2h2v2Z",fill:"currentColor"})})}function F2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M10.79 16.29c.39.39 1.02.39 1.41 0l3.59-3.59a.996.996 0 0 0 0-1.41L12.2 7.7a.996.996 0 1 0-1.41 1.41L12.67 11H4c-.55 0-1 .45-1 1s.45 1 1 1h8.67l-1.88 1.88c-.39.39-.38 1.03 0 1.41ZM19 3H5a2 2 0 0 0-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Z",fill:"currentColor"})})}function M2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m11.295 9-4.59 4.59A.996.996 0 1 0 8.115 15l3.89-3.88 3.88 3.88a.996.996 0 1 0 1.41-1.41L12.705 9a.996.996 0 0 0-1.41 0Z",fill:"currentColor"})})}function I2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m15.875 9-3.88 3.88L8.115 9a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0Z",fill:"currentColor"})})}function O2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2ZM8.5 14.21c0 .43-.36.79-.79.79-.25 0-.49-.12-.64-.33L4.75 11.5v2.88c0 .35-.28.62-.62.62-.34 0-.63-.28-.63-.62V9.79c0-.43.36-.79.79-.79h.05c.26 0 .5.12.65.33l2.26 3.17V9.62c0-.34.28-.62.63-.62s.62.28.62.62v4.59Zm5-4.57c0 .35-.28.62-.62.62H11v1.12h1.88c.35 0 .62.28.62.62v.01c0 .35-.28.62-.62.62H11v1.11h1.88c.35 0 .62.28.62.62 0 .35-.28.62-.62.62h-2.53a.85.85 0 0 1-.85-.85v-4.3c0-.45.38-.83.85-.83h2.53c.35 0 .62.28.62.62v.02Zm7 4.36c0 .55-.45 1-1 1h-4c-.55 0-1-.45-1-1V9.62c0-.34.28-.62.62-.62.34 0 .62.28.62.62v3.89h1.13v-2.9c0-.35.28-.62.62-.62.34 0 .62.28.62.62v2.89h1.12V9.62c0-.35.28-.62.62-.62.34 0 .62.28.62.62V14h.03Z",fill:"currentColor"})})}function V2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4.25 5.61C6.57 8.59 10 13 10 13v5c0 1.1.9 2 2 2s2-.9 2-2v-5s3.43-4.41 5.75-7.39c.51-.66.04-1.61-.8-1.61H5.04c-.83 0-1.3.95-.79 1.61Z",fill:"currentColor"})})}function L2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1Z",fill:"currentColor"})})}function j2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.699 15.89 13.819 12l3.89-3.89a.996.996 0 1 0-1.41-1.41l-4.59 4.59a.996.996 0 0 0 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0a.993.993 0 0 0-.01-1.4ZM6.999 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function K2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20 6h-8l-1.41-1.41C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2Zm-1 12H5c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Z",fill:"currentColor"})})}function N2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm0 10h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Zm8-16v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2Zm2 16h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Z",fill:"currentColor"})})}function _2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm-1-4h2v2h-2v-2Zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47Z",fill:"currentColor"})})}function z2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M9.998 19.328v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87l-8.36-7.53c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87h1.7v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1Z",fill:"currentColor"})})}function H2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8Zm8.25 6.75A5.489 5.489 0 0 1 12 17.5c-2.03 0-3.8-1.11-4.75-2.75-.19-.33.06-.75.44-.75h8.62c.39 0 .63.42.44.75ZM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5Z",fill:"currentColor"})})}function Z2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8ZM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96ZM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16Zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8ZM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38Z",fill:"currentColor"})})}function U2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.291 8.11 3.89 3.89-3.89 3.89a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41l-4.59-4.6a.996.996 0 0 0-1.41 0c-.38.39-.38 1.03 0 1.41ZM17.001 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1Z",fill:"currentColor"})})}function W2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17 7h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c1.65 0 3 1.35 3 3s-1.35 3-3 3h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-9 5c0 .55.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1Zm2 3H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h3c.55 0 1-.45 1-1s-.45-1-1-1H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h3c.55 0 1-.45 1-1s-.45-1-1-1Z",fill:"currentColor"})})}function G2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1Zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1ZM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function q2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M20.94 11A8.994 8.994 0 0 0 13 3.06V2c0-.55-.45-1-1-1s-1 .45-1 1v1.06A8.994 8.994 0 0 0 3.06 11H2c-.55 0-1 .45-1 1s.45 1 1 1h1.06A8.994 8.994 0 0 0 11 20.94V22c0 .55.45 1 1 1s1-.45 1-1v-1.06A8.994 8.994 0 0 0 20.94 13H22c.55 0 1-.45 1-1s-.45-1-1-1h-1.06ZM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7Z",fill:"currentColor"})})}function Y2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M5.104 5h6c.55 0 1-.45 1-1s-.45-1-1-1h-6c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h6c.55 0 1-.45 1-1s-.45-1-1-1h-6V5Z",fill:"currentColor"}),g.jsx("path",{d:"m20.754 11.65-2.79-2.79a.501.501 0 0 0-.86.35V11h-7c-.55 0-1 .45-1 1s.45 1 1 1h7v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})]})}function J2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1Zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Z",fill:"currentColor"})})}function Q2(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M7 11h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function X2(e){return g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[g.jsx("path",{d:"M15.11 12.45 14 10.24l-3.11 6.21c-.16.34-.51.55-.89.55s-.73-.21-.89-.55L7.38 13H2v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5h-6c-.38 0-.73-.21-.89-.55Z",fill:"currentColor"}),g.jsx("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v5h6c.38 0 .73.21.89.55L10 13.76l3.11-6.21c.34-.68 1.45-.68 1.79 0L16.62 11H22V6c0-1.1-.9-2-2-2Z",fill:"currentColor"})]})}function e$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function t$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z",fill:"currentColor"})})}function r$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M2.497 17.499c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 1 1.41 0l1.17 1.17a3 3 0 0 0 4.24 0l4.18-4.17 1.44 1.44a.5.5 0 0 0 .85-.35v-4.29a.48.48 0 0 0-.49-.5h-4.29c-.45 0-.67.54-.35.85l1.44 1.44-4.17 4.17a.996.996 0 0 1-1.41 0l-1.17-1.17a3 3 0 0 0-4.24 0l-4.61 4.59c-.38.39-.38 1.03 0 1.41Z",fill:"currentColor"})})}function n$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M18.004 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.68-1.5-1.51-1.5s-1.49.67-1.49 1.5v.68c-2.87.68-4.5 3.24-4.5 6.32v5l-1.3 1.29c-.63.63-.19 1.71.7 1.71h13.17c.89 0 1.34-1.08.71-1.71l-1.28-1.29Zm-6.01 6c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2ZM6.774 4.48c.42-.38.43-1.03.03-1.43a1 1 0 0 0-1.39-.02 10.424 10.424 0 0 0-3.27 6.06c-.09.61.38 1.16 1 1.16.48 0 .9-.35.98-.83a8.44 8.44 0 0 1 2.65-4.94Zm11.83-1.45c-.4-.37-1.02-.36-1.4.02-.4.4-.38 1.04.03 1.42 1.38 1.27 2.35 3 2.65 4.94.07.48.49.83.98.83.61 0 1.09-.55.99-1.16-.38-2.37-1.55-4.48-3.25-6.05Z",fill:"currentColor"})})}function a$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.29 17.04 18 15.75v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.11 6 7.67 6 10.75v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h13.17c.9 0 1.34-1.08.71-1.71ZM16 16.75H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6Zm-4 5c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Z",fill:"currentColor"})})}function i$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M11.305 21.75c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Zm6-11c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l8.19 8.19v-2.1ZM4.715 3.1l-1.41 1.41 2.81 2.81c-.52 1-.81 2.16-.81 3.43v5l-1.29 1.29c-.63.63-.19 1.71.7 1.71h12.83l1.74 1.74 1.41-1.41L4.715 3.1Z",fill:"currentColor"})})}function o$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M17.642 6.351a7.95 7.95 0 0 0-6.48-2.31c-3.67.37-6.69 3.35-7.1 7.02-.55 4.85 3.2 8.94 7.93 8.94a7.98 7.98 0 0 0 7.21-4.56c.32-.67-.16-1.44-.9-1.44-.37 0-.72.2-.88.53a5.994 5.994 0 0 1-6.8 3.31c-2.22-.49-4.01-2.3-4.48-4.52a6.002 6.002 0 0 1 5.85-7.32c1.66 0 3.14.69 4.22 1.78l-1.51 1.51c-.63.63-.19 1.71.7 1.71h3.59c.55 0 1-.45 1-1v-3.59c0-.89-1.08-1.34-1.71-.71l-.64.65Z",fill:"currentColor"})})}function l$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5ZM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5Zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z",fill:"currentColor"})})}function s$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26Zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5Z",fill:"currentColor"})})}function u$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m3.671 20.4 17.45-7.48a1 1 0 0 0 0-1.84L3.671 3.6a.993.993 0 0 0-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91Z",fill:"currentColor"})})}function d$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M19.5 12c0-.23-.01-.45-.03-.68l1.86-1.41c.4-.3.51-.86.26-1.3l-1.87-3.23a.987.987 0 0 0-1.25-.42l-2.15.91c-.37-.26-.76-.49-1.17-.68l-.29-2.31c-.06-.5-.49-.88-.99-.88h-3.73c-.51 0-.94.38-1 .88l-.29 2.31c-.41.19-.8.42-1.17.68l-2.15-.91c-.46-.2-1-.02-1.25.42L2.41 8.62c-.25.44-.14.99.26 1.3l1.86 1.41a7.343 7.343 0 0 0 0 1.35l-1.86 1.41c-.4.3-.51.86-.26 1.3l1.87 3.23c.25.44.79.62 1.25.42l2.15-.91c.37.26.76.49 1.17.68l.29 2.31c.06.5.49.88.99.88h3.73c.5 0 .93-.38.99-.88l.29-2.31c.41-.19.8-.42 1.17-.68l2.15.91c.46.2 1 .02 1.25-.42l1.87-3.23c.25-.44.14-.99-.26-1.3l-1.86-1.41c.03-.23.04-.45.04-.68Zm-7.46 3.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5Z",fill:"currentColor"})})}function c$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m2.776 14.764-.09-.09a.996.996 0 0 1 0-1.41l6.09-6.1a.996.996 0 0 1 1.41 0l3.29 3.29 6.39-7.18a1 1 0 0 1 1.45-.04c.37.38.39.98.04 1.37l-7.17 8.07a.992.992 0 0 1-1.45.04l-3.25-3.25-5.3 5.3a.996.996 0 0 1-1.41 0Zm1.41 6 5.3-5.3 3.25 3.25c.41.41 1.07.39 1.45-.04l7.17-8.07c.35-.39.33-.99-.04-1.37a1 1 0 0 0-1.45.04l-6.39 7.18-3.29-3.29a.996.996 0 0 0-1.41 0l-6.09 6.1a.996.996 0 0 0 0 1.41l.09.09c.39.39 1.03.39 1.41 0Z",fill:"currentColor"})})}function f$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 17.52 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5Z",fill:"currentColor"})})}function p$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m19.648 9.295-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75Zm-7.65 6.36-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28Z",fill:"currentColor"})})}function h$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m6.136 11.855-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.32.85.09.85-.35v-1.8h6.01c.55 0 1-.45 1-1s-.45-1-1-1h-6.01v-1.79c0-.45-.54-.67-.85-.35Zm14.51-3.21-2.78-2.79c-.31-.32-.85-.09-.85.35v1.79h-6.02c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.2-.19.2-.51.01-.7Z",fill:"currentColor"})})}function m$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M14.17 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59ZM8 15h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h8c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Zm0-4h5c.55 0 1 .45 1 1s-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1Z",fill:"currentColor"})})}function v$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12.466 8c-2.65 0-5.05.99-6.9 2.6l-1.89-1.89c-.63-.63-1.71-.19-1.71.7V15c0 .55.45 1 1 1h5.59c.89 0 1.34-1.08.71-1.71l-1.91-1.91c1.39-1.16 3.16-1.88 5.12-1.88 3.16 0 5.89 1.84 7.19 4.5.27.56.91.84 1.5.64.71-.23 1.07-1.04.75-1.72-1.72-3.5-5.3-5.92-9.45-5.92Z",fill:"currentColor"})})}function g$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M22 18.926V8.276c0-.82-.5-1.55-1.26-1.86l-8-3.2c-.48-.19-1.01-.19-1.49 0l-8 3.2C2.5 6.726 2 7.466 2 8.276v10.65c0 1.1.9 2 2 2h3v-9h10v9h3c1.1 0 2-.9 2-2Zm-11 0H9v2h2v-2Zm2-3h-2v2h2v-2Zm2 3h-2v2h2v-2Z",fill:"currentColor"})})}function b$(e){return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"m12 5.494 7.53 13.01H4.47L12 5.494Zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01Zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1Zm0 5h2v2h-2v-2Z",fill:"currentColor"})})}const y$={access_time:u2,add:d2,add_box:c2,arrow_back:f2,arrow_downward:p2,arrow_forward:h2,arrow_upward:m2,bar_chart:v2,bolt:g2,business:b2,calendar_today:y2,cancel:$2,check:x2,check_circle_outline:D2,chevron_left:w2,chevron_right:E2,clear:C2,close:P2,content_copy:S2,delete_outline:k2,download:B2,drag_indicator:R2,edit:T2,error_outline:A2,exit_to_app:F2,expand_less:M2,expand_more:I2,fiber_new:O2,filter_alt:V2,filter_list:L2,first_page:j2,folder_open:K2,grid_view:N2,help_outline:_2,home:z2,insert_emoticon:H2,language:Z2,last_page:U2,link:W2,list:G2,location_searching:q2,logout:Y2,menu:J2,minimize:Q2,monitor_heart:X2,more_horiz:e$,more_vert:t$,moving:r$,notifications_active:n$,notifications_none:a$,notifications_off:i$,refresh:o$,remove_red_eye:l$,search:s$,send:u$,settings:d$,stacked_line_chart:c$,star:f$,star_outline:p$,swap_horiz:h$,text_snippet:m$,undo:v$,warehouse:g$,warning_amber:b$},Qe=({name:e,...t})=>{const r=y$[e],n={...t,className:Jo("design-system-icon",t.className),"data-icon-name":e};return r?g.jsx(r,{...n}):(console.error(`Icon "${e}" not found`),g.jsx("svg",{...n,"data-warning":"icon not found",viewBox:"0 0 24 24"}))},$$={sky:{100:{$type:"color",$value:"#d8e1f3"},400:{$type:"color",$value:"#0059ff"},600:{$type:"color",$value:"#003dad"}},ocean:{100:{$type:"color",$value:"#e5f6ff"},300:{$type:"color",$value:"#449eca"},400:{$type:"color",$value:"#00a0f0"},600:{$type:"color",$value:"#00527a"}},green:{100:{$type:"color",$value:"#f0f8ed"},400:{$type:"color",$value:"#3ba50d"},600:{$type:"color",$value:"#1e5f02"}},brown:{100:{$type:"color",$value:"#fff7e5"},400:{$type:"color",$value:"#eba000"},600:{$type:"color",$value:"#6b4900"}},red:{100:{$type:"color",$value:"#ffe5ed"},400:{$type:"color",$value:"#d10a46"},600:{$type:"color",$value:"#850028"}},azure:{400:{$type:"color",$value:"#0f87ff"},500:{$type:"color",$value:"#1056c6"},700:{$type:"color",$value:"#001a70"},800:{$type:"color",$value:"#001352"},900:{$type:"color",$value:"#000c33"}},grass:{400:{$type:"color",$value:"#c1e510"},500:{$type:"color",$value:"#89da10"},700:{$type:"color",$value:"#4f9c30"}},orange:{400:{$type:"color",$value:"#ffb30f"},500:{$type:"color",$value:"#ff871f"},700:{$type:"color",$value:"#fe5716"}},grey:{0:{$type:"color",$value:"#ffffff"},50:{$type:"color",$value:"#f8f9fc"},100:{$type:"color",$value:"#e2e3e9"},200:{$type:"color",$value:"#dbdde6"},300:{$type:"color",$value:"#b8bbc6"}}},x$={1:{$type:"dimension",$value:8},2:{$type:"dimension",$value:16},3:{$type:"dimension",$value:24},4:{$type:"dimension",$value:32},5:{$type:"dimension",$value:40},6:{$type:"dimension",$value:48},7:{$type:"dimension",$value:56},8:{$type:"dimension",$value:64},9:{$type:"dimension",$value:72},10:{$type:"dimension",$value:80},11:{$type:"dimension",$value:88},12:{$type:"dimension",$value:96},13:{$type:"dimension",$value:104},half:{$type:"dimension",$value:4}},D$={sm:{$type:"dimension",$value:2},md:{$type:"dimension",$value:4},lg:{$type:"dimension",$value:8}},J={colors:$$,spacings:x$,radiuss:D$},fe={color:{content:{action:{action:J.colors.sky[400].$value,actionDarker:J.colors.sky[600].$value,actionLighter:J.colors.sky[100].$value},neutral:{primary:J.colors.azure[900].$value,primaryReversed:J.colors.grey[0].$value,secondary:J.colors.azure[800].$value,tertiary:J.colors.grey[300].$value,stroke:J.colors.grey[200].$value},brand:{brand1:J.colors.azure[700].$value,brand2:J.colors.azure[500].$value,brand3:J.colors.azure[400].$value,brand4:J.colors.grass[700].$value,brand5:J.colors.grass[500].$value,brand6:J.colors.grass[400].$value,brand7:J.colors.orange[700].$value,brand8:J.colors.orange[500].$value,brand9:J.colors.orange[400].$value},message:{informative:J.colors.ocean[400].$value,informativeDarker:J.colors.ocean[600].$value,informativeLighter:J.colors.ocean[100].$value,negative:J.colors.red[400].$value,negativeDarker:J.colors.red[600].$value,negativeLighter:J.colors.red[100].$value,positive:J.colors.green[400].$value,positiveDarker:J.colors.green[600].$value,positiveLighter:J.colors.green[100].$value,warning:J.colors.brown[400].$value,warningDarker:J.colors.brown[600].$value,warningLighter:J.colors.brown[100].$value}},background:{neutral:{overground:J.colors.grey[0].$value,ground:J.colors.grey[0].$value,groundReversed:J.colors.azure[900].$value,underground1:J.colors.grey[50].$value,underground2:J.colors.grey[100].$value},highlight:{focus:J.colors.ocean[300].$value,focusReversed:J.colors.grey[0].$value}}},spacing:{xxs:`${J.spacings.half.$value}px`,xs:`${J.spacings[1].$value}px`,sm:`${J.spacings[2].$value}px`,md:`${J.spacings[3].$value}px`,lg:`${J.spacings[4].$value}px`,xl:`${J.spacings[6].$value}px`,xxl:`${J.spacings[10].$value}px`},radius:{minimal:`${J.radiuss.sm.$value}px`,rounded:`${J.radiuss.md.$value}px`,full:`${J.radiuss.lg.$value}px`},"z-index":{base:"1",dropdown:"10",sticky:"20",fixed:"30",modalBackdrop:"40",offCanvas:"50",modal:"60",popover:"70",tooltip:"80"}},X={xxSmall:"12px",extraSmall:"14px",small:"16px",medium:"20px",large:"24px",extraLarge:"32px",xxLarge:"40px"},oe={xxSmall:"16px",extraSmall:"20px",small:"24px",medium:"28px",large:"32px",extraLarge:"40px",xxLarge:"56px"},fh=L.span`
|
|
75
75
|
// This reflect the little space between text and y-axis paddings (see Figma file)
|
|
76
76
|
&[data-size="medium"] {
|
|
77
77
|
padding: 2px 0;
|
|
78
78
|
}
|
|
79
|
-
`,
|
|
79
|
+
`,Fu=L(Qe)`
|
|
80
80
|
// Icons font-sizes are not equal to the font-size of the text (see Figma file)
|
|
81
81
|
&[data-size="small"] {
|
|
82
82
|
font-size: ${X.small};
|
|
@@ -85,7 +85,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
85
85
|
&[data-size="large"] {
|
|
86
86
|
font-size: ${X.large};
|
|
87
87
|
}
|
|
88
|
-
`,
|
|
88
|
+
`,w$=L(i4)`
|
|
89
89
|
// Core styles, here is the only place where CSS variables are *used*
|
|
90
90
|
appearance: none;
|
|
91
91
|
display: inline-flex;
|
|
@@ -144,21 +144,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
144
144
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
145
145
|
border-radius: var(--radius-minimal);
|
|
146
146
|
font-size: ${X.xxSmall};
|
|
147
|
-
line-height: ${
|
|
147
|
+
line-height: ${oe.xxSmall};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
&[data-size="medium"] {
|
|
151
151
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
152
152
|
border-radius: var(--radius-rounded);
|
|
153
153
|
font-size: ${X.extraSmall};
|
|
154
|
-
line-height: ${
|
|
154
|
+
line-height: ${oe.extraSmall};
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
&[data-size="large"] {
|
|
158
158
|
padding: var(--spacing-sm);
|
|
159
159
|
border-radius: var(--radius-full);
|
|
160
160
|
font-size: ${X.small};
|
|
161
|
-
line-height: ${
|
|
161
|
+
line-height: ${oe.small};
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
// Adjust the paddings when there is an icon
|
|
@@ -338,7 +338,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
338
338
|
&[data-mode="tertiary"]:not([data-disabled]):not([data-nature="action"])[data-force-pressed] {
|
|
339
339
|
box-shadow: none;
|
|
340
340
|
|
|
341
|
-
${
|
|
341
|
+
${fh} {
|
|
342
342
|
text-decoration: underline;
|
|
343
343
|
}
|
|
344
344
|
}
|
|
@@ -365,7 +365,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
365
365
|
--hover-background-color: transparent;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
`;function
|
|
368
|
+
`;function We({text:e,mode:t="primary",size:r="medium",nature:n="action",iconLeft:a,iconRight:i,type:o,onClick:l,disabled:s,fullWidth:d,...c}){const f=e==null||e==="";if(f&&!a&&!i)throw new Error("You must provide a text or an icon");if(a&&i)throw new Error("You can't provide both an iconLeft and an iconRight");return g.jsxs(w$,{...c,type:o||"button","data-size":r,"data-nature":n,"data-mode":t,"data-has-icon-left":!!a,"data-has-icon-right":!!i,"data-has-no-text":f,"data-fullwidth":d,onPress:l,isDisabled:s,children:[!!a&&g.jsx(Fu,{name:a,"data-size":r}),!f&&g.jsx(fh,{"data-size":r,children:e}),!!i&&g.jsx(Fu,{name:i,"data-size":r})]})}const E$=L.span`
|
|
369
369
|
display: inline-flex;
|
|
370
370
|
align-items: center;
|
|
371
371
|
justify-content: center;
|
|
@@ -374,7 +374,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
374
374
|
background: var(--color-background-neutral-underground-2);
|
|
375
375
|
color: var(--color-content-neutral-secondary);
|
|
376
376
|
font-size: ${X.extraSmall};
|
|
377
|
-
line-height: ${
|
|
377
|
+
line-height: ${oe.extraSmall};
|
|
378
378
|
font-weight: bold;
|
|
379
379
|
|
|
380
380
|
&[data-have-icon="true"] {
|
|
@@ -400,13 +400,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
400
400
|
background: var(--color-content-message-warning-lighter);
|
|
401
401
|
color: var(--color-content-message-warning-darker);
|
|
402
402
|
}
|
|
403
|
-
`,
|
|
403
|
+
`,C$=L(Qe)`
|
|
404
404
|
margin-right: var(--spacing-xxs);
|
|
405
405
|
font-size: ${X.small};
|
|
406
406
|
line-height: ${X.small};
|
|
407
407
|
width: ${X.small};
|
|
408
408
|
height: ${X.small};
|
|
409
|
-
`,
|
|
409
|
+
`,P$=u.forwardRef(({children:e,nature:t="default",iconLeft:r,...n},a)=>g.jsxs(E$,{"data-nature":t,"data-have-icon":!!r,ref:a,...n,children:[!!r&&g.jsx(C$,{name:r}),e]})),S$=L.span`
|
|
410
410
|
display: flex;
|
|
411
411
|
align-items: center;
|
|
412
412
|
justify-content: center;
|
|
@@ -417,7 +417,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
417
417
|
border-radius: 9999px;
|
|
418
418
|
background: var(--color-background-neutral-underground-2);
|
|
419
419
|
font-size: ${X.extraSmall};
|
|
420
|
-
line-height: ${
|
|
420
|
+
line-height: ${oe.extraSmall};
|
|
421
421
|
font-weight: bold;
|
|
422
422
|
color: var(--color-content-neutral-secondary);
|
|
423
423
|
|
|
@@ -451,7 +451,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
451
451
|
&[data-invisible="true"] {
|
|
452
452
|
visibility: hidden;
|
|
453
453
|
}
|
|
454
|
-
`,
|
|
454
|
+
`,Ql=u.forwardRef(({value:e,nature:t="default",max:r,showZero:n,invisible:a,variant:i="standard",...o},l)=>{if(k$({value:e,variant:i,showZero:n}))return null;let s=e;return e&&r&&e>r&&(s=`${r}+`),i==="dot"&&(s=""),g.jsx(S$,{ref:l,"data-nature":t,"data-invisible":a,"data-variant":i,$value:e,$max:r,...o,children:s})}),k$=({value:e,variant:t,showZero:r})=>t==="dot"?!1:e==null||e===0&&!r,ma=L.div`
|
|
455
455
|
position: relative;
|
|
456
456
|
display: flex;
|
|
457
457
|
align-items: center;
|
|
@@ -459,10 +459,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
459
459
|
column-gap: var(--spacing-xs);
|
|
460
460
|
color: var(--color-content-neutral-secondary);
|
|
461
461
|
font-size: ${X.small};
|
|
462
|
-
line-height: ${
|
|
462
|
+
line-height: ${oe.small};
|
|
463
463
|
font-style: normal;
|
|
464
464
|
font-weight: 400;
|
|
465
|
-
|
|
465
|
+
`,B$=L(Hb)`
|
|
466
466
|
display: inline-block;
|
|
467
467
|
padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-xs)
|
|
468
468
|
var(--spacing-xxs);
|
|
@@ -514,9 +514,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
&[data-force-focus]
|
|
517
|
-
> ${
|
|
517
|
+
> ${ma}::before,
|
|
518
518
|
&[data-focus-visible]
|
|
519
|
-
> ${
|
|
519
|
+
> ${ma}::before {
|
|
520
520
|
content: "";
|
|
521
521
|
position: absolute;
|
|
522
522
|
inset: -4px;
|
|
@@ -525,7 +525,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
525
525
|
border-radius: var(--radius-full);
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
&[data-hide-label="true"] > ${
|
|
528
|
+
&[data-hide-label="true"] > ${ma}::before {
|
|
529
529
|
inset: -4px;
|
|
530
530
|
bottom: -3px;
|
|
531
531
|
border-radius: 6px;
|
|
@@ -544,7 +544,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
544
544
|
visibility: hidden;
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
`,
|
|
547
|
+
`,R$=L.div`
|
|
548
548
|
display: flex;
|
|
549
549
|
align-items: center;
|
|
550
550
|
justify-content: center;
|
|
@@ -555,13 +555,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
555
555
|
width: calc(20px - var(--spacing-xxs));
|
|
556
556
|
height: calc(20px - var(--spacing-xxs));
|
|
557
557
|
}
|
|
558
|
-
`,
|
|
558
|
+
`,ph=u.forwardRef(({label:e,hideLabel:t,disabled:r,defaultSelected:n,isIndeterminate:a,isSelected:i,onChange:o,readOnly:l,value:s,required:d,...c},f)=>g.jsx(B$,{...c,ref:f,"aria-label":t?e:void 0,isDisabled:r,defaultSelected:n,isIndeterminate:a,isSelected:i,onChange:o,isReadOnly:l,value:s,isRequired:d,"data-hide-label":t,"data-design-system-component":"Checkbox",children:g.jsxs(ma,{children:[g.jsx(R$,{"data-hide-label":t,children:g.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[g.jsx("path",{className:"checkbox-svg-square",d:"M0.5 2.0437C0.5 1.21527 1.17157 0.543701 2 0.543701H14C14.8284 0.543701 15.5 1.21527 15.5 2.0437V14.0437C15.5 14.8721 14.8284 15.5437 14 15.5437H2C1.17157 15.5437 0.5 14.8721 0.5 14.0437V2.0437Z"}),g.jsx("path",{className:"checkbox-svg-checkmark",d:"M5.86331 10.6271L3.54998 8.31372C3.28998 8.05372 2.86998 8.05372 2.60998 8.31372C2.34998 8.57372 2.34998 8.99372 2.60998 9.25372L5.39665 12.0404C5.65665 12.3004 6.07664 12.3004 6.33664 12.0404L13.39 4.98705C13.65 4.72705 13.65 4.30705 13.39 4.04705C13.13 3.78705 12.71 3.78705 12.45 4.04705L5.86331 10.6271Z"}),g.jsx("path",{className:"checkbox-svg-indeterminate",d:"M4.66667 7.37701H11.3333C11.7 7.37701 12 7.67701 12 8.04368C12 8.41035 11.7 8.71035 11.3333 8.71035H4.66667C4.3 8.71035 4 8.41035 4 8.04368C4 7.67701 4.3 7.37701 4.66667 7.37701Z",fill:"white"})]})}),t?"":e]})})),T$=u.forwardRef(({children:e,...t},r)=>g.jsx(Zb,{...t,ref:r,children:e})),Mu=ch`
|
|
559
559
|
from { transform: translateX(100%); }
|
|
560
560
|
to { transform: translateX(0); }
|
|
561
|
-
`,
|
|
561
|
+
`,Iu=ch`
|
|
562
562
|
from { background: rgba(0 0 0 / 0); }
|
|
563
563
|
to { background: rgba(0 12 51 / 0.7); }
|
|
564
|
-
`,
|
|
564
|
+
`,A$=L(Lp)`
|
|
565
565
|
position: fixed;
|
|
566
566
|
z-index: var(--z-index-modal);
|
|
567
567
|
top: 0;
|
|
@@ -571,11 +571,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
571
571
|
background: rgba(0 12 51 / 0.7);
|
|
572
572
|
|
|
573
573
|
&[data-entering] {
|
|
574
|
-
animation: ${
|
|
574
|
+
animation: ${Iu} 300ms;
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
&[data-exiting] {
|
|
578
|
-
animation: ${
|
|
578
|
+
animation: ${Iu} 300ms reverse ease-in;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -584,7 +584,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
584
584
|
animation: none;
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
`,
|
|
587
|
+
`,F$=L(O5)`
|
|
588
588
|
position: fixed;
|
|
589
589
|
top: 0;
|
|
590
590
|
right: 0;
|
|
@@ -594,11 +594,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
594
594
|
outline: none;
|
|
595
595
|
|
|
596
596
|
&[data-entering] {
|
|
597
|
-
animation: ${
|
|
597
|
+
animation: ${Mu} 300ms;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
&[data-exiting] {
|
|
601
|
-
animation: ${
|
|
601
|
+
animation: ${Mu} 300ms reverse ease-in;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -607,12 +607,12 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
607
607
|
animation: none;
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
`,
|
|
610
|
+
`,M$=L(Kl)`
|
|
611
611
|
outline: none;
|
|
612
612
|
height: 100%;
|
|
613
613
|
display: flex;
|
|
614
614
|
flex-direction: column;
|
|
615
|
-
`,
|
|
615
|
+
`,I$=L.header`
|
|
616
616
|
display: flex;
|
|
617
617
|
align-items: center;
|
|
618
618
|
justify-content: space-between;
|
|
@@ -620,46 +620,46 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
620
620
|
var(--spacing-sm);
|
|
621
621
|
gap: var(--spacing-xs);
|
|
622
622
|
background: var(--color-content-action-action-darker);
|
|
623
|
-
`,
|
|
623
|
+
`,O$=L.h2`
|
|
624
624
|
margin: 0;
|
|
625
625
|
font-size: ${X.small};
|
|
626
626
|
font-style: normal;
|
|
627
627
|
font-weight: 700;
|
|
628
|
-
line-height: ${
|
|
628
|
+
line-height: ${oe.small};
|
|
629
629
|
color: var(--color-content-neutral-primary-reversed);
|
|
630
|
-
`,
|
|
630
|
+
`,V$=L(We)`
|
|
631
631
|
color: var(--color-content-neutral-primary-reversed);
|
|
632
|
-
`,
|
|
632
|
+
`,L$=L.section`
|
|
633
633
|
padding: var(--spacing-lg);
|
|
634
634
|
flex: 1;
|
|
635
635
|
overflow-y: auto;
|
|
636
|
-
`,
|
|
636
|
+
`,j$=L.footer`
|
|
637
637
|
display: flex;
|
|
638
638
|
justify-content: flex-end;
|
|
639
639
|
align-items: center;
|
|
640
640
|
padding: var(--spacing-sm);
|
|
641
641
|
gap: var(--spacing-sm);
|
|
642
642
|
border-top: 1px solid var(--color-content-neutral-stroke);
|
|
643
|
-
`;function
|
|
643
|
+
`;function K$({children:e,onPrimaryClick:t,primaryLabel:r,onSecondaryClick:n,secondaryLabel:a,isOpen:i,onOpenChange:o,title:l,isDismissable:s=!0}){return g.jsx(A$,{isOpen:i,onOpenChange:o,isDismissable:s,isKeyboardDismissDisabled:!s,children:g.jsx(F$,{children:g.jsx(M$,{"aria-label":l,children:({close:d})=>g.jsxs(g.Fragment,{children:[g.jsxs(I$,{children:[g.jsx(O$,{children:l}),g.jsx(V$,{type:"button",onClick:d,"aria-label":"Close",iconLeft:"clear",mode:"tertiary"})]}),g.jsx(L$,{children:e}),g.jsxs(j$,{children:[n&&g.jsx(We,{onClick:n,text:a,mode:"secondary"}),g.jsx(We,{onClick:t,text:r})]})]})})})})}const N$=L.th`
|
|
644
644
|
padding: 0;
|
|
645
|
-
`,
|
|
645
|
+
`,_$=L.div`
|
|
646
646
|
display: flex;
|
|
647
647
|
align-items: center;
|
|
648
648
|
width: 100%;
|
|
649
649
|
column-gap: var(--spacing-xxs);
|
|
650
650
|
padding: var(--spacing-sm);
|
|
651
651
|
border-bottom: 1px solid var(--color-content-neutral-stroke);
|
|
652
|
-
`,
|
|
652
|
+
`,Zo=L(Qe)`
|
|
653
653
|
display: inline-block;
|
|
654
654
|
font-size: ${X.large};
|
|
655
655
|
color: var(--color-content-neutral-secondary);
|
|
656
|
-
`,
|
|
656
|
+
`,hh=L.button`
|
|
657
657
|
padding: 0;
|
|
658
658
|
border: none;
|
|
659
659
|
background: none;
|
|
660
660
|
font-weight: bold;
|
|
661
661
|
font-size: ${X.small};
|
|
662
|
-
line-height: ${
|
|
662
|
+
line-height: ${oe.small};
|
|
663
663
|
color: var(--color-content-neutral-secondary);
|
|
664
664
|
appearance: none;
|
|
665
665
|
white-space: nowrap;
|
|
@@ -668,21 +668,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
668
668
|
cursor: pointer;
|
|
669
669
|
}
|
|
670
670
|
|
|
671
|
-
${
|
|
671
|
+
${Zo} {
|
|
672
672
|
color: var(--color-content-neutral-primary);
|
|
673
673
|
}
|
|
674
|
-
`,
|
|
674
|
+
`,z$=L(hh)`
|
|
675
675
|
height: ${X.large};
|
|
676
|
-
`;function
|
|
676
|
+
`;function H$({text:e,iconLeft:t,sortDirection:r="none",onSortClick:n,...a}){return g.jsx(N$,{...a,children:g.jsxs(_$,{children:[!!t&&g.jsx(Zo,{name:t}),g.jsx(hh,{type:"button",onClick:n,disabled:!n,children:e}),!!n&&r!=="none"&&g.jsx(z$,{type:"button",onClick:n,disabled:!n,children:g.jsx(Zo,{name:r==="asc"?"expand_less":"expand_more"})})]})})}const Z$=L.td`
|
|
677
677
|
padding: 0;
|
|
678
|
-
`,L
|
|
678
|
+
`,U$=L.div`
|
|
679
679
|
display: flex;
|
|
680
680
|
align-items: center;
|
|
681
681
|
column-gap: var(--spacing-xxs);
|
|
682
682
|
padding: var(--spacing-sm);
|
|
683
683
|
color: var(--color-content-neutral-secondary);
|
|
684
684
|
font-size: ${X.small};
|
|
685
|
-
line-height: ${
|
|
685
|
+
line-height: ${oe.small};
|
|
686
686
|
font-weight: normal;
|
|
687
687
|
|
|
688
688
|
// Remove padding for specific components to avoid double padding that can make the Cell too tall
|
|
@@ -692,10 +692,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
692
692
|
> [data-design-system-component="Checkbox"] {
|
|
693
693
|
padding: 0 !important;
|
|
694
694
|
}
|
|
695
|
-
`,
|
|
695
|
+
`,W$=L(Qe)`
|
|
696
696
|
display: inline-block;
|
|
697
697
|
font-size: ${X.large};
|
|
698
|
-
`;function
|
|
698
|
+
`;function G$({children:e,iconLeft:t,...r}){return g.jsx(Z$,{...r,children:g.jsxs(U$,{children:[!!t&&g.jsx(W$,{name:t}),e]})})}const q$=L.tr`
|
|
699
699
|
background-color: var(--color-content-neutral-primary-reversed);
|
|
700
700
|
|
|
701
701
|
&[data-level="section"] {
|
|
@@ -705,7 +705,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
705
705
|
&[data-level="sub-section"] {
|
|
706
706
|
background-color: var(--color-content-action-action-lighter);
|
|
707
707
|
}
|
|
708
|
-
`;function
|
|
708
|
+
`;function mh({children:e,level:t="root",...r}){return g.jsx(q$,{...r,"data-level":t,children:e})}/**
|
|
709
709
|
* react-table
|
|
710
710
|
*
|
|
711
711
|
* Copyright (c) TanStack
|
|
@@ -714,33 +714,33 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
714
714
|
* LICENSE.md file in the root directory of this source tree.
|
|
715
715
|
*
|
|
716
716
|
* @license MIT
|
|
717
|
-
*/function
|
|
717
|
+
*/function Ou(e,t){return e?Y$(e)?Nh.createElement(e,t):e:null}function Y$(e){return J$(e)||typeof e=="function"||Q$(e)}function J$(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function Q$(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}const X$=L.div`
|
|
718
718
|
display: flex;
|
|
719
719
|
column-gap: var(--spacing-xxs);
|
|
720
720
|
font-size: ${X.small};
|
|
721
|
-
line-height: ${
|
|
721
|
+
line-height: ${oe.small};
|
|
722
722
|
font-weight: 700;
|
|
723
723
|
color: var(--color-content-neutral-primary);
|
|
724
|
-
`,
|
|
724
|
+
`,ex=L.span`
|
|
725
725
|
color: var(--color-content-message-negative-darker);
|
|
726
|
-
`,
|
|
727
|
-
font-size: ${
|
|
728
|
-
`;function
|
|
726
|
+
`,tx=L.label``,rx=L(Qe)`
|
|
727
|
+
font-size: ${oe.small};
|
|
728
|
+
`;function nx({htmlForId:e,required:t,label:r,labelIconRight:n,...a}){return g.jsxs(X$,{...a,className:Jo("FormGroupLabel",a.className),children:[!!t&&g.jsx(ex,{title:"Required","aria-hidden":"true",children:"*"}),g.jsx(tx,{htmlFor:e,children:r}),!!n&&g.jsx(rx,{name:n})]})}const ax=L.div`
|
|
729
729
|
display: flex;
|
|
730
730
|
flex-direction: column;
|
|
731
731
|
align-items: flex-start;
|
|
732
732
|
row-gap: var(--spacing-xs);
|
|
733
|
-
`,
|
|
733
|
+
`,ix=L.div`
|
|
734
734
|
font-size: ${X.extraSmall};
|
|
735
|
-
line-height: ${
|
|
735
|
+
line-height: ${oe.extraSmall};
|
|
736
736
|
font-weight: 400;
|
|
737
737
|
color: var(--color-content-neutral-secondary);
|
|
738
|
-
`,
|
|
738
|
+
`,ox=L.div`
|
|
739
739
|
display: flex;
|
|
740
740
|
align-items: center;
|
|
741
741
|
column-gap: var(--spacing-xxs);
|
|
742
742
|
font-size: ${X.extraSmall};
|
|
743
|
-
line-height: ${
|
|
743
|
+
line-height: ${oe.extraSmall};
|
|
744
744
|
font-weight: 700;
|
|
745
745
|
|
|
746
746
|
&[data-nature="default"] {
|
|
@@ -754,9 +754,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
754
754
|
&[data-nature="positive"] {
|
|
755
755
|
color: var(--color-content-message-positive-darker);
|
|
756
756
|
}
|
|
757
|
-
`,
|
|
758
|
-
font-size: ${
|
|
759
|
-
`;function
|
|
757
|
+
`,lx=L(Qe)`
|
|
758
|
+
font-size: ${oe.xxSmall};
|
|
759
|
+
`;function Ji({iconLeft:e,text:t,nature:r="default"}){return g.jsxs(ox,{"data-nature":r,role:r==="negative"?"alert":void 0,children:[!!e&&g.jsx(lx,{name:e}),t]})}const Fr=u.forwardRef(({htmlForId:e,required:t,label:r,labelIconRight:n,description:a,helperTextIcon:i,helperText:o,children:l,errorHelperTextIcon:s,successHelperTextIcon:d,successHelperText:c,errorHelperText:f,...p},h)=>g.jsxs(ax,{ref:h,...p,children:[g.jsx(nx,{htmlForId:e,label:r,labelIconRight:n,required:t}),!!a&&g.jsx(ix,{children:a}),l,!!f&&g.jsx(Ji,{text:f,iconLeft:s,nature:"negative"}),!!c&&g.jsx(Ji,{text:c,iconLeft:d,nature:"positive"}),!!o&&g.jsx(Ji,{text:o,iconLeft:i,nature:"default"})]})),vh=fi`
|
|
760
760
|
margin: 0;
|
|
761
761
|
max-height: 200px; /* 5 items of 40px height */
|
|
762
762
|
overflow-y: auto;
|
|
@@ -764,13 +764,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
764
764
|
background: var(--color-content-neutral-primary-reversed);
|
|
765
765
|
box-shadow: 10px 10px 24px 0 rgba(0, 0, 0, 0.05);
|
|
766
766
|
list-style: none;
|
|
767
|
-
`,
|
|
768
|
-
${
|
|
769
|
-
`,
|
|
767
|
+
`,sx=L.div`
|
|
768
|
+
${vh}
|
|
769
|
+
`,ux=L(N5)`
|
|
770
770
|
&[data-fullwidth="true"] {
|
|
771
771
|
width: 100%;
|
|
772
772
|
}
|
|
773
|
-
`,
|
|
773
|
+
`,Vu=L(i4)`
|
|
774
774
|
position: relative;
|
|
775
775
|
display: inline-flex;
|
|
776
776
|
justify-content: space-between;
|
|
@@ -784,7 +784,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
784
784
|
border-radius: var(--radius-rounded);
|
|
785
785
|
padding: var(--spacing-xs);
|
|
786
786
|
font-size: ${X.small};
|
|
787
|
-
line-height: ${
|
|
787
|
+
line-height: ${oe.small};
|
|
788
788
|
color: var(--color-content-neutral-primary);
|
|
789
789
|
cursor: pointer;
|
|
790
790
|
appearance: none;
|
|
@@ -835,7 +835,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
835
835
|
&[data-nature="positive"] {
|
|
836
836
|
outline-color: var(--color-content-message-positive-darker);
|
|
837
837
|
}
|
|
838
|
-
`,
|
|
838
|
+
`,dx=z5,Lu=L(Qe)`
|
|
839
839
|
flex: none;
|
|
840
840
|
font-size: ${X.large};
|
|
841
841
|
color: var(--color-content-neutral-tertiary);
|
|
@@ -843,19 +843,19 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
843
843
|
&[data-disabled="true"] {
|
|
844
844
|
color: var(--color-content-neutral-secondary);
|
|
845
845
|
}
|
|
846
|
-
`,
|
|
847
|
-
${
|
|
846
|
+
`,ju=L(jl)``,Ku=L(a5)`
|
|
847
|
+
${vh};
|
|
848
848
|
z-index: var(--z-index-dropdown);
|
|
849
849
|
outline: none;
|
|
850
850
|
width: var(--trigger-width);
|
|
851
|
-
`,
|
|
851
|
+
`,cx=L.span`
|
|
852
852
|
display: flex;
|
|
853
853
|
align-items: center;
|
|
854
854
|
column-gap: var(--spacing-xs);
|
|
855
|
-
`;function
|
|
855
|
+
`;function jn({nature:e,successHelperText:t,errorHelperText:r}){return e||(r?"negative":t?"positive":"default")}function fx(){return typeof window.ResizeObserver<"u"}function px(e){const{ref:t,onResize:r}=e;u.useEffect(()=>{const n=t==null?void 0:t.current;if(n)if(fx()){const a=new window.ResizeObserver(i=>{i.length&&r()});return a.observe(n),()=>{n&&a.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t])}function pi(e){const{locale:t}=Pe(),r=t||"";return`${r[0]}${r[1]}`.toLowerCase()==="fr"?e.fr:e.en}const Uo=u.forwardRef((e,t)=>{var c,f;const r=pi(hx),n=e["aria-label"]??String(e.label),a=jn({nature:e.nature,successHelperText:e.successHelperText,errorHelperText:e.errorHelperText}),i={...e.wrapperProps,htmlForId:e.id,label:e.label,labelIconRight:e.labelIconRight,description:e.description,helperTextIcon:e.helperTextIcon,helperText:e.helperText,errorHelperText:e.errorHelperText,errorHelperTextIcon:e.errorHelperTextIcon,successHelperText:e.successHelperText,successHelperTextIcon:e.successHelperTextIcon,required:e.required},o=u.useRef(null),[l,s]=u.useState(null),d=u.useCallback(()=>{o.current&&s(o.current.offsetWidth+"px")},[o]);return px({ref:o,onResize:d}),e.mode==="multiple"?g.jsx(Fr,{...i,ref:t,children:g.jsxs(v5,{defaultOpen:e.defaultOpen,isOpen:e.open,onOpenChange:e.onOpenChange,children:[g.jsxs(Vu,{...e.buttonProps,type:"button",ref:o,"data-nature":a,"data-fullwidth":e.fullWidth,"aria-label":n,isDisabled:e.disabled,children:[!((c=e.selectedKeys)!=null&&c.length)&&g.jsx("span",{children:e.placeholder||""}),!!((f=e.selectedKeys)!=null&&f.length)&&g.jsxs(cx,{children:[g.jsx(Ql,{value:e.selectedKeys.length,nature:"informative"}),e.selectedKeys.length===1?` ${r.itemSelected}`:` ${r.itemsSelected}`]}),g.jsx(Lu,{name:"expand_more","data-disabled":e.disabled})]}),g.jsx(ju,{offset:4,placement:"bottom",children:g.jsx(Ku,{"aria-label":`${r.selectionFor} ${n}`,selectionMode:"multiple",selectedKeys:e.selectedKeys,disabledKeys:e.disabledIds,onSelectionChange:p=>{p!=="all"&&e.onSelectionChange([...p].map(String))},style:{"--trigger-width":l},children:e.children})})]})}):g.jsx(Fr,{...i,children:g.jsxs(ux,{ref:t,id:e.id,isDisabled:e.disabled,isRequired:e.required,onSelectionChange:p=>{var h;return(h=e.onChange)==null?void 0:h.call(e,String(p))},selectedKey:e.value,name:e.name,disabledKeys:e.disabledIds,defaultOpen:e.defaultOpen,isOpen:e.open,onOpenChange:e.onOpenChange,"data-fullwidth":e.fullWidth,"aria-label":n,children:[g.jsxs(Vu,{...e.buttonProps,type:"button","data-nature":a,"data-fullwidth":e.fullWidth,children:[g.jsx(dx,{children:p=>p.isPlaceholder?e.placeholder||"":p.selectedText}),g.jsx(Lu,{name:"expand_more","data-disabled":e.disabled})]}),g.jsx(ju,{offset:4,placement:"bottom",children:g.jsx(Ku,{children:e.children})})]})})}),hx={en:{itemsSelected:" items selected",itemSelected:" item selected",selectionFor:" selection for"},fr:{itemsSelected:" éléments sélectionnés",itemSelected:" élément sélectionné",selectionFor:" sélection pour"}},Wo=L(Qe)`
|
|
856
856
|
font-size: ${X.large};
|
|
857
857
|
color: var(--color-content-neutral-primary);
|
|
858
|
-
`,
|
|
858
|
+
`,mx=L.div`
|
|
859
859
|
position: relative;
|
|
860
860
|
z-index: var(--z-index-base);
|
|
861
861
|
width: 100%;
|
|
@@ -898,15 +898,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
898
898
|
color: var(--color-content-neutral-tertiary);
|
|
899
899
|
cursor: not-allowed;
|
|
900
900
|
|
|
901
|
-
${
|
|
901
|
+
${Wo} {
|
|
902
902
|
color: var(--color-content-neutral-tertiary);
|
|
903
903
|
}
|
|
904
904
|
}
|
|
905
|
-
`,
|
|
905
|
+
`,vx=L.span`
|
|
906
906
|
flex-grow: 1;
|
|
907
907
|
font-size: ${X.small};
|
|
908
|
-
line-height: ${
|
|
909
|
-
`,
|
|
908
|
+
line-height: ${oe.small};
|
|
909
|
+
`,gh=u.forwardRef(({text:e,iconLeft:t,iconRight:r,selected:n,disabled:a,isMultipleSelection:i,...o},l)=>g.jsxs(mx,{...o,ref:l,"data-selected":!!n,"data-disabled":a,children:[i&&g.jsx(ph,{label:`item ${e} ${n?"selected":"not selected"}`,hideLabel:!0,isSelected:n,readOnly:!0,disabled:a}),!!t&&g.jsx(Wo,{name:t}),!!e&&g.jsx(vx,{children:e}),!!r&&g.jsx(Wo,{name:r})]}));function Go({text:e,id:t,iconRight:r,iconLeft:n,isSelected:a,href:i}){return g.jsx(s5,{textValue:e,id:t,style:{outline:"none",textDecoration:"none"},href:i,children:o=>g.jsx(gh,{text:e,disabled:o.isDisabled,selected:a??o.isSelected,"data-hovered":o.isHovered,"data-pressed":o.isPressed,"data-focused":o.isFocused,"data-focus-visible":o.isFocusVisible,iconLeft:n,iconRight:r,isMultipleSelection:o.selectionMode==="multiple"})})}function gx(e,t){return Array.from({length:e},(r,n)=>n+0)}const bx=L.div`
|
|
910
910
|
display: flex;
|
|
911
911
|
align-items: center;
|
|
912
912
|
justify-content: space-between;
|
|
@@ -915,53 +915,53 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
915
915
|
.FormGroupLabel {
|
|
916
916
|
display: none;
|
|
917
917
|
}
|
|
918
|
-
`,
|
|
918
|
+
`,yx=L.div`
|
|
919
919
|
display: flex;
|
|
920
920
|
align-items: center;
|
|
921
921
|
justify-content: space-between;
|
|
922
|
-
|
|
922
|
+
`,$x=L.div`
|
|
923
923
|
margin-right: var(--spacing-xs);
|
|
924
924
|
color: var(--color-content-neutral-secondary);
|
|
925
925
|
font-size: ${X.extraSmall};
|
|
926
926
|
font-style: normal;
|
|
927
927
|
font-weight: 400;
|
|
928
|
-
line-height: ${
|
|
929
|
-
`,
|
|
928
|
+
line-height: ${oe.extraSmall};
|
|
929
|
+
`,xx=L.div`
|
|
930
930
|
margin-left: var(--spacing-sm);
|
|
931
931
|
color: var(--color-content-neutral-secondary);
|
|
932
932
|
font-size: ${X.xxSmall};
|
|
933
933
|
font-style: normal;
|
|
934
934
|
font-weight: 400;
|
|
935
|
-
line-height: ${
|
|
936
|
-
`,
|
|
935
|
+
line-height: ${oe.xxSmall};
|
|
936
|
+
`,Dx=L.div`
|
|
937
937
|
display: flex;
|
|
938
938
|
align-items: center;
|
|
939
939
|
justify-content: space-between;
|
|
940
940
|
column-gap: var(--spacing-sm);
|
|
941
|
-
`,
|
|
941
|
+
`,wx=L.div`
|
|
942
942
|
color: var(--color-content-neutral-secondary);
|
|
943
943
|
font-size: ${X.xxSmall};
|
|
944
944
|
font-style: normal;
|
|
945
945
|
font-weight: 400;
|
|
946
|
-
line-height: ${
|
|
947
|
-
`,
|
|
946
|
+
line-height: ${oe.xxSmall};
|
|
947
|
+
`,bh=u.forwardRef(({count:e,onPageChange:t,pageIndex:r,itemsPerPageOptions:n=[10,20,30,40,50],itemsPerPage:a=10,onItemsPerPageChange:i,...o},l)=>{const s=u.useMemo(()=>r*a+1,[a,r]),d=u.useMemo(()=>Math.min((r+1)*a,e),[e,a,r]),c=u.useMemo(()=>Math.ceil(e/a),[e,a]),f=u.useMemo(()=>Math.max(c-1,0),[c]);return g.jsxs(bx,{...o,ref:l,children:[g.jsxs(yx,{children:[g.jsx($x,{children:"Item per page"}),g.jsx(Uo,{id:"table-pagination-items-per-page",label:"Select the number of items per page",mode:"single",value:String(a),onChange:p=>i(Number(p)),fullWidth:!0,children:n.map(p=>g.jsx(Go,{id:String(p),text:String(p)},p))}),g.jsxs(xx,{"data-testid":"table-pagination-items-range",children:[g.jsx("b",{children:s})," - ",g.jsx("b",{children:d})," of ",g.jsx("b",{children:e})," items"]})]}),g.jsxs(Dx,{children:[g.jsx(Uo,{id:"table-pagination-page-selector",label:"Select page to display",mode:"single",value:String(r),onChange:p=>t(Number(p)),fullWidth:!0,children:gx(c).map(p=>g.jsx(Go,{id:String(p),text:String(p+1)},p))}),g.jsxs(wx,{"data-testid":"table-pagination-pages-range",children:["On ",g.jsx("b",{children:c})," pages"]}),g.jsxs("div",{children:[g.jsx(We,{iconLeft:"first_page","aria-label":"Go to first page",onClick:()=>t(0),disabled:r===0,mode:"tertiary"}),g.jsx(We,{iconLeft:"chevron_left","aria-label":"Go to previous page",onClick:()=>t(r-1),disabled:r===0,mode:"tertiary"}),g.jsx(We,{iconLeft:"chevron_right","aria-label":"Go to next page",onClick:()=>t(r+1),disabled:r===f,mode:"tertiary"}),g.jsx(We,{iconLeft:"last_page","aria-label":"Go to last page",onClick:()=>t(f),disabled:r===f,mode:"tertiary"})]})]})]})}),Ex=L.table`
|
|
948
948
|
width: 100%;
|
|
949
949
|
border-collapse: separate;
|
|
950
950
|
border-spacing: 0 var(--spacing-xxs);
|
|
951
|
-
`;function
|
|
951
|
+
`;function yh({children:e,...t}){return g.jsx(Ex,{...t,children:e})}function Cx({table:e,pagination:t,...r}){return g.jsxs("div",{...r,children:[g.jsxs(yh,{children:[g.jsx("thead",{children:e.getHeaderGroups().map(n=>g.jsx("tr",{children:n.headers.map(a=>g.jsx(u.Fragment,{children:Ou(a.column.columnDef.header,a.getContext())},a.id))},n.id))}),g.jsx("tbody",{children:e.getRowModel().rows.map(n=>g.jsx(mh,{children:n.getVisibleCells().map(a=>g.jsx(u.Fragment,{children:Ou(a.column.columnDef.cell,a.getContext())},a.id))},n.id))})]}),g.jsx(bh,{count:e.getRowCount(),onPageChange:e.setPageIndex,pageIndex:t.pageIndex,onItemsPerPageChange:e.setPageSize,itemsPerPage:t.pageSize,style:{marginTop:"16px"}})]})}const Px=u.forwardRef(({items:e,children:t,...r},n)=>g.jsxs(sx,{...r,ref:n,children:[e==null?void 0:e.map(a=>g.jsx(gh,{...a},a.text)),t]})),Sx=L(B5)`
|
|
952
952
|
display: flex;
|
|
953
953
|
|
|
954
954
|
&[data-fullwidth="true"] {
|
|
955
955
|
width: 100%;
|
|
956
956
|
}
|
|
957
|
-
`,
|
|
957
|
+
`,kx=L(Ll)`
|
|
958
958
|
display: flex;
|
|
959
959
|
column-gap: var(--spacing-xxs);
|
|
960
960
|
|
|
961
961
|
&[data-fullwidth="true"] {
|
|
962
962
|
width: 100%;
|
|
963
963
|
}
|
|
964
|
-
|
|
964
|
+
`,Bx=L(_l)`
|
|
965
965
|
position: relative;
|
|
966
966
|
display: inline-flex;
|
|
967
967
|
justify-content: flex-start;
|
|
@@ -972,7 +972,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
972
972
|
border-radius: var(--radius-rounded);
|
|
973
973
|
padding: var(--spacing-xs);
|
|
974
974
|
font-size: ${X.small};
|
|
975
|
-
line-height: ${
|
|
975
|
+
line-height: ${oe.small};
|
|
976
976
|
color: var(--color-content-neutral-primary);
|
|
977
977
|
|
|
978
978
|
.react-aria-DateSegment {
|
|
@@ -1000,7 +1000,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1000
1000
|
&[data-nature="positive"] {
|
|
1001
1001
|
outline-color: var(--color-content-message-positive-darker);
|
|
1002
1002
|
}
|
|
1003
|
-
`;function ut(e,t){if(e)return e.length===10?
|
|
1003
|
+
`;function ut(e,t){if(e)return e.length===10?Vv(e):t?Lv(e+`[${t}]`):e.endsWith("Z")?Bs(e.slice(0,-1)):Bs(e)}function ln(e){if(e instanceof Yt){const t=e.toString(),r=t.indexOf("[");return r!==-1?t.substring(0,r):t}return e.toString()}const $h=fi`
|
|
1004
1004
|
background: var(--color-content-neutral-primary-reversed);
|
|
1005
1005
|
padding: var(--spacing-xs);
|
|
1006
1006
|
box-shadow: 10px 10px 24px 0 rgba(0, 0, 0, 0.05);
|
|
@@ -1008,11 +1008,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1008
1008
|
table {
|
|
1009
1009
|
border-collapse: separate;
|
|
1010
1010
|
}
|
|
1011
|
-
`,
|
|
1012
|
-
${
|
|
1013
|
-
`,
|
|
1014
|
-
${
|
|
1015
|
-
`,
|
|
1011
|
+
`,Rx=L(Rb)`
|
|
1012
|
+
${$h}
|
|
1013
|
+
`,Tx=L(kb)`
|
|
1014
|
+
${$h}
|
|
1015
|
+
`,Ax=L(Ab)`
|
|
1016
1016
|
margin-left: auto;
|
|
1017
1017
|
margin-right: auto;
|
|
1018
1018
|
border-spacing: 0 var(--spacing-xs);
|
|
@@ -1062,17 +1062,17 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1062
1062
|
);
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
`,
|
|
1065
|
+
`,Fx=L.header`
|
|
1066
1066
|
display: flex;
|
|
1067
1067
|
align-items: center;
|
|
1068
1068
|
justify-content: space-between;
|
|
1069
1069
|
margin-bottom: var(--spacing-xs);
|
|
1070
|
-
`,
|
|
1070
|
+
`,Mx=L(F5)`
|
|
1071
1071
|
font-size: ${X.small};
|
|
1072
|
-
line-height: ${
|
|
1072
|
+
line-height: ${oe.small};
|
|
1073
1073
|
color: var(--color-content-neutral-secondary);
|
|
1074
1074
|
font-weight: bold;
|
|
1075
|
-
`,
|
|
1075
|
+
`,Ix=L(Kb)`
|
|
1076
1076
|
display: flex;
|
|
1077
1077
|
align-items: center;
|
|
1078
1078
|
justify-content: center;
|
|
@@ -1114,20 +1114,20 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1114
1114
|
color: var(--color-content-action-action);
|
|
1115
1115
|
}
|
|
1116
1116
|
}
|
|
1117
|
-
`;function
|
|
1117
|
+
`;function xh({mode:e}){const t=e==="single"?Tx:Rx;return g.jsxs(t,{children:[g.jsxs(Fx,{children:[g.jsx(We,{iconLeft:"chevron_left",slot:"previous",mode:"tertiary"}),g.jsx(Mx,{}),g.jsx(We,{iconLeft:"chevron_right",slot:"next",mode:"tertiary"})]}),g.jsx(Ax,{"data-mode":e,children:r=>g.jsx(Ix,{date:r,"data-mode":e})})]})}const Ox=u.forwardRef(({wrapperProps:e,id:t,label:r,labelIconRight:n,description:a,helperTextIcon:i,helperText:o,errorHelperText:l,errorHelperTextIcon:s,successHelperText:d,successHelperTextIcon:c,required:f,nature:p,fullWidth:h,isDisabled:m,defaultValue:v,onChange:y,value:S,minValue:D,maxValue:C,isDateUnavailable:E,timeZone:w,ampm:P,...F},b)=>{const A=pi(Vx),k=F["aria-label"]??String(r),x=jn({nature:p,successHelperText:d,errorHelperText:l}),M={...e,htmlForId:t,label:r,labelIconRight:n,description:a,helperTextIcon:i,helperText:o,errorHelperText:l,errorHelperTextIcon:s,successHelperText:d,successHelperTextIcon:c,required:f},R=w?ut("2000-01-01T00:00:00",w):void 0;let T;return P===!0&&(T=12),P===!1&&(T=24),g.jsx(Fr,{...M,ref:b,children:g.jsxs(Sx,{...F,id:t,isDisabled:m,"aria-label":k,isRequired:f,"data-fullwidth":h,hourCycle:T,placeholderValue:R,defaultValue:ut(v,w),onChange:K=>y==null?void 0:y(ln(K)),value:typeof S=="string"?ut(S,w):S,minValue:ut(D,w)??void 0,maxValue:ut(C,w)??void 0,isDateUnavailable:E?K=>E(ln(K)):void 0,children:[g.jsxs(kx,{"data-fullwidth":h,children:[g.jsx(Bx,{"data-fullwidth":h,"aria-disabled":m,"data-nature":x,children:K=>g.jsx(Va,{segment:K})}),g.jsx(We,{"aria-label":A.openCalendar+r,iconLeft:"calendar_today",mode:"tertiary"})]}),g.jsx(jl,{children:g.jsx(Kl,{children:g.jsx(xh,{mode:"single"})})})]})})}),Vx={en:{openCalendar:"Open calendar "},fr:{openCalendar:"Ouvrir le calendrier "}},Lx=L(T5)`
|
|
1118
1118
|
display: flex;
|
|
1119
1119
|
|
|
1120
1120
|
&[data-fullwidth="true"] {
|
|
1121
1121
|
width: 100%;
|
|
1122
1122
|
}
|
|
1123
|
-
`,
|
|
1123
|
+
`,jx=L(Ll)`
|
|
1124
1124
|
display: flex;
|
|
1125
1125
|
column-gap: var(--spacing-xxs);
|
|
1126
1126
|
|
|
1127
1127
|
&[data-fullwidth="true"] {
|
|
1128
1128
|
width: 100%;
|
|
1129
1129
|
}
|
|
1130
|
-
`,
|
|
1130
|
+
`,Kx=L.div`
|
|
1131
1131
|
display: flex;
|
|
1132
1132
|
align-items: center;
|
|
1133
1133
|
outline: 1px solid var(--color-content-neutral-stroke);
|
|
@@ -1151,10 +1151,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1151
1151
|
&[data-nature="positive"] {
|
|
1152
1152
|
outline-color: var(--color-content-message-positive-darker);
|
|
1153
1153
|
}
|
|
1154
|
-
`,
|
|
1154
|
+
`,Nx=L.span`
|
|
1155
1155
|
display: inline-block;
|
|
1156
1156
|
margin: 0 var(--spacing-xxs);
|
|
1157
|
-
`,
|
|
1157
|
+
`,Nu=L(_l)`
|
|
1158
1158
|
position: relative;
|
|
1159
1159
|
display: inline-flex;
|
|
1160
1160
|
justify-content: flex-start;
|
|
@@ -1162,7 +1162,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1162
1162
|
background-color: var(--color-content-neutral-primary-reversed);
|
|
1163
1163
|
|
|
1164
1164
|
font-size: ${X.small};
|
|
1165
|
-
line-height: ${
|
|
1165
|
+
line-height: ${oe.small};
|
|
1166
1166
|
color: var(--color-content-neutral-primary);
|
|
1167
1167
|
|
|
1168
1168
|
.react-aria-DateSegment {
|
|
@@ -1181,14 +1181,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1181
1181
|
background: var(--color-content-neutral-tertiary);
|
|
1182
1182
|
color: var(--color-content-neutral-secondary);
|
|
1183
1183
|
}
|
|
1184
|
-
`,
|
|
1184
|
+
`,_x=u.forwardRef(({wrapperProps:e,id:t,label:r,labelIconRight:n,description:a,helperTextIcon:i,helperText:o,errorHelperText:l,errorHelperTextIcon:s,successHelperText:d,successHelperTextIcon:c,required:f,nature:p,fullWidth:h,isDisabled:m,defaultValue:v,onChange:y,value:S,minValue:D,maxValue:C,isDateUnavailable:E,timeZone:w,ampm:P,...F},b)=>{const A=pi(zx),k=F["aria-label"]??String(r),x=jn({nature:p,successHelperText:d,errorHelperText:l}),M={...e,htmlForId:t,label:r,labelIconRight:n,description:a,helperTextIcon:i,helperText:o,errorHelperText:l,errorHelperTextIcon:s,successHelperText:d,successHelperTextIcon:c,required:f},R=w&&ut("2000-01-01T00:00:00",w)||void 0;let T;return P===!0&&(T=12),P===!1&&(T=24),g.jsx(Fr,{...M,ref:b,children:g.jsxs(Lx,{...F,id:t,isDisabled:m,"aria-label":k,isRequired:f,"data-fullwidth":h,hourCycle:T,placeholderValue:R,defaultValue:_u(v,w),onChange:({start:K,end:O})=>y==null?void 0:y({start:ln(K),end:ln(O)}),value:S===null?null:_u(S,w),minValue:D?ut(D,w):void 0,maxValue:C?ut(C,w):void 0,isDateUnavailable:E?K=>E(ln(K)):void 0,children:[g.jsxs(jx,{"data-fullwidth":h,children:[g.jsxs(Kx,{"data-disabled":m,"data-nature":x,"data-fullwidth":h,children:[g.jsx(Nu,{slot:"start","aria-disabled":m,children:K=>g.jsx(Va,{segment:K})}),g.jsx(Nx,{"aria-hidden":"true",children:"–"}),g.jsx(Nu,{slot:"end","aria-disabled":m,children:K=>g.jsx(Va,{segment:K})})]}),g.jsx(We,{"aria-label":A.openCalendar+r,iconLeft:"calendar_today",mode:"tertiary"})]}),g.jsx(jl,{children:g.jsx(Kl,{children:g.jsx(xh,{mode:"range"})})})]})})}),zx={en:{openCalendar:"Open calendar "},fr:{openCalendar:"Ouvrir le calendrier "}};function _u(e,t){if(e)return{start:ut(e.start,t),end:ut(e.end,t)}}const Hx=L.div`
|
|
1185
1185
|
display: inline-block;
|
|
1186
1186
|
position: relative;
|
|
1187
1187
|
|
|
1188
1188
|
&[data-fullwidth="true"] {
|
|
1189
1189
|
width: 100%;
|
|
1190
1190
|
}
|
|
1191
|
-
`,
|
|
1191
|
+
`,Dh=L(Qe)`
|
|
1192
1192
|
position: absolute;
|
|
1193
1193
|
color: var(--color);
|
|
1194
1194
|
inset-block-end: var(--spacing-xs);
|
|
@@ -1206,7 +1206,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1206
1206
|
&[data-nature="positive"] {
|
|
1207
1207
|
--color: var(--color-content-message-positive-darker);
|
|
1208
1208
|
}
|
|
1209
|
-
`,
|
|
1209
|
+
`,Zx=L.input.withConfig({shouldForwardProp:e=>!["hasIcon"].includes(e)})`
|
|
1210
1210
|
appearance: none;
|
|
1211
1211
|
background: var(--background-color);
|
|
1212
1212
|
border: none;
|
|
@@ -1217,7 +1217,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1217
1217
|
font-size: ${X.small};
|
|
1218
1218
|
font-weight: 400;
|
|
1219
1219
|
height: 40px;
|
|
1220
|
-
line-height: ${
|
|
1220
|
+
line-height: ${oe.small};
|
|
1221
1221
|
outline: var(--border-color) solid 1px;
|
|
1222
1222
|
outline-offset: -1px;
|
|
1223
1223
|
padding: ${e=>e.hasIcon?"var(--spacing-xs) 40px var(--spacing-xs) var(--spacing-xs)":"var(--spacing-xs)"};
|
|
@@ -1269,7 +1269,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1269
1269
|
--color: var(--color-content-neutral-primary);
|
|
1270
1270
|
--placeholder-color: var(--color-content-neutral-primary);
|
|
1271
1271
|
|
|
1272
|
-
~ ${
|
|
1272
|
+
~ ${Dh} {
|
|
1273
1273
|
cursor: not-allowed;
|
|
1274
1274
|
--color: var(--color-content-neutral-primary);
|
|
1275
1275
|
}
|
|
@@ -1292,7 +1292,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1292
1292
|
--color: var(--color-content-neutral-secondary);
|
|
1293
1293
|
--placeholder-color: var(--color-content-neutral-secondary);
|
|
1294
1294
|
}
|
|
1295
|
-
`,
|
|
1295
|
+
`,Ux=L.div`
|
|
1296
1296
|
align-self: flex-end;
|
|
1297
1297
|
color: var(--color);
|
|
1298
1298
|
column-gap: var(--spacing-xxs);
|
|
@@ -1301,7 +1301,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1301
1301
|
font-style: normal;
|
|
1302
1302
|
font-weight: 400;
|
|
1303
1303
|
justify-content: end;
|
|
1304
|
-
line-height: ${
|
|
1304
|
+
line-height: ${oe.xxSmall};
|
|
1305
1305
|
text-align: end;
|
|
1306
1306
|
|
|
1307
1307
|
&[data-nature="disabled"] {
|
|
@@ -1319,20 +1319,65 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1319
1319
|
&[data-nature="positive"] {
|
|
1320
1320
|
--color: var(--color-content-neutral-secondary);
|
|
1321
1321
|
}
|
|
1322
|
-
`,
|
|
1322
|
+
`,Wx=u.forwardRef(({nature:e,inputIcon:t,label:r,labelIconRight:n,description:a,characterCounter:i,helperText:o,helperTextIcon:l,required:s,id:d,value:c,onChange:f,disabled:p,maxLength:h,type:m="text",fullWidth:v,wrapperProps:y,errorHelperTextIcon:S,successHelperTextIcon:D,successHelperText:C,errorHelperText:E,...w},P)=>{const F=jn({nature:e,successHelperText:C,errorHelperText:E}),b=pi(Gx);return g.jsxs(Fr,{...y,htmlForId:d,label:r,labelIconRight:n,description:a,helperTextIcon:l,helperText:o,errorHelperText:E,errorHelperTextIcon:S,successHelperText:C,successHelperTextIcon:D,required:s,children:[g.jsxs(Hx,{"data-fullwidth":v,children:[g.jsx(Zx,{...w,ref:P,id:d,type:m,"data-nature":F,"aria-required":s,required:s,onChange:f,value:c,hasIcon:!!t,disabled:p,maxLength:h,"data-fullwidth":v}),!!t&&g.jsx(Dh,{name:t,"data-nature":F})]}),!!i&&typeof c=="string"&&g.jsxs(Ux,{"data-nature":p?"disabled":F,children:[g.jsx("span",{children:b.characterCounter}),g.jsxs("span",{children:[c.length,!!h&&` / ${h}`]})]})]})}),Gx={en:{characterCounter:"Character counter"},fr:{characterCounter:"Nombre de caractères"}},qx=L($5)`
|
|
1323
|
+
display: flex;
|
|
1324
|
+
|
|
1325
|
+
&[data-fullwidth="true"] {
|
|
1326
|
+
width: 100%;
|
|
1327
|
+
}
|
|
1328
|
+
`,Yx=L(_l)`
|
|
1329
|
+
position: relative;
|
|
1330
|
+
display: inline-flex;
|
|
1331
|
+
justify-content: flex-start;
|
|
1332
|
+
align-items: center;
|
|
1333
|
+
background-color: var(--color-content-neutral-primary-reversed);
|
|
1334
|
+
outline: 1px solid var(--color-content-neutral-stroke);
|
|
1335
|
+
outline-offset: -1px;
|
|
1336
|
+
border-radius: var(--radius-rounded);
|
|
1337
|
+
padding: var(--spacing-xs);
|
|
1338
|
+
font-size: ${X.small};
|
|
1339
|
+
line-height: ${oe.small};
|
|
1340
|
+
color: var(--color-content-neutral-primary);
|
|
1341
|
+
|
|
1342
|
+
.react-aria-DateSegment {
|
|
1343
|
+
padding: 0 var(--spacing-xxs);
|
|
1344
|
+
|
|
1345
|
+
&[data-type="literal"] {
|
|
1346
|
+
padding: 0;
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
&[data-fullwidth="true"] {
|
|
1351
|
+
width: 100%;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
&[aria-disabled="true"] {
|
|
1355
|
+
background: var(--color-content-neutral-tertiary);
|
|
1356
|
+
color: var(--color-content-neutral-secondary);
|
|
1357
|
+
cursor: not-allowed;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
&[data-nature="negative"] {
|
|
1361
|
+
outline-color: var(--color-content-message-negative);
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
&[data-nature="positive"] {
|
|
1365
|
+
outline-color: var(--color-content-message-positive-darker);
|
|
1366
|
+
}
|
|
1367
|
+
`,Jx=u.forwardRef(({wrapperProps:e,id:t,label:r,labelIconRight:n,description:a,helperTextIcon:i,helperText:o,errorHelperText:l,errorHelperTextIcon:s,successHelperText:d,successHelperTextIcon:c,required:f,nature:p,fullWidth:h,isDisabled:m,defaultValue:v,onChange:y,value:S,ampm:D,...C},E)=>{const w=C["aria-label"]??String(r),P=jn({nature:p,successHelperText:d,errorHelperText:l}),F={...e,htmlForId:t,label:r,labelIconRight:n,description:a,helperTextIcon:i,helperText:o,errorHelperText:l,errorHelperTextIcon:s,successHelperText:d,successHelperTextIcon:c,required:f};let b;return D===!0&&(b=12),D===!1&&(b=24),g.jsx(Fr,{...F,ref:E,children:g.jsx(qx,{...C,id:t,isDisabled:m,"aria-label":w,isRequired:f,"data-fullwidth":h,defaultValue:v?ks(v):void 0,onChange:A=>y==null?void 0:y(A.toString()),value:typeof S=="string"?ks(S):S,hourCycle:b,children:g.jsx(Yx,{"data-fullwidth":h,"aria-disabled":m,"data-nature":P,children:A=>g.jsx(Va,{segment:A})})})})}),Qx=L.div`
|
|
1323
1368
|
display: flex;
|
|
1324
1369
|
|
|
1325
1370
|
&[data-has-label="true"] {
|
|
1326
1371
|
padding: var(--spacing-xs) var(--spacing-xxs);
|
|
1327
1372
|
}
|
|
1328
|
-
`,
|
|
1373
|
+
`,Xx=L.label`
|
|
1329
1374
|
display: flex;
|
|
1330
1375
|
align-items: center;
|
|
1331
1376
|
border-radius: var(--radius-rounded);
|
|
1332
1377
|
cursor: pointer;
|
|
1333
1378
|
color: var(--color-content-neutral-secondary);
|
|
1334
1379
|
font-size: ${X.small};
|
|
1335
|
-
line-height: ${
|
|
1380
|
+
line-height: ${oe.small};
|
|
1336
1381
|
|
|
1337
1382
|
&[aria-disabled="true"] {
|
|
1338
1383
|
color: var(--color-content-neutral-tertiary);
|
|
@@ -1349,7 +1394,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1349
1394
|
border-radius: 9999px;
|
|
1350
1395
|
outline-offset: -2px;
|
|
1351
1396
|
}
|
|
1352
|
-
`,
|
|
1397
|
+
`,e6=L.input`
|
|
1353
1398
|
margin: var(--spacing-xxs);
|
|
1354
1399
|
width: 16px;
|
|
1355
1400
|
height: 16px;
|
|
@@ -1363,11 +1408,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1363
1408
|
&:disabled {
|
|
1364
1409
|
cursor: not-allowed;
|
|
1365
1410
|
}
|
|
1366
|
-
`,
|
|
1411
|
+
`,t6=L.span`
|
|
1367
1412
|
padding: 0 var(--spacing-xs);
|
|
1368
|
-
`,
|
|
1413
|
+
`,r6=u.forwardRef(({label:e,labelProps:t,wrapperProps:r,disabled:n,...a},i)=>g.jsx(Qx,{...r,"data-has-label":!!e,"data-design-system-component":"Radio",children:g.jsxs(Xx,{...t,"aria-disabled":!!n,"data-has-label":!!e,children:[g.jsx(e6,{...a,type:"radio",ref:i,disabled:n}),!!e&&g.jsx(t6,{children:e})]})})),wh=L(Qe)`
|
|
1369
1414
|
font-size: ${X.small};
|
|
1370
|
-
`,
|
|
1415
|
+
`,en=L.div`
|
|
1371
1416
|
position: relative;
|
|
1372
1417
|
width: 40px;
|
|
1373
1418
|
height: 24px;
|
|
@@ -1377,7 +1422,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1377
1422
|
outline: 2px solid var(--color-content-action-action);
|
|
1378
1423
|
outline-offset: -2px;
|
|
1379
1424
|
transition: all 0.3s linear;
|
|
1380
|
-
`,
|
|
1425
|
+
`,ot=L.div`
|
|
1381
1426
|
position: absolute;
|
|
1382
1427
|
left: 0;
|
|
1383
1428
|
display: flex;
|
|
@@ -1391,14 +1436,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1391
1436
|
transform: translate3d(0, 0, 0);
|
|
1392
1437
|
transition: all 0.2s linear;
|
|
1393
1438
|
color: var(--color-content-neutral-primary-reversed);
|
|
1394
|
-
`,
|
|
1439
|
+
`,n6=L(U5)`
|
|
1395
1440
|
display: inline-flex;
|
|
1396
1441
|
align-items: center;
|
|
1397
1442
|
column-gap: var(--spacing-xs);
|
|
1398
1443
|
font-size: ${X.small};
|
|
1399
1444
|
font-style: normal;
|
|
1400
1445
|
font-weight: 400;
|
|
1401
|
-
line-height: ${
|
|
1446
|
+
line-height: ${oe.small};
|
|
1402
1447
|
color: var(--color-content-neutral-secondary);
|
|
1403
1448
|
cursor: pointer;
|
|
1404
1449
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -1412,27 +1457,27 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1412
1457
|
}
|
|
1413
1458
|
|
|
1414
1459
|
&[data-size="large"] {
|
|
1415
|
-
${
|
|
1460
|
+
${en} {
|
|
1416
1461
|
width: 48px;
|
|
1417
1462
|
height: 32px;
|
|
1418
1463
|
}
|
|
1419
1464
|
|
|
1420
|
-
${
|
|
1465
|
+
${ot} {
|
|
1421
1466
|
width: 32px;
|
|
1422
1467
|
height: 32px;
|
|
1423
1468
|
}
|
|
1424
1469
|
|
|
1425
|
-
${
|
|
1470
|
+
${wh} {
|
|
1426
1471
|
font-size: ${X.large};
|
|
1427
1472
|
}
|
|
1428
1473
|
}
|
|
1429
1474
|
|
|
1430
1475
|
&[data-selected] {
|
|
1431
|
-
${
|
|
1476
|
+
${en} {
|
|
1432
1477
|
background-color: var(--color-content-action-action);
|
|
1433
1478
|
}
|
|
1434
1479
|
|
|
1435
|
-
${
|
|
1480
|
+
${ot} {
|
|
1436
1481
|
color: var(--color-content-neutral-primary);
|
|
1437
1482
|
}
|
|
1438
1483
|
}
|
|
@@ -1440,25 +1485,25 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1440
1485
|
&[data-disabled] {
|
|
1441
1486
|
cursor: not-allowed;
|
|
1442
1487
|
|
|
1443
|
-
${
|
|
1488
|
+
${en} {
|
|
1444
1489
|
background: var(--color-content-neutral-tertiary);
|
|
1445
1490
|
outline-color: var(--color-content-neutral-tertiary);
|
|
1446
1491
|
}
|
|
1447
1492
|
|
|
1448
|
-
${
|
|
1493
|
+
${ot} {
|
|
1449
1494
|
border-color: var(--color-content-neutral-tertiary);
|
|
1450
1495
|
}
|
|
1451
1496
|
}
|
|
1452
1497
|
|
|
1453
1498
|
&[data-disabled][data-selected] {
|
|
1454
|
-
${
|
|
1499
|
+
${ot} {
|
|
1455
1500
|
color: var(--color-content-neutral-tertiary);
|
|
1456
1501
|
}
|
|
1457
1502
|
}
|
|
1458
1503
|
|
|
1459
1504
|
&[data-focus-visible],
|
|
1460
1505
|
&[data-force-focus-visible] {
|
|
1461
|
-
${
|
|
1506
|
+
${en}::before {
|
|
1462
1507
|
content: "";
|
|
1463
1508
|
position: absolute;
|
|
1464
1509
|
inset: 0;
|
|
@@ -1472,43 +1517,43 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1472
1517
|
&[data-size="medium"],
|
|
1473
1518
|
&[data-size="large"] {
|
|
1474
1519
|
&[data-pressed] {
|
|
1475
|
-
${
|
|
1520
|
+
${ot} {
|
|
1476
1521
|
transform: translate3d(0, 0, 0);
|
|
1477
1522
|
}
|
|
1478
1523
|
}
|
|
1479
1524
|
&[data-selected] {
|
|
1480
|
-
${
|
|
1525
|
+
${ot} {
|
|
1481
1526
|
transform: translate3d(16px, 0, 0);
|
|
1482
1527
|
}
|
|
1483
1528
|
}
|
|
1484
1529
|
&[data-selected][data-pressed] {
|
|
1485
|
-
${
|
|
1530
|
+
${ot} {
|
|
1486
1531
|
transform: translate3d(12px, 0, 0);
|
|
1487
1532
|
}
|
|
1488
1533
|
}
|
|
1489
1534
|
}
|
|
1490
1535
|
|
|
1491
1536
|
&[data-size="medium"][data-pressed] {
|
|
1492
|
-
${
|
|
1537
|
+
${ot} {
|
|
1493
1538
|
width: 28px;
|
|
1494
1539
|
}
|
|
1495
1540
|
}
|
|
1496
1541
|
|
|
1497
1542
|
&[data-size="large"][data-pressed] {
|
|
1498
|
-
${
|
|
1543
|
+
${ot} {
|
|
1499
1544
|
width: 36px;
|
|
1500
1545
|
}
|
|
1501
1546
|
}
|
|
1502
1547
|
/* End - Handle animation */
|
|
1503
|
-
`,
|
|
1548
|
+
`,a6=u.forwardRef(({label:e,size:t="medium",labelPosition:r="right",...n},a)=>g.jsxs(n6,{...n,inputRef:a,"data-size":t,"data-has-label":!!e,children:[e&&r==="left"&&g.jsx("span",{children:e}),g.jsx(en,{"aria-hidden":!0,children:g.jsx(ot,{children:g.jsx(wh,{name:"check"})})}),e&&r==="right"&&g.jsx("span",{children:e})]})),Eh=L.span`
|
|
1504
1549
|
color: inherit;
|
|
1505
1550
|
text-decoration: underline;
|
|
1506
1551
|
text-underline-offset: 5px;
|
|
1507
1552
|
font-size: ${X.small};
|
|
1508
|
-
line-height: ${
|
|
1553
|
+
line-height: ${oe.small};
|
|
1509
1554
|
font-weight: 700;
|
|
1510
1555
|
font-style: normal;
|
|
1511
|
-
`,
|
|
1556
|
+
`,i6=L(ab)`
|
|
1512
1557
|
display: inline-flex;
|
|
1513
1558
|
justify-content: center;
|
|
1514
1559
|
align-items: center;
|
|
@@ -1516,7 +1561,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1516
1561
|
text-decoration: none;
|
|
1517
1562
|
color: var(--color);
|
|
1518
1563
|
|
|
1519
|
-
&:hover ${
|
|
1564
|
+
&:hover ${Eh} {
|
|
1520
1565
|
background-color: var(--background-color);
|
|
1521
1566
|
}
|
|
1522
1567
|
|
|
@@ -1540,15 +1585,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1540
1585
|
--color: var(--color-content-message-warning-darker);
|
|
1541
1586
|
--background-color: var(--color-content-message-warning-lighter);
|
|
1542
1587
|
}
|
|
1543
|
-
`,
|
|
1588
|
+
`,o6=L(Qe)`
|
|
1544
1589
|
font-size: ${X.large};
|
|
1545
|
-
`,
|
|
1590
|
+
`,l6=({children:e,showLinkIcon:t=!1,nature:r="default",onClick:n,...a})=>g.jsxs(i6,{...a,"data-nature":r,onPress:n,children:[g.jsx(Eh,{children:e}),t&&g.jsx(o6,{name:"link"})]}),qo=L.div`
|
|
1546
1591
|
color: var(--color-content-neutral-secondary);
|
|
1547
1592
|
font-size: ${X.small};
|
|
1548
|
-
line-height: ${
|
|
1593
|
+
line-height: ${oe.small};
|
|
1549
1594
|
font-style: normal;
|
|
1550
1595
|
font-weight: 700;
|
|
1551
|
-
`,
|
|
1596
|
+
`,Ch=L(Ql)``,s6=L(ey)`
|
|
1552
1597
|
display: flex;
|
|
1553
1598
|
align-items: center;
|
|
1554
1599
|
justify-content: center;
|
|
@@ -1562,7 +1607,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1562
1607
|
&[data-selected="true"] {
|
|
1563
1608
|
border-bottom-color: var(--color-content-action-action);
|
|
1564
1609
|
|
|
1565
|
-
${
|
|
1610
|
+
${qo} {
|
|
1566
1611
|
color: var(--color-content-action-action);
|
|
1567
1612
|
}
|
|
1568
1613
|
}
|
|
@@ -1576,44 +1621,44 @@ See https://s-c.sh/2BAXzed for more info.`),window[Yn]+=1);function e2(e){return
|
|
|
1576
1621
|
|
|
1577
1622
|
border-bottom-color: var(--color-content-neutral-stroke);
|
|
1578
1623
|
|
|
1579
|
-
${
|
|
1624
|
+
${qo} {
|
|
1580
1625
|
color: var(--color-content-neutral-stroke);
|
|
1581
1626
|
}
|
|
1582
1627
|
|
|
1583
|
-
${
|
|
1628
|
+
${Ch} {
|
|
1584
1629
|
background-color: var(--color-background-neutral-underground-2);
|
|
1585
1630
|
}
|
|
1586
1631
|
}
|
|
1587
|
-
`,
|
|
1632
|
+
`,u6=u.forwardRef((e,t)=>{const{id:r,hasNotification:n,href:a,children:i,style:o,className:l,isDisabled:s}=e;return g.jsxs(s6,{ref:t,id:r,href:a,style:o,className:l,isDisabled:s,children:[g.jsx(qo,{children:i}),n&&g.jsx(Ch,{variant:"dot",nature:"negative"})]})}),d6=L(Q5)`
|
|
1588
1633
|
display: flex;
|
|
1589
1634
|
align-items: center;
|
|
1590
|
-
`,
|
|
1635
|
+
`,c6=u.forwardRef((e,t)=>{const{children:r,className:n,style:a}=e;return g.jsx(d6,{ref:t,className:n,style:a,children:r})}),f6=L(q5)``,p6=u.forwardRef((e,t)=>{const{children:r,isDisabled:n,selectedKey:a,onSelectionChange:i,defaultSelectedKey:o,className:l,style:s}=e;return g.jsx(f6,{ref:t,isDisabled:n,selectedKey:a,onSelectionChange:d=>i==null?void 0:i(String(d)),defaultSelectedKey:o,className:l,style:s,children:r})}),h6=u.forwardRef((e,t)=>g.jsx(ny,{ref:t,...e}));function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Se.apply(null,arguments)}function pr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ph(e){if(!pr(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Ph(e[r])}),t}function pt(e,t,r={clone:!0}){const n=r.clone?Se({},e):e;return pr(e)&&pr(t)&&Object.keys(t).forEach(a=>{pr(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&pr(e[a])?n[a]=pt(e[a],t[a],r):r.clone?n[a]=pr(t[a])?Ph(t[a]):t[a]:n[a]=t[a]}),n}var Yo={exports:{}},aa={exports:{}},ne={};/** @license React v16.13.1
|
|
1591
1636
|
* react-is.production.min.js
|
|
1592
1637
|
*
|
|
1593
1638
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1594
1639
|
*
|
|
1595
1640
|
* This source code is licensed under the MIT license found in the
|
|
1596
1641
|
* LICENSE file in the root directory of this source tree.
|
|
1597
|
-
*/var
|
|
1642
|
+
*/var zu;function m6(){if(zu)return ne;zu=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function C(w){if(typeof w=="object"&&w!==null){var P=w.$$typeof;switch(P){case t:switch(w=w.type,w){case s:case d:case n:case i:case a:case f:return w;default:switch(w=w&&w.$$typeof,w){case l:case c:case m:case h:case o:return w;default:return P}}case r:return P}}}function E(w){return C(w)===d}return ne.AsyncMode=s,ne.ConcurrentMode=d,ne.ContextConsumer=l,ne.ContextProvider=o,ne.Element=t,ne.ForwardRef=c,ne.Fragment=n,ne.Lazy=m,ne.Memo=h,ne.Portal=r,ne.Profiler=i,ne.StrictMode=a,ne.Suspense=f,ne.isAsyncMode=function(w){return E(w)||C(w)===s},ne.isConcurrentMode=E,ne.isContextConsumer=function(w){return C(w)===l},ne.isContextProvider=function(w){return C(w)===o},ne.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},ne.isForwardRef=function(w){return C(w)===c},ne.isFragment=function(w){return C(w)===n},ne.isLazy=function(w){return C(w)===m},ne.isMemo=function(w){return C(w)===h},ne.isPortal=function(w){return C(w)===r},ne.isProfiler=function(w){return C(w)===i},ne.isStrictMode=function(w){return C(w)===a},ne.isSuspense=function(w){return C(w)===f},ne.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===d||w===i||w===a||w===f||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===h||w.$$typeof===o||w.$$typeof===l||w.$$typeof===c||w.$$typeof===y||w.$$typeof===S||w.$$typeof===D||w.$$typeof===v)},ne.typeOf=C,ne}var ae={};/** @license React v16.13.1
|
|
1598
1643
|
* react-is.development.js
|
|
1599
1644
|
*
|
|
1600
1645
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1601
1646
|
*
|
|
1602
1647
|
* This source code is licensed under the MIT license found in the
|
|
1603
1648
|
* LICENSE file in the root directory of this source tree.
|
|
1604
|
-
*/var
|
|
1649
|
+
*/var Hu;function v6(){return Hu||(Hu=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function C(j){return typeof j=="string"||typeof j=="function"||j===n||j===d||j===i||j===a||j===f||j===p||typeof j=="object"&&j!==null&&(j.$$typeof===m||j.$$typeof===h||j.$$typeof===o||j.$$typeof===l||j.$$typeof===c||j.$$typeof===y||j.$$typeof===S||j.$$typeof===D||j.$$typeof===v)}function E(j){if(typeof j=="object"&&j!==null){var it=j.$$typeof;switch(it){case t:var _n=j.type;switch(_n){case s:case d:case n:case i:case a:case f:return _n;default:var ls=_n&&_n.$$typeof;switch(ls){case l:case c:case m:case h:case o:return ls;default:return it}}case r:return it}}}var w=s,P=d,F=l,b=o,A=t,k=c,x=n,M=m,R=h,T=r,K=i,O=a,$=f,z=!1;function H(j){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),B(j)||E(j)===s}function B(j){return E(j)===d}function V(j){return E(j)===l}function N(j){return E(j)===o}function G(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function W(j){return E(j)===c}function Q(j){return E(j)===n}function q(j){return E(j)===m}function I(j){return E(j)===h}function _(j){return E(j)===r}function Z(j){return E(j)===i}function Y(j){return E(j)===a}function re(j){return E(j)===f}ae.AsyncMode=w,ae.ConcurrentMode=P,ae.ContextConsumer=F,ae.ContextProvider=b,ae.Element=A,ae.ForwardRef=k,ae.Fragment=x,ae.Lazy=M,ae.Memo=R,ae.Portal=T,ae.Profiler=K,ae.StrictMode=O,ae.Suspense=$,ae.isAsyncMode=H,ae.isConcurrentMode=B,ae.isContextConsumer=V,ae.isContextProvider=N,ae.isElement=G,ae.isForwardRef=W,ae.isFragment=Q,ae.isLazy=q,ae.isMemo=I,ae.isPortal=_,ae.isProfiler=Z,ae.isStrictMode=Y,ae.isSuspense=re,ae.isValidElementType=C,ae.typeOf=E}()),ae}var Zu;function Sh(){return Zu||(Zu=1,process.env.NODE_ENV==="production"?aa.exports=m6():aa.exports=v6()),aa.exports}/*
|
|
1605
1650
|
object-assign
|
|
1606
1651
|
(c) Sindre Sorhus
|
|
1607
1652
|
@license MIT
|
|
1608
|
-
*/var
|
|
1609
|
-
Valid keys: `+JSON.stringify(Object.keys(B),null," "));var j=re(I,Y,W,Q,q+"."+Y,r);if(j)return j}return null}return y(
|
|
1653
|
+
*/var Qi,Uu;function g6(){if(Uu)return Qi;Uu=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function a(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var o={},l=0;l<10;l++)o["_"+String.fromCharCode(l)]=l;var s=Object.getOwnPropertyNames(o).map(function(c){return o[c]});if(s.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(c){d[c]=c}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Qi=a()?Object.assign:function(i,o){for(var l,s=n(i),d,c=1;c<arguments.length;c++){l=Object(arguments[c]);for(var f in l)t.call(l,f)&&(s[f]=l[f]);if(e){d=e(l);for(var p=0;p<d.length;p++)r.call(l,d[p])&&(s[d[p]]=l[d[p]])}}return s},Qi}var Xi,Wu;function Xl(){if(Wu)return Xi;Wu=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Xi=e,Xi}var eo,Gu;function kh(){return Gu||(Gu=1,eo=Function.call.bind(Object.prototype.hasOwnProperty)),eo}var to,qu;function b6(){if(qu)return to;qu=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Xl(),r={},n=kh();e=function(i){var o="Warning: "+i;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function a(i,o,l,s,d){if(process.env.NODE_ENV!=="production"){for(var c in i)if(n(i,c)){var f;try{if(typeof i[c]!="function"){var p=Error((s||"React class")+": "+l+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=i[c](o,c,s,l,null,t)}catch(m){f=m}if(f&&!(f instanceof Error)&&e((s||"React class")+": type specification of "+l+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var h=d?d():"";e("Failed "+l+" type: "+f.message+(h??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},to=a,to}var ro,Yu;function y6(){if(Yu)return ro;Yu=1;var e=Sh(),t=g6(),r=Xl(),n=kh(),a=b6(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var s="Warning: "+l;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}});function o(){return null}return ro=function(l,s){var d=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function f(B){var V=B&&(d&&B[d]||B[c]);if(typeof V=="function")return V}var p="<<anonymous>>",h={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:D(),arrayOf:C,element:E(),elementType:w(),instanceOf:P,node:k(),objectOf:b,oneOf:F,oneOfType:A,shape:M,exact:R};function m(B,V){return B===V?B!==0||1/B===1/V:B!==B&&V!==V}function v(B,V){this.message=B,this.data=V&&typeof V=="object"?V:{},this.stack=""}v.prototype=Error.prototype;function y(B){if(process.env.NODE_ENV!=="production")var V={},N=0;function G(Q,q,I,_,Z,Y,re){if(_=_||p,Y=Y||I,re!==r){if(s){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var it=_+":"+I;!V[it]&&N<3&&(i("You are manually calling a React.PropTypes validation function for the `"+Y+"` prop on `"+_+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),V[it]=!0,N++)}}return q[I]==null?Q?q[I]===null?new v("The "+Z+" `"+Y+"` is marked as required "+("in `"+_+"`, but its value is `null`.")):new v("The "+Z+" `"+Y+"` is marked as required in "+("`"+_+"`, but its value is `undefined`.")):null:B(q,I,_,Z,Y)}var W=G.bind(null,!1);return W.isRequired=G.bind(null,!0),W}function S(B){function V(N,G,W,Q,q,I){var _=N[G],Z=O(_);if(Z!==B){var Y=$(_);return new v("Invalid "+Q+" `"+q+"` of type "+("`"+Y+"` supplied to `"+W+"`, expected ")+("`"+B+"`."),{expectedType:B})}return null}return y(V)}function D(){return y(o)}function C(B){function V(N,G,W,Q,q){if(typeof B!="function")return new v("Property `"+q+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var I=N[G];if(!Array.isArray(I)){var _=O(I);return new v("Invalid "+Q+" `"+q+"` of type "+("`"+_+"` supplied to `"+W+"`, expected an array."))}for(var Z=0;Z<I.length;Z++){var Y=B(I,Z,W,Q,q+"["+Z+"]",r);if(Y instanceof Error)return Y}return null}return y(V)}function E(){function B(V,N,G,W,Q){var q=V[N];if(!l(q)){var I=O(q);return new v("Invalid "+W+" `"+Q+"` of type "+("`"+I+"` supplied to `"+G+"`, expected a single ReactElement."))}return null}return y(B)}function w(){function B(V,N,G,W,Q){var q=V[N];if(!e.isValidElementType(q)){var I=O(q);return new v("Invalid "+W+" `"+Q+"` of type "+("`"+I+"` supplied to `"+G+"`, expected a single ReactElement type."))}return null}return y(B)}function P(B){function V(N,G,W,Q,q){if(!(N[G]instanceof B)){var I=B.name||p,_=H(N[G]);return new v("Invalid "+Q+" `"+q+"` of type "+("`"+_+"` supplied to `"+W+"`, expected ")+("instance of `"+I+"`."))}return null}return y(V)}function F(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),o;function V(N,G,W,Q,q){for(var I=N[G],_=0;_<B.length;_++)if(m(I,B[_]))return null;var Z=JSON.stringify(B,function(re,j){var it=$(j);return it==="symbol"?String(j):j});return new v("Invalid "+Q+" `"+q+"` of value `"+String(I)+"` "+("supplied to `"+W+"`, expected one of "+Z+"."))}return y(V)}function b(B){function V(N,G,W,Q,q){if(typeof B!="function")return new v("Property `"+q+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var I=N[G],_=O(I);if(_!=="object")return new v("Invalid "+Q+" `"+q+"` of type "+("`"+_+"` supplied to `"+W+"`, expected an object."));for(var Z in I)if(n(I,Z)){var Y=B(I,Z,W,Q,q+"."+Z,r);if(Y instanceof Error)return Y}return null}return y(V)}function A(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var V=0;V<B.length;V++){var N=B[V];if(typeof N!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+z(N)+" at index "+V+"."),o}function G(W,Q,q,I,_){for(var Z=[],Y=0;Y<B.length;Y++){var re=B[Y],j=re(W,Q,q,I,_,r);if(j==null)return null;j.data&&n(j.data,"expectedType")&&Z.push(j.data.expectedType)}var it=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new v("Invalid "+I+" `"+_+"` supplied to "+("`"+q+"`"+it+"."))}return y(G)}function k(){function B(V,N,G,W,Q){return T(V[N])?null:new v("Invalid "+W+" `"+Q+"` supplied to "+("`"+G+"`, expected a ReactNode."))}return y(B)}function x(B,V,N,G,W){return new v((B||"React class")+": "+V+" type `"+N+"."+G+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function M(B){function V(N,G,W,Q,q){var I=N[G],_=O(I);if(_!=="object")return new v("Invalid "+Q+" `"+q+"` of type `"+_+"` "+("supplied to `"+W+"`, expected `object`."));for(var Z in B){var Y=B[Z];if(typeof Y!="function")return x(W,Q,q,Z,$(Y));var re=Y(I,Z,W,Q,q+"."+Z,r);if(re)return re}return null}return y(V)}function R(B){function V(N,G,W,Q,q){var I=N[G],_=O(I);if(_!=="object")return new v("Invalid "+Q+" `"+q+"` of type `"+_+"` "+("supplied to `"+W+"`, expected `object`."));var Z=t({},N[G],B);for(var Y in Z){var re=B[Y];if(n(B,Y)&&typeof re!="function")return x(W,Q,q,Y,$(re));if(!re)return new v("Invalid "+Q+" `"+q+"` key `"+Y+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(N[G],null," ")+`
|
|
1654
|
+
Valid keys: `+JSON.stringify(Object.keys(B),null," "));var j=re(I,Y,W,Q,q+"."+Y,r);if(j)return j}return null}return y(V)}function T(B){switch(typeof B){case"number":case"string":case"undefined":return!0;case"boolean":return!B;case"object":if(Array.isArray(B))return B.every(T);if(B===null||l(B))return!0;var V=f(B);if(V){var N=V.call(B),G;if(V!==B.entries){for(;!(G=N.next()).done;)if(!T(G.value))return!1}else for(;!(G=N.next()).done;){var W=G.value;if(W&&!T(W[1]))return!1}}else return!1;return!0;default:return!1}}function K(B,V){return B==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function O(B){var V=typeof B;return Array.isArray(B)?"array":B instanceof RegExp?"object":K(V,B)?"symbol":V}function $(B){if(typeof B>"u"||B===null)return""+B;var V=O(B);if(V==="object"){if(B instanceof Date)return"date";if(B instanceof RegExp)return"regexp"}return V}function z(B){var V=$(B);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function H(B){return!B.constructor||!B.constructor.name?p:B.constructor.name}return h.checkPropTypes=a,h.resetWarningCache=a.resetWarningCache,h.PropTypes=h,h},ro}var no,Ju;function $6(){if(Ju)return no;Ju=1;var e=Xl();function t(){}function r(){}return r.resetWarningCache=t,no=function(){function n(o,l,s,d,c,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function a(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},no}if(process.env.NODE_ENV!=="production"){var x6=Sh(),D6=!0;Yo.exports=y6()(x6.isElement,D6)}else Yo.exports=$6()();var w6=Yo.exports;const Gr=Hg(w6);function xn(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const E6=Object.freeze(Object.defineProperty({__proto__:null,default:xn},Symbol.toStringTag,{value:"Module"}));function Bh(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":xn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Qu=e=>e,C6=()=>{let e=Qu;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Qu}}},P6=C6(),S6={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function k6(e,t,r="Mui"){const n=S6[t];return n?`${r}-${n}`:`${P6.generate(e)}-${t}`}function B6(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const R6=Object.freeze(Object.defineProperty({__proto__:null,default:B6},Symbol.toStringTag,{value:"Module"}));function Nr(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const T6=["values","unit","step"],A6=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>Se({},r,{[n.key]:n.val}),{})};function F6(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,a=Nr(e,T6),i=A6(t),o=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function s(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function d(p,h){const m=o.indexOf(h);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(m!==-1&&typeof t[o[m]]=="number"?t[o[m]]:h)-n/100}${r})`}function c(p){return o.indexOf(p)+1<o.length?d(p,o[o.indexOf(p)+1]):l(p)}function f(p){const h=o.indexOf(p);return h===0?l(o[1]):h===o.length-1?s(o[h]):d(p,o[o.indexOf(p)+1]).replace("@media","@media not all and")}return Se({keys:o,values:i,up:l,down:s,between:d,only:c,not:f,unit:r},a)}const M6={borderRadius:4},Ot=process.env.NODE_ENV!=="production"?Gr.oneOfType([Gr.number,Gr.string,Gr.object,Gr.array]):{};function sn(e,t){return t?pt(e,t,{clone:!1}):e}const es={xs:0,sm:600,md:900,lg:1200,xl:1536},Xu={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${es[e]}px)`};function xt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Xu;return t.reduce((o,l,s)=>(o[i.up(i.keys[s])]=r(t[s]),o),{})}if(typeof t=="object"){const i=n.breakpoints||Xu;return Object.keys(t).reduce((o,l)=>{if(Object.keys(i.values||es).indexOf(l)!==-1){const s=i.up(l);o[s]=r(t[l],l)}else{const s=l;o[s]=t[s]}return o},{})}return r(t)}function I6(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const i=e.up(a);return n[i]={},n},{}))||{}}function O6(e,t){return e.reduce((r,n)=>{const a=r[n];return(!a||Object.keys(a).length===0)&&delete r[n],r},t)}function hi(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((a,i)=>a&&a[i]?a[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function Ka(e,t,r,n=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||n:a=hi(e,r)||n,t&&(a=t(a,n,e)),a}function xe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,i=o=>{if(o[t]==null)return null;const l=o[t],s=o.theme,d=hi(s,n)||{};return xt(o,l,f=>{let p=Ka(d,a,f);return f===p&&typeof f=="string"&&(p=Ka(d,a,`${t}${f==="default"?"":Bh(f)}`,f)),r===!1?p:{[r]:p}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ot}:{},i.filterProps=[t],i}function V6(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const L6={m:"margin",p:"padding"},j6={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ed={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},K6=V6(e=>{if(e.length>2)if(ed[e])e=ed[e];else return[e];const[t,r]=e.split(""),n=L6[t],a=j6[r]||"";return Array.isArray(a)?a.map(i=>n+i):[n+a]}),mi=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],N6=[...mi,...vi];function Kn(e,t,r,n){var a;const i=(a=hi(e,t,!1))!=null?a:r;return typeof i=="number"?o=>typeof o=="string"?o:(process.env.NODE_ENV!=="production"&&typeof o!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${o}.`),i*o):Array.isArray(i)?o=>typeof o=="string"?o:(process.env.NODE_ENV!=="production"&&(Number.isInteger(o)?o>i.length-1&&console.error([`MUI: The value provided (${o}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${o} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
1610
1655
|
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
1611
|
-
`))),o
|
|
1612
|
-
`)),()=>{})}function Eh(e){return Fn(e,"spacing",8,"spacing")}function Mn(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Rx(e,t){return r=>e.reduce((n,a)=>(n[a]=Mn(t,r),n),{})}function Tx(e,t,r,n){if(t.indexOf(r)===-1)return null;const a=kx(r),o=Rx(a,n),i=e[r];return xt(e,i,o)}function Ch(e,t){const r=Eh(e.theme);return Object.keys(e).map(n=>Tx(e,t,n,r)).reduce(rn,{})}function me(e){return Ch(e,co)}me.propTypes=process.env.NODE_ENV!=="production"?co.reduce((e,t)=>(e[t]=Ot,e),{}):{};me.filterProps=co;function ve(e){return Ch(e,fo)}ve.propTypes=process.env.NODE_ENV!=="production"?fo.reduce((e,t)=>(e[t]=Ot,e),{}):{};ve.filterProps=fo;process.env.NODE_ENV!=="production"&&Bx.reduce((e,t)=>(e[t]=Ot,e),{});function Ax(e=8){if(e.mui)return e;const t=Eh({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const i=t(o);return typeof i=="number"?`${i}px`:i}).join(" "));return r.mui=!0,r}function po(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),r=n=>Object.keys(n).reduce((a,o)=>t[o]?rn(a,t[o](n)):a,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,a)=>Object.assign(n,a.propTypes),{}):{},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function Ze(e){return typeof e!="number"?e:`${e}px solid`}function Qe(e,t){return $e({prop:e,themeKey:"borders",transform:t})}const Fx=Qe("border",Ze),Mx=Qe("borderTop",Ze),Ix=Qe("borderRight",Ze),Ox=Qe("borderBottom",Ze),Lx=Qe("borderLeft",Ze),Vx=Qe("borderColor"),jx=Qe("borderTopColor"),Kx=Qe("borderRightColor"),Nx=Qe("borderBottomColor"),_x=Qe("borderLeftColor"),zx=Qe("outline",Ze),Hx=Qe("outlineColor"),ho=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fn(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Mn(t,n)});return xt(e,e.borderRadius,r)}return null};ho.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ot}:{};ho.filterProps=["borderRadius"];po(Fx,Mx,Ix,Ox,Lx,Vx,jx,Kx,Nx,_x,ho,zx,Hx);const mo=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fn(e.theme,"spacing",8,"gap"),r=n=>({gap:Mn(t,n)});return xt(e,e.gap,r)}return null};mo.propTypes=process.env.NODE_ENV!=="production"?{gap:Ot}:{};mo.filterProps=["gap"];const vo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fn(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Mn(t,n)});return xt(e,e.columnGap,r)}return null};vo.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ot}:{};vo.filterProps=["columnGap"];const go=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fn(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Mn(t,n)});return xt(e,e.rowGap,r)}return null};go.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ot}:{};go.filterProps=["rowGap"];const Zx=$e({prop:"gridColumn"}),Ux=$e({prop:"gridRow"}),Wx=$e({prop:"gridAutoFlow"}),Gx=$e({prop:"gridAutoColumns"}),qx=$e({prop:"gridAutoRows"}),Yx=$e({prop:"gridTemplateColumns"}),Jx=$e({prop:"gridTemplateRows"}),Qx=$e({prop:"gridTemplateAreas"}),Xx=$e({prop:"gridArea"});po(mo,vo,go,Zx,Ux,Wx,Gx,qx,Yx,Jx,Qx,Xx);function Er(e,t){return t==="grey"?t:e}const e7=$e({prop:"color",themeKey:"palette",transform:Er}),t7=$e({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Er}),r7=$e({prop:"backgroundColor",themeKey:"palette",transform:Er});po(e7,t7,r7);function Ke(e){return e<=1&&e!==0?`${e*100}%`:e}const n7=$e({prop:"width",transform:Ke}),Jl=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,a;const o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Yl[r];return o?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Ke(r)}};return xt(e,e.maxWidth,t)}return null};Jl.filterProps=["maxWidth"];const a7=$e({prop:"minWidth",transform:Ke}),o7=$e({prop:"height",transform:Ke}),i7=$e({prop:"maxHeight",transform:Ke}),l7=$e({prop:"minHeight",transform:Ke});$e({prop:"size",cssProperty:"width",transform:Ke});$e({prop:"size",cssProperty:"height",transform:Ke});const s7=$e({prop:"boxSizing"});po(n7,Jl,a7,o7,i7,l7,s7);const Ql={border:{themeKey:"borders",transform:Ze},borderTop:{themeKey:"borders",transform:Ze},borderRight:{themeKey:"borders",transform:Ze},borderBottom:{themeKey:"borders",transform:Ze},borderLeft:{themeKey:"borders",transform:Ze},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ze},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ho},color:{themeKey:"palette",transform:Er},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Er},backgroundColor:{themeKey:"palette",transform:Er},p:{style:ve},pt:{style:ve},pr:{style:ve},pb:{style:ve},pl:{style:ve},px:{style:ve},py:{style:ve},padding:{style:ve},paddingTop:{style:ve},paddingRight:{style:ve},paddingBottom:{style:ve},paddingLeft:{style:ve},paddingX:{style:ve},paddingY:{style:ve},paddingInline:{style:ve},paddingInlineStart:{style:ve},paddingInlineEnd:{style:ve},paddingBlock:{style:ve},paddingBlockStart:{style:ve},paddingBlockEnd:{style:ve},m:{style:me},mt:{style:me},mr:{style:me},mb:{style:me},ml:{style:me},mx:{style:me},my:{style:me},margin:{style:me},marginTop:{style:me},marginRight:{style:me},marginBottom:{style:me},marginLeft:{style:me},marginX:{style:me},marginY:{style:me},marginInline:{style:me},marginInlineStart:{style:me},marginInlineEnd:{style:me},marginBlock:{style:me},marginBlockStart:{style:me},marginBlockEnd:{style:me},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:mo},rowGap:{style:go},columnGap:{style:vo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ke},maxWidth:{style:Jl},minWidth:{transform:Ke},height:{transform:Ke},maxHeight:{transform:Ke},minHeight:{transform:Ke},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function u7(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function d7(e,t){return typeof e=="function"?e(t):e}function c7(){function e(r,n,a,o){const i={[r]:n,theme:a},l=o[r];if(!l)return{[r]:n};const{cssProperty:s=r,themeKey:d,transform:c,style:f}=l;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const p=uo(a,d)||{};return f?f(i):xt(i,n,m=>{let v=Aa(p,c,m);return m===v&&typeof m=="string"&&(v=Aa(p,c,`${r}${m==="default"?"":wh(m)}`,m)),s===!1?v:{[s]:v}})}function t(r){var n;const{sx:a,theme:o={}}=r||{};if(!a)return null;const i=(n=o.unstable_sxConfig)!=null?n:Ql;function l(s){let d=s;if(typeof s=="function")d=s(o);else if(typeof s!="object")return s;if(!d)return null;const c=wx(o.breakpoints),f=Object.keys(c);let p=c;return Object.keys(d).forEach(h=>{const m=d7(d[h],o);if(m!=null)if(typeof m=="object")if(i[h])p=rn(p,e(h,m,o,i));else{const v=xt({theme:o},m,y=>({[h]:y}));u7(v,m)?p[h]=t({sx:m,theme:o}):p=rn(p,v)}else p=rn(p,e(h,m,o,i))}),Ex(f,p)}return Array.isArray(a)?a.map(l):l(a)}return t}const Xl=c7();Xl.filterProps=["sx"];function f7(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const p7=["breakpoints","palette","spacing","shape"];function h7(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={}}=e,i=Lr(e,p7),l=xx(r),s=Ax(a);let d=pt({breakpoints:l,direction:"ltr",components:{},palette:Pe({mode:"light"},n),spacing:s,shape:Pe({},Dx,o)},i);return d.applyStyles=f7,d=t.reduce((c,f)=>pt(c,f),d),d.unstable_sxConfig=Pe({},Ql,i==null?void 0:i.unstable_sxConfig),d.unstable_sx=function(f){return Xl({sx:f,theme:this})},d}function m7(e,t){return Pe({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var xe={},Ph={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ph);var v7=Ph.exports;const g7=H4(fx),b7=H4(bx);var Sh=v7;Object.defineProperty(xe,"__esModule",{value:!0});xe.alpha=Th;xe.blend=R7;xe.colorChannel=void 0;var y7=xe.darken=ts;xe.decomposeColor=qe;xe.emphasize=Ah;var qu=xe.getContrastRatio=C7;xe.getLuminance=Fa;xe.hexToRgb=kh;xe.hslToRgb=Rh;var $7=xe.lighten=rs;xe.private_safeAlpha=P7;xe.private_safeColorChannel=void 0;xe.private_safeDarken=S7;xe.private_safeEmphasize=B7;xe.private_safeLighten=k7;xe.recomposeColor=Vr;xe.rgbToHex=E7;var Yu=Sh(g7),x7=Sh(b7);function es(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,x7.default)(e,t,r)}function kh(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function D7(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function qe(e){if(e.type)return e;if(e.charAt(0)==="#")return qe(kh(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
1613
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,
|
|
1614
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,
|
|
1615
|
-
`))}return y}const p=({color:v,name:y,mainShade:
|
|
1616
|
-
The color object needs to have a \`main\` property or a \`${
|
|
1656
|
+
`))),i[o]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
1657
|
+
`)),()=>{})}function Rh(e){return Kn(e,"spacing",8,"spacing")}function Nn(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function _6(e,t){return r=>e.reduce((n,a)=>(n[a]=Nn(t,r),n),{})}function z6(e,t,r,n){if(t.indexOf(r)===-1)return null;const a=K6(r),i=_6(a,n),o=e[r];return xt(e,o,i)}function Th(e,t){const r=Rh(e.theme);return Object.keys(e).map(n=>z6(e,t,n,r)).reduce(sn,{})}function ge(e){return Th(e,mi)}ge.propTypes=process.env.NODE_ENV!=="production"?mi.reduce((e,t)=>(e[t]=Ot,e),{}):{};ge.filterProps=mi;function be(e){return Th(e,vi)}be.propTypes=process.env.NODE_ENV!=="production"?vi.reduce((e,t)=>(e[t]=Ot,e),{}):{};be.filterProps=vi;process.env.NODE_ENV!=="production"&&N6.reduce((e,t)=>(e[t]=Ot,e),{});function H6(e=8){if(e.mui)return e;const t=Rh({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const o=t(i);return typeof o=="number"?`${o}px`:o}).join(" "));return r.mui=!0,r}function gi(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(i=>{n[i]=a}),n),{}),r=n=>Object.keys(n).reduce((a,i)=>t[i]?sn(a,t[i](n)):a,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,a)=>Object.assign(n,a.propTypes),{}):{},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function Ue(e){return typeof e!="number"?e:`${e}px solid`}function Xe(e,t){return xe({prop:e,themeKey:"borders",transform:t})}const Z6=Xe("border",Ue),U6=Xe("borderTop",Ue),W6=Xe("borderRight",Ue),G6=Xe("borderBottom",Ue),q6=Xe("borderLeft",Ue),Y6=Xe("borderColor"),J6=Xe("borderTopColor"),Q6=Xe("borderRightColor"),X6=Xe("borderBottomColor"),e7=Xe("borderLeftColor"),t7=Xe("outline",Ue),r7=Xe("outlineColor"),bi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Kn(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Nn(t,n)});return xt(e,e.borderRadius,r)}return null};bi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ot}:{};bi.filterProps=["borderRadius"];gi(Z6,U6,W6,G6,q6,Y6,J6,Q6,X6,e7,bi,t7,r7);const yi=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Kn(e.theme,"spacing",8,"gap"),r=n=>({gap:Nn(t,n)});return xt(e,e.gap,r)}return null};yi.propTypes=process.env.NODE_ENV!=="production"?{gap:Ot}:{};yi.filterProps=["gap"];const $i=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Kn(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Nn(t,n)});return xt(e,e.columnGap,r)}return null};$i.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ot}:{};$i.filterProps=["columnGap"];const xi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Kn(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Nn(t,n)});return xt(e,e.rowGap,r)}return null};xi.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ot}:{};xi.filterProps=["rowGap"];const n7=xe({prop:"gridColumn"}),a7=xe({prop:"gridRow"}),i7=xe({prop:"gridAutoFlow"}),o7=xe({prop:"gridAutoColumns"}),l7=xe({prop:"gridAutoRows"}),s7=xe({prop:"gridTemplateColumns"}),u7=xe({prop:"gridTemplateRows"}),d7=xe({prop:"gridTemplateAreas"}),c7=xe({prop:"gridArea"});gi(yi,$i,xi,n7,a7,i7,o7,l7,s7,u7,d7,c7);function Er(e,t){return t==="grey"?t:e}const f7=xe({prop:"color",themeKey:"palette",transform:Er}),p7=xe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Er}),h7=xe({prop:"backgroundColor",themeKey:"palette",transform:Er});gi(f7,p7,h7);function Ke(e){return e<=1&&e!==0?`${e*100}%`:e}const m7=xe({prop:"width",transform:Ke}),ts=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,a;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||es[r];return i?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ke(r)}};return xt(e,e.maxWidth,t)}return null};ts.filterProps=["maxWidth"];const v7=xe({prop:"minWidth",transform:Ke}),g7=xe({prop:"height",transform:Ke}),b7=xe({prop:"maxHeight",transform:Ke}),y7=xe({prop:"minHeight",transform:Ke});xe({prop:"size",cssProperty:"width",transform:Ke});xe({prop:"size",cssProperty:"height",transform:Ke});const $7=xe({prop:"boxSizing"});gi(m7,ts,v7,g7,b7,y7,$7);const rs={border:{themeKey:"borders",transform:Ue},borderTop:{themeKey:"borders",transform:Ue},borderRight:{themeKey:"borders",transform:Ue},borderBottom:{themeKey:"borders",transform:Ue},borderLeft:{themeKey:"borders",transform:Ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bi},color:{themeKey:"palette",transform:Er},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Er},backgroundColor:{themeKey:"palette",transform:Er},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:ge},mt:{style:ge},mr:{style:ge},mb:{style:ge},ml:{style:ge},mx:{style:ge},my:{style:ge},margin:{style:ge},marginTop:{style:ge},marginRight:{style:ge},marginBottom:{style:ge},marginLeft:{style:ge},marginX:{style:ge},marginY:{style:ge},marginInline:{style:ge},marginInlineStart:{style:ge},marginInlineEnd:{style:ge},marginBlock:{style:ge},marginBlockStart:{style:ge},marginBlockEnd:{style:ge},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:yi},rowGap:{style:xi},columnGap:{style:$i},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ke},maxWidth:{style:ts},minWidth:{transform:Ke},height:{transform:Ke},maxHeight:{transform:Ke},minHeight:{transform:Ke},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function x7(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function D7(e,t){return typeof e=="function"?e(t):e}function w7(){function e(r,n,a,i){const o={[r]:n,theme:a},l=i[r];if(!l)return{[r]:n};const{cssProperty:s=r,themeKey:d,transform:c,style:f}=l;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const p=hi(a,d)||{};return f?f(o):xt(o,n,m=>{let v=Ka(p,c,m);return m===v&&typeof m=="string"&&(v=Ka(p,c,`${r}${m==="default"?"":Bh(m)}`,m)),s===!1?v:{[s]:v}})}function t(r){var n;const{sx:a,theme:i={}}=r||{};if(!a)return null;const o=(n=i.unstable_sxConfig)!=null?n:rs;function l(s){let d=s;if(typeof s=="function")d=s(i);else if(typeof s!="object")return s;if(!d)return null;const c=I6(i.breakpoints),f=Object.keys(c);let p=c;return Object.keys(d).forEach(h=>{const m=D7(d[h],i);if(m!=null)if(typeof m=="object")if(o[h])p=sn(p,e(h,m,i,o));else{const v=xt({theme:i},m,y=>({[h]:y}));x7(v,m)?p[h]=t({sx:m,theme:i}):p=sn(p,v)}else p=sn(p,e(h,m,i,o))}),O6(f,p)}return Array.isArray(a)?a.map(l):l(a)}return t}const ns=w7();ns.filterProps=["sx"];function E7(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const C7=["breakpoints","palette","spacing","shape"];function P7(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:i={}}=e,o=Nr(e,C7),l=F6(r),s=H6(a);let d=pt({breakpoints:l,direction:"ltr",components:{},palette:Se({mode:"light"},n),spacing:s,shape:Se({},M6,i)},o);return d.applyStyles=E7,d=t.reduce((c,f)=>pt(c,f),d),d.unstable_sxConfig=Se({},rs,o==null?void 0:o.unstable_sxConfig),d.unstable_sx=function(f){return ns({sx:f,theme:this})},d}function S7(e,t){return Se({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var De={},Ah={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ah);var k7=Ah.exports;const B7=J1(E6),R7=J1(R6);var Fh=k7;Object.defineProperty(De,"__esModule",{value:!0});De.alpha=Vh;De.blend=_7;De.colorChannel=void 0;var T7=De.darken=is;De.decomposeColor=Ye;De.emphasize=Lh;var td=De.getContrastRatio=V7;De.getLuminance=Na;De.hexToRgb=Mh;De.hslToRgb=Oh;var A7=De.lighten=os;De.private_safeAlpha=L7;De.private_safeColorChannel=void 0;De.private_safeDarken=j7;De.private_safeEmphasize=N7;De.private_safeLighten=K7;De.recomposeColor=_r;De.rgbToHex=O7;var rd=Fh(B7),F7=Fh(R7);function as(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,F7.default)(e,t,r)}function Mh(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function M7(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Ye(e){if(e.type)return e;if(e.charAt(0)==="#")return Ye(Mh(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
1658
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,rd.default)(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
|
|
1659
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,rd.default)(10,a))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:a}}const Ih=e=>{const t=Ye(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};De.colorChannel=Ih;const I7=(e,t)=>{try{return Ih(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};De.private_safeColorChannel=I7;function _r(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((a,i)=>i<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function O7(e){if(e.indexOf("#")===0)return e;const{values:t}=Ye(e);return`#${t.map((r,n)=>M7(n===3?Math.round(255*r):r)).join("")}`}function Oh(e){e=Ye(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,i=n*Math.min(a,1-a),o=(d,c=(d+r/30)%12)=>a-i*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const s=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type==="hsla"&&(l+="a",s.push(t[3])),_r({type:l,values:s})}function Na(e){e=Ye(e);let t=e.type==="hsl"||e.type==="hsla"?Ye(Oh(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function V7(e,t){const r=Na(e),n=Na(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Vh(e,t){return e=Ye(e),t=as(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,_r(e)}function L7(e,t,r){try{return Vh(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function is(e,t){if(e=Ye(e),t=as(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return _r(e)}function j7(e,t,r){try{return is(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function os(e,t){if(e=Ye(e),t=as(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return _r(e)}function K7(e,t,r){try{return os(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Lh(e,t=.15){return Na(e)>.5?is(e,t):os(e,t)}function N7(e,t,r){try{return Lh(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function _7(e,t,r,n=1){const a=(s,d)=>Math.round((s**(1/n)*(1-r)+d**(1/n)*r)**n),i=Ye(e),o=Ye(t),l=[a(i.values[0],o.values[0]),a(i.values[1],o.values[1]),a(i.values[2],o.values[2])];return _r({type:"rgb",values:l})}const Dn={black:"#000",white:"#fff"},z7={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},or={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},lr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},qr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},sr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ur={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},dr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},H7=["mode","contrastThreshold","tonalOffset"],nd={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Dn.white,default:Dn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ao={text:{primary:Dn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Dn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ad(e,t,r,n){const a=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=A7(e.main,a):t==="dark"&&(e.dark=T7(e.main,i)))}function Z7(e="light"){return e==="dark"?{main:sr[200],light:sr[50],dark:sr[400]}:{main:sr[700],light:sr[400],dark:sr[800]}}function U7(e="light"){return e==="dark"?{main:or[200],light:or[50],dark:or[400]}:{main:or[500],light:or[300],dark:or[700]}}function W7(e="light"){return e==="dark"?{main:lr[500],light:lr[300],dark:lr[700]}:{main:lr[700],light:lr[400],dark:lr[800]}}function G7(e="light"){return e==="dark"?{main:ur[400],light:ur[300],dark:ur[700]}:{main:ur[700],light:ur[500],dark:ur[900]}}function q7(e="light"){return e==="dark"?{main:dr[400],light:dr[300],dark:dr[700]}:{main:dr[800],light:dr[500],dark:dr[900]}}function Y7(e="light"){return e==="dark"?{main:qr[400],light:qr[300],dark:qr[700]}:{main:"#ed6c02",light:qr[500],dark:qr[900]}}function J7(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=Nr(e,H7),i=e.primary||Z7(t),o=e.secondary||U7(t),l=e.error||W7(t),s=e.info||G7(t),d=e.success||q7(t),c=e.warning||Y7(t);function f(v){const y=td(v,ao.text.primary)>=r?ao.text.primary:nd.text.primary;if(process.env.NODE_ENV!=="production"){const S=td(v,y);S<3&&console.error([`MUI: The contrast ratio of ${S}:1 for ${y} on ${v}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
1660
|
+
`))}return y}const p=({color:v,name:y,mainShade:S=500,lightShade:D=300,darkShade:C=700})=>{if(v=Se({},v),!v.main&&v[S]&&(v.main=v[S]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
1661
|
+
The color object needs to have a \`main\` property or a \`${S}\` property.`:xn(11,y?` (${y})`:"",S));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
1617
1662
|
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
1618
1663
|
|
|
1619
1664
|
Did you intend to use one of the following approaches?
|
|
@@ -1626,6 +1671,6 @@ const theme1 = createTheme({ palette: {
|
|
|
1626
1671
|
|
|
1627
1672
|
const theme2 = createTheme({ palette: {
|
|
1628
1673
|
primary: { main: green[500] },
|
|
1629
|
-
} });`:
|
|
1630
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(c=>`${c} ${typeof
|
|
1631
|
-
`))}p[m]={}}}};Object.keys(d.components).forEach(p=>{const h=d.components[p].styleOverrides;h&&p.indexOf("Mui")===0&&f(h,p)})}return d.unstable_sxConfig=
|
|
1674
|
+
} });`:xn(12,y?` (${y})`:"",JSON.stringify(v.main)));return ad(v,"light",D,n),ad(v,"dark",C,n),v.contrastText||(v.contrastText=f(v.main)),v},h={dark:ao,light:nd};return process.env.NODE_ENV!=="production"&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),pt(Se({common:Se({},Dn),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:o,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:d,name:"success"}),grey:z7,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n},h[t]),a)}const Q7=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function X7(e){return Math.round(e*1e5)/1e5}const id={textTransform:"uppercase"},od='"Roboto", "Helvetica", "Arial", sans-serif';function e9(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=od,fontSize:a=14,fontWeightLight:i=300,fontWeightRegular:o=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:d=16,allVariants:c,pxToRem:f}=r,p=Nr(r,Q7);process.env.NODE_ENV!=="production"&&(typeof a!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=a/14,m=f||(S=>`${S/d*h}rem`),v=(S,D,C,E,w)=>Se({fontFamily:n,fontWeight:S,fontSize:m(D),lineHeight:C},n===od?{letterSpacing:`${X7(E/D)}em`}:{},w,c),y={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(o,48,1.167,0),h4:v(o,34,1.235,.25),h5:v(o,24,1.334,0),h6:v(l,20,1.6,.15),subtitle1:v(o,16,1.75,.15),subtitle2:v(l,14,1.57,.1),body1:v(o,16,1.5,.15),body2:v(o,14,1.43,.15),button:v(l,14,1.75,.4,id),caption:v(o,12,1.66,.4),overline:v(o,12,2.66,1,id),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return pt(Se({htmlFontSize:d,pxToRem:m,fontFamily:n,fontSize:a,fontWeightLight:i,fontWeightRegular:o,fontWeightMedium:l,fontWeightBold:s},y),p,{clone:!1})}const t9=.2,r9=.14,n9=.12;function pe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${t9})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${r9})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${n9})`].join(",")}const a9=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)],i9=["duration","easing","delay"],o9={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},l9={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ld(e){return`${Math.round(e)}ms`}function s9(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function u9(e){const t=Se({},o9,e.easing),r=Se({},l9,e.duration);return Se({getAutoHeightDuration:s9,create:(a=["all"],i={})=>{const{duration:o=r.standard,easing:l=t.easeInOut,delay:s=0}=i,d=Nr(i,i9);if(process.env.NODE_ENV!=="production"){const c=p=>typeof p=="string",f=p=>!isNaN(parseFloat(p));!c(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(o)&&!c(o)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),c(l)||console.error('MUI: Argument "easing" must be a string.'),!f(s)&&!c(s)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
1675
|
+
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(c=>`${c} ${typeof o=="string"?o:ld(o)} ${l} ${typeof s=="string"?s:ld(s)}`).join(",")}},e,{easing:t,duration:r})}const d9={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},c9=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function f9(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:i={}}=e,o=Nr(e,c9);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":xn(18));const l=J7(n),s=P7(e);let d=pt(s,{mixins:S7(s.breakpoints,r),palette:l,shadows:a9.slice(),typography:e9(l,i),transitions:u9(a),zIndex:Se({},d9)});if(d=pt(d,o),d=t.reduce((c,f)=>pt(c,f),d),process.env.NODE_ENV!=="production"){const c=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(p,h)=>{let m;for(m in p){const v=p[m];if(c.indexOf(m)!==-1&&Object.keys(v).length>0){if(process.env.NODE_ENV!=="production"){const y=k6("",m);console.error([`MUI: The \`${h}\` component increases the CSS specificity of the \`${m}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:v}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
1676
|
+
`))}p[m]={}}}};Object.keys(d.components).forEach(p=>{const h=d.components[p].styleOverrides;h&&p.indexOf("Mui")===0&&f(h,p)})}return d.unstable_sxConfig=Se({},rs,o==null?void 0:o.unstable_sxConfig),d.unstable_sx=function(f){return ns({sx:f,theme:this})},d}const p9={palette:{primary:{main:fe.color.content.action.action,light:fe.color.content.action.actionLighter,dark:fe.color.content.action.actionDarker,contrastText:fe.color.content.neutral.primaryReversed},info:{main:fe.color.content.message.informative,light:fe.color.content.message.informativeLighter,dark:fe.color.content.message.informativeDarker,contrastText:fe.color.content.neutral.primaryReversed},secondary:{main:fe.color.content.message.informative,light:fe.color.content.message.informativeLighter,dark:fe.color.content.message.informativeDarker,contrastText:fe.color.content.neutral.primaryReversed},error:{main:fe.color.content.message.negative,light:fe.color.content.message.negativeLighter,dark:fe.color.content.message.negativeDarker,contrastText:fe.color.content.neutral.primaryReversed},success:{main:fe.color.content.message.positive,light:fe.color.content.message.positiveLighter,dark:fe.color.content.message.positiveDarker,contrastText:fe.color.content.neutral.primaryReversed},warning:{main:fe.color.content.message.warning,light:fe.color.content.message.warningLighter,dark:fe.color.content.message.warningDarker,contrastText:fe.color.content.neutral.primaryReversed}},typography:{fontFamily:["EDF2020","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue"].join(",")},components:{MuiButtonBase:{defaultProps:{disableRipple:!0}}}};function jh(e){const t=pt(p9,e||{});return f9(t)}jh();const h9=({children:e,...t})=>g.jsx(fm,{...t,children:e});exports.Badge=Ql;exports.Button=We;exports.Checkbox=ph;exports.CheckboxGroup=T$;exports.DataTable=Cx;exports.DataTableCell=G$;exports.DataTableHeader=H$;exports.DataTableRoot=yh;exports.DataTableRow=mh;exports.DatePicker=Ox;exports.DateRangePicker=_x;exports.Drawer=K$;exports.Dropdown=Px;exports.I18nProvider=ov;exports.Icon=Qe;exports.Link=l6;exports.Pagination=bh;exports.Radio=r6;exports.RouterProvider=h9;exports.Select=Uo;exports.SelectItem=Go;exports.Switch=a6;exports.Tab=u6;exports.TabList=c6;exports.TabPanel=h6;exports.Tabs=p6;exports.Tag=P$;exports.TextInput=Wx;exports.TimeField=Jx;exports.createMuiTheme=jh;exports.fontSize=X;exports.lineHeight=oe;exports.tokens=fe;
|