PageSourceSearch

https://www.pyserial.com/_next/static/immutable/chunks/0e_32zm177wq9.js

js pyserial.com collected 2026-10-06 21:58:11 UTC 40,837 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,453965,e=>{"use strict";Symbol("VisitBreak"),e.s(["r",0,function(e,t,n={}){let{includeSeparator:r=!0}=n;return function e(n){let o;for(let i of n){if(t(i)){let e=[];return o&&e.push(o),e.push(i),e}if("separator"===i.type&&r){o=i;continue}if("folder"===i.type){let n=i.index&&t(i.index)?[i.index]:e(i.children);if(n)return n.unshift(i),o&&n.unshift(o),n}}}(e)??null}])},467120,995659,e=>{"use strict";e.s(["LinkItem",()=>g,"baseSlots",()=>x],467120),e.s(["getLayoutTabs",()=>u,"isLayoutTabActive",()=>f,"isLinkItemActive",()=>p,"useLinkItems",()=>d],995659);var t=e.i(118099),n=e.i(201381),r=e.i(31228),o=e.i(800637),i=e.i(517878),l=e.i(840256),a=e.i(231308),s=e.i(453965),s=s;let c=(e,t)=>t.icon?{...e,icon:(0,a.jsx)("div",{className:"size-full [&_svg]:size-full max-md:p-1.5 max-md:rounded-md max-md:border max-md:bg-fd-secondary",children:t.icon})}:e;function u(e,{transform:t=c}={}){let n=[];function r(e,o){if("root"in e&&e.root){let r=e.index?.url??e.children.find(e=>"page"===e.type)?.url;if(r){let i={title:e.name,icon:e.icon,description:e.description,url:r,unlisted:o,$folder:e},l=t?t(i,e):i;l&&n.push(l)}}for(let t of e.children)"folder"===t.type&&r(t,o)}return r(e),e.fallback&&r(e.fallback,!0),n}function f(e,t){return e.$folder?null!==s.r(e.$folder.children,e=>"page"===e.type&&(0,i.isActive)(e.url,t)):e.urls?e.urls.has((0,i.normalize)(t)):(0,i.isActive)(e.url,t,!0)}function d({githubUrl:e,links:t}){return(0,l.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,a.jsx)("svg",{role:"img",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.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=[],o=[];for(let e of n)switch(e.on){case"menu":o.push(e);break;case"nav":r.push(e);break;default:r.push(e),o.push(e)}return{navItems:r,menuItems:o,all:n}},[t,e])}function p(e,t){return"custom"!==e.type&&!!e.url&&"none"!==e.active&&(0,i.isActive)(e.url,t,"nested-url"===e.active)}var h=e.i(990293),m=e.i(425977);function g({ref:e,item:t,...n}){let r=p(t,(0,h.usePathname)());return(0,a.jsx)(m.default,{ref:e,href:t.url,external:t.external,...n,"data-active":r,children:n.children})}function x({useProps:e}){function i(t){let{themeSwitch:n}=e();return n.component?n.component:(0,a.jsx)(o.ThemeSwitch,{...t,...n})}function l(t){let{searchToggle:n}=e();return n.components?.sm?n.components.sm:(0,a.jsx)(r.SearchTrigger,{...t,...n.sm})}function s(t){let{searchToggle:n}=e();return n.components?.lg?n.components.lg:(0,a.jsx)(r.FullSearchTrigger,{...t,...n.full})}function c({href:t="/",...n}){let{url:r=t,title:o}=e().nav??{};return"function"==typeof o?o({href:r,...n}):(0,a.jsx)(m.default,{href:r,...n,children:o})}return{useProvider(e){let{locales:r=[]}=(0,t.useI18n)(),{nav:o,slots:a={},i18n:u=r.length>1,searchToggle:{enabled:f=!0,...d}={},themeSwitch:{enabled:p=!0,...h}={}}=e;return{baseSlots:{navTitle:a.navTitle??c,themeSwitch:p&&(a.themeSwitch??i),languageSelect:!!u&&(a.languageSelect??{root:n.LanguageSelect,text:n.LanguageSelectText}),searchTrigger:f&&(a.searchTrigger??{sm:l,full:s})},baseProps:{nav:o,searchToggle:d,themeSwitch:h}}}}}},201381,790453,31228,800637,517878,e=>{"use strict";var t=e.i(118099),n=e.i(788082),r=e.i(868587),o=e.i(840256),i=e.i(231308),l=e.i(291967),a=e.i(597637),s=e.i(877550),c=e.i(602159),u=e.i(627157),f=e.i(618777),d=e.i(661262);let p=["top","right","bottom","left"],h=Math.min,m=Math.max,g=Math.round,x=Math.floor,v=e=>({x:e,y:e}
1),y={left:"right",right:"left",bottom:"top",top:"bottom"},w={start:"end",end:"start"};function b(e,t){return"function"==typeof e?e(t):e}function C(e){return e.split("-")[0]}function R(e){return e.split("-")[1]}function S(e){return"x"===e?"y":"x"}function k(e){return"y"===e?"height":"width"}let A=new Set(["top","bottom"]);function P(e){return A.has(C(e))?"y":"x"}function j(e){return e.replace(/start|end/g,e=>w[e])}let T=["left","right"],O=["right","left"],L=["top","bottom"],E=["bottom","top"];function N(e){return e.replace(/left|right|bottom|top/g,e=>y[e])}function F(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=P(t),a=S(P(t)),s=k(a),c=C(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(R(t)){case"start":r[a]-=p*(n&&u?-1:1);break;case"end":r[a]+=p*(n&&u?-1:1)}return r}async function H(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=F(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 z=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),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={},h=0;for(let n=0;n<a.length;n++){var m;let{name:i,fn:g}=a[n],{x:x,y:v,data:y,reset:w}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:{...l,detectOverflow:null!=(m=l.detectOverflow)?m:H},elements:{reference:e,floating:t}});u=null!=x?x:u,f=null!=v?v:f,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:f}=M(c,d,s)),n=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};function I(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 p.some(t=>e[t]>=0)}let $=new Set(["left","top"]);async function B(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=C(n),a=R(n),s="y"===P(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 V(){return"u">typeof window}function _(e){return X(e)?(e.nodeName||"").toLowerCase():"#document"}function Y(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function q(e){var t;return null==(t=(X(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function X(e){return!!V()&&(e instanceof Node||e instanceof Y(e).Node)}function G(e){return!!V()&&(e instanceof Element||e instanceof Y(e).Element)}function K(e){return!!V()&&(e instanceof HTMLElement||e instanceof Y(e).HTMLElement)}function U(e){return!(!V()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot)}let Z=new Set(["inline","contents"]);function J(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ec(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Z.has(o)}let Q=new Set(["table","td","th"]),ee=[":popover-open",":modal"];function et(e){return ee.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let en=["transform","translate","scale","rotate","perspective"],er=["transform","translate","scale","rotate","perspective","filter"],eo=["paint","layout","strict","content"];function ei(e){let t=el(),n=G(e)?ec(e):e;return en.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||er.some(e=>(n.willChange||"").includes(e))||eo.some(e=>(n.contain||"").includes(e))}function el(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let ea=new Set(["html","body","#document"]);function es(e){return ea.has(_(e))}function ec(e){return Y(e).getComputedStyle(e)}function eu(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ef(e){if("html"===_(e))return e;let t=e.assignedSlot||e.parentNode||U(e)&&e.host||q(e);return U(t)?t.host:t}function ed(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=ef(t);return es(n)?t.ownerDocument?t.ownerDocument.body:t.body:K(n)&&J(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=Y(o);if(i){let e=ep(l);return t.concat(l,l.visualViewport||[],J(o)?o:[],e&&n?ed(e):[])}return t.concat(o,ed(o,[],n))}function ep(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eh(e){let t=ec(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=K(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=g(n)!==i||g(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function em(e){return G(e)?e:e.contextElement}function eg(e){let t=em(e);if(!K(t))return v(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eh(t),l=(i?g(n.width):n.width)/r,a=(i?g(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ex=v(0);function ev(e){let t=Y(e);return el()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ex}function ey(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=em(e),a=v(1);t&&(r?G(r)&&(a=eg(r)):a=eg(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===Y(l))&&o)?ev(l):v(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=Y(l),t=r&&G(r)?Y(r):r,n=e,o=ep(n);for(;o&&r&&t!==n;){let e=eg(o),t=o.getBoundingClientRect(),r=ec(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=ep(n=Y(o))}}return D({width:f,height:d,x:c,y:u})}function ew(e,t){let n=eu(e).scrollLeft;return t?t.left+n:ey(q(e)).left+n}function eb(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ew(e,n),y:n.top+t.scrollTop}}let eC=new Set(["absolute","fixed"]);function eR(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=Y(e),r=q(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=el();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}let c=ew(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=q(e),t=q(r),n=eu(r),i=r.ownerDocument.body,l=m(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=m(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+ew(r),c=-n.scrollTop,"rtl"===ec(i).direction&&(s+=m(t.clientWidth,i.clientWidth)-l),o={width:l,height:a,x:s,y:c}}else if(G(t)){let e,r,i,l,a,s;r=(e=ey(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=K(t)?eg(t):v(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=ev(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D(o)}function eS(e){return"static"===ec(e).position}function ek(e,t){if(!K(e)||"fixed"===ec(e).position)return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function eA(e,t){var n;let r=Y(e);if(et(e))return r;if(!K(e)){let t=ef(e);for(;t&&!es(t);){if(G(t)&&!eS(t))return t;t=ef(t)}return r}let o=ek(e,t);for(;o&&(n=o,Q.has(_(n)))&&eS(o);)o=ek(o,t);return o&&es(o)&&eS(o)&&!ei(o)?r:o||function(e){let t=ef(e);for(;K(t)&&!es(t);){if(ei(t))return t;if(et(t))break;t=ef(t)}return null}(e)||r}let eP=async function(e){let t=this.getOffsetParent||eA,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=K(t),o=q(t),i="fixed"===n,l=ey(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=v(0);if(r||!r&&!i)if(("body"!==_(t)||J(o))&&(a=eu(t)),r){let e=ey(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=ew(o));i&&!r&&o&&(s.x=ew(o));let c=!o||r||i?v(0):eb(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}}},ej={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=q(r),a=!!t&&et(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=v(1),u=v(0),f=K(r);if((f||!f&&!i)&&(("body"!==_(r)||J(l))&&(s=eu(r)),K(r))){let e=ey(r);c=eg(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let d=!l||f||i?v(0):eb(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:q,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?et(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ed(e,[],!1).filter(e=>G(e)&&"body"!==_(e)),o=null,i="fixed"===ec(e).position,l=i?ef(e):e;for(;G(l)&&!es(l);){let t=ec(l),n=ei(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&eC.has(o.position)||J(l)&&!n&&function e(t,n){let r=ef(t);return!(r===n||!G(r)||es(r))&&("fixed"===ec(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=ef(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=eR(t,n,o);return e.top=m(r.top,e.top),e.right=h(r.right,e.right),e.bottom=h(r.bottom,e.bottom),e.left=m(r.left,e.left),e},eR(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eA,getElementRects:eP,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eh(e);return{width:t,height:n}},getScale:eg,isElement:G,isRTL:function(e){return"rtl"===ec(e).direction}};function eT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eO=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=F(u),d={x:n,y:r},p=S(P(o)),g=k(p),x=await l.getDimensions(c),v="y"===p,y=v?"clientHeight":"clientWidth",w=i.reference[g]+i.reference[p]-d[p]-i.floating[g],C=d[p]-i.reference[p],A=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),j=A?A[y]:0;j&&await (null==l.isElement?void 0:l.isElement(A))||(j=a.floating[y]||i.floating[g]);let T=j/2-x[g]/2-1,O=h(f[v?"top":"left"],T),L=h(f[v?"bottom":"right"],T),E=j-x[g]-L,N=j/2-x[g]/2+(w/2-C/2),D=m(O,h(N,E)),M=!s.arrow&&null!=R(o)&&N!==D&&i.reference[g]/2-(N<O?O:L)-x[g]/2<0,H=M?N<O?N-O:N-E:0;return{[p]:d[p]+H,data:{[p]:D,centerOffset:N-D-H,...M&&{alignmentOffset:H}},reset:M}}});
1var eL=e.i(652676),eE="u">typeof document?o.useLayoutEffect:function(){};function eN(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(!eN(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)&&!eN(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eF(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eD(e,t){let n=eF(e);return Math.round(t*n)/n}function eM(e){let t=o.useRef(e);return eE(()=>{t.current=e}),t}var eH=e.i(824076),ez=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...l}=e;return(0,i.jsx)(eH.Primitive.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"})})});ez.displayName="Arrow";var eI=e.i(752343),eW=e.i(699799),e$="Popper",[eB,eV]=(0,s.createContextScope)(e$),[e_,eY]=eB(e$),eq=e=>{let{__scopePopper:t,children:n}=e,[r,l]=o.useState(null);return(0,i.jsx)(e_,{scope:t,anchor:r,onAnchorChange:l,children:n})};eq.displayName=e$;var eX="PopperAnchor",eG=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...l}=e,s=eY(eX,n),c=o.useRef(null),u=(0,a.useComposedRefs)(t,c),f=o.useRef(null);return o.useEffect(()=>{let e=f.current;f.current=r?.current||c.current,e!==f.current&&s.onAnchorChange(f.current)}),r?null:(0,i.jsx)(eH.Primitive.div,{...l,ref:u})});eG.displayName=eX;var eK="PopperContent",[eU,eZ]=eB(eK),eJ=o.forwardRef((e,t)=>{var n,r,l,s,c,u,f,d,p,g,v,y,w;let{__scopePopper:A,side:F="bottom",sideOffset:D=0,align:M="center",alignOffset:H=0,arrowPadding:V=0,avoidCollisions:_=!0,collisionBoundary:Y=[],collisionPadding:X=0,sticky:G="partial",hideWhenDetached:K=!1,updatePositionStrategy:U="optimized",onPlaced:Z,...J}=e,Q=eY(eK,A),[ee,et]=o.useState(null),en=(0,a.useComposedRefs)(t,e=>et(e)),[er,eo]=o.useState(null),ei=function(e){let[t,n]=o.useState(void 0);return(0,eW.useLayoutEffect)(()=>{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}(er),el=ei?.width??0,ea=ei?.height??0,es="number"==typeof X?X:{top:0,right:0,bottom:0,left:0,...X},ec=Array.isArray(Y)?Y:[Y],eu=ec.length>0,ef={padding:es,boundary:ec.filter(e2),altBoundary:eu},{refs:ep,floatingStyles:eh,placement:eg,isPositioned:ex,middlewareData:ev}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[f,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=o.useState(r);eN(p,r)||h(r);let[m,g]=o.useState(null),[x,v]=o.useState(null),y=o.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),w=o.useCallback(e=>{e!==S.current&&(S.current=e,v(e))},[]),b=l||m,C=a||x,R=o.useRef(null),S=o.useRef(null),k=o.useRef(f),A=null!=c,P=eM(c),j=eM(i),T=eM(u),O=o.useCallback(()=>{var e,r;let o,i,l;if(!R.current||!S.current)return;let a={placement:t,strategy:n,middleware:p};j.current&&(a.platform=j.current),(e=R.current,r=S.current,o=new Map,l={...(i={platform:ej,...a}).platform,_c:o},z(e,r,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==T.current};L.current&&!eN(k.current,t)&&(k.current=t,eL.flushSync(()=>{d(t)}))})},[p,t,n,j,T]);eE(()=>{!1===u&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let L=o.useRef(!1);eE(()=>(L.current=!0,()=>{L.current=!1}),[]),eE(()=>{if(b&&(R.current=b),C&&(S.current=C),b&&C){if(P.current)return P.current(b,C,O);O()}},[b,C,O,P,A]);let E=o.useMemo(()=>({reference:R,floating:S,setReference:y,setFloating:w}),[y,w]),N=o.useMemo(()=>({reference:b,floating:C}),[b,C]),F=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=eD(N.floating,f.x),r=eD(N.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eF(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,N.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:O,refs:E,elements:N,floatingStyles:F}),[f,O,E,N,F])}({strategy:"fixed",placement:F+("center"!==M?"-"+M:""),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=em(e),f=i||l?[...u?ed(u):[],...ed(t)]:[];
1f.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=q(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 g={rootMargin:-x(f)+"px "+-x(o.clientWidth-(u+d))+"px "+-x(o.clientHeight-(f+p))+"px "+-x(u)+"px",threshold:m(0,h(1,s))||1},v=!0;function y(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||eT(c,e.getBoundingClientRect())||l(),v=!1}try{r=new IntersectionObserver(y,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,g)}r.observe(e)}(!0),i}(u,n):null,p=-1,g=null;a&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),u&&!c&&g.observe(u),g.observe(t));let v=c?ey(e):null;return c&&function t(){let r=ey(e);v&&!eT(v,r)&&n(),v=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=g)||e.disconnect(),g=null,c&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===U}),elements:{reference:Q.anchor},middleware:[{...{name:"offset",options:r=n={mainAxis:D+ea,alignmentAxis:H},async fn(e){var t,n;let{x:o,y:i,placement:l,middlewareData:a}=e,s=await B(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}}}},options:[n,void 0]},_&&{...{name:"shift",options:c=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===G?{...(l=void 0,{options:l={},fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=b(l,e),u={x:t,y:n},f=P(r),d=S(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=o.reference[d]-o.floating[e]+g.mainAxis,n=o.reference[d]+o.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(C(r)),n=o.reference[f]-o.floating[e]+(t&&(null==(x=i.offset)?void 0:x[f])||0)+(t?0:g.crossAxis),l=o.reference[f]+o.reference[e]+(t?0:(null==(v=i.offset)?void 0:v[f])||0)-(t?g.crossAxis:0);h<n?h=n:h>l&&(h=l)}return{[d]:p,[f]:h}}}),options:[void 0,void 0]}:void 0,...ef},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=P(C(r)),p=S(d),g=u[p],x=u[d];
1if(i){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=g+f[e],r=g-f[t];g=m(n,h(g,r))}if(l){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=x+f[e],r=x-f[t];x=m(n,h(x,r))}let v=a.fn({...e,[p]:g,[d]:x});return{...v,data:{x:v.x-t,y:v.y-n,enabled:{[p]:i,[d]:l}}}}},options:[s,void 0]},_&&{...{name:"flip",options:f=u={...ef},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:A,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:M=!0,...H}=b(f,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let z=C(p),I=P(g),W=C(g)===g,$=await (null==x.isRTL?void 0:x.isRTL(v.floating)),B=A||(W||!M?[N(g)]:(c=N(g),[j(g),c,j(c)])),V="none"!==D;!A&&V&&B.push(...(u=R(g),d=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?O:T;return t?T:O;case"left":case"right":return t?L:E;default:return[]}}(C(g),"start"===D,$),u&&(d=d.map(e=>e+"-"+u),M&&(d=d.concat(d.map(j)))),d));let _=[g,...B],Y=await x.detectOverflow(e,H),q=[],X=(null==(n=h.flip)?void 0:n.overflows)||[];if(y&&q.push(Y[z]),w){let e,t,n,r,o=(l=p,a=m,void 0===(s=$)&&(s=!1),e=R(l),n=k(t=S(P(l))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=N(r)),[r,N(r)]);q.push(Y[o[0]],Y[o[1]])}if(X=[...X,{placement:p,overflows:q}],!q.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=_[e];if(t&&("alignment"!==w||I===P(t)||X.every(e=>P(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:X},reset:{placement:t}};let n=null==(o=X.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(F){case"bestFit":{let e=null==(i=X.filter(e=>{if(V){let t=P(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:i[0];e&&(n=e);break}case"initialPlacement":n=g}if(p!==n)return{reset:{placement:n}}}return{}}},options:[u,void 0]},{...{name:"size",options:p=d={...ef,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=C(i),g=R(i),x="y"===P(i),{width:v,height:y}=l.floating;"top"===d||"bottom"===d?(r=d,o=g===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(o=d,r="end"===g?"top":"bottom");let w=y-f.top-f.bottom,S=v-f.left-f.right,k=h(y-f[r],w),A=h(v-f[o],S),j=!e.middlewareData.shift,T=k,O=A;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(O=S),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(T=w),j&&!g){let e=m(f.left,0),t=m(f.right,0),n=m(f.top,0),r=m(f.bottom,0);x?O=v-2*(0!==e||0!==t?e+t:m(f.left,f.right)):T=y-2*(0!==n||0!==r?n+r:m(f.top,f.bottom))}await c({...e,availableWidth:O,availableHeight:T});let L=await a.getDimensions(s.floating);return v!==L.width||y!==L.height?{reset:{rects:!0}}:{}}},options:[d,void 0]},er&&{...{name:"arrow",options:v=g={element:er,padding:V},fn(e){let{element:t,padding:n}="function"==typeof v?v(e):v;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eO({element:t.current,padding:n}).fn(e):{}:t?eO({element:t,padding:n}).fn(e):{}}},options:[g,void 0]},e5({arrowWidth:el,arrowHeight:ea}),K&&{...{name:"hide",options:w=y={strategy:"referenceHidden",...ef},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=b(w,e);switch(r){case"referenceHidden":{let r=I(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:W(r)}}}case"escaped":{let r=I(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:W(r)}}}default:return{}}}},options:[y,void 0]}]}),[ew,eb]=e3(eg),eC=(0,eI.useCallbackRef)(Z);(0,eW.useLayoutEffect)(()=>{ex&&eC?.()},[ex,eC]);let eR=ev.arrow?.x,eS=ev.arrow?.y,ek=ev.arrow?.centerOffset!==0,[eA,eP]=o.useState();return(0,eW.useLayoutEffect)(()=>{ee&&eP(window.getComputedStyle(ee).zIndex)},[ee]),(0,i.jsx)("div",{ref:ep.setFloating,"data-radix-popper-content-wrapper":"",style:{...eh,transform:ex?eh.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eA,"--radix-popper-transform-origin":[ev.transformOrigin?.x,ev.transformOrigin?.y].join(" "),...ev.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(eU,{scope:A,placedSide:ew,onArrowChange:eo,arrowX:eR,arrowY:eS,shouldHideArrow:ek,children:(0,i.jsx)(eH.Primitive.div,{"data-side":ew,"data-align":eb,...J,ref:en,style:{...J.style,animation:ex?void 0:"none"}})})})});eJ.displayName=eK;var eQ="PopperArrow",e0={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e1=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eZ(eQ,n),l=e0[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)(ez,{...r,ref:t,style:{...r.style,display:"block"}})})});function e2(e){return null!==e}e1.displayName=eQ;var e5=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]=e3(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 e3(e){let[t,n="center"]=e.split("-");return[t,n]}var e6=e.i(895071),e8=e.i(541614),e4=e.i(132436),e7=e.i(467500),e9=e.i(73772),te=e.i(806e3),tt="Popover",[tn,tr]=(0,s.createContextScope)(tt,[eV]),to=eV(),[ti,tl]=tn(tt),ta=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:l,onOpenChange:a,modal:s=!1}
1=e,c=to(t),u=o.useRef(null),[f,p]=o.useState(!1),[h,m]=(0,e7.useControllableState)({prop:r,defaultProp:l??!1,onChange:a,caller:tt});return(0,i.jsx)(eq,{...c,children:(0,i.jsx)(ti,{scope:t,contentId:(0,d.useId)(),triggerRef:u,open:h,onOpenChange:m,onOpenToggle:o.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:o.useCallback(()=>p(!0),[]),onCustomAnchorRemove:o.useCallback(()=>p(!1),[]),modal:s,children:n})})};ta.displayName=tt;var ts="PopoverAnchor";o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,l=tl(ts,n),a=to(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=l;return o.useEffect(()=>(s(),()=>c()),[s,c]),(0,i.jsx)(eG,{...a,...r,ref:t})}).displayName=ts;var tc="PopoverTrigger",tu=o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=tl(tc,n),s=to(n),c=(0,a.useComposedRefs)(t,o.triggerRef),u=(0,i.jsx)(eH.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":tC(o.open),...r,ref:c,onClick:(0,l.composeEventHandlers)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,i.jsx)(eG,{asChild:!0,...s,children:u})});tu.displayName=tc;var tf="PopoverPortal",[td,tp]=tn(tf,{forceMount:void 0}),th=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,l=tl(tf,t);return(0,i.jsx)(td,{scope:t,forceMount:n,children:(0,i.jsx)(e8.Presence,{present:n||l.open,children:(0,i.jsx)(e6.Portal,{asChild:!0,container:o,children:r})})})};th.displayName=tf;var tm="PopoverContent",tg=o.forwardRef((e,t)=>{let n=tp(tm,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,l=tl(tm,e.__scopePopover);return(0,i.jsx)(e8.Presence,{present:r||l.open,children:l.modal?(0,i.jsx)(tv,{...o,ref:t}):(0,i.jsx)(ty,{...o,ref:t})})});tg.displayName=tm;var tx=(0,e4.createSlot)("PopoverContent.RemoveScroll"),tv=o.forwardRef((e,t)=>{let n=tl(tm,e.__scopePopover),r=o.useRef(null),s=(0,a.useComposedRefs)(t,r),c=o.useRef(!1);return o.useEffect(()=>{let e=r.current;if(e)return(0,e9.hideOthers)(e)},[]),(0,i.jsx)(te.RemoveScroll,{as:tx,allowPinchZoom:!0,children:(0,i.jsx)(tw,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),c.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,l.composeEventHandlers)(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,l.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ty=o.forwardRef((e,t)=>{let n=tl(tm,e.__scopePopover),r=o.useRef(!1),l=o.useRef(!1);return(0,i.jsx)(tw,{...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,l.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let o=t.target;n.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),tw=o.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:h,...m}=e,g=tl(tm,n),x=to(n);return(0,u.useFocusGuards)(),(0,i.jsx)(f.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l,children:(0,i.jsx)(c.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:p,onDismiss:()=>g.onOpenChange(!1),children:(0,i.jsx)(eJ,{"data-state":tC(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)"}})})})}),tb="PopoverClose";function tC(e){return e?"open":"closed"}function tR({className:e,align:t="center",sideOffset:r=4,...o}){return(0,i.jsx)(th,{children:(0,i.jsx)(tg,{align:t,sideOffset:r,side:"bottom",className:(0,n.cn)("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-
1popover-foreground shadow-lg focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in",e),...o})})}o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=tl(tb,n);return(0,i.jsx)(eH.Primitive.button,{type:"button",...r,ref:t,onClick:(0,l.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tb,o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=to(n);return(0,i.jsx)(e1,{...o,...r,ref:t})}).displayName="PopoverArrow",e.s(["Popover",0,ta,"PopoverContent",0,tR,"PopoverTrigger",0,tu],790453),e.s(["LanguageSelect",0,function({className:e,variant:o="ghost",children:l,...a}){let s=(0,t.useI18n)();if(!s.locales)throw Error("Missing `<I18nProvider />`");return(0,i.jsxs)(ta,{children:[(0,i.jsx)(tu,{"aria-label":s.text.chooseLanguage,className:(0,n.cn)((0,r.buttonVariants)({variant:o}),"gap-1.5 p-1.5 data-[state=open]:bg-fd-accent",e),...a,children:l}),(0,i.jsxs)(tR,{className:"flex flex-col gap-0.5 p-1",children:[(0,i.jsx)("p",{className:"p-2 text-xs font-medium text-fd-muted-foreground",children:s.text.chooseLanguage}),s.locales.map(e=>(0,i.jsx)("button",{type:"button",className:(0,n.cn)("px-2 py-1.5 text-start text-sm rounded-lg transition-colors",e.locale===s.locale?"bg-fd-primary/10 text-fd-primary":"text-fd-muted-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"),onClick:()=>{s.onChange?.(e.locale)},children:e.name},e.locale))]})]})},"LanguageSelectText",0,function(e){let{locales:n,locale:r}=(0,t.useI18n)(),o=n?.find(e=>e.locale===r)?.name;return(0,i.jsx)("span",{...e,children:o})}],201381);var tS=e.i(645475),tk=e.i(740222),tk=tk;e.s(["FullSearchTrigger",0,function({hideIfDisabled:e,...r}){let{enabled:o,hotKey:l,setOpenSearch:a}=(0,tS.useSearchContext)(),{text:s}=(0,t.useI18n)();return e&&!o?null:(0,i.jsxs)("button",{type:"button","data-search-full":"",...r,className:(0,n.cn)("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",r.className),onClick:()=>{a(!0)},children:[(0,i.jsx)(tk.default,{className:"size-4"}),s.search,(0,i.jsx)("div",{className:"ms-auto inline-flex gap-0.5",children:l.map((e,t)=>(0,i.jsx)("kbd",{className:"rounded-md border bg-fd-background px-1.5",children:e.display},t))})]})},"SearchTrigger",0,function({hideIfDisabled:e,size:t="icon-sm",color:o="ghost",...l}){let{setOpenSearch:a,enabled:s}=(0,tS.useSearchContext)();return e&&!s?null:(0,i.jsx)("button",{type:"button",className:(0,n.cn)((0,r.buttonVariants)({size:t,color:o}),l.className),"data-search":"","aria-label":"Open Search",onClick:()=>{a(!0)},children:(0,i.jsx)(tk.default,{})})}],31228);var tA=e.i(406963);let tP=(0,tA.default)("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"}]]),tj=(0,tA.default)("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"}]]),tT=(0,tA.default)("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"}]]);var tO=e.i(294237),tL=e.i(545333);let tE=(0,tO.cva)("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"}}}),tN=[["light",tT],["dark",tj],["system",tP]];function tF(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}e.s(["ThemeSwitch",0,function({className:e,mode:t="light-dark",...r}){let{setTheme:l,theme:a,resolvedTheme:s}=(0,tL.useTheme)(),[c,u]=(0,o.useState)(!1);(0,o.useEffect)(()=>{u(!0)},[]);let f=(0,n.cn)("inline-flex items-center rounded-full border p-1 overflow-hidden *:rounded-full",e);if("light-dark"===t){let e=c?s:null;return(0,i.jsx)("button",{className:f,"aria-label":"Toggle Theme",onClick:()=>l("light"===e?"dark":"light"),"data-theme-toggle":"",children:tN.map(([t,r])=>
1{if("system"!==t)return(0,i.jsx)(r,{fill:"currentColor",className:(0,n.cn)(tE({active:e===t}))},t)})})}let d=c?a:null;return(0,i.jsx)("div",{className:f,"data-theme-toggle":"",...r,children:tN.map(([e,t])=>(0,i.jsx)("button",{"aria-label":e,className:(0,n.cn)(tE({active:d===e})),onClick:()=>l(e),children:(0,i.jsx)(t,{className:"size-full",fill:"currentColor"})},e))})}],800637),e.s(["isActive",0,function(e,t,n=!1){return(e=tF(e))===(t=tF(t))||n&&t.startsWith(`${e}/`)},"normalize",0,tF],517878)},255065,354958,e=>{"use strict";var t=e.i(840256);e.s(["useIsScrollTop",0,function({enabled:e=!0}){let[n,r]=(0,t.useState)();return(0,t.useEffect)(()=>{if(!e)return;let t=()=>{r(window.scrollY<10)};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e]),n}],255065);let n=(0,e.i(406963).default)("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"}]]);e.s(["Languages",0,n],354958)},848533,e=>{"use strict";let t=(0,e.i(406963).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],848533)}]);

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.