1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9289],{18952:(e,t,l)=>{l.d(t,{R:()=>r});var n=l(54106),i=l(53260),s=l(86028);function r(e){let{selectionMode:t="none",disallowEmptySelection:l=!1,allowDuplicateSelectionEvents:r,selectionBehavior:c="toggle",disabledBehavior:u="all"}=e,a=(0,s.useRef)(!1),[,d]=(0,s.useState)(!1),h=(0,s.useRef)(null),f=(0,s.useRef)(null),[,y]=(0,s.useState)(null),p=(0,s.useMemo)(()=>o(e.selectedKeys),[e.selectedKeys]),g=(0,s.useMemo)(()=>o(e.defaultSelectedKeys,new(0,n.L)),[e.defaultSelectedKeys]),[K,S]=(0,i.P)(p,g,e.onSelectionChange),m=(0,s.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[v,w]=(0,s.useState)(c);"replace"===c&&"toggle"===v&&"object"==typeof K&&0===K.size&&w("replace");let I=(0,s.useRef)(c);return(0,s.useEffect)(()=>{c!==I.current&&(w(c),I.current=c)},[c]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:v,setSelectionBehavior:w,get isFocused(){return a.current},setFocused(e){a.current=e,d(e)},get focusedKey(){return h.current},get childFocusStrategy(){return f.current},setFocusedKey(e,t="first"){h.current=e,f.current=t,y(e)},selectedKeys:K,setSelectedKeys(e){(r||!function(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}(e,K))&&S(e)},disabledKeys:m,disabledBehavior:u}}function o(e,t){return e?"all"===e?"all":new(0,n.L)(e):t}},19749:(e,t,l)=>{l.d(t,{Y:()=>s});var n=l(54106),i=l(45195);class s{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if("none"===this.state.selectionMode)return!1;let t=this.getKey(e);return null!=t&&("all"===this.state.selectedKeys?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let l=this.collection.getItem(e);(!t||l&&0>(0,i.o3)(this.collection,l,t))&&(t=l)}return null!=(e=null==t?void 0:t.key)?e:null}get lastSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let l=this.collection.getItem(e);(!t||l&&(0,i.o3)(this.collection,l,t)>0)&&(t=l)}return null!=(e=null==t?void 0:t.key)?e:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let l=this.getKey(e);if(null!=l){if("all"===this.state.selectedKeys)t=new(0,n.L)([l],l,l);else{var i,s;let e=this.state.selectedKeys,r=null!=(i=e.anchorKey)?i:l;for(let i of(t=new(0,n.L)(e,r,l),this.getKeyRange(r,null!=(s=e.currentKey)?s:l)))t.delete(i);for(let e of this.getKeyRange(l,r))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let l=this.collection.getItem(e),n=this.collection.getItem(t);return l&&n?0>=(0,i.o3)(this.collection,l,n)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var l;if(null==(l=this.layoutDelegate)?void 0:l.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let n=[],i=e;for(;null!=i;){let e=this.collection.getItem(i);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&n.push(i),i===t)return n;i=this.collection.getKeyAfter(i)}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;
1let l=new(0,n.L)("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);l.has(t)?l.delete(t):this.canSelectItem(t)&&(l.add(t),l.anchorKey=t,l.currentKey=t),this.disallowEmptySelection&&0===l.size||this.state.setSelectedKeys(l)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let l=this.canSelectItem(t)?new(0,n.L)([t],t,t):new(0,n.L);this.state.setSelectedKeys(l)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new(0,n.L);for(let l of e){let e=this.getKey(l);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=l=>{for(;null!=l;){if(this.canSelectItem(l)){var n,s;let r=this.collection.getItem(l);(null==r?void 0:r.type)==="item"&&e.push(l),(null==r?void 0:r.hasChildNodes)&&(this.allowsCellSelection||"item"!==r.type)&&t(null!=(s=null==(n=(0,i.ue)((0,i.iQ)(r,this.collection)))?void 0:n.key)?s:null)}l=this.collection.getKeyAfter(l)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new(0,n.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 l of e)if(!t.has(l))return!1;for(let l of t)if(!e.has(l))return!1;return!0}canSelectItem(e){var t;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let l=this.collection.getItem(e);return!!l&&(null==l||null==(t=l.props)||!t.isDisabled)&&("cell"!==l.type||!!this.allowsCellSelection)}isDisabled(e){var t,l;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(null==(l=this.collection.getItem(e))||null==(t=l.props)?void 0:t.isDisabled))}isLink(e){var t,l;return!!(null==(l=this.collection.getItem(e))||null==(t=l.props)?void 0:t.href)}getItemProps(e){var t;return null==(t=this.collection.getItem(e))?void 0:t.props}withCollection(e){return new s(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(e,t,l){var n;this.collection=e,this.state=t,this.allowsCellSelection=null!=(n=null==l?void 0:l.allowsCellSelection)&&n,this._isSelectAll=null,this.layoutDelegate=(null==l?void 0:l.layoutDelegate)||null}}},21936:(e,t,l)=>{l.d(t,{K:()=>s});var n=l(2287),i=l(86028);function s(e,t){let l=(0,i.useRef)(!0),s=(0,i.useRef)(null);(0,n.N)(()=>(l.current=!0,()=>{l.current=!1}),[]),(0,n.N)(()=>{l.current?l.current=!1:(!s.current||t.some((e,t)=>!Object.is(e,s[t])))&&e(),s.current=t},t)}},31526:(e,t,l)=>{l.d(t,{R:()=>s,o:()=>o});var n=l(43380),i=l(43528);function s(e,t){let l=r(e,t,"left"),n=r(e,t,"top"),i=t.offsetWidth,s=t.offsetHeight,o=e.scrollLeft,c=e.scrollTop,{borderTopWidth:u,borderLeftWidth:a,scrollPaddingTop:d,scrollPaddingRight:h,scrollPaddingBottom:f,scrollPaddingLeft:y}=getComputedStyle(e),p=o+parseInt(a,10),g=c+parseInt(u,10),K=p+e.clientWidth,S=g+e.clientHeight,m=parseInt(d,10)||0,v=parseInt(f,10)||0,w=parseInt(h,10)||0,I=parseInt(y,10)||0;l<=o+I?o=l-parseInt(a,10)-I:l+i>K-w&&(o+=l+i-K+w),n<=g+m?c=n-parseInt(u,10)-m:n+s>S-v&&(c+=n+s-S+v),e.scrollLeft=o,e.scrollTop=c}function r(e,t,l){let n="left"===l?"offsetLeft":"offsetTop",s=0;for(;t.offsetParent&&(s+=t[n],t.offsetParent!==e);){if((0,i.sD)(t.offsetParent,e)){s-=e[n];break}t=t.offsetParent}return s}function o(e,t){if(e&&(0,i.sD)(document,e)){let i=document.scrollingElement||document.documentElement,u="hidden"===window.getComputedStyle(i).overflow;if(u){let t=function(e,t){let l=[];for(;e&&e!==document.documentElement;)(0,n.o)(e,void 0)&&l.push(e),e=e.parentElement;return l}(e);for(let l of(u||t.push(i),t))s(l,e)}else{var l,r,o,c;let{left:n,top:i}=e.getBoundingClientRect();null==e||null==(l=e.scrollIntoView)||l.call(e,{block:"nearest"});let{left:s,top:u}=e.getBoundingClientRect();(Math.abs(n-s)>1||Math.abs(i-u)>1)&&(null==t||null==(o=t.containingElement)||null==(r=o.scrollIntoView)||r.call(o,{block:"center",inline:"center"}),null==(c=e.scrollIntoView)||c.call(e,{block:"nearest"}))}}}},35024:(e,t,l)=>{l.d(t,{B:()=>i});var n=l(99286);function i(e){return(0,n.cX)()?e.metaKey:e.ctrlKey}},38601:(e,t,l)=>{l.d(t,{G:()=>o});var n=l(86028);class i{build(e,t){return this.context=t,s(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:l}=e;if(n.isValidElement(t)&&t.type===n.Fragment)yield*this.iterateCollection({children:t.props.children,items:l});else if("function"==typeof t){if(!l)throw Error("props.children was a function but props.items is missing");let e=0;for(let n of l)yield*this.getFullNode({value:n,index:e},{renderer:t}),e++}else{let e=[];
1n.Children.forEach(t,t=>{t&&e.push(t)});let l=0;for(let t of e)for(let e of this.getFullNode({element:t,index:l},{}))l++,yield e}}getKey(e,t,l,n){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${n}${t.key}`;let i=t.value;if(null!=i){var s;let e=null!=(s=i.key)?s:i.id;if(null==e)throw Error("No key found for item");return e}return n?`${n}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,l,i){var o,c,u,a,d,h,f,y;if(n.isValidElement(e.element)&&e.element.type===n.Fragment){let s=[];n.Children.forEach(e.element.props.children,e=>{s.push(e)});let r=null!=(o=e.index)?o:0;for(let e of s)yield*this.getFullNode({element:e,index:r++},t,l,i);return}let p=e.element;if(!p&&e.value&&t&&t.renderer){let l=this.cache.get(e.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=e.index,l.parentKey=i?i.key:null,yield l;return}p=t.renderer(e.value)}if(n.isValidElement(p)){let n=p.type;if("function"!=typeof n&&"function"!=typeof n.getCollectionNode){let e=p.type;throw Error(`Unknown element <${e}> in collection.`)}let s=n.getCollectionNode(p.props,this.context),o=null!=(c=e.index)?c:0,f=s.next();for(;!f.done&&f.value;){let n=f.value;e.index=o;let c=null!=(u=n.key)?u:null;null==c&&(c=n.element?null:this.getKey(p,e,t,l));let y=[...this.getFullNode({...n,key:c,index:o,wrapper:function(e,t){return e&&t?l=>e(t(l)):e||t||void 0}(e.wrapper,n.wrapper)},this.getChildState(t,n),l?`${l}${p.key}`:p.key,i)];for(let t of y){if(t.value=null!=(d=null!=(a=n.value)?a:e.value)?d:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${r(t.type)}> in <${r(null!=(h=null==i?void 0:i.type)?h:"unknown parent type")}>. Only <${r(e.type)}> is supported.`);o++,yield t}f=s.next(y)}return}if(null==e.key||null==e.type)return;let g=this,K={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:null!=(f=e.value)?f:null,level:i?i.level+1:0,index:e.index,rendered:e.rendered,textValue:null!=(y=e.textValue)?y:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:s(function*(){if(!e.hasChildNodes||!e.childNodes)return;let l=0;for(let n of e.childNodes())for(let e of(null!=n.key&&(n.key=`${K.key}${n.key}`),g.getFullNode({...n,index:l},g.getChildState(t,n),K.key,K)))l++,yield e})};yield K}constructor(){this.cache=new WeakMap}}function s(e){let t=[],l=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let n of(l||(l=e()),l))t.push(n),yield n}}}function r(e){return e[0].toUpperCase()+e.slice(1)}function o(e,t,l){let s=(0,n.useMemo)(()=>new i,[]),{children:r,items:o,collection:c}=e;return(0,n.useMemo)(()=>c||t(s.build({children:r,items:o},l)),[s,r,o,c,l,t])}},43380:(e,t,l)=>{l.d(t,{o:()=>n});function n(e,t){if(!e)return!1;let l=window.getComputedStyle(e),n=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}},45195:(e,t,l)=>{function n(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function i(e){return s(e,0)}function s(e,t){if(t<0)return;let l=0;for(let n of e){if(l===t)return n;l++}}function r(e){let t;for(let l of e)t=l;return t}function o(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let n=[...c(e,t),t],i=[...c(e,l),l],s=n.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return -1!==s?(t=n[s],l=i[s],t.index-l.index):n.findIndex(e=>e===l)>=0?1:(i.findIndex(e=>e===t),-1)}function c(e,t){let l=[],n=t;for(;(null==n?void 0:n.parentKey)!=null;)(n=e.getItem(n.parentKey))&&l.unshift(n);return l}l.d(t,{W:()=>r,cj:()=>s,iQ:()=>n,o3:()=>o,ue:()=>i})},47312:(e,t,l)=>{l.d(t,{C:()=>i,m:()=>n});let n="react-aria-clear-focus",i="react-aria-focus"},54106:(e,t,l)=>{l.d(t,{L:()=>n});class n extends Set{constructor(e,t,l){super(e),e instanceof n?(this.anchorKey=null!=t?t:e.anchorKey,this.currentKey=null!=l?l:e.currentKey):(this.anchorKey=null!=t?t:null,this.currentKey=null!=l?l:null)}}},72812:(e,t,l)=>{l.d(t,{_:()=>s});var n=l(27841),i=l(86028);function s(e,t,l,s){let r=(0,n.J)(l),o=null==l;(0,i.useEffect)(()=>
1{if(o||!e.current)return;let l=e.current;return l.addEventListener(t,r,s),()=>{l.removeEventListener(t,r,s)}},[e,t,s,o])}}}]);
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.