1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,366702,e=>{"use strict";let t;var n=e.i(372261),r=e.i(649163),o=e.i(824395),i=e.i(876241),l=e.i(807121),a=e.i(560077),s=e.i(579745),c=e.i(68509),f=e.i(744242),u=e.i(271645),d=e.i(981140),p=e.i(820783),h=e.i(30030),m=e.i(726330),g=e.i(303536),v=e.i(765491),x=e.i(610772);let y=["top","right","bottom","left"],w=Math.min,b=Math.max,C=Math.round,R=Math.floor,P=e=>({x:e,y:e}),A={left:"right",right:"left",bottom:"top",top:"bottom"};function O(e,t){return"function"==typeof e?e(t):e}function j(e){return e.split("-")[0]}function S(e){return e.split("-")[1]}function E(e){return"x"===e?"y":"x"}function T(e){return"y"===e?"height":"width"}function L(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function F(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let _=["left","right"],k=["right","left"],D=["top","bottom"],H=["bottom","top"];function N(e){let t=j(e);return A[t]+e.slice(t.length)}function M(e){var t,n,r,o;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!=(o=e.left)?o:0}:{top:e,right:e,bottom:e,left:e}}function z(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function W(e,t,n){let r,{reference:o,floating:i}=e,l=L(t),a=E(L(t)),s=T(a),c=j(t),f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;switch(c){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}let p=S(t);return p&&(r[a]+=d*("end"===p?1:-1)*(n&&"y"===l?-1:1)),r}async function $(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=O(t,e),h=M(p),m=a[d?"floating"===u?"reference":"floating":u],g=z(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:f,strategy:s})),v="floating"===u?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await (null==i.isElement?void 0:i.isElement(x))&&await (null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},w=z(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:s}):v);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}let B=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:$},s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:u}=W(c,r,s),d=r,p=0,h={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:g,fn:v}=m,{x:x,y:y,data:w,reset:b}=await v({x:f,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});f=null!=x?x:f,u=null!=y?y:u,h[g]={...h[g],...w},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:f,y:u}=W(c,d,s)),n=-1)}return{x:f,y:u,placement:d,strategy:o,middlewareData:h}};function I(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function V(e){return y.some(t=>e[t]>=0)}let U=new Set(["left","top"]);async function K(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=j(n),a=S(n),s="y"===L(n),c=U.has(l)?-1:1,f=i&&s?-1:1,u=O(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}
1:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*f,y:d*c}:{x:d*c,y:p*f}}function q(){return"u">typeof window}function G(e){return Z(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Y(e){var t;return null==(t=(Z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Z(e){return!!q()&&(e instanceof Node||e instanceof X(e).Node)}function J(e){return!!q()&&(e instanceof Element||e instanceof X(e).Element)}function Q(e){return!!q()&&(e instanceof HTMLElement||e instanceof X(e).HTMLElement)}function ee(e){return!(!q()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof X(e).ShadowRoot)}function et(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ec(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function en(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let er=/transform|translate|scale|rotate|perspective|filter/,eo=/paint|layout|strict|content/,ei=e=>!!e&&"none"!==e;function el(e){let t=J(e)?ec(e):e;return ei(t.transform)||ei(t.translate)||ei(t.scale)||ei(t.rotate)||ei(t.perspective)||!ea()&&(ei(t.backdropFilter)||ei(t.filter))||er.test(t.willChange||"")||eo.test(t.contain||"")}function ea(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function es(e){return/^(html|body|#document)$/.test(G(e))}function ec(e){return X(e).getComputedStyle(e)}function ef(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eu(e){if("html"===G(e))return e;let t=e.assignedSlot||e.parentNode||ee(e)&&e.host||Y(e);return ee(t)?t.host:t}function ed(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eu(t);return es(n)?(t.ownerDocument||t).body:Q(n)&&et(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=X(o);if(!i)return t.concat(o,ed(o,[],n));{let e=ep(l);return t.concat(l,l.visualViewport||[],et(o)?o:[],e&&n?ed(e):[])}}function ep(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eh(e){let t=ec(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=Q(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=C(n)!==i||C(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function em(e){return J(e)?e:e.contextElement}function eg(e){let t=em(e);if(!Q(t))return P(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eh(t),l=(i?C(n.width):n.width)/r,a=(i?C(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ev=P(0);function ex(e){let t=X(e);return ea()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ev}function ey(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=em(e),a=P(1);t&&(r?J(r)&&(a=eg(r)):a=eg(e));let s=(void 0===(o=n)&&(o=!1),r&&o&&r===X(l))?ex(l):P(0),c=(i.left+s.x)/a.x,f=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(l&&r){let e=X(l),t=J(r)?X(r):r,n=e,o=ep(n);for(;o&&t!==n;){let e=eg(o),t=o.getBoundingClientRect(),r=ec(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,u*=e.x,d*=e.y,c+=i,f+=l,o=ep(n=X(o))}}return z({width:u,height:d,x:c,y:f})}function ew(e,t){let n=ef(e).scrollLeft;return t?t.left+n:ey(Y(e)).left+n}function eb(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ew(e,n),y:n.top+t.scrollTop}}function eC(e,t,n){var r;let o;if("viewport"===t||"layoutViewport"===t)o=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,o=X(e),i=Y(e),l=o.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,f=0;if(l){let e=!ea()||"fixed"===t;r?e||(c=-l.offsetLeft,f=-l.offsetTop):(a=l.width,s=l.height,e&&(c=l.offsetLeft,f=l.offsetTop))}if(0>=ew(i)){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;l<=25&&(a-=l)}return{width:a,height:s,x:c,y:f}}(e,n,t);else if("document"===t){let t,n,i,l,a,s;t=ef(r=Y(e)),n=r.ownerDocument.body,i=b(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),l=b(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+ew(r),s=-t.scrollTop,"rtl"===ec(n).direction&&(a+=b(r.clientWidth,n.clientWidth)-i),o={width:i,height:l,x:a,y:s}}else if(J(t)){let e,r,i,l,a,s;r=(e=ey(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=eg(t),a=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:a,height:s,x:i*l.x,y:r*l.y}}else{let n=ex(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return z(o)}function eR(e){return"static"===ec(e).position}function eP(e,t){if(!Q(e)||"fixed"===ec(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Y(e)===n&&(n=n.ownerDocument.body),n}function eA(e,t){var n;let r=X(e);if(en(e))return r;if(!Q(e)){let t=eu(e);for(;t&&!es(t);){if(J(t)&&!eR(t))return t;t=eu(t)}return r}let o=eP(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(G(n)))&&eR(o);)o=eP(o,t);return o&&es(o)&&eR(o)&&!el(o)?r:o||function(e){let t=eu(e);for(;Q(t)&&!es(t);){if(el(t))return t;if(en(t))break;t=eu(t)}return null}(e)||r}let eO=async function(e){let t=this.getOffsetParent||eA,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=Q(t),o=Y(t),i="fixed"===n,l=ey(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=P(0);if((r||!i)&&(("body"!==G(t)||et(o))&&(a=ef(t)),r)){let e=ey(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!r&&o&&(s.x=ew(o));let c=!o||r||i?P(0):eb(o,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ej={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=Y(r),a=!!t&&en(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=P(1),f=P(0),u=Q(r);if((u||!i)&&(("body"!==G(r)||et(l))&&(s=ef(r)),u)){let e=ey(r);c=eg(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let d=!l||u||i?P(0):eb(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+f.x+d.x,y:n.y*c.y-s.scrollTop*c.y+f.y+d.y}},getDocumentElement:Y,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?en(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ed(e,[],!1).filter(e=>J(e)&&"body"!==G(e)),o=null,i="fixed"===ec(e).position,l=i?eu(e):e;for(;J(l)&&!es(l);){let e=ec(l),t=el(l),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==l),l=eu(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=eC(t,i[0],o),a=l.top,s=l.right,c=l.bottom,f=l.left;for(let e=1;e<i.length;e++){let n=eC(t,i[e],o);a=b(n.top,a),s=w(n.right,s),c=w(n.bottom,c),f=b(n.left,f)}return{width:s-f,height:c-a,x:f,y:a}},getOffsetParent:eA,getElementRects:eO,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=eh(e);return{width:t,height:n}},getScale:eg,isElement:J,isRTL:function(e){return"rtl"===ec(e).direction}};function eS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eE=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:c,padding:f=0}=O(e,t)||{};if(null==c)return{};let u=M(f),d={x:n,y:r},p=E(L(o)),h=T(p),m=await l.getDimensions(c),g="y"===p,v=g?"clientHeight":"clientWidth",x=i.reference[h]+i.reference[p]-d[p]-i.floating[h],y=d[p]-i.reference[p],C=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),R=C?C[v]:0;R&&await (null==l.isElement?void 0:l.isElement(C))||(R=a.floating[v]||i.floating[h]);let P=R/2-m[h]/2-1,A=w(u[g?"top":"left"],P),j=w(u[g?"bottom":"right"],P),F=R-m[h]-j,_=R/2-m[h]/2+(x/2-y/2),k=b(A,w(_,F)),D=!s.arrow&&null!=S(o)&&_!==k&&i.reference[h]/2-(_<A?A:j)-m[h]/2<0,H=D?_<A?_-A:_-F:0;return{[p]:d[p]+H,data:{[p]:k,centerOffset:_-k-H,...D&&{alignmentOffset:H}},reset:D}}});var eT=e.i(174080),eL="u">typeof document?u.useLayoutEffect:function(){};function eF(e,t){let n,r,o;
1if(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(!eF(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eF(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function e_(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ek(e,t){let n=e_(e);return Math.round(t*n)/n}function eD(e){let t=u.useRef(e);return eL(()=>{t.current=e}),t}var eH=e.i(248425),eN=e.i(843476),eM=Object.defineProperty,ez=u.forwardRef(eM(function(e,t){let{children:n,width:r=10,height:o=5,...i}=e;return(0,eN.jsx)(eH.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eN.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),eW=e.i(30207),e$=e.i(934620);function eB(e){let[t,n]=u.useState(void 0);return(0,e$.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(0,Object.defineProperty)(eB,"name",{value:"useSize",configurable:!0});var eI=Object.defineProperty,eV=(e,t)=>eI(e,"name",{value:t,configurable:!0}),eU="Popper",[eK,eq]=(0,h.createContextScope)(eU),[eG,eX]=eK(eU),eY=eV(e=>{let{__scopePopper:t,children:n}=e,[r,o]=u.useState(null),[i,l]=u.useState(void 0);return(0,eN.jsx)(eG,{scope:t,anchor:r,onAnchorChange:o,placementState:i,setPlacementState:l,children:n})},"Popper"),eZ=u.forwardRef(eV(function(e,t){let{__scopePopper:n,virtualRef:r,...o}=e,i=eX("PopperAnchor",n),l=u.useRef(null),a=i.onAnchorChange,s=u.useCallback(e=>{l.current=e,e&&a(e)},[a]),c=(0,p.useComposedRefs)(t,s),f=u.useRef(null);u.useEffect(()=>{if(!r)return;let e=f.current;f.current=r.current,e!==f.current&&a(f.current)});let d=i.placementState&&e7(i.placementState),h=d?.[0],m=d?.[1];return r?null:(0,eN.jsx)(eH.Primitive.div,{"data-radix-popper-side":h,"data-radix-popper-align":m,...o,ref:c})},"PopperAnchor")),eJ="PopperContent",[eQ,e0]=eK(eJ),e1=u.forwardRef(eV(function(e,t){var n,r,o,i,l,a,s,c,f,d,h,m,g;let v,x,y,C,P,A,{__scopePopper:M,side:z="bottom",sideOffset:W=0,align:$="center",alignOffset:q=0,arrowPadding:G=0,avoidCollisions:Z=!0,collisionBoundary:J=[],collisionPadding:Q=0,sticky:ee="partial",hideWhenDetached:et=!1,updatePositionStrategy:en="optimized",onPlaced:er,...eo}=e,ei=eX(eJ,M),[el,ea]=u.useState(null),es=(0,p.useComposedRefs)(t,ea),[ec,ef]=u.useState(null),eu=eB(ec),ep=eu?.width??0,eh=eu?.height??0,eg="number"==typeof Q?Q:{top:0,right:0,bottom:0,left:0,...Q},ev=Array.isArray(J)?J:[J],ex=ev.length>0,ew={padding:eg,boundary:ev.filter(e6),altBoundary:ex},{refs:eb,floatingStyles:eC,placement:eR,isPositioned:eP,middlewareData:eA}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:a=!0,whileElementsMounted:s,open:c}=e,[f,d]=u.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=u.useState(r);eF(p,r)||h(r);let[m,g]=u.useState(null),[v,x]=u.useState(null),y=u.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),w=u.useCallback(e=>{e!==P.current&&(P.current=e,x(e))},[]),b=i||m,C=l||v,R=u.useRef(null),P=u.useRef(null),A=u.useRef(f),O=null!=s,j=eD(s),S=eD(o),E=eD(c),T=u.useCallback(()=>{var e,r;let o,i,l;if(!R.current||!P.current)return;let a={placement:t,strategy:n,middleware:p};S.current&&(a.platform=S.current),(e=R.current,r=P.current,o=new Map,i=null!=a?a:{},l={...ej,...i.platform,_c:o},B(e,r,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==E.current};L.current&&!eF(A.current,t)&&(A.current=t,eT.flushSync(()=>{d(t)}))})},[p,t,n,S,E]);eL(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let L=u.useRef(!1);eL(()=>(L.current=!0,()=>{L.current=!1}),[]),eL(()=>
1{if(b&&(R.current=b),C&&(P.current=C),b&&C){if(j.current)return j.current(b,C,T);T()}},[b,C,T,j,O]);let F=u.useMemo(()=>({reference:R,floating:P,setReference:y,setFloating:w}),[y,w]),_=u.useMemo(()=>({reference:b,floating:C}),[b,C]),k=u.useMemo(()=>{let e={position:n,left:0,top:0};if(!_.floating)return e;let t=ek(_.floating,f.x),r=ek(_.floating,f.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...e_(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,_.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:T,refs:F,elements:_,floatingStyles:k}),[f,T,F,_,k])}({strategy:"fixed",placement:z+("center"!==$?"-"+$:""),whileElementsMounted:eV((...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,f=em(e),u=i||l?[...f?ed(f):[],...t?ed(t):[]]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n),l&&e.addEventListener("resize",n)});let d=f&&s?function(e,t,n){let r,o=null,i=Y(e);function l(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}function a(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),l();let c=e.getBoundingClientRect(),{left:f,top:u,width:d,height:p}=c;if(n||t(),!d||!p)return;let h={rootMargin:-R(u)+"px "+-R(i.clientWidth-(f+d))+"px "+-R(i.clientHeight-(u+p))+"px "+-R(f)+"px",threshold:b(0,w(1,s))||1},m=!0;function g(t){let n=t[0].intersectionRatio;if(!eS(c,e.getBoundingClientRect()))return a();if(n!==s){if(!m)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}m=!1}try{o=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(g,h)}o.observe(e)}let s=X(e),c=()=>a(n);return s.addEventListener("resize",c),a(!0),()=>{s.removeEventListener("resize",c),l()}}(f,n,l):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&h&&t&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),f&&!c&&h.observe(f),t&&h.observe(t));let m=c?ey(e):null;return c&&function t(){let r=ey(e);m&&!eS(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===en}),"whileElementsMounted"),elements:{reference:ei.anchor},middleware:[{name:(v={name:"offset",options:r=n={mainAxis:W+eh,alignmentAxis:q},async fn(e){var t,n;let{x:o,y:i,placement:l,middlewareData:a}=e,s=await K(e,r);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}).name,fn:v.fn,options:[n,void 0]},Z&&{name:(x={name:"shift",options:l=i={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(o=void 0,{options:o={},fn(e){var t,n,r,i;let{x:l,y:a,placement:s,rects:c,middlewareData:f}=e,{offset:u=0,mainAxis:d=!0,crossAxis:p=!0}=O(o,e),h={x:l,y:a},m=L(s),g=E(m),v=h[g],x=h[m],y=O(u,e),w="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:null!=(t=y.mainAxis)?t:0,crossAxis:null!=(n=y.crossAxis)?n:0};if(d){let e="y"===g?"height":"width",t=c.reference[g]-c.floating[e]+w.mainAxis,n=c.reference[g]+c.reference[e]-w.mainAxis;v<t?v=t:v>n&&(v=n)}if(p){let e="y"===g?"width":"height",t=U.has(j(s)),n=c.reference[m]-c.floating[e]+(t&&(null==(r=f.offset)?void 0:r[m])||0)+(t?0:w.crossAxis),o=c.reference[m]+c.reference[e]+(t?0:(null==(i=f.offset)?void 0:i[m])||0)-(t?w.crossAxis:0);x<n?x=n:x>o&&(x=o)}return{[g]:v,[m]:x}}}).fn,options:[void 0,void 0]}:void 0,...ew},async fn(e){let{x:t,y:n,placement:r,platform:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=O(l,e),f={x:t,y:n},u=await o.detectOverflow(e,c),d=L(r),p=E(d),h=f[p],m=f[d],g=(e,t)=>b(t+u["y"===e?"top":"left"],w(t,t-u["y"===e?"bottom":"right"]));i&&(h=g(p,h)),a&&(m=g(d,m));let v=s.fn({...e,[p]:h,[d]:m});return{...v,data:{x:v.x-t,y:v.y-n,enabled:{[p]:i,[d]:a}}}}}).name,fn:x.fn,options:[i,void 0]},Z&&{name:(y={name:"flip",options:s=a={...ew},async fn(e){var t,n,r,o,i,l,a,c;let f,u,d,{placement:p,middlewareData:h,rects:m,initialPlacement:g,platform:v,elements:x}=e,{mainAxis:y=!0,crossAxis:w=!0,fallbackPlacements:b,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:P=!0,...A}
1=O(s,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let M=j(p),z=L(g),W=j(g)===g,$=await (null==v.isRTL?void 0:v.isRTL(x.floating)),B=b||(W||!P?[N(g)]:(f=N(g),[F(g),f,F(f)])),I="none"!==R;!b&&I&&B.push(...(u=S(g),d=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?k:_;return t?_:k;case"left":case"right":return t?D:H;default:return[]}}(j(g),"start"===R,$),u&&(d=d.map(e=>e+"-"+u),P&&(d=d.concat(d.map(F)))),d));let V=[g,...B],U=await v.detectOverflow(e,A),K=[],q=(null==(n=h.flip)?void 0:n.overflows)||[];if(y&&K.push(U[M]),w){let e,t,n,r,o=(l=p,a=m,void 0===(c=$)&&(c=!1),e=S(l),n=T(t=E(L(l))),r="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=N(r)),[r,N(r)]);K.push(U[o[0]],U[o[1]])}if(q=[...q,{placement:p,overflows:K}],!K.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=V[e];if(t&&("alignment"!==w||z===L(t)||q.every(e=>L(e.placement)!==z||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let n=null==(o=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(i=q.filter(e=>{if(I){let t=L(e.placement);return t===z||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=g}if(p!==n)return{reset:{placement:n}}}return{}}}).name,fn:y.fn,options:[a,void 0]},{name:(C={name:"size",options:f=c={...ew,apply:eV(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${o}px`),l.setProperty("--radix-popper-anchor-height",`${i}px`)},"apply")},async fn(e){let t,n,{placement:r,rects:o,platform:i,elements:l}=e,{apply:a=()=>{},...s}=O(f,e),c=await i.detectOverflow(e,s),u=j(r),d=S(r),p="y"===L(r),{width:h,height:m}=o.floating;"top"===u||"bottom"===u?(t=u,n=d===(await (null==i.isRTL?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(n=u,t="end"===d?"top":"bottom");let g=m-c.top-c.bottom,v=h-c.left-c.right,x=w(m-c[t],g),y=w(h-c[n],v),C=e.middlewareData.shift,R=!C,P=x,A=y;null!=C&&C.enabled.x&&(A=v),null!=C&&C.enabled.y&&(P=g),R&&!d&&(p?A=h-2*b(c.left,c.right):P=m-2*b(c.top,c.bottom)),await a({...e,availableWidth:A,availableHeight:P});let E=await i.getDimensions(l.floating);return h!==E.width||m!==E.height?{reset:{rects:!0}}:{}}}).name,fn:C.fn,options:[c,void 0]},ec&&{name:(P={name:"arrow",options:h=d={element:ec,padding:G},fn(e){let{element:t,padding:n}="function"==typeof h?h(e):h;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eE({element:t.current,padding:n}).fn(e):{}:t?eE({element:t,padding:n}).fn(e):{}}}).name,fn:P.fn,options:[d,void 0]},e3({arrowWidth:ep,arrowHeight:eh}),et&&{name:(A={name:"hide",options:g=m={strategy:"referenceHidden",...ew,boundary:ex?ew.boundary:void 0},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=O(g,e);switch(r){case"referenceHidden":{let r=I(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:V(r)}}}case"escaped":{let r=I(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:V(r)}}}default:return{}}}}).name,fn:A.fn,options:[m,void 0]}]}),eO=ei.setPlacementState;(0,e$.useLayoutEffect)(()=>(eO(eR),()=>{eO(void 0)}),[eR,eO]);let[eM,ez]=e7(eR),eI=(0,eW.useCallbackRef)(er);(0,e$.useLayoutEffect)(()=>{eP&&eI?.()},[eP,eI]);let eU=eA.arrow?.x,eK=eA.arrow?.y,eq=eA.arrow?.centerOffset!==0,[eG,eY]=u.useState();return(0,e$.useLayoutEffect)(()=>{el&&eY(window.getComputedStyle(el).zIndex)},[el]),(0,eN.jsx)("div",{ref:eb.setFloating,"data-radix-popper-content-wrapper":"",style:{...eC,transform:eP?eC.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eG,"--radix-popper-transform-origin":[eA.transformOrigin?.x,eA.transformOrigin?.y].join(" "),...eA.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eN.jsx)(eQ,{scope:M,placedSide:eM,placedAlign:ez,onArrowChange:ef,arrowX:eU,arrowY:eK,shouldHideArrow:eq,children:(0,eN.jsx)(eH.Primitive.div,{"data-side":eM,"data-align":ez,...eo,ref:es,style:{...eo.style,animation:eP?eo.style?.animation:"none"}})})})},"PopperContent")),e2={top:"bottom",right:"left",bottom:"top",left:"r
1ight"};function e6(e){return null!==e}eV(e6,"isNotNull");var e3=eV(e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,l=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[s,c]=e7(n),f={start:"0%",center:"50%",end:"100%"}[c],u=(o.arrow?.x??0)+l/2,d=(o.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=i?f:`${u}px`,h=`${-a}px`):"top"===s?(p=i?f:`${u}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=i?f:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=i?f:`${d}px`),{data:{x:p,y:h}}}}),"transformOrigin");function e7(e){let[t,n="center"]=e.split("-");return[t,n]}eV(e7,"getSideAndAlignFromPlacement");var e4=e.i(774606),e5=e.i(296626),e8=e.i(991918),e9=e.i(369340),te=e.i(186312),tt=e.i(985369),tn=Object.defineProperty,tr=(e,t)=>tn(e,"name",{value:t,configurable:!0}),to="Popover",[ti,tl]=(0,h.createContextScope)(to,[eq]),ta=eq(),[ts,tc]=ti(to),tf=tr(e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:l=!1}=e,a=ta(t),s=u.useRef(null),[c,f]=u.useState(!1),[d,p]=(0,e9.useControllableState)({prop:r,defaultProp:o??!1,onChange:i,caller:to});return(0,eN.jsx)(eY,{...a,children:(0,eN.jsx)(ts,{scope:t,contentId:(0,x.useId)(),triggerRef:s,open:d,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:c,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:l,children:n})})},"Popover"),tu=u.forwardRef(tr(function(e,t){let{__scopePopover:n,...r}=e,o=tc("PopoverTrigger",n),i=ta(n),l=(0,p.useComposedRefs)(t,o.triggerRef),a=(0,eN.jsx)(eH.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":tR(o.open),...r,ref:l,onClick:(0,d.composeEventHandlers)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:(0,eN.jsx)(eZ,{asChild:!0,...i,children:a})},"PopoverTrigger")),td="PopoverPortal",[tp,th]=ti(td,{forceMount:void 0}),tm=tr(e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=tc(td,t);return(0,eN.jsx)(tp,{scope:t,forceMount:n,children:(0,eN.jsx)(e5.Presence,{present:n||i.open,children:(0,eN.jsx)(e4.Portal,{asChild:!0,container:o,children:r})})})},"PopoverPortal"),tg="PopoverContent",tv=u.forwardRef(tr(function(e,t){let n=th(tg,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=tc(tg,e.__scopePopover);return(0,eN.jsx)(e5.Presence,{present:r||i.open,children:i.modal?(0,eN.jsx)(ty,{...o,ref:t}):(0,eN.jsx)(tw,{...o,ref:t})})},"PopoverContent")),tx=(0,e8.createSlot)("PopoverContent.RemoveScroll"),ty=u.forwardRef(tr(function(e,t){let n=tc(tg,e.__scopePopover),r=u.useRef(null),o=(0,p.useComposedRefs)(t,r),i=u.useRef(!1);return u.useEffect(()=>{let e=r.current;if(e)return(0,te.hideOthers)(e)},[]),(0,eN.jsx)(tt.RemoveScroll,{as:tx,allowPinchZoom:!0,children:(0,eN.jsx)(tb,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,d.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,d.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,d.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),tw=u.forwardRef(tr(function(e,t){let n=tc(tg,e.__scopePopover),r=u.useRef(!1),o=u.useRef(!1);return(0,eN.jsx)(tb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"PopoverContentNonModal")),tb=u.forwardRef(tr(function(e,t){let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:f,...u}=e,d=tc(tg,n),p=ta(n);return(0,g.useFocusGuards)(),(0,eN.jsx)(v.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,eN.jsx)(m.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onDismiss:()=>d.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,eN.jsx)(e1,{"data-state":tR(d.open),role:"dialog",id:d.contentId,...p,...u,ref:t,style:{...u.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})},"PopoverContentImpl")),tC=u.forwardRef(tr(function(e,t){let{__scopePopover:n,...r}=e,o=tc("PopoverClose",n);return(0,eN.jsx)(eH.Primitive.button,{type:"button",...r,ref:t,onClick:(0,d.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})},"PopoverClose"));function tR(e){return e?"open":"closed"}tr(tR,"getState");var tP=e.i(207670),tA=(0,u.createContext)({}),tO=function({popover:e=!0,className:t,children:n,...r}){return(0,eN.jsx)(tA.Provider,{value:{popover:e},children:(0,eN.jsx)("div",{className:(0,tP.default)("c-floater",t),children:e?(0,eN.jsx)(tf,{...r,children:n}):n})})},tj=function({className:e,children:t,asChild:n,...r}){let{popover:o}=(0,u.useContext)(tA);return(0,eN.jsx)(n?e8.Slot:o?tu:"button",{className:(0,tP.default)("c-floater__trigger",e),...r,children:n?t:(0,eN.jsx)(c.a,{variant:"body1",className:"c-floater__trigger-text",children:t})})},tS=function({children:e,title:t,icon:n,...r}){return(0,eN.jsx)(tm,{children:(0,eN.jsxs)(tv,{align:"end",className:"c-floater__c
1ontent",...r,children:[(0,eN.jsx)(tC,{className:"c-floater__close-button","aria-label":"Fechar",children:(0,eN.jsx)(f.IconClose,{size:20})}),(0,eN.jsxs)("div",{className:"c-floater__content-title",children:[(0,eN.jsx)(n,{className:"c-floater__content-icon"}),(0,eN.jsx)(c.a,{variant:"body1",as:"h3",children:t})]}),(0,eN.jsx)("div",{className:"c-floater__items",children:e})]})})},tE=function({children:e,asChild:t,className:n,...r}){return(0,eN.jsx)(t?e8.Slot:"a",{className:(0,tP.default)("c-floater__item",n),...r,children:e})};e.s(["default",0,function({slice:e}){let{links:t,link:c,icon:f}=e.primary;if(!c?.text)return null;if(!(0,s.a)(t))return(0,eN.jsx)(tO,{popover:!1,children:(0,eN.jsx)(tj,{...r.a.FLOATER_BUTTON,"data-gtm-subname":(0,n.a)(c.text??""),asChild:!0,children:(0,eN.jsxs)(l.a,{field:c,variant:"primary",children:[(0,eN.jsx)(o.a,{icon:f||"chat",size:24}),c.text]})})});let u=t.slice(0,8);return(0,eN.jsxs)(tO,{children:[(0,eN.jsxs)(tj,{children:[(0,eN.jsx)(o.a,{icon:f||"chat",size:24}),c.text]}),(0,eN.jsx)(tS,{title:c.text,icon:i.a[f??"chat"],children:u.map(({link:e,icon:t})=>(0,a.a)(e)?(0,eN.jsx)(tE,{...r.a.FLOATER_BUTTON,"data-gtm-subname":(0,n.a)(e.text??""),asChild:!0,children:(0,eN.jsxs)(l.a,{field:e,children:[(0,eN.jsx)(o.a,{icon:t||"chat",size:24}),e.text]})},e.text):null)})]})}],366702)}]);
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.