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