1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5878],{794:(e,t,n)=>{let r;n.d(t,{Bi:()=>u,Tw:()=>c});var l=n(98288),i=n(12115),o=n(74446);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),a=new Map;function u(e){let[t,n]=(0,i.useState)(e),u=(0,i.useRef)(null),c=(0,o.Cc)(t),d=(0,i.useRef)(null);if(r&&r.register(d,c),s){let e=a.get(c);e&&!e.includes(u)?e.push(u):a.set(c,[u])}return(0,l.N)(()=>()=>{r&&r.unregister(d),a.delete(c)},[c]),(0,i.useEffect)(()=>{let e=u.current;return e&&n(e),()=>{e&&(u.current=null)}}),c}function c(e,t){if(e===t)return e;let n=a.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=a.get(t);return r?(r.forEach(t=>t.current=e),e):t}"undefined"!=typeof FinalizationRegistry&&(r=new FinalizationRegistry(e=>{a.delete(e)}))},10628:(e,t,n)=>{n.d(t,{b:()=>l});var r=n(794);function l(e,t){let{id:n,"aria-label":l,"aria-labelledby":i}=e;return n=(0,r.Bi)(n),i&&l?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),l||i||!t||(l=t),{id:n,"aria-label":l,"aria-labelledby":i}}},15870:(e,t,n)=>{n.d(t,{q:()=>i});var r=n(12115);function l(e){return null}l.getCollectionNode=function*(e,t){var n;let{childItems:l,title:i,children:o}=e,s=e.title||e.children,a=e.textValue||("string"==typeof s?s:"")||e["aria-label"]||"";a||null==t||t.suppressTextValueWarning,yield{type:"item",props:e,rendered:s,textValue:a,"aria-label":e["aria-label"],hasChildNodes:null!=(n=e).hasChildItems?n.hasChildItems:!!(n.childItems||n.title&&r.Children.count(n.children)>0),*childNodes(){if(l)for(let e of l)yield{type:"item",value:e};else if(i){let e=[];r.Children.forEach(o,t=>{e.push({type:"item",element:t})}),yield*e}}}};let i=l},33441:(e,t,n)=>{n.d(t,{B:()=>l});var r=n(51451);function l(e){return(0,r.cX)()?e.metaKey:e.ctrlKey}},35136:(e,t,n)=>{n.d(t,{v:()=>o});let r=new Map,l=new Set;function i(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let i=r.get(n.target);if(i&&(i.delete(n.propertyName),0===i.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of l)e();l.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let l=r.get(n.target);l||(l=new Set,r.set(n.target,l),n.target.addEventListener("transitioncancel",t,{once:!0})),l.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function o(e){requestAnimationFrame(()=>{for(let[e]of r)"isConnected"in e&&!e.isConnected&&r.delete(e);0===r.size?e():l.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?i():document.addEventListener("DOMContentLoaded",i))},40170:(e,t,n)=>{n.d(t,{$:()=>l,H:()=>r});let r=new WeakMap;function l(e,t,n){if(!e)return"";"string"==typeof t&&(t=t.replace(/\s+/g,""));let l=r.get(e);return`${l}-${n}-${t}`}},42042:(e,t,n)=>{n.d(t,{$:()=>B});var r=n(40170);class l{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,n;return this.disabledKeys.has(e)||!!(null==(n=this.collection.getItem(e))||null==(t=n.props)?void 0:t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do null==(t=this.collection.getKeyAfter(t))&&(t=this.collection.getFirstKey());while(null!=t&&this.isDisabled(t));return t}getPreviousKey(e){let t=e;do null==(t=this.collection.getKeyBefore(t))&&(t=this.collection.getLastKey());while(null!=t&&this.isDisabled(t));return t}constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===n,this.disabledKeys=r,this.tabDirection="horizontal"===n}}var i=n(794),o=n(10628),s=n(52560);
1let a=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),u=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var c=n(12115),d=n(74446);let f=Symbol.for("react-aria.i18n.locale");function p(){let e="undefined"!=typeof window&&window[f]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return a.has(t.script)}let t=e.split("-")[0];return u.has(t)}(e)?"ltr":"rtl"}}let h=p(),y=new Set;function v(){for(let e of(h=p(),y))e(h)}let g=c.createContext(null);function m(){let e=function(){let e=(0,d.wR)(),[t,n]=(0,c.useState)(h);return((0,c.useEffect)(()=>(0===y.size&&window.addEventListener("languagechange",v),y.add(n),()=>{y.delete(n),0===y.size&&window.removeEventListener("languagechange",v)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,c.useContext)(g)||e}var b=n(54976),w=n(56318),K=n(33441),E=n(44109),T=n(25272);function S(e,t,n,r){let l=(0,T.J)(n),i=null==n;(0,c.useEffect)(()=>{if(i||!e.current)return;let n=e.current;return n.addEventListener(t,l,r),()=>{n.removeEventListener(t,l,r)}},[e,t,r,i,l])}function k(e,t){let n=F(e,t,"left"),r=F(e,t,"top"),l=t.offsetWidth,i=t.offsetHeight,o=e.scrollLeft,s=e.scrollTop,{borderTopWidth:a,borderLeftWidth:u,scrollPaddingTop:c,scrollPaddingRight:d,scrollPaddingBottom:f,scrollPaddingLeft:p}=getComputedStyle(e),h=o+parseInt(u,10),y=s+parseInt(a,10),v=h+e.clientWidth,g=y+e.clientHeight,m=parseInt(c,10)||0,b=parseInt(f,10)||0,w=parseInt(d,10)||0,K=parseInt(p,10)||0;n<=o+K?o=n-parseInt(u,10)-K:n+l>v-w&&(o+=n+l-v+w),r<=y+m?s=r-parseInt(a,10)-m:r+i>g-b&&(s+=r+i-g+b),e.scrollLeft=o,e.scrollTop=s}function F(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",l=0;for(;t.offsetParent&&(l+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){l-=e[r];break}t=t.offsetParent}return l}function P(e,t){if(e&&document.contains(e)){let o=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(o).overflow)for(let t of function(e,t){let n=[];for(;e&&e!==document.documentElement;)(function(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r})(e,void 0)&&n.push(e),e=e.parentElement;return n}(e))k(t,e);else{var n,r,l,i;let{left:o,top:s}=e.getBoundingClientRect();null==e||null==(n=e.scrollIntoView)||n.call(e,{block:"nearest"});let{left:a,top:u}=e.getBoundingClientRect();(Math.abs(o-a)>1||Math.abs(s-u)>1)&&(null==t||null==(l=t.containingElement)||null==(r=l.scrollIntoView)||r.call(l,{block:"center",inline:"center"}),null==(i=e.scrollIntoView)||i.call(e,{block:"nearest"}))}}}var L=n(98288);function N(e,t){let n=(0,c.useRef)(!0),r=(0,c.useRef)(null);(0,L.N)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,L.N)(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}var M=n(47650),C=n(68979),D=n(72470),R=n(54309),I=n(34348),x=n(61680);class A{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let l=new O({scopeRef:e});r.addChild(l),l.parent=r,this.fastMap.set(e,l),n&&(l.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&function(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new A;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!=(t=null==(e=r.parent)?void 0:e.scopeRef)?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new O({scopeRef:null}),this.fastMap.set(null,this.root)}}class O{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}}new A;var _=n(76100);function B(e,t,n){let{orientation:a="horizontal",keyboardActivation:u="automatic"}=e,{collection:d,selectionManager:f,disabledKeys:p}=t,{direction:h}=m(),{collectionProps:y}=function(e){let t,{selectionManager:n,keyboardDelegate:r,ref:l,autoFocus:i=!1,shouldFocusWrap:o=!1,disallowEmptySelection:a=!1,disallowSelectAll:u=!1,escapeKeyBehavior:d="clearSelection",selectOnFocus:f="replace"===n.selectionBehavior,disallowTypeAhead:p=!1,shouldUseVirtualFocus:h,allowsTabNavigation:y=!1,isVirtualized:v,scrollRef:g=l,linkBehavior:F="action"}=e,{direction:L}=m(),A=(0,w.rd)(),O=(0,c.useRef)({top:0,left:0});S(g,"scroll",v?void 0:()=>{var e,t,n,r;O.current={top:null!=(n=null==(e=g.current)?void 0:e.scrollTop)?n:0,left:null!=(r=null==(t=g.current)?void 0:t.scrollLeft)?r:0}});let B=(0,c.useRef)(!1);S(l,"react-aria-focus",h?e=>{let{detail:t}=e;e.stopPropagation(),n.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(B.current=!0)}:void 0);let W=(0,T.J)(()=>{var e,t;let i=null!=(t=null==(e=r.getFirstKey)?void 0:e.call(r))?t:null;null==i?((0,_.vX)(l.current),n.collection.size>0&&(B.current=!1)):(n.setFocusedKey(i),B.current=!1)});N(()=>{B.current&&W()},[n.collection,W]);let z=(0,T.J)(()=>{n.collection.size>0&&(B.current=!1)});N(()=>{z()},[n.focusedKey,z]),S(l,"react-aria-clear-focus",h?e=>{var t;e.stopPropagation(),n.setFocused(!1),(null==(t=e.detail)?void 0:t.clearFocusKey)&&n.setFocusedKey(null)}:void 0);let H=(0,c.useRef)(i),$=(0,c.useRef)(!1);(0,c.useEffect)(()=>
1{if(H.current){var e,t,o,s;let a=null;"first"===i&&(a=null!=(o=null==(e=r.getFirstKey)?void 0:e.call(r))?o:null),"last"===i&&(a=null!=(s=null==(t=r.getLastKey)?void 0:t.call(r))?s:null);let u=n.selectedKeys;if(u.size){for(let e of u)if(n.canSelectItem(e)){a=e;break}}n.setFocused(!0),n.setFocusedKey(a),null==a&&!h&&l.current&&(0,D.l)(l.current),n.collection.size>0&&(H.current=!1,$.current=!0)}});let U=(0,c.useRef)(n.focusedKey),V=(0,c.useRef)(null);(0,c.useEffect)(()=>{if(n.isFocused&&null!=n.focusedKey&&(n.focusedKey!==U.current||$.current)&&g.current&&l.current){let e=(0,C.ME)(),t=(0,b.au)(l,n.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||$.current)&&(V.current&&cancelAnimationFrame(V.current),V.current=requestAnimationFrame(()=>{g.current&&(k(g.current,t),"virtual"!==e&&P(t,{containingElement:l.current}))}))}!h&&n.isFocused&&null==n.focusedKey&&null!=U.current&&l.current&&(0,D.l)(l.current),U.current=n.focusedKey,$.current=!1}),(0,c.useEffect)(()=>()=>{V.current&&cancelAnimationFrame(V.current)},[]),S(l,"react-aria-focus-scope-restore",e=>{e.preventDefault(),n.setFocused(!0)});let G={onKeyDown:e=>{var t,i,s,c,p,h,v,g,m,w,T,S,k,P,N;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!(null==(t=l.current)?void 0:t.contains(e.target)))return;let C=(t,r)=>{if(null!=t){if(n.isLink(t)&&"selection"===F&&f&&!(0,b.N9)(e)){(0,M.flushSync)(()=>{n.setFocusedKey(t,r)});let i=(0,b.au)(l,t),o=n.getItemProps(t);i&&A.open(i,e,o.href,o.routerOptions);return}n.setFocusedKey(t,r),n.isLink(t)&&"override"===F||(e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):f&&!(0,b.N9)(e)&&n.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(r.getKeyBelow){let t=null!=n.focusedKey?null==(i=r.getKeyBelow)?void 0:i.call(r,n.focusedKey):null==(s=r.getFirstKey)?void 0:s.call(r);null==t&&o&&(t=null==(c=r.getFirstKey)?void 0:c.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),C(t))}break;case"ArrowUp":if(r.getKeyAbove){let t=null!=n.focusedKey?null==(p=r.getKeyAbove)?void 0:p.call(r,n.focusedKey):null==(h=r.getLastKey)?void 0:h.call(r);null==t&&o&&(t=null==(v=r.getLastKey)?void 0:v.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),C(t))}break;case"ArrowLeft":if(r.getKeyLeftOf){let t=null!=n.focusedKey?null==(g=r.getKeyLeftOf)?void 0:g.call(r,n.focusedKey):null;null==t&&o&&(t="rtl"===L?null==(m=r.getFirstKey)?void 0:m.call(r,n.focusedKey):null==(w=r.getLastKey)?void 0:w.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),C(t,"rtl"===L?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){let t=null!=n.focusedKey?null==(T=r.getKeyRightOf)?void 0:T.call(r,n.focusedKey):null;null==t&&o&&(t="rtl"===L?null==(S=r.getLastKey)?void 0:S.call(r,n.focusedKey):null==(k=r.getFirstKey)?void 0:k.call(r,n.focusedKey)),null!=t&&(e.preventDefault(),C(t,"rtl"===L?"last":"first"))}break;case"Home":if(r.getFirstKey){if(null===n.focusedKey&&e.shiftKey)return;e.preventDefault();let t=r.getFirstKey(n.focusedKey,(0,K.B)(e));n.setFocusedKey(t),null!=t&&((0,K.B)(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):f&&n.replaceSelection(t))}break;case"End":if(r.getLastKey){if(null===n.focusedKey&&e.shiftKey)return;e.preventDefault();let t=r.getLastKey(n.focusedKey,(0,K.B)(e));n.setFocusedKey(t),null!=t&&((0,K.B)(e)&&e.shiftKey&&"multiple"===n.selectionMode?n.extendSelection(t):f&&n.replaceSelection(t))}break;case"PageDown":if(r.getKeyPageBelow&&null!=n.focusedKey){let t=r.getKeyPageBelow(n.focusedKey);null!=t&&(e.preventDefault(),C(t))}break;case"PageUp":if(r.getKeyPageAbove&&null!=n.focusedKey){let t=r.getKeyPageAbove(n.focusedKey);null!=t&&(e.preventDefault(),C(t))}break;case"a":(0,K.B)(e)&&"multiple"===n.selectionMode&&!0!==u&&(e.preventDefault(),n.selectAll());break;case"Escape":"clearSelection"!==d||a||0===n.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),n.clearSelection());break;case"Tab":if(!y)if(e.shiftKey)l.current.focus();else{let e,t,n,r,i,o,s=(P=l.current,e=(N={tabbable:!0}).tabbable?I.A:I.t,t=(null==P?void 0:P.nodeType)===Node.ELEMENT_NODE?P:null,n=(0,R.TW)(t),r=(0,x.H)(n,P||n,NodeFilter.SHOW_ELEMENT,{acceptNode(t){var n;return(null==N||null==(n=N.from)?void 0:n.contains(t))?NodeFilter.FILTER_REJECT:e(t)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,R.mD)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}
1=e.style,l="none"!==n&&"hidden"!==r&&"collapse"!==r;if(l){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);l="none"!==n&&"hidden"!==r&&"collapse"!==r}return l}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(t)&&(!(null==N?void 0:N.accept)||N.accept(t))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),(null==N?void 0:N.from)&&(r.currentNode=N.from),r);do(o=s.lastChild())&&(i=o);while(o);i&&!i.contains(document.activeElement)&&(0,E.e)(i)}}},onFocus:e=>{if(n.isFocused){e.currentTarget.contains(e.target)||n.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(n.setFocused(!0),null==n.focusedKey){var t,i,o,s;let l=e=>{null!=e&&(n.setFocusedKey(e),f&&!n.isSelected(e)&&n.replaceSelection(e))},a=e.relatedTarget;a&&e.currentTarget.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?l(null!=(o=n.lastSelectedKey)?o:null==(t=r.getLastKey)?void 0:t.call(r)):l(null!=(s=n.firstSelectedKey)?s:null==(i=r.getFirstKey)?void 0:i.call(r))}else!v&&g.current&&(g.current.scrollTop=O.current.top,g.current.scrollLeft=O.current.left);if(null!=n.focusedKey&&g.current){let e=(0,b.au)(l,n.focusedKey);e instanceof HTMLElement&&(e.contains(document.activeElement)||h||(0,E.e)(e),"keyboard"===(0,C.ME)()&&P(e,{containingElement:l.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||n.setFocused(!1)},onMouseDown(e){g.current===e.target&&e.preventDefault()}},{typeSelectProps:j}=function(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,l=(0,c.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let o=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(o&&!e.ctrlKey&&!e.metaKey&&e.currentTarget.contains(e.target)){if(" "===o&&l.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),l.search+=o,null!=t.getKeyForSearch){let e=t.getKeyForSearch(l.search,n.focusedKey);null==e&&(e=t.getKeyForSearch(l.search)),null!=e&&(n.setFocusedKey(e),r&&r(e))}clearTimeout(l.timeout),l.timeout=setTimeout(()=>{l.search=""},1e3)}}:void 0}}}({keyboardDelegate:r,selectionManager:n});p||(G=(0,s.v)(j,G)),h||(t=null==n.focusedKey?0:-1);let J=(0,b.j5)(n.collection);return{collectionProps:(0,s.v)(G,{tabIndex:t,"data-collection":J})}}({ref:n,selectionManager:f,keyboardDelegate:(0,c.useMemo)(()=>new l(d,h,a,p),[d,p,a,h]),selectOnFocus:"automatic"===u,disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),v=(0,i.Bi)();r.H.set(t,v);let g=(0,o.b)({...e,id:v});return{tabListProps:{...(0,s.v)(y,g),role:"tablist","aria-orientation":a,tabIndex:void 0}}}},42826:(e,t,n)=>{n.d(t,{Ay:()=>s});var r=n(12115);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=function(e){var t=(0,r.useRef)(e);return t.current=e,t},o=function(e,t){var n="",r=-1;return Object.keys(e).forEach(function(l){var i=e[l];t>=i&&i>r&&(n=l,r=i)}),n},s=function(e){var t=void 0===e?{}:e,n=t.useBorderBoxSize,s=t.breakpoints,a=t.updateOnBreakpointChange,u=t.shouldUpdate,c=t.onResize,d=t.polyfill,f=(0,r.useState)({currentBreakpoint:"",width:null,height:null}),p=f[0],h=f[1],y=(0,r.useRef)({}),v=(0,r.useRef)(),g=(0,r.useRef)(),m=(0,r.useRef)(!1),b=(0,r.useRef)(),w=i(c),K=i(u),E=(0,r.useCallback)(function(){g.current&&g.current.disconnect()},[]),T=(0,r.useCallback)(function(e){e&&e!==b.current&&(E(),b.current=e,h({currentBreakpoint:"",width:e.clientWidth,height:e.clientHeight})),g.current&&b.current&&g.current.observe(b.current)},[E]);return(0,r.useEffect)(function(){if((!("ResizeObserver"in window)||!("ResizeObserverEntry"in window))&&!d)return console.error("\uD83D\uDCA1 react-cool-dimensions: the browser doesn't support Resize Observer, please use polyfill: https://github.com/wellyshen/react-cool-dimensions#resizeobserver-polyfill"),function(){return null};var e=null;
1return g.current=new(d||ResizeObserver)(function(t){var r=t[0];e=requestAnimationFrame(function(){var e=r.contentBoxSize,t=r.borderBoxSize,l=r.contentRect,i=e;n&&(t?i=t:m.current||(console.warn("\uD83D\uDCA1 react-cool-dimensions: the browser doesn't support border-box size, fallback to content-box size. Please see: https://github.com/wellyshen/react-cool-dimensions#border-box-size-measurement"),m.current=!0));var u=(i=Array.isArray(i)?i[0]:i)?i.inlineSize:l.width,c=i?i.blockSize:l.height;if(u!==y.current.width||c!==y.current.height){y.current={width:u,height:c};var d={currentBreakpoint:"",width:u,height:c,entry:r,observe:T,unobserve:E};s?(d.currentBreakpoint=o(s,u),d.currentBreakpoint!==v.current&&(w.current&&w.current(d),v.current=d.currentBreakpoint)):w.current&&w.current(d);var f={currentBreakpoint:d.currentBreakpoint,width:u,height:c,entry:r};if(!K.current||K.current(f)){if(!K.current&&s&&a)return void h(function(e){return e.currentBreakpoint!==f.currentBreakpoint?f:e});h(f)}}})}),T(),function(){E(),e&&cancelAnimationFrame(e)}},[JSON.stringify(s),n,T,E,a]),l({},p,{observe:T,unobserve:E})}},51255:(e,t,n)=>{n.d(t,{c:()=>r});function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}},51451:(e,t,n)=>{function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null==(t=window.navigator.userAgentData)?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function l(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Tc:()=>d,bh:()=>a,cX:()=>o,gm:()=>h,lg:()=>c,m0:()=>p,un:()=>u});let o=i(function(){return l(/^Mac/i)}),s=i(function(){return l(/^iPhone/i)}),a=i(function(){return l(/^iPad/i)||o()&&navigator.maxTouchPoints>1}),u=i(function(){return s()||a()}),c=i(function(){return o()||u()}),d=i(function(){return r(/AppleWebKit/i)&&!f()}),f=i(function(){return r(/Chrome/i)}),p=i(function(){return r(/Android/i)}),h=i(function(){return r(/Firefox/i)})},52560:(e,t,n)=>{n.d(t,{v:()=>o});var r=n(51255),l=n(794),i=n(2821);function o(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let o=e[n];for(let e in o){let n=t[e],s=o[e];"function"==typeof n&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof s?t[e]=(0,i.A)(n,s):"id"===e&&n&&s?t.id=(0,l.Tw)(n,s):t[e]=void 0!==s?s:n}}return t}},54976:(e,t,n)=>{n.d(t,{EG:()=>u,N9:()=>i,au:()=>o,j5:()=>a});var r=n(51451),l=n(794);function i(e){return(0,r.lg)()?e.altKey:e.ctrlKey}function o(e,t){var n,r;let l=`[data-key="${CSS.escape(String(t))}"]`,i=null==(n=e.current)?void 0:n.dataset.collection;return i&&(l=`[data-collection="${CSS.escape(i)}"]${l}`),null==(r=e.current)?void 0:r.querySelector(l)}let s=new WeakMap;function a(e){let t=(0,l.Bi)();return s.set(e,t),t}function u(e){return s.get(e)}},56318:(e,t,n)=>{n.d(t,{Fe:()=>a,_h:()=>u,rd:()=>s});var r=n(44109),l=n(51451),i=n(12115);let o=(0,i.createContext)({isNative:!0,open:function(e,t){var n=e=>a(e,t);if(e instanceof HTMLAnchorElement)n(e);else if(e.hasAttribute("data-href")){let t=document.createElement("a");t.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(t.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(t.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(t.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(t.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(t.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(t),n(t),e.removeChild(t)}},useHref:e=>e});function s(){return(0,i.useContext)(o)}function a(e,t,n=!0){var i,o;let{metaKey:s,ctrlKey:u,altKey:c,shiftKey:d}=t;(0,l.gm)()&&(null==(o=window.event)||null==(i=o.type)?void 0:i.startsWith("key"))&&"_blank"===e.target&&((0,l.cX)()?s=!0:u=!0);let f=(0,l.Tc)()&&(0,l.cX)()&&!(0,l.bh)()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:s,ctrlKey:u,altKey:c,shiftKey:d}):new MouseEvent("click",{metaKey:s,ctrlKey:u,altKey:c,shiftKey:d,bubbles:!0,cancelable:!0});a.isOpening=n,(0,r.e)(e),e.dispatchEvent(f),a.isOpening=!1}function u(e){var t;let n=s().useHref(null!=(t=null==e?void 0:e.href)?t:"");return{href:(null==e?void 0:e.href)?n:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}a.isOpening=!1},57726:(e,t,n)=>{n.d(t,{g:()=>h});class r{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let n=this.keyMap.get(e);return n&&null!=(t=n.prevKey)?t:null}getKeyAfter(e){var t;let n=this.keyMap.get(e);return n&&null!=(t=n.nextKey)?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,l=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=l++),(r=t).nextKey=void 0;this.lastKey=null!=(t=null==r?void 0:r.key)?t:null}}class l extends Set{constructor(e,t,n){super(e),e instanceof l?(this.anchorKey=null!=t?t:e.anchorKey,this.currentKey=null!=n?n:e.currentKey):(this.anchorKey=null!=t?t:null,this.currentKey=null!=n?n:null)}}var i=n(12115);function o(e,t,n){let[r,l]=(0,i.useState)(e||t),o=(0,i.useRef)(void 0!==e),s=void 0!==e;(0,i.useEffect)(()=>{o.current,o.current=s},[s]);let a=s?e:r,u=(0,i.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(a,e)&&n(e,...t),s||(a=e)};"function"==typeof e?l((n,...l)=>{let i=e(s?a:n,...l);return(r(i,...t),s)?n:i}):(s||l(e),r(e,...t))},[s,a,n]);return[a,u]}function s(e,t){return e?"all"===e?"all":new l(e):t}function a(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...u(e,t),t],l=[...u(e,n),n],i=r.slice(0,l.length).findIndex((e,t)=>e!==l[t]);return -1!==i?(t=r[i],n=l[i],t.index-n.index):r.findIndex(e=>e===n)>=0?1:(l.findIndex(e=>e===t),-1)}function u(e,t){let n=[],r=t;for(;(null==r?void 0:r.parentKey)!=null;)(r=e.getItem(r.parentKey))&&n.unshift(r);return n}class c{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>a(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&&a(this.collection,n,t)>0)&&(t=n)}return null!=(e=null==t?void 0:t.key)?e:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let n=this.getKey(e);if(null!=n){if("all"===this.state.selectedKeys)t=new l([n],n,n);else{var r,i;let e=this.state.selectedKeys,o=null!=(r=e.anchorKey)?r:n;for(let r of(t=new l(e,o,n),this.getKeyRange(o,null!=(i=e.currentKey)?i:n)))t.delete(r);for(let e of this.getKeyRange(n,o))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let n=this.collection.getItem(e),r=this.collection.getItem(t);return n&&r?0>=a(this.collection,n,r)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var n;if(null==(n=this.layoutDelegate)?void 0:n.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let r=[],l=e;for(;null!=l;){let e=this.collection.getItem(l);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&r.push(l),l===t)return r;l=this.collection.getKeyAfter(l)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;t&&"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);let t=this.getKey(e);if(null==t)return;let n=new l("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),this.disallowEmptySelection&&0===n.size||this.state.setSelectedKeys(n)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let n=this.canSelectItem(t)?new l([t],t,t):new l;this.state.setSelectedKeys(n)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new l;for(let n of e){let e=this.getKey(n);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=n=>{for(;null!=n;){if(this.canSelectItem(n)){var r,l,i;let o=this.collection.getItem(n);(null==o?void 0:o.type)==="item"&&e.push(n),(null==o?void 0:o.hasChildNodes)&&(this.allowsCellSelection||"item"!==o.type)&&t(null!=(l=null==(r=function(e,t){!1;let n=0;for(let r of e){if(n===t)return r;n++}}("function"==typeof(i=this.collection).getChildren?i.getChildren(o.key):o.childNodes,0))?void 0:r.key)?l:null)}n=this.collection.getKeyAfter(n)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new l)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){var t;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let n=this.collection.getItem(e);return!!n&&(null==n||null==(t=n.props)||!t.isDisabled)&&("cell"!==n.type||!!this.allowsCellSelection)}isDisabled(e){var t,n;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(null==(n=this.collection.getItem(e))||null==(t=n.props)?void 0:t.isDisabled))}isLink(e){var t,n;return!!(null==(n=this.collection.getItem(e))||null==(t=n.props)?void 0:t.href)}getItemProps(e){var t;return null==(t=this.collection.getItem(e))?void 0:t.props}withCollection(e){return new c(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(e,t,n){var r;this.collection=e,this.state=t,this.allowsCellSelection=null!=(r=null==n?void 0:n.allowsCellSelection)&&r,this._isSelectAll=null,this.layoutDelegate=(null==n?void 0:n.layoutDelegate)||null}}class d{build(e,t){return this.context=t,f(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:n}=e;if(i.isValidElement(t)&&t.type===i.Fragment)yield*this.iterateCollection({children:t.props.children,items:n});else if("function"==typeof t){if(!n)throw Error("props.children was a function but props.items is missing");let e=0;for(let r of n)yield*this.getFullNode({value:r,index:e},{renderer:t}),e++}else{let e=[];
1i.Children.forEach(t,t=>{t&&e.push(t)});let n=0;for(let t of e)for(let e of this.getFullNode({element:t,index:n},{}))n++,yield e}}getKey(e,t,n,r){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${r}${t.key}`;let l=t.value;if(null!=l){var i;let e=null!=(i=l.key)?i:l.id;if(null==e)throw Error("No key found for item");return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,n,r){var l,o,s,a,u,c,d,h;if(i.isValidElement(e.element)&&e.element.type===i.Fragment){let o=[];i.Children.forEach(e.element.props.children,e=>{o.push(e)});let s=null!=(l=e.index)?l:0;for(let e of o)yield*this.getFullNode({element:e,index:s++},t,n,r);return}let y=e.element;if(!y&&e.value&&t&&t.renderer){let n=this.cache.get(e.value);if(n&&(!n.shouldInvalidate||!n.shouldInvalidate(this.context))){n.index=e.index,n.parentKey=r?r.key:null,yield n;return}y=t.renderer(e.value)}if(i.isValidElement(y)){let l=y.type;if("function"!=typeof l&&"function"!=typeof l.getCollectionNode){let e=y.type;throw Error(`Unknown element <${e}> in collection.`)}let i=l.getCollectionNode(y.props,this.context),d=null!=(o=e.index)?o:0,f=i.next();for(;!f.done&&f.value;){let l=f.value;e.index=d;let o=null!=(s=l.key)?s:null;null==o&&(o=l.element?null:this.getKey(y,e,t,n));let h=[...this.getFullNode({...l,key:o,index:d,wrapper:function(e,t){return e&&t?n=>e(t(n)):e||t||void 0}(e.wrapper,l.wrapper)},this.getChildState(t,l),n?`${n}${y.key}`:y.key,r)];for(let t of h){if(t.value=null!=(u=null!=(a=l.value)?a:e.value)?u:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${p(t.type)}> in <${p(null!=(c=null==r?void 0:r.type)?c:"unknown parent type")}>. Only <${p(e.type)}> is supported.`);d++,yield t}f=i.next(h)}return}if(null==e.key||null==e.type)return;let v=this,g={type:e.type,props:e.props,key:e.key,parentKey:r?r.key:null,value:null!=(d=e.value)?d:null,level:r?r.level+1:0,index:e.index,rendered:e.rendered,textValue:null!=(h=e.textValue)?h:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:f(function*(){if(!e.hasChildNodes||!e.childNodes)return;let n=0;for(let r of e.childNodes())for(let e of(null!=r.key&&(r.key=`${g.key}${r.key}`),v.getFullNode({...r,index:n},v.getChildState(t,r),g.key,g)))n++,yield e})};yield g}constructor(){this.cache=new WeakMap}}function f(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let r of(n||(n=e()),n))t.push(r),yield r}}}function p(e){return e[0].toUpperCase()+e.slice(1)}function h(e){var t,n;let a=function(e){var t;let[n,a]=o(e.selectedKey,null!=(t=e.defaultSelectedKey)?t:null,e.onSelectionChange),u=(0,i.useMemo)(()=>null!=n?[n]:[],[n]),{collection:f,disabledKeys:p,selectionManager:h}=function(e){let{filter:t,layoutDelegate:n}=e,a=function(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:a="toggle",disabledBehavior:u="all"}=e,c=(0,i.useRef)(!1),[,d]=(0,i.useState)(!1),f=(0,i.useRef)(null),p=(0,i.useRef)(null),[,h]=(0,i.useState)(null),[y,v]=o((0,i.useMemo)(()=>s(e.selectedKeys),[e.selectedKeys]),(0,i.useMemo)(()=>s(e.defaultSelectedKeys,new l),[e.defaultSelectedKeys]),e.onSelectionChange),g=(0,i.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[m,b]=(0,i.useState)(a);"replace"===a&&"toggle"===m&&"object"==typeof y&&0===y.size&&b("replace");let w=(0,i.useRef)(a);return(0,i.useEffect)(()=>{a!==w.current&&(b(a),w.current=a)},[a]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:m,setSelectionBehavior:b,get isFocused(){return c.current},setFocused(e){c.current=e,d(e)},get focusedKey(){return f.current},get childFocusStrategy(){return p.current},setFocusedKey(e,t="first"){f.current=e,p.current=t,h(e)},selectedKeys:y,setSelectedKeys(e){(r||!function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,y))&&v(e)},disabledKeys:g,disabledBehavior:u}}(e),u=(0,i.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),f=(0,i.useCallback)(e=>new r(t?t(e):e),[t]),p=(0,i.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),h=function(e,t,n){let r=(0,i.useMemo)(()=>new d,[]),{children:l,items:o,collection:s}=e;return(0,i.useMemo)(()=>s||t(r.build({children:l,items:o},n)),[r,l,o,s,n,t])}(e,f,p),y=(0,i.useMemo)(()=>new c(h,a,{layoutDelegate:n}),[h,a,n]);return function(e,t){let n=(0,i.useRef)(null);(0,i.useEffect)(()=>
1{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&n.current){var r,l,i,o,s,a,u;let c=n.current.getItem(t.focusedKey),d=[...n.current.getKeys()].map(e=>{let t=n.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),f=[...e.getKeys()].map(t=>{let n=e.getItem(t);return(null==n?void 0:n.type)==="item"?n:null}).filter(e=>null!==e),p=(null!=(r=null==d?void 0:d.length)?r:0)-(null!=(l=null==f?void 0:f.length)?l: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),y=null,v=!1;for(;h>=0;){if(!t.isDisabled(f[h].key)){y=f[h];break}h<f.length-1&&!v?h++:(v=!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(y?y.key:null)}n.current=e},[e,t])}(h,y),{collection:h,disabledKeys:u,selectionManager:y}}({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:u,onSelectionChange:t=>{var r;if("all"===t)return;let l=null!=(r=t.values().next().value)?r:null;l===n&&e.onSelectionChange&&e.onSelectionChange(l),a(l)}}),y=null!=n?f.getItem(n):null;return{collection:f,disabledKeys:p,selectionManager:h,selectedKey:n,setSelectedKey:a,selectedItem:y}}({...e,onSelectionChange:e.onSelectionChange?t=>{var n;null!=t&&(null==(n=e.onSelectionChange)||n.call(e,t))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:null!=(n=null!=(t=e.defaultSelectedKey)?t:y(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))?n:void 0}),{selectionManager:u,collection:f,selectedKey:p}=a,h=(0,i.useRef)(p);return(0,i.useEffect)(()=>{let t=p;null==e.selectedKey&&(u.isEmpty||null==t||!f.getItem(t))&&null!=(t=y(f,a.disabledKeys))&&u.setSelectedKeys([t]),(null==t||null!=u.focusedKey)&&(u.isFocused||t===h.current)||u.setFocusedKey(t),h.current=t}),{...a,isDisabled:e.isDisabled||!1}}function y(e,t){let n=null;if(e){var r,l,i,o;for(n=e.getFirstKey();null!=n&&(t.has(n)||(null==(l=e.getItem(n))||null==(r=l.props)?void 0:r.isDisabled))&&n!==e.getLastKey();)n=e.getKeyAfter(n);null!=n&&(t.has(n)||(null==(o=e.getItem(n))||null==(i=o.props)?void 0:i.isDisabled))&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}},61378:(e,t,n)=>{n.d(t,{J:()=>p});var r=n(40170),l=n(10628),i=n(52560),o=n(54309),s=n(34348),a=n(61680),u=n(12115);class c{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let l=new d({scopeRef:e});r.addChild(l),l.parent=r,this.fastMap.set(e,l),n&&(l.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&function(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new c;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!=(t=null==(e=r.parent)?void 0:e.scopeRef)?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new d({scopeRef:null}),this.fastMap.set(null,this.root)}}class d{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}}new c;var f=n(98288);function p(e,t,n){var c;let d=!function(e,t){let n,[r,l]=(0,u.useState)(!1);return(0,f.N)(()=>{if((null==e?void 0:e.current)&&!n){let t=()=>{if(e.current){var t,n;let r,i,u,c;l(!!(t=e.current,r=(n={tabbable:!0}).tabbable?s.A:s.t,i=(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE?t:null,u=(0,o.TW)(i),c=(0,a.H)(u,t||u,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var t;return(null==n||null==(t=n.from)?void 0:t.contains(e))?NodeFilter.FILTER_REJECT:r(e)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,o.mD)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}
1=e.style,l="none"!==n&&"hidden"!==r&&"collapse"!==r;if(l){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);l="none"!==n&&"hidden"!==r&&"collapse"!==r}return l}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!(null==n?void 0:n.accept)||n.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),(null==n?void 0:n.from)&&(c.currentNode=n.from),c).nextNode())}};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{n.disconnect()}}}),!n&&r}(n)?0:void 0,p=(0,r.$)(t,null!=(c=e.id)?c:null==t?void 0:t.selectedKey,"tabpanel"),h=(0,l.b)({...e,id:p,"aria-labelledby":(0,r.$)(t,null==t?void 0:t.selectedKey,"tab")});return{tabPanelProps:(0,i.v)(h,{tabIndex:d,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}},61680:(e,t,n)=>{n.d(t,{H:()=>o});var r=n(96673),l=n(96902);class i{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,r.sD)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],n=e,l=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,r=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(r),r.currentNode=l,this._currentSetFor.add(r),n=l=e.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=l,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,r.sD)(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 n;if("function"==typeof this.filter?n=this.filter(e):(null==(t=this.filter)?void 0:t.acceptNode)&&(n=this.filter.acceptNode(e)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}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 n;let e;if("function"==typeof this.filter?e=this.filter(t):(null==(n=this.filter)?void 0:n.acceptNode)&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}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,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let n=e.shadowRoot;if(n){let e=this._doc.createTreeWalker(n,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!=r?r:null,this.whatToShow=null!=n?n:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));let l=t.shadowRoot;if(l){let e=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}function o(e,t,n,r){return(0,l.Nf)()?new i(e,t,n,r):e.createTreeWalker(t,n,r)}},68979:(e,t,n)=>{n.d(t,{ME:()=>w});var r=n(59823),l=n(51451),i=n(79501),o=n(54309);n(12115);let s=null,a=new Set,u=new Map,c=!1,d=!1;function f(e,t){for(let n of a)n(e,t)}function p(e){c=!0,e.metaKey||!(0,l.cX)()&&e.altKey||e.ctrlKey||"Control"
1===e.key||"Shift"===e.key||"Meta"===e.key||(s="keyboard",f("keyboard",e))}function h(e){s="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(c=!0,f("pointer",e))}function y(e){(0,i.Y)(e)&&(c=!0,s="virtual")}function v(e){e.target!==window&&e.target!==document&&!r.lR&&e.isTrusted&&(c||d||(s="virtual",f("virtual",e)),c=!1,d=!1)}function g(){r.lR||(c=!1,d=!0)}function m(e){if("undefined"==typeof window||"undefined"==typeof document||u.get((0,o.mD)(e)))return;let t=(0,o.mD)(e),n=(0,o.TW)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){c=!0,r.apply(this,arguments)},n.addEventListener("keydown",p,!0),n.addEventListener("keyup",p,!0),n.addEventListener("click",y,!0),t.addEventListener("focus",v,!0),t.addEventListener("blur",g,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",h,!0),n.addEventListener("pointermove",h,!0),n.addEventListener("pointerup",h,!0)),t.addEventListener("beforeunload",()=>{b(e)},{once:!0}),u.set(t,{focus:r})}let b=(e,t)=>{let n=(0,o.mD)(e),r=(0,o.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),u.has(n)&&(n.HTMLElement.prototype.focus=u.get(n).focus,r.removeEventListener("keydown",p,!0),r.removeEventListener("keyup",p,!0),r.removeEventListener("click",y,!0),n.removeEventListener("focus",v,!0),n.removeEventListener("blur",g,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",h,!0),r.removeEventListener("pointermove",h,!0),r.removeEventListener("pointerup",h,!0)),u.delete(n))};function w(){return s}"undefined"!=typeof document&&function(e){let t,n=(0,o.TW)(void 0);"loading"!==n.readyState?m(void 0):(t=()=>{m(e)},n.addEventListener("DOMContentLoaded",t)),()=>b(e,t)}()},72470:(e,t,n)=>{n.d(t,{l:()=>a});var r=n(68979),l=n(54309),i=n(96673),o=n(35136),s=n(44109);function a(e){let t=(0,l.TW)(e),n=(0,i.bq)(t);"virtual"===(0,r.ME)()?(0,o.v)(()=>{(0,i.bq)(t)===n&&e.isConnected&&(0,s.e)(e)}):(0,s.e)(e)}},74446:(e,t,n)=>{n.d(t,{Cc:()=>a,wR:()=>f});var r=n(12115);let l={prefix:String(Math.round(1e10*Math.random())),current:0},i=r.createContext(l),o=r.createContext(!1);"undefined"!=typeof window&&window.document&&window.document.createElement;let s=new WeakMap,a="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(f()),i=n?"react-aria":`react-aria${l.prefix}`;return e||`${i}-${t}`}:function(e){let t=(0,r.useContext)(i),n=function(e=!1){let t=(0,r.useContext)(i),n=(0,r.useRef)(null);if(null===n.current&&!e){var l,o;let e=null==(o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||null==(l=o.ReactCurrentOwner)?void 0:l.current;if(e){let n=s.get(e);null==n?s.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,s.delete(e))}n.current=++t.current}return n.current}(!!e),l=`react-aria${t.prefix}`;return e||`${l}-${n}`};function u(){return!1}function c(){return!0}function d(e){return()=>{}}function f(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(d,u,c):(0,r.useContext)(o)}},76100:(e,t,n)=>{n.d(t,{vX:()=>i});var r=n(54309),l=n(96673);function i(e){var t,n,i,o,s;let a,u,c=(t=(0,r.TW)(e),(u=null==(a=(0,l.bq)(t))?void 0:a.getAttribute("aria-activedescendant"))&&t.getElementById(u)||a);c!==e&&(c&&(n=c,i=e,n.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))),e&&(o=e,s=c,o.dispatchEvent(new FocusEvent("focus",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:s}))))}},76349:(e,t,n)=>{n.d(t,{V:()=>ee});var r=n(40170);let l=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),o=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;var a=n(56318),u=n(52560),c=n(72470),d=n(42441);function f(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&n.stopPropagation()}}var p=n(98288);function h(e,t){(0,p.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var y=n(12115);let v=y.createContext(null);var g=n(54976),m=n(59823),b=n(51451),w=n(54309),K=n(35136);let E="default",T="",S=new WeakMap;function k(e){if((0,b.un)())"disabled"===E&&(E="restoring",setTimeout(()=>{(0,K.v)(()=>
1{if("restoring"===E){let t=(0,w.TW)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=T||""),T="",E="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&S.has(e)){let t=S.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[n]&&(e.style[n]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),S.delete(e)}}let F=y.createContext({register:()=>{}});function P(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function L(e,t,n){var r=P(e,t,"set");if(r.set)r.set.call(e,n);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=n}return n}function N(){let e=(0,y.useRef)(new Map),t=(0,y.useCallback)((t,n,r,l)=>{let i=(null==l?void 0:l.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:l}),t.addEventListener(n,i,l)},[]),n=(0,y.useCallback)((t,n,r,l)=>{var i;let o=(null==(i=e.current.get(r))?void 0:i.fn)||r;t.removeEventListener(n,o,l),e.current.delete(r)},[]),r=(0,y.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,y.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}F.displayName="PressResponderContext";var M=n(25272),C=n(96673),D=n(51255),R=n(79501),I=n(44109);n(47650);var x=new WeakMap;class A{continuePropagation(){L(this,x,!1)}get shouldStopPropagation(){var e;return e=P(this,x,"get"),e.get?e.get.call(this):e.value}constructor(e,t,n,r){var l;!function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,x,{writable:!0,value:void 0}),L(this,x,!0);let i=null!=(l=null==r?void 0:r.target)?l:n.currentTarget,o=null==i?void 0:i.getBoundingClientRect(),s,a=0,u,c=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,c=n.clientY),o&&(null!=u&&null!=c?(s=u-o.left,a=c-o.top):(s=o.width/2,a=o.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=a}}let O=Symbol("linkClicked"),_="react-aria-pressable-style",B="data-react-aria-pressable";function W(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:l,onPressUp:i,onClick:o,isDisabled:s,isPressed:c,preventFocusOnPress:d,shouldCancelOnPointerExit:f,allowTextSelectionOnPress:p,ref:v,...g}=function(e){let t=(0,y.useContext)(F);if(t){let{register:n,...r}=t;e=(0,u.v)(r,e),n()}return h(t,e.ref),e}(e),[K,P]=(0,y.useState)(!1),L=(0,y.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:x,removeAllGlobalListeners:W}=N(),V=(0,M.J)((e,t)=>{let l=L.current;if(s||l.didFirePressStart)return!1;let i=!0;if(l.isTriggeringEvent=!0,r){let n=new A("pressstart",t,e);r(n),i=n.shouldStopPropagation}return n&&n(!0),l.isTriggeringEvent=!1,l.didFirePressStart=!0,P(!0),i}),G=(0,M.J)((e,r,i=!0)=>{let o=L.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let a=!0;if(l){let t=new A("pressend",r,e);l(t),a=t.shouldStopPropagation}if(n&&n(!1),P(!1),t&&i&&!s){let n=new A("press",r,e);t(n),a&&(a=n.shouldStopPropagation)}return o.isTriggeringEvent=!1,a}),j=(0,M.J)((e,t)=>{let n=L.current;if(s)return!1;if(i){n.isTriggeringEvent=!0;let r=new A("pressup",t,e);return i(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),J=(0,M.J)(e=>{let t=L.current;if(t.isPressed&&t.target){for(let n of(t.didFirePressStart&&null!=t.pointerType&&G($(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,W(),p||k(t.target),t.disposables))n();t.disposables=[]}}),X=(0,M.J)(e=>{f&&J(e)}),q=(0,M.J)(e=>{null==o||o(e)}),Y=(0,M.J)((e,t)=>{if(o){let n=new MouseEvent("click",e);(0,m.o1)(n,t),o((0,m.eg)(n))}}),Z=(0,y.useMemo)(()=>{let e=L.current,t={onKeyDown(t){if(H(t.nativeEvent,t.currentTarget)&&(0,C.sD)(t.currentTarget,(0,C.wt)(t.nativeEvent))){var r;U((0,C.wt)(t.nativeEvent),t.key)&&t.preventDefault();let l=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,e.pointerType="keyboard",l=V(t,"keyboard");let r=t.currentTarget;x((0,w.TW)(t.currentTarget),"keyup",(0,D.c)(t=>{H(t,r)&&!t.repeat&&(0,C.sD)(r,(0,C.wt)(t))&&e.target&&j($(e.target,t),"keyboard")},n),!0)}l&&t.stopPropagation(),t.metaKey&&(0,b.cX)()&&(null==(r=e.metaKeyEvents)||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,C.sD)(t.currentTarget,(0,C.wt)(t.nativeEvent)))&&t&&0===t.button&&!e.isTriggeringEvent&&!a.Fe.isOpening){let n=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,R.Y)(t.nativeEvent))){let e=V(t,"virtual"),r=j(t,"virtual"),l=G(t,"virtual");q(t),n=e&&r&&l}else if(e.isPressed&&"keyboard"!==e.pointerType){let r=e.pointerType||t.nativeEvent.pointerType||"virtual",l=j($(t.currentTarget,t),r),i=G($(t.currentTarget,t),r,!0);n=l&&i,e.isOverTarget=!1,q(t),J(t)}
1e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,l;if(e.isPressed&&e.target&&H(t,e.target)){U((0,C.wt)(t),t.key)&&t.preventDefault();let n=(0,C.wt)(t),l=(0,C.sD)(e.target,(0,C.wt)(t));G($(e.target,t),"keyboard",l),l&&Y(t,e.target),W(),"Enter"!==t.key&&z(e.target)&&(0,C.sD)(e.target,n)&&!t[O]&&(t[O]=!0,(0,a.Fe)(e.target,t,!1)),e.isPressed=!1,null==(r=e.metaKeyEvents)||r.delete(t.key)}else if("Meta"===t.key&&(null==(n=e.metaKeyEvents)?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null==(l=e.target)||l.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!(0,C.sD)(t.currentTarget,(0,C.wt)(t.nativeEvent)))return;if((0,R.P)(t.nativeEvent)){e.pointerType="virtual";return}e.pointerType=t.pointerType;let l=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,p||function(e){if((0,b.un)()){if("default"===E){let t=(0,w.TW)(e);T=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}E="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";S.set(e,e.style[t]),e.style[t]="none"}}(e.target),l=V(t,e.pointerType);let i=(0,C.wt)(t.nativeEvent);"releasePointerCapture"in i&&i.releasePointerCapture(t.pointerId),x((0,w.TW)(t.currentTarget),"pointerup",n,!1),x((0,w.TW)(t.currentTarget),"pointercancel",r,!1)}l&&t.stopPropagation()},t.onMouseDown=t=>{if((0,C.sD)(t.currentTarget,(0,C.wt)(t.nativeEvent))&&0===t.button){if(d){let n=(0,m.LE)(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{(0,C.sD)(t.currentTarget,(0,C.wt)(t.nativeEvent))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||j(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,V($(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,G($(e.target,t),e.pointerType,!1),X(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,C.sD)(e.target,(0,C.wt)(t))&&null!=e.pointerType){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?J(t):((0,I.e)(e.target),e.target.click()))},80);x(t.currentTarget,"click",()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else J(t);e.isOverTarget=!1}},r=e=>{J(e)};t.onDragStart=e=>{(0,C.sD)(e.currentTarget,(0,C.wt)(e.nativeEvent))&&J(e)}}return t},[x,s,d,W,p,J,X,G,V,j,q,Y]);return(0,y.useEffect)(()=>{if(!v)return;let e=(0,w.TW)(v.current);if(!e||!e.head||e.getElementById(_))return;let t=e.createElement("style");t.id=_,t.textContent=` 2@layer { 3 [${B}] { 4 touch-action: pan-x pan-y pinch-zoom; 5 } 6} 7 `.trim(),e.head.prepend(t)},[v]),(0,y.useEffect)(()=>{let e=L.current;return()=>{var t;for(let n of(p||k(null!=(t=e.target)?t:void 0),e.disposables))n();e.disposables=[]}},[p]),{isPressed:c||K,pressProps:(0,u.v)(g,Z,{[B]:!0})}}function z(e){return"A"===e.tagName&&e.hasAttribute("href")}function H(e,t){let{key:n,code:r}=e,l=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,w.mD)(t).HTMLInputElement&&!G(t,n)||t instanceof(0,w.mD)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===l||!l&&z(t))&&"Enter"!==n)}function $(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function U(e,t){return e instanceof HTMLInputElement?!G(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!z(e))}let V=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function G(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:V.has(e.type)}let j=0,J=new Map;var X=n(794),q=n(33441),Y=n(76100);function Z(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function Q(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}function ee(e,t,n){let{key:m,isDisabled:b,shouldSelectOnPressUp:K}=e,{selectionManager:E,selectedKey:T}=t,S=m===T,k=b||t.isDisabled||t.selectionManager.isDisabled(m),{itemProps:F,isPressed:P}=function(e){let{id:t,selectionManager:n,key:r,ref:l,shouldSelectOnPressUp:i,shouldUseVirtualFocus:o,focus:s,isDisabled:d,onAction:f,allowsDifferentPressOrigin:h,linkBehavior:v="action"}=e,m=(0,a.rd)();t=(0,X.Bi)(t);let b=e=>{if("keyboard"===e.pointerType&&(0,g.N9)(e))n.toggleSelection(r);else{if("none"===n.selectionMode)return;if(n.isLink(r)){if("selection"===v&&l.current){let t=n.getItemProps(r);m.open(l.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if("override"===v||"none"===v)return}"single"===n.selectionMode?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):e&&e.shiftKey?n.extendSelection(r):"toggle"===n.selectionBehavior||e&&((0,q.B)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?n.toggleSelection(r):n.replaceSelection(r)}};(0,y.useEffect)(()=>{r===n.focusedKey&&n.isFocused&&(o?(0,Y.vX)(l.current):s?s():document.activeElement!==l.current&&l.current&&(0,c.l)(l.current))},[l,r,n.focusedKey,n.childFocusStrategy,n.isFocused,o]),d=d||n.isDisabled(r);let K={};o||d?d&&(K.onMouseDown=e=>{e.preventDefault()}):K={tabIndex:r===n.focusedKey?0:-1,onFocus(e){e.target===l.current&&n.setFocusedKey(r)}};let E=n.isLink(r)&&"override"===v,T=n.isLink(r)&&"selection"!==v&&"n
7one"!==v,S=!d&&n.canSelectItem(r)&&!E,k=(f||T)&&!d,F=k&&("replace"===n.selectionBehavior?!S:!S||n.isEmpty),P=k&&S&&"replace"===n.selectionBehavior,L=F||P,M=(0,y.useRef)(null),C=L&&S,D=(0,y.useRef)(!1),R=(0,y.useRef)(!1),x=e=>{if(f&&f(),T&&l.current){let t=n.getItemProps(r);m.open(l.current,e,t.href,t.routerOptions)}},A={ref:l};i?(A.onPressStart=e=>{M.current=e.pointerType,D.current=C,"keyboard"===e.pointerType&&(!L||Q())&&b(e)},h?(A.onPressUp=F?void 0:e=>{"mouse"===e.pointerType&&S&&b(e)},A.onPress=F?x:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&S&&b(e)}):A.onPress=e=>{F||P&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||Z())&&x(e):"keyboard"!==e.pointerType&&S&&b(e)}):(A.onPressStart=e=>{M.current=e.pointerType,D.current=C,R.current=F,S&&("mouse"===e.pointerType&&!F||"keyboard"===e.pointerType&&(!k||Q()))&&b(e)},A.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&L&&Z()||"mouse"===e.pointerType&&R.current)&&(L?x(e):S&&b(e))}),K["data-collection"]=(0,g.EG)(n.collection),K["data-key"]=r,A.preventFocusOnPress=o,o&&(A=(0,u.v)(A,{onPressStart(e){"touch"!==e.pointerType&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(e){"touch"===e.pointerType&&(n.setFocused(!0),n.setFocusedKey(r))}}));let{pressProps:O,isPressed:_}=W(A),B=P?e=>{"mouse"===M.current&&(e.stopPropagation(),e.preventDefault(),x(e))}:void 0,{longPressProps:z}=function(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:l,threshold:i=500,accessibilityDescription:o}=e,s=(0,y.useRef)(void 0),{addGlobalListener:a,removeGlobalListener:c}=N(),{pressProps:d}=W({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(n&&n({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,w.TW)(e.target).activeElement!==e.target&&(0,I.e)(e.target),l&&l({...e,type:"longpress"}),s.current=void 0},i),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};a(e.target,"contextmenu",t,{once:!0}),a(window,"pointerup",()=>{setTimeout(()=>{c(e.target,"contextmenu",t)}
7,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),r&&("mouse"===e.pointerType||"touch"===e.pointerType)&&r({...e,type:"longpressend"})}}),f=function(e){let[t,n]=(0,y.useState)();return(0,p.N)(()=>{if(!e)return;let t=J.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${j++}`;n(r);let l=document.createElement("div");l.id=r,l.style.display="none",l.textContent=e,document.body.appendChild(l),t={refCount:0,element:l},J.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),J.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(l&&!t?o:void 0);return{longPressProps:(0,u.v)(d,f)}}({isDisabled:!C,onLongPress(e){"touch"===e.pointerType&&(b(e),n.setSelectionBehavior("toggle"))}}),H=n.isLink(r)?e=>{a.Fe.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,u.v)(K,S||F||o&&!d?O:{},C?z:{},{onDoubleClick:B,onDragStartCapture:e=>{"touch"===M.current&&D.current&&e.preventDefault()},onClick:H,id:t},o?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:_,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:d,allowsSelection:S,hasAction:L}}({selectionManager:E,key:m,ref:n,isDisabled:k,shouldSelectOnPressUp:K,linkBehavior:"selection"}),L=(0,r.$)(t,m,"tab"),M=(0,r.$)(t,m,"tabpanel"),{tabIndex:C}=F,D=t.collection.getItem(m),R=function(e,t={}){let{labelable:n,isLink:r,propNames:a}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(l.has(t)||n&&i.has(t)||r&&o.has(t)||(null==a?void 0:a.has(t))||s.test(t))&&(u[t]=e[t]);return u}(null==D?void 0:D.props,{labelable:!0});delete R.id;let x=(0,a._h)(null==D?void 0:D.props),{focusableProps:A}=function(e,t){let{focusProps:n}=(0,d.i)(e),{keyboardProps:r}={keyboardProps:e.isDisabled?{}:{onKeyDown:f(e.onKeyDown),onKeyUp:f(e.onKeyUp)}},l=(0,u.v)(n,r),i=function(e){let t=(0,y.useContext)(v)||{};h(t,e);let{ref:n,...r}=t;return r}(t),o=e.isDisabled?{}:i,s=(0,y.useRef)(e.autoFocus);(0,y.useEffect)(()=>{s.current&&t.current&&(0,c.l)(t.current),s.current=!1},[t]);let a=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(a=void 0),{focusableProps:(0,u.v)({...l,tabIndex:a},o)}}({isDisabled:k},n);return{tabProps:(0,u.v)(R,A,x,F,{id:L,"aria-selected":S,"aria-disabled":k||void 0,"aria-controls":S?M:void 0,tabIndex:k?void 0:C,role:"tab"}),isSelected:S,isDisabled:k,isPressed:P}}},76913:(e,t,n)=>{n.d(t,{o:()=>H});var r=n(12115);let l="undefined"!=typeof document?r.useLayoutEffect:()=>{},i=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},o=e=>e&&"window"in e&&e.window===e?e:i(e).defaultView||window;var s=n(96902);function a(e,t){if(!(0,s.Nf)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:!function(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}(n)?n.parentNode:n.host}return!1}let u=(e=document)=>{var t;if(!(0,s.Nf)())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(null==(t=n.shadowRoot)?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function c(e){if((0,s.Nf)()&&e.target instanceof Element&&e.target.shadowRoot){var t,n;if("composedPath"in e)return null!=(t=e.composedPath()[0])?t:null;if("composedPath"in e.nativeEvent)return null!=(n=e.nativeEvent.composedPath()[0])?n:null}return e.target}function d(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function f(e){let t=(0,r.useRef)({isFocused:!1,observer:null});return l(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,r.useCallback)(n=>{let r=c(n);(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement)&&(t.current.isFocused=!0,r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=d(n);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===u()?null:u();r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]}))},[e])}function p(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null==(t=window.navigator.userAgentData)?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function h(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function y(e){let t=null;return()=>(null==t&&(t=e()),t)}let v=y(function(){return h(/^Mac/i)}),g=y(function(){return h(/^iPhone/i)}),m=y(function(){return h(/^iPad/i)||v()&&navigator.maxTouchPoints>1}),b=y(function(){return g()||m()});y(function(){return v()||b()});
7let w=y(function(){return p(/AppleWebKit/i)&&!K()}),K=y(function(){return p(/Chrome/i)}),E=y(function(){return p(/Android/i)}),T=y(function(){return p(/Firefox/i)}),S=null;function k(e,t,n=!0){var r,l;let{metaKey:i,ctrlKey:o,altKey:s,shiftKey:a}=t;T()&&(null==(l=window.event)||null==(r=l.type)?void 0:r.startsWith("key"))&&"_blank"===e.target&&(v()?i=!0:o=!0);let u=w()&&v()&&!m()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:o,altKey:s,shiftKey:a}):new MouseEvent("click",{metaKey:i,ctrlKey:o,altKey:s,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});if(k.isOpening=n,function(){if(null==S){S=!1;try{document.createElement("div").focus({get preventScroll(){return S=!0,!0}})}catch{}}return S}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}e.dispatchEvent(u),k.isOpening=!1}k.isOpening=!1;let F=null,P=new Set,L=new Map,N=!1,M=!1,C={Tab:!0,Escape:!0};function D(e,t){for(let n of P)n(e,t)}function R(e){N=!0,k.isOpening||e.metaKey||!v()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(F="keyboard",D("keyboard",e))}function I(e){F="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(N=!0,D("pointer",e))}function x(e){k.isOpening||(""!==e.pointerType||!e.isTrusted)&&(E()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(N=!0,F="virtual")}function A(e){c(e)!==window&&c(e)!==document&&e.isTrusted&&(N||M||(F="virtual",D("virtual",e)),N=!1,M=!1)}function O(){N=!1,M=!0}function _(e){if("undefined"==typeof window||"undefined"==typeof document||L.get(o(e)))return;let t=o(e),n=i(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){N=!0,r.apply(this,arguments)},n.addEventListener("keydown",R,!0),n.addEventListener("keyup",R,!0),n.addEventListener("click",x,!0),t.addEventListener("focus",A,!0),t.addEventListener("blur",O,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",I,!0),n.addEventListener("pointermove",I,!0),n.addEventListener("pointerup",I,!0)),t.addEventListener("beforeunload",()=>{B(e)},{once:!0}),L.set(t,{focus:r})}let B=(e,t)=>{let n=o(e),r=i(e);t&&r.removeEventListener("DOMContentLoaded",t),L.has(n)&&(n.HTMLElement.prototype.focus=L.get(n).focus,r.removeEventListener("keydown",R,!0),r.removeEventListener("keyup",R,!0),r.removeEventListener("click",x,!0),n.removeEventListener("focus",A,!0),n.removeEventListener("blur",O,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",I,!0),r.removeEventListener("pointermove",I,!0),r.removeEventListener("pointerup",I,!0)),L.delete(n))};function W(){return"pointer"!==F}"undefined"!=typeof document&&function(e){let t,n=i(void 0);"loading"!==n.readyState?_(void 0):(t=()=>{_(e)},n.addEventListener("DOMContentLoaded",t)),()=>B(e,t)}();let z=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function H(e={}){var t;let{autoFocus:n=!1,isTextInput:l,within:s}=e,p=(0,r.useRef)({isFocused:!1,isFocusVisible:n||W()}),[h,y]=(0,r.useState)(!1),[v,g]=(0,r.useState)(()=>p.current.isFocused&&p.current.isFocusVisible),m=(0,r.useCallback)(()=>g(p.current.isFocused&&p.current.isFocusVisible),[]),b=(0,r.useCallback)(e=>{p.current.isFocused=e,p.current.isFocusVisible=W(),y(e),m()},[m]);t={enabled:h,isTextInput:l},_(),(0,r.useEffect)(()=>{if((null==t?void 0:t.enabled)===!1)return;let e=(e,n)=>{(function(e,t,n){let r=i(n?c(n):void 0),l=n?c(n):void 0,s="undefined"!=typeof window?o(l).HTMLInputElement:HTMLInputElement,a="undefined"!=typeof window?o(l).HTMLTextAreaElement:HTMLTextAreaElement,d="undefined"!=typeof window?o(l).HTMLElement:HTMLElement,f="undefined"!=typeof window?o(l).KeyboardEvent:KeyboardEvent,p=u(r);return!((e=e||p instanceof s&&!z.has(p.type)||p instanceof a||p instanceof d&&p.isContentEditable)&&"keyboard"===t&&n instanceof f&&!C[n.key])}
7)(!!(null==t?void 0:t.isTextInput),e,n)&&(e=>{p.current.isFocusVisible=e,m()})(W())};return P.add(e),()=>{P.delete(e)}},[l,h]);let{focusProps:w}=function(e){let{isDisabled:t,onFocus:n,onBlur:l,onFocusChange:o}=e,s=(0,r.useCallback)(e=>{if(c(e)===e.currentTarget)return l&&l(e),o&&o(!1),!0},[l,o]),a=f(s),d=(0,r.useCallback)(e=>{let t=c(e),r=i(t),l=r?u(r):u();t===e.currentTarget&&t===l&&(n&&n(e),o&&o(!0),a(e))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||l)?d:void 0,onBlur:!t&&(l||o)?s:void 0}}}({isDisabled:s,onFocusChange:b}),{focusWithinProps:K}=function(e){let t,n,l,o,{isDisabled:s,onBlurWithin:p,onFocusWithin:h,onFocusWithinChange:y}=e,v=(0,r.useRef)({isFocusWithin:!1}),{addGlobalListener:g,removeAllGlobalListeners:m}=(t=(0,r.useRef)(new Map),n=(0,r.useCallback)((e,n,r,l)=>{let i=(null==l?void 0:l.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:l}),e.addEventListener(n,i,l)},[]),l=(0,r.useCallback)((e,n,r,l)=>{var i;let o=(null==(i=t.current.get(r))?void 0:i.fn)||r;e.removeEventListener(n,o,l),t.current.delete(r)},[]),o=(0,r.useCallback)(()=>{t.current.forEach((e,t)=>{l(e.eventTarget,e.type,t,e.options)})},[l]),(0,r.useEffect)(()=>o,[o]),{addGlobalListener:n,removeGlobalListener:l,removeAllGlobalListeners:o}),b=(0,r.useCallback)(e=>{a(e.currentTarget,c(e))&&v.current.isFocusWithin&&!a(e.currentTarget,e.relatedTarget)&&(v.current.isFocusWithin=!1,m(),p&&p(e),y&&y(!1))},[p,y,v,m]),w=f(b),K=(0,r.useCallback)(e=>{if(!a(e.currentTarget,c(e)))return;let t=c(e),n=i(t),r=u(n);if(!v.current.isFocusWithin&&r===t){h&&h(e),y&&y(!0),v.current.isFocusWithin=!0,w(e);let t=e.currentTarget;
7g(n,"focus",e=>{let r=c(e);if(v.current.isFocusWithin&&!a(t,r)){let e=new n.defaultView.FocusEvent("blur",{relatedTarget:r});Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t}),b(d(e))}},{capture:!0})}},[h,y,w,g,b]);return s?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:K,onBlur:b}}}({isDisabled:!s,onFocusWithinChange:b});return{isFocused:h,isFocusVisible:v,focusProps:s?K:w}}},79501:(e,t,n)=>{n.d(t,{P:()=>i,Y:()=>l});var r=n(51451);function l(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,r.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,r.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}}}]);
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.