1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8817],{66653:(e,t,n)=>{n.d(t,{It:()=>F,Mk:()=>C,T3:()=>k,bv:()=>B,ck:()=>T,iQ:()=>Y,s9:()=>D,we:()=>W});var r,o=n(95347),u=n(78384),l=n(51078);n(80674);var i=n(11339);let c={...r||(r=n.t(o,2))},s=c.useInsertionEffect||(e=>e());function a(e){let t=o.useRef(()=>{});return s(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var f="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;let d=!1,v=0,m=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+v++,E=c.useId||function(){let[e,t]=o.useState(()=>d?m():void 0);return f(()=>{null==e&&t(m())},[]),o.useEffect(()=>{d=!0},[]),e},p=o.createContext(null),g=o.createContext(null),b=()=>{var e;return(null==(e=o.useContext(p))?void 0:e.id)||null},R=()=>o.useContext(g);function y(e){return"data-floating-ui-"+e}function h(e){let t=(0,o.useRef)(e);return f(()=>{t.current=e}),t}let w=y("safe-polygon");function x(e,t,n){return n&&!(0,u.Go)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function C(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,events:c,elements:s}=e,{enabled:d=!0,delay:v=0,handleClose:m=null,mouseOnly:E=!1,restMs:p=0,move:g=!0}=t,y=R(),C=b(),L=h(m),M=h(v),k=h(n),T=o.useRef(),P=o.useRef(-1),I=o.useRef(),q=o.useRef(-1),_=o.useRef(!0),D=o.useRef(!1),W=o.useRef(()=>{}),Y=o.useRef(!1),S=o.useCallback(()=>{var e;let t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);o.useEffect(()=>{if(d)return c.on("openchange",e),()=>{c.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(P.current),clearTimeout(q.current),_.current=!0,Y.current=!1)}},[d,c]),o.useEffect(()=>{if(!d||!L.current||!n)return;function e(e){S()&&r(!1,e,"hover")}let t=(0,u.YE)(s.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[s.floating,n,r,d,L,S]);let A=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let o=x(M.current,"close",T.current);o&&!I.current?(clearTimeout(P.current),P.current=window.setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(P.current),r(!1,e,n))},[M,r]),K=a(()=>{W.current(),I.current=void 0}),B=a(()=>{if(D.current){let e=(0,u.YE)(s.floating).body;e.style.pointerEvents="",e.removeAttribute(w),D.current=!1}}),X=a(()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type));o.useEffect(()=>{if(d&&(0,l.vq)(s.domReference)){var e;let r=s.domReference;return n&&r.addEventListener("mouseleave",c),null==(e=s.floating)||e.addEventListener("mouseleave",c),g&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",o),()=>{var e;n&&r.removeEventListener("mouseleave",c),null==(e=s.floating)||e.removeEventListener("mouseleave",c),g&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",o)}}function t(e){if(clearTimeout(P.current),_.current=!1,E&&!(0,u.Go)(T.current)||p>0&&!x(M.current,"open"))return;let t=x(M.current,"open",T.current);t?P.current=window.setTimeout(()=>{k.current||r(!0,e,"hover")},t):n||r(!0,e,"hover")}function o(e){if(X())return;W.current();let t=(0,u.YE)(s.floating);if(clearTimeout(q.current),Y.current=!1,L.current&&i.current.floatingContext){n||clearTimeout(P.current),I.current=L.current({...i.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){B(),K(),X()||A(e,!0,"safe-polygon")}});let r=I.current;t.addEventListener("mousemove",r),W.current=()=>{t.removeEventListener("mousemove",r)};return}"touch"===T.current&&(0,u.gR)(s.floating,e.relatedTarget)||A(e)}function c(e){!X()&&i.current.floatingContext&&(null==L.current||L.current({...i.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){B(),K(),X()||A(e)}})(e))}},[s,d,e,E,p,g,A,K,B,r,n,k,y,M,L,i,X]),f(()=>{var e,t;if(d&&n&&null!=(e=L.current)&&e.__options.blockPointerEvents&&S()){D.current=!0;let e=s.floating;if((0,l.vq)(s.domReference)&&e){let n=(0,u.YE)(s.floating).body;n.setAttribute(w,"");let r=s.domReference,o=null==y||null==(t=y.nodesRef.current.find(e=>e.id===C))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[d,n,C,s,y,L,S]),f(()=>{n||(T.current=void 0,Y.current=!1,K(),B())},[n,K,B]),o.useEffect(()=>()=>{K(),clearTimeout(P.current),clearTimeout(q.current),B()},[d,s.domReference,K,B]);let F=o.useMemo(()=>{function e(e){T.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function o(){_.current||k.current||r(!0,t,"hover")}(!E||(0,u.Go)(T.current))&&!n&&0!==p&&(Y.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(q.current),"touch"===T.current?o():(Y.current=!0,q.current=window.setTimeout(o,p))))}}},[E,r,n,k,p]),H=o.useMemo(()=>({onMouseEnter(){clearTimeout(P.current)},onMouseLeave(e){X()||A(e.nativeEvent,!1)}}),[A,X]);return o.useMemo(()=>d?{reference:F,floating:H}:{},[d,F,H])}let L=()=>{},M=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:L,setState:L,isInstantPhase:!1});function k(e){let{children:t,delay:n,timeoutMs:r=0}=e,[u,l]=o.useReducer((e,t)=>
1({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),i=o.useRef(null),c=o.useCallback(e=>{l({currentId:e})},[]);return f(()=>{u.currentId?null===i.current?i.current=u.currentId:u.isInstantPhase||l({isInstantPhase:!0}):(u.isInstantPhase&&l({isInstantPhase:!1}),i.current=null)},[u.currentId,u.isInstantPhase]),o.createElement(M.Provider,{value:o.useMemo(()=>({...u,setState:l,setCurrentId:c}),[u,c])},t)}function T(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:u}=e,{id:l,enabled:i=!0}=t,c=null!=l?l:u,s=o.useContext(M),{currentId:a,setCurrentId:d,initialDelay:v,setState:m,timeoutMs:E}=s;return f(()=>{i&&a&&(m({delay:{open:1,close:x(v,"close")}}),a!==c&&r(!1))},[i,c,r,m,a,v]),f(()=>{function e(){r(!1),m({delay:v,currentId:null})}if(i&&a&&!n&&a===c){if(E){let t=window.setTimeout(e,E);return()=>{clearTimeout(t)}}e()}},[i,n,m,a,c,r,v,E]),f(()=>{i&&d!==L&&n&&d(c)},[i,n,d,c]),s}function P(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let I={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},q={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},_=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function D(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,elements:i,dataRef:c}=e,{enabled:s=!0,escapeKey:f=!0,outsidePress:d=!0,outsidePressEvent:v="pointerdown",referencePress:m=!1,referencePressEvent:E="pointerdown",ancestorScroll:p=!1,bubbles:g,capture:b}=t,h=R(),w=a("function"==typeof d?d:()=>!1),x="function"==typeof d?w:d,C=o.useRef(!1),L=o.useRef(!1),{escapeKey:M,outsidePress:k}=_(g),{escapeKey:T,outsidePress:D}=_(b),W=o.useRef(!1),Y=a(e=>{var t;if(!n||!s||!f||"Escape"!==e.key||W.current)return;let o=null==(t=c.current.floatingContext)?void 0:t.nodeId,l=h?P(h.nodesRef.current,o):[];if(!M&&(e.stopPropagation(),l.length>0)){let e=!0;if(l.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,(0,u.O_)(e)?e.nativeEvent:e,"escape-key")}),S=a(e=>{var t;let n=()=>{var t;Y(e),null==(t=(0,u.EW)(e))||t.removeEventListener("keydown",n)};null==(t=(0,u.EW)(e))||t.addEventListener("keydown",n)}),A=a(e=>{var t;let n=C.current;C.current=!1;let o=L.current;if(L.current=!1,"click"===v&&o||n||"function"==typeof x&&!x(e))return;let s=(0,u.EW)(e),a="["+y("inert")+"]",f=(0,u.YE)(i.floating).querySelectorAll(a),d=(0,l.vq)(s)?s:null;for(;d&&!(0,l.eu)(d);){let e=(0,l.$4)(d);if((0,l.eu)(e)||!(0,l.vq)(e))break;d=e}if(f.length&&(0,l.vq)(s)&&!(0,u.tZ)(s)&&!(0,u.gR)(s,i.floating)&&Array.from(f).every(e=>!(0,u.gR)(d,e)))return;if((0,l.sb)(s)&&X){let t=s.clientWidth>0&&s.scrollWidth>s.clientWidth,n=s.clientHeight>0&&s.scrollHeight>s.clientHeight,r=n&&e.offsetX>s.clientWidth;if(n&&"rtl"===(0,l.L9)(s).direction&&(r=e.offsetX<=s.offsetWidth-s.clientWidth),r||t&&e.offsetY>s.clientHeight)return}let m=null==(t=c.current.floatingContext)?void 0:t.nodeId,E=h&&P(h.nodesRef.current,m).some(t=>{var n;return(0,u.F2)(e,null==(n=t.context)?void 0:n.elements.floating)});if((0,u.F2)(e,i.floating)||(0,u.F2)(e,i.domReference)||E)return;let p=h?P(h.nodesRef.current,m):[];if(p.length>0){let e=!0;if(p.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),K=a(e=>{var t;let n=()=>{var t;A(e),null==(t=(0,u.EW)(e))||t.removeEventListener(v,n)};null==(t=(0,u.EW)(e))||t.addEventListener(v,n)});o.useEffect(()=>{if(!n||!s)return;c.current.__escapeKeyBubbles=M,c.current.__outsidePressBubbles=k;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),W.current=!0}function a(){e=window.setTimeout(()=>{W.current=!1},5*!!(0,l.Tc)())}let d=(0,u.YE)(i.floating);f&&(d.addEventListener("keydown",T?S:Y,T),d.addEventListener("compositionstart",o),d.addEventListener("compositionend",a)),x&&d.addEventListener(v,D?K:A,D);let m=[];return p&&((0,l.vq)(i.domReference)&&(m=(0,l.v9)(i.domReference)),(0,l.vq)(i.floating)&&(m=m.concat((0,l.v9)(i.floating))),!(0,l.vq)(i.reference)&&i.reference&&i.reference.contextElement&&(m=m.concat((0,l.v9)(i.reference.contextElement)))),(m=m.filter(e=>{var t;
1return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)})).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{f&&(d.removeEventListener("keydown",T?S:Y,T),d.removeEventListener("compositionstart",o),d.removeEventListener("compositionend",a)),x&&d.removeEventListener(v,D?K:A,D),m.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[c,i,f,x,v,n,r,p,s,M,k,Y,T,S,A,D,K]),o.useEffect(()=>{C.current=!1},[x,v]);let B=o.useMemo(()=>({onKeyDown:Y,[I[E]]:e=>{m&&r(!1,e.nativeEvent,"reference-press")}}),[Y,r,m,E]),X=o.useMemo(()=>({onKeyDown:Y,onMouseDown(){L.current=!0},onMouseUp(){L.current=!0},[q[v]]:()=>{C.current=!0}}),[Y,v]);return o.useMemo(()=>s?{reference:B,floating:X}:{},[s,B,X])}function W(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,u=E(),l=o.useRef({}),[i]=o.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})()),c=null!=b(),[s,f]=o.useState(r.reference),d=a((e,t,r)=>{l.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)}),v=o.useMemo(()=>({setPositionReference:f}),[]),m=o.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return o.useMemo(()=>({dataRef:l,open:t,onOpenChange:d,elements:m,events:i,floatingId:u,refs:v}),[t,d,m,i,u,v])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,u=r.elements,[c,s]=o.useState(null),[d,v]=o.useState(null),m=(null==u?void 0:u.domReference)||c,p=o.useRef(null),g=R();f(()=>{m&&(p.current=m)},[m]);let y=(0,i.we)({...e,elements:{...u,...d&&{reference:d}}}),h=o.useCallback(e=>{let t=(0,l.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;v(t),y.refs.setReference(t)},[y.refs]),w=o.useCallback(e=>{((0,l.vq)(e)||null===e)&&(p.current=e,s(e)),((0,l.vq)(y.refs.reference.current)||null===y.refs.reference.current||null!==e&&!(0,l.vq)(e))&&y.refs.setReference(e)},[y.refs]),x=o.useMemo(()=>({...y.refs,setReference:w,setPositionReference:h,domReference:p}),[y.refs,w,h]),C=o.useMemo(()=>({...y.elements,domReference:m}),[y.elements,m]),L=o.useMemo(()=>({...y,...r,refs:x,elements:C,nodeId:t}),[y,x,C,t,r]);return f(()=>{r.dataRef.current.floatingContext=L;let e=null==g?void 0:g.nodesRef.current.find(e=>e.id===t);e&&(e.context=L)}),o.useMemo(()=>({...y,context:L,refs:x,elements:C}),[y,x,C,L])}function Y(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,dataRef:c,elements:s}=e,{enabled:a=!0,visibleOnly:f=!0}=t,d=o.useRef(!1),v=o.useRef(),m=o.useRef(!0);o.useEffect(()=>{if(!a)return;let e=(0,l.zk)(s.domReference);function t(){!n&&(0,l.sb)(s.domReference)&&s.domReference===(0,u.RS)((0,u.YE)(s.domReference))&&(d.current=!0)}function r(){m.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[s.domReference,n,a]),o.useEffect(()=>{if(a)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(d.current=!0)}},[i,a]),o.useEffect(()=>()=>{clearTimeout(v.current)},[]);let E=o.useMemo(()=>({onPointerDown(e){(0,u.Pg)(e.nativeEvent)||(m.current=!1)},onMouseLeave(){d.current=!1},onFocus(e){if(d.current)return;let t=(0,u.EW)(e.nativeEvent);if(f&&(0,l.vq)(t))try{if((0,u.nr)()&&(0,u.cX)())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!m.current&&!(0,u.$u)(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){d.current=!1;let t=e.relatedTarget,n=e.nativeEvent,o=(0,l.vq)(t)&&t.hasAttribute(y("focus-guard"))&&"outside"===t.getAttribute("data-type");v.current=window.setTimeout(()=>{var e;let l=(0,u.RS)(s.domReference?s.domReference.ownerDocument:document);(t||l!==s.domReference)&&((0,u.gR)(null==(e=c.current.floatingContext)?void 0:e.refs.floating.current,l)||(0,u.gR)(s.domReference,l)||o||r(!1,n,"focus"))})}}),[c,s.domReference,r,f]);return o.useMemo(()=>a?{reference:E}:{},[a,E])}let S="active",A="selected";function K(e,t,n){let r=new Map,o="item"===n,u=e;if(o&&e){let{[S]:t,[A]:n,...r}=e;u=r}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...u,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>
1(t&&Object.entries(t).forEach(t=>{let[n,u]=t;if(!(o&&[S,A].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof u){var l;null==(l=r.get(n))||l.push(u),e[n]=function(){for(var e,t=arguments.length,o=Array(t),u=0;u<t;u++)o[u]=arguments[u];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)}}}else e[n]=u}),e),{})}}function B(e){void 0===e&&(e=[]);let t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),u=o.useCallback(t=>K(t,e,"reference"),t),l=o.useCallback(t=>K(t,e,"floating"),n),i=o.useCallback(t=>K(t,e,"item"),r);return o.useMemo(()=>({getReferenceProps:u,getFloatingProps:l,getItemProps:i}),[u,l,i])}let X=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function F(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:u}=e,{enabled:l=!0,role:i="dialog"}=t,c=null!=(n=X.get(i))?n:i,s=E(),a=null!=b(),f=o.useMemo(()=>"tooltip"===c||"label"===i?{["aria-"+("label"===i?"labelledby":"describedby")]:r?u:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===c?"dialog":c,"aria-controls":r?u:void 0,..."listbox"===c&&{role:"combobox"},..."menu"===c&&{id:s},..."menu"===c&&a&&{role:"menuitem"},..."select"===i&&{"aria-autocomplete":"none"},..."combobox"===i&&{"aria-autocomplete":"list"}},[c,u,a,r,s,i]),d=o.useMemo(()=>{let e={id:u,...c&&{role:c}};return"tooltip"===c||"label"===i?e:{...e,..."menu"===c&&{"aria-labelledby":s}}},[c,u,s,i]),v=o.useCallback(e=>{let{active:t,selected:n}=e,r={role:"option",...t&&{id:u+"-option"}};switch(i){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}},[u,i]);return o.useMemo(()=>l?{reference:f,floating:d,item:v}:{},[l,f,d,v])}}}]); 2//# sourceMappingURL=1ae419af-ac7fec829e42f93c.js.map
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.