1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8209cbe5-3885-2161-dde8-2107d1e1c074")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,5215,595466,501700,e=>{"use strict";let t,n=["top","right","bottom","left"],r=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,o=Math.max,l=Math.round,a=Math.floor,f=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e,t,n){void 0===n&&(n=!1);let r=d(e),i=p(m(e)),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=R(l)),[l,R(l)]}function w(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(e){let t=c(e);return s[t]+e.slice(t.length)}function A(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function S(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=m(t),a=p(m(t)),f=h(a),s=c(t),u=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,w=i[f]/2-o[f]/2;switch(s){case"top":r={x:u,y:i.y-o.height};break;case"bottom":r={x:u,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-o.width,y:g};break;default:r={x:i.x,y:i.y}}let y=d(t);return y&&(r[a]+=w*("end"===y?1:-1)*(n&&"y"===l?-1:1)),r}async function C(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=u(t,e),m=A(h),g=a[p?"floating"===d?"reference":"floating":d],w=S(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:s,rootBoundary:c,strategy:f})),y="floating"===d?{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=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:f}):y);return{top:(w.top-b.top+m.top)/v.y,bottom:(b.bottom-w.bottom+m.bottom)/v.y,left:(w.left-b.left+m.left)/v.x,right:(b.right-w.right+m.right)/v.x}}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:C},f=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=L(s,r,f),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:w}=m,{x:y,y:x,data:v,reset:b}=await w({x:u,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,c=null!=x?x:c,h[g]={...h[g],...v},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:u,y:c}=L(s,d,f)),n=-1)}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};function O(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return n.some(t=>e[t]>=0)}function E(e){let t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top));return{x:t,y:n,width:o(...e.map(e=>e.right))-t,height:o(...e.map(e=>e.bottom))-n}}let H=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=c(n),a=d(n),f="y"===m(n),s=H.has(l)?-1:1,p=o&&f?-1:1,h=u(t,e),{mainAxis:g,crossAxis:w,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}
2:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof y&&(w="end"===a?-1*y:y),f?{x:w*p,y:g*s}:{x:g*s,y:w*p}}function z(){return"u">typeof window}function k(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!z()&&(e instanceof Node||e instanceof F(e).Node)}function W(e){return!!z()&&(e instanceof Element||e instanceof F(e).Element)}function $(e){return!!z()&&(e instanceof HTMLElement||e instanceof F(e).HTMLElement)}function N(e){return!(!z()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof F(e).ShadowRoot)}function B(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function V(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let _=/transform|translate|scale|rotate|perspective|filter/,I=/paint|layout|strict|content/,Y=e=>!!e&&"none"!==e;function U(e){let t=W(e)?K(e):e;return Y(t.transform)||Y(t.translate)||Y(t.scale)||Y(t.rotate)||Y(t.perspective)||!X()&&(Y(t.backdropFilter)||Y(t.filter))||_.test(t.willChange||"")||I.test(t.contain||"")}function X(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function q(e){return/^(html|body|#document)$/.test(k(e))}function K(e){return F(e).getComputedStyle(e)}function G(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||N(e)&&e.host||j(e);return N(t)?t.host:t}function Q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=J(t);return q(n)?(t.ownerDocument||t).body:$(n)&&B(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=F(i);if(!o)return t.concat(i,Q(i,[],n));{let e=Z(l);return t.concat(l,l.visualViewport||[],B(i)?i:[],e&&n?Q(e):[])}}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=$(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,f
2=l(n)!==o||l(r)!==a;return f&&(n=o,r=a),{width:n,height:r,$:f}}function et(e){return W(e)?e:e.contextElement}function en(e){let t=et(e);if(!$(t))return f(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),a=(o?l(n.width):n.width)/r,s=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let er=f(0);function ei(e){let t=F(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),a=f(1);t&&(r?W(r)&&(a=en(r)):a=en(e));let s=(void 0===(i=n)&&(i=!1),r&&i&&r===F(l))?ei(l):f(0),u=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l&&r){let e=F(l),t=W(r)?F(r):r,n=e,i=Z(n);for(;i&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=K(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=o,c+=l,i=Z(n=F(i))}}return S({width:d,height:p,x:u,y:c})}function el(e,t){let n=G(e).scrollLeft;return t?t.left+n:eo(j(e)).left+n}function ea(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function ef(e,t,n){var r;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=F(e),o=j(e),l=i.visualViewport,a=o.clientWidth,f=o.clientHeight,s=0,u=0;if(l){let e=!X()||"fixed"===t;r?e||(s=-l.offsetLeft,u=-l.offsetTop):(a=l.width,f=l.height,e&&(s=l.offsetLeft,u=l.offsetTop))}if(0>=el(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(a-=l)}return{width:a,height:f,x:s,y:u}}(e,n,t);else if("document"===t){let t,n,l,a,f,s;t=G(r=j(e)),n=r.ownerDocument.body,l=o(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),a=o(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),f=-t.scrollLeft+el(r),s=-t.scrollTop,"rtl"===K(n).direction&&(f+=o(r.clientWidth,n.clientWidth)-l),i={width:l,height:a,x:f,y:s}}else if(W(t)){let e,r,o,l,a,f;r=(e=eo(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=en(t),a=t.clientWidth*l.x,f=t.clientHeight*l.y,i={width:a,height:f,x:o*l.x,y:r*l.y}}else{let n=ei(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return S(i)}function es(e){return"static"===K(e).position}function eu(e,t){if(!$(e)||"fixed"===K(e).position)return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function ec(e,t){var n;let r=F(e);if(V(e))return r;if(!$(e)){let t=J(e);for(;t&&!q(t);){if(W(t)&&!es(t))return t;t=J(t)}return r}let i=eu(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(k(n)))&&es(i);)i=eu(i,t);return i&&q(i)&&es(i)&&!U(i)?r:i||function(e){let t=J(e);for(;$(t)&&!q(t);){if(U(t))return t;if(V(t))break;t=J(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ec,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=$(t),i=j(t),o="fixed"===n,l=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=f(0);if((r||!o)&&(("body"!==k(t)||B(i))&&(a=G(t)),r)){let e=eo(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!r&&i&&(s.x=el(i));let u=!i||r||o?f(0):ea(i,a);return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.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}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=j(r),a=!!t&&V(t.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},u=f(1),c=f(0),d=$(r);if((d||!o)&&(("body"!==k(r)||B(l))&&(s=G(r)),d)){let e=eo(r);u=en(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?f(0):ea(l,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-s.scrollTop*u.y+c.y+p.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===n?V(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>W(e)&&"body"!==k(e)),i=null,o="fixed"===K(e).position,l=o?J(e):e;for(;W(l)&&!q(l);){let e=K(l),t=U(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=J(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],f=ef(t,a[0],l),s=f.top,u=f.right,c=f.bottom,d=f.left;for(let e=1;e<a.length;e++){let n=ef(t,a[e],l);s=o(n.top,s),u=i(n.right,u),c=i(n.bottom,c),d=o(n.left,d)}return{width:u-d,height:c-s,x:d,y:s}},getOffsetParent:ec,getElementRects:ed,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:W,isRTL:function(e){return"rtl"===K(e).direction}};function eh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let em=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}}}}},eg=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l,platform:a}=t,{mainAxis:f=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=u(e,t),h={x:n,y:r},g=await a.detectOverflow(t,d),w=m(l),y=p(w),x=h[y],v=h[w],b=(e,t)=>o(t+g["y"===e?"top":"left"],i(t,t-g["y"===e?"bottom":"right"]));f&&(x=b(y,x)),s&&(v=b(w,v));let R=c.fn({...t,[y]:x,[w]:v});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[y]:f,[w]:s}}}}}},ew=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let a,f,s,{placement:p,middlewareData:h,rects:A,initialPlacement:S,platform:L,elements:C}=t,{mainAxis:P=!0,crossAxis:O=!0,fallbackPlacements:T,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:H="none",flipAlignment:D=!0,...z}=u(e,t);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let k=c(p),F=m(S),j=c(S)===S,M=await (null==L.isRTL?void 0:L.isRTL(C.floating)),W=T||(j||!D?[R(S)]:(a=R(S),[w(S),a,w(a)])),$="none"!==H;!T&&$&&W.push(...(f=d(S),s=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:y;return t?y:x;case"left":case"right":return t?v:b;default:return[]}}(c(S),"start"===H,M),f&&(s=s.map(e=>e+"-"+f),D&&(s=s.concat(s.map(w)))),s));let N=[S,...W],B=await L.detectOverflow(t,z),V=[],_=(null==(r=h.flip)?void 0:r.overflows)||[];if(P&&V.push(B[k]),O){let e=g(p,A,M);V.push(B[e[0]],B[e[1]])}if(_=[..._,{placement:p,overflows:V}],!V.every(e=>e<=0)){let e=((null==(i=h.flip)?void 0:i.index)||0)+1,t=N[e];if(t&&("alignment"!==O||F===m(t)||_.every(e=>m(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(o=_.filter(e=>e.overflows[0]<=0).sort((e,t)=>
2e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let e=null==(l=_.filter(e=>{if($){let t=m(e.placement);return t===F||"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(p!==n)return{reset:{placement:n}}}return{}}}},ey=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r,{placement:l,rects:a,platform:f,elements:s}=t,{apply:p=()=>{},...h}=u(e,t),g=await f.detectOverflow(t,h),w=c(l),y=d(l),x="y"===m(l),{width:v,height:b}=a.floating;"top"===w||"bottom"===w?(n=w,r=y===(await (null==f.isRTL?void 0:f.isRTL(s.floating))?"start":"end")?"left":"right"):(r=w,n="end"===y?"top":"bottom");let R=b-g.top-g.bottom,A=v-g.left-g.right,S=i(b-g[n],R),L=i(v-g[r],A),C=t.middlewareData.shift,P=!C,O=S,T=L;null!=C&&C.enabled.x&&(T=A),null!=C&&C.enabled.y&&(O=R),P&&!y&&(x?T=v-2*o(g.left,g.right):O=b-2*o(g.top,g.bottom)),await p({...t,availableWidth:T,availableHeight:O});let E=await f.getDimensions(s.floating);return v!==E.width||b!==E.height?{reset:{rects:!0}}:{}}}},ex=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=u(e,t);switch(i){case"referenceHidden":{let e=O(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{let e=O(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:T(e)}}}default:return{}}}}},ev=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:a,platform:f,elements:s,middlewareData:c}=t,{element:g,padding:w=0}=u(e,t)||{};if(null==g)return{};let y=A(w),x={x:n,y:r},v=p(m(l)),b=h(v),R=await f.getDimensions(g),S="y"===v,L=S?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[v]-x[v]-a.floating[b],P=x[v]-a.reference[v],O=await (null==f.getOffsetParent?void 0:f.getOffsetParent(g)),T=O?O[L]:0;T&&await (null==f.isElement?void 0:f.isElement(O))||(T=s.floating[L]||a.floating[b]);let E=T/2-R[b]/2-1,H=i(y[S?"top":"left"],E),D=i(y[S?"bottom":"right"],E),z=T-R[b]-D,k=T/2-R[b]/2+(C/2-P/2),F=o(H,i(k,z)),j=!c.arrow&&null!=d(l)&&k!==F&&a.reference[b]/2-(k<H?H:D)-R[b]/2<0,M=j?k<H?k-H:k-z:0;return{[v]:x[v]+M,data:{[v]:F,centerOffset:k-F-M,...j&&{alignmentOffset:M}},reset:j}}}),eb=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,r,i,o;let{x:l,y:a,placement:f,rects:s,middlewareData:d}=t,{offset:h=0,mainAxis:g=!0,crossAxis:w=!0}=u(e,t),y={x:l,y:a},x=m(f),v=p(x),b=y[v],R=y[x],A=u(h,t),S="number"==typeof A?{mainAxis:A,crossAxis:0}:{mainAxis:null!=(n=A.mainAxis)?n:0,crossAxis:null!=(r=A.crossAxis)?r:0};if(g){let e="y"===v?"height":"width",t=s.reference[v]-s.floating[e]+S.mainAxis,n=s.reference[v]+s.reference[e]-S.mainAxis;b<t?b=t:b>n&&(b=n)}if(w){let e="y"===v?"width":"height",t=H.has(c(f)),n=s.reference[x]-s.floating[e]+(t&&(null==(i=d.offset)?void 0:i[x])||0)+(t?0:S.crossAxis),r=s.reference[x]+s.reference[e]+(t?0:(null==(o=d.offset)?void 0:o[x])||0)-(t?S.crossAxis:0);R<n?R=n:R>r&&(R=r)}return{[v]:b,[x]:R}}}},eR=(e,t,n)=>{let r=new Map,i=null!=n?n:{},o={...ep,...i.platform,_c:r};return P(e,t,{...i,platform:o})};e.s(["arrow",0,ev,"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o,l;let{rects:a,middlewareData:f,placement:s,platform:p,elements:h}=t,{crossAxis:m=!1,alignment:y,allowedPlacements:x=r,autoAlignment:v=!0,...b}=u(e,t),R=void 0!==y||x===r?((l=y||null)?[...x.filter(e=>d(e)===l),...x.filter(e=>d(e)!==l)]:x.filter(e=>c(e)===e)).filter(e=>!l||d(e)===l||!!v&&w(e)!==e):x,A=(null==(n=f.autoPlacement)?void 0:n.index)||0,S=R[A];if(null==S)return{};if(s!==S)return{reset:{placement:R[0]}};let L=await p.detectOverflow(t,b),C=g(S,a,await (null==p.isRTL?void 0:p.isRTL(h.floating))),P=[L[c(S)],L[C[0]],L[C[1]]],O=[...(null==(i=f.autoPlacement)?void 0:i.overflows)||[],{placement:S,overflows:P}],T=R[A+1];if(T)return{data:{index:A+1,overflows:O},reset:{placement:T}};let E=O.map(e=>{let t=d(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>
2e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),H=(null==(o=E.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||E[0][0];return H!==s?{data:{index:A+1,overflows:O},reset:{placement:H}}:{}}}},"autoUpdate",0,function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=et(e),h=f||s?[...p?Q(p):[],...t?Q(t):[]]:[];h.forEach(e=>{f&&e.addEventListener("scroll",n),s&&e.addEventListener("resize",n)});let m=p&&c?function(e,t,n){let r,l=null,f=j(e);function s(){var e;clearTimeout(r),null==(e=l)||e.disconnect(),l=null}function u(n,c){void 0===n&&(n=!1),void 0===c&&(c=1),s();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(n||t(),!m||!g)return;let w={rootMargin:-a(h)+"px "+-a(f.clientWidth-(p+m))+"px "+-a(f.clientHeight-(h+g))+"px "+-a(p)+"px",threshold:o(0,i(1,c))||1},y=!0;function x(t){let n=t[0].intersectionRatio;if(!eh(d,e.getBoundingClientRect()))return u();if(n!==c){if(!y)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}y=!1}try{l=new IntersectionObserver(x,{...w,root:f.ownerDocument})}catch(e){l=new IntersectionObserver(x,w)}l.observe(e)}let c=F(e),d=()=>u(n);return c.addEventListener("resize",d),u(!0),()=>{c.removeEventListener("resize",d),s()}}(p,n,s):null,g=-1,w=null;u&&(w=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&w&&t&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),p&&!d&&w.observe(p),t&&w.observe(t));let y=d?eo(e):null;return d&&function t(){let r=eo(e);y&&!eh(y,r)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{f&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=w)||e.disconnect(),w=null,d&&cancelAnimationFrame(l)}},"computePosition",0,eR,"flip",0,ew,"hide",0,ex,"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:l,platform:a,strategy:f}=t,{padding:s=2,x:d,y:p}=u(e,t),h=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]);if(!h.length)return{};let g=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>S(E(e)))}(h),w=S(E(h)),y=A(s),x=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&(g[0].left>g[1].right||g[1].left>g[0].right)&&null!=d&&null!=p)return g.find(e=>d>e.left-y.left&&d<e.right+y.right&&p>e.top-y.top&&p<e.bottom+y.bottom)||w;if(g.length>=2){if("y"===m(n)){let e=g[0],t=g[g.length-1],r="top"===c(n),i=e.top,o=t.bottom,l=r?e.left:t.left;return S({x:l,y:i,width:(r?e.right:t.right)-l,height:o-i})}let e="left"===c(n),t=o(...g.map(e=>e.right)),r=i(...g.map(e=>e.left)),l=g.filter(n=>e?n.left===r:n.right===t),a=l[0].top;return S({x:r,y:a,width:t-r,height:l[l.length-1].bottom-a})}return w}},floating:r.floating,strategy:f});return l.reference.x!==x.reference.x||l.reference.y!==x.reference.y||l.reference.width!==x.reference.width||l.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},"limitShift",0,eb,"offset",0,em,"shift",0,eg,"size",0,ey],595466);var eA=e.i(975705),eS=e.i(811368),eL="u">typeof document?eA.useLayoutEffect:function(){};function eC(e,t){let n,r,i;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(!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 eP(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eO(e,t){let n=eP(e);return Math.round(t*n)/n}function eT(e){let t=eA.useRef(e);return eL(()=>{t.current=e}),t}e.s(["arrow",0,(e,t)=>{let n={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?ev({element:n.current,padding:r}).fn(t):{}:n?ev({element:n,padding:r}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}},"flip",0,(e,t)=>{let n=ew(e);return{name:n.name,fn:n.fn,options:[e,t]}},"hide",0,(e,t)=>{let n=ex(e);return{name:n.name,fn:n.fn,options:[e,t]}},"limitShift",0,(e,t)=>({fn:eb(e).fn,options:[e,t]}),"offset",0,(e,t)=>{let n=em(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift",0,(e,t)=>{let n=eg(e);return{name:n.name,fn:n.fn,options:[e,t]}},"size",0,(e,t)=>{let n=ey(e);return{name:n.name,fn:n.fn,options:[e,t]}},"useFloating",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:a=!0,whileElementsMounted:f,open:s}=e,[u,c]=eA.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=eA.useState(r);eC(d,r)||p(r);let[h,m]=eA.useState(null),[g,w]=eA.useState(null),y=eA.useCallback(e=>
vendor: 1,085 bytes, line 2
2{e!==R.current&&(R.current=e,m(e))},[]),x=eA.useCallback(e=>{e!==A.current&&(A.current=e,w(e))},[]),v=o||h,b=l||g,R=eA.useRef(null),A=eA.useRef(null),S=eA.useRef(u),L=null!=f,C=eT(f),P=eT(i),O=eT(s),T=eA.useCallback(()=>{if(!R.current||!A.current)return;let e={placement:t,strategy:n,middleware:d};P.current&&(e.platform=P.current),eR(R.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};E.current&&!eC(S.current,t)&&(S.current=t,eS.flushSync(()=>{c(t)}))})},[d,t,n,P,O]);eL(()=>{!1===s&&S.current.isPositioned&&(S.current.isPositioned=!1,c(e=>({...e,isPositioned:!1})))},[s]);let E=eA.useRef(!1);eL(()=>(E.current=!0,()=>{E.current=!1}),[]),eL(()=>{if(v&&(R.current=v),b&&(A.current=b),v&&b){if(C.current)return C.current(v,b,T);T()}},[v,b,T,C,L]);let H=eA.useMemo(()=>({reference:R,floating:A,setReference:y,setFloating:x}),[y,x]),D=eA.useMemo(()=>({reference:v,floating:b}),[v,b]),z=eA.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eO(D.floating,u.x),r=eO(D.floating,u.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eP(
2D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,D.floating,u.x,u.y]);return eA.useMemo(()=>({...u,update:T,refs:H,elements:D,floatingStyles:z}),[u,T,H,D,z])}],5215);var eE=e.i(805606),eH=e.i(268601),eD=eA.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eH.jsx)(eE.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eH.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eD.displayName="Arrow",e.s(["Root",0,eD],501700)},81079,e=>{"use strict";var t=e.i(975705),n=e.i(5215),r=e.i(595466),i=e.i(501700),o=e.i(286542),l=e.i(935408),a=e.i(805606),f=e.i(979322),s=e.i(452423),u=e.i(454543),c=e.i(268601),d="Popper",[p,h]=(0,l.createContextScope)(d),[m,g]=p(d),w=e=>{let{__scopePopper:n,children:r}=e,[i,o]=t.useState(null);return(0,c.jsx)(m,{scope:n,anchor:i,onAnchorChange:o,children:r})};w.displayName=d;var y="PopperAnchor",x=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:i,...l}=e,f=g(y,r),s=t.useRef(null),u=(0,o.useComposedRefs)(n,s),d=t.useRef(null);return t.useEffect(()=>{let e=d.current;d.current=i?.current||s.current,e!==d.current&&f.onAnchorChange(d.current)}),i?null:(0,c.jsx)(a.Primitive.div,{...l,ref:u})});x.displayName=y;var v="PopperContent",[b,R]=p(v),A=t.forwardRef((e,i)=>{let{__scopePopper:l,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:m=0,arrowPadding:w=0,avoidCollisions:y=!0,collisionBoundary:x=[],collisionPadding:R=0,sticky:A="partial",hideWhenDetached:S=!1,updatePositionStrategy:L="optimized",onPlaced:C,...E}=e,H=g(v,l),[D,z]=t.useState(null),k=(0,o.useComposedRefs)(i,e=>z(e)),[F,j]=t.useState(null),M=(0,u.useSize)(F),W=M?.width??0,$=M?.height??0,N="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},B=Array.isArray(x)?x:[x],V=B.length>0,_={padding:N,boundary:B.filter(P),altBoundary:V},{refs:I,floatingStyles:Y,placement:U,isPositioned:X,middlewareData:q}=(0,n.useFloating)({strategy:"fixed",placement:d+("center"!==h?"-"+h:""),whileElementsMounted:(...e)=>(0,r.autoUpdate)(...e,{animationFrame:"always"===L}),elements:{reference:H.anchor},middleware:[(0,n.offset)({mainAxis:p+$,alignmentAxis:m}),y&&(0,n.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?(0,n.limitShift)():void 0,..._}),y&&(0,n.flip)({..._}),(0,n.size)({..._,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=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",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}}),F&&(0,n.arrow)({element:F,padding:w}),O({arrowWidth:W,arrowHeight:$}),S&&(0,n.hide)({strategy:"referenceHidden",..._})]}),[K,G]=T(U),J=(0,f.useCallbackRef)(C);(0,s.useLayoutEffect)(()=>{X&&J?.()},[X,J]);let Q=q.arrow?.x,Z=q.arrow?.y,ee=q.arrow?.centerOffset!==0,[et,en]=t.useState();return(0,s.useLayoutEffect)(()=>{D&&en(window.getComputedStyle(D).zIndex)},[D]),(0,c.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:X?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[q.transformOrigin?.x,q.transformOrigin?.y].join(" "),...q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(b,{scope:l,placedSide:K,onArrowChange:j,arrowX:Q,arrowY:Z,shouldHideArrow:ee,children:(0,c.jsx)(a.Primitive.div,{"data-side":K,"data-align":G,...E,ref:k,style:{...E.style,animation:X?void 0:"none"}})})})});A.displayName=v;var S="PopperArrow",L={top:"bottom",right:"left",bottom:"top",left:"right"},C=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=R(S,n),l=L[o.placedSide];return(0,c.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,c.jsx)(i.Root,{...r,ref:t,style:{...r.style,display:"block"}})})});function P(e){return null!==e}C.displayName=S;var O=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[f,s]=T(n),u={start:"0%",center:"50%",end:"100%"}[s],c=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===f?(p=o?u:`${c}px`,h=`${-a}px`):"top"===f?(p=o?u:`${c}px`,h=`${r.floating.height+a}px`):"right"===f?(p=`${-a}px`,h=o?u:`${d}px`):"left"===f&&(p=`${r.floating.width+a}px`,h=o?u:`${d}px`),{data:{x:p,y:h}}}});function T(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,x,"Arrow",0,C,"Content",0,A,"Root",0,w,"createPopperScope",0,h])},454543,e=>{"use strict";var t=e.i(975705),n=e.i(452423);e.s(["useSize",0,function(e){let[r,i]=t.useState(void 0);return(0,n.useLayoutEffect)(()=>
2{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,r;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;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;i({width:n,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),r}])},170365,e=>{"use strict";var t=e.i(268601),n=e.i(975705),r=e.i(630764),i=n.forwardRef((e,n)=>(0,t.jsx)(r.Primitive.label,{...e,ref:n,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var o=e.i(766181),l=e.i(956687);let a=(0,o.cva)("block text-2xs text-neutral-1000 mb-2"),f=n.forwardRef(({className:e,...n},r)=>(0,t.jsx)(i,{ref:r,className:(0,l.cn)(a(),e),...n}));f.displayName=i.displayName,e.s(["default",0,f],170365)}]); 3 4//# debugId=8209cbe5-3885-2161-dde8-2107d1e1c074
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.