"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1695],{5589:(e,t,n)=>{n.d(t,{Ng:()=>i,TW:()=>o,mD:()=>r});let o=e=>e?.ownerDocument??document,r=e=>e&&"window"in e&&e.window===e?e:o(e).defaultView||window;function i(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},20406:(e,t,n)=>{n.d(t,{bq:()=>u,sD:()=>i,wt:()=>l});var o=n(5589),r=n(34540);function i(e,t){if(!(0,r.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:(0,o.Ng)(n)?n.host:n.parentNode}return!1}let u=(e=document)=>{if(!(0,r.Nf)())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function l(e){if((0,r.Nf)()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;else if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}},21357:(e,t,n)=>{n.d(t,{Cl:()=>N,K7:()=>C,ME:()=>M,pP:()=>k});var o=n(20406),r=n(5589),i=n(70261),u=n(80875),l=n(24605),a=n(41902),d=n(12115);let c=null,s=new Set,f=new Map,p=!1,m=!1,v={Tab:!0,Escape:!0};function y(e,t){for(let n of s)n(e,t)}function E(e){p=!0,a.Fe.isOpening||e.metaKey||!(0,u.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(c="keyboard",y("keyboard",e))}function b(e){c="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(p=!0,y("pointer",e))}function w(e){!a.Fe.isOpening&&(0,l.Y)(e)&&(p=!0,c="virtual")}function h(e){let t=(0,r.mD)((0,o.wt)(e)),n=(0,r.TW)((0,o.wt)(e));(0,o.wt)(e)!==t&&(0,o.wt)(e)!==n&&!i.lR&&e.isTrusted&&(p||m||(c="virtual",y("virtual",e)),p=!1,m=!1)}function L(){i.lR||(p=!1,m=!0)}function g(e){if("undefined"==typeof window||"undefined"==typeof document)return;let t=(0,r.mD)(e),n=(0,r.TW)(e);if(f.get(t))return;let o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){p=!0,o.apply(this,arguments)},n.addEventListener("keydown",E,!0),n.addEventListener("keyup",E,!0),n.addEventListener("click",w,!0),t.addEventListener("focus",h,!0),t.addEventListener("blur",L,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",b,!0),n.addEventListener("pointermove",b,!0),n.addEventListener("pointerup",b,!0)),t.addEventListener("beforeunload",()=>{T(e)},{once:!0}),f.set(t,{focus:o})}let T=(e,t)=>{let n=(0,r.mD)(e),o=(0,r.TW)(e);t&&o.removeEventListener("DOMContentLoaded",t),f.has(n)&&(n.HTMLElement.prototype.focus=f.get(n).focus,o.removeEventListener("keydown",E,!0),o.removeEventListener("keyup",E,!0),o.removeEventListener("click",w,!0),n.removeEventListener("focus",h,!0),n.removeEventListener("blur",L,!1),"undefined"!=typeof PointerEvent&&(o.removeEventListener("pointerdown",b,!0),o.removeEventListener("pointermove",b,!0),o.removeEventListener("pointerup",b,!0)),f.delete(n))};function k(){return"pointer"!==c}function M(){return c}function N(e){c=e,y(e,null)}"undefined"!=typeof document&&function(e){let t,n=(0,r.TW)(void 0);"loading"!==n.readyState?g(void 0):(t=()=>{g(e)},n.addEventListener("DOMContentLoaded",t)),()=>T(e,t)}();let A=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function C(e,t,n){g(),(0,d.useEffect)(()=>{if(n?.enabled===!1)return;let t=(t,i)=>{(function(e,t,n){let i=n?(0,o.wt)(n):void 0,u=(0,r.TW)(i),l=(0,r.mD)(i),a=void 0!==l?l.HTMLInputElement:HTMLInputElement,d=void 0!==l?l.HTMLTextAreaElement:HTMLTextAreaElement,c=void 0!==l?l.HTMLElement:HTMLElement,s=void 0!==l?l.KeyboardEvent:KeyboardEvent,f=(0,o.bq)(u);return!((e=e||f instanceof a&&!A.has(f.type)||f instanceof d||f instanceof c&&f.isContentEditable)&&"keyboard"===t&&n instanceof s&&!v[n.key])})(!!n?.isTextInput,t,i)&&e(k())};return s.add(t),()=>{s.delete(t)}},t)}},24096:(e,t,n)=>{n.d(t,{N:()=>r});var o=n(12115);let r="undefined"!=typeof document?o.useLayoutEffect:()=>{}},24605:(e,t,n)=>{n.d(t,{P:()=>i,Y:()=>r});var o=n(80875);function r(e){return""===e.pointerType&&!!e.isTrusted||((0,o.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,o.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},37269:(e,t,n)=>{n.d(t,{P:()=>u});var o,r=n(12115);let i="undefined"!=typeof document?null!=(o=r.useInsertionEffect)?o:r.useLayoutEffect:()=>{};function u(e,t,n){let[o,u]=(0,r.useState)(e||t),l=(0,r.useRef)(o),a=(0,r.useRef)(void 0!==e),d=void 0!==e;(0,r.useEffect)(()=>{a.current,a.current=d},[d]);let c=d?e:o;i(()=>{l.current=c});let[,s]=(0,r.useReducer)(()=>({}),{});return[c,(0,r.useCallback)((e,...t)=>{let o="function"==typeof e?e(l.current):e;Object.is(l.current,o)||(l.current=o,u(o),s(),null==n||n(o,...t))},[n])]}},40477:(e,t,n)=>{function o(e){if(function(){if(null==r){r=!1;try{document.createElement("div").focus({get preventScroll(){return r=!0,!0}})}catch{}}return r}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],o=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==o;)(t.offsetHeighto});let r=null},41511:(e,t,n)=>{n.d(t,{c:()=>o});function o(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}},41902:(e,t,n)=>{n.d(t,{Fe:()=>i});var o=n(40477),r=n(80875);function i(e,t,n=!0){let{metaKey:u,ctrlKey:l,altKey:a,shiftKey:d}=t;(0,r.gm)()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&((0,r.cX)()?u=!0:l=!0);let c=(0,r.Tc)()&&(0,r.cX)()&&!(0,r.bh)()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:u,ctrlKey:l,altKey:a,shiftKey:d}):new MouseEvent("click",{metaKey:u,ctrlKey:l,altKey:a,shiftKey:d,detail:1,bubbles:!0,cancelable:!0});i.isOpening=n,(0,o.e)(e),e.dispatchEvent(c),i.isOpening=!1}n(12115),i.isOpening=!1},49419:(e,t,n)=>{n.d(t,{i:()=>l});var o=n(20406),r=n(5589),i=n(70261),u=n(12115);function l(e){let{isDisabled:t,onFocus:n,onBlur:l,onFocusChange:a}=e,d=(0,u.useCallback)(e=>{if((0,o.wt)(e)===e.currentTarget)return l&&l(e),a&&a(!1),!0},[l,a]),c=(0,i.yB)(d),s=(0,u.useCallback)(e=>{let t=(0,o.wt)(e),i=(0,r.TW)(t),u=i?(0,o.bq)(i):(0,o.bq)();t===e.currentTarget&&t===u&&(n&&n(e),a&&a(!0),c(e))},[a,n,c]);return{focusProps:{onFocus:!t&&(n||a||l)?s:void 0,onBlur:!t&&(l||a)?d:void 0}}}},64544:(e,t,n)=>{n.d(t,{l:()=>a});var o=n(40477),r=n(20406),i=n(21357),u=n(5589),l=n(66576);function a(e){if(!e.isConnected)return;let t=(0,u.TW)(e);if("virtual"===(0,i.ME)()){let n=(0,r.bq)(t);(0,l.v)(()=>{