PageSourceSearch

https://docs.odock.ai/_next/static/chunks/9069-233679ebc5cd11d8.js

js odock.ai collected 2026-10-05 12:20:06 UTC 40,263 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9069],{11570:(e,t,n)=>{function r(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}function o(e,t,n=!1){return(e=r(e))===(t=r(t))||n&&t.startsWith(`${e}/`)}n.d(t,{$:()=>o,S:()=>r})},16859:(e,t,n)=>{n.d(t,{H:()=>c,K:()=>u});var r=n(57988),o=n(3306),i=n(54283),l=n(63882),a=n(7436),s=n(75734);function c({hideIfDisabled:e,size:t="icon-sm",color:n="ghost",...u}){let{setOpenSearch:f,enabled:d}=(0,i.$A)(),p=(0,s.c)({note:"search trigger"});return e&&!d?null:(0,l.jsx)("button",{type:"button",className:(0,r.QP)((0,o.r)({size:t,color:n}),u.className),"data-search":"","aria-label":p("Open Search",{note:"aria-label"}),onClick:()=>{f(!0)},children:(0,l.jsx)(a.A,{})})}function u({hideIfDisabled:e,...t}){let{enabled:n,hotKey:o,setOpenSearch:c}=(0,i.$A)(),f=(0,s.c)({note:"search trigger"});return e&&!n?null:(0,l.jsxs)("button",{type:"button","data-search-full":"",...t,className:(0,r.QP)("inline-flex items-center gap-2 rounded-lg border bg-fd-secondary/50 p-1.5 ps-2 text-sm text-fd-muted-foreground transition-colors hover:bg-fd-accent hover:text-fd-accent-foreground",t.className),onClick:()=>{c(!0)},children:[(0,l.jsx)(a.A,{className:"size-4"}),f("Search"),(0,l.jsx)("div",{className:"ms-auto inline-flex gap-0.5",children:o.map((e,t)=>(0,l.jsx)("kbd",{className:"rounded-md border bg-fd-background px-1.5",children:e.display},t))})]})}},29085:(e,t,n)=>{n.d(t,{LinkItem:()=>R,baseSlots:()=>j});var r=n(19363),o=n(57988),i=n(3306),l=n(89750),a=n(63882),s=n(75734);function c({className:e,variant:t="ghost",children:n,...u}){let f=(0,r.s)(),d=(0,s.c)({note:"language switcher"});if(!f.locales)throw Error("Missing `<I18nProvider />`");let p=d("Choose a language");return(0,a.jsxs)(l.AM,{children:[(0,a.jsx)(l.Wv,{"aria-label":d("Choose a language",{note:"aria-label"}),className:(0,o.QP)((0,i.r)({variant:t}),"gap-1.5 p-1.5 data-[state=open]:bg-fd-accent",e),...u,children:n}),(0,a.jsxs)(l.hl,{className:"flex flex-col gap-0.5 p-1",children:[(0,a.jsx)("p",{className:"p-2 text-xs font-medium text-fd-muted-foreground",children:p}),f.locales.map(e=>(0,a.jsx)("button",{type:"button",className:(0,o.QP)("px-2 py-1.5 text-start text-sm rounded-lg transition-colors",e.locale===f.locale?"bg-fd-primary/10 text-fd-primary":"text-fd-muted-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"),onClick:()=>{f.onChange?.(e.locale)},children:e.name},e.locale))]})]})}function u(e){let{locales:t,locale:n}=(0,r.s)(),o=t?.find(e=>e.locale===n)?.name;return(0,a.jsx)("span",{...e,children:o})}var f=n(16859),d=n(91626);let p=(0,d.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"}]]),h=(0,d.A)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),m=(0,d.A)("airplay",[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]]);var g=n(77435),x=n(77954),v=n(76308);let y=(0,g.F)("size-6.5 p-1.5 text-fd-muted-foreground",{variants:{active:{true:"bg-fd-accent text-fd-accent-foreground",false:"text-fd-muted-foreground"}}}),w=[["light",p],["dark",h],["system",m]];function b({className:e,mode:t="light-dark",...n}){let{setTheme:r,theme:i,resolvedTheme:l}=(0,v.D)(),[c,u]=(0,x.useState)(!1),f=(0,s.c)({note:"theme switcher"}),d={light:f("Light",{note:"aria-label"}),dark:f("Dark",{note:"aria-label"}),system:f("System",{note:"aria-label"})};(0,x.useEffect)(()=>{u(!0)},[]);let p=(0,o.QP)("inline-flex items-center rounded-full border p-1 overflow-hidden *:rounded-full",e);if("light-dark"===t){let e=c?l:null;return(0,a.jsx)("button",{className:p,"aria-label":f("Toggle Theme",{note:"aria-label"}),onClick:()=>r("light"===e?"dark":"light"),"data-theme-toggle":"",children:w.map(([t,n])=>{if("system"!==t)return(0,a.jsx)(n,{fill:"currentColor",className:(0,o.QP)(y({active:e===t}))},t)})})}let h=c?i:null;return(0,a.jsx)("div",{className:p,"data-theme-toggle":"",...n,children:w.map(([e,t])=>(0,a.jsx)("button",{"aria-label":d[e],className:(0,o.QP)(y({active:h===e})),onClick:()=>
1r(e),children:(0,a.jsx)(t,{className:"size-full",fill:"currentColor"})},e))})}var A=n(79423),k=n(78819),C=n(38486);function R({ref:e,item:t,...n}){let r=(0,A.Og)(t,(0,C.a8)());return(0,a.jsx)(k.default,{ref:e,href:t.url,external:t.external,...n,"data-active":r,children:n.children})}function j({useProps:e}){function t(t){let{themeSwitch:n}=e();return n.component?n.component:(0,a.jsx)(b,{...t,...n})}function n(t){let{searchToggle:n}=e();return n.components?.sm?n.components.sm:(0,a.jsx)(f.H,{...t,...n.sm})}function o(t){let{searchToggle:n}=e();return n.components?.lg?n.components.lg:(0,a.jsx)(f.K,{...t,...n.full})}function i({href:t="/",...n}){let{url:r=t,title:o}=e().nav??{};return"function"==typeof o?o({href:r,...n}):(0,a.jsx)(k.default,{href:r,...n,children:o})}return{useProvider(e){let{locales:l=[]}=(0,r.s)(),{nav:a,slots:s={},i18n:f=l.length>1,searchToggle:{enabled:d=!0,...p}={},themeSwitch:{enabled:h=!0,...m}={}}=e;return{baseSlots:{navTitle:s.navTitle??i,themeSwitch:h&&(s.themeSwitch??t),languageSelect:!!f&&(s.languageSelect??{root:c,text:u}),searchTrigger:d&&(s.searchTrigger??{sm:n,full:o})},baseProps:{nav:a,searchToggle:p,themeSwitch:m}}}}}},49970:(e,t,n)=>{n.d(t,{u:()=>o});var r=n(77954);function o({enabled:e=!0}){let[t,n]=(0,r.useState)();return(0,r.useEffect)(()=>{if(!e)return;let t=()=>{n(window.scrollY<10)};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e]),t}},53447:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(91626).A)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]])},77174:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(91626).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},78819:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r=n(38486),o=n(77954),i=n(63882);let l=(0,o.forwardRef)(({href:e="#",external:t=e.match(/^\w+:/)||e.startsWith("//"),prefetch:n,children:o,...l},a)=>t?(0,i.jsx)("a",{ref:a,href:e,rel:"noreferrer noopener",target:"_blank",...l,children:o}):(0,i.jsx)(r.N_,{ref:a,href:e,prefetch:n,...l,children:o}));l.displayName="Link"},79423:(e,t,n)=>{n.d(t,{So:()=>a,Og:()=>c,u2:()=>s});var r=n(11570);n(29085);var o=n(63882),i=n(77954),l=n(86687);function a(e,t){return e.$folder?null!==l.r(e.$folder.children,e=>"page"===e.type&&(0,r.$)(e.url,t)):e.urls?e.urls.has((0,r.S)(t)):(0,r.$)(e.url,t,!0)}function s({githubUrl:e,links:t}){return(0,i.useMemo)(()=>{let n=function({links:e=[],githubUrl:t}){let n=[...e];return t&&n.push({type:"icon",url:t,text:"Github",label:"GitHub",icon:(0,o.jsx)("svg",{role:"img",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})}),external:!0}),n}({links:t,githubUrl:e}),r=[],i=[];for(let e of n)switch(e.on){case"menu":i.push(e);break;case"nav":r.push(e);break;default:r.push(e),i.push(e)}return{navItems:r,menuItems:i,all:n}},[t,e])}function c(e,t){return"custom"!==e.type&&!!e.url&&"none"!==e.active&&(0,r.$)(e.url,t,"nested-url"===e.active)}},86687:(e,t,n)=>{function r(e,t,n={}){let{includeSeparator:o=!0}=n;return function e(n){let r;for(let i of n){if(t(i)){let e=[];return r&&e.push(r),e.push(i),e}if("separator"===i.type&&o){r=i;continue}if("folder"===i.type){let n=i.index&&t(i.index)?[i.index]:e(i.children);if(n)return n.unshift(i),r&&n.unshift(r),n}}}(e)??null}n.d(t,{r:()=>r}),Symbol("VisitBreak")},89750:(e,t,n)=>{let r;n.d(t,{AM:()=>tx,hl:()=>ty,Wv:()=>tv});var o=n(57988),i=n(63882),l=n(77954),a=n(68478),s=n(35552),c=n(97368),u=n(80701),f=n(51851),d=n(19091),p=n(51855);let h=["top","right","bottom","left"],m=Math.min,g=Math.max,x=Math.round,v=Math.floor,y=e=>({x:e,y:e}
1),w={left:"right",right:"left",bottom:"top",top:"bottom"};function b(e,t){return"function"==typeof e?e(t):e}function A(e){return e.split("-")[0]}function k(e){return e.split("-")[1]}function C(e){return"x"===e?"y":"x"}function R(e){return"y"===e?"height":"width"}function j(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function P(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let S=["left","right"],O=["right","left"],E=["top","bottom"],N=["bottom","top"];function T(e){let t=A(e);return w[t]+e.slice(t.length)}function L(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function D(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 M(e,t,n){let r,{reference:o,floating:i}=e,l=j(t),a=C(j(t)),s=R(a),c=A(t),u="y"===l,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(c){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(k(t)){case"start":r[a]-=p*(n&&u?-1:1);break;case"end":r[a]+=p*(n&&u?-1:1)}return r}async function F(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=b(t,e),h=L(p),m=a[d?"floating"===f?"reference":"floating":f],g=D(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:u,strategy:s})),x="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await (null==i.isElement?void 0:i.isElement(v))&&await (null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=D(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:v,strategy:s}):x);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}let H=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:F},s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=M(c,r,s),d=r,p=0,h={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:g,fn:x}=m,{x:v,y:y,data:w,reset:b}=await x({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,f=null!=y?y:f,h[g]={...h[g],...w},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:f}=M(c,d,s)),n=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};function $(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function W(e){return h.some(t=>e[t]>=0)}let _=new Set(["left","top"]);async function z(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=A(n),a=k(n),s="y"===j(n),c=_.has(l)?-1:1,u=i&&s?-1:1,f=b(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*u,y:d*c}:{x:d*c,y:p*u}}function B(){return"u">typeof window}function I(e){return Q(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function K(e){var t;return null==(t=(Q(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Q(e){return!!B()&&(e instanceof Node||e instanceof V(e).Node)}function q(e){return!!B()&&(e instanceof Element||e instanceof V(e).Element)}function G(e){return!!B()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function Y(e){return!(!B()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function X(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function Z(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let U=/transform|translate|scale|rotate|perspective|filter/,J=/paint|layout|strict|content/,ee=e=>!!e&&"none"!==e;function et(e){let t=q(e)?eo(e):e;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||!en()&&(ee(t.backdropFilter)||ee(t.filter))||U.test(t.willChange||"")||J.test(t.contain||"")}function en(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function er(e){return/^(html|body|#document)$/.test(I(e))}function eo(e){return V(e).getComputedStyle(e)}function ei(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function el(e){if("html"===I(e))return e;let t=e.assignedSlot||e.parentNode||Y(e)&&e.host||K(e);return Y(t)?t.host:t}function ea(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=el(t);return er(n)?t.ownerDocument?t.ownerDocument.body:t.body:G(n)&&X(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=V(o);if(!i)return t.concat(o,ea(o,[],n));{let e=es(l);
1return t.concat(l,l.visualViewport||[],X(o)?o:[],e&&n?ea(e):[])}}function es(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ec(e){let t=eo(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=G(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=x(n)!==i||x(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function eu(e){return q(e)?e:e.contextElement}function ef(e){let t=eu(e);if(!G(t))return y(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ec(t),l=(i?x(n.width):n.width)/r,a=(i?x(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ed=y(0);function ep(e){let t=V(e);return en()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ed}function eh(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=eu(e),a=y(1);t&&(r?q(r)&&(a=ef(r)):a=ef(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===V(l))&&o)?ep(l):y(0),c=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l){let e=V(l),t=r&&q(r)?V(r):r,n=e,o=es(n);for(;o&&r&&t!==n;){let e=ef(o),t=o.getBoundingClientRect(),r=eo(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,f*=e.x,d*=e.y,c+=i,u+=l,o=es(n=V(o))}}return D({width:f,height:d,x:c,y:u})}function em(e,t){let n=ei(e).scrollLeft;return t?t.left+n:eh(K(e)).left+n}function eg(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-em(e,n),y:n.top+t.scrollTop}}function ex(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=V(e),r=K(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=en();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}let c=em(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else c<=25&&(i+=c);return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t){let t,n,i,l,a,s,c;r=K(e),t=K(r),n=ei(r),i=r.ownerDocument.body,l=g(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=g(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+em(r),c=-n.scrollTop,"rtl"===eo(i).direction&&(s+=g(t.clientWidth,i.clientWidth)-l),o={width:l,height:a,x:s,y:c}}else if(q(t)){let e,r,i,l,a,s;r=(e=eh(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=G(t)?ef(t):y(1),a=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:a,height:s,x:i*l.x,y:r*l.y}}else{let n=ep(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D(o)}function ev(e){return"static"===eo(e).position}function ey(e,t){if(!G(e)||"fixed"===eo(e).position)return null;if(t)return t(e);let n=e.offsetParent;return K(e)===n&&(n=n.ownerDocument.body),n}function ew(e,t){var n;let r=V(e);if(Z(e))return r;if(!G(e)){let t=el(e);for(;t&&!er(t);){if(q(t)&&!ev(t))return t;t=el(t)}return r}let o=ey(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(I(n)))&&ev(o);)o=ey(o,t);return o&&er(o)&&ev(o)&&!et(o)?r:o||function(e){let t=el(e);for(;G(t)&&!er(t);){if(et(t))return t;if(Z(t))break;t=el(t)}return null}(e)||r}let eb=async function(e){let t=this.getOffsetParent||ew,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=G(t),o=K(t),i="fixed"===n,l=eh(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=y(0);if(r||!r&&!i)if(("body"!==I(t)||X(o))&&(a=ei(t)),r){let e=eh(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=em(o));i&&!r&&o&&(s.x=em(o));let c=!o||r||i?y(0):eg(o,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.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}}},eA={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=K(r),a=!!t&&Z(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=y(1),u=y(0),f=G(r);if((f||!f&&!i)&&(("body"!==I(r)||X(l))&&(s=ei(r)),f)){let e=eh(r);c=ef(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let d=!l||f||i?y(0):eg(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-s.scrollTop*c.y+u.y+d.y}},getDocumentElement:K,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?Z(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ea(e,[],!1).filter(e=>q(e)&&"body"!==I(e)),o=null,i="fixed"===eo(e).position,l=i?el(e):e;for(;q(l)&&!er(l);){let t=eo(l),n=et(l);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||X(l)&&!n&&function e(t,n){let r=el(t);return!(r===n||!q(r)||er(r))&&("fixed"===eo(r).position||e(r,n))}(e,l)))?o=t:r=r.filter(e=>e!==l),l=el(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=ex(t,i[0],o),a=l.top,s=l.right,c=l.bottom,u=l.left;for(let e=1;e<i.length;e++){let n=ex(t,i[e],o);a=g(n.top,a),s=m(n.right,s),c=m(n.bottom,c),u=g(n.left,u)}return{width:s-u,height:c-a,x:u,y:a}},getOffsetParent:ew,getElementRects:eb,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ec(e);return{width:t,height:n}},getScale:ef,isElement:q,isRTL:function(e){return"rtl"===eo(e).direction}};function ek(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eC=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:c,padding:u=0}=b(e,t)||{};if(null==c)return{};let f=L(u),d={x:n,y:r},p=C(j(o)),h=R(p),x=await l.getDimensions(c),v="y"===p,y=v?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-d[p]-i.floating[h],A=d[p]-i.reference[p],P=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),S=P?P[y]:0;S&&await (null==l.isElement?void 0:l.isElement(P))||(S=a.floating[y]||i.floating[h]);let O=S/2-x[h]/2-1,E=m(f[v?"top":"left"],O),N=m(f[v?"bottom":"right"],O),T=S-x[h]-N,D=S/2-x[h
1]/2+(w/2-A/2),M=g(E,m(D,T)),F=!s.arrow&&null!=k(o)&&D!==M&&i.reference[h]/2-(D<E?E:N)-x[h]/2<0,H=F?D<E?D-E:D-T:0;return{[p]:d[p]+H,data:{[p]:M,centerOffset:D-M-H,...F&&{alignmentOffset:H}},reset:F}}});var eR=n(64703),ej="u">typeof document?l.useLayoutEffect:function(){};function eP(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(!eP(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)&&!eP(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eS(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eO(e,t){let n=eS(e);return Math.round(t*n)/n}function eE(e){let t=l.useRef(e);return ej(()=>{t.current=e}),t}var eN=n(84589),eT=l.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...l}=e;return(0,i.jsx)(eN.sG.svg,{...l,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,i.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eT.displayName="Arrow";var eL=n(12651),eD=n(68944),eM="Popper",[eF,eH]=(0,c.A)(eM),[e$,eW]=eF(eM),e_=e=>{let{__scopePopper:t,children:n}=e,[r,o]=l.useState(null),[a,s]=l.useState(void 0);return(0,i.jsx)(e$,{scope:t,anchor:r,onAnchorChange:o,placementState:a,setPlacementState:s,children:n})};e_.displayName=eM;var ez="PopperAnchor",eB=l.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,a=eW(ez,n),c=l.useRef(null),u=a.onAnchorChange,f=l.useCallback(e=>{c.current=e,e&&u(e)},[u]),d=(0,s.s)(t,f),p=l.useRef(null);l.useEffect(()=>{if(!r)return;let e=p.current;p.current=r.current,e!==p.current&&u(p.current)});let h=a.placementState&&eU(a.placementState),m=h?.[0],g=h?.[1];return r?null:(0,i.jsx)(eN.sG.div,{"data-radix-popper-side":m,"data-radix-popper-align":g,...o,ref:d})});eB.displayName=ez;var eI="PopperContent",[eV,eK]=eF(eI),eQ=l.forwardRef((e,t)=>{var n,r,o,a,c,u,f,d,p,h,x,y,w;let L,D,M,F,B,I,{__scopePopper:V,side:Q="bottom",sideOffset:q=0,align:G="center",alignOffset:Y=0,arrowPadding:X=0,avoidCollisions:Z=!0,collisionBoundary:U,collisionPadding:J=0,sticky:ee="partial",hideWhenDetached:et=!1,updatePositionStrategy:en="optimized",onPlaced:er,...eo}=e,ei=eW(eI,V),[el,es]=l.useState(null),ec=(0,s.s)(t,e=>es(e)),[ef,ed]=l.useState(null),ep=function(e){let[t,n]=l.useState(void 0);return(0,eD.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}(ef),em=ep?.width??0,eg=ep?.height??0,ex="number"==typeof J?J:{top:0,right:0,bottom:0,left:0,...J},ev=U?Array.isArray(U)?U:[U]:void 0,ey=void 0!==ev&&ev.length>0,ew={padding:ex,boundary:ev?.filter(eX),altBoundary:ey},{refs:eb,floatingStyles:eT,placement:eM,isPositioned:eF,middlewareData:eH}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[f,d]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=l.useState(r);eP(p,r)||h(r);let[m,g]=l.useState(null),[x,v]=l.useState(null),y=l.useCallback(e=>{e!==k.current&&(k.current=e,g(e))},[]),w=l.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=i||m,A=a||x,k=l.useRef(null),C=l.useRef(null),R=l.useRef(f),j=null!=c,P=eE(c),S=eE(o),O=eE(u),E=l.useCallback(()=>{var e,r;let o,i,l;if(!k.current||!C.current)return;let a={placement:t,strategy:n,middleware:p};S.current&&(a.platform=S.current),(e=k.current,r=C.current,o=new Map,l={...(i={platform:eA,...a}).platform,_c:o},H(e,r,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==O.current};N.current&&!eP(R.current,t)&&(R.current=t,eR.flushSync(()=>{d(t)}))})},[p,t,n,S,O]);ej(()=>{!1===u&&R.current.isPositioned&&(R.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let N=l.useRef(!1);ej(()=>(N.current=!0,()=>{N.current=!1}),[]),ej(()=>
1{if(b&&(k.current=b),A&&(C.current=A),b&&A){if(P.current)return P.current(b,A,E);E()}},[b,A,E,P,j]);let T=l.useMemo(()=>({reference:k,floating:C,setReference:y,setFloating:w}),[y,w]),L=l.useMemo(()=>({reference:b,floating:A}),[b,A]),D=l.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=eO(L.floating,f.x),r=eO(L.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eS(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,L.floating,f.x,f.y]);return l.useMemo(()=>({...f,update:E,refs:T,elements:L,floatingStyles:D}),[f,E,T,L,D])}({strategy:"fixed",placement:Q+("center"!==G?"-"+G:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=eu(e),f=i||l?[...u?ea(u):[],...t?ea(t):[]]:[];f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let d=u&&s?function(e,t){let n,r=null,o=K(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),i();let c=e.getBoundingClientRect(),{left:u,top:f,width:d,height:p}=c;if(a||t(),!d||!p)return;let h={rootMargin:-v(f)+"px "+-v(o.clientWidth-(u+d))+"px "+-v(o.clientHeight-(f+p))+"px "+-v(u)+"px",threshold:g(0,m(1,s))||1},x=!0;function y(t){let r=t[0].intersectionRatio;if(r!==s){if(!x)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||ek(c,e.getBoundingClientRect())||l(),x=!1}try{r=new IntersectionObserver(y,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,h)}r.observe(e)}(!0),i}(u,n):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&t&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),u&&!c&&h.observe(u),t&&h.observe(t));let x=c?eh(e):null;return c&&function t(){let r=eh(e);x&&!ek(x,r)&&n(),x=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===en}),elements:{reference:ei.anchor},middleware:[{name:(L={name:"offset",options:r=n={mainAxis:q+eg,alignmentAxis:Y},async fn(e){var t,n;let{x:o,y:i,placement:l,middlewareData:a}=e,s=await z(e,r);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}).name,fn:L.fn,options:[n,void 0]},Z&&{name:(D={name:"shift",options:c=a={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(o=void 0,{options:o={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:l}=e,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=b(o,e),u={x:t,y:n},f=j(r),d=C(f),p=u[d],h=u[f],m=b(a,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+g.mainAxis,n=i.reference[d]+i.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var x,v;let e="y"===d?"width":"height",t=_.has(A(r)),n=i.reference[f]-i.floating[e]+(t&&(null==(x=l.offset)?void 0:x[f])||0)+(t?0:g.crossAxis),o=i.reference[f]+i.reference[e]+(t?0:(null==(v=l.offset)?void 0:v[f])||0)-(t?g.crossAxis:0);h<n?h=n:h>o&&(h=o)}return{[d]:p,[f]:h}}}).fn,options:[void 0,void 0]}:void 0,...ew},async fn(e){let{x:t,y:n,placement:r,platform:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=b(c,e),u={x:t,y:n},f=await o.detectOverflow(e,s),d=j(A(r)),p=C(d),h=u[p],x=u[d];
1if(i){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=h+f[e],r=h-f[t];h=g(n,m(h,r))}if(l){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=x+f[e],r=x-f[t];x=g(n,m(x,r))}let v=a.fn({...e,[p]:h,[d]:x});return{...v,data:{x:v.x-t,y:v.y-n,enabled:{[p]:i,[d]:l}}}}}).name,fn:D.fn,options:[a,void 0]},Z&&{name:(M={name:"flip",options:f=u={...ew},async fn(e){var t,n,r,o,i,l,a,s;let c,u,d,{placement:p,middlewareData:h,rects:m,initialPlacement:g,platform:x,elements:v}=e,{mainAxis:y=!0,crossAxis:w=!0,fallbackPlacements:L,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:F=!0,...H}=b(f,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let $=A(p),W=j(g),_=A(g)===g,z=await (null==x.isRTL?void 0:x.isRTL(v.floating)),B=L||(_||!F?[T(g)]:(c=T(g),[P(g),c,P(c)])),I="none"!==M;!L&&I&&B.push(...(u=k(g),d=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?O:S;return t?S:O;case"left":case"right":return t?E:N;default:return[]}}(A(g),"start"===M,z),u&&(d=d.map(e=>e+"-"+u),F&&(d=d.concat(d.map(P)))),d));let V=[g,...B],K=await x.detectOverflow(e,H),Q=[],q=(null==(n=h.flip)?void 0:n.overflows)||[];if(y&&Q.push(K[$]),w){let e,t,n,r,o=(l=p,a=m,void 0===(s=z)&&(s=!1),e=k(l),n=R(t=C(j(l))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=T(r)),[r,T(r)]);Q.push(K[o[0]],K[o[1]])}if(q=[...q,{placement:p,overflows:Q}],!Q.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=V[e];if(t&&("alignment"!==w||W===j(t)||q.every(e=>j(e.placement)!==W||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let n=null==(o=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(D){case"bestFit":{let e=null==(i=q.filter(e=>{if(I){let t=j(e.placement);return t===W||"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:i[0];e&&(n=e);break}case"initialPlacement":n=g}if(p!==n)return{reset:{placement:n}}}return{}}}).name,fn:M.fn,options:[u,void 0]},{name:(F={name:"size",options:p=d={...ew,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${o}px`),l.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,n;let r,o,{placement:i,rects:l,platform:a,elements:s}=e,{apply:c=()=>{},...u}=b(p,e),f=await a.detectOverflow(e,u),d=A(i),h=k(i),x="y"===j(i),{width:v,height:y}=l.floating;"top"===d||"bottom"===d?(r=d,o=h===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(o=d,r="end"===h?"top":"bottom");let w=y-f.top-f.bottom,C=v-f.left-f.right,R=m(y-f[r],w),P=m(v-f[o],C),S=!e.middlewareData.shift,O=R,E=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=C),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(O=w),S&&!h){let e=g(f.left,0),t=g(f.right,0),n=g(f.top,0),r=g(f.bottom,0);x?E=v-2*(0!==e||0!==t?e+t:g(f.left,f.right)):O=y-2*(0!==n||0!==r?n+r:g(f.top,f.bottom))}await c({...e,availableWidth:E,availableHeight:O});let N=await a.getDimensions(s.floating);return v!==N.width||y!==N.height?{reset:{rects:!0}}:{}}}).name,fn:F.fn,options:[d,void 0]},ef&&{name:(B={name:"arrow",options:x=h={element:ef,padding:X},fn(e){let{element:t,padding:n}="function"==typeof x?x(e):x;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eC({element:t.current,padding:n}).fn(e):{}:t?eC({element:t,padding:n}).fn(e):{}}}).name,fn:B.fn,options:[h,void 0]},eZ({arrowWidth:em,arrowHeight:eg}),et&&{name:(I={name:"hide",options:w=y={strategy:"referenceHidden",...ew},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=b(w,e);switch(r){case"referenceHidden":{let r=$(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:W(r)}}}case"escaped":{let r=$(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:W(r)}}}default:return{}}}}).name,fn:I.fn,options:[y,void 0]}]}),e$=ei.setPlacementState;(0,eD.N)(()=>(e$(eM),()=>{e$(void 0)}),[eM,e$]);let[e_,ez]=eU(eM),eB=(0,eL.c)(er);(0,eD.N)(()=>{eF&&eB?.()},[eF,eB]);let eK=eH.arrow?.x,eQ=eH.arrow?.y,eq=eH.arrow?.centerOffset!==0,[eG,eY]=l.useState();return(0,eD.N)(()=>{el&&eY(window.getComputedStyle(el).zIndex)},[el]),(0,i.jsx)("div",{ref:eb.setFloating,"data-radix-popper-content-wrapper":"",style:{...eT,transform:eF?eT.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eG,"--radix-popper-transform-origin":[eH.transformOrigin?.x,eH.transformOrigin?.y].join(" "),...eH.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(eV,{scope:V,placedSide:e_,placedAlign:ez,onArrowChange:ed,arrowX:eK,arrowY:eQ,shouldHideArrow:eq,children:(0,i.jsx)(eN.sG.div,{"data-side":e_,"data-align":ez,...eo,ref:ec,style:{...eo.style,animation:eF?void 0:"none"}})})})});eQ.displayName=eI;var eq="PopperArrow",eG={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eY=l.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eK(eq,n),l=eG[o.placedSide];return(0,i.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]: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,i.jsx)(eT,{...r,ref:t,style:{...r.style,display:"block"}})})});function eX(e){return null!==e}eY.displayName=eq;var eZ=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,l=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[s,c]=eU(n),u={start:"0%",center:"50%",end:"100%"}[c],f=(o.arrow?.x??0)+l/2,d=(o.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=i?u:`${f}px`,h=`${-a}px`):"top"===s?(p=i?u:`${f}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=i?u:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=i?u:`${d}px`),{data:{x:p,y:h}}}});function eU(e){let[t,n="center"]=e.split("-");return[t,n]}var eJ=n(8597),e0=n(230),e1=n(1471),e2=n(97257),e5=n(76789),e8=n(81225),e3="Popover",[e6,e4]=(0,c.A)(e3,[eH]),e7=eH(),[e9,te]=e6(e3),tt=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,c=e7(t),u=l.useRef(null),[f,d]=l.useState(!1),[h,m]=(0,e2.i)({prop:r,defaultProp:o??!1,onChange:a,caller:e3});return(0,i.jsx)(e_,{...c,children:(0,i.jsx)(e9,{scope:t,contentId:(0,p.B)(),triggerRef:u,open:h,onOpenChange:m,onOpenToggle:l.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:l.useCallback(()=>d(!0),[]),onCustomAnchorRemove:l.useCallback(()=>d(!1),[]),modal:s,children:n})})};tt.displayName=e3;var tn="PopoverAnchor";l.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=te(tn,n),a=e7(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=o;return l.useEffect(()=>(s(),()=>c()),[s,c]),(0,i.jsx)(eB,{...a,...r,ref:t})}).displayName=tn;var tr="PopoverTrigger",to=l.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=te(tr,n),l=e7(n),c=(0,s.s)(t,o.triggerRef),u=(0,i.jsx)(eN.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":tg(o.open),...r,ref:c,onClick:(0,a.mK)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,i.jsx)(eB,{asChild:!0,...l,children:u})});to.displayName=tr;var ti="PopoverPortal",[tl,ta]=e6(ti,{forceMount:void 0}),ts=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,l=te(ti,t);return(0,i.jsx)(tl,{scope:t,forceMount:n,children:(0,i.jsx)(e0.C,{present:n||l.open,children:(0,i.jsx)(eJ.Z,{asChild:!0,container:o,children:r})})})};ts.displayName=ti;var tc="PopoverContent",tu=l.forwardRef((e,t)=>{let n=ta(tc,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,l=te(tc,e.__scopePopover);return(0,i.jsx)(e0.C,{present:r||l.open,children:l.modal?(0,i.jsx)(td,{...o,ref:t}):(0,i.jsx)(tp,{...o,ref:t})})});tu.displayName=tc;var tf=(0,e1.TL)("PopoverContent.RemoveScroll"),td=l.forwardRef((e,t)=>{let n=te(tc,e.__scopePopover),r=l.useRef(null),o=(0,s.s)(t,r),c=l.useRef(!1);return l.useEffect(()=>{let e=r.current;if(e)return(0,e5.Eq)(e)},[]),(0,i.jsx)(e8.A,{as:tf,allowPinchZoom:!0,children:(0,i.jsx)(th,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),c.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;c.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tp=l.forwardRef((e,t)=>{let n=te(tc,e.__scopePopover),r=l.useRef(!1),o=l.useRef(!1);return(0,i.jsx)(th,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),th=l.forwardRef((e,t)=>
1{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:p,onInteractOutside:h,...m}=e,g=te(tc,n),x=e7(n);return(0,f.Oh)(),(0,i.jsx)(d.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l,children:(0,i.jsx)(u.qW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:p,onDismiss:()=>g.onOpenChange(!1),children:(0,i.jsx)(eQ,{"data-state":tg(g.open),role:"dialog",id:g.contentId,...x,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tm="PopoverClose";function tg(e){return e?"open":"closed"}l.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=te(tm,n);return(0,i.jsx)(eN.sG.button,{type:"button",...r,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tm,l.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=e7(n);return(0,i.jsx)(eY,{...o,...r,ref:t})}).displayName="PopoverArrow";let tx=tt,tv=to;function ty({className:e,align:t="center",sideOffset:n=4,...r}){return(0,i.jsx)(ts,{children:(0,i.jsx)(tu,{align:t,sideOffset:n,side:"bottom",className:(0,o.QP)("z-50 origin-(--radix-popover-content-transform-origin) overflow-y-auto max-h-(--radix-popover-content-available-height) min-w-[240px] max-w-[98vw] rounded-xl border bg-fd-popover/60 backdrop-blur-lg p-2 text-sm text-fd-popover-foreground shadow-lg focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in",e),...r})})}}}]);

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.