1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,594534,e=>{"use strict";e.i(592467),e.i(227443),e.i(597360),e.i(349271),e.i(997557),e.i(776993),e.i(344345),e.i(291744),e.i(425318),e.i(811561),e.i(609216),e.i(254048),e.i(637784),e.i(879669),e.i(925128),e.i(818013),e.i(409900),e.i(770333);var t=e.i(267369);e.i(784524);let i=(0,t.createContext)(null),n=(0,t.createContext)(null);e.s(["FieldInputContext",0,n,"SelectableCollectionContext",0,i],594534)},842786,639219,481317,e=>{"use strict";class t{constructor(e){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.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new this.constructor(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.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,i){let n=this.clone();return t.addDescendants(n,e),n}}class i extends t{filter(e,t,i){let[n,l]=a(e,t,this.firstChildKey,i),r=this.clone();return r.firstChildKey=n,r.lastChildKey=l,r}}class n extends t{static{this.type="header"}}class l extends t{static{this.type="loader"}}class r extends i{static{this.type="item"}filter(e,t,i){if(i(this.textValue,this)){let i=this.clone();return t.addDescendants(i,e),i}return null}}class s extends i{static{this.type="section"}filter(e,t,i){let n=super.filter(e,t,i);if(n&&null!==n.lastChildKey){let t=e.getItem(n.lastChildKey);if(t&&"header"!==t.type)return n}return null}}class o{get size(){return this.itemCount}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 i=t.get(e),n=i?.firstChildKey!=null?t.get(i.firstChildKey):null;for(;n;)yield n,n=null!=n.nextKey?t.get(n.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return t?.key??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(){let e=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??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.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){for(let i of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(i,t)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,i=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!i}filter(e){let t=new this.constructor,[i,n]=a(this,t,this.firstKey,e);return t?.commit(i,n),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}
1function a(e,t,i,n){if(null==i)return[null,null];let l=null,r=null,s=e.getItem(i);for(;null!=s;){let i=s.filter(e,t,n);null!=i&&(i.nextKey=null,r&&(i.prevKey=r.key,r.nextKey=i.key),null==l&&(l=i),t.addNode(i),r=i),s=s.nextKey?e.getItem(s.nextKey):null}if(r&&"separator"===r.type){let e=r.prevKey;t.removeNode(r.key),e?(r=t.getItem(e)).nextKey=null:r=null}return[l?.key??null,r?.key??null]}e.s(["BaseCollection",0,o,"CollectionNode",0,t,"HeaderNode",0,n,"ItemNode",0,r,"LoaderNode",0,l,"SectionNode",0,s],639219);class u{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[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(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){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),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(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.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}}class c extends u{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof c?this.parentNode.level+ +(this.parentNode.node?.type==="item"):0}getMutableNode(){return null==this.node?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let e=this.nextVisibleSibling,t=this.getMutableNode();if(null!=t&&(t.index=this.index,t.level=this.level,t.parentKey=this.parentNode instanceof c?this.parentNode.node?.key??null:null,t.prevKey=this.previousVisibleSibling?.node?.key??null,t.nextKey=e?.node?.key??null,t.hasChildNodes=!!this.firstChild,t.firstChildKey=this.first
1VisibleChild?.node?.key??null,t.lastChildKey=this.lastVisibleChild?.node?.key??null,(null!=t.colSpan||null!=t.colIndex)&&e)){let i=(t.colIndex??t.index)+(t.colSpan??1);null!=e.node&&i!==e.node.colIndex&&(e.getMutableNode().colIndex=i)}}setProps(e,t,i,n,l){let r,{value:s,textValue:o,id:a,...u}=e;if(null==this.node?(r=new i(a??`react-aria-${++this.ownerDocument.nodeId}`),this.node=r):r=this.getMutableNode(),u.ref=t,r.props=u,r.rendered=n,r.render=l,r.value=s,e["aria-label"]&&(r["aria-label"]=e["aria-label"]),r.textValue=o||("string"==typeof u.children?u.children:"")||e["aria-label"]||"",null!=a&&a!==r.key)throw Error("Cannot change the id of an item");null!=u.colSpan&&(r.colSpan=u.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let t="none"===value;if(e.isHidden!==t){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let i=e.previousVisibleSibling,n=e.nextVisibleSibling;i&&e.ownerDocument.markDirty(i),n&&e.ownerDocument.markDirty(n),e.isHidden=t,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class d extends u{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.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new c(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||null==e.node)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof c&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof c?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(0!==this.dirtyNodes.size&&!this.queuedRender){for(let e of(this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone()),this.subscriptions))e();this.inSubscription=!1}}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)}}var h=e.i(267369);function f(e){let{children:t,items:i,idScope:n,addIdAndValue:l,dependencies:r=[]}=e,s=(0,h.useMemo)(()=>new WeakMap,r);return(0,h.useMemo)(()=>{if(i&&"function"==typeof t){let e=[];for(let r of i){let i=s.get(r);if(!i){let e=(i=t(r)).props.id??r.key??r.id;if(null==e)throw Error("Could not determine key for item");null!=n&&null==i.props.id&&(e=n+":"+e),i=(0,h.cloneElement)(i,l?{key:e,id:e,value:r}:{key:e}),s.set(r,i)}e.push(i)}return e}if("function"!=typeof t)return t},[t,i,s,n,l])}var p=e.i(971160),g=e.i(775507),y=e.i(657868),m=e.i(171821),v=e.i(207102);let b=(0,h.createContext)(!1),S=(0,h.createContext)(null);function C({collection:e,render:t}){return t(e)}let K="function"==typeof h.default.useSyncExternalStore?h.default.useSyncExternalStore:function(e,t,i){let n=(0,y.useIsSSR)(),l=(0,h.useRef)(n);l.current=n;let r=(0,h.useCallback)(()=>l.current?i():t(),[t,i]);return(0,v.useSyncExternalStore)(e,r)},E=(0,h.createContext)(null);function P(e,i,n,l,r,s){"string"==typeof e&&(e=function(e){return class extends t{static{this.type=e}}}(e));let o=(0,h.useCallback)(t=>
1{t?.setProps(i,n,e,l,s)},[i,n,l,s,e]),a=(0,h.useContext)(E);if(a){let t=a.ownerDocument.nodesByProps.get(i);return t||((t=a.ownerDocument.createElement(e.type)).setProps(i,n,e,l,s),a.appendChild(t),a.ownerDocument.updateCollection(),a.ownerDocument.nodesByProps.set(i,t)),r?h.default.createElement(E.Provider,{value:t},r):null}return h.default.createElement(e.type,{ref:o},r)}function x(e){return f({...e,addIdAndValue:!0})}let w=(0,h.createContext)(null);function k({children:e}){let t=(0,h.useContext)(S),i=(0,h.useMemo)(()=>h.default.createElement(S.Provider,{value:null},h.default.createElement(b.Provider,{value:!0},e)),[e]);return(0,y.useIsSSR)()?h.default.createElement(E.Provider,{value:t},i):(0,m.createPortal)(i,t)}e.s(["Collection",0,function(e){let t=(0,h.useContext)(w),i=(t?.dependencies||[]).concat(e.dependencies),n=e.idScope??t?.idScope,l=x({...e,idScope:n,dependencies:i});return(0,h.useContext)(S)&&(l=h.default.createElement(k,null,l)),t=(0,h.useMemo)(()=>({dependencies:i,idScope:n}),[n,...i]),h.default.createElement(w.Provider,{value:t},l)},"CollectionBuilder",0,function(e){if((0,h.useContext)(S))return e.content;let{collection:t,document:i}=function(e){let[t]=(0,h.useState)(()=>new d(e?.()||new o));return{collection:K((0,h.useCallback)(e=>t.subscribe(e),[t]),(0,h.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,h.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return h.default.createElement(h.default.Fragment,null,h.default.createElement(g.Hidden,null,h.default.createElement(S.Provider,{value:i},e.content)),h.default.createElement(C,{render:e.children,collection:t}))},"createBranchComponent",0,function(e,t,i=x){let n=({node:e})=>t(e.props,e.props.ref,e),l=(0,h.forwardRef)((t,l)=>{let r=i(t);return P(e,t,l,null,r,e=>h.default.createElement(n,{node:e}))??h.default.createElement(h.default.Fragment,null)});return l.displayName=t.name,l},"createLeafComponent",0,function(e,t){let i=({node:e})=>t(e.props,e.props.ref,e),n=(0,h.forwardRef)((n,l)=>{let r=(0,h.useContext)(p.FocusableContext);if(!(0,h.useContext)(b)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(n,l)}return P(e,n,l,"children"in n?n.children:null,null,e=>h.default.createElement(p.FocusableContext.Provider,{value:r},h.default.createElement(i,{node:e})))});return n.displayName=t.name,n}],481317);let M=(0,h.createContext)(null),D={CollectionRoot:({collection:e,renderDropIndicator:t})=>T(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:i})=>T(e,t,i)};function T(e,t,i){return f({items:t?e.getChildren(t.key):e,dependencies:[i],children(t){if("content"===t.type)return h.default.createElement(h.default.Fragment,null);let n=t.render(t);return i&&"item"===t.type?h.default.createElement(h.default.Fragment,null,i({type:"item",key:t.key,dropPosition:"before"}),n,function(e,t,i){let n=t.key,l=e.getKeyAfter(n),r=null!=l?e.getItem(l):null;for(;null!=r&&"item"!==r.type;)r=null!=(l=e.getKeyAfter(r.key))?e.getItem(l):null;let s=null!=t.nextKey?e.getItem(t.nextKey):null;for(;null!=s&&"item"!==s.type;)s=null!=s.nextKey?e.getItem(s.nextKey):null;let o=[];if(null==s){let n=t;for(;n?.type==="item"&&(!r||n.parentKey!==r.parentKey&&r.level<n.level);){let t=i({type:"item",key:n.key,dropPosition:"after"});(0,h.isValidElement)(t)&&o.push((0,h.cloneElement)(t,{key:`${n.key}-after`})),n=null!=n.parentKey?e.getItem(n.parentKey):null}}return o}(e,t,i)):n}})}let I=(0,h.createContext)(D);e.s(["CollectionRendererContext",0,I,"DefaultCollectionRenderer",0,D,"SectionContext",0,M,"usePersistedKeys",0,function(e){return(0,h.useMemo)(()=>null!=e?new Set([e]):null,[e])}],842786)},669687,e=>{"use strict";e.s(["Dialog",()=>v,"DialogContext",()=>g,"DialogTrigger",()=>m,"OverlayTriggerStateContext",()=>y]),e.i(220537);var t=e.i(669894),i=e.i(592467),n=e.i(715167),l=e.i(472619),r=e.i(238976),s=e.i(308270),o=e.i(832358),a=e.i(811561),u=e.i(587249),c=e.i(267369),d=e.i(879669),h=e.i(790558),f=e.i(765515),p=e.i(625623);let g=(0,c.createContext)(null),y=(0,c.createContext)(null);function m(e){let t=(0,h.useMenuTriggerState)(e),n=(0,c.useRef)(null),{triggerProps:s,overlayProps:o}=(0,f.useOverlayTrigger)({type:"dialog"},t,n),[a,m]=(0,c.useState)(null),v=(0,c.useCallback)(()=>{n.current&&m(n.current.offsetWidth+"px")},[n]);return(0,p.useResizeObserver)({ref:n,onResize:v}),s.id=(0,d.useId)(),o["aria-labelledby"]=s.id,c.default.createElement(i.Provider,{values:[[y,t],[r.RootMenuTriggerStateContext,t],[g,o],[l.PopoverContext,{trigger:"DialogTrigger",triggerRef:n,"aria-labelledby":o["aria-labelledby"],style:{"--trigger-width":a}}]]},c.default.createElement(u.PressResponder,{...s,ref:n,isPressed:t.isOpen},e.children))}let v=(0,c.forwardRef)(function(e,l){let r=e["aria-labelledby"];[e,l]=(0,i.useContextProps)(e,l,g);let{dialogProps:u,titleProps:d}=(0,s.useDialog)({...e,"aria-labelledby":r},l),h=(0,c.useContext)(y);u["aria-label"]||u["aria-labelledby"]||e["aria-labelledby"]&&(u["aria-labelledby"]=e["aria-labelledby"]);let f=(0,i.useRenderProps)({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:h?.close||(()=>{})}}),p=(0,o.filterDOMProps)(e,{global:!0});return c.default.createElement(i.dom.section,{...(0,a.mergeProps)(p,f,u),render:e.render,ref:l,slot:e.slot||void 0},c.default.createElement(i.Provider,{values:[[n.HeadingContext,{slots:{[i.DEFAULT_SLOT]:{},title:{...d,level:2}}}],[t.ButtonContext,{slots:{[i.DEFAULT_SLOT]:{},close:{onPress:()=>h?.close()}}}]]},f.children))})},104171,e=>{"use strict";var t=e.i(592467),i=e.i(481317),n=e.i(639219),l=e.i(267369);let r=(0,l.createContext)({}),s=(0,i.createLeafComponent)(n.HeaderNode,function(e,i){return[e,i]=(0,t.useContextProps)(e,i,r),l.default.createElement(t.dom.header,{className:"react-aria-Header",...e,ref:i},e.children)});e.s(["Header",0,s,"HeaderContext",0,r])},715167,465013,377137,e=>{"use strict";var t=e.i(592467),i=e.i(267369);let n=(0,i.createContext)({}),l=(0,i.forwardRef)(function(e,l){[e,l]=(0,t.useContextProps)(e,l,n);let{children:r,level:s=3,className:o,...a}=e,u=t.dom[`h${s}`];return i.default.createElement(u,{...a,ref:l,className:o??"react-aria-Heading"},r)});e.s(["Heading",0,l,"HeadingContext",0,n],715167);var r=e.i(295693),s=e.i(776993),o=e.i(349271),a=e.i(610174);let u="u">typeof HTMLElement&&"inert"in HTMLElement.prototype;function c(e){return"true"===e.dataset.liveAnnouncer||void 0!==e.dataset.reactAriaTopLayer}let d=new WeakMap,h=[];e.s(["ariaHideOutside",0,function(e,t){let i=(0,s.getOwnerWindow)(e?.[0]),n=t instanceof i.Element?{root:t}:t,l=n?.root??document.body,f=n?.shouldUseInert&&u,p=new Set(e),g=new Set,y=(e,t)=>
1{f&&e instanceof i.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof i.HTMLElement&&(e.inert=!1))},m=new Set;if((0,a.shadowDOM)())for(let t of e){let e=t;for(;e&&e!==l;){let t=e.getRootNode();"shadowRoot"in t&&m.add(t.shadowRoot),e=t.parentNode}}let v=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))p.add(t);let t=e=>{if(g.has(e)||p.has(e)||e.parentElement&&g.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of p)if((0,o.nodeContains)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},i=(0,r.createShadowTreeWalker)((0,s.getOwnerDocument)(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),n=t(e);if(n===NodeFilter.FILTER_ACCEPT&&b(e),n!==NodeFilter.FILTER_REJECT){let e=i.nextNode();for(;null!=e;)b(e),e=i.nextNode()}},b=e=>{let t=d.get(e)??0;(f&&e instanceof i.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"))&&0===t||(0===t&&y(e,!0),g.add(e),d.set(e,t+1))};h.length&&h[h.length-1].disconnect(),v(l);let S=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...g].some(e=>(0,o.nodeContains)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&c(e)?p.add(e):e instanceof Element&&v(e);if((0,a.shadowDOM)()){for(let e of m)if(!e.isConnected){S.disconnect();break}}}});S.observe(l,{childList:!0,subtree:!0});let C=new Set;if((0,a.shadowDOM)())for(let e of m){let t=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...g].some(e=>(0,o.nodeContains)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&c(e)?p.add(e):e instanceof Element&&v(e);if((0,a.shadowDOM)()){for(let e of m)if(!e.isConnected){S.disconnect();break}}}});t.observe(e,{childList:!0,subtree:!0}),C.add(t)}let K={visibleNodes:p,hiddenNodes:g,observe(){S.observe(l,{childList:!0,subtree:!0})},disconnect(){S.disconnect()}};return h.push(K),()=>{if(S.disconnect(),(0,a.shadowDOM)())for(let e of C)e.disconnect();for(let e of g){let t=d.get(e);null!=t&&(1===t?(y(e,!1),d.delete(e)):d.set(e,t-1))}K===h[h.length-1]?(h.pop(),h.length&&h[h.length-1].observe()):h.splice(h.indexOf(K),1)}},"keepVisible",0,function(e){let t=h[h.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}],465013);var f=e.i(664682),p=e.i(350491),g=e.i(254048);function y(e,t){if(e.button>0)return!1;let i=(0,o.getEventTarget)(e);if(i){let e=i.ownerDocument;if(!e||!(0,o.nodeContains)(e.documentElement,i)||i.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}let m=[];e.s(["useOverlay",0,function(e,t){let{onClose:n,shouldCloseOnBlur:l,isOpen:r,isDismissable:a=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:c}=e,d=(0,i.useRef)(void 0);(0,i.useEffect)(()=>{if(r&&!m.includes(t))return m.push(t),()=>{let e=m.indexOf(t);e>=0&&m.splice(e,1)}},[r,t]);let h=()=>{m[m.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:l,onInteractOutsideStart:r}=e,o=(0,i.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=(0,g.useEffectEvent)(e=>{n&&y(e,t)&&(r&&r(e),o.current.isPointerDown=!0)}),u=(0,g.useEffectEvent)(e=>{n&&n(e)});(0,i.useEffect)(()=>{let e=o.current;if(l)return;let i=t.current,n=(0,s.getOwnerDocument)(i);if("u">typeof PointerEvent){let i=i=>{e.isPointerDown&&y(i,t)&&u(i),e.isPointerDown=!1};return n.addEventListener("pointerdown",a,!0),n.addEventListener("click",i,!0),()=>{n.removeEventListener("pointerdown",a,!0),n.removeEventListener("click",i,!0)}}},[t,l])}({ref:t,onInteractOutside:a&&r?e=>{(!c||c((0,o.getEventTarget)(e)))&&(m[m.length-1]===t&&e.stopPropagation(),d.current===t&&h()),d.current=void 0}:void 0,onInteractOutsideStart:e=>{let i=m[m.length-1];d.current=i,(!c||c((0,o.getEventTarget)(e)))&&i===t&&e.stopPropagation()}});let{focusWithinProps:v}=(0,p.useFocusWithin)({isDisabled:!l,onBlurWithin:e=>{!(!e.relatedTarget||(0,f.isElementInChildOfActiveScope)(e.relatedTarget))&&(!c||c(e.relatedTarget))&&n?.()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||u||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),h())},...v},underlayProps:{}}}
1],377137)},412443,e=>{"use strict";e.i(592467);let t=(0,e.i(267369).createContext)({});e.s(["KeyboardContext",0,t])},238976,e=>{"use strict";e.s(["Menu",()=>U,"MenuItem",()=>q,"MenuSection",()=>$,"MenuTrigger",()=>B,"RootMenuTriggerStateContext",()=>O,"SubmenuTrigger",()=>H],238976);var t=e.i(592467),i=e.i(842786),n=e.i(594534),l=e.i(104171),r=e.i(412443),s=e.i(669687),o=e.i(472619),a=e.i(809202),u=e.i(522551),c=e.i(38496),d=e.i(495760),h=e.i(820917),f=e.i(788477),p=e.i(826579),g=e.i(81687),y=e.i(868887),m=e.i(639219),v=e.i(790558),b=e.i(643914),S=e.i(481317),C=e.i(832358),K=e.i(664682),E=e.i(811561),P=e.i(587249),x=e.i(267369),w=e.i(478849),k=e.i(366814),M=e.i(166810),D=e.i(784524),T=e.i(303648),I=e.i(950517),R=e.i(770333),F=e.i(625623);let L=(0,x.createContext)(null),N=(0,x.createContext)(null),O=(0,x.createContext)(null),A=(0,x.createContext)(null);function B(e){let i=(0,v.useMenuTriggerState)(e),n=(0,x.useRef)(null),{menuTriggerProps:l,menuProps:r}=(0,h.useMenuTrigger)({...e,type:"menu"},i,n),[a,u]=(0,x.useState)(null),c=(0,x.useCallback)(()=>{n.current&&u(n.current.offsetWidth+"px")},[n]);(0,F.useResizeObserver)({ref:n,onResize:c});let d=(0,x.useRef)(null);return x.default.createElement(t.Provider,{values:[[L,{...r,ref:d}],[s.OverlayTriggerStateContext,i],[O,i],[o.PopoverContext,{trigger:"MenuTrigger",triggerRef:n,scrollRef:d,placement:"bottom start",style:{"--trigger-width":a},"aria-labelledby":r["aria-labelledby"]}]]},x.default.createElement(P.PressResponder,{...l,ref:n,isPressed:i.isOpen},e.children))}let V=(0,x.createContext)(null);class z extends m.CollectionNode{static{this.type="submenutrigger"}filter(e,t,i){let n=e.getItem(this.firstChildKey);if(n&&i(n.textValue,this)){let i=this.clone();return t.addDescendants(i,e),i}return null}}let H=(0,S.createBranchComponent)(z,(e,n,l)=>{let{CollectionBranch:r}=(0,x.useContext)(i.CollectionRendererContext),a=(0,x.useContext)(N),u=(0,x.useContext)(O),c=(0,b.useSubmenuTriggerState)({triggerKey:l.key},u),d=(0,x.useRef)(null),h=(0,R.useObjectRef)(n),{parentMenuRef:p,shouldUseVirtualFocus:g}=(0,x.useContext)(V),{submenuTriggerProps:y,submenuProps:m,popoverProps:v}=(0,f.useSubmenuTrigger)({parentMenuRef:p,submenuRef:d,delay:e.delay,shouldUseVirtualFocus:g},c,h);return x.default.createElement(t.Provider,{values:[[G,{...y,onAction:void 0,ref:h}],[L,{ref:d,...m}],[s.OverlayTriggerStateContext,c],[o.PopoverContext,{trigger:"SubmenuTrigger",triggerRef:h,placement:"end top","aria-labelledby":m["aria-labelledby"],...v}]]},x.default.createElement(r,{collection:a.collection,parent:l}),e.children[1])},e=>e.children[0]),U=(0,x.forwardRef)(function(e,i){return[e,i]=(0,t.useContextProps)(e,i,L),x.default.createElement(S.CollectionBuilder,{content:x.default.createElement(S.Collection,e)},t=>x.default.createElement(W,{props:e,collection:t,menuRef:i}))});function W({props:e,collection:l,menuRef:r}){[e,r]=(0,t.useContextProps)(e,r,n.SelectableCollectionContext);let{filter:s,...o}=e,a=(0,x.useMemo)(()=>s?l.filter(s):l,[l,s]),d=function(e){let{onExpandedChange:t}=e,[i,n]=(0,D.useControlledState)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),l=(0,T.useMultipleSelectionState)(e),r=(0,x.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),s=(0,M.useCollection)(e,(0,x.useCallback)(e=>new(0,k.TreeCollection)(e,{expandedKeys:i}),[i]),null);return(0,x.useEffect)(()=>{null==l.focusedKey||s.getItem(l.focusedKey)||l.setFocusedKey(null)},[s,l.focusedKey]),{collection:s,expandedKeys:i,disabledKeys:r,toggleKey:e=>{var t,l;let r;n((t=i,l=e,(r=new Set(t)).has(l)?r.delete(l):r.add(l),r))},setExpandedKeys:n,selectionManager:new(0,w.SelectionManager)(s,l)}}({...e,collection:a,children:void 0}),h=(0,x.useContext)(O),{isVirtualized:f,CollectionRoot:g}=(0,x.useContext)(i.CollectionRendererContext),{menuProps:y}=(0,p.useMenu)({...e,isVirtualized:f,onClose:e.onClose||h?.close},d,r),m=(0,t.useRenderProps)({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:0===d.collection.size}}),b=null;0===d.collection.size&&e.renderEmptyState&&(b=x.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let S=(0,C.filterDOMProps)(e,{global:!0});return x.default.createElement(K.FocusScope,null,x.default.createElement(t.dom.div,{...(0,E.mergeProps)(S,m,y
1),ref:r,slot:e.slot||void 0,"data-empty":0===d.collection.size||void 0,onScroll:e.onScroll},x.default.createElement(t.Provider,{values:[[N,d],[u.SeparatorContext,{elementType:"div"}],[i.SectionContext,{name:"MenuSection",render:j}],[V,{parentMenuRef:r,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[G,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[n.SelectableCollectionContext,null],[n.FieldInputContext,null],[A,d.selectionManager],[O,h??(0,v.useMenuTriggerState)({})]]},x.default.createElement(c.SharedElementTransition,null,x.default.createElement(g,{collection:d.collection,persistedKeys:(0,i.usePersistedKeys)(d.selectionManager.focusedKey),scrollRef:r}))),b))}class _ extends w.SelectionManager{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}}function j(e,n,r,s="react-aria-MenuSection"){let o=(0,x.useContext)(N),{CollectionBranch:a}=(0,x.useContext)(i.CollectionRendererContext),[u,c]=(0,t.useSlot)(),{headingProps:d,groupProps:h}=(0,g.useMenuSection)({heading:c,"aria-label":r.props["aria-label"]??void 0}),f=(0,t.useRenderProps)({...e,id:void 0,children:void 0,defaultClassName:s,className:r.props?.className,style:r.props?.style,values:void 0}),p=(0,x.useContext)(A),y=(0,T.useMultipleSelectionState)(e),m=null!=e.selectionMode?new _(p,y):p,v=(0,t.useSlottedContext)(G)?.shouldCloseOnSelect,b=(0,C.filterDOMProps)(e,{global:!0});return delete b.id,x.default.createElement(t.dom.section,{...(0,E.mergeProps)(b,f,h),ref:n},x.default.createElement(t.Provider,{values:[[l.HeaderContext,{...d,ref:u}],[A,m],[G,{shouldCloseOnSelect:e.shouldCloseOnSelect??v}]]},x.default.createElement(a,{collection:o.collection,parent:r})))}let $=(0,S.createBranchComponent)(m.SectionNode,j),G=(0,x.createContext)(null),q=(0,S.createLeafComponent)(m.ItemNode,function(e,n,l){[e,n]=(0,t.useContextProps)(e,n,G);let s=(0,t.useSlottedContext)(G)?.id,o=(0,x.useContext)(N),u=(0,R.useObjectRef)(n),c=(0,x.useContext)(A),{isVirtualized:h}=(0,x.useContext)(i.CollectionRendererContext),{menuItemProps:f,labelProps:p,descriptionProps:g,keyboardShortcutProps:m,...v}=(0,y.useMenuItem)({...e,id:s,key:l.key,selectionManager:c,isVirtualized:h},o,u),{hoverProps:b,isHovered:S}=(0,I.useHover)({isDisabled:v.isDisabled}),K=(0,t.useRenderProps)({...e,id:void 0,children:l.rendered,defaultClassName:"react-aria-MenuItem",values:{...v,isHovered:S,isFocusVisible:v.isFocusVisible,selectionMode:c.selectionMode,selectionBehavior:c.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:"true"===e["aria-expanded"]}}),P=e.href?t.dom.a:t.dom.div,w=(0,C.filterDOMProps)(e,{global:!0});return delete w.id,delete w.onClick,x.default.createElement(P,{...(0,E.mergeProps)(w,K,f,b),ref:u,"data-disabled":v.isDisabled||void 0,"data-hovered":S||void 0,"data-focused":v.isFocused||void 0,"data-focus-visible":v.isFocusVisible||void 0,"data-pressed":v.isPressed||void 0,"data-selected":v.isSelected||void 0,"data-selection-mode":"none"===c.selectionMode?void 0:c.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":"true"===e["aria-expanded"]||void 0},x.default.createElement(t.Provider,{values:[[d.TextContext,{slots:{[t.DEFAULT_SLOT]:p,label:p,description:g}}],[r.KeyboardContext,m],[a.SelectionIndicatorContext,{isSelected:v.isSelected}]]},K.children))})},472619,331245,132779,587249,237917,e=>{"use strict";e.s(["Popover",()=>A,"PopoverContext",()=>N],472619);var t=e.i(592467),i=e.i(456285),n=e.i(669687),l=e.i(605845),r=e.i(163409),s=e.i(925128),o=e.i(409900),a=e.i(811561),u=e.i(350491),c=e.i(267369);let d={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 h(e={}){let{style:t,isFocusable:i}=e,[n,l]=(0,c.useState)(!1),{focusWithinProps:r}=(0,u.useFocusWithin)({isDisabled:!i,onFocusWithinChange:e=>l(e)}),s=(0,c.useMemo)(()=>n?t:t?{...d,...t}:d,[n]);return{visuallyHiddenProps:{...r,style:s}}}function f(e){let{children:t,elementType:i="div",isFocusable:n,style:l,...r}=e,{visuallyHiddenProps:s}=h(e);return c.default.createElement(i,(0,a.mergeProps)(r,s),t)}function p(e){var t;let{onDismiss:i,...n}=e,l=(0,o.useLocalizedStringFormatter)((t=r.default)&&t.__esModule?t.default:t,"@react-aria/overlays"),a=(0,s.useLabels)(n,l.format("dismiss"));return c.default.createElement(f,null,c.default.createElement("button",{...a,tabIndex:-1,onClick:()=>{i&&i()},style:{width:1,height:1}}))}e.s(["VisuallyHidden",0,f,"useVisuallyHidden",0,h],331245),e.s(["DismissButton",0,p],132779);var g=e.i(249350),y=e.i(770333),m=e.i(200337);let v=c.default.forwardRef(({children:e,...t},i)=>{let n=(0,c.useRef)(!1),l=(0,c.useContext)(g.PressResponderContext),r=(0,a.mergeProps)(l||{},{...t,register(){n.current=!0,l&&l.register()}});return r.ref=(0,y.useObjectRef)(i||l?.ref),(0,m.useSyncRef)(l,r.ref),(0,c.useEffect)(()=>{n.current||(n.current=!0)},[]),c.default.createElement(g.PressResponderContext.Provider,{value:r},e)});function b({children:e}){let t=(0,c.useMemo)(()=>({register:()=>{}}),[]);return c.default.createElement(g.PressResponderContext.Provider,{value:t},e)}e.s(["ClearPressResponder",0,b,"PressResponder",0,v],587249);var S=e.i(664682),C=e.i(657868),K=e.i(818013),E=e.i(145229),P=e.i(171821);let x=c.default.createContext(null);function w(e){let t=(0,C.useIsSSR)(),{portalContainer:i=t?null:d
1ocument.body,isExiting:n}=e,[l,r]=(0,c.useState)(!1),s=(0,c.useMemo)(()=>({contain:l,setContain:r}),[l,r]),{getContainer:o}=(0,E.useUNSAFE_PortalContext)();if(!e.portalContainer&&o&&(i=o()),!i)return null;let a=e.children;return e.disableFocusManagement||(a=c.default.createElement(S.FocusScope,{restoreFocus:!0,contain:(e.shouldContainFocus||l)&&!n},a)),a=c.default.createElement(x.Provider,{value:s},c.default.createElement(b,null,a)),P.default.createPortal(a,i)}e.s(["Overlay",0,w,"useOverlayFocusContain",0,function(){let e=(0,c.useContext)(x),t=e?.setContain;(0,K.useLayoutEffect)(()=>{t?.(!0)},[t])}],237917);var k=e.i(832358),M=e.i(260663),D=e.i(997557),T=e.i(349271),I=e.i(337699),R=e.i(412297),F=e.i(775507),L=e.i(881601);let N=(0,c.createContext)(null),O=(0,c.createContext)(null),A=(0,c.forwardRef)(function(e,i){[e,i]=(0,t.useContextProps)(e,i,N);let l=(0,c.useContext)(n.OverlayTriggerStateContext),r=(0,I.useOverlayTriggerState)(e),s=null==e.isOpen&&null==e.defaultOpen&&l?l:r,o=(0,R.useExitAnimation)(i,s.isOpen)||e.isExiting||!1,a=(0,F.useIsHidden)(),{direction:u}=(0,L.useLocale)();if(a){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),c.default.createElement(c.default.Fragment,null,t)}return!s||s.isOpen||o?c.default.createElement(B,{...e,triggerRef:e.triggerRef,state:s,popoverRef:i,isExiting:o,dir:u}):null});function B({state:e,isExiting:n,UNSTABLE_portalContainer:r,clearContexts:s,...o}){let u=(0,c.useRef)(null),d=(0,c.useRef)(null),h=(0,c.useContext)(O),f=h&&"SubmenuTrigger"===o.trigger,{popoverProps:g,underlayProps:y,arrowProps:m,placement:v,triggerAnchorPoint:b}=(0,l.usePopover)({...o,offset:o.offset??8,arrowRef:u,groupRef:f?h:d},e),S=o.popoverRef,C=(0,R.useEnterAnimation)(S,!!v)||o.isEntering||!1,E=(0,t.useRenderProps)({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:v,isEntering:C,isExiting:n}}),P=!o.isNonModal||"SubmenuTrigger"===o.trigger,[x,I]=(0,c.useState)(!1);(0,K.useLayoutEffect)(()=>{S.current&&I(P&&!S.current.querySelector("[role=dialog]"))},[S,P]),(0,c.useEffect)(()=>{x&&("SubmenuTrigger"!==o.trigger||"pointer"!==(0,D.getInteractionModality)())&&S.current&&!(0,T.isFocusWithin)(S.current)&&(0,M.focusSafely)(S.current)},[x,S,o.trigger]);let F=(0,c.useMemo)(()=>{let e=E.children;if(s)for(let t of s)e=c.default.createElement(t.Provider,{value:null},e);return e},[E.children,s]),L={...g.style,"--trigger-anchor-point":b?`${b.x}px ${b.y}px`:void 0,...E.style},N=c.default.createElement(t.dom.div,{...(0,a.mergeProps)((0,k.filterDOMProps)(o,{global:!0}),g),...E,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],ref:S,slot:o.slot||void 0,style:L,dir:o.dir,"data-trigger":o.trigger,"data-placement":v,"data-entering":C||void 0,"data-exiting":n||void 0},!o.isNonModal&&c.default.createElement(p,{onDismiss:e.close}),c.default.createElement(i.OverlayArrowContext.Provider,{value:{...m,placement:v,ref:u}},F),c.default.createElement(p,{onDismiss:e.close}));return f?c.default.createElement(w,{...o,shouldContainFocus:x,isExiting:n,portalContainer:r??h?.current??void 0},N):c.default.createElement(w,{...o,shouldContainFocus:x,isExiting:n,portalContainer:r},!o.isNonModal&&e.isOpen&&c.default.createElement("div",{"data-testid":"underlay",...y,style:{position:"fixed",inset:0}}),c.default.createElement("div",{ref:d,style:{display:"contents"}},c.default.createElement(O.Provider,{value:d},N)))}},809202,522551,e=>{"use strict";var t=e.i(592467),i=e.i(38496),n=e.i(267369);let l=(0,n.createContext)({isSelected:!1}),r=(0,n.forwardRef)(function(e,r){[e,r]=(0,t.useContextProps)(e,r,l);let{isSelected:s,...o}=e;return n.default.createElement(i.SharedElement,{...o,ref:r,className:e.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:s})});e.s(["SelectionIndicator",0,r,"SelectionIndicatorContext",0,l],809202);var s=e.i(832358),o=e.i(639219),a=e.i(481317),u=e.i(811561);let c=(0,n.createContext)({});class d extends o.CollectionNode{static{this.type="separator"}filter(e,t){let i=t.getItem(this.prevKey);if(i&&"separator"!==i.type){let i=this.clone();return t.addDescendants(i,e),i}return null}}let h=(0,a.createLeafComponent)(d,function(e,i){var l;let r,o;[e,i]=(0,t.useContextProps)(e,i,c);let{elementType:a,orientation:d,style:h,className:f,slot:p,...g}=e,y=a||"hr";"hr"===y&&"vertical"===d&&(y="div");let m=t.dom[y],{separatorProps:v}=(l={...g,elementType:a,orientation:d},o=(0,s.filterDOMProps)(l,{labelable:!0}),("vertical"===l.orientation&&(r="vertical"),"hr"!==l.elementType)?{separatorProps:{...o,role:"separator","aria-orientation":r}}:{separatorProps:o}),b=(0,s.filterDOMProps)(e,{global:!0});return n.default.createElement(m,{render:e.render,...(0,u.mergeProps)(b,v),style:h,className:f??"react-aria-Separator",ref:i,slot:p||void 0})});e.s(["Separator",0,h,"SeparatorContext",0,c],522551)},495760,e=>{"use strict";var t=e.i(592467),i=e.i(267369);let n=(0,i.createContext)({}),l=(0,i.forwardRef)(function(e,l){[e,l]=(0,t.useContextProps)(e,l,n);let{elementType:r="span",...s}=e,o=t.dom[r];return i.default.createElement(o,{className:"react-aria-Text",...s,ref:l})});e.s(["Text",0,l,"TextContext",0,n])},308270,e=>{"use strict";e.i(220537);var t=e.i(832358),i=e.i(260663),n=e.i(349271),l=e.i(237917),r=e.i(879669),s=e.i(267369);e.s(["useDialog",0,function(e,o){let{role:a="dialog"}=e,u=(0,r.useSlotId)();u=e["aria-label"]?void 0:u;let c=(0,s.useRef)(!1);return(0,s.useEffect)(()=>
1{if(o.current&&!(0,n.isFocusWithin)(o.current)){(0,i.focusSafely)(o.current);let e=setTimeout(()=>{((0,n.getActiveElement)()===o.current||(0,n.getActiveElement)()===document.body)&&(c.current=!0,o.current&&(o.current.blur(),(0,i.focusSafely)(o.current)),c.current=!1)},500);return()=>{clearTimeout(e)}}},[o]),(0,l.useOverlayFocusContain)(),(0,s.useRef)(!1),(0,s.useEffect)(()=>{}),{dialogProps:{...(0,t.filterDOMProps)(e,{labelable:!0}),role:a,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||u,onBlur:e=>{c.current&&e.stopPropagation()}},titleProps:{id:u}}}])},409900,226768,343963,e=>{"use strict";let t;var i=e.i(881601);let n=Symbol.for("react-aria.i18n.locale"),l=Symbol.for("react-aria.i18n.strings");class r{constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let i=this.getStringsForLocale(t)[e];if(!i)throw Error(`Could not find intl message ${e} in ${t} locale`);return i}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,i="en-US"){var n;if(t[e])return t[e];let l=(n=e,Intl.Locale?new Intl.Locale(n).language:n.split("-")[0]);if(t[l])return t[l];for(let e in t)if(e.startsWith(l+"-"))return t[e];return t[i]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("u"<typeof window)return null;let i=window[n];if(void 0===t){let e=window[l];if(!e)return null;for(let n in t={},e)t[n]=new r({[i]:e[n]},i)}let s=t?.[e];if(!s)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return s}}e.s(["LocalizedStringDictionary",0,r],226768);let s=new Map,o=new Map;class a{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let i=this.strings.getStringForLocale(e,this.locale);return"function"==typeof i?i(t,this):i}plural(e,t,i="cardinal"){let n=t["="+e];if(n)return"function"==typeof n?n():n;let l=this.locale+":"+i,r=s.get(l);return r||(r=new Intl.PluralRules(this.locale,{type:i}),s.set(l,r)),"function"==typeof(n=t[r.select(e)]||t.other)?n():n}number(e){let t=o.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),o.set(this.locale,t)),t.format(e)}select(e,t){let i=e[t]||e.other;return"function"==typeof i?i():i}}e.s(["LocalizedStringFormatter",0,a],343963);var u=e.i(267369);let c=new WeakMap;function d(e,t){let i;return t&&r.getGlobalDictionaryForPackage(t)||((i=c.get(e))||(i=new r(e),c.set(e,i)),i)}e.s(["useLocalizedStringDictionary",0,d,"useLocalizedStringFormatter",0,function(e,t){let{locale:n}=(0,i.useLocale)(),l=d(e,t);return(0,u.useMemo)(()=>new a(n,l),[n,l])}],409900)},260729,94666,e=>{"use strict";var t=e.i(134532),i=e.i(776993),n=e.i(811561),l=e.i(818013),r=e.i(267369);let s=0,o=new Map;function a(e){let[t,i]=(0,r.useState)();return(0,l.useLayoutEffect)(()=>{if(!e)return;let t=o.get(e);if(t)i(t.element.id);else{let n=`react-aria-description-${s++}`;i(n);let l=document.createElement("div");l.id=n,l.style.display="none",l.textContent=e,document.body.appendChild(l),t={refCount:0,element:l},o.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),o.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}e.s(["useDescription",0,a],94666);var u=e.i(930399),c=e.i(165483);e.s(["useLongPress",0,function(e){let{isDisabled:l,onLongPressStart:s,onLongPressEnd:o,onLongPress:d,threshold:h=500,accessibilityDescription:f}=e,p=(0,r.useRef)(void 0),{addGlobalListener:g,removeGlobalListener:y}=(0,u.useGlobalListeners)(),{pressProps:m}=(0,c.usePress)({isDisabled:l,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(s&&s({...e,type:"longpressstart"}),p.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,i.getOwnerDocument)(e.target).activeElement!==e.target&&(0,t.focusWithoutScrolling)(e.target),d&&d({...e,type:"longpress"}),p.current=void 0},h),"touch"===e.pointerType)){let t=e=>{e.preventDefault()},n=(0,i.getOwnerWindow)(e.target);g(e.target,"contextmenu",t,{once:!0}),g(n,"pointerup",()=>{setTimeout(()=>{y(e.target,"contextmenu",t)}
1,30)},{once:!0})}},onPressEnd(e){p.current&&clearTimeout(p.current),o&&("mouse"===e.pointerType||"touch"===e.pointerType)&&o({...e,type:"longpressend"})}}),v=a(d&&!l?f:void 0);return{longPressProps:(0,n.mergeProps)(m,v)}}],260729)},752913,e=>{"use strict";var t={};t={"ar-AE":{longPressMessage:"اضغط Ù
Ø·ÙÙØ§Ù أ٠اضغط عÙÙ Alt + Ø§ÙØ³ÙÙ
ÙØ£Ø³ÙÙ ÙÙØªØ اÙÙØ§Ø¦Ù
Ø©"},"bg-BG":{longPressMessage:"ÐаÑиÑнеÑе пÑодÑлжиÑелно или наÑиÑнеÑе Alt+ ÑÑÑелка надолÑ, за да оÑвоÑиÑе менÑÑо"},"cs-CZ":{longPressMessage:"Dlouhým stiskem nebo stisknutÃm kláves Alt + Å¡ipka dolů otevÅete nabÃdku"},"da-DK":{longPressMessage:"Langt tryk eller tryk pÃ¥ Alt + pil ned for at Ã¥bne menuen"},"de-DE":{longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"},"el-GR":{longPressMessage:"ΠιÎÏÏε ÏαÏαÏεÏαμÎνα ή ÏαÏήÏÏε Alt + κάÏÏ Î²ÎÎ»Î¿Ï Î³Î¹Î± να ανοίξεÏε Ïο μενοÏ"},"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ú"},"et-EE":{longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"},"fi-FI":{longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"},"fr-FR":{longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."},"he-IL":{longPressMessage:"×××¥ ××××¦× ×ר××× ×× ×קש Alt + ArrowDown ××× ×פת×× ×ת ×תפר××"},"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Ãl gombot a menü megnyitásához"},"it-IT":{longPressMessage:"Premi a lungo o premi Alt + Freccia giù per aprire il menu"},"ja-JP":{longPressMessage:"é·æ¼ãã¾ã㯠Alt+ä¸ç¢å°ãã¼ã§ã¡ãã¥ã¼ãéã"},"ko-KR":{longPressMessage:"ê¸¸ê² ë르거ë Alt + ìë쪽 íì´í를 ëë¬ ë©ë´ ì´ê¸°"},"lt-LT":{longPressMessage:"NorÄdami atidaryti meniu, nuspaudÄ palaikykite arba paspauskite âAlt + ArrowDownâ."},"lv-LV":{longPressMessage:"Lai atvÄrtu izvÄlni, turiet nospiestu vai nospiediet taustiÅu kombinÄciju Alt + lejupvÄrstÄ bultiÅa"},"nb-NO":{longPressMessage:"Langt trykk eller trykk Alt + PilNed for Ã¥ Ã¥pne menyen"},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:"NaciÅnij i przytrzymaj lub naciÅnij klawisze Alt + StrzaÅka w dóÅ, aby otworzyÄ 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ÄsaÈi lung sau apÄsaÈi pe Alt + sÄgeatÄ Ã®n jos pentru a deschide meniul"},"ru-RU":{longPressMessage:"ÐажмиÑе и ÑдеÑживайÑе или нажмиÑе Alt + СÑÑелка вниз, ÑÑÐ¾Ð±Ñ Ð¾ÑкÑÑÑÑ Ð¼ÐµÐ½Ñ"},"sk-SK":{longPressMessage:"Ponuku otvorÃte dlhým stlaÄenÃm alebo stlaÄenÃm klávesu Alt + klávesu so Å¡Ãpkou nadol"},"sl-SI":{longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puÅ¡Äica navzdol"},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:"HÃ¥ll nedtryckt eller tryck pÃ¥ Alt + pil nedÃ¥t för att öppna menyn"},"tr-TR":{longPressMessage:"Menüyü açmak için uzun basın veya Alt + AÅaÄı Ok tuÅuna basın"},"uk-UA":{longPressMessage:"Ðовго або звиÑайно наÑиÑнÑÑÑ ÐºÐ¾Ð¼Ð±ÑнаÑÑÑ ÐºÐ»Ð°Ð²ÑÑ Alt Ñ ÑÑÑÑлка вниз, Ñоб вÑдкÑиÑи менÑ"},"zh-CN":{longPressMessage:"é¿æææ Alt + å䏿¹åé®ä»¥æå¼èå"},"zh-TW":{longPressMessage:"é·æææ Alt+åä¸éµä»¥éååè½è¡¨"}},e.s(["default",0,t],752913)},826579,81687,e=>{"use strict";var t=e.i(832358),i=e.i(189615),n=e.i(811561),l=e.i(824738);e.s(["useMenu",0,function(e,r,s){let{shouldFocusWrap:o=!0,onKeyDown:a,onKeyUp:u,...c}=e,d=(0,t.filterDOMProps)(e,{labelable:!0}),{listProps:h}=(0,l.useSelectableList)({...c,ref:s,selectionManager:r.selectionManager,collection:r.collection,disabledKeys:r.disabledKeys,shouldFocusWrap:o,linkBehavior:"override"});return i.menuData.set(r,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:(0,n.mergeProps)(d,{onKeyDown:a,onKeyUp:u},{role:"menu",...h,onKeyDown:t=>{("Escape"!==t.key||e.shouldUseVirtualFocus)&&h.onKeyDown?.(t)}})}}],826579);var r=e.i(879669);e.s(["useMenuSection",0,function(e){let{heading:t,"aria-label":i}=e,n=(0,r.useId)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":i,"aria-labelledby":t?n:void 0}}}],81687)},868887,e=>{"use strict";var t=e.i(832358),i=e.i(349271),n=e.i(375422),l=e.i(997557),r=e.i(189615),s=e.i(811561),o=e.i(971160),a=e.i(950517),u=e.i(317196),c=e.i(165483),d=e.i(155673),h=e.i(879669),f=e.i(250778),p=e.i(267369);e.s(["useMenuItem",0,function(e,g,y){let{id:m,key:v,closeOnSelect:b,shouldCloseOnSelect:S,isVirtualized:C,"aria-haspopup":K,onPressStart:E,onPressUp:P,onPress:x,onPressChange:w,onPressEnd:k,onClick:M,onHoverStart:D,onHoverChange:T,onHoverEnd:I,onKeyDown:R,onKeyUp:F,onFocus:L,onFocusChange:N,onBlur:O,selectionManager:A=g.selectionManager}=e,B=!!K,V=B&&"true"===e["aria-expanded"],z=e.isDisabled??A.isDisabled(v),H=e.isSelected??A.
1isSelected(v),U=r.menuData.get(g),W=g.collection.getItem(v),_=e.onClose||U.onClose,j=(0,n.useRouter)(),$="menuitem";B||("single"===A.selectionMode?$="menuitemradio":"multiple"===A.selectionMode&&($="menuitemcheckbox"));let G=(0,h.useSlotId)(),q=(0,h.useSlotId)(),Z=(0,h.useSlotId)(),J={id:m,"aria-disabled":z||void 0,role:$,"aria-label":e["aria-label"],"aria-labelledby":G,"aria-describedby":[e["aria-describedby"],q,Z].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":K,"aria-expanded":e["aria-expanded"]};if("none"===A.selectionMode||B||(J["aria-checked"]=H),C){let e=Number(W?.index);J["aria-posinset"]=Number.isNaN(e)?void 0:e+1,J["aria-setsize"]=(0,f.getItemCount)(g.collection)}let X=(0,p.useRef)(!1),Y=(0,p.useRef)(null),{itemProps:Q,isFocused:ee}=(0,d.useSelectableItem)({id:m,selectionManager:A,key:v,ref:y,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:U.shouldUseVirtualFocus}),{pressProps:et,isPressed:ei}=(0,c.usePress)({onPressStart:E,onPress:x,onPressUp:e=>{"keyboard"!==e.pointerType&&(Y.current={pointerType:e.pointerType}),"mouse"!==e.pointerType||X.current||e.target.click(),P?.(e)},onPressChange:e=>{w?.(e),X.current=e},onPressEnd:k,isDisabled:z}),{hoverProps:en}=(0,a.useHover)({isDisabled:z,onHoverStart(e){(0,l.isFocusVisible)()||V&&K||(A.setFocused(!0),A.setFocusedKey(v)),D?.(e)},onHoverChange:T,onHoverEnd:I}),{keyboardProps:el}=(0,u.useKeyboard)({onKeyDown:e=>{if(e.repeat)return void e.continuePropagation();switch(e.key){case" ":Y.current={pointerType:"keyboard",key:" "},(0,i.getEventTarget)(e).click(),(0,l.setInteractionModality)("keyboard");break;case"Enter":Y.current={pointerType:"keyboard",key:"Enter"},"A"!==(0,i.getEventTarget)(e).tagName&&(0,i.getEventTarget)(e).click(),(0,l.setInteractionModality)("keyboard");break;default:B||e.continuePropagation(),R?.(e)}},onKeyUp:F}),{focusableProps:er}=(0,o.useFocusable)({onBlur:O,onFocus:L,onFocusChange:N},y),es=(0,t.filterDOMProps)(W?.props);delete es.id;let eo=(0,n.useLinkProps)(W?.props);return{menuItemProps:{...J,...(0,s.mergeProps)(es,eo,B?{onFocus:Q.onFocus,"data-collection":Q["data-collection"],"data-key":Q["data-key"]}:Q,et,en,el,er,U.shouldUseVirtualFocus||B?{onMouseDown:e=>e.preventDefault()}:void 0,z?void 0:{onClick:t=>{M?.(t),!B&&(W?.props?.onAction?W.props.onAction():e.onAction&&e.onAction(v),U.onAction&&(0,U.onAction)(v)),(0,n.handleLinkClick)(t,j,W.props.href,W?.props.routerOptions);let i=Y.current?.pointerType==="keyboard"?Y.current?.key==="Enter"||"none"===A.selectionMode||A.isLink(v):"multiple"!==A.selectionMode||A.isLink(v);i=S??b??i,_&&!B&&i&&_(),Y.current=null}}),tabIndex:null!=Q.tabIndex&&V&&!U.shouldUseVirtualFocus?-1:Q.tabIndex},labelProps:{id:G},descriptionProps:{id:q},keyboardShortcutProps:{id:Z},isFocused:ee,isFocusVisible:ee&&A.isFocused&&(0,l.isFocusVisible)()&&!V,isSelected:H,isPressed:ei,isDisabled:z}}])},820917,788477,189615,e=>{"use strict";var t=e.i(134532),i=e.i(752913),n=e.i(879669),l=e.i(409900),r=e.i(260729),s=e.i(765515);e.s(["useMenuTrigger",0,function(e,o,a){var u;let{type:c="menu",isDisabled:d,trigger:h="press"}=e,f=(0,n.useId)(),{triggerProps:p,overlayProps:g}=(0,s.useOverlayTrigger)({type:c},o,a),y=(0,l.useLocalizedStringFormatter)((u=i.default)&&u.__esModule?u.default:u,"@react-aria/menu"),{longPressProps:m}=(0,r.useLongPress)({isDisabled:d||"longPress"!==h,accessibilityDescription:y.format("longPressMessage"),onLongPressStart(){o.close()},onLongPress(){o.open("first")}});return delete p.onPress,{menuTriggerProps:{...p,..."press"===h?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||d||((0,t.focusWithoutScrolling)(e.target),o.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||d||((0,t.focusWithoutScrolling)(e.target),o.toggle())}}:m,id:f,onKeyDown:e=>{if(!d&&("longPress"!==h||e.altKey)&&a&&a.current)switch(e.key){case"Enter":case" ":if("longPress"===h||e.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),o.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),o.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}}
1,menuProps:{...g,"aria-labelledby":f,autoFocus:o.focusStrategy||!0,onClose:o.close}}}],820917);var o=e.i(349271),a=e.i(637784),u=e.i(818013),c=e.i(881601),d=e.i(254048),h=e.i(997557),f=e.i(625623),p=e.i(267369);let g=Math.PI/12;e.s(["useSubmenuTrigger",0,function(e,i,l){let{parentMenuRef:r,submenuRef:s,type:y="menu",isDisabled:m,delay:v=200,shouldUseVirtualFocus:b}=e,S=(0,n.useId)(),C=(0,n.useId)(),{direction:K}=(0,c.useLocale)(),E=(0,p.useRef)(void 0),P=(0,p.useCallback)(()=>{E.current&&(clearTimeout(E.current),E.current=void 0)},[E]),x=(0,p.useCallback)(e=>{P(),i.open(e)},[i,P]),w=(0,p.useCallback)(()=>{P(),i.close()},[i,P]);(0,u.useLayoutEffect)(()=>()=>{P()},[P]);let k={id:C,"aria-labelledby":S,submenuLevel:i.submenuLevel,..."menu"===y&&{onClose:i.closeAll,autoFocus:i.focusStrategy??void 0,onKeyDown:e=>{if((0,o.isFocusWithin)(e.currentTarget))switch(e.key){case"ArrowLeft":"ltr"===K&&(0,o.nodeContains)(e.currentTarget,(0,o.getEventTarget)(e))&&(e.preventDefault(),e.stopPropagation(),w(),!b&&l.current&&(0,t.focusWithoutScrolling)(l.current));break;case"ArrowRight":"rtl"===K&&(0,o.nodeContains)(e.currentTarget,(0,o.getEventTarget)(e))&&(e.preventDefault(),e.stopPropagation(),w(),!b&&l.current&&(0,t.focusWithoutScrolling)(l.current));break;case"Escape":(0,o.nodeContains)(s.current,(0,o.getEventTarget)(e))&&(e.stopPropagation(),w(),!b&&l.current&&(0,t.focusWithoutScrolling)(l.current))}}}};return(0,a.useEvent)(r,"focusin",e=>{i.isOpen&&(0,o.nodeContains)(r.current,(0,o.getEventTarget)(e))&&(0,o.getEventTarget)(e)!==l.current&&w()}),!function(e){let{menuRef:t,submenuRef:i,isOpen:n,isDisabled:l}=e,r=(0,p.useRef)(void 0),s=(0,p.useRef)(void 0),a=(0,p.useRef)(0),c=(0,p.useRef)(void 0),y=(0,p.useRef)(void 0),m=(0,p.useRef)(void 0),v=(0,p.useRef)(2),[b,S]=(0,p.useState)(!1);(0,f.useResizeObserver)({ref:n?i:void 0,onResize:()=>{i.current&&(s.current=i.current.getBoundingClientRect(),m.current=void 0)}});let C=()=>{S(!1),v.current=2,r.current=void 0},K=(0,h.useInteractionModality)(),E=(0,d.useEffectEvent)(e=>{b&&e.preventDefault()});(0,p.useEffect)(()=>{b&&t.current?t.current.style.pointerEvents="none":t.current.style.pointerEvents=""},[t,b]),(0,u.useLayoutEffect)(()=>{let e=i.current,u=t.current;if(l||!e||!n||"pointer"!==K||!u)return void C();s.current=e.getBoundingClientRect();let d=e=>{if("touch"===e.pointerType||"pen"===e.pointerType)return;let t=Date.now();if(t-a.current<50)return;clearTimeout(c.current),clearTimeout(y.current);let{clientX:i,clientY:n}=e;if(!r.current){r.current={x:i,y:n};return}if(!s.current)return;if(m.current||(m.current=i>s.current.right?"left":"right"),i<u.getBoundingClientRect().left||i>u.getBoundingClientRect().right||n<u.getBoundingClientRect().top||n>u.getBoundingClientRect().bottom)return void C();let l=r.current.x,d=r.current.y,h="right"===m.current?s.current.left-l:l-s.current.right,f=Math.atan2(d-s.current.top,h)+g,p=Math.atan2(d-s.current.bottom,h)-g,b=Math.atan2(d-n,"left"===m.current?-(i-l):i-l),K=b<f&&b>p;v.current=K?Math.min(v.current+1,2):Math.max(v.current-1,0),v.current>=2?S(!0):S(!1),a.current=t,r.current={x:i,y:n},K&&(c.current=setTimeout(()=>{C(),y.current=setTimeout(()=>{let e=document.elementFromPoint(i,n);e&&(0,o.nodeContains)(u,e)&&e.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},1e3))};return window.addEventListener("pointermove",d),window.addEventListener("pointerdown",E,!0),()=>{window.removeEventListener("pointermove",d),window.removeEventListener("pointerdown",E,!0),clearTimeout(c.current),clearTimeout(y.current),v.current=2}},[l,n,t,K,S,i])}({menuRef:r,submenuRef:s,isOpen:i.isOpen,isDisabled:m}),{submenuTriggerProps:{id:S,"aria-controls":i.isOpen?C:void 0,"aria-haspopup":m?void 0:y,"aria-expanded":i.isOpen?"true":"false",onPressStart:e=>{m||"virtual"!==e.pointerType&&"keyboard"!==e.pointerType||x("first")},onPress:e=>{m||"touch"!==e.pointerType&&"mouse"!==e.pointerType||x()},onHoverChange:e=>{!m&&(e&&!i.isOpen?E.current||(E.current=setTimeout(()=>{x()},v)):e||P())},onKeyDown:e=>{switch(e.key){case"ArrowRight":!m&&("ltr"===K?(e.preventDefault(),i.isOpen||x("first"),"menu"===y&&s?.current&&(0,o.getActiveElement)()===l?.current&&(0,t.focu
1sWithoutScrolling)(s.current)):i.isOpen?w():e.continuePropagation());break;case"ArrowLeft":!m&&("rtl"===K?(e.preventDefault(),i.isOpen||x("first"),"menu"===y&&s?.current&&(0,o.getActiveElement)()===l?.current&&(0,t.focusWithoutScrolling)(s.current)):i.isOpen?w():e.continuePropagation());break;default:e.continuePropagation()}},isOpen:i.isOpen},submenuProps:k,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==l.current}}}],788477);let y=new WeakMap;e.s(["menuData",0,y],189615)},765515,e=>{"use strict";var t=e.i(493413),i=e.i(879669),n=e.i(267369);e.s(["useOverlayTrigger",0,function(e,l,r){let s,{type:o}=e,{isOpen:a}=l;(0,n.useEffect)(()=>{r&&r.current&&t.onCloseMap.set(r.current,l.close)}),"menu"===o?s=!0:"listbox"===o&&(s="listbox");let u=(0,i.useId)();return{triggerProps:{"aria-haspopup":s,"aria-expanded":a,"aria-controls":a?u:void 0,onPress:l.toggle},overlayProps:{id:u}}}])},605845,471354,163409,e=>{"use strict";let t;var i=e.i(465013),n=e.i(45848),l=e.i(811561),r=e.i(377137),s=e.i(671443),o=e.i(349271),a=e.i(249796),u=e.i(531939),c=e.i(291744),d=e.i(709478),h=e.i(818013),f=e.i(425318);let p="u">typeof document&&window.visualViewport,g=0;function y(e={}){let{isDisabled:i}=e;(0,h.useLayoutEffect)(()=>{if(!i){let e,i,n,l,r,h,p,y;return 1==++g&&(t=(0,c.isIOS)()?(i=m(document.documentElement,"overflow","hidden"),n=!1,l=document.createElement("style"),(r=(0,a.getNonce)())&&(l.nonce=r),l.textContent=` 2@layer { 3 * { 4 overscroll-behavior: contain; 5 } 6}`.trim(),document.head.prepend(l),h=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=(0,o.getActiveElement)(),i=null!=t&&(0,f.willOpenKeyboard)(t);h.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||b(this,i)},p=(0,s.chain)(v(document,"touchstart",t=>{let i=(0,o.getEventTarget)(t);e=(0,d.isScrollable)(i)?i:(0,u.getScrollParent)(i,!0),n=!1;let l=i.ownerDocument.defaultView.getSelection();l&&!l.isCollapsed&&l.containsNode(i,!0)&&(n=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(n=!0),"selectionStart"in i&&"selectionEnd"in i&&i.selectionStart<i.selectionEnd&&i.ownerDocument.activeElement===i&&(n=!0)},{passive:!1,capture:!0}),v(document,"touchmove",t=>{if(2!==t.touches.length&&!n){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}),v(document,"blur",e=>{let t=(0,o.getEventTarget)(e),i=e.relatedTarget;if(i&&(0,f.willOpenKeyboard)(i))i.focus({preventScroll:!0}),b(i,(0,f.willOpenKeyboard)(t));else if(!i){let e=t.parentElement?.closest("[tabindex]");e?.focus({preventScroll:!0})}},!0)),()=>{i(),p(),l.remove(),HTMLElement.prototype.focus=h}):(y=window.innerWidth-document.documentElement.clientWidth,(0,s.chain)(y>0&&("scrollbarGutter"in document.documentElement.style?m(document.documentElement,"scrollbarGutter","stable"):m(document.documentElement,"paddingRight",`${y}px`)),m(document.documentElement,"overflow","hidden")))),()=>{0==--g&&t()}}},[i])}function m(e,t,i){let n=e.style[t];return e.style[t]=i,()=>{e.style[t]=n}}function v(e,t,i,n){return e.addEventListener(t,i,n),()=>{e.removeEventListener(t,i,n)}}function b(e,t){t||!p?S(e):p.addEventListener("resize",()=>S(e),{once:!0})}function S(e){let t=document.scrollingElement||document.documentElement,i=e;for(;i&&i!==t;){let e=(0,u.getScrollParent)(i);if(e!==document.documentElement&&e!==document.body&&e!==i){let t=e.getBoundingClientRect(),n=i.getBoundingClientRect();if(n.top<t.top||n.bottom>t.top+i.clientHeight){let i=t.bottom;p&&(i=Math.min(i,p.offsetTop+p.height));let l=n.top-t.top-((i-t.top)/2-n.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+l)),behavior:"smooth"})}}i=e.parentElement}}e.s(["usePreventScroll",0,y],471354);var C=e.i(267369);e.s(["usePopover",0,function(e,t){let{triggerRef:s,popoverRef:o,groupRef:a,isNonModal:u,isKeyboardDismissDisabled:c,shouldCloseOnInteractOutside:d,...h}=e,f="SubmenuTrigger"===h.trigger,{overlayProps:p,underlayProps:g}
6=(0,r.useOverlay)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!u||f,isKeyboardDismissDisabled:c,shouldCloseOnInteractOutside:d},a??o),{overlayProps:m,arrowProps:v,placement:b,triggerAnchorPoint:S}=(0,n.useOverlayPosition)({...h,targetRef:s,overlayRef:o,isOpen:t.isOpen,onClose:u&&!f?t.close:null});return y({isDisabled:u||!t.isOpen}),(0,C.useEffect)(()=>{if(t.isOpen&&o.current)if(u)return(0,i.keepVisible)(a?.current??o.current);else return(0,i.ariaHideOutside)([a?.current??o.current],{shouldUseInert:!0})},[u,t.isOpen,o,a]),{popoverProps:(0,l.mergeProps)(p,m),arrowProps:v,underlayProps:g,placement:b,triggerAnchorPoint:S}}],605845);var K={};K={"ar-AE":{dismiss:"تجاÙÙ"},"bg-BG":{dismiss:"ÐÑÑ
вÑÑлÑне"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"SchlieÃen"},"el-GR":{dismiss:"ÎÏÏÏÏιÏη"},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:"Lõpeta"},"fi-FI":{dismiss:"Hylkää"},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:"×תע××"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"ElutasÃtás"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"éãã"},"ko-KR":{dismiss:"무ì"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"NerÄdÄ«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:"ÐÑопÑÑÑиÑÑ"},"sk-SK":{dismiss:"ZruÅ¡iÅ¥"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"СкаÑÑваÑи"},"zh-CN":{dismiss:"åæ¶"},"zh-TW":{dismiss:"éé"}},e.s(["default",0,K],163409)},155673,68124,250778,e=>{"use strict";var t=e.i(671443),i=e.i(260663),n=e.i(349271),l=e.i(291364),r=e.i(425318),s=e.i(811561),o=e.i(597360),a=e.i(375422),u=e.i(165483),c=e.i(879669),d=e.i(260729),h=e.i(267369);function f(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function p(e,t){let i=[],n=t;for(;n?.parentKey!=null;)(n=e.getItem(n.parentKey))&&i.unshift(n);return i}e.s(["useSelectableItem",0,function(e){let{id:f,selectionManager:p,key:g,ref:y,shouldSelectOnPressUp:m,shouldUseVirtualFocus:v,focus:b,isDisabled:S,onAction:C,allowsDifferentPressOrigin:K,linkBehavior:E="action"}=e,P=(0,a.useRouter)();f=(0,c.useId)(f);let x=e=>{if("keyboard"===e.pointerType&&(0,l.isNonContiguousSelectionModifier)(e))p.toggleSelection(g);else{if("none"===p.selectionMode)return;if(p.isLink(g)){if("selection"===E&&y.current){let t=p.getItemProps(g);P.open(y.current,e,t.href,t.routerOptions),p.setSelectedKeys(p.selectedKeys);return}else if("override"===E||"none"===E)return}"single"===p.selectionMode?p.isSelected(g)&&!p.disallowEmptySelection?p.toggleSelection(g):p.replaceSelection(g):e&&e.shiftKey?p.extendSelection(g):"toggle"===p.selectionBehavior||e&&((0,r.isCtrlKeyPressed)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?p.toggleSelection(g):p.replaceSelection(g)}};(0,h.useEffect)(()=>{g===p.focusedKey&&p.isFocused&&(v?(0,o.moveVirtualFocus)(y.current):b?b():(0,n.getActiveElement)()!==y.current&&y.current&&(0,i.focusSafely)(y.current))},[y,g,p.focusedKey,p.childFocusStrategy,p.isFocused,v]),S=S||p.isDisabled(g);let w={};v||S?S&&(w.onMouseDown=e=>{e.preventDefault()}):w={tabIndex:g===p.focusedKey?0:-1,onFocus(e){(0,n.getEventTarget)(e)===y.current&&p.setFocusedKey(g)}},(0,h.useEffect)(()=>{S&&p.focusedKey===g&&p.setFocusedKey(null)},[p,S,g]);let k=p.isLink(g)&&"override"===E,M=C&&"action"===e.UNSTABLE_itemBehavior,D=p.isLink(g)&&"selection"!==E&&"none"!==E,T=!S&&p.canSelectItem(g)&&!k&&!M,I=(C||D)&&!S,R=I&&("replace"===p.selectionBehavior?!T:!T||p.isEmpty),F=I&&T&&"replace"===p.selectionBehavior,L=R||F,N=(0,h.useRef)(null),O=L&&T,A=(0,h.useRef)(!1),B=(0,h.useRef)(!1),V=p.getItemProps(g),z=e=>{C&&(C(),y.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),D&&y.current&&P.open(y.current,e,V.href,V.routerOptions)},H={ref:y};if(m?(H.onPressStart=e=>{N.current=e.pointerType,A.current=O,"keyboard"!==e.pointerType||L&&" "!==e.key||x(e)},K?(H.onPressUp=R?void 0:e=>{"mouse"===e.pointerType&&T&&x(e)},H.onPress=R?z:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&T&&x(e)}):H.onPress=e=>{R||F&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&z(e):"keyboard"!==e.pointerType&&T&&x(e)}):(H.onPressStart=e=>{N.current=e.pointerType,A.current=O,B.current=R,!T||("mouse"!==e.pointerType||R)&&("keyboard"!==e.pointerType||I&&" "!==e.key)||x(e)},H.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"ke
6yboard"===e.pointerType&&L&&"Enter"===e.key||"mouse"===e.pointerType&&B.current)&&(L?z(e):T&&x(e))}),w["data-collection"]=(0,l.getCollectionId)(p.collection),w["data-key"]=g,H.preventFocusOnPress=v,v&&(H=(0,s.mergeProps)(H,{onPressStart(e){"touch"!==e.pointerType&&(p.setFocused(!0),p.setFocusedKey(g))},onPress(e){"touch"===e.pointerType&&(p.setFocused(!0),p.setFocusedKey(g))}})),V)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])V[e]&&(H[e]=(0,t.chain)(H[e],V[e]));let{pressProps:U,isPressed:W}=(0,u.usePress)(H),_=F?e=>{"mouse"===N.current&&(e.stopPropagation(),e.preventDefault(),z(e))}:void 0,{longPressProps:j}=(0,d.useLongPress)({isDisabled:!O,onLongPress(e){"touch"===e.pointerType&&(x(e),p.setSelectionBehavior("toggle"))}}),$="none"!==E&&p.isLink(g)?e=>{a.openLink.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,s.mergeProps)(w,T||R||v&&!S?U:{},O?j:{},{onDoubleClick:_,onDragStartCapture:e=>{"touch"===N.current&&A.current&&e.preventDefault()},onClick:$,id:f},v?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:W,isSelected:p.isSelected(g),isFocused:p.isFocused&&p.focusedKey===g,isDisabled:S,allowsSelection:T,hasAction:L}}],155673),e.s(["compareNodeOrder",0,function(e,t,i){if(t.parentKey===i.parentKey)return t.index-i.index;let n=[...p(e,t),t],l=[...p(e,i),i],r=n.slice(0,l.length).findIndex((e,t)=>e!==l[t]);return -1!==r?(t=n[r],i=l[r],t.index-i.index):n.findIndex(e=>e===i)>=0?1:(l.findIndex(e=>e===t),-1)},"getChildNodes",0,f,"getFirstItem",0,function(e){var t=e;!1;let i=0;for(let e of t){if(0===i)return e;i++}}],68124);let g=new WeakMap;e.s(["getItemCount",0,function(e){let t=g.get(e);if(null!=t)return t;let i=0,n=t=>{for(let l of t)"section"===l.type?n(f(l,e)):"item"===l.type&&i++};return n(e),g.set(e,i),i}],250778)},824738,626797,587477,728435,729529,353168,e=>{"use strict";var t=e.i(227443),i=e.i(597360),n=e.i(260663),l=e.i(134532),r=e.i(349271),s=e.i(664682),o=e.i(997557),a=e.i(291364),u=e.i(425318),c=e.i(270388),d=e.i(811561),h=e.i(709478);function f(e,t){let i=[],n=document.scrollingElement||document.documentElement;do(0,h.isScrollable)(e,t)&&i.push(e),e=e.parentElement;while(e&&e!==n)return i}var p=e.i(291744);function g(e,t,i={}){let{block:n="nearest",inline:l="nearest"}=i;if(e===t)return;let r=e.scrollTop,s=e.scrollLeft,o=t.getBoundingClientRect(),a=e.getBoundingClientRect(),u=window.getComputedStyle(t),c=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,h=e===d?0:a.top,f=e===d?e.clientHeight:a.bottom,y=e===d?0:a.left,m=e===d?e.clientWidth:a.right,v=parseInt(u.scrollMarginTop,10)||0,b=parseInt(u.scrollMarginBottom,10)||0,S=parseInt(u.scrollMarginLeft,10)||0,C=parseInt(u.scrollMarginRight,10)||0,K=parseInt(c.scrollPaddingTop,10)||0,E=parseInt(c.scrollPaddingBottom,10)||0,P=parseInt(c.scrollPaddingLeft,10)||0,x=parseInt(c.scrollPaddingRight,10)||0,w=parseInt(c.borderTopWidth,10)||0,k=parseInt(c.borderBottomWidth,10)||0,M=parseInt(c.borderLeftWidth,10)||0,D=parseInt(c.borderRightWidth,10)||0,T=o.top-v,I=o.bottom+b,R=o.left-S,F=o.right+C,L=e===d?0:M+D,N=e===d?0:w+k,O=e.offsetWidth-e.clientWidth-L,A=e.offsetHeight-e.clientHeight-N,B=h+w+K,V=f-k-E-A,z=y+M+P,H=m-D-x;"rtl"!==c.direction||(0,p.isIOS)()?H-=O:z+=O;let U=T<B||I>V,W=R<z||F>H;if(U&&"start"===n)r+=T-B;else if(U&&"center"===n)r+=(T+I)/2-(B+V)/2;else if(U&&"end"===n)r+=I-V;else if(U&&"nearest"===n){let e=T-B,t=I-V;r+=Math.abs(e)<=Math.abs(t)?e:t}if(W&&"start"===l)s+=R-z;else if(W&&"center"===l)s+=(R+F)/2-(z+H)/2;else if(W&&"end"===l)s+=F-H;else if(W&&"nearest"===l){let e=R-z,t=F-H;s+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:s,top:r})}function y(e,t={}){let{containingElement:i}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow){let{left:t,top:n}=e.getBoundingClientRect(),l=f(e,!0);for(let t of l)g(t,e);let{left:r,top:s}=e.getBoundingClientRect();if(Math.abs(t-r)>1||Math.abs(n-s)>1)for(let e of l=i?f(i,!0):[])g(e,i,{block:"center",inline:"center"})}else{let{left:t,top:n}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:l,top:r}=e.getBoundingClientRect();(Math.abs(t-l)>1||Math.abs(n-r)>1)&&(i?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}e.s(["scrollIntoView",0,g,"scrollIntoViewport",0,y],626797);var m=e.i(637784),v=e.i(881601),b=e.i(375422),S=e.i(267369);function C(e){let{keyboardDelegate:t,selectionManager:i,onTypeSelect:n}=e,l=(0,S.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var s;let o=1!==(s=e.key).length&&/^[A-Z]/i.test(s)?"":s;if(o&&!e.ctrlKey&&!e.metaKey&&(0,r.nodeContains)(e.currentTarget,(0,r.getEventTarget)(e))&&(0!==l.search.length||" "!==o)){if(" "===o&&l.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),l.search+=o,null!=t.getKeyForSearch){let e=t.getKeyForSearch(l.search,i.focusedKey);null==e&&(e=t.getKeyForSearch(l.search)),null!=e&&(i.setFocusedKey(e),n&&n(e))}clearTimeout(l.timeout),l.timeout=setTimeout(()=>{l.search=""},1e3)}}:void 0}}}e.s(["useTypeSelect",0,C],587477);var K=e.i(818013);function E(e,t){let i=(0,S.useRef)(!0),n=(0,S.useRef)(null);(0,K.useLayoutEffect)(()=>(i.current=!0,()=>{i.current=!1}),[]),(0,K.useLayoutEffect)(()=>{i.current?i.current=!1:(!n.current||t.some((e,t)=>!Object.is(e,n[t])))&&e(),n.current=t},t)}var P=e.i(171821);function x(e){let h,{selectionManager:f,keyboardDelegate:p,ref:K,autoFocus:x=!1,shouldFocusWrap:w=!1,disallowEmptySelection:k=!1,disallowSelectAll:M=!1,escapeKeyBehavior:D="clearSelection",selectOnFocus:T="replace"===f.selectionBehavior,disallowTypeAhead:I=!1,shouldUseVirtualFocus:R,allowsTabNavigation:F=!1,scrollRef:L=K,linkBehavior:N="action"}=e,{direction:O}=(0,v.useLocale)(),A=(0,b.useRouter)(),B=(0,S.useRef)({top:0,left:0});(0,m.useEvent)(L,"scroll",()=>
6{B.current={top:L.current?.scrollTop??0,left:L.current?.scrollLeft??0}});let V=(0,S.useRef)(!1);(0,m.useEvent)(K,t.FOCUS_EVENT,R?e=>{let{detail:t}=e;e.stopPropagation(),f.setFocused(!0),t?.focusStrategy==="first"&&(V.current=!0)}:void 0),E(()=>{if(V.current){let e=p.getFirstKey?.()??null;if(null==e){let e=(0,r.getActiveElement)();(0,i.moveVirtualFocus)(K.current),(0,i.dispatchVirtualFocus)(e,null),f.collection.size>0&&(V.current=!1)}else f.setFocusedKey(e),V.current=!1}},[f.collection]),E(()=>{f.collection.size>0&&(V.current=!1)},[f.focusedKey]),(0,m.useEvent)(K,t.CLEAR_FOCUS_EVENT,R?e=>{e.stopPropagation(),f.setFocused(!1),e.detail?.clearFocusKey&&f.setFocusedKey(null)}:void 0);let z=(0,S.useRef)(x),H=(0,S.useRef)(!1);(0,S.useEffect)(()=>{if(z.current){let e=null;"first"===x&&(e=p.getFirstKey?.()??null),"last"===x&&(e=p.getLastKey?.()??null);let t=f.selectedKeys;if(t.size){for(let i of t)if(f.canSelectItem(i)){e=i;break}}f.setFocused(!0),f.setFocusedKey(e),null==e&&!R&&K.current&&(0,n.focusSafely)(K.current),f.collection.size>0&&(z.current=!1,H.current=!0)}});let U=(0,S.useRef)(f.focusedKey),W=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(f.isFocused&&null!=f.focusedKey&&(f.focusedKey!==U.current||H.current)&&L.current&&K.current){let e=(0,o.getInteractionModality)(),t=(0,a.getItemElement)(K,f.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||H.current)&&(W.current&&cancelAnimationFrame(W.current),W.current=requestAnimationFrame(()=>{L.current&&(g(L.current,t),"virtual"!==e&&y(t,{containingElement:K.current}))}))}!R&&f.isFocused&&null==f.focusedKey&&null!=U.current&&K.current&&(0,n.focusSafely)(K.current),U.current=f.focusedKey,H.current=!1}),(0,S.useEffect)(()=>()=>{W.current&&cancelAnimationFrame(W.current)},[]),(0,m.useEvent)(K,"react-aria-focus-scope-restore",e=>{e.preventDefault(),f.setFocused(!0)});let _={onKeyDown:e=>{if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!K.current||!(0,r.nodeContains)(K.current,(0,r.getEventTarget)(e)))return;let t=(t,i)=>{if(null!=t){if(f.isLink(t)&&"selection"===N&&T&&!(0,a.isNonContiguousSelectionModifier)(e)){(0,P.flushSync)(()=>{f.setFocusedKey(t,i)});let n=(0,a.getItemElement)(K,t),l=f.getItemProps(t);n&&A.open(n,e,l.href,l.routerOptions);return}f.setFocusedKey(t,i),f.isLink(t)&&"override"===N||(e.shiftKey&&"multiple"===f.selectionMode?f.extendSelection(t):T&&!(0,a.isNonContiguousSelectionModifier)(e)&&f.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(p.getKeyBelow){let i=null!=f.focusedKey?p.getKeyBelow?.(f.focusedKey):p.getFirstKey?.();null==i&&w&&(i=p.getFirstKey?.(f.focusedKey)),null!=i&&(e.preventDefault(),t(i))}break;case"ArrowUp":if(p.getKeyAbove){let i=null!=f.focusedKey?p.getKeyAbove?.(f.focusedKey):p.getLastKey?.();null==i&&w&&(i=p.getLastKey?.(f.focusedKey)),null!=i&&(e.preventDefault(),t(i))}break;case"ArrowLeft":if(p.getKeyLeftOf){let i=null!=f.focusedKey?p.getKeyLeftOf?.(f.focusedKey):p.getFirstKey?.();null==i&&w&&(i="rtl"===O?p.getFirstKey?.(f.focusedKey):p.getLastKey?.(f.focusedKey)),null!=i&&(e.preventDefault(),t(i,"rtl"===O?"first":"last"))}break;case"ArrowRight":if(p.getKeyRightOf){let i=null!=f.focusedKey?p.getKeyRightOf?.(f.focusedKey):p.getFirstKey?.();null==i&&w&&(i="rtl"===O?p.getLastKey?.(f.focusedKey):p.getFirstKey?.(f.focusedKey)),null!=i&&(e.preventDefault(),t(i,"rtl"===O?"last":"first"))}break;case"Home":if(p.getFirstKey){if(null===f.focusedKey&&e.shiftKey)return;e.preventDefault();let t=p.getFirstKey(f.focusedKey,(0,u.isCtrlKeyPressed)(e));f.setFocusedKey(t),null!=t&&((0,u.isCtrlKeyPressed)(e)&&e.shiftKey&&"multiple"===f.selectionMode?f.extendSelection(t):T&&f.replaceSelection(t))}break;case"End":if(p.getLastKey){if(null===f.focusedKey&&e.shiftKey)return;e.preventDefault();let t=p.getLastKey(f.focusedKey,(0,u.isCtrlKeyPressed)(e));f.setFocusedKey(t),null!=t&&((0,u.isCtrlKeyPressed)(e)&&e.shiftKey&&"multiple"===f.selectionMode?f.extendSelection(t):T&&f.replaceSelection(t))}break;case"PageDown":if(p.getKeyPageBelow&&null!=f.focusedKey){let i=p.getKeyPageBelow(f.focusedKey);null!=i&&(e.preventDefault(),t(i))}break;case"PageUp":if(p.getKeyPageAbove&&null!=f.focusedKey){let i=p.getKeyPageAbove(f.focusedKey);null!=i&&(e.preventDefault(),t(i))}break;case"a":(0,u.isCtrlKeyPressed)(e)&&"multiple"===f.selectionMode&&!0!==M&&(e.preventDefault(),f.selectAll());break;case"Escape":"clearSelection"!==D||k||0===f.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),f.clearSelection());break;case"Tab":if(!F)if(e.shiftKey)K.current.focus();else{let e,t,i=(0,s.getFocusableTreeWalker)(K.current,{tabbable:!0});do(t=i.lastChild())&&(e=t);while(t)let n=(0,r.getActiveElement)();
6e&&(!(0,r.isFocusWithin)(e)||n&&!(0,c.isTabbable)(n))&&(0,l.focusWithoutScrolling)(e)}}},onFocus:e=>{if(f.isFocused){(0,r.nodeContains)(e.currentTarget,(0,r.getEventTarget)(e))||f.setFocused(!1);return}if((0,r.nodeContains)(e.currentTarget,(0,r.getEventTarget)(e))){if(f.setFocused(!0),null==f.focusedKey){let t=e=>{null!=e&&(f.setFocusedKey(e),T&&!f.isSelected(e)&&f.replaceSelection(e))},i=e.relatedTarget;i&&e.currentTarget.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING?t(f.lastSelectedKey??p.getLastKey?.()):t(f.firstSelectedKey??p.getFirstKey?.())}else L.current&&(L.current.scrollTop=B.current.top,L.current.scrollLeft=B.current.left);if(null!=f.focusedKey&&L.current){let e=(0,a.getItemElement)(K,f.focusedKey);e instanceof HTMLElement&&((0,r.isFocusWithin)(e)||R||(0,l.focusWithoutScrolling)(e),"keyboard"===(0,o.getInteractionModality)()&&y(e,{containingElement:K.current}))}}},onBlur:e=>{(0,r.nodeContains)(e.currentTarget,e.relatedTarget)||f.setFocused(!1)},onMouseDown(e){L.current===(0,r.getEventTarget)(e)&&e.preventDefault()}},{typeSelectProps:j}=C({keyboardDelegate:p,selectionManager:f});I||(_=(0,d.mergeProps)(j,_)),R||(h=null==f.focusedKey?0:-1);let $=(0,a.useCollectionId)(f.collection);return{collectionProps:(0,d.mergeProps)(_,{tabIndex:h,"data-collection":$})}}e.s(["useSelectableCollection",0,x],728435);class w{constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return null;let i=null!=e?(0,a.getItemElement)(this.ref,e):null;if(!i)return null;let n=t.getBoundingClientRect(),l=i.getBoundingClientRect();return{x:l.left-n.left-t.clientLeft+t.scrollLeft,y:l.top-n.top-t.clientTop+t.scrollTop,width:l.width,height:l.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}}class k{constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new w(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new w(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let i=e;for(;null!=i;){let e=this.collection.getItem(i);if(e?.type==="item"&&!this.isDisabled(e))return i;i=t(i)}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,i){let n=e,l=this.layoutDelegate.getItemRect(n);if(!l||null==n)return null;let r=l;do{if(null==(n=t(n)))break;l=this.layoutDelegate.getItemRect(n)}while(l&&i(r,l)&&null!=n)return n}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,i=this.layoutDelegate.getItemRect(e);
6if(!i)return null;if(t&&!(0,h.isScrollable)(t))return this.getFirstKey();let n=e;if("horizontal"===this.orientation){let e=Math.max(0,i.x+i.width-this.layoutDelegate.getVisibleRect().width);for(;i&&i.x>e&&null!=n;)i=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.max(0,i.y+i.height-this.layoutDelegate.getVisibleRect().height);for(;i&&i.y>e&&null!=n;)i=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}return n??this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,i=this.layoutDelegate.getItemRect(e);if(!i)return null;if(t&&!(0,h.isScrollable)(t))return this.getLastKey();let n=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,i.x-i.width+this.layoutDelegate.getVisibleRect().width);for(;i&&i.x<e&&null!=n;)i=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,i.y-i.height+this.layoutDelegate.getVisibleRect().height);for(;i&&i.y<e&&null!=n;)i=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}return n??this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let i=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=i.getItem(n);if(!t)break;let l=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(l,e))return n;n=this.getNextKey(n)}return null}}e.s(["ListKeyboardDelegate",0,k],729529);let M=new Map;function D(e){let{locale:t}=(0,v.useLocale)(),i=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(M.has(i))return M.get(i);let n=new Intl.Collator(t,e);return M.set(i,n),n}e.s(["useCollator",0,D],353168),e.s(["useSelectableList",0,function(e){let{selectionManager:t,collection:i,disabledKeys:n,ref:l,keyboardDelegate:r,layoutDelegate:s,orientation:o}=e,a=D({usage:"search",sensitivity:"base"}),u=t.disabledBehavior,c=(0,S.useMemo)(()=>r||new k({collection:i,disabledKeys:n,disabledBehavior:u,ref:l,collator:a,layoutDelegate:s,orientation:o}),[r,s,i,n,l,a,u,o]),{collectionProps:d}=x({...e,ref:l,selectionManager:t,keyboardDelegate:c});return{listProps:d}}],824738)},291364,e=>{"use strict";var t=e.i(291744),i=e.i(879669);let n=new WeakMap;e.s(["getCollectionId",0,function(e){return n.get(e)},"getItemElement",0,function(e,t){let i=`[data-key="${CSS.escape(String(t))}"]`,n=e.current?.dataset.collection;return n&&(i=`[data-collection="${CSS.escape(n)}"]${i}`),e.current?.querySelector(i)},"isNonContiguousSelectionModifier",0,function(e){return(0,t.isAppleDevice)()?e.altKey:e.ctrlKey},"useCollectionId",0,function(e){let t=(0,i.useId)();return n.set(e,t),t}])},227443,597360,344345,e=>{"use strict";e.s(["CLEAR_FOCUS_EVENT",0,"react-aria-clear-focus","FOCUS_EVENT",0,"react-aria-focus"],227443);var t=e.i(349271),i=e.i(776993);function n(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function l(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function r(e){let i=(0,t.getActiveElement)(e),n=i?.getAttribute("aria-activedescendant");return n&&e.getElementById(n)||i}e.s(["dispatchVirtualBlur",0,n,"dispatchVirtualFocus",0,l,"getVirtuallyFocusedElement",0,r,"moveVirtualFocus",0,function(e){let t=r((0,i.getOwnerDocument)(e));t!==e&&(t&&n(t,e),e&&l(e,t))}],597360);var s={};s={"ar-AE":{collectionLabel:"Ù
ÙØªØ±ØØ§Øª"},"bg-BG":{collectionLabel:"ÐÑедложениÑ"},"cs-CZ":{collectionLabel:"Návrhy"},"da-DK":{collectionLabel:"Forslag"},"de-DE":{collectionLabel:"Empfehlungen"},"el-GR":{collectionLabel:"Î ÏοÏάÏειÏ"},"en-US":{collectionLabel:"Suggestions"},"es-ES":{collectionLabel:"Sugerencias"},"et-EE":{collectionLabel:"Soovitused"},"fi-FI":{collectionLabel:"Ehdotukset"},"fr-FR":{collectionLabel:"Suggestions"},"he-IL":{collectionLabel:"×צע×ת"},"hr-HR":{collectionLabel:"Prijedlozi"},"hu-HU":{collectionLabel:"Javaslatok"},"it-IT":{collectionLabel:"Suggerimenti"},"ja-JP":{collectionLabel:"åè£"},"ko-KR":{collectionLabel:"ì ì"},"lt-LT":{collectionLabel:"PasiÅ«lymai"},"lv-LV":{collectionLabel:"Ieteikumi"},"nb-NO":{collectionLabel:"Forslag"},"nl-NL":{collectionLabel:"Suggesties"},"pl-PL":{collectionLabel:"Sugestie"},"pt-BR":{collectionLabel:"Sugestões"},"pt-PT":{collectionLabel:"Sugestões"},"ro-RO":{collectionLabel:"Sugestii"},"ru-RU":{collectionLabel:"ÐÑедложениÑ"},"sk-SK":{collectionLabel:"Návrhy"},"sl-SI":{collectionLabel:"Predlogi"},"sr-SP":{collectionLabel:"Predlozi"},"sv-SE":{collectionLabel:"Förslag"},"tr-TR":{collectionLabel:"Ãneriler"},"uk-UA":{collectionLabel:"ÐÑопозиÑÑÑ"},"zh-CN":{collectionLabel:"建议"},"zh-TW":{collectionLabel:"建è°"}},e.s(["default",0,s],344345)},531939,e=>{"use strict";var t=e.i(709478);e.s(["getScrollParent",0,function(e,i){let n=e;for((0,t.isScrollable)(n,i)&&(n=n.parentElement);n&&!(0,t.isScrollable)(n,i);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}])},709478,e=>{"use strict";e.s(["isScrollable",0,function(e,t){if(!e)return!1;let i=window.getComputedStyle(e),n=document.scrollingElement||document.documentElement,l=/(auto|scroll)/.test(i.overflow+i.overflowX+i.overflowY);
6return e===n&&"hidden"!==i.overflow&&(l=!0),l&&t&&(l=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),l}])},425318,e=>{"use strict";var t=e.i(291744);let i=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);e.s(["isCtrlKeyPressed",0,function(e){return(0,t.isMac)()?e.metaKey:e.ctrlKey},"willOpenKeyboard",0,function(e){return e instanceof HTMLInputElement&&!i.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}])},637784,e=>{"use strict";var t=e.i(254048),i=e.i(267369);e.s(["useEvent",0,function(e,n,l,r){let s=(0,t.useEffectEvent)(l),o=null==l;(0,i.useEffect)(()=>{if(o||!e.current)return;let t=e.current;return t.addEventListener(n,s,r),()=>{t.removeEventListener(n,s,r)}},[e,n,r,o])}])},166810,e=>{"use strict";var t=e.i(267369);class i{build(e,t){return this.context=t,n(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:i,items:n}=e;if(t.default.isValidElement(i)&&i.type===t.default.Fragment)yield*this.iterateCollection({children:i.props.children,items:n});else if("function"==typeof i){if(!n)throw Error("props.children was a function but props.items is missing");let e=0;for(let t of n)yield*this.getFullNode({value:t,index:e},{renderer:i}),e++}else{let e=[];t.default.Children.forEach(i,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,i,n){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${n}${t.key}`;let l=t.value;if(null!=l){let e=l.key??l.id;if(null==e)throw Error("No key found for item");return e}return n?`${n}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,i,r,s){if(t.default.isValidElement(e.element)&&e.element.type===t.default.Fragment){let n=[];t.default.Children.forEach(e.element.props.children,e=>{n.push(e)});let l=e.index??0;for(let e of n)yield*this.getFullNode({element:e,index:l++},i,r,s);return}let o=e.element;if(!o&&e.value&&i&&i.renderer){let t=this.cache.get(e.value);if(t&&(!t.shouldInvalidate||!t.shouldInvalidate(this.context))){t.index=e.index,t.parentKey=s?s.key:null,yield t;return}o=i.renderer(e.value)}if(t.default.isValidElement(o)){let t=o.type;if("function"!=typeof t&&"function"!=typeof t.getCollectionNode){let e=o.type;throw Error(`Unknown element <${e}> in collection.`)}let n=t.getCollectionNode(o.props,this.context),a=e.index??0,u=n.next();for(;!u.done&&u.value;){let t=u.value;e.index=a;let c=t.key??null;null==c&&(c=t.element?null:this.getKey(o,e,i,r));let d=[...this.getFullNode({...t,key:c,index:a,wrapper:function(e,t){return e&&t?i=>e(t(i)):e||t||void 0}(e.wrapper,t.wrapper)},this.getChildState(i,t),r?`${r}${o.key}`:o.key,s)];for(let i of d){if(i.value=t.value??e.value??null,i.value&&this.cache.set(i.value,i),e.type&&i.type!==e.type)throw Error(`Unsupported type <${l(i.type)}> in <${l(s?.type??"unknown parent type")}>. Only <${l(e.type)}> is supported.`);a++,yield i}u=n.next(d)}return}if(null==e.key||null==e.type)return;let a=this,u={type:e.type,props:e.props,key:e.key,parentKey:s?s.key:null,value:e.value??null,level:(s?.level??0)+ +(s?.type==="item"),index:e.index,rendered:e.rendered,textValue:e.textValue??"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:n(function*(){if(!e.hasChildNodes||!e.childNodes)return;let t=0;for(let n of e.childNodes())for(let e of(null!=n.key&&(n.key=`${u.key}${n.key}`),a.getFullNode({...n,index:t},a.getChildState(i,n),u.key,u)))t++,yield e})};yield u}constructor(){this.cache=new WeakMap}}function n(e){let t=[],i=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let n of(i||(i=e()),i))t.push(n),yield n}}}function l(e){return e[0].toUpperCase()+e.slice(1)}e.s(["useCollection",0,function(e,n,l){let r=(0,t.useMemo)(()=>new i,[]),{children:s,items:o,collection:a}=e;return(0,t.useMemo)(()=>a||n(r.build({children:s,items:o},l)),[r,s,o,a,l,n])}],166810)},790558,e=>{"use strict";var t=e.i(337699),i=e.i(267369);e.s(["useMenuTriggerState",0,function(e){let n=(0,t.useOverlayTriggerState)(e),[l,r]=(0,i.useState)(null),[s,o]=(0,i.useState)([]);return{focusStrategy:l,...n,open(e=null){r(e),n.open()},toggle(e=null){r(e),n.toggle()},close(){o([]),n.close()},expandedKeysStack:s,openSubmenu:(e,t)=>{o(i=>t>i.length?i:[...i.slice(0,t),e])},closeSubmenu:(e,t)=>{o(i=>i[t]===e?i.slice(0,t):i)}}}])},643914,e=>{"use strict";var t=e.i(267369);e.s(["useSubmenuTriggerState",0,function(e,i){let{triggerKey:n}=e,{expandedKeysStack:l,openSubmenu:r,closeSubmenu:s,close:o}=i,[a]=(0,t.useState)(l?.length),u=(0,t.useMemo)(()=>l[a]===n,[l,n,a]),[c,d]=(0,t.useState)(null),h=(0,t.useCallback)(e=>{d(e??null),r(n,a)},[r,a,n]),f=(0,t.useCallback)(()=>{d(null),s(n,a)},[s,a,n]),p=(0,t.useCallback)(e=>{d(e??null),u?f():h(e)},[f,h,u]);return(0,t.useMemo)(()=>({focusStrategy:c,isOpen:u,open:h,close:f,closeAll:o,submenuLevel:a,setOpen:()=>{},toggle:p}),[u,h,f,o,c,p,a])}])},671468,e=>{"use strict";class t extends Set{constructor(e,i,n){super(e),e instanceof t?(this.anchorKey=i??e.anchorKey,this.currentKey=n??e.currentKey):(this.anchorKey=i??null,this.currentKey=n??null)}}e.s(["Selection",0,t])},478849,e=>{"use strict";var t=e.i(68124),i=e.i(671468);e.s(["SelectionManager",0,class e{constructor(e,t,i){this.collection=e,this.state=t,this.allowsCellSelection=i?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=i?.layoutDelegate||null,this.fullCollection=i?.fullCollection||null}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;
6if(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(){let e=null;for(let i of this.state.selectedKeys){let n=this.collection.getItem(i);(!e||n&&0>(0,t.compareNodeOrder)(this.collection,n,e))&&(e=n)}return e?.key??null}get lastSelectedKey(){let e=null;for(let i of this.state.selectedKeys){let n=this.collection.getItem(i);(!e||n&&(0,t.compareNodeOrder)(this.collection,n,e)>0)&&(e=n)}return e?.key??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(0,i.Selection)([n],n,n);else{let e=this.state.selectedKeys,l=e.anchorKey??n;for(let r of(t=new(0,i.Selection)(e,l,n),this.getKeyRange(l,e.currentKey??n)))t.delete(r);for(let e of this.getKeyRange(n,l))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,i){let n=this.collection.getItem(e),l=this.collection.getItem(i);return n&&l?0>=(0,t.compareNodeOrder)(this.collection,n,l)?this.getKeyRangeInternal(e,i):this.getKeyRangeInternal(i,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let i=[],n=e;for(;null!=n;){let e=this.collection.getItem(n);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&i.push(n),n===t)return i;n=this.collection.getKeyAfter(n)}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(0,i.Selection)("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(0,i.Selection)([t],t,t):new(0,i.Selection);this.state.setSelectedKeys(n)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new(0,i.Selection);for(let i of e){let e=this.getKey(i);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=this.fullCollection??this.collection,i=[],n=l=>{for(;null!=l;){if(this.canSelectItemIn(l,e)){let r=e.getItem(l);r?.type==="item"&&i.push(l),r?.hasChildNodes&&(this.allowsCellSelection||"item"!==r.type)&&n((0,t.getFirstItem)((0,t.getChildNodes)(r,e))?.key??null)}l=e.getKeyAfter(l)}};return n(e.getFirstKey()),i}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(0,i.Selection))}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 i of e)if(!t.has(i))return!1;for(let i of t)if(!e.has(i))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let i=t.getItem(e);return!(!i||i?.props?.isDisabled)&&("cell"!==i.type||!!this.allowsCellSelection)}isDisabled(e){return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled)}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}])},303648,e=>{"use strict";var t=e.i(671468),i=e.i(784524),n=e.i(267369);function l(e,i){return e?"all"===e?"all":new(0,t.Selection)(e):i}e.s(["useMultipleSelectionState",0,function(e){let{selectionMode:r="none",disallowEmptySelection:s=!1,allowDuplicateSelectionEvents:o,selectionBehavior:a="toggle",disabledBehavior:u="all"}
6=e,c=(0,n.useRef)(!1),[,d]=(0,n.useState)(!1),h=(0,n.useRef)(null),f=(0,n.useRef)(null),[,p]=(0,n.useState)(null),g=(0,n.useMemo)(()=>l(e.selectedKeys),[e.selectedKeys]),y=(0,n.useMemo)(()=>l(e.defaultSelectedKeys,new(0,t.Selection)),[e.defaultSelectedKeys]),[m,v]=(0,i.useControlledState)(g,y,e.onSelectionChange),b=(0,n.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[S,C]=(0,n.useState)(a);"replace"===a&&"toggle"===S&&"object"==typeof m&&0===m.size&&C("replace");let K=(0,n.useRef)(a);return(0,n.useEffect)(()=>{a!==K.current&&(C(a),K.current=a)},[a]),{selectionMode:r,disallowEmptySelection:s,selectionBehavior:S,setSelectionBehavior:C,get isFocused(){return c.current},setFocused(e){c.current=e,d(e)},get focusedKey(){return h.current},get childFocusStrategy(){return f.current},setFocusedKey(e,t="first"){h.current=e,f.current=t,p(e)},selectedKeys:m,setSelectedKeys(e){(o||!function(e,t){if(e.size!==t.size)return!1;for(let i of e)if(!t.has(i))return!1;return!0}(e,m))&&v(e)},disabledKeys:b,disabledBehavior:u}}])},366814,e=>{"use strict";class t{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t=t||new Set;let i=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)i(t)};for(let t of e)i(t);let n=null,l=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=l++),(n=t).nextKey=void 0;this.lastKey=n?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}}e.s(["TreeCollection",0,t])},120480,(e,t,i)=>{"use strict";var n=e.r(267369),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useState,s=n.useEffect,o=n.useLayoutEffect,a=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!l(e,i)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var i=t(),n=r({inst:{value:i,getSnapshot:t}}),l=n[0].inst,c=n[1];return o(function(){l.value=i,l.getSnapshot=t,u(l)&&c({inst:l})},[e,i,t]),s(function(){return u(l)&&c({inst:l}),e(function(){u(l)&&c({inst:l})})},[e]),a(i),i};i.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},207102,(e,t,i)=>{"use strict";e.i(220537),t.exports=e.r(120480)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.