PageSourceSearch

https://sierra.ai/_next/static/immutable/chunks/3tygpms07apkb.js

js sierra.ai collected 2026-10-02 10:26:31 UTC 171,872 bytes, 7 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,999360,e=>{"use strict";var t=e.i(898308),l=e.i(256866),n=e.i(693361),r=e.i(393897),i=e.i(217663),o=e.i(39908);class s{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,l.nodeContains)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,l=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(l),l.currentNode=r,this._currentSetFor.add(l),n=r=e.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,l.nodeContains)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let l;if("function"==typeof this.filter?l=this.filter(e):(null==(t=this.filter)?void 0:t.acceptNode)&&(l=this.filter.acceptNode(e)),l===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let n=this.nextNode();return n&&(this.currentNode=n),n}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var l;let e;if("function"==typeof this.filter?e=this.filter(t):(null==(l=this.filter)?void 0:l.acceptNode)&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let n=this.lastChild();return n&&(this.currentNode=n),n}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,l,n){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let l=e.shadowRoot;if(l){let e=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(null==(t=this.filter)?void 0:t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=null!=n?n:null,this.whatToShow=null!=l?l:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,l,this._acceptNode));const r=t.shadowRoot;if(r){const e=this._doc.createTreeWalker(r,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}var a=e.i(564872),u=e.i(830947),c=e.i(92488);let d=c.default.createContext(null),f="react-aria-focus-scope-restore",p=null;function h(e){return e[0].parentElement}function g(e){let t=k.getTreeNode(p);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function m(e,t){return!!e&&!!t&&t.some(t=>(0,l.nodeContains)(t,e))}function y(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:l}of k.traverse(k.getTreeNode(t)))if(l&&m(e,l.current))return!0;return!1}function v(e,t){var l;let n=null==(l=k.getTreeNode(t))?void 0:l.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function b(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,u.focusSafely)(e)}catch{}}function S(e,t=!0){let l=e[0].previousElementSibling,n=h(e),r=P(n,{tabbable:t},e);r.currentNode=l;let i=r.nextNode();return t&&!i&&((r=P(n=h(e),{tabbable:!1},e)).currentNode=l,i=r.nextNode()),i}function C(e,t=!0){b(S(e,t))}function w(e){let t=k.getTreeNode(p);for(;t&&t.scopeRef!==e;
1){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function E(e){e.dispatchEvent(new CustomEvent(f,{bubbles:!0,cancelable:!0}))&&b(e)}function P(e,t,r){var a,u,c;let d=(null==t?void 0:t.tabbable)?i.isTabbable:i.isFocusable,f=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,p=(0,n.getOwnerDocument)(f),h=(a=e||p,u=NodeFilter.SHOW_ELEMENT,c={acceptNode:e=>(0,l.nodeContains)(null==t?void 0:t.from,e)||(null==t?void 0:t.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=[];if(e.form){var l,r;let n=null==(r=e.form)||null==(l=r.elements)?void 0:l.namedItem(e.name);t=[...null!=n?n:[]]}else t=[...(0,n.getOwnerDocument)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!t&&!t.some(e=>e.checked)}(e)||"INPUT"===h.currentNode.tagName&&"radio"===h.currentNode.type&&h.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:d(e)&&(!r||m(e,r))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},(0,o.shadowDOM)()?new s(p,a,u,c):p.createTreeWalker(a,u,c));return(null==t?void 0:t.from)&&(h.currentNode=t.from),h}function x(e){let t,l;do(t=e.lastChild())&&(l=t);while(t)return l}class K{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let k=new class e{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,l){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let r=new K({scopeRef:e});n.addChild(r),r.parent=n,this.fastMap.set(e,r),l&&(r.nodeToRestore=l)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let l=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&m(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;l&&(l.removeChild(t),n.size>0&&n.forEach(e=>l&&l.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var t,l;let n=new e;for(let e of this.traverse())n.addTreeNode(e.scopeRef,null!=(l=null==(t=e.parent)?void 0:t.scopeRef)?l:null,e.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new K({scopeRef:null}),this.fastMap.set(null,this.root)}};e.s(["FocusScope",0,function(e){var i,o,s,u,x,D,R,M,N,T;let L,F,I,O,{children:A,contain:z,restoreFocus:_,autoFocus:B}=e,V=(0,c.useRef)(null),H=(0,c.useRef)(null),j=(0,c.useRef)([]),{parentNode:U}=(0,c.useContext)(d)||{},W=(0,c.useMemo)(()=>new K({scopeRef:j}),[j]);(0,t.useLayoutEffect)(()=>{let e=U||k.root;if(k.getTreeNode(e.scopeRef)&&p&&!v(p,e.scopeRef)){let t=k.getTreeNode(p);t&&(e=t)}e.addChild(W),k.addNode(W)},[W,U]),(0,t.useLayoutEffect)(()=>{let e=k.getTreeNode(j);e&&(e.contain=!!z)},[z]),(0,t.useLayoutEffect)(()=>{var e;let t=null==(e=V.current)?void 0:e.nextSibling,l=[],n=e=>e.stopPropagation();for(;t&&t!==H.current;)l.push(t),t.addEventListener(f,n),t=t.nextSibling;return j.current=l,()=>{for(let e of l)e.removeEventListener(f,n)}},[A]),i=j,o=_,s=z,(0,t.useLayoutEffect)(()=>{if(o||s)return;let e=i.current,t=(0,n.getOwnerDocument)(e?e[0]:void 0),r=e=>{let t=(0,l.getEventTarget)(e);m(t,i.current)?p=i:y(t)||(p=null)};return t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1))}},[i,o,s]),u=j,x=z,L=(0,c.useRef)(void 0),F=(0,c.useRef)(void 0),(0,t.useLayoutEffect)(()=>{let e=u.current;if(!x){F.current&&(cancelAnimationFrame(F.current),F.current=void 0);return}let t=(0,n.getOwnerDocument)(e?e[0]:void 0),i=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!g(u)||e.isComposing)return;let n=(0,l.getActiveElement)(t),r=u.current;if(!r||!m(n,r))return;let i=P(h(r),{tabbable:!0},r);if(!n)return;i.currentNode=n;let o=e.shiftKey?i.previousNode():i.nextNode();o||(i.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,o=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),o&&b(o,!0)},o=e=>{(!p||v(p,u))&&m((0,l.getEventTarget)(e),u.current)?(p=u,L.current=(0,l.getEventTarget)(e)):g(u)&&!y((0,l.getEventTarget)(e),u)?L.current?L.current.focus():p&&p.current&&C(p.current):g(u)&&(L.current=(0,l.getEventTarget)(e))},s=e=>{F.current&&cancelAnimationFrame(F.current),F.current=requestAnimationFrame(()=>{let n=(0,a.getInteractionModality)(),i=("virtual"===n||null===n)&&(0,r.isAndroid)()&&(0,r.isChrome)(),o=(0,l.getActiveElement)(t);
1if(!i&&o&&g(u)&&!y(o,u)){p=u;let t=(0,l.getEventTarget)(e);if(t&&t.isConnected){var s;L.current=t,null==(s=L.current)||s.focus()}else p.current&&C(p.current)}})};return t.addEventListener("keydown",i,!1),t.addEventListener("focusin",o,!1),null==e||e.forEach(e=>e.addEventListener("focusin",o,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{t.removeEventListener("keydown",i,!1),t.removeEventListener("focusin",o,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",o,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",s,!1))}},[u,x]),(0,t.useLayoutEffect)(()=>()=>{F.current&&cancelAnimationFrame(F.current)},[F]),D=j,R=_,M=z,I=(0,c.useRef)("u">typeof document?(0,l.getActiveElement)((0,n.getOwnerDocument)(D.current?D.current[0]:void 0)):null),(0,t.useLayoutEffect)(()=>{let e=D.current,t=(0,n.getOwnerDocument)(e?e[0]:void 0);if(!R||M)return;let r=()=>{(!p||v(p,D))&&m((0,l.getActiveElement)(t),D.current)&&(p=D)};return t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1))}},[D,M]),(0,t.useLayoutEffect)(()=>{let e=(0,n.getOwnerDocument)(D.current?D.current[0]:void 0);if(!R)return;let t=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!g(D)||t.isComposing)return;let l=e.activeElement;if(!y(l,D)||!w(D))return;let n=k.getTreeNode(D);if(!n)return;let r=n.nodeToRestore,i=P(e.body,{tabbable:!0});i.currentNode=l;let o=t.shiftKey?i.previousNode():i.nextNode();if(r&&r.isConnected&&r!==e.body||(r=void 0,n.nodeToRestore=void 0),(!o||!y(o,D))&&r){i.currentNode=r;do o=t.shiftKey?i.previousNode():i.nextNode();while(y(o,D))(t.preventDefault(),t.stopPropagation(),o)?b(o,!0):y(r)?b(r,!0):l.blur()}};return M||e.addEventListener("keydown",t,!0),()=>{M||e.removeEventListener("keydown",t,!0)}},[D,R,M]),(0,t.useLayoutEffect)(()=>{var e;let t=(0,n.getOwnerDocument)(D.current?D.current[0]:void 0);if(!R)return;let r=k.getTreeNode(D);if(r)return r.nodeToRestore=null!=(e=I.current)?e:void 0,()=>{let e=k.getTreeNode(D);if(!e)return;let n=e.nodeToRestore,r=(0,l.getActiveElement)(t);
1if(R&&n&&(r&&y(r,D)||r===t.body&&w(D))){let e=k.clone();requestAnimationFrame(()=>{if(t.activeElement===t.body){let t=e.getTreeNode(D);for(;t;){if(t.nodeToRestore&&t.nodeToRestore.isConnected)return void E(t.nodeToRestore);t=t.parent}for(t=e.getTreeNode(D);t;){if(t.scopeRef&&t.scopeRef.current&&k.getTreeNode(t.scopeRef))return void E(S(t.scopeRef.current,!0));t=t.parent}}})}}},[D,R]),N=j,T=B,O=c.default.useRef(T),(0,c.useEffect)(()=>{if(O.current){p=N;let e=(0,n.getOwnerDocument)(N.current?N.current[0]:void 0);!m((0,l.getActiveElement)(e),p.current)&&N.current&&C(N.current)}O.current=!1},[N]),(0,c.useEffect)(()=>{let e=(0,l.getActiveElement)((0,n.getOwnerDocument)(j.current?j.current[0]:void 0)),t=null;if(m(e,j.current)){for(let l of k.traverse())l.scopeRef&&m(e,l.scopeRef.current)&&(t=l);t===k.getTreeNode(j)&&(p=t.scopeRef)}},[j]),(0,t.useLayoutEffect)(()=>()=>{var e,t,l;let n=null!=(l=null==(t=k.getTreeNode(j))||null==(e=t.parent)?void 0:e.scopeRef)?l:null;(j===p||v(j,p))&&(!n||k.getTreeNode(n))&&(p=n),k.removeTreeNode(j)},[j]);let $=(0,c.useMemo)(()=>{var e;return e=j,{focusNext(t={}){var r;let i=e.current,{from:o,tabbable:s,wrap:a,accept:u}=t,c=o||(0,l.getActiveElement)((0,n.getOwnerDocument)(null!=(r=i[0])?r:void 0)),d=i[0].previousElementSibling,f=P(h(i),{tabbable:s,accept:u},i);f.currentNode=m(c,i)?c:d;let p=f.nextNode();return!p&&a&&(f.currentNode=d,p=f.nextNode()),p&&b(p,!0),p},focusPrevious(t={}){var r;let i=e.current,{from:o,tabbable:s,wrap:a,accept:u}=t,c=o||(0,l.getActiveElement)((0,n.getOwnerDocument)(null!=(r=i[0])?r:void 0)),d=i[i.length-1].nextElementSibling,f=P(h(i),{tabbable:s,accept:u},i);f.currentNode=m(c,i)?c:d;let p=f.previousNode();return!p&&a&&(f.currentNode=d,p=f.previousNode()),p&&b(p,!0),p},focusFirst(t={}){let l=e.current,{tabbable:n,accept:r}=t,i=P(h(l),{tabbable:n,accept:r},l);i.currentNode=l[0].previousElementSibling;let o=i.nextNode();return o&&b(o,!0),o},focusLast(t={}){let l=e.current,{tabbable:n,accept:r}=t,i=P(h(l),{tabbable:n,accept:r},l);i.currentNode=l[l.length-1].nextElementSibling;let o=i.previousNode();return o&&b(o,!0),o}}},[]),q=(0,c.useMemo)(()=>({focusManager:$,parentNode:W}),[W,$]);return c.default.createElement(d.Provider,{value:q},c.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:V}),A,c.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:H}))},"createFocusManager",0,function(e,t={}){return{focusNext(r={}){let i=e.current;if(!i)return null;let{from:o,tabbable:s=t.tabbable,wrap:a=t.wrap,accept:u=t.accept}=r,c=o||(0,l.getActiveElement)((0,n.getOwnerDocument)(i)),d=P(i,{tabbable:s,accept:u});(0,l.nodeContains)(i,c)&&(d.currentNode=c);let f=d.nextNode();return!f&&a&&(d.currentNode=i,f=d.nextNode()),f&&b(f,!0),f},focusPrevious(r=t){let i=e.current;if(!i)return null;let{from:o,tabbable:s=t.tabbable,wrap:a=t.wrap,accept:u=t.accept}=r,c=o||(0,l.getActiveElement)((0,n.getOwnerDocument)(i)),d=P(i,{tabbable:s,accept:u});if((0,l.nodeContains)(i,c))d.currentNode=c;else{let e=x(d);return e&&b(e,!0),null!=e?e:null}let f=d.previousNode();if(!f&&a){d.currentNode=i;let e=x(d);if(!e)return null;f=e}return f&&b(f,!0),null!=f?f:null},focusFirst(l=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:i=t.accept}=l,o=P(n,{tabbable:r,accept:i}).nextNode();return o&&b(o,!0),o},focusLast(l=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:i=t.accept}=l,o=x(P(n,{tabbable:r,accept:i}));return o&&b(o,!0),null!=o?o:null}}},"getFocusableTreeWalker",0,P,"isElementInChildOfActiveScope",0,function(e){return y(e,p)}],999360)},333566,e=>{"use strict";var t=e.i(354799);let l=new Map;e.s(["useCollator",0,function(e){let{locale:n}=(0,t.useLocale)(),r=n+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(l.has(r))return l.get(r);let i=new Intl.Collator(n,e);return l.set(r,i),i}])},75499,395884,143817,e=>{"use strict";let t;var l=e.i(354799);let n=Symbol.for("react-aria.i18n.locale"),r=Symbol.for("react-aria.i18n.strings");class i{getStringForLocale(e,t){let l=this.getStringsForLocale(t)[e];if(!l)throw Error(`Could not find intl message ${e} in ${t} locale`);return l}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,l="en-US"){var n;if(t[e])return t[e];let r=(n=e,Intl.Locale?new Intl.Locale(n).language:n.split("-")[0]);if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[l]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("u"<typeof window)return null;let l=window[n];if(void 0===t){let e=window[r];if(!e)return null;for(let n in t={},e)t[n]=new i({[l]:e[n]},l)}let o=null==t?void 0:t[e];if(!o)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return o}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}e.s(["LocalizedStringDictionary",0,i],395884);let o=new Map,s=new Map;class a{format(e,t){let l=this.strings.getStringForLocale(e,this.locale);return"function"==typeof l?l(t,this):l}plural(e,t,l="cardinal"){let n=t["="+e];if(n)return"function"==typeof n?n():n;let r=this.locale+":"+l,i=o.get(r);
1return i||(i=new Intl.PluralRules(this.locale,{type:l}),o.set(r,i)),"function"==typeof(n=t[i.select(e)]||t.other)?n():n}number(e){let t=s.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),s.set(this.locale,t)),t.format(e)}select(e,t){let l=e[t]||e.other;return"function"==typeof l?l():l}constructor(e,t){this.locale=e,this.strings=t}}e.s(["LocalizedStringFormatter",0,a],143817);var u=e.i(92488);let c=new WeakMap;function d(e,t){let l;return t&&i.getGlobalDictionaryForPackage(t)||((l=c.get(e))||(l=new i(e),c.set(e,l)),l)}e.s(["useLocalizedStringDictionary",0,d,"useLocalizedStringFormatter",0,function(e,t){let{locale:n}=(0,l.useLocale)(),r=d(e,t);return(0,u.useMemo)(()=>new a(n,r),[n,r])}],75499)},338295,e=>{"use strict";e.i(825866);var t=e.i(538566),l=e.i(670478),n=e.i(443500),r=e.i(117155),i=e.i(92488);let o=i.default.forwardRef(({children:e,...o},s)=>{let a=(0,i.useRef)(!1),u=(0,i.useContext)(t.PressResponderContext),c=(0,l.mergeProps)(u||{},{...o,register(){a.current=!0,u&&u.register()}});return c.ref=(0,n.useObjectRef)(s||(null==u?void 0:u.ref)),(0,r.useSyncRef)(u,c.ref),(0,i.useEffect)(()=>{a.current||(a.current=!0)},[]),i.default.createElement(t.PressResponderContext.Provider,{value:c},e)});e.s(["ClearPressResponder",0,function({children:e}){let l=(0,i.useMemo)(()=>({register:()=>{}}),[]);return i.default.createElement(t.PressResponderContext.Provider,{value:l},e)},"PressResponder",0,o])},580350,e=>{"use strict";var t=e.i(337270),l=e.i(384368),n=e.i(693361),r=e.i(283298),i=e.i(211961),o=e.i(670478),s=e.i(92488);e.s(["useLongPress",0,function(e){let{isDisabled:a,onLongPressStart:u,onLongPressEnd:c,onLongPress:d,threshold:f=500,accessibilityDescription:p}=e,h=(0,s.useRef)(void 0),{addGlobalListener:g,removeGlobalListener:m}=(0,l.useGlobalListeners)(),{pressProps:y}=(0,t.usePress)({isDisabled:a,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(u&&u({...e,type:"longpressstart"}),h.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,n.getOwnerDocument)(e.target).activeElement!==e.target&&(0,r.focusWithoutScrolling)(e.target),d&&d({...e,type:"longpress"}),h.current=void 0},f),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};g(e.target,"contextmenu",t,{once:!0}),g(window,"pointerup",()=>{setTimeout(()=>{m(e.target,"contextmenu",t)}
1,30)},{once:!0})}},onPressEnd(e){h.current&&clearTimeout(h.current),c&&("mouse"===e.pointerType||"touch"===e.pointerType)&&c({...e,type:"longpressend"})}}),v=(0,i.useDescription)(d&&!a?p:void 0);return{longPressProps:(0,o.mergeProps)(y,v)}}])},921974,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],921974)},504352,810331,e=>{"use strict";var t=e.i(227162),l=e.i(548319),n=e.i(670478),r=e.i(268029);e.s(["useMenu",0,function(e,i,o){let{shouldFocusWrap:s=!0,onKeyDown:a,onKeyUp:u,...c}=e,d=(0,l.filterDOMProps)(e,{labelable:!0}),{listProps:f}=(0,r.useSelectableList)({...c,ref:o,selectionManager:i.selectionManager,collection:i.collection,disabledKeys:i.disabledKeys,shouldFocusWrap:s,linkBehavior:"override"});return t.menuData.set(i,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:(0,n.mergeProps)(d,{onKeyDown:a,onKeyUp:u},{role:"menu",...f,onKeyDown:t=>{var l;("Escape"!==t.key||e.shouldUseVirtualFocus)&&(null==(l=f.onKeyDown)||l.call(f,t))}})}}],504352);var i=e.i(5201);e.s(["useMenuSection",0,function(e){let{heading:t,"aria-label":l}=e,n=(0,i.useId)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":l,"aria-labelledby":t?n:void 0}}}],810331)},605732,e=>{"use strict";var t=e.i(227162),l=e.i(119749),n=e.i(5201),r=e.i(548319),i=e.i(670478),o=e.i(520487),s=e.i(337270),a=e.i(63432),u=e.i(564872),c=e.i(457228),d=e.i(203226),f=e.i(92488),p=e.i(757220);e.s(["useMenuItem",0,function(e,h,g){var m,y;let{id:v,key:b,closeOnSelect:S,shouldCloseOnSelect:C,isVirtualized:w,"aria-haspopup":E,onPressStart:P,onPressUp:x,onPress:K,onPressChange:k,onPressEnd:D,onClick:R,onHoverStart:M,onHoverChange:N,onHoverEnd:T,onKeyDown:L,onKeyUp:F,onFocus:I,onFocusChange:O,onBlur:A,selectionManager:z=h.selectionManager}=e,_=!!E,B=_&&"true"===e["aria-expanded"],V=null!=(m=e.isDisabled)?m:z.isDisabled(b),H=null!=(y=e.isSelected)?y:z.isSelected(b),j=t.menuData.get(h),U=h.collection.getItem(b),W=e.onClose||j.onClose,$=(0,l.useRouter)(),q="menuitem";_||("single"===z.selectionMode?q="menuitemradio":"multiple"===z.selectionMode&&(q="menuitemcheckbox"));
1let Z=(0,n.useSlotId)(),G=(0,n.useSlotId)(),J=(0,n.useSlotId)(),X={id:v,"aria-disabled":V||void 0,role:q,"aria-label":e["aria-label"],"aria-labelledby":Z,"aria-describedby":[G,J].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":E,"aria-expanded":e["aria-expanded"]};"none"===z.selectionMode||_||(X["aria-checked"]=H),w&&(X["aria-posinset"]=null==U?void 0:U.index,X["aria-setsize"]=(0,o.getItemCount)(h.collection));let Y=(0,f.useRef)(!1),Q=(0,f.useRef)(null),{itemProps:ee,isFocused:et}=(0,p.useSelectableItem)({id:v,selectionManager:z,key:b,ref:g,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:j.shouldUseVirtualFocus}),{pressProps:el,isPressed:en}=(0,s.usePress)({onPressStart:P,onPress:K,onPressUp:e=>{"keyboard"!==e.pointerType&&(Q.current={pointerType:e.pointerType}),"mouse"!==e.pointerType||Y.current||e.target.click(),null==x||x(e)},onPressChange:e=>{null==k||k(e),Y.current=e},onPressEnd:D,isDisabled:V}),{hoverProps:er}=(0,a.useHover)({isDisabled:V,onHoverStart(e){(0,u.isFocusVisible)()||B&&E||(z.setFocused(!0),z.setFocusedKey(b)),null==M||M(e)},onHoverChange:N,onHoverEnd:T}),{keyboardProps:ei}=(0,c.useKeyboard)({onKeyDown:e=>{if(e.repeat)return void e.continuePropagation();switch(e.key){case" ":Q.current={pointerType:"keyboard",key:" "},e.target.click();break;case"Enter":Q.current={pointerType:"keyboard",key:"Enter"},"A"!==e.target.tagName&&e.target.click();break;default:_||e.continuePropagation(),null==L||L(e)}},onKeyUp:F}),{focusableProps:eo}=(0,d.useFocusable)({onBlur:A,onFocus:I,onFocusChange:O},g),es=(0,r.filterDOMProps)(null==U?void 0:U.props);delete es.id;let ea=(0,l.useLinkProps)(null==U?void 0:U.props);return{menuItemProps:{...X,...(0,i.mergeProps)(es,ea,_?{onFocus:ee.onFocus,"data-collection":ee["data-collection"],"data-key":ee["data-key"]}:ee,el,er,ei,eo,j.shouldUseVirtualFocus||_?{onMouseDown:e=>e.preventDefault()}:void 0,V?void 0:{onClick:t=>{var n,r,i,o;null==R||R(t),!_&&((null==U||null==(o=U.props)?void 0:o.onAction)?U.props.onAction():e.onAction&&e.onAction(b),j.onAction&&(0,j.onAction)(b)),(0,l.handleLinkClick)(t,$,U.props.href,null==U?void 0:U.props.routerOptions);let s=(null==(n=Q.current)?void 0:n.pointerType)==="keyboard"?(null==(r=Q.current)?void 0:r.key)==="Enter"||"none"===z.selectionMode||z.isLink(b):"multiple"!==z.selectionMode||z.isLink(b);s=null!=(i=null!=C?C:S)?i:s,W&&!_&&s&&W(),Q.current=null}}),tabIndex:null!=ee.tabIndex&&B&&!j.shouldUseVirtualFocus?-1:ee.tabIndex},labelProps:{id:Z},descriptionProps:{id:G},keyboardShortcutProps:{id:J},isFocused:et,isFocusVisible:et&&z.isFocused&&(0,u.isFocusVisible)()&&!B,isSelected:H,isPressed:en,isDisabled:V}}])},790687,536617,e=>{"use strict";var t=e.i(921974),l=e.i(5201),n=e.i(283298),r=e.i(580350),i=e.i(75499),o=e.i(25001),s=e.i(92488);function a(e,t,n){let r,{type:i}=e,{isOpen:a}=t;(0,s.useEffect)(()=>{n&&n.current&&o.onCloseMap.set(n.current,t.close)}),"menu"===i?r=!0:"listbox"===i&&(r="listbox");let u=(0,l.useId)();return{triggerProps:{"aria-haspopup":r,"aria-expanded":a,"aria-controls":a?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}e.s(["useOverlayTrigger",0,a],536617),e.s(["useMenuTrigger",0,function(e,o,s){var u;let{type:c="menu",isDisabled:d,trigger:f="press"}=e,p=(0,l.useId)(),{triggerProps:h,overlayProps:g}=a({type:c},o,s),m=(0,i.useLocalizedStringFormatter)((u=t.default)&&u.__esModule?u.default:u,"@react-aria/menu"),{longPressProps:y}=(0,r.useLongPress)({isDisabled:d||"longPress"!==f,accessibilityDescription:m.format("longPressMessage"),onLongPressStart(){o.close()},onLongPress(){o.open("first")}});return delete h.onPress,{menuTriggerProps:{...h,..."press"===f?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||d||((0,n.focusWithoutScrolling)(e.target),o.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||d||((0,n.focusWithoutScrolling)(e.target),o.toggle())}}:y,id:p,onKeyDown:e=>{if(!d&&("longPress"!==f||e.altKey)&&s&&s.current)switch(e.key){case"Enter":case" ":if("longPress"===f||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()}}},menuProps:{...g,"aria-labelledby":p,autoFocus:o.focusStrategy||!0,onClose:o.close}}}],790687)},901724,227162,e=>{"use strict";var t=e.i(735239),l=e.i(642996),n=e.i(898308),r=e.i(256866),i=e.i(92488),o=e.i(564872);let s=Math.PI/12;var a=e.i(5201),u=e.i(283298),c=e.i(286759),d=e.i(354799);e.s(["useSubmenuTrigger",0,function(e,f,p){var h;let{parentMenuRef:g,submenuRef:m,type:y="menu",isDisabled:v,delay:b=200,shouldUseVirtualFocus:S}=e,C=(0,a.useId)(),w=(0,a.useId)(),{direction:E}=(0,d.useLocale)(),P=(0,i.useRef)(void 0),x=(0,i.useCallback)(()=>{P.current&&(clearTimeout(P.current),P.current=void 0)},[P]),K=(0,i.useCallback)(e=>{x(),f.open(e)},[f,x]),k=(0,i.useCallback)(()=>{x(),f.close()},[f,x]);(0,n.useLayoutEffect)(()=>()=>{x()},[x]);let D={id:w,"aria-labelledby":C,submenuLevel:f.submenuLevel,..."menu"===y&&{onClose:f.closeAll,autoFocus:null!=(h=f.focusStrategy)?h:void 0,onKeyDown:e=>{if((0,r.nodeContains)(e.currentTarget,document.activeElement))switch(e.key){case"ArrowLeft":"ltr"===E&&(0,r.nodeContains)(e.currentTarget,e.target)&&(e.preventDefault(),e.stopPropagation(),k(),!S&&p.current&&(0,u.focusWithoutScrolling)(p.current));break;case"ArrowRight":"rtl"===E&&(0,r.nodeContains)(e.currentTarget,e.target)&&(e.preventDefault(),e.stopPropagation(),k(),!S&&p.current&&(0,u.focusWithoutScrolling)(p.current));break;case"Escape":(0,r.nodeContains)(m.current,e.target)&&(e.stopPropagation(),k(),!S&&p.current&&(0,u.focusWithoutScrolling)(p.current))}}}};return(0,c.useEvent)(g,"focusin",e=>{f.isOpen&&(0,r.nodeContains)(g.current,e.target)&&e.target!==p.current&&k()}),!function(e){let{menuRef:a,submenuRef:u,isOpen:c,isDisabled:d}=e,f=(0,i.useRef)(void 0),p=(0,i.useRef)(void 0),h=(0,i.useRef)(0),g=(0,i.useRef)(void 0),m=(0,i.useRef)(void 0),y=(0,i.useRef)(void 0),v=(0,i.useRef)(2),[b,S]=(0,i.useState)(!1);(0,t.useResizeObserver)({ref:u,onResize:()=>{u.current&&(p.current=u.current.getBoundingClientRect(),y.current=void 0)}});let C=()=>{S(!1),v.current=2,f.current=void 0},w=(0,o.useInteractionModality)(),E=(0,l.useEffectEvent)(e=>{b&&e.preventDefault()});(0,i.useEffect)(()=>{b&&a.current?a.current.style.pointerEvents="none":a.current.style.pointerEvents=""},[a,b]),(0,n.useLayoutEffect)(()=>{let e=u.current,t=a.current;if(d||!e||!c||"pointer"!==w||!t)return void C();p.current=e.getBoundingClientRect();let l=e=>{if("touch"===e.pointerType||"pen"===e.pointerType)return;let l=Date.now();if(l-h.current<50)return;clearTimeout(g.current),clearTimeout(m.current);let{clientX:n,clientY:i}=e;if(!f.current){f.current={x:n,y:i};return}if(!p.current)return;if(y.current||(y.current=n>p.current.right?"left":"right"),n<t.getBoundingClientRect().left||n>t.getBoundingClientRect().right||i<t.getBoundingClientRect().top||i>t.getBoundingClientRect().bottom)return void C();let o=f.current.x,a=f.current.y,u="right"===y.current?p.current.left-o:o-p.current.right,c=Math.atan2(a-p.current.top,u)+s,d=Math.atan2(a-p.current.bottom,u)-s,b=Math.atan2(a-i,"left"===y.current?-(n-o):n-o),w=b<c&&b>d;v.current=w?Math.min(v.current+1,2):Math.max(v.current-1,0),v.current>=2?S(!0):S(!1),h.current=l,f.current={x:n,y:i},w&&(g.current=setTimeout(()=>{C(),m.current=setTimeout(()=>{let e=document.elementFromPoint(n,i);e&&(0,r.nodeContains)(t,e)&&e.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},1e3))};return window.addEventListener("pointermove",l),window.addEventListener("pointerdown",E,!0),()=>{window.removeEventListener("pointermove",l),window.removeEventListener("pointerdown",E,!0),clearTimeout(g.current),clearTimeout(m.current),v.current=2}},[d,c,a,w,S,u])}({menuRef:g,submenuRef:m,isOpen:f.isOpen,isDisabled:v}),{submenuTriggerProps:{id:C,"aria-controls":f.isOpen?w:void 0,"aria-haspopup":v?void 0:y,"aria-expanded":f.isOpen?"true":"false",onPressStart:e=>{v||"virtual"!==e.pointerType&&"keyboard"!==e.pointerType||K("first")},onPress:e=>{v||"touch"!==e.pointerType&&"mouse"!==e.pointerType||K()},onHoverChange:e=>{!v&&(e&&!f.isOpen?P.current||(P.current=setTimeout(()=>{K()},b)):e||x())},onKeyDown:e=>{switch(e.key){case"ArrowRight":!v&&("ltr"===E?(e.preventDefault(),f.isOpen||K("first"),"menu"===y&&(null==m?void 0:m.current)&&document.activeElement===(null==p?void 0:p.current)&&(0,u.focusWithoutScrolling)(m.current)):f.isOpen?k():e.continuePropagation());break;case"ArrowLeft":!v&&("rtl"===E?(e.preventDefault(),f.isOpen||K("first"),"menu"===y&&(null==m?void 0:m.current)&&document.activeElement===(null==p?void 0:p.current)&&(0,u.focusWithoutScrolling)(m.current)):f.isOpen?k():e.continuePropagation());break;default:e.continuePropagation()}},isOpen:f.isOpen},submenuProps:D,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==p.current}}}],901724);let f=new WeakMap;e.s(["menuData",0,f],227162)},218075,e=>{"use strict";var t=e.i(384020),l=e.i(92488),n=e.i(299921),r=e.i(75499),i=e.i(272123);
1e.s(["DismissButton",0,function(e){var o;let{onDismiss:s,...a}=e,u=(0,r.useLocalizedStringFormatter)((o=t.default)&&o.__esModule?o.default:o,"@react-aria/overlays"),c=(0,n.useLabels)(a,u.format("dismiss"));return l.default.createElement(i.VisuallyHidden,null,l.default.createElement("button",{...c,tabIndex:-1,onClick:()=>{s&&s()},style:{width:1,height:1}}))}])},452259,e=>{"use strict";var t=e.i(616455),l=e.i(338295),n=e.i(999360),r=e.i(92488),i=e.i(50987),o=e.i(543751),s=e.i(898308);let a=r.default.createContext(null);e.s(["Overlay",0,function(e){let s=(0,o.useIsSSR)(),{portalContainer:u=s?null:document.body,isExiting:c}=e,[d,f]=(0,r.useState)(!1),p=(0,r.useMemo)(()=>({contain:d,setContain:f}),[d,f]),{getContainer:h}=(0,t.useUNSAFE_PortalContext)();if(!e.portalContainer&&h&&(u=h()),!u)return null;let g=e.children;return e.disableFocusManagement||(g=r.default.createElement(n.FocusScope,{restoreFocus:!0,contain:(e.shouldContainFocus||d)&&!c},g)),g=r.default.createElement(a.Provider,{value:p},r.default.createElement(l.ClearPressResponder,null,g)),i.default.createPortal(g,u)},"useOverlayFocusContain",0,function(){let e=(0,r.useContext)(a),t=null==e?void 0:e.setContain;(0,s.useLayoutEffect)(()=>{null==t||t(!0)},[t])}])},616455,e=>{"use strict";var t=e.i(92488);let l=(0,t.createContext)({});e.s(["useUNSAFE_PortalContext",0,function(){var e;return null!=(e=(0,t.useContext)(l))?e:{}}])},615371,953793,e=>{"use strict";var t=e.i(693361),l=e.i(256866);let n="u">typeof HTMLElement&&"inert"in HTMLElement.prototype,r=new WeakMap,i=[];e.s(["ariaHideOutside",0,function(e,o){var s;let a=(0,t.getOwnerWindow)(null==e?void 0:e[0]),u=o instanceof a.Element?{root:o}:o,c=null!=(s=null==u?void 0:u.root)?s:document.body,d=(null==u?void 0:u.shouldUseInert)&&n,f=new Set(e),p=new Set,h=(e,t)=>{d&&e instanceof a.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof a.HTMLElement&&(e.inert=!1))},g=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))f.add(t);let t=e=>{if(p.has(e)||f.has(e)||e.parentElement&&p.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of f)if((0,l.nodeContains)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&m(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;null!=e;)m(e),e=n.nextNode()}},m=e=>{var t;let l=null!=(t=r.get(e))?t:0;(d&&e instanceof a.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"))&&0===l||(0===l&&h(e,!0),p.add(e),r.set(e,l+1))};i.length&&i[i.length-1].disconnect(),g(c);let y=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&t.target.isConnected&&![...f,...p].some(e=>(0,l.nodeContains)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?f.add(e):e instanceof Element&&g(e)});y.observe(c,{childList:!0,subtree:!0});let v={visibleNodes:f,hiddenNodes:p,observe(){y.observe(c,{childList:!0,subtree:!0})},disconnect(){y.disconnect()}};return i.push(v),()=>{for(let e of(y.disconnect(),p)){let t=r.get(e);null!=t&&(1===t?(h(e,!1),r.delete(e)):r.set(e,t-1))}v===i[i.length-1]?(i.pop(),i.length&&i[i.length-1].observe()):i.splice(i.indexOf(v),1)}},"keepVisible",0,function(e){let t=i[i.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}],615371);var o=e.i(393897),s=e.i(78927);let a={top:"top",bottom:"top",left:"left",right:"left"},u={top:"bottom",bottom:"top",left:"right",right:"left"},c={top:"left",left:"top"},d={top:"height",left:"width"},f={width:"totalWidth",height:"totalHeight"},p={};function h(e,t){var l,n,r,i,s;let a=0,u=0,c=0,d=0,f=0,p=0,h={},g=(null!=(l=null==t?void 0:t.scale)?l:1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let l=document.documentElement;c=l.clientWidth,d=l.clientHeight,a=null!=(n=null==t?void 0:t.width)?n:c,u=null!=(r=null==t?void 0:t.height)?r:d,h.top=l.scrollTop||e.scrollTop,h.left=l.scrollLeft||e.scrollLeft,t&&(f=t.offsetTop,p=t.offsetLeft)}else({width:a,height:u,top:f,left:p}=S(e,!1)),h.top=e.scrollTop,h.left=e.scrollLeft,c=a,d=u;return(0,o.isWebKit)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&g&&(h.top=0,h.left=0,f=null!=(i=null==t?void 0:t.pageTop)?i:0,p=null!=(s=null==t?void 0:t.pageLeft)?s:0),{width:a,height:u,totalWidth:c,totalHeight:d,scroll:h,top:f,left:p}}function g(e,t,l,n,r,i,o){var s;let u=null!=(s=r.scroll[e])?s:0,c=n[d[e]],f=o[e]+n.scroll[a[e]]+i,p=o[e]+n.scroll[a[e]]+c-i,h=t-u+n.scroll[a[e]]+o[e]-n[a[e]],g=t-u+l+n.scroll[a[e]]+o[e]-n[a[e]];return h<f?f-h:g>p?Math.max(p-g,f-h):0}function m(e){if(p[e])return p[e];let[t,l]=e.split(" "),n=a[t]||"right",r=c[n];a[l]||(l="center");let i=d[n],o=d[r];return p[e]={placement:t,crossPlacement:l,axis:n,crossAxis:r,size:i,crossSize:o},p[e]}function y(e,t,l,n,r,i,o,a,c,d,p){var h,g,m,y,v;let{placement:b,crossPlacement:S,axis:C,crossAxis:w,size:E,crossSize:P}=n,x={};x[w]=null!=(h=e[w])?h:0,"center"===S?x[w]+=((null!=(g=e[P])?g:0)-(null!=(m=l[P])?m:0))/2:S!==w&&(x[w]+=(null!=(y=e[P])?y:0)-(null!=(v=l[P])?v:0)),x[w]+=i;let K=e[w]-l[P]+c+d,k=e[w]+e[P]-c-d;if(x[w]=(0,s.clamp)(x[w],K,k),b===C){let t=a?p[E]:p[f[E]];x[u[C]]=Math.floor(t-e[C]+r)}else x[C]=Math.floor(e[C]+e[E]+r);return x}function v(e,t,l,n,r,i,o,s){var a,c,d,f;let{placement:p,axis:h,size:g}=i;return p===h?Math.max(0,l[h]-(null!=(a=o.scroll[h])?a:0)-(e[h]+(s?t[h]:0))-(null!=(c=n[h])?c:0)-n[u[h]]-r):Math.max(0,e[g]+e[h]+(s?t[h]:0)-l[h]-l[g]+(null!=(d=o.scroll[h])?d:0)-(null!=(f=n[h])?f:0)-n[u[h]]-r)}function b(e,t){let{top:l,left:n,width:r,height:i}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(r=e.offsetWidth,i=e.offsetHeight),{top:l,left:n,width:r,height:i}}function S(e,t){let{top:l,left:n,width:r,height:i}=b(e,t),{scrollTop:o,scrollLeft:s,clientTop:a,clientLeft:u}=document.documentElement;return{top:l+o-a,left:n+s-u,width:r,height:i}}function C(e,t,l){let n,r=window.getComputedStyle(e);
1if("fixed"===r.position)n=b(e,l);else{n=S(e,l);let r=S(t,l),i=window.getComputedStyle(t);r.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function w(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}e.s(["calculatePosition",0,function(e){var t,n,r,i;let o,{placement:c,targetNode:d,overlayNode:p,scrollNode:b,padding:E,shouldFlip:P,boundaryElement:x,offset:K,crossOffset:k,maxHeight:D,arrowSize:R=0,arrowBoundaryOffset:M=0}=e,N="u">typeof document?window.visualViewport:null,T=p instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!w(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!w(t);)t=t.parentElement;return t||document.documentElement}(p):document.documentElement,L=T===document.documentElement,F=window.getComputedStyle(T).position,I=L?S(d,!1):C(d,T,!1);if(!L){let{marginTop:e,marginLeft:t}=window.getComputedStyle(d);I.top+=parseInt(e,10)||0,I.left+=parseInt(t,10)||0}let O=S(p,!0),A={top:parseInt((o=window.getComputedStyle(p)).marginTop,10)||0,bottom:parseInt(o.marginBottom,10)||0,left:parseInt(o.marginLeft,10)||0,right:parseInt(o.marginRight,10)||0};return O.width+=(null!=(t=A.left)?t:0)+(null!=(n=A.right)?n:0),O.height+=(null!=(r=A.top)?r:0)+(null!=(i=A.bottom)?i:0),b.scrollTop,b.scrollLeft,b.scrollWidth,b.scrollHeight,function(e,t,l,n,r,i,o,c,d,p,h,b,S,C,w,E,P){var x,K,k,D,R,M,N,T,L,F,I,O,A,z,_,B;let V,H,j,U=m(e),{size:W,crossAxis:$,crossSize:q,placement:Z,crossPlacement:G}=U,J=y(t,o,l,U,p,h,d,b,C,w,c),X=p,Y=v(o,d,t,n,r+p,U,c,E);if(i&&l[W]>Y){let e=m(`${u[Z]} ${G}`),i=y(t,o,l,e,p,h,d,b,C,w,c);v(o,d,t,n,r+p,e,c,E)>Y&&(U=e,J=i,X=p)}let Q="bottom";"top"===U.axis?"top"===U.placement?Q="top":"bottom"===U.placement&&(Q="bottom"):"top"===U.crossAxis&&("top"===U.crossPlacement?Q="bottom":"bottom"===U.crossPlacement&&(Q="top"));let ee=g($,J[$],l[q],o,c,r,d);J[$]+=ee;let et=(R=J,M=l.height,N=Q,V=(null!=R.top?R.top:c[f.height]-(null!=(T=R.bottom)?T:0)-M)-(null!=(L=c.scroll.top)?L:0),H=E?d.top:0,j={top:Math.max(o.top+H,(null!=(F=null==P?void 0:P.offsetTop)?F:o.top)+H),bottom:Math.min(o.top+o.height+H,(null!=(I=null==P?void 0:P.offsetTop)?I:0)+(null!=(O=null==P?void 0:P.height)?O:0))},"top"!==N?Math.max(0,j.bottom-V-((null!=(A=n.top)?A:0)+(null!=(z=n.bottom)?z:0)+r)):Math.max(0,V+M-j.top-((null!=(_=n.top)?_:0)+(null!=(B=n.bottom)?B:0)+r)));S&&S<et&&(et=S),l.height=Math.min(l.height,et),ee=g($,(J=y(t,o,l,U,X,h,d,b,C,w,c))[$],l[q],o,c,r,d),J[$]+=ee;let el={},en=t[$]-J[$]-n[a[$]],er=en+.5*t[q],ei=C/2+w,eo="left"===a[$]?(null!=(x=n.left)?x:0)+(null!=(K=n.right)?K:0):(null!=(k=n.top)?k:0)+(null!=(D=n.bottom)?D:0),es=l[q]-eo-C/2-w,ea=t[$]+C/2-(J[$]+n[a[$]]),eu=t[$]+t[q]-C/2-(J[$]+n[a[$]]),ec=(0,s.clamp)(er,ea,eu);el[$]=(0,s.clamp)(ec,ei,es),({placement:Z,crossPlacement:G}=U),C?en=el[$]:"right"===G?en+=t[q]:"center"===G&&(en+=t[q]/2);let ed="left"===Z||"top"===Z?l[W]:0,ef={x:"top"===Z||"bottom"===Z?en:ed,y:"left"===Z||"right"===Z?en:ed};return{position:J,maxHeight:et,arrowOffsetLeft:el.left,arrowOffsetTop:el.top,placement:Z,triggerAnchorPoint:ef}}(c,I,O,A,E,P,h(x,N),h(T,N),C(x,T,!1),K,k,!!F&&"static"!==F,D,R,M,(0,l.nodeContains)(x,T),N)},"getRect",0,b],953793)},25001,e=>{"use strict";var t=e.i(256866),l=e.i(92488);let n=new WeakMap;e.s(["onCloseMap",0,n,"useCloseOnScroll",0,function(e){let{triggerRef:r,isOpen:i,onClose:o}=e;(0,l.useEffect)(()=>{if(!i||null===o)return;let e=e=>{let l=e.target;if(!r.current||l instanceof Node&&!(0,t.nodeContains)(l,r.current)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let i=o||n.get(r.current);i&&i()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[i,o,r])}])},599844,119455,406578,384020,e=>{"use strict";let t;var l=e.i(615371),n=e.i(953793),r=e.i(25001),i=e.i(256866),o=e.i(898308),s=e.i(735239),a=e.i(92488),u=e.i(354799);let c="u">
1typeof document?window.visualViewport:null;var d=e.i(999360),f=e.i(642996),p=e.i(693361);function h(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!(0,i.nodeContains)(t.documentElement,e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var g=e.i(855056);let m=[];function y(e,t){let{onClose:l,shouldCloseOnBlur:n,isOpen:r,isDismissable:i=!1,isKeyboardDismissDisabled:o=!1,shouldCloseOnInteractOutside:s}=e,u=(0,a.useRef)(void 0);(0,a.useEffect)(()=>{if(r&&!m.includes(t))return m.push(t),()=>{let e=m.indexOf(t);e>=0&&m.splice(e,1)}},[r,t]);let c=()=>{m[m.length-1]===t&&l&&l()};!function(e){let{ref:t,onInteractOutside:l,isDisabled:n,onInteractOutsideStart:r}=e,i=(0,a.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=(0,f.useEffectEvent)(e=>{l&&h(e,t)&&(r&&r(e),i.current.isPointerDown=!0)}),s=(0,f.useEffectEvent)(e=>{l&&l(e)});(0,a.useEffect)(()=>{let e=i.current;if(n)return;let l=t.current,r=(0,p.getOwnerDocument)(l);if("u">typeof PointerEvent){let l=l=>{e.isPointerDown&&h(l,t)&&s(l),e.isPointerDown=!1};return r.addEventListener("pointerdown",o,!0),r.addEventListener("click",l,!0),()=>{r.removeEventListener("pointerdown",o,!0),r.removeEventListener("click",l,!0)}}},[t,n])}({ref:t,onInteractOutside:i&&r?e=>{(!s||s(e.target))&&(m[m.length-1]===t&&(e.stopPropagation(),e.preventDefault()),u.current===t&&c()),u.current=void 0}:void 0,onInteractOutsideStart:e=>{let l=m[m.length-1];u.current=l,(!s||s(e.target))&&l===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:y}=(0,g.useFocusWithin)({isDisabled:!n,onBlurWithin:e=>{!(!e.relatedTarget||(0,d.isElementInChildOfActiveScope)(e.relatedTarget))&&(!s||s(e.relatedTarget))&&(null==l||l())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||o||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),c())},...y},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}e.s(["useOverlay",0,y],119455);var v=e.i(393897),b=e.i(700718),S=e.i(47405),C=e.i(293565),w=e.i(259662);let E="u">typeof document&&window.visualViewport,P=0;function x(e={}){let{isDisabled:l}=e;(0,o.useLayoutEffect)(()=>{if(!l){let e,l,n,r,i,o;return 1==++P&&(t=(0,v.isIOS)()?(l=!1,(n=document.createElement("style")).textContent=`
2@layer {
3  * {
4    overscroll-behavior: contain;
5  }
6}`.trim(),document.head.prepend(n),r=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=null!=document.activeElement&&(0,w.willOpenKeyboard)(document.activeElement);r.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||D(this,t)},i=(0,b.chain)(k(document,"touchstart",t=>{let n=t.target;e=(0,S.isScrollable)(n)?n:(0,C.getScrollParent)(n,!0),l=!1;let r=n.ownerDocument.defaultView.getSelection();r&&!r.isCollapsed&&r.containsNode(n,!0)&&(l=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(l=!0),"selectionStart"in n&&"selectionEnd"in n&&n.selectionStart<n.selectionEnd&&n.ownerDocument.activeElement===n&&(l=!0)},{passive:!1,capture:!0}),k(document,"touchmove",t=>{if(2!==t.touches.length&&!l){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}),k(document,"blur",e=>{let t=e.target,l=e.relatedTarget;if(l&&(0,w.willOpenKeyboard)(l))l.focus({preventScroll:!0}),D(l,(0,w.willOpenKeyboard)(t));else if(!l){var n;let e=null==(n=t.parentElement)?void 0:n.closest("[tabindex]");null==e||e.focus({preventScroll:!0})}},!0)),()=>{i(),n.remove(),HTMLElement.prototype.focus=r}):(o=window.innerWidth-document.documentElement.clientWidth,(0,b.chain)(o>0&&("scrollbarGutter"in document.documentElement.style?K(document.documentElement,"scrollbarGutter","stable"):K(document.documentElement,"paddingRight",`${o}px`)),K(document.documentElement,"overflow","hidden")))),()=>{0==--P&&t()}}},[l])}function K(e,t,l){let n=e.style[t];return e.style[t]=l,()=>{e.style[t]=n}}function k(e,t,l,n){return e.addEventListener(t,l,n),()=>{e.removeEventListener(t,l,n)}}function D(e,t){t||!E?R(e):E.addEventListener("resize",()=>R(e),{once:!0})}function R(e){let t=document.scrollingElement||document.documentElement,l=e;for(;l&&l!==t;){let e=(0,C.getScrollParent)(l);if(e!==document.documentElement&&e!==document.body&&e!==l){let t=e.getBoundingClientRect(),n=l.getBoundingClientRect();if(n.top<t.top||n.bottom>t.top+l.clientHeight){let l=t.bottom;E&&(l=Math.min(l,E.offsetTop+E.height));let r=n.top-t.top-((l-t.top)/2-n.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+r)),behavior:"smooth"})}}l=e.parentElement}}e.s(["usePreventScroll",0,x],406578);var M=e.i(670478);e.s(["usePopover",0,function(e,t){let{triggerRef:d,popoverRef:f,groupRef:p,isNonModal:h,isKeyboardDismissDisabled:g,shouldCloseOnInteractOutside:m,...v}=e,b="SubmenuTrigger"===v.trigger,{overlayProps:S,underlayProps:C}
6=y({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!h||b,isKeyboardDismissDisabled:g,shouldCloseOnInteractOutside:m},null!=p?p:f),{overlayProps:w,arrowProps:E,placement:P,triggerAnchorPoint:K}=function(e){var t,l,d,f;let{direction:p}=(0,u.useLocale)(),{arrowSize:h,targetRef:g,overlayRef:m,arrowRef:y,scrollRef:v=m,placement:b="bottom",containerPadding:S=12,shouldFlip:C=!0,boundaryElement:w="u">typeof document?document.body:null,offset:E=0,crossOffset:P=0,shouldUpdatePosition:x=!0,isOpen:K=!0,onClose:k,maxHeight:D,arrowBoundaryOffset:R=0}=e,[M,N]=(0,a.useState)(null),T=[x,b,m.current,g.current,null==y?void 0:y.current,v.current,S,C,w,E,P,K,p,D,R,h],L=(0,a.useRef)(null==c?void 0:c.scale);(0,a.useEffect)(()=>{K&&(L.current=null==c?void 0:c.scale)},[K]);let F=(0,a.useCallback)(()=>{var e,t,l,r,o,s;if(!1===x||!K||!m.current||!g.current||!w||(null==c?void 0:c.scale)!==L.current)return;let a=null;if(v.current&&(0,i.nodeContains)(v.current,document.activeElement)){let n=null==(e=document.activeElement)?void 0:e.getBoundingClientRect(),r=v.current.getBoundingClientRect();(a={type:"top",offset:(null!=(t=null==n?void 0:n.top)?t:0)-r.top}).offset>r.height/2&&(a.type="bottom",a.offset=(null!=(l=null==n?void 0:n.bottom)?l:0)-r.bottom)}let u=m.current;!D&&m.current&&(u.style.top="0px",u.style.bottom="",u.style.maxHeight=(null!=(o=null==(r=window.visualViewport)?void 0:r.height)?o:window.innerHeight)+"px");let d=(0,n.calculatePosition)({placement:(s=b,"rtl"===p?s.replace("start","right").replace("end","left"):s.replace("start","left").replace("end","right")),overlayNode:m.current,targetNode:g.current,scrollNode:v.current||m.current,padding:S,shouldFlip:C,boundaryElement:w,offset:E,crossOffset:P,maxHeight:D,arrowSize:null!=h?h:(null==y?void 0:y.current)?(0,n.getRect)(y.current,!0).width:0,arrowBoundaryOffset:R});if(d.position){if(u.style.top="",u.style.bottom="",u.style.left="",u.style.right="",Object.keys(d.position).forEach(e=>u.style[e]=d.position[e]+"px"),u.style.maxHeight=null!=d.maxHeight?d.maxHeight+"px":"",a&&document.activeElement&&v.current){let e=document.activeElement.getBoundingClientRect(),t=v.current.getBoundingClientRect(),l=e[a.type]-t[a.type];v.current.scrollTop+=l-a.offset}N(d)}},T);(0,o.useLayoutEffect)(F,T),f=F,(0,o.useLayoutEffect)(()=>(window.addEventListener("resize",f,!1),()=>{window.removeEventListener("resize",f,!1)}),[f]),(0,s.useResizeObserver)({ref:m,onResize:F}),(0,s.useResizeObserver)({ref:g,onResize:F});let I=(0,a.useRef)(!1);(0,o.useLayoutEffect)(()=>{let e,t=()=>{I.current=!0,clearTimeout(e),e=setTimeout(()=>{I.current=!1},500),F()},l=()=>{I.current&&t()};return null==c||c.addEventListener("resize",t),null==c||c.addEventListener("scroll",l),()=>{null==c||c.removeEventListener("resize",t),null==c||c.removeEventListener("scroll",l)}},[F]);let O=(0,a.useCallback)(()=>{I.current||null==k||k()},[k,I]);return(0,r.useCloseOnScroll)({triggerRef:g,isOpen:K,onClose:k&&O}),{overlayProps:{style:{position:M?"absolute":"fixed",top:M?void 0:0,left:M?void 0:0,zIndex:1e5,...null==M?void 0:M.position,maxHeight:null!=(t=null==M?void 0:M.maxHeight)?t:"100vh"}},placement:null!=(l=null==M?void 0:M.placement)?l:null,triggerAnchorPoint:null!=(d=null==M?void 0:M.triggerAnchorPoint)?d:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==M?void 0:M.arrowOffsetLeft,top:null==M?void 0:M.arrowOffsetTop}},updatePosition:F}}({...v,targetRef:d,overlayRef:f,isOpen:t.isOpen,onClose:h&&!b?t.close:null});return x({isDisabled:h||!t.isOpen}),(0,a.useEffect)(()=>{if(t.isOpen&&f.current){var e,n;return h?(0,l.keepVisible)(null!=(e=null==p?void 0:p.current)?e:f.current):(0,l.ariaHideOutside)([null!=(n=null==p?void 0:p.current)?n:f.current],{shouldUseInert:!0})}},[h,t.isOpen,f,p]),{popoverProps:(0,M.mergeProps)(S,w),arrowProps:E,underlayProps:C,placement:P,triggerAnchorPoint:K}}],599844);var N={};N={"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,N],384020)},86130,109791,481596,e=>{"use strict";var t=e.i(287811),l=e.i(835614),n=e.i(119749),r=e.i(256866),i=e.i(259662),o=e.i(217663),s=e.i(283298),a=e.i(286759),u=e.i(251801),c=e.i(311344),d=e.i(234315),f=e.i(670478),p=e.i(999360),h=e.i(693361);function g(e){var t,l,n;let i,o,s=(t=(0,h.getOwnerDocument)(e),(o=null==(i=(0,r.getActiveElement)(t))?void 0:i.getAttribute("aria-activedescendant"))&&t.getElementById(o)||i);s!==e&&(s&&(l=s,n=e,l.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),l.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))),e&&m(e,s))}function m(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}e.s(["dispatchVirtualFocus",0,m,"moveVirtualFocus",0,g],109791);var y=e.i(50987),v=e.i(92488),b=e.i(564872),S=e.i(830947),C=e.i(354799);function w(e,t){let l=[],n=t;for(;(null==n?void 0:n.parentKey)!=null;)(n=e.getItem(n.parentKey))&&l.unshift(n);return l}e.s(["useSelectableCollection",0,function(e){let h,{selectionManager:w,keyboardDelegate:E,ref:P,autoF
6ocus:x=!1,shouldFocusWrap:K=!1,disallowEmptySelection:k=!1,disallowSelectAll:D=!1,escapeKeyBehavior:R="clearSelection",selectOnFocus:M="replace"===w.selectionBehavior,disallowTypeAhead:N=!1,shouldUseVirtualFocus:T,allowsTabNavigation:L=!1,scrollRef:F=P,linkBehavior:I="action"}=e,{direction:O}=(0,C.useLocale)(),A=(0,n.useRouter)(),z=(0,v.useRef)({top:0,left:0});(0,a.useEvent)(F,"scroll",()=>{var e,t,l,n;z.current={top:null!=(l=null==(e=F.current)?void 0:e.scrollTop)?l:0,left:null!=(n=null==(t=F.current)?void 0:t.scrollLeft)?n:0}});let _=(0,v.useRef)(!1);(0,a.useEvent)(P,c.FOCUS_EVENT,T?e=>{let{detail:t}=e;e.stopPropagation(),w.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(_.current=!0)}:void 0),(0,d.useUpdateLayoutEffect)(()=>{if(_.current){var e,t;let l=null!=(t=null==(e=E.getFirstKey)?void 0:e.call(E))?t:null;if(null==l){let e=(0,r.getActiveElement)();g(P.current),m(e,null),w.collection.size>0&&(_.current=!1)}else w.setFocusedKey(l),_.current=!1}},[w.collection]),(0,d.useUpdateLayoutEffect)(()=>{w.collection.size>0&&(_.current=!1)},[w.focusedKey]),(0,a.useEvent)(P,c.CLEAR_FOCUS_EVENT,T?e=>{var t;e.stopPropagation(),w.setFocused(!1),(null==(t=e.detail)?void 0:t.clearFocusKey)&&w.setFocusedKey(null)}:void 0);let B=(0,v.useRef)(x),V=(0,v.useRef)(!1);(0,v.useEffect)(()=>{if(B.current){var e,t,l,n;let r=null;"first"===x&&(r=null!=(l=null==(e=E.getFirstKey)?void 0:e.call(E))?l:null),"last"===x&&(r=null!=(n=null==(t=E.getLastKey)?void 0:t.call(E))?n:null);let i=w.selectedKeys;if(i.size){for(let e of i)if(w.canSelectItem(e)){r=e;break}}w.setFocused(!0),w.setFocusedKey(r),null==r&&!T&&P.current&&(0,S.focusSafely)(P.current),w.collection.size>0&&(B.current=!1,V.current=!0)}});let H=(0,v.useRef)(w.focusedKey),j=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(w.isFocused&&null!=w.focusedKey&&(w.focusedKey!==H.current||V.current)&&F.current&&P.current){let e=(0,b.getInteractionModality)(),l=(0,t.getItemElement)(P,w.focusedKey);if(!(l instanceof HTMLElement))return;("keyboard"===e||V.current)&&(j.current&&cancelAnimationFrame(j.current),j.current=requestAnimationFrame(()=>{F.current&&((0,u.scrollIntoView)(F.current,l),"virtual"!==e&&(0,u.scrollIntoViewport)(l,{containingElement:P.current}))}))}!T&&w.isFocused&&null==w.focusedKey&&null!=H.current&&P.current&&(0,S.focusSafely)(P.current),H.current=w.focusedKey,V.current=!1}),(0,v.useEffect)(()=>()=>{j.current&&cancelAnimationFrame(j.current)},[]),(0,a.useEvent)(P,"react-aria-focus-scope-restore",e=>{e.preventDefault(),w.setFocused(!0)});let U={onKeyDown:e=>{var l,n,a,u,c,d,f,h,g,m,v,b;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!P.current||!(0,r.nodeContains)(P.current,e.target))return;let S=(l,n)=>{if(null!=l){if(w.isLink(l)&&"selection"===I&&M&&!(0,t.isNonContiguousSelectionModifier)(e)){(0,y.flushSync)(()=>{w.setFocusedKey(l,n)});let r=(0,t.getItemElement)(P,l),i=w.getItemProps(l);r&&A.open(r,e,i.href,i.routerOptions);return}w.setFocusedKey(l,n),w.isLink(l)&&"override"===I||(e.shiftKey&&"multiple"===w.selectionMode?w.extendSelection(l):M&&!(0,t.isNonContiguousSelectionModifier)(e)&&w.replaceSelection(l))}};switch(e.key){case"ArrowDown":if(E.getKeyBelow){let t=null!=w.focusedKey?null==(l=E.getKeyBelow)?void 0:l.call(E,w.focusedKey):null==(n=E.getFirstKey)?void 0:n.call(E);null==t&&K&&(t=null==(a=E.getFirstKey)?void 0:a.call(E,w.focusedKey)),null!=t&&(e.preventDefault(),S(t))}break;case"ArrowUp":if(E.getKeyAbove){let t=null!=w.focusedKey?null==(u=E.getKeyAbove)?void 0:u.call(E,w.focusedKey):null==(c=E.getLastKey)?void 0:c.call(E);null==t&&K&&(t=null==(d=E.getLastKey)?void 0:d.call(E,w.focusedKey)),null!=t&&(e.preventDefault(),S(t))}break;case"ArrowLeft":if(E.getKeyLeftOf){let t=null!=w.focusedKey?null==(f=E.getKeyLeftOf)?void 0:f.call(E,w.focusedKey):null;null==t&&K&&(t="rtl"===O?null==(h=E.getFirstKey)?void 0:h.call(E,w.focusedKey):null==(g=E.getLastKey)?void 0:g.call(E,w.focusedKey)),null!=t&&(e.preventDefault(),S(t,"rtl"===O?"first":"last"))}break;case"ArrowRight":if(E.getKeyRightOf){let t=null!=w.focusedKey?null==(m=E.getKeyRightOf)?void 0:m.call(E,w.focusedKey):null;null==t&&K&&(t="rtl"===O?null==(v=E.getLastKey)?void 0:v.call(E,w.focusedKey):null==(b=E.getFirstKey)?void 0:b.call(E,w.focusedKey)),null!=t&&(e.preventDefault(),S(t,"rtl"===O?"last":"first"))}break;case"Home":if(E.getFirstKey){if(null===w.focusedKey&&e.shiftKey)return;e.preventDefault();let t=E.getFirstKey(w.focusedKey,(0,i.isCtrlKeyPressed)(e));w.setFocusedKey(t),null!=t&&((0,i.isCtrlKeyPressed)(e)&&e.shiftKey&&"multiple"===w.selectionMode?w.extendSelection(t):M&&w.replaceSelection(t))}break;case"End":if(E.getLastKey){if(null===w.focusedKey&&e.shiftKey)return;e.preventDefault();let t=E.getLastKey(w.focusedKey,(0,i.isCtrlKeyPressed)(e));w.setFocusedKey(t),null!=t&&((0,i.isCtrlKeyPressed)(e)&&e.shiftKey&&"multiple"===w.selectionMode?w.extendSelection(t):M&&w.replaceSelection(t))}break;case"PageDown":if(E.getKeyPageBelow&&null!=w.focusedKey){let t=E.getKeyPageBelow(w.focusedKey);null!=t&&(e.preventDefault(),S(t))}break;case"PageUp":if(E.getKeyPageAbove&&null!=w.focusedKey){let t=E.getKeyPageAbove(w.focusedKey);null!=t&&(e.preventDefault(),S(t))}break;case"a":(0,i.isCtrlKeyPressed)(e)&&"multiple"===w.selectionMode&&!0!==D&&(e.preventDefault(),w.selectAll());break;case"Escape":"clearSelection"!==R||k||0===w.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),w.clearSelection());break;case"Tab":if(!L)if(e.shiftKey)P.current.focus();else{let e,t,l=(0,p.getFocusableTreeWalker)(P.current,{tabbable:!0});do(t=l.lastChild())&&(e=t);while(t)e&&(!(0,r.nodeContains)(e,document.activeElement)||document.activeElement&&!(0,o.isTabbable)(document.activeElement))&&(0,s.focusWithoutScrolling)(e)}}},onFocus:e=>{if(w.isFocused){(0,r.nodeContains)(e.currentTarget,e.target)||w.setFocused(!1);return}if((0,r.nodeContains)(e.currentTarget,e.target)){if(w.setFocused(!0),null==w.focusedKey){var l,n,i,o;let t=e=>{null!=e&&(w.setFocusedKey(e),M&&!w.isSelected(e)&&w.replaceSelection(e))},r=e.relatedTarget;r&&e.currentTarget.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING?t(null!=(i=w.lastSelectedKey)?i:null==(l=E.getLastKey)?void 0:l.call(E)):t(null!=(o=w.firstSelectedKey)?o:null==(n=E.getFirstKey)?void 0:n.call(E))}else F.current&&(F.current.scrollTop=z.current.top,F.current.scrollLeft=z.current.left);if(null!=w.focusedKey&&F.current){let e=(0,t.getItemElement)(P,w.focusedKey);e instanceof HTMLElement&&((0,r.nodeContains)(e,document.activeElement)||T||(0,s.focusWithoutScrolling)(e),"keyboard"===(0,b.getInteractionModality)()&&(0,u.scrollIntoViewport)(e,{containingElement:P.current}))}}},onBlur:e=>{(0,r.nodeContains)(e.currentTarget,e.relatedTarget)||w.setFocused(!1)},onMouseDown(e){F.current===e.target&&e.preventDefault()}}
6,{typeSelectProps:W}=(0,l.useTypeSelect)({keyboardDelegate:E,selectionManager:w});N||(U=(0,f.mergeProps)(W,U)),T||(h=null==w.focusedKey?0:-1);let $=(0,t.useCollectionId)(w.collection);return{collectionProps:(0,f.mergeProps)(U,{tabIndex:h,"data-collection":$})}}],86130),e.s(["compareNodeOrder",0,function(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let n=[...w(e,t),t],r=[...w(e,l),l],i=n.slice(0,r.length).findIndex((e,t)=>e!==r[t]);return -1!==i?(t=n[i],l=r[i],t.index-l.index):n.findIndex(e=>e===l)>=0?1:(r.findIndex(e=>e===t),-1)},"getChildNodes",0,function(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes},"getFirstItem",0,function(e){var t=e;!1;let l=0;for(let e of t){if(0===l)return e;l++}}],481596)},757220,925947,779028,100700,e=>{"use strict";var t=e.i(287811),l=e.i(119749),n=e.i(5201),r=e.i(259662),i=e.i(670478),o=e.i(700718),s=e.i(830947),a=e.i(337270),u=e.i(580350),c=e.i(109791),d=e.i(92488);e.s(["useSelectableItem",0,function(e){let{id:f,selectionManager:p,key:h,ref:g,shouldSelectOnPressUp:m,shouldUseVirtualFocus:y,focus:v,isDisabled:b,onAction:S,allowsDifferentPressOrigin:C,linkBehavior:w="action"}=e,E=(0,l.useRouter)();f=(0,n.useId)(f);let P=e=>{if("keyboard"===e.pointerType&&(0,t.isNonContiguousSelectionModifier)(e))p.toggleSelection(h);else{if("none"===p.selectionMode)return;if(p.isLink(h)){if("selection"===w&&g.current){let t=p.getItemProps(h);E.open(g.current,e,t.href,t.routerOptions),p.setSelectedKeys(p.selectedKeys);return}else if("override"===w||"none"===w)return}"single"===p.selectionMode?p.isSelected(h)&&!p.disallowEmptySelection?p.toggleSelection(h):p.replaceSelection(h):e&&e.shiftKey?p.extendSelection(h):"toggle"===p.selectionBehavior||e&&((0,r.isCtrlKeyPressed)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?p.toggleSelection(h):p.replaceSelection(h)}};(0,d.useEffect)(()=>{h===p.focusedKey&&p.isFocused&&(y?(0,c.moveVirtualFocus)(g.current):v?v():document.activeElement!==g.current&&g.current&&(0,s.focusSafely)(g.current))},[g,h,p.focusedKey,p.childFocusStrategy,p.isFocused,y]),b=b||p.isDisabled(h);let x={};y||b?b&&(x.onMouseDown=e=>{e.preventDefault()}):x={tabIndex:h===p.focusedKey?0:-1,onFocus(e){e.target===g.current&&p.setFocusedKey(h)}},(0,d.useEffect)(()=>{b&&p.focusedKey===h&&p.setFocusedKey(null)},[p,b,h]);let K=p.isLink(h)&&"override"===w,k=S&&"action"===e.UNSTABLE_itemBehavior,D=p.isLink(h)&&"selection"!==w&&"none"!==w,R=!b&&p.canSelectItem(h)&&!K&&!k,M=(S||D)&&!b,N=M&&("replace"===p.selectionBehavior?!R:!R||p.isEmpty),T=M&&R&&"replace"===p.selectionBehavior,L=N||T,F=(0,d.useRef)(null),I=L&&R,O=(0,d.useRef)(!1),A=(0,d.useRef)(!1),z=p.getItemProps(h),_=e=>{if(S){var t;S(),null==(t=g.current)||t.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))}D&&g.current&&E.open(g.current,e,z.href,z.routerOptions)},B={ref:g};if(m?(B.onPressStart=e=>{F.current=e.pointerType,O.current=I,"keyboard"!==e.pointerType||L&&" "!==e.key||P(e)},C?(B.onPressUp=N?void 0:e=>{"mouse"===e.pointerType&&R&&P(e)},B.onPress=N?_:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&R&&P(e)}):B.onPress=e=>{N||T&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&_(e):"keyboard"!==e.pointerType&&R&&P(e)}):(B.onPressStart=e=>{F.current=e.pointerType,O.current=I,A.current=N,!R||("mouse"!==e.pointerType||N)&&("keyboard"!==e.pointerType||M&&" "!==e.key)||P(e)},B.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&L&&"Enter"===e.key||"mouse"===e.pointerType&&A.current)&&(L?_(e):R&&P(e))}),x["data-collection"]=(0,t.getCollectionId)(p.collection),x["data-key"]=h,B.preventFocusOnPress=y,y&&(B=(0,i.mergeProps)(B,{onPressStart(e){"touch"!==e.pointerType&&(p.setFocused(!0),p.setFocusedKey(h))},onPress(e){"touch"===e.pointerType&&(p.setFocused(!0),p.setFocusedKey(h))}})),z)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])z[e]&&(B[e]=(0,o.chain)(B[e],z[e]));let{pressProps:V,isPressed:H}=(0,a.usePress)(B),j=T?e=>{"mouse"===F.current&&(e.stopPropagation(),e.preventDefault(),_(e))}:void 0,{longPressProps:U}=(0,u.useLongPress)({isDisabled:!I,onLongPress(e){"touch"===e.pointerType&&(P(e),p.setSelectionBehavior("toggle"))}}),W="none"!==w&&p.isLink(h)?e=>{l.openLink.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,i.mergeProps)(x,R||N||y&&!b?V:{},I?U:{},{onDoubleClick:j,onDragStartCapture:e=>{"touch"===F.current&&O.current&&e.preventDefault()},onClick:W,id:f},y?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:H,isSelected:p.isSelected(h),isFocused:p.isFocused&&p.focusedKey===h,isDisabled:b,allowsSelection:R,hasAction:L}}],757220);class f extends Set{constructor(e,t,l){super(e),e instanceof f?(this.anchorKey=null!=t?t:e.anchorKey,this.currentKey=null!=l?l:e.currentKey):(this.anchorKey=null!=t?t:null,this.currentKey=null!=l?l:null)}}var p=e.i(806545);function h(e,t){return e?"all"===e?"all":new f(e):t}e.s(["useMultipleSelectionState",0,function(e){let{selectionMode:t="none",disallowEmptySelection:l=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:i="all"}=e,o=(0,d.useRef)(!1),[,s]=(0,d.useState)(!1),a=(0,d.useRef)(null),u=(0,d.useRef)(null),[,c]=(0,d.useState)(null),g=(0,d.useMemo)(()=>h(e.selectedKeys),[e.selectedKeys]),m=(0,d.useMemo)(()=>h(e.defaultSelectedKeys,new f),[e.defaultSelectedKeys]),[y,v]=(0,p.useControlledState)(g,m,e.onSelectionChange),b=(0,d.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[S,C]=(0,d.useState)(r);"replace"===r&&"toggle"===S&&"object"==typeof y&&0===y.size&&C("replace");let w=(0,d.useRef)(r);return(0,d.useEffect)(()=>{r!==w.current&&(C(r),w.current=r)},[r]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:S,setSelectionBehavior:C,get isFocused(){return o.current},setFocused(e){o.current=e,s(e)},get focusedKey(){return a.current},get childFocusStrategy(){return u.current},setFocusedKey(e,t="first"){a.current=e,u.current=t,c(e)},selectedKeys:y,setSelectedKeys(e){(n||!function(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}(e,y))&&v(e)},disabledKeys:b,disabledBehavior:i}}],925947);var g=e.i(481596);e.s(["SelectionManager",0,class e{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(){var e;let t=null;for(let e of this.state.selectedKeys){let l=this.collection.getItem(e);(!t||l&&0>(0,g.compareNodeOrder)(this.collection,l,t))&&(t=l)}return null!=(e=null==t?void 0:t.key)?e:null}get lastSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let l=this.collection.getItem(e);(!t||l&&(0,g.compareNodeOrder)(this.collection,l,t)>0)&&(t=l)}return null!=(e=null==t?void 0:t.key)?e:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let l=this.getKey(e);if(null!=l){if("all"===this.state.selectedKeys)t=new f([l],l,l);else{var n,r;let e=this.state.selectedKeys,i=null!=(n=e.anchorKey)?n:l;for(let n of(t=new f(e,i,l),this.getKeyRange(i,null!=(r=e.currentKey)?r:l)))t.delete(n);for(let e of this.getKeyRange(l,i))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let l=this.collection.getItem(e),n=this.collection.getItem(t);return l&&n?0>=(0,g.compareNodeOrder)(this.collection,l,n)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var l;if(null==(l=this.layoutDelegate)?void 0:l.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let n=[],r=e;for(;null!=r;){let e=this.collection.getItem(r);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&n.push(r),r===t)return n;r=this.collection.getKeyAfter(r)}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 l=new f("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);l.has(t)?l.delete(t):this.canSelectItem(t)&&(l.add(t),l.anchorKey=t,l.currentKey=t),this.disallowEmptySelection&&0===l.size||this.state.setSelectedKeys(l)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let l=this.canSelectItem(t)?new f([t],t,t):new f;this.state.setSelectedKeys(l)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new f;for(let l of e){let e=this.getKey(l);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=l=>{for(;null!=l;){if(this.canSelectItem(l)){var n,r;let i=this.collection.getItem(l);(null==i?void 0:i.type)==="item"&&e.push(l),(null==i?void 0:i.hasChildNodes)&&(this.allowsCellSelection||"item"!==i.type)&&t(null!=(r=null==(n=(0,g.getFirstItem)((0,g.getChildNodes)(i,this.collection)))?void 0:n.key)?r:null)}l=this.collection.getKeyAfter(l)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new f)}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 l of e)if(!t.has(l))return!1;for(let l of t)if(!e.has(l))return!1;return!0}canSelectItem(e){var t;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let l=this.collection.getItem(e);return!!l&&(null==l||null==(t=l.props)||!t.isDisabled)&&("cell"!==l.type||!!this.allowsCellSelection)}isDisabled(e){var t,l;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(null==(l=this.collection.getItem(e))||null==(t=l.props)?void 0:t.isDisabled))}isLink(e){var t,l;return!!(null==(l=this.collection.getItem(e))||null==(t=l.props)?void 0:t.href)}getItemProps(e){var t;return null==(t=this.collection.getItem(e))?void 0:t.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(e,t,l){var n;this.collection=e,this.state=t,this.allowsCellSelection=null!=(n=null==l?void 0:l.allowsCellSelection)&&n,this._isSelectAll=null,this.layoutDelegate=(null==l?void 0:l.layoutDelegate)||null}}],779028);class m{build(e,t){return this.context=t,y(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:l}=e;if(d.default.isValidElement(t)&&t.type===d.default.Fragment)yield*this.iterateCollection({children:t.props.children,items:l});else if("function"==typeof t){if(!l)throw Error("props.children was a function but props.items is missing");let e=0;for(let n of l)yield*this.getFullNode({value:n,index:e},{renderer:t}),e++}else{let e=[];
6d.default.Children.forEach(t,t=>{t&&e.push(t)});let l=0;for(let t of e)for(let e of this.getFullNode({element:t,index:l},{}))l++,yield e}}getKey(e,t,l,n){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${n}${t.key}`;let r=t.value;if(null!=r){var i;let e=null!=(i=r.key)?i:r.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,t,l,n){var r,i,o,s,a,u,c,f;if(d.default.isValidElement(e.element)&&e.element.type===d.default.Fragment){let i=[];d.default.Children.forEach(e.element.props.children,e=>{i.push(e)});let o=null!=(r=e.index)?r:0;for(let e of i)yield*this.getFullNode({element:e,index:o++},t,l,n);return}let p=e.element;if(!p&&e.value&&t&&t.renderer){let l=this.cache.get(e.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=e.index,l.parentKey=n?n.key:null,yield l;return}p=t.renderer(e.value)}if(d.default.isValidElement(p)){let r=p.type;if("function"!=typeof r&&"function"!=typeof r.getCollectionNode){let e=p.type;throw Error(`Unknown element <${e}> in collection.`)}let c=r.getCollectionNode(p.props,this.context),d=null!=(i=e.index)?i:0,f=c.next();for(;!f.done&&f.value;){let r=f.value;e.index=d;let i=null!=(o=r.key)?o:null;null==i&&(i=r.element?null:this.getKey(p,e,t,l));let h=[...this.getFullNode({...r,key:i,index:d,wrapper:function(e,t){return e&&t?l=>e(t(l)):e||t||void 0}(e.wrapper,r.wrapper)},this.getChildState(t,r),l?`${l}${p.key}`:p.key,n)];for(let t of h){if(t.value=null!=(a=null!=(s=r.value)?s:e.value)?a:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${v(t.type)}> in <${v(null!=(u=null==n?void 0:n.type)?u:"unknown parent type")}>. Only <${v(e.type)}> is supported.`);d++,yield t}f=c.next(h)}return}if(null==e.key||null==e.type)return;let h=this,g={type:e.type,props:e.props,key:e.key,parentKey:n?n.key:null,value:null!=(c=e.value)?c:null,level:n?n.level+1:0,index:e.index,rendered:e.rendered,textValue:null!=(f=e.textValue)?f:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:y(function*(){if(!e.hasChildNodes||!e.childNodes)return;let l=0;for(let n of e.childNodes())for(let e of(null!=n.key&&(n.key=`${g.key}${n.key}`),h.getFullNode({...n,index:l},h.getChildState(t,n),g.key,g)))l++,yield e})};yield g}constructor(){this.cache=new WeakMap}}function y(e){let t=[],l=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let n of(l||(l=e()),l))t.push(n),yield n}}}function v(e){return e[0].toUpperCase()+e.slice(1)}e.s(["useCollection",0,function(e,t,l){let n=(0,d.useMemo)(()=>new m,[]),{children:r,items:i,collection:o}=e;return(0,d.useMemo)(()=>o||t(n.build({children:r,items:i},l)),[n,r,i,o,l,t])}],100700)},268029,235997,e=>{"use strict";var t=e.i(86130),l=e.i(287811);class n{getItemRect(e){let t=this.ref.current;if(!t)return null;let n=null!=e?(0,l.getItemElement)(this.ref,e):null;if(!n)return null;let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();return{x:i.left-r.left-t.clientLeft+t.scrollLeft,y:i.top-r.top-t.clientTop+t.scrollTop,width:i.width,height:i.height}}getContentSize(){var e,t;let l=this.ref.current;return{width:null!=(e=null==l?void 0:l.scrollWidth)?e:0,height:null!=(t=null==l?void 0:l.scrollHeight)?t:0}}getVisibleRect(){var e,t,l,n;let r=this.ref.current;return{x:null!=(e=null==r?void 0:r.scrollLeft)?e:0,y:null!=(t=null==r?void 0:r.scrollTop)?t:0,width:null!=(l=null==r?void 0:r.clientWidth)?l:0,height:null!=(n=null==r?void 0:r.clientHeight)?n:0}}constructor(e){this.ref=e}}var r=e.i(47405);class i{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null==(t=e.props)?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let l=e;for(;null!=l;){let e=this.collection.getItem(l);if((null==e?void 0:e.type)==="item"&&!this.isDisabled(e))return l;l=t(l)}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,l){let n=e,r=this.layoutDelegate.getItemRect(n);if(!r||null==n)return null;let i=r;do{if(null==(n=t(n)))break;r=this.layoutDelegate.getItemRect(n)}while(r&&l(i,r)&&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)}
6getKeyAbove(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,l=this.layoutDelegate.getItemRect(e);if(!l)return null;if(t&&!(0,r.isScrollable)(t))return this.getFirstKey();let n=e;if("horizontal"===this.orientation){let e=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>e&&null!=n;)l=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>e&&null!=n;)l=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return null;if(t&&!(0,r.isScrollable)(t))return this.getLastKey();let n=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,l.y-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<e&&null!=n;)l=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<e&&null!=n;)l=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let l=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=l.getItem(n);if(!t)break;let r=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(r,e))return n;n=this.getNextKey(n)}return null}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 n(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 n(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}e.s(["ListKeyboardDelegate",0,i],235997);var o=e.i(333566),s=e.i(92488);e.s(["useSelectableList",0,function(e){let{selectionManager:l,collection:n,disabledKeys:r,ref:a,keyboardDelegate:u,layoutDelegate:c}=e,d=(0,o.useCollator)({usage:"search",sensitivity:"base"}),f=l.disabledBehavior,p=(0,s.useMemo)(()=>u||new i({collection:n,disabledKeys:r,disabledBehavior:f,ref:a,collator:d,layoutDelegate:c}),[u,c,n,r,a,d,f]),{collectionProps:h}=(0,t.useSelectableCollection)({...e,ref:a,selectionManager:l,keyboardDelegate:p});return{listProps:h}}],268029)},835614,e=>{"use strict";var t=e.i(92488),l=e.i(256866);e.s(["useTypeSelect",0,function(e){let{keyboardDelegate:n,selectionManager:r,onTypeSelect:i}=e,o=(0,t.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:n.getKeyForSearch?e=>{var t;let s=1!==(t=e.key).length&&/^[A-Z]/i.test(t)?"":t;if(s&&!e.ctrlKey&&!e.metaKey&&(0,l.nodeContains)(e.currentTarget,e.target)&&(0!==o.search.length||" "!==s)){if(" "===s&&o.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),o.search+=s,null!=n.getKeyForSearch){let e=n.getKeyForSearch(o.search,r.focusedKey);null==e&&(e=n.getKeyForSearch(o.search)),null!=e&&(r.setFocusedKey(e),i&&i(e))}clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},1e3)}}:void 0}}}])},287811,e=>{"use strict";var t=e.i(393897),l=e.i(5201);let n=new WeakMap;e.s(["getCollectionId",0,function(e){return n.get(e)},"getItemElement",0,function(e,t){var l,n;let r=`[data-key="${CSS.escape(String(t))}"]`,i=null==(l=e.current)?void 0:l.dataset.collection;return i&&(r=`[data-collection="${CSS.escape(i)}"]${r}`),null==(n=e.current)?void 0:n.querySelector(r)},"isNonContiguousSelectionModifier",0,function(e){return(0,t.isAppleDevice)()?e.altKey:e.ctrlKey},"useCollectionId",0,function(e){let t=(0,l.useId)();return n.set(e,t),t}])},222391,e=>{"use strict";var t=e.i(898308),l=e.i(50987),n=e.i(92488);function r(e,n,r){(0,t.useLayoutEffect)(()=>
6{if(n&&e.current){if(!("getAnimations"in e.current))return void r();let t=e.current.getAnimations();if(0===t.length)return void r();let n=!1;return Promise.all(t.map(e=>e.finished)).then(()=>{n||(0,l.flushSync)(()=>{r()})}).catch(()=>{}),()=>{n=!0}}},[e,n,r])}e.s(["useEnterAnimation",0,function(e,l=!0){let[i,o]=(0,n.useState)(!0),s=i&&l;return(0,t.useLayoutEffect)(()=>{if(s&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,s]),r(e,s,(0,n.useCallback)(()=>o(!1),[])),s},"useExitAnimation",0,function(e,t){let[l,i]=(0,n.useState)(t?"open":"closed");switch(l){case"open":t||i("exiting");break;case"closed":case"exiting":t&&i("open")}let o="exiting"===l;return r(e,o,(0,n.useCallback)(()=>{i(e=>"exiting"===e?"closed":e)},[])),o}])},311344,234315,e=>{"use strict";e.s(["CLEAR_FOCUS_EVENT",0,"react-aria-clear-focus","FOCUS_EVENT",0,"react-aria-focus"],311344);var t=e.i(898308),l=e.i(92488);e.s(["useUpdateLayoutEffect",0,function(e,n){let r=(0,l.useRef)(!0),i=(0,l.useRef)(null);(0,t.useLayoutEffect)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,t.useLayoutEffect)(()=>{r.current?r.current=!1:(!i.current||n.some((e,t)=>!Object.is(e,i[t])))&&e(),i.current=n},n)}],234315)},293565,e=>{"use strict";var t=e.i(47405);e.s(["getScrollParent",0,function(e,l){let n=e;for((0,t.isScrollable)(n,l)&&(n=n.parentElement);n&&!(0,t.isScrollable)(n,l);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}])},47405,e=>{"use strict";e.s(["isScrollable",0,function(e,t){if(!e)return!1;let l=window.getComputedStyle(e),n=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}])},259662,e=>{"use strict";var t=e.i(393897);let l=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&&!l.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}])},251801,e=>{"use strict";var t=e.i(47405),l=e.i(256866);function n(e,t){let l=r(e,t,"left"),n=r(e,t,"top"),i=t.offsetWidth,o=t.offsetHeight,s=e.scrollLeft,a=e.scrollTop,{borderTopWidth:u,borderLeftWidth:c,scrollPaddingTop:d,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:h}=getComputedStyle(e),g=s+parseInt(c,10),m=a+parseInt(u,10),y=g+e.clientWidth,v=m+e.clientHeight,b=parseInt(d,10)||0,S=parseInt(p,10)||0,C=parseInt(f,10)||0,w=parseInt(h,10)||0;l<=s+w?s=l-parseInt(c,10)-w:l+i>y-C&&(s+=l+i-y+C),n<=m+b?a=n-parseInt(u,10)-b:n+o>v-S&&(a+=n+o-v+S),e.scrollLeft=s,e.scrollTop=a}function r(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);){if((0,l.nodeContains)(t.offsetParent,e)){i-=e[r];break}t=t.offsetParent}return i}e.s(["scrollIntoView",0,n,"scrollIntoViewport",0,function(e,r){if(e&&(0,l.nodeContains)(document,e)){let l=document.scrollingElement||document.documentElement,u="hidden"===window.getComputedStyle(l).overflow;if(u){let r=function(e){let l=[];for(;e&&e!==document.documentElement;)(0,t.isScrollable)(e,void 0)&&l.push(e),e=e.parentElement;return l}(e);for(let t of(u||r.push(l),r))n(t,e)}else{var i,o,s,a;let{left:t,top:l}=e.getBoundingClientRect();null==e||null==(i=e.scrollIntoView)||i.call(e,{block:"nearest"});let{left:n,top:u}=e.getBoundingClientRect();(Math.abs(t-n)>1||Math.abs(l-u)>1)&&(null==r||null==(s=r.containingElement)||null==(o=s.scrollIntoView)||o.call(s,{block:"center",inline:"center"}),null==(a=e.scrollIntoView)||a.call(e,{block:"nearest"}))}}}],251801)},211961,e=>{"use strict";var t=e.i(898308),l=e.i(92488);let n=0,r=new Map;e.s(["useDescription",0,function(e){let[i,o]=(0,l.useState)();return(0,t.useLayoutEffect)(()=>{if(!e)return;let t=r.get(e);if(t)o(t.element.id);else{let l=`react-aria-description-${n++}`;o(l);let i=document.createElement("div");i.id=l,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},r.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),r.delete(e))}},[e]),{"aria-describedby":e?i:void 0}}])},286759,e=>{"use strict";var t=e.i(642996),l=e.i(92488);e.s(["useEvent",0,function(e,n,r,i){let o=(0,t.useEffectEvent)(r),s=null==r;(0,l.useEffect)(()=>
6{if(s||!e.current)return;let t=e.current;return t.addEventListener(n,o,i),()=>{t.removeEventListener(n,o,i)}},[e,n,i,s])}])},735239,e=>{"use strict";var t=e.i(642996),l=e.i(92488);e.s(["useResizeObserver",0,function(e){let{ref:n,box:r,onResize:i}=e,o=(0,t.useEffectEvent)(i);(0,l.useEffect)(()=>{let e=null==n?void 0:n.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&o()});return t.observe(e,{box:r}),()=>{e&&t.unobserve(e)}}},[n,r])}])},272123,e=>{"use strict";var t=e.i(670478),l=e.i(92488),n=e.i(855056);let r={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 i(e={}){let{style:t,isFocusable:o}=e,[s,a]=(0,l.useState)(!1),{focusWithinProps:u}=(0,n.useFocusWithin)({isDisabled:!o,onFocusWithinChange:e=>a(e)}),c=(0,l.useMemo)(()=>s?t:t?{...r,...t}:r,[s]);return{visuallyHiddenProps:{...u,style:c}}}e.s(["VisuallyHidden",0,function(e){let{children:n,elementType:r="div",isFocusable:o,style:s,...a}=e,{visuallyHiddenProps:u}=i(e);return l.default.createElement(r,(0,t.mergeProps)(a,u),n)},"useVisuallyHidden",0,i])},520487,e=>{"use strict";var t=e.i(481596);let l=new WeakMap;e.s(["getItemCount",0,function(e){let n=l.get(e);if(null!=n)return n;let r=0,i=l=>{for(let n of l)"section"===n.type?i((0,t.getChildNodes)(n,e)):"item"===n.type&&r++};return i(e),l.set(e,r),r}])},678897,720023,e=>{"use strict";class t{*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let l=this.keyMap.get(e);return l&&null!=(t=l.prevKey)?t:null}getKeyAfter(e){var t;let l=this.keyMap.get(e);return l&&null!=(t=l.nextKey)?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let l=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)l(t)};for(let t of e)l(t);let n=null,r=0,i=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=r++),("section"===t.type||"item"===t.type)&&i++,(n=t).nextKey=void 0;this._size=i,this.lastKey=null!=(t=null==n?void 0:n.key)?t:null}}var l=e.i(925947),n=e.i(779028),r=e.i(92488),i=e.i(100700);function o(e,t){let l=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&l.current){var n,r,i,o,s,a,u;let c=l.current.getItem(t.focusedKey),d=[...l.current.getKeys()].map(e=>{let t=l.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),f=[...e.getKeys()].map(t=>{let l=e.getItem(t);return(null==l?void 0:l.type)==="item"?l:null}).filter(e=>null!==e),p=(null!=(n=null==d?void 0:d.length)?n:0)-(null!=(r=null==f?void 0:f.length)?r:0),h=Math.min(p>1?Math.max((null!=(i=null==c?void 0:c.index)?i:0)-p+1,0):null!=(o=null==c?void 0:c.index)?o:0,(null!=(s=null==f?void 0:f.length)?s:0)-1),g=null,m=!1;for(;h>=0;){if(!t.isDisabled(f[h].key)){g=f[h];break}h<f.length-1&&!m?h++:(m=!0,h>(null!=(a=null==c?void 0:c.index)?a:0)&&(h=null!=(u=null==c?void 0:c.index)?u:0),h--)}t.setFocusedKey(g?g.key:null)}l.current=e},[e,t])}e.s(["UNSTABLE_useFilteredListState",0,function(e,t){let l=(0,r.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(l);return o(l,n),{collection:l,selectionManager:n,disabledKeys:e.disabledKeys}},"useListState",0,function(e){let{filter:s,layoutDelegate:a}=e,u=(0,l.useMultipleSelectionState)(e),c=(0,r.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),d=(0,r.useCallback)(e=>new t(s?s(e):e),[s]),f=(0,r.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),p=(0,i.useCollection)(e,d,f),h=(0,r.useMemo)(()=>new(0,n.SelectionManager)(p,u,{layoutDelegate:a}),[p,u,a]);return o(p,h),{collection:p,disabledKeys:c,selectionManager:h}}],678897),e.s(["inertValue",0,function(e){return parseInt(r.version.split(".")[0],10)>=19?e:e?"true":void 0}],720023)},882493,669342,1181,e=>{"use strict";var t=e.i(158296),l=e.i(92488);e.s(["useMenuTriggerState",0,function(e){let n=(0,t.useOverlayTriggerState)(e),[r,i]=(0,l.useState)(null),[o,s]=(0,l.useState)([]);return{focusStrategy:r,...n,open(e=null){i(e),n.open()},toggle(e=null){i(e),n.toggle()},close(){s([]),n.close()},expandedKeysStack:o,openSubmenu:(e,t)=>{s(l=>t>l.length?l:[...l.slice(0,t),e])},closeSubmenu:(e,t)=>{s(l=>l[t]===e?l.slice(0,t):l)}}}],882493),e.s(["useSubmenuTriggerState",0,function(e,t){let{triggerKey:n}=e,{expandedKeysStack:r,openSubmenu:i,closeSubmenu:o,close:s}=t,[a]=(0,l.useState)(null==r?void 0:r.length),u=(0,l.useMemo)(()=>r[a]===n,[r,n,a]),[c,d]=(0,l.useState)(null),f=(0,l.useCallback)(e=>{d(null!=e?e:null),i(n,a)},[i,a,n]),p=(0,l.useCallback)(()=>{d(null),o(n,a)},[o,a,n]),h=(0,l.useCallback)(e=>{d(null!=e?e:null),u?p():f(e)},[p,f,u]);return(0,l.useMemo)(()=>({focusStrategy:c,isOpen:u,open:f,close:p,closeAll:s,submenuLevel:a,setOpen:()=>{},toggle:h}),[u,f,p,s,c,h,a])}],669342);class n{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let l=this.keyMap.get(e);return l&&null!=(t=l.prevKey)?t:null}getKeyAfter(e){var t;let l=this.keyMap.get(e);return l&&null!=(t=l.nextKey)?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}constructor(e,{expandedKeys:t}={}){var l;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t=t||new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),(r=t).nextKey=void 0;this.lastKey=null!=(l=null==r?void 0:r.key)?l:null}}var r=e.i(925947),i=e.i(779028),o=e.i(100700),s=e.i(806545);e.s(["useTreeState",0,function(e){let{onExpandedChange:t}=e,[a,u]=(0,s.useControlledState)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),c=(0,r.useMultipleSelectionState)(e),d=(0,l.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),f=(0,o.useCollection)(e,(0,l.useCallback)(e=>new n(e,{expandedKeys:a}
6),[a]),null);return(0,l.useEffect)(()=>{null==c.focusedKey||f.getItem(c.focusedKey)||c.setFocusedKey(null)},[f,c.focusedKey]),{collection:f,expandedKeys:a,disabledKeys:d,toggleKey:e=>{var t,l;let n;u((t=a,l=e,(n=new Set(t)).has(l)?n.delete(l):n.add(l),n))},setExpandedKeys:u,selectionManager:new(0,i.SelectionManager)(f,c)}}],1181)},158296,e=>{"use strict";var t=e.i(92488),l=e.i(806545);e.s(["useOverlayTriggerState",0,function(e){let[n,r]=(0,l.useControlledState)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),i=(0,t.useCallback)(()=>{r(!0)},[r]),o=(0,t.useCallback)(()=>{r(!1)},[r]),s=(0,t.useCallback)(()=>{r(!n)},[r,n]);return{isOpen:n,setOpen:r,open:i,close:o,toggle:s}}])},195863,(e,t,l)=>{"use strict";e.i(825866),Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"Image",{enumerable:!0,get:function(){return C}});let n=e.r(836437),r=e.r(56421),i=e.r(169437),o=r._(e.r(92488)),s=n._(e.r(50987)),a=n._(e.r(710377)),u=e.r(421739),c=e.r(205092),d=e.r(580632),f=e.r(548253),p=n._(e.r(994725)),h=e.r(346554),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[25,50,75,90],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,l,n,r,i,o){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),l?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,r=!1;l.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function y(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v="u"<typeof window?o.useEffect:o.useLayoutEffect,b=(0,o.forwardRef)(({src:e,srcSet:t,sizes:l,height:n,width:r,decoding:s,className:a,style:u,fetchPriority:c,placeholder:d,loading:f,unoptimized:p,fill:g,onLoadRef:b,onLoadingCompleteRef:S,setBlurComplete:C,setShowAltText:w,sizesInput:E,onLoad:P,onError:x,...K},k)=>{let D=(0,o.useRef)(!1),R=(0,o.useRef)(null);v(()=>{let{current:e}=D,{current:t}=R;e||null===t||(x&&(t.src=t.src),t.complete&&m(t,d,b,S,C,p,E),D.current=!0)},[e,d,b,S,x,p,E]);let M=(0,h.useMergedRef)(k,R);return(0,i.jsx)("img",{...K,...y(c),loading:f,width:r,height:n,decoding:s,"data-nimg":g?"fill":"1",className:a,style:u,sizes:l,srcSet:t,src:e,ref:M,onLoad:e=>{m(e.currentTarget,d,b,S,C,p,E)},onError:e=>{w(!0),"empty"!==d&&C(!0),x&&x(e)}})});function S({isAppRouter:e,imgAttributes:t}){let l={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,l),null):(0,i.jsx)(a.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...l},"__nimg-"+t.src+t.srcSet+t.sizes)})}let C=(0,o.forwardRef)((e,t)=>{let l=(0,o.useContext)(f.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),r=(0,o.useMemo)(()=>{let e=g||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),l=e.deviceSizes.sort((e,t)=>e-t),r=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:l,qualities:r,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:s,onLoadingComplete:a}=e,h=(0,o.useRef)(s);(0,o.useEffect)(()=>{h.current=s},[s]);let m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let[y,v]=(0,o.useState)(!1),[C,w]=(0,o.useState)(!1),{props:E,meta:P}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:r,blurComplete:y,showAltText:C});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{...E,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:h,onLoadingCompleteRef:m,setBlurComplete:v,setShowAltText:w,sizesInput:e.sizes,ref:t}),P.preload?(0,i.jsx)(S,{isAppRouter:!l,imgAttributes:E}):null]})});("function"==typeof l.default||"object"==typeof l.default&&null!==l.default)&&void 0===l.default.__esModule&&(Object.defineProperty(l.default,"__esMo
6dule",{value:!0}),Object.assign(l.default,l),t.exports=l.default)},710377,(e,t,l)=>{"use strict";e.i(825866),Object.defineProperty(l,"__esModule",{value:!0});var n={default:function(){return g},defaultHead:function(){return d}};for(var r in n)Object.defineProperty(l,r,{enumerable:!0,get:n[r]});let i=e.r(836437),o=e.r(56421),s=e.r(169437),a=o._(e.r(92488)),u=i._(e.r(117900)),c=e.r(430757);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function h(e){let t,l,n,r;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,l=new Set,n=new Set,r={},e=>{let i=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let l=e.key.slice(e.key.indexOf("$")+1);t.has(l)?i=!1:t.add(l)}switch(e.type){case"title":case"base":l.has(e.type)?i=!1:l.add(e.type);break;case"meta":for(let t=0,l=p.length;t<l;t++){let l=p[t];if(e.props.hasOwnProperty(l))if("charSet"===l)n.has(l)?i=!1:n.add(l);else{let t=e.props[l],n=r[l]||new Set;("name"!==l||!o)&&n.has(t)?i=!1:(n.add(t),r[l]=n)}}}return i})).reverse().map((e,t)=>{let l=e.key||t;return a.default.cloneElement(e,{key:l})})}let g=function({children:e}){let t=(0,a.useContext)(c.HeadManagerContext);return(0,s.jsx)(u.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof l.default||"object"==typeof l.default&&null!==l.default)&&void 0===l.default.__esModule&&(Object.defineProperty(l.default,"__esModule",{value:!0}),Object.assign(l.default,l),t.exports=l.default)},372442,(e,t,l)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:l,blurHeight:r,blurDataURL:i,objectFit:o}){let s=l?40*l:e,a=r?40*r:t,u=s&&a?`viewBox='0 0 ${s} ${a}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},205092,(e,t,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return o}};for(var r in n)Object.defineProperty(l,r,{enumerable:!0,get:n[r]});let i=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},421739,(e,t,l)=>{"use strict";e.i(825866),Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"getImgProps",{enumerable:!0,get:function(){return u}});let n=e.r(726606),r=e.r(372442),i=e.r(205092),o=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:l=!1,priority:c=!1,preload:d=!1,loading:f,className:p,quality:h,width:g,height:m,fill:y=!1,style:v,overrideSrc:b,onLoad:S,onLoadingComplete:C,placeholder:w="empty",blurDataURL:E,fetchPriority:P,decoding:x="async",layout:K,objectFit:k,objectPosition:D,lazyBoundary:R,lazyRoot:M,...N},T){var L;let F,I,O,{imgConf:A,showAltText:z,blurComplete:_,defaultLoader:B}=T,V=A||i.imageConfigDefault;if("allSizes"in V)F=V;else{let e=[...V.deviceSizes,...V.imageSizes].sort((e,t)=>
6e-t),t=V.deviceSizes.sort((e,t)=>e-t),l=V.qualities?.sort((e,t)=>e-t);F={...V,allSizes:e,deviceSizes:t,qualities:l}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let H=N.loader||B;delete N.loader,delete N.srcSet;let j="__next_img_default"in H;if(j){if("custom"===F.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
7Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=H;H=t=>{let{config:l,...n}=t;return e(n)}}if(K){"fill"===K&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[K];e&&(v={...v,...e});let l={responsive:"100vw",fill:"100vw"}[K];l&&!t&&(t=l)}let U="",W=a(g),$=a(m);if((L=e)&&"object"==typeof L&&(s(L)||void 0!==L.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(I=t.blurWidth,O=t.blurHeight,E=E||t.blurDataURL,U=t.src,!y)if(W||$){if(W&&!$){let e=W/t.width;$=Math.round(t.height*e)}else if(!W&&$){let e=$/t.height;W=Math.round(t.width*e)}}else W=t.width,$=t.height}let q=!c&&!d&&("lazy"===f||void 0===f);(!(e="string"==typeof e?e:U)||e.startsWith("data:")||e.startsWith("blob:"))&&(l=!0,q=!1),F.unoptimized&&(l=!0),j&&!F.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(l=!0);let Z=a(h),G=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:D}:{},z?{}:{color:"transparent"},v),J=_||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:W,heightInt:$,blurWidth:I,blurHeight:O,blurDataURL:E||"",objectFit:G.objectFit})}")`:`url("${w}")`,X=o.includes(G.objectFit)?"fill"===G.objectFit?"100% 100%":"cover":G.objectFit,Y=J?{backgroundSize:X,backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Q=function({config:e,src:t,unoptimized:l,width:r,quality:i,sizes:o,loader:s}){if(l){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())e=void 0;else if(e){let l=t.indexOf("?");if(-1!==l){let n=new URLSearchParams(t.slice(l+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,l)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:a,kind:u}=function({deviceSizes:e,allSizes:t},l,n){if(n){let l=/(^|\s)(1?\d?\d)vw/g,r=[];for(let e;e=l.exec(n);)r.push(parseInt(e[2]));if(r.length){let l=.01*Math.min(...r);return{widths:t.filter(t=>t>=e[0]*l),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof l?{widths:e,kind:"w"}:{widths:[...new Set([l,2*l].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,r,o),c=a.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:a.map((l,n)=>`${s({config:e,src:t,quality:i,width:l})} ${"w"===u?l:n+1}${u}`).join(", "),src:s({config:e,src:t,quality:i,width:a[c]})}}({config:F,src:e,unoptimized:l,width:W,quality:Z,sizes:t,loader:H}),ee=q?"lazy":f;return{props:{...N,loading:ee,fetchPriority:P,width:W,height:$,decoding:x,className:p,style:{...G,...Y},sizes:Q.sizes,srcSet:Q.srcSet,src:b||Q.src},meta:{unoptimized:l,preload:d||c,placeholder:w,fill:y}}}},580632,(e,t,l)=>{"use strict";e.i(825866),Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=e.r(836437)._(e.r(92488)),r=e.r(205092),i=n.default.createContext(r.imageConfigDefault)},548253,(e,t,l)=>{"use strict";
7e.i(825866),Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(836437)._(e.r(92488)).default.createContext(null)},105940,(e,t,l)=>{"use strict";e.i(825866),Object.defineProperty(l,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var r in n)Object.defineProperty(l,r,{enumerable:!0,get:n[r]});let i=e.r(836437),o=e.r(421739),s=e.r(195863),a=i._(e.r(994725));function u(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[25,50,75,90],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,l]of Object.entries(t))void 0===l&&delete t[e];return{props:t}}let c=s.Image},55663,(e,t,l)=>{t.exports=e.r(105940)},117900,(e,t,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return s}});let n=e.r(92488),r="u"<typeof window,i=r?()=>{}:n.useLayoutEffect,o=r?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:l}=e;function s(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(l(e))}}return r&&(t?.mountedInstances?.add(e.children),s()),i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},483620,169106,571627,958386,810377,e=>{"use strict";class t{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,l){let n=this.clone();return t.addDescendants(n,e),n}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}}class l extends t{filter(e,t,l){let[n,r]=a(e,t,this.firstChildKey,l),i=this.clone();return i.firstChildKey=n,i.lastChildKey=r,i}}class n extends t{}n.type="header";class r extends t{}r.type="loader";class i extends l{filter(e,t,l){if(l(this.textValue,this)){let l=this.clone();return t.addDescendants(l,e),l}return null}}i.type="item";class o extends l{filter(e,t,l){let n=super.filter(e,t,l);if(n&&null!==n.lastChildKey){let t=e.getItem(n.lastChildKey);if(t&&"header"!==t.type)return n}return null}}o.type="section";class s{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 l=t.get(e),n=(null==l?void 0:l.firstChildKey)!=null?t.get(l.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){var l;for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return null!=(l=null==t?void 0:t.key)?l:null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){var e;let t=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;(null==t?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);return null!=(e=null==t?void 0:t.key)?e:null}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.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 l of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(l,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,l=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!l}filter(e){let t=new this.constructor,[l,n]=a(this,t,this.firstKey,e);return null==t||t.commit(l,n),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function a(e,t,l,n){var r,i;
7if(null==l)return[null,null];let o=null,s=null,a=e.getItem(l);for(;null!=a;){let l=a.filter(e,t,n);null!=l&&(l.nextKey=null,s&&(l.prevKey=s.key,s.nextKey=l.key),null==o&&(o=l),t.addNode(l),s=l),a=a.nextKey?e.getItem(a.nextKey):null}if(s&&"separator"===s.type){let e=s.prevKey;t.removeNode(s.key),e?(s=t.getItem(e)).nextKey=null:s=null}return[null!=(r=null==o?void 0:o.key)?r:null,null!=(i=null==s?void 0:s.key)?i:null]}e.s(["BaseCollection",0,s,"CollectionNode",0,t,"HeaderNode",0,n,"ItemNode",0,i,"LoaderNode",0,r,"SectionNode",0,o],169106);class u{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){var e;return(null==(e=this.parentNode)?void 0:e.isConnected)||!1}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}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}}class c extends u{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){var e;return this.parentNode instanceof c?this.parentNode.level+ +((null==(e=this.node)?void 0:e.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(){var e,t,l,n,r,i,o,s,a,u,d,f,p,h,g;let m=this.nextVisibleSibling,y=this.getMutableNode();if(null!=y&&(y.index=this.index,y.level=this.level,y.parentKey=this.parentNode instanceof c&&null!=(a=null==(e=this.parentNode.node)?void 0:e.key)?a:null,y.prevKey=null!=(u=null==(l=this.previousVisibleSibling)||null==(t=l.node)?void 0:t.key)?u:null,y.nextKey=null!=(d=null==m||null==(n=m.node)?void 0:n.key)?d:null,y.hasChildNodes=!!this.firstChild,y.firstChildKey=null!=(f=null==(i=this.first
7VisibleChild)||null==(r=i.node)?void 0:r.key)?f:null,y.lastChildKey=null!=(p=null==(s=this.lastVisibleChild)||null==(o=s.node)?void 0:o.key)?p:null,(null!=y.colSpan||null!=y.colIndex)&&m)){let e=(null!=(h=y.colIndex)?h:y.index)+(null!=(g=y.colSpan)?g:1);null!=m.node&&e!==m.node.colIndex&&(m.getMutableNode().colIndex=e)}}setProps(e,t,l,n,r){let i,{value:o,textValue:s,id:a,...u}=e;if(null==this.node?(i=new l(null!=a?a:`react-aria-${++this.ownerDocument.nodeId}`),this.node=i):i=this.getMutableNode(),u.ref=t,i.props=u,i.rendered=n,i.render=r,i.value=o,e["aria-label"]&&(i["aria-label"]=e["aria-label"]),i.textValue=s||("string"==typeof u.children?u.children:"")||e["aria-label"]||"",null!=a&&a!==i.key)throw Error("Cannot change the id of an item");null!=u.colSpan&&(i.colSpan=u.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let n="none"===value;if(e.isHidden!==n){var t,l;((null==(t=e.parentNode)?void 0:t.firstVisibleChild)===e||(null==(l=e.parentNode)?void 0:l.lastVisibleChild)===e)&&e.ownerDocument.markDirty(e.parentNode);let r=e.previousVisibleSibling,i=e.nextVisibleSibling;r&&e.ownerDocument.markDirty(r),i&&e.ownerDocument.markDirty(i),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}}class d extends u{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.collection.clone():(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);if(this.nextCollection){var e,t,l,n,r,i;this.nextCollection.commit(null!=(r=null==(t=this.firstVisibleChild)||null==(e=t.node)?void 0:e.key)?r:null,null!=(i=null==(n=this.lastVisibleChild)||null==(l=n.node)?void 0:l.key)?i: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.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)}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}}var f=e.i(92488);function p(e){let{children:t,items:l,idScope:n,addIdAndValue:r,dependencies:i=[]}=e,o=(0,f.useMemo)(()=>new WeakMap,i);return(0,f.useMemo)(()=>{if(l&&"function"==typeof t){let s=[];for(let a of l){let l=o.get(a);if(!l){var e,i;let s=null!=(i=null!=(e=(l=t(a)).props.id)?e:a.key)?i:a.id;if(null==s)throw Error("Could not determine key for item");null!=n&&(s=n+":"+s),l=(0,f.cloneElement)(l,r?{key:s,id:s,value:a}:{key:s}),o.set(a,l)}s.push(l)}return s}if("function"!=typeof t)return t},[t,l,o,n,r])}var h=e.i(206100),g=e.i(50987),m=e.i(203226),y=e.i(543751),v=e.i(56032);let b=(0,f.createContext)(!1),S=(0,f.createContext)(null);function C({collection:e,render:t}){return t(e)}let w="function"==typeof f.default.useSyncExternalStore?f.default.useSyncExternalStore:function(e,t,l){let n=(0,y.useIsSSR)(),r=(0,f.useRef)(n);r.current=n;let i=(0,f.useCallback)(()=>r.current?l():t(),[t,l]);return(0,v.useSyncExternalStore)(e,i)},E=(0,f.createContext)(null);function P(e,l,n,r,i,o){var s,a;"string"==typeof e&&(s=e,(a=class extends t{}).type=s,e=a);let u=(0,f.useCallback)(t=>{null==t||t.setProps(l,n,e,r,o)},[l,n,r,o,e]),c=(0,f.useContext)(E);if(c){let t=c.ownerDocument.nodesByProps.get(l);return t||((t=c.ownerDocument.createElement(e.type)).setProps(l,n,e,r,o),c.appendChild(t),c.ownerDocument.updateCollection(),c.ownerDocument.nodesByProps.set(l,t)),i?f.default.createElement(E.Provider,{value:t},i):null}return f.default.createElement(e.type,{ref:u},i)}function x(e){return p({...e,addIdAndValue:!0})}let K=(0,f.createContext)(null);function k({children:e}){let t=(0,f.useContext)(S),l=(0,f.useMemo)(()=>f.default.createElement(S.Provider,{value:null},f.default.createElement(b.Provider,{value:!0},e)),[e]);return(0,y.useIsSSR)()?f.default.createElement(E.Provider,{value:t},l):(0,g.createPortal)(l,t)}e.s(["Collection",0,function(e){var t;let l=(0,f.useContext)(K),n=((null==l?void 0:l.dependencies)||[]).concat(e.depen
7dencies),r=null!=(t=e.idScope)?t:null==l?void 0:l.idScope,i=x({...e,idScope:r,dependencies:n});return(0,f.useContext)(S)&&(i=f.default.createElement(k,null,i)),l=(0,f.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),f.default.createElement(K.Provider,{value:l},i)},"CollectionBuilder",0,function(e){if((0,f.useContext)(S))return e.content;let{collection:t,document:l}=function(e){let[t]=(0,f.useState)(()=>new d((null==e?void 0:e())||new s));return{collection:w((0,f.useCallback)(e=>t.subscribe(e),[t]),(0,f.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,f.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return f.default.createElement(f.default.Fragment,null,f.default.createElement(h.Hidden,null,f.default.createElement(S.Provider,{value:l},e.content)),f.default.createElement(C,{render:e.children,collection:t}))},"createBranchComponent",0,function(e,t,l=x){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,f.forwardRef)((t,r)=>{var i;let o=l(t);return null!=(i=P(e,t,r,null,o,e=>f.default.createElement(n,{node:e})))?i:f.default.createElement(f.default.Fragment,null)});return r.displayName=t.name,r},"createLeafComponent",0,function(e,t){let l=({node:e})=>t(e.props,e.props.ref,e),n=(0,f.forwardRef)((n,r)=>{let i=(0,f.useContext)(m.FocusableContext);if(!(0,f.useContext)(b)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(n,r)}return P(e,n,r,"children"in n?n.children:null,null,e=>f.default.createElement(m.FocusableContext.Provider,{value:i},f.default.createElement(l,{node:e})))});return n.displayName=t.name,n}],571627);let D=(0,f.createContext)(null),R={CollectionRoot:({collection:e,renderDropIndicator:t})=>M(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:l})=>M(e,t,l)};function M(e,t,l){return p({items:t?e.getChildren(t.key):e,dependencies:[l],children(t){let n=t.render(t);return l&&"item"===t.type?f.default.createElement(f.default.Fragment,null,l({type:"item",key:t.key,dropPosition:"before"}),n,function(e,t,l){let n=t.key,r=e.getKeyAfter(n),i=null!=r?e.getItem(r):null;for(;null!=i&&"item"!==i.type;)i=null!=(r=e.getKeyAfter(i.key))?e.getItem(r):null;let o=null!=t.nextKey?e.getItem(t.nextKey):null;for(;null!=o&&"item"!==o.type;)o=null!=o.nextKey?e.getItem(o.nextKey):null;let s=[];if(null==o){let n=t;for(;(null==n?void 0:n.type)==="item"&&(!i||n.parentKey!==i.parentKey&&i.level<n.level);){let t=l({type:"item",key:n.key,dropPosition:"after"});(0,f.isValidElement)(t)&&s.push((0,f.cloneElement)(t,{key:`${n.key}-after`})),n=null!=n.parentKey?e.getItem(n.parentKey):null}}return s}(e,t,l)):n}})}let N=(0,f.createContext)(R);e.s(["CollectionRendererContext",0,N,"DefaultCollectionRenderer",0,R,"SectionContext",0,D,"usePersistedKeys",0,function(e){return(0,f.useMemo)(()=>null!=e?new Set([e]):null,[e])}],483620);var T=e.i(968173),L=e.i(898308),F=e.i(443500);let I=(0,f.createContext)(null),O=(0,f.forwardRef)(function(e,t){let{name:l,isVisible:n=!0,children:r,className:i,style:o,render:s,...a}=e,[u,c]=(0,f.useState)(n?"visible":"hidden"),d=(0,f.useContext)(I);if(!d)throw Error("<SharedElement> must be rendered inside a <SharedElementTransition>");n&&"hidden"===u&&c("visible"),t=(0,F.useObjectRef)(t),(0,L.useLayoutEffect)(()=>{let e=t.current,r=d.current,i=r[l],o=null;if(e&&n&&i){c("visible");let t=e.getAnimations(),n=i.style.map(([t,l])=>{let n=e.style[t];if("translate"===t){let t=i.rect,l=e.getBoundingClientRect(),n=t.left-(null==l?void 0:l.left),r=t.top-(null==l?void 0:l.top);e.style.translate=`${n}px ${r}px`}else e.style[t]=l;return[t,n]});for(let l of e.getAnimations())t.includes(l)||l.cancel();o=requestAnimationFrame(()=>{for(let[t,l]of(o=null,n))e.style[t]=l}),delete r[l]}else e&&n&&!i?(queueMicrotask(()=>(0,g.flushSync)(()=>c("entering"))),o=requestAnimationFrame(()=>{o=null,c("visible")})):e&&!n&&queueMicrotask(()=>{r[l]?(delete r[l],(0,g.flushSync)(()=>c("exiting")),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>c("hidden")).catch(()=>{})):c("hidden")});return()=>{if(null!=o&&cancelAnimationFrame(o),e&&e.isConnected&&!e.hasAttribute("data-exiting")){let t=window.getComputedStyle(e);
7if("none"!==t.transitionProperty){let n=t.transitionProperty.split(/\s*,\s*/);r[l]={rect:e.getBoundingClientRect(),style:n.map(e=>[e,t[e]])}}}}},[t,d,l,n]);let p=(0,T.useRenderProps)({children:r,className:i,style:o,render:s,values:{isEntering:"entering"===u,isExiting:"exiting"===u}});return"hidden"===u?null:f.default.createElement(T.dom.div,{...a,...p,ref:t,"data-entering":"entering"===u||void 0,"data-exiting":"exiting"===u||void 0})});e.s(["SharedElement",0,O,"SharedElementTransition",0,function(e){let t=(0,f.useRef)({});return f.default.createElement(I.Provider,{value:t},e.children)}],958386);let A=(0,f.createContext)({isSelected:!1});e.s(["SelectionIndicatorContext",0,A],810377)},6509,e=>{"use strict";e.s(["Dialog",()=>S,"DialogContext",()=>y,"DialogTrigger",()=>b,"OverlayTriggerStateContext",()=>v],6509);var t=e.i(78733),l=e.i(968173),n=e.i(659604),r=e.i(429432),i=e.i(229506),o=e.i(536617),s=e.i(5201),a=e.i(256866),u=e.i(548319),c=e.i(830947),d=e.i(92488),f=e.i(452259),p=e.i(735239),h=e.i(670478),g=e.i(882493),m=e.i(338295);let y=(0,d.createContext)(null),v=(0,d.createContext)(null);function b(e){let t=(0,g.useMenuTriggerState)(e),n=(0,d.useRef)(null),{triggerProps:a,overlayProps:u}=(0,o.useOverlayTrigger)({type:"dialog"},t,n),[c,f]=(0,d.useState)(null),h=(0,d.useCallback)(()=>{n.current&&f(n.current.offsetWidth+"px")},[n]);return(0,p.useResizeObserver)({ref:n,onResize:h}),a.id=(0,s.useId)(),u["aria-labelledby"]=a.id,d.default.createElement(l.Provider,{values:[[v,t],[i.RootMenuTriggerStateContext,t],[y,u],[r.PopoverContext,{trigger:"DialogTrigger",triggerRef:n,"aria-labelledby":u["aria-labelledby"],style:{"--trigger-width":c}}]]},d.default.createElement(m.PressResponder,{...a,ref:n,isPressed:t.isOpen},e.children))}let S=(0,d.forwardRef)(function(e,r){let i=e["aria-labelledby"];[e,r]=(0,l.useContextProps)(e,r,y);let{dialogProps:o,titleProps:p}=function(e,t){let{role:l="dialog"}=e,n=(0,s.useSlotId)();n=e["aria-label"]?void 0:n;let r=(0,d.useRef)(!1);return(0,d.useEffect)(()=>{if(t.current&&!(0,a.nodeContains)(t.current,document.activeElement)){(0,c.focusSafely)(t.current);let e=setTimeout(()=>{(document.activeElement===t.current||document.activeElement===document.body)&&(r.current=!0,t.current&&(t.current.blur(),(0,c.focusSafely)(t.current)),r.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,f.useOverlayFocusContain)(),{dialogProps:{...(0,u.filterDOMProps)(e,{labelable:!0}),role:l,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:e=>{r.current&&e.stopPropagation()}},titleProps:{id:n}}}({...e,"aria-labelledby":i},r),g=(0,d.useContext)(v);o["aria-label"]||o["aria-labelledby"]||e["aria-labelledby"]&&(o["aria-labelledby"]=e["aria-labelledby"]);let m=(0,l.useRenderProps)({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:(null==g?void 0:g.close)||(()=>{})}}),b=(0,u.filterDOMProps)(e,{global:!0});return d.default.createElement(l.dom.section,{...(0,h.mergeProps)(b,m,o),render:e.render,ref:r,slot:e.slot||void 0},d.default.createElement(l.Provider,{values:[[n.HeadingContext,{slots:{[l.DEFAULT_SLOT]:{},title:{...p,level:2}}}],[t.ButtonContext,{slots:{[l.DEFAULT_SLOT]:{},close:{onPress:()=>null==g?void 0:g.close()}}}]]},m.children))})},670681,e=>{"use strict";e.i(968173),e.i(571627);var t=e.i(169106);let l=(0,e.i(92488).createContext)({});t.HeaderNode,e.s(["HeaderContext",0,l])},4710,e=>{"use strict";e.i(968173);let t=(0,e.i(92488).createContext)({});e.s(["KeyboardContext",0,t])},229506,e=>{"use strict";e.s(["RootMenuTriggerStateContext",()=>s]);e.i(968173),e.i(483620),e.i(659604),e.i(670681);e.i(4710),e.i(6509),e.i(429432),e.i(810377),e.i(627434),e.i(958386),e.i(783270),e.i(790687),e.i(901724),e.i(504352),e.i(999360);e.i(670478),e.i(810331);e.i(605732),e.i(63432);var t=e.i(169106);e.i(571627),e.i(882493),e.i(669342),e.i(1181),e.i(735239),e.i(443500);var l=e.i(548319),n=e.i(779028),r=e.i(925947);e.i(338295);var i=e.i(92488);let o=(0,i.createContext)(null),s=(0,i.createContext)(null),a=(0,i.createContext)(null);class u extends t.CollectionNode{filter(e,t,l){let n=e.getItem(this.firstChildKey);if(n&&l(n.textValue,this)){let l=this.clone();return t.addDescendants(l,e),l}return null}}u.type="submenutrigger";class c extends n.SelectionManager{get focusedKey(){return this.parent.focusedKey}
7get 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}constructor(e,t){super(e.collection,t),this.parent=e}}t.SectionNode;t.ItemNode},121949,e=>{"use strict";var t=e.i(968173),l=e.i(548319),n=e.i(92488);let r=(0,n.createContext)({placement:"bottom"}),i=(0,n.forwardRef)(function(e,i){[e,i]=(0,t.useContextProps)(e,i,r);let o=e.placement,s={position:"absolute",transform:"top"===o||"bottom"===o?"translateX(-50%)":"translateY(-50%)"};null!=o&&(s[o]="100%");let a=(0,t.useRenderProps)({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:o}});a.style&&Object.keys(a.style).forEach(e=>void 0===a.style[e]&&delete a.style[e]);let u=(0,l.filterDOMProps)(e);return n.default.createElement(t.dom.div,{...u,...a,style:{...s,...a.style},ref:i,"data-placement":o})});e.s(["OverlayArrow",0,i,"OverlayArrowContext",0,r])},429432,e=>{"use strict";e.s(["Popover",()=>b,"PopoverContext",()=>y]);var t=e.i(968173),l=e.i(121949),n=e.i(6509),r=e.i(354799),i=e.i(599844),o=e.i(218075),s=e.i(452259),a=e.i(222391),u=e.i(898308),c=e.i(256866),d=e.i(670478),f=e.i(548319),p=e.i(830947),h=e.i(158296),g=e.i(92488),m=e.i(206100);let y=(0,g.createContext)(null),v=(0,g.createContext)(null),b=(0,g.forwardRef)(function(e,l){[e,l]=(0,t.useContextProps)(e,l,y);let i=(0,g.useContext)(n.OverlayTriggerStateContext),o=(0,h.useOverlayTriggerState)(e),s=null==e.isOpen&&null==e.defaultOpen&&i?i:o,u=(0,a.useExitAnimation)(l,s.isOpen)||e.isExiting||!1,c=(0,m.useIsHidden)(),{direction:d}=(0,r.useLocale)();if(c){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),g.default.createElement(g.default.Fragment,null,t)}return!s||s.isOpen||u?g.default.createElement(S,{...e,triggerRef:e.triggerRef,state:s,popoverRef:l,isExiting:u,dir:d}):null});function S({state:e,isExiting:n,UNSTABLE_portalContainer:r,clearContexts:h,...m}){var y,b;let C=(0,g.useRef)(null),w=(0,g.useRef)(null),E=(0,g.useContext)(v),P=E&&"SubmenuTrigger"===m.trigger,{popoverProps:x,underlayProps:K,arrowProps:k,placement:D,triggerAnchorPoint:R}=(0,i.usePopover)({...m,offset:null!=(y=m.offset)?y:8,arrowRef:C,groupRef:P?E:w},e),M=m.popoverRef,N=(0,a.useEnterAnimation)(M,!!D)||m.isEntering||!1,T=(0,t.useRenderProps)({...m,defaultClassName:"react-aria-Popover",values:{trigger:m.trigger||null,placement:D,isEntering:N,isExiting:n}}),L=!m.isNonModal||"SubmenuTrigger"===m.trigger,[F,I]=(0,g.useState)(!1);(0,u.useLayoutEffect)(()=>{M.current&&I(L&&!M.current.querySelector("[role=dialog]"))},[M,L]),(0,g.useEffect)(()=>{F&&"SubmenuTrigger"!==m.trigger&&M.current&&!(0,c.nodeContains)(M.current,document.activeElement)&&(0,p.focusSafely)(M.current)},[F,M,m.trigger]);let O=(0,g.useMemo)(()=>{let e=T.children;if(h)for(let t of h)e=g.default.createElement(t.Provider,{value:null},e);return e},[T.children,h]),A={...x.style,"--trigger-anchor-point":R?`${R.x}px ${R.y}px`:void 0,...T.style},z=g.default.createElement(t.dom.div,{...(0,d.mergeProps)((0,f.filterDOMProps)(m,{global:!0}),x),...T,role:F?"dialog":void 0,tabIndex:F?-1:void 0,"aria-label":m["aria-label"],"aria-labelledby":m["aria-labelledby"],ref:M,slot:m.slot||void 0,style:A,dir:m.dir,"data-trigger":m.trigger,"data-placement":D,"data-entering":N||void 0,"data-exiting":n||void 0},!m.isNonModal&&g.default.createElement(o.DismissButton,{onDismiss:e.close}),g.default.createElement(l.OverlayArrowContext.Provider,{value:{...k,placement:D,ref:C}},O),g.default.createElement(o.DismissButton,{onDismiss:e.close}));return P?g.default.createElement(s.Overlay,{...m,shouldContainFocus:F,isExiting:n,portalContainer:null!=(b=null!=r?r:null==E?void 0:E.current)?b:void 0},z):g.default.createElement(s.Overlay,{...m,shouldContainFocus:F,isExiting:n,portalContainer:r},!m.isNonModal&&e.isOpen&&g.default.createElement("div",{"data-testid":"underlay",...K,style:{position:"fixed",inset:0}}),g.default.createElement("div",{ref:w,style:{display:"contents"}},g.default.createElement(v.Provider,{value:w},z)))}},627434,e=>{"use strict";e.i(968173),e.i(548319);var t=e.i(169106);e.i(571627),e.i(670478);let l=(0,e.i(92488).createContext)({});
7class n extends t.CollectionNode{filter(e,t){let l=t.getItem(this.prevKey);if(l&&"separator"!==l.type){let l=this.clone();return t.addDescendants(l,e),l}return null}}n.type="separator",e.s(["SeparatorContext",0,l],627434)},325661,(e,t,l)=>{"use strict";var n=e.r(92488),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,o=n.useEffect,s=n.useLayoutEffect,a=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!r(e,l)}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 l=t(),n=i({inst:{value:l,getSnapshot:t}}),r=n[0].inst,c=n[1];return s(function(){r.value=l,r.getSnapshot=t,u(r)&&c({inst:r})},[e,l,t]),o(function(){return u(r)&&c({inst:r}),e(function(){u(r)&&c({inst:r})})},[e]),a(l),l};l.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},56032,(e,t,l)=>{"use strict";e.i(825866),t.exports=e.r(325661)},292832,378384,392197,e=>{"use strict";var t=e.i(169437),l=e.i(863537),n=e.i(78733),r=e.i(968173),i=e.i(483620),o=e.i(92488);let s=(0,o.createContext)({}),a=(0,o.createContext)(null),u=(0,o.forwardRef)(function(e,t){let{render:l}=(0,o.useContext)(a);return o.default.createElement(o.default.Fragment,null,l(e,t))});function c(e,t){var l;let n=null==e?void 0:e.renderDropIndicator,r=null==e||null==(l=e.isVirtualDragging)?void 0:l.call(e),i=(0,o.useCallback)(e=>{if(r||(null==t?void 0:t.isDropTarget(e)))return n?n(e):o.default.createElement(u,{target:e})},[null==t?void 0:t.target,r,n]);return(null==e?void 0:e.useDropIndicator)?i:void 0}var d=e.i(670681),f=e.i(659604),p=e.i(810377),h=e.i(627434),g=e.i(958386),m=e.i(783270),y=e.i(354799),v=e.i(333566),b=e.i(235997);let S=new WeakMap;var C=e.i(548319),w=e.i(5201),E=e.i(670478),P=e.i(855056),x=e.i(329950),K=e.i(268029),k=e.i(71385),D=e.i(999360),R=e.i(393897),M=e.i(700718),N=e.i(119749),T=e.i(520487),L=e.i(63432),F=e.i(564872),I=e.i(757220),O=e.i(316557),A=e.i(571627),z=e.i(169106),_=e.i(678897),B=e.i(443500),V=e.i(293565),H=e.i(642996),j=e.i(898308),U=e.i(720023);let W=(0,o.createContext)(null),$=(0,o.createContext)(null),q=(0,o.forwardRef)(function(e,t){[e,t]=(0,r.useContextProps)(e,t,W);let l=(0,o.useContext)($);return l?o.default.createElement(G,{state:l,props:e,listBoxRef:t}):o.default.createElement(A.CollectionBuilder,{content:o.default.createElement(A.Collection,e)},l=>o.default.createElement(Z,{props:e,listBoxRef:t,collection:l}))});function Z({props:e,listBoxRef:t,collection:l}){e={...e,collection:l,children:null,items:null};let{layoutDelegate:n}=(0,o.useContext)(i.CollectionRendererContext),r=(0,_.useListState)({...e,layoutDelegate:n});return o.default.createElement(G,{state:r,props:e,listBoxRef:t})}function G({state:e,props:t,listBoxRef:l}){let n,u,d;[t,l]=(0,r.useContextProps)(t,l,f.SelectableCollectionContext);let{dragAndDropHooks:p,layout:m="stack",orientation:R="vertical",filter:M}=t,N=(0,_.UNSTABLE_useFilteredListState)(e,M),{collection:T,selectionManager:L}=N,F=!!(null==p?void 0:p.useDraggableCollectionState),I=!!(null==p?void 0:p.useDroppableCollectionState),{direction:O}=(0,y.useLocale)(),{disabledBehavior:A,disabledKeys:z}=L,B=(0,v.useCollator)({usage:"search",sensitivity:"base"}),{isVirtualized:V,layoutDelegate:H,dropTargetDelegate:j,CollectionRoot:U}=(0,o.useContext)(i.CollectionRendererContext),q=(0,o.useMemo)(()=>t.keyboardDelegate||new(0,b.ListKeyboardDelegate)({collection:T,collator:B,ref:l,disabledKeys:z,disabledBehavior:A,layout:m,orientation:R,direction:O,layoutDelegate:H}),[T,B,l,A,z,R,O,t.keyboardDelegate,m,H]),{listBoxProps:Z}=function(e,t,l){let n=(0,C.filterDOMProps)(e,{labelable:!0}),r=e.selectionBehavior||"toggle",i=e.linkBehavior||("replace"===r?"action":"override");"toggle"===r&&"action"===i&&(i="override");let{listProps:o}=(0,K.useSelectableList)({...e,ref:l,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:s}=(0,P.useFocusWithin)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),a=(0,w.useId)(e.id);S.set(t,{id:a,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:u,fieldProps:c}=(0,x.useLabel)({...e,id:a,labelElementType:"span"});return{labelProps:u,listBoxProps:(0,E.mergeProps)(n,s,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,E.mergeProps)(c,o)})}}({...t,shouldSelectOnPressUp:F||t.shouldSelectOnPressUp,keyboardDelegate:q,isVirtualized:V},N,l);(0,o.useRef)(F),(0,o.useRef)(I),(0,o.useEffect)(()=>{},[F,I]);let X=!1,Q=null,ee=(0,o.useRef)(null);if(F&&p){n=p.useDraggableCollectionState({collection:T,selectionManager:L,preview:p.renderDragPreview?ee:void 0}),p.useDraggableCollection({},n,l);let e=p.DragPreview;Q=p.renderDragPreview?o.default.createElement(e,{ref:ee},p.renderDragPreview):null}if(I&&p){u=p.useDroppableCollectionState({collection:T,selectionManager:L});let e=p.dropTargetDelegate||j||new p.ListDropTargetDelegate(T,l,{orientation:R,layout:m,direction:O});d=p.useDroppableCollection({keyboardDelegate:q,dropTargetDelegate:e},u,l),X=u.isDropTarget({type:"root"})}let{focusProps:et,isFocused:el,isFocusVisible:en}=(0,k.useFocusRing)(),er=0===N.collection.size,ei={isDropTarget:X,isEmpty:er,isFocused:el,isFocusVisible:en,layout:t.layout||"stack",state:N},eo=(0,r.useRenderProps)({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:ei}),es=null;er&&t.renderEmptyState&&(es=o.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(ei)));let ea=(0,C.filterDOMProps)(t,{global:!0});return o.default.createElement(D.FocusScope,null,o.default.createElement(r.dom.div,{...(0,E.mergeProps)(ea,eo,Z,et,null==d?void 0:d.collectionProps),ref:l,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":X||void 0,"data-empty":er||void 0,"data-focused":el||void 0,"data-focus-visible":en||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.default.createElement(r.Provider,{values:[[W,t],[$,N],[s,{dragAndDropHooks:p,dragState:n,dropState:u}],[h.SeparatorContext,{elementType:"div"}],[a,{render:Y}],[i.SectionContext,{name:"ListBoxSection",render:J}]]},o.default.createElement(g.SharedElementTransition,null,o.default.createElement(U,{collection:T,scrollRef:l,persistedKeys:function(e,t,l){var n,r,i,s,a,u;let c=e.focusedKey,d=null;if((null==t||null==(n=t.isVirtualDragging)?void 0:n.call(t))&&(null==l||null==(r=l.target)?void 0:r.type)==="item"&&(d=l.target.key,"after"===l.target.dropPosition)){let e=l.collection.getKeyAfter(d),t=null;if(null!=e){let n=null!=(s=null==(i=l.collection.getItem(d))?void 0:i.level)?s:0;for(;e;){let r=l.collection.getItem(e);if(!r)break;
7if("item"!==r.type){e=l.collection.getKeyAfter(e);continue}if((null!=(a=r.level)?a:0)<=n)break;t=e,e=l.collection.getKeyAfter(e)}}d=null!=(u=null!=e?e:t)?u:d}return(0,o.useMemo)(()=>new Set([c,d].filter(e=>null!=e)),[c,d])}(L,p,u),renderDropIndicator:c(p,u)}))),es,Q))}function J(e,t,l,n="react-aria-ListBoxSection"){var a;let u=(0,o.useContext)($),{dragAndDropHooks:f,dropState:p}=(0,o.useContext)(s),{CollectionBranch:h}=(0,o.useContext)(i.CollectionRendererContext),[g,m]=(0,r.useSlot)(),{headingProps:y,groupProps:v}=function(e){let{heading:t,"aria-label":l}=e,n=(0,w.useId)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:e=>{e.preventDefault()}}:{},groupProps:{role:"group","aria-label":l,"aria-labelledby":t?n:void 0}}}({heading:m,"aria-label":null!=(a=e["aria-label"])?a:void 0}),b=(0,r.useRenderProps)({...e,id:void 0,children:void 0,defaultClassName:n,values:void 0}),S=(0,C.filterDOMProps)(e,{global:!0});return delete S.id,o.default.createElement(r.dom.section,{...(0,E.mergeProps)(S,b,v),ref:t},o.default.createElement(d.HeaderContext.Provider,{value:{...y,ref:g}},o.default.createElement(h,{collection:u.collection,parent:l,renderDropIndicator:c(f,p)})))}z.SectionNode;let X=(0,A.createLeafComponent)(z.ItemNode,function(e,t,l){let n=(0,B.useObjectRef)(t),i=(0,o.useContext)($),{dragAndDropHooks:a,dragState:u,dropState:c}=(0,o.useContext)(s),{optionProps:d,labelProps:f,descriptionProps:h,...g}=function(e,t,l){var n,r,i,o,s,a,u,c;let{key:d}=e,f=S.get(t),p=null!=(i=e.isDisabled)?i:t.selectionManager.isDisabled(d),h=null!=(o=e.isSelected)?o:t.selectionManager.isSelected(d),g=null!=(s=e.shouldSelectOnPressUp)?s:null==f?void 0:f.shouldSelectOnPressUp,m=null!=(a=e.shouldFocusOnHover)?a:null==f?void 0:f.shouldFocusOnHover,y=null!=(u=e.shouldUseVirtualFocus)?u:null==f?void 0:f.shouldUseVirtualFocus,v=null!=(c=e.isVirtualized)?c:null==f?void 0:f.isVirtualized,b=(0,w.useSlotId)(),P=(0,w.useSlotId)(),x={role:"option","aria-disabled":p||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?h:void 0};(0,R.isMac)()&&(0,R.isWebKit)()||(x["aria-label"]=e["aria-label"],x["aria-labelledby"]=b,x["aria-describedby"]=P);let K=t.collection.getItem(d);if(v){let e=Number(null==K?void 0:K.index);x["aria-posinset"]=Number.isNaN(e)?void 0:e+1,x["aria-setsize"]=(0,T.getItemCount)(t.collection)}let k=(null==f?void 0:f.onAction)?()=>{var e;return null==f||null==(e=f.onAction)?void 0:e.call(f,d)}:void 0,D=function(e,t){let l=S.get(e);if(!l)throw Error("Unknown list");return`${l.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}(t,d),{itemProps:O,isPressed:A,isFocused:z,hasAction:_,allowsSelection:B}=(0,I.useSelectableItem)({selectionManager:t.selectionManager,key:d,ref:l,shouldSelectOnPressUp:g,allowsDifferentPressOrigin:g&&m,isVirtualized:v,shouldUseVirtualFocus:y,isDisabled:p,onAction:k||(null==K||null==(n=K.props)?void 0:n.onAction)?(0,M.chain)(null==K||null==(r=K.props)?void 0:r.onAction,k):void 0,linkBehavior:null==f?void 0:f.linkBehavior,UNSTABLE_itemBehavior:null==f?void 0:f.UNSTABLE_itemBehavior,id:D}),{hoverProps:V}=(0,L.useHover)({isDisabled:p||!m,onHoverStart(){(0,F.isFocusVisible)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(d))}}),H=(0,C.filterDOMProps)(null==K?void 0:K.props);delete H.id;let j=(0,N.useLinkProps)(null==K?void 0:K.props);return{optionProps:{...x,...(0,E.mergeProps)(H,O,V,j),id:D},labelProps:{id:b},descriptionProps:{id:P},isFocused:z,isFocusVisible:z&&t.selectionManager.isFocused&&(0,F.isFocusVisible)(),isSelected:h,isDisabled:p,isPressed:A,allowsSelection:B,hasAction:_}}({key:l.key,"aria-label":null==e?void 0:e["aria-label"]},i,n),{hoverProps:y,isHovered:v}=(0,L.useHover)({isDisabled:!g.allowsSelection&&!g.hasAction,onHoverStart:l.props.onHoverStart,onHoverChange:l.props.onHoverChange,onHoverEnd:l.props.onHoverEnd}),{focusProps:b}=(0,O.useFocus)(e),P=null;u&&a&&(P=a.useDraggableItem({key:l.key,hasAction:g.hasAction},u));let x=null;c&&a&&(x=a.useDroppableItem({target:{type:"item",key:l.key,dropPosition:"on"}},c,n));let K=u&&u.isDragging(l.key),k=(0,r.useRenderProps)({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...g,isHovered:v,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!u,isDragging:K,isDropTarget:null==x?void 0:x.isDropTarget}});(0,o.useEffect)(()=>{},[l.textValue]);let D=e.href?r.dom.a:r.dom.div,A=(0,C.filterDOMProps)(e,{global:!0});return delete A.id,delete A.onClick,e.href&&null==d.tabIndex&&(d.tabIndex=-1),o.default.createElement(D,{...(0,E.mergeProps)(A,k,d,y,b,null==P?void 0:P.dragProps,null==x?void 0:x.dropProps),ref:n,"data-allows-dragging":!!u||void 0,"data-selected":g.isSelected||void 0,"data-disabled":g.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":g.isFocused||void 0,"data-focus-visible":g.isFocusVisible||void 0,"data-pressed":g.isPressed||void 0,"data-dragging":K||void 0,"data-drop-target":(null==x?void 0:x.isDropTarget)||void 0,"data-selection-mode":"none"===i.selectionManager.selectionMode?void 0:i.selectionManager.selectionMode},o.default.createElement(r.Provider,{values:[[m.TextContext,{slots:{[r.DEFAULT_SLOT]:f,label:f,description:h}}],[p.SelectionIndicatorContext,{isSelected:g.isSelected}]]},k.children))});function Y(e,t){t=(0,B.useObjectRef)(t);let{dragAndDropHooks:l,dropState:n}=(0,o.useContext)(s),{dropIndicatorProps:r,isHidden:i,isDropTarget:a}=l.useDropIndicator(e,n,t);return i?null:o.default.createElement(Q,{...e,dropIndicatorProps:r,isDropTarget:a,ref:t})}let Q=(0,o.forwardRef)(function(e,t){let{dropIndicatorProps:l,isDropTarget:n,...i}=e,s=(0,r.useRenderProps)({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.default.createElement(r.dom.div,{...l,...s,role:"option",ref:t,"data-drop-target":n||void 0})});(0,A.createLeafComponent)(z.LoaderNode,function(e,t,l){let n=(0,o.useContext)($),{isLoading:i,onLoadMore:s,scrollOffset:a,...u}=e,c=(0,o.useRef)(null);
7!function(e,t){let{collection:l,onLoadMore:n,scrollOffset:r=1}=e,i=(0,o.useRef)(null),s=(0,H.useEffectEvent)(e=>{for(let t of e)t.isIntersecting&&n&&n()});(0,j.useLayoutEffect)(()=>(t.current&&(i.current=new IntersectionObserver(s,{root:(0,V.getScrollParent)(null==t?void 0:t.current),rootMargin:`0px ${100*r}% ${100*r}% ${100*r}%`}),i.current.observe(t.current)),()=>{i.current&&i.current.disconnect()}),[l,t,r])}((0,o.useMemo)(()=>({onLoadMore:s,collection:null==n?void 0:n.collection,sentinelRef:c,scrollOffset:a}),[s,a,null==n?void 0:n.collection]),c);let d=(0,r.useRenderProps)({...u,id:void 0,children:l.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0});return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:(0,U.inertValue)(!0)},o.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),i&&d.children&&o.default.createElement(r.dom.div,{...(0,E.mergeProps)((0,C.filterDOMProps)(e,{global:!0}),{tabIndex:-1}),...d,role:"option",ref:t},d.children))}),e.s(["ListBox",0,q,"ListBoxContext",0,W,"ListBoxItem",0,X,"ListStateContext",0,$],378384);var ee=e.i(429432),et=e.i(235361),el=e.i(522632),en={};en={"ar-AE":{colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"},"bg-BG":{colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"},"cs-CZ":{colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"},"da-DK":{colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"},"de-DE":{colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"},"el-GR":{colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"},"en-US":{selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"},"es-ES":{colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"},"et-EE":{colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"},"fi-FI":{colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"},"fr-FR":{colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"},"he-IL":{colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"},"hr-HR":{colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"},"hu-HU":{colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"},"it-IT":{colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"},"ja-JP":{colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"},"ko-KR":{colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"},"lt-LT":{colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"},"lv-LV":{colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"},"nb-NO":{colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"},"nl-NL":{colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"},"pl-PL":{colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"},"pt-BR":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"pt-PT":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"ro-RO":{colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"},"ru-RU":{colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"},"sk-SK":{colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"},"sl-SI":{colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"},"sr-SP":{colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"},"sv-SE":{colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"},"tr-TR":{colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"},"uk-UA":{colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"},"zh-CN":{colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"},"zh-TW":{colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"}};
7var er=e.i(962233),ei=e.i(6509),eo=e.i(256866),es=e.i(835614),ea=e.i(358918),eu=e.i(790687);let ec=new WeakMap;var ed=e.i(547595),ef=e.i(48196),ep=e.i(272123);function eh(e){let{state:t,triggerRef:l,label:n,name:r,form:i,isDisabled:s}=e,a=(0,o.useRef)(null),u=(0,o.useRef)(null),{containerProps:c,selectProps:d}=function(e,t,l){var n;let r=ec.get(t)||{},{autoComplete:i,name:s=r.name,form:a=r.form,isDisabled:u=r.isDisabled}=e,{validationBehavior:c,isRequired:d}=r,{visuallyHiddenProps:f}=(0,ep.useVisuallyHidden)({style:{position:"fixed",top:0,left:0}});(0,ed.useFormReset)(e.selectRef,t.defaultValue,t.setValue),(0,ef.useFormValidation)({validationBehavior:c,focus:()=>{var e;return null==(e=l.current)?void 0:e.focus()}},t,e.selectRef);let p=t.setValue,h=(0,o.useCallback)(e=>{e.target.multiple?p(Array.from(e.target.selectedOptions,e=>e.value)):p(e.currentTarget.value)},[p]);return{containerProps:{...f,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:i,disabled:u,multiple:"multiple"===t.selectionManager.selectionMode,required:"native"===c&&d,name:s,form:a,value:null!=(n=t.value)?n:"",onChange:h,onInput:h}}}({...e,selectRef:t.collection.size<=300?a:u},t,l),f=Array.isArray(t.value)?t.value:[t.value];if(t.collection.size<=300)return o.default.createElement("div",{...c,"data-testid":"hidden-select-container"},o.default.createElement("label",null,n,o.default.createElement("select",{...d,ref:a},o.default.createElement("option",null),[...t.collection.getKeys()].map(e=>{let l=t.collection.getItem(e);if(l&&"item"===l.type)return o.default.createElement("option",{key:l.key,value:l.key},l.textValue)}),0===t.collection.size&&r&&f.map((e,t)=>o.default.createElement("option",{key:t,value:null!=e?e:""})))));if(r){let{validationBehavior:e}=ec.get(t)||{};0===f.length&&(f=[null]);let l=f.map((t,l)=>{let n={type:"hidden",autoComplete:d.autoComplete,name:r,form:i,disabled:s,value:null!=t?t:""};return"native"===e?o.default.createElement("input",{key:l,...n,ref:0===l?u:null,style:{display:"none"},type:"text",required:0===l&&d.required,onChange:()=>{}}):o.default.createElement("input",{key:l,...n,ref:0===l?u:null})});return o.default.createElement(o.default.Fragment,null,l)}return null}var eg=e.i(75499),em=e.i(169843),ey=e.i(158296),ev=e.i(806545),eb=e.i(206100),eS=e.i(735239);let eC=(0,o.createContext)(null),ew=(0,o.createContext)(null),eE=(0,o.forwardRef)(function(e,t){[e,t]=(0,r.useContextProps)(e,t,eC);let{children:l,isDisabled:n=!1,isInvalid:i=!1,isRequired:s=!1}=e,a=(0,o.useMemo)(()=>"function"==typeof l?l({isOpen:!1,isDisabled:n,isInvalid:i,isRequired:s,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):l,[l,n,i,s]);return o.default.createElement(A.CollectionBuilder,{content:a},l=>o.default.createElement(ex,{props:e,collection:l,selectRef:t}))}),eP=[er.LabelContext,n.ButtonContext,m.TextContext];function ex({props:e,selectRef:t,collection:l}){var i,s;let{validationBehavior:a}=(0,r.useSlottedContext)(el.FormContext)||{},u=null!=(s=null!=(i=e.validationBehavior)?i:a)?s:"native",c=function(e){var t,l;let{selectionMode:n="single"}=e,r=(0,ey.useOverlayTriggerState)(e),[i,s]=(0,o.useState)(null),a=(0,o.useMemo)(()=>{var t;return void 0!==e.defaultValue?e.defaultValue:"single"===n?null!=(t=e.defaultSelectedKey)?t:null:[]},[e.defaultValue,e.defaultSelectedKey,n]),u=(0,o.useMemo)(()=>void 0!==e.value?e.value:"single"===n?e.selectedKey:void 0,[e.value,e.selectedKey,n]),[c,d]=(0,ev.useControlledState)(u,a,e.onChange),f="single"===n&&Array.isArray(c)?c[0]:c,p=t=>{if("single"===n){var l,r;let n=Array.isArray(t)?null!=(r=t[0])?r:null:t;d(n),n!==f&&(null==(l=e.onSelectionChange)||l.call(e,n))}else{let e=[];Array.isArray(t)?e=t:null!=t&&(e=[t]),d(e)}},h=(0,_.useListState)({...e,selectionMode:n,disallowEmptySelection:"single"===n,allowDuplicateSelectionEvents:!0,selectedKeys:(0,o.useMemo)(()=>(function(e){if(void 0!==e)return null===e?[]:Array.isArray(e)?e:[e]})(f),[f]),onSelectionChange:e=>{if("all"!==e){if("single"===n){var t;p(null!=(t=e.values().next().value)?t:null),r.close()}else p([...e]);y.commitValidation()}}}),g=h.selectionManager.firstSelectedKey,m=(0,o.useMemo)(()=>[...h.selectionManager.selectedKeys].map(e=>h.collection.getItem(e)).filter(e=>null!=e),[h.selectionManager.selectedKeys,h.collection]),y=(0,em.useFormValidationState)({...e,value:Array.isArray(f)&&0===f.length?null:f}),[v,b]=(0,o.useState)(!1),[S]=(0,o.useState)(f);return{...y,...h,...r,value:f,defaultValue:null!=a?a:S,setValue:p,selectedKey:g,setSelectedKey:p,selectedItem:null!=(t=m[0])?t:null,selectedItems:m,defaultSelectedKey:null!=(l=e.defaultSelectedKey)?l:"single"===e.selectionMode?S:null,focusStrategy:i,open(t=null){(0!==h.collection.size||e.allowsEmptyCollection)&&(s(t),r.open())},toggle(t=null){(0!==h.collection.size||e.allowsEmptyCollection)&&(s(t),r.toggle(
7))},isFocused:v,setFocused:b}}({...e,collection:l,children:void 0,validationBehavior:u}),{isFocusVisible:d,focusProps:f}=(0,k.useFocusRing)({within:!0}),p=(0,o.useRef)(null),[h,g]=(0,r.useSlot)(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:y,triggerProps:S,valueProps:P,menuProps:x,descriptionProps:K,errorMessageProps:D,hiddenSelectProps:R,...N}=function(e,t,l){let{keyboardDelegate:n,isDisabled:r,isRequired:i,name:s,form:a,validationBehavior:u="aria"}=e,c=(0,v.useCollator)({usage:"search",sensitivity:"base"}),d=(0,o.useMemo)(()=>n||new(0,b.ListKeyboardDelegate)(t.collection,t.disabledKeys,l,c),[n,t.collection,t.disabledKeys,c,l]),{menuTriggerProps:f,menuProps:p}=(0,eu.useMenuTrigger)({isDisabled:r,type:"listbox"},t,l),{typeSelectProps:h}=(0,es.useTypeSelect)({keyboardDelegate:d,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:g,validationErrors:m,validationDetails:y}=t.displayValidation,{labelProps:S,fieldProps:P,descriptionProps:x,errorMessageProps:K}=(0,ea.useField)({...e,labelElementType:"span",isInvalid:g,errorMessage:e.errorMessage||m});h.onKeyDown=h.onKeyDownCapture,delete h.onKeyDownCapture,"multiple"===t.selectionManager.selectionMode&&(h={});let k=(0,C.filterDOMProps)(e,{labelable:!0}),D=(0,E.mergeProps)(h,f,P),R=(0,w.useId)();return ec.set(t,{isDisabled:r,isRequired:i,name:s,form:a,validationBehavior:u}),{labelProps:{...S,onClick:()=>{if(!e.isDisabled){var t;null==(t=l.current)||t.focus(),(0,F.setInteractionModality)("keyboard")}}},triggerProps:(0,E.mergeProps)(k,{...D,isDisabled:r,onKeyDown:(0,M.chain)(D.onKeyDown,e=>{var l,n,r,i;if("multiple"!==t.selectionManager.selectionMode)switch(e.key){case"ArrowLeft":{e.preventDefault();let r=null!=t.selectedKey?null==(l=d.getKeyAbove)?void 0:l.call(d,t.selectedKey):null==(n=d.getFirstKey)?void 0:n.call(d);r&&t.setSelectedKey(r);break}case"ArrowRight":{e.preventDefault();let l=null!=t.selectedKey?null==(r=d.getKeyBelow)?void 0:r.call(d,t.selectedKey):null==(i=d.getFirstKey)?void 0:i.call(d);l&&t.setSelectedKey(l)}}},e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[R,D["aria-labelledby"],D["aria-label"]&&!D["aria-labelledby"]?D.id:null].filter(Boolean).join(" "),onFocus(l){t.isFocused||(e.onFocus&&e.onFocus(l),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(l){t.isOpen||(e.onBlur&&e.onBlur(l),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:R},menuProps:{...p,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:l=>{(0,eo.nodeContains)(l.currentTarget,l.relatedTarget)||(e.onBlur&&e.onBlur(l),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[P["aria-labelledby"],D["aria-label"]&&!P["aria-labelledby"]?D.id:null].filter(Boolean).join(" ")},descriptionProps:x,errorMessageProps:K,isInvalid:g,validationErrors:m,validationDetails:y,hiddenSelectProps:{isDisabled:r,name:s,label:e.label,state:t,triggerRef:l,form:a}}}({...(0,r.removeDataAttributes)(e),label:g,validationBehavior:u},c,p),[T,L]=(0,o.useState)(null),I=(0,o.useCallback)(()=>{p.current&&L(p.current.offsetWidth+"px")},[p]);(0,eS.useResizeObserver)({ref:p,onResize:I});let O=(0,o.useMemo)(()=>({isOpen:c.isOpen,isFocused:c.isFocused,isFocusVisible:d,isDisabled:e.isDisabled||!1,isInvalid:N.isInvalid||!1,isRequired:e.isRequired||!1}),[c.isOpen,c.isFocused,d,e.isDisabled,N.isInvalid,e.isRequired]),A=(0,r.useRenderProps)({...e,values:O,defaultClassName:"react-aria-Select"}),z=(0,C.filterDOMProps)(e,{global:!0});delete z.id;let B=(0,o.useRef)(null);return o.default.createElement(r.Provider,{values:[[eC,e],[ew,c],[eK,P],[er.LabelContext,{...y,ref:h,elementType:"span"}],[n.ButtonContext,{...S,ref:p,isPressed:c.isOpen,autoFocus:e.autoFocus}],[ei.OverlayTriggerStateContext,c],[ee.PopoverContext,{trigger:"Select",triggerRef:p,scrollRef:B,placement:"bottom start",style:{"--trigger-width":T},"aria-labelledby":x["aria-labelledby"],clearContexts:eP}],[W,{...x,ref:B}],[$,c],[m.TextContext,{slots:{description:K,errorMessage:D}}],[et.FieldErrorContext,N]]},o.default.createElement(r.dom.div,{...(0,E.mergeProps)(z,A,f),ref:t,slot:e.slot||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":d||void 0,"data-open":c.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":N.isInvalid||void 0,"data-required":e.isRequired||void 0},A.children,o.default.createElement(eh,{...R,autoComplete:e.autoComplete})))}let eK=(0,o.createContext)(null),ek=(0,eb.createHideableComponent)(function(e,t){var l,n,i,s;[e,t]=(0,r.useContextProps)(e,t,eK);let a=(0,o.useContext)(ew),{placeholder:u}=(0,r.useSlottedContext)(eC),c=a.selectedItems.map(e=>{var t;let l=null==(t=e.props)?void 0:t.children;return"function"==typeof l&&(l=l({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"})),l}),d=function(e={}){let{locale:t}=(0,y.useLocale)();return(0,o.useMemo)(()=>new Intl.ListFormat(t,e),[t,e])}(),f=(0,o.useMemo)(()=>a.selectedItems.map(e=>null==e?void 0:e.textValue),[a.selectedItems]),p=a.selectionManager.selectionMode,h=(0,o.useMemo)(()=>{var e;return"single"===p?null!=(e=f[0])?e:"":d.format(f)},[p,d,f]),g=(0,o.useMemo)(()=>
7{if("single"===p)return c[0];let e=d.formatToParts(f);if(0===e.length)return null;let t=0;return e.map(e=>"element"===e.type?o.default.createElement(o.Fragment,{key:t},c[t++]):e.value)},[p,d,f,c]),v=(0,eg.useLocalizedStringFormatter)((s=en)&&s.__esModule?s.default:s,"react-aria-components"),b=(0,r.useRenderProps)({...e,defaultChildren:null!=(n=null!=g?g:u)?n:v.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:null!=(i=null==(l=a.selectedItems[0])?void 0:l.value)?i:null,selectedItems:(0,o.useMemo)(()=>a.selectedItems.map(e=>{var t;return null!=(t=e.value)?t:null}),[a.selectedItems]),selectedText:h,isPlaceholder:0===a.selectedItems.length,state:a}}),S=(0,C.filterDOMProps)(e,{global:!0});return o.default.createElement(r.dom.span,{ref:t,...S,...b,"data-placeholder":0===a.selectedItems.length||void 0},o.default.createElement(m.TextContext.Provider,{value:void 0},b.children))});e.s(["Select",0,eE,"SelectValue",0,ek],392197);var eD=e.i(981653),eR=e.i(590308),eM=e.i(810268),eN=e.i(228977);e.s(["SelectOption",0,function(e){let n,r,i,o,s,a,u,c=(0,l.c)(14);if(c[0]!==e){let{children:t,className:l,standalone:s,textValue:a,...u}=e;n=t,r=l,o=a,i=u,c[0]=e,c[1]=n,c[2]=r,c[3]=i,c[4]=o}else n=c[1],r=c[2],i=c[3],o=c[4];return c[5]!==r?(s=(0,eN.twMerge)("flex w-full cursor-pointer items-center justify-between gap-2 p-4 outline-hidden transition-colors","text-primary data-selected:text-green-500 theme-tech:data-selected:text-green-500","focus-visible:bg-surface-tertiary-100 data-selected:bg-surface-primary-100 data-[hovered=true]:bg-surface-tertiary-100",r),c[5]=r,c[6]=s):s=c[6],c[7]!==n?(a=e=>{let{isSelected:l}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:n}),l&&(0,t.jsx)(eM.default,{className:"h-6 w-6"})]})},c[7]=n,c[8]=a):a=c[8],c[9]!==i||c[10]!==s||c[11]!==a||c[12]!==o?(u=(0,t.jsx)(X,{className:s,textValue:o,...i,children:a}),c[9]=i,c[10]=s,c[11]=a,c[12]=o,c[13]=u):u=c[13],u},"default",0,function(e){let r,i,o,s,a,u,c,d,f,p,h,g,m,y,v,b,S,C,w,E,P,x,K,k,D=(0,l.c)(47);D[0]!==e?({autoFocus:r,children:o,className:s,label:u,description:a,buttonClassName:i,popoverClassName:c,hideLabel:h,renderTrigger:f,standalone:p,...d}=e,D[0]=e,D[1]=r,D[2]=i,D[3]=o,D[4]=s,D[5]=a,D[6]=u,D[7]=c,D[8]=d,D[9]=f,D[10]=p,D[11]=h):(r=D[1],i=D[2],o=D[3],s=D[4],a=D[5],u=D[6],c=D[7],d=D[8],f=D[9],p=D[10],h=D[11]);let R=void 0!==h&&h;D[12]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(ek,{className:"text-body-sm"}),D[12]=g):g=D[12],D[13]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsxs)(t.Fragment,{children:[g,(0,t.jsx)("span",{"aria-hidden":!0,children:(0,t.jsx)(eR.default,{className:"h-6 w-6 transition-transform group-data-pressed:-rotate-180"})})]}),D[13]=m):m=D[13];let M=m;D[14]!==s?(y=(0,eN.twMerge)(eD.fieldClassnames,s),D[14]=s,D[15]=y):y=D[15],D[16]!==a||D[17]!==R||D[18]!==u||D[19]!==p?(v=(u||a)&&(0,t.jsxs)("div",{className:(0,eN.twMerge)("flex flex-col",(p||R)&&"sr-only"),children:[u&&(0,t.jsx)(eD.FieldLabel,{children:u}),a&&(0,t.jsx)(eD.FieldDescription,{dangerouslySetInnerHTML:{__html:a}})]}),D[16]=a,D[17]=R,D[18]=u,D[19]=p,D[20]=v):v=D[20];let N=p?"h-11 border-transparent bg-surface-tertiary-50 data-focus-visible:outline-4 data-focus-visible:outline-brand":"h-14 w-full border-secondary outline-none data-focus-visible:border-gray-400";return D[21]!==i||D[22]!==N?(b=(0,eN.twMerge)("group relative flex min-w-[256px] items-center justify-between gap-6 rounded-lg border bg-surface-tertiary-50 px-4 text-secondary transition-colors data-pressed:border-dark data-pressed:text-primary",N,i),D[21]=i,D[22]=N,D[23]=b):b=D[23],D[24]!==u||D[25]!==d||D[26]!==f?(S=f?(0,t.jsx)(ek,{className:"contents",children:e=>{let{isPlaceholder:l,selectedText:n}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"sr-only",children:n||d.placeholder||u}),f({isPlaceholder:l,selectedText:n})]})}}):M,D[24]=u,D[25]=d,D[26]=f,D[27]=S):S=D[27],D[28]!==r||D[29]!==b||D[30]!==S?(C=(0,t.jsx)(n.Button,{autoFocus:r,className:b,children:S}),D[28]=r,D[29]=b,D[30]=S,D[31]=C):C=D[31],D[32]!==c?(w=(0,eN.twMerge)("w-(--trigger-width) data-entering:animate-fade-in data-exiting:animate-fade-out",c),D[32]=c,D[33]=w):w=D[33],D[34]===Symbol.for("react.memo_cache_sentinel")?(E=(0,eN.twMerge)("flex max-h-[inherit] flex-col overflow-y-auto rounded-lg border border-secondary bg-surface-tertiary-50 text-body-sm text-secondary shadow-[0_1px_20px_rgba(0,0,0,0.1)] outline-hidden data-focus-visible:border-green-800"),D[34]=E):E=D[34],D[35]!==o?(P=(0,t.jsx)(q,{className:E,
7children:o}),D[35]=o,D[36]=P):P=D[36],D[37]!==w||D[38]!==P?(x=(0,t.jsx)(ee.Popover,{className:w,offset:8,children:P}),D[37]=w,D[38]=P,D[39]=x):x=D[39],D[40]===Symbol.for("react.memo_cache_sentinel")?(K=(0,t.jsx)(eD.FieldError,{}),D[40]=K):K=D[40],D[41]!==d||D[42]!==x||D[43]!==y||D[44]!==v||D[45]!==C?(k=(0,t.jsxs)(eE,{...d,className:y,children:[v,C,x,K]}),D[41]=d,D[42]=x,D[43]=y,D[44]=v,D[45]=C,D[46]=k):k=D[46],k}],292832)}]);

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.