PageSourceSearch

https://www.gemini2pdf.com/_next/static/chunks/376-71ea32677ae18cda.js

js gemini2pdf.com collected 2026-10-02 01:30:15 UTC 105,326 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[376],{251:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},262:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return a}});let r=n(2539),o=n(7614),i=n(926),l=r._(n(1174));function a(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=i.Image},1122:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(1938),o=n(3176),i=n.t(o,2),l=n(1060),a=i["use".trim()],u=n(1448),c=n(9685),s=n(9841),d=n(4),f=n(4363);function p(e){let{Link:t,config:n,getPathname:i,...p}=function(e,t){var n,i,l;let f={...n=t||{},localePrefix:"object"==typeof(l=n.localePrefix)?l:{mode:l||"always"},localeCookie:!!((i=n.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof i&&i},localeDetection:n.localeDetection??!0,alternateLinks:n.alternateLinks??!0},p=f.pathnames,h=(0,o.forwardRef)(function({href:t,locale:n,...r},o){let i,l;"object"==typeof t?(i=t.pathname,l=t.params):i=t;let s=(0,u._x)(t),h=e(),m=(0,u.yL)(h)?a(h):h,g=s?v({locale:n||m,href:null==p?i:{pathname:i,params:l},forcePrefix:null!=n||void 0}):i;return(0,d.jsx)(c.default,{ref:o,href:"object"==typeof t?{...t,pathname:g}:g,locale:n,localeCookie:f.localeCookie,...r})});function v(e){let t;let{forcePrefix:n,href:r,locale:o}=e;return null==p?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,s.Zn)(r.query))):t=r:t=(0,s.FP)({locale:o,...(0,s.TK)(r),pathnames:f.pathnames}),(0,s.x3)(t,o,f,n)}function m(e){return function(t,...n){return e(v(t),...n)}}return{config:f,Link:h,redirect:m(r.redirect),permanentRedirect:m(r.permanentRedirect),getPathname:v}}(l.Ym,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,r.usePathname)(),n=(0,l.Ym)();return(0,o.useMemo)(()=>{if(!t)return t;let r=t,o=(0,u.XP)(n,e.localePrefix);if((0,u.wO)(o,t))r=(0,u.MY)(t,o);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,u.bL)(n);(0,u.wO)(e,t)&&(r=(0,u.MY)(t,e))}return r},[e.localePrefix,n,t])}(n),t=(0,l.Ym)();return(0,o.useMemo)(()=>e&&n.pathnames?(0,s.aM)(t,e,n.pathnames):e,[t,e])},useRouter:function(){let e=(0,r.useRouter)(),t=(0,l.Ym)(),a=(0,r.usePathname)();return(0,o.useMemo)(()=>{function r(e){return function(r,o){let{locale:l,...u}=o||{},c=[i({href:r,locale:l||t})];Object.keys(u).length>0&&c.push(u),(0,f.A)(n.localeCookie,a,t,l),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,a,e])},getPathname:i}}},1396:(e,t,n)=>{n.d(t,{D:()=>s,ThemeProvider:()=>d});var r=n(3176),o=(e,t,n,r,o,i,l,a)=>{let u=document.documentElement,c=["light","dark"];function s(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,r=n&&i?o.map(e=>i[e]||e):o;n?(u.classList.remove(...r),u.classList.add(i&&i[t]?i[t]:t)):u.setAttribute(e,t)}),n=t,a&&c.includes(n)&&(u.style.colorScheme=n)}if(r)s(r);else try{let e=localStorage.getItem(t)||n,r=l&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;s(r)}catch(e){}},i=["light","dark"],l="(prefers-color-scheme: dark)",a="undefined"==typeof window,u=r.createContext(void 0),c={setTheme:e=>{},themes:[]},s=()=>{var e;return null!=(e=r.useContext(u))?e:c},d=e=>r.useContext(u)?r.createElement(r.Fragment,null,e.children):r.createElement(p,{...e}),f=["light","dark"],p=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:o=!0,enableColorScheme:a=!0,storageKey:c="theme",themes:s=f,defaultTheme:d=o?"system":"light",attribute:p="data-theme",value:y,children:w,nonce:b,scriptProps:x}=e,[C,E]=r.useState(()=>v(c,d)),[S,k]=r.useState(()=>"system"===C?g():C),R=y?Object.values(y):s,A=r.useCallback(e=>{let t=e;if(!t)return;"system"===e&&o&&(t=g());let r=y?y[t]:t,l=n?m(b):null,u=document.documentElement,c=e=>{"class"===e?(u.classList.remove(...R),r&&u.classList.add(r)):e.startsWith("data-")&&(r?u.setAttribute(e,r):u.removeAttribute(e))};if(Array.isArray(p)?p.forEach(c):c(p),a){let e=i.includes(d)?d:null,n=i.includes(t)?t:e;u.style.colorScheme=n}null==l||l()},[b]),M=r.useCallback(e=>{let t="function"==typeof e?e(C):e;E(t);try{localStorage.setItem(c,t)}catch(e){}},[C]),T=r.useCallback(e=>{k(g(e)),"system"===C&&o&&!t&&A("system")},[C,t]);r.useEffect(()=>{let e=window.matchMedia(l);return e.addListener(T),T(e),()=>e.removeListener(T)},[T]),r.useEffect(()=>{let e=e=>{e.key===c&&(e.newValue?E(e.newValue):M(d))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[M]),r.useEffect(()=>{A(null!=t?t:C)},[t,C]);let P=r.useMemo(()=>({theme:C,setTheme:M,forcedTheme:t,resolvedTheme:"system"===C?S:C,themes:o?[...s,"system"]:s,systemTheme:o?S:void 0}),[C,M,t,S,o,s]);return r.createElement(u.Provider,{value:P},r.createElement(h,{forcedTheme:t,storageKey:c,attribute:p,enableSystem:o,enableColorScheme:a,defaultTheme:d,value:y,themes:s,nonce:b,scriptProps:x}),w)},h=r.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:i,enableSystem:l,enableColorScheme:a,defaultTheme:u,value:c,themes:s,nonce:d,scriptProps:f}=e,p=JSON.stringify([i,n,u,t,s,c,l,a]).slice(1,-1);return r.createElement("script",{...f,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?d:"",dangerouslySetInnerHTML:{__html:"(".concat(o.toString(),")(").concat(p,")")}})}),v=(e,t)=>
1{let n;if(!a){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},m=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},g=e=>(e||(e=window.matchMedia(l)),e.matches?"dark":"light")},1400:(e,t,n)=>{n.d(t,{H_:()=>tf,UC:()=>tu,YJ:()=>tc,q7:()=>td,VF:()=>tv,JU:()=>ts,ZL:()=>ta,z6:()=>tp,hN:()=>th,bL:()=>ti,wv:()=>tm,Pb:()=>tg,G5:()=>tw,ZP:()=>ty,l9:()=>tl});var r=n(3176),o=n(1187),i=n(5648),l=n(7982),a=n(6149),u=n(5257),c=n(8553),s=n(9141),d=n(2568),f=n(4315),p=n(8072),h=n(7569),v=n(9132),m=n(5513),g=n(9190),y=n(2233),w=n(4),b="rovingFocusGroup.onEntryFocus",x={bubbles:!1,cancelable:!0},C="RovingFocusGroup",[E,S,k]=(0,c.N)(C),[R,A]=(0,l.A)(C,[k]),[M,T]=R(C),P=r.forwardRef((e,t)=>(0,w.jsx)(E.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,w.jsx)(E.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,w.jsx)(j,{...e,ref:t})})}));P.displayName=C;var j=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:l,loop:c=!1,dir:d,currentTabStopId:f,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:h,onEntryFocus:v,preventScrollOnEntryFocus:m=!1,...g}=e,E=r.useRef(null),k=(0,i.s)(t,E),R=(0,s.jH)(d),[A,T]=(0,a.i)({prop:f,defaultProp:null!=p?p:null,onChange:h,caller:C}),[P,j]=r.useState(!1),L=(0,y.c)(v),D=S(n),I=r.useRef(!1),[_,N]=r.useState(0);return r.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(b,L),()=>e.removeEventListener(b,L)},[L]),(0,w.jsx)(M,{scope:n,orientation:l,dir:R,loop:c,currentTabStopId:A,onItemFocus:r.useCallback(e=>T(e),[T]),onItemShiftTab:r.useCallback(()=>j(!0),[]),onFocusableItemAdd:r.useCallback(()=>N(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>N(e=>e-1),[]),children:(0,w.jsx)(u.sG.div,{tabIndex:P||0===_?-1:0,"data-orientation":l,...g,ref:k,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{I.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!I.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(b,x);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=D().filter(e=>e.focusable);O([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),m)}}I.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>j(!1))})})}),L="RovingFocusGroupItem",D=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:i=!0,active:l=!1,tabStopId:a,children:c,...s}=e,d=(0,h.B)(),f=a||d,p=T(L,n),v=p.currentTabStopId===f,m=S(n),{onFocusableItemAdd:g,onFocusableItemRemove:y,currentTabStopId:b}=p;return r.useEffect(()=>{if(i)return g(),()=>y()},[i,g,y]),(0,w.jsx)(E.ItemSlot,{scope:n,id:f,focusable:i,active:l,children:(0,w.jsx)(u.sG.span,{tabIndex:v?0:-1,"data-orientation":p.orientation,...s,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i?p.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){p.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return I[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=p.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>O(n))}}),children:"function"==typeof c?c({isCurrentTabStop:v,hasTabStop:null!=b}):c})})});D.displayName=L;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function O(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var _=n(6530),N=n(3179),K=n(4065),F=["Enter"," "],B=["ArrowUp","PageDown","End"],H=["ArrowDown","PageUp","Home",...B],W={ltr:[...F,"ArrowRight"],rtl:[...F,"ArrowLeft"]},G={ltr:["ArrowLeft"],rtl:["ArrowRight"]},z="Menu",[V,U,q]=(0,c.N)(z),[Y,X]=(0,l.A)(z,[q,v.Bk,A]),Z=(0,v.Bk)(),J=A(),[$,Q]=Y(z),[ee,et]=Y(z),en=e=>{let{__scopeMenu:t,open:n=!1,children:o,dir:i,onOpenChange:l,modal:a=!0}=e,u=Z(t),[c,d]=r.useState(null),f=r.useRef(!1),p=(0,y.c)(l),h=(0,s.jH)(i);return r.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,w.jsx)(v.bL,{...u,children:(0,w.jsx)($,{scope:t,open:n,onOpenChange:p,content:c,onContentChange:d,children:(0,w.jsx)(ee,{scope:t,onClose:r.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:h,modal:a,children:o})})})};en.displayName=z;var er=r.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=Z(n);return(0,w.jsx)(v.Mz,{...o,...r,ref:t})});er.displayName="MenuAnchor";var eo="MenuPortal",[ei,el]=Y(eo,{forceMount:void 0}),ea=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=Q(eo,t);return(0,w.jsx)(ei,{scope:t,forceMount:n,children:(0,w.jsx)(g.C,{present:n||i.open,children:(0,w.jsx)(m.Z,{asChild:!0,container:o,children:r})})})};ea.displayName=eo;var eu="MenuContent",[ec,es]=Y(eu),ed=r.forwardRef((e,t)=>{let n=el(eu,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Q(eu,e.__scopeMenu),l=et(eu,e.__scopeMenu);return(0,w.jsx)(V.Provider,{scope:e.__scopeMenu,children:(0,w.jsx)(g.C,{present:r||i.open,children:(0,w.jsx)(V.Slot,{scope:e.__scopeMenu,children:l.modal?(0,w.jsx)(ef,{...o,ref:t}):(0,w.jsx)(ep,{...o,ref:t})})})})}),ef=r.forwardRef((e,t)=>{let n=Q(eu,e.__scopeMenu),l=r.useRef(null),a=(0,i.s)(t,l);return r.useEffect(()=>{let e=l.current;if(e)return(0,N.Eq)(e)},[]),(0,w.jsx)(ev,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),ep=r.forwardRef((e,t)=>{let n=Q(eu,e.__scopeMenu);return(0,w.jsx)(ev,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),eh=(0,_.TL)("MenuContent.ScrollLock"),ev=r.forwardRef((e,t)=>{let{__scopeMenu:n,loop:l=!1,trapFocus:a,onOpenAutoFocus:u,onCloseAutoFocus:c,disableOutsidePointerEvents:s,onEntryFocus:h,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:x,disableOutsideScroll:C,...E}=e,S=Q(eu,n),k=et(eu,n),R=Z(n),A=J(n),M=U(n),[T,j]=r.useState(null),L=r.useRef(null),D=(0,i.s)(t,L,S.onContentChange),I=r.useRef(0),O=r.useRef(""),_=r.useRef(0),N=r.useRef(null),F=r.useRef("right"),W=r.useRef(0),G=C?K.A:r.Fragment,z=e=>{var t,n;let r=O.current+e,o=M().filter(e=>!e.disabled),i=document.activeElement,l=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,a=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let l=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}(o.map(e=>e.textValue),r,l),u=null===(n=o.find(e=>e.textValue===a))||void 0===n?void 0:n.ref.current;!function e(t){O.current=t,window.clearTimeout(I.current),""!==t&&(I.current=window.setTimeout(()=>e(""),1e3))}(r),u&&setTimeout(()=>u.focus())};r.useEffect(()=>()=>window.clearTimeout(I.current),[]),(0,f.Oh)();let V=r.useCallback(e=>{var t,n;return F.current===(null===(t=N.current)||void 0===t?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e],a=t[i],u=l.x,c=l.y,s=a.x,d=a.y;c>r!=d>r&&n<(s-u)*(r-c)/(d-c)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null===(n=N.current)||void 0===n?void 0:n.area)},[]);return(0,w.jsx)(ec,{scope:n,searchRef:O,onItemEnter:r.useCallback(e=>{V(e)&&e.preventDefault()},[V]),onItemLeave:r.useCallback(e=>{var t;V(e)||(null===(t=L.current)||void 0===t||t.focus(),j(null))},[V]),onTriggerLeave:r.useCallback(e=>{V(e)&&e.preventDefault()},[V]),pointerGraceTimerRef:_,onPointerGraceIntentChange:r.useCallback(e=>{N.current=e},[]),children:(0,w.jsx)(G,{...C?{as:eh,allowPinchZoom:!0}:void 0,children:(0,w.jsx)(p.n,{asChild:!0,trapped:a,onMountAutoFocus:(0,o.mK)(u,e=>{var t;e.preventDefault(),null===(t=L.current)||void 0===t||t.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,w.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:x,children:(0,w.jsx)(P,{asChild:!0,...A,dir:k.dir,orientation:"vertical",loop:l,currentTabStopId:T,onCurrentTabStopIdChange:j,onEntryFocus:(0,o.mK)(h,e=>{k.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,w.jsx)(v.UC,{role:"menu","aria-orientation":"vertical","data-state":eG(S.open),"data-radix-menu-content":"",dir:k.dir,...R,...E,ref:D,style:{outline:"none",...E.style},onKeyDown:(0,o.mK)(E.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&z(e.key));let o=L.current;if(e.target!==o||!H.includes(e.key))return;e.preventDefault();let i=M().filter(e=>!e.disabled).map(e=>e.ref.current);B.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(I.current),O.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,eU(e=>{let t=e.target,n=W.current!==e.clientX;e.currentTarget.contains(t)&&n&&(F.current=e.clientX>W.current?"right":"left",W.current=e.clientX)}))})})})})})})});ed.displayName=eu;var em=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,w.jsx)(u.sG.div,{role:"group",...r,ref:t})});em.displayName="MenuGroup";var eg=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,w.jsx)(u.sG.div,{...r,ref:t})});eg.displayName="MenuLabel";var ey="MenuItem",ew="menu.itemSelect",eb=r.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:l,...a}=e,c=r.useRef(null),s=et(ey,e.__scopeMenu),d=es(ey,e.__scopeMenu),f=(0,i.s)(t,c),p=r.useRef(!1);return(0,w.jsx)(ex,{...a,ref:f,disabled:n,onClick:(0,o.mK)(e.onClick,()=>{let e=c.current;if(!n&&e){let t=new CustomEvent(ew,{bubbles:!0,cancelable:!0});e.addEventListener(ew,e=>null==l?void 0:l(e),{once:!0}),(0,u.hO)(e,t),t.defaultPrevented?p.current=!1:s.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),p.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{var t;p.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;!n&&(!t||" "!==e.key)&&F.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eb.displayName=ey;var ex=r.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:l=!1,textValue:a,...c}=e,s=es(ey,n),d=J(n),f=r.useRef(null),p=(0,i.s)(t,f),[h,v]=r.useState(!1),[m,g]=r.useState("");return r.useEffect(()=>{let e=f.current;if(e){var t;g((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[c.children]),(0,w.jsx)(V.ItemSlot,{scope:n,disabled:l,textValue:null!=a?a:m,children:(0,w.jsx)(D,{asChild:!0,...d,focusable:!l,children:(0,w.jsx)(u.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0,...c,ref:p,onPointerMove:(0,o.mK)(e.onPointerMove,eU(e=>{l?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eU(e=>s.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>v(!0)),onBlur:(0,o.mK)(e.onBlur,()=>v(!1))})})})}),eC=r.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,w.jsx)(eP,{scope:e.__scopeMenu,checked:n,children:(0,w.jsx)(eb,{role:"menuitemcheckbox","aria-checked":ez(n)?"mixed":n,...i,ref:t,"data-state":eV(n),onSelect:(0,o.mK)(i.onSelect,()=>null==r?void 0:r(!!ez(n)||!n),{checkForDefaultPrevented:!1})})})});eC.displayName="MenuCheckboxItem";var eE="MenuRadioGroup",[eS,ek]=Y(eE,{value:void 0,onValueChange:()=>{}}),eR=r.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=(0,y.c)(r);return(0,w.jsx)(eS,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,w.jsx)(em,{...o,ref:t})})});eR.displayName=eE;var eA="MenuRadioItem",eM=r.forwardRef((e,t)=>{let{value:n,...r}=e,i=ek(eA,e.__scopeMenu),l=n===i.value;return(0,w.jsx)(eP,{scope:e.__scopeMenu,checked:l,children:(0,w.jsx)(eb,{role:"menuitemradio","aria-checked":l,...r,ref:t,"data-state":eV(l),onSelect:(0,o.mK)(r.onSelect,()=>{var e;return null===(e=i.onValueChange)||void 0===e?void 0:e.call(i,n)},{checkForDefaultPrevented:!1})})})});eM.displayName=eA;var eT="MenuItemIndicator",[eP,ej]=Y(eT,{checked:!1}),eL=r.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=ej(eT,n);return(0,w.jsx)(g.C,{present:r||ez(i.checked)||!0===i.checked,children:(0,w.jsx)(u.sG.span,{...o,ref:t,"data-state":eV(i.checked)})})});eL.displayName=eT;var eD=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,w.jsx)(u.sG.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});eD.displayName="MenuSeparator";var eI=r.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=Z(n);return(0,w.jsx)(v.i3,{...o,...r,ref:t})});eI.displayName="MenuArrow";var eO="MenuSub",[e_,eN]=Y(eO),eK=e=>{let{__scopeMenu:t,children:n,open:o=!1,onOpenChange:i}=e,l=Q(eO,t),a=Z(t),[u,c]=r.useState(null),[s,d]=r.useState(null),f=(0,y.c)(i);return r.useEffect(()=>(!1===l.open&&f(!1),()=>f(!1)),[l.open,f]),(0,w.jsx)(v.bL,{...a,children:(0,w.jsx)($,{scope:t,open:o,onOpenChange:f,content:s,onContentChange:d,children:(0,w.jsx)(e_,{scope:t,contentId:(0,h.B)(),triggerId:(0,h.B)(),trigger:u,onTriggerChange:c,children:n})})})};eK.displayName=eO;var eF="MenuSubTrigger",eB=r.forwardRef((e,t)=>{let n=Q(eF,e.__scopeMenu),l=et(eF,e.__scopeMenu),a=eN(eF,e.__scopeMenu),u=es(eF,e.__scopeMenu),c=r.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:d}=u,f={__scopeMenu:e.__scopeMenu},p=r.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return r.useEffect(()=>p,[p]),r.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),d(null)}},[s,d]),(0,w.jsx)(er,{asChild:!0,...f,children:(0,w.jsx)(ex,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":eG(n.open),...e,ref:(0,i.t)(t,a.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,eU(t=>{u.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||c.current||(u.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eU(e=>{var t,r;p();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,i="right"===t,l=o[i?"left":"right"],a=o[i?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:l,y:o.top},{x:a,y:o.top},{x:a,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,t=>{let r=""!==u.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&W[l.dir].includes(t.key)){var o;n.onOpenChange(!0),null===(o=n.content)||void 0===o||o.focus(),t.preventDefault()}})})})});eB.displayName=eF;var eH="MenuSubContent",eW=r.forwardRef((e,t)=>{let n=el(eu,e.__scopeMenu),{forceMount:l=n.forceMount,...a}=e,u=Q(eu,e.__scopeMenu),c=et(eu,e.__scopeMenu),s=eN(eH,e.__scopeMenu),d=r.useRef(null),f=(0,i.s)(t,d);return(0,w.jsx)(V.Provider,{scope:e.__scopeMenu,children:(0,w.jsx)(g.C,{present:l||u.open,children:(0,w.jsx)(V.Slot,{scope:e.__scopeMenu,children:(0,w.jsx)(ev,{id:s.contentId,"aria-labelledby":s.triggerId,...a,ref:f,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;c.isUsingKeyboardRef.current&&(null===(t=d.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==s.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=G[c.dir].includes(e.key);if(t&&n){var r;u.onOpenChange(!1),null===(r=s.trigger)||void 0===r||r.focus(),e.preventDefault()}})})})})})});function eG(e){return e?"open":"closed"}function ez(e){return"indeterminate"===e}function eV(e){return ez(e)?"indeterminate":e?"checked":"unchecked"}function eU(e){return t=>"mouse"===t.pointerType?e(t):void 0}eW.displayName=eH;var eq="DropdownMenu",[eY,eX]=(0,l.A)(eq,[X]),eZ=X(),[eJ,e$]=eY(eq),eQ=e=>{let{__scopeDropdownMenu:t,children:n,dir:o,open:i,defaultOpen:l,onOpenChange:u,modal:c=!0}=e,s=eZ(t),d=r.useRef(null),[f,p]=(0,a.i)({prop:i,defaultProp:null!=l&&l,onChange:u,caller:eq});return(0,w.jsx)(eJ,{scope:t,triggerId:(0,h.B)(),triggerRef:d,contentId:(0,h.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:c,children:(0,w.jsx)(en,{...s,open:f,onOpenChange:p,dir:o,modal:c,children:n})})};eQ.displayName=eq;var e0="DropdownMenuTrigger",e1=r.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:n,disabled:r=!1,...l}=e,a=e$(e0,n),c=eZ(n);return(0,w.jsx)(er,{asChild:!0,...c,children:(0,w.jsx)(u.sG.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...l,ref:(0,i.t)(t,a.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&a.onOpenToggle(),"ArrowDown"===e.key&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e1.displayName=e0;var e2=e=>{let{__scopeDropdownMenu:t,...n}=e,r=eZ(t);return(0,w.jsx)(ea,{...r,...n})};e2.displayName="DropdownMenuPortal";var e6="DropdownMenuContent",e3=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...i}=e,l=e$(e6,n),a=eZ(n),u=r.useRef(!1);return(0,w.jsx)(ed,{id:l.contentId,"aria-labelledby":l.triggerId,...a,...i,ref:t,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;u.current||null===(t=l.triggerRef.current)||void 0===t||t.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!l.modal||r)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e3.displayName=e6;var e5=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(em,{...o,...r,ref:t})});e5.displayName="DropdownMenuGroup";var e4=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eg,{...o,...r,ref:t})});e4.displayName="DropdownMenuLabel";var e9=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eb,{...o,...r,ref:t})});e9.displayName="DropdownMenuItem";var e7=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eC,{...o,...r,ref:t})});e7.displayName="DropdownMenuCheckboxItem";var e8=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eR,{...o,...r,ref:t})});e8.displayName="DropdownMenuRadioGroup";var te=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eM,{...o,...r,ref:t})});te.displayName="DropdownMenuRadioItem";var tt=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eL,{...o,...r,ref:t})});tt.displayName="DropdownMenuItemIndicator";var tn=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eD,{...o,...r,ref:t})});tn.displayName="DropdownMenuSeparator",r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eI,{...o,...r,ref:t})}).displayName="DropdownMenuArrow";var tr=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eB,{...o,...r,ref:t})});tr.displayName="DropdownMenuSubTrigger";var to=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eZ(n);return(0,w.jsx)(eW,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});to.displayName="DropdownMenuSubContent";var ti=eQ,tl=e1,ta=e2,tu=e3,tc=e5,ts=e4,td=e9,tf=e7,tp=e8,th=te,tv=tt,tm=tn,tg=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,l=eZ(t),[u,c]=(0,a.i)({prop:r,defaultProp:null!=i&&i,onChange:o,caller:"DropdownMenuSub"});return(0,w.jsx)(eK,{...l,open:u,onOpenChange:c,children:n})},ty=tr,tw=to},1411:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},1437:(e,t,n)=>{n.d(t,{Analytics:()=>s});var r=n(3176),o=n(4678),i=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function l(){return"undefined"!=typeof window}function a(){return"production"}function u(){return(l()?window.vam:a())||"production"}function c(){return"development"===u()}function s(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{var t;!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!l())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=a();return}window.vam=e})(t.mode),i(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc?t.scriptSrc:c()?"https://va.vercel-scripts.com/v1/script.debug.js":t.basePath?"".concat(t.basePath,"/insights/script.
1js"):"/_vercel/insights/script.js";if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.5.0",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint?r.dataset.endpoint=t.endpoint:t.basePath&&(r.dataset.endpoint="".concat(t.basePath,"/insights")),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{c()},c()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",basePath:null!==(t=e.basePath)&&void 0!==t?t:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}},2233:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(3176);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},2568:(e,t,n)=>{n.d(t,{qW:()=>f});var r,o=n(3176),i=n(1187),l=n(5257),a=n(5648),u=n(2233),c=n(4),s="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:b,...x}=e,C=o.useContext(d),[E,S]=o.useState(null),k=null!==(f=null==E?void 0:E.ownerDocument)&&void 0!==f?f:null===(n=globalThis)||void 0===n?void 0:n.document,[,R]=o.useState({}),A=(0,a.s)(t,e=>S(e)),M=Array.from(C.layers),[T]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),P=M.indexOf(T),j=E?M.indexOf(E):-1,L=C.layersWithOutsidePointerEventsDisabled.size>0,D=j>=P,I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.c)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){h("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));!D||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==b||b())},k),O=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.c)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&h("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...C.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==b||b())},k);return!function(e,t=globalThis?.document){let n=(0,u.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{j===C.layers.size-1&&(null==m||m(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},k),o.useEffect(()=>{if(E)return v&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(E)),C.layers.add(E),p(),()=>{v&&1===C.layersWithOutsidePointerEventsDisabled.size&&(k.body.style.pointerEvents=r)}},[E,k,v,C]),o.useEffect(()=>()=>{E&&(C.layers.delete(E),C.layersWithOutsidePointerEventsDisabled.delete(E),p())},[E,C]),o.useEffect(()=>{let e=()=>R({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,c.jsx)(l.sG.div,{...x,ref:A,style:{pointerEvents:L?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,O.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,I.onPointerDownCapture)})});function p(){let e=new CustomEvent(s);document.dispatchEvent(e)}function h(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.hO)(i,a):i.dispatchEvent(a)}f.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(d),r=o.useRef(null),i=(0,a.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(l.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},3179:(e,t,n)=>{n.d(t,{Eq:()=>s});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,i=new WeakMap,l={},a=0,u=function(e){return e&&(e.host||u(e.parentNode))},c=function(e,t,n,r){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=u(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});l[n]||(l[n]=new WeakMap);var s=l[n],d=[],f=new Set,p=new Set(c),h=function(e){!(!e||f.has(e))&&(f.add(e),h(e.parentNode))};c.forEach(h);var v=function(e){!(!e||p.has(e))&&Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var t=e.getAttribute(r),l=null!==t&&"false"!==t,a=(o.get(e)||0)+1,u=(s.get(e)||0)+1;o.set(e,a),s.set(e,u),d.push(e),1===a&&l&&i.set(e,!0),1===u&&e.setAttribute(n,"true"),l||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),f.clear(),a++,function(){d.forEach(function(e){var t=o.get(e)-1,l=s.get(e)-1;o.set(e,t),s.set(e,l),t||(i.has(e)||e.removeAttribute(r),i.delete(e)),l||e.removeAttribute(n)}),--a||(o=new WeakMap,o=new WeakMap,i=new WeakMap,l={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||r(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),c(o,i,n,"aria-hidden")):function(){return null}}},3516:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},3601:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},4065:(e,t,n)=>{n.d(t,{A:()=>z});var r,o=n(3914),i=n(3176),l="right-scroll-bar-position",a="width-before-scroll-bar";function u(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var c="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,s=new WeakMap;function d(e){return e}var f=function(e){void 0===e&&(e={});var t,n,r,i,l=(t=null,void 0===n&&(n=d),r=[],i=!1,{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,i);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){i=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var o=function(){var n=t;t=[],n.forEach(e)},l=function(){return Promise.resolve().then(o)};l(),r={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),r}}}});return l.options=(0,o.Cl)({async:!0,ssr:!1},e),l}(),p=function(){},h=i.forwardRef(function(e,t){var n,r,l,a,d=i.useRef(null),h=i.useState({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:p}),v=h[0],m=h[1],g=e.forwardProps,y=e.children,w=e.className,b=e.removeScrollBar,x=e.enabled,C=e.shards,E=e.sideCar,S=e.noRelative,k=e.noIsolation,R=e.inert,A=e.allowPinchZoom,M=e.as,T=e.gapMode,P=(0,o.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=(n=[d,t],r=function(e){return n.forEach(function(t){return u(t,e)})},(l=(0,i.useState)(function(){return{value:null,callback:r,facade:{get current(){return l.value},set current(value){var e=l.value;e!==value&&(l.value=value,l.callback(value,e))}}}})[0]).callback=r,a=l.facade,c(function(){var e=s.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||u(e,null)}),r.forEach(function(e){t.has(e)||u(e,o)})}s.set(a,n)},[n]),a),L=(0,o.Cl)((0,o.Cl)({},P),v);return i.createElement(i.Fragment,null,x&&i.createElement(E,{sideCar:f,removeScrollBar:b,shards:C,noRelative:S,noIsolation:k,inert:R,setCallbacks:m,allowPinchZoom:!!A,lockRef:d,gapMode:T}),g?i.cloneElement(i.Children.only(y),(0,o.Cl)((0,o.Cl)({},L),{ref:j})):i.createElement(void 0===M?"div":M,(0,o.Cl)({},L,{className:w,ref:j}),y))});h.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},h.classNames={fullWidth:a,zeroRight:l};
1var v=function(e){var t=e.sideCar,n=(0,o.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return i.createElement(r,(0,o.Cl)({},n))};v.isSideCarExport=!0;var m=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,l;(i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},g=function(){var e=m();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},y=function(){var e=g();return function(t){return e(t.styles,t.dynamic),null}},w={left:0,top:0,right:0,gap:0},b=function(e){return parseInt(e||"",10)||0},x=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[b(n),b(r),b(o)]},C=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return w;var t=x(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},E=y(),S="data-scroll-locked",k=function(e,t,n,r){var o=e.left,i=e.top,u=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(S,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(u,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(l," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(a," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(l," .").concat(l," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(a," .").concat(a," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(S,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},R=function(){var e=parseInt(document.body.getAttribute(S)||"0",10);return isFinite(e)?e:0},A=function(){i.useEffect(function(){return document.body.setAttribute(S,(R()+1).toString()),function(){var e=R()-1;e<=0?document.body.removeAttribute(S):document.body.setAttribute(S,e.toString())}},[])},M=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;A();var l=i.useMemo(function(){return C(o)},[o]);return i.createElement(E,{styles:k(l,!t,o,n?"":"!important")})},T=!1;if("undefined"!=typeof window)try{var P=Object.defineProperty({},"passive",{get:function(){return T=!0,!0}});window.addEventListener("test",P,P),window.removeEventListener("test",P,P)}catch(e){T=!1}var j=!!T&&{passive:!1},L=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},D=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),I(e,r)){var o=O(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},I=function(e,t){return"v"===e?L(t,"overflowY"):L(t,"overflowX")},O=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},_=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,c=t.contains(u),s=!1,d=a>0,f=0,p=0;do{if(!u)break;var h=O(e,u),v=h[0],m=h[1]-h[2]-l*v;(v||m)&&I(e,u)&&(f+=m,p+=v);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&a>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-a>p)&&(s=!0),s},N=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},F=function(e){return e&&"current"in e?e.current:e},B=0,H=[];let W=(f.useMedium(function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),l=i.useState(B++)[0],a=i.useState(y)[0],u=i.useRef(e);i.useEffect(function(){u.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var t=(0,o.fX)([e.lockRef.current],(e.shards||[]).map(F),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=N(e),l=n.current,a="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,d=Math.abs(a)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=D(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=D(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(a||c)&&(r.current=o),!o)return!0;var p=r.current||o;return _(p,t,e,"h"===p?a:c,!0)},[]),s=i.useCallback(function(e){if(H.length&&H[H.length-1]===a){var n="deltaY"in e?K(e):N(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(F).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=i.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=i.useCallback(function(e){n.current=N(e),r.current=void 0},[]),p=i.useCallback(function(t){d(t.type,K(t),t.target,c(t,e.lockRef.current))},[]),h=i.useCallback(function(t){d(t.type,N(t),t.target,c(t,e.lockRef.current))},[]);i.useEffect(function(){return H.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",s,j),document.addEventListener("touchmove",s,j),document.addEventListener("touchstart",f,j),function(){H=H.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,j),document.removeEventListener("touchmove",s,j),document.removeEventListener("touchstart",f,j)}},[]);var v=e.removeScrollBar,m=e.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:"\n  .block-interactivity-".concat(l," {pointer-events: none;}\n  .allow-interactivity-").concat(l," {pointer-events: all;}\n")}):null,v?i.createElement(M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}),v);var G=i.forwardRef(function(e,t){return i.createElement(h,(0,o.Cl)({},e,{ref:t,sideCar:W}))});G.classNames=h.classNames;let z=G}
1,4212:(e,t,n)=>{n.d(t,{default:()=>o.a});var r=n(6764),o=n.n(r)},4315:(e,t,n)=>{n.d(t,{Oh:()=>i});var r=n(3176),o=0;function i(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:l()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:l()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function l(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},4544:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},4633:(e,t,n)=>{n.d(t,{c3:()=>i});var r=n(1060);function o(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let i=o(0,r.c3);o(0,r.kc)},4688:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},5009:(e,t,n)=>{n.d(t,{default:()=>o.a});var r=n(262),o=n.n(r)},5254:(e,t,n)=>{n.d(t,{A:()=>r});
1let r=(0,n(9290).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},5278:(e,t,n)=>{n.d(t,{UC:()=>eI,YJ:()=>e_,In:()=>eL,q7:()=>eK,VF:()=>eB,p4:()=>eF,JU:()=>eN,ZL:()=>eD,bL:()=>eT,wn:()=>eW,PP:()=>eH,wv:()=>eG,l9:()=>eP,WT:()=>ej,LM:()=>eO});var r=n(3176),o=n(6073);function i(e,[t,n]){return Math.min(n,Math.max(t,e))}var l=n(1187),a=n(8553),u=n(5648),c=n(7982),s=n(9141),d=n(2568),f=n(4315),p=n(8072),h=n(7569),v=n(9132),m=n(5513),g=n(5257),y=n(6530),w=n(2233),b=n(6149),x=n(3299),C=n(4),E=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});r.forwardRef((e,t)=>(0,C.jsx)(g.sG.span,{...e,ref:t,style:{...E,...e.style}})).displayName="VisuallyHidden";var S=n(3179),k=n(4065),R=[" ","Enter","ArrowUp","ArrowDown"],A=[" ","Enter"],M="Select",[T,P,j]=(0,a.N)(M),[L,D]=(0,c.A)(M,[j,v.Bk]),I=(0,v.Bk)(),[O,_]=L(M),[N,K]=L(M),F=e=>{let{__scopeSelect:t,children:n,open:o,defaultOpen:i,onOpenChange:l,value:a,defaultValue:u,onValueChange:c,dir:d,name:f,autoComplete:p,disabled:m,required:g,form:y}=e,w=I(t),[x,E]=r.useState(null),[S,k]=r.useState(null),[R,A]=r.useState(!1),P=(0,s.jH)(d),[j,L]=(0,b.i)({prop:o,defaultProp:null!=i&&i,onChange:l,caller:M}),[D,_]=(0,b.i)({prop:a,defaultProp:u,onChange:c,caller:M}),K=r.useRef(null),F=!x||y||!!x.closest("form"),[B,H]=r.useState(new Set),W=Array.from(B).map(e=>e.props.value).join(";");return(0,C.jsx)(v.bL,{...w,children:(0,C.jsxs)(O,{required:g,scope:t,trigger:x,onTriggerChange:E,valueNode:S,onValueNodeChange:k,valueNodeHasChildren:R,onValueNodeHasChildrenChange:A,contentId:(0,h.B)(),value:D,onValueChange:_,open:j,onOpenChange:L,dir:P,triggerPointerDownPosRef:K,disabled:m,children:[(0,C.jsx)(T.Provider,{scope:t,children:(0,C.jsx)(N,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{H(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{H(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),F?(0,C.jsxs)(ek,{"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:p,value:D,onChange:e=>_(e.target.value),disabled:m,form:y,children:[void 0===D?(0,C.jsx)("option",{value:""}):null,Array.from(B)]},W):null]})})};F.displayName=M;var B="SelectTrigger",H=r.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:o=!1,...i}=e,a=I(n),c=_(B,n),s=c.disabled||o,d=(0,u.s)(t,c.onTriggerChange),f=P(n),p=r.useRef("touch"),[h,m,y]=eA(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===c.value),r=eM(t,e,n);void 0!==r&&c.onValueChange(r.value)}),w=e=>{s||(c.onOpenChange(!0),y()),e&&(c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,C.jsx)(v.Mz,{asChild:!0,...a,children:(0,C.jsx)(g.sG.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":eR(c.value)?"":void 0,...i,ref:d,onClick:(0,l.mK)(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&w(e)}),onPointerDown:(0,l.mK)(i.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,l.mK)(i.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&R.includes(e.key)&&(w(),e.preventDefault())})})})});H.displayName=B;var W="SelectValue",G=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:i,placeholder:l="",...a}=e,c=_(W,n),{onValueNodeHasChildrenChange:s}=c,d=void 0!==i,f=(0,u.s)(t,c.onValueNodeChange);return(0,x.N)(()=>{s(d)},[s,d]),(0,C.jsx)(g.sG.span,{...a,ref:f,style:{pointerEvents:"none"},children:eR(c.value)?(0,C.jsx)(C.Fragment,{children:l}):i})});G.displayName=W;var z=r.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,C.jsx)(g.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});z.displayName="SelectIcon";var V=e=>(0,C.jsx)(m.Z,{asChild:!0,...e});V.displayName="SelectPortal";var U="SelectContent",q=r.forwardRef((e,t)=>
1{let n=_(U,e.__scopeSelect),[i,l]=r.useState();return((0,x.N)(()=>{l(new DocumentFragment)},[]),n.open)?(0,C.jsx)(J,{...e,ref:t}):i?o.createPortal((0,C.jsx)(Y,{scope:e.__scopeSelect,children:(0,C.jsx)(T.Slot,{scope:e.__scopeSelect,children:(0,C.jsx)("div",{children:e.children})})}),i):null});q.displayName=U;var[Y,X]=L(U),Z=(0,y.TL)("SelectContent.RemoveScroll"),J=r.forwardRef((e,t)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:c,side:s,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:y,collisionPadding:w,sticky:b,hideWhenDetached:x,avoidCollisions:E,...R}=e,A=_(U,n),[M,T]=r.useState(null),[j,L]=r.useState(null),D=(0,u.s)(t,e=>T(e)),[I,O]=r.useState(null),[N,K]=r.useState(null),F=P(n),[B,H]=r.useState(!1),W=r.useRef(!1);r.useEffect(()=>{if(M)return(0,S.Eq)(M)},[M]),(0,f.Oh)();let G=r.useCallback(e=>{let[t,...n]=F().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&j&&(j.scrollTop=0),n===r&&j&&(j.scrollTop=j.scrollHeight),null==n||n.focus(),document.activeElement!==o))return},[F,j]),z=r.useCallback(()=>G([I,M]),[G,I,M]);r.useEffect(()=>{B&&z()},[B,z]);let{onOpenChange:V,triggerPointerDownPosRef:q}=A;r.useEffect(()=>{if(M){let e={x:0,y:0},t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(o=null===(n=q.current)||void 0===n?void 0:n.x)&&void 0!==o?o:0)),y:Math.abs(Math.round(t.pageY)-(null!==(i=null===(r=q.current)||void 0===r?void 0:r.y)&&void 0!==i?i:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():M.contains(n.target)||V(!1),document.removeEventListener("pointermove",t),q.current=null};return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[M,V,q]),r.useEffect(()=>{let e=()=>V(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[V]);let[X,J]=eA(e=>{let t=F().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eM(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),ee=r.useCallback((e,t,n)=>{let r=!W.current&&!n;(void 0!==A.value&&A.value===t||r)&&(O(e),r&&(W.current=!0))},[A.value]),et=r.useCallback(()=>null==M?void 0:M.focus(),[M]),en=r.useCallback((e,t,n)=>{let r=!W.current&&!n;(void 0!==A.value&&A.value===t||r)&&K(e)},[A.value]),er="popper"===o?Q:$,eo=er===Q?{side:s,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:y,collisionPadding:w,sticky:b,hideWhenDetached:x,avoidCollisions:E}:{};return(0,C.jsx)(Y,{scope:n,content:M,viewport:j,onViewportChange:L,itemRefCallback:ee,selectedItem:I,onItemLeave:et,itemTextRefCallback:en,focusSelectedItem:z,selectedItemText:N,position:o,isPositioned:B,searchRef:X,children:(0,C.jsx)(k.A,{as:Z,allowPinchZoom:!0,children:(0,C.jsx)(p.n,{asChild:!0,trapped:A.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.mK)(i,e=>{var t;null===(t=A.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,C.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:(0,C.jsx)(er,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:e=>e.preventDefault(),...R,...eo,onPlaced:()=>H(!0),ref:D,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:(0,l.mK)(R.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||J(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=F().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>G(t)),e.preventDefault()}})})})})})})});J.displayName="SelectContentImpl";var $=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,onPlaced:o,...l}=e,a=_(U,n),c=X(U,n),[s,d]=r.useState(null),[f,p]=r.useState(null),h=(0,u.s)(t,e=>p(e)),v=P(n),m=r.useRef(!1),y=r.useRef(!0),{viewport:w,selectedItem:b,selectedItemText:E,focusSelectedItem:S}=c,k=r.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&f&&w&&b&&E){let e=a.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),r=E.getBoundingClientRect();if("rtl"!==a.dir){let o=r.left-t.left,l=n.left-o,a=e.left-l,u=e.width+a,c=Math.max(u,t.width),d=i(l,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=u+"px",s.style.left=d+"px"}else{let o=t.right-r.right,l=window.innerWidth-n.right-o,a=window.innerWidth-e.right-l,u=e.width+a,c=Math.max(u,t.width),d=i(l,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=u+"px",s.style.right=d+"px"}let l=v(),u=window.innerHeight-20,c=w.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),y=p+h+c+parseInt(d.paddingBottom,10)+g,x=Math.min(5*b.offsetHeight,y),C=window.getComputedStyle(w),S=parseInt(C.paddingTop,10),k=parseInt(C.paddingBottom,10),R=e.top+e.height/2-10,A=b.offsetHeight/2,M=p+h+(b.offsetTop+A);if(M<=R){let e=l.length>0&&b===l[l.length-1].ref.current;s.style.bottom="0px";let t=Math.max(u-R,A+(e?k:0)+(f.clientHeight-w.offsetTop-w.offsetHeight)+g);s.style.height=M+t+"px"}else{let e=l.length>0&&b===l[0].ref.current;s.style.top="0px";let t=Math.max(R,p+w.offsetTop+(e?S:0)+A);s.style.height=t+(y-M)+"px",w.scrollTop=M-R+w.offsetTop}s.style.margin="".concat(10,"px 0"),s.style.minHeight=x+"px",s.style.maxHeight=u+"px",null==o||o(),requestAnimationFrame(()=>m.current=!0)}},[v,a.trigger,a.valueNode,s,f,w,b,E,a.dir,o]);(0,x.N)(()=>k(),[k]);let[R,A]=r.useState();(0,x.N)(()=>{f&&A(window.getComputedStyle(f).zIndex)},[f]);let M=r.useCallback(e=>{e&&!0===y.current&&(k(),null==S||S(),y.current=!1)},[k,S]);return(0,C.jsx)(ee,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:m,onScrollButtonChange:M,children:(0,C.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,C.jsx)(g.sG.div,{...l,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});$.displayName="SelectItemAlignedPosition";var Q=r.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:o=10,...i}=e,l=I(n);return(0,C.jsx)(v.UC,{...l,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Q.displayName="SelectPopperPosition";var[ee,et]=L(U,{}),en="SelectViewport",er=r.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:o,...i}=e,a=X(en,n),c=et(en,n),s=(0,u.s)(t,a.onViewportChange),d=r.useRef(0);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,C.jsx)(T.Slot,{scope:n,children:(0,C.jsx)(g.sG.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,l.mK)(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=c;if((null==r?void 0:r.current)&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,o=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(o<r){let i=o+e,l=Math.min(r,i),a=i-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});er.displayName=en;var eo="SelectGroup",[ei,el]=L(eo),ea=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=(0,h.B)();return(0,C.jsx)(ei,{scope:n,id:o,children:(0,C.jsx)(g.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})});ea.displayName=eo;var eu="SelectLabel",ec=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e,o=el(eu,n);return(0,C.jsx)(g.sG.div,{id:o.id,...r,ref:t})});ec.displayName=eu;var es="SelectItem",[ed,ef]=L(es),ep=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,disabled:i=!1,textValue:a,...c}=e,s=_(es,n),d=X(es,n),f=s.value===o,[p,v]=r.useState(null!=a?a:""),[m,y]=r.useState(!1),w=(0,u.s)(t,e=>{var t;return null===(t=d.itemRefCallback)||void 0===t?void 0:t.call(d,e,o,i)}),b=(0,h.B)(),x=r.useRef("touch"),E=()=>{i||(s.onValueChange(o),s.onOpenChange(!1))};if(""===o)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,C.jsx)(ed,{scope:n,value:o,disabled:i,textId:b,isSelected:f,onItemTextChange:r.useCallback(e=>{v(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[]),children:(0,C.jsx)(T.ItemSlot,{scope:n,value:o,disabled:i,textValue:p,children:(0,C.jsx)(g.sG.div,{role:"option","aria-labelledby":b,"data-highlighted":m?"":void 0,"aria-selected":f&&m,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...c,ref:w,onFocus:(0,l.mK)(c.onFocus,()=>y(!0)),onBlur:(0,l.mK)(c.onBlur,()=>y(!1)),onClick:(0,l.mK)(c.onClick,()=>{"mouse"!==x.current&&E()}),onPointerUp:(0,l.mK)(c.onPointerUp,()=>{"mouse"===x.current&&E()}),onPointerDown:(0,l.mK)(c.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,l.mK)(c.onPointerMove,e=>{if(x.current=e.pointerType,i){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}else"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.mK)(c.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}}),onKeyDown:(0,l.mK)(c.onKeyDown,e=>{var t;((null===(t=d.searchRef)||void 0===t?void 0:t.current)===""||" "!==e.key)&&(A.includes(e.key)&&E()," "===e.key&&e.preventDefault())})})})})});ep.displayName=es;var eh="SelectItemText",ev=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:i,style:l,...a}=e,c=_(eh,n),s=X(eh,n),d=ef(eh,n),f=K(eh,n),[p,h]=r.useState(null),v=(0,u.s)(t,e=>h(e),d.onItemTextChange,e=>{var t;return null===(t=s.itemTextRefCallback)||void 0===t?void 0:t.call(s,e,d.value,d.disabled)}),m=null==p?void 0:p.textContent,y=r.useMemo(()=>(0,C.jsx)("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:w,onNativeOptionRemove:b}=f;return(0,x.N)(()=>(w(y),()=>b(y)),[w,b,y]),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(g.sG.span,{id:d.textId,...a,ref:v}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?o.createPortal(a.children,c.valueNode):null]})});ev.displayName=eh;var em="SelectItemIndicator",eg=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return ef(em,n).isSelected?(0,C.jsx)(g.sG.span,{"aria-hidden":!0,...r,ref:t}):null});eg.displayName=em;var ey="SelectScrollUpButton",ew=r.forwardRef((e,t)=>{let n=X(ey,e.__scopeSelect),o=et(ey,e.__scopeSelect),[i,l]=r.useState(!1),a=(0,u.s)(t,o.onScrollButtonChange);return(0,x.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){l(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,C.jsx)(eC,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});ew.displayName=ey;var eb="SelectScrollDownButton",ex=r.forwardRef((e,t)=>{let n=X(eb,e.__scopeSelect),o=et(eb,e.__scopeSelect),[i,l]=r.useState(!1),a=(0,u.s)(t,o.onScrollButtonChange);return(0,x.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;l(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,C.jsx)(eC,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ex.displayName=eb;var eC=r.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:o,...i}=e,a=X("SelectScrollButton",n),u=r.useRef(null),c=P(n),s=r.useCallback(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return r.useEffect(()=>()=>s(),[s]),(0,x.N)(()=>{var e;let t=c().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[c]),(0,C.jsx)(g.sG.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,l.mK)(i.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(o,50))}),onPointerMove:(0,l.mK)(i.onPointerMove,()=>{var e;null===(e=a.onItemLeave)||void 0===e||e.call(a),null===u.current&&(u.current=window.setInterval(o,50))}),onPointerLeave:(0,l.mK)(i.onPointerLeave,()=>{s()})})}),eE=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e;return(0,C.jsx)(g.sG.div,{"aria-hidden":!0,...r,ref:t})});eE.displayName="SelectSeparator";var eS="SelectArrow";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=I(n),i=_(eS,n),l=X(eS,n);return i.open&&"popper"===l.position?(0,C.jsx)(v.i3,{...o,...r,ref:t}):null}).displayName=eS;var ek=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,...i}=e,l=r.useRef(null),a=(0,u.s)(t,l),c=function(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(o);return r.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(c!==o&&t){let n=new Event("change",{bubbles:!0});t.call(e,o),e.dispatchEvent(n)}},[c,o]),(0,C.jsx)(g.sG.select,{...i,style:{...E,...i.style},ref:a,defaultValue:o})});function eR(e){return""===e||void 0===e}function eA(e){let t=(0,w.c)(e),n=r.useRef(""),o=r.useRef(0),i=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),l=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,i,l]}function eM(e,t,n){var r,o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=n?e.indexOf(n):-1,a=(r=e,o=Math.max(l,0),r.map((e,t)=>r[(o+t)%r.length]));1===i.length&&(a=a.filter(e=>e!==n));let u=a.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return u!==n?u:void 0}ek.displayName="SelectBubbleInput";var eT=F,eP=H,ej=G,eL=z,eD=V,eI=q,eO=er,e_=ea,eN=ec,eK=ep,eF=ev,eB=eg,eH=ew,eW=ex,eG=eE},5513:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(3176),o=n(6073),i=n(5257),l=n(3299),a=n(4),u=r.forwardRef((e,t)=>{var n,u;let{container:c,...s}=e,[d,f]=r.useState(!1);(0,l.N)(()=>f(!0),[]);let p=c||d&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,a.jsx)(i.sG.div,{...s,ref:t}),p):null});u.displayName="Portal"},5622:(e,t,n)=>{n.d(t,{v:()=>u});var r=n(3176);let o=e=>{let t;let n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({}
1,t,o),n.forEach(n=>n(t,e))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>l,subscribe:e=>(n.add(e),()=>n.delete(e))},l=t=e(r,o,i);return i},i=e=>e?o(e):o,l=e=>e,a=e=>{let t=i(e),n=e=>(function(e,t=l){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},u=e=>e?a(e):a},6499:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},r=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(e){return["async","defer","noModule"].includes(e)}function i(e,t){for(let[i,l]of Object.entries(t)){if(!t.hasOwnProperty(i)||r.includes(i)||void 0===l)continue;let a=n[i]||i.toLowerCase();"SCRIPT"===e.tagName&&o(a)?e[a]=!!l:e.setAttribute(a,String(l)),(!1===l||"SCRIPT"===e.tagName&&o(a)&&(!l||"false"===l))&&(e.setAttribute(a,""),e.removeAttribute(a))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6764:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return y},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return m}});let r=n(2539),o=n(6032),i=n(4),l=r._(n(6073)),a=o._(n(3176)),u=n(4751),c=n(6499),s=n(7156),d=new Map,f=new Set,p=e=>{if(l.default.preinit){e.forEach(e=>{l.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}},h=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:o=null,dangerouslySetInnerHTML:i,children:l="",strategy:a="afterInteractive",onError:u,stylesheets:s}=e,h=n||t;if(h&&f.has(h))return;if(d.has(t)){f.add(h),d.get(t).then(r,u);return}let v=()=>{o&&o(),f.add(h)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),r&&r.call(this,t),v()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});i?(m.innerHTML=i.__html||"",v()):l?(m.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",v()):t&&(m.src=t,d.set(t,g)),(0,c.setAttributesFromProps)(m,e),"worker"===a&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",a),s&&p(s),document.body.appendChild(m)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))}):h(e)}function m(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:o=null,strategy:c="afterInteractive",onError:d,stylesheets:p,...v}=e,{updateScripts:m,scripts:g,getIsSsr:y,appDir:w,nonce:b}=(0,a.useContext)(u.HeadManagerContext),x=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||n;x.current||(o&&e&&f.has(e)&&o(),x.current=!0)},[o,t,n]);let C=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{if(!C.current){if("afterInteractive"===c)h(e);else if("lazyOnload"===c)"complete"===document.readyState?(0,s.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))});C.current=!0}},[e,c]),("beforeInteractive"===c||"worker"===c)&&(m?(g[c]=(g[c]||[]).concat([{id:t,src:n,onLoad:r,onReady:o,onError:d,...v}]),m(g)):y&&y()?f.add(t||n):y&&!y()&&h(e)),w){if(p&&p.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)return n?(l.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:b,crossOrigin:v.crossOrigin}:{as:"script",nonce:b,crossOrigin:v.crossOrigin}),(0,i.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+J
1SON.stringify([n,{...v,id:t}])+")"}})):(v.dangerouslySetInnerHTML&&(v.children=v.dangerouslySetInnerHTML.__html,delete v.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...v,id:t}])+")"}}));"afterInteractive"===c&&n&&l.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:b,crossOrigin:v.crossOrigin}:{as:"script",nonce:b,crossOrigin:v.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6815:(e,t,n)=>{function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{A:()=>o});var o=function e(t,n){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var a in i){if(i[a])l+="; "+a,!0!==i[a]&&(l+="="+i[a].split(";")[0])}return document.cookie=e+"="+t.write(o,e)+l}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),l=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=t.read(l,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},6926:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},7016:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},7156:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7721:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9290).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},8072:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(3176),o=n(5648),i=n(5257),l=n(2233),a=n(4),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:m,onUnmountAutoFocus:g,...y}=e,[w,b]=r.useState(null),x=(0,l.c)(m),C=(0,l.c)(g),E=r.useRef(null),S=(0,o.s)(t,e=>b(e)),k=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(k.paused||!w)return;let t=e.target;w.contains(t)?E.current=t:h(E.current,{select:!0})},t=function(e){if(k.paused||!w)return;let t=e.relatedTarget;null===t||w.contains(t)||h(E.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&h(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,w,k.paused]),r.useEffect(()=>{if(w){v.add(k);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(u,s);w.addEventListener(u,x),w.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(f(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(w))}return()=>{w.removeEventListener(u,x),setTimeout(()=>{let t=new CustomEvent(c,s);w.addEventListener(c,C),w.dispatchEvent(t),t.defaultPrevented||h(null!=e?e:document.body,{select:!0}),w.removeEventListener(c,C),v.remove(k)},0)}}},[w,x,C,k]);let R=r.useCallback(e=>{if(!n&&!d||k.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,i]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&h(i,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,k.paused]);return(0,a.jsx)(i.sG.div,{tabIndex:-1,...y,ref:S,onKeyDown:R})});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function h(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}d.displayName="FocusScope";var v=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=m(e,t)).unshift(t)},remove(t){var n;null===(n=(e=m(e,t))[0])||void 0===n||n.resume()}}}();function m(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},8831:(e,t,n)=>{n.d(t,{A:()=>r});function r(e){return e}},9132:(e,t,n)=>{n.d(t,{Mz:()=>e8,i3:()=>tt,UC:()=>te,bL:()=>e7,Bk:()=>eU});var r=n(3176);let o=["top","right","bottom","left"],i=Math.min,l=Math.max,a=Math.round,u=Math.floor,c=e=>({x:e,y:e}
1),s={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function y(e){return g.has(p(e))?"y":"x"}function w(e){return e.replace(/start|end/g,e=>d[e])}let b=["left","right"],x=["right","left"],C=["top","bottom"],E=["bottom","top"];function S(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function A(e,t,n){let r,{reference:o,floating:i}=e,l=y(t),a=v(y(t)),u=m(a),c=p(t),s="y"===l,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,g=o[u]/2-i[u]/2;switch(c){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(h(t)){case"start":r[a]-=g*(n&&s?-1:1);break;case"end":r[a]+=g*(n&&s?-1:1)}return r}let M=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:d}=A(c,r,u),f=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:v}=a[n],{x:m,y:g,data:y,reset:w}=await v({x:s,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=m?m:s,d=null!=g?g:d,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:s,y:d}=A(c,f,u)),n=-1)}return{x:s,y:d,placement:f,strategy:o,middlewareData:p}};async function T(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=f(t,e),v=k(h),m=a[p?"floating"===d?"reference":"floating":d],g=R(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:u})),y="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},x=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-x.top+v.top)/b.y,bottom:(x.bottom-g.bottom+v.bottom)/b.y,left:(g.left-x.left+v.left)/b.x,right:(x.right-g.right+v.right)/b.x}}function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function j(e){return o.some(t=>e[t]>=0)}let L=new Set(["left","top"]);async function D(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=p(n),a=h(n),u="y"===y(n),c=L.has(l)?-1:1,s=i&&u?-1:1,d=f(t,e),{mainAxis:v,crossAxis:m,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof g&&(m="end"===a?-1*g:g),u?{x:m*s,y:v*c}:{x:v*c,y:m*s}}function I(){return"undefined"!=typeof window}function O(e){return K(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(K(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function K(e){return!!I()&&(e instanceof Node||e instanceof _(e).Node)}function F(e){return!!I()&&(e instanceof Element||e instanceof _(e).Element)}function B(e){return!!I()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function H(e){return!!I()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}let W=new Set(["inline","contents"]);function G(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ee(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!W.has(o)}let z=new Set(["table","td","th"]),V=[":popover-open",":modal"];function U(e){return V.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let q=["transform","translate","scale","rotate","perspective"],Y=["transform","translate","scale","rotate","perspective","filter"],X=["paint","layout","strict","content"];function Z(e){let t=J(),n=F(e)?ee(e):e;return q.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Y.some(e=>(n.willChange||"").includes(e))||X.some(e=>(n.contain||"").includes(e))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let $=new Set(["html","body","#document"]);function Q(e){return $.has(O(e))}function ee(e){return _(e).getComputedStyle(e)}function et(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||H(e)&&e.host||N(e);return H(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&G(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=_(o);if(i){let e=eo(l);return t.concat(l,l.visualViewport||[],G(o)?o:[],e&&n?er(e):[])}return t.concat(o,er(o,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=B(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,u=a(n)!==i||a(r)!==l;return u&&(n=i,r=l),{width:n,height:r,$:u}}function el(e){return F(e)?e:e.contextElement}function ea(e){let t=el(e);if(!B(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ei(t),l=(i?a(n.width):n.width)/r,u=(i?a(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let eu=c(0);function ec(e){let t=_(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eu}function es(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=el(e),a=c(1);t&&(r?F(r)&&(a=ea(r)):a=ea(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===_(l))&&o)?ec(l):c(0),s=(i.left+u.x)/a.x,d=(i.top+u.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(l){let e=_(l),t=r&&F(r)?_(r):r,n=e,o=eo(n);for(;o&&r&&t!==n;){let e=ea(o),t=o.getBoundingClientRect(),r=ee(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,d*=e.y,f*=e.x,p*=e.y,s+=i,d+=l,o=eo(n=_(o))}}return R({width:f,height:p,x:s,y:d})}function ed(e,t){let n=et(e).scrollLeft;return t?t.left+n:es(N(e)).left+n}function ef(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ed(e,r)),y:r.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eh(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=_(e),r=N(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=J();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=N(e),n=et(e),r=e.ownerDocument.body,o=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ed(e),u=-n.scrollTop;return"rtl"===ee(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:u}}(N(e));else if(F(t))r=function(e,t){let n=es(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=B(e)?ea(e):c(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=ec(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return R(r)}function ev(e){return"static"===ee(e).position}function em(e,t){if(!B(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return N(e)===n&&(n=n.ownerDocument.body),n}function eg(e,t){var n;let r=_(e);if(U(e))return r;if(!B(e)){let t=en(e);for(;t&&!Q(t);){if(F(t)&&!ev(t))return t;t=en(t)}return r}let o=em(e,t);for(;o&&(n=o,z.has(O(n)))&&ev(o);)o=em(o,t);
1return o&&Q(o)&&ev(o)&&!Z(o)?r:o||function(e){let t=en(e);for(;B(t)&&!Q(t);){if(Z(t))return t;if(U(t))break;t=en(t)}return null}(e)||r}let ey=async function(e){let t=this.getOffsetParent||eg,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=B(t),o=N(t),i="fixed"===n,l=es(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=c(0);if(r||!r&&!i){if(("body"!==O(t)||G(o))&&(a=et(t)),r){let e=es(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=ed(o))}i&&!r&&o&&(u.x=ed(o));let s=!o||r||i?c(0):ef(o,a);return{x:l.left+a.scrollLeft-u.x-s.x,y:l.top+a.scrollTop-u.y-s.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=N(r),a=!!t&&U(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},s=c(1),d=c(0),f=B(r);if((f||!f&&!i)&&(("body"!==O(r)||G(l))&&(u=et(r)),B(r))){let e=es(r);s=ea(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=!l||f||i?c(0):ef(l,u,!0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+d.x+p.x,y:n.y*s.y-u.scrollTop*s.y+d.y+p.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>F(e)&&"body"!==O(e)),o=null,i="fixed"===ee(e).position,l=i?en(e):e;for(;F(l)&&!Q(l);){let t=ee(l),n=Z(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ep.has(o.position)||G(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!F(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=a[0],c=a.reduce((e,n)=>{let r=eh(t,n,o);return e.top=l(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=l(r.left,e.left),e},eh(t,u,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:eg,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ei(e);return{width:t,height:n}},getScale:ea,isElement:F,isRTL:function(e){return"rtl"===ee(e).direction}};function eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:a,platform:u,elements:c,middlewareData:s}=t,{element:d,padding:p=0}=f(e,t)||{};if(null==d)return{};let g=k(p),w={x:n,y:r},b=v(y(o)),x=m(b),C=await u.getDimensions(d),E="y"===b,S=E?"clientHeight":"clientWidth",R=a.reference[x]+a.reference[b]-w[b]-a.floating[x],A=w[b]-a.reference[b],M=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),T=M?M[S]:0;T&&await (null==u.isElement?void 0:u.isElement(M))||(T=c.floating[S]||a.floating[x]);let P=T/2-C[x]/2-1,j=i(g[E?"top":"left"],P),L=i(g[E?"bottom":"right"],P),D=T-C[x]-L,I=T/2-C[x]/2+(R/2-A/2),O=l(j,i(I,D)),_=!s.arrow&&null!=h(o)&&I!==O&&a.reference[x]/2-(I<j?j:L)-C[x]/2<0,N=_?I<j?I-j:I-D:0;return{[b]:w[b]+N,data:{[b]:O,centerOffset:I-O-N,..._&&{alignmentOffset:N}},reset:_}}}),eC=(e,t,n)=>{let r=new Map,o={platform:ew,...n},i={...o.platform,_c:r};return M(e,t,{...o,platform:i})};var eE=n(6073),eS="undefined"!=typeof document?r.useLayoutEffect:function(){};function ek(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ek(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!ek(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eR(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eA(e,t){let n=eR(e);return Math.round(t*n)/n}function eM(e){let t=r.useRef(e);return eS(()=>{t.current=e}),t}let eT=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ex({element:n.current,padding:r}).fn(t):{}:n?ex({element:n,padding:r}).fn(t):{}}}),eP=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,u=await D(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}}(e),options:[e,t]}),ej=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=f(e,t),d={x:n,y:r},h=await T(t,s),m=y(p(o)),g=v(m),w=d[g],b=d[m];if(a){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=w+h[e],r=w-h[t];w=l(n,i(w,r))}if(u){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=b+h[e],r=b-h[t];b=l(n,i(b,r))}let x=c.fn({...t,[g]:w,[m]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[g]:a,[m]:u}}}}}}(e),options:[e,t]}),eL=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:u=!0,crossAxis:c=!0}=f(e,t),s={x:n,y:r}
1,d=y(o),h=v(d),m=s[h],g=s[d],w=f(a,t),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+b.mainAxis,n=i.reference[h]+i.reference[e]-b.mainAxis;m<t?m=t:m>n&&(m=n)}if(c){var x,C;let e="y"===h?"width":"height",t=L.has(p(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(x=l.offset)?void 0:x[d])||0)+(t?0:b.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(C=l.offset)?void 0:C[d])||0)-(t?b.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[h]:m,[d]:g}}}}(e),options:[e,t]}),eD=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:u,rects:c,initialPlacement:s,platform:d,elements:g}=t,{mainAxis:k=!0,crossAxis:R=!0,fallbackPlacements:A,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:j=!0,...L}=f(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let D=p(a),I=y(s),O=p(s)===s,_=await (null==d.isRTL?void 0:d.isRTL(g.floating)),N=A||(O||!j?[S(s)]:function(e){let t=S(e);return[w(e),t,w(t)]}(s)),K="none"!==P;!A&&K&&N.push(...function(e,t,n,r){let o=h(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:b;return t?b:x;case"left":case"right":return t?C:E;default:return[]}}(p(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(w)))),i}(s,j,P,_));let F=[s,...N],B=await T(t,L),H=[],W=(null==(r=u.flip)?void 0:r.overflows)||[];if(k&&H.push(B[D]),R){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),o=v(y(e)),i=m(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=S(l)),[l,S(l)]}(a,c,_);H.push(B[e[0]],B[e[1]])}if(W=[...W,{placement:a,overflows:H}],!H.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=F[e];if(t&&("alignment"!==R||I===y(t)||W.every(e=>y(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:W},reset:{placement:t}};let n=null==(i=W.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(M){case"bestFit":{let e=null==(l=W.filter(e=>{if(K){let t=y(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}),eI=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,a;let{placement:u,rects:c,platform:s,elements:d}=t,{apply:v=()=>{},...m}=f(e,t),g=await T(t,m),w=p(u),b=h(u),x="y"===y(u),{width:C,height:E}=c.floating;"top"===w||"bottom"===w?(o=w,a=b===(await (null==s.isRTL?void 0:s.isRTL(d.floating))?"start":"end")?"left":"right"):(a=w,o="end"===b?"top":"bottom");let S=E-g.top-g.bottom,k=C-g.left-g.right,R=i(E-g[o],S),A=i(C-g[a],k),M=!t.middlewareData.shift,P=R,j=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(j=k),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=S),M&&!b){let e=l(g.left,0),t=l(g.right,0),n=l(g.top,0),r=l(g.bottom,0);x?j=C-2*(0!==e||0!==t?e+t:l(g.left,g.right)):P=E-2*(0!==n||0!==r?n+r:l(g.top,g.bottom))}await v({...t,availableWidth:j,availableHeight:P});let L=await s.getDimensions(d.floating);return C!==L.width||E!==L.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),eO=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=f(e,t);switch(r){case"referenceHidden":{let e=P(await T(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:j(e)}}}case"escaped":{let e=P(await T(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:j(e)}}}default:return{}}}}}(e),options:[e,t]}),e_=(e,t)=>({...eT(e),options:[e,t]});var eN=n(5257),eK=n(4),eF=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eK.jsx)(eN.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eK.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eF.displayName="Arrow";var eB=n(5648),eH=n(7982),eW=n(2233),eG=n(3299),ez="Popper",[eV,eU]=(0,eH.A)(ez),[eq,eY]=eV(ez),eX=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,eK.jsx)(eq,{scope:t,anchor:o,onAnchorChange:i,children:n})};eX.displayName=ez;var eZ="PopperAnchor",eJ=r.forwardRef((e,t)=>
1{let{__scopePopper:n,virtualRef:o,...i}=e,l=eY(eZ,n),a=r.useRef(null),u=(0,eB.s)(t,a),c=r.useRef(null);return r.useEffect(()=>{let e=c.current;c.current=(null==o?void 0:o.current)||a.current,e!==c.current&&l.onAnchorChange(c.current)}),o?null:(0,eK.jsx)(eN.sG.div,{...i,ref:u})});eJ.displayName=eZ;var e$="PopperContent",[eQ,e0]=eV(e$),e1=r.forwardRef((e,t)=>{var n,o,a,c,s,d,f,p;let{__scopePopper:h,side:v="bottom",sideOffset:m=0,align:g="center",alignOffset:y=0,arrowPadding:w=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:C=0,sticky:E="partial",hideWhenDetached:S=!1,updatePositionStrategy:k="optimized",onPlaced:R,...A}=e,M=eY(e$,h),[T,P]=r.useState(null),j=(0,eB.s)(t,e=>P(e)),[L,D]=r.useState(null),I=function(e){let[t,n]=r.useState(void 0);return(0,eG.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(L),O=null!==(f=null==I?void 0:I.width)&&void 0!==f?f:0,_=null!==(p=null==I?void 0:I.height)&&void 0!==p?p:0,K="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},F=Array.isArray(x)?x:[x],B=F.length>0,H={padding:K,boundary:F.filter(e5),altBoundary:B},{refs:W,floatingStyles:G,placement:z,isPositioned:V,middlewareData:U}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:a}={},transform:u=!0,whileElementsMounted:c,open:s}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);ek(p,o)||h(o);let[v,m]=r.useState(null),[g,y]=r.useState(null),w=r.useCallback(e=>{e!==E.current&&(E.current=e,m(e))},[]),b=r.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),x=l||v,C=a||g,E=r.useRef(null),S=r.useRef(null),k=r.useRef(d),R=null!=c,A=eM(c),M=eM(i),T=eM(s),P=r.useCallback(()=>{if(!E.current||!S.current)return;let e={placement:t,strategy:n,middleware:p};M.current&&(e.platform=M.current),eC(E.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};j.current&&!ek(k.current,t)&&(k.current=t,eE.flushSync(()=>{f(t)}))})},[p,t,n,M,T]);eS(()=>{!1===s&&k.current.isPositioned&&(k.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[s]);let j=r.useRef(!1);eS(()=>(j.current=!0,()=>{j.current=!1}),[]),eS(()=>{if(x&&(E.current=x),C&&(S.current=C),x&&C){if(A.current)return A.current(x,C,P);P()}},[x,C,P,A,R]);let L=r.useMemo(()=>({reference:E,floating:S,setReference:w,setFloating:b}),[w,b]),D=r.useMemo(()=>({reference:x,floating:C}),[x,C]),I=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eA(D.floating,d.x),r=eA(D.floating,d.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eR(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,D.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:P,refs:L,elements:D,floatingStyles:I}),[d,P,L,D,I])}({strategy:"fixed",placement:v+("center"!==g?"-"+g:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=el(e),h=a||c?[...p?er(p):[],...er(t)]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let v=p&&d?function(e,t){let n,r=null,o=N(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function c(s,d){void 0===s&&(s=!1),void 0===d&&(d=1),a();let f=e.getBoundingClientRect(),{left:p,top:h,width:v,height:m}=f;if(s||t(),!v||!m)return;let g=u(h),y=u(o.clientWidth-(p+v)),w={rootMargin:-g+"px "+-y+"px "+-u(o.clientHeight-(h+m))+"px "+-u(p)+"px",threshold:l(0,i(1,d))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==d){if(!b)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||eb(f,e.getBoundingClientRect())||c(),b=!1}try{r=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),a}(p,n):null,m=-1,g=null;s&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!f&&g.observe(p),g.observe(t));let y=f?es(e):null;return f&&function t(){let r=es(e);y&&!eb(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;
1h.forEach(e=>{a&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=g)||e.disconnect(),g=null,f&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===k})},elements:{reference:M.anchor},middleware:[eP({mainAxis:m+_,alignmentAxis:y}),b&&ej({mainAxis:!0,crossAxis:!1,limiter:"partial"===E?eL():void 0,...H}),b&&eD({...H}),eI({...H,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),L&&e_({element:L,padding:w}),e4({arrowWidth:O,arrowHeight:_}),S&&eO({strategy:"referenceHidden",...H})]}),[q,Y]=e9(z),X=(0,eW.c)(R);(0,eG.N)(()=>{V&&(null==X||X())},[V,X]);let Z=null===(n=U.arrow)||void 0===n?void 0:n.x,J=null===(o=U.arrow)||void 0===o?void 0:o.y,$=(null===(a=U.arrow)||void 0===a?void 0:a.centerOffset)!==0,[Q,ee]=r.useState();return(0,eG.N)(()=>{T&&ee(window.getComputedStyle(T).zIndex)},[T]),(0,eK.jsx)("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:V?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null===(c=U.transformOrigin)||void 0===c?void 0:c.x,null===(s=U.transformOrigin)||void 0===s?void 0:s.y].join(" "),...(null===(d=U.hide)||void 0===d?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eK.jsx)(eQ,{scope:h,placedSide:q,onArrowChange:D,arrowX:Z,arrowY:J,shouldHideArrow:$,children:(0,eK.jsx)(eN.sG.div,{"data-side":q,"data-align":Y,...A,ref:j,style:{...A.style,animation:V?void 0:"none"}})})})});e1.displayName=e$;var e2="PopperArrow",e6={top:"bottom",right:"left",bottom:"top",left:"right"},e3=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=e0(e2,n),i=e6[o.placedSide];return(0,eK.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eK.jsx)(eF,{...r,ref:t,style:{...r.style,display:"block"}})})});function e5(e){return null!==e}e3.displayName=e2;var e4=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[p,h]=e9(a),v={start:"0%",center:"50%",end:"100%"}[h],m=(null!==(i=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,g=(null!==(l=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+f/2,y="",w="";return"bottom"===p?(y=s?v:"".concat(m,"px"),w="".concat(-f,"px")):"top"===p?(y=s?v:"".concat(m,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),w=s?v:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+f,"px"),w=s?v:"".concat(g,"px")),{data:{x:y,y:w}}}});function e9(e){let[t,n="center"]=e.split("-");return[t,n]}var e7=eX,e8=eJ,te=e1,tt=e3}}]);

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.