1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7722],{93912:function(e,t,r){r.d(t,{MT:function(){return p},QL:function(){return C},cW:function(){return R}});var n=r(69786),o=r(8745),i=r(78837),l=r(68806),u=r(52034),c=r(18518);class s{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,o.bE)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],r=e,n=e;for(this._currentNode=e;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=r,o=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(o),o.currentNode=n,this._currentSetFor.add(o),r=n=e.host}else r=r.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=n,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,o.bE)(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 r;if("function"==typeof this.filter?r=this.filter(e):(null===(t=this.filter)||void 0===t?void 0:t.acceptNode)&&(r=this.filter.acceptNode(e)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let n=this.nextNode();return n&&(this.currentNode=n),n}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var r;let e;if("function"==typeof this.filter?e=this.filter(t):(null===(r=this.filter)||void 0===r?void 0:r.acceptNode)&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let n=this.lastChild();return n&&(this.currentNode=n),n}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,r,n){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let r=e.shadowRoot;if(r){let e=this._doc.createTreeWalker(r,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?void 0:t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=null!=n?n:null,this.whatToShow=null!=r?r:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,r,this._acceptNode));let o=t.shadowRoot;if(o){let e=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}var d=r(9975),a=r(30945),f=r(67294);let h=f.createContext(null),v="react-aria-focus-scope-restore",N=null;function p(e){let t,r,{children:u,contain:c,restoreFocus:s,autoFocus:a}=e,p=(0,f.useRef)(null),R=(0,f.useRef)(null),L=(0,f.useRef)([]),{parentNode:M}=(0,f.useContext)(h)||{},I=(0,f.useMemo)(()=>new F({scopeRef:L}),[L]);(0,n.b)(()=>{let e=M||x.root;if(x.getTreeNode(e.scopeRef)&&N&&!_(N,e.scopeRef)){let t=x.getTreeNode(N);t&&(e=t)}e.addChild(I),x.addNode(I)},[I,M]),(0,n.b)(()=>{let e=x.getTreeNode(L);e&&(e.contain=!!c)},[c]),(0,n.b)(()=>{var e;let t=null===(e=p.current)||void 0===e?void 0:e.nextSibling,r=[],n=e=>e.stopPropagation();for(;t&&t!==R.current;)r.push(t),t.addEventListener(v,n),t=t.nextSibling;return L.current=r,()=>{for(let e of r)e.removeEventListener(v,n)}},[u]),(0,n.b)(()=>{if(s||c)return;let e=L.current,t=(0,i.r3)(e?e[0]:void 0),r=e=>{let t=(0,o.NI)(e);T(t,L.current)?N=L:m(t)||(N=null)};
1return t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1))}},[L,s,c]),t=(0,f.useRef)(void 0),r=(0,f.useRef)(void 0),(0,n.b)(()=>{let e=L.current;if(!c){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}let n=(0,i.r3)(e?e[0]:void 0),u=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!b(L)||e.isComposing)return;let t=(0,o.vY)(n),r=L.current;if(!r||!T(t,r))return;let i=C(E(r),{tabbable:!0},r);if(!t)return;i.currentNode=t;let l=e.shiftKey?i.previousNode():i.nextNode();l||(i.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,l=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),l&&g(l,!0)},s=e=>{(!N||_(N,L))&&T((0,o.NI)(e),L.current)?(N=L,t.current=(0,o.NI)(e)):b(L)&&!m((0,o.NI)(e),L)?t.current?t.current.focus():N&&N.current&&k(N.current):b(L)&&(t.current=(0,o.NI)(e))},a=e=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let r=(0,d.Jz)(),i=("virtual"===r||null===r)&&(0,l.Dt)()&&(0,l.i7)(),u=(0,o.vY)(n);if(!i&&u&&b(L)&&!m(u,L)){N=L;let r=(0,o.NI)(e);if(r&&r.isConnected){var c;t.current=r,null===(c=t.current)||void 0===c||c.focus()}else N.current&&k(N.current)}})};return n.addEventListener("keydown",u,!1),n.addEventListener("focusin",s,!1),null==e||e.forEach(e=>e.addEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",a,!1)),()=>{n.removeEventListener("keydown",u,!1),n.removeEventListener("focusin",s,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",a,!1))}},[L,c]),(0,n.b)(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r]),function(e,t,r){let l=(0,f.useRef)("undefined"!=typeof document?(0,o.vY)((0,i.r3)(e.current?e.current[0]:void 0)):null);(0,n.b)(()=>{let n=e.current,l=(0,i.r3)(n?n[0]:void 0);if(!t||r)return;let u=()=>{(!N||_(N,e))&&T((0,o.vY)(l),e.current)&&(N=e)};return l.addEventListener("focusin",u,!1),null==n||n.forEach(e=>e.addEventListener("focusin",u,!1)),()=>{l.removeEventListener("focusin",u,!1),null==n||n.forEach(e=>e.removeEventListener("focusin",u,!1))}},[e,r]),(0,n.b)(()=>{let n=(0,i.r3)(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!b(e)||t.isComposing)return;let r=n.activeElement;if(!m(r,e)||!S(e))return;let o=x.getTreeNode(e);if(!o)return;let i=o.nodeToRestore,l=C(n.body,{tabbable:!0});l.currentNode=r;let u=t.shiftKey?l.previousNode():l.nextNode();if(i&&i.isConnected&&i!==n.body||(i=void 0,o.nodeToRestore=void 0),(!u||!m(u,e))&&i){l.currentNode=i;do u=t.shiftKey?l.previousNode():l.nextNode();while(m(u,e));(t.preventDefault(),t.stopPropagation(),u)?g(u,!0):m(i)?g(i,!0):r.blur()}};return r||n.addEventListener("keydown",o,!0),()=>{r||n.removeEventListener("keydown",o,!0)}},[e,t,r]),(0,n.b)(()=>{var r;let n=(0,i.r3)(e.current?e.current[0]:void 0);if(!t)return;let u=x.getTreeNode(e);if(u)return u.nodeToRestore=null!==(r=l.current)&&void 0!==r?r:void 0,()=>{let r=x.getTreeNode(e);if(!r)return;let i=r.nodeToRestore,l=(0,o.vY)(n);if(t&&i&&(l&&m(l,e)||l===n.body&&S(e))){let t=x.clone();requestAnimationFrame(()=>{if(n.activeElement===n.body){let r=t.getTreeNode(e);for(;r;){if(r.nodeToRestore&&r.nodeToRestore.isConnected){y(r.nodeToRestore);return}r=r.parent}for(r=t.getTreeNode(e);r;){if(r.scopeRef&&r.scopeRef.current&&x.getTreeNode(r.scopeRef)){y(w(r.scopeRef.current,!0));return}r=r.parent}}})}}},[e,t])}(L,s,c),function(e,t){let r=f.useRef(t);(0,f.useEffect)(()=>{if(r.current){N=e;let t=(0,i.r3)(e.current?e.current[0]:void 0);!T((0,o.vY)(t),N.current)&&e.current&&k(e.current)}r.current=!1},[e])}(L,a),(0,f.useEffect)(()=>{let e=(0,o.vY)((0,i.r3)(L.current?L.current[0]:void 0)),t=null;if(T(e,L.current)){for(let r of x.traverse())r.scopeRef&&T(e,r.scopeRef.current)&&(t=r);t===x.getTreeNode(L)&&(N=t.scopeRef)}},[L]),(0,n.b)(()=>()=>{var e,t,r;let n=null!==(r=null===(t=x.getTreeNode(L))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==r?r:null;(L===N||_(L,N))&&(!n||x.getTreeNode(n))&&(N=n),x.removeTreeNode(L)},[L]);let A=(0,f.useMemo)(()=>({focusNext(e={}){var t;let r=L.current,{from:n,tabbable:l,wrap:u,accept:c}=e,s=n||(0,o.vY)((0,i.r3)(null!==(t=r[0])&&void 0!==t?t:void 0)),d=r[0].previousElementSibling,a=C(E(r),{tabbable:l,accept:c},r);a.currentNode=T(s,r)?s:d;let f=a.nextNode();return!f&&u&&(a.currentNode=d,f=a.nextNode()),f&&g(f,!0),f},focusPrevious(e={}){var t;let r=L.current,{from:n,tabbable:l,wrap:u,accept:c}=e,s=n||(0,o.vY)((0,i.r3)(null!==(t=r[0])&&void 0!==t?t:void 0)),d=r[r.length-1].nextElementSibling,a=C(E(r),{tabbable:l,accept:c},r);a.currentNode=T(s,r)?s:d;let f=a.previousNode();return!f&&u&&(a.currentNode=d,f=a.previousNode()),f&&g(f,!0),f},focusFirst(e={}){let t=L.current,{tabbable:r,accept:n}=e,o=C(E(t),{tabbable:r,accept:n},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&g(i,!0),i},focusLast(e={}){let t=L.current,{tabbable:r,accept:n}=e,o=C(E(t),{tabbable:r,accept:n},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&g(i,!0),i}}),[]),K=(0,f.useMemo)(()=>({focusManager:A,parentNode:I}),[I,A]);return f.createElement(h.Provider,{value:K},f.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:p}),u,f.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:R}))}function E(e){return e[0].parentElement}function b(e){let t=x.getTreeNode(N);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function T(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function m(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of x.traverse(x.getTreeNode(t)))if(r&&T(e,r.current))return!0;return!1}function R(e){return m(e,N)}function _(e,t){var r;let n=null===(r=x.getTreeNode(t))||void 0===r?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function g(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,a.e)(e)}catch{}}function w(e,t=!0){let r=e[0].previousElementSibling,n=E(e),o=C(n,{tabbable:t},e);o.currentNode=r;let i=o.nextNode();return t&&!i&&((o=C(n=E(e),{tabbable:!1},e)).currentNode=r,i=o.nextNode()),i}function k(e,t=!0){g(w(e,t))}function S(e){let t=x.getTreeNode(N);for(;t&&t.scopeRef!==e;
1){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function y(e){e.dispatchEvent(new CustomEvent(v,{bubbles:!0,cancelable:!0}))&&g(e)}function C(e,t,r){var n,o,l;let d=(null==t?void 0:t.tabbable)?u.W:u.E,a=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,f=(0,i.r3)(a),h=(n=e||f,o=NodeFilter.SHOW_ELEMENT,l={acceptNode(e){var n;return(null==t?void 0:null===(n=t.from)||void 0===n?void 0:n.contains(e))||(null==t?void 0:t.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=[];if(e.form){var r,n;let o=null===(n=e.form)||void 0===n?void 0:null===(r=n.elements)||void 0===r?void 0:r.namedItem(e.name);t=[...null!=o?o:[]]}else t=[...(0,i.r3)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!t&&!t.some(e=>e.checked)}(e)||"INPUT"===h.currentNode.tagName&&"radio"===h.currentNode.type&&h.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:d(e)&&(!r||T(e,r))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}},(0,c.Wr)()?new s(f,n,o,l):f.createTreeWalker(n,o,l));return(null==t?void 0:t.from)&&(h.currentNode=t.from),h}class L{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let o=new F({scopeRef:e});n.addChild(o),o.parent=n,this.fastMap.set(e,o),r&&(o.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&T(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;r&&(r.removeChild(t),n.size>0&&n.forEach(e=>r&&r.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 r=new L;for(let n of this.traverse())r.addTreeNode(n.scopeRef,null!==(t=null===(e=n.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,n.nodeToRestore);return r}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 L},99373:function(e,t,r){r.d(t,{z:function(){return o}});var n=r(67294);function o(e,t,r){let[o,i]=(0,n.useState)(e||t),l=(0,n.useRef)(void 0!==e),u=void 0!==e;(0,n.useEffect)(()=>{l.current,l.current=u},[u]);let c=u?e:o,s=(0,n.useCallback)((e,...t)=>{let n=(e,...t)=>{r&&!Object.is(c,e)&&r(e,...t),u||(c=e)};"function"==typeof e?i((r,...o)=>{let i=e(u?c:r,...o);return(n(i,...t),u)?r:i}):(u||i(e),n(e,...t))},[u,c,r]);return[c,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.