@midas-ds/components 3.1.0 → 5.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/accordion/Accordion.d.ts +1 -0
  3. package/button/Button.d.ts +1 -0
  4. package/calendar/Calendar.d.ts +6 -0
  5. package/calendar/RangeCalendar.d.ts +6 -0
  6. package/calendar/index.d.ts +2 -0
  7. package/card/Card.d.ts +1 -0
  8. package/date-field/DateField.d.ts +8 -0
  9. package/date-field/index.d.ts +1 -0
  10. package/global.css +1 -1
  11. package/heading/Heading.d.ts +14 -0
  12. package/heading/index.d.ts +1 -0
  13. package/index.cjs +33 -28
  14. package/index.css +1 -1
  15. package/index.d.ts +6 -1
  16. package/index.js +8790 -8769
  17. package/label/Label.d.ts +10 -0
  18. package/label/index.d.ts +1 -0
  19. package/logo/Logo.d.ts +0 -2
  20. package/modal/Dialog.d.ts +18 -0
  21. package/modal/index.d.ts +1 -1
  22. package/package.json +1 -1
  23. package/progress-bar/ProgressBar.d.ts +19 -0
  24. package/progress-bar/index.d.ts +1 -0
  25. package/select/HiddenMultiSelect.d.ts +47 -0
  26. package/select/Select.d.ts +73 -10
  27. package/select/SelectListBox.d.ts +9 -0
  28. package/select/SelectPopover.d.ts +10 -0
  29. package/select/useMultiSelect.d.ts +21 -0
  30. package/select/useMultiSelectListState.d.ts +15 -0
  31. package/select/useMultiSelectState.d.ts +25 -0
  32. package/table/Table.d.ts +1 -0
  33. package/text/Text.d.ts +14 -0
  34. package/text/index.d.ts +1 -0
  35. package/textfield/TextField.d.ts +1 -0
  36. package/theme/index.d.ts +163 -102
  37. package/theme/tokens.d.ts +163 -102
  38. package/theme.cjs +1 -1
  39. package/theme.js +11 -18
  40. package/tokens-Ce2Sj8HD.js +240 -0
  41. package/tokens-DZsQgihc.cjs +1 -0
  42. package/utils/useObserveElement.d.ts +4 -0
  43. package/modal/Modal.d.ts +0 -13
  44. package/multi-select/MultiSelect.d.ts +0 -28
  45. package/multi-select/index.d.ts +0 -1
  46. package/tokens-BskyMDHv.cjs +0 -1
  47. package/tokens-CjXmpXTi.js +0 -160
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"),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 Lr=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:j$,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 j$(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 L$(){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(L$()){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 ji(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 Le(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=Le(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 Li(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={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const h=require("react/jsx-runtime"),o=require("react"),nu=require("react-dom"),y2=require("./tokens-DZsQgihc.cjs");function x2(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 ne=x2(o),C2='"../theme/tokens.css"',E2="_root_78trp_4",B2="_contained_78trp_12",k2="_triggerText_78trp_29",P2="_trigger_78trp_29",S2="_icon_78trp_54",A2="_item_78trp_82",F2="_panel_78trp_87",w2="_panel0_78trp_87",T2="_content_78trp_97",R2="_header_78trp_101",Je={tokens:C2,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--layer-selected-01":"light-dark(#d9d9d9, #383838)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--normal-transition":"300ms","--text-primary":"light-dark(#171717, #f2f2f2)",root:E2,contained:B2,triggerText:k2,trigger:P2,icon:S2,item:A2,panel:F2,panel0:w2,content:T2,header:R2};function Bs(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=Bs(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function H(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=Bs(e))&&(n&&(n+=" "),n+=t);return n}const _i=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const Gr=o.createContext({}),Y=typeof document<"u"?o.useLayoutEffect:()=>{};function ie(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 I2(e){let[t,u]=o.useState(e),n=o.useRef(null),r=ie(()=>{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=ie(i=>{n.current=i(t),r()});return[t,a]}const vr={prefix:String(Math.round(Math.random()*1e10)),current:0},ks=o.createContext(vr),K2=o.createContext(!1);let M2=!!(typeof window<"u"&&window.document&&window.document.createElement),Ea=new WeakMap;function z2(e=!1){let t=o.useContext(ks),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=Ea.get(a);i==null?Ea.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ea.delete(a))}u.current=++t.current}return u.current}function V2(e){let t=o.useContext(ks);t===vr&&!M2&&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=z2(!!e),n=t===vr&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function N2(e){let t=o.useId(),[u]=o.useState(Vt()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${vr.prefix}`;return e||`${n}-${t}`}const _2=typeof o.useId=="function"?N2:V2;function j2(){return!1}function L2(){return!0}function O2(e){return()=>{}}function Vt(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(O2,j2,L2):o.useContext(K2)}let H2=!!(typeof window<"u"&&window.document&&window.document.createElement),Ut=new Map;function re(e){let[t,u]=o.useState(e),n=o.useRef(null),r=_2(t),a=o.useCallback(i=>{n.current=i},[]);return H2&&(Ut.has(r)&&!Ut.get(r).includes(a)?Ut.set(r,[...Ut.get(r),a]):Ut.set(r,[a])),Y(()=>{let i=r;return()=>{Ut.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;i&&(n.current=null,u(i))}),r}function U2(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 nt(e=[]){let t=re(),[u,n]=I2(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 rt(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const me=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},tt=e=>e&&"window"in e&&e.window===e?e:me(e).defaultView||window;function V(...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]=rt(a,i):(r==="className"||r==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[r]=H(a,i):r==="id"&&a&&i?t.id=U2(a,i):t[r]=i!==void 0?i:a}}return t}function Bu(...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 W2=new Set(["id"]),Z2=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),q2=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),G2=/^(data-.*)$/;function O(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(W2.has(i)||u&&Z2.has(i)||n&&q2.has(i)||r!=null&&r.has(i)||G2.test(i))&&(a[i]=e[i]);return a}function Le(e){if(Y2())e.focus({preventScroll:!0});else{let t=J2(e);e.focus(),Q2(t)}}let Xn=null;function Y2(){if(Xn==null){Xn=!1;try{document.createElement("div").focus({get preventScroll(){return Xn=!0,!0}})}catch{}}return Xn}function J2(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 Q2(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function Yr(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 ji(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Nt(e){let t=null;return()=>(t==null&&(t=e()),t)}const mt=Nt(function(){return ji(/^Mac/i)}),X2=Nt(function(){return ji(/^iPhone/i)}),Li=Nt(function(){return ji(/^iPad/i)||mt()&&navigator.maxTouchPoints>1}),zn=Nt(function(){return X2()||Li()}),br=Nt(function(){return mt()||zn()}),Oi=Nt(function(){return Yr(/AppleWebKit/i)&&!Ps()}),Ps=Nt(function(){return Yr(/Chrome/i)}),xn=Nt(function(){return Yr(/Android/i)}),e$=Nt(function(){return Yr(/Firefox/i)}),Ss=o.createContext({isNative:!0,open:t$,useHref:e=>e});function As(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{ws(a,d=>{Fs(d,i)?u(l,s):Qt(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement(Ss.Provider,{value:r},t)}function ku(){return o.useContext(Ss)}function Fs(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;e$()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(mt()?a=!0:i=!0);let d=Oi()&&mt()&&!Li()?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,Le(e),e.dispatchEvent(d),Qt.isOpening=!1}Qt.isOpening=!1;function ws(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 t$(e,t){ws(e,u=>Qt(u,t))}function Hi(e){let t=ku();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 Jr(e){let t=ku();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 Mu=new Map,ui=new Set;function ql(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=Mu.get(n.target);r||(r=new Set,Mu.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=Mu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),Mu.delete(n.target)),Mu.size===0)){for(let a of ui)a();ui.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?ql():document.addEventListener("DOMContentLoaded",ql));function Ts(e){requestAnimationFrame(()=>{Mu.size===0?e():ui.add(e)})}function Ui(){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 bt(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=re(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 De(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 yr(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 Gl(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 u$(){return typeof window.ResizeObserver<"u"}function Gu(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(u$()){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 Wi(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 n$(e,t){const u=[];for(;e&&e!==document.documentElement;)Cn(e,t)&&u.push(e),e=e.parentElement;return u}let r$=0;const Ba=new Map;function $t(e){let[t,u]=o.useState();return Y(()=>{if(!e)return;let n=Ba.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${r$++}`;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},Ba.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Ba.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function lt(e,t,u,n){let r=ie(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 Rs(e,t){let u=Yl(e,t,"left"),n=Yl(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),$=l+parseInt(s,10),g=b+e.clientWidth,v=$+e.clientHeight,x=parseInt(c,10)||0,y=parseInt(p,10)||0,E=parseInt(f,10)||0,B=parseInt(m,10)||0;u<=i+B?i=u-parseInt(d,10)-B:u+r>g-E&&(i+=u+r-g+E),n<=$+x?l=n-parseInt(s,10)-x:n+a>v-y&&(l+=n+a-v+y),e.scrollLeft=i,e.scrollTop=l}function Yl(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=n$(e);for(let d of s)Rs(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 ni(e){return e.mozInputSource===0&&e.isTrusted?!0:xn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function a$(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 Is(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function Vn(e,t,u){let n=o.useRef(t),r=ie(()=>{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 i$="react-aria-clear-focus",l$="react-aria-focus",Ks="react-aria-update-activedescendant";function zu(e){return mt()?e.metaKey:e.ctrlKey}function Ms(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]),Vs(e,r,o.useCallback(()=>n(!1),[])),r}function zs(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 Vs(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function Vs(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||nu.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 $=d(i?l:m,...b);return f($,...c),i?m:$})):(i||r(d),f(d,...c))},[i,l,u]);return[l,s]}function En(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const yu=Symbol("default");function se({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function U(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 Oe(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[yu])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let r=t||yu;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=Oe(u,e.slot)||{},{ref:r,...a}=n,i=De(o.useMemo(()=>Bu(t,r),[t,r])),l=V(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 ot(){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 Kt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class Bn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new Bn(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 Qr{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 Qr,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 Ns{*[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 kn extends Ns{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof kn?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 kn?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 Bn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class o$ extends Ns{get isConnected(){return this.isMounted}createElement(t){return new kn(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 kn&&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 Zi(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 xr=o.createContext(!1),s$=typeof DocumentFragment<"u"?new DocumentFragment:null;function d$(e){let t=o.useContext(xr),u=Vt();if(t)return o.createElement(o.Fragment,null,e.children);let n=o.createElement(xr.Provider,{value:!0},e.children);return u?o.createElement("template",{"data-react-aria-hidden":!0},n):nu.createPortal(n,s$)}function Xr(e){let t=(u,n)=>o.useContext(xr)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function c$(){return o.useContext(xr)}var ri={exports:{}},ka={};/**
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 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={};/**
9
+ */var Jl;function f$(){if(Jl)return ka;Jl=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}}),$=b[0].inst,g=b[1];return a(function(){$.value=m,$.getSnapshot=p,s($)&&g({inst:$})},[f,m,p]),r(function(){return s($)&&g({inst:$}),f(function(){s($)&&g({inst:$})})},[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 ka.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,ka}var Pa={};/**
10
10
  * @license React
11
11
  * use-sync-external-store-shim.development.js
12
12
  *
@@ -14,125 +14,130 @@
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 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 jt(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 Li({...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 Lt=o.createContext({}),Ts=Wr(function(t,u){[t,u]=Y(t,u,Lt);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})});let Lu="default",Xa="",fr=new WeakMap;function Zl(e){if(Kn()){if(Lu==="default"){const t=fe(e);Xa=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Lu="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(fr.set(e,e.style.userSelect),e.style.userSelect="none")}function qn(e){if(Kn()){if(Lu!=="disabled")return;Lu="restoring",setTimeout(()=>{vs(()=>{if(Lu==="restoring"){const t=fe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Xa||""),Xa="",Lu="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 ji(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 ji(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",()=>{js(e)},{once:!0}),hn.set(t,{focus:n})}const js=(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)),()=>js(e,u)}typeof document<"u"&&$g();function eu(){return Mt!=="pointer"}function tu(){return Mt}function Ls(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)||{};ji(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 jg=Symbol.for("react-aria.i18n.locale");function wd(){let e=typeof window<"u"&&window[jg]||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 Lg(){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=Lg();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]:r2(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 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 Cr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function Xg(e){return Eu(e.subtract({months:e.month-1}))}function e2(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function t2(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 u2(e,t,u){return Pn(e,t,u).add({days:6})}const so=new Map;function n2(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 r2(e){let t=n2(e);return t&&qg[t]||0}function a2(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 i2(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>l2(e,t,a))}function l2(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=i2(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 je(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 o2(e,t,u){if(e instanceof An)return e.timeZone===t?e:d2(e,t);let n=wt(e,t,u);return Tt(n,t)}function s2(e){let t=Ju(e)-e.offset;return new Date(t)}function d2(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),jd(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,c2(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 c2(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 jd(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)),jd(e)}function tl(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function Ld(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 f2(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,f2(e)}function Hd(e,t){let u=e.copy();return Od(u,t),u}function p2(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 m2(e,t){return Ud(e,tl(t))}function b2(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 h2(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 $2(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 g2(e){return`${Zd(e)}${$2(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 D2=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 Ld(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,D2,{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 y2=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 p2(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,y2,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,_d(this)}}var v2=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 Ld(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,v2,{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 x2=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 m2(this,t)}set(t,u){return h2(this,t,u)}cycle(t,u,n){return b2(this,t,u,n)}toDate(){return s2(this)}toString(){return g2(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-o2(t,this.timeZone).toDate().getTime()}constructor(...t){zn(this,x2,{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]],C2=[[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 E2 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=C2[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 B2 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 k2 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 P2{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 S2 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,A2=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 w2 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 F2="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let di,Gu;function mr(e){return A2+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 T2 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(F2),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,R2=29,I2=12*Qd+793,K2=R2*Xd+I2;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 M2(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)+M2(e)}function ec(e){return $n(e+1)-$n(e)}function z2(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=z2(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?$u(e)?30:0:30}class V2{fromJulianDay(t){let u=t-Bo,n=u*Xd/K2,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 N2 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 j2 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 B2;case"ethiopic":return new sl;case"ethioaa":return new N2;case"coptic":return new j2;case"hebrew":return new V2;case"indian":return new S2;case"islamic-civil":return new ll;case"islamic-tbla":return new w2;case"islamic-umalqura":return new T2;case"japanese":return new E2;case"persian":return new P2;case"roc":return new k2;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 O2()&&(this.resolvedHourCycle||(this.resolvedHourCycle=H2(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 L2={true:{ja:"h11"},false:{}};function nc(e,t={}){if(typeof t.hour12=="boolean"&&_2()){t={...t};let r=L2[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 _2(){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 O2(){return wa==null&&(wa=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),wa}function H2(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??{},U2);let{locale:t}=pe();return o.useMemo(()=>new nt(t,e),[t,e])}function U2(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 W2{format(t){let u="";if(!pi&&this.options.signDisplay!=null?u=Z2(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=G2(t,u),this.options=u}}function G2(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 Z2(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 q2=new RegExp("^.*\\(.*\\).*$"),Y2=["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 Y2)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 J2(e,t),Po.set(u,n)),n}class J2{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 W2(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&q2.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=X2(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"]),Q2=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function X2(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=Q2.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 eD(e){return e&&e.__esModule?e.default:e}function tD(e){let{"aria-label":t,...u}=e,n=be(eD(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 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 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 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":jc,"zh-TW":Lc};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 uD(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=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(jn),"@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 rD,(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 nD(e){Qe&&Qe.clear(e)}class rD{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 aD(e){return e&&e.__esModule?e.default:e}function Hc(e,t){let u=be(aD(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);$r(()=>{t.isFocused||$t(a)},[a]);let i=uD(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 iD(e,t){return Hc(e,t)}function lD(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 oD(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 sD(e){return e&&e.__esModule?e.default:e}function dD(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=cl.get(t),l=be(sD(jn),"@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:[]},cD=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 fD(e)}function fD(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=pD(i,r);return Fo(A)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(cD),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 pD(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 Ln(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(bD(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&&hD(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),Ls("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 mD(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 bD(e){return{isInvalid:!e.validity.valid,validationDetails:mD(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function hD(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function $D(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}=$D({...e,isInvalid:r},t,u);Ln(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 gD(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 DD(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),Ln(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 yD(e){return e&&e.__esModule?e.default:e}function vD(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(yD(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&&(nD("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 j4={};j4={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 L4={};L4={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":j4,"fr-FR":L4,"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"},xD={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 CD(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 ED(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=xD[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 BD(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 kD(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=BD(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),L=u[y]-K-b/2-h,j=t[E]+b/2-(S[E]+r[bt[E]]),U=t[E]+t[y]-b/2-(S[E]+r[bt[E]]),Q=Ya(x,j,U);return z[E]=Ya(Q,w,L),{position:S,maxHeight:k,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:D.placement}}function PD(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?SD(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=ED(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 $=CD(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),kD(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 SD(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 AD(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=PD({placement:FD(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(),L=P[A.type]-K[A.type];a.current.scrollTop+=L-A.offset}E(I)}},y);q(B,y),wD(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]);AD({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 wD(e){q(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function FD(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Pt=[];function TD(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,RD=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let nr=0,za;function ID(e={}){let{isDisabled:t}=e;q(()=>{if(!t)return nr++,nr===1&&(Kn()?za=MD():za=KD()),()=>{nr--,nr===0&&za()}},[t])}function KD(){return at(_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"))}function MD(){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;zD(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 zD(e){return e instanceof HTMLInputElement&&!RD.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const gi=o.createContext(null);function VD(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 ND(){let e=o.useContext(gi);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function jD(e){let{modalProviderProps:t}=ND();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function LD(e){return o.createElement(VD,null,o.createElement(jD,e))}function _D(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(LD,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 j3={};j3={dismiss:"Revocare"};var L3={};L3={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":j3,"ru-RU":L3,"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 OD(e){return e&&e.__esModule?e.default:e}function jo(e){let{onDismiss:t,...u}=e,n=be(OD(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 HD(e,t){let{triggerRef:u,popoverRef:n,isNonModal:r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=TD({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 ID({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 UD=o.createContext({});function WD(){var e;return(e=o.useContext(UD))!==null&&e!==void 0?e:{}}const Q3=o.createContext(null);function GD(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}=WD();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 ZD(){let e=o.useContext(Q3),t=e==null?void 0:e.setContain;q(()=>{t==null||t(!0)},[t])}const Xr=new WeakMap;function qD(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-${qD(t)}`}function Di(e){return cr()?e.altKey:e.ctrlKey}const YD=1e3;function ef(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=JD(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=""},YD)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function JD(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,L,j;let M=t.focusedKey!=null?(K=u.getKeyAbove)===null||K===void 0?void 0:K.call(u,t.focusedKey):(L=u.getLastKey)===null||L===void 0?void 0:L.call(u);M==null&&a&&(M=(j=u.getLastKey)===null||j===void 0?void 0:j.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=L=>{L!=null&&(t.setFocusedKey(L),s&&t.replaceSelection(L))},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 L=new CustomEvent(Es,{cancelable:!0,bubbles:!0});(K=r.current)===null||K===void 0||K.dispatchEvent(L)}},[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"&&!Lo())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&&Lo()||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 Lo(){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 QD(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 XD{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 XD,[]),{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(),L=rt(),j={id:n,"aria-disabled":T||void 0,role:I,"aria-label":e["aria-label"],"aria-labelledby":P,"aria-describedby":[K,L].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!S&&(j["aria-checked"]=k),i&&(j["aria-posinset"]=x==null?void 0:x.index,j["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:{...j,...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:L},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}},L=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var j;let U=(j=L==null?void 0:L.parentKey)!==null&&j!==void 0?j: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()&&L!=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:L["aria-label"]||L.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":L?X3(t,L.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 jf={};jf={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 Lf={};Lf={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":jf,"da-DK":Lf,"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),Ln({...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}=vD({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(j=>{let U=P.set({year:1,month:1,day:1,era:j}).toDate("UTC"),X=S.formatToParts(U).find(me=>me.type==="era").value;return{era:j,formatted:X}}),L=$6(K.map(j=>j.formatted));if(L)for(let j of K)j.formatted=j.formatted.slice(L);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 L=R.find(j=>E(j.formatted,P));L&&(t.setSegment("era",L.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!h.isValidPartialNumber(K))return;let L=h.parse(K),j=L,U=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":L>11&&(j=h.parse(P));break;case"h12":U=!1,L>12&&(j=h.parse(P));break}e.value!==void 0&&e.value>=12&&L>1&&(L+=12)}else e.maxValue!==void 0&&L>e.maxValue&&(j=h.parse(P));if(isNaN(L))return;let Q=j!==0||U;Q&&t.setSegment(e.type,j),e.maxValue!==void 0&&(+(L+"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:L}=P;switch(K){case"insertCompositionText":u.current&&(u.current.textContent=k.current),L!=null&&(E(C,L)||E(B,L))&&$(L);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]),ZD(),{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"},ja=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 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)=>`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 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)=>`${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":jp,"ko-KR":Lp,"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=La(C),R=S[0];if(typeof e.getDropOperation=="function"){let $=new rr(y.dataTransfer);R=ar(C,e.getDropOperation($,S))}a.dropEffect=ja[R]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new rr(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$=ar(C,e.getDropOperationForPoint(S,La(C),a.x-R.x,a.y-R.y));a.dropEffect=ja[$]||"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=La(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=ja[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 La(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 j6(t.layout):new yi(t.ref)),this.focusMode=t.focusMode||"row"}}class j6{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 j0={};j0={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":j0};function L6(e){return e&&e.__esModule?e.default:e}function L0(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(L6(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),L0({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),L0({},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 L=(S=(R=t.collection).getChildren)===null||S===void 0?void 0:S.call(R,K.key);P=It(L).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 L=es(I);L&&(xe(L),Ke(L,{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 L=es(I);L&&(xe(L),Ke(L,{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),Ln({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(),Ls("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),Ln({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 j1={};j1={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 L1={};L1={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":j1,"fi-FI":L1,"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 jm={};jm={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Lm={};Lm={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":jm,"sk-SK":Lm,"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(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 Ht(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 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(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?Ht(he(je(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),y=o.useMemo(()=>Ht(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 j={...a};return j.days?j.days--:j.days=-1,S.add(j)},[S,a]),[k,z]=o.useState(p.identifier);if(p.identifier!==k){let j=he(C,p);R(Ei(j,a,n,i,l)),B(j),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(j){j=Ht(j,i,l),B(j)}function w(j){if(!e.isDisabled&&!e.isReadOnly){let U=j;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,L;return{isDisabled:(K=e.isDisabled)!==null&&K!==void 0?K:!1,isReadOnly:(L=e.isReadOnly)!==null&&L!==void 0?L:!1,value:D,setValue:w,visibleRange:{start:S,end:A},minValue:i,maxValue:l,focusedDate:C,timeZone:v,validationState:I,isValueInvalid:F,setFocusedDate(j){x(j),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 j=S.add(P);B(Ht(C.add(P),i,l)),R(yu(Tn(C,j,P,n,i,l),P,n))},focusPreviousPage(){let j=S.subtract(P);B(Ht(C.subtract(P),i,l)),R(yu(Tn(C,j,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(u2(C,n)):(a.months||a.years)&&x(Cr(C))},focusNextSection(j){if(!j&&!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(j){if(!j&&!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(j){w(j)},isFocused:$,setFocused:T,isInvalid(j){return qu(j,i,l)},isSelected(j){return D!=null&&ke(j,D)&&!this.isCellDisabled(j)&&!this.isCellUnavailable(j)},isCellFocused(j){return $&&C&&ke(j,C)},isCellDisabled(j){return e.isDisabled||j.compare(S)<0||j.compare(A)>0||this.isInvalid(j)},isCellUnavailable(j){return e.isDateUnavailable?e.isDateUnavailable(j):!1},isPreviousVisibleRangeInvalid(){let j=S.subtract({days:1});return ke(j,S)||this.isInvalid(j)},isNextVisibleRangeInvalid(){let j=A.add({days:1});return ke(j,A)||this.isInvalid(j)},getDatesInWeek(j,U=S){let Q=U.add({weeks:j}),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(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=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 L=Ua(p,K);L&&f({start:us(L.start,c==null?void 0:c.start),end:us(L.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 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(),j())};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),L(ue))},K=o.useCallback(()=>{x(l?A:k)},[l,A,k]),L=o.useCallback((ue=null)=>{F.isOpen&&K(),p(ue),F.toggle()},[F,K]),j=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&&j(),v!=null&&v!==se.current&&j(),$!==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),j()},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),j()}else X(),j()};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"?je(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(je(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},jy={dayperiod:"dayPeriod"};function Ly(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]),L=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:jy[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 j=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{j(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:L,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){j(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:e2(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:t2(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(je(F.start)):yt(F.start,I.start),end:"timeZone"in I.end?I.end.set(je(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"),L="timeZone"in s.end?s.end.timeZone:void 0,j=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(L||"UTC"),me=new nt(F,U),ie;if(P===L&&K===j&&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:j,timeZone:L,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 jb(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})}),Lb=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,Lb);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}=Le(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:[[Lt,{...b,ref:c}],[Rn,{...N(h,s),ref:y}],[Lb,{...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 Li({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}=tD(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=jt("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Le(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}=iD(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}=lD(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=Le(zr),i=Le(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}=oD({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=a2(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}=dD({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}=Le(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}=gD({...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],[Lt,{...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,Lr);let{validationBehavior:a}=Le(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?DD({...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}=QD({...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=jt("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}=HD({...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(GD,{...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(jo,{onDismiss:e.close}),o.createElement(Sl.Provider,{value:{...c,placement:f,ref:r}},b.children),o.createElement(jo,{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),jv=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(Lv,{props:t,collection:n,menuRef:u}))});function Lv({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=jt("item",function(t,u,n){var r;[t,u]=Y(t,u,Ai);let a=(r=Le(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}=Le(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,L=I?Math.max(I.right,P.right):P.right;A(L-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],[Lt,{...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=Ly({...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}=Le(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}],[Lt,{...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}=Le(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}],[Lt,{...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}),L=n.dropTargetDelegate||d||new n.ListDropTargetDelegate(t,u,{layout:a,direction:b});$=n.useDroppableCollection({keyboardDelegate:K,dropTargetDelegate:L},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=jt("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:[[Lr,{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}=Le(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],[Lt,{...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}=Le(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],[j5,h],[Lt,{...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 j5=o.createContext(null),Px=o.forwardRef(function(t,u){var n,r;[t,u]=Y(t,u,j5);let a=o.useContext(N5),{placeholder:i}=Le(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),L5=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],[L5,x],[Ue,{dragAndDropHooks:c,dragState:v,dropState:E}],[da,{render:jx}]]},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=Li({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:[[Lr,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const Kx=jt("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(L5),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:[[Lr,{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=jt("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 jx(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 Lx(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(Lx);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})))}jt("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"}=Le(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=jt("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:[[Lt,{...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=jt("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=jb(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=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(_D,{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_ujxfi_4",B7="_primary_ujxfi_41",k7="_secondary_ujxfi_47",P7="_tertiary_ujxfi_71",S7="_iconBtn_ujxfi_93",A7="_danger_ujxfi_114",w7="_iconRight_ujxfi_136",F7="_fullwidth_ujxfi_140",T7="_small_ujxfi_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});/**
17
+ */var Ql;function p$(){return Ql||(Ql=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 $=b();if(!f){var g=b();a($,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}g=i({inst:{value:$,getSnapshot:b}});var v=g[0].inst,x=g[1];return s(function(){v.value=$,v.getSnapshot=b,u(v)&&x({inst:v})},[m,$,b]),l(function(){return u(v)&&x({inst:v}),m(function(){u(v)&&x({inst:v})})},[m]),d($),$}function u(m){var b=m.getSnapshot;m=m.value;try{var $=b();return!a(m,$)}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;Pa.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())}()),Pa}process.env.NODE_ENV==="production"?ri.exports=f$():ri.exports=p$();var qi=ri.exports;const _s=o.createContext(!1),Pn=o.createContext(null);function Pu(e){if(o.useContext(Pn))return e.content;let{collection:u,document:n}=$$(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(d$,null,o.createElement(Pn.Provider,{value:n},e.content)),o.createElement(m$,{render:e.children,collection:u}))}function m$({collection:e,render:t}){return t(e)}function b$(e,t,u){let n=Vt(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return qi.useSyncExternalStore(e,a)}const h$=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:b$;function $$(e){let[t]=o.useState(()=>new o$((e==null?void 0:e())||new Qr)),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=h$(u,n,r);return Y(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const ai=o.createContext(null);function js(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(ai);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(ai.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function ru(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{if(!o.useContext(_s)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return js(e,r,a,"children"in r?r.children:null,null,l=>o.createElement(u,{node:l}))});return n.displayName=t.name,n}function Gi(e,t,u=Ls){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=js(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 Ls(e){return Zi({...e,addIdAndValue:!0})}const Xl=o.createContext(null);function gt(e){let t=o.useContext(Xl),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=Ls({...e,idScope:n,dependencies:u});return o.useContext(Pn)&&(r=o.createElement(g$,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(Xl.Provider,{value:t},r)}function g$({children:e}){let t=o.useContext(Pn),u=o.useMemo(()=>o.createElement(Pn.Provider,{value:null},o.createElement(_s.Provider,{value:!0},e)),[e]);return Vt()?o.createElement(ai.Provider,{value:t},u):nu.createPortal(u,t)}const Dt=o.createContext({}),Xu=Xr(function(t,u){[t,u]=Q(t,u,Dt);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})});let Nu="default",ii="",hr=new WeakMap;function eo(e){if(zn()){if(Nu==="default"){const t=me(e);ii=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Nu="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(hr.set(e,e.style.userSelect),e.style.userSelect="none")}function er(e){if(zn()){if(Nu!=="disabled")return;Nu="restoring",setTimeout(()=>{Ts(()=>{if(Nu==="restoring"){const t=me(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ii||""),ii="",Nu="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&hr.has(e)){let t=hr.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),hr.delete(e)}}const Sn=o.createContext({register:()=>{}});Sn.displayName="PressResponderContext";function D$(e,t){return t.get?t.get.call(e):t.value}function Os(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function v$(e,t){var u=Os(e,t,"get");return D$(e,u)}function y$(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Nn(e,t,u){y$(e,t),t.set(e,u)}function x$(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 to(e,t,u){var n=Os(e,t,"set");return x$(e,n,u),u}function C$(e){let t=o.useContext(Sn);if(t){let{register:u,...n}=t;e=V(n,e),u()}return Wi(t,e.ref),e}var tr=new WeakMap;class ur{continuePropagation(){to(this,tr,!1)}get shouldStopPropagation(){return v$(this,tr)}constructor(t,u,n,r){Nn(this,tr,{writable:!0,value:void 0}),to(this,tr,!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 uo=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}=C$(e),[m,b]=o.useState(!1),$=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:g,removeAllGlobalListeners:v}=Ui(),x=ie((D,R)=>{let A=$.current;if(i||A.didFirePressStart)return!1;let k=!0;if(A.isTriggeringEvent=!0,n){let z=new ur("pressstart",R,D);n(z),k=z.shouldStopPropagation}return u&&u(!0),A.isTriggeringEvent=!1,A.didFirePressStart=!0,b(!0),k}),y=ie((D,R,A=!0)=>{let k=$.current;if(!k.didFirePressStart)return!1;k.ignoreClickAfterPress=!0,k.didFirePressStart=!1,k.isTriggeringEvent=!0;let z=!0;if(r){let C=new ur("pressend",R,D);r(C),z=C.shouldStopPropagation}if(u&&u(!1),b(!1),t&&A&&!i){let C=new ur("press",R,D);t(C),z&&(z=C.shouldStopPropagation)}return k.isTriggeringEvent=!1,z}),E=ie((D,R)=>{let A=$.current;if(i)return!1;if(a){A.isTriggeringEvent=!0;let k=new ur("pressup",R,D);return a(k),A.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ie(D=>{let R=$.current;R.isPressed&&R.target&&(R.isOverTarget&&R.pointerType!=null&&y(Et(R.target,D),R.pointerType,!1),R.isPressed=!1,R.isOverTarget=!1,R.activePointerId=null,R.pointerType=null,v(),c||er(R.target))}),S=ie(D=>{d&&B(D)}),I=o.useMemo(()=>{let D=$.current,R={onKeyDown(k){if(Sa(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)){var z;ro(k.target,k.key)&&k.preventDefault();let C=!0;if(!D.isPressed&&!k.repeat){D.target=k.currentTarget,D.isPressed=!0,C=x(k,"keyboard");let F=k.currentTarget,N=w=>{Sa(w,F)&&!w.repeat&&F.contains(w.target)&&D.target&&E(Et(D.target,w),"keyboard")};g(me(k.currentTarget),"keyup",rt(N,A),!0)}C&&k.stopPropagation(),k.metaKey&&mt()&&((z=D.metaKeyEvents)===null||z===void 0||z.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(D.metaKeyEvents=new Map)},onClick(k){if(!(k&&!k.currentTarget.contains(k.target))&&k&&k.button===0&&!D.isTriggeringEvent&&!Qt.isOpening){let z=!0;if(i&&k.preventDefault(),!D.ignoreClickAfterPress&&!D.ignoreEmulatedMouseEvents&&!D.isPressed&&(D.pointerType==="virtual"||ni(k.nativeEvent))){!i&&!s&&Le(k.currentTarget);let C=x(k,"virtual"),F=E(k,"virtual"),N=y(k,"virtual");z=C&&F&&N}D.ignoreEmulatedMouseEvents=!1,D.ignoreClickAfterPress=!1,z&&k.stopPropagation()}}},A=k=>{var z;if(D.isPressed&&D.target&&Sa(k,D.target)){var C;ro(k.target,k.key)&&k.preventDefault();let N=k.target;y(Et(D.target,k),"keyboard",D.target.contains(N)),v(),k.key!=="Enter"&&Yi(D.target)&&D.target.contains(N)&&!k[uo]&&(k[uo]=!0,Qt(D.target,k,!1)),D.isPressed=!1,(C=D.metaKeyEvents)===null||C===void 0||C.delete(k.key)}else if(k.key==="Meta"&&(!((z=D.metaKeyEvents)===null||z===void 0)&&z.size)){var F;let N=D.metaKeyEvents;D.metaKeyEvents=void 0;for(let w of N.values())(F=D.target)===null||F===void 0||F.dispatchEvent(new KeyboardEvent("keyup",w))}};if(typeof PointerEvent<"u"){R.onPointerDown=F=>{if(F.button!==0||!F.currentTarget.contains(F.target))return;if(a$(F.nativeEvent)){D.pointerType="virtual";return}Fa(F.currentTarget)&&F.preventDefault(),D.pointerType=F.pointerType;let N=!0;if(!D.isPressed){D.isPressed=!0,D.isOverTarget=!0,D.activePointerId=F.pointerId,D.target=F.currentTarget,!i&&!s&&Le(F.currentTarget),c||eo(D.target),N=x(F,D.pointerType);let w=F.target;"releasePointerCapture"in w&&w.releasePointerCapture(F.pointerId),g(me(F.currentTarget),"pointerup",k,!1),g(me(F.currentTarget),"pointercancel",C,!1)}N&&F.stopPropagation()},R.onMouseDown=F=>{F.currentTarget.contains(F.target)&&F.button===0&&(Fa(F.currentTarget)&&F.preventDefault(),F.stopPropagation())},R.onPointerUp=F=>{!F.currentTarget.contains(F.target)||D.pointerType==="virtual"||F.button===0&&E(F,D.pointerType||F.pointerType)},R.onPointerEnter=F=>{F.pointerId===D.activePointerId&&D.target&&!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,x(Et(D.target,F),D.pointerType))},R.onPointerLeave=F=>{F.pointerId===D.activePointerId&&D.target&&D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,y(Et(D.target,F),D.pointerType,!1),S(F))};let k=F=>{F.pointerId===D.activePointerId&&D.isPressed&&F.button===0&&D.target&&(D.target.contains(F.target)&&D.pointerType!=null?y(Et(D.target,F),D.pointerType):D.isOverTarget&&D.pointerType!=null&&y(Et(D.target,F),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,v(),c||er(D.target),"ontouchend"in D.target&&F.pointerType!=="mouse"&&g(D.target,"touchend",z,{once:!0}))},z=F=>{Hs(F.currentTarget)&&F.preventDefault()},C=F=>{B(F)};R.onDragStart=F=>{F.currentTarget.contains(F.target)&&B(F)}}else{R.onMouseDown=C=>{if(C.button!==0||!C.currentTarget.contains(C.target))return;if(Fa(C.currentTarget)&&C.preventDefault(),D.ignoreEmulatedMouseEvents){C.stopPropagation();return}D.isPressed=!0,D.isOverTarget=!0,D.target=C.currentTarget,D.pointerType=ni(C.nativeEvent)?"virtual":"mouse",!i&&!s&&Le(C.currentTarget),x(C,D.pointerType)&&C.stopPropagation(),g(me(C.currentTarget),"mouseup",k,!1)},R.onMouseEnter=C=>{if(!C.currentTarget.contains(C.target))return;let F=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!0,F=x(C,D.pointerType)),F&&C.stopPropagation()},R.onMouseLeave=C=>{if(!C.currentTarget.contains(C.target))return;let F=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!1,F=y(C,D.pointerType,!1),S(C)),F&&C.stopPropagation()},R.onMouseUp=C=>{C.currentTarget.contains(C.target)&&!D.ignoreEmulatedMouseEvents&&C.button===0&&E(C,D.pointerType||"mouse")};let k=C=>{if(C.button===0){if(D.isPressed=!1,v(),D.ignoreEmulatedMouseEvents){D.ignoreEmulatedMouseEvents=!1;return}D.target&&Aa(C,D.target)&&D.pointerType!=null?y(Et(D.target,C),D.pointerType):D.target&&D.isOverTarget&&D.pointerType!=null&&y(Et(D.target,C),D.pointerType,!1),D.isOverTarget=!1}};R.onTouchStart=C=>{if(!C.currentTarget.contains(C.target))return;let F=E$(C.nativeEvent);if(!F)return;D.activePointerId=F.identifier,D.ignoreEmulatedMouseEvents=!0,D.isOverTarget=!0,D.isPressed=!0,D.target=C.currentTarget,D.pointerType="touch",!i&&!s&&Le(C.currentTarget),c||eo(D.target),x(Ot(D.target,C),D.pointerType)&&C.stopPropagation(),g(tt(C.currentTarget),"scroll",z,!0)},R.onTouchMove=C=>{if(!C.currentTarget.contains(C.target))return;if(!D.isPressed){C.stopPropagation();return}let F=no(C.nativeEvent,D.activePointerId),N=!0;F&&Aa(F,C.currentTarget)?!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,N=x(Ot(D.target,C),D.pointerType)):D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,N=y(Ot(D.target,C),D.pointerType,!1),S(Ot(D.target,C))),N&&C.stopPropagation()},R.onTouchEnd=C=>{if(!C.currentTarget.contains(C.target))return;if(!D.isPressed){C.stopPropagation();return}let F=no(C.nativeEvent,D.activePointerId),N=!0;F&&Aa(F,C.currentTarget)&&D.pointerType!=null?(E(Ot(D.target,C),D.pointerType),N=y(Ot(D.target,C),D.pointerType)):D.isOverTarget&&D.pointerType!=null&&(N=y(Ot(D.target,C),D.pointerType,!1)),N&&C.stopPropagation(),D.isPressed=!1,D.activePointerId=null,D.isOverTarget=!1,D.ignoreEmulatedMouseEvents=!0,D.target&&!c&&er(D.target),v()},R.onTouchCancel=C=>{C.currentTarget.contains(C.target)&&(C.stopPropagation(),D.isPressed&&B(Ot(D.target,C)))};let z=C=>{D.isPressed&&C.target.contains(D.target)&&B({currentTarget:D.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};R.onDragStart=C=>{C.currentTarget.contains(C.target)&&B(C)}}return R},[g,i,s,v,c,B,S,y,x,E]);return o.useEffect(()=>()=>{var D;c||er((D=$.current.target)!==null&&D!==void 0?D:void 0)},[c]),{isPressed:l||m,pressProps:V(p,I)}}function Yi(e){return e.tagName==="A"&&e.hasAttribute("href")}function Sa(e,t){const{key:u,code:n}=e,r=t,a=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof tt(r).HTMLInputElement&&!Us(r,u)||r instanceof tt(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&Yi(r))&&u!=="Enter")}function E$(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function no(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 Et(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 B$(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 k$(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Aa(e,t){let u=t.getBoundingClientRect(),n=B$(e);return k$(u,n)}function Fa(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Hs(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Yi(e)}function ro(e,t){return e instanceof HTMLInputElement?!Us(e,t):Hs(e)}const P$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Us(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":P$.has(e.type)}const Ws=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(Sn);u=De(u||(r==null?void 0:r.ref));let a=V(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return Wi(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(Sn.Provider,{value:a},e)});function S$({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(Sn.Provider,{value:t},e)}class A${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 Zs(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=ie(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 A$("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 ea(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=Zs(a),l=o.useCallback(s=>{const d=me(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,An=new Set,gn=new Map,xu=!1,li=!1;const F$={Tab:!0,Escape:!0};function ta(e,t){for(let u of An)u(e,t)}function w$(e){return!(e.metaKey||!mt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Cr(e){xu=!0,w$(e)&&(Mt="keyboard",ta("keyboard",e))}function Xe(e){Mt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(xu=!0,ta("pointer",e))}function qs(e){ni(e)&&(xu=!0,Mt="virtual")}function Gs(e){e.target===window||e.target===document||(!xu&&!li&&(Mt="virtual",ta("virtual",e)),xu=!1,li=!1)}function Ys(){xu=!1,li=!0}function Er(e){if(typeof window>"u"||gn.get(tt(e)))return;const t=tt(e),u=me(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){xu=!0,n.apply(this,arguments)},u.addEventListener("keydown",Cr,!0),u.addEventListener("keyup",Cr,!0),u.addEventListener("click",qs,!0),t.addEventListener("focus",Gs,!0),t.addEventListener("blur",Ys,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",Xe,!0),u.addEventListener("pointermove",Xe,!0),u.addEventListener("pointerup",Xe,!0)):(u.addEventListener("mousedown",Xe,!0),u.addEventListener("mousemove",Xe,!0),u.addEventListener("mouseup",Xe,!0)),t.addEventListener("beforeunload",()=>{Js(e)},{once:!0}),gn.set(t,{focus:n})}const Js=(e,t)=>{const u=tt(e),n=me(e);t&&n.removeEventListener("DOMContentLoaded",t),gn.has(u)&&(u.HTMLElement.prototype.focus=gn.get(u).focus,n.removeEventListener("keydown",Cr,!0),n.removeEventListener("keyup",Cr,!0),n.removeEventListener("click",qs,!0),u.removeEventListener("focus",Gs,!0),u.removeEventListener("blur",Ys,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",Xe,!0),n.removeEventListener("pointermove",Xe,!0),n.removeEventListener("pointerup",Xe,!0)):(n.removeEventListener("mousedown",Xe,!0),n.removeEventListener("mousemove",Xe,!0),n.removeEventListener("mouseup",Xe,!0)),gn.delete(u))};function T$(e){const t=me(e);let u;return t.readyState!=="loading"?Er(e):(u=()=>{Er(e)},t.addEventListener("DOMContentLoaded",u)),()=>Js(e,u)}typeof document<"u"&&T$();function Xt(){return Mt!=="pointer"}function eu(){return Mt}function Qs(e){Mt=e,ta(e,null)}function Ji(){Er();let[e,t]=o.useState(Mt);return o.useEffect(()=>{let u=()=>{t(Mt)};return An.add(u),()=>{An.delete(u)}},[]),Vt()?null:e}const R$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function I$(e,t,u){var n;const r=typeof window<"u"?tt(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?tt(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?tt(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?tt(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||(u==null?void 0:u.target)instanceof r&&!R$.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&&!F$[u.key])}function K$(e,t,u){Er(),o.useEffect(()=>{let n=(r,a)=>{I$(!!(u!=null&&u.isTextInput),r,a)&&e(Xt())};return An.add(n),()=>{An.delete(n)}},t)}function st(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=Zs(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 Br=!1,wa=0;function oi(){Br=!0,setTimeout(()=>{Br=!1},50)}function ao(e){e.pointerType==="touch"&&oi()}function M$(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",ao):document.addEventListener("touchend",oi),wa++,()=>{wa--,!(wa>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",ao):document.removeEventListener("touchend",oi))}}function ve(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(M$,[]);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 $=m.currentTarget;l.target=$,t&&t({type:"hoverstart",target:$,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 $=m.currentTarget;n&&n({type:"hoverend",target:$,pointerType:b}),u&&u(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{Br&&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&&!Br&&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 z$(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ie(s=>{u&&nr(s,t)&&(r&&r(s),a.current.isPointerDown=!0)}),l=ie(s=>{u&&u(s)});o.useEffect(()=>{let s=a.current;if(n)return;const d=t.current,c=me(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&nr(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&&nr(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&nr(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 nr(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 io(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 Xs(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:io(e.onKeyDown),onKeyUp:io(e.onKeyUp)}}}const V$=500;function ed(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=V$,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=Ui(),{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=$t(r&&!t?i:void 0);return{longPressProps:V(c,f)}}function xe(e){const t=me(e);if(eu()==="virtual"){let u=t.activeElement;Ts(()=>{t.activeElement===u&&e.isConnected&&Le(e)})}else Le(e)}function N$(e){const t=tt(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 _$(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 td(e,t){return e.nodeName!=="#comment"&&N$(e)&&_$(e,t)&&(!e.parentElement||td(e.parentElement,e))}const lo=o.createContext(null),si="react-aria-focus-scope-restore";let pe=null;function _n(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(lo)||{},d=o.useMemo(()=>new ci({scopeRef:l}),[l]);Y(()=>{let p=s||Pe.root;if(Pe.getTreeNode(p.scopeRef)&&pe&&!kr(pe,p.scopeRef)){let m=Pe.getTreeNode(pe);m&&(p=m)}p.addChild(d),Pe.addNode(d)},[d,s]),Y(()=>{let p=Pe.getTreeNode(l);p&&(p.contain=!!u)},[u]),Y(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],$=g=>g.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(si,$),m=m.nextSibling;return l.current=b,()=>{for(let g of b)g.removeEventListener(si,$)}},[t]),Z$(l,n,u),H$(l,u),q$(l,n,u),W$(l,r),o.useEffect(()=>{const p=me(l.current?l.current[0]:void 0).activeElement;let m=null;if(at(p,l.current)){for(let b of Pe.traverse())b.scopeRef&&at(p,b.scopeRef.current)&&(m=b);m===Pe.getTreeNode(l)&&(pe=m.scopeRef)}},[l]),Y(()=>()=>{var p,m,b;let $=(b=(m=Pe.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===pe||kr(l,pe))&&(!$||Pe.getTreeNode($))&&(pe=$),Pe.removeTreeNode(l)},[l]);let c=o.useMemo(()=>j$(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(lo.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 j$(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||me(u[0]).activeElement,s=u[0].previousElementSibling,d=$u(u),c=Ae(d,{tabbable:r,accept:i},u);c.currentNode=at(l,u)?l:s;let f=c.nextNode();return!f&&a&&(c.currentNode=s,f=c.nextNode()),f&&je(f,!0),f},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||me(u[0]).activeElement,s=u[u.length-1].nextElementSibling,d=$u(u),c=Ae(d,{tabbable:r,accept:i},u);c.currentNode=at(l,u)?l:s;let f=c.previousNode();return!f&&a&&(c.currentNode=s,f=c.previousNode()),f&&je(f,!0),f},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=$u(u),i=Ae(a,{tabbable:n,accept:r},u);i.currentNode=u[0].previousElementSibling;let l=i.nextNode();return l&&je(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,a=$u(u),i=Ae(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&je(l,!0),l}}}const Qi=["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"])'],ud=Qi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Qi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const L$=Qi.join(':not([hidden]):not([tabindex="-1"]),');function O$(e){return e.matches(ud)}function $u(e){return e[0].parentElement}function mn(e){let t=Pe.getTreeNode(pe);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function H$(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=me(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!mn(e)||d.isComposing)return;let c=a.activeElement,f=e.current;if(!f||!at(c,f))return;let p=$u(f),m=Ae(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&&je(b,!0)},l=d=>{(!pe||kr(pe,e))&&at(d.target,e.current)?(pe=e,u.current=d.target):mn(e)&&!Gt(d.target,e)?u.current?u.current.focus():pe&&pe.current&&di(pe.current):mn(e)&&(u.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=eu();if(!((c==="virtual"||c===null)&&xn()&&Ps())&&a.activeElement&&mn(e)&&!Gt(a.activeElement,e))if(pe=e,a.body.contains(d.target)){var p;u.current=d.target,(p=u.current)===null||p===void 0||p.focus()}else pe.current&&di(pe.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 nd(e){return Gt(e)}function at(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function Gt(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Pe.traverse(Pe.getTreeNode(t)))if(u&&at(e,u.current))return!0;return!1}function U$(e){return Gt(e,pe)}function kr(e,t){var u;let n=(u=Pe.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function je(e,t=!1){if(e!=null&&!t)try{xe(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function rd(e,t=!0){let u=e[0].previousElementSibling,n=$u(e),r=Ae(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=$u(e),r=Ae(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function di(e,t=!0){je(rd(e,t))}function W$(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){pe=e;const n=me(e.current?e.current[0]:void 0);!at(n.activeElement,pe.current)&&e.current&&di(e.current)}u.current=!1},[e])}function Z$(e,t,u){Y(()=>{if(t||u)return;let n=e.current;const r=me(n?n[0]:void 0);let a=i=>{let l=i.target;at(l,e.current)?pe=e:nd(l)||(pe=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 oo(e){let t=Pe.getTreeNode(pe);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function q$(e,t,u){const n=o.useRef(typeof document<"u"?me(e.current?e.current[0]:void 0).activeElement:null);Y(()=>{let r=e.current;const a=me(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!pe||kr(pe,e))&&at(a.activeElement,e.current)&&(pe=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=me(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!mn(e)||i.isComposing)return;let l=r.activeElement;if(!Gt(l,e)||!oo(e))return;let s=Pe.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=Ae(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||!Gt(f,e))&&d){c.currentNode=d;do f=i.shiftKey?c.previousNode():c.nextNode();while(Gt(f,e));i.preventDefault(),i.stopPropagation(),f?je(f,!0):nd(d)?je(d,!0):l.blur()}};return u||r.addEventListener("keydown",a,!0),()=>{u||r.removeEventListener("keydown",a,!0)}},[e,t,u]),Y(()=>{const r=me(e.current?e.current[0]:void 0);if(!t)return;let a=Pe.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Pe.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(r.activeElement&&Gt(r.activeElement,e)||r.activeElement===r.body&&oo(e))){let d=Pe.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){so(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Pe.getTreeNode(c.scopeRef)){let f=rd(c.scopeRef.current,!0);so(f);return}c=c.parent}}})}}}},[e,t])}function so(e){e.dispatchEvent(new CustomEvent(si,{bubbles:!0,cancelable:!0}))&&je(e)}function Ae(e,t,u){let n=t!=null&&t.tabbable?L$:ud,r=me(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)&&td(a)&&(!u||at(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 ua(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||me(n).activeElement,d=Ae(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&&je(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||me(n).activeElement,d=Ae(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=Ta(d);return f&&je(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=Ta(d);if(!f)return null;c=f}return c&&je(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=Ae(n,{tabbable:r,accept:a}).nextNode();return l&&je(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=Ae(n,{tabbable:r,accept:a}),l=Ta(i);return l&&je(l,!0),l??null}}}function Ta(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Xi{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 ci({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&&at(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 Xi;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 ci({scopeRef:null}),this.fastMap.set(null,this.root)}}class ci{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 Pe=new Xi;function ce(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||Xt()}),[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]);K$(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=ea({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=st({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}function co(e){let{children:t,focusClass:u,focusRingClass:n}=e,{isFocused:r,isFocusVisible:a,focusProps:i}=ce(e),l=o.Children.only(t);return o.cloneElement(l,V(l.props,{...i,className:H({[u||""]:r,[n||""]:a})}))}let ad=o.createContext(null);function G$(e){let t=o.useContext(ad)||{};Wi(t,e);let{ref:u,...n}=t;return n}const Y$=o.forwardRef(function(t,u){let{children:n,...r}=t,a=De(u),i={...r,ref:a};return o.createElement(ad.Provider,{value:i},n)});function Su(e,t){let{focusProps:u}=ea(e),{keyboardProps:n}=Xs(e),r=V(u,n),a=G$(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:V({...r,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function el(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=Ae(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 J$(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=O(s,{labelable:!0}),b=V(c,f),$=ku(),g=Jr(e);return{isPressed:p,linkProps:V(m,g,{...b,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:v=>{var x;(x=f.onClick)===null||x===void 0||x.call(f,v),i&&(i(v),console.warn("onClick is deprecated, please use onPress")),!$.isNative&&v.currentTarget instanceof HTMLAnchorElement&&v.currentTarget.href&&!v.isDefaultPrevented()&&Fs(v.currentTarget,v)&&e.href&&(v.preventDefault(),$.open(v.currentTarget,v,e.href,e.routerOptions))}})}}var id={};id={breadcrumbs:"عناصر الواجهة"};var ld={};ld={breadcrumbs:"Трохи хляб"};var od={};od={breadcrumbs:"Popis cesty"};var sd={};sd={breadcrumbs:"Brødkrummer"};var dd={};dd={breadcrumbs:"Breadcrumbs"};var cd={};cd={breadcrumbs:"Πλοηγήσεις breadcrumb"};var fd={};fd={breadcrumbs:"Breadcrumbs"};var pd={};pd={breadcrumbs:"Migas de pan"};var md={};md={breadcrumbs:"Lingiread"};var bd={};bd={breadcrumbs:"Navigointilinkit"};var hd={};hd={breadcrumbs:"Chemin de navigation"};var $d={};$d={breadcrumbs:"שבילי ניווט"};var gd={};gd={breadcrumbs:"Navigacijski putovi"};var Dd={};Dd={breadcrumbs:"Morzsamenü"};var vd={};vd={breadcrumbs:"Breadcrumb"};var yd={};yd={breadcrumbs:"パンくずリスト"};var xd={};xd={breadcrumbs:"탐색 표시"};var Cd={};Cd={breadcrumbs:"Naršymo kelias"};var Ed={};Ed={breadcrumbs:"Atpakaļceļi"};var Bd={};Bd={breadcrumbs:"Navigasjonsstier"};var kd={};kd={breadcrumbs:"Broodkruimels"};var Pd={};Pd={breadcrumbs:"Struktura nawigacyjna"};var Sd={};Sd={breadcrumbs:"Caminho detalhado"};var Ad={};Ad={breadcrumbs:"Categorias"};var Fd={};Fd={breadcrumbs:"Miez de pâine"};var wd={};wd={breadcrumbs:"Навигация"};var Td={};Td={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Rd={};Rd={breadcrumbs:"Drobtine"};var Id={};Id={breadcrumbs:"Putanje navigacije"};var Kd={};Kd={breadcrumbs:"Sökvägar"};var Md={};Md={breadcrumbs:"İçerik haritaları"};var zd={};zd={breadcrumbs:"Навігаційна стежка"};var Vd={};Vd={breadcrumbs:"导航栏"};var Nd={};Nd={breadcrumbs:"導覽列"};var _d={};_d={"ar-AE":id,"bg-BG":ld,"cs-CZ":od,"da-DK":sd,"de-DE":dd,"el-GR":cd,"en-US":fd,"es-ES":pd,"et-EE":md,"fi-FI":bd,"fr-FR":hd,"he-IL":$d,"hr-HR":gd,"hu-HU":Dd,"it-IT":vd,"ja-JP":yd,"ko-KR":xd,"lt-LT":Cd,"lv-LV":Ed,"nb-NO":Bd,"nl-NL":kd,"pl-PL":Pd,"pt-BR":Sd,"pt-PT":Ad,"ro-RO":Fd,"ru-RU":wd,"sk-SK":Td,"sl-SI":Rd,"sr-SP":Id,"sv-SE":Kd,"tr-TR":Md,"uk-UA":zd,"zh-CN":Vd,"zh-TW":Nd};const Q$=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),X$=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function e6(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 Q$.has(u.script)}let t=e.split("-")[0];return X$.has(t)}const t6=Symbol.for("react-aria.i18n.locale");function jd(){let e=typeof window<"u"&&window[t6]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:e6(e)?"rtl":"ltr"}}let fi=jd(),bn=new Set;function fo(){fi=jd();for(let e of bn)e(fi)}function u6(){let e=Vt(),[t,u]=o.useState(fi);return o.useEffect(()=>(bn.size===0&&window.addEventListener("languagechange",fo),bn.add(u),()=>{bn.delete(u),bn.size===0&&window.removeEventListener("languagechange",fo)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const n6=o.createContext(null);function fe(){let e=u6();return o.useContext(n6)||e}const r6=Symbol.for("react-aria.i18n.locale"),a6=Symbol.for("react-aria.i18n.strings");let wu;class au{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=i6(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[r6];if(wu===void 0){let r=window[a6];if(!r)return null;wu={};for(let a in r)wu[a]=new au({[u]:r[a]},u)}let n=wu==null?void 0:wu[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 i6(e,t,u="en-US"){if(t[e])return t[e];let n=l6(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function l6(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const po=new Map,mo=new Map;class Ld{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=po.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),po.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=mo.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),mo.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 bo=new WeakMap;function o6(e){let t=bo.get(e);return t||(t=new au(e),bo.set(e,t)),t}function Od(e,t){return t&&au.getGlobalDictionaryForPackage(t)||o6(e)}function $e(e,t){let{locale:u}=fe(),n=Od(e,t);return o.useMemo(()=>new Ld(u,n),[u,n])}function Ou(e,t){return e-t*Math.floor(e/t)}const Hd=1721426;function gu(e,t,u,n){t=jn(e,t);let r=t-1,a=-2;return u<=2?a=0:Yt(t)&&(a=-1),Hd-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 jn(e,t){return e==="BC"?1-t:t}function na(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const s6={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-Hd,r=Math.floor(n/146097),a=Ou(n,146097),i=Math.floor(a/36524),l=Ou(a,36524),s=Math.floor(l/1461),d=Ou(l,1461),c=Math.floor(d/365),f=r*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=na(f),b=u-gu(p,m,1,1),$=2;u<gu(p,m,3,1)?$=0:Yt(m)&&($=1);let g=Math.floor(((b+$)*12+373)/367),v=u-gu(p,m,g,1)+1;return new Fe(p,m,g,v)}toJulianDay(t){return gu(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return s6[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 d6={"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 Se(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 c6(e,t){return t=he(t,e.calendar),e=Cu(e),t=Cu(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function pi(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 tl(e,t){return Se(e,nl(t))}const f6={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function ul(e,t,u){let n=e.calendar.toJulianDay(e),r=u?f6[u]:g6(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function Ud(e){return wt(Date.now(),e)}function nl(e){return Ne(Ud(e))}function Wd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Zd(e,t){return ho(e)-ho(t)}function ho(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Ra=null;function Ln(){return Ra==null&&(Ra=new Intl.DateTimeFormat().resolvedOptions().timeZone),Ra}function Cu(e){return e.subtract({days:e.day-1})}function Pr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function p6(e){return Cu(e.subtract({months:e.month-1}))}function m6(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function b6(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Fn(e,t,u){let n=ul(e,t,u);return e.subtract({days:n})}function h6(e,t,u){return Fn(e,t,u).add({days:6})}const $o=new Map;function $6(e){if(Intl.Locale){let u=$o.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&$o.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function g6(e){let t=$6(e);return t&&d6[t]||0}function D6(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((ul(Cu(e),t,u)+n)/7)}function rl(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function al(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Yu(e){e=he(e,new He);let t=jn(e.era,e.year);return qd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function qd(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 mi(e,t){if(t==="UTC")return 0;if(e>0&&t===Ln())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=Gd(e,t);return qd(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const go=new Map;function Gd(e,t){let u=go.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"}),go.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 Do=864e5;function v6(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>y6(e,t,a))}function y6(e,t,u){let n=Gd(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 At(e,t,u="compatible"){let n=ht(e);if(t==="UTC")return Yu(n);if(t===Ln()&&u==="compatible"){n=he(n,new He);let s=new Date,d=jn(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=Yu(n),a=mi(r-Do,t),i=mi(r+Do,t),l=v6(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 Yd(e,t,u="compatible"){return new Date(At(e,t,u))}function wt(e,t){let u=mi(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 Tn(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function Ne(e){return new Fe(e.calendar,e.era,e.year,e.month,e.day)}function ht(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 Sr(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,Eu(n),n}function x6(e,t,u){if(e instanceof Tn)return e.timeZone===t?e:E6(e,t);let n=At(e,t,u);return wt(n,t)}function C6(e){let t=Yu(e)-e.offset;return new Date(t)}function E6(e,t){let u=Yu(e)-e.offset;return he(wt(u,t),e.calendar)}const an=36e5;function ra(e,t){let u=e.copy(),n="hour"in u?ec(u,t):0;bi(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,hi(u),Jd(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,B6(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 bi(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function hi(e){for(;e.month<1;)bi(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,bi(e,1)}function B6(e){for(;e.day<1;)e.month--,hi(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,hi(e)}function Jd(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 Eu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Jd(e)}function il(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function Qd(e,t){return ra(e,il(t))}function ll(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),Eu(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),Xd(u),u}function k6(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=rr(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=rr(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=rr(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=rr(e.hour,24),t}function Xd(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 rr(e,t){let u=e%t;return u<0&&(u+=t),u}function ec(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,k6(e)}function tc(e,t){let u=e.copy();return ec(u,t),u}function P6(e,t){return tc(e,il(t))}function ol(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=Tt(s,u,0,l.length-1,n==null?void 0:n.round),r.era=l[s],Eu(r);break}case"year":var a,i;!((a=(i=r.calendar).isInverseEra)===null||a===void 0)&&a.call(i,r)&&(u=-u),r.year=Tt(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=Tt(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":r.day=Tt(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),Eu(r),r}function sl(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=Tt(a,u,i,l,n==null?void 0:n.round);break}case"minute":r.minute=Tt(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":r.second=Tt(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":r.millisecond=Tt(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return r}function Tt(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 uc(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=ra(ht(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=At(r,e.timeZone)}else u=Yu(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=wt(u,e.timeZone);return he(n,e.calendar)}function S6(e,t){return uc(e,il(t))}function A6(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=ht(e),l=he(wn(i,{hour:r}),new He),s=[At(l,e.timeZone,"earlier"),At(l,e.timeZone,"later")].filter(b=>wt(b,e.timeZone).day===l.day)[0],d=he(wn(i,{hour:a}),new He),c=[At(d,e.timeZone,"earlier"),At(d,e.timeZone,"later")].filter(b=>wt(b,e.timeZone).day===d.day).pop(),f=Yu(e)-e.offset,p=Math.floor(f/an),m=f%an;return f=Tt(p,u,Math.floor(s/an),Math.floor(c/an),n==null?void 0:n.round)*an+m,he(wt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return sl(e,t,u,n);case"era":case"year":case"month":case"day":{let r=ol(ht(e),t,u,n),a=At(r,e.timeZone);return he(wt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function F6(e,t,u){let n=ht(e),r=wn(ll(n,t),t);if(r.compare(n)===0)return e;let a=At(r,e.timeZone,u);return he(wt(a,e.timeZone),e.calendar)}function nc(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 rc(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 ac(e){return`${rc(e)}T${nc(e)}`}function w6(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 T6(e){return`${ac(e)}${w6(e.offset)}[${e.timeZone}]`}function dl(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 R6=new WeakMap;class Fe{copy(){return this.era?new Fe(this.calendar,this.era,this.year,this.month,this.day):new Fe(this.calendar,this.year,this.month,this.day)}add(t){return ra(this,t)}subtract(t){return Qd(this,t)}set(t){return ll(this,t)}cycle(t,u,n){return ol(this,t,u,n)}toDate(t){return Yd(this,t)}toString(){return rc(this)}compare(t){return Wd(this,t)}constructor(...t){Nn(this,R6,{writable:!0,value:void 0});let[u,n,r,a,i]=dl(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,Eu(this)}}var I6=new WeakMap;class cl{copy(){return new cl(this.hour,this.minute,this.second,this.millisecond)}add(t){return tc(this,t)}subtract(t){return P6(this,t)}set(t){return wn(this,t)}cycle(t,u,n){return sl(this,t,u,n)}toString(){return nc(this)}compare(t){return Zd(this,t)}constructor(t=0,u=0,n=0,r=0){Nn(this,I6,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,Xd(this)}}var K6=new WeakMap;class Sr{copy(){return this.era?new Sr(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Sr(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ra(this,t)}subtract(t){return Qd(this,t)}set(t){return ll(wn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return ol(this,t,u,n);default:return sl(this,t,u,n)}}toDate(t,u){return Yd(this,t,u)}toString(){return ac(this)}compare(t){let u=Wd(this,t);return u===0?Zd(this,ht(t)):u}constructor(...t){Nn(this,K6,{writable:!0,value:void 0});let[u,n,r,a,i]=dl(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,Eu(this)}}var M6=new WeakMap;class Tn{copy(){return this.era?new Tn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Tn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return uc(this,t)}subtract(t){return S6(this,t)}set(t,u){return F6(this,t,u)}cycle(t,u,n){return A6(this,t,u,n)}toDate(){return C6(this)}toString(){return T6(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-x6(t,this.timeZone).toDate().getTime()}constructor(...t){Nn(this,M6,{writable:!0,value:void 0});let[u,n,r,a,i]=dl(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,Eu(this)}}const Hu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],z6=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],$r=[1867,1911,1925,1988,2018],Wt=["meiji","taisho","showa","heisei","reiwa"];function vo(e){const t=Hu.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?Hu.length-1:t===0?0:t-1}function Ia(e){let t=$r[Wt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Fe(e.year+t,e.month,e.day)}class V6 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=vo(u);return new Fe(this,Wt[n],u.year-$r[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(Ia(t))}balanceDate(t){let u=Ia(t),n=vo(u);Wt[n]!==t.era&&(t.era=Wt[n],t.year=u.year-$r[n]),this.constrainDate(t)}constrainDate(t){let u=Wt.indexOf(t.era),n=z6[u];if(n!=null){let[r,a,i]=n,l=r-$r[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]=Hu[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=Hu[u],r=Hu[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(Ia(t))}getMinimumMonthInYear(t){let u=yo(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=yo(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function yo(e){if(e.year===1){let t=Wt.indexOf(e.era);return Hu[t]}}const ic=-543;class N6 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=jn(u.era,u.year);return new Fe(this,n-ic,u.month,u.day)}toJulianDay(t){return super.toJulianDay(xo(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(xo(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function xo(e){let[t,u]=na(e.year+ic);return new Fe(t,u,e.month,e.day)}const Ar=1911;function lc(e){return e.era==="minguo"?e.year+Ar:1-e.year+Ar}function Co(e){let t=e-Ar;return t>0?["minguo",t]:["before_minguo",1-t]}class _6 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=jn(u.era,u.year),[r,a]=Co(n);return new Fe(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay(Eo(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=Co(lc(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Eo(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Ar}constructor(...t){super(...t),this.identifier="roc"}}function Eo(e){let[t,u]=na(lc(e));return new Fe(t,u,e.month,e.day)}const Bo=1948320,ko=[0,31,62,93,124,155,186,216,246,276,306,336];class j6{fromJulianDay(t){let u=t-Bo,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-ko[i]+1;return new Fe(this,n,i+1,l)}toJulianDay(t){let u=Bo-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=ko[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Ou(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Ka=78,Po=80;class L6 extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-Ka,r=t-gu(u.era,u.year,1,1),a;r<Po?(n--,a=Yt(u.year-1)?31:30,r+=a+155+90+10):(a=Yt(u.year)?31:30,r-=Po);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 Fe(this,n,i,l)}toJulianDay(t){let u=t.year+Ka,[n,r]=na(u),a,i;return Yt(r)?(a=31,i=gu(n,r,3,21)):(a=30,i=gu(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+Ka)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Fr=1948440,So=1948439,Qe=1300,Tu=1600,O6=460322;function wr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function oc(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+wr(t,n,1,1)))/29.5)+1),a=u-wr(t,n,r,1)+1;return new Fe(e,n,r,a)}function Ao(e){return(14+11*e)%30<11}class fl{fromJulianDay(t){return oc(this,Fr,t)}toJulianDay(t){return wr(Fr,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&Ao(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return Ao(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class H6 extends fl{fromJulianDay(t){return oc(this,So,t)}toJulianDay(t){return wr(So,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const U6="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let $i,Uu;function gr(e){return O6+Uu[e-Qe]}function hn(e,t){let u=e-Qe,n=1<<11-(t-1);return $i[u]&n?30:29}function Fo(e,t){let u=gr(e);for(let n=1;n<t;n++)u+=hn(e,n);return u}function wo(e){return Uu[e+1-Qe]-Uu[e-Qe]}class W6 extends fl{fromJulianDay(t){let u=t-Fr,n=gr(Qe),r=gr(Tu);if(u<n||u>r)return super.fromJulianDay(t);{let a=Qe-1,i=1,l=1;for(;l>0;){a++,l=u-gr(a)+1;let s=wo(a);if(l===s){i=12;break}else if(l<s){let d=hn(a,i);for(i=1;l>d;)l-=d,i++,d=hn(a,i);break}}return new Fe(this,a,i,u-Fo(a,i)+1)}}toJulianDay(t){return t.year<Qe||t.year>Tu?super.toJulianDay(t):Fr+Fo(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<Qe||t.year>Tu?super.getDaysInMonth(t):hn(t.year,t.month)}getDaysInYear(t){return t.year<Qe||t.year>Tu?super.getDaysInYear(t):wo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",$i||($i=new Uint16Array(Uint8Array.from(atob(U6),t=>t.charCodeAt(0)).buffer)),!Uu){Uu=new Uint32Array(Tu-Qe+1);let t=0;for(let u=Qe;u<=Tu;u++){Uu[u-Qe]=t;for(let n=1;n<=12;n++)t+=hn(u,n)}}}}const To=347997,sc=1080,dc=24*sc,Z6=29,q6=12*sc+793,G6=Z6*dc+q6;function hu(e){return Ou(e*7+1,19)<7}function Dr(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Ou(3*(n+1),7)<3&&(n+=1),n}function Y6(e){let t=Dr(e-1),u=Dr(e);return Dr(e+1)-u===356?2:u-t===382?1:0}function Dn(e){return Dr(e)+Y6(e)}function cc(e){return Dn(e+1)-Dn(e)}function J6(e){let t=cc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function ar(e,t){if(t>=6&&!hu(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=J6(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?hu(e)?30:0:30}class Q6{fromJulianDay(t){let u=t-To,n=u*dc/G6,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+=ar(r,l),l++;l--,s-=ar(r,l);let d=i-s;return new Fe(this,r,l,d)}toJulianDay(t){let u=Dn(t.year);for(let n=1;n<t.month;n++)u+=ar(t.year,n);return u+t.day+To}getDaysInMonth(t){return ar(t.year,t.month)}getMonthsInYear(t){return hu(t.year)?13:12}getDaysInYear(t){return cc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&(hu(u.year)&&!hu(t.year)&&u.month>6?t.month--:!hu(u.year)&&hu(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const gi=1723856,Ro=1824665,Di=5500;function Tr(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function pl(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Tr(e,u,1,1))/30),r=t+1-Tr(e,u,n,1);return[u,n,r]}function fc(e){return Math.floor(e%4/3)}function pc(e,t){return t%13!==0?30:fc(e)+5}class ml{fromJulianDay(t){let[u,n,r]=pl(gi,t),a="AM";return u<=0&&(a="AA",u+=Di),new Fe(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=Di),Tr(gi,u,t.month,t.day)}getDaysInMonth(t){return pc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+fc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class X6 extends ml{fromJulianDay(t){let[u,n,r]=pl(gi,t);return u+=Di,new Fe(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class eg extends ml{fromJulianDay(t){let[u,n,r]=pl(Ro,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Fe(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Tr(Ro,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),pc(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 aa(e){switch(e){case"buddhist":return new N6;case"ethiopic":return new ml;case"ethioaa":return new X6;case"coptic":return new eg;case"hebrew":return new Q6;case"indian":return new L6;case"islamic-civil":return new fl;case"islamic-tbla":return new H6;case"islamic-umalqura":return new W6;case"japanese":return new V6;case"persian":return new j6;case"roc":return new _6;case"gregory":default:return new He}}let Ma=new Map;class ut{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 ng()&&(this.resolvedHourCycle||(this.resolvedHourCycle=rg(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=mc(t,u),this.options=u}}const tg={true:{ja:"h11"},false:{}};function mc(e,t={}){if(typeof t.hour12=="boolean"&&ug()){t={...t};let r=tg[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(Ma.has(u))return Ma.get(u);let n=new Intl.DateTimeFormat(e,t);return Ma.set(u,n),n}let za=null;function ug(){return za==null&&(za=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),za}let Va=null;function ng(){return Va==null&&(Va=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Va}function rg(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=mc(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 ct(e){e=Is(e??{},ag);let{locale:t}=fe();return o.useMemo(()=>new ut(t,e),[t,e])}function ag(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 Na=new Map,vi=!1;try{vi=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Rr=!1;try{Rr=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const bc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class hc{format(t){let u="";if(!vi&&this.options.signDisplay!=null?u=lg(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Rr){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=bc[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!vi&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Rr&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=ig(t,u),this.options=u}}function ig(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Rr){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=bc[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(Na.has(r))return Na.get(r);let a=new Intl.NumberFormat(e,t);return Na.set(r,a),a}function lg(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 og=new RegExp("^.*\\(.*\\).*$"),sg=["latn","arab","hanidec","deva","beng"];class $c{parse(t){return _a(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return _a(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return _a(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const Io=new Map;function _a(e,t,u){let n=Ko(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of sg)if(r!==n.options.numberingSystem){let a=Ko(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function Ko(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=Io.get(u);return n||(n=new dg(e,t),Io.set(u,n)),n}class dg{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=ir(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 $c(this.locale,i).parse(new hc(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&og.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=ir(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=ir(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=ir(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=fg(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 Mo=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),cg=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function fg(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=cg.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 g=(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,x=d.filter(A=>!Mo.has(A.type)).map(A=>zo(A.value)),y=f.flatMap(A=>A.filter(k=>!Mo.has(k.type)).map(k=>zo(k.value))),E=[...new Set([...x,...y])].sort((A,k)=>k.length-A.length),B=E.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${E.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),I=new Map(S.map((A,k)=>[A,k])),D=new RegExp(`[${S.join("")}]`,"g");return{minusSign:m,plusSign:b,decimal:g,group:v,literals:B,numeral:D,index:A=>String(I.get(A))}}function ir(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function zo(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pg(e={}){let{locale:t}=fe();return o.useMemo(()=>new hc(t,e),[t,e])}let ja=new Map;function en(e){let{locale:t}=fe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(ja.has(u))return ja.get(u);let n=new Intl.Collator(t,e);return ja.set(u,n),n}function gc(e){let t=en({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 mg(e){return e&&e.__esModule?e.default:e}function bg(e){let{"aria-label":t,...u}=e,n=$e(mg(_d),"@react-aria/breadcrumbs");return{navProps:{...O(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function bl(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:$="button"}=e,g;u==="button"?g={type:$,disabled:n}:g={role:"button",tabIndex:n?void 0:0,href:u==="a"&&!n?p:void 0,target:u==="a"?m:void 0,type:u==="input"?$: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:x}=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 E=V(y,v,O(e,{labelable:!0}));return{isPressed:x,buttonProps:V(g,E,{"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 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 vc={};vc={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var yc={};yc={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 xc={};xc={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 Cc={};Cc={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 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={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 kc={};kc={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 Pc={};Pc={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 Sc={};Sc={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 Ac={};Ac={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 Fc={};Fc={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var wc={};wc={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 Tc={};Tc={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 Rc={};Rc={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 Ic={};Ic={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var Kc={};Kc={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var Mc={};Mc={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 zc={};zc={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 Vc={};Vc={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 Nc={};Nc={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 _c={};_c={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 jc={};jc={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 Lc={};Lc={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var Oc={};Oc={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var Hc={};Hc={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var Uc={};Uc={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 Wc={};Wc={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 Zc={};Zc={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 qc={};qc={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 Gc={};Gc={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 Yc={};Yc={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 Qc={};Qc={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 On={};On={"ar-AE":Dc,"bg-BG":vc,"cs-CZ":yc,"da-DK":xc,"de-DE":Cc,"el-GR":Ec,"en-US":Bc,"es-ES":kc,"et-EE":Pc,"fi-FI":Sc,"fr-FR":Ac,"he-IL":Fc,"hr-HR":wc,"hu-HU":Tc,"it-IT":Rc,"ja-JP":Ic,"ko-KR":Kc,"lt-LT":Mc,"lv-LV":zc,"nb-NO":Vc,"nl-NL":Nc,"pl-PL":_c,"pt-BR":jc,"pt-PT":Lc,"ro-RO":Oc,"ru-RU":Hc,"sk-SK":Uc,"sl-SI":Wc,"sr-SP":Zc,"sv-SE":qc,"tr-TR":Gc,"uk-UA":Yc,"zh-CN":Jc,"zh-TW":Qc};function Xc(e){return e&&e.__esModule?e.default:e}const hl=new WeakMap;function Rn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function hg(e){let t=$e(Xc(On),"@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=ct({weekday:"long",month:"long",year:"numeric",day:"numeric",era:Rn(u)||Rn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(Se(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=xi(a,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,a])}function yi(e,t,u,n){let r=$e(Xc(On),"@react-aria/calendar"),a=Rn(e)||Rn(t),i=ct({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=ct({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(Se(e,Cu(e))){if(Se(t,Pr(e)))return i.format(e.toDate(u));if(Se(t,Pr(t)))return n?xi(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?xi(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function xi(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 e4=7e3;let Ye=null;function pt(e,t="assertive",u=e4){Ye?Ye.announce(e,t,u):(Ye=new gg,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Ye.announce(e,t,u):setTimeout(()=>{Ye!=null&&Ye.isAttached()&&(Ye==null||Ye.announce(e,t,u))},100))}function $g(e){Ye&&Ye.clear(e)}class gg{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=e4){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 Dg(e){return e&&e.__esModule?e.default:e}function t4(e,t){let u=$e(Dg(On),"@react-aria/calendar"),n=O(e),r=yi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=yi(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);yr(()=>{t.isFocused||pt(a)},[a]);let i=hg(t);yr(()=>{i&&pt(i,"polite",4e3)},[i]);let l=nt([!!e.errorMessage,e.isInvalid,e.validationState]);hl.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=bt({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:V(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 vg(e,t){return t4(e,t)}function yg(e,t,u){let n=t4(e,t),r=o.useRef(!1),a=o.useRef(typeof window<"u"?window:null);return lt(a,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),lt(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()},lt(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function xg(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:r}=e,{direction:a}=fe(),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=yi(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=hl.get(t),c=bt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=ct({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=fe(),m=o.useMemo(()=>{let b=Fn(nl(t.timeZone),p,r);return[...new Array(7).keys()].map($=>{let v=b.add({days:$}).toDate(t.timeZone);return f.format(v)})},[p,t.timeZone,f,r]);return{gridProps:V(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 Cg(e){return e&&e.__esModule?e.default:e}function Eg(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=hl.get(t),l=$e(Cg(On),"@react-aria/calendar"),s=ct({weekday:"long",day:"numeric",month:"long",year:"numeric",era:Rn(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&&Se(t.value,n));m&&(d=!0),n=Is(n,pi);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),$=tl(n,t.timeZone),g=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Se(n,t.value.start)||Se(n,t.value.end))&&(k=i+", "),k+=s.format(b),$?k=l.format(d?"todayDateSelected":"todayDate",{date:k}):d&&(k=l.format("dateSelected",{date:k})),t.minValue&&Se(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&Se(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,$,n,t,i]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?v=l.format("finishRangeSelectionPrompt"):v=l.format("startRangeSelectionPrompt"));let x=$t(v),y=o.useRef(!1),E=o.useRef(!1),B=o.useRef(void 0),{pressProps:S,isPressed:I}=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(Se(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),E.current=!0;return}else if(Se(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),E.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(){E.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(E.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))}}),D;r||(D=Se(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(Le(u.current),eu()!=="pointer"&&document.activeElement===u.current&&Me(u.current,{containingElement:Ke(u.current)}))},[c,u]);let R=ct({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),A=o.useMemo(()=>R.formatToParts(b).find(k=>k.type==="day").value,[R,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:V(S,{onFocus(){r||t.setFocusedDate(n)},tabIndex:D,role:"button","aria-disabled":!p||void 0,"aria-label":g,"aria-invalid":m||void 0,"aria-describedby":[m?a:void 0,x["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:I,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 ia={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},u4={...ia,customError:!0,valid:!1},qt={isInvalid:!1,validationDetails:ia,validationErrors:[]},Bg=o.createContext({}),tu="__formValidationState"+Date.now();function vt(e){if(e[tu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[tu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return kg(e)}function kg(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:u4}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let A=Pg(i,r);return Vo(A)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(Bg),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(A=>Ci(c[A])):Ci(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,$]=o.useState(!1);c!==p&&(m(c),$(!1));let g=o.useMemo(()=>Vo(b?[]:f),[b,f]),v=o.useRef(qt),[x,y]=o.useState(qt),E=o.useRef(qt),B=()=>{if(!S)return;I(!1);let A=d||a||v.current;La(A,E.current)||(E.current=A,y(A))},[S,I]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||g||d||a||qt,displayValidation:l==="native"?s||g||x:s||g||d||a||x,updateValidation(A){l==="aria"&&!La(x,A)?y(A):v.current=A},resetValidation(){let A=qt;La(A,E.current)||(E.current=A,y(A)),l==="native"&&I(!1),$(!0)},commitValidation(){l==="native"&&I(!0),$(!0)}}}function Ci(e){return e?Array.isArray(e)?e:[e]:[]}function Pg(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return Ci(u)}return[]}function Vo(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:u4}:null}function La(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 In(...e){let t=new Set,u=!1,n={...ia};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 Hn(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(Ag(u.current))}});let a=ie(()=>{t.resetValidation()}),i=ie(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&&Fg(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),Qs("keyboard")}s.preventDefault()}),l=ie(()=>{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 Sg(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 Ag(e){return{isInvalid:!e.validity.valid,validationDetails:Sg(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function Fg(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function wg(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:$,isPressed:g}=We({isDisabled:n}),{pressProps:v,isPressed:x}=We({isDisabled:n||r,onPress(){t.toggle()}}),{focusableProps:y}=Su(e,u),E=V($,y),B=O(e,{labelable:!0});return Vn(u,t.isSelected,t.setSelected),{labelProps:V(v,{onClick:S=>S.preventDefault()}),inputProps:V(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",...E}),isSelected:t.isSelected,isPressed:g||x,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function n4(e,t,u){let n=vt({...e,value:t.isSelected}),{isInvalid:r,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=wg({...e,isInvalid:r},t,u);Hn(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:$="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:g}=We({isDisabled:f||p,onPress(){let{[tu]:v}=e,{commitValidation:x}=v||n;x()}});return{labelProps:V(l,g),inputProps:{...s,checked:d,"aria-required":b&&$==="aria"||void 0,required:b&&$==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:a,validationDetails:i}}const r4=new WeakMap;function $l(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=re(t);let i=re(),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=bt({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function iu(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=$l(e),l=nt([!!t,!!u,n,r]),s=nt([!!t,!!u,n,r]);return i=V(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}function Tg(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}=iu({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});r4.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=O(e,{labelable:!0}),{focusWithinProps:m}=st({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:V(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function a4(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 Rg(e,t,u){const n=a4({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(g){g?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(g)}});let{name:r,descriptionId:a,errorMessageId:i,validationBehavior:l}=r4.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=vt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(qt),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 $=n4({...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,[tu]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(g){c.current=g,f()}}},n,u);return{...$,inputProps:{...$.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const No={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 Un(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:a}=st({isDisabled:!u,onFocusWithinChange:l=>r(l)}),i=o.useMemo(()=>n?t:t?{...No,...t}:No,[n]);return{visuallyHiddenProps:{...a,style:i}}}function uu(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=Un(e);return o.createElement(u,V(a,i),t)}function gl(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=vt({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:$,fieldProps:g,descriptionProps:v,errorMessageProps:x}=iu({...e,isInvalid:p,errorMessage:e.errorMessage||m}),y=O(e,{labelable:!0});const E={type:i,pattern:e.pattern};return Vn(t,s,d),Hn(e,f,t),o.useEffect(()=>{if(t.current instanceof tt(t.current).HTMLTextAreaElement){let B=t.current;Object.defineProperty(B,"defaultValue",{get:()=>B.value,set:()=>{},configurable:!0})}},[t]),{labelProps:$,inputProps:V(y,u==="input"?E: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,...g}),descriptionProps:v,errorMessageProps:x,isInvalid:p,validationErrors:m,validationDetails:b}}var i4={};i4={Empty:"فارغ"};var l4={};l4={Empty:"Изпразни"};var o4={};o4={Empty:"Prázdné"};var s4={};s4={Empty:"Tom"};var d4={};d4={Empty:"Leer"};var c4={};c4={Empty:"Άδειο"};var f4={};f4={Empty:"Empty"};var p4={};p4={Empty:"Vacío"};var m4={};m4={Empty:"Tühjenda"};var b4={};b4={Empty:"Tyhjä"};var h4={};h4={Empty:"Vide"};var $4={};$4={Empty:"ריק"};var g4={};g4={Empty:"Prazno"};var D4={};D4={Empty:"Üres"};var v4={};v4={Empty:"Vuoto"};var y4={};y4={Empty:"空"};var x4={};x4={Empty:"비어 있음"};var C4={};C4={Empty:"Tuščias"};var E4={};E4={Empty:"Tukšs"};var B4={};B4={Empty:"Tom"};var k4={};k4={Empty:"Leeg"};var P4={};P4={Empty:"Pusty"};var S4={};S4={Empty:"Vazio"};var A4={};A4={Empty:"Vazio"};var F4={};F4={Empty:"Gol"};var w4={};w4={Empty:"Не заполнено"};var T4={};T4={Empty:"Prázdne"};var R4={};R4={Empty:"Prazen"};var I4={};I4={Empty:"Prazno"};var K4={};K4={Empty:"Tomt"};var M4={};M4={Empty:"Boş"};var z4={};z4={Empty:"Пусто"};var V4={};V4={Empty:"空"};var N4={};N4={Empty:"空白"};var _4={};_4={"ar-AE":i4,"bg-BG":l4,"cs-CZ":o4,"da-DK":s4,"de-DE":d4,"el-GR":c4,"en-US":f4,"es-ES":p4,"et-EE":m4,"fi-FI":b4,"fr-FR":h4,"he-IL":$4,"hr-HR":g4,"hu-HU":D4,"it-IT":v4,"ja-JP":y4,"ko-KR":x4,"lt-LT":C4,"lv-LV":E4,"nb-NO":B4,"nl-NL":k4,"pl-PL":P4,"pt-BR":S4,"pt-PT":A4,"ro-RO":F4,"ru-RU":w4,"sk-SK":T4,"sl-SI":R4,"sr-SP":I4,"sv-SE":K4,"tr-TR":M4,"uk-UA":z4,"zh-CN":V4,"zh-TW":N4};function Ig(e){return e&&e.__esModule?e.default:e}function Kg(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 $=$e(Ig(_4),"@react-aria/spinbutton"),g=()=>clearTimeout(t.current);o.useEffect(()=>()=>g(),[]);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}},x=o.useRef(!1),y=()=>{x.current=!0},E=()=>{x.current=!1},B=n===""?$.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{x.current&&($g("assertive"),pt(B,"assertive"))},[B]);const S=ie(k=>{g(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||u===void 0||isNaN(u)||u<a)&&S(60)},k)}),I=ie(k=>{g(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&I(60)},k)});let D=k=>{k.preventDefault()},{addGlobalListener:R,removeAllGlobalListeners:A}=Ui();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:E},incrementButtonProps:{onPressStart:()=>{S(400),R(window,"contextmenu",D)},onPressEnd:()=>{g(),A()},onFocus:y,onBlur:E},decrementButtonProps:{onPressStart:()=>{I(400),R(window,"contextmenu",D)},onPressEnd:()=>{g(),A()},onFocus:y,onBlur:E}}}var j4={};j4={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 L4={};L4={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:"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 H4={};H4={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 U4={};U4={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 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 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 q4={};q4={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 G4={};G4={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 Y4={};Y4={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 Q4={};Q4={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 X4={};X4={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 e3={};e3={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 t3={};t3={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 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:"제안 사항 표시",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 r3={};r3={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 a3={};a3={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 i3={};i3={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 l3={};l3={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 o3={};o3={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 s3={};s3={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 d3={};d3={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 c3={};c3={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 f3={};f3={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 p3={};p3={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 m3={};m3={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 b3={};b3={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 h3={};h3={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 $3={};$3={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 g3={};g3={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 v3={};v3={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 y3={};y3={"ar-AE":j4,"bg-BG":L4,"cs-CZ":O4,"da-DK":H4,"de-DE":U4,"el-GR":W4,"en-US":Z4,"es-ES":q4,"et-EE":G4,"fi-FI":Y4,"fr-FR":J4,"he-IL":Q4,"hr-HR":X4,"hu-HU":e3,"it-IT":t3,"ja-JP":u3,"ko-KR":n3,"lt-LT":r3,"lv-LV":a3,"nb-NO":i3,"nl-NL":l3,"pl-PL":o3,"pt-BR":s3,"pt-PT":d3,"ro-RO":c3,"ru-RU":f3,"sk-SK":p3,"sl-SI":m3,"sr-SP":b3,"sv-SE":h3,"tr-TR":$3,"uk-UA":g3,"zh-CN":D3,"zh-TW":v3};const ft={top:"top",bottom:"top",left:"left",right:"left"},Ir={top:"bottom",bottom:"top",left:"right",right:"left"},Mg={top:"left",left:"top"},Ei={top:"height",left:"width"},x3={width:"totalWidth",height:"totalHeight"},lr={};let Te=typeof document<"u"?window.visualViewport:null;function _o(e){let t=0,u=0,n=0,r=0,a=0,i=0,l={};var s;let d=((s=Te==null?void 0:Te.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=Te==null?void 0:Te.width)!==null&&c!==void 0?c:n;var f;u=(f=Te==null?void 0:Te.height)!==null&&f!==void 0?f:r,l.top=b.scrollTop||e.scrollTop,l.left=b.scrollLeft||e.scrollLeft,Te&&(a=Te.offsetTop,i=Te.offsetLeft)}else({width:t,height:u,top:a,left:i}=Wu(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(Oi()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;a=(p=Te==null?void 0:Te.pageTop)!==null&&p!==void 0?p:0;var m;i=(m=Te==null?void 0:Te.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:a,left:i}}function zg(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function jo(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[Ei[e]],c=n.scroll[ft[e]]+a,f=d+n.scroll[ft[e]]-a,p=t-s+i[e]-n[ft[e]],m=t-s+u+i[e]-n[ft[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function Vg(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 Lo(e){if(lr[e])return lr[e];let[t,u]=e.split(" "),n=ft[t]||"right",r=Mg[n];ft[u]||(u="center");let a=Ei[n],i=Ei[r];return lr[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},lr[e]}function Oa(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:$}=n,g={};var v;g[m]=(v=e[m])!==null&&v!==void 0?v:0;var x,y,E,B;f==="center"?g[m]+=(((x=e[$])!==null&&x!==void 0?x:0)-((y=u[$])!==null&&y!==void 0?y:0))/2:f!==m&&(g[m]+=((E=e[$])!==null&&E!==void 0?E:0)-((B=u[$])!==null&&B!==void 0?B:0)),g[m]+=a;const S=e[m]-u[$]+s+d,I=e[m]+e[$]-s-d;if(g[m]=En(g[m],S,I),c===p){const D=l?i[b]:t[x3[b]];g[Ir[p]]=Math.floor(D-e[p]+r)}else g[p]=Math.floor(e[p]+e[b]+r);return g}function Ng(e,t,u,n,r,a,i,l){const s=n?u.height:t[x3.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,$,g;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))-((($=r.top)!==null&&$!==void 0?$:0)+((g=r.bottom)!==null&&g!==void 0?g:0)+a));return Math.min(t.height-a*2,v)}function Oo(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[Ir[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[Ir[l]]-r)}function _g(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,$){let g=Lo(e),{size:v,crossAxis:x,crossSize:y,placement:E,crossPlacement:B}=g,S=Oa(t,l,u,g,c,f,d,p,b,$),I=c,D=Oo(l,d,t,r,a+c,g);if(i&&n[v]>D){let ee=Lo(`${Ir[E]} ${B}`),be=Oa(t,l,u,ee,c,f,d,p,b,$);Oo(l,d,t,r,a+c,ee)>D&&(g=ee,S=be,I=c)}let R="bottom";g.axis==="top"?g.placement==="top"?R="top":g.placement==="bottom"&&(R="bottom"):g.crossAxis==="top"&&(g.crossPlacement==="top"?R="bottom":g.crossPlacement==="bottom"&&(R="top"));let A=jo(x,S[x],u[y],l,s,a,d);S[x]+=A;let k=Ng(S,l,d,p,r,a,u.height,R);m&&m<k&&(k=m),u.height=Math.min(u.height,k),S=Oa(t,l,u,g,I,f,d,p,b,$),A=jo(x,S[x],u[y],l,s,a,d),S[x]+=A;let z={},C=t[x]+.5*t[y]-S[x]-r[ft[x]];const F=b/2+$;var N,w,T,P;const K=ft[x]==="left"?((N=r.left)!==null&&N!==void 0?N:0)+((w=r.right)!==null&&w!==void 0?w:0):((T=r.top)!==null&&T!==void 0?T:0)+((P=r.bottom)!==null&&P!==void 0?P:0),j=u[y]-K-b/2-$,_=t[x]+b/2-(S[x]+r[ft[x]]),W=t[x]+t[y]-b/2-(S[x]+r[ft[x]]),X=En(C,_,W);return z[x]=En(X,F,j),{position:S,maxHeight:k,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:g.placement}}function jg(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?Lg(n):document.documentElement,b=m===document.documentElement;const $=window.getComputedStyle(m).position;let g=!!$&&$!=="static",v=b?Wu(u):Ho(u,m);if(!b){let{marginTop:z,marginLeft:C}=window.getComputedStyle(u);v.top+=parseInt(z,10)||0,v.left+=parseInt(C,10)||0}let x=Wu(n),y=Vg(n);var E,B;x.width+=((E=y.left)!==null&&E!==void 0?E:0)+((B=y.right)!==null&&B!==void 0?B:0);var S,I;x.height+=((S=y.top)!==null&&S!==void 0?S:0)+((I=y.bottom)!==null&&I!==void 0?I:0);let D=zg(r),R=_o(l),A=_o(m),k=l.tagName==="BODY"?Wu(m):Ho(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(A.scroll.top=0,A.scroll.left=0),_g(t,v,x,D,y,a,i,R,A,k,s,d,g,c,f,p)}function Wu(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 Ho(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=Wu(e);let r=Wu(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 Lg(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Uo(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Uo(t);)t=t.parentElement;return t||document.documentElement}function Uo(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 C3=new WeakMap;function Og(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||C3.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 Dl(e){let{direction:t}=fe(),{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:$,arrowBoundaryOffset:g=0}=e,[v,x]=o.useState(null),y=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,$,g,u],E=o.useRef(Ce==null?void 0:Ce.scale);o.useEffect(()=>{m&&(E.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)!==E.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 C;A.offset=((C=P==null?void 0:P.bottom)!==null&&C!==void 0?C:0)-K.bottom}}let F=r.current;if(!$&&r.current){var N;F.style.top="0px",F.style.bottom="";var w;F.style.maxHeight=((w=(N=window.visualViewport)===null||N===void 0?void 0:N.height)!==null&&w!==void 0?w:window.innerHeight)+"px"}let T=jg({placement:Ug(i,t),overlayNode:r.current,targetNode:n.current,scrollNode:a.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:$,arrowSize:u,arrowBoundaryOffset:g});if(T.position){if(F.style.top="",F.style.bottom="",F.style.left="",F.style.right="",Object.keys(T.position).forEach(P=>F.style[P]=T.position[P]+"px"),F.style.maxHeight=T.maxHeight!=null?T.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}x(T)}},y);Y(B,y),Hg(B),Gu({ref:r,onResize:B}),Gu({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 I=o.useCallback(()=>{S.current||b==null||b()},[b,S]);Og({triggerRef:n,isOpen:m,onClose:b&&I});var D,R;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...v==null?void 0:v.position,maxHeight:(D=v==null?void 0:v.maxHeight)!==null&&D!==void 0?D:"100vh"}},placement:(R=v==null?void 0:v.placement)!==null&&R!==void 0?R: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 Hg(e){Y(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function Ug(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Bt=[];function vl(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>(r&&Bt.push(t),()=>{let b=Bt.indexOf(t);b>=0&&Bt.splice(b,1)}),[r,t]);let s=()=>{Bt[Bt.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&Bt[Bt.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(Bt[Bt.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};z$({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=st({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||U$(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 E3(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&C3.set(u.current,t.close)});let a;n==="menu"?a=!0:n==="listbox"&&(a="listbox");let i=re();return{triggerProps:{"aria-haspopup":a,"aria-expanded":r,"aria-controls":r?i:void 0,onPress:t.toggle},overlayProps:{id:i}}}const Ha=typeof document<"u"&&window.visualViewport,Wg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let or=0,Ua;function B3(e={}){let{isDisabled:t}=e;Y(()=>{if(!t)return or++,or===1&&(zn()?Ua=qg():Ua=Zg()),()=>{or--,or===0&&Ua()}},[t])}function Zg(){return rt(_u(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),_u(document.documentElement,"overflow","hidden"))}function qg(){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;Gg(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Ha&&(Ha.height<window.innerHeight?requestAnimationFrame(()=>{Wo(c)}):Ha.addEventListener("resize",()=>Wo(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=rt(ln(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=rt(ln(document,"touchstart",u,{passive:!1,capture:!0}),ln(document,"touchmove",n,{passive:!1,capture:!0}),ln(document,"touchend",r,{passive:!1,capture:!0}),ln(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 ln(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function Wo(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 Gg(e){return e instanceof HTMLInputElement&&!Wg.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const Bi=o.createContext(null);function Yg(e){let{children:t}=e,u=o.useContext(Bi),[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(Bi.Provider,{value:a},t)}function Jg(){let e=o.useContext(Bi);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function Qg(e){let{modalProviderProps:t}=Jg();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function Xg(e){return o.createElement(Yg,null,o.createElement(Qg,e))}function k3(e){let t=Vt(),{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(Xg,n);return nu.createPortal(r,u)}var P3={};P3={dismiss:"تجاهل"};var S3={};S3={dismiss:"Отхвърляне"};var A3={};A3={dismiss:"Odstranit"};var F3={};F3={dismiss:"Luk"};var w3={};w3={dismiss:"Schließen"};var T3={};T3={dismiss:"Απόρριψη"};var R3={};R3={dismiss:"Dismiss"};var I3={};I3={dismiss:"Descartar"};var K3={};K3={dismiss:"Lõpeta"};var M3={};M3={dismiss:"Hylkää"};var z3={};z3={dismiss:"Rejeter"};var V3={};V3={dismiss:"התעלם"};var N3={};N3={dismiss:"Odbaci"};var _3={};_3={dismiss:"Elutasítás"};var j3={};j3={dismiss:"Ignora"};var L3={};L3={dismiss:"閉じる"};var O3={};O3={dismiss:"무시"};var H3={};H3={dismiss:"Atmesti"};var U3={};U3={dismiss:"Nerādīt"};var W3={};W3={dismiss:"Lukk"};var Z3={};Z3={dismiss:"Negeren"};var q3={};q3={dismiss:"Zignoruj"};var G3={};G3={dismiss:"Descartar"};var Y3={};Y3={dismiss:"Dispensar"};var J3={};J3={dismiss:"Revocare"};var Q3={};Q3={dismiss:"Пропустить"};var X3={};X3={dismiss:"Zrušiť"};var ef={};ef={dismiss:"Opusti"};var tf={};tf={dismiss:"Odbaci"};var uf={};uf={dismiss:"Avvisa"};var nf={};nf={dismiss:"Kapat"};var rf={};rf={dismiss:"Скасувати"};var af={};af={dismiss:"取消"};var lf={};lf={dismiss:"關閉"};var of={};of={"ar-AE":P3,"bg-BG":S3,"cs-CZ":A3,"da-DK":F3,"de-DE":w3,"el-GR":T3,"en-US":R3,"es-ES":I3,"et-EE":K3,"fi-FI":M3,"fr-FR":z3,"he-IL":V3,"hr-HR":N3,"hu-HU":_3,"it-IT":j3,"ja-JP":L3,"ko-KR":O3,"lt-LT":H3,"lv-LV":U3,"nb-NO":W3,"nl-NL":Z3,"pl-PL":q3,"pt-BR":G3,"pt-PT":Y3,"ro-RO":J3,"ru-RU":Q3,"sk-SK":X3,"sl-SI":ef,"sr-SP":tf,"sv-SE":uf,"tr-TR":nf,"uk-UA":rf,"zh-CN":af,"zh-TW":lf};function eD(e){return e&&e.__esModule?e.default:e}function Kr(e){let{onDismiss:t,...u}=e,n=$e(eD(of),"@react-aria/overlays"),r=bt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(uu,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let on=new WeakMap,qe=[];function yl(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=on.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),on.set(s,c+1))};qe.length&&qe[qe.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 qe.push(l),()=>{i.disconnect();for(let s of n){let d=on.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),on.delete(s)):on.set(s,d-1))}l===qe[qe.length-1]?(qe.pop(),qe.length&&qe[qe.length-1].observe()):qe.splice(qe.indexOf(l),1)}}function tD(e,t){let{triggerRef:u,popoverRef:n,isNonModal:r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=vl({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}=Dl({...l,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:r?t.close:null});return B3({isDisabled:r||!t.isOpen}),Y(()=>{if(t.isOpen&&!r&&n.current)return yl([n.current])},[r,t.isOpen,n]),{popoverProps:V(s,c),arrowProps:f,underlayProps:d,placement:p}}const uD=o.createContext({});function nD(){var e;return(e=o.useContext(uD))!==null&&e!==void 0?e:{}}const sf=o.createContext(null);function df(e){let t=Vt(),{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}=nD();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(_n,{restoreFocus:!0,contain:r&&!n},s)),s=o.createElement(sf.Provider,{value:i},o.createElement(S$,null,s)),nu.createPortal(s,u)}function cf(){let e=o.useContext(sf),t=e==null?void 0:e.setContain;Y(()=>{t==null||t(!0)},[t])}function rD(e,t,u){let{overlayProps:n,underlayProps:r}=vl({...e,isOpen:t.isOpen,onClose:t.close},u);return B3({isDisabled:!t.isOpen}),cf(),o.useEffect(()=>{if(t.isOpen&&u.current)return yl([u.current])},[t.isOpen,u]),{modalProps:V(n),underlayProps:r}}const la=new WeakMap;function aD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function ff(e,t){let u=la.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${aD(t)}`}function ki(e){return br()?e.altKey:e.ctrlKey}const iD=1e3;function pf(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=lD(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=""},iD)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function lD(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function oa(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:$}=fe(),g=ku(),v=C=>{var F;if(C.altKey&&C.key==="Tab"&&C.preventDefault(),!(!((F=n.current)===null||F===void 0)&&F.contains(C.target)))return;const N=(M,Z)=>{if(M!=null){if(t.isLink(M)&&b==="selection"&&s&&!ki(C)){var J;nu.flushSync(()=>{t.setFocusedKey(M,Z)});let L=(J=m.current)===null||J===void 0?void 0:J.querySelector(`[data-key="${CSS.escape(M.toString())}"]`),q=t.getItemProps(M);L&&g.open(L,C,q.href,q.routerOptions);return}if(t.setFocusedKey(M,Z),t.isLink(M)&&b==="override")return;C.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&!ki(C)&&t.replaceSelection(M)}};switch(C.key){case"ArrowDown":if(u.getKeyBelow){var w,T,P;let M=t.focusedKey!=null?(w=u.getKeyBelow)===null||w===void 0?void 0:w.call(u,t.focusedKey):(T=u.getFirstKey)===null||T===void 0?void 0:T.call(u);M==null&&a&&(M=(P=u.getFirstKey)===null||P===void 0?void 0:P.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M))}break;case"ArrowUp":if(u.getKeyAbove){var K,j,_;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=(_=u.getLastKey)===null||_===void 0?void 0:_.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M))}break;case"ArrowLeft":if(u.getKeyLeftOf){var W,X,ee;let M=t.focusedKey!=null?(W=u.getKeyLeftOf)===null||W===void 0?void 0:W.call(u,t.focusedKey):null;M==null&&a&&(M=$==="rtl"?(X=u.getFirstKey)===null||X===void 0?void 0:X.call(u,t.focusedKey):(ee=u.getLastKey)===null||ee===void 0?void 0:ee.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M,$==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var be,le,de;let M=t.focusedKey!=null?(be=u.getKeyRightOf)===null||be===void 0?void 0:be.call(u,t.focusedKey):null;M==null&&a&&(M=$==="rtl"?(le=u.getLastKey)===null||le===void 0?void 0:le.call(u,t.focusedKey):(de=u.getFirstKey)===null||de===void 0?void 0:de.call(u,t.focusedKey)),M!=null&&(C.preventDefault(),N(M,$==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&C.shiftKey)return;C.preventDefault();let M=u.getFirstKey(t.focusedKey,zu(C));t.setFocusedKey(M),M!=null&&(zu(C)&&C.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(M):s&&t.replaceSelection(M))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&C.shiftKey)return;C.preventDefault();let M=u.getLastKey(t.focusedKey,zu(C));t.setFocusedKey(M),M!=null&&(zu(C)&&C.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&&(C.preventDefault(),N(M))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let M=u.getKeyPageAbove(t.focusedKey);M!=null&&(C.preventDefault(),N(M))}break;case"a":zu(C)&&t.selectionMode==="multiple"&&l!==!0&&(C.preventDefault(),t.selectAll());break;case"Escape":!i&&t.selectedKeys.size!==0&&(C.stopPropagation(),C.preventDefault(),t.clearSelection());break;case"Tab":if(!f){if(C.shiftKey)n.current.focus();else{let M=Ae(n.current,{tabbable:!0}),Z,J;do J=M.lastChild(),J&&(Z=J);while(J);Z&&!Z.contains(document.activeElement)&&Le(Z)}break}}},x=o.useRef({top:0,left:0});lt(m,"scroll",p?void 0:()=>{var C,F,N,w;x.current={top:(N=(C=m.current)===null||C===void 0?void 0:C.scrollTop)!==null&&N!==void 0?N:0,left:(w=(F=m.current)===null||F===void 0?void 0:F.scrollLeft)!==null&&w!==void 0?w:0}});let y=C=>{if(t.isFocused){C.currentTarget.contains(C.target)||t.setFocused(!1);return}if(C.currentTarget.contains(C.target)){if(t.setFocused(!0),t.focusedKey==null){var F,N;let P=j=>{j!=null&&(t.setFocusedKey(j),s&&t.replaceSelection(j))},K=C.relatedTarget;var w,T;K&&C.currentTarget.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING?P((w=t.lastSelectedKey)!==null&&w!==void 0?w:(F=u.getLastKey)===null||F===void 0?void 0:F.call(u)):P((T=t.firstSelectedKey)!==null&&T!==void 0?T:(N=u.getFirstKey)===null||N===void 0?void 0:N.call(u))}else!p&&m.current&&(m.current.scrollTop=x.current.top,m.current.scrollLeft=x.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)||Le(P),eu()==="keyboard"&&Me(P,{containingElement:n.current}))}}},E=C=>{C.currentTarget.contains(C.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);lt(n,l$,c?C=>{let{detail:F}=C;C.stopPropagation(),t.setFocused(!0),(F==null?void 0:F.focusStrategy)==="first"&&(B.current=!0)}:void 0);let S=ie(()=>{var C,F;let N=(F=(C=u.getFirstKey)===null||C===void 0?void 0:C.call(u))!==null&&F!==void 0?F:null;if(N==null){var w;(w=n.current)===null||w===void 0||w.dispatchEvent(new CustomEvent(Ks,{cancelable:!0,bubbles:!0})),t.collection.size>0&&(B.current=!1)}else t.setFocusedKey(N),B.current=!1});Gl(()=>{B.current&&S()},[t.collection,S]);let I=ie(()=>{t.collection.size>0&&(B.current=!1)});Gl(()=>{I()},[t.focusedKey,I]),lt(n,i$,c?C=>{C.stopPropagation(),t.setFocused(!1),t.setFocusedKey(null)}:void 0);const D=o.useRef(r);o.useEffect(()=>{if(D.current){var C,F;let T=null;var N;r==="first"&&(T=(N=(C=u.getFirstKey)===null||C===void 0?void 0:C.call(u))!==null&&N!==void 0?N:null);var w;r==="last"&&(T=(w=(F=u.getLastKey)===null||F===void 0?void 0:F.call(u))!==null&&w!==void 0?w:null);let P=t.selectedKeys;if(P.size){for(let K of P)if(t.canSelectItem(K)){T=K;break}}t.setFocused(!0),t.setFocusedKey(T),T==null&&!c&&n.current&&xe(n.current)}},[]);let R=o.useRef(t.focusedKey);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==R.current||D.current)&&m.current&&n.current){let C=eu(),F=n.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);if(!F)return;(C==="keyboard"||D.current)&&(Rs(m.current,F),C!=="virtual"&&Me(F,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&R.current!=null&&n.current&&xe(n.current),R.current=t.focusedKey,D.current=!1}),lt(n,"react-aria-focus-scope-restore",C=>{C.preventDefault(),t.setFocused(!0)});let A={onKeyDown:v,onFocus:y,onBlur:E,onMouseDown(C){m.current===C.target&&C.preventDefault()}},{typeSelectProps:k}=pf({keyboardDelegate:u,selectionManager:t});d||(A=V(k,A));let z;return c?z=-1:z=t.focusedKey==null?0:-1,{collectionProps:{...A,tabIndex:z}}}function tn(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=ku();t=re(t);let m=P=>{if(P.pointerType==="keyboard"&&ki(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&&(zu(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(Ks,{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 $=u.isLink(n)&&f==="override",g=u.isLink(n)&&f!=="selection"&&f!=="none",v=!s&&u.canSelectItem(n)&&!$,x=(d||g)&&!s,y=x&&(u.selectionBehavior==="replace"?!v:!v||u.isEmpty),E=x&&v&&u.selectionBehavior==="replace",B=y||E,S=o.useRef(null),I=B&&v,D=o.useRef(!1),R=o.useRef(!1),A=P=>{if(d&&d(),g&&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,D.current=I,P.pointerType==="keyboard"&&(!B||qo())&&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||E&&P.pointerType!=="mouse"){if(P.pointerType==="keyboard"&&!Zo())return;A(P)}else P.pointerType!=="keyboard"&&v&&m(P)}):(k.onPressStart=P=>{S.current=P.pointerType,D.current=I,R.current=y,v&&(P.pointerType==="mouse"&&!y||P.pointerType==="keyboard"&&(!x||qo()))&&m(P)},k.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&B&&Zo()||P.pointerType==="mouse"&&R.current)&&(B?A(P):v&&m(P))}),b["data-key"]=n,k.preventFocusOnPress=i;let{pressProps:z,isPressed:C}=We(k),F=E?P=>{S.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),A(P))}:void 0,{longPressProps:N}=ed({isDisabled:!I,onLongPress(P){P.pointerType==="touch"&&(m(P),u.setSelectionBehavior("toggle"))}}),w=P=>{S.current==="touch"&&D.current&&P.preventDefault()},T=u.isLink(n)?P=>{Qt.isOpening||P.preventDefault()}:void 0;return{itemProps:V(b,v||y?z:{},I?N:{},{onDoubleClick:F,onDragStartCapture:w,onClick:T,id:t}),isPressed:C,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:v,hasAction:B}}function Zo(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function qo(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class Pi{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 un{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 Pi(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 Pi(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function xl(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=en({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new un({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=oa({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function mf(e,t,u){let n=O(e,{labelable:!0}),r=e.selectionBehavior||"toggle",a=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&a==="action"&&(a="override");let{listProps:i}=xl({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=st({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=re(e.id);la.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}=$l({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:V(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...V(c,i)})}}function bf(e){return null}bf.getCollectionNode=function*(t,u){let{childItems:n,title:r,children:a}=t,i=t.title||t.children,l=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!l&&!(u!=null&&u.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:l,"aria-label":t["aria-label"],hasChildNodes:oD(t),*childNodes(){if(n)for(let s of n)yield{type:"item",value:s};else if(r){let s=[];o.Children.forEach(a,d=>{s.push({type:"item",element:d})}),yield*s}}}};function oD(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&o.Children.count(e.children)>0)}let Go=bf;function hf(e){return null}hf.getCollectionNode=function*(t){let{children:u,title:n,items:r}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof u=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let a of r)yield{type:"item",value:a,renderer:u}}else{let a=[];o.Children.forEach(u,i=>{a.push({type:"item",element:i})}),yield*a}}}};let sD=hf;class dD{build(t,u){return this.context=u,Yo(()=>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 g=[];o.Children.forEach(t.element.props.children,x=>{g.push(x)});var a;let v=(a=t.index)!==null&&a!==void 0?a:0;for(const x of g)yield*this.getFullNode({element:x,index:v++},u,n,r);return}let i=t.element;if(!i&&t.value&&u&&u.renderer){let g=this.cache.get(t.value);if(g&&(!g.shouldInvalidate||!g.shouldInvalidate(this.context))){g.index=t.index,g.parentKey=r?r.key:null,yield g;return}i=u.renderer(t.value)}if(o.isValidElement(i)){let g=i.type;if(typeof g!="function"&&typeof g.getCollectionNode!="function"){let E=i.type;throw new Error(`Unknown element <${E}> in collection.`)}let v=g.getCollectionNode(i.props,this.context);var l;let x=(l=t.index)!==null&&l!==void 0?l:0,y=v.next();for(;!y.done&&y.value;){let E=y.value;t.index=x;var s;let B=(s=E.key)!==null&&s!==void 0?s:null;B==null&&(B=E.element?null:this.getKey(i,t,u,n));let I=[...this.getFullNode({...E,key:B,index:x,wrapper:cD(t.wrapper,E.wrapper)},this.getChildState(u,E),n?`${n}${i.key}`:i.key,r)];for(let D of I){var d,c;D.value=(c=(d=E.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,D.value&&this.cache.set(D.value,D);var f;if(t.type&&D.type!==t.type)throw new Error(`Unsupported type <${Wa(D.type)}> in <${Wa((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${Wa(t.type)}> is supported.`);x++,yield D}y=v.next(I)}return}if(t.key==null||t.type==null)return;let p=this;var m,b;let $={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:Yo(function*(){if(!t.hasChildNodes||!t.childNodes)return;let g=0;for(let v of t.childNodes()){v.key!=null&&(v.key=`${$.key}${v.key}`);let x=p.getFullNode({...v,index:g},p.getChildState(u,v),$.key,$);for(let y of x)g++,yield y}})};yield $}constructor(){this.cache=new WeakMap}}function Yo(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 cD(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function Wa(e){return e[0].toUpperCase()+e.slice(1)}function Cl(e,t,u){let n=o.useMemo(()=>new dD,[]),{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 ye(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Ft(e){return Zt(e,0)}function Zt(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function Rt(e){let t;for(let u of e)t=u;return t}function Za(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...Jo(e,t),t],r=[...Jo(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 Jo(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 Qo=new WeakMap;function El(e){let t=Qo.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(ye(a,e)):u++};return n(e),Qo.set(e,u),u}function $f(e,t,u){var n,r;let{key:a}=e,i=la.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 $;let g=($=e.shouldUseVirtualFocus)!==null&&$!==void 0?$:i==null?void 0:i.shouldUseVirtualFocus;var v;let x=(v=e.isVirtualized)!==null&&v!==void 0?v:i==null?void 0:i.isVirtualized,y=nt(),E=nt(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};mt()&&Oi()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=y,B["aria-describedby"]=E);let S=t.collection.getItem(a);if(x){let T=Number(S==null?void 0:S.index);B["aria-posinset"]=Number.isNaN(T)?void 0:T+1,B["aria-setsize"]=El(t.collection)}let I=i!=null&&i.onAction?()=>{var T;return i==null||(T=i.onAction)===null||T===void 0?void 0:T.call(i,a)}:void 0,D=ff(t,a),{itemProps:R,isPressed:A,isFocused:k,hasAction:z,allowsSelection:C}=tn({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:x,shouldUseVirtualFocus:g,isDisabled:s,onAction:I||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?rt(S==null||(r=S.props)===null||r===void 0?void 0:r.onAction,I):void 0,linkBehavior:i==null?void 0:i.linkBehavior,id:D}),{hoverProps:F}=ve({isDisabled:s||!b,onHoverStart(){Xt()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),N=O(S==null?void 0:S.props);delete N.id;let w=Jr(S==null?void 0:S.props);return{optionProps:{...B,...V(N,R,F,w),id:D},labelProps:{id:y},descriptionProps:{id:E},isFocused:k,isFocusVisible:k&&Xt(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:C,hasAction:z}}function gf(e){let{heading:t,"aria-label":u}=e,n=re();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var Df={};Df={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var vf={};vf={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var yf={};yf={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var xf={};xf={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Cf={};Cf={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Ef={};Ef={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Bf={};Bf={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var kf={};kf={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Pf={};Pf={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Sf={};Sf={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Af={};Af={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Ff={};Ff={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var wf={};wf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Tf={};Tf={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Rf={};Rf={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var If={};If={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Kf={};Kf={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Mf={};Mf={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var zf={};zf={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 Nf={};Nf={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var _f={};_f={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var jf={};jf={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Lf={};Lf={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Of={};Of={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Hf={};Hf={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Uf={};Uf={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Wf={};Wf={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Zf={};Zf={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var qf={};qf={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Gf={};Gf={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Yf={};Yf={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Jf={};Jf={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Qf={};Qf={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Xf={};Xf={"ar-AE":Df,"bg-BG":vf,"cs-CZ":yf,"da-DK":xf,"de-DE":Cf,"el-GR":Ef,"en-US":Bf,"es-ES":kf,"et-EE":Pf,"fi-FI":Sf,"fr-FR":Af,"he-IL":Ff,"hr-HR":wf,"hu-HU":Tf,"it-IT":Rf,"ja-JP":If,"ko-KR":Kf,"lt-LT":Mf,"lv-LV":zf,"nb-NO":Vf,"nl-NL":Nf,"pl-PL":_f,"pt-BR":jf,"pt-PT":Lf,"ro-RO":Of,"ru-RU":Hf,"sk-SK":Uf,"sl-SI":Wf,"sr-SP":Zf,"sv-SE":qf,"tr-TR":Gf,"uk-UA":Yf,"zh-CN":Jf,"zh-TW":Qf};function fD(e){return e&&e.__esModule?e.default:e}function Bl(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=re(),{triggerProps:l,overlayProps:s}=E3({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=$e(fD(Xf),"@react-aria/menu"),{longPressProps:f}=ed({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 ep=new WeakMap;function pD(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=O(e,{labelable:!0}),{listProps:s}=xl({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return ep.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:V(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 mD(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:$,onKeyDown:g,onKeyUp:v,onFocus:x,onFocusChange:y,onBlur:E,selectionManager:B=t.selectionManager}=e,S=!!l,I=S&&e["aria-expanded"]==="true";var D;let R=(D=e.isDisabled)!==null&&D!==void 0?D:B.isDisabled(r);var A;let k=(A=e.isSelected)!==null&&A!==void 0?A:B.isSelected(r),z=ep.get(t),C=t.collection.getItem(r),F=e.onClose||z.onClose,N=ku(),w=ae=>{var Lt;if(!S){if(!(C==null||(Lt=C.props)===null||Lt===void 0)&&Lt.onAction?C.props.onAction():e.onAction&&e.onAction(r),z.onAction){let su=z.onAction;su(r)}ae.target instanceof HTMLAnchorElement&&C&&N.open(ae.target,ae,C.props.href,C.props.routerOptions)}},T="menuitem";S||(B.selectionMode==="single"?T="menuitemradio":B.selectionMode==="multiple"&&(T="menuitemcheckbox"));let P=nt(),K=nt(),j=nt(),_={id:n,"aria-disabled":R||void 0,role:T,"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&&(_["aria-checked"]=k),i&&(_["aria-posinset"]=C==null?void 0:C.index,_["aria-setsize"]=El(t.collection));let W=ae=>{ae.pointerType==="keyboard"&&w(ae),s==null||s(ae)},X=()=>{!S&&F&&(a??(B.selectionMode!=="multiple"||B.isLink(r)))&&F()},ee=ae=>{ae.pointerType==="mouse"&&(w(ae),X()),d==null||d(ae)},be=ae=>{ae.pointerType!=="keyboard"&&ae.pointerType!=="mouse"&&(w(ae),X()),c==null||c(ae)},{itemProps:le,isFocused:de}=tn({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:z.shouldUseVirtualFocus}),{pressProps:M,isPressed:Z}=We({onPressStart:W,onPress:be,onPressUp:ee,onPressChange:f,onPressEnd:p,isDisabled:R}),{hoverProps:J}=ve({isDisabled:R,onHoverStart(ae){!Xt()&&!(I&&l==="dialog")&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(ae)},onHoverChange:b,onHoverEnd:$}),{keyboardProps:L}=Xs({onKeyDown:ae=>{if(ae.repeat){ae.continuePropagation();return}switch(ae.key){case" ":!R&&B.selectionMode==="none"&&!S&&a!==!1&&F&&F();break;case"Enter":!R&&a!==!1&&!S&&F&&F();break;default:S||ae.continuePropagation(),g==null||g(ae);break}},onKeyUp:v}),{focusProps:q}=ea({onBlur:E,onFocus:x,onFocusChange:y}),oe=O(C==null?void 0:C.props);delete oe.id;let Ze=Jr(C==null?void 0:C.props);return{menuItemProps:{..._,...V(oe,Ze,S?{onFocus:le.onFocus,"data-key":le["data-key"]}:le,M,J,L,q),tabIndex:le.tabIndex!=null&&I?-1:le.tabIndex},labelProps:{id:P},descriptionProps:{id:K},keyboardShortcutProps:{id:j},isFocused:de,isSelected:k,isPressed:Z,isDisabled:R}}function bD(e){let{heading:t,"aria-label":u}=e,n=re();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function hD(e){return e&&e.__esModule?e.default:e}function $D(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=$e(hD(y3),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=Bl({type:"listbox",isDisabled:c||d},t,u);la.set(t,{id:b.id});let{collection:$}=t,{disabledKeys:g}=t.selectionManager,v=o.useMemo(()=>i||new un({collection:$,disabledKeys:g,ref:a,layoutDelegate:l}),[i,l,$,g,a]),{collectionProps:x}=oa({selectionManager:t.selectionManager,keyboardDelegate:v,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),y=ku(),E=L=>{if(!L.nativeEvent.isComposing)switch(L.key){case"Enter":case"Tab":if(t.isOpen&&L.key==="Enter"&&L.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let q=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(L.key==="Enter"&&q instanceof HTMLAnchorElement){let oe=t.collection.getItem(t.selectionManager.focusedKey);oe&&y.open(q,L,oe.props.href,oe.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&L.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=L=>{var q;let oe=(u==null?void 0:u.current)&&u.current===L.relatedTarget,Ze=(q=n.current)===null||q===void 0?void 0:q.contains(L.relatedTarget);oe||Ze||(e.onBlur&&e.onBlur(L),t.setFocused(!1))},S=L=>{t.isFocused||(e.onFocus&&e.onFocus(L),t.setFocused(!0))},{isInvalid:I,validationErrors:D,validationDetails:R}=t.displayValidation,{labelProps:A,inputProps:k,descriptionProps:z,errorMessageProps:C}=gl({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:rt(t.isOpen&&x.onKeyDown,E,e.onKeyDown),onBlur:B,value:t.inputValue,onFocus:S,autoComplete:"off",validate:void 0,[tu]:t},r),F=L=>{if(L.pointerType==="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(null,"manual")}},N=L=>{if(L.pointerType!=="touch"){var q;(q=r.current)===null||q===void 0||q.focus(),t.toggle(L.pointerType==="keyboard"||L.pointerType==="virtual"?"first":null,"manual")}},w=bt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),T=bt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),P=o.useRef(0),K=L=>{if(c||d)return;if(L.timeStamp-P.current<500){var q;L.preventDefault(),(q=r.current)===null||q===void 0||q.focus();return}let oe=L.target.getBoundingClientRect(),Ze=L.changedTouches[0],ae=Math.ceil(oe.left+.5*oe.width),Lt=Math.ceil(oe.top+.5*oe.height);if(Ze.clientX===ae&&Ze.clientY===Lt){var su;L.preventDefault(),(su=r.current)===null||su===void 0||su.focus(),t.toggle(null,"manual"),P.current=L.timeStamp}},j=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var _;let W=(_=j==null?void 0:j.parentKey)!==null&&_!==void 0?_:null;var X;let ee=(X=t.selectionManager.focusedKey)!==null&&X!==void 0?X:null,be=o.useRef(W),le=o.useRef(ee);o.useEffect(()=>{if(br()&&j!=null&&ee!=null&&ee!==le.current){let q=t.selectionManager.isSelected(ee),oe=W!=null?t.collection.getItem(W):null,Ze=(oe==null?void 0:oe["aria-label"])||(typeof(oe==null?void 0:oe.rendered)=="string"?oe.rendered:"")||"";var L;let ae=p.format("focusAnnouncement",{isGroupChange:(L=oe&&W!==be.current)!==null&&L!==void 0?L:!1,groupTitle:Ze,groupCount:oe?[...ye(oe,t.collection)].length:0,optionText:j["aria-label"]||j.textValue||"",isSelected:q});pt(ae)}be.current=W,le.current=ee});let de=El(t.collection),M=o.useRef(de),Z=o.useRef(t.isOpen);o.useEffect(()=>{let L=t.isOpen!==Z.current&&(t.selectionManager.focusedKey==null||br());if(t.isOpen&&(L||de!==M.current)){let q=p.format("countAnnouncement",{optionCount:de});pt(q)}M.current=de,Z.current=t.isOpen});let J=o.useRef(t.selectedKey);return o.useEffect(()=>{if(br()&&t.isFocused&&t.selectedItem&&t.selectedKey!==J.current){let L=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",q=p.format("selectedAnnouncement",{optionText:L});pt(q)}J.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return yl([r.current,n.current].filter(L=>L!=null))},[t.isOpen,r,n]),{labelProps:A,buttonProps:{...m,...w,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:F,onPressStart:N,isDisabled:c||d},inputProps:V(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":j?ff(t,j.key):void 0,onTouchEnd:K,autoCorrect:"off",spellCheck:"false"}),listBoxProps:V(b,T,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:z,errorMessageProps:C,isInvalid:I,validationErrors:D,validationDetails:R}}var tp={};tp={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var up={};up={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var np={};np={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 rp={};rp={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 ap={};ap={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 ip={};ip={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 lp={};lp={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 op={};op={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 sp={};sp={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 dp={};dp={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 cp={};cp={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 fp={};fp={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 pp={};pp={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 mp={};mp={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 bp={};bp={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 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 gp={};gp={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 Dp={};Dp={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 vp={};vp={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 yp={};yp={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 xp={};xp={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 Cp={};Cp={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 Ep={};Ep={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 Bp={};Bp={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 kp={};kp={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 Pp={};Pp={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 Sp={};Sp={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 Ap={};Ap={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 Fp={};Fp={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 wp={};wp={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 Tp={};Tp={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 Rp={};Rp={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 Ip={};Ip={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 Wn={};Wn={"ar-AE":tp,"bg-BG":up,"cs-CZ":np,"da-DK":rp,"de-DE":ap,"el-GR":ip,"en-US":lp,"es-ES":op,"et-EE":sp,"fi-FI":dp,"fr-FR":cp,"he-IL":fp,"hr-HR":pp,"hu-HU":mp,"it-IT":bp,"ja-JP":hp,"ko-KR":$p,"lt-LT":gp,"lv-LV":Dp,"nb-NO":vp,"nl-NL":yp,"pl-PL":xp,"pt-BR":Cp,"pt-PT":Ep,"ro-RO":Bp,"ru-RU":kp,"sk-SK":Pp,"sl-SI":Sp,"sr-SP":Ap,"sv-SE":Fp,"tr-TR":wp,"uk-UA":Tp,"zh-CN":Rp,"zh-TW":Ip};function kl(e,t,u){let{direction:n}=fe(),r=o.useMemo(()=>ua(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=Ae(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=We({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return V(l,{onKeyDown:a})}function gD(e){return e&&e.__esModule?e.default:e}const Kp=new WeakMap,vn="__role_"+Date.now(),Mp="__focusManager_"+Date.now();function zp(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=iu({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=st({...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=$e(gD(Wn),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",$=t.maxGranularity==="hour"?"time":"date",g=t.value?m.format(b,{[$]:t.formatValue({month:"long"})}):"",v=$t(g),x=e[vn]==="presentation"?s["aria-describedby"]:[v["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,y=e[Mp],E=o.useMemo(()=>y||ua(u),[y,u]),B=kl(t,u,e[vn]==="presentation");Kp.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:x,focusManager:E});let S=o.useRef(e.autoFocus),I;e[vn]==="presentation"?I={role:"presentation"}:I=V(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":x}),o.useEffect(()=>{S.current&&E.focusFirst(),S.current=!1},[E]),Vn(e.inputRef,t.value,t.setValue),Hn({...e,focus(){E.focusFirst()}},t,e.inputRef);let D={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(D.type="text",D.hidden=!0,D.required=e.isRequired,D.onChange=()=>{});let R=O(e);return{labelProps:{...l,onClick:()=>{E.focusFirst()}},fieldProps:V(R,I,B,p,{onKeyDown(A){e.onKeyDown&&e.onKeyDown(A)},onKeyUp(A){e.onKeyUp&&e.onKeyUp(A)}}),inputProps:D,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:a,validationDetails:i}}function DD(e){return e&&e.__esModule?e.default:e}function vD(e,t,u){let n=re(),r=re(),a=re(),i=$e(DD(Wn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=iu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=kl(t,u),$=f["aria-labelledby"]||f.id,{locale:g}=fe(),v=t.formatValue(g,{month:"long"}),x=v?i.format("selectedDateDescription",{date:v}):"",y=$t(x),E=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=O(e),S=o.useMemo(()=>ua(u),[u]),{focusWithinProps:I}=st({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:V(B,b,f,y,I,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":$,"aria-describedby":E,onKeyDown(D){t.isOpen||e.onKeyDown&&e.onKeyDown(D)},onKeyUp(D){t.isOpen||e.onKeyUp&&e.onKeyUp(D)}}),labelProps:{...c,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:a,[vn]:"presentation","aria-describedby":E,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[tu]: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} ${$}`,"aria-describedby":E,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${$}`},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 yD(e){return e&&e.__esModule?e.default:e}function xD(){let{locale:e}=fe(),t=Od(yD(Wn),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new CD(e,t)}},[e,t])}class CD{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function ED(e,t,u){let n=o.useRef(""),{locale:r}=fe(),a=xD(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=Kp.get(t),c=e.isPlaceholder?"":e.text,f=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=ct({month:"long",timeZone:f.timeZone}),m=ct({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}=Kg({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)}}),$=o.useMemo(()=>new $c(r,{maximumFractionDigits:0}),[r]),g=()=>{if(e.text===e.placeholder&&d.focusPrevious(),$.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let P=e.text.slice(0,-1),K=$.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"&&(mt()?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(),g();break}},{startsWith:x}=gc({sensitivity:"base"}),y=ct({hour:"numeric",hour12:!0}),E=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=ct({year:"numeric",era:"narrow",timeZone:"UTC"}),I=o.useMemo(()=>{if(e.type!=="era")return[];let P=he(new Fe(1,1,1),t.calendar),K=t.calendar.getEras().map(_=>{let W=P.set({year:1,month:1,day:1,era:_}).toDate("UTC"),ee=S.formatToParts(W).find(be=>be.type==="era").value;return{era:_,formatted:ee}}),j=BD(K.map(_=>_.formatted));if(j)for(let _ of K)_.formatted=_.formatted.slice(j);return K},[S,t.calendar,e.type]),D=P=>{if(t.isDisabled||t.isReadOnly)return;let K=n.current+P;switch(e.type){case"dayPeriod":if(x(E,P))t.setSegment("dayPeriod",0);else if(x(B,P))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let j=I.find(_=>x(_.formatted,P));j&&(t.setSegment("era",j.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(K))return;let j=$.parse(K),_=j,W=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":j>11&&(_=$.parse(P));break;case"h12":W=!1,j>12&&(_=$.parse(P));break}e.value!==void 0&&e.value>=12&&j>1&&(j+=12)}else e.maxValue!==void 0&&j>e.maxValue&&(_=$.parse(P));if(isNaN(j))return;let X=_!==0||W;X&&t.setSegment(e.type,_),e.maxValue!==void 0&&(+(j+"0")>e.maxValue||K.length>=String(e.maxValue).length)?(n.current="",X&&d.focusNext()):n.current=K;break}}},R=()=>{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);lt(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("");lt(u,"beforeinput",P=>{if(u.current)switch(P.preventDefault(),P.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&g();break;case"insertCompositionText":k.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:P.data!=null&&D(P.data);break}}),lt(u,"input",P=>{let{inputType:K,data:j}=P;switch(K){case"insertCompositionText":u.current&&(u.current.textContent=k.current),j!=null&&(x(E,j)||x(B,j))&&D(j);break}}),Y(()=>{let P=u.current;return()=>{document.activeElement===P&&(d.focusPrevious()||d.focusNext())}},[u,d]);let z=zn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},C=o.useMemo(()=>t.segments.find(P=>P.isEditable),[t.segments]);e!==C&&!t.isInvalid&&(s=void 0);let F=re(),N=!t.isDisabled&&!t.isReadOnly&&e.isEditable,w=e.type==="literal"?"":a.of(e.type),T=bt({"aria-label":`${w}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:V(b,T,{id:F,...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:N,suppressContentEditableWarning:N,spellCheck:N?"false":void 0,autoCorrect:N?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:N?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!N?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:v,onFocus:R,style:{caretColor:"transparent"},onPointerDown(P){P.stopPropagation()},onMouseDown(P){P.stopPropagation()}})}}function BD(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 kD(e){return e&&e.__esModule?e.default:e}function PD(e,t,u){var n,r,a;let i=$e(kD(Wn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=iu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:$}=fe(),g=t.formatValue($,{month:"long"}),v=g?i.format("selectedRangeDescription",{startDate:g.start,endDate:g.end}):"",x=$t(v),y={"aria-label":i.format("startDate"),"aria-labelledby":b},E={"aria-label":i.format("endDate"),"aria-labelledby":b},B=re(),S=re(),I=kl(t,u),D=[x["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,R=o.useMemo(()=>ua(u,{accept:T=>T.id!==B}),[u,B]),A={[Mp]:R,[vn]:"presentation","aria-describedby":D,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=O(e),{focusWithinProps:z}=st({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),C=o.useRef(qt),F=o.useRef(qt);var N,w;return{groupProps:V(k,I,f,x,z,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":D,onKeyDown(T){t.isOpen||e.onKeyDown&&e.onKeyDown(T)},onKeyUp(T){t.isOpen||e.onKeyUp&&e.onKeyUp(T)}}),labelProps:{...c,onClick:()=>{R.focusFirst()}},buttonProps:{...x,id:B,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${B} ${b}`,"aria-describedby":D,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:S,"aria-labelledby":`${B} ${b}`},startFieldProps:{...y,...A,value:(N=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&N!==void 0?N:null,onChange:T=>t.setDateTime("start",T),autoFocus:e.autoFocus,name:e.startName,[tu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){C.current=T,t.updateValidation(In(T,F.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...E,...A,value:(w=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&w!==void 0?w:null,onChange:T=>t.setDateTime("end",T),name:e.endName,[tu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(T){F.current=T,t.updateValidation(In(C.current,T))},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 Vp(e,t){let{role:u="dialog"}=e,n=nt();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]),cf(),{dialogProps:{...O(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function SD(e,t,u){let{isDisabled:n}=e,r=re(),a=re(),l=!Vt()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),nu.flushSync(()=>{t.toggle()})},[u,t]);return lt(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 Ve=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 Np={...Ve,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},AD=Pl(Np);AD[7]="all";Pl(Ve);const _p={none:"cancel",link:"link",copy:"copy",move:"move"},qa=Pl(_p);function Pl(e){let t={};for(let u in e)t[e[u]]=u;return t}const FD=new Set(["text/plain","text/uri-list","text/html"]),Mr="application/vnd.react-aria.items+json",zr="application/octet-stream",wD=Symbol();function TD(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function RD(){return TD(Ji())}function Xo(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(FD.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,Mr)}}class sr{has(t){return this.includesUnknownTypes||t===wD&&this.types.has(zr)?!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!==Mr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(zr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function jp(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Mr))try{let n=e.getData(Mr),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||zr,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(Si(r.getAsFile())):a.isDirectory&&t.push(Lp(a))}else t.push(Si(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function ID(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 Si(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||zr,name:e.name,getText:()=>ID(e),getFile:()=>Promise.resolve(e)}}function Lp(e){return{kind:"directory",name:e.name,getEntries:()=>KD(e)}}async function*KD(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 MD(n);yield Si(r)}else n.isDirectory&&(yield Lp(n))}while(u.length>0)}function MD(e){return new Promise((t,u)=>e.file(t,u))}let Op={draggingKeys:new Set};function zD(e){Op=e}let es=Ve.none,ts=new Map,us=null,ns=new Set;function VD(e){return ts.set(e.element,e),()=>{ts.delete(e.element)}}function ND(){let[e,t]=o.useState(us);return o.useEffect(()=>{let u=()=>t(us);return ns.add(u),()=>{ns.delete(u)}},[]),e}var Hp={};Hp={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 Up={};Up={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 Wp={};Wp={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 Zp={};Zp={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 qp={};qp={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 Gp={};Gp={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 Yp={};Yp={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 Jp={};Jp={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 Qp={};Qp={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 Xp={};Xp={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 e1={};e1={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 t1={};t1={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 u1={};u1={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 n1={};n1={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 r1={};r1={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 a1={};a1={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 i1={};i1={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 l1={};l1={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 o1={};o1={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 s1={};s1={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 d1={};d1={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 c1={};c1={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 f1={};f1={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 p1={};p1={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 m1={};m1={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 b1={};b1={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 h1={};h1={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 $1={};$1={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 g1={};g1={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 D1={};D1={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 v1={};v1={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 y1={};y1={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 x1={};x1={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 C1={};C1={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 E1={};E1={"ar-AE":Hp,"bg-BG":Up,"cs-CZ":Wp,"da-DK":Zp,"de-DE":qp,"el-GR":Gp,"en-US":Yp,"es-ES":Jp,"et-EE":Qp,"fi-FI":Xp,"fr-FR":e1,"he-IL":t1,"hr-HR":u1,"hu-HU":n1,"it-IT":r1,"ja-JP":a1,"ko-KR":i1,"lt-LT":l1,"lv-LV":o1,"nb-NO":s1,"nl-NL":d1,"pl-PL":c1,"pt-BR":f1,"pt-PT":p1,"ro-RO":m1,"ru-RU":b1,"sk-SK":h1,"sl-SI":$1,"sr-SP":g1,"sv-SE":D1,"tr-TR":v1,"uk-UA":y1,"zh-CN":x1,"zh-TW":C1};function _D(e){return e&&e.__esModule?e.default:e}const jD={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function LD(){let e=$e(_D(E1),"@react-aria/dnd"),t=RD(),u=ND();return{dropProps:{...$t(u?e.format(jD[t]):""),onClick:()=>{}}}}const OD=800;function HD(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:Ve.all,dropActivateTimer:void 0}).current,i=y=>{if(r(!0),typeof e.onDropEnter=="function"){let E=y.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:y.clientX-E.x,y:y.clientY-E.y})}},l=y=>{if(r(!1),typeof e.onDropExit=="function"){let E=y.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:y.clientX-E.x,y:y.clientY-E.y})}},s=y=>{y.preventDefault(),y.stopPropagation();let E=rs(y);if(y.clientX===a.x&&y.clientY===a.y&&E===a.allowedOperations){y.dataTransfer.dropEffect=a.dropEffect;return}a.x=y.clientX,a.y=y.clientY;let B=a.dropEffect;if(E!==a.allowedOperations){let S=Ga(E),I=S[0];if(typeof e.getDropOperation=="function"){let D=new sr(y.dataTransfer);I=dr(E,e.getDropOperation(D,S))}a.dropEffect=qa[I]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new sr(y.dataTransfer),I=y.currentTarget.getBoundingClientRect(),D=dr(E,e.getDropOperationForPoint(S,Ga(E),a.x-I.x,a.y-I.y));a.dropEffect=qa[D]||"none"}if(a.allowedOperations=E,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,I=y.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{S({type:"dropactivate",x:a.x-I.x,y:a.y-I.y})},OD)}},d=y=>{if(y.preventDefault(),y.stopPropagation(),a.dragOverElements.add(y.target),a.dragOverElements.size>1)return;let E=rs(y),B=Ga(E),S=B[0];if(typeof e.getDropOperation=="function"){let I=new sr(y.dataTransfer);S=dr(E,e.getDropOperation(I,B))}if(typeof e.getDropOperationForPoint=="function"){let I=new sr(y.dataTransfer),D=y.currentTarget.getBoundingClientRect();S=dr(E,e.getDropOperationForPoint(I,B,y.clientX-D.x,y.clientY-D.y))}a.x=y.clientX,a.y=y.clientY,a.allowedOperations=E,a.dropEffect=qa[S]||"none",y.dataTransfer.dropEffect=a.dropEffect,S!=="cancel"&&i(y)},c=y=>{y.preventDefault(),y.stopPropagation(),a.dragOverElements.delete(y.target);for(let E of a.dragOverElements)y.currentTarget.contains(E)||a.dragOverElements.delete(E);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=_p[a.dropEffect],S=jp(y.dataTransfer),I=y.currentTarget.getBoundingClientRect(),D={type:"drop",x:y.clientX-I.x,y:y.clientY-I.y,items:S,dropOperation:B};e.onDrop(D)}let E={...Op};a.dragOverElements.clear(),l(y),clearTimeout(a.dropActivateTimer),E.draggingCollectionRef==null||zD(E)},p=ie(y=>{typeof e.onDropEnter=="function"&&e.onDropEnter(y)}),m=ie(y=>{typeof e.onDropExit=="function"&&e.onDropExit(y)}),b=ie(y=>{typeof e.onDropActivate=="function"&&e.onDropActivate(y)}),$=ie(y=>{typeof e.onDrop=="function"&&e.onDrop(y)}),g=ie((y,E)=>e.getDropOperation?e.getDropOperation(y,E):E[0]),{ref:v}=e;Y(()=>{if(!(u||!v.current))return VD({element:v.current,getDropOperation:g,onDropEnter(y){r(!0),p(y)},onDropExit(y){r(!1),m(y)},onDrop:$,onDropActivate:b})},[u,v,g,p,m,$,b]);let{dropProps:x}=LD();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&x,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&x},isDropTarget:n}}function rs(e){let t=Np[e.dataTransfer.effectAllowed];es&&(t&=es);let u=Ve.none;return mt()?(e.altKey&&(u|=Ve.copy),e.ctrlKey&&!Li()&&(u|=Ve.link),e.metaKey&&(u|=Ve.move)):(e.altKey&&(u|=Ve.link),e.shiftKey&&(u|=Ve.move),e.ctrlKey&&(u|=Ve.copy)),u?t&u:t}function Ga(e){let t=[];return e&Ve.move&&t.push("move"),e&Ve.copy&&t.push("copy"),e&Ve.link&&t.push("link"),t}function dr(e,t){let u=Ve[t];return e&u?t:"cancel"}const Ya=new Map;function Ru(e,t){let u=Ya.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},Ya.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),Ya.delete(e))}}function UD(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=ea({onFocusChange:c=>{u.current=c}}),r=ie(c=>{u.current&&e.getItems&&c.preventDefault()}),a=ie(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;Xo(c.clipboardData,e.getItems()),(f=e.onCopy)===null||f===void 0||f.call(e)}}),i=ie(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=ie(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(Xo(c.clipboardData,e.getItems()),e.onCut()))}),s=ie(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=ie(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=jp(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return rt(Ru("beforecopy",r),Ru("copy",a),Ru("beforecut",i),Ru("cut",l),Ru("beforepaste",s),Ru("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const Sl=new WeakMap;function as(e,t){var u;let{id:n}=(u=Sl.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${WD(t)}`}function WD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class B1{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=Zt(ye(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=Zt(ye(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=ye(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Rt(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=ye(c,this.collection);var i;let p=(i=this.direction==="rtl"?Zt(f,u.index-1):Zt(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=ye(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Ft(c))===null||n===void 0?void 0:n.key:(r=Rt(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=ye(c,this.collection);var i;let p=(i=this.direction==="rtl"?Zt(f,u.index+1):Zt(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(ye(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(ye(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=ye(d,this.collection);var i;return(i=(a=Rt(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=ye(d,this.collection);var s;n=(s=(l=Rt(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(ye(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 ZD(t.layout):new Pi(t.ref)),this.focusMode=t.focusMode||"row"}}class ZD{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 Al=new WeakMap;var k1={};k1={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 P1={};P1={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 S1={};S1={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 A1={};A1={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 F1={};F1={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 w1={};w1={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 T1={};T1={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 R1={};R1={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 I1={};I1={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 K1={};K1={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 M1={};M1={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 z1={};z1={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 V1={};V1={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 N1={};N1={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 _1={};_1={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 j1={};j1={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 L1={};L1={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 O1={};O1={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 H1={};H1={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 U1={};U1={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 W1={};W1={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 Z1={};Z1={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 q1={};q1={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 G1={};G1={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 Y1={};Y1={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 J1={};J1={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 Q1={};Q1={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 X1={};X1={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 em={};em={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 tm={};tm={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 um={};um={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 nm={};nm={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 rm={};rm={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 am={};am={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 sa={};sa={"ar-AE":k1,"bg-BG":P1,"cs-CZ":S1,"da-DK":A1,"de-DE":F1,"el-GR":w1,"en-US":T1,"es-ES":R1,"et-EE":I1,"fi-FI":K1,"fr-FR":M1,"he-IL":z1,"hr-HR":V1,"hu-HU":N1,"it-IT":_1,"ja-JP":j1,"ko-KR":L1,"lt-LT":O1,"lv-LV":H1,"nb-NO":U1,"nl-NL":W1,"pl-PL":Z1,"pt-BR":q1,"pt-PT":G1,"ro-RO":Y1,"ru-RU":J1,"sk-SK":Q1,"sl-SI":X1,"sr-SP":em,"sv-SE":tm,"tr-TR":um,"uk-UA":nm,"zh-CN":rm,"zh-TW":am};function qD(e){return e&&e.__esModule?e.default:e}function im(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=$e(qD(sa),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r);yr(()=>{var i;if(!t.selectionManager.isFocused){a.current=r;return}let l=is(r,a.current),s=is(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&&pt(c.join(" ")),a.current=r},[r])}function is(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 GD(e){return e&&e.__esModule?e.default:e}function lm(e){let t=$e(GD(sa),"@react-aria/grid"),u=Ji(),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 $t(r)}function YD(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=en({usage:"search",sensitivity:"base"}),{direction:p}=fe(),m=t.selectionManager.disabledBehavior,b=o.useMemo(()=>r||new B1({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:$}=oa({ref:u,selectionManager:c,keyboardDelegate:b,isVirtualized:n,scrollRef:i}),g=re(e.id);Al.set(t,{keyboardDelegate:b,actions:{onRowAction:s,onCellAction:d}});let v=lm({selectionManager:c,hasItemActions:!!(s||d)}),x=O(e,{labelable:!0}),y=o.useCallback(I=>{if(c.isFocused){I.currentTarget.contains(I.target)||c.setFocused(!1);return}I.currentTarget.contains(I.target)&&c.setFocused(!0)},[c]),E=o.useMemo(()=>({onBlur:$.onBlur,onFocus:y}),[y,$.onBlur]),B=el(u,{isDisabled:t.collection.size!==0}),S=V(x,{role:"grid",id:g,"aria-multiselectable":c.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?E:$,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),im({getRowText:l},t),{gridProps:S}}function JD(){return{rowGroupProps:{role:"rowgroup"}}}function QD(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=Al.get(t),c=d.onRowAction?()=>{var $;return($=d.onRowAction)===null||$===void 0?void 0:$.call(d,a.key)}:s,{itemProps:f,...p}=tn({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?rt(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 om(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=fe(),{keyboardDelegate:d,actions:{onCellAction:c}}=Al.get(t),f=o.useRef(null),p=()=>{if(u.current){let y=Ae(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let E=t.selectionManager.childFocusStrategy==="last"?Ja(y):y.firstChild();if(E){xe(E);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&xe(u.current)}},{itemProps:m,isPressed:b}=tn({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=V(m,{role:"gridcell",onKeyDownCapture:y=>{if(!y.currentTarget.contains(y.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let E=Ae(u.current);switch(E.currentNode=document.activeElement,y.key){case"ArrowLeft":{let A=s==="rtl"?E.nextNode():E.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)})):(E.currentNode=u.current,A=s==="rtl"?E.firstChild():Ja(E),A&&(xe(A),Me(A,{containingElement:Ke(u.current)})))}break}case"ArrowRight":{let A=s==="rtl"?E.previousNode():E.nextNode();if(a==="child"&&A===u.current&&(A=null),y.preventDefault(),y.stopPropagation(),A)xe(A),Me(A,{containingElement:Ke(u.current)});else{var I;if(((I=d.getKeyRightOf)===null||I===void 0?void 0:I.call(d,n.key))!==n.key){var D;(D=u.current.parentElement)===null||D===void 0||D.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent));break}a==="cell"&&s==="ltr"?(xe(u.current),Me(u.current,{containingElement:Ke(u.current)})):(E.currentNode=u.current,A=s==="rtl"?Ja(E):E.firstChild(),A&&(xe(A),Me(A,{containingElement:Ke(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!y.altKey&&u.current.contains(y.target)){var R;y.stopPropagation(),y.preventDefault(),(R=u.current.parentElement)===null||R===void 0||R.dispatchEvent(new KeyboardEvent(y.nativeEvent.type,y.nativeEvent))}break}},onFocus:y=>{if(f.current=n.key,y.target!==u.current){Xt()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{a==="child"&&document.activeElement===u.current&&p()})}});var x;return r&&(v["aria-colindex"]=((x=n.colIndex)!==null&&x!==void 0?x:n.index)+1),i&&v.tabIndex!=null&&v.onPointerDown==null&&(v.onPointerDown=y=>{let E=y.currentTarget,B=E.getAttribute("tabindex");E.removeAttribute("tabindex"),requestAnimationFrame(()=>{B!=null&&E.setAttribute("tabindex",B)})}),{gridCellProps:v,isPressed:b}}function Ja(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function XD(e){return e&&e.__esModule?e.default:e}function ev(e,t){let{key:u}=e,n=t.selectionManager,r=re(),a=!t.selectionManager.canSelectItem(u),i=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=$e(XD(sa),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function tv(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}=xl({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=re(e.id);Sl.set(t,{id:c,onAction:i,linkBehavior:l,keyboardNavigationBehavior:s});let f=lm({selectionManager:t.selectionManager,hasItemActions:!!i}),p=el(u,{isDisabled:t.collection.size!==0}),m=O(e,{labelable:!0}),b=V(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),im({},t),{gridProps:b}}const ls={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function uv(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=fe(),{onAction:d,linkBehavior:c,keyboardNavigationBehavior:f}=Sl.get(t),p=nt(),m=o.useRef(null),b=()=>{var w;u.current!==null&&(m.current!=null&&a.key!==m.current||!(!((w=u.current)===null||w===void 0)&&w.contains(document.activeElement)))&&xe(u.current)},$={},g,v=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var x,y,E;let w=(x=(y=t.collection).getChildren)===null||x===void 0?void 0:x.call(y,a.key);g=[...w??[]].length>1,d==null&&!v&&t.selectionManager.selectionMode==="none"&&g&&(d=()=>t.toggleKey(a.key));let T=g?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,I;let j=(S=(I=t.collection).getChildren)===null||S===void 0?void 0:S.call(I,K.key);P=Rt(j).index+1}}else P=((B=(E=[...t.collection].filter(K=>K.level===0).at(-1))===null||E===void 0?void 0:E.index)!==null&&B!==void 0?B:0)+1;$={"aria-expanded":T,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":P}}let{itemProps:D,...R}=tn({selectionManager:t.selectionManager,key:a.key,ref:u,isVirtualized:i,shouldSelectOnPressUp:l,onAction:d||!((n=a.props)===null||n===void 0)&&n.onAction?rt((r=a.props)===null||r===void 0?void 0:r.onAction,d?()=>d(a.key):void 0):void 0,focus:b,linkBehavior:c}),A=w=>{if(!w.currentTarget.contains(w.target)||!u.current||!document.activeElement)return;let T=Ae(u.current);if(T.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(w.key===ls.expand[s]&&t.selectionManager.focusedKey===a.key&&g&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}else if(w.key===ls.collapse[s]&&t.selectionManager.focusedKey===a.key&&g&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),w.stopPropagation();return}}switch(w.key){case"ArrowLeft":if(f==="arrow"){let K=s==="rtl"?T.nextNode():T.previousNode();if(K)w.preventDefault(),w.stopPropagation(),xe(K),Me(K,{containingElement:Ke(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="rtl")xe(u.current),Me(u.current,{containingElement:Ke(u.current)});else{T.currentNode=u.current;let j=os(T);j&&(xe(j),Me(j,{containingElement:Ke(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let K=s==="rtl"?T.previousNode():T.nextNode();if(K)w.preventDefault(),w.stopPropagation(),xe(K),Me(K,{containingElement:Ke(u.current)});else if(w.preventDefault(),w.stopPropagation(),s==="ltr")xe(u.current),Me(u.current,{containingElement:Ke(u.current)});else{T.currentNode=u.current;let j=os(T);j&&(xe(j),Me(j,{containingElement:Ke(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!w.altKey&&u.current.contains(w.target)){var P;w.stopPropagation(),w.preventDefault(),(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(w.nativeEvent.type,w.nativeEvent))}break;case"Tab":if(f==="tab"){let K=Ae(u.current,{tabbable:!0});K.currentNode=document.activeElement,(w.shiftKey?K.previousNode():K.nextNode())&&w.stopPropagation()}}},k=w=>{if(m.current=a.key,w.target!==u.current){Xt()||t.selectionManager.setFocusedKey(a.key);return}},z=Hi(a.props),C=R.hasAction?z:{},F=V(D,C,{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?`${as(t,a.key)} ${p}`:void 0,id:as(t,a.key)});i&&(F["aria-rowindex"]=a.index+1);let N={role:"gridcell","aria-colindex":1};return{rowProps:{...V(F,$)},gridCellProps:N,descriptionProps:{id:p},...R}}function os(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function nv(e){let{value:t=0,minValue:u=0,maxValue:n=100,valueLabel:r,isIndeterminate:a,formatOptions:i={style:"percent"}}=e,l=O(e,{labelable:!0}),{labelProps:s,fieldProps:d}=$l({...e,labelElementType:"span"});t=En(t,u,n);let c=(t-u)/(n-u),f=pg(i);if(!a&&!r){let p=i.style==="percent"?c:t;r=f.format(p)}return{progressBarProps:V(l,{...d,"aria-valuenow":a?void 0:t,"aria-valuemin":u,"aria-valuemax":n,"aria-valuetext":a?void 0:r,role:"progressbar"}),labelProps:s}}const sm=new WeakMap;function rv(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=D=>{D.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=We({isDisabled:l}),{pressProps:b,isPressed:$}=We({isDisabled:l,onPress(){t.setSelectedValue(n)}}),{focusableProps:g}=Su(V(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),v=V(p,g),x=O(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:E,descriptionId:B,errorMessageId:S,validationBehavior:I}=sm.get(t);return Vn(u,t.selectedValue,t.setSelectedValue),Hn({validationBehavior:I},t,u),{labelProps:V(b,{onClick:D=>D.preventDefault()}),inputProps:V(x,{...v,type:"radio",name:E,tabIndex:y,disabled:l,required:t.isRequired&&I==="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||$}}function av(e,t){let{name:u,isReadOnly:n,isRequired:r,isDisabled:a,orientation:i="vertical",validationBehavior:l="aria"}=e,{direction:s}=fe(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:b,errorMessageProps:$}=iu({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),g=O(e,{labelable:!0}),{focusWithinProps:v}=st({onBlurWithin(E){var B;(B=e.onBlur)===null||B===void 0||B.call(e,E),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=E=>{let B;switch(E.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}E.preventDefault();let S=Ae(E.currentTarget,{from:E.target}),I;B==="next"?(I=S.nextNode(),I||(S.currentNode=E.currentTarget,I=S.firstChild())):(I=S.previousNode(),I||(S.currentNode=E.currentTarget,I=S.lastChild())),I&&(I.focus(),t.setSelectedValue(I.value))},y=re(u);return sm.set(t,{name:y,descriptionId:b.id,errorMessageId:$.id,validationBehavior:l}),{radioGroupProps:V(g,{role:"radiogroup",onKeyDown:x,"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:$,isInvalid:d,validationErrors:c,validationDetails:f}}var dm={};dm={"Clear search":"مسح البحث"};var cm={};cm={"Clear search":"Изчистване на търсене"};var fm={};fm={"Clear search":"Vymazat hledání"};var pm={};pm={"Clear search":"Ryd søgning"};var mm={};mm={"Clear search":"Suche zurücksetzen"};var bm={};bm={"Clear search":"Απαλοιφή αναζήτησης"};var hm={};hm={"Clear search":"Clear search"};var $m={};$m={"Clear search":"Borrar búsqueda"};var gm={};gm={"Clear search":"Tühjenda otsing"};var Dm={};Dm={"Clear search":"Tyhjennä haku"};var vm={};vm={"Clear search":"Effacer la recherche"};var ym={};ym={"Clear search":"נקה חיפוש"};var xm={};xm={"Clear search":"Obriši pretragu"};var Cm={};Cm={"Clear search":"Keresés törlése"};var Em={};Em={"Clear search":"Cancella ricerca"};var Bm={};Bm={"Clear search":"検索をクリア"};var km={};km={"Clear search":"검색 지우기"};var Pm={};Pm={"Clear search":"Išvalyti iešką"};var Sm={};Sm={"Clear search":"Notīrīt meklēšanu"};var Am={};Am={"Clear search":"Tøm søk"};var Fm={};Fm={"Clear search":"Zoekactie wissen"};var wm={};wm={"Clear search":"Wyczyść zawartość wyszukiwania"};var Tm={};Tm={"Clear search":"Limpar pesquisa"};var Rm={};Rm={"Clear search":"Limpar pesquisa"};var Im={};Im={"Clear search":"Ştergeţi căutarea"};var Km={};Km={"Clear search":"Очистить поиск"};var Mm={};Mm={"Clear search":"Vymazať vyhľadávanie"};var zm={};zm={"Clear search":"Počisti iskanje"};var Vm={};Vm={"Clear search":"Obriši pretragu"};var Nm={};Nm={"Clear search":"Rensa sökning"};var _m={};_m={"Clear search":"Aramayı temizle"};var jm={};jm={"Clear search":"Очистити пошук"};var Lm={};Lm={"Clear search":"清除搜索"};var Om={};Om={"Clear search":"清除搜尋條件"};var Hm={};Hm={"ar-AE":dm,"bg-BG":cm,"cs-CZ":fm,"da-DK":pm,"de-DE":mm,"el-GR":bm,"en-US":hm,"es-ES":$m,"et-EE":gm,"fi-FI":Dm,"fr-FR":vm,"he-IL":ym,"hr-HR":xm,"hu-HU":Cm,"it-IT":Em,"ja-JP":Bm,"ko-KR":km,"lt-LT":Pm,"lv-LV":Sm,"nb-NO":Am,"nl-NL":Fm,"pl-PL":wm,"pt-BR":Tm,"pt-PT":Rm,"ro-RO":Im,"ru-RU":Km,"sk-SK":Mm,"sl-SI":zm,"sr-SP":Vm,"sv-SE":Nm,"tr-TR":_m,"uk-UA":jm,"zh-CN":Lm,"zh-TW":Om};function iv(e){return e&&e.__esModule?e.default:e}function lv(e,t,u){let n=$e(iv(Hm),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:a,onSubmit:i,onClear:l,type:s="search"}=e,d=v=>{const x=v.key;x==="Enter"&&(r||a)&&v.preventDefault(),!(r||a)&&(x==="Enter"&&i&&(v.preventDefault(),i(t.value)),x==="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:$,...g}=gl({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:rt(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:$,...g}}const Fl=new WeakMap;function Ai(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function ov(e,t){let u=Fl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${Ai(t)}`}function Um(e,t,u){let n=Fl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${Ai(t)}-${Ai(u)}`}function Wm(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>Um(e,t,u)).join(" ")}var Zm={};Zm={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var qm={};qm={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var Gm={};Gm={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 Ym={};Ym={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 Jm={};Jm={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 Qm={};Qm={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var Xm={};Xm={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 e0={};e0={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 t0={};t0={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 u0={};u0={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 n0={};n0={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 r0={};r0={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var a0={};a0={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 i0={};i0={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 l0={};l0={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 o0={};o0={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var s0={};s0={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var d0={};d0={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 c0={};c0={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 f0={};f0={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 p0={};p0={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 m0={};m0={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 b0={};b0={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 h0={};h0={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 $0={};$0={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 g0={};g0={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var D0={};D0={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 v0={};v0={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 y0={};y0={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 x0={};x0={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 C0={};C0={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 E0={};E0={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var B0={};B0={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var k0={};k0={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var da={};da={"ar-AE":Zm,"bg-BG":qm,"cs-CZ":Gm,"da-DK":Ym,"de-DE":Jm,"el-GR":Qm,"en-US":Xm,"es-ES":e0,"et-EE":t0,"fi-FI":u0,"fr-FR":n0,"he-IL":r0,"hr-HR":a0,"hu-HU":i0,"it-IT":l0,"ja-JP":o0,"ko-KR":s0,"lt-LT":d0,"lv-LV":c0,"nb-NO":f0,"nl-NL":p0,"pl-PL":m0,"pt-BR":b0,"pt-PT":h0,"ro-RO":$0,"ru-RU":g0,"sk-SK":D0,"sl-SI":v0,"sr-SP":y0,"sv-SE":x0,"tr-TR":C0,"uk-UA":E0,"zh-CN":B0,"zh-TW":k0};class sv extends B1{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(ye(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=Zt(ye(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 ye(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=[...ye(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 ye(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 dv=!1;function Vr(){return dv}function cv(e){return e&&e.__esModule?e.default:e}function fv(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=en({usage:"search",sensitivity:"base"}),{direction:s}=fe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new sv({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=re(e.id);Fl.set(t,f);let{gridProps:p}=YD({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Vr()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},$=$e(cv(da),"@react-aria/table"),g=o.useMemo(()=>{var x,y;let E=(y=(x=t.collection.columns.find(B=>B.key===m))===null||x===void 0?void 0:x.textValue)!==null&&y!==void 0?y:"";return b&&m?$.format(`${b}Sort`,{columnName:E}):void 0},[b,m,t.collection.columns]),v=$t(g);return yr(()=>{g&&pt(g,"assertive",500)},[g]),{gridProps:V(p,v,{"aria-describedby":[v["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function pv(e){return e&&e.__esModule?e.default:e}function mv(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=om({...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&&!xn()&&(f=p?m:"none");let b=$e(pv(da),"@react-aria/table"),$;i&&($=`${b.format("sortable")}`,p&&m&&xn()&&($=`${$}, ${b.format(m)}`));let g=$t($),v=t.collection.size===0;return o.useEffect(()=>{v&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,a.key]),{columnHeaderProps:{...V(l,d,c,g,v?{tabIndex:-1}:null),role:"columnheader",id:ov(t,a.key),"aria-colspan":a.colspan&&a.colspan>1?a.colspan:void 0,"aria-sort":f}}}const ss={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function bv(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=QD(e,t,u),{direction:l}=fe();r&&!(Vr()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(Vr()&&"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 $,g,v,x;s={onKeyDown:I=>{(I.key===ss.expand[l]&&t.selectionManager.focusedKey===B.key&&S&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||I.key===ss.collapse[l]&&t.selectionManager.focusedKey===B.key&&S&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),I.stopPropagation())},"aria-expanded":S?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":(($=B.indexOfType)!==null&&$!==void 0?$:0)+1,"aria-setsize":B.level>1?((v=(p=Rt((g=(m=t.keyMap.get(B.parentKey))===null||m===void 0?void 0:m.childNodes)!==null&&g!==void 0?g:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&v!==void 0?v:0)+1:((x=(b=Rt(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&x!==void 0?x:0)+1}}}let y=Hi(n.props),E=i.hasAction?y:{};return{rowProps:{...V(a,s,E),"aria-labelledby":Wm(t,n.key)},...i}}function hv(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(Vr()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function $v(e,t,u){var n;let{gridCellProps:r,isPressed:a}=om(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=Um(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function gv(e){return e&&e.__esModule?e.default:e}function Dv(e,t){let{key:u}=e;const{checkboxProps:n}=ev(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${Wm(t,u)}`}}}function vv(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":$e(gv(da),"@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 P0(){return JD()}const S0=new WeakMap;function Nr(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${S0.get(e)}-${u}-${t}`):""}function yv(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}=tn({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=Nr(t,n,"tab"),m=Nr(t,n,"tabpanel"),{tabIndex:b}=c,$=t.collection.getItem(n),g=O($==null?void 0:$.props,{labelable:!0});delete g.id;let v=Jr($==null?void 0:$.props);return{tabProps:V(g,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 xv(e,t,u){let n=el(u)?void 0:0;var r;const a=Nr(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=bt({...e,id:a,"aria-labelledby":Nr(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:V(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class Cv{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 Ev(e,t,u){let{orientation:n="horizontal",keyboardActivation:r="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:l}=t,{direction:s}=fe(),d=o.useMemo(()=>new Cv(a,s,n,l),[a,l,n,s]),{collectionProps:c}=oa({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=re();S0.set(t,f);let p=bt({...e,id:f});return{tabListProps:{...V(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const A0=new WeakMap;function Bv(e,t,u){let{direction:n}=fe(),r=e.keyboardDelegate||new un({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=iu({...e,labelElementType:"span"}),{gridProps:d}=tv({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=st({onFocusWithinChange:f}),m=O(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]),A0.set(t,{onRemove:e.onRemove}),{gridProps:V(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 F0={};F0={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var w0={};w0={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var T0={};T0={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var R0={};R0={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var I0={};I0={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var K0={};K0={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var M0={};M0={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var z0={};z0={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var V0={};V0={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var N0={};N0={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var _0={};_0={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var j0={};j0={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var L0={};L0={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var O0={};O0={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var H0={};H0={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var U0={};U0={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var W0={};W0={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var Z0={};Z0={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var q0={};q0={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var G0={};G0={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var Y0={};Y0={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var J0={};J0={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var Q0={};Q0={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var X0={};X0={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var eb={};eb={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var tb={};tb={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var ub={};ub={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var nb={};nb={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var rb={};rb={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var ab={};ab={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var ib={};ib={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var lb={};lb={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var ob={};ob={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var sb={};sb={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var db={};db={"ar-AE":F0,"bg-BG":w0,"cs-CZ":T0,"da-DK":R0,"de-DE":I0,"el-GR":K0,"en-US":M0,"es-ES":z0,"et-EE":V0,"fi-FI":N0,"fr-FR":_0,"he-IL":j0,"hr-HR":L0,"hu-HU":O0,"it-IT":H0,"ja-JP":U0,"ko-KR":W0,"lt-LT":Z0,"lv-LV":q0,"nb-NO":G0,"nl-NL":Y0,"pl-PL":J0,"pt-BR":Q0,"pt-PT":X0,"ro-RO":eb,"ru-RU":tb,"sk-SK":ub,"sl-SI":nb,"sr-SP":rb,"sv-SE":ab,"tr-TR":ib,"uk-UA":lb,"zh-CN":ob,"zh-TW":sb};function kv(e){return e&&e.__esModule?e.default:e}function Pv(e,t,u){let{item:n}=e,r=$e(kv(db),"@react-aria/tag"),a=re(),{onRemove:i}=A0.get(t)||{},{rowProps:l,gridCellProps:s,...d}=uv({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=Ji();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let $=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",g=$t($),v=n.key===t.selectionManager.focusedKey,x=t.selectionManager.focusedKey!=null,y=-1;!p&&(v||!x)&&(y=0);let E=O(n.props),B=Hi(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:V(l,E,B,{tabIndex:y,onKeyDown:i?m:void 0,"aria-describedby":g["aria-describedby"]}),gridCellProps:V(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}function Sv(e,t){let u=O(e,{labelable:!0}),{hoverProps:n}=ve({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:V(u,n,{role:"tooltip"})}}function Av(e,t,u){let{isDisabled:n,trigger:r}=e,a=re(),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=x=>{u&&u.current&&x.key==="Escape"&&(x.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",v,!0),()=>{document.removeEventListener("keydown",v,!0)}},[u,t]);let c=()=>{r!=="focus"&&(eu()==="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=()=>{Xt()&&(l.current=!0,s())},b=()=>{l.current=!1,i.current=!1,d(!0)},{hoverProps:$}=ve({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:g}=Su({isDisabled:n,onFocus:m,onBlur:b},u);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...V(g,$,{onPointerDown:p,onKeyDown:p})},tooltipProps:{id:a}}}const cb=o.createContext(null),Fv=o.forwardRef(function(t,u){[t,u]=Q(t,u,cb);let{value:n=0,minValue:r=0,maxValue:a=100,isIndeterminate:i=!1}=t;n=En(n,r,a);let[l,s]=ot(),{progressBarProps:d,labelProps:c}=nv({...t,label:s}),f=i?void 0:(n-r)/(a-r)*100,p=U({...t,defaultClassName:"react-aria-ProgressBar",values:{percentage:f,valueText:d["aria-valuetext"],isIndeterminate:i}});return o.createElement("div",{...d,...p,ref:u,slot:t.slot||void 0},o.createElement(Dt.Provider,{value:{...c,ref:l,elementType:"span"}},p.children))}),wv=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),dt=o.createContext({}),zt=Xr(function(t,u){[t,u]=Q(t,u,dt),t=Tv(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=bl(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=ce(t),{hoverProps:c,isHovered:f}=ve({...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=U({...t,values:p,defaultClassName:"react-aria-Button"}),b=re(a.id),$=re(),g=a["aria-labelledby"];r&&(g?g=`${g} ${$}`:a["aria-label"]&&(g=`${b} ${$}`));let v=o.useRef(r);return o.useEffect(()=>{let x={"aria-labelledby":g||b};(!v.current&&s&&r||v.current&&s&&!r)&&pt(x,"assertive"),v.current=r},[r,s,g,b]),o.createElement("button",{...O(t,{propNames:wv}),...V(a,l,c),...m,type:a.type==="submit"&&r?"button":a.type,id:b,ref:u,"aria-labelledby":g,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(cb.Provider,{value:{id:$}},m.children))});function Tv(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 Ue=o.createContext({}),yt=o.forwardRef(function(t,u){[t,u]=Q(t,u,Ue);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),_t=o.createContext(null),Zn=o.forwardRef(function(t,u){let n=o.useContext(_t);return n!=null&&n.isInvalid?o.createElement(Rv,{...t,ref:u}):null}),Rv=o.forwardRef((e,t)=>{let u=o.useContext(_t),n=O(e),r=U({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(yt,{slot:"errorMessage",...n,...r,ref:t})});function Zu(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function Fi(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=Du(e,t,u).subtract(a);return Kn(e,i,t,u,n,r)}function Du(e,t,u,n,r){let a=e;return t.years?a=p6(e):t.months?a=Cu(e):t.weeks&&(a=Fn(e,u)),Kn(e,a,t,u,n,r)}function wi(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=Du(e,t,u).subtract(a);return Kn(e,i,t,u,n,r)}function Kn(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=al(t,Du(Ne(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=rl(t,wi(Ne(a),u,n));i&&(t=i)}return t}function Ht(e,t,u){if(t){let n=al(e,Ne(t));n&&(e=n)}if(u){let n=rl(e,Ne(u));n&&(e=n)}return e}function fb(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 pb(e){let t=o.useMemo(()=>new ut(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,$]=Re(e.value,(m=e.defaultValue)!==null&&m!==void 0?m:null,e.onChange),g=o.useMemo(()=>b?he(Ne(b),p):null,[b,p]),v=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),x=o.useMemo(()=>e.focusedValue?Ht(he(Ne(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),y=o.useMemo(()=>Ht(e.defaultFocusedValue?he(Ne(e.defaultFocusedValue),p):g||he(nl(v),p),i,l),[e.defaultFocusedValue,g,v,p,i,l]),[E,B]=Re(x,y,e.onFocusChange),[S,I]=o.useState(()=>{switch(s){case"start":return Du(E,a,n,i,l);case"end":return wi(E,a,n,i,l);case"center":default:return Fi(E,a,n,i,l)}}),[D,R]=o.useState(e.autoFocus||!1),A=o.useMemo(()=>{let _={...a};return _.days?_.days--:_.days=-1,S.add(_)},[S,a]),[k,z]=o.useState(p.identifier);if(p.identifier!==k){let _=he(E,p);I(Fi(_,a,n,i,l)),B(_),z(p.identifier)}Zu(E,i,l)?B(Ht(E,i,l)):E.compare(S)<0?I(wi(E,a,n,i,l)):E.compare(A)>0&&I(Du(E,a,n,i,l));function C(_){_=Ht(_,i,l),B(_)}function F(_){if(!e.isDisabled&&!e.isReadOnly){let W=_;if(W===null){$(null);return}if(W=Ht(W,i,l),W=fb(W,S,d),!W)return;W=he(W,(b==null?void 0:b.calendar)||new He),b&&"hour"in b?$(b.set(W)):$(W)}}let N=o.useMemo(()=>g?d&&d(g)?!0:Zu(g,i,l):!1,[g,d,i,l]),w=e.isInvalid||e.validationState==="invalid"||N,T=w?"invalid":null,P=o.useMemo(()=>c==="visible"?a:Qa(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:g,setValue:F,visibleRange:{start:S,end:A},minValue:i,maxValue:l,focusedDate:E,timeZone:v,validationState:T,isValueInvalid:w,setFocusedDate(_){C(_),R(!0)},focusNextDay(){C(E.add({days:1}))},focusPreviousDay(){C(E.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&C(E.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&C(E.subtract({weeks:1}))},focusNextPage(){let _=S.add(P);B(Ht(E.add(P),i,l)),I(Du(Kn(E,_,P,n,i,l),P,n))},focusPreviousPage(){let _=S.subtract(P);B(Ht(E.subtract(P),i,l)),I(Du(Kn(E,_,P,n,i,l),P,n))},focusSectionStart(){a.days?C(S):a.weeks?C(Fn(E,n)):(a.months||a.years)&&C(Cu(E))},focusSectionEnd(){a.days?C(A):a.weeks?C(h6(E,n)):(a.months||a.years)&&C(Pr(E))},focusNextSection(_){if(!_&&!a.days){C(E.add(Qa(a)));return}a.days?this.focusNextPage():a.weeks?C(E.add({months:1})):(a.months||a.years)&&C(E.add({years:1}))},focusPreviousSection(_){if(!_&&!a.days){C(E.subtract(Qa(a)));return}a.days?this.focusPreviousPage():a.weeks?C(E.subtract({months:1})):(a.months||a.years)&&C(E.subtract({years:1}))},selectFocusedDate(){d&&d(E)||F(E)},selectDate(_){F(_)},isFocused:D,setFocused:R,isInvalid(_){return Zu(_,i,l)},isSelected(_){return g!=null&&Se(_,g)&&!this.isCellDisabled(_)&&!this.isCellUnavailable(_)},isCellFocused(_){return D&&E&&Se(_,E)},isCellDisabled(_){return e.isDisabled||_.compare(S)<0||_.compare(A)>0||this.isInvalid(_)},isCellUnavailable(_){return e.isDateUnavailable?e.isDateUnavailable(_):!1},isPreviousVisibleRangeInvalid(){let _=S.subtract({days:1});return Se(_,S)||this.isInvalid(_)},isNextVisibleRangeInvalid(){let _=A.add({days:1});return Se(_,A)||this.isInvalid(_)},getDatesInWeek(_,W=S){let X=W.add({weeks:_}),ee=[];X=Fn(X,n,f);let be=ul(X,n,f);for(let le=0;le<be;le++)ee.push(null);for(;ee.length<7;){ee.push(X);let le=X.add({days:1});if(Se(X,le))break;X=le}for(;ee.length<7;)ee.push(null);return ee}}}function Qa(e){let t={...e};for(let u in e)t[u]=1;return t}function Iv(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=Fi(Ne(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(P)>0&&(b="start")}let $=o.useRef(null),[g,v]=o.useState(null),x=o.useMemo(()=>al(l,g==null?void 0:g.start),[l,g]),y=o.useMemo(()=>rl(s,g==null?void 0:g.end),[s,g]),E=pb({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:x,maxValue:y,selectionAlignment:b}),B=T=>{if(T&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const P=cs(T,E,-1),K=cs(T,E,1);$.current={start:P,end:K},v($.current)}else $.current=null,v(null)},[S,I]=o.useState(E.visibleRange);(!pi(E.visibleRange.start,S.start)||!pi(E.visibleRange.end,S.end))&&(B(p),I(E.visibleRange));let D=T=>{T?(m(T),B(T)):(m(null),B(null))},R=p?Xa(p,E.focusedDate):c&&Xa(c.start,c.end),A=T=>{if(e.isReadOnly)return;const P=Ht(T,x,y),K=fb(P,E.visibleRange.start,e.isDateUnavailable);if(K)if(!p)D(K);else{let j=Xa(p,K);j&&f({start:ds(j.start,c==null?void 0:c.start),end:ds(j.end,c==null?void 0:c.end)}),D(null)}},[k,z]=o.useState(!1),{isDateUnavailable:C}=e,F=o.useMemo(()=>!c||p?!1:C&&(C(c.start)||C(c.end))?!0:Zu(c.start,l,s)||Zu(c.end,l,s),[C,c,p,l,s]),N=e.isInvalid||e.validationState==="invalid"||F;return{...E,value:c,setValue:f,anchorDate:p,setAnchorDate:D,highlightedRange:R,validationState:N?"invalid":null,isValueInvalid:N,selectFocusedDate(){A(E.focusedDate)},selectDate:A,highlightDate(T){p&&E.setFocusedDate(T)},isSelected(T){return!!(R&&T.compare(R.start)>=0&&T.compare(R.end)<=0&&!E.isCellDisabled(T)&&!E.isCellUnavailable(T))},isInvalid(T){var P,K;return E.isInvalid(T)||Zu(T,(P=$.current)===null||P===void 0?void 0:P.start,(K=$.current)===null||K===void 0?void 0:K.end)},isDragging:k,setDragging:z}}function Xa(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Ne(e),end:Ne(t)})}function ds(e,t){return e=he(e,(t==null?void 0:t.calendar)||new He),t&&"hour"in t?t.set(e):e}function cs(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 Kv(e={}){let[t,u]=Re(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,r=o.useRef(new Map),a=vt({...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(In(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class Ti{*[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 it extends Set{constructor(t,u,n){super(t),t instanceof it?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function Mv(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function qn(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(()=>fs(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>fs(e.defaultSelectedKeys,new it),[e.defaultSelectedKeys]),[m,b]=Re(f,p,e.onSelectionChange),$=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[g,v]=o.useState(r);r==="replace"&&g==="toggle"&&typeof m=="object"&&m.size===0&&v("replace");let x=o.useRef(r);return o.useEffect(()=>{r!==x.current&&(v(r),x.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:g,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,E="first"){s.current=y,d.current=E,c(y)},selectedKeys:m,setSelectedKeys(y){(n||!Mv(y,m))&&b(y)},disabledKeys:$,disabledBehavior:a}}function fs(e,t){return e?e==="all"?"all":new it(e):t}class ca{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&&Za(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&&Za(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 it([u],u,u);else{let i=this.state.selectedKeys;var r;let l=(r=i.anchorKey)!==null&&r!==void 0?r:u;n=new it(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?Za(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 it(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 it([u],u,u):new it;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new it;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(ye(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 it)}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 fa(e){let{filter:t,layoutDelegate:u}=e,n=qn(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(c=>t?new Ti(t(c)):new Ti(c),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=Cl(e,a,i),s=o.useMemo(()=>new ca(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),x=[...d.current.getKeys()].map(D=>{const R=d.current.getItem(D);return(R==null?void 0:R.type)==="item"?R:null}).filter(D=>D!==null),y=[...l.getKeys()].map(D=>{const R=l.getItem(D);return(R==null?void 0:R.type)==="item"?R:null}).filter(D=>D!==null);var c,f;const E=((c=x==null?void 0:x.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(E>1?Math.max(((p=v==null?void 0:v.index)!==null&&p!==void 0?p:0)-E+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,I=!1;for(;B>=0;){if(!s.isDisabled(y[B].key)){S=y[B];break}if(B<y.length-1&&!I)B++;else{I=!0;var $,g;B>(($=v==null?void 0:v.index)!==null&&$!==void 0?$:0)&&(B=(g=v==null?void 0:v.index)!==null&&g!==void 0?g:0),B--}}n.setFocusedKey(S?S.key:null)}d.current=l},[l,s,n,n.focusedKey]),{collection:l,disabledKeys:r,selectionManager:s}}function mb(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}=fa({...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 Au(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 zv(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&&(ee(),_())};var b;let{collection:$,selectionManager:g,selectedKey:v,setSelectedKey:x,selectedItem:y,disabledKeys:E}=mb({...e,onSelectionChange:m,items:(b=e.items)!==null&&b!==void 0?b:e.defaultItems}),B=e.defaultInputValue;if(B==null){var S,I;v==null?B="":B=(I=(S=$.getItem(v))===null||S===void 0?void 0:S.textValue)!==null&&I!==void 0?I:""}let[D,R]=Re(e.inputValue,B,e.onInputChange),A=$,k=o.useMemo(()=>e.items!=null||!u?$:Vv($,D,u),[$,D,u,e.items]),[z,C]=o.useState(k),F=o.useRef("focus"),w=Au({...e,onOpenChange:ue=>{e.onOpenChange&&e.onOpenChange(ue,ue?F.current:void 0),g.setFocused(ue),ue||g.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),T=(ue=null,ge)=>{let we=ge==="manual"||ge==="focus"&&n==="focus";(r||k.size>0||we&&A.size>0||e.items)&&(we&&!w.isOpen&&e.items===void 0&&s(!0),F.current=ge,p(ue),w.open())},P=(ue=null,ge)=>{let we=ge==="manual"||ge==="focus"&&n==="focus";!(r||k.size>0||we&&A.size>0||e.items)&&!w.isOpen||(we&&!w.isOpen&&e.items===void 0&&s(!0),w.isOpen||(F.current=ge),j(ue))},K=o.useCallback(()=>{C(l?A:k)},[l,A,k]),j=o.useCallback((ue=null)=>{w.isOpen&&K(),p(ue),w.toggle()},[w,K]),_=o.useCallback(()=>{w.isOpen&&(K(),w.close())},[w,K]),[W,X]=o.useState(D),ee=()=>{var ue,ge;let we=v!=null&&(ge=(ue=$.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";X(we),R(we)};var be,le;let de=o.useRef((le=(be=e.selectedKey)!==null&&be!==void 0?be:e.defaultSelectedKey)!==null&&le!==void 0?le:null);var M;let Z=o.useRef(v!=null&&(M=(t=$.getItem(v))===null||t===void 0?void 0:t.textValue)!==null&&M!==void 0?M:"");o.useEffect(()=>{var ue;d&&(k.size>0||r)&&!w.isOpen&&D!==W&&n!=="manual"&&T(null,"input"),!l&&!r&&w.isOpen&&k.size===0&&_(),v!=null&&v!==de.current&&_(),D!==W&&(g.setFocusedKey(null),s(!1),D===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&x(null)),v!==de.current&&(e.inputValue===void 0||e.selectedKey===void 0)?ee():W!==D&&X(D);var ge;let we=v!=null&&(ge=(ue=$.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";!d&&v!=null&&e.inputValue===void 0&&v===de.current&&Z.current!==we&&(X(we),R(we)),de.current=v,Z.current=we});let J=vt({...e,value:o.useMemo(()=>({inputValue:D,selectedKey:v}),[D,v])}),L=()=>{a&&v==null?q():oe()},q=()=>{de.current=null,x(null),_()},oe=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ue,ge;(ue=e.onSelectionChange)===null||ue===void 0||ue.call(e,v);var we;let v2=v!=null&&(we=(ge=$.getItem(v))===null||ge===void 0?void 0:ge.textValue)!==null&&we!==void 0?we:"";X(v2),_()}else ee(),_()};const Ze=()=>{if(a){var ue,ge;const we=v!=null&&(ge=(ue=$.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";D===we?oe():q()}else oe()};let ae=()=>{w.isOpen&&g.focusedKey!=null?v===g.focusedKey?oe():x(g.focusedKey):Ze()},Lt=o.useRef(D),su=ue=>{ue?(Lt.current=D,n==="focus"&&!e.isReadOnly&&T(null,"focus")):(i&&Ze(),D!==Lt.current&&J.commitValidation()),c(ue)},D2=o.useMemo(()=>w.isOpen?l?A:k:z,[w.isOpen,A,k,l,z]);return{...J,...w,focusStrategy:f,toggle:P,open:T,close:Ze,selectionManager:g,selectedKey:v,setSelectedKey:x,disabledKeys:E,isFocused:d,setFocused:su,selectedItem:y,collection:D2,inputValue:D,setInputValue:R,commit:ae,revert:L}}function Vv(e,t,u){return new Ti(bb(e,e,t,u))}function bb(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=bb(e,ye(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 hb={};hb={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var $b={};$b={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var gb={};gb={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 Db={};Db={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 vb={};vb={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 yb={};yb={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var xb={};xb={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 Cb={};Cb={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 Eb={};Eb={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 Bb={};Bb={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 kb={};kb={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 Pb={};Pb={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var Sb={};Sb={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 Ab={};Ab={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 Fb={};Fb={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 wb={};wb={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=>`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 Ib={};Ib={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 Kb={};Kb={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 Mb={};Mb={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 zb={};zb={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 Nb={};Nb={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 _b={};_b={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 jb={};jb={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Lb={};Lb={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 Ob={};Ob={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 Hb={};Hb={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 Ub={};Ub={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 Zb={};Zb={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var qb={};qb={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Gb={};Gb={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Yb={};Yb={"ar-AE":hb,"bg-BG":$b,"cs-CZ":gb,"da-DK":Db,"de-DE":vb,"el-GR":yb,"en-US":xb,"es-ES":Cb,"et-EE":Eb,"fi-FI":Bb,"fr-FR":kb,"he-IL":Pb,"hr-HR":Sb,"hu-HU":Ab,"it-IT":Fb,"ja-JP":wb,"ko-KR":Tb,"lt-LT":Rb,"lv-LV":Ib,"nb-NO":Kb,"nl-NL":Mb,"pl-PL":zb,"pt-BR":Vb,"pt-PT":Nb,"ro-RO":_b,"ru-RU":jb,"sk-SK":Lb,"sl-SI":Ob,"sr-SP":Hb,"sv-SE":Ub,"tr-TR":Wb,"uk-UA":Zb,"zh-CN":qb,"zh-TW":Gb};function Nv(e){return e&&e.__esModule?e.default:e}const Jb=new au(Nv(Yb));function Qb(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function _r(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=Qb(),f=au.getGlobalDictionaryForPackage("@react-stately/datepicker")||Jb,p=new Ld(c,f),m=new ut(c,It({},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 _v(e,t,u,n,r){var a;let i=_r((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=_r((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=In(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=au.getGlobalDictionaryForPackage("@react-stately/datepicker")||Jb;d=In(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",Qb())],validationDetails:{...ia,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const jv={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},Lv={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function It(e,t){e={...t.shouldForceLeadingZeros?Lv:jv,...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 ju(e){return e&&"hour"in e?e:new cl}function Xb(e,t){if(e===null)return null;if(e)return he(e,t)}function sn(e,t,u,n){if(e)return Xb(e,u);let r=he(Ud(n??Ln()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?Ne(r):n?r:ht(r)}function wl(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 Ov(e){let t=Au(e),[u,n]=Re(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=wl(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 $=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",g=o.useMemo(()=>({granularity:a,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:$}),[a,e.hourCycle,e.shouldForceLeadingZeros,i,e.hideTimeZone,$]),{minValue:v,maxValue:x,isDateUnavailable:y}=e,E=o.useMemo(()=>_r(u,v,x,y,g),[u,v,x,y,g]),B=vt({...e,value:u,builtinValidation:E}),S=B.displayValidation.isInvalid,I=e.validationState||(S?"invalid":null),D=(k,z)=>{n("timeZone"in z?z.set(Ne(k)):ht(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?D(k,m||ju(e.defaultValue||e.placeholderValue)):p(k):(n(k),B.commitValidation()),z&&t.setOpen(!1)},setTimeValue:k=>{f&&k?D(f,k):b(k)},granularity:a,hasTime:s,...t,setOpen(k){!k&&!u&&f&&s&&D(f,m||ju(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:I,isInvalid:S,formatValue(k,z){if(!l)return"";let C=It(z,g);return new ut(k,C).format(l)},getDateFormatter(k,z){let C={...g,...z},F=It({},C);return new ut(k,F)}}}const Hv=new au({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 Uv(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Hv.getStringForLocale(e,u):"––"}const cr={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},ps={year:5,month:2,day:7,hour:2,minute:15,second:15},Wv={dayperiod:"dayPeriod"};function eh(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]=wl(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 ut(t),[t]),$=o.useMemo(()=>u(b.resolvedOptions().calendar),[u,b]);var g;let[v,x]=Re(e.value,(g=e.defaultValue)!==null&&g!==void 0?g:null,e.onChange),y=o.useMemo(()=>{var M;return(M=Xb(v,$))!==null&&M!==void 0?M:null},[v,$]),[E,B]=o.useState(()=>sn(e.placeholderValue,f,$,p)),S=y||E,I=$.identifier==="gregory"&&S.era==="BC",D=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:I,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,I]),R=o.useMemo(()=>It({},D),[D]),A=o.useMemo(()=>new ut(t,R),[t,R]),k=o.useMemo(()=>A.resolvedOptions(),[A]),z=o.useMemo(()=>A.formatToParts(new Date).filter(M=>cr[M.type]).reduce((M,Z)=>(M[Z.type]=!0,M),{}),[A]),[C,F]=o.useState(()=>e.value||e.defaultValue?{...z}:{}),N=o.useRef(null),w=o.useRef($.identifier);o.useEffect(()=>{$.identifier!==w.current&&(w.current=$.identifier,B(M=>Object.keys(C).length>0?he(M,$):sn(e.placeholderValue,f,$,p)))},[$,f,C,p,e.placeholderValue]),v&&Object.keys(C).length<Object.keys(z).length&&(C={...z},F(C)),v==null&&Object.keys(C).length===Object.keys(z).length&&(C={},F(C),B(sn(e.placeholderValue,f,$,p)));let T=y&&Object.keys(C).length>=Object.keys(z).length?y:E,P=M=>{if(e.isDisabled||e.isReadOnly)return;let Z=Object.keys(C),J=Object.keys(z);M==null?(x(null),B(sn(e.placeholderValue,f,$,p)),F({})):Z.length>=J.length||Z.length===J.length-1&&z.dayPeriod&&!C.dayPeriod&&N.current!=="dayPeriod"?(M=he(M,(c==null?void 0:c.calendar)||new He),x(M)):B(M),N.current=null},K=o.useMemo(()=>T.toDate(m),[T,m]),j=o.useMemo(()=>A.formatToParts(K).map(M=>{let Z=cr[M.type];M.type==="era"&&$.getEras().length===1&&(Z=!1);let J=cr[M.type]&&!C[M.type],L=cr[M.type]?Uv(M.type,M.value,t):null;return{type:Wv[M.type]||M.type,text:J?L:M.value,...Zv(T,M.type,k),isPlaceholder:J,placeholder:L,isEditable:Z}}),[K,C,A,k,T,$,t]);z.era&&C.year&&!C.era?(C.era=!0,F({...C})):!z.era&&C.era&&(delete C.era,F({...C}));let _=M=>{C[M]=!0,M==="year"&&z.era&&(C.era=!0),F({...C})},W=(M,Z)=>{if(C[M])P(qv(T,M,Z,k));else{_(M);let J=Object.keys(C),L=Object.keys(z);(J.length>=L.length||J.length===L.length-1&&z.dayPeriod&&!C.dayPeriod)&&P(T)}},X=o.useMemo(()=>_r(v,l,s,d,D),[v,l,s,d,D]),ee=vt({...e,value:v,builtinValidation:X}),be=ee.displayValidation.isInvalid,le=e.validationState||(be?"invalid":null);var de;return{...ee,value:y,dateValue:K,calendar:$,setValue:P,segments:j,dateFormatter:A,validationState:le,isInvalid:be,granularity:f,maxGranularity:(de=e.maxGranularity)!==null&&de!==void 0?de:"year",isDisabled:r,isReadOnly:a,isRequired:i,increment(M){W(M,1)},decrement(M){W(M,-1)},incrementPage(M){W(M,ps[M]||1)},decrementPage(M){W(M,-(ps[M]||1))},setSegment(M,Z){_(M),P(Gv(T,M,Z,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(C),Z=Object.keys(z);M.length===Z.length-1&&z.dayPeriod&&!C.dayPeriod&&(C={...z},F(C),P(T.copy()))},clearSegment(M){delete C[M],N.current=M,F({...C});let Z=sn(e.placeholderValue,f,$,p),J=T;if(M==="dayPeriod"&&"hour"in T&&"hour"in Z){let L=T.hour>=12,q=Z.hour>=12;L&&!q?J=T.set({hour:T.hour-12}):!L&&q&&(J=T.set({hour:T.hour+12}))}else M in T&&(J=T.set({[M]:Z[M]}));x(null),P(J)},formatValue(M){if(!y)return"";let Z=It(M,D);return new ut(t,Z).format(K)},getDateFormatter(M,Z){let J={...D,...Z},L=It({},J);return new ut(M,L)}}}function Zv(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:m6(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:b6(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 qv(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 Gv(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 Yv(e){var t,u;let n=Au(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=w=>{l(w||{start:null,end:null}),du(w)?a(w):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=wl(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let $=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[g,v]=o.useState(null),[x,y]=o.useState(null);s&&du(s)&&(g=s,"hour"in s.start&&(x=s));let E=(w,T)=>{d({start:"timeZone"in T.start?T.start.set(Ne(w.start)):ht(w.start,T.start),end:"timeZone"in T.end?T.end.set(Ne(w.end)):ht(w.end,T.end)}),v(null),y(null),C.commitValidation()},B=w=>{let T=typeof $=="function"?$():$;m?du(w)&&(x!=null&&x.start)&&(x!=null&&x.end)?E(w,{start:(x==null?void 0:x.start)||ju(e.placeholderValue),end:(x==null?void 0:x.end)||ju(e.placeholderValue)}):v(w):du(w)?(d(w),C.commitValidation()):v(w),T&&n.setOpen(!1)},S=w=>{du(g)&&du(w)?E(g,w):y(w)},I=(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",D=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:I}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,I]),{minValue:R,maxValue:A,isDateUnavailable:k}=e,z=o.useMemo(()=>_v(s,R,A,k,D),[s,R,A,k,D]),C=vt({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(w=>w!=null),[e.startName,e.endName]),builtinValidation:z}),F=C.displayValidation.isInvalid,N=e.validationState||(F?"invalid":null);return{...C,value:s,setValue:d,dateRange:g,timeRange:x,granularity:f,hasTime:m,setDate(w,T){var P,K;B(w==="start"?{start:T,end:(P=g==null?void 0:g.end)!==null&&P!==void 0?P:null}:{start:(K=g==null?void 0:g.start)!==null&&K!==void 0?K:null,end:T})},setTime(w,T){var P,K;S(w==="start"?{start:T,end:(P=x==null?void 0:x.end)!==null&&P!==void 0?P:null}:{start:(K=x==null?void 0:x.start)!==null&&K!==void 0?K:null,end:T})},setDateTime(w,T){var P,K;d(w==="start"?{start:T,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:T})},setDateRange:B,setTimeRange:S,...n,setOpen(w){!w&&!(s!=null&&s.start&&(s!=null&&s.end))&&du(g)&&m&&E(g,{start:(x==null?void 0:x.start)||ju(e.placeholderValue),end:(x==null?void 0:x.end)||ju(e.placeholderValue)}),n.setOpen(w)},validationState:N,isInvalid:F,formatValue(w,T){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,_=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),W=It(T,{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"}),X=s.start.toDate(P||"UTC"),ee=s.end.toDate(j||"UTC"),be=new ut(w,W),le;if(P===j&&K===_&&s.start.compare(s.end)!==0){try{let de=be.formatRangeToParts(X,ee),M=-1;for(let L=0;L<de.length;L++){let q=de[L];if(q.source==="shared"&&q.type==="literal")M=L;else if(q.source==="endRange")break}let Z="",J="";for(let L=0;L<de.length;L++)L<M?Z+=de[L].value:L>M&&(J+=de[L].value);return{start:Z,end:J}}catch{}le=be}else{let de=It(T,{granularity:_,timeZone:j,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});le=new ut(w,de)}return{start:be.format(X),end:le.format(ee)}},getDateFormatter(w,T){let P={...D,...T},K=It({},P);return new ut(w,K)}}}function du(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Jv(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 Qv(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 th(e){let t=Au(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 Xv=Math.round(Math.random()*1e10),ey=0;function ty(e){let t=o.useMemo(()=>e.name||`radio-group-${Xv}-${++ey}`,[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=vt({...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 uy(e){let[t,u]=Re(ms(e.value),ms(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function ms(e){if(e!=null)return e.toString()}function ny(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||qn(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 $=ye(b,t);var p,m;d==="last"?s=(p=(c=Rt($))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Ft($))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new ca(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 $=b.hasChildNodes?[...ye(b,t)]:[],g=b.hasChildNodes&&d!==s&&s&&s.index<$.length?$[s.index].key:b.key;n.setFocusedKey(g)}else n.setFocusedKey(null)}l.current=t},[t,i,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:i}}class ry{*[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 $ of f.childNodes)$.type==="cell"&&$.parentKey==null&&($.parentKey=f.key),m.add($.key),b?(b.nextKey=$.key,$.prevKey=b.key):$.prevKey=null,u($),b=$;if(b&&(b.nextKey=null),p)for(let $ of p.childNodes)m.has($.key)||n($)},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 uh="row-header-column-"+Math.random().toString(36).slice(2);let Ri="row-header-column-"+Math.random().toString(36).slice(2);for(;uh===Ri;)Ri="row-header-column-"+Math.random().toString(36).slice(2);function nh(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:$}=n.get(m);if($>p.length)break;for(let g=$;g<p.length;g++)b.splice(g,0,null);for(let g=p.length;g<b.length;g++)b[g]&&n.has(b[g])&&(n.get(b[g]).index=g)}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(($,g)=>{var v;return $+((v=g.colspan)!==null&&v!==void 0?v:1)},0);if(b<s){let $={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=$.key,$.prevKey=m[m.length-1].key),m.push($)}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 ay extends ry{*[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=Rt(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:uh,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:Ri,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=nh(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 iy={ascending:"descending",descending:"ascending"};function ly(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=Cl(e,o.useCallback(f=>new ay(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=ny({...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?iy[e.sortDescriptor.direction]:"ascending")})}}}function oy(e){var t,u;let n=mb({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:bs(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=bs(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 bs(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 sy=1500,hs=500;let cu={},dy=0,dn=!1,kt=null,fu=null;function rh(e={}){let{delay:t=sy,closeDelay:u=hs}=e,{isOpen:n,open:r,close:a}=Au(e),i=o.useMemo(()=>`${++dy}`,[]),l=o.useRef(null),s=o.useRef(a),d=()=>{cu[i]=p},c=()=>{for(let b in cu)b!==i&&(cu[b](!0),delete cu[b])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),dn=!0,r(),kt&&(clearTimeout(kt),kt=null),fu&&(clearTimeout(fu),fu=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)),kt&&(clearTimeout(kt),kt=null),dn&&(fu&&clearTimeout(fu),fu=setTimeout(()=>{delete cu[i],fu=null,dn=!1},Math.max(hs,u)))},m=()=>{c(),d(),!n&&!kt&&!dn?kt=setTimeout(()=>{kt=null,dn=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=a},[a]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),cu[i]&&delete cu[i]},[i]),{isOpen:n,open:b=>{!b&&t>0&&!l.current?m():f()},close:p}}class cy{*[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 fy(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=qn(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=Cl(e,o.useCallback(s=>new cy(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(py(u,s))},setExpandedKeys:n,selectionManager:new ca(i,r)}}function py(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const lu=o.createContext(null),nn=o.createContext({}),Gn=o.forwardRef(function(t,u){[t,u]=Q(t,u,nn);let{isDisabled:n,isInvalid:r,onHoverStart:a,onHoverChange:i,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=ve({onHoverStart:a,onHoverChange:i,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:m}=ce({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let b=U({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var $,g;return o.createElement("div",{...V(s,m,d),...b,ref:u,role:($=t.role)!==null&&$!==void 0?$:"group",slot:(g=t.slot)!==null&&g!==void 0?g: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)}),Ju=o.createContext({});let my=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const pa=Xr(function(t,u){[t,u]=Q(t,u,Ju);let{hoverProps:n,isHovered:r}=ve(t),{isFocused:a,isFocusVisible:i,focusProps:l}=ce({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=U({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{...V(my(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})}),ah=o.createContext({});let by=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const hy=o.forwardRef(function(t,u){[t,u]=Q(t,u,ah);let{hoverProps:n,isHovered:r}=ve(t),{isFocused:a,isFocusVisible:i,focusProps:l}=ce({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=U({...t,values:{isHovered:r,isFocused:a,isFocusVisible:i,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{...V(by(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})}),$y=o.createContext(null),Tl=o.forwardRef(function(t,u){[t,u]=Q(t,u,$y);let{validationBehavior:n}=Oe(lu)||{};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,Ju),[c,f]=ot(),[p,m]=o.useState("input"),{labelProps:b,inputProps:$,descriptionProps:g,errorMessageProps:v,...x}=gl({...Kt(t),inputElementType:p,label:f,validationBehavior:i},d),y=o.useCallback(S=>{d.current=S,S&&m(S instanceof HTMLTextAreaElement?"textarea":"input")},[d]),E=U({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:x.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),B=O(t);return delete B.id,o.createElement("div",{...B,...E,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":x.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(se,{values:[[Dt,{...b,ref:c}],[Ju,{...V($,s),ref:y}],[ah,{...$,ref:y}],[Ue,{slots:{description:g,errorMessage:v}}],[_t,x]]},E.children))}),ih=o.createContext(null),lh=o.createContext(null),Yn={CollectionRoot({collection:e,renderDropIndicator:t}){return $s(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return $s(e,t,u)}};function $s(e,t,u){return Zi({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 Be=o.createContext(Yn);function Rl(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const oh=o.createContext(null),jr=o.forwardRef(function(t,u){[t,u]=Q(t,u,oh);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=J$({...t,elementType:n},u),{hoverProps:i,isHovered:l}=ve(t),{focusProps:s,isFocused:d,isFocusVisible:c}=ce(),f=U({...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,...V(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)}),Ii=o.createContext(null),gy=o.forwardRef(function(t,u){[t,u]=Q(t,u,Ii);let{CollectionRoot:n}=o.useContext(Be),{navProps:r}=bg(t);return o.createElement(Pu,{content:o.createElement(gt,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(Ii.Provider,{value:t},o.createElement(n,{collection:a})))})}),Dy=ru("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Oe(Ii),l={"aria-current":r?"page":null,isDisabled:a||r,onPress:()=>i==null?void 0:i(n.key)},s=U({...n.props,children:n.rendered,values:{isDisabled:a||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{...O(t),...s,ref:u,"data-disabled":a||r||void 0,"data-current":r||void 0},o.createElement(oh.Provider,{value:l},s.children))}),Lr=o.createContext(null),Or=o.createContext(null),ma=o.createContext(null),ba=o.createContext(null),vy=o.forwardRef(function(t,u){[t,u]=Q(t,u,Lr);let{locale:n}=fe(),r=pb({...t,locale:n,createCalendar:aa}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=vg(t,r),c=U({...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(se,{values:[[dt,{slots:{previous:i,next:l}}],[Gr,{"aria-hidden":!0,level:2,children:d}],[ma,r],[Lr,t],[Ue,{slots:{errorMessage:s}}]]},o.createElement(uu,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(uu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),yy=o.forwardRef(function(t,u){[t,u]=Q(t,u,Or);let{locale:n}=fe(),r=Iv({...t,locale:n,createCalendar:aa}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=yg(t,r,u),c=U({...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(se,{values:[[dt,{slots:{previous:i,next:l}}],[Gr,{"aria-hidden":!0,level:2,children:d}],[ba,r],[Or,t],[Ue,{slots:{errorMessage:s}}]]},o.createElement(uu,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(uu,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),ha=o.createContext(null),sh=o.forwardRef(function(t,u){let n=o.useContext(ma),r=o.useContext(ba),a=Oe(Lr),i=Oe(Or),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}=xg({startDate:s,endDate:Pr(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(ha.Provider,{value:{headerProps:p,weekDays:m,startDate:s,firstDayOfWeek:c}},o.createElement("table",{...O(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(Cy,null,$=>o.createElement(By,null,$)),o.createElement(Py,null,t.children))))});function xy(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(ha);return o.createElement("thead",{...O(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 Cy=o.forwardRef(xy);function Ey(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{...O(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const By=o.forwardRef(Ey);function ky(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(ma),i=o.useContext(ba),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(ha),{locale:c}=fe(),f=D6(s,c,d);return o.createElement("tbody",{...O(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 Py=o.forwardRef(ky),dh=o.forwardRef(function({date:t,...u},n){let r=o.useContext(ma),a=o.useContext(ba),i=r??a;var l;let{startDate:s}=(l=o.useContext(ha))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=Eg({date:t},i,d),{hoverProps:m,isHovered:b}=ve({...u,isDisabled:p.isDisabled}),{focusProps:$,isFocusVisible:g}=ce();g&&(g=p.isFocused);let v=!c6(s,t),x=!1,y=!1;"highlightedRange"in i&&i.highlightedRange&&(x=Se(t,i.highlightedRange.start),y=Se(t,i.highlightedRange.end));let E=U({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:v,isFocusVisible:g,isSelectionStart:x,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":g||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":x||void 0,"data-selection-end":y||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{...V(O(u),f,$,m,B,E),ref:d}))}),Sy=o.createContext(null),Il=o.createContext(null),Ay=o.forwardRef(function(t,u){[t,u]=Q(t,u,Sy);let{validationBehavior:n}=Oe(lu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Kv({...t,validationBehavior:i}),[s,d]=ot(),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=Tg({...t,label:d,validationBehavior:i},l),$=U({...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,...$,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(se,{values:[[Il,l],[Dt,{...f,ref:s,elementType:"span"}],[Ue,{slots:{description:p,errorMessage:m}}],[_t,b]]},$.children))}),Fy=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=Q(r,u,_i);let{validationBehavior:a}=Oe(lu)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:a)!==null&&l!==void 0?l:"native",d=o.useContext(Il),c=De(Bu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:$,isPressed:g,isInvalid:v}=d?Rg({...Kt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):n4({...Kt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},a4(t),c),{isFocused:x,isFocusVisible:y,focusProps:E}=ce(),B=b||$,{hoverProps:S,isHovered:I}=ve({...t,isDisabled:B}),D=U({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:g,isHovered:I,isFocused:x,isFocusVisible:y,isDisabled:b,isReadOnly:$,isInvalid:v,isRequired:t.isRequired||!1}}),R=O(t);return delete R.id,o.createElement("label",{...V(R,f,S,D),ref:u,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":g||void 0,"data-hovered":I||void 0,"data-focused":x||void 0,"data-focus-visible":y||void 0,"data-disabled":b||void 0,"data-readonly":$||void 0,"data-invalid":v||void 0,"data-required":t.isRequired||void 0},o.createElement(uu,{elementType:"span"},o.createElement("input",{...V(p,E),ref:c})),D.children)});var ch={};ch={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var fh={};fh={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var ph={};ph={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var mh={};mh={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var bh={};bh={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var hh={};hh={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var $h={};$h={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var gh={};gh={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var Dh={};Dh={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var vh={};vh={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var yh={};yh={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var xh={};xh={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var Ch={};Ch={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var Eh={};Eh={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var Bh={};Bh={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var kh={};kh={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var Ph={};Ph={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var Sh={};Sh={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var Ah={};Ah={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var Fh={};Fh={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var wh={};wh={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var Th={};Th={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var Rh={};Rh={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Ih={};Ih={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Kh={};Kh={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var Mh={};Mh={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var zh={};zh={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var Vh={};Vh={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var Nh={};Nh={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var _h={};_h={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var jh={};jh={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var Lh={};Lh={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var Oh={};Oh={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var Hh={};Hh={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var Uh={};Uh={"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":vh,"fr-FR":yh,"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":Fh,"nl-NL":wh,"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":_h,"tr-TR":jh,"uk-UA":Lh,"zh-CN":Oh,"zh-TW":Hh};const xt=o.createContext({}),Kl=o.createContext(null),wy=o.forwardRef(function(t,u){let{render:n}=o.useContext(Kl);return o.createElement(o.Fragment,null,n(t,u))});function Ml(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(wy,{target:i})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?a:void 0}function Wh(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 Zh=o.createContext({}),qh=o.createContext({}),$a=o.createContext(null),jt=o.createContext(null),Ty=o.forwardRef(function(t,u){[t,u]=Q(t,u,$a);let n=o.useContext(jt);return n?o.createElement(Gh,{state:n,props:t,listBoxRef:u}):o.createElement(Pu,{content:o.createElement(gt,t)},r=>o.createElement(Ry,{props:t,listBoxRef:u,collection:r}))});function Ry({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext(Be),{filterFn:r,collectionProps:a,collectionRef:i}=o.useContext(ih)||{};t=De(o.useMemo(()=>Bu(t,i!==void 0?i:null),[i,t]));let l=o.useMemo(()=>r?u.filter(r):u,[u,r]),s=fa({...e,collection:l,layoutDelegate:n});return o.createElement(Gh,{state:s,props:{...e,...a},listBoxRef:t})}function Gh({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}=fe(),{disabledBehavior:f,disabledKeys:p}=l,m=en({usage:"search",sensitivity:"base"}),{isVirtualized:b,layoutDelegate:$,dropTargetDelegate:g,CollectionRoot:v}=o.useContext(Be),x=o.useMemo(()=>t.keyboardDelegate||new un({collection:i,collator:m,ref:u,disabledKeys:p,disabledBehavior:f,layout:r,orientation:a,direction:c,layoutDelegate:$}),[i,m,u,f,p,a,c,t.keyboardDelegate,r,$]),{listBoxProps:y}=mf({...t,shouldSelectOnPressUp:s||t.shouldSelectOnPressUp,keyboardDelegate:x,isVirtualized:b},e,u),E=o.useRef(s),B=o.useRef(d);o.useEffect(()=>{E.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,I,D,R=!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){I=n.useDroppableCollectionState({collection:i,selectionManager:l});let P=n.dropTargetDelegate||g||new n.ListDropTargetDelegate(i,u,{orientation:a,layout:r,direction:c});D=n.useDroppableCollection({keyboardDelegate:x,dropTargetDelegate:P},I,u),R=I.isDropTarget({type:"root"})}let{focusProps:z,isFocused:C,isFocusVisible:F}=ce(),N={isDropTarget:R,isEmpty:e.collection.size===0,isFocused:C,isFocusVisible:F,layout:t.layout||"stack",state:e},w=U({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:N}),T=null;return e.collection.size===0&&t.renderEmptyState&&(T=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(N))),o.createElement(_n,null,o.createElement("div",{...O(t),...V(y,z,D==null?void 0:D.collectionProps),...w,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":R||void 0,"data-empty":e.collection.size===0||void 0,"data-focused":C||void 0,"data-focus-visible":F||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(se,{values:[[$a,t],[jt,e],[xt,{dragAndDropHooks:n,dragState:S,dropState:I}],[qh,{elementType:"div"}],[Kl,{render:My}],[lh,{name:"ListBoxSection",render:Iy}]]},o.createElement(v,{collection:i,scrollRef:u,persistedKeys:Wh(l,n,I),renderDropIndicator:Ml(n,I)})),T,A))}function Iy(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(jt),{dragAndDropHooks:a,dropState:i}=o.useContext(xt),{CollectionBranch:l}=o.useContext(Be),[s,d]=ot();var c;let{headingProps:f,groupProps:p}=gf({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=U({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{...O(e),...p,...m,ref:t},o.createElement(Zh.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:Ml(a,i)})))}const Ky=ru("item",function(t,u,n){let r=De(u),a=o.useContext(jt),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(xt),{optionProps:d,labelProps:c,descriptionProps:f,...p}=$f({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,r),{hoverProps:m,isHovered:b}=ve({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),$=null;l&&i&&($=i.useDraggableItem({key:n.key},l));let g=null;s&&i&&(g=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let v=l&&l.isDragging(n.key),x=U({...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:g==null?void 0:g.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,{...V(d,m,$==null?void 0:$.dragProps,g==null?void 0:g.dropProps),...x,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":(g==null?void 0:g.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(se,{values:[[Ue,{slots:{label:c,description:f}}]]},x.children))});function My(e,t){t=De(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(xt),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(Vy,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function zy(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,a=U({...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 Vy=o.forwardRef(zy),zl=o.createContext({placement:"bottom"}),Ny=o.forwardRef(function(t,u){[t,u]=Q(t,u,zl);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let a=U({...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})}),Jn=o.createContext(null),ga=o.forwardRef(function(t,u){[t,u]=Q(t,u,Jn);let n=o.useContext(rn),r=Au(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=zs(u,a.isOpen)||t.isExiting||!1;if(c$()){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(_y,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i})});function _y({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}=tD({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:a},e),p=n.popoverRef,m=Ms(p,!!f)||n.isEntering||!1,b=U({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:f,isEntering:m,isExiting:t}}),$={...s.style,...b.style};return o.createElement(df,{...n,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),o.createElement("div",{...V(O(n),s),...b,ref:p,slot:n.slot||void 0,style:$,"data-trigger":n.trigger,"data-placement":f,"data-entering":m||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Kr,{onDismiss:e.close}),o.createElement(zl.Provider,{value:{...c,placement:f,ref:r}},b.children),o.createElement(Kr,{onDismiss:e.close})))}const jy=o.createContext({}),Yh=o.createContext(null),Vl=o.createContext(null),Jh=o.createContext(null),Hr=o.createContext(null);function Ly(e){let t=th(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=Bl({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);Gu({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(se,{values:[[Yh,{...r,ref:s}],[rn,t],[Jh,t],[Jn,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a}}]]},o.createElement(Ws,{...n,ref:u,isPressed:t.isOpen},e.children))}const Oy=o.createContext(null),Hy=o.forwardRef(function(t,u){return[t,u]=Q(t,u,Yh),o.createElement(Pu,{content:o.createElement(gt,t)},n=>n.size>0&&o.createElement(Uy,{props:t,collection:n,menuRef:u}))});function Uy({props:e,collection:t,menuRef:u}){let{filterFn:n,collectionProps:r,collectionRef:a}=o.useContext(ih)||{};u=De(o.useMemo(()=>Bu(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.filter(n):t,[t,n]),l=fy({...e,collection:i,children:void 0}),s=o.useContext(Jh),{isVirtualized:d,CollectionRoot:c}=o.useContext(Be),{menuProps:f}=pD({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=U({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{}});return o.createElement(_n,null,o.createElement("div",{...O(e),...f,...p,ref:u,slot:e.slot||void 0,onScroll:e.onScroll},o.createElement(se,{values:[[Vl,l],[qh,{elementType:"div"}],[lh,{name:"MenuSection",render:Zy}],[Oy,{parentMenuRef:u}],[Ki,null],[Hr,l.selectionManager]]},o.createElement(c,{collection:l.collection,persistedKeys:Rl(l.selectionManager.focusedKey),scrollRef:u}))))}class Wy extends ca{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 Zy(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(Vl),{CollectionBranch:l}=o.useContext(Be),[s,d]=ot();var c;let{headingProps:f,groupProps:p}=bD({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=U({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(Hr),$=qn(e),g=e.selectionMode!=null?new Wy(b,$):b;return o.createElement("section",{...O(e),...p,...m,ref:t},o.createElement(se,{values:[[Zh,{...f,ref:s}],[Hr,g]]},o.createElement(l,{collection:i.collection,parent:u})))}const Ki=o.createContext(null),qy=ru("item",function(t,u,n){var r;[t,u]=Q(t,u,Ki);let a=(r=Oe(Ki))===null||r===void 0?void 0:r.id,i=o.useContext(Vl),l=De(u),s=o.useContext(Hr),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=mD({...t,id:a,key:n.key,selectionManager:s},i,l),{isFocusVisible:b,focusProps:$}=ce(),{hoverProps:g,isHovered:v}=ve({isDisabled:m.isDisabled}),x=U({...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,{...V(d,$,g),...x,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(se,{values:[[Ue,{slots:{label:c,description:f}}],[jy,p]]},x.children))}),Nl=o.createContext(null),rn=o.createContext(null),Qh=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=Q(t,u,Nl);let{dialogProps:r,titleProps:a}=Vp({...t,"aria-labelledby":n},u),i=o.useContext(rn);!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=U({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",{...O(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(se,{values:[[Gr,{slots:{[yu]:{},title:{...a,level:2}}}],[dt,{slots:{[yu]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),Gy=o.createContext(null),Yy=o.createContext(null),Jy=o.forwardRef(function(t,u){[t,u]=Q(t,u,Gy);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement($a.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(Pu,{content:l},s=>o.createElement(Qy,{props:t,collection:s,comboBoxRef:u}))});function Qy({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=Oe(lu)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=gc({sensitivity:"base"}),f=zv({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),$=o.useRef(null),[g,v]=ot(),{buttonProps:x,inputProps:y,listBoxProps:E,labelProps:B,descriptionProps:S,errorMessageProps:I,...D}=$D({...Kt(e),label:v,inputRef:m,buttonRef:p,listBoxRef:b,popoverRef:$,name:r==="text"?n:void 0,validationBehavior:d},f),[R,A]=o.useState(null),k=o.useCallback(()=>{if(m.current){var w;let T=(w=p.current)===null||w===void 0?void 0:w.getBoundingClientRect(),P=m.current.getBoundingClientRect(),K=T?Math.min(T.left,P.left):P.left,j=T?Math.max(T.right,P.right):P.right;A(j-K+"px")}},[p,m,A]);Gu({ref:m,onResize:k});let z=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:D.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,D.isInvalid,e.isRequired]),C=U({...e,values:z,defaultClassName:"react-aria-ComboBox"}),F=O(e);delete F.id;var N;return o.createElement(se,{values:[[Yy,f],[Dt,{...B,ref:g}],[dt,{...x,ref:p,isPressed:f.isOpen}],[Ju,{...y,ref:m}],[rn,f],[Jn,{ref:$,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":R}}],[$a,{...E,ref:b}],[jt,f],[Ue,{slots:{description:S,errorMessage:I}}],[nn,{isInvalid:D.isInvalid,isDisabled:e.isDisabled||!1}],[_t,D]]},o.createElement("div",{...F,...C,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":D.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(N=f.selectedKey)!==null&&N!==void 0?N:""}))}const Da=o.createContext(null),Qn=o.createContext(null),_l=o.createContext(null),Xy=o.forwardRef(function(t,u){[t,u]=Q(t,u,Da);let{validationBehavior:n}=Oe(lu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",{locale:l}=fe(),s=eh({...t,locale:l,createCalendar:aa,validationBehavior:i}),d=o.useRef(null),[c,f]=ot(),p=o.useRef(null),{labelProps:m,fieldProps:b,inputProps:$,descriptionProps:g,errorMessageProps:v,...x}=zp({...Kt(t),label:f,inputRef:p,validationBehavior:i},s,d),y=U({...Kt(t),values:{state:s,isInvalid:s.isInvalid,isDisabled:s.isDisabled},defaultClassName:"react-aria-DateField"}),E=O(t);return delete E.id,o.createElement(se,{values:[[Qn,s],[nn,{...b,ref:d,isInvalid:s.isInvalid}],[Ju,{...$,ref:p}],[Dt,{...m,ref:c,elementType:"span"}],[Ue,{slots:{description:g,errorMessage:v}}],[_t,x]]},o.createElement("div",{...E,...y,ref:u,slot:t.slot||void 0,"data-invalid":s.isInvalid||void 0}))}),Ur=o.forwardRef(function(t,u){let n=o.useContext(Qn),r=o.useContext(_l);return n||r?o.createElement(Xh,{...t,ref:u}):o.createElement(ex,{...t,ref:u})}),ex=o.forwardRef((e,t)=>{let[u,n]=Q({slot:e.slot},t,Da),{locale:r}=fe(),a=eh({...u,locale:r,createCalendar:aa}),i=o.useRef(null),{fieldProps:l,inputProps:s}=zp({...u,inputRef:i},a,n);return o.createElement(se,{values:[[Qn,a],[Ju,{...s,ref:i}],[nn,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(Xh,e))}),Xh=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(Qn),a=o.useContext(_l),i=r??a;return o.createElement(o.Fragment,null,o.createElement(Gn,{...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(pa,null))}),Wr=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(Qn),a=o.useContext(_l),i=r??a,l=De(n),{segmentProps:s}=ED(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=ce(),{hoverProps:p,isHovered:m}=ve({...u,isDisabled:i.isDisabled||t.type==="literal"}),b=U({...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",{...V(O(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})}),tx=o.createContext(null),ux=o.createContext(null),nx=o.createContext(null),rx=o.createContext(null),ax=o.forwardRef(function(t,u){[t,u]=Q(t,u,tx);let{validationBehavior:n}=Oe(lu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Ov({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ot(),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:$,calendarProps:g,descriptionProps:v,errorMessageProps:x,...y}=vD({...Kt(t),label:c,validationBehavior:i},l,s),[E,B]=o.useState(null),S=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);Gu({ref:s,onResize:S});let{focusProps:I,isFocused:D,isFocusVisible:R}=ce({within:!0}),A=U({...t,values:{state:l,isFocusWithin:D,isFocusVisible:R,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),k=O(t);return delete k.id,o.createElement(se,{values:[[nx,l],[nn,{...f,ref:s,isInvalid:l.isInvalid}],[Da,m],[dt,{...b,isPressed:l.isOpen}],[Dt,{...p,ref:d,elementType:"span"}],[Lr,g],[rn,l],[Jn,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":E}}],[Nl,$],[Ue,{slots:{description:v,errorMessage:x}}],[_t,y]]},o.createElement("div",{...I,...k,...A,ref:u,slot:t.slot||void 0,"data-focus-within":D||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":R||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),ix=o.forwardRef(function(t,u){[t,u]=Q(t,u,ux);let{validationBehavior:n}=Oe(lu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Yv({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ot(),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:$,dialogProps:g,calendarProps:v,descriptionProps:x,errorMessageProps:y,...E}=PD({...Kt(t),label:c,validationBehavior:i},l,s),[B,S]=o.useState(null),I=o.useCallback(()=>{s.current&&S(s.current.offsetWidth+"px")},[]);Gu({ref:s,onResize:I});let{focusProps:D,isFocused:R,isFocusVisible:A}=ce({within:!0}),k=U({...t,values:{state:l,isFocusWithin:R,isFocusVisible:A,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),z=O(t);return delete z.id,o.createElement(se,{values:[[rx,l],[nn,{...f,ref:s,isInvalid:l.isInvalid}],[dt,{...$,isPressed:l.isOpen}],[Dt,{...p,ref:d,elementType:"span"}],[Or,v],[rn,l],[Jn,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[Nl,g],[Da,{slots:{start:m,end:b}}],[Ue,{slots:{description:x,errorMessage:y}}],[_t,E]]},o.createElement("div",{...D,...z,...k,ref:u,slot:t.slot||void 0,"data-focus-within":R||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}))}),e5=o.createContext(null),lx=o.forwardRef(function(t,u){let n=Qv(t),r=U({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=O(t);return o.createElement("div",{...a,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(e5.Provider,{value:n},r.children))}),ox=o.createContext(null),sx=o.createContext(null),t5=o.createContext(null),dx=o.forwardRef(function(t,u){[t,u]=Q(t,u,ox);let n=o.useContext(e5),{id:r,...a}=t,i=re();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=Jv({...t,isExpanded:l,onExpandedChange(v){var x;n&&n.toggleKey(r),(x=t.onExpandedChange)===null||x===void 0||x.call(t,v)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=SD({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:m,focusProps:b}=ce({within:!0}),$=U({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:s}}),g=O(a);return o.createElement(se,{values:[[dt,{slots:{[yu]:{},trigger:f}}],[t5,{panelProps:p,panelRef:d}],[sx,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0,...g,...b,...$},$.children))}),cx=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(t5),{isFocusVisible:i,focusProps:l}=ce({within:!0}),s=U({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),d=O(t);return o.createElement("div",{...d,ref:Bu(u,a),...V(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(se,{values:[[dt,null]]},t.children))});function fx(e){return e&&e.__esModule?e.default:e}const px=o.createContext(null),mx=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=Q(t,u,px);let r=De(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=HD({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=bl(l||{},a),{hoverProps:c,isHovered:f}=ve(t),{focusProps:p,isFocused:m,isFocusVisible:b}=ce(),$=$e(fx(Uh),"react-aria-components"),g=nt(),v=t["aria-label"]||$.format("dropzoneLabel"),x=t["aria-labelledby"],y=[g,x].filter(Boolean).join(" "),E=bt({"aria-label":v,"aria-labelledby":y}),{clipboardProps:B}=UD({isDisabled:n,onPaste:D=>{var R;return(R=t.onDrop)===null||R===void 0?void 0:R.call(t,{type:"drop",items:D,x:0,y:0,dropOperation:"copy"})}}),S=U({...t,values:{isHovered:f,isFocused:m,isFocusVisible:b,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),I=O(t);return delete I.id,o.createElement(se,{values:[[Ue,{id:g,slot:"label"}]]},o.createElement("div",{...V(i,c,I),...S,slot:t.slot||void 0,ref:r,onClick:D=>{var R;let A=D.target;for(;A&&(!((R=r.current)===null||R===void 0)&&R.contains(A))&&!O$(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(uu,null,o.createElement("button",{...V(d,p,B,E),ref:a})),S.children))}),bx=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:a,defaultCamera:i,children:l,acceptDirectory:s,...d}=t,c=De(u),f=O(d);return o.createElement(o.Fragment,null,o.createElement(Ws,{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(pa,{...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}))}),va=o.forwardRef(function(t,u){[t,u]=Q(t,u,Gr);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)}),hx=o.createContext(null),$x=o.createContext(null),u5=o.createContext(null),gx=o.forwardRef(function(t,u){[t,u]=Q(t,u,hx);let{validationBehavior:n}=Oe(lu)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=ty({...t,validationBehavior:i}),[s,d]=ot(),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=av({...t,label:d,validationBehavior:i},l),$=U({...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,...$,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(se,{values:[[u5,l],[Dt,{...f,ref:s,elementType:"span"}],[Ue,{slots:{description:p,errorMessage:m}}],[_t,b]]},$.children))}),Dx=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=Q(r,u,$x);let a=o.useContext(u5),i=De(Bu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=rv({...Kt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=ce(),$=c||a.isReadOnly,{hoverProps:g,isHovered:v}=ve({...t,isDisabled:$}),x=U({...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=O(t);return delete y.id,o.createElement("label",{...V(y,l,g,x),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(uu,{elementType:"span"},o.createElement("input",{...V(s,b),ref:i})),x.children)});class vx extends Qr{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=nh(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 Bn("tableheader",-1),this.body=new Bn("tablebody",-2),this.columnsDirty=!0}}const yx=o.createContext(null),xx=o.createContext(null),Ct=o.createContext(null),n5=o.createContext(null),Cx=o.forwardRef(function(t,u){var n;[t,u]=Q(t,u,xx);let r=qn(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(r5.Provider,{value:d},o.createElement(gt,t));return o.createElement(Pu,{content:c,createCollection:()=>new vx},f=>o.createElement(Ex,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function Ex({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(yx);t=De(o.useMemo(()=>Bu(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=ly({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext(Be),{dragAndDropHooks:c}=e,{gridProps:f}=fv({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),$=o.useRef(m),g=o.useRef(b);o.useEffect(()=>{$.current!==m&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),g.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,x,y,E=!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 w=c.DragPreview;B=c.renderDragPreview?o.createElement(w,{ref:S},c.renderDragPreview):null}if(b&&c){x=c.useDroppableCollectionState({collection:n,selectionManager:p});let w=new un({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),T=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);y=c.useDroppableCollection({keyboardDelegate:w,dropTargetDelegate:T},x,t),E=x.isDropTarget({type:"root"})}let{focusProps:I,isFocused:D,isFocusVisible:R}=ce(),A=U({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:E,isFocused:D,isFocusVisible:R,state:a}}),k=!!(m&&!(v!=null&&v.isDisabled)),z=A.style,C=null;r&&(C=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(z={...z,tableLayout:"fixed",width:"fit-content"}));let F=ze("table");var N;return o.createElement(se,{values:[[Ct,a],[n5,C],[xt,{dragAndDropHooks:c,dragState:v,dropState:x}],[Kl,{render:Tx}]]},o.createElement(_n,null,o.createElement(F,{...O(e),...A,...V(f,I,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":E||void 0,"data-focused":D||void 0,"data-focus-visible":R||void 0},o.createElement(d,{collection:n,scrollRef:(N=r==null?void 0:r.scrollRef)!==null&&N!==void 0?N:t,persistedKeys:Wh(p,c,x)}))),B)}function ze(e){let{isVirtualized:t}=o.useContext(Be);return t?"div":e}const r5=o.createContext(null);function a5(){return o.useContext(r5)}const Bx=Gi("tableheader",(e,t)=>{let u=o.useContext(Ct).collection,n=Zi({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(kx,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=ze("thead"),{rowGroupProps:a}=P0(),{hoverProps:i,isHovered:l}=ve({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=U({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{...V(O(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(gt,{dependencies:e.dependencies,items:e.columns},e.children));function kx({item:e}){let t=o.useRef(null),u=o.useContext(Ct),{isVirtualized:n,CollectionBranch:r}=o.useContext(Be),{rowProps:a}=hv({node:e,isVirtualized:n},u,t),{checkboxProps:i}=vv(u),l=ze("tr");return o.createElement(l,{...a,ref:t},o.createElement(se,{values:[[_i,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const Px=ru("column",(e,t,u)=>{var n,r;let a=De(t),i=o.useContext(Ct),{isVirtualized:l}=o.useContext(Be),{columnHeaderProps:s}=mv({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=ce(),p=o.useContext(n5),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:$}=ve({isDisabled:!e.allowsSorting}),g=U({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:$,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=g.style;p&&(v={...v,width:p.getColumnWidth(u.key)});let x=ze("th");return o.createElement(x,{...V(O(e),s,f,b),...g,style:v,colSpan:u.colspan,ref:a,"data-hovered":$||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(se,{values:[[Sx,{column:u,triggerRef:a}],[Be,Yn]]},g.children))}),Sx=o.createContext(null),Ax=Gi("tablebody",(e,t)=>{let u=o.useContext(Ct),{isVirtualized:n}=o.useContext(Be),r=u.collection,{CollectionBranch:a}=o.useContext(Be),{dragAndDropHooks:i,dropState:l}=o.useContext(xt),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=U({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=ze("tr"),$=ze("td"),g=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let y={},E={},B={};n?(y["aria-rowindex"]=r.headerRows.length+1,E["aria-colspan"]=g,B={display:"contents"}):E.colSpan=g,m=o.createElement(b,{role:"row",...y,style:B},o.createElement($,{role:"rowheader",...E,style:B},e.renderEmptyState(f)))}let{rowGroupProps:v}=P0(),x=ze("tbody");return o.createElement(x,{...V(O(e),v),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(Kx,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:Ml(i,l)}),m)}),Fx=Gi("item",(e,t,u)=>{let n=De(t),r=o.useContext(Ct),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(xt),{isVirtualized:s,CollectionBranch:d}=o.useContext(Be),{rowProps:c,...f}=bv({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=ce(),{isFocusVisible:$,focusProps:g}=ce({within:!0}),{hoverProps:v,isHovered:x}=ve({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:y}=Dv({key:u.key},r),E;i&&a&&(E=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,S=o.useRef(null),{visuallyHiddenProps:I}=Un();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,S));let D=o.useRef(null);o.useEffect(()=>{i&&!D.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 R=i&&i.isDragging(u.key),{children:A,...k}=e,z=U({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:x,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:R,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:$}}),C=ze("tr"),F=ze("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(C,{role:"row",style:{height:0}},o.createElement(F,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...I,...B.dropIndicatorProps,ref:S}))),o.createElement(C,{...V(O(e),c,b,v,E==null?void 0:E.dragProps,g),...z,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":x||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":R||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":$||void 0},o.createElement(se,{values:[[_i,{slots:{[yu]:{},selection:y}}],[dt,{slots:{[yu]:{},drag:{...E==null?void 0:E.dragButtonProps,ref:D,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(gt,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),wx=ru("cell",(e,t,u)=>{let n=De(t),r=o.useContext(Ct),{dragState:a}=o.useContext(xt),{isVirtualized:i}=o.useContext(Be);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=$v({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=ce(),{hoverProps:p,isHovered:m}=ve({}),b=U({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m}}),$=ze("td");return o.createElement($,{...V(O(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(Be.Provider,{value:Yn},b.children))});function Tx(e,t){t=De(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(xt),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(Ix,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function Rx(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(Ct),{visuallyHiddenProps:l}=Un(),s=U({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=ze("tr"),c=ze("td");return o.createElement(d,{...O(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 Ix=o.forwardRef(Rx);function Kx(){let e=o.useContext(Ct),{dragAndDropHooks:t,dropState:u}=o.useContext(xt),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=Un(),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})))}ru("loader",function(t,u,n){let r=o.useContext(Ct),{isVirtualized:a}=o.useContext(Be),i=r.collection.columns.length,l=U({...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,...V(O(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const ya=o.createContext(null),Qu=o.createContext(null),Mx=o.forwardRef(function(t,u){[t,u]=Q(t,u,ya);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(Pu,{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=oy({...e,collection:u,children:void 0}),{focusProps:a,isFocused:i,isFocusVisible:l}=ce({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:i,isFocusVisible:l}),[n,i,l]),d=U({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{...O(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(se,{values:[[ya,e],[Qu,r]]},d.children))}const Vx=o.forwardRef(function(t,u){return o.useContext(Qu)?o.createElement(Nx,{props:t,forwardedRef:u}):o.createElement(gt,t)});function Nx({props:e,forwardedRef:t}){let u=o.useContext(Qu),{CollectionRoot:n}=o.useContext(Be),{orientation:r="horizontal",keyboardActivation:a="automatic"}=Oe(ya),i=De(t),{tabListProps:l}=Ev({...e,orientation:r,keyboardActivation:a},u,i),s=U({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=O(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:Rl(u.selectionManager.focusedKey)}))}const _x=ru("item",(e,t,u)=>{let n=o.useContext(Qu),r=De(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=yv({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=ce(),{hoverProps:p,isHovered:m}=ve({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),b=U({...e,id:void 0,defaultClassName:"react-aria-Tab",values:{isSelected:i,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:m}}),$=u.props.href?"a":"div";return o.createElement($,{...V(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})}),jx=Xr(function(t,u){const n=o.useContext(Qu);let r=De(u),{tabPanelProps:a}=xv(t,n,r),{focusProps:i,isFocused:l,isFocusVisible:s}=ce(),d=n.selectedKey===t.id,c=U({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=O(t);delete f.id;let p=d?V(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(se,{values:[[ya,null],[Qu,null]]},o.createElement(Be.Provider,{value:Yn},c.children)))}),Lx=o.createContext(null),i5=o.createContext(null),Ox=o.forwardRef(function(t,u){return[t,u]=Q(t,u,Lx),o.createElement(Pu,{content:t.children},n=>o.createElement(Hx,{props:t,forwardedRef:u,collection:n}))});function Hx({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=ot(),i=fa({...e,children:void 0,collection:u}),l=O(e),s=Object.fromEntries(Object.entries(l).map(([b])=>[b,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=Bv({...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(se,{values:[[Dt,{...c,elementType:"span",ref:r}],[i5,{...d,ref:n}],[jt,i],[Ue,{slots:{description:f,errorMessage:p}}]]},e.children))}const l5=o.forwardRef(function(t,u){return o.useContext(jt)?o.createElement(Ux,{props:t,forwardedRef:u}):o.createElement(gt,t)});function Ux({props:e,forwardedRef:t}){let u=o.useContext(jt),{CollectionRoot:n}=o.useContext(Be),[r,a]=Q(e,t,i5);delete r.items,delete r.renderEmptyState;let{focusProps:i,isFocused:l,isFocusVisible:s}=ce(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=U({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=Rl(u.selectionManager.focusedKey);return o.createElement("div",{...V(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 Wx=ru("item",(e,t,u)=>{let n=o.useContext(jt),r=De(t),{focusProps:a,isFocusVisible:i}=ce({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=Pv({item:u},n,r),{hoverProps:f,isHovered:p}=ve({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),m=U({...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,...V(O(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(se,{values:[[dt,{slots:{remove:d}}],[Be,Yn]]},m.children)))}),jl=o.createContext(null),o5=o.createContext(null);function Zx(e){let t=rh(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=Av(e,t,u);return o.createElement(se,{values:[[jl,t],[o5,{...r,triggerRef:u}]]},o.createElement(Y$,{...n,ref:u},e.children))}const qx=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=Q(u,n,o5);let r=o.useContext(jl),a=rh(u),i=u.isOpen!=null||u.defaultOpen!=null||!r?a:r,l=zs(n,i.isOpen)||u.isExiting||!1;return!i.isOpen&&!l?null:o.createElement(k3,{portalContainer:t},o.createElement(Gx,{...u,tooltipRef:n,isExiting:l}))});function Gx(e){let t=o.useContext(jl),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}=Dl({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=Ms(e.tooltipRef,!!l)||e.isEntering||!1,d=U({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=V(e,a);let{tooltipProps:c}=Sv(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(zl.Provider,{value:{...i,placement:l,ref:u}},d.children))}const Yx="accordion",Jx=({variant:e="uncontained",type:t="single",children:u,className:n,...r})=>h.jsx(lx,{"data-testid":Yx,allowsMultipleExpanded:t==="multiple",className:H(Je.root,e==="contained"?Je.contained:Je.uncontained,n),...r,children:u}),Qx='"../theme/tokens.css"',Xx="_button_nnao2_4",e7="_secondary_nnao2_47",t7="_tertiary_nnao2_70",u7="_iconBtn_nnao2_91",n7="_danger_nnao2_112",r7="_iconRight_nnao2_134",a7="_fullwidth_nnao2_138",i7="_small_nnao2_142",l7="_primary_nnao2_149",Pt={tokens:Qx,"--font-family":'"Inter", sans-serif',"--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--size-03":"1rem","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-border-primary":"light-dark(light-dark(#143c50, #143c50), #f2f2f2)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--white":"#ffffff","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-brand":"light-dark(#143c50, #f2f2f2)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-danger-active":"light-dark(#801313, #801313)","--focus":"0 0 0 2px white, 0 0 0 4px black",button:Xx,secondary:e7,tertiary:t7,iconBtn:u7,danger:n7,iconRight:r7,fullwidth:a7,small:i7,primary:l7},Ie=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r,icon:a,iconSize:i,...l})=>{const s=r==="small"?14:i||20;return h.jsx(zt,{className:H(Pt.button,e==="primary"&&Pt.primary,e==="secondary"&&Pt.secondary,e==="tertiary"&&Pt.tertiary,e==="danger"&&Pt.danger,e==="icon"&&Pt.iconBtn,t&&Pt.fullwidth,r==="small"&&Pt.small,n==="right"&&Pt.iconRight,u),...l,children:h.jsxs(h.Fragment,{children:[a&&h.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},o7='"../theme/tokens.css"',s7="undefined",d7="_buttonGroup_5pd8y_4",c7={tokens:o7,smBreakpoint:s7,buttonGroup:d7},f7=({children:e,className:t,"aria-label":u,...n})=>h.jsx("div",{role:"group","aria-label":u,className:H(c7.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 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(" ");/**
23
+ */const p7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s5=(...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 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"};/**
28
+ */var m7={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 j7=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]]));/**
33
+ */const b7=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,...m7,width:t,height:t,stroke:e,strokeWidth:n?Number(u)*24/Number(t):u,className:s5("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(j7,{ref:a,iconNode:t,className:W5(`lucide-${V7(e)}`,n),...r}));return u.displayName=`${e}`,u};/**
38
+ */const ke=(e,t)=>{const u=o.forwardRef(({className:n,...r},a)=>o.createElement(b7,{ref:a,iconNode:t,className:s5(`lucide-${p7(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 L7=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 h7=ke("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 _7=Ae("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
48
+ */const $7=ke("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 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"}]]);/**
53
+ */const g7=ke("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 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"}]]);/**
58
+ */const d5=ke("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 In=Ae("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
63
+ */const D7=ke("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
64
64
  * @license lucide-react v0.453.0 - ISC
65
65
  *
66
66
  * This source code is licensed under the ISC license.
67
67
  * See the LICENSE file in the root directory of this source tree.
68
- */const Ml=Ae("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
68
+ */const Zr=ke("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
69
69
  * @license lucide-react v0.453.0 - ISC
70
70
  *
71
71
  * This source code is licensed under the ISC license.
72
72
  * See the LICENSE file in the root directory of this source tree.
73
- */const zl=Ae("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
73
+ */const Ll=ke("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
74
74
  * @license lucide-react v0.453.0 - ISC
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 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"}]]);/**
78
+ */const Ol=ke("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
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 q5=Ae("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
83
+ */const c5=ke("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"}]]);/**
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 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"}]]);/**
88
+ */const f5=ke("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
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 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"}]]);/**
93
+ */const v7=ke("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"}]]);/**
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 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"}]]);/**
98
+ */const y7=ke("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"}]]);/**
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 W7=Ae("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
103
+ */const p5=ke("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
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 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"}]]);/**
108
+ */const x7=ke("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
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 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"}]]);/**
113
+ */const C7=ke("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"}]]);/**
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 E7=ke("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"}]]);/**
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 Y7=Ae("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
123
+ */const B7=ke("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"}]]);/**
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 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"}]]);/**
128
+ */const k7=ke("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
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 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"}]]);/**
133
+ */const P7=ke("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"}]]);/**
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 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",jC="#143c50",LC="#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_1lhw5_4",r9="_checkboxInner_1lhw5_11",a9="_checkbox_1lhw5_11",i9="_checkboxGroup_1lhw5_136",jr={tokens:zC,display:VC,black:NC,primaryBackground:jC,blue80:LC,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(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]})}),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:jr.checkboxGroup,...a,children:g.jsx(pt,{label:e,description:t,errorMessage:u,children:g.jsxs(Un,{className:jr.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",j9="#e6e6e6",L9="#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:j9,gray10:L9,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_1602j_4",f8="_datePickerTextfield_1602j_11",p8="_buttonInvalid_1602j_22",m8="_date_1602j_4",b8="_dialog_1602j_82",h8="_dialogHeader_1602j_87",$8="_dialogHeading_1602j_113",g8="_day_1602j_118",D8="_calendar_1602j_156",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,buttonInvalid:p8,date:m8,dialog:b8,dialogHeader:h8,dialogHeading:$8,day:g8,calendar:D8},y8=({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,weekdayStyle:"short",children:a=>g.jsx(Gb,{date:a,className:Ee.day})})]})})})]})})},v8=({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,{className:W(n.isInvalid&&Ee.buttonInvalid),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,weekdayStyle:"short",children:a=>g.jsx(Gb,{date:a,className:Ee.day})})]})})})]})})},x8='"../theme/tokens.css"',C8='"Inter", sans-serif',E8="0 0 0 2px #ffffff, 0 0 0 4px #000000",B8="#f2f2f2",k8="_dropDownMenu_1f4ap_4",P8="_dropdownMenu_1f4ap_15",X5={tokens:x8,display:C8,focus:E8,gray10:B8,dropDownMenu:k8,dropdownMenu:P8};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(jv,{...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 S8='"../theme/tokens.css"',A8='"Inter", sans-serif',w8="#f2f2f2",F8="#8c8c8c",T8="500",R8="400",I8="_box_iol70_4",K8="_list_iol70_28",M8="_container_iol70_38",z8="_label_iol70_45",V8="_text_iol70_51",N8="_dropzone_iol70_57",j8="_input_iol70_71",Hu={tokens:S8,display:A8,gray10:w8,gray90:F8,mediumWeight:T8,regularWeight:R8,box:I8,list:K8,container:M8,label:z8,text:V8,dropzone:N8,input:j8},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))})},_8='"../theme/tokens.css"',O8="(min-width: 768px)",H8="(min-width: 1200px)",U8="(min-width: 1440px)",W8="_container_148sa_4",G8="_flex_148sa_16",Z8="_fluid_148sa_54",q8="_col_148sa_60",Yu={tokens:_8,mdBreakpoint:O8,lgBreakpoint:H8,xlBreakpoint:U8,container:W8,flex:G8,fluid:Z8,col:q8,"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"},Y8=({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})},J8='"../theme/tokens.css"',Q8="(min-width: 768px)",X8="(min-width: 1200px)",eE="(min-width: 1440px)",tE="_container_1aupx_4",uE="_grid_1aupx_16",nE="_fluid_1aupx_45",rE="_col_1aupx_52",Dn={tokens:J8,mdBreakpoint:Q8,lgBreakpoint:X8,xlBreakpoint:eE,container:tE,grid:uE,fluid:nE,col:rE,"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"},aE=({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})}),iE=({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})},lE='"../theme/tokens.css"',oE='"Inter", sans-serif',sE="#d5f2d9",dE="#008d3c",cE="#eaf2f6",fE="#0066cc",pE="#fff8e1",mE="#f1c21b",bE="#ffdfdf",hE="#e62323",$E="#000000",gE="600",DE="_infoBanner_1tfw7_4",yE="_success_1tfw7_13",vE="_info_1tfw7_4",xE="_important_1tfw7_23",CE="_warning_1tfw7_28",EE="_content_1tfw7_37",BE="_heading_1tfw7_43",kE="_text_1tfw7_48",PE="_icon_1tfw7_53",SE="_dismissable_1tfw7_58",bu={tokens:lE,display:oE,signalGreen10:sE,signalGreen100:dE,signalBlue10:cE,signalBlue100:fE,signalYellow10:pE,signalYellow100:mE,signalRed10:bE,signalRed100:hE,black:$E,semiBoldWeight:gE,infoBanner:DE,success:yE,info:vE,important:xE,warning:CE,content:EE,heading:BE,text:kE,icon:PE,dismissable:SE},AE={success:q5,info:Y5,important:Z5,warning:J5},wE=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=AE[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},FE='"../theme/tokens.css"',TE='"Inter", sans-serif',RE="#143c50",IE="500",KE="#f2f2f2",ME="#e6e6e6",zE="#d9d9d9",VE="#b3b3b3",NE="#a6a6a6",jE="#5d5d5d",LE="#1f1f1f",_E="(min-width: 768px)",OE="#b90835",HE="0 0 0 2px #ffffff, 0 0 0 4px #000000",UE="_baseLayout_9uzhg_4",WE="_mainContent_9uzhg_13",GE="_header_9uzhg_18",ZE="_headerContent_9uzhg_35",qE="_headerItems_9uzhg_52",YE="_logo_9uzhg_53",JE="_headerMenu_9uzhg_61",QE="_toggleButton_9uzhg_69",XE="_sidebar_9uzhg_77",eB="_main_9uzhg_13",tB="_app_9uzhg_114",uB="_sidebarOpened_9uzhg_123",nB="_sidebarFooter_9uzhg_127",rB="_appName_9uzhg_138",aB="_collapseButton_9uzhg_145",iB="_sidebarCollapsed_9uzhg_155",lB="_sidebarHeader_9uzhg_160",oB="_userName_9uzhg_172",sB="_abbr_9uzhg_185",dB="_userTitle_9uzhg_191",cB="_title_9uzhg_203",fB="_sidebarNav_9uzhg_214",pB="_list_9uzhg_220",mB="_listGroupTitle_9uzhg_227",bB="_listItem_9uzhg_234",hB="_listItemCollapsed_9uzhg_238",$B="_listLink_9uzhg_242",gB="_listLinkCollapsed_9uzhg_287",DB="_active_9uzhg_292",yB="_linkText_9uzhg_297",vB="_backdrop_9uzhg_304",xB="_backdropOpened_9uzhg_314",CB="_skipToContent_9uzhg_332",ee={tokens:FE,display:TE,primaryBackground:RE,mediumWeight:IE,gray10:KE,gray20:ME,gray30:zE,gray60:VE,gray70:NE,gray130:jE,gray150:LE,mdBreakpoint:_E,logoPrimary:OE,focus:HE,baseLayout:UE,mainContent:WE,header:GE,headerContent:ZE,headerItems:qE,logo:YE,headerMenu:JE,toggleButton:QE,sidebar:XE,main:eB,app:tB,sidebarOpened:uB,sidebarFooter:nB,appName:rB,collapseButton:aB,sidebarCollapsed:iB,sidebarHeader:lB,userName:oB,abbr:sB,userTitle:dB,title:cB,sidebarNav:fB,list:pB,listGroupTitle:mB,listItem:bB,listItemCollapsed:hB,listLink:$B,listLinkCollapsed:gB,active:DB,linkText:yB,backdrop:vB,backdropOpened:xB,skipToContent:CB},EB='"../theme/tokens.css"',BB='"Inter", sans-serif',kB="#1f1f1f",PB="_tooltip_m1a8t_4",SB="_arrow_m1a8t_17",fs={tokens:EB,display:BB,gray150:kB,tooltip:PB,arrow:SB};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),AB=({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})})]})]})},wB='"../theme/tokens.css"',FB="#b90835",TB="#000000",RB="#5d5d5d",IB="#ffffff",KB="_container_1c334_4",MB="_noPadding_1c334_9",zB="_logo_1c334_13",VB="_primary_1c334_18",NB="_dark_1c334_22",jB="_xSmall_1c334_26",LB="_small_1c334_30",_B="_large_1c334_34",OB="_backgroundPrimary_1c334_38",HB="_backgroundDark_1c334_46",lt={tokens:wB,red100:FB,black:TB,gray130:RB,white:IB,container:KB,noPadding:MB,logo:zB,primary:VB,dark:NB,xSmall:jB,small:LB,large:_B,backgroundPrimary:OB,backgroundDark:HB},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}))})})]})]})},UB=({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"})},WB=()=>{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(UB,{}),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(WB,{})]})]})})};Jt.Provider=AB;Jt.Header=oh;Jt.Sidebar=ih;Jt.SidebarLink=Nl;const GB='"../theme/tokens.css"',ZB="#143c50",qB="#25607f",YB="#4289ad",JB='"Inter", sans-serif',QB="1rem",XB="500",ek="#ffffff",tk="#bfbfbf",uk="#f2f2f2",nk="#e6e6e6",rk="#000000",ak="undefined",ik="0 0 0 2px #ffffff, 0 0 0 4px #000000",lk="(max-width: 767px)",ok="#e62323",sk="#b31b1b",dk="#801313",ck="_linkButton_42bs5_4",fk="_secondary_42bs5_48",pk="_tertiary_42bs5_72",mk="_danger_42bs5_93",bk="_iconBtn_42bs5_115",hk="_iconLeft_42bs5_136",$k="_fullwidth_42bs5_140",gk="_button_42bs5_145",Je={tokens:GB,blue150:ZB,blue130:qB,blue90:YB,display:JB,desktopSize:QB,mediumWeight:XB,white:ek,gray50:tk,gray10:uk,gray20:nk,black:rk,medium:ak,focus:ik,smBreakpoint:lk,signalRed100:ok,signalRed130:sk,signalRed150:dk,linkButton:ck,secondary:fk,tertiary:pk,danger:mk,iconBtn:bk,iconLeft:hk,fullwidth:$k,button:gk},Dk=({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,{})]})},yk='"../theme/tokens.css"',vk='"Inter", sans-serif',xk="#ffffff",Ck="#f2f2f2",Ek="_modal_1wq00_4",Bk="_modalHeader_1wq00_30",kk="_modalBody_1wq00_39",Pk="_modalHeading_1wq00_45",lr={tokens:yk,display:vk,white:xk,gray10:Ck,modal:Ek,modalHeader:Bk,modalBody:kk,modalHeading:Pk},Sk=({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]})]})},Ak='"../theme/tokens.css"',wk='"Inter", sans-serif',Fk="#000000",Tk="#b31b1b",Rk="(max-width: 767px)",Ik="#bfbfbf",Kk="#e6e6e6",Mk="#f2f2f2",zk="_button_sua3u_4",Vk="_icon_sua3u_19",Nk="_multiSelect_sua3u_44",jk="_popover_sua3u_60",Lk="_listBoxItem_sua3u_73",dn={tokens:Ak,display:wk,black:Fk,signalRed130:Tk,smBreakpoint:Rk,gray50:Ik,gray20:Kk,backgroundSecondary:Mk,button:zk,icon:Vk,multiSelect:Nk,popover:jk,listBoxItem:Lk},_k='"../theme/tokens.css"',Ok='"Inter", sans-serif',Hk="#000000",Uk="#b31b1b",Wk="(max-width: 767px)",Gk="#bfbfbf",Zk="#d9d9d9",qk="#e6e6e6",Yk="#f2f2f2",Jk="#f2f2f2",Qk="_button_m4kn4_4",Xk="_tag_m4kn4_14",eP="_dismissable_m4kn4_34",tP="_tagText_m4kn4_42",uP="_tagList_m4kn4_47",mn={tokens:_k,display:Ok,black:Hk,signalRed130:Uk,smBreakpoint:Wk,gray50:Gk,gray30:Zk,gray20:qk,gray10:Yk,backgroundSecondary:Jk,button:Qk,tag:Xk,dismissable:eP,tagText:tP,tagList:uP},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})})]}),nP=({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)})})]})})},rP='"../theme/tokens.css"',aP='"Inter", sans-serif',iP="undefined",lP="#1f1f1f",oP="#000000",sP="#143c50",dP="#bfbfbf",cP="#b3b3b3",fP="#f2f2f2",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_dgfri_4",CP="_wrap_dgfri_16",EP="_radio_dgfri_4",Ti={tokens:rP,display:aP,inputLabel:iP,inputText:lP,black:oP,blue150:sP,gray50:dP,gray60:cP,gray10: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(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})})}),kP=e=>g.jsx(Cx,{className:Ti.radio,...e}),PP='"../theme/tokens.css"',SP='"Inter", sans-serif',AP="#e62323",wP="0 0 0 2px #ffffff, 0 0 0 4px #000000",FP="#f2f2f2",TP="#000000",RP="_fieldError_smrso_5",IP="_container_smrso_34",KP="_inputContainer_smrso_40",MP="_icon_smrso_47",zP="_clear_smrso_55",VP="_input_smrso_40",zu={tokens:PP,display:SP,signalRed100:AP,focus:wP,gray10:FP,black:TP,fieldError:RP,container:IP,inputContainer:KP,icon:MP,clear:zP,input:VP};function NP(e){return!!(e!=null&&e.length)}const jP=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&&NP(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"',_P='"Inter", sans-serif',OP="#000000",HP="#b31b1b",UP="(max-width: 767px)",WP="#bfbfbf",GP="#e6e6e6",ZP="0 0 0 2px #ffffff, 0 0 0 4px #000000",qP="#f2f2f2",YP="_button_1by20_4",JP="_select_1by20_46",QP="_popover_1by20_62",XP="_listBoxItem_1by20_70",eS="_icon_1by20_97",bn={tokens:LP,display:_P,black:OP,signalRed130:HP,smBreakpoint:UP,gray50:WP,gray20:GP,focus:ZP,backgroundSecondary:qP,button:YP,select:JP,popover:QP,listBoxItem:XP,icon:eS};function tS({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 uS(e){return g.jsx(T5,{className:bn.listBoxItem,...e})}const nS="_skeleton_1ddo2_11",rS="_circle_1ddo2_21",aS="_wave_1ddo2_26",Wa={skeleton:nS,circle:rS,wave:aS},iS=({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}})),lS='"../theme/tokens.css"',oS="#b90835",sS="#143c50",dS="_container_13uof_4",cS="_spinner_13uof_8",fS="_rotating_13uof_1",pS="_dark_13uof_18",mS="_vsHidden_13uof_22",or={tokens:lS,red100:oS,blue150:sS,container:dS,spinner:cS,rotating:fS,dark:pS,vsHidden:mS},bS=({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."})]}),hS='"../theme/tokens.css"',$S='"Inter", sans-serif',gS="#f2f2f2",DS="#d9d9d9",yS="#cccccc",vS="#b3b3b3",xS="500",CS="_cell_yd56b_4",ES="_table_yd56b_10",BS="_narrow_yd56b_14",kS="_striped_yd56b_29",PS="_row_yd56b_29",SS="_tableHeader_yd56b_48",AS="_column_yd56b_52",vu={tokens:hS,display:$S,gray10:gS,gray30:DS,gray40:yS,gray60:vS,mediumWeight:xS,cell:CS,table:ES,narrow:BS,striped:kS,row:PS,tableHeader:SS,column:AS},wS=({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})},FS=({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})]})},TS=({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(L7,{size:20})})]})}),Ii=({...e})=>g.jsx(Nx,{className:vu.cell,...e}),RS='"../theme/tokens.css"',IS='"Inter", sans-serif',KS="#bfbfbf",MS="600",zS="#25607f",VS="0 0 0 2px #ffffff, 0 0 0 4px #000000",NS="(max-width: 767px)",jS="_container_a0kqi_4",LS="_list_a0kqi_8",_S="_listItem_a0kqi_14",OS="_panel_a0kqi_42",sr={tokens:RS,display:IS,gray50:KS,semiBoldWeight:MS,blue130:zS,focus:VS,smBreakpoint:NS,container:jS,list:LS,listItem:_S,panel:OS},HS=({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))]})},US='"../theme/tokens.css"',WS='"Inter", sans-serif',GS="#ffdfdf",ZS="(max-width: 767px)",qS="#f2f2f2",YS="#e6e6e6",JS="#bfbfbf",QS="#000000",XS="#e62323",eA="#2e7ca5",tA="500",uA="400",nA="#1f1f1f",rA="0 0 0 2px #ffffff, 0 0 0 4px #000000",aA="_textArea_r27ql_4",iA="_count_r27ql_45",lA="_countExceeded_r27ql_53",dr={tokens:US,display:WS,signalRed10:GS,smBreakpoint:ZS,gray10:qS,gray20:YS,gray50:JS,black:QS,signalRed100:XS,blue100:eA,mediumWeight:tA,regularWeight:uA,inputText:nA,focus:rA,textArea:aA,count:iA,countExceeded:lA},oA=({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 jh={};jh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var Lh={};Lh={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 jl={};jl={"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":jh,"tr-TR":Lh,"uk-UA":_h,"zh-CN":Oh,"zh-TW":Hh};function sA(e){return e&&e.__esModule?e.default:e}function dA(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(sA(jl),"@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 cA(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 pA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Ga])}function fA(){return _i.useSyncExternalStore(cA,ps,ps)}class pA{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 mA(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=fA(),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 bA(e){return e&&e.__esModule?e.default:e}function hA(e,t,u){let n=be(bA(jl),"@react-aria/toast"),{landmarkProps:r}=mA({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 $A(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 gA(()=>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 gA{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 DA='"../theme/tokens.css"',yA='"Inter", sans-serif',vA="#d5f2d9",xA="#008d3c",CA="#eaf2f6",EA="#0066cc",BA="#fff8e1",kA="#f1c21b",PA="#ffdfdf",SA="#e62323",AA="#1f1f1f",wA="0 0 0 2px #ffffff, 0 0 0 4px #000000",FA="(min-width: 768px)",TA="_toastRegion_i4o11_52",RA="_toast_i4o11_52",IA="_success_i4o11_96",KA="_info_i4o11_104",MA="_important_i4o11_112",zA="_warning_i4o11_120",VA="_icon_i4o11_128",NA="_toastContent_i4o11_138",jA="_toastMessage_i4o11_145",LA="_slideInTop_i4o11_1",_A="_slideInEnd_i4o11_1",OA="_slideOutTop_i4o11_1",HA="_slideOutEnd_i4o11_1",ju={tokens:DA,display:yA,signalGreen10:vA,signalGreen100:xA,signalBlue10:CA,signalBlue100:EA,signalYellow10:BA,signalYellow100:kA,signalRed10:PA,signalRed100:SA,gray150:AA,focus:wA,mdBreakpoint:FA,toastRegion:TA,toast:RA,success:IA,info:KA,important:MA,warning:zA,icon:VA,toastContent:NA,toastMessage:jA,slideInTop:LA,slideInEnd:_A,slideOutTop:OA,slideOutEnd:HA},UA={success:q5,info:Y5,important:Z5,warning:J5},Zh=new Gh({maxVisibleToasts:5,hasExitAnimation:!0}),WA=e=>{const t=Wh(Zh);return t.visibleToasts.length>0?au.createPortal(g.jsx(Ll,{...e,state:t}),document.body):null},GA=({children:e,...t})=>{const u=$A({maxVisibleToasts:5,hasExitAnimation:!0});return g.jsxs(g.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&g.jsx(Ll,{...t,state:u})]})};function Ll({state:e,...t}){const u=o.useRef(null),{regionProps:n}=hA(t,e,u);return g.jsx("div",{...n,ref:u,className:ju.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}=dA(t,e),l=UA[t.toast.content.type];return g.jsxs("div",{...n,ref:u,className:W(ju.toast,ju[t.toast.content.type]),"data-animation":t.toast.animation,onAnimationEnd:()=>{t.toast.animation==="exiting"&&e.remove(t.toast.key)},children:[g.jsxs("div",{className:ju.toastContent,...r,children:[g.jsx(l,{className:ju.icon,size:20,"aria-hidden":!0}),g.jsxs("div",{children:[g.jsx("p",{className:ju.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=v8;exports.DateRangePicker=y8;exports.Dropdown=eh;exports.DropdownItem=th;exports.FileUpload=L8;exports.Flex=Y8;exports.FlexItem=uh;exports.GlobalToastRegion=WA;exports.Grid=aE;exports.GridItem=iE;exports.Header=oh;exports.InfoBanner=wE;exports.InputWrapper=pt;exports.Item=uS;exports.Layout=Jt;exports.Link=Vl;exports.LinkButton=Dk;exports.Logo=lh;exports.Modal=Sk;exports.MultiSelect=nP;exports.Radio=kP;exports.RadioGroup=BP;exports.RouterProvider=gs;exports.Row=TS;exports.SearchField=jP;exports.Select=tS;exports.Sidebar=ih;exports.SidebarLink=Nl;exports.Skeleton=iS;exports.Spinner=bS;exports.Table=wS;exports.TableBody=zx;exports.TableHeader=FS;exports.Tabs=HS;exports.Tag=dh;exports.TagGroup=sh;exports.TextArea=oA;exports.TextField=w9;exports.Toast=qh;exports.ToastProvider=GA;exports.ToastRegion=Ll;exports.Tooltip=nh;exports.TooltipTrigger=rh;exports.ssnRegEx=Q5;exports.toastQueue=Zh;
138
+ */const m5=ke("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"}]]);/**
139
+ * @license lucide-react v0.453.0 - ISC
140
+ *
141
+ * This source code is licensed under the ISC license.
142
+ * See the LICENSE file in the root directory of this source tree.
143
+ */const ou=ke("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),S7=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=ne.useRef(null),[i,l]=ne.useState(0),s=typeof e=="object";return ne.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)}),h.jsxs(dx,{...r,className:H(Je.item,u),children:[s?h.jsx("div",{className:Je.trigger,children:h.jsxs(Ie,{slot:"trigger",variant:"icon",children:[h.jsx(Zr,{size:20,className:Je.icon}),e]})}):h.jsx(va,{level:n,className:Je.trigger,children:h.jsxs(Ie,{slot:"trigger",variant:"icon",children:[h.jsx(Zr,{size:20,className:Je.icon}),h.jsx("span",{className:Je.triggerText,children:e})]})}),h.jsx(cx,{style:{"--panel-height":`${i}px`},className:H(Je.panel,i===0&&Je.panel0),children:h.jsx("div",{ref:a,className:Je.content,children:t})})]})},A7='"../theme/tokens.css"',F7="_link_3zs58_4",w7="_icon_3zs58_45",T7="_standalone_3zs58_49",R7="_stretched_3zs58_64",cn={tokens:A7,"--font-family":'"Inter", sans-serif',"--link-enabled":"light-dark(#2e7ca5, #4289ad)","--link-hover":"light-dark(#143c50, #5897b8)","--link-pressed":"light-dark(#171717, #82b0c9)","--link-visited":"light-dark(#954b95, #b46ab4)","--text-disabled":"light-dark(#bfbfbf, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black",link:F7,icon:w7,standalone:T7,stretched:R7},Hl=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||jr;return h.jsx(l,{className:H(cn.link,t&&cn.standalone,u&&cn.stretched,r),...i,children:h.jsxs(h.Fragment,{children:[e,!t&&n&&h.jsx(n,{size:20,className:cn.icon}),t&&h.jsx($7,{size:20,className:cn.icon})]})})},I7='"../theme/tokens.css"',K7="_container_1fsfi_4",M7={tokens:I7,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)",container:K7},z7=({items:e})=>h.jsx(gy,{className:M7.container,children:e.map((t,u)=>h.jsx(Dy,{children:h.jsx(Hl,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),V7='"../theme/tokens.css"',N7="_card_3zluz_4",_7="_content_3zluz_33",j7="_heading_3zluz_39",L7="_image_3zluz_47",O7="_text_3zluz_56",fn={tokens:V7,"--font-family":'"Inter", sans-serif',"--border-strong":"light-dark(#171717, #f2f2f2)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--text-primary":"light-dark(#171717, #f2f2f2)","--blue-20":"#d5e5ed",card:N7,content:_7,heading:j7,image:L7,text:O7},H7=({image:e,title:t,content:u,link:n,headingTag:r="h1",customImageComponent:a,customLinkComponent:i,className:l,...s})=>{const d=ne.useId();return h.jsxs("div",{className:H(fn.card,l),...s,children:[h.jsxs("div",{className:fn.content,children:[a||(e==null?void 0:e.source)&&h.jsx("img",{src:e.source,alt:e.description,className:fn.image}),h.jsxs("div",{id:d,children:[h.jsx(r,{className:fn.heading,children:t}),h.jsx("p",{className:fn.text,children:u})]})]}),h.jsx(Hl,{"aria-describedby":d,...n,standalone:!0,stretched:!0,as:i})]})},U7='"../theme/tokens.css"',W7="_wrap_d0s9s_4",Z7="_checkboxInner_d0s9s_11",q7="_checkbox_d0s9s_11",G7="_checkboxGroup_d0s9s_128",qr={tokens:U7,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-disabled":"light-dark(#bfbfbf, #525252)","--breakpoint-sm":"(max-width: 767px)","--border-invalid":"light-dark(#e62323, #e62323)","--icon-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-primary-hover":"light-dark(#25607f, #25607f)",wrap:W7,checkboxInner:Z7,checkbox:q7,checkboxGroup:G7},xa=({children:e,...t})=>h.jsx(Fy,{className:H(qr.checkbox,t.className),...t,children:({isIndeterminate:u})=>h.jsxs(h.Fragment,{children:[h.jsx("div",{className:qr.checkboxInner,children:h.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?h.jsx("rect",{x:4,y:8,width:10,height:2}):h.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),Y7='"../theme/tokens.css"',J7="_inputField_1ogiu_4",Q7="_inputWrapper_1ogiu_12",X7="_label_1ogiu_30",eC="_text_1ogiu_37",tC="_fieldError_1ogiu_44",uC="_passwordText_1ogiu_68",nC="_count_1ogiu_81",rC="_countExceeded_1ogiu_89",aC="_input_1ogiu_4",iC="_wrap_1ogiu_137",lC="_passwordButton_1ogiu_142",_e={tokens:Y7,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px white, 0 0 0 4px black",inputField:J7,inputWrapper:Q7,label:X7,text:eC,fieldError:tC,passwordText:uC,count:nC,countExceeded:rC,input:aC,wrap:iC,passwordButton:lC},oC=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxLength:a,showCounter:i,className:l,...s})=>{const[d,c]=ne.useState(s.defaultValue??s.value??""),f=b=>{const $=b.target.value;c($)},p=b=>n==="ssn"?b5.test(b)?null:"Felaktigt personnummer":n==="dossnr"?h5.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?h.jsxs("span",{className:H(_e.count,d.length>a&&_e.countExceeded),children:[d.length," / ",a]}):i?h.jsx("span",{className:_e.count,children:d.length}):null;return h.jsx(Tl,{className:H(_e.inputField,l),validate:p,...s,children:h.jsxs(Fu,{label:e,description:t,errorMessage:u,children:[h.jsx(m,{}),h.jsxs("div",{className:_e.wrap,children:[h.jsx(pa,{type:s.type,className:_e.input,onChange:f,onBlur:f}),h.jsx(sC,{type:s.type,input:d})]})]})})},sC=({type:e,input:t})=>{const[u,n]=ne.useState(!1);return e==="password"?h.jsxs(h.Fragment,{children:[u&&h.jsx(yt,{slot:"description",className:_e.passwordText,children:t}),h.jsx(Ie,{variant:"tertiary",onPress:()=>n(!u),className:_e.passwordButton,children:u?"Dölj":"Visa"})]}):null},Fu=({label:e,description:t,errorMessage:u,children:n})=>h.jsxs("div",{className:_e.inputWrapper,children:[e&&h.jsx(Xu,{className:_e.label,children:e}),t&&h.jsx(yt,{slot:"description",className:_e.text,children:t}),h.jsx(Zn,{"data-testid":"fieldError",className:_e.fieldError,children:u}),n]}),b5=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}))$"),h5=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}$)"),dC=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,...a})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(Il),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 $,g;const p=c.length,m=c.length+1,b=(($=d==null?void 0:d.value)==null?void 0:$.length)||0;b===0&&l("none"),b>0&&b<p&&l("some"),b!==m&&(d==null||d.removeValue("toggleAll")),b===p&&!((g=d==null?void 0:d.value)!=null&&g.includes("toggleAll"))&&(d==null||d.addValue("toggleAll"),l("all"))},[c.length,d==null?void 0:d.value]),h.jsx(xa,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return h.jsx(Ay,{className:qr.checkboxGroup,...a,children:h.jsx(Fu,{label:e,description:t,errorMessage:u,children:h.jsxs(Gn,{className:qr.wrap,children:[n&&h.jsx(s,{}),r]})})})},cC='"../theme/tokens.css"',fC="_input_g2frr_4",pC="_combobox_g2frr_42",mC="_text_g2frr_58",bC="_wrap_g2frr_63",hC="_button_g2frr_68",$C="_icon_g2frr_86",gC="_popover_g2frr_92",DC="_fieldError_g2frr_100",vC="_listBoxItem_g2frr_111",bu={tokens:cC,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--layer-02":"light-dark(#ffffff, #383838)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--border-invalid":"light-dark(#e62323, #e62323)","--text-invalid":"light-dark(#e62323, #e62323)",input:fC,combobox:pC,text:mC,wrap:bC,button:hC,icon:$C,popover:gC,fieldError:DC,listBoxItem:vC};function yC({label:e,description:t,errorMessage:u,children:n,items:r,className:a,...i}){const l=o.useRef(null);return h.jsxs(Jy,{className:H(bu.combobox,a),ref:l,...i,children:[h.jsx(Fu,{label:e,description:t,errorMessage:u,children:h.jsxs("div",{className:bu.wrap,children:[h.jsx(pa,{className:bu.input}),h.jsx(zt,{className:bu.button,"aria-label":"Visa lista",children:h.jsx("div",{className:bu.icon,"aria-hidden":"true",children:h.jsx(Zr,{size:20,"aria-hidden":!0})})})]})}),h.jsx(ga,{className:bu.popover,offset:0,UNSTABLE_portalContainer:l.current||void 0,children:h.jsx(Ty,{items:r,children:n})})]})}function xC(e){return h.jsx(Ky,{className:bu.listBoxItem,...e})}const CC='"../theme/tokens.css"',EC="_datePicker_lalgz_4",BC="_inputField_lalgz_12",kC="_buttonInvalid_lalgz_28",PC="_date_lalgz_4",SC="_divider_lalgz_95",AC="_segment_lalgz_99",FC="_label_lalgz_120",wC="_description_lalgz_126",TC="_fieldError_lalgz_132",Ee={tokens:CC,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--border-invalid":"light-dark(#e62323, #e62323)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-primary":"light-dark(#143c50, #2e7ca5)",datePicker:EC,inputField:BC,buttonInvalid:kC,date:PC,divider:SC,segment:AC,label:FC,description:wC,fieldError:TC},RC='"../theme/tokens.css"',IC="_calendar_w05iu_4",KC="_day_w05iu_22",MC="_header_w05iu_50",zC="_heading_w05iu_75",VC="_today_w05iu_107",et={tokens:RC,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-on-color":"light-dark(#ffffff, #ffffff)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px white, 0 0 0 4px black",calendar:IC,day:KC,header:MC,heading:zC,today:VC};function $5({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(vy,{...n,className:H(et.calendar,u),children:[h.jsxs("header",{className:et.header,children:[h.jsx(zt,{slot:"previous",children:h.jsx(Ll,{})}),h.jsx(va,{className:et.heading}),h.jsx(zt,{slot:"next",children:h.jsx(Ol,{})})]}),h.jsx(sh,{className:et.calendar,weekdayStyle:t,children:r=>h.jsx(dh,{date:r,className:H(et.day,tl(r,Ln())&&et.today)})}),e&&h.jsx(yt,{slot:"errorMessage",children:e})]})}function g5({errorMessage:e,weekdayStyle:t="short",className:u,...n}){return h.jsxs(yy,{...n,className:H(et.calendar,u),children:[h.jsxs("header",{className:et.header,children:[h.jsx(zt,{slot:"previous",children:h.jsx(Ll,{})}),h.jsx(va,{className:et.heading}),h.jsx(zt,{slot:"next",children:h.jsx(Ol,{})})]}),h.jsx(sh,{className:et.calendar,weekdayStyle:t,children:r=>h.jsx(dh,{date:r,className:H(et.day,tl(r,Ln())&&et.today)})}),e&&h.jsx(yt,{slot:"errorMessage",children:e})]})}const NC=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(ix,{...n,className:H(Ee.datePicker,n.className),ref:r,children:[h.jsx(Xu,{className:Ee.label,children:e}),t&&h.jsx(yt,{slot:"description",className:Ee.description,children:t}),h.jsx(Zn,{className:Ee.fieldError,children:u}),h.jsxs(Gn,{className:H(Ee.inputField),children:[h.jsx(Ur,{slot:"start",className:Ee.date,children:a=>h.jsx(Wr,{className:Ee.segment,segment:a})}),h.jsx("span",{"aria-hidden":"true",className:Ee.divider,children:"-"}),h.jsx(Ur,{slot:"end",className:Ee.date,children:a=>h.jsx(Wr,{segment:a,className:Ee.segment})}),h.jsx(zt,{className:H(n.isInvalid&&Ee.buttonInvalid),children:h.jsx(d5,{size:20,"aria-hidden":!0})})]}),h.jsx(ga,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(Qh,{className:Ee.dialog,children:h.jsx(g5,{})})})]})},_C=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return h.jsxs(ax,{...n,className:H(Ee.datePicker,n.className),ref:r,children:[h.jsx(Xu,{className:Ee.label,children:e}),t&&h.jsx(yt,{slot:"description",className:Ee.description,children:t}),h.jsx(Zn,{className:Ee.fieldError,children:u}),h.jsxs(Gn,{className:H(Ee.inputField),children:[h.jsx(Ur,{className:Ee.date,children:a=>h.jsx(Wr,{segment:a,className:Ee.segment})}),h.jsx(zt,{className:H(n.isInvalid&&Ee.buttonInvalid),children:h.jsx(d5,{size:20,"aria-hidden":!0})})]}),h.jsx(ga,{UNSTABLE_portalContainer:r.current||void 0,children:h.jsx(Qh,{className:Ee.dialog,children:h.jsx($5,{})})})]})},jC='"../theme/tokens.css"',LC="_dropDownMenu_15gu2_4",OC="_dropdownMenu_15gu2_15",D5={tokens:jC,"--font-family":'"Inter", sans-serif',"--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)",dropDownMenu:LC,dropdownMenu:OC};function v5({label:e,title:t,children:u,...n}){return h.jsxs(Ly,{...n,children:[h.jsxs(Ie,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,h.jsx(v7,{size:20,"aria-hidden":!0})]}),h.jsx(ga,{children:h.jsx(Hy,{...n,className:D5.dropDownMenu,children:u})})]})}function y5(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return h.jsx(qy,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${D5.dropdownMenu} ${u?"focused":""} ${n?"open":""}`,children:({hasSubmenu:u})=>h.jsxs(h.Fragment,{children:[e.children,u&&h.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:h.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const HC='"../theme/tokens.css"',UC="_box_c5qk3_4",WC="_list_c5qk3_28",ZC="_container_c5qk3_38",qC="_label_c5qk3_45",GC="_text_c5qk3_51",YC="_dropzone_c5qk3_57",JC="_input_c5qk3_71",Lu={tokens:HC,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--background-hover-01":"light-dark(#e6e6e6, #212121)","--border-subtle":"light-dark(#bfbfbf, #383838)",box:UC,list:WC,container:ZC,label:qC,text:GC,dropzone:YC,input:JC},QC=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[a,i]=ne.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?h.jsxs("div",{className:Lu.container,children:[h.jsx(mx,{onDrop:s,className:Lu.dropzone,children:h.jsx(yt,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),a&&h.jsx(gs,{files:a,setFiles:i})]}):h.jsxs("div",{className:Lu.container,children:[h.jsx(Fu,{label:t,description:u,children:h.jsx(bx,{allowsMultiple:e,onSelect:d=>l(d),...r,children:h.jsx(Ie,{variant:"secondary","aria-labelledby":"fileUpload",className:Lu.input,children:e?"Välj filer":"Välj fil"})})}),a&&h.jsx(gs,{files:a,setFiles:i})]})},gs=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return h.jsx("ul",{className:Lu.list,children:e.map((n,r)=>h.jsxs("li",{className:Lu.box,children:[h.jsx("span",{children:n.name}),h.jsx(Ie,{variant:"icon",size:"small",onPress:()=>u(r),children:h.jsx(ou,{size:20,"aria-hidden":!0})})]},r))})},XC='"../theme/tokens.css"',e9="_container_17raf_4",t9="_flex_17raf_16",u9="_fluid_17raf_54",n9="_col_17raf_60",qu={tokens:XC,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:e9,flex:t9,fluid:u9,col:n9,"col-1":"_col-1_17raf_64","col-2":"_col-2_17raf_65","col-3":"_col-3_17raf_66","col-4":"_col-4_17raf_67","col-5":"_col-5_17raf_68","col-6":"_col-6_17raf_69","col-7":"_col-7_17raf_70","col-8":"_col-8_17raf_71","col-9":"_col-9_17raf_72","col-10":"_col-10_17raf_73","col-11":"_col-11_17raf_74","col-12":"_col-12_17raf_75","col-auto":"_col-auto_17raf_76","offset-1":"_offset-1_17raf_130","offset-2":"_offset-2_17raf_134","offset-3":"_offset-3_17raf_138","offset-4":"_offset-4_17raf_142","offset-5":"_offset-5_17raf_146","offset-6":"_offset-6_17raf_150","offset-7":"_offset-7_17raf_154","offset-8":"_offset-8_17raf_158","offset-9":"_offset-9_17raf_162","offset-10":"_offset-10_17raf_166","offset-11":"_offset-11_17raf_170"},r9=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:H(qu.container,t&&qu.fluid,u.className),...u,children:h.jsx("div",{className:qu.flex,children:e})}),x5=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return h.jsx("div",{className:H(qu.col,qu[r],qu[a],n.className),...n,children:e})},a9='"../theme/tokens.css"',i9="_container_162ou_4",l9="_grid_162ou_16",o9="_fluid_162ou_45",s9="_col_162ou_52",yn={tokens:a9,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:i9,grid:l9,fluid:o9,col:s9,"col-1":"_col-1_162ou_58","col-2":"_col-2_162ou_62","col-3":"_col-3_162ou_66","col-4":"_col-4_162ou_70","col-5":"_col-5_162ou_74","col-6":"_col-6_162ou_78","col-7":"_col-7_162ou_82","col-8":"_col-8_162ou_86","col-9":"_col-9_162ou_90","col-10":"_col-10_162ou_94","col-11":"_col-11_162ou_98","col-12":"_col-12_162ou_102","offset-1":"_offset-1_162ou_106","offset-2":"_offset-2_162ou_110","offset-3":"_offset-3_162ou_114","offset-4":"_offset-4_162ou_118","offset-5":"_offset-5_162ou_122","offset-6":"_offset-6_162ou_126","offset-7":"_offset-7_162ou_130","offset-8":"_offset-8_162ou_134","offset-9":"_offset-9_162ou_138","offset-10":"_offset-10_162ou_142","offset-11":"_offset-11_162ou_146"},d9=({children:e,fluid:t=!1,...u})=>h.jsx("div",{className:H(yn.container,t&&yn.fluid,u.className),...u,children:h.jsx("div",{className:yn.grid,children:e})}),c9=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return h.jsx("div",{className:H(yn.col,yn[n],u.className),...u,children:e})},f9='"../theme/tokens.css"',p9="_infoBanner_itrpd_4",m9="_success_itrpd_14",b9="_info_itrpd_4",h9="_important_itrpd_24",$9="_warning_itrpd_29",g9="_content_itrpd_38",D9="_heading_itrpd_44",v9="_text_itrpd_49",y9="_icon_itrpd_54",x9="_dismissable_itrpd_59",pu={tokens:f9,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:p9,success:m9,info:b9,important:h9,warning:$9,content:g9,heading:D9,text:v9,icon:y9,dismissable:x9},C9={success:f5,info:p5,important:c5,warning:m5},E9=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=C9[u],[l,s]=ne.useState(!0);return l?h.jsxs("div",{className:H(pu.infoBanner,pu[u],a.className),...a,children:[h.jsx(i,{size:20,"aria-hidden":!0,className:pu.icon}),h.jsxs("div",{className:pu.content,children:[e&&h.jsx("strong",{className:pu.heading,children:e}),h.jsxs("div",{className:pu.text,children:[t,n]})]}),r&&h.jsx("div",{className:pu.dismissable,children:h.jsx(Ie,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:h.jsx(ou,{size:20})})})]}):null},B9='"../theme/tokens.css"',k9="_baseLayout_1m9il_4",P9="_mainContent_1m9il_13",S9="_header_1m9il_18",A9="_headerContent_1m9il_35",F9="_headerItems_1m9il_54",w9="_logo_1m9il_55",T9="_headerMenu_1m9il_68",R9="_toggleButton_1m9il_76",I9="_sidebar_1m9il_84",K9="_main_1m9il_13",M9="_app_1m9il_121",z9="_sidebarOpened_1m9il_130",V9="_sidebarHeader_1m9il_134",N9="_appName_1m9il_146",_9="_collapseButton_1m9il_153",j9="_sidebarCollapsed_1m9il_162",L9="_userName_1m9il_172",O9="_abbr_1m9il_185",H9="_userTitle_1m9il_191",U9="_title_1m9il_203",W9="_sidebarNav_1m9il_214",Z9="_list_1m9il_220",q9="_listGroupTitle_1m9il_227",G9="_listItem_1m9il_234",Y9="_listItemCollapsed_1m9il_238",J9="_listLink_1m9il_242",Q9="_listLinkCollapsed_1m9il_287",X9="_active_1m9il_292",e8="_linkText_1m9il_297",t8="_backdrop_1m9il_304",u8="_backdropOpened_1m9il_314",n8="_skipToContent_1m9il_332",te={tokens:B9,"--font-family":'"Inter", sans-serif',"--breakpoint-md":"(min-width: 768px)","--background-01":"light-dark(#ffffff, #171717)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-secondary":"light-dark(#525252, #a6a6a6)","--icon-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black",baseLayout:k9,mainContent:P9,header:S9,headerContent:A9,headerItems:F9,logo:w9,headerMenu:T9,toggleButton:R9,sidebar:I9,main:K9,app:M9,sidebarOpened:z9,sidebarHeader:V9,appName:N9,collapseButton:_9,sidebarCollapsed:j9,userName:L9,abbr:O9,userTitle:H9,title:U9,sidebarNav:W9,list:Z9,listGroupTitle:q9,listItem:G9,listItemCollapsed:Y9,listLink:J9,listLinkCollapsed:Q9,active:X9,linkText:e8,backdrop:t8,backdropOpened:u8,skipToContent:n8},r8='"../theme/tokens.css"',a8="_tooltip_1sccn_4",i8="_arrow_1sccn_17",Ds={tokens:r8,"--font-family":'"Inter", sans-serif',"--background-inverse-01":"light-dark(#171717, #f2f2f2)","--text-inverse":"light-dark(#f2f2f2, #171717)",tooltip:a8,arrow:i8};function C5({children:e,placement:t,className:u,...n}){return h.jsxs(qx,{className:H(Ds.tooltip,u),placement:t,...n,children:[h.jsx(Ny,{className:Ds.arrow,children:h.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:h.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function E5({children:e,delay:t=0,...u}){return h.jsx(Zx,{delay:t,...u,children:e})}const B5=ne.createContext(void 0),l8=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:a,clientSideHref:i,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f})=>h.jsx(B5.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}),Ca=()=>{const e=ne.useContext(B5);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},Ul=({title:e,href:t,icon:u,active:n})=>{const{isCollapsed:r,setIsOpened:a}=Ca(),[i,l]=ne.useState(!1);return ne.useEffect(()=>{typeof window<"u"&&l(n??window.location.pathname===t)},[n,t]),r?h.jsxs(E5,{children:[h.jsx(jr,{href:t,"aria-label":e,className:H(te.listLink,te.listLinkCollapsed,i&&te.active),onPress:()=>a(!1),children:h.jsx(u,{size:20,"aria-label":e})}),h.jsx(C5,{placement:"right",children:e})]}):h.jsxs(jr,{href:t,"aria-label":e,className:H(te.listLink,i&&te.active),onPress:()=>a(!1),children:[h.jsx(u,{size:20}),e]})},k5=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:a,clientSideRouter:i,clientSideHref:l}=Ca(),s=({group:d})=>h.jsx("ul",{className:te.list,children:d.items.map((c,f)=>h.jsx("li",{className:H(te.listItem,n&&te.listItemCollapsed),children:h.jsx(Ul,{...c})},"link_"+f))});return ne.useEffect(()=>{const d=c=>{c.key==="Escape"&&a(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[a]),h.jsxs("aside",{id:"midasMainMenu",className:H(te.sidebar,n&&te.sidebarCollapsed,u&&te.sidebarOpened),children:[h.jsxs("div",{className:te.sidebarHeader,children:[!n&&h.jsx("p",{className:te.appName,children:t.name}),h.jsx(Ie,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:te.collapseButton,children:n?h.jsx(B7,{size:20}):h.jsx(E7,{size:20})})]}),h.jsx("nav",{className:te.sidebarNav,children:h.jsx("ul",{className:te.list,children:e.map((d,c)=>h.jsxs("li",{children:[d.title&&!n&&h.jsx("p",{className:te.listGroupTitle,children:d.title}),i?h.jsx(As,{navigate:i,useHref:l,children:h.jsx(s,{group:d})}):h.jsx(s,{group:d})]},"list_"+c))})})]})},o8='"../theme/tokens.css"',s8="_container_99qba_4",d8="_noPadding_99qba_9",c8="_logo_99qba_13",f8="_primary_99qba_18",p8="_dark_99qba_22",m8="_xSmall_99qba_26",b8="_small_99qba_30",h8="_large_99qba_34",St={tokens:o8,"--logo-primary":"light-dark(#b90835, #ffffff)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",container:s8,noPadding:d8,logo:c8,primary:f8,dark:p8,xSmall:m8,small:b8,large:h8},P5=({primary:e=!0,size:t="medium",padding:u=!0,className:n,...r})=>{const a=H(St.logo,e?St.primary:St.dark,t==="x-small"&&St.xSmall,t==="medium"&&St.medium,t==="large"&&St.large,t==="small"&&St.small),i=()=>t==="x-small"?h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:a,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:h.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"})}):h.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:a,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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"}),h.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 h.jsx("div",{className:H(St.container,u===!1&&St.noPadding,n),...r,children:h.jsx(i,{})})},S5=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:a,headerChildren:i}=Ca();return h.jsxs("header",{className:te.header,style:{borderTop:`solid 4px ${u.color?u.color:y2.semantic.brandPrimary}`},children:[h.jsxs("div",{className:te.headerContent,children:[h.jsx("div",{className:te.logo,children:h.jsx(P5,{size:"small",padding:!1})}),h.jsx(Ie,{variant:"icon",className:te.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{a(!1),r(!0)},children:n?h.jsx(ou,{size:20,"aria-hidden":"true"}):h.jsx(C7,{size:20,"aria-hidden":"true"})}),h.jsxs("div",{children:[h.jsx("p",{className:te.userName,children:t.name}),h.jsx("p",{className:te.userTitle,children:t.title}),h.jsx("p",{className:te.title,children:e})]})]}),i&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:te.headerItems,children:i}),h.jsx("div",{className:te.headerMenu,children:h.jsx(v5,{label:"Öppna meny",children:ne.Children.map(i,l=>h.jsx(y5,{children:l}))})})]})]})},$8=({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 h.jsx(Ie,{onPress:t,className:te.skipToContent,children:"Hoppa till huvudinnehåll"})},g8=()=>{const{isOpened:e,setIsOpened:t}=Ca();return e?h.jsx("div",{className:H(te.backdrop,te.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]=ne.useState(!1),[c,f]=ne.useState(!1);return h.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:h.jsxs("div",{className:te.baseLayout,children:[h.jsx($8,{}),h.jsx(Jt.Header,{}),h.jsxs("div",{className:te.mainContent,children:[h.jsx(Jt.Sidebar,{}),h.jsx(x5,{children:h.jsx("main",{className:te.main,children:h.jsx("div",{className:te.app,children:r})})}),h.jsx(g8,{})]})]})})};Jt.Provider=l8;Jt.Header=S5;Jt.Sidebar=k5;Jt.SidebarLink=Ul;const D8='"../theme/tokens.css"',v8="_linkButton_i7x2t_4",y8="_secondary_i7x2t_47",x8="_icon_i7x2t_52",C8="_tertiary_i7x2t_69",E8="_danger_i7x2t_83",B8="_iconBtn_i7x2t_98",k8="_iconLeft_i7x2t_119",P8="_fullwidth_i7x2t_123",S8="_button_i7x2t_128",Ge={tokens:D8,"--font-family":'"Inter", sans-serif',"--size-03":"1rem","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-brand":"light-dark(#143c50, #f2f2f2)","--border-brand":"light-dark(#143c50, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#b31b1b, #b31b1b)","--button-background-danger-active":"light-dark(#801313, #801313)","--white":"#ffffff","--icon-secondary":"light-dark(#143c50, #2e7ca5)",linkButton:v8,secondary:y8,icon:x8,tertiary:C8,danger:E8,iconBtn:B8,iconLeft:k8,fullwidth:P8,button:S8},A8=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||jr,d=()=>n?h.jsx(n,{size:20,className:Ge.icon}):l.target==="_blank"?h.jsx(P7,{size:20,className:Ge.icon}):r==="left"?h.jsx(Ll,{size:20,className:Ge.icon}):h.jsx(Ol,{size:20,className:Ge.icon});return h.jsxs(s,{className:H(Ge.linkButton,t==="primary"&&Ge.primary,t==="secondary"&&Ge.secondary,t==="tertiary"&&Ge.tertiary,t==="danger"&&Ge.danger,t==="icon"&&Ge.iconBtn,u&&Ge.fullwidth,r==="left"&&Ge.iconLeft,a),...l,children:[e,h.jsx(d,{})]})},F8='"../theme/tokens.css"',w8="_modal_1nzqy_4",T8="_overlay_1nzqy_22",R8="_modalHeader_1nzqy_32",I8="_modalBody_1nzqy_41",K8="_modalHeading_1nzqy_47",Mn={tokens:F8,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--background-01":"light-dark(#ffffff, #171717)","--text-primary":"light-dark(#171717, #f2f2f2)",modal:w8,overlay:T8,modalHeader:R8,modalBody:I8,modalHeading:K8},M8=({title:e,children:t,...u})=>{const n=ne.useRef(null),{dialogProps:r,titleProps:a}=Vp(u,n);return h.jsxs("div",{...r,ref:n,className:Mn.modalBody,"aria-modal":!0,children:[e&&h.jsx("h2",{...a,className:H(Mn.modalHeading,a.className),children:e}),t]})},z8=({state:e,children:t,...u})=>{const n=ne.useRef(null),{modalProps:r,underlayProps:a}=rD(u,e,n);return h.jsx(df,{children:h.jsx("div",{...a,className:H(Mn.overlay,a.className),children:h.jsx("div",{...r,className:H(Mn.modal,r.className),ref:n,children:t})})})},V8=({label:e,children:t,...u})=>{const n=Au(u),{triggerProps:r,overlayProps:a}=E3({type:"dialog"},n);return h.jsxs(h.Fragment,{children:[h.jsx(Ie,{...r,children:e}),n.isOpen&&h.jsxs(z8,{...u,state:n,children:[h.jsx("div",{className:Mn.modalHeader,children:h.jsx(Ie,{onPress:n.close,variant:"tertiary",icon:ou,iconPlacement:"right",children:"Stäng"})}),ne.cloneElement(t(n.close),a)]})]})},N8='"../theme/tokens.css"',_8="_radioGroup_17by4_4",j8="_wrap_17by4_16",L8="_radio_17by4_4",Mi={tokens:N8,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--size-03":"1rem","--text-primary":"light-dark(#171717, #f2f2f2)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--fast-transition":"250ms","--border-disabled":"light-dark(#bfbfbf, #525252)","--icon-secondary":"light-dark(#143c50, #2e7ca5)","--border-medium":"light-dark(#737373, #8c8c8c)","--border-subtle":"light-dark(#bfbfbf, #383838)","--breakpoint-sm":"(max-width: 767px)","--field-hover-02":"light-dark(#e6e6e6, #474747)","--border-invalid":"light-dark(#e62323, #e62323)",radioGroup:_8,wrap:j8,radio:L8},O8=({label:e,description:t,errorMessage:u,children:n,className:r,...a})=>h.jsx(gx,{...a,className:H(Mi.radioGroup,r),children:h.jsx(Fu,{label:e,description:t,errorMessage:u,children:h.jsx(Gn,{className:Mi.wrap,children:n})})}),H8=e=>h.jsx(Dx,{className:Mi.radio,...e}),U8='"../theme/tokens.css"',W8="_fieldError_11dj2_4",Z8="_container_11dj2_33",q8="_inputContainer_11dj2_40",G8="_icon_11dj2_47",Y8="_clear_11dj2_56",J8="_input_11dj2_40",Iu={tokens:U8,"--font-family":'"Inter", sans-serif',"--text-invalid":"light-dark(#e62323, #e62323)","--field-01":"light-dark(#f2f2f2, #262626)","--border-strong":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--border-invalid":"light-dark(#e62323, #e62323)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",fieldError:W8,container:Z8,inputContainer:q8,icon:G8,clear:Y8,input:J8};function Q8(e){return!!(e!=null&&e.length)}const X8=e=>{const{value:t,setValue:u}=uy(e),n=ne.useRef(null),{inputProps:r,errorMessageProps:a,isInvalid:i,validationErrors:l,clearButtonProps:s}=lv({...e,label:e.placeholder,validationBehavior:"native"},{value:t,setValue:u},n),d=({target:m})=>u(m.value),c=()=>u(""),f=()=>{var b;if(e.validate&&Q8(e.validate(t))||i||!t){(b=n.current)==null||b.focus();return}e.onSubmit&&e.onSubmit(t)},p=({key:m})=>{m==="Enter"&&f()};return h.jsxs("div",{children:[i&&h.jsx("div",{...a,className:Iu.fieldError,children:e.errorMessage??l.join(" ")}),h.jsxs("div",{className:Iu.container,children:[h.jsxs("div",{className:Iu.inputContainer,children:[h.jsx(k7,{size:20,className:Iu.icon}),h.jsx("input",{...r,className:H(_e.input,Iu.input,r.className),ref:n,onChange:d,value:t,"aria-invalid":i,onKeyDown:p,"aria-label":e.placeholder,"aria-labelledby":""}),t.length>0&&h.jsx(Ie,{variant:"icon",size:"small",className:Iu.clear,onPress:c,...s,children:h.jsx(ou,{size:20,"aria-hidden":!0})})]}),h.jsx(Ie,{isDisabled:e.isDisabled,excludeFromTabOrder:!0,onPress:f,type:"button",children:e.buttonText?e.buttonText:"Sök"})]})]})},eE='"../theme/tokens.css"',tE="_selectAllButton_d3qr3_11",uE="_selectLabel_d3qr3_17",nE="_selectLabelDisabled_d3qr3_25",rE="_button_d3qr3_29",aE="_buttonOpen_d3qr3_71",iE="_icon_d3qr3_72",lE="_buttonDisabled_d3qr3_77",oE="_multiSelect_d3qr3_86",sE="_description_d3qr3_106",dE="_descriptionInvalid_d3qr3_116",cE="_descriptionDisabled_d3qr3_120",fE="_popover_d3qr3_124",pE="_listBox_d3qr3_151",mE="_listBoxItem_d3qr3_158",bE="_listBoxItemSelected_d3qr3_185",hE="_listBoxItemDisabled_d3qr3_193",$E="_listBoxItemFocused_d3qr3_203",gE="_listBoxItemFocusVisible_d3qr3_207",DE="_listBoxItemCheckmark_d3qr3_212",vE="_selectContainer_d3qr3_217",yE="_selectValueTag_d3qr3_223",xE="_selectValueTagDisabled_d3qr3_240",CE="_truncate_d3qr3_247",EE="_clearButton_d3qr3_253",BE="_fieldError_d3qr3_280",kE="_checkboxContainer_d3qr3_304",PE="_checkbox_d3qr3_304",G={tokens:eE,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px white, 0 0 0 4px black","--layer-02":"light-dark(#ffffff, #383838)","--border-invalid":"light-dark(#e62323, #e62323)","--layer-hover-02":"light-dark(#e6e6e6, #474747)","--layer-selected-02":"light-dark(#d9d9d9, #525252)","--layer-selected-hover-02":"light-dark(#cccccc, #5d5d5d)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-invalid":"light-dark(#e62323, #e62323)",selectAllButton:tE,selectLabel:uE,selectLabelDisabled:nE,button:rE,buttonOpen:aE,icon:iE,buttonDisabled:lE,multiSelect:oE,description:sE,descriptionInvalid:dE,descriptionDisabled:cE,popover:fE,listBox:pE,listBoxItem:mE,listBoxItemSelected:bE,listBoxItemDisabled:hE,listBoxItemFocused:$E,listBoxItemFocusVisible:gE,listBoxItemCheckmark:DE,selectContainer:vE,selectValueTag:yE,selectValueTagDisabled:xE,truncate:CE,clearButton:EE,fieldError:BE,checkboxContainer:kE,checkbox:PE},A5=({item:e,state:t})=>{const u=ne.useRef(null),{optionProps:n,isDisabled:r,isSelected:a,isFocused:i,isFocusVisible:l}=$f({key:e.key},t,u);return h.jsxs("li",{...n,ref:u,className:H(G.listBoxItem,{[G.listBoxItemDisabled]:r,[G.listBoxItemFocused]:i,[G.listBoxItemFocusVisible]:l,[G.listBoxItemSelected]:a}),children:[t.selectionMode==="multiple"&&h.jsx("div",{className:G.checkboxContainer,children:h.jsx("input",{className:G.checkbox,type:"checkbox",disabled:r,checked:a,readOnly:!0})}),typeof e.rendered=="string"?h.jsx("span",{className:"truncate block",children:e.rendered}):e.rendered,a&&t.selectionMode==="single"?h.jsx(D7,{size:20,className:G.listBoxItemCheckmark}):null]})},SE=({section:e,state:t})=>{const{itemProps:u,headingProps:n,groupProps:r}=gf({heading:e.rendered,"aria-label":e["aria-label"]});return h.jsxs("li",{...u,className:"",children:[e.rendered&&h.jsx("span",{...n,className:G.selectSectionHeading,children:e.rendered}),h.jsx("ul",{...r,children:Array.from(e.childNodes).map(a=>h.jsx(A5,{item:a,state:t},a.key))})]})},AE=e=>{const t=ne.useRef(null),{listBoxRef:u=t,state:n}=e,{listBoxProps:r}=mf({...e,disallowEmptySelection:!0},n,u);return h.jsx("ul",{...r,className:G.listBox,ref:u,children:Array.from(n.collection).map(a=>a.type==="section"?h.jsx(SE,{section:a,state:n},a.key):h.jsx(A5,{item:a,state:n},a.key))})},FE=({isOpen:e,onClose:t,children:u,className:n,triggerRef:r})=>{const a=ne.useRef(null),{overlayProps:i}=vl({isOpen:e,onClose:t,isDismissable:!0,shouldCloseOnBlur:!0},a),{overlayProps:l,updatePosition:s}=Dl({isOpen:e,offset:0,crossOffset:0,containerPadding:0,overlayRef:a,targetRef:r,placement:"bottom start"});ne.useLayoutEffect(()=>{e&&requestAnimationFrame(()=>{s()})},[e,s]);const d={...l.style,"--select-width":r.current?`${r.current.offsetWidth}px`:void 0};return h.jsx(k3,{children:h.jsx("div",{...V(i,l),ref:a,className:n,style:d,children:h.jsxs(_n,{restoreFocus:!0,children:[h.jsx(Kr,{onDismiss:t}),u,h.jsx(Kr,{onDismiss:t})]})})})};function wE(e,t,u){const{disallowEmptySelection:n,isDisabled:r}=e,a=en({usage:"search",sensitivity:"base"}),i=o.useMemo(()=>new un(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:l,menuProps:s}=Bl({isDisabled:r,type:"listbox"},t,u),d=g=>{const{selectedKeys:v,selectionMode:x}=t,y=v.values().next().value;if(x==="single")switch(g.key){case"ArrowLeft":{g.preventDefault();const E=v.size>0?i.getKeyAbove(y):i.getFirstKey();E&&t.setSelectedKeys([E]);break}case"ArrowRight":{g.preventDefault();const E=v.size>0?i.getKeyBelow(y):i.getFirstKey();E&&t.setSelectedKeys([E]);break}}},{typeSelectProps:c}=pf({keyboardDelegate:i,selectionManager:t.selectionManager,onTypeSelect(g){t.setSelectedKeys([g])}}),{labelProps:f,fieldProps:p}=iu({...e,labelElementType:"span"});c.onKeyDown=c.onKeyDownCapture,delete c.onKeyDownCapture;const m=O(e,{labelable:!0}),b=V(c,l,p),$=re();return{labelProps:{...f,onClick:()=>{var g;e.isDisabled||((g=u.current)==null||g.focus(),Qs("keyboard"))}},triggerProps:V(m,{...b,onKeyDown:rt(b.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null,$].filter(Boolean).join(" "),onFocus(g){t.isFocused||(e.onFocus&&e.onFocus(g),t.setFocused(!0))},onBlur(g){t.isOpen||(e.onBlur&&e.onBlur(g),t.setFocused(!1))}}),valueProps:{id:$},menuProps:{...s,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:g=>{g.currentTarget.contains(g.relatedTarget)||(e.onBlur&&e.onBlur(g),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],b["aria-label"]&&!p["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")}}}function TE(e){const{collection:t,disabledKeys:u,selectionManager:n,selectionManager:{setSelectedKeys:r,selectedKeys:a,selectionMode:i}}=fa(e),l=[],s=a.size!==0?Array.from(a).map(d=>{const c=t.getItem(d);return c||l.push(d),c}).filter(Boolean):null;return l.length&&console.warn(`Select: Keys "${l.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:u,selectionManager:n,selectionMode:i,selectedKeys:a,setSelectedKeys:r.bind(n),selectedItems:s}}function RE(e){var l;const{selectionMode:t}=e,[u,n]=o.useState(!1),r=th(e),a=TE({...e,onSelectionChange:s=>{const{onSelectionChange:d}=e;d!=null&&d(s==="all"?Array.from(a.collection.getKeys()):t==="single"?s.values().next().value:Array.from(s)),t==="single"&&r.close()}}),i=vt({...e,validationBehavior:"native",value:t==="single"?(l=a.selectedKeys.values().next().value)==null?void 0:l.toString():a.selectedKeys});return o.useEffect(()=>{t==="single"&&a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},[a.selectedKeys.size,t,i]),{...a,...r,close(){r.close(),a.selectedKeys.size&&(i.resetValidation(),i.commitValidation())},open(){a.collection.size!==0&&r.open()},toggle(s){a.collection.size!==0&&r.toggle(s)},isFocused:u,setFocused:n,...i}}const IE='"../theme/tokens.css"',KE="_button_q3kzd_4",ME="_tag_q3kzd_19",zE="_dismissable_q3kzd_38",VE="_tagText_q3kzd_46",NE="_tagList_q3kzd_51",$n={tokens:IE,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--field-active-01":"light-dark(#d9d9d9, #383838)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--icon-primary":"light-dark(#171717, #f2f2f2)",button:KE,tag:ME,dismissable:zE,tagText:VE,tagList:NE},F5=({children:e,...t})=>h.jsx(Ox,{...t,children:h.jsx(l5,{className:$n.tagList,children:e})}),w5=({children:e,dismissable:t,className:u,...n})=>h.jsxs(Wx,{className:H($n.tag,t&&$n.dismissable,u),...n,children:[h.jsx("div",{className:$n.tagText,children:e}),t&&h.jsx(Ie,{variant:"icon",size:"small",className:$n.button,slot:"remove",children:h.jsx(ou,{size:20})})]});function _E(e){const t=(i,l)=>{let s;return(d,c)=>{clearTimeout(s),s=setTimeout(()=>{i(d,c)},l)}},[u,n]=o.useState(0),[r,a]=o.useState(0);return o.useEffect(()=>{if(!e)return;const i=new ResizeObserver(t(l=>{const{inlineSize:s,blockSize:d}=l[0].contentBoxSize[0];n(s),a(d)},500));return i.observe(e),()=>{i.disconnect()}},[e]),{width:u,height:r}}function jE({autoComplete:e,name:t,isDisabled:u,isRequired:n,selectRef:r},a,i){var s;const{visuallyHiddenProps:l}=Un();return Vn(r,a.selectedKeys,a.setSelectedKeys),Hn({validationBehavior:"native",focus:()=>{var d;return(d=i.current)==null?void 0:d.focus()}},a,r),{containerProps:{...l,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:e,disabled:u,required:n,name:t,value:a.selectionMode==="single"?(s=a.selectedKeys.values().next().value)==null?void 0:s.toString():Array.from(a.selectedKeys).map(d=>d.toString()),onChange:d=>a.setSelectedKeys(d.target.value)}}}function LE(e){var d;const{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=jE({...e,selectRef:i},t,u);return t.collection.size<=300?h.jsx("div",{...l,"data-testid":"hidden-select-container",children:h.jsxs("label",{children:[n,h.jsxs("select",{...s,ref:i,multiple:t.selectionMode==="multiple",children:[h.jsx("option",{}),[...t.collection.getKeys()].map(c=>{const f=t.collection.getItem(c);return f&&f.type==="item"?h.jsx("option",{value:f.key,children:f.textValue},f.key):null})]})]})}):r?h.jsx("input",{type:"hidden",autoComplete:s.autoComplete,name:r,disabled:a,value:t.selectionMode==="single"?((d=t.selectedKeys.values().next().value)==null?void 0:d.toString())??"":Array.from(t.selectedKeys).map(c=>c.toString())??""}):null}const T5=ne.forwardRef(({selectionMode:e="single",...t},u)=>{var P;const n={selectionMode:e,...t},{autoFocus:r,className:a,excludeFromTabOrder:i,isClearable:l=!0,isDisabled:s,isSelectableAll:d,label:c,description:f,placeholder:p,showTags:m,errorMessage:b}=n,$=o.useRef(null),g=De(u),v=!l,x=RE({...n,disallowEmptySelection:v}),{labelProps:y,triggerProps:E,valueProps:B,menuProps:S}=wE({...n,disallowEmptySelection:v},x,g),{buttonProps:I}=bl({...E,autoFocus:r,excludeFromTabOrder:i,isDisabled:s},g),D=x.isOpen||x.selectedItems,R=x.selectionManager.isSelectAll,A=!R&&!x.selectionManager.isEmpty,k=l&&x.selectedItems,z=d,C=()=>x.selectionManager.clearSelection(),F=()=>x.selectionManager.toggleSelectAll(),N=K=>x.selectionManager.toggleSelection(K),{width:w}=_E(g.current),T=K=>h.jsxs("div",{className:H(G.selectValueTag,{[G.selectValueTagDisabled]:s}),children:[h.jsx("span",{className:G.truncate,style:{maxWidth:w-64},children:K.length>1?`${K.length} valda`:K[0].textValue}),h.jsx("button",{disabled:s,"aria-label":"Rensa alla",className:G.clearButton,onClick:()=>{var j;C(),(j=g==null?void 0:g.current)==null||j.focus()},children:h.jsx(ou,{width:20,height:20})})]});return o.useEffect(()=>{$.current&&($.current.indeterminate=A)},[A]),h.jsxs(h.Fragment,{children:[h.jsx(LE,{isDisabled:n.isDisabled,isRequired:n.isRequired,name:n.name,state:x,triggerRef:g,label:n.label+"-hidden"}),h.jsxs(Tl,{...n,className:H([G.multiSelect],{[G.multiSelectOpen]:x.isOpen},a),children:[h.jsxs("div",{className:G.multiSelect,children:[c&&h.jsx(Xu,{...y,slot:"label",className:H(G.selectLabel,{[G.selectLabelActive]:D,[G.selectLabelDisabled]:s}),children:c}),f&&h.jsx("span",{className:H(G.description,{[G.descriptionDisabled]:s,[G.descriptionInvalid]:!!b}),slot:"description",children:f}),h.jsx(Zn,{className:G.fieldError,children:b}),x.displayValidation.validationErrors.length?h.jsx("div",{className:G.fieldError,children:b||x.displayValidation.validationErrors.map(K=>h.jsx(ne.Fragment,{children:K},K))}):null,h.jsx(co,{focusRingClass:G.buttonFocused,autoFocus:r,children:h.jsxs("div",{className:G.selectContainer,children:[h.jsxs("button",{...I,...V,className:H(G.button,{[G.buttonOpen]:x.isOpen,[G.buttonActive]:x.selectedItems,[G.buttonDisabled]:s}),"data-invalid":x.displayValidation.validationErrors.length>0||x.displayValidation.isInvalid,type:"button",ref:g,children:[x.selectionMode==="multiple"&&!x.selectedItems?h.jsx("span",{children:p}):null,x.selectionMode!=="multiple"?h.jsx("span",{children:((P=x.selectedItems)==null?void 0:P.length)===1?x.selectedItems[0].textValue:p}):null,h.jsx("div",{className:G.icon,"aria-hidden":"true",children:h.jsx(Zr,{size:20})})]}),x.selectionMode==="multiple"&&x.selectedItems?h.jsx("span",{...B,children:T(x.selectedItems)}):null]})}),x.isOpen&&h.jsxs(FE,{isOpen:x.isOpen,onClose:x.close,className:G.popover,triggerRef:g,children:[z&&h.jsxs(h.Fragment,{children:[d&&h.jsx(co,{focusRingClass:G.listItemfocusRing,children:h.jsx("button",{type:"button",onClick:F,className:G.selectAllButton,children:h.jsxs("div",{className:G.listBoxItem,tabIndex:-1,children:[h.jsx("div",{className:G.checkboxContainer,children:h.jsx("input",{className:G.checkbox,type:"checkbox",checked:R,ref:$,readOnly:!0,tabIndex:-1})}),h.jsx("span",{children:"Select All"})]})})}),h.jsx("div",{className:"selectDivider"})]}),h.jsx(AE,{...S,state:x}),k&&!1]})]}),m&&x.selectedItems!==null&&h.jsx(F5,{"aria-label":"Selected Items",selectionBehavior:"toggle",onRemove:K=>N([...K][0]),...V,children:h.jsx(l5,{items:x.selectedItems,children:K=>h.jsx(w5,{textValue:K.textValue,id:K.key,dismissable:!0,isDisabled:s,children:K.textValue},K.key)})})]})]})}),R5=ne.forwardRef(({options:e,...t},u)=>h.jsx(T5,{...t,items:e,ref:u,children:n=>n.children?h.jsx(sD,{items:n.children,title:n.name,children:r=>h.jsx(Go,{textValue:r.textValue,children:r.name})},n.name):h.jsx(Go,{textValue:n.textValue,children:n.name})}));R5.displayName="Select";const OE='"../theme/tokens.css"',HE="_skeleton_9g8pz_14",UE="_circle_9g8pz_24",WE="_wave_9g8pz_29",ei={tokens:OE,"--field-skeleton":"light-dark(#f2f2f2, #262626)","--background-inverse-01":"light-dark(#171717, #f2f2f2)",skeleton:HE,circle:UE,wave:WE},ZE=({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"),h.jsx("div",{className:H(ei.skeleton,ei[e],n&&ei[n]),style:{width:t,height:u}})),qE='"../theme/tokens.css"',GE="_container_32v8g_4",YE="_spinner_32v8g_8",JE="_rotating_32v8g_1",QE="_dark_32v8g_18",XE="_vsHidden_32v8g_22",fr={tokens:qE,"--icon-primary":"light-dark(#171717, #f2f2f2)","--icon-on-color":"light-dark(#ffffff, #ffffff)",container:GE,spinner:YE,rotating:JE,dark:QE,vsHidden:XE},eB=({small:e,dark:t})=>h.jsxs("div",{className:fr.container,role:"status",children:[h.jsx(x7,{className:H(fr.spinner,t&&fr.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),h.jsx("span",{className:fr.vsHidden,children:"Laddar, vänligen vänta."})]}),tB='"../theme/tokens.css"',uB="_cell_1nc0z_4",nB="_table_1nc0z_11",rB="_narrow_1nc0z_15",aB="_striped_1nc0z_30",iB="_row_1nc0z_30",lB="_tableHeader_1nc0z_53",oB="_column_1nc0z_58",vu={tokens:tB,"--font-family":'"Inter", sans-serif',"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-accent-hover-01":"light-dark(#cccccc, #474747)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",cell:uB,table:nB,narrow:rB,striped:aB,row:iB,tableHeader:lB,column:oB},sB=({narrow:e,striped:t,className:u,...n})=>{const r=H(vu.table,e&&vu.narrow,t&&vu.striped,u);return h.jsx(Cx,{className:r,...n})},dB=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=a5();return h.jsxs(Bx,{className:vu.tableHeader,children:[r&&h.jsx(zi,{}),u==="toggle"&&h.jsx(zi,{width:50,children:n==="multiple"&&h.jsx(xa,{slot:"selection"})}),h.jsx(gt,{items:e,children:t})]})},cB=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=a5();return h.jsxs(Fx,{id:e,className:H(vu.row),...n,children:[a&&h.jsx(Vi,{children:h.jsx(zt,{slot:"drag",children:h.jsx(y7,{size:20})})}),r==="toggle"&&h.jsx(Vi,{children:h.jsx(xa,{slot:"selection"})}),h.jsx(gt,{items:t,children:u})]})},zi=({children:e,...t})=>h.jsx(Px,{className:vu.column,...t,children:({allowsSorting:u,sortDirection:n})=>h.jsxs(h.Fragment,{children:[e,u&&h.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?h.jsx(g7,{size:20}):h.jsx(h7,{size:20})})]})}),Vi=({...e})=>h.jsx(wx,{className:vu.cell,...e}),fB='"../theme/tokens.css"',pB="_container_1n91k_4",mB="_list_1n91k_8",bB="_listItem_1n91k_14",hB="_panel_1n91k_42",pr={tokens:fB,"--font-family":'"Inter", sans-serif',"--border-subtle":"light-dark(#bfbfbf, #383838)","--border-brand":"light-dark(#143c50, #143c50)","--focus":"0 0 0 2px white, 0 0 0 4px black","--breakpoint-sm":"(max-width: 767px)",container:pB,list:mB,listItem:bB,panel:hB},$B=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=ne.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(ne.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=ne.cloneElement(l,{id:c}))}return i},{});return h.jsxs(Mx,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:pr.container,children:[h.jsx(Vx,{"aria-label":t,className:pr.list,children:e.map(i=>h.jsx(_x,{id:i.toLowerCase(),className:pr.listItem,children:i},i))}),e.map(i=>h.jsx(jx,{id:i.toLowerCase(),className:pr.panel,children:a[i.toLowerCase()]},i))]})},gB='"../theme/tokens.css"',DB="_textArea_1ssro_4",vB="_count_1ssro_50",yB="_countExceeded_1ssro_58",mr={tokens:gB,"--focus":"0 0 0 2px white, 0 0 0 4px black","--field-disabled":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)",textArea:DB,count:vB,countExceeded:yB},xB=({label:e,description:t,rows:u,maxLength:n,minLength:r,errorMessage:a,showCounter:i,validate:l,className:s,...d})=>{const[c,f]=ne.useState(d.defaultValue??d.value??""),p=$=>{const g=$.target.value;f(g)},m=()=>n?h.jsxs("span",{className:H(mr.count,c.length>n&&mr.countExceeded),children:[c.length," / ",n]}):i?h.jsx("span",{className:mr.count,children:c.length}):null,b=$=>{const g=n&&$.length>n?`Du har angett ${$.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,v=r&&$.length<r?`Du har angett ${Math.abs($.length-r)} tecken för lite. Fältet kräver åtminstone ${r} tecken.`:null,x=l?l($):null;return g||v||x||!0};return h.jsx(Tl,{className:H(_e.inputField,s),validate:b,...d,children:h.jsxs(Fu,{label:e,description:t,errorMessage:a,children:[h.jsx(m,{}),h.jsx(hy,{className:mr.textArea,rows:u,onFocus:p,onChange:p})]})})};var I5={};I5={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var K5={};K5={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var M5={};M5={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 z5={};z5={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var V5={};V5={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var N5={};N5={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var _5={};_5={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var j5={};j5={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var L5={};L5={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var O5={};O5={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var H5={};H5={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var U5={};U5={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var W5={};W5={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Z5={};Z5={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 q5={};q5={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var G5={};G5={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Y5={};Y5={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var J5={};J5={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 Q5={};Q5={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 X5={};X5={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var e2={};e2={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var t2={};t2={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 u2={};u2={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var n2={};n2={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var r2={};r2={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var a2={};a2={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var i2={};i2={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 l2={};l2={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 o2={};o2={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var s2={};s2={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var d2={};d2={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var c2={};c2={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var f2={};f2={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var p2={};p2={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var Wl={};Wl={"ar-AE":I5,"bg-BG":K5,"cs-CZ":M5,"da-DK":z5,"de-DE":V5,"el-GR":N5,"en-US":_5,"es-ES":j5,"et-EE":L5,"fi-FI":O5,"fr-FR":H5,"he-IL":U5,"hr-HR":W5,"hu-HU":Z5,"it-IT":q5,"ja-JP":G5,"ko-KR":Y5,"lt-LT":J5,"lv-LV":Q5,"nb-NO":X5,"nl-NL":e2,"pl-PL":t2,"pt-BR":u2,"pt-PT":n2,"ro-RO":r2,"ru-RU":a2,"sk-SK":i2,"sl-SI":l2,"sr-SP":o2,"sv-SE":s2,"tr-TR":d2,"uk-UA":c2,"zh-CN":f2,"zh-TW":p2};function CB(e){return e&&e.__esModule?e.default:e}function EB(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=re(),c=nt(),f=$e(CB(Wl),"@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 m2=1,ti=Symbol.for("react-aria-landmark-manager");function BB(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function vs(){if(typeof document>"u")return null;let e=document[ti];return e&&e.version>=m2?e:(document[ti]=new PB,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[ti])}function kB(){return qi.useSyncExternalStore(BB,vs,vs)}class PB{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=m2,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function SB(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=kB(),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 AB(e){return e&&e.__esModule?e.default:e}function FB(e,t,u){let n=$e(AB(Wl),"@react-aria/toast"),{landmarkProps:r}=SB({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),{hoverProps:a}=ve({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($=>m.key===$.key)})),p=f.findIndex(m=>m.i===s.current);if(p>-1){let m=0,b,$;for(;m<=p;)f[m].isRemoved||($=Math.max(0,m-1)),m++;for(;m<f.length;){if(!f[m].isRemoved){b=m-1;break}m++}$===void 0&&b===void 0&&($=0),$>=0&&$<i.current.length?Le(i.current[$]):b>=0&&b<i.current.length&&Le(i.current[b])}l.current=t.visibleToasts},[t.visibleToasts,u]);let d=o.useRef(null),{focusWithinProps:c}=st({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)&&(eu()==="pointer"?Le(d.current):d.current.focus(),d.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{d.current&&document.body.contains(d.current)&&(eu()==="pointer"?Le(d.current):d.current.focus(),d.current=null)},[u]),{regionProps:V(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 wB(e={}){let{maxVisibleToasts:t=1,hasExitAnimation:u=!1}=e,n=o.useMemo(()=>new h2({maxVisibleToasts:t,hasExitAnimation:u}),[t,u]);return b2(n)}function b2(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:qi.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 h2{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 TB(()=>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 TB{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 RB='"../theme/tokens.css"',IB="_toastRegion_5fd9c_52",KB="_toast_5fd9c_52",MB="_success_5fd9c_95",zB="_info_5fd9c_103",VB="_important_5fd9c_111",NB="_warning_5fd9c_119",_B="_icon_5fd9c_127",jB="_toastContent_5fd9c_137",LB="_toastMessage_5fd9c_144",OB="_slideInTop_5fd9c_1",HB="_slideInEnd_5fd9c_1",UB="_slideOutTop_5fd9c_1",WB="_slideOutEnd_5fd9c_1",Vu={tokens:RB,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--notification-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--notification-border-success":"light-dark(#008d3c, #008d3c)","--notification-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--notification-border-info":"light-dark(#0066cc, #0066cc)","--notification-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))","--notification-border-important":"light-dark(#fdb813, #fdb813)","--notification-border-warning":"light-dark(#e62323, #e62323)","--notification-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--breakpoint-md":"(min-width: 768px)","--focus":"0 0 0 2px white, 0 0 0 4px black",toastRegion:IB,toast:KB,success:MB,info:zB,important:VB,warning:NB,icon:_B,toastContent:jB,toastMessage:LB,slideInTop:OB,slideInEnd:HB,slideOutTop:UB,slideOutEnd:WB},ZB={success:f5,info:p5,important:c5,warning:m5},$2=new h2({maxVisibleToasts:5,hasExitAnimation:!0}),qB=e=>{const t=b2($2);return t.visibleToasts.length>0?nu.createPortal(h.jsx(Zl,{...e,state:t}),document.body):null},GB=({children:e,...t})=>{const u=wB({maxVisibleToasts:5,hasExitAnimation:!0});return h.jsxs(h.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&h.jsx(Zl,{...t,state:u})]})};function Zl({state:e,...t}){const u=o.useRef(null),{regionProps:n}=FB(t,e,u);return h.jsx("div",{...n,ref:u,className:Vu.toastRegion,children:e.visibleToasts.map(r=>h.jsx(g2,{toast:r,state:e},r.key))})}function g2({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=EB(t,e),l=ZB[t.toast.content.type];return h.jsxs("div",{...n,ref:u,className:H(Vu.toast,Vu[t.toast.content.type]),"data-animation":t.toast.animation,onAnimationEnd:()=>{t.toast.animation==="exiting"&&e.remove(t.toast.key)},children:[h.jsxs("div",{className:Vu.toastContent,...r,children:[h.jsx(l,{className:Vu.icon,size:20,"aria-hidden":!0}),h.jsxs("div",{children:[h.jsx("p",{className:Vu.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),h.jsx(Ie,{variant:"icon",...i,children:h.jsx(ou,{size:20,"aria-hidden":!0})})]})}const YB='"../theme/tokens.css"',JB="_dateField_3fx7w_4",QB="_isDisabled_3fx7w_12",XB="_inputField_3fx7w_16",ek="_segment_3fx7w_45",tk="_label_3fx7w_66",uk="_description_3fx7w_72",nk="_fieldError_3fx7w_78",mu={tokens:YB,"--font-family":'"Inter", sans-serif',"--text-placeholder":"light-dark(#a6a6a6, #525252)","--text-invalid":"light-dark(#e62323, #e62323)","--border-invalid":"light-dark(#e62323, #e62323)","--focus":"0 0 0 2px white, 0 0 0 4px black","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-strong":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)",dateField:JB,isDisabled:QB,inputField:XB,segment:ek,label:tk,description:uk,fieldError:nk};function rk({label:e,description:t,errorMessage:u,className:n,...r}){return h.jsxs(Xy,{...r,className:H(mu.dateField,r.isDisabled&&mu.isDisabled,n),children:[h.jsx(Xu,{className:mu.label,children:e}),t&&h.jsx(yt,{slot:"description",className:mu.description,children:t}),h.jsx(Zn,{className:mu.fieldError,children:u}),h.jsx(Ur,{className:mu.inputField,children:a=>h.jsx(Wr,{segment:a,className:mu.segment})})]})}const ak='"../theme/tokens.css"',ys={tokens:ak,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-03":"1rem","--line-height-03":"1.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","body-01":"_body-01_q4109_4","body-02":"_body-02_q4109_5"},xs="span",ik=({children:e,className:t,variant:u="body-02",isExpressive:n=!1,elementType:r=xs,...a})=>{const i={"body-01":ys["body-01"],"body-02":ys["body-02"]},l={className:H(i[u],t),elementType:r||xs,...n&&{"data-expressive":!0},...a};return h.jsx(yt,{...l,children:e})},lk='"../theme/tokens.css"',ok="_h1_1eh26_4",sk="_h2_1eh26_5",dk="_h3_1eh26_6",ck="_h4_1eh26_7",fk="_h5_1eh26_8",pk="_h6_1eh26_9",Ku={tokens:lk,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--size-03":"1rem","--size-04":"1.125rem","--size-05":"1.25rem","--size-06":"1.5rem","--size-07":"1.75rem","--size-09":"2.25rem","--line-height-04":"1.375rem","--line-height-05":"1.5rem","--line-height-06":"1.75rem","--line-height-07":"2rem","--line-height-08":"2.25rem","--line-height-09":"2.5rem","--line-height-10":"2.75rem",h1:ok,h2:sk,h3:dk,h4:ck,h5:fk,h6:pk},mk=({children:e,className:t,isExpressive:u=!1,level:n=3,elementType:r,...a})=>{const i=r&&parseInt(r.split("h")[1]);return h.jsx(va,{level:i||n,className:H([Ku.h1,Ku.h2,Ku.h3,Ku.h4,Ku.h5,Ku.h6][n-1],t),...u&&{"data-expressive":!0},...a,children:e})},bk='"../theme/tokens.css"',Cs={tokens:bk,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--size-02":"0.875rem","--line-height-02":"1.125rem","--size-03":"1rem","--line-height-03":"1.25rem","label-01":"_label-01_sua9e_4","label-02":"_label-02_sua9e_5"},Es="label",Ni=({children:e,className:t,variant:u="label-01",elementType:n=Es,...r})=>{const a={"label-01":Cs["label-01"],"label-02":Cs["label-02"]},i={className:H(a[u],t),elementType:n||Es,...r};return h.jsx(Xu,{...i,children:e})},hk='"../theme/tokens.css"',$k="_progressBar_3xf16_4",gk="_indeterminate_3xf16_1",Dk="_label_3xf16_12",vk="_value_3xf16_16",yk="_bar_3xf16_20",xk="_fill_3xf16_26",pn={tokens:hk,"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--signal-green-140":"#008d3c",progressBar:$k,indeterminate:gk,label:Dk,value:vk,bar:yk,fill:xk},Ck=({label:e,labelProps:t,showValueLabel:u=!1,...n})=>h.jsx(Fv,{...n,className:H(pn.progressBar,n.className),children:({percentage:r,valueText:a,isIndeterminate:i})=>h.jsxs(h.Fragment,{children:[e&&h.jsx(Ni,{elementType:"span",...t,className:H(t==null?void 0:t.className,pn.label),children:e}),u&&h.jsx(Ni,{elementType:"span",...t,id:"",className:H(t==null?void 0:t.className,pn.value),children:a}),h.jsx("div",{className:pn.bar,children:h.jsx("div",{className:pn.fill,style:{width:`${i?50:r}%`}})})]})});exports.Accordion=Jx;exports.AccordionItem=S7;exports.Breadcrumbs=z7;exports.Button=Ie;exports.ButtonGroup=f7;exports.Calendar=$5;exports.Card=H7;exports.Cell=Vi;exports.Checkbox=xa;exports.CheckboxGroup=dC;exports.Column=zi;exports.ComboBox=yC;exports.ComboBoxItem=xC;exports.DateField=rk;exports.DatePicker=_C;exports.DateRangePicker=NC;exports.Dialog=M8;exports.Dropdown=v5;exports.DropdownItem=y5;exports.FileUpload=QC;exports.Flex=r9;exports.FlexItem=x5;exports.GlobalToastRegion=qB;exports.Grid=d9;exports.GridItem=c9;exports.Header=S5;exports.Heading=mk;exports.InfoBanner=E9;exports.InputWrapper=Fu;exports.Label=Ni;exports.Layout=Jt;exports.Link=Hl;exports.LinkButton=A8;exports.Logo=P5;exports.ModalTrigger=V8;exports.ProgressBar=Ck;exports.Radio=H8;exports.RadioGroup=O8;exports.RangeCalendar=g5;exports.RouterProvider=As;exports.Row=cB;exports.SearchField=X8;exports.Select=R5;exports.SelectComponent=T5;exports.Sidebar=k5;exports.SidebarLink=Ul;exports.Skeleton=ZE;exports.Spinner=eB;exports.Table=sB;exports.TableBody=Ax;exports.TableHeader=dB;exports.Tabs=$B;exports.Tag=w5;exports.TagGroup=F5;exports.Text=ik;exports.TextArea=xB;exports.TextField=oC;exports.Toast=g2;exports.ToastProvider=GB;exports.ToastRegion=Zl;exports.Tooltip=C5;exports.TooltipTrigger=E5;exports.dossNrRegEx=h5;exports.ssnRegEx=b5;exports.toastQueue=$2;