@midas-ds/components 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +63 -1
- package/accordion/AccordionItem.d.ts +2 -2
- package/index.cjs +138 -0
- package/index.css +1 -0
- package/index.d.ts +0 -2
- package/index.js +27094 -105
- package/package.json +22 -4
- package/table/Table.d.ts +3 -4
- package/textfield/TextField.d.ts +15 -4
- package/theme.cjs +1 -0
- package/theme.js +20 -0
- package/tokens-BskyMDHv.cjs +1 -0
- package/Breadcrumbs.css +0 -1
- package/Button-DL6nqUco.js +0 -182
- package/Button.css +0 -1
- package/ButtonGroup.css +0 -1
- package/Card.css +0 -1
- package/Checkbox-q0dugR2t.js +0 -402
- package/Checkbox.css +0 -1
- package/Collection-KMFfVuzU.js +0 -510
- package/ComboBox.css +0 -1
- package/DatePicker.css +0 -1
- package/Dialog-D6Bqrpn-.js +0 -1952
- package/Disclosure-dAZYXyTH.js +0 -225
- package/Disclosure.css +0 -1
- package/DragAndDrop-B0T3WgjL.js +0 -40
- package/Dropdown.css +0 -1
- package/FileUpload.css +0 -1
- package/Flex.css +0 -1
- package/Flex.module-CpoxBzQX.js +0 -37
- package/FocusScope-B7CkxXNC.js +0 -513
- package/Form-BWBjJC6v.js +0 -238
- package/Grid.css +0 -1
- package/Grid.module-Ia0e9Dix.js +0 -36
- package/Group-D7_8007y.js +0 -42
- package/Heading-RCRHv6hd.js +0 -15
- package/Hidden-CVlUgUJM.js +0 -37
- package/InfoBanner.css +0 -1
- package/Layout.css +0 -1
- package/Link-BnQvB-hH.js +0 -75
- package/Link.css +0 -1
- package/LinkButton.css +0 -1
- package/ListBox-DBBiqvcR.js +0 -474
- package/ListKeyboardDelegate-gCXy-Xnn.js +0 -172
- package/Logo.css +0 -1
- package/Modal.css +0 -1
- package/MultiSelect.css +0 -1
- package/PressResponder-B4g56kDz.js +0 -31
- package/RSPContexts-BW2SEIqe.js +0 -11
- package/Radio.css +0 -1
- package/SearchField.css +0 -1
- package/Select.css +0 -1
- package/SelectionManager-BfXUE1qg.js +0 -1031
- package/Separator-BBX9m2O2.js +0 -49
- package/Spinner.css +0 -1
- package/Table.css +0 -1
- package/Tabs.css +0 -1
- package/Tag-DWt0koFj.js +0 -728
- package/Tag.css +0 -1
- package/Text-BCF0xvqL.js +0 -15
- package/TextArea.css +0 -1
- package/TextField-CX4eOQf6.js +0 -225
- package/TextField.css +0 -1
- package/TextField.module-DdICj682.js +0 -143
- package/Toast.css +0 -1
- package/VisuallyHidden-Dhr5caPC.js +0 -39
- package/chevron-down-Cd1bkzXT.js +0 -13
- package/chevron-right-DBMc9VMi.js +0 -23
- package/clsx-OuTLNxxd.js +0 -16
- package/context-BpJLnOuu.js +0 -80
- package/createLucideIcon-DeWljiyi.js +0 -79
- package/index-B-jHjTDC.js +0 -120
- package/index-BPdc9gJ8.js +0 -3122
- package/index-KSgQWWiy.js +0 -26984
- package/index10.js +0 -4
- package/index11.js +0 -5
- package/index12.js +0 -4
- package/index13.js +0 -4
- package/index14.js +0 -4
- package/index15.js +0 -6
- package/index16.js +0 -6
- package/index17.js +0 -6
- package/index18.js +0 -4
- package/index19.js +0 -6
- package/index2.js +0 -8
- package/index20.js +0 -6
- package/index21.js +0 -4
- package/index22.js +0 -5
- package/index23.js +0 -5
- package/index24.js +0 -5
- package/index25.js +0 -6
- package/index26.js +0 -6
- package/index27.js +0 -6
- package/index28.js +0 -4
- package/index29.js +0 -6
- package/index3.js +0 -6
- package/index30.js +0 -21
- package/index31.js +0 -22
- package/index32.js +0 -14
- package/index33.js +0 -11
- package/index34.js +0 -31
- package/index35.js +0 -8
- package/index36.js +0 -9
- package/index37.js +0 -19
- package/index38.js +0 -9
- package/index39.js +0 -9
- package/index4.js +0 -4
- package/index40.js +0 -23
- package/index41.js +0 -63
- package/index42.js +0 -53
- package/index43.js +0 -18
- package/index44.js +0 -27
- package/index45.js +0 -18
- package/index46.js +0 -21
- package/index47.js +0 -49
- package/index48.js +0 -5
- package/index49.js +0 -25
- package/index5.js +0 -5
- package/index50.js +0 -18
- package/index51.js +0 -9
- package/index52.js +0 -25
- package/index53.js +0 -18
- package/index54.js +0 -11
- package/index55.js +0 -12
- package/index56.js +0 -15
- package/index57.js +0 -9
- package/index58.js +0 -9
- package/index59.js +0 -19
- package/index6.js +0 -4
- package/index60.js +0 -22
- package/index61.js +0 -61
- package/index62.js +0 -15
- package/index63.js +0 -11
- package/index64.js +0 -53
- package/index65.js +0 -85
- package/index66.js +0 -74
- package/index67.js +0 -24
- package/index68.js +0 -69
- package/index69.js +0 -80
- package/index7.js +0 -9
- package/index70.js +0 -140
- package/index71.js +0 -70
- package/index72.js +0 -42
- package/index73.js +0 -82
- package/index74.js +0 -71
- package/index75.js +0 -104
- package/index76.js +0 -275
- package/index77.js +0 -723
- package/index78.js +0 -489
- package/index79.js +0 -314
- package/index8.js +0 -4
- package/index80.js +0 -389
- package/index81.js +0 -252
- package/index82.js +0 -1364
- package/index83.js +0 -1009
- package/index84.js +0 -386
- package/index85.js +0 -2101
- package/index86.js +0 -2368
- package/index87.js +0 -6831
- package/index88.js +0 -17
- package/index89.js +0 -14
- package/index9.js +0 -5
- package/index90.js +0 -6
- package/index91.js +0 -9
- package/intlStrings-Cd44R5hT.js +0 -278
- package/react.esm-sMU8Z7rL.js +0 -11060
- package/triangle-alert-1OYl9KWz.js +0 -56
- package/useControlledState-Kv9K2AYu.js +0 -30
- package/useDescription-B7stiK3j.js +0 -32
- package/useEvent-Xk5kn5Ns.js +0 -21
- package/useField-DMzJIIN4.js +0 -67
- package/useFilter-Bt9dbV1U.js +0 -35
- package/useFocusRing-9PXyKy2A.js +0 -1297
- package/useFocusable-CcEBZe40.js +0 -59
- package/useGridSelectionCheckbox-DYgEnElE.js +0 -22
- package/useHasTabbableChild-D6DwR81L.js +0 -34
- package/useHighlightSelectionDescription-WYAbP4No.js +0 -552
- package/useLabels-9zaZ9oa0.js +0 -17
- package/useListState-BfTeKTk5.js +0 -119
- package/useLocalizedStringFormatter-BlCbn-hX.js +0 -96
- package/useSingleSelectListState-DPkaL0la.js +0 -34
- package/useUpdateEffect-Dtz-i14F.js +0 -12
- package/x-JK7i-TQC.js +0 -14
package/index.cjs
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const D=require("react/jsx-runtime"),o=require("react"),xu=require("react-dom"),Rh=require("./tokens-BskyMDHv.cjs");function Kh(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 we=Kh(o),Ih='"../theme/tokens.css"',Mh='"Inter", sans-serif',zh="#f2f2f2",Vh="#e6e6e6",Nh="#d9d9d9",Lh="#000000",jh="300ms",_h="400",Oh="500",Hh="_root_106wg_4",Uh="_contained_106wg_12",Wh="_triggerText_106wg_27",Gh="_trigger_106wg_27",Zh="_icon_106wg_52",qh="_item_106wg_80",Yh="_panel_106wg_86",Jh="_panel0_106wg_86",Qh="_content_106wg_96",Xh="_header_106wg_100",Xe={tokens:Ih,display:Mh,gray10:zh,gray20:Vh,gray30:Nh,black:Lh,normalTransition:jh,regularWeight:_h,mediumWeight:Oh,root:Hh,contained:Uh,triggerText:Wh,trigger:Gh,icon:Zh,item:qh,panel:Yh,panel0:Jh,content:Qh,header:Xh};function es(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=es(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function J(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=es(e))&&(n&&(n+=" "),n+=t);return n}const Mr=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const zr=o.createContext({}),Z=typeof document<"u"?o.useLayoutEffect:()=>{};function ae(e){const t=o.useRef(null);return Z(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function e$(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)});Z(()=>{n.current&&r()});let a=ae(i=>{n.current=i(t),r()});return[t,a]}const fr={prefix:String(Math.round(Math.random()*1e10)),current:0},ts=o.createContext(fr),t$=o.createContext(!1);let u$=!!(typeof window<"u"&&window.document&&window.document.createElement),sa=new WeakMap;function n$(e=!1){let t=o.useContext(ts),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=sa.get(a);i==null?sa.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,sa.delete(a))}u.current=++t.current}return u.current}function r$(e){let t=o.useContext(ts);t===fr&&!u$&&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=n$(!!e),n=t===fr&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function a$(e){let t=o.useId(),[u]=o.useState(tu()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${fr.prefix}`;return e||`${n}-${t}`}const i$=typeof o.useId=="function"?a$:r$;function l$(){return!1}function o$(){return!0}function s$(e){return()=>{}}function tu(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(s$,l$,o$):o.useContext(t$)}let d$=!!(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=i$(t),a=o.useCallback(i=>{n.current=i},[]);return d$&&(Ut.has(r)&&!Ut.get(r).includes(a)?Ut.set(r,[...Ut.get(r),a]):Ut.set(r,[a])),Z(()=>{let i=r;return()=>{Ut.delete(i)}},[r]),o.useEffect(()=>{let i=n.current;i&&(n.current=null,u(i))}),r}function c$(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]=e$(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return Z(r,[t,r,...e]),u}function at(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const ce=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:ce(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]=J(a,i):r==="id"&&a&&i?t.id=c$(a,i):t[r]=i!==void 0?i:a}}return t}function Cu(...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"]),p$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),m$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),b$=/^(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&&p$.has(i)||n&&m$.has(i)||r!=null&&r.has(i)||b$.test(i))&&(a[i]=e[i]);return a}function Oe(e){if(h$())e.focus({preventScroll:!0});else{let t=$$(e);e.focus(),g$(t)}}let Hn=null;function h$(){if(Hn==null){Hn=!1;try{document.createElement("div").focus({get preventScroll(){return Hn=!0,!0}})}catch{}}return Hn}function $$(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 g$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function Vr(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 yt=Vt(function(){return ki(/^Mac/i)}),D$=Vt(function(){return ki(/^iPhone/i)}),Pi=Vt(function(){return ki(/^iPad/i)||yt()&&navigator.maxTouchPoints>1}),Fn=Vt(function(){return D$()||Pi()}),lr=Vt(function(){return yt()||Fn()}),Si=Vt(function(){return Vr(/AppleWebKit/i)&&!us()}),us=Vt(function(){return Vr(/Chrome/i)}),$n=Vt(function(){return Vr(/Android/i)}),y$=Vt(function(){return Vr(/Firefox/i)}),ns=o.createContext({isNative:!0,open:v$,useHref:e=>e});function rs(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(a,i,l,s)=>{is(a,d=>{as(d,i)?u(l,s):Jt(d,i)})},useHref:n||(a=>a)}),[u,n]);return o.createElement(ns.Provider,{value:r},t)}function Eu(){return o.useContext(ns)}function as(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 Jt(e,t,u=!0){var n,r;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:s}=t;y$()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(yt()?a=!0:i=!0);let d=Si()&&yt()&&!Pi()?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});Jt.isOpening=u,Oe(e),e.dispatchEvent(d),Jt.isOpening=!1}Jt.isOpening=!1;function is(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 v$(e,t){is(e,u=>Jt(u,t))}function Ai(e){let t=Eu();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 Nr(e){let t=Eu();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 Tu=new Map,La=new Set;function wl(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=Tu.get(n.target);r||(r=new Set,Tu.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=Tu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),Tu.delete(n.target)),Tu.size===0)){for(let a of La)a();La.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?wl():document.addEventListener("DOMContentLoaded",wl));function ls(e){requestAnimationFrame(()=>{Tu.size===0?e():La.add(e)})}function wi(){let e=o.useRef(new Map),t=o.useCallback((r,a,i,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(i),i(...d)}:i;e.current.set(i,{type:a,eventTarget:r,fn:s,options:l}),r.addEventListener(a,s,l)},[]),u=o.useCallback((r,a,i,l)=>{var s;let d=((s=e.current.get(i))===null||s===void 0?void 0:s.fn)||i;r.removeEventListener(a,d,l),e.current.delete(i)},[]),n=o.useCallback(()=>{e.current.forEach((r,a)=>{u(r.eventTarget,r.type,a,r.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function vt(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=ne(u),r&&n?r=[...new Set([u,...r.trim().split(/\s+/)])].join(" "):r&&(r=r.trim().split(/\s+/).join(" ")),!n&&!r&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":r}}function ge(e){const t=o.useRef(null);return o.useMemo(()=>({get current(){return t.current},set current(u){t.current=u,typeof e=="function"?e(u):e&&(e.current=u)}}),[e])}function pr(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 Fl(e,t){const u=o.useRef(!0),n=o.useRef(null);Z(()=>(u.current=!0,()=>{u.current=!1}),[]),Z(()=>{u.current?u.current=!1:(!n.current||t.some((r,a)=>!Object.is(r,n[a])))&&e(),n.current=t},t)}function x$(){return typeof window.ResizeObserver<"u"}function bu(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(x$()){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 Fi(e,t){Z(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function gn(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(gn(u,t)&&(u=u.parentElement);u&&!gn(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function C$(e,t){const u=[];for(;e&&e!==document.documentElement;)gn(e,t)&&u.push(e),e=e.parentElement;return u}let E$=0;const da=new Map;function Ct(e){let[t,u]=o.useState();return Z(()=>{if(!e)return;let n=da.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${E$++}`;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},da.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),da.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 os(e,t){let u=Tl(e,t,"left"),n=Tl(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),g=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>g-C&&(i+=u+r-g+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 Tl(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=C$(e);for(let d of s)os(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 ja(e){return e.mozInputSource===0&&e.isTrusted?!0:$n()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function B$(e){return!$n()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function ss(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function Tn(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 k$="react-aria-clear-focus",P$="react-aria-focus",ds="react-aria-update-activedescendant";function Ru(e){return yt()?e.metaKey:e.ctrlKey}function S$(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return Z(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,r]),cs(e,r,o.useCallback(()=>n(!1),[])),r}function A$(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 cs(e,r,o.useCallback(()=>{n(a=>a==="exiting"?"closed":a)},[])),r}function cs(e,t,u){Z(()=>{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||xu.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 _a(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const gt=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 Ve(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=new Intl.ListFormat().format(Object.keys(u.slots).map(a=>`"${a}"`));if(!t&&!u.slots[gt])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let r=t||gt;if(!u.slots[r])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return u.slots[r]}return u}function q(e,t,u){let n=Ve(u,e.slot)||{},{ref:r,...a}=n,i=ge(o.useMemo(()=>Cu(t,r),[t,r])),l=N(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof a.style=="function"?a.style(s):a.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...a.style,...e.style}),[l,i]}function ct(){let[e,t]=o.useState(!0),u=o.useRef(!1),n=o.useCallback(r=>{u.current=!0,t(!!r)},[]);return Z(()=>{u.current||t(!1)},[]),[n,e]}function Mt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class Dn{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new Dn(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 Lr{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 Lr,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 fs{*[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 yn extends fs{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof yn?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 yn?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 Dn(t,`react-aria-${++u.nodeId}`),this.ownerDocument.startTransaction()}}class w$ extends fs{get isConnected(){return this.isMounted}createElement(t){return new yn(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 yn&&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 Ti(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 mr=o.createContext(!1),F$=typeof DocumentFragment<"u"?new DocumentFragment:null;function T$(e){let t=o.useContext(mr),u=tu();if(t)return o.createElement(o.Fragment,null,e.children);let n=o.createElement(mr.Provider,{value:!0},e.children);return u?o.createElement("template",{"data-react-aria-hidden":!0},n):xu.createPortal(n,F$)}function jr(e){let t=(u,n)=>o.useContext(mr)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function R$(){return o.useContext(mr)}var Oa={exports:{}},ca={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* use-sync-external-store-shim.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Rl;function K$(){if(Rl)return ca;Rl=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,g=b[1];return a(function(){h.value=m,h.getSnapshot=p,s(h)&&g({inst:h})},[f,m,p]),r(function(){return s(h)&&g({inst:h}),f(function(){s(h)&&g({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 ca.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,ca}var fa={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* use-sync-external-store-shim.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Kl;function I$(){return Kl||(Kl=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 g=b();a(h,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}g=i({inst:{value:h,getSnapshot:b}});var v=g[0].inst,E=g[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;fa.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())}()),fa}process.env.NODE_ENV==="production"?Oa.exports=K$():Oa.exports=I$();var Ri=Oa.exports;const ps=o.createContext(!1),vn=o.createContext(null);function Nt(e){if(o.useContext(vn))return e.content;let{collection:u,document:n}=N$(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(T$,null,o.createElement(vn.Provider,{value:n},e.content)),o.createElement(M$,{render:e.children,collection:u}))}function M$({collection:e,render:t}){return t(e)}function z$(e,t,u){let n=tu(),r=o.useRef(n);r.current=n;let a=o.useCallback(()=>r.current?u():t(),[t,u]);return Ri.useSyncExternalStore(e,a)}const V$=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:z$;function N$(e){let[t]=o.useState(()=>new w$((e==null?void 0:e())||new Lr)),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=V$(u,n,r);return Z(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const Ha=o.createContext(null);function ms(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(Ha);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(Ha.Provider,{value:s},r):null}return o.createElement(e,{ref:i},r)}function Lt(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,a)=>{if(!o.useContext(ps)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,a)}return ms(e,r,a,"children"in r?r.children:null,null,l=>o.createElement(u,{node:l}))});return n.displayName=t.name,n}function Ki(e,t,u=bs){let n=({node:a})=>t(a.props,a.props.ref,a),r=o.forwardRef((a,i)=>{let l=u(a);var s;return(s=ms(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 bs(e){return Ti({...e,addIdAndValue:!0})}const Il=o.createContext(null);function ft(e){let t=o.useContext(Il),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=bs({...e,idScope:n,dependencies:u});return o.useContext(vn)&&(r=o.createElement(L$,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(Il.Provider,{value:t},r)}function L$({children:e}){let t=o.useContext(vn),u=o.useMemo(()=>o.createElement(vn.Provider,{value:null},o.createElement(ps.Provider,{value:!0},e)),[e]);return tu()?o.createElement(Ha.Provider,{value:t},u):xu.createPortal(u,t)}const Et=o.createContext({}),hs=jr(function(t,u){[t,u]=q(t,u,Et);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})});let Iu="default",Ua="",or=new WeakMap;function Ml(e){if(Fn()){if(Iu==="default"){const t=ce(e);Ua=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Iu="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(or.set(e,e.style.userSelect),e.style.userSelect="none")}function Un(e){if(Fn()){if(Iu!=="disabled")return;Iu="restoring",setTimeout(()=>{ls(()=>{if(Iu==="restoring"){const t=ce(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Ua||""),Ua="",Iu="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&or.has(e)){let t=or.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),or.delete(e)}}const xn=o.createContext({register:()=>{}});xn.displayName="PressResponderContext";function j$(e,t){return t.get?t.get.call(e):t.value}function $s(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function _$(e,t){var u=$s(e,t,"get");return j$(e,u)}function O$(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Rn(e,t,u){O$(e,t),t.set(e,u)}function H$(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 zl(e,t,u){var n=$s(e,t,"set");return H$(e,n,u),u}function U$(e){let t=o.useContext(xn);if(t){let{register:u,...n}=t;e=N(n,e),u()}return Fi(t,e.ref),e}var Wn=new WeakMap;class Gn{continuePropagation(){zl(this,Wn,!1)}get shouldStopPropagation(){return _$(this,Wn)}constructor(t,u,n,r){Rn(this,Wn,{writable:!0,value:void 0}),zl(this,Wn,!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 Vl=Symbol("linkClicked");function Ge(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:r,onPressUp:a,isDisabled:i,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=U$(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:g,removeAllGlobalListeners:v}=wi(),E=ae(($,T)=>{let A=h.current;if(i||A.didFirePressStart)return!1;let k=!0;if(A.isTriggeringEvent=!0,n){let z=new Gn("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 Gn("pressend",T,$);r(x),z=x.shouldStopPropagation}if(u&&u(!1),b(!1),t&&A&&!i){let x=new Gn("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 Gn("pressup",T,$);return a(k),A.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),B=ae($=>{let T=h.current;T.isPressed&&T.target&&(T.isOverTarget&&T.pointerType!=null&&y(Pt(T.target,$),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,v(),c||Un(T.target))}),S=ae($=>{d&&B($)}),R=o.useMemo(()=>{let $=h.current,T={onKeyDown(k){if(pa(k.nativeEvent,k.currentTarget)&&k.currentTarget.contains(k.target)){var z;Ll(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=>{pa(F,w)&&!F.repeat&&w.contains(F.target)&&$.target&&C(Pt($.target,F),"keyboard")};g(ce(k.currentTarget),"keyup",at(V,A),!0)}x&&k.stopPropagation(),k.metaKey&&yt()&&((z=$.metaKeyEvents)===null||z===void 0||z.set(k.key,k.nativeEvent))}else k.key==="Meta"&&($.metaKeyEvents=new Map)},onClick(k){if(!(k&&!k.currentTarget.contains(k.target))&&k&&k.button===0&&!$.isTriggeringEvent&&!Jt.isOpening){let z=!0;if(i&&k.preventDefault(),!$.ignoreClickAfterPress&&!$.ignoreEmulatedMouseEvents&&!$.isPressed&&($.pointerType==="virtual"||ja(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&&pa(k,$.target)){var x;Ll(k.target,k.key)&&k.preventDefault();let V=k.target;y(Pt($.target,k),"keyboard",$.target.contains(V)),v(),k.key!=="Enter"&&Ii($.target)&&$.target.contains(V)&&!k[Vl]&&(k[Vl]=!0,Jt($.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(B$(w.nativeEvent)){$.pointerType="virtual";return}ba(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||Ml($.target),V=E(w,$.pointerType);let F=w.target;"releasePointerCapture"in F&&F.releasePointerCapture(w.pointerId),g(ce(w.currentTarget),"pointerup",k,!1),g(ce(w.currentTarget),"pointercancel",x,!1)}V&&w.stopPropagation()},T.onMouseDown=w=>{w.currentTarget.contains(w.target)&&w.button===0&&(ba(w.currentTarget)&&w.preventDefault(),w.stopPropagation())},T.onPointerUp=w=>{!w.currentTarget.contains(w.target)||$.pointerType==="virtual"||w.button===0&&C(w,$.pointerType||w.pointerType)},T.onPointerEnter=w=>{w.pointerId===$.activePointerId&&$.target&&!$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!0,E(Pt($.target,w),$.pointerType))},T.onPointerLeave=w=>{w.pointerId===$.activePointerId&&$.target&&$.isOverTarget&&$.pointerType!=null&&($.isOverTarget=!1,y(Pt($.target,w),$.pointerType,!1),S(w))};let k=w=>{w.pointerId===$.activePointerId&&$.isPressed&&w.button===0&&$.target&&($.target.contains(w.target)&&$.pointerType!=null?y(Pt($.target,w),$.pointerType):$.isOverTarget&&$.pointerType!=null&&y(Pt($.target,w),$.pointerType,!1),$.isPressed=!1,$.isOverTarget=!1,$.activePointerId=null,$.pointerType=null,v(),c||Un($.target),"ontouchend"in $.target&&w.pointerType!=="mouse"&&g($.target,"touchend",z,{once:!0}))},z=w=>{gs(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(ba(x.currentTarget)&&x.preventDefault(),$.ignoreEmulatedMouseEvents){x.stopPropagation();return}$.isPressed=!0,$.isOverTarget=!0,$.target=x.currentTarget,$.pointerType=ja(x.nativeEvent)?"virtual":"mouse",!i&&!s&&Oe(x.currentTarget),E(x,$.pointerType)&&x.stopPropagation(),g(ce(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&&ma(x,$.target)&&$.pointerType!=null?y(Pt($.target,x),$.pointerType):$.target&&$.isOverTarget&&$.pointerType!=null&&y(Pt($.target,x),$.pointerType,!1),$.isOverTarget=!1}};T.onTouchStart=x=>{if(!x.currentTarget.contains(x.target))return;let w=W$(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||Ml($.target),E(Ot($.target,x),$.pointerType)&&x.stopPropagation(),g(ut(x.currentTarget),"scroll",z,!0)},T.onTouchMove=x=>{if(!x.currentTarget.contains(x.target))return;if(!$.isPressed){x.stopPropagation();return}let w=Nl(x.nativeEvent,$.activePointerId),V=!0;w&&ma(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=Nl(x.nativeEvent,$.activePointerId),V=!0;w&&ma(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&&Un($.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},[g,i,s,v,c,B,S,y,E,C]);return o.useEffect(()=>()=>{var $;c||Un(($=h.current.target)!==null&&$!==void 0?$:void 0)},[c]),{isPressed:l||m,pressProps:N(p,R)}}function Ii(e){return e.tagName==="A"&&e.hasAttribute("href")}function pa(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&&!Ds(r,u)||r instanceof ut(r).HTMLTextAreaElement||r.isContentEditable)&&!((a==="link"||!a&&Ii(r))&&u!=="Enter")}function W$(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Nl(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 Pt(e,t){let u=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function G$(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 Z$(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function ma(e,t){let u=t.getBoundingClientRect(),n=G$(e);return Z$(u,n)}function ba(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function gs(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Ii(e)}function Ll(e,t){return e instanceof HTMLInputElement?!Ds(e,t):gs(e)}const q$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ds(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":q$.has(e.type)}const Mi=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(xn);u=ge(u||(r==null?void 0:r.ref));let a=N(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return Fi(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(xn.Provider,{value:a},e)});function Y$({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(xn.Provider,{value:t},e)}class J${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 ys(e){let t=o.useRef({isFocused:!1,observer:null});Z(()=>{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 J$("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 _r(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=ys(a),l=o.useCallback(s=>{const d=ce(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 zt=null,Cn=new Set,pn=new Map,hu=!1,Wa=!1;const Q$={Tab:!0,Escape:!0};function Or(e,t){for(let u of Cn)u(e,t)}function X$(e){return!(e.metaKey||!yt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function br(e){hu=!0,X$(e)&&(zt="keyboard",Or("keyboard",e))}function tt(e){zt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(hu=!0,Or("pointer",e))}function vs(e){ja(e)&&(hu=!0,zt="virtual")}function xs(e){e.target===window||e.target===document||(!hu&&!Wa&&(zt="virtual",Or("virtual",e)),hu=!1,Wa=!1)}function Cs(){hu=!1,Wa=!0}function hr(e){if(typeof window>"u"||pn.get(ut(e)))return;const t=ut(e),u=ce(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){hu=!0,n.apply(this,arguments)},u.addEventListener("keydown",br,!0),u.addEventListener("keyup",br,!0),u.addEventListener("click",vs,!0),t.addEventListener("focus",xs,!0),t.addEventListener("blur",Cs,!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",()=>{Es(e)},{once:!0}),pn.set(t,{focus:n})}const Es=(e,t)=>{const u=ut(e),n=ce(e);t&&n.removeEventListener("DOMContentLoaded",t),pn.has(u)&&(u.HTMLElement.prototype.focus=pn.get(u).focus,n.removeEventListener("keydown",br,!0),n.removeEventListener("keyup",br,!0),n.removeEventListener("click",vs,!0),u.removeEventListener("focus",xs,!0),u.removeEventListener("blur",Cs,!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)),pn.delete(u))};function eg(e){const t=ce(e);let u;return t.readyState!=="loading"?hr(e):(u=()=>{hr(e)},t.addEventListener("DOMContentLoaded",u)),()=>Es(e,u)}typeof document<"u"&&eg();function $u(){return zt!=="pointer"}function gu(){return zt}function Bs(e){zt=e,Or(e,null)}function zi(){hr();let[e,t]=o.useState(zt);return o.useEffect(()=>{let u=()=>{t(zt)};return Cn.add(u),()=>{Cn.delete(u)}},[]),tu()?null:e}const tg=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ug(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&&!tg.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&&!Q$[u.key])}function ng(e,t,u){hr(),o.useEffect(()=>{let n=(r,a)=>{ug(!!(u!=null&&u.isTextInput),r,a)&&e($u())};return Cn.add(n),()=>{Cn.delete(n)}},t)}function pt(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,a=o.useRef({isFocusWithin:!1}),i=o.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,u&&u(d),r&&r(!1))},[u,r,a]),l=ys(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 $r=!1,ha=0;function Ga(){$r=!0,setTimeout(()=>{$r=!1},50)}function jl(e){e.pointerType==="touch"&&Ga()}function rg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",jl):document.addEventListener("touchend",Ga),ha++,()=>{ha--,!(ha>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",jl):document.removeEventListener("touchend",Ga))}}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(rg,[]);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=>{$r&&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&&!$r&&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 ag(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,a=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=ae(s=>{u&&Zn(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=ce(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Zn(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&&Zn(m,t)&&l(m),s.isPointerDown=!1},p=m=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Zn(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 Zn(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 _l(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 ks(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:_l(e.onKeyDown),onKeyUp:_l(e.onKeyUp)}}}const ig=500;function Ps(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:a=ig,accessibilityDescription:i}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=wi(),{pressProps:c}=Ge({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(u&&u({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),r&&r({...p,type:"longpress"}),l.current=void 0},a),p.pointerType==="touch")){let m=b=>{b.preventDefault()};s(p.target,"contextmenu",m,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=Ct(r&&!t?i:void 0);return{longPressProps:N(c,f)}}function ye(e){const t=ce(e);if(gu()==="virtual"){let u=t.activeElement;ls(()=>{t.activeElement===u&&e.isConnected&&Oe(e)})}else Oe(e)}function lg(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 og(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 Ss(e,t){return e.nodeName!=="#comment"&&lg(e)&&og(e,t)&&(!e.parentElement||Ss(e.parentElement,e))}const Ol=o.createContext(null),Za="react-aria-focus-scope-restore";let de=null;function Kn(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(Ol)||{},d=o.useMemo(()=>new Ya({scopeRef:l}),[l]);Z(()=>{let p=s||Ee.root;if(Ee.getTreeNode(p.scopeRef)&&de&&!gr(de,p.scopeRef)){let m=Ee.getTreeNode(de);m&&(p=m)}p.addChild(d),Ee.addNode(d)},[d,s]),Z(()=>{let p=Ee.getTreeNode(l);p&&(p.contain=!!u)},[u]),Z(()=>{var p;let m=(p=a.current)===null||p===void 0?void 0:p.nextSibling,b=[],h=g=>g.stopPropagation();for(;m&&m!==i.current;)b.push(m),m.addEventListener(Za,h),m=m.nextSibling;return l.current=b,()=>{for(let g of b)g.removeEventListener(Za,h)}},[t]),bg(l,n,u),fg(l,u),hg(l,n,u),mg(l,r),o.useEffect(()=>{const p=ce(l.current?l.current[0]:void 0).activeElement;let m=null;if(it(p,l.current)){for(let b of Ee.traverse())b.scopeRef&&it(p,b.scopeRef.current)&&(m=b);m===Ee.getTreeNode(l)&&(de=m.scopeRef)}},[l]),Z(()=>()=>{var p,m,b;let h=(b=(m=Ee.getTreeNode(l))===null||m===void 0||(p=m.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&b!==void 0?b:null;(l===de||gr(l,de))&&(!h||Ee.getTreeNode(h))&&(de=h),Ee.removeTreeNode(l)},[l]);let c=o.useMemo(()=>sg(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(Ol.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function sg(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:a,accept:i}=t,l=n||ce(u[0]).activeElement,s=u[0].previousElementSibling,d=cu(u),c=ke(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||ce(u[0]).activeElement,s=u[u.length-1].nextElementSibling,d=cu(u),c=ke(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=cu(u),i=ke(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=cu(u),i=ke(a,{tabbable:n,accept:r},u);i.currentNode=u[u.length-1].nextElementSibling;let l=i.previousNode();return l&&_e(l,!0),l}}}const Vi=["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"])'],As=Vi.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Vi.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const dg=Vi.join(':not([hidden]):not([tabindex="-1"]),');function cg(e){return e.matches(As)}function cu(e){return e[0].parentElement}function on(e){let t=Ee.getTreeNode(de);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function fg(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);Z(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const a=ce(r?r[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!on(e)||d.isComposing)return;let c=a.activeElement,f=e.current;if(!f||!it(c,f))return;let p=cu(f),m=ke(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=>{(!de||gr(de,e))&&it(d.target,e.current)?(de=e,u.current=d.target):on(e)&&!qt(d.target,e)?u.current?u.current.focus():de&&de.current&&qa(de.current):on(e)&&(u.current=d.target)},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=gu();if(!((c==="virtual"||c===null)&&$n()&&us())&&a.activeElement&&on(e)&&!qt(a.activeElement,e))if(de=e,a.body.contains(d.target)){var p;u.current=d.target,(p=u.current)===null||p===void 0||p.focus()}else de.current&&qa(de.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]),Z(()=>()=>{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 Ee.traverse(Ee.getTreeNode(t)))if(u&&it(e,u.current))return!0;return!1}function pg(e){return qt(e,de)}function gr(e,t){var u;let n=(u=Ee.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{ye(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Fs(e,t=!0){let u=e[0].previousElementSibling,n=cu(e),r=ke(n,{tabbable:t},e);r.currentNode=u;let a=r.nextNode();return t&&!a&&(n=cu(e),r=ke(n,{tabbable:!1},e),r.currentNode=u,a=r.nextNode()),a}function qa(e,t=!0){_e(Fs(e,t))}function mg(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){de=e;const n=ce(e.current?e.current[0]:void 0);!it(n.activeElement,de.current)&&e.current&&qa(e.current)}u.current=!1},[e])}function bg(e,t,u){Z(()=>{if(t||u)return;let n=e.current;const r=ce(n?n[0]:void 0);let a=i=>{let l=i.target;it(l,e.current)?de=e:ws(l)||(de=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 Hl(e){let t=Ee.getTreeNode(de);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function hg(e,t,u){const n=o.useRef(typeof document<"u"?ce(e.current?e.current[0]:void 0).activeElement:null);Z(()=>{let r=e.current;const a=ce(r?r[0]:void 0);if(!t||u)return;let i=()=>{(!de||gr(de,e))&&it(a.activeElement,e.current)&&(de=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]),Z(()=>{const r=ce(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!on(e)||i.isComposing)return;let l=r.activeElement;if(!qt(l,e)||!Hl(e))return;let s=Ee.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=ke(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]),Z(()=>{const r=ce(e.current?e.current[0]:void 0);if(!t)return;let a=Ee.getTreeNode(e);if(a){var i;return a.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let l=Ee.getTreeNode(e);if(!l)return;let s=l.nodeToRestore;if(t&&s&&(r.activeElement&&qt(r.activeElement,e)||r.activeElement===r.body&&Hl(e))){let d=Ee.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let c=d.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){Ul(c.nodeToRestore);return}c=c.parent}for(c=d.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Ee.getTreeNode(c.scopeRef)){let f=Fs(c.scopeRef.current,!0);Ul(f);return}c=c.parent}}})}}}},[e,t])}function Ul(e){e.dispatchEvent(new CustomEvent(Za,{bubbles:!0,cancelable:!0}))&&_e(e)}function ke(e,t,u){let n=t!=null&&t.tabbable?dg:As,r=ce(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)&&Ss(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 Hr(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||ce(n).activeElement,d=ke(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||ce(n).activeElement,d=ke(n,{tabbable:a,accept:l});if(n.contains(s))d.currentNode=s;else{let f=$a(d);return f&&_e(f,!0),f??null}let c=d.previousNode();if(!c&&i){d.currentNode=n;let f=$a(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=ke(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=ke(n,{tabbable:r,accept:a}),l=$a(i);return l&&_e(l,!0),l??null}}}function $a(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Ni{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 Ya({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 Ni;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 Ya({scopeRef:null}),this.fastMap.set(null,this.root)}}class Ya{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 Ee=new Ni;function oe(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||$u()}),[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]);ng(m=>{r.current.isFocusVisible=m,d()},[],{isTextInput:u});let{focusProps:f}=_r({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=pt({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:n?p:f}}let $g=o.createContext(null);function gg(e){let t=o.useContext($g)||{};Fi(t,e);let{ref:u,...n}=t;return n}function Gu(e,t){let{focusProps:u}=_r(e),{keyboardProps:n}=ks(e),r=N(u,n),a=gg(t),i=e.isDisabled?{}:a,l=o.useRef(e.autoFocus);return o.useEffect(()=>{l.current&&t.current&&ye(t.current),l.current=!1},[t]),{focusableProps:N({...r,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function Li(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return Z(()=>{if(e!=null&&e.current&&!u){let a=()=>{if(e.current){let l=ke(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 Dg(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}=Gu(e,t),{pressProps:f,isPressed:p}=Ge({onPress:n,onPressStart:r,onPressEnd:a,isDisabled:l,ref:t}),m=_(s,{labelable:!0}),b=N(c,f),h=Eu(),g=Nr(e);return{isPressed:p,linkProps:N(m,g,{...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()&&as(v.currentTarget,v)&&e.href&&(v.preventDefault(),h.open(v.currentTarget,v,e.href,e.routerOptions))}})}}var Ts={};Ts={breadcrumbs:"عناصر الواجهة"};var Rs={};Rs={breadcrumbs:"Трохи хляб"};var Ks={};Ks={breadcrumbs:"Popis cesty"};var Is={};Is={breadcrumbs:"Brødkrummer"};var Ms={};Ms={breadcrumbs:"Breadcrumbs"};var zs={};zs={breadcrumbs:"Πλοηγήσεις breadcrumb"};var Vs={};Vs={breadcrumbs:"Breadcrumbs"};var Ns={};Ns={breadcrumbs:"Migas de pan"};var Ls={};Ls={breadcrumbs:"Lingiread"};var js={};js={breadcrumbs:"Navigointilinkit"};var _s={};_s={breadcrumbs:"Chemin de navigation"};var Os={};Os={breadcrumbs:"שבילי ניווט"};var Hs={};Hs={breadcrumbs:"Navigacijski putovi"};var Us={};Us={breadcrumbs:"Morzsamenü"};var Ws={};Ws={breadcrumbs:"Breadcrumb"};var Gs={};Gs={breadcrumbs:"パンくずリスト"};var Zs={};Zs={breadcrumbs:"탐색 표시"};var qs={};qs={breadcrumbs:"Naršymo kelias"};var Ys={};Ys={breadcrumbs:"Atpakaļceļi"};var Js={};Js={breadcrumbs:"Navigasjonsstier"};var Qs={};Qs={breadcrumbs:"Broodkruimels"};var Xs={};Xs={breadcrumbs:"Struktura nawigacyjna"};var ed={};ed={breadcrumbs:"Caminho detalhado"};var td={};td={breadcrumbs:"Categorias"};var ud={};ud={breadcrumbs:"Miez de pâine"};var nd={};nd={breadcrumbs:"Навигация"};var rd={};rd={breadcrumbs:"Navigačné prvky Breadcrumbs"};var ad={};ad={breadcrumbs:"Drobtine"};var id={};id={breadcrumbs:"Putanje navigacije"};var ld={};ld={breadcrumbs:"Sökvägar"};var od={};od={breadcrumbs:"İçerik haritaları"};var sd={};sd={breadcrumbs:"Навігаційна стежка"};var dd={};dd={breadcrumbs:"导航栏"};var cd={};cd={breadcrumbs:"導覽列"};var fd={};fd={"ar-AE":Ts,"bg-BG":Rs,"cs-CZ":Ks,"da-DK":Is,"de-DE":Ms,"el-GR":zs,"en-US":Vs,"es-ES":Ns,"et-EE":Ls,"fi-FI":js,"fr-FR":_s,"he-IL":Os,"hr-HR":Hs,"hu-HU":Us,"it-IT":Ws,"ja-JP":Gs,"ko-KR":Zs,"lt-LT":qs,"lv-LV":Ys,"nb-NO":Js,"nl-NL":Qs,"pl-PL":Xs,"pt-BR":ed,"pt-PT":td,"ro-RO":ud,"ru-RU":nd,"sk-SK":rd,"sl-SI":ad,"sr-SP":id,"sv-SE":ld,"tr-TR":od,"uk-UA":sd,"zh-CN":dd,"zh-TW":cd};const yg=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 xg(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 yg.has(u.script)}let t=e.split("-")[0];return vg.has(t)}const Cg=Symbol.for("react-aria.i18n.locale");function pd(){let e=typeof window<"u"&&window[Cg]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:xg(e)?"rtl":"ltr"}}let Ja=pd(),sn=new Set;function Wl(){Ja=pd();for(let e of sn)e(Ja)}function Eg(){let e=tu(),[t,u]=o.useState(Ja);return o.useEffect(()=>(sn.size===0&&window.addEventListener("languagechange",Wl),sn.add(u),()=>{sn.delete(u),sn.size===0&&window.removeEventListener("languagechange",Wl)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Bg=o.createContext(null);function fe(){let e=Eg();return o.useContext(Bg)||e}const kg=Symbol.for("react-aria.i18n.locale"),Pg=Symbol.for("react-aria.i18n.strings");let Su;class uu{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=Sg(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[kg];if(Su===void 0){let r=window[Pg];if(!r)return null;Su={};for(let a in r)Su[a]=new uu({[u]:r[a]},u)}let n=Su==null?void 0:Su[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 Sg(e,t,u="en-US"){if(t[e])return t[e];let n=Ag(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function Ag(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Gl=new Map,Zl=new Map;class md{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=Gl.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Gl.set(a,i));let l=i.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=Zl.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),Zl.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 ql=new WeakMap;function wg(e){let t=ql.get(e);return t||(t=new uu(e),ql.set(e,t)),t}function bd(e,t){return t&&uu.getGlobalDictionaryForPackage(t)||wg(e)}function me(e,t){let{locale:u}=fe(),n=bd(e,t);return o.useMemo(()=>new md(u,n),[u,n])}function Nu(e,t){return e-t*Math.floor(e/t)}const hd=1721426;function fu(e,t,u,n){t=In(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 In(e,t){return e==="BC"?1-t:t}function Ur(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Fg={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=Nu(n,146097),i=Math.floor(a/36524),l=Nu(a,36524),s=Math.floor(l/1461),d=Nu(l,1461),c=Math.floor(d/365),f=r*400+i*100+s*4+c+(i!==4&&c!==4?1:0),[p,m]=Ur(f),b=u-fu(p,m,1,1),h=2;u<fu(p,m,3,1)?h=0:Yt(m)&&(h=1);let g=Math.floor(((b+h)*12+373)/367),v=u-fu(p,m,g,1)+1;return new Pe(p,m,g,v)}toJulianDay(t){return fu(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Fg[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 Tg={"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 Be(e,t){return t=be(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Rg(e,t){return t=be(t,e.calendar),e=Du(e),t=Du(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function Qa(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 Kg(e,t){return Be(e,_i(t))}const Ig={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function ji(e,t,u){let n=e.calendar.toJulianDay(e),r=u?Ig[u]:jg(t),a=Math.ceil(n+1-r)%7;return a<0&&(a+=7),a}function $d(e){return Tt(Date.now(),e)}function _i(e){return Le($d(e))}function gd(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Dd(e,t){return Yl(e)-Yl(t)}function Yl(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let ga=null;function Oi(){return ga==null&&(ga=new Intl.DateTimeFormat().resolvedOptions().timeZone),ga}function Du(e){return e.subtract({days:e.day-1})}function Dr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function Mg(e){return Du(e.subtract({months:e.month-1}))}function zg(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function Vg(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function En(e,t,u){let n=ji(e,t,u);return e.subtract({days:n})}function Ng(e,t,u){return En(e,t,u).add({days:6})}const Jl=new Map;function Lg(e){if(Intl.Locale){let u=Jl.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&Jl.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function jg(e){let t=Lg(e);return t&&Tg[t]||0}function _g(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((ji(Du(e),t,u)+n)/7)}function Hi(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function Ui(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Uu(e){e=be(e,new He);let t=In(e.era,e.year);return yd(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function yd(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 Xa(e,t){if(t==="UTC")return 0;if(e>0&&t===Oi())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:a,minute:i,second:l}=vd(e,t);return yd(u,n,r,a,i,l,0)-Math.floor(e/1e3)*1e3}const Ql=new Map;function vd(e,t){let u=Ql.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"}),Ql.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 Xl=864e5;function Og(e,t,u,n){return(u===n?[u]:[u,n]).filter(a=>Hg(e,t,a))}function Hg(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=xt(e);if(t==="UTC")return Uu(n);if(t===Oi()&&u==="compatible"){n=be(n,new He);let s=new Date,d=In(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=Uu(n),a=Xa(r-Xl,t),i=Xa(r+Xl,t),l=Og(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 xd(e,t,u="compatible"){return new Date(wt(e,t,u))}function Tt(e,t){let u=Xa(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 kn(r<1?"BC":"AD",r<1?-r+1:r,a,i,t,u,l,s,d,c)}function Le(e){return new Pe(e.calendar,e.era,e.year,e.month,e.day)}function xt(e,t){let u=0,n=0,r=0,a=0;if("timeZone"in e)({hour:u,minute:n,second:r,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:r,millisecond:a}=t),new yr(e.calendar,e.era,e.year,e.month,e.day,u,n,r,a)}function be(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,yu(n),n}function Ug(e,t,u){if(e instanceof kn)return e.timeZone===t?e:Gg(e,t);let n=wt(e,t,u);return Tt(n,t)}function Wg(e){let t=Uu(e)-e.offset;return new Date(t)}function Gg(e,t){let u=Uu(e)-e.offset;return be(Tt(u,t),e.calendar)}const Xu=36e5;function Wr(e,t){let u=e.copy(),n="hour"in u?kd(u,t):0;ei(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,ti(u),Cd(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,Zg(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 ei(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function ti(e){for(;e.month<1;)ei(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,ei(e,1)}function Zg(e){for(;e.day<1;)e.month--,ti(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ti(e)}function Cd(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 yu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Cd(e)}function Wi(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function Ed(e,t){return Wr(e,Wi(t))}function Gi(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),yu(u),u}function Bn(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),Bd(u),u}function qg(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=qn(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=qn(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=qn(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=qn(e.hour,24),t}function Bd(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function qn(e,t){let u=e%t;return u<0&&(u+=t),u}function kd(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,qg(e)}function Pd(e,t){let u=e.copy();return kd(u,t),u}function Yg(e,t){return Pd(e,Wi(t))}function Zi(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],yu(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),yu(r),r}function qi(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 Sd(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=Wr(xt(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=wt(r,e.timeZone)}else u=Uu(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 be(n,e.calendar)}function Jg(e,t){return Sd(e,Wi(t))}function Qg(e,t,u,n){switch(t){case"hour":{let r=0,a=23;if((n==null?void 0:n.hourCycle)===12){let b=e.hour>=12;r=b?12:0,a=b?23:11}let i=xt(e),l=be(Bn(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=be(Bn(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=Uu(e)-e.offset,p=Math.floor(f/Xu),m=f%Xu;return f=Rt(p,u,Math.floor(s/Xu),Math.floor(c/Xu),n==null?void 0:n.round)*Xu+m,be(Tt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return qi(e,t,u,n);case"era":case"year":case"month":case"day":{let r=Zi(xt(e),t,u,n),a=wt(r,e.timeZone);return be(Tt(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function Xg(e,t,u){let n=xt(e),r=Bn(Gi(n,t),t);if(r.compare(n)===0)return e;let a=wt(r,e.timeZone,u);return be(Tt(a,e.timeZone),e.calendar)}function Ad(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function wd(e){let t=be(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 Fd(e){return`${wd(e)}T${Ad(e)}`}function eD(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 tD(e){return`${Fd(e)}${eD(e.offset)}[${e.timeZone}]`}function Yi(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 uD=new WeakMap;class Pe{copy(){return this.era?new Pe(this.calendar,this.era,this.year,this.month,this.day):new Pe(this.calendar,this.year,this.month,this.day)}add(t){return Wr(this,t)}subtract(t){return Ed(this,t)}set(t){return Gi(this,t)}cycle(t,u,n){return Zi(this,t,u,n)}toDate(t){return xd(this,t)}toString(){return wd(this)}compare(t){return gd(this,t)}constructor(...t){Rn(this,uD,{writable:!0,value:void 0});let[u,n,r,a,i]=Yi(t);this.calendar=u,this.era=n,this.year=r,this.month=a,this.day=i,yu(this)}}var nD=new WeakMap;class Ji{copy(){return new Ji(this.hour,this.minute,this.second,this.millisecond)}add(t){return Pd(this,t)}subtract(t){return Yg(this,t)}set(t){return Bn(this,t)}cycle(t,u,n){return qi(this,t,u,n)}toString(){return Ad(this)}compare(t){return Dd(this,t)}constructor(t=0,u=0,n=0,r=0){Rn(this,nD,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,Bd(this)}}var rD=new WeakMap;class yr{copy(){return this.era?new yr(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new yr(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Wr(this,t)}subtract(t){return Ed(this,t)}set(t){return Gi(Bn(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return Zi(this,t,u,n);default:return qi(this,t,u,n)}}toDate(t,u){return xd(this,t,u)}toString(){return Fd(this)}compare(t){let u=gd(this,t);return u===0?Dd(this,xt(t)):u}constructor(...t){Rn(this,rD,{writable:!0,value:void 0});let[u,n,r,a,i]=Yi(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,yu(this)}}var aD=new WeakMap;class kn{copy(){return this.era?new kn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new kn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Sd(this,t)}subtract(t){return Jg(this,t)}set(t,u){return Xg(this,t,u)}cycle(t,u,n){return Qg(this,t,u,n)}toDate(){return Wg(this)}toString(){return tD(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Ug(t,this.timeZone).toDate().getTime()}constructor(...t){Rn(this,aD,{writable:!0,value:void 0});let[u,n,r,a,i]=Yi(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,yu(this)}}const Lu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],iD=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],sr=[1867,1911,1925,1988,2018],Wt=["meiji","taisho","showa","heisei","reiwa"];function eo(e){const t=Lu.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?Lu.length-1:t===0?0:t-1}function Da(e){let t=sr[Wt.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Pe(e.year+t,e.month,e.day)}class lD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=eo(u);return new Pe(this,Wt[n],u.year-sr[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(Da(t))}balanceDate(t){let u=Da(t),n=eo(u);Wt[n]!==t.era&&(t.era=Wt[n],t.year=u.year-sr[n]),this.constrainDate(t)}constrainDate(t){let u=Wt.indexOf(t.era),n=iD[u];if(n!=null){let[r,a,i]=n,l=r-sr[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]=Lu[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=Lu[u],r=Lu[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(Da(t))}getMinimumMonthInYear(t){let u=to(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=to(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function to(e){if(e.year===1){let t=Wt.indexOf(e.era);return Lu[t]}}const Td=-543;class oD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=In(u.era,u.year);return new Pe(this,n-Td,u.month,u.day)}toJulianDay(t){return super.toJulianDay(uo(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(uo(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function uo(e){let[t,u]=Ur(e.year+Td);return new Pe(t,u,e.month,e.day)}const vr=1911;function Rd(e){return e.era==="minguo"?e.year+vr:1-e.year+vr}function no(e){let t=e-vr;return t>0?["minguo",t]:["before_minguo",1-t]}class sD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=In(u.era,u.year),[r,a]=no(n);return new Pe(this,r,a,u.month,u.day)}toJulianDay(t){return super.toJulianDay(ro(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=no(Rd(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(ro(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-vr}constructor(...t){super(...t),this.identifier="roc"}}function ro(e){let[t,u]=Ur(Rd(e));return new Pe(t,u,e.month,e.day)}const ao=1948320,io=[0,31,62,93,124,155,186,216,246,276,306,336];class dD{fromJulianDay(t){let u=t-ao,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-io[i]+1;return new Pe(this,n,i+1,l)}toJulianDay(t){let u=ao-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=io[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Nu(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const ya=78,lo=80;class cD extends He{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-ya,r=t-fu(u.era,u.year,1,1),a;r<lo?(n--,a=Yt(u.year-1)?31:30,r+=a+155+90+10):(a=Yt(u.year)?31:30,r-=lo);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 Pe(this,n,i,l)}toJulianDay(t){let u=t.year+ya,[n,r]=Ur(u),a,i;return Yt(r)?(a=31,i=fu(n,r,3,21)):(a=30,i=fu(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+ya)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const xr=1948440,oo=1948439,et=1300,Au=1600,fD=460322;function Cr(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Kd(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+Cr(t,n,1,1)))/29.5)+1),a=u-Cr(t,n,r,1)+1;return new Pe(e,n,r,a)}function so(e){return(14+11*e)%30<11}class Qi{fromJulianDay(t){return Kd(this,xr,t)}toJulianDay(t){return Cr(xr,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&so(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return so(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class pD extends Qi{fromJulianDay(t){return Kd(this,oo,t)}toJulianDay(t){return Cr(oo,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const mD="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let ui,ju;function dr(e){return fD+ju[e-et]}function dn(e,t){let u=e-et,n=1<<11-(t-1);return ui[u]&n?30:29}function co(e,t){let u=dr(e);for(let n=1;n<t;n++)u+=dn(e,n);return u}function fo(e){return ju[e+1-et]-ju[e-et]}class bD extends Qi{fromJulianDay(t){let u=t-xr,n=dr(et),r=dr(Au);if(u<n||u>r)return super.fromJulianDay(t);{let a=et-1,i=1,l=1;for(;l>0;){a++,l=u-dr(a)+1;let s=fo(a);if(l===s){i=12;break}else if(l<s){let d=dn(a,i);for(i=1;l>d;)l-=d,i++,d=dn(a,i);break}}return new Pe(this,a,i,u-co(a,i)+1)}}toJulianDay(t){return t.year<et||t.year>Au?super.toJulianDay(t):xr+co(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<et||t.year>Au?super.getDaysInMonth(t):dn(t.year,t.month)}getDaysInYear(t){return t.year<et||t.year>Au?super.getDaysInYear(t):fo(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",ui||(ui=new Uint16Array(Uint8Array.from(atob(mD),t=>t.charCodeAt(0)).buffer)),!ju){ju=new Uint32Array(Au-et+1);let t=0;for(let u=et;u<=Au;u++){ju[u-et]=t;for(let n=1;n<=12;n++)t+=dn(u,n)}}}}const po=347997,Id=1080,Md=24*Id,hD=29,$D=12*Id+793,gD=hD*Md+$D;function du(e){return Nu(e*7+1,19)<7}function cr(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return Nu(3*(n+1),7)<3&&(n+=1),n}function DD(e){let t=cr(e-1),u=cr(e);return cr(e+1)-u===356?2:u-t===382?1:0}function mn(e){return cr(e)+DD(e)}function zd(e){return mn(e+1)-mn(e)}function yD(e){let t=zd(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function Yn(e,t){if(t>=6&&!du(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=yD(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?du(e)?30:0:30}class vD{fromJulianDay(t){let u=t-po,n=u*Md/gD,r=Math.floor((19*n+234)/235)+1,a=mn(r),i=Math.floor(u-a);for(;i<1;)r--,a=mn(r),i=Math.floor(u-a);let l=1,s=0;for(;s<i;)s+=Yn(r,l),l++;l--,s-=Yn(r,l);let d=i-s;return new Pe(this,r,l,d)}toJulianDay(t){let u=mn(t.year);for(let n=1;n<t.month;n++)u+=Yn(t.year,n);return u+t.day+po}getDaysInMonth(t){return Yn(t.year,t.month)}getMonthsInYear(t){return du(t.year)?13:12}getDaysInYear(t){return zd(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&(du(u.year)&&!du(t.year)&&u.month>6?t.month--:!du(u.year)&&du(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const ni=1723856,mo=1824665,ri=5500;function Er(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function Xi(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Er(e,u,1,1))/30),r=t+1-Er(e,u,n,1);return[u,n,r]}function Vd(e){return Math.floor(e%4/3)}function Nd(e,t){return t%13!==0?30:Vd(e)+5}class el{fromJulianDay(t){let[u,n,r]=Xi(ni,t),a="AM";return u<=0&&(a="AA",u+=ri),new Pe(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=ri),Er(ni,u,t.month,t.day)}getDaysInMonth(t){return Nd(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Vd(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class xD extends el{fromJulianDay(t){let[u,n,r]=Xi(ni,t);return u+=ri,new Pe(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class CD extends el{fromJulianDay(t){let[u,n,r]=Xi(mo,t),a="CE";return u<=0&&(a="BCE",u=1-u),new Pe(this,a,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Er(mo,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Nd(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 tl(e){switch(e){case"buddhist":return new oD;case"ethiopic":return new el;case"ethioaa":return new xD;case"coptic":return new CD;case"hebrew":return new vD;case"indian":return new cD;case"islamic-civil":return new Qi;case"islamic-tbla":return new pD;case"islamic-umalqura":return new bD;case"japanese":return new lD;case"persian":return new dD;case"roc":return new sD;case"gregory":default:return new He}}let va=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 kD()&&(this.resolvedHourCycle||(this.resolvedHourCycle=PD(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=Ld(t,u),this.options=u}}const ED={true:{ja:"h11"},false:{}};function Ld(e,t={}){if(typeof t.hour12=="boolean"&&BD()){t={...t};let r=ED[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(va.has(u))return va.get(u);let n=new Intl.DateTimeFormat(e,t);return va.set(u,n),n}let xa=null;function BD(){return xa==null&&(xa=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),xa}let Ca=null;function kD(){return Ca==null&&(Ca=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Ca}function PD(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=Ld(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),r=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(n===0&&r===23)return"h23";if(n===24&&r===23)return"h24";if(n===0&&r===11)return"h11";if(n===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function ht(e){e=ss(e??{},SD);let{locale:t}=fe();return o.useMemo(()=>new nt(t,e),[t,e])}function SD(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 Ea=new Map,ai=!1;try{ai=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Br=!1;try{Br=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const jd={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class AD{format(t){let u="";if(!ai&&this.options.signDisplay!=null?u=FD(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!Br){var n;let{unit:r,unitDisplay:a="short",locale:i}=this.resolvedOptions();if(!r)return u;let l=(n=jd[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!ai&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Br&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=wD(t,u),this.options=u}}function wD(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!Br){var n;let{unit:i,unitDisplay:l="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=jd[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(Ea.has(r))return Ea.get(r);let a=new Intl.NumberFormat(e,t);return Ea.set(r,a),a}function FD(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 TD=new RegExp("^.*\\(.*\\).*$"),RD=["latn","arab","hanidec","deva","beng"];class _d{parse(t){return Ba(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return Ba(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return Ba(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const bo=new Map;function Ba(e,t,u){let n=ho(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of RD)if(r!==n.options.numberingSystem){let a=ho(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(a.isValidPartialNumber(u))return a}}return n}function ho(e,t){let u=e+(t?Object.entries(t).sort((r,a)=>r[0]<a[0]?-1:1).join():""),n=bo.get(u);return n||(n=new KD(e,t),bo.set(u,n)),n}class KD{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=Jn(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 _d(this.locale,i).parse(new AD(this.locale,i).format(n))}return this.options.currencySign==="accounting"&&TD.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=Jn(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=Jn(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=Jn(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,u={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,u),this.options=this.formatter.resolvedOptions(),this.symbols=MD(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 $o=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),ID=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function MD(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=ID.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,E=d.filter(A=>!$o.has(A.type)).map(A=>go(A.value)),y=f.flatMap(A=>A.filter(k=>!$o.has(k.type)).map(k=>go(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:g,group:v,literals:B,numeral:$,index:A=>String(R.get(A))}}function Jn(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function go(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let ka=new Map;function Bu(e){let{locale:t}=fe(),u=t+(e?Object.entries(e).sort((r,a)=>r[0]<a[0]?-1:1).join():"");if(ka.has(u))return ka.get(u);let n=new Intl.Collator(t,e);return ka.set(u,n),n}function Od(e){let t=Bu({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 zD(e){return e&&e.__esModule?e.default:e}function VD(e){let{"aria-label":t,...u}=e,n=me(zD(fd),"@react-aria/breadcrumbs");return{navProps:{..._(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function Hd(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,g;u==="button"?g={type:h,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"?h:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?b:void 0};let{pressProps:v,isPressed:E}=Ge({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:r,onPressUp:l,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:y}=Gu(e,t);c&&(y.tabIndex=n?-1:y.tabIndex);let C=N(y,v,_(e,{labelable:!0}));return{isPressed:E,buttonProps:N(g,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 Ud={};Ud={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 Wd={};Wd={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 Gd={};Gd={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 Zd={};Zd={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 qd={};qd={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 Yd={};Yd={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 Jd={};Jd={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 Qd={};Qd={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 Xd={};Xd={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 ec={};ec={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 tc={};tc={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 uc={};uc={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 nc={};nc={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 rc={};rc={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 ac={};ac={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 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 oc={};oc={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 sc={};sc={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 dc={};dc={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 cc={};cc={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var fc={};fc={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var pc={};pc={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 mc={};mc={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 bc={};bc={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 $c={};$c={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 gc={};gc={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 Dc={};Dc={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 yc={};yc={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 xc={};xc={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var 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 Mn={};Mn={"ar-AE":Ud,"bg-BG":Wd,"cs-CZ":Gd,"da-DK":Zd,"de-DE":qd,"el-GR":Yd,"en-US":Jd,"es-ES":Qd,"et-EE":Xd,"fi-FI":ec,"fr-FR":tc,"he-IL":uc,"hr-HR":nc,"hu-HU":rc,"it-IT":ac,"ja-JP":ic,"ko-KR":lc,"lt-LT":oc,"lv-LV":sc,"nb-NO":dc,"nl-NL":cc,"pl-PL":fc,"pt-BR":pc,"pt-PT":mc,"ro-RO":bc,"ru-RU":hc,"sk-SK":$c,"sl-SI":gc,"sr-SP":Dc,"sv-SE":yc,"tr-TR":vc,"uk-UA":xc,"zh-CN":Cc,"zh-TW":Ec};function Bc(e){return e&&e.__esModule?e.default:e}const ul=new WeakMap;function Pn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function ND(e){let t=me(Bc(Mn),"@react-aria/calendar"),u,n;var r;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(r=e.value)!==null&&r!==void 0?r:void 0;let a=ht({weekday:"long",month:"long",year:"numeric",day:"numeric",era:Pn(u)||Pn(n),timeZone:e.timeZone}),i="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!i&&u&&n)if(Be(u,n)){let l=a.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=li(a,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,i,e.timeZone,t,a])}function ii(e,t,u,n){let r=me(Bc(Mn),"@react-aria/calendar"),a=Pn(e)||Pn(t),i=ht({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u}),l=ht({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(Be(e,Du(e))){if(Be(t,Dr(e)))return i.format(e.toDate(u));if(Be(t,Dr(t)))return n?li(i,r,e,t,u):i.formatRange(e.toDate(u),t.toDate(u))}return n?li(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,i,l,r,u,n])}function li(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 kc=7e3;let Qe=null;function Dt(e,t="assertive",u=kc){Qe?Qe.announce(e,t,u):(Qe=new jD,(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 LD(e){Qe&&Qe.clear(e)}class jD{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=kc){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 _D(e){return e&&e.__esModule?e.default:e}function Pc(e,t){let u=me(_D(Mn),"@react-aria/calendar"),n=_(e),r=ii(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=ii(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);pr(()=>{t.isFocused||Dt(a)},[a]);let i=ND(t);pr(()=>{i&&Dt(i,"polite",4e3)},[i]);let l=rt([!!e.errorMessage,e.isInvalid,e.validationState]);ul.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:i});let[s,d]=o.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=o.useState(!1),m=e.isDisabled||t.isPreviousVisibleRangeInvalid();m&&f&&(p(!1),t.setFocused(!0));let b=vt({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:N(n,b,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":u.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":u.format("previous"),isDisabled:m,onFocusChange:p},errorMessageProps:{id:l},title:r}}function OD(e,t){return Pc(e,t)}function HD(e,t,u){let n=Pc(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 UD(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=ii(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=ul.get(t),c=vt({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=ht({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=fe(),m=o.useMemo(()=>{let b=En(_i(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 WD(e){return e&&e.__esModule?e.default:e}function GD(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:a,selectedDateDescription:i}=ul.get(t),l=me(WD(Mn),"@react-aria/calendar"),s=ht({weekday:"long",day:"numeric",month:"long",year:"numeric",era:Pn(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&&Be(t.value,n));m&&(d=!0),n=ss(n,Qa);let b=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),h=Kg(n,t.timeZone),g=o.useMemo(()=>{let k="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Be(n,t.value.start)||Be(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&&Be(n,t.minValue)?k+=", "+l.format("minimumDate"):t.maxValue&&Be(n,t.maxValue)&&(k+=", "+l.format("maximumDate")),k},[s,b,l,d,h,n,t,i]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?v=l.format("finishRangeSelectionPrompt"):v=l.format("startRangeSelectionPrompt"));let E=Ct(v),y=o.useRef(!1),C=o.useRef(!1),B=o.useRef(void 0),{pressProps:S,isPressed:R}=Ge({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(k){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(k.pointerType==="mouse"||k.pointerType==="touch")){if(t.highlightedRange&&!m){if(Be(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),C.current=!0;return}else if(Be(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||($=Be(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(Oe(u.current),gu()!=="pointer"&&document.activeElement===u.current&&Me(u.current,{containingElement:Ie(u.current)}))},[c,u]);let T=ht({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),A=o.useMemo(()=>T.formatToParts(b).find(k=>k.type==="day").value,[T,b]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":m||void 0},buttonProps:N(S,{onFocus(){r||t.setFocusedDate(n)},tabIndex:$,role:"button","aria-disabled":!p||void 0,"aria-label":g,"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 Gr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Sc={...Gr,customError:!0,valid:!1},Zt={isInvalid:!1,validationDetails:Gr,validationErrors:[]},ZD=o.createContext({}),Qt="__formValidationState"+Date.now();function Bt(e){if(e[Qt]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}=e[Qt];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:a}}return qD(e)}function qD(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:Sc}:null,d=o.useMemo(()=>{if(!i||r==null)return null;let A=YD(i,r);return Do(A)},[i,r]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=o.useContext(ZD),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(A=>oi(c[A])):oi(c[n]):[],[c,n]),[p,m]=o.useState(c),[b,h]=o.useState(!1);c!==p&&(m(c),h(!1));let g=o.useMemo(()=>Do(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;Pa(A,C.current)||(C.current=A,y(A))},[S,R]=o.useState(!1);return o.useEffect(B),{realtimeValidation:s||g||d||a||Zt,displayValidation:l==="native"?s||g||E:s||g||d||a||E,updateValidation(A){l==="aria"&&!Pa(E,A)?y(A):v.current=A},resetValidation(){let A=Zt;Pa(A,C.current)||(C.current=A,y(A)),l==="native"&&R(!1),h(!0)},commitValidation(){l==="native"&&R(!0),h(!0)}}}function oi(e){return e?Array.isArray(e)?e:[e]:[]}function YD(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return oi(u)}return[]}function Do(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Sc}:null}function Pa(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 Sn(...e){let t=new Set,u=!1,n={...Gr};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 zn(e,t,u){let{validationBehavior:n,focus:r}=e;Z(()=>{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(QD(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&&XD(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),Bs("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 JD(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 QD(e){return{isInvalid:!e.validity.valid,validationDetails:JD(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function XD(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function e6(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:g}=Ge({isDisabled:n}),{pressProps:v,isPressed:E}=Ge({isDisabled:n||r,onPress(){t.toggle()}}),{focusableProps:y}=Gu(e,u),C=N(h,y),B=_(e,{labelable:!0});return Tn(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:g||E,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function Ac(e,t,u){let n=Bt({...e,value:t.isSelected}),{isInvalid:r,validationErrors:a,validationDetails:i}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=e6({...e,isInvalid:r},t,u);zn(e,n,u);let{isIndeterminate:m,isRequired:b,validationBehavior:h="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!m)});let{pressProps:g}=Ge({isDisabled:f||p,onPress(){let{[Qt]:v}=e,{commitValidation:E}=v||n;E()}});return{labelProps:N(l,g),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 wc=new WeakMap;function Fc(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:a="label"}=e;t=ne(t);let i=ne(),l={};u?(n=n?`${i} ${n}`:i,l={id:i,htmlFor:a==="label"?t:void 0}):!n&&!r&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=vt({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function nu(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:a,fieldProps:i}=Fc(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 t6(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}=nu({...e,labelElementType:"span",isInvalid:a,errorMessage:e.errorMessage||i});wc.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=_(e,{labelable:!0}),{focusWithinProps:m}=pt({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(p,{role:"group","aria-disabled":u||void 0,...d,...m}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:a,validationErrors:i,validationDetails:l}}function Tc(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 u6(e,t,u){const n=Tc({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}=wc.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=Bt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(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=Ac({...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,[Qt]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(g){c.current=g,f()}}},n,u);return{...h,inputProps:{...h.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}const yo={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 ru(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:a}=pt({isDisabled:!u,onFocusWithinChange:l=>r(l)}),i=o.useMemo(()=>n?t:t?{...yo,...t}:yo,[n]);return{visuallyHiddenProps:{...a,style:i}}}function Xt(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...a}=e,{visuallyHiddenProps:i}=ru(e);return o.createElement(u,N(a,i),t)}function nl(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}=Gu(e,t),f=Bt({...e,value:s}),{isInvalid:p,validationErrors:m,validationDetails:b}=f.displayValidation,{labelProps:h,fieldProps:g,descriptionProps:v,errorMessageProps:E}=nu({...e,isInvalid:p,errorMessage:e.errorMessage||m}),y=_(e,{labelable:!0});const C={type:i,pattern:e.pattern};return Tn(t,s,d),zn(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,...g}),descriptionProps:v,errorMessageProps:E,isInvalid:p,validationErrors:m,validationDetails:b}}var Rc={};Rc={Empty:"فارغ"};var Kc={};Kc={Empty:"Изпразни"};var Ic={};Ic={Empty:"Prázdné"};var Mc={};Mc={Empty:"Tom"};var zc={};zc={Empty:"Leer"};var Vc={};Vc={Empty:"Άδειο"};var Nc={};Nc={Empty:"Empty"};var Lc={};Lc={Empty:"Vacío"};var jc={};jc={Empty:"Tühjenda"};var _c={};_c={Empty:"Tyhjä"};var Oc={};Oc={Empty:"Vide"};var Hc={};Hc={Empty:"ריק"};var Uc={};Uc={Empty:"Prazno"};var Wc={};Wc={Empty:"Üres"};var Gc={};Gc={Empty:"Vuoto"};var Zc={};Zc={Empty:"空"};var qc={};qc={Empty:"비어 있음"};var Yc={};Yc={Empty:"Tuščias"};var Jc={};Jc={Empty:"Tukšs"};var Qc={};Qc={Empty:"Tom"};var Xc={};Xc={Empty:"Leeg"};var e4={};e4={Empty:"Pusty"};var t4={};t4={Empty:"Vazio"};var u4={};u4={Empty:"Vazio"};var n4={};n4={Empty:"Gol"};var r4={};r4={Empty:"Не заполнено"};var a4={};a4={Empty:"Prázdne"};var i4={};i4={Empty:"Prazen"};var l4={};l4={Empty:"Prazno"};var o4={};o4={Empty:"Tomt"};var s4={};s4={Empty:"Boş"};var d4={};d4={Empty:"Пусто"};var c4={};c4={Empty:"空"};var f4={};f4={Empty:"空白"};var p4={};p4={"ar-AE":Rc,"bg-BG":Kc,"cs-CZ":Ic,"da-DK":Mc,"de-DE":zc,"el-GR":Vc,"en-US":Nc,"es-ES":Lc,"et-EE":jc,"fi-FI":_c,"fr-FR":Oc,"he-IL":Hc,"hr-HR":Uc,"hu-HU":Wc,"it-IT":Gc,"ja-JP":Zc,"ko-KR":qc,"lt-LT":Yc,"lv-LV":Jc,"nb-NO":Qc,"nl-NL":Xc,"pl-PL":e4,"pt-BR":t4,"pt-PT":u4,"ro-RO":n4,"ru-RU":r4,"sk-SK":a4,"sl-SI":i4,"sr-SP":l4,"sv-SE":o4,"tr-TR":s4,"uk-UA":d4,"zh-CN":c4,"zh-TW":f4};function n6(e){return e&&e.__esModule?e.default:e}function r6(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=me(n6(p4),"@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}},E=o.useRef(!1),y=()=>{E.current=!0},C=()=>{E.current=!1},B=n===""?h.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{E.current&&(LD("assertive"),Dt(B,"assertive"))},[B]);const S=ae(k=>{g(),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=>{g(),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}=wi();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:()=>{g(),A()},onFocus:y,onBlur:C},decrementButtonProps:{onPressStart:()=>{R(400),T(window,"contextmenu",$)},onPressEnd:()=>{g(),A()},onFocus:y,onBlur:C}}}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 b4={};b4={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 h4={};h4={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 $4={};$4={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 g4={};g4={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 D4={};D4={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 y4={};y4={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 x4={};x4={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 C4={};C4={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 E4={};E4={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 B4={};B4={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 k4={};k4={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 P4={};P4={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 S4={};S4={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 A4={};A4={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 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 F4={};F4={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 T4={};T4={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 R4={};R4={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 K4={};K4={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 I4={};I4={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 M4={};M4={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 z4={};z4={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 V4={};V4={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 N4={};N4={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:"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 j4={};j4={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 _4={};_4={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 O4={};O4={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 H4={};H4={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 U4={};U4={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 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={"ar-AE":m4,"bg-BG":b4,"cs-CZ":h4,"da-DK":$4,"de-DE":g4,"el-GR":D4,"en-US":y4,"es-ES":v4,"et-EE":x4,"fi-FI":C4,"fr-FR":E4,"he-IL":B4,"hr-HR":k4,"hu-HU":P4,"it-IT":S4,"ja-JP":A4,"ko-KR":w4,"lt-LT":F4,"lv-LV":T4,"nb-NO":R4,"nl-NL":K4,"pl-PL":I4,"pt-BR":M4,"pt-PT":z4,"ro-RO":V4,"ru-RU":N4,"sk-SK":L4,"sl-SI":j4,"sr-SP":_4,"sv-SE":O4,"tr-TR":H4,"uk-UA":U4,"zh-CN":W4,"zh-TW":G4};const $t={top:"top",bottom:"top",left:"left",right:"left"},kr={top:"bottom",bottom:"top",left:"right",right:"left"},a6={top:"left",left:"top"},si={top:"height",left:"width"},q4={width:"totalWidth",height:"totalHeight"},Qn={};let Fe=typeof document<"u"?window.visualViewport:null;function vo(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}=_u(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(Si()&&(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 i6(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function xo(e,t,u,n,r,a,i){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[si[e]],c=n.scroll[$t[e]]+a,f=d+n.scroll[$t[e]]-a,p=t-s+i[e]-n[$t[e]],m=t-s+u+i[e]-n[$t[e]];return p<c?c-p:m>f?Math.max(f-m,c-p):0}function l6(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 Co(e){if(Qn[e])return Qn[e];let[t,u]=e.split(" "),n=$t[t]||"right",r=a6[n];$t[u]||(u="center");let a=si[n],i=si[r];return Qn[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:a,crossSize:i},Qn[e]}function Sa(e,t,u,n,r,a,i,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:m,size:b,crossSize:h}=n,g={};var v;g[m]=(v=e[m])!==null&&v!==void 0?v:0;var E,y,C,B;f==="center"?g[m]+=(((E=e[h])!==null&&E!==void 0?E:0)-((y=u[h])!==null&&y!==void 0?y:0))/2:f!==m&&(g[m]+=((C=e[h])!==null&&C!==void 0?C:0)-((B=u[h])!==null&&B!==void 0?B:0)),g[m]+=a;const S=e[m]-u[h]+s+d,R=e[m]+e[h]-s-d;if(g[m]=_a(g[m],S,R),c===p){const $=l?i[b]:t[q4[b]];g[kr[p]]=Math.floor($-e[p]+r)}else g[p]=Math.floor(e[p]+e[b]+r);return g}function o6(e,t,u,n,r,a,i,l){const s=n?u.height:t[q4.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,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))-(((h=r.top)!==null&&h!==void 0?h:0)+((g=r.bottom)!==null&&g!==void 0?g:0)+a));return Math.min(t.height-a*2,v)}function Eo(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[kr[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[kr[l]]-r)}function s6(e,t,u,n,r,a,i,l,s,d,c,f,p,m,b,h){let g=Co(e),{size:v,crossAxis:E,crossSize:y,placement:C,crossPlacement:B}=g,S=Sa(t,l,u,g,c,f,d,p,b,h),R=c,$=Eo(l,d,t,r,a+c,g);if(i&&n[v]>$){let X=Co(`${kr[C]} ${B}`),pe=Sa(t,l,u,X,c,f,d,p,b,h);Eo(l,d,t,r,a+c,X)>$&&(g=X,S=pe,R=c)}let T="bottom";g.axis==="top"?g.placement==="top"?T="top":g.placement==="bottom"&&(T="bottom"):g.crossAxis==="top"&&(g.crossPlacement==="top"?T="bottom":g.crossPlacement==="bottom"&&(T="top"));let A=xo(E,S[E],u[y],l,s,a,d);S[E]+=A;let k=o6(S,l,d,p,r,a,u.height,T);m&&m<k&&(k=m),u.height=Math.min(u.height,k),S=Sa(t,l,u,g,R,f,d,p,b,h),A=xo(E,S[E],u[y],l,s,a,d),S[E]+=A;let z={},x=t[E]+.5*t[y]-S[E]-r[$t[E]];const w=b/2+h;var V,F,K,P;const I=$t[E]==="left"?((V=r.left)!==null&&V!==void 0?V:0)+((F=r.right)!==null&&F!==void 0?F:0):((K=r.top)!==null&&K!==void 0?K:0)+((P=r.bottom)!==null&&P!==void 0?P:0),j=u[y]-I-b/2-h,L=t[E]+b/2-(S[E]+r[$t[E]]),U=t[E]+t[y]-b/2-(S[E]+r[$t[E]]),Q=_a(x,L,U);return z[E]=_a(Q,w,j),{position:S,maxHeight:k,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:g.placement}}function d6(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?c6(n):document.documentElement,b=m===document.documentElement;const h=window.getComputedStyle(m).position;let g=!!h&&h!=="static",v=b?_u(u):Bo(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=_u(n),y=l6(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 $=i6(r),T=vo(l),A=vo(m),k=l.tagName==="BODY"?_u(m):Bo(m,l);return m.tagName==="HTML"&&l.tagName==="BODY"&&(A.scroll.top=0,A.scroll.left=0),s6(t,v,E,$,y,a,i,T,A,k,s,d,g,c,f,p)}function _u(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 Bo(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=_u(e);let r=_u(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 c6(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!ko(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!ko(t);)t=t.parentElement;return t||document.documentElement}function ko(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 Y4=new WeakMap;function f6(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||Y4.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let xe=typeof document<"u"?window.visualViewport:null;function p6(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:h,arrowBoundaryOffset:g=0}=e,[v,E]=o.useState(null),y=[p,i,r.current,n.current,a.current,l,s,d,c,f,m,t,h,g,u],C=o.useRef(xe==null?void 0:xe.scale);o.useEffect(()=>{m&&(C.current=xe==null?void 0:xe.scale)},[m]);let B=o.useCallback(()=>{if(p===!1||!m||!r.current||!n.current||!d||(xe==null?void 0:xe.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(),I=a.current.getBoundingClientRect();var z;if(A={type:"top",offset:((z=P==null?void 0:P.top)!==null&&z!==void 0?z:0)-I.top},A.offset>I.height/2){A.type="bottom";var x;A.offset=((x=P==null?void 0:P.bottom)!==null&&x!==void 0?x:0)-I.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 K=d6({placement:b6(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:g});if(K.position){if(w.style.top="",w.style.bottom="",w.style.left="",w.style.right="",Object.keys(K.position).forEach(P=>w.style[P]=K.position[P]+"px"),w.style.maxHeight=K.maxHeight!=null?K.maxHeight+"px":"",A&&document.activeElement&&a.current){let P=document.activeElement.getBoundingClientRect(),I=a.current.getBoundingClientRect(),j=P[A.type]-I[A.type];a.current.scrollTop+=j-A.offset}E(K)}},y);Z(B,y),m6(B),bu({ref:r,onResize:B}),bu({ref:n,onResize:B});let S=o.useRef(!1);Z(()=>{let A,k=()=>{S.current=!0,clearTimeout(A),A=setTimeout(()=>{S.current=!1},500),B()},z=()=>{S.current&&k()};return xe==null||xe.addEventListener("resize",k),xe==null||xe.addEventListener("scroll",z),()=>{xe==null||xe.removeEventListener("resize",k),xe==null||xe.removeEventListener("scroll",z)}},[B]);let R=o.useCallback(()=>{S.current||b==null||b()},[b,S]);f6({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 m6(e){Z(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function b6(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const St=[];function h6(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>(r&&St.push(t),()=>{let b=St.indexOf(t);b>=0&&St.splice(b,1)}),[r,t]);let s=()=>{St[St.length-1]===t&&u&&u()},d=b=>{(!l||l(b.target))&&St[St.length-1]===t&&(b.stopPropagation(),b.preventDefault())},c=b=>{(!l||l(b.target))&&(St[St.length-1]===t&&(b.stopPropagation(),b.preventDefault()),s())},f=b=>{b.key==="Escape"&&!i&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),s())};ag({ref:t,onInteractOutside:a&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=pt({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||pg(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 J4(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&Y4.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 Aa=typeof document<"u"&&window.visualViewport,$6=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Xn=0,wa;function g6(e={}){let{isDisabled:t}=e;Z(()=>{if(!t)return Xn++,Xn===1&&(Fn()?wa=y6():wa=D6()),()=>{Xn--,Xn===0&&wa()}},[t])}function D6(){return at(Mu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Mu(document.documentElement,"overflow","hidden"))}function y6(){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=Mu(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;v6(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Aa&&(Aa.height<window.innerHeight?requestAnimationFrame(()=>{Po(c)}):Aa.addEventListener("resize",()=>Po(c),{once:!0}))}))},i=null,l=()=>{if(i)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;i=at(en(window,"scroll",d),Mu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Mu(document.documentElement,"overflow","hidden"),Mu(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=at(en(document,"touchstart",u,{passive:!1,capture:!0}),en(document,"touchmove",n,{passive:!1,capture:!0}),en(document,"touchend",r,{passive:!1,capture:!0}),en(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),s()}}function Mu(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function en(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function Po(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 v6(e){return e instanceof HTMLInputElement&&!$6.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Q4={};Q4={dismiss:"تجاهل"};var X4={};X4={dismiss:"Отхвърляне"};var e3={};e3={dismiss:"Odstranit"};var t3={};t3={dismiss:"Luk"};var u3={};u3={dismiss:"Schließen"};var n3={};n3={dismiss:"Απόρριψη"};var r3={};r3={dismiss:"Dismiss"};var a3={};a3={dismiss:"Descartar"};var i3={};i3={dismiss:"Lõpeta"};var l3={};l3={dismiss:"Hylkää"};var o3={};o3={dismiss:"Rejeter"};var s3={};s3={dismiss:"התעלם"};var d3={};d3={dismiss:"Odbaci"};var c3={};c3={dismiss:"Elutasítás"};var f3={};f3={dismiss:"Ignora"};var p3={};p3={dismiss:"閉じる"};var m3={};m3={dismiss:"무시"};var b3={};b3={dismiss:"Atmesti"};var h3={};h3={dismiss:"Nerādīt"};var $3={};$3={dismiss:"Lukk"};var g3={};g3={dismiss:"Negeren"};var D3={};D3={dismiss:"Zignoruj"};var y3={};y3={dismiss:"Descartar"};var v3={};v3={dismiss:"Dispensar"};var x3={};x3={dismiss:"Revocare"};var C3={};C3={dismiss:"Пропустить"};var E3={};E3={dismiss:"Zrušiť"};var B3={};B3={dismiss:"Opusti"};var k3={};k3={dismiss:"Odbaci"};var P3={};P3={dismiss:"Avvisa"};var S3={};S3={dismiss:"Kapat"};var A3={};A3={dismiss:"Скасувати"};var w3={};w3={dismiss:"取消"};var F3={};F3={dismiss:"關閉"};var T3={};T3={"ar-AE":Q4,"bg-BG":X4,"cs-CZ":e3,"da-DK":t3,"de-DE":u3,"el-GR":n3,"en-US":r3,"es-ES":a3,"et-EE":i3,"fi-FI":l3,"fr-FR":o3,"he-IL":s3,"hr-HR":d3,"hu-HU":c3,"it-IT":f3,"ja-JP":p3,"ko-KR":m3,"lt-LT":b3,"lv-LV":h3,"nb-NO":$3,"nl-NL":g3,"pl-PL":D3,"pt-BR":y3,"pt-PT":v3,"ro-RO":x3,"ru-RU":C3,"sk-SK":E3,"sl-SI":B3,"sr-SP":k3,"sv-SE":P3,"tr-TR":S3,"uk-UA":A3,"zh-CN":w3,"zh-TW":F3};function x6(e){return e&&e.__esModule?e.default:e}function So(e){let{onDismiss:t,...u}=e,n=me(x6(T3),"@react-aria/overlays"),r=vt(u,n.format("dismiss")),a=()=>{t&&t()};return o.createElement(Xt,null,o.createElement("button",{...r,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let tn=new WeakMap,Ye=[];function R3(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=tn.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),tn.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=tn.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),tn.delete(s)):tn.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 C6(e,t){let{triggerRef:u,popoverRef:n,isNonModal:r,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...l}=e,{overlayProps:s,underlayProps:d}=h6({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}=p6({...l,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:r?t.close:null});return g6({isDisabled:r||!t.isOpen}),Z(()=>{if(t.isOpen&&!r&&n.current)return R3([n.current])},[r,t.isOpen,n]),{popoverProps:N(s,c),arrowProps:f,underlayProps:d,placement:p}}const E6=o.createContext({});function B6(){var e;return(e=o.useContext(E6))!==null&&e!==void 0?e:{}}const K3=o.createContext(null);function k6(e){let t=tu(),{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}=B6();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(Kn,{restoreFocus:!0,contain:r&&!n},s)),s=o.createElement(K3.Provider,{value:i},o.createElement(Y$,null,s)),xu.createPortal(s,u)}function P6(){let e=o.useContext(K3),t=e==null?void 0:e.setContain;Z(()=>{t==null||t(!0)},[t])}const Zr=new WeakMap;function S6(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function I3(e,t){let u=Zr.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${S6(t)}`}function di(e){return lr()?e.altKey:e.ctrlKey}const A6=1e3;function M3(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,a=i=>{let l=w6(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=""},A6)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function w6(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function qr(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}=fe(),g=Eu(),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,W)=>{if(M!=null){if(t.isLink(M)&&b==="selection"&&s&&!di(x)){var Y;xu.flushSync(()=>{t.setFocusedKey(M,W)});let O=(Y=m.current)===null||Y===void 0?void 0:Y.querySelector(`[data-key="${CSS.escape(M.toString())}"]`),G=t.getItemProps(M);O&&g.open(O,x,G.href,G.routerOptions);return}if(t.setFocusedKey(M,W),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,K,P;let M=t.focusedKey!=null?(F=u.getKeyBelow)===null||F===void 0?void 0:F.call(u,t.focusedKey):(K=u.getFirstKey)===null||K===void 0?void 0:K.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 I,j,L;let M=t.focusedKey!=null?(I=u.getKeyAbove)===null||I===void 0?void 0:I.call(u,t.focusedKey):(j=u.getLastKey)===null||j===void 0?void 0:j.call(u);M==null&&a&&(M=(L=u.getLastKey)===null||L===void 0?void 0:L.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M))}break;case"ArrowLeft":if(u.getKeyLeftOf){var U,Q,X;let M=t.focusedKey!=null?(U=u.getKeyLeftOf)===null||U===void 0?void 0:U.call(u,t.focusedKey):null;M==null&&a&&(M=h==="rtl"?(Q=u.getFirstKey)===null||Q===void 0?void 0:Q.call(u,t.focusedKey):(X=u.getLastKey)===null||X===void 0?void 0:X.call(u,t.focusedKey)),M!=null&&(x.preventDefault(),V(M,h==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var pe,ie,se;let M=t.focusedKey!=null?(pe=u.getKeyRightOf)===null||pe===void 0?void 0:pe.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,Ru(x));t.setFocusedKey(M),M!=null&&(Ru(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,Ru(x));t.setFocusedKey(M),M!=null&&(Ru(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":Ru(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=ke(n.current,{tabbable:!0}),W,Y;do Y=M.lastChild(),Y&&(W=Y);while(Y);W&&!W.contains(document.activeElement)&&Oe(W)}break}}},E=o.useRef({top:0,left:0});st(m,"scroll",p?void 0:()=>{var x,w,V,F;E.current={top:(V=(x=m.current)===null||x===void 0?void 0:x.scrollTop)!==null&&V!==void 0?V:0,left:(F=(w=m.current)===null||w===void 0?void 0:w.scrollLeft)!==null&&F!==void 0?F:0}});let y=x=>{if(t.isFocused){x.currentTarget.contains(x.target)||t.setFocused(!1);return}if(x.currentTarget.contains(x.target)){if(t.setFocused(!0),t.focusedKey==null){var w,V;let P=j=>{j!=null&&(t.setFocusedKey(j),s&&t.replaceSelection(j))},I=x.relatedTarget;var F,K;I&&x.currentTarget.compareDocumentPosition(I)&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((K=t.firstSelectedKey)!==null&&K!==void 0?K:(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),gu()==="keyboard"&&Me(P,{containingElement:n.current}))}}},C=x=>{x.currentTarget.contains(x.relatedTarget)||t.setFocused(!1)},B=o.useRef(!1);st(n,P$,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(ds,{cancelable:!0,bubbles:!0})),t.collection.size>0&&(B.current=!1)}else t.setFocusedKey(V),B.current=!1});Fl(()=>{B.current&&S()},[t.collection,S]);let R=ae(()=>{t.collection.size>0&&(B.current=!1)});Fl(()=>{R()},[t.focusedKey,R]),st(n,k$,c?x=>{x.stopPropagation(),t.setFocused(!1),t.setFocusedKey(null)}:void 0);const $=o.useRef(r);o.useEffect(()=>{if($.current){var x,w;let K=null;var V;r==="first"&&(K=(V=(x=u.getFirstKey)===null||x===void 0?void 0:x.call(u))!==null&&V!==void 0?V:null);var F;r==="last"&&(K=(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 I of P)if(t.canSelectItem(I)){K=I;break}}t.setFocused(!0),t.setFocusedKey(K),K==null&&!c&&n.current&&ye(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=gu(),w=n.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);if(!w)return;(x==="keyboard"||$.current)&&(os(m.current,w),x!=="virtual"&&Me(w,{containingElement:n.current}))}!c&&t.isFocused&&t.focusedKey==null&&T.current!=null&&n.current&&ye(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}=M3({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 Zu(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=Eu();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 I=u.getItemProps(n);p.open(r.current,P,I.href,I.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&&(Ru(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&&ye(r.current);else{var I;let j=new CustomEvent(ds,{cancelable:!0,bubbles:!0});(I=r.current)===null||I===void 0||I.dispatchEvent(j)}},[r,n,u.focusedKey,u.childFocusStrategy,u.isFocused,i]),s=s||u.isDisabled(n);let b={};!i&&!s?b={tabIndex:n===u.focusedKey?0:-1,onFocus(P){P.target===r.current&&u.setFocusedKey(n)}}:s&&(b.onMouseDown=P=>{P.preventDefault()});let h=u.isLink(n)&&f==="override",g=u.isLink(n)&&f!=="selection"&&f!=="none",v=!s&&u.canSelectItem(n)&&!h,E=(d||g)&&!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(),g&&r.current){let I=u.getItemProps(n);p.open(r.current,P,I.href,I.routerOptions)}},k={};a?(k.onPressStart=P=>{S.current=P.pointerType,$.current=R,P.pointerType==="keyboard"&&(!B||wo())&&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"&&!Ao())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||wo()))&&m(P)},k.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&B&&Ao()||P.pointerType==="mouse"&&T.current)&&(B?A(P):v&&m(P))}),b["data-key"]=n,k.preventFocusOnPress=i;let{pressProps:z,isPressed:x}=Ge(k),w=C?P=>{S.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),A(P))}:void 0,{longPressProps:V}=Ps({isDisabled:!R,onLongPress(P){P.pointerType==="touch"&&(m(P),u.setSelectionBehavior("toggle"))}}),F=P=>{S.current==="touch"&&$.current&&P.preventDefault()},K=u.isLink(n)?P=>{Jt.isOpening||P.preventDefault()}:void 0;return{itemProps:N(b,v||y?z:{},R?V:{},{onDoubleClick:w,onDragStartCapture:F,onClick:K,id:t}),isPressed:x,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:v,hasAction:B}}function Ao(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function wo(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class ci{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 eu{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&&!gn(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&&!gn(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 ci(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 ci(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function rl(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:a,layoutDelegate:i}=e,l=Bu({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>a||new eu({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:i}),[a,i,u,n,r,l,s]),{collectionProps:c}=qr({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function F6(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}=rl({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=pt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=ne(e.id);Zr.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}=Fc({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:N(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...N(c,i)})}}class T6{build(t,u){return this.context=u,Fo(()=>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,E=>{g.push(E)});var a;let v=(a=t.index)!==null&&a!==void 0?a:0;for(const E of g)yield*this.getFullNode({element:E,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 C=i.type;throw new Error(`Unknown element <${C}> in collection.`)}let v=g.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:R6(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 <${Fa($.type)}> in <${Fa((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${Fa(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:Fo(function*(){if(!t.hasChildNodes||!t.childNodes)return;let g=0;for(let v of t.childNodes()){v.key!=null&&(v.key=`${h.key}${v.key}`);let E=p.getFullNode({...v,index:g},p.getChildState(u,v),h.key,h);for(let y of E)g++,yield y}})};yield h}constructor(){this.cache=new WeakMap}}function Fo(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 R6(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function Fa(e){return e[0].toUpperCase()+e.slice(1)}function al(e,t,u){let n=o.useMemo(()=>new T6,[]),{children:r,items:a,collection:i}=e;return o.useMemo(()=>{if(i)return i;let s=n.build({children:r,items:a},u);return t(s)},[n,r,a,i,u,t])}function De(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 Kt(e){let t;for(let u of e)t=u;return t}function Ta(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...To(e,t),t],r=[...To(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 To(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 Ro=new WeakMap;function il(e){let t=Ro.get(e);if(t!=null)return t;let u=0,n=r=>{for(let a of r)a.type==="section"?n(De(a,e)):u++};return n(e),Ro.set(e,u),u}function K6(e,t,u){var n,r;let{key:a}=e,i=Zr.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 g=(h=e.shouldUseVirtualFocus)!==null&&h!==void 0?h:i==null?void 0:i.shouldUseVirtualFocus;var v;let E=(v=e.isVirtualized)!==null&&v!==void 0?v:i==null?void 0:i.isVirtualized,y=rt(),C=rt(),B={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};yt()&&Si()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=y,B["aria-describedby"]=C);let S=t.collection.getItem(a);if(E){let K=Number(S==null?void 0:S.index);B["aria-posinset"]=Number.isNaN(K)?void 0:K+1,B["aria-setsize"]=il(t.collection)}let R=i!=null&&i.onAction?()=>{var K;return i==null||(K=i.onAction)===null||K===void 0?void 0:K.call(i,a)}:void 0,$=I3(t,a),{itemProps:T,isPressed:A,isFocused:k,hasAction:z,allowsSelection:x}=Zu({selectionManager:t.selectionManager,key:a,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&b,isVirtualized:E,shouldUseVirtualFocus:g,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}=ve({isDisabled:s||!b,onHoverStart(){$u()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),V=_(S==null?void 0:S.props);delete V.id;let F=Nr(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&&$u(),isSelected:c,isDisabled:s,isPressed:A,allowsSelection:x,hasAction:z}}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}}}var z3={};z3={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var V3={};V3={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var N3={};N3={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var L3={};L3={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var j3={};j3={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var _3={};_3={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var O3={};O3={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var H3={};H3={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var U3={};U3={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var W3={};W3={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var G3={};G3={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Z3={};Z3={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var q3={};q3={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Y3={};Y3={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var J3={};J3={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Q3={};Q3={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var X3={};X3={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var ef={};ef={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var tf={};tf={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var uf={};uf={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 rf={};rf={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var af={};af={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 sf={};sf={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var df={};df={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var cf={};cf={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var ff={};ff={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var pf={};pf={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var mf={};mf={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var bf={};bf={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var hf={};hf={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var $f={};$f={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var gf={};gf={"ar-AE":z3,"bg-BG":V3,"cs-CZ":N3,"da-DK":L3,"de-DE":j3,"el-GR":_3,"en-US":O3,"es-ES":H3,"et-EE":U3,"fi-FI":W3,"fr-FR":G3,"he-IL":Z3,"hr-HR":q3,"hu-HU":Y3,"it-IT":J3,"ja-JP":Q3,"ko-KR":X3,"lt-LT":ef,"lv-LV":tf,"nb-NO":uf,"nl-NL":nf,"pl-PL":rf,"pt-BR":af,"pt-PT":lf,"ro-RO":of,"ru-RU":sf,"sk-SK":df,"sl-SI":cf,"sr-SP":ff,"sv-SE":pf,"tr-TR":mf,"uk-UA":bf,"zh-CN":hf,"zh-TW":$f};function M6(e){return e&&e.__esModule?e.default:e}function ll(e,t,u){let{type:n="menu",isDisabled:r,trigger:a="press"}=e,i=ne(),{triggerProps:l,overlayProps:s}=J4({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=me(M6(gf),"@react-aria/menu"),{longPressProps:f}=Ps({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 Df=new WeakMap;function z6(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}=rl({...i,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return Df.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 V6(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:g,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=Df.get(t),x=t.collection.getItem(r),w=e.onClose||z.onClose,V=Eu(),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 iu=z.onAction;iu(r)}re.target instanceof HTMLAnchorElement&&x&&V.open(re.target,re,x.props.href,x.props.routerOptions)}},K="menuitem";S||(B.selectionMode==="single"?K="menuitemradio":B.selectionMode==="multiple"&&(K="menuitemcheckbox"));let P=rt(),I=rt(),j=rt(),L={id:n,"aria-disabled":T||void 0,role:K,"aria-label":e["aria-label"],"aria-labelledby":P,"aria-describedby":[I,j].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};B.selectionMode!=="none"&&!S&&(L["aria-checked"]=k),i&&(L["aria-posinset"]=x==null?void 0:x.index,L["aria-setsize"]=il(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)},pe=re=>{re.pointerType!=="keyboard"&&re.pointerType!=="mouse"&&(F(re),Q()),c==null||c(re)},{itemProps:ie,isFocused:se}=Zu({id:n,selectionManager:B,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:z.shouldUseVirtualFocus}),{pressProps:M,isPressed:W}=Ge({onPressStart:U,onPress:pe,onPressUp:X,onPressChange:f,onPressEnd:p,isDisabled:T}),{hoverProps:Y}=ve({isDisabled:T,onHoverStart(re){!$u()&&!(R&&l==="dialog")&&(B.setFocused(!0),B.setFocusedKey(r)),m==null||m(re)},onHoverChange:b,onHoverEnd:h}),{keyboardProps:O}=ks({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(),g==null||g(re);break}},onKeyUp:v}),{focusProps:G}=_r({onBlur:C,onFocus:E,onFocusChange:y}),le=_(x==null?void 0:x.props);delete le.id;let qe=Nr(x==null?void 0:x.props);return{menuItemProps:{...L,...N(le,qe,S?{onFocus:ie.onFocus,"data-key":ie["data-key"]}:ie,M,Y,O,G),tabIndex:ie.tabIndex!=null&&R?-1:ie.tabIndex},labelProps:{id:P},descriptionProps:{id:I},keyboardShortcutProps:{id:j},isFocused:se,isSelected:k,isPressed:W,isDisabled:T}}function N6(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 j6(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=me(L6(Z4),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:b}=ll({type:"listbox",isDisabled:c||d},t,u);Zr.set(t,{id:b.id});let{collection:h}=t,{disabledKeys:g}=t.selectionManager,v=o.useMemo(()=>i||new eu({collection:h,disabledKeys:g,ref:a,layoutDelegate:l}),[i,l,h,g,a]),{collectionProps:E}=qr({selectionManager:t.selectionManager,keyboardDelegate:v,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),y=Eu(),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 G=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(O.key==="Enter"&&G instanceof HTMLAnchorElement){let le=t.collection.getItem(t.selectionManager.focusedKey);le&&y.open(G,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 G;let le=(u==null?void 0:u.current)&&u.current===O.relatedTarget,qe=(G=n.current)===null||G===void 0?void 0:G.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}=nl({...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,[Qt]:t},r),w=O=>{if(O.pointerType==="touch"){var G;(G=r.current)===null||G===void 0||G.focus(),t.toggle(null,"manual")}},V=O=>{if(O.pointerType!=="touch"){var G;(G=r.current)===null||G===void 0||G.focus(),t.toggle(O.pointerType==="keyboard"||O.pointerType==="virtual"?"first":null,"manual")}},F=vt({id:m.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),K=vt({id:b.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||A.id}),P=o.useRef(0),I=O=>{if(c||d)return;if(O.timeStamp-P.current<500){var G;O.preventDefault(),(G=r.current)===null||G===void 0||G.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 iu;O.preventDefault(),(iu=r.current)===null||iu===void 0||iu.focus(),t.toggle(null,"manual"),P.current=O.timeStamp}},j=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var L;let U=(L=j==null?void 0:j.parentKey)!==null&&L!==void 0?L:null;var Q;let X=(Q=t.selectionManager.focusedKey)!==null&&Q!==void 0?Q:null,pe=o.useRef(U),ie=o.useRef(X);o.useEffect(()=>{if(lr()&&j!=null&&X!=null&&X!==ie.current){let G=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!==pe.current)!==null&&O!==void 0?O:!1,groupTitle:qe,groupCount:le?[...De(le,t.collection)].length:0,optionText:j["aria-label"]||j.textValue||"",isSelected:G});Dt(re)}pe.current=U,ie.current=X});let se=il(t.collection),M=o.useRef(se),W=o.useRef(t.isOpen);o.useEffect(()=>{let O=t.isOpen!==W.current&&(t.selectionManager.focusedKey==null||lr());if(t.isOpen&&(O||se!==M.current)){let G=p.format("countAnnouncement",{optionCount:se});Dt(G)}M.current=se,W.current=t.isOpen});let Y=o.useRef(t.selectedKey);return o.useEffect(()=>{if(lr()&&t.isFocused&&t.selectedItem&&t.selectedKey!==Y.current){let O=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",G=p.format("selectedAnnouncement",{optionText:O});Dt(G)}Y.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return R3([r.current,n.current].filter(O=>O!=null))},[t.isOpen,r,n]),{labelProps:A,buttonProps:{...m,...F,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:w,onPressStart:V,isDisabled:c||d},inputProps:N(k,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":j?I3(t,j.key):void 0,onTouchEnd:I,autoCorrect:"off",spellCheck:"false"}),listBoxProps:N(b,K,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:z,errorMessageProps:x,isInvalid:R,validationErrors:$,validationDetails:T}}var yf={};yf={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 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 xf={};xf={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 Cf={};Cf={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 Ef={};Ef={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 Bf={};Bf={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 kf={};kf={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 Pf={};Pf={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 Sf={};Sf={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 Af={};Af={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 wf={};wf={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 Ff={};Ff={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 Tf={};Tf={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 Rf={};Rf={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 Kf={};Kf={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 If={};If={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 Mf={};Mf={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 zf={};zf={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 Vf={};Vf={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 Nf={};Nf={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 Lf={};Lf={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 jf={};jf={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 _f={};_f={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 Of={};Of={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 Hf={};Hf={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 Uf={};Uf={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 Wf={};Wf={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 Gf={};Gf={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 Zf={};Zf={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 qf={};qf={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 Yf={};Yf={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 Jf={};Jf={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 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 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 Vn={};Vn={"ar-AE":yf,"bg-BG":vf,"cs-CZ":xf,"da-DK":Cf,"de-DE":Ef,"el-GR":Bf,"en-US":kf,"es-ES":Pf,"et-EE":Sf,"fi-FI":Af,"fr-FR":wf,"he-IL":Ff,"hr-HR":Tf,"hu-HU":Rf,"it-IT":Kf,"ja-JP":If,"ko-KR":Mf,"lt-LT":zf,"lv-LV":Vf,"nb-NO":Nf,"nl-NL":Lf,"pl-PL":jf,"pt-BR":_f,"pt-PT":Of,"ro-RO":Hf,"ru-RU":Uf,"sk-SK":Wf,"sl-SI":Gf,"sr-SP":Zf,"sv-SE":qf,"tr-TR":Yf,"uk-UA":Jf,"zh-CN":Qf,"zh-TW":Xf};function ol(e,t,u){let{direction:n}=fe(),r=o.useMemo(()=>Hr(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=ke(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=Ge({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&i()},onPress(s){s.pointerType!=="mouse"&&i()}});return N(l,{onKeyDown:a})}function _6(e){return e&&e.__esModule?e.default:e}const ep=new WeakMap,bn="__role_"+Date.now(),tp="__focusManager_"+Date.now();function O6(e,t,u){var n;let{isInvalid:r,validationErrors:a,validationDetails:i}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=nu({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||a}),f=o.useRef(null),{focusWithinProps:p}=pt({...e,onFocusWithin(A){var k;f.current=t.value,(k=e.onFocus)===null||k===void 0||k.call(e,A)},onBlurWithin:A=>{var k;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(k=e.onBlur)===null||k===void 0||k.call(e,A)},onFocusWithinChange:e.onFocusChange}),m=me(_6(Vn),"@react-aria/datepicker"),b=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",h=t.maxGranularity==="hour"?"time":"date",g=t.value?m.format(b,{[h]:t.formatValue({month:"long"})}):"",v=Ct(g),E=e[bn]==="presentation"?s["aria-describedby"]:[v["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,y=e[tp],C=o.useMemo(()=>y||Hr(u),[y,u]),B=ol(t,u,e[bn]==="presentation");ep.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[bn]==="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]),Tn(e.inputRef,t.value,t.setValue),zn({...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 H6(e){return e&&e.__esModule?e.default:e}function U6(e,t,u){let n=ne(),r=ne(),a=ne(),i=me(H6(Vn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=nu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=ol(t,u),h=f["aria-labelledby"]||f.id,{locale:g}=fe(),v=t.formatValue(g,{month:"long"}),E=v?i.format("selectedDateDescription",{date:v}):"",y=Ct(E),C=[y["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,B=_(e),S=o.useMemo(()=>Hr(u),[u]),{focusWithinProps:R}=pt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:N(B,b,f,y,R,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":h,"aria-describedby":C,onKeyDown($){t.isOpen||e.onKeyDown&&e.onKeyDown($)},onKeyUp($){t.isOpen||e.onKeyUp&&e.onKeyUp($)}}),labelProps:{...c,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:a,[bn]:"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,[Qt]: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 W6(e){return e&&e.__esModule?e.default:e}function G6(){let{locale:e}=fe(),t=bd(W6(Vn),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new Z6(e,t)}},[e,t])}class Z6{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function q6(e,t,u){let n=o.useRef(""),{locale:r}=fe(),a=G6(),{ariaLabel:i,ariaLabelledBy:l,ariaDescribedBy:s,focusManager:d}=ep.get(t),c=e.isPlaceholder?"":e.text,f=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=ht({month:"long",timeZone:f.timeZone}),m=ht({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(e.type==="month"&&!e.isPlaceholder){let P=p.format(t.dateValue);c=P!==c?`${c} – ${P}`:P}else e.type==="hour"&&!e.isPlaceholder&&(c=m.format(t.dateValue));let{spinButtonProps:b}=r6({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 _d(r,{maximumFractionDigits:0}),[r]),g=()=>{if(e.text===e.placeholder&&d.focusPrevious(),h.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let P=e.text.slice(0,-1),I=h.parse(P);P=I===0?"":P,P.length===0||I===0?t.clearSegment(e.type):t.setSegment(e.type,I),n.current=P}else e.type==="dayPeriod"&&t.clearSegment(e.type)},v=P=>{if(P.key==="a"&&(yt()?P.metaKey:P.ctrlKey)&&P.preventDefault(),!(P.ctrlKey||P.metaKey||P.shiftKey||P.altKey))switch(P.key){case"Backspace":case"Delete":P.preventDefault(),P.stopPropagation(),g();break}},{startsWith:E}=Od({sensitivity:"base"}),y=ht({hour:"numeric",hour12:!0}),C=o.useMemo(()=>{let P=new Date;return P.setHours(0),y.formatToParts(P).find(I=>I.type==="dayPeriod").value},[y]),B=o.useMemo(()=>{let P=new Date;return P.setHours(12),y.formatToParts(P).find(I=>I.type==="dayPeriod").value},[y]),S=ht({year:"numeric",era:"narrow",timeZone:"UTC"}),R=o.useMemo(()=>{if(e.type!=="era")return[];let P=be(new Pe(1,1,1),t.calendar),I=t.calendar.getEras().map(L=>{let U=P.set({year:1,month:1,day:1,era:L}).toDate("UTC"),X=S.formatToParts(U).find(pe=>pe.type==="era").value;return{era:L,formatted:X}}),j=Y6(I.map(L=>L.formatted));if(j)for(let L of I)L.formatted=L.formatted.slice(j);return I},[S,t.calendar,e.type]),$=P=>{if(t.isDisabled||t.isReadOnly)return;let I=n.current+P;switch(e.type){case"dayPeriod":if(E(C,P))t.setSegment("dayPeriod",0);else if(E(B,P))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let j=R.find(L=>E(L.formatted,P));j&&(t.setSegment("era",j.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!h.isValidPartialNumber(I))return;let j=h.parse(I),L=j,U=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":j>11&&(L=h.parse(P));break;case"h12":U=!1,j>12&&(L=h.parse(P));break}e.value!==void 0&&e.value>=12&&j>1&&(j+=12)}else e.maxValue!==void 0&&j>e.maxValue&&(L=h.parse(P));if(isNaN(j))return;let Q=L!==0||U;Q&&t.setSegment(e.type,L),e.maxValue!==void 0&&(+(j+"0")>e.maxValue||I.length>=String(e.maxValue).length)?(n.current="",Q&&d.focusNext()):n.current=I;break}}},T=()=>{n.current="",u.current&&Me(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 I=window.getSelection();I!=null&&I.anchorNode&&(!((P=u.current)===null||P===void 0)&&P.contains(I==null?void 0:I.anchorNode))&&I.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&&g();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:I,data:j}=P;switch(I){case"insertCompositionText":u.current&&(u.current.textContent=k.current),j!=null&&(E(C,j)||E(B,j))&&$(j);break}}),Z(()=>{let P=u.current;return()=>{document.activeElement===P&&(d.focusPrevious()||d.focusNext())}},[u,d]);let z=Fn()||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),K=vt({"aria-label":`${F}${i?`, ${i}`:""}${l?", ":""}`,"aria-labelledby":l});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:N(b,K,{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 Y6(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 J6(e){return e&&e.__esModule?e.default:e}function Q6(e,t,u){var n,r,a;let i=me(J6(Vn),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:m}=nu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),b=f["aria-labelledby"]||f.id,{locale:h}=fe(),g=t.formatValue(h,{month:"long"}),v=g?i.format("selectedRangeDescription",{startDate:g.start,endDate:g.end}):"",E=Ct(v),y={"aria-label":i.format("startDate"),"aria-labelledby":b},C={"aria-label":i.format("endDate"),"aria-labelledby":b},B=ne(),S=ne(),R=ol(t,u),$=[E["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,T=o.useMemo(()=>Hr(u,{accept:K=>K.id!==B}),[u,B]),A={[tp]:T,[bn]:"presentation","aria-describedby":$,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},k=_(e),{focusWithinProps:z}=pt({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=o.useRef(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(K){t.isOpen||e.onKeyDown&&e.onKeyDown(K)},onKeyUp(K){t.isOpen||e.onKeyUp&&e.onKeyUp(K)}}),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:K=>t.setDateTime("start",K),autoFocus:e.autoFocus,name:e.startName,[Qt]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(K){x.current=K,t.updateValidation(Sn(K,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:K=>t.setDateTime("end",K),name:e.endName,[Qt]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(K){w.current=K,t.updateValidation(Sn(x.current,K))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:m,calendarProps:{autoFocus:!0,value:!((a=t.dateRange)===null||a===void 0)&&a.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function X6(e,t){let{role:u="dialog"}=e,n=rt();n=e["aria-label"]?void 0:n;let r=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){ye(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(r.current=!0,t.current&&(t.current.blur(),ye(t.current)),r.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),P6(),{dialogProps:{..._(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{r.current&&a.stopPropagation()}},titleProps:{id:n}}}function e2(e,t,u){let{isDisabled:n}=e,r=ne(),a=ne(),l=!tu()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),xu.flushSync(()=>{t.toggle()})},[u,t]);return st(u,"beforematch",l?d:null),Z(()=>{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 up={...Ne,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},t2=sl(up);t2[7]="all";sl(Ne);const np={none:"cancel",link:"link",copy:"copy",move:"move"},Ra=sl(np);function sl(e){let t={};for(let u in e)t[e[u]]=u;return t}const u2=new Set(["text/plain","text/uri-list","text/html"]),Pr="application/vnd.react-aria.items+json",Sr="application/octet-stream",n2=Symbol();function r2(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function a2(){return r2(zi())}function Ko(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(u2.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,Pr)}}class er{has(t){return this.includesUnknownTypes||t===n2&&this.types.has(Sr)?!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!==Pr&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(Sr));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function rp(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(Pr))try{let n=e.getData(Pr),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||Sr,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(fi(r.getAsFile())):a.isDirectory&&t.push(ap(a))}else t.push(fi(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function i2(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 fi(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||Sr,name:e.name,getText:()=>i2(e),getFile:()=>Promise.resolve(e)}}function ap(e){return{kind:"directory",name:e.name,getEntries:()=>l2(e)}}async function*l2(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 o2(n);yield fi(r)}else n.isDirectory&&(yield ap(n))}while(u.length>0)}function o2(e){return new Promise((t,u)=>e.file(t,u))}let ip={draggingKeys:new Set};function s2(e){ip=e}let Io=Ne.none,Mo=new Map,zo=null,Vo=new Set;function d2(e){return Mo.set(e.element,e),()=>{Mo.delete(e.element)}}function c2(){let[e,t]=o.useState(zo);return o.useEffect(()=>{let u=()=>t(zo);return Vo.add(u),()=>{Vo.delete(u)}},[]),e}var lp={};lp={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",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 op={};op={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 sp={};sp={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 dp={};dp={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 cp={};cp={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 fp={};fp={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={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 mp={};mp={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 bp={};bp={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 hp={};hp={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 $p={};$p={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 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 Dp={};Dp={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 yp={};yp={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 vp={};vp={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 xp={};xp={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 Cp={};Cp={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 Ep={};Ep={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 Bp={};Bp={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 kp={};kp={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 Pp={};Pp={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 Sp={};Sp={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 Ap={};Ap={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 wp={};wp={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 Fp={};Fp={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 Tp={};Tp={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 Rp={};Rp={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 Kp={};Kp={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 Ip={};Ip={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 Mp={};Mp={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 zp={};zp={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 Vp={};Vp={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 Np={};Np={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 Lp={};Lp={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 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 jp={};jp={"ar-AE":lp,"bg-BG":op,"cs-CZ":sp,"da-DK":dp,"de-DE":cp,"el-GR":fp,"en-US":pp,"es-ES":mp,"et-EE":bp,"fi-FI":hp,"fr-FR":$p,"he-IL":gp,"hr-HR":Dp,"hu-HU":yp,"it-IT":vp,"ja-JP":xp,"ko-KR":Cp,"lt-LT":Ep,"lv-LV":Bp,"nb-NO":kp,"nl-NL":Pp,"pl-PL":Sp,"pt-BR":Ap,"pt-PT":wp,"ro-RO":Fp,"ru-RU":Tp,"sk-SK":Rp,"sl-SI":Kp,"sr-SP":Ip,"sv-SE":Mp,"tr-TR":zp,"uk-UA":Vp,"zh-CN":Np,"zh-TW":Lp};function f2(e){return e&&e.__esModule?e.default:e}const p2={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function m2(){let e=me(f2(jp),"@react-aria/dnd"),t=a2(),u=c2();return{dropProps:{...Ct(u?e.format(p2[t]):""),onClick:()=>{}}}}const b2=800;function h2(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=No(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=Ka(C),R=S[0];if(typeof e.getDropOperation=="function"){let $=new er(y.dataTransfer);R=tr(C,e.getDropOperation($,S))}a.dropEffect=Ra[R]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new er(y.dataTransfer),R=y.currentTarget.getBoundingClientRect(),$=tr(C,e.getDropOperationForPoint(S,Ka(C),a.x-R.x,a.y-R.y));a.dropEffect=Ra[$]||"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})},b2)}},d=y=>{if(y.preventDefault(),y.stopPropagation(),a.dragOverElements.add(y.target),a.dragOverElements.size>1)return;let C=No(y),B=Ka(C),S=B[0];if(typeof e.getDropOperation=="function"){let R=new er(y.dataTransfer);S=tr(C,e.getDropOperation(R,B))}if(typeof e.getDropOperationForPoint=="function"){let R=new er(y.dataTransfer),$=y.currentTarget.getBoundingClientRect();S=tr(C,e.getDropOperationForPoint(R,B,y.clientX-$.x,y.clientY-$.y))}a.x=y.clientX,a.y=y.clientY,a.allowedOperations=C,a.dropEffect=Ra[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=np[a.dropEffect],S=rp(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={...ip};a.dragOverElements.clear(),l(y),clearTimeout(a.dropActivateTimer),C.draggingCollectionRef==null||s2(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)}),g=ae((y,C)=>e.getDropOperation?e.getDropOperation(y,C):C[0]),{ref:v}=e;Z(()=>{if(!(u||!v.current))return d2({element:v.current,getDropOperation:g,onDropEnter(y){r(!0),p(y)},onDropExit(y){r(!1),m(y)},onDrop:h,onDropActivate:b})},[u,v,g,p,m,h,b]);let{dropProps:E}=m2();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 No(e){let t=up[e.dataTransfer.effectAllowed];Io&&(t&=Io);let u=Ne.none;return yt()?(e.altKey&&(u|=Ne.copy),e.ctrlKey&&!Pi()&&(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 Ka(e){let t=[];return e&Ne.move&&t.push("move"),e&Ne.copy&&t.push("copy"),e&Ne.link&&t.push("link"),t}function tr(e,t){let u=Ne[t];return e&u?t:"cancel"}const Ia=new Map;function wu(e,t){let u=Ia.get(e);if(!u){let n=new Set,r=a=>{for(let i of n)i(a)};u={listener:r,handlers:n},Ia.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),Ia.delete(e))}}function $2(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=_r({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;Ko(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&&(Ko(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=rp(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return at(wu("beforecopy",r),wu("copy",a),wu("beforecut",i),wu("cut",l),wu("beforepaste",s),wu("paste",d))},[t,r,a,i,l,s,d]),{clipboardProps:n}}const dl=new WeakMap;function pi(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}-${g2(t)}`}function g2(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class _p{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(De(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(De(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=De(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Kt(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=De(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=De(u,this.collection);var a;return(a=this.direction==="rtl"?(n=Ft(c))===null||n===void 0?void 0:n.key:(r=Kt(c))===null||r===void 0?void 0:r.key)!==null&&a!==void 0?a:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=De(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(De(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(De(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=De(d,this.collection);var i;return(i=(a=Kt(c))===null||a===void 0?void 0:a.key)!==null&&i!==void 0?i:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=De(d,this.collection);var s;n=(s=(l=Kt(c))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getKeyPageAbove(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&u!=null;){var a;if(u=(a=this.getKeyAbove(u))!==null&&a!==void 0?a:null,u==null)break;n=this.layoutDelegate.getItemRect(u)}return u}getKeyPageBelow(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,a=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<a;){let i=this.getKeyBelow(u);if(i==null)break;n=this.layoutDelegate.getItemRect(i),u=i}return u}getKeyForSearch(t,u){let n=u??null;if(!this.collator)return null;let r=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let a=r.getItem(n);if(!a)return null;var i;a.type==="cell"&&(n=(i=a.parentKey)!==null&&i!==void 0?i:null);let l=!1;for(;n!=null;){let c=r.getItem(n);if(!c)return null;if(c.textValue){let f=c.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){var s,d;return this.isRow(c)&&this.focusMode==="cell"?(d=(s=Ft(De(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 D2(t.layout):new ci(t.ref)),this.focusMode=t.focusMode||"row"}}class D2{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 cl=new WeakMap;var Op={};Op={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 Hp={};Hp={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 Up={};Up={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 Wp={};Wp={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 Gp={};Gp={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 Zp={};Zp={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 qp={};qp={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 Yp={};Yp={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 Jp={};Jp={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 Qp={};Qp={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 Xp={};Xp={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 e0={};e0={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 t0={};t0={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 u0={};u0={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 n0={};n0={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 r0={};r0={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 a0={};a0={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 i0={};i0={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 l0={};l0={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 o0={};o0={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 s0={};s0={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 d0={};d0={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 c0={};c0={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 f0={};f0={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 p0={};p0={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 m0={};m0={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 b0={};b0={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 h0={};h0={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 $0={};$0={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 g0={};g0={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 D0={};D0={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 y0={};y0={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 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 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 Yr={};Yr={"ar-AE":Op,"bg-BG":Hp,"cs-CZ":Up,"da-DK":Wp,"de-DE":Gp,"el-GR":Zp,"en-US":qp,"es-ES":Yp,"et-EE":Jp,"fi-FI":Qp,"fr-FR":Xp,"he-IL":e0,"hr-HR":t0,"hu-HU":u0,"it-IT":n0,"ja-JP":r0,"ko-KR":a0,"lt-LT":i0,"lv-LV":l0,"nb-NO":o0,"nl-NL":s0,"pl-PL":d0,"pt-BR":c0,"pt-PT":f0,"ro-RO":p0,"ru-RU":m0,"sk-SK":b0,"sl-SI":h0,"sr-SP":$0,"sv-SE":g0,"tr-TR":D0,"uk-UA":y0,"zh-CN":v0,"zh-TW":x0};function y2(e){return e&&e.__esModule?e.default:e}function C0(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=me(y2(Yr),"@react-aria/grid"),r=t.selectionManager.rawSelection,a=o.useRef(r);pr(()=>{var i;if(!t.selectionManager.isFocused){a.current=r;return}let l=Lo(r,a.current),s=Lo(a.current,r),d=t.selectionManager.selectionBehavior==="replace",c=[];if(t.selectionManager.selectedKeys.size===1&&d){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let f=u(t.selectionManager.selectedKeys.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}}else if(l.size===1&&s.size===0){let f=u(l.keys().next().value);f&&c.push(n.format("selectedItem",{item:f}))}else if(s.size===1&&l.size===0&&t.collection.getItem(s.keys().next().value)){let f=u(s.keys().next().value);f&&c.push(n.format("deselectedItem",{item:f}))}t.selectionManager.selectionMode==="multiple"&&(c.length===0||r==="all"||r.size>1||a.current==="all"||((i=a.current)===null||i===void 0?void 0:i.size)>1)&&c.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),c.length>0&&Dt(c.join(" ")),a.current=r},[r])}function Lo(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 v2(e){return e&&e.__esModule?e.default:e}function E0(e){let t=me(v2(Yr),"@react-aria/grid"),u=zi(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,r=o.useMemo(()=>{let i=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return n&&(s=t.format("longPressToSelect")),l==="replace"&&i!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return Ct(r)}function x2(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=Bu({usage:"search",sensitivity:"base"}),{direction:p}=fe(),m=t.selectionManager.disabledBehavior,b=o.useMemo(()=>r||new _p({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}=qr({ref:u,selectionManager:c,keyboardDelegate:b,isVirtualized:n,scrollRef:i}),g=ne(e.id);cl.set(t,{keyboardDelegate:b,actions:{onRowAction:s,onCellAction:d}});let v=E0({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=Li(u,{isDisabled:t.collection.size!==0}),S=N(E,{role:"grid",id:g,"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),C0({getRowText:l},t),{gridProps:S}}function C2(){return{rowGroupProps:{role:"rowgroup"}}}function E2(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d}=cl.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}=Zu({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 B0(e,t,u){let{node:n,isVirtualized:r,focusMode:a="child",shouldSelectOnPressUp:i,onAction:l}=e,{direction:s}=fe(),{keyboardDelegate:d,actions:{onCellAction:c}}=cl.get(t),f=o.useRef(null),p=()=>{if(u.current){let y=ke(u.current);if(a==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let C=t.selectionManager.childFocusStrategy==="last"?Ma(y):y.firstChild();if(C){ye(C);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&ye(u.current)}},{itemProps:m,isPressed:b}=Zu({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=ke(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)ye(A),Me(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"?(ye(u.current),Me(u.current,{containingElement:Ie(u.current)})):(C.currentNode=u.current,A=s==="rtl"?C.firstChild():Ma(C),A&&(ye(A),Me(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)ye(A),Me(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"?(ye(u.current),Me(u.current,{containingElement:Ie(u.current)})):(C.currentNode=u.current,A=s==="rtl"?Ma(C):C.firstChild(),A&&(ye(A),Me(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){$u()||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 Ma(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function B2(e){return e&&e.__esModule?e.default:e}function k0(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=me(B2(Yr),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:i,isDisabled:a,onChange:l}}}function P0(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}=rl({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=E0({selectionManager:t.selectionManager,hasItemActions:!!i}),p=Li(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),C0({},t),{gridProps:b}}const jo={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function S0(e,t,u){var n,r;let{node:a,isVirtualized:i,shouldSelectOnPressUp:l}=e,{direction:s}=fe(),{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)))&&ye(u.current)},h={},g,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);g=[...F??[]].length>1,d==null&&!v&&t.selectionManager.selectionMode==="none"&&g&&(d=()=>t.toggleKey(a.key));let K=g?t.expandedKeys.has(a.key):void 0,P=1;var B;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let I=t.collection.getItem(a.parentKey);if(I){var S,R;let j=(S=(R=t.collection).getChildren)===null||S===void 0?void 0:S.call(R,I.key);P=Kt(j).index+1}}else P=((B=(C=[...t.collection].filter(I=>I.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&B!==void 0?B:0)+1;h={"aria-expanded":K,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":P}}let{itemProps:$,...T}=Zu({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 K=ke(u.current);if(K.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(F.key===jo.expand[s]&&t.selectionManager.focusedKey===a.key&&g&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}else if(F.key===jo.collapse[s]&&t.selectionManager.focusedKey===a.key&&g&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),F.stopPropagation();return}}switch(F.key){case"ArrowLeft":if(f==="arrow"){let I=s==="rtl"?K.nextNode():K.previousNode();if(I)F.preventDefault(),F.stopPropagation(),ye(I),Me(I,{containingElement:Ie(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="rtl")ye(u.current),Me(u.current,{containingElement:Ie(u.current)});else{K.currentNode=u.current;let j=_o(K);j&&(ye(j),Me(j,{containingElement:Ie(u.current)}))}}break;case"ArrowRight":if(f==="arrow"){let I=s==="rtl"?K.previousNode():K.nextNode();if(I)F.preventDefault(),F.stopPropagation(),ye(I),Me(I,{containingElement:Ie(u.current)});else if(F.preventDefault(),F.stopPropagation(),s==="ltr")ye(u.current),Me(u.current,{containingElement:Ie(u.current)});else{K.currentNode=u.current;let j=_o(K);j&&(ye(j),Me(j,{containingElement:Ie(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!F.altKey&&u.current.contains(F.target)){var P;F.stopPropagation(),F.preventDefault(),(P=u.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(F.nativeEvent.type,F.nativeEvent))}break;case"Tab":if(f==="tab"){let I=ke(u.current,{tabbable:!0});I.currentNode=document.activeElement,(F.shiftKey?I.previousNode():I.nextNode())&&F.stopPropagation()}}},k=F=>{if(m.current=a.key,F.target!==u.current){$u()||t.selectionManager.setFocusedKey(a.key);return}},z=Ai(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?`${pi(t,a.key)} ${p}`:void 0,id:pi(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 _o(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function k2(e,t){let{key:u}=e;const{checkboxProps:n}=k0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${pi(t,u)}`}}}const A0=new WeakMap;function P2(e,t,u){let{value:n,children:r,"aria-label":a,"aria-labelledby":i}=e;const l=e.isDisabled||t.isDisabled;let s=r!=null,d=a!=null||i!=null;!s&&!d&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=$=>{$.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:m}=Ge({isDisabled:l}),{pressProps:b,isPressed:h}=Ge({isDisabled:l,onPress(){t.setSelectedValue(n)}}),{focusableProps:g}=Gu(N(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),v=N(p,g),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}=A0.get(t);return Tn(u,t.selectedValue,t.setSelectedValue),zn({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 S2(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:h}=nu({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),g=_(e,{labelable:!0}),{focusWithinProps:v}=pt({onBlurWithin(C){var B;(B=e.onBlur)===null||B===void 0||B.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),E=C=>{let B;switch(C.key){case"ArrowRight":s==="rtl"&&i!=="vertical"?B="prev":B="next";break;case"ArrowLeft":s==="rtl"&&i!=="vertical"?B="next":B="prev";break;case"ArrowDown":B="next";break;case"ArrowUp":B="prev";break;default:return}C.preventDefault();let S=ke(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 A0.set(t,{name:y,descriptionId:b.id,errorMessageId:h.id,validationBehavior:l}),{radioGroupProps:N(g,{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 w0={};w0={"Clear search":"مسح البحث"};var F0={};F0={"Clear search":"Изчистване на търсене"};var T0={};T0={"Clear search":"Vymazat hledání"};var R0={};R0={"Clear search":"Ryd søgning"};var K0={};K0={"Clear search":"Suche zurücksetzen"};var I0={};I0={"Clear search":"Απαλοιφή αναζήτησης"};var M0={};M0={"Clear search":"Clear search"};var z0={};z0={"Clear search":"Borrar búsqueda"};var V0={};V0={"Clear search":"Tühjenda otsing"};var N0={};N0={"Clear search":"Tyhjennä haku"};var L0={};L0={"Clear search":"Effacer la recherche"};var j0={};j0={"Clear search":"נקה חיפוש"};var _0={};_0={"Clear search":"Obriši pretragu"};var O0={};O0={"Clear search":"Keresés törlése"};var H0={};H0={"Clear search":"Cancella ricerca"};var U0={};U0={"Clear search":"検索をクリア"};var W0={};W0={"Clear search":"검색 지우기"};var G0={};G0={"Clear search":"Išvalyti iešką"};var Z0={};Z0={"Clear search":"Notīrīt meklēšanu"};var q0={};q0={"Clear search":"Tøm søk"};var Y0={};Y0={"Clear search":"Zoekactie wissen"};var J0={};J0={"Clear search":"Wyczyść zawartość wyszukiwania"};var Q0={};Q0={"Clear search":"Limpar pesquisa"};var X0={};X0={"Clear search":"Limpar pesquisa"};var e1={};e1={"Clear search":"Ştergeţi căutarea"};var t1={};t1={"Clear search":"Очистить поиск"};var u1={};u1={"Clear search":"Vymazať vyhľadávanie"};var n1={};n1={"Clear search":"Počisti iskanje"};var r1={};r1={"Clear search":"Obriši pretragu"};var a1={};a1={"Clear search":"Rensa sökning"};var i1={};i1={"Clear search":"Aramayı temizle"};var l1={};l1={"Clear search":"Очистити пошук"};var o1={};o1={"Clear search":"清除搜索"};var s1={};s1={"Clear search":"清除搜尋條件"};var d1={};d1={"ar-AE":w0,"bg-BG":F0,"cs-CZ":T0,"da-DK":R0,"de-DE":K0,"el-GR":I0,"en-US":M0,"es-ES":z0,"et-EE":V0,"fi-FI":N0,"fr-FR":L0,"he-IL":j0,"hr-HR":_0,"hu-HU":O0,"it-IT":H0,"ja-JP":U0,"ko-KR":W0,"lt-LT":G0,"lv-LV":Z0,"nb-NO":q0,"nl-NL":Y0,"pl-PL":J0,"pt-BR":Q0,"pt-PT":X0,"ro-RO":e1,"ru-RU":t1,"sk-SK":u1,"sl-SI":n1,"sr-SP":r1,"sv-SE":a1,"tr-TR":i1,"uk-UA":l1,"zh-CN":o1,"zh-TW":s1};function A2(e){return e&&e.__esModule?e.default:e}function w2(e,t,u){let n=me(A2(d1),"@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,...g}=nl({...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,...g}}const c1=new WeakMap;function F2(e,t,u){let{keyboardDelegate:n,isDisabled:r,isRequired:a,name:i,validationBehavior:l="aria"}=e,s=Bu({usage:"search",sensitivity:"base"}),d=o.useMemo(()=>n||new eu(t.collection,t.disabledKeys,u,s),[n,t.collection,t.disabledKeys,s]),{menuTriggerProps:c,menuProps:f}=ll({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}=M3({keyboardDelegate:d,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKey($)}}),{isInvalid:b,validationErrors:h,validationDetails:g}=t.displayValidation,{labelProps:v,fieldProps:E,descriptionProps:y,errorMessageProps:C}=nu({...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 c1.set(t,{isDisabled:r,isRequired:a,name:i,validationBehavior:l}),{labelProps:{...v,onClick:()=>{if(!e.isDisabled){var $;($=u.current)===null||$===void 0||$.focus(),Bs("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:g}}function T2(e,t,u){let n=c1.get(t)||{},{autoComplete:r,name:a=n.name,isDisabled:i=n.isDisabled}=e,{validationBehavior:l,isRequired:s}=n,{visuallyHiddenProps:d}=ru();Tn(e.selectRef,t.selectedKey,t.setSelectedKey),zn({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 R2(e){let{state:t,triggerRef:u,label:n,name:r,isDisabled:a}=e,i=o.useRef(null),{containerProps:l,selectProps:s}=T2({...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 fl=new WeakMap;function mi(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function K2(e,t){let u=fl.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${mi(t)}`}function f1(e,t,u){let n=fl.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${mi(t)}-${mi(u)}`}function p1(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>f1(e,t,u)).join(" ")}var m1={};m1={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var b1={};b1={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var h1={};h1={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 $1={};$1={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 g1={};g1={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 D1={};D1={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var y1={};y1={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 v1={};v1={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 x1={};x1={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 C1={};C1={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 E1={};E1={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 B1={};B1={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var k1={};k1={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 P1={};P1={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 S1={};S1={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 A1={};A1={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var w1={};w1={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var F1={};F1={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 T1={};T1={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 R1={};R1={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 K1={};K1={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 I1={};I1={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 M1={};M1={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 z1={};z1={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 V1={};V1={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 N1={};N1={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var L1={};L1={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 j1={};j1={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 _1={};_1={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 O1={};O1={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 H1={};H1={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 U1={};U1={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var W1={};W1={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var G1={};G1={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var Jr={};Jr={"ar-AE":m1,"bg-BG":b1,"cs-CZ":h1,"da-DK":$1,"de-DE":g1,"el-GR":D1,"en-US":y1,"es-ES":v1,"et-EE":x1,"fi-FI":C1,"fr-FR":E1,"he-IL":B1,"hr-HR":k1,"hu-HU":P1,"it-IT":S1,"ja-JP":A1,"ko-KR":w1,"lt-LT":F1,"lv-LV":T1,"nb-NO":R1,"nl-NL":K1,"pl-PL":I1,"pt-BR":M1,"pt-PT":z1,"ro-RO":V1,"ru-RU":N1,"sk-SK":L1,"sl-SI":j1,"sr-SP":_1,"sv-SE":O1,"tr-TR":H1,"uk-UA":U1,"zh-CN":W1,"zh-TW":G1};class I2 extends _p{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(De(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(De(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 De(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=[...De(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 De(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 M2=!1;function Ar(){return M2}function z2(e){return e&&e.__esModule?e.default:e}function V2(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:a,layout:i}=e,l=Bu({usage:"search",sensitivity:"base"}),{direction:s}=fe(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new I2({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);fl.set(t,f);let{gridProps:p}=x2({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Ar()&&"expandedKeys"in t&&(p.role="treegrid");let{column:m,direction:b}=t.sortDescriptor||{},h=me(z2(Jr),"@react-aria/table"),g=o.useMemo(()=>{var E,y;let C=(y=(E=t.collection.columns.find(B=>B.key===m))===null||E===void 0?void 0:E.textValue)!==null&&y!==void 0?y:"";return b&&m?h.format(`${b}Sort`,{columnName:C}):void 0},[b,m,t.collection.columns]),v=Ct(g);return pr(()=>{g&&Dt(g,"assertive",500)},[g]),{gridProps:N(p,v,{"aria-describedby":[v["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function N2(e){return e&&e.__esModule?e.default:e}function L2(e,t,u){var n,r;let{node:a}=e,i=a.props.allowsSorting,{gridCellProps:l}=B0({...e,focusMode:"child"},t,u),s=a.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=Ge({isDisabled:!i||s,onPress(){t.sort(a.key)},ref:u}),{focusableProps:c}=Gu({},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&&!$n()&&(f=p?m:"none");let b=me(N2(Jr),"@react-aria/table"),h;i&&(h=`${b.format("sortable")}`,p&&m&&$n()&&(h=`${h}, ${b.format(m)}`));let g=Ct(h),v=t.collection.size===0;return o.useEffect(()=>{v&&t.selectionManager.focusedKey===a.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,a.key]),{columnHeaderProps:{...N(l,d,c,g,v?{tabIndex:-1}:null),role:"columnheader",id:K2(t,a.key),"aria-colspan":a.colspan&&a.colspan>1?a.colspan:void 0,"aria-sort":f}}}const Oo={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function j2(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:a,...i}=E2(e,t,u),{direction:l}=fe();r&&!(Ar()&&"expandedKeys"in t)?a["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete a["aria-rowindex"];let s={};if(Ar()&&"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,g,v,E;s={onKeyDown:R=>{(R.key===Oo.expand[l]&&t.selectionManager.focusedKey===B.key&&S&&t.expandedKeys!=="all"&&!t.expandedKeys.has(B.key)||R.key===Oo.collapse[l]&&t.selectionManager.focusedKey===B.key&&S&&(t.expandedKeys==="all"||t.expandedKeys.has(B.key)))&&(t.toggleKey(B.key),R.stopPropagation())},"aria-expanded":S?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":B.level,"aria-posinset":((h=B.indexOfType)!==null&&h!==void 0?h:0)+1,"aria-setsize":B.level>1?((v=(p=Kt((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:((E=(b=Kt(t.collection.body.childNodes))===null||b===void 0?void 0:b.indexOfType)!==null&&E!==void 0?E:0)+1}}}let y=Ai(n.props),C=i.hasAction?y:{};return{rowProps:{...N(a,s,C),"aria-labelledby":p1(t,n.key)},...i}}function _2(e,t,u){let{node:n,isVirtualized:r}=e,a={role:"row"};return r&&!(Ar()&&"expandedKeys"in t)&&(a["aria-rowindex"]=n.index+1),{rowProps:a}}function O2(e,t,u){var n;let{gridCellProps:r,isPressed:a}=B0(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=f1(t,e.node.parentKey,i)),{gridCellProps:r,isPressed:a}}function H2(e){return e&&e.__esModule?e.default:e}function U2(e,t){let{key:u}=e;const{checkboxProps:n}=k0(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${p1(t,u)}`}}}function W2(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":me(H2(Jr),"@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 Z1(){return C2()}const q1=new WeakMap;function wr(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${q1.get(e)}-${u}-${t}`):""}function G2(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}=Zu({selectionManager:i,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:a,linkBehavior:"selection"}),p=wr(t,n,"tab"),m=wr(t,n,"tabpanel"),{tabIndex:b}=c,h=t.collection.getItem(n),g=_(h==null?void 0:h.props,{labelable:!0});delete g.id;let v=Nr(h==null?void 0:h.props);return{tabProps:N(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 Z2(e,t,u){let n=Li(u)?void 0:0;var r;const a=wr(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),i=vt({...e,id:a,"aria-labelledby":wr(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 q2{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 Y2(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 q2(a,s,n,l),[a,l,n,s]),{collectionProps:c}=qr({ref:u,selectionManager:i,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=ne();q1.set(t,f);let p=vt({...e,id:f});return{tabListProps:{...N(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const Y1=new WeakMap;function J2(e,t,u){let{direction:n}=fe(),r=e.keyboardDelegate||new eu({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:i,descriptionProps:l,errorMessageProps:s}=nu({...e,labelElementType:"span"}),{gridProps:d}=P0({...e,...i,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=pt({onFocusWithinChange:f}),m=_(e),b=o.useRef(t.collection.size);return o.useEffect(()=>{u.current&&b.current>0&&t.collection.size===0&&c&&u.current.focus(),b.current=t.collection.size},[t.collection.size,c,u]),Y1.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 J1={};J1={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var Q1={};Q1={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var X1={};X1={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var em={};em={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var tm={};tm={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var um={};um={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var nm={};nm={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var rm={};rm={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var am={};am={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var im={};im={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var lm={};lm={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var om={};om={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var sm={};sm={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var dm={};dm={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var cm={};cm={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var fm={};fm={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var pm={};pm={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var mm={};mm={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var bm={};bm={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var hm={};hm={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var $m={};$m={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var gm={};gm={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var Dm={};Dm={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var ym={};ym={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var vm={};vm={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var xm={};xm={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Cm={};Cm={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var Em={};Em={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var Bm={};Bm={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var km={};km={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Pm={};Pm={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Sm={};Sm={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var Am={};Am={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var wm={};wm={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var Fm={};Fm={"ar-AE":J1,"bg-BG":Q1,"cs-CZ":X1,"da-DK":em,"de-DE":tm,"el-GR":um,"en-US":nm,"es-ES":rm,"et-EE":am,"fi-FI":im,"fr-FR":lm,"he-IL":om,"hr-HR":sm,"hu-HU":dm,"it-IT":cm,"ja-JP":fm,"ko-KR":pm,"lt-LT":mm,"lv-LV":bm,"nb-NO":hm,"nl-NL":$m,"pl-PL":gm,"pt-BR":Dm,"pt-PT":ym,"ro-RO":vm,"ru-RU":xm,"sk-SK":Cm,"sl-SI":Em,"sr-SP":Bm,"sv-SE":km,"tr-TR":Pm,"uk-UA":Sm,"zh-CN":Am,"zh-TW":wm};function Q2(e){return e&&e.__esModule?e.default:e}function X2(e,t,u){let{item:n}=e,r=me(Q2(Fm),"@react-aria/tag"),a=ne(),{onRemove:i}=Y1.get(t)||{},{rowProps:l,gridCellProps:s,...d}=S0({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=zi();b==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(b="pointer");let h=i&&(b==="keyboard"||b==="virtual")?r.format("removeDescription"):"",g=Ct(h),v=n.key===t.selectionManager.focusedKey,E=t.selectionManager.focusedKey!=null,y=-1;!p&&(v||!E)&&(y=0);let C=_(n.props),B=Ai(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":g["aria-describedby"]}),gridCellProps:N(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!i}}const ey=o.createContext(null),ty=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Ue=o.createContext({}),dt=jr(function(t,u){[t,u]=q(t,u,Ue),t=uy(t);let n=t,{isPending:r}=n,{buttonProps:a,isPressed:i}=Hd(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=oe(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=H({...t,values:p,defaultClassName:"react-aria-Button"}),b=ne(a.id),h=ne(),g=a["aria-labelledby"];r&&(g?g=`${g} ${h}`:a["aria-label"]&&(g=`${b} ${h}`));let v=o.useRef(r);return o.useEffect(()=>{let E={"aria-labelledby":g||b};(!v.current&&s&&r||v.current&&s&&!r)&&Dt(E,"assertive"),v.current=r},[r,s,g,b]),o.createElement("button",{..._(t,{propNames:ty}),...N(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(ey.Provider,{value:{id:h}},m.children))});function uy(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 Ke=o.createContext({}),Qr=o.forwardRef(function(t,u){[t,u]=q(t,u,Ke);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),mt=o.createContext(null),Tm=o.forwardRef(function(t,u){let n=o.useContext(mt);return n!=null&&n.isInvalid?o.createElement(ny,{...t,ref:u}):null}),ny=o.forwardRef((e,t)=>{let u=o.useContext(mt),n=_(e),r=H({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(Qr,{slot:"errorMessage",...n,...r,ref:t})});function Ou(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function bi(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=pu(e,t,u).subtract(a);return An(e,i,t,u,n,r)}function pu(e,t,u,n,r){let a=e;return t.years?a=Mg(e):t.months?a=Du(e):t.weeks&&(a=En(e,u)),An(e,a,t,u,n,r)}function hi(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=pu(e,t,u).subtract(a);return An(e,i,t,u,n,r)}function An(e,t,u,n,r,a){if(r&&e.compare(r)>=0){let i=Ui(t,pu(Le(r),u,n));i&&(t=i)}if(a&&e.compare(a)<=0){let i=Hi(t,hi(Le(a),u,n));i&&(t=i)}return t}function Ht(e,t,u){if(t){let n=Ui(e,Le(t));n&&(e=n)}if(u){let n=Hi(e,Le(u));n&&(e=n)}return e}function Rm(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 Km(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),g=o.useMemo(()=>b?be(Le(b),p):null,[b,p]),v=o.useMemo(()=>b&&"timeZone"in b?b.timeZone:u.timeZone,[b,u.timeZone]),E=o.useMemo(()=>e.focusedValue?Ht(be(Le(e.focusedValue),p),i,l):void 0,[e.focusedValue,p,i,l]),y=o.useMemo(()=>Ht(e.defaultFocusedValue?be(Le(e.defaultFocusedValue),p):g||be(_i(v),p),i,l),[e.defaultFocusedValue,g,v,p,i,l]),[C,B]=Re(E,y,e.onFocusChange),[S,R]=o.useState(()=>{switch(s){case"start":return pu(C,a,n,i,l);case"end":return hi(C,a,n,i,l);case"center":default:return bi(C,a,n,i,l)}}),[$,T]=o.useState(e.autoFocus||!1),A=o.useMemo(()=>{let L={...a};return L.days?L.days--:L.days=-1,S.add(L)},[S,a]),[k,z]=o.useState(p.identifier);if(p.identifier!==k){let L=be(C,p);R(bi(L,a,n,i,l)),B(L),z(p.identifier)}Ou(C,i,l)?B(Ht(C,i,l)):C.compare(S)<0?R(hi(C,a,n,i,l)):C.compare(A)>0&&R(pu(C,a,n,i,l));function x(L){L=Ht(L,i,l),B(L)}function w(L){if(!e.isDisabled&&!e.isReadOnly){let U=L;if(U===null){h(null);return}if(U=Ht(U,i,l),U=Rm(U,S,d),!U)return;U=be(U,(b==null?void 0:b.calendar)||new He),b&&"hour"in b?h(b.set(U)):h(U)}}let V=o.useMemo(()=>g?d&&d(g)?!0:Ou(g,i,l):!1,[g,d,i,l]),F=e.isInvalid||e.validationState==="invalid"||V,K=F?"invalid":null,P=o.useMemo(()=>c==="visible"?a:za(a),[c,a]);var I,j;return{isDisabled:(I=e.isDisabled)!==null&&I!==void 0?I:!1,isReadOnly:(j=e.isReadOnly)!==null&&j!==void 0?j:!1,value:g,setValue:w,visibleRange:{start:S,end:A},minValue:i,maxValue:l,focusedDate:C,timeZone:v,validationState:K,isValueInvalid:F,setFocusedDate(L){x(L),T(!0)},focusNextDay(){x(C.add({days:1}))},focusPreviousDay(){x(C.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&x(C.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&x(C.subtract({weeks:1}))},focusNextPage(){let L=S.add(P);B(Ht(C.add(P),i,l)),R(pu(An(C,L,P,n,i,l),P,n))},focusPreviousPage(){let L=S.subtract(P);B(Ht(C.subtract(P),i,l)),R(pu(An(C,L,P,n,i,l),P,n))},focusSectionStart(){a.days?x(S):a.weeks?x(En(C,n)):(a.months||a.years)&&x(Du(C))},focusSectionEnd(){a.days?x(A):a.weeks?x(Ng(C,n)):(a.months||a.years)&&x(Dr(C))},focusNextSection(L){if(!L&&!a.days){x(C.add(za(a)));return}a.days?this.focusNextPage():a.weeks?x(C.add({months:1})):(a.months||a.years)&&x(C.add({years:1}))},focusPreviousSection(L){if(!L&&!a.days){x(C.subtract(za(a)));return}a.days?this.focusPreviousPage():a.weeks?x(C.subtract({months:1})):(a.months||a.years)&&x(C.subtract({years:1}))},selectFocusedDate(){d&&d(C)||w(C)},selectDate(L){w(L)},isFocused:$,setFocused:T,isInvalid(L){return Ou(L,i,l)},isSelected(L){return g!=null&&Be(L,g)&&!this.isCellDisabled(L)&&!this.isCellUnavailable(L)},isCellFocused(L){return $&&C&&Be(L,C)},isCellDisabled(L){return e.isDisabled||L.compare(S)<0||L.compare(A)>0||this.isInvalid(L)},isCellUnavailable(L){return e.isDateUnavailable?e.isDateUnavailable(L):!1},isPreviousVisibleRangeInvalid(){let L=S.subtract({days:1});return Be(L,S)||this.isInvalid(L)},isNextVisibleRangeInvalid(){let L=A.add({days:1});return Be(L,A)||this.isInvalid(L)},getDatesInWeek(L,U=S){let Q=U.add({weeks:L}),X=[];Q=En(Q,n,f);let pe=ji(Q,n,f);for(let ie=0;ie<pe;ie++)X.push(null);for(;X.length<7;){X.push(Q);let ie=Q.add({days:1});if(Be(Q,ie))break;Q=ie}for(;X.length<7;)X.push(null);return X}}}function za(e){let t={...e};for(let u in e)t[u]=1;return t}function ry(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=bi(Le(c.start),i,a,l,s).add(i).subtract({days:1});c.end.compare(P)>0&&(b="start")}let h=o.useRef(null),[g,v]=o.useState(null),E=o.useMemo(()=>Ui(l,g==null?void 0:g.start),[l,g]),y=o.useMemo(()=>Hi(s,g==null?void 0:g.end),[s,g]),C=Km({...d,value:c&&c.start,createCalendar:r,locale:a,visibleDuration:i,minValue:E,maxValue:y,selectionAlignment:b}),B=K=>{if(K&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const P=Uo(K,C,-1),I=Uo(K,C,1);h.current={start:P,end:I},v(h.current)}else h.current=null,v(null)},[S,R]=o.useState(C.visibleRange);(!Qa(C.visibleRange.start,S.start)||!Qa(C.visibleRange.end,S.end))&&(B(p),R(C.visibleRange));let $=K=>{K?(m(K),B(K)):(m(null),B(null))},T=p?Va(p,C.focusedDate):c&&Va(c.start,c.end),A=K=>{if(e.isReadOnly)return;const P=Ht(K,E,y),I=Rm(P,C.visibleRange.start,e.isDateUnavailable);if(I)if(!p)$(I);else{let j=Va(p,I);j&&f({start:Ho(j.start,c==null?void 0:c.start),end:Ho(j.end,c==null?void 0:c.end)}),$(null)}},[k,z]=o.useState(!1),{isDateUnavailable:x}=e,w=o.useMemo(()=>!c||p?!1:x&&(x(c.start)||x(c.end))?!0:Ou(c.start,l,s)||Ou(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(K){p&&C.setFocusedDate(K)},isSelected(K){return!!(T&&K.compare(T.start)>=0&&K.compare(T.end)<=0&&!C.isCellDisabled(K)&&!C.isCellUnavailable(K))},isInvalid(K){var P,I;return C.isInvalid(K)||Ou(K,(P=h.current)===null||P===void 0?void 0:P.start,(I=h.current)===null||I===void 0?void 0:I.end)},isDragging:k,setDragging:z}}function Va(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Le(e),end:Le(t)})}function Ho(e,t){return e=be(e,(t==null?void 0:t.calendar)||new He),t&&"hour"in t?t.set(e):e}function Uo(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=Bt({...e,value:t}),i=a.displayValidation.isInvalid;var l;return{...a,value:t,setValue(d){e.isReadOnly||e.isDisabled||u(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||u(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&u(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?u(t.filter(c=>c!==d)):u(t.concat(d)))},setInvalid(d,c){let f=new Map(r.current);c.isInvalid?f.set(d,c):f.delete(d),r.current=f,a.updateValidation(Sn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:i?"invalid":null,isInvalid:i,isRequired:n}}class $i{*[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 iy(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function Nn(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(()=>Wo(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>Wo(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]),[g,v]=o.useState(r);r==="replace"&&g==="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: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,C="first"){s.current=y,d.current=C,c(y)},selectedKeys:m,setSelectedKeys(y){(n||!iy(y,m))&&b(y)},disabledKeys:h,disabledBehavior:a}}function Wo(e,t){return e?e==="all"?"all":new ot(e):t}class Xr{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&&Ta(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&&Ta(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?Ta(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(De(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 ea(e){let{filter:t,layoutDelegate:u}=e,n=Nn(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=o.useCallback(c=>t?new $i(t(c)):new $i(c),[t]),i=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=al(e,a,i),s=o.useMemo(()=>new Xr(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,g;B>((h=v==null?void 0:v.index)!==null&&h!==void 0?h: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 pl(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}=ea({...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 qu(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 ly(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:a,shouldCloseOnBlur:i=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),m=ue=>{e.onSelectionChange&&e.onSelectionChange(ue),ue===v&&(X(),L())};var b;let{collection:h,selectionManager:g,selectedKey:v,setSelectedKey:E,selectedItem:y,disabledKeys:C}=pl({...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:oy(h,$,u),[h,$,u,e.items]),[z,x]=o.useState(k),w=o.useRef("focus"),F=qu({...e,onOpenChange:ue=>{e.onOpenChange&&e.onOpenChange(ue,ue?w.current:void 0),g.setFocused(ue),ue||g.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),K=(ue=null,$e)=>{let Ae=$e==="manual"||$e==="focus"&&n==="focus";(r||k.size>0||Ae&&A.size>0||e.items)&&(Ae&&!F.isOpen&&e.items===void 0&&s(!0),w.current=$e,p(ue),F.open())},P=(ue=null,$e)=>{let Ae=$e==="manual"||$e==="focus"&&n==="focus";!(r||k.size>0||Ae&&A.size>0||e.items)&&!F.isOpen||(Ae&&!F.isOpen&&e.items===void 0&&s(!0),F.isOpen||(w.current=$e),j(ue))},I=o.useCallback(()=>{x(l?A:k)},[l,A,k]),j=o.useCallback((ue=null)=>{F.isOpen&&I(),p(ue),F.toggle()},[F,I]),L=o.useCallback(()=>{F.isOpen&&(I(),F.close())},[F,I]),[U,Q]=o.useState($),X=()=>{var ue,$e;let Ae=v!=null&&($e=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&$e!==void 0?$e:"";Q(Ae),T(Ae)};var pe,ie;let se=o.useRef((ie=(pe=e.selectedKey)!==null&&pe!==void 0?pe:e.defaultSelectedKey)!==null&&ie!==void 0?ie:null);var M;let W=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"&&K(null,"input"),!l&&!r&&F.isOpen&&k.size===0&&L(),v!=null&&v!==se.current&&L(),$!==U&&(g.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 $e;let Ae=v!=null&&($e=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&$e!==void 0?$e:"";!d&&v!=null&&e.inputValue===void 0&&v===se.current&&W.current!==Ae&&(Q(Ae),T(Ae)),se.current=v,W.current=Ae});let Y=Bt({...e,value:o.useMemo(()=>({inputValue:$,selectedKey:v}),[$,v])}),O=()=>{a&&v==null?G():le()},G=()=>{se.current=null,E(null),L()},le=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ue,$e;(ue=e.onSelectionChange)===null||ue===void 0||ue.call(e,v);var Ae;let Th=v!=null&&(Ae=($e=h.getItem(v))===null||$e===void 0?void 0:$e.textValue)!==null&&Ae!==void 0?Ae:"";Q(Th),L()}else X(),L()};const qe=()=>{if(a){var ue,$e;const Ae=v!=null&&($e=(ue=h.getItem(v))===null||ue===void 0?void 0:ue.textValue)!==null&&$e!==void 0?$e:"";$===Ae?le():G()}else le()};let re=()=>{F.isOpen&&g.focusedKey!=null?v===g.focusedKey?le():E(g.focusedKey):qe()},_t=o.useRef($),iu=ue=>{ue?(_t.current=$,n==="focus"&&!e.isReadOnly&&K(null,"focus")):(i&&qe(),$!==_t.current&&Y.commitValidation()),c(ue)},Fh=o.useMemo(()=>F.isOpen?l?A:k:z,[F.isOpen,A,k,l,z]);return{...Y,...F,focusStrategy:f,toggle:P,open:K,close:qe,selectionManager:g,selectedKey:v,setSelectedKey:E,disabledKeys:C,isFocused:d,setFocused:iu,selectedItem:y,collection:Fh,inputValue:$,setInputValue:T,commit:re,revert:O}}function oy(e,t,u){return new $i(Im(e,e,t,u))}function Im(e,t,u,n){let r=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let i=Im(e,De(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 Mm={};Mm={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var zm={};zm={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var Vm={};Vm={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 Nm={};Nm={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 Lm={};Lm={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 jm={};jm={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var _m={};_m={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 Om={};Om={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 Hm={};Hm={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 Um={};Um={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 Wm={};Wm={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 Gm={};Gm={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var Zm={};Zm={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 qm={};qm={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 Ym={};Ym={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 Jm={};Jm={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Qm={};Qm={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var Xm={};Xm={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 eb={};eb={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 tb={};tb={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 ub={};ub={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 nb={};nb={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 rb={};rb={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 ab={};ab={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 ib={};ib={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 lb={};lb={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var ob={};ob={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 sb={};sb={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 db={};db={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 cb={};cb={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 fb={};fb={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 pb={};pb={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};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={"ar-AE":Mm,"bg-BG":zm,"cs-CZ":Vm,"da-DK":Nm,"de-DE":Lm,"el-GR":jm,"en-US":_m,"es-ES":Om,"et-EE":Hm,"fi-FI":Um,"fr-FR":Wm,"he-IL":Gm,"hr-HR":Zm,"hu-HU":qm,"it-IT":Ym,"ja-JP":Jm,"ko-KR":Qm,"lt-LT":Xm,"lv-LV":eb,"nb-NO":tb,"nl-NL":ub,"pl-PL":nb,"pt-BR":rb,"pt-PT":ab,"ro-RO":ib,"ru-RU":lb,"sk-SK":ob,"sl-SI":sb,"sr-SP":db,"sv-SE":cb,"tr-TR":fb,"uk-UA":pb,"zh-CN":mb,"zh-TW":bb};function sy(e){return e&&e.__esModule?e.default:e}const $b=new uu(sy(hb));function gb(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function Fr(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=gb(),f=uu.getGlobalDictionaryForPackage("@react-stately/datepicker")||$b,p=new md(c,f),m=new nt(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 dy(e,t,u,n,r){var a;let i=Fr((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,u,n,r);var l;let s=Fr((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=Sn(i,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=uu.getGlobalDictionaryForPackage("@react-stately/datepicker")||$b;d=Sn(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",gb())],validationDetails:{...Gr,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const cy={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},fy={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function It(e,t){e={...t.shouldForceLeadingZeros?fy:cy,...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 zu(e){return e&&"hour"in e?e:new Ji}function Db(e,t){if(e===null)return null;if(e)return be(e,t)}function un(e,t,u,n){if(e)return Db(e,u);let r=be($d(n??Oi()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?Le(r):n?r:xt(r)}function ml(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 py(e){let t=qu(e),[u,n]=Re(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[a,i]=ml(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",g=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(()=>Fr(u,v,E,y,g),[u,v,E,y,g]),B=Bt({...e,value:u,builtinValidation:C}),S=B.displayValidation.isInvalid,R=e.validationState||(S?"invalid":null),$=(k,z)=>{n("timeZone"in z?z.set(Le(k)):xt(k,z)),p(null),b(null),B.commitValidation()};return{...B,value:u,setValue:n,dateValue:f,timeValue:m,setDateValue:k=>{let z=typeof c=="function"?c():c;s?m||z?$(k,m||zu(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||zu(e.defaultValue||e.placeholderValue)),t.setOpen(k)},validationState:R,isInvalid:S,formatValue(k,z){if(!l)return"";let x=It(z,g);return new nt(k,x).format(l)},getDateFormatter(k,z){let x={...g,...z},w=It({},x);return new nt(k,w)}}}const my=new uu({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 by(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?my.getStringForLocale(e,u):"––"}const ur={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Go={year:5,month:2,day:7,hour:2,minute:15,second:15},hy={dayperiod:"dayPeriod"};function $y(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:r=!1,isReadOnly:a=!1,isRequired:i=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=ml(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 g;let[v,E]=Re(e.value,(g=e.defaultValue)!==null&&g!==void 0?g:null,e.onChange),y=o.useMemo(()=>{var M;return(M=Db(v,h))!==null&&M!==void 0?M:null},[v,h]),[C,B]=o.useState(()=>un(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(()=>It({},$),[$]),A=o.useMemo(()=>new nt(t,T),[t,T]),k=o.useMemo(()=>A.resolvedOptions(),[A]),z=o.useMemo(()=>A.formatToParts(new Date).filter(M=>ur[M.type]).reduce((M,W)=>(M[W.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?be(M,h):un(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(un(e.placeholderValue,f,h,p)));let K=y&&Object.keys(x).length>=Object.keys(z).length?y:C,P=M=>{if(e.isDisabled||e.isReadOnly)return;let W=Object.keys(x),Y=Object.keys(z);M==null?(E(null),B(un(e.placeholderValue,f,h,p)),w({})):W.length>=Y.length||W.length===Y.length-1&&z.dayPeriod&&!x.dayPeriod&&V.current!=="dayPeriod"?(M=be(M,(c==null?void 0:c.calendar)||new He),E(M)):B(M),V.current=null},I=o.useMemo(()=>K.toDate(m),[K,m]),j=o.useMemo(()=>A.formatToParts(I).map(M=>{let W=ur[M.type];M.type==="era"&&h.getEras().length===1&&(W=!1);let Y=ur[M.type]&&!x[M.type],O=ur[M.type]?by(M.type,M.value,t):null;return{type:hy[M.type]||M.type,text:Y?O:M.value,...gy(K,M.type,k),isPlaceholder:Y,placeholder:O,isEditable:W}}),[I,x,A,k,K,h,t]);z.era&&x.year&&!x.era?(x.era=!0,w({...x})):!z.era&&x.era&&(delete x.era,w({...x}));let L=M=>{x[M]=!0,M==="year"&&z.era&&(x.era=!0),w({...x})},U=(M,W)=>{if(x[M])P(Dy(K,M,W,k));else{L(M);let Y=Object.keys(x),O=Object.keys(z);(Y.length>=O.length||Y.length===O.length-1&&z.dayPeriod&&!x.dayPeriod)&&P(K)}},Q=o.useMemo(()=>Fr(v,l,s,d,$),[v,l,s,d,$]),X=Bt({...e,value:v,builtinValidation:Q}),pe=X.displayValidation.isInvalid,ie=e.validationState||(pe?"invalid":null);var se;return{...X,value:y,dateValue:I,calendar:h,setValue:P,segments:j,dateFormatter:A,validationState:ie,isInvalid:pe,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,Go[M]||1)},decrementPage(M){U(M,-(Go[M]||1))},setSegment(M,W){L(M),P(yy(K,M,W,k))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let M=Object.keys(x),W=Object.keys(z);M.length===W.length-1&&z.dayPeriod&&!x.dayPeriod&&(x={...z},w(x),P(K.copy()))},clearSegment(M){delete x[M],V.current=M,w({...x});let W=un(e.placeholderValue,f,h,p),Y=K;if(M==="dayPeriod"&&"hour"in K&&"hour"in W){let O=K.hour>=12,G=W.hour>=12;O&&!G?Y=K.set({hour:K.hour-12}):!O&&G&&(Y=K.set({hour:K.hour+12}))}else M in K&&(Y=K.set({[M]:W[M]}));E(null),P(Y)},formatValue(M){if(!y)return"";let W=It(M,$);return new nt(t,W).format(I)},getDateFormatter(M,W){let Y={...$,...W},O=It({},Y);return new nt(M,O)}}}function gy(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:zg(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:Vg(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 Dy(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 yy(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 vy(e){var t,u;let n=qu(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}),lu(F)?a(F):a(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=ml(c,e.granularity),m=f==="hour"||f==="minute"||f==="second";var b;let h=(b=e.shouldCloseOnSelect)!==null&&b!==void 0?b:!0,[g,v]=o.useState(null),[E,y]=o.useState(null);s&&lu(s)&&(g=s,"hour"in s.start&&(E=s));let C=(F,K)=>{d({start:"timeZone"in K.start?K.start.set(Le(F.start)):xt(F.start,K.start),end:"timeZone"in K.end?K.end.set(Le(F.end)):xt(F.end,K.end)}),v(null),y(null),x.commitValidation()},B=F=>{let K=typeof h=="function"?h():h;m?lu(F)&&(E!=null&&E.start)&&(E!=null&&E.end)?C(F,{start:(E==null?void 0:E.start)||zu(e.placeholderValue),end:(E==null?void 0:E.end)||zu(e.placeholderValue)}):v(F):lu(F)?(d(F),x.commitValidation()):v(F),K&&n.setOpen(!1)},S=F=>{lu(g)&&lu(F)?C(g,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(()=>dy(s,T,A,k,$),[s,T,A,k,$]),x=Bt({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(F=>F!=null),[e.startName,e.endName]),builtinValidation:z}),w=x.displayValidation.isInvalid,V=e.validationState||(w?"invalid":null);return{...x,value:s,setValue:d,dateRange:g,timeRange:E,granularity:f,hasTime:m,setDate(F,K){var P,I;B(F==="start"?{start:K,end:(P=g==null?void 0:g.end)!==null&&P!==void 0?P:null}:{start:(I=g==null?void 0:g.start)!==null&&I!==void 0?I:null,end:K})},setTime(F,K){var P,I;S(F==="start"?{start:K,end:(P=E==null?void 0:E.end)!==null&&P!==void 0?P:null}:{start:(I=E==null?void 0:E.start)!==null&&I!==void 0?I:null,end:K})},setDateTime(F,K){var P,I;d(F==="start"?{start:K,end:(P=s==null?void 0:s.end)!==null&&P!==void 0?P:null}:{start:(I=s==null?void 0:s.start)!==null&&I!==void 0?I:null,end:K})},setDateRange:B,setTimeRange:S,...n,setOpen(F){!F&&!(s!=null&&s.start&&(s!=null&&s.end))&&lu(g)&&m&&C(g,{start:(E==null?void 0:E.start)||zu(e.placeholderValue),end:(E==null?void 0:E.end)||zu(e.placeholderValue)}),n.setOpen(F)},validationState:V,isInvalid:w,formatValue(F,K){if(!s||!s.start||!s.end)return null;let P="timeZone"in s.start?s.start.timeZone:void 0,I=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),j="timeZone"in s.end?s.end.timeZone:void 0,L=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),U=It(K,{granularity:I,timeZone:P,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),Q=s.start.toDate(P||"UTC"),X=s.end.toDate(j||"UTC"),pe=new nt(F,U),ie;if(P===j&&I===L&&s.start.compare(s.end)!==0){try{let se=pe.formatRangeToParts(Q,X),M=-1;for(let O=0;O<se.length;O++){let G=se[O];if(G.source==="shared"&&G.type==="literal")M=O;else if(G.source==="endRange")break}let W="",Y="";for(let O=0;O<se.length;O++)O<M?W+=se[O].value:O>M&&(Y+=se[O].value);return{start:W,end:Y}}catch{}ie=pe}else{let se=It(K,{granularity:L,timeZone:j,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ie=new nt(F,se)}return{start:pe.format(Q),end:ie.format(X)}},getDateFormatter(F,K){let P={...$,...K},I=It({},P);return new nt(F,I)}}}function lu(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function xy(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 Cy(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 Ey(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,...By({getKey:n},l),getItem(d){return i.items.find(c=>n(c)===d)}}}function By(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=>nn(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 nn(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 nn(i,l+1,...a)})},prepend(...r){t(a=>nn(a,0,...r))},append(...r){t(a=>nn(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 Zo(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 Zo(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 nn(e,t,...u){return{...e,items:[...e.items.slice(0,t),...u,...e.items.slice(t)]}}function Zo(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 yb(e){let t=qu(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 ky=Math.round(Math.random()*1e10),Py=0;function Sy(e){let t=o.useMemo(()=>e.name||`radio-group-${ky}-${++Py}`,[e.name]);var u;let[n,r]=Re(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[a,i]=o.useState(null),l=Bt({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(r(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function Ay(e){let[t,u]=Re(qo(e.value),qo(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function qo(e){if(e!=null)return e.toString()}function wy(e){let t=qu(e),[u,n]=o.useState(null),r=pl({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close(),a.commitValidation()}}),a=Bt({...e,value:r.selectedKey}),[i,l]=o.useState(!1);return{...a,...r,...t,focusStrategy:u,open(s=null){r.collection.size!==0&&(n(s),t.open())},toggle(s=null){r.collection.size!==0&&(n(s),t.toggle())},isFocused:i,setFocused:l}}function Fy(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||Nn(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=De(b,t);var p,m;d==="last"?s=(p=(c=Kt(h))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(m=(f=Ft(h))===null||f===void 0?void 0:f.key)!==null&&m!==void 0?m:null}}a(s,d)};let i=o.useMemo(()=>new Xr(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?[...De(b,t)]:[],g=b.hasChildNodes&&d!==s&&s&&s.index<h.length?h[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 Ty{*[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 gi="row-header-column-"+Math.random().toString(36).slice(2);for(;vb===gi;)gi="row-header-column-"+Math.random().toString(36).slice(2);function xb(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 g=h;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((h,g)=>{var v;return h+((v=g.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 Ry extends Ty{*[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=Kt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys;if(n){let r=[];for(let a of u.childNodes){let i=this.columns[a.index];if(n.has(i.key)&&a.textValue&&r.push(a.textValue),r.length===n.size)break}return r.join(" ")}return""}constructor(t,u,n){let r=new Set,a=null,i=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key: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:gi,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=xb(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 Ky={ascending:"descending",descending:"ascending"};function Iy(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=al(e,o.useCallback(f=>new Ry(f,null,i),[i]),i),{disabledKeys:s,selectionManager:d}=Fy({...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?Ky[e.sortDescriptor.direction]:"ascending")})}}}function My(e){var t,u;let n=pl({...e,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:Yo(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=Yo(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 Yo(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}class zy{*[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 Vy(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=Nn(e),a=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=al(e,o.useCallback(s=>new zy(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(Ny(u,s))},setExpandedKeys:n,selectionManager:new Xr(i,r)}}function Ny(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const jt=o.createContext(null),Yu=o.createContext({}),Ln=o.forwardRef(function(t,u){[t,u]=q(t,u,Yu);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}=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,g;return o.createElement("div",{...N(s,m,d),...b,ref:u,role:(h=t.role)!==null&&h!==void 0?h:"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)}),vu=o.createContext({});let Ly=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const jn=jr(function(t,u){[t,u]=q(t,u,vu);let{hoverProps:n,isHovered:r}=ve(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(Ly(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})}),jy=o.createContext(null),_y=o.forwardRef(function(t,u){[t,u]=q(t,u,jy);let{validationBehavior:n}=Ve(jt)||{};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,vu),[c,f]=ct(),p=Ay({...t,validationBehavior:i}),{labelProps:m,inputProps:b,clearButtonProps:h,descriptionProps:g,errorMessageProps:v,...E}=w2({...Mt(t),label:f,validationBehavior:i},p,d),y=H({...t,values:{isEmpty:p.value==="",isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid||!1,state:p},defaultClassName:"react-aria-SearchField"}),C=_(t);return delete C.id,o.createElement("div",{...C,...y,ref:u,slot:t.slot||void 0,"data-empty":p.value===""||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":E.isInvalid||void 0},o.createElement(te,{values:[[Et,{...m,ref:c}],[vu,{...N(b,s),ref:d}],[Ue,h],[Ke,{slots:{description:g,errorMessage:v}}],[Yu,{isInvalid:E.isInvalid,isDisabled:t.isDisabled||!1}],[mt,E]]},y.children))}),Cb=o.createContext({});let Oy=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const Hy=o.forwardRef(function(t,u){[t,u]=q(t,u,Cb);let{hoverProps:n,isHovered:r}=ve(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(Oy(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})}),Uy=o.createContext(null),Eb=o.forwardRef(function(t,u){[t,u]=q(t,u,Uy);let{validationBehavior:n}=Ve(jt)||{};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,vu),[c,f]=ct(),[p,m]=o.useState("input"),{labelProps:b,inputProps:h,descriptionProps:g,errorMessageProps:v,...E}=nl({...Mt(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:[[Et,{...b,ref:c}],[vu,{...N(h,s),ref:y}],[Cb,{...h,ref:y}],[Ke,{slots:{description:g,errorMessage:v}}],[mt,E]]},C.children))}),Bb=o.createContext(null),kb=o.createContext(null),Ju={CollectionRoot({collection:e,renderDropIndicator:t}){return Jo(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return Jo(e,t,u)}};function Jo(e,t,u){return Ti({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 he=o.createContext(Ju);function bl(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const Pb=o.createContext(null),Sb=o.forwardRef(function(t,u){[t,u]=q(t,u,Pb);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:a}=Dg({...t,elementType:n},u),{hoverProps:i,isHovered:l}=ve(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)}),Di=o.createContext(null),Wy=o.forwardRef(function(t,u){[t,u]=q(t,u,Di);let{CollectionRoot:n}=o.useContext(he),{navProps:r}=VD(t);return o.createElement(Nt,{content:o.createElement(ft,t)},a=>{var i;return o.createElement("ol",{ref:u,...r,slot:t.slot||void 0,style:t.style,className:(i=t.className)!==null&&i!==void 0?i:"react-aria-Breadcrumbs"},o.createElement(Di.Provider,{value:t},o.createElement(n,{collection:a})))})}),Gy=Lt("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:a,onAction:i}=Ve(Di),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(Pb.Provider,{value:l},s.children))}),Tr=o.createContext(null),Rr=o.createContext(null),ta=o.createContext(null),ua=o.createContext(null),Zy=o.forwardRef(function(t,u){[t,u]=q(t,u,Tr);let{locale:n}=fe(),r=Km({...t,locale:n,createCalendar:tl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=OD(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:[[Ue,{slots:{previous:i,next:l}}],[zr,{"aria-hidden":!0,level:2,children:d}],[ta,r],[Tr,t],[Ke,{slots:{errorMessage:s}}]]},o.createElement(Xt,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(Xt,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),qy=o.forwardRef(function(t,u){[t,u]=q(t,u,Rr);let{locale:n}=fe(),r=ry({...t,locale:n,createCalendar:tl}),{calendarProps:a,prevButtonProps:i,nextButtonProps:l,errorMessageProps:s,title:d}=HD(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:[[Ue,{slots:{previous:i,next:l}}],[zr,{"aria-hidden":!0,level:2,children:d}],[ua,r],[Rr,t],[Ke,{slots:{errorMessage:s}}]]},o.createElement(Xt,null,o.createElement("h2",null,a["aria-label"])),c.children,o.createElement(Xt,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),na=o.createContext(null),Ab=o.forwardRef(function(t,u){let n=o.useContext(ta),r=o.useContext(ua),a=Ve(Tr),i=Ve(Rr),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}=UD({startDate:s,endDate:Dr(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var b;return o.createElement(na.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(Jy,null,h=>o.createElement(Xy,null,h)),o.createElement(tv,null,t.children))))});function Yy(e,t){let{children:u,style:n,className:r}=e,{headerProps:a,weekDays:i}=o.useContext(na);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 Jy=o.forwardRef(Yy);function Qy(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 Xy=o.forwardRef(Qy);function ev(e,t){let{children:u,style:n,className:r}=e,a=o.useContext(ta),i=o.useContext(ua),l=a??i,{startDate:s,firstDayOfWeek:d}=o.useContext(na),{locale:c}=fe(),f=_g(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 tv=o.forwardRef(ev),wb=o.forwardRef(function({date:t,...u},n){let r=o.useContext(ta),a=o.useContext(ua),i=r??a;var l;let{startDate:s}=(l=o.useContext(na))!==null&&l!==void 0?l:{startDate:i.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=GD({date:t},i,d),{hoverProps:m,isHovered:b}=ve({...u,isDisabled:p.isDisabled}),{focusProps:h,isFocusVisible:g}=oe();g&&(g=p.isFocused);let v=!Rg(s,t),E=!1,y=!1;"highlightedRange"in i&&i.highlightedRange&&(E=Be(t,i.highlightedRange.start),y=Be(t,i.highlightedRange.end));let C=H({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:b,isOutsideMonth:v,isFocusVisible:g,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":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":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}))}),uv=o.createContext(null),hl=o.createContext(null),nv=o.forwardRef(function(t,u){[t,u]=q(t,u,uv);let{validationBehavior:n}=Ve(jt)||{};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]=ct(),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=t6({...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:[[hl,l],[Et,{...f,ref:s,elementType:"span"}],[Ke,{slots:{description:p,errorMessage:m}}],[mt,b]]},h.children))}),rv=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=q(r,u,Mr);let{validationBehavior:a}=Ve(jt)||{};var i,l;let s=(l=(i=t.validationBehavior)!==null&&i!==void 0?i:a)!==null&&l!==void 0?l:"native",d=o.useContext(hl),c=ge(Cu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:m,isDisabled:b,isReadOnly:h,isPressed:g,isInvalid:v}=d?u6({...Mt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):Ac({...Mt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},Tc(t),c),{isFocused:E,isFocusVisible:y,focusProps:C}=oe(),B=b||h,{hoverProps:S,isHovered:R}=ve({...t,isDisabled:B}),$=H({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:g,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":g||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(Xt,{elementType:"span"},o.createElement("input",{...N(p,C),ref:c})),$.children)});var Fb={};Fb={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var Tb={};Tb={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var Rb={};Rb={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var Kb={};Kb={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var Ib={};Ib={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var Mb={};Mb={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var zb={};zb={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var Vb={};Vb={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var Nb={};Nb={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var Lb={};Lb={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var jb={};jb={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var _b={};_b={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var Ob={};Ob={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var Hb={};Hb={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var Ub={};Ub={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var Wb={};Wb={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var Gb={};Gb={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var Zb={};Zb={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var qb={};qb={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var Yb={};Yb={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var Jb={};Jb={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var Qb={};Qb={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var Xb={};Xb={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var e5={};e5={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var t5={};t5={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var u5={};u5={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var n5={};n5={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var r5={};r5={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var a5={};a5={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var i5={};i5={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var l5={};l5={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var o5={};o5={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var s5={};s5={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var d5={};d5={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var $l={};$l={"ar-AE":Fb,"bg-BG":Tb,"cs-CZ":Rb,"da-DK":Kb,"de-DE":Ib,"el-GR":Mb,"en-US":zb,"es-ES":Vb,"et-EE":Nb,"fi-FI":Lb,"fr-FR":jb,"he-IL":_b,"hr-HR":Ob,"hu-HU":Hb,"it-IT":Ub,"ja-JP":Wb,"ko-KR":Gb,"lt-LT":Zb,"lv-LV":qb,"nb-NO":Yb,"nl-NL":Jb,"pl-PL":Qb,"pt-BR":Xb,"pt-PT":e5,"ro-RO":t5,"ru-RU":u5,"sk-SK":n5,"sl-SI":r5,"sr-SP":a5,"sv-SE":i5,"tr-TR":l5,"uk-UA":o5,"zh-CN":s5,"zh-TW":d5};const We=o.createContext({}),ra=o.createContext(null),av=o.forwardRef(function(t,u){let{render:n}=o.useContext(ra);return o.createElement(o.Fragment,null,n(t,u))});function aa(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 gl(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 c5=o.createContext({}),f5=o.createContext({}),_n=o.createContext(null),Ze=o.createContext(null),p5=o.forwardRef(function(t,u){[t,u]=q(t,u,_n);let n=o.useContext(Ze);return n?o.createElement(m5,{state:n,props:t,listBoxRef:u}):o.createElement(Nt,{content:o.createElement(ft,t)},r=>o.createElement(iv,{props:t,listBoxRef:u,collection:r}))});function iv({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext(he),{filterFn:r,collectionProps:a,collectionRef:i}=o.useContext(Bb)||{};t=ge(o.useMemo(()=>Cu(t,i!==void 0?i:null),[i,t]));let l=o.useMemo(()=>r?u.filter(r):u,[u,r]),s=ea({...e,collection:l,layoutDelegate:n});return o.createElement(m5,{state:s,props:{...e,...a},listBoxRef:t})}function m5({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=Bu({usage:"search",sensitivity:"base"}),{isVirtualized:b,layoutDelegate:h,dropTargetDelegate:g,CollectionRoot:v}=o.useContext(he),E=o.useMemo(()=>t.keyboardDelegate||new eu({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}=F6({...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||g||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}),K=null;return e.collection.size===0&&t.renderEmptyState&&(K=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(V))),o.createElement(Kn,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:[[_n,t],[Ze,e],[We,{dragAndDropHooks:n,dragState:S,dropState:R}],[f5,{elementType:"div"}],[ra,{render:ov}],[kb,{name:"ListBoxSection",render:lv}]]},o.createElement(v,{collection:i,scrollRef:u,persistedKeys:gl(l,n,R),renderDropIndicator:aa(n,R)})),K,A))}function lv(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Ze),{dragAndDropHooks:a,dropState:i}=o.useContext(We),{CollectionBranch:l}=o.useContext(he),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=I6({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(c5.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:aa(a,i)})))}const b5=Lt("item",function(t,u,n){let r=ge(u),a=o.useContext(Ze),{dragAndDropHooks:i,dragState:l,dropState:s}=o.useContext(We),{optionProps:d,labelProps:c,descriptionProps:f,...p}=K6({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}),h=null;l&&i&&(h=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),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: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,{...N(d,m,h==null?void 0:h.dragProps,g==null?void 0:g.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":(g==null?void 0:g.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},o.createElement(te,{values:[[Ke,{slots:{label:c,description:f}}]]},E.children))});function ov(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(We),{dropIndicatorProps:r,isHidden:a,isDropTarget:i}=u.useDropIndicator(e,n,t);return a?null:o.createElement(dv,{...e,dropIndicatorProps:r,isDropTarget:i,ref:t})}function sv(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 dv=o.forwardRef(sv),cv=o.createContext({placement:"bottom"}),ku=o.createContext(null),Qu=o.forwardRef(function(t,u){[t,u]=q(t,u,ku);let n=o.useContext(au),r=qu(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,i=A$(u,a.isOpen)||t.isExiting||!1;if(R$()){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(fv,{...t,triggerRef:t.triggerRef,state:a,popoverRef:u,isExiting:i})});function fv({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[a,i]=o.useState(0);Z(()=>{r.current&&e.isOpen&&i(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var l;let{popoverProps:s,underlayProps:d,arrowProps:c,placement:f}=C6({...n,offset:(l=n.offset)!==null&&l!==void 0?l:8,arrowSize:a},e),p=n.popoverRef,m=S$(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(k6,{...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(So,{onDismiss:e.close}),o.createElement(cv.Provider,{value:{...c,placement:f,ref:r}},b.children),o.createElement(So,{onDismiss:e.close})))}const pv=o.createContext({}),h5=o.createContext(null),Dl=o.createContext(null),yl=o.createContext(null),Kr=o.createContext(null);function mv(e){let t=yb(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=ll({...e,type:"menu"},t,u),[a,i]=o.useState(null),l=o.useCallback(()=>{u.current&&i(u.current.offsetWidth+"px")},[u]);bu({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(te,{values:[[h5,{...r,ref:s}],[au,t],[yl,t],[ku,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":a}}]]},o.createElement(Mi,{...n,ref:u,isPressed:t.isOpen},e.children))}const bv=o.createContext(null),hv=o.forwardRef(function(t,u){return[t,u]=q(t,u,h5),o.createElement(Nt,{content:o.createElement(ft,t)},n=>n.size>0&&o.createElement($v,{props:t,collection:n,menuRef:u}))});function $v({props:e,collection:t,menuRef:u}){let{filterFn:n,collectionProps:r,collectionRef:a}=o.useContext(Bb)||{};u=ge(o.useMemo(()=>Cu(u,a!==void 0?a:null),[a,u]));let i=o.useMemo(()=>n?t.filter(n):t,[t,n]),l=Vy({...e,collection:i,children:void 0}),s=o.useContext(yl),{isVirtualized:d,CollectionRoot:c}=o.useContext(he),{menuProps:f}=z6({...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(Kn,null,o.createElement("div",{..._(e),...f,...p,ref:u,slot:e.slot||void 0,onScroll:e.onScroll},o.createElement(te,{values:[[Dl,l],[f5,{elementType:"div"}],[kb,{name:"MenuSection",render:Dv}],[bv,{parentMenuRef:u}],[yi,null],[Kr,l.selectionManager]]},o.createElement(c,{collection:l.collection,persistedKeys:bl(l.selectionManager.focusedKey),scrollRef:u}))))}class gv extends Xr{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 Dv(e,t,u,n="react-aria-MenuSection"){var r,a;let i=o.useContext(Dl),{CollectionBranch:l}=o.useContext(he),[s,d]=ct();var c;let{headingProps:f,groupProps:p}=N6({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(Kr),h=Nn(e),g=e.selectionMode!=null?new gv(b,h):b;return o.createElement("section",{..._(e),...p,...m,ref:t},o.createElement(te,{values:[[c5,{...f,ref:s}],[Kr,g]]},o.createElement(l,{collection:i.collection,parent:u})))}const yi=o.createContext(null),yv=Lt("item",function(t,u,n){var r;[t,u]=q(t,u,yi);let a=(r=Ve(yi))===null||r===void 0?void 0:r.id,i=o.useContext(Dl),l=ge(u),s=o.useContext(Kr),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...m}=V6({...t,id:a,key:n.key,selectionManager:s},i,l),{isFocusVisible:b,focusProps:h}=oe(),{hoverProps:g,isHovered:v}=ve({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,g),...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:[[Ke,{slots:{label:c,description:f}}],[pv,p]]},E.children))}),ia=o.createContext(null),au=o.createContext(null);function vv(e){let t=yb(e),u=o.useRef(null),{triggerProps:n,overlayProps:r}=J4({type:"dialog"},t,u);return n.id=ne(),r["aria-labelledby"]=n.id,o.createElement(te,{values:[[au,t],[yl,t],[ia,r],[ku,{trigger:"DialogTrigger",triggerRef:u}]]},o.createElement(Mi,{...n,ref:u,isPressed:t.isOpen},e.children))}const $5=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=q(t,u,ia);let{dialogProps:r,titleProps:a}=X6({...t,"aria-labelledby":n},u),i=o.useContext(au);!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:[[zr,{slots:{[gt]:{},title:{...a,level:2}}}],[Ue,{slots:{[gt]:{},close:{onPress:()=>i==null?void 0:i.close()}}}]]},l.children))}),xv=o.createContext(null),Cv=o.createContext(null),Ev=o.forwardRef(function(t,u){[t,u]=q(t,u,xv);let{children:n,isDisabled:r=!1,isInvalid:a=!1,isRequired:i=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(_n.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(Bv,{props:t,collection:s,comboBoxRef:u}))});function Bv({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:a}=e;a&&(r="text");let{validationBehavior:i}=Ve(jt)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:i)!==null&&s!==void 0?s:"native",{contains:c}=Od({sensitivity:"base"}),f=ly({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),[g,v]=ct(),{buttonProps:E,inputProps:y,listBoxProps:C,labelProps:B,descriptionProps:S,errorMessageProps:R,...$}=j6({...Mt(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 K=(F=p.current)===null||F===void 0?void 0:F.getBoundingClientRect(),P=m.current.getBoundingClientRect(),I=K?Math.min(K.left,P.left):P.left,j=K?Math.max(K.right,P.right):P.right;A(j-I+"px")}},[p,m,A]);bu({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:[[Cv,f],[Et,{...B,ref:g}],[Ue,{...E,ref:p,isPressed:f.isOpen}],[vu,{...y,ref:m}],[au,f],[ku,{ref:h,triggerRef:m,scrollRef:b,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":T}}],[_n,{...C,ref:b}],[Ze,f],[Ke,{slots:{description:S,errorMessage:R}}],[Yu,{isInvalid:$.isInvalid,isDisabled:e.isDisabled||!1}],[mt,$]]},o.createElement("div",{...w,...x,ref:u,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":$.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(V=f.selectedKey)!==null&&V!==void 0?V:""}))}const vl=o.createContext(null),la=o.createContext(null),xl=o.createContext(null),vi=o.forwardRef(function(t,u){let n=o.useContext(la),r=o.useContext(xl);return n||r?o.createElement(g5,{...t,ref:u}):o.createElement(kv,{...t,ref:u})}),kv=o.forwardRef((e,t)=>{let[u,n]=q({slot:e.slot},t,vl),{locale:r}=fe(),a=$y({...u,locale:r,createCalendar:tl}),i=o.useRef(null),{fieldProps:l,inputProps:s}=O6({...u,inputRef:i},a,n);return o.createElement(te,{values:[[la,a],[vu,{...s,ref:i}],[Yu,{...l,ref:n,isInvalid:a.isInvalid}]]},o.createElement(g5,e))}),g5=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(la),a=o.useContext(xl),i=r??a;return o.createElement(o.Fragment,null,o.createElement(Ln,{...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(jn,null))}),xi=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(la),a=o.useContext(xl),i=r??a,l=ge(n),{segmentProps:s}=q6(t,i,l),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=ve({...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})}),Pv=o.createContext(null),Sv=o.createContext(null),Av=o.createContext(null),wv=o.createContext(null),Fv=o.forwardRef(function(t,u){[t,u]=q(t,u,Pv);let{validationBehavior:n}=Ve(jt)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=py({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(),{groupProps:f,labelProps:p,fieldProps:m,buttonProps:b,dialogProps:h,calendarProps:g,descriptionProps:v,errorMessageProps:E,...y}=U6({...Mt(t),label:c,validationBehavior:i},l,s),[C,B]=o.useState(null),S=o.useCallback(()=>{s.current&&B(s.current.offsetWidth+"px")},[]);bu({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:[[Av,l],[Yu,{...f,ref:s,isInvalid:l.isInvalid}],[vl,m],[Ue,{...b,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Tr,g],[au,l],[ku,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":C}}],[ia,h],[Ke,{slots:{description:v,errorMessage:E}}],[mt,y]]},o.createElement("div",{...R,...k,...A,ref:u,slot:t.slot||void 0,"data-focus-within":$||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":T||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),Tv=o.forwardRef(function(t,u){[t,u]=q(t,u,Sv);let{validationBehavior:n}=Ve(jt)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=vy({...t,validationBehavior:i}),s=o.useRef(null),[d,c]=ct(),{groupProps:f,labelProps:p,startFieldProps:m,endFieldProps:b,buttonProps:h,dialogProps:g,calendarProps:v,descriptionProps:E,errorMessageProps:y,...C}=Q6({...Mt(t),label:c,validationBehavior:i},l,s),[B,S]=o.useState(null),R=o.useCallback(()=>{s.current&&S(s.current.offsetWidth+"px")},[]);bu({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:[[wv,l],[Yu,{...f,ref:s,isInvalid:l.isInvalid}],[Ue,{...h,isPressed:l.isOpen}],[Et,{...p,ref:d,elementType:"span"}],[Rr,v],[au,l],[ku,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":B}}],[ia,g],[vl,{slots:{start:m,end:b}}],[Ke,{slots:{description:E,errorMessage:y}}],[mt,C]]},o.createElement("div",{...$,...z,...k,ref:u,slot:t.slot||void 0,"data-focus-within":T||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":A||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),D5=o.createContext(null),Rv=o.forwardRef(function(t,u){let n=Cy(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(D5.Provider,{value:n},r.children))}),Kv=o.createContext(null),Iv=o.createContext(null),y5=o.createContext(null),Mv=o.forwardRef(function(t,u){[t,u]=q(t,u,Kv);let n=o.useContext(D5),{id:r,...a}=t,i=ne();r||(r=i);let l=n?n.expandedKeys.has(r):t.isExpanded,s=xy({...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}=e2({...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}}),g=_(a);return o.createElement(te,{values:[[Ue,{slots:{[gt]:{},trigger:f}}],[y5,{panelProps:p,panelRef:d}],[Iv,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,...h},h.children))}),zv=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:a}=o.useContext(y5),{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:Cu(u,a),...N(r,l),...s,role:n,"data-focus-visible-within":i||void 0},o.createElement(te,{values:[[Ue,null]]},t.children))});function Vv(e){return e&&e.__esModule?e.default:e}const Nv=o.createContext(null),Lv=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=q(t,u,Nv);let r=ge(u),a=o.useRef(null),{dropProps:i,dropButtonProps:l,isDropTarget:s}=h2({...t,ref:a,hasDropButton:!0}),{buttonProps:d}=Hd(l||{},a),{hoverProps:c,isHovered:f}=ve(t),{focusProps:p,isFocused:m,isFocusVisible:b}=oe(),h=me(Vv($l),"react-aria-components"),g=rt(),v=t["aria-label"]||h.format("dropzoneLabel"),E=t["aria-labelledby"],y=[g,E].filter(Boolean).join(" "),C=vt({"aria-label":v,"aria-labelledby":y}),{clipboardProps:B}=$2({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:[[Ke,{id:g,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))&&!cg(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(Xt,null,o.createElement("button",{...N(d,p,B,C),ref:a})),S.children))}),jv=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(Mi,{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(jn,{...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}))}),_v=o.createContext(null),Ov=o.forwardRef(function(t,u){return[t,u]=q(t,u,_v),o.createElement(Nt,{content:o.createElement(ft,t)},n=>o.createElement(Hv,{props:t,collection:n,gridListRef:u}))});function Hv({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(he),c=ea({...e,collection:t,children:void 0,layoutDelegate:s}),f=Bu({usage:"search",sensitivity:"base"}),{disabledBehavior:p,disabledKeys:m}=c.selectionManager,{direction:b}=fe(),h=o.useMemo(()=>new eu({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:g}=P0({...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 I=n.DragPreview;A=n.renderDragPreview?o.createElement(I,{ref:k},n.renderDragPreview):null}if(y&&n){R=n.useDroppableCollectionState({collection:t,selectionManager:v});let I=new eu({collection:t,disabledKeys:v.disabledKeys,disabledBehavior:v.disabledBehavior,ref:u}),j=n.dropTargetDelegate||d||new n.ListDropTargetDelegate(t,u,{layout:a,direction:b});$=n.useDroppableCollection({keyboardDelegate:I,dropTargetDelegate:j},R,u),T=R.isDropTarget({type:"root"})}let{focusProps:z,isFocused:x,isFocusVisible:w}=oe(),V={isDropTarget:T,isEmpty:c.collection.size===0,isFocused:x,isFocusVisible:w,layout:a,state:c},F=H({className:e.className,style:e.style,defaultClassName:"react-aria-GridList",values:V}),K=null,P=null;if(c.collection.size===0&&e.renderEmptyState){let I=e.renderEmptyState(V);K=o.createElement("div",{role:"row",style:{display:"contents"}},o.createElement("div",{role:"gridcell",style:{display:"contents"}},I))}return o.createElement(Kn,null,o.createElement("div",{..._(e),...F,...N(g,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:[[Ze,c],[We,{dragAndDropHooks:n,dragState:S,dropState:R}],[ra,{render:Wv}]]},y&&o.createElement(qv,null),o.createElement(i,{collection:t,scrollRef:u,persistedKeys:gl(v,n,R),renderDropIndicator:aa(n,R)})),K,A))}const Uv=Lt("item",function(t,u,n){let r=o.useContext(Ze),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(We),s=ge(u),{isVirtualized:d}=o.useContext(he),{rowProps:c,gridCellProps:f,descriptionProps:p,...m}=S0({node:n,shouldSelectOnPressUp:!!i,isVirtualized:d},r,s),{hoverProps:b,isHovered:h}=ve({isDisabled:!m.allowsSelection&&!m.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{isFocusVisible:g,focusProps:v}=oe(),{checkboxProps:E}=k2({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}=ru();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:g,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":g||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:[[Mr,{slots:{[gt]:{},selection:E}}],[Ue,{slots:{[gt]:y,drag:{...C==null?void 0:C.dragButtonProps,ref:A,style:{pointerEvents:"none"}}}}],[Ke,{slots:{[gt]:{},description:p}}],[he,Ju],[Ze,null]]},T.children))))});function Wv(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(We),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(Zv,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function Gv(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,{visuallyHiddenProps:i}=ru(),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 Zv=o.forwardRef(Gv);function qv(){let{dragAndDropHooks:e,dropState:t}=o.useContext(We),u=o.useRef(null),{dropIndicatorProps:n}=e.useDropIndicator({target:{type:"root"}},t,u),r=t.isDropTarget({type:"root"}),{visuallyHiddenProps:a}=ru();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 Cl=o.forwardRef(function(t,u){[t,u]=q(t,u,zr);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)}),Yv=o.createContext(null),Jv=o.createContext(null),v5=o.createContext(null),Qv=o.forwardRef(function(t,u){[t,u]=q(t,u,Yv);let{validationBehavior:n}=Ve(jt)||{};var r,a;let i=(a=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=Sy({...t,validationBehavior:i}),[s,d]=ct(),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:m,...b}=S2({...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],[Et,{...f,ref:s,elementType:"span"}],[Ke,{slots:{description:p,errorMessage:m}}],[mt,b]]},h.children))}),Xv=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=q(r,u,Jv);let a=o.useContext(v5),i=ge(Cu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=P2({...Mt(t),children:typeof t.children=="function"?!0:t.children},a,i),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),h=c||a.isReadOnly,{hoverProps:g,isHovered:v}=ve({...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,g,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(Xt,{elementType:"span"},o.createElement("input",{...N(s,b),ref:i})),E.children)});function ex(e){return e&&e.__esModule?e.default:e}const El=o.createContext(null),x5=o.createContext(null),tx=o.forwardRef(function(t,u){[t,u]=q(t,u,El);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(ux,{props:t,collection:s,selectRef:u}))});function ux({props:e,selectRef:t,collection:u}){let{validationBehavior:n}=Ve(jt)||{};var r,a;let i=(a=(r=e.validationBehavior)!==null&&r!==void 0?r:n)!==null&&a!==void 0?a:"native",l=wy({...e,collection:u,children:void 0,validationBehavior:i}),{isFocusVisible:s,focusProps:d}=oe({within:!0}),c=o.useRef(null),[f,p]=ct(),{labelProps:m,triggerProps:b,valueProps:h,menuProps:g,descriptionProps:v,errorMessageProps:E,...y}=F2({...Mt(e),label:p,validationBehavior:i},l,c),[C,B]=o.useState(null),S=o.useCallback(()=>{c.current&&B(c.current.offsetWidth+"px")},[c]);bu({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:[[El,e],[x5,l],[C5,h],[Et,{...m,ref:f,elementType:"span"}],[Ue,{...b,ref:c,isPressed:l.isOpen}],[au,l],[ku,{trigger:"Select",triggerRef:c,scrollRef:A,placement:"bottom start",style:{"--trigger-width":C}}],[_n,{...g,ref:A}],[Ze,l],[Ke,{slots:{description:v,errorMessage:E}}],[mt,y]]},o.createElement("div",{...T,...$,...d,ref:t,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":y.isInvalid||void 0,"data-required":e.isRequired||void 0}),o.createElement(R2,{autoComplete:e.autoComplete,state:l,triggerRef:c,label:p,name:e.name,isDisabled:e.isDisabled}))}const C5=o.createContext(null),nx=o.forwardRef(function(t,u){var n,r;[t,u]=q(t,u,C5);let a=o.useContext(x5),{placeholder:i}=Ve(El),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=me(ex($l),"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(Ke.Provider,{value:void 0},m.children))});class rx extends Lr{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=xb(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 Dn("tableheader",-1),this.body=new Dn("tablebody",-2),this.columnsDirty=!0}}const ax=o.createContext(null),ix=o.createContext(null),kt=o.createContext(null),E5=o.createContext(null),lx=o.forwardRef(function(t,u){var n;[t,u]=q(t,u,ix);let r=Nn(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(B5.Provider,{value:d},o.createElement(ft,t));return o.createElement(Nt,{content:c,createCollection:()=>new rx},f=>o.createElement(ox,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function ox({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(ax);t=ge(o.useMemo(()=>Cu(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let a=Iy({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:i,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext(he),{dragAndDropHooks:c}=e,{gridProps:f}=V2({...e,layoutDelegate:l,isVirtualized:i},a,t),p=a.selectionManager,m=!!(c!=null&&c.useDraggableCollectionState),b=!!(c!=null&&c.useDroppableCollectionState),h=o.useRef(m),g=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."),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,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 eu({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),K=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);y=c.useDroppableCollection({keyboardDelegate:F,dropTargetDelegate:K},E,t),C=E.isDropTarget({type:"root"})}let{focusProps:R,isFocused:$,isFocusVisible:T}=oe(),A=H({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:C,isFocused:$,isFocusVisible:T,state:a}}),k=!!(m&&!(v!=null&&v.isDisabled)),z=A.style,x=null;r&&(x=r.useTableColumnResizeState({tableWidth:r.tableWidth},a),i||(z={...z,tableLayout:"fixed",width:"fit-content"}));let w=ze("table");var V;return o.createElement(te,{values:[[kt,a],[E5,x],[We,{dragAndDropHooks:c,dragState:v,dropState:E}],[ra,{render:hx}]]},o.createElement(Kn,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:gl(p,c,E)}))),B)}function ze(e){let{isVirtualized:t}=o.useContext(he);return t?"div":e}const B5=o.createContext(null);function k5(){return o.useContext(B5)}const sx=Ki("tableheader",(e,t)=>{let u=o.useContext(kt).collection,n=Ti({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(dx,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=ze("thead"),{rowGroupProps:a}=Z1(),{hoverProps:i,isHovered:l}=ve({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=H({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{...N(_(e),a,i),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(ft,{dependencies:e.dependencies,items:e.columns},e.children));function dx({item:e}){let t=o.useRef(null),u=o.useContext(kt),{isVirtualized:n,CollectionBranch:r}=o.useContext(he),{rowProps:a}=_2({node:e,isVirtualized:n},u,t),{checkboxProps:i}=W2(u),l=ze("tr");return o.createElement(l,{...a,ref:t},o.createElement(te,{values:[[Mr,{slots:{selection:i}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const cx=Lt("column",(e,t,u)=>{var n,r;let a=ge(t),i=o.useContext(kt),{isVirtualized:l}=o.useContext(he),{columnHeaderProps:s}=L2({node:u,isVirtualized:l},i,a),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),p=o.useContext(E5),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}=ve({isDisabled:!e.allowsSorting}),g=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=g.style;p&&(v={...v,width:p.getColumnWidth(u.key)});let E=ze("th");return o.createElement(E,{...N(_(e),s,f,b),...g,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:[[fx,{column:u,triggerRef:a}],[he,Ju]]},g.children))}),fx=o.createContext(null),px=Ki("tablebody",(e,t)=>{let u=o.useContext(kt),{isVirtualized:n}=o.useContext(he),r=u.collection,{CollectionBranch:a}=o.useContext(he),{dragAndDropHooks:i,dropState:l}=o.useContext(We),s=!!(i!=null&&i.useDroppableCollectionState)&&!(l!=null&&l.isDisabled);var d;let f={isDropTarget:s&&!!l&&((d=l.isDropTarget({type:"root"}))!==null&&d!==void 0?d:!1),isEmpty:r.size===0},p=H({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:f}),m,b=ze("tr"),h=ze("td"),g=r.columnCount;if(r.size===0&&e.renderEmptyState&&u){let y={},C={},B={};n?(y["aria-rowindex"]=r.headerRows.length+1,C["aria-colspan"]=g,B={display:"contents"}):C.colSpan=g,m=o.createElement(b,{role:"row",...y,style:B},o.createElement(h,{role:"rowheader",...C,style:B},e.renderEmptyState(f)))}let{rowGroupProps:v}=Z1(),E=ze("tbody");return o.createElement(E,{...N(_(e),v),...p,ref:t,"data-empty":r.size===0||void 0},s&&o.createElement(Dx,null),o.createElement(a,{collection:r,parent:r.body,renderDropIndicator:aa(i,l)}),m)}),mx=Ki("item",(e,t,u)=>{let n=ge(t),r=o.useContext(kt),{dragAndDropHooks:a,dragState:i,dropState:l}=o.useContext(We),{isVirtualized:s,CollectionBranch:d}=o.useContext(he),{rowProps:c,...f}=j2({node:u,shouldSelectOnPressUp:!!i,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:m,focusProps:b}=oe(),{isFocusVisible:h,focusProps:g}=oe({within:!0}),{hoverProps:v,isHovered:E}=ve({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:y}=U2({key:u.key},r),C;i&&a&&(C=a.useDraggableItem({key:u.key,hasDragButton:!0},i));let B,S=o.useRef(null),{visuallyHiddenProps:R}=ru();l&&a&&(B=a.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,S));let $=o.useRef(null);o.useEffect(()=>{i&&!$.current&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let T=i&&i.isDragging(u.key),{children:A,...k}=e,z=H({...k,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:E,isFocused:p,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:T,isDropTarget:B==null?void 0:B.isDropTarget,isFocusVisibleWithin:h}}),x=ze("tr"),w=ze("td");return o.createElement(o.Fragment,null,B&&!B.isHidden&&o.createElement(x,{role:"row",style:{height:0}},o.createElement(w,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...R,...B.dropIndicatorProps,ref:S}))),o.createElement(x,{...N(_(e),c,b,v,C==null?void 0:C.dragProps,g),...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:[[Mr,{slots:{[gt]:{},selection:y}}],[Ue,{slots:{[gt]:{},drag:{...C==null?void 0:C.dragButtonProps,ref:$,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:r.collection,parent:u}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return o.createElement(ft,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),bx=Lt("cell",(e,t,u)=>{let n=ge(t),r=o.useContext(kt),{dragState:a}=o.useContext(We),{isVirtualized:i}=o.useContext(he);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=O2({node:u,shouldSelectOnPressUp:!!a,isVirtualized:i},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=oe(),{hoverProps:p,isHovered:m}=ve({}),b=H({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:m}}),h=ze("td");return o.createElement(h,{...N(_(e),l,f,p),...b,ref:n,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-pressed":s||void 0},o.createElement(he.Provider,{value:Ju},b.children))});function hx(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(We),r=o.useRef(null),{dropIndicatorProps:a,isHidden:i,isDropTarget:l}=u.useDropIndicator(e,n,r);return i?null:o.createElement(gx,{...e,dropIndicatorProps:a,isDropTarget:l,buttonRef:r,ref:t})}function $x(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...a}=e,i=o.useContext(kt),{visuallyHiddenProps:l}=ru(),s=H({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=ze("tr"),c=ze("td");return o.createElement(d,{..._(e),...s,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement(c,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},o.createElement("div",{...l,role:"button",...u,ref:r}),s.children))}const gx=o.forwardRef($x);function Dx(){let e=o.useContext(kt),{dragAndDropHooks:t,dropState:u}=o.useContext(We),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),a=u.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=ru(),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})))}Lt("loader",function(t,u,n){let r=o.useContext(kt),{isVirtualized:a}=o.useContext(he),i=r.collection.columns.length,l=H({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),s=ze("tr"),d=ze("td"),c={},f={},p={};return a?(c["aria-rowindex"]=r.collection.headerRows.length+r.collection.size,f["aria-colspan"]=i,p={display:"contents"}):f.colSpan=i,o.createElement(o.Fragment,null,o.createElement(s,{role:"row",ref:u,...N(_(t),c),...l},o.createElement(d,{role:"rowheader",...f,style:p},l.children)))});const oa=o.createContext(null),Wu=o.createContext(null),yx=o.forwardRef(function(t,u){[t,u]=q(t,u,oa);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(vx,{props:t,collection:a,tabsRef:u}))});function vx({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=My({...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:[[oa,e],[Wu,r]]},d.children))}const xx=o.forwardRef(function(t,u){return o.useContext(Wu)?o.createElement(Cx,{props:t,forwardedRef:u}):o.createElement(ft,t)});function Cx({props:e,forwardedRef:t}){let u=o.useContext(Wu),{CollectionRoot:n}=o.useContext(he),{orientation:r="horizontal",keyboardActivation:a="automatic"}=Ve(oa),i=ge(t),{tabListProps:l}=Y2({...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:bl(u.selectionManager.focusedKey)}))}const Ex=Lt("item",(e,t,u)=>{let n=o.useContext(Wu),r=ge(t),{tabProps:a,isSelected:i,isDisabled:l,isPressed:s}=G2({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=oe(),{hoverProps:p,isHovered:m}=ve({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})}),Bx=jr(function(t,u){const n=o.useContext(Wu);let r=ge(u),{tabPanelProps:a}=Z2(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:[[oa,null],[Wu,null]]},o.createElement(he.Provider,{value:Ju},c.children)))}),kx=o.createContext(null),P5=o.createContext(null),Px=o.forwardRef(function(t,u){return[t,u]=q(t,u,kx),o.createElement(Nt,{content:t.children},n=>o.createElement(Sx,{props:t,forwardedRef:u,collection:n}))});function Sx({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,a]=ct(),i=ea({...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}=J2({...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:[[Et,{...c,elementType:"span",ref:r}],[P5,{...d,ref:n}],[Ze,i],[Ke,{slots:{description:f,errorMessage:p}}]]},e.children))}const Ax=o.forwardRef(function(t,u){return o.useContext(Ze)?o.createElement(wx,{props:t,forwardedRef:u}):o.createElement(ft,t)});function wx({props:e,forwardedRef:t}){let u=o.useContext(Ze),{CollectionRoot:n}=o.useContext(he),[r,a]=q(e,t,P5);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=bl(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 Fx=Lt("item",(e,t,u)=>{let n=o.useContext(Ze),r=ge(t),{focusProps:a,isFocusVisible:i}=oe({within:!0}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=X2({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=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:[[Ue,{slots:{remove:d}}],[he,Ju]]},m.children)))}),Tx=({variant:e="uncontained",type:t="single",children:u,...n})=>D.jsx(Rv,{allowsMultipleExpanded:t==="multiple",className:J(Xe.root,e==="contained"?Xe.contained:Xe.uncontained),...n,children:u}),Rx='"../theme/tokens.css"',Kx="#143c50",Ix="#25607f",Mx="#4289ad",zx='"Inter", sans-serif',Vx="1rem",Nx="500",Lx="#ffffff",jx="#bfbfbf",_x="#f2f2f2",Ox="#e6e6e6",Hx="#000000",Ux="undefined",Wx="(max-width: 767px)",Gx="0 0 0 2px #ffffff, 0 0 0 4px #000000",Zx="#e62323",qx="#b31b1b",Yx="#801313",Jx="_button_1tedv_4",Qx="_primary_1tedv_36",Xx="_secondary_1tedv_42",e7="_tertiary_1tedv_66",t7="_iconBtn_1tedv_88",u7="_danger_1tedv_109",n7="_iconRight_1tedv_131",r7="_fullwidth_1tedv_135",a7="_small_1tedv_139",At={tokens:Rx,blue150:Kx,blue130:Ix,blue90:Mx,display:zx,desktopSize:Vx,mediumWeight:Nx,white:Lx,gray50:jx,gray10:_x,gray20:Ox,black:Hx,medium:Ux,smBreakpoint:Wx,focus:Gx,signalRed100:Zx,signalRed130:qx,signalRed150:Yx,button:Jx,primary:Qx,secondary:Xx,tertiary:e7,iconBtn:t7,danger:u7,iconRight:n7,fullwidth:r7,small:a7},je=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r,icon:a,iconSize:i,...l})=>{const s=r==="small"?14:i||20;return D.jsx(dt,{className:J(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:D.jsxs(D.Fragment,{children:[a&&D.jsx(a,{"aria-hidden":!0,size:s}),l.children]})})},i7='"../theme/tokens.css"',l7="(max-width: 767px)",o7="_buttonGroup_5pd8y_4",s7={tokens:i7,smBreakpoint:l7,buttonGroup:o7},d7=({children:e,className:t,"aria-label":u,...n})=>D.jsx("div",{role:"group","aria-label":u,className:J(s7.buttonGroup,t),...n,children:e});/**
|
|
19
|
+
* @license lucide-react v0.453.0 - ISC
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the ISC license.
|
|
22
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/const c7=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
|
+
* @license lucide-react v0.453.0 - ISC
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the ISC license.
|
|
27
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/var f7={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
|
+
* @license lucide-react v0.453.0 - ISC
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the ISC license.
|
|
32
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/const p7=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,...f7,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
|
+
* @license lucide-react v0.453.0 - ISC
|
|
35
|
+
*
|
|
36
|
+
* This source code is licensed under the ISC license.
|
|
37
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
38
|
+
*/const Se=(e,t)=>{const u=o.forwardRef(({className:n,...r},a)=>o.createElement(p7,{ref:a,iconNode:t,className:S5(`lucide-${c7(e)}`,n),...r}));return u.displayName=`${e}`,u};/**
|
|
39
|
+
* @license lucide-react v0.453.0 - ISC
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the ISC license.
|
|
42
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/const m7=Se("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
|
+
* @license lucide-react v0.453.0 - ISC
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the ISC license.
|
|
47
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
+
*/const b7=Se("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
49
|
+
* @license lucide-react v0.453.0 - ISC
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the ISC license.
|
|
52
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/const h7=Se("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
|
+
* @license lucide-react v0.453.0 - ISC
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the ISC license.
|
|
57
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
+
*/const A5=Se("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
|
+
* @license lucide-react v0.453.0 - ISC
|
|
60
|
+
*
|
|
61
|
+
* This source code is licensed under the ISC license.
|
|
62
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
+
*/const wn=Se("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
64
|
+
* @license lucide-react v0.453.0 - ISC
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the ISC license.
|
|
67
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
+
*/const Bl=Se("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|
69
|
+
* @license lucide-react v0.453.0 - ISC
|
|
70
|
+
*
|
|
71
|
+
* This source code is licensed under the ISC license.
|
|
72
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
+
*/const kl=Se("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
74
|
+
* @license lucide-react v0.453.0 - ISC
|
|
75
|
+
*
|
|
76
|
+
* This source code is licensed under the ISC license.
|
|
77
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
78
|
+
*/const w5=Se("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
79
|
+
* @license lucide-react v0.453.0 - ISC
|
|
80
|
+
*
|
|
81
|
+
* This source code is licensed under the ISC license.
|
|
82
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
+
*/const F5=Se("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
84
|
+
* @license lucide-react v0.453.0 - ISC
|
|
85
|
+
*
|
|
86
|
+
* This source code is licensed under the ISC license.
|
|
87
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
+
*/const $7=Se("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
|
|
89
|
+
* @license lucide-react v0.453.0 - ISC
|
|
90
|
+
*
|
|
91
|
+
* This source code is licensed under the ISC license.
|
|
92
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
+
*/const g7=Se("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
|
|
94
|
+
* @license lucide-react v0.453.0 - ISC
|
|
95
|
+
*
|
|
96
|
+
* This source code is licensed under the ISC license.
|
|
97
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
+
*/const T5=Se("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
99
|
+
* @license lucide-react v0.453.0 - ISC
|
|
100
|
+
*
|
|
101
|
+
* This source code is licensed under the ISC license.
|
|
102
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
+
*/const D7=Se("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
104
|
+
* @license lucide-react v0.453.0 - ISC
|
|
105
|
+
*
|
|
106
|
+
* This source code is licensed under the ISC license.
|
|
107
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
+
*/const y7=Se("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|
109
|
+
* @license lucide-react v0.453.0 - ISC
|
|
110
|
+
*
|
|
111
|
+
* This source code is licensed under the ISC license.
|
|
112
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
+
*/const v7=Se("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
|
|
114
|
+
* @license lucide-react v0.453.0 - ISC
|
|
115
|
+
*
|
|
116
|
+
* This source code is licensed under the ISC license.
|
|
117
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
+
*/const x7=Se("PanelRightClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]]);/**
|
|
119
|
+
* @license lucide-react v0.453.0 - ISC
|
|
120
|
+
*
|
|
121
|
+
* This source code is licensed under the ISC license.
|
|
122
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
+
*/const C7=Se("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
124
|
+
* @license lucide-react v0.453.0 - ISC
|
|
125
|
+
*
|
|
126
|
+
* This source code is licensed under the ISC license.
|
|
127
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
+
*/const E7=Se("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
|
|
129
|
+
* @license lucide-react v0.453.0 - ISC
|
|
130
|
+
*
|
|
131
|
+
* This source code is licensed under the ISC license.
|
|
132
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
+
*/const R5=Se("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
134
|
+
* @license lucide-react v0.453.0 - ISC
|
|
135
|
+
*
|
|
136
|
+
* This source code is licensed under the ISC license.
|
|
137
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
+
*/const Pu=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),B7=({title:e,children:t,className:u,headingLevel:n=3,...r})=>{const a=we.useRef(null),[i,l]=we.useState(0),s=typeof e=="object";return we.useLayoutEffect(()=>{a.current&&l(a.current.clientHeight)},[]),D.jsxs(Mv,{...r,className:J(Xe.item,u),children:[s?D.jsx("div",{className:Xe.trigger,children:D.jsxs(je,{slot:"trigger",variant:"icon",children:[D.jsx(wn,{size:20,className:Xe.icon}),e]})}):D.jsx(Cl,{level:n,className:Xe.trigger,children:D.jsxs(je,{slot:"trigger",variant:"icon",children:[D.jsx(wn,{size:20,className:Xe.icon}),D.jsx("span",{className:Xe.triggerText,children:e})]})}),D.jsx(zv,{style:{"--panel-height":`${i}px`},className:J(Xe.panel,i===0&&Xe.panel0),children:D.jsx("div",{ref:a,className:Xe.content,children:t})})]})},k7='"../theme/tokens.css"',P7='"Inter", sans-serif',S7="#25607f",A7="#143c50",w7="#1f1f1f",F7="#bfbfbf",T7="500",R7="0 0 0 2px #ffffff, 0 0 0 4px #000000",K7="400",I7="#663366",M7="#000000",z7="_link_p1sqk_4",V7="_icon_p1sqk_40",N7="_standalone_p1sqk_44",L7="_stretched_p1sqk_59",rn={tokens:k7,display:P7,blue130:S7,blue150:A7,gray150:w7,gray50:F7,mediumWeight:T7,focus:R7,regularWeight:K7,linkVisited:I7,black:M7,link:z7,icon:V7,standalone:N7,stretched:L7},Pl=({children:e,standalone:t,stretched:u,icon:n,className:r,as:a,...i})=>{const l=a||Sb;return D.jsx(l,{className:J(rn.link,t&&rn.standalone,u&&rn.stretched,r),...i,children:D.jsxs(D.Fragment,{children:[e,!t&&n&&D.jsx(n,{size:20,className:rn.icon}),t&&D.jsx(b7,{size:20,className:rn.icon})]})})},j7='"../theme/tokens.css"',_7='"Inter", sans-serif',O7="#1f1f1f",H7="_container_k9jic_4",U7={tokens:j7,display:_7,gray150:O7,container:H7},W7=({items:e})=>D.jsx(Wy,{className:U7.container,children:e.map((t,u)=>D.jsx(Gy,{children:D.jsx(Pl,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),G7='"../theme/tokens.css"',Z7='"Inter", sans-serif',q7="#ffffff",Y7="#e6e6e6",J7="#f2f2f2",Q7="#1f1f1f",X7="#d5e5ed",eC="#000000",tC="500",uC="250ms",nC="_card_vbecj_4",rC="_content_vbecj_33",aC="_heading_vbecj_39",iC="_image_vbecj_47",lC="_background_vbecj_56",oC="_text_vbecj_60",Fu={tokens:G7,display:Z7,white:q7,gray20:Y7,gray10:J7,gray150:Q7,blue20:X7,black:eC,mediumWeight:tC,fastTransition:uC,card:nC,content:rC,heading:aC,image:iC,background:lC,text:oC},sC=({image:e,background:t,title:u,content:n,link:r,headingTag:a="h1",customImageComponent:i,customLinkComponent:l,...s})=>{const d=we.useId();return D.jsxs("div",{className:J(Fu.card,t&&Fu.background,s.className),...s,children:[D.jsxs("div",{className:Fu.content,children:[i||(e==null?void 0:e.source)&&D.jsx("img",{src:e.source,alt:e.description,className:Fu.image}),D.jsxs("div",{id:d,children:[D.jsx(a,{className:Fu.heading,children:u}),D.jsx("p",{className:Fu.text,children:n})]})]}),D.jsx(Pl,{"aria-describedby":d,...r,standalone:!0,stretched:!0,as:l})]})},dC='"../theme/tokens.css"',cC='"Inter", sans-serif',fC="#000000",pC="#143c50",mC="#5897b8",bC="#25607f",hC="#ffdfdf",$C="#e62323",gC="0 0 0 2px #ffffff, 0 0 0 4px #000000",DC="#b31b1b",yC="#ffffff",vC="#f2f2f2",xC="#cccccc",CC="#808080",EC="#bfbfbf",BC="#e6e6e6",kC="400",PC="500",SC="(max-width: 767px)",AC="#b3b3b3",wC="_wrap_qn5vw_4",FC="_checkboxInner_qn5vw_11",TC="_checkbox_qn5vw_11",RC="_checkboxGroup_qn5vw_129",Ir={tokens:dC,display:cC,black:fC,primaryBackground:pC,blue80:mC,blue130:bC,signalRed10:hC,signalRed100:$C,focus:gC,signalRed130:DC,white:yC,gray10:vC,gray40:xC,gray100:CC,gray50:EC,gray20:BC,regularWeight:kC,mediumWeight:PC,smBreakpoint:SC,borderSecondary:AC,wrap:wC,checkboxInner:FC,checkbox:TC,checkboxGroup:RC},On=({children:e,...t})=>D.jsx(rv,{className:J(Ir.checkbox,t.className),...t,children:({isIndeterminate:u})=>D.jsxs(D.Fragment,{children:[D.jsx("div",{className:Ir.checkboxInner,children:D.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?D.jsx("rect",{x:4,y:8,width:10,height:2}):D.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),KC='"../theme/tokens.css"',IC='"Inter", sans-serif',MC="#ffdfdf",zC="#f2f2f2",VC="#e6e6e6",NC="#bfbfbf",LC="#000000",jC="#e62323",_C="500",OC="400",HC="#1f1f1f",UC="0 0 0 2px #ffffff, 0 0 0 4px #000000",WC="_inputField_1kepw_4",GC="_inputWrapper_1kepw_12",ZC="_label_1kepw_30",qC="_text_1kepw_36",YC="_fieldError_1kepw_42",JC="_passwordText_1kepw_66",QC="_count_1kepw_79",XC="_countExceeded_1kepw_87",e9="_input_1kepw_4",t9="_wrap_1kepw_130",u9="_passwordButton_1kepw_135",Te={tokens:KC,display:IC,signalRed10:MC,gray10:zC,gray20:VC,gray50:NC,black:LC,signalRed100:jC,mediumWeight:_C,regularWeight:OC,inputText:HC,focus:UC,inputField:WC,inputWrapper:GC,label:ZC,text:qC,fieldError:YC,passwordText:JC,count:QC,countExceeded:XC,input:e9,wrap:t9,passwordButton:u9},n9=({label:e,description:t,errorMessage:u,validationType:n,validate:r,maxCharacters:a,showCounter:i,...l})=>{const[s,d]=we.useState(""),c=m=>{const b=m.target.value;d(b)},f=m=>n==="ssn"?K5.test(m)?null:"Felaktigt personnummer":n==="dossnr"?I5.test(m)?null:"Felaktigt dossiernummer":n instanceof RegExp?new RegExp(n).test(m)?null:u==null?void 0:u.toString():a?a&&m.length>a?`Du har angett ${m.length-a} tecken för mycket. Fältet är begränsat till ${a} tecken.`:null:r?r(m):!0,p=()=>a?D.jsxs("span",{className:J(Te.count,s.length>a&&Te.countExceeded),children:[s.length," / ",a]}):i?D.jsx("span",{className:Te.count,children:s.length}):null;return D.jsx(Eb,{className:Te.inputField,validate:f,...l,children:D.jsxs(bt,{label:e,description:t,errorMessage:u,children:[D.jsx(p,{}),D.jsxs("div",{className:Te.wrap,children:[D.jsx(jn,{type:l.type,className:Te.input,onChange:c,onBlur:c}),D.jsx(r9,{type:l.type,input:s})]})]})})},r9=({type:e,input:t})=>{const[u,n]=we.useState(!1);return e==="password"?D.jsxs(D.Fragment,{children:[u&&D.jsx(Qr,{slot:"description",className:Te.passwordText,children:t}),D.jsx(je,{variant:"tertiary",onPress:()=>n(!u),className:Te.passwordButton,children:u?"Dölj":"Visa"})]}):null},bt=({label:e,description:t,errorMessage:u,children:n})=>D.jsxs("div",{className:Te.inputWrapper,children:[e&&D.jsx(hs,{className:Te.label,children:e}),t&&D.jsx(Qr,{slot:"description",className:Te.text,children:t}),D.jsx(Tm,{className:Te.fieldError,children:u}),n]}),K5=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}))$"),I5=new RegExp("\\d{1,2}[-+]?\\d{6}(/\\d{1,2})?$"),a9=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,...a})=>{const[i,l]=o.useState(),s=()=>{const d=o.useContext(hl),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,g;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&&!((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]),D.jsx(On,{value:"toggleAll",isSelected:i==="all",isIndeterminate:i==="some",onChange:()=>f(),children:"Välj alla"})};return D.jsx(nv,{className:Ir.checkboxGroup,...a,children:D.jsx(bt,{label:e,description:t,errorMessage:u,children:D.jsxs(Ln,{className:Ir.wrap,children:[n&&D.jsx(s,{}),r]})})})},i9='"../theme/tokens.css"',l9='"Inter", sans-serif',o9="#000000",s9="#b31b1b",d9="(max-width: 767px)",c9="#bfbfbf",f9="#e6e6e6",p9="#f2f2f2",m9="0 0 0 2px #ffffff, 0 0 0 4px #000000",b9="#f2f2f2",h9="_input_1ek0k_4",$9="_combobox_1ek0k_33",g9="_text_1ek0k_49",D9="_wrap_1ek0k_54",y9="_button_1ek0k_59",v9="_icon_1ek0k_77",x9="_popover_1ek0k_83",C9="_fieldError_1ek0k_91",E9="_listBoxItem_1ek0k_102",su={tokens:i9,display:l9,black:o9,signalRed130:s9,smBreakpoint:d9,gray50:c9,gray20:f9,gray10:p9,focus:m9,backgroundSecondary:b9,input:h9,combobox:$9,text:g9,wrap:D9,button:y9,icon:v9,popover:x9,fieldError:C9,listBoxItem:E9};function B9({label:e,description:t,errorMessage:u,children:n,items:r,...a}){const i=o.useRef(null);return D.jsxs(Ev,{className:su.combobox,ref:i,...a,children:[D.jsx(bt,{label:e,description:t,errorMessage:u,children:D.jsxs("div",{className:su.wrap,children:[D.jsx(jn,{className:su.input}),D.jsx(dt,{className:su.button,"aria-label":"Visa lista",children:D.jsx("div",{className:su.icon,"aria-hidden":"true",children:D.jsx(wn,{size:20,"aria-hidden":!0})})})]})}),D.jsx(Qu,{className:su.popover,offset:0,UNSTABLE_portalContainer:i.current||void 0,children:D.jsx(p5,{items:r,children:n})})]})}function k9(e){return D.jsx(b5,{className:su.listBoxItem,...e})}const P9='"../theme/tokens.css"',S9='"Inter", sans-serif',A9="#000000",w9="#f2f2f2",F9="#e6e6e6",T9="#b3b3b3",R9="#1f1f1f",K9="#d5e5ed",I9="0 0 0 2px #ffffff, 0 0 0 4px #000000",M9="#143c50",z9="_datePicker_10zzh_4",V9="_datePickerTextfield_10zzh_11",N9="_date_10zzh_4",L9="_dialog_10zzh_63",j9="_dialogHeader_10zzh_68",_9="_dialogHeading_10zzh_88",O9="_day_10zzh_93",H9="_calendar_10zzh_129",Ce={tokens:P9,display:S9,black:A9,gray10:w9,gray20:F9,gray60:T9,gray150:R9,blue20:K9,focus:I9,blue150:M9,datePicker:z9,datePickerTextfield:V9,date:N9,dialog:L9,dialogHeader:j9,dialogHeading:_9,day:O9,calendar:H9},U9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return D.jsx(Tv,{...n,className:J(Te.inputField,Ce.datePicker,n.className),ref:r,children:D.jsxs(bt,{label:e,description:t,errorMessage:u,children:[D.jsxs(Ln,{className:J(Te.input,Ce.datePickerTextfield),children:[D.jsx(vi,{slot:"start",className:Ce.date,children:a=>D.jsx(xi,{className:Ce.dateSegment,segment:a})}),D.jsx("span",{"aria-hidden":"true",children:"-"}),D.jsx(vi,{slot:"end",className:Ce.date,children:a=>D.jsx(xi,{segment:a,className:Ce.dateSegment})}),D.jsx(dt,{children:D.jsx(A5,{size:20,"aria-hidden":!0})})]}),D.jsx(Qu,{UNSTABLE_portalContainer:r.current||void 0,children:D.jsx($5,{className:Ce.dialog,children:D.jsxs(qy,{children:[D.jsxs("header",{className:Ce.dialogHeader,children:[D.jsx(dt,{slot:"previous",children:D.jsx(Bl,{size:20,"aria-hidden":!0})}),D.jsx(Cl,{className:Ce.dialogHeading}),D.jsx(dt,{slot:"next",children:D.jsx(kl,{size:20,"aria-hidden":!0})})]}),D.jsx(Ab,{className:Ce.calendar,children:a=>D.jsx(wb,{date:a,className:Ce.day})})]})})})]})})},W9=({label:e,description:t,errorMessage:u,...n})=>{const r=o.useRef(null);return D.jsx(Fv,{...n,className:J(Te.inputField,Ce.datePicker,n.className),ref:r,children:D.jsxs(bt,{label:e,description:t,errorMessage:u,children:[D.jsxs(Ln,{className:J(Te.input,Ce.datePickerTextfield),children:[D.jsx(vi,{className:Ce.date,children:a=>D.jsx(xi,{segment:a,className:Ce.dateSegment})}),D.jsx(dt,{children:D.jsx(A5,{size:20,"aria-hidden":!0})})]}),D.jsx(Qu,{UNSTABLE_portalContainer:r.current||void 0,children:D.jsx($5,{className:Ce.dialog,children:D.jsxs(Zy,{children:[D.jsxs("header",{className:Ce.dialogHeader,children:[D.jsx(dt,{slot:"previous",children:D.jsx(Bl,{})}),D.jsx(Cl,{className:Ce.dialogHeading}),D.jsx(dt,{slot:"next",children:D.jsx(kl,{})})]}),D.jsx(Ab,{className:Ce.calendar,children:a=>D.jsx(wb,{date:a,className:Ce.day})})]})})})]})})},G9='"../theme/tokens.css"',Z9='"Inter", sans-serif',q9="0 0 0 2px #ffffff, 0 0 0 4px #000000",Y9="#f2f2f2",J9="_dropDownMenu_1f4ap_4",Q9="_dropdownMenu_1f4ap_15",M5={tokens:G9,display:Z9,focus:q9,gray10:Y9,dropDownMenu:J9,dropdownMenu:Q9};function z5({label:e,title:t,children:u,...n}){return D.jsxs(mv,{...n,children:[D.jsxs(je,{"aria-label":e,variant:"icon",children:[t,D.jsx($7,{size:20,"aria-hidden":!0})]}),D.jsx(Qu,{children:D.jsx(hv,{...n,className:M5.dropDownMenu,children:u})})]})}function V5(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return D.jsx(yv,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>`${M5.dropdownMenu} ${u?"focused":""} ${n?"open":""}`,children:({hasSubmenu:u})=>D.jsxs(D.Fragment,{children:[e.children,u&&D.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:D.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const X9='"../theme/tokens.css"',e8='"Inter", sans-serif',t8="#f2f2f2",u8="#8c8c8c",n8="500",r8="400",a8="_box_iol70_4",i8="_list_iol70_28",l8="_container_iol70_38",o8="_label_iol70_45",s8="_text_iol70_51",d8="_dropzone_iol70_57",c8="_input_iol70_71",Vu={tokens:X9,display:e8,gray10:t8,gray90:u8,mediumWeight:n8,regularWeight:r8,box:a8,list:i8,container:l8,label:o8,text:s8,dropzone:d8,input:c8},f8=({allowsMultiple:e,label:t,description:u,dropzone:n})=>{const[r,a]=o.useState(null),i=s=>{a(s!==null?Array.from(s):[])},l=async s=>{const d=s.items.filter(f=>f.kind==="file").map(f=>f.getFile()),c=await Promise.all(d);a(c)};return n?D.jsxs("div",{className:Vu.container,children:[D.jsx(Lv,{onDrop:l,className:Vu.dropzone,children:D.jsx(Qr,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),r&&D.jsx(Qo,{files:r,setFiles:a})]}):D.jsxs("div",{className:Vu.container,children:[D.jsx(bt,{label:t,description:u,children:D.jsx(jv,{allowsMultiple:e,onSelect:s=>i(s),children:D.jsx(je,{variant:"secondary","aria-labelledby":"fileUpload",className:Vu.input,children:e?"Välj filer":"Välj fil"})})}),r&&D.jsx(Qo,{files:r,setFiles:a})]})},Qo=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,a)=>a!==n))};return D.jsx("ul",{className:Vu.list,children:e.map((n,r)=>D.jsxs("li",{className:Vu.box,children:[D.jsx("span",{children:n.name}),D.jsx(je,{variant:"icon",size:"small",onPress:()=>u(r),children:D.jsx(Pu,{size:20,"aria-hidden":!0})})]},r))})},p8='"../theme/tokens.css"',m8="(min-width: 768px)",b8="(min-width: 1200px)",h8="(min-width: 1440px)",$8="_container_148sa_4",g8="_flex_148sa_16",D8="_fluid_148sa_54",y8="_col_148sa_60",Hu={tokens:p8,mdBreakpoint:m8,lgBreakpoint:b8,xlBreakpoint:h8,container:$8,flex:g8,fluid:D8,col:y8,"col-1":"_col-1_148sa_64","col-2":"_col-2_148sa_65","col-3":"_col-3_148sa_66","col-4":"_col-4_148sa_67","col-5":"_col-5_148sa_68","col-6":"_col-6_148sa_69","col-7":"_col-7_148sa_70","col-8":"_col-8_148sa_71","col-9":"_col-9_148sa_72","col-10":"_col-10_148sa_73","col-11":"_col-11_148sa_74","col-12":"_col-12_148sa_75","col-auto":"_col-auto_148sa_76","offset-1":"_offset-1_148sa_130","offset-2":"_offset-2_148sa_134","offset-3":"_offset-3_148sa_138","offset-4":"_offset-4_148sa_142","offset-5":"_offset-5_148sa_146","offset-6":"_offset-6_148sa_150","offset-7":"_offset-7_148sa_154","offset-8":"_offset-8_148sa_158","offset-9":"_offset-9_148sa_162","offset-10":"_offset-10_148sa_166","offset-11":"_offset-11_148sa_170"},v8=({children:e,fluid:t=!1,...u})=>D.jsx("div",{className:J(Hu.container,t&&Hu.fluid,u.className),...u,children:D.jsx("div",{className:Hu.flex,children:e})}),N5=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",a=u?`offset-${u}`:"";return D.jsx("div",{className:J(Hu.col,Hu[r],Hu[a],n.className),...n,children:e})},x8='"../theme/tokens.css"',C8="(min-width: 768px)",E8="(min-width: 1200px)",B8="(min-width: 1440px)",k8="_container_1aupx_4",P8="_grid_1aupx_16",S8="_fluid_1aupx_45",A8="_col_1aupx_52",hn={tokens:x8,mdBreakpoint:C8,lgBreakpoint:E8,xlBreakpoint:B8,container:k8,grid:P8,fluid:S8,col:A8,"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"},w8=({children:e,fluid:t=!1,...u})=>D.jsx("div",{className:J(hn.container,t&&hn.fluid,u.className),...u,children:D.jsx("div",{className:hn.grid,children:e})}),F8=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return D.jsx("div",{className:J(hn.col,hn[n],u.className),...u,children:e})},T8='"../theme/tokens.css"',R8='"Inter", sans-serif',K8="#d5f2d9",I8="#008d3c",M8="#eaf2f6",z8="#0066cc",V8="#fff8e1",N8="#f1c21b",L8="#ffdfdf",j8="#e62323",_8="#000000",O8="600",H8="_infoBanner_1tfw7_4",U8="_success_1tfw7_13",W8="_info_1tfw7_4",G8="_important_1tfw7_23",Z8="_warning_1tfw7_28",q8="_content_1tfw7_37",Y8="_heading_1tfw7_43",J8="_text_1tfw7_48",Q8="_icon_1tfw7_53",X8="_dismissable_1tfw7_58",ou={tokens:T8,display:R8,signalGreen10:K8,signalGreen100:I8,signalBlue10:M8,signalBlue100:z8,signalYellow10:V8,signalYellow100:N8,signalRed10:L8,signalRed100:j8,black:_8,semiBoldWeight:O8,infoBanner:H8,success:U8,info:W8,important:G8,warning:Z8,content:q8,heading:Y8,text:J8,icon:Q8,dismissable:X8},eE={success:F5,info:T5,important:w5,warning:R5},tE=({title:e,message:t,type:u,children:n,dismissable:r=!1,...a})=>{const i=eE[u],[l,s]=we.useState(!0);return l?D.jsxs("div",{className:J(ou.infoBanner,ou[u],a.className),...a,children:[D.jsx(i,{size:20,"aria-hidden":!0,className:ou.icon}),D.jsxs("div",{className:ou.content,children:[e&&D.jsx("strong",{className:ou.heading,children:e}),D.jsxs("div",{className:ou.text,children:[t,n]})]}),r&&D.jsx("div",{className:ou.dismissable,children:D.jsx(je,{variant:"icon","aria-label":"Stäng",onPress:()=>s(!1),children:D.jsx(Pu,{size:20})})})]}):null},uE='"../theme/tokens.css"',nE='"Inter", sans-serif',rE="#143c50",aE="#f2f2f2",iE="#d9d9d9",lE="#b3b3b3",oE="#a6a6a6",sE="#5d5d5d",dE="(min-width: 768px)",cE="#b90835",fE="_baseLayout_1w6p5_4",pE="_mainContent_1w6p5_13",mE="_header_1w6p5_18",bE="_headerContent_1w6p5_35",hE="_headerItems_1w6p5_52",$E="_logo_1w6p5_53",gE="_headerMenu_1w6p5_61",DE="_toggleButton_1w6p5_69",yE="_sidebar_1w6p5_77",vE="_main_1w6p5_13",xE="_app_1w6p5_112",CE="_sidebarOpened_1w6p5_121",EE="_sidebarHeader_1w6p5_125",BE="_sidebarFooter_1w6p5_134",kE="_sidebarCollapsed_1w6p5_148",PE="_userName_1w6p5_165",SE="_abbr_1w6p5_177",AE="_userTitle_1w6p5_183",wE="_title_1w6p5_194",FE="_sidebarNav_1w6p5_205",TE="_list_1w6p5_211",RE="_listGroupTitle_1w6p5_218",KE="_listItem_1w6p5_227",IE="_listItemCollapsed_1w6p5_231",ME="_listLink_1w6p5_235",zE="_linkText_1w6p5_242",VE="_linkTextCollapsed_1w6p5_252",NE="_listLinkCollapsed_1w6p5_263",LE="_collapseButton_1w6p5_267",jE="_backdrop_1w6p5_272",_E="_backdropOpened_1w6p5_281",ee={tokens:uE,display:nE,primaryBackground:rE,gray10:aE,gray30:iE,gray60:lE,gray70:oE,gray130:sE,mdBreakpoint:dE,logoPrimary:cE,baseLayout:fE,mainContent:pE,header:mE,headerContent:bE,headerItems:hE,logo:$E,headerMenu:gE,toggleButton:DE,sidebar:yE,main:vE,app:xE,sidebarOpened:CE,sidebarHeader:EE,sidebarFooter:BE,sidebarCollapsed:kE,userName:PE,abbr:SE,userTitle:AE,title:wE,sidebarNav:FE,list:TE,listGroupTitle:RE,listItem:KE,listItemCollapsed:IE,listLink:ME,linkText:zE,linkTextCollapsed:VE,listLinkCollapsed:NE,collapseButton:LE,backdrop:jE,backdropOpened:_E},OE='"../theme/tokens.css"',HE="#143c50",UE="#25607f",WE="#4289ad",GE='"Inter", sans-serif',ZE="1rem",qE="500",YE="#ffffff",JE="#bfbfbf",QE="#f2f2f2",XE="#e6e6e6",eB="#000000",tB="undefined",uB="0 0 0 2px #ffffff, 0 0 0 4px #000000",nB="(max-width: 767px)",rB="#e62323",aB="#b31b1b",iB="#801313",lB="_linkButton_7qa6p_4",oB="_secondary_7qa6p_43",sB="_tertiary_7qa6p_67",dB="_danger_7qa6p_88",cB="_iconBtn_7qa6p_110",fB="_iconLeft_7qa6p_131",pB="_fullwidth_7qa6p_135",mB="_button_7qa6p_140",Je={tokens:OE,blue150:HE,blue130:UE,blue90:WE,display:GE,desktopSize:ZE,mediumWeight:qE,white:YE,gray50:JE,gray10:QE,gray20:XE,black:eB,medium:tB,focus:uB,smBreakpoint:nB,signalRed100:rB,signalRed130:aB,signalRed150:iB,linkButton:lB,secondary:oB,tertiary:sB,danger:dB,iconBtn:cB,iconLeft:fB,fullwidth:pB,button:mB},L5=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:a,as:i,...l})=>{const s=i||Sb,d=()=>n?D.jsx(n,{size:20,className:Je.icon}):l.target==="_blank"?D.jsx(E7,{size:20,className:Je.icon}):r==="left"?D.jsx(Bl,{size:20,className:Je.icon}):D.jsx(kl,{size:20,className:Je.icon});return D.jsxs(s,{className:J(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,D.jsx(d,{})]})},bB='"../theme/tokens.css"',hB="#b90835",$B="#000000",gB="#5d5d5d",DB="#ffffff",yB="_container_1c334_4",vB="_noPadding_1c334_9",xB="_logo_1c334_13",CB="_primary_1c334_18",EB="_dark_1c334_22",BB="_xSmall_1c334_26",kB="_small_1c334_30",PB="_large_1c334_34",SB="_backgroundPrimary_1c334_38",AB="_backgroundDark_1c334_46",lt={tokens:bB,red100:hB,black:$B,gray130:gB,white:DB,container:yB,noPadding:vB,logo:xB,primary:CB,dark:EB,xSmall:BB,small:kB,large:PB,backgroundPrimary:SB,backgroundDark:AB},j5=({primary:e=!0,size:t="medium",background:u=!1,padding:n=!0,...r})=>{const a=J(lt.logo,e?lt.primary:lt.dark,t==="x-small"&<.xSmall,t==="small"&<.small,t==="medium"&<.medium,t==="large"&<.large),i=()=>t==="x-small"?D.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:D.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"})}):D.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:[D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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"}),D.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 D.jsx("div",{className:J(lt.container,n===!1&<.noPadding,u?e?lt.backgroundPrimary:lt.backgroundDark:null),...r,children:D.jsx(i,{})})},wB=({items:e,title:t,user:u,app:n,children:r,headerChildren:a,clientSideRouter:i})=>{const[l,s]=o.useState(!1),[d,c]=o.useState(!1);return o.useEffect(()=>{const f=p=>{p.key==="Escape"&&c(!1)};return window.addEventListener("keydown",f),()=>{window.removeEventListener("keydown",f)}},[]),D.jsxs("div",{className:ee.baseLayout,children:[D.jsx(O5,{title:t,headerChildren:a,user:u,app:n,isOpened:d,setIsOpened:c,setIsCollapsed:s}),D.jsxs("div",{className:ee.mainContent,children:[D.jsx(_5,{items:e,app:n,isOpened:d,isCollapsed:l,setIsCollapsed:s,clientSideRouter:i}),D.jsx(N5,{children:D.jsx("main",{className:ee.main,children:D.jsx("div",{className:ee.app,children:r})})}),D.jsx("div",{className:J(ee.backdrop,d&&ee.backdropOpened),onClick:()=>c(!1),"aria-hidden":!0})]})]})},_5=({items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,clientSideRouter:a})=>{const i=()=>D.jsx("div",{className:ee.sidebarHeader,children:n?D.jsx("p",{className:ee.name,children:t.shortName}):D.jsx("p",{className:ee.abbr,children:t.name})}),l=({group:s})=>D.jsx("ul",{className:ee.list,children:s.items.map((d,c)=>D.jsx("li",{className:J(ee.listItem,n&&ee.listItemCollapsed),children:D.jsx(L5,{iconPlacement:"left",href:d.href,icon:d.icon,className:J(ee.listLink,n&&ee.listLinkCollapsed),variant:"tertiary",children:D.jsx("span",{className:J(ee.linkText,n&&ee.linkTextCollapsed),children:d.title})})},"link_"+c))});return D.jsxs("aside",{id:"midasMainMenu",className:J(ee.sidebar,n&&ee.sidebarCollapsed,u&&ee.sidebarOpened),children:[D.jsx(i,{}),D.jsx("nav",{className:ee.sidebarNav,children:D.jsx("ul",{className:ee.list,children:e.map((s,d)=>D.jsxs("li",{children:[s.title&&!n&&D.jsx("p",{className:ee.listGroupTitle,children:s.title}),a?D.jsx(rs,{navigate:a,children:D.jsx(l,{group:s})}):D.jsx(l,{group:s})]},"list_"+d))})}),D.jsx("div",{className:ee.sidebarFooter,children:D.jsx(je,{variant:"tertiary","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:ee.collapseButton,children:n?D.jsx(x7,{}):D.jsx(v7,{})})})]})},O5=({title:e,user:t,app:u,headerChildren:n,isOpened:r,setIsOpened:a,setIsCollapsed:i})=>D.jsxs("header",{className:ee.header,style:{borderTop:`solid 4px ${u.color?u.color:Rh.midasColors.logoPrimary}`},children:[D.jsxs("div",{className:ee.headerContent,children:[D.jsx(j5,{padding:!1,size:"small",className:ee.logo}),r!==void 0&&i&&a&&D.jsx(je,{variant:"icon",className:ee.toggleButton,"aria-label":r?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPress:()=>{i(!1),a(!r)},children:r?D.jsx(Pu,{size:20,"aria-hidden":!0}):D.jsx(y7,{size:20,"aria-hidden":!0})}),D.jsxs("div",{children:[D.jsx("p",{className:ee.userName,children:t.name}),D.jsx("p",{className:ee.userTitle,children:t.title}),D.jsx("p",{className:ee.title,children:e})]})]}),D.jsx("div",{className:ee.headerItems,children:n}),D.jsx("div",{className:ee.headerMenu,children:D.jsx(z5,{children:o.Children.map(n,l=>D.jsx(V5,{children:l}))})})]}),FB='"../theme/tokens.css"',TB='"Inter", sans-serif',RB="#ffffff",KB="#f2f2f2",IB="_modal_1wq00_4",MB="_modalHeader_1wq00_30",zB="_modalBody_1wq00_39",VB="_modalHeading_1wq00_45",nr={tokens:FB,display:TB,white:RB,gray10:KB,modal:IB,modalHeader:MB,modalBody:zB,modalHeading:VB},NB=({id:e,isOpen:t,onOpenChange:u,children:n,title:r,className:a,...i})=>{const l=we.useRef(null);we.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 D.jsxs("dialog",{id:e,ref:l,onCancel:()=>u(!1),className:J(nr.modal,a),"aria-labelledby":d,...i,children:[D.jsx("div",{className:nr.modalHeader,children:D.jsx(je,{onPress:()=>s(),variant:"tertiary",icon:Pu,iconPlacement:"right",children:"Stäng"})}),D.jsxs("div",{className:nr.modalBody,children:[D.jsx("h2",{className:nr.modalHeading,id:d,children:r}),n]})]})},LB='"../theme/tokens.css"',jB='"Inter", sans-serif',_B="#000000",OB="#b31b1b",HB="(max-width: 767px)",UB="#bfbfbf",WB="#e6e6e6",GB="#f2f2f2",ZB="_button_1eb3v_4",qB="_icon_1eb3v_19",YB="_multiSelect_1eb3v_44",JB="_popover_1eb3v_60",QB="_listBoxItem_1eb3v_73",an={tokens:LB,display:jB,black:_B,signalRed130:OB,smBreakpoint:HB,gray50:UB,gray20:WB,backgroundSecondary:GB,button:ZB,icon:qB,multiSelect:YB,popover:JB,listBoxItem:QB},XB='"../theme/tokens.css"',ek='"Inter", sans-serif',tk="#000000",uk="#b31b1b",nk="(max-width: 767px)",rk="#bfbfbf",ak="#d9d9d9",ik="#e6e6e6",lk="#f2f2f2",ok="#f2f2f2",sk="_button_m4kn4_4",dk="_tag_m4kn4_14",ck="_dismissable_m4kn4_34",fk="_tagText_m4kn4_42",pk="_tagList_m4kn4_47",cn={tokens:XB,display:ek,black:tk,signalRed130:uk,smBreakpoint:nk,gray50:rk,gray30:ak,gray20:ik,gray10:lk,backgroundSecondary:ok,button:sk,tag:dk,dismissable:ck,tagText:fk,tagList:pk},H5=({children:e,...t})=>D.jsx(Px,{...t,children:D.jsx(Ax,{className:cn.tagList,children:e})}),U5=({children:e,dismissable:t,...u})=>D.jsxs(Fx,{className:J(cn.tag,t&&cn.dismissable),...u,children:[D.jsx("div",{className:cn.tagText,children:e}),t&&D.jsx(je,{variant:"icon",size:"small",className:cn.button,slot:"remove",children:D.jsx(Pu,{size:20})})]}),mk=({label:e,description:t,items:u,onSelectionChange:n,selectedKeys:r,defaultSelectedKeys:a,isDisabled:i,isInvalid:l,errorMessage:s})=>{const d=we.useRef(null),[c,f]=we.useState(void 0),p=Ey({initialItems:u,initialSelectedKeys:a});we.useEffect(()=>{const b=()=>{d.current&&f(d.current.offsetWidth-2)};return b(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[]),we.useEffect(()=>{n&&n(new Set(p.selectedKeys))},[p.selectedKeys,n]),we.useEffect(()=>{r&&p.setSelectedKeys(new Set(r))},[r]);const m=p.selectedKeys==="all"?new Set(p.items.map(b=>b.id)):p.selectedKeys;return D.jsx("div",{className:an.multiSelect,"data-disabled":i,"data-invalid":l,children:D.jsxs(te,{values:[[mt,{isInvalid:l||!1,validationErrors:[],validationDetails:{customError:l||!1,badInput:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!1,valueMissing:!1}}]],children:[D.jsx(bt,{label:e,description:t,errorMessage:s,children:D.jsxs(vv,{children:[D.jsxs(dt,{className:an.button,ref:d,isDisabled:i,children:["Välj",D.jsx("div",{className:an.icon,"aria-hidden":"true",children:D.jsx(wn,{size:20})})]}),D.jsx(Qu,{className:an.popover,style:{width:c},offset:0,UNSTABLE_portalContainer:d.current||void 0,children:D.jsx(Ov,{"aria-label":e,selectionMode:"multiple",selectedKeys:p.selectedKeys,onSelectionChange:p.setSelectedKeys,children:p.items.map(b=>D.jsxs(Uv,{id:b.id,textValue:b.name,className:an.listBoxItem,children:[D.jsx(On,{slot:"selection"}),b.name]},b.id))})})]})}),D.jsx(H5,{"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 D.jsx(U5,{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)})})]})})},bk='"../theme/tokens.css"',hk='"Inter", sans-serif',$k="undefined",gk="#1f1f1f",Dk="#000000",yk="#143c50",vk="#bfbfbf",xk="#b3b3b3",Ck="#ffdfdf",Ek="#e62323",Bk="undefined",kk="#1f1f1f",Pk="undefined",Sk="(max-width: 767px)",Ak="0 0 0 2px #ffffff, 0 0 0 4px #000000",wk="(min-width: 768px)",Fk="#b3b3b3",Tk="_radioGroup_1vn0q_4",Rk="_wrap_1vn0q_17",Kk="_radio_1vn0q_4",Ci={tokens:bk,display:hk,inputLabel:$k,inputText:gk,black:Dk,blue150:yk,gray50:vk,gray60:xk,signalRed10:Ck,signalRed100:Ek,medium:Bk,gray150:kk,regular:Pk,smBreakpoint:Sk,focus:Ak,mdBreakpoint:wk,borderSecondary:Fk,radioGroup:Tk,wrap:Rk,radio:Kk},Ik=({label:e,description:t,errorMessage:u,children:n,...r})=>D.jsx(Qv,{...r,className:Ci.radioGroup,children:D.jsx(bt,{label:e,description:t,errorMessage:u,children:D.jsx(Ln,{className:Ci.wrap,children:n})})}),Mk=e=>D.jsx(Xv,{className:Ci.radio,...e}),zk='"../theme/tokens.css"',Vk='"Inter", sans-serif',Nk="#143c50",Lk="#1f1f1f",jk="#ffffff",_k="_container_1thfk_5",Ok="_inputContainer_1thfk_12",Hk="_icon_1thfk_18",Uk="_clear_1thfk_26",Wk="_input_1thfk_12",ln={tokens:zk,display:Vk,blue150:Nk,gray150:Lk,backgroundPrimary:jk,container:_k,inputContainer:Ok,icon:Hk,clear:Uk,input:Wk},Gk=({placeholder:e,buttonText:t,...u})=>{const[n,r]=we.useState(!1);return D.jsxs(_y,{onInput:()=>r(!0),onClear:()=>r(!1),className:ln.container,...u,children:[D.jsx(hs,{hidden:!0,children:e}),D.jsxs("div",{className:ln.inputContainer,children:[D.jsx(C7,{size:20,className:ln.icon}),D.jsx(jn,{className:J(Te.input,ln.input),placeholder:e}),n&&D.jsx(je,{variant:"icon",size:"small",className:ln.clear,children:D.jsx(Pu,{size:20,"aria-hidden":!0})})]}),D.jsx(Tm,{}),D.jsx(je,{type:"submit",children:t||"Sök"})]})},Zk='"../theme/tokens.css"',qk='"Inter", sans-serif',Yk="#000000",Jk="#b31b1b",Qk="(max-width: 767px)",Xk="#bfbfbf",eP="#e6e6e6",tP="0 0 0 2px #ffffff, 0 0 0 4px #000000",uP="#f2f2f2",nP="_button_1n8ts_4",rP="_select_1n8ts_41",aP="_popover_1n8ts_57",iP="_listBoxItem_1n8ts_65",lP="_icon_1n8ts_87",fn={tokens:Zk,display:qk,black:Yk,signalRed130:Jk,smBreakpoint:Qk,gray50:Xk,gray20:eP,focus:tP,backgroundSecondary:uP,button:nP,select:rP,popover:aP,listBoxItem:iP,icon:lP};function oP({label:e,description:t,errorMessage:u,children:n,items:r,...a}){const i=o.useRef(null);return D.jsxs(tx,{className:fn.select,ref:i,...a,children:[D.jsx(bt,{label:e,description:t,errorMessage:u,children:D.jsxs(dt,{className:fn.button,children:[D.jsx(nx,{}),D.jsx("div",{className:fn.icon,"aria-hidden":"true",children:D.jsx(wn,{size:20,"aria-hidden":!0})})]})}),D.jsx(Qu,{className:fn.popover,offset:0,UNSTABLE_portalContainer:i.current||void 0,children:D.jsx(p5,{items:r,children:n})})]})}function sP(e){return D.jsx(b5,{className:fn.listBoxItem,...e})}const dP='"../theme/tokens.css"',cP="#b90835",fP="#143c50",pP="_container_13uof_4",mP="_spinner_13uof_8",bP="_rotating_13uof_1",hP="_dark_13uof_18",$P="_vsHidden_13uof_22",rr={tokens:dP,red100:cP,blue150:fP,container:pP,spinner:mP,rotating:bP,dark:hP,vsHidden:$P},gP=({small:e,dark:t})=>D.jsxs("div",{className:rr.container,role:"status",children:[D.jsx(D7,{className:J(rr.spinner,t&&rr.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),D.jsx("span",{className:rr.vsHidden,children:"Laddar, vänligen vänta."})]}),DP='"../theme/tokens.css"',yP='"Inter", sans-serif',vP="#f2f2f2",xP="#d9d9d9",CP="#cccccc",EP="#b3b3b3",BP="500",kP="_cell_yd56b_4",PP="_table_yd56b_10",SP="_narrow_yd56b_14",AP="_striped_yd56b_29",wP="_row_yd56b_29",FP="_tableHeader_yd56b_48",TP="_column_yd56b_52",mu={tokens:DP,display:yP,gray10:vP,gray30:xP,gray40:CP,gray60:EP,mediumWeight:BP,cell:kP,table:PP,narrow:SP,striped:AP,row:wP,tableHeader:FP,column:TP},RP=({narrow:e,striped:t,className:u,...n})=>{const r=J(mu.table,e&&mu.narrow,t&&mu.striped,u);return D.jsx(lx,{className:r,...n})},KP=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=k5();return D.jsxs(sx,{className:mu.tableHeader,children:[r&&D.jsx(Ei,{}),u==="toggle"&&D.jsx(Ei,{width:50,children:n==="multiple"&&D.jsx(On,{slot:"selection"})}),D.jsx(ft,{items:e,children:t})]})},IP=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:a}=k5();return D.jsxs(mx,{id:e,className:J(mu.row),...n,children:[a&&D.jsx(Bi,{children:D.jsx(dt,{slot:"drag",children:D.jsx(g7,{size:20})})}),r==="toggle"&&D.jsx(Bi,{children:D.jsx(On,{slot:"selection"})}),D.jsx(ft,{items:t,children:u})]})},Ei=({children:e,...t})=>D.jsx(cx,{className:mu.column,...t,children:({allowsSorting:u,sortDirection:n})=>D.jsxs(D.Fragment,{children:[e,u&&D.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?D.jsx(h7,{size:20}):D.jsx(m7,{size:20})})]})}),Bi=({...e})=>D.jsx(bx,{className:mu.cell,...e}),MP='"../theme/tokens.css"',zP='"Inter", sans-serif',VP="#bfbfbf",NP="600",LP="#25607f",jP="0 0 0 2px #ffffff, 0 0 0 4px #000000",_P="(max-width: 767px)",OP="_container_a0kqi_4",HP="_list_a0kqi_8",UP="_listItem_a0kqi_14",WP="_panel_a0kqi_42",ar={tokens:MP,display:zP,gray50:VP,semiBoldWeight:NP,blue130:LP,focus:jP,smBreakpoint:_P,container:OP,list:HP,listItem:UP,panel:WP},GP=({tabs:e,label:t,defaultSelected:u,children:n})=>{const r=we.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(we.isValidElement(l)){const c=(d=e[s])==null?void 0:d.toLowerCase();c&&(i[c]=we.cloneElement(l,{id:c}))}return i},{});return D.jsxs(yx,{orientation:"vertical",defaultSelectedKey:u&&u.toLowerCase(),className:ar.container,children:[D.jsx(xx,{"aria-label":t,className:ar.list,children:e.map(i=>D.jsx(Ex,{id:i.toLowerCase(),className:ar.listItem,children:i},i))}),e.map(i=>D.jsx(Bx,{id:i.toLowerCase(),className:ar.panel,children:a[i.toLowerCase()]},i))]})},ZP='"../theme/tokens.css"',qP='"Inter", sans-serif',YP="#ffdfdf",JP="(max-width: 767px)",QP="#f2f2f2",XP="#e6e6e6",eS="#bfbfbf",tS="#000000",uS="#e62323",nS="#2e7ca5",rS="500",aS="400",iS="#1f1f1f",lS="0 0 0 2px #ffffff, 0 0 0 4px #000000",oS="_textArea_1tbo6_4",sS="_count_1tbo6_40",dS="_countExceeded_1tbo6_48",ir={tokens:ZP,display:qP,signalRed10:YP,smBreakpoint:JP,gray10:QP,gray20:XP,gray50:eS,black:tS,signalRed100:uS,blue100:nS,mediumWeight:rS,regularWeight:aS,inputText:iS,focus:lS,textArea:oS,count:sS,countExceeded:dS},cS=({label:e,description:t,rows:u,maxCharacters:n,errorMessage:r,showCounter:a,validate:i,...l})=>{const[s,d]=we.useState(""),c=m=>{const b=m.target.value;d(b)},f=()=>n?D.jsxs("span",{className:J(ir.count,s.length>n&&ir.countExceeded),children:[s.length," / ",n]}):a?D.jsx("span",{className:ir.count,children:s.length}):null,p=m=>{const b=n&&m.length>n?`Du har angett ${m.length-n} tecken för mycket. Fältet är begränsat till ${n} tecken.`:null,h=i?i(m):null;return b||h||!0};return D.jsx(Eb,{className:Te.inputField,validate:p,...l,children:D.jsxs(bt,{label:e,description:t,errorMessage:r,children:[D.jsx(f,{}),D.jsx(Hy,{className:ir.textArea,rows:u,onFocus:c,onChange:c})]})})};var W5={};W5={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var G5={};G5={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var Z5={};Z5={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 q5={};q5={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var Y5={};Y5={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var J5={};J5={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var Q5={};Q5={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var X5={};X5={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var eh={};eh={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var th={};th={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var uh={};uh={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var nh={};nh={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var rh={};rh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var ah={};ah={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 ih={};ih={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var lh={};lh={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 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 dh={};dh={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 ch={};ch={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 ph={};ph={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 mh={};mh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var bh={};bh={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var hh={};hh={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var $h={};$h={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var gh={};gh={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 Dh={};Dh={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 yh={};yh={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var vh={};vh={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var xh={};xh={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var Ch={};Ch={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var Eh={};Eh={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var Bh={};Bh={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var Sl={};Sl={"ar-AE":W5,"bg-BG":G5,"cs-CZ":Z5,"da-DK":q5,"de-DE":Y5,"el-GR":J5,"en-US":Q5,"es-ES":X5,"et-EE":eh,"fi-FI":th,"fr-FR":uh,"he-IL":nh,"hr-HR":rh,"hu-HU":ah,"it-IT":ih,"ja-JP":lh,"ko-KR":oh,"lt-LT":sh,"lv-LV":dh,"nb-NO":ch,"nl-NL":fh,"pl-PL":ph,"pt-BR":mh,"pt-PT":bh,"ro-RO":hh,"ru-RU":$h,"sk-SK":gh,"sl-SI":Dh,"sr-SP":yh,"sv-SE":vh,"tr-TR":xh,"uk-UA":Ch,"zh-CN":Eh,"zh-TW":Bh};function fS(e){return e&&e.__esModule?e.default:e}function pS(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=me(fS(Sl),"@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 kh=1,Na=Symbol.for("react-aria-landmark-manager");function mS(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Xo(){if(typeof document>"u")return null;let e=document[Na];return e&&e.version>=kh?e:(document[Na]=new hS,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Na])}function bS(){return Ri.useSyncExternalStore(mS,Xo,Xo)}class hS{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=kh,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function $S(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:a}=e;let i=bS(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return Z(()=>{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 gS(e){return e&&e.__esModule?e.default:e}function DS(e,t,u){let n=me(gS(Sl),"@react-aria/toast"),{landmarkProps:r}=$S({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);Z(()=>{if(s.current===-1||t.visibleToasts.length===0||!u.current){i.current=[],l.current=t.visibleToasts;return}if(i.current=[...u.current.querySelectorAll('[role="alertdialog"]')],l.current.length===t.visibleToasts.length&&t.visibleToasts.every((m,b)=>m.key===l.current[b].key)){l.current=t.visibleToasts;return}let f=l.current.map((m,b)=>({...m,i:b,isRemoved:!t.visibleToasts.some(h=>m.key===h.key)})),p=f.findIndex(m=>m.i===s.current);if(p>-1){let m=0,b,h;for(;m<=p;)f[m].isRemoved||(h=Math.max(0,m-1)),m++;for(;m<f.length;){if(!f[m].isRemoved){b=m-1;break}m++}h===void 0&&b===void 0&&(h=0),h>=0&&h<i.current.length?Oe(i.current[h]):b>=0&&b<i.current.length&&Oe(i.current[b])}l.current=t.visibleToasts},[t.visibleToasts,u]);let d=o.useRef(null),{focusWithinProps:c}=pt({onFocusWithin:f=>{t.pauseAll(),d.current=f.relatedTarget},onBlurWithin:()=>{t.resumeAll(),d.current=null}});return o.useEffect(()=>{t.visibleToasts.length===0&&d.current&&document.body.contains(d.current)&&(gu()==="pointer"?Oe(d.current):d.current.focus(),d.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{d.current&&document.body.contains(d.current)&&(gu()==="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 yS(e={}){let{maxVisibleToasts:t=1,hasExitAnimation:u=!1}=e,n=o.useMemo(()=>new Sh({maxVisibleToasts:t,hasExitAnimation:u}),[t,u]);return Ph(n)}function Ph(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:Ri.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 Sh{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 vS(()=>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 vS{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 xS='"../theme/tokens.css"',CS='"Inter", sans-serif',ES="#d5f2d9",BS="#008d3c",kS="#eaf2f6",PS="#0066cc",SS="#fff8e1",AS="#f1c21b",wS="#ffdfdf",FS="#e62323",TS="#1f1f1f",RS="0 0 0 2px #ffffff, 0 0 0 4px #000000",KS="(min-width: 768px)",IS="_toastRegion_i4o11_52",MS="_toast_i4o11_52",zS="_success_i4o11_96",VS="_info_i4o11_104",NS="_important_i4o11_112",LS="_warning_i4o11_120",jS="_icon_i4o11_128",_S="_toastContent_i4o11_138",OS="_toastMessage_i4o11_145",HS="_slideInTop_i4o11_1",US="_slideInEnd_i4o11_1",WS="_slideOutTop_i4o11_1",GS="_slideOutEnd_i4o11_1",Ku={tokens:xS,display:CS,signalGreen10:ES,signalGreen100:BS,signalBlue10:kS,signalBlue100:PS,signalYellow10:SS,signalYellow100:AS,signalRed10:wS,signalRed100:FS,gray150:TS,focus:RS,mdBreakpoint:KS,toastRegion:IS,toast:MS,success:zS,info:VS,important:NS,warning:LS,icon:jS,toastContent:_S,toastMessage:OS,slideInTop:HS,slideInEnd:US,slideOutTop:WS,slideOutEnd:GS},ZS={success:F5,info:T5,important:w5,warning:R5},Ah=new Sh({maxVisibleToasts:5,hasExitAnimation:!0}),qS=e=>{const t=Ph(Ah);return t.visibleToasts.length>0?xu.createPortal(D.jsx(Al,{...e,state:t}),document.body):null},YS=({children:e,...t})=>{const u=yS({maxVisibleToasts:5,hasExitAnimation:!0});return D.jsxs(D.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&D.jsx(Al,{...t,state:u})]})};function Al({state:e,...t}){const u=o.useRef(null),{regionProps:n}=DS(t,e,u);return D.jsx("div",{...n,ref:u,className:Ku.toastRegion,children:e.visibleToasts.map(r=>D.jsx(wh,{toast:r,state:e},r.key))})}function wh({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:a,closeButtonProps:i}=pS(t,e),l=ZS[t.toast.content.type];return D.jsxs("div",{...n,ref:u,className:J(Ku.toast,Ku[t.toast.content.type]),"data-animation":t.toast.animation,onAnimationEnd:()=>{t.toast.animation==="exiting"&&e.remove(t.toast.key)},children:[D.jsxs("div",{className:Ku.toastContent,...r,children:[D.jsx(l,{className:Ku.icon,size:20,"aria-hidden":!0}),D.jsxs("div",{children:[D.jsx("p",{className:Ku.toastMessage,...a,children:t.toast.content.message}),t.toast.content.children]})]}),D.jsx(je,{variant:"icon",...i,children:D.jsx(Pu,{size:20,"aria-hidden":!0})})]})}exports.Accordion=Tx;exports.AccordionItem=B7;exports.Breadcrumbs=W7;exports.Button=je;exports.ButtonGroup=d7;exports.Card=sC;exports.Cell=Bi;exports.Checkbox=On;exports.CheckboxGroup=a9;exports.Column=Ei;exports.ComboBox=B9;exports.ComboBoxItem=k9;exports.DatePicker=W9;exports.DateRangePicker=U9;exports.Dropdown=z5;exports.DropdownItem=V5;exports.FileUpload=f8;exports.Flex=v8;exports.FlexItem=N5;exports.GlobalToastRegion=qS;exports.Grid=w8;exports.GridItem=F8;exports.Header=O5;exports.InfoBanner=tE;exports.InputWrapper=bt;exports.Item=sP;exports.Layout=wB;exports.Link=Pl;exports.LinkButton=L5;exports.Logo=j5;exports.Modal=NB;exports.MultiSelect=mk;exports.Radio=Mk;exports.RadioGroup=Ik;exports.RouterProvider=rs;exports.Row=IP;exports.SearchField=Gk;exports.Select=oP;exports.Sidebar=_5;exports.Spinner=gP;exports.Table=RP;exports.TableBody=px;exports.TableHeader=KP;exports.Tabs=GP;exports.Tag=U5;exports.TagGroup=H5;exports.TextArea=cS;exports.TextField=n9;exports.Toast=wh;exports.ToastProvider=YS;exports.ToastRegion=Al;exports.dossNrRegEx=I5;exports.ssnRegEx=K5;exports.toastQueue=Ah;
|