1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3004],{3174:(t,e,n)=>{n.d(e,{UE:()=>tg,RK:()=>ts,ll:()=>tu,rD:()=>ty,__:()=>tc,UU:()=>tp,jD:()=>tm,ER:()=>tw,cY:()=>ta,BN:()=>td,Ej:()=>th});let r=["top","right","bottom","left"],i=r.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),o=Math.min,l=Math.max,f=Math.round,u=Math.floor,c=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function d(t,e){return"function"==typeof t?t(e):t}function p(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function w(t){return["top","bottom"].includes(p(t))?"y":"x"}function y(t,e,n){void 0===n&&(n=!1);let r=h(t),i=m(w(t)),o=g(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=x(l)),[l,x(l)]}function v(t){return t.replace(/start|end/g,t=>s[t])}function x(t){return t.replace(/left|right|bottom|top/g,t=>a[t])}function b(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function R(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 E(t,e,n){let r,{reference:i,floating:o}=t,l=w(e),f=m(w(e)),u=g(f),c=p(e),a="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[u]/2-o[u]/2;switch(c){case"top":r={x:s,y:i.y-o.height};break;case"bottom":r={x:s,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(e)){case"start":r[f]-=y*(n&&a?-1:1);break;case"end":r[f]+=y*(n&&a?-1:1)}return r}let L=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,f=o.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:s}=E(c,r,u),d=r,p={},h=0;for(let n=0;n<f.length;n++){let{name:o,fn:m}=f[n],{x:g,y:w,data:y,reset:v}=await m({x:a,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:c,platform:l,elements:{reference:t,floating:e}});a=null!=g?g:a,s=null!=w?w:s,p={...p,[o]:{...p[o],...y}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:a,y:s}=E(c,d,u)),n=-1)}return{x:a,y:s,placement:d,strategy:i,middlewareData:p}};async function T(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:f,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:a="viewport",elementContext:s="floating",altBoundary:p=!1,padding:h=0}=d(e,t),m=b(h),g=f[p?"floating"===s?"reference":"floating":s],w=R(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(f.floating)),boundary:c,rootBoundary:a,strategy:u})),y="floating"===s?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(f.floating)),x=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},E=R(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:y,offsetParent:v,strategy:u}):y);return{top:(w.top-E.top+m.top)/x.y,bottom:(E.bottom-w.bottom+m.bottom)/x.y,left:(w.left-E.left+m.left)/x.x,right:(E.right-w.right+m.right)/x.x}}function A(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function D(t){return r.some(e=>t[e]>=0)}async function O(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),f=h(n),u="y"===w(n),c=["left","top"].includes(l)?-1:1,a=o&&u?-1:1,s=d(e,t),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return f&&"number"==typeof y&&(g="end"===f?-1*y:y),u?{x:g*a,y:m*c}:{x:m*c,y:g*a}}function P(){return"undefined"!=typeof window}function C(t){return H(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function S(t){var e;return null==(e=(H(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function H(t){return!!P()&&(t instanceof Node||t instanceof k(t).Node)}function F(t){return!!P()&&(t instanceof Element||t instanceof k(t).Element)}function M(t){return!!P()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function j(t){return!!P()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function B(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function N(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(t){return!1}})}function W(t){let e=U(),n=F(t)?_(t):t;return["transform","translate","scale","rotate","perspective"].some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function U(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function V(t){return["html","body","#document"].includes(C(t))}function _(t){return k(t).getComputedStyle(t)}function z(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if("html"===C(t))return t;let e=t.assignedSlot||t.parentNode||j(t)&&t.host||S(t);return j(e)?e.host:e}function I(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=Y(e);return V(n)?e.ownerDocument?e.ownerDocument.body:e.body:M(n)&&B(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=k(i);if(o){let t=K(l);
1return e.concat(l,l.visualViewport||[],B(i)?i:[],t&&n?I(t):[])}return e.concat(i,I(i,[],n))}function K(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function $(t){let e=_(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=M(t),o=i?t.offsetWidth:n,l=i?t.offsetHeight:r,u=f(n)!==o||f(r)!==l;return u&&(n=o,r=l),{width:n,height:r,$:u}}function q(t){return F(t)?t:t.contextElement}function X(t){let e=q(t);if(!M(e))return c(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=$(e),l=(o?f(n.width):n.width)/r,u=(o?f(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let G=c(0);function J(t){let e=k(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:G}function Q(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=q(t),f=c(1);e&&(r?F(r)&&(f=X(r)):f=X(t));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===k(l))&&i)?J(l):c(0),a=(o.left+u.x)/f.x,s=(o.top+u.y)/f.y,d=o.width/f.x,p=o.height/f.y;if(l){let t=k(l),e=r&&F(r)?k(r):r,n=t,i=K(n);for(;i&&r&&e!==n;){let t=X(i),e=i.getBoundingClientRect(),r=_(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;a*=t.x,s*=t.y,d*=t.x,p*=t.y,a+=o,s+=l,i=K(n=k(i))}}return R({width:d,height:p,x:a,y:s})}function Z(t,e){let n=z(t).scrollLeft;return e?e.left+n:Q(S(t)).left+n}function tt(t,e,n){void 0===n&&(n=!1);let r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-(n?0:Z(t,r)),y:r.top+e.scrollTop}}function te(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=k(t),r=S(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,f=0,u=0;if(i){o=i.width,l=i.height;let t=U();(!t||t&&"fixed"===e)&&(f=i.offsetLeft,u=i.offsetTop)}return{width:o,height:l,x:f,y:u}}(t,n);else if("document"===e)r=function(t){let e=S(t),n=z(t),r=t.ownerDocument.body,i=l(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=l(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),f=-n.scrollLeft+Z(t),u=-n.scrollTop;return"rtl"===_(r).direction&&(f+=l(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:f,y:u}}(S(t));else if(F(e))r=function(t,e){let n=Q(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=M(t)?X(t):c(1),l=t.clientWidth*o.x,f=t.clientHeight*o.y;return{width:l,height:f,x:i*o.x,y:r*o.y}}(e,n);else{let n=J(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return R(r)}function tn(t){return"static"===_(t).position}function tr(t,e){if(!M(t)||"fixed"===_(t).position)return null;if(e)return e(t);let n=t.offsetParent;return S(t)===n&&(n=n.ownerDocument.body),n}function ti(t,e){let n=k(t);if(N(t))return n;if(!M(t)){let e=Y(t);for(;e&&!V(e);){if(F(e)&&!tn(e))return e;e=Y(e)}return n}let r=tr(t,e);for(;r&&["table","td","th"].includes(C(r))&&tn(r);)r=tr(r,e);return r&&V(r)&&tn(r)&&!W(r)?n:r||function(t){let e=Y(t);for(;M(e)&&!V(e);){if(W(e))return e;if(N(e))break;e=Y(e)}return null}(t)||n}let to=async function(t){let e=this.getOffsetParent||ti,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=M(e),i=S(e),o="fixed"===n,l=Q(t,!0,o,e),f={scrollLeft:0,scrollTop:0},u=c(0);if(r||!r&&!o)if(("body"!==C(e)||B(i))&&(f=z(e)),r){let t=Q(e,!0,o,e);u.x=t.x+e.clientLeft,u.y=t.y+e.clientTop}else i&&(u.x=Z(i));o&&!r&&i&&(u.x=Z(i));let a=!i||r||o?c(0):tt(i,f);return{x:l.left+f.scrollLeft-u.x-a.x,y:l.top+f.scrollTop-u.y-a.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}}},tl={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=S(r),f=!!e&&N(e.floating);if(r===l||f&&o)return n;let u={scrollLeft:0,scrollTop:0},a=c(1),s=c(0),d=M(r);if((d||!d&&!o)&&(("body"!==C(r)||B(l))&&(u=z(r)),M(r))){let t=Q(r);a=X(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||o?c(0):tt(l,u,!0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-u.scrollLeft*a.x+s.x+p.x,y:n.y*a.y-u.scrollTop*a.y+s.y+p.y}},getDocumentElement:S,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,f=[..."clippingAncestors"===n?N(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=I(t,[],!1).filter(t=>F(t)&&"body"!==C(t)),i=null,o="fixed"===_(t).position,l=o?Y(t):t;for(;F(l)&&!V(l);){let e=_(l),n=W(l);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||B(l)&&!n&&function t(e,n){let r=Y(e);return!(r===n||!F(r)||V(r))&&("fixed"===_(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):i=e,l=Y(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],u=f[0],c=f.reduce((t,n)=>{let r=te(e,n,i);return t.top=l(r.top,t.top),t.right=o(r.right,t.right),t.bottom=o(r.bottom,t.bottom),t.left=l(r.left,t.left),t},te(e,u,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:ti,getElementRects:to,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=$(t);return{width:e,height:n}},getScale:X,isElement:F,isRTL:function(t){return"rtl"===_(t).direction}};function tf(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tu(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:f=!0,ancestorResize:c=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=q(t),h=f||c?[...p?I(p):[],...I(e)]:[];h.forEach(t=>{f&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let m=p&&s?function(t,e){let n,r=null,i=S(t);function f(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function c(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),f();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(a||e(),!m||!g)return;let w=u(h),y=u(i.clientWidth-(p+m)),v={rootMargin:-w+"px "+-y+"px "+-u(i.clientHeight-(h+g))+"px "+-u(p)+"px",threshold:l(0,o(1,s))||1},x=!0;function b(e){let r=e[0].intersectionRatio;if(r!==s){if(!x)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||tf(d,t.getBoundingClientRect())||c(),x=!1}try{r=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(b,v)}r.observe(t)}(!0),f}(p,n):null,g=-1,w=null;a&&(w=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&w&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}
1),p&&!d&&w.observe(p),w.observe(e));let y=d?Q(t):null;return d&&function e(){let r=Q(t);y&&!tf(y,r)&&n(),y=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{f&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(i)}}let tc=T,ta=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:f}=e,u=await O(e,t);return l===(null==(n=f.offset)?void 0:n.placement)&&null!=(r=f.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},ts=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o,l;let{rects:f,middlewareData:u,placement:c,platform:a,elements:s}=e,{crossAxis:m=!1,alignment:g,allowedPlacements:w=i,autoAlignment:x=!0,...b}=d(t,e),R=void 0!==g||w===i?((l=g||null)?[...w.filter(t=>h(t)===l),...w.filter(t=>h(t)!==l)]:w.filter(t=>p(t)===t)).filter(t=>!l||h(t)===l||!!x&&v(t)!==t):w,E=await T(e,b),L=(null==(n=u.autoPlacement)?void 0:n.index)||0,A=R[L];if(null==A)return{};let D=y(A,f,await (null==a.isRTL?void 0:a.isRTL(s.floating)));if(c!==A)return{reset:{placement:R[0]}};let O=[E[p(A)],E[D[0]],E[D[1]]],P=[...(null==(r=u.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:O}],C=R[L+1];if(C)return{data:{index:L+1,overflows:P},reset:{placement:C}};let k=P.map(t=>{let e=h(t.placement);return[t.placement,e&&m?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),S=(null==(o=k.filter(t=>t[2].slice(0,h(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||k[0][0];return S!==c?{data:{index:L+1,overflows:P},reset:{placement:S}}:{}}}},td=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:i}=e,{mainAxis:f=!0,crossAxis:u=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...a}=d(t,e),s={x:n,y:r},h=await T(e,a),g=w(p(i)),y=m(g),v=s[y],x=s[g];if(f){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=v+h[t],r=v-h[e];v=l(n,o(v,r))}if(u){let t="y"===g?"top":"left",e="y"===g?"bottom":"right",n=x+h[t],r=x-h[e];x=l(n,o(x,r))}let b=c.fn({...e,[y]:v,[g]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[y]:f,[g]:u}}}}}},tp=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l;let{placement:f,middlewareData:u,rects:c,initialPlacement:a,platform:s,elements:m}=e,{mainAxis:g=!0,crossAxis:b=!0,fallbackPlacements:R,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:A=!0,...D}=d(t,e);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let O=p(f),P=w(a),C=p(a)===a,k=await (null==s.isRTL?void 0:s.isRTL(m.floating)),S=R||(C||!A?[x(a)]:function(t){let e=x(t);return[v(t),e,v(e)]}(a)),H="none"!==L;!R&&H&&S.push(...function(t,e,n,r){let i=h(t),o=function(t,e,n){let r=["left","right"],i=["right","left"];switch(t){case"top":case"bottom":if(n)return e?i:r;return e?r:i;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(p(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(v)))),o}(a,A,L,k));let F=[a,...S],M=await T(e,D),j=[],B=(null==(r=u.flip)?void 0:r.overflows)||[];if(g&&j.push(M[O]),b){let t=y(f,c,k);j.push(M[t[0]],M[t[1]])}if(B=[...B,{placement:f,overflows:j}],!j.every(t=>t<=0)){let t=((null==(i=u.flip)?void 0:i.index)||0)+1,e=F[t];if(e&&("alignment"!==b||P===w(e)||B.every(t=>t.overflows[0]>0&&w(t.placement)===P)))return{data:{index:t,overflows:B},reset:{placement:e}};let n=null==(o=B.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let t=null==(l=B.filter(t=>{if(H){let e=w(t.placement);return e===P||"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=a}if(f!==n)return{reset:{placement:n}}}return{}}}},th=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,r;let i,f,{placement:u,rects:c,platform:a,elements:s}=e,{apply:m=()=>{},...g}=d(t,e),y=await T(e,g),v=p(u),x=h(u),b="y"===w(u),{width:R,height:E}=c.floating;"top"===v||"bottom"===v?(i=v,f=x===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(f=v,i="end"===x?"top":"bottom");let L=E-y.top-y.bottom,A=R-y.left-y.right,D=o(E-y[i],L),O=o(R-y[f],A),P=!e.middlewareData.shift,C=D,k=O;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(k=A),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(C=L),P&&!x){let t=l(y.left,0),e=l(y.r
1ight,0),n=l(y.top,0),r=l(y.bottom,0);b?k=R-2*(0!==t||0!==e?t+e:l(y.left,y.right)):C=E-2*(0!==n||0!==r?n+r:l(y.top,y.bottom))}await m({...e,availableWidth:k,availableHeight:C});let S=await a.getDimensions(s.floating);return R!==S.width||E!==S.height?{reset:{rects:!0}}:{}}}},tm=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:r="referenceHidden",...i}=d(t,e);switch(r){case"referenceHidden":{let t=A(await T(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:D(t)}}}case"escaped":{let t=A(await T(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:D(t)}}}default:return{}}}}},tg=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:f,platform:u,elements:c,middlewareData:a}=e,{element:s,padding:p=0}=d(t,e)||{};if(null==s)return{};let y=b(p),v={x:n,y:r},x=m(w(i)),R=g(x),E=await u.getDimensions(s),L="y"===x,T=L?"clientHeight":"clientWidth",A=f.reference[R]+f.reference[x]-v[x]-f.floating[R],D=v[x]-f.reference[x],O=await (null==u.getOffsetParent?void 0:u.getOffsetParent(s)),P=O?O[T]:0;P&&await (null==u.isElement?void 0:u.isElement(O))||(P=c.floating[T]||f.floating[R]);let C=P/2-E[R]/2-1,k=o(y[L?"top":"left"],C),S=o(y[L?"bottom":"right"],C),H=P-E[R]-S,F=P/2-E[R]/2+(A/2-D/2),M=l(k,o(F,H)),j=!a.arrow&&null!=h(i)&&F!==M&&f.reference[R]/2-(F<k?k:S)-E[R]/2<0,B=j?F<k?F-k:F-H:0;return{[x]:v[x]+B,data:{[x]:M,centerOffset:F-M-B,...j&&{alignmentOffset:B}},reset:j}}}),tw=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:f=0,mainAxis:u=!0,crossAxis:c=!0}=d(t,e),a={x:n,y:r},s=w(i),h=m(s),g=a[h],y=a[s],v=d(f,e),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){let t="y"===h?"height":"width",e=o.reference[h]-o.floating[t]+x.mainAxis,n=o.reference[h]+o.reference[t]-x.mainAxis;g<e?g=e:g>n&&(g=n)}if(c){var b,R;let t="y"===h?"width":"height",e=["top","left"].includes(p(i)),n=o.reference[s]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[s])||0)+(e?0:x.crossAxis),r=o.reference[s]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[s])||0)-(e?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:g,[s]:y}}}},ty=(t,e,n)=>{let r=new Map,i={platform:tl,...n},o={...i.platform,_c:r};return L(t,e,{...i,platform:o})}},73004:(t,e,n)=>{n.d(e,{BN:()=>h,ER:()=>m,Ej:()=>w,RK:()=>y,UE:()=>x,UU:()=>g,cY:()=>p,jD:()=>v,we:()=>s});var r=n(3174),i=n(99139),o=n(46980),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function f(t,e){let n,r,i;if(t===e)return!0;if(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(!f(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)&&!f(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function u(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function c(t,e){let n=u(t);return Math.round(e*n)/n}function a(t){let e=i.useRef(t);return l(()=>{e.current=t}),e}function s(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:w}=t,[y,v]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[x,b]=i.useState(s);f(x,s)||b(s);let[R,E]=i.useState(null),[L,T]=i.useState(null),A=i.useCallback(t=>{t!==C.current&&(C.current=t,E(t))},[]),D=i.useCallback(t=>{t!==k.current&&(k.current=t,T(t))},[]),O=p||R,P=h||L,C=i.useRef(null),k=i.useRef(null),S=i.useRef(y),H=null!=g,F=a(g),M=a(d),j=a(w),B=i.useCallback(()=>{if(!C.current||!k.current)return;let t={placement:e,strategy:n,middleware:x};M.current&&(t.platform=M.current),(0,r.rD)(C.current,k.current,t).then(t=>{let e={...t,isPositioned:!1!==j.current};N.current&&!f(S.current,e)&&(S.current=e,o.flushSync(()=>{v(e)}))})},[x,e,n,M,j]);l(()=>{!1===w&&S.current.isPositioned&&(S.current.isPositioned=!1,v(t=>({...t,isPositioned:!1})))},[w]);let N=i.useRef(!1);l(()=>(N.current=!0,()=>{N.current=!1}),[]),l(()=>{if(O&&(C.current=O),P&&(k.current=P),O&&P){if(F.current)return F.current(O,P,B);B()}},[O,P,B,F,H]);let W=i.useMemo(()=>({reference:C,floating:k,setReference:A,setFloating:D}),[A,D]),U=i.useMemo(()=>({reference:O,floating:P}),[O,P]),V=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!U.floating)return t;let e=c(U.floating,y.x),r=c(U.floating,y.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...u(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,U.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:B,refs:W,elements:U,floatingStyles:V}),[y,B,W,U,V])}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]}),w=(t,e)=>({...(0,r.Ej)(t),options:[t,e]}),y=(t,e)=>({...(0,r.RK)(t),options:[t,e]}),v=(t,e)=>({...(0,r.jD)(t),options:[t,e]}),x=(t,e)=>({...d(t),options:[t,e]})}}]);
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.