"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2025],{19130:(t,e,n)=>{n.d(e,{AO:()=>C,Kr:()=>A});var r='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),area[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',i="undefined"==typeof Element,o=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!i&&Element.prototype.getRootNode?function(t){var e;return null==t||null==(e=t.getRootNode)?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function(t,e){void 0===e&&(e=!0);var n,r=null==t||null==(n=t.getAttribute)?void 0:n.call(t,"inert");return""===r||"true"===r||e&&t&&("function"==typeof t.closest?t.closest("[inert]"):a(t.parentNode))},f=function(t){var e,n=null==t||null==(e=t.getAttribute)?void 0:e.call(t,"contenteditable");return""===n||"true"===n},u=function(t,e,n){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(r));return e&&o.call(t,r)&&i.unshift(t),i=i.filter(n)},c=function(t,e,n){for(var i=[],l=Array.from(t);l.length;){var f=l.shift();if(!a(f,!1))if("SLOT"===f.tagName){var u=f.assignedElements(),s=c(u.length?u:f.children,!0,n);n.flatten?i.push.apply(i,s):i.push({scopeParent:f,candidates:s})}else{o.call(f,r)&&n.filter(f)&&(e||!t.includes(f))&&i.push(f);var d=f.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(f),p=!a(d,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(f));if(d&&p){var h=c(!0===d?f.children:d.children,!0,n);n.flatten?i.push.apply(i,h):i.push({scopeParent:f,candidates:h})}else l.unshift.apply(l,f.children)}}return i},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 i=g(e,t.form);return!i||i===t},v=function(t){return m(t)&&"radio"===t.type&&!y(t)},w=function(t){var e,n,r,i,o,a,f,u=t&&l(t),c=null==(e=u)?void 0:e.host,s=!1;if(u&&u!==t)for(s=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=t&&null!=(i=t.ownerDocument)&&i.contains(t));!s&&c;)s=!!(null!=(a=c=null==(o=u=l(c))?void 0:o.host)&&null!=(f=a.ownerDocument)&&f.contains(c));return s},b=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("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(t).visibility;if("hidden"===i||"collapse"===i)return!0;var a=o.call(t,"details>summary:first-of-type")?t.parentElement:t;if(o.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return b(t)}else{if("function"==typeof r){for(var f=t;t;){var u=t.parentElement,c=l(t);if(u&&!u.shadowRoot&&!0===r(u))return b(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=f}if(w(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},R=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!!o.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1},E=function(t,e){return!(e.disabled||m(e)&&"hidden"===e.type||x(e,t)||"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(t){return"SUMMARY"===t.tagName})||R(e))},L=function(t,e){return!(v(e)||0>d(e))&&!!E(t,e)},S=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!isNaN(e)||!!(e>=0)},T=function(t){var e=[],n=[];return t.forEach(function(t,r){var i=!!t.scopeParent,o=i?t.scopeParent:t,l=p(o,i),a=i?T(t.candidates):o;0===l?i?e.push.apply(e,a):e.push(o):n.push({documentOrder:r,tabIndex:l,item:t,isScope:i,content:a})}),n.sort(h).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(e)},A=function(t,e){return T((e=e||{}).getShadowRoot?c([t],e.includeContainer,{filter:L.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:S}):u(t,e.includeContainer,L.bind(null,e)))},C=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==o.call(t,r)&&L(e,t)}},50698:(t,e,n)=>{n.d(e,{UE:()=>ti,RK:()=>X,ll:()=>Q,rD:()=>ta,__:()=>Z,UU:()=>te,jD:()=>tr,mG:()=>to,ER:()=>tl,cY:()=>J,iD:()=>Y,BN:()=>tt,Ej:()=>tn});let r=["top","right","bottom","left"],i=r.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),o=Math.min,l=Math.max,a=Math.round,f=Math.floor,u=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};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){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(g(t)),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=E(l)),[l,E(l)]}function v(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let w=["left","right"],b=["right","left"],x=["top","bottom"],R=["bottom","top"];function E(t){let e=d(t);return c[e]+t.slice(e.length)}function L(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 S(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function T(t,e,n){let r,{reference:i,floating:o}=t,l=g(e),a=h(g(e)),f=m(a),u=d(e),c=i.x+i.width/2-o.width/2,s=i.y+i.height/2-o.height/2,y=i[f]/2-o[f]/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 v=p(e);return v&&(r[a]+=y*("end"===v?1:-1)*(n&&"y"===l?-1:1)),r}async function A(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=s(e,t),m=L(h),g=a[p?"floating"===d?"reference":"floating":d],y=S(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:f})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:f}):v);return{top:(y.top-x.top+m.top)/b.y,bottom:(x.bottom-y.bottom+m.bottom)/b.y,left:(y.left-x.left+m.left)/b.x,right:(x.right-y.right+m.right)/b.x}}let C=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:A},f=await (null==l.isRTL?void 0:l.isRTL(e)),u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:s}=T(u,r,f),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:w,data:b,reset:x}=await y({x:c,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:t,floating:e}});c=null!=v?v:c,s=null!=w?w:s,h[g]={...h[g],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(u=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:c,y:s}=T(u,d,f)),n=-1)}return{x:c,y:s,placement:d,strategy:i,middlewareData:h}};function O(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function k(t){return r.some(e=>t[e]>=0)}function P(t){let e=o(...t.map(t=>t.left)),n=o(...t.map(t=>t.top));return{x:e,y:n,width:l(...t.map(t=>t.right))-e,height:l(...t.map(t=>t.bottom))-n}}let D=new Set(["left","top"]);async function N(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),a=p(n),f="y"===g(n),u=D.has(l)?-1:1,c=o&&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 a&&"number"==typeof v&&(y="end"===a?-1*v:v),f?{x:y*c,y:m*u}:{x:m*u,y:y*c}}var F=n(84974);function I(t){let e=(0,F.L9)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=(0,F.sb)(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 M(t){return(0,F.vq)(t)?t:t.contextElement}function U(t){let e=M(t);if(!(0,F.sb)(e))return u(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=I(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 q=u(0);function z(t){let e=(0,F.zk)(t);return(0,F.Tc)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:q}function V(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=M(t),a=u(1);e&&(r?(0,F.vq)(r)&&(a=U(r)):a=U(t));let f=(void 0===(i=n)&&(i=!1),r&&i&&r===(0,F.zk)(l))?z(l):u(0),c=(o.left+f.x)/a.x,s=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l&&r){let t=(0,F.zk)(l),e=(0,F.vq)(r)?(0,F.zk)(r):r,n=t,i=(0,F._m)(n);for(;i&&e!==n;){let t=U(i),e=i.getBoundingClientRect(),r=(0,F.L9)(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,d*=t.x,p*=t.y,c+=o,s+=l,n=(0,F.zk)(i),i=(0,F._m)(n)}}return S({width:d,height:p,x:c,y:s})}function H(t,e){let n=(0,F.CP)(t).scrollLeft;return e?e.left+n:V((0,F.ep)(t)).left+n}function _(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-H(t,n),y:n.top+e.scrollTop}}function B(t,e,n){let r;if("viewport"===e||"layoutViewport"===e)r=function(t,e,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,F.zk)(t),o=(0,F.ep)(t),l=i.visualViewport,a=o.clientWidth,f=o.clientHeight,u=0,c=0;if(l){let t=!(0,F.Tc)()||"fixed"===e;r?t||(u=-l.offsetLeft,c=-l.offsetTop):(a=l.width,f=l.height,t&&(u=l.offsetLeft,c=l.offsetTop))}if(0>=H(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&&(a-=l)}return{width:a,height:f,x:u,y:c}}(t,n,e);else if("document"===e)r=function(t){let e=(0,F.CP)(t),n=t.ownerDocument.body,r=l(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=l(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),o=-e.scrollLeft+H(t),a=-e.scrollTop;return"rtl"===(0,F.L9)(n).direction&&(o+=l(t.clientWidth,n.clientWidth)-r),{width:r,height:i,x:o,y:a}}((0,F.ep)(t));else if((0,F.vq)(e))r=function(t,e){let n=V(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=U(t),l=t.clientWidth*o.x,a=t.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(e,n);else{let n=z(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return S(r)}function W(t){return"static"===(0,F.L9)(t).position}function $(t,e){if(!(0,F.sb)(t)||"fixed"===(0,F.L9)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,F.ep)(t)===n&&(n=n.ownerDocument.body),n}function j(t,e){let n=(0,F.zk)(t);if((0,F.Tf)(t))return n;if(!(0,F.sb)(t)){let e=(0,F.$4)(t);for(;e&&!(0,F.eu)(e);){if((0,F.vq)(e)&&!W(e))return e;e=(0,F.$4)(e)}return n}let r=$(t,e);for(;r&&(0,F.Lv)(r)&&W(r);)r=$(r,e);return r&&(0,F.eu)(r)&&W(r)&&!(0,F.sQ)(r)?n:r||(0,F.gJ)(t)||n}let G=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,F.sb)(e),i=(0,F.ep)(e),o="fixed"===n,l=V(t,!0,o,e),a={scrollLeft:0,scrollTop:0},f=u(0);if((r||!o)&&(("body"!==(0,F.mq)(e)||(0,F.ZU)(i))&&(a=(0,F.CP)(e)),r)){let t=V(e,!0,o,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}!r&&i&&(f.x=H(i));let c=!i||r||o?u(0):_(i,a);return{x:l.left+a.scrollLeft-f.x-c.x,y:l.top+a.scrollTop-f.y-c.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},Y={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=(0,F.ep)(r),a=!!e&&(0,F.Tf)(e.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=u(1),s=u(0),d=(0,F.sb)(r);if((d||!o)&&(("body"!==(0,F.mq)(r)||(0,F.ZU)(l))&&(f=(0,F.CP)(r)),d)){let t=V(r);c=U(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||o?u(0):_(l,f);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+s.x+p.x,y:n.y*c.y-f.scrollTop*c.y+s.y+p.y}},getDocumentElement:F.ep,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,a=[..."clippingAncestors"===n?(0,F.Tf)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,F.v9)(t,[],!1).filter(t=>(0,F.vq)(t)&&"body"!==(0,F.mq)(t)),i=null,o="fixed"===(0,F.L9)(t).position,l=o?(0,F.$4)(t):t;for(;(0,F.vq)(l)&&!(0,F.eu)(l);){let t=(0,F.L9)(l),e=(0,F.sQ)(l),n=i?i.position:o?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?i=t:r=r.filter(t=>t!==l),l=(0,F.$4)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],f=B(e,a[0],i),u=f.top,c=f.right,s=f.bottom,d=f.left;for(let t=1;t<a.length;t++){let n=B(e,a[t],i);u=l(n.top,u),c=o(n.right,c),s=o(n.bottom,s),d=l(n.left,d)}return{width:c-d,height:s-u,x:d,y:u}},getOffsetParent:j,getElementRects:G,getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){let{width:e,height:n}=I(t);return{width:e,height:n}},getScale:U,isElement:F.vq,isRTL:function(t){return"rtl"===(0,F.L9)(t).direction}};function K(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Q(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=M(t),h=a||u?[...p?(0,F.v9)(p):[],...e?(0,F.v9)(e):[]]:[];h.forEach(t=>{a&&t.addEventListener("scroll",n),u&&t.addEventListener("resize",n)});let m=p&&s?function(t,e,n){let r,i=null,a=(0,F.ep)(t);function u(){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),u();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(n||e(),!m||!g)return;let y=f(h),v=f(a.clientWidth-(p+m)),w={rootMargin:-y+"px "+-v+"px "+-f(a.clientHeight-(h+g))+"px "+-f(p)+"px",threshold:l(0,o(1,s))||1},b=!0;function x(e){let n=e[0].intersectionRatio;if(!K(d,t.getBoundingClientRect()))return c();if(n!==s){if(!b)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}b=!1}try{i=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){i=new IntersectionObserver(x,w)}i.observe(t)}let s=(0,F.zk)(t),d=()=>c(n);return s.addEventListener("resize",d),c(!0),()=>{s.removeEventListener("resize",d),u()}}(p,n,u):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&e&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),e&&y.observe(e));let v=d?V(t):null;return d&&function e(){let r=V(t);v&&!K(v,r)&&n(),v=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{a&&t.removeEventListener("scroll",n),u&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(i)}}let Z=A,J=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=e,f=await N(e,t);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}},X=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o,l;let{rects:a,middlewareData:f,placement:u,platform:c,elements:h}=e,{crossAxis:m=!1,alignment:g,allowedPlacements:w=i,autoAlignment:b=!0,...x}=s(t,e),R=void 0!==g||w===i?((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=(null==(n=f.autoPlacement)?void 0:n.index)||0,L=R[E];if(null==L)return{};if(u!==L)return{reset:{placement:R[0]}};let S=await c.detectOverflow(e,x),T=y(L,a,await (null==c.isRTL?void 0:c.isRTL(h.floating))),A=[S[d(L)],S[T[0]],S[T[1]]],C=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:L,overflows:A}],O=R[E+1];if(O)return{data:{index:E+1,overflows:C},reset:{placement:O}};let k=C.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]),P=(null==(o=k.filter(t=>t[2].slice(0,p(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||k[0][0];return P!==u?{data:{index:E+1,overflows:C},reset:{placement:P}}:{}}}},tt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:i,platform:a}=e,{mainAxis:f=!0,crossAxis:u=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=s(t,e),p={x:n,y:r},m=await a.detectOverflow(e,d),y=g(i),v=h(y),w=p[v],b=p[y],x=(t,e)=>l(e+m["y"===t?"top":"left"],o(e,e-m["y"===t?"bottom":"right"]));f&&(w=x(v,w)),u&&(b=x(y,b));let R=c.fn({...e,[v]:w,[y]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[v]:f,[y]:u}}}}}},te=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l;let{placement:a,middlewareData:f,rects:u,initialPlacement:c,platform:h,elements:m}=e,{mainAxis:L=!0,crossAxis:S=!0,fallbackPlacements:T,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:O=!0,...k}=s(t,e);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let P=d(a),D=g(c),N=d(c)===c,F=await (null==h.isRTL?void 0:h.isRTL(m.floating)),I=T||(N||!O?[E(c)]:function(t){let e=E(t);return[v(t),e,v(e)]}(c)),M="none"!==C;!T&&M&&I.push(...function(t,e,n,r){let i=p(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?b:w;return e?w:b;case"left":case"right":return e?x:R;default:return[]}}(d(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(v)))),o}(c,O,C,F));let U=[c,...I],q=await h.detectOverflow(e,k),z=[],V=(null==(r=f.flip)?void 0:r.overflows)||[];if(L&&z.push(q[P]),S){let t=y(a,u,F);z.push(q[t[0]],q[t[1]])}if(V=[...V,{placement:a,overflows:z}],!z.every(t=>t<=0)){let t=((null==(i=f.flip)?void 0:i.index)||0)+1,e=U[t];if(e&&("alignment"!==S||D===g(e)||V.every(t=>g(t.placement)!==D||t.overflows[0]>0)))return{data:{index:t,overflows:V},reset:{placement:e}};let n=null==(o=V.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(A){case"bestFit":{let t=null==(l=V.filter(t=>{if(M){let e=g(t.placement);return e===D||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}},tn=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){let n,r,{placement:i,rects:a,platform:f,elements:u}=e,{apply:c=()=>{},...h}=s(t,e),m=await f.detectOverflow(e,h),y=d(i),v=p(i),w="y"===g(i),{width:b,height:x}=a.floating;"top"===y||"bottom"===y?(n=y,r=v===(await (null==f.isRTL?void 0:f.isRTL(u.floating))?"start":"end")?"left":"right"):(r=y,n="end"===v?"top":"bottom");let R=x-m.top-m.bottom,E=b-m.left-m.right,L=o(x-m[n],R),S=o(b-m[r],E),T=e.middlewareData.shift,A=!T,C=L,O=S;null!=T&&T.enabled.x&&(O=E),null!=T&&T.enabled.y&&(C=R),A&&!v&&(w?O=b-2*l(m.left,m.right):C=x-2*l(m.top,m.bottom)),await c({...e,availableWidth:O,availableHeight:C});let k=await f.getDimensions(u.floating);return b!==k.width||x!==k.height?{reset:{rects:!0}}:{}}}},tr=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=s(t,e);switch(i){case"referenceHidden":{let t=O(await r.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:k(t)}}}case"escaped":{let t=O(await r.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:k(t)}}}default:return{}}}}},ti=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:a,platform:f,elements:u,middlewareData:c}=e,{element:d,padding:y=0}=s(t,e)||{};if(null==d)return{};let v=L(y),w={x:n,y:r},b=h(g(i)),x=m(b),R=await f.getDimensions(d),E="y"===b,S=E?"clientHeight":"clientWidth",T=a.reference[x]+a.reference[b]-w[b]-a.floating[x],A=w[b]-a.reference[b],C=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d)),O=C?C[S]:0;O&&await (null==f.isElement?void 0:f.isElement(C))||(O=u.floating[S]||a.floating[x]);let k=O/2-R[x]/2-1,P=o(v[E?"top":"left"],k),D=o(v[E?"bottom":"right"],k),N=O-R[x]-D,F=O/2-R[x]/2+(T/2-A/2),I=l(P,o(F,N)),M=!c.arrow&&null!=p(i)&&F!==I&&a.reference[x]/2-(F<P?P:D)-R[x]/2<0,U=M?F<P?F-P:F-N:0;return{[b]:w[b]+U,data:{[b]:I,centerOffset:F-I-U,...M&&{alignmentOffset:U}},reset:M}}}),to=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){let{placement:n,elements:r,rects:i,platform:a,strategy:f}=e,{padding:u=2,x:c,y:p}=s(t,e),h=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]);if(!h.length)return{};let m=function(t){let e=t.slice().sort((t,e)=>t.y-e.y),n=[],r=null;for(let t=0;t<e.length;t++){let i=e[t];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(t=>S(P(t)))}(h),y=S(P(h)),v=L(u),w=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&(m[0].left>m[1].right||m[1].left>m[0].right)&&null!=c&&null!=p)return m.find(t=>c>t.left-v.left&&c<t.right+v.right&&p>t.top-v.top&&p<t.bottom+v.bottom)||y;if(m.length>=2){if("y"===g(n)){let t=m[0],e=m[m.length-1],r="top"===d(n),i=t.top,o=e.bottom,l=r?t.left:e.left;return S({x:l,y:i,width:(r?t.right:e.right)-l,height:o-i})}let t="left"===d(n),e=l(...m.map(t=>t.right)),r=o(...m.map(t=>t.left)),i=m.filter(n=>t?n.left===r:n.right===e),a=i[0].top;return S({x:r,y:a,width:e-r,height:i[i.length-1].bottom-a})}return y}},floating:r.floating,strategy:f});return i.reference.x!==w.reference.x||i.reference.y!==w.reference.y||i.reference.width!==w.reference.width||i.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},tl=function(t){return void 0===t&&(t={}),{options:t,fn(e){var n,r,i,o;let{x:l,y:a,placement:f,rects:u,middlewareData:c}=e,{offset:p=0,mainAxis:m=!0,crossAxis:y=!0}=s(t,e),v={x:l,y:a},w=g(f),b=h(w),x=v[b],R=v[w],E=s(p,e),L="number"==typeof E?{mainAxis:E,crossAxis:0}:{mainAxis:null!=(n=E.mainAxis)?n:0,crossAxis:null!=(r=E.crossAxis)?r:0};if(m){let t="y"===b?"height":"width",e=u.reference[b]-u.floating[t]+L.mainAxis,n=u.reference[b]+u.reference[t]-L.mainAxis;x<e?x=e:x>n&&(x=n)}if(y){let t="y"===b?"width":"height",e=D.has(d(f)),n=u.reference[w]-u.floating[t]+(e&&(null==(i=c.offset)?void 0:i[w])||0)+(e?0:L.crossAxis),r=u.reference[w]+u.reference[t]+(e?0:(null==(o=c.offset)?void 0:o[w])||0)-(e?L.crossAxis:0);R<n?R=n:R>r&&(R=r)}return{[b]:x,[w]:R}}}},ta=(t,e,n)=>{let r=new Map,i=null!=n?n:{},o={...Y,...i.platform,_c:r};return C(t,e,{...i,platform:o})}},84974:(t,e,n)=>{let r;function i(){return"undefined"!=typeof window}function o(t){return f(t)?(t.nodeName||"").toLowerCase():"#document"}function l(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function a(t){var e;return null==(e=(f(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function f(t){return!!i()&&(t instanceof Node||t instanceof l(t).Node)}function u(t){return!!i()&&(t instanceof Element||t instanceof l(t).Element)}function c(t){return!!i()&&(t instanceof HTMLElement||t instanceof l(t).HTMLElement)}function s(t){return!!i()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof l(t).ShadowRoot)}function d(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=R(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function p(t){return/^(table|td|th)$/.test(o(t))}function h(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}n.d(e,{$4:()=>L,CP:()=>E,L9:()=>R,Lv:()=>p,Ng:()=>s,Tc:()=>b,Tf:()=>h,ZU:()=>d,_m:()=>S,ep:()=>a,eu:()=>x,gJ:()=>w,mq:()=>o,sQ:()=>v,sb:()=>c,v9:()=>function t(e,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let o=function t(e){let n=L(e);return x(n)?(e.ownerDocument||e).body:c(n)&&d(n)?n:t(n)}(e),a=o===(null==(i=e.ownerDocument)?void 0:i.body),f=l(o);if(!a)return n.concat(o,t(o,[],r));{let e=S(f);return n.concat(f,f.visualViewport||[],d(o)?o:[],e&&r?t(e):[])}},vq:()=>u,zk:()=>l});let m=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,y=t=>!!t&&"none"!==t;function v(t){let e=u(t)?R(t):t;return y(e.transform)||y(e.translate)||y(e.scale)||y(e.rotate)||y(e.perspective)||!b()&&(y(e.backdropFilter)||y(e.filter))||m.test(e.willChange||"")||g.test(e.contain||"")}function w(t){let e=L(t);for(;c(e)&&!x(e);){if(v(e))return e;if(h(e))break;e=L(e)}return null}function b(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function x(t){return/^(html|body|#document)$/.test(o(t))}function R(t){return l(t).getComputedStyle(t)}function E(t){return u(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function L(t){if("html"===o(t))return t;let e=t.assignedSlot||t.parentNode||s(t)&&t.host||a(t);return s(e)?e.host:e}function S(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}},94882:(t,e,n)=>{n.d(e,{BN:()=>p,ER:()=>h,Ej:()=>g,RK:()=>y,UE:()=>b,UU:()=>m,cY:()=>d,jD:()=>v,mG:()=>w,we:()=>s});var r=n(50698),i=n(14232),o=n(98477),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function a(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(!a(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!a(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function f(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function u(t,e){let n=f(t);return Math.round(e*n)/n}function c(t){let e=i.useRef(t);return l(()=>{e.current=t}),e}function 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]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[b,x]=i.useState(s);a(b,s)||x(s);let[R,E]=i.useState(null),[L,S]=i.useState(null),T=i.useCallback(t=>{t!==k.current&&(k.current=t,E(t))},[]),A=i.useCallback(t=>{t!==P.current&&(P.current=t,S(t))},[]),C=p||R,O=h||L,k=i.useRef(null),P=i.useRef(null),D=i.useRef(v),N=null!=g,F=c(g),I=c(d),M=c(y),U=i.useCallback(()=>{if(!k.current||!P.current)return;let t={placement:e,strategy:n,middleware:b};I.current&&(t.platform=I.current),(0,r.rD)(k.current,P.current,t).then(t=>{let e={...t,isPositioned:!1!==M.current};q.current&&!a(D.current,e)&&(D.current=e,o.flushSync(()=>{w(e)}))})},[b,e,n,I,M]);l(()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[y]);let q=i.useRef(!1);l(()=>(q.current=!0,()=>{q.current=!1}),[]),l(()=>{if(C&&(k.current=C),O&&(P.current=O),C&&O){if(F.current)return F.current(C,O,U);U()}},[C,O,U,F,N]);let z=i.useMemo(()=>({reference:k,floating:P,setReference:T,setFloating:A}),[T,A]),V=i.useMemo(()=>({reference:C,floating:O}),[C,O]),H=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!V.floating)return t;let e=u(V.floating,v.x),r=u(V.floating,v.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...f(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,V.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:U,refs:z,elements:V,floatingStyles:H}),[v,U,z,V,H])}let d=(t,e)=>{let n=(0,r.cY)(t);return{name:n.name,fn:n.fn,options:[t,e]}},p=(t,e)=>{let n=(0,r.BN)(t);return{name:n.name,fn:n.fn,options:[t,e]}},h=(t,e)=>({fn:(0,r.ER)(t).fn,options:[t,e]}),m=(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]}},y=(t,e)=>{let n=(0,r.RK)(t);return{name:n.name,fn:n.fn,options:[t,e]}},v=(t,e)=>{let n=(0,r.jD)(t);return{name:n.name,fn:n.fn,options:[t,e]}},w=(t,e)=>{let n=(0,r.mG)(t);return{name:n.name,fn:n.fn,options:[t,e]}},b=(t,e)=>{let n=(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):{}}}))(t);return{name:n.name,fn:n.fn,options:[t,e]}}}}]);