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]="0502fc1c-f15b-9be6-147a-e1e62edf329d")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,853660,953760,e=>{"use strict";let t;var n=e.i(271645);let r=["top","right","bottom","left"],i=r.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,l=Math.max,a=Math.round,f=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e,t,n){void 0===n&&(n=!1);let r=p(e),i=h(g(e)),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=A(l)),[l,A(l)]}function w(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],x=["right","left"],b=["top","bottom"],R=["bottom","top"];function A(e){let t=d(e);return c[t]+e.slice(t.length)}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 P(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 S(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=h(g(t)),f=m(a),s=d(t),c="y"===l,u=i.x+i.width/2-o.width/2,y=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:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[a]-=w*(n&&c?-1:1);break;case"end":r[a]+=w*(n&&c?-1:1)}return r}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:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=u(t,e),m=C(h),g=a[p?"floating"===d?"reference":"floating":d],y=P(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})),w="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},b=P(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:v,strategy:f}):w);return{top:(y.top-b.top+m.top)/x.y,bottom:(b.bottom-y.bottom+m.bottom)/x.y,left:(y.left-b.left+m.left)/x.x,right:(b.right-y.right+m.right)/x.x}}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:L},f=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=S(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:y}=m,{x:w,y:v,data:x,reset:b}=await y({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=w?w:c,u=null!=v?v:u,h[g]={...h[g],...x},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:c,y:u}=S(s,d,f)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:h}};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 E(e){return r.some(t=>e[t]>=0)}function D(e){let t=o(...e.map(e=>e.left)),n=o(...e.map(e=>e.top));return{x:t,y:n,width:l(...e.map(e=>e.right))-t,height:l(...e.map(e=>e.bottom))-n}}let H=new Set(["left","top"]);async function k(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),a=p(n),f="y"===g(n),s=H.has(l)?-1:1,c=o&&f?-1:1,h=u(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:w}="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 w&&(y="end"===a?-1*w:w),f?{x:y*c,y:m*s}:{x:m*s,y:y*c}}function F(){return"u">typeof window}function $(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!F()&&(e instanceof Node||e instanceof j(e).Node)}function B(e){return!!F()&&(e instanceof Element||e instanceof j(e).Element)}function N(e){return!!F()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function z(e){return!(!F()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}function V(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function _(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let I=/transform|translate|scale|rotate|perspective|filter/,Y=/paint|layout|strict|content/,X=e=>!!e&&"none"!==e;function U(e){let t=B(e)?G(e):e;return X(t.transform)||X(t.translate)||X(t.scale)||X(t.rotate)||X(t.perspective)||!q()&&(X(t.backdropFilter)||X(t.filter))||I.test(t.willChange||"")||Y.test(t.contain||"")}function q(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function K(e){return/^(html|body|#document)$/.test($(e))}function G(e){return j(e).getComputedStyle(e)}function J(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Q(e){if("html"===$(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||M(e);return z(t)?t.host:t}function Z(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=Q(t);return K(n)?t.ownerDocument?t.ownerDocument.body:t.body:N(n)&&V(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=j(i);if(!o)return t.concat(i,Z(i,[],n));{let e=ee(l);return t.concat(l,l.visualViewport||[],V(i)?i:[],e&&n?Z(e):[])}}function ee(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function et(e){let t=G(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=N(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,f
2=a(n)!==o||a(r)!==l;return f&&(n=o,r=l),{width:n,height:r,$:f}}function en(e){return B(e)?e:e.contextElement}function er(e){let t=en(e);if(!N(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=et(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 ei=s(0);function eo(e){let t=j(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ei}function el(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=en(e),a=s(1);t&&(r?B(r)&&(a=er(r)):a=er(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===j(l))&&i)?eo(l):s(0),c=(o.left+f.x)/a.x,u=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=j(l),t=r&&B(r)?j(r):r,n=e,i=ee(n);for(;i&&r&&t!==n;){let e=er(i),t=i.getBoundingClientRect(),r=G(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,p*=e.y,c+=o,u+=l,i=ee(n=j(i))}}return P({width:d,height:p,x:c,y:u})}function ea(e,t){let n=J(e).scrollLeft;return t?t.left+n:el(M(e)).left+n}function ef(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ea(e,n),y:n.top+t.scrollTop}}
2function es(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=j(e),r=M(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let e=q();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,f=i.offsetTop)}let s=ea(r);if(s<=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 s<=25&&(o+=s);return{width:o,height:l,x:a,y:f}}(e,n);else if("document"===t){let t,n,o,a,f,s,c;r=M(e),t=M(r),n=J(r),o=r.ownerDocument.body,a=l(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),f=l(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+ea(r),c=-n.scrollTop,"rtl"===G(o).direction&&(s+=l(t.clientWidth,o.clientWidth)-a),i={width:a,height:f,x:s,y:c}}else if(B(t)){let e,r,o,l,a,f;r=(e=el(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=N(t)?er(t):s(1),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=eo(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return P(i)}function ec(e){return"static"===G(e).position}function eu(e,t){if(!N(e)||"fixed"===G(e).position)return null;if(t)return t(e);let n=e.offsetParent;return M(e)===n&&(n=n.ownerDocument.body),n}function ed(e,t){var n;let r=j(e);if(_(e))return r;if(!N(e)){let t=Q(e);for(;t&&!K(t);){if(B(t)&&!ec(t))return t;t=Q(t)}return r}let i=eu(e,t);for(;i&&(n=i,/^(table|td|th)$/.test($(n)))&&ec(i);)i=eu(i,t);return i&&K(i)&&ec(i)&&!U(i)?r:i||function(e){let t=Q(e);for(;N(t)&&!K(t);){if(U(t))return t;if(_(t))break;t=Q(t)}return null}(e)||r}let ep=async function(e){let t=this.getOffsetParent||ed,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=N(t),i=M(t),o="fixed"===n,l=el(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=s(0);if(r||!r&&!o)if(("body"!==$(t)||V(i))&&(a=J(t)),r){let e=el(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ea(i));o&&!r&&i&&(f.x=ea(i));let c=!i||r||o?s(0):ef(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}}},eh={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=M(r),a=!!t&&_(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=s(1),u=s(0),d=N(r);if((d||!d&&!o)&&(("body"!==$(r)||V(l))&&(f=J(r)),d)){let e=el(r);c=er(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!l||d||o?s(0):ef(l,f);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-f.scrollTop*c.y+u.y+p.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?_(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Z(e,[],!1).filter(e=>B(e)&&"body"!==$(e)),i=null,o="fixed"===G(e).position,l=o?Q(e):e;for(;B(l)&&!K(l);){let t=G(l),n=U(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||V(l)&&!n&&function e(t,n){let r=Q(t);return!(r===n||!B(r)||K(r))&&("fixed"===G(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=Q(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],f=es(t,a[0],i),s=f.top,c=f.right,u=f.bottom,d=f.left;for(let e=1;e<a.length;e++){let n=es(t,a[e],i);s=l(n.top,s),c=o(n.right,c),u=o(n.bottom,u),d=l(n.left,d)}return{width:c-d,height:u-s,x:d,y:s}},getOffsetParent:ed,getElementRects:ep,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=et(e);return{width:t,height:n}},getScale:er,isElement:B,isRTL:function(e){return"rtl"===G(e).direction}};function em(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eg(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=en(e),h=a||s?[...p?Z(p):[],...t?Z(t):[]]:[];
2h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let m=p&&u?function(e,t){let n,r=null,i=M(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),a();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||t(),!m||!g)return;let y={rootMargin:-f(h)+"px "+-f(i.clientWidth-(p+m))+"px "+-f(i.clientHeight-(h+g))+"px "+-f(p)+"px",threshold:l(0,o(1,u))||1},w=!0;function v(t){let r=t[0].intersectionRatio;if(r!==u){if(!w)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||em(d,e.getBoundingClientRect())||s(),w=!1}try{r=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(v,y)}r.observe(e)}(!0),a}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),t&&y.observe(t));let w=d?el(e):null;return d&&function t(){let r=el(e);w&&!em(w,r)&&n(),w=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(i)}}let ey=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 k(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}}}}},ew=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:f=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...p}=u(e,t),m={x:n,y:r},y=await a.detectOverflow(t,p),w=g(d(i)),v=h(w),x=m[v],b=m[w];if(f){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=x+y[e],r=x-y[t];x=l(n,o(x,r))}if(s){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=b+y[e],r=b-y[t];b=l(n,o(b,r))}let R=c.fn({...t,[v]:x,[w]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[v]:f,[w]:s}}}}}},ev=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:c,middlewareData:h,rects:m,initialPlacement:C,platform:P,elements:S}=t,{mainAxis:L=!0,crossAxis:O=!0,fallbackPlacements:T,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:H=!0,...k}=u(e,t);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let F=d(c),$=g(C),j=d(C)===C,M=await (null==P.isRTL?void 0:P.isRTL(S.floating)),W=T||(j||!H?[A(C)]:(a=A(C),[w(C),a,w(a)])),B="none"!==D;!T&&B&&W.push(...(f=p(C),s=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:v;return t?v:x;case"left":case"right":return t?b:R;default:return[]}}(d(C),"start"===D,M),f&&(s=s.map(e=>e+"-"+f),H&&(s=s.concat(s.map(w)))),s));let N=[C,...W],z=await P.detectOverflow(t,k),V=[],_=(null==(r=h.flip)?void 0:r.overflows)||[];if(L&&V.push(z[F]),O){let e=y(c,m,M);V.push(z[e[0]],z[e[1]])}if(_=[..._,{placement:c,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||$===g(t)||_.every(e=>g(e.placement)!==$||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)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let e=null==(l=_.filter(e=>{if(B){let t=g(e.placement);return t===$||"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(c!==n)return{reset:{placement:n}}}return{}}}},ex=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,a,{placement:f,rects:s,platform:c,elements:h}=t,{apply:m=()=>{},...y}=u(e,t),w=await c.detectOverflow(t,y),v=d(f),x=p(f),b="y"===g(f),{width:R,height:A}=s.floating;"top"===v||"bottom"===v?(i=v,a=x===(await (null==c.isRTL?void 0:c.isRTL(h.floating))?"start":"end")?"left":"right"):(a=v,i="end"===x?"top":"bottom");let C=A-w.top-w.bottom,P=R-w.left-w.right,S=o(A-w[i],C),L=o(R-w[a],P),O=!t.middlewareData.shift,T=S,E=L;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(E=P),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=C),O&&!x){let e=l(w.left,0),t=l(w.right,0),n=l(w.top,0),r=l(w.bottom,0);b?E=R-2*(0!==e||0!==t?e+t:l(w.left,w.right)):T=A-2*(0!==n||0!==r?n+r:l(w.top,w.bottom))}await m({...t,availableWidth:E,availableHeight:T});let D=await c.getDimensions(h.floating);return R!==D.width||A!==D.height?{reset:{rects:!0}}:{}}}},eb=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);
2switch(i){case"referenceHidden":{let e=T(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:E(e)}}}case"escaped":{let e=T(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:E(e)}}}default:return{}}}}},eR=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:f,elements:s,middlewareData:c}=t,{element:d,padding:y=0}=u(e,t)||{};if(null==d)return{};let w=C(y),v={x:n,y:r},x=h(g(i)),b=m(x),R=await f.getDimensions(d),A="y"===x,P=A?"clientHeight":"clientWidth",S=a.reference[b]+a.reference[x]-v[x]-a.floating[b],L=v[x]-a.reference[x],O=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d)),T=O?O[P]:0;T&&await (null==f.isElement?void 0:f.isElement(O))||(T=s.floating[P]||a.floating[b]);let E=T/2-R[b]/2-1,D=o(w[A?"top":"left"],E),H=o(w[A?"bottom":"right"],E),k=T-R[b]-H,F=T/2-R[b]/2+(S/2-L/2),$=l(D,o(F,k)),j=!c.arrow&&null!=p(i)&&F!==$&&a.reference[b]/2-(F<D?D:H)-R[b]/2<0,M=j?F<D?F-D:F-k:0;return{[x]:v[x]+M,data:{[x]:$,centerOffset:F-$-M,...j&&{alignmentOffset:M}},reset:j}}}),eA=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:s=!0}=u(e,t),c={x:n,y:r},p=g(i),m=h(p),y=c[m],w=c[p],v=u(a,t),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(f){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+x.mainAxis,n=o.reference[m]+o.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(s){var b,R;let e="y"===m?"width":"height",t=H.has(d(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[p])||0)+(t?0:x.crossAxis),r=o.reference[p]+o.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[p])||0)-(t?x.crossAxis:0);w<n?w=n:w>r&&(w=r)}return{[m]:y,[p]:w}}}},eC=(e,t,n)=>{let r=new Map,i={platform:eh,...n},o={...i.platform,_c:r};return O(e,t,{...i,platform:o})};e.s(["arrow",0,eR,"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o,l;let{rects:a,middlewareData:f,placement:s,platform:c,elements:h}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:v=i,autoAlignment:x=!0,...b}=u(e,t),R=void 0!==g||v===i?((l=g||null)?[...v.filter(e=>p(e)===l),...v.filter(e=>p(e)!==l)]:v.filter(e=>d(e)===e)).filter(e=>!l||p(e)===l||!!x&&w(e)!==e):v,A=await c.detectOverflow(t,b),C=(null==(n=f.autoPlacement)?void 0:n.index)||0,P=R[C];if(null==P)return{};let S=y(P,a,await (null==c.isRTL?void 0:c.isRTL(h.floating)));if(s!==P)return{reset:{placement:R[0]}};
2let L=[A[d(P)],A[S[0]],A[S[1]]],O=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:P,overflows:L}],T=R[C+1];if(T)return{data:{index:C+1,overflows:O},reset:{placement:T}};let E=O.map(e=>{let t=p(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),D=(null==(o=E.filter(e=>e[2].slice(0,p(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||E[0][0];return D!==s?{data:{index:C+1,overflows:O},reset:{placement:D}}:{}}}},"autoUpdate",0,eg,"computePosition",0,eC,"flip",0,ev,"hide",0,eb,"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:i,platform:a,strategy:f}=t,{padding:s=2,x:c,y:p}=u(e,t),h=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]),m=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=>P(D(e)))}(h),y=P(D(h)),w=C(s),v=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=c&&null!=p)return m.find(e=>c>e.left-w.left&&c<e.right+w.right&&p>e.top-w.top&&p<e.bottom+w.bottom)||y;if(m.length>=2){if("y"===g(n)){let e=m[0],t=m[m.length-1],r="top"===d(n),i=e.top,o=t.bottom,l=r?e.left:t.left,a=r?e.right:t.right;return{top:i,bottom:o,left:l,right:a,width:a-l,height:o-i,x:l,y:i}}let e="left"===d(n),t=l(...m.map(e=>e.right)),r=o(...m.map(e=>e.left)),i=m.filter(n=>e?n.left===r:n.right===t),a=i[0].top,f=i[i.length-1].bottom;return{top:a,bottom:f,left:r,right:t,width:t-r,height:f-a,x:r,y:a}}return y}},floating:r.floating,strategy:f});return i.reference.x!==v.reference.x||i.reference.y!==v.reference.y||i.reference.width!==v.reference.width||i.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},"limitShift",0,eA,"offset",0,ey,"shift",0,ew,"size",0,ex],953760);var eP=e.i(174080),eS="u">typeof document?n.useLayoutEffect:function(){};function eL(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(!eL(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)&&!eL(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eO(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eT(e,t){let n=eO(e);return Math.round(t*n)/n}function eE(e){let t=n.useRef(e);return eS(()=>{t.current=e}),t}var eD=e.i(248425),eH=e.i(843476),ek=n.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eH.jsx)(eD.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"})})});ek.displayName="Arrow";var eF=e.i(820783),e$=e.i(30030),ej=e.i(30207),eM=e.i(934620),eW=e.i(635804),eB="Popper",[eN,ez]=(0,e$.createContextScope)(eB),[eV,e_]=eN(eB),eI=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null),[l,a]=n.useState(void 0);return(0,eH.jsx)(eV,{scope:t,anchor:i,onAnchorChange:o,placementState:l,setPlacementState:a,children:r})};eI.displayName=eB;var eY="PopperAnchor",eX=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...o}=e,l=e_(eY,r),a=n.useRef(null),f=l.onAnchorChange,s=n.useCallback(e=>{a.current=e,e&&f(e)},[f]),c=(0,eF.useComposedRefs)(t,s),u=n.useRef(null);n.useEffect(()=>{if(!i)return;let e=u.current;u.current=i.current,e!==u.current&&f(u.current)});let d=l.placementState&&e2(l.placementState),p=d?.[0],h=d?.[1];return i?null:(0,eH.jsx)(eD.Primitive.div,{"data-radix-popper-side":p,"data-radix-popper-align":h,...o,ref:c})});eX.displayName=eY;var eU="PopperContent",[eq,eK]=eN(eU),eG=n.forwardRef((e,t)=>{var r,i,o,l,a,f,s;let c,u,d,p,h,m,{__scopePopper:g,side:y="bottom",sideOffset:w=0,align:v="center",alignOffset:x=0,arrowPadding:b=0,avoidCollisions:R=!0,collisionBoundary:A=[],collisionPadding:C=0,sticky:P="partial",hideWhenDetached:S=!1,updatePositionStrategy:L="optimized",onPlaced:O,...T}=e,E=e_(eU,g),[D,H]=n.useState(null),k=(0,eF.useComposedRefs)(t,H),[F,$]=n.useState(null),j=(0,eW.useSize)(F),M=j?.width??0,W=j?.height??0,B="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},N=Array.isArray(A)?A:[A],z=N.length>0,V={padding:B,boundary:N.filter(e0),altBoundary:z},{refs:_,floatingStyles:I,placement:Y,isPositioned:X,middlewareData:U}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:s,open:c}=e,[u,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=n.useState(i);eL(p,i)||h(i);let[m,g]=n.useState(null),[y,w]=n.useState(null),v=n.useCallback(e=>
2{e!==A.current&&(A.current=e,g(e))},[]),x=n.useCallback(e=>{e!==C.current&&(C.current=e,w(e))},[]),b=l||m,R=a||y,A=n.useRef(null),C=n.useRef(null),P=n.useRef(u),S=null!=s,L=eE(s),O=eE(o),T=eE(c),E=n.useCallback(()=>{if(!A.current||!C.current)return;let e={placement:t,strategy:r,middleware:p};O.current&&(e.platform=O.current),eC(A.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};D.current&&!eL(P.current,t)&&(P.current=t,eP.flushSync(()=>{d(t)}))})},[p,t,r,O,T]);eS(()=>{!1===c&&P.current.isPositioned&&(P.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let D=n.useRef(!1);eS(()=>(D.current=!0,()=>{D.current=!1}),[]),eS(()=>{if(b&&(A.current=b),R&&(C.current=R),b&&R){if(L.current)return L.current(b,R,E);E()}},[b,R,E,L,S]);let H=n.useMemo(()=>({reference:A,floating:C,setReference:v,setFloating:x}),[v,x]),k=n.useMemo(()=>({reference:b,floating:R}),[b,R]),F=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!k.floating)return e;let t=eT(k.floating,u.x),n=eT(k.floating,u.y);return f?{...e,transform:"translate("+t+"px, "+n+"px)",...eO(k.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,f,k.floating,u.x,u.y]);return n.useMemo(()=>({...u,update:E,refs:H,elements:k,floatingStyles:F}),[u,E,H,k,F])}({strategy:"fixed",placement:y+("center"!==v?"-"+v:""),whileElementsMounted:(...e)=>eg(...e,{animationFrame:"always"===L}),elements:{reference:E.anchor},middleware:[{name:(c=ey(r={mainAxis:w+W,alignmentAxis:x})).name,fn:c.fn,options:[r,void 0]},R&&{name:(u=ew(i={mainAxis:!0,crossAxis:!1,limiter:"partial"===P?{fn:eA(void 0).fn,options:[void 0,void 0]}:void 0,...V})).name,fn:u.fn,options:[i,void 0]},R&&{name:(d=ev(o={...V})).name,fn:d.fn,options:[o,void 0]},{name:(p=ex(l={...V,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`)}})).name,fn:p.fn,options:[l,void 0]},F&&{name:(h={name:"arrow",options:f=a={element:F,padding:b},fn(e){let{element:t,padding:n}="function"==typeof f?f(e):f;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eR({element:t.current,padding:n}).fn(e):{}:t?eR({element:t,padding:n}).fn(e):{}}}).name,fn:h.fn,options:[a,void 0]},e1({arrowWidth:M,arrowHeight:W}),S&&{name:(m=eb(s={strategy:"referenceHidden",...V,boundary:z?V.boundary:void 0})).name,fn:m.fn,options:[s,void 0]}]}),q=E.setPlacementState;(0,eM.useLayoutEffect)(()=>(q(Y),()=>{q(void 0)}),[Y,q]);let[K,G]=e2(Y),J=(0,ej.useCallbackRef)(O);(0,eM.useLayoutEffect)(()=>{X&&J?.()},[X,J]);let Q=U.arrow?.x,Z=U.arrow?.y,ee=U.arrow?.centerOffset!==0,[et,en]=n.useState();return(0,eM.useLayoutEffect)(()=>{D&&en(window.getComputedStyle(D).zIndex)},[D]),(0,eH.jsx)("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:X?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[U.transformOrigin?.x,U.transformOrigin?.y].join(" "),...U.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eH.jsx)(eq,{scope:g,placedSide:K,placedAlign:G,onArrowChange:$,arrowX:Q,arrowY:Z,shouldHideArrow:ee,children:(0,eH.jsx)(eD.Primitive.div,{"data-side":K,"data-align":G,...T,ref:k,style:{...T.style,animation:X?void 0:"none"}})})})});eG.displayName=eU;var eJ="PopperArrow",eQ={top:"bottom",right:"left",bottom:"top",left:"right"},eZ=n.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eK(eJ,n),o=eQ[i.placedSide];return(0,eH.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,eH.jsx)(ek,{...r,ref:t,style:{...r.style,display:"block"}})})});function e0(e){return null!==e}eZ.displayName=eJ;var e1=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]=e2(n),c={start:"0%",center:"50%",end:"100%"}[s],u=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===f?(p=o?c:`${u}px`,h=`${-a}px`):"top"===f?(p=o?c:`${u}px`,h=`${r.floating.height+a}px`):"right"===f?(p=`${-a}px`,h=o?c:`${d}px`):"left"===f&&(p=`${r.floating.width+a}px`,h=o?c:`${d}px`),{data:{x:p,y:h}}}});function e2(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,eX,"Arrow",0,eZ,"Content",0,eG,"Root",0,eI,"createPopperScope",0,ez],853660)}]); 3 4//# debugId=0502fc1c-f15b-9be6-147a-e1e62edf329d
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.