"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7582],{2728:(e,t,n)=>{n.d(t,{$:()=>s});let r=new Set(["id"]),l=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),o=/^(data-.*)$/;function s(e,t={}){let{labelable:n,isLink:a,propNames:u}=t,c={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&l.has(t)||a&&i.has(t)||(null==u?void 0:u.has(t))||o.test(t))&&(c[t]=e[t]);return c}},4329:(e,t,n)=>{let r;n.d(t,{A:()=>eD,n:()=>ex});var l=n(56130),i=n(33170),o=n(28249);let s=new WeakMap,a=[];var u=n(41943),c=n(9724),d=n(7620),f=n(74670),p=n(48647);function h(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}var g=n(9398);let v=[];var y=n(31534),m=n(68797),b=n(22489),E=n(57735);function w(e,t){let n=e;for((0,E.o)(n,t)&&(n=n.parentElement);n&&!(0,E.o)(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}let P="undefined"!=typeof document&&window.visualViewport,C=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),S=0;function x(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function D(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function K(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=w(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect().top,r=n.getBoundingClientRect().top;r>t+n.clientHeight&&(e.scrollTop+=r-t)}n=e.parentElement}}var T=n(72072);let k=(0,d.createContext)({});var M=n(7963);function L({children:e}){let t=(0,d.useMemo)(()=>({register:()=>{}}),[]);return d.createElement(M.F.Provider,{value:t},e)}var R=n(97509),A=n(94612);let N=d.createContext(null);function F(e){var t;let n=(0,A.wR)(),{portalContainer:r=n?null:document.body,isExiting:l}=e,[i,o]=(0,d.useState)(!1),s=(0,d.useMemo)(()=>({contain:i,setContain:o}),[i,o]),{getContainer:a}=null!=(t=(0,d.useContext)(k))?t:{};if(!e.portalContainer&&a&&(r=a()),!r)return null;let u=e.children;return e.disableFocusManagement||(u=d.createElement(c.n1,{restoreFocus:!0,contain:i&&!l},u)),u=d.createElement(N.Provider,{value:s},d.createElement(L,null,u)),R.createPortal(u,r)}var B={},I={},O={},z={},_={},H={},V={},j={},U={},W={},$={},q={},J={},Z={},Y={},G={},X={},Q={},ee={},et={},en={},er={},el={},ei={},eo={},es={},ea={},eu={},ec={},ed={},ef={},ep={},eh={},eg={},ev={};ev={"ar-AE":{dismiss:`\u{62A}\u{62C}\u{627}\u{647}\u{644}`},"bg-BG":{dismiss:`\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:`Schlie\xdfen`},"el-GR":{dismiss:`\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:`L\xf5peta`},"fi-FI":{dismiss:`Hylk\xe4\xe4`},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:`\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:`Elutas\xedt\xe1s`},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:`\u{9589}\u{3058}\u{308B}`},"ko-KR":{dismiss:`\u{BB34}\u{C2DC}`},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:`Ner\u{101}d\u{12B}t`},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:`\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`},"sk-SK":{dismiss:`Zru\u{161}i\u{165}`},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:`\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`},"zh-CN":{dismiss:`\u{53D6}\u{6D88}`},"zh-TW":{dismiss:`\u{95DC}\u{9589}`}};var ey=n(61186),em=n(14667),eb=n(35308);function eE(e){var t;let{onDismiss:n,...r}=e,l=(0,em.o)((t=ev)&&t.__esModule?t.default:t,"@react-aria/overlays"),i=(0,ey.b)(r,l.format("dismiss"));return d.createElement(eb.s,null,d.createElement("button",{...i,tabIndex:-1,onClick:()=>{n&&n()},style:{width:1,height:1}}))}var ew=n(12084),eP=n(2728),eC=n(86947),eS=n(85732);let ex=(0,d.createContext)(null),eD=(0,d.forwardRef)(function(e,t){[e,t]=(0,l.JT)(e,t,ex);let n=(0,d.useContext)(o.RG),r=(0,eC.T)(e),i=null==e.isOpen&&null==e.defaultOpen&&n?n:r,s=(0,ew.O)(t,i.isOpen)||e.isExiting||!1;if((0,eS.m_)()){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),d.createElement(d.Fragment,null,t)}return!i||i.isOpen||s?d.createElement(eK,{...e,triggerRef:e.triggerRef,state:i,popoverRef:t,isExiting:s}):null});function eK({state:e,isExiting:t,UNSTABLE_portalContainer:n,...o}){var E;let k=(0,d.useRef)(null),[M,L]=(0,d.useState)(0);(0,y.N)(()=>{k.current&&e.isOpen&&L(k.current.getBoundingClientRect().width)},[e.isOpen,k]);let{popoverProps:R,underlayProps:A,arrowProps:N,placement:B}=function(e,t){let{triggerRef:n,popoverRef:l,isNonModal:i,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:E,...k}=e,{overlayProps:M,underlayProps:L}=function(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:l,isDismissable:i=!1,isKeyboardDismissDisabled:o=!1,shouldCloseOnInteractOutside:s}=e;(0,d.useEffect)(()=>(l&&v.push(t),()=>{let e=v.indexOf(t);e>=0&&v.splice(e,1)}),[l,t]);let a=()=>{v[v.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:l}=e,i=(0,d.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=(0,f.J)(e=>{n&&h(e,t)&&(l&&l(e),i.current.isPointerDown=!0)}),s=(0,f.J)(e=>{n&&n(e)});(0,d.useEffect)(()=>{let e=i.current;if(r)return;let n=t.current,l=(0,p.T)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&h(n,t)&&s(n),e.isPointerDown=!1};return l.addEventListener("pointerdown",o,!0),l.addEventListener("pointerup",n,!0),()=>{l.removeEventListener("pointerdown",o,!0),l.removeEventListener("pointerup",n,!0)}}{let n=n=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&h(n,t)&&s(n),e.isPointerDown=!1},r=n=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&h(n,t)&&s(n),e.isPointerDown=!1};return l.addEventListener("mousedown",o,!0),l.addEventListener("mouseup",n,!0),l.addEventListener("touchstart",o,!0),l.addEventListener("touchend",r,!0),()=>{l.removeEventListener("mousedown",o,!0),l.removeEventListener("mouseup",n,!0),l.removeEventListener("touchstart",o,!0),l.removeEventListener("touchend",r,!0)}}},[t,r,o,s])}({ref:t,onInteractOutside:i&&l?e=>{(!s||s(e.target))&&(v[v.length-1]===t&&(e.stopPropagation(),e.preventDefault()),a())}:void 0,onInteractOutsideStart:e=>{(!s||s(e.target))&&v[v.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:u}=(0,g.R)({isDisabled:!r,onBlurWithin:e=>{!(!e.relatedTarget||(0,c.Pu)(e.relatedTarget))&&(!s||s(e.relatedTarget))&&(null==n||n())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||o||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),a())},...u},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}({isOpen:t.isOpen&&!k["data-react-aria-top-layer"],onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:E},l),{overlayProps:R,arrowProps:A,placement:N}=(0,u.v)({...k,targetRef:n,overlayRef:l,isOpen:t.isOpen,onClose:i?t.close:null});return!function(e={}){let{isDisabled:t}=e;(0,y.N)(()=>{if(!t){let e,t,n,l,i;return 1==++S&&(r=(0,m.un)()?(n=null,l=()=>{if(n)return;let e=window.pageXOffset,t=window.pageYOffset;n=(0,b.c)(D(window,"scroll",()=>{window.scrollTo(0,0)}),x(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),x(document.documentElement,"overflow","hidden"),x(document.body,"marginTop",`-${t}px`),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)},i=(0,b.c)(D(document,"touchstart",n=>{((e=w(n.target,!0))!==document.documentElement||e!==document.body)&&e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(t=x(e,"overscrollBehavior","contain"))},{passive:!1,capture:!0}),D(document,"touchmove",t=>{if(!e||e===document.documentElement||e===document.body)return void t.preventDefault();e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()},{passive:!1,capture:!0}),D(document,"touchend",()=>{t&&t()},{passive:!1,capture:!0}),D(document,"focus",e=>{var t;let n=e.target;((t=n)instanceof HTMLInputElement&&!C.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable)&&(l(),n.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{n.style.transform="",P&&(P.height{K(n)}):P.addEventListener("resize",()=>K(n),{once:!0}))}))},!0)),()=>{null==t||t(),null==n||n(),i()}):(0,b.c)(x(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),x(document.documentElement,"overflow","hidden"))),()=>{0==--S&&r()}}},[t])}({isDisabled:i||!t.isOpen}),(0,y.N)(()=>{if(t.isOpen&&!i&&l.current)return function(e,t=document.body){let n=new Set(e),r=new Set,l=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(t);let t=e=>{if(n.has(e)||e.parentElement&&r.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of n)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},l=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),o=t(e);if(o===NodeFilter.FILTER_ACCEPT&&i(e),o!==NodeFilter.FILTER_REJECT){let e=l.nextNode();for(;null!=e;)i(e),e=l.nextNode()}},i=e=>{var t;let n=null!=(t=s.get(e))?t:0;("true"!==e.getAttribute("aria-hidden")||0!==n)&&(0===n&&e.setAttribute("aria-hidden","true"),r.add(e),s.set(e,n+1))};a.length&&a[a.length-1].disconnect(),l(t);let o=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...n,...r].some(e=>e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(n.delete(e),r.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?n.add(e):e instanceof Element&&l(e)}});o.observe(t,{childList:!0,subtree:!0});let u={observe(){o.observe(t,{childList:!0,subtree:!0})},disconnect(){o.disconnect()}};return a.push(u),()=>{for(let e of(o.disconnect(),r)){let t=s.get(e);null!=t&&(1===t?(e.removeAttribute("aria-hidden"),s.delete(e)):s.set(e,t-1))}u===a[a.length-1]?(a.pop(),a.length&&a[a.length-1].observe()):a.splice(a.indexOf(u),1)}}([l.current])},[i,t.isOpen,l]),{popoverProps:(0,T.v)(M,R),arrowProps:A,underlayProps:L,placement:N}}({...o,offset:null!=(E=o.offset)?E:8,arrowSize:M},e),I=o.popoverRef,O=(0,ew._)(I,!!B)||o.isEntering||!1,z=(0,l.Sl)({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:B,isEntering:O,isExiting:t}}),_={...R.style,...z.style};return d.createElement(F,{...o,isExiting:t,portalContainer:n},!o.isNonModal&&e.isOpen&&d.createElement("div",{"data-testid":"underlay",...A,style:{position:"fixed",inset:0}}),d.createElement("div",{...(0,T.v)((0,eP.$)(o),R),...z,ref:I,slot:o.slot||void 0,style:_,"data-trigger":o.trigger,"data-placement":B,"data-entering":O||void 0,"data-exiting":t||void 0},!o.isNonModal&&d.createElement(eE,{onDismiss:e.close}),d.createElement(i.J.Provider,{value:{...N,placement:B,ref:k}},z.children),d.createElement(eE,{onDismiss:e.close})))}},5669:(e,t,n)=>{n.d(t,{r:()=>i});var r=n(38731),l=n(7620);function i(e){let{allowsMultipleExpanded:t=!1,isDisabled:n=!1}=e,[i,o]=(0,r.P)((0,l.useMemo)(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),(0,l.useMemo)(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return(0,l.useEffect)(()=>{!t&&i.size>1&&o(new Set([i.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:n,expandedKeys:i,setExpandedKeys:o,toggleKey(e){let n;t?(n=new Set(i)).has(e)?n.delete(e):n.add(e):n=new Set(i.has(e)?[]:[e]),o(n)}}}},6035:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(59113).createAsyncLocalStorage)()},6442:(e,t,n)=>{n.d(t,{E:()=>i});var r=n(7620),l=n(38731);function i(e){let[t,n]=(0,l.P)(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange),i=(0,r.useCallback)(()=>{n(!0)},[n]),o=(0,r.useCallback)(()=>{n(!1)},[n]),s=(0,r.useCallback)(()=>{n(!t)},[n,t]);return{isExpanded:t,setExpanded:n,expand:i,collapse:o,toggle:s}}},7963:(e,t,n)=>{n.d(t,{F:()=>r});let r=n(7620).createContext({register:()=>{}});r.displayName="PressResponderContext"},9398:(e,t,n)=>{n.d(t,{R:()=>i});var r=n(75261),l=n(7620);function i(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:o}=e,s=(0,l.useRef)({isFocusWithin:!1}),a=(0,l.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,s]),u=(0,r.y)(a),c=(0,l.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(i&&i(e),o&&o(!0),s.current.isFocusWithin=!0,u(e))},[i,o,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:a}}}},9724:(e,t,n)=>{n.d(t,{n1:()=>f,N$:()=>K,Pu:()=>E});var r=n(9837),l=n(48647),i=n(24469),o=n(31534),s=n(68797),a=n(7620);let u=a.createContext(null),c="react-aria-focus-scope-restore",d=null;function f(e){var t,n,r,f,p;let h,g,{children:E,contain:T,restoreFocus:L,autoFocus:R}=e,A=(0,a.useRef)(null),N=(0,a.useRef)(null),F=(0,a.useRef)([]),{parentNode:B}=(0,a.useContext)(u)||{},I=(0,a.useMemo)(()=>new k({scopeRef:F}),[F]);(0,o.N)(()=>{let e=B||M.root;if(M.getTreeNode(e.scopeRef)&&d&&!w(d,e.scopeRef)){let t=M.getTreeNode(d);t&&(e=t)}e.addChild(I),M.addNode(I)},[I,B]),(0,o.N)(()=>{let e=M.getTreeNode(F);e&&(e.contain=!!T)},[T]),(0,o.N)(()=>{var e;let t=null==(e=A.current)?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==N.current;)n.push(t),t.addEventListener(c,r),t=t.nextSibling;return F.current=n,()=>{for(let e of n)e.removeEventListener(c,r)}},[E]),t=F,n=L,r=T,(0,o.N)(()=>{if(n||r)return;let e=t.current,i=(0,l.T)(e?e[0]:void 0),o=e=>{let n=e.target;m(n,t.current)?d=t:b(n)||(d=null)};return i.addEventListener("focusin",o,!1),null==e||e.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",o,!1))}},[t,n,r]),f=F,p=T,h=(0,a.useRef)(void 0),g=(0,a.useRef)(void 0),(0,o.N)(()=>{let e=f.current;if(!p){g.current&&(cancelAnimationFrame(g.current),g.current=void 0);return}let t=(0,l.T)(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!y(f)||e.isComposing)return;let n=t.activeElement,r=f.current;if(!r||!m(n,r))return;let l=K(v(r),{tabbable:!0},r);if(!n)return;l.currentNode=n;let i=e.shiftKey?l.previousNode():l.nextNode();i||(l.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=e.shiftKey?l.previousNode():l.nextNode()),e.preventDefault(),i&&P(i,!0)},r=e=>{(!d||w(d,f))&&m(e.target,f.current)?(d=f,h.current=e.target):y(f)&&!b(e.target,f)?h.current?h.current.focus():d&&d.current&&S(d.current):y(f)&&(h.current=e.target)},o=e=>{g.current&&cancelAnimationFrame(g.current),g.current=requestAnimationFrame(()=>{let n=(0,i.ME)();if(!(("virtual"===n||null===n)&&(0,s.m0)()&&(0,s.H8)())&&t.activeElement&&y(f)&&!b(t.activeElement,f))if(d=f,t.body.contains(e.target)){var r;h.current=e.target,null==(r=h.current)||r.focus()}else d.current&&S(d.current)})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",o,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",o,!1))}},[f,p]),(0,o.N)(()=>()=>{g.current&&cancelAnimationFrame(g.current)},[g]),function(e,t,n){let r=(0,a.useRef)("undefined"!=typeof document?(0,l.T)(e.current?e.current[0]:void 0).activeElement:null);(0,o.N)(()=>{let r=e.current,i=(0,l.T)(r?r[0]:void 0);if(!t||n)return;let o=()=>{(!d||w(d,e))&&m(i.activeElement,e.current)&&(d=e)};return i.addEventListener("focusin",o,!1),null==r||r.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,n]),(0,o.N)(()=>{let r=(0,l.T)(e.current?e.current[0]:void 0);if(!t)return;let i=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y(e)||t.isComposing)return;let n=r.activeElement;if(!b(n,e)||!x(e))return;let l=M.getTreeNode(e);if(!l)return;let i=l.nodeToRestore,o=K(r.body,{tabbable:!0});o.currentNode=n;let s=t.shiftKey?o.previousNode():o.nextNode();if(i&&r.body.contains(i)&&i!==r.body||(i=void 0,l.nodeToRestore=void 0),(!s||!b(s,e))&&i){o.currentNode=i;do s=t.shiftKey?o.previousNode():o.nextNode();while(b(s,e));(t.preventDefault(),t.stopPropagation(),s)?P(s,!0):b(i)?P(i,!0):n.blur()}};return n||r.addEventListener("keydown",i,!0),()=>{n||r.removeEventListener("keydown",i,!0)}},[e,t,n]),(0,o.N)(()=>{var n;let i=(0,l.T)(e.current?e.current[0]:void 0);if(!t)return;let o=M.getTreeNode(e);if(o)return o.nodeToRestore=null!=(n=r.current)?n:void 0,()=>{let n=M.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(i.activeElement&&b(i.activeElement,e)||i.activeElement===i.body&&x(e))){let t=M.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected)return void D(n.nodeToRestore);n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&M.getTreeNode(n.scopeRef))return void D(C(n.scopeRef.current,!0));n=n.parent}}})}}},[e,t])}(F,L,T),function(e,t){let n=a.useRef(t);(0,a.useEffect)(()=>{n.current&&(d=e,!m((0,l.T)(e.current?e.current[0]:void 0).activeElement,d.current)&&e.current&&S(e.current)),n.current=!1},[e])}(F,R),(0,a.useEffect)(()=>{let e=(0,l.T)(F.current?F.current[0]:void 0).activeElement,t=null;if(m(e,F.current)){for(let n of M.traverse())n.scopeRef&&m(e,n.scopeRef.current)&&(t=n);t===M.getTreeNode(F)&&(d=t.scopeRef)}},[F]),(0,o.N)(()=>()=>{var e,t,n;let r=null!=(n=null==(t=M.getTreeNode(F))||null==(e=t.parent)?void 0:e.scopeRef)?n:null;(F===d||w(F,d))&&(!r||M.getTreeNode(r))&&(d=r),M.removeTreeNode(F)},[F]);let O=(0,a.useMemo)(()=>{var e;return e=F,{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:o,accept:s}=t,a=r||(0,l.T)(n[0]).activeElement,u=n[0].previousElementSibling,c=K(v(n),{tabbable:i,accept:s},n);c.currentNode=m(a,n)?a:u;let d=c.nextNode();return!d&&o&&(c.currentNode=u,d=c.nextNode()),d&&P(d,!0),d},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:o,accept:s}=t,a=r||(0,l.T)(n[0]).activeElement,u=n[n.length-1].nextElementSibling,c=K(v(n),{tabbable:i,accept:s},n);c.currentNode=m(a,n)?a:u;let d=c.previousNode();return!d&&o&&(c.currentNode=u,d=c.previousNode()),d&&P(d,!0),d},focusFirst(t={}){let n=e.current,{tabbable:r,accept:l}=t,i=K(v(n),{tabbable:r,accept:l},n);i.currentNode=n[0].previousElementSibling;let o=i.nextNode();return o&&P(o,!0),o},focusLast(t={}){let n=e.current,{tabbable:r,accept:l}=t,i=K(v(n),{tabbable:r,accept:l},n);i.currentNode=n[n.length-1].nextElementSibling;let o=i.previousNode();return o&&P(o,!0),o}}},[]),z=(0,a.useMemo)(()=>({focusManager:O,parentNode:I}),[I,O]);return a.createElement(u.Provider,{value:z},a.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:A}),E,a.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:N}))}let p=["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"])'],h=p.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";p.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let g=p.join(':not([hidden]):not([tabindex="-1"]),');function v(e){return e[0].parentElement}function y(e){let t=M.getTreeNode(d);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function m(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function b(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of M.traverse(M.getTreeNode(t)))if(n&&m(e,n.current))return!0;return!1}function E(e){return b(e,d)}function w(e,t){var n;let r=null==(n=M.getTreeNode(t))?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function P(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,r.l)(e)}catch{}}function C(e,t=!0){let n=e[0].previousElementSibling,r=v(e),l=K(r,{tabbable:t},e);l.currentNode=n;let i=l.nextNode();return t&&!i&&((l=K(r=v(e),{tabbable:!1},e)).currentNode=n,i=l.nextNode()),i}function S(e,t=!0){P(C(e,t))}function x(e){let t=M.getTreeNode(d);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function D(e){e.dispatchEvent(new CustomEvent(c,{bubbles:!0,cancelable:!0}))&&P(e)}function K(e,t,n){let r=(null==t?void 0:t.tabbable)?g:h,i=(0,l.T)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var i;return(null==t||null==(i=t.from)?void 0:i.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,l.m)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i="none"!==n&&"hidden"!==r&&"collapse"!==r;if(i){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);i="none"!==n&&"hidden"!==r&&"collapse"!==r}return i}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||m(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(i.currentNode=t.from),i}class T{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let l=new k({scopeRef:e});r.addChild(l),l.parent=r,this.fastMap.set(e,l),n&&(l.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&m(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new T;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!=(t=null==(e=r.parent)?void 0:e.scopeRef)?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new k({scopeRef:null}),this.fastMap.set(null,this.root)}}class k{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let M=new T},9837:(e,t,n)=>{n.d(t,{l:()=>s});var r=n(48647),l=n(88370),i=n(48231),o=n(24469);function s(e){let t=(0,r.T)(e);if("virtual"===(0,o.ME)()){let n=t.activeElement;(0,l.v)(()=>{t.activeElement===n&&e.isConnected&&(0,i.e)(e)})}else(0,i.e)(e)}},12084:(e,t,n)=>{n.d(t,{O:()=>s,_:()=>o});var r=n(31534),l=n(97509),i=n(7620);function o(e,t=!0){let[n,l]=(0,i.useState)(!0),s=n&&t;return(0,r.N)(()=>{if(s&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,s]),a(e,s,(0,i.useCallback)(()=>l(!1),[])),s}function s(e,t){let[n,r]=(0,i.useState)(t?"open":"closed");switch(n){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open")}let l="exiting"===n;return a(e,l,(0,i.useCallback)(()=>{r(e=>"exiting"===e?"closed":e)},[])),l}function a(e,t,n){(0,r.N)(()=>{if(t&&e.current){if(!("getAnimations"in e.current))return void n();let t=e.current.getAnimations();if(0===t.length)return void n();let r=!1;return Promise.all(t.map(e=>e.finished)).then(()=>{r||(0,l.flushSync)(()=>{n()})}).catch(()=>{}),()=>{r=!0}}},[e,t,n])}},12844:(e,t,n)=>{n.d(t,{M:()=>i});var r=n(27024),l=n(61186);function i(e){let{id:t,label:n,"aria-labelledby":i,"aria-label":o,labelElementType:s="label"}=e;t=(0,r.Bi)(t);let a=(0,r.Bi)(),u={};return n?(i=i?`${a} ${i}`:a,u={id:a,htmlFor:"label"===s?t:void 0}):i||o||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:u,fieldProps:(0,l.b)({id:t,"aria-label":o,"aria-labelledby":i})}}},12905:(e,t,n)=>{n.d(t,{w:()=>l});var r=n(7620);function l(e){let{ref:t,box:n,onResize:l}=e;(0,r.useEffect)(()=>{let e=null==t?void 0:t.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",l,!1),()=>{window.removeEventListener("resize",l,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&l()});return t.observe(e,{box:n}),()=>{e&&t.unobserve(e)}}},[l,t,n])}},13100:(e,t,n)=>{e.exports=n(61907)},14187:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(7620);function l(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,l)=>{let i=(null==l?void 0:l.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:l}),t.addEventListener(n,i,l)},[]),n=(0,r.useCallback)((t,n,r,l)=>{var i;let o=(null==(i=e.current.get(r))?void 0:i.fn)||r;t.removeEventListener(n,o,l),e.current.delete(r)},[]),l=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>l,[l]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:l}}},14667:(e,t,n)=>{let r;n.d(t,{o:()=>p});var l=n(41635);let i=Symbol.for("react-aria.i18n.locale"),o=Symbol.for("react-aria.i18n.strings");class s{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){var r;if(t[e])return t[e];let l=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]);if(t[l])return t[l];for(let e in t)if(e.startsWith(l+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[i];if(void 0===r){let e=window[o];if(!e)return null;for(let n in r={},e)r[n]=new s({[t]:e[n]},t)}let n=null==r?void 0:r[e];if(!n)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}let a=new Map,u=new Map;class c{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let l=this.locale+":"+n,i=a.get(l);return i||(i=new Intl.PluralRules(this.locale,{type:n}),a.set(l,i)),"function"==typeof(r=t[i.select(e)]||t.other)?r():r}number(e){let t=u.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),u.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}var d=n(7620);let f=new WeakMap;function p(e,t){let n,{locale:r}=(0,l.Y)(),i=t&&s.getGlobalDictionaryForPackage(t)||((n=f.get(e))||(n=new s(e),f.set(e,n)),n);return(0,d.useMemo)(()=>new c(r,i),[r,i])}},18098:(e,t,n)=>{n.d(t,{s:()=>s});var r=n(72072),l=n(2728),i=n(90688),o=n(93874);function s(e,t){let n,{elementType:s="button",isDisabled:a,onPress:u,onPressStart:c,onPressEnd:d,onPressUp:f,onPressChange:p,preventFocusOnPress:h,allowFocusWhenDisabled:g,onClick:v,href:y,target:m,rel:b,type:E="button"}=e;n="button"===s?{type:E,disabled:a}:{role:"button",tabIndex:a?void 0:0,href:"a"!==s||a?void 0:y,target:"a"===s?m:void 0,type:"input"===s?E:void 0,disabled:"input"===s?a:void 0,"aria-disabled":a&&"input"!==s?a:void 0,rel:"a"===s?b:void 0};let{pressProps:w,isPressed:P}=(0,o.d)({onPressStart:c,onPressEnd:d,onPressChange:p,onPress:u,onPressUp:f,isDisabled:a,preventFocusOnPress:h,ref:t}),{focusableProps:C}=(0,i.W)(e,t);g&&(C.tabIndex=a?-1:C.tabIndex);let S=(0,r.v)(C,w,(0,l.$)(e,{labelable:!0}));return{isPressed:P,buttonProps:(0,r.v)(n,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{v&&(v(e),console.warn("onClick is deprecated, please use onPress"))}})}}},22489:(e,t,n)=>{n.d(t,{c:()=>r});function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}},24469:(e,t,n)=>{n.d(t,{Cl:()=>C,K7:()=>x,ME:()=>P,pP:()=>w});var r=n(68797),l=n(61847),i=n(48647),o=n(7620);let s=null,a=new Set,u=new Map,c=!1,d=!1,f={Tab:!0,Escape:!0};function p(e,t){for(let n of a)n(e,t)}function h(e){c=!0,e.metaKey||!(0,r.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(s="keyboard",p("keyboard",e))}function g(e){s="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(c=!0,p("pointer",e))}function v(e){(0,l.Y)(e)&&(c=!0,s="virtual")}function y(e){e.target!==window&&e.target!==document&&(c||d||(s="virtual",p("virtual",e)),c=!1,d=!1)}function m(){c=!1,d=!0}function b(e){if("undefined"==typeof window||u.get((0,i.m)(e)))return;let t=(0,i.m)(e),n=(0,i.T)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){c=!0,r.apply(this,arguments)},n.addEventListener("keydown",h,!0),n.addEventListener("keyup",h,!0),n.addEventListener("click",v,!0),t.addEventListener("focus",y,!0),t.addEventListener("blur",m,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",g,!0),n.addEventListener("pointermove",g,!0),n.addEventListener("pointerup",g,!0)):(n.addEventListener("mousedown",g,!0),n.addEventListener("mousemove",g,!0),n.addEventListener("mouseup",g,!0)),t.addEventListener("beforeunload",()=>{E(e)},{once:!0}),u.set(t,{focus:r})}let E=(e,t)=>{let n=(0,i.m)(e),r=(0,i.T)(e);t&&r.removeEventListener("DOMContentLoaded",t),u.has(n)&&(n.HTMLElement.prototype.focus=u.get(n).focus,r.removeEventListener("keydown",h,!0),r.removeEventListener("keyup",h,!0),r.removeEventListener("click",v,!0),n.removeEventListener("focus",y,!0),n.removeEventListener("blur",m,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",g,!0),r.removeEventListener("pointermove",g,!0),r.removeEventListener("pointerup",g,!0)):(r.removeEventListener("mousedown",g,!0),r.removeEventListener("mousemove",g,!0),r.removeEventListener("mouseup",g,!0)),u.delete(n))};function w(){return"pointer"!==s}function P(){return s}function C(e){s=e,p(e,null)}"undefined"!=typeof document&&function(e){let t,n=(0,i.T)(void 0);"loading"!==n.readyState?b(void 0):(t=()=>{b(e)},n.addEventListener("DOMContentLoaded",t)),()=>E(e,t)}();let S=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function x(e,t,n){b(),(0,o.useEffect)(()=>{let t=(t,r)=>{(function(e,t,n){var r;let l="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof l&&!S.has(null==n||null==(r=n.target)?void 0:r.type)||(null==n?void 0:n.target)instanceof o||(null==n?void 0:n.target)instanceof s&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof a&&!f[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(w())};return a.add(t),()=>{a.delete(t)}},t)}},26799:(e,t,n)=>{n.d(t,{U:()=>l});var r=n(7620);function l(e){let t=(0,r.useRef)(null);return(0,r.useMemo)(()=>({get current(){return t.current},set current(value){t.current=value,"function"==typeof e?e(value):e&&(e.current=value)}}),[e])}},27024:(e,t,n)=>{n.d(t,{Tw:()=>c,Bi:()=>u,X1:()=>d});var r=n(31534),l=n(74670),i=n(7620),o=n(94612);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),a=new Map;function u(e){let[t,n]=(0,i.useState)(e),l=(0,i.useRef)(null),u=(0,o.Cc)(t),c=(0,i.useCallback)(e=>{l.current=e},[]);return s&&(a.has(u)&&!a.get(u).includes(c)?a.set(u,[...a.get(u),c]):a.set(u,[c])),(0,r.N)(()=>()=>{a.delete(u)},[u]),(0,i.useEffect)(()=>{let e=l.current;e&&(l.current=null,n(e))}),u}function c(e,t){if(e===t)return e;let n=a.get(e);if(n)return n.forEach(e=>e(t)),t;let r=a.get(t);return r?(r.forEach(t=>t(e)),e):t}function d(e=[]){let t=u(),[n,o]=function(e){let[t,n]=(0,i.useState)(e),o=(0,i.useRef)(null),s=(0,l.J)(()=>{if(!o.current)return;let e=o.current.next();if(e.done){o.current=null;return}t===e.value?s():n(e.value)});(0,r.N)(()=>{o.current&&s()});let a=(0,l.J)(e=>{o.current=e(t),s()});return[t,a]}(t),s=(0,i.useCallback)(()=>{o(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,o]);return(0,r.N)(s,[t,s,...e]),n}},27618:(e,t,n)=>{n.d(t,{H:()=>c});var r=n(93874),l=n(14187),i=n(31534),o=n(7620);let s=0,a=new Map;var u=n(72072);function c(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:c,onLongPress:d,threshold:f=500,accessibilityDescription:p}=e,h=(0,o.useRef)(void 0),{addGlobalListener:g,removeGlobalListener:v}=(0,l.A)(),{pressProps:y}=(0,r.d)({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(n&&n({...e,type:"longpressstart"}),h.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),d&&d({...e,type:"longpress"}),h.current=void 0},f),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};g(e.target,"contextmenu",t,{once:!0}),g(window,"pointerup",()=>{setTimeout(()=>{v(e.target,"contextmenu",t)},30)},{once:!0})}},onPressEnd(e){h.current&&clearTimeout(h.current),c&&("mouse"===e.pointerType||"touch"===e.pointerType)&&c({...e,type:"longpressend"})}}),m=function(e){let[t,n]=(0,o.useState)();return(0,i.N)(()=>{if(!e)return;let t=a.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${s++}`;n(r);let l=document.createElement("div");l.id=r,l.style.display="none",l.textContent=e,document.body.appendChild(l),t={refCount:0,element:l},a.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),a.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(d&&!t?p:void 0);return{longPressProps:(0,u.v)(y,m)}}},28249:(e,t,n)=>{n.d(t,{RG:()=>r});let r=(0,n(7620).createContext)(null)},31534:(e,t,n)=>{n.d(t,{N:()=>l});var r=n(7620);let l="undefined"!=typeof document?r.useLayoutEffect:()=>{}},32987:(e,t,n)=>{function r(){for(var e,t,n=0,r="",l=arguments.length;nr,A:()=>l});let l=r},33170:(e,t,n)=>{n.d(t,{J:()=>r});let r=(0,n(7620).createContext)({placement:"bottom"})},33257:(e,t,n)=>{n.d(t,{m_:()=>R,k$:()=>L});var r=n(56130),l=n(33170),i=n(24469),o=n(90909),s=n(27024),a=n(72072),u=n(7620),c=n(90688),d=n(97509),f=n(94612);let p=u.createContext(null);function h(e){let{children:t}=e,n=(0,u.useContext)(p),[r,l]=(0,u.useState)(0),i=(0,u.useMemo)(()=>({parent:n,modalCount:r,addModal(){l(e=>e+1),n&&n.addModal()},removeModal(){l(e=>e-1),n&&n.removeModal()}}),[n,r]);return u.createElement(p.Provider,{value:i},t)}function g(e){let t,{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(t=(0,u.useContext)(p))&&t.modalCount>0||void 0}};return u.createElement("div",{"data-overlay-container":!0,...e,...n})}function v(e){return u.createElement(h,null,u.createElement(g,e))}function y(e){let t=(0,f.wR)(),{portalContainer:n=t?null:document.body,...r}=e;if(u.useEffect(()=>{if(null==n?void 0:n.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let l=u.createElement(v,r);return d.createPortal(l,n)}var m=n(41943),b=n(2728),E=n(86947);let w={},P=0,C=!1,S=null,x=null;function D(e={}){let{delay:t=1500,closeDelay:n=500}=e,{isOpen:r,open:l,close:i}=(0,E.T)(e),o=(0,u.useMemo)(()=>`${++P}`,[]),s=(0,u.useRef)(null),a=(0,u.useRef)(i),c=()=>{w[o]=p},d=()=>{for(let e in w)e!==o&&(w[e](!0),delete w[e])},f=()=>{s.current&&clearTimeout(s.current),s.current=null,d(),c(),C=!0,l(),S&&(clearTimeout(S),S=null),x&&(clearTimeout(x),x=null)},p=e=>{e||n<=0?(s.current&&clearTimeout(s.current),s.current=null,a.current()):s.current||(s.current=setTimeout(()=>{s.current=null,a.current()},n)),S&&(clearTimeout(S),S=null),C&&(x&&clearTimeout(x),x=setTimeout(()=>{delete w[o],x=null,C=!1},Math.max(500,n)))},h=()=>{d(),c(),r||S||C?r||f():S=setTimeout(()=>{S=null,C=!0,f()},t)};return(0,u.useEffect)(()=>{a.current=i},[i]),(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current),w[o]&&delete w[o]},[o]),{isOpen:r,open:e=>{e||!(t>0)||s.current?f():h()},close:p}}var K=n(12084),T=n(31534);let k=(0,u.createContext)(null),M=(0,u.createContext)(null);function L(e){let t=D(e),n=(0,u.useRef)(null),{triggerProps:l,tooltipProps:d}=function(e,t,n){let{isDisabled:r,trigger:l}=e,d=(0,s.Bi)(),f=(0,u.useRef)(!1),p=(0,u.useRef)(!1),h=()=>{(f.current||p.current)&&t.open(p.current)},g=e=>{f.current||p.current||t.close(e)};(0,u.useEffect)(()=>{let e=e=>{n&&n.current&&"Escape"===e.key&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[n,t]);let v=()=>{p.current=!1,f.current=!1,g(!0)},{hoverProps:y}=(0,o.M)({isDisabled:r,onHoverStart:()=>{"focus"!==l&&("pointer"===(0,i.ME)()?f.current=!0:f.current=!1,h())},onHoverEnd:()=>{"focus"!==l&&(p.current=!1,f.current=!1,g())}}),{focusableProps:m}=(0,c.W)({isDisabled:r,onFocus:()=>{(0,i.pP)()&&(p.current=!0,h())},onBlur:()=>{p.current=!1,f.current=!1,g(!0)}},n);return{triggerProps:{"aria-describedby":t.isOpen?d:void 0,...(0,a.v)(m,y,{onPointerDown:v,onKeyDown:v})},tooltipProps:{id:d}}}(e,t,n);return u.createElement(r.Kq,{values:[[k,t],[M,{...d,triggerRef:n}]]},u.createElement(c.M,{...l,ref:n},e.children))}let R=(0,u.forwardRef)(function({UNSTABLE_portalContainer:e,...t},n){[t,n]=(0,r.JT)(t,n,M);let l=(0,u.useContext)(k),i=D(t),o=null==t.isOpen&&null==t.defaultOpen&&l?l:i,s=(0,K.O)(n,o.isOpen)||t.isExiting||!1;return o.isOpen||s?u.createElement(y,{portalContainer:e},u.createElement(A,{...t,tooltipRef:n,isExiting:s})):null});function A(e){let t=(0,u.useContext)(k),n=(0,u.useRef)(null),[i,s]=(0,u.useState)(0);(0,T.N)(()=>{n.current&&t.isOpen&&s(n.current.getBoundingClientRect().width)},[t.isOpen,n]);let{overlayProps:c,arrowProps:d,placement:f}=(0,m.v)({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:i,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),p=(0,K._)(e.tooltipRef,!!f)||e.isEntering||!1,h=(0,r.Sl)({...e,defaultClassName:"react-aria-Tooltip",values:{placement:f,isEntering:p,isExiting:e.isExiting,state:t}}),{tooltipProps:g}=function(e,t){let n=(0,b.$)(e,{labelable:!0}),{hoverProps:r}=(0,o.M)({onHoverStart:()=>null==t?void 0:t.open(!0),onHoverEnd:()=>null==t?void 0:t.close()});return{tooltipProps:(0,a.v)(n,r,{role:"tooltip"})}}(e=(0,a.v)(e,c),t);return u.createElement("div",{...g,ref:e.tooltipRef,...h,style:{...c.style,...h.style},"data-placement":null!=f?f:void 0,"data-entering":p||void 0,"data-exiting":e.isExiting||void 0},u.createElement(l.J.Provider,{value:{...d,placement:f,ref:n}},h.children))}},35308:(e,t,n)=>{n.d(t,{B:()=>s,s:()=>a});var r=n(72072),l=n(7620),i=n(9398);let o={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 s(e={}){let{style:t,isFocusable:n}=e,[r,a]=(0,l.useState)(!1),{focusWithinProps:u}=(0,i.R)({isDisabled:!n,onFocusWithinChange:e=>a(e)}),c=(0,l.useMemo)(()=>r?t:t?{...o,...t}:o,[r]);return{visuallyHiddenProps:{...u,style:c}}}function a(e){let{children:t,elementType:n="div",isFocusable:i,style:o,...a}=e,{visuallyHiddenProps:u}=s(e);return l.createElement(n,(0,r.v)(a,u),t)}},37684:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(21510)._(n(92644));function l(e,t){var n;let l={};"function"==typeof e&&(l.loader=e);let i={...l,...t};return(0,r.default)({...i,modules:null==(n=i.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38191:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(74670),l=n(7620);function i(e,t,n,i){let o=(0,r.J)(n),s=null==n;(0,l.useEffect)(()=>{if(s||!e.current)return;let n=e.current;return n.addEventListener(t,o,i),()=>{n.removeEventListener(t,o,i)}},[e,t,i,s,o])}},38731:(e,t,n)=>{n.d(t,{P:()=>l});var r=n(7620);function l(e,t,n){let[l,i]=(0,r.useState)(e||t),o=(0,r.useRef)(void 0!==e),s=void 0!==e;(0,r.useEffect)(()=>{let e=o.current;e!==s&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),o.current=s},[s]);let a=s?e:l,u=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(a,e)&&n(e,...t),s||(a=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((n,...l)=>{let i=e(s?a:n,...l);return(r(i,...t),s)?n:i})):(s||i(e),r(e,...t))},[s,a,n]);return[a,u]}},41635:(e,t,n)=>{n.d(t,{Y:()=>p});let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),l=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var i=n(7620),o=n(94612);let s=Symbol.for("react-aria.i18n.locale");function a(){let e="undefined"!=typeof window&&window[s]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return l.has(t)}(e)?"ltr":"rtl"}}let u=a(),c=new Set;function d(){for(let e of(u=a(),c))e(u)}let f=i.createContext(null);function p(){let e=function(){let e=(0,o.wR)(),[t,n]=(0,i.useState)(u);return((0,i.useEffect)(()=>(0===c.size&&window.addEventListener("languagechange",d),c.add(n),()=>{c.delete(n),0===c.size&&window.removeEventListener("languagechange",d)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,i.useContext)(f)||e}},41943:(e,t,n)=>{n.d(t,{v:()=>D});var r=n(68797);function l(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}let i={top:"top",bottom:"top",left:"left",right:"left"},o={top:"bottom",bottom:"top",left:"right",right:"left"},s={top:"left",left:"top"},a={top:"height",left:"width"},u={width:"totalWidth",height:"totalHeight"},c={},d="undefined"!=typeof document?window.visualViewport:null;function f(e){var t,n,l,i,o;let s=0,a=0,u=0,c=0,f=0,p=0,h={},g=(null!=(t=null==d?void 0:d.scale)?t:1)>1;if("BODY"===e.tagName){let t=document.documentElement;u=t.clientWidth,c=t.clientHeight,s=null!=(n=null==d?void 0:d.width)?n:u,a=null!=(l=null==d?void 0:d.height)?l:c,h.top=t.scrollTop||e.scrollTop,h.left=t.scrollLeft||e.scrollLeft,d&&(f=d.offsetTop,p=d.offsetLeft)}else({width:s,height:a,top:f,left:p}=y(e)),h.top=e.scrollTop,h.left=e.scrollLeft,u=s,c=a;return(0,r.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&g&&(h.top=0,h.left=0,f=null!=(i=null==d?void 0:d.pageTop)?i:0,p=null!=(o=null==d?void 0:d.pageLeft)?o:0),{width:s,height:a,totalWidth:u,totalHeight:c,scroll:h,top:f,left:p}}function p(e,t,n,r,l,o,s){var u;let c=null!=(u=l.scroll[e])?u:0,d=r[a[e]],f=r.scroll[i[e]]+o,p=d+r.scroll[i[e]]-o,h=t-c+s[e]-r[i[e]],g=t-c+n+s[e]-r[i[e]];return hp?Math.max(p-g,f-h):0}function h(e){if(c[e])return c[e];let[t,n]=e.split(" "),r=i[t]||"right",l=s[r];i[n]||(n="center");let o=a[r],u=a[l];return c[e]={placement:t,crossPlacement:n,axis:r,crossAxis:l,size:o,crossSize:u},c[e]}function g(e,t,n,r,i,s,a,c,d,f){var p,h,g,v,y;let{placement:m,crossPlacement:b,axis:E,crossAxis:w,size:P,crossSize:C}=r,S={};S[w]=null!=(p=e[w])?p:0,"center"===b?S[w]+=((null!=(h=e[C])?h:0)-(null!=(g=n[C])?g:0))/2:b!==w&&(S[w]+=(null!=(v=e[C])?v:0)-(null!=(y=n[C])?y:0)),S[w]+=s;let x=e[w]-n[C]+d+f,D=e[w]+e[C]-d-f;if(S[w]=l(S[w],x,D),m===E){let n=c?a[P]:t[u[P]];S[o[E]]=Math.floor(n-e[E]+i)}else S[E]=Math.floor(e[E]+e[P]+i);return S}function v(e,t,n,r,l,i){var s,a,u;let{placement:c,axis:d,size:f}=i;return c===d?Math.max(0,n[d]-e[d]-(null!=(s=e.scroll[d])?s:0)+t[d]-(null!=(a=r[d])?a:0)-r[o[d]]-l):Math.max(0,e[f]+e[d]+e.scroll[d]-t[d]-n[d]-n[f]-(null!=(u=r[d])?u:0)-r[o[d]]-l)}function y(e){let{top:t,left:n,width:r,height:l}=e.getBoundingClientRect(),{scrollTop:i,scrollLeft:o,clientTop:s,clientLeft:a}=document.documentElement;return{top:t+i-s,left:n+o-a,width:r,height:l}}function m(e,t){let n,r=window.getComputedStyle(e);if("fixed"===r.position){let{top:t,left:r,width:l,height:i}=e.getBoundingClientRect();n={top:t,left:r,width:l,height:i}}else{n=y(e);let r=y(t),l=window.getComputedStyle(t);r.top+=(parseInt(l.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(l.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function b(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var E=n(45559),w=n(7620),P=n(31534),C=n(12905),S=n(41635);let x="undefined"!=typeof document?window.visualViewport:null;function D(e){var t,n,r;let{direction:s}=(0,S.Y)(),{arrowSize:a=0,targetRef:c,overlayRef:d,scrollRef:D=d,placement:K="bottom",containerPadding:T=12,shouldFlip:k=!0,boundaryElement:M="undefined"!=typeof document?document.body:null,offset:L=0,crossOffset:R=0,shouldUpdatePosition:A=!0,isOpen:N=!0,onClose:F,maxHeight:B,arrowBoundaryOffset:I=0}=e,[O,z]=(0,w.useState)(null),_=[A,K,d.current,c.current,D.current,T,k,M,L,R,N,s,B,I,a],H=(0,w.useRef)(null==x?void 0:x.scale);(0,w.useEffect)(()=>{N&&(H.current=null==x?void 0:x.scale)},[N]);let V=(0,w.useCallback)(()=>{var e,t,n,r,E,w;if(!1===A||!N||!d.current||!c.current||!M||(null==x?void 0:x.scale)!==H.current)return;let P=null;if(D.current&&D.current.contains(document.activeElement)){let r=null==(e=document.activeElement)?void 0:e.getBoundingClientRect(),l=D.current.getBoundingClientRect();(P={type:"top",offset:(null!=(t=null==r?void 0:r.top)?t:0)-l.top}).offset>l.height/2&&(P.type="bottom",P.offset=(null!=(n=null==r?void 0:r.bottom)?n:0)-l.bottom)}let C=d.current;!B&&d.current&&(C.style.top="0px",C.style.bottom="",C.style.maxHeight=(null!=(E=null==(r=window.visualViewport)?void 0:r.height)?E:window.innerHeight)+"px");let S=function(e){var t,n,r,s;let a,{placement:c,targetNode:d,overlayNode:E,scrollNode:w,padding:P,shouldFlip:C,boundaryElement:S,offset:x,crossOffset:D,maxHeight:K,arrowSize:T=0,arrowBoundaryOffset:k=0}=e,M=E instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!b(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!b(t);)t=t.parentElement;return t||document.documentElement}(E):document.documentElement,L=M===document.documentElement,R=window.getComputedStyle(M).position,A=L?y(d):m(d,M);if(!L){let{marginTop:e,marginLeft:t}=window.getComputedStyle(d);A.top+=parseInt(e,10)||0,A.left+=parseInt(t,10)||0}let N=y(E),F={top:parseInt((a=window.getComputedStyle(E)).marginTop,10)||0,bottom:parseInt(a.marginBottom,10)||0,left:parseInt(a.marginLeft,10)||0,right:parseInt(a.marginRight,10)||0};N.width+=(null!=(t=F.left)?t:0)+(null!=(n=F.right)?n:0),N.height+=(null!=(r=F.top)?r:0)+(null!=(s=F.bottom)?s:0);let B={top:w.scrollTop,left:w.scrollLeft,width:w.scrollWidth,height:w.scrollHeight},I=f(S),O=f(M),z="BODY"===S.tagName?y(M):m(M,S);return"HTML"===M.tagName&&"BODY"===S.tagName&&(O.scroll.top=0,O.scroll.left=0),function(e,t,n,r,s,a,c,d,f,y,m,b,E,w,P,C){var S,x,D,K;let T=h(e),{size:k,crossAxis:M,crossSize:L,placement:R,crossPlacement:A}=T,N=g(t,d,n,T,m,b,y,E,P,C),F=m,B=v(d,y,t,s,a+m,T);if(c&&r[k]>B){let e=h(`${o[R]} ${A}`),r=g(t,d,n,e,m,b,y,E,P,C);v(d,y,t,s,a+m,e)>B&&(T=e,N=r,F=m)}let I="bottom";"top"===T.axis?"top"===T.placement?I="top":"bottom"===T.placement&&(I="bottom"):"top"===T.crossAxis&&("top"===T.crossPlacement?I="bottom":"bottom"===T.crossPlacement&&(I="top"));let O=p(M,N[M],n[L],d,f,a,y);N[M]+=O;let z=function(e,t,n,r,l,i,o,s){var a,c,d,f,p,h,g;let v=r?n.height:t[u.height],y=null!=e.top?n.top+e.top:n.top+(v-(null!=(a=e.bottom)?a:0)-o),m="top"!==s?Math.max(0,t.height+t.top+(null!=(c=t.scroll.top)?c:0)-y-((null!=(d=l.top)?d:0)+(null!=(f=l.bottom)?f:0)+i)):Math.max(0,y+o-(t.top+(null!=(p=t.scroll.top)?p:0))-((null!=(h=l.top)?h:0)+(null!=(g=l.bottom)?g:0)+i));return Math.min(t.height-2*i,m)}(N,d,y,E,s,a,n.height,I);w&&wC.style[e]=S.position[e]+"px"),C.style.maxHeight=null!=S.maxHeight?S.maxHeight+"px":"",P&&document.activeElement&&D.current){let e=document.activeElement.getBoundingClientRect(),t=D.current.getBoundingClientRect(),n=e[P.type]-t[P.type];D.current.scrollTop+=n-P.offset}z(S)}},_);(0,P.N)(V,_),r=V,(0,P.N)(()=>(window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}),[r]),(0,C.w)({ref:d,onResize:V}),(0,C.w)({ref:c,onResize:V});let j=(0,w.useRef)(!1);(0,P.N)(()=>{let e,t=()=>{j.current=!0,clearTimeout(e),e=setTimeout(()=>{j.current=!1},500),V()},n=()=>{j.current&&t()};return null==x||x.addEventListener("resize",t),null==x||x.addEventListener("scroll",n),()=>{null==x||x.removeEventListener("resize",t),null==x||x.removeEventListener("scroll",n)}},[V]);let U=(0,w.useCallback)(()=>{j.current||null==F||F()},[F,j]);return(0,E.o)({triggerRef:c,isOpen:N,onClose:F&&U}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...null==O?void 0:O.position,maxHeight:null!=(t=null==O?void 0:O.maxHeight)?t:"100vh"}},placement:null!=(n=null==O?void 0:O.placement)?n:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==O?void 0:O.arrowOffsetLeft,top:null==O?void 0:O.arrowOffsetTop}},updatePosition:V}}},44760:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return m},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return v}});let r=n(21510),l=n(15999),i=n(54568),o=r._(n(97509)),s=l._(n(7620)),a=n(45227),u=n(86575),c=n(95307),d=new Map,f=new Set,p=e=>{if(o.default.preinit)return void e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}},h=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:l=null,dangerouslySetInnerHTML:i,children:o="",strategy:s="afterInteractive",onError:a,stylesheets:c}=e,h=n||t;if(h&&f.has(h))return;if(d.has(t)){f.add(h),d.get(t).then(r,a);return}let g=()=>{l&&l(),f.add(h)},v=document.createElement("script"),y=new Promise((e,t)=>{v.addEventListener("load",function(t){e(),r&&r.call(this,t),g()}),v.addEventListener("error",function(e){t(e)})}).catch(function(e){a&&a(e)});i?(v.innerHTML=i.__html||"",g()):o?(v.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",g()):t&&(v.src=t,d.set(t,y)),(0,u.setAttributesFromProps)(v,e),"worker"===s&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",s),c&&p(c),document.body.appendChild(v)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}):h(e)}function v(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function y(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:l=null,strategy:u="afterInteractive",onError:d,stylesheets:p,...g}=e,{updateScripts:v,scripts:y,getIsSsr:m,appDir:b,nonce:E}=(0,s.useContext)(a.HeadManagerContext),w=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||n;w.current||(l&&e&&f.has(e)&&l(),w.current=!0)},[l,t,n]);let P=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!P.current){if("afterInteractive"===u)h(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}));P.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(v?(y[u]=(y[u]||[]).concat([{id:t,src:n,onLoad:r,onReady:l,onError:d,...g}]),v(y)):m&&m()?f.add(t||n):m&&!m()&&h(e)),b){if(p&&p.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!n)return g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...g,id:t}])+")"}});else return o.default.preload(n,g.integrity?{as:"script",integrity:g.integrity,nonce:E,crossOrigin:g.crossOrigin}:{as:"script",nonce:E,crossOrigin:g.crossOrigin}),(0,i.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...g,id:t}])+")"}});"afterInteractive"===u&&n&&o.default.preload(n,g.integrity?{as:"script",integrity:g.integrity,nonce:E,crossOrigin:g.crossOrigin}:{as:"script",nonce:E,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let m=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45559:(e,t,n)=>{n.d(t,{a:()=>l,o:()=>i});var r=n(7620);let l=new WeakMap;function i(e){let{triggerRef:t,isOpen:n,onClose:i}=e;(0,r.useEffect)(()=>{if(!n||null===i)return;let e=e=>{let n=e.target;if(!t.current||n instanceof Node&&!n.contains(t.current)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let r=i||l.get(t.current);r&&r()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[n,i,t])}},45951:(e,t,n)=>{n.d(t,{p:()=>p});class r{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let n=this.keyMap.get(e);return n&&null!=(t=n.prevKey)?t:null}getKeyAfter(e){var t;let n=this.keyMap.get(e);return n&&null!=(t=n.nextKey)?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,l=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=l++),(r=t).nextKey=void 0;this.lastKey=null!=(t=null==r?void 0:r.key)?t:null}}class l extends Set{constructor(e,t,n){super(e),e instanceof l?(this.anchorKey=null!=t?t:e.anchorKey,this.currentKey=null!=n?n:e.currentKey):(this.anchorKey=null!=t?t:null,this.currentKey=null!=n?n:null)}}var i=n(38731),o=n(7620);function s(e,t){return e?"all"===e?"all":new l(e):t}var a=n(87564);class u{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if("none"===this.state.selectionMode)return!1;let t=this.getKey(e);return null!=t&&("all"===this.state.selectedKeys?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let n=this.collection.getItem(e);(!t||n&&0>(0,a.o3)(this.collection,n,t))&&(t=n)}return null!=(e=null==t?void 0:t.key)?e:null}get lastSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let n=this.collection.getItem(e);(!t||n&&(0,a.o3)(this.collection,n,t)>0)&&(t=n)}return null!=(e=null==t?void 0:t.key)?e:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let n=this.getKey(e);if(null!=n){if("all"===this.state.selectedKeys)t=new l([n],n,n);else{var r,i;let e=this.state.selectedKeys,o=null!=(r=e.anchorKey)?r:n;for(let r of(t=new l(e,o,n),this.getKeyRange(o,null!=(i=e.currentKey)?i:n)))t.delete(r);for(let e of this.getKeyRange(n,o))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let n=this.collection.getItem(e),r=this.collection.getItem(t);return n&&r?0>=(0,a.o3)(this.collection,n,r)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var n;if(null==(n=this.layoutDelegate)?void 0:n.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let r=[],l=e;for(;null!=l;){let e=this.collection.getItem(l);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&r.push(l),l===t)return r;l=this.collection.getKeyAfter(l)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;t&&"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);let t=this.getKey(e);if(null==t)return;let n=new l("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),this.disallowEmptySelection&&0===n.size||this.state.setSelectedKeys(n)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let n=this.canSelectItem(t)?new l([t],t,t):new l;this.state.setSelectedKeys(n)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new l;for(let n of e){let e=this.getKey(n);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=n=>{for(;null!=n;){if(this.canSelectItem(n)){var r,l;let i=this.collection.getItem(n);(null==i?void 0:i.type)==="item"&&e.push(n),(null==i?void 0:i.hasChildNodes)&&(this.allowsCellSelection||"item"!==i.type)&&t(null!=(l=null==(r=(0,a.ue)((0,a.iQ)(i,this.collection)))?void 0:r.key)?l:null)}n=this.collection.getKeyAfter(n)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new l)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){var t;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let n=this.collection.getItem(e);return!!n&&(null==n||null==(t=n.props)||!t.isDisabled)&&("cell"!==n.type||!!this.allowsCellSelection)}isDisabled(e){var t,n;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(null==(n=this.collection.getItem(e))||null==(t=n.props)?void 0:t.isDisabled))}isLink(e){var t,n;return!!(null==(n=this.collection.getItem(e))||null==(t=n.props)?void 0:t.href)}getItemProps(e){var t;return null==(t=this.collection.getItem(e))?void 0:t.props}constructor(e,t,n){var r;this.collection=e,this.state=t,this.allowsCellSelection=null!=(r=null==n?void 0:n.allowsCellSelection)&&r,this._isSelectAll=null,this.layoutDelegate=(null==n?void 0:n.layoutDelegate)||null}}class c{build(e,t){return this.context=t,d(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:n}=e;if(o.isValidElement(t)&&t.type===o.Fragment)yield*this.iterateCollection({children:t.props.children,items:n});else if("function"==typeof t){if(!n)throw Error("props.children was a function but props.items is missing");let e=0;for(let r of n)yield*this.getFullNode({value:r,index:e},{renderer:t}),e++}else{let e=[];o.Children.forEach(t,t=>{t&&e.push(t)});let n=0;for(let t of e)for(let e of this.getFullNode({element:t,index:n},{}))n++,yield e}}getKey(e,t,n,r){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${r}${t.key}`;let l=t.value;if(null!=l){var i;let e=null!=(i=l.key)?i:l.id;if(null==e)throw Error("No key found for item");return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,n,r){var l,i,s,a,u,c,p,h;if(o.isValidElement(e.element)&&e.element.type===o.Fragment){let i=[];o.Children.forEach(e.element.props.children,e=>{i.push(e)});let s=null!=(l=e.index)?l:0;for(let e of i)yield*this.getFullNode({element:e,index:s++},t,n,r);return}let g=e.element;if(!g&&e.value&&t&&t.renderer){let n=this.cache.get(e.value);if(n&&(!n.shouldInvalidate||!n.shouldInvalidate(this.context))){n.index=e.index,n.parentKey=r?r.key:null,yield n;return}g=t.renderer(e.value)}if(o.isValidElement(g)){let l=g.type;if("function"!=typeof l&&"function"!=typeof l.getCollectionNode){let e=g.type;throw Error(`Unknown element <${e}> in collection.`)}let o=l.getCollectionNode(g.props,this.context),d=null!=(i=e.index)?i:0,p=o.next();for(;!p.done&&p.value;){let l=p.value;e.index=d;let i=null!=(s=l.key)?s:null;null==i&&(i=l.element?null:this.getKey(g,e,t,n));let h=[...this.getFullNode({...l,key:i,index:d,wrapper:function(e,t){return e&&t?n=>e(t(n)):e||t||void 0}(e.wrapper,l.wrapper)},this.getChildState(t,l),n?`${n}${g.key}`:g.key,r)];for(let t of h){if(t.value=null!=(u=null!=(a=l.value)?a:e.value)?u:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${f(t.type)}> in <${f(null!=(c=null==r?void 0:r.type)?c:"unknown parent type")}>. Only <${f(e.type)}> is supported.`);d++,yield t}p=o.next(h)}return}if(null==e.key||null==e.type)return;let v=this,y={type:e.type,props:e.props,key:e.key,parentKey:r?r.key:null,value:null!=(p=e.value)?p:null,level:r?r.level+1:0,index:e.index,rendered:e.rendered,textValue:null!=(h=e.textValue)?h:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:d(function*(){if(!e.hasChildNodes||!e.childNodes)return;let n=0;for(let r of e.childNodes())for(let e of(null!=r.key&&(r.key=`${y.key}${r.key}`),v.getFullNode({...r,index:n},v.getChildState(t,r),y.key,y)))n++,yield e})};yield y}constructor(){this.cache=new WeakMap}}function d(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let r of(n||(n=e()),n))t.push(r),yield r}}}function f(e){return e[0].toUpperCase()+e.slice(1)}function p(e){let{filter:t,layoutDelegate:n}=e,a=function(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:a="toggle",disabledBehavior:u="all"}=e,c=(0,o.useRef)(!1),[,d]=(0,o.useState)(!1),f=(0,o.useRef)(null),p=(0,o.useRef)(null),[,h]=(0,o.useState)(null),g=(0,o.useMemo)(()=>s(e.selectedKeys),[e.selectedKeys]),v=(0,o.useMemo)(()=>s(e.defaultSelectedKeys,new l),[e.defaultSelectedKeys]),[y,m]=(0,i.P)(g,v,e.onSelectionChange),b=(0,o.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[E,w]=(0,o.useState)(a);"replace"===a&&"toggle"===E&&"object"==typeof y&&0===y.size&&w("replace");let P=(0,o.useRef)(a);return(0,o.useEffect)(()=>{a!==P.current&&(w(a),P.current=a)},[a]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:E,setSelectionBehavior:w,get isFocused(){return c.current},setFocused(e){c.current=e,d(e)},get focusedKey(){return f.current},get childFocusStrategy(){return p.current},setFocusedKey(e,t="first"){f.current=e,p.current=t,h(e)},selectedKeys:y,setSelectedKeys(e){(r||!function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,y))&&m(e)},disabledKeys:b,disabledBehavior:u}}(e),d=(0,o.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),f=(0,o.useCallback)(e=>new r(t?t(e):e),[t]),p=(0,o.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),h=function(e,t,n){let r=(0,o.useMemo)(()=>new c,[]),{children:l,items:i,collection:s}=e;return(0,o.useMemo)(()=>s||t(r.build({children:l,items:i},n)),[r,l,i,s,n,t])}(e,f,p),g=(0,o.useMemo)(()=>new u(h,a,{layoutDelegate:n}),[h,a,n]),v=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(null!=a.focusedKey&&!h.getItem(a.focusedKey)&&v.current){var e,t,n,r,l,i,o;let s=v.current.getItem(a.focusedKey),u=[...v.current.getKeys()].map(e=>{let t=v.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),c=[...h.getKeys()].map(e=>{let t=h.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),d=(null!=(e=null==u?void 0:u.length)?e:0)-(null!=(t=null==c?void 0:c.length)?t:0),f=Math.min(d>1?Math.max((null!=(n=null==s?void 0:s.index)?n:0)-d+1,0):null!=(r=null==s?void 0:s.index)?r:0,(null!=(l=null==c?void 0:c.length)?l:0)-1),p=null,y=!1;for(;f>=0;){if(!g.isDisabled(c[f].key)){p=c[f];break}f(null!=(i=null==s?void 0:s.index)?i:0)&&(f=null!=(o=null==s?void 0:s.index)?o:0),f--)}a.setFocusedKey(p?p.key:null)}v.current=h},[h,g,a,a.focusedKey]),{collection:h,disabledKeys:d,selectionManager:g}}},48231:(e,t,n)=>{function r(e){if(function(){if(null==l){l=!1;try{document.createElement("div").focus({get preventScroll(){return l=!0,!0}})}catch{}}return l}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeightr});let l=null},48647:(e,t,n)=>{n.d(t,{T:()=>r,m:()=>l});let r=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},l=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window},49669:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(6035)},51700:(e,t,n)=>{n.d(t,{Q:()=>i});var r=n(41635);let l=new Map;function i(e){let{locale:t}=(0,r.Y)(),n=t+(e?Object.entries(e).sort((e,t)=>e[0]{n.d(t,{w:()=>l});var r=n(31534);function l(e,t){(0,r.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},55595:(e,t,n)=>{n.d(t,{l6:()=>e9,yv:()=>tt});var r=n(94008),l=n(56130),i=n(7620);let o=(0,i.createContext)(null),s=(0,i.createContext)(null);var a={},u={},c={},d={},f={},p={},h={},g={},v={},y={},m={},b={},E={},w={},P={},C={},S={},x={},D={},K={},T={},k={},M={},L={},R={},A={},N={},F={},B={},I={},O={},z={},_={},H={},V={};V={"ar-AE":{colorSwatchPicker:`\u{62A}\u{63A}\u{64A}\u{64A}\u{631}\u{627}\u{62A} \u{627}\u{644}\u{623}\u{644}\u{648}\u{627}\u{646}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{62D}\u{62F}\u{62F} \u{639}\u{646}\u{635}\u{631}\u{64B}\u{627}`,tableResizer:`\u{623}\u{62F}\u{627}\u{629} \u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{627}\u{644}\u{62D}\u{62C}\u{645}`},"bg-BG":{colorSwatchPicker:`\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{438} \u{43C}\u{43E}\u{441}\u{442}\u{440}\u{438}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{435}\u{434}\u{43C}\u{435}\u{442}`,tableResizer:`\u{41F}\u{440}\u{435}\u{43E}\u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{438}\u{442}\u{435}\u{43B}`},"cs-CZ":{colorSwatchPicker:"Vzorky barev",dropzoneLabel:`M\xedsto pro p\u{159}eta\u{17E}en\xed`,selectPlaceholder:`Vyberte polo\u{17E}ku`,tableResizer:`Zm\u{11B}na velikosti`},"da-DK":{colorSwatchPicker:`Farvepr\xf8ver`,dropzoneLabel:"DropZone",selectPlaceholder:`V\xe6lg et element`,tableResizer:`St\xf8rrelses\xe6ndring`},"de-DE":{colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:`Element w\xe4hlen`,tableResizer:`Gr\xf6\xdfenanpassung`},"el-GR":{colorSwatchPicker:`\u{3A7}\u{3C1}\u{3C9}\u{3BC}\u{3B1}\u{3C4}\u{3B9}\u{3BA}\u{3AC} \u{3B4}\u{3B5}\u{3AF}\u{3B3}\u{3BC}\u{3B1}\u{3C4}\u{3B1}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3BE}\u{3C4}\u{3B5} \u{3AD}\u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B5}\u{3AF}\u{3BC}\u{3B5}\u{3BD}\u{3BF}`,tableResizer:`\u{391}\u{3BB}\u{3BB}\u{3B1}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3B3}\u{3AD}\u{3B8}\u{3BF}\u{3C5}\u{3C2}`},"en-US":{selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"},"es-ES":{colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:`Seleccionar un art\xedculo`,tableResizer:`Cambiador de tama\xf1o`},"et-EE":{colorSwatchPicker:`V\xe4rvin\xe4idised`,dropzoneLabel:"DropZone",selectPlaceholder:`Valige \xfcksus`,tableResizer:"Suuruse muutja"},"fi-FI":{colorSwatchPicker:`V\xe4rimallit`,dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"},"fr-FR":{colorSwatchPicker:`\xc9chantillons de couleurs`,dropzoneLabel:"DropZone",selectPlaceholder:`S\xe9lectionner un \xe9l\xe9ment`,tableResizer:"Redimensionneur"},"he-IL":{colorSwatchPicker:`\u{5D3}\u{5D5}\u{5D2}\u{5DE}\u{5D9}\u{5D5}\u{5EA} \u{5E6}\u{5D1}\u{5E2}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{5D1}\u{5D7}\u{5E8} \u{5E4}\u{5E8}\u{5D9}\u{5D8}`,tableResizer:`\u{5E9}\u{5D9}\u{5E0}\u{5D5}\u{5D9} \u{5D2}\u{5D5}\u{5D3}\u{5DC}`},"hr-HR":{colorSwatchPicker:"Uzorci boja",dropzoneLabel:`Zona spu\u{161}tanja`,selectPlaceholder:"Odaberite stavku",tableResizer:`Promjena veli\u{10D}ine`},"hu-HU":{colorSwatchPicker:`Sz\xednt\xe1rak`,dropzoneLabel:"DropZone",selectPlaceholder:`V\xe1lasszon ki egy elemet`,tableResizer:`\xc1tm\xe9retez\u{151}`},"it-IT":{colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"},"ja-JP":{colorSwatchPicker:`\u{30AB}\u{30E9}\u{30FC}\u{30B9}\u{30A6}\u{30A9}\u{30C3}\u{30C1}`,dropzoneLabel:`\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{30BE}\u{30FC}\u{30F3}`,selectPlaceholder:`\u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}`,tableResizer:`\u{30B5}\u{30A4}\u{30BA}\u{5909}\u{66F4}\u{30C4}\u{30FC}\u{30EB}`},"ko-KR":{colorSwatchPicker:`\u{C0C9}\u{C0C1} \u{ACAC}\u{BCF8}`,dropzoneLabel:`\u{B4DC}\u{B86D} \u{C601}\u{C5ED}`,selectPlaceholder:`\u{D56D}\u{BAA9} \u{C120}\u{D0DD}`,tableResizer:`\u{D06C}\u{AE30} \u{C870}\u{C815}\u{AE30}`},"lt-LT":{colorSwatchPicker:`Spalv\u{173} pavyzd\u{17E}iai`,dropzoneLabel:`\u{201E}DropZone\u{201C}`,selectPlaceholder:`Pasirinkite element\u{105}`,tableResizer:`Dyd\u{17E}io keitiklis`},"lv-LV":{colorSwatchPicker:`Kr\u{101}su paraugi`,dropzoneLabel:"DropZone",selectPlaceholder:`Izv\u{113}l\u{113}ties vienumu`,tableResizer:`Izm\u{113}ra main\u{12B}t\u{101}js`},"nb-NO":{colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:`St\xf8rrelsesendrer`},"nl-NL":{colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"},"pl-PL":{colorSwatchPicker:`Pr\xf3bki kolor\xf3w`,dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"},"pt-BR":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"pt-PT":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"ro-RO":{colorSwatchPicker:"Specimene de culoare",dropzoneLabel:`Zon\u{103} de plasare`,selectPlaceholder:`Selecta\u{21B}i un element`,tableResizer:"Instrument de redimensionare"},"ru-RU":{colorSwatchPicker:`\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{44B}\u{435} \u{43E}\u{431}\u{440}\u{430}\u{437}\u{446}\u{44B}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{412}\u{44B}\u{431}\u{435}\u{440}\u{438}\u{442}\u{435} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,tableResizer:`\u{421}\u{440}\u{435}\u{434}\u{441}\u{442}\u{432}\u{43E} \u{438}\u{437}\u{43C}\u{435}\u{43D}\u{435}\u{43D}\u{438}\u{44F} \u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{430}`},"sk-SK":{colorSwatchPicker:`Vzorkovn\xedky farieb`,dropzoneLabel:"DropZone",selectPlaceholder:`Vyberte polo\u{17E}ku`,tableResizer:`N\xe1stroj na zmenu ve\u{13E}kosti`},"sl-SI":{colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"},"sr-SP":{colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:`Promena veli\u{10D}ine`},"sv-SE":{colorSwatchPicker:`F\xe4rgrutor`,dropzoneLabel:"DropZone",selectPlaceholder:`V\xe4lj en artikel`,tableResizer:`Storleks\xe4ndrare`},"tr-TR":{colorSwatchPicker:`Renk \xf6rnekleri`,dropzoneLabel:`B\u{131}rakma B\xf6lgesi`,selectPlaceholder:`Bir \xf6\u{11F}e se\xe7in`,tableResizer:`Yeniden boyutland\u{131}r\u{131}c\u{131}`},"uk-UA":{colorSwatchPicker:`\u{417}\u{440}\u{430}\u{437}\u{43A}\u{438} \u{43A}\u{43E}\u{43B}\u{44C}\u{43E}\u{440}\u{456}\u{432}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{412}\u{438}\u{431}\u{435}\u{440}\u{456}\u{442}\u{44C} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,tableResizer:`\u{417}\u{430}\u{441}\u{456}\u{431} \u{437}\u{43C}\u{456}\u{43D}\u{435}\u{43D}\u{43D}\u{44F} \u{440}\u{43E}\u{437}\u{43C}\u{456}\u{440}\u{443}`},"zh-CN":{colorSwatchPicker:`\u{989C}\u{8272}\u{8272}\u{677F}`,dropzoneLabel:`\u{653E}\u{7F6E}\u{533A}\u{57DF}`,selectPlaceholder:`\u{9009}\u{62E9}\u{4E00}\u{4E2A}\u{9879}\u{76EE}`,tableResizer:`\u{5C3A}\u{5BF8}\u{8C03}\u{6574}\u{5668}`},"zh-TW":{colorSwatchPicker:`\u{8272}\u{7968}`,dropzoneLabel:`\u{653E}\u{7F6E}\u{5340}`,selectPlaceholder:`\u{9078}\u{53D6}\u{9805}\u{76EE}`,tableResizer:`\u{5927}\u{5C0F}\u{8ABF}\u{6574}\u{5668}`}};let j=(0,i.createContext)({});var U=n(59127),W=n(28249),$=n(4329),q=n(82476),J=n(94990),Z=n(2728),Y=n(72072),G=n(27024),X=n(22489),Q=n(77128),ee=n(84912),et=n(24469),en=n(51700),er=n(12844),el={},ei={},eo={},es={},ea={},eu={},ec={},ed={},ef={},ep={},eh={},eg={},ev={},ey={},em={},eb={},eE={},ew={},eP={},eC={},eS={},ex={},eD={},eK={},eT={},ek={},eM={},eL={},eR={},eA={},eN={},eF={},eB={},eI={},eO={};eO={"ar-AE":{longPressMessage:`\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{627}\u{64B} \u{623}\u{648} \u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Alt + \u{627}\u{644}\u{633}\u{647}\u{645} \u{644}\u{623}\u{633}\u{641}\u{644} \u{644}\u{641}\u{62A}\u{62D} \u{627}\u{644}\u{642}\u{627}\u{626}\u{645}\u{629}`},"bg-BG":{longPressMessage:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt+ \u{441}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{43D}\u{430}\u{434}\u{43E}\u{43B}\u{443}, \u{437}\u{430} \u{434}\u{430} \u{43E}\u{442}\u{432}\u{43E}\u{440}\u{438}\u{442}\u{435} \u{43C}\u{435}\u{43D}\u{44E}\u{442}\u{43E}`},"cs-CZ":{longPressMessage:`Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + \u{161}ipka dol\u{16F} otev\u{159}ete nab\xeddku`},"da-DK":{longPressMessage:`Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen`},"de-DE":{longPressMessage:`Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen`},"el-GR":{longPressMessage:`\u{3A0}\u{3B9}\u{3AD}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3AE} \u{3C0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + \u{3BA}\u{3AC}\u{3C4}\u{3C9} \u{3B2}\u{3AD}\u{3BB}\u{3BF}\u{3C2} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3BF}\u{3AF}\u{3BE}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3BF} \u{3BC}\u{3B5}\u{3BD}\u{3BF}\u{3CD}`},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa`},"et-EE":{longPressMessage:`Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool`},"fi-FI":{longPressMessage:`Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli`},"fr-FR":{longPressMessage:`Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu.`},"he-IL":{longPressMessage:`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5D0}\u{5D5} \u{5D4}\u{5E7}\u{5E9} Alt + ArrowDown \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E4}\u{5EA}\u{5D5}\u{5D7} \u{5D0}\u{5EA} \u{5D4}\u{5EA}\u{5E4}\u{5E8}\u{5D9}\u{5D8}`},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz`},"it-IT":{longPressMessage:`Premere a lungo o premere Alt + Freccia gi\xf9 per aprire il menu`},"ja-JP":{longPressMessage:`\u{9577}\u{62BC}\u{3057}\u{307E}\u{305F}\u{306F} Alt+\u{4E0B}\u{77E2}\u{5370}\u{30AD}\u{30FC}\u{3067}\u{30E1}\u{30CB}\u{30E5}\u{30FC}\u{3092}\u{958B}\u{304F}`},"ko-KR":{longPressMessage:`\u{AE38}\u{AC8C} \u{B204}\u{B974}\u{AC70}\u{B098} Alt + \u{C544}\u{B798}\u{CABD} \u{D654}\u{C0B4}\u{D45C}\u{B97C} \u{B20C}\u{B7EC} \u{BA54}\u{B274} \u{C5F4}\u{AE30}`},"lt-LT":{longPressMessage:`Nor\u{117}dami atidaryti meniu, nuspaud\u{119} palaikykite arba paspauskite \u{201E}Alt + ArrowDown\u{201C}.`},"lv-LV":{longPressMessage:`Lai atv\u{113}rtu izv\u{113}lni, turiet nospiestu vai nospiediet tausti\u{146}u kombin\u{101}ciju Alt + lejupv\u{113}rst\u{101} bulti\u{146}a`},"nb-NO":{longPressMessage:`Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen`},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:`Naci\u{15B}nij i przytrzymaj lub naci\u{15B}nij klawisze Alt + Strza\u{142}ka w d\xf3\u{142}, aby otworzy\u{107} menu`},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:`Ap\u{103}sa\u{21B}i lung sau ap\u{103}sa\u{21B}i pe Alt + s\u{103}geat\u{103} \xeen jos pentru a deschide meniul`},"ru-RU":{longPressMessage:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + \u{421}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43E}\u{442}\u{43A}\u{440}\u{44B}\u{442}\u{44C} \u{43C}\u{435}\u{43D}\u{44E}`},"sk-SK":{longPressMessage:`Ponuku otvor\xedte dlh\xfdm stla\u{10D}en\xedm alebo stla\u{10D}en\xedm kl\xe1vesu Alt + kl\xe1vesu so \u{161}\xedpkou nadol`},"sl-SI":{longPressMessage:`Za odprtje menija pritisnite in dr\u{17E}ite gumb ali pritisnite Alt+pu\u{161}\u{10D}ica navzdol`},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:`H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn`},"tr-TR":{longPressMessage:`Men\xfcy\xfc a\xe7mak i\xe7in uzun bas\u{131}n veya Alt + A\u{15F}a\u{11F}\u{131} Ok tu\u{15F}una bas\u{131}n`},"uk-UA":{longPressMessage:`\u{414}\u{43E}\u{432}\u{433}\u{43E} \u{430}\u{431}\u{43E} \u{437}\u{432}\u{438}\u{447}\u{430}\u{439}\u{43D}\u{43E} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} \u{43A}\u{43E}\u{43C}\u{431}\u{456}\u{43D}\u{430}\u{446}\u{456}\u{44E} \u{43A}\u{43B}\u{430}\u{432}\u{456}\u{448} Alt \u{456} \u{441}\u{442}\u{440}\u{456}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{449}\u{43E}\u{431} \u{432}\u{456}\u{434}\u{43A}\u{440}\u{438}\u{442}\u{438} \u{43C}\u{435}\u{43D}\u{44E}`},"zh-CN":{longPressMessage:`\u{957F}\u{6309}\u{6216}\u{6309} Alt + \u{5411}\u{4E0B}\u{65B9}\u{5411}\u{952E}\u{4EE5}\u{6253}\u{5F00}\u{83DC}\u{5355}`},"zh-TW":{longPressMessage:`\u{9577}\u{6309}\u{6216}\u{6309} Alt+\u{5411}\u{4E0B}\u{9375}\u{4EE5}\u{958B}\u{555F}\u{529F}\u{80FD}\u{8868}`}};var ez=n(14667),e_=n(27618),eH=n(45559);let eV=new WeakMap;var ej=n(74670),eU=n(31534),eW=n(35308);function e$(e){var t;let{state:n,triggerRef:r,label:l,name:o,isDisabled:s}=e,a=(0,i.useRef)(null),{containerProps:u,selectProps:c}=function(e,t,n){var r,l,o,s;let a,u,c=eV.get(t)||{},{autoComplete:d,name:f=c.name,isDisabled:p=c.isDisabled}=e,{validationBehavior:h,isRequired:g}=c,{visuallyHiddenProps:v}=(0,eW.B)();return l=e.selectRef,o=t.selectedKey,s=t.setSelectedKey,a=(0,i.useRef)(o),u=(0,ej.J)(()=>{s&&s(a.current)}),(0,i.useEffect)(()=>{var e;let t=null==l||null==(e=l.current)?void 0:e.form;return null==t||t.addEventListener("reset",u),()=>{null==t||t.removeEventListener("reset",u)}},[l,u]),!function(e,t,n){let{validationBehavior:r,focus:l}=e;(0,eU.N)(()=>{if("native"===r&&(null==n?void 0:n.current)&&!n.current.disabled){var e;let r,l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(l),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=n.current).validity.valid,validationDetails:{badInput:(r=e.validity).badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let o=(0,ej.J)(()=>{t.resetValidation()}),s=(0,ej.J)(e=>{var r,i;t.displayValidation.isInvalid||t.commitValidation();let o=null==n||null==(r=n.current)?void 0:r.form;!e.defaultPrevented&&n&&o&&function(e){for(let t=0;t{t.commitValidation()});(0,i.useEffect)(()=>{let e=null==n?void 0:n.current;if(!e)return;let t=e.form;return e.addEventListener("invalid",s),e.addEventListener("change",a),null==t||t.addEventListener("reset",o),()=>{e.removeEventListener("invalid",s),e.removeEventListener("change",a),null==t||t.removeEventListener("reset",o)}},[n,s,a,o,r])}({validationBehavior:h,focus:()=>{var e;return null==(e=n.current)?void 0:e.focus()}},t,e.selectRef),{containerProps:{...v,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:d,disabled:p,required:"native"===h&&g,name:f,value:null!=(r=t.selectedKey)?r:"",onChange:e=>t.setSelectedKey(e.target.value)}}}({...e,selectRef:a},n,r);return n.collection.size<=300?i.createElement("div",{...u,"data-testid":"hidden-select-container"},i.createElement("label",null,l,i.createElement("select",{...c,ref:a},i.createElement("option",null),[...n.collection.getKeys()].map(e=>{let t=n.collection.getItem(e);if(t&&"item"===t.type)return i.createElement("option",{key:t.key,value:t.key},t.textValue)})))):o?i.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:o,disabled:s,value:null!=(t=n.selectedKey)?t:""}):null}let eq={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},eJ={...eq,customError:!0,valid:!1},eZ={isInvalid:!1,validationDetails:eq,validationErrors:[]},eY=(0,i.createContext)({}),eG="__formValidationState"+Date.now();function eX(e){return e?Array.isArray(e)?e:[e]:[]}function eQ(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:eJ}:null}function e0(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}var e4=n(86947),e1=n(45951),e3=n(38731),e2=n(74377),e6=n(12905);let e5=(0,i.createContext)(null),e7=(0,i.createContext)(null),e9=(0,i.forwardRef)(function(e,t){[e,t]=(0,l.JT)(e,t,e5);let{children:n,isDisabled:r=!1,isInvalid:o=!1,isRequired:s=!1}=e,a=(0,i.useMemo)(()=>"function"==typeof n?n({isOpen:!1,isDisabled:r,isInvalid:o,isRequired:s,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,o,s]);return i.createElement(e2.GQ,{content:a},n=>i.createElement(e8,{props:e,collection:n,selectRef:t}))});function e8({props:e,selectRef:t,collection:n}){var a,u;let{validationBehavior:c}=(0,l.CC)(s)||{},d=null!=(u=null!=(a=e.validationBehavior)?a:c)?u:"native",f=function(e){let t=(0,e4.T)(e),[n,r]=(0,i.useState)(null),l=function(e){var t;let[n,r]=(0,e3.P)(e.selectedKey,null!=(t=e.defaultSelectedKey)?t:null,e.onSelectionChange),l=(0,i.useMemo)(()=>null!=n?[n]:[],[n]),{collection:o,disabledKeys:s,selectionManager:a}=(0,e1.p)({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:l,onSelectionChange:t=>{var l;if("all"===t)return;let i=null!=(l=t.values().next().value)?l:null;i===n&&e.onSelectionChange&&e.onSelectionChange(i),r(i)}}),u=null!=n?o.getItem(n):null;return{collection:o,disabledKeys:s,selectionManager:a,selectedKey:n,setSelectedKey:r,selectedItem:u}}({...e,onSelectionChange:n=>{null!=e.onSelectionChange&&e.onSelectionChange(n),t.close(),o.commitValidation()}}),o=function(e){if(e[eG]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:l,commitValidation:i}=e[eG];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:l,commitValidation:i}}return function(e){let{isInvalid:t,validationState:n,name:r,value:l,builtinValidation:o,validate:s,validationBehavior:a="aria"}=e;n&&(t||(t="invalid"===n));let u=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:eJ}:null,c=(0,i.useMemo)(()=>s&&null!=l?eQ(function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return eX(n)}return[]}(s,l)):null,[s,l]);(null==o?void 0:o.validationDetails.valid)&&(o=void 0);let d=(0,i.useContext)(eY),f=(0,i.useMemo)(()=>r?Array.isArray(r)?r.flatMap(e=>eX(d[e])):eX(d[r]):[],[d,r]),[p,h]=(0,i.useState)(d),[g,v]=(0,i.useState)(!1);d!==p&&(h(d),v(!1));let y=(0,i.useMemo)(()=>eQ(g?[]:f),[g,f]),m=(0,i.useRef)(eZ),[b,E]=(0,i.useState)(eZ),w=(0,i.useRef)(eZ),[P,C]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!P)return;C(!1);let e=c||o||m.current;e0(e,w.current)||(w.current=e,E(e))}),{realtimeValidation:u||y||c||o||eZ,displayValidation:"native"===a?u||y||b:u||y||c||o||b,updateValidation(e){"aria"!==a||e0(b,e)?m.current=e:E(e)},resetValidation(){e0(eZ,w.current)||(w.current=eZ,E(eZ)),"native"===a&&C(!1),v(!0)},commitValidation(){"native"===a&&C(!0),v(!0)}}}(e)}({...e,value:l.selectedKey}),[s,a]=(0,i.useState)(!1);return{...o,...l,...t,focusStrategy:n,open(e=null){0!==l.collection.size&&(r(e),t.open())},toggle(e=null){0!==l.collection.size&&(r(e),t.toggle())},isFocused:s,setFocused:a}}({...e,collection:n,children:void 0,validationBehavior:d}),{isFocusVisible:p,focusProps:h}=(0,J.o)({within:!0}),g=(0,i.useRef)(null),[v,y]=(0,l._E)(),{labelProps:m,triggerProps:b,valueProps:E,menuProps:w,descriptionProps:P,errorMessageProps:C,...S}=function(e,t,n){let{keyboardDelegate:r,isDisabled:l,isRequired:o,name:s,validationBehavior:a="aria"}=e,u=(0,en.Q)({usage:"search",sensitivity:"base"}),c=(0,i.useMemo)(()=>r||new(0,Q.n)(t.collection,t.disabledKeys,n,u),[r,t.collection,t.disabledKeys,u]),{menuTriggerProps:d,menuProps:f}=function(e,t,n){var r;let{type:l="menu",isDisabled:o,trigger:s="press"}=e,a=(0,G.Bi)(),{triggerProps:u,overlayProps:c}=function(e,t,n){let r,{type:l}=e,{isOpen:o}=t;(0,i.useEffect)(()=>{n&&n.current&&eH.a.set(n.current,t.close)}),"menu"===l?r=!0:"listbox"===l&&(r="listbox");let s=(0,G.Bi)();return{triggerProps:{"aria-haspopup":r,"aria-expanded":o,"aria-controls":o?s:void 0,onPress:t.toggle},overlayProps:{id:s}}}({type:l},t,n),d=(0,ez.o)((r=eO)&&r.__esModule?r.default:r,"@react-aria/menu"),{longPressProps:f}=(0,e_.H)({isDisabled:o||"longPress"!==s,accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete u.onPress,{menuTriggerProps:{...u,..."press"===s?{onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||o||t.open("virtual"===e.pointerType?"first":null)},onPress(e){"touch"!==e.pointerType||o||t.toggle()}}:f,id:a,onKeyDown:e=>{if(!o&&("longPress"!==s||e.altKey)&&n&&n.current)switch(e.key){case"Enter":case" ":if("longPress"===s)return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...c,"aria-labelledby":a,autoFocus:t.focusStrategy||!0,onClose:t.close}}}({isDisabled:l,type:"listbox"},t,n),{typeSelectProps:p}=(0,ee.I)({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:h,validationErrors:g,validationDetails:v}=t.displayValidation,{labelProps:y,fieldProps:m,descriptionProps:b,errorMessageProps:E}=function(e){let{description:t,errorMessage:n,isInvalid:r,validationState:l}=e,{labelProps:i,fieldProps:o}=(0,er.M)(e),s=(0,G.X1)([!!t,!!n,r,l]),a=(0,G.X1)([!!t,!!n,r,l]);return{labelProps:i,fieldProps:o=(0,Y.v)(o,{"aria-describedby":[s,a,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:s},errorMessageProps:{id:a}}}({...e,labelElementType:"span",isInvalid:h,errorMessage:e.errorMessage||g});p.onKeyDown=p.onKeyDownCapture,delete p.onKeyDownCapture;let w=(0,Z.$)(e,{labelable:!0}),P=(0,Y.v)(p,d,m),C=(0,G.Bi)();return eV.set(t,{isDisabled:l,isRequired:o,name:s,validationBehavior:a}),{labelProps:{...y,onClick:()=>{if(!e.isDisabled){var t;null==(t=n.current)||t.focus(),(0,et.Cl)("keyboard")}}},triggerProps:(0,Y.v)(w,{...P,isDisabled:l,onKeyDown:(0,X.c)(P.onKeyDown,e=>{var n,r,l,i;switch(e.key){case"ArrowLeft":{e.preventDefault();let l=null!=t.selectedKey?null==(n=c.getKeyAbove)?void 0:n.call(c,t.selectedKey):null==(r=c.getFirstKey)?void 0:r.call(c);l&&t.setSelectedKey(l);break}case"ArrowRight":{e.preventDefault();let n=null!=t.selectedKey?null==(l=c.getKeyBelow)?void 0:l.call(c,t.selectedKey):null==(i=c.getFirstKey)?void 0:i.call(c);n&&t.setSelectedKey(n)}}},e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[C,P["aria-labelledby"],P["aria-label"]&&!P["aria-labelledby"]?P.id:null].filter(Boolean).join(" "),onFocus(n){t.isFocused||(e.onFocus&&e.onFocus(n),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(n){t.isOpen||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:C},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:n=>{n.currentTarget.contains(n.relatedTarget)||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[m["aria-labelledby"],P["aria-label"]&&!m["aria-labelledby"]?P.id:null].filter(Boolean).join(" ")},descriptionProps:b,errorMessageProps:E,isInvalid:h,validationErrors:g,validationDetails:v}}({...(0,l.SK)(e),label:y,validationBehavior:d},f,g),[x,D]=(0,i.useState)(null),K=(0,i.useCallback)(()=>{g.current&&D(g.current.offsetWidth+"px")},[g]);(0,e6.w)({ref:g,onResize:K});let T=(0,i.useMemo)(()=>({isOpen:f.isOpen,isFocused:f.isFocused,isFocusVisible:p,isDisabled:e.isDisabled||!1,isInvalid:S.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,f.isFocused,p,e.isDisabled,S.isInvalid,e.isRequired]),k=(0,l.Sl)({...e,values:T,defaultClassName:"react-aria-Select"}),M=(0,Z.$)(e);delete M.id;let L=(0,i.useRef)(null);return i.createElement(l.Kq,{values:[[e5,e],[e7,f],[te,E],[j,{...m,ref:v,elementType:"span"}],[r.k,{...b,ref:g,isPressed:f.isOpen}],[W.RG,f],[$.n,{trigger:"Select",triggerRef:g,scrollRef:L,placement:"bottom start",style:{"--trigger-width":x}}],[U.JC,{...w,ref:L}],[U.DN,f],[q.h,{slots:{description:P,errorMessage:C}}],[o,S]]},i.createElement("div",{...M,...k,...h,ref:t,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":p||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":S.isInvalid||void 0,"data-required":e.isRequired||void 0}),i.createElement(e$,{autoComplete:e.autoComplete,state:f,triggerRef:g,label:y,name:e.name,isDisabled:e.isDisabled}))}let te=(0,i.createContext)(null),tt=(0,i.forwardRef)(function(e,t){var n,r,o,s,a,u;[e,t]=(0,l.JT)(e,t,te);let c=(0,i.useContext)(e7),{placeholder:d}=(0,l.CC)(e5),f=null!=c.selectedKey?c.collection.getItem(c.selectedKey):null,p=null==f?void 0:f.props.children;"function"==typeof p&&(p=p({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let h=(0,ez.o)((u=V)&&u.__esModule?u.default:u,"react-aria-components"),g=(0,l.Sl)({...e,defaultChildren:null!=(o=null!=p?p:d)?o:h.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:null!=(s=null==(n=c.selectedItem)?void 0:n.value)?s:null,selectedText:null!=(a=null==(r=c.selectedItem)?void 0:r.textValue)?a:null,isPlaceholder:!f}}),v=(0,Z.$)(e);return i.createElement("span",{ref:t,...v,...g,"data-placeholder":!f||void 0},i.createElement(q.h.Provider,{value:void 0},g.children))})},56130:(e,t,n)=>{n.d(t,{CC:()=>d,JT:()=>f,Kq:()=>u,P_:()=>a,SK:()=>h,Sl:()=>c,_E:()=>p});var r=n(26799),l=n(97536),i=n(72072),o=n(31534),s=n(7620);let a=Symbol("default");function u({values:e,children:t}){for(let[n,r]of e)t=s.createElement(n.Provider,{value:r},t);return t}function c(e){let{className:t,style:n,children:r,defaultClassName:l,defaultChildren:i,defaultStyle:o,values:a}=e;return(0,s.useMemo)(()=>{let e,s,u;return e="function"==typeof t?t({...a,defaultClassName:l}):t,s="function"==typeof n?n({...a,defaultStyle:o||{}}):n,u="function"==typeof r?r({...a,defaultChildren:i}):null==r?i:r,{className:null!=e?e:l,style:s||o?{...o,...s}:void 0,children:null!=u?u:i,"data-rac":""}},[t,n,r,l,i,o,a])}function d(e,t){let n=(0,s.useContext)(e);if(null===t)return null;if(n&&"object"==typeof n&&"slots"in n&&n.slots){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`));if(!t&&!n.slots[a])throw Error(`A slot prop is required. Valid slot names are ${e}.`);let r=t||a;if(!n.slots[r])throw Error(`Invalid slot "${t}". Valid slot names are ${e}.`);return n.slots[r]}return n}function f(e,t,n){let{ref:o,...a}=d(n,e.slot)||{},u=(0,r.U)((0,s.useMemo)(()=>(0,l.P)(t,o),[t,o])),c=(0,i.v)(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&("function"==typeof a.style||"function"==typeof e.style?c.style=t=>{let n="function"==typeof a.style?a.style(t):a.style,r={...t.defaultStyle,...n},l="function"==typeof e.style?e.style({...t,defaultStyle:r}):e.style;return{...r,...l}}:c.style={...a.style,...e.style}),[c,u]}function p(){let[e,t]=(0,s.useState)(!0),n=(0,s.useRef)(!1),r=(0,s.useCallback)(e=>{n.current=!0,t(!!e)},[]);return(0,o.N)(()=>{n.current||t(!1)},[]),[r,e]}function h(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}},57735:(e,t,n)=>{n.d(t,{o:()=>r});function r(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}},59113:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return i},createSnapshot:function(){return s}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let l="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function i(){return l?new l:new r}function o(e){return l?l.bind(e):r.bind(e)}function s(){return l?l.snapshot():function(e,...t){return e(...t)}}},59127:(e,t,n)=>{n.d(t,{qF:()=>eo,JC:()=>el,nh:()=>ec,DN:()=>ei});var r=n(98156),l=n(7620);let i=(0,l.createContext)(null);function o(e,t,n){return(0,r.p)({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){var r;let i=t.render(t);if(!n||"item"!==t.type)return i;let o=t.key,s=e.getKeyAfter(o);return l.createElement(l.Fragment,null,n({type:"item",key:o,dropPosition:"before"}),i,(null==s||(null==(r=e.getItem(s))?void 0:r.type)!=="item")&&n({type:"item",key:o,dropPosition:"after"}))}})}let s=(0,l.createContext)({CollectionRoot:({collection:e,renderDropIndicator:t})=>o(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:n})=>o(e,t,n)});var a=n(56130);let u=(0,l.createContext)({}),c=(0,l.createContext)(null),d=(0,l.forwardRef)(function(e,t){let{render:n}=(0,l.useContext)(c);return l.createElement(l.Fragment,null,n(e,t))});function f(e,t){var n;let r=null==e?void 0:e.renderDropIndicator,i=null==e||null==(n=e.isVirtualDragging)?void 0:n.call(e),o=(0,l.useCallback)(e=>{if(i||(null==t?void 0:t.isDropTarget(e)))return r?r(e):l.createElement(d,{target:e})},[null==t?void 0:t.target,i,r]);return(null==e?void 0:e.useDropIndicator)?o:void 0}let p=(0,l.createContext)({}),h=(0,l.createContext)({});var g=n(82476);let v=(0,l.createContext)(null);var y=n(41635),m=n(51700),b=n(77128);let E=new WeakMap;var w=n(2728),P=n(27024),C=n(72072),S=n(9398),x=n(12844),D=n(68797);function K(e){return(0,D.lg)()?e.altKey:e.ctrlKey}var T=n(84912),k=n(84644);function M(e){return(0,D.cX)()?e.metaKey:e.ctrlKey}var L=n(48231),R=n(38191),A=n(57735);function N(e,t){let n=F(e,t,"left"),r=F(e,t,"top"),l=t.offsetWidth,i=t.offsetHeight,o=e.scrollLeft,s=e.scrollTop,{borderTopWidth:a,borderLeftWidth:u,scrollPaddingTop:c,scrollPaddingRight:d,scrollPaddingBottom:f,scrollPaddingLeft:p}=getComputedStyle(e),h=o+parseInt(u,10),g=s+parseInt(a,10),v=h+e.clientWidth,y=g+e.clientHeight,m=parseInt(c,10)||0,b=parseInt(f,10)||0,E=parseInt(d,10)||0,w=parseInt(p,10)||0;n<=o+w?o=n-parseInt(u,10)-w:n+l>v-E&&(o+=n+l-v+E),r<=g+m?s=r-parseInt(a,10)-m:r+i>y-b&&(s+=r+i-y+b),e.scrollLeft=o,e.scrollTop=s}function F(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",l=0;for(;t.offsetParent&&(l+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){l-=e[r];break}t=t.offsetParent}return l}function B(e,t){if(e&&document.contains(e)){let o=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(o).overflow)for(let t of function(e,t){let n=[];for(;e&&e!==document.documentElement;)(0,A.o)(e,void 0)&&n.push(e),e=e.parentElement;return n}(e))N(t,e);else{var n,r,l,i;let{left:o,top:s}=e.getBoundingClientRect();null==e||null==(n=e.scrollIntoView)||n.call(e,{block:"nearest"});let{left:a,top:u}=e.getBoundingClientRect();(Math.abs(o-a)>1||Math.abs(s-u)>1)&&(null==t||null==(l=t.containingElement)||null==(r=l.scrollIntoView)||r.call(l,{block:"center",inline:"center"}),null==(i=e.scrollIntoView)||i.call(e,{block:"nearest"}))}}}let I="react-aria-update-activedescendant";var O=n(74670),z=n(31534);function _(e,t){let n=(0,l.useRef)(!0),r=(0,l.useRef)(null);(0,z.N)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,z.N)(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}var H=n(97509),V=n(9724),j=n(9837),U=n(24469),W=n(94990),$=n(22489),q=n(87564);let J=new WeakMap;var Z=n(90909),Y=n(93874),G=n(27618);function X(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function Q(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}var ee=n(74377),et=n(45951),en=n(26799),er=n(97536);let el=(0,l.createContext)(null),ei=(0,l.createContext)(null),eo=(0,l.forwardRef)(function(e,t){[e,t]=(0,a.JT)(e,t,el);let n=(0,l.useContext)(ei);return n?l.createElement(ea,{state:n,props:e,listBoxRef:t}):l.createElement(ee.GQ,{content:l.createElement(ee.pM,e)},n=>l.createElement(es,{props:e,listBoxRef:t,collection:n}))});function es({props:e,listBoxRef:t,collection:n}){e={...e,collection:n,children:null,items:null};let{layoutDelegate:r}=(0,l.useContext)(s),{filterFn:i,collectionProps:o,collectionRef:a}=(0,l.useContext)(v)||{};t=(0,en.U)((0,l.useMemo)(()=>(0,er.P)(t,void 0!==a?a:null),[a,t]));let u=(0,l.useMemo)(()=>i?n.filter(i):n,[n,i]),c=(0,et.p)({...e,collection:u,layoutDelegate:r});return l.createElement(ea,{state:c,props:{...e,...o},listBoxRef:t})}function ea({state:e,props:t,listBoxRef:n}){var r,o,d,p;let g,v,D,A,F,{dragAndDropHooks:z,layout:$="stack",orientation:q="vertical"}=t,{collection:J,selectionManager:Z}=e,Y=!!(null==z?void 0:z.useDraggableCollectionState),G=!!(null==z?void 0:z.useDroppableCollectionState),{direction:X}=(0,y.Y)(),{disabledBehavior:Q,disabledKeys:ee}=Z,et=(0,m.Q)({usage:"search",sensitivity:"base"}),{isVirtualized:en,layoutDelegate:er,dropTargetDelegate:eo,CollectionRoot:es}=(0,l.useContext)(s),ea=(0,l.useMemo)(()=>t.keyboardDelegate||new(0,b.n)({collection:J,collator:et,ref:n,disabledKeys:ee,disabledBehavior:Q,layout:$,orientation:q,direction:X,layoutDelegate:er}),[J,et,n,Q,ee,q,X,t.keyboardDelegate,$,er]),{listBoxProps:ec}=function(e,t,n){let r=(0,w.$)(e,{labelable:!0}),i=e.selectionBehavior||"toggle",o=e.linkBehavior||("replace"===i?"action":"override");"toggle"===i&&"action"===o&&(o="override");let{listProps:s}=function(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:i,keyboardDelegate:o,layoutDelegate:s}=e,a=(0,m.Q)({usage:"search",sensitivity:"base"}),u=t.disabledBehavior,c=(0,l.useMemo)(()=>o||new(0,b.n)({collection:n,disabledKeys:r,disabledBehavior:u,ref:i,collator:a,layoutDelegate:s}),[o,s,n,r,i,a,u]),{collectionProps:d}=function(e){let t,{selectionManager:n,keyboardDelegate:r,ref:i,autoFocus:o=!1,shouldFocusWrap:s=!1,disallowEmptySelection:a=!1,disallowSelectAll:u=!1,selectOnFocus:c="replace"===n.selectionBehavior,disallowTypeAhead:d=!1,shouldUseVirtualFocus:f,allowsTabNavigation:p=!1,isVirtualized:h,scrollRef:g=i,linkBehavior:v="action"}=e,{direction:m}=(0,y.Y)(),b=(0,k.rd)(),E=(0,l.useRef)({top:0,left:0});(0,R._)(g,"scroll",h?void 0:()=>{var e,t,n,r;E.current={top:null!=(n=null==(e=g.current)?void 0:e.scrollTop)?n:0,left:null!=(r=null==(t=g.current)?void 0:t.scrollLeft)?r:0}});let w=(0,l.useRef)(!1);(0,R._)(i,"react-aria-focus",f?e=>{let{detail:t}=e;e.stopPropagation(),n.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(w.current=!0)}:void 0);let P=(0,O.J)(()=>{var e,t,l;let o=null!=(t=null==(e=r.getFirstKey)?void 0:e.call(r))?t:null;null==o?(null==(l=i.current)||l.dispatchEvent(new CustomEvent(I,{cancelable:!0,bubbles:!0})),n.collection.size>0&&(w.current=!1)):(n.setFocusedKey(o),w.current=!1)});_(()=>{w.current&&P()},[n.collection,P]);let S=(0,O.J)(()=>{n.collection.size>0&&(w.current=!1)});_(()=>{S()},[n.focusedKey,S]),(0,R._)(i,"react-aria-clear-focus",f?e=>{e.stopPropagation(),n.setFocused(!1),n.setFocusedKey(null)}:void 0);let x=(0,l.useRef)(o);(0,l.useEffect)(()=>{if(x.current){var e,t,l,s;let a=null;"first"===o&&(a=null!=(l=null==(e=r.getFirstKey)?void 0:e.call(r))?l:null),"last"===o&&(a=null!=(s=null==(t=r.getLastKey)?void 0:t.call(r))?s:null);let u=n.selectedKeys;if(u.size){for(let e of u)if(n.canSelectItem(e)){a=e;break}}n.setFocused(!0),n.setFocusedKey(a),null==a&&!f&&i.current&&(0,j.l)(i.current)}},[]);let D=(0,l.useRef)(n.focusedKey);(0,l.useEffect)(()=>{if(n.isFocused&&null!=n.focusedKey&&(n.focusedKey!==D.current||x.current)&&g.current&&i.current){let e=(0,U.ME)(),t=i.current.querySelector(`[data-key="${CSS.escape(n.focusedKey.toString())}"]`);if(!t)return;("keyboard"===e||x.current)&&(N(g.current,t),"virtual"!==e&&B(t,{containingElement:i.current}))}!f&&n.isFocused&&null==n.focusedKey&&null!=D.current&&i.current&&(0,j.l)(i.current),D.current=n.focusedKey,x.current=!1}),(0,R._)(i,"react-aria-focus-scope-restore",e=>{e.preventDefault(),n.setFocused(!0)});let A={onKeyDown:e=>{var t,l,o,d,f,h,y,E,w,P,C,S,x;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!(null==(t=i.current)?void 0:t.contains(e.target)))return;let D=(t,r)=>{if(null!=t){if(n.isLink(t)&&"selection"===v&&c&&!K(e)){var l;(0,H.flushSync)(()=>{n.setFocusedKey(t,r)});let i=null==(l=g.current)?void 0:l.querySelector(`[data-key="${CSS.escape(t.toString())}"]`),o=n.getItemProps(t);i&&b.open(i,e,o.href,o.routerOptions);return}n.setFocusedKey(t,r),n.isLink(t)&&"override"===v||(e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):c&&!K(e)&&n.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(r.getKeyBelow){let t=null!=n.focusedKey?null==(l=r.getKeyBelow)?void 0:l.call(r,n.focusedKey):null==(o=r.getFirstKey)?void 0:o.call(r);null==t&&s&&(t=null==(d=r.getFirstKey)?void 0:d.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),D(t))}break;case"ArrowUp":if(r.getKeyAbove){let t=null!=n.focusedKey?null==(f=r.getKeyAbove)?void 0:f.call(r,n.focusedKey):null==(h=r.getLastKey)?void 0:h.call(r);null==t&&s&&(t=null==(y=r.getLastKey)?void 0:y.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),D(t))}break;case"ArrowLeft":if(r.getKeyLeftOf){let t=null!=n.focusedKey?null==(E=r.getKeyLeftOf)?void 0:E.call(r,n.focusedKey):null;null==t&&s&&(t="rtl"===m?null==(w=r.getFirstKey)?void 0:w.call(r,n.focusedKey):null==(P=r.getLastKey)?void 0:P.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),D(t,"rtl"===m?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){let t=null!=n.focusedKey?null==(C=r.getKeyRightOf)?void 0:C.call(r,n.focusedKey):null;null==t&&s&&(t="rtl"===m?null==(S=r.getLastKey)?void 0:S.call(r,n.focusedKey):null==(x=r.getFirstKey)?void 0:x.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),D(t,"rtl"===m?"last":"first"))}break;case"Home":if(r.getFirstKey){if(null===n.focusedKey&&e.shiftKey)return;e.preventDefault();let t=r.getFirstKey(n.focusedKey,M(e));n.setFocusedKey(t),null!=t&&(M(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):c&&n.replaceSelection(t))}break;case"End":if(r.getLastKey){if(null===n.focusedKey&&e.shiftKey)return;e.preventDefault();let t=r.getLastKey(n.focusedKey,M(e));n.setFocusedKey(t),null!=t&&(M(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):c&&n.replaceSelection(t))}break;case"PageDown":if(r.getKeyPageBelow&&null!=n.focusedKey){let t=r.getKeyPageBelow(n.focusedKey);null!=t&&(e.preventDefault(),D(t))}break;case"PageUp":if(r.getKeyPageAbove&&null!=n.focusedKey){let t=r.getKeyPageAbove(n.focusedKey);null!=t&&(e.preventDefault(),D(t))}break;case"a":M(e)&&"multiple"===n.selectionMode&&!0!==u&&(e.preventDefault(),n.selectAll());break;case"Escape":a||0===n.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),n.clearSelection());break;case"Tab":if(!p)if(e.shiftKey)i.current.focus();else{let e,t,n=(0,V.N$)(i.current,{tabbable:!0});do(t=n.lastChild())&&(e=t);while(t);e&&!e.contains(document.activeElement)&&(0,L.e)(e)}}},onFocus:e=>{if(n.isFocused){e.currentTarget.contains(e.target)||n.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(n.setFocused(!0),null==n.focusedKey){var t,l,o,s;let i=e=>{null!=e&&(n.setFocusedKey(e),c&&n.replaceSelection(e))},a=e.relatedTarget;a&&e.currentTarget.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?i(null!=(o=n.lastSelectedKey)?o:null==(t=r.getLastKey)?void 0:t.call(r)):i(null!=(s=n.firstSelectedKey)?s:null==(l=r.getFirstKey)?void 0:l.call(r))}else!h&&g.current&&(g.current.scrollTop=E.current.top,g.current.scrollLeft=E.current.left);if(null!=n.focusedKey&&g.current){let e=g.current.querySelector(`[data-key="${CSS.escape(n.focusedKey.toString())}"]`);e&&(e.contains(document.activeElement)||(0,L.e)(e),"keyboard"===(0,U.ME)()&&B(e,{containingElement:i.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||n.setFocused(!1)},onMouseDown(e){g.current===e.target&&e.preventDefault()}},{typeSelectProps:F}=(0,T.I)({keyboardDelegate:r,selectionManager:n});return d||(A=(0,C.v)(F,A)),t=f?-1:null==n.focusedKey?0:-1,{collectionProps:{...A,tabIndex:t}}}({...e,ref:i,selectionManager:t,keyboardDelegate:c});return{listProps:d}}({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:o}),{focusWithinProps:a}=(0,S.R)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=(0,P.Bi)(e.id);E.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:o});let{labelProps:c,fieldProps:d}=(0,x.M)({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:(0,C.v)(r,a,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,C.v)(d,s)})}}({...t,shouldSelectOnPressUp:Y||t.shouldSelectOnPressUp,keyboardDelegate:ea,isVirtualized:en},e,n),ef=(0,l.useRef)(Y),ep=(0,l.useRef)(G);(0,l.useEffect)(()=>{ef.current!==Y&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),ep.current!==G&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[Y,G]);let eh=!1,eg=null,ev=(0,l.useRef)(null);if(Y&&z){g=z.useDraggableCollectionState({collection:J,selectionManager:Z,preview:z.renderDragPreview?ev:void 0}),z.useDraggableCollection({},g,n);let e=z.DragPreview;eg=z.renderDragPreview?l.createElement(e,{ref:ev},z.renderDragPreview):null}if(G&&z){v=z.useDroppableCollectionState({collection:J,selectionManager:Z});let e=z.dropTargetDelegate||eo||new z.ListDropTargetDelegate(J,n,{orientation:q,layout:$,direction:X});D=z.useDroppableCollection({keyboardDelegate:ea,dropTargetDelegate:e},v,n),eh=v.isDropTarget({type:"root"})}let{focusProps:ey,isFocused:em,isFocusVisible:eb}=(0,W.o)(),eE={isDropTarget:eh,isEmpty:0===e.collection.size,isFocused:em,isFocusVisible:eb,layout:t.layout||"stack",state:e},ew=(0,a.Sl)({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:eE}),eP=null;return 0===e.collection.size&&t.renderEmptyState&&(eP=l.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(eE))),l.createElement(V.n1,null,l.createElement("div",{...(0,w.$)(t),...(0,C.v)(ec,ey,null==D?void 0:D.collectionProps),...ew,ref:n,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":eh||void 0,"data-empty":0===e.collection.size||void 0,"data-focused":em||void 0,"data-focus-visible":eb||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},l.createElement(a.Kq,{values:[[el,t],[ei,e],[u,{dragAndDropHooks:z,dragState:g,dropState:v}],[h,{elementType:"div"}],[c,{render:ed}],[i,{name:"ListBoxSection",render:eu}]]},l.createElement(es,{collection:J,scrollRef:n,persistedKeys:(r=v,A=Z.focusedKey,F=null,(null==z||null==(o=z.isVirtualDragging)?void 0:o.call(z))&&(null==r||null==(d=r.target)?void 0:d.type)==="item"&&(F=r.target.key,"after"===r.target.dropPosition&&(F=null!=(p=r.collection.getKeyAfter(F))?p:F)),(0,l.useMemo)(()=>new Set([A,F].filter(e=>null!=e)),[A,F])),renderDropIndicator:f(z,v)})),eP,eg))}function eu(e,t,n,r="react-aria-ListBoxSection"){var i;let o=(0,l.useContext)(ei),{dragAndDropHooks:c,dropState:d}=(0,l.useContext)(u),{CollectionBranch:h}=(0,l.useContext)(s),[g,v]=(0,a._E)(),{headingProps:y,groupProps:m}=function(e){let{heading:t,"aria-label":n}=e,r=(0,P.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}({heading:v,"aria-label":null!=(i=e["aria-label"])?i:void 0}),b=(0,a.Sl)({defaultClassName:r,className:e.className,style:e.style,values:{}});return l.createElement("section",{...(0,w.$)(e),...m,...b,ref:t},l.createElement(p.Provider,{value:{...y,ref:g}},l.createElement(h,{collection:o.collection,parent:n,renderDropIndicator:f(c,d)})))}let ec=(0,ee.KU)("item",function(e,t,n){let r=(0,en.U)(t),i=(0,l.useContext)(ei),{dragAndDropHooks:o,dragState:s,dropState:c}=(0,l.useContext)(u),{optionProps:d,labelProps:f,descriptionProps:p,...h}=function(e,t,n){var r,i,o,s,a,u,c,d;let{key:f}=e,p=E.get(t),h=null!=(o=e.isDisabled)?o:t.selectionManager.isDisabled(f),g=null!=(s=e.isSelected)?s:t.selectionManager.isSelected(f),v=null!=(a=e.shouldSelectOnPressUp)?a:null==p?void 0:p.shouldSelectOnPressUp,y=null!=(u=e.shouldFocusOnHover)?u:null==p?void 0:p.shouldFocusOnHover,m=null!=(c=e.shouldUseVirtualFocus)?c:null==p?void 0:p.shouldUseVirtualFocus,b=null!=(d=e.isVirtualized)?d:null==p?void 0:p.isVirtualized,S=(0,P.X1)(),x=(0,P.X1)(),T={role:"option","aria-disabled":h||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?g:void 0};(0,D.cX)()&&(0,D.Tc)()||(T["aria-label"]=e["aria-label"],T["aria-labelledby"]=S,T["aria-describedby"]=x);let L=t.collection.getItem(f);if(b){let e=Number(null==L?void 0:L.index);T["aria-posinset"]=Number.isNaN(e)?void 0:e+1,T["aria-setsize"]=function(e){let t=J.get(e);if(null!=t)return t;let n=0,r=t=>{for(let l of t)"section"===l.type?r((0,q.iQ)(l,e)):n++};return r(e),J.set(e,n),n}(t.collection)}let R=(null==p?void 0:p.onAction)?()=>{var e;return null==p||null==(e=p.onAction)?void 0:e.call(p,f)}:void 0,A=function(e,t){let n=E.get(e);if(!n)throw Error("Unknown list");return`${n.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}(t,f),{itemProps:N,isPressed:F,isFocused:B,hasAction:O,allowsSelection:z}=function(e){let{id:t,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:o,shouldUseVirtualFocus:s,focus:a,isDisabled:u,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:f="action"}=e,p=(0,k.rd)();t=(0,P.Bi)(t);let h=e=>{if("keyboard"===e.pointerType&&K(e))n.toggleSelection(r);else{if("none"===n.selectionMode)return;if(n.isLink(r)){if("selection"===f&&i.current){let t=n.getItemProps(r);p.open(i.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if("override"===f||"none"===f)return}"single"===n.selectionMode?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):e&&e.shiftKey?n.extendSelection(r):"toggle"===n.selectionBehavior||e&&(M(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?n.toggleSelection(r):n.replaceSelection(r)}};(0,l.useEffect)(()=>{if(r===n.focusedKey&&n.isFocused)if(s){var e;let t=new CustomEvent(I,{cancelable:!0,bubbles:!0});null==(e=i.current)||e.dispatchEvent(t)}else a?a():document.activeElement!==i.current&&i.current&&(0,j.l)(i.current)},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,s]),u=u||n.isDisabled(r);let g={};s||u?u&&(g.onMouseDown=e=>{e.preventDefault()}):g={tabIndex:r===n.focusedKey?0:-1,onFocus(e){e.target===i.current&&n.setFocusedKey(r)}};let v=n.isLink(r)&&"override"===f,y=n.isLink(r)&&"selection"!==f&&"none"!==f,m=!u&&n.canSelectItem(r)&&!v,b=(c||y)&&!u,E=b&&("replace"===n.selectionBehavior?!m:!m||n.isEmpty),w=b&&m&&"replace"===n.selectionBehavior,S=E||w,x=(0,l.useRef)(null),D=S&&m,T=(0,l.useRef)(!1),L=(0,l.useRef)(!1),R=e=>{if(c&&c(),y&&i.current){let t=n.getItemProps(r);p.open(i.current,e,t.href,t.routerOptions)}},A={};o?(A.onPressStart=e=>{x.current=e.pointerType,T.current=D,"keyboard"===e.pointerType&&(!S||Q())&&h(e)},d?(A.onPressUp=E?void 0:e=>{"mouse"===e.pointerType&&m&&h(e)},A.onPress=E?R:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&m&&h(e)}):A.onPress=e=>{E||w&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||X())&&R(e):"keyboard"!==e.pointerType&&m&&h(e)}):(A.onPressStart=e=>{x.current=e.pointerType,T.current=D,L.current=E,m&&("mouse"===e.pointerType&&!E||"keyboard"===e.pointerType&&(!b||Q()))&&h(e)},A.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&S&&X()||"mouse"===e.pointerType&&L.current)&&(S?R(e):m&&h(e))}),g["data-key"]=r,A.preventFocusOnPress=s;let{pressProps:N,isPressed:F}=(0,Y.d)(A),B=w?e=>{"mouse"===x.current&&(e.stopPropagation(),e.preventDefault(),R(e))}:void 0,{longPressProps:O}=(0,G.H)({isDisabled:!D,onLongPress(e){"touch"===e.pointerType&&(h(e),n.setSelectionBehavior("toggle"))}}),z=n.isLink(r)?e=>{k.Fe.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,C.v)(g,m||E?N:{},D?O:{},{onDoubleClick:B,onDragStartCapture:e=>{"touch"===x.current&&T.current&&e.preventDefault()},onClick:z,id:t}),isPressed:F,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:u,allowsSelection:m,hasAction:S}}({selectionManager:t.selectionManager,key:f,ref:n,shouldSelectOnPressUp:v,allowsDifferentPressOrigin:v&&y,isVirtualized:b,shouldUseVirtualFocus:m,isDisabled:h,onAction:R||(null==L||null==(r=L.props)?void 0:r.onAction)?(0,$.c)(null==L||null==(i=L.props)?void 0:i.onAction,R):void 0,linkBehavior:null==p?void 0:p.linkBehavior,id:A}),{hoverProps:_}=(0,Z.M)({isDisabled:h||!y,onHoverStart(){(0,U.pP)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(f))}}),H=(0,w.$)(null==L?void 0:L.props);delete H.id;let V=(0,k._h)(null==L?void 0:L.props);return{optionProps:{...T,...(0,C.v)(H,N,_,V),id:A},labelProps:{id:S},descriptionProps:{id:x},isFocused:B,isFocusVisible:B&&(0,U.pP)(),isSelected:g,isDisabled:h,isPressed:F,allowsSelection:z,hasAction:O}}({key:n.key,"aria-label":null==e?void 0:e["aria-label"]},i,r),{hoverProps:v,isHovered:y}=(0,Z.M)({isDisabled:!h.allowsSelection&&!h.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),m=null;s&&o&&(m=o.useDraggableItem({key:n.key},s));let b=null;c&&o&&(b=o.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},c,r));let S=s&&s.isDragging(n.key),x=(0,a.Sl)({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...h,isHovered:y,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:S,isDropTarget:null==b?void 0:b.isDropTarget}});(0,l.useEffect)(()=>{n.textValue||console.warn("A `textValue` prop is required for elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let T=e.href?"a":"div";return l.createElement(T,{...(0,C.v)(d,v,null==m?void 0:m.dragProps,null==b?void 0:b.dropProps),...x,ref:r,"data-allows-dragging":!!s||void 0,"data-selected":h.isSelected||void 0,"data-disabled":h.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":h.isFocused||void 0,"data-focus-visible":h.isFocusVisible||void 0,"data-pressed":h.isPressed||void 0,"data-dragging":S||void 0,"data-drop-target":(null==b?void 0:b.isDropTarget)||void 0,"data-selection-mode":"none"===i.selectionManager.selectionMode?void 0:i.selectionManager.selectionMode},l.createElement(a.Kq,{values:[[g.h,{slots:{label:f,description:p}}]]},x.children))});function ed(e,t){t=(0,en.U)(t);let{dragAndDropHooks:n,dropState:r}=(0,l.useContext)(u),{dropIndicatorProps:i,isHidden:o,isDropTarget:s}=n.useDropIndicator(e,r,t);return o?null:l.createElement(ef,{...e,dropIndicatorProps:i,isDropTarget:s,ref:t})}let ef=(0,l.forwardRef)(function(e,t){let{dropIndicatorProps:n,isDropTarget:r,...i}=e,o=(0,a.Sl)({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:r}});return l.createElement("div",{...n,...o,role:"option",ref:t,"data-drop-target":r||void 0})})},60931:(e,t,n)=>{function r(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(13159)},61186:(e,t,n)=>{n.d(t,{b:()=>l});var r=n(27024);function l(e,t){let{id:n,"aria-label":l,"aria-labelledby":i}=e;return n=(0,r.Bi)(n),i&&l?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),l||i||!t||(l=t),{id:n,"aria-label":l,"aria-labelledby":i}}},61847:(e,t,n)=>{n.d(t,{P:()=>i,Y:()=>l});var r=n(68797);function l(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,r.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,r.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},61907:(e,t,n)=>{var r=n(7620),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,o=r.useEffect,s=r.useLayoutEffect,a=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!l(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),l=r[0].inst,c=r[1];return s(function(){l.value=n,l.getSnapshot=t,u(l)&&c({inst:l})},[e,n,t]),o(function(){return u(l)&&c({inst:l}),e(function(){u(l)&&c({inst:l})})},[e]),a(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},62884:(e,t,n)=>{n.d(t,{j:()=>u});var r=n(97509),l=n(7620),i=n(27024),o=n(38191),s=n(31534),a=n(94612);function u(e,t,n){let{isDisabled:u}=e,c=(0,i.Bi)(),d=(0,i.Bi)(),f=!(0,a.wR)()&&"onbeforematch"in document.body,p=(0,l.useRef)(null),h=(0,l.useCallback)(()=>{p.current=requestAnimationFrame(()=>{n.current&&n.current.setAttribute("hidden","until-found")}),(0,r.flushSync)(()=>{t.toggle()})},[n,t]);return(0,o._)(n,"beforematch",f?h:null),(0,s.N)(()=>{p.current&&cancelAnimationFrame(p.current),f&&n.current&&!u&&(t.isExpanded?n.current.removeAttribute("hidden"):n.current.setAttribute("hidden","until-found"))},[u,n,t.isExpanded,f]),(0,l.useEffect)(()=>()=>{p.current&&cancelAnimationFrame(p.current)},[]),{buttonProps:{id:c,"aria-expanded":t.isExpanded,"aria-controls":d,onPress:e=>{u||"keyboard"===e.pointerType||t.toggle()},isDisabled:u,onPressStart(e){"keyboard"!==e.pointerType||u||t.toggle()}},panelProps:{id:d,role:"group","aria-labelledby":c,"aria-hidden":!t.isExpanded,hidden:!!f||!t.isExpanded}}}},68797:(e,t,n)=>{function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null==(t=window.navigator.userAgentData)?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function l(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{H8:()=>f,Tc:()=>d,bh:()=>a,cX:()=>o,gm:()=>h,lg:()=>c,m0:()=>p,un:()=>u});let o=i(function(){return l(/^Mac/i)}),s=i(function(){return l(/^iPhone/i)}),a=i(function(){return l(/^iPad/i)||o()&&navigator.maxTouchPoints>1}),u=i(function(){return s()||a()}),c=i(function(){return o()||u()}),d=i(function(){return r(/AppleWebKit/i)&&!f()}),f=i(function(){return r(/Chrome/i)}),p=i(function(){return r(/Android/i)}),h=i(function(){return r(/Firefox/i)})},72072:(e,t,n)=>{n.d(t,{v:()=>o});var r=n(22489),l=n(27024);let i=function(){for(var e,t,n=0,r="";n=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof s?t[e]=i(n,s):"id"===e&&n&&s?t.id=(0,l.Tw)(n,s):t[e]=void 0!==s?s:n}}return t}},74377:(e,t,n)=>{n.d(t,{pM:()=>C,GQ:()=>y,KU:()=>w});class r{get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new r(this.type,this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e}constructor(e,t){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=e,this.key=t}}class l{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=(null==n?void 0:n.firstChildKey)!=null?t.get(n.firstChildKey):null;for(;r;)yield r,r=null!=r.nextKey?t.get(r.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){var n;for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return null!=(n=null==t?void 0:t.key)?n:null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){var e;let t=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;(null==t?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);return null!=(e=null==t?void 0:t.key)?e:null}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");this.keyMap.set(e.key,e)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new l,n=null;for(let r of this)if("section"===r.type&&r.hasChildNodes){let l=r.clone(),i=null;for(let n of this.getChildren(r.key))if(e(n.textValue)||"header"===n.type){let e=n.clone();null==i&&(l.firstChildKey=e.key),null==t.firstKey&&(t.firstKey=l.key),i&&i.parentKey===e.parentKey?(i.nextKey=e.key,e.prevKey=i.key):e.prevKey=null,e.nextKey=null,t.addNode(e),i=e}i&&("header"!==i.type?(l.lastChildKey=i.key,null==n?l.prevKey=null:("section"===n.type||"separator"===n.type)&&(n.nextKey=l.key,l.prevKey=n.key),l.nextKey=null,n=l,t.addNode(l)):(t.firstKey===l.key&&(t.firstKey=null),t.removeNode(i.key)))}else if("separator"===r.type){let e=r.clone();e.nextKey=null,(null==n?void 0:n.type)==="section"&&(n.nextKey=e.key,e.prevKey=n.key,n=e,t.addNode(e))}else if(e(r.textValue)){let e=r.clone();null==t.firstKey&&(t.firstKey=e.key),null!=n&&"section"!==n.type&&"separator"!==n.type&&n.parentKey===e.parentKey?(n.nextKey=e.key,e.prevKey=n.key):e.prevKey=null,e.nextKey=null,t.addNode(e),n=e}if((null==n?void 0:n.type)==="separator"&&null===n.nextKey){let e;null!=n.prevKey&&((e=t.getItem(n.prevKey)).nextKey=null),t.removeNode(n.key),n=e}return t.lastKey=(null==n?void 0:n.key)||null,t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}class i{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){var e;return(null==(e=this.parentNode)?void 0:e.isConnected)||!1}appendChild(e){this.ownerDocument.startTransaction(),e.parentNode&&e.parentNode.removeChild(e),null==this.firstChild&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),e.hasSetProps&&this.ownerDocument.addNode(e),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);this.ownerDocument.startTransaction(),e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode;let n=t;for(;n;)n.index++,n=n.nextSibling;e.hasSetProps&&this.ownerDocument.addNode(e),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(e){if(e.parentNode!==this||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let t=e.nextSibling;for(;t;)t.index--,t=t.nextSibling;e.nextSibling&&(e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.removeNode(e),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=e}}class o extends i{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof o?this.parentNode.level+ +("item"===this.node.type):0}updateNode(){var e,t,n,r,l,i,s,a;let u=this.ownerDocument.getMutableNode(this);u.index=this.index,u.level=this.level,u.parentKey=this.parentNode instanceof o?this.parentNode.node.key:null,u.prevKey=null!=(l=null==(e=this.previousSibling)?void 0:e.node.key)?l:null,u.nextKey=null!=(i=null==(t=this.nextSibling)?void 0:t.node.key)?i:null,u.hasChildNodes=!!this.firstChild,u.firstChildKey=null!=(s=null==(n=this.firstChild)?void 0:n.node.key)?s:null,u.lastChildKey=null!=(a=null==(r=this.lastChild)?void 0:r.node.key)?a:null}setProps(e,t,n,r){let l=this.ownerDocument.getMutableNode(this),{value:i,textValue:o,id:s,...a}=e;if(a.ref=t,l.props=a,l.rendered=n,l.render=r,l.value=i,l.textValue=o||("string"==typeof a.children?a.children:"")||e["aria-label"]||"",null!=s&&s!==l.key){if(this.hasSetProps)throw Error("Cannot change the id of an item");l.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(e,t){super(t),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new r(e,`react-aria-${++t.nodeId}`),this.ownerDocument.startTransaction()}}class s extends i{get isConnected(){return this.isMounted}createElement(e){return new o(e,this)}getMutableNode(e){let t=e.node;return this.mutatedNodes.has(e)||(t=e.node.clone(),this.mutatedNodes.add(e),e.node=t),this.markDirty(e),t}getMutableCollection(){return this.isSSR||this.collectionMutated||(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(e){this.dirtyNodes.add(e)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(e){let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let n of(t.addNode(e.node),e))this.addNode(n);this.markDirty(e)}removeNode(e){for(let t of e)this.removeNode(t);this.getMutableCollection().removeNode(e.node.key),this.markDirty(e)}getCollection(){return this.transactionCount>0||this.updateCollection(),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof o&&e.isConnected&&e.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var e,t,n,r;let l=this.getMutableCollection();for(let e of this.mutatedNodes)e.isConnected&&l.addNode(e.node);l.commit(null!=(n=null==(e=this.firstChild)?void 0:e.node.key)?n:null,null!=(r=null==(t=this.lastChild)?void 0:t.node.key)?r:null,this.isSSR),this.mutatedNodes.clear()}this.collectionMutated=!1}queueUpdate(){if(0!==this.dirtyNodes.size&&!(this.transactionCount>0))for(let e of this.subscriptions)e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){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=e,this.collectionMutated=!0}}var a=n(98156),u=n(85732),c=n(97509),d=n(7620),f=n(94612),p=n(31534),h=n(13100);let g=(0,d.createContext)(!1),v=(0,d.createContext)(null);function y(e){if((0,d.useContext)(v))return e.content;let{collection:t,document:n}=function(e){let[t]=(0,d.useState)(()=>new s((null==e?void 0:e())||new l)),n=b((0,d.useCallback)(e=>t.subscribe(e),[t]),(0,d.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,d.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]));return(0,p.N)(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:n,document:t}}(e.createCollection);return d.createElement(d.Fragment,null,d.createElement(u.jZ,null,d.createElement(v.Provider,{value:n},e.content)),d.createElement(m,{render:e.children,collection:t}))}function m({collection:e,render:t}){return t(e)}let b="function"==typeof d.useSyncExternalStore?d.useSyncExternalStore:function(e,t,n){let r=(0,f.wR)(),l=(0,d.useRef)(r);l.current=r;let i=(0,d.useCallback)(()=>l.current?n():t(),[t,n]);return(0,h.useSyncExternalStore)(e,i)},E=(0,d.createContext)(null);function w(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,d.forwardRef)((r,l)=>{if(!(0,d.useContext)(g)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(r,l)}return function(e,t,n,r,l,i){let o=(0,d.useCallback)(e=>{null==e||e.setProps(t,n,r,i)},[t,n,r,i]),s=(0,d.useContext)(E);if(s){let l=s.ownerDocument.nodesByProps.get(t);return l||((l=s.ownerDocument.createElement(e)).setProps(t,n,r,i),s.appendChild(l),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,l)),null}return d.createElement(e,{ref:o},l)}(e,r,l,"children"in r?r.children:null,null,e=>d.createElement(n,{node:e}))});return r.displayName=t.name,r}let P=(0,d.createContext)(null);function C(e){var t;let n=(0,d.useContext)(P),r=((null==n?void 0:n.dependencies)||[]).concat(e.dependencies),l=e.idScope||(null==n?void 0:n.idScope),i=(t={...e,idScope:l,dependencies:r},(0,a.p)({...t,addIdAndValue:!0}));return(0,d.useContext)(v)&&(i=d.createElement(S,null,i)),n=(0,d.useMemo)(()=>({dependencies:r,idScope:l}),[l,...r]),d.createElement(P.Provider,{value:n},i)}function S({children:e}){let t=(0,d.useContext)(v),n=(0,d.useMemo)(()=>d.createElement(v.Provider,{value:null},d.createElement(g.Provider,{value:!0},e)),[e]);return(0,f.wR)()?d.createElement(E.Provider,{value:t},n):(0,c.createPortal)(n,t)}},74670:(e,t,n)=>{n.d(t,{J:()=>i});var r=n(31534),l=n(7620);function i(e){let t=(0,l.useRef)(null);return(0,r.N)(()=>{t.current=e},[e]),(0,l.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},75261:(e,t,n)=>{n.d(t,{y:()=>s});var r=n(7620),l=n(31534),i=n(74670);class o{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function s(e){let t=(0,r.useRef)({isFocused:!1,observer:null});(0,l.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,i.J)(t=>{null==e||e(t)});return(0,r.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new o("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}},77128:(e,t,n)=>{n.d(t,{n:()=>i});class r{getItemRect(e){let t=this.ref.current;if(!t)return null;let n=null!=e?t.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null;if(!n)return null;let r=t.getBoundingClientRect(),l=n.getBoundingClientRect();return{x:l.left-r.left+t.scrollLeft,y:l.top-r.top+t.scrollTop,width:l.width,height:l.height}}getContentSize(){var e,t;let n=this.ref.current;return{width:null!=(e=null==n?void 0:n.scrollWidth)?e:0,height:null!=(t=null==n?void 0:n.scrollHeight)?t:0}}getVisibleRect(){var e,t,n,r;let l=this.ref.current;return{x:null!=(e=null==l?void 0:l.scrollLeft)?e:0,y:null!=(t=null==l?void 0:l.scrollTop)?t:0,width:null!=(n=null==l?void 0:l.offsetWidth)?n:0,height:null!=(r=null==l?void 0:l.offsetHeight)?r:0}}constructor(e){this.ref=e}}var l=n(57735);class i{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null==(t=e.props)?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let n=e;for(;null!=n;){let e=this.collection.getItem(n);if((null==e?void 0:e.type)==="item"&&!this.isDisabled(e))return n;n=t(n)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}findKey(e,t,n){let r=e,l=this.layoutDelegate.getItemRect(r);if(!l||null==r)return null;let i=l;do{if(null==(r=t(r)))break;l=this.layoutDelegate.getItemRect(r)}while(l&&n(i,l)&&null!=r);return r}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";if(this.layoutDelegate[t])return e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e));if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"rtl"===this.direction);else return this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){let t="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";if(this.layoutDelegate[t])return e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e));if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"ltr"===this.direction);else return this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(t&&!(0,l.o)(t))return this.getFirstKey();let r=e;if("horizontal"===this.orientation){let e=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>e&&null!=r;)n=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}else{let e=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>e&&null!=r;)n=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}return null!=r?r:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(t&&!(0,l.o)(t))return this.getLastKey();let r=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x{n.d(t,{q:()=>f,s:()=>p});var r=n(54568),l=n(7620);globalThis.__VUE_OPTIONS_API__=!0,globalThis.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!0,globalThis.__VUE_PROD_DEVTOOLS__=!1;let i={createClient:null,clientDict:{}},o=new Set,s=()=>o.forEach(e=>e()),a={getSnapshot:()=>i,subscribe:e=>(o.add(e),()=>o.delete(e)),setCreateClient:e=>{i={...i,createClient:e},s()},addClient:(e,t)=>{i={...i,clientDict:{...i.clientDict,[e]:t}},s()},removeClient:e=>{let{[e]:t,...n}=i.clientDict;i={...i,clientDict:n},s()}},u=(0,l.createContext)(null),c=!1,d={},f=e=>{var t;let{children:i,initialRequest:o,configuration:s={}}=e,f=(null==(t=s.spec)?void 0:t.url)||"default",p=(0,l.useRef)(null),h=(0,l.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot);return(0,l.useEffect)(()=>{c||(async()=>{c=!0;let{createApiClientModalSync:e}=await Promise.all([n.e(4760),n.e(3897),n.e(352),n.e(4521),n.e(5084),n.e(363)]).then(n.bind(n,87816));a.setCreateClient(e)})()},[]),(0,l.useEffect)(()=>{if(!p.current||!h.createClient||d[f])return()=>null;let e=h.createClient({el:p.current,configuration:s}),t=async()=>{await e.updateConfig(s),o&&e.route(o)};return a.addClient(f,e),d[f]=e,t(),()=>{e.app.unmount(),a.removeClient(f),delete d[f]}},[p.current,h.createClient]),(0,r.jsxs)(u.Provider,{value:h.clientDict[f],children:[(0,r.jsx)("div",{className:"scalar-app",ref:p}),i]})},p=()=>(0,l.useContext)(u)},82476:(e,t,n)=>{n.d(t,{h:()=>r});let r=(0,n(7620).createContext)({})},84644:(e,t,n)=>{n.d(t,{Fe:()=>a,_h:()=>u,rd:()=>s});var r=n(48231),l=n(68797),i=n(7620);let o=(0,i.createContext)({isNative:!0,open:function(e,t){(function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}})(e,e=>a(e,t))},useHref:e=>e});function s(){return(0,i.useContext)(o)}function a(e,t,n=!0){var i,o;let{metaKey:s,ctrlKey:u,altKey:c,shiftKey:d}=t;(0,l.gm)()&&(null==(o=window.event)||null==(i=o.type)?void 0:i.startsWith("key"))&&"_blank"===e.target&&((0,l.cX)()?s=!0:u=!0);let f=(0,l.Tc)()&&(0,l.cX)()&&!(0,l.bh)()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:s,ctrlKey:u,altKey:c,shiftKey:d}):new MouseEvent("click",{metaKey:s,ctrlKey:u,altKey:c,shiftKey:d,bubbles:!0,cancelable:!0});a.isOpening=n,(0,r.e)(e),e.dispatchEvent(f),a.isOpening=!1}function u(e){var t;let n=s().useHref(null!=(t=null==e?void 0:e.href)?t:"");return{href:(null==e?void 0:e.href)?n:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}a.isOpening=!1},84912:(e,t,n)=>{n.d(t,{I:()=>l});var r=n(7620);function l(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:l}=e,i=(0,r.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var r;let o=1!==(r=e.key).length&&/^[A-Z]/i.test(r)?"":r;if(o&&!e.ctrlKey&&!e.metaKey&&e.currentTarget.contains(e.target)){if(" "===o&&i.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),i.search+=o,null!=t.getKeyForSearch){let e=t.getKeyForSearch(i.search,n.focusedKey);null==e&&(e=t.getKeyForSearch(i.search)),null!=e&&(n.setFocusedKey(e),l&&l(e))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},1e3)}}:void 0}}}},85732:(e,t,n)=>{n.d(t,{U7:()=>u,jZ:()=>a,m_:()=>c});var r=n(97509),l=n(7620),i=n(94612);if("undefined"!=typeof HTMLTemplateElement){let 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)}})}let o=(0,l.createContext)(!1),s="undefined"!=typeof DocumentFragment?new DocumentFragment:null;function a(e){let t=(0,l.useContext)(o),n=(0,i.wR)();if(t)return l.createElement(l.Fragment,null,e.children);let a=l.createElement(o.Provider,{value:!0},e.children);return n?l.createElement("template",{"data-react-aria-hidden":!0},a):(0,r.createPortal)(a,s)}function u(e){let t=(t,n)=>(0,l.useContext)(o)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,l.forwardRef)(t)}function c(){return(0,l.useContext)(o)}},86575:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},r=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function l(e){return["async","defer","noModule"].includes(e)}function i(e,t){for(let[i,o]of Object.entries(t)){if(!t.hasOwnProperty(i)||r.includes(i)||void 0===o)continue;let s=n[i]||i.toLowerCase();"SCRIPT"===e.tagName&&l(s)?e[s]=!!o:e.setAttribute(s,String(o)),(!1===o||"SCRIPT"===e.tagName&&l(s)&&(!o||"false"===o))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86947:(e,t,n)=>{n.d(t,{T:()=>i});var r=n(7620),l=n(38731);function i(e){let[t,n]=(0,l.P)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),i=(0,r.useCallback)(()=>{n(!0)},[n]),o=(0,r.useCallback)(()=>{n(!1)},[n]),s=(0,r.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:i,close:o,toggle:s}}},87564:(e,t,n)=>{function r(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function l(e){var t=e,n=0;!1;let r=0;for(let e of t){if(r===n)return e;r++}}function i(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...o(e,t),t],l=[...o(e,n),n],i=r.slice(0,l.length).findIndex((e,t)=>e!==l[t]);return -1!==i?(t=r[i],n=l[i],t.index-n.index):r.findIndex(e=>e===n)>=0?1:(l.findIndex(e=>e===t),-1)}function o(e,t){let n=[],r=t;for(;(null==r?void 0:r.parentKey)!=null;)(r=e.getItem(r.parentKey))&&n.unshift(r);return n}n.d(t,{iQ:()=>r,o3:()=>i,ue:()=>l})},88370:(e,t,n)=>{n.d(t,{v:()=>o});let r=new Map,l=new Set;function i(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let i=r.get(n.target);if(i&&(i.delete(n.propertyName),0===i.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of l)e();l.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let l=r.get(n.target);l||(l=new Set,r.set(n.target,l),n.target.addEventListener("transitioncancel",t,{once:!0})),l.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function o(e){requestAnimationFrame(()=>{0===r.size?e():l.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?i():document.addEventListener("DOMContentLoaded",i))},90688:(e,t,n)=>{n.d(t,{M:()=>d,W:()=>f});var r=n(9837),l=n(53171),i=n(26799),o=n(72072),s=n(7620),a=n(93523);function u(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.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:()=>t}),t&&n.stopPropagation()}}let c=s.createContext(null),d=s.forwardRef(function(e,t){let{children:n,...r}=e,l=(0,i.U)(t),o={...r,ref:l};return s.createElement(c.Provider,{value:o},n)});function f(e,t){let{focusProps:n}=(0,a.i)(e),{keyboardProps:i}={keyboardProps:e.isDisabled?{}:{onKeyDown:u(e.onKeyDown),onKeyUp:u(e.onKeyUp)}},d=(0,o.v)(n,i),f=function(e){let t=(0,s.useContext)(c)||{};(0,l.w)(t,e);let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:f,h=(0,s.useRef)(e.autoFocus);return(0,s.useEffect)(()=>{h.current&&t.current&&(0,r.l)(t.current),h.current=!1},[t]),{focusableProps:(0,o.v)({...d,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},90909:(e,t,n)=>{n.d(t,{M:()=>u});var r=n(7620);let l=!1,i=0;function o(){l=!0,setTimeout(()=>{l=!1},50)}function s(e){"touch"===e.pointerType&&o()}function a(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",o),i++,()=>{--i>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",o))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:o}=e,[s,u]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(a,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,o||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let l=e.currentTarget;c.target=l,t&&t({type:"hoverstart",target:l,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{l&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(s.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||l||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:s,triggerHoverEnd:r}},[t,n,i,o,c]);return(0,r.useEffect)(()=>{o&&f({currentTarget:c.target},c.pointerType)},[o]),{hoverProps:d,isHovered:s}}},91039:(e,t,n)=>{n.d(t,{default:()=>l.a});var r=n(37684),l=n.n(r)},91946:(e,t,n)=>{n.d(t,{EN:()=>y,kS:()=>m});var r=n(94008),l=n(56130),i=n(62884),o=n(6442),s=n(27024),a=n(2728),u=n(97536),c=n(72072),d=n(7620),f=n(94990);let p=(0,d.createContext)(null),h=(0,d.createContext)(null),g=(0,d.createContext)(null),v=(0,d.createContext)(null),y=(0,d.forwardRef)(function(e,t){[e,t]=(0,l.JT)(e,t,h);let n=(0,d.useContext)(p),{id:u,...c}=e,y=(0,s.Bi)();u||(u=y);let m=n?n.expandedKeys.has(u):e.isExpanded,b=(0,o.E)({...e,isExpanded:m,onExpandedChange(t){var r;n&&n.toggleKey(u),null==(r=e.onExpandedChange)||r.call(e,t)}}),E=d.useRef(null),w=e.isDisabled||(null==n?void 0:n.isDisabled)||!1,{buttonProps:P,panelProps:C}=(0,i.j)({...e,isExpanded:m,isDisabled:w},b,E),{isFocusVisible:S,focusProps:x}=(0,f.o)({within:!0}),D=(0,l.Sl)({...e,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:b.isExpanded,isDisabled:w,isFocusVisibleWithin:S,state:b}}),K=(0,a.$)(c);return d.createElement(l.Kq,{values:[[r.k,{slots:{[l.P_]:{},trigger:P}}],[v,{panelProps:C,panelRef:E}],[g,b]]},d.createElement("div",{ref:t,"data-expanded":b.isExpanded||void 0,"data-disabled":w||void 0,"data-focus-visible-within":S||void 0,...K,...x,...D},D.children))}),m=(0,d.forwardRef)(function(e,t){let{role:n="group"}=e,{panelProps:i,panelRef:o}=(0,d.useContext)(v),{isFocusVisible:s,focusProps:p}=(0,f.o)({within:!0}),h=(0,l.Sl)({...e,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:s}}),g=(0,a.$)(e);return d.createElement("div",{...g,ref:(0,u.P)(t,o),...(0,c.v)(i,p),...h,role:n,"data-focus-visible-within":s||void 0},d.createElement(l.Kq,{values:[[r.k,null]]},e.children))})},92644:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(54568),l=n(7620),i=n(60931);function o(e){return{default:e&&"default"in e?e.default:e}}n(96670);let s={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},a=function(e){let t={...s,...e},n=(0,l.lazy)(()=>t.loader().then(o)),a=t.loading;function u(e){let o=a?(0,r.jsx)(a,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?l.Suspense:l.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(u,{...s?{fallback:o}:{},children:c})}return u.displayName="LoadableComponent",u}},93523:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(75261),l=n(7620),i=n(48647);function o(e){let{isDisabled:t,onFocus:n,onBlur:o,onFocusChange:s}=e,a=(0,l.useCallback)(e=>{if(e.target===e.currentTarget)return o&&o(e),s&&s(!1),!0},[o,s]),u=(0,r.y)(a),c=(0,l.useCallback)(e=>{let t=(0,i.T)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),s&&s(!0),u(e))},[s,n,u]);return{focusProps:{onFocus:!t&&(n||s||o)?c:void 0,onBlur:!t&&(o||s)?a:void 0}}}},93874:(e,t,n)=>{n.d(t,{d:()=>K});var r=n(68797),l=n(48647),i=n(88370);let o="default",s="",a=new WeakMap;function u(e){if((0,r.un)()){if("default"===o){let t=(0,l.T)(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}o="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(a.set(e,e.style.userSelect),e.style.userSelect="none")}function c(e){if((0,r.un)())"disabled"===o&&(o="restoring",setTimeout(()=>{(0,i.v)(()=>{if("restoring"===o){let t=(0,l.T)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=s||""),s="",o="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&a.has(e)){let t=a.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),a.delete(e)}}var d=n(7963),f=n(67198),p=n(86111),h=n(79807),g=n(72072),v=n(53171),y=n(14187),m=n(74670),b=n(22489),E=n(84644),w=n(61847),P=n(48231),C=n(7620),S=new WeakMap;class x{continuePropagation(){(0,h._)(this,S,!1)}get shouldStopPropagation(){return(0,f._)(this,S)}constructor(e,t,n,r){var l;(0,p._)(this,S,{writable:!0,value:void 0}),(0,h._)(this,S,!0);let i=null!=(l=null==r?void 0:r.target)?l:n.currentTarget,o=null==i?void 0:i.getBoundingClientRect(),s,a=0,u,c=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,c=n.clientY),o&&(null!=u&&null!=c?(s=u-o.left,a=c-o.top):(s=o.width/2,a=o.height/2)),this.type=e,this.pointerType=t,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=a}}let D=Symbol("linkClicked");function K(e){let{onPress:t,onPressChange:n,onPressStart:i,onPressEnd:o,onPressUp:s,isDisabled:a,isPressed:f,preventFocusOnPress:p,shouldCancelOnPointerExit:h,allowTextSelectionOnPress:S,ref:K,...I}=function(e){let t=(0,C.useContext)(d.F);if(t){let{register:n,...r}=t;e=(0,g.v)(r,e),n()}return(0,v.w)(t,e.ref),e}(e),[O,z]=(0,C.useState)(!1),_=(0,C.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:H,removeAllGlobalListeners:V}=(0,y.A)(),j=(0,m.J)((e,t)=>{let r=_.current;if(a||r.didFirePressStart)return!1;let l=!0;if(r.isTriggeringEvent=!0,i){let n=new x("pressstart",t,e);i(n),l=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,z(!0),l}),U=(0,m.J)((e,r,l=!0)=>{let i=_.current;if(!i.didFirePressStart)return!1;i.ignoreClickAfterPress=!0,i.didFirePressStart=!1,i.isTriggeringEvent=!0;let s=!0;if(o){let t=new x("pressend",r,e);o(t),s=t.shouldStopPropagation}if(n&&n(!1),z(!1),t&&l&&!a){let n=new x("press",r,e);t(n),s&&(s=n.shouldStopPropagation)}return i.isTriggeringEvent=!1,s}),W=(0,m.J)((e,t)=>{let n=_.current;if(a)return!1;if(s){n.isTriggeringEvent=!0;let r=new x("pressup",t,e);return s(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),$=(0,m.J)(e=>{let t=_.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&U(R(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,V(),S||c(t.target))}),q=(0,m.J)(e=>{h&&$(e)}),J=(0,C.useMemo)(()=>{let e=_.current,t={onKeyDown(t){if(k(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var i;B(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=j(t,"keyboard");let r=t.currentTarget;H((0,l.T)(t.currentTarget),"keyup",(0,b.c)(t=>{k(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&W(R(e.target,t),"keyboard")},n),!0)}o&&t.stopPropagation(),t.metaKey&&(0,r.cX)()&&(null==(i=e.metaKeyEvents)||i.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!E.Fe.isOpening){let n=!0;if(a&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,w.Y)(t.nativeEvent))){a||p||(0,P.e)(t.currentTarget);let e=j(t,"virtual"),r=W(t,"virtual"),l=U(t,"virtual");n=e&&r&&l}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,l;if(e.isPressed&&e.target&&k(t,e.target)){B(t.target,t.key)&&t.preventDefault();let n=t.target;U(R(e.target,t),"keyboard",e.target.contains(n)),V(),"Enter"!==t.key&&T(e.target)&&e.target.contains(n)&&!t[D]&&(t[D]=!0,(0,E.Fe)(e.target,t,!1)),e.isPressed=!1,null==(r=e.metaKeyEvents)||r.delete(t.key)}else if("Meta"===t.key&&(null==(n=e.metaKeyEvents)?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null==(l=e.target)||l.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,w.P)(t.nativeEvent)){e.pointerType="virtual";return}N(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let r=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,a||p||(0,P.e)(t.currentTarget),S||u(e.target),r=j(t,e.pointerType);let o=t.target;"releasePointerCapture"in o&&o.releasePointerCapture(t.pointerId),H((0,l.T)(t.currentTarget),"pointerup",n,!1),H((0,l.T)(t.currentTarget),"pointercancel",i,!1)}r&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(N(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&W(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,j(R(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,U(R(e.target,t),e.pointerType,!1),q(t))};let n=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(e.target.contains(t.target)&&null!=e.pointerType?U(R(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&U(R(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,V(),S||c(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&H(e.target,"touchend",r,{once:!0}))},r=e=>{F(e.currentTarget)&&e.preventDefault()},i=e=>{$(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&$(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(N(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents)return void t.stopPropagation();e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,w.Y)(t.nativeEvent)?"virtual":"mouse",a||p||(0,P.e)(t.currentTarget),j(t,e.pointerType)&&t.stopPropagation(),H((0,l.T)(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=j(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=U(t,e.pointerType,!1),q(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&(e.ignoreEmulatedMouseEvents||0!==t.button||W(t,e.pointerType||"mouse"))};let n=t=>{if(0===t.button){if(e.isPressed=!1,V(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&A(t,e.target)&&null!=e.pointerType?U(R(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&U(R(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",a||p||(0,P.e)(t.currentTarget),S||u(e.target),j(L(e.target,t),e.pointerType)&&t.stopPropagation(),H((0,l.m)(t.currentTarget),"scroll",r,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed)return void t.stopPropagation();let n=M(t.nativeEvent,e.activePointerId),r=!0;n&&A(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=j(L(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=U(L(e.target,t),e.pointerType,!1),q(L(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed)return void t.stopPropagation();let n=M(t.nativeEvent,e.activePointerId),r=!0;n&&A(n,t.currentTarget)&&null!=e.pointerType?(W(L(e.target,t),e.pointerType),r=U(L(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(r=U(L(e.target,t),e.pointerType,!1)),r&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!S&&c(e.target),V()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&$(L(e.target,t)))};let r=t=>{e.isPressed&&t.target.contains(e.target)&&$({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&$(e)}}return t},[H,a,p,V,S,$,q,U,j,W]);return(0,C.useEffect)(()=>()=>{var e;S||c(null!=(e=_.current.target)?e:void 0)},[S]),{isPressed:f||O,pressProps:(0,g.v)(I,J)}}function T(e){return"A"===e.tagName&&e.hasAttribute("href")}function k(e,t){let{key:n,code:r}=e,i=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,l.m)(t).HTMLInputElement&&!O(t,n)||t instanceof(0,l.m)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&T(t))&&"Enter"!==n)}function M(e,t){let n=e.changedTouches;for(let e=0;ei.right)&&!(i.left>l.right)&&!(l.top>i.bottom)&&!(i.top>l.bottom)}function N(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function F(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!T(e))}function B(e,t){return e instanceof HTMLInputElement?!O(e,t):F(e)}let I=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function O(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:I.has(e.type)}},94008:(e,t,n)=>{n.d(t,{$:()=>m,k:()=>y});var r=n(56130),l=n(7620);let i=(0,l.createContext)(null),o=null;function s(e,t="assertive",n=7e3){o?o.announce(e,t,n):(o=new a,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"undefined"!=typeof jest)?o.announce(e,t,n):setTimeout(()=>{(null==o?void 0:o.isAttached())&&(null==o||o.announce(e,t,n))},100))}class a{isAttached(){var e;return null==(e=this.node)?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){var r,l;if(!this.node)return;let i=document.createElement("div");"object"==typeof e?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",e["aria-labelledby"])):i.textContent=e,"assertive"===t?null==(r=this.assertiveLog)||r.appendChild(i):null==(l=this.politeLog)||l.appendChild(i),""!==e&&setTimeout(()=>{i.remove()},n)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"undefined"!=typeof document&&(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))}}var u=n(18098),c=n(94990),d=n(90909),f=n(27024),p=n(72072),h=n(85732),g=n(2728);let v=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),y=(0,l.createContext)({}),m=(0,h.U7)(function(e,t){var n;[e,t]=(0,r.JT)(e,t,y);let o=((n=e).isPending&&(n.onPress=void 0,n.onPressStart=void 0,n.onPressEnd=void 0,n.onPressChange=void 0,n.onPressUp=void 0,n.onKeyDown=void 0,n.onKeyUp=void 0,n.onClick=void 0,n.href=void 0),e=n),{isPending:a}=o,{buttonProps:h,isPressed:m}=(0,u.s)(e,t),{focusProps:b,isFocused:E,isFocusVisible:w}=(0,c.o)(e),{hoverProps:P,isHovered:C}=(0,d.M)({...e,isDisabled:e.isDisabled||a}),S={isHovered:C,isPressed:(o.isPressed||m)&&!a,isFocused:E,isFocusVisible:w,isDisabled:e.isDisabled||!1,isPending:null!=a&&a},x=(0,r.Sl)({...e,values:S,defaultClassName:"react-aria-Button"}),D=(0,f.Bi)(h.id),K=(0,f.Bi)(),T=h["aria-labelledby"];a&&(T?T=`${T} ${K}`:h["aria-label"]&&(T=`${D} ${K}`));let k=(0,l.useRef)(a);return(0,l.useEffect)(()=>{let e={"aria-labelledby":T||D};!k.current&&E&&a?s(e,"assertive"):k.current&&E&&!a&&s(e,"assertive"),k.current=a},[a,E,T,D]),l.createElement("button",{...(0,g.$)(e,{propNames:v}),...(0,p.v)(h,b,P),...x,type:"submit"===h.type&&a?"button":h.type,id:D,ref:t,"aria-labelledby":T,slot:e.slot||void 0,"aria-disabled":a?"true":h["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":S.isPressed||void 0,"data-hovered":C||void 0,"data-focused":E||void 0,"data-pending":a||void 0,"data-focus-visible":w||void 0},l.createElement(i.Provider,{value:{id:K}},x.children))})},94612:(e,t,n)=>{n.d(t,{Cc:()=>c,wR:()=>h});var r=n(7620);let l={prefix:String(Math.round(1e10*Math.random())),current:0},i=r.createContext(l),o=r.createContext(!1),s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),a=new WeakMap;function u(e=!1){let t=(0,r.useContext)(i),n=(0,r.useRef)(null);if(null===n.current&&!e){var l,o;let e=null==(o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||null==(l=o.ReactCurrentOwner)?void 0:l.current;if(e){let n=a.get(e);null==n?a.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,a.delete(e))}n.current=++t.current}return n.current}let c="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(h()),i=n?"react-aria":`react-aria${l.prefix}`;return e||`${i}-${t}`}:function(e){let t=(0,r.useContext)(i);t!==l||s||console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=u(!!e),o=`react-aria${t.prefix}`;return e||`${o}-${n}`};function d(){return!1}function f(){return!0}function p(e){return()=>{}}function h(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(p,d,f):(0,r.useContext)(o)}},94990:(e,t,n)=>{n.d(t,{o:()=>s});var r=n(24469),l=n(93523),i=n(9398),o=n(7620);function s(e={}){let{autoFocus:t=!1,isTextInput:n,within:a}=e,u=(0,o.useRef)({isFocused:!1,isFocusVisible:t||(0,r.pP)()}),[c,d]=(0,o.useState)(!1),[f,p]=(0,o.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),h=(0,o.useCallback)(()=>p(u.current.isFocused&&u.current.isFocusVisible),[]),g=(0,o.useCallback)(e=>{u.current.isFocused=e,d(e),h()},[h]);(0,r.K7)(e=>{u.current.isFocusVisible=e,h()},[],{isTextInput:n});let{focusProps:v}=(0,l.i)({isDisabled:a,onFocusChange:g}),{focusWithinProps:y}=(0,i.R)({isDisabled:!a,onFocusWithinChange:g});return{isFocused:c,isFocusVisible:f,focusProps:a?y:v}}},95307:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96670:(e,t,n)=>{function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(54568),n(97509),n(49669),n(32252)},97536:(e,t,n)=>{n.d(t,{P:()=>r});function r(...e){return 1===e.length&&e[0]?e[0]:t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}}},98156:(e,t,n)=>{n.d(t,{p:()=>l});var r=n(7620);function l(e){let{children:t,items:n,idScope:l,addIdAndValue:i,dependencies:o=[]}=e,s=(0,r.useMemo)(()=>new WeakMap,o);return(0,r.useMemo)(()=>{if(n&&"function"==typeof t){let a=[];for(let u of n){let n=s.get(u);if(!n){var e,o;let a=null!=(o=null!=(e=(n=t(u)).props.id)?e:u.key)?o:u.id;if(null==a)throw Error("Could not determine key for item");l&&(a=l+":"+a),n=(0,r.cloneElement)(n,i?{key:a,id:a,value:u}:{key:a}),s.set(u,n)}a.push(n)}return a}if("function"!=typeof t)return t},[t,n,s,l,i])}}}]);