1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5687],{75687:function(n,e,t){t.d(e,{ZP:function(){return nQ}});var r,o,u,i,c=t(74610),a=t(1119),f=t(2265),d="data-focus-lock",l="data-focus-lock-disabled";function s(n,e){return"function"==typeof n?n(e):n&&(n.current=e),n}var v=new WeakMap,m={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},p=t(5853);function b(n){return n}function h(n,e){void 0===e&&(e=b);var t=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:n},useMedium:function(n){var o=e(n,r);return t.push(o),function(){t=t.filter(function(n){return n!==o})}},assignSyncMedium:function(n){for(r=!0;t.length;){var e=t;t=[],e.forEach(n)}t={push:function(e){return n(e)},filter:function(){return t}}},assignMedium:function(n){r=!0;var e=[];if(t.length){var o=t;t=[],o.forEach(n),e=t}var u=function(){var t=e;e=[],t.forEach(n)},i=function(){return Promise.resolve().then(u)};i(),t={push:function(n){e.push(n),i()},filter:function(n){return e=e.filter(n),t}}}}}function y(n,e){return void 0===e&&(e=b),h(n,e)}var g=y({},function(n){return{target:n.target,currentTarget:n.currentTarget}}),E=y(),w=y(),x=(r={async:!0,ssr:"undefined"!=typeof document},(o=h(null)).options=(0,p.pi)({async:!0,ssr:!1},r),o),N=(0,f.createContext)(void 0),O=[],S=f.forwardRef(function(n,e){var t,r,o,u,i,c=f.useState(),p=c[0],b=c[1],h=f.useRef(),y=f.useRef(!1),w=f.useRef(null),S=f.useState({})[1],M=n.children,T=n.disabled,k=void 0!==T&&T,I=n.noFocusGuards,F=void 0!==I&&I,A=n.persistentFocus,C=n.crossFrame,D=n.autoFocus,P=(n.allowTextSelection,n.group),L=n.className,Z=n.whiteList,R=n.hasPositiveIndices,_=n.shards,j=void 0===_?O:_,U=n.as,W=n.lockProps,B=n.sideCar,G=n.returnFocus,q=void 0!==G&&G,H=n.focusOptions,V=n.onActivation,K=n.onDeactivation,Y=f.useState({})[0],z=f.useCallback(function(n){var e=n.captureFocusRestore;if(!w.current){var t,r=null==(t=document)?void 0:t.activeElement;w.current=r,r!==document.body&&(w.current=e(r))}h.current&&V&&V(h.current),y.current=!0,S()},[V]),J=f.useCallback(function(){y.current=!1,K&&K(h.current),S()},[K]),Q=f.useCallback(function(n){var e=w.current;if(e){var t=("function"==typeof e?e():e)||document.body,r="function"==typeof q?q(t):q;if(r){var o="object"==typeof r?r:void 0;w.current=null,n?Promise.resolve().then(function(){return t.focus(o)}):t.focus(o)}}},[q]),X=f.useCallback(function(n){y.current&&g.useMedium(n)},[]),$=E.useMedium,nn=f.useCallback(function(n){h.current!==n&&(h.current=n,b(n))},[]),ne=(0,a.Z)(((i={})[l]=k&&"disabled",i[d]=P,i),void 0===W?{}:W),nt=!0!==F,nr=nt&&"tail"!==F,no=(t=[e,nn],r=function(n){return t.forEach(function(e){return s(e,n)})},(o=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var n=o.value;n!==value&&(o.value=value,o.callback(value,n))}}}})[0]).callback=r,u=o.facade,f.useLayoutEffect(function(){var n=v.get(u);if(n){var e=new Set(n),r=new Set(t),o=u.current;e.forEach(function(n){r.has(n)||s(n,null)}),r.forEach(function(n){e.has(n)||s(n,o)})}v.set(u,t)},[t]),u),nu=f.useMemo(function(){return{observed:h,shards:j,enabled:!k,active:y.current}},[k,y.current,j,p]);return f.createElement(f.Fragment,null,nt&&[f.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:k?-1:0,style:m}),R?f.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:k?-1:1,style:m}):null],!k&&f.createElement(B,{id:Y,sideCar:x,observed:p,disabled:k,persistentFocus:void 0!==A&&A,crossFrame:void 0===C||C,autoFocus:void 0===D||D,whiteList:Z,shards:j,onActivation:z,onDeactivation:J,returnFocus:Q,focusOptions:H}),f.createElement(void 0===U?"div":U,(0,a.Z)({ref:no},ne,{className:L,onBlur:$,onFocus:X}),f.createElement(N.Provider,{value:nu},M)),nr&&f.createElement("div",{"data-focus-guard":!0,tabIndex:k?-1:0,style:m}))});S.propTypes={};var M=t(33707),T=t(11993),k=function(n){for(var e=Array(n.length),t=0;t<n.length;++t)e[t]=n[t];return e},I=function(n){return Array.isArray(n)?n:[n]},F=function(n){return Array.isArray(n)?n[0]:n},A=function(n){if(n.nodeType!==Node.ELEMENT_NODE)return!1;var e=window.getComputedStyle(n,null);return!!e&&!!e.getPropertyValue&&("none"===e.getPropertyValue("display")||"hidden"===e.getPropertyValue("visibility"))},C=function(n){return n.parentNode&&n.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?n.parentNode.host:n.parentNode},D=function(n){return n===document||n&&n.nodeType===Node.DOCUMENT_NODE},P=function(n,e){var t,r=n.get(e);if(void 0!==r)return r;var o=(t=P.bind(void 0,n),!e||D(e)||!A(e)&&!e.hasAttribute("inert")&&t(C(e)));return n.set(e,o),o},L=function(n,e){var t,r=n.get(e);if(void 0!==r)return r;var o=(t=L.bind(void 0,n),!e||!!D(e)||!!j(e)&&t(C(e)));return n.set(e,o),o},Z=function(n){return n.dataset},R=function(n){return"INPUT"===n.tagName},_=function(n){return R(n)&&"radio"===n.type},j=function(n){return![!0,"true",""].includes(n.getAttribute("data-no-autofocus"))},U=function(n){var e;return!!(n&&(null===(e=Z(n))||void 0===e?void 0:e.focusGuard))},W=function(n){return!U(n)},B=function(n){return!!n},G=function(n,e){var t=Math.max(0,n.tabIndex),r=Math.max(0,e.tabIndex),o=t-r,u=n.index-e.index;if(o){if(!t)return 1;if(!r)return -1}return o||u},q=function(n,e,t){return k(n).map(function(n,e){var r=n.tabIndex<0&&!n.hasAttribute("tabindex")?0:n.tabIndex;return{node:n,index:e,tabIndex:t&&-1===r?(n.dataset||{}).focusGuard?0:-1:r}}).filter(function(n){return!e||n.tabIndex>=0}).sort(G)},H="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",V="".concat(H,", [data-focus-guard]"),K=function(n,e){return k((n.shadowRoot||n).children).reduce(function(n,t){return n.concat(t.matches(e?V:H)?[t]:[],K(t))},[])},Y=function(n,e){var t;return n instanceof HTMLIFrameElement&&(null===(t=n.contentDocument)||void 0===t?void 0:t.body)?z([n.contentDocument.body],e):[n]},z=function(n,e){return n.reduce(function(n,t){var r,o=K(t,e),u=(r=[]).concat.apply(r,o.map(function(n){return Y(n,e)}));return n.concat(u,t.parentNode?k(t.parentNode.querySelectorAll(H)).filter(function(n){return n===t}):[])},[])},J=function(n,e){return k(n).filter(function(n){return P(e,n)}).filter(function(n){return!((R(n)||"BUTTON"===n.tagName)&&("hidden"===n.type||n.disabled))})},Q=function(n,e){return void 0===e&&(e=new Map),k(n).filter(function(n){return L(e,n)})},X=function(n,e,t){return q(J(z(n,t),e),!0,t)},$=function(n,e){return q(J(z(n),e),!1)},nn=function(n,e){return n.shadowRoot?nn(n.shadowRoot,e):!!(void 0!==Object.getPrototypeOf(n).contains&&Object.getPrototypeOf(n).contains.call(n,e))||k(n.children).some(function(n){var t;if(n instanceof HTMLIFrameElement){var r=null===(t=n.contentDocument)||void 0===t?void 0:t.body;return!!r&&nn(r,e)}return nn(n,e)})},ne=function(n){try{return n()}catch(n){return}},nt=function(n){if(void 0===n&&(n=document),n&&n.activeElement){var e=n.activeElement;return e.shadowRoot?nt(e.shadowRoot):e instanceof HTMLIFrameElement&&ne(function(){return e.contentWindow.document})?nt(e.contentWindow.document):e}},nr=function(n){void 0===n&&(n=document);var e=nt(n);return!!e&&k(n.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(n){return nn(n,e)})},no=function(n){for(var e=new Set,t=n.length,r=0;r<t;r+=1)for(var o=r+1;o<t;o+=1){var u=n[r].compareDocumentPosition(n[o]);(u&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&e.add(o),(u&Node.DOCUMENT_POSITION_CONTAINS)>0&&e.add(r)}return n.filter(function(n,t){return!e.has(t)})},nu=function(n){return n.parentNode?nu(n.parentNode):n}
1,ni=function(n){return I(n).filter(Boolean).reduce(function(n,e){var t=e.getAttribute(d);return n.push.apply(n,t?no(k(nu(e).querySelectorAll("[".concat(d,'="').concat(t,'"]:not([').concat(l,'="disabled"])')))):[e]),n},[])},nc=function(n,e){return void 0===e&&(e=nt(F(n).ownerDocument)),!!e&&(!e.dataset||!e.dataset.focusGuard)&&ni(n).some(function(n){var t;return nn(n,e)||(t=e,!!k(n.querySelectorAll("iframe")).some(function(n){return n===t}))})},na=function(n,e){n&&("focus"in n&&n.focus(e),"contentWindow"in n&&n.contentWindow&&n.contentWindow.focus())},nf=function(n,e){return _(n)&&n.name&&e.filter(_).filter(function(e){return e.name===n.name}).filter(function(n){return n.checked})[0]||n},nd=function(n){var e=new Set;return n.forEach(function(t){return e.add(nf(t,n))}),n.filter(function(n){return e.has(n)})},nl=function(n){return n[0]&&n.length>1?nf(n[0],n):n[0]},ns=function(n,e){return n.indexOf(nf(e,n))},nv="NEW_FOCUS",nm=function(n,e,t,r,o){var u=n.length,i=n[0],c=n[u-1],a=U(r);if(!(r&&n.indexOf(r)>=0)){var f=void 0!==r?t.indexOf(r):-1,d=o?t.indexOf(o):f,l=o?n.indexOf(o):-1;if(-1===f)return -1!==l?l:nv;if(-1===l)return nv;var s=f-d,v=t.indexOf(i),m=t.indexOf(c),p=nd(t),b=(void 0!==r?p.indexOf(r):-1)-(o?p.indexOf(o):f);if(!s&&l>=0||0===e.length)return l;var h=ns(n,e[0]),y=ns(n,e[e.length-1]);if(f<=v&&a&&Math.abs(s)>1)return y;if(f>=m&&a&&Math.abs(s)>1)return h;if(s&&Math.abs(b)>1)return l;if(f<=v)return y;if(f>m)return h;if(s)return Math.abs(s)>1?l:(u+l+s)%u}},np=function(n,e,t){var r=Q(n.map(function(n){return n.node}).filter(function(n){var e,r=null===(e=Z(n))||void 0===e?void 0:e.autofocus;return n.autofocus||void 0!==r&&"false"!==r||t.indexOf(n)>=0}));return r&&r.length?nl(r):nl(Q(e))},nb=function(n,e){return void 0===e&&(e=[]),e.push(n),n.parentNode&&nb(n.parentNode.host||n.parentNode,e),e},nh=function(n,e){for(var t=nb(n),r=nb(e),o=0;o<t.length;o+=1){var u=t[o];if(r.indexOf(u)>=0)return u}return!1},ny=function(n,e,t){var r=I(n),o=I(e),u=r[0],i=!1;
1return o.filter(Boolean).forEach(function(n){i=nh(i||n,n)||i,t.filter(Boolean).forEach(function(n){var e=nh(u,n);e&&(i=!i||nn(e,i)?e:nh(e,i))})}),i},ng=function(n,e){return n.reduce(function(n,t){return n.concat(J(k(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(n){return z([n])}).reduce(function(n,e){return n.concat(e)},[]),e))},[])},nE=function(n,e){var t=new Map;return e.forEach(function(n){return t.set(n.node,n)}),n.map(function(n){return t.get(n)}).filter(B)},nw=function(n,e){var t=nt(I(n).length>0?document:F(n).ownerDocument),r=ni(n).filter(W),o=ny(t||n,n,r),u=new Map,i=$(r,u),c=i.filter(function(n){return W(n.node)});if(c[0]){var a=$([o],u).map(function(n){return n.node}),f=nE(a,c),d=f.map(function(n){return n.node}),l=f.filter(function(n){return n.tabIndex>=0}).map(function(n){return n.node}),s=nm(d,l,a,t,e);if(s===nv){var v=np(i,l,ng(r,u))||np(i,d,ng(r,u));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===s?s:f[s]}},nx=0,nN=!1,nO=function(n,e,t){void 0===t&&(t={});var r=nw(n,e);if(!nN&&r){if(nx>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),nN=!0,setTimeout(function(){nN=!1},1);return}nx++,na(r.node,t.focusOptions),nx--}},nS=function(n){var e=ni(n).filter(W),t=q(z([ny(n,n,e)],!0),!0,!0),r=z(e,!1);return t.map(function(n){var e=n.node;return{node:e,index:n.index,lockItem:r.indexOf(e)>=0,guard:U(e)}})},nM=function(n,e,t){if(!n||!e)return console.error("no element or scope given"),{};var r=I(e);if(r.every(function(e){return!nn(e,n)}))return console.error("Active element is not contained in the scope"),{};var o=t?X(r,new Map):$(r,new Map),u=o.findIndex(function(e){return e.node===n});if(-1!==u)return{prev:o[u-1],next:o[u+1],first:o[0],last:o[o.length-1]}},nT=function(n,e){var t=e?X(I(n),new Map):$(I(n),new Map);return{first:t[0],last:t[t.length-1]}},nk=function(n,e,t){void 0===e&&(e={});var r,o=(r=e,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),u=nM(n,o.scope,o.onlyTabbable);if(u){var i=t(u,o.cycle);i&&na(i.node,o.focusOptions)}},nI=function(n,e,t){var r,o=nT(n,null===(r=e.onlyTabbable)||void 0===r||r)[t];o&&na(o.node,e.focusOptions)};function nF(n){if(!n)return null;var e=n?new WeakRef(n):null;return function(){return(null==e?void 0:e.deref())||null}}var nA=function(n){if(!n)return null;for(var e=[],t=n;t&&t!==document.body;)e.push({current:nF(t),parent:nF(t.parentElement),left:nF(t.previousElementSibling),right:nF(t.nextElementSibling)}),t=t.parentElement;return{element:nF(n),stack:e,ownerDocument:n.ownerDocument}},nC=function(n){if(n)for(var e,t,r,o,u,i=n.stack,c=n.ownerDocument,a=new Map,f=0;f<i.length;f++){var d=i[f],l=null===(e=d.parent)||void 0===e?void 0:e.call(d);if(l&&c.contains(l)){for(var s=null===(t=d.left)||void 0===t?void 0:t.call(d),v=d.current(),m=l.contains(v)?v:void 0,p=null===(r=d.right)||void 0===r?void 0:r.call(d),b=X([l],a),h=null!==(u=null!==(o=null!=m?m:null==s?void 0:s.nextElementSibling)&&void 0!==o?o:p)&&void 0!==u?u:s;h;){for(var y=0;y<b.length;y++){var g=b[y];if(null==h?void 0:h.contains(g.node))return g.node}h=h.nextElementSibling}if(b.length)return b[0].node}}};function nD(n){setTimeout(n,1)}var nP=function(n){return n&&"current"in n?n.current:n},nL=null,nZ=null,nR=null,n_=!1,nj=function(n,e){nR={observerNode:n,portaledElement:e}};function nU(n,e,t,r){var o=null,u=n;do{var i=r[u];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(u!==n)return;o=null}else break}while((u+=t)!==e);o&&(o.node.tabIndex=0)}var nW=function(){var n=!1;if(nL){var e=nL,t=e.observed,r=e.persistentFocus,o=e.autoFocus,u=e.shards,i=e.crossFrame,c=e.focusOptions,a=t||nR&&nR.portaledElement,f=document&&document.activeElement;if(a){var d=[a].concat(u.map(nP).filter(Boolean));if((!f||(nL.whiteList||function(){return!0})(f))&&(r||(i?!!n_:"meanwhile"===n_)||!(document&&document.activeElement===document.body||nr())||!nZ&&o)&&(a&&!(nc(d)||f&&d.some(function(n){return function n(e,t,r){return t&&(t.host===e&&(!t.activeElement||r.contains(t.activeElement))||t.parentNode&&n(e,t.parentNode,r))}(f,n,n)}
1)||nR&&nR.portaledElement===f)&&(document&&!nZ&&f&&!o?(f.blur&&f.blur(),document.body.focus()):(n=nO(d,nZ,{focusOptions:c}),nR={})),n_=!1,nZ=document&&document.activeElement),document&&f!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var l=document&&document.activeElement,s=nS(d),v=s.map(function(n){return n.node}).indexOf(l);v>-1&&(s.filter(function(n){var e=n.guard,t=n.node;return e&&t.dataset.focusAutoGuard}).forEach(function(n){return n.node.removeAttribute("tabIndex")}),nU(v,s.length,1,s),nU(v,-1,-1,s))}}}return n},nB=function(n){nW()&&n&&(n.stopPropagation(),n.preventDefault())},nG=function(){return nD(nW)},nq=function(){n_="just",nD(function(){n_="meanwhile"})},nH=function(){document.addEventListener("focusin",nB),document.addEventListener("focusout",nG),window.addEventListener("blur",nq)},nV=function(){document.removeEventListener("focusin",nB),document.removeEventListener("focusout",nG),window.removeEventListener("blur",nq)},nK={moveFocusInside:nO,focusInside:nc,focusNextElement:function(n,e){void 0===e&&(e={}),nk(n,e,function(n,e){var t=n.next,r=n.first;return t||e&&r})},focusPrevElement:function(n,e){void 0===e&&(e={}),nk(n,e,function(n,e){var t=n.prev,r=n.last;return t||e&&r})},focusFirstElement:function(n,e){void 0===e&&(e={}),nI(n,e,"first")},focusLastElement:function(n,e){void 0===e&&(e={}),nI(n,e,"last")},captureFocusRestore:function(n){var e=nA(n);return function(){return nC(e)}}};g.assignSyncMedium(function(n){var e=n.target,t=n.currentTarget;t.contains(e)||nj(t,e)}),E.assignMedium(nG),w.assignMedium(function(n){return n(nK)});var nY=(u=function(n){return n.filter(function(n){return!n.disabled})},i=function(n){var e=n.slice(-1)[0];e&&!nL&&nH();var t=nL,r=t&&e&&e.id===t.id;nL=e,!t||r||(t.onDeactivation(),n.filter(function(n){return n.id===t.id}).length||t.returnFocus(!e)),e?(nZ=null,r&&t.observed===e.observed||e.onActivation(nK),nW(!0),nD(nW)):(nV(),nZ=null)},function(n){var e,t=[];function r(){i(e=u(t.map(function(n){return n.props})))}var o=function(o){function u(){return o.apply(this,arguments)||this}(0,M.Z)(u,o),u.peek=function(){return e};var i=u.prototype;return i.componentDidMount=function(){t.push(this),r()},i.componentDidUpdate=function(){r()},i.componentWillUnmount=function(){var n=t.indexOf(this);t.splice(n,1),r()},i.render=function(){return f.createElement(n,this.props)},u}(f.PureComponent);return(0,T.Z)(o,"displayName","SideEffect("+(n.displayName||n.name||"Component")+")"),o})(function(){return null}),nz=f.forwardRef(function(n,e){return f.createElement(S,(0,a.Z)({sideCar:nY,ref:e},n))}),nJ=S.propTypes||{};nJ.sideCar,(0,c.Z)(nJ,["sideCar"]),nz.propTypes={};var nQ=nz},11993:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(73882);function o(n,e,t){return(e=(0,r.Z)(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}},74610:function(n,e,t){t.d(e,{Z:function(){return r}});function r(n,e){if(null==n)return{};var t,r,o={},u=Object.keys(n);for(r=0;r<u.length;r++)t=u[r],e.indexOf(t)>=0||(o[t]=n[t]);return o}},73882:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(41154);function o(n){var e=function(n,e){if("object"!=(0,r.Z)(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var o=t.call(n,e||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==(0,r.Z)(e)?e:String(e)}},41154:function(n,e,t){t.d(e,{Z:function(){return r}});function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}}}]);
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.