"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[105],{57572:function(t,e,n){n.d(e,{Wq:function(){return L},ht:function(){return T}});var r='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!o&&Element.prototype.getRootNode?function(t){var e;return null==t?void 0:null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},l=function t(e,n){void 0===n&&(n=!0);var r,o=null==e?void 0:null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"inert");return""===o||"true"===o||n&&e&&t(e.parentNode)},c=function(t){var e,n=null==t?void 0:null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n},f=function(t,e,n){if(l(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(r));return e&&i.call(t,r)&&o.unshift(t),o=o.filter(n)},a=function t(e,n,o){for(var u=[],c=Array.from(e);c.length;){var f=c.shift();if(!l(f,!1)){if("SLOT"===f.tagName){var a=f.assignedElements(),s=t(a.length?a:f.children,!0,o);o.flatten?u.push.apply(u,s):u.push({scopeParent:f,candidates:s})}else{i.call(f,r)&&o.filter(f)&&(n||!e.includes(f))&&u.push(f);var d=f.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(f),p=!l(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(f));if(d&&p){var h=t(!0===d?f.children:d.children,!0,o);o.flatten?u.push.apply(u,h):u.push({scopeParent:f,candidates:h})}else c.unshift.apply(c,f.children)}}}return u},s=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||c(t))&&!s(t)?0:t.tabIndex},p=function(t,e){var n=d(t);return n<0&&e&&!s(t)?0:n},h=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},m=function(t){return"INPUT"===t.tagName},g=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]},w=function(t){if(!t.name)return!0;var e,n=t.form||u(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=r(window.CSS.escape(t.name));else try{e=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var o=g(e,t.form);return!o||o===t},y=function(t){var e,n,r,o,i,l,c,f=t&&u(t),a=null===(e=f)||void 0===e?void 0:e.host,s=!1;if(f&&f!==t)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=t&&null!==(o=t.ownerDocument)&&void 0!==o&&o.contains(t));!s&&a;)s=!!(null!==(l=a=null===(i=f=u(a))||void 0===i?void 0:i.host)&&void 0!==l&&null!==(c=l.ownerDocument)&&void 0!==c&&c.contains(a));return s},v=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return 0===n&&0===r},x=function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if("hidden"===getComputedStyle(t).visibility)return!0;var o=i.call(t,"details>summary:first-of-type")?t.parentElement:t;if(i.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return v(t)}else{if("function"==typeof r){for(var l=t;t;){var c=t.parentElement,f=u(t);if(c&&!c.shadowRoot&&!0===r(c))return v(t);t=t.assignedSlot?t.assignedSlot:c||f===t.ownerDocument?c:f.host}t=l}if(y(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if("LEGEND"===r.tagName)return!!i.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1},R=function(t,e){var n,r,o;return!(m(n=e)&&"radio"===n.type&&!w(n)||0>d(e))&&(r=t,!((o=e).disabled||l(o)||m(o)&&"hidden"===o.type||x(o,r)||"DETAILS"===o.tagName&&Array.prototype.slice.apply(o.children).some(function(t){return"SUMMARY"===t.tagName})||b(o)))},E=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!isNaN(e)||e>=0},S=function t(e){var n=[],r=[];return e.forEach(function(e,o){var i=!!e.scopeParent,u=i?e.scopeParent:e,l=p(u,i),c=i?t(e.candidates):u;0===l?i?n.push.apply(n,c):n.push(u):r.push({documentOrder:o,tabIndex:l,item:e,isScope:i,content:c})}),r.sort(h).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(n)},T=function(t,e){return S((e=e||{}).getShadowRoot?a([t],e.includeContainer,{filter:R.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:E}):f(t,e.includeContainer,R.bind(null,e)))},L=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==i.call(t,r)&&R(e,t)}},64242:function(t,e,n){n.d(e,{x7:function(){return Y},Me:function(){return J},oo:function(){return Z},RR:function(){return z},Cp:function(){return U},cv:function(){return q},uY:function(){return _}});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,u={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function c(t,e){return"function"==typeof t?t(e):t}function f(t){return t.split("-")[0]}function a(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function d(t){return"y"===t?"height":"width"}function p(t){return["top","bottom"].includes(f(t))?"y":"x"}function h(t){return t.replace(/start|end/g,t=>l[t])}function m(t){return t.replace(/left|right|bottom|top/g,t=>u[t])}function g(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function w(t){let{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function y(t,e,n){let r,{reference:o,floating:i}=t,u=p(e),l=s(p(e)),c=d(l),h=f(e),m="y"===u,g=o.x+o.width/2-i.width/2,w=o.y+o.height/2-i.height/2,y=o[c]/2-i[c]/2;switch(h){case"top":r={x:g,y:o.y-i.height};break;case"bottom":r={x:g,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:w};break;case"left":r={x:o.x-i.width,y:w};break;default:r={x:o.x,y:o.y}}switch(a(e)){case"start":r[l]-=y*(n&&m?-1:1);break;case"end":r[l]+=y*(n&&m?-1:1)}return r}let v=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:u}=n,l=i.filter(Boolean),c=await (null==u.isRTL?void 0:u.isRTL(e)),f=await u.getElementRects({reference:t,floating:e,strategy:o}),{x:a,y:s}=y(f,r,c),d=r,p={},h=0;for(let n=0;n<l.length;n++){let{name:i,fn:m}=l[n],{x:g,y:w,data:v,reset:x}=await m({x:a,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:f,platform:u,elements:{reference:t,floating:e}});a=null!=g?g:a,s=null!=w?w:s,p={...p,[i]:{...p[i],...v}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(f=!0===x.rects?await u.getElementRects({reference:t,floating:e,strategy:o}):x.rects),{x:a,y:s}=y(f,d,c)),n=-1)}return{x:a,y:s,placement:d,strategy:o,middlewareData:p}};async function x(t,e){var n;void 0===e&&(e={});let{x:r,y:o,platform:i,rects:u,elements:l,strategy:f}=t,{boundary:a="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=c(e,t),m=g(h),y=l[p?"floating"===d?"reference":"floating":d],v=w(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(y)))||n?y:y.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:a,rootBoundary:s,strategy:f})),x="floating"===d?{x:r,y:o,width:u.floating.width,height:u.floating.height}:u.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),R=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},E=w(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:f}):x);return{top:(v.top-E.top+m.top)/R.y,bottom:(E.bottom-v.bottom+m.bottom)/R.y,left:(v.left-E.left+m.left)/R.x,right:(E.right-v.right+m.right)/R.x}}function b(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function R(t){return r.some(e=>t[e]>=0)}async function E(t,e){let{placement:n,platform:r,elements:o}=t,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),u=f(n),l=a(n),s="y"===p(n),d=["left","top"].includes(u)?-1:1,h=i&&s?-1:1,m=c(e,t),{mainAxis:g,crossAxis:w,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return l&&"number"==typeof y&&(w="end"===l?-1*y:y),s?{x:w*h,y:g*d}:{x:g*d,y:w*h}}let S=Math.min,T=Math.max,L=Math.round,k=Math.floor,D=t=>({x:t,y:t});var P=n(46324);function A(t){let e=(0,P.Dx)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=(0,P.Re)(t),i=o?t.offsetWidth:n,u=o?t.offsetHeight:r,l=L(n)!==i||L(r)!==u;return l&&(n=i,r=u),{width:n,height:r,$:l}}function C(t){return(0,P.kK)(t)?t:t.contextElement}function O(t){let e=C(t);if(!(0,P.Re)(e))return D(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:i}=A(e),u=(i?L(n.width):n.width)/r,l=(i?L(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),l&&Number.isFinite(l)||(l=1),{x:u,y:l}}let N=D(0);function F(t){let e=(0,P.Jj)(t);return(0,P.Pf)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:N}function M(t,e,n,r){var o;void 0===e&&(e=!1),void 0===n&&(n=!1);let i=t.getBoundingClientRect(),u=C(t),l=D(1);e&&(r?(0,P.kK)(r)&&(l=O(r)):l=O(t));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===(0,P.Jj)(u))&&o)?F(u):D(0),f=(i.left+c.x)/l.x,a=(i.top+c.y)/l.y,s=i.width/l.x,d=i.height/l.y;if(u){let t=(0,P.Jj)(u),e=r&&(0,P.kK)(r)?(0,P.Jj)(r):r,n=t,o=(0,P.wK)(n);for(;o&&r&&e!==n;){let t=O(o),e=o.getBoundingClientRect(),r=(0,P.Dx)(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,u=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;f*=t.x,a*=t.y,s*=t.x,d*=t.y,f+=i,a+=u,n=(0,P.Jj)(o),o=(0,P.wK)(n)}}return w({width:s,height:d,x:f,y:a})}function I(t){return M((0,P.tF)(t)).left+(0,P.Lw)(t).scrollLeft}function K(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=(0,P.Jj)(t),r=(0,P.tF)(t),o=n.visualViewport,i=r.clientWidth,u=r.clientHeight,l=0,c=0;if(o){i=o.width,u=o.height;let t=(0,P.Pf)();(!t||t&&"fixed"===e)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:u,x:l,y:c}}(t,n);else if("document"===e)r=function(t){let e=(0,P.tF)(t),n=(0,P.Lw)(t),r=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=T(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),u=-n.scrollLeft+I(t),l=-n.scrollTop;return"rtl"===(0,P.Dx)(r).direction&&(u+=T(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:u,y:l}}((0,P.tF)(t));else if((0,P.kK)(e))r=function(t,e){let n=M(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=(0,P.Re)(t)?O(t):D(1),u=t.clientWidth*i.x;return{width:u,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n);else{let n=F(t);r={...e,x:e.x-n.x,y:e.y-n.y}}return w(r)}function H(t){return"static"===(0,P.Dx)(t).position}function j(t,e){return(0,P.Re)(t)&&"fixed"!==(0,P.Dx)(t).position?e?e(t):t.offsetParent:null}function W(t,e){let n=(0,P.Jj)(t);if((0,P.tR)(t))return n;if(!(0,P.Re)(t)){let e=(0,P.Ow)(t);for(;e&&!(0,P.Py)(e);){if((0,P.kK)(e)&&!H(e))return e;e=(0,P.Ow)(e)}return n}let r=j(t,e);for(;r&&(0,P.Ze)(r)&&H(r);)r=j(r,e);return r&&(0,P.Py)(r)&&H(r)&&!(0,P.hT)(r)?n:r||(0,P.gQ)(t)||n}let V=async function(t){let e=this.getOffsetParent||W,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=(0,P.Re)(e),o=(0,P.tF)(e),i="fixed"===n,u=M(t,!0,i,e),l={scrollLeft:0,scrollTop:0},c=D(0);if(r||!r&&!i){if(("body"!==(0,P.wk)(e)||(0,P.ao)(o))&&(l=(0,P.Lw)(e)),r){let t=M(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else o&&(c.x=I(o))}return{x:u.left+l.scrollLeft-c.x,y:u.top+l.scrollTop-c.y,width:u.width,height:u.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},B={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t,i="fixed"===o,u=(0,P.tF)(r),l=!!e&&(0,P.tR)(e.floating);if(r===u||l&&i)return n;let c={scrollLeft:0,scrollTop:0},f=D(1),a=D(0),s=(0,P.Re)(r);if((s||!s&&!i)&&(("body"!==(0,P.wk)(r)||(0,P.ao)(u))&&(c=(0,P.Lw)(r)),(0,P.Re)(r))){let t=M(r);f=O(r),a.x=t.x+r.clientLeft,a.y=t.y+r.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+a.x,y:n.y*f.y-c.scrollTop*f.y+a.y}},getDocumentElement:P.tF,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t,i=[..."clippingAncestors"===n?(0,P.tR)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,P.Kx)(t,[],!1).filter(t=>(0,P.kK)(t)&&"body"!==(0,P.wk)(t)),o=null,i="fixed"===(0,P.Dx)(t).position,u=i?(0,P.Ow)(t):t;for(;(0,P.kK)(u)&&!(0,P.Py)(u);){let e=(0,P.Dx)(u),n=(0,P.hT)(u);n||"fixed"!==e.position||(o=null),(i?!n&&!o:!n&&"static"===e.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,P.ao)(u)&&!n&&function t(e,n){let r=(0,P.Ow)(e);return!(r===n||!(0,P.kK)(r)||(0,P.Py)(r))&&("fixed"===(0,P.Dx)(r).position||t(r,n))}(t,u))?r=r.filter(t=>t!==u):o=e,u=(0,P.Ow)(u)}return e.set(t,r),r}(e,this._c):[].concat(n),r],u=i[0],l=i.reduce((t,n)=>{let r=K(e,n,o);return t.top=T(r.top,t.top),t.right=S(r.right,t.right),t.bottom=S(r.bottom,t.bottom),t.left=T(r.left,t.left),t},K(e,u,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:W,getElementRects:V,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=A(t);return{width:e,height:n}},getScale:O,isElement:P.kK,isRTL:function(t){return"rtl"===(0,P.Dx)(t).direction}};function J(t,e,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:u=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,a=C(t),s=i||u?[...a?(0,P.Kx)(a):[],...(0,P.Kx)(e)]:[];s.forEach(t=>{i&&t.addEventListener("scroll",n,{passive:!0}),u&&t.addEventListener("resize",n)});let d=a&&c?function(t,e){let n,r=null,o=(0,P.tF)(t);function i(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function u(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();let{left:f,top:a,width:s,height:d}=t.getBoundingClientRect();if(l||e(),!s||!d)return;let p=k(a),h=k(o.clientWidth-(f+s)),m={rootMargin:-p+"px "+-h+"px "+-k(o.clientHeight-(a+d))+"px "+-k(f)+"px",threshold:T(0,S(1,c))||1},g=!0;function w(t){let e=t[0].intersectionRatio;if(e!==c){if(!g)return u();e?u(!1,e):n=setTimeout(()=>{u(!1,1e-7)},1e3)}g=!1}try{r=new IntersectionObserver(w,{...m,root:o.ownerDocument})}catch(t){r=new IntersectionObserver(w,m)}r.observe(t)}(!0),i}(a,n):null,p=-1,h=null;l&&(h=new ResizeObserver(t=>{let[r]=t;r&&r.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=h)||t.observe(e)})),n()}),a&&!f&&h.observe(a),h.observe(e));let m=f?M(t):null;return f&&function e(){let r=M(t);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&n(),m=r,o=requestAnimationFrame(e)}(),n(),()=>{var t;s.forEach(t=>{i&&t.removeEventListener("scroll",n),u&&t.removeEventListener("resize",n)}),null==d||d(),null==(t=h)||t.disconnect(),h=null,f&&cancelAnimationFrame(o)}}let q=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:o,y:i,placement:u,middlewareData:l}=e,c=await E(e,t);return u===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:u}}}}},_=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:u}=e,{mainAxis:l=!0,crossAxis:a=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...h}=c(t,e),m={x:n,y:r},g=await x(e,h),w=p(f(u)),y=s(w),v=m[y],b=m[w];if(l){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=v+g[t],r=v-g[e];v=i(n,o(v,r))}if(a){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=b+g[t],r=b-g[e];b=i(n,o(b,r))}let R=d.fn({...e,[y]:v,[w]:b});return{...R,data:{x:R.x-n,y:R.y-r}}}}},z=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,o,i,u;let{placement:l,middlewareData:g,rects:w,initialPlacement:y,platform:v,elements:b}=e,{mainAxis:R=!0,crossAxis:E=!0,fallbackPlacements:S,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:k=!0,...D}=c(t,e);if(null!=(n=g.arrow)&&n.alignmentOffset)return{};let P=f(l),A=p(y),C=f(y)===y,O=await (null==v.isRTL?void 0:v.isRTL(b.floating)),N=S||(C||!k?[m(y)]:function(t){let e=m(t);return[h(t),e,h(e)]}(y)),F="none"!==L;!S&&F&&N.push(...function(t,e,n,r){let o=a(t),i=function(t,e,n){let r=["left","right"],o=["right","left"];switch(t){case"top":case"bottom":if(n)return e?o:r;return e?r:o;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(f(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(h)))),i}(y,k,L,O));let M=[y,...N],I=await x(e,D),K=[],H=(null==(r=g.flip)?void 0:r.overflows)||[];if(R&&K.push(I[P]),E){let t=function(t,e,n){void 0===n&&(n=!1);let r=a(t),o=s(p(t)),i=d(o),u="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(u=m(u)),[u,m(u)]}(l,w,O);K.push(I[t[0]],I[t[1]])}if(H=[...H,{placement:l,overflows:K}],!K.every(t=>t<=0)){let t=((null==(o=g.flip)?void 0:o.index)||0)+1,e=M[t];if(e)return{data:{index:t,overflows:H},reset:{placement:e}};let n=null==(i=H.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(T){case"bestFit":{let t=null==(u=H.filter(t=>{if(F){let e=p(t.placement);return e===A||"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:u[0];t&&(n=t);break}case"initialPlacement":n=y}if(l!==n)return{reset:{placement:n}}}return{}}}},U=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:r="referenceHidden",...o}=c(t,e);switch(r){case"referenceHidden":{let t=b(await x(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:R(t)}}}case"escaped":{let t=b(await x(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:R(t)}}}default:return{}}}}},Y=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:u,rects:l,platform:f,elements:h,middlewareData:m}=e,{element:w,padding:y=0}=c(t,e)||{};if(null==w)return{};let v=g(y),x={x:n,y:r},b=s(p(u)),R=d(b),E=await f.getDimensions(w),S="y"===b,T=S?"clientHeight":"clientWidth",L=l.reference[R]+l.reference[b]-x[b]-l.floating[R],k=x[b]-l.reference[b],D=await (null==f.getOffsetParent?void 0:f.getOffsetParent(w)),P=D?D[T]:0;P&&await (null==f.isElement?void 0:f.isElement(D))||(P=h.floating[T]||l.floating[R]);let A=P/2-E[R]/2-1,C=o(v[S?"top":"left"],A),O=o(v[S?"bottom":"right"],A),N=P-E[R]-O,F=P/2-E[R]/2+(L/2-k/2),M=i(C,o(F,N)),I=!m.arrow&&null!=a(u)&&F!==M&&l.reference[R]/2-(F<C?C:O)-E[R]/2<0,K=I?F<C?F-C:F-N:0;return{[b]:x[b]+K,data:{[b]:M,centerOffset:F-M-K,...I&&{alignmentOffset:K}},reset:I}}}),Z=(t,e,n)=>{let r=new Map,o={platform:B,...n},i={...o.platform,_c:r};return v(t,e,{...o,platform:i})}},46324:function(t,e,n){function r(t){return u(t)?(t.nodeName||"").toLowerCase():"#document"}function o(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function i(t){var e;return null==(e=(u(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function u(t){return t instanceof Node||t instanceof o(t).Node}function l(t){return t instanceof Element||t instanceof o(t).Element}function c(t){return t instanceof HTMLElement||t instanceof o(t).HTMLElement}function f(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof o(t).ShadowRoot)}function a(t){let{overflow:e,overflowX:n,overflowY:r,display:o}=w(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function s(t){return["table","td","th"].includes(r(t))}function d(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(t){return!1}})}function p(t){let e=m(),n=l(t)?w(t):t;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function h(t){let e=v(t);for(;c(e)&&!g(e);){if(p(e))return e;if(d(e))break;e=v(e)}return null}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function g(t){return["html","body","#document"].includes(r(t))}function w(t){return o(t).getComputedStyle(t)}function y(t){return l(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function v(t){if("html"===r(t))return t;let e=t.assignedSlot||t.parentNode||f(t)&&t.host||i(t);return f(e)?e.host:e}function x(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}n.d(e,{Dx:function(){return w},Jj:function(){return o},Kx:function(){return function t(e,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let u=function t(e){let n=v(e);return g(n)?e.ownerDocument?e.ownerDocument.body:e.body:c(n)&&a(n)?n:t(n)}(e),l=u===(null==(i=e.ownerDocument)?void 0:i.body),f=o(u);if(l){let e=x(f);return n.concat(f,f.visualViewport||[],a(u)?u:[],e&&r?t(e):[])}return n.concat(u,t(u,[],r))}},Lw:function(){return y},Ow:function(){return v},Pf:function(){return m},Py:function(){return g},Re:function(){return c},Ze:function(){return s},ao:function(){return a},gQ:function(){return h},hT:function(){return p},kK:function(){return l},tF:function(){return i},tR:function(){return d},wK:function(){return x},wk:function(){return r}})},97859:function(t,e,n){n.d(e,{Cp:function(){return g},RR:function(){return m},YF:function(){return s},cv:function(){return p},uY:function(){return h},x7:function(){return w}});var r=n(64242),o=n(2265),i=n(54887),u="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function l(t,e){let n,r,o;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(!l(t[r],e[r]))return!1;return!0}if((n=(o=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!t.$$typeof)&&!l(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function c(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function f(t,e){let n=c(t);return Math.round(e*n)/n}function a(t){let e=o.useRef(t);return u(()=>{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]=o.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[x,b]=o.useState(s);l(x,s)||b(s);let[R,E]=o.useState(null),[S,T]=o.useState(null),L=o.useCallback(t=>{t!==A.current&&(A.current=t,E(t))},[]),k=o.useCallback(t=>{t!==C.current&&(C.current=t,T(t))},[]),D=p||R,P=h||S,A=o.useRef(null),C=o.useRef(null),O=o.useRef(y),N=null!=g,F=a(g),M=a(d),I=o.useCallback(()=>{if(!A.current||!C.current)return;let t={placement:e,strategy:n,middleware:x};M.current&&(t.platform=M.current),(0,r.oo)(A.current,C.current,t).then(t=>{let e={...t,isPositioned:!0};K.current&&!l(O.current,e)&&(O.current=e,i.flushSync(()=>{v(e)}))})},[x,e,n,M]);u(()=>{!1===w&&O.current.isPositioned&&(O.current.isPositioned=!1,v(t=>({...t,isPositioned:!1})))},[w]);let K=o.useRef(!1);u(()=>(K.current=!0,()=>{K.current=!1}),[]),u(()=>{if(D&&(A.current=D),P&&(C.current=P),D&&P){if(F.current)return F.current(D,P,I);I()}},[D,P,I,F,N]);let H=o.useMemo(()=>({reference:A,floating:C,setReference:L,setFloating:k}),[L,k]),j=o.useMemo(()=>({reference:D,floating:P}),[D,P]),W=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!j.floating)return t;let e=f(j.floating,y.x),r=f(j.floating,y.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...c(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,j.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:I,refs:H,elements:j,floatingStyles:W}),[y,I,H,j,W])}let d=t=>({name:"arrow",options:t,fn(e){let{element:n,padding:o}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:o}).fn(e):{}:n?(0,r.x7)({element:n,padding:o}).fn(e):{}}}),p=(t,e)=>({...(0,r.cv)(t),options:[t,e]}),h=(t,e)=>({...(0,r.uY)(t),options:[t,e]}),m=(t,e)=>({...(0,r.RR)(t),options:[t,e]}),g=(t,e)=>({...(0,r.Cp)(t),options:[t,e]}),w=(t,e)=>({...d(t),options:[t,e]})},89750:function(t,e,n){n.d(e,{AW:function(){return o},G6:function(){return a},Ie:function(){return v},MM:function(){return p},Me:function(){return m},Pe:function(){return g},U9:function(){return w},Xf:function(){return u},Zj:function(){return c},cr:function(){return f},ex:function(){return h},p7:function(){return y},r:function(){return d},r3:function(){return i}});var r=n(17122);function o(t){let e=t.activeElement;for(;(null==(n=e)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;e=e.shadowRoot.activeElement}return e}function i(t,e){if(!t||!e)return!1;let n=null==e.getRootNode?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&(0,r.Zq)(n)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}function u(){let t=navigator.userAgentData;return null!=t&&t.platform?t.platform:navigator.platform}function l(){let t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(t=>{let{brand:e,version:n}=t;return e+"/"+n}).join(" "):navigator.userAgent}function c(t){return 0===t.mozInputSource&&!!t.isTrusted||(s()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType)}function f(t){return!l().includes("jsdom/")&&(!s()&&0===t.width&&0===t.height||s()&&1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"===t.pointerType||t.width<1&&t.height<1&&0===t.pressure&&0===t.detail&&"touch"===t.pointerType)}function a(){return/apple/i.test(navigator.vendor)}function s(){let t=/android/i;return t.test(u())||t.test(l())}function d(t,e){let n=["mouse","pen"];return e||n.push("",void 0),n.includes(t)}function p(t){return"nativeEvent"in t}function h(t){return t.matches("html,body")}function m(t){return(null==t?void 0:t.ownerDocument)||document}function g(t,e){return null!=e&&("composedPath"in t?t.composedPath().includes(e):null!=t.target&&e.contains(t.target))}function w(t){return"composedPath"in t?t.composedPath()[0]:t.target}function y(t){t.preventDefault(),t.stopPropagation()}function v(t){return!!t&&"combobox"===t.getAttribute("role")&&(0,r.Re)(t)&&t.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}},17122:function(t,e,n){function r(t){return i(t)?(t.nodeName||"").toLowerCase():"#document"}function o(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function i(t){return t instanceof Node||t instanceof o(t).Node}function u(t){return t instanceof Element||t instanceof o(t).Element}function l(t){return t instanceof HTMLElement||t instanceof o(t).HTMLElement}function c(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof o(t).ShadowRoot)}function f(t){return["html","body","#document"].includes(r(t))}function a(t){return o(t).getComputedStyle(t)}function s(t){var e;if("html"===r(t))return t;let n=t.assignedSlot||t.parentNode||c(t)&&t.host||(null==(e=(i(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement);return c(n)?n.host:n}n.d(e,{Dx:function(){return a},Ow:function(){return s},Py:function(){return f},Re:function(){return l},Zq:function(){return c},kK:function(){return u},wk:function(){return r}})}}]);