(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[2],{347:function(e,t,n){"use strict";e.exports=n(571)},571:function(e,t,n){"use strict";
/** @license React v17.0.2
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=60103,o=60106,i=60107,a=60108,s=60114,f=60109,c=60110,u=60112,p=60113,l=60120,d=60115,m=60116,h=60121,v=60122,y=60117,g=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;r=w("react.element"),o=w("react.portal"),i=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),f=w("react.provider"),c=w("react.context"),u=w("react.forward_ref"),p=w("react.suspense"),l=w("react.suspense_list"),d=w("react.memo"),m=w("react.lazy"),h=w("react.block"),v=w("react.server.block"),y=w("react.fundamental"),g=w("react.debug_trace_mode"),b=w("react.legacy_hidden")}function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case p:case l:return e;default:switch(e=e&&e.$$typeof){case c:case u:case m:case d:case f:return e;default:return t}}case o:return t}}}var O=f,j=r,E=u,D=i,A=m,L=d,P=o,M=s,k=a,S=p;t.ContextConsumer=c,t.ContextProvider=O,t.Element=j,t.ForwardRef=E,t.Fragment=D,t.Lazy=A,t.Memo=L,t.Portal=P,t.Profiler=M,t.StrictMode=k,t.Suspense=S,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===f},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===u},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===d},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===g||e===a||e===p||e===l||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===f||e.$$typeof===c||e.$$typeof===u||e.$$typeof===y||e.$$typeof===h||e[0]===v)},t.typeOf=x},887:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){var t;return e instanceof r(e).Element||e instanceof Element}function i(e){var t;return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot);var t}n.d(t,"a",(function(){return ct}));var s=Math.max,f=Math.min,c=Math.round;function u(){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 p(){return!/^((?!chrome|android).)*safari/i.test(u())}function l(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,f=1;t&&i(e)&&(s=e.offsetWidth>0&&c(a.width)/e.offsetWidth||1,f=e.offsetHeight>0&&c(a.height)/e.offsetHeight||1);var u,l=(o(e)?r(e):window).visualViewport,d=!p()&&n,m=(a.left+(d&&l?l.offsetLeft:0))/s,h=(a.top+(d&&l?l.offsetTop:0))/f,v=a.width/s,y=a.height/f;return{width:v,height:y,top:h,right:m+v,bottom:h+y,left:m,x:m,y:h}}function d(e){var t=r(e),n,o;return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function m(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function h(e){return e!==r(e)&&i(e)?m(e):d(e)}function v(e){return e?(e.nodeName||"").toLowerCase():null}function y(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return l(y(e)).left+d(e).scrollLeft}function b(e){return r(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=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,r=c(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function O(e,t,n){void 0===n&&(n=!1);var r=i(t),o=i(t)&&x(t),a=y(t),s=l(e,o,n),f={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&(("body"!==v(t)||w(a))&&(f=h(t)),i(t)?((c=l(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=g(a))),{x:s.left+f.scrollLeft-c.x,y:s.top+f.scrollTop-c.y,width:s.width,height:s.height}}function j(e){var t=l(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function E(e){return"html"===v(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||y(e)}function D(e){return["html","body","#document"].indexOf(v(e))>=0?e.ownerDocument.body:i(e)&&w(e)?e:D(E(e))}function A(e,t){var n;void 0===t&&(t=[]);var o=D(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=r(o),s=i?[a].concat(a.visualViewport||[],w(o)?o:[]):o,f=t.concat(s);return i?f:f.concat(A(E(s)))}function L(e){return["table","td","th"].indexOf(v(e))>=0}function P(e){return i(e)&&"fixed"!==b(e).position?e.offsetParent:null}function M(e){var t=/firefox/i.test(u()),n,r;if(/Trident/i.test(u())&&i(e)&&"fixed"===b(e).position)return null;var o=E(e);for(a(o)&&(o=o.host);i(o)&&["html","body"].indexOf(v(o))<0;){var s=b(o);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return o;o=o.parentNode}return null}function k(e){for(var t=r(e),n=P(e);n&&L(n)&&"static"===b(n).position;)n=P(n);return n&&("html"===v(n)||"body"===v(n)&&"static"===b(n).position)?t:n||M(e)||t}var S="top",_="bottom",W="right",$="left",B="auto",C=[S,_,W,$],H="start",R="end",T="clippingParents",V="viewport",q="popper",N="reference",F=C.reduce((function(e,t){return e.concat([t+"-"+H,t+"-"+R])}),[]),z=[].concat(C,[B]).reduce((function(e,t){return e.concat([t,t+"-"+H,t+"-"+R])}),[]),U,I,K,X,Y,G,J,Q,Z,ee=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function te(e){var t=new Map,n=new Set,r=[];function o(e){var i;n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function ne(e){var t=te(e);return ee.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function re(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function oe(e){var t=e.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}),{});return Object.keys(t).map((function(e){return t[e]}))}var ie={placement:"bottom",modifiers:[],strategy:"absolute"};function ae(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function se(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?ie:i;return function e(t,n,i){void 0===i&&(i=a);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ie,a),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],c=!1,u={state:s,setOptions:function e(i){var f="function"==typeof i?i(s.options):i;l(),s.options=Object.assign({},a,s.options,f),s.scrollParents={reference:o(t)?A(t):t.contextElement?A(t.contextElement):[],popper:A(n)};var c=ne(oe([].concat(r,s.options.modifiers)));return s.orderedModifiers=c.filter((function(e){return e.enabled})),p(),u.update()},forceUpdate:function e(){if(!c){var t=s.elements,n=t.reference,r=t.popper;if(ae(n,r)){s.rects={reference:O(n,k(r),"fixed"===s.options.strategy),popper:j(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,f=i.options,p=void 0===f?{}:f,l=i.name;"function"==typeof a&&(s=a({state:s,options:p,name:l,instance:u})||s)}else s.reset=!1,o=-1}}},update:re((function(){return new Promise((function(e){u.forceUpdate(),e(s)}))})),destroy:function e(){l(),c=!0}};if(!ae(t,n))return u;function p(){s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function e(){};f.push(i||a)}}))}function l(){f.forEach((function(e){return e()})),f=[]}return u.setOptions(i).then((function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)})),u}}var fe=se(),ce={passive:!0},ue;function pe(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,f=void 0===s||s,c=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,ce)})),f&&c.addEventListener("resize",n.update,ce),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ce)})),f&&c.removeEventListener("resize",n.update,ce)}}function le(e){return e.split("-")[0]}function de(e){return e.split("-")[1]}function me(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function he(e){var t=e.reference,n=e.element,r=e.placement,o=r?le(r):null,i=r?de(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,f;switch(o){case S:f={x:a,y:t.y-n.height};break;case _:f={x:a,y:t.y+t.height};break;case W:f={x:t.x+t.width,y:s};break;case $:f={x:t.x-n.width,y:s};break;default:f={x:t.x,y:t.y}}var c=o?me(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case H:f[c]=f[c]-(t[u]/2-n[u]/2);break;case R:f[c]=f[c]+(t[u]/2-n[u]/2)}}return f}function ve(e){var t=e.state,n=e.name;t.modifiersData[n]=he({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ye,ge={top:"auto",right:"auto",bottom:"auto",left:"auto"},be,we;function xe(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:c(n*o)/o||0,y:c(r*o)/o||0}}function Oe(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,f=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,l=e.isFixed,d=s.x,m=void 0===d?0:d,h=s.y,v=void 0===h?0:h,g="function"==typeof p?p({x:m,y:v}):{x:m,y:v};m=g.x,v=g.y;var w=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),O=$,j=S,E=window;if(u){var D=k(n),A="clientHeight",L="clientWidth",P,M;if(D===r(n)&&"static"!==b(D=y(n)).position&&"absolute"===f&&(A="scrollHeight",L="scrollWidth"),D=D,i===S||(i===$||i===W)&&a===R)j=_,v-=(l&&D===E&&E.visualViewport?E.visualViewport.height:D[A])-o.height,v*=c?1:-1;if(i===$||(i===S||i===_)&&a===R)O=W,m-=(l&&D===E&&E.visualViewport?E.visualViewport.width:D[L])-o.width,m*=c?1:-1}var B=Object.assign({position:f},u&&ge),C=!0===p?xe({x:m,y:v},r(n)):{x:m,y:v},H;return m=C.x,v=C.y,c?Object.assign({},B,((H={})[j]=x?"0":"",H[O]=w?"0":"",H.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",H)):Object.assign({},B,((t={})[j]=x?v+"px":"",t[O]=w?m+"px":"",t.transform="",t))}function je(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:le(t.placement),variation:de(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Oe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Oe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}function Ee(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];i(o)&&v(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)})))}))}function De(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]||{},a,s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&v(r)&&(Object.assign(r.style,s),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}}function Ae(e,t,n){var r=le(e),o=[$,S].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[$,W].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Le(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=z.reduce((function(e,n){return e[n]=Ae(n,t.rects,i),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}var Pe,Me={left:"right",right:"left",bottom:"top",top:"bottom"};function ke(e){return e.replace(/left|right|bottom|top/g,(function(e){return Me[e]}))}var Se={start:"end",end:"start"},_e;function We(e){return e.replace(/start|end/g,(function(e){return Se[e]}))}function $e(e,t){var n=r(e),o=y(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,f=0,c=0;if(i){a=i.width,s=i.height;var u=p();(u||!u&&"fixed"===t)&&(f=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:f+g(e),y:c}}function Be(e){var t,n=y(e),r=d(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-r.scrollLeft+g(e),c=-r.scrollTop;return"rtl"===b(o||n).direction&&(f+=s(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:f,y:c}}function Ce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function He(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Re(e,t){var n=l(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Te(e,t,n){return t===V?He($e(e,n)):o(t)?Re(t,n):He(Be(y(e)))}function Ve(e){var t=A(E(e)),n,r=["absolute","fixed"].indexOf(b(e).position)>=0&&i(e)?k(e):e;return o(r)?t.filter((function(e){return o(e)&&Ce(e,r)&&"body"!==v(e)})):[]}function qe(e,t,n,r){var o="clippingParents"===t?Ve(e):[].concat(t),i=[].concat(o,[n]),a=i[0],c=i.reduce((function(t,n){var o=Te(e,n,r);return t.top=s(o.top,t.top),t.right=f(o.right,t.right),t.bottom=f(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),Te(e,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Ne(){return{top:0,right:0,bottom:0,left:0}}function Fe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ze(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ue(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,f=n.boundary,c=void 0===f?"clippingParents":f,u=n.rootBoundary,p=void 0===u?V:u,d=n.elementContext,m=void 0===d?"popper":d,h=n.altBoundary,v=void 0!==h&&h,g=n.padding,b=void 0===g?0:g,w=Fe("number"!=typeof b?b:ze(b,C)),x="popper"===m?"reference":"popper",O=e.rects.popper,j=e.elements[v?x:m],E=qe(o(j)?j:j.contextElement||y(e.elements.popper),c,p,s),D=l(e.elements.reference),A=he({reference:D,element:O,strategy:"absolute",placement:i}),L=He(Object.assign({},O,A)),P="popper"===m?L:D,M={top:E.top-P.top+w.top,bottom:P.bottom-E.bottom+w.bottom,left:E.left-P.left+w.left,right:P.right-E.right+w.right},k=e.modifiersData.offset;if("popper"===m&&k){var $=k[i];Object.keys(M).forEach((function(e){var t=[W,_].indexOf(e)>=0?1:-1,n=[S,_].indexOf(e)>=0?"y":"x";M[e]+=$[n]*t}))}return M}function Ie(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?z:f,u=de(r),p=u?s?F:F.filter((function(e){return de(e)===u})):C,l=p.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=p);var d=l.reduce((function(t,n){return t[n]=Ue(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[le(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}function Ke(e){if(le(e)===B)return[];var t=ke(e);return[We(e),t,We(t)]}function Xe(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,v=t.options.placement,y=le(v),g,b=f||(y===v||!m?[ke(v)]:Ke(v)),w=[v].concat(b).reduce((function(e,n){return e.concat(le(n)===B?Ie(t,{placement:n,boundary:u,rootBoundary:p,padding:c,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,O=t.rects.popper,j=new Map,E=!0,D=w[0],A=0;A<w.length;A++){var L=w[A],P=le(L),M=de(L)===H,k=[S,_].indexOf(P)>=0,C=k?"width":"height",R=Ue(t,{placement:L,boundary:u,rootBoundary:p,altBoundary:l,padding:c}),T=k?M?W:$:M?_:S;x[C]>O[C]&&(T=ke(T));var V=ke(T),q=[];if(i&&q.push(R[P]<=0),s&&q.push(R[T]<=0,R[V]<=0),q.every((function(e){return e}))){D=L,E=!1;break}j.set(L,q)}if(E)for(var N,F=function e(t){var n=w.find((function(e){var n=j.get(e);if(n)return n.slice(0,t).every((function(e){return e}))}));if(n)return D=n,"break"},z=m?3:1;z>0;z--){var U;if("break"===F(z))break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}function Ye(e){return"x"===e?"y":"x"}function Ge(e,t,n){return s(e,f(t,n))}function Je(e,t,n){var r=Ge(e,t,n);return r>n?n:r}function Qe(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,u=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.padding,m=n.tether,h=void 0===m||m,v=n.tetherOffset,y=void 0===v?0:v,g=Ue(t,{boundary:u,rootBoundary:p,padding:d,altBoundary:l}),b=le(t.placement),w=de(t.placement),x=!w,O=me(b),E=Ye(O),D=t.modifiersData.popperOffsets,A=t.rects.reference,L=t.rects.popper,P="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,M="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(D){if(i){var R,T="y"===O?S:$,V="y"===O?_:W,q="y"===O?"height":"width",N=D[O],F=N+g[T],z=N-g[V],U=h?-L[q]/2:0,I=w===H?A[q]:L[q],K=w===H?-L[q]:-A[q],X=t.elements.arrow,Y=h&&X?j(X):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=G[T],Q=G[V],Z=Ge(0,A[q],Y[q]),ee=x?A[q]/2-U-Z-J-M.mainAxis:I-Z-J-M.mainAxis,te=x?-A[q]/2+U+Z+Q+M.mainAxis:K+Z+Q+M.mainAxis,ne=t.elements.arrow&&k(t.elements.arrow),re=ne?"y"===O?ne.clientTop||0:ne.clientLeft||0:0,oe=null!=(R=null==B?void 0:B[O])?R:0,ie,ae=N+te-oe,se=Ge(h?f(F,N+ee-oe-re):F,N,h?s(z,ae):z);D[O]=se,C[O]=se-N}if(c){var fe,ce="x"===O?S:$,ue="x"===O?_:W,pe=D[E],he="y"===E?"height":"width",ve=pe+g[ce],ye=pe-g[ue],ge=-1!==[S,$].indexOf(b),be=null!=(fe=null==B?void 0:B[E])?fe:0,we=ge?ve:pe-A[he]-L[he]-be+M.altAxis,xe=ge?pe+A[he]+L[he]-be-M.altAxis:ye,Oe=h&&ge?Je(we,pe,xe):Ge(h?we:ve,pe,h?xe:ye);D[E]=Oe,C[E]=Oe-pe}t.modifiersData[r]=C}}var Ze,et=function e(t,n){return Fe("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:ze(t,C))},tt;function nt(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=le(n.placement),f=me(s),c,u=[$,W].indexOf(s)>=0?"height":"width";if(i&&a){var p=et(o.padding,n),l=j(i),d="y"===f?S:$,m="y"===f?_:W,h=n.rects.reference[u]+n.rects.reference[f]-a[f]-n.rects.popper[u],v=a[f]-n.rects.reference[f],y=k(i),g=y?"y"===f?y.clientHeight||0:y.clientWidth||0:0,b=h/2-v/2,w=p[d],x=g-l[u]-p[m],O=g/2-l[u]/2+b,E=Ge(w,O,x),D=f;n.modifiersData[r]=((t={})[D]=E,t.centerOffset=E-O,t)}}function rt(e){var t=e.state,n,r=e.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&Ce(t.elements.popper,o)&&(t.elements.arrow=o)}function ot(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 it(e){return[S,W,_,$].some((function(t){return e[t]>=0}))}function at(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ue(t,{elementContext:"reference"}),s=Ue(t,{altBoundary:!0}),f=ot(a,r),c=ot(s,o,i),u=it(f),p=it(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})}var st,ft,ct=se({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function e(){},effect:pe,data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:ve,data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:je,data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:Ee,effect:De,requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Le},{name:"flip",enabled:!0,phase:"main",fn:Xe,requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:Qe,requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:nt,effect:rt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:at}]})}}]);