"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1804],{15234:(t,e,n)=>{n.d(e,{AO:()=>C,Kr:()=>A});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||null==(e=t.getRootNode)?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||null==(r=e.getAttribute)?void 0:r.call(e,"inert");return""===o||"true"===o||n&&e&&t(e.parentNode)},a=function(t){var e,n=null==t||null==(e=t.getAttribute)?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)},f=function t(e,n,o){for(var l=[],a=Array.from(e);a.length;){var c=a.shift();if(!u(c,!1))if("SLOT"===c.tagName){var f=c.assignedElements(),s=t(f.length?f: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 a.unshift.apply(a,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)||a(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]},v=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},y=function(t){return m(t)&&"radio"===t.type&&!v(t)},w=function(t){var e,n,r,o,i,u,a,c=t&&l(t),f=null==(e=c)?void 0:e.host,s=!1;if(c&&c!==t)for(s=!!(null!=(n=f)&&null!=(r=n.ownerDocument)&&r.contains(f)||null!=t&&null!=(o=t.ownerDocument)&&o.contains(t));!s&&f;)s=!!(null!=(u=f=null==(i=c=l(f))?void 0:i.host)&&null!=(a=u.ownerDocument)&&a.contains(f));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("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 b(t)}else{if("function"==typeof r){for(var u=t;t;){var a=t.parentElement,c=l(t);if(a&&!a.shadowRoot&&!0===r(a))return b(t);t=t.assignedSlot?t.assignedSlot:a||c===t.ownerDocument?a:c.host}t=u}if(w(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},E=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){return!(e.disabled||u(e)||m(e)&&"hidden"===e.type||x(e,t)||"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(t){return"SUMMARY"===t.tagName})||E(e))},S=function(t,e){return!(y(e)||0>d(e))&&!!R(t,e)},T=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!isNaN(e)||!!(e>=0)},L=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),a=i?t(e.candidates):l;0===u?i?n.push.apply(n,a):n.push(l):r.push({documentOrder:o,tabIndex:u,item:e,isScope:i,content:a})}),r.sort(h).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(n)},A=function(t,e){return L((e=e||{}).getShadowRoot?f([t],e.includeContainer,{filter:S.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:T}):c(t,e.includeContainer,S.bind(null,e)))},C=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==i.call(t,r)&&S(e,t)}},18370:(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 a(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 f(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}=y(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=a(t)?y(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)&&!v(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 v(t){return["html","body","#document"].includes(o(t))}function y(t){return i(t).getComputedStyle(t)}function w(t){return a(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||f(t)&&t.host||l(t);return f(e)?e.host:e}function x(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}n.d(e,{$4:()=>b,CP:()=>w,L9:()=>y,Lv:()=>d,Tc:()=>g,Tf:()=>p,ZU:()=>s,_m:()=>x,ep:()=>l,eu:()=>v,gJ:()=>m,mq:()=>o,sQ:()=>h,sb:()=>c,v9:()=>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 v(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),a=i(l);if(u){let e=x(a);return n.concat(a,a.visualViewport||[],s(l)?l:[],e&&r?t(e):[])}return n.concat(l,t(l,[],r))},vq:()=>a,zk:()=>i})},26146:(t,e,n)=>{n.d(e,{g:()=>r});let r=(t,e=!0)=>e?t:void 0},26629:(t,e,n)=>{n.d(e,{UE:()=>Z,ll:()=>V,rD:()=>Q,UU:()=>_,jD:()=>Y,cY:()=>$,BN:()=>j});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,l={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function a(t,e){return"function"==typeof t?t(e):t}function c(t){return t.split("-")[0]}function f(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(c(t))?"y":"x"}function h(t){return t.replace(/start|end/g,t=>u[t])}function m(t){return t.replace(/left|right|bottom|top/g,t=>l[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 v(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,l=p(e),u=s(p(e)),a=d(u),h=c(e),m="y"===l,g=o.x+o.width/2-i.width/2,v=o.y+o.height/2-i.height/2,y=o[a]/2-i[a]/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:v};break;case"left":r={x:o.x-i.width,y:v};break;default:r={x:o.x,y:o.y}}switch(f(e)){case"start":r[u]-=y*(n&&m?-1:1);break;case"end":r[u]+=y*(n&&m?-1:1)}return r}let w=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,u=i.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:s}=y(c,r,a),d=r,p={},h=0;for(let n=0;n<u.length;n++){let{name:i,fn:m}=u[n],{x:g,y:v,data:w,reset:b}=await m({x:f,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,s=null!=v?v:s,p={...p,[i]:{...p[i],...w}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:o}):b.rects),{x:f,y:s}=y(c,d,a)),n=-1)}return{x:f,y:s,placement:d,strategy:o,middlewareData:p}};async function b(t,e){var n;void 0===e&&(e={});let{x:r,y:o,platform:i,rects:l,elements:u,strategy:c}=t,{boundary:f="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=a(e,t),m=g(h),y=u[p?"floating"===d?"reference":"floating":d],w=v(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(u.floating)),boundary:f,rootBoundary:s,strategy:c})),b="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),E=await (null==i.isElement?void 0:i.isElement(x))&&await (null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},R=v(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:x,strategy:c}):b);return{top:(w.top-R.top+m.top)/E.y,bottom:(R.bottom-w.bottom+m.bottom)/E.y,left:(w.left-R.left+m.left)/E.x,right:(R.right-w.right+m.right)/E.x}}function x(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return r.some(e=>t[e]>=0)}async function R(t,e){let{placement:n,platform:r,elements:o}=t,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=c(n),u=f(n),s="y"===p(n),d=["left","top"].includes(l)?-1:1,h=i&&s?-1:1,m=a(e,t),{mainAxis:g,crossAxis:v,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&"number"==typeof y&&(v="end"===u?-1*y:y),s?{x:v*h,y:g*d}:{x:g*d,y:v*h}}let S=Math.min,T=Math.max,L=Math.round,A=Math.floor,C=t=>({x:t,y:t});var N=n(18370);function D(t){let e=(0,N.L9)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=(0,N.sb)(t),i=o?t.offsetWidth:n,l=o?t.offsetHeight:r,u=L(n)!==i||L(r)!==l;return u&&(n=i,r=l),{width:n,height:r,$:u}}function P(t){return(0,N.vq)(t)?t:t.contextElement}function k(t){let e=P(t);if(!(0,N.sb)(e))return C(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:i}=D(e),l=(i?L(n.width):n.width)/r,u=(i?L(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let O=C(0);function M(t){let e=(0,N.zk)(t);return(0,N.Tc)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:O}function q(t,e,n,r){var o;void 0===e&&(e=!1),void 0===n&&(n=!1);let i=t.getBoundingClientRect(),l=P(t),u=C(1);e&&(r?(0,N.vq)(r)&&(u=k(r)):u=k(t));let a=(void 0===(o=n)&&(o=!1),r&&(!o||r===(0,N.zk)(l))&&o)?M(l):C(0),c=(i.left+a.x)/u.x,f=(i.top+a.y)/u.y,s=i.width/u.x,d=i.height/u.y;if(l){let t=(0,N.zk)(l),e=r&&(0,N.vq)(r)?(0,N.zk)(r):r,n=t,o=(0,N._m)(n);for(;o&&r&&e!==n;){let t=k(o),e=o.getBoundingClientRect(),r=(0,N.L9)(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,f*=t.y,s*=t.x,d*=t.y,c+=i,f+=l,n=(0,N.zk)(o),o=(0,N._m)(n)}}return v({width:s,height:d,x:c,y:f})}function F(t,e){let n=(0,N.CP)(t).scrollLeft;return e?e.left+n:q((0,N.ep)(t)).left+n}function I(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=(0,N.zk)(t),r=(0,N.ep)(t),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,u=0,a=0;if(o){i=o.width,l=o.height;let t=(0,N.Tc)();(!t||t&&"fixed"===e)&&(u=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:u,y:a}}(t,n);else if("document"===e)r=function(t){let e=(0,N.ep)(t),n=(0,N.CP)(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),l=-n.scrollLeft+F(t),u=-n.scrollTop;return"rtl"===(0,N.L9)(r).direction&&(l+=T(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:u}}((0,N.ep)(t));else if((0,N.vq)(e))r=function(t,e){let n=q(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=(0,N.sb)(t)?k(t):C(1),l=t.clientWidth*i.x,u=t.clientHeight*i.y;return{width:l,height:u,x:o*i.x,y:r*i.y}}(e,n);else{let n=M(t);r={...e,x:e.x-n.x,y:e.y-n.y}}return v(r)}function U(t){return"static"===(0,N.L9)(t).position}function H(t,e){if(!(0,N.sb)(t)||"fixed"===(0,N.L9)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,N.ep)(t)===n&&(n=n.ownerDocument.body),n}function z(t,e){let n=(0,N.zk)(t);if((0,N.Tf)(t))return n;if(!(0,N.sb)(t)){let e=(0,N.$4)(t);for(;e&&!(0,N.eu)(e);){if((0,N.vq)(e)&&!U(e))return e;e=(0,N.$4)(e)}return n}let r=H(t,e);for(;r&&(0,N.Lv)(r)&&U(r);)r=H(r,e);return r&&(0,N.eu)(r)&&U(r)&&!(0,N.sQ)(r)?n:r||(0,N.gJ)(t)||n}let W=async function(t){let e=this.getOffsetParent||z,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=(0,N.sb)(e),o=(0,N.ep)(e),i="fixed"===n,l=q(t,!0,i,e),u={scrollLeft:0,scrollTop:0},a=C(0);if(r||!r&&!i)if(("body"!==(0,N.mq)(e)||(0,N.ZU)(o))&&(u=(0,N.CP)(e)),r){let t=q(e,!0,i,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else o&&(a.x=F(o));let c=0,f=0;if(o&&!r&&!i){let t=o.getBoundingClientRect();f=t.top+u.scrollTop,c=t.left+u.scrollLeft-F(o,t)}return{x:l.left+u.scrollLeft-a.x-c,y:l.top+u.scrollTop-a.y-f,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}}},B={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t,i="fixed"===o,l=(0,N.ep)(r),u=!!e&&(0,N.Tf)(e.floating);if(r===l||u&&i)return n;let a={scrollLeft:0,scrollTop:0},c=C(1),f=C(0),s=(0,N.sb)(r);if((s||!s&&!i)&&(("body"!==(0,N.mq)(r)||(0,N.ZU)(l))&&(a=(0,N.CP)(r)),(0,N.sb)(r))){let t=q(r);c=k(r),f.x=t.x+r.clientLeft,f.y=t.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+f.x,y:n.y*c.y-a.scrollTop*c.y+f.y}},getDocumentElement:N.ep,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t,i=[..."clippingAncestors"===n?(0,N.Tf)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,N.v9)(t,[],!1).filter(t=>(0,N.vq)(t)&&"body"!==(0,N.mq)(t)),o=null,i="fixed"===(0,N.L9)(t).position,l=i?(0,N.$4)(t):t;for(;(0,N.vq)(l)&&!(0,N.eu)(l);){let e=(0,N.L9)(l),n=(0,N.sQ)(l);n||"fixed"!==e.position||(o=null),(i?!n&&!o:!n&&"static"===e.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,N.ZU)(l)&&!n&&function t(e,n){let r=(0,N.$4)(e);return!(r===n||!(0,N.vq)(r)||(0,N.eu)(r))&&("fixed"===(0,N.L9)(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):o=e,l=(0,N.$4)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],l=i[0],u=i.reduce((t,n)=>{let r=I(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},I(e,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:z,getElementRects:W,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=D(t);return{width:e,height:n}},getScale:k,isElement:N.vq,isRTL:function(t){return"rtl"===(0,N.L9)(t).direction}};function V(t,e,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,f=P(t),s=i||l?[...f?(0,N.v9)(f):[],...(0,N.v9)(e)]:[];s.forEach(t=>{i&&t.addEventListener("scroll",n,{passive:!0}),l&&t.addEventListener("resize",n)});let d=f&&a?function(t,e){let n,r=null,o=(0,N.ep)(t);function i(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function l(u,a){void 0===u&&(u=!1),void 0===a&&(a=1),i();let{left:c,top:f,width:s,height:d}=t.getBoundingClientRect();if(u||e(),!s||!d)return;let p=A(f),h=A(o.clientWidth-(c+s)),m={rootMargin:-p+"px "+-h+"px "+-A(o.clientHeight-(f+d))+"px "+-A(c)+"px",threshold:T(0,S(1,a))||1},g=!0;function v(t){let e=t[0].intersectionRatio;if(e!==a){if(!g)return l();e?l(!1,e):n=setTimeout(()=>{l(!1,1e-7)},1e3)}g=!1}try{r=new IntersectionObserver(v,{...m,root:o.ownerDocument})}catch(t){r=new IntersectionObserver(v,m)}r.observe(t)}(!0),i}(f,n):null,p=-1,h=null;u&&(h=new ResizeObserver(t=>{let[r]=t;r&&r.target===f&&h&&(h.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=h)||t.observe(e)})),n()}),f&&!c&&h.observe(f),h.observe(e));let m=c?q(t):null;return c&&function e(){let r=q(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),l&&t.removeEventListener("resize",n)}),null==d||d(),null==(t=h)||t.disconnect(),h=null,c&&cancelAnimationFrame(o)}}let $=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,a=await R(e,t);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},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:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...h}=a(t,e),m={x:n,y:r},g=await b(e,h),v=p(c(l)),y=s(v),w=m[y],x=m[v];if(u){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=w+g[t],r=w-g[e];w=i(n,o(w,r))}if(f){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=x+g[t],r=x-g[e];x=i(n,o(x,r))}let E=d.fn({...e,[y]:w,[v]:x});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[y]:u,[v]:f}}}}}},_=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,o,i,l;let{placement:u,middlewareData:g,rects:v,initialPlacement:y,platform:w,elements:x}=e,{mainAxis:E=!0,crossAxis:R=!0,fallbackPlacements:S,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:A=!0,...C}=a(t,e);if(null!=(n=g.arrow)&&n.alignmentOffset)return{};let N=c(u),D=p(y),P=c(y)===y,k=await (null==w.isRTL?void 0:w.isRTL(x.floating)),O=S||(P||!A?[m(y)]:function(t){let e=m(t);return[h(t),e,h(e)]}(y)),M="none"!==L;!S&&M&&O.push(...function(t,e,n,r){let o=f(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[]}}(c(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(h)))),i}(y,A,L,k));let q=[y,...O],F=await b(e,C),I=[],U=(null==(r=g.flip)?void 0:r.overflows)||[];if(E&&I.push(F[N]),R){let t=function(t,e,n){void 0===n&&(n=!1);let r=f(t),o=s(p(t)),i=d(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=m(l)),[l,m(l)]}(u,v,k);I.push(F[t[0]],F[t[1]])}if(U=[...U,{placement:u,overflows:I}],!I.every(t=>t<=0)){let t=((null==(o=g.flip)?void 0:o.index)||0)+1,e=q[t];if(e)return{data:{index:t,overflows:U},reset:{placement:e}};let n=null==(i=U.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==(l=U.filter(t=>{if(M){let e=p(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=y}if(u!==n)return{reset:{placement:n}}}return{}}}},Y=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:r="referenceHidden",...o}=a(t,e);switch(r){case"referenceHidden":{let t=x(await b(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:E(t)}}}case"escaped":{let t=x(await b(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:E(t)}}}default:return{}}}}},Z=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:l,rects:u,platform:c,elements:h,middlewareData:m}=e,{element:v,padding:y=0}=a(t,e)||{};if(null==v)return{};let w=g(y),b={x:n,y:r},x=s(p(l)),E=d(x),R=await c.getDimensions(v),S="y"===x,T=S?"clientHeight":"clientWidth",L=u.reference[E]+u.reference[x]-b[x]-u.floating[E],A=b[x]-u.reference[x],C=await (null==c.getOffsetParent?void 0:c.getOffsetParent(v)),N=C?C[T]:0;N&&await (null==c.isElement?void 0:c.isElement(C))||(N=h.floating[T]||u.floating[E]);let D=N/2-R[E]/2-1,P=o(w[S?"top":"left"],D),k=o(w[S?"bottom":"right"],D),O=N-R[E]-k,M=N/2-R[E]/2+(L/2-A/2),q=i(P,o(M,O)),F=!m.arrow&&null!=f(l)&&M!==q&&u.reference[E]/2-(M<P?P:k)-R[E]/2<0,I=F?M<P?M-P:M-O:0;return{[x]:b[x]+I,data:{[x]:q,centerOffset:M-q-I,...F&&{alignmentOffset:I}},reset:F}}}),Q=(t,e,n)=>{let r=new Map,o={platform:B,...n},i={...o.platform,_c:r};return w(t,e,{...o,platform:i})}},73473:(t,e,n)=>{n.d(e,{EW:()=>v,F2:()=>g,Go:()=>d,O_:()=>p,Pg:()=>c,RS:()=>o,WZ:()=>w,YE:()=>m,YF:()=>a,gR:()=>i,jo:()=>y,nr:()=>f,tZ:()=>h,uo:()=>l});var r=n(82305);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.Ng)(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 a(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 f(){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 v(t){return"composedPath"in t?t.composedPath()[0]:t.target}function y(t){t.preventDefault(),t.stopPropagation()}function w(t){return!!t&&"combobox"===t.getAttribute("role")&&(0,r.sb)(t)&&t.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}},82305:(t,e,n)=>{function r(){return"undefined"!=typeof window}function o(t){return l(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){return!!r()&&(t instanceof Node||t instanceof i(t).Node)}function u(t){return!!r()&&(t instanceof Element||t instanceof i(t).Element)}function a(t){return!!r()&&(t instanceof HTMLElement||t instanceof i(t).HTMLElement)}function c(t){return!!r()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof i(t).ShadowRoot)}function f(t){return["html","body","#document"].includes(o(t))}function s(t){return i(t).getComputedStyle(t)}function d(t){var e;if("html"===o(t))return t;let n=t.assignedSlot||t.parentNode||c(t)&&t.host||(null==(e=(l(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement);return c(n)?n.host:n}n.d(e,{$4:()=>d,L9:()=>s,Ng:()=>c,eu:()=>f,mq:()=>o,sb:()=>a,vq:()=>u})},88334:(t,e,n)=>{n.d(e,{BN:()=>p,UE:()=>g,UU:()=>h,cY:()=>d,jD:()=>m,we:()=>s});var r=n(26629),o=n(12115),i=n(47650),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 a(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function c(t,e){let n=a(t);return Math.round(e*n)/n}function f(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:v}=t,[y,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[E,R]=o.useState(null),[S,T]=o.useState(null),L=o.useCallback(t=>{t!==D.current&&(D.current=t,R(t))},[]),A=o.useCallback(t=>{t!==P.current&&(P.current=t,T(t))},[]),C=p||E,N=h||S,D=o.useRef(null),P=o.useRef(null),k=o.useRef(y),O=null!=g,M=f(g),q=f(d),F=f(v),I=o.useCallback(()=>{if(!D.current||!P.current)return;let t={placement:e,strategy:n,middleware:b};q.current&&(t.platform=q.current),(0,r.rD)(D.current,P.current,t).then(t=>{let e={...t,isPositioned:!1!==F.current};U.current&&!u(k.current,e)&&(k.current=e,i.flushSync(()=>{w(e)}))})},[b,e,n,q,F]);l(()=>{!1===v&&k.current.isPositioned&&(k.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[v]);let U=o.useRef(!1);l(()=>(U.current=!0,()=>{U.current=!1}),[]),l(()=>{if(C&&(D.current=C),N&&(P.current=N),C&&N){if(M.current)return M.current(C,N,I);I()}},[C,N,I,M,O]);let H=o.useMemo(()=>({reference:D,floating:P,setReference:L,setFloating:A}),[L,A]),z=o.useMemo(()=>({reference:C,floating:N}),[C,N]),W=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!z.floating)return t;let e=c(z.floating,y.x),r=c(z.floating,y.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...a(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,z.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:I,refs:H,elements:z,floatingStyles:W}),[y,I,H,z,W])}let d=(t,e)=>({...(0,r.cY)(t),options:[t,e]}),p=(t,e)=>({...(0,r.BN)(t),options:[t,e]}),h=(t,e)=>({...(0,r.UU)(t),options:[t,e]}),m=(t,e)=>({...(0,r.jD)(t),options:[t,e]}),g=(t,e)=>({...(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.UE)({element:n.current,padding:o}).fn(e):{}:n?(0,r.UE)({element:n,padding:o}).fn(e):{}}}))(t),options:[t,e]})}}]);