@midas-ds/components 2.0.0 → 3.0.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/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const g=require("react/jsx-runtime"),o=require("react"),iu=require("react-dom"),e$=require("./tokens-BskyMDHv.cjs");function t$(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const u in e)if(u!=="default"){const n=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(t,u,n.get?n:{enumerable:!0,get:()=>e[u]})}}return t.default=e,Object.freeze(t)}const de=t$(o),u$='"../theme/tokens.css"',n$='"Inter", sans-serif',r$="#f2f2f2",a$="#e6e6e6",i$="#d9d9d9",l$="#000000",o$="300ms",s$="400",d$="500",c$="_root_106wg_4",f$="_contained_106wg_12",p$="_triggerText_106wg_27",m$="_trigger_106wg_27",b$="_icon_106wg_52",h$="_item_106wg_80",$$="_panel_106wg_86",g$="_panel0_106wg_86",D$="_content_106wg_96",y$="_header_106wg_100",Xe={tokens:u$,display:n$,gray10:r$,gray20:a$,gray30:i$,black:l$,normalTransition:o$,regularWeight:s$,mediumWeight:d$,root:c$,contained:f$,triggerText:p$,trigger:m$,icon:b$,item:h$,panel:$$,panel0:g$,content:D$,header:y$};function ms(e){var t,u,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(u=ms(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function W(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=ms(e))&&(n&&(n+=" "),n+=t);return n}const _r=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const Or=o.createContext({}),Y=typeof document<"u"?o.useLayoutEffect:()=>{};function ae(e){const t=o.useRef(null);return Y(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function v$(e){let[t,u]=o.useState(e),n=o.useRef(null),r=ae(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?r():u(i.value)});Y(()=>{n.current&&r()});let a=ae(i=>{n.current=i(t),r()});return[t,a]}const $r={prefix:String(Math.round(Math.random()*1e10)),current:0},bs=o.createContext($r),x$=o.createContext(!1);let C$=!!(typeof window<"u"&&window.document&&window.document.createElement),ha=new WeakMap;function E$(e=!1){let t=o.useContext(bs),u=o.useRef(null);if(u.current===null&&!e){var n,r;let a=(r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(n=r.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let i=ha.get(a);i==null?ha.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,ha.delete(a))}u.current=++t.current}return u.current}function B$(e){let t=o.useContext(bs);t===$r&&!C$&&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 u=E$(!!e),n=t===$r&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function k$(e){let t=o.useId(),[u]=o.useState(Nt()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${$r.prefix}`;return e||`${n}-${t}`}const P$=typeof o.useId=="function"?k$:B$;function S$(){return!1}function A$(){return!0}function w$(e){return()=>{}}function Nt(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(w$,S$,A$):o.useContext(x$)}let F$=!!(typeof window<"u"&&window.document&&window.document.createElement),Gt=new Map;function ne(e){let[t,u]=o.useState(e),n=o.useRef(null),r=P$(t),a=o.useCallback(i=>{n.current=i},[]);return F$&&(Gt.has(r)&&!Gt.get(r).includes(a)?Gt.set(r,[...Gt.get(r),a]):Gt.set(r,[a])),Y(()=>{let i=r;return()=>{Gt.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;i&&(n.current=null,u(i))}),r}function T$(e,t){if(e===t)return e;let u=Gt.get(e);if(u)return u.forEach(r=>r(t)),t;let n=Gt.get(t);return n?(n.forEach(r=>r(e)),e):t}function rt(e=[]){let t=ne(),[u,n]=v$(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Y(r,[t,r,...e]),u}function at(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const fe=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ut=e=>e&&"window"in e&&e.window===e?e:fe(e).defaultView||window;function N(...e){let t={...e[0]};for(let u=1;u<e.length;u++){let n=e[u];for(let r in n){let a=t[r],i=n[r];typeof a=="function"&&typeof i=="function"&&r[0]==="o"&&r[1]==="n"&&r.charCodeAt(2)>=65&&r.charCodeAt(2)<=90?t[r]=at(a,i):(r==="className"||r==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[r]=W(a,i):r==="id"&&a&&i?t.id=T$(a,i):t[r]=i!==void 0?i:a}}return t}function Pu(...e){return e.length===1&&e[0]?e[0]:t=>{for(let u of e)typeof u=="function"?u(t):u!=null&&(u.current=t)}}const R$=new Set(["id"]),I$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),K$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),M$=/^(data-.*)$/;function _(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(R$.has(i)||u&&I$.has(i)||n&&K$.has(i)||r!=null&&r.has(i)||M$.test(i))&&(a[i]=e[i]);return a}function Oe(e){if(z$())e.focus({preventScroll:!0});else{let t=V$(e);e.focus(),N$(t)}}let qn=null;function z$(){if(qn==null){qn=!1;try{document.createElement("div").focus({get preventScroll(){return qn=!0,!0}})}catch{}}return qn}function V$(e){let t=e.parentNode,u=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&u.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&u.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),u}function N$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function Hr(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(u=>e.test(u.brand)))||e.test(window.navigator.userAgent)}function Ki(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 Lt(e){let t=null;return()=>(t==null&&(t=e()),t)}const yt=Lt(function(){return Ki(/^Mac/i)}),L$=Lt(function(){return Ki(/^iPhone/i)}),Mi=Lt(function(){return Ki(/^iPad/i)||yt()&&navigator.maxTouchPoints>1}),Mn=Lt(function(){return L$()||Mi()}),fr=Lt(function(){return yt()||Mn()}),zi=Lt(function(){return Hr(/AppleWebKit/i)&&!hs()}),hs=Lt(function(){return Hr(/Chrome/i)}),xn=Lt(function(){return Hr(/Android/i)}),j$=Lt(function(){return Hr(/Firefox/i)}),$s=o.createContext({isNative:!0,open:_$,useHref:e=>e});function gs(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{ys(a,d=>{Ds(d,i)?u(l,s):eu(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement($s.Provider,{value:r},t)}function Su(){return o.useContext($s)}function Ds(e,t){let u=e.getAttribute("target");return(!u||u==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function eu(e,t,u=!0){var n,r;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;j$()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(yt()?a=!0:i=!0);let d=zi()&&yt()&&!Mi()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});eu.isOpening=u,Oe(e),e.dispatchEvent(d),eu.isOpening=!1}eu.isOpening=!1;function ys(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let u=document.createElement("a");u.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(u.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(u.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(u.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(u.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(u.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(u),t(u),e.removeChild(u)}}function _$(e,t){ys(e,u=>eu(u,t))}function Vi(e){let t=Su();var u;const n=t.useHref((u=e.href)!==null&&u!==void 0?u:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function Ur(e){let t=Su();var u;const n=t.useHref((u=e==null?void 0:e.href)!==null&&u!==void 0?u:"");return{href:e!=null&&e.href?n: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 Vu=new Map,Za=new Set;function _l(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=Vu.get(n.target);r||(r=new Set,Vu.set(n.target,r),n.target.addEventListener("transitioncancel",u,{once:!0})),r.add(n.propertyName)},u=n=>{if(!e(n)||!n.target)return;let r=Vu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),Vu.delete(n.target)),Vu.size===0)){for(let a of Za)a();Za.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?_l():document.addEventListener("DOMContentLoaded",_l));function vs(e){requestAnimationFrame(()=>{Vu.size===0?e():Za.add(e)})}function Ni(){let e=o.useRef(new Map),t=o.useCallback((r,a,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:r,fn:s,options:l}),r.addEventListener(a,s,l)},[]),u=o.useCallback((r,a,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;r.removeEventListener(a,d,l),e.current.delete(i)},[]),n=o.useCallback(()=>{e.current.forEach((r,a)=>{u(r.eventTarget,r.type,a,r.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function vt(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=ne(u),r&&n?r=[...new Set([u,...r.trim().split(/\s+/)])].join(" "):r&&(r=r.trim().split(/\s+/).join(" ")),!n&&!r&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":r}}function ge(e){const t=o.useRef(null);return o.useMemo(()=>({get current(){return t.current},set current(u){t.current=u,typeof e=="function"?e(u):e&&(e.current=u)}}),[e])}function gr(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function Ol(e,t){const u=o.useRef(!0),n=o.useRef(null);Y(()=>(u.current=!0,()=>{u.current=!1}),[]),Y(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function O$(){return typeof window.ResizeObserver<"u"}function xu(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(O$()){const a=new window.ResizeObserver(i=>{i.length&&n()});return a.observe(r,{box:u}),()=>{r&&a.unobserve(r)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t,u])}function Li(e,t){Y(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Cn(e,t){if(!e)return!1;let u=window.getComputedStyle(e),n=/(auto|scroll)/.test(u.overflow+u.overflowX+u.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Ke(e,t){let u=e;for(Cn(u,t)&&(u=u.parentElement);u&&!Cn(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function H$(e,t){const u=[];for(;e&&e!==document.documentElement;)Cn(e,t)&&u.push(e),e=e.parentElement;return u}let U$=0;const $a=new Map;function Ct(e){let[t,u]=o.useState();return Y(()=>{if(!e)return;let n=$a.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${U$++}`;u(r);let a=document.createElement("div");a.id=r,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},$a.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),$a.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function st(e,t,u,n){let r=ae(u),a=u==null;o.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,r,n),()=>{i.removeEventListener(t,r,n)}},[e,t,n,a,r])}function xs(e,t){let u=Hl(e,t,"left"),n=Hl(e,t,"top"),r=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d,scrollPaddingTop:c,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:m}=getComputedStyle(e),b=i+parseInt(d,10),h=l+parseInt(s,10),D=b+e.clientWidth,v=h+e.clientHeight,E=parseInt(c,10)||0,y=parseInt(p,10)||0,C=parseInt(f,10)||0,B=parseInt(m,10)||0;u<=i+B?i=u-parseInt(d,10)-B:u+r>D-C&&(i+=u+r-D+C),n<=h+E?l=n-parseInt(s,10)-E:n+a>v-y&&(l+=n+a-v+y),e.scrollLeft=i,e.scrollTop=l}function Hl(e,t,u){const n=u==="left"?"offsetLeft":"offsetTop";let r=0;for(;t.offsetParent&&(r+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){r-=e[n];break}t=t.offsetParent}return r}function Me(e,t){if(e&&document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=H$(e);for(let d of s)xs(d,e)}else{var u;let{left:s,top:d}=e.getBoundingClientRect();e==null||(u=e.scrollIntoView)===null||u===void 0||u.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,r,a;t==null||(r=t.containingElement)===null||r===void 0||(n=r.scrollIntoView)===null||n===void 0||n.call(r,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function qa(e){return e.mozInputSource===0&&e.isTrusted?!0:xn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function W$(e){return!xn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Cs(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function zn(e,t,u){let n=o.useRef(t),r=ae(()=>{u&&u(n.current)});o.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e,r])}const G$="react-aria-clear-focus",Z$="react-aria-focus",Es="react-aria-update-activedescendant";function Nu(e){return yt()?e.metaKey:e.ctrlKey}function Bs(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return Y(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,r]),Ps(e,r,o.useCallback(()=>n(!1),[])),r}function ks(e,t){let[u,n]=o.useState(t?"open":"closed");switch(u){case"open":t||n("exiting");break;case"closed":case"exiting":t&&n("open");break}let r=u==="exiting";return Ps(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function Ps(e,t,u){Y(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){u();return}let n=e.current.getAnimations();if(n.length===0){u();return}let r=!1;return Promise.all(n.map(a=>a.finished)).then(()=>{r||iu.flushSync(()=>{u()})}).catch(()=>{}),()=>{r=!0}}},[e,t,u])}function Re(e,t,u){let[n,r]=o.useState(e||t),a=o.useRef(e!==void 0),i=e!==void 0;o.useEffect(()=>{let d=a.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:n,s=o.useCallback((d,...c)=>{let f=(p,...m)=>{u&&(Object.is(l,p)||u(p,...m)),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"),r((m,...b)=>{let h=d(i?l:m,...b);return f(h,...c),i?m:h})):(i||r(d),f(d,...c))},[i,l,u]);return[l,s]}function Ya(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const gt=Symbol("default");function ee({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function H(e){let{className:t,style:u,children:n,defaultClassName:r,defaultChildren:a,defaultStyle:i,values:l}=e;return o.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:r}):s=t,typeof u=="function"?d=u({...l,defaultStyle:i||{}}):d=u,typeof n=="function"?c=n({...l,defaultChildren:a}):n==null?c=a:c=n,{className:s??r,style:d||i?{...i,...d}:void 0,children:c??a,"data-rac":""}},[t,u,n,r,a,i,l])}function Ve(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=new Intl.ListFormat().format(Object.keys(u.slots).map(a=>`"${a}"`));if(!t&&!u.slots[gt])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let r=t||gt;if(!u.slots[r])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return u.slots[r]}return u}function q(e,t,u){let n=Ve(u,e.slot)||{},{ref:r,...a}=n,i=ge(o.useMemo(()=>Pu(t,r),[t,r])),l=N(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof a.style=="function"?a.style(s):a.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...a.style,...e.style}),[l,i]}function ct(){let[e,t]=o.useState(!0),u=o.useRef(!1),n=o.useCallback(r=>{u.current=!0,t(!!r)},[]);return Y(()=>{u.current||t(!1)},[]),[n,e]}function zt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class En{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new En(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.render=this.render,t}constructor(t,u){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=u}}class Wr{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 u=this.keyMap;return{*[Symbol.iterator](){let n=u.get(t),r=(n==null?void 0:n.firstChildKey)!=null?u.get(n.firstChildKey):null;for(;r;)yield r,r=r.nextKey!=null?u.get(r.nextKey):void 0}}}getKeyBefore(t){let u=this.keyMap.get(t);if(!u)return null;if(u.prevKey!=null){for(u=this.keyMap.get(u.prevKey);u&&u.type!=="item"&&u.lastChildKey!=null;)u=this.keyMap.get(u.lastChildKey);var n;return(n=u==null?void 0:u.key)!==null&&n!==void 0?n:null}return u.parentKey}getKeyAfter(t){let u=this.keyMap.get(t);if(!u)return null;if(u.type!=="item"&&u.firstChildKey!=null)return u.firstChildKey;for(;u;){if(u.nextKey!=null)return u.nextKey;if(u.parentKey!=null)u=this.keyMap.get(u.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 u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,u=new t;return u.keyMap=new Map(this.keyMap),u.firstKey=this.firstKey,u.lastKey=this.lastKey,u}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,u,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=u,this.frozen=!n}filter(t){let u=new Wr,n=null;for(let r of this)if(r.type==="section"&&r.hasChildNodes){let a=r.clone(),i=null;for(let l of this.getChildren(r.key))if(t(l.textValue)||l.type==="header"){let s=l.clone();i==null&&(a.firstChildKey=s.key),u.firstKey==null&&(u.firstKey=a.key),i&&i.parentKey===s.parentKey?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,s.nextKey=null,u.addNode(s),i=s}i&&(i.type!=="header"?(a.lastChildKey=i.key,n==null?a.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=a.key,a.prevKey=n.key),a.nextKey=null,n=a,u.addNode(a)):(u.firstKey===a.key&&(u.firstKey=null),u.removeNode(i.key)))}else if(r.type==="separator"){let a=r.clone();a.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=a.key,a.prevKey=n.key,n=a,u.addNode(a))}else if(t(r.textValue)){let a=r.clone();u.firstKey==null&&(u.firstKey=a.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===a.parentKey?(n.nextKey=a.key,a.prevKey=n.key):a.prevKey=null,a.nextKey=null,u.addNode(a),n=a}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let r;n.prevKey!=null&&(r=u.getItem(n.prevKey),r.nextKey=null),u.removeNode(n.key),n=r}return u.lastKey=(n==null?void 0:n.key)||null,u}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}class Ss{*[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,u){if(u==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=u,t.previousSibling=u.previousSibling,t.index=u.index,this.firstChild===u?this.firstChild=t:u.previousSibling&&(u.previousSibling.nextSibling=t),u.previousSibling=t,t.parentNode=u.parentNode;let n=u;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||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let u=t.nextSibling;for(;u;)u.index--,u=u.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 Ss{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,u,n,r;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof Bn?this.parentNode.node.key:null;var i;a.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;a.nextKey=(l=(u=this.nextSibling)===null||u===void 0?void 0:u.node.key)!==null&&l!==void 0?l:null,a.hasChildNodes=!!this.firstChild;var s;a.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;a.lastChildKey=(d=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&d!==void 0?d:null}setProps(t,u,n,r){let a=this.ownerDocument.getMutableNode(this),{value:i,textValue:l,id:s,...d}=t;if(d.ref=u,a.props=d,a.rendered=n,a.render=r,a.value=i,a.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",s!=null&&s!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=s}this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,u){super(u),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new En(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class q$ extends Ss{get isConnected(){return this.isMounted}createElement(t){return new Bn(t,this)}getMutableNode(t){let u=t.node;return this.mutatedNodes.has(t)||(u=t.node.clone(),this.mutatedNodes.add(t),t.node=u),this.markDirty(t),u}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 u=this.getMutableCollection();if(!u.getItem(t.node.key)){u.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof Bn&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,u;let a=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&a.addNode(i.node);var n,r;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(r=(u=this.lastChild)===null||u===void 0?void 0:u.node.key)!==null&&r!==void 0?r: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.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function ji(e){let{children:t,items:u,idScope:n,addIdAndValue:r,dependencies:a=[]}=e,i=o.useMemo(()=>new WeakMap,a);return o.useMemo(()=>{if(u&&typeof t=="function"){let d=[];for(let c of u){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=o.cloneElement(f,r?{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,u,i,n,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 Dr=o.createContext(!1),Y$=typeof DocumentFragment<"u"?new DocumentFragment:null;function J$(e){let t=o.useContext(Dr),u=Nt();if(t)return o.createElement(o.Fragment,null,e.children);let n=o.createElement(Dr.Provider,{value:!0},e.children);return u?o.createElement("template",{"data-react-aria-hidden":!0},n):iu.createPortal(n,Y$)}function Gr(e){let t=(u,n)=>o.useContext(Dr)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function Q$(){return o.useContext(Dr)}var Ja={exports:{}},ga={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const g=require("react/jsx-runtime"),o=require("react"),au=require("react-dom"),Qh=require("./tokens-BskyMDHv.cjs");function Xh(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const u in e)if(u!=="default"){const n=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(t,u,n.get?n:{enumerable:!0,get:()=>e[u]})}}return t.default=e,Object.freeze(t)}const de=Xh(o),e$='"../theme/tokens.css"',t$='"Inter", sans-serif',u$="#f2f2f2",n$="#e6e6e6",r$="#d9d9d9",a$="#000000",i$="300ms",l$="400",o$="500",s$="_root_106wg_4",d$="_contained_106wg_12",c$="_triggerText_106wg_27",f$="_trigger_106wg_27",p$="_icon_106wg_52",m$="_item_106wg_80",b$="_panel_106wg_86",h$="_panel0_106wg_86",$$="_content_106wg_96",g$="_header_106wg_100",Xe={tokens:e$,display:t$,gray10:u$,gray20:n$,gray30:r$,black:a$,normalTransition:i$,regularWeight:l$,mediumWeight:o$,root:s$,contained:d$,triggerText:c$,trigger:f$,icon:p$,item:m$,panel:b$,panel0:h$,content:$$,header:g$};function ms(e){var t,u,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(u=ms(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function W(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=ms(e))&&(n&&(n+=" "),n+=t);return n}const jr=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const _r=o.createContext({}),q=typeof document<"u"?o.useLayoutEffect:()=>{};function ae(e){const t=o.useRef(null);return q(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function D$(e){let[t,u]=o.useState(e),n=o.useRef(null),r=ae(()=>{if(!n.current)return;let i=n.current.next();if(i.done){n.current=null;return}t===i.value?r():u(i.value)});q(()=>{n.current&&r()});let a=ae(i=>{n.current=i(t),r()});return[t,a]}const hr={prefix:String(Math.round(Math.random()*1e10)),current:0},bs=o.createContext(hr),y$=o.createContext(!1);let v$=!!(typeof window<"u"&&window.document&&window.document.createElement),ha=new WeakMap;function x$(e=!1){let t=o.useContext(bs),u=o.useRef(null);if(u.current===null&&!e){var n,r;let a=(r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(n=r.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let i=ha.get(a);i==null?ha.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,ha.delete(a))}u.current=++t.current}return u.current}function C$(e){let t=o.useContext(bs);t===hr&&!v$&&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 u=x$(!!e),n=t===hr&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function E$(e){let t=o.useId(),[u]=o.useState(zt()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${hr.prefix}`;return e||`${n}-${t}`}const B$=typeof o.useId=="function"?E$:C$;function k$(){return!1}function P$(){return!0}function S$(e){return()=>{}}function zt(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(S$,k$,P$):o.useContext(y$)}let A$=!!(typeof window<"u"&&window.document&&window.document.createElement),Ut=new Map;function ne(e){let[t,u]=o.useState(e),n=o.useRef(null),r=B$(t),a=o.useCallback(i=>{n.current=i},[]);return A$&&(Ut.has(r)&&!Ut.get(r).includes(a)?Ut.set(r,[...Ut.get(r),a]):Ut.set(r,[a])),q(()=>{let i=r;return()=>{Ut.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;i&&(n.current=null,u(i))}),r}function w$(e,t){if(e===t)return e;let u=Ut.get(e);if(u)return u.forEach(r=>r(t)),t;let n=Ut.get(t);return n?(n.forEach(r=>r(e)),e):t}function rt(e=[]){let t=ne(),[u,n]=D$(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return q(r,[t,r,...e]),u}function at(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const fe=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ut=e=>e&&"window"in e&&e.window===e?e:fe(e).defaultView||window;function N(...e){let t={...e[0]};for(let u=1;u<e.length;u++){let n=e[u];for(let r in n){let a=t[r],i=n[r];typeof a=="function"&&typeof i=="function"&&r[0]==="o"&&r[1]==="n"&&r.charCodeAt(2)>=65&&r.charCodeAt(2)<=90?t[r]=at(a,i):(r==="className"||r==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[r]=W(a,i):r==="id"&&a&&i?t.id=w$(a,i):t[r]=i!==void 0?i:a}}return t}function ku(...e){return e.length===1&&e[0]?e[0]:t=>{for(let u of e)typeof u=="function"?u(t):u!=null&&(u.current=t)}}const F$=new Set(["id"]),T$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),R$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),I$=/^(data-.*)$/;function _(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(F$.has(i)||u&&T$.has(i)||n&&R$.has(i)||r!=null&&r.has(i)||I$.test(i))&&(a[i]=e[i]);return a}function Oe(e){if(K$())e.focus({preventScroll:!0});else{let t=M$(e);e.focus(),z$(t)}}let Zn=null;function K$(){if(Zn==null){Zn=!1;try{document.createElement("div").focus({get preventScroll(){return Zn=!0,!0}})}catch{}}return Zn}function M$(e){let t=e.parentNode,u=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&u.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&u.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),u}function z$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function Or(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(u=>e.test(u.brand)))||e.test(window.navigator.userAgent)}function Ki(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 Vt(e){let t=null;return()=>(t==null&&(t=e()),t)}const gt=Vt(function(){return Ki(/^Mac/i)}),V$=Vt(function(){return Ki(/^iPhone/i)}),Mi=Vt(function(){return Ki(/^iPad/i)||gt()&&navigator.maxTouchPoints>1}),Kn=Vt(function(){return V$()||Mi()}),cr=Vt(function(){return gt()||Kn()}),zi=Vt(function(){return Or(/AppleWebKit/i)&&!hs()}),hs=Vt(function(){return Or(/Chrome/i)}),yn=Vt(function(){return Or(/Android/i)}),N$=Vt(function(){return Or(/Firefox/i)}),$s=o.createContext({isNative:!0,open:L$,useHref:e=>e});function gs(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{ys(a,d=>{Ds(d,i)?u(l,s):Qt(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement($s.Provider,{value:r},t)}function Pu(){return o.useContext($s)}function Ds(e,t){let u=e.getAttribute("target");return(!u||u==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Qt(e,t,u=!0){var n,r;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;N$()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(gt()?a=!0:i=!0);let d=zi()&&gt()&&!Mi()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Qt.isOpening=u,Oe(e),e.dispatchEvent(d),Qt.isOpening=!1}Qt.isOpening=!1;function ys(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let u=document.createElement("a");u.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(u.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(u.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(u.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(u.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(u.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(u),t(u),e.removeChild(u)}}function L$(e,t){ys(e,u=>Qt(u,t))}function Vi(e){let t=Pu();var u;const n=t.useHref((u=e.href)!==null&&u!==void 0?u:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function Hr(e){let t=Pu();var u;const n=t.useHref((u=e==null?void 0:e.href)!==null&&u!==void 0?u:"");return{href:e!=null&&e.href?n: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 Vu=new Map,Za=new Set;function _l(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=Vu.get(n.target);r||(r=new Set,Vu.set(n.target,r),n.target.addEventListener("transitioncancel",u,{once:!0})),r.add(n.propertyName)},u=n=>{if(!e(n)||!n.target)return;let r=Vu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),Vu.delete(n.target)),Vu.size===0)){for(let a of Za)a();Za.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?_l():document.addEventListener("DOMContentLoaded",_l));function vs(e){requestAnimationFrame(()=>{Vu.size===0?e():Za.add(e)})}function Ni(){let e=o.useRef(new Map),t=o.useCallback((r,a,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:r,fn:s,options:l}),r.addEventListener(a,s,l)},[]),u=o.useCallback((r,a,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;r.removeEventListener(a,d,l),e.current.delete(i)},[]),n=o.useCallback(()=>{e.current.forEach((r,a)=>{u(r.eventTarget,r.type,a,r.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function Dt(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=ne(u),r&&n?r=[...new Set([u,...r.trim().split(/\s+/)])].join(" "):r&&(r=r.trim().split(/\s+/).join(" ")),!n&&!r&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":r}}function ge(e){const t=o.useRef(null);return o.useMemo(()=>({get current(){return t.current},set current(u){t.current=u,typeof e=="function"?e(u):e&&(e.current=u)}}),[e])}function $r(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function Ol(e,t){const u=o.useRef(!0),n=o.useRef(null);q(()=>(u.current=!0,()=>{u.current=!1}),[]),q(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function j$(){return typeof window.ResizeObserver<"u"}function xu(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(j$()){const a=new window.ResizeObserver(i=>{i.length&&n()});return a.observe(r,{box:u}),()=>{r&&a.unobserve(r)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t,u])}function Li(e,t){q(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function vn(e,t){if(!e)return!1;let u=window.getComputedStyle(e),n=/(auto|scroll)/.test(u.overflow+u.overflowX+u.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Ie(e,t){let u=e;for(vn(u,t)&&(u=u.parentElement);u&&!vn(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function _$(e,t){const u=[];for(;e&&e!==document.documentElement;)vn(e,t)&&u.push(e),e=e.parentElement;return u}let O$=0;const $a=new Map;function vt(e){let[t,u]=o.useState();return q(()=>{if(!e)return;let n=$a.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${O$++}`;u(r);let a=document.createElement("div");a.id=r,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},$a.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),$a.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function st(e,t,u,n){let r=ae(u),a=u==null;o.useEffect(()=>{if(a||!e.current)return;let i=e.current;return i.addEventListener(t,r,n),()=>{i.removeEventListener(t,r,n)}},[e,t,n,a,r])}function xs(e,t){let u=Hl(e,t,"left"),n=Hl(e,t,"top"),r=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d,scrollPaddingTop:c,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:m}=getComputedStyle(e),b=i+parseInt(d,10),h=l+parseInt(s,10),D=b+e.clientWidth,v=h+e.clientHeight,E=parseInt(c,10)||0,y=parseInt(p,10)||0,C=parseInt(f,10)||0,B=parseInt(m,10)||0;u<=i+B?i=u-parseInt(d,10)-B:u+r>D-C&&(i+=u+r-D+C),n<=h+E?l=n-parseInt(s,10)-E:n+a>v-y&&(l+=n+a-v+y),e.scrollLeft=i,e.scrollTop=l}function Hl(e,t,u){const n=u==="left"?"offsetLeft":"offsetTop";let r=0;for(;t.offsetParent&&(r+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){r-=e[n];break}t=t.offsetParent}return r}function Ke(e,t){if(e&&document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let s=_$(e);for(let d of s)xs(d,e)}else{var u;let{left:s,top:d}=e.getBoundingClientRect();e==null||(u=e.scrollIntoView)===null||u===void 0||u.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,r,a;t==null||(r=t.containingElement)===null||r===void 0||(n=r.scrollIntoView)===null||n===void 0||n.call(r,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function qa(e){return e.mozInputSource===0&&e.isTrusted?!0:yn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function H$(e){return!yn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Cs(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function Mn(e,t,u){let n=o.useRef(t),r=ae(()=>{u&&u(n.current)});o.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e,r])}const U$="react-aria-clear-focus",W$="react-aria-focus",Es="react-aria-update-activedescendant";function Nu(e){return gt()?e.metaKey:e.ctrlKey}function Bs(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return q(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,r]),Ps(e,r,o.useCallback(()=>n(!1),[])),r}function ks(e,t){let[u,n]=o.useState(t?"open":"closed");switch(u){case"open":t||n("exiting");break;case"closed":case"exiting":t&&n("open");break}let r=u==="exiting";return Ps(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function Ps(e,t,u){q(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){u();return}let n=e.current.getAnimations();if(n.length===0){u();return}let r=!1;return Promise.all(n.map(a=>a.finished)).then(()=>{r||au.flushSync(()=>{u()})}).catch(()=>{}),()=>{r=!0}}},[e,t,u])}function Re(e,t,u){let[n,r]=o.useState(e||t),a=o.useRef(e!==void 0),i=e!==void 0;o.useEffect(()=>{let d=a.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:n,s=o.useCallback((d,...c)=>{let f=(p,...m)=>{u&&(Object.is(l,p)||u(p,...m)),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"),r((m,...b)=>{let h=d(i?l:m,...b);return f(h,...c),i?m:h})):(i||r(d),f(d,...c))},[i,l,u]);return[l,s]}function Ya(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const ht=Symbol("default");function te({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function H(e){let{className:t,style:u,children:n,defaultClassName:r,defaultChildren:a,defaultStyle:i,values:l}=e;return o.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:r}):s=t,typeof u=="function"?d=u({...l,defaultStyle:i||{}}):d=u,typeof n=="function"?c=n({...l,defaultChildren:a}):n==null?c=a:c=n,{className:s??r,style:d||i?{...i,...d}:void 0,children:c??a,"data-rac":""}},[t,u,n,r,a,i,l])}function je(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=new Intl.ListFormat().format(Object.keys(u.slots).map(a=>`"${a}"`));if(!t&&!u.slots[ht])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let r=t||ht;if(!u.slots[r])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return u.slots[r]}return u}function Y(e,t,u){let n=je(u,e.slot)||{},{ref:r,...a}=n,i=ge(o.useMemo(()=>ku(t,r),[t,r])),l=N(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof a.style=="function"?a.style(s):a.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...a.style,...e.style}),[l,i]}function xt(){let[e,t]=o.useState(!0),u=o.useRef(!1),n=o.useCallback(r=>{u.current=!0,t(!!r)},[]);return q(()=>{u.current||t(!1)},[]),[n,e]}function Xt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class xn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new xn(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.render=this.render,t}constructor(t,u){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=u}}class Ur{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 u=this.keyMap;return{*[Symbol.iterator](){let n=u.get(t),r=(n==null?void 0:n.firstChildKey)!=null?u.get(n.firstChildKey):null;for(;r;)yield r,r=r.nextKey!=null?u.get(r.nextKey):void 0}}}getKeyBefore(t){let u=this.keyMap.get(t);if(!u)return null;if(u.prevKey!=null){for(u=this.keyMap.get(u.prevKey);u&&u.type!=="item"&&u.lastChildKey!=null;)u=this.keyMap.get(u.lastChildKey);var n;return(n=u==null?void 0:u.key)!==null&&n!==void 0?n:null}return u.parentKey}getKeyAfter(t){let u=this.keyMap.get(t);if(!u)return null;if(u.type!=="item"&&u.firstChildKey!=null)return u.firstChildKey;for(;u;){if(u.nextKey!=null)return u.nextKey;if(u.parentKey!=null)u=this.keyMap.get(u.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 u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,u=new t;return u.keyMap=new Map(this.keyMap),u.firstKey=this.firstKey,u.lastKey=this.lastKey,u}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,u,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=u,this.frozen=!n}filter(t){let u=new Ur,n=null;for(let r of this)if(r.type==="section"&&r.hasChildNodes){let a=r.clone(),i=null;for(let l of this.getChildren(r.key))if(t(l.textValue)||l.type==="header"){let s=l.clone();i==null&&(a.firstChildKey=s.key),u.firstKey==null&&(u.firstKey=a.key),i&&i.parentKey===s.parentKey?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,s.nextKey=null,u.addNode(s),i=s}i&&(i.type!=="header"?(a.lastChildKey=i.key,n==null?a.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=a.key,a.prevKey=n.key),a.nextKey=null,n=a,u.addNode(a)):(u.firstKey===a.key&&(u.firstKey=null),u.removeNode(i.key)))}else if(r.type==="separator"){let a=r.clone();a.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=a.key,a.prevKey=n.key,n=a,u.addNode(a))}else if(t(r.textValue)){let a=r.clone();u.firstKey==null&&(u.firstKey=a.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===a.parentKey?(n.nextKey=a.key,a.prevKey=n.key):a.prevKey=null,a.nextKey=null,u.addNode(a),n=a}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let r;n.prevKey!=null&&(r=u.getItem(n.prevKey),r.nextKey=null),u.removeNode(n.key),n=r}return u.lastKey=(n==null?void 0:n.key)||null,u}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}class Ss{*[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,u){if(u==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=u,t.previousSibling=u.previousSibling,t.index=u.index,this.firstChild===u?this.firstChild=t:u.previousSibling&&(u.previousSibling.nextSibling=t),u.previousSibling=t,t.parentNode=u.parentNode;let n=u;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||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let u=t.nextSibling;for(;u;)u.index--,u=u.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 Cn extends Ss{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof Cn?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,u,n,r;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof Cn?this.parentNode.node.key:null;var i;a.prevKey=(i=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&i!==void 0?i:null;var l;a.nextKey=(l=(u=this.nextSibling)===null||u===void 0?void 0:u.node.key)!==null&&l!==void 0?l:null,a.hasChildNodes=!!this.firstChild;var s;a.firstChildKey=(s=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&s!==void 0?s:null;var d;a.lastChildKey=(d=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&d!==void 0?d:null}setProps(t,u,n,r){let a=this.ownerDocument.getMutableNode(this),{value:i,textValue:l,id:s,...d}=t;if(d.ref=u,a.props=d,a.rendered=n,a.render=r,a.value=i,a.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",s!=null&&s!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=s}this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,u){super(u),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new xn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class G$ extends Ss{get isConnected(){return this.isMounted}createElement(t){return new Cn(t,this)}getMutableNode(t){let u=t.node;return this.mutatedNodes.has(t)||(u=t.node.clone(),this.mutatedNodes.add(t),t.node=u),this.markDirty(t),u}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 u=this.getMutableCollection();if(!u.getItem(t.node.key)){u.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof Cn&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,u;let a=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&a.addNode(i.node);var n,r;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(r=(u=this.lastChild)===null||u===void 0?void 0:u.node.key)!==null&&r!==void 0?r: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.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function ji(e){let{children:t,items:u,idScope:n,addIdAndValue:r,dependencies:a=[]}=e,i=o.useMemo(()=>new WeakMap,a);return o.useMemo(()=>{if(u&&typeof t=="function"){let d=[];for(let c of u){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=o.cloneElement(f,r?{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,u,i,n,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 gr=o.createContext(!1),Z$=typeof DocumentFragment<"u"?new DocumentFragment:null;function q$(e){let t=o.useContext(gr),u=zt();if(t)return o.createElement(o.Fragment,null,e.children);let n=o.createElement(gr.Provider,{value:!0},e.children);return u?o.createElement("template",{"data-react-aria-hidden":!0},n):au.createPortal(n,Z$)}function Wr(e){let t=(u,n)=>o.useContext(gr)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function Y$(){return o.useContext(gr)}var Ja={exports:{}},ga={};/**
2
2
  * @license React
3
3
  * use-sync-external-store-shim.production.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 Ul;function X$(){if(Ul)return ga;Ul=1;var e=o;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var u=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function l(f,p){var m=p(),b=n({inst:{value:m,getSnapshot:p}}),h=b[0].inst,D=b[1];return a(function(){h.value=m,h.getSnapshot=p,s(h)&&D({inst:h})},[f,m,p]),r(function(){return s(h)&&D({inst:h}),f(function(){s(h)&&D({inst:h})})},[f]),i(m),m}function s(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!u(f,m)}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 ga.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,ga}var Da={};/**
9
+ */var Ul;function J$(){if(Ul)return ga;Ul=1;var e=o;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var u=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function l(f,p){var m=p(),b=n({inst:{value:m,getSnapshot:p}}),h=b[0].inst,D=b[1];return a(function(){h.value=m,h.getSnapshot=p,s(h)&&D({inst:h})},[f,m,p]),r(function(){return s(h)&&D({inst:h}),f(function(){s(h)&&D({inst:h})})},[f]),i(m),m}function s(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!u(f,m)}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 ga.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,ga}var Da={};/**
10
10
  * @license React
11
11
  * use-sync-external-store-shim.development.js
12
12
  *
@@ -14,53 +14,53 @@
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 Wl;function eg(){return Wl||(Wl=1,process.env.NODE_ENV!=="production"&&function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){c||r.startTransition===void 0||(c=!0,console.error("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 h=b();if(!f){var D=b();a(h,D)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}D=i({inst:{value:h,getSnapshot:b}});var v=D[0].inst,E=D[1];return s(function(){v.value=h,v.getSnapshot=b,u(v)&&E({inst:v})},[m,h,b]),l(function(){return u(v)&&E({inst:v}),m(function(){u(v)&&E({inst:v})})},[m]),d(h),h}function u(m){var b=m.getSnapshot;m=m.value;try{var h=b();return!a(m,h)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=o,a=typeof Object.is=="function"?Object.is:e,i=r.useState,l=r.useEffect,s=r.useLayoutEffect,d=r.useDebugValue,c=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Da.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Da}process.env.NODE_ENV==="production"?Ja.exports=X$():Ja.exports=eg();var _i=Ja.exports;const As=o.createContext(!1),kn=o.createContext(null);function jt(e){if(o.useContext(kn))return e.content;let{collection:u,document:n}=rg(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(J$,null,o.createElement(kn.Provider,{value:n},e.content)),o.createElement(tg,{render:e.children,collection:u}))}function tg({collection:e,render:t}){return t(e)}function ug(e,t,u){let n=Nt(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return _i.useSyncExternalStore(e,a)}const ng=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:ug;function rg(e){let[t]=o.useState(()=>new q$((e==null?void 0:e())||new Wr)),u=o.useCallback(i=>t.subscribe(i),[t]),n=o.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),r=o.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),a=ng(u,n,r);return Y(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const Qa=o.createContext(null);function ws(e,t,u,n,r,a){let i=o.useCallback(s=>{s==null||s.setProps(t,u,n,a)},[t,u,n,a]),l=o.useContext(Qa);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e),s.setProps(t,u,n,a),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),r?o.createElement(Qa.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function _t(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{if(!o.useContext(As)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return ws(e,r,a,"children"in r?r.children:null,null,l=>o.createElement(u,{node:l}))});return n.displayName=t.name,n}function Oi(e,t,u=Fs){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=ws(e,a,i,null,l,d=>o.createElement(n,{node:d})))!==null&&s!==void 0?s:o.createElement(o.Fragment,null)});return r.displayName=t.name,r}function Fs(e){return ji({...e,addIdAndValue:!0})}const Gl=o.createContext(null);function ft(e){let t=o.useContext(Gl),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=Fs({...e,idScope:n,dependencies:u});return o.useContext(kn)&&(r=o.createElement(ag,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(Gl.Provider,{value:t},r)}function ag({children:e}){let t=o.useContext(kn),u=o.useMemo(()=>o.createElement(kn.Provider,{value:null},o.createElement(As.Provider,{value:!0},e)),[e]);return Nt()?o.createElement(Qa.Provider,{value:t},u):iu.createPortal(u,t)}const Et=o.createContext({}),Ts=Gr(function(t,u){[t,u]=q(t,u,Et);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})});let ju="default",Xa="",pr=new WeakMap;function Zl(e){if(Mn()){if(ju==="default"){const t=fe(e);Xa=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ju="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(pr.set(e,e.style.userSelect),e.style.userSelect="none")}function Yn(e){if(Mn()){if(ju!=="disabled")return;ju="restoring",setTimeout(()=>{vs(()=>{if(ju==="restoring"){const t=fe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Xa||""),Xa="",ju="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&pr.has(e)){let t=pr.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),pr.delete(e)}}const Pn=o.createContext({register:()=>{}});Pn.displayName="PressResponderContext";function ig(e,t){return t.get?t.get.call(e):t.value}function Rs(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function lg(e,t){var u=Rs(e,t,"get");return ig(e,u)}function og(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vn(e,t,u){og(e,t),t.set(e,u)}function sg(e,t,u){if(t.set)t.set.call(e,u);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=u}}function ql(e,t,u){var n=Rs(e,t,"set");return sg(e,n,u),u}function dg(e){let t=o.useContext(Pn);if(t){let{register:u,...n}=t;e=N(n,e),u()}return Li(t,e.ref),e}var Jn=new WeakMap;class Qn{continuePropagation(){ql(this,Jn,!1)}get shouldStopPropagation(){return lg(this,Jn)}constructor(t,u,n,r){Vn(this,Jn,{writable:!0,value:void 0}),ql(this,Jn,!0);var a;let i=(a=r==null?void 0:r.target)!==null&&a!==void 0?a:n.currentTarget;const l=i==null?void 0:i.getBoundingClientRect();let s,d=0,c,f=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,f=n.clientY),l&&(c!=null&&f!=null?(s=c-l.left,d=f-l.top):(s=l.width/2,d=l.height/2)),this.type=t,this.pointerType=u,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=d}}const Yl=Symbol("linkClicked");function Ge(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:r,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=dg(e),[m,b]=o.useState(!1),h=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:D,removeAllGlobalListeners:v}=Ni(),E=ae(($,T)=>{let A=h.current;if(i||A.didFirePressStart)return!1;let k=!0;if(A.isTriggeringEvent=!0,n){let z=new Qn("pressstart",T,$);n(z),k=z.shouldStopPropagation}return u&&u(!0),A.isTriggeringEvent=!1,A.didFirePressStart=!0,b(!0),k}),y=ae(($,T,A=!0)=>{let k=h.current;if(!k.didFirePressStart)return!1;k.ignoreClickAfterPress=!0,k.didFirePressStart=!1,k.isTriggeringEvent=!0;let z=!0;if(r){let x=new Qn("pressend",T,$);r(x),z=x.shouldStopPropagation}if(u&&u(!1),b(!1),t&&A&&!i){let x=new Qn("press",T,$);t(x),z&&(z=x.shouldStopPropagation)}return k.isTriggeringEvent=!1,z}),C=ae(($,T)=>{let A=h.current;if(i)return!1;if(a){A.isTriggeringEvent=!0;let k=new Qn("pressup",T,$);return a(k),A.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ae($=>{let T=h.current;T.isPressed&&T.target&&(T.isOverTarget&&T.pointerType!=null&&y(Pt(T.target,$),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,v(),c||Yn(T.target))}),S=ae($=>{d&&B($)}),R=o.useMemo(()=>{let $=h.current,T={onKeyDown(k){if(ya(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)){var z;Ql(k.target,k.key)&&k.preventDefault();let x=!0;if(!$.isPressed&&!k.repeat){$.target=k.currentTarget,$.isPressed=!0,x=E(k,"keyboard");let w=k.currentTarget,V=F=>{ya(F,w)&&!F.repeat&&w.contains(F.target)&&$.target&&C(Pt($.target,F),"keyboard")};D(fe(k.currentTarget),"keyup",at(V,A),!0)}x&&k.stopPropagation(),k.metaKey&&yt()&&((z=$.metaKeyEvents)===null||z===void 0||z.set(k.key,k.nativeEvent))}else k.key==="Meta"&&($.metaKeyEvents=new Map)},onClick(k){if(!(k&&!k.currentTarget.contains(k.target))&&k&&k.button===0&&!$.isTriggeringEvent&&!eu.isOpening){let z=!0;if(i&&k.preventDefault(),!$.ignoreClickAfterPress&&!$.ignoreEmulatedMouseEvents&&!$.isPressed&&($.pointerType==="virtual"||qa(k.nativeEvent))){!i&&!s&&Oe(k.currentTarget);let x=E(k,"virtual"),w=C(k,"virtual"),V=y(k,"virtual");z=x&&w&&V}$.ignoreEmulatedMouseEvents=!1,$.ignoreClickAfterPress=!1,z&&k.stopPropagation()}}},A=k=>{var z;if($.isPressed&&$.target&&ya(k,$.target)){var x;Ql(k.target,k.key)&&k.preventDefault();let V=k.target;y(Pt($.target,k),"keyboard",$.target.contains(V)),v(),k.key!=="Enter"&&Hi($.target)&&$.target.contains(V)&&!k[Yl]&&(k[Yl]=!0,eu($.target,k,!1)),$.isPressed=!1,(x=$.metaKeyEvents)===null||x===void 0||x.delete(k.key)}else if(k.key==="Meta"&&(!((z=$.metaKeyEvents)===null||z===void 0)&&z.size)){var w;let V=$.metaKeyEvents;$.metaKeyEvents=void 0;for(let F of V.values())(w=$.target)===null||w===void 0||w.dispatchEvent(new KeyboardEvent("keyup",F))}};if(typeof PointerEvent<"u"){T.onPointerDown=w=>{if(w.button!==0||!w.currentTarget.contains(w.target))return;if(W$(w.nativeEvent)){$.pointerType="virtual";return}xa(w.currentTarget)&&w.preventDefault(),$.pointerType=w.pointerType;let V=!0;if(!$.isPressed){$.isPressed=!0,$.isOverTarget=!0,$.activePointerId=w.pointerId,$.target=w.currentTarget,!i&&!s&&Oe(w.currentTarget),c||Zl($.target),V=E(w,$.pointerType);let F=w.target;"releasePointerCapture"in F&&F.releasePointerCapture(w.pointerId),D(fe(w.currentTarget),"pointerup",k,!1),D(fe(w.currentTarget),"pointercancel",x,!1)}V&&w.stopPropagation()},T.onMouseDown=w=>{w.currentTarget.contains(w.target)&&w.button===0&&(xa(w.currentTarget)&&w.preventDefault(),w.stopPropagation())},T.onPointerUp=w=>{!w.currentTarget.contains(w.target)||$.pointerType==="virtual"||w.button===0&&C(w,$.pointerType||w.pointerType)},T.onPointerEnter=w=>{w.pointerId===$.activePointerId&&$.target&&!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,E(Pt($.target,w),$.pointerType))},T.onPointerLeave=w=>{w.pointerId===$.activePointerId&&$.target&&$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,y(Pt($.target,w),$.pointerType,!1),S(w))};let k=w=>{w.pointerId===$.activePointerId&&$.isPressed&&w.button===0&&$.target&&($.target.contains(w.target)&&$.pointerType!=null?y(Pt($.target,w),$.pointerType):$.isOverTarget&&$.pointerType!=null&&y(Pt($.target,w),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,v(),c||Yn($.target),"ontouchend"in $.target&&w.pointerType!=="mouse"&&D($.target,"touchend",z,{once:!0}))},z=w=>{Is(w.currentTarget)&&w.preventDefault()},x=w=>{B(w)};T.onDragStart=w=>{w.currentTarget.contains(w.target)&&B(w)}}else{T.onMouseDown=x=>{if(x.button!==0||!x.currentTarget.contains(x.target))return;if(xa(x.currentTarget)&&x.preventDefault(),$.ignoreEmulatedMouseEvents){x.stopPropagation();return}$.isPressed=!0,$.isOverTarget=!0,$.target=x.currentTarget,$.pointerType=qa(x.nativeEvent)?"virtual":"mouse",!i&&!s&&Oe(x.currentTarget),E(x,$.pointerType)&&x.stopPropagation(),D(fe(x.currentTarget),"mouseup",k,!1)},T.onMouseEnter=x=>{if(!x.currentTarget.contains(x.target))return;let w=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!0,w=E(x,$.pointerType)),w&&x.stopPropagation()},T.onMouseLeave=x=>{if(!x.currentTarget.contains(x.target))return;let w=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!1,w=y(x,$.pointerType,!1),S(x)),w&&x.stopPropagation()},T.onMouseUp=x=>{x.currentTarget.contains(x.target)&&!$.ignoreEmulatedMouseEvents&&x.button===0&&C(x,$.pointerType||"mouse")};let k=x=>{if(x.button===0){if($.isPressed=!1,v(),$.ignoreEmulatedMouseEvents){$.ignoreEmulatedMouseEvents=!1;return}$.target&&va(x,$.target)&&$.pointerType!=null?y(Pt($.target,x),$.pointerType):$.target&&$.isOverTarget&&$.pointerType!=null&&y(Pt($.target,x),$.pointerType,!1),$.isOverTarget=!1}};T.onTouchStart=x=>{if(!x.currentTarget.contains(x.target))return;let w=cg(x.nativeEvent);if(!w)return;$.activePointerId=w.identifier,$.ignoreEmulatedMouseEvents=!0,$.isOverTarget=!0,$.isPressed=!0,$.target=x.currentTarget,$.pointerType="touch",!i&&!s&&Oe(x.currentTarget),c||Zl($.target),E(Ut($.target,x),$.pointerType)&&x.stopPropagation(),D(ut(x.currentTarget),"scroll",z,!0)},T.onTouchMove=x=>{if(!x.currentTarget.contains(x.target))return;if(!$.isPressed){x.stopPropagation();return}let w=Jl(x.nativeEvent,$.activePointerId),V=!0;w&&va(w,x.currentTarget)?!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,V=E(Ut($.target,x),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,V=y(Ut($.target,x),$.pointerType,!1),S(Ut($.target,x))),V&&x.stopPropagation()},T.onTouchEnd=x=>{if(!x.currentTarget.contains(x.target))return;if(!$.isPressed){x.stopPropagation();return}let w=Jl(x.nativeEvent,$.activePointerId),V=!0;w&&va(w,x.currentTarget)&&$.pointerType!=null?(C(Ut($.target,x),$.pointerType),V=y(Ut($.target,x),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&(V=y(Ut($.target,x),$.pointerType,!1)),V&&x.stopPropagation(),$.isPressed=!1,$.activePointerId=null,$.isOverTarget=!1,$.ignoreEmulatedMouseEvents=!0,$.target&&!c&&Yn($.target),v()},T.onTouchCancel=x=>{x.currentTarget.contains(x.target)&&(x.stopPropagation(),$.isPressed&&B(Ut($.target,x)))};let z=x=>{$.isPressed&&x.target.contains($.target)&&B({currentTarget:$.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};T.onDragStart=x=>{x.currentTarget.contains(x.target)&&B(x)}}return T},[D,i,s,v,c,B,S,y,E,C]);return o.useEffect(()=>()=>{var $;c||Yn(($=h.current.target)!==null&&$!==void 0?$:void 0)},[c]),{isPressed:l||m,pressProps:N(p,R)}}function Hi(e){return e.tagName==="A"&&e.hasAttribute("href")}function ya(e,t){const{key:u,code:n}=e,r=t,a=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof ut(r).HTMLInputElement&&!Ks(r,u)||r instanceof ut(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&Hi(r))&&u!=="Enter")}function cg(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Jl(e,t){const u=e.changedTouches;for(let n=0;n<u.length;n++){const r=u[n];if(r.identifier===t)return r}return null}function Ut(e,t){let u=0,n=0;return t.targetTouches&&t.targetTouches.length===1&&(u=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function Pt(e,t){let u=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function fg(e){let t=0,u=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?u=e.height/2:e.radiusY!==void 0&&(u=e.radiusY),{top:e.clientY-u,right:e.clientX+t,bottom:e.clientY+u,left:e.clientX-t}}function pg(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function va(e,t){let u=t.getBoundingClientRect(),n=fg(e);return pg(u,n)}function xa(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Is(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Hi(e)}function Ql(e,t){return e instanceof HTMLInputElement?!Ks(e,t):Is(e)}const mg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ks(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":mg.has(e.type)}const Ui=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(Pn);u=ge(u||(r==null?void 0:r.ref));let a=N(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return Li(r,u),o.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)},[]),o.createElement(Pn.Provider,{value:a},e)});function bg({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(Pn.Provider,{value:t},e)}class hg{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,u){this.nativeEvent=u,this.target=u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget,this.bubbles=u.bubbles,this.cancelable=u.cancelable,this.defaultPrevented=u.defaultPrevented,this.eventPhase=u.eventPhase,this.isTrusted=u.isTrusted,this.timeStamp=u.timeStamp,this.type=t}}function Ms(e){let t=o.useRef({isFocused:!1,observer:null});Y(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let u=ae(n=>{e==null||e(n)});return o.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target,a=i=>{t.current.isFocused=!1,r.disabled&&u(new hg("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[u])}function Zr(e){let{isDisabled:t,onFocus:u,onBlur:n,onFocusChange:r}=e;const a=o.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),r&&r(!1),!0},[n,r]),i=Ms(a),l=o.useCallback(s=>{const d=fe(s.target);s.target===s.currentTarget&&d.activeElement===s.target&&(u&&u(s),r&&r(!0),i(s))},[r,u,i]);return{focusProps:{onFocus:!t&&(u||r||n)?l:void 0,onBlur:!t&&(n||r)?a:void 0}}}let Vt=null,Sn=new Set,gn=new Map,Cu=!1,ei=!1;const $g={Tab:!0,Escape:!0};function qr(e,t){for(let u of Sn)u(e,t)}function gg(e){return!(e.metaKey||!yt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function yr(e){Cu=!0,gg(e)&&(Vt="keyboard",qr("keyboard",e))}function tt(e){Vt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Cu=!0,qr("pointer",e))}function zs(e){qa(e)&&(Cu=!0,Vt="virtual")}function Vs(e){e.target===window||e.target===document||(!Cu&&!ei&&(Vt="virtual",qr("virtual",e)),Cu=!1,ei=!1)}function Ns(){Cu=!1,ei=!0}function vr(e){if(typeof window>"u"||gn.get(ut(e)))return;const t=ut(e),u=fe(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Cu=!0,n.apply(this,arguments)},u.addEventListener("keydown",yr,!0),u.addEventListener("keyup",yr,!0),u.addEventListener("click",zs,!0),t.addEventListener("focus",Vs,!0),t.addEventListener("blur",Ns,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",tt,!0),u.addEventListener("pointermove",tt,!0),u.addEventListener("pointerup",tt,!0)):(u.addEventListener("mousedown",tt,!0),u.addEventListener("mousemove",tt,!0),u.addEventListener("mouseup",tt,!0)),t.addEventListener("beforeunload",()=>{Ls(e)},{once:!0}),gn.set(t,{focus:n})}const Ls=(e,t)=>{const u=ut(e),n=fe(e);t&&n.removeEventListener("DOMContentLoaded",t),gn.has(u)&&(u.HTMLElement.prototype.focus=gn.get(u).focus,n.removeEventListener("keydown",yr,!0),n.removeEventListener("keyup",yr,!0),n.removeEventListener("click",zs,!0),u.removeEventListener("focus",Vs,!0),u.removeEventListener("blur",Ns,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",tt,!0),n.removeEventListener("pointermove",tt,!0),n.removeEventListener("pointerup",tt,!0)):(n.removeEventListener("mousedown",tt,!0),n.removeEventListener("mousemove",tt,!0),n.removeEventListener("mouseup",tt,!0)),gn.delete(u))};function Dg(e){const t=fe(e);let u;return t.readyState!=="loading"?vr(e):(u=()=>{vr(e)},t.addEventListener("DOMContentLoaded",u)),()=>Ls(e,u)}typeof document<"u"&&Dg();function tu(){return Vt!=="pointer"}function uu(){return Vt}function js(e){Vt=e,qr(e,null)}function Wi(){vr();let[e,t]=o.useState(Vt);return o.useEffect(()=>{let u=()=>{t(Vt)};return Sn.add(u),()=>{Sn.delete(u)}},[]),Nt()?null:e}const yg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function vg(e,t,u){var n;const r=typeof window<"u"?ut(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?ut(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?ut(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?ut(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||(u==null?void 0:u.target)instanceof r&&!yg.has(u==null||(n=u.target)===null||n===void 0?void 0:n.type)||(u==null?void 0:u.target)instanceof a||(u==null?void 0:u.target)instanceof i&&(u==null?void 0:u.target.isContentEditable),!(e&&t==="keyboard"&&u instanceof l&&!$g[u.key])}function xg(e,t,u){vr(),o.useEffect(()=>{let n=(r,a)=>{vg(!!(u!=null&&u.isTextInput),r,a)&&e(tu())};return Sn.add(n),()=>{Sn.delete(n)}},t)}function pt(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,a=o.useRef({isFocusWithin:!1}),i=o.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,u&&u(d),r&&r(!1))},[u,r,a]),l=Ms(i),s=o.useCallback(d=>{!a.current.isFocusWithin&&document.activeElement===d.target&&(n&&n(d),r&&r(!0),a.current.isFocusWithin=!0,l(d))},[n,r,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let xr=!1,Ca=0;function ti(){xr=!0,setTimeout(()=>{xr=!1},50)}function Xl(e){e.pointerType==="touch"&&ti()}function Cg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Xl):document.addEventListener("touchend",ti),Ca++,()=>{Ca--,!(Ca>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Xl):document.removeEventListener("touchend",ti))}}function De(e){let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,isDisabled:r}=e,[a,i]=o.useState(!1),l=o.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;o.useEffect(Cg,[]);let{hoverProps:s,triggerHoverEnd:d}=o.useMemo(()=>{let c=(m,b)=>{if(l.pointerType=b,r||b==="touch"||l.isHovered||!m.currentTarget.contains(m.target))return;l.isHovered=!0;let h=m.currentTarget;l.target=h,t&&t({type:"hoverstart",target:h,pointerType:b}),u&&u(!0),i(!0)},f=(m,b)=>{if(l.pointerType="",l.target=null,b==="touch"||!l.isHovered)return;l.isHovered=!1;let h=m.currentTarget;n&&n({type:"hoverend",target:h,pointerType:b}),u&&u(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{xr&&m.pointerType==="mouse"||c(m,m.pointerType)},p.onPointerLeave=m=>{!r&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!l.ignoreEmulatedMouseEvents&&!xr&&c(m,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!r&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,u,n,r,l]);return o.useEffect(()=>{r&&d({currentTarget:l.target},l.pointerType)},[r]),{hoverProps:s,isHovered:a}}function Eg(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ae(s=>{u&&Xn(s,t)&&(r&&r(s),a.current.isPointerDown=!0)}),l=ae(s=>{u&&u(s)});o.useEffect(()=>{let s=a.current;if(n)return;const d=t.current,c=fe(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Xn(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=m=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Xn(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Xn(m,t)&&l(m),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 Xn(e,t){if(e.button>0)return!1;if(e.target){const u=e.target.ownerDocument;if(!u||!u.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function eo(e){if(!e)return;let t=!0;return u=>{let n={...u,preventDefault(){u.preventDefault()},isDefaultPrevented(){return u.isDefaultPrevented()},stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(n),t&&u.stopPropagation()}}function _s(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:eo(e.onKeyDown),onKeyUp:eo(e.onKeyUp)}}}const Bg=500;function Os(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=Bg,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=Ni(),{pressProps:c}=Ge({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(u&&u({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),r&&r({...p,type:"longpress"}),l.current=void 0},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};s(p.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=Ct(r&&!t?i:void 0);return{longPressProps:N(c,f)}}function xe(e){const t=fe(e);if(uu()==="virtual"){let u=t.activeElement;vs(()=>{t.activeElement===u&&e.isConnected&&Oe(e)})}else Oe(e)}function kg(e){const t=ut(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:u,visibility:n}=e.style,r=u!=="none"&&n!=="hidden"&&n!=="collapse";if(r){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:l}=a(e);r=i!=="none"&&l!=="hidden"&&l!=="collapse"}return r}function Pg(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 Hs(e,t){return e.nodeName!=="#comment"&&kg(e)&&Pg(e,t)&&(!e.parentElement||Hs(e.parentElement,e))}const to=o.createContext(null),ui="react-aria-focus-scope-restore";let ce=null;function Nn(e){let{children:t,contain:u,restoreFocus:n,autoFocus:r}=e,a=o.useRef(null),i=o.useRef(null),l=o.useRef([]),{parentNode:s}=o.useContext(to)||{},d=o.useMemo(()=>new ri({scopeRef:l}),[l]);Y(()=>{let p=s||Be.root;if(Be.getTreeNode(p.scopeRef)&&ce&&!Cr(ce,p.scopeRef)){let m=Be.getTreeNode(ce);m&&(p=m)}p.addChild(d),Be.addNode(d)},[d,s]),Y(()=>{let p=Be.getTreeNode(l);p&&(p.contain=!!u)},[u]),Y(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],h=D=>D.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(ui,h),m=m.nextSibling;return l.current=b,()=>{for(let D of b)D.removeEventListener(ui,h)}},[t]),Ig(l,n,u),Fg(l,u),Kg(l,n,u),Rg(l,r),o.useEffect(()=>{const p=fe(l.current?l.current[0]:void 0).activeElement;let m=null;if(it(p,l.current)){for(let b of Be.traverse())b.scopeRef&&it(p,b.scopeRef.current)&&(m=b);m===Be.getTreeNode(l)&&(ce=m.scopeRef)}},[l]),Y(()=>()=>{var p,m,b;let h=(b=(m=Be.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===ce||Cr(l,ce))&&(!h||Be.getTreeNode(h))&&(ce=h),Be.removeTreeNode(l)},[l]);let c=o.useMemo(()=>Sg(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(to.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Sg(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||fe(u[0]).activeElement,s=u[0].previousElementSibling,d=gu(u),c=Pe(d,{tabbable:r,accept:i},u);c.currentNode=it(l,u)?l:s;let f=c.nextNode();return!f&&a&&(c.currentNode=s,f=c.nextNode()),f&&_e(f,!0),f},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||fe(u[0]).activeElement,s=u[u.length-1].nextElementSibling,d=gu(u),c=Pe(d,{tabbable:r,accept:i},u);c.currentNode=it(l,u)?l:s;let f=c.previousNode();return!f&&a&&(c.currentNode=s,f=c.previousNode()),f&&_e(f,!0),f},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=gu(u),i=Pe(a,{tabbable:n,accept:r},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&_e(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=gu(u),i=Pe(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&_e(l,!0),l}}}const Gi=["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]:not([contenteditable^="false"])'],Us=Gi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Gi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Ag=Gi.join(':not([hidden]):not([tabindex="-1"]),');function wg(e){return e.matches(Us)}function gu(e){return e[0].parentElement}function pn(e){let t=Be.getTreeNode(ce);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Fg(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);Y(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=fe(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!pn(e)||d.isComposing)return;let c=a.activeElement,f=e.current;if(!f||!it(c,f))return;let p=gu(f),m=Pe(p,{tabbable:!0},f);if(!c)return;m.currentNode=c;let b=d.shiftKey?m.previousNode():m.nextNode();b||(m.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,b=d.shiftKey?m.previousNode():m.nextNode()),d.preventDefault(),b&&_e(b,!0)},l=d=>{(!ce||Cr(ce,e))&&it(d.target,e.current)?(ce=e,u.current=d.target):pn(e)&&!Jt(d.target,e)?u.current?u.current.focus():ce&&ce.current&&ni(ce.current):pn(e)&&(u.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=uu();if(!((c==="virtual"||c===null)&&xn()&&hs())&&a.activeElement&&pn(e)&&!Jt(a.activeElement,e))if(ce=e,a.body.contains(d.target)){var p;u.current=d.target,(p=u.current)===null||p===void 0||p.focus()}else ce.current&&ni(ce.current)})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",l,!1),r==null||r.forEach(d=>d.addEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",l,!1),r==null||r.forEach(d=>d.removeEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),Y(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Ws(e){return Jt(e)}function it(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function Jt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Be.traverse(Be.getTreeNode(t)))if(u&&it(e,u.current))return!0;return!1}function Tg(e){return Jt(e,ce)}function Cr(e,t){var u;let n=(u=Be.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function _e(e,t=!1){if(e!=null&&!t)try{xe(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Gs(e,t=!0){let u=e[0].previousElementSibling,n=gu(e),r=Pe(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=gu(e),r=Pe(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function ni(e,t=!0){_e(Gs(e,t))}function Rg(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){ce=e;const n=fe(e.current?e.current[0]:void 0);!it(n.activeElement,ce.current)&&e.current&&ni(e.current)}u.current=!1},[e])}function Ig(e,t,u){Y(()=>{if(t||u)return;let n=e.current;const r=fe(n?n[0]:void 0);let a=i=>{let l=i.target;it(l,e.current)?ce=e:Ws(l)||(ce=null)};return r.addEventListener("focusin",a,!1),n==null||n.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{r.removeEventListener("focusin",a,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,u])}function uo(e){let t=Be.getTreeNode(ce);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Kg(e,t,u){const n=o.useRef(typeof document<"u"?fe(e.current?e.current[0]:void 0).activeElement:null);Y(()=>{let r=e.current;const a=fe(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!ce||Cr(ce,e))&&it(a.activeElement,e.current)&&(ce=e)};return a.addEventListener("focusin",i,!1),r==null||r.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),r==null||r.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,u]),Y(()=>{const r=fe(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!pn(e)||i.isComposing)return;let l=r.activeElement;if(!Jt(l,e)||!uo(e))return;let s=Be.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=Pe(r.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!r.body.contains(d)||d===r.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!Jt(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(Jt(f,e));i.preventDefault(),i.stopPropagation(),f?_e(f,!0):Ws(d)?_e(d,!0):l.blur()}};return u||r.addEventListener("keydown",a,!0),()=>{u||r.removeEventListener("keydown",a,!0)}},[e,t,u]),Y(()=>{const r=fe(e.current?e.current[0]:void 0);if(!t)return;let a=Be.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Be.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(r.activeElement&&Jt(r.activeElement,e)||r.activeElement===r.body&&uo(e))){let d=Be.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){no(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Be.getTreeNode(c.scopeRef)){let f=Gs(c.scopeRef.current,!0);no(f);return}c=c.parent}}})}}}},[e,t])}function no(e){e.dispatchEvent(new CustomEvent(ui,{bubbles:!0,cancelable:!0}))&&_e(e)}function Pe(e,t,u){let n=t!=null&&t.tabbable?Ag:Us,r=fe(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Hs(a)&&(!u||it(a,u))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(r.currentNode=t.from),r}function Yr(e,t={}){return{focusNext(u={}){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||fe(n).activeElement,d=Pe(n,{tabbable:a,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&i&&(d.currentNode=n,c=d.nextNode()),c&&_e(c,!0),c},focusPrevious(u=t){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||fe(n).activeElement,d=Pe(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=Ea(d);return f&&_e(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=Ea(d);if(!f)return null;c=f}return c&&_e(c,!0),c??null},focusFirst(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,l=Pe(n,{tabbable:r,accept:a}).nextNode();return l&&_e(l,!0),l},focusLast(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,i=Pe(n,{tabbable:r,accept:a}),l=Ea(i);return l&&_e(l,!0),l??null}}}function Ea(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Zi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,u,n){let r=this.fastMap.get(u??null);if(!r)return;let a=new ri({scopeRef:t});r.addChild(a),a.parent=r,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let u=this.fastMap.get(t);if(!u)return;let n=u.parent;for(let a of this.traverse())a!==u&&u.nodeToRestore&&a.nodeToRestore&&u.scopeRef&&u.scopeRef.current&&it(a.nodeToRestore,u.scopeRef.current)&&(a.nodeToRestore=u.nodeToRestore);let r=u.children;n&&(n.removeChild(u),r.size>0&&r.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(u.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let u of t.children)yield*this.traverse(u)}clone(){var t;let u=new Zi;var n;for(let r of this.traverse())u.addTreeNode(r.scopeRef,(n=(t=r.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,r.nodeToRestore);return u}constructor(){this.fastMap=new Map,this.root=new ri({scopeRef:null}),this.fastMap.set(null,this.root)}}class ri{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 Be=new Zi;function oe(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||tu()}),[a,i]=o.useState(!1),[l,s]=o.useState(()=>r.current.isFocused&&r.current.isFocusVisible),d=o.useCallback(()=>s(r.current.isFocused&&r.current.isFocusVisible),[]),c=o.useCallback(m=>{r.current.isFocused=m,i(m),d()},[d]);xg(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=Zr({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=pt({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}let Zs=o.createContext(null);function Mg(e){let t=o.useContext(Zs)||{};Li(t,e);let{ref:u,...n}=t;return n}const zg=o.forwardRef(function(t,u){let{children:n,...r}=t,a=ge(u),i={...r,ref:a};return o.createElement(Zs.Provider,{value:i},n)});function Au(e,t){let{focusProps:u}=Zr(e),{keyboardProps:n}=_s(e),r=N(u,n),a=Mg(t),i=e.isDisabled?{}:a,l=o.useRef(e.autoFocus);return o.useEffect(()=>{l.current&&t.current&&xe(t.current),l.current=!1},[t]),{focusableProps:N({...r,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function qi(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return Y(()=>{if(e!=null&&e.current&&!u){let a=()=>{if(e.current){let l=Pe(e.current,{tabbable:!0});r(!!l.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),u?!1:n}function Vg(e,t){let{elementType:u="a",onPress:n,onPressStart:r,onPressEnd:a,onClick:i,isDisabled:l,...s}=e,d={};u!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=Au(e,t),{pressProps:f,isPressed:p}=Ge({onPress:n,onPressStart:r,onPressEnd:a,isDisabled:l,ref:t}),m=_(s,{labelable:!0}),b=N(c,f),h=Su(),D=Ur(e);return{isPressed:p,linkProps:N(m,D,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:v=>{var E;(E=f.onClick)===null||E===void 0||E.call(f,v),i&&(i(v),console.warn("onClick is deprecated, please use onPress")),!h.isNative&&v.currentTarget instanceof HTMLAnchorElement&&v.currentTarget.href&&!v.isDefaultPrevented()&&Ds(v.currentTarget,v)&&e.href&&(v.preventDefault(),h.open(v.currentTarget,v,e.href,e.routerOptions))}})}}var qs={};qs={breadcrumbs:"عناصر الواجهة"};var Ys={};Ys={breadcrumbs:"Трохи хляб"};var Js={};Js={breadcrumbs:"Popis cesty"};var Qs={};Qs={breadcrumbs:"Brødkrummer"};var Xs={};Xs={breadcrumbs:"Breadcrumbs"};var ed={};ed={breadcrumbs:"Πλοηγήσεις breadcrumb"};var td={};td={breadcrumbs:"Breadcrumbs"};var ud={};ud={breadcrumbs:"Migas de pan"};var nd={};nd={breadcrumbs:"Lingiread"};var rd={};rd={breadcrumbs:"Navigointilinkit"};var ad={};ad={breadcrumbs:"Chemin de navigation"};var id={};id={breadcrumbs:"שבילי ניווט"};var ld={};ld={breadcrumbs:"Navigacijski putovi"};var od={};od={breadcrumbs:"Morzsamenü"};var sd={};sd={breadcrumbs:"Breadcrumb"};var dd={};dd={breadcrumbs:"パンくずリスト"};var cd={};cd={breadcrumbs:"탐색 표시"};var fd={};fd={breadcrumbs:"Naršymo kelias"};var pd={};pd={breadcrumbs:"Atpakaļceļi"};var md={};md={breadcrumbs:"Navigasjonsstier"};var bd={};bd={breadcrumbs:"Broodkruimels"};var hd={};hd={breadcrumbs:"Struktura nawigacyjna"};var $d={};$d={breadcrumbs:"Caminho detalhado"};var gd={};gd={breadcrumbs:"Categorias"};var Dd={};Dd={breadcrumbs:"Miez de pâine"};var yd={};yd={breadcrumbs:"Навигация"};var vd={};vd={breadcrumbs:"Navigačné prvky Breadcrumbs"};var xd={};xd={breadcrumbs:"Drobtine"};var Cd={};Cd={breadcrumbs:"Putanje navigacije"};var Ed={};Ed={breadcrumbs:"Sökvägar"};var Bd={};Bd={breadcrumbs:"İçerik haritaları"};var kd={};kd={breadcrumbs:"Навігаційна стежка"};var Pd={};Pd={breadcrumbs:"导航栏"};var Sd={};Sd={breadcrumbs:"導覽列"};var Ad={};Ad={"ar-AE":qs,"bg-BG":Ys,"cs-CZ":Js,"da-DK":Qs,"de-DE":Xs,"el-GR":ed,"en-US":td,"es-ES":ud,"et-EE":nd,"fi-FI":rd,"fr-FR":ad,"he-IL":id,"hr-HR":ld,"hu-HU":od,"it-IT":sd,"ja-JP":dd,"ko-KR":cd,"lt-LT":fd,"lv-LV":pd,"nb-NO":md,"nl-NL":bd,"pl-PL":hd,"pt-BR":$d,"pt-PT":gd,"ro-RO":Dd,"ru-RU":yd,"sk-SK":vd,"sl-SI":xd,"sr-SP":Cd,"sv-SE":Ed,"tr-TR":Bd,"uk-UA":kd,"zh-CN":Pd,"zh-TW":Sd};const Ng=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Lg=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function jg(e){if(Intl.Locale){let u=new Intl.Locale(e).maximize(),n=typeof u.getTextInfo=="function"?u.getTextInfo():u.textInfo;if(n)return n.direction==="rtl";if(u.script)return Ng.has(u.script)}let t=e.split("-")[0];return Lg.has(t)}const _g=Symbol.for("react-aria.i18n.locale");function wd(){let e=typeof window<"u"&&window[_g]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:jg(e)?"rtl":"ltr"}}let ai=wd(),mn=new Set;function ro(){ai=wd();for(let e of mn)e(ai)}function Og(){let e=Nt(),[t,u]=o.useState(ai);return o.useEffect(()=>(mn.size===0&&window.addEventListener("languagechange",ro),mn.add(u),()=>{mn.delete(u),mn.size===0&&window.removeEventListener("languagechange",ro)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Hg=o.createContext(null);function pe(){let e=Og();return o.useContext(Hg)||e}const Ug=Symbol.for("react-aria.i18n.locale"),Wg=Symbol.for("react-aria.i18n.strings");let Iu;class lu{getStringForLocale(t,u){let r=this.getStringsForLocale(u)[t];if(!r)throw new Error(`Could not find intl message ${t} in ${u} locale`);return r}getStringsForLocale(t){let u=this.strings[t];return u||(u=Gg(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[Ug];if(Iu===void 0){let r=window[Wg];if(!r)return null;Iu={};for(let a in r)Iu[a]=new lu({[u]:r[a]},u)}let n=Iu==null?void 0:Iu[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,u="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=u}}function Gg(e,t,u="en-US"){if(t[e])return t[e];let n=Zg(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function Zg(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const ao=new Map,io=new Map;class Fd{format(t,u){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(u,this):n}plural(t,u,n="cardinal"){let r=u["="+t];if(r)return typeof r=="function"?r():r;let a=this.locale+":"+n,i=ao.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),ao.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=io.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),io.set(this.locale,u)),u.format(t)}select(t,u){let n=t[u]||t.other;return typeof n=="function"?n():n}constructor(t,u){this.locale=t,this.strings=u}}const lo=new WeakMap;function qg(e){let t=lo.get(e);return t||(t=new lu(e),lo.set(e,t)),t}function Td(e,t){return t&&lu.getGlobalDictionaryForPackage(t)||qg(e)}function be(e,t){let{locale:u}=pe(),n=Td(e,t);return o.useMemo(()=>new Fd(u,n),[u,n])}function Uu(e,t){return e-t*Math.floor(e/t)}const Rd=1721426;function Du(e,t,u,n){t=Ln(e,t);let r=t-1,a=-2;return u<=2?a=0:Qt(t)&&(a=-1),Rd-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*u-362)/12+a+n)}function Qt(e){return e%4===0&&(e%100!==0||e%400===0)}function Ln(e,t){return e==="BC"?1-t:t}function Jr(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Yg={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 He{fromJulianDay(t){let u=t,n=u-Rd,r=Math.floor(n/146097),a=Uu(n,146097),i=Math.floor(a/36524),l=Uu(a,36524),s=Math.floor(l/1461),d=Uu(l,1461),c=Math.floor(d/365),f=r*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=Jr(f),b=u-Du(p,m,1,1),h=2;u<Du(p,m,3,1)?h=0:Qt(m)&&(h=1);let D=Math.floor(((b+h)*12+373)/367),v=u-Du(p,m,D,1)+1;return new Se(p,m,D,v)}toJulianDay(t){return Du(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Yg[Qt(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Qt(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 Jg={"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 ke(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 Qg(e,t){return t=he(t,e.calendar),e=Eu(e),t=Eu(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function ii(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 Xg(e,t){return ke(e,Ji(t))}const eD={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Yi(e,t,u){let n=e.calendar.toJulianDay(e),r=u?eD[u]:iD(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function Id(e){return Rt(Date.now(),e)}function Ji(e){return je(Id(e))}function Kd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Md(e,t){return oo(e)-oo(t)}function oo(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Ba=null;function Qi(){return Ba==null&&(Ba=new Intl.DateTimeFormat().resolvedOptions().timeZone),Ba}function Eu(e){return e.subtract({days:e.day-1})}function Er(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function tD(e){return Eu(e.subtract({months:e.month-1}))}function uD(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function nD(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function An(e,t,u){let n=Yi(e,t,u);return e.subtract({days:n})}function rD(e,t,u){return An(e,t,u).add({days:6})}const so=new Map;function aD(e){if(Intl.Locale){let u=so.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&so.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function iD(e){let t=aD(e);return t&&Jg[t]||0}function lD(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((Yi(Eu(e),t,u)+n)/7)}function Xi(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function el(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Ju(e){e=he(e,new He);let t=Ln(e.era,e.year);return zd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function zd(e,t,u,n,r,a,i){let l=new Date;return l.setUTCHours(n,r,a,i),l.setUTCFullYear(e,t-1,u),l.getTime()}function li(e,t){if(t==="UTC")return 0;if(e>0&&t===Qi())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=Vd(e,t);return zd(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const co=new Map;function Vd(e,t){let u=co.get(t);u||(u=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),co.set(t,u));let n=u.formatToParts(new Date(e)),r={};for(let a of n)a.type!=="literal"&&(r[a.type]=a.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const fo=864e5;function oD(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>sD(e,t,a))}function sD(e,t,u){let n=Vd(u,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 Ft(e,t,u="compatible"){let n=xt(e);if(t==="UTC")return Ju(n);if(t===Qi()&&u==="compatible"){n=he(n,new He);let s=new Date,d=Ln(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 r=Ju(n),a=li(r-fo,t),i=li(r+fo,t),l=oD(n,t,r-a,r-i);if(l.length===1)return l[0];if(l.length>1)switch(u){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(u){case"earlier":return Math.min(r-a,r-i);case"compatible":case"later":return Math.max(r-a,r-i);case"reject":throw new RangeError("No such absolute time found")}}function Nd(e,t,u="compatible"){return new Date(Ft(e,t,u))}function Rt(e,t){let u=li(e,t),n=new Date(e+u),r=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Fn(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function je(e){return new Se(e.calendar,e.era,e.year,e.month,e.day)}function xt(e,t){let u=0,n=0,r=0,a=0;if("timeZone"in e)({hour:u,minute:n,second:r,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:r,millisecond:a}=t),new Br(e.calendar,e.era,e.year,e.month,e.day,u,n,r,a)}function he(e,t){if(e.calendar.identifier===t.identifier)return e;let u=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=u.era,n.year=u.year,n.month=u.month,n.day=u.day,Bu(n),n}function dD(e,t,u){if(e instanceof Fn)return e.timeZone===t?e:fD(e,t);let n=Ft(e,t,u);return Rt(n,t)}function cD(e){let t=Ju(e)-e.offset;return new Date(t)}function fD(e,t){let u=Ju(e)-e.offset;return he(Rt(u,t),e.calendar)}const nn=36e5;function Qr(e,t){let u=e.copy(),n="hour"in u?Od(u,t):0;oi(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,si(u),Ld(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,pD(u),u.calendar.balanceDate&&u.calendar.balanceDate(u),u.year<1&&(u.year=1,u.month=1,u.day=1);let r=u.calendar.getYearsInEra(u);if(u.year>r){var a,i;let s=(a=(i=u.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,u);u.year=r,u.month=s?1:u.calendar.getMonthsInYear(u),u.day=s?1:u.calendar.getDaysInMonth(u)}u.month<1&&(u.month=1,u.day=1);let l=u.calendar.getMonthsInYear(u);return u.month>l&&(u.month=l,u.day=u.calendar.getDaysInMonth(u)),u.day=Math.max(1,Math.min(u.calendar.getDaysInMonth(u),u.day)),u}function oi(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function si(e){for(;e.month<1;)oi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,oi(e,1)}function pD(e){for(;e.day<1;)e.month--,si(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,si(e)}function Ld(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 Bu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Ld(e)}function tl(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function jd(e,t){return Qr(e,tl(t))}function ul(e,t){let u=e.copy();return t.era!=null&&(u.era=t.era),t.year!=null&&(u.year=t.year),t.month!=null&&(u.month=t.month),t.day!=null&&(u.day=t.day),Bu(u),u}function wn(e,t){let u=e.copy();return t.hour!=null&&(u.hour=t.hour),t.minute!=null&&(u.minute=t.minute),t.second!=null&&(u.second=t.second),t.millisecond!=null&&(u.millisecond=t.millisecond),_d(u),u}function mD(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=er(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=er(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=er(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=er(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 er(e,t){let u=e%t;return u<0&&(u+=t),u}function Od(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,mD(e)}function Hd(e,t){let u=e.copy();return Od(u,t),u}function bD(e,t){return Hd(e,tl(t))}function nl(e,t,u,n){let r=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=It(s,u,0,l.length-1,n==null?void 0:n.round),r.era=l[s],Bu(r);break}case"year":var a,i;!((a=(i=r.calendar).isInverseEra)===null||a===void 0)&&a.call(i,r)&&(u=-u),r.year=It(e.year,u,-1/0,9999,n==null?void 0:n.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e);break;case"month":r.month=It(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":r.day=It(e.day,u,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(r),Bu(r),r}function rl(e,t,u,n){let r=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=a>=12;i=s?12:0,l=s?23:11}r.hour=It(a,u,i,l,n==null?void 0:n.round);break}case"minute":r.minute=It(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":r.second=It(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":r.millisecond=It(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return r}function It(e,t,u,n,r=!1){if(r){e+=Math.sign(t),e<u&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=u)}else e+=t,e<u?e=n-(u-e-1):e>n&&(e=u+(e-n-1));return e}function Ud(e,t){let u;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 r=Qr(xt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=Ft(r,e.timeZone)}else u=Ju(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=Rt(u,e.timeZone);return he(n,e.calendar)}function hD(e,t){return Ud(e,tl(t))}function $D(e,t,u,n){switch(t){case"hour":{let r=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;r=b?12:0,a=b?23:11}let i=xt(e),l=he(wn(i,{hour:r}),new He),s=[Ft(l,e.timeZone,"earlier"),Ft(l,e.timeZone,"later")].filter(b=>Rt(b,e.timeZone).day===l.day)[0],d=he(wn(i,{hour:a}),new He),c=[Ft(d,e.timeZone,"earlier"),Ft(d,e.timeZone,"later")].filter(b=>Rt(b,e.timeZone).day===d.day).pop(),f=Ju(e)-e.offset,p=Math.floor(f/nn),m=f%nn;return f=It(p,u,Math.floor(s/nn),Math.floor(c/nn),n==null?void 0:n.round)*nn+m,he(Rt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return rl(e,t,u,n);case"era":case"year":case"month":case"day":{let r=nl(xt(e),t,u,n),a=Ft(r,e.timeZone);return he(Rt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function gD(e,t,u){let n=xt(e),r=wn(ul(n,t),t);if(r.compare(n)===0)return e;let a=Ft(r,e.timeZone,u);return he(Rt(a,e.timeZone),e.calendar)}function Wd(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 Gd(e){let t=he(e,new He),u;return t.era==="BC"?u=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):u=String(t.year).padStart(4,"0"),`${u}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Zd(e){return`${Gd(e)}T${Wd(e)}`}function DD(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let u=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(u).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function yD(e){return`${Zd(e)}${DD(e.offset)}[${e.timeZone}]`}function al(e){let t=typeof e[0]=="object"?e.shift():new He,u;if(typeof e[0]=="string")u=e.shift();else{let i=t.getEras();u=i[i.length-1]}let n=e.shift(),r=e.shift(),a=e.shift();return[t,u,n,r,a]}var vD=new WeakMap;class Se{copy(){return this.era?new Se(this.calendar,this.era,this.year,this.month,this.day):new Se(this.calendar,this.year,this.month,this.day)}add(t){return Qr(this,t)}subtract(t){return jd(this,t)}set(t){return ul(this,t)}cycle(t,u,n){return nl(this,t,u,n)}toDate(t){return Nd(this,t)}toString(){return Gd(this)}compare(t){return Kd(this,t)}constructor(...t){Vn(this,vD,{writable:!0,value:void 0});let[u,n,r,a,i]=al(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,Bu(this)}}var xD=new WeakMap;class il{copy(){return new il(this.hour,this.minute,this.second,this.millisecond)}add(t){return Hd(this,t)}subtract(t){return bD(this,t)}set(t){return wn(this,t)}cycle(t,u,n){return rl(this,t,u,n)}toString(){return Wd(this)}compare(t){return Md(this,t)}constructor(t=0,u=0,n=0,r=0){Vn(this,xD,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,_d(this)}}var CD=new WeakMap;class Br{copy(){return this.era?new Br(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Br(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Qr(this,t)}subtract(t){return jd(this,t)}set(t){return ul(wn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return nl(this,t,u,n);default:return rl(this,t,u,n)}}toDate(t,u){return Nd(this,t,u)}toString(){return Zd(this)}compare(t){let u=Kd(this,t);return u===0?Md(this,xt(t)):u}constructor(...t){Vn(this,CD,{writable:!0,value:void 0});let[u,n,r,a,i]=al(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Bu(this)}}var ED=new WeakMap;class Fn{copy(){return this.era?new Fn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Fn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ud(this,t)}subtract(t){return hD(this,t)}set(t,u){return gD(this,t,u)}cycle(t,u,n){return $D(this,t,u,n)}toDate(){return cD(this)}toString(){return yD(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-dD(t,this.timeZone).toDate().getTime()}constructor(...t){Vn(this,ED,{writable:!0,value:void 0});let[u,n,r,a,i]=al(t),l=t.shift(),s=t.shift();this.calendar=u,this.era=n,this.year=r,this.month=a,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,Bu(this)}}const Wu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],BD=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],mr=[1867,1911,1925,1988,2018],Zt=["meiji","taisho","showa","heisei","reiwa"];function po(e){const t=Wu.findIndex(([u,n,r])=>e.year<u||e.year===u&&e.month<n||e.year===u&&e.month===n&&e.day<r);return t===-1?Wu.length-1:t===0?0:t-1}function ka(e){let t=mr[Zt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Se(e.year+t,e.month,e.day)}class kD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=po(u);return new Se(this,Zt[n],u.year-mr[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(ka(t))}balanceDate(t){let u=ka(t),n=po(u);Zt[n]!==t.era&&(t.era=Zt[n],t.year=u.year-mr[n]),this.constrainDate(t)}constrainDate(t){let u=Zt.indexOf(t.era),n=BD[u];if(n!=null){let[r,a,i]=n,l=r-mr[u];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&u>=0){let[,r,a]=Wu[u];t.month=Math.max(r,t.month),t.month===r&&(t.day=Math.max(a,t.day))}}getEras(){return Zt}getYearsInEra(t){let u=Zt.indexOf(t.era),n=Wu[u],r=Wu[u+1];if(r==null)return 9999-n[0]+1;let a=r[0]-n[0];return(t.month<r[1]||t.month===r[1]&&t.day<r[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(ka(t))}getMinimumMonthInYear(t){let u=mo(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=mo(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function mo(e){if(e.year===1){let t=Zt.indexOf(e.era);return Wu[t]}}const qd=-543;class PD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=Ln(u.era,u.year);return new Se(this,n-qd,u.month,u.day)}toJulianDay(t){return super.toJulianDay(bo(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(bo(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function bo(e){let[t,u]=Jr(e.year+qd);return new Se(t,u,e.month,e.day)}const kr=1911;function Yd(e){return e.era==="minguo"?e.year+kr:1-e.year+kr}function ho(e){let t=e-kr;return t>0?["minguo",t]:["before_minguo",1-t]}class SD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=Ln(u.era,u.year),[r,a]=ho(n);return new Se(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay($o(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=ho(Yd(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth($o(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-kr}constructor(...t){super(...t),this.identifier="roc"}}function $o(e){let[t,u]=Jr(Yd(e));return new Se(t,u,e.month,e.day)}const go=1948320,Do=[0,31,62,93,124,155,186,216,246,276,306,336];class AD{fromJulianDay(t){let u=t-go,n=1+Math.floor((33*u+3)/12053),r=365*(n-1)+Math.floor((8*n+21)/33),a=u-r,i=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-Do[i]+1;return new Se(this,n,i+1,l)}toJulianDay(t){let u=go-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=Do[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Uu(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Pa=78,yo=80;class wD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-Pa,r=t-Du(u.era,u.year,1,1),a;r<yo?(n--,a=Qt(u.year-1)?31:30,r+=a+155+90+10):(a=Qt(u.year)?31:30,r-=yo);let i,l;if(r<a)i=1,l=r+1;else{let s=r-a;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 Se(this,n,i,l)}toJulianDay(t){let u=t.year+Pa,[n,r]=Jr(u),a,i;return Qt(r)?(a=31,i=Du(n,r,3,21)):(a=30,i=Du(n,r,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&Qt(t.year+Pa)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Pr=1948440,vo=1948439,et=1300,Ku=1600,FD=460322;function Sr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Jd(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+Sr(t,n,1,1)))/29.5)+1),a=u-Sr(t,n,r,1)+1;return new Se(e,n,r,a)}function xo(e){return(14+11*e)%30<11}class ll{fromJulianDay(t){return Jd(this,Pr,t)}toJulianDay(t){return Sr(Pr,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&xo(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return xo(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class TD extends ll{fromJulianDay(t){return Jd(this,vo,t)}toJulianDay(t){return Sr(vo,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const RD="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let di,Gu;function br(e){return FD+Gu[e-et]}function bn(e,t){let u=e-et,n=1<<11-(t-1);return di[u]&n?30:29}function Co(e,t){let u=br(e);for(let n=1;n<t;n++)u+=bn(e,n);return u}function Eo(e){return Gu[e+1-et]-Gu[e-et]}class ID extends ll{fromJulianDay(t){let u=t-Pr,n=br(et),r=br(Ku);if(u<n||u>r)return super.fromJulianDay(t);{let a=et-1,i=1,l=1;for(;l>0;){a++,l=u-br(a)+1;let s=Eo(a);if(l===s){i=12;break}else if(l<s){let d=bn(a,i);for(i=1;l>d;)l-=d,i++,d=bn(a,i);break}}return new Se(this,a,i,u-Co(a,i)+1)}}toJulianDay(t){return t.year<et||t.year>Ku?super.toJulianDay(t):Pr+Co(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<et||t.year>Ku?super.getDaysInMonth(t):bn(t.year,t.month)}getDaysInYear(t){return t.year<et||t.year>Ku?super.getDaysInYear(t):Eo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",di||(di=new Uint16Array(Uint8Array.from(atob(RD),t=>t.charCodeAt(0)).buffer)),!Gu){Gu=new Uint32Array(Ku-et+1);let t=0;for(let u=et;u<=Ku;u++){Gu[u-et]=t;for(let n=1;n<=12;n++)t+=bn(u,n)}}}}const Bo=347997,Qd=1080,Xd=24*Qd,KD=29,MD=12*Qd+793,zD=KD*Xd+MD;function $u(e){return Uu(e*7+1,19)<7}function hr(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Uu(3*(n+1),7)<3&&(n+=1),n}function VD(e){let t=hr(e-1),u=hr(e);return hr(e+1)-u===356?2:u-t===382?1:0}function Dn(e){return hr(e)+VD(e)}function ec(e){return Dn(e+1)-Dn(e)}function ND(e){let t=ec(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function tr(e,t){if(t>=6&&!$u(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=ND(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?$u(e)?30:0:30}class LD{fromJulianDay(t){let u=t-Bo,n=u*Xd/zD,r=Math.floor((19*n+234)/235)+1,a=Dn(r),i=Math.floor(u-a);for(;i<1;)r--,a=Dn(r),i=Math.floor(u-a);let l=1,s=0;for(;s<i;)s+=tr(r,l),l++;l--,s-=tr(r,l);let d=i-s;return new Se(this,r,l,d)}toJulianDay(t){let u=Dn(t.year);for(let n=1;n<t.month;n++)u+=tr(t.year,n);return u+t.day+Bo}getDaysInMonth(t){return tr(t.year,t.month)}getMonthsInYear(t){return $u(t.year)?13:12}getDaysInYear(t){return ec(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&($u(u.year)&&!$u(t.year)&&u.month>6?t.month--:!$u(u.year)&&$u(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const ci=1723856,ko=1824665,fi=5500;function Ar(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function ol(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Ar(e,u,1,1))/30),r=t+1-Ar(e,u,n,1);return[u,n,r]}function tc(e){return Math.floor(e%4/3)}function uc(e,t){return t%13!==0?30:tc(e)+5}class sl{fromJulianDay(t){let[u,n,r]=ol(ci,t),a="AM";return u<=0&&(a="AA",u+=fi),new Se(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=fi),Ar(ci,u,t.month,t.day)}getDaysInMonth(t){return uc(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 jD extends sl{fromJulianDay(t){let[u,n,r]=ol(ci,t);return u+=fi,new Se(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class _D extends sl{fromJulianDay(t){let[u,n,r]=ol(ko,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Se(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Ar(ko,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),uc(u,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 dl(e){switch(e){case"buddhist":return new PD;case"ethiopic":return new sl;case"ethioaa":return new jD;case"coptic":return new _D;case"hebrew":return new LD;case"indian":return new wD;case"islamic-civil":return new ll;case"islamic-tbla":return new TD;case"islamic-umalqura":return new ID;case"japanese":return new kD;case"persian":return new AD;case"roc":return new SD;case"gregory":default:return new He}}let Sa=new Map;class nt{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,u){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(u)}`}formatRangeToParts(t,u){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),r=this.formatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return UD()&&(this.resolvedHourCycle||(this.resolvedHourCycle=WD(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,u={}){this.formatter=nc(t,u),this.options=u}}const OD={true:{ja:"h11"},false:{}};function nc(e,t={}){if(typeof t.hour12=="boolean"&&HD()){t={...t};let r=OD[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=r??a,delete t.hour12}let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Sa.has(u))return Sa.get(u);let n=new Intl.DateTimeFormat(e,t);return Sa.set(u,n),n}let Aa=null;function HD(){return Aa==null&&(Aa=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Aa}let wa=null;function UD(){return wa==null&&(wa=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),wa}function WD(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 u=nc(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),r=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&r===23)return"h23";if(n===24&&r===23)return"h24";if(n===0&&r===11)return"h11";if(n===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function ht(e){e=Cs(e??{},GD);let{locale:t}=pe();return o.useMemo(()=>new nt(t,e),[t,e])}function GD(e,t){if(e===t)return!0;let u=Object.keys(e),n=Object.keys(t);if(u.length!==n.length)return!1;for(let r of u)if(t[r]!==e[r])return!1;return!0}let Fa=new Map,pi=!1;try{pi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let wr=!1;try{wr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const rc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class ZD{format(t){let u="";if(!pi&&this.options.signDisplay!=null?u=YD(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!wr){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=rc[r])===null||n===void 0?void 0:n[a];u+=l[i]||l.default}return u}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,u){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(u)}`}formatRangeToParts(t,u){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),r=this.numberFormatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!pi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!wr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=qD(t,u),this.options=u}}function qD(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!wr){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=rc[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Fa.has(r))return Fa.get(r);let a=new Intl.NumberFormat(e,t);return Fa.set(r,a),a}function YD(e,t,u){if(t==="auto")return e.format(u);if(t==="never")return e.format(Math.abs(u));{let n=!1;if(t==="always"?n=u>0||Object.is(u,0):t==="exceptZero"&&(Object.is(u,-0)||Object.is(u,0)?u=Math.abs(u):n=u>0),n){let r=e.format(-u),a=e.format(u),i=r.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(u)}}const JD=new RegExp("^.*\\(.*\\).*$"),QD=["latn","arab","hanidec","deva","beng"];class ac{parse(t){return Ta(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return Ta(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return Ta(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Po=new Map;function Ta(e,t,u){let n=So(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of QD)if(r!==n.options.numberingSystem){let a=So(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function So(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=Po.get(u);return n||(n=new XD(e,t),Po.set(u,n)),n}class XD{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=ur(u,this.symbols.group,"")),this.symbols.decimal&&(u=u.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(u=u.replace(this.symbols.minusSign,"-")),u=u.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=u.indexOf("-");u=u.replace("-","");let l=u.indexOf(".");l===-1&&(l=u.length),u=u.replace(".",""),l-2===0?u=`0.${u}`:l-2===-1?u=`0.0${u}`:l-2===-2?u="0.00":u=`${u.slice(0,l-2)}.${u.slice(l-2)}`,i>-1&&(u=`-${u}`)}let n=u?+u:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var r,a;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new ac(this.locale,i).parse(new ZD(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&JD.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=ur(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=ur(t,"."," ")),t}isValidPartialNumber(t,u=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&u<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=ur(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,u={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,u),this.options=this.formatter.resolvedOptions(),this.symbols=t2(t,this.formatter,this.options,u);var n,r;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Ao=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),e2=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function t2(e,t,u,n){var r,a,i,l;let s=new Intl.NumberFormat(e,{...u,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=e2.map(A=>s.formatToParts(A));var p;let m=(p=(r=d.find(A=>A.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&p!==void 0?p:"-",b=(a=c.find(A=>A.type==="plusSign"))===null||a===void 0?void 0:a.value;!b&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(b="+");let D=(i=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(A=>A.type==="decimal"))===null||i===void 0?void 0:i.value,v=(l=d.find(A=>A.type==="group"))===null||l===void 0?void 0:l.value,E=d.filter(A=>!Ao.has(A.type)).map(A=>wo(A.value)),y=f.flatMap(A=>A.filter(k=>!Ao.has(k.type)).map(k=>wo(k.value))),C=[...new Set([...E,...y])].sort((A,k)=>k.length-A.length),B=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),R=new Map(S.map((A,k)=>[A,k])),$=new RegExp(`[${S.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:D,group:v,literals:B,numeral:$,index:A=>String(R.get(A))}}function ur(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function wo(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Ra=new Map;function wu(e){let{locale:t}=pe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Ra.has(u))return Ra.get(u);let n=new Intl.Collator(t,e);return Ra.set(u,n),n}function ic(e){let t=wu({usage:"search",...e}),u=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),r=o.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let d=a.slice(l,l+s);if(t.compare(i,d)===0)return!0}return!1},[t]);return o.useMemo(()=>({startsWith:u,endsWith:n,contains:r}),[u,n,r])}function u2(e){return e&&e.__esModule?e.default:e}function n2(e){let{"aria-label":t,...u}=e,n=be(u2(Ad),"@react-aria/breadcrumbs");return{navProps:{..._(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function lc(e,t){let{elementType:u="button",isDisabled:n,onPress:r,onPressStart:a,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:m,rel:b,type:h="button"}=e,D;u==="button"?D={type:h,disabled:n}:D={role:"button",tabIndex:n?void 0:0,href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?h:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:v,isPressed:E}=Ge({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:r,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:y}=Au(e,t);c&&(y.tabIndex=n?-1:y.tabIndex);let C=N(y,v,_(e,{labelable:!0}));return{isPressed:E,buttonProps:N(D,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:B=>{f&&(f(B),console.warn("onClick is deprecated, please use onPress"))}})}}var oc={};oc={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} до ${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} 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 cc={};cc={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 fc={};fc={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 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 mc={};mc={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 bc={};bc={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 $c={};$c={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 gc={};gc={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 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 yc={};yc={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 vc={};vc={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 xc={};xc={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 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 Ec={};Ec={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 kc={};kc={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 Pc={};Pc={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 Sc={};Sc={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 Ac={};Ac={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 wc={};wc={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 Fc={};Fc={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 Tc={};Tc={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 Rc={};Rc={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 Ic={};Ic={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 Kc={};Kc={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 zc={};zc={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 Vc={};Vc={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 Nc={};Nc={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 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 jn={};jn={"ar-AE":oc,"bg-BG":sc,"cs-CZ":dc,"da-DK":cc,"de-DE":fc,"el-GR":pc,"en-US":mc,"es-ES":bc,"et-EE":hc,"fi-FI":$c,"fr-FR":gc,"he-IL":Dc,"hr-HR":yc,"hu-HU":vc,"it-IT":xc,"ja-JP":Cc,"ko-KR":Ec,"lt-LT":Bc,"lv-LV":kc,"nb-NO":Pc,"nl-NL":Sc,"pl-PL":Ac,"pt-BR":wc,"pt-PT":Fc,"ro-RO":Tc,"ru-RU":Rc,"sk-SK":Ic,"sl-SI":Kc,"sr-SP":Mc,"sv-SE":zc,"tr-TR":Vc,"uk-UA":Nc,"zh-CN":Lc,"zh-TW":jc};function _c(e){return e&&e.__esModule?e.default:e}const cl=new WeakMap;function Tn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function r2(e){let t=be(_c(jn),"@react-aria/calendar"),u,n;var r;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(r=e.value)!==null&&r!==void 0?r:void 0;let a=ht({weekday:"long",month:"long",year:"numeric",day:"numeric",era:Tn(u)||Tn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(ke(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=bi(a,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,a])}function mi(e,t,u,n){let r=be(_c(jn),"@react-aria/calendar"),a=Tn(e)||Tn(t),i=ht({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=ht({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(ke(e,Eu(e))){if(ke(t,Er(e)))return i.format(e.toDate(u));if(ke(t,Er(t)))return n?bi(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?bi(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function bi(e,t,u,n,r){let a=e.formatRangeToParts(u.toDate(r),n.toDate(r)),i=-1;for(let d=0;d<a.length;d++){let c=a[d];if(c.source==="shared"&&c.type==="literal")i=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<a.length;d++)d<i?l+=a[d].value:d>i&&(s+=a[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const Oc=7e3;let Qe=null;function Dt(e,t="assertive",u=Oc){Qe?Qe.announce(e,t,u):(Qe=new i2,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Qe.announce(e,t,u):setTimeout(()=>{Qe!=null&&Qe.isAttached()&&(Qe==null||Qe.announce(e,t,u))},100))}function a2(e){Qe&&Qe.clear(e)}class i2{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let u=document.createElement("div");return u.setAttribute("role","log"),u.setAttribute("aria-live",t),u.setAttribute("aria-relevant","additions"),u}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,u="assertive",n=Oc){var r,a;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,u==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(i):(a=this.politeLog)===null||a===void 0||a.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(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 l2(e){return e&&e.__esModule?e.default:e}function Hc(e,t){let u=be(l2(jn),"@react-aria/calendar"),n=_(e),r=mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);gr(()=>{t.isFocused||Dt(a)},[a]);let i=r2(t);gr(()=>{i&&Dt(i,"polite",4e3)},[i]);let l=rt([!!e.errorMessage,e.isInvalid,e.validationState]);cl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,d]=o.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=o.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(p(!1),t.setFocused(!0));let b=vt({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:N(n,b,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":u.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":u.format("previous"),isDisabled:m,onFocusChange:p},errorMessageProps:{id:l},title:r}}function o2(e,t){return Hc(e,t)}function s2(e,t,u){let n=Hc(e,t),r=o.useRef(!1),a=o.useRef(typeof window<"u"?window:null);return st(a,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),st(a,"pointerup",l=>{if(r.current){r.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;u.current&&u.current.contains(document.activeElement)&&(!u.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{u.current&&(!l.relatedTarget||!u.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},st(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function d2(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:r}=e,{direction:a}=pe(),i=b=>{switch(b.key){case"Enter":case" ":b.preventDefault(),t.selectFocusedDate();break;case"PageUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousSection(b.shiftKey);break;case"PageDown":b.preventDefault(),b.stopPropagation(),t.focusNextSection(b.shiftKey);break;case"End":b.preventDefault(),b.stopPropagation(),t.focusSectionEnd();break;case"Home":b.preventDefault(),b.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(b.preventDefault(),t.setAnchorDate(null));break}},l=mi(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=cl.get(t),c=vt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=ht({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=pe(),m=o.useMemo(()=>{let b=An(Ji(t.timeZone),p,r);return[...new Array(7).keys()].map(h=>{let v=b.add({days:h}).toDate(t.timeZone);return f.format(v)})},[p,t.timeZone,f,r]);return{gridProps:N(c,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:i,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:m}}function c2(e){return e&&e.__esModule?e.default:e}function f2(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=cl.get(t),l=be(c2(jn),"@react-aria/calendar"),s=ht({weekday:"long",day:"numeric",month:"long",year:"numeric",era:Tn(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);r=r||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!r&&!f,m=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&ke(t.value,n));m&&(d=!0),n=Cs(n,ii);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),h=Xg(n,t.timeZone),D=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(ke(n,t.value.start)||ke(n,t.value.end))&&(k=i+", "),k+=s.format(b),h?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&ke(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&ke(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,h,n,t,i]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?v=l.format("finishRangeSelectionPrompt"):v=l.format("startRangeSelectionPrompt"));let E=Ct(v),y=o.useRef(!1),C=o.useRef(!1),B=o.useRef(void 0),{pressProps:S,isPressed:R}=Ge({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(k){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(k.pointerType==="mouse"||k.pointerType==="touch")){if(t.highlightedRange&&!m){if(ke(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}else if(ke(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}}let z=()=>{t.setDragging(!0),B.current=void 0,t.selectDate(n),t.setFocusedDate(n),y.current=!0};k.pointerType==="touch"?B.current=setTimeout(z,200):z()}},onPressEnd(){C.current=!1,y.current=!1,clearTimeout(B.current),B.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(k){if(!t.isReadOnly&&("anchorDate"in t&&B.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(C.current)t.setAnchorDate(n);else if(t.anchorDate&&!y.current)t.selectDate(n),t.setFocusedDate(n);else if(k.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let z=n.add({days:1});t.isInvalid(z)&&(z=n.subtract({days:1})),t.isInvalid(z)||t.setFocusedDate(z)}else k.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),$;r||($=ke(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(Oe(u.current),uu()!=="pointer"&&document.activeElement===u.current&&Me(u.current,{containingElement:Ke(u.current)}))},[c,u]);let T=ht({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),A=o.useMemo(()=>T.formatToParts(b).find(k=>k.type==="day").value,[T,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:N(S,{onFocus(){r||t.setFocusedDate(n)},tabIndex:$,role:"button","aria-disabled":!p||void 0,"aria-label":D,"aria-invalid":m||void 0,"aria-describedby":[m?a:void 0,E["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(k){"highlightDate"in t&&(k.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(k){"releasePointerCapture"in k.target&&k.target.releasePointerCapture(k.pointerId)},onContextMenu(k){k.preventDefault()}}),isPressed:R,isFocused:c,isSelected:d,isDisabled:r,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:A}}const Xr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Uc={...Xr,customError:!0,valid:!1},Yt={isInvalid:!1,validationDetails:Xr,validationErrors:[]},p2=o.createContext({}),nu="__formValidationState"+Date.now();function Bt(e){if(e[nu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[nu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return m2(e)}function m2(e){let{isInvalid:t,validationState:u,name:n,value:r,builtinValidation:a,validate:i,validationBehavior:l="aria"}=e;u&&(t||(t=u==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Uc}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let A=b2(i,r);return Fo(A)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(p2),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(A=>hi(c[A])):hi(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,h]=o.useState(!1);c!==p&&(m(c),h(!1));let D=o.useMemo(()=>Fo(b?[]:f),[b,f]),v=o.useRef(Yt),[E,y]=o.useState(Yt),C=o.useRef(Yt),B=()=>{if(!S)return;R(!1);let A=d||a||v.current;Ia(A,C.current)||(C.current=A,y(A))},[S,R]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||D||d||a||Yt,displayValidation:l==="native"?s||D||E:s||D||d||a||E,updateValidation(A){l==="aria"&&!Ia(E,A)?y(A):v.current=A},resetValidation(){let A=Yt;Ia(A,C.current)||(C.current=A,y(A)),l==="native"&&R(!1),h(!0)},commitValidation(){l==="native"&&R(!0),h(!0)}}}function hi(e){return e?Array.isArray(e)?e:[e]:[]}function b2(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return hi(u)}return[]}function Fo(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Uc}:null}function Ia(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((u,n)=>u===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([u,n])=>t.validationDetails[u]===n)}function Rn(...e){let t=new Set,u=!1,n={...Xr};for(let i of e){var r,a;for(let l of i.validationErrors)t.add(l);u||(u=i.isInvalid);for(let l in n)(r=n)[a=l]||(r[a]=i.validationDetails[l])}return n.valid=!u,{isInvalid:u,validationErrors:[...t],validationDetails:n}}function _n(e,t,u){let{validationBehavior:n,focus:r}=e;Y(()=>{if(n==="native"&&(u!=null&&u.current)&&!u.current.disabled){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";u.current.setCustomValidity(s),u.current.hasAttribute("title")||(u.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation($2(u.current))}});let a=ae(()=>{t.resetValidation()}),i=ae(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=u==null||(d=u.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&u&&c&&g2(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),js("keyboard")}s.preventDefault()}),l=ae(()=>{t.commitValidation()});o.useEffect(()=>{let s=u==null?void 0:u.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),d==null||d.addEventListener("reset",a),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",a)}},[u,i,l,a,n])}function h2(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 $2(e){return{isInvalid:!e.validity.valid,validationDetails:h2(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function g2(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function D2(e,t,u){let{isDisabled:n=!1,isReadOnly:r=!1,value:a,name:i,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=S=>{S.stopPropagation(),t.setSelected(S.target.checked)},m=l!=null,b=s!=null||d!=null;!m&&!b&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:h,isPressed:D}=Ge({isDisabled:n}),{pressProps:v,isPressed:E}=Ge({isDisabled:n||r,onPress(){t.toggle()}}),{focusableProps:y}=Au(e,u),C=N(h,y),B=_(e,{labelable:!0});return zn(u,t.isSelected,t.setSelected),{labelProps:N(v,{onClick:S=>S.preventDefault()}),inputProps:N(B,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":r||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:i,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:D||E,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function Wc(e,t,u){let n=Bt({...e,value:t.isSelected}),{isInvalid:r,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=D2({...e,isInvalid:r},t,u);_n(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:h="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:D}=Ge({isDisabled:f||p,onPress(){let{[nu]:v}=e,{commitValidation:E}=v||n;E()}});return{labelProps:N(l,D),inputProps:{...s,checked:d,"aria-required":b&&h==="aria"||void 0,required:b&&h==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:a,validationDetails:i}}const Gc=new WeakMap;function Zc(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=ne(t);let i=ne(),l={};u?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!n&&!r&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=vt({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function ou(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=Zc(e),l=rt([!!t,!!u,n,r]),s=rt([!!t,!!u,n,r]);return i=N(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function y2(e,t){let{isDisabled:u,name:n,validationBehavior:r="aria"}=e,{isInvalid:a,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=ou({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});Gc.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=_(e,{labelable:!0}),{focusWithinProps:m}=pt({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function qc(e={}){let{isReadOnly:t}=e,[u,n]=Re(e.isSelected,e.defaultSelected||!1,e.onChange);function r(i){t||n(i)}function a(){t||n(!u)}return{isSelected:u,setSelected:r,toggle:a}}function v2(e,t,u){const n=qc({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(D){D?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(D)}});let{name:r,descriptionId:a,errorMessageId:i,validationBehavior:l}=Gc.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=Bt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(Yt),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};o.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,m=l==="native"?t.displayValidation:p;var b;let h=Wc({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||r,isRequired:(b=e.isRequired)!==null&&b!==void 0?b:t.isRequired,validationBehavior:l,[nu]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(D){c.current=D,f()}}},n,u);return{...h,inputProps:{...h.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const To={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 su(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:a}=pt({isDisabled:!u,onFocusWithinChange:l=>r(l)}),i=o.useMemo(()=>n?t:t?{...To,...t}:To,[n]);return{visuallyHiddenProps:{...a,style:i}}}function ru(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=su(e);return o.createElement(u,N(a,i),t)}function fl(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:r=!1,isReadOnly:a=!1,type:i="text",validationBehavior:l="aria"}=e,[s,d]=Re(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Au(e,t),f=Bt({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:h,fieldProps:D,descriptionProps:v,errorMessageProps:E}=ou({...e,isInvalid:p,errorMessage:e.errorMessage||m}),y=_(e,{labelable:!0});const C={type:i,pattern:e.pattern};return zn(t,s,d),_n(e,f,t),o.useEffect(()=>{if(t.current instanceof ut(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:h,inputProps:N(y,u==="input"?C:void 0,{disabled:n,readOnly:a,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:s,onChange:B=>d(B.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...D}),descriptionProps:v,errorMessageProps:E,isInvalid:p,validationErrors:m,validationDetails:b}}var Yc={};Yc={Empty:"فارغ"};var Jc={};Jc={Empty:"Изпразни"};var Qc={};Qc={Empty:"Prázdné"};var Xc={};Xc={Empty:"Tom"};var e4={};e4={Empty:"Leer"};var t4={};t4={Empty:"Άδειο"};var u4={};u4={Empty:"Empty"};var n4={};n4={Empty:"Vacío"};var r4={};r4={Empty:"Tühjenda"};var a4={};a4={Empty:"Tyhjä"};var i4={};i4={Empty:"Vide"};var l4={};l4={Empty:"ריק"};var o4={};o4={Empty:"Prazno"};var s4={};s4={Empty:"Üres"};var d4={};d4={Empty:"Vuoto"};var c4={};c4={Empty:"空"};var f4={};f4={Empty:"비어 있음"};var p4={};p4={Empty:"Tuščias"};var m4={};m4={Empty:"Tukšs"};var b4={};b4={Empty:"Tom"};var h4={};h4={Empty:"Leeg"};var $4={};$4={Empty:"Pusty"};var g4={};g4={Empty:"Vazio"};var D4={};D4={Empty:"Vazio"};var y4={};y4={Empty:"Gol"};var v4={};v4={Empty:"Не заполнено"};var x4={};x4={Empty:"Prázdne"};var C4={};C4={Empty:"Prazen"};var E4={};E4={Empty:"Prazno"};var B4={};B4={Empty:"Tomt"};var k4={};k4={Empty:"Boş"};var P4={};P4={Empty:"Пусто"};var S4={};S4={Empty:"空"};var A4={};A4={Empty:"空白"};var w4={};w4={"ar-AE":Yc,"bg-BG":Jc,"cs-CZ":Qc,"da-DK":Xc,"de-DE":e4,"el-GR":t4,"en-US":u4,"es-ES":n4,"et-EE":r4,"fi-FI":a4,"fr-FR":i4,"he-IL":l4,"hr-HR":o4,"hu-HU":s4,"it-IT":d4,"ja-JP":c4,"ko-KR":f4,"lt-LT":p4,"lv-LV":m4,"nb-NO":b4,"nl-NL":h4,"pl-PL":$4,"pt-BR":g4,"pt-PT":D4,"ro-RO":y4,"ru-RU":v4,"sk-SK":x4,"sl-SI":C4,"sr-SP":E4,"sv-SE":B4,"tr-TR":k4,"uk-UA":P4,"zh-CN":S4,"zh-TW":A4};function x2(e){return e&&e.__esModule?e.default:e}function C2(e){const t=o.useRef(void 0);let{value:u,textValue:n,minValue:r,maxValue:a,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const h=be(x2(w4),"@react-aria/spinbutton"),D=()=>clearTimeout(t.current);o.useEffect(()=>()=>D(),[]);let v=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||l))switch(k.key){case"PageUp":if(c){k.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(k.preventDefault(),d==null||d());break;case"PageDown":if(p){k.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(k.preventDefault(),f==null||f());break;case"Home":m&&(k.preventDefault(),m==null||m());break;case"End":b&&(k.preventDefault(),b==null||b());break}},E=o.useRef(!1),y=()=>{E.current=!0},C=()=>{E.current=!1},B=n===""?h.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{E.current&&(a2("assertive"),Dt(B,"assertive"))},[B]);const S=ae(k=>{D(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u<a)&&S(60)},k)}),R=ae(k=>{D(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&R(60)},k)});let $=k=>{k.preventDefault()},{addGlobalListener:T,removeAllGlobalListeners:A}=Ni();return{spinButtonProps:{role:"spinbutton","aria-valuenow":u!==void 0&&!isNaN(u)?u:void 0,"aria-valuetext":B,"aria-valuemin":r,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:v,onFocus:y,onBlur:C},incrementButtonProps:{onPressStart:()=>{S(400),T(window,"contextmenu",$)},onPressEnd:()=>{D(),A()},onFocus:y,onBlur:C},decrementButtonProps:{onPressStart:()=>{R(400),T(window,"contextmenu",$)},onPressEnd:()=>{D(),A()},onFocus:y,onBlur:C}}}var F4={};F4={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var T4={};T4={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var R4={};R4={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var I4={};I4={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var K4={};K4={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var M4={};M4={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var z4={};z4={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var V4={};V4={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var N4={};N4={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var L4={};L4={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var j4={};j4={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var _4={};_4={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var O4={};O4={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var H4={};H4={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var U4={};U4={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var W4={};W4={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var G4={};G4={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var Z4={};Z4={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var q4={};q4={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var Y4={};Y4={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var J4={};J4={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var Q4={};Q4={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var X4={};X4={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var e3={};e3={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var t3={};t3={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var u3={};u3={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var n3={};n3={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var r3={};r3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var a3={};a3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var i3={};i3={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var l3={};l3={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var o3={};o3={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var s3={};s3={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var d3={};d3={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var c3={};c3={"ar-AE":F4,"bg-BG":T4,"cs-CZ":R4,"da-DK":I4,"de-DE":K4,"el-GR":M4,"en-US":z4,"es-ES":V4,"et-EE":N4,"fi-FI":L4,"fr-FR":j4,"he-IL":_4,"hr-HR":O4,"hu-HU":H4,"it-IT":U4,"ja-JP":W4,"ko-KR":G4,"lt-LT":Z4,"lv-LV":q4,"nb-NO":Y4,"nl-NL":J4,"pl-PL":Q4,"pt-BR":X4,"pt-PT":e3,"ro-RO":t3,"ru-RU":u3,"sk-SK":n3,"sl-SI":r3,"sr-SP":a3,"sv-SE":i3,"tr-TR":l3,"uk-UA":o3,"zh-CN":s3,"zh-TW":d3};const $t={top:"top",bottom:"top",left:"left",right:"left"},Fr={top:"bottom",bottom:"top",left:"right",right:"left"},E2={top:"left",left:"top"},$i={top:"height",left:"width"},f3={width:"totalWidth",height:"totalHeight"},nr={};let Fe=typeof document<"u"?window.visualViewport:null;function Ro(e){let t=0,u=0,n=0,r=0,a=0,i=0,l={};var s;let d=((s=Fe==null?void 0:Fe.scale)!==null&&s!==void 0?s:1)>1;if(e.tagName==="BODY"){let b=document.documentElement;n=b.clientWidth,r=b.clientHeight;var c;t=(c=Fe==null?void 0:Fe.width)!==null&&c!==void 0?c:n;var f;u=(f=Fe==null?void 0:Fe.height)!==null&&f!==void 0?f:r,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Fe&&(a=Fe.offsetTop,i=Fe.offsetLeft)}else({width:t,height:u,top:a,left:i}=Zu(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(zi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;a=(p=Fe==null?void 0:Fe.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Fe==null?void 0:Fe.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:a,left:i}}function B2(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Io(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[$i[e]],c=n.scroll[$t[e]]+a,f=d+n.scroll[$t[e]]-a,p=t-s+i[e]-n[$t[e]],m=t-s+u+i[e]-n[$t[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function k2(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 Ko(e){if(nr[e])return nr[e];let[t,u]=e.split(" "),n=$t[t]||"right",r=E2[n];$t[u]||(u="center");let a=$i[n],i=$i[r];return nr[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},nr[e]}function Ka(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:h}=n,D={};var v;D[m]=(v=e[m])!==null&&v!==void 0?v:0;var E,y,C,B;f==="center"?D[m]+=(((E=e[h])!==null&&E!==void 0?E:0)-((y=u[h])!==null&&y!==void 0?y:0))/2:f!==m&&(D[m]+=((C=e[h])!==null&&C!==void 0?C:0)-((B=u[h])!==null&&B!==void 0?B:0)),D[m]+=a;const S=e[m]-u[h]+s+d,R=e[m]+e[h]-s-d;if(D[m]=Ya(D[m],S,R),c===p){const $=l?i[b]:t[f3[b]];D[Fr[p]]=Math.floor($-e[p]+r)}else D[p]=Math.floor(e[p]+e[b]+r);return D}function P2(e,t,u,n,r,a,i,l){const s=n?u.height:t[f3.height];var d;let c=e.top!=null?u.top+e.top:u.top+(s-((d=e.bottom)!==null&&d!==void 0?d:0)-i);var f,p,m,b,h,D;let v=l!=="top"?Math.max(0,t.height+t.top+((f=t.scroll.top)!==null&&f!==void 0?f:0)-c-(((p=r.top)!==null&&p!==void 0?p:0)+((m=r.bottom)!==null&&m!==void 0?m:0)+a)):Math.max(0,c+i-(t.top+((b=t.scroll.top)!==null&&b!==void 0?b:0))-(((h=r.top)!==null&&h!==void 0?h:0)+((D=r.bottom)!==null&&D!==void 0?D:0)+a));return Math.min(t.height-a*2,v)}function Mo(e,t,u,n,r,a){let{placement:i,axis:l,size:s}=a;var d,c;if(i===l)return Math.max(0,u[l]-e[l]-((d=e.scroll[l])!==null&&d!==void 0?d:0)+t[l]-((c=n[l])!==null&&c!==void 0?c:0)-n[Fr[l]]-r);var f;return Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-u[l]-u[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[Fr[l]]-r)}function S2(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,h){let D=Ko(e),{size:v,crossAxis:E,crossSize:y,placement:C,crossPlacement:B}=D,S=Ka(t,l,u,D,c,f,d,p,b,h),R=c,$=Mo(l,d,t,r,a+c,D);if(i&&n[v]>$){let X=Ko(`${Fr[C]} ${B}`),me=Ka(t,l,u,X,c,f,d,p,b,h);Mo(l,d,t,r,a+c,X)>$&&(D=X,S=me,R=c)}let T="bottom";D.axis==="top"?D.placement==="top"?T="top":D.placement==="bottom"&&(T="bottom"):D.crossAxis==="top"&&(D.crossPlacement==="top"?T="bottom":D.crossPlacement==="bottom"&&(T="top"));let A=Io(E,S[E],u[y],l,s,a,d);S[E]+=A;let k=P2(S,l,d,p,r,a,u.height,T);m&&m<k&&(k=m),u.height=Math.min(u.height,k),S=Ka(t,l,u,D,R,f,d,p,b,h),A=Io(E,S[E],u[y],l,s,a,d),S[E]+=A;let z={},x=t[E]+.5*t[y]-S[E]-r[$t[E]];const w=b/2+h;var V,F,I,P;const K=$t[E]==="left"?((V=r.left)!==null&&V!==void 0?V:0)+((F=r.right)!==null&&F!==void 0?F:0):((I=r.top)!==null&&I!==void 0?I:0)+((P=r.bottom)!==null&&P!==void 0?P:0),j=u[y]-K-b/2-h,L=t[E]+b/2-(S[E]+r[$t[E]]),U=t[E]+t[y]-b/2-(S[E]+r[$t[E]]),Q=Ya(x,L,U);return z[E]=Ya(Q,w,j),{position:S,maxHeight:k,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:D.placement}}function A2(e){let{placement:t,targetNode:u,overlayNode:n,scrollNode:r,padding:a,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=n instanceof HTMLElement?w2(n):document.documentElement,b=m===document.documentElement;const h=window.getComputedStyle(m).position;let D=!!h&&h!=="static",v=b?Zu(u):zo(u,m);if(!b){let{marginTop:z,marginLeft:x}=window.getComputedStyle(u);v.top+=parseInt(z,10)||0,v.left+=parseInt(x,10)||0}let E=Zu(n),y=k2(n);var C,B;E.width+=((C=y.left)!==null&&C!==void 0?C:0)+((B=y.right)!==null&&B!==void 0?B:0);var S,R;E.height+=((S=y.top)!==null&&S!==void 0?S:0)+((R=y.bottom)!==null&&R!==void 0?R:0);let $=B2(r),T=Ro(l),A=Ro(m),k=l.tagName==="BODY"?Zu(m):zo(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(A.scroll.top=0,A.scroll.left=0),S2(t,v,E,$,y,a,i,T,A,k,s,d,D,c,f,p)}function Zu(e){let{top:t,left:u,width:n,height:r}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+a-l,left:u+i-s,width:n,height:r}}function zo(e,t){let u=window.getComputedStyle(e),n;if(u.position==="fixed"){let{top:r,left:a,width:i,height:l}=e.getBoundingClientRect();n={top:r,left:a,width:i,height:l}}else{n=Zu(e);let r=Zu(t),a=window.getComputedStyle(t);r.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(u.marginTop,10)||0,n.left-=parseInt(u.marginLeft,10)||0,n}function w2(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Vo(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Vo(t);)t=t.parentElement;return t||document.documentElement}function Vo(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 p3=new WeakMap;function F2(e){let{triggerRef:t,isOpen:u,onClose:n}=e;o.useEffect(()=>{if(!u||n===null)return;let r=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=n||p3.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let Ce=typeof document<"u"?window.visualViewport:null;function m3(e){let{direction:t}=pe(),{arrowSize:u=0,targetRef:n,overlayRef:r,scrollRef:a=r,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:m=!0,onClose:b,maxHeight:h,arrowBoundaryOffset:D=0}=e,[v,E]=o.useState(null),y=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,h,D,u],C=o.useRef(Ce==null?void 0:Ce.scale);o.useEffect(()=>{m&&(C.current=Ce==null?void 0:Ce.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!r.current||!n.current||!d||(Ce==null?void 0:Ce.scale)!==C.current)return;let A=null;if(a.current&&a.current.contains(document.activeElement)){var k;let P=(k=document.activeElement)===null||k===void 0?void 0:k.getBoundingClientRect(),K=a.current.getBoundingClientRect();var z;if(A={type:"top",offset:((z=P==null?void 0:P.top)!==null&&z!==void 0?z:0)-K.top},A.offset>K.height/2){A.type="bottom";var x;A.offset=((x=P==null?void 0:P.bottom)!==null&&x!==void 0?x:0)-K.bottom}}let w=r.current;if(!h&&r.current){var V;w.style.top="0px",w.style.bottom="";var F;w.style.maxHeight=((F=(V=window.visualViewport)===null||V===void 0?void 0:V.height)!==null&&F!==void 0?F:window.innerHeight)+"px"}let I=A2({placement:R2(i,t),overlayNode:r.current,targetNode:n.current,scrollNode:a.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:h,arrowSize:u,arrowBoundaryOffset:D});if(I.position){if(w.style.top="",w.style.bottom="",w.style.left="",w.style.right="",Object.keys(I.position).forEach(P=>w.style[P]=I.position[P]+"px"),w.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",A&&document.activeElement&&a.current){let P=document.activeElement.getBoundingClientRect(),K=a.current.getBoundingClientRect(),j=P[A.type]-K[A.type];a.current.scrollTop+=j-A.offset}E(I)}},y);Y(B,y),T2(B),xu({ref:r,onResize:B}),xu({ref:n,onResize:B});let S=o.useRef(!1);Y(()=>{let A,k=()=>{S.current=!0,clearTimeout(A),A=setTimeout(()=>{S.current=!1},500),B()},z=()=>{S.current&&k()};return Ce==null||Ce.addEventListener("resize",k),Ce==null||Ce.addEventListener("scroll",z),()=>{Ce==null||Ce.removeEventListener("resize",k),Ce==null||Ce.removeEventListener("scroll",z)}},[B]);let R=o.useCallback(()=>{S.current||b==null||b()},[b,S]);F2({triggerRef:n,isOpen:m,onClose:b&&R});var $,T;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...v==null?void 0:v.position,maxHeight:($=v==null?void 0:v.maxHeight)!==null&&$!==void 0?$:"100vh"}},placement:(T=v==null?void 0:v.placement)!==null&&T!==void 0?T:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v==null?void 0:v.arrowOffsetLeft,top:v==null?void 0:v.arrowOffsetTop}},updatePosition:B}}function T2(e){Y(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function R2(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const St=[];function I2(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>(r&&St.push(t),()=>{let b=St.indexOf(t);b>=0&&St.splice(b,1)}),[r,t]);let s=()=>{St[St.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&St[St.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(St[St.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};Eg({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=pt({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||Tg(b.relatedTarget)||(!l||l(b.relatedTarget))&&(u==null||u())}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function b3(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&p3.set(u.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=ne();return{triggerProps:{"aria-haspopup":a,"aria-expanded":r,"aria-controls":r?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const Ma=typeof document<"u"&&window.visualViewport,K2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let rr=0,za;function M2(e={}){let{isDisabled:t}=e;Y(()=>{if(!t)return rr++,rr===1&&(Mn()?za=V2():za=z2()),()=>{rr--,rr===0&&za()}},[t])}function z2(){return at(_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"))}function V2(){let e,t,u=d=>{e=Ke(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=_u(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()},r=()=>{t&&t()},a=d=>{let c=d.target;N2(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Ma&&(Ma.height<window.innerHeight?requestAnimationFrame(()=>{No(c)}):Ma.addEventListener("resize",()=>No(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=at(rn(window,"scroll",d),_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"),_u(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=at(rn(document,"touchstart",u,{passive:!1,capture:!0}),rn(document,"touchmove",n,{passive:!1,capture:!0}),rn(document,"touchend",r,{passive:!1,capture:!0}),rn(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function _u(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function rn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function No(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Ke(u);if(n!==document.documentElement&&n!==document.body&&n!==u){let r=n.getBoundingClientRect().top,a=u.getBoundingClientRect().top;a>r+u.clientHeight&&(n.scrollTop+=a-r)}u=n.parentElement}}function N2(e){return e instanceof HTMLInputElement&&!K2.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const gi=o.createContext(null);function L2(e){let{children:t}=e,u=o.useContext(gi),[n,r]=o.useState(0),a=o.useMemo(()=>({parent:u,modalCount:n,addModal(){r(i=>i+1),u&&u.addModal()},removeModal(){r(i=>i-1),u&&u.removeModal()}}),[u,n]);return o.createElement(gi.Provider,{value:a},t)}function j2(){let e=o.useContext(gi);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function _2(e){let{modalProviderProps:t}=j2();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function O2(e){return o.createElement(L2,null,o.createElement(_2,e))}function H2(e){let t=Nt(),{portalContainer:u=t?null:document.body,...n}=e;if(o.useEffect(()=>{if(u!=null&&u.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[u]),!u)return null;let r=o.createElement(O2,n);return iu.createPortal(r,u)}var h3={};h3={dismiss:"تجاهل"};var $3={};$3={dismiss:"Отхвърляне"};var g3={};g3={dismiss:"Odstranit"};var D3={};D3={dismiss:"Luk"};var y3={};y3={dismiss:"Schließen"};var v3={};v3={dismiss:"Απόρριψη"};var x3={};x3={dismiss:"Dismiss"};var C3={};C3={dismiss:"Descartar"};var E3={};E3={dismiss:"Lõpeta"};var B3={};B3={dismiss:"Hylkää"};var k3={};k3={dismiss:"Rejeter"};var P3={};P3={dismiss:"התעלם"};var S3={};S3={dismiss:"Odbaci"};var A3={};A3={dismiss:"Elutasítás"};var w3={};w3={dismiss:"Ignora"};var F3={};F3={dismiss:"閉じる"};var T3={};T3={dismiss:"무시"};var R3={};R3={dismiss:"Atmesti"};var I3={};I3={dismiss:"Nerādīt"};var K3={};K3={dismiss:"Lukk"};var M3={};M3={dismiss:"Negeren"};var z3={};z3={dismiss:"Zignoruj"};var V3={};V3={dismiss:"Descartar"};var N3={};N3={dismiss:"Dispensar"};var L3={};L3={dismiss:"Revocare"};var j3={};j3={dismiss:"Пропустить"};var _3={};_3={dismiss:"Zrušiť"};var O3={};O3={dismiss:"Opusti"};var H3={};H3={dismiss:"Odbaci"};var U3={};U3={dismiss:"Avvisa"};var W3={};W3={dismiss:"Kapat"};var G3={};G3={dismiss:"Скасувати"};var Z3={};Z3={dismiss:"取消"};var q3={};q3={dismiss:"關閉"};var Y3={};Y3={"ar-AE":h3,"bg-BG":$3,"cs-CZ":g3,"da-DK":D3,"de-DE":y3,"el-GR":v3,"en-US":x3,"es-ES":C3,"et-EE":E3,"fi-FI":B3,"fr-FR":k3,"he-IL":P3,"hr-HR":S3,"hu-HU":A3,"it-IT":w3,"ja-JP":F3,"ko-KR":T3,"lt-LT":R3,"lv-LV":I3,"nb-NO":K3,"nl-NL":M3,"pl-PL":z3,"pt-BR":V3,"pt-PT":N3,"ro-RO":L3,"ru-RU":j3,"sk-SK":_3,"sl-SI":O3,"sr-SP":H3,"sv-SE":U3,"tr-TR":W3,"uk-UA":G3,"zh-CN":Z3,"zh-TW":q3};function U2(e){return e&&e.__esModule?e.default:e}function Lo(e){let{onDismiss:t,...u}=e,n=be(U2(Y3),"@react-aria/overlays"),r=vt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(ru,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let an=new WeakMap,Ye=[];function J3(e,t=document.body){let u=new Set(e),n=new Set,r=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(p);let d=p=>{if(u.has(p)||p.parentElement&&n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of u)if(p.contains(m))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&&a(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)a(p),p=c.nextNode()}},a=s=>{var d;let c=(d=an.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),an.set(s,c+1))};Ye.length&&Ye[Ye.length-1].disconnect(),r(t);let i=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...u,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(u.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")?u.add(c):c instanceof Element&&r(c)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ye.push(l),()=>{i.disconnect();for(let s of n){let d=an.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),an.delete(s)):an.set(s,d-1))}l===Ye[Ye.length-1]?(Ye.pop(),Ye.length&&Ye[Ye.length-1].observe()):Ye.splice(Ye.indexOf(l),1)}}function W2(e,t){let{triggerRef:u,popoverRef:n,isNonModal:r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=I2({isOpen:t.isOpen&&!l["data-react-aria-top-layer"],onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},n),{overlayProps:c,arrowProps:f,placement:p}=m3({...l,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:r?t.close:null});return M2({isDisabled:r||!t.isOpen}),Y(()=>{if(t.isOpen&&!r&&n.current)return J3([n.current])},[r,t.isOpen,n]),{popoverProps:N(s,c),arrowProps:f,underlayProps:d,placement:p}}const G2=o.createContext({});function Z2(){var e;return(e=o.useContext(G2))!==null&&e!==void 0?e:{}}const Q3=o.createContext(null);function q2(e){let t=Nt(),{portalContainer:u=t?null:document.body,isExiting:n}=e,[r,a]=o.useState(!1),i=o.useMemo(()=>({contain:r,setContain:a}),[r,a]),{getContainer:l}=Z2();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(Nn,{restoreFocus:!0,contain:r&&!n},s)),s=o.createElement(Q3.Provider,{value:i},o.createElement(bg,null,s)),iu.createPortal(s,u)}function Y2(){let e=o.useContext(Q3),t=e==null?void 0:e.setContain;Y(()=>{t==null||t(!0)},[t])}const ea=new WeakMap;function J2(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function X3(e,t){let u=ea.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${J2(t)}`}function Di(e){return fr()?e.altKey:e.ctrlKey}const Q2=1e3;function ef(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=X2(i.key);if(!(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))){if(l===" "&&r.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),r.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(r.search,u.focusedKey);s==null&&(s=t.getKeyForSearch(r.search)),s!=null&&(u.setFocusedKey(s),n&&n(s))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},Q2)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function X2(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ta(e){let{selectionManager:t,keyboardDelegate:u,ref:n,autoFocus:r=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n,linkBehavior:b="action"}=e,{direction:h}=pe(),D=Su(),v=x=>{var w;if(x.altKey&&x.key==="Tab"&&x.preventDefault(),!(!((w=n.current)===null||w===void 0)&&w.contains(x.target)))return;const V=(M,G)=>{if(M!=null){if(t.isLink(M)&&b==="selection"&&s&&!Di(x)){var J;iu.flushSync(()=>{t.setFocusedKey(M,G)});let O=(J=m.current)===null||J===void 0?void 0:J.querySelector(`[data-key="${CSS.escape(M.toString())}"]`),Z=t.getItemProps(M);O&&D.open(O,x,Z.href,Z.routerOptions);return}if(t.setFocusedKey(M,G),t.isLink(M)&&b==="override")return;x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&!Di(x)&&t.replaceSelection(M)}};switch(x.key){case"ArrowDown":if(u.getKeyBelow){var F,I,P;let M=t.focusedKey!=null?(F=u.getKeyBelow)===null||F===void 0?void 0:F.call(u,t.focusedKey):(I=u.getFirstKey)===null||I===void 0?void 0:I.call(u);M==null&&a&&(M=(P=u.getFirstKey)===null||P===void 0?void 0:P.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M))}break;case"ArrowUp":if(u.getKeyAbove){var K,j,L;let M=t.focusedKey!=null?(K=u.getKeyAbove)===null||K===void 0?void 0:K.call(u,t.focusedKey):(j=u.getLastKey)===null||j===void 0?void 0:j.call(u);M==null&&a&&(M=(L=u.getLastKey)===null||L===void 0?void 0:L.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M))}break;case"ArrowLeft":if(u.getKeyLeftOf){var U,Q,X;let M=t.focusedKey!=null?(U=u.getKeyLeftOf)===null||U===void 0?void 0:U.call(u,t.focusedKey):null;M==null&&a&&(M=h==="rtl"?(Q=u.getFirstKey)===null||Q===void 0?void 0:Q.call(u,t.focusedKey):(X=u.getLastKey)===null||X===void 0?void 0:X.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M,h==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var me,ie,se;let M=t.focusedKey!=null?(me=u.getKeyRightOf)===null||me===void 0?void 0:me.call(u,t.focusedKey):null;M==null&&a&&(M=h==="rtl"?(ie=u.getLastKey)===null||ie===void 0?void 0:ie.call(u,t.focusedKey):(se=u.getFirstKey)===null||se===void 0?void 0:se.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M,h==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&x.shiftKey)return;x.preventDefault();let M=u.getFirstKey(t.focusedKey,Nu(x));t.setFocusedKey(M),M!=null&&(Nu(x)&&x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&x.shiftKey)return;x.preventDefault();let M=u.getLastKey(t.focusedKey,Nu(x));t.setFocusedKey(M),M!=null&&(Nu(x)&&x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let M=u.getKeyPageBelow(t.focusedKey);M!=null&&(x.preventDefault(),V(M))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let M=u.getKeyPageAbove(t.focusedKey);M!=null&&(x.preventDefault(),V(M))}break;case"a":Nu(x)&&t.selectionMode==="multiple"&&l!==!0&&(x.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(x.stopPropagation(),x.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(x.shiftKey)n.current.focus();else{let M=Pe(n.current,{tabbable:!0}),G,J;do J=M.lastChild(),J&&(G=J);while(J);G&&!G.contains(document.activeElement)&&Oe(G)}break}}},E=o.useRef({top:0,left:0});st(m,"scroll",p?void 0:()=>{var x,w,V,F;E.current={top:(V=(x=m.current)===null||x===void 0?void 0:x.scrollTop)!==null&&V!==void 0?V:0,left:(F=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&F!==void 0?F:0}});let y=x=>{if(t.isFocused){x.currentTarget.contains(x.target)||t.setFocused(!1);return}if(x.currentTarget.contains(x.target)){if(t.setFocused(!0),t.focusedKey==null){var w,V;let P=j=>{j!=null&&(t.setFocusedKey(j),s&&t.replaceSelection(j))},K=x.relatedTarget;var F,I;K&&x.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?P((F=t.lastSelectedKey)!==null&&F!==void 0?F:(w=u.getLastKey)===null||w===void 0?void 0:w.call(u)):P((I=t.firstSelectedKey)!==null&&I!==void 0?I:(V=u.getFirstKey)===null||V===void 0?void 0:V.call(u))}else!p&&m.current&&(m.current.scrollTop=E.current.top,m.current.scrollLeft=E.current.left);if(t.focusedKey!=null&&m.current){let P=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);P&&(P.contains(document.activeElement)||Oe(P),uu()==="keyboard"&&Me(P,{containingElement:n.current}))}}},C=x=>{x.currentTarget.contains(x.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);st(n,Z$,c?x=>{let{detail:w}=x;x.stopPropagation(),t.setFocused(!0),(w==null?void 0:w.focusStrategy)==="first"&&(B.current=!0)}:void 0);let S=ae(()=>{var x,w;let V=(w=(x=u.getFirstKey)===null||x===void 0?void 0:x.call(u))!==null&&w!==void 0?w:null;if(V==null){var F;(F=n.current)===null||F===void 0||F.dispatchEvent(new CustomEvent(Es,{cancelable:!0,bubbles:!0})),t.collection.size>0&&(B.current=!1)}else t.setFocusedKey(V),B.current=!1});Ol(()=>{B.current&&S()},[t.collection,S]);let R=ae(()=>{t.collection.size>0&&(B.current=!1)});Ol(()=>{R()},[t.focusedKey,R]),st(n,G$,c?x=>{x.stopPropagation(),t.setFocused(!1),t.setFocusedKey(null)}:void 0);const $=o.useRef(r);o.useEffect(()=>{if($.current){var x,w;let I=null;var V;r==="first"&&(I=(V=(x=u.getFirstKey)===null||x===void 0?void 0:x.call(u))!==null&&V!==void 0?V:null);var F;r==="last"&&(I=(F=(w=u.getLastKey)===null||w===void 0?void 0:w.call(u))!==null&&F!==void 0?F:null);let P=t.selectedKeys;if(P.size){for(let K of P)if(t.canSelectItem(K)){I=K;break}}t.setFocused(!0),t.setFocusedKey(I),I==null&&!c&&n.current&&xe(n.current)}},[]);let T=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==T.current||$.current)&&m.current&&n.current){let x=uu(),w=n.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);if(!w)return;(x==="keyboard"||$.current)&&(xs(m.current,w),x!=="virtual"&&Me(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&T.current!=null&&n.current&&xe(n.current),T.current=t.focusedKey,$.current=!1}),st(n,"react-aria-focus-scope-restore",x=>{x.preventDefault(),t.setFocused(!0)});let A={onKeyDown:v,onFocus:y,onBlur:C,onMouseDown(x){m.current===x.target&&x.preventDefault()}},{typeSelectProps:k}=ef({keyboardDelegate:u,selectionManager:t});d||(A=N(k,A));let z;return c?z=-1:z=t.focusedKey==null?0:-1,{collectionProps:{...A,tabIndex:z}}}function Xu(e){let{id:t,selectionManager:u,key:n,ref:r,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:l,isDisabled:s,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=Su();t=ne(t);let m=P=>{if(P.pointerType==="keyboard"&&Di(P))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&r.current){let K=u.getItemProps(n);p.open(r.current,P,K.href,K.routerOptions),u.setSelectedKeys(u.selectedKeys);return}else if(f==="override"||f==="none")return}u.selectionMode==="single"?u.isSelected(n)&&!u.disallowEmptySelection?u.toggleSelection(n):u.replaceSelection(n):P&&P.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||P&&(Nu(P)||P.pointerType==="touch"||P.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{if(n===u.focusedKey&&u.isFocused)if(!i)l?l():document.activeElement!==r.current&&r.current&&xe(r.current);else{var K;let j=new CustomEvent(Es,{cancelable:!0,bubbles:!0});(K=r.current)===null||K===void 0||K.dispatchEvent(j)}},[r,n,u.focusedKey,u.childFocusStrategy,u.isFocused,i]),s=s||u.isDisabled(n);let b={};!i&&!s?b={tabIndex:n===u.focusedKey?0:-1,onFocus(P){P.target===r.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=P=>{P.preventDefault()});let h=u.isLink(n)&&f==="override",D=u.isLink(n)&&f!=="selection"&&f!=="none",v=!s&&u.canSelectItem(n)&&!h,E=(d||D)&&!s,y=E&&(u.selectionBehavior==="replace"?!v:!v||u.isEmpty),C=E&&v&&u.selectionBehavior==="replace",B=y||C,S=o.useRef(null),R=B&&v,$=o.useRef(!1),T=o.useRef(!1),A=P=>{if(d&&d(),D&&r.current){let K=u.getItemProps(n);p.open(r.current,P,K.href,K.routerOptions)}},k={};a?(k.onPressStart=P=>{S.current=P.pointerType,$.current=R,P.pointerType==="keyboard"&&(!B||_o())&&m(P)},c?(k.onPressUp=y?void 0:P=>{P.pointerType==="mouse"&&v&&m(P)},k.onPress=y?A:P=>{P.pointerType!=="keyboard"&&P.pointerType!=="mouse"&&v&&m(P)}):k.onPress=P=>{if(y||C&&P.pointerType!=="mouse"){if(P.pointerType==="keyboard"&&!jo())return;A(P)}else P.pointerType!=="keyboard"&&v&&m(P)}):(k.onPressStart=P=>{S.current=P.pointerType,$.current=R,T.current=y,v&&(P.pointerType==="mouse"&&!y||P.pointerType==="keyboard"&&(!E||_o()))&&m(P)},k.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&B&&jo()||P.pointerType==="mouse"&&T.current)&&(B?A(P):v&&m(P))}),b["data-key"]=n,k.preventFocusOnPress=i;let{pressProps:z,isPressed:x}=Ge(k),w=C?P=>{S.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),A(P))}:void 0,{longPressProps:V}=Os({isDisabled:!R,onLongPress(P){P.pointerType==="touch"&&(m(P),u.setSelectionBehavior("toggle"))}}),F=P=>{S.current==="touch"&&$.current&&P.preventDefault()},I=u.isLink(n)?P=>{eu.isOpening||P.preventDefault()}:void 0;return{itemProps:N(b,v||y?z:{},R?V:{},{onDoubleClick:w,onDragStartCapture:F,onClick:I,id:t}),isPressed:x,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:v,hasAction:B}}function jo(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function _o(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class yi{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?u.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null;if(!n)return null;let r=u.getBoundingClientRect(),a=n.getBoundingClientRect();return{x:a.left-r.left+u.scrollLeft,y:a.top-r.top+u.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;var u,n;return{width:(u=t==null?void 0:t.scrollWidth)!==null&&u!==void 0?u:0,height:(n=t==null?void 0:t.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let t=this.ref.current;var u,n,r,a;return{x:(u=t==null?void 0:t.scrollLeft)!==null&&u!==void 0?u:0,y:(n=t==null?void 0:t.scrollTop)!==null&&n!==void 0?n:0,width:(r=t==null?void 0:t.offsetWidth)!==null&&r!==void 0?r:0,height:(a=t==null?void 0:t.offsetHeight)!==null&&a!==void 0?a:0}}constructor(t){this.ref=t}}class au{isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,u){let n=t;for(;n!=null;){let r=this.collection.getItem(n);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return n;n=u(n)}return null}getNextKey(t){let u=t;return u=this.collection.getKeyAfter(u),this.findNextNonDisabled(u,n=>this.collection.getKeyAfter(n))}getPreviousKey(t){let u=t;return u=this.collection.getKeyBefore(u),this.findNextNonDisabled(u,n=>this.collection.getKeyBefore(n))}findKey(t,u,n){let r=t,a=this.layoutDelegate.getItemRect(r);if(!a||r==null)return null;let i=a;do{if(r=u(r),r==null)break;a=this.layoutDelegate.getItemRect(r)}while(a&&n(i,a)&&r!=null);return r}isSameRow(t,u){return t.y===u.y||t.x!==u.x}isSameColumn(t,u){return t.x===u.x||t.y!==u.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getNextKey(u),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getPreviousKey(u),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,u){return u?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let u=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let u=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyAfter(u))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyBefore(u))}getKeyPageAbove(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!Cn(u))return this.getFirstKey();let r=t;if(this.orientation==="horizontal"){let a=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!Cn(u))return this.getLastKey();let r=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u||this.getFirstKey();for(;r!=null;){let a=n.getItem(r);if(!a)return null;let i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return r;r=this.getNextKey(r)}return null}constructor(...t){if(t.length===1){let u=t[0];this.collection=u.collection,this.ref=u.ref,this.collator=u.collator,this.disabledKeys=u.disabledKeys||new Set,this.disabledBehavior=u.disabledBehavior||"all",this.orientation=u.orientation||"vertical",this.direction=u.direction,this.layout=u.layout||"stack",this.layoutDelegate=u.layoutDelegate||new yi(u.ref)}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.layoutDelegate=new yi(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function pl(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=wu({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new au({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=ta({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function e6(e,t,u){let n=_(e,{labelable:!0}),r=e.selectionBehavior||"toggle",a=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&a==="action"&&(a="override");let{listProps:i}=pl({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=pt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=ne(e.id);ea.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:d,fieldProps:c}=Zc({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:N(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...N(c,i)})}}class t6{build(t,u){return this.context=u,Oo(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:u,items:n}=t;if(o.isValidElement(u)&&u.type===o.Fragment)yield*this.iterateCollection({children:u.props.children,items:n});else if(typeof u=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let r=0;for(let a of n)yield*this.getFullNode({value:a,index:r},{renderer:u}),r++}else{let r=[];o.Children.forEach(u,i=>{i&&r.push(i)});let a=0;for(let i of r){let l=this.getFullNode({element:i,index:a},{});for(let s of l)a++,yield s}}}getKey(t,u,n,r){if(t.key!=null)return t.key;if(u.type==="cell"&&u.key!=null)return`${r}${u.key}`;let a=u.value;if(a!=null){var i;let l=(i=a.key)!==null&&i!==void 0?i:a.id;if(l==null)throw new Error("No key found for item");return l}return r?`${r}.${u.index}`:`$.${u.index}`}getChildState(t,u){return{renderer:u.renderer||t.renderer}}*getFullNode(t,u,n,r){if(o.isValidElement(t.element)&&t.element.type===o.Fragment){let D=[];o.Children.forEach(t.element.props.children,E=>{D.push(E)});var a;let v=(a=t.index)!==null&&a!==void 0?a:0;for(const E of D)yield*this.getFullNode({element:E,index:v++},u,n,r);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let D=this.cache.get(t.value);if(D&&(!D.shouldInvalidate||!D.shouldInvalidate(this.context))){D.index=t.index,D.parentKey=r?r.key:null,yield D;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let D=i.type;if(typeof D!="function"&&typeof D.getCollectionNode!="function"){let C=i.type;throw new Error(`Unknown element <${C}> in collection.`)}let v=D.getCollectionNode(i.props,this.context);var l;let E=(l=t.index)!==null&&l!==void 0?l:0,y=v.next();for(;!y.done&&y.value;){let C=y.value;t.index=E;var s;let B=(s=C.key)!==null&&s!==void 0?s:null;B==null&&(B=C.element?null:this.getKey(i,t,u,n));let R=[...this.getFullNode({...C,key:B,index:E,wrapper:u6(t.wrapper,C.wrapper)},this.getChildState(u,C),n?`${n}${i.key}`:i.key,r)];for(let $ of R){var d,c;$.value=(c=(d=C.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,$.value&&this.cache.set($.value,$);var f;if(t.type&&$.type!==t.type)throw new Error(`Unsupported type <${Va($.type)}> in <${Va((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${Va(t.type)}> is supported.`);E++,yield $}y=v.next(R)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let h={type:t.type,props:t.props,key:t.key,parentKey:r?r.key:null,value:(m=t.value)!==null&&m!==void 0?m:null,level:r?r.level+1:0,index:t.index,rendered:t.rendered,textValue:(b=t.textValue)!==null&&b!==void 0?b:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Oo(function*(){if(!t.hasChildNodes||!t.childNodes)return;let D=0;for(let v of t.childNodes()){v.key!=null&&(v.key=`${h.key}${v.key}`);let E=p.getFullNode({...v,index:D},p.getChildState(u,v),h.key,h);for(let y of E)D++,yield y}})};yield h}constructor(){this.cache=new WeakMap}}function Oo(e){let t=[],u=null;return{*[Symbol.iterator](){for(let n of t)yield n;u||(u=e());for(let n of u)t.push(n),yield n}}}function u6(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function Va(e){return e[0].toUpperCase()+e.slice(1)}function ml(e,t,u){let n=o.useMemo(()=>new t6,[]),{children:r,items:a,collection:i}=e;return o.useMemo(()=>{if(i)return i;let s=n.build({children:r,items:a},u);return t(s)},[n,r,a,i,u,t])}function ve(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Tt(e){return qt(e,0)}function qt(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function Kt(e){let t;for(let u of e)t=u;return t}function Na(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...Ho(e,t),t],r=[...Ho(e,u),u],a=n.slice(0,r.length).findIndex((i,l)=>i!==r[l]);return a!==-1?(t=n[a],u=r[a],t.index-u.index):n.findIndex(i=>i===u)>=0?1:(r.findIndex(i=>i===t)>=0,-1)}function Ho(e,t){let u=[],n=t;for(;(n==null?void 0:n.parentKey)!=null;)n=e.getItem(n.parentKey),n&&u.unshift(n);return u}const Uo=new WeakMap;function bl(e){let t=Uo.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(ve(a,e)):u++};return n(e),Uo.set(e,u),u}function n6(e,t,u){var n,r;let{key:a}=e,i=ea.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(a);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(a);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var m;let b=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:i==null?void 0:i.shouldFocusOnHover;var h;let D=(h=e.shouldUseVirtualFocus)!==null&&h!==void 0?h:i==null?void 0:i.shouldUseVirtualFocus;var v;let E=(v=e.isVirtualized)!==null&&v!==void 0?v:i==null?void 0:i.isVirtualized,y=rt(),C=rt(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};yt()&&zi()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=y,B["aria-describedby"]=C);let S=t.collection.getItem(a);if(E){let I=Number(S==null?void 0:S.index);B["aria-posinset"]=Number.isNaN(I)?void 0:I+1,B["aria-setsize"]=bl(t.collection)}let R=i!=null&&i.onAction?()=>{var I;return i==null||(I=i.onAction)===null||I===void 0?void 0:I.call(i,a)}:void 0,$=X3(t,a),{itemProps:T,isPressed:A,isFocused:k,hasAction:z,allowsSelection:x}=Xu({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:E,shouldUseVirtualFocus:D,isDisabled:s,onAction:R||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?at(S==null||(r=S.props)===null||r===void 0?void 0:r.onAction,R):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:$}),{hoverProps:w}=De({isDisabled:s||!b,onHoverStart(){tu()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),V=_(S==null?void 0:S.props);delete V.id;let F=Ur(S==null?void 0:S.props);return{optionProps:{...B,...N(V,T,w,F),id:$},labelProps:{id:y},descriptionProps:{id:C},isFocused:k,isFocusVisible:k&&tu(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:x,hasAction:z}}function r6(e){let{heading:t,"aria-label":u}=e,n=ne();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var tf={};tf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var uf={};uf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var nf={};nf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var rf={};rf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var af={};af={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var lf={};lf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var of={};of={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var sf={};sf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var df={};df={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var cf={};cf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var ff={};ff={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var pf={};pf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var mf={};mf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var bf={};bf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var hf={};hf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var $f={};$f={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var gf={};gf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Df={};Df={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var yf={};yf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var vf={};vf={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var xf={};xf={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Cf={};Cf={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ef={};Ef={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Bf={};Bf={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var kf={};kf={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Pf={};Pf={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Sf={};Sf={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Af={};Af={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var wf={};wf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Ff={};Ff={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Tf={};Tf={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Rf={};Rf={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var If={};If={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Kf={};Kf={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Mf={};Mf={"ar-AE":tf,"bg-BG":uf,"cs-CZ":nf,"da-DK":rf,"de-DE":af,"el-GR":lf,"en-US":of,"es-ES":sf,"et-EE":df,"fi-FI":cf,"fr-FR":ff,"he-IL":pf,"hr-HR":mf,"hu-HU":bf,"it-IT":hf,"ja-JP":$f,"ko-KR":gf,"lt-LT":Df,"lv-LV":yf,"nb-NO":vf,"nl-NL":xf,"pl-PL":Cf,"pt-BR":Ef,"pt-PT":Bf,"ro-RO":kf,"ru-RU":Pf,"sk-SK":Sf,"sl-SI":Af,"sr-SP":wf,"sv-SE":Ff,"tr-TR":Tf,"uk-UA":Rf,"zh-CN":If,"zh-TW":Kf};function a6(e){return e&&e.__esModule?e.default:e}function hl(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=ne(),{triggerProps:l,overlayProps:s}=b3({type:n},t,u),d=m=>{if(!r&&!(a==="longPress"&&!m.altKey)&&u&&u.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break;default:"continuePropagation"in m&&m.continuePropagation()}},c=be(a6(Mf),"@react-aria/menu"),{longPressProps:f}=Os({isDisabled:r||a!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!r&&t.open(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!r&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?p:f,id:i,onKeyDown:d},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const zf=new WeakMap;function i6(e,t,u){let{shouldFocusWrap:n=!0,onKeyDown:r,onKeyUp:a,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=_(e,{labelable:!0}),{listProps:s}=pl({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return zf.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:N(l,{onKeyDown:r,onKeyUp:a},{role:"menu",...s,onKeyDown:d=>{var c;(d.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=s.onKeyDown)===null||c===void 0||c.call(s,d))}})}}function l6(e,t,u){let{id:n,key:r,closeOnSelect:a,isVirtualized:i,"aria-haspopup":l,onPressStart:s,onPressUp:d,onPress:c,onPressChange:f,onPressEnd:p,onHoverStart:m,onHoverChange:b,onHoverEnd:h,onKeyDown:D,onKeyUp:v,onFocus:E,onFocusChange:y,onBlur:C,selectionManager:B=t.selectionManager}=e,S=!!l,R=S&&e["aria-expanded"]==="true";var $;let T=($=e.isDisabled)!==null&&$!==void 0?$:B.isDisabled(r);var A;let k=(A=e.isSelected)!==null&&A!==void 0?A:B.isSelected(r),z=zf.get(t),x=t.collection.getItem(r),w=e.onClose||z.onClose,V=Su(),F=re=>{var Ht;if(!S){if(!(x==null||(Ht=x.props)===null||Ht===void 0)&&Ht.onAction?x.props.onAction():e.onAction&&e.onAction(r),z.onAction){let cu=z.onAction;cu(r)}re.target instanceof HTMLAnchorElement&&x&&V.open(re.target,re,x.props.href,x.props.routerOptions)}},I="menuitem";S||(B.selectionMode==="single"?I="menuitemradio":B.selectionMode==="multiple"&&(I="menuitemcheckbox"));let P=rt(),K=rt(),j=rt(),L={id:n,"aria-disabled":T||void 0,role:I,"aria-label":e["aria-label"],"aria-labelledby":P,"aria-describedby":[K,j].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!S&&(L["aria-checked"]=k),i&&(L["aria-posinset"]=x==null?void 0:x.index,L["aria-setsize"]=bl(t.collection));let U=re=>{re.pointerType==="keyboard"&&F(re),s==null||s(re)},Q=()=>{!S&&w&&(a??(B.selectionMode!=="multiple"||B.isLink(r)))&&w()},X=re=>{re.pointerType==="mouse"&&(F(re),Q()),d==null||d(re)},me=re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&(F(re),Q()),c==null||c(re)},{itemProps:ie,isFocused:se}=Xu({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:z.shouldUseVirtualFocus}),{pressProps:M,isPressed:G}=Ge({onPressStart:U,onPress:me,onPressUp:X,onPressChange:f,onPressEnd:p,isDisabled:T}),{hoverProps:J}=De({isDisabled:T,onHoverStart(re){!tu()&&!(R&&l==="dialog")&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(re)},onHoverChange:b,onHoverEnd:h}),{keyboardProps:O}=_s({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":!T&&B.selectionMode==="none"&&!S&&a!==!1&&w&&w();break;case"Enter":!T&&a!==!1&&!S&&w&&w();break;default:S||re.continuePropagation(),D==null||D(re);break}},onKeyUp:v}),{focusProps:Z}=Zr({onBlur:C,onFocus:E,onFocusChange:y}),le=_(x==null?void 0:x.props);delete le.id;let qe=Ur(x==null?void 0:x.props);return{menuItemProps:{...L,...N(le,qe,S?{onFocus:ie.onFocus,"data-key":ie["data-key"]}:ie,M,J,O,Z),tabIndex:ie.tabIndex!=null&&R?-1:ie.tabIndex},labelProps:{id:P},descriptionProps:{id:K},keyboardShortcutProps:{id:j},isFocused:se,isSelected:k,isPressed:G,isDisabled:T}}function o6(e){let{heading:t,"aria-label":u}=e,n=ne();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function s6(e){return e&&e.__esModule?e.default:e}function d6(e,t){let{buttonRef:u,popoverRef:n,inputRef:r,listBoxRef:a,keyboardDelegate:i,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:d,isDisabled:c}=e,f=o.useRef(null);u=u??f;let p=be(s6(c3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=hl({type:"listbox",isDisabled:c||d},t,u);ea.set(t,{id:b.id});let{collection:h}=t,{disabledKeys:D}=t.selectionManager,v=o.useMemo(()=>i||new au({collection:h,disabledKeys:D,ref:a,layoutDelegate:l}),[i,l,h,D,a]),{collectionProps:E}=ta({selectionManager:t.selectionManager,keyboardDelegate:v,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),y=Su(),C=O=>{if(!O.nativeEvent.isComposing)switch(O.key){case"Enter":case"Tab":if(t.isOpen&&O.key==="Enter"&&O.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let Z=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(O.key==="Enter"&&Z instanceof HTMLAnchorElement){let le=t.collection.getItem(t.selectionManager.focusedKey);le&&y.open(Z,O,le.props.href,le.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&O.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},B=O=>{var Z;let le=(u==null?void 0:u.current)&&u.current===O.relatedTarget,qe=(Z=n.current)===null||Z===void 0?void 0:Z.contains(O.relatedTarget);le||qe||(e.onBlur&&e.onBlur(O),t.setFocused(!1))},S=O=>{t.isFocused||(e.onFocus&&e.onFocus(O),t.setFocused(!0))},{isInvalid:R,validationErrors:$,validationDetails:T}=t.displayValidation,{labelProps:A,inputProps:k,descriptionProps:z,errorMessageProps:x}=fl({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:at(t.isOpen&&E.onKeyDown,C,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:S,autoComplete:"off",validate:void 0,[nu]:t},r),w=O=>{if(O.pointerType==="touch"){var Z;(Z=r.current)===null||Z===void 0||Z.focus(),t.toggle(null,"manual")}},V=O=>{if(O.pointerType!=="touch"){var Z;(Z=r.current)===null||Z===void 0||Z.focus(),t.toggle(O.pointerType==="keyboard"||O.pointerType==="virtual"?"first":null,"manual")}},F=vt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),I=vt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),P=o.useRef(0),K=O=>{if(c||d)return;if(O.timeStamp-P.current<500){var Z;O.preventDefault(),(Z=r.current)===null||Z===void 0||Z.focus();return}let le=O.target.getBoundingClientRect(),qe=O.changedTouches[0],re=Math.ceil(le.left+.5*le.width),Ht=Math.ceil(le.top+.5*le.height);if(qe.clientX===re&&qe.clientY===Ht){var cu;O.preventDefault(),(cu=r.current)===null||cu===void 0||cu.focus(),t.toggle(null,"manual"),P.current=O.timeStamp}},j=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var L;let U=(L=j==null?void 0:j.parentKey)!==null&&L!==void 0?L:null;var Q;let X=(Q=t.selectionManager.focusedKey)!==null&&Q!==void 0?Q:null,me=o.useRef(U),ie=o.useRef(X);o.useEffect(()=>{if(fr()&&j!=null&&X!=null&&X!==ie.current){let Z=t.selectionManager.isSelected(X),le=U!=null?t.collection.getItem(U):null,qe=(le==null?void 0:le["aria-label"])||(typeof(le==null?void 0:le.rendered)=="string"?le.rendered:"")||"";var O;let re=p.format("focusAnnouncement",{isGroupChange:(O=le&&U!==me.current)!==null&&O!==void 0?O:!1,groupTitle:qe,groupCount:le?[...ve(le,t.collection)].length:0,optionText:j["aria-label"]||j.textValue||"",isSelected:Z});Dt(re)}me.current=U,ie.current=X});let se=bl(t.collection),M=o.useRef(se),G=o.useRef(t.isOpen);o.useEffect(()=>{let O=t.isOpen!==G.current&&(t.selectionManager.focusedKey==null||fr());if(t.isOpen&&(O||se!==M.current)){let Z=p.format("countAnnouncement",{optionCount:se});Dt(Z)}M.current=se,G.current=t.isOpen});let J=o.useRef(t.selectedKey);return o.useEffect(()=>{if(fr()&&t.isFocused&&t.selectedItem&&t.selectedKey!==J.current){let O=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",Z=p.format("selectedAnnouncement",{optionText:O});Dt(Z)}J.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return J3([r.current,n.current].filter(O=>O!=null))},[t.isOpen,r,n]),{labelProps:A,buttonProps:{...m,...F,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:w,onPressStart:V,isDisabled:c||d},inputProps:N(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":j?X3(t,j.key):void 0,onTouchEnd:K,autoCorrect:"off",spellCheck:"false"}),listBoxProps:N(b,I,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:z,errorMessageProps:x,isInvalid:R,validationErrors:$,validationDetails:T}}var Vf={};Vf={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 Nf={};Nf={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 Lf={};Lf={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 jf={};jf={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 _f={};_f={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 Of={};Of={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 Hf={};Hf={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 Uf={};Uf={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 Wf={};Wf={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 Gf={};Gf={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 Zf={};Zf={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 qf={};qf={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 Yf={};Yf={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 Jf={};Jf={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 Qf={};Qf={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 Xf={};Xf={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 ep={};ep={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 tp={};tp={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 up={};up={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 np={};np={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 rp={};rp={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 ap={};ap={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 ip={};ip={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 lp={};lp={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 op={};op={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 sp={};sp={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 dp={};dp={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 cp={};cp={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 fp={};fp={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 pp={};pp={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 mp={};mp={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 bp={};bp={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 hp={};hp={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 $p={};$p={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 On={};On={"ar-AE":Vf,"bg-BG":Nf,"cs-CZ":Lf,"da-DK":jf,"de-DE":_f,"el-GR":Of,"en-US":Hf,"es-ES":Uf,"et-EE":Wf,"fi-FI":Gf,"fr-FR":Zf,"he-IL":qf,"hr-HR":Yf,"hu-HU":Jf,"it-IT":Qf,"ja-JP":Xf,"ko-KR":ep,"lt-LT":tp,"lv-LV":up,"nb-NO":np,"nl-NL":rp,"pl-PL":ap,"pt-BR":ip,"pt-PT":lp,"ro-RO":op,"ru-RU":sp,"sk-SK":dp,"sl-SI":cp,"sr-SP":fp,"sv-SE":pp,"tr-TR":mp,"uk-UA":bp,"zh-CN":hp,"zh-TW":$p};function $l(e,t,u){let{direction:n}=pe(),r=o.useMemo(()=>Yr(t),[t]),a=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)),!u))switch(s.key){case"ArrowLeft":s.preventDefault(),s.stopPropagation(),n==="rtl"?r.focusNext():r.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),n==="rtl"?r.focusPrevious():r.focusNext();break}},i=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=Pe(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}=Ge({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return N(l,{onKeyDown:a})}function c6(e){return e&&e.__esModule?e.default:e}const gp=new WeakMap,yn="__role_"+Date.now(),Dp="__focusManager_"+Date.now();function f6(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=ou({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=pt({...e,onFocusWithin(A){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,A)},onBlurWithin:A=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,A)},onFocusWithinChange:e.onFocusChange}),m=be(c6(On),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",h=t.maxGranularity==="hour"?"time":"date",D=t.value?m.format(b,{[h]:t.formatValue({month:"long"})}):"",v=Ct(D),E=e[yn]==="presentation"?s["aria-describedby"]:[v["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,y=e[Dp],C=o.useMemo(()=>y||Yr(u),[y,u]),B=$l(t,u,e[yn]==="presentation");gp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:E,focusManager:C});let S=o.useRef(e.autoFocus),R;e[yn]==="presentation"?R={role:"presentation"}:R=N(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":E}),o.useEffect(()=>{S.current&&C.focusFirst(),S.current=!1},[C]),zn(e.inputRef,t.value,t.setValue),_n({...e,focus(){C.focusFirst()}},t,e.inputRef);let $={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&($.type="text",$.hidden=!0,$.required=e.isRequired,$.onChange=()=>{});let T=_(e);return{labelProps:{...l,onClick:()=>{C.focusFirst()}},fieldProps:N(T,R,B,p,{onKeyDown(A){e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){e.onKeyUp&&e.onKeyUp(A)}}),inputProps:$,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:i}}function p6(e){return e&&e.__esModule?e.default:e}function m6(e,t,u){let n=ne(),r=ne(),a=ne(),i=be(p6(On),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ou({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=$l(t,u),h=f["aria-labelledby"]||f.id,{locale:D}=pe(),v=t.formatValue(D,{month:"long"}),E=v?i.format("selectedDateDescription",{date:v}):"",y=Ct(E),C=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=_(e),S=o.useMemo(()=>Yr(u),[u]),{focusWithinProps:R}=pt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(B,b,f,y,R,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":h,"aria-describedby":C,onKeyDown($){t.isOpen||e.onKeyDown&&e.onKeyDown($)},onKeyUp($){t.isOpen||e.onKeyUp&&e.onKeyUp($)}}),labelProps:{...c,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:a,[yn]:"presentation","aria-describedby":C,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,[nu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...y,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${h}`,"aria-describedby":C,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${h}`},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 b6(e){return e&&e.__esModule?e.default:e}function h6(){let{locale:e}=pe(),t=Td(b6(On),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new $6(e,t)}},[e,t])}class $6{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function g6(e,t,u){let n=o.useRef(""),{locale:r}=pe(),a=h6(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=gp.get(t),c=e.isPlaceholder?"":e.text,f=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=ht({month:"long",timeZone:f.timeZone}),m=ht({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let P=p.format(t.dateValue);c=P!==c?`${c} – ${P}`:P}else e.type==="hour"&&!e.isPlaceholder&&(c=m.format(t.dateValue));let{spinButtonProps:b}=C2({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="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),h=o.useMemo(()=>new ac(r,{maximumFractionDigits:0}),[r]),D=()=>{if(e.text===e.placeholder&&d.focusPrevious(),h.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let P=e.text.slice(0,-1),K=h.parse(P);P=K===0?"":P,P.length===0||K===0?t.clearSegment(e.type):t.setSegment(e.type,K),n.current=P}else e.type==="dayPeriod"&&t.clearSegment(e.type)},v=P=>{if(P.key==="a"&&(yt()?P.metaKey:P.ctrlKey)&&P.preventDefault(),!(P.ctrlKey||P.metaKey||P.shiftKey||P.altKey))switch(P.key){case"Backspace":case"Delete":P.preventDefault(),P.stopPropagation(),D();break}},{startsWith:E}=ic({sensitivity:"base"}),y=ht({hour:"numeric",hour12:!0}),C=o.useMemo(()=>{let P=new Date;return P.setHours(0),y.formatToParts(P).find(K=>K.type==="dayPeriod").value},[y]),B=o.useMemo(()=>{let P=new Date;return P.setHours(12),y.formatToParts(P).find(K=>K.type==="dayPeriod").value},[y]),S=ht({year:"numeric",era:"narrow",timeZone:"UTC"}),R=o.useMemo(()=>{if(e.type!=="era")return[];let P=he(new Se(1,1,1),t.calendar),K=t.calendar.getEras().map(L=>{let U=P.set({year:1,month:1,day:1,era:L}).toDate("UTC"),X=S.formatToParts(U).find(me=>me.type==="era").value;return{era:L,formatted:X}}),j=D6(K.map(L=>L.formatted));if(j)for(let L of K)L.formatted=L.formatted.slice(j);return K},[S,t.calendar,e.type]),$=P=>{if(t.isDisabled||t.isReadOnly)return;let K=n.current+P;switch(e.type){case"dayPeriod":if(E(C,P))t.setSegment("dayPeriod",0);else if(E(B,P))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let j=R.find(L=>E(L.formatted,P));j&&(t.setSegment("era",j.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!h.isValidPartialNumber(K))return;let j=h.parse(K),L=j,U=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":j>11&&(L=h.parse(P));break;case"h12":U=!1,j>12&&(L=h.parse(P));break}e.value!==void 0&&e.value>=12&&j>1&&(j+=12)}else e.maxValue!==void 0&&j>e.maxValue&&(L=h.parse(P));if(isNaN(j))return;let Q=L!==0||U;Q&&t.setSegment(e.type,L),e.maxValue!==void 0&&(+(j+"0")>e.maxValue||K.length>=String(e.maxValue).length)?(n.current="",Q&&d.focusNext()):n.current=K;break}}},T=()=>{n.current="",u.current&&Me(u.current,{containingElement:Ke(u.current)});let P=window.getSelection();P==null||P.collapse(u.current)},A=o.useRef(typeof document<"u"?document:null);st(A,"selectionchange",()=>{var P;let K=window.getSelection();K!=null&&K.anchorNode&&(!((P=u.current)===null||P===void 0)&&P.contains(K==null?void 0:K.anchorNode))&&K.collapse(u.current)});let k=o.useRef("");st(u,"beforeinput",P=>{if(u.current)switch(P.preventDefault(),P.inputType){case"deleteContentBackward":case"deleteContentForward":h.isValidPartialNumber(e.text)&&!t.isReadOnly&&D();break;case"insertCompositionText":k.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:P.data!=null&&$(P.data);break}}),st(u,"input",P=>{let{inputType:K,data:j}=P;switch(K){case"insertCompositionText":u.current&&(u.current.textContent=k.current),j!=null&&(E(C,j)||E(B,j))&&$(j);break}}),Y(()=>{let P=u.current;return()=>{document.activeElement===P&&(d.focusPrevious()||d.focusNext())}},[u,d]);let z=Mn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},x=o.useMemo(()=>t.segments.find(P=>P.isEditable),[t.segments]);e!==x&&!t.isInvalid&&(s=void 0);let w=ne(),V=!t.isDisabled&&!t.isReadOnly&&e.isEditable,F=e.type==="literal"?"":a.of(e.type),I=vt({"aria-label":`${F}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:N(b,I,{id:w,...z,"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:V,suppressContentEditableWarning:V,spellCheck:V?"false":void 0,autoCorrect:V?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:V?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!V?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:v,onFocus:T,style:{caretColor:"transparent"},onPointerDown(P){P.stopPropagation()},onMouseDown(P){P.stopPropagation()}})}}function D6(e){e.sort();let t=e[0],u=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==u[n])return n;return 0}function y6(e){return e&&e.__esModule?e.default:e}function v6(e,t,u){var n,r,a;let i=be(y6(On),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=ou({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:h}=pe(),D=t.formatValue(h,{month:"long"}),v=D?i.format("selectedRangeDescription",{startDate:D.start,endDate:D.end}):"",E=Ct(v),y={"aria-label":i.format("startDate"),"aria-labelledby":b},C={"aria-label":i.format("endDate"),"aria-labelledby":b},B=ne(),S=ne(),R=$l(t,u),$=[E["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,T=o.useMemo(()=>Yr(u,{accept:I=>I.id!==B}),[u,B]),A={[Dp]:T,[yn]:"presentation","aria-describedby":$,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=_(e),{focusWithinProps:z}=pt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=o.useRef(Yt),w=o.useRef(Yt);var V,F;return{groupProps:N(k,R,f,E,z,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":$,onKeyDown(I){t.isOpen||e.onKeyDown&&e.onKeyDown(I)},onKeyUp(I){t.isOpen||e.onKeyUp&&e.onKeyUp(I)}}),labelProps:{...c,onClick:()=>{T.focusFirst()}},buttonProps:{...E,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":$,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:S,"aria-labelledby":`${B} ${b}`},startFieldProps:{...y,...A,value:(V=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&V!==void 0?V:null,onChange:I=>t.setDateTime("start",I),autoFocus:e.autoFocus,name:e.startName,[nu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(I){x.current=I,t.updateValidation(Rn(I,w.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...A,value:(F=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&F!==void 0?F:null,onChange:I=>t.setDateTime("end",I),name:e.endName,[nu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(I){w.current=I,t.updateValidation(Rn(x.current,I))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:m,calendarProps:{autoFocus:!0,value:!((a=t.dateRange)===null||a===void 0)&&a.start&&t.dateRange.end?t.dateRange:null,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:l,validationErrors:s,validationDetails:d}}function x6(e,t){let{role:u="dialog"}=e,n=rt();n=e["aria-label"]?void 0:n;let r=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){xe(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(r.current=!0,t.current&&(t.current.blur(),xe(t.current)),r.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),Y2(),{dialogProps:{..._(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function C6(e,t,u){let{isDisabled:n}=e,r=ne(),a=ne(),l=!Nt()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),iu.flushSync(()=>{t.toggle()})},[u,t]);return st(u,"beforematch",l?d:null),Y(()=>{s.current&&cancelAnimationFrame(s.current),l&&u.current&&!n&&(t.isExpanded?u.current.removeAttribute("hidden"):u.current.setAttribute("hidden","until-found"))},[n,u,t.isExpanded,l]),o.useEffect(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[]),{buttonProps:{id:r,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":r,"aria-hidden":!t.isExpanded,hidden:l?!0:!t.isExpanded}}}var Le=function(e){return e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all",e}({});const yp={...Le,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},E6=gl(yp);E6[7]="all";gl(Le);const vp={none:"cancel",link:"link",copy:"copy",move:"move"},La=gl(vp);function gl(e){let t={};for(let u in e)t[e[u]]=u;return t}const B6=new Set(["text/plain","text/uri-list","text/html"]),Tr="application/vnd.react-aria.items+json",Rr="application/octet-stream",k6=Symbol();function P6(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function S6(){return P6(Wi())}function Wo(e,t){let u=new Map,n=!1,r=[];for(let a of t){let i=Object.keys(a);i.length>1&&(n=!0);let l={};for(let s of i){let d=u.get(s);d?n=!0:(d=[],u.set(s,d));let c=a[s];l[s]=c,d.push(c)}r.push(l)}for(let[a,i]of u)if(B6.has(a)){let l=i.join(`
18
- `);e.items.add(l,a)}else e.items.add(i[0],a);if(n){let a=JSON.stringify(r);e.items.add(a,Tr)}}class ar{has(t){return this.includesUnknownTypes||t===k6&&this.types.has(Rr)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let u=!1;for(let n of t.items)n.type!==Tr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Rr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function xp(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Tr))try{let n=e.getData(Tr),r=JSON.parse(n);for(let a of r)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});u=!0}catch{}if(!u){let n=new Map;for(let r of e.items)if(r.kind==="string")n.set(r.type||Rr,e.getData(r.type));else if(r.kind==="file")if(typeof r.webkitGetAsEntry=="function"){let a=r.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(vi(r.getAsFile())):a.isDirectory&&t.push(Cp(a))}else t.push(vi(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function A6(e){return typeof e.text=="function"?e.text():new Promise((t,u)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=u,n.readAsText(e)})}function vi(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Rr,name:e.name,getText:()=>A6(e),getFile:()=>Promise.resolve(e)}}function Cp(e){return{kind:"directory",name:e.name,getEntries:()=>w6(e)}}async function*w6(e){let t=e.createReader(),u;do{u=await new Promise((n,r)=>{t.readEntries(n,r)});for(let n of u)if(n.isFile){let r=await F6(n);yield vi(r)}else n.isDirectory&&(yield Cp(n))}while(u.length>0)}function F6(e){return new Promise((t,u)=>e.file(t,u))}let Ep={draggingKeys:new Set};function T6(e){Ep=e}let Go=Le.none,Zo=new Map,qo=null,Yo=new Set;function R6(e){return Zo.set(e.element,e),()=>{Zo.delete(e.element)}}function I6(){let[e,t]=o.useState(qo);return o.useEffect(()=>{let u=()=>t(qo);return Yo.add(u),()=>{Yo.delete(u)}},[]),e}var Bp={};Bp={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var kp={};kp={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var Pp={};Pp={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var Sp={};Sp={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var Ap={};Ap={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var wp={};wp={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var Fp={};Fp={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var Tp={};Tp={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al público destinatario donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var Rp={};Rp={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var Ip={};Ip={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var Kp={};Kp={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var Mp={};Mp={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var zp={};zp={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var Vp={};Vp={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var Np={};Np={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var Lp={};Lp={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var jp={};jp={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var _p={};_p={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var Op={};Op={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var Hp={};Hp={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var Up={};Up={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var Wp={};Wp={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var Gp={};Gp={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var Zp={};Zp={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var qp={};qp={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var Yp={};Yp={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var Jp={};Jp={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var Qp={};Qp={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var Xp={};Xp={dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite da biste započeli prevlačenje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropIndicator:"Indikator otpuštanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`};var e0={};e0={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var t0={};t0={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var u0={};u0={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var n0={};n0={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var r0={};r0={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`};var a0={};a0={"ar-AE":Bp,"bg-BG":kp,"cs-CZ":Pp,"da-DK":Sp,"de-DE":Ap,"el-GR":wp,"en-US":Fp,"es-ES":Tp,"et-EE":Rp,"fi-FI":Ip,"fr-FR":Kp,"he-IL":Mp,"hr-HR":zp,"hu-HU":Vp,"it-IT":Np,"ja-JP":Lp,"ko-KR":jp,"lt-LT":_p,"lv-LV":Op,"nb-NO":Hp,"nl-NL":Up,"pl-PL":Wp,"pt-BR":Gp,"pt-PT":Zp,"ro-RO":qp,"ru-RU":Yp,"sk-SK":Jp,"sl-SI":Qp,"sr-SP":Xp,"sv-SE":e0,"tr-TR":t0,"uk-UA":u0,"zh-CN":n0,"zh-TW":r0};function K6(e){return e&&e.__esModule?e.default:e}const M6={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function z6(){let e=be(K6(a0),"@react-aria/dnd"),t=S6(),u=I6();return{dropProps:{...Ct(u?e.format(M6[t]):""),onClick:()=>{}}}}const V6=800;function N6(e){let{hasDropButton:t,isDisabled:u}=e,[n,r]=o.useState(!1),a=o.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Le.all,dropActivateTimer:void 0}).current,i=y=>{if(r(!0),typeof e.onDropEnter=="function"){let C=y.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:y.clientX-C.x,y:y.clientY-C.y})}},l=y=>{if(r(!1),typeof e.onDropExit=="function"){let C=y.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:y.clientX-C.x,y:y.clientY-C.y})}},s=y=>{y.preventDefault(),y.stopPropagation();let C=Jo(y);if(y.clientX===a.x&&y.clientY===a.y&&C===a.allowedOperations){y.dataTransfer.dropEffect=a.dropEffect;return}a.x=y.clientX,a.y=y.clientY;let B=a.dropEffect;if(C!==a.allowedOperations){let S=ja(C),R=S[0];if(typeof e.getDropOperation=="function"){let $=new ar(y.dataTransfer);R=ir(C,e.getDropOperation($,S))}a.dropEffect=La[R]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new ar(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$=ir(C,e.getDropOperationForPoint(S,ja(C),a.x-R.x,a.y-R.y));a.dropEffect=La[$]||"none"}if(a.allowedOperations=C,y.dataTransfer.dropEffect=a.dropEffect,a.dropEffect==="none"&&B!=="none"?l(y):a.dropEffect!=="none"&&B==="none"&&i(y),typeof e.onDropMove=="function"&&a.dropEffect!=="none"){let S=y.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:a.x-S.x,y:a.y-S.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&a.dropEffect!=="none"){let S=e.onDropActivate,R=y.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{S({type:"dropactivate",x:a.x-R.x,y:a.y-R.y})},V6)}},d=y=>{if(y.preventDefault(),y.stopPropagation(),a.dragOverElements.add(y.target),a.dragOverElements.size>1)return;let C=Jo(y),B=ja(C),S=B[0];if(typeof e.getDropOperation=="function"){let R=new ar(y.dataTransfer);S=ir(C,e.getDropOperation(R,B))}if(typeof e.getDropOperationForPoint=="function"){let R=new ar(y.dataTransfer),$=y.currentTarget.getBoundingClientRect();S=ir(C,e.getDropOperationForPoint(R,B,y.clientX-$.x,y.clientY-$.y))}a.x=y.clientX,a.y=y.clientY,a.allowedOperations=C,a.dropEffect=La[S]||"none",y.dataTransfer.dropEffect=a.dropEffect,S!=="cancel"&&i(y)},c=y=>{y.preventDefault(),y.stopPropagation(),a.dragOverElements.delete(y.target);for(let C of a.dragOverElements)y.currentTarget.contains(C)||a.dragOverElements.delete(C);a.dragOverElements.size>0||(a.dropEffect!=="none"&&l(y),clearTimeout(a.dropActivateTimer))},f=y=>{if(y.preventDefault(),y.stopPropagation(),a.dropEffect,typeof e.onDrop=="function"){let B=vp[a.dropEffect],S=xp(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$={type:"drop",x:y.clientX-R.x,y:y.clientY-R.y,items:S,dropOperation:B};e.onDrop($)}let C={...Ep};a.dragOverElements.clear(),l(y),clearTimeout(a.dropActivateTimer),C.draggingCollectionRef==null||T6(C)},p=ae(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),m=ae(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),b=ae(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),h=ae(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),D=ae((y,C)=>e.getDropOperation?e.getDropOperation(y,C):C[0]),{ref:v}=e;Y(()=>{if(!(u||!v.current))return R6({element:v.current,getDropOperation:D,onDropEnter(y){r(!0),p(y)},onDropExit(y){r(!1),m(y)},onDrop:h,onDropActivate:b})},[u,v,D,p,m,h,b]);let{dropProps:E}=z6();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&E,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&E},isDropTarget:n}}function Jo(e){let t=yp[e.dataTransfer.effectAllowed];Go&&(t&=Go);let u=Le.none;return yt()?(e.altKey&&(u|=Le.copy),e.ctrlKey&&!Mi()&&(u|=Le.link),e.metaKey&&(u|=Le.move)):(e.altKey&&(u|=Le.link),e.shiftKey&&(u|=Le.move),e.ctrlKey&&(u|=Le.copy)),u?t&u:t}function ja(e){let t=[];return e&Le.move&&t.push("move"),e&Le.copy&&t.push("copy"),e&Le.link&&t.push("link"),t}function ir(e,t){let u=Le[t];return e&u?t:"cancel"}const _a=new Map;function Mu(e,t){let u=_a.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},_a.set(e,u),document.addEventListener(e,r)}return u.handlers.add(t),()=>{u.handlers.delete(t),u.handlers.size===0&&(document.removeEventListener(e,u.listener),_a.delete(e))}}function L6(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=Zr({onFocusChange:c=>{u.current=c}}),r=ae(c=>{u.current&&e.getItems&&c.preventDefault()}),a=ae(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;Wo(c.clipboardData,e.getItems()),(f=e.onCopy)===null||f===void 0||f.call(e)}}),i=ae(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=ae(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(Wo(c.clipboardData,e.getItems()),e.onCut()))}),s=ae(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=ae(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=xp(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return at(Mu("beforecopy",r),Mu("copy",a),Mu("beforecut",i),Mu("cut",l),Mu("beforepaste",s),Mu("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const Dl=new WeakMap;function xi(e,t){var u;let{id:n}=(u=Dl.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${j6(t)}`}function j6(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class i0{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findPreviousKey(t,u){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;n=this.collection.getKeyBefore(n)}return null}findNextKey(t,u){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;if(n=this.collection.getKeyAfter(n),n==null)return null}return null}getKeyBelow(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findNextKey(u,s=>s.type==="item"),u!=null){if(this.isCell(n)){var a;let s=this.collection.getItem(u);if(!s)return null;var i,l;return(l=(a=qt(ve(s,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||a===void 0?void 0:a.key)!==null&&l!==void 0?l:null}if(this.focusMode==="row")return u}return null}getKeyAbove(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findPreviousKey(u,l=>l.type==="item"),u!=null){if(this.isCell(n)){var a;let l=this.collection.getItem(u);if(!l)return null;var i;return((a=qt(ve(l,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||a===void 0?void 0:a.key)||null}if(this.focusMode==="row")return u}return null}getKeyRightOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=ve(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Kt(c))===null||n===void 0?void 0:n.key:(r=Tt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?qt(f,u.index-1):qt(f,u.index+1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))!==null&&d!==void 0?d:null}return null}getKeyLeftOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=ve(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Tt(c))===null||n===void 0?void 0:n.key:(r=Kt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?qt(f,u.index+1):qt(f,u.index-1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))!==null&&d!==void 0?d:null}return null}getFirstKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;var i;return(i=(a=Tt(ve(d,this.collection)))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findNextKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;var s;n=(s=(l=Tt(ve(d,this.collection)))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getLastKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;let c=ve(d,this.collection);var i;return(i=(a=Kt(c))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=ve(d,this.collection);var s;n=(s=(l=Kt(c))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getKeyPageAbove(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&u!=null;){var a;if(u=(a=this.getKeyAbove(u))!==null&&a!==void 0?a:null,u==null)break;n=this.layoutDelegate.getItemRect(u)}return u}getKeyPageBelow(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,a=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<a;){let i=this.getKeyBelow(u);if(i==null)break;n=this.layoutDelegate.getItemRect(i),u=i}return u}getKeyForSearch(t,u){let n=u??null;if(!this.collator)return null;let r=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let a=r.getItem(n);if(!a)return null;var i;a.type==="cell"&&(n=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;n!=null;){let c=r.getItem(n);if(!c)return null;if(c.textValue){let f=c.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){var s,d;return this.isRow(c)&&this.focusMode==="cell"?(d=(s=Tt(ve(c,this.collection)))===null||s===void 0?void 0:s.key)!==null&&d!==void 0?d:null:c.key}}n=this.findNextKey(n,f=>f.type==="item"),n==null&&!l&&(n=this.getFirstKey(),l=!0)}return null}constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new _6(t.layout):new yi(t.ref)),this.focusMode=t.focusMode||"row"}}class _6{getContentSize(){return this.layout.getContentSize()}getItemRect(t){var u;return((u=this.layout.getLayoutInfo(t))===null||u===void 0?void 0:u.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(t){this.layout=t}}const yl=new WeakMap;var l0={};l0={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var o0={};o0={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var s0={};s0={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var d0={};d0={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var c0={};c0={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var f0={};f0={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var p0={};p0={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var m0={};m0={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var b0={};b0={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var h0={};h0={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var $0={};$0={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var g0={};g0={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var D0={};D0={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var y0={};y0={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var v0={};v0={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var x0={};x0={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var C0={};C0={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var E0={};E0={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var B0={};B0={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var k0={};k0={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var P0={};P0={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var S0={};S0={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var A0={};A0={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var w0={};w0={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var F0={};F0={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var T0={};T0={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var R0={};R0={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var I0={};I0={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var K0={};K0={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var M0={};M0={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var z0={};z0={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var V0={};V0={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var N0={};N0={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var L0={};L0={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var ua={};ua={"ar-AE":l0,"bg-BG":o0,"cs-CZ":s0,"da-DK":d0,"de-DE":c0,"el-GR":f0,"en-US":p0,"es-ES":m0,"et-EE":b0,"fi-FI":h0,"fr-FR":$0,"he-IL":g0,"hr-HR":D0,"hu-HU":y0,"it-IT":v0,"ja-JP":x0,"ko-KR":C0,"lt-LT":E0,"lv-LV":B0,"nb-NO":k0,"nl-NL":P0,"pl-PL":S0,"pt-BR":A0,"pt-PT":w0,"ro-RO":F0,"ru-RU":T0,"sk-SK":R0,"sl-SI":I0,"sr-SP":K0,"sv-SE":M0,"tr-TR":z0,"uk-UA":V0,"zh-CN":N0,"zh-TW":L0};function O6(e){return e&&e.__esModule?e.default:e}function j0(e,t){let{getRowText:u=i=>{var l,s,d,c;return(c=(l=(s=t.collection).getTextValue)===null||l===void 0?void 0:l.call(s,i))!==null&&c!==void 0?c:(d=t.collection.getItem(i))===null||d===void 0?void 0:d.textValue}}=e,n=be(O6(ua),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r);gr(()=>{var i;if(!t.selectionManager.isFocused){a.current=r;return}let l=Qo(r,a.current),s=Qo(a.current,r),d=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&d){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let f=u(t.selectionManager.selectedKeys.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}}else if(l.size===1&&s.size===0){let f=u(l.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}else if(s.size===1&&l.size===0&&t.collection.getItem(s.keys().next().value)){let f=u(s.keys().next().value);f&&c.push(n.format("deselectedItem",{item:f}))}t.selectionManager.selectionMode==="multiple"&&(c.length===0||r==="all"||r.size>1||a.current==="all"||((i=a.current)===null||i===void 0?void 0:i.size)>1)&&c.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),c.length>0&&Dt(c.join(" ")),a.current=r},[r])}function Qo(e,t){let u=new Set;if(e==="all"||t==="all")return u;for(let n of e.keys())t.has(n)||u.add(n);return u}function H6(e){return e&&e.__esModule?e.default:e}function _0(e){let t=be(H6(ua),"@react-aria/grid"),u=Wi(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,r=o.useMemo(()=>{let i=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return n&&(s=t.format("longPressToSelect")),l==="replace"&&i!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return Ct(r)}function U6(e,t,u){let{isVirtualized:n,keyboardDelegate:r,focusMode:a,scrollRef:i,getRowText:l,onRowAction:s,onCellAction:d}=e,{selectionManager:c}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let f=wu({usage:"search",sensitivity:"base"}),{direction:p}=pe(),m=t.selectionManager.disabledBehavior,b=o.useMemo(()=>r||new i0({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:m,ref:u,direction:p,collator:f,focusMode:a}),[r,t.collection,t.disabledKeys,m,u,p,f,a]),{collectionProps:h}=ta({ref:u,selectionManager:c,keyboardDelegate:b,isVirtualized:n,scrollRef:i}),D=ne(e.id);yl.set(t,{keyboardDelegate:b,actions:{onRowAction:s,onCellAction:d}});let v=_0({selectionManager:c,hasItemActions:!!(s||d)}),E=_(e,{labelable:!0}),y=o.useCallback(R=>{if(c.isFocused){R.currentTarget.contains(R.target)||c.setFocused(!1);return}R.currentTarget.contains(R.target)&&c.setFocused(!0)},[c]),C=o.useMemo(()=>({onBlur:h.onBlur,onFocus:y}),[y,h.onBlur]),B=qi(u,{isDisabled:t.collection.size!==0}),S=N(E,{role:"grid",id:D,"aria-multiselectable":c.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?C:h,t.collection.size===0&&{tabIndex:B?-1:0}||void 0,v);return n&&(S["aria-rowcount"]=t.collection.size,S["aria-colcount"]=t.collection.columnCount),j0({getRowText:l},t),{gridProps:S}}function W6(){return{rowGroupProps:{role:"rowgroup"}}}function G6(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=yl.get(t),c=d.onRowAction?()=>{var h;return(h=d.onRowAction)===null||h===void 0?void 0:h.call(d,a.key)}:s,{itemProps:f,...p}=Xu({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:c||!(a==null||(n=a.props)===null||n===void 0)&&n.onAction?at(a==null||(r=a.props)===null||r===void 0?void 0:r.onAction,c):void 0,isDisabled:t.collection.size===0}),m=t.selectionManager.isSelected(a.key),b={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?m:void 0,"aria-disabled":p.isDisabled||void 0,...f};return i&&(b["aria-rowindex"]=a.index+1),{rowProps:b,...p}}function O0(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=pe(),{keyboardDelegate:d,actions:{onCellAction:c}}=yl.get(t),f=o.useRef(null),p=()=>{if(u.current){let y=Pe(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let C=t.selectionManager.childFocusStrategy==="last"?Oa(y):y.firstChild();if(C){xe(C);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&xe(u.current)}},{itemProps:m,isPressed:b}=Xu({selectionManager:t.selectionManager,key:n.key,ref:u,isVirtualized:r,focus:p,shouldSelectOnPressUp:i,onAction:c?()=>c(n.key):l,isDisabled:t.collection.size===0}),v=N(m,{role:"gridcell",onKeyDownCapture:y=>{if(!y.currentTarget.contains(y.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let C=Pe(u.current);switch(C.currentNode=document.activeElement,y.key){case"ArrowLeft":{let A=s==="rtl"?C.nextNode():C.previousNode();if(a==="child"&&A===u.current&&(A=null),y.preventDefault(),y.stopPropagation(),A)xe(A),Me(A,{containingElement:Ke(u.current)});else{var B;if(((B=d.getKeyLeftOf)===null||B===void 0?void 0:B.call(d,n.key))!==n.key){var S;(S=u.current.parentElement)===null||S===void 0||S.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent));break}a==="cell"&&s==="rtl"?(xe(u.current),Me(u.current,{containingElement:Ke(u.current)})):(C.currentNode=u.current,A=s==="rtl"?C.firstChild():Oa(C),A&&(xe(A),Me(A,{containingElement:Ke(u.current)})))}break}case"ArrowRight":{let A=s==="rtl"?C.previousNode():C.nextNode();if(a==="child"&&A===u.current&&(A=null),y.preventDefault(),y.stopPropagation(),A)xe(A),Me(A,{containingElement:Ke(u.current)});else{var R;if(((R=d.getKeyRightOf)===null||R===void 0?void 0:R.call(d,n.key))!==n.key){var $;($=u.current.parentElement)===null||$===void 0||$.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent));break}a==="cell"&&s==="ltr"?(xe(u.current),Me(u.current,{containingElement:Ke(u.current)})):(C.currentNode=u.current,A=s==="rtl"?Oa(C):C.firstChild(),A&&(xe(A),Me(A,{containingElement:Ke(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!y.altKey&&u.current.contains(y.target)){var T;y.stopPropagation(),y.preventDefault(),(T=u.current.parentElement)===null||T===void 0||T.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent))}break}},onFocus:y=>{if(f.current=n.key,y.target!==u.current){tu()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===u.current&&p()})}});var E;return r&&(v["aria-colindex"]=((E=n.colIndex)!==null&&E!==void 0?E:n.index)+1),i&&v.tabIndex!=null&&v.onPointerDown==null&&(v.onPointerDown=y=>{let C=y.currentTarget,B=C.getAttribute("tabindex");C.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&C.setAttribute("tabindex",B)})}),{gridCellProps:v,isPressed:b}}function Oa(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function Z6(e){return e&&e.__esModule?e.default:e}function H0(e,t){let{key:u}=e,n=t.selectionManager,r=ne(),a=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=be(Z6(ua),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function U0(e,t,u){let{isVirtualized:n,keyboardDelegate:r,layoutDelegate:a,onAction:i,linkBehavior:l="action",keyboardNavigationBehavior:s="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:d}=pl({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:u,keyboardDelegate:r,layoutDelegate:a,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:l}),c=ne(e.id);Dl.set(t,{id:c,onAction:i,linkBehavior:l,keyboardNavigationBehavior:s});let f=_0({selectionManager:t.selectionManager,hasItemActions:!!i}),p=qi(u,{isDisabled:t.collection.size!==0}),m=_(e,{labelable:!0}),b=N(m,{role:"grid",id:c,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:p?-1:0}:d,f);return n&&(b["aria-rowcount"]=t.collection.size,b["aria-colcount"]=1),j0({},t),{gridProps:b}}const Xo={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function W0(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=pe(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=Dl.get(t),p=rt(),m=o.useRef(null),b=()=>{var F;u.current!==null&&(m.current!=null&&a.key!==m.current||!(!((F=u.current)===null||F===void 0)&&F.contains(document.activeElement)))&&xe(u.current)},h={},D,v=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var E,y,C;let F=(E=(y=t.collection).getChildren)===null||E===void 0?void 0:E.call(y,a.key);D=[...F??[]].length>1,d==null&&!v&&t.selectionManager.selectionMode==="none"&&D&&(d=()=>t.toggleKey(a.key));let I=D?t.expandedKeys.has(a.key):void 0,P=1;var B;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let K=t.collection.getItem(a.parentKey);if(K){var S,R;let j=(S=(R=t.collection).getChildren)===null||S===void 0?void 0:S.call(R,K.key);P=Kt(j).index+1}}else P=((B=(C=[...t.collection].filter(K=>K.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&B!==void 0?B:0)+1;h={"aria-expanded":I,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":P}}let{itemProps:$,...T}=Xu({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=a.props)===null||n===void 0)&&n.onAction?at((r=a.props)===null||r===void 0?void 0:r.onAction,d?()=>d(a.key):void 0):void 0,focus:b,linkBehavior:c}),A=F=>{if(!F.currentTarget.contains(F.target)||!u.current||!document.activeElement)return;let I=Pe(u.current);if(I.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(F.key===Xo.expand[s]&&t.selectionManager.focusedKey===a.key&&D&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}else if(F.key===Xo.collapse[s]&&t.selectionManager.focusedKey===a.key&&D&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}}switch(F.key){case"ArrowLeft":if(f==="arrow"){let K=s==="rtl"?I.nextNode():I.previousNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),Me(K,{containingElement:Ke(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="rtl")xe(u.current),Me(u.current,{containingElement:Ke(u.current)});else{I.currentNode=u.current;let j=es(I);j&&(xe(j),Me(j,{containingElement:Ke(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let K=s==="rtl"?I.previousNode():I.nextNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),Me(K,{containingElement:Ke(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="ltr")xe(u.current),Me(u.current,{containingElement:Ke(u.current)});else{I.currentNode=u.current;let j=es(I);j&&(xe(j),Me(j,{containingElement:Ke(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!F.altKey&&u.current.contains(F.target)){var P;F.stopPropagation(),F.preventDefault(),(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(F.nativeEvent.type,F.nativeEvent))}break;case"Tab":if(f==="tab"){let K=Pe(u.current,{tabbable:!0});K.currentNode=document.activeElement,(F.shiftKey?K.previousNode():K.nextNode())&&F.stopPropagation()}}},k=F=>{if(m.current=a.key,F.target!==u.current){tu()||t.selectionManager.setFocusedKey(a.key);return}},z=Vi(a.props),x=T.hasAction?z:{},w=N($,x,{role:"row",onKeyDownCapture:A,onFocus:k,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":p&&a.textValue?`${xi(t,a.key)} ${p}`:void 0,id:xi(t,a.key)});i&&(w["aria-rowindex"]=a.index+1);let V={role:"gridcell","aria-colindex":1};return{rowProps:{...N(w,h)},gridCellProps:V,descriptionProps:{id:p},...T}}function es(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function q6(e,t){let{key:u}=e;const{checkboxProps:n}=H0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${xi(t,u)}`}}}const G0=new WeakMap;function Y6(e,t,u){let{value:n,children:r,"aria-label":a,"aria-labelledby":i}=e;const l=e.isDisabled||t.isDisabled;let s=r!=null,d=a!=null||i!=null;!s&&!d&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=$=>{$.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=Ge({isDisabled:l}),{pressProps:b,isPressed:h}=Ge({isDisabled:l,onPress(){t.setSelectedValue(n)}}),{focusableProps:D}=Au(N(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),v=N(p,D),E=_(e,{labelable:!0}),y=-1;t.selectedValue!=null?t.selectedValue===n&&(y=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(y=0),l&&(y=void 0);let{name:C,descriptionId:B,errorMessageId:S,validationBehavior:R}=G0.get(t);return zn(u,t.selectedValue,t.setSelectedValue),_n({validationBehavior:R},t,u),{labelProps:N(b,{onClick:$=>$.preventDefault()}),inputProps:N(E,{...v,type:"radio",name:C,tabIndex:y,disabled:l,required:t.isRequired&&R==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?S:null,B].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:m||h}}function J6(e,t){let{name:u,isReadOnly:n,isRequired:r,isDisabled:a,orientation:i="vertical",validationBehavior:l="aria"}=e,{direction:s}=pe(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:b,errorMessageProps:h}=ou({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),D=_(e,{labelable:!0}),{focusWithinProps:v}=pt({onBlurWithin(C){var B;(B=e.onBlur)===null||B===void 0||B.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),E=C=>{let B;switch(C.key){case"ArrowRight":s==="rtl"&&i!=="vertical"?B="prev":B="next";break;case"ArrowLeft":s==="rtl"&&i!=="vertical"?B="next":B="prev";break;case"ArrowDown":B="next";break;case"ArrowUp":B="prev";break;default:return}C.preventDefault();let S=Pe(C.currentTarget,{from:C.target}),R;B==="next"?(R=S.nextNode(),R||(S.currentNode=C.currentTarget,R=S.firstChild())):(R=S.previousNode(),R||(S.currentNode=C.currentTarget,R=S.lastChild())),R&&(R.focus(),t.setSelectedValue(R.value))},y=ne(u);return G0.set(t,{name:y,descriptionId:b.id,errorMessageId:h.id,validationBehavior:l}),{radioGroupProps:N(D,{role:"radiogroup",onKeyDown:E,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":r||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...v}),labelProps:p,descriptionProps:b,errorMessageProps:h,isInvalid:d,validationErrors:c,validationDetails:f}}var Z0={};Z0={"Clear search":"مسح البحث"};var q0={};q0={"Clear search":"Изчистване на търсене"};var Y0={};Y0={"Clear search":"Vymazat hledání"};var J0={};J0={"Clear search":"Ryd søgning"};var Q0={};Q0={"Clear search":"Suche zurücksetzen"};var X0={};X0={"Clear search":"Απαλοιφή αναζήτησης"};var e1={};e1={"Clear search":"Clear search"};var t1={};t1={"Clear search":"Borrar búsqueda"};var u1={};u1={"Clear search":"Tühjenda otsing"};var n1={};n1={"Clear search":"Tyhjennä haku"};var r1={};r1={"Clear search":"Effacer la recherche"};var a1={};a1={"Clear search":"נקה חיפוש"};var i1={};i1={"Clear search":"Obriši pretragu"};var l1={};l1={"Clear search":"Keresés törlése"};var o1={};o1={"Clear search":"Cancella ricerca"};var s1={};s1={"Clear search":"検索をクリア"};var d1={};d1={"Clear search":"검색 지우기"};var c1={};c1={"Clear search":"Išvalyti iešką"};var f1={};f1={"Clear search":"Notīrīt meklēšanu"};var p1={};p1={"Clear search":"Tøm søk"};var m1={};m1={"Clear search":"Zoekactie wissen"};var b1={};b1={"Clear search":"Wyczyść zawartość wyszukiwania"};var h1={};h1={"Clear search":"Limpar pesquisa"};var $1={};$1={"Clear search":"Limpar pesquisa"};var g1={};g1={"Clear search":"Ştergeţi căutarea"};var D1={};D1={"Clear search":"Очистить поиск"};var y1={};y1={"Clear search":"Vymazať vyhľadávanie"};var v1={};v1={"Clear search":"Počisti iskanje"};var x1={};x1={"Clear search":"Obriši pretragu"};var C1={};C1={"Clear search":"Rensa sökning"};var E1={};E1={"Clear search":"Aramayı temizle"};var B1={};B1={"Clear search":"Очистити пошук"};var k1={};k1={"Clear search":"清除搜索"};var P1={};P1={"Clear search":"清除搜尋條件"};var S1={};S1={"ar-AE":Z0,"bg-BG":q0,"cs-CZ":Y0,"da-DK":J0,"de-DE":Q0,"el-GR":X0,"en-US":e1,"es-ES":t1,"et-EE":u1,"fi-FI":n1,"fr-FR":r1,"he-IL":a1,"hr-HR":i1,"hu-HU":l1,"it-IT":o1,"ja-JP":s1,"ko-KR":d1,"lt-LT":c1,"lv-LV":f1,"nb-NO":p1,"nl-NL":m1,"pl-PL":b1,"pt-BR":h1,"pt-PT":$1,"ro-RO":g1,"ru-RU":D1,"sk-SK":y1,"sl-SI":v1,"sr-SP":x1,"sv-SE":C1,"tr-TR":E1,"uk-UA":B1,"zh-CN":k1,"zh-TW":P1};function Q6(e){return e&&e.__esModule?e.default:e}function X6(e,t,u){let n=be(Q6(S1),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:a,onSubmit:i,onClear:l,type:s="search"}=e,d=v=>{const E=v.key;E==="Enter"&&(r||a)&&v.preventDefault(),!(r||a)&&(E==="Enter"&&i&&(v.preventDefault(),i(t.value)),E==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?v.continuePropagation():(v.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var v;(v=u.current)===null||v===void 0||v.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:h,...D}=fl({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:at(d,e.onKeyDown),type:s},u);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:r||a,onPress:c,onPressStart:f},descriptionProps:b,errorMessageProps:h,...D}}const A1=new WeakMap;function ey(e,t,u){let{keyboardDelegate:n,isDisabled:r,isRequired:a,name:i,validationBehavior:l="aria"}=e,s=wu({usage:"search",sensitivity:"base"}),d=o.useMemo(()=>n||new au(t.collection,t.disabledKeys,u,s),[n,t.collection,t.disabledKeys,s]),{menuTriggerProps:c,menuProps:f}=hl({isDisabled:r,type:"listbox"},t,u),p=$=>{switch($.key){case"ArrowLeft":{var T,A;$.preventDefault();let x=t.selectedKey!=null?(T=d.getKeyAbove)===null||T===void 0?void 0:T.call(d,t.selectedKey):(A=d.getFirstKey)===null||A===void 0?void 0:A.call(d);x&&t.setSelectedKey(x);break}case"ArrowRight":{var k,z;$.preventDefault();let x=t.selectedKey!=null?(k=d.getKeyBelow)===null||k===void 0?void 0:k.call(d,t.selectedKey):(z=d.getFirstKey)===null||z===void 0?void 0:z.call(d);x&&t.setSelectedKey(x);break}}},{typeSelectProps:m}=ef({keyboardDelegate:d,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKey($)}}),{isInvalid:b,validationErrors:h,validationDetails:D}=t.displayValidation,{labelProps:v,fieldProps:E,descriptionProps:y,errorMessageProps:C}=ou({...e,labelElementType:"span",isInvalid:b,errorMessage:e.errorMessage||h});m.onKeyDown=m.onKeyDownCapture,delete m.onKeyDownCapture;let B=_(e,{labelable:!0}),S=N(m,c,E),R=ne();return A1.set(t,{isDisabled:r,isRequired:a,name:i,validationBehavior:l}),{labelProps:{...v,onClick:()=>{if(!e.isDisabled){var $;($=u.current)===null||$===void 0||$.focus(),js("keyboard")}}},triggerProps:N(B,{...S,isDisabled:r,onKeyDown:at(S.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[R,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:R},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[E["aria-labelledby"],S["aria-label"]&&!E["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:y,errorMessageProps:C,isInvalid:b,validationErrors:h,validationDetails:D}}function ty(e,t,u){let n=A1.get(t)||{},{autoComplete:r,name:a=n.name,isDisabled:i=n.isDisabled}=e,{validationBehavior:l,isRequired:s}=n,{visuallyHiddenProps:d}=su();zn(e.selectRef,t.selectedKey,t.setSelectedKey),_n({validationBehavior:l,focus:()=>{var f;return(f=u.current)===null||f===void 0?void 0:f.focus()}},t,e.selectRef);var c;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:r,disabled:i,required:l==="native"&&s,name:a,value:(c=t.selectedKey)!==null&&c!==void 0?c:"",onChange:f=>t.setSelectedKey(f.target.value)}}}function uy(e){let{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=ty({...e,selectRef:i},t,u);var d;return t.collection.size<=300?o.createElement("div",{...l,"data-testid":"hidden-select-container"},o.createElement("label",null,n,o.createElement("select",{...s,ref:i},o.createElement("option",null),[...t.collection.getKeys()].map(c=>{let f=t.collection.getItem(c);if(f&&f.type==="item")return o.createElement("option",{key:f.key,value:f.key},f.textValue)})))):r?o.createElement("input",{type:"hidden",autoComplete:s.autoComplete,name:r,disabled:a,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}const vl=new WeakMap;function Ci(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function ny(e,t){let u=vl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Ci(t)}`}function w1(e,t,u){let n=vl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Ci(t)}-${Ci(u)}`}function F1(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>w1(e,t,u)).join(" ")}var T1={};T1={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var R1={};R1={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var I1={};I1={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var K1={};K1={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var M1={};M1={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var z1={};z1={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var V1={};V1={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var N1={};N1={ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} píxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var L1={};L1={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var j1={};j1={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var _1={};_1={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var O1={};O1={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var H1={};H1={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var U1={};U1={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var W1={};W1={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var G1={};G1={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var Z1={};Z1={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var q1={};q1={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var Y1={};Y1={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var J1={};J1={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var Q1={};Q1={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var X1={};X1={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var em={};em={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var tm={};tm={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var um={};um={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var nm={};nm={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var rm={};rm={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var am={};am={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var im={};im={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var lm={};lm={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var om={};om={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var sm={};sm={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var dm={};dm={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var cm={};cm={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var na={};na={"ar-AE":T1,"bg-BG":R1,"cs-CZ":I1,"da-DK":K1,"de-DE":M1,"el-GR":z1,"en-US":V1,"es-ES":N1,"et-EE":L1,"fi-FI":j1,"fr-FR":_1,"he-IL":O1,"hr-HR":H1,"hu-HU":U1,"it-IT":W1,"ja-JP":G1,"ko-KR":Z1,"lt-LT":q1,"lv-LV":Y1,"nb-NO":J1,"nl-NL":Q1,"pl-PL":X1,"pt-BR":em,"pt-PT":tm,"ro-RO":um,"ru-RU":nm,"sk-SK":rm,"sl-SI":am,"sr-SP":im,"sv-SE":lm,"tr-TR":om,"uk-UA":sm,"zh-CN":dm,"zh-TW":cm};class ry extends i0{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){var n;let a=Tt(ve(u,this.collection));if(a)return a.key;let i=this.getFirstKey();if(i==null)return null;let l=this.collection.getItem(i);if(!l)return null;var r;return(r=(n=qt(ve(l,this.collection),u.index))===null||n===void 0?void 0:n.key)!==null&&r!==void 0?r:null}return super.getKeyBelow(t)}getKeyAbove(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let a=u.parentKey!=null?this.collection.getItem(u.parentKey):null;return a&&a.type==="column"?a.key:null}let n=super.getKeyAbove(t),r=n!=null?this.collection.getItem(n):null;return r&&r.type!=="headerrow"?n:this.isCell(u)?this.collection.columns[u.index].key:this.collection.columns[0].key}findNextColumnKey(t){let u=this.findNextKey(t.key,r=>r.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level];for(let r of ve(n,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(t){let u=this.findPreviousKey(t.key,a=>a.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level],r=[...ve(n,this.collection)];for(let a=r.length-1;a>=0;a--){let i=r[a];if(i.type==="column")return i.key}return null}getKeyRightOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(u):this.findNextColumnKey(u):super.getKeyRightOf(t):null}getKeyLeftOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findNextColumnKey(u):this.findPreviousColumnKey(u):super.getKeyLeftOf(t):null}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u??this.getFirstKey();if(r==null)return null;let a=n.getItem(r);var i;(a==null?void 0:a.type)==="cell"&&(r=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;r!=null;){let s=n.getItem(r);if(!s)return null;for(let d of ve(s,this.collection)){let c=n.columns[d.index];if(n.rowHeaderColumnKeys.has(c.key)&&d.textValue){let f=d.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){let p=u!=null?n.getItem(u):a;return(p==null?void 0:p.type)==="cell"?d.key:s.key}}}r=this.getKeyBelow(r),r==null&&!l&&(r=this.getFirstKey(),l=!0)}return null}}let ay=!1;function Ir(){return ay}function iy(e){return e&&e.__esModule?e.default:e}function ly(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=wu({usage:"search",sensitivity:"base"}),{direction:s}=pe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new ry({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:d,ref:u,direction:s,collator:l,layoutDelegate:a,layout:i}),[n,t.collection,t.disabledKeys,d,u,s,l,a,i]),f=ne(e.id);vl.set(t,f);let{gridProps:p}=U6({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Ir()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},h=be(iy(na),"@react-aria/table"),D=o.useMemo(()=>{var E,y;let C=(y=(E=t.collection.columns.find(B=>B.key===m))===null||E===void 0?void 0:E.textValue)!==null&&y!==void 0?y:"";return b&&m?h.format(`${b}Sort`,{columnName:C}):void 0},[b,m,t.collection.columns]),v=Ct(D);return gr(()=>{D&&Dt(D,"assertive",500)},[D]),{gridProps:N(p,v,{"aria-describedby":[v["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function oy(e){return e&&e.__esModule?e.default:e}function sy(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=O0({...e,focusMode:"child"},t,u),s=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=Ge({isDisabled:!i||s,onPress(){t.sort(a.key)},ref:u}),{focusableProps:c}=Au({},u),f,p=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key,m=(r=t.sortDescriptor)===null||r===void 0?void 0:r.direction;a.props.allowsSorting&&!xn()&&(f=p?m:"none");let b=be(oy(na),"@react-aria/table"),h;i&&(h=`${b.format("sortable")}`,p&&m&&xn()&&(h=`${h}, ${b.format(m)}`));let D=Ct(h),v=t.collection.size===0;return o.useEffect(()=>{v&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,a.key]),{columnHeaderProps:{...N(l,d,c,D,v?{tabIndex:-1}:null),role:"columnheader",id:ny(t,a.key),"aria-colspan":a.colspan&&a.colspan>1?a.colspan:void 0,"aria-sort":f}}}const ts={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function dy(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=G6(e,t,u),{direction:l}=pe();r&&!(Ir()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(Ir()&&"expandedKeys"in t){let B=t.keyMap.get(n.key);if(B!=null){var d,c,f,p,m,b;let S=((d=B.props)===null||d===void 0?void 0:d.UNSTABLE_childItems)||((f=B.props)===null||f===void 0||(c=f.children)===null||c===void 0?void 0:c.length)>t.userColumnCount;var h,D,v,E;s={onKeyDown:R=>{(R.key===ts.expand[l]&&t.selectionManager.focusedKey===B.key&&S&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||R.key===ts.collapse[l]&&t.selectionManager.focusedKey===B.key&&S&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),R.stopPropagation())},"aria-expanded":S?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":((h=B.indexOfType)!==null&&h!==void 0?h:0)+1,"aria-setsize":B.level>1?((v=(p=Kt((D=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&D!==void 0?D:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&v!==void 0?v:0)+1:((E=(b=Kt(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&E!==void 0?E:0)+1}}}let y=Vi(n.props),C=i.hasAction?y:{};return{rowProps:{...N(a,s,C),"aria-labelledby":F1(t,n.key)},...i}}function cy(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(Ir()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function fy(e,t,u){var n;let{gridCellProps:r,isPressed:a}=O0(e,t,u),i=(n=e.node.column)===null||n===void 0?void 0:n.key;return i!=null&&t.collection.rowHeaderColumnKeys.has(i)&&(r.role="rowheader",r.id=w1(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function py(e){return e&&e.__esModule?e.default:e}function my(e,t){let{key:u}=e;const{checkboxProps:n}=H0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${F1(t,u)}`}}}function by(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":be(py(na),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:u,isDisabled:n!=="multiple"||e.collection.size===0,isIndeterminate:!t&&!u,onChange:()=>e.selectionManager.toggleSelectAll()}}}function fm(){return W6()}const pm=new WeakMap;function Kr(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${pm.get(e)}-${u}-${t}`):""}function hy(e,t,u){let{key:n,isDisabled:r,shouldSelectOnPressUp:a}=e,{selectionManager:i,selectedKey:l}=t,s=n===l,d=r||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=Xu({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=Kr(t,n,"tab"),m=Kr(t,n,"tabpanel"),{tabIndex:b}=c,h=t.collection.getItem(n),D=_(h==null?void 0:h.props,{labelable:!0});delete D.id;let v=Ur(h==null?void 0:h.props);return{tabProps:N(D,v,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?m:void 0,tabIndex:d?void 0:b,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function $y(e,t,u){let n=qi(u)?void 0:0;var r;const a=Kr(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=vt({...e,id:a,"aria-labelledby":Kr(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:N(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class gy{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var u,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.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}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(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,u,n,r=new Set){this.collection=t,this.flipDirection=u==="rtl"&&n==="horizontal",this.disabledKeys=r,this.tabDirection=n==="horizontal"}}function Dy(e,t,u){let{orientation:n="horizontal",keyboardActivation:r="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:l}=t,{direction:s}=pe(),d=o.useMemo(()=>new gy(a,s,n,l),[a,l,n,s]),{collectionProps:c}=ta({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=ne();pm.set(t,f);let p=vt({...e,id:f});return{tabListProps:{...N(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const mm=new WeakMap;function yy(e,t,u){let{direction:n}=pe(),r=e.keyboardDelegate||new au({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=ou({...e,labelElementType:"span"}),{gridProps:d}=U0({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=pt({onFocusWithinChange:f}),m=_(e),b=o.useRef(t.collection.size);return o.useEffect(()=>{u.current&&b.current>0&&t.collection.size===0&&c&&u.current.focus(),b.current=t.collection.size},[t.collection.size,c,u]),mm.set(t,{onRemove:e.onRemove}),{gridProps:N(d,m,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...p,...i}),labelProps:a,descriptionProps:l,errorMessageProps:s}}var bm={};bm={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var hm={};hm={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var $m={};$m={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var gm={};gm={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var Dm={};Dm={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var ym={};ym={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var vm={};vm={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var xm={};xm={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var Cm={};Cm={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var Em={};Em={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var Bm={};Bm={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var km={};km={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var Pm={};Pm={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var Sm={};Sm={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var Am={};Am={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var wm={};wm={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var Fm={};Fm={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var Tm={};Tm={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var Rm={};Rm={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var Im={};Im={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var Km={};Km={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var Mm={};Mm={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var zm={};zm={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var Vm={};Vm={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var Nm={};Nm={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var Lm={};Lm={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var jm={};jm={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var _m={};_m={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var Om={};Om={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var Hm={};Hm={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Um={};Um={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Wm={};Wm={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var Gm={};Gm={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var Zm={};Zm={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var qm={};qm={"ar-AE":bm,"bg-BG":hm,"cs-CZ":$m,"da-DK":gm,"de-DE":Dm,"el-GR":ym,"en-US":vm,"es-ES":xm,"et-EE":Cm,"fi-FI":Em,"fr-FR":Bm,"he-IL":km,"hr-HR":Pm,"hu-HU":Sm,"it-IT":Am,"ja-JP":wm,"ko-KR":Fm,"lt-LT":Tm,"lv-LV":Rm,"nb-NO":Im,"nl-NL":Km,"pl-PL":Mm,"pt-BR":zm,"pt-PT":Vm,"ro-RO":Nm,"ru-RU":Lm,"sk-SK":jm,"sl-SI":_m,"sr-SP":Om,"sv-SE":Hm,"tr-TR":Um,"uk-UA":Wm,"zh-CN":Gm,"zh-TW":Zm};function vy(e){return e&&e.__esModule?e.default:e}function xy(e,t,u){let{item:n}=e,r=be(vy(qm),"@react-aria/tag"),a=ne(),{onRemove:i}=mm.get(t)||{},{rowProps:l,gridCellProps:s,...d}=W0({node:n},t,u);delete l.onKeyDownCapture;let{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,m=S=>{if(S.key==="Delete"||S.key==="Backspace"){if(p)return;S.preventDefault(),t.selectionManager.isSelected(n.key)?i==null||i(new Set(t.selectionManager.selectedKeys)):i==null||i(new Set([n.key]))}},b=Wi();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let h=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",D=Ct(h),v=n.key===t.selectionManager.focusedKey,E=t.selectionManager.focusedKey!=null,y=-1;!p&&(v||!E)&&(y=0);let C=_(n.props),B=Vi(n.props);return{removeButtonProps:{"aria-label":r.format("removeButtonLabel"),"aria-labelledby":`${a} ${l.id}`,isDisabled:p,id:a,onPress:()=>i?i(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:N(l,C,B,{tabIndex:y,onKeyDown:i?m:void 0,"aria-describedby":D["aria-describedby"]}),gridCellProps:N(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}function Cy(e,t){let u=_(e,{labelable:!0}),{hoverProps:n}=De({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:N(u,n,{role:"tooltip"})}}function Ey(e,t,u){let{isDisabled:n,trigger:r}=e,a=ne(),i=o.useRef(!1),l=o.useRef(!1),s=()=>{(i.current||l.current)&&t.open(l.current)},d=v=>{!i.current&&!l.current&&t.close(v)};o.useEffect(()=>{let v=E=>{u&&u.current&&E.key==="Escape"&&(E.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",v,!0),()=>{document.removeEventListener("keydown",v,!0)}},[u,t]);let c=()=>{r!=="focus"&&(uu()==="pointer"?i.current=!0:i.current=!1,s())},f=()=>{r!=="focus"&&(l.current=!1,i.current=!1,d())},p=()=>{l.current=!1,i.current=!1,d(!0)},m=()=>{tu()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:h}=De({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:D}=Au({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...N(D,h,{onPointerDown:p,onKeyDown:p})},tooltipProps:{id:a}}}const By=o.createContext(null),ky=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Ue=o.createContext({}),dt=Gr(function(t,u){[t,u]=q(t,u,Ue),t=Py(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=lc(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=oe(t),{hoverProps:c,isHovered:f}=De({...t,isDisabled:t.isDisabled||r}),p={isHovered:f,isPressed:(n.isPressed||i)&&!r,isFocused:s,isFocusVisible:d,isDisabled:t.isDisabled||!1,isPending:r??!1},m=H({...t,values:p,defaultClassName:"react-aria-Button"}),b=ne(a.id),h=ne(),D=a["aria-labelledby"];r&&(D?D=`${D} ${h}`:a["aria-label"]&&(D=`${b} ${h}`));let v=o.useRef(r);return o.useEffect(()=>{let E={"aria-labelledby":D||b};(!v.current&&s&&r||v.current&&s&&!r)&&Dt(E,"assertive"),v.current=r},[r,s,D,b]),o.createElement("button",{..._(t,{propNames:ky}),...N(a,l,c),...m,type:a.type==="submit"&&r?"button":a.type,id:b,ref:u,"aria-labelledby":D,slot:t.slot||void 0,"aria-disabled":r?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":d||void 0},o.createElement(By.Provider,{value:{id:h}},m.children))});function Py(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const Ie=o.createContext({}),ra=o.forwardRef(function(t,u){[t,u]=q(t,u,Ie);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),mt=o.createContext(null),Ym=o.forwardRef(function(t,u){let n=o.useContext(mt);return n!=null&&n.isInvalid?o.createElement(Sy,{...t,ref:u}):null}),Sy=o.forwardRef((e,t)=>{let u=o.useContext(mt),n=_(e),r=H({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(ra,{slot:"errorMessage",...n,...r,ref:t})});function qu(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function Ei(e,t,u,n,r){let a={};for(let l in t)a[l]=Math.floor(t[l]/2),a[l]>0&&t[l]%2===0&&a[l]--;let i=yu(e,t,u).subtract(a);return In(e,i,t,u,n,r)}function yu(e,t,u,n,r){let a=e;return t.years?a=tD(e):t.months?a=Eu(e):t.weeks&&(a=An(e,u)),In(e,a,t,u,n,r)}function Bi(e,t,u,n,r){let a={...t};a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--;let i=yu(e,t,u).subtract(a);return In(e,i,t,u,n,r)}function In(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=el(t,yu(je(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=Xi(t,Bi(je(a),u,n));i&&(t=i)}return t}function Wt(e,t,u){if(t){let n=el(e,je(t));n&&(e=n)}if(u){let n=Xi(e,je(u));n&&(e=n)}return e}function Jm(e,t,u){if(!u)return e;for(;e.compare(t)>=0&&u(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function Qm(e){let t=o.useMemo(()=>new nt(e.locale),[e.locale]),u=o.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:r,visibleDuration:a={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible",firstDayOfWeek:f}=e,p=o.useMemo(()=>r(u.calendar),[r,u.calendar]);var m;let[b,h]=Re(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),D=o.useMemo(()=>b?he(je(b),p):null,[b,p]),v=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),E=o.useMemo(()=>e.focusedValue?Wt(he(je(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),y=o.useMemo(()=>Wt(e.defaultFocusedValue?he(je(e.defaultFocusedValue),p):D||he(Ji(v),p),i,l),[e.defaultFocusedValue,D,v,p,i,l]),[C,B]=Re(E,y,e.onFocusChange),[S,R]=o.useState(()=>{switch(s){case"start":return yu(C,a,n,i,l);case"end":return Bi(C,a,n,i,l);case"center":default:return Ei(C,a,n,i,l)}}),[$,T]=o.useState(e.autoFocus||!1),A=o.useMemo(()=>{let L={...a};return L.days?L.days--:L.days=-1,S.add(L)},[S,a]),[k,z]=o.useState(p.identifier);if(p.identifier!==k){let L=he(C,p);R(Ei(L,a,n,i,l)),B(L),z(p.identifier)}qu(C,i,l)?B(Wt(C,i,l)):C.compare(S)<0?R(Bi(C,a,n,i,l)):C.compare(A)>0&&R(yu(C,a,n,i,l));function x(L){L=Wt(L,i,l),B(L)}function w(L){if(!e.isDisabled&&!e.isReadOnly){let U=L;if(U===null){h(null);return}if(U=Wt(U,i,l),U=Jm(U,S,d),!U)return;U=he(U,(b==null?void 0:b.calendar)||new He),b&&"hour"in b?h(b.set(U)):h(U)}}let V=o.useMemo(()=>D?d&&d(D)?!0:qu(D,i,l):!1,[D,d,i,l]),F=e.isInvalid||e.validationState==="invalid"||V,I=F?"invalid":null,P=o.useMemo(()=>c==="visible"?a:Ha(a),[c,a]);var K,j;return{isDisabled:(K=e.isDisabled)!==null&&K!==void 0?K:!1,isReadOnly:(j=e.isReadOnly)!==null&&j!==void 0?j:!1,value:D,setValue:w,visibleRange:{start:S,end:A},minValue:i,maxValue:l,focusedDate:C,timeZone:v,validationState:I,isValueInvalid:F,setFocusedDate(L){x(L),T(!0)},focusNextDay(){x(C.add({days:1}))},focusPreviousDay(){x(C.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&x(C.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&x(C.subtract({weeks:1}))},focusNextPage(){let L=S.add(P);B(Wt(C.add(P),i,l)),R(yu(In(C,L,P,n,i,l),P,n))},focusPreviousPage(){let L=S.subtract(P);B(Wt(C.subtract(P),i,l)),R(yu(In(C,L,P,n,i,l),P,n))},focusSectionStart(){a.days?x(S):a.weeks?x(An(C,n)):(a.months||a.years)&&x(Eu(C))},focusSectionEnd(){a.days?x(A):a.weeks?x(rD(C,n)):(a.months||a.years)&&x(Er(C))},focusNextSection(L){if(!L&&!a.days){x(C.add(Ha(a)));return}a.days?this.focusNextPage():a.weeks?x(C.add({months:1})):(a.months||a.years)&&x(C.add({years:1}))},focusPreviousSection(L){if(!L&&!a.days){x(C.subtract(Ha(a)));return}a.days?this.focusPreviousPage():a.weeks?x(C.subtract({months:1})):(a.months||a.years)&&x(C.subtract({years:1}))},selectFocusedDate(){d&&d(C)||w(C)},selectDate(L){w(L)},isFocused:$,setFocused:T,isInvalid(L){return qu(L,i,l)},isSelected(L){return D!=null&&ke(L,D)&&!this.isCellDisabled(L)&&!this.isCellUnavailable(L)},isCellFocused(L){return $&&C&&ke(L,C)},isCellDisabled(L){return e.isDisabled||L.compare(S)<0||L.compare(A)>0||this.isInvalid(L)},isCellUnavailable(L){return e.isDateUnavailable?e.isDateUnavailable(L):!1},isPreviousVisibleRangeInvalid(){let L=S.subtract({days:1});return ke(L,S)||this.isInvalid(L)},isNextVisibleRangeInvalid(){let L=A.add({days:1});return ke(L,A)||this.isInvalid(L)},getDatesInWeek(L,U=S){let Q=U.add({weeks:L}),X=[];Q=An(Q,n,f);let me=Yi(Q,n,f);for(let ie=0;ie<me;ie++)X.push(null);for(;X.length<7;){X.push(Q);let ie=Q.add({days:1});if(ke(Q,ie))break;Q=ie}for(;X.length<7;)X.push(null);return X}}}function Ha(e){let t={...e};for(let u in e)t[u]=1;return t}function Ay(e){let{value:t,defaultValue:u,onChange:n,createCalendar:r,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Re(t,u||null,n),[p,m]=o.useState(null),b="center";if(c&&c.start&&c.end){let P=Ei(je(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(P)>0&&(b="start")}let h=o.useRef(null),[D,v]=o.useState(null),E=o.useMemo(()=>el(l,D==null?void 0:D.start),[l,D]),y=o.useMemo(()=>Xi(s,D==null?void 0:D.end),[s,D]),C=Qm({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:E,maxValue:y,selectionAlignment:b}),B=I=>{if(I&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const P=ns(I,C,-1),K=ns(I,C,1);h.current={start:P,end:K},v(h.current)}else h.current=null,v(null)},[S,R]=o.useState(C.visibleRange);(!ii(C.visibleRange.start,S.start)||!ii(C.visibleRange.end,S.end))&&(B(p),R(C.visibleRange));let $=I=>{I?(m(I),B(I)):(m(null),B(null))},T=p?Ua(p,C.focusedDate):c&&Ua(c.start,c.end),A=I=>{if(e.isReadOnly)return;const P=Wt(I,E,y),K=Jm(P,C.visibleRange.start,e.isDateUnavailable);if(K)if(!p)$(K);else{let j=Ua(p,K);j&&f({start:us(j.start,c==null?void 0:c.start),end:us(j.end,c==null?void 0:c.end)}),$(null)}},[k,z]=o.useState(!1),{isDateUnavailable:x}=e,w=o.useMemo(()=>!c||p?!1:x&&(x(c.start)||x(c.end))?!0:qu(c.start,l,s)||qu(c.end,l,s),[x,c,p,l,s]),V=e.isInvalid||e.validationState==="invalid"||w;return{...C,value:c,setValue:f,anchorDate:p,setAnchorDate:$,highlightedRange:T,validationState:V?"invalid":null,isValueInvalid:V,selectFocusedDate(){A(C.focusedDate)},selectDate:A,highlightDate(I){p&&C.setFocusedDate(I)},isSelected(I){return!!(T&&I.compare(T.start)>=0&&I.compare(T.end)<=0&&!C.isCellDisabled(I)&&!C.isCellUnavailable(I))},isInvalid(I){var P,K;return C.isInvalid(I)||qu(I,(P=h.current)===null||P===void 0?void 0:P.start,(K=h.current)===null||K===void 0?void 0:K.end)},isDragging:k,setDragging:z}}function Ua(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:je(e),end:je(t)})}function us(e,t){return e=he(e,(t==null?void 0:t.calendar)||new He),t&&"hour"in t?t.set(e):e}function ns(e,t,u){let n=e.add({days:u});for(;(u<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:u});if(t.isCellUnavailable(n))return n.add({days:-u})}function wy(e={}){let[t,u]=Re(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,r=o.useRef(new Map),a=Bt({...e,value:t}),i=a.displayValidation.isInvalid;var l;return{...a,value:t,setValue(d){e.isReadOnly||e.isDisabled||u(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||u(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&u(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?u(t.filter(c=>c!==d)):u(t.concat(d)))},setInvalid(d,c){let f=new Map(r.current);c.isInvalid?f.set(d,c):f.delete(d),r.current=f,a.updateValidation(Rn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class ki{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let u=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let l of i.childNodes)u(l)};for(let i of t)u(i);let n=null,r=0;for(let[i,l]of this.keyMap)n?(n.nextKey=i,l.prevKey=n.key):(this.firstKey=i,l.prevKey=void 0),l.type==="item"&&(l.index=r++),n=l,n.nextKey=void 0;var a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}class ot extends Set{constructor(t,u,n){super(t),t instanceof ot?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function Fy(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function Hn(e){let{selectionMode:t="none",disallowEmptySelection:u=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:a="all"}=e,i=o.useRef(!1),[,l]=o.useState(!1),s=o.useRef(null),d=o.useRef(null),[,c]=o.useState(null),f=o.useMemo(()=>rs(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>rs(e.defaultSelectedKeys,new ot),[e.defaultSelectedKeys]),[m,b]=Re(f,p,e.onSelectionChange),h=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[D,v]=o.useState(r);r==="replace"&&D==="toggle"&&typeof m=="object"&&m.size===0&&v("replace");let E=o.useRef(r);return o.useEffect(()=>{r!==E.current&&(v(r),E.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:D,setSelectionBehavior:v,get isFocused(){return i.current},setFocused(y){i.current=y,l(y)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(y,C="first"){s.current=y,d.current=C,c(y)},selectedKeys:m,setSelectedKeys(y){(n||!Fy(y,m))&&b(y)},disabledKeys:h,disabledBehavior:a}}function rs(e,t){return e?e==="all"?"all":new ot(e):t}class aa{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,u){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,u)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let u=this.getKey(t);return u==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(u):this.state.selectedKeys.has(u)}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(),u=this.state.selectedKeys;return this._isSelectAll=t.every(n=>u.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Na(this.collection,r,t)<0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Na(this.collection,r,t)>0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}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}let u=this.getKey(t);if(u==null)return;let n;if(this.state.selectedKeys==="all")n=new ot([u],u,u);else{let i=this.state.selectedKeys;var r;let l=(r=i.anchorKey)!==null&&r!==void 0?r:u;n=new ot(i,l,u);var a;for(let s of this.getKeyRange(l,(a=i.currentKey)!==null&&a!==void 0?a:u))n.delete(s);for(let s of this.getKeyRange(u,l))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(t,u){let n=this.collection.getItem(t),r=this.collection.getItem(u);return n&&r?Na(this.collection,n,r)<=0?this.getKeyRangeInternal(t,u):this.getKeyRangeInternal(u,t):[]}getKeyRangeInternal(t,u){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(t,u);let r=[],a=t;for(;a!=null;){let i=this.collection.getItem(a);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&r.push(a),a===u)return r;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let u=this.collection.getItem(t);if(!u||u.type==="cell"&&this.allowsCellSelection)return t;for(;u&&u.type!=="item"&&u.parentKey!=null;)u=this.collection.getItem(u.parentKey);return!u||u.type!=="item"?null:u.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n=new ot(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(u)?n.delete(u):this.canSelectItem(u)&&(n.add(u),n.anchorKey=u,n.currentKey=u),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let u=this.getKey(t);if(u==null)return;let n=this.canSelectItem(u)?new ot([u],u,u):new ot;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new ot;for(let n of t){let r=this.getKey(n);if(r!=null&&(u.add(r),this.selectionMode==="single"))break}this.state.setSelectedKeys(u)}getSelectAllKeys(){let t=[],u=n=>{for(;n!=null;){if(this.canSelectItem(n)){var r;let i=this.collection.getItem(n);(i==null?void 0:i.type)==="item"&&t.push(n);var a;i!=null&&i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&u((a=(r=Tt(ve(i,this.collection)))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null)}n=this.collection.getKeyAfter(n)}};return u(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 ot)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,u){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||u&&(u.pointerType==="touch"||u.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let u=this.selectedKeys;if(t.size!==u.size)return!1;for(let n of t)if(!u.has(n))return!1;for(let n of u)if(!t.has(n))return!1;return!0}canSelectItem(t){var u;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(u=n.props)===null||u===void 0)&&u.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var u,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled))}isLink(t){var u,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.href)}getItemProps(t){var u;return(u=this.collection.getItem(t))===null||u===void 0?void 0:u.props}constructor(t,u,n){this.collection=t,this.state=u;var r;this.allowsCellSelection=(r=n==null?void 0:n.allowsCellSelection)!==null&&r!==void 0?r:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function ia(e){let{filter:t,layoutDelegate:u}=e,n=Hn(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(c=>t?new ki(t(c)):new ki(c),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=ml(e,a,i),s=o.useMemo(()=>new aa(l,n,{layoutDelegate:u}),[l,n,u]);const d=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&!l.getItem(n.focusedKey)&&d.current){const v=d.current.getItem(n.focusedKey),E=[...d.current.getKeys()].map($=>{const T=d.current.getItem($);return(T==null?void 0:T.type)==="item"?T:null}).filter($=>$!==null),y=[...l.getKeys()].map($=>{const T=l.getItem($);return(T==null?void 0:T.type)==="item"?T:null}).filter($=>$!==null);var c,f;const C=((c=E==null?void 0:E.length)!==null&&c!==void 0?c:0)-((f=y==null?void 0:y.length)!==null&&f!==void 0?f:0);var p,m,b;let B=Math.min(C>1?Math.max(((p=v==null?void 0:v.index)!==null&&p!==void 0?p:0)-C+1,0):(m=v==null?void 0:v.index)!==null&&m!==void 0?m:0,((b=y==null?void 0:y.length)!==null&&b!==void 0?b:0)-1),S=null,R=!1;for(;B>=0;){if(!s.isDisabled(y[B].key)){S=y[B];break}if(B<y.length-1&&!R)B++;else{R=!0;var h,D;B>((h=v==null?void 0:v.index)!==null&&h!==void 0?h:0)&&(B=(D=v==null?void 0:v.index)!==null&&D!==void 0?D:0),B--}}n.setFocusedKey(S?S.key:null)}d.current=l},[l,s,n,n.focusedKey]),{collection:l,disabledKeys:r,selectionManager:s}}function xl(e){var t;let[u,n]=Re(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),r=o.useMemo(()=>u!=null?[u]:[],[u]),{collection:a,disabledKeys:i,selectionManager:l}=ia({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===u&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=u!=null?a.getItem(u):null;return{collection:a,disabledKeys:i,selectionManager:l,selectedKey:u,setSelectedKey:n,selectedItem:s}}function Fu(e){let[t,u]=Re(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isOpen:t,setOpen:u,open:n,close:r,toggle:a}}function Ty(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),m=ue=>{e.onSelectionChange&&e.onSelectionChange(ue),ue===v&&(X(),L())};var b;let{collection:h,selectionManager:D,selectedKey:v,setSelectedKey:E,selectedItem:y,disabledKeys:C}=xl({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var S,R;v==null?B="":B=(R=(S=h.getItem(v))===null||S===void 0?void 0:S.textValue)!==null&&R!==void 0?R:""}let[$,T]=Re(e.inputValue,B,e.onInputChange),A=h,k=o.useMemo(()=>e.items!=null||!u?h:Ry(h,$,u),[h,$,u,e.items]),[z,x]=o.useState(k),w=o.useRef("focus"),F=Fu({...e,onOpenChange:ue=>{e.onOpenChange&&e.onOpenChange(ue,ue?w.current:void 0),D.setFocused(ue),ue||D.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),I=(ue=null,ye)=>{let we=ye==="manual"||ye==="focus"&&n==="focus";(r||k.size>0||we&&A.size>0||e.items)&&(we&&!F.isOpen&&e.items===void 0&&s(!0),w.current=ye,p(ue),F.open())},P=(ue=null,ye)=>{let we=ye==="manual"||ye==="focus"&&n==="focus";!(r||k.size>0||we&&A.size>0||e.items)&&!F.isOpen||(we&&!F.isOpen&&e.items===void 0&&s(!0),F.isOpen||(w.current=ye),j(ue))},K=o.useCallback(()=>{x(l?A:k)},[l,A,k]),j=o.useCallback((ue=null)=>{F.isOpen&&K(),p(ue),F.toggle()},[F,K]),L=o.useCallback(()=>{F.isOpen&&(K(),F.close())},[F,K]),[U,Q]=o.useState($),X=()=>{var ue,ye;let we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";Q(we),T(we)};var me,ie;let se=o.useRef((ie=(me=e.selectedKey)!==null&&me!==void 0?me:e.defaultSelectedKey)!==null&&ie!==void 0?ie:null);var M;let G=o.useRef(v!=null&&(M=(t=h.getItem(v))===null||t===void 0?void 0:t.textValue)!==null&&M!==void 0?M:"");o.useEffect(()=>{var ue;d&&(k.size>0||r)&&!F.isOpen&&$!==U&&n!=="manual"&&I(null,"input"),!l&&!r&&F.isOpen&&k.size===0&&L(),v!=null&&v!==se.current&&L(),$!==U&&(D.setFocusedKey(null),s(!1),$===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&E(null)),v!==se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?X():U!==$&&Q($);var ye;let we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";!d&&v!=null&&e.inputValue===void 0&&v===se.current&&G.current!==we&&(Q(we),T(we)),se.current=v,G.current=we});let J=Bt({...e,value:o.useMemo(()=>({inputValue:$,selectedKey:v}),[$,v])}),O=()=>{a&&v==null?Z():le()},Z=()=>{se.current=null,E(null),L()},le=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ue,ye;(ue=e.onSelectionChange)===null||ue===void 0||ue.call(e,v);var we;let Xh=v!=null&&(we=(ye=h.getItem(v))===null||ye===void 0?void 0:ye.textValue)!==null&&we!==void 0?we:"";Q(Xh),L()}else X(),L()};const qe=()=>{if(a){var ue,ye;const we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";$===we?le():Z()}else le()};let re=()=>{F.isOpen&&D.focusedKey!=null?v===D.focusedKey?le():E(D.focusedKey):qe()},Ht=o.useRef($),cu=ue=>{ue?(Ht.current=$,n==="focus"&&!e.isReadOnly&&I(null,"focus")):(i&&qe(),$!==Ht.current&&J.commitValidation()),c(ue)},Qh=o.useMemo(()=>F.isOpen?l?A:k:z,[F.isOpen,A,k,l,z]);return{...J,...F,focusStrategy:f,toggle:P,open:I,close:qe,selectionManager:D,selectedKey:v,setSelectedKey:E,disabledKeys:C,isFocused:d,setFocused:cu,selectedItem:y,collection:Qh,inputValue:$,setInputValue:T,commit:re,revert:O}}function Ry(e,t,u){return new ki(Xm(e,e,t,u))}function Xm(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=Xm(e,ve(a,e),u,n);[...i].some(l=>l.type==="item")&&r.push({...a,childNodes:i})}else a.type==="item"&&n(a.textValue,u)?r.push({...a}):a.type!=="item"&&r.push({...a});return r}var eb={};eb={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var tb={};tb={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var ub={};ub={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 nb={};nb={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 rb={};rb={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 ab={};ab={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var ib={};ib={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 lb={};lb={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 ob={};ob={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 sb={};sb={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 db={};db={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 cb={};cb={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var fb={};fb={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 pb={};pb={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 mb={};mb={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 bb={};bb={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var hb={};hb={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var $b={};$b={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 gb={};gb={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 Db={};Db={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 yb={};yb={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 vb={};vb={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 xb={};xb={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 Cb={};Cb={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 Eb={};Eb={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 Bb={};Bb={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var kb={};kb={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 Pb={};Pb={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 Sb={};Sb={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 Ab={};Ab={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 wb={};wb={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 Fb={};Fb={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Tb={};Tb={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Rb={};Rb={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Ib={};Ib={"ar-AE":eb,"bg-BG":tb,"cs-CZ":ub,"da-DK":nb,"de-DE":rb,"el-GR":ab,"en-US":ib,"es-ES":lb,"et-EE":ob,"fi-FI":sb,"fr-FR":db,"he-IL":cb,"hr-HR":fb,"hu-HU":pb,"it-IT":mb,"ja-JP":bb,"ko-KR":hb,"lt-LT":$b,"lv-LV":gb,"nb-NO":Db,"nl-NL":yb,"pl-PL":vb,"pt-BR":xb,"pt-PT":Cb,"ro-RO":Eb,"ru-RU":Bb,"sk-SK":kb,"sl-SI":Pb,"sr-SP":Sb,"sv-SE":Ab,"tr-TR":wb,"uk-UA":Fb,"zh-CN":Tb,"zh-TW":Rb};function Iy(e){return e&&e.__esModule?e.default:e}const Kb=new lu(Iy(Ib));function Mb(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Mr(e,t,u,n,r){let a=e!=null&&u!=null&&e.compare(u)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=a||i||l,d=[];if(s){let c=Mb(),f=lu.getGlobalDictionaryForPackage("@react-stately/datepicker")||Kb,p=new Fd(c,f),m=new nt(c,Mt({},r)),b=m.resolvedOptions().timeZone;i&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(b))})),a&&u!=null&&d.push(p.format("rangeOverflow",{maxValue:m.format(u.toDate(b))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function Ky(e,t,u,n,r){var a;let i=Mr((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=Mr((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=Rn(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=lu.getGlobalDictionaryForPackage("@react-stately/datepicker")||Kb;d=Rn(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",Mb())],validationDetails:{...Xr,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const My={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},zy={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Mt(e,t){e={...t.shouldForceLeadingZeros?zy:My,...e};let n=t.granularity||"minute",r=Object.keys(e);var a;let i=r.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");i<0&&(i=0);let l=r.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=r.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 Ou(e){return e&&"hour"in e?e:new il}function zb(e,t){if(e===null)return null;if(e)return he(e,t)}function ln(e,t,u,n){if(e)return zb(e,u);let r=he(Id(n??Qi()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?je(r):n?r:xt(r)}function Cl(e,t){let u=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[r,a]=o.useState([n,u]);e&&(r[0]!==n||r[1]!==u)&&a([n,u]),t||(t=e?n:r[0]);let i=e?u:r[1];return[t,i]}function Vy(e){let t=Fu(e),[u,n]=Re(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=Cl(r,e.granularity),l=u!=null?u.toDate(i??"UTC"):null,s=a==="hour"||a==="minute"||a==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=o.useState(null),[m,b]=o.useState(null);if(u&&(f=u,"hour"in u&&(m=u)),r&&!(a in r))throw new Error("Invalid granularity "+a+" for value "+r.toString());let h=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",D=o.useMemo(()=>({granularity:a,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:h}),[a,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,h]),{minValue:v,maxValue:E,isDateUnavailable:y}=e,C=o.useMemo(()=>Mr(u,v,E,y,D),[u,v,E,y,D]),B=Bt({...e,value:u,builtinValidation:C}),S=B.displayValidation.isInvalid,R=e.validationState||(S?"invalid":null),$=(k,z)=>{n("timeZone"in z?z.set(je(k)):xt(k,z)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let z=typeof c=="function"?c():c;s?m||z?$(k,m||Ou(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),z&&t.setOpen(!1)},setTimeValue:k=>{f&&k?$(f,k):b(k)},granularity:a,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&$(f,m||Ou(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:R,isInvalid:S,formatValue(k,z){if(!l)return"";let x=Mt(z,D);return new nt(k,x).format(l)},getDateFormatter(k,z){let x={...D,...z},w=Mt({},x);return new nt(k,w)}}}const Ny=new lu({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 Ly(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Ny.getStringForLocale(e,u):"––"}const lr={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},as={year:5,month:2,day:7,hour:2,minute:15,second:15},jy={dayperiod:"dayPeriod"};function _y(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:r=!1,isReadOnly:a=!1,isRequired:i=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=Cl(c,e.granularity),m=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let b=o.useMemo(()=>new nt(t),[t]),h=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var D;let[v,E]=Re(e.value,(D=e.defaultValue)!==null&&D!==void 0?D:null,e.onChange),y=o.useMemo(()=>{var M;return(M=zb(v,h))!==null&&M!==void 0?M:null},[v,h]),[C,B]=o.useState(()=>ln(e.placeholderValue,f,h,p)),S=y||C,R=h.identifier==="gregory"&&S.era==="BC",$=o.useMemo(()=>{var M;return{granularity:f,maxGranularity:(M=e.maxGranularity)!==null&&M!==void 0?M:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:R,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,R]),T=o.useMemo(()=>Mt({},$),[$]),A=o.useMemo(()=>new nt(t,T),[t,T]),k=o.useMemo(()=>A.resolvedOptions(),[A]),z=o.useMemo(()=>A.formatToParts(new Date).filter(M=>lr[M.type]).reduce((M,G)=>(M[G.type]=!0,M),{}),[A]),[x,w]=o.useState(()=>e.value||e.defaultValue?{...z}:{}),V=o.useRef(null),F=o.useRef(h.identifier);o.useEffect(()=>{h.identifier!==F.current&&(F.current=h.identifier,B(M=>Object.keys(x).length>0?he(M,h):ln(e.placeholderValue,f,h,p)))},[h,f,x,p,e.placeholderValue]),v&&Object.keys(x).length<Object.keys(z).length&&(x={...z},w(x)),v==null&&Object.keys(x).length===Object.keys(z).length&&(x={},w(x),B(ln(e.placeholderValue,f,h,p)));let I=y&&Object.keys(x).length>=Object.keys(z).length?y:C,P=M=>{if(e.isDisabled||e.isReadOnly)return;let G=Object.keys(x),J=Object.keys(z);M==null?(E(null),B(ln(e.placeholderValue,f,h,p)),w({})):G.length>=J.length||G.length===J.length-1&&z.dayPeriod&&!x.dayPeriod&&V.current!=="dayPeriod"?(M=he(M,(c==null?void 0:c.calendar)||new He),E(M)):B(M),V.current=null},K=o.useMemo(()=>I.toDate(m),[I,m]),j=o.useMemo(()=>A.formatToParts(K).map(M=>{let G=lr[M.type];M.type==="era"&&h.getEras().length===1&&(G=!1);let J=lr[M.type]&&!x[M.type],O=lr[M.type]?Ly(M.type,M.value,t):null;return{type:jy[M.type]||M.type,text:J?O:M.value,...Oy(I,M.type,k),isPlaceholder:J,placeholder:O,isEditable:G}}),[K,x,A,k,I,h,t]);z.era&&x.year&&!x.era?(x.era=!0,w({...x})):!z.era&&x.era&&(delete x.era,w({...x}));let L=M=>{x[M]=!0,M==="year"&&z.era&&(x.era=!0),w({...x})},U=(M,G)=>{if(x[M])P(Hy(I,M,G,k));else{L(M);let J=Object.keys(x),O=Object.keys(z);(J.length>=O.length||J.length===O.length-1&&z.dayPeriod&&!x.dayPeriod)&&P(I)}},Q=o.useMemo(()=>Mr(v,l,s,d,$),[v,l,s,d,$]),X=Bt({...e,value:v,builtinValidation:Q}),me=X.displayValidation.isInvalid,ie=e.validationState||(me?"invalid":null);var se;return{...X,value:y,dateValue:K,calendar:h,setValue:P,segments:j,dateFormatter:A,validationState:ie,isInvalid:me,granularity:f,maxGranularity:(se=e.maxGranularity)!==null&&se!==void 0?se:"year",isDisabled:r,isReadOnly:a,isRequired:i,increment(M){U(M,1)},decrement(M){U(M,-1)},incrementPage(M){U(M,as[M]||1)},decrementPage(M){U(M,-(as[M]||1))},setSegment(M,G){L(M),P(Uy(I,M,G,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(x),G=Object.keys(z);M.length===G.length-1&&z.dayPeriod&&!x.dayPeriod&&(x={...z},w(x),P(I.copy()))},clearSegment(M){delete x[M],V.current=M,w({...x});let G=ln(e.placeholderValue,f,h,p),J=I;if(M==="dayPeriod"&&"hour"in I&&"hour"in G){let O=I.hour>=12,Z=G.hour>=12;O&&!Z?J=I.set({hour:I.hour-12}):!O&&Z&&(J=I.set({hour:I.hour+12}))}else M in I&&(J=I.set({[M]:G[M]}));E(null),P(J)},formatValue(M){if(!y)return"";let G=Mt(M,$);return new nt(t,G).format(K)},getDateFormatter(M,G){let J={...$,...G},O=Mt({},J);return new nt(M,O)}}}function Oy(e,t,u){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:uD(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:nD(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(u.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 Hy(e,t,u,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,u,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return e.set({hour:a?r-12:r+12})}case"hour":case"minute":case"second":return e.cycle(t,u,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function Uy(e,t,u,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:u})}if("hour"in e&&typeof u=="number")switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return u>=12===a?e:e.set({hour:a?r-12:r+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&u===12&&(u=0),a&&u<12&&(u+=12)}case"minute":case"second":return e.set({[t]:u})}throw new Error("Unknown segment: "+t)}function Wy(e){var t,u;let n=Fu(e),[r,a]=Re(e.value,e.defaultValue||null,e.onChange),[i,l]=o.useState(()=>r||{start:null,end:null});r==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=r||i,d=F=>{l(F||{start:null,end:null}),fu(F)?a(F):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=Cl(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let h=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[D,v]=o.useState(null),[E,y]=o.useState(null);s&&fu(s)&&(D=s,"hour"in s.start&&(E=s));let C=(F,I)=>{d({start:"timeZone"in I.start?I.start.set(je(F.start)):xt(F.start,I.start),end:"timeZone"in I.end?I.end.set(je(F.end)):xt(F.end,I.end)}),v(null),y(null),x.commitValidation()},B=F=>{let I=typeof h=="function"?h():h;m?fu(F)&&(E!=null&&E.start)&&(E!=null&&E.end)?C(F,{start:(E==null?void 0:E.start)||Ou(e.placeholderValue),end:(E==null?void 0:E.end)||Ou(e.placeholderValue)}):v(F):fu(F)?(d(F),x.commitValidation()):v(F),I&&n.setOpen(!1)},S=F=>{fu(D)&&fu(F)?C(D,F):y(F)},R=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(u=s.end)===null||u===void 0?void 0:u.calendar.identifier)==="gregory"&&s.end.era==="BC",$=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:R}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,R]),{minValue:T,maxValue:A,isDateUnavailable:k}=e,z=o.useMemo(()=>Ky(s,T,A,k,$),[s,T,A,k,$]),x=Bt({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(F=>F!=null),[e.startName,e.endName]),builtinValidation:z}),w=x.displayValidation.isInvalid,V=e.validationState||(w?"invalid":null);return{...x,value:s,setValue:d,dateRange:D,timeRange:E,granularity:f,hasTime:m,setDate(F,I){var P,K;B(F==="start"?{start:I,end:(P=D==null?void 0:D.end)!==null&&P!==void 0?P:null}:{start:(K=D==null?void 0:D.start)!==null&&K!==void 0?K:null,end:I})},setTime(F,I){var P,K;S(F==="start"?{start:I,end:(P=E==null?void 0:E.end)!==null&&P!==void 0?P:null}:{start:(K=E==null?void 0:E.start)!==null&&K!==void 0?K:null,end:I})},setDateTime(F,I){var P,K;d(F==="start"?{start:I,end:(P=s==null?void 0:s.end)!==null&&P!==void 0?P:null}:{start:(K=s==null?void 0:s.start)!==null&&K!==void 0?K:null,end:I})},setDateRange:B,setTimeRange:S,...n,setOpen(F){!F&&!(s!=null&&s.start&&(s!=null&&s.end))&&fu(D)&&m&&C(D,{start:(E==null?void 0:E.start)||Ou(e.placeholderValue),end:(E==null?void 0:E.end)||Ou(e.placeholderValue)}),n.setOpen(F)},validationState:V,isInvalid:w,formatValue(F,I){if(!s||!s.start||!s.end)return null;let P="timeZone"in s.start?s.start.timeZone:void 0,K=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),j="timeZone"in s.end?s.end.timeZone:void 0,L=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),U=Mt(I,{granularity:K,timeZone:P,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"}),Q=s.start.toDate(P||"UTC"),X=s.end.toDate(j||"UTC"),me=new nt(F,U),ie;if(P===j&&K===L&&s.start.compare(s.end)!==0){try{let se=me.formatRangeToParts(Q,X),M=-1;for(let O=0;O<se.length;O++){let Z=se[O];if(Z.source==="shared"&&Z.type==="literal")M=O;else if(Z.source==="endRange")break}let G="",J="";for(let O=0;O<se.length;O++)O<M?G+=se[O].value:O>M&&(J+=se[O].value);return{start:G,end:J}}catch{}ie=me}else{let se=Mt(I,{granularity:L,timeZone:j,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ie=new nt(F,se)}return{start:me.format(Q),end:ie.format(X)}},getDateFormatter(F,I){let P={...$,...I},K=Mt({},P);return new nt(F,K)}}}function fu(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Gy(e){let[t,u]=Re(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isExpanded:t,setExpanded:u,expand:n,collapse:r,toggle:a}}function Zy(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,r]=Re(o.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),o.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return o.useEffect(()=>{!t&&n.size>1&&r(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:u,expandedKeys:n,setExpandedKeys:r,toggleKey(a){let i;t?(i=new Set(n),i.has(a)?i.delete(a):i.add(a)):i=new Set(n.has(a)?[]:[a]),r(i)}}}function qy(e){let{initialItems:t=[],initialSelectedKeys:u,getKey:n=d=>{var c;return(c=d.id)!==null&&c!==void 0?c:d.key},filter:r,initialFilterText:a=""}=e,[i,l]=o.useState({items:t,selectedKeys:u==="all"?"all":new Set(u||[]),filterText:a}),s=o.useMemo(()=>r?i.items.filter(d=>r(d,i.filterText)):i.items,[i.items,i.filterText,r]);return{...i,items:s,...Yy({getKey:n},l),getItem(d){return i.items.find(c=>n(c)===d)}}}function Yy(e,t){let{cursor:u,getKey:n}=e;return{setSelectedKeys(r){t(a=>({...a,selectedKeys:r}))},setFilterText(r){t(a=>({...a,filterText:r}))},insert(r,...a){t(i=>on(i,r,...a))},insertBefore(r,...a){t(i=>{let l=i.items.findIndex(s=>(n==null?void 0:n(s))===r);if(l===-1)if(i.items.length===0)l=0;else return i;return on(i,l,...a)})},insertAfter(r,...a){t(i=>{let l=i.items.findIndex(s=>(n==null?void 0:n(s))===r);if(l===-1)if(i.items.length===0)l=0;else return i;return on(i,l+1,...a)})},prepend(...r){t(a=>on(a,0,...r))},append(...r){t(a=>on(a,a.items.length,...r))},remove(...r){t(a=>{let i=new Set(r),l=a.items.filter(d=>!i.has(n(d))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let d of r)s.delete(d)}return u==null&&l.length===0&&(s=new Set),{...a,items:l,selectedKeys:s}})},removeSelectedItems(){t(r=>{if(r.selectedKeys==="all")return{...r,items:[],selectedKeys:new Set};let a=r.selectedKeys,i=r.items.filter(l=>!a.has(n(l)));return{...r,items:i,selectedKeys:new Set}})},move(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let s=i.items.slice(),[d]=s.splice(l,1);return s.splice(a,0,d),{...i,items:s}})},moveBefore(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let d=(Array.isArray(a)?a:[...a]).map(c=>i.items.findIndex(f=>n(f)===c)).sort((c,f)=>c-f);return is(i,d,l)})},moveAfter(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let d=(Array.isArray(a)?a:[...a]).map(c=>i.items.findIndex(f=>n(f)===c)).sort((c,f)=>c-f);return is(i,d,l+1)})},update(r,a){t(i=>{let l=i.items.findIndex(s=>n(s)===r);return l===-1?i:{...i,items:[...i.items.slice(0,l),a,...i.items.slice(l+1)]}})}}}function on(e,t,...u){return{...e,items:[...e.items.slice(0,t),...u,...e.items.slice(t)]}}function is(e,t,u){u-=t.filter(a=>a<u).length;let n=t.map(a=>({from:a,to:u++}));for(let a=0;a<n.length;a++){let i=n[a].from;for(let l=a;l<n.length;l++)n[l].from>i&&n[l].from--}for(let a=0;a<n.length;a++){let i=n[a];for(let l=n.length-1;l>a;l--){let s=n[l];s.from<i.to?i.to++:s.from++}}let r=e.items.slice();for(let a of n){let[i]=r.splice(a.from,1);r.splice(a.to,0,i)}return{...e,items:r}}function Vb(e){let t=Fu(e),[u,n]=o.useState(null),[r,a]=o.useState([]),i=()=>{a([]),t.close()};return{focusStrategy:u,...t,open(d=null){n(d),t.open()},toggle(d=null){n(d),t.toggle()},close(){i()},expandedKeysStack:r,openSubmenu:(d,c)=>{a(f=>c>f.length?f:[...f.slice(0,c),d])},closeSubmenu:(d,c)=>{a(f=>f[c]===d?f.slice(0,c):f)}}}let Jy=Math.round(Math.random()*1e10),Qy=0;function Xy(e){let t=o.useMemo(()=>e.name||`radio-group-${Jy}-${++Qy}`,[e.name]);var u;let[n,r]=Re(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[a,i]=o.useState(null),l=Bt({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(r(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function ev(e){let[t,u]=Re(ls(e.value),ls(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function ls(e){if(e!=null)return e.toString()}function tv(e){let t=Fu(e),[u,n]=o.useState(null),r=xl({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=Bt({...e,value:r.selectedKey}),[i,l]=o.useState(!1);return{...a,...r,...t,focusStrategy:u,open(s=null){r.collection.size!==0&&(n(s),t.open())},toggle(s=null){r.collection.size!==0&&(n(s),t.toggle())},isFocused:i,setFocused:l}}function uv(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||Hn(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=n.setFocusedKey;n.setFocusedKey=(s,d)=>{if(u==="cell"&&s!=null){let b=t.getItem(s);if((b==null?void 0:b.type)==="item"){var c,f;let h=ve(b,t);var p,m;d==="last"?s=(p=(c=Kt(h))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Tt(h))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new aa(t,n),[t,n]);const l=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&l.current&&!t.getItem(n.focusedKey)){const s=l.current.getItem(n.focusedKey),d=(s==null?void 0:s.parentKey)!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!d){n.setFocusedKey(null);return}const c=l.current.rows,f=t.rows,p=c.length-f.length;let m=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),b=null;for(;m>=0;){if(!i.isDisabled(f[m].key)&&f[m].type!=="headerrow"){b=f[m];break}m<f.length-1?m++:(m>d.index&&(m=d.index),m--)}if(b){const h=b.hasChildNodes?[...ve(b,t)]:[],D=b.hasChildNodes&&d!==s&&s&&s.index<h.length?h[s.index].key:b.key;n.setFocusedKey(D)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:i}}class nv{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t;return(t=[...this.rows][0])===null||t===void 0?void 0:t.key}getLastKey(){var t;let u=[...this.rows];return(t=u[u.length-1])===null||t===void 0?void 0:t.key}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=t==null?void 0:t.columnCount,this.rows=[];let u=f=>{let p=this.keyMap.get(f.key);t.visitNode&&(f=t.visitNode(f)),this.keyMap.set(f.key,f);let m=new Set,b=null;for(let h of f.childNodes)h.type==="cell"&&h.parentKey==null&&(h.parentKey=f.key),m.add(h.key),b?(b.nextKey=h.key,h.prevKey=b.key):h.prevKey=null,u(h),b=h;if(b&&(b.nextKey=null),p)for(let h of p.childNodes)m.has(h.key)||n(h)},n=f=>{this.keyMap.delete(f.key);for(let p of f.childNodes)this.keyMap.get(p.key)===p&&n(p)},r=null;for(let[f,p]of t.items.entries()){var a,i,l,s,d,c;let m={...p,level:(a=p.level)!==null&&a!==void 0?a:0,key:(i=p.key)!==null&&i!==void 0?i:"row-"+f,type:(l=p.type)!==null&&l!==void 0?l:"row",value:(s=p.value)!==null&&s!==void 0?s:null,hasChildNodes:!0,childNodes:[...p.childNodes],rendered:p.rendered,textValue:(d=p.textValue)!==null&&d!==void 0?d:"",index:(c=p.index)!==null&&c!==void 0?c:f};r?(r.nextKey=m.key,m.prevKey=r.key):m.prevKey=null,this.rows.push(m),u(m),r=m}r&&(r.nextKey=null)}}const Nb="row-header-column-"+Math.random().toString(36).slice(2);let Pi="row-header-column-"+Math.random().toString(36).slice(2);for(;Nb===Pi;)Pi="row-header-column-"+Math.random().toString(36).slice(2);function Lb(e,t){if(t.length===0)return[];let u=[],n=new Map;for(let c of t){let f=c.parentKey,p=[c];for(;f;){let m=e.get(f);if(!m)break;if(n.has(m)){var r,a;(a=(r=m).colspan)!==null&&a!==void 0||(r.colspan=0),m.colspan++;let{column:b,index:h}=n.get(m);if(h>p.length)break;for(let D=h;D<p.length;D++)b.splice(D,0,null);for(let D=p.length;D<b.length;D++)b[D]&&n.has(b[D])&&(n.get(b[D]).index=D)}else m.colspan=1,p.push(m),n.set(m,{column:p,index:p.length-1});f=m.parentKey}u.push(p),c.index=u.length-1}let i=Math.max(...u.map(c=>c.length)),l=Array(i).fill(0).map(()=>[]),s=0;for(let c of u){let f=i-1;for(let p of c){if(p){let m=l[f],b=m.reduce((h,D)=>{var v;return h+((v=D.colspan)!==null&&v!==void 0?v:1)},0);if(b<s){let h={type:"placeholder",key:"placeholder-"+p.key,colspan:s-b,index:b,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};m.length>0&&(m[m.length-1].nextKey=h.key,h.prevKey=m[m.length-1].key),m.push(h)}m.length>0&&(m[m.length-1].nextKey=p.key,p.prevKey=m[m.length-1].key),p.level=f,p.colIndex=s,m.push(p)}f--}s++}let d=0;for(let c of l){let f=c.reduce((p,m)=>{var b;return p+((b=m.colspan)!==null&&b!==void 0?b:1)},0);if(f<t.length){let p={type:"placeholder",key:"placeholder-"+c[c.length-1].key,colspan:t.length-f,index:f,value:null,rendered:null,level:d,hasChildNodes:!1,childNodes:[],textValue:"",prevKey:c[c.length-1].key};c.push(p)}d++}return l.map((c,f)=>({type:"headerrow",key:"headerrow-"+f,index:f,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:c,textValue:""}))}class rv extends nv{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t,u;return(u=(t=Tt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=Kt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys;if(n){let r=[];for(let a of u.childNodes){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}return""}constructor(t,u,n){let r=new Set,a=null,i=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:Nb,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:Pi,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(f)}let l=[],s=new Map,d=f=>{switch(f.type){case"body":a=f;break;case"column":s.set(f.key,f),f.hasChildNodes||(i.push(f),f.props.isRowHeader&&r.add(f.key));break;case"item":l.push(f);return}for(let p of f.childNodes)d(p)};for(let f of t)d(f);let c=Lb(s,i);if(c.forEach((f,p)=>l.splice(p,0,f)),super({columnCount:i.length,items:l,visitNode:f=>(f.column=i[f.index],f)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=r,this.body=a,this.headerRows=c,this._size=[...a.childNodes].length,this.rowHeaderColumnKeys.size===0){let f=this.columns.find(p=>{var m,b;return!(!((m=p.props)===null||m===void 0)&&m.isDragButtonCell)&&!(!((b=p.props)===null||b===void 0)&&b.isSelectionCell)});f&&this.rowHeaderColumnKeys.add(f.key)}}}const av={ascending:"descending",descending:"ascending"};function iv(e){let[t,u]=o.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:r,showDragButtons:a}=e,i=o.useMemo(()=>({showSelectionCheckboxes:r&&n!=="none",showDragButtons:a,selectionMode:n,columns:[]}),[e.children,r,n,a]),l=ml(e,o.useCallback(f=>new rv(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=uv({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});var c;return{collection:l,disabledKeys:s,selectionManager:d,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:(c=e.sortDescriptor)!==null&&c!==void 0?c:null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:u,sort(f,p){var m,b;(b=e.onSortChange)===null||b===void 0||b.call(e,{column:f,direction:p??(((m=e.sortDescriptor)===null||m===void 0?void 0:m.column)===f?av[e.sortDescriptor.direction]:"ascending")})}}}function lv(e){var t,u;let n=xl({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:os(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&u!==void 0?u:void 0}),{selectionManager:r,collection:a,selectedKey:i}=n,l=o.useRef(i);return o.useEffect(()=>{let s=i;(r.isEmpty||s==null||!a.getItem(s))&&(s=os(a,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==l.current)&&r.setFocusedKey(s),l.current=s}),{...n,isDisabled:e.isDisabled||!1}}function os(e,t){let u=null;if(e){var n,r,a,i;for(u=e.getFirstKey();u!=null&&(t.has(u)||!((r=e.getItem(u))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled)&&u!==e.getLastKey();)u=e.getKeyAfter(u);u!=null&&(t.has(u)||!((i=e.getItem(u))===null||i===void 0||(a=i.props)===null||a===void 0)&&a.isDisabled)&&u===e.getLastKey()&&(u=e.getFirstKey())}return u}const ov=1500,ss=500;let pu={},sv=0,sn=!1,At=null,mu=null;function jb(e={}){let{delay:t=ov,closeDelay:u=ss}=e,{isOpen:n,open:r,close:a}=Fu(e),i=o.useMemo(()=>`${++sv}`,[]),l=o.useRef(null),s=o.useRef(a),d=()=>{pu[i]=p},c=()=>{for(let b in pu)b!==i&&(pu[b](!0),delete pu[b])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),sn=!0,r(),At&&(clearTimeout(At),At=null),mu&&(clearTimeout(mu),mu=null)},p=b=>{b||u<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current()},u)),At&&(clearTimeout(At),At=null),sn&&(mu&&clearTimeout(mu),mu=setTimeout(()=>{delete pu[i],mu=null,sn=!1},Math.max(ss,u)))},m=()=>{c(),d(),!n&&!At&&!sn?At=setTimeout(()=>{At=null,sn=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=a},[a]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),pu[i]&&delete pu[i]},[i]),{isOpen:n,open:b=>{!b&&t>0&&!l.current?m():f()},close:p}}class dv{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}constructor(t,{expandedKeys:u}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,u=u||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||u.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let r=null,a=0;for(let[l,s]of this.keyMap)r?(r.nextKey=l,s.prevKey=r.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=a++),r=s,r.nextKey=void 0;var i;this.lastKey=(i=r==null?void 0:r.key)!==null&&i!==void 0?i:null}}function cv(e){let{onExpandedChange:t}=e,[u,n]=Re(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=Hn(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=ml(e,o.useCallback(s=>new dv(s,{expandedKeys:u}),[u]),null);return o.useEffect(()=>{r.focusedKey!=null&&!i.getItem(r.focusedKey)&&r.setFocusedKey(null)},[i,r.focusedKey]),{collection:i,expandedKeys:u,disabledKeys:a,toggleKey:s=>{n(fv(u,s))},setExpandedKeys:n,selectionManager:new aa(i,r)}}function fv(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const Ot=o.createContext(null),en=o.createContext({}),Un=o.forwardRef(function(t,u){[t,u]=q(t,u,en);let{isDisabled:n,isInvalid:r,onHoverStart:a,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=De({onHoverStart:a,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=oe({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=H({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var h,D;return o.createElement("div",{...N(s,m,d),...b,ref:u,role:(h=t.role)!==null&&h!==void 0?h:"group",slot:(D=t.slot)!==null&&D!==void 0?D:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":p||void 0,"data-disabled":n||void 0,"data-invalid":r||void 0},b.children)}),ku=o.createContext({});let pv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const Wn=Gr(function(t,u){[t,u]=q(t,u,ku);let{hoverProps:n,isHovered:r}=De(t),{isFocused:a,isFocusVisible:i,focusProps:l}=oe({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=H({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{...N(pv(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),mv=o.createContext(null),bv=o.forwardRef(function(t,u){[t,u]=q(t,u,mv);let{validationBehavior:n}=Ve(Ot)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=o.useRef(null),[s,d]=q({},l,ku),[c,f]=ct(),p=ev({...t,validationBehavior:i}),{labelProps:m,inputProps:b,clearButtonProps:h,descriptionProps:D,errorMessageProps:v,...E}=X6({...zt(t),label:f,validationBehavior:i},p,d),y=H({...t,values:{isEmpty:p.value==="",isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid||!1,state:p},defaultClassName:"react-aria-SearchField"}),C=_(t);return delete C.id,o.createElement("div",{...C,...y,ref:u,slot:t.slot||void 0,"data-empty":p.value===""||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":E.isInvalid||void 0},o.createElement(ee,{values:[[Et,{...m,ref:c}],[ku,{...N(b,s),ref:d}],[Ue,h],[Ie,{slots:{description:D,errorMessage:v}}],[en,{isInvalid:E.isInvalid,isDisabled:t.isDisabled||!1}],[mt,E]]},y.children))}),_b=o.createContext({});let hv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const $v=o.forwardRef(function(t,u){[t,u]=q(t,u,_b);let{hoverProps:n,isHovered:r}=De(t),{isFocused:a,isFocusVisible:i,focusProps:l}=oe({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=H({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{...N(hv(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),gv=o.createContext(null),Ob=o.forwardRef(function(t,u){[t,u]=q(t,u,gv);let{validationBehavior:n}=Ve(Ot)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=o.useRef(null),[s,d]=q({},l,ku),[c,f]=ct(),[p,m]=o.useState("input"),{labelProps:b,inputProps:h,descriptionProps:D,errorMessageProps:v,...E}=fl({...zt(t),inputElementType:p,label:f,validationBehavior:i},d),y=o.useCallback(S=>{d.current=S,S&&m(S instanceof HTMLTextAreaElement?"textarea":"input")},[d]),C=H({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=_(t);return delete B.id,o.createElement("div",{...B,...C,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(ee,{values:[[Et,{...b,ref:c}],[ku,{...N(h,s),ref:y}],[_b,{...h,ref:y}],[Ie,{slots:{description:D,errorMessage:v}}],[mt,E]]},C.children))}),Hb=o.createContext(null),Ub=o.createContext(null),tn={CollectionRoot({collection:e,renderDropIndicator:t}){return ds(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return ds(e,t,u)}};function ds(e,t,u){return ji({items:t?e.getChildren(t.key):e,dependencies:[u],children(n){var r;let a=n.render(n);if(!u||n.type!=="item")return a;let i=n.key,l=e.getKeyAfter(i);return o.createElement(o.Fragment,null,u({type:"item",key:i,dropPosition:"before"}),a,(l==null||((r=e.getItem(l))===null||r===void 0?void 0:r.type)!=="item")&&u({type:"item",key:i,dropPosition:"after"}))}})}const $e=o.createContext(tn);function El(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const Wb=o.createContext(null),zr=o.forwardRef(function(t,u){[t,u]=q(t,u,Wb);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=Vg({...t,elementType:n},u),{hoverProps:i,isHovered:l}=De(t),{focusProps:s,isFocused:d,isFocusVisible:c}=oe(),f=H({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:a,isHovered:l,isFocused:d,isFocusVisible:c}});return o.createElement(n,{ref:u,slot:t.slot||void 0,...N(f,r,i,s),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":a||void 0,"data-focus-visible":c||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),Si=o.createContext(null),Dv=o.forwardRef(function(t,u){[t,u]=q(t,u,Si);let{CollectionRoot:n}=o.useContext($e),{navProps:r}=n2(t);return o.createElement(jt,{content:o.createElement(ft,t)},a=>{var i;return o.createElement("ol",{ref:u,...r,slot:t.slot||void 0,style:t.style,className:(i=t.className)!==null&&i!==void 0?i:"react-aria-Breadcrumbs"},o.createElement(Si.Provider,{value:t},o.createElement(n,{collection:a})))})}),yv=_t("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Ve(Si),l={"aria-current":r?"page":null,isDisabled:a||r,onPress:()=>i==null?void 0:i(n.key)},s=H({...n.props,children:n.rendered,values:{isDisabled:a||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{..._(t),...s,ref:u,"data-disabled":a||r||void 0,"data-current":r||void 0},o.createElement(Wb.Provider,{value:l},s.children))}),Vr=o.createContext(null),Nr=o.createContext(null),la=o.createContext(null),oa=o.createContext(null),vv=o.forwardRef(function(t,u){[t,u]=q(t,u,Vr);let{locale:n}=pe(),r=Qm({...t,locale:n,createCalendar:dl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=o2(t,r),c=H({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-Calendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(ee,{values:[[Ue,{slots:{previous:i,next:l}}],[Or,{"aria-hidden":!0,level:2,children:d}],[la,r],[Vr,t],[Ie,{slots:{errorMessage:s}}]]},o.createElement(ru,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(ru,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),xv=o.forwardRef(function(t,u){[t,u]=q(t,u,Nr);let{locale:n}=pe(),r=Ay({...t,locale:n,createCalendar:dl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=s2(t,r,u),c=H({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(ee,{values:[[Ue,{slots:{previous:i,next:l}}],[Or,{"aria-hidden":!0,level:2,children:d}],[oa,r],[Nr,t],[Ie,{slots:{errorMessage:s}}]]},o.createElement(ru,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(ru,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),sa=o.createContext(null),Gb=o.forwardRef(function(t,u){let n=o.useContext(la),r=o.useContext(oa),a=Ve(Vr),i=Ve(Nr),l=n??r,s=l.visibleRange.start;t.offset&&(s=s.add(t.offset));var d;let c=(d=a==null?void 0:a.firstDayOfWeek)!==null&&d!==void 0?d:i==null?void 0:i.firstDayOfWeek,{gridProps:f,headerProps:p,weekDays:m}=d2({startDate:s,endDate:Er(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(sa.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{..._(t),...f,ref:u,style:t.style,className:(b=t.className)!==null&&b!==void 0?b:"react-aria-CalendarGrid"},typeof t.children!="function"?t.children:o.createElement(o.Fragment,null,o.createElement(Ev,null,h=>o.createElement(kv,null,h)),o.createElement(Sv,null,t.children))))});function Cv(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(sa);return o.createElement("thead",{..._(e),...a,ref:t,style:n,className:r||"react-aria-CalendarGridHeader"},o.createElement("tr",null,i.map((l,s)=>o.cloneElement(u(l),{key:s}))))}const Ev=o.forwardRef(Cv);function Bv(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{..._(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const kv=o.forwardRef(Bv);function Pv(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(la),i=o.useContext(oa),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(sa),{locale:c}=pe(),f=lD(s,c,d);return o.createElement("tbody",{..._(e),ref:t,style:n,className:r||"react-aria-CalendarGridBody"},[...new Array(f).keys()].map(p=>o.createElement("tr",{key:p},l.getDatesInWeek(p,s).map((m,b)=>m?o.cloneElement(u(m),{key:b}):o.createElement("td",{key:b})))))}const Sv=o.forwardRef(Pv),Zb=o.forwardRef(function({date:t,...u},n){let r=o.useContext(la),a=o.useContext(oa),i=r??a;var l;let{startDate:s}=(l=o.useContext(sa))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=f2({date:t},i,d),{hoverProps:m,isHovered:b}=De({...u,isDisabled:p.isDisabled}),{focusProps:h,isFocusVisible:D}=oe();D&&(D=p.isFocused);let v=!Qg(s,t),E=!1,y=!1;"highlightedRange"in i&&i.highlightedRange&&(E=ke(t,i.highlightedRange.start),y=ke(t,i.highlightedRange.end));let C=H({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:v,isFocusVisible:D,isSelectionStart:E,isSelectionEnd:y,...p}}),B={"data-focused":p.isFocused||void 0,"data-hovered":b||void 0,"data-pressed":p.isPressed||void 0,"data-unavailable":p.isUnavailable||void 0,"data-disabled":p.isDisabled||void 0,"data-focus-visible":D||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":v||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":E||void 0,"data-selection-end":y||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{...N(_(u),f,h,m,B,C),ref:d}))}),Av=o.createContext(null),Bl=o.createContext(null),wv=o.forwardRef(function(t,u){[t,u]=q(t,u,Av);let{validationBehavior:n}=Ve(Ot)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=wy({...t,validationBehavior:i}),[s,d]=ct(),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=y2({...t,label:d,validationBehavior:i},l),h=H({...t,values:{isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:t.isRequired||!1,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-CheckboxGroup"});return o.createElement("div",{...c,...h,ref:u,slot:t.slot||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":l.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},o.createElement(ee,{values:[[Bl,l],[Et,{...f,ref:s,elementType:"span"}],[Ie,{slots:{description:p,errorMessage:m}}],[mt,b]]},h.children))}),Fv=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=q(r,u,_r);let{validationBehavior:a}=Ve(Ot)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:a)!==null&&l!==void 0?l:"native",d=o.useContext(Bl),c=ge(Pu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:h,isPressed:D,isInvalid:v}=d?v2({...zt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):Wc({...zt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},qc(t),c),{isFocused:E,isFocusVisible:y,focusProps:C}=oe(),B=b||h,{hoverProps:S,isHovered:R}=De({...t,isDisabled:B}),$=H({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:D,isHovered:R,isFocused:E,isFocusVisible:y,isDisabled:b,isReadOnly:h,isInvalid:v,isRequired:t.isRequired||!1}}),T=_(t);return delete T.id,o.createElement("label",{...N(T,f,S,$),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":D||void 0,"data-hovered":R||void 0,"data-focused":E||void 0,"data-focus-visible":y||void 0,"data-disabled":b||void 0,"data-readonly":h||void 0,"data-invalid":v||void 0,"data-required":t.isRequired||void 0},o.createElement(ru,{elementType:"span"},o.createElement("input",{...N(p,C),ref:c})),$.children)});var qb={};qb={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var Yb={};Yb={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var Jb={};Jb={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var Qb={};Qb={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var Xb={};Xb={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var e5={};e5={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var t5={};t5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var u5={};u5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var n5={};n5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var r5={};r5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var a5={};a5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var i5={};i5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var l5={};l5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var o5={};o5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var s5={};s5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var d5={};d5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var c5={};c5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var f5={};f5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var p5={};p5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var m5={};m5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var b5={};b5={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var h5={};h5={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var $5={};$5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var g5={};g5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var D5={};D5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var y5={};y5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var v5={};v5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var x5={};x5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var C5={};C5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var E5={};E5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var B5={};B5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var k5={};k5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var P5={};P5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var S5={};S5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var kl={};kl={"ar-AE":qb,"bg-BG":Yb,"cs-CZ":Jb,"da-DK":Qb,"de-DE":Xb,"el-GR":e5,"en-US":t5,"es-ES":u5,"et-EE":n5,"fi-FI":r5,"fr-FR":a5,"he-IL":i5,"hr-HR":l5,"hu-HU":o5,"it-IT":s5,"ja-JP":d5,"ko-KR":c5,"lt-LT":f5,"lv-LV":p5,"nb-NO":m5,"nl-NL":b5,"pl-PL":h5,"pt-BR":$5,"pt-PT":g5,"ro-RO":D5,"ru-RU":y5,"sk-SK":v5,"sl-SI":x5,"sr-SP":C5,"sv-SE":E5,"tr-TR":B5,"uk-UA":k5,"zh-CN":P5,"zh-TW":S5};const We=o.createContext({}),da=o.createContext(null),Tv=o.forwardRef(function(t,u){let{render:n}=o.useContext(da);return o.createElement(o.Fragment,null,n(t,u))});function ca(e,t){var u;let n=e==null?void 0:e.renderDropIndicator,r=e==null||(u=e.isVirtualDragging)===null||u===void 0?void 0:u.call(e),a=o.useCallback(i=>{if(r||t!=null&&t.isDropTarget(i))return n?n(i):o.createElement(Tv,{target:i})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?a:void 0}function Pl(e,t,u){var n,r;let a=e.focusedKey,i=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(u==null||(r=u.target)===null||r===void 0?void 0:r.type)==="item"){i=u.target.key;var l;u.target.dropPosition==="after"&&(i=(l=u.collection.getKeyAfter(i))!==null&&l!==void 0?l:i)}return o.useMemo(()=>new Set([a,i].filter(s=>s!=null)),[a,i])}const A5=o.createContext({}),w5=o.createContext({}),Gn=o.createContext(null),Ze=o.createContext(null),F5=o.forwardRef(function(t,u){[t,u]=q(t,u,Gn);let n=o.useContext(Ze);return n?o.createElement(T5,{state:n,props:t,listBoxRef:u}):o.createElement(jt,{content:o.createElement(ft,t)},r=>o.createElement(Rv,{props:t,listBoxRef:u,collection:r}))});function Rv({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext($e),{filterFn:r,collectionProps:a,collectionRef:i}=o.useContext(Hb)||{};t=ge(o.useMemo(()=>Pu(t,i!==void 0?i:null),[i,t]));let l=o.useMemo(()=>r?u.filter(r):u,[u,r]),s=ia({...e,collection:l,layoutDelegate:n});return o.createElement(T5,{state:s,props:{...e,...a},listBoxRef:t})}function T5({state:e,props:t,listBoxRef:u}){let{dragAndDropHooks:n,layout:r="stack",orientation:a="vertical"}=t,{collection:i,selectionManager:l}=e,s=!!(n!=null&&n.useDraggableCollectionState),d=!!(n!=null&&n.useDroppableCollectionState),{direction:c}=pe(),{disabledBehavior:f,disabledKeys:p}=l,m=wu({usage:"search",sensitivity:"base"}),{isVirtualized:b,layoutDelegate:h,dropTargetDelegate:D,CollectionRoot:v}=o.useContext($e),E=o.useMemo(()=>t.keyboardDelegate||new au({collection:i,collator:m,ref:u,disabledKeys:p,disabledBehavior:f,layout:r,orientation:a,direction:c,layoutDelegate:h}),[i,m,u,f,p,a,c,t.keyboardDelegate,r,h]),{listBoxProps:y}=e6({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:E,isVirtualized:b},e,u),C=o.useRef(s),B=o.useRef(d);o.useEffect(()=>{C.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),B.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 S,R,$,T=!1,A=null,k=o.useRef(null);if(s&&n){S=n.useDraggableCollectionState({collection:i,selectionManager:l,preview:n.renderDragPreview?k:void 0}),n.useDraggableCollection({},S,u);let P=n.DragPreview;A=n.renderDragPreview?o.createElement(P,{ref:k},n.renderDragPreview):null}if(d&&n){R=n.useDroppableCollectionState({collection:i,selectionManager:l});let P=n.dropTargetDelegate||D||new n.ListDropTargetDelegate(i,u,{orientation:a,layout:r,direction:c});$=n.useDroppableCollection({keyboardDelegate:E,dropTargetDelegate:P},R,u),T=R.isDropTarget({type:"root"})}let{focusProps:z,isFocused:x,isFocusVisible:w}=oe(),V={isDropTarget:T,isEmpty:e.collection.size===0,isFocused:x,isFocusVisible:w,layout:t.layout||"stack",state:e},F=H({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:V}),I=null;return e.collection.size===0&&t.renderEmptyState&&(I=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(V))),o.createElement(Nn,null,o.createElement("div",{..._(t),...N(y,z,$==null?void 0:$.collectionProps),...F,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":T||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":x||void 0,"data-focus-visible":w||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(ee,{values:[[Gn,t],[Ze,e],[We,{dragAndDropHooks:n,dragState:S,dropState:R}],[w5,{elementType:"div"}],[da,{render:Kv}],[Ub,{name:"ListBoxSection",render:Iv}]]},o.createElement(v,{collection:i,scrollRef:u,persistedKeys:Pl(l,n,R),renderDropIndicator:ca(n,R)})),I,A))}function Iv(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Ze),{dragAndDropHooks:a,dropState:i}=o.useContext(We),{CollectionBranch:l}=o.useContext($e),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=r6({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=H({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{..._(e),...p,...m,ref:t},o.createElement(A5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:ca(a,i)})))}const R5=_t("item",function(t,u,n){let r=ge(u),a=o.useContext(Ze),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(We),{optionProps:d,labelProps:c,descriptionProps:f,...p}=n6({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,r),{hoverProps:m,isHovered:b}=De({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),h=null;l&&i&&(h=i.useDraggableItem({key:n.key},l));let D=null;s&&i&&(D=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let v=l&&l.isDragging(n.key),E=H({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:b,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:v,isDropTarget:D==null?void 0:D.isDropTarget}});o.useEffect(()=>{n.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.")},[n.textValue]);let y=t.href?"a":"div";return o.createElement(y,{...N(d,m,h==null?void 0:h.dragProps,D==null?void 0:D.dropProps),...E,ref:r,"data-allows-dragging":!!l||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":b||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":(D==null?void 0:D.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(ee,{values:[[Ie,{slots:{label:c,description:f}}]]},E.children))});function Kv(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(We),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(zv,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function Mv(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,a=H({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...u,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const zv=o.forwardRef(Mv),Sl=o.createContext({placement:"bottom"}),Vv=o.forwardRef(function(t,u){[t,u]=q(t,u,Sl);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let a=H({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return a.style&&Object.keys(a.style).forEach(i=>a.style[i]===void 0&&delete a.style[i]),o.createElement("div",{...t,...a,style:{...r,...a.style},ref:u,"data-placement":n})}),Tu=o.createContext(null),un=o.forwardRef(function(t,u){[t,u]=q(t,u,Tu);let n=o.useContext(du),r=Fu(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=ks(u,a.isOpen)||t.isExiting||!1;if(Q$()){let s=t.children;return typeof s=="function"&&(s=s({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,s)}return a&&!a.isOpen&&!i?null:o.createElement(Nv,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i})});function Nv({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[a,i]=o.useState(0);Y(()=>{r.current&&e.isOpen&&i(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var l;let{popoverProps:s,underlayProps:d,arrowProps:c,placement:f}=W2({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:a},e),p=n.popoverRef,m=Bs(p,!!f)||n.isEntering||!1,b=H({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:m,isExiting:t}}),h={...s.style,...b.style};return o.createElement(q2,{...n,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),o.createElement("div",{...N(_(n),s),...b,ref:p,slot:n.slot||void 0,style:h,"data-trigger":n.trigger,"data-placement":f,"data-entering":m||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Lo,{onDismiss:e.close}),o.createElement(Sl.Provider,{value:{...c,placement:f,ref:r}},b.children),o.createElement(Lo,{onDismiss:e.close})))}const Lv=o.createContext({}),I5=o.createContext(null),Al=o.createContext(null),wl=o.createContext(null),Lr=o.createContext(null);function jv(e){let t=Vb(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=hl({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);xu({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(ee,{values:[[I5,{...r,ref:s}],[du,t],[wl,t],[Tu,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a}}]]},o.createElement(Ui,{...n,ref:u,isPressed:t.isOpen},e.children))}const _v=o.createContext(null),Ov=o.forwardRef(function(t,u){return[t,u]=q(t,u,I5),o.createElement(jt,{content:o.createElement(ft,t)},n=>n.size>0&&o.createElement(Hv,{props:t,collection:n,menuRef:u}))});function Hv({props:e,collection:t,menuRef:u}){let{filterFn:n,collectionProps:r,collectionRef:a}=o.useContext(Hb)||{};u=ge(o.useMemo(()=>Pu(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.filter(n):t,[t,n]),l=cv({...e,collection:i,children:void 0}),s=o.useContext(wl),{isVirtualized:d,CollectionRoot:c}=o.useContext($e),{menuProps:f}=i6({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=H({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{}});return o.createElement(Nn,null,o.createElement("div",{..._(e),...f,...p,ref:u,slot:e.slot||void 0,onScroll:e.onScroll},o.createElement(ee,{values:[[Al,l],[w5,{elementType:"div"}],[Ub,{name:"MenuSection",render:Wv}],[_v,{parentMenuRef:u}],[Ai,null],[Lr,l.selectionManager]]},o.createElement(c,{collection:l.collection,persistedKeys:El(l.selectionManager.focusedKey),scrollRef:u}))))}class Uv extends aa{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,u){return this.parent.setFocusedKey(t,u)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(t,u){super(t.collection,u),this.parent=t}}function Wv(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(Al),{CollectionBranch:l}=o.useContext($e),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=o6({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=H({defaultClassName:n,className:(r=u.props)===null||r===void 0?void 0:r.className,style:(a=u.props)===null||a===void 0?void 0:a.style,values:{}}),b=o.useContext(Lr),h=Hn(e),D=e.selectionMode!=null?new Uv(b,h):b;return o.createElement("section",{..._(e),...p,...m,ref:t},o.createElement(ee,{values:[[A5,{...f,ref:s}],[Lr,D]]},o.createElement(l,{collection:i.collection,parent:u})))}const Ai=o.createContext(null),Gv=_t("item",function(t,u,n){var r;[t,u]=q(t,u,Ai);let a=(r=Ve(Ai))===null||r===void 0?void 0:r.id,i=o.useContext(Al),l=ge(u),s=o.useContext(Lr),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=l6({...t,id:a,key:n.key,selectionManager:s},i,l),{isFocusVisible:b,focusProps:h}=oe(),{hoverProps:D,isHovered:v}=De({isDisabled:m.isDisabled}),E=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:v,isFocusVisible:b,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),y=t.href?"a":"div";return o.createElement(y,{...N(d,h,D),...E,ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":b||void 0,"data-pressed":m.isPressed||void 0,"data-selected":m.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},o.createElement(ee,{values:[[Ie,{slots:{label:c,description:f}}],[Lv,p]]},E.children))}),fa=o.createContext(null),du=o.createContext(null);function Zv(e){let t=Vb(e),u=o.useRef(null),{triggerProps:n,overlayProps:r}=b3({type:"dialog"},t,u);return n.id=ne(),r["aria-labelledby"]=n.id,o.createElement(ee,{values:[[du,t],[wl,t],[fa,r],[Tu,{trigger:"DialogTrigger",triggerRef:u}]]},o.createElement(Ui,{...n,ref:u,isPressed:t.isOpen},e.children))}const K5=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=q(t,u,fa);let{dialogProps:r,titleProps:a}=x6({...t,"aria-labelledby":n},u),i=o.useContext(du);!r["aria-label"]&&!r["aria-labelledby"]&&(t["aria-labelledby"]?r["aria-labelledby"]=t["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.'));let l=H({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(i==null?void 0:i.close)||(()=>{})}});return o.createElement("section",{..._(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(ee,{values:[[Or,{slots:{[gt]:{},title:{...a,level:2}}}],[Ue,{slots:{[gt]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),qv=o.createContext(null),Yv=o.createContext(null),Jv=o.forwardRef(function(t,u){[t,u]=q(t,u,qv);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(Gn.Provider,{value:{items:(s=t.items)!==null&&s!==void 0?s:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,defaultChildren:null}):n)},[n,r,a,i,t.items,t.defaultItems]);return o.createElement(jt,{content:l},s=>o.createElement(Qv,{props:t,collection:s,comboBoxRef:u}))});function Qv({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=Ve(Ot)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=ic({sensitivity:"base"}),f=Ty({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:d}),p=o.useRef(null),m=o.useRef(null),b=o.useRef(null),h=o.useRef(null),[D,v]=ct(),{buttonProps:E,inputProps:y,listBoxProps:C,labelProps:B,descriptionProps:S,errorMessageProps:R,...$}=d6({...zt(e),label:v,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:h,name:r==="text"?n:void 0,validationBehavior:d},f),[T,A]=o.useState(null),k=o.useCallback(()=>{if(m.current){var F;let I=(F=p.current)===null||F===void 0?void 0:F.getBoundingClientRect(),P=m.current.getBoundingClientRect(),K=I?Math.min(I.left,P.left):P.left,j=I?Math.max(I.right,P.right):P.right;A(j-K+"px")}},[p,m,A]);xu({ref:m,onResize:k});let z=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:$.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,$.isInvalid,e.isRequired]),x=H({...e,values:z,defaultClassName:"react-aria-ComboBox"}),w=_(e);delete w.id;var V;return o.createElement(ee,{values:[[Yv,f],[Et,{...B,ref:D}],[Ue,{...E,ref:p,isPressed:f.isOpen}],[ku,{...y,ref:m}],[du,f],[Tu,{ref:h,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":T}}],[Gn,{...C,ref:b}],[Ze,f],[Ie,{slots:{description:S,errorMessage:R}}],[en,{isInvalid:$.isInvalid,isDisabled:e.isDisabled||!1}],[mt,$]]},o.createElement("div",{...w,...x,ref:u,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":$.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(V=f.selectedKey)!==null&&V!==void 0?V:""}))}const Fl=o.createContext(null),pa=o.createContext(null),Tl=o.createContext(null),wi=o.forwardRef(function(t,u){let n=o.useContext(pa),r=o.useContext(Tl);return n||r?o.createElement(M5,{...t,ref:u}):o.createElement(Xv,{...t,ref:u})}),Xv=o.forwardRef((e,t)=>{let[u,n]=q({slot:e.slot},t,Fl),{locale:r}=pe(),a=_y({...u,locale:r,createCalendar:dl}),i=o.useRef(null),{fieldProps:l,inputProps:s}=f6({...u,inputRef:i},a,n);return o.createElement(ee,{values:[[pa,a],[ku,{...s,ref:i}],[en,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(M5,e))}),M5=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(pa),a=o.useContext(Tl),i=r??a;return o.createElement(o.Fragment,null,o.createElement(Un,{...e,ref:t,slot:e.slot||void 0,className:u??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,s)=>o.cloneElement(n(l),{key:s}))),o.createElement(Wn,null))}),Fi=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(pa),a=o.useContext(Tl),i=r??a,l=ge(n),{segmentProps:s}=g6(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=De({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=H({...u,values:{...t,isReadOnly:!t.isEditable,isInvalid:i.isInvalid,isDisabled:i.isDisabled,isHovered:m,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return o.createElement("div",{...N(_(u),s,d,p),...b,ref:l,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":i.isInvalid||void 0,"data-readonly":!t.isEditable||void 0,"data-disabled":i.isDisabled||void 0,"data-type":t.type,"data-hovered":m||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),ex=o.createContext(null),tx=o.createContext(null),ux=o.createContext(null),nx=o.createContext(null),rx=o.forwardRef(function(t,u){[t,u]=q(t,u,ex);let{validationBehavior:n}=Ve(Ot)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Vy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:h,calendarProps:D,descriptionProps:v,errorMessageProps:E,...y}=m6({...zt(t),label:c,validationBehavior:i},l,s),[C,B]=o.useState(null),S=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);xu({ref:s,onResize:S});let{focusProps:R,isFocused:$,isFocusVisible:T}=oe({within:!0}),A=H({...t,values:{state:l,isFocusWithin:$,isFocusVisible:T,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=_(t);return delete k.id,o.createElement(ee,{values:[[ux,l],[en,{...f,ref:s,isInvalid:l.isInvalid}],[Fl,m],[Ue,{...b,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Vr,D],[du,l],[Tu,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":C}}],[fa,h],[Ie,{slots:{description:v,errorMessage:E}}],[mt,y]]},o.createElement("div",{...R,...k,...A,ref:u,slot:t.slot||void 0,"data-focus-within":$||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":T||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),ax=o.forwardRef(function(t,u){[t,u]=q(t,u,tx);let{validationBehavior:n}=Ve(Ot)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Wy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:h,dialogProps:D,calendarProps:v,descriptionProps:E,errorMessageProps:y,...C}=v6({...zt(t),label:c,validationBehavior:i},l,s),[B,S]=o.useState(null),R=o.useCallback(()=>{s.current&&S(s.current.offsetWidth+"px")},[]);xu({ref:s,onResize:R});let{focusProps:$,isFocused:T,isFocusVisible:A}=oe({within:!0}),k=H({...t,values:{state:l,isFocusWithin:T,isFocusVisible:A,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),z=_(t);return delete z.id,o.createElement(ee,{values:[[nx,l],[en,{...f,ref:s,isInvalid:l.isInvalid}],[Ue,{...h,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Nr,v],[du,l],[Tu,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[fa,D],[Fl,{slots:{start:m,end:b}}],[Ie,{slots:{description:E,errorMessage:y}}],[mt,C]]},o.createElement("div",{...$,...z,...k,ref:u,slot:t.slot||void 0,"data-focus-within":T||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),z5=o.createContext(null),ix=o.forwardRef(function(t,u){let n=Zy(t),r=H({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=_(t);return o.createElement("div",{...a,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(z5.Provider,{value:n},r.children))}),lx=o.createContext(null),ox=o.createContext(null),V5=o.createContext(null),sx=o.forwardRef(function(t,u){[t,u]=q(t,u,lx);let n=o.useContext(z5),{id:r,...a}=t,i=ne();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=Gy({...t,isExpanded:l,onExpandedChange(v){var E;n&&n.toggleKey(r),(E=t.onExpandedChange)===null||E===void 0||E.call(t,v)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=C6({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=oe({within:!0}),h=H({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),D=_(a);return o.createElement(ee,{values:[[Ue,{slots:{[gt]:{},trigger:f}}],[V5,{panelProps:p,panelRef:d}],[ox,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...D,...b,...h},h.children))}),dx=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(V5),{isFocusVisible:i,focusProps:l}=oe({within:!0}),s=H({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=_(t);return o.createElement("div",{...d,ref:Pu(u,a),...N(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(ee,{values:[[Ue,null]]},t.children))});function cx(e){return e&&e.__esModule?e.default:e}const fx=o.createContext(null),px=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=q(t,u,fx);let r=ge(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=N6({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=lc(l||{},a),{hoverProps:c,isHovered:f}=De(t),{focusProps:p,isFocused:m,isFocusVisible:b}=oe(),h=be(cx(kl),"react-aria-components"),D=rt(),v=t["aria-label"]||h.format("dropzoneLabel"),E=t["aria-labelledby"],y=[D,E].filter(Boolean).join(" "),C=vt({"aria-label":v,"aria-labelledby":y}),{clipboardProps:B}=L6({isDisabled:n,onPaste:$=>{var T;return(T=t.onDrop)===null||T===void 0?void 0:T.call(t,{type:"drop",items:$,x:0,y:0,dropOperation:"copy"})}}),S=H({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),R=_(t);return delete R.id,o.createElement(ee,{values:[[Ie,{id:D,slot:"label"}]]},o.createElement("div",{...N(i,c,R),...S,slot:t.slot||void 0,ref:r,onClick:$=>{var T;let A=$.target;for(;A&&(!((T=r.current)===null||T===void 0)&&T.contains(A))&&!wg(A);){if(A===r.current){var k;(k=a.current)===null||k===void 0||k.focus();break}A=A.parentElement}},"data-hovered":f||void 0,"data-focused":m||void 0,"data-focus-visible":b||void 0,"data-drop-target":s||void 0,"data-disabled":n||void 0},o.createElement(ru,null,o.createElement("button",{...N(d,p,B,C),ref:a})),S.children))}),mx=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:a,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=ge(u),f=_(d);return o.createElement(o.Fragment,null,o.createElement(Ui,{onPress:()=>{var p,m;!((p=c.current)===null||p===void 0)&&p.value&&(c.current.value=""),(m=c.current)===null||m===void 0||m.click()}},l),o.createElement(Wn,{...f,type:"file",ref:c,style:{display:"none"},accept:r==null?void 0:r.toString(),onChange:p=>n==null?void 0:n(p.target.files),capture:i,multiple:a,webkitdirectory:s?"":void 0}))}),bx=o.createContext(null),hx=o.forwardRef(function(t,u){return[t,u]=q(t,u,bx),o.createElement(jt,{content:o.createElement(ft,t)},n=>o.createElement($x,{props:t,collection:n,gridListRef:u}))});function $x({props:e,collection:t,gridListRef:u}){let{dragAndDropHooks:n,keyboardNavigationBehavior:r="arrow",layout:a="stack"}=e,{CollectionRoot:i,isVirtualized:l,layoutDelegate:s,dropTargetDelegate:d}=o.useContext($e),c=ia({...e,collection:t,children:void 0,layoutDelegate:s}),f=wu({usage:"search",sensitivity:"base"}),{disabledBehavior:p,disabledKeys:m}=c.selectionManager,{direction:b}=pe(),h=o.useMemo(()=>new au({collection:t,collator:f,ref:u,disabledKeys:m,disabledBehavior:p,layoutDelegate:s,layout:a,direction:b}),[t,u,a,m,p,s,f,b]),{gridProps:D}=U0({...e,keyboardDelegate:h,keyboardNavigationBehavior:a==="grid"?"tab":r,isVirtualized:l},c,u),v=c.selectionManager,E=!!(n!=null&&n.useDraggableCollectionState),y=!!(n!=null&&n.useDroppableCollectionState),C=o.useRef(E),B=o.useRef(y);o.useEffect(()=>{C.current!==E&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),B.current!==y&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[E,y]);let S,R,$,T=!1,A=null,k=o.useRef(null);if(E&&n){S=n.useDraggableCollectionState({collection:t,selectionManager:v,preview:n.renderDragPreview?k:void 0}),n.useDraggableCollection({},S,u);let K=n.DragPreview;A=n.renderDragPreview?o.createElement(K,{ref:k},n.renderDragPreview):null}if(y&&n){R=n.useDroppableCollectionState({collection:t,selectionManager:v});let K=new au({collection:t,disabledKeys:v.disabledKeys,disabledBehavior:v.disabledBehavior,ref:u}),j=n.dropTargetDelegate||d||new n.ListDropTargetDelegate(t,u,{layout:a,direction:b});$=n.useDroppableCollection({keyboardDelegate:K,dropTargetDelegate:j},R,u),T=R.isDropTarget({type:"root"})}let{focusProps:z,isFocused:x,isFocusVisible:w}=oe(),V={isDropTarget:T,isEmpty:c.collection.size===0,isFocused:x,isFocusVisible:w,layout:a,state:c},F=H({className:e.className,style:e.style,defaultClassName:"react-aria-GridList",values:V}),I=null,P=null;if(c.collection.size===0&&e.renderEmptyState){let K=e.renderEmptyState(V);I=o.createElement("div",{role:"row",style:{display:"contents"}},o.createElement("div",{role:"gridcell",style:{display:"contents"}},K))}return o.createElement(Nn,null,o.createElement("div",{..._(e),...F,...N(D,z,$==null?void 0:$.collectionProps,P),ref:u,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":T||void 0,"data-empty":c.collection.size===0||void 0,"data-focused":x||void 0,"data-focus-visible":w||void 0,"data-layout":a},o.createElement(ee,{values:[[Ze,c],[We,{dragAndDropHooks:n,dragState:S,dropState:R}],[da,{render:Dx}]]},y&&o.createElement(xx,null),o.createElement(i,{collection:t,scrollRef:u,persistedKeys:Pl(v,n,R),renderDropIndicator:ca(n,R)})),I,A))}const gx=_t("item",function(t,u,n){let r=o.useContext(Ze),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(We),s=ge(u),{isVirtualized:d}=o.useContext($e),{rowProps:c,gridCellProps:f,descriptionProps:p,...m}=W0({node:n,shouldSelectOnPressUp:!!i,isVirtualized:d},r,s),{hoverProps:b,isHovered:h}=De({isDisabled:!m.allowsSelection&&!m.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{isFocusVisible:D,focusProps:v}=oe(),{checkboxProps:E}=q6({key:n.key},r),y=r.selectionManager.disabledBehavior==="all"&&m.isDisabled?{isDisabled:!0}:{},C=null;i&&a&&(C=a.useDraggableItem({key:n.key,hasDragButton:!0},i));let B=null,S=o.useRef(null),{visuallyHiddenProps:R}=su();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:n.key,dropPosition:"on"}},l,S));let $=i&&i.isDragging(n.key),T=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-GridListItem",values:{...m,isHovered:h,isFocusVisible:D,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,allowsDragging:!!i,isDragging:$,isDropTarget:B==null?void 0:B.isDropTarget}}),A=o.useRef(null);return o.useEffect(()=>{i&&!A.current&&console.warn('Draggable items in a GridList must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]),o.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <GridListItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]),o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement("div",{role:"row",style:{position:"absolute"}},o.createElement("div",{role:"gridcell"},o.createElement("div",{role:"button",...R,...B==null?void 0:B.dropIndicatorProps,ref:S}))),o.createElement("div",{...N(_(t),c,v,b,C==null?void 0:C.dragProps),...T,ref:s,"data-selected":m.isSelected||void 0,"data-disabled":m.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":D||void 0,"data-pressed":m.isPressed||void 0,"data-allows-dragging":!!i||void 0,"data-dragging":$||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode},o.createElement("div",{...f,style:{display:"contents"}},o.createElement(ee,{values:[[_r,{slots:{[gt]:{},selection:E}}],[Ue,{slots:{[gt]:y,drag:{...C==null?void 0:C.dragButtonProps,ref:A,style:{pointerEvents:"none"}}}}],[Ie,{slots:{[gt]:{},description:p}}],[$e,tn],[Ze,null]]},T.children))))});function Dx(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(We),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(vx,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function yx(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,{visuallyHiddenProps:i}=su(),l=H({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...l,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement("div",{role:"gridcell"},o.createElement("div",{...i,role:"button",...u,ref:r}),l.children))}const vx=o.forwardRef(yx);function xx(){let{dragAndDropHooks:e,dropState:t}=o.useContext(We),u=o.useRef(null),{dropIndicatorProps:n}=e.useDropIndicator({target:{type:"root"}},t,u),r=t.isDropTarget({type:"root"}),{visuallyHiddenProps:a}=su();return!r&&n["aria-hidden"]?null:o.createElement("div",{role:"row","aria-hidden":n["aria-hidden"],style:{position:"absolute"}},o.createElement("div",{role:"gridcell"},o.createElement("div",{role:"button",...a,...n,ref:u})))}const Rl=o.forwardRef(function(t,u){[t,u]=q(t,u,Or);let{children:n,level:r=3,className:a,...i}=t,l=`h${r}`;return o.createElement(l,{...i,ref:u,className:a??"react-aria-Heading"},n)}),Cx=o.createContext(null),Ex=o.createContext(null),N5=o.createContext(null),Bx=o.forwardRef(function(t,u){[t,u]=q(t,u,Cx);let{validationBehavior:n}=Ve(Ot)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Xy({...t,validationBehavior:i}),[s,d]=ct(),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=J6({...t,label:d,validationBehavior:i},l),h=H({...t,values:{orientation:t.orientation||"vertical",isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:l.isRequired,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-RadioGroup"});return o.createElement("div",{...c,...h,ref:u,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":l.isInvalid||void 0,"data-disabled":l.isDisabled||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":l.isRequired||void 0},o.createElement(ee,{values:[[N5,l],[Et,{...f,ref:s,elementType:"span"}],[Ie,{slots:{description:p,errorMessage:m}}],[mt,b]]},h.children))}),kx=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=q(r,u,Ex);let a=o.useContext(N5),i=ge(Pu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=Y6({...zt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),h=c||a.isReadOnly,{hoverProps:D,isHovered:v}=De({...t,isDisabled:h}),E=H({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:v,isFocused:p,isFocusVisible:m,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),y=_(t);return delete y.id,o.createElement("label",{...N(y,l,D,E),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":v||void 0,"data-focused":p||void 0,"data-focus-visible":m||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},o.createElement(ru,{elementType:"span"},o.createElement("input",{...N(s,b),ref:i})),E.children)});function Px(e){return e&&e.__esModule?e.default:e}const Il=o.createContext(null),L5=o.createContext(null),Sx=o.forwardRef(function(t,u){[t,u]=q(t,u,Il);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,a,i]);return o.createElement(jt,{content:l},s=>o.createElement(Ax,{props:t,collection:s,selectRef:u}))});function Ax({props:e,selectRef:t,collection:u}){let{validationBehavior:n}=Ve(Ot)||{};var r,a;let i=(a=(r=e.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=tv({...e,collection:u,children:void 0,validationBehavior:i}),{isFocusVisible:s,focusProps:d}=oe({within:!0}),c=o.useRef(null),[f,p]=ct(),{labelProps:m,triggerProps:b,valueProps:h,menuProps:D,descriptionProps:v,errorMessageProps:E,...y}=ey({...zt(e),label:p,validationBehavior:i},l,c),[C,B]=o.useState(null),S=o.useCallback(()=>{c.current&&B(c.current.offsetWidth+"px")},[c]);xu({ref:c,onResize:S});let R=o.useMemo(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:s,isDisabled:e.isDisabled||!1,isInvalid:y.isInvalid||!1,isRequired:e.isRequired||!1}),[l.isOpen,l.isFocused,s,e.isDisabled,y.isInvalid,e.isRequired]),$=H({...e,values:R,defaultClassName:"react-aria-Select"}),T=_(e);delete T.id;let A=o.useRef(null);return o.createElement(ee,{values:[[Il,e],[L5,l],[j5,h],[Et,{...m,ref:f,elementType:"span"}],[Ue,{...b,ref:c,isPressed:l.isOpen}],[du,l],[Tu,{trigger:"Select",triggerRef:c,scrollRef:A,placement:"bottom start",style:{"--trigger-width":C}}],[Gn,{...D,ref:A}],[Ze,l],[Ie,{slots:{description:v,errorMessage:E}}],[mt,y]]},o.createElement("div",{...T,...$,...d,ref:t,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-required":e.isRequired||void 0}),o.createElement(uy,{autoComplete:e.autoComplete,state:l,triggerRef:c,label:p,name:e.name,isDisabled:e.isDisabled}))}const j5=o.createContext(null),wx=o.forwardRef(function(t,u){var n,r;[t,u]=q(t,u,j5);let a=o.useContext(L5),{placeholder:i}=Ve(Il),l=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,s=l==null?void 0:l.props.children;typeof s=="function"&&(s=s({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let d=be(Px(kl),"react-aria-components");var c,f,p;let m=H({...t,defaultChildren:(c=s??i)!==null&&c!==void 0?c:d.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(f=(n=a.selectedItem)===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:null,selectedText:(p=(r=a.selectedItem)===null||r===void 0?void 0:r.textValue)!==null&&p!==void 0?p:null,isPlaceholder:!l}}),b=_(t);return o.createElement("span",{ref:u,...b,...m,"data-placeholder":!l||void 0},o.createElement(Ie.Provider,{value:void 0},m.children))});class Fx extends Wr{addNode(t){super.addNode(t),this.columnsDirty||(this.columnsDirty=t.type==="column"),t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t)}commit(t,u,n=!1){this.updateColumns(n),super.commit(t,u,n),this.rows=[...this.getChildren(this.body.key)]}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let u=new Map,n=r=>{switch(r.type){case"column":u.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key));break}for(let a of this.getChildren(r.key))n(a)};for(let r of this.getChildren(this.head.key))n(r);if(this.headerRows=Lb(u,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body)}get size(){return this.rows.length}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let u=this.getItem(t);var n;return(u==null?void 0:u.type)==="column"?(n=u.nextKey)!==null&&n!==void 0?n:null:super.getKeyAfter(t)}getKeyBefore(t){var u;let n=this.getItem(t);var r;if((n==null?void 0:n.type)==="column")return(r=n.prevKey)!==null&&r!==void 0?r:null;let a=super.getKeyBefore(t);return a!=null&&((u=this.getItem(a))===null||u===void 0?void 0:u.type)==="tablebody"?null:a}getChildren(t){if(!this.getItem(t)){for(let u of this.headerRows)if(u.key===t)return u.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let a of this.getChildren(t)){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new En("tableheader",-1),this.body=new En("tablebody",-2),this.columnsDirty=!0}}const Tx=o.createContext(null),Rx=o.createContext(null),kt=o.createContext(null),_5=o.createContext(null),Ix=o.forwardRef(function(t,u){var n;[t,u]=q(t,u,Rx);let r=Hn(t),{selectionBehavior:a,selectionMode:i,disallowEmptySelection:l}=r,s=!!(!((n=t.dragAndDropHooks)===null||n===void 0)&&n.useDraggableCollectionState),d=o.useMemo(()=>({selectionBehavior:i==="none"?null:a,selectionMode:i,disallowEmptySelection:l,allowsDragging:s}),[a,i,l,s]),c=o.createElement(O5.Provider,{value:d},o.createElement(ft,t));return o.createElement(jt,{content:c,createCollection:()=>new Fx},f=>o.createElement(Kx,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function Kx({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(Tx);t=ge(o.useMemo(()=>Pu(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=iv({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext($e),{dragAndDropHooks:c}=e,{gridProps:f}=ly({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),h=o.useRef(m),D=o.useRef(b);o.useEffect(()=>{h.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),D.current!==b&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[m,b]);let v,E,y,C=!1,B=null,S=o.useRef(null);if(m&&c){v=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?S:void 0}),c.useDraggableCollection({},v,t);let F=c.DragPreview;B=c.renderDragPreview?o.createElement(F,{ref:S},c.renderDragPreview):null}if(b&&c){E=c.useDroppableCollectionState({collection:n,selectionManager:p});let F=new au({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),I=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);y=c.useDroppableCollection({keyboardDelegate:F,dropTargetDelegate:I},E,t),C=E.isDropTarget({type:"root"})}let{focusProps:R,isFocused:$,isFocusVisible:T}=oe(),A=H({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:C,isFocused:$,isFocusVisible:T,state:a}}),k=!!(m&&!(v!=null&&v.isDisabled)),z=A.style,x=null;r&&(x=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(z={...z,tableLayout:"fixed",width:"fit-content"}));let w=ze("table");var V;return o.createElement(ee,{values:[[kt,a],[_5,x],[We,{dragAndDropHooks:c,dragState:v,dropState:E}],[da,{render:Ox}]]},o.createElement(Nn,null,o.createElement(w,{..._(e),...A,...N(f,R,y==null?void 0:y.collectionProps),style:z,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":C||void 0,"data-focused":$||void 0,"data-focus-visible":T||void 0},o.createElement(d,{collection:n,scrollRef:(V=r==null?void 0:r.scrollRef)!==null&&V!==void 0?V:t,persistedKeys:Pl(p,c,E)}))),B)}function ze(e){let{isVirtualized:t}=o.useContext($e);return t?"div":e}const O5=o.createContext(null);function H5(){return o.useContext(O5)}const Mx=Oi("tableheader",(e,t)=>{let u=o.useContext(kt).collection,n=ji({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(zx,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=ze("thead"),{rowGroupProps:a}=fm(),{hoverProps:i,isHovered:l}=De({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=H({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{...N(_(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(ft,{dependencies:e.dependencies,items:e.columns},e.children));function zx({item:e}){let t=o.useRef(null),u=o.useContext(kt),{isVirtualized:n,CollectionBranch:r}=o.useContext($e),{rowProps:a}=cy({node:e,isVirtualized:n},u,t),{checkboxProps:i}=by(u),l=ze("tr");return o.createElement(l,{...a,ref:t},o.createElement(ee,{values:[[_r,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const Vx=_t("column",(e,t,u)=>{var n,r;let a=ge(t),i=o.useContext(kt),{isVirtualized:l}=o.useContext($e),{columnHeaderProps:s}=sy({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),p=o.useContext(_5),m=!1;if(p)m=p.resizingColumn===u.key;else for(let y in["width","defaultWidth","minWidth","maxWidth"])y in u.props&&console.warn(`The ${y} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:b,isHovered:h}=De({isDisabled:!e.allowsSorting}),D=H({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:h,isFocused:d,isFocusVisible:c,allowsSorting:u.props.allowsSorting,sortDirection:((n=i.sortDescriptor)===null||n===void 0?void 0:n.column)===u.key?i.sortDescriptor.direction:void 0,isResizing:m,startResize:()=>{if(p)p.startResize(u.key),i.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:y=>{i.sort(u.key,y)}}}),v=D.style;p&&(v={...v,width:p.getColumnWidth(u.key)});let E=ze("th");return o.createElement(E,{...N(_(e),s,f,b),...D,style:v,colSpan:u.colspan,ref:a,"data-hovered":h||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-resizing":m||void 0,"data-allows-sorting":u.props.allowsSorting||void 0,"data-sort-direction":((r=i.sortDescriptor)===null||r===void 0?void 0:r.column)===u.key?i.sortDescriptor.direction:void 0},o.createElement(ee,{values:[[Nx,{column:u,triggerRef:a}],[$e,tn]]},D.children))}),Nx=o.createContext(null),Lx=Oi("tablebody",(e,t)=>{let u=o.useContext(kt),{isVirtualized:n}=o.useContext($e),r=u.collection,{CollectionBranch:a}=o.useContext($e),{dragAndDropHooks:i,dropState:l}=o.useContext(We),s=!!(i!=null&&i.useDroppableCollectionState)&&!(l!=null&&l.isDisabled);var d;let f={isDropTarget:s&&!!l&&((d=l.isDropTarget({type:"root"}))!==null&&d!==void 0?d:!1),isEmpty:r.size===0},p=H({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=ze("tr"),h=ze("td"),D=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let y={},C={},B={};n?(y["aria-rowindex"]=r.headerRows.length+1,C["aria-colspan"]=D,B={display:"contents"}):C.colSpan=D,m=o.createElement(b,{role:"row",...y,style:B},o.createElement(h,{role:"rowheader",...C,style:B},e.renderEmptyState(f)))}let{rowGroupProps:v}=fm(),E=ze("tbody");return o.createElement(E,{...N(_(e),v),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(Wx,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:ca(i,l)}),m)}),jx=Oi("item",(e,t,u)=>{let n=ge(t),r=o.useContext(kt),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(We),{isVirtualized:s,CollectionBranch:d}=o.useContext($e),{rowProps:c,...f}=dy({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),{isFocusVisible:h,focusProps:D}=oe({within:!0}),{hoverProps:v,isHovered:E}=De({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:y}=my({key:u.key},r),C;i&&a&&(C=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,S=o.useRef(null),{visuallyHiddenProps:R}=su();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,S));let $=o.useRef(null);o.useEffect(()=>{i&&!$.current&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let T=i&&i.isDragging(u.key),{children:A,...k}=e,z=H({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:E,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:T,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:h}}),x=ze("tr"),w=ze("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(x,{role:"row",style:{height:0}},o.createElement(w,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...R,...B.dropIndicatorProps,ref:S}))),o.createElement(x,{...N(_(e),c,b,v,C==null?void 0:C.dragProps,D),...z,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":E||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":T||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":h||void 0},o.createElement(ee,{values:[[_r,{slots:{[gt]:{},selection:y}}],[Ue,{slots:{[gt]:{},drag:{...C==null?void 0:C.dragButtonProps,ref:$,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:r.collection,parent:u}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return o.createElement(ft,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),_x=_t("cell",(e,t,u)=>{let n=ge(t),r=o.useContext(kt),{dragState:a}=o.useContext(We),{isVirtualized:i}=o.useContext($e);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=fy({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),{hoverProps:p,isHovered:m}=De({}),b=H({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m}}),h=ze("td");return o.createElement(h,{...N(_(e),l,f,p),...b,ref:n,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-pressed":s||void 0},o.createElement($e.Provider,{value:tn},b.children))});function Ox(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(We),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(Ux,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function Hx(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(kt),{visuallyHiddenProps:l}=su(),s=H({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=ze("tr"),c=ze("td");return o.createElement(d,{..._(e),...s,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement(c,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},o.createElement("div",{...l,role:"button",...u,ref:r}),s.children))}const Ux=o.forwardRef(Hx);function Wx(){let e=o.useContext(kt),{dragAndDropHooks:t,dropState:u}=o.useContext(We),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=su(),l=ze("tr"),s=ze("td");return!a&&r["aria-hidden"]?null:o.createElement(l,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0}},o.createElement(s,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...i,...r,ref:n})))}_t("loader",function(t,u,n){let r=o.useContext(kt),{isVirtualized:a}=o.useContext($e),i=r.collection.columns.length,l=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=ze("tr"),d=ze("td"),c={},f={},p={};return a?(c["aria-rowindex"]=r.collection.headerRows.length+r.collection.size,f["aria-colspan"]=i,p={display:"contents"}):f.colSpan=i,o.createElement(o.Fragment,null,o.createElement(s,{role:"row",ref:u,...N(_(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const ma=o.createContext(null),Qu=o.createContext(null),Gx=o.forwardRef(function(t,u){[t,u]=q(t,u,ma);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(jt,{content:n},a=>o.createElement(Zx,{props:t,collection:a,tabsRef:u}))});function Zx({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=lv({...e,collection:u,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:l}=oe({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=H({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{..._(e),...a,...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":r.isDisabled||void 0},o.createElement(ee,{values:[[ma,e],[Qu,r]]},d.children))}const qx=o.forwardRef(function(t,u){return o.useContext(Qu)?o.createElement(Yx,{props:t,forwardedRef:u}):o.createElement(ft,t)});function Yx({props:e,forwardedRef:t}){let u=o.useContext(Qu),{CollectionRoot:n}=o.useContext($e),{orientation:r="horizontal",keyboardActivation:a="automatic"}=Ve(ma),i=ge(t),{tabListProps:l}=Dy({...e,orientation:r,keyboardActivation:a},u,i),s=H({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=_(e);return delete d.id,o.createElement("div",{...d,...l,ref:i,...s,"data-orientation":r||void 0},o.createElement(n,{collection:u.collection,persistedKeys:El(u.selectionManager.focusedKey)}))}const Jx=_t("item",(e,t,u)=>{let n=o.useContext(Qu),r=ge(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=hy({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=De({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=H({...e,id:void 0,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),h=u.props.href?"a":"div";return o.createElement(h,{...N(a,d,p,b),ref:r,"data-selected":i||void 0,"data-disabled":l||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":m||void 0})}),Qx=Gr(function(t,u){const n=o.useContext(Qu);let r=ge(u),{tabPanelProps:a}=$y(t,n,r),{focusProps:i,isFocused:l,isFocusVisible:s}=oe(),d=n.selectedKey===t.id,c=H({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=_(t);delete f.id;let p=d?N(f,a,i,c):c;return o.createElement("div",{...p,ref:r,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:d?void 0:"true","data-inert":d?void 0:"true"},o.createElement(ee,{values:[[ma,null],[Qu,null]]},o.createElement($e.Provider,{value:tn},c.children)))}),Xx=o.createContext(null),U5=o.createContext(null),e7=o.forwardRef(function(t,u){return[t,u]=q(t,u,Xx),o.createElement(jt,{content:t.children},n=>o.createElement(t7,{props:t,forwardedRef:u,collection:n}))});function t7({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=ct(),i=ia({...e,children:void 0,collection:u}),l=_(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=yy({...e,...s,label:a},i,n);var m;return o.createElement("div",{...l,ref:t,slot:e.slot||void 0,className:(m=e.className)!==null&&m!==void 0?m:"react-aria-TagGroup",style:e.style},o.createElement(ee,{values:[[Et,{...c,elementType:"span",ref:r}],[U5,{...d,ref:n}],[Ze,i],[Ie,{slots:{description:f,errorMessage:p}}]]},e.children))}const u7=o.forwardRef(function(t,u){return o.useContext(Ze)?o.createElement(n7,{props:t,forwardedRef:u}):o.createElement(ft,t)});function n7({props:e,forwardedRef:t}){let u=o.useContext(Ze),{CollectionRoot:n}=o.useContext($e),[r,a]=q(e,t,U5);delete r.items,delete r.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=oe(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=H({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=El(u.selectionManager.focusedKey);return o.createElement("div",{...N(r,i),...c,ref:a,"data-empty":u.collection.size===0||void 0,"data-focused":l||void 0,"data-focus-visible":s||void 0},u.collection.size===0&&e.renderEmptyState?e.renderEmptyState(d):o.createElement(n,{collection:u.collection,persistedKeys:f}))}const r7=_t("item",(e,t,u)=>{let n=o.useContext(Ze),r=ge(t),{focusProps:a,isFocusVisible:i}=oe({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=xy({item:u},n,r),{hoverProps:f,isHovered:p}=De({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=H({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:i,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return o.useEffect(()=>{u.textValue||console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[u.textValue]),o.createElement("div",{ref:r,...m,...N(_(e),l,a,f),"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":i||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},o.createElement("div",{...s,style:{display:"contents"}},o.createElement(ee,{values:[[Ue,{slots:{remove:d}}],[$e,tn]]},m.children)))}),Kl=o.createContext(null),W5=o.createContext(null);function a7(e){let t=jb(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=Ey(e,t,u);return o.createElement(ee,{values:[[Kl,t],[W5,{...r,triggerRef:u}]]},o.createElement(zg,{...n,ref:u},e.children))}const i7=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=q(u,n,W5);let r=o.useContext(Kl),a=jb(u),i=u.isOpen!=null||u.defaultOpen!=null||!r?a:r,l=ks(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(H2,{portalContainer:t},o.createElement(l7,{...u,tooltipRef:n,isExiting:l}))});function l7(e){let t=o.useContext(Kl),u=o.useRef(null),[n,r]=o.useState(0);Y(()=>{u.current&&t.isOpen&&r(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:a,arrowProps:i,placement:l}=m3({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),s=Bs(e.tooltipRef,!!l)||e.isEntering||!1,d=H({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=N(e,a);let{tooltipProps:c}=Cy(e,t);return o.createElement("div",{...c,ref:e.tooltipRef,...d,style:{...a.style,...d.style},"data-placement":l??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},o.createElement(Sl.Provider,{value:{...i,placement:l,ref:u}},d.children))}const o7=({variant:e="uncontained",type:t="single",children:u,className:n,...r})=>g.jsx(ix,{allowsMultipleExpanded:t==="multiple",className:W(Xe.root,e==="contained"?Xe.contained:Xe.uncontained,n),...r,children:u}),s7='"../theme/tokens.css"',d7="#143c50",c7="#25607f",f7="#4289ad",p7='"Inter", sans-serif',m7="1rem",b7="500",h7="#ffffff",$7="#bfbfbf",g7="#f2f2f2",D7="#e6e6e6",y7="#000000",v7="undefined",x7="(max-width: 767px)",C7="0 0 0 2px #ffffff, 0 0 0 4px #000000",E7="#e62323",B7="#b31b1b",k7="#801313",P7="_button_r914l_4",S7="_primary_r914l_41",A7="_secondary_r914l_47",w7="_tertiary_r914l_71",F7="_iconBtn_r914l_93",T7="_danger_r914l_114",R7="_iconRight_r914l_136",I7="_fullwidth_r914l_140",K7="_small_r914l_144",wt={tokens:s7,blue150:d7,blue130:c7,blue90:f7,display:p7,desktopSize:m7,mediumWeight:b7,white:h7,gray50:$7,gray10:g7,gray20:D7,black:y7,medium:v7,smBreakpoint:x7,focus:C7,signalRed100:E7,signalRed130:B7,signalRed150:k7,button:P7,primary:S7,secondary:A7,tertiary:w7,iconBtn:F7,danger:T7,iconRight:R7,fullwidth:I7,small:K7},Ne=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r,icon:a,iconSize:i,...l})=>{const s=r==="small"?14:i||20;return g.jsx(dt,{className:W(wt.button,e==="primary"&&wt.primary,e==="secondary"&&wt.secondary,e==="tertiary"&&wt.tertiary,e==="danger"&&wt.danger,e==="icon"&&wt.iconBtn,t&&wt.fullwidth,r==="small"&&wt.small,n==="right"&&wt.iconRight,u),...l,children:g.jsxs(g.Fragment,{children:[a&&g.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},M7='"../theme/tokens.css"',z7="(max-width: 767px)",V7="_buttonGroup_5pd8y_4",N7={tokens:M7,smBreakpoint:z7,buttonGroup:V7},L7=({children:e,className:t,"aria-label":u,...n})=>g.jsx("div",{role:"group","aria-label":u,className:W(N7.buttonGroup,t),...n,children:e});/**
17
+ */var Wl;function Q$(){return Wl||(Wl=1,process.env.NODE_ENV!=="production"&&function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){c||r.startTransition===void 0||(c=!0,console.error("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 h=b();if(!f){var D=b();a(h,D)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}D=i({inst:{value:h,getSnapshot:b}});var v=D[0].inst,E=D[1];return s(function(){v.value=h,v.getSnapshot=b,u(v)&&E({inst:v})},[m,h,b]),l(function(){return u(v)&&E({inst:v}),m(function(){u(v)&&E({inst:v})})},[m]),d(h),h}function u(m){var b=m.getSnapshot;m=m.value;try{var h=b();return!a(m,h)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=o,a=typeof Object.is=="function"?Object.is:e,i=r.useState,l=r.useEffect,s=r.useLayoutEffect,d=r.useDebugValue,c=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Da.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Da}process.env.NODE_ENV==="production"?Ja.exports=J$():Ja.exports=Q$();var _i=Ja.exports;const As=o.createContext(!1),En=o.createContext(null);function Nt(e){if(o.useContext(En))return e.content;let{collection:u,document:n}=ug(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(q$,null,o.createElement(En.Provider,{value:n},e.content)),o.createElement(X$,{render:e.children,collection:u}))}function X$({collection:e,render:t}){return t(e)}function eg(e,t,u){let n=zt(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return _i.useSyncExternalStore(e,a)}const tg=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:eg;function ug(e){let[t]=o.useState(()=>new G$((e==null?void 0:e())||new Ur)),u=o.useCallback(i=>t.subscribe(i),[t]),n=o.useCallback(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),r=o.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),a=tg(u,n,r);return q(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const Qa=o.createContext(null);function ws(e,t,u,n,r,a){let i=o.useCallback(s=>{s==null||s.setProps(t,u,n,a)},[t,u,n,a]),l=o.useContext(Qa);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e),s.setProps(t,u,n,a),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),r?o.createElement(Qa.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function Lt(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{if(!o.useContext(As)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return ws(e,r,a,"children"in r?r.children:null,null,l=>o.createElement(u,{node:l}))});return n.displayName=t.name,n}function Oi(e,t,u=Fs){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=ws(e,a,i,null,l,d=>o.createElement(n,{node:d})))!==null&&s!==void 0?s:o.createElement(o.Fragment,null)});return r.displayName=t.name,r}function Fs(e){return ji({...e,addIdAndValue:!0})}const Gl=o.createContext(null);function ct(e){let t=o.useContext(Gl),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=Fs({...e,idScope:n,dependencies:u});return o.useContext(En)&&(r=o.createElement(ng,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(Gl.Provider,{value:t},r)}function ng({children:e}){let t=o.useContext(En),u=o.useMemo(()=>o.createElement(En.Provider,{value:null},o.createElement(As.Provider,{value:!0},e)),[e]);return zt()?o.createElement(Qa.Provider,{value:t},u):au.createPortal(u,t)}const jt=o.createContext({}),Ts=Wr(function(t,u){[t,u]=Y(t,u,jt);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})});let ju="default",Xa="",fr=new WeakMap;function Zl(e){if(Kn()){if(ju==="default"){const t=fe(e);Xa=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ju="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(fr.set(e,e.style.userSelect),e.style.userSelect="none")}function qn(e){if(Kn()){if(ju!=="disabled")return;ju="restoring",setTimeout(()=>{vs(()=>{if(ju==="restoring"){const t=fe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Xa||""),Xa="",ju="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&fr.has(e)){let t=fr.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),fr.delete(e)}}const Bn=o.createContext({register:()=>{}});Bn.displayName="PressResponderContext";function rg(e,t){return t.get?t.get.call(e):t.value}function Rs(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function ag(e,t){var u=Rs(e,t,"get");return rg(e,u)}function ig(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zn(e,t,u){ig(e,t),t.set(e,u)}function lg(e,t,u){if(t.set)t.set.call(e,u);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=u}}function ql(e,t,u){var n=Rs(e,t,"set");return lg(e,n,u),u}function og(e){let t=o.useContext(Bn);if(t){let{register:u,...n}=t;e=N(n,e),u()}return Li(t,e.ref),e}var Yn=new WeakMap;class Jn{continuePropagation(){ql(this,Yn,!1)}get shouldStopPropagation(){return ag(this,Yn)}constructor(t,u,n,r){zn(this,Yn,{writable:!0,value:void 0}),ql(this,Yn,!0);var a;let i=(a=r==null?void 0:r.target)!==null&&a!==void 0?a:n.currentTarget;const l=i==null?void 0:i.getBoundingClientRect();let s,d=0,c,f=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,f=n.clientY),l&&(c!=null&&f!=null?(s=c-l.left,d=f-l.top):(s=l.width/2,d=l.height/2)),this.type=t,this.pointerType=u,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=d}}const Yl=Symbol("linkClicked");function We(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:r,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=og(e),[m,b]=o.useState(!1),h=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:D,removeAllGlobalListeners:v}=Ni(),E=ae(($,T)=>{let A=h.current;if(i||A.didFirePressStart)return!1;let k=!0;if(A.isTriggeringEvent=!0,n){let z=new Jn("pressstart",T,$);n(z),k=z.shouldStopPropagation}return u&&u(!0),A.isTriggeringEvent=!1,A.didFirePressStart=!0,b(!0),k}),y=ae(($,T,A=!0)=>{let k=h.current;if(!k.didFirePressStart)return!1;k.ignoreClickAfterPress=!0,k.didFirePressStart=!1,k.isTriggeringEvent=!0;let z=!0;if(r){let x=new Jn("pressend",T,$);r(x),z=x.shouldStopPropagation}if(u&&u(!1),b(!1),t&&A&&!i){let x=new Jn("press",T,$);t(x),z&&(z=x.shouldStopPropagation)}return k.isTriggeringEvent=!1,z}),C=ae(($,T)=>{let A=h.current;if(i)return!1;if(a){A.isTriggeringEvent=!0;let k=new Jn("pressup",T,$);return a(k),A.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ae($=>{let T=h.current;T.isPressed&&T.target&&(T.isOverTarget&&T.pointerType!=null&&y(kt(T.target,$),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,v(),c||qn(T.target))}),S=ae($=>{d&&B($)}),R=o.useMemo(()=>{let $=h.current,T={onKeyDown(k){if(ya(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)){var z;Ql(k.target,k.key)&&k.preventDefault();let x=!0;if(!$.isPressed&&!k.repeat){$.target=k.currentTarget,$.isPressed=!0,x=E(k,"keyboard");let w=k.currentTarget,V=F=>{ya(F,w)&&!F.repeat&&w.contains(F.target)&&$.target&&C(kt($.target,F),"keyboard")};D(fe(k.currentTarget),"keyup",at(V,A),!0)}x&&k.stopPropagation(),k.metaKey&&gt()&&((z=$.metaKeyEvents)===null||z===void 0||z.set(k.key,k.nativeEvent))}else k.key==="Meta"&&($.metaKeyEvents=new Map)},onClick(k){if(!(k&&!k.currentTarget.contains(k.target))&&k&&k.button===0&&!$.isTriggeringEvent&&!Qt.isOpening){let z=!0;if(i&&k.preventDefault(),!$.ignoreClickAfterPress&&!$.ignoreEmulatedMouseEvents&&!$.isPressed&&($.pointerType==="virtual"||qa(k.nativeEvent))){!i&&!s&&Oe(k.currentTarget);let x=E(k,"virtual"),w=C(k,"virtual"),V=y(k,"virtual");z=x&&w&&V}$.ignoreEmulatedMouseEvents=!1,$.ignoreClickAfterPress=!1,z&&k.stopPropagation()}}},A=k=>{var z;if($.isPressed&&$.target&&ya(k,$.target)){var x;Ql(k.target,k.key)&&k.preventDefault();let V=k.target;y(kt($.target,k),"keyboard",$.target.contains(V)),v(),k.key!=="Enter"&&Hi($.target)&&$.target.contains(V)&&!k[Yl]&&(k[Yl]=!0,Qt($.target,k,!1)),$.isPressed=!1,(x=$.metaKeyEvents)===null||x===void 0||x.delete(k.key)}else if(k.key==="Meta"&&(!((z=$.metaKeyEvents)===null||z===void 0)&&z.size)){var w;let V=$.metaKeyEvents;$.metaKeyEvents=void 0;for(let F of V.values())(w=$.target)===null||w===void 0||w.dispatchEvent(new KeyboardEvent("keyup",F))}};if(typeof PointerEvent<"u"){T.onPointerDown=w=>{if(w.button!==0||!w.currentTarget.contains(w.target))return;if(H$(w.nativeEvent)){$.pointerType="virtual";return}xa(w.currentTarget)&&w.preventDefault(),$.pointerType=w.pointerType;let V=!0;if(!$.isPressed){$.isPressed=!0,$.isOverTarget=!0,$.activePointerId=w.pointerId,$.target=w.currentTarget,!i&&!s&&Oe(w.currentTarget),c||Zl($.target),V=E(w,$.pointerType);let F=w.target;"releasePointerCapture"in F&&F.releasePointerCapture(w.pointerId),D(fe(w.currentTarget),"pointerup",k,!1),D(fe(w.currentTarget),"pointercancel",x,!1)}V&&w.stopPropagation()},T.onMouseDown=w=>{w.currentTarget.contains(w.target)&&w.button===0&&(xa(w.currentTarget)&&w.preventDefault(),w.stopPropagation())},T.onPointerUp=w=>{!w.currentTarget.contains(w.target)||$.pointerType==="virtual"||w.button===0&&C(w,$.pointerType||w.pointerType)},T.onPointerEnter=w=>{w.pointerId===$.activePointerId&&$.target&&!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,E(kt($.target,w),$.pointerType))},T.onPointerLeave=w=>{w.pointerId===$.activePointerId&&$.target&&$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,y(kt($.target,w),$.pointerType,!1),S(w))};let k=w=>{w.pointerId===$.activePointerId&&$.isPressed&&w.button===0&&$.target&&($.target.contains(w.target)&&$.pointerType!=null?y(kt($.target,w),$.pointerType):$.isOverTarget&&$.pointerType!=null&&y(kt($.target,w),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,v(),c||qn($.target),"ontouchend"in $.target&&w.pointerType!=="mouse"&&D($.target,"touchend",z,{once:!0}))},z=w=>{Is(w.currentTarget)&&w.preventDefault()},x=w=>{B(w)};T.onDragStart=w=>{w.currentTarget.contains(w.target)&&B(w)}}else{T.onMouseDown=x=>{if(x.button!==0||!x.currentTarget.contains(x.target))return;if(xa(x.currentTarget)&&x.preventDefault(),$.ignoreEmulatedMouseEvents){x.stopPropagation();return}$.isPressed=!0,$.isOverTarget=!0,$.target=x.currentTarget,$.pointerType=qa(x.nativeEvent)?"virtual":"mouse",!i&&!s&&Oe(x.currentTarget),E(x,$.pointerType)&&x.stopPropagation(),D(fe(x.currentTarget),"mouseup",k,!1)},T.onMouseEnter=x=>{if(!x.currentTarget.contains(x.target))return;let w=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!0,w=E(x,$.pointerType)),w&&x.stopPropagation()},T.onMouseLeave=x=>{if(!x.currentTarget.contains(x.target))return;let w=!0;$.isPressed&&!$.ignoreEmulatedMouseEvents&&$.pointerType!=null&&($.isOverTarget=!1,w=y(x,$.pointerType,!1),S(x)),w&&x.stopPropagation()},T.onMouseUp=x=>{x.currentTarget.contains(x.target)&&!$.ignoreEmulatedMouseEvents&&x.button===0&&C(x,$.pointerType||"mouse")};let k=x=>{if(x.button===0){if($.isPressed=!1,v(),$.ignoreEmulatedMouseEvents){$.ignoreEmulatedMouseEvents=!1;return}$.target&&va(x,$.target)&&$.pointerType!=null?y(kt($.target,x),$.pointerType):$.target&&$.isOverTarget&&$.pointerType!=null&&y(kt($.target,x),$.pointerType,!1),$.isOverTarget=!1}};T.onTouchStart=x=>{if(!x.currentTarget.contains(x.target))return;let w=sg(x.nativeEvent);if(!w)return;$.activePointerId=w.identifier,$.ignoreEmulatedMouseEvents=!0,$.isOverTarget=!0,$.isPressed=!0,$.target=x.currentTarget,$.pointerType="touch",!i&&!s&&Oe(x.currentTarget),c||Zl($.target),E(Ot($.target,x),$.pointerType)&&x.stopPropagation(),D(ut(x.currentTarget),"scroll",z,!0)},T.onTouchMove=x=>{if(!x.currentTarget.contains(x.target))return;if(!$.isPressed){x.stopPropagation();return}let w=Jl(x.nativeEvent,$.activePointerId),V=!0;w&&va(w,x.currentTarget)?!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,V=E(Ot($.target,x),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,V=y(Ot($.target,x),$.pointerType,!1),S(Ot($.target,x))),V&&x.stopPropagation()},T.onTouchEnd=x=>{if(!x.currentTarget.contains(x.target))return;if(!$.isPressed){x.stopPropagation();return}let w=Jl(x.nativeEvent,$.activePointerId),V=!0;w&&va(w,x.currentTarget)&&$.pointerType!=null?(C(Ot($.target,x),$.pointerType),V=y(Ot($.target,x),$.pointerType)):$.isOverTarget&&$.pointerType!=null&&(V=y(Ot($.target,x),$.pointerType,!1)),V&&x.stopPropagation(),$.isPressed=!1,$.activePointerId=null,$.isOverTarget=!1,$.ignoreEmulatedMouseEvents=!0,$.target&&!c&&qn($.target),v()},T.onTouchCancel=x=>{x.currentTarget.contains(x.target)&&(x.stopPropagation(),$.isPressed&&B(Ot($.target,x)))};let z=x=>{$.isPressed&&x.target.contains($.target)&&B({currentTarget:$.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};T.onDragStart=x=>{x.currentTarget.contains(x.target)&&B(x)}}return T},[D,i,s,v,c,B,S,y,E,C]);return o.useEffect(()=>()=>{var $;c||qn(($=h.current.target)!==null&&$!==void 0?$:void 0)},[c]),{isPressed:l||m,pressProps:N(p,R)}}function Hi(e){return e.tagName==="A"&&e.hasAttribute("href")}function ya(e,t){const{key:u,code:n}=e,r=t,a=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof ut(r).HTMLInputElement&&!Ks(r,u)||r instanceof ut(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&Hi(r))&&u!=="Enter")}function sg(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Jl(e,t){const u=e.changedTouches;for(let n=0;n<u.length;n++){const r=u[n];if(r.identifier===t)return r}return null}function Ot(e,t){let u=0,n=0;return t.targetTouches&&t.targetTouches.length===1&&(u=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function kt(e,t){let u=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function dg(e){let t=0,u=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?u=e.height/2:e.radiusY!==void 0&&(u=e.radiusY),{top:e.clientY-u,right:e.clientX+t,bottom:e.clientY+u,left:e.clientX-t}}function cg(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function va(e,t){let u=t.getBoundingClientRect(),n=dg(e);return cg(u,n)}function xa(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Is(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Hi(e)}function Ql(e,t){return e instanceof HTMLInputElement?!Ks(e,t):Is(e)}const fg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ks(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":fg.has(e.type)}const Ui=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(Bn);u=ge(u||(r==null?void 0:r.ref));let a=N(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return Li(r,u),o.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)},[]),o.createElement(Bn.Provider,{value:a},e)});function pg({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(Bn.Provider,{value:t},e)}class mg{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,u){this.nativeEvent=u,this.target=u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget,this.bubbles=u.bubbles,this.cancelable=u.cancelable,this.defaultPrevented=u.defaultPrevented,this.eventPhase=u.eventPhase,this.isTrusted=u.isTrusted,this.timeStamp=u.timeStamp,this.type=t}}function Ms(e){let t=o.useRef({isFocused:!1,observer:null});q(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let u=ae(n=>{e==null||e(n)});return o.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target,a=i=>{t.current.isFocused=!1,r.disabled&&u(new mg("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[u])}function Gr(e){let{isDisabled:t,onFocus:u,onBlur:n,onFocusChange:r}=e;const a=o.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),r&&r(!1),!0},[n,r]),i=Ms(a),l=o.useCallback(s=>{const d=fe(s.target);s.target===s.currentTarget&&d.activeElement===s.target&&(u&&u(s),r&&r(!0),i(s))},[r,u,i]);return{focusProps:{onFocus:!t&&(u||r||n)?l:void 0,onBlur:!t&&(n||r)?a:void 0}}}let Mt=null,kn=new Set,hn=new Map,Cu=!1,ei=!1;const bg={Tab:!0,Escape:!0};function Zr(e,t){for(let u of kn)u(e,t)}function hg(e){return!(e.metaKey||!gt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Dr(e){Cu=!0,hg(e)&&(Mt="keyboard",Zr("keyboard",e))}function tt(e){Mt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Cu=!0,Zr("pointer",e))}function zs(e){qa(e)&&(Cu=!0,Mt="virtual")}function Vs(e){e.target===window||e.target===document||(!Cu&&!ei&&(Mt="virtual",Zr("virtual",e)),Cu=!1,ei=!1)}function Ns(){Cu=!1,ei=!0}function yr(e){if(typeof window>"u"||hn.get(ut(e)))return;const t=ut(e),u=fe(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Cu=!0,n.apply(this,arguments)},u.addEventListener("keydown",Dr,!0),u.addEventListener("keyup",Dr,!0),u.addEventListener("click",zs,!0),t.addEventListener("focus",Vs,!0),t.addEventListener("blur",Ns,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",tt,!0),u.addEventListener("pointermove",tt,!0),u.addEventListener("pointerup",tt,!0)):(u.addEventListener("mousedown",tt,!0),u.addEventListener("mousemove",tt,!0),u.addEventListener("mouseup",tt,!0)),t.addEventListener("beforeunload",()=>{Ls(e)},{once:!0}),hn.set(t,{focus:n})}const Ls=(e,t)=>{const u=ut(e),n=fe(e);t&&n.removeEventListener("DOMContentLoaded",t),hn.has(u)&&(u.HTMLElement.prototype.focus=hn.get(u).focus,n.removeEventListener("keydown",Dr,!0),n.removeEventListener("keyup",Dr,!0),n.removeEventListener("click",zs,!0),u.removeEventListener("focus",Vs,!0),u.removeEventListener("blur",Ns,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",tt,!0),n.removeEventListener("pointermove",tt,!0),n.removeEventListener("pointerup",tt,!0)):(n.removeEventListener("mousedown",tt,!0),n.removeEventListener("mousemove",tt,!0),n.removeEventListener("mouseup",tt,!0)),hn.delete(u))};function $g(e){const t=fe(e);let u;return t.readyState!=="loading"?yr(e):(u=()=>{yr(e)},t.addEventListener("DOMContentLoaded",u)),()=>Ls(e,u)}typeof document<"u"&&$g();function eu(){return Mt!=="pointer"}function tu(){return Mt}function js(e){Mt=e,Zr(e,null)}function Wi(){yr();let[e,t]=o.useState(Mt);return o.useEffect(()=>{let u=()=>{t(Mt)};return kn.add(u),()=>{kn.delete(u)}},[]),zt()?null:e}const gg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Dg(e,t,u){var n;const r=typeof window<"u"?ut(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?ut(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?ut(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?ut(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||(u==null?void 0:u.target)instanceof r&&!gg.has(u==null||(n=u.target)===null||n===void 0?void 0:n.type)||(u==null?void 0:u.target)instanceof a||(u==null?void 0:u.target)instanceof i&&(u==null?void 0:u.target.isContentEditable),!(e&&t==="keyboard"&&u instanceof l&&!bg[u.key])}function yg(e,t,u){yr(),o.useEffect(()=>{let n=(r,a)=>{Dg(!!(u!=null&&u.isTextInput),r,a)&&e(eu())};return kn.add(n),()=>{kn.delete(n)}},t)}function ft(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,a=o.useRef({isFocusWithin:!1}),i=o.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,u&&u(d),r&&r(!1))},[u,r,a]),l=Ms(i),s=o.useCallback(d=>{!a.current.isFocusWithin&&document.activeElement===d.target&&(n&&n(d),r&&r(!0),a.current.isFocusWithin=!0,l(d))},[n,r,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:i}}}let vr=!1,Ca=0;function ti(){vr=!0,setTimeout(()=>{vr=!1},50)}function Xl(e){e.pointerType==="touch"&&ti()}function vg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Xl):document.addEventListener("touchend",ti),Ca++,()=>{Ca--,!(Ca>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Xl):document.removeEventListener("touchend",ti))}}function De(e){let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,isDisabled:r}=e,[a,i]=o.useState(!1),l=o.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;o.useEffect(vg,[]);let{hoverProps:s,triggerHoverEnd:d}=o.useMemo(()=>{let c=(m,b)=>{if(l.pointerType=b,r||b==="touch"||l.isHovered||!m.currentTarget.contains(m.target))return;l.isHovered=!0;let h=m.currentTarget;l.target=h,t&&t({type:"hoverstart",target:h,pointerType:b}),u&&u(!0),i(!0)},f=(m,b)=>{if(l.pointerType="",l.target=null,b==="touch"||!l.isHovered)return;l.isHovered=!1;let h=m.currentTarget;n&&n({type:"hoverend",target:h,pointerType:b}),u&&u(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{vr&&m.pointerType==="mouse"||c(m,m.pointerType)},p.onPointerLeave=m=>{!r&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!l.ignoreEmulatedMouseEvents&&!vr&&c(m,"mouse"),l.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!r&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,u,n,r,l]);return o.useEffect(()=>{r&&d({currentTarget:l.target},l.pointerType)},[r]),{hoverProps:s,isHovered:a}}function xg(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ae(s=>{u&&Qn(s,t)&&(r&&r(s),a.current.isPointerDown=!0)}),l=ae(s=>{u&&u(s)});o.useEffect(()=>{let s=a.current;if(n)return;const d=t.current,c=fe(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Qn(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=m=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Qn(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Qn(m,t)&&l(m),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 Qn(e,t){if(e.button>0)return!1;if(e.target){const u=e.target.ownerDocument;if(!u||!u.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function eo(e){if(!e)return;let t=!0;return u=>{let n={...u,preventDefault(){u.preventDefault()},isDefaultPrevented(){return u.isDefaultPrevented()},stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(n),t&&u.stopPropagation()}}function _s(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:eo(e.onKeyDown),onKeyUp:eo(e.onKeyUp)}}}const Cg=500;function Os(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=Cg,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=Ni(),{pressProps:c}=We({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(u&&u({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),r&&r({...p,type:"longpress"}),l.current=void 0},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};s(p.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=vt(r&&!t?i:void 0);return{longPressProps:N(c,f)}}function xe(e){const t=fe(e);if(tu()==="virtual"){let u=t.activeElement;vs(()=>{t.activeElement===u&&e.isConnected&&Oe(e)})}else Oe(e)}function Eg(e){const t=ut(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:u,visibility:n}=e.style,r=u!=="none"&&n!=="hidden"&&n!=="collapse";if(r){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:l}=a(e);r=i!=="none"&&l!=="hidden"&&l!=="collapse"}return r}function Bg(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 Hs(e,t){return e.nodeName!=="#comment"&&Eg(e)&&Bg(e,t)&&(!e.parentElement||Hs(e.parentElement,e))}const to=o.createContext(null),ui="react-aria-focus-scope-restore";let ce=null;function Vn(e){let{children:t,contain:u,restoreFocus:n,autoFocus:r}=e,a=o.useRef(null),i=o.useRef(null),l=o.useRef([]),{parentNode:s}=o.useContext(to)||{},d=o.useMemo(()=>new ri({scopeRef:l}),[l]);q(()=>{let p=s||Be.root;if(Be.getTreeNode(p.scopeRef)&&ce&&!xr(ce,p.scopeRef)){let m=Be.getTreeNode(ce);m&&(p=m)}p.addChild(d),Be.addNode(d)},[d,s]),q(()=>{let p=Be.getTreeNode(l);p&&(p.contain=!!u)},[u]),q(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],h=D=>D.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(ui,h),m=m.nextSibling;return l.current=b,()=>{for(let D of b)D.removeEventListener(ui,h)}},[t]),Tg(l,n,u),Ag(l,u),Rg(l,n,u),Fg(l,r),o.useEffect(()=>{const p=fe(l.current?l.current[0]:void 0).activeElement;let m=null;if(it(p,l.current)){for(let b of Be.traverse())b.scopeRef&&it(p,b.scopeRef.current)&&(m=b);m===Be.getTreeNode(l)&&(ce=m.scopeRef)}},[l]),q(()=>()=>{var p,m,b;let h=(b=(m=Be.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===ce||xr(l,ce))&&(!h||Be.getTreeNode(h))&&(ce=h),Be.removeTreeNode(l)},[l]);let c=o.useMemo(()=>kg(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(to.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function kg(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||fe(u[0]).activeElement,s=u[0].previousElementSibling,d=gu(u),c=Pe(d,{tabbable:r,accept:i},u);c.currentNode=it(l,u)?l:s;let f=c.nextNode();return!f&&a&&(c.currentNode=s,f=c.nextNode()),f&&_e(f,!0),f},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||fe(u[0]).activeElement,s=u[u.length-1].nextElementSibling,d=gu(u),c=Pe(d,{tabbable:r,accept:i},u);c.currentNode=it(l,u)?l:s;let f=c.previousNode();return!f&&a&&(c.currentNode=s,f=c.previousNode()),f&&_e(f,!0),f},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=gu(u),i=Pe(a,{tabbable:n,accept:r},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&_e(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=gu(u),i=Pe(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&_e(l,!0),l}}}const Gi=["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]:not([contenteditable^="false"])'],Us=Gi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Gi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Pg=Gi.join(':not([hidden]):not([tabindex="-1"]),');function Sg(e){return e.matches(Us)}function gu(e){return e[0].parentElement}function cn(e){let t=Be.getTreeNode(ce);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Ag(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);q(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=fe(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!cn(e)||d.isComposing)return;let c=a.activeElement,f=e.current;if(!f||!it(c,f))return;let p=gu(f),m=Pe(p,{tabbable:!0},f);if(!c)return;m.currentNode=c;let b=d.shiftKey?m.previousNode():m.nextNode();b||(m.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,b=d.shiftKey?m.previousNode():m.nextNode()),d.preventDefault(),b&&_e(b,!0)},l=d=>{(!ce||xr(ce,e))&&it(d.target,e.current)?(ce=e,u.current=d.target):cn(e)&&!qt(d.target,e)?u.current?u.current.focus():ce&&ce.current&&ni(ce.current):cn(e)&&(u.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=tu();if(!((c==="virtual"||c===null)&&yn()&&hs())&&a.activeElement&&cn(e)&&!qt(a.activeElement,e))if(ce=e,a.body.contains(d.target)){var p;u.current=d.target,(p=u.current)===null||p===void 0||p.focus()}else ce.current&&ni(ce.current)})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",l,!1),r==null||r.forEach(d=>d.addEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",l,!1),r==null||r.forEach(d=>d.removeEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),q(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Ws(e){return qt(e)}function it(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function qt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Be.traverse(Be.getTreeNode(t)))if(u&&it(e,u.current))return!0;return!1}function wg(e){return qt(e,ce)}function xr(e,t){var u;let n=(u=Be.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function _e(e,t=!1){if(e!=null&&!t)try{xe(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Gs(e,t=!0){let u=e[0].previousElementSibling,n=gu(e),r=Pe(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=gu(e),r=Pe(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function ni(e,t=!0){_e(Gs(e,t))}function Fg(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){ce=e;const n=fe(e.current?e.current[0]:void 0);!it(n.activeElement,ce.current)&&e.current&&ni(e.current)}u.current=!1},[e])}function Tg(e,t,u){q(()=>{if(t||u)return;let n=e.current;const r=fe(n?n[0]:void 0);let a=i=>{let l=i.target;it(l,e.current)?ce=e:Ws(l)||(ce=null)};return r.addEventListener("focusin",a,!1),n==null||n.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{r.removeEventListener("focusin",a,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,u])}function uo(e){let t=Be.getTreeNode(ce);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Rg(e,t,u){const n=o.useRef(typeof document<"u"?fe(e.current?e.current[0]:void 0).activeElement:null);q(()=>{let r=e.current;const a=fe(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!ce||xr(ce,e))&&it(a.activeElement,e.current)&&(ce=e)};return a.addEventListener("focusin",i,!1),r==null||r.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),r==null||r.forEach(l=>l.removeEventListener("focusin",i,!1))}},[e,u]),q(()=>{const r=fe(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!cn(e)||i.isComposing)return;let l=r.activeElement;if(!qt(l,e)||!uo(e))return;let s=Be.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=Pe(r.body,{tabbable:!0});c.currentNode=l;let f=i.shiftKey?c.previousNode():c.nextNode();if((!d||!r.body.contains(d)||d===r.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!qt(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(qt(f,e));i.preventDefault(),i.stopPropagation(),f?_e(f,!0):Ws(d)?_e(d,!0):l.blur()}};return u||r.addEventListener("keydown",a,!0),()=>{u||r.removeEventListener("keydown",a,!0)}},[e,t,u]),q(()=>{const r=fe(e.current?e.current[0]:void 0);if(!t)return;let a=Be.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Be.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(r.activeElement&&qt(r.activeElement,e)||r.activeElement===r.body&&uo(e))){let d=Be.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){no(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Be.getTreeNode(c.scopeRef)){let f=Gs(c.scopeRef.current,!0);no(f);return}c=c.parent}}})}}}},[e,t])}function no(e){e.dispatchEvent(new CustomEvent(ui,{bubbles:!0,cancelable:!0}))&&_e(e)}function Pe(e,t,u){let n=t!=null&&t.tabbable?Pg:Us,r=fe(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(n)&&Hs(a)&&(!u||it(a,u))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(r.currentNode=t.from),r}function qr(e,t={}){return{focusNext(u={}){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||fe(n).activeElement,d=Pe(n,{tabbable:a,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&i&&(d.currentNode=n,c=d.nextNode()),c&&_e(c,!0),c},focusPrevious(u=t){let n=e.current;if(!n)return null;let{from:r,tabbable:a=t.tabbable,wrap:i=t.wrap,accept:l=t.accept}=u,s=r||fe(n).activeElement,d=Pe(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=Ea(d);return f&&_e(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=Ea(d);if(!f)return null;c=f}return c&&_e(c,!0),c??null},focusFirst(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,l=Pe(n,{tabbable:r,accept:a}).nextNode();return l&&_e(l,!0),l},focusLast(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:a=t.accept}=u,i=Pe(n,{tabbable:r,accept:a}),l=Ea(i);return l&&_e(l,!0),l??null}}}function Ea(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Zi{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,u,n){let r=this.fastMap.get(u??null);if(!r)return;let a=new ri({scopeRef:t});r.addChild(a),a.parent=r,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let u=this.fastMap.get(t);if(!u)return;let n=u.parent;for(let a of this.traverse())a!==u&&u.nodeToRestore&&a.nodeToRestore&&u.scopeRef&&u.scopeRef.current&&it(a.nodeToRestore,u.scopeRef.current)&&(a.nodeToRestore=u.nodeToRestore);let r=u.children;n&&(n.removeChild(u),r.size>0&&r.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(u.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let u of t.children)yield*this.traverse(u)}clone(){var t;let u=new Zi;var n;for(let r of this.traverse())u.addTreeNode(r.scopeRef,(n=(t=r.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,r.nodeToRestore);return u}constructor(){this.fastMap=new Map,this.root=new ri({scopeRef:null}),this.fastMap.set(null,this.root)}}class ri{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 Be=new Zi;function oe(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||eu()}),[a,i]=o.useState(!1),[l,s]=o.useState(()=>r.current.isFocused&&r.current.isFocusVisible),d=o.useCallback(()=>s(r.current.isFocused&&r.current.isFocusVisible),[]),c=o.useCallback(m=>{r.current.isFocused=m,i(m),d()},[d]);yg(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=Gr({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=ft({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}let Zs=o.createContext(null);function Ig(e){let t=o.useContext(Zs)||{};Li(t,e);let{ref:u,...n}=t;return n}const Kg=o.forwardRef(function(t,u){let{children:n,...r}=t,a=ge(u),i={...r,ref:a};return o.createElement(Zs.Provider,{value:i},n)});function Su(e,t){let{focusProps:u}=Gr(e),{keyboardProps:n}=_s(e),r=N(u,n),a=Ig(t),i=e.isDisabled?{}:a,l=o.useRef(e.autoFocus);return o.useEffect(()=>{l.current&&t.current&&xe(t.current),l.current=!1},[t]),{focusableProps:N({...r,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function qi(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return q(()=>{if(e!=null&&e.current&&!u){let a=()=>{if(e.current){let l=Pe(e.current,{tabbable:!0});r(!!l.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),u?!1:n}function Mg(e,t){let{elementType:u="a",onPress:n,onPressStart:r,onPressEnd:a,onClick:i,isDisabled:l,...s}=e,d={};u!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=Su(e,t),{pressProps:f,isPressed:p}=We({onPress:n,onPressStart:r,onPressEnd:a,isDisabled:l,ref:t}),m=_(s,{labelable:!0}),b=N(c,f),h=Pu(),D=Hr(e);return{isPressed:p,linkProps:N(m,D,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:v=>{var E;(E=f.onClick)===null||E===void 0||E.call(f,v),i&&(i(v),console.warn("onClick is deprecated, please use onPress")),!h.isNative&&v.currentTarget instanceof HTMLAnchorElement&&v.currentTarget.href&&!v.isDefaultPrevented()&&Ds(v.currentTarget,v)&&e.href&&(v.preventDefault(),h.open(v.currentTarget,v,e.href,e.routerOptions))}})}}var qs={};qs={breadcrumbs:"عناصر الواجهة"};var Ys={};Ys={breadcrumbs:"Трохи хляб"};var Js={};Js={breadcrumbs:"Popis cesty"};var Qs={};Qs={breadcrumbs:"Brødkrummer"};var Xs={};Xs={breadcrumbs:"Breadcrumbs"};var ed={};ed={breadcrumbs:"Πλοηγήσεις breadcrumb"};var td={};td={breadcrumbs:"Breadcrumbs"};var ud={};ud={breadcrumbs:"Migas de pan"};var nd={};nd={breadcrumbs:"Lingiread"};var rd={};rd={breadcrumbs:"Navigointilinkit"};var ad={};ad={breadcrumbs:"Chemin de navigation"};var id={};id={breadcrumbs:"שבילי ניווט"};var ld={};ld={breadcrumbs:"Navigacijski putovi"};var od={};od={breadcrumbs:"Morzsamenü"};var sd={};sd={breadcrumbs:"Breadcrumb"};var dd={};dd={breadcrumbs:"パンくずリスト"};var cd={};cd={breadcrumbs:"탐색 표시"};var fd={};fd={breadcrumbs:"Naršymo kelias"};var pd={};pd={breadcrumbs:"Atpakaļceļi"};var md={};md={breadcrumbs:"Navigasjonsstier"};var bd={};bd={breadcrumbs:"Broodkruimels"};var hd={};hd={breadcrumbs:"Struktura nawigacyjna"};var $d={};$d={breadcrumbs:"Caminho detalhado"};var gd={};gd={breadcrumbs:"Categorias"};var Dd={};Dd={breadcrumbs:"Miez de pâine"};var yd={};yd={breadcrumbs:"Навигация"};var vd={};vd={breadcrumbs:"Navigačné prvky Breadcrumbs"};var xd={};xd={breadcrumbs:"Drobtine"};var Cd={};Cd={breadcrumbs:"Putanje navigacije"};var Ed={};Ed={breadcrumbs:"Sökvägar"};var Bd={};Bd={breadcrumbs:"İçerik haritaları"};var kd={};kd={breadcrumbs:"Навігаційна стежка"};var Pd={};Pd={breadcrumbs:"导航栏"};var Sd={};Sd={breadcrumbs:"導覽列"};var Ad={};Ad={"ar-AE":qs,"bg-BG":Ys,"cs-CZ":Js,"da-DK":Qs,"de-DE":Xs,"el-GR":ed,"en-US":td,"es-ES":ud,"et-EE":nd,"fi-FI":rd,"fr-FR":ad,"he-IL":id,"hr-HR":ld,"hu-HU":od,"it-IT":sd,"ja-JP":dd,"ko-KR":cd,"lt-LT":fd,"lv-LV":pd,"nb-NO":md,"nl-NL":bd,"pl-PL":hd,"pt-BR":$d,"pt-PT":gd,"ro-RO":Dd,"ru-RU":yd,"sk-SK":vd,"sl-SI":xd,"sr-SP":Cd,"sv-SE":Ed,"tr-TR":Bd,"uk-UA":kd,"zh-CN":Pd,"zh-TW":Sd};const zg=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Vg=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Ng(e){if(Intl.Locale){let u=new Intl.Locale(e).maximize(),n=typeof u.getTextInfo=="function"?u.getTextInfo():u.textInfo;if(n)return n.direction==="rtl";if(u.script)return zg.has(u.script)}let t=e.split("-")[0];return Vg.has(t)}const Lg=Symbol.for("react-aria.i18n.locale");function wd(){let e=typeof window<"u"&&window[Lg]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Ng(e)?"rtl":"ltr"}}let ai=wd(),fn=new Set;function ro(){ai=wd();for(let e of fn)e(ai)}function jg(){let e=zt(),[t,u]=o.useState(ai);return o.useEffect(()=>(fn.size===0&&window.addEventListener("languagechange",ro),fn.add(u),()=>{fn.delete(u),fn.size===0&&window.removeEventListener("languagechange",ro)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const _g=o.createContext(null);function pe(){let e=jg();return o.useContext(_g)||e}const Og=Symbol.for("react-aria.i18n.locale"),Hg=Symbol.for("react-aria.i18n.strings");let Ru;class iu{getStringForLocale(t,u){let r=this.getStringsForLocale(u)[t];if(!r)throw new Error(`Could not find intl message ${t} in ${u} locale`);return r}getStringsForLocale(t){let u=this.strings[t];return u||(u=Ug(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[Og];if(Ru===void 0){let r=window[Hg];if(!r)return null;Ru={};for(let a in r)Ru[a]=new iu({[u]:r[a]},u)}let n=Ru==null?void 0:Ru[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,u="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=u}}function Ug(e,t,u="en-US"){if(t[e])return t[e];let n=Wg(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function Wg(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const ao=new Map,io=new Map;class Fd{format(t,u){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(u,this):n}plural(t,u,n="cardinal"){let r=u["="+t];if(r)return typeof r=="function"?r():r;let a=this.locale+":"+n,i=ao.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),ao.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=io.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),io.set(this.locale,u)),u.format(t)}select(t,u){let n=t[u]||t.other;return typeof n=="function"?n():n}constructor(t,u){this.locale=t,this.strings=u}}const lo=new WeakMap;function Gg(e){let t=lo.get(e);return t||(t=new iu(e),lo.set(e,t)),t}function Td(e,t){return t&&iu.getGlobalDictionaryForPackage(t)||Gg(e)}function be(e,t){let{locale:u}=pe(),n=Td(e,t);return o.useMemo(()=>new Fd(u,n),[u,n])}function Uu(e,t){return e-t*Math.floor(e/t)}const Rd=1721426;function Du(e,t,u,n){t=Nn(e,t);let r=t-1,a=-2;return u<=2?a=0:Yt(t)&&(a=-1),Rd-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*u-362)/12+a+n)}function Yt(e){return e%4===0&&(e%100!==0||e%400===0)}function Nn(e,t){return e==="BC"?1-t:t}function Yr(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Zg={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 He{fromJulianDay(t){let u=t,n=u-Rd,r=Math.floor(n/146097),a=Uu(n,146097),i=Math.floor(a/36524),l=Uu(a,36524),s=Math.floor(l/1461),d=Uu(l,1461),c=Math.floor(d/365),f=r*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=Yr(f),b=u-Du(p,m,1,1),h=2;u<Du(p,m,3,1)?h=0:Yt(m)&&(h=1);let D=Math.floor(((b+h)*12+373)/367),v=u-Du(p,m,D,1)+1;return new Se(p,m,D,v)}toJulianDay(t){return Du(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Zg[Yt(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Yt(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 qg={"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 ke(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 Yg(e,t){return t=he(t,e.calendar),e=Eu(e),t=Eu(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function ii(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 Jg(e,t){return ke(e,Ji(t))}const Qg={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Yi(e,t,u){let n=e.calendar.toJulianDay(e),r=u?Qg[u]:rD(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function Id(e){return Tt(Date.now(),e)}function Ji(e){return Le(Id(e))}function Kd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Md(e,t){return oo(e)-oo(t)}function oo(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Ba=null;function Qi(){return Ba==null&&(Ba=new Intl.DateTimeFormat().resolvedOptions().timeZone),Ba}function Eu(e){return e.subtract({days:e.day-1})}function Cr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function Xg(e){return Eu(e.subtract({months:e.month-1}))}function eD(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function tD(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Pn(e,t,u){let n=Yi(e,t,u);return e.subtract({days:n})}function uD(e,t,u){return Pn(e,t,u).add({days:6})}const so=new Map;function nD(e){if(Intl.Locale){let u=so.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&so.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function rD(e){let t=nD(e);return t&&qg[t]||0}function aD(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((Yi(Eu(e),t,u)+n)/7)}function Xi(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function el(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Ju(e){e=he(e,new He);let t=Nn(e.era,e.year);return zd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function zd(e,t,u,n,r,a,i){let l=new Date;return l.setUTCHours(n,r,a,i),l.setUTCFullYear(e,t-1,u),l.getTime()}function li(e,t){if(t==="UTC")return 0;if(e>0&&t===Qi())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=Vd(e,t);return zd(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const co=new Map;function Vd(e,t){let u=co.get(t);u||(u=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),co.set(t,u));let n=u.formatToParts(new Date(e)),r={};for(let a of n)a.type!=="literal"&&(r[a.type]=a.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const fo=864e5;function iD(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>lD(e,t,a))}function lD(e,t,u){let n=Vd(u,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 wt(e,t,u="compatible"){let n=yt(e);if(t==="UTC")return Ju(n);if(t===Qi()&&u==="compatible"){n=he(n,new He);let s=new Date,d=Nn(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 r=Ju(n),a=li(r-fo,t),i=li(r+fo,t),l=iD(n,t,r-a,r-i);if(l.length===1)return l[0];if(l.length>1)switch(u){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(u){case"earlier":return Math.min(r-a,r-i);case"compatible":case"later":return Math.max(r-a,r-i);case"reject":throw new RangeError("No such absolute time found")}}function Nd(e,t,u="compatible"){return new Date(wt(e,t,u))}function Tt(e,t){let u=li(e,t),n=new Date(e+u),r=n.getUTCFullYear(),a=n.getUTCMonth()+1,i=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new An(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function Le(e){return new Se(e.calendar,e.era,e.year,e.month,e.day)}function yt(e,t){let u=0,n=0,r=0,a=0;if("timeZone"in e)({hour:u,minute:n,second:r,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:r,millisecond:a}=t),new Er(e.calendar,e.era,e.year,e.month,e.day,u,n,r,a)}function he(e,t){if(e.calendar.identifier===t.identifier)return e;let u=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=u.era,n.year=u.year,n.month=u.month,n.day=u.day,Bu(n),n}function oD(e,t,u){if(e instanceof An)return e.timeZone===t?e:dD(e,t);let n=wt(e,t,u);return Tt(n,t)}function sD(e){let t=Ju(e)-e.offset;return new Date(t)}function dD(e,t){let u=Ju(e)-e.offset;return he(Tt(u,t),e.calendar)}const un=36e5;function Jr(e,t){let u=e.copy(),n="hour"in u?Od(u,t):0;oi(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,si(u),Ld(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,cD(u),u.calendar.balanceDate&&u.calendar.balanceDate(u),u.year<1&&(u.year=1,u.month=1,u.day=1);let r=u.calendar.getYearsInEra(u);if(u.year>r){var a,i;let s=(a=(i=u.calendar).isInverseEra)===null||a===void 0?void 0:a.call(i,u);u.year=r,u.month=s?1:u.calendar.getMonthsInYear(u),u.day=s?1:u.calendar.getDaysInMonth(u)}u.month<1&&(u.month=1,u.day=1);let l=u.calendar.getMonthsInYear(u);return u.month>l&&(u.month=l,u.day=u.calendar.getDaysInMonth(u)),u.day=Math.max(1,Math.min(u.calendar.getDaysInMonth(u),u.day)),u}function oi(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function si(e){for(;e.month<1;)oi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,oi(e,1)}function cD(e){for(;e.day<1;)e.month--,si(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,si(e)}function Ld(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 Bu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Ld(e)}function tl(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function jd(e,t){return Jr(e,tl(t))}function ul(e,t){let u=e.copy();return t.era!=null&&(u.era=t.era),t.year!=null&&(u.year=t.year),t.month!=null&&(u.month=t.month),t.day!=null&&(u.day=t.day),Bu(u),u}function Sn(e,t){let u=e.copy();return t.hour!=null&&(u.hour=t.hour),t.minute!=null&&(u.minute=t.minute),t.second!=null&&(u.second=t.second),t.millisecond!=null&&(u.millisecond=t.millisecond),_d(u),u}function fD(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Xn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Xn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Xn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Xn(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 Xn(e,t){let u=e%t;return u<0&&(u+=t),u}function Od(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,fD(e)}function Hd(e,t){let u=e.copy();return Od(u,t),u}function pD(e,t){return Hd(e,tl(t))}function nl(e,t,u,n){let r=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=Rt(s,u,0,l.length-1,n==null?void 0:n.round),r.era=l[s],Bu(r);break}case"year":var a,i;!((a=(i=r.calendar).isInverseEra)===null||a===void 0)&&a.call(i,r)&&(u=-u),r.year=Rt(e.year,u,-1/0,9999,n==null?void 0:n.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e);break;case"month":r.month=Rt(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":r.day=Rt(e.day,u,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(r),Bu(r),r}function rl(e,t,u,n){let r=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=a>=12;i=s?12:0,l=s?23:11}r.hour=Rt(a,u,i,l,n==null?void 0:n.round);break}case"minute":r.minute=Rt(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":r.second=Rt(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":r.millisecond=Rt(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return r}function Rt(e,t,u,n,r=!1){if(r){e+=Math.sign(t),e<u&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=u)}else e+=t,e<u?e=n-(u-e-1):e>n&&(e=u+(e-n-1));return e}function Ud(e,t){let u;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 r=Jr(yt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=wt(r,e.timeZone)}else u=Ju(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=Tt(u,e.timeZone);return he(n,e.calendar)}function mD(e,t){return Ud(e,tl(t))}function bD(e,t,u,n){switch(t){case"hour":{let r=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;r=b?12:0,a=b?23:11}let i=yt(e),l=he(Sn(i,{hour:r}),new He),s=[wt(l,e.timeZone,"earlier"),wt(l,e.timeZone,"later")].filter(b=>Tt(b,e.timeZone).day===l.day)[0],d=he(Sn(i,{hour:a}),new He),c=[wt(d,e.timeZone,"earlier"),wt(d,e.timeZone,"later")].filter(b=>Tt(b,e.timeZone).day===d.day).pop(),f=Ju(e)-e.offset,p=Math.floor(f/un),m=f%un;return f=Rt(p,u,Math.floor(s/un),Math.floor(c/un),n==null?void 0:n.round)*un+m,he(Tt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return rl(e,t,u,n);case"era":case"year":case"month":case"day":{let r=nl(yt(e),t,u,n),a=wt(r,e.timeZone);return he(Tt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function hD(e,t,u){let n=yt(e),r=Sn(ul(n,t),t);if(r.compare(n)===0)return e;let a=wt(r,e.timeZone,u);return he(Tt(a,e.timeZone),e.calendar)}function Wd(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 Gd(e){let t=he(e,new He),u;return t.era==="BC"?u=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):u=String(t.year).padStart(4,"0"),`${u}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Zd(e){return`${Gd(e)}T${Wd(e)}`}function $D(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let u=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(u).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function gD(e){return`${Zd(e)}${$D(e.offset)}[${e.timeZone}]`}function al(e){let t=typeof e[0]=="object"?e.shift():new He,u;if(typeof e[0]=="string")u=e.shift();else{let i=t.getEras();u=i[i.length-1]}let n=e.shift(),r=e.shift(),a=e.shift();return[t,u,n,r,a]}var DD=new WeakMap;class Se{copy(){return this.era?new Se(this.calendar,this.era,this.year,this.month,this.day):new Se(this.calendar,this.year,this.month,this.day)}add(t){return Jr(this,t)}subtract(t){return jd(this,t)}set(t){return ul(this,t)}cycle(t,u,n){return nl(this,t,u,n)}toDate(t){return Nd(this,t)}toString(){return Gd(this)}compare(t){return Kd(this,t)}constructor(...t){zn(this,DD,{writable:!0,value:void 0});let[u,n,r,a,i]=al(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,Bu(this)}}var yD=new WeakMap;class il{copy(){return new il(this.hour,this.minute,this.second,this.millisecond)}add(t){return Hd(this,t)}subtract(t){return pD(this,t)}set(t){return Sn(this,t)}cycle(t,u,n){return rl(this,t,u,n)}toString(){return Wd(this)}compare(t){return Md(this,t)}constructor(t=0,u=0,n=0,r=0){zn(this,yD,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,_d(this)}}var vD=new WeakMap;class Er{copy(){return this.era?new Er(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Er(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Jr(this,t)}subtract(t){return jd(this,t)}set(t){return ul(Sn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return nl(this,t,u,n);default:return rl(this,t,u,n)}}toDate(t,u){return Nd(this,t,u)}toString(){return Zd(this)}compare(t){let u=Kd(this,t);return u===0?Md(this,yt(t)):u}constructor(...t){zn(this,vD,{writable:!0,value:void 0});let[u,n,r,a,i]=al(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,Bu(this)}}var xD=new WeakMap;class An{copy(){return this.era?new An(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new An(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ud(this,t)}subtract(t){return mD(this,t)}set(t,u){return hD(this,t,u)}cycle(t,u,n){return bD(this,t,u,n)}toDate(){return sD(this)}toString(){return gD(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-oD(t,this.timeZone).toDate().getTime()}constructor(...t){zn(this,xD,{writable:!0,value:void 0});let[u,n,r,a,i]=al(t),l=t.shift(),s=t.shift();this.calendar=u,this.era=n,this.year=r,this.month=a,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,Bu(this)}}const Wu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],CD=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],pr=[1867,1911,1925,1988,2018],Wt=["meiji","taisho","showa","heisei","reiwa"];function po(e){const t=Wu.findIndex(([u,n,r])=>e.year<u||e.year===u&&e.month<n||e.year===u&&e.month===n&&e.day<r);return t===-1?Wu.length-1:t===0?0:t-1}function ka(e){let t=pr[Wt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Se(e.year+t,e.month,e.day)}class ED extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=po(u);return new Se(this,Wt[n],u.year-pr[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(ka(t))}balanceDate(t){let u=ka(t),n=po(u);Wt[n]!==t.era&&(t.era=Wt[n],t.year=u.year-pr[n]),this.constrainDate(t)}constrainDate(t){let u=Wt.indexOf(t.era),n=CD[u];if(n!=null){let[r,a,i]=n,l=r-pr[u];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&u>=0){let[,r,a]=Wu[u];t.month=Math.max(r,t.month),t.month===r&&(t.day=Math.max(a,t.day))}}getEras(){return Wt}getYearsInEra(t){let u=Wt.indexOf(t.era),n=Wu[u],r=Wu[u+1];if(r==null)return 9999-n[0]+1;let a=r[0]-n[0];return(t.month<r[1]||t.month===r[1]&&t.day<r[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(ka(t))}getMinimumMonthInYear(t){let u=mo(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=mo(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function mo(e){if(e.year===1){let t=Wt.indexOf(e.era);return Wu[t]}}const qd=-543;class BD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=Nn(u.era,u.year);return new Se(this,n-qd,u.month,u.day)}toJulianDay(t){return super.toJulianDay(bo(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(bo(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function bo(e){let[t,u]=Yr(e.year+qd);return new Se(t,u,e.month,e.day)}const Br=1911;function Yd(e){return e.era==="minguo"?e.year+Br:1-e.year+Br}function ho(e){let t=e-Br;return t>0?["minguo",t]:["before_minguo",1-t]}class kD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=Nn(u.era,u.year),[r,a]=ho(n);return new Se(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay($o(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=ho(Yd(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth($o(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Br}constructor(...t){super(...t),this.identifier="roc"}}function $o(e){let[t,u]=Yr(Yd(e));return new Se(t,u,e.month,e.day)}const go=1948320,Do=[0,31,62,93,124,155,186,216,246,276,306,336];class PD{fromJulianDay(t){let u=t-go,n=1+Math.floor((33*u+3)/12053),r=365*(n-1)+Math.floor((8*n+21)/33),a=u-r,i=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-Do[i]+1;return new Se(this,n,i+1,l)}toJulianDay(t){let u=go-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=Do[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Uu(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Pa=78,yo=80;class SD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-Pa,r=t-Du(u.era,u.year,1,1),a;r<yo?(n--,a=Yt(u.year-1)?31:30,r+=a+155+90+10):(a=Yt(u.year)?31:30,r-=yo);let i,l;if(r<a)i=1,l=r+1;else{let s=r-a;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 Se(this,n,i,l)}toJulianDay(t){let u=t.year+Pa,[n,r]=Yr(u),a,i;return Yt(r)?(a=31,i=Du(n,r,3,21)):(a=30,i=Du(n,r,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&Yt(t.year+Pa)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const kr=1948440,vo=1948439,et=1300,Iu=1600,AD=460322;function Pr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Jd(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+Pr(t,n,1,1)))/29.5)+1),a=u-Pr(t,n,r,1)+1;return new Se(e,n,r,a)}function xo(e){return(14+11*e)%30<11}class ll{fromJulianDay(t){return Jd(this,kr,t)}toJulianDay(t){return Pr(kr,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&xo(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return xo(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class wD extends ll{fromJulianDay(t){return Jd(this,vo,t)}toJulianDay(t){return Pr(vo,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const FD="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let di,Gu;function mr(e){return AD+Gu[e-et]}function pn(e,t){let u=e-et,n=1<<11-(t-1);return di[u]&n?30:29}function Co(e,t){let u=mr(e);for(let n=1;n<t;n++)u+=pn(e,n);return u}function Eo(e){return Gu[e+1-et]-Gu[e-et]}class TD extends ll{fromJulianDay(t){let u=t-kr,n=mr(et),r=mr(Iu);if(u<n||u>r)return super.fromJulianDay(t);{let a=et-1,i=1,l=1;for(;l>0;){a++,l=u-mr(a)+1;let s=Eo(a);if(l===s){i=12;break}else if(l<s){let d=pn(a,i);for(i=1;l>d;)l-=d,i++,d=pn(a,i);break}}return new Se(this,a,i,u-Co(a,i)+1)}}toJulianDay(t){return t.year<et||t.year>Iu?super.toJulianDay(t):kr+Co(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<et||t.year>Iu?super.getDaysInMonth(t):pn(t.year,t.month)}getDaysInYear(t){return t.year<et||t.year>Iu?super.getDaysInYear(t):Eo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",di||(di=new Uint16Array(Uint8Array.from(atob(FD),t=>t.charCodeAt(0)).buffer)),!Gu){Gu=new Uint32Array(Iu-et+1);let t=0;for(let u=et;u<=Iu;u++){Gu[u-et]=t;for(let n=1;n<=12;n++)t+=pn(u,n)}}}}const Bo=347997,Qd=1080,Xd=24*Qd,RD=29,ID=12*Qd+793,KD=RD*Xd+ID;function $u(e){return Uu(e*7+1,19)<7}function br(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Uu(3*(n+1),7)<3&&(n+=1),n}function MD(e){let t=br(e-1),u=br(e);return br(e+1)-u===356?2:u-t===382?1:0}function $n(e){return br(e)+MD(e)}function ec(e){return $n(e+1)-$n(e)}function zD(e){let t=ec(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function er(e,t){if(t>=6&&!$u(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=zD(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?$u(e)?30:0:30}class VD{fromJulianDay(t){let u=t-Bo,n=u*Xd/KD,r=Math.floor((19*n+234)/235)+1,a=$n(r),i=Math.floor(u-a);for(;i<1;)r--,a=$n(r),i=Math.floor(u-a);let l=1,s=0;for(;s<i;)s+=er(r,l),l++;l--,s-=er(r,l);let d=i-s;return new Se(this,r,l,d)}toJulianDay(t){let u=$n(t.year);for(let n=1;n<t.month;n++)u+=er(t.year,n);return u+t.day+Bo}getDaysInMonth(t){return er(t.year,t.month)}getMonthsInYear(t){return $u(t.year)?13:12}getDaysInYear(t){return ec(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&($u(u.year)&&!$u(t.year)&&u.month>6?t.month--:!$u(u.year)&&$u(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const ci=1723856,ko=1824665,fi=5500;function Sr(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function ol(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Sr(e,u,1,1))/30),r=t+1-Sr(e,u,n,1);return[u,n,r]}function tc(e){return Math.floor(e%4/3)}function uc(e,t){return t%13!==0?30:tc(e)+5}class sl{fromJulianDay(t){let[u,n,r]=ol(ci,t),a="AM";return u<=0&&(a="AA",u+=fi),new Se(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=fi),Sr(ci,u,t.month,t.day)}getDaysInMonth(t){return uc(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 ND extends sl{fromJulianDay(t){let[u,n,r]=ol(ci,t);return u+=fi,new Se(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class LD extends sl{fromJulianDay(t){let[u,n,r]=ol(ko,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Se(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Sr(ko,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),uc(u,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 dl(e){switch(e){case"buddhist":return new BD;case"ethiopic":return new sl;case"ethioaa":return new ND;case"coptic":return new LD;case"hebrew":return new VD;case"indian":return new SD;case"islamic-civil":return new ll;case"islamic-tbla":return new wD;case"islamic-umalqura":return new TD;case"japanese":return new ED;case"persian":return new PD;case"roc":return new kD;case"gregory":default:return new He}}let Sa=new Map;class nt{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,u){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(u)}`}formatRangeToParts(t,u){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),r=this.formatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return OD()&&(this.resolvedHourCycle||(this.resolvedHourCycle=HD(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,u={}){this.formatter=nc(t,u),this.options=u}}const jD={true:{ja:"h11"},false:{}};function nc(e,t={}){if(typeof t.hour12=="boolean"&&_D()){t={...t};let r=jD[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=r??a,delete t.hour12}let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Sa.has(u))return Sa.get(u);let n=new Intl.DateTimeFormat(e,t);return Sa.set(u,n),n}let Aa=null;function _D(){return Aa==null&&(Aa=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Aa}let wa=null;function OD(){return wa==null&&(wa=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),wa}function HD(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 u=nc(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),r=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&r===23)return"h23";if(n===24&&r===23)return"h24";if(n===0&&r===11)return"h11";if(n===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function mt(e){e=Cs(e??{},UD);let{locale:t}=pe();return o.useMemo(()=>new nt(t,e),[t,e])}function UD(e,t){if(e===t)return!0;let u=Object.keys(e),n=Object.keys(t);if(u.length!==n.length)return!1;for(let r of u)if(t[r]!==e[r])return!1;return!0}let Fa=new Map,pi=!1;try{pi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Ar=!1;try{Ar=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const rc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class WD{format(t){let u="";if(!pi&&this.options.signDisplay!=null?u=ZD(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Ar){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=rc[r])===null||n===void 0?void 0:n[a];u+=l[i]||l.default}return u}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,u){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(u)}`}formatRangeToParts(t,u){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),r=this.numberFormatter.formatToParts(u);return[...n.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!pi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Ar&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=GD(t,u),this.options=u}}function GD(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Ar){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=rc[i])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((i,l)=>i[0]<l[0]?-1:1).join():"");if(Fa.has(r))return Fa.get(r);let a=new Intl.NumberFormat(e,t);return Fa.set(r,a),a}function ZD(e,t,u){if(t==="auto")return e.format(u);if(t==="never")return e.format(Math.abs(u));{let n=!1;if(t==="always"?n=u>0||Object.is(u,0):t==="exceptZero"&&(Object.is(u,-0)||Object.is(u,0)?u=Math.abs(u):n=u>0),n){let r=e.format(-u),a=e.format(u),i=r.replace(a,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(a,"!!!").replace(i,"+").replace("!!!",a)}else return e.format(u)}}const qD=new RegExp("^.*\\(.*\\).*$"),YD=["latn","arab","hanidec","deva","beng"];class ac{parse(t){return Ta(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return Ta(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return Ta(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Po=new Map;function Ta(e,t,u){let n=So(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of YD)if(r!==n.options.numberingSystem){let a=So(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function So(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=Po.get(u);return n||(n=new JD(e,t),Po.set(u,n)),n}class JD{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=tr(u,this.symbols.group,"")),this.symbols.decimal&&(u=u.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(u=u.replace(this.symbols.minusSign,"-")),u=u.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let i=u.indexOf("-");u=u.replace("-","");let l=u.indexOf(".");l===-1&&(l=u.length),u=u.replace(".",""),l-2===0?u=`0.${u}`:l-2===-1?u=`0.0${u}`:l-2===-2?u="0.00":u=`${u.slice(0,l-2)}.${u.slice(l-2)}`,i>-1&&(u=`-${u}`)}let n=u?+u:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var r,a;let i={...this.options,style:"decimal",minimumFractionDigits:Math.min(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new ac(this.locale,i).parse(new WD(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&qD.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=tr(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=tr(t,"."," ")),t}isValidPartialNumber(t,u=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&u<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=tr(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,u={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,u),this.options=this.formatter.resolvedOptions(),this.symbols=XD(t,this.formatter,this.options,u);var n,r;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Ao=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),QD=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function XD(e,t,u,n){var r,a,i,l;let s=new Intl.NumberFormat(e,{...u,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=QD.map(A=>s.formatToParts(A));var p;let m=(p=(r=d.find(A=>A.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&p!==void 0?p:"-",b=(a=c.find(A=>A.type==="plusSign"))===null||a===void 0?void 0:a.value;!b&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(b="+");let D=(i=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(A=>A.type==="decimal"))===null||i===void 0?void 0:i.value,v=(l=d.find(A=>A.type==="group"))===null||l===void 0?void 0:l.value,E=d.filter(A=>!Ao.has(A.type)).map(A=>wo(A.value)),y=f.flatMap(A=>A.filter(k=>!Ao.has(k.type)).map(k=>wo(k.value))),C=[...new Set([...E,...y])].sort((A,k)=>k.length-A.length),B=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),R=new Map(S.map((A,k)=>[A,k])),$=new RegExp(`[${S.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:D,group:v,literals:B,numeral:$,index:A=>String(R.get(A))}}function tr(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function wo(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Ra=new Map;function Au(e){let{locale:t}=pe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(Ra.has(u))return Ra.get(u);let n=new Intl.Collator(t,e);return Ra.set(u,n),n}function ic(e){let t=Au({usage:"search",...e}),u=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(0,i.length),i)===0),[t]),n=o.useCallback((a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),t.compare(a.slice(-i.length),i)===0),[t]),r=o.useCallback((a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0,s=i.length;for(;l+s<=a.length;l++){let d=a.slice(l,l+s);if(t.compare(i,d)===0)return!0}return!1},[t]);return o.useMemo(()=>({startsWith:u,endsWith:n,contains:r}),[u,n,r])}function e2(e){return e&&e.__esModule?e.default:e}function t2(e){let{"aria-label":t,...u}=e,n=be(e2(Ad),"@react-aria/breadcrumbs");return{navProps:{..._(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function lc(e,t){let{elementType:u="button",isDisabled:n,onPress:r,onPressStart:a,onPressEnd:i,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:m,rel:b,type:h="button"}=e,D;u==="button"?D={type:h,disabled:n}:D={role:"button",tabIndex:n?void 0:0,href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?h:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:v,isPressed:E}=We({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:r,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:y}=Su(e,t);c&&(y.tabIndex=n?-1:y.tabIndex);let C=N(y,v,_(e,{labelable:!0}));return{isPressed:E,buttonProps:N(D,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:B=>{f&&(f(B),console.warn("onClick is deprecated, please use onPress"))}})}}var oc={};oc={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} до ${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} 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 cc={};cc={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 fc={};fc={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 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 mc={};mc={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 bc={};bc={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 $c={};$c={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 gc={};gc={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 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 yc={};yc={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 vc={};vc={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 xc={};xc={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 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 Ec={};Ec={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 kc={};kc={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 Pc={};Pc={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 Sc={};Sc={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 Ac={};Ac={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 wc={};wc={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 Fc={};Fc={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 Tc={};Tc={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 Rc={};Rc={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 Ic={};Ic={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 Kc={};Kc={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 zc={};zc={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 Vc={};Vc={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 Nc={};Nc={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 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 Ln={};Ln={"ar-AE":oc,"bg-BG":sc,"cs-CZ":dc,"da-DK":cc,"de-DE":fc,"el-GR":pc,"en-US":mc,"es-ES":bc,"et-EE":hc,"fi-FI":$c,"fr-FR":gc,"he-IL":Dc,"hr-HR":yc,"hu-HU":vc,"it-IT":xc,"ja-JP":Cc,"ko-KR":Ec,"lt-LT":Bc,"lv-LV":kc,"nb-NO":Pc,"nl-NL":Sc,"pl-PL":Ac,"pt-BR":wc,"pt-PT":Fc,"ro-RO":Tc,"ru-RU":Rc,"sk-SK":Ic,"sl-SI":Kc,"sr-SP":Mc,"sv-SE":zc,"tr-TR":Vc,"uk-UA":Nc,"zh-CN":Lc,"zh-TW":jc};function _c(e){return e&&e.__esModule?e.default:e}const cl=new WeakMap;function wn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function u2(e){let t=be(_c(Ln),"@react-aria/calendar"),u,n;var r;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(r=e.value)!==null&&r!==void 0?r:void 0;let a=mt({weekday:"long",month:"long",year:"numeric",day:"numeric",era:wn(u)||wn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(ke(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=bi(a,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,a])}function mi(e,t,u,n){let r=be(_c(Ln),"@react-aria/calendar"),a=wn(e)||wn(t),i=mt({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=mt({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(ke(e,Eu(e))){if(ke(t,Cr(e)))return i.format(e.toDate(u));if(ke(t,Cr(t)))return n?bi(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?bi(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function bi(e,t,u,n,r){let a=e.formatRangeToParts(u.toDate(r),n.toDate(r)),i=-1;for(let d=0;d<a.length;d++){let c=a[d];if(c.source==="shared"&&c.type==="literal")i=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<a.length;d++)d<i?l+=a[d].value:d>i&&(s+=a[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const Oc=7e3;let Qe=null;function $t(e,t="assertive",u=Oc){Qe?Qe.announce(e,t,u):(Qe=new r2,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Qe.announce(e,t,u):setTimeout(()=>{Qe!=null&&Qe.isAttached()&&(Qe==null||Qe.announce(e,t,u))},100))}function n2(e){Qe&&Qe.clear(e)}class r2{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let u=document.createElement("div");return u.setAttribute("role","log"),u.setAttribute("aria-live",t),u.setAttribute("aria-relevant","additions"),u}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,u="assertive",n=Oc){var r,a;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,u==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(i):(a=this.politeLog)===null||a===void 0||a.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(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 a2(e){return e&&e.__esModule?e.default:e}function Hc(e,t){let u=be(a2(Ln),"@react-aria/calendar"),n=_(e),r=mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=mi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);$r(()=>{t.isFocused||$t(a)},[a]);let i=u2(t);$r(()=>{i&&$t(i,"polite",4e3)},[i]);let l=rt([!!e.errorMessage,e.isInvalid,e.validationState]);cl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,d]=o.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=o.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(p(!1),t.setFocused(!0));let b=Dt({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:N(n,b,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":u.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":u.format("previous"),isDisabled:m,onFocusChange:p},errorMessageProps:{id:l},title:r}}function i2(e,t){return Hc(e,t)}function l2(e,t,u){let n=Hc(e,t),r=o.useRef(!1),a=o.useRef(typeof window<"u"?window:null);return st(a,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),st(a,"pointerup",l=>{if(r.current){r.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;u.current&&u.current.contains(document.activeElement)&&(!u.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{u.current&&(!l.relatedTarget||!u.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},st(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function o2(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:r}=e,{direction:a}=pe(),i=b=>{switch(b.key){case"Enter":case" ":b.preventDefault(),t.selectFocusedDate();break;case"PageUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousSection(b.shiftKey);break;case"PageDown":b.preventDefault(),b.stopPropagation(),t.focusNextSection(b.shiftKey);break;case"End":b.preventDefault(),b.stopPropagation(),t.focusSectionEnd();break;case"Home":b.preventDefault(),b.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(b.preventDefault(),t.setAnchorDate(null));break}},l=mi(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=cl.get(t),c=Dt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=mt({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=pe(),m=o.useMemo(()=>{let b=Pn(Ji(t.timeZone),p,r);return[...new Array(7).keys()].map(h=>{let v=b.add({days:h}).toDate(t.timeZone);return f.format(v)})},[p,t.timeZone,f,r]);return{gridProps:N(c,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:i,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:m}}function s2(e){return e&&e.__esModule?e.default:e}function d2(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=cl.get(t),l=be(s2(Ln),"@react-aria/calendar"),s=mt({weekday:"long",day:"numeric",month:"long",year:"numeric",era:wn(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);r=r||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!r&&!f,m=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&ke(t.value,n));m&&(d=!0),n=Cs(n,ii);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),h=Jg(n,t.timeZone),D=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(ke(n,t.value.start)||ke(n,t.value.end))&&(k=i+", "),k+=s.format(b),h?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&ke(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&ke(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,h,n,t,i]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?v=l.format("finishRangeSelectionPrompt"):v=l.format("startRangeSelectionPrompt"));let E=vt(v),y=o.useRef(!1),C=o.useRef(!1),B=o.useRef(void 0),{pressProps:S,isPressed:R}=We({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(k){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(k.pointerType==="mouse"||k.pointerType==="touch")){if(t.highlightedRange&&!m){if(ke(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}else if(ke(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}}let z=()=>{t.setDragging(!0),B.current=void 0,t.selectDate(n),t.setFocusedDate(n),y.current=!0};k.pointerType==="touch"?B.current=setTimeout(z,200):z()}},onPressEnd(){C.current=!1,y.current=!1,clearTimeout(B.current),B.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(k){if(!t.isReadOnly&&("anchorDate"in t&&B.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(C.current)t.setAnchorDate(n);else if(t.anchorDate&&!y.current)t.selectDate(n),t.setFocusedDate(n);else if(k.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let z=n.add({days:1});t.isInvalid(z)&&(z=n.subtract({days:1})),t.isInvalid(z)||t.setFocusedDate(z)}else k.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),$;r||($=ke(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(Oe(u.current),tu()!=="pointer"&&document.activeElement===u.current&&Ke(u.current,{containingElement:Ie(u.current)}))},[c,u]);let T=mt({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),A=o.useMemo(()=>T.formatToParts(b).find(k=>k.type==="day").value,[T,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:N(S,{onFocus(){r||t.setFocusedDate(n)},tabIndex:$,role:"button","aria-disabled":!p||void 0,"aria-label":D,"aria-invalid":m||void 0,"aria-describedby":[m?a:void 0,E["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(k){"highlightDate"in t&&(k.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(k){"releasePointerCapture"in k.target&&k.target.releasePointerCapture(k.pointerId)},onContextMenu(k){k.preventDefault()}}),isPressed:R,isFocused:c,isSelected:d,isDisabled:r,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:m,formattedDate:A}}const Qr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Uc={...Qr,customError:!0,valid:!1},Zt={isInvalid:!1,validationDetails:Qr,validationErrors:[]},c2=o.createContext({}),uu="__formValidationState"+Date.now();function Ct(e){if(e[uu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[uu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return f2(e)}function f2(e){let{isInvalid:t,validationState:u,name:n,value:r,builtinValidation:a,validate:i,validationBehavior:l="aria"}=e;u&&(t||(t=u==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Uc}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let A=p2(i,r);return Fo(A)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(c2),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(A=>hi(c[A])):hi(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,h]=o.useState(!1);c!==p&&(m(c),h(!1));let D=o.useMemo(()=>Fo(b?[]:f),[b,f]),v=o.useRef(Zt),[E,y]=o.useState(Zt),C=o.useRef(Zt),B=()=>{if(!S)return;R(!1);let A=d||a||v.current;Ia(A,C.current)||(C.current=A,y(A))},[S,R]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||D||d||a||Zt,displayValidation:l==="native"?s||D||E:s||D||d||a||E,updateValidation(A){l==="aria"&&!Ia(E,A)?y(A):v.current=A},resetValidation(){let A=Zt;Ia(A,C.current)||(C.current=A,y(A)),l==="native"&&R(!1),h(!0)},commitValidation(){l==="native"&&R(!0),h(!0)}}}function hi(e){return e?Array.isArray(e)?e:[e]:[]}function p2(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return hi(u)}return[]}function Fo(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Uc}:null}function Ia(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((u,n)=>u===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([u,n])=>t.validationDetails[u]===n)}function Fn(...e){let t=new Set,u=!1,n={...Qr};for(let i of e){var r,a;for(let l of i.validationErrors)t.add(l);u||(u=i.isInvalid);for(let l in n)(r=n)[a=l]||(r[a]=i.validationDetails[l])}return n.valid=!u,{isInvalid:u,validationErrors:[...t],validationDetails:n}}function jn(e,t,u){let{validationBehavior:n,focus:r}=e;q(()=>{if(n==="native"&&(u!=null&&u.current)&&!u.current.disabled){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";u.current.setCustomValidity(s),u.current.hasAttribute("title")||(u.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(b2(u.current))}});let a=ae(()=>{t.resetValidation()}),i=ae(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=u==null||(d=u.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&u&&c&&h2(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),js("keyboard")}s.preventDefault()}),l=ae(()=>{t.commitValidation()});o.useEffect(()=>{let s=u==null?void 0:u.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",i),s.addEventListener("change",l),d==null||d.addEventListener("reset",a),()=>{s.removeEventListener("invalid",i),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",a)}},[u,i,l,a,n])}function m2(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 b2(e){return{isInvalid:!e.validity.valid,validationDetails:m2(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function h2(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function $2(e,t,u){let{isDisabled:n=!1,isReadOnly:r=!1,value:a,name:i,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=S=>{S.stopPropagation(),t.setSelected(S.target.checked)},m=l!=null,b=s!=null||d!=null;!m&&!b&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:h,isPressed:D}=We({isDisabled:n}),{pressProps:v,isPressed:E}=We({isDisabled:n||r,onPress(){t.toggle()}}),{focusableProps:y}=Su(e,u),C=N(h,y),B=_(e,{labelable:!0});return Mn(u,t.isSelected,t.setSelected),{labelProps:N(v,{onClick:S=>S.preventDefault()}),inputProps:N(B,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":r||void 0,onChange:p,disabled:n,...a==null?{}:{value:a},name:i,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:D||E,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function Wc(e,t,u){let n=Ct({...e,value:t.isSelected}),{isInvalid:r,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=$2({...e,isInvalid:r},t,u);jn(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:h="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:D}=We({isDisabled:f||p,onPress(){let{[uu]:v}=e,{commitValidation:E}=v||n;E()}});return{labelProps:N(l,D),inputProps:{...s,checked:d,"aria-required":b&&h==="aria"||void 0,required:b&&h==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:a,validationDetails:i}}const Gc=new WeakMap;function Zc(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=ne(t);let i=ne(),l={};u?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!n&&!r&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Dt({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function lu(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=Zc(e),l=rt([!!t,!!u,n,r]),s=rt([!!t,!!u,n,r]);return i=N(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function g2(e,t){let{isDisabled:u,name:n,validationBehavior:r="aria"}=e,{isInvalid:a,validationErrors:i,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=lu({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});Gc.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=_(e,{labelable:!0}),{focusWithinProps:m}=ft({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function qc(e={}){let{isReadOnly:t}=e,[u,n]=Re(e.isSelected,e.defaultSelected||!1,e.onChange);function r(i){t||n(i)}function a(){t||n(!u)}return{isSelected:u,setSelected:r,toggle:a}}function D2(e,t,u){const n=qc({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(D){D?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(D)}});let{name:r,descriptionId:a,errorMessageId:i,validationBehavior:l}=Gc.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=Ct({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(Zt),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};o.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,m=l==="native"?t.displayValidation:p;var b;let h=Wc({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||r,isRequired:(b=e.isRequired)!==null&&b!==void 0?b:t.isRequired,validationBehavior:l,[uu]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(D){c.current=D,f()}}},n,u);return{...h,inputProps:{...h.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const To={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 ou(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:a}=ft({isDisabled:!u,onFocusWithinChange:l=>r(l)}),i=o.useMemo(()=>n?t:t?{...To,...t}:To,[n]);return{visuallyHiddenProps:{...a,style:i}}}function nu(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=ou(e);return o.createElement(u,N(a,i),t)}function fl(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:r=!1,isReadOnly:a=!1,type:i="text",validationBehavior:l="aria"}=e,[s,d]=Re(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Su(e,t),f=Ct({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:h,fieldProps:D,descriptionProps:v,errorMessageProps:E}=lu({...e,isInvalid:p,errorMessage:e.errorMessage||m}),y=_(e,{labelable:!0});const C={type:i,pattern:e.pattern};return Mn(t,s,d),jn(e,f,t),o.useEffect(()=>{if(t.current instanceof ut(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:h,inputProps:N(y,u==="input"?C:void 0,{disabled:n,readOnly:a,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:s,onChange:B=>d(B.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...D}),descriptionProps:v,errorMessageProps:E,isInvalid:p,validationErrors:m,validationDetails:b}}var Yc={};Yc={Empty:"فارغ"};var Jc={};Jc={Empty:"Изпразни"};var Qc={};Qc={Empty:"Prázdné"};var Xc={};Xc={Empty:"Tom"};var e4={};e4={Empty:"Leer"};var t4={};t4={Empty:"Άδειο"};var u4={};u4={Empty:"Empty"};var n4={};n4={Empty:"Vacío"};var r4={};r4={Empty:"Tühjenda"};var a4={};a4={Empty:"Tyhjä"};var i4={};i4={Empty:"Vide"};var l4={};l4={Empty:"ריק"};var o4={};o4={Empty:"Prazno"};var s4={};s4={Empty:"Üres"};var d4={};d4={Empty:"Vuoto"};var c4={};c4={Empty:"空"};var f4={};f4={Empty:"비어 있음"};var p4={};p4={Empty:"Tuščias"};var m4={};m4={Empty:"Tukšs"};var b4={};b4={Empty:"Tom"};var h4={};h4={Empty:"Leeg"};var $4={};$4={Empty:"Pusty"};var g4={};g4={Empty:"Vazio"};var D4={};D4={Empty:"Vazio"};var y4={};y4={Empty:"Gol"};var v4={};v4={Empty:"Не заполнено"};var x4={};x4={Empty:"Prázdne"};var C4={};C4={Empty:"Prazen"};var E4={};E4={Empty:"Prazno"};var B4={};B4={Empty:"Tomt"};var k4={};k4={Empty:"Boş"};var P4={};P4={Empty:"Пусто"};var S4={};S4={Empty:"空"};var A4={};A4={Empty:"空白"};var w4={};w4={"ar-AE":Yc,"bg-BG":Jc,"cs-CZ":Qc,"da-DK":Xc,"de-DE":e4,"el-GR":t4,"en-US":u4,"es-ES":n4,"et-EE":r4,"fi-FI":a4,"fr-FR":i4,"he-IL":l4,"hr-HR":o4,"hu-HU":s4,"it-IT":d4,"ja-JP":c4,"ko-KR":f4,"lt-LT":p4,"lv-LV":m4,"nb-NO":b4,"nl-NL":h4,"pl-PL":$4,"pt-BR":g4,"pt-PT":D4,"ro-RO":y4,"ru-RU":v4,"sk-SK":x4,"sl-SI":C4,"sr-SP":E4,"sv-SE":B4,"tr-TR":k4,"uk-UA":P4,"zh-CN":S4,"zh-TW":A4};function y2(e){return e&&e.__esModule?e.default:e}function v2(e){const t=o.useRef(void 0);let{value:u,textValue:n,minValue:r,maxValue:a,isDisabled:i,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:m,onIncrementToMax:b}=e;const h=be(y2(w4),"@react-aria/spinbutton"),D=()=>clearTimeout(t.current);o.useEffect(()=>()=>D(),[]);let v=k=>{if(!(k.ctrlKey||k.metaKey||k.shiftKey||k.altKey||l))switch(k.key){case"PageUp":if(c){k.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(k.preventDefault(),d==null||d());break;case"PageDown":if(p){k.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(k.preventDefault(),f==null||f());break;case"Home":m&&(k.preventDefault(),m==null||m());break;case"End":b&&(k.preventDefault(),b==null||b());break}},E=o.useRef(!1),y=()=>{E.current=!0},C=()=>{E.current=!1},B=n===""?h.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{E.current&&(n2("assertive"),$t(B,"assertive"))},[B]);const S=ae(k=>{D(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u<a)&&S(60)},k)}),R=ae(k=>{D(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&R(60)},k)});let $=k=>{k.preventDefault()},{addGlobalListener:T,removeAllGlobalListeners:A}=Ni();return{spinButtonProps:{role:"spinbutton","aria-valuenow":u!==void 0&&!isNaN(u)?u:void 0,"aria-valuetext":B,"aria-valuemin":r,"aria-valuemax":a,"aria-disabled":i||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:v,onFocus:y,onBlur:C},incrementButtonProps:{onPressStart:()=>{S(400),T(window,"contextmenu",$)},onPressEnd:()=>{D(),A()},onFocus:y,onBlur:C},decrementButtonProps:{onPressStart:()=>{R(400),T(window,"contextmenu",$)},onPressEnd:()=>{D(),A()},onFocus:y,onBlur:C}}}var F4={};F4={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var T4={};T4={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var R4={};R4={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var I4={};I4={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var K4={};K4={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var M4={};M4={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var z4={};z4={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var V4={};V4={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var N4={};N4={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var L4={};L4={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var j4={};j4={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var _4={};_4={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var O4={};O4={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var H4={};H4={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var U4={};U4={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var W4={};W4={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var G4={};G4={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var Z4={};Z4={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var q4={};q4={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var Y4={};Y4={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var J4={};J4={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var Q4={};Q4={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var X4={};X4={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var e3={};e3={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var t3={};t3={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var u3={};u3={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var n3={};n3={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var r3={};r3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var a3={};a3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var i3={};i3={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var l3={};l3={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var o3={};o3={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var s3={};s3={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var d3={};d3={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var c3={};c3={"ar-AE":F4,"bg-BG":T4,"cs-CZ":R4,"da-DK":I4,"de-DE":K4,"el-GR":M4,"en-US":z4,"es-ES":V4,"et-EE":N4,"fi-FI":L4,"fr-FR":j4,"he-IL":_4,"hr-HR":O4,"hu-HU":H4,"it-IT":U4,"ja-JP":W4,"ko-KR":G4,"lt-LT":Z4,"lv-LV":q4,"nb-NO":Y4,"nl-NL":J4,"pl-PL":Q4,"pt-BR":X4,"pt-PT":e3,"ro-RO":t3,"ru-RU":u3,"sk-SK":n3,"sl-SI":r3,"sr-SP":a3,"sv-SE":i3,"tr-TR":l3,"uk-UA":o3,"zh-CN":s3,"zh-TW":d3};const bt={top:"top",bottom:"top",left:"left",right:"left"},wr={top:"bottom",bottom:"top",left:"right",right:"left"},x2={top:"left",left:"top"},$i={top:"height",left:"width"},f3={width:"totalWidth",height:"totalHeight"},ur={};let Fe=typeof document<"u"?window.visualViewport:null;function Ro(e){let t=0,u=0,n=0,r=0,a=0,i=0,l={};var s;let d=((s=Fe==null?void 0:Fe.scale)!==null&&s!==void 0?s:1)>1;if(e.tagName==="BODY"){let b=document.documentElement;n=b.clientWidth,r=b.clientHeight;var c;t=(c=Fe==null?void 0:Fe.width)!==null&&c!==void 0?c:n;var f;u=(f=Fe==null?void 0:Fe.height)!==null&&f!==void 0?f:r,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Fe&&(a=Fe.offsetTop,i=Fe.offsetLeft)}else({width:t,height:u,top:a,left:i}=Zu(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(zi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;a=(p=Fe==null?void 0:Fe.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Fe==null?void 0:Fe.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:a,left:i}}function C2(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Io(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[$i[e]],c=n.scroll[bt[e]]+a,f=d+n.scroll[bt[e]]-a,p=t-s+i[e]-n[bt[e]],m=t-s+u+i[e]-n[bt[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function E2(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 Ko(e){if(ur[e])return ur[e];let[t,u]=e.split(" "),n=bt[t]||"right",r=x2[n];bt[u]||(u="center");let a=$i[n],i=$i[r];return ur[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},ur[e]}function Ka(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:h}=n,D={};var v;D[m]=(v=e[m])!==null&&v!==void 0?v:0;var E,y,C,B;f==="center"?D[m]+=(((E=e[h])!==null&&E!==void 0?E:0)-((y=u[h])!==null&&y!==void 0?y:0))/2:f!==m&&(D[m]+=((C=e[h])!==null&&C!==void 0?C:0)-((B=u[h])!==null&&B!==void 0?B:0)),D[m]+=a;const S=e[m]-u[h]+s+d,R=e[m]+e[h]-s-d;if(D[m]=Ya(D[m],S,R),c===p){const $=l?i[b]:t[f3[b]];D[wr[p]]=Math.floor($-e[p]+r)}else D[p]=Math.floor(e[p]+e[b]+r);return D}function B2(e,t,u,n,r,a,i,l){const s=n?u.height:t[f3.height];var d;let c=e.top!=null?u.top+e.top:u.top+(s-((d=e.bottom)!==null&&d!==void 0?d:0)-i);var f,p,m,b,h,D;let v=l!=="top"?Math.max(0,t.height+t.top+((f=t.scroll.top)!==null&&f!==void 0?f:0)-c-(((p=r.top)!==null&&p!==void 0?p:0)+((m=r.bottom)!==null&&m!==void 0?m:0)+a)):Math.max(0,c+i-(t.top+((b=t.scroll.top)!==null&&b!==void 0?b:0))-(((h=r.top)!==null&&h!==void 0?h:0)+((D=r.bottom)!==null&&D!==void 0?D:0)+a));return Math.min(t.height-a*2,v)}function Mo(e,t,u,n,r,a){let{placement:i,axis:l,size:s}=a;var d,c;if(i===l)return Math.max(0,u[l]-e[l]-((d=e.scroll[l])!==null&&d!==void 0?d:0)+t[l]-((c=n[l])!==null&&c!==void 0?c:0)-n[wr[l]]-r);var f;return Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-u[l]-u[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[wr[l]]-r)}function k2(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,h){let D=Ko(e),{size:v,crossAxis:E,crossSize:y,placement:C,crossPlacement:B}=D,S=Ka(t,l,u,D,c,f,d,p,b,h),R=c,$=Mo(l,d,t,r,a+c,D);if(i&&n[v]>$){let X=Ko(`${wr[C]} ${B}`),me=Ka(t,l,u,X,c,f,d,p,b,h);Mo(l,d,t,r,a+c,X)>$&&(D=X,S=me,R=c)}let T="bottom";D.axis==="top"?D.placement==="top"?T="top":D.placement==="bottom"&&(T="bottom"):D.crossAxis==="top"&&(D.crossPlacement==="top"?T="bottom":D.crossPlacement==="bottom"&&(T="top"));let A=Io(E,S[E],u[y],l,s,a,d);S[E]+=A;let k=B2(S,l,d,p,r,a,u.height,T);m&&m<k&&(k=m),u.height=Math.min(u.height,k),S=Ka(t,l,u,D,R,f,d,p,b,h),A=Io(E,S[E],u[y],l,s,a,d),S[E]+=A;let z={},x=t[E]+.5*t[y]-S[E]-r[bt[E]];const w=b/2+h;var V,F,I,P;const K=bt[E]==="left"?((V=r.left)!==null&&V!==void 0?V:0)+((F=r.right)!==null&&F!==void 0?F:0):((I=r.top)!==null&&I!==void 0?I:0)+((P=r.bottom)!==null&&P!==void 0?P:0),j=u[y]-K-b/2-h,L=t[E]+b/2-(S[E]+r[bt[E]]),U=t[E]+t[y]-b/2-(S[E]+r[bt[E]]),Q=Ya(x,L,U);return z[E]=Ya(Q,w,j),{position:S,maxHeight:k,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:D.placement}}function P2(e){let{placement:t,targetNode:u,overlayNode:n,scrollNode:r,padding:a,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,m=n instanceof HTMLElement?S2(n):document.documentElement,b=m===document.documentElement;const h=window.getComputedStyle(m).position;let D=!!h&&h!=="static",v=b?Zu(u):zo(u,m);if(!b){let{marginTop:z,marginLeft:x}=window.getComputedStyle(u);v.top+=parseInt(z,10)||0,v.left+=parseInt(x,10)||0}let E=Zu(n),y=E2(n);var C,B;E.width+=((C=y.left)!==null&&C!==void 0?C:0)+((B=y.right)!==null&&B!==void 0?B:0);var S,R;E.height+=((S=y.top)!==null&&S!==void 0?S:0)+((R=y.bottom)!==null&&R!==void 0?R:0);let $=C2(r),T=Ro(l),A=Ro(m),k=l.tagName==="BODY"?Zu(m):zo(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(A.scroll.top=0,A.scroll.left=0),k2(t,v,E,$,y,a,i,T,A,k,s,d,D,c,f,p)}function Zu(e){let{top:t,left:u,width:n,height:r}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+a-l,left:u+i-s,width:n,height:r}}function zo(e,t){let u=window.getComputedStyle(e),n;if(u.position==="fixed"){let{top:r,left:a,width:i,height:l}=e.getBoundingClientRect();n={top:r,left:a,width:i,height:l}}else{n=Zu(e);let r=Zu(t),a=window.getComputedStyle(t);r.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(u.marginTop,10)||0,n.left-=parseInt(u.marginLeft,10)||0,n}function S2(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Vo(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Vo(t);)t=t.parentElement;return t||document.documentElement}function Vo(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 p3=new WeakMap;function A2(e){let{triggerRef:t,isOpen:u,onClose:n}=e;o.useEffect(()=>{if(!u||n===null)return;let r=a=>{let i=a.target;if(!t.current||i instanceof Node&&!i.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=n||p3.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let Ce=typeof document<"u"?window.visualViewport:null;function m3(e){let{direction:t}=pe(),{arrowSize:u=0,targetRef:n,overlayRef:r,scrollRef:a=r,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:m=!0,onClose:b,maxHeight:h,arrowBoundaryOffset:D=0}=e,[v,E]=o.useState(null),y=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,h,D,u],C=o.useRef(Ce==null?void 0:Ce.scale);o.useEffect(()=>{m&&(C.current=Ce==null?void 0:Ce.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!r.current||!n.current||!d||(Ce==null?void 0:Ce.scale)!==C.current)return;let A=null;if(a.current&&a.current.contains(document.activeElement)){var k;let P=(k=document.activeElement)===null||k===void 0?void 0:k.getBoundingClientRect(),K=a.current.getBoundingClientRect();var z;if(A={type:"top",offset:((z=P==null?void 0:P.top)!==null&&z!==void 0?z:0)-K.top},A.offset>K.height/2){A.type="bottom";var x;A.offset=((x=P==null?void 0:P.bottom)!==null&&x!==void 0?x:0)-K.bottom}}let w=r.current;if(!h&&r.current){var V;w.style.top="0px",w.style.bottom="";var F;w.style.maxHeight=((F=(V=window.visualViewport)===null||V===void 0?void 0:V.height)!==null&&F!==void 0?F:window.innerHeight)+"px"}let I=P2({placement:F2(i,t),overlayNode:r.current,targetNode:n.current,scrollNode:a.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:h,arrowSize:u,arrowBoundaryOffset:D});if(I.position){if(w.style.top="",w.style.bottom="",w.style.left="",w.style.right="",Object.keys(I.position).forEach(P=>w.style[P]=I.position[P]+"px"),w.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",A&&document.activeElement&&a.current){let P=document.activeElement.getBoundingClientRect(),K=a.current.getBoundingClientRect(),j=P[A.type]-K[A.type];a.current.scrollTop+=j-A.offset}E(I)}},y);q(B,y),w2(B),xu({ref:r,onResize:B}),xu({ref:n,onResize:B});let S=o.useRef(!1);q(()=>{let A,k=()=>{S.current=!0,clearTimeout(A),A=setTimeout(()=>{S.current=!1},500),B()},z=()=>{S.current&&k()};return Ce==null||Ce.addEventListener("resize",k),Ce==null||Ce.addEventListener("scroll",z),()=>{Ce==null||Ce.removeEventListener("resize",k),Ce==null||Ce.removeEventListener("scroll",z)}},[B]);let R=o.useCallback(()=>{S.current||b==null||b()},[b,S]);A2({triggerRef:n,isOpen:m,onClose:b&&R});var $,T;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...v==null?void 0:v.position,maxHeight:($=v==null?void 0:v.maxHeight)!==null&&$!==void 0?$:"100vh"}},placement:(T=v==null?void 0:v.placement)!==null&&T!==void 0?T:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v==null?void 0:v.arrowOffsetLeft,top:v==null?void 0:v.arrowOffsetTop}},updatePosition:B}}function w2(e){q(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function F2(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Pt=[];function T2(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>(r&&Pt.push(t),()=>{let b=Pt.indexOf(t);b>=0&&Pt.splice(b,1)}),[r,t]);let s=()=>{Pt[Pt.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&Pt[Pt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(Pt[Pt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};xg({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=ft({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||wg(b.relatedTarget)||(!l||l(b.relatedTarget))&&(u==null||u())}}),m=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:m}}}function b3(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&p3.set(u.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=ne();return{triggerProps:{"aria-haspopup":a,"aria-expanded":r,"aria-controls":r?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const Ma=typeof document<"u"&&window.visualViewport,R2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let nr=0,za;function I2(e={}){let{isDisabled:t}=e;q(()=>{if(!t)return nr++,nr===1&&(Kn()?za=M2():za=K2()),()=>{nr--,nr===0&&za()}},[t])}function K2(){return at(_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"))}function M2(){let e,t,u=d=>{e=Ie(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=_u(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()},r=()=>{t&&t()},a=d=>{let c=d.target;z2(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Ma&&(Ma.height<window.innerHeight?requestAnimationFrame(()=>{No(c)}):Ma.addEventListener("resize",()=>No(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=at(nn(window,"scroll",d),_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"),_u(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=at(nn(document,"touchstart",u,{passive:!1,capture:!0}),nn(document,"touchmove",n,{passive:!1,capture:!0}),nn(document,"touchend",r,{passive:!1,capture:!0}),nn(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function _u(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function nn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function No(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Ie(u);if(n!==document.documentElement&&n!==document.body&&n!==u){let r=n.getBoundingClientRect().top,a=u.getBoundingClientRect().top;a>r+u.clientHeight&&(n.scrollTop+=a-r)}u=n.parentElement}}function z2(e){return e instanceof HTMLInputElement&&!R2.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const gi=o.createContext(null);function V2(e){let{children:t}=e,u=o.useContext(gi),[n,r]=o.useState(0),a=o.useMemo(()=>({parent:u,modalCount:n,addModal(){r(i=>i+1),u&&u.addModal()},removeModal(){r(i=>i-1),u&&u.removeModal()}}),[u,n]);return o.createElement(gi.Provider,{value:a},t)}function N2(){let e=o.useContext(gi);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function L2(e){let{modalProviderProps:t}=N2();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function j2(e){return o.createElement(V2,null,o.createElement(L2,e))}function _2(e){let t=zt(),{portalContainer:u=t?null:document.body,...n}=e;if(o.useEffect(()=>{if(u!=null&&u.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[u]),!u)return null;let r=o.createElement(j2,n);return au.createPortal(r,u)}var h3={};h3={dismiss:"تجاهل"};var $3={};$3={dismiss:"Отхвърляне"};var g3={};g3={dismiss:"Odstranit"};var D3={};D3={dismiss:"Luk"};var y3={};y3={dismiss:"Schließen"};var v3={};v3={dismiss:"Απόρριψη"};var x3={};x3={dismiss:"Dismiss"};var C3={};C3={dismiss:"Descartar"};var E3={};E3={dismiss:"Lõpeta"};var B3={};B3={dismiss:"Hylkää"};var k3={};k3={dismiss:"Rejeter"};var P3={};P3={dismiss:"התעלם"};var S3={};S3={dismiss:"Odbaci"};var A3={};A3={dismiss:"Elutasítás"};var w3={};w3={dismiss:"Ignora"};var F3={};F3={dismiss:"閉じる"};var T3={};T3={dismiss:"무시"};var R3={};R3={dismiss:"Atmesti"};var I3={};I3={dismiss:"Nerādīt"};var K3={};K3={dismiss:"Lukk"};var M3={};M3={dismiss:"Negeren"};var z3={};z3={dismiss:"Zignoruj"};var V3={};V3={dismiss:"Descartar"};var N3={};N3={dismiss:"Dispensar"};var L3={};L3={dismiss:"Revocare"};var j3={};j3={dismiss:"Пропустить"};var _3={};_3={dismiss:"Zrušiť"};var O3={};O3={dismiss:"Opusti"};var H3={};H3={dismiss:"Odbaci"};var U3={};U3={dismiss:"Avvisa"};var W3={};W3={dismiss:"Kapat"};var G3={};G3={dismiss:"Скасувати"};var Z3={};Z3={dismiss:"取消"};var q3={};q3={dismiss:"關閉"};var Y3={};Y3={"ar-AE":h3,"bg-BG":$3,"cs-CZ":g3,"da-DK":D3,"de-DE":y3,"el-GR":v3,"en-US":x3,"es-ES":C3,"et-EE":E3,"fi-FI":B3,"fr-FR":k3,"he-IL":P3,"hr-HR":S3,"hu-HU":A3,"it-IT":w3,"ja-JP":F3,"ko-KR":T3,"lt-LT":R3,"lv-LV":I3,"nb-NO":K3,"nl-NL":M3,"pl-PL":z3,"pt-BR":V3,"pt-PT":N3,"ro-RO":L3,"ru-RU":j3,"sk-SK":_3,"sl-SI":O3,"sr-SP":H3,"sv-SE":U3,"tr-TR":W3,"uk-UA":G3,"zh-CN":Z3,"zh-TW":q3};function O2(e){return e&&e.__esModule?e.default:e}function Lo(e){let{onDismiss:t,...u}=e,n=be(O2(Y3),"@react-aria/overlays"),r=Dt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(nu,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let rn=new WeakMap,Ye=[];function J3(e,t=document.body){let u=new Set(e),n=new Set,r=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(p);let d=p=>{if(u.has(p)||p.parentElement&&n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let m of u)if(p.contains(m))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&&a(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)a(p),p=c.nextNode()}},a=s=>{var d;let c=(d=rn.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),rn.set(s,c+1))};Ye.length&&Ye[Ye.length-1].disconnect(),r(t);let i=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...u,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(u.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")?u.add(c):c instanceof Element&&r(c)}});i.observe(t,{childList:!0,subtree:!0});let l={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return Ye.push(l),()=>{i.disconnect();for(let s of n){let d=rn.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),rn.delete(s)):rn.set(s,d-1))}l===Ye[Ye.length-1]?(Ye.pop(),Ye.length&&Ye[Ye.length-1].observe()):Ye.splice(Ye.indexOf(l),1)}}function H2(e,t){let{triggerRef:u,popoverRef:n,isNonModal:r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=T2({isOpen:t.isOpen&&!l["data-react-aria-top-layer"],onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},n),{overlayProps:c,arrowProps:f,placement:p}=m3({...l,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:r?t.close:null});return I2({isDisabled:r||!t.isOpen}),q(()=>{if(t.isOpen&&!r&&n.current)return J3([n.current])},[r,t.isOpen,n]),{popoverProps:N(s,c),arrowProps:f,underlayProps:d,placement:p}}const U2=o.createContext({});function W2(){var e;return(e=o.useContext(U2))!==null&&e!==void 0?e:{}}const Q3=o.createContext(null);function G2(e){let t=zt(),{portalContainer:u=t?null:document.body,isExiting:n}=e,[r,a]=o.useState(!1),i=o.useMemo(()=>({contain:r,setContain:a}),[r,a]),{getContainer:l}=W2();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(Vn,{restoreFocus:!0,contain:r&&!n},s)),s=o.createElement(Q3.Provider,{value:i},o.createElement(pg,null,s)),au.createPortal(s,u)}function Z2(){let e=o.useContext(Q3),t=e==null?void 0:e.setContain;q(()=>{t==null||t(!0)},[t])}const Xr=new WeakMap;function q2(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function X3(e,t){let u=Xr.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${q2(t)}`}function Di(e){return cr()?e.altKey:e.ctrlKey}const Y2=1e3;function ef(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=J2(i.key);if(!(!l||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))){if(l===" "&&r.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),r.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(r.search,u.focusedKey);s==null&&(s=t.getKeyForSearch(r.search)),s!=null&&(u.setFocusedKey(s),n&&n(s))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},Y2)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function J2(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ea(e){let{selectionManager:t,keyboardDelegate:u,ref:n,autoFocus:r=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:l=!1,selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=n,linkBehavior:b="action"}=e,{direction:h}=pe(),D=Pu(),v=x=>{var w;if(x.altKey&&x.key==="Tab"&&x.preventDefault(),!(!((w=n.current)===null||w===void 0)&&w.contains(x.target)))return;const V=(M,G)=>{if(M!=null){if(t.isLink(M)&&b==="selection"&&s&&!Di(x)){var J;au.flushSync(()=>{t.setFocusedKey(M,G)});let O=(J=m.current)===null||J===void 0?void 0:J.querySelector(`[data-key="${CSS.escape(M.toString())}"]`),Z=t.getItemProps(M);O&&D.open(O,x,Z.href,Z.routerOptions);return}if(t.setFocusedKey(M,G),t.isLink(M)&&b==="override")return;x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&!Di(x)&&t.replaceSelection(M)}};switch(x.key){case"ArrowDown":if(u.getKeyBelow){var F,I,P;let M=t.focusedKey!=null?(F=u.getKeyBelow)===null||F===void 0?void 0:F.call(u,t.focusedKey):(I=u.getFirstKey)===null||I===void 0?void 0:I.call(u);M==null&&a&&(M=(P=u.getFirstKey)===null||P===void 0?void 0:P.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M))}break;case"ArrowUp":if(u.getKeyAbove){var K,j,L;let M=t.focusedKey!=null?(K=u.getKeyAbove)===null||K===void 0?void 0:K.call(u,t.focusedKey):(j=u.getLastKey)===null||j===void 0?void 0:j.call(u);M==null&&a&&(M=(L=u.getLastKey)===null||L===void 0?void 0:L.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M))}break;case"ArrowLeft":if(u.getKeyLeftOf){var U,Q,X;let M=t.focusedKey!=null?(U=u.getKeyLeftOf)===null||U===void 0?void 0:U.call(u,t.focusedKey):null;M==null&&a&&(M=h==="rtl"?(Q=u.getFirstKey)===null||Q===void 0?void 0:Q.call(u,t.focusedKey):(X=u.getLastKey)===null||X===void 0?void 0:X.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M,h==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var me,ie,se;let M=t.focusedKey!=null?(me=u.getKeyRightOf)===null||me===void 0?void 0:me.call(u,t.focusedKey):null;M==null&&a&&(M=h==="rtl"?(ie=u.getLastKey)===null||ie===void 0?void 0:ie.call(u,t.focusedKey):(se=u.getFirstKey)===null||se===void 0?void 0:se.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M,h==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&x.shiftKey)return;x.preventDefault();let M=u.getFirstKey(t.focusedKey,Nu(x));t.setFocusedKey(M),M!=null&&(Nu(x)&&x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&x.shiftKey)return;x.preventDefault();let M=u.getLastKey(t.focusedKey,Nu(x));t.setFocusedKey(M),M!=null&&(Nu(x)&&x.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let M=u.getKeyPageBelow(t.focusedKey);M!=null&&(x.preventDefault(),V(M))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let M=u.getKeyPageAbove(t.focusedKey);M!=null&&(x.preventDefault(),V(M))}break;case"a":Nu(x)&&t.selectionMode==="multiple"&&l!==!0&&(x.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(x.stopPropagation(),x.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(x.shiftKey)n.current.focus();else{let M=Pe(n.current,{tabbable:!0}),G,J;do J=M.lastChild(),J&&(G=J);while(J);G&&!G.contains(document.activeElement)&&Oe(G)}break}}},E=o.useRef({top:0,left:0});st(m,"scroll",p?void 0:()=>{var x,w,V,F;E.current={top:(V=(x=m.current)===null||x===void 0?void 0:x.scrollTop)!==null&&V!==void 0?V:0,left:(F=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&F!==void 0?F:0}});let y=x=>{if(t.isFocused){x.currentTarget.contains(x.target)||t.setFocused(!1);return}if(x.currentTarget.contains(x.target)){if(t.setFocused(!0),t.focusedKey==null){var w,V;let P=j=>{j!=null&&(t.setFocusedKey(j),s&&t.replaceSelection(j))},K=x.relatedTarget;var F,I;K&&x.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?P((F=t.lastSelectedKey)!==null&&F!==void 0?F:(w=u.getLastKey)===null||w===void 0?void 0:w.call(u)):P((I=t.firstSelectedKey)!==null&&I!==void 0?I:(V=u.getFirstKey)===null||V===void 0?void 0:V.call(u))}else!p&&m.current&&(m.current.scrollTop=E.current.top,m.current.scrollLeft=E.current.left);if(t.focusedKey!=null&&m.current){let P=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);P&&(P.contains(document.activeElement)||Oe(P),tu()==="keyboard"&&Ke(P,{containingElement:n.current}))}}},C=x=>{x.currentTarget.contains(x.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);st(n,W$,c?x=>{let{detail:w}=x;x.stopPropagation(),t.setFocused(!0),(w==null?void 0:w.focusStrategy)==="first"&&(B.current=!0)}:void 0);let S=ae(()=>{var x,w;let V=(w=(x=u.getFirstKey)===null||x===void 0?void 0:x.call(u))!==null&&w!==void 0?w:null;if(V==null){var F;(F=n.current)===null||F===void 0||F.dispatchEvent(new CustomEvent(Es,{cancelable:!0,bubbles:!0})),t.collection.size>0&&(B.current=!1)}else t.setFocusedKey(V),B.current=!1});Ol(()=>{B.current&&S()},[t.collection,S]);let R=ae(()=>{t.collection.size>0&&(B.current=!1)});Ol(()=>{R()},[t.focusedKey,R]),st(n,U$,c?x=>{x.stopPropagation(),t.setFocused(!1),t.setFocusedKey(null)}:void 0);const $=o.useRef(r);o.useEffect(()=>{if($.current){var x,w;let I=null;var V;r==="first"&&(I=(V=(x=u.getFirstKey)===null||x===void 0?void 0:x.call(u))!==null&&V!==void 0?V:null);var F;r==="last"&&(I=(F=(w=u.getLastKey)===null||w===void 0?void 0:w.call(u))!==null&&F!==void 0?F:null);let P=t.selectedKeys;if(P.size){for(let K of P)if(t.canSelectItem(K)){I=K;break}}t.setFocused(!0),t.setFocusedKey(I),I==null&&!c&&n.current&&xe(n.current)}},[]);let T=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==T.current||$.current)&&m.current&&n.current){let x=tu(),w=n.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);if(!w)return;(x==="keyboard"||$.current)&&(xs(m.current,w),x!=="virtual"&&Ke(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&T.current!=null&&n.current&&xe(n.current),T.current=t.focusedKey,$.current=!1}),st(n,"react-aria-focus-scope-restore",x=>{x.preventDefault(),t.setFocused(!0)});let A={onKeyDown:v,onFocus:y,onBlur:C,onMouseDown(x){m.current===x.target&&x.preventDefault()}},{typeSelectProps:k}=ef({keyboardDelegate:u,selectionManager:t});d||(A=N(k,A));let z;return c?z=-1:z=t.focusedKey==null?0:-1,{collectionProps:{...A,tabIndex:z}}}function Xu(e){let{id:t,selectionManager:u,key:n,ref:r,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:l,isDisabled:s,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=Pu();t=ne(t);let m=P=>{if(P.pointerType==="keyboard"&&Di(P))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&r.current){let K=u.getItemProps(n);p.open(r.current,P,K.href,K.routerOptions),u.setSelectedKeys(u.selectedKeys);return}else if(f==="override"||f==="none")return}u.selectionMode==="single"?u.isSelected(n)&&!u.disallowEmptySelection?u.toggleSelection(n):u.replaceSelection(n):P&&P.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||P&&(Nu(P)||P.pointerType==="touch"||P.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{if(n===u.focusedKey&&u.isFocused)if(!i)l?l():document.activeElement!==r.current&&r.current&&xe(r.current);else{var K;let j=new CustomEvent(Es,{cancelable:!0,bubbles:!0});(K=r.current)===null||K===void 0||K.dispatchEvent(j)}},[r,n,u.focusedKey,u.childFocusStrategy,u.isFocused,i]),s=s||u.isDisabled(n);let b={};!i&&!s?b={tabIndex:n===u.focusedKey?0:-1,onFocus(P){P.target===r.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=P=>{P.preventDefault()});let h=u.isLink(n)&&f==="override",D=u.isLink(n)&&f!=="selection"&&f!=="none",v=!s&&u.canSelectItem(n)&&!h,E=(d||D)&&!s,y=E&&(u.selectionBehavior==="replace"?!v:!v||u.isEmpty),C=E&&v&&u.selectionBehavior==="replace",B=y||C,S=o.useRef(null),R=B&&v,$=o.useRef(!1),T=o.useRef(!1),A=P=>{if(d&&d(),D&&r.current){let K=u.getItemProps(n);p.open(r.current,P,K.href,K.routerOptions)}},k={};a?(k.onPressStart=P=>{S.current=P.pointerType,$.current=R,P.pointerType==="keyboard"&&(!B||_o())&&m(P)},c?(k.onPressUp=y?void 0:P=>{P.pointerType==="mouse"&&v&&m(P)},k.onPress=y?A:P=>{P.pointerType!=="keyboard"&&P.pointerType!=="mouse"&&v&&m(P)}):k.onPress=P=>{if(y||C&&P.pointerType!=="mouse"){if(P.pointerType==="keyboard"&&!jo())return;A(P)}else P.pointerType!=="keyboard"&&v&&m(P)}):(k.onPressStart=P=>{S.current=P.pointerType,$.current=R,T.current=y,v&&(P.pointerType==="mouse"&&!y||P.pointerType==="keyboard"&&(!E||_o()))&&m(P)},k.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&B&&jo()||P.pointerType==="mouse"&&T.current)&&(B?A(P):v&&m(P))}),b["data-key"]=n,k.preventFocusOnPress=i;let{pressProps:z,isPressed:x}=We(k),w=C?P=>{S.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),A(P))}:void 0,{longPressProps:V}=Os({isDisabled:!R,onLongPress(P){P.pointerType==="touch"&&(m(P),u.setSelectionBehavior("toggle"))}}),F=P=>{S.current==="touch"&&$.current&&P.preventDefault()},I=u.isLink(n)?P=>{Qt.isOpening||P.preventDefault()}:void 0;return{itemProps:N(b,v||y?z:{},R?V:{},{onDoubleClick:w,onDragStartCapture:F,onClick:I,id:t}),isPressed:x,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:v,hasAction:B}}function jo(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function _o(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class yi{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?u.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null;if(!n)return null;let r=u.getBoundingClientRect(),a=n.getBoundingClientRect();return{x:a.left-r.left+u.scrollLeft,y:a.top-r.top+u.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;var u,n;return{width:(u=t==null?void 0:t.scrollWidth)!==null&&u!==void 0?u:0,height:(n=t==null?void 0:t.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let t=this.ref.current;var u,n,r,a;return{x:(u=t==null?void 0:t.scrollLeft)!==null&&u!==void 0?u:0,y:(n=t==null?void 0:t.scrollTop)!==null&&n!==void 0?n:0,width:(r=t==null?void 0:t.offsetWidth)!==null&&r!==void 0?r:0,height:(a=t==null?void 0:t.offsetHeight)!==null&&a!==void 0?a:0}}constructor(t){this.ref=t}}class ru{isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,u){let n=t;for(;n!=null;){let r=this.collection.getItem(n);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return n;n=u(n)}return null}getNextKey(t){let u=t;return u=this.collection.getKeyAfter(u),this.findNextNonDisabled(u,n=>this.collection.getKeyAfter(n))}getPreviousKey(t){let u=t;return u=this.collection.getKeyBefore(u),this.findNextNonDisabled(u,n=>this.collection.getKeyBefore(n))}findKey(t,u,n){let r=t,a=this.layoutDelegate.getItemRect(r);if(!a||r==null)return null;let i=a;do{if(r=u(r),r==null)break;a=this.layoutDelegate.getItemRect(r)}while(a&&n(i,a)&&r!=null);return r}isSameRow(t,u){return t.y===u.y||t.x!==u.x}isSameColumn(t,u){return t.x===u.x||t.y!==u.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getNextKey(u),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getPreviousKey(u),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,u){return u?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let u=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let u=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyAfter(u))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyBefore(u))}getKeyPageAbove(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!vn(u))return this.getFirstKey();let r=t;if(this.orientation==="horizontal"){let a=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>a&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!vn(u))return this.getLastKey();let r=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<a&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u||this.getFirstKey();for(;r!=null;){let a=n.getItem(r);if(!a)return null;let i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return r;r=this.getNextKey(r)}return null}constructor(...t){if(t.length===1){let u=t[0];this.collection=u.collection,this.ref=u.ref,this.collator=u.collator,this.disabledKeys=u.disabledKeys||new Set,this.disabledBehavior=u.disabledBehavior||"all",this.orientation=u.orientation||"vertical",this.direction=u.direction,this.layout=u.layout||"stack",this.layoutDelegate=u.layoutDelegate||new yi(u.ref)}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.layoutDelegate=new yi(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function pl(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=Au({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new ru({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=ea({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function Q2(e,t,u){let n=_(e,{labelable:!0}),r=e.selectionBehavior||"toggle",a=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&a==="action"&&(a="override");let{listProps:i}=pl({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=ft({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=ne(e.id);Xr.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:d,fieldProps:c}=Zc({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:N(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...N(c,i)})}}class X2{build(t,u){return this.context=u,Oo(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:u,items:n}=t;if(o.isValidElement(u)&&u.type===o.Fragment)yield*this.iterateCollection({children:u.props.children,items:n});else if(typeof u=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let r=0;for(let a of n)yield*this.getFullNode({value:a,index:r},{renderer:u}),r++}else{let r=[];o.Children.forEach(u,i=>{i&&r.push(i)});let a=0;for(let i of r){let l=this.getFullNode({element:i,index:a},{});for(let s of l)a++,yield s}}}getKey(t,u,n,r){if(t.key!=null)return t.key;if(u.type==="cell"&&u.key!=null)return`${r}${u.key}`;let a=u.value;if(a!=null){var i;let l=(i=a.key)!==null&&i!==void 0?i:a.id;if(l==null)throw new Error("No key found for item");return l}return r?`${r}.${u.index}`:`$.${u.index}`}getChildState(t,u){return{renderer:u.renderer||t.renderer}}*getFullNode(t,u,n,r){if(o.isValidElement(t.element)&&t.element.type===o.Fragment){let D=[];o.Children.forEach(t.element.props.children,E=>{D.push(E)});var a;let v=(a=t.index)!==null&&a!==void 0?a:0;for(const E of D)yield*this.getFullNode({element:E,index:v++},u,n,r);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let D=this.cache.get(t.value);if(D&&(!D.shouldInvalidate||!D.shouldInvalidate(this.context))){D.index=t.index,D.parentKey=r?r.key:null,yield D;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let D=i.type;if(typeof D!="function"&&typeof D.getCollectionNode!="function"){let C=i.type;throw new Error(`Unknown element <${C}> in collection.`)}let v=D.getCollectionNode(i.props,this.context);var l;let E=(l=t.index)!==null&&l!==void 0?l:0,y=v.next();for(;!y.done&&y.value;){let C=y.value;t.index=E;var s;let B=(s=C.key)!==null&&s!==void 0?s:null;B==null&&(B=C.element?null:this.getKey(i,t,u,n));let R=[...this.getFullNode({...C,key:B,index:E,wrapper:e6(t.wrapper,C.wrapper)},this.getChildState(u,C),n?`${n}${i.key}`:i.key,r)];for(let $ of R){var d,c;$.value=(c=(d=C.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,$.value&&this.cache.set($.value,$);var f;if(t.type&&$.type!==t.type)throw new Error(`Unsupported type <${Va($.type)}> in <${Va((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${Va(t.type)}> is supported.`);E++,yield $}y=v.next(R)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let h={type:t.type,props:t.props,key:t.key,parentKey:r?r.key:null,value:(m=t.value)!==null&&m!==void 0?m:null,level:r?r.level+1:0,index:t.index,rendered:t.rendered,textValue:(b=t.textValue)!==null&&b!==void 0?b:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Oo(function*(){if(!t.hasChildNodes||!t.childNodes)return;let D=0;for(let v of t.childNodes()){v.key!=null&&(v.key=`${h.key}${v.key}`);let E=p.getFullNode({...v,index:D},p.getChildState(u,v),h.key,h);for(let y of E)D++,yield y}})};yield h}constructor(){this.cache=new WeakMap}}function Oo(e){let t=[],u=null;return{*[Symbol.iterator](){for(let n of t)yield n;u||(u=e());for(let n of u)t.push(n),yield n}}}function e6(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function Va(e){return e[0].toUpperCase()+e.slice(1)}function ml(e,t,u){let n=o.useMemo(()=>new X2,[]),{children:r,items:a,collection:i}=e;return o.useMemo(()=>{if(i)return i;let s=n.build({children:r,items:a},u);return t(s)},[n,r,a,i,u,t])}function ve(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Ft(e){return Gt(e,0)}function Gt(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function It(e){let t;for(let u of e)t=u;return t}function Na(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...Ho(e,t),t],r=[...Ho(e,u),u],a=n.slice(0,r.length).findIndex((i,l)=>i!==r[l]);return a!==-1?(t=n[a],u=r[a],t.index-u.index):n.findIndex(i=>i===u)>=0?1:(r.findIndex(i=>i===t)>=0,-1)}function Ho(e,t){let u=[],n=t;for(;(n==null?void 0:n.parentKey)!=null;)n=e.getItem(n.parentKey),n&&u.unshift(n);return u}const Uo=new WeakMap;function bl(e){let t=Uo.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(ve(a,e)):u++};return n(e),Uo.set(e,u),u}function t6(e,t,u){var n,r;let{key:a}=e,i=Xr.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(a);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(a);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:i==null?void 0:i.shouldSelectOnPressUp;var m;let b=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:i==null?void 0:i.shouldFocusOnHover;var h;let D=(h=e.shouldUseVirtualFocus)!==null&&h!==void 0?h:i==null?void 0:i.shouldUseVirtualFocus;var v;let E=(v=e.isVirtualized)!==null&&v!==void 0?v:i==null?void 0:i.isVirtualized,y=rt(),C=rt(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};gt()&&zi()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=y,B["aria-describedby"]=C);let S=t.collection.getItem(a);if(E){let I=Number(S==null?void 0:S.index);B["aria-posinset"]=Number.isNaN(I)?void 0:I+1,B["aria-setsize"]=bl(t.collection)}let R=i!=null&&i.onAction?()=>{var I;return i==null||(I=i.onAction)===null||I===void 0?void 0:I.call(i,a)}:void 0,$=X3(t,a),{itemProps:T,isPressed:A,isFocused:k,hasAction:z,allowsSelection:x}=Xu({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:E,shouldUseVirtualFocus:D,isDisabled:s,onAction:R||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?at(S==null||(r=S.props)===null||r===void 0?void 0:r.onAction,R):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:$}),{hoverProps:w}=De({isDisabled:s||!b,onHoverStart(){eu()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),V=_(S==null?void 0:S.props);delete V.id;let F=Hr(S==null?void 0:S.props);return{optionProps:{...B,...N(V,T,w,F),id:$},labelProps:{id:y},descriptionProps:{id:C},isFocused:k,isFocusVisible:k&&eu(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:x,hasAction:z}}function u6(e){let{heading:t,"aria-label":u}=e,n=ne();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var tf={};tf={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var uf={};uf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var nf={};nf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var rf={};rf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var af={};af={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var lf={};lf={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var of={};of={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var sf={};sf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var df={};df={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var cf={};cf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var ff={};ff={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var pf={};pf={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var mf={};mf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var bf={};bf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var hf={};hf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var $f={};$f={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var gf={};gf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Df={};Df={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var yf={};yf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var vf={};vf={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var xf={};xf={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Cf={};Cf={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Ef={};Ef={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Bf={};Bf={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var kf={};kf={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Pf={};Pf={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Sf={};Sf={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Af={};Af={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var wf={};wf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Ff={};Ff={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Tf={};Tf={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Rf={};Rf={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var If={};If={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Kf={};Kf={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Mf={};Mf={"ar-AE":tf,"bg-BG":uf,"cs-CZ":nf,"da-DK":rf,"de-DE":af,"el-GR":lf,"en-US":of,"es-ES":sf,"et-EE":df,"fi-FI":cf,"fr-FR":ff,"he-IL":pf,"hr-HR":mf,"hu-HU":bf,"it-IT":hf,"ja-JP":$f,"ko-KR":gf,"lt-LT":Df,"lv-LV":yf,"nb-NO":vf,"nl-NL":xf,"pl-PL":Cf,"pt-BR":Ef,"pt-PT":Bf,"ro-RO":kf,"ru-RU":Pf,"sk-SK":Sf,"sl-SI":Af,"sr-SP":wf,"sv-SE":Ff,"tr-TR":Tf,"uk-UA":Rf,"zh-CN":If,"zh-TW":Kf};function n6(e){return e&&e.__esModule?e.default:e}function hl(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=ne(),{triggerProps:l,overlayProps:s}=b3({type:n},t,u),d=m=>{if(!r&&!(a==="longPress"&&!m.altKey)&&u&&u.current)switch(m.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break;default:"continuePropagation"in m&&m.continuePropagation()}},c=be(n6(Mf),"@react-aria/menu"),{longPressProps:f}=Os({isDisabled:r||a!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!r&&t.open(m.pointerType==="virtual"?"first":null)},onPress(m){m.pointerType==="touch"&&!r&&t.toggle()}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?p:f,id:i,onKeyDown:d},menuProps:{...s,"aria-labelledby":i,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const zf=new WeakMap;function r6(e,t,u){let{shouldFocusWrap:n=!0,onKeyDown:r,onKeyUp:a,...i}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=_(e,{labelable:!0}),{listProps:s}=pl({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return zf.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:N(l,{onKeyDown:r,onKeyUp:a},{role:"menu",...s,onKeyDown:d=>{var c;(d.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=s.onKeyDown)===null||c===void 0||c.call(s,d))}})}}function a6(e,t,u){let{id:n,key:r,closeOnSelect:a,isVirtualized:i,"aria-haspopup":l,onPressStart:s,onPressUp:d,onPress:c,onPressChange:f,onPressEnd:p,onHoverStart:m,onHoverChange:b,onHoverEnd:h,onKeyDown:D,onKeyUp:v,onFocus:E,onFocusChange:y,onBlur:C,selectionManager:B=t.selectionManager}=e,S=!!l,R=S&&e["aria-expanded"]==="true";var $;let T=($=e.isDisabled)!==null&&$!==void 0?$:B.isDisabled(r);var A;let k=(A=e.isSelected)!==null&&A!==void 0?A:B.isSelected(r),z=zf.get(t),x=t.collection.getItem(r),w=e.onClose||z.onClose,V=Pu(),F=re=>{var _t;if(!S){if(!(x==null||(_t=x.props)===null||_t===void 0)&&_t.onAction?x.props.onAction():e.onAction&&e.onAction(r),z.onAction){let cu=z.onAction;cu(r)}re.target instanceof HTMLAnchorElement&&x&&V.open(re.target,re,x.props.href,x.props.routerOptions)}},I="menuitem";S||(B.selectionMode==="single"?I="menuitemradio":B.selectionMode==="multiple"&&(I="menuitemcheckbox"));let P=rt(),K=rt(),j=rt(),L={id:n,"aria-disabled":T||void 0,role:I,"aria-label":e["aria-label"],"aria-labelledby":P,"aria-describedby":[K,j].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!S&&(L["aria-checked"]=k),i&&(L["aria-posinset"]=x==null?void 0:x.index,L["aria-setsize"]=bl(t.collection));let U=re=>{re.pointerType==="keyboard"&&F(re),s==null||s(re)},Q=()=>{!S&&w&&(a??(B.selectionMode!=="multiple"||B.isLink(r)))&&w()},X=re=>{re.pointerType==="mouse"&&(F(re),Q()),d==null||d(re)},me=re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&(F(re),Q()),c==null||c(re)},{itemProps:ie,isFocused:se}=Xu({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:z.shouldUseVirtualFocus}),{pressProps:M,isPressed:G}=We({onPressStart:U,onPress:me,onPressUp:X,onPressChange:f,onPressEnd:p,isDisabled:T}),{hoverProps:J}=De({isDisabled:T,onHoverStart(re){!eu()&&!(R&&l==="dialog")&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(re)},onHoverChange:b,onHoverEnd:h}),{keyboardProps:O}=_s({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":!T&&B.selectionMode==="none"&&!S&&a!==!1&&w&&w();break;case"Enter":!T&&a!==!1&&!S&&w&&w();break;default:S||re.continuePropagation(),D==null||D(re);break}},onKeyUp:v}),{focusProps:Z}=Gr({onBlur:C,onFocus:E,onFocusChange:y}),le=_(x==null?void 0:x.props);delete le.id;let qe=Hr(x==null?void 0:x.props);return{menuItemProps:{...L,...N(le,qe,S?{onFocus:ie.onFocus,"data-key":ie["data-key"]}:ie,M,J,O,Z),tabIndex:ie.tabIndex!=null&&R?-1:ie.tabIndex},labelProps:{id:P},descriptionProps:{id:K},keyboardShortcutProps:{id:j},isFocused:se,isSelected:k,isPressed:G,isDisabled:T}}function i6(e){let{heading:t,"aria-label":u}=e,n=ne();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function l6(e){return e&&e.__esModule?e.default:e}function o6(e,t){let{buttonRef:u,popoverRef:n,inputRef:r,listBoxRef:a,keyboardDelegate:i,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:d,isDisabled:c}=e,f=o.useRef(null);u=u??f;let p=be(l6(c3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=hl({type:"listbox",isDisabled:c||d},t,u);Xr.set(t,{id:b.id});let{collection:h}=t,{disabledKeys:D}=t.selectionManager,v=o.useMemo(()=>i||new ru({collection:h,disabledKeys:D,ref:a,layoutDelegate:l}),[i,l,h,D,a]),{collectionProps:E}=ea({selectionManager:t.selectionManager,keyboardDelegate:v,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),y=Pu(),C=O=>{if(!O.nativeEvent.isComposing)switch(O.key){case"Enter":case"Tab":if(t.isOpen&&O.key==="Enter"&&O.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let Z=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(O.key==="Enter"&&Z instanceof HTMLAnchorElement){let le=t.collection.getItem(t.selectionManager.focusedKey);le&&y.open(Z,O,le.props.href,le.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&O.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},B=O=>{var Z;let le=(u==null?void 0:u.current)&&u.current===O.relatedTarget,qe=(Z=n.current)===null||Z===void 0?void 0:Z.contains(O.relatedTarget);le||qe||(e.onBlur&&e.onBlur(O),t.setFocused(!1))},S=O=>{t.isFocused||(e.onFocus&&e.onFocus(O),t.setFocused(!0))},{isInvalid:R,validationErrors:$,validationDetails:T}=t.displayValidation,{labelProps:A,inputProps:k,descriptionProps:z,errorMessageProps:x}=fl({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:at(t.isOpen&&E.onKeyDown,C,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:S,autoComplete:"off",validate:void 0,[uu]:t},r),w=O=>{if(O.pointerType==="touch"){var Z;(Z=r.current)===null||Z===void 0||Z.focus(),t.toggle(null,"manual")}},V=O=>{if(O.pointerType!=="touch"){var Z;(Z=r.current)===null||Z===void 0||Z.focus(),t.toggle(O.pointerType==="keyboard"||O.pointerType==="virtual"?"first":null,"manual")}},F=Dt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),I=Dt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),P=o.useRef(0),K=O=>{if(c||d)return;if(O.timeStamp-P.current<500){var Z;O.preventDefault(),(Z=r.current)===null||Z===void 0||Z.focus();return}let le=O.target.getBoundingClientRect(),qe=O.changedTouches[0],re=Math.ceil(le.left+.5*le.width),_t=Math.ceil(le.top+.5*le.height);if(qe.clientX===re&&qe.clientY===_t){var cu;O.preventDefault(),(cu=r.current)===null||cu===void 0||cu.focus(),t.toggle(null,"manual"),P.current=O.timeStamp}},j=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var L;let U=(L=j==null?void 0:j.parentKey)!==null&&L!==void 0?L:null;var Q;let X=(Q=t.selectionManager.focusedKey)!==null&&Q!==void 0?Q:null,me=o.useRef(U),ie=o.useRef(X);o.useEffect(()=>{if(cr()&&j!=null&&X!=null&&X!==ie.current){let Z=t.selectionManager.isSelected(X),le=U!=null?t.collection.getItem(U):null,qe=(le==null?void 0:le["aria-label"])||(typeof(le==null?void 0:le.rendered)=="string"?le.rendered:"")||"";var O;let re=p.format("focusAnnouncement",{isGroupChange:(O=le&&U!==me.current)!==null&&O!==void 0?O:!1,groupTitle:qe,groupCount:le?[...ve(le,t.collection)].length:0,optionText:j["aria-label"]||j.textValue||"",isSelected:Z});$t(re)}me.current=U,ie.current=X});let se=bl(t.collection),M=o.useRef(se),G=o.useRef(t.isOpen);o.useEffect(()=>{let O=t.isOpen!==G.current&&(t.selectionManager.focusedKey==null||cr());if(t.isOpen&&(O||se!==M.current)){let Z=p.format("countAnnouncement",{optionCount:se});$t(Z)}M.current=se,G.current=t.isOpen});let J=o.useRef(t.selectedKey);return o.useEffect(()=>{if(cr()&&t.isFocused&&t.selectedItem&&t.selectedKey!==J.current){let O=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",Z=p.format("selectedAnnouncement",{optionText:O});$t(Z)}J.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return J3([r.current,n.current].filter(O=>O!=null))},[t.isOpen,r,n]),{labelProps:A,buttonProps:{...m,...F,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:w,onPressStart:V,isDisabled:c||d},inputProps:N(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":j?X3(t,j.key):void 0,onTouchEnd:K,autoCorrect:"off",spellCheck:"false"}),listBoxProps:N(b,I,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:z,errorMessageProps:x,isInvalid:R,validationErrors:$,validationDetails:T}}var Vf={};Vf={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 Nf={};Nf={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 Lf={};Lf={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 jf={};jf={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 _f={};_f={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 Of={};Of={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 Hf={};Hf={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 Uf={};Uf={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 Wf={};Wf={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 Gf={};Gf={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 Zf={};Zf={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 qf={};qf={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 Yf={};Yf={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 Jf={};Jf={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 Qf={};Qf={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 Xf={};Xf={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 ep={};ep={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 tp={};tp={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 up={};up={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 np={};np={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 rp={};rp={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 ap={};ap={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 ip={};ip={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 lp={};lp={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 op={};op={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 sp={};sp={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 dp={};dp={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 cp={};cp={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 fp={};fp={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 pp={};pp={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 mp={};mp={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 bp={};bp={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 hp={};hp={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 $p={};$p={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 _n={};_n={"ar-AE":Vf,"bg-BG":Nf,"cs-CZ":Lf,"da-DK":jf,"de-DE":_f,"el-GR":Of,"en-US":Hf,"es-ES":Uf,"et-EE":Wf,"fi-FI":Gf,"fr-FR":Zf,"he-IL":qf,"hr-HR":Yf,"hu-HU":Jf,"it-IT":Qf,"ja-JP":Xf,"ko-KR":ep,"lt-LT":tp,"lv-LV":up,"nb-NO":np,"nl-NL":rp,"pl-PL":ap,"pt-BR":ip,"pt-PT":lp,"ro-RO":op,"ru-RU":sp,"sk-SK":dp,"sl-SI":cp,"sr-SP":fp,"sv-SE":pp,"tr-TR":mp,"uk-UA":bp,"zh-CN":hp,"zh-TW":$p};function $l(e,t,u){let{direction:n}=pe(),r=o.useMemo(()=>qr(t),[t]),a=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)),!u))switch(s.key){case"ArrowLeft":s.preventDefault(),s.stopPropagation(),n==="rtl"?r.focusNext():r.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),n==="rtl"?r.focusPrevious():r.focusNext();break}},i=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=Pe(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}=We({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return N(l,{onKeyDown:a})}function s6(e){return e&&e.__esModule?e.default:e}const gp=new WeakMap,gn="__role_"+Date.now(),Dp="__focusManager_"+Date.now();function d6(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=lu({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=ft({...e,onFocusWithin(A){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,A)},onBlurWithin:A=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,A)},onFocusWithinChange:e.onFocusChange}),m=be(s6(_n),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",h=t.maxGranularity==="hour"?"time":"date",D=t.value?m.format(b,{[h]:t.formatValue({month:"long"})}):"",v=vt(D),E=e[gn]==="presentation"?s["aria-describedby"]:[v["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,y=e[Dp],C=o.useMemo(()=>y||qr(u),[y,u]),B=$l(t,u,e[gn]==="presentation");gp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:E,focusManager:C});let S=o.useRef(e.autoFocus),R;e[gn]==="presentation"?R={role:"presentation"}:R=N(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":E}),o.useEffect(()=>{S.current&&C.focusFirst(),S.current=!1},[C]),Mn(e.inputRef,t.value,t.setValue),jn({...e,focus(){C.focusFirst()}},t,e.inputRef);let $={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&($.type="text",$.hidden=!0,$.required=e.isRequired,$.onChange=()=>{});let T=_(e);return{labelProps:{...l,onClick:()=>{C.focusFirst()}},fieldProps:N(T,R,B,p,{onKeyDown(A){e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){e.onKeyUp&&e.onKeyUp(A)}}),inputProps:$,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:i}}function c6(e){return e&&e.__esModule?e.default:e}function f6(e,t,u){let n=ne(),r=ne(),a=ne(),i=be(c6(_n),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=lu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=$l(t,u),h=f["aria-labelledby"]||f.id,{locale:D}=pe(),v=t.formatValue(D,{month:"long"}),E=v?i.format("selectedDateDescription",{date:v}):"",y=vt(E),C=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=_(e),S=o.useMemo(()=>qr(u),[u]),{focusWithinProps:R}=ft({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(B,b,f,y,R,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":h,"aria-describedby":C,onKeyDown($){t.isOpen||e.onKeyDown&&e.onKeyDown($)},onKeyUp($){t.isOpen||e.onKeyUp&&e.onKeyUp($)}}),labelProps:{...c,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:a,[gn]:"presentation","aria-describedby":C,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,[uu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:m,buttonProps:{...y,id:n,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${n} ${h}`,"aria-describedby":C,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${h}`},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 p6(e){return e&&e.__esModule?e.default:e}function m6(){let{locale:e}=pe(),t=Td(p6(_n),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new b6(e,t)}},[e,t])}class b6{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function h6(e,t,u){let n=o.useRef(""),{locale:r}=pe(),a=m6(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=gp.get(t),c=e.isPlaceholder?"":e.text,f=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=mt({month:"long",timeZone:f.timeZone}),m=mt({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let P=p.format(t.dateValue);c=P!==c?`${c} – ${P}`:P}else e.type==="hour"&&!e.isPlaceholder&&(c=m.format(t.dateValue));let{spinButtonProps:b}=v2({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="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),h=o.useMemo(()=>new ac(r,{maximumFractionDigits:0}),[r]),D=()=>{if(e.text===e.placeholder&&d.focusPrevious(),h.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let P=e.text.slice(0,-1),K=h.parse(P);P=K===0?"":P,P.length===0||K===0?t.clearSegment(e.type):t.setSegment(e.type,K),n.current=P}else e.type==="dayPeriod"&&t.clearSegment(e.type)},v=P=>{if(P.key==="a"&&(gt()?P.metaKey:P.ctrlKey)&&P.preventDefault(),!(P.ctrlKey||P.metaKey||P.shiftKey||P.altKey))switch(P.key){case"Backspace":case"Delete":P.preventDefault(),P.stopPropagation(),D();break}},{startsWith:E}=ic({sensitivity:"base"}),y=mt({hour:"numeric",hour12:!0}),C=o.useMemo(()=>{let P=new Date;return P.setHours(0),y.formatToParts(P).find(K=>K.type==="dayPeriod").value},[y]),B=o.useMemo(()=>{let P=new Date;return P.setHours(12),y.formatToParts(P).find(K=>K.type==="dayPeriod").value},[y]),S=mt({year:"numeric",era:"narrow",timeZone:"UTC"}),R=o.useMemo(()=>{if(e.type!=="era")return[];let P=he(new Se(1,1,1),t.calendar),K=t.calendar.getEras().map(L=>{let U=P.set({year:1,month:1,day:1,era:L}).toDate("UTC"),X=S.formatToParts(U).find(me=>me.type==="era").value;return{era:L,formatted:X}}),j=$6(K.map(L=>L.formatted));if(j)for(let L of K)L.formatted=L.formatted.slice(j);return K},[S,t.calendar,e.type]),$=P=>{if(t.isDisabled||t.isReadOnly)return;let K=n.current+P;switch(e.type){case"dayPeriod":if(E(C,P))t.setSegment("dayPeriod",0);else if(E(B,P))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let j=R.find(L=>E(L.formatted,P));j&&(t.setSegment("era",j.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!h.isValidPartialNumber(K))return;let j=h.parse(K),L=j,U=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":j>11&&(L=h.parse(P));break;case"h12":U=!1,j>12&&(L=h.parse(P));break}e.value!==void 0&&e.value>=12&&j>1&&(j+=12)}else e.maxValue!==void 0&&j>e.maxValue&&(L=h.parse(P));if(isNaN(j))return;let Q=L!==0||U;Q&&t.setSegment(e.type,L),e.maxValue!==void 0&&(+(j+"0")>e.maxValue||K.length>=String(e.maxValue).length)?(n.current="",Q&&d.focusNext()):n.current=K;break}}},T=()=>{n.current="",u.current&&Ke(u.current,{containingElement:Ie(u.current)});let P=window.getSelection();P==null||P.collapse(u.current)},A=o.useRef(typeof document<"u"?document:null);st(A,"selectionchange",()=>{var P;let K=window.getSelection();K!=null&&K.anchorNode&&(!((P=u.current)===null||P===void 0)&&P.contains(K==null?void 0:K.anchorNode))&&K.collapse(u.current)});let k=o.useRef("");st(u,"beforeinput",P=>{if(u.current)switch(P.preventDefault(),P.inputType){case"deleteContentBackward":case"deleteContentForward":h.isValidPartialNumber(e.text)&&!t.isReadOnly&&D();break;case"insertCompositionText":k.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:P.data!=null&&$(P.data);break}}),st(u,"input",P=>{let{inputType:K,data:j}=P;switch(K){case"insertCompositionText":u.current&&(u.current.textContent=k.current),j!=null&&(E(C,j)||E(B,j))&&$(j);break}}),q(()=>{let P=u.current;return()=>{document.activeElement===P&&(d.focusPrevious()||d.focusNext())}},[u,d]);let z=Kn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},x=o.useMemo(()=>t.segments.find(P=>P.isEditable),[t.segments]);e!==x&&!t.isInvalid&&(s=void 0);let w=ne(),V=!t.isDisabled&&!t.isReadOnly&&e.isEditable,F=e.type==="literal"?"":a.of(e.type),I=Dt({"aria-label":`${F}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:N(b,I,{id:w,...z,"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:V,suppressContentEditableWarning:V,spellCheck:V?"false":void 0,autoCorrect:V?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:V?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!V?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:v,onFocus:T,style:{caretColor:"transparent"},onPointerDown(P){P.stopPropagation()},onMouseDown(P){P.stopPropagation()}})}}function $6(e){e.sort();let t=e[0],u=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==u[n])return n;return 0}function g6(e){return e&&e.__esModule?e.default:e}function D6(e,t,u){var n,r,a;let i=be(g6(_n),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=lu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:h}=pe(),D=t.formatValue(h,{month:"long"}),v=D?i.format("selectedRangeDescription",{startDate:D.start,endDate:D.end}):"",E=vt(v),y={"aria-label":i.format("startDate"),"aria-labelledby":b},C={"aria-label":i.format("endDate"),"aria-labelledby":b},B=ne(),S=ne(),R=$l(t,u),$=[E["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,T=o.useMemo(()=>qr(u,{accept:I=>I.id!==B}),[u,B]),A={[Dp]:T,[gn]:"presentation","aria-describedby":$,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=_(e),{focusWithinProps:z}=ft({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=o.useRef(Zt),w=o.useRef(Zt);var V,F;return{groupProps:N(k,R,f,E,z,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":$,onKeyDown(I){t.isOpen||e.onKeyDown&&e.onKeyDown(I)},onKeyUp(I){t.isOpen||e.onKeyUp&&e.onKeyUp(I)}}),labelProps:{...c,onClick:()=>{T.focusFirst()}},buttonProps:{...E,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":$,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:S,"aria-labelledby":`${B} ${b}`},startFieldProps:{...y,...A,value:(V=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&V!==void 0?V:null,onChange:I=>t.setDateTime("start",I),autoFocus:e.autoFocus,name:e.startName,[uu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(I){x.current=I,t.updateValidation(Fn(I,w.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...C,...A,value:(F=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&F!==void 0?F:null,onChange:I=>t.setDateTime("end",I),name:e.endName,[uu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(I){w.current=I,t.updateValidation(Fn(x.current,I))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:m,calendarProps:{autoFocus:!0,value:!((a=t.dateRange)===null||a===void 0)&&a.start&&t.dateRange.end?t.dateRange:null,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:l,validationErrors:s,validationDetails:d}}function y6(e,t){let{role:u="dialog"}=e,n=rt();n=e["aria-label"]?void 0:n;let r=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){xe(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(r.current=!0,t.current&&(t.current.blur(),xe(t.current)),r.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),Z2(),{dialogProps:{..._(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function v6(e,t,u){let{isDisabled:n}=e,r=ne(),a=ne(),l=!zt()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),au.flushSync(()=>{t.toggle()})},[u,t]);return st(u,"beforematch",l?d:null),q(()=>{s.current&&cancelAnimationFrame(s.current),l&&u.current&&!n&&(t.isExpanded?u.current.removeAttribute("hidden"):u.current.setAttribute("hidden","until-found"))},[n,u,t.isExpanded,l]),o.useEffect(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[]),{buttonProps:{id:r,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":r,"aria-hidden":!t.isExpanded,hidden:l?!0:!t.isExpanded}}}var Ne=function(e){return e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all",e}({});const yp={...Ne,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},x6=gl(yp);x6[7]="all";gl(Ne);const vp={none:"cancel",link:"link",copy:"copy",move:"move"},La=gl(vp);function gl(e){let t={};for(let u in e)t[e[u]]=u;return t}const C6=new Set(["text/plain","text/uri-list","text/html"]),Fr="application/vnd.react-aria.items+json",Tr="application/octet-stream",E6=Symbol();function B6(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function k6(){return B6(Wi())}function Wo(e,t){let u=new Map,n=!1,r=[];for(let a of t){let i=Object.keys(a);i.length>1&&(n=!0);let l={};for(let s of i){let d=u.get(s);d?n=!0:(d=[],u.set(s,d));let c=a[s];l[s]=c,d.push(c)}r.push(l)}for(let[a,i]of u)if(C6.has(a)){let l=i.join(`
18
+ `);e.items.add(l,a)}else e.items.add(i[0],a);if(n){let a=JSON.stringify(r);e.items.add(a,Fr)}}class rr{has(t){return this.includesUnknownTypes||t===E6&&this.types.has(Tr)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let u=!1;for(let n of t.items)n.type!==Fr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Tr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function xp(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Fr))try{let n=e.getData(Fr),r=JSON.parse(n);for(let a of r)t.push({kind:"text",types:new Set(Object.keys(a)),getText:i=>Promise.resolve(a[i])});u=!0}catch{}if(!u){let n=new Map;for(let r of e.items)if(r.kind==="string")n.set(r.type||Tr,e.getData(r.type));else if(r.kind==="file")if(typeof r.webkitGetAsEntry=="function"){let a=r.webkitGetAsEntry();if(!a)continue;a.isFile?t.push(vi(r.getAsFile())):a.isDirectory&&t.push(Cp(a))}else t.push(vi(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function P6(e){return typeof e.text=="function"?e.text():new Promise((t,u)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=u,n.readAsText(e)})}function vi(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Tr,name:e.name,getText:()=>P6(e),getFile:()=>Promise.resolve(e)}}function Cp(e){return{kind:"directory",name:e.name,getEntries:()=>S6(e)}}async function*S6(e){let t=e.createReader(),u;do{u=await new Promise((n,r)=>{t.readEntries(n,r)});for(let n of u)if(n.isFile){let r=await A6(n);yield vi(r)}else n.isDirectory&&(yield Cp(n))}while(u.length>0)}function A6(e){return new Promise((t,u)=>e.file(t,u))}let Ep={draggingKeys:new Set};function w6(e){Ep=e}let Go=Ne.none,Zo=new Map,qo=null,Yo=new Set;function F6(e){return Zo.set(e.element,e),()=>{Zo.delete(e.element)}}function T6(){let[e,t]=o.useState(qo);return o.useEffect(()=>{let u=()=>t(qo);return Yo.add(u),()=>{Yo.delete(u)}},[]),e}var Bp={};Bp={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var kp={};kp={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var Pp={};Pp={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var Sp={};Sp={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var Ap={};Ap={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var wp={};wp={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var Fp={};Fp={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var Tp={};Tp={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al público destinatario donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var Rp={};Rp={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var Ip={};Ip={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var Kp={};Kp={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var Mp={};Mp={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var zp={};zp={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var Vp={};Vp={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var Np={};Np={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var Lp={};Lp={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var jp={};jp={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var _p={};_p={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var Op={};Op={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var Hp={};Hp={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var Up={};Up={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var Wp={};Wp={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var Gp={};Gp={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var Zp={};Zp={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var qp={};qp={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var Yp={};Yp={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var Jp={};Jp={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var Qp={};Qp={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var Xp={};Xp={dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite da biste započeli prevlačenje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropIndicator:"Indikator otpuštanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`};var e0={};e0={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var t0={};t0={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var u0={};u0={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var n0={};n0={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var r0={};r0={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`};var a0={};a0={"ar-AE":Bp,"bg-BG":kp,"cs-CZ":Pp,"da-DK":Sp,"de-DE":Ap,"el-GR":wp,"en-US":Fp,"es-ES":Tp,"et-EE":Rp,"fi-FI":Ip,"fr-FR":Kp,"he-IL":Mp,"hr-HR":zp,"hu-HU":Vp,"it-IT":Np,"ja-JP":Lp,"ko-KR":jp,"lt-LT":_p,"lv-LV":Op,"nb-NO":Hp,"nl-NL":Up,"pl-PL":Wp,"pt-BR":Gp,"pt-PT":Zp,"ro-RO":qp,"ru-RU":Yp,"sk-SK":Jp,"sl-SI":Qp,"sr-SP":Xp,"sv-SE":e0,"tr-TR":t0,"uk-UA":u0,"zh-CN":n0,"zh-TW":r0};function R6(e){return e&&e.__esModule?e.default:e}const I6={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function K6(){let e=be(R6(a0),"@react-aria/dnd"),t=k6(),u=T6();return{dropProps:{...vt(u?e.format(I6[t]):""),onClick:()=>{}}}}const M6=800;function z6(e){let{hasDropButton:t,isDisabled:u}=e,[n,r]=o.useState(!1),a=o.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Ne.all,dropActivateTimer:void 0}).current,i=y=>{if(r(!0),typeof e.onDropEnter=="function"){let C=y.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:y.clientX-C.x,y:y.clientY-C.y})}},l=y=>{if(r(!1),typeof e.onDropExit=="function"){let C=y.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:y.clientX-C.x,y:y.clientY-C.y})}},s=y=>{y.preventDefault(),y.stopPropagation();let C=Jo(y);if(y.clientX===a.x&&y.clientY===a.y&&C===a.allowedOperations){y.dataTransfer.dropEffect=a.dropEffect;return}a.x=y.clientX,a.y=y.clientY;let B=a.dropEffect;if(C!==a.allowedOperations){let S=ja(C),R=S[0];if(typeof e.getDropOperation=="function"){let $=new rr(y.dataTransfer);R=ar(C,e.getDropOperation($,S))}a.dropEffect=La[R]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new rr(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$=ar(C,e.getDropOperationForPoint(S,ja(C),a.x-R.x,a.y-R.y));a.dropEffect=La[$]||"none"}if(a.allowedOperations=C,y.dataTransfer.dropEffect=a.dropEffect,a.dropEffect==="none"&&B!=="none"?l(y):a.dropEffect!=="none"&&B==="none"&&i(y),typeof e.onDropMove=="function"&&a.dropEffect!=="none"){let S=y.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:a.x-S.x,y:a.y-S.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&a.dropEffect!=="none"){let S=e.onDropActivate,R=y.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{S({type:"dropactivate",x:a.x-R.x,y:a.y-R.y})},M6)}},d=y=>{if(y.preventDefault(),y.stopPropagation(),a.dragOverElements.add(y.target),a.dragOverElements.size>1)return;let C=Jo(y),B=ja(C),S=B[0];if(typeof e.getDropOperation=="function"){let R=new rr(y.dataTransfer);S=ar(C,e.getDropOperation(R,B))}if(typeof e.getDropOperationForPoint=="function"){let R=new rr(y.dataTransfer),$=y.currentTarget.getBoundingClientRect();S=ar(C,e.getDropOperationForPoint(R,B,y.clientX-$.x,y.clientY-$.y))}a.x=y.clientX,a.y=y.clientY,a.allowedOperations=C,a.dropEffect=La[S]||"none",y.dataTransfer.dropEffect=a.dropEffect,S!=="cancel"&&i(y)},c=y=>{y.preventDefault(),y.stopPropagation(),a.dragOverElements.delete(y.target);for(let C of a.dragOverElements)y.currentTarget.contains(C)||a.dragOverElements.delete(C);a.dragOverElements.size>0||(a.dropEffect!=="none"&&l(y),clearTimeout(a.dropActivateTimer))},f=y=>{if(y.preventDefault(),y.stopPropagation(),a.dropEffect,typeof e.onDrop=="function"){let B=vp[a.dropEffect],S=xp(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$={type:"drop",x:y.clientX-R.x,y:y.clientY-R.y,items:S,dropOperation:B};e.onDrop($)}let C={...Ep};a.dragOverElements.clear(),l(y),clearTimeout(a.dropActivateTimer),C.draggingCollectionRef==null||w6(C)},p=ae(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),m=ae(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),b=ae(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),h=ae(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),D=ae((y,C)=>e.getDropOperation?e.getDropOperation(y,C):C[0]),{ref:v}=e;q(()=>{if(!(u||!v.current))return F6({element:v.current,getDropOperation:D,onDropEnter(y){r(!0),p(y)},onDropExit(y){r(!1),m(y)},onDrop:h,onDropActivate:b})},[u,v,D,p,m,h,b]);let{dropProps:E}=K6();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&E,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&E},isDropTarget:n}}function Jo(e){let t=yp[e.dataTransfer.effectAllowed];Go&&(t&=Go);let u=Ne.none;return gt()?(e.altKey&&(u|=Ne.copy),e.ctrlKey&&!Mi()&&(u|=Ne.link),e.metaKey&&(u|=Ne.move)):(e.altKey&&(u|=Ne.link),e.shiftKey&&(u|=Ne.move),e.ctrlKey&&(u|=Ne.copy)),u?t&u:t}function ja(e){let t=[];return e&Ne.move&&t.push("move"),e&Ne.copy&&t.push("copy"),e&Ne.link&&t.push("link"),t}function ar(e,t){let u=Ne[t];return e&u?t:"cancel"}const _a=new Map;function Ku(e,t){let u=_a.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},_a.set(e,u),document.addEventListener(e,r)}return u.handlers.add(t),()=>{u.handlers.delete(t),u.handlers.size===0&&(document.removeEventListener(e,u.listener),_a.delete(e))}}function V6(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=Gr({onFocusChange:c=>{u.current=c}}),r=ae(c=>{u.current&&e.getItems&&c.preventDefault()}),a=ae(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;Wo(c.clipboardData,e.getItems()),(f=e.onCopy)===null||f===void 0||f.call(e)}}),i=ae(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=ae(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(Wo(c.clipboardData,e.getItems()),e.onCut()))}),s=ae(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=ae(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=xp(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return at(Ku("beforecopy",r),Ku("copy",a),Ku("beforecut",i),Ku("cut",l),Ku("beforepaste",s),Ku("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const Dl=new WeakMap;function xi(e,t){var u;let{id:n}=(u=Dl.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${N6(t)}`}function N6(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class i0{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findPreviousKey(t,u){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;n=this.collection.getKeyBefore(n)}return null}findNextKey(t,u){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;if(n=this.collection.getKeyAfter(n),n==null)return null}return null}getKeyBelow(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findNextKey(u,s=>s.type==="item"),u!=null){if(this.isCell(n)){var a;let s=this.collection.getItem(u);if(!s)return null;var i,l;return(l=(a=Gt(ve(s,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||a===void 0?void 0:a.key)!==null&&l!==void 0?l:null}if(this.focusMode==="row")return u}return null}getKeyAbove(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findPreviousKey(u,l=>l.type==="item"),u!=null){if(this.isCell(n)){var a;let l=this.collection.getItem(u);if(!l)return null;var i;return((a=Gt(ve(l,this.collection),(i=n.index)!==null&&i!==void 0?i:0))===null||a===void 0?void 0:a.key)||null}if(this.focusMode==="row")return u}return null}getKeyRightOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=ve(u,this.collection);var a;return(a=this.direction==="rtl"?(n=It(c))===null||n===void 0?void 0:n.key:(r=Ft(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?Gt(f,u.index-1):Gt(f,u.index+1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))!==null&&d!==void 0?d:null}return null}getKeyLeftOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=ve(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Ft(c))===null||n===void 0?void 0:n.key:(r=It(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=ve(c,this.collection);var i;let p=(i=this.direction==="rtl"?Gt(f,u.index+1):Gt(f,u.index-1))!==null&&i!==void 0?i:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))!==null&&d!==void 0?d:null}return null}getFirstKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;var i;return(i=(a=Ft(ve(d,this.collection)))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findNextKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;var s;n=(s=(l=Ft(ve(d,this.collection)))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getLastKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var a;let d=this.collection.getItem(r.parentKey);if(!d)return null;let c=ve(d,this.collection);var i;return(i=(a=It(c))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=ve(d,this.collection);var s;n=(s=(l=It(c))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getKeyPageAbove(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&u!=null;){var a;if(u=(a=this.getKeyAbove(u))!==null&&a!==void 0?a:null,u==null)break;n=this.layoutDelegate.getItemRect(u)}return u}getKeyPageBelow(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,a=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<a;){let i=this.getKeyBelow(u);if(i==null)break;n=this.layoutDelegate.getItemRect(i),u=i}return u}getKeyForSearch(t,u){let n=u??null;if(!this.collator)return null;let r=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let a=r.getItem(n);if(!a)return null;var i;a.type==="cell"&&(n=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;n!=null;){let c=r.getItem(n);if(!c)return null;if(c.textValue){let f=c.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){var s,d;return this.isRow(c)&&this.focusMode==="cell"?(d=(s=Ft(ve(c,this.collection)))===null||s===void 0?void 0:s.key)!==null&&d!==void 0?d:null:c.key}}n=this.findNextKey(n,f=>f.type==="item"),n==null&&!l&&(n=this.getFirstKey(),l=!0)}return null}constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new L6(t.layout):new yi(t.ref)),this.focusMode=t.focusMode||"row"}}class L6{getContentSize(){return this.layout.getContentSize()}getItemRect(t){var u;return((u=this.layout.getLayoutInfo(t))===null||u===void 0?void 0:u.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(t){this.layout=t}}const yl=new WeakMap;var l0={};l0={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var o0={};o0={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var s0={};s0={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var d0={};d0={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var c0={};c0={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var f0={};f0={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var p0={};p0={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var m0={};m0={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var b0={};b0={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var h0={};h0={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var $0={};$0={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var g0={};g0={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var D0={};D0={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var y0={};y0={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var v0={};v0={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var x0={};x0={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var C0={};C0={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var E0={};E0={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var B0={};B0={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var k0={};k0={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var P0={};P0={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var S0={};S0={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var A0={};A0={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var w0={};w0={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var F0={};F0={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var T0={};T0={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var R0={};R0={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var I0={};I0={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var K0={};K0={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var M0={};M0={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var z0={};z0={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var V0={};V0={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var N0={};N0={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var L0={};L0={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var ta={};ta={"ar-AE":l0,"bg-BG":o0,"cs-CZ":s0,"da-DK":d0,"de-DE":c0,"el-GR":f0,"en-US":p0,"es-ES":m0,"et-EE":b0,"fi-FI":h0,"fr-FR":$0,"he-IL":g0,"hr-HR":D0,"hu-HU":y0,"it-IT":v0,"ja-JP":x0,"ko-KR":C0,"lt-LT":E0,"lv-LV":B0,"nb-NO":k0,"nl-NL":P0,"pl-PL":S0,"pt-BR":A0,"pt-PT":w0,"ro-RO":F0,"ru-RU":T0,"sk-SK":R0,"sl-SI":I0,"sr-SP":K0,"sv-SE":M0,"tr-TR":z0,"uk-UA":V0,"zh-CN":N0,"zh-TW":L0};function j6(e){return e&&e.__esModule?e.default:e}function j0(e,t){let{getRowText:u=i=>{var l,s,d,c;return(c=(l=(s=t.collection).getTextValue)===null||l===void 0?void 0:l.call(s,i))!==null&&c!==void 0?c:(d=t.collection.getItem(i))===null||d===void 0?void 0:d.textValue}}=e,n=be(j6(ta),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r);$r(()=>{var i;if(!t.selectionManager.isFocused){a.current=r;return}let l=Qo(r,a.current),s=Qo(a.current,r),d=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&d){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let f=u(t.selectionManager.selectedKeys.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}}else if(l.size===1&&s.size===0){let f=u(l.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}else if(s.size===1&&l.size===0&&t.collection.getItem(s.keys().next().value)){let f=u(s.keys().next().value);f&&c.push(n.format("deselectedItem",{item:f}))}t.selectionManager.selectionMode==="multiple"&&(c.length===0||r==="all"||r.size>1||a.current==="all"||((i=a.current)===null||i===void 0?void 0:i.size)>1)&&c.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),c.length>0&&$t(c.join(" ")),a.current=r},[r])}function Qo(e,t){let u=new Set;if(e==="all"||t==="all")return u;for(let n of e.keys())t.has(n)||u.add(n);return u}function _6(e){return e&&e.__esModule?e.default:e}function _0(e){let t=be(_6(ta),"@react-aria/grid"),u=Wi(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,r=o.useMemo(()=>{let i=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return n&&(s=t.format("longPressToSelect")),l==="replace"&&i!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return vt(r)}function O6(e,t,u){let{isVirtualized:n,keyboardDelegate:r,focusMode:a,scrollRef:i,getRowText:l,onRowAction:s,onCellAction:d}=e,{selectionManager:c}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let f=Au({usage:"search",sensitivity:"base"}),{direction:p}=pe(),m=t.selectionManager.disabledBehavior,b=o.useMemo(()=>r||new i0({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:m,ref:u,direction:p,collator:f,focusMode:a}),[r,t.collection,t.disabledKeys,m,u,p,f,a]),{collectionProps:h}=ea({ref:u,selectionManager:c,keyboardDelegate:b,isVirtualized:n,scrollRef:i}),D=ne(e.id);yl.set(t,{keyboardDelegate:b,actions:{onRowAction:s,onCellAction:d}});let v=_0({selectionManager:c,hasItemActions:!!(s||d)}),E=_(e,{labelable:!0}),y=o.useCallback(R=>{if(c.isFocused){R.currentTarget.contains(R.target)||c.setFocused(!1);return}R.currentTarget.contains(R.target)&&c.setFocused(!0)},[c]),C=o.useMemo(()=>({onBlur:h.onBlur,onFocus:y}),[y,h.onBlur]),B=qi(u,{isDisabled:t.collection.size!==0}),S=N(E,{role:"grid",id:D,"aria-multiselectable":c.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?C:h,t.collection.size===0&&{tabIndex:B?-1:0}||void 0,v);return n&&(S["aria-rowcount"]=t.collection.size,S["aria-colcount"]=t.collection.columnCount),j0({getRowText:l},t),{gridProps:S}}function H6(){return{rowGroupProps:{role:"rowgroup"}}}function U6(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=yl.get(t),c=d.onRowAction?()=>{var h;return(h=d.onRowAction)===null||h===void 0?void 0:h.call(d,a.key)}:s,{itemProps:f,...p}=Xu({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:c||!(a==null||(n=a.props)===null||n===void 0)&&n.onAction?at(a==null||(r=a.props)===null||r===void 0?void 0:r.onAction,c):void 0,isDisabled:t.collection.size===0}),m=t.selectionManager.isSelected(a.key),b={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?m:void 0,"aria-disabled":p.isDisabled||void 0,...f};return i&&(b["aria-rowindex"]=a.index+1),{rowProps:b,...p}}function O0(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=pe(),{keyboardDelegate:d,actions:{onCellAction:c}}=yl.get(t),f=o.useRef(null),p=()=>{if(u.current){let y=Pe(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let C=t.selectionManager.childFocusStrategy==="last"?Oa(y):y.firstChild();if(C){xe(C);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&xe(u.current)}},{itemProps:m,isPressed:b}=Xu({selectionManager:t.selectionManager,key:n.key,ref:u,isVirtualized:r,focus:p,shouldSelectOnPressUp:i,onAction:c?()=>c(n.key):l,isDisabled:t.collection.size===0}),v=N(m,{role:"gridcell",onKeyDownCapture:y=>{if(!y.currentTarget.contains(y.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let C=Pe(u.current);switch(C.currentNode=document.activeElement,y.key){case"ArrowLeft":{let A=s==="rtl"?C.nextNode():C.previousNode();if(a==="child"&&A===u.current&&(A=null),y.preventDefault(),y.stopPropagation(),A)xe(A),Ke(A,{containingElement:Ie(u.current)});else{var B;if(((B=d.getKeyLeftOf)===null||B===void 0?void 0:B.call(d,n.key))!==n.key){var S;(S=u.current.parentElement)===null||S===void 0||S.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent));break}a==="cell"&&s==="rtl"?(xe(u.current),Ke(u.current,{containingElement:Ie(u.current)})):(C.currentNode=u.current,A=s==="rtl"?C.firstChild():Oa(C),A&&(xe(A),Ke(A,{containingElement:Ie(u.current)})))}break}case"ArrowRight":{let A=s==="rtl"?C.previousNode():C.nextNode();if(a==="child"&&A===u.current&&(A=null),y.preventDefault(),y.stopPropagation(),A)xe(A),Ke(A,{containingElement:Ie(u.current)});else{var R;if(((R=d.getKeyRightOf)===null||R===void 0?void 0:R.call(d,n.key))!==n.key){var $;($=u.current.parentElement)===null||$===void 0||$.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent));break}a==="cell"&&s==="ltr"?(xe(u.current),Ke(u.current,{containingElement:Ie(u.current)})):(C.currentNode=u.current,A=s==="rtl"?Oa(C):C.firstChild(),A&&(xe(A),Ke(A,{containingElement:Ie(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!y.altKey&&u.current.contains(y.target)){var T;y.stopPropagation(),y.preventDefault(),(T=u.current.parentElement)===null||T===void 0||T.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent))}break}},onFocus:y=>{if(f.current=n.key,y.target!==u.current){eu()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===u.current&&p()})}});var E;return r&&(v["aria-colindex"]=((E=n.colIndex)!==null&&E!==void 0?E:n.index)+1),i&&v.tabIndex!=null&&v.onPointerDown==null&&(v.onPointerDown=y=>{let C=y.currentTarget,B=C.getAttribute("tabindex");C.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&C.setAttribute("tabindex",B)})}),{gridCellProps:v,isPressed:b}}function Oa(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function W6(e){return e&&e.__esModule?e.default:e}function H0(e,t){let{key:u}=e,n=t.selectionManager,r=ne(),a=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=be(W6(ta),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function U0(e,t,u){let{isVirtualized:n,keyboardDelegate:r,layoutDelegate:a,onAction:i,linkBehavior:l="action",keyboardNavigationBehavior:s="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:d}=pl({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:u,keyboardDelegate:r,layoutDelegate:a,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:l}),c=ne(e.id);Dl.set(t,{id:c,onAction:i,linkBehavior:l,keyboardNavigationBehavior:s});let f=_0({selectionManager:t.selectionManager,hasItemActions:!!i}),p=qi(u,{isDisabled:t.collection.size!==0}),m=_(e,{labelable:!0}),b=N(m,{role:"grid",id:c,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:p?-1:0}:d,f);return n&&(b["aria-rowcount"]=t.collection.size,b["aria-colcount"]=1),j0({},t),{gridProps:b}}const Xo={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function W0(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=pe(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=Dl.get(t),p=rt(),m=o.useRef(null),b=()=>{var F;u.current!==null&&(m.current!=null&&a.key!==m.current||!(!((F=u.current)===null||F===void 0)&&F.contains(document.activeElement)))&&xe(u.current)},h={},D,v=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var E,y,C;let F=(E=(y=t.collection).getChildren)===null||E===void 0?void 0:E.call(y,a.key);D=[...F??[]].length>1,d==null&&!v&&t.selectionManager.selectionMode==="none"&&D&&(d=()=>t.toggleKey(a.key));let I=D?t.expandedKeys.has(a.key):void 0,P=1;var B;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let K=t.collection.getItem(a.parentKey);if(K){var S,R;let j=(S=(R=t.collection).getChildren)===null||S===void 0?void 0:S.call(R,K.key);P=It(j).index+1}}else P=((B=(C=[...t.collection].filter(K=>K.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&B!==void 0?B:0)+1;h={"aria-expanded":I,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":P}}let{itemProps:$,...T}=Xu({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=a.props)===null||n===void 0)&&n.onAction?at((r=a.props)===null||r===void 0?void 0:r.onAction,d?()=>d(a.key):void 0):void 0,focus:b,linkBehavior:c}),A=F=>{if(!F.currentTarget.contains(F.target)||!u.current||!document.activeElement)return;let I=Pe(u.current);if(I.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(F.key===Xo.expand[s]&&t.selectionManager.focusedKey===a.key&&D&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}else if(F.key===Xo.collapse[s]&&t.selectionManager.focusedKey===a.key&&D&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}}switch(F.key){case"ArrowLeft":if(f==="arrow"){let K=s==="rtl"?I.nextNode():I.previousNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),Ke(K,{containingElement:Ie(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="rtl")xe(u.current),Ke(u.current,{containingElement:Ie(u.current)});else{I.currentNode=u.current;let j=es(I);j&&(xe(j),Ke(j,{containingElement:Ie(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let K=s==="rtl"?I.previousNode():I.nextNode();if(K)F.preventDefault(),F.stopPropagation(),xe(K),Ke(K,{containingElement:Ie(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="ltr")xe(u.current),Ke(u.current,{containingElement:Ie(u.current)});else{I.currentNode=u.current;let j=es(I);j&&(xe(j),Ke(j,{containingElement:Ie(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!F.altKey&&u.current.contains(F.target)){var P;F.stopPropagation(),F.preventDefault(),(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(F.nativeEvent.type,F.nativeEvent))}break;case"Tab":if(f==="tab"){let K=Pe(u.current,{tabbable:!0});K.currentNode=document.activeElement,(F.shiftKey?K.previousNode():K.nextNode())&&F.stopPropagation()}}},k=F=>{if(m.current=a.key,F.target!==u.current){eu()||t.selectionManager.setFocusedKey(a.key);return}},z=Vi(a.props),x=T.hasAction?z:{},w=N($,x,{role:"row",onKeyDownCapture:A,onFocus:k,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":p&&a.textValue?`${xi(t,a.key)} ${p}`:void 0,id:xi(t,a.key)});i&&(w["aria-rowindex"]=a.index+1);let V={role:"gridcell","aria-colindex":1};return{rowProps:{...N(w,h)},gridCellProps:V,descriptionProps:{id:p},...T}}function es(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function G6(e,t){let{key:u}=e;const{checkboxProps:n}=H0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${xi(t,u)}`}}}const G0=new WeakMap;function Z6(e,t,u){let{value:n,children:r,"aria-label":a,"aria-labelledby":i}=e;const l=e.isDisabled||t.isDisabled;let s=r!=null,d=a!=null||i!=null;!s&&!d&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=$=>{$.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=We({isDisabled:l}),{pressProps:b,isPressed:h}=We({isDisabled:l,onPress(){t.setSelectedValue(n)}}),{focusableProps:D}=Su(N(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),v=N(p,D),E=_(e,{labelable:!0}),y=-1;t.selectedValue!=null?t.selectedValue===n&&(y=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(y=0),l&&(y=void 0);let{name:C,descriptionId:B,errorMessageId:S,validationBehavior:R}=G0.get(t);return Mn(u,t.selectedValue,t.setSelectedValue),jn({validationBehavior:R},t,u),{labelProps:N(b,{onClick:$=>$.preventDefault()}),inputProps:N(E,{...v,type:"radio",name:C,tabIndex:y,disabled:l,required:t.isRequired&&R==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?S:null,B].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:m||h}}function q6(e,t){let{name:u,isReadOnly:n,isRequired:r,isDisabled:a,orientation:i="vertical",validationBehavior:l="aria"}=e,{direction:s}=pe(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:b,errorMessageProps:h}=lu({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),D=_(e,{labelable:!0}),{focusWithinProps:v}=ft({onBlurWithin(C){var B;(B=e.onBlur)===null||B===void 0||B.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),E=C=>{let B;switch(C.key){case"ArrowRight":s==="rtl"&&i!=="vertical"?B="prev":B="next";break;case"ArrowLeft":s==="rtl"&&i!=="vertical"?B="next":B="prev";break;case"ArrowDown":B="next";break;case"ArrowUp":B="prev";break;default:return}C.preventDefault();let S=Pe(C.currentTarget,{from:C.target}),R;B==="next"?(R=S.nextNode(),R||(S.currentNode=C.currentTarget,R=S.firstChild())):(R=S.previousNode(),R||(S.currentNode=C.currentTarget,R=S.lastChild())),R&&(R.focus(),t.setSelectedValue(R.value))},y=ne(u);return G0.set(t,{name:y,descriptionId:b.id,errorMessageId:h.id,validationBehavior:l}),{radioGroupProps:N(D,{role:"radiogroup",onKeyDown:E,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":r||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...v}),labelProps:p,descriptionProps:b,errorMessageProps:h,isInvalid:d,validationErrors:c,validationDetails:f}}var Z0={};Z0={"Clear search":"مسح البحث"};var q0={};q0={"Clear search":"Изчистване на търсене"};var Y0={};Y0={"Clear search":"Vymazat hledání"};var J0={};J0={"Clear search":"Ryd søgning"};var Q0={};Q0={"Clear search":"Suche zurücksetzen"};var X0={};X0={"Clear search":"Απαλοιφή αναζήτησης"};var e1={};e1={"Clear search":"Clear search"};var t1={};t1={"Clear search":"Borrar búsqueda"};var u1={};u1={"Clear search":"Tühjenda otsing"};var n1={};n1={"Clear search":"Tyhjennä haku"};var r1={};r1={"Clear search":"Effacer la recherche"};var a1={};a1={"Clear search":"נקה חיפוש"};var i1={};i1={"Clear search":"Obriši pretragu"};var l1={};l1={"Clear search":"Keresés törlése"};var o1={};o1={"Clear search":"Cancella ricerca"};var s1={};s1={"Clear search":"検索をクリア"};var d1={};d1={"Clear search":"검색 지우기"};var c1={};c1={"Clear search":"Išvalyti iešką"};var f1={};f1={"Clear search":"Notīrīt meklēšanu"};var p1={};p1={"Clear search":"Tøm søk"};var m1={};m1={"Clear search":"Zoekactie wissen"};var b1={};b1={"Clear search":"Wyczyść zawartość wyszukiwania"};var h1={};h1={"Clear search":"Limpar pesquisa"};var $1={};$1={"Clear search":"Limpar pesquisa"};var g1={};g1={"Clear search":"Ştergeţi căutarea"};var D1={};D1={"Clear search":"Очистить поиск"};var y1={};y1={"Clear search":"Vymazať vyhľadávanie"};var v1={};v1={"Clear search":"Počisti iskanje"};var x1={};x1={"Clear search":"Obriši pretragu"};var C1={};C1={"Clear search":"Rensa sökning"};var E1={};E1={"Clear search":"Aramayı temizle"};var B1={};B1={"Clear search":"Очистити пошук"};var k1={};k1={"Clear search":"清除搜索"};var P1={};P1={"Clear search":"清除搜尋條件"};var S1={};S1={"ar-AE":Z0,"bg-BG":q0,"cs-CZ":Y0,"da-DK":J0,"de-DE":Q0,"el-GR":X0,"en-US":e1,"es-ES":t1,"et-EE":u1,"fi-FI":n1,"fr-FR":r1,"he-IL":a1,"hr-HR":i1,"hu-HU":l1,"it-IT":o1,"ja-JP":s1,"ko-KR":d1,"lt-LT":c1,"lv-LV":f1,"nb-NO":p1,"nl-NL":m1,"pl-PL":b1,"pt-BR":h1,"pt-PT":$1,"ro-RO":g1,"ru-RU":D1,"sk-SK":y1,"sl-SI":v1,"sr-SP":x1,"sv-SE":C1,"tr-TR":E1,"uk-UA":B1,"zh-CN":k1,"zh-TW":P1};function Y6(e){return e&&e.__esModule?e.default:e}function J6(e,t,u){let n=be(Y6(S1),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:a,onSubmit:i,onClear:l,type:s="search"}=e,d=v=>{const E=v.key;E==="Enter"&&(r||a)&&v.preventDefault(),!(r||a)&&(E==="Enter"&&i&&(v.preventDefault(),i(t.value)),E==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?v.continuePropagation():(v.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var v;(v=u.current)===null||v===void 0||v.focus()},{labelProps:p,inputProps:m,descriptionProps:b,errorMessageProps:h,...D}=fl({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:at(d,e.onKeyDown),type:s},u);return{labelProps:p,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:r||a,onPress:c,onPressStart:f},descriptionProps:b,errorMessageProps:h,...D}}const A1=new WeakMap;function Q6(e,t,u){let{keyboardDelegate:n,isDisabled:r,isRequired:a,name:i,validationBehavior:l="aria"}=e,s=Au({usage:"search",sensitivity:"base"}),d=o.useMemo(()=>n||new ru(t.collection,t.disabledKeys,u,s),[n,t.collection,t.disabledKeys,s]),{menuTriggerProps:c,menuProps:f}=hl({isDisabled:r,type:"listbox"},t,u),p=$=>{switch($.key){case"ArrowLeft":{var T,A;$.preventDefault();let x=t.selectedKey!=null?(T=d.getKeyAbove)===null||T===void 0?void 0:T.call(d,t.selectedKey):(A=d.getFirstKey)===null||A===void 0?void 0:A.call(d);x&&t.setSelectedKey(x);break}case"ArrowRight":{var k,z;$.preventDefault();let x=t.selectedKey!=null?(k=d.getKeyBelow)===null||k===void 0?void 0:k.call(d,t.selectedKey):(z=d.getFirstKey)===null||z===void 0?void 0:z.call(d);x&&t.setSelectedKey(x);break}}},{typeSelectProps:m}=ef({keyboardDelegate:d,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKey($)}}),{isInvalid:b,validationErrors:h,validationDetails:D}=t.displayValidation,{labelProps:v,fieldProps:E,descriptionProps:y,errorMessageProps:C}=lu({...e,labelElementType:"span",isInvalid:b,errorMessage:e.errorMessage||h});m.onKeyDown=m.onKeyDownCapture,delete m.onKeyDownCapture;let B=_(e,{labelable:!0}),S=N(m,c,E),R=ne();return A1.set(t,{isDisabled:r,isRequired:a,name:i,validationBehavior:l}),{labelProps:{...v,onClick:()=>{if(!e.isDisabled){var $;($=u.current)===null||$===void 0||$.focus(),js("keyboard")}}},triggerProps:N(B,{...S,isDisabled:r,onKeyDown:at(S.onKeyDown,p,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[R,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:R},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[E["aria-labelledby"],S["aria-label"]&&!E["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:y,errorMessageProps:C,isInvalid:b,validationErrors:h,validationDetails:D}}function X6(e,t,u){let n=A1.get(t)||{},{autoComplete:r,name:a=n.name,isDisabled:i=n.isDisabled}=e,{validationBehavior:l,isRequired:s}=n,{visuallyHiddenProps:d}=ou();Mn(e.selectRef,t.selectedKey,t.setSelectedKey),jn({validationBehavior:l,focus:()=>{var f;return(f=u.current)===null||f===void 0?void 0:f.focus()}},t,e.selectRef);var c;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:r,disabled:i,required:l==="native"&&s,name:a,value:(c=t.selectedKey)!==null&&c!==void 0?c:"",onChange:f=>t.setSelectedKey(f.target.value)}}}function ey(e){let{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=X6({...e,selectRef:i},t,u);var d;return t.collection.size<=300?o.createElement("div",{...l,"data-testid":"hidden-select-container"},o.createElement("label",null,n,o.createElement("select",{...s,ref:i},o.createElement("option",null),[...t.collection.getKeys()].map(c=>{let f=t.collection.getItem(c);if(f&&f.type==="item")return o.createElement("option",{key:f.key,value:f.key},f.textValue)})))):r?o.createElement("input",{type:"hidden",autoComplete:s.autoComplete,name:r,disabled:a,value:(d=t.selectedKey)!==null&&d!==void 0?d:""}):null}const vl=new WeakMap;function Ci(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function ty(e,t){let u=vl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Ci(t)}`}function w1(e,t,u){let n=vl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Ci(t)}-${Ci(u)}`}function F1(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>w1(e,t,u)).join(" ")}var T1={};T1={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var R1={};R1={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var I1={};I1={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var K1={};K1={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var M1={};M1={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var z1={};z1={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var V1={};V1={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var N1={};N1={ascending:"de subida",ascendingSort:e=>`ordenado por columna ${e.columnName} en orden de subida`,columnSize:e=>`${e.value} píxeles`,descending:"de bajada",descendingSort:e=>`ordenado por columna ${e.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var L1={};L1={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var j1={};j1={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var _1={};_1={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var O1={};O1={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var H1={};H1={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var U1={};U1={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var W1={};W1={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var G1={};G1={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var Z1={};Z1={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var q1={};q1={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var Y1={};Y1={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var J1={};J1={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var Q1={};Q1={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var X1={};X1={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var em={};em={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var tm={};tm={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var um={};um={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var nm={};nm={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var rm={};rm={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var am={};am={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var im={};im={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var lm={};lm={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var om={};om={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var sm={};sm={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var dm={};dm={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var cm={};cm={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var ua={};ua={"ar-AE":T1,"bg-BG":R1,"cs-CZ":I1,"da-DK":K1,"de-DE":M1,"el-GR":z1,"en-US":V1,"es-ES":N1,"et-EE":L1,"fi-FI":j1,"fr-FR":_1,"he-IL":O1,"hr-HR":H1,"hu-HU":U1,"it-IT":W1,"ja-JP":G1,"ko-KR":Z1,"lt-LT":q1,"lv-LV":Y1,"nb-NO":J1,"nl-NL":Q1,"pl-PL":X1,"pt-BR":em,"pt-PT":tm,"ro-RO":um,"ru-RU":nm,"sk-SK":rm,"sl-SI":am,"sr-SP":im,"sv-SE":lm,"tr-TR":om,"uk-UA":sm,"zh-CN":dm,"zh-TW":cm};class uy extends i0{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){var n;let a=Ft(ve(u,this.collection));if(a)return a.key;let i=this.getFirstKey();if(i==null)return null;let l=this.collection.getItem(i);if(!l)return null;var r;return(r=(n=Gt(ve(l,this.collection),u.index))===null||n===void 0?void 0:n.key)!==null&&r!==void 0?r:null}return super.getKeyBelow(t)}getKeyAbove(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let a=u.parentKey!=null?this.collection.getItem(u.parentKey):null;return a&&a.type==="column"?a.key:null}let n=super.getKeyAbove(t),r=n!=null?this.collection.getItem(n):null;return r&&r.type!=="headerrow"?n:this.isCell(u)?this.collection.columns[u.index].key:this.collection.columns[0].key}findNextColumnKey(t){let u=this.findNextKey(t.key,r=>r.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level];for(let r of ve(n,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(t){let u=this.findPreviousKey(t.key,a=>a.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level],r=[...ve(n,this.collection)];for(let a=r.length-1;a>=0;a--){let i=r[a];if(i.type==="column")return i.key}return null}getKeyRightOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(u):this.findNextColumnKey(u):super.getKeyRightOf(t):null}getKeyLeftOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findNextColumnKey(u):this.findPreviousColumnKey(u):super.getKeyLeftOf(t):null}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u??this.getFirstKey();if(r==null)return null;let a=n.getItem(r);var i;(a==null?void 0:a.type)==="cell"&&(r=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;r!=null;){let s=n.getItem(r);if(!s)return null;for(let d of ve(s,this.collection)){let c=n.columns[d.index];if(n.rowHeaderColumnKeys.has(c.key)&&d.textValue){let f=d.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){let p=u!=null?n.getItem(u):a;return(p==null?void 0:p.type)==="cell"?d.key:s.key}}}r=this.getKeyBelow(r),r==null&&!l&&(r=this.getFirstKey(),l=!0)}return null}}let ny=!1;function Rr(){return ny}function ry(e){return e&&e.__esModule?e.default:e}function ay(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=Au({usage:"search",sensitivity:"base"}),{direction:s}=pe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new uy({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:d,ref:u,direction:s,collator:l,layoutDelegate:a,layout:i}),[n,t.collection,t.disabledKeys,d,u,s,l,a,i]),f=ne(e.id);vl.set(t,f);let{gridProps:p}=O6({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Rr()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},h=be(ry(ua),"@react-aria/table"),D=o.useMemo(()=>{var E,y;let C=(y=(E=t.collection.columns.find(B=>B.key===m))===null||E===void 0?void 0:E.textValue)!==null&&y!==void 0?y:"";return b&&m?h.format(`${b}Sort`,{columnName:C}):void 0},[b,m,t.collection.columns]),v=vt(D);return $r(()=>{D&&$t(D,"assertive",500)},[D]),{gridProps:N(p,v,{"aria-describedby":[v["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function iy(e){return e&&e.__esModule?e.default:e}function ly(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=O0({...e,focusMode:"child"},t,u),s=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=We({isDisabled:!i||s,onPress(){t.sort(a.key)},ref:u}),{focusableProps:c}=Su({},u),f,p=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===a.key,m=(r=t.sortDescriptor)===null||r===void 0?void 0:r.direction;a.props.allowsSorting&&!yn()&&(f=p?m:"none");let b=be(iy(ua),"@react-aria/table"),h;i&&(h=`${b.format("sortable")}`,p&&m&&yn()&&(h=`${h}, ${b.format(m)}`));let D=vt(h),v=t.collection.size===0;return o.useEffect(()=>{v&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,a.key]),{columnHeaderProps:{...N(l,d,c,D,v?{tabIndex:-1}:null),role:"columnheader",id:ty(t,a.key),"aria-colspan":a.colspan&&a.colspan>1?a.colspan:void 0,"aria-sort":f}}}const ts={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function oy(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=U6(e,t,u),{direction:l}=pe();r&&!(Rr()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(Rr()&&"expandedKeys"in t){let B=t.keyMap.get(n.key);if(B!=null){var d,c,f,p,m,b;let S=((d=B.props)===null||d===void 0?void 0:d.UNSTABLE_childItems)||((f=B.props)===null||f===void 0||(c=f.children)===null||c===void 0?void 0:c.length)>t.userColumnCount;var h,D,v,E;s={onKeyDown:R=>{(R.key===ts.expand[l]&&t.selectionManager.focusedKey===B.key&&S&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||R.key===ts.collapse[l]&&t.selectionManager.focusedKey===B.key&&S&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),R.stopPropagation())},"aria-expanded":S?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":((h=B.indexOfType)!==null&&h!==void 0?h:0)+1,"aria-setsize":B.level>1?((v=(p=It((D=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&D!==void 0?D:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&v!==void 0?v:0)+1:((E=(b=It(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&E!==void 0?E:0)+1}}}let y=Vi(n.props),C=i.hasAction?y:{};return{rowProps:{...N(a,s,C),"aria-labelledby":F1(t,n.key)},...i}}function sy(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(Rr()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function dy(e,t,u){var n;let{gridCellProps:r,isPressed:a}=O0(e,t,u),i=(n=e.node.column)===null||n===void 0?void 0:n.key;return i!=null&&t.collection.rowHeaderColumnKeys.has(i)&&(r.role="rowheader",r.id=w1(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function cy(e){return e&&e.__esModule?e.default:e}function fy(e,t){let{key:u}=e;const{checkboxProps:n}=H0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${F1(t,u)}`}}}function py(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":be(cy(ua),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:u,isDisabled:n!=="multiple"||e.collection.size===0,isIndeterminate:!t&&!u,onChange:()=>e.selectionManager.toggleSelectAll()}}}function fm(){return H6()}const pm=new WeakMap;function Ir(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${pm.get(e)}-${u}-${t}`):""}function my(e,t,u){let{key:n,isDisabled:r,shouldSelectOnPressUp:a}=e,{selectionManager:i,selectedKey:l}=t,s=n===l,d=r||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=Xu({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=Ir(t,n,"tab"),m=Ir(t,n,"tabpanel"),{tabIndex:b}=c,h=t.collection.getItem(n),D=_(h==null?void 0:h.props,{labelable:!0});delete D.id;let v=Hr(h==null?void 0:h.props);return{tabProps:N(D,v,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?m:void 0,tabIndex:d?void 0:b,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function by(e,t,u){let n=qi(u)?void 0:0;var r;const a=Ir(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=Dt({...e,id:a,"aria-labelledby":Ir(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:N(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class hy{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var u,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.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}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(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,u,n,r=new Set){this.collection=t,this.flipDirection=u==="rtl"&&n==="horizontal",this.disabledKeys=r,this.tabDirection=n==="horizontal"}}function $y(e,t,u){let{orientation:n="horizontal",keyboardActivation:r="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:l}=t,{direction:s}=pe(),d=o.useMemo(()=>new hy(a,s,n,l),[a,l,n,s]),{collectionProps:c}=ea({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=ne();pm.set(t,f);let p=Dt({...e,id:f});return{tabListProps:{...N(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const mm=new WeakMap;function gy(e,t,u){let{direction:n}=pe(),r=e.keyboardDelegate||new ru({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=lu({...e,labelElementType:"span"}),{gridProps:d}=U0({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=ft({onFocusWithinChange:f}),m=_(e),b=o.useRef(t.collection.size);return o.useEffect(()=>{u.current&&b.current>0&&t.collection.size===0&&c&&u.current.focus(),b.current=t.collection.size},[t.collection.size,c,u]),mm.set(t,{onRemove:e.onRemove}),{gridProps:N(d,m,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...p,...i}),labelProps:a,descriptionProps:l,errorMessageProps:s}}var bm={};bm={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var hm={};hm={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var $m={};$m={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var gm={};gm={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var Dm={};Dm={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var ym={};ym={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var vm={};vm={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var xm={};xm={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var Cm={};Cm={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var Em={};Em={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var Bm={};Bm={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var km={};km={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var Pm={};Pm={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var Sm={};Sm={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var Am={};Am={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var wm={};wm={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var Fm={};Fm={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var Tm={};Tm={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var Rm={};Rm={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var Im={};Im={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var Km={};Km={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var Mm={};Mm={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var zm={};zm={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var Vm={};Vm={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var Nm={};Nm={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var Lm={};Lm={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var jm={};jm={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var _m={};_m={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var Om={};Om={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var Hm={};Hm={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Um={};Um={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Wm={};Wm={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var Gm={};Gm={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var Zm={};Zm={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var qm={};qm={"ar-AE":bm,"bg-BG":hm,"cs-CZ":$m,"da-DK":gm,"de-DE":Dm,"el-GR":ym,"en-US":vm,"es-ES":xm,"et-EE":Cm,"fi-FI":Em,"fr-FR":Bm,"he-IL":km,"hr-HR":Pm,"hu-HU":Sm,"it-IT":Am,"ja-JP":wm,"ko-KR":Fm,"lt-LT":Tm,"lv-LV":Rm,"nb-NO":Im,"nl-NL":Km,"pl-PL":Mm,"pt-BR":zm,"pt-PT":Vm,"ro-RO":Nm,"ru-RU":Lm,"sk-SK":jm,"sl-SI":_m,"sr-SP":Om,"sv-SE":Hm,"tr-TR":Um,"uk-UA":Wm,"zh-CN":Gm,"zh-TW":Zm};function Dy(e){return e&&e.__esModule?e.default:e}function yy(e,t,u){let{item:n}=e,r=be(Dy(qm),"@react-aria/tag"),a=ne(),{onRemove:i}=mm.get(t)||{},{rowProps:l,gridCellProps:s,...d}=W0({node:n},t,u);delete l.onKeyDownCapture;let{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,m=S=>{if(S.key==="Delete"||S.key==="Backspace"){if(p)return;S.preventDefault(),t.selectionManager.isSelected(n.key)?i==null||i(new Set(t.selectionManager.selectedKeys)):i==null||i(new Set([n.key]))}},b=Wi();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let h=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",D=vt(h),v=n.key===t.selectionManager.focusedKey,E=t.selectionManager.focusedKey!=null,y=-1;!p&&(v||!E)&&(y=0);let C=_(n.props),B=Vi(n.props);return{removeButtonProps:{"aria-label":r.format("removeButtonLabel"),"aria-labelledby":`${a} ${l.id}`,isDisabled:p,id:a,onPress:()=>i?i(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:N(l,C,B,{tabIndex:y,onKeyDown:i?m:void 0,"aria-describedby":D["aria-describedby"]}),gridCellProps:N(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}function vy(e,t){let u=_(e,{labelable:!0}),{hoverProps:n}=De({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:N(u,n,{role:"tooltip"})}}function xy(e,t,u){let{isDisabled:n,trigger:r}=e,a=ne(),i=o.useRef(!1),l=o.useRef(!1),s=()=>{(i.current||l.current)&&t.open(l.current)},d=v=>{!i.current&&!l.current&&t.close(v)};o.useEffect(()=>{let v=E=>{u&&u.current&&E.key==="Escape"&&(E.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",v,!0),()=>{document.removeEventListener("keydown",v,!0)}},[u,t]);let c=()=>{r!=="focus"&&(tu()==="pointer"?i.current=!0:i.current=!1,s())},f=()=>{r!=="focus"&&(l.current=!1,i.current=!1,d())},p=()=>{l.current=!1,i.current=!1,d(!0)},m=()=>{eu()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:h}=De({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:D}=Su({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...N(D,h,{onPointerDown:p,onKeyDown:p})},tooltipProps:{id:a}}}const Cy=o.createContext(null),Ey=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Ze=o.createContext({}),dt=Wr(function(t,u){[t,u]=Y(t,u,Ze),t=By(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=lc(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=oe(t),{hoverProps:c,isHovered:f}=De({...t,isDisabled:t.isDisabled||r}),p={isHovered:f,isPressed:(n.isPressed||i)&&!r,isFocused:s,isFocusVisible:d,isDisabled:t.isDisabled||!1,isPending:r??!1},m=H({...t,values:p,defaultClassName:"react-aria-Button"}),b=ne(a.id),h=ne(),D=a["aria-labelledby"];r&&(D?D=`${D} ${h}`:a["aria-label"]&&(D=`${b} ${h}`));let v=o.useRef(r);return o.useEffect(()=>{let E={"aria-labelledby":D||b};(!v.current&&s&&r||v.current&&s&&!r)&&$t(E,"assertive"),v.current=r},[r,s,D,b]),o.createElement("button",{..._(t,{propNames:Ey}),...N(a,l,c),...m,type:a.type==="submit"&&r?"button":a.type,id:b,ref:u,"aria-labelledby":D,slot:t.slot||void 0,"aria-disabled":r?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":d||void 0},o.createElement(Cy.Provider,{value:{id:h}},m.children))});function By(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const Ve=o.createContext({}),na=o.forwardRef(function(t,u){[t,u]=Y(t,u,Ve);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),Et=o.createContext(null),ky=o.forwardRef(function(t,u){let n=o.useContext(Et);return n!=null&&n.isInvalid?o.createElement(Py,{...t,ref:u}):null}),Py=o.forwardRef((e,t)=>{let u=o.useContext(Et),n=_(e),r=H({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(na,{slot:"errorMessage",...n,...r,ref:t})});function qu(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function Ei(e,t,u,n,r){let a={};for(let l in t)a[l]=Math.floor(t[l]/2),a[l]>0&&t[l]%2===0&&a[l]--;let i=yu(e,t,u).subtract(a);return Tn(e,i,t,u,n,r)}function yu(e,t,u,n,r){let a=e;return t.years?a=Xg(e):t.months?a=Eu(e):t.weeks&&(a=Pn(e,u)),Tn(e,a,t,u,n,r)}function Bi(e,t,u,n,r){let a={...t};a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--;let i=yu(e,t,u).subtract(a);return Tn(e,i,t,u,n,r)}function Tn(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=el(t,yu(Le(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=Xi(t,Bi(Le(a),u,n));i&&(t=i)}return t}function Ht(e,t,u){if(t){let n=el(e,Le(t));n&&(e=n)}if(u){let n=Xi(e,Le(u));n&&(e=n)}return e}function Ym(e,t,u){if(!u)return e;for(;e.compare(t)>=0&&u(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function Jm(e){let t=o.useMemo(()=>new nt(e.locale),[e.locale]),u=o.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:r,visibleDuration:a={months:1},minValue:i,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible",firstDayOfWeek:f}=e,p=o.useMemo(()=>r(u.calendar),[r,u.calendar]);var m;let[b,h]=Re(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),D=o.useMemo(()=>b?he(Le(b),p):null,[b,p]),v=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),E=o.useMemo(()=>e.focusedValue?Ht(he(Le(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),y=o.useMemo(()=>Ht(e.defaultFocusedValue?he(Le(e.defaultFocusedValue),p):D||he(Ji(v),p),i,l),[e.defaultFocusedValue,D,v,p,i,l]),[C,B]=Re(E,y,e.onFocusChange),[S,R]=o.useState(()=>{switch(s){case"start":return yu(C,a,n,i,l);case"end":return Bi(C,a,n,i,l);case"center":default:return Ei(C,a,n,i,l)}}),[$,T]=o.useState(e.autoFocus||!1),A=o.useMemo(()=>{let L={...a};return L.days?L.days--:L.days=-1,S.add(L)},[S,a]),[k,z]=o.useState(p.identifier);if(p.identifier!==k){let L=he(C,p);R(Ei(L,a,n,i,l)),B(L),z(p.identifier)}qu(C,i,l)?B(Ht(C,i,l)):C.compare(S)<0?R(Bi(C,a,n,i,l)):C.compare(A)>0&&R(yu(C,a,n,i,l));function x(L){L=Ht(L,i,l),B(L)}function w(L){if(!e.isDisabled&&!e.isReadOnly){let U=L;if(U===null){h(null);return}if(U=Ht(U,i,l),U=Ym(U,S,d),!U)return;U=he(U,(b==null?void 0:b.calendar)||new He),b&&"hour"in b?h(b.set(U)):h(U)}}let V=o.useMemo(()=>D?d&&d(D)?!0:qu(D,i,l):!1,[D,d,i,l]),F=e.isInvalid||e.validationState==="invalid"||V,I=F?"invalid":null,P=o.useMemo(()=>c==="visible"?a:Ha(a),[c,a]);var K,j;return{isDisabled:(K=e.isDisabled)!==null&&K!==void 0?K:!1,isReadOnly:(j=e.isReadOnly)!==null&&j!==void 0?j:!1,value:D,setValue:w,visibleRange:{start:S,end:A},minValue:i,maxValue:l,focusedDate:C,timeZone:v,validationState:I,isValueInvalid:F,setFocusedDate(L){x(L),T(!0)},focusNextDay(){x(C.add({days:1}))},focusPreviousDay(){x(C.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&x(C.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&x(C.subtract({weeks:1}))},focusNextPage(){let L=S.add(P);B(Ht(C.add(P),i,l)),R(yu(Tn(C,L,P,n,i,l),P,n))},focusPreviousPage(){let L=S.subtract(P);B(Ht(C.subtract(P),i,l)),R(yu(Tn(C,L,P,n,i,l),P,n))},focusSectionStart(){a.days?x(S):a.weeks?x(Pn(C,n)):(a.months||a.years)&&x(Eu(C))},focusSectionEnd(){a.days?x(A):a.weeks?x(uD(C,n)):(a.months||a.years)&&x(Cr(C))},focusNextSection(L){if(!L&&!a.days){x(C.add(Ha(a)));return}a.days?this.focusNextPage():a.weeks?x(C.add({months:1})):(a.months||a.years)&&x(C.add({years:1}))},focusPreviousSection(L){if(!L&&!a.days){x(C.subtract(Ha(a)));return}a.days?this.focusPreviousPage():a.weeks?x(C.subtract({months:1})):(a.months||a.years)&&x(C.subtract({years:1}))},selectFocusedDate(){d&&d(C)||w(C)},selectDate(L){w(L)},isFocused:$,setFocused:T,isInvalid(L){return qu(L,i,l)},isSelected(L){return D!=null&&ke(L,D)&&!this.isCellDisabled(L)&&!this.isCellUnavailable(L)},isCellFocused(L){return $&&C&&ke(L,C)},isCellDisabled(L){return e.isDisabled||L.compare(S)<0||L.compare(A)>0||this.isInvalid(L)},isCellUnavailable(L){return e.isDateUnavailable?e.isDateUnavailable(L):!1},isPreviousVisibleRangeInvalid(){let L=S.subtract({days:1});return ke(L,S)||this.isInvalid(L)},isNextVisibleRangeInvalid(){let L=A.add({days:1});return ke(L,A)||this.isInvalid(L)},getDatesInWeek(L,U=S){let Q=U.add({weeks:L}),X=[];Q=Pn(Q,n,f);let me=Yi(Q,n,f);for(let ie=0;ie<me;ie++)X.push(null);for(;X.length<7;){X.push(Q);let ie=Q.add({days:1});if(ke(Q,ie))break;Q=ie}for(;X.length<7;)X.push(null);return X}}}function Ha(e){let t={...e};for(let u in e)t[u]=1;return t}function Sy(e){let{value:t,defaultValue:u,onChange:n,createCalendar:r,locale:a,visibleDuration:i={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Re(t,u||null,n),[p,m]=o.useState(null),b="center";if(c&&c.start&&c.end){let P=Ei(Le(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(P)>0&&(b="start")}let h=o.useRef(null),[D,v]=o.useState(null),E=o.useMemo(()=>el(l,D==null?void 0:D.start),[l,D]),y=o.useMemo(()=>Xi(s,D==null?void 0:D.end),[s,D]),C=Jm({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:E,maxValue:y,selectionAlignment:b}),B=I=>{if(I&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const P=ns(I,C,-1),K=ns(I,C,1);h.current={start:P,end:K},v(h.current)}else h.current=null,v(null)},[S,R]=o.useState(C.visibleRange);(!ii(C.visibleRange.start,S.start)||!ii(C.visibleRange.end,S.end))&&(B(p),R(C.visibleRange));let $=I=>{I?(m(I),B(I)):(m(null),B(null))},T=p?Ua(p,C.focusedDate):c&&Ua(c.start,c.end),A=I=>{if(e.isReadOnly)return;const P=Ht(I,E,y),K=Ym(P,C.visibleRange.start,e.isDateUnavailable);if(K)if(!p)$(K);else{let j=Ua(p,K);j&&f({start:us(j.start,c==null?void 0:c.start),end:us(j.end,c==null?void 0:c.end)}),$(null)}},[k,z]=o.useState(!1),{isDateUnavailable:x}=e,w=o.useMemo(()=>!c||p?!1:x&&(x(c.start)||x(c.end))?!0:qu(c.start,l,s)||qu(c.end,l,s),[x,c,p,l,s]),V=e.isInvalid||e.validationState==="invalid"||w;return{...C,value:c,setValue:f,anchorDate:p,setAnchorDate:$,highlightedRange:T,validationState:V?"invalid":null,isValueInvalid:V,selectFocusedDate(){A(C.focusedDate)},selectDate:A,highlightDate(I){p&&C.setFocusedDate(I)},isSelected(I){return!!(T&&I.compare(T.start)>=0&&I.compare(T.end)<=0&&!C.isCellDisabled(I)&&!C.isCellUnavailable(I))},isInvalid(I){var P,K;return C.isInvalid(I)||qu(I,(P=h.current)===null||P===void 0?void 0:P.start,(K=h.current)===null||K===void 0?void 0:K.end)},isDragging:k,setDragging:z}}function Ua(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Le(e),end:Le(t)})}function us(e,t){return e=he(e,(t==null?void 0:t.calendar)||new He),t&&"hour"in t?t.set(e):e}function ns(e,t,u){let n=e.add({days:u});for(;(u<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:u});if(t.isCellUnavailable(n))return n.add({days:-u})}function Ay(e={}){let[t,u]=Re(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,r=o.useRef(new Map),a=Ct({...e,value:t}),i=a.displayValidation.isInvalid;var l;return{...a,value:t,setValue(d){e.isReadOnly||e.isDisabled||u(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||u(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&u(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?u(t.filter(c=>c!==d)):u(t.concat(d)))},setInvalid(d,c){let f=new Map(r.current);c.isInvalid?f.set(d,c):f.delete(d),r.current=f,a.updateValidation(Fn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class ki{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let u=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let l of i.childNodes)u(l)};for(let i of t)u(i);let n=null,r=0;for(let[i,l]of this.keyMap)n?(n.nextKey=i,l.prevKey=n.key):(this.firstKey=i,l.prevKey=void 0),l.type==="item"&&(l.index=r++),n=l,n.nextKey=void 0;var a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}class ot extends Set{constructor(t,u,n){super(t),t instanceof ot?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function wy(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function On(e){let{selectionMode:t="none",disallowEmptySelection:u=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:a="all"}=e,i=o.useRef(!1),[,l]=o.useState(!1),s=o.useRef(null),d=o.useRef(null),[,c]=o.useState(null),f=o.useMemo(()=>rs(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>rs(e.defaultSelectedKeys,new ot),[e.defaultSelectedKeys]),[m,b]=Re(f,p,e.onSelectionChange),h=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[D,v]=o.useState(r);r==="replace"&&D==="toggle"&&typeof m=="object"&&m.size===0&&v("replace");let E=o.useRef(r);return o.useEffect(()=>{r!==E.current&&(v(r),E.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:D,setSelectionBehavior:v,get isFocused(){return i.current},setFocused(y){i.current=y,l(y)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(y,C="first"){s.current=y,d.current=C,c(y)},selectedKeys:m,setSelectedKeys(y){(n||!wy(y,m))&&b(y)},disabledKeys:h,disabledBehavior:a}}function rs(e,t){return e?e==="all"?"all":new ot(e):t}class ra{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,u){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,u)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let u=this.getKey(t);return u==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(u):this.state.selectedKeys.has(u)}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(),u=this.state.selectedKeys;return this._isSelectAll=t.every(n=>u.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Na(this.collection,r,t)<0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Na(this.collection,r,t)>0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}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}let u=this.getKey(t);if(u==null)return;let n;if(this.state.selectedKeys==="all")n=new ot([u],u,u);else{let i=this.state.selectedKeys;var r;let l=(r=i.anchorKey)!==null&&r!==void 0?r:u;n=new ot(i,l,u);var a;for(let s of this.getKeyRange(l,(a=i.currentKey)!==null&&a!==void 0?a:u))n.delete(s);for(let s of this.getKeyRange(u,l))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(t,u){let n=this.collection.getItem(t),r=this.collection.getItem(u);return n&&r?Na(this.collection,n,r)<=0?this.getKeyRangeInternal(t,u):this.getKeyRangeInternal(u,t):[]}getKeyRangeInternal(t,u){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(t,u);let r=[],a=t;for(;a!=null;){let i=this.collection.getItem(a);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&r.push(a),a===u)return r;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let u=this.collection.getItem(t);if(!u||u.type==="cell"&&this.allowsCellSelection)return t;for(;u&&u.type!=="item"&&u.parentKey!=null;)u=this.collection.getItem(u.parentKey);return!u||u.type!=="item"?null:u.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n=new ot(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(u)?n.delete(u):this.canSelectItem(u)&&(n.add(u),n.anchorKey=u,n.currentKey=u),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let u=this.getKey(t);if(u==null)return;let n=this.canSelectItem(u)?new ot([u],u,u):new ot;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new ot;for(let n of t){let r=this.getKey(n);if(r!=null&&(u.add(r),this.selectionMode==="single"))break}this.state.setSelectedKeys(u)}getSelectAllKeys(){let t=[],u=n=>{for(;n!=null;){if(this.canSelectItem(n)){var r;let i=this.collection.getItem(n);(i==null?void 0:i.type)==="item"&&t.push(n);var a;i!=null&&i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&u((a=(r=Ft(ve(i,this.collection)))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null)}n=this.collection.getKeyAfter(n)}};return u(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 ot)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,u){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||u&&(u.pointerType==="touch"||u.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let u=this.selectedKeys;if(t.size!==u.size)return!1;for(let n of t)if(!u.has(n))return!1;for(let n of u)if(!t.has(n))return!1;return!0}canSelectItem(t){var u;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(u=n.props)===null||u===void 0)&&u.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var u,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled))}isLink(t){var u,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.href)}getItemProps(t){var u;return(u=this.collection.getItem(t))===null||u===void 0?void 0:u.props}constructor(t,u,n){this.collection=t,this.state=u;var r;this.allowsCellSelection=(r=n==null?void 0:n.allowsCellSelection)!==null&&r!==void 0?r:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function aa(e){let{filter:t,layoutDelegate:u}=e,n=On(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(c=>t?new ki(t(c)):new ki(c),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=ml(e,a,i),s=o.useMemo(()=>new ra(l,n,{layoutDelegate:u}),[l,n,u]);const d=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&!l.getItem(n.focusedKey)&&d.current){const v=d.current.getItem(n.focusedKey),E=[...d.current.getKeys()].map($=>{const T=d.current.getItem($);return(T==null?void 0:T.type)==="item"?T:null}).filter($=>$!==null),y=[...l.getKeys()].map($=>{const T=l.getItem($);return(T==null?void 0:T.type)==="item"?T:null}).filter($=>$!==null);var c,f;const C=((c=E==null?void 0:E.length)!==null&&c!==void 0?c:0)-((f=y==null?void 0:y.length)!==null&&f!==void 0?f:0);var p,m,b;let B=Math.min(C>1?Math.max(((p=v==null?void 0:v.index)!==null&&p!==void 0?p:0)-C+1,0):(m=v==null?void 0:v.index)!==null&&m!==void 0?m:0,((b=y==null?void 0:y.length)!==null&&b!==void 0?b:0)-1),S=null,R=!1;for(;B>=0;){if(!s.isDisabled(y[B].key)){S=y[B];break}if(B<y.length-1&&!R)B++;else{R=!0;var h,D;B>((h=v==null?void 0:v.index)!==null&&h!==void 0?h:0)&&(B=(D=v==null?void 0:v.index)!==null&&D!==void 0?D:0),B--}}n.setFocusedKey(S?S.key:null)}d.current=l},[l,s,n,n.focusedKey]),{collection:l,disabledKeys:r,selectionManager:s}}function xl(e){var t;let[u,n]=Re(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),r=o.useMemo(()=>u!=null?[u]:[],[u]),{collection:a,disabledKeys:i,selectionManager:l}=aa({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===u&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=u!=null?a.getItem(u):null;return{collection:a,disabledKeys:i,selectionManager:l,selectedKey:u,setSelectedKey:n,selectedItem:s}}function wu(e){let[t,u]=Re(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isOpen:t,setOpen:u,open:n,close:r,toggle:a}}function Fy(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),m=ue=>{e.onSelectionChange&&e.onSelectionChange(ue),ue===v&&(X(),L())};var b;let{collection:h,selectionManager:D,selectedKey:v,setSelectedKey:E,selectedItem:y,disabledKeys:C}=xl({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var S,R;v==null?B="":B=(R=(S=h.getItem(v))===null||S===void 0?void 0:S.textValue)!==null&&R!==void 0?R:""}let[$,T]=Re(e.inputValue,B,e.onInputChange),A=h,k=o.useMemo(()=>e.items!=null||!u?h:Ty(h,$,u),[h,$,u,e.items]),[z,x]=o.useState(k),w=o.useRef("focus"),F=wu({...e,onOpenChange:ue=>{e.onOpenChange&&e.onOpenChange(ue,ue?w.current:void 0),D.setFocused(ue),ue||D.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),I=(ue=null,ye)=>{let we=ye==="manual"||ye==="focus"&&n==="focus";(r||k.size>0||we&&A.size>0||e.items)&&(we&&!F.isOpen&&e.items===void 0&&s(!0),w.current=ye,p(ue),F.open())},P=(ue=null,ye)=>{let we=ye==="manual"||ye==="focus"&&n==="focus";!(r||k.size>0||we&&A.size>0||e.items)&&!F.isOpen||(we&&!F.isOpen&&e.items===void 0&&s(!0),F.isOpen||(w.current=ye),j(ue))},K=o.useCallback(()=>{x(l?A:k)},[l,A,k]),j=o.useCallback((ue=null)=>{F.isOpen&&K(),p(ue),F.toggle()},[F,K]),L=o.useCallback(()=>{F.isOpen&&(K(),F.close())},[F,K]),[U,Q]=o.useState($),X=()=>{var ue,ye;let we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";Q(we),T(we)};var me,ie;let se=o.useRef((ie=(me=e.selectedKey)!==null&&me!==void 0?me:e.defaultSelectedKey)!==null&&ie!==void 0?ie:null);var M;let G=o.useRef(v!=null&&(M=(t=h.getItem(v))===null||t===void 0?void 0:t.textValue)!==null&&M!==void 0?M:"");o.useEffect(()=>{var ue;d&&(k.size>0||r)&&!F.isOpen&&$!==U&&n!=="manual"&&I(null,"input"),!l&&!r&&F.isOpen&&k.size===0&&L(),v!=null&&v!==se.current&&L(),$!==U&&(D.setFocusedKey(null),s(!1),$===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&E(null)),v!==se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?X():U!==$&&Q($);var ye;let we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";!d&&v!=null&&e.inputValue===void 0&&v===se.current&&G.current!==we&&(Q(we),T(we)),se.current=v,G.current=we});let J=Ct({...e,value:o.useMemo(()=>({inputValue:$,selectedKey:v}),[$,v])}),O=()=>{a&&v==null?Z():le()},Z=()=>{se.current=null,E(null),L()},le=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ue,ye;(ue=e.onSelectionChange)===null||ue===void 0||ue.call(e,v);var we;let Jh=v!=null&&(we=(ye=h.getItem(v))===null||ye===void 0?void 0:ye.textValue)!==null&&we!==void 0?we:"";Q(Jh),L()}else X(),L()};const qe=()=>{if(a){var ue,ye;const we=v!=null&&(ye=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ye!==void 0?ye:"";$===we?le():Z()}else le()};let re=()=>{F.isOpen&&D.focusedKey!=null?v===D.focusedKey?le():E(D.focusedKey):qe()},_t=o.useRef($),cu=ue=>{ue?(_t.current=$,n==="focus"&&!e.isReadOnly&&I(null,"focus")):(i&&qe(),$!==_t.current&&J.commitValidation()),c(ue)},Yh=o.useMemo(()=>F.isOpen?l?A:k:z,[F.isOpen,A,k,l,z]);return{...J,...F,focusStrategy:f,toggle:P,open:I,close:qe,selectionManager:D,selectedKey:v,setSelectedKey:E,disabledKeys:C,isFocused:d,setFocused:cu,selectedItem:y,collection:Yh,inputValue:$,setInputValue:T,commit:re,revert:O}}function Ty(e,t,u){return new ki(Qm(e,e,t,u))}function Qm(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=Qm(e,ve(a,e),u,n);[...i].some(l=>l.type==="item")&&r.push({...a,childNodes:i})}else a.type==="item"&&n(a.textValue,u)?r.push({...a}):a.type!=="item"&&r.push({...a});return r}var Xm={};Xm={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var eb={};eb={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var tb={};tb={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 ub={};ub={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 nb={};nb={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 rb={};rb={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var ab={};ab={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 ib={};ib={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 lb={};lb={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 ob={};ob={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 sb={};sb={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 db={};db={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var cb={};cb={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 fb={};fb={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 pb={};pb={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 mb={};mb={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var bb={};bb={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var hb={};hb={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 $b={};$b={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 gb={};gb={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 Db={};Db={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 yb={};yb={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 vb={};vb={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 xb={};xb={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 Cb={};Cb={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 Eb={};Eb={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Bb={};Bb={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 kb={};kb={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 Pb={};Pb={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 Sb={};Sb={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 Ab={};Ab={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 wb={};wb={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Fb={};Fb={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Tb={};Tb={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Rb={};Rb={"ar-AE":Xm,"bg-BG":eb,"cs-CZ":tb,"da-DK":ub,"de-DE":nb,"el-GR":rb,"en-US":ab,"es-ES":ib,"et-EE":lb,"fi-FI":ob,"fr-FR":sb,"he-IL":db,"hr-HR":cb,"hu-HU":fb,"it-IT":pb,"ja-JP":mb,"ko-KR":bb,"lt-LT":hb,"lv-LV":$b,"nb-NO":gb,"nl-NL":Db,"pl-PL":yb,"pt-BR":vb,"pt-PT":xb,"ro-RO":Cb,"ru-RU":Eb,"sk-SK":Bb,"sl-SI":kb,"sr-SP":Pb,"sv-SE":Sb,"tr-TR":Ab,"uk-UA":wb,"zh-CN":Fb,"zh-TW":Tb};function Ry(e){return e&&e.__esModule?e.default:e}const Ib=new iu(Ry(Rb));function Kb(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Kr(e,t,u,n,r){let a=e!=null&&u!=null&&e.compare(u)>0,i=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=a||i||l,d=[];if(s){let c=Kb(),f=iu.getGlobalDictionaryForPackage("@react-stately/datepicker")||Ib,p=new Fd(c,f),m=new nt(c,Kt({},r)),b=m.resolvedOptions().timeZone;i&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(b))})),a&&u!=null&&d.push(p.format("rangeOverflow",{maxValue:m.format(u.toDate(b))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:i,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function Iy(e,t,u,n,r){var a;let i=Kr((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=Kr((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=Fn(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=iu.getGlobalDictionaryForPackage("@react-stately/datepicker")||Ib;d=Fn(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",Kb())],validationDetails:{...Qr,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const Ky={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},My={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Kt(e,t){e={...t.shouldForceLeadingZeros?My:Ky,...e};let n=t.granularity||"minute",r=Object.keys(e);var a;let i=r.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");i<0&&(i=0);let l=r.indexOf(n);if(l<0&&(l=2),i>l)throw new Error("maxGranularity must be greater than granularity");let s=r.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 Ou(e){return e&&"hour"in e?e:new il}function Mb(e,t){if(e===null)return null;if(e)return he(e,t)}function an(e,t,u,n){if(e)return Mb(e,u);let r=he(Id(n??Qi()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?Le(r):n?r:yt(r)}function Cl(e,t){let u=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[r,a]=o.useState([n,u]);e&&(r[0]!==n||r[1]!==u)&&a([n,u]),t||(t=e?n:r[0]);let i=e?u:r[1];return[t,i]}function zy(e){let t=wu(e),[u,n]=Re(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=Cl(r,e.granularity),l=u!=null?u.toDate(i??"UTC"):null,s=a==="hour"||a==="minute"||a==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=o.useState(null),[m,b]=o.useState(null);if(u&&(f=u,"hour"in u&&(m=u)),r&&!(a in r))throw new Error("Invalid granularity "+a+" for value "+r.toString());let h=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",D=o.useMemo(()=>({granularity:a,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:h}),[a,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,h]),{minValue:v,maxValue:E,isDateUnavailable:y}=e,C=o.useMemo(()=>Kr(u,v,E,y,D),[u,v,E,y,D]),B=Ct({...e,value:u,builtinValidation:C}),S=B.displayValidation.isInvalid,R=e.validationState||(S?"invalid":null),$=(k,z)=>{n("timeZone"in z?z.set(Le(k)):yt(k,z)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let z=typeof c=="function"?c():c;s?m||z?$(k,m||Ou(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),z&&t.setOpen(!1)},setTimeValue:k=>{f&&k?$(f,k):b(k)},granularity:a,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&$(f,m||Ou(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:R,isInvalid:S,formatValue(k,z){if(!l)return"";let x=Kt(z,D);return new nt(k,x).format(l)},getDateFormatter(k,z){let x={...D,...z},w=Kt({},x);return new nt(k,w)}}}const Vy=new iu({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 Ny(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Vy.getStringForLocale(e,u):"––"}const ir={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},as={year:5,month:2,day:7,hour:2,minute:15,second:15},Ly={dayperiod:"dayPeriod"};function jy(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:r=!1,isReadOnly:a=!1,isRequired:i=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=Cl(c,e.granularity),m=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let b=o.useMemo(()=>new nt(t),[t]),h=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var D;let[v,E]=Re(e.value,(D=e.defaultValue)!==null&&D!==void 0?D:null,e.onChange),y=o.useMemo(()=>{var M;return(M=Mb(v,h))!==null&&M!==void 0?M:null},[v,h]),[C,B]=o.useState(()=>an(e.placeholderValue,f,h,p)),S=y||C,R=h.identifier==="gregory"&&S.era==="BC",$=o.useMemo(()=>{var M;return{granularity:f,maxGranularity:(M=e.maxGranularity)!==null&&M!==void 0?M:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:R,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,R]),T=o.useMemo(()=>Kt({},$),[$]),A=o.useMemo(()=>new nt(t,T),[t,T]),k=o.useMemo(()=>A.resolvedOptions(),[A]),z=o.useMemo(()=>A.formatToParts(new Date).filter(M=>ir[M.type]).reduce((M,G)=>(M[G.type]=!0,M),{}),[A]),[x,w]=o.useState(()=>e.value||e.defaultValue?{...z}:{}),V=o.useRef(null),F=o.useRef(h.identifier);o.useEffect(()=>{h.identifier!==F.current&&(F.current=h.identifier,B(M=>Object.keys(x).length>0?he(M,h):an(e.placeholderValue,f,h,p)))},[h,f,x,p,e.placeholderValue]),v&&Object.keys(x).length<Object.keys(z).length&&(x={...z},w(x)),v==null&&Object.keys(x).length===Object.keys(z).length&&(x={},w(x),B(an(e.placeholderValue,f,h,p)));let I=y&&Object.keys(x).length>=Object.keys(z).length?y:C,P=M=>{if(e.isDisabled||e.isReadOnly)return;let G=Object.keys(x),J=Object.keys(z);M==null?(E(null),B(an(e.placeholderValue,f,h,p)),w({})):G.length>=J.length||G.length===J.length-1&&z.dayPeriod&&!x.dayPeriod&&V.current!=="dayPeriod"?(M=he(M,(c==null?void 0:c.calendar)||new He),E(M)):B(M),V.current=null},K=o.useMemo(()=>I.toDate(m),[I,m]),j=o.useMemo(()=>A.formatToParts(K).map(M=>{let G=ir[M.type];M.type==="era"&&h.getEras().length===1&&(G=!1);let J=ir[M.type]&&!x[M.type],O=ir[M.type]?Ny(M.type,M.value,t):null;return{type:Ly[M.type]||M.type,text:J?O:M.value,..._y(I,M.type,k),isPlaceholder:J,placeholder:O,isEditable:G}}),[K,x,A,k,I,h,t]);z.era&&x.year&&!x.era?(x.era=!0,w({...x})):!z.era&&x.era&&(delete x.era,w({...x}));let L=M=>{x[M]=!0,M==="year"&&z.era&&(x.era=!0),w({...x})},U=(M,G)=>{if(x[M])P(Oy(I,M,G,k));else{L(M);let J=Object.keys(x),O=Object.keys(z);(J.length>=O.length||J.length===O.length-1&&z.dayPeriod&&!x.dayPeriod)&&P(I)}},Q=o.useMemo(()=>Kr(v,l,s,d,$),[v,l,s,d,$]),X=Ct({...e,value:v,builtinValidation:Q}),me=X.displayValidation.isInvalid,ie=e.validationState||(me?"invalid":null);var se;return{...X,value:y,dateValue:K,calendar:h,setValue:P,segments:j,dateFormatter:A,validationState:ie,isInvalid:me,granularity:f,maxGranularity:(se=e.maxGranularity)!==null&&se!==void 0?se:"year",isDisabled:r,isReadOnly:a,isRequired:i,increment(M){U(M,1)},decrement(M){U(M,-1)},incrementPage(M){U(M,as[M]||1)},decrementPage(M){U(M,-(as[M]||1))},setSegment(M,G){L(M),P(Hy(I,M,G,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(x),G=Object.keys(z);M.length===G.length-1&&z.dayPeriod&&!x.dayPeriod&&(x={...z},w(x),P(I.copy()))},clearSegment(M){delete x[M],V.current=M,w({...x});let G=an(e.placeholderValue,f,h,p),J=I;if(M==="dayPeriod"&&"hour"in I&&"hour"in G){let O=I.hour>=12,Z=G.hour>=12;O&&!Z?J=I.set({hour:I.hour-12}):!O&&Z&&(J=I.set({hour:I.hour+12}))}else M in I&&(J=I.set({[M]:G[M]}));E(null),P(J)},formatValue(M){if(!y)return"";let G=Kt(M,$);return new nt(t,G).format(K)},getDateFormatter(M,G){let J={...$,...G},O=Kt({},J);return new nt(M,O)}}}function _y(e,t,u){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:eD(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:tD(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(u.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 Oy(e,t,u,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,u,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return e.set({hour:a?r-12:r+12})}case"hour":case"minute":case"second":return e.cycle(t,u,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function Hy(e,t,u,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:u})}if("hour"in e&&typeof u=="number")switch(t){case"dayPeriod":{let r=e.hour,a=r>=12;return u>=12===a?e:e.set({hour:a?r-12:r+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&u===12&&(u=0),a&&u<12&&(u+=12)}case"minute":case"second":return e.set({[t]:u})}throw new Error("Unknown segment: "+t)}function Uy(e){var t,u;let n=wu(e),[r,a]=Re(e.value,e.defaultValue||null,e.onChange),[i,l]=o.useState(()=>r||{start:null,end:null});r==null&&i.start&&i.end&&(i={start:null,end:null},l(i));let s=r||i,d=F=>{l(F||{start:null,end:null}),fu(F)?a(F):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=Cl(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let h=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[D,v]=o.useState(null),[E,y]=o.useState(null);s&&fu(s)&&(D=s,"hour"in s.start&&(E=s));let C=(F,I)=>{d({start:"timeZone"in I.start?I.start.set(Le(F.start)):yt(F.start,I.start),end:"timeZone"in I.end?I.end.set(Le(F.end)):yt(F.end,I.end)}),v(null),y(null),x.commitValidation()},B=F=>{let I=typeof h=="function"?h():h;m?fu(F)&&(E!=null&&E.start)&&(E!=null&&E.end)?C(F,{start:(E==null?void 0:E.start)||Ou(e.placeholderValue),end:(E==null?void 0:E.end)||Ou(e.placeholderValue)}):v(F):fu(F)?(d(F),x.commitValidation()):v(F),I&&n.setOpen(!1)},S=F=>{fu(D)&&fu(F)?C(D,F):y(F)},R=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(u=s.end)===null||u===void 0?void 0:u.calendar.identifier)==="gregory"&&s.end.era==="BC",$=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:R}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,R]),{minValue:T,maxValue:A,isDateUnavailable:k}=e,z=o.useMemo(()=>Iy(s,T,A,k,$),[s,T,A,k,$]),x=Ct({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(F=>F!=null),[e.startName,e.endName]),builtinValidation:z}),w=x.displayValidation.isInvalid,V=e.validationState||(w?"invalid":null);return{...x,value:s,setValue:d,dateRange:D,timeRange:E,granularity:f,hasTime:m,setDate(F,I){var P,K;B(F==="start"?{start:I,end:(P=D==null?void 0:D.end)!==null&&P!==void 0?P:null}:{start:(K=D==null?void 0:D.start)!==null&&K!==void 0?K:null,end:I})},setTime(F,I){var P,K;S(F==="start"?{start:I,end:(P=E==null?void 0:E.end)!==null&&P!==void 0?P:null}:{start:(K=E==null?void 0:E.start)!==null&&K!==void 0?K:null,end:I})},setDateTime(F,I){var P,K;d(F==="start"?{start:I,end:(P=s==null?void 0:s.end)!==null&&P!==void 0?P:null}:{start:(K=s==null?void 0:s.start)!==null&&K!==void 0?K:null,end:I})},setDateRange:B,setTimeRange:S,...n,setOpen(F){!F&&!(s!=null&&s.start&&(s!=null&&s.end))&&fu(D)&&m&&C(D,{start:(E==null?void 0:E.start)||Ou(e.placeholderValue),end:(E==null?void 0:E.end)||Ou(e.placeholderValue)}),n.setOpen(F)},validationState:V,isInvalid:w,formatValue(F,I){if(!s||!s.start||!s.end)return null;let P="timeZone"in s.start?s.start.timeZone:void 0,K=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),j="timeZone"in s.end?s.end.timeZone:void 0,L=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),U=Kt(I,{granularity:K,timeZone:P,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"}),Q=s.start.toDate(P||"UTC"),X=s.end.toDate(j||"UTC"),me=new nt(F,U),ie;if(P===j&&K===L&&s.start.compare(s.end)!==0){try{let se=me.formatRangeToParts(Q,X),M=-1;for(let O=0;O<se.length;O++){let Z=se[O];if(Z.source==="shared"&&Z.type==="literal")M=O;else if(Z.source==="endRange")break}let G="",J="";for(let O=0;O<se.length;O++)O<M?G+=se[O].value:O>M&&(J+=se[O].value);return{start:G,end:J}}catch{}ie=me}else{let se=Kt(I,{granularity:L,timeZone:j,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ie=new nt(F,se)}return{start:me.format(Q),end:ie.format(X)}},getDateFormatter(F,I){let P={...$,...I},K=Kt({},P);return new nt(F,K)}}}function fu(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Wy(e){let[t,u]=Re(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),a=o.useCallback(()=>{u(!t)},[u,t]);return{isExpanded:t,setExpanded:u,expand:n,collapse:r,toggle:a}}function Gy(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,r]=Re(o.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),o.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return o.useEffect(()=>{!t&&n.size>1&&r(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:u,expandedKeys:n,setExpandedKeys:r,toggleKey(a){let i;t?(i=new Set(n),i.has(a)?i.delete(a):i.add(a)):i=new Set(n.has(a)?[]:[a]),r(i)}}}function Zy(e){let{initialItems:t=[],initialSelectedKeys:u,getKey:n=d=>{var c;return(c=d.id)!==null&&c!==void 0?c:d.key},filter:r,initialFilterText:a=""}=e,[i,l]=o.useState({items:t,selectedKeys:u==="all"?"all":new Set(u||[]),filterText:a}),s=o.useMemo(()=>r?i.items.filter(d=>r(d,i.filterText)):i.items,[i.items,i.filterText,r]);return{...i,items:s,...qy({getKey:n},l),getItem(d){return i.items.find(c=>n(c)===d)}}}function qy(e,t){let{cursor:u,getKey:n}=e;return{setSelectedKeys(r){t(a=>({...a,selectedKeys:r}))},setFilterText(r){t(a=>({...a,filterText:r}))},insert(r,...a){t(i=>ln(i,r,...a))},insertBefore(r,...a){t(i=>{let l=i.items.findIndex(s=>(n==null?void 0:n(s))===r);if(l===-1)if(i.items.length===0)l=0;else return i;return ln(i,l,...a)})},insertAfter(r,...a){t(i=>{let l=i.items.findIndex(s=>(n==null?void 0:n(s))===r);if(l===-1)if(i.items.length===0)l=0;else return i;return ln(i,l+1,...a)})},prepend(...r){t(a=>ln(a,0,...r))},append(...r){t(a=>ln(a,a.items.length,...r))},remove(...r){t(a=>{let i=new Set(r),l=a.items.filter(d=>!i.has(n(d))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let d of r)s.delete(d)}return u==null&&l.length===0&&(s=new Set),{...a,items:l,selectedKeys:s}})},removeSelectedItems(){t(r=>{if(r.selectedKeys==="all")return{...r,items:[],selectedKeys:new Set};let a=r.selectedKeys,i=r.items.filter(l=>!a.has(n(l)));return{...r,items:i,selectedKeys:new Set}})},move(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let s=i.items.slice(),[d]=s.splice(l,1);return s.splice(a,0,d),{...i,items:s}})},moveBefore(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let d=(Array.isArray(a)?a:[...a]).map(c=>i.items.findIndex(f=>n(f)===c)).sort((c,f)=>c-f);return is(i,d,l)})},moveAfter(r,a){t(i=>{let l=i.items.findIndex(c=>n(c)===r);if(l===-1)return i;let d=(Array.isArray(a)?a:[...a]).map(c=>i.items.findIndex(f=>n(f)===c)).sort((c,f)=>c-f);return is(i,d,l+1)})},update(r,a){t(i=>{let l=i.items.findIndex(s=>n(s)===r);return l===-1?i:{...i,items:[...i.items.slice(0,l),a,...i.items.slice(l+1)]}})}}}function ln(e,t,...u){return{...e,items:[...e.items.slice(0,t),...u,...e.items.slice(t)]}}function is(e,t,u){u-=t.filter(a=>a<u).length;let n=t.map(a=>({from:a,to:u++}));for(let a=0;a<n.length;a++){let i=n[a].from;for(let l=a;l<n.length;l++)n[l].from>i&&n[l].from--}for(let a=0;a<n.length;a++){let i=n[a];for(let l=n.length-1;l>a;l--){let s=n[l];s.from<i.to?i.to++:s.from++}}let r=e.items.slice();for(let a of n){let[i]=r.splice(a.from,1);r.splice(a.to,0,i)}return{...e,items:r}}function zb(e){let t=wu(e),[u,n]=o.useState(null),[r,a]=o.useState([]),i=()=>{a([]),t.close()};return{focusStrategy:u,...t,open(d=null){n(d),t.open()},toggle(d=null){n(d),t.toggle()},close(){i()},expandedKeysStack:r,openSubmenu:(d,c)=>{a(f=>c>f.length?f:[...f.slice(0,c),d])},closeSubmenu:(d,c)=>{a(f=>f[c]===d?f.slice(0,c):f)}}}let Yy=Math.round(Math.random()*1e10),Jy=0;function Qy(e){let t=o.useMemo(()=>e.name||`radio-group-${Yy}-${++Jy}`,[e.name]);var u;let[n,r]=Re(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[a,i]=o.useState(null),l=Ct({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(r(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function Xy(e){let[t,u]=Re(ls(e.value),ls(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function ls(e){if(e!=null)return e.toString()}function ev(e){let t=wu(e),[u,n]=o.useState(null),r=xl({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=Ct({...e,value:r.selectedKey}),[i,l]=o.useState(!1);return{...a,...r,...t,focusStrategy:u,open(s=null){r.collection.size!==0&&(n(s),t.open())},toggle(s=null){r.collection.size!==0&&(n(s),t.toggle())},isFocused:i,setFocused:l}}function tv(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||On(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=n.setFocusedKey;n.setFocusedKey=(s,d)=>{if(u==="cell"&&s!=null){let b=t.getItem(s);if((b==null?void 0:b.type)==="item"){var c,f;let h=ve(b,t);var p,m;d==="last"?s=(p=(c=It(h))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Ft(h))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new ra(t,n),[t,n]);const l=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&l.current&&!t.getItem(n.focusedKey)){const s=l.current.getItem(n.focusedKey),d=(s==null?void 0:s.parentKey)!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!d){n.setFocusedKey(null);return}const c=l.current.rows,f=t.rows,p=c.length-f.length;let m=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),b=null;for(;m>=0;){if(!i.isDisabled(f[m].key)&&f[m].type!=="headerrow"){b=f[m];break}m<f.length-1?m++:(m>d.index&&(m=d.index),m--)}if(b){const h=b.hasChildNodes?[...ve(b,t)]:[],D=b.hasChildNodes&&d!==s&&s&&s.index<h.length?h[s.index].key:b.key;n.setFocusedKey(D)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:i}}class uv{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t;return(t=[...this.rows][0])===null||t===void 0?void 0:t.key}getLastKey(){var t;let u=[...this.rows];return(t=u[u.length-1])===null||t===void 0?void 0:t.key}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=t==null?void 0:t.columnCount,this.rows=[];let u=f=>{let p=this.keyMap.get(f.key);t.visitNode&&(f=t.visitNode(f)),this.keyMap.set(f.key,f);let m=new Set,b=null;for(let h of f.childNodes)h.type==="cell"&&h.parentKey==null&&(h.parentKey=f.key),m.add(h.key),b?(b.nextKey=h.key,h.prevKey=b.key):h.prevKey=null,u(h),b=h;if(b&&(b.nextKey=null),p)for(let h of p.childNodes)m.has(h.key)||n(h)},n=f=>{this.keyMap.delete(f.key);for(let p of f.childNodes)this.keyMap.get(p.key)===p&&n(p)},r=null;for(let[f,p]of t.items.entries()){var a,i,l,s,d,c;let m={...p,level:(a=p.level)!==null&&a!==void 0?a:0,key:(i=p.key)!==null&&i!==void 0?i:"row-"+f,type:(l=p.type)!==null&&l!==void 0?l:"row",value:(s=p.value)!==null&&s!==void 0?s:null,hasChildNodes:!0,childNodes:[...p.childNodes],rendered:p.rendered,textValue:(d=p.textValue)!==null&&d!==void 0?d:"",index:(c=p.index)!==null&&c!==void 0?c:f};r?(r.nextKey=m.key,m.prevKey=r.key):m.prevKey=null,this.rows.push(m),u(m),r=m}r&&(r.nextKey=null)}}const Vb="row-header-column-"+Math.random().toString(36).slice(2);let Pi="row-header-column-"+Math.random().toString(36).slice(2);for(;Vb===Pi;)Pi="row-header-column-"+Math.random().toString(36).slice(2);function Nb(e,t){if(t.length===0)return[];let u=[],n=new Map;for(let c of t){let f=c.parentKey,p=[c];for(;f;){let m=e.get(f);if(!m)break;if(n.has(m)){var r,a;(a=(r=m).colspan)!==null&&a!==void 0||(r.colspan=0),m.colspan++;let{column:b,index:h}=n.get(m);if(h>p.length)break;for(let D=h;D<p.length;D++)b.splice(D,0,null);for(let D=p.length;D<b.length;D++)b[D]&&n.has(b[D])&&(n.get(b[D]).index=D)}else m.colspan=1,p.push(m),n.set(m,{column:p,index:p.length-1});f=m.parentKey}u.push(p),c.index=u.length-1}let i=Math.max(...u.map(c=>c.length)),l=Array(i).fill(0).map(()=>[]),s=0;for(let c of u){let f=i-1;for(let p of c){if(p){let m=l[f],b=m.reduce((h,D)=>{var v;return h+((v=D.colspan)!==null&&v!==void 0?v:1)},0);if(b<s){let h={type:"placeholder",key:"placeholder-"+p.key,colspan:s-b,index:b,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};m.length>0&&(m[m.length-1].nextKey=h.key,h.prevKey=m[m.length-1].key),m.push(h)}m.length>0&&(m[m.length-1].nextKey=p.key,p.prevKey=m[m.length-1].key),p.level=f,p.colIndex=s,m.push(p)}f--}s++}let d=0;for(let c of l){let f=c.reduce((p,m)=>{var b;return p+((b=m.colspan)!==null&&b!==void 0?b:1)},0);if(f<t.length){let p={type:"placeholder",key:"placeholder-"+c[c.length-1].key,colspan:t.length-f,index:f,value:null,rendered:null,level:d,hasChildNodes:!1,childNodes:[],textValue:"",prevKey:c[c.length-1].key};c.push(p)}d++}return l.map((c,f)=>({type:"headerrow",key:"headerrow-"+f,index:f,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:c,textValue:""}))}class nv extends uv{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t,u;return(u=(t=Ft(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=It(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys;if(n){let r=[];for(let a of u.childNodes){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}return""}constructor(t,u,n){let r=new Set,a=null,i=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:Vb,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:Pi,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(f)}let l=[],s=new Map,d=f=>{switch(f.type){case"body":a=f;break;case"column":s.set(f.key,f),f.hasChildNodes||(i.push(f),f.props.isRowHeader&&r.add(f.key));break;case"item":l.push(f);return}for(let p of f.childNodes)d(p)};for(let f of t)d(f);let c=Nb(s,i);if(c.forEach((f,p)=>l.splice(p,0,f)),super({columnCount:i.length,items:l,visitNode:f=>(f.column=i[f.index],f)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=r,this.body=a,this.headerRows=c,this._size=[...a.childNodes].length,this.rowHeaderColumnKeys.size===0){let f=this.columns.find(p=>{var m,b;return!(!((m=p.props)===null||m===void 0)&&m.isDragButtonCell)&&!(!((b=p.props)===null||b===void 0)&&b.isSelectionCell)});f&&this.rowHeaderColumnKeys.add(f.key)}}}const rv={ascending:"descending",descending:"ascending"};function av(e){let[t,u]=o.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:r,showDragButtons:a}=e,i=o.useMemo(()=>({showSelectionCheckboxes:r&&n!=="none",showDragButtons:a,selectionMode:n,columns:[]}),[e.children,r,n,a]),l=ml(e,o.useCallback(f=>new nv(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=tv({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});var c;return{collection:l,disabledKeys:s,selectionManager:d,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:(c=e.sortDescriptor)!==null&&c!==void 0?c:null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:u,sort(f,p){var m,b;(b=e.onSortChange)===null||b===void 0||b.call(e,{column:f,direction:p??(((m=e.sortDescriptor)===null||m===void 0?void 0:m.column)===f?rv[e.sortDescriptor.direction]:"ascending")})}}}function iv(e){var t,u;let n=xl({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:os(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&u!==void 0?u:void 0}),{selectionManager:r,collection:a,selectedKey:i}=n,l=o.useRef(i);return o.useEffect(()=>{let s=i;(r.isEmpty||s==null||!a.getItem(s))&&(s=os(a,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==l.current)&&r.setFocusedKey(s),l.current=s}),{...n,isDisabled:e.isDisabled||!1}}function os(e,t){let u=null;if(e){var n,r,a,i;for(u=e.getFirstKey();u!=null&&(t.has(u)||!((r=e.getItem(u))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled)&&u!==e.getLastKey();)u=e.getKeyAfter(u);u!=null&&(t.has(u)||!((i=e.getItem(u))===null||i===void 0||(a=i.props)===null||a===void 0)&&a.isDisabled)&&u===e.getLastKey()&&(u=e.getFirstKey())}return u}const lv=1500,ss=500;let pu={},ov=0,on=!1,St=null,mu=null;function Lb(e={}){let{delay:t=lv,closeDelay:u=ss}=e,{isOpen:n,open:r,close:a}=wu(e),i=o.useMemo(()=>`${++ov}`,[]),l=o.useRef(null),s=o.useRef(a),d=()=>{pu[i]=p},c=()=>{for(let b in pu)b!==i&&(pu[b](!0),delete pu[b])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),on=!0,r(),St&&(clearTimeout(St),St=null),mu&&(clearTimeout(mu),mu=null)},p=b=>{b||u<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current()},u)),St&&(clearTimeout(St),St=null),on&&(mu&&clearTimeout(mu),mu=setTimeout(()=>{delete pu[i],mu=null,on=!1},Math.max(ss,u)))},m=()=>{c(),d(),!n&&!St&&!on?St=setTimeout(()=>{St=null,on=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=a},[a]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),pu[i]&&delete pu[i]},[i]),{isOpen:n,open:b=>{!b&&t>0&&!l.current?m():f()},close:p}}class sv{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}constructor(t,{expandedKeys:u}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,u=u||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||u.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let r=null,a=0;for(let[l,s]of this.keyMap)r?(r.nextKey=l,s.prevKey=r.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=a++),r=s,r.nextKey=void 0;var i;this.lastKey=(i=r==null?void 0:r.key)!==null&&i!==void 0?i:null}}function dv(e){let{onExpandedChange:t}=e,[u,n]=Re(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=On(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=ml(e,o.useCallback(s=>new sv(s,{expandedKeys:u}),[u]),null);return o.useEffect(()=>{r.focusedKey!=null&&!i.getItem(r.focusedKey)&&r.setFocusedKey(null)},[i,r.focusedKey]),{collection:i,expandedKeys:u,disabledKeys:a,toggleKey:s=>{n(cv(u,s))},setExpandedKeys:n,selectionManager:new ra(i,r)}}function cv(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const su=o.createContext(null),Hn=o.createContext({}),Un=o.forwardRef(function(t,u){[t,u]=Y(t,u,Hn);let{isDisabled:n,isInvalid:r,onHoverStart:a,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=De({onHoverStart:a,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=oe({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=H({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var h,D;return o.createElement("div",{...N(s,m,d),...b,ref:u,role:(h=t.role)!==null&&h!==void 0?h:"group",slot:(D=t.slot)!==null&&D!==void 0?D:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":p||void 0,"data-disabled":n||void 0,"data-invalid":r||void 0},b.children)}),Rn=o.createContext({});let fv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const ia=Wr(function(t,u){[t,u]=Y(t,u,Rn);let{hoverProps:n,isHovered:r}=De(t),{isFocused:a,isFocusVisible:i,focusProps:l}=oe({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=H({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{...N(fv(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),jb=o.createContext({});let pv=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const mv=o.forwardRef(function(t,u){[t,u]=Y(t,u,jb);let{hoverProps:n,isHovered:r}=De(t),{isFocused:a,isFocusVisible:i,focusProps:l}=oe({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=H({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{...N(pv(t),l,n),...d,ref:u,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})}),bv=o.createContext(null),_b=o.forwardRef(function(t,u){[t,u]=Y(t,u,bv);let{validationBehavior:n}=je(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=o.useRef(null),[s,d]=Y({},l,Rn),[c,f]=xt(),[p,m]=o.useState("input"),{labelProps:b,inputProps:h,descriptionProps:D,errorMessageProps:v,...E}=fl({...Xt(t),inputElementType:p,label:f,validationBehavior:i},d),y=o.useCallback(S=>{d.current=S,S&&m(S instanceof HTMLTextAreaElement?"textarea":"input")},[d]),C=H({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=_(t);return delete B.id,o.createElement("div",{...B,...C,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(te,{values:[[jt,{...b,ref:c}],[Rn,{...N(h,s),ref:y}],[jb,{...h,ref:y}],[Ve,{slots:{description:D,errorMessage:v}}],[Et,E]]},C.children))}),Ob=o.createContext(null),Hb=o.createContext(null),en={CollectionRoot({collection:e,renderDropIndicator:t}){return ds(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return ds(e,t,u)}};function ds(e,t,u){return ji({items:t?e.getChildren(t.key):e,dependencies:[u],children(n){var r;let a=n.render(n);if(!u||n.type!=="item")return a;let i=n.key,l=e.getKeyAfter(i);return o.createElement(o.Fragment,null,u({type:"item",key:i,dropPosition:"before"}),a,(l==null||((r=e.getItem(l))===null||r===void 0?void 0:r.type)!=="item")&&u({type:"item",key:i,dropPosition:"after"}))}})}const $e=o.createContext(en);function El(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const Ub=o.createContext(null),Mr=o.forwardRef(function(t,u){[t,u]=Y(t,u,Ub);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=Mg({...t,elementType:n},u),{hoverProps:i,isHovered:l}=De(t),{focusProps:s,isFocused:d,isFocusVisible:c}=oe(),f=H({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:a,isHovered:l,isFocused:d,isFocusVisible:c}});return o.createElement(n,{ref:u,slot:t.slot||void 0,...N(f,r,i,s),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":a||void 0,"data-focus-visible":c||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),Si=o.createContext(null),hv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Si);let{CollectionRoot:n}=o.useContext($e),{navProps:r}=t2(t);return o.createElement(Nt,{content:o.createElement(ct,t)},a=>{var i;return o.createElement("ol",{ref:u,...r,slot:t.slot||void 0,style:t.style,className:(i=t.className)!==null&&i!==void 0?i:"react-aria-Breadcrumbs"},o.createElement(Si.Provider,{value:t},o.createElement(n,{collection:a})))})}),$v=Lt("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=je(Si),l={"aria-current":r?"page":null,isDisabled:a||r,onPress:()=>i==null?void 0:i(n.key)},s=H({...n.props,children:n.rendered,values:{isDisabled:a||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{..._(t),...s,ref:u,"data-disabled":a||r||void 0,"data-current":r||void 0},o.createElement(Ub.Provider,{value:l},s.children))}),zr=o.createContext(null),Vr=o.createContext(null),la=o.createContext(null),oa=o.createContext(null),gv=o.forwardRef(function(t,u){[t,u]=Y(t,u,zr);let{locale:n}=pe(),r=Jm({...t,locale:n,createCalendar:dl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=i2(t,r),c=H({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-Calendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(te,{values:[[Ze,{slots:{previous:i,next:l}}],[_r,{"aria-hidden":!0,level:2,children:d}],[la,r],[zr,t],[Ve,{slots:{errorMessage:s}}]]},o.createElement(nu,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(nu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),Dv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Vr);let{locale:n}=pe(),r=Sy({...t,locale:n,createCalendar:dl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=l2(t,r,u),c=H({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return o.createElement("div",{...c,...a,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(te,{values:[[Ze,{slots:{previous:i,next:l}}],[_r,{"aria-hidden":!0,level:2,children:d}],[oa,r],[Vr,t],[Ve,{slots:{errorMessage:s}}]]},o.createElement(nu,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(nu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),sa=o.createContext(null),Wb=o.forwardRef(function(t,u){let n=o.useContext(la),r=o.useContext(oa),a=je(zr),i=je(Vr),l=n??r,s=l.visibleRange.start;t.offset&&(s=s.add(t.offset));var d;let c=(d=a==null?void 0:a.firstDayOfWeek)!==null&&d!==void 0?d:i==null?void 0:i.firstDayOfWeek,{gridProps:f,headerProps:p,weekDays:m}=o2({startDate:s,endDate:Cr(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(sa.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{..._(t),...f,ref:u,style:t.style,className:(b=t.className)!==null&&b!==void 0?b:"react-aria-CalendarGrid"},typeof t.children!="function"?t.children:o.createElement(o.Fragment,null,o.createElement(vv,null,h=>o.createElement(Cv,null,h)),o.createElement(Bv,null,t.children))))});function yv(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(sa);return o.createElement("thead",{..._(e),...a,ref:t,style:n,className:r||"react-aria-CalendarGridHeader"},o.createElement("tr",null,i.map((l,s)=>o.cloneElement(u(l),{key:s}))))}const vv=o.forwardRef(yv);function xv(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{..._(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const Cv=o.forwardRef(xv);function Ev(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(la),i=o.useContext(oa),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(sa),{locale:c}=pe(),f=aD(s,c,d);return o.createElement("tbody",{..._(e),ref:t,style:n,className:r||"react-aria-CalendarGridBody"},[...new Array(f).keys()].map(p=>o.createElement("tr",{key:p},l.getDatesInWeek(p,s).map((m,b)=>m?o.cloneElement(u(m),{key:b}):o.createElement("td",{key:b})))))}const Bv=o.forwardRef(Ev),Gb=o.forwardRef(function({date:t,...u},n){let r=o.useContext(la),a=o.useContext(oa),i=r??a;var l;let{startDate:s}=(l=o.useContext(sa))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=d2({date:t},i,d),{hoverProps:m,isHovered:b}=De({...u,isDisabled:p.isDisabled}),{focusProps:h,isFocusVisible:D}=oe();D&&(D=p.isFocused);let v=!Yg(s,t),E=!1,y=!1;"highlightedRange"in i&&i.highlightedRange&&(E=ke(t,i.highlightedRange.start),y=ke(t,i.highlightedRange.end));let C=H({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:v,isFocusVisible:D,isSelectionStart:E,isSelectionEnd:y,...p}}),B={"data-focused":p.isFocused||void 0,"data-hovered":b||void 0,"data-pressed":p.isPressed||void 0,"data-unavailable":p.isUnavailable||void 0,"data-disabled":p.isDisabled||void 0,"data-focus-visible":D||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":v||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":E||void 0,"data-selection-end":y||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{...N(_(u),f,h,m,B,C),ref:d}))}),kv=o.createContext(null),Bl=o.createContext(null),Pv=o.forwardRef(function(t,u){[t,u]=Y(t,u,kv);let{validationBehavior:n}=je(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Ay({...t,validationBehavior:i}),[s,d]=xt(),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=g2({...t,label:d,validationBehavior:i},l),h=H({...t,values:{isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:t.isRequired||!1,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-CheckboxGroup"});return o.createElement("div",{...c,...h,ref:u,slot:t.slot||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":l.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},o.createElement(te,{values:[[Bl,l],[jt,{...f,ref:s,elementType:"span"}],[Ve,{slots:{description:p,errorMessage:m}}],[Et,b]]},h.children))}),Sv=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=Y(r,u,jr);let{validationBehavior:a}=je(su)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:a)!==null&&l!==void 0?l:"native",d=o.useContext(Bl),c=ge(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:h,isPressed:D,isInvalid:v}=d?D2({...Xt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):Wc({...Xt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},qc(t),c),{isFocused:E,isFocusVisible:y,focusProps:C}=oe(),B=b||h,{hoverProps:S,isHovered:R}=De({...t,isDisabled:B}),$=H({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:D,isHovered:R,isFocused:E,isFocusVisible:y,isDisabled:b,isReadOnly:h,isInvalid:v,isRequired:t.isRequired||!1}}),T=_(t);return delete T.id,o.createElement("label",{...N(T,f,S,$),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":D||void 0,"data-hovered":R||void 0,"data-focused":E||void 0,"data-focus-visible":y||void 0,"data-disabled":b||void 0,"data-readonly":h||void 0,"data-invalid":v||void 0,"data-required":t.isRequired||void 0},o.createElement(nu,{elementType:"span"},o.createElement("input",{...N(p,C),ref:c})),$.children)});var Zb={};Zb={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var qb={};qb={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var Yb={};Yb={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var Jb={};Jb={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var Qb={};Qb={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var Xb={};Xb={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var e5={};e5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var t5={};t5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var u5={};u5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var n5={};n5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var r5={};r5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var a5={};a5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var i5={};i5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var l5={};l5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var o5={};o5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var s5={};s5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var d5={};d5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var c5={};c5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var f5={};f5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var p5={};p5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var m5={};m5={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var b5={};b5={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var h5={};h5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var $5={};$5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var g5={};g5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var D5={};D5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var y5={};y5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var v5={};v5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var x5={};x5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var C5={};C5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var E5={};E5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var B5={};B5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var k5={};k5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var P5={};P5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var kl={};kl={"ar-AE":Zb,"bg-BG":qb,"cs-CZ":Yb,"da-DK":Jb,"de-DE":Qb,"el-GR":Xb,"en-US":e5,"es-ES":t5,"et-EE":u5,"fi-FI":n5,"fr-FR":r5,"he-IL":a5,"hr-HR":i5,"hu-HU":l5,"it-IT":o5,"ja-JP":s5,"ko-KR":d5,"lt-LT":c5,"lv-LV":f5,"nb-NO":p5,"nl-NL":m5,"pl-PL":b5,"pt-BR":h5,"pt-PT":$5,"ro-RO":g5,"ru-RU":D5,"sk-SK":y5,"sl-SI":v5,"sr-SP":x5,"sv-SE":C5,"tr-TR":E5,"uk-UA":B5,"zh-CN":k5,"zh-TW":P5};const Ue=o.createContext({}),da=o.createContext(null),Av=o.forwardRef(function(t,u){let{render:n}=o.useContext(da);return o.createElement(o.Fragment,null,n(t,u))});function ca(e,t){var u;let n=e==null?void 0:e.renderDropIndicator,r=e==null||(u=e.isVirtualDragging)===null||u===void 0?void 0:u.call(e),a=o.useCallback(i=>{if(r||t!=null&&t.isDropTarget(i))return n?n(i):o.createElement(Av,{target:i})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?a:void 0}function Pl(e,t,u){var n,r;let a=e.focusedKey,i=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(u==null||(r=u.target)===null||r===void 0?void 0:r.type)==="item"){i=u.target.key;var l;u.target.dropPosition==="after"&&(i=(l=u.collection.getKeyAfter(i))!==null&&l!==void 0?l:i)}return o.useMemo(()=>new Set([a,i].filter(s=>s!=null)),[a,i])}const S5=o.createContext({}),A5=o.createContext({}),Wn=o.createContext(null),Ge=o.createContext(null),w5=o.forwardRef(function(t,u){[t,u]=Y(t,u,Wn);let n=o.useContext(Ge);return n?o.createElement(F5,{state:n,props:t,listBoxRef:u}):o.createElement(Nt,{content:o.createElement(ct,t)},r=>o.createElement(wv,{props:t,listBoxRef:u,collection:r}))});function wv({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext($e),{filterFn:r,collectionProps:a,collectionRef:i}=o.useContext(Ob)||{};t=ge(o.useMemo(()=>ku(t,i!==void 0?i:null),[i,t]));let l=o.useMemo(()=>r?u.filter(r):u,[u,r]),s=aa({...e,collection:l,layoutDelegate:n});return o.createElement(F5,{state:s,props:{...e,...a},listBoxRef:t})}function F5({state:e,props:t,listBoxRef:u}){let{dragAndDropHooks:n,layout:r="stack",orientation:a="vertical"}=t,{collection:i,selectionManager:l}=e,s=!!(n!=null&&n.useDraggableCollectionState),d=!!(n!=null&&n.useDroppableCollectionState),{direction:c}=pe(),{disabledBehavior:f,disabledKeys:p}=l,m=Au({usage:"search",sensitivity:"base"}),{isVirtualized:b,layoutDelegate:h,dropTargetDelegate:D,CollectionRoot:v}=o.useContext($e),E=o.useMemo(()=>t.keyboardDelegate||new ru({collection:i,collator:m,ref:u,disabledKeys:p,disabledBehavior:f,layout:r,orientation:a,direction:c,layoutDelegate:h}),[i,m,u,f,p,a,c,t.keyboardDelegate,r,h]),{listBoxProps:y}=Q2({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:E,isVirtualized:b},e,u),C=o.useRef(s),B=o.useRef(d);o.useEffect(()=>{C.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),B.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 S,R,$,T=!1,A=null,k=o.useRef(null);if(s&&n){S=n.useDraggableCollectionState({collection:i,selectionManager:l,preview:n.renderDragPreview?k:void 0}),n.useDraggableCollection({},S,u);let P=n.DragPreview;A=n.renderDragPreview?o.createElement(P,{ref:k},n.renderDragPreview):null}if(d&&n){R=n.useDroppableCollectionState({collection:i,selectionManager:l});let P=n.dropTargetDelegate||D||new n.ListDropTargetDelegate(i,u,{orientation:a,layout:r,direction:c});$=n.useDroppableCollection({keyboardDelegate:E,dropTargetDelegate:P},R,u),T=R.isDropTarget({type:"root"})}let{focusProps:z,isFocused:x,isFocusVisible:w}=oe(),V={isDropTarget:T,isEmpty:e.collection.size===0,isFocused:x,isFocusVisible:w,layout:t.layout||"stack",state:e},F=H({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:V}),I=null;return e.collection.size===0&&t.renderEmptyState&&(I=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(V))),o.createElement(Vn,null,o.createElement("div",{..._(t),...N(y,z,$==null?void 0:$.collectionProps),...F,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":T||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":x||void 0,"data-focus-visible":w||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(te,{values:[[Wn,t],[Ge,e],[Ue,{dragAndDropHooks:n,dragState:S,dropState:R}],[A5,{elementType:"div"}],[da,{render:Tv}],[Hb,{name:"ListBoxSection",render:Fv}]]},o.createElement(v,{collection:i,scrollRef:u,persistedKeys:Pl(l,n,R),renderDropIndicator:ca(n,R)})),I,A))}function Fv(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Ge),{dragAndDropHooks:a,dropState:i}=o.useContext(Ue),{CollectionBranch:l}=o.useContext($e),[s,d]=xt();var c;let{headingProps:f,groupProps:p}=u6({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=H({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{..._(e),...p,...m,ref:t},o.createElement(S5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:ca(a,i)})))}const T5=Lt("item",function(t,u,n){let r=ge(u),a=o.useContext(Ge),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(Ue),{optionProps:d,labelProps:c,descriptionProps:f,...p}=t6({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,r),{hoverProps:m,isHovered:b}=De({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),h=null;l&&i&&(h=i.useDraggableItem({key:n.key},l));let D=null;s&&i&&(D=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let v=l&&l.isDragging(n.key),E=H({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:b,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:v,isDropTarget:D==null?void 0:D.isDropTarget}});o.useEffect(()=>{n.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.")},[n.textValue]);let y=t.href?"a":"div";return o.createElement(y,{...N(d,m,h==null?void 0:h.dragProps,D==null?void 0:D.dropProps),...E,ref:r,"data-allows-dragging":!!l||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":b||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":(D==null?void 0:D.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(te,{values:[[Ve,{slots:{label:c,description:f}}]]},E.children))});function Tv(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Ue),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(Iv,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function Rv(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,a=H({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...u,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const Iv=o.forwardRef(Rv),Sl=o.createContext({placement:"bottom"}),Kv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Sl);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let a=H({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return a.style&&Object.keys(a.style).forEach(i=>a.style[i]===void 0&&delete a.style[i]),o.createElement("div",{...t,...a,style:{...r,...a.style},ref:u,"data-placement":n})}),Fu=o.createContext(null),tn=o.forwardRef(function(t,u){[t,u]=Y(t,u,Fu);let n=o.useContext(du),r=wu(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=ks(u,a.isOpen)||t.isExiting||!1;if(Y$()){let s=t.children;return typeof s=="function"&&(s=s({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,s)}return a&&!a.isOpen&&!i?null:o.createElement(Mv,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i})});function Mv({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[a,i]=o.useState(0);q(()=>{r.current&&e.isOpen&&i(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var l;let{popoverProps:s,underlayProps:d,arrowProps:c,placement:f}=H2({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:a},e),p=n.popoverRef,m=Bs(p,!!f)||n.isEntering||!1,b=H({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:m,isExiting:t}}),h={...s.style,...b.style};return o.createElement(G2,{...n,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),o.createElement("div",{...N(_(n),s),...b,ref:p,slot:n.slot||void 0,style:h,"data-trigger":n.trigger,"data-placement":f,"data-entering":m||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Lo,{onDismiss:e.close}),o.createElement(Sl.Provider,{value:{...c,placement:f,ref:r}},b.children),o.createElement(Lo,{onDismiss:e.close})))}const zv=o.createContext({}),R5=o.createContext(null),Al=o.createContext(null),wl=o.createContext(null),Nr=o.createContext(null);function Vv(e){let t=zb(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=hl({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);xu({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(te,{values:[[R5,{...r,ref:s}],[du,t],[wl,t],[Fu,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a}}]]},o.createElement(Ui,{...n,ref:u,isPressed:t.isOpen},e.children))}const Nv=o.createContext(null),Lv=o.forwardRef(function(t,u){return[t,u]=Y(t,u,R5),o.createElement(Nt,{content:o.createElement(ct,t)},n=>n.size>0&&o.createElement(jv,{props:t,collection:n,menuRef:u}))});function jv({props:e,collection:t,menuRef:u}){let{filterFn:n,collectionProps:r,collectionRef:a}=o.useContext(Ob)||{};u=ge(o.useMemo(()=>ku(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.filter(n):t,[t,n]),l=dv({...e,collection:i,children:void 0}),s=o.useContext(wl),{isVirtualized:d,CollectionRoot:c}=o.useContext($e),{menuProps:f}=r6({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=H({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{}});return o.createElement(Vn,null,o.createElement("div",{..._(e),...f,...p,ref:u,slot:e.slot||void 0,onScroll:e.onScroll},o.createElement(te,{values:[[Al,l],[A5,{elementType:"div"}],[Hb,{name:"MenuSection",render:Ov}],[Nv,{parentMenuRef:u}],[Ai,null],[Nr,l.selectionManager]]},o.createElement(c,{collection:l.collection,persistedKeys:El(l.selectionManager.focusedKey),scrollRef:u}))))}class _v extends ra{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,u){return this.parent.setFocusedKey(t,u)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(t,u){super(t.collection,u),this.parent=t}}function Ov(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(Al),{CollectionBranch:l}=o.useContext($e),[s,d]=xt();var c;let{headingProps:f,groupProps:p}=i6({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=H({defaultClassName:n,className:(r=u.props)===null||r===void 0?void 0:r.className,style:(a=u.props)===null||a===void 0?void 0:a.style,values:{}}),b=o.useContext(Nr),h=On(e),D=e.selectionMode!=null?new _v(b,h):b;return o.createElement("section",{..._(e),...p,...m,ref:t},o.createElement(te,{values:[[S5,{...f,ref:s}],[Nr,D]]},o.createElement(l,{collection:i.collection,parent:u})))}const Ai=o.createContext(null),Hv=Lt("item",function(t,u,n){var r;[t,u]=Y(t,u,Ai);let a=(r=je(Ai))===null||r===void 0?void 0:r.id,i=o.useContext(Al),l=ge(u),s=o.useContext(Nr),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=a6({...t,id:a,key:n.key,selectionManager:s},i,l),{isFocusVisible:b,focusProps:h}=oe(),{hoverProps:D,isHovered:v}=De({isDisabled:m.isDisabled}),E=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:v,isFocusVisible:b,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),y=t.href?"a":"div";return o.createElement(y,{...N(d,h,D),...E,ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":b||void 0,"data-pressed":m.isPressed||void 0,"data-selected":m.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},o.createElement(te,{values:[[Ve,{slots:{label:c,description:f}}],[zv,p]]},E.children))}),fa=o.createContext(null),du=o.createContext(null);function Uv(e){let t=zb(e),u=o.useRef(null),{triggerProps:n,overlayProps:r}=b3({type:"dialog"},t,u);return n.id=ne(),r["aria-labelledby"]=n.id,o.createElement(te,{values:[[du,t],[wl,t],[fa,r],[Fu,{trigger:"DialogTrigger",triggerRef:u}]]},o.createElement(Ui,{...n,ref:u,isPressed:t.isOpen},e.children))}const I5=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=Y(t,u,fa);let{dialogProps:r,titleProps:a}=y6({...t,"aria-labelledby":n},u),i=o.useContext(du);!r["aria-label"]&&!r["aria-labelledby"]&&(t["aria-labelledby"]?r["aria-labelledby"]=t["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.'));let l=H({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(i==null?void 0:i.close)||(()=>{})}});return o.createElement("section",{..._(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(te,{values:[[_r,{slots:{[ht]:{},title:{...a,level:2}}}],[Ze,{slots:{[ht]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),Wv=o.createContext(null),Gv=o.createContext(null),Zv=o.forwardRef(function(t,u){[t,u]=Y(t,u,Wv);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(Wn.Provider,{value:{items:(s=t.items)!==null&&s!==void 0?s:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,defaultChildren:null}):n)},[n,r,a,i,t.items,t.defaultItems]);return o.createElement(Nt,{content:l},s=>o.createElement(qv,{props:t,collection:s,comboBoxRef:u}))});function qv({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=je(su)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=ic({sensitivity:"base"}),f=Fy({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:d}),p=o.useRef(null),m=o.useRef(null),b=o.useRef(null),h=o.useRef(null),[D,v]=xt(),{buttonProps:E,inputProps:y,listBoxProps:C,labelProps:B,descriptionProps:S,errorMessageProps:R,...$}=o6({...Xt(e),label:v,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:h,name:r==="text"?n:void 0,validationBehavior:d},f),[T,A]=o.useState(null),k=o.useCallback(()=>{if(m.current){var F;let I=(F=p.current)===null||F===void 0?void 0:F.getBoundingClientRect(),P=m.current.getBoundingClientRect(),K=I?Math.min(I.left,P.left):P.left,j=I?Math.max(I.right,P.right):P.right;A(j-K+"px")}},[p,m,A]);xu({ref:m,onResize:k});let z=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:$.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,$.isInvalid,e.isRequired]),x=H({...e,values:z,defaultClassName:"react-aria-ComboBox"}),w=_(e);delete w.id;var V;return o.createElement(te,{values:[[Gv,f],[jt,{...B,ref:D}],[Ze,{...E,ref:p,isPressed:f.isOpen}],[Rn,{...y,ref:m}],[du,f],[Fu,{ref:h,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":T}}],[Wn,{...C,ref:b}],[Ge,f],[Ve,{slots:{description:S,errorMessage:R}}],[Hn,{isInvalid:$.isInvalid,isDisabled:e.isDisabled||!1}],[Et,$]]},o.createElement("div",{...w,...x,ref:u,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":$.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(V=f.selectedKey)!==null&&V!==void 0?V:""}))}const Fl=o.createContext(null),pa=o.createContext(null),Tl=o.createContext(null),wi=o.forwardRef(function(t,u){let n=o.useContext(pa),r=o.useContext(Tl);return n||r?o.createElement(K5,{...t,ref:u}):o.createElement(Yv,{...t,ref:u})}),Yv=o.forwardRef((e,t)=>{let[u,n]=Y({slot:e.slot},t,Fl),{locale:r}=pe(),a=jy({...u,locale:r,createCalendar:dl}),i=o.useRef(null),{fieldProps:l,inputProps:s}=d6({...u,inputRef:i},a,n);return o.createElement(te,{values:[[pa,a],[Rn,{...s,ref:i}],[Hn,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(K5,e))}),K5=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(pa),a=o.useContext(Tl),i=r??a;return o.createElement(o.Fragment,null,o.createElement(Un,{...e,ref:t,slot:e.slot||void 0,className:u??"react-aria-DateInput",isInvalid:i.isInvalid},i.segments.map((l,s)=>o.cloneElement(n(l),{key:s}))),o.createElement(ia,null))}),Fi=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(pa),a=o.useContext(Tl),i=r??a,l=ge(n),{segmentProps:s}=h6(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=De({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=H({...u,values:{...t,isReadOnly:!t.isEditable,isInvalid:i.isInvalid,isDisabled:i.isDisabled,isHovered:m,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return o.createElement("div",{...N(_(u),s,d,p),...b,ref:l,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":i.isInvalid||void 0,"data-readonly":!t.isEditable||void 0,"data-disabled":i.isDisabled||void 0,"data-type":t.type,"data-hovered":m||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),Jv=o.createContext(null),Qv=o.createContext(null),Xv=o.createContext(null),ex=o.createContext(null),tx=o.forwardRef(function(t,u){[t,u]=Y(t,u,Jv);let{validationBehavior:n}=je(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=zy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=xt(),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:h,calendarProps:D,descriptionProps:v,errorMessageProps:E,...y}=f6({...Xt(t),label:c,validationBehavior:i},l,s),[C,B]=o.useState(null),S=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);xu({ref:s,onResize:S});let{focusProps:R,isFocused:$,isFocusVisible:T}=oe({within:!0}),A=H({...t,values:{state:l,isFocusWithin:$,isFocusVisible:T,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=_(t);return delete k.id,o.createElement(te,{values:[[Xv,l],[Hn,{...f,ref:s,isInvalid:l.isInvalid}],[Fl,m],[Ze,{...b,isPressed:l.isOpen}],[jt,{...p,ref:d,elementType:"span"}],[zr,D],[du,l],[Fu,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":C}}],[fa,h],[Ve,{slots:{description:v,errorMessage:E}}],[Et,y]]},o.createElement("div",{...R,...k,...A,ref:u,slot:t.slot||void 0,"data-focus-within":$||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":T||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),ux=o.forwardRef(function(t,u){[t,u]=Y(t,u,Qv);let{validationBehavior:n}=je(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Uy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=xt(),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:h,dialogProps:D,calendarProps:v,descriptionProps:E,errorMessageProps:y,...C}=D6({...Xt(t),label:c,validationBehavior:i},l,s),[B,S]=o.useState(null),R=o.useCallback(()=>{s.current&&S(s.current.offsetWidth+"px")},[]);xu({ref:s,onResize:R});let{focusProps:$,isFocused:T,isFocusVisible:A}=oe({within:!0}),k=H({...t,values:{state:l,isFocusWithin:T,isFocusVisible:A,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),z=_(t);return delete z.id,o.createElement(te,{values:[[ex,l],[Hn,{...f,ref:s,isInvalid:l.isInvalid}],[Ze,{...h,isPressed:l.isOpen}],[jt,{...p,ref:d,elementType:"span"}],[Vr,v],[du,l],[Fu,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[fa,D],[Fl,{slots:{start:m,end:b}}],[Ve,{slots:{description:E,errorMessage:y}}],[Et,C]]},o.createElement("div",{...$,...z,...k,ref:u,slot:t.slot||void 0,"data-focus-within":T||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),M5=o.createContext(null),nx=o.forwardRef(function(t,u){let n=Gy(t),r=H({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=_(t);return o.createElement("div",{...a,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(M5.Provider,{value:n},r.children))}),rx=o.createContext(null),ax=o.createContext(null),z5=o.createContext(null),ix=o.forwardRef(function(t,u){[t,u]=Y(t,u,rx);let n=o.useContext(M5),{id:r,...a}=t,i=ne();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=Wy({...t,isExpanded:l,onExpandedChange(v){var E;n&&n.toggleKey(r),(E=t.onExpandedChange)===null||E===void 0||E.call(t,v)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=v6({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=oe({within:!0}),h=H({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),D=_(a);return o.createElement(te,{values:[[Ze,{slots:{[ht]:{},trigger:f}}],[z5,{panelProps:p,panelRef:d}],[ax,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...D,...b,...h},h.children))}),lx=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(z5),{isFocusVisible:i,focusProps:l}=oe({within:!0}),s=H({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=_(t);return o.createElement("div",{...d,ref:ku(u,a),...N(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(te,{values:[[Ze,null]]},t.children))});function ox(e){return e&&e.__esModule?e.default:e}const sx=o.createContext(null),dx=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=Y(t,u,sx);let r=ge(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=z6({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=lc(l||{},a),{hoverProps:c,isHovered:f}=De(t),{focusProps:p,isFocused:m,isFocusVisible:b}=oe(),h=be(ox(kl),"react-aria-components"),D=rt(),v=t["aria-label"]||h.format("dropzoneLabel"),E=t["aria-labelledby"],y=[D,E].filter(Boolean).join(" "),C=Dt({"aria-label":v,"aria-labelledby":y}),{clipboardProps:B}=V6({isDisabled:n,onPaste:$=>{var T;return(T=t.onDrop)===null||T===void 0?void 0:T.call(t,{type:"drop",items:$,x:0,y:0,dropOperation:"copy"})}}),S=H({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),R=_(t);return delete R.id,o.createElement(te,{values:[[Ve,{id:D,slot:"label"}]]},o.createElement("div",{...N(i,c,R),...S,slot:t.slot||void 0,ref:r,onClick:$=>{var T;let A=$.target;for(;A&&(!((T=r.current)===null||T===void 0)&&T.contains(A))&&!Sg(A);){if(A===r.current){var k;(k=a.current)===null||k===void 0||k.focus();break}A=A.parentElement}},"data-hovered":f||void 0,"data-focused":m||void 0,"data-focus-visible":b||void 0,"data-drop-target":s||void 0,"data-disabled":n||void 0},o.createElement(nu,null,o.createElement("button",{...N(d,p,B,C),ref:a})),S.children))}),cx=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:a,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=ge(u),f=_(d);return o.createElement(o.Fragment,null,o.createElement(Ui,{onPress:()=>{var p,m;!((p=c.current)===null||p===void 0)&&p.value&&(c.current.value=""),(m=c.current)===null||m===void 0||m.click()}},l),o.createElement(ia,{...f,type:"file",ref:c,style:{display:"none"},accept:r==null?void 0:r.toString(),onChange:p=>n==null?void 0:n(p.target.files),capture:i,multiple:a,webkitdirectory:s?"":void 0}))}),fx=o.createContext(null),px=o.forwardRef(function(t,u){return[t,u]=Y(t,u,fx),o.createElement(Nt,{content:o.createElement(ct,t)},n=>o.createElement(mx,{props:t,collection:n,gridListRef:u}))});function mx({props:e,collection:t,gridListRef:u}){let{dragAndDropHooks:n,keyboardNavigationBehavior:r="arrow",layout:a="stack"}=e,{CollectionRoot:i,isVirtualized:l,layoutDelegate:s,dropTargetDelegate:d}=o.useContext($e),c=aa({...e,collection:t,children:void 0,layoutDelegate:s}),f=Au({usage:"search",sensitivity:"base"}),{disabledBehavior:p,disabledKeys:m}=c.selectionManager,{direction:b}=pe(),h=o.useMemo(()=>new ru({collection:t,collator:f,ref:u,disabledKeys:m,disabledBehavior:p,layoutDelegate:s,layout:a,direction:b}),[t,u,a,m,p,s,f,b]),{gridProps:D}=U0({...e,keyboardDelegate:h,keyboardNavigationBehavior:a==="grid"?"tab":r,isVirtualized:l},c,u),v=c.selectionManager,E=!!(n!=null&&n.useDraggableCollectionState),y=!!(n!=null&&n.useDroppableCollectionState),C=o.useRef(E),B=o.useRef(y);o.useEffect(()=>{C.current!==E&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),B.current!==y&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[E,y]);let S,R,$,T=!1,A=null,k=o.useRef(null);if(E&&n){S=n.useDraggableCollectionState({collection:t,selectionManager:v,preview:n.renderDragPreview?k:void 0}),n.useDraggableCollection({},S,u);let K=n.DragPreview;A=n.renderDragPreview?o.createElement(K,{ref:k},n.renderDragPreview):null}if(y&&n){R=n.useDroppableCollectionState({collection:t,selectionManager:v});let K=new ru({collection:t,disabledKeys:v.disabledKeys,disabledBehavior:v.disabledBehavior,ref:u}),j=n.dropTargetDelegate||d||new n.ListDropTargetDelegate(t,u,{layout:a,direction:b});$=n.useDroppableCollection({keyboardDelegate:K,dropTargetDelegate:j},R,u),T=R.isDropTarget({type:"root"})}let{focusProps:z,isFocused:x,isFocusVisible:w}=oe(),V={isDropTarget:T,isEmpty:c.collection.size===0,isFocused:x,isFocusVisible:w,layout:a,state:c},F=H({className:e.className,style:e.style,defaultClassName:"react-aria-GridList",values:V}),I=null,P=null;if(c.collection.size===0&&e.renderEmptyState){let K=e.renderEmptyState(V);I=o.createElement("div",{role:"row",style:{display:"contents"}},o.createElement("div",{role:"gridcell",style:{display:"contents"}},K))}return o.createElement(Vn,null,o.createElement("div",{..._(e),...F,...N(D,z,$==null?void 0:$.collectionProps,P),ref:u,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":T||void 0,"data-empty":c.collection.size===0||void 0,"data-focused":x||void 0,"data-focus-visible":w||void 0,"data-layout":a},o.createElement(te,{values:[[Ge,c],[Ue,{dragAndDropHooks:n,dragState:S,dropState:R}],[da,{render:hx}]]},y&&o.createElement(Dx,null),o.createElement(i,{collection:t,scrollRef:u,persistedKeys:Pl(v,n,R),renderDropIndicator:ca(n,R)})),I,A))}const bx=Lt("item",function(t,u,n){let r=o.useContext(Ge),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(Ue),s=ge(u),{isVirtualized:d}=o.useContext($e),{rowProps:c,gridCellProps:f,descriptionProps:p,...m}=W0({node:n,shouldSelectOnPressUp:!!i,isVirtualized:d},r,s),{hoverProps:b,isHovered:h}=De({isDisabled:!m.allowsSelection&&!m.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{isFocusVisible:D,focusProps:v}=oe(),{checkboxProps:E}=G6({key:n.key},r),y=r.selectionManager.disabledBehavior==="all"&&m.isDisabled?{isDisabled:!0}:{},C=null;i&&a&&(C=a.useDraggableItem({key:n.key,hasDragButton:!0},i));let B=null,S=o.useRef(null),{visuallyHiddenProps:R}=ou();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:n.key,dropPosition:"on"}},l,S));let $=i&&i.isDragging(n.key),T=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-GridListItem",values:{...m,isHovered:h,isFocusVisible:D,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,allowsDragging:!!i,isDragging:$,isDropTarget:B==null?void 0:B.isDropTarget}}),A=o.useRef(null);return o.useEffect(()=>{i&&!A.current&&console.warn('Draggable items in a GridList must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]),o.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <GridListItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]),o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement("div",{role:"row",style:{position:"absolute"}},o.createElement("div",{role:"gridcell"},o.createElement("div",{role:"button",...R,...B==null?void 0:B.dropIndicatorProps,ref:S}))),o.createElement("div",{...N(_(t),c,v,b,C==null?void 0:C.dragProps),...T,ref:s,"data-selected":m.isSelected||void 0,"data-disabled":m.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":D||void 0,"data-pressed":m.isPressed||void 0,"data-allows-dragging":!!i||void 0,"data-dragging":$||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode},o.createElement("div",{...f,style:{display:"contents"}},o.createElement(te,{values:[[jr,{slots:{[ht]:{},selection:E}}],[Ze,{slots:{[ht]:y,drag:{...C==null?void 0:C.dragButtonProps,ref:A,style:{pointerEvents:"none"}}}}],[Ve,{slots:{[ht]:{},description:p}}],[$e,en],[Ge,null]]},T.children))))});function hx(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Ue),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(gx,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function $x(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,{visuallyHiddenProps:i}=ou(),l=H({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...l,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement("div",{role:"gridcell"},o.createElement("div",{...i,role:"button",...u,ref:r}),l.children))}const gx=o.forwardRef($x);function Dx(){let{dragAndDropHooks:e,dropState:t}=o.useContext(Ue),u=o.useRef(null),{dropIndicatorProps:n}=e.useDropIndicator({target:{type:"root"}},t,u),r=t.isDropTarget({type:"root"}),{visuallyHiddenProps:a}=ou();return!r&&n["aria-hidden"]?null:o.createElement("div",{role:"row","aria-hidden":n["aria-hidden"],style:{position:"absolute"}},o.createElement("div",{role:"gridcell"},o.createElement("div",{role:"button",...a,...n,ref:u})))}const Rl=o.forwardRef(function(t,u){[t,u]=Y(t,u,_r);let{children:n,level:r=3,className:a,...i}=t,l=`h${r}`;return o.createElement(l,{...i,ref:u,className:a??"react-aria-Heading"},n)}),yx=o.createContext(null),vx=o.createContext(null),V5=o.createContext(null),xx=o.forwardRef(function(t,u){[t,u]=Y(t,u,yx);let{validationBehavior:n}=je(su)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Qy({...t,validationBehavior:i}),[s,d]=xt(),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=q6({...t,label:d,validationBehavior:i},l),h=H({...t,values:{orientation:t.orientation||"vertical",isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:l.isRequired,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-RadioGroup"});return o.createElement("div",{...c,...h,ref:u,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":l.isInvalid||void 0,"data-disabled":l.isDisabled||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":l.isRequired||void 0},o.createElement(te,{values:[[V5,l],[jt,{...f,ref:s,elementType:"span"}],[Ve,{slots:{description:p,errorMessage:m}}],[Et,b]]},h.children))}),Cx=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=Y(r,u,vx);let a=o.useContext(V5),i=ge(ku(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=Z6({...Xt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),h=c||a.isReadOnly,{hoverProps:D,isHovered:v}=De({...t,isDisabled:h}),E=H({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:v,isFocused:p,isFocusVisible:m,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),y=_(t);return delete y.id,o.createElement("label",{...N(y,l,D,E),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":v||void 0,"data-focused":p||void 0,"data-focus-visible":m||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},o.createElement(nu,{elementType:"span"},o.createElement("input",{...N(s,b),ref:i})),E.children)});function Ex(e){return e&&e.__esModule?e.default:e}const Il=o.createContext(null),N5=o.createContext(null),Bx=o.forwardRef(function(t,u){[t,u]=Y(t,u,Il);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:a,isRequired:i,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,a,i]);return o.createElement(Nt,{content:l},s=>o.createElement(kx,{props:t,collection:s,selectRef:u}))});function kx({props:e,selectRef:t,collection:u}){let{validationBehavior:n}=je(su)||{};var r,a;let i=(a=(r=e.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=ev({...e,collection:u,children:void 0,validationBehavior:i}),{isFocusVisible:s,focusProps:d}=oe({within:!0}),c=o.useRef(null),[f,p]=xt(),{labelProps:m,triggerProps:b,valueProps:h,menuProps:D,descriptionProps:v,errorMessageProps:E,...y}=Q6({...Xt(e),label:p,validationBehavior:i},l,c),[C,B]=o.useState(null),S=o.useCallback(()=>{c.current&&B(c.current.offsetWidth+"px")},[c]);xu({ref:c,onResize:S});let R=o.useMemo(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:s,isDisabled:e.isDisabled||!1,isInvalid:y.isInvalid||!1,isRequired:e.isRequired||!1}),[l.isOpen,l.isFocused,s,e.isDisabled,y.isInvalid,e.isRequired]),$=H({...e,values:R,defaultClassName:"react-aria-Select"}),T=_(e);delete T.id;let A=o.useRef(null);return o.createElement(te,{values:[[Il,e],[N5,l],[L5,h],[jt,{...m,ref:f,elementType:"span"}],[Ze,{...b,ref:c,isPressed:l.isOpen}],[du,l],[Fu,{trigger:"Select",triggerRef:c,scrollRef:A,placement:"bottom start",style:{"--trigger-width":C}}],[Wn,{...D,ref:A}],[Ge,l],[Ve,{slots:{description:v,errorMessage:E}}],[Et,y]]},o.createElement("div",{...T,...$,...d,ref:t,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-required":e.isRequired||void 0}),o.createElement(ey,{autoComplete:e.autoComplete,state:l,triggerRef:c,label:p,name:e.name,isDisabled:e.isDisabled}))}const L5=o.createContext(null),Px=o.forwardRef(function(t,u){var n,r;[t,u]=Y(t,u,L5);let a=o.useContext(N5),{placeholder:i}=je(Il),l=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,s=l==null?void 0:l.props.children;typeof s=="function"&&(s=s({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let d=be(Ex(kl),"react-aria-components");var c,f,p;let m=H({...t,defaultChildren:(c=s??i)!==null&&c!==void 0?c:d.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(f=(n=a.selectedItem)===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:null,selectedText:(p=(r=a.selectedItem)===null||r===void 0?void 0:r.textValue)!==null&&p!==void 0?p:null,isPlaceholder:!l}}),b=_(t);return o.createElement("span",{ref:u,...b,...m,"data-placeholder":!l||void 0},o.createElement(Ve.Provider,{value:void 0},m.children))});class Sx extends Ur{addNode(t){super.addNode(t),this.columnsDirty||(this.columnsDirty=t.type==="column"),t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t)}commit(t,u,n=!1){this.updateColumns(n),super.commit(t,u,n),this.rows=[...this.getChildren(this.body.key)]}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let u=new Map,n=r=>{switch(r.type){case"column":u.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key));break}for(let a of this.getChildren(r.key))n(a)};for(let r of this.getChildren(this.head.key))n(r);if(this.headerRows=Nb(u,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body)}get size(){return this.rows.length}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let u=this.getItem(t);var n;return(u==null?void 0:u.type)==="column"?(n=u.nextKey)!==null&&n!==void 0?n:null:super.getKeyAfter(t)}getKeyBefore(t){var u;let n=this.getItem(t);var r;if((n==null?void 0:n.type)==="column")return(r=n.prevKey)!==null&&r!==void 0?r:null;let a=super.getKeyBefore(t);return a!=null&&((u=this.getItem(a))===null||u===void 0?void 0:u.type)==="tablebody"?null:a}getChildren(t){if(!this.getItem(t)){for(let u of this.headerRows)if(u.key===t)return u.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let a of this.getChildren(t)){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new xn("tableheader",-1),this.body=new xn("tablebody",-2),this.columnsDirty=!0}}const Ax=o.createContext(null),wx=o.createContext(null),Bt=o.createContext(null),j5=o.createContext(null),Fx=o.forwardRef(function(t,u){var n;[t,u]=Y(t,u,wx);let r=On(t),{selectionBehavior:a,selectionMode:i,disallowEmptySelection:l}=r,s=!!(!((n=t.dragAndDropHooks)===null||n===void 0)&&n.useDraggableCollectionState),d=o.useMemo(()=>({selectionBehavior:i==="none"?null:a,selectionMode:i,disallowEmptySelection:l,allowsDragging:s}),[a,i,l,s]),c=o.createElement(_5.Provider,{value:d},o.createElement(ct,t));return o.createElement(Nt,{content:c,createCollection:()=>new Sx},f=>o.createElement(Tx,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function Tx({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(Ax);t=ge(o.useMemo(()=>ku(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=av({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext($e),{dragAndDropHooks:c}=e,{gridProps:f}=ay({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),h=o.useRef(m),D=o.useRef(b);o.useEffect(()=>{h.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),D.current!==b&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[m,b]);let v,E,y,C=!1,B=null,S=o.useRef(null);if(m&&c){v=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?S:void 0}),c.useDraggableCollection({},v,t);let F=c.DragPreview;B=c.renderDragPreview?o.createElement(F,{ref:S},c.renderDragPreview):null}if(b&&c){E=c.useDroppableCollectionState({collection:n,selectionManager:p});let F=new ru({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),I=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);y=c.useDroppableCollection({keyboardDelegate:F,dropTargetDelegate:I},E,t),C=E.isDropTarget({type:"root"})}let{focusProps:R,isFocused:$,isFocusVisible:T}=oe(),A=H({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:C,isFocused:$,isFocusVisible:T,state:a}}),k=!!(m&&!(v!=null&&v.isDisabled)),z=A.style,x=null;r&&(x=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(z={...z,tableLayout:"fixed",width:"fit-content"}));let w=Me("table");var V;return o.createElement(te,{values:[[Bt,a],[j5,x],[Ue,{dragAndDropHooks:c,dragState:v,dropState:E}],[da,{render:Lx}]]},o.createElement(Vn,null,o.createElement(w,{..._(e),...A,...N(f,R,y==null?void 0:y.collectionProps),style:z,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":k||void 0,"data-drop-target":C||void 0,"data-focused":$||void 0,"data-focus-visible":T||void 0},o.createElement(d,{collection:n,scrollRef:(V=r==null?void 0:r.scrollRef)!==null&&V!==void 0?V:t,persistedKeys:Pl(p,c,E)}))),B)}function Me(e){let{isVirtualized:t}=o.useContext($e);return t?"div":e}const _5=o.createContext(null);function O5(){return o.useContext(_5)}const Rx=Oi("tableheader",(e,t)=>{let u=o.useContext(Bt).collection,n=ji({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(Ix,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=Me("thead"),{rowGroupProps:a}=fm(),{hoverProps:i,isHovered:l}=De({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=H({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{...N(_(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(ct,{dependencies:e.dependencies,items:e.columns},e.children));function Ix({item:e}){let t=o.useRef(null),u=o.useContext(Bt),{isVirtualized:n,CollectionBranch:r}=o.useContext($e),{rowProps:a}=sy({node:e,isVirtualized:n},u,t),{checkboxProps:i}=py(u),l=Me("tr");return o.createElement(l,{...a,ref:t},o.createElement(te,{values:[[jr,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const Kx=Lt("column",(e,t,u)=>{var n,r;let a=ge(t),i=o.useContext(Bt),{isVirtualized:l}=o.useContext($e),{columnHeaderProps:s}=ly({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),p=o.useContext(j5),m=!1;if(p)m=p.resizingColumn===u.key;else for(let y in["width","defaultWidth","minWidth","maxWidth"])y in u.props&&console.warn(`The ${y} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:b,isHovered:h}=De({isDisabled:!e.allowsSorting}),D=H({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:h,isFocused:d,isFocusVisible:c,allowsSorting:u.props.allowsSorting,sortDirection:((n=i.sortDescriptor)===null||n===void 0?void 0:n.column)===u.key?i.sortDescriptor.direction:void 0,isResizing:m,startResize:()=>{if(p)p.startResize(u.key),i.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:y=>{i.sort(u.key,y)}}}),v=D.style;p&&(v={...v,width:p.getColumnWidth(u.key)});let E=Me("th");return o.createElement(E,{...N(_(e),s,f,b),...D,style:v,colSpan:u.colspan,ref:a,"data-hovered":h||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-resizing":m||void 0,"data-allows-sorting":u.props.allowsSorting||void 0,"data-sort-direction":((r=i.sortDescriptor)===null||r===void 0?void 0:r.column)===u.key?i.sortDescriptor.direction:void 0},o.createElement(te,{values:[[Mx,{column:u,triggerRef:a}],[$e,en]]},D.children))}),Mx=o.createContext(null),zx=Oi("tablebody",(e,t)=>{let u=o.useContext(Bt),{isVirtualized:n}=o.useContext($e),r=u.collection,{CollectionBranch:a}=o.useContext($e),{dragAndDropHooks:i,dropState:l}=o.useContext(Ue),s=!!(i!=null&&i.useDroppableCollectionState)&&!(l!=null&&l.isDisabled);var d;let f={isDropTarget:s&&!!l&&((d=l.isDropTarget({type:"root"}))!==null&&d!==void 0?d:!1),isEmpty:r.size===0},p=H({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=Me("tr"),h=Me("td"),D=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let y={},C={},B={};n?(y["aria-rowindex"]=r.headerRows.length+1,C["aria-colspan"]=D,B={display:"contents"}):C.colSpan=D,m=o.createElement(b,{role:"row",...y,style:B},o.createElement(h,{role:"rowheader",...C,style:B},e.renderEmptyState(f)))}let{rowGroupProps:v}=fm(),E=Me("tbody");return o.createElement(E,{...N(_(e),v),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(Ox,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:ca(i,l)}),m)}),Vx=Oi("item",(e,t,u)=>{let n=ge(t),r=o.useContext(Bt),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(Ue),{isVirtualized:s,CollectionBranch:d}=o.useContext($e),{rowProps:c,...f}=oy({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),{isFocusVisible:h,focusProps:D}=oe({within:!0}),{hoverProps:v,isHovered:E}=De({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:y}=fy({key:u.key},r),C;i&&a&&(C=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,S=o.useRef(null),{visuallyHiddenProps:R}=ou();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,S));let $=o.useRef(null);o.useEffect(()=>{i&&!$.current&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let T=i&&i.isDragging(u.key),{children:A,...k}=e,z=H({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:E,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:T,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:h}}),x=Me("tr"),w=Me("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(x,{role:"row",style:{height:0}},o.createElement(w,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...R,...B.dropIndicatorProps,ref:S}))),o.createElement(x,{...N(_(e),c,b,v,C==null?void 0:C.dragProps,D),...z,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":E||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":T||void 0,"data-drop-target":(B==null?void 0:B.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":h||void 0},o.createElement(te,{values:[[jr,{slots:{[ht]:{},selection:y}}],[Ze,{slots:{[ht]:{},drag:{...C==null?void 0:C.dragButtonProps,ref:$,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:r.collection,parent:u}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return o.createElement(ct,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),Nx=Lt("cell",(e,t,u)=>{let n=ge(t),r=o.useContext(Bt),{dragState:a}=o.useContext(Ue),{isVirtualized:i}=o.useContext($e);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=dy({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),{hoverProps:p,isHovered:m}=De({}),b=H({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m}}),h=Me("td");return o.createElement(h,{...N(_(e),l,f,p),...b,ref:n,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-pressed":s||void 0},o.createElement($e.Provider,{value:en},b.children))});function Lx(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Ue),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(_x,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function jx(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(Bt),{visuallyHiddenProps:l}=ou(),s=H({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=Me("tr"),c=Me("td");return o.createElement(d,{..._(e),...s,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement(c,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},o.createElement("div",{...l,role:"button",...u,ref:r}),s.children))}const _x=o.forwardRef(jx);function Ox(){let e=o.useContext(Bt),{dragAndDropHooks:t,dropState:u}=o.useContext(Ue),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=ou(),l=Me("tr"),s=Me("td");return!a&&r["aria-hidden"]?null:o.createElement(l,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0}},o.createElement(s,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...i,...r,ref:n})))}Lt("loader",function(t,u,n){let r=o.useContext(Bt),{isVirtualized:a}=o.useContext($e),i=r.collection.columns.length,l=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=Me("tr"),d=Me("td"),c={},f={},p={};return a?(c["aria-rowindex"]=r.collection.headerRows.length+r.collection.size,f["aria-colspan"]=i,p={display:"contents"}):f.colSpan=i,o.createElement(o.Fragment,null,o.createElement(s,{role:"row",ref:u,...N(_(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const ma=o.createContext(null),Qu=o.createContext(null),Hx=o.forwardRef(function(t,u){[t,u]=Y(t,u,ma);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(Nt,{content:n},a=>o.createElement(Ux,{props:t,collection:a,tabsRef:u}))});function Ux({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=iv({...e,collection:u,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:l}=oe({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=H({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{..._(e),...a,...d,ref:t,slot:e.slot||void 0,"data-focused":i||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":r.isDisabled||void 0},o.createElement(te,{values:[[ma,e],[Qu,r]]},d.children))}const Wx=o.forwardRef(function(t,u){return o.useContext(Qu)?o.createElement(Gx,{props:t,forwardedRef:u}):o.createElement(ct,t)});function Gx({props:e,forwardedRef:t}){let u=o.useContext(Qu),{CollectionRoot:n}=o.useContext($e),{orientation:r="horizontal",keyboardActivation:a="automatic"}=je(ma),i=ge(t),{tabListProps:l}=$y({...e,orientation:r,keyboardActivation:a},u,i),s=H({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=_(e);return delete d.id,o.createElement("div",{...d,...l,ref:i,...s,"data-orientation":r||void 0},o.createElement(n,{collection:u.collection,persistedKeys:El(u.selectionManager.focusedKey)}))}const Zx=Lt("item",(e,t,u)=>{let n=o.useContext(Qu),r=ge(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=my({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=De({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=H({...e,id:void 0,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),h=u.props.href?"a":"div";return o.createElement(h,{...N(a,d,p,b),ref:r,"data-selected":i||void 0,"data-disabled":l||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":m||void 0})}),qx=Wr(function(t,u){const n=o.useContext(Qu);let r=ge(u),{tabPanelProps:a}=by(t,n,r),{focusProps:i,isFocused:l,isFocusVisible:s}=oe(),d=n.selectedKey===t.id,c=H({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=_(t);delete f.id;let p=d?N(f,a,i,c):c;return o.createElement("div",{...p,ref:r,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:d?void 0:"true","data-inert":d?void 0:"true"},o.createElement(te,{values:[[ma,null],[Qu,null]]},o.createElement($e.Provider,{value:en},c.children)))}),Yx=o.createContext(null),H5=o.createContext(null),Jx=o.forwardRef(function(t,u){return[t,u]=Y(t,u,Yx),o.createElement(Nt,{content:t.children},n=>o.createElement(Qx,{props:t,forwardedRef:u,collection:n}))});function Qx({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=xt(),i=aa({...e,children:void 0,collection:u}),l=_(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=gy({...e,...s,label:a},i,n);var m;return o.createElement("div",{...l,ref:t,slot:e.slot||void 0,className:(m=e.className)!==null&&m!==void 0?m:"react-aria-TagGroup",style:e.style},o.createElement(te,{values:[[jt,{...c,elementType:"span",ref:r}],[H5,{...d,ref:n}],[Ge,i],[Ve,{slots:{description:f,errorMessage:p}}]]},e.children))}const Xx=o.forwardRef(function(t,u){return o.useContext(Ge)?o.createElement(e7,{props:t,forwardedRef:u}):o.createElement(ct,t)});function e7({props:e,forwardedRef:t}){let u=o.useContext(Ge),{CollectionRoot:n}=o.useContext($e),[r,a]=Y(e,t,H5);delete r.items,delete r.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=oe(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=H({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=El(u.selectionManager.focusedKey);return o.createElement("div",{...N(r,i),...c,ref:a,"data-empty":u.collection.size===0||void 0,"data-focused":l||void 0,"data-focus-visible":s||void 0},u.collection.size===0&&e.renderEmptyState?e.renderEmptyState(d):o.createElement(n,{collection:u.collection,persistedKeys:f}))}const t7=Lt("item",(e,t,u)=>{let n=o.useContext(Ge),r=ge(t),{focusProps:a,isFocusVisible:i}=oe({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=yy({item:u},n,r),{hoverProps:f,isHovered:p}=De({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=H({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:i,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return o.useEffect(()=>{u.textValue||console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[u.textValue]),o.createElement("div",{ref:r,...m,...N(_(e),l,a,f),"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":i||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},o.createElement("div",{...s,style:{display:"contents"}},o.createElement(te,{values:[[Ze,{slots:{remove:d}}],[$e,en]]},m.children)))}),Kl=o.createContext(null),U5=o.createContext(null);function u7(e){let t=Lb(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=xy(e,t,u);return o.createElement(te,{values:[[Kl,t],[U5,{...r,triggerRef:u}]]},o.createElement(Kg,{...n,ref:u},e.children))}const n7=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=Y(u,n,U5);let r=o.useContext(Kl),a=Lb(u),i=u.isOpen!=null||u.defaultOpen!=null||!r?a:r,l=ks(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(_2,{portalContainer:t},o.createElement(r7,{...u,tooltipRef:n,isExiting:l}))});function r7(e){let t=o.useContext(Kl),u=o.useRef(null),[n,r]=o.useState(0);q(()=>{u.current&&t.isOpen&&r(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:a,arrowProps:i,placement:l}=m3({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),s=Bs(e.tooltipRef,!!l)||e.isEntering||!1,d=H({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=N(e,a);let{tooltipProps:c}=vy(e,t);return o.createElement("div",{...c,ref:e.tooltipRef,...d,style:{...a.style,...d.style},"data-placement":l??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},o.createElement(Sl.Provider,{value:{...i,placement:l,ref:u}},d.children))}const a7=({variant:e="uncontained",type:t="single",children:u,className:n,...r})=>g.jsx(nx,{allowsMultipleExpanded:t==="multiple",className:W(Xe.root,e==="contained"?Xe.contained:Xe.uncontained,n),...r,children:u}),i7='"../theme/tokens.css"',l7="#143c50",o7="#25607f",s7="#4289ad",d7='"Inter", sans-serif',c7="1rem",f7="500",p7="#ffffff",m7="#bfbfbf",b7="#f2f2f2",h7="#e6e6e6",$7="#000000",g7="undefined",D7="(max-width: 767px)",y7="0 0 0 2px #ffffff, 0 0 0 4px #000000",v7="#e62323",x7="#b31b1b",C7="#801313",E7="_button_r914l_4",B7="_primary_r914l_41",k7="_secondary_r914l_47",P7="_tertiary_r914l_71",S7="_iconBtn_r914l_93",A7="_danger_r914l_114",w7="_iconRight_r914l_136",F7="_fullwidth_r914l_140",T7="_small_r914l_144",At={tokens:i7,blue150:l7,blue130:o7,blue90:s7,display:d7,desktopSize:c7,mediumWeight:f7,white:p7,gray50:m7,gray10:b7,gray20:h7,black:$7,medium:g7,smBreakpoint:D7,focus:y7,signalRed100:v7,signalRed130:x7,signalRed150:C7,button:E7,primary:B7,secondary:k7,tertiary:P7,iconBtn:S7,danger:A7,iconRight:w7,fullwidth:F7,small:T7},ze=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r,icon:a,iconSize:i,...l})=>{const s=r==="small"?14:i||20;return g.jsx(dt,{className:W(At.button,e==="primary"&&At.primary,e==="secondary"&&At.secondary,e==="tertiary"&&At.tertiary,e==="danger"&&At.danger,e==="icon"&&At.iconBtn,t&&At.fullwidth,r==="small"&&At.small,n==="right"&&At.iconRight,u),...l,children:g.jsxs(g.Fragment,{children:[a&&g.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},R7='"../theme/tokens.css"',I7="(max-width: 767px)",K7="_buttonGroup_5pd8y_4",M7={tokens:R7,smBreakpoint:I7,buttonGroup:K7},z7=({children:e,className:t,"aria-label":u,...n})=>g.jsx("div",{role:"group","aria-label":u,className:W(M7.buttonGroup,t),...n,children:e});/**
19
19
  * @license lucide-react v0.453.0 - ISC
20
20
  *
21
21
  * This source code is licensed under the ISC license.
22
22
  * See the LICENSE file in the root directory of this source tree.
23
- */const j7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),G5=(...e)=>e.filter((t,u,n)=>!!t&&n.indexOf(t)===u).join(" ");/**
23
+ */const V7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),W5=(...e)=>e.filter((t,u,n)=>!!t&&n.indexOf(t)===u).join(" ");/**
24
24
  * @license lucide-react v0.453.0 - ISC
25
25
  *
26
26
  * This source code is licensed under the ISC license.
27
27
  * See the LICENSE file in the root directory of this source tree.
28
- */var _7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
28
+ */var N7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
29
29
  * @license lucide-react v0.453.0 - ISC
30
30
  *
31
31
  * This source code is licensed under the ISC license.
32
32
  * See the LICENSE file in the root directory of this source tree.
33
- */const O7=o.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:u=2,absoluteStrokeWidth:n,className:r="",children:a,iconNode:i,...l},s)=>o.createElement("svg",{ref:s,..._7,width:t,height:t,stroke:e,strokeWidth:n?Number(u)*24/Number(t):u,className:G5("lucide",r),...l},[...i.map(([d,c])=>o.createElement(d,c)),...Array.isArray(a)?a:[a]]));/**
33
+ */const L7=o.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:u=2,absoluteStrokeWidth:n,className:r="",children:a,iconNode:i,...l},s)=>o.createElement("svg",{ref:s,...N7,width:t,height:t,stroke:e,strokeWidth:n?Number(u)*24/Number(t):u,className:W5("lucide",r),...l},[...i.map(([d,c])=>o.createElement(d,c)),...Array.isArray(a)?a:[a]]));/**
34
34
  * @license lucide-react v0.453.0 - ISC
35
35
  *
36
36
  * This source code is licensed under the ISC license.
37
37
  * See the LICENSE file in the root directory of this source tree.
38
- */const Ae=(e,t)=>{const u=o.forwardRef(({className:n,...r},a)=>o.createElement(O7,{ref:a,iconNode:t,className:G5(`lucide-${j7(e)}`,n),...r}));return u.displayName=`${e}`,u};/**
38
+ */const Ae=(e,t)=>{const u=o.forwardRef(({className:n,...r},a)=>o.createElement(L7,{ref:a,iconNode:t,className:W5(`lucide-${V7(e)}`,n),...r}));return u.displayName=`${e}`,u};/**
39
39
  * @license lucide-react v0.453.0 - ISC
40
40
  *
41
41
  * This source code is licensed under the ISC license.
42
42
  * See the LICENSE file in the root directory of this source tree.
43
- */const H7=Ae("ArrowDownNarrowWide",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]]);/**
43
+ */const j7=Ae("ArrowDownNarrowWide",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]]);/**
44
44
  * @license lucide-react v0.453.0 - ISC
45
45
  *
46
46
  * This source code is licensed under the ISC license.
47
47
  * See the LICENSE file in the root directory of this source tree.
48
- */const U7=Ae("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
48
+ */const _7=Ae("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
49
49
  * @license lucide-react v0.453.0 - ISC
50
50
  *
51
51
  * This source code is licensed under the ISC license.
52
52
  * See the LICENSE file in the root directory of this source tree.
53
- */const W7=Ae("ArrowUpWideNarrow",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]]);/**
53
+ */const O7=Ae("ArrowUpWideNarrow",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]]);/**
54
54
  * @license lucide-react v0.453.0 - ISC
55
55
  *
56
56
  * This source code is licensed under the ISC license.
57
57
  * See the LICENSE file in the root directory of this source tree.
58
- */const Z5=Ae("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
58
+ */const G5=Ae("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
59
59
  * @license lucide-react v0.453.0 - ISC
60
60
  *
61
61
  * This source code is licensed under the ISC license.
62
62
  * See the LICENSE file in the root directory of this source tree.
63
- */const Kn=Ae("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
63
+ */const In=Ae("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
64
64
  * @license lucide-react v0.453.0 - ISC
65
65
  *
66
66
  * This source code is licensed under the ISC license.
@@ -75,64 +75,64 @@
75
75
  *
76
76
  * This source code is licensed under the ISC license.
77
77
  * See the LICENSE file in the root directory of this source tree.
78
- */const q5=Ae("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
78
+ */const Z5=Ae("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
79
79
  * @license lucide-react v0.453.0 - ISC
80
80
  *
81
81
  * This source code is licensed under the ISC license.
82
82
  * See the LICENSE file in the root directory of this source tree.
83
- */const Y5=Ae("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
83
+ */const q5=Ae("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
84
84
  * @license lucide-react v0.453.0 - ISC
85
85
  *
86
86
  * This source code is licensed under the ISC license.
87
87
  * See the LICENSE file in the root directory of this source tree.
88
- */const G7=Ae("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
88
+ */const H7=Ae("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
89
89
  * @license lucide-react v0.453.0 - ISC
90
90
  *
91
91
  * This source code is licensed under the ISC license.
92
92
  * See the LICENSE file in the root directory of this source tree.
93
- */const Z7=Ae("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
93
+ */const U7=Ae("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
94
94
  * @license lucide-react v0.453.0 - ISC
95
95
  *
96
96
  * This source code is licensed under the ISC license.
97
97
  * See the LICENSE file in the root directory of this source tree.
98
- */const J5=Ae("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
98
+ */const Y5=Ae("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
99
99
  * @license lucide-react v0.453.0 - ISC
100
100
  *
101
101
  * This source code is licensed under the ISC license.
102
102
  * See the LICENSE file in the root directory of this source tree.
103
- */const q7=Ae("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
103
+ */const W7=Ae("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
104
104
  * @license lucide-react v0.453.0 - ISC
105
105
  *
106
106
  * This source code is licensed under the ISC license.
107
107
  * See the LICENSE file in the root directory of this source tree.
108
- */const Y7=Ae("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
108
+ */const G7=Ae("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
109
109
  * @license lucide-react v0.453.0 - ISC
110
110
  *
111
111
  * This source code is licensed under the ISC license.
112
112
  * See the LICENSE file in the root directory of this source tree.
113
- */const J7=Ae("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
113
+ */const Z7=Ae("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
114
114
  * @license lucide-react v0.453.0 - ISC
115
115
  *
116
116
  * This source code is licensed under the ISC license.
117
117
  * See the LICENSE file in the root directory of this source tree.
118
- */const Q7=Ae("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
118
+ */const q7=Ae("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
119
119
  * @license lucide-react v0.453.0 - ISC
120
120
  *
121
121
  * This source code is licensed under the ISC license.
122
122
  * See the LICENSE file in the root directory of this source tree.
123
- */const X7=Ae("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
123
+ */const Y7=Ae("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
124
124
  * @license lucide-react v0.453.0 - ISC
125
125
  *
126
126
  * This source code is licensed under the ISC license.
127
127
  * See the LICENSE file in the root directory of this source tree.
128
- */const eC=Ae("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
128
+ */const J7=Ae("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
129
129
  * @license lucide-react v0.453.0 - ISC
130
130
  *
131
131
  * This source code is licensed under the ISC license.
132
132
  * See the LICENSE file in the root directory of this source tree.
133
- */const Q5=Ae("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
133
+ */const J5=Ae("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
134
134
  * @license lucide-react v0.453.0 - ISC
135
135
  *
136
136
  * This source code is licensed under the ISC license.
137
137
  * See the LICENSE file in the root directory of this source tree.
138
- */const Ru=Ae("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),tC=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=de.useRef(null),[i,l]=de.useState(0),s=typeof e=="object";return de.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)}),g.jsxs(sx,{...r,className:W(Xe.item,u),children:[s?g.jsx("div",{className:Xe.trigger,children:g.jsxs(Ne,{slot:"trigger",variant:"icon",children:[g.jsx(Kn,{size:20,className:Xe.icon}),e]})}):g.jsx(Rl,{level:n,className:Xe.trigger,children:g.jsxs(Ne,{slot:"trigger",variant:"icon",children:[g.jsx(Kn,{size:20,className:Xe.icon}),g.jsx("span",{className:Xe.triggerText,children:e})]})}),g.jsx(dx,{style:{"--panel-height":`${i}px`},className:W(Xe.panel,i===0&&Xe.panel0),children:g.jsx("div",{ref:a,className:Xe.content,children:t})})]})},uC='"../theme/tokens.css"',nC='"Inter", sans-serif',rC="#25607f",aC="#143c50",iC="#1f1f1f",lC="#bfbfbf",oC="500",sC="0 0 0 2px #ffffff, 0 0 0 4px #000000",dC="400",cC="#663366",fC="#000000",pC="_link_rnt2w_4",mC="_icon_rnt2w_45",bC="_standalone_rnt2w_49",hC="_stretched_rnt2w_64",dn={tokens:uC,display:nC,blue130:rC,blue150:aC,gray150:iC,gray50:lC,mediumWeight:oC,focus:sC,regularWeight:dC,linkVisited:cC,black:fC,link:pC,icon:mC,standalone:bC,stretched:hC},Vl=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||zr;return g.jsx(l,{className:W(dn.link,t&&dn.standalone,u&&dn.stretched,r),...i,children:g.jsxs(g.Fragment,{children:[e,!t&&n&&g.jsx(n,{size:20,className:dn.icon}),t&&g.jsx(U7,{size:20,className:dn.icon})]})})},$C='"../theme/tokens.css"',gC='"Inter", sans-serif',DC="#1f1f1f",yC="_container_k9jic_4",vC={tokens:$C,display:gC,gray150:DC,container:yC},xC=({items:e})=>g.jsx(Dv,{className:vC.container,children:e.map((t,u)=>g.jsx(yv,{children:g.jsx(Vl,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),CC='"../theme/tokens.css"',EC='"Inter", sans-serif',BC="#ffffff",kC="#e6e6e6",PC="#f2f2f2",SC="#1f1f1f",AC="#d5e5ed",wC="#000000",FC="500",TC="250ms",RC="_card_vbecj_4",IC="_content_vbecj_33",KC="_heading_vbecj_39",MC="_image_vbecj_47",zC="_background_vbecj_56",VC="_text_vbecj_60",zu={tokens:CC,display:EC,white:BC,gray20:kC,gray10:PC,gray150:SC,blue20:AC,black:wC,mediumWeight:FC,fastTransition:TC,card:RC,content:IC,heading:KC,image:MC,background:zC,text:VC},NC=({image:e,background:t,title:u,content:n,link:r,headingTag:a="h1",customImageComponent:i,customLinkComponent:l,...s})=>{const d=de.useId();return g.jsxs("div",{className:W(zu.card,t&&zu.background,s.className),...s,children:[g.jsxs("div",{className:zu.content,children:[i||(e==null?void 0:e.source)&&g.jsx("img",{src:e.source,alt:e.description,className:zu.image}),g.jsxs("div",{id:d,children:[g.jsx(a,{className:zu.heading,children:u}),g.jsx("p",{className:zu.text,children:n})]})]}),g.jsx(Vl,{"aria-describedby":d,...r,standalone:!0,stretched:!0,as:l})]})},LC='"../theme/tokens.css"',jC='"Inter", sans-serif',_C="#000000",OC="#143c50",HC="#5897b8",UC="#25607f",WC="#ffdfdf",GC="#e62323",ZC="0 0 0 2px #ffffff, 0 0 0 4px #000000",qC="#b31b1b",YC="#ffffff",JC="#f2f2f2",QC="#cccccc",XC="#808080",e9="#bfbfbf",t9="#e6e6e6",u9="400",n9="500",r9="(max-width: 767px)",a9="#b3b3b3",i9="_wrap_94zdd_4",l9="_checkboxInner_94zdd_11",o9="_checkbox_94zdd_11",s9="_checkboxGroup_94zdd_134",jr={tokens:LC,display:jC,black:_C,primaryBackground:OC,blue80:HC,blue130:UC,signalRed10:WC,signalRed100:GC,focus:ZC,signalRed130:qC,white:YC,gray10:JC,gray40:QC,gray100:XC,gray50:e9,gray20:t9,regularWeight:u9,mediumWeight:n9,smBreakpoint:r9,borderSecondary:a9,wrap:i9,checkboxInner:l9,checkbox:o9,checkboxGroup:s9},Zn=({children:e,...t})=>g.jsx(Fv,{className:W(jr.checkbox,t.className),...t,children:({isIndeterminate:u})=>g.jsxs(g.Fragment,{children:[g.jsx("div",{className:jr.checkboxInner,children:g.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?g.jsx("rect",{x:4,y:8,width:10,height:2}):g.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),d9='"../theme/tokens.css"',c9='"Inter", sans-serif',f9="#ffdfdf",p9="#f2f2f2",m9="#e6e6e6",b9="#bfbfbf",h9="#000000",$9="#e62323",g9="500",D9="400",y9="#1f1f1f",v9="0 0 0 2px #ffffff, 0 0 0 4px #000000",x9="_inputField_12oaf_4",C9="_inputWrapper_12oaf_12",E9="_label_12oaf_30",B9="_text_12oaf_36",k9="_fieldError_12oaf_42",P9="_passwordText_12oaf_66",S9="_count_12oaf_79",A9="_countExceeded_12oaf_87",w9="_input_12oaf_4",F9="_wrap_12oaf_135",T9="_passwordButton_12oaf_140",Te={tokens:d9,display:c9,signalRed10:f9,gray10:p9,gray20:m9,gray50:b9,black:h9,signalRed100:$9,mediumWeight:g9,regularWeight:D9,inputText:y9,focus:v9,inputField:x9,inputWrapper:C9,label:E9,text:B9,fieldError:k9,passwordText:P9,count:S9,countExceeded:A9,input:w9,wrap:F9,passwordButton:T9},R9=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxLength:a,showCounter:i,className:l,...s})=>{const[d,c]=de.useState(s.defaultValue??s.value??""),f=b=>{const h=b.target.value;c(h)},p=b=>n==="ssn"?X5.test(b)?null:"Felaktigt personnummer":n==="dossnr"?eh.test(b)?null:"Felaktigt dossiernummer":n instanceof RegExp?new RegExp(n).test(b)?null:u==null?void 0:u.toString():a?a&&b.length>a?`Du har angett ${b.length-a} tecken för mycket. Fältet är begränsat till ${a} tecken.`:null:r?r(b):!0,m=()=>a?g.jsxs("span",{className:W(Te.count,d.length>a&&Te.countExceeded),children:[d.length," / ",a]}):i?g.jsx("span",{className:Te.count,children:d.length}):null;return g.jsx(Ob,{className:W(Te.inputField,l),validate:p,...s,children:g.jsxs(bt,{label:e,description:t,errorMessage:u,children:[g.jsx(m,{}),g.jsxs("div",{className:Te.wrap,children:[g.jsx(Wn,{type:s.type,className:Te.input,onChange:f,onBlur:f}),g.jsx(I9,{type:s.type,input:d})]})]})})},I9=({type:e,input:t})=>{const[u,n]=de.useState(!1);return e==="password"?g.jsxs(g.Fragment,{children:[u&&g.jsx(ra,{slot:"description",className:Te.passwordText,children:t}),g.jsx(Ne,{variant:"tertiary",onPress:()=>n(!u),className:Te.passwordButton,children:u?"Dölj":"Visa"})]}):null},bt=({label:e,description:t,errorMessage:u,children:n})=>g.jsxs("div",{className:Te.inputWrapper,children:[e&&g.jsx(Ts,{className:Te.label,children:e}),t&&g.jsx(ra,{slot:"description",className:Te.text,children:t}),g.jsx(Ym,{className:Te.fieldError,children:u}),n]}),X5=new RegExp("^(?:(?:19|20)?\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4})?|\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4}))$"),eh=new RegExp("\\d{1,2}[-+]?\\d{6}(/\\d{1,2})?$"),K9=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,...a})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(Bl),c=o.Children.toArray(r).filter(o.isValidElement).map(p=>p.props.value),f=()=>i!=="all"?(l("all"),d==null?void 0:d.setValue(["toggleAll",...c])):(l("none"),d==null?void 0:d.setValue([]));return o.useEffect(()=>{var h,D;const p=c.length,m=c.length+1,b=((h=d==null?void 0:d.value)==null?void 0:h.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!((D=d==null?void 0:d.value)!=null&&D.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),g.jsx(Zn,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return g.jsx(wv,{className:jr.checkboxGroup,...a,children:g.jsx(bt,{label:e,description:t,errorMessage:u,children:g.jsxs(Un,{className:jr.wrap,children:[n&&g.jsx(s,{}),r]})})})},M9='"../theme/tokens.css"',z9='"Inter", sans-serif',V9="#000000",N9="#b31b1b",L9="(max-width: 767px)",j9="#bfbfbf",_9="#e6e6e6",O9="#f2f2f2",H9="0 0 0 2px #ffffff, 0 0 0 4px #000000",U9="#f2f2f2",W9="_input_1gpkc_4",G9="_combobox_1gpkc_38",Z9="_text_1gpkc_54",q9="_wrap_1gpkc_59",Y9="_button_1gpkc_64",J9="_icon_1gpkc_82",Q9="_popover_1gpkc_88",X9="_fieldError_1gpkc_96",e8="_listBoxItem_1gpkc_107",hu={tokens:M9,display:z9,black:V9,signalRed130:N9,smBreakpoint:L9,gray50:j9,gray20:_9,gray10:O9,focus:H9,backgroundSecondary:U9,input:W9,combobox:G9,text:Z9,wrap:q9,button:Y9,icon:J9,popover:Q9,fieldError:X9,listBoxItem:e8};function t8({label:e,description:t,errorMessage:u,children:n,items:r,className:a,...i}){const l=o.useRef(null);return g.jsxs(Jv,{className:W(hu.combobox,a),ref:l,...i,children:[g.jsx(bt,{label:e,description:t,errorMessage:u,children:g.jsxs("div",{className:hu.wrap,children:[g.jsx(Wn,{className:hu.input}),g.jsx(dt,{className:hu.button,"aria-label":"Visa lista",children:g.jsx("div",{className:hu.icon,"aria-hidden":"true",children:g.jsx(Kn,{size:20,"aria-hidden":!0})})})]})}),g.jsx(un,{className:hu.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:g.jsx(F5,{items:r,children:n})})]})}function u8(e){return g.jsx(R5,{className:hu.listBoxItem,...e})}const n8='"../theme/tokens.css"',r8='"Inter", sans-serif',a8="#000000",i8="#f2f2f2",l8="#e6e6e6",o8="#b3b3b3",s8="#1f1f1f",d8="#d5e5ed",c8="0 0 0 2px #ffffff, 0 0 0 4px #000000",f8="#143c50",p8="_datePicker_1nqbn_4",m8="_datePickerTextfield_1nqbn_11",b8="_date_1nqbn_4",h8="_dialog_1nqbn_73",$8="_dialogHeader_1nqbn_78",g8="_dialogHeading_1nqbn_103",D8="_day_1nqbn_108",y8="_calendar_1nqbn_144",Ee={tokens:n8,display:r8,black:a8,gray10:i8,gray20:l8,gray60:o8,gray150:s8,blue20:d8,focus:c8,blue150:f8,datePicker:p8,datePickerTextfield:m8,date:b8,dialog:h8,dialogHeader:$8,dialogHeading:g8,day:D8,calendar:y8},v8=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return g.jsx(ax,{...n,className:W(Te.inputField,Ee.datePicker,n.className),ref:r,children:g.jsxs(bt,{label:e,description:t,errorMessage:u,children:[g.jsxs(Un,{className:W(Te.input,Ee.datePickerTextfield),children:[g.jsx(wi,{slot:"start",className:Ee.date,children:a=>g.jsx(Fi,{className:Ee.dateSegment,segment:a})}),g.jsx("span",{"aria-hidden":"true",children:"-"}),g.jsx(wi,{slot:"end",className:Ee.date,children:a=>g.jsx(Fi,{segment:a,className:Ee.dateSegment})}),g.jsx(dt,{children:g.jsx(Z5,{size:20,"aria-hidden":!0})})]}),g.jsx(un,{UNSTABLE_portalContainer:r.current||void 0,children:g.jsx(K5,{className:Ee.dialog,children:g.jsxs(xv,{children:[g.jsxs("header",{className:Ee.dialogHeader,children:[g.jsx(dt,{slot:"previous",children:g.jsx(Ml,{size:20,"aria-hidden":!0})}),g.jsx(Rl,{className:Ee.dialogHeading}),g.jsx(dt,{slot:"next",children:g.jsx(zl,{size:20,"aria-hidden":!0})})]}),g.jsx(Gb,{className:Ee.calendar,children:a=>g.jsx(Zb,{date:a,className:Ee.day})})]})})})]})})},x8=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return g.jsx(rx,{...n,className:W(Te.inputField,Ee.datePicker,n.className),ref:r,children:g.jsxs(bt,{label:e,description:t,errorMessage:u,children:[g.jsxs(Un,{className:W(Te.input,Ee.datePickerTextfield),children:[g.jsx(wi,{className:Ee.date,children:a=>g.jsx(Fi,{segment:a,className:Ee.dateSegment})}),g.jsx(dt,{children:g.jsx(Z5,{size:20,"aria-hidden":!0})})]}),g.jsx(un,{UNSTABLE_portalContainer:r.current||void 0,children:g.jsx(K5,{className:Ee.dialog,children:g.jsxs(vv,{children:[g.jsxs("header",{className:Ee.dialogHeader,children:[g.jsx(dt,{slot:"previous",children:g.jsx(Ml,{})}),g.jsx(Rl,{className:Ee.dialogHeading}),g.jsx(dt,{slot:"next",children:g.jsx(zl,{})})]}),g.jsx(Gb,{className:Ee.calendar,children:a=>g.jsx(Zb,{date:a,className:Ee.day})})]})})})]})})},C8='"../theme/tokens.css"',E8='"Inter", sans-serif',B8="0 0 0 2px #ffffff, 0 0 0 4px #000000",k8="#f2f2f2",P8="_dropDownMenu_1f4ap_4",S8="_dropdownMenu_1f4ap_15",th={tokens:C8,display:E8,focus:B8,gray10:k8,dropDownMenu:P8,dropdownMenu:S8};function uh({label:e,title:t,children:u,...n}){return g.jsxs(jv,{...n,children:[g.jsxs(Ne,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,g.jsx(G7,{size:20,"aria-hidden":!0})]}),g.jsx(un,{children:g.jsx(Ov,{...n,className:th.dropDownMenu,children:u})})]})}function nh(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return g.jsx(Gv,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${th.dropdownMenu} ${u?"focused":""} ${n?"open":""}`,children:({hasSubmenu:u})=>g.jsxs(g.Fragment,{children:[e.children,u&&g.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:g.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const A8='"../theme/tokens.css"',w8='"Inter", sans-serif',F8="#f2f2f2",T8="#8c8c8c",R8="500",I8="400",K8="_box_iol70_4",M8="_list_iol70_28",z8="_container_iol70_38",V8="_label_iol70_45",N8="_text_iol70_51",L8="_dropzone_iol70_57",j8="_input_iol70_71",Hu={tokens:A8,display:w8,gray10:F8,gray90:T8,mediumWeight:R8,regularWeight:I8,box:K8,list:M8,container:z8,label:V8,text:N8,dropzone:L8,input:j8},_8=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[a,i]=de.useState(null),l=d=>{i(d!==null?Array.from(d):[])},s=async d=>{const c=d.items.filter(p=>p.kind==="file").map(p=>p.getFile()),f=await Promise.all(c);i(f)};return n?g.jsxs("div",{className:Hu.container,children:[g.jsx(px,{onDrop:s,className:Hu.dropzone,children:g.jsx(ra,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),a&&g.jsx(cs,{files:a,setFiles:i})]}):g.jsxs("div",{className:Hu.container,children:[g.jsx(bt,{label:t,description:u,children:g.jsx(mx,{allowsMultiple:e,onSelect:d=>l(d),...r,children:g.jsx(Ne,{variant:"secondary","aria-labelledby":"fileUpload",className:Hu.input,children:e?"Välj filer":"Välj fil"})})}),a&&g.jsx(cs,{files:a,setFiles:i})]})},cs=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return g.jsx("ul",{className:Hu.list,children:e.map((n,r)=>g.jsxs("li",{className:Hu.box,children:[g.jsx("span",{children:n.name}),g.jsx(Ne,{variant:"icon",size:"small",onPress:()=>u(r),children:g.jsx(Ru,{size:20,"aria-hidden":!0})})]},r))})},O8='"../theme/tokens.css"',H8="(min-width: 768px)",U8="(min-width: 1200px)",W8="(min-width: 1440px)",G8="_container_148sa_4",Z8="_flex_148sa_16",q8="_fluid_148sa_54",Y8="_col_148sa_60",Yu={tokens:O8,mdBreakpoint:H8,lgBreakpoint:U8,xlBreakpoint:W8,container:G8,flex:Z8,fluid:q8,col:Y8,"col-1":"_col-1_148sa_64","col-2":"_col-2_148sa_65","col-3":"_col-3_148sa_66","col-4":"_col-4_148sa_67","col-5":"_col-5_148sa_68","col-6":"_col-6_148sa_69","col-7":"_col-7_148sa_70","col-8":"_col-8_148sa_71","col-9":"_col-9_148sa_72","col-10":"_col-10_148sa_73","col-11":"_col-11_148sa_74","col-12":"_col-12_148sa_75","col-auto":"_col-auto_148sa_76","offset-1":"_offset-1_148sa_130","offset-2":"_offset-2_148sa_134","offset-3":"_offset-3_148sa_138","offset-4":"_offset-4_148sa_142","offset-5":"_offset-5_148sa_146","offset-6":"_offset-6_148sa_150","offset-7":"_offset-7_148sa_154","offset-8":"_offset-8_148sa_158","offset-9":"_offset-9_148sa_162","offset-10":"_offset-10_148sa_166","offset-11":"_offset-11_148sa_170"},J8=({children:e,fluid:t=!1,...u})=>g.jsx("div",{className:W(Yu.container,t&&Yu.fluid,u.className),...u,children:g.jsx("div",{className:Yu.flex,children:e})}),rh=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return g.jsx("div",{className:W(Yu.col,Yu[r],Yu[a],n.className),...n,children:e})},Q8='"../theme/tokens.css"',X8="(min-width: 768px)",eE="(min-width: 1200px)",tE="(min-width: 1440px)",uE="_container_1aupx_4",nE="_grid_1aupx_16",rE="_fluid_1aupx_45",aE="_col_1aupx_52",vn={tokens:Q8,mdBreakpoint:X8,lgBreakpoint:eE,xlBreakpoint:tE,container:uE,grid:nE,fluid:rE,col:aE,"col-1":"_col-1_1aupx_58","col-2":"_col-2_1aupx_62","col-3":"_col-3_1aupx_66","col-4":"_col-4_1aupx_70","col-5":"_col-5_1aupx_74","col-6":"_col-6_1aupx_78","col-7":"_col-7_1aupx_82","col-8":"_col-8_1aupx_86","col-9":"_col-9_1aupx_90","col-10":"_col-10_1aupx_94","col-11":"_col-11_1aupx_98","col-12":"_col-12_1aupx_102","offset-1":"_offset-1_1aupx_106","offset-2":"_offset-2_1aupx_110","offset-3":"_offset-3_1aupx_114","offset-4":"_offset-4_1aupx_118","offset-5":"_offset-5_1aupx_122","offset-6":"_offset-6_1aupx_126","offset-7":"_offset-7_1aupx_130","offset-8":"_offset-8_1aupx_134","offset-9":"_offset-9_1aupx_138","offset-10":"_offset-10_1aupx_142","offset-11":"_offset-11_1aupx_146"},iE=({children:e,fluid:t=!1,...u})=>g.jsx("div",{className:W(vn.container,t&&vn.fluid,u.className),...u,children:g.jsx("div",{className:vn.grid,children:e})}),lE=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return g.jsx("div",{className:W(vn.col,vn[n],u.className),...u,children:e})},oE='"../theme/tokens.css"',sE='"Inter", sans-serif',dE="#d5f2d9",cE="#008d3c",fE="#eaf2f6",pE="#0066cc",mE="#fff8e1",bE="#f1c21b",hE="#ffdfdf",$E="#e62323",gE="#000000",DE="600",yE="_infoBanner_1tfw7_4",vE="_success_1tfw7_13",xE="_info_1tfw7_4",CE="_important_1tfw7_23",EE="_warning_1tfw7_28",BE="_content_1tfw7_37",kE="_heading_1tfw7_43",PE="_text_1tfw7_48",SE="_icon_1tfw7_53",AE="_dismissable_1tfw7_58",bu={tokens:oE,display:sE,signalGreen10:dE,signalGreen100:cE,signalBlue10:fE,signalBlue100:pE,signalYellow10:mE,signalYellow100:bE,signalRed10:hE,signalRed100:$E,black:gE,semiBoldWeight:DE,infoBanner:yE,success:vE,info:xE,important:CE,warning:EE,content:BE,heading:kE,text:PE,icon:SE,dismissable:AE},wE={success:Y5,info:J5,important:q5,warning:Q5},FE=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=wE[u],[l,s]=de.useState(!0);return l?g.jsxs("div",{className:W(bu.infoBanner,bu[u],a.className),...a,children:[g.jsx(i,{size:20,"aria-hidden":!0,className:bu.icon}),g.jsxs("div",{className:bu.content,children:[e&&g.jsx("strong",{className:bu.heading,children:e}),g.jsxs("div",{className:bu.text,children:[t,n]})]}),r&&g.jsx("div",{className:bu.dismissable,children:g.jsx(Ne,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:g.jsx(Ru,{size:20})})})]}):null},TE='"../theme/tokens.css"',RE='"Inter", sans-serif',IE="#143c50",KE="500",ME="#f2f2f2",zE="#e6e6e6",VE="#d9d9d9",NE="#b3b3b3",LE="#a6a6a6",jE="#5d5d5d",_E="#1f1f1f",OE="(min-width: 768px)",HE="#b90835",UE="0 0 0 2px #ffffff, 0 0 0 4px #000000",WE="_baseLayout_9uzhg_4",GE="_mainContent_9uzhg_13",ZE="_header_9uzhg_18",qE="_headerContent_9uzhg_35",YE="_headerItems_9uzhg_52",JE="_logo_9uzhg_53",QE="_headerMenu_9uzhg_61",XE="_toggleButton_9uzhg_69",eB="_sidebar_9uzhg_77",tB="_main_9uzhg_13",uB="_app_9uzhg_114",nB="_sidebarOpened_9uzhg_123",rB="_sidebarFooter_9uzhg_127",aB="_appName_9uzhg_138",iB="_collapseButton_9uzhg_145",lB="_sidebarCollapsed_9uzhg_155",oB="_sidebarHeader_9uzhg_160",sB="_userName_9uzhg_172",dB="_abbr_9uzhg_185",cB="_userTitle_9uzhg_191",fB="_title_9uzhg_203",pB="_sidebarNav_9uzhg_214",mB="_list_9uzhg_220",bB="_listGroupTitle_9uzhg_227",hB="_listItem_9uzhg_234",$B="_listItemCollapsed_9uzhg_238",gB="_listLink_9uzhg_242",DB="_listLinkCollapsed_9uzhg_287",yB="_active_9uzhg_292",vB="_linkText_9uzhg_297",xB="_backdrop_9uzhg_304",CB="_backdropOpened_9uzhg_314",EB="_skipToContent_9uzhg_332",te={tokens:TE,display:RE,primaryBackground:IE,mediumWeight:KE,gray10:ME,gray20:zE,gray30:VE,gray60:NE,gray70:LE,gray130:jE,gray150:_E,mdBreakpoint:OE,logoPrimary:HE,focus:UE,baseLayout:WE,mainContent:GE,header:ZE,headerContent:qE,headerItems:YE,logo:JE,headerMenu:QE,toggleButton:XE,sidebar:eB,main:tB,app:uB,sidebarOpened:nB,sidebarFooter:rB,appName:aB,collapseButton:iB,sidebarCollapsed:lB,sidebarHeader:oB,userName:sB,abbr:dB,userTitle:cB,title:fB,sidebarNav:pB,list:mB,listGroupTitle:bB,listItem:hB,listItemCollapsed:$B,listLink:gB,listLinkCollapsed:DB,active:yB,linkText:vB,backdrop:xB,backdropOpened:CB,skipToContent:EB},BB='"../theme/tokens.css"',kB='"Inter", sans-serif',PB="#1f1f1f",SB="_tooltip_m1a8t_4",AB="_arrow_m1a8t_17",fs={tokens:BB,display:kB,gray150:PB,tooltip:SB,arrow:AB};function ah({children:e,placement:t,className:u,...n}){return g.jsxs(i7,{className:W(fs.tooltip,u),placement:t,...n,children:[g.jsx(Vv,{className:fs.arrow,children:g.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:g.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function ih({children:e,delay:t=0,...u}){return g.jsx(a7,{delay:t,...u,children:e})}const lh=de.createContext(void 0),wB=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:a,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>g.jsx(lh.Provider,{value:{items:e,title:t,user:u,app:n,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,clientSideRouter:a,clientSideHref:i},children:r}),ba=()=>{const e=de.useContext(lh);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},Nl=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:r,setIsOpened:a}=ba(),[i,l]=de.useState(!1);return de.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),r?g.jsxs(ih,{children:[g.jsx(zr,{href:t,"aria-label":e,className:W(te.listLink,te.listLinkCollapsed,i&&te.active),onPress:()=>a(!1),children:g.jsx(u,{size:20,"aria-label":e})}),g.jsx(ah,{placement:"right",children:e})]}):g.jsxs(zr,{href:t,"aria-label":e,className:W(te.listLink,i&&te.active),onPress:()=>a(!1),children:[g.jsx(u,{size:20}),e]})},oh=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:a,clientSideRouter:i,clientSideHref:l}=ba(),s=({group:d})=>g.jsx("ul",{className:te.list,children:d.items.map((c,f)=>g.jsx("li",{className:W(te.listItem,n&&te.listItemCollapsed),children:g.jsx(Nl,{...c})},"link_"+f))});return de.useEffect(()=>{const d=c=>{c.key==="Escape"&&a(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[a]),g.jsxs("aside",{id:"midasMainMenu",className:W(te.sidebar,n&&te.sidebarCollapsed,u&&te.sidebarOpened),children:[g.jsx("nav",{className:te.sidebarNav,children:g.jsx("ul",{className:te.list,children:e.map((d,c)=>g.jsxs("li",{children:[d.title&&!n&&g.jsx("p",{className:te.listGroupTitle,children:d.title}),i?g.jsx(gs,{navigate:i,useHref:l,children:g.jsx(s,{group:d})}):g.jsx(s,{group:d})]},"list_"+c))})}),g.jsxs("div",{className:te.sidebarFooter,children:[!n&&g.jsx("p",{className:te.appName,children:t.name}),g.jsx(Ne,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:te.collapseButton,children:n?g.jsx(Q7,{size:20}):g.jsx(J7,{size:20})})]})]})},FB='"../theme/tokens.css"',TB="#b90835",RB="#000000",IB="#5d5d5d",KB="#ffffff",MB="_container_1c334_4",zB="_noPadding_1c334_9",VB="_logo_1c334_13",NB="_primary_1c334_18",LB="_dark_1c334_22",jB="_xSmall_1c334_26",_B="_small_1c334_30",OB="_large_1c334_34",HB="_backgroundPrimary_1c334_38",UB="_backgroundDark_1c334_46",lt={tokens:FB,red100:TB,black:RB,gray130:IB,white:KB,container:MB,noPadding:zB,logo:VB,primary:NB,dark:LB,xSmall:jB,small:_B,large:OB,backgroundPrimary:HB,backgroundDark:UB},sh=({primary:e=!0,size:t="medium",background:u=!1,padding:n=!0,className:r,...a})=>{const i=W(lt.logo,e?lt.primary:lt.dark,t==="x-small"&&lt.xSmall,t==="small"&&lt.small,t==="medium"&&lt.medium,t==="large"&&lt.large),l=()=>t==="x-small"?g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:i,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:g.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):g.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:i,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[g.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),g.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),g.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),g.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),g.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),g.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),g.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),g.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),g.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),g.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),g.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),g.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return g.jsx("div",{className:W(lt.container,n===!1&&lt.noPadding,u?e?lt.backgroundPrimary:lt.backgroundDark:null,r),...a,children:g.jsx(l,{})})},dh=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:a,headerChildren:i}=ba();return g.jsxs("header",{className:te.header,style:{borderTop:`solid 4px ${u.color?u.color:e$.midasColors.logoPrimary}`},children:[g.jsxs("div",{className:te.headerContent,children:[g.jsx(sh,{padding:!1,size:"small",className:te.logo}),g.jsx(Ne,{variant:"icon",className:te.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{a(!1),r(!0)},children:n?g.jsx(Ru,{size:20,"aria-hidden":"true"}):g.jsx(Y7,{size:20,"aria-hidden":"true"})}),g.jsxs("div",{children:[g.jsx("p",{className:te.userName,children:t.name}),g.jsx("p",{className:te.userTitle,children:t.title}),g.jsx("p",{className:te.title,children:e})]})]}),i&&g.jsxs(g.Fragment,{children:[g.jsx("div",{className:te.headerItems,children:i}),g.jsx("div",{className:te.headerMenu,children:g.jsx(uh,{label:"Öppna meny",children:de.Children.map(i,l=>g.jsx(nh,{children:l}))})})]})]})},WB=({id:e="#main:first-of-type"})=>{const t=()=>{const u=document.querySelector(e);u&&(u.tabIndex=-1,u.focus(),setTimeout(()=>u.removeAttribute("tabindex"),1e3))};return g.jsx(Ne,{onPress:t,className:te.skipToContent,children:"Hoppa till huvudinnehåll"})},GB=()=>{const{isOpened:e,setIsOpened:t}=ba();return e?g.jsx("div",{className:W(te.backdrop,te.backdropOpened),onClick:()=>{t(!1)},"aria-hidden":!0}):null},Xt=({items:e,title:t,user:u,app:n,children:r,headerChildren:a,clientSideRouter:i,clientSideHref:l})=>{const[s,d]=de.useState(!1),[c,f]=de.useState(!1);return g.jsx(Xt.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:i,clientSideHref:l,headerChildren:a,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,children:g.jsxs("div",{className:te.baseLayout,children:[g.jsx(WB,{}),g.jsx(Xt.Header,{}),g.jsxs("div",{className:te.mainContent,children:[g.jsx(Xt.Sidebar,{}),g.jsx(rh,{children:g.jsx("main",{className:te.main,children:g.jsx("div",{className:te.app,children:r})})}),g.jsx(GB,{})]})]})})};Xt.Provider=wB;Xt.Header=dh;Xt.Sidebar=oh;Xt.SidebarLink=Nl;const ZB='"../theme/tokens.css"',qB="#143c50",YB="#25607f",JB="#4289ad",QB='"Inter", sans-serif',XB="1rem",ek="500",tk="#ffffff",uk="#bfbfbf",nk="#f2f2f2",rk="#e6e6e6",ak="#000000",ik="undefined",lk="0 0 0 2px #ffffff, 0 0 0 4px #000000",ok="(max-width: 767px)",sk="#e62323",dk="#b31b1b",ck="#801313",fk="_linkButton_42bs5_4",pk="_secondary_42bs5_48",mk="_tertiary_42bs5_72",bk="_danger_42bs5_93",hk="_iconBtn_42bs5_115",$k="_iconLeft_42bs5_136",gk="_fullwidth_42bs5_140",Dk="_button_42bs5_145",Je={tokens:ZB,blue150:qB,blue130:YB,blue90:JB,display:QB,desktopSize:XB,mediumWeight:ek,white:tk,gray50:uk,gray10:nk,gray20:rk,black:ak,medium:ik,focus:lk,smBreakpoint:ok,signalRed100:sk,signalRed130:dk,signalRed150:ck,linkButton:fk,secondary:pk,tertiary:mk,danger:bk,iconBtn:hk,iconLeft:$k,fullwidth:gk,button:Dk},yk=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||zr,d=()=>n?g.jsx(n,{size:20,className:Je.icon}):l.target==="_blank"?g.jsx(eC,{size:20,className:Je.icon}):r==="left"?g.jsx(Ml,{size:20,className:Je.icon}):g.jsx(zl,{size:20,className:Je.icon});return g.jsxs(s,{className:W(Je.linkButton,t==="primary"&&Je.primary,t==="secondary"&&Je.secondary,t==="tertiary"&&Je.tertiary,t==="danger"&&Je.danger,t==="icon"&&Je.iconBtn,u&&Je.fullwidth,r==="left"&&Je.iconLeft,a),...l,children:[e,g.jsx(d,{})]})},vk='"../theme/tokens.css"',xk='"Inter", sans-serif',Ck="#ffffff",Ek="#f2f2f2",Bk="_modal_1wq00_4",kk="_modalHeader_1wq00_30",Pk="_modalBody_1wq00_39",Sk="_modalHeading_1wq00_45",or={tokens:vk,display:xk,white:Ck,gray10:Ek,modal:Bk,modalHeader:kk,modalBody:Pk,modalHeading:Sk},Ak=({id:e,isOpen:t,onOpenChange:u,children:n,title:r,className:a,...i})=>{const l=de.useRef(null);de.useEffect(()=>{var c,f;t?(c=l.current)==null||c.showModal():(f=l.current)==null||f.close()},[t]);const s=()=>{var c;(c=l.current)==null||c.close(),u(!1)},d=e+"_heading";return g.jsxs("dialog",{id:e,ref:l,onCancel:()=>u(!1),className:W(or.modal,a),"aria-labelledby":d,...i,children:[g.jsx("div",{className:or.modalHeader,children:g.jsx(Ne,{onPress:()=>s(),variant:"tertiary",icon:Ru,iconPlacement:"right",children:"Stäng"})}),g.jsxs("div",{className:or.modalBody,children:[g.jsx("h2",{className:or.modalHeading,id:d,children:r}),n]})]})},wk='"../theme/tokens.css"',Fk='"Inter", sans-serif',Tk="#000000",Rk="#b31b1b",Ik="(max-width: 767px)",Kk="#bfbfbf",Mk="#e6e6e6",zk="#f2f2f2",Vk="_button_sua3u_4",Nk="_icon_sua3u_19",Lk="_multiSelect_sua3u_44",jk="_popover_sua3u_60",_k="_listBoxItem_sua3u_73",cn={tokens:wk,display:Fk,black:Tk,signalRed130:Rk,smBreakpoint:Ik,gray50:Kk,gray20:Mk,backgroundSecondary:zk,button:Vk,icon:Nk,multiSelect:Lk,popover:jk,listBoxItem:_k},Ok='"../theme/tokens.css"',Hk='"Inter", sans-serif',Uk="#000000",Wk="#b31b1b",Gk="(max-width: 767px)",Zk="#bfbfbf",qk="#d9d9d9",Yk="#e6e6e6",Jk="#f2f2f2",Qk="#f2f2f2",Xk="_button_m4kn4_4",eP="_tag_m4kn4_14",tP="_dismissable_m4kn4_34",uP="_tagText_m4kn4_42",nP="_tagList_m4kn4_47",hn={tokens:Ok,display:Hk,black:Uk,signalRed130:Wk,smBreakpoint:Gk,gray50:Zk,gray30:qk,gray20:Yk,gray10:Jk,backgroundSecondary:Qk,button:Xk,tag:eP,dismissable:tP,tagText:uP,tagList:nP},ch=({children:e,...t})=>g.jsx(e7,{...t,children:g.jsx(u7,{className:hn.tagList,children:e})}),fh=({children:e,dismissable:t,className:u,...n})=>g.jsxs(r7,{className:W(hn.tag,t&&hn.dismissable,u),...n,children:[g.jsx("div",{className:hn.tagText,children:e}),t&&g.jsx(Ne,{variant:"icon",size:"small",className:hn.button,slot:"remove",children:g.jsx(Ru,{size:20})})]}),rP=({label:e,description:t,items:u,onSelectionChange:n,selectedKeys:r,defaultSelectedKeys:a,isDisabled:i,isInvalid:l,errorMessage:s})=>{const d=de.useRef(null),[c,f]=de.useState(void 0),p=qy({initialItems:u,initialSelectedKeys:a});de.useEffect(()=>{const b=()=>{d.current&&f(d.current.offsetWidth-2)};return b(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[]),de.useEffect(()=>{n&&n(new Set(p.selectedKeys))},[p.selectedKeys,n]),de.useEffect(()=>{r&&p.setSelectedKeys(new Set(r))},[r]);const m=p.selectedKeys==="all"?new Set(p.items.map(b=>b.id)):p.selectedKeys;return g.jsx("div",{className:cn.multiSelect,"data-disabled":i,"data-invalid":l,children:g.jsxs(ee,{values:[[mt,{isInvalid:l||!1,validationErrors:[],validationDetails:{customError:l||!1,badInput:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!1,valueMissing:!1}}]],children:[g.jsx(bt,{label:e,description:t,errorMessage:s,children:g.jsxs(Zv,{children:[g.jsxs(dt,{className:cn.button,ref:d,isDisabled:i,children:["Välj",g.jsx("div",{className:cn.icon,"aria-hidden":"true",children:g.jsx(Kn,{size:20})})]}),g.jsx(un,{className:cn.popover,style:{width:c},offset:0,UNSTABLE_portalContainer:d.current||void 0,children:g.jsx(hx,{"aria-label":e,selectionMode:"multiple",selectedKeys:p.selectedKeys,onSelectionChange:p.setSelectedKeys,children:p.items.map(b=>g.jsxs(gx,{id:b.id,textValue:b.name,className:cn.listBoxItem,children:[g.jsx(Zn,{slot:"selection"}),b.name]},b.id))})})]})}),g.jsx(ch,{"aria-label":"Valda",onRemove:b=>{p.setSelectedKeys(new Set(Array.from(p.selectedKeys).filter(h=>!b.has(h))))},children:Array.from(m).map(b=>{const h=p.getItem(b);return g.jsx(fh,{id:h==null?void 0:h.id,textValue:h==null?void 0:h.name,isDisabled:i,dismissable:!0,children:h==null?void 0:h.name},h==null?void 0:h.id)})})]})})},aP='"../theme/tokens.css"',iP='"Inter", sans-serif',lP="undefined",oP="#1f1f1f",sP="#000000",dP="#143c50",cP="#bfbfbf",fP="#b3b3b3",pP="#ffdfdf",mP="#e62323",bP="undefined",hP="#1f1f1f",$P="undefined",gP="(max-width: 767px)",DP="0 0 0 2px #ffffff, 0 0 0 4px #000000",yP="(min-width: 768px)",vP="#b3b3b3",xP="_radioGroup_197q1_4",CP="_wrap_197q1_17",EP="_radio_197q1_4",Ti={tokens:aP,display:iP,inputLabel:lP,inputText:oP,black:sP,blue150:dP,gray50:cP,gray60:fP,signalRed10:pP,signalRed100:mP,medium:bP,gray150:hP,regular:$P,smBreakpoint:gP,focus:DP,mdBreakpoint:yP,borderSecondary:vP,radioGroup:xP,wrap:CP,radio:EP},BP=({label:e,description:t,errorMessage:u,children:n,className:r,...a})=>g.jsx(Bx,{...a,className:W(Ti.radioGroup,r),children:g.jsx(bt,{label:e,description:t,errorMessage:u,children:g.jsx(Un,{className:Ti.wrap,children:n})})}),kP=e=>g.jsx(kx,{className:Ti.radio,...e}),PP='"../theme/tokens.css"',SP='"Inter", sans-serif',AP="#143c50",wP="#1f1f1f",FP="#ffffff",TP="_container_1thfk_5",RP="_inputContainer_1thfk_12",IP="_icon_1thfk_18",KP="_clear_1thfk_26",MP="_input_1thfk_12",fn={tokens:PP,display:SP,blue150:AP,gray150:wP,backgroundPrimary:FP,container:TP,inputContainer:RP,icon:IP,clear:KP,input:MP},zP=({placeholder:e,buttonText:t,...u})=>{const[n,r]=de.useState(!1);return g.jsxs(bv,{onInput:()=>r(!0),onClear:()=>r(!1),className:fn.container,...u,children:[g.jsx(Ts,{hidden:!0,children:e}),g.jsxs("div",{className:fn.inputContainer,children:[g.jsx(X7,{size:20,className:fn.icon}),g.jsx(Wn,{className:W(Te.input,fn.input),placeholder:e}),n&&g.jsx(Ne,{variant:"icon",size:"small",className:fn.clear,children:g.jsx(Ru,{size:20,"aria-hidden":!0})})]}),g.jsx(Ym,{}),g.jsx(Ne,{type:"submit",children:t||"Sök"})]})},VP='"../theme/tokens.css"',NP='"Inter", sans-serif',LP="#000000",jP="#b31b1b",_P="(max-width: 767px)",OP="#bfbfbf",HP="#e6e6e6",UP="0 0 0 2px #ffffff, 0 0 0 4px #000000",WP="#f2f2f2",GP="_button_1by20_4",ZP="_select_1by20_46",qP="_popover_1by20_62",YP="_listBoxItem_1by20_70",JP="_icon_1by20_97",$n={tokens:VP,display:NP,black:LP,signalRed130:jP,smBreakpoint:_P,gray50:OP,gray20:HP,focus:UP,backgroundSecondary:WP,button:GP,select:ZP,popover:qP,listBoxItem:YP,icon:JP};function QP({label:e,description:t,errorMessage:u,children:n,items:r,...a}){const i=o.useRef(null);return g.jsxs(Sx,{className:$n.select,ref:i,...a,children:[g.jsx(bt,{label:e,description:t,errorMessage:u,children:g.jsxs(dt,{className:$n.button,children:[g.jsx(wx,{}),g.jsx("div",{className:$n.icon,"aria-hidden":"true",children:g.jsx(Kn,{size:20,"aria-hidden":!0})})]})}),g.jsx(un,{className:$n.popover,offset:0,UNSTABLE_portalContainer:i.current||void 0,children:g.jsx(F5,{items:r,children:n})})]})}function XP(e){return g.jsx(R5,{className:$n.listBoxItem,...e})}const eS="_skeleton_1ddo2_11",tS="_circle_1ddo2_21",uS="_wave_1ddo2_26",Wa={skeleton:eS,circle:tS,wave:uS},nS=({variant:e="rectangular",width:t,height:u,animation:n="wave"})=>(e==="circle"&&u!==void 0&&console.warn("Height is not allowed when using circle, control size with width"),g.jsx("div",{className:W(Wa.skeleton,Wa[e],n&&Wa[n]),style:{width:t,height:u}})),rS='"../theme/tokens.css"',aS="#b90835",iS="#143c50",lS="_container_13uof_4",oS="_spinner_13uof_8",sS="_rotating_13uof_1",dS="_dark_13uof_18",cS="_vsHidden_13uof_22",sr={tokens:rS,red100:aS,blue150:iS,container:lS,spinner:oS,rotating:sS,dark:dS,vsHidden:cS},fS=({small:e,dark:t})=>g.jsxs("div",{className:sr.container,role:"status",children:[g.jsx(q7,{className:W(sr.spinner,t&&sr.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),g.jsx("span",{className:sr.vsHidden,children:"Laddar, vänligen vänta."})]}),pS='"../theme/tokens.css"',mS='"Inter", sans-serif',bS="#f2f2f2",hS="#d9d9d9",$S="#cccccc",gS="#b3b3b3",DS="500",yS="_cell_yd56b_4",vS="_table_yd56b_10",xS="_narrow_yd56b_14",CS="_striped_yd56b_29",ES="_row_yd56b_29",BS="_tableHeader_yd56b_48",kS="_column_yd56b_52",vu={tokens:pS,display:mS,gray10:bS,gray30:hS,gray40:$S,gray60:gS,mediumWeight:DS,cell:yS,table:vS,narrow:xS,striped:CS,row:ES,tableHeader:BS,column:kS},PS=({narrow:e,striped:t,className:u,...n})=>{const r=W(vu.table,e&&vu.narrow,t&&vu.striped,u);return g.jsx(Ix,{className:r,...n})},SS=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=H5();return g.jsxs(Mx,{className:vu.tableHeader,children:[r&&g.jsx(Ri,{}),u==="toggle"&&g.jsx(Ri,{width:50,children:n==="multiple"&&g.jsx(Zn,{slot:"selection"})}),g.jsx(ft,{items:e,children:t})]})},AS=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=H5();return g.jsxs(jx,{id:e,className:W(vu.row),...n,children:[a&&g.jsx(Ii,{children:g.jsx(dt,{slot:"drag",children:g.jsx(Z7,{size:20})})}),r==="toggle"&&g.jsx(Ii,{children:g.jsx(Zn,{slot:"selection"})}),g.jsx(ft,{items:t,children:u})]})},Ri=({children:e,...t})=>g.jsx(Vx,{className:vu.column,...t,children:({allowsSorting:u,sortDirection:n})=>g.jsxs(g.Fragment,{children:[e,u&&g.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?g.jsx(W7,{size:20}):g.jsx(H7,{size:20})})]})}),Ii=({...e})=>g.jsx(_x,{className:vu.cell,...e}),wS='"../theme/tokens.css"',FS='"Inter", sans-serif',TS="#bfbfbf",RS="600",IS="#25607f",KS="0 0 0 2px #ffffff, 0 0 0 4px #000000",MS="(max-width: 767px)",zS="_container_a0kqi_4",VS="_list_a0kqi_8",NS="_listItem_a0kqi_14",LS="_panel_a0kqi_42",dr={tokens:wS,display:FS,gray50:TS,semiBoldWeight:RS,blue130:IS,focus:KS,smBreakpoint:MS,container:zS,list:VS,listItem:NS,panel:LS},jS=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=de.Children.toArray(n);if(r.length!==e.length)throw new Error(`The number of children must match the number of tabs. Children: ${r.length} Tabs: ${e.length}`);const a=r.reduce((i,l,s)=>{var d;if(de.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=de.cloneElement(l,{id:c}))}return i},{});return g.jsxs(Gx,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:dr.container,children:[g.jsx(qx,{"aria-label":t,className:dr.list,children:e.map(i=>g.jsx(Jx,{id:i.toLowerCase(),className:dr.listItem,children:i},i))}),e.map(i=>g.jsx(Qx,{id:i.toLowerCase(),className:dr.panel,children:a[i.toLowerCase()]},i))]})},_S='"../theme/tokens.css"',OS='"Inter", sans-serif',HS="#ffdfdf",US="(max-width: 767px)",WS="#f2f2f2",GS="#e6e6e6",ZS="#bfbfbf",qS="#000000",YS="#e62323",JS="#2e7ca5",QS="500",XS="400",eA="#1f1f1f",tA="0 0 0 2px #ffffff, 0 0 0 4px #000000",uA="_textArea_r27ql_4",nA="_count_r27ql_45",rA="_countExceeded_r27ql_53",cr={tokens:_S,display:OS,signalRed10:HS,smBreakpoint:US,gray10:WS,gray20:GS,gray50:ZS,black:qS,signalRed100:YS,blue100:JS,mediumWeight:QS,regularWeight:XS,inputText:eA,focus:tA,textArea:uA,count:nA,countExceeded:rA},aA=({label:e,description:t,rows:u,maxLength:n,minLength:r,errorMessage:a,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=de.useState(d.defaultValue??d.value??""),p=h=>{const D=h.target.value;f(D)},m=()=>n?g.jsxs("span",{className:W(cr.count,c.length>n&&cr.countExceeded),children:[c.length," / ",n]}):i?g.jsx("span",{className:cr.count,children:c.length}):null,b=h=>{const D=n&&h.length>n?`Du har angett ${h.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,v=r&&h.length<r?`Du har angett ${Math.abs(h.length-r)} tecken för lite. Fältet kräver åtminstone ${r} tecken.`:null,E=l?l(h):null;return D||v||E||!0};return g.jsx(Ob,{className:W(Te.inputField,s),validate:b,...d,children:g.jsxs(bt,{label:e,description:t,errorMessage:a,children:[g.jsx(m,{}),g.jsx($v,{className:cr.textArea,rows:u,onFocus:p,onChange:p})]})})};var ph={};ph={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var mh={};mh={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var bh={};bh={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var hh={};hh={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var $h={};$h={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var gh={};gh={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var Dh={};Dh={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var yh={};yh={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var vh={};vh={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var xh={};xh={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var Ch={};Ch={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Eh={};Eh={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var Bh={};Bh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var kh={};kh={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var Ph={};Ph={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var Sh={};Sh={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Ah={};Ah={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var wh={};wh={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var Fh={};Fh={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var Th={};Th={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Rh={};Rh={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var Ih={};Ih={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var Kh={};Kh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Mh={};Mh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var zh={};zh={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var Vh={};Vh={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var Nh={};Nh={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var Lh={};Lh={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var jh={};jh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var _h={};_h={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var Oh={};Oh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var Hh={};Hh={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var Uh={};Uh={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var Wh={};Wh={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var Ll={};Ll={"ar-AE":ph,"bg-BG":mh,"cs-CZ":bh,"da-DK":hh,"de-DE":$h,"el-GR":gh,"en-US":Dh,"es-ES":yh,"et-EE":vh,"fi-FI":xh,"fr-FR":Ch,"he-IL":Eh,"hr-HR":Bh,"hu-HU":kh,"it-IT":Ph,"ja-JP":Sh,"ko-KR":Ah,"lt-LT":wh,"lv-LV":Fh,"nb-NO":Th,"nl-NL":Rh,"pl-PL":Ih,"pt-BR":Kh,"pt-PT":Mh,"ro-RO":zh,"ru-RU":Vh,"sk-SK":Nh,"sl-SI":Lh,"sr-SP":jh,"sv-SE":_h,"tr-TR":Oh,"uk-UA":Hh,"zh-CN":Uh,"zh-TW":Wh};function iA(e){return e&&e.__esModule?e.default:e}function lA(e,t,u){let{key:n,timer:r,timeout:a,animation:i}=e.toast;o.useEffect(()=>{if(!(r==null||a==null))return r.reset(a),()=>{r.pause()}},[r,a]);let[l,s]=o.useState(!1);o.useEffect(()=>{(i==="entering"||i==="queued")&&s(!0)},[i]);let d=ne(),c=rt(),f=be(iA(Ll),"@react-aria/toast");return{toastProps:{role:"alertdialog","aria-modal":"false","aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]||d,"aria-describedby":e["aria-describedby"]||c,"aria-details":e["aria-details"],"aria-hidden":i==="exiting"?"true":void 0,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true",style:{visibility:l||i===null?"visible":"hidden"}},titleProps:{id:d},descriptionProps:{id:c},closeButtonProps:{"aria-label":f.format("close"),onPress:()=>t.close(n)}}}const Gh=1,Ga=Symbol.for("react-aria-landmark-manager");function oA(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function ps(){if(typeof document>"u")return null;let e=document[Ga];return e&&e.version>=Gh?e:(document[Ga]=new dA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Ga])}function sA(){return _i.useSyncExternalStore(oA,ps,ps)}class dA{setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,u){var n,r;(r=this.landmarks.find(a=>a.ref.current===t))===null||r===void 0||(n=r.focus)===null||n===void 0||n.call(r,u)}getLandmarksByRole(t){return new Set(this.landmarks.filter(u=>u.role===t))}getLandmarkByRole(t){return this.landmarks.find(u=>u.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(r=>r.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(r=>r.role==="main").length>1&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let u=0,n=this.landmarks.length-1;for(;u<=n;){let r=Math.floor((u+n)/2),a=t.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);!!(a&Node.DOCUMENT_POSITION_PRECEDING||a&Node.DOCUMENT_POSITION_CONTAINS)?u=r+1:n=r-1}this.landmarks.splice(u,0,t),this.checkLabels(t.role)}updateLandmark(t){let u=this.landmarks.findIndex(n=>n.ref===t.ref);u>=0&&(this.landmarks[u]={...this.landmarks[u],...t},this.checkLabels(this.landmarks[u].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(u=>u.ref!==t),this.teardownIfNeeded()}checkLabels(t){let u=this.getLandmarksByRole(t);if(u.size>1){let n=[...u].filter(r=>!r.label);if(n.length>0)console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,n.map(r=>r.ref.current));else{let r=[...u].map(i=>i.label);r.filter((i,l)=>r.indexOf(i)!==l).forEach(i=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${i}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...u].filter(l=>l.label===i).map(l=>l.ref.current))})}}}closestLandmark(t){let u=new Map(this.landmarks.map(r=>[r.ref.current,r])),n=t;for(;n&&!u.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return u.get(n)}getNextLandmark(t,{backward:u}){var n;let r=this.closestLandmark(t),a=u?this.landmarks.length-1:0;r&&(a=this.landmarks.indexOf(r)+(u?-1:1));let i=()=>{if(a<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;a=this.landmarks.length-1}else if(a>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;a=0}return a<0||a>=this.landmarks.length};if(i())return;let l=a;for(;!((n=this.landmarks[a].ref.current)===null||n===void 0)&&n.closest("[aria-hidden=true]");){if(a+=u?-1:1,i())return;if(a===l)break}return this.landmarks[a]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,u){let n=this.getNextLandmark(t,{backward:u});if(!n)return!1;if(n.lastFocused){let r=n.lastFocused;if(document.body.contains(r))return r.focus(),!0}return n.ref.current&&document.contains(n.ref.current)?(this.focusLandmark(n.ref.current,u?"backward":"forward"),!0):!1}focusinHandler(t){let u=this.closestLandmark(t.target);u&&u.ref.current!==t.target&&this.updateLandmark({ref:u.ref,lastFocused:t.target});let n=t.relatedTarget;if(n){let r=this.closestLandmark(n);r&&r.ref.current===n&&r.blur()}}focusoutHandler(t){let u=t.target,n=t.relatedTarget;if(!n||n===document){let r=this.closestLandmark(u);r&&r.ref.current===u&&r.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(u,n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,u==="backward")},focusNext(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!1)},focusPrevious(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(u=>u.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Gh,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function cA(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=sA(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return Y(()=>{if(i)return i.registerLandmark({ref:t,label:l,role:u,focus:a||c,blur:f})},[i,l,t,u,a,c,f]),o.useEffect(()=>{var p;s&&((p=t.current)===null||p===void 0||p.focus())},[s,t]),{landmarkProps:{role:u,tabIndex:s?-1:void 0,"aria-label":n,"aria-labelledby":r}}}function fA(e){return e&&e.__esModule?e.default:e}function pA(e,t,u){let n=be(fA(Ll),"@react-aria/toast"),{landmarkProps:r}=cA({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),{hoverProps:a}=De({onHoverStart:t.pauseAll,onHoverEnd:t.resumeAll}),i=o.useRef([]),l=o.useRef(t.visibleToasts),s=o.useRef(null);Y(()=>{if(s.current===-1||t.visibleToasts.length===0||!u.current){i.current=[],l.current=t.visibleToasts;return}if(i.current=[...u.current.querySelectorAll('[role="alertdialog"]')],l.current.length===t.visibleToasts.length&&t.visibleToasts.every((m,b)=>m.key===l.current[b].key)){l.current=t.visibleToasts;return}let f=l.current.map((m,b)=>({...m,i:b,isRemoved:!t.visibleToasts.some(h=>m.key===h.key)})),p=f.findIndex(m=>m.i===s.current);if(p>-1){let m=0,b,h;for(;m<=p;)f[m].isRemoved||(h=Math.max(0,m-1)),m++;for(;m<f.length;){if(!f[m].isRemoved){b=m-1;break}m++}h===void 0&&b===void 0&&(h=0),h>=0&&h<i.current.length?Oe(i.current[h]):b>=0&&b<i.current.length&&Oe(i.current[b])}l.current=t.visibleToasts},[t.visibleToasts,u]);let d=o.useRef(null),{focusWithinProps:c}=pt({onFocusWithin:f=>{t.pauseAll(),d.current=f.relatedTarget},onBlurWithin:()=>{t.resumeAll(),d.current=null}});return o.useEffect(()=>{t.visibleToasts.length===0&&d.current&&document.body.contains(d.current)&&(uu()==="pointer"?Oe(d.current):d.current.focus(),d.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{d.current&&document.body.contains(d.current)&&(uu()==="pointer"?Oe(d.current):d.current.focus(),d.current=null)},[u]),{regionProps:N(r,a,c,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:f=>{let p=f.target.closest('[role="alertdialog"]');s.current=i.current.findIndex(m=>m===p)},onBlur:()=>{s.current=-1}})}}function mA(e={}){let{maxVisibleToasts:t=1,hasExitAnimation:u=!1}=e,n=o.useMemo(()=>new qh({maxVisibleToasts:t,hasExitAnimation:u}),[t,u]);return Zh(n)}function Zh(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:_i.useSyncExternalStore(t,u,u),add:(r,a)=>e.add(r,a),close:r=>e.close(r),remove:r=>e.remove(r),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class qh{subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n=Math.random().toString(36),r={...u,content:t,key:n,timer:u.timeout?new bA(()=>this.close(n),u.timeout):void 0},a=0,i=this.queue.length;for(;a<i;){let s=Math.floor((a+i)/2);(r.priority||0)>(this.queue[s].priority||0)?i=s:a=s+1}this.queue.splice(a,0,r),r.animation=a<this.maxVisibleToasts?"entering":"queued";let l=this.maxVisibleToasts;for(;l<this.queue.length;)this.queue[l++].animation="queued";return this.updateVisibleToasts({action:"add"}),n}close(t){let u=this.queue.findIndex(a=>a.key===t);if(u>=0){var n,r;(n=(r=this.queue[u]).onClose)===null||n===void 0||n.call(r),this.queue.splice(u,1)}this.updateVisibleToasts({action:"close",key:t})}remove(t){this.updateVisibleToasts({action:"remove",key:t})}updateVisibleToasts(t){let{action:u,key:n}=t,r=this.queue.slice(0,this.maxVisibleToasts);if(u==="add"&&this.hasExitAnimation){let a=this.visibleToasts.filter(i=>!r.some(l=>i.key===l.key)).map(i=>({...i,animation:"exiting"}));this.visibleToasts=a.concat(r).sort((i,l)=>{var s,d;return((s=l.priority)!==null&&s!==void 0?s:0)-((d=i.priority)!==null&&d!==void 0?d:0)})}else u==="close"&&this.hasExitAnimation?this.visibleToasts=this.visibleToasts.map(a=>a.key!==n?a:{...a,animation:"exiting"}):this.visibleToasts=r;for(let a of this.subscriptions)a()}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var u;this.maxVisibleToasts=(u=t==null?void 0:t.maxVisibleToasts)!==null&&u!==void 0?u:1;var n;this.hasExitAnimation=(n=t==null?void 0:t.hasExitAnimation)!==null&&n!==void 0?n:!1}}class bA{reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(t,u){this.startTime=null,this.remaining=u,this.callback=t}}const hA='"../theme/tokens.css"',$A='"Inter", sans-serif',gA="#d5f2d9",DA="#008d3c",yA="#eaf2f6",vA="#0066cc",xA="#fff8e1",CA="#f1c21b",EA="#ffdfdf",BA="#e62323",kA="#1f1f1f",PA="0 0 0 2px #ffffff, 0 0 0 4px #000000",SA="(min-width: 768px)",AA="_toastRegion_i4o11_52",wA="_toast_i4o11_52",FA="_success_i4o11_96",TA="_info_i4o11_104",RA="_important_i4o11_112",IA="_warning_i4o11_120",KA="_icon_i4o11_128",MA="_toastContent_i4o11_138",zA="_toastMessage_i4o11_145",VA="_slideInTop_i4o11_1",NA="_slideInEnd_i4o11_1",LA="_slideOutTop_i4o11_1",jA="_slideOutEnd_i4o11_1",Lu={tokens:hA,display:$A,signalGreen10:gA,signalGreen100:DA,signalBlue10:yA,signalBlue100:vA,signalYellow10:xA,signalYellow100:CA,signalRed10:EA,signalRed100:BA,gray150:kA,focus:PA,mdBreakpoint:SA,toastRegion:AA,toast:wA,success:FA,info:TA,important:RA,warning:IA,icon:KA,toastContent:MA,toastMessage:zA,slideInTop:VA,slideInEnd:NA,slideOutTop:LA,slideOutEnd:jA},_A={success:Y5,info:J5,important:q5,warning:Q5},Yh=new qh({maxVisibleToasts:5,hasExitAnimation:!0}),OA=e=>{const t=Zh(Yh);return t.visibleToasts.length>0?iu.createPortal(g.jsx(jl,{...e,state:t}),document.body):null},HA=({children:e,...t})=>{const u=mA({maxVisibleToasts:5,hasExitAnimation:!0});return g.jsxs(g.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&g.jsx(jl,{...t,state:u})]})};function jl({state:e,...t}){const u=o.useRef(null),{regionProps:n}=pA(t,e,u);return g.jsx("div",{...n,ref:u,className:Lu.toastRegion,children:e.visibleToasts.map(r=>g.jsx(Jh,{toast:r,state:e},r.key))})}function Jh({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=lA(t,e),l=_A[t.toast.content.type];return g.jsxs("div",{...n,ref:u,className:W(Lu.toast,Lu[t.toast.content.type]),"data-animation":t.toast.animation,onAnimationEnd:()=>{t.toast.animation==="exiting"&&e.remove(t.toast.key)},children:[g.jsxs("div",{className:Lu.toastContent,...r,children:[g.jsx(l,{className:Lu.icon,size:20,"aria-hidden":!0}),g.jsxs("div",{children:[g.jsx("p",{className:Lu.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),g.jsx(Ne,{variant:"icon",...i,children:g.jsx(Ru,{size:20,"aria-hidden":!0})})]})}exports.Accordion=o7;exports.AccordionItem=tC;exports.Breadcrumbs=xC;exports.Button=Ne;exports.ButtonGroup=L7;exports.Card=NC;exports.Cell=Ii;exports.Checkbox=Zn;exports.CheckboxGroup=K9;exports.Column=Ri;exports.ComboBox=t8;exports.ComboBoxItem=u8;exports.DatePicker=x8;exports.DateRangePicker=v8;exports.Dropdown=uh;exports.DropdownItem=nh;exports.FileUpload=_8;exports.Flex=J8;exports.FlexItem=rh;exports.GlobalToastRegion=OA;exports.Grid=iE;exports.GridItem=lE;exports.Header=dh;exports.InfoBanner=FE;exports.InputWrapper=bt;exports.Item=XP;exports.Layout=Xt;exports.Link=Vl;exports.LinkButton=yk;exports.Logo=sh;exports.Modal=Ak;exports.MultiSelect=rP;exports.Radio=kP;exports.RadioGroup=BP;exports.RouterProvider=gs;exports.Row=AS;exports.SearchField=zP;exports.Select=QP;exports.Sidebar=oh;exports.SidebarLink=Nl;exports.Skeleton=nS;exports.Spinner=fS;exports.Table=PS;exports.TableBody=Lx;exports.TableHeader=SS;exports.Tabs=jS;exports.Tag=fh;exports.TagGroup=ch;exports.TextArea=aA;exports.TextField=R9;exports.Toast=Jh;exports.ToastProvider=HA;exports.ToastRegion=jl;exports.Tooltip=ah;exports.TooltipTrigger=ih;exports.dossNrRegEx=eh;exports.ssnRegEx=X5;exports.toastQueue=Yh;
138
+ */const Tu=Ae("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Q7=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=de.useRef(null),[i,l]=de.useState(0),s=typeof e=="object";return de.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)}),g.jsxs(ix,{...r,className:W(Xe.item,u),children:[s?g.jsx("div",{className:Xe.trigger,children:g.jsxs(ze,{slot:"trigger",variant:"icon",children:[g.jsx(In,{size:20,className:Xe.icon}),e]})}):g.jsx(Rl,{level:n,className:Xe.trigger,children:g.jsxs(ze,{slot:"trigger",variant:"icon",children:[g.jsx(In,{size:20,className:Xe.icon}),g.jsx("span",{className:Xe.triggerText,children:e})]})}),g.jsx(lx,{style:{"--panel-height":`${i}px`},className:W(Xe.panel,i===0&&Xe.panel0),children:g.jsx("div",{ref:a,className:Xe.content,children:t})})]})},X7='"../theme/tokens.css"',eC='"Inter", sans-serif',tC="#25607f",uC="#143c50",nC="#1f1f1f",rC="#bfbfbf",aC="500",iC="0 0 0 2px #ffffff, 0 0 0 4px #000000",lC="400",oC="#663366",sC="#000000",dC="_link_rnt2w_4",cC="_icon_rnt2w_45",fC="_standalone_rnt2w_49",pC="_stretched_rnt2w_64",sn={tokens:X7,display:eC,blue130:tC,blue150:uC,gray150:nC,gray50:rC,mediumWeight:aC,focus:iC,regularWeight:lC,linkVisited:oC,black:sC,link:dC,icon:cC,standalone:fC,stretched:pC},Vl=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||Mr;return g.jsx(l,{className:W(sn.link,t&&sn.standalone,u&&sn.stretched,r),...i,children:g.jsxs(g.Fragment,{children:[e,!t&&n&&g.jsx(n,{size:20,className:sn.icon}),t&&g.jsx(_7,{size:20,className:sn.icon})]})})},mC='"../theme/tokens.css"',bC='"Inter", sans-serif',hC="#1f1f1f",$C="_container_k9jic_4",gC={tokens:mC,display:bC,gray150:hC,container:$C},DC=({items:e})=>g.jsx(hv,{className:gC.container,children:e.map((t,u)=>g.jsx($v,{children:g.jsx(Vl,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),yC='"../theme/tokens.css"',vC='"Inter", sans-serif',xC="#ffffff",CC="#e6e6e6",EC="#f2f2f2",BC="#1f1f1f",kC="#d5e5ed",PC="#000000",SC="500",AC="250ms",wC="_card_vbecj_4",FC="_content_vbecj_33",TC="_heading_vbecj_39",RC="_image_vbecj_47",IC="_background_vbecj_56",KC="_text_vbecj_60",Mu={tokens:yC,display:vC,white:xC,gray20:CC,gray10:EC,gray150:BC,blue20:kC,black:PC,mediumWeight:SC,fastTransition:AC,card:wC,content:FC,heading:TC,image:RC,background:IC,text:KC},MC=({image:e,background:t,title:u,content:n,link:r,headingTag:a="h1",customImageComponent:i,customLinkComponent:l,className:s,...d})=>{const c=de.useId();return g.jsxs("div",{className:W(Mu.card,t&&Mu.background,s),...d,children:[g.jsxs("div",{className:Mu.content,children:[i||(e==null?void 0:e.source)&&g.jsx("img",{src:e.source,alt:e.description,className:Mu.image}),g.jsxs("div",{id:c,children:[g.jsx(a,{className:Mu.heading,children:u}),g.jsx("p",{className:Mu.text,children:n})]})]}),g.jsx(Vl,{"aria-describedby":c,...r,standalone:!0,stretched:!0,as:l})]})},zC='"../theme/tokens.css"',VC='"Inter", sans-serif',NC="#000000",LC="#143c50",jC="#5897b8",_C="#25607f",OC="#ffdfdf",HC="#e62323",UC="0 0 0 2px #ffffff, 0 0 0 4px #000000",WC="#b31b1b",GC="#ffffff",ZC="#f2f2f2",qC="#cccccc",YC="#808080",JC="#bfbfbf",QC="#e6e6e6",XC="400",e9="500",t9="(max-width: 767px)",u9="#b3b3b3",n9="_wrap_94zdd_4",r9="_checkboxInner_94zdd_11",a9="_checkbox_94zdd_11",i9="_checkboxGroup_94zdd_134",Lr={tokens:zC,display:VC,black:NC,primaryBackground:LC,blue80:jC,blue130:_C,signalRed10:OC,signalRed100:HC,focus:UC,signalRed130:WC,white:GC,gray10:ZC,gray40:qC,gray100:YC,gray50:JC,gray20:QC,regularWeight:XC,mediumWeight:e9,smBreakpoint:t9,borderSecondary:u9,wrap:n9,checkboxInner:r9,checkbox:a9,checkboxGroup:i9},Gn=({children:e,...t})=>g.jsx(Sv,{className:W(Lr.checkbox,t.className),...t,children:({isIndeterminate:u})=>g.jsxs(g.Fragment,{children:[g.jsx("div",{className:Lr.checkboxInner,children:g.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?g.jsx("rect",{x:4,y:8,width:10,height:2}):g.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),l9='"../theme/tokens.css"',o9='"Inter", sans-serif',s9="#ffdfdf",d9="#f2f2f2",c9="#e6e6e6",f9="#bfbfbf",p9="#000000",m9="#e62323",b9="500",h9="400",$9="#1f1f1f",g9="0 0 0 2px #ffffff, 0 0 0 4px #000000",D9="_inputField_12oaf_4",y9="_inputWrapper_12oaf_12",v9="_label_12oaf_30",x9="_text_12oaf_36",C9="_fieldError_12oaf_42",E9="_passwordText_12oaf_66",B9="_count_12oaf_79",k9="_countExceeded_12oaf_87",P9="_input_12oaf_4",S9="_wrap_12oaf_135",A9="_passwordButton_12oaf_140",Te={tokens:l9,display:o9,signalRed10:s9,gray10:d9,gray20:c9,gray50:f9,black:p9,signalRed100:m9,mediumWeight:b9,regularWeight:h9,inputText:$9,focus:g9,inputField:D9,inputWrapper:y9,label:v9,text:x9,fieldError:C9,passwordText:E9,count:B9,countExceeded:k9,input:P9,wrap:S9,passwordButton:A9},w9=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxLength:a,showCounter:i,className:l,...s})=>{const[d,c]=de.useState(s.defaultValue??s.value??""),f=b=>{const h=b.target.value;c(h)},p=b=>n==="ssn"?Q5.test(b)?null:"Felaktigt personnummer":n==="dossnr"?T9.test(b)?null:"Felaktigt dossiernummer":n instanceof RegExp?new RegExp(n).test(b)?null:u==null?void 0:u.toString():a?a&&b.length>a?`Du har angett ${b.length-a} tecken för mycket. Fältet är begränsat till ${a} tecken.`:null:r?r(b):!0,m=()=>a?g.jsxs("span",{className:W(Te.count,d.length>a&&Te.countExceeded),children:[d.length," / ",a]}):i?g.jsx("span",{className:Te.count,children:d.length}):null;return g.jsx(_b,{className:W(Te.inputField,l),validate:p,...s,children:g.jsxs(pt,{label:e,description:t,errorMessage:u,children:[g.jsx(m,{}),g.jsxs("div",{className:Te.wrap,children:[g.jsx(ia,{type:s.type,className:Te.input,onChange:f,onBlur:f}),g.jsx(F9,{type:s.type,input:d})]})]})})},F9=({type:e,input:t})=>{const[u,n]=de.useState(!1);return e==="password"?g.jsxs(g.Fragment,{children:[u&&g.jsx(na,{slot:"description",className:Te.passwordText,children:t}),g.jsx(ze,{variant:"tertiary",onPress:()=>n(!u),className:Te.passwordButton,children:u?"Dölj":"Visa"})]}):null},pt=({label:e,description:t,errorMessage:u,children:n})=>g.jsxs("div",{className:Te.inputWrapper,children:[e&&g.jsx(Ts,{className:Te.label,children:e}),t&&g.jsx(na,{slot:"description",className:Te.text,children:t}),g.jsx(ky,{className:Te.fieldError,children:u}),n]}),Q5=new RegExp("^(?:(?:19|20)?\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4})?|\\d{4}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])(?:[-+ ]?\\d{4}))$"),T9=new RegExp("^(\\d{1,2}\\+\\d{6}-\\d{1,2}$|\\d{1,2}-\\d{6}(/\\d{1,2})?$|\\d{1,2}\\d{6}$|\\d{6,8}$)"),R9=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,...a})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(Bl),c=o.Children.toArray(r).filter(o.isValidElement).map(p=>p.props.value),f=()=>i!=="all"?(l("all"),d==null?void 0:d.setValue(["toggleAll",...c])):(l("none"),d==null?void 0:d.setValue([]));return o.useEffect(()=>{var h,D;const p=c.length,m=c.length+1,b=((h=d==null?void 0:d.value)==null?void 0:h.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!((D=d==null?void 0:d.value)!=null&&D.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),g.jsx(Gn,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return g.jsx(Pv,{className:Lr.checkboxGroup,...a,children:g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsxs(Un,{className:Lr.wrap,children:[n&&g.jsx(s,{}),r]})})})},I9='"../theme/tokens.css"',K9='"Inter", sans-serif',M9="#000000",z9="#b31b1b",V9="(max-width: 767px)",N9="#bfbfbf",L9="#e6e6e6",j9="#f2f2f2",_9="0 0 0 2px #ffffff, 0 0 0 4px #000000",O9="#f2f2f2",H9="_input_1gpkc_4",U9="_combobox_1gpkc_38",W9="_text_1gpkc_54",G9="_wrap_1gpkc_59",Z9="_button_1gpkc_64",q9="_icon_1gpkc_82",Y9="_popover_1gpkc_88",J9="_fieldError_1gpkc_96",Q9="_listBoxItem_1gpkc_107",hu={tokens:I9,display:K9,black:M9,signalRed130:z9,smBreakpoint:V9,gray50:N9,gray20:L9,gray10:j9,focus:_9,backgroundSecondary:O9,input:H9,combobox:U9,text:W9,wrap:G9,button:Z9,icon:q9,popover:Y9,fieldError:J9,listBoxItem:Q9};function X9({label:e,description:t,errorMessage:u,children:n,items:r,className:a,...i}){const l=o.useRef(null);return g.jsxs(Zv,{className:W(hu.combobox,a),ref:l,...i,children:[g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsxs("div",{className:hu.wrap,children:[g.jsx(ia,{className:hu.input}),g.jsx(dt,{className:hu.button,"aria-label":"Visa lista",children:g.jsx("div",{className:hu.icon,"aria-hidden":"true",children:g.jsx(In,{size:20,"aria-hidden":!0})})})]})}),g.jsx(tn,{className:hu.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:g.jsx(w5,{items:r,children:n})})]})}function e8(e){return g.jsx(T5,{className:hu.listBoxItem,...e})}const t8='"../theme/tokens.css"',u8='"Inter", sans-serif',n8="#000000",r8="#f2f2f2",a8="#e6e6e6",i8="#b3b3b3",l8="#1f1f1f",o8="#d5e5ed",s8="0 0 0 2px #ffffff, 0 0 0 4px #000000",d8="#143c50",c8="_datePicker_1nqbn_4",f8="_datePickerTextfield_1nqbn_11",p8="_date_1nqbn_4",m8="_dialog_1nqbn_73",b8="_dialogHeader_1nqbn_78",h8="_dialogHeading_1nqbn_103",$8="_day_1nqbn_108",g8="_calendar_1nqbn_144",Ee={tokens:t8,display:u8,black:n8,gray10:r8,gray20:a8,gray60:i8,gray150:l8,blue20:o8,focus:s8,blue150:d8,datePicker:c8,datePickerTextfield:f8,date:p8,dialog:m8,dialogHeader:b8,dialogHeading:h8,day:$8,calendar:g8},D8=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return g.jsx(ux,{...n,className:W(Te.inputField,Ee.datePicker,n.className),ref:r,children:g.jsxs(pt,{label:e,description:t,errorMessage:u,children:[g.jsxs(Un,{className:W(Te.input,Ee.datePickerTextfield),children:[g.jsx(wi,{slot:"start",className:Ee.date,children:a=>g.jsx(Fi,{className:Ee.dateSegment,segment:a})}),g.jsx("span",{"aria-hidden":"true",children:"-"}),g.jsx(wi,{slot:"end",className:Ee.date,children:a=>g.jsx(Fi,{segment:a,className:Ee.dateSegment})}),g.jsx(dt,{children:g.jsx(G5,{size:20,"aria-hidden":!0})})]}),g.jsx(tn,{UNSTABLE_portalContainer:r.current||void 0,children:g.jsx(I5,{className:Ee.dialog,children:g.jsxs(Dv,{children:[g.jsxs("header",{className:Ee.dialogHeader,children:[g.jsx(dt,{slot:"previous",children:g.jsx(Ml,{size:20,"aria-hidden":!0})}),g.jsx(Rl,{className:Ee.dialogHeading}),g.jsx(dt,{slot:"next",children:g.jsx(zl,{size:20,"aria-hidden":!0})})]}),g.jsx(Wb,{className:Ee.calendar,children:a=>g.jsx(Gb,{date:a,className:Ee.day})})]})})})]})})},y8=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return g.jsx(tx,{...n,className:W(Te.inputField,Ee.datePicker,n.className),ref:r,children:g.jsxs(pt,{label:e,description:t,errorMessage:u,children:[g.jsxs(Un,{className:W(Te.input,Ee.datePickerTextfield),children:[g.jsx(wi,{className:Ee.date,children:a=>g.jsx(Fi,{segment:a,className:Ee.dateSegment})}),g.jsx(dt,{children:g.jsx(G5,{size:20,"aria-hidden":!0})})]}),g.jsx(tn,{UNSTABLE_portalContainer:r.current||void 0,children:g.jsx(I5,{className:Ee.dialog,children:g.jsxs(gv,{children:[g.jsxs("header",{className:Ee.dialogHeader,children:[g.jsx(dt,{slot:"previous",children:g.jsx(Ml,{})}),g.jsx(Rl,{className:Ee.dialogHeading}),g.jsx(dt,{slot:"next",children:g.jsx(zl,{})})]}),g.jsx(Wb,{className:Ee.calendar,children:a=>g.jsx(Gb,{date:a,className:Ee.day})})]})})})]})})},v8='"../theme/tokens.css"',x8='"Inter", sans-serif',C8="0 0 0 2px #ffffff, 0 0 0 4px #000000",E8="#f2f2f2",B8="_dropDownMenu_1f4ap_4",k8="_dropdownMenu_1f4ap_15",X5={tokens:v8,display:x8,focus:C8,gray10:E8,dropDownMenu:B8,dropdownMenu:k8};function eh({label:e,title:t,children:u,...n}){return g.jsxs(Vv,{...n,children:[g.jsxs(ze,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,g.jsx(H7,{size:20,"aria-hidden":!0})]}),g.jsx(tn,{children:g.jsx(Lv,{...n,className:X5.dropDownMenu,children:u})})]})}function th(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return g.jsx(Hv,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${X5.dropdownMenu} ${u?"focused":""} ${n?"open":""}`,children:({hasSubmenu:u})=>g.jsxs(g.Fragment,{children:[e.children,u&&g.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:g.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const P8='"../theme/tokens.css"',S8='"Inter", sans-serif',A8="#f2f2f2",w8="#8c8c8c",F8="500",T8="400",R8="_box_iol70_4",I8="_list_iol70_28",K8="_container_iol70_38",M8="_label_iol70_45",z8="_text_iol70_51",V8="_dropzone_iol70_57",N8="_input_iol70_71",Hu={tokens:P8,display:S8,gray10:A8,gray90:w8,mediumWeight:F8,regularWeight:T8,box:R8,list:I8,container:K8,label:M8,text:z8,dropzone:V8,input:N8},L8=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[a,i]=de.useState(null),l=d=>{i(d!==null?Array.from(d):[])},s=async d=>{const c=d.items.filter(p=>p.kind==="file").map(p=>p.getFile()),f=await Promise.all(c);i(f)};return n?g.jsxs("div",{className:Hu.container,children:[g.jsx(dx,{onDrop:s,className:Hu.dropzone,children:g.jsx(na,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),a&&g.jsx(cs,{files:a,setFiles:i})]}):g.jsxs("div",{className:Hu.container,children:[g.jsx(pt,{label:t,description:u,children:g.jsx(cx,{allowsMultiple:e,onSelect:d=>l(d),...r,children:g.jsx(ze,{variant:"secondary","aria-labelledby":"fileUpload",className:Hu.input,children:e?"Välj filer":"Välj fil"})})}),a&&g.jsx(cs,{files:a,setFiles:i})]})},cs=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return g.jsx("ul",{className:Hu.list,children:e.map((n,r)=>g.jsxs("li",{className:Hu.box,children:[g.jsx("span",{children:n.name}),g.jsx(ze,{variant:"icon",size:"small",onPress:()=>u(r),children:g.jsx(Tu,{size:20,"aria-hidden":!0})})]},r))})},j8='"../theme/tokens.css"',_8="(min-width: 768px)",O8="(min-width: 1200px)",H8="(min-width: 1440px)",U8="_container_148sa_4",W8="_flex_148sa_16",G8="_fluid_148sa_54",Z8="_col_148sa_60",Yu={tokens:j8,mdBreakpoint:_8,lgBreakpoint:O8,xlBreakpoint:H8,container:U8,flex:W8,fluid:G8,col:Z8,"col-1":"_col-1_148sa_64","col-2":"_col-2_148sa_65","col-3":"_col-3_148sa_66","col-4":"_col-4_148sa_67","col-5":"_col-5_148sa_68","col-6":"_col-6_148sa_69","col-7":"_col-7_148sa_70","col-8":"_col-8_148sa_71","col-9":"_col-9_148sa_72","col-10":"_col-10_148sa_73","col-11":"_col-11_148sa_74","col-12":"_col-12_148sa_75","col-auto":"_col-auto_148sa_76","offset-1":"_offset-1_148sa_130","offset-2":"_offset-2_148sa_134","offset-3":"_offset-3_148sa_138","offset-4":"_offset-4_148sa_142","offset-5":"_offset-5_148sa_146","offset-6":"_offset-6_148sa_150","offset-7":"_offset-7_148sa_154","offset-8":"_offset-8_148sa_158","offset-9":"_offset-9_148sa_162","offset-10":"_offset-10_148sa_166","offset-11":"_offset-11_148sa_170"},q8=({children:e,fluid:t=!1,...u})=>g.jsx("div",{className:W(Yu.container,t&&Yu.fluid,u.className),...u,children:g.jsx("div",{className:Yu.flex,children:e})}),uh=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return g.jsx("div",{className:W(Yu.col,Yu[r],Yu[a],n.className),...n,children:e})},Y8='"../theme/tokens.css"',J8="(min-width: 768px)",Q8="(min-width: 1200px)",X8="(min-width: 1440px)",eE="_container_1aupx_4",tE="_grid_1aupx_16",uE="_fluid_1aupx_45",nE="_col_1aupx_52",Dn={tokens:Y8,mdBreakpoint:J8,lgBreakpoint:Q8,xlBreakpoint:X8,container:eE,grid:tE,fluid:uE,col:nE,"col-1":"_col-1_1aupx_58","col-2":"_col-2_1aupx_62","col-3":"_col-3_1aupx_66","col-4":"_col-4_1aupx_70","col-5":"_col-5_1aupx_74","col-6":"_col-6_1aupx_78","col-7":"_col-7_1aupx_82","col-8":"_col-8_1aupx_86","col-9":"_col-9_1aupx_90","col-10":"_col-10_1aupx_94","col-11":"_col-11_1aupx_98","col-12":"_col-12_1aupx_102","offset-1":"_offset-1_1aupx_106","offset-2":"_offset-2_1aupx_110","offset-3":"_offset-3_1aupx_114","offset-4":"_offset-4_1aupx_118","offset-5":"_offset-5_1aupx_122","offset-6":"_offset-6_1aupx_126","offset-7":"_offset-7_1aupx_130","offset-8":"_offset-8_1aupx_134","offset-9":"_offset-9_1aupx_138","offset-10":"_offset-10_1aupx_142","offset-11":"_offset-11_1aupx_146"},rE=({children:e,fluid:t=!1,...u})=>g.jsx("div",{className:W(Dn.container,t&&Dn.fluid,u.className),...u,children:g.jsx("div",{className:Dn.grid,children:e})}),aE=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return g.jsx("div",{className:W(Dn.col,Dn[n],u.className),...u,children:e})},iE='"../theme/tokens.css"',lE='"Inter", sans-serif',oE="#d5f2d9",sE="#008d3c",dE="#eaf2f6",cE="#0066cc",fE="#fff8e1",pE="#f1c21b",mE="#ffdfdf",bE="#e62323",hE="#000000",$E="600",gE="_infoBanner_1tfw7_4",DE="_success_1tfw7_13",yE="_info_1tfw7_4",vE="_important_1tfw7_23",xE="_warning_1tfw7_28",CE="_content_1tfw7_37",EE="_heading_1tfw7_43",BE="_text_1tfw7_48",kE="_icon_1tfw7_53",PE="_dismissable_1tfw7_58",bu={tokens:iE,display:lE,signalGreen10:oE,signalGreen100:sE,signalBlue10:dE,signalBlue100:cE,signalYellow10:fE,signalYellow100:pE,signalRed10:mE,signalRed100:bE,black:hE,semiBoldWeight:$E,infoBanner:gE,success:DE,info:yE,important:vE,warning:xE,content:CE,heading:EE,text:BE,icon:kE,dismissable:PE},SE={success:q5,info:Y5,important:Z5,warning:J5},AE=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=SE[u],[l,s]=de.useState(!0);return l?g.jsxs("div",{className:W(bu.infoBanner,bu[u],a.className),...a,children:[g.jsx(i,{size:20,"aria-hidden":!0,className:bu.icon}),g.jsxs("div",{className:bu.content,children:[e&&g.jsx("strong",{className:bu.heading,children:e}),g.jsxs("div",{className:bu.text,children:[t,n]})]}),r&&g.jsx("div",{className:bu.dismissable,children:g.jsx(ze,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:g.jsx(Tu,{size:20})})})]}):null},wE='"../theme/tokens.css"',FE='"Inter", sans-serif',TE="#143c50",RE="500",IE="#f2f2f2",KE="#e6e6e6",ME="#d9d9d9",zE="#b3b3b3",VE="#a6a6a6",NE="#5d5d5d",LE="#1f1f1f",jE="(min-width: 768px)",_E="#b90835",OE="0 0 0 2px #ffffff, 0 0 0 4px #000000",HE="_baseLayout_9uzhg_4",UE="_mainContent_9uzhg_13",WE="_header_9uzhg_18",GE="_headerContent_9uzhg_35",ZE="_headerItems_9uzhg_52",qE="_logo_9uzhg_53",YE="_headerMenu_9uzhg_61",JE="_toggleButton_9uzhg_69",QE="_sidebar_9uzhg_77",XE="_main_9uzhg_13",eB="_app_9uzhg_114",tB="_sidebarOpened_9uzhg_123",uB="_sidebarFooter_9uzhg_127",nB="_appName_9uzhg_138",rB="_collapseButton_9uzhg_145",aB="_sidebarCollapsed_9uzhg_155",iB="_sidebarHeader_9uzhg_160",lB="_userName_9uzhg_172",oB="_abbr_9uzhg_185",sB="_userTitle_9uzhg_191",dB="_title_9uzhg_203",cB="_sidebarNav_9uzhg_214",fB="_list_9uzhg_220",pB="_listGroupTitle_9uzhg_227",mB="_listItem_9uzhg_234",bB="_listItemCollapsed_9uzhg_238",hB="_listLink_9uzhg_242",$B="_listLinkCollapsed_9uzhg_287",gB="_active_9uzhg_292",DB="_linkText_9uzhg_297",yB="_backdrop_9uzhg_304",vB="_backdropOpened_9uzhg_314",xB="_skipToContent_9uzhg_332",ee={tokens:wE,display:FE,primaryBackground:TE,mediumWeight:RE,gray10:IE,gray20:KE,gray30:ME,gray60:zE,gray70:VE,gray130:NE,gray150:LE,mdBreakpoint:jE,logoPrimary:_E,focus:OE,baseLayout:HE,mainContent:UE,header:WE,headerContent:GE,headerItems:ZE,logo:qE,headerMenu:YE,toggleButton:JE,sidebar:QE,main:XE,app:eB,sidebarOpened:tB,sidebarFooter:uB,appName:nB,collapseButton:rB,sidebarCollapsed:aB,sidebarHeader:iB,userName:lB,abbr:oB,userTitle:sB,title:dB,sidebarNav:cB,list:fB,listGroupTitle:pB,listItem:mB,listItemCollapsed:bB,listLink:hB,listLinkCollapsed:$B,active:gB,linkText:DB,backdrop:yB,backdropOpened:vB,skipToContent:xB},CB='"../theme/tokens.css"',EB='"Inter", sans-serif',BB="#1f1f1f",kB="_tooltip_m1a8t_4",PB="_arrow_m1a8t_17",fs={tokens:CB,display:EB,gray150:BB,tooltip:kB,arrow:PB};function nh({children:e,placement:t,className:u,...n}){return g.jsxs(n7,{className:W(fs.tooltip,u),placement:t,...n,children:[g.jsx(Kv,{className:fs.arrow,children:g.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:g.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function rh({children:e,delay:t=0,...u}){return g.jsx(u7,{delay:t,...u,children:e})}const ah=de.createContext(void 0),SB=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:a,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>g.jsx(ah.Provider,{value:{items:e,title:t,user:u,app:n,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,clientSideRouter:a,clientSideHref:i},children:r}),ba=()=>{const e=de.useContext(ah);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},Nl=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:r,setIsOpened:a}=ba(),[i,l]=de.useState(!1);return de.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),r?g.jsxs(rh,{children:[g.jsx(Mr,{href:t,"aria-label":e,className:W(ee.listLink,ee.listLinkCollapsed,i&&ee.active),onPress:()=>a(!1),children:g.jsx(u,{size:20,"aria-label":e})}),g.jsx(nh,{placement:"right",children:e})]}):g.jsxs(Mr,{href:t,"aria-label":e,className:W(ee.listLink,i&&ee.active),onPress:()=>a(!1),children:[g.jsx(u,{size:20}),e]})},ih=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:a,clientSideRouter:i,clientSideHref:l}=ba(),s=({group:d})=>g.jsx("ul",{className:ee.list,children:d.items.map((c,f)=>g.jsx("li",{className:W(ee.listItem,n&&ee.listItemCollapsed),children:g.jsx(Nl,{...c})},"link_"+f))});return de.useEffect(()=>{const d=c=>{c.key==="Escape"&&a(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[a]),g.jsxs("aside",{id:"midasMainMenu",className:W(ee.sidebar,n&&ee.sidebarCollapsed,u&&ee.sidebarOpened),children:[g.jsx("nav",{className:ee.sidebarNav,children:g.jsx("ul",{className:ee.list,children:e.map((d,c)=>g.jsxs("li",{children:[d.title&&!n&&g.jsx("p",{className:ee.listGroupTitle,children:d.title}),i?g.jsx(gs,{navigate:i,useHref:l,children:g.jsx(s,{group:d})}):g.jsx(s,{group:d})]},"list_"+c))})}),g.jsxs("div",{className:ee.sidebarFooter,children:[!n&&g.jsx("p",{className:ee.appName,children:t.name}),g.jsx(ze,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:ee.collapseButton,children:n?g.jsx(q7,{size:20}):g.jsx(Z7,{size:20})})]})]})},AB='"../theme/tokens.css"',wB="#b90835",FB="#000000",TB="#5d5d5d",RB="#ffffff",IB="_container_1c334_4",KB="_noPadding_1c334_9",MB="_logo_1c334_13",zB="_primary_1c334_18",VB="_dark_1c334_22",NB="_xSmall_1c334_26",LB="_small_1c334_30",jB="_large_1c334_34",_B="_backgroundPrimary_1c334_38",OB="_backgroundDark_1c334_46",lt={tokens:AB,red100:wB,black:FB,gray130:TB,white:RB,container:IB,noPadding:KB,logo:MB,primary:zB,dark:VB,xSmall:NB,small:LB,large:jB,backgroundPrimary:_B,backgroundDark:OB},lh=({primary:e=!0,size:t="medium",background:u=!1,padding:n=!0,className:r,...a})=>{const i=W(lt.logo,e?lt.primary:lt.dark,t==="x-small"&&lt.xSmall,t==="small"&&lt.small,t==="medium"&&lt.medium,t==="large"&&lt.large),l=()=>t==="x-small"?g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:i,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:g.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):g.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:i,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[g.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),g.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),g.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),g.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),g.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),g.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),g.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),g.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),g.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),g.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),g.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),g.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),g.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return g.jsx("div",{className:W(lt.container,n===!1&&lt.noPadding,u?e?lt.backgroundPrimary:lt.backgroundDark:null,r),...a,children:g.jsx(l,{})})},oh=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:a,headerChildren:i}=ba();return g.jsxs("header",{className:ee.header,style:{borderTop:`solid 4px ${u.color?u.color:Qh.midasColors.logoPrimary}`},children:[g.jsxs("div",{className:ee.headerContent,children:[g.jsx(lh,{padding:!1,size:"small",className:ee.logo}),g.jsx(ze,{variant:"icon",className:ee.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{a(!1),r(!0)},children:n?g.jsx(Tu,{size:20,"aria-hidden":"true"}):g.jsx(G7,{size:20,"aria-hidden":"true"})}),g.jsxs("div",{children:[g.jsx("p",{className:ee.userName,children:t.name}),g.jsx("p",{className:ee.userTitle,children:t.title}),g.jsx("p",{className:ee.title,children:e})]})]}),i&&g.jsxs(g.Fragment,{children:[g.jsx("div",{className:ee.headerItems,children:i}),g.jsx("div",{className:ee.headerMenu,children:g.jsx(eh,{label:"Öppna meny",children:de.Children.map(i,l=>g.jsx(th,{children:l}))})})]})]})},HB=({id:e="#main:first-of-type"})=>{const t=()=>{const u=document.querySelector(e);u&&(u.tabIndex=-1,u.focus(),setTimeout(()=>u.removeAttribute("tabindex"),1e3))};return g.jsx(ze,{onPress:t,className:ee.skipToContent,children:"Hoppa till huvudinnehåll"})},UB=()=>{const{isOpened:e,setIsOpened:t}=ba();return e?g.jsx("div",{className:W(ee.backdrop,ee.backdropOpened),onClick:()=>{t(!1)},"aria-hidden":!0}):null},Jt=({items:e,title:t,user:u,app:n,children:r,headerChildren:a,clientSideRouter:i,clientSideHref:l})=>{const[s,d]=de.useState(!1),[c,f]=de.useState(!1);return g.jsx(Jt.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:i,clientSideHref:l,headerChildren:a,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,children:g.jsxs("div",{className:ee.baseLayout,children:[g.jsx(HB,{}),g.jsx(Jt.Header,{}),g.jsxs("div",{className:ee.mainContent,children:[g.jsx(Jt.Sidebar,{}),g.jsx(uh,{children:g.jsx("main",{className:ee.main,children:g.jsx("div",{className:ee.app,children:r})})}),g.jsx(UB,{})]})]})})};Jt.Provider=SB;Jt.Header=oh;Jt.Sidebar=ih;Jt.SidebarLink=Nl;const WB='"../theme/tokens.css"',GB="#143c50",ZB="#25607f",qB="#4289ad",YB='"Inter", sans-serif',JB="1rem",QB="500",XB="#ffffff",ek="#bfbfbf",tk="#f2f2f2",uk="#e6e6e6",nk="#000000",rk="undefined",ak="0 0 0 2px #ffffff, 0 0 0 4px #000000",ik="(max-width: 767px)",lk="#e62323",ok="#b31b1b",sk="#801313",dk="_linkButton_42bs5_4",ck="_secondary_42bs5_48",fk="_tertiary_42bs5_72",pk="_danger_42bs5_93",mk="_iconBtn_42bs5_115",bk="_iconLeft_42bs5_136",hk="_fullwidth_42bs5_140",$k="_button_42bs5_145",Je={tokens:WB,blue150:GB,blue130:ZB,blue90:qB,display:YB,desktopSize:JB,mediumWeight:QB,white:XB,gray50:ek,gray10:tk,gray20:uk,black:nk,medium:rk,focus:ak,smBreakpoint:ik,signalRed100:lk,signalRed130:ok,signalRed150:sk,linkButton:dk,secondary:ck,tertiary:fk,danger:pk,iconBtn:mk,iconLeft:bk,fullwidth:hk,button:$k},gk=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||Mr,d=()=>n?g.jsx(n,{size:20,className:Je.icon}):l.target==="_blank"?g.jsx(J7,{size:20,className:Je.icon}):r==="left"?g.jsx(Ml,{size:20,className:Je.icon}):g.jsx(zl,{size:20,className:Je.icon});return g.jsxs(s,{className:W(Je.linkButton,t==="primary"&&Je.primary,t==="secondary"&&Je.secondary,t==="tertiary"&&Je.tertiary,t==="danger"&&Je.danger,t==="icon"&&Je.iconBtn,u&&Je.fullwidth,r==="left"&&Je.iconLeft,a),...l,children:[e,g.jsx(d,{})]})},Dk='"../theme/tokens.css"',yk='"Inter", sans-serif',vk="#ffffff",xk="#f2f2f2",Ck="_modal_1wq00_4",Ek="_modalHeader_1wq00_30",Bk="_modalBody_1wq00_39",kk="_modalHeading_1wq00_45",lr={tokens:Dk,display:yk,white:vk,gray10:xk,modal:Ck,modalHeader:Ek,modalBody:Bk,modalHeading:kk},Pk=({id:e,isOpen:t,onOpenChange:u,children:n,title:r,className:a,...i})=>{const l=de.useRef(null);de.useEffect(()=>{var c,f;t?(c=l.current)==null||c.showModal():(f=l.current)==null||f.close()},[t]);const s=()=>{var c;(c=l.current)==null||c.close(),u(!1)},d=e+"_heading";return g.jsxs("dialog",{id:e,ref:l,onCancel:()=>u(!1),className:W(lr.modal,a),"aria-labelledby":d,...i,children:[g.jsx("div",{className:lr.modalHeader,children:g.jsx(ze,{onPress:()=>s(),variant:"tertiary",icon:Tu,iconPlacement:"right",children:"Stäng"})}),g.jsxs("div",{className:lr.modalBody,children:[g.jsx("h2",{className:lr.modalHeading,id:d,children:r}),n]})]})},Sk='"../theme/tokens.css"',Ak='"Inter", sans-serif',wk="#000000",Fk="#b31b1b",Tk="(max-width: 767px)",Rk="#bfbfbf",Ik="#e6e6e6",Kk="#f2f2f2",Mk="_button_sua3u_4",zk="_icon_sua3u_19",Vk="_multiSelect_sua3u_44",Nk="_popover_sua3u_60",Lk="_listBoxItem_sua3u_73",dn={tokens:Sk,display:Ak,black:wk,signalRed130:Fk,smBreakpoint:Tk,gray50:Rk,gray20:Ik,backgroundSecondary:Kk,button:Mk,icon:zk,multiSelect:Vk,popover:Nk,listBoxItem:Lk},jk='"../theme/tokens.css"',_k='"Inter", sans-serif',Ok="#000000",Hk="#b31b1b",Uk="(max-width: 767px)",Wk="#bfbfbf",Gk="#d9d9d9",Zk="#e6e6e6",qk="#f2f2f2",Yk="#f2f2f2",Jk="_button_m4kn4_4",Qk="_tag_m4kn4_14",Xk="_dismissable_m4kn4_34",eP="_tagText_m4kn4_42",tP="_tagList_m4kn4_47",mn={tokens:jk,display:_k,black:Ok,signalRed130:Hk,smBreakpoint:Uk,gray50:Wk,gray30:Gk,gray20:Zk,gray10:qk,backgroundSecondary:Yk,button:Jk,tag:Qk,dismissable:Xk,tagText:eP,tagList:tP},sh=({children:e,...t})=>g.jsx(Jx,{...t,children:g.jsx(Xx,{className:mn.tagList,children:e})}),dh=({children:e,dismissable:t,className:u,...n})=>g.jsxs(t7,{className:W(mn.tag,t&&mn.dismissable,u),...n,children:[g.jsx("div",{className:mn.tagText,children:e}),t&&g.jsx(ze,{variant:"icon",size:"small",className:mn.button,slot:"remove",children:g.jsx(Tu,{size:20})})]}),uP=({label:e,description:t,items:u,onSelectionChange:n,selectedKeys:r,defaultSelectedKeys:a,isDisabled:i,isInvalid:l,errorMessage:s})=>{const d=de.useRef(null),[c,f]=de.useState(void 0),p=Zy({initialItems:u,initialSelectedKeys:a});de.useEffect(()=>{const b=()=>{d.current&&f(d.current.offsetWidth-2)};return b(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[]),de.useEffect(()=>{n&&n(new Set(p.selectedKeys))},[p.selectedKeys,n]),de.useEffect(()=>{r&&p.setSelectedKeys(new Set(r))},[r]);const m=p.selectedKeys==="all"?new Set(p.items.map(b=>b.id)):p.selectedKeys;return g.jsx("div",{className:dn.multiSelect,"data-disabled":i,"data-invalid":l,children:g.jsxs(te,{values:[[Et,{isInvalid:l||!1,validationErrors:[],validationDetails:{customError:l||!1,badInput:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!1,valueMissing:!1}}]],children:[g.jsx(pt,{label:e,description:t,errorMessage:s,children:g.jsxs(Uv,{children:[g.jsxs(dt,{className:dn.button,ref:d,isDisabled:i,children:["Välj",g.jsx("div",{className:dn.icon,"aria-hidden":"true",children:g.jsx(In,{size:20})})]}),g.jsx(tn,{className:dn.popover,style:{width:c},offset:0,UNSTABLE_portalContainer:d.current||void 0,children:g.jsx(px,{"aria-label":e,selectionMode:"multiple",selectedKeys:p.selectedKeys,onSelectionChange:p.setSelectedKeys,children:p.items.map(b=>g.jsxs(bx,{id:b.id,textValue:b.name,className:dn.listBoxItem,children:[g.jsx(Gn,{slot:"selection"}),b.name]},b.id))})})]})}),g.jsx(sh,{"aria-label":"Valda",onRemove:b=>{p.setSelectedKeys(new Set(Array.from(p.selectedKeys).filter(h=>!b.has(h))))},children:Array.from(m).map(b=>{const h=p.getItem(b);return g.jsx(dh,{id:h==null?void 0:h.id,textValue:h==null?void 0:h.name,isDisabled:i,dismissable:!0,children:h==null?void 0:h.name},h==null?void 0:h.id)})})]})})},nP='"../theme/tokens.css"',rP='"Inter", sans-serif',aP="undefined",iP="#1f1f1f",lP="#000000",oP="#143c50",sP="#bfbfbf",dP="#b3b3b3",cP="#f2f2f2",fP="#ffdfdf",pP="#e62323",mP="undefined",bP="#1f1f1f",hP="undefined",$P="(max-width: 767px)",gP="0 0 0 2px #ffffff, 0 0 0 4px #000000",DP="(min-width: 768px)",yP="#b3b3b3",vP="_radioGroup_1h36y_4",xP="_wrap_1h36y_16",CP="_radio_1h36y_4",Ti={tokens:nP,display:rP,inputLabel:aP,inputText:iP,black:lP,blue150:oP,gray50:sP,gray60:dP,gray10:cP,signalRed10:fP,signalRed100:pP,medium:mP,gray150:bP,regular:hP,smBreakpoint:$P,focus:gP,mdBreakpoint:DP,borderSecondary:yP,radioGroup:vP,wrap:xP,radio:CP},EP=({label:e,description:t,errorMessage:u,children:n,className:r,...a})=>g.jsx(xx,{...a,className:W(Ti.radioGroup,r),children:g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsx(Un,{className:Ti.wrap,children:n})})}),BP=e=>g.jsx(Cx,{className:Ti.radio,...e}),kP='"../theme/tokens.css"',PP='"Inter", sans-serif',SP="#e62323",AP="0 0 0 2px #ffffff, 0 0 0 4px #000000",wP="#f2f2f2",FP="#000000",TP="_fieldError_smrso_5",RP="_container_smrso_34",IP="_inputContainer_smrso_40",KP="_icon_smrso_47",MP="_clear_smrso_55",zP="_input_smrso_40",zu={tokens:kP,display:PP,signalRed100:SP,focus:AP,gray10:wP,black:FP,fieldError:TP,container:RP,inputContainer:IP,icon:KP,clear:MP,input:zP};function VP(e){return!!(e!=null&&e.length)}const NP=e=>{const{value:t,setValue:u}=Xy(e),n=de.useRef(null),{labelProps:r,inputProps:a,errorMessageProps:i,isInvalid:l,validationErrors:s,clearButtonProps:d}=J6({...e,label:e.placeholder,validationBehavior:"native"},{value:t,setValue:u},n),c=({target:b})=>u(b.value),f=()=>u(""),p=()=>{var h;if(e.validate&&VP(e.validate(t))||l||!t){(h=n.current)==null||h.focus();return}e.onSubmit&&e.onSubmit(t)},m=({key:b})=>{b==="Enter"&&p()};return g.jsxs("div",{children:[l&&g.jsx("div",{...i,className:zu.fieldError,children:e.errorMessage??s.join(" ")}),g.jsxs("div",{className:zu.container,children:[g.jsx(Ts,{...r,hidden:!0,children:e.placeholder}),g.jsxs("div",{className:zu.inputContainer,children:[g.jsx(Y7,{size:20,className:zu.icon}),g.jsx("input",{...a,className:W(Te.input,zu.input,a.className),ref:n,onChange:c,value:t,"aria-invalid":l,onKeyDown:m}),t.length>0&&g.jsx(ze,{variant:"icon",size:"small",className:zu.clear,onPress:f,...d,children:g.jsx(Tu,{size:20,"aria-hidden":!0})})]}),g.jsx(ze,{isDisabled:e.isDisabled,excludeFromTabOrder:!0,onPress:p,type:"button",children:e.buttonText?e.buttonText:"Sök"})]})]})},LP='"../theme/tokens.css"',jP='"Inter", sans-serif',_P="#000000",OP="#b31b1b",HP="(max-width: 767px)",UP="#bfbfbf",WP="#e6e6e6",GP="0 0 0 2px #ffffff, 0 0 0 4px #000000",ZP="#f2f2f2",qP="_button_1by20_4",YP="_select_1by20_46",JP="_popover_1by20_62",QP="_listBoxItem_1by20_70",XP="_icon_1by20_97",bn={tokens:LP,display:jP,black:_P,signalRed130:OP,smBreakpoint:HP,gray50:UP,gray20:WP,focus:GP,backgroundSecondary:ZP,button:qP,select:YP,popover:JP,listBoxItem:QP,icon:XP};function eS({label:e,description:t,errorMessage:u,children:n,items:r,...a}){const i=o.useRef(null);return g.jsxs(Bx,{className:bn.select,ref:i,...a,children:[g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsxs(dt,{className:bn.button,children:[g.jsx(Px,{}),g.jsx("div",{className:bn.icon,"aria-hidden":"true",children:g.jsx(In,{size:20,"aria-hidden":!0})})]})}),g.jsx(tn,{className:bn.popover,offset:0,UNSTABLE_portalContainer:i.current||void 0,children:g.jsx(w5,{items:r,children:n})})]})}function tS(e){return g.jsx(T5,{className:bn.listBoxItem,...e})}const uS="_skeleton_1ddo2_11",nS="_circle_1ddo2_21",rS="_wave_1ddo2_26",Wa={skeleton:uS,circle:nS,wave:rS},aS=({variant:e="rectangular",width:t,height:u,animation:n="wave"})=>(e==="circle"&&u!==void 0&&console.warn("Height is not allowed when using circle, control size with width"),g.jsx("div",{className:W(Wa.skeleton,Wa[e],n&&Wa[n]),style:{width:t,height:u}})),iS='"../theme/tokens.css"',lS="#b90835",oS="#143c50",sS="_container_13uof_4",dS="_spinner_13uof_8",cS="_rotating_13uof_1",fS="_dark_13uof_18",pS="_vsHidden_13uof_22",or={tokens:iS,red100:lS,blue150:oS,container:sS,spinner:dS,rotating:cS,dark:fS,vsHidden:pS},mS=({small:e,dark:t})=>g.jsxs("div",{className:or.container,role:"status",children:[g.jsx(W7,{className:W(or.spinner,t&&or.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),g.jsx("span",{className:or.vsHidden,children:"Laddar, vänligen vänta."})]}),bS='"../theme/tokens.css"',hS='"Inter", sans-serif',$S="#f2f2f2",gS="#d9d9d9",DS="#cccccc",yS="#b3b3b3",vS="500",xS="_cell_yd56b_4",CS="_table_yd56b_10",ES="_narrow_yd56b_14",BS="_striped_yd56b_29",kS="_row_yd56b_29",PS="_tableHeader_yd56b_48",SS="_column_yd56b_52",vu={tokens:bS,display:hS,gray10:$S,gray30:gS,gray40:DS,gray60:yS,mediumWeight:vS,cell:xS,table:CS,narrow:ES,striped:BS,row:kS,tableHeader:PS,column:SS},AS=({narrow:e,striped:t,className:u,...n})=>{const r=W(vu.table,e&&vu.narrow,t&&vu.striped,u);return g.jsx(Fx,{className:r,...n})},wS=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=O5();return g.jsxs(Rx,{className:vu.tableHeader,children:[r&&g.jsx(Ri,{}),u==="toggle"&&g.jsx(Ri,{width:50,children:n==="multiple"&&g.jsx(Gn,{slot:"selection"})}),g.jsx(ct,{items:e,children:t})]})},FS=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=O5();return g.jsxs(Vx,{id:e,className:W(vu.row),...n,children:[a&&g.jsx(Ii,{children:g.jsx(dt,{slot:"drag",children:g.jsx(U7,{size:20})})}),r==="toggle"&&g.jsx(Ii,{children:g.jsx(Gn,{slot:"selection"})}),g.jsx(ct,{items:t,children:u})]})},Ri=({children:e,...t})=>g.jsx(Kx,{className:vu.column,...t,children:({allowsSorting:u,sortDirection:n})=>g.jsxs(g.Fragment,{children:[e,u&&g.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?g.jsx(O7,{size:20}):g.jsx(j7,{size:20})})]})}),Ii=({...e})=>g.jsx(Nx,{className:vu.cell,...e}),TS='"../theme/tokens.css"',RS='"Inter", sans-serif',IS="#bfbfbf",KS="600",MS="#25607f",zS="0 0 0 2px #ffffff, 0 0 0 4px #000000",VS="(max-width: 767px)",NS="_container_a0kqi_4",LS="_list_a0kqi_8",jS="_listItem_a0kqi_14",_S="_panel_a0kqi_42",sr={tokens:TS,display:RS,gray50:IS,semiBoldWeight:KS,blue130:MS,focus:zS,smBreakpoint:VS,container:NS,list:LS,listItem:jS,panel:_S},OS=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=de.Children.toArray(n);if(r.length!==e.length)throw new Error(`The number of children must match the number of tabs. Children: ${r.length} Tabs: ${e.length}`);const a=r.reduce((i,l,s)=>{var d;if(de.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=de.cloneElement(l,{id:c}))}return i},{});return g.jsxs(Hx,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:sr.container,children:[g.jsx(Wx,{"aria-label":t,className:sr.list,children:e.map(i=>g.jsx(Zx,{id:i.toLowerCase(),className:sr.listItem,children:i},i))}),e.map(i=>g.jsx(qx,{id:i.toLowerCase(),className:sr.panel,children:a[i.toLowerCase()]},i))]})},HS='"../theme/tokens.css"',US='"Inter", sans-serif',WS="#ffdfdf",GS="(max-width: 767px)",ZS="#f2f2f2",qS="#e6e6e6",YS="#bfbfbf",JS="#000000",QS="#e62323",XS="#2e7ca5",eA="500",tA="400",uA="#1f1f1f",nA="0 0 0 2px #ffffff, 0 0 0 4px #000000",rA="_textArea_r27ql_4",aA="_count_r27ql_45",iA="_countExceeded_r27ql_53",dr={tokens:HS,display:US,signalRed10:WS,smBreakpoint:GS,gray10:ZS,gray20:qS,gray50:YS,black:JS,signalRed100:QS,blue100:XS,mediumWeight:eA,regularWeight:tA,inputText:uA,focus:nA,textArea:rA,count:aA,countExceeded:iA},lA=({label:e,description:t,rows:u,maxLength:n,minLength:r,errorMessage:a,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=de.useState(d.defaultValue??d.value??""),p=h=>{const D=h.target.value;f(D)},m=()=>n?g.jsxs("span",{className:W(dr.count,c.length>n&&dr.countExceeded),children:[c.length," / ",n]}):i?g.jsx("span",{className:dr.count,children:c.length}):null,b=h=>{const D=n&&h.length>n?`Du har angett ${h.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,v=r&&h.length<r?`Du har angett ${Math.abs(h.length-r)} tecken för lite. Fältet kräver åtminstone ${r} tecken.`:null,E=l?l(h):null;return D||v||E||!0};return g.jsx(_b,{className:W(Te.inputField,s),validate:b,...d,children:g.jsxs(pt,{label:e,description:t,errorMessage:a,children:[g.jsx(m,{}),g.jsx(mv,{className:dr.textArea,rows:u,onFocus:p,onChange:p})]})})};var ch={};ch={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var fh={};fh={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var ph={};ph={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var mh={};mh={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var bh={};bh={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var hh={};hh={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var $h={};$h={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var gh={};gh={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Dh={};Dh={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var yh={};yh={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var vh={};vh={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var xh={};xh={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var Ch={};Ch={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Eh={};Eh={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var Bh={};Bh={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var kh={};kh={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Ph={};Ph={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var Sh={};Sh={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var Ah={};Ah={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var wh={};wh={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Fh={};Fh={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var Th={};Th={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var Rh={};Rh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Ih={};Ih={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var Kh={};Kh={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var Mh={};Mh={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var zh={};zh={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var Vh={};Vh={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var Nh={};Nh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var Lh={};Lh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var jh={};jh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var _h={};_h={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var Oh={};Oh={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var Hh={};Hh={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var Ll={};Ll={"ar-AE":ch,"bg-BG":fh,"cs-CZ":ph,"da-DK":mh,"de-DE":bh,"el-GR":hh,"en-US":$h,"es-ES":gh,"et-EE":Dh,"fi-FI":yh,"fr-FR":vh,"he-IL":xh,"hr-HR":Ch,"hu-HU":Eh,"it-IT":Bh,"ja-JP":kh,"ko-KR":Ph,"lt-LT":Sh,"lv-LV":Ah,"nb-NO":wh,"nl-NL":Fh,"pl-PL":Th,"pt-BR":Rh,"pt-PT":Ih,"ro-RO":Kh,"ru-RU":Mh,"sk-SK":zh,"sl-SI":Vh,"sr-SP":Nh,"sv-SE":Lh,"tr-TR":jh,"uk-UA":_h,"zh-CN":Oh,"zh-TW":Hh};function oA(e){return e&&e.__esModule?e.default:e}function sA(e,t,u){let{key:n,timer:r,timeout:a,animation:i}=e.toast;o.useEffect(()=>{if(!(r==null||a==null))return r.reset(a),()=>{r.pause()}},[r,a]);let[l,s]=o.useState(!1);o.useEffect(()=>{(i==="entering"||i==="queued")&&s(!0)},[i]);let d=ne(),c=rt(),f=be(oA(Ll),"@react-aria/toast");return{toastProps:{role:"alertdialog","aria-modal":"false","aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]||d,"aria-describedby":e["aria-describedby"]||c,"aria-details":e["aria-details"],"aria-hidden":i==="exiting"?"true":void 0,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true",style:{visibility:l||i===null?"visible":"hidden"}},titleProps:{id:d},descriptionProps:{id:c},closeButtonProps:{"aria-label":f.format("close"),onPress:()=>t.close(n)}}}const Uh=1,Ga=Symbol.for("react-aria-landmark-manager");function dA(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function ps(){if(typeof document>"u")return null;let e=document[Ga];return e&&e.version>=Uh?e:(document[Ga]=new fA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Ga])}function cA(){return _i.useSyncExternalStore(dA,ps,ps)}class fA{setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,u){var n,r;(r=this.landmarks.find(a=>a.ref.current===t))===null||r===void 0||(n=r.focus)===null||n===void 0||n.call(r,u)}getLandmarksByRole(t){return new Set(this.landmarks.filter(u=>u.role===t))}getLandmarkByRole(t){return this.landmarks.find(u=>u.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(r=>r.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(r=>r.role==="main").length>1&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let u=0,n=this.landmarks.length-1;for(;u<=n;){let r=Math.floor((u+n)/2),a=t.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);!!(a&Node.DOCUMENT_POSITION_PRECEDING||a&Node.DOCUMENT_POSITION_CONTAINS)?u=r+1:n=r-1}this.landmarks.splice(u,0,t),this.checkLabels(t.role)}updateLandmark(t){let u=this.landmarks.findIndex(n=>n.ref===t.ref);u>=0&&(this.landmarks[u]={...this.landmarks[u],...t},this.checkLabels(this.landmarks[u].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(u=>u.ref!==t),this.teardownIfNeeded()}checkLabels(t){let u=this.getLandmarksByRole(t);if(u.size>1){let n=[...u].filter(r=>!r.label);if(n.length>0)console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,n.map(r=>r.ref.current));else{let r=[...u].map(i=>i.label);r.filter((i,l)=>r.indexOf(i)!==l).forEach(i=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${i}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...u].filter(l=>l.label===i).map(l=>l.ref.current))})}}}closestLandmark(t){let u=new Map(this.landmarks.map(r=>[r.ref.current,r])),n=t;for(;n&&!u.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return u.get(n)}getNextLandmark(t,{backward:u}){var n;let r=this.closestLandmark(t),a=u?this.landmarks.length-1:0;r&&(a=this.landmarks.indexOf(r)+(u?-1:1));let i=()=>{if(a<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;a=this.landmarks.length-1}else if(a>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;a=0}return a<0||a>=this.landmarks.length};if(i())return;let l=a;for(;!((n=this.landmarks[a].ref.current)===null||n===void 0)&&n.closest("[aria-hidden=true]");){if(a+=u?-1:1,i())return;if(a===l)break}return this.landmarks[a]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,u){let n=this.getNextLandmark(t,{backward:u});if(!n)return!1;if(n.lastFocused){let r=n.lastFocused;if(document.body.contains(r))return r.focus(),!0}return n.ref.current&&document.contains(n.ref.current)?(this.focusLandmark(n.ref.current,u?"backward":"forward"),!0):!1}focusinHandler(t){let u=this.closestLandmark(t.target);u&&u.ref.current!==t.target&&this.updateLandmark({ref:u.ref,lastFocused:t.target});let n=t.relatedTarget;if(n){let r=this.closestLandmark(n);r&&r.ref.current===n&&r.blur()}}focusoutHandler(t){let u=t.target,n=t.relatedTarget;if(!n||n===document){let r=this.closestLandmark(u);r&&r.ref.current===u&&r.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(u,n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,u==="backward")},focusNext(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!1)},focusPrevious(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(u=>u.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Uh,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function pA(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=cA(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return q(()=>{if(i)return i.registerLandmark({ref:t,label:l,role:u,focus:a||c,blur:f})},[i,l,t,u,a,c,f]),o.useEffect(()=>{var p;s&&((p=t.current)===null||p===void 0||p.focus())},[s,t]),{landmarkProps:{role:u,tabIndex:s?-1:void 0,"aria-label":n,"aria-labelledby":r}}}function mA(e){return e&&e.__esModule?e.default:e}function bA(e,t,u){let n=be(mA(Ll),"@react-aria/toast"),{landmarkProps:r}=pA({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),{hoverProps:a}=De({onHoverStart:t.pauseAll,onHoverEnd:t.resumeAll}),i=o.useRef([]),l=o.useRef(t.visibleToasts),s=o.useRef(null);q(()=>{if(s.current===-1||t.visibleToasts.length===0||!u.current){i.current=[],l.current=t.visibleToasts;return}if(i.current=[...u.current.querySelectorAll('[role="alertdialog"]')],l.current.length===t.visibleToasts.length&&t.visibleToasts.every((m,b)=>m.key===l.current[b].key)){l.current=t.visibleToasts;return}let f=l.current.map((m,b)=>({...m,i:b,isRemoved:!t.visibleToasts.some(h=>m.key===h.key)})),p=f.findIndex(m=>m.i===s.current);if(p>-1){let m=0,b,h;for(;m<=p;)f[m].isRemoved||(h=Math.max(0,m-1)),m++;for(;m<f.length;){if(!f[m].isRemoved){b=m-1;break}m++}h===void 0&&b===void 0&&(h=0),h>=0&&h<i.current.length?Oe(i.current[h]):b>=0&&b<i.current.length&&Oe(i.current[b])}l.current=t.visibleToasts},[t.visibleToasts,u]);let d=o.useRef(null),{focusWithinProps:c}=ft({onFocusWithin:f=>{t.pauseAll(),d.current=f.relatedTarget},onBlurWithin:()=>{t.resumeAll(),d.current=null}});return o.useEffect(()=>{t.visibleToasts.length===0&&d.current&&document.body.contains(d.current)&&(tu()==="pointer"?Oe(d.current):d.current.focus(),d.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{d.current&&document.body.contains(d.current)&&(tu()==="pointer"?Oe(d.current):d.current.focus(),d.current=null)},[u]),{regionProps:N(r,a,c,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:f=>{let p=f.target.closest('[role="alertdialog"]');s.current=i.current.findIndex(m=>m===p)},onBlur:()=>{s.current=-1}})}}function hA(e={}){let{maxVisibleToasts:t=1,hasExitAnimation:u=!1}=e,n=o.useMemo(()=>new Gh({maxVisibleToasts:t,hasExitAnimation:u}),[t,u]);return Wh(n)}function Wh(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:_i.useSyncExternalStore(t,u,u),add:(r,a)=>e.add(r,a),close:r=>e.close(r),remove:r=>e.remove(r),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class Gh{subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n=Math.random().toString(36),r={...u,content:t,key:n,timer:u.timeout?new $A(()=>this.close(n),u.timeout):void 0},a=0,i=this.queue.length;for(;a<i;){let s=Math.floor((a+i)/2);(r.priority||0)>(this.queue[s].priority||0)?i=s:a=s+1}this.queue.splice(a,0,r),r.animation=a<this.maxVisibleToasts?"entering":"queued";let l=this.maxVisibleToasts;for(;l<this.queue.length;)this.queue[l++].animation="queued";return this.updateVisibleToasts({action:"add"}),n}close(t){let u=this.queue.findIndex(a=>a.key===t);if(u>=0){var n,r;(n=(r=this.queue[u]).onClose)===null||n===void 0||n.call(r),this.queue.splice(u,1)}this.updateVisibleToasts({action:"close",key:t})}remove(t){this.updateVisibleToasts({action:"remove",key:t})}updateVisibleToasts(t){let{action:u,key:n}=t,r=this.queue.slice(0,this.maxVisibleToasts);if(u==="add"&&this.hasExitAnimation){let a=this.visibleToasts.filter(i=>!r.some(l=>i.key===l.key)).map(i=>({...i,animation:"exiting"}));this.visibleToasts=a.concat(r).sort((i,l)=>{var s,d;return((s=l.priority)!==null&&s!==void 0?s:0)-((d=i.priority)!==null&&d!==void 0?d:0)})}else u==="close"&&this.hasExitAnimation?this.visibleToasts=this.visibleToasts.map(a=>a.key!==n?a:{...a,animation:"exiting"}):this.visibleToasts=r;for(let a of this.subscriptions)a()}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var u;this.maxVisibleToasts=(u=t==null?void 0:t.maxVisibleToasts)!==null&&u!==void 0?u:1;var n;this.hasExitAnimation=(n=t==null?void 0:t.hasExitAnimation)!==null&&n!==void 0?n:!1}}class $A{reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(t,u){this.startTime=null,this.remaining=u,this.callback=t}}const gA='"../theme/tokens.css"',DA='"Inter", sans-serif',yA="#d5f2d9",vA="#008d3c",xA="#eaf2f6",CA="#0066cc",EA="#fff8e1",BA="#f1c21b",kA="#ffdfdf",PA="#e62323",SA="#1f1f1f",AA="0 0 0 2px #ffffff, 0 0 0 4px #000000",wA="(min-width: 768px)",FA="_toastRegion_i4o11_52",TA="_toast_i4o11_52",RA="_success_i4o11_96",IA="_info_i4o11_104",KA="_important_i4o11_112",MA="_warning_i4o11_120",zA="_icon_i4o11_128",VA="_toastContent_i4o11_138",NA="_toastMessage_i4o11_145",LA="_slideInTop_i4o11_1",jA="_slideInEnd_i4o11_1",_A="_slideOutTop_i4o11_1",OA="_slideOutEnd_i4o11_1",Lu={tokens:gA,display:DA,signalGreen10:yA,signalGreen100:vA,signalBlue10:xA,signalBlue100:CA,signalYellow10:EA,signalYellow100:BA,signalRed10:kA,signalRed100:PA,gray150:SA,focus:AA,mdBreakpoint:wA,toastRegion:FA,toast:TA,success:RA,info:IA,important:KA,warning:MA,icon:zA,toastContent:VA,toastMessage:NA,slideInTop:LA,slideInEnd:jA,slideOutTop:_A,slideOutEnd:OA},HA={success:q5,info:Y5,important:Z5,warning:J5},Zh=new Gh({maxVisibleToasts:5,hasExitAnimation:!0}),UA=e=>{const t=Wh(Zh);return t.visibleToasts.length>0?au.createPortal(g.jsx(jl,{...e,state:t}),document.body):null},WA=({children:e,...t})=>{const u=hA({maxVisibleToasts:5,hasExitAnimation:!0});return g.jsxs(g.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&g.jsx(jl,{...t,state:u})]})};function jl({state:e,...t}){const u=o.useRef(null),{regionProps:n}=bA(t,e,u);return g.jsx("div",{...n,ref:u,className:Lu.toastRegion,children:e.visibleToasts.map(r=>g.jsx(qh,{toast:r,state:e},r.key))})}function qh({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=sA(t,e),l=HA[t.toast.content.type];return g.jsxs("div",{...n,ref:u,className:W(Lu.toast,Lu[t.toast.content.type]),"data-animation":t.toast.animation,onAnimationEnd:()=>{t.toast.animation==="exiting"&&e.remove(t.toast.key)},children:[g.jsxs("div",{className:Lu.toastContent,...r,children:[g.jsx(l,{className:Lu.icon,size:20,"aria-hidden":!0}),g.jsxs("div",{children:[g.jsx("p",{className:Lu.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),g.jsx(ze,{variant:"icon",...i,children:g.jsx(Tu,{size:20,"aria-hidden":!0})})]})}exports.Accordion=a7;exports.AccordionItem=Q7;exports.Breadcrumbs=DC;exports.Button=ze;exports.ButtonGroup=z7;exports.Card=MC;exports.Cell=Ii;exports.Checkbox=Gn;exports.CheckboxGroup=R9;exports.Column=Ri;exports.ComboBox=X9;exports.ComboBoxItem=e8;exports.DatePicker=y8;exports.DateRangePicker=D8;exports.Dropdown=eh;exports.DropdownItem=th;exports.FileUpload=L8;exports.Flex=q8;exports.FlexItem=uh;exports.GlobalToastRegion=UA;exports.Grid=rE;exports.GridItem=aE;exports.Header=oh;exports.InfoBanner=AE;exports.InputWrapper=pt;exports.Item=tS;exports.Layout=Jt;exports.Link=Vl;exports.LinkButton=gk;exports.Logo=lh;exports.Modal=Pk;exports.MultiSelect=uP;exports.Radio=BP;exports.RadioGroup=EP;exports.RouterProvider=gs;exports.Row=FS;exports.SearchField=NP;exports.Select=eS;exports.Sidebar=ih;exports.SidebarLink=Nl;exports.Skeleton=aS;exports.Spinner=mS;exports.Table=AS;exports.TableBody=zx;exports.TableHeader=wS;exports.Tabs=OS;exports.Tag=dh;exports.TagGroup=sh;exports.TextArea=lA;exports.TextField=w9;exports.Toast=qh;exports.ToastProvider=WA;exports.ToastRegion=jl;exports.Tooltip=nh;exports.TooltipTrigger=rh;exports.ssnRegEx=Q5;exports.toastQueue=Zh;