1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6359],{8740:(e,t,n)=>{n.d(t,{Mz:()=>e8,i3:()=>e9,UC:()=>e3,bL:()=>e4,Bk:()=>eB});var r=n(12115);let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,f=Math.floor,u=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function w(e){return y.has(p(e))?"y":"x"}function x(e){return e.replace(/start|end/g,e=>c[e])}let v=["left","right"],b=["right","left"],R=["top","bottom"],A=["bottom","top"];function S(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function C(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function O(e,t,n){let r,{reference:i,floating:o}=e,l=w(t),a=m(w(t)),f=g(a),u=p(t),s="y"===l,c=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[f]/2-o[f]/2;switch(u){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[a]-=y*(n&&s?-1:1);break;case"end":r[a]+=y*(n&&s?-1:1)}return r}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:s,y:c}=O(u,r,f),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:y,data:w,reset:x}=await m({x:s,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:u,platform:l,elements:{reference:e,floating:t}});s=null!=g?g:s,c=null!=y?y:c,p={...p,[o]:{...p[o],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(u=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:s,y:c}=O(u,d,f)),n=-1)}return{x:s,y:c,placement:d,strategy:i,middlewareData:p}};async function L(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:s="viewport",elementContext:c="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=C(h),g=a[p?"floating"===c?"reference":"floating":c],y=E(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:s,strategy:f})),w="floating"===c?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=E(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:x,strategy:f}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return i.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function D(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),f="y"===w(n),u=j.has(l)?-1:1,s=o&&f?-1:1,c=d(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),f?{x:g*s,y:m*u}:{x:m*u,y:g*s}}function W(){return"undefined"!=typeof window}function k(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function H(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!W()&&(e instanceof Node||e instanceof _(e).Node)}function M(e){return!!W()&&(e instanceof Element||e instanceof _(e).Element)}function V(e){return!!W()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function $(e){return!!W()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}let B=new Set(["inline","contents"]);function z(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!B.has(i)}let I=new Set(["table","td","th"]),X=[":popover-open",":modal"];function Y(e){return X.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let q=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],U=["paint","layout","strict","content"];function G(e){let t=J(),n=M(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||Z.some(e=>(n.willChange||"").includes(e))||U.some(e=>(n.contain||"").includes(e))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let K=new Set(["html","body","#document"]);function Q(e){return K.has(k(e))}function ee(e){return _(e).getComputedStyle(e)}function et(e){return M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||H(e);return $(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:V(n)&&z(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=_(i);if(o){let e=ei(l);return t.concat(l,l.visualViewport||[],z(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=V(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,f
1=a(n)!==o||a(r)!==l;return f&&(n=o,r=l),{width:n,height:r,$:f}}function el(e){return M(e)?e:e.contextElement}function ea(e){let t=el(e);if(!V(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eo(t),l=(o?a(n.width):n.width)/r,f=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),f&&Number.isFinite(f)||(f=1),{x:l,y:f}}let ef=u(0);function eu(e){let t=_(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ef}function es(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=el(e),a=u(1);t&&(r?M(r)&&(a=ea(r)):a=ea(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===_(l))&&i)?eu(l):u(0),s=(o.left+f.x)/a.x,c=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=_(l),t=r&&M(r)?_(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=ea(i),t=i.getBoundingClientRect(),r=ee(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,p*=e.y,s+=o,c+=l,i=ei(n=_(i))}}return E({width:d,height:p,x:s,y:c})}function ec(e,t){let n=et(e).scrollLeft;return t?t.left+n:es(H(e)).left+n}function ed(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ec(e,n),y:n.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=H(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let e=J();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,f=i.offsetTop)}let u=ec(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else u<=25&&(o+=u);return{width:o,height:l,x:a,y:f}}(e,n);else if("document"===t)r=function(e){let t=H(e),n=et(e),r=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ec(e),f=-n.scrollTop;return"rtl"===ee(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:f}}(H(e));else if(M(t))r=function(e,t){let n=es(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=V(e)?ea(e):u(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=eu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return E(r)}function em(e){return"static"===ee(e).position}function eg(e,t){if(!V(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return H(e)===n&&(n=n.ownerDocument.body),n}function ey(e,t){var n;let r=_(e);if(Y(e))return r;if(!V(e)){let t=en(e);for(;t&&!Q(t);){if(M(t)&&!em(t))return t;t=en(t)}return r}let i=eg(e,t);for(;i&&(n=i,I.has(k(n)))&&em(i);)i=eg(i,t);return i&&Q(i)&&em(i)&&!G(i)?r:i||function(e){let t=en(e);for(;V(t)&&!Q(t);){if(G(t))return t;if(Y(t))break;t=en(t)}return null}(e)||r}let ew=async function(e){let t=this.getOffsetParent||ey,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=V(t),i=H(t),o="fixed"===n,l=es(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=u(0);if(r||!r&&!o)if(("body"!==k(t)||z(i))&&(a=et(t)),r){let e=es(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ec(i));o&&!r&&i&&(f.x=ec(i));let s=!i||r||o?u(0):ed(i,a);return{x:l.left+a.scrollLeft-f.x-s.x,y:l.top+a.scrollTop-f.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}}},ex={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=H(r),a=!!t&&Y(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},s=u(1),c=u(0),d=V(r);if((d||!d&&!o)&&(("body"!==k(r)||z(l))&&(f=et(r)),V(r))){let e=es(r);s=ea(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?u(0):ed(l,f);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-f.scrollLeft*s.x+c.x+p.x,y:n.y*s.y-f.scrollTop*s.y+c.y+p.y}},getDocumentElement:H,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?Y(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>M(e)&&"body"!==k(e)),i=null,o="fixed"===ee(e).position,l=o?en(e):e;for(;M(l)&&!Q(l);){let t=ee(l),n=G(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ep.has(i.position)||z(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!M(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],f=a[0],u=a.reduce((e,n)=>{let r=eh(t,n,i);return e.top=l(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=l(r.left,e.left),e},eh(t,f,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ey,getElementRects:ew,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ea,isElement:M,isRTL:function(e){return"rtl"===ee(e).direction}};function ev(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eb=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:f,elements:u,middlewareData:s}=t,{element:c,padding:p=0}=d(e,t)||{};if(null==c)return{};let y=C(p),x={x:n,y:r},v=m(w(i)),b=g(v),R=await f.getDimensions(c),A="y"===v,S=A?"clientHeight":"clientWidth",E=a.reference[b]+a.reference[v]-x[v]-a.floating[b],O=x[v]-a.reference[v],P=await (null==f.getOffsetParent?void 0:f.getOffsetParent(c)),L=P?P[S]:0;L&&await (null==f.isElement?void 0:f.isElement(P))||(L=u.floating[S]||a.floating[b]);let T=L/2-R[b]/2-1,N=o(y[A?"top":"left"],T),j=o(y[A?"bottom":"right"],T),D=L-R[b]-j,W=L/2-R[b]/2+(E/2-O/2),k=l(N,o(W,D)),_=!s.arrow&&null!=h(i)&&W!==k&&a.reference[b]/2-(W<N?N:j)-R[b]/2<0,H=_?W<N?W-N:W-D:0;return{[v]:x[v]+H,data:{[v]:k,centerOffset:W-k-H,..._&&{alignmentOffset:H}},reset:_}}});var eR=n(47650),eA="undefined"!=typeof document?r.useLayoutEffect:function(){};function eS(e,t){let n,r,i;if(e===t)return!0;
1if(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(!eS(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eS(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eC(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eE(e,t){let n=eC(e);return Math.round(t*n)/n}function eO(e){let t=r.useRef(e);return eA(()=>{t.current=e}),t}var eP=n(94446),eL=n(95155),eT=Symbol("radix.slottable");function eN(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eT}var ej=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,l,a=(o=n,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),f=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(f.ref=t?(0,eP.t)(t,a):a),r.cloneElement(n,f)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,l=r.Children.toArray(i),a=l.find(eN);if(a){let e=a.props.children,i=l.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eL.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,eL.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eL.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),eD=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eL.jsx)(ej.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eL.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eD.displayName="Arrow";var eW=Symbol("radix.slottable");function ek(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eW}var e_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,l,a=(o=n,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),f=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(f.ref=t?(0,eP.t)(t,a):a),r.cloneElement(n,f)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,l=r.Children.toArray(i),a=l.find(ek);if(a){let e=a.props.children,i=l.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eL.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,eL.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eL.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),eH=n(70222),eF=n(4129),eM=n(84288),eV="Popper",[e$,eB]=function(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),l=n.length;n=[...n,i];let a=t=>{let{scope:n,children:i,...a}=t,f=n?.[e]?.[l]||o,u=r.useMemo(()=>a,Object.values(a));return(0,eL.jsx)(f.Provider,{value:u,children:i})};return a.displayName=t+"Provider",[a,function(n,a){let f=a?.[e]?.[l]||o,u=r.useContext(f);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}(eV),[ez,eI]=e$(eV),eX=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eL.jsx)(ez,{scope:t,anchor:i,onAnchorChange:o,children:n})};eX.displayName=eV;var eY="PopperAnchor",eq=r.forwardRef((e,t)=>
1{let{__scopePopper:n,virtualRef:i,...o}=e,l=eI(eY,n),a=r.useRef(null),f=(0,eP.s)(t,a),u=r.useRef(null);return r.useEffect(()=>{let e=u.current;u.current=(null==i?void 0:i.current)||a.current,e!==u.current&&l.onAnchorChange(u.current)}),i?null:(0,eL.jsx)(e_.div,{...o,ref:f})});eq.displayName=eY;var eZ="PopperContent",[eU,eG]=e$(eZ),eJ=r.forwardRef((e,t)=>{var n,i,a,u,s,c,y,C;let{__scopePopper:E,side:O="bottom",sideOffset:W=0,align:k="center",alignOffset:_=0,arrowPadding:F=0,avoidCollisions:M=!0,collisionBoundary:V=[],collisionPadding:$=0,sticky:B="partial",hideWhenDetached:z=!1,updatePositionStrategy:I="optimized",onPlaced:X,...Y}=e,q=eI(eZ,E),[Z,U]=r.useState(null),G=(0,eP.s)(t,e=>U(e)),[J,K]=r.useState(null),Q=(0,eM.X)(J),ee=null!=(y=null==Q?void 0:Q.width)?y:0,et=null!=(C=null==Q?void 0:Q.height)?C:0,en="number"==typeof $?$:{top:0,right:0,bottom:0,left:0,...$},ei=Array.isArray(V)?V:[V],eo=ei.length>0,ea={padding:en,boundary:ei.filter(e1),altBoundary:eo},{refs:ef,floatingStyles:eu,placement:ec,isPositioned:ed,middlewareData:ep}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:u,open:s}=e,[c,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);eS(p,i)||h(i);let[m,g]=r.useState(null),[y,w]=r.useState(null),x=r.useCallback(e=>{e!==A.current&&(A.current=e,g(e))},[]),v=r.useCallback(e=>{e!==S.current&&(S.current=e,w(e))},[]),b=l||m,R=a||y,A=r.useRef(null),S=r.useRef(null),C=r.useRef(c),E=null!=u,O=eO(u),L=eO(o),T=eO(s),N=r.useCallback(()=>{if(!A.current||!S.current)return;let e={placement:t,strategy:n,middleware:p};L.current&&(e.platform=L.current),((e,t,n)=>{let r=new Map,i={platform:ex,...n},o={...i.platform,_c:r};return P(e,t,{...i,platform:o})})(A.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};j.current&&!eS(C.current,t)&&(C.current=t,eR.flushSync(()=>{d(t)}))})},[p,t,n,L,T]);eA(()=>{!1===s&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let j=r.useRef(!1);eA(()=>(j.current=!0,()=>{j.current=!1}),[]),eA(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(O.current)return O.current(b,R,N);N()}},[b,R,N,O,E]);let D=r.useMemo(()=>({reference:A,floating:S,setReference:x,setFloating:v}),[x,v]),W=r.useMemo(()=>({reference:b,floating:R}),[b,R]),k=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=eE(W.floating,c.x),r=eE(W.floating,c.y);return f?{...e,transform:"translate("+t+"px, "+r+"px)",...eC(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,f,W.floating,c.x,c.y]);return r.useMemo(()=>({...c,update:N,refs:D,elements:W,floatingStyles:k}),[c,N,D,W,k])}({strategy:"fixed",placement:O+("center"!==k?"-"+k:""),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 i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=el(e),h=a||u?[...p?er(p):[],...er(t)]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&c?function(e,t){let n,r=null,i=H(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(s||t(),!m||!g)return;let y=f(h),w=f(i.clientWidth-(p+m)),x={rootMargin:-y+"px "+-w+"px "+-f(i.clientHeight-(h+g))+"px "+-f(p)+"px",threshold:l(0,o(1,c))||1},v=!0;function b(t){let r=t[0].intersectionRatio;if(r!==c){if(!v)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ev(d,e.getBoundingClientRect())||u(),v=!1}try{r=new IntersectionObserver(b,{...x,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,x)}r.observe(e)}(!0),a}(p,n):null,g=-1,y=null;s&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}
1),p&&!d&&y.observe(p),y.observe(t));let w=d?es(e):null;return d&&function t(){let r=es(e);w&&!ev(w,r)&&n(),w=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===I})},elements:{reference:q.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,f=await D(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}}(e),options:[e,t]}))({mainAxis:W+et,alignmentAxis:_}),M&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:f=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=d(e,t),c={x:n,y:r},h=await L(t,s),g=w(p(i)),y=m(g),x=c[y],v=c[g];if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+h[e],r=x-h[t];x=l(n,o(x,r))}if(f){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=v+h[e],r=v-h[t];v=l(n,o(v,r))}let b=u.fn({...t,[y]:x,[g]:v});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[y]:a,[g]:f}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===B?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:f=!0,crossAxis:u=!0}=d(e,t),s={x:n,y:r},c=w(i),h=m(c),g=s[h],y=s[c],x=d(a,t),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(f){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+v.mainAxis,n=o.reference[h]+o.reference[e]-v.mainAxis;g<t?g=t:g>n&&(g=n)}if(u){var b,R;let e="y"===h?"width":"height",t=j.has(p(i)),n=o.reference[c]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[c])||0)+(t?0:v.crossAxis),r=o.reference[c]+o.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[c])||0)-(t?v.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:g,[c]:y}}}}(e),options:[e,t]}))():void 0,...ea}),M&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;
1let{placement:a,middlewareData:f,rects:u,initialPlacement:s,platform:c,elements:y}=t,{mainAxis:C=!0,crossAxis:E=!0,fallbackPlacements:O,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:N=!0,...j}=d(e,t);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let D=p(a),W=w(s),k=p(s)===s,_=await (null==c.isRTL?void 0:c.isRTL(y.floating)),H=O||(k||!N?[S(s)]:function(e){let t=S(e);return[x(e),t,x(t)]}(s)),F="none"!==T;!O&&F&&H.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:v;return t?v:b;case"left":case"right":return t?R:A;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(x)))),o}(s,N,T,_));let M=[s,...H],V=await L(t,j),$=[],B=(null==(r=f.flip)?void 0:r.overflows)||[];if(C&&$.push(V[D]),E){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=m(w(e)),o=g(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=S(l)),[l,S(l)]}(a,u,_);$.push(V[e[0]],V[e[1]])}if(B=[...B,{placement:a,overflows:$}],!$.every(e=>e<=0)){let e=((null==(i=f.flip)?void 0:i.index)||0)+1,t=M[e];if(t&&("alignment"!==E||W===w(t)||B.every(e=>w(e.placement)!==W||e.overflows[0]>0)))return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(o=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(P){case"bestFit":{let e=null==(l=B.filter(e=>{if(F){let t=w(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:l[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}))({...ea}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,a,{placement:f,rects:u,platform:s,elements:c}=t,{apply:m=()=>{},...g}=d(e,t),y=await L(t,g),x=p(f),v=h(f),b="y"===w(f),{width:R,height:A}=u.floating;"top"===x||"bottom"===x?(i=x,a=v===(await (null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(a=x,i="end"===v?"top":"bottom");let S=A-y.top-y.bottom,C=R-y.left-y.right,E=o(A-y[i],S),O=o(R-y[a],C),P=!t.middlewareData.shift,T=E,N=O;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(N=C),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=S),P&&!v){let e=l(y.left,0),t=l(y.right,0),n=l(y.top,0),r=l(y.bottom,0);b?N=R-2*(0!==e||0!==t?e+t:l(y.left,y.right)):T=A-2*(0!==n||0!==r?n+r:l(y.top,y.bottom))}await m({...t,availableWidth:N,availableHeight:T});let j=await s.getDimensions(c.floating);return R!==j.width||A!==j.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...ea,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),J&&((e,t)=>({...(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?eb({element:n.current,padding:r}).fn(t):{}:n?eb({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:J,padding:F}),e2({arrowWidth:ee,arrowHeight:et}),z&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=d(e,t);switch(r){case"referenceHidden":{let e=T(await L(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{let e=T(await L(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...ea})]}),[eh,em]=e5(ec),eg=(0,eH.c)(X);(0,eF.N)(()=>{ed&&(null==eg||eg())},[ed,eg]);let ey=null==(n=ep.arrow)?void 0:n.x,ew=null==(i=ep.arrow)?void 0:i.y,eT=(null==(a=ep.arrow)?void 0:a.centerOffset)!==0,[eN,ej]=r.useState();return(0,eF.N)(()=>{Z&&ej(window.getComputedStyle(Z).zIndex)},[Z]),(0,eL.jsx)("div",{ref:ef.setFloating,"data-radix-popper-content-wrapper":"",style:{...eu,transform:ed?eu.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eN,"--radix-popper-transform-origin":[null==(u=ep.transformOrigin)?void 0:u.x,null==(s=ep.transformOrigin)?void 0:s.y].join(" "),...(null==(c=ep.hide)?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eL.jsx)(eU,{scope:E,placedSide:eh,onArrowChange:K,arrowX:ey,arrowY:ew,shouldHideArrow:eT,children:(0,eL.jsx)(e_.div,{"data-side":eh,"data-align":em,...Y,ref:G,style:{...Y.style,animation:ed?void 0:"none"}})})})});eJ.displayName=eZ;var eK="PopperArrow",eQ={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e0=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eG(eK,n),o=eQ[i.placedSide];return(0,eL.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eL.jsx)(eD,{...r,ref:t,style:{...r.style,display:"block"}})})});function e1(e){return null!==e}e0.displayName=eK;var e2=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:f,middlewareData:u}=t,s=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,c=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[p,h]=e5(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!=(o=null==(r=u.arrow)?void 0:r.x)?o:0)+c/2,y=(null!=(l=null==(i=u.arrow)?void 0:i.y)?l:0)+d/2,w="",x="";return"bottom"===p?(w=s?m:"".concat(g,"px"),x="".concat(-d,"px")):"top"===p?(w=s?m:"".concat(g,"px"),x="".concat(f.floating.height+d,"px")):"right"===p?(w="".concat(-d,"px"),x=s?m:"".concat(y,"px")):"left"===p&&(w="".concat(f.floating.width+d,"px"),x=s?m:"".concat(y,"px")),{data:{x:w,y:x}}}});function e5(e){let[t,n="center"]=e.split("-");return[t,n]}var e4=eX,e8=eq,e3=eJ,e9=e0},84288:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(12115),i=n(4129);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}}}]);
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.