1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[450],{49015:function(e,t,n){n.d(t,{B:function(){return f}});var r=n(22833),i=n(13517),o=n(33988),l=n(97136),a=n(69126);function f(e){let t=e+"CollectionProvider",[n,f]=(0,i.b)(t),[u,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,i=r.useRef(null),o=r.useRef(new Map).current;return(0,a.jsx)(u,{scope:t,itemMap:o,collectionRef:i,children:n})};s.displayName=t;let d=e+"CollectionSlot",p=(0,l.Z8)(d),h=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=c(d,n),l=(0,o.e)(t,i.collectionRef);return(0,a.jsx)(p,{ref:l,children:r})});h.displayName=d;let m=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,l.Z8)(m),w=r.forwardRef((e,t)=>{let{scope:n,children:i,...l}=e,f=r.useRef(null),u=(0,o.e)(t,f),s=c(m,n);return r.useEffect(()=>(s.itemMap.set(f,{ref:f,...l}),()=>void s.itemMap.delete(f))),(0,a.jsx)(v,{[g]:"",ref:u,children:i})});return w.displayName=m,[{Provider:s,Slot:h,ItemSlot:w},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(g,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},f]}},26608:function(e,t,n){n.d(t,{gm:function(){return o}});var r=n(22833);n(69126);var i=r.createContext(void 0);function o(e){let t=r.useContext(i);return e||t||"ltr"}},19346:function(e,t,n){n.d(t,{ee:function(){return te},Eh:function(){return tn},VY:function(){return tt},fC:function(){return e4},D7:function(){return e$}});var r=n(22833);let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,f=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={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 v=new Set(["top","bottom"]);function w(e){return v.has(p(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>s[e])}let x=["left","right"],b=["right","left"],R=["top","bottom"],A=["bottom","top"];function S(e){return e.replace(/left|right|bottom|top/g,e=>c[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 O(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 L(e,t,n){let r,{reference:i,floating:o}=e,l=w(t),a=m(w(t)),f=g(a),u=p(t),c="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,v=i[f]/2-o[f]/2;switch(u){case"top":r={x:s,y:i.y-o.height};break;case"bottom":r={x:s,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]-=v*(n&&c?-1:1);break;case"end":r[a]+=v*(n&&c?-1:1)}return r}async function E(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:c="viewport",elementContext:s="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=C(h),g=a[p?"floating"===s?"reference":"floating":s],v=O(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:c,strategy:f})),w="floating"===s?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},b=O(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:y,strategy:f}):w);return{top:(v.top-b.top+m.top)/x.y,bottom:(b.bottom-v.bottom+m.bottom)/x.y,left:(v.left-b.left+m.left)/x.x,right:(b.right-v.right+m.right)/x.x}}let T=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}
1=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:c,y:s}=L(u,r,f),d=r,p={},h=0;for(let n=0;n<a.length;n++){var m;let{name:o,fn:g}=a[n],{x:v,y:w,data:y,reset:x}=await g({x:c,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:u,platform:{...l,detectOverflow:null!=(m=l.detectOverflow)?m:E},elements:{reference:e,floating:t}});c=null!=v?v:c,s=null!=w?w:s,p={...p,[o]:{...p[o],...y}},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:c,y:s}=L(u,d,f)),n=-1)}return{x:c,y:s,placement:d,strategy:i,middlewareData:p}};function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function k(e){return i.some(t=>e[t]>=0)}let M=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=M.has(l)?-1:1,c=o&&f?-1:1,s=d(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return a&&"number"==typeof v&&(g="end"===a?-1*v:v),f?{x:g*c,y:m*u}:{x:m*u,y:g*c}}function H(){return"undefined"!=typeof window}function W(e){return N(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(N(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function N(e){return!!H()&&(e instanceof Node||e instanceof j(e).Node)}function V(e){return!!H()&&(e instanceof Element||e instanceof j(e).Element)}function z(e){return!!H()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function B(e){return!!H()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}let I=new Set(["inline","contents"]);function _(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!I.has(i)}let Y=new Set(["table","td","th"]),X=[":popover-open",":modal"];function q(e){return X.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let $=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],G=["paint","layout","strict","content"];function J(e){let t=K(),n=V(e)?ee(e):e;return $.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))||G.some(e=>(n.contain||"").includes(e))}function K(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function U(e){return Q.has(W(e))}function ee(e){return j(e).getComputedStyle(e)}function et(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===W(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||F(e);return B(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 U(n)?t.ownerDocument?t.ownerDocument.body:t.body:z(n)&&_(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=j(i);if(o){let e=ei(l);return t.concat(l,l.visualViewport||[],_(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=z(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 V(e)?e:e.contextElement}function ea(e){let t=el(e);if(!z(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=j(e);return K()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ef}function ec(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?V(r)&&(a=ea(r)):a=ea(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===j(l))&&i)?eu(l):u(0),c=(o.left+f.x)/a.x,s=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=j(l),t=r&&V(r)?j(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;c*=e.x,s*=e.y,d*=e.x,p*=e.y,c+=o,s+=l,i=ei(n=j(i))}}return O({width:d,height:p,x:c,y:s})}function es(e,t){let n=et(e).scrollLeft;return t?t.left+n:ec(F(e)).left+n}function ed(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-es(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=j(e),r=F(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let e=K();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,f=i.offsetTop)}let u=es(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=F(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+es(e),f=-n.scrollTop;return"rtl"===ee(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:f}}(F(e));else if(V(t))r=function(e,t){let n=ec(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=z(e)?ea(e):u(1),l=e.clientWidth*o.x;return{width:l,height:e.clientHeight*o.y,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 O(r)}function em(e){return"static"===ee(e).position}function eg(e,t){if(!z(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function ev(e,t){var n;let r=j(e);if(q(e))return r;if(!z(e)){let t=en(e);for(;t&&!U(t);){if(V(t)&&!em(t))return t;t=en(t)}return r}let i=eg(e,t);for(;i&&(n=i,Y.has(W(n)))&&em(i);)i=eg(i,t);return i&&U(i)&&em(i)&&!J(i)?r:i||function(e){let t=en(e);for(;z(t)&&!U(t);){if(J(t))return t;if(q(t))break;t=en(t)}return null}(e)||r}let ew=async function(e){let t=this.getOffsetParent||ev,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=z(t),i=F(t),o="fixed"===n,l=ec(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=u(0);if(r||!r&&!o){if(("body"!==W(t)||_(i))&&(a=et(t)),r){let e=ec(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=es(i))}o&&!r&&i&&(f.x=es(i));let c=!i||r||o?u(0):ed(i,a);return{x:l.left+a.scrollLeft-f.x-c.x,y:l.top+a.scrollTop-f.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}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=F(r),a=!!t&&q(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=u(1),s=u(0),d=z(r);if((d||!d&&!o)&&(("body"!==W(r)||_(l))&&(f=et(r)),z(r))){let e=ec(r);c=ea(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}let p=!l||d||o?u(0):ed(l,f);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+s.x+p.x,y:n.y*c.y-f.scrollTop*c.y+s.y+p.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>V(e)&&"body"!==W(e)),i=null,o="fixed"===ee(e).position,l=o?en(e):e;for(;V(l)&&!U(l);){let t=ee(l),n=J(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ep.has(i.position)||_(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!V(r)||U(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:ev,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:V,isRTL:function(e){return"rtl"===ee(e).direction}};function ex(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:c}=t,{element:s,padding:p=0}=d(e,t)||{};if(null==s)return{};let v=C(p),y={x:n,y:r},x=m(w(i)),b=g(x),R=await f.getDimensions(s),A="y"===x,S=A?"clientHeight":"clientWidth",O=a.reference[b]+a.reference[x]-y[x]-a.floating[b],L=y[x]-a.reference[x],E=await (null==f.getOffsetParent?void 0:f.getOffsetParent(s)),T=E?E[S]:0;T&&await (null==f.isElement?void 0:f.isElement(E))||(T=u.floating[S]||a.floating[b]);let P=T/2-R[b]/2-1,k=o(v[A?"top":"left"],P),M=o(v[A?"bottom":"right"],P),D=T-R[b]-M,H=T/2-R[b]/2+(O/2-L/2),W=l(k,o(H,D)),j=!c.arrow&&null!=h(i)&&H!==W&&a.reference[b]/2-(H<k?k:M)-R[b]/2<0,F=j?H<k?H-k:H-D:0;return{[x]:y[x]+F,data:{[x]:W,centerOffset:H-W-F,...j&&{alignmentOffset:F}},reset:j}}}),eR=(e,t,n)=>{let r=new Map,i={platform:ey,...n},o={...i.platform,_c:r};return T(e,t,{...i,platform:o})};var eA=n(97690),eS="undefined"!=typeof document?r.useLayoutEffect:function(){};function eC(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(!eC(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)&&!eC(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eO(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eL(e,t){let n=eO(e);return Math.round(t*n)/n}function eE(e){let t=r.useRef(e);return eS(()=>{t.current=e}),t}let eT=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eb({element:n.current,padding:r}).fn(t):{}:n?eb({element:n,padding:r}).fn(t):{}}}),eP=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:l,middlewareData:a}=e,f=await D(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}),options:[e,t]}},ek=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i,platform:a}=e,{mainAxis:f=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=d(n,e),h={x:t,y:r},g=await a.detectOverflow(e,s),v=w(p(i)),y=m(v),x=h[y],b=h[v];if(f){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+g[e],r=x-g[t];x=l(n,o(x,r))}if(u){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+g[e],r=b-g[t];b=l(n,o(b,r))}let R=c.fn({...e,[y]:x,[v]:b});return{...R,data:{x:R.x-t,y:R.y-r,enabled:{[y]:f,[v]:u}}}}}),options:[e,t]}},eM=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:a=0,mainAxis:f=!0,crossAxis:u=!0}=d(n,e),c={x:t,y:r},s=w(i),h=m(s),g=c[h],v=c[s],y=d(a,e),x="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(f){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+x.mainAxis,n=o.reference[h]+o.reference[e]-x.mainAxis;g<t?g=t:g>n&&(g=n)}if(u){var b,R;let e="y"===h?"width":"height",t=M.has(p(i)),n=o.reference[s]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[s])||0)+(t?0:x.crossAxis),r=o.reference[s]+o.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[s])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[h]:g,[s]:v}}}),options:[e,t]}},eD=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,l;
1let{placement:a,middlewareData:f,rects:u,initialPlacement:c,platform:s,elements:v}=e,{mainAxis:C=!0,crossAxis:O=!0,fallbackPlacements:L,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:P=!0,...k}=d(n,e);if(null!=(t=f.arrow)&&t.alignmentOffset)return{};let M=p(a),D=w(c),H=p(c)===c,W=await (null==s.isRTL?void 0:s.isRTL(v.floating)),j=L||(H||!P?[S(c)]:function(e){let t=S(e);return[y(e),t,y(t)]}(c)),F="none"!==T;!L&&F&&j.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:x;return t?x: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(y)))),o}(c,P,T,W));let N=[c,...j],V=await s.detectOverflow(e,k),z=[],B=(null==(r=f.flip)?void 0:r.overflows)||[];if(C&&z.push(V[M]),O){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,W);z.push(V[e[0]],V[e[1]])}if(B=[...B,{placement:a,overflows:z}],!z.every(e=>e<=0)){let e=((null==(i=f.flip)?void 0:i.index)||0)+1,t=N[e];if(t&&(!("alignment"===O&&D!==w(t))||B.every(e=>w(e.placement)!==D||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(E){case"bestFit":{let e=null==(l=B.filter(e=>{if(F){let t=w(e.placement);return t===D||"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=c}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eH=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let i,a;let{placement:f,rects:u,platform:c,elements:s}=e,{apply:m=()=>{},...g}=d(n,e),v=await c.detectOverflow(e,g),y=p(f),x=h(f),b="y"===w(f),{width:R,height:A}=u.floating;"top"===y||"bottom"===y?(i=y,a=x===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(a=y,i="end"===x?"top":"bottom");let S=A-v.top-v.bottom,C=R-v.left-v.right,O=o(A-v[i],S),L=o(R-v[a],C),E=!e.middlewareData.shift,T=O,P=L;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(P=C),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(T=S),E&&!x){let e=l(v.left,0),t=l(v.right,0),n=l(v.top,0),r=l(v.bottom,0);b?P=R-2*(0!==e||0!==t?e+t:l(v.left,v.right)):T=A-2*(0!==n||0!==r?n+r:l(v.top,v.bottom))}await m({...e,availableWidth:P,availableHeight:T});let k=await c.getDimensions(s.floating);return R!==k.width||A!==k.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eW=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t,platform:r}=e,{strategy:i="referenceHidden",...o}=d(n,e);switch(i){case"referenceHidden":{let n=P(await r.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:k(n)}}}case"escaped":{let n=P(await r.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:k(n)}}}default:return{}}}}),options:[e,t]}},ej=(e,t)=>({...eT(e),options:[e,t]});var eF=n(46601),eN=n(69126),eV=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eN.jsx)(eF.WV.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eN.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eV.displayName="Arrow";var ez=n(33988),eB=n(13517),eI=n(62904),e_=n(18099),eY=n(63066),eX="Popper",[eq,e$]=(0,eB.b)(eX),[eZ,eG]=eq(eX),eJ=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eN.jsx)(eZ,{scope:t,anchor:i,onAnchorChange:o,children:n})};eJ.displayName=eX;var eK="PopperAnchor",eQ=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=eG(eK,n),a=r.useRef(null),f=(0,ez.e)(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,eN.jsx)(eF.WV.div,{...o,ref:f})});eQ.displayName=eK;var eU="PopperContent",[e0,e1]=eq(eU),e2=r.forwardRef((e,t)=>
1{var n,i,a,u,c,s,d,p;let{__scopePopper:h,side:m="bottom",sideOffset:g=0,align:v="center",alignOffset:w=0,arrowPadding:y=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:R=0,sticky:A="partial",hideWhenDetached:S=!1,updatePositionStrategy:C="optimized",onPlaced:O,...L}=e,E=eG(eU,h),[T,P]=r.useState(null),k=(0,ez.e)(t,e=>P(e)),[M,D]=r.useState(null),H=(0,eY.t)(M),W=null!==(d=null==H?void 0:H.width)&&void 0!==d?d:0,j=null!==(p=null==H?void 0:H.height)&&void 0!==p?p:0,N="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},V=Array.isArray(b)?b:[b],z=V.length>0,B={padding:N,boundary:V.filter(e5),altBoundary:z},{refs:I,floatingStyles:_,placement:Y,isPositioned:X,middlewareData:q}=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:c}=e,[s,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);eC(p,i)||h(i);let[m,g]=r.useState(null),[v,w]=r.useState(null),y=r.useCallback(e=>{e!==A.current&&(A.current=e,g(e))},[]),x=r.useCallback(e=>{e!==S.current&&(S.current=e,w(e))},[]),b=l||m,R=a||v,A=r.useRef(null),S=r.useRef(null),C=r.useRef(s),O=null!=u,L=eE(u),E=eE(o),T=eE(c),P=r.useCallback(()=>{if(!A.current||!S.current)return;let e={placement:t,strategy:n,middleware:p};E.current&&(e.platform=E.current),eR(A.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};k.current&&!eC(C.current,t)&&(C.current=t,eA.flushSync(()=>{d(t)}))})},[p,t,n,E,T]);eS(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let k=r.useRef(!1);eS(()=>(k.current=!0,()=>{k.current=!1}),[]),eS(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(L.current)return L.current(b,R,P);P()}},[b,R,P,L,O]);let M=r.useMemo(()=>({reference:A,floating:S,setReference:y,setFloating:x}),[y,x]),D=r.useMemo(()=>({reference:b,floating:R}),[b,R]),H=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eL(D.floating,s.x),r=eL(D.floating,s.y);return f?{...e,transform:"translate("+t+"px, "+r+"px)",...eO(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,f,D.floating,s.x,s.y]);return r.useMemo(()=>({...s,update:P,refs:M,elements:D,floatingStyles:H}),[s,P,M,D,H])}({strategy:"fixed",placement:m+("center"!==v?"-"+v:""),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:c="function"==typeof ResizeObserver,layoutShift:s="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&&s?function(e,t){let n,r=null,i=F(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),a();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||t(),!m||!g)return;let v=f(h),w=f(i.clientWidth-(p+m)),y={rootMargin:-v+"px "+-w+"px "+-f(i.clientHeight-(h+g))+"px "+-f(p)+"px",threshold:l(0,o(1,s))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ex(d,e.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),a}(p,n):null,g=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),p&&!d&&v.observe(p),v.observe(t));let w=d?ec(e):null;return d&&function t(){let r=ec(e);w&&!ex(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=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===C})},elements:{reference:E.anchor},middleware:[eP({mainAxis:g+j,alignmentAxis:w}),x&&ek({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?eM():void 0,...B}),x&&eD({...B}),eH({...B,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"))}}),M&&ej({element:M,padding:y}),e8({arrowWidth:W,arrowHeight:j}),S&&eW({strategy:"referenceHidden",...B})]}),[$,Z]=e7(Y),G=(0,eI.W)(O);(0,e_.b)(()=>{X&&(null==G||G())},[X,G]);let J=null===(n=q.arrow)||void 0===n?void 0:n.x,K=null===(i=q.arrow)||void 0===i?void 0:i.y,Q=(null===(a=q.arrow)||void 0===a?void 0:a.centerOffset)!==0,[U,ee]=r.useState();return(0,e_.b)(()=>{T&&ee(window.getComputedStyle(T).zIndex)},[T]),(0,eN.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:X?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[null===(u=q.transformOrigin)||void 0===u?void 0:u.x,null===(c=q.transformOrigin)||void 0===c?void 0:c.y].join(" "),...(null===(s=q.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eN.jsx)(e0,{scope:h,placedSide:$,onArrowChange:D,arrowX:J,arrowY:K,shouldHideArrow:Q,children:(0,eN.jsx)(eF.WV.div,{"data-side":$,"data-align":Z,...L,ref:k,style:{...L.style,animation:X?void 0:"none"}})})})});e2.displayName=eU;var e3="PopperArrow",e6={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e9=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=e1(e3,n),o=e6[i.placedSide];return(0,eN.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,eN.jsx)(eV,{...r,ref:t,style:{...r.style,display:"block"}})})});function e5(e){return null!==e}e9.displayName=e3;var e8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:f,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=e7(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+s/2,v=(null!==(l=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,w="",y="";return"bottom"===p?(w=c?m:"".concat(g,"px"),y="".concat(-d,"px")):"top"===p?(w=c?m:"".concat(g,"px"),y="".concat(f.floating.height+d,"px")):"right"===p?(w="".concat(-d,"px"),y=c?m:"".concat(v,"px")):"left"===p&&(w="".concat(f.floating.width+d,"px"),y=c?m:"".concat(v,"px")),{data:{x:w,y}}}});function e7(e){let[t,n="center"]=e.split("-");return[t,n]}var e4=eJ,te=eQ,tt=e2,tn=e9},63066:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(22833),i=n(18099);function o(e){let[t,n]=r.useState(void 0);return(0,i.b)(()=>{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.