1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4967],{4967:(t,e,n)=>{n.d(e,{Mz:()=>j,i3:()=>N,UC:()=>H,bL:()=>k,Bk:()=>g});var r=n(39786),i=n(5377),o=n(66314),l=n(94366),a=n(75938),f=r.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,a.jsx)(l.sG.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,a.jsx)("polygon",{points:"0,0 30,0 15,10"})})});f.displayName="Arrow";var s=n(54548),c=n(74350),u=n(90615),d=n(76375),p=n(22431),h="Popper",[m,g]=(0,c.A)(h),[y,w]=m(h),x=t=>{let{__scopePopper:e,children:n}=t,[i,o]=r.useState(null);return(0,a.jsx)(y,{scope:e,anchor:i,onAnchorChange:o,children:n})};x.displayName=h;var v="PopperAnchor",b=r.forwardRef((t,e)=>{let{__scopePopper:n,virtualRef:i,...o}=t,f=w(v,n),c=r.useRef(null),u=(0,s.s)(e,c);return r.useEffect(()=>{f.onAnchorChange((null==i?void 0:i.current)||c.current)}),i?null:(0,a.jsx)(l.sG.div,{...o,ref:u})});b.displayName=v;var R="PopperContent",[A,E]=m(R),S=r.forwardRef((t,e)=>{var n,f,c,h,m,g,y,x;let{__scopePopper:v,side:b="bottom",sideOffset:E=0,align:S="center",alignOffset:L=0,arrowPadding:T=0,avoidCollisions:C=!0,collisionBoundary:k=[],collisionPadding:j=0,sticky:H="partial",hideWhenDetached:N=!1,updatePositionStrategy:B="optimized",onPlaced:F,...M}=t,W=w(R,v),[z,U]=r.useState(null),V=(0,s.s)(e,t=>U(t)),[Y,_]=r.useState(null),X=(0,p.X)(Y),I=null!=(y=null==X?void 0:X.width)?y:0,G=null!=(x=null==X?void 0:X.height)?x:0,$="number"==typeof j?j:{top:0,right:0,bottom:0,left:0,...j},q=Array.isArray(k)?k:[k],J=q.length>0,K={padding:$,boundary:q.filter(O),altBoundary:J},{refs:Q,floatingStyles:Z,placement:tt,isPositioned:te,middlewareData:tn}=(0,i.we)({strategy:"fixed",placement:b+("center"!==S?"-"+S:""),whileElementsMounted:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,o.ll)(...e,{animationFrame:"always"===B})},elements:{reference:W.anchor},middleware:[(0,i.cY)({mainAxis:E+G,alignmentAxis:L}),C&&(0,i.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===H?(0,i.ER)():void 0,...K}),C&&(0,i.UU)({...K}),(0,i.Ej)({...K,apply:t=>{let{elements:e,rects:n,availableWidth:r,availableHeight:i}=t,{width:o,height:l}=n.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),Y&&(0,i.UE)({element:Y,padding:T}),P({arrowWidth:I,arrowHeight:G}),N&&(0,i.jD)({strategy:"referenceHidden",...K})]}),[tr,ti]=D(tt),to=(0,u.c)(F);(0,d.N)(()=>{te&&(null==to||to())},[te,to]);let tl=null==(n=tn.arrow)?void 0:n.x,ta=null==(f=tn.arrow)?void 0:f.y,tf=(null==(c=tn.arrow)?void 0:c.centerOffset)!==0,[ts,tc]=r.useState();return(0,d.N)(()=>{z&&tc(window.getComputedStyle(z).zIndex)},[z]),(0,a.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:te?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ts,"--radix-popper-transform-origin":[null==(h=tn.transformOrigin)?void 0:h.x,null==(m=tn.transformOrigin)?void 0:m.y].join(" "),...(null==(g=tn.hide)?void 0:g.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,a.jsx)(A,{scope:v,placedSide:tr,onArrowChange:_,arrowX:tl,arrowY:ta,shouldHideArrow:tf,children:(0,a.jsx)(l.sG.div,{"data-side":tr,"data-align":ti,...M,ref:V,style:{...M.style,animation:te?void 0:"none"}})})})});S.displayName=R;var L="PopperArrow",T={top:"bottom",right:"left",bottom:"top",left:"right"},C=r.forwardRef(function(t,e){let{__scopePopper:n,...r}=t,i=E(L,n),o=T[i.placedSide];return(0,a.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,a.jsx)(f,{...r,ref:e,style:{...r.style,display:"block"}})})});function O(t){return null!==t}C.displayName=L;var P=t=>({name:"transformOrigin",options:t,fn(e){var n,r,i,o,l;let{placement:a,rects:f,middlewareData:s}=e,c=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,u=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[p,h]=D(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!=(o=null==(r=s.arrow)?void 0:r.x)?o:0)+u/2,y=(null!=(l=null==(i=s.arrow)?void 0:i.y)?l:0)+d/2,w="",x="";return"bottom"===p?(w=c?m:"".concat(g,"px"),x="".concat(-d,"px")):"top"===p?(w=c?m:"".concat(g,"px"),x="".concat(f.floating.height+d,"px")):"right"===p?(w="".concat(-d,"px"),x=c?m:"".concat(y,"px")):"left"===p&&(w="".concat(f.floating.width+d,"px"),x=c?m:"".concat(y,"px")),{data:{x:w,y:x}}}});function D(t){let[e,n="center"]=t.split("-");return[e,n]}var k=x,j=b,H=S,N=C},5377:(t,e,n)=>{n.d(e,{BN:()=>h,ER:()=>m,Ej:()=>y,UE:()=>x,UU:()=>g,cY:()=>p,jD:()=>w,we:()=>u});var r=n(66314),i=n(39786),o=n(41495),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function a(t,e){let n,r,i;if(t===e)return!0;
1if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!a(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!a(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function f(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function s(t,e){let n=f(t);return Math.round(e*n)/n}function c(t){let e=i.useRef(t);return l(()=>{e.current=t}),e}function u(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:u=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=t,[w,x]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[v,b]=i.useState(u);a(v,u)||b(u);let[R,A]=i.useState(null),[E,S]=i.useState(null),L=i.useCallback(t=>{t!==P.current&&(P.current=t,A(t))},[]),T=i.useCallback(t=>{t!==D.current&&(D.current=t,S(t))},[]),C=p||R,O=h||E,P=i.useRef(null),D=i.useRef(null),k=i.useRef(w),j=null!=g,H=c(g),N=c(d),B=c(y),F=i.useCallback(()=>{if(!P.current||!D.current)return;let t={placement:e,strategy:n,middleware:v};N.current&&(t.platform=N.current),(0,r.rD)(P.current,D.current,t).then(t=>{let e={...t,isPositioned:!1!==B.current};M.current&&!a(k.current,e)&&(k.current=e,o.flushSync(()=>{x(e)}))})},[v,e,n,N,B]);l(()=>{!1===y&&k.current.isPositioned&&(k.current.isPositioned=!1,x(t=>({...t,isPositioned:!1})))},[y]);let M=i.useRef(!1);l(()=>(M.current=!0,()=>{M.current=!1}),[]),l(()=>{if(C&&(P.current=C),O&&(D.current=O),C&&O){if(H.current)return H.current(C,O,F);F()}},[C,O,F,H,j]);let W=i.useMemo(()=>({reference:P,floating:D,setReference:L,setFloating:T}),[L,T]),z=i.useMemo(()=>({reference:C,floating:O}),[C,O]),U=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!z.floating)return t;let e=s(z.floating,w.x),r=s(z.floating,w.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...f(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,z.floating,w.x,w.y]);return i.useMemo(()=>({...w,update:F,refs:W,elements:z,floatingStyles:U}),[w,F,W,z,U])}let d=t=>({name:"arrow",options:t,fn(e){let{element:n,padding:i}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(e):{}:n?(0,r.UE)({element:n,padding:i}).fn(e):{}}}),p=(t,e)=>({...(0,r.cY)(t),options:[t,e]}),h=(t,e)=>({...(0,r.BN)(t),options:[t,e]}),m=(t,e)=>({...(0,r.ER)(t),options:[t,e]}),g=(t,e)=>({...(0,r.UU)(t),options:[t,e]}),y=(t,e)=>({...(0,r.Ej)(t),options:[t,e]}),w=(t,e)=>({...(0,r.jD)(t),options:[t,e]}),x=(t,e)=>({...d(t),options:[t,e]})},22431:(t,e,n)=>{n.d(e,{X:()=>o});var r=n(39786),i=n(76375);function o(t){let[e,n]=r.useState(void 0);return(0,i.N)(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{let r,i;if(!Array.isArray(e)||!e.length)return;let o=e[0];if("borderBoxSize"in o){let t=o.borderBoxSize,e=Array.isArray(t)?t[0]:t;r=e.inlineSize,i=e.blockSize}else r=t.offsetWidth,i=t.offsetHeight;n({width:r,height:i})});return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}n(void 0)},[t]),e}},66314:(t,e,n)=>{n.d(e,{UE:()=>tL,ll:()=>tv,rD:()=>tC,UU:()=>tA,jD:()=>tS,ER:()=>tT,cY:()=>tb,BN:()=>tR,Ej:()=>tE});let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,a=Math.floor,f=t=>({x:t,y:t}),s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function u(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}let g=new Set(["top","bottom"]);function y(t){return g.has(d(t))?"y":"x"}function w(t){return t.replace(/start|end/g,t=>c[t])}let x=["left","right"],v=["right","left"],b=["top","bottom"],R=["bottom","top"];function A(t){return t.replace(/left|right|bottom|top/g,t=>s[t])}function E(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function S(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function L(t,e,n){let r,{reference:i,floating:o}=t,l=y(e),a=h(y(e)),f=m(a),s=d(e),c="y"===l,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}}switch(p(e)){case"start":r[a]-=w*(n&&c?-1:1);break;case"end":r[a]+=w*(n&&c?-1:1)}return r}let T=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}
1=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(e)),s=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:u}=L(s,r,f),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:y,data:w,reset:x}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:s,platform:l,elements:{reference:t,floating:e}});c=null!=g?g:c,u=null!=y?y:u,p={...p,[o]:{...p[o],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:c,y:u}=L(s,d,f)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};async function C(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=t,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=u(e,t),m=E(h),g=a[p?"floating"===d?"reference":"floating":d],y=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})),w="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:w,offsetParent:x,strategy:f}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}function O(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function P(t){return r.some(e=>t[e]>=0)}let D=new Set(["left","top"]);async function k(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),a=p(n),f="y"===y(n),s=D.has(l)?-1:1,c=o&&f?-1:1,h=u(e,t),{mainAxis:m,crossAxis:g,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof w&&(g="end"===a?-1*w:w),f?{x:g*c,y:m*s}:{x:m*s,y:g*c}}function j(){return"undefined"!=typeof window}function H(t){return F(t)?(t.nodeName||"").toLowerCase():"#document"}function N(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function B(t){var e;return null==(e=(F(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function F(t){return!!j()&&(t instanceof Node||t instanceof N(t).Node)}function M(t){return!!j()&&(t instanceof Element||t instanceof N(t).Element)}function W(t){return!!j()&&(t instanceof HTMLElement||t instanceof N(t).HTMLElement)}function z(t){return!!j()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof N(t).ShadowRoot)}let U=new Set(["inline","contents"]);function V(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=Z(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!U.has(i)}let Y=new Set(["table","td","th"]),_=[":popover-open",":modal"];function X(t){return _.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let I=["transform","translate","scale","rotate","perspective"],G=["transform","translate","scale","rotate","perspective","filter"],$=["paint","layout","strict","content"];function q(t){let e=J(),n=M(t)?Z(t):t;return I.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||G.some(t=>(n.willChange||"").includes(t))||$.some(t=>(n.contain||"").includes(t))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let K=new Set(["html","body","#document"]);function Q(t){return K.has(H(t))}function Z(t){return N(t).getComputedStyle(t)}function tt(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function te(t){if("html"===H(t))return t;let e=t.assignedSlot||t.parentNode||z(t)&&t.host||B(t);return z(e)?e.host:e}function tn(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=te(e);return Q(n)?e.ownerDocument?e.ownerDocument.body:e.body:W(n)&&V(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=N(i);if(o){let t=tr(l);
1return e.concat(l,l.visualViewport||[],V(i)?i:[],t&&n?tn(t):[])}return e.concat(i,tn(i,[],n))}function tr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ti(t){let e=Z(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=W(t),o=i?t.offsetWidth:n,a=i?t.offsetHeight:r,f=l(n)!==o||l(r)!==a;return f&&(n=o,r=a),{width:n,height:r,$:f}}function to(t){return M(t)?t:t.contextElement}function tl(t){let e=to(t);if(!W(e))return f(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=ti(e),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 ta=f(0);function tf(t){let e=N(t);return J()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ta}function ts(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=to(t),a=f(1);e&&(r?M(r)&&(a=tl(r)):a=tl(t));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===N(l))&&i)?tf(l):f(0),c=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let t=N(l),e=r&&M(r)?N(r):r,n=t,i=tr(n);for(;i&&r&&e!==n;){let t=tl(i),e=i.getBoundingClientRect(),r=Z(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,u*=t.y,d*=t.x,p*=t.y,c+=o,u+=l,i=tr(n=N(i))}}return S({width:d,height:p,x:c,y:u})}function tc(t,e){let n=tt(t).scrollLeft;return e?e.left+n:ts(B(t)).left+n}function tu(t,e,n){void 0===n&&(n=!1);let r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-(n?0:tc(t,r)),y:r.top+e.scrollTop}}let td=new Set(["absolute","fixed"]);function tp(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=N(t),r=B(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let t=J();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,f=i.offsetTop)}return{width:o,height:l,x:a,y:f}}(t,n);else if("document"===e)r=function(t){let e=B(t),n=tt(t),r=t.ownerDocument.body,i=o(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),l=o(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+tc(t),f=-n.scrollTop;return"rtl"===Z(r).direction&&(a+=o(e.clientWidth,r.clientWidth)-i),{width:i,height:l,x:a,y:f}}(B(t));else if(M(e))r=function(t,e){let n=ts(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=W(t)?tl(t):f(1),l=t.clientWidth*o.x,a=t.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(e,n);else{let n=tf(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return S(r)}function th(t){return"static"===Z(t).position}function tm(t,e){if(!W(t)||"fixed"===Z(t).position)return null;if(e)return e(t);let n=t.offsetParent;return B(t)===n&&(n=n.ownerDocument.body),n}function tg(t,e){var n;let r=N(t);if(X(t))return r;if(!W(t)){let e=te(t);for(;e&&!Q(e);){if(M(e)&&!th(e))return e;e=te(e)}return r}let i=tm(t,e);for(;i&&(n=i,Y.has(H(n)))&&th(i);)i=tm(i,e);return i&&Q(i)&&th(i)&&!q(i)?r:i||function(t){let e=te(t);for(;W(e)&&!Q(e);){if(q(e))return e;if(X(e))break;e=te(e)}return null}(t)||r}let ty=async function(t){let e=this.getOffsetParent||tg,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=W(e),i=B(e),o="fixed"===n,l=ts(t,!0,o,e),a={scrollLeft:0,scrollTop:0},s=f(0);if(r||!r&&!o)if(("body"!==H(e)||V(i))&&(a=tt(e)),r){let t=ts(e,!0,o,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=tc(i));o&&!r&&i&&(s.x=tc(i));let c=!i||r||o?f(0):tu(i,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}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tw={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=B(r),a=!!e&&X(e.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},c=f(1),u=f(0),d=W(r);if((d||!d&&!o)&&(("body"!==H(r)||V(l))&&(s=tt(r)),W(r))){let t=ts(r);c=tl(r),u.x=t.x+r.clientLeft,u.y=t.y+r.clientTop}let p=!l||d||o?f(0):tu(l,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-s.scrollTop*c.y+u.y+p.y}},getDocumentElement:B,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:l}=t,a=[..."clippingAncestors"===n?X(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=tn(t,[],!1).filter(t=>
1M(t)&&"body"!==H(t)),i=null,o="fixed"===Z(t).position,l=o?te(t):t;for(;M(l)&&!Q(l);){let e=Z(l),n=q(l);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&td.has(i.position)||V(l)&&!n&&function t(e,n){let r=te(e);return!(r===n||!M(r)||Q(r))&&("fixed"===Z(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):i=e,l=te(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],f=a[0],s=a.reduce((t,n)=>{let r=tp(e,n,l);return t.top=o(r.top,t.top),t.right=i(r.right,t.right),t.bottom=i(r.bottom,t.bottom),t.left=o(r.left,t.left),t},tp(e,f,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tg,getElementRects:ty,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=ti(t);return{width:e,height:n}},getScale:tl,isElement:M,isRTL:function(t){return"rtl"===Z(t).direction}};function tx(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tv(t,e,n,r){let l;void 0===r&&(r={});let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=to(t),h=f||s?[...p?tn(p):[],...tn(e)]:[];h.forEach(t=>{f&&t.addEventListener("scroll",n,{passive:!0}),s&&t.addEventListener("resize",n)});let m=p&&u?function(t,e){let n,r=null,l=B(t);function f(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),f();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||e(),!m||!g)return;let y=a(h),w=a(l.clientWidth-(p+m)),x={rootMargin:-y+"px "+-w+"px "+-a(l.clientHeight-(h+g))+"px "+-a(p)+"px",threshold:o(0,i(1,u))||1},v=!0;function b(e){let r=e[0].intersectionRatio;if(r!==u){if(!v)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||tx(d,t.getBoundingClientRect())||s(),v=!1}try{r=new IntersectionObserver(b,{...x,root:l.ownerDocument})}catch(t){r=new IntersectionObserver(b,x)}r.observe(t)}(!0),f}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),y.observe(e));let w=d?ts(t):null;return d&&function e(){let r=ts(t);w&&!tx(w,r)&&n(),w=r,l=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{f&&t.removeEventListener("scroll",n),s&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let tb=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=e,f=await k(e,t);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}}}}},tR=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:l}=e,{mainAxis:a=!0,crossAxis:f=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=u(t,e),p={x:n,y:r},m=await C(e,c),g=y(d(l)),w=h(g),x=p[w],v=p[g];if(a){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=x+m[t],r=x-m[e];x=o(n,i(x,r))}if(f){let t="y"===g?"top":"left",e="y"===g?"bottom":"right",n=v+m[t],r=v-m[e];v=o(n,i(v,r))}let b=s.fn({...e,[w]:x,[g]:v});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[w]:a,[g]:f}}}}}},tA=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l;
1let{placement:a,middlewareData:f,rects:s,initialPlacement:c,platform:g,elements:E}=e,{mainAxis:S=!0,crossAxis:L=!0,fallbackPlacements:T,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:D=!0,...k}=u(t,e);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let j=d(a),H=y(c),N=d(c)===c,B=await (null==g.isRTL?void 0:g.isRTL(E.floating)),F=T||(N||!D?[A(c)]:function(t){let e=A(t);return[w(t),e,w(e)]}(c)),M="none"!==P;!T&&M&&F.push(...function(t,e,n,r){let i=p(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?v:x;return e?x:v;case"left":case"right":return e?b:R;default:return[]}}(d(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(w)))),o}(c,D,P,B));let W=[c,...F],z=await C(e,k),U=[],V=(null==(r=f.flip)?void 0:r.overflows)||[];if(S&&U.push(z[j]),L){let t=function(t,e,n){void 0===n&&(n=!1);let r=p(t),i=h(y(t)),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=A(l)),[l,A(l)]}(a,s,B);U.push(z[t[0]],z[t[1]])}if(V=[...V,{placement:a,overflows:U}],!U.every(t=>t<=0)){let t=((null==(i=f.flip)?void 0:i.index)||0)+1,e=W[t];if(e&&("alignment"!==L||H===y(e)||V.every(t=>t.overflows[0]>0&&y(t.placement)===H)))return{data:{index:t,overflows:V},reset:{placement:e}};let n=null==(o=V.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(O){case"bestFit":{let t=null==(l=V.filter(t=>{if(M){let e=y(t.placement);return e===H||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}},tE=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,r;let l,a,{placement:f,rects:s,platform:c,elements:h}=e,{apply:m=()=>{},...g}=u(t,e),w=await C(e,g),x=d(f),v=p(f),b="y"===y(f),{width:R,height:A}=s.floating;"top"===x||"bottom"===x?(l=x,a=v===(await (null==c.isRTL?void 0:c.isRTL(h.floating))?"start":"end")?"left":"right"):(a=x,l="end"===v?"top":"bottom");let E=A-w.top-w.bottom,S=R-w.left-w.right,L=i(A-w[l],E),T=i(R-w[a],S),O=!e.middlewareData.shift,P=L,D=T;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(D=S),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(P=E),O&&!v){let t=o(w.left,0),e=o(w.right,0),n=o(w.top,0),r=o(w.bottom,0);b?D=R-2*(0!==t||0!==e?t+e:o(w.left,w.right)):P=A-2*(0!==n||0!==r?n+r:o(w.top,w.bottom))}await m({...e,availableWidth:D,availableHeight:P});let k=await c.getDimensions(h.floating);return R!==k.width||A!==k.height?{reset:{rects:!0}}:{}}}},tS=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:r="referenceHidden",...i}=u(t,e);switch(r){case"referenceHidden":{let t=O(await C(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:P(t)}}}case"escaped":{let t=O(await C(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:P(t)}}}default:return{}}}}},tL=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:l,rects:a,platform:f,elements:s,middlewareData:c}=e,{element:d,padding:g=0}=u(t,e)||{};if(null==d)return{};let w=E(g),x={x:n,y:r},v=h(y(l)),b=m(v),R=await f.getDimensions(d),A="y"===v,S=A?"clientHeight":"clientWidth",L=a.reference[b]+a.reference[v]-x[v]-a.floating[b],T=x[v]-a.reference[v],C=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d)),O=C?C[S]:0;O&&await (null==f.isElement?void 0:f.isElement(C))||(O=s.floating[S]||a.floating[b]);let P=O/2-R[b]/2-1,D=i(w[A?"top":"left"],P),k=i(w[A?"bottom":"right"],P),j=O-R[b]-k,H=O/2-R[b]/2+(L/2-T/2),N=o(D,i(H,j)),B=!c.arrow&&null!=p(l)&&H!==N&&a.reference[b]/2-(H<D?D:k)-R[b]/2<0,F=B?H<D?H-D:H-j:0;return{[v]:x[v]+F,data:{[v]:N,centerOffset:H-N-F,...B&&{alignmentOffset:F}},reset:B}}}),tT=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:a=0,mainAxis:f=!0,crossAxis:s=!0}=u(t,e),c={x:n,y:r},p=y(i),m=h(p),g=c[m],w=c[p],x=u(a,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(f){let t="y"===m?"height":"width",e=o.reference[m]-o.floating[t]+v.mainAxis,n=o.reference[m]+o.reference[t]-v.mainAxis;g<e?g=e:g>n&&(g=n)}if(s){var b,R;let t="y"===m?"width":"height",e=D.has(d(i)),n=o.reference[p]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[p])||0)+(e?0:v.crossAxis),r=o.reference[p]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[p])||0)-(e?v.crossAxis:0);w<n?w=n:w>r&&(w=r)}return{[m]:g,[p]:w}}}},tC=(t,e,n)=>{let r=new Map,i={platform:tw,...n},o={...i.platform,_c:r};return T(t,e,{...i,platform:o})}}}]);
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.