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