1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ef8e6ccc-48fb-41a0-96c4-346e71d43805",e._sentryDebugIdIdentifier="sentry-dbid-ef8e6ccc-48fb-41a0-96c4-346e71d43805")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3263],{11279:(e,t,n)=>{n.d(t,{C7:()=>I,N$:()=>C,Pu:()=>E,n1:()=>g});var l=n(63579),r=n(91488),o=n(24342),i=n(25293),s=n(70517),c=n(39531),u=n(42012),a=n(68800),d=n(25398);let f=d.createContext(null),h="react-aria-focus-scope-restore",p=null;function g(e){var t,n,l,r,u;let g,E,{children:I,contain:L,restoreFocus:M,autoFocus:A}=e,D=(0,d.useRef)(null),P=(0,d.useRef)(null),k=(0,d.useRef)([]),{parentNode:W}=(0,d.useContext)(f)||{},B=(0,d.useMemo)(()=>new F({scopeRef:k}),[k]);(0,a.N)(()=>{let e=W||x.root;if(x.getTreeNode(e.scopeRef)&&p&&!S(p,e.scopeRef)){let t=x.getTreeNode(p);t&&(e=t)}e.addChild(B),x.addNode(B)},[B,W]),(0,a.N)(()=>{let e=x.getTreeNode(k);e&&(e.contain=!!L)},[L]),(0,a.N)(()=>{var e;let t=null==(e=D.current)?void 0:e.nextSibling,n=[],l=e=>e.stopPropagation();for(;t&&t!==P.current;)n.push(t),t.addEventListener(h,l),t=t.nextSibling;return k.current=n,()=>{for(let e of n)e.removeEventListener(h,l)}},[I]),t=k,n=M,l=L,(0,a.N)(()=>{if(n||l)return;let e=t.current,r=(0,s.TW)(e?e[0]:void 0),i=e=>{let n=(0,o.wt)(e);b(n,t.current)?p=t:m(n)||(p=null)};return r.addEventListener("focusin",i,!1),null==e||e.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{r.removeEventListener("focusin",i,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",i,!1))}},[t,n,l]),r=k,u=L,g=(0,d.useRef)(void 0),E=(0,d.useRef)(void 0),(0,a.N)(()=>{let e=r.current;if(!u){E.current&&(cancelAnimationFrame(E.current),E.current=void 0);return}let t=(0,s.TW)(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!y(r)||e.isComposing)return;let n=(0,o.bq)(t),l=r.current;if(!l||!b(n,l))return;let i=C(v(l),{tabbable:!0},l);if(!n)return;i.currentNode=n;let c=e.shiftKey?i.previousNode():i.nextNode();c||(i.currentNode=e.shiftKey?l[l.length-1].nextElementSibling:l[0].previousElementSibling,c=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),c&&(K(c,!0),c instanceof(0,s.mD)(c).HTMLInputElement&&c.select())},l=e=>{(!p||S(p,r))&&b((0,o.wt)(e),r.current)?(p=r,g.current=(0,o.wt)(e)):y(r)&&!m((0,o.wt)(e),r)?g.current?K(g.current):p&&p.current&&T(p.current):y(r)&&(g.current=(0,o.wt)(e))},a=e=>{E.current&&cancelAnimationFrame(E.current),E.current=requestAnimationFrame(()=>{let n=(0,i.ME)(),l=("virtual"===n||null===n)&&(0,c.m0)()&&(0,c.H8)(),s=(0,o.bq)(t);if(!l&&s&&y(r)&&!m(s,r)){p=r;let t=(0,o.wt)(e);t&&t.isConnected?(g.current=t,K(g.current)):p.current&&T(p.current)}})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",l,!1),null==e||e.forEach(e=>e.addEventListener("focusin",l,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",a,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",l,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",l,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",a,!1))}},[r,u]),(0,a.N)(()=>()=>{E.current&&cancelAnimationFrame(E.current)},[E]),function(e,t,n){let l=(0,d.useRef)("undefined"!=typeof document?(0,o.bq)((0,s.TW)(e.current?e.current[0]:void 0)):null);(0,a.N)(()=>{let l=e.current,r=(0,s.TW)(l?l[0]:void 0);if(!t||n)return;let i=()=>{(!p||S(p,e))&&b((0,o.bq)(r),e.current)&&(p=e)};return r.addEventListener("focusin",i,!1),null==l||l.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{r.removeEventListener("focusin",i,!1),null==l||l.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,n]),(0,a.N)(()=>{let l=(0,s.TW)(e.current?e.current[0]:void 0);if(!t)return;let r=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y(e)||t.isComposing)return;let n=l.activeElement;if(!m(n,e)||!R(e))return;let r=x.getTreeNode(e);if(!r)return;let o=r.nodeToRestore,i=C(l.body,{tabbable:!0});i.currentNode=n;let s=t.shiftKey?i.previousNode():i.nextNode();if(o&&o.isConnected&&o!==l.body||(o=void 0,r.nodeToRestore=void 0),(!s||!m(s,e))&&o){i.currentNode=o;do s=t.shiftKey?i.previousNode():i.nextNode();while(m(s,e));(t.preventDefault(),t.stopPropagation(),s)?K(s,!0):m(o)?K(o,!0):n.blur()}};return n||l.addEventListener("keydown",r,!0),()=>{n||l.removeEventListener("keydown",r,!0)}},[e,t,n]),(0,a.N)(()=>{var n;let r=(0,s.TW)(e.current?e.current[0]:void 0);if(!t)return;let i=x.getTreeNode(e);if(i)return i.nodeToRestore=null!=(n=l.current)?n:void 0,()=>{let n=x.getTreeNode(e);if(!n)return;let l=n.nodeToRestore,i=(0,o.bq)(r);if(t&&l&&(i&&m(i,e)||i===r.body&&R(e))){let t=x.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected)return void w(n.nodeToRestore);n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&x.getTreeNode(n.scopeRef))return void w(N(n.scopeRef.current,!0));n=n.parent}}})}}},[e,t])}(k,M,L),function(e,t){let n=d.useRef(t);(0,d.useEffect)(()=>
1{if(n.current){p=e;let t=(0,s.TW)(e.current?e.current[0]:void 0);!b((0,o.bq)(t),p.current)&&e.current&&T(e.current)}n.current=!1},[e])}(k,A),(0,d.useEffect)(()=>{let e=(0,o.bq)((0,s.TW)(k.current?k.current[0]:void 0)),t=null;if(b(e,k.current)){for(let n of x.traverse())n.scopeRef&&b(e,n.scopeRef.current)&&(t=n);t===x.getTreeNode(k)&&(p=t.scopeRef)}},[k]),(0,a.N)(()=>()=>{var e,t,n;let l=null!=(n=null==(t=x.getTreeNode(k))||null==(e=t.parent)?void 0:e.scopeRef)?n:null;(k===p||S(k,p))&&(!l||x.getTreeNode(l))&&(p=l),x.removeTreeNode(k)},[k]);let _=(0,d.useMemo)(()=>{var e;return e=k,{focusNext(){var t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=e.current,{from:r,tabbable:i,wrap:c,accept:u}=n,a=r||(0,o.bq)((0,s.TW)(null!=(t=l[0])?t:void 0)),d=l[0].previousElementSibling,f=C(v(l),{tabbable:i,accept:u},l);f.currentNode=b(a,l)?a:d;let h=f.nextNode();return!h&&c&&(f.currentNode=d,h=f.nextNode()),h&&K(h,!0),h},focusPrevious(){var t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=e.current,{from:r,tabbable:i,wrap:c,accept:u}=n,a=r||(0,o.bq)((0,s.TW)(null!=(t=l[0])?t:void 0)),d=l[l.length-1].nextElementSibling,f=C(v(l),{tabbable:i,accept:u},l);f.currentNode=b(a,l)?a:d;let h=f.previousNode();return!h&&c&&(f.currentNode=d,h=f.previousNode()),h&&K(h,!0),h},focusFirst(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.current,{tabbable:l,accept:r}=t,o=C(v(n),{tabbable:l,accept:r},n);o.currentNode=n[0].previousElementSibling;let i=o.nextNode();return i&&K(i,!0),i},focusLast(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.current,{tabbable:l,accept:r}=t,o=C(v(n),{tabbable:l,accept:r},n);o.currentNode=n[n.length-1].nextElementSibling;let i=o.previousNode();return i&&K(i,!0),i}}},[]),q=(0,d.useMemo)(()=>({focusManager:_,parentNode:B}),[B,_]);return d.createElement(f.Provider,{value:q},d.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:D}),I,d.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:P}))}function v(e){return e[0].parentElement}function y(e){let t=x.getTreeNode(p);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function b(e,t){return!!e&&!!t&&t.some(t=>(0,o.sD)(t,e))}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of x.traverse(x.getTreeNode(t)))if(n&&b(e,n.current))return!0;return!1}function E(e){return m(e,p)}function S(e,t){var n;let l=null==(n=x.getTreeNode(t))?void 0:n.parent;for(;l;){if(l.scopeRef===e)return!0;l=l.parent}return!1}function K(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{(0,r.l)(e)}catch(e){}}function N(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=e[0].previousElementSibling,l=v(e),r=C(l,{tabbable:t},e);r.currentNode=n;let o=r.nextNode();return t&&!o&&((r=C(l=v(e),{tabbable:!1},e)).currentNode=n,o=r.nextNode()),o}function T(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];K(N(e,t))}function R(e){let t=x.getTreeNode(p);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function w(e){e.dispatchEvent(new CustomEvent(h,{bubbles:!0,cancelable:!0}))&&K(e)}function C(e,t,n){let r=(null==t?void 0:t.tabbable)?u.A:u.t,i=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,c=(0,s.TW)(i),a=(0,l.H)(c,e||c,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>(0,o.sD)(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=function(e){if(!e.form)return Array.from((0,s.TW)(e).querySelectorAll('input[type="radio"][name="'.concat(CSS.escape(e.name),'"]'))).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),n=(0,s.mD)(e);return t instanceof n.RadioNodeList?Array.from(t).filter(e=>e instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}(e)||"INPUT"===a.currentNode.tagName&&"radio"===a.currentNode.type&&a.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:r(e)&&(!n||b(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});return(null==t?void 0:t.from)&&(a.currentNode=t.from),a}function I(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{focusNext(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=e.current;if(!l)return null;let{from:r,tabbable:i=t.tabbable,wrap:c=t.wrap,accept:u=t.accept}=n,a=r||(0,o.bq)((0,s.TW)(l)),d=C(l,{tabbable:i,accept:u});(0,o.sD)(l,a)&&(d.currentNode=a);let f=d.nextNode();return!f&&c&&(d.currentNode=l,f=d.nextNode()),f&&K(f,!0),f},focusPrevious(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,l=e.current;if(!l)return null;let{from:r,tabbable:i=t.tabbable,wrap:c=t.wrap,accept:u=t.accept}=n,a=r||(0,o.bq)((0,s.TW)(l)),d=C(l,{tabbable:i,accept:u});if((0,o.sD)(l,a))d.currentNode=a;else{let e=L(d);return e&&K(e,!0),null!=e?e:null}let f=d.previousNode();if(!f&&c){d.currentNode=l;let e=L(d);if(!e)return null;f=e}return f&&K(f,!0),null!=f?f:null},focusFirst(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,l=e.current;if(!l)return null;let{tabbable:r=t.tabbable,accept:o=t.accept}=n,i=C(l,{tabbable:r,accept:o}).nextNode();return i&&K(i,!0),i},focusLast(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,l=e.current;if(!l)return null;let{tabbable:r=t.tabbable,accept:o=t.accept}=n,i=L(C(l,{tabbable:r,accept:o}));return i&&K(i,!0),null!=i?i:null}}}function L(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class M{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let l=this.fastMap.get(null!=t?t:null);if(!l)return;let r=new F({scopeRef:e});l.addChild(r),r.parent=l,this.fastMap.set(e,r),n&&(r.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&b(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let l=t.children;n&&(n.removeChild(t),l.size>
10&&l.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.root;if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new M;for(let l of this.traverse())n.addTreeNode(l.scopeRef,null!=(t=null==(e=l.parent)?void 0:e.scopeRef)?t:null,l.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new F({scopeRef:null}),this.fastMap.set(null,this.root)}}class F{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 x=new M},11418:(e,t,n)=>{n.d(t,{R:()=>i});var l=n(96028),r=n(92177),o=n(25398);function i(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:i,selectionBehavior:c="toggle",disabledBehavior:u="all"}=e,a=(0,o.useRef)(!1),[,d]=(0,o.useState)(!1),f=(0,o.useRef)(null),h=(0,o.useRef)(null),[,p]=(0,o.useState)(null),g=(0,o.useMemo)(()=>s(e.selectedKeys),[e.selectedKeys]),v=(0,o.useMemo)(()=>s(e.defaultSelectedKeys,new(0,l.L)),[e.defaultSelectedKeys]),[y,b]=(0,r.P)(g,v,e.onSelectionChange),m=(0,o.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[E,S]=(0,o.useState)(c);"replace"===c&&"toggle"===E&&"object"==typeof y&&0===y.size&&S("replace");let K=(0,o.useRef)(c);return(0,o.useEffect)(()=>{c!==K.current&&(S(c),K.current=c)},[c]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:E,setSelectionBehavior:S,get isFocused(){return a.current},setFocused(e){a.current=e,d(e)},get focusedKey(){return f.current},get childFocusStrategy(){return h.current},setFocusedKey(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"first";f.current=e,h.current=t,p(e)},selectedKeys:y,setSelectedKeys(e){(i||!function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,y))&&b(e)},disabledKeys:m,disabledBehavior:u}}function s(e,t){return e?"all"===e?"all":new(0,l.L)(e):t}},22211:(e,t,n)=>{n.d(t,{C:()=>r,m:()=>l});let l="react-aria-clear-focus",r="react-aria-focus"},23812:(e,t,n)=>{n.d(t,{Ig:()=>s,_P:()=>c,jo:()=>i,vX:()=>o});var l=n(24342),r=n(70517);function o(e){let t=c((0,r.TW)(e));t!==e&&(t&&i(t,e),e&&s(e,t))}function i(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function s(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function c(e){let t=(0,l.bq)(e),n=null==t?void 0:t.getAttribute("aria-activedescendant");return n&&e.getElementById(n)||t}},25782:(e,t,n)=>{function l(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function r(e){return o(e,0)}function o(e,t){if(t<0)return;let n=0;for(let l of e){if(n===t)return l;n++}}function i(e){let t;for(let n of e)t=n;return t}function s(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let l=[...c(e,t),t],r=[...c(e,n),n],o=l.slice(0,r.length).findIndex((e,t)=>e!==r[t]);return -1!==o?(t=l[o],n=r[o],t.index-n.index):l.findIndex(e=>e===n)>=0?1:(r.findIndex(e=>e===t),-1)}function c(e,t){let n=[],l=t;for(;(null==l?void 0:l.parentKey)!=null;)(l=e.getItem(l.parentKey))&&n.unshift(l);return n}n.d(t,{W:()=>i,cj:()=>o,iQ:()=>l,o3:()=>s,ue:()=>r})},61631:(e,t,n)=>{n.d(t,{Y:()=>o});var l=n(25782),r=n(96028);class o{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;
1if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let n=this.collection.getItem(e);(!t||n&&0>(0,l.o3)(this.collection,n,t))&&(t=n)}return null!=(e=null==t?void 0:t.key)?e:null}get lastSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let n=this.collection.getItem(e);(!t||n&&(0,l.o3)(this.collection,n,t)>0)&&(t=n)}return null!=(e=null==t?void 0:t.key)?e:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let n=this.getKey(e);if(null!=n){if("all"===this.state.selectedKeys)t=new(0,r.L)([n],n,n);else{var l,o;let e=this.state.selectedKeys,i=null!=(l=e.anchorKey)?l:n;for(let l of(t=new(0,r.L)(e,i,n),this.getKeyRange(i,null!=(o=e.currentKey)?o:n)))t.delete(l);for(let e of this.getKeyRange(n,i))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let n=this.collection.getItem(e),r=this.collection.getItem(t);return n&&r?0>=(0,l.o3)(this.collection,n,r)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var n;if(null==(n=this.layoutDelegate)?void 0:n.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let l=[],r=e;for(;null!=r;){let e=this.collection.getItem(r);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&l.push(r),r===t)return l;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 n=new(0,r.L)("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),this.disallowEmptySelection&&0===n.size||this.state.setSelectedKeys(n)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let n=this.canSelectItem(t)?new(0,r.L)([t],t,t):new(0,r.L);this.state.setSelectedKeys(n)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new(0,r.L);for(let n of e){let e=this.getKey(n);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){var e;let t=null!=(e=this.fullCollection)?e:this.collection,n=[],r=e=>{for(;null!=e;){if(this.canSelectItemIn(e,t)){var o,i;let s=t.getItem(e);(null==s?void 0:s.type)==="item"&&n.push(e),(null==s?void 0:s.hasChildNodes)&&(this.allowsCellSelection||"item"!==s.type)&&r(null!=(i=null==(o=(0,l.ue)((0,l.iQ)(s,t)))?void 0:o.key)?i:null)}e=t.getKeyAfter(e)}};return r(t.getFirstKey()),n}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new(0,r.L))}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){var n;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let l=t.getItem(e);return!!l&&(null==l||null==(n=l.props)||!n.isDisabled)&&("cell"!==l.type||!!this.allowsCellSelection)}isDisabled(e){var t,n;let l=this.collection.getItem(e);return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(null==l||null==(t=l.props)?void 0:t.isDisabled))&&(null==l||null==(n=l.props)?void 0:n.disabledBehavior)!=="selection"}isLink(e){var t,n;return!!(null==(n=this.collection.getItem(e))||null==(t=n.props)?void 0:t.href)}getItemProps(e){var t;return null==(t=this.collection.getItem(e))?void 0:t.props}withCollection(e){var t;return new o(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:null!=(t=this.fullCollection)?t:this.collection})}constructor(e,t,n){var l;this.collection=e,this.state=t,this.allowsCellSelection=null!=(l=null==n?void 0:n.allowsCellSelection)&&l,this._isSelectAll=null,this.layoutDelegate=(null==n?void 0:n.layoutDelegate)||null,this.fullCollection=(null==n?void 0:n.fullCollection)||null}}},68771:(e,t,n)=>{n.d(t,{I:()=>s});var l=n(68800),r=n(25398);let o=0,i=new Map;function s(e){let[t,n]=(0,r.useState)();
1return(0,l.N)(()=>{if(!e)return;let t=i.get(e);if(t)n(t.element.id);else{let l="react-aria-description-".concat(o++);n(l);let r=document.createElement("div");r.id=l,r.style.display="none",r.textContent=e,document.body.appendChild(r),t={refCount:0,element:r},i.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),i.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}},78252:(e,t,n)=>{n.d(t,{H:()=>a});var l=n(87037),r=n(70517),o=n(33056),i=n(68771),s=n(11965),c=n(70550),u=n(25398);function a(e){let{isDisabled:t,pointerType:n,onLongPressStart:a,onLongPressEnd:d,onLongPress:f,threshold:h=500,accessibilityDescription:p}=e,g=(0,u.useRef)(void 0),{addGlobalListener:v,removeAllGlobalListeners:y}=(0,s.A)(),b=e=>n?e.pointerType===n:"mouse"===e.pointerType||"touch"===e.pointerType,{pressProps:m}=(0,c.d)({isDisabled:t,onPressStart(e){e.continuePropagation(),b(e)&&(a&&a({...e,type:"longpressstart"}),g.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),v(e.target,"click",e=>e.preventDefault(),{once:!0}),(0,r.TW)(e.target).activeElement!==e.target&&(0,l.e)(e.target),f&&f({...e,type:"longpress"}),g.current=void 0},h),"touch"===e.pointerType&&v(e.target,"contextmenu",e=>e.preventDefault(),{once:!0}),v((0,r.mD)(e.target),"pointerup",()=>{setTimeout(()=>{y()},100)},{once:!0}))},onPressEnd(e){g.current&&clearTimeout(g.current),d&&b(e)&&d({...e,type:"longpressend"})}}),E=(0,i.I)(f&&!t?p:void 0);return{longPressProps:(0,o.v)(m,E)}}},84640:(e,t,n)=>{n.d(t,{R:()=>i,o:()=>s});var l=n(67409);function r(e,t){let n=[],r=document.scrollingElement||document.documentElement;for(;e&&((0,l.o)(e,t)&&n.push(e),e!==r);)e=e.parentElement;return n}var o=n(39531);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{block:l="nearest",inline:r="nearest"}=n;if(e===t)return;let i=e.scrollTop,s=e.scrollLeft,c=t.getBoundingClientRect(),u=e.getBoundingClientRect(),a=window.getComputedStyle(t),d=window.getComputedStyle(e),f=document.scrollingElement||document.documentElement,h=e===f,p=e===f?0:u.top,g=e===f?e.clientHeight:u.bottom,v=e===f?0:u.left,y=e===f?e.clientWidth:u.right,b=parseFloat(a.scrollMarginTop)||0,m=parseFloat(a.scrollMarginBottom)||0,E=parseFloat(a.scrollMarginLeft)||0,S=parseFloat(a.scrollMarginRight)||0,K=parseFloat(d.scrollPaddingTop)||0,N=parseFloat(d.scrollPaddingBottom)||0,T=parseFloat(d.scrollPaddingLeft)||0,R=parseFloat(d.scrollPaddingRight)||0,w=parseFloat(d.borderTopWidth)||0,C=parseFloat(d.borderBottomWidth)||0,I=parseFloat(d.borderLeftWidth)||0,L=parseFloat(d.borderRightWidth)||0,M=c.top-b,F=c.bottom+m,x=c.left-E,A=c.right+S,D=e===f?0:I+L,P=e===f?0:w+C,k=e===f?0:e.offsetWidth-e.clientWidth-D,W=e===f?0:e.offsetHeight-e.clientHeight-P,B=p+(h?0:w)+K,_=g-(h?0:C)-N-W,q=v+(h?0:I)+T,z=y-(h?0:L)-R;(0,o.un)()&&(0,o.Tc)()||"ltr"===d.direction?z-=k:"rtl"===d.direction&&(q+=k);let H=M<B||F>_,j=x<q||A>z;if(H&&"start"===l)i+=M-B;else if(H&&"center"===l)i+=(M+F)/2-(B+_)/2;else if(H&&"end"===l)i+=F-_;else if(H&&"nearest"===l){let e=M-B,t=F-_;i+=Math.abs(e)<=Math.abs(t)?e:t}if(j&&"start"===r)s+=x-q;else if(j&&"center"===r)s+=(x+A)/2-(q+z)/2;else if(j&&"end"===r)s+=A-z;else if(j&&"nearest"===r){let e=x-q,t=A-z;s+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:s,top:i})}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{containingElement:n}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow){let{left:t,top:l}=e.getBoundingClientRect(),o=r(e,!0);for(let t of o)i(t,e);let{left:s,top:c}=e.getBoundingClientRect();if(Math.abs(t-s)>1||Math.abs(l-c)>1){for(let e of o=n?r(n,!0):[])i(e,n,{block:"center",inline:"center"});for(let t of r(e,!0))i(t,e)}}else{var l,o,s;let{left:t,top:r}=e.getBoundingClientRect();null==e||null==(l=e.scrollIntoView)||l.call(e,{block:"nearest"});let{left:i,top:c}=e.getBoundingClientRect();(Math.abs(t-i)>1||Math.abs(r-c)>1)&&(null==n||null==(o=n.scrollIntoView)||o.call(n,{block:"center",inline:"center"}),null==(s=e.scrollIntoView)||s.call(e,{block:"nearest"}))}}}},92177:(e,t,n)=>{n.d(t,{P:()=>i});var l,r=n(25398);let o="undefined"!=typeof document?null!=(l=r.useInsertionEffect)?l:r.useLayoutEffect:()=>{};function i(e,t,n){let[l,i]=(0,r.useState)(e||t),s=(0,r.useRef)(l),c=(0,r.useRef)(void 0!==e),u=void 0!==e;(0,r.useEffect)(()=>{c.current,c.current=u},[u]);let a=u?e:l;o(()=>{s.current=a});let[,d]=(0,r.useReducer)(()=>({}),{});return[a,(0,r.useCallback)(function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),r=1;r<t;r++)l[r-1]=arguments[r];let o="function"==typeof e?e(s.current):e;Object.is(s.current,o)||(s.current=o,i(o),d(),null==n||n(o,...l))},[n])]}},95335:(e,t,n)=>{n.d(t,{K:()=>o});var l=n(68800),r=n(25398);function o(e,t){let n=(0,r.useRef)(!0),o=(0,r.useRef)(null);(0,l.N)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,l.N)(()=>{n.current?n.current=!1:(!o.current||t.some((e,t)=>!Object.is(e,o[t])))&&e(),o.current=t},t)}}
1,96028:(e,t,n)=>{n.d(t,{L:()=>l});class l extends Set{constructor(e,t,n){super(e),e instanceof l?(this.anchorKey=null!=t?t:e.anchorKey,this.currentKey=null!=n?n:e.currentKey):(this.anchorKey=null!=t?t:null,this.currentKey=null!=n?n:null)}}},99821:(e,t,n)=>{n.d(t,{_:()=>o});var l=n(87816),r=n(25398);function o(e,t,n,o){let i=(0,l.J)(n),s=null==n;(0,r.useEffect)(()=>{if(s||!e.current)return;let n=e.current;return n.addEventListener(t,i,o),()=>{n.removeEventListener(t,i,o)}},[e,t,o,s])}}}]);
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.