"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5757],{34734:function(t,e,n){e.Z=function(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=function t(e){var n,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e){if(Array.isArray(e))for(n=0;n<e.length;n++)e[n]&&(r=t(e[n]))&&(o&&(o+=" "),o+=r);else for(n in e)e[n]&&(o&&(o+=" "),o+=n)}return o}(t))&&(r&&(r+=" "),r+=e);return r}},41168:function(t,e,n){n.d(e,{Wq:function(){return A},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,l=!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},u=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)},f=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},c=function(t,e,n){if(u(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 l=[],f=Array.from(e);f.length;){var c=f.shift();if(!u(c,!1)){if("SLOT"===c.tagName){var a=c.assignedElements(),s=t(a.length?a:c.children,!0,o);o.flatten?l.push.apply(l,s):l.push({scopeParent:c,candidates:s})}else{i.call(c,r)&&o.filter(c)&&(n||!e.includes(c))&&l.push(c);var d=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),p=!u(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(d&&p){var h=t(!0===d?c.children:d.children,!0,o);o.flatten?l.push.apply(l,h):l.push({scopeParent:c,candidates:h})}else f.unshift.apply(f,c.children)}}}return l},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)||f(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]},y=function(t){if(!t.name)return!0;var e,n=t.form||l(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},v=function(t){var e,n,r,o,i,u,f,c=t&&l(t),a=null===(e=c)||void 0===e?void 0:e.host,s=!1;if(c&&c!==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!==(u=a=null===(i=c=l(a))||void 0===i?void 0:i.host)&&void 0!==u&&null!==(f=u.ownerDocument)&&void 0!==f&&f.contains(a));return s},w=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return 0===n&&0===r},b=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 w(t)}else{if("function"==typeof r){for(var u=t;t;){var f=t.parentElement,c=l(t);if(f&&!f.shadowRoot&&!0===r(f))return w(t);t=t.assignedSlot?t.assignedSlot:f||c===t.ownerDocument?f:c.host}t=u}if(v(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},x=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&&!y(n)||0>d(e))&&(r=t,!((o=e).disabled||u(o)||m(o)&&"hidden"===o.type||b(o,r)||"DETAILS"===o.tagName&&Array.prototype.slice.apply(o.children).some(function(t){return"SUMMARY"===t.tagName})||x(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,l=i?e.scopeParent:e,u=p(l,i),f=i?t(e.candidates):l;0===u?i?n.push.apply(n,f):n.push(l):r.push({documentOrder:o,tabIndex:u,item:e,isScope:i,content:f})}),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}):c(t,e.includeContainer,R.bind(null,e)))},A=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==i.call(t,r)&&R(e,t)}},6976:function(t,e,n){n.d(e,{Z:function(){return r}});function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}},12687:function(t,e,n){n.d(e,{x7:function(){return Z},X5:function(){return B},Me:function(){return H},oo:function(){return _},RR:function(){return q},cv:function(){return V},uY:function(){return J}});let r=["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),o=Math.min,i=Math.max,l=Math.round,u=Math.floor,f=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function s(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"}function g(t){return["top","bottom"].includes(d(t))?"y":"x"}function y(t,e,n){void 0===n&&(n=!1);let r=p(t),o=h(g(t)),i=m(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=w(l)),[l,w(l)]}function v(t){return t.replace(/start|end/g,t=>a[t])}function w(t){return t.replace(/left|right|bottom|top/g,t=>c[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 x(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 R(t,e,n){let r,{reference:o,floating:i}=t,l=g(e),u=h(g(e)),f=m(u),c=d(e),a="y"===l,s=o.x+o.width/2-i.width/2,y=o.y+o.height/2-i.height/2,v=o[f]/2-i[f]/2;switch(c){case"top":r={x:s,y:o.y-i.height};break;case"bottom":r={x:s,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:y};break;case"left":r={x:o.x-i.width,y:y};break;default:r={x:o.x,y:o.y}}switch(p(e)){case"start":r[u]-=v*(n&&a?-1:1);break;case"end":r[u]+=v*(n&&a?-1:1)}return r}let E=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,u=i.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:a,y:s}=R(c,r,f),d=r,p={},h=0;for(let n=0;n<u.length;n++){let{name:i,fn:m}=u[n],{x:g,y:y,data:v,reset:w}=await m({x:a,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:l,elements:{reference:t,floating:e}});a=null!=g?g:a,s=null!=y?y:s,p={...p,[i]:{...p[i],...v}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:t,floating:e,strategy:o}):w.rects),{x:a,y:s}=R(c,d,f)),n=-1)}return{x:a,y:s,placement:d,strategy:o,middlewareData:p}};async function S(t,e){var n;void 0===e&&(e={});let{x:r,y:o,platform:i,rects:l,elements:u,strategy:f}=t,{boundary:c="clippingAncestors",rootBoundary:a="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=s(e,t),m=b(h),g=u[p?"floating"===d?"reference":"floating":d],y=x(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:c,rootBoundary:a,strategy:f})),v="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),R=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},E=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:v,offsetParent:w,strategy:f}):v);return{top:(y.top-E.top+m.top)/R.y,bottom:(E.bottom-y.bottom+m.bottom)/R.y,left:(y.left-E.left+m.left)/R.x,right:(E.right-y.right+m.right)/R.x}}async function T(t,e){let{placement:n,platform:r,elements:o}=t,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=d(n),u=p(n),f="y"===g(n),c=["left","top"].includes(l)?-1:1,a=i&&f?-1:1,h=s(e,t),{mainAxis:m,crossAxis:y,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof v&&(y="end"===u?-1*v:v),f?{x:y*a,y:m*c}:{x:m*c,y:y*a}}var A=n(74261);function L(t){let e=(0,A.Dx)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=(0,A.Re)(t),i=o?t.offsetWidth:n,u=o?t.offsetHeight:r,f=l(n)!==i||l(r)!==u;return f&&(n=i,r=u),{width:n,height:r,$:f}}function P(t){return(0,A.kK)(t)?t:t.contextElement}function k(t){let e=P(t);if(!(0,A.Re)(e))return f(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:i}=L(e),u=(i?l(n.width):n.width)/r,c=(i?l(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),c&&Number.isFinite(c)||(c=1),{x:u,y:c}}let D=f(0);function O(t){let e=(0,A.Jj)(t);return(0,A.Pf)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:D}function C(t,e,n,r){var o;void 0===e&&(e=!1),void 0===n&&(n=!1);let i=t.getBoundingClientRect(),l=P(t),u=f(1);e&&(r?(0,A.kK)(r)&&(u=k(r)):u=k(t));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===(0,A.Jj)(l))&&o)?O(l):f(0),a=(i.left+c.x)/u.x,s=(i.top+c.y)/u.y,d=i.width/u.x,p=i.height/u.y;if(l){let t=(0,A.Jj)(l),e=r&&(0,A.kK)(r)?(0,A.Jj)(r):r,n=t,o=(0,A.wK)(n);for(;o&&r&&e!==n;){let t=k(o),e=o.getBoundingClientRect(),r=(0,A.Dx)(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;a*=t.x,s*=t.y,d*=t.x,p*=t.y,a+=i,s+=l,n=(0,A.Jj)(o),o=(0,A.wK)(n)}}return x({width:d,height:p,x:a,y:s})}function N(t,e){let n=(0,A.Lw)(t).scrollLeft;return e?e.left+n:C((0,A.tF)(t)).left+n}function F(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=(0,A.Jj)(t),r=(0,A.tF)(t),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,u=0,f=0;if(o){i=o.width,l=o.height;let t=(0,A.Pf)();(!t||t&&"fixed"===e)&&(u=o.offsetLeft,f=o.offsetTop)}return{width:i,height:l,x:u,y:f}}(t,n);else if("document"===e)r=function(t){let e=(0,A.tF)(t),n=(0,A.Lw)(t),r=t.ownerDocument.body,o=i(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),l=i(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),u=-n.scrollLeft+N(t),f=-n.scrollTop;return"rtl"===(0,A.Dx)(r).direction&&(u+=i(e.clientWidth,r.clientWidth)-o),{width:o,height:l,x:u,y:f}}((0,A.tF)(t));else if((0,A.kK)(e))r=function(t,e){let n=C(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=(0,A.Re)(t)?k(t):f(1),l=t.clientWidth*i.x;return{width:l,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n);else{let n=O(t);r={...e,x:e.x-n.x,y:e.y-n.y}}return x(r)}function I(t){return"static"===(0,A.Dx)(t).position}function M(t,e){if(!(0,A.Re)(t)||"fixed"===(0,A.Dx)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,A.tF)(t)===n&&(n=n.ownerDocument.body),n}function j(t,e){let n=(0,A.Jj)(t);if((0,A.tR)(t))return n;if(!(0,A.Re)(t)){let e=(0,A.Ow)(t);for(;e&&!(0,A.Py)(e);){if((0,A.kK)(e)&&!I(e))return e;e=(0,A.Ow)(e)}return n}let r=M(t,e);for(;r&&(0,A.Ze)(r)&&I(r);)r=M(r,e);return r&&(0,A.Py)(r)&&I(r)&&!(0,A.hT)(r)?n:r||(0,A.gQ)(t)||n}let K=async function(t){let e=this.getOffsetParent||j,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=(0,A.Re)(e),o=(0,A.tF)(e),i="fixed"===n,l=C(t,!0,i,e),u={scrollLeft:0,scrollTop:0},c=f(0);if(r||!r&&!i){if(("body"!==(0,A.wk)(e)||(0,A.ao)(o))&&(u=(0,A.Lw)(e)),r){let t=C(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else o&&(c.x=N(o))}let a=0,s=0;if(o&&!r&&!i){let t=o.getBoundingClientRect();s=t.top+u.scrollTop,a=t.left+u.scrollLeft-N(o,t)}return{x:l.left+u.scrollLeft-c.x-a,y:l.top+u.scrollTop-c.y-s,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}}},W={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t,i="fixed"===o,l=(0,A.tF)(r),u=!!e&&(0,A.tR)(e.floating);if(r===l||u&&i)return n;let c={scrollLeft:0,scrollTop:0},a=f(1),s=f(0),d=(0,A.Re)(r);if((d||!d&&!i)&&(("body"!==(0,A.wk)(r)||(0,A.ao)(l))&&(c=(0,A.Lw)(r)),(0,A.Re)(r))){let t=C(r);a=k(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+s.x,y:n.y*a.y-c.scrollTop*a.y+s.y}},getDocumentElement:A.tF,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:l}=t,u=[..."clippingAncestors"===n?(0,A.tR)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,A.Kx)(t,[],!1).filter(t=>(0,A.kK)(t)&&"body"!==(0,A.wk)(t)),o=null,i="fixed"===(0,A.Dx)(t).position,l=i?(0,A.Ow)(t):t;for(;(0,A.kK)(l)&&!(0,A.Py)(l);){let e=(0,A.Dx)(l),n=(0,A.hT)(l);n||"fixed"!==e.position||(o=null),(i?!n&&!o:!n&&"static"===e.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,A.ao)(l)&&!n&&function t(e,n){let r=(0,A.Ow)(e);return!(r===n||!(0,A.kK)(r)||(0,A.Py)(r))&&("fixed"===(0,A.Dx)(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):o=e,l=(0,A.Ow)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],f=u[0],c=u.reduce((t,n)=>{let r=F(e,n,l);return t.top=i(r.top,t.top),t.right=o(r.right,t.right),t.bottom=o(r.bottom,t.bottom),t.left=i(r.left,t.left),t},F(e,f,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:j,getElementRects:K,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=L(t);return{width:e,height:n}},getScale:k,isElement:A.kK,isRTL:function(t){return"rtl"===(0,A.Dx)(t).direction}};function H(t,e,n,r){let l;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=P(t),h=f||c?[...p?(0,A.Kx)(p):[],...(0,A.Kx)(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,l=(0,A.tF)(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{left:d,top:p,width:h,height:m}=t.getBoundingClientRect();if(a||e(),!h||!m)return;let g=u(p),y=u(l.clientWidth-(d+h)),v={rootMargin:-g+"px "+-y+"px "+-u(l.clientHeight-(p+m))+"px "+-u(d)+"px",threshold:i(0,o(1,s))||1},w=!0;function b(t){let e=t[0].intersectionRatio;if(e!==s){if(!w)return c();e?c(!1,e):n=setTimeout(()=>{c(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(b,{...v,root:l.ownerDocument})}catch(t){r=new IntersectionObserver(b,v)}r.observe(t)}(!0),f}(p,n):null,g=-1,y=null;a&&(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 v=d?C(t):null;return d&&function e(){let r=C(t);v&&(r.x!==v.x||r.y!==v.y||r.width!==v.width||r.height!==v.height)&&n(),v=r,l=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{f&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let V=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:o,y:i,placement:l,middlewareData:u}=e,f=await T(e,t);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+f.x,y:i+f.y,data:{...f,placement:l}}}}},B=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i,l;let{rects:u,middlewareData:f,placement:c,platform:a,elements:h}=e,{crossAxis:m=!1,alignment:g,allowedPlacements:w=r,autoAlignment:b=!0,...x}=s(t,e),R=void 0!==g||w===r?((l=g||null)?[...w.filter(t=>p(t)===l),...w.filter(t=>p(t)!==l)]:w.filter(t=>d(t)===t)).filter(t=>!l||p(t)===l||!!b&&v(t)!==t):w,E=await S(e,x),T=(null==(n=f.autoPlacement)?void 0:n.index)||0,A=R[T];if(null==A)return{};let L=y(A,u,await (null==a.isRTL?void 0:a.isRTL(h.floating)));if(c!==A)return{reset:{placement:R[0]}};let P=[E[d(A)],E[L[0]],E[L[1]]],k=[...(null==(o=f.autoPlacement)?void 0:o.overflows)||[],{placement:A,overflows:P}],D=R[T+1];if(D)return{data:{index:T+1,overflows:k},reset:{placement:D}};let O=k.map(t=>{let e=p(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]),C=(null==(i=O.filter(t=>t[2].slice(0,p(t[0])?2:3).every(t=>t<=0))[0])?void 0:i[0])||O[0][0];return C!==c?{data:{index:T+1,overflows:k},reset:{placement:C}}:{}}}},J=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:l}=e,{mainAxis:u=!0,crossAxis:f=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...a}=s(t,e),p={x:n,y:r},m=await S(e,a),y=g(d(l)),v=h(y),w=p[v],b=p[y];if(u){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=w+m[t],r=w-m[e];w=i(n,o(w,r))}if(f){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=b+m[t],r=b-m[e];b=i(n,o(b,r))}let x=c.fn({...e,[v]:w,[y]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[v]:u,[y]:f}}}}}},q=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,o,i,l;let{placement:u,middlewareData:f,rects:c,initialPlacement:a,platform:h,elements:m}=e,{mainAxis:b=!0,crossAxis:x=!0,fallbackPlacements:R,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:A=!0,...L}=s(t,e);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let P=d(u),k=g(a),D=d(a)===a,O=await (null==h.isRTL?void 0:h.isRTL(m.floating)),C=R||(D||!A?[w(a)]:function(t){let e=w(t);return[v(t),e,v(e)]}(a)),N="none"!==T;!R&&N&&C.push(...function(t,e,n,r){let o=p(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[]}}(d(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(v)))),i}(a,A,T,O));let F=[a,...C],I=await S(e,L),M=[],j=(null==(r=f.flip)?void 0:r.overflows)||[];if(b&&M.push(I[P]),x){let t=y(u,c,O);M.push(I[t[0]],I[t[1]])}if(j=[...j,{placement:u,overflows:M}],!M.every(t=>t<=0)){let t=((null==(o=f.flip)?void 0:o.index)||0)+1,e=F[t];if(e)return{data:{index:t,overflows:j},reset:{placement:e}};let n=null==(i=j.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(E){case"bestFit":{let t=null==(l=j.filter(t=>{if(N){let e=g(t.placement);return e===k||"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(u!==n)return{reset:{placement:n}}}return{}}}},Z=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:l,rects:u,platform:f,elements:c,middlewareData:a}=e,{element:d,padding:y=0}=s(t,e)||{};if(null==d)return{};let v=b(y),w={x:n,y:r},x=h(g(l)),R=m(x),E=await f.getDimensions(d),S="y"===x,T=S?"clientHeight":"clientWidth",A=u.reference[R]+u.reference[x]-w[x]-u.floating[R],L=w[x]-u.reference[x],P=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d)),k=P?P[T]:0;k&&await (null==f.isElement?void 0:f.isElement(P))||(k=c.floating[T]||u.floating[R]);let D=k/2-E[R]/2-1,O=o(v[S?"top":"left"],D),C=o(v[S?"bottom":"right"],D),N=k-E[R]-C,F=k/2-E[R]/2+(A/2-L/2),I=i(O,o(F,N)),M=!a.arrow&&null!=p(l)&&F!==I&&u.reference[R]/2-(F<O?O:C)-E[R]/2<0,j=M?F<O?F-O:F-N:0;return{[x]:w[x]+j,data:{[x]:I,centerOffset:F-I-j,...M&&{alignmentOffset:j}},reset:M}}}),_=(t,e,n)=>{let r=new Map,o={platform:W,...n},i={...o.platform,_c:r};return E(t,e,{...o,platform:i})}},69707:function(t,e,n){n.d(e,{RR:function(){return m},YF:function(){return s},cv:function(){return p},uY:function(){return h},x7:function(){return g}});var r=n(12687),o=n(2265),i=n(54887),l="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function u(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(!u(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)&&!u(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 c(t,e){let n=f(t);return Math.round(e*n)/n}function a(t){let e=o.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:y}=t,[v,w]=o.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[b,x]=o.useState(s);u(b,s)||x(s);let[R,E]=o.useState(null),[S,T]=o.useState(null),A=o.useCallback(t=>{t!==D.current&&(D.current=t,E(t))},[]),L=o.useCallback(t=>{t!==O.current&&(O.current=t,T(t))},[]),P=p||R,k=h||S,D=o.useRef(null),O=o.useRef(null),C=o.useRef(v),N=null!=g,F=a(g),I=a(d),M=a(y),j=o.useCallback(()=>{if(!D.current||!O.current)return;let t={placement:e,strategy:n,middleware:b};I.current&&(t.platform=I.current),(0,r.oo)(D.current,O.current,t).then(t=>{let e={...t,isPositioned:!1!==M.current};K.current&&!u(C.current,e)&&(C.current=e,i.flushSync(()=>{w(e)}))})},[b,e,n,I,M]);l(()=>{!1===y&&C.current.isPositioned&&(C.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[y]);let K=o.useRef(!1);l(()=>(K.current=!0,()=>{K.current=!1}),[]),l(()=>{if(P&&(D.current=P),k&&(O.current=k),P&&k){if(F.current)return F.current(P,k,j);j()}},[P,k,j,F,N]);let W=o.useMemo(()=>({reference:D,floating:O,setReference:A,setFloating:L}),[A,L]),H=o.useMemo(()=>({reference:P,floating:k}),[P,k]),V=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!H.floating)return t;let e=c(H.floating,v.x),r=c(H.floating,v.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...f(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,H.floating,v.x,v.y]);return o.useMemo(()=>({...v,update:j,refs:W,elements:H,floatingStyles:V}),[v,j,W,H,V])}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)=>({...d(t),options:[t,e]})},50944:function(t,e,n){n.d(e,{AW:function(){return o},G6:function(){return a},Ie:function(){return w},MM:function(){return p},Me:function(){return m},Pe:function(){return g},U9:function(){return y},Xf:function(){return l},Zj:function(){return f},cr:function(){return c},ex:function(){return h},p7:function(){return v},r:function(){return d},r3:function(){return i}});var r=n(74261);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 l(){let t=navigator.userAgentData;return null!=t&&t.platform?t.platform:navigator.platform}function u(){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 f(t){return 0===t.mozInputSource&&!!t.isTrusted||(s()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType)}function c(t){return!u().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(l())||t.test(u())}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 y(t){return"composedPath"in t?t.composedPath()[0]:t.target}function v(t){t.preventDefault(),t.stopPropagation()}function w(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])")}},74261:function(t,e,n){function r(){return"undefined"!=typeof window}function o(t){return u(t)?(t.nodeName||"").toLowerCase():"#document"}function i(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function l(t){var e;return null==(e=(u(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function u(t){return!!r()&&(t instanceof Node||t instanceof i(t).Node)}function f(t){return!!r()&&(t instanceof Element||t instanceof i(t).Element)}function c(t){return!!r()&&(t instanceof HTMLElement||t instanceof i(t).HTMLElement)}function a(t){return!!r()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof i(t).ShadowRoot)}function s(t){let{overflow:e,overflowX:n,overflowY:r,display:o}=v(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function d(t){return["table","td","th"].includes(o(t))}function p(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(t){return!1}})}function h(t){let e=g(),n=f(t)?v(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 m(t){let e=b(t);for(;c(e)&&!y(e);){if(h(e))return e;if(p(e))break;e=b(e)}return null}function g(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function y(t){return["html","body","#document"].includes(o(t))}function v(t){return i(t).getComputedStyle(t)}function w(t){return f(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function b(t){if("html"===o(t))return t;let e=t.assignedSlot||t.parentNode||a(t)&&t.host||l(t);return a(e)?e.host:e}function x(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}n.d(e,{Dx:function(){return v},Jj:function(){return i},Kx:function(){return function t(e,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function t(e){let n=b(e);return y(n)?e.ownerDocument?e.ownerDocument.body:e.body:c(n)&&s(n)?n:t(n)}(e),u=l===(null==(o=e.ownerDocument)?void 0:o.body),f=i(l);if(u){let e=x(f);return n.concat(f,f.visualViewport||[],s(l)?l:[],e&&r?t(e):[])}return n.concat(l,t(l,[],r))}},Lw:function(){return w},Ow:function(){return b},Pf:function(){return g},Py:function(){return y},Re:function(){return c},Ze:function(){return d},Zq:function(){return a},ao:function(){return s},gQ:function(){return m},hT:function(){return h},kK:function(){return f},tF:function(){return l},tR:function(){return p},wK:function(){return x},wk:function(){return o}})}}]);