!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6068c4c5-476a-4549-98b3-84de59708dba",e._sentryDebugIdIdentifier="sentry-dbid-6068c4c5-476a-4549-98b3-84de59708dba")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5237],{69590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,i){try{return function e(i,a){if(i===a)return!0;if(i&&a&&"object"==typeof i&&"object"==typeof a){var s,f,c,u;if(i.constructor!==a.constructor)return!1;if(Array.isArray(i)){if((s=i.length)!=a.length)return!1;for(f=s;0!=f--;)if(!e(i[f],a[f]))return!1;return!0}if(n&&i instanceof Map&&a instanceof Map){if(i.size!==a.size)return!1;for(u=i.entries();!(f=u.next()).done;)if(!a.has(f.value[0]))return!1;for(u=i.entries();!(f=u.next()).done;)if(!e(f.value[1],a.get(f.value[0])))return!1;return!0}if(r&&i instanceof Set&&a instanceof Set){if(i.size!==a.size)return!1;for(u=i.entries();!(f=u.next()).done;)if(!a.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(a)){if((s=i.length)!=a.length)return!1;for(f=s;0!=f--;)if(i[f]!==a[f])return!1;return!0}if(i.constructor===RegExp)return i.source===a.source&&i.flags===a.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===a.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===a.toString();if((s=(c=Object.keys(i)).length)!==Object.keys(a).length)return!1;for(f=s;0!=f--;)if(!Object.prototype.hasOwnProperty.call(a,c[f]))return!1;if(t&&i instanceof Element)return!1;for(f=s;0!=f--;)if(("_owner"!==c[f]&&"__v"!==c[f]&&"__o"!==c[f]||!i.$$typeof)&&!e(i[c[f]],a[c[f]]))return!1;return!0}return i!=i&&a!=a}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},95237:(e,t,n)=>{"use strict";n.d(t,{D:()=>el});var r=n(67294),o=n(73935);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){var t=i(e).Element;return e instanceof t||e instanceof Element}function s(e){var t=i(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function f(e){if("undefined"==typeof ShadowRoot)return!1;var t=i(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var c=Math.max,u=Math.min,p=Math.round;function l(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function d(){return!/^((?!chrome|android).)*safari/i.test(l())}function m(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,f=1;t&&s(e)&&(o=e.offsetWidth>0&&p(r.width)/e.offsetWidth||1,f=e.offsetHeight>0&&p(r.height)/e.offsetHeight||1);var c=(a(e)?i(e):window).visualViewport,u=!d()&&n,l=(r.left+(u&&c?c.offsetLeft:0))/o,m=(r.top+(u&&c?c.offsetTop:0))/f,h=r.width/o,y=r.height/f;return{width:h,height:y,top:m,right:l+h,bottom:m+y,left:l,x:l,y:m}}function h(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function y(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return m(v(e)).left+h(e).scrollLeft}function b(e){return i(e).getComputedStyle(e)}function w(e){var t=b(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function x(e){var t=m(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function O(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(f(e)?e.host:null)||v(e)}function j(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(y(t))>=0?t.ownerDocument.body:s(t)&&w(t)?t:e(O(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=i(r),f=o?[a].concat(a.visualViewport||[],w(r)?r:[]):r,c=t.concat(f);return o?c:c.concat(j(O(f)))}function E(e){return s(e)&&"fixed"!==b(e).position?e.offsetParent:null}function D(e){for(var t=i(e),n=E(e);n&&["table","td","th"].indexOf(y(n))>=0&&"static"===b(n).position;)n=E(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===b(n).position)?t:n||function(e){var t=/firefox/i.test(l());if(/Trident/i.test(l())&&s(e)&&"fixed"===b(e).position)return null;var n=O(e);for(f(n)&&(n=n.host);s(n)&&0>["html","body"].indexOf(y(n));){var r=b(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="bottom",k="right",M="left",S="auto",L=["top",A,k,M],P="start",B="viewport",W="popper",R=L.reduce(function(e,t){return e.concat([t+"-"+P,t+"-end"])},[]),H=[].concat(L,[S]).reduce(function(e,t){return e.concat([t,t+"-"+P,t+"-end"])},[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],T={placement:"bottom",modifiers:[],strategy:"absolute"};function V(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var C={passive:!0};function q(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function I(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function F(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?q(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:f};break;case M:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?I(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case P:t[c]=t[c]-(n[u]/2-r[u]/2);break;case"end":t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var N={top:"auto",right:"auto",bottom:"auto",left:"auto"};function z(e){var t,n,r,o,a,s,f,c=e.popper,u=e.popperRect,l=e.placement,d=e.variation,m=e.offsets,h=e.position,y=e.gpuAcceleration,g=e.adaptive,w=e.roundOffsets,x=e.isFixed,O=m.x,j=void 0===O?0:O,E=m.y,S=void 0===E?0:E,L="function"==typeof w?w({x:j,y:S}):{x:j,y:S};j=L.x,S=L.y;var P=m.hasOwnProperty("x"),B=m.hasOwnProperty("y"),W=M,R="top",H=window;if(g){var _=D(c),T="clientHeight",V="clientWidth";_===i(c)&&"static"!==b(_=v(c)).position&&"absolute"===h&&(T="scrollHeight",V="scrollWidth"),("top"===l||(l===M||l===k)&&"end"===d)&&(R=A,S-=(x&&_===H&&H.visualViewport?H.visualViewport.height:_[T])-u.height,S*=y?1:-1),(l===M||("top"===l||l===A)&&"end"===d)&&(W=k,j-=(x&&_===H&&H.visualViewport?H.visualViewport.width:_[V])-u.width,j*=y?1:-1)}var C=Object.assign({position:h},g&&N),q=!0===w?(t={x:j,y:S},n=i(c),r=t.x,o=t.y,{x:p(r*(a=n.devicePixelRatio||1))/a||0,y:p(o*a)/a||0}):{x:j,y:S};return(j=q.x,S=q.y,y)?Object.assign({},C,((f={})[R]=B?"0":"",f[W]=P?"0":"",f.transform=1>=(H.devicePixelRatio||1)?"translate("+j+"px, "+S+"px)":"translate3d("+j+"px, "+S+"px, 0)",f)):Object.assign({},C,((s={})[R]=B?S+"px":"",s[W]=P?j+"px":"",s.transform="",s))}var X={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e){return e.replace(/left|right|bottom|top/g,function(e){return X[e]})}var $={start:"end",end:"start"};function G(e){return e.replace(/start|end/g,function(e){return $[e]})}function J(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&f(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function K(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Q(e,t,n){var r,o,s,f,u,p,l,y,w,x;return t===B?K(function(e,t){var n=i(e),r=v(e),o=n.visualViewport,a=r.clientWidth,s=r.clientHeight,f=0,c=0;if(o){a=o.width,s=o.height;var u=d();(u||!u&&"fixed"===t)&&(f=o.offsetLeft,c=o.offsetTop)}return{width:a,height:s,x:f+g(e),y:c}}(e,n)):a(t)?((r=m(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):K((o=v(e),f=v(o),u=h(o),p=null==(s=o.ownerDocument)?void 0:s.body,l=c(f.scrollWidth,f.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),y=c(f.scrollHeight,f.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),w=-u.scrollLeft+g(o),x=-u.scrollTop,"rtl"===b(p||f).direction&&(w+=c(f.clientWidth,p?p.clientWidth:0)-l),{width:l,height:y,x:w,y:x}))}function Z(){return{top:0,right:0,bottom:0,left:0}}function ee(e){return Object.assign({},Z(),e)}function et(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function en(e,t){void 0===t&&(t={});var n,r,o,i,f,p,l,d,h=t,g=h.placement,w=void 0===g?e.placement:g,x=h.strategy,E=void 0===x?e.strategy:x,M=h.boundary,S=h.rootBoundary,P=h.elementContext,R=void 0===P?W:P,H=h.altBoundary,_=h.padding,T=void 0===_?0:_,V=ee("number"!=typeof T?T:et(T,L)),C=e.rects.popper,q=e.elements[void 0!==H&&H?R===W?"reference":W:R],U=(n=a(q)?q:q.contextElement||v(e.elements.popper),r=void 0===M?"clippingParents":M,o=void 0===S?B:S,l=(p=[].concat("clippingParents"===r?(i=j(O(n)),a(f=["absolute","fixed"].indexOf(b(n).position)>=0&&s(n)?D(n):n)?i.filter(function(e){return a(e)&&J(e,f)&&"body"!==y(e)}):[]):[].concat(r),[o]))[0],(d=p.reduce(function(e,t){var r=Q(n,t,E);return e.top=c(r.top,e.top),e.right=u(r.right,e.right),e.bottom=u(r.bottom,e.bottom),e.left=c(r.left,e.left),e},Q(n,l,E))).width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d),I=m(e.elements.reference),N=F({reference:I,element:C,strategy:"absolute",placement:w}),z=K(Object.assign({},C,N)),X=R===W?z:I,Y={top:U.top-X.top+V.top,bottom:X.bottom-U.bottom+V.bottom,left:U.left-X.left+V.left,right:X.right-U.right+V.right},$=e.modifiersData.offset;if(R===W&&$){var G=$[w];Object.keys(Y).forEach(function(e){var t=[k,A].indexOf(e)>=0?1:-1,n=["top",A].indexOf(e)>=0?"y":"x";Y[e]+=G[n]*t})}return Y}function er(e,t,n){return c(e,u(t,n))}function eo(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ei(e){return["top",k,A,M].some(function(t){return e[t]>=0})}var ea=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,f=void 0===o?T:o;return function(e,t,n){void 0===n&&(n=f);var o,c,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},T,f),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],d=!1,b={state:u,setOptions:function(n){var o,i,s,c,p,d="function"==typeof n?n(u.options):n;O(),u.options=Object.assign({},f,u.options,d),u.scrollParents={reference:a(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var m=(i=Object.keys(o=[].concat(r,u.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return o[e]}),s=new Map,c=new Set,p=[],i.forEach(function(e){s.set(e.name,e)}),i.forEach(function(e){c.has(e.name)||function e(t){c.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!c.has(t)){var n=s.get(t);n&&e(n)}}),p.push(t)}(e)}),_.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return u.orderedModifiers=m.filter(function(e){return e.enabled}),u.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:u,name:t,instance:b,options:void 0===n?{}:n});l.push(o||function(){})}}),b.update()},forceUpdate:function(){if(!d){var e,t,n,r,o,a,f,c,l,O,j,E,A=u.elements,k=A.reference,M=A.popper;if(V(k,M)){;u.rects={reference:(t=D(M),n="fixed"===u.options.strategy,r=s(t),c=s(t)&&(a=p((o=t.getBoundingClientRect()).width)/t.offsetWidth||1,f=p(o.height)/t.offsetHeight||1,1!==a||1!==f),l=v(t),O=m(k,c,n),j={scrollLeft:0,scrollTop:0},E={x:0,y:0},(r||!r&&!n)&&(("body"!==y(t)||w(l))&&(j=(e=t)!==i(e)&&s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:h(e)),s(t)?(E=m(t,!0),E.x+=t.clientLeft,E.y+=t.clientTop):l&&(E.x=g(l))),{x:O.left+j.scrollLeft-E.x,y:O.top+j.scrollTop-E.y,width:O.width,height:O.height}),popper:x(M)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(e){return u.modifiersData[e.name]=Object.assign({},e.data)});for(var S=0;S<u.orderedModifiers.length;S++){if(!0===u.reset){u.reset=!1,S=-1;continue}var L=u.orderedModifiers[S],P=L.fn,B=L.options,W=void 0===B?{}:B,R=L.name;"function"==typeof P&&(u=P({state:u,options:W,name:R,instance:b})||u)}}}},update:(o=function(){return new Promise(function(e){b.forceUpdate(),e(u)})},function(){return c||(c=new Promise(function(e){Promise.resolve().then(function(){c=void 0,e(o())})})),c}),destroy:function(){O(),d=!0}};if(!V(e,t))return b;function O(){l.forEach(function(e){return e()}),l=[]}return b.setOptions(n).then(function(e){!d&&n.onFirstUpdate&&n.onFirstUpdate(e)}),b}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,s=r.resize,f=void 0===s||s,c=i(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",n.update,C)}),f&&c.addEventListener("resize",n.update,C),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",n.update,C)}),f&&c.removeEventListener("resize",n.update,C)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=F({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:q(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,z(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,z(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];s(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});s(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=H.reduce(function(e,n){var r,o,a,s,f,c;return e[n]=(r=t.rects,a=[M,"top"].indexOf(o=q(n))>=0?-1:1,f=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],c=s[1],f=f||0,c=(c||0)*a,[M,k].indexOf(o)>=0?{x:c,y:f}:{x:f,y:c}),e},{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,m=void 0===d||d,h=n.allowedAutoPlacements,y=t.options.placement,v=q(y)===y,g=f||(v||!m?[Y(y)]:function(e){if(q(e)===S)return[];var t=Y(e);return[G(e),t,G(t)]}(y)),b=[y].concat(g).reduce(function(e,n){var r,o,i,a,s,f,l,d,y,v,g,b;return e.concat(q(n)===S?(o=(r={placement:n,boundary:u,rootBoundary:p,padding:c,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,f=r.flipVariations,d=void 0===(l=r.allowedAutoPlacements)?H:l,0===(g=(v=(y=U(o))?f?R:R.filter(function(e){return U(e)===y}):L).filter(function(e){return d.indexOf(e)>=0})).length&&(g=v),Object.keys(b=g.reduce(function(e,n){return e[n]=en(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[q(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),w=t.rects.reference,x=t.rects.popper,O=new Map,j=!0,E=b[0],D=0;D<b.length;D++){var B=b[D],W=q(B),_=U(B)===P,T=["top",A].indexOf(W)>=0,V=T?"width":"height",C=en(t,{placement:B,boundary:u,rootBoundary:p,altBoundary:l,padding:c}),I=T?_?k:M:_?A:"top";w[V]>x[V]&&(I=Y(I));var F=Y(I),N=[];if(i&&N.push(C[W]<=0),s&&N.push(C[I]<=0,C[F]<=0),N.every(function(e){return e})){E=B,j=!1;break}O.set(B,N)}if(j)for(var z=m?3:1,X=function(e){var t=b.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},$=z;$>0&&"break"!==X($);$--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,f=n.altBoundary,p=n.padding,l=n.tether,d=void 0===l||l,m=n.tetherOffset,h=void 0===m?0:m,y=en(t,{boundary:a,rootBoundary:s,padding:p,altBoundary:f}),v=q(t.placement),g=U(t.placement),b=!g,w=I(v),O="x"===w?"y":"x",j=t.modifiersData.popperOffsets,E=t.rects.reference,S=t.rects.popper,L="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,B="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(j){if(void 0===o||o){var H,_="y"===w?"top":M,T="y"===w?A:k,V="y"===w?"height":"width",C=j[w],F=C+y[_],N=C-y[T],z=d?-S[V]/2:0,X=g===P?E[V]:S[V],Y=g===P?-S[V]:-E[V],$=t.elements.arrow,G=d&&$?x($):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z(),K=J[_],Q=J[T],ee=er(0,E[V],G[V]),et=b?E[V]/2-z-ee-K-B.mainAxis:X-ee-K-B.mainAxis,eo=b?-E[V]/2+z+ee+Q+B.mainAxis:Y+ee+Q+B.mainAxis,ei=t.elements.arrow&&D(t.elements.arrow),ea=ei?"y"===w?ei.clientTop||0:ei.clientLeft||0:0,es=null!=(H=null==W?void 0:W[w])?H:0,ef=er(d?u(F,C+et-es-ea):F,C,d?c(N,C+eo-es):N);j[w]=ef,R[w]=ef-C}if(void 0!==i&&i){var ec,eu,ep="x"===w?"top":M,el="x"===w?A:k,ed=j[O],em="y"===O?"height":"width",eh=ed+y[ep],ey=ed-y[el],ev=-1!==["top",M].indexOf(v),eg=null!=(eu=null==W?void 0:W[O])?eu:0,eb=ev?eh:ed-E[em]-S[em]-eg+B.altAxis,ew=ev?ed+E[em]+S[em]-eg-B.altAxis:ey,ex=d&&ev?(ec=er(eb,ed,ew))>ew?ew:ec:er(d?eb:eh,ed,d?ew:ey);j[O]=ex,R[O]=ex-ed}t.modifiersData[r]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,f=q(r.placement),c=I(f),u=[M,k].indexOf(f)>=0?"height":"width";if(a&&s){var p=ee("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:et(t,L)),l=x(a),d="y"===c?"top":M,m="y"===c?A:k,h=r.rects.reference[u]+r.rects.reference[c]-s[c]-r.rects.popper[u],y=s[c]-r.rects.reference[c],v=D(a),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,b=p[d],w=g-l[u]-p[m],O=g/2-l[u]/2+(h/2-y/2),j=er(b,O,w);r.modifiersData[o]=((n={})[c]=j,n.centerOffset=j-O,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&J(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=en(t,{elementContext:"reference"}),s=en(t,{altBoundary:!0}),f=eo(a,r),c=eo(s,o,i),u=ei(f),p=ei(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}}]}),es=n(69590),ef=n.n(es),ec=function(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e},{})},eu="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,ep=[],el=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ep},s=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),f=s[0],c=s[1],u=r.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);o.flushSync(function(){c({styles:ec(n.map(function(e){return[e,t.styles[e]||{}]})),attributes:ec(n.map(function(e){return[e,t.attributes[e]]}))})})},requires:["computeStyles"]}},[]),p=r.useMemo(function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return ef()(i.current,e)?i.current||e:(i.current=e,e)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),l=r.useRef();return eu(function(){l.current&&l.current.setOptions(p)},[p]),eu(function(){if(null!=e&&null!=t){var r=(n.createPopper||ea)(e,t,p);return l.current=r,function(){r.destroy(),l.current=null}}},[e,t,n.createPopper]),{state:l.current?l.current.state:null,styles:f.styles,attributes:f.attributes,update:l.current?l.current.update:null,forceUpdate:l.current?l.current.forceUpdate:null}}}}]);