text: /**
   * @popperjs/core v2.11.2 - MIT License
   */
  
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).Popper={})}(this,(function(t){"use strict";function e(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function n(t){return t instanceof e(t).Element||t instanceof Element}function o(t){return t instanceof e(t).HTMLElement||t instanceof HTMLElement}function r(t){return"undefined"!=typeof ShadowRoot&&(t instanceof e(t).ShadowRoot||t instanceof ShadowRoot)}var i=Math.max,f=Math.min,a=Math.round;function c(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),r=1,i=1;if(o(t)&&e){var f=t.offsetHeight,c=t.offsetWidth;c>0&&(r=a(n.width)/c||1),f>0&&(i=a(n.height)/f||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function u(t){var n=e(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function s(t){return t?(t.nodeName||"").toLowerCase():null}function l(t){return((n(t)?t.ownerDocument:t.document)||window.document).documentElement}function d(t){return c(l(t)).left+u(t).scrollLeft}function h(t){return e(t).getComputedStyle(t)}function p(t){var e=h(t),n=e.overflow,o=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function m(t,n,r){void 0===r&&(r=!1);var i,f,h=o(n),m=o(n)&&function(t){var e=t.getBoundingClientRect(),n=a(e.width)/t.offsetWidth||1,o=a(e.height)/t.offsetHeight||1;return 1!==n||1!==o}(n),g=l(n),v=c(t,m),b={scrollLeft:0,scrollTop:0},w={x:0,y:0};return(h||!h&&!r)&&(("body"!==s(n)||p(g))&&(b=(i=n)!==e(i)&&o(i)?{scrollLeft:(f=i).scrollLeft,scrollTop:f.scrollTop}:u(i)),o(n)?((w=c(n,!0)).x+=n.clientLeft,w.y+=n.clientTop):g&&(w.x=d(g))),{x:v.left+b.scrollLeft-w.x,y:v.top+b.scrollTop-w.y,width:v.width,height:v.height}}function g(t){return"html"===s(t)?t:t.assignedSlot||t.parentNode||(r(t)?t.host:null)||l(t)}function v(t){return["html","body","#document"].indexOf(s(t))>=0?t.ownerDocument.body:o(t)&&p(t)?t:v(g(t))}function b(t,n){var o;void 0===n&&(n=[]);var r=v(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),f=e(r),a=i?[f].concat(f.visualViewport||[],p(r)?r:[]):r,c=n.concat(a);return i?c:c.concat(b(g(a)))}function w(t){return["table","td","th"].indexOf(s(t))>=0}function y(t){return o(t)&&"fixed"!==h(t).position?t.offsetParent:null}function x(t){for(var n=e(t),r=y(t);r&&w(r)&&"static"===h(r).position;)r=y(r);return r&&("html"===s(r)||"body"===s(r)&&"static"===h(r).position)?n:r||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(t)&&"fixed"===h(t).position)return null;for(var n=g(t);o(n)&&["html","body"].indexOf(s(n))<0;){var r=h(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||n}var O="top",M="bottom",E="right",L="left",T=[O,M,E,L],W="viewport",j="popper",H=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function P(t){var e=new Map,n=new Set,o=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var o=e.get(t);o&&r(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),o}function R(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function C(t,o){return o===W?R(function(t){var n=e(t),o=l(t),r=n.visualViewport,i=o.clientWidth,f=o.clientHeight,a=0,c=0;return r&&(i=r.width,f=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,c=r.offsetTop)),{width:i,height:f,x:a+d(t),y:c}}(t)):n(o)?function(t){var e=c(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(o):R(function(t){var e,n=l(t),o=u(t),r=null==(e=t.ownerDocument)?void 0:e.body,f=i(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=i(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),c=-o.scrollLeft+d(t),s=-o.scrollTop;return"rtl"===h(r||n).direction&&(c+=i(n.clientWidth,r?r.clientWidth:0)-f),{width:f,height:a,x:c,y:s}}(l(t)))}function D(t){var e=b(g(t)),i=["absolute","fixed"].indexOf(h(t).position)>=0&&o(t)?x(t):t;return n(i)?e.filter((function(t){return n(t)&&function(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&r(n)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}(t,i)&&"body"!==s(t)})):[]}var S={placement:"bottom",modifiers:[],strategy:"absolute"};function k(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function N(t){void 0===t&&(t={});var e=t,o=e.defaultModifiers,r=void 0===o?[]:o,i=e.defaultOptions,f=void 0===i?S:i;return function(t,e,o){void 0===o&&(o=f);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},S,f),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],l=!1,d={state:u,setOptions:function(o){var i="function"==typeof o?o(u.options):o;h(),u.options=Object.assign({},f,u.options,i),u.scrollParents={reference:n(t)?b(t):t.contextElement?b(t.contextElement):[],popper:b(e)};var a,c,l=function(t){var e=P(t);return H.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((a=[].concat(r,u.options.modifiers),c=a.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return u.orderedModifiers=l.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,o=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var i=r({state:u,name:e,instance:d,options:o}),f=function(){};s.push(i||f)}})),d.update()},forceUpdate:function(){if(!l){var t=u.elements,e=t.reference,n=t.popper;if(k(e,n)){var o,r,i,f;u.rects={reference:m(e,x(n),"fixed"===u.options.strategy),popper:(o=n,r=c(o),i=o.offsetWidth,f=o.offsetHeight,Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-f)<=1&&(f=r.height),{x:o.offsetLeft,y:o.offsetTop,width:i,height:f})},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var a=0;a<u.orderedModifiers.length;a++)if(!0!==u.reset){var s=u.orderedModifiers[a],h=s.fn,p=s.options,g=void 0===p?{}:p,v=s.name;"function"==typeof h&&(u=h({state:u,options:g,name:v,instance:d})||u)}else u.reset=!1,a=-1}}},update:(i=function(){return new Promise((function(t){d.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){h(),l=!0}};if(!k(t,e))return d;function h(){s.forEach((function(t){return t()})),s=[]}return d.setOptions(o).then((function(t){!l&&o.onFirstUpdate&&o.onFirstUpdate(t)})),d}}var B=N();t.createPopper=B,t.detectOverflow=function(t,e){void 0===e&&(e={});var o,r=e,a=r.placement,u=void 0===a?t.placement:a,s=r.boundary,d=void 0===s?"clippingParents":s,h=r.rootBoundary,p=void 0===h?W:h,m=r.elementContext,g=void 0===m?j:m,v=r.altBoundary,b=void 0!==v&&v,w=r.padding,y=void 0===w?0:w,x=function(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}("number"!=typeof y?y:(o=y,T.reduce((function(t,e){return t[e]=o,t}),{}))),H=g===j?"reference":j,P=t.rects.popper,S=t.elements[b?H:g],k=function(t,e,n){var o="clippingParents"===e?D(t):[].concat(e),r=[].concat(o,[n]),a=r[0],c=r.reduce((function(e,n){var o=C(t,n);return e.top=i(o.top,e.top),e.right=f(o.right,e.right),e.bottom=f(o.bottom,e.bottom),e.left=i(o.left,e.left),e}),C(t,a));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}(n(S)?S:S.contextElement||l(t.elements.popper),d,p),N=c(t.elements.reference),B=function(t){var e,n=t.reference,o=t.element,r=t.placement,i=r?function(t){return t.split("-")[0]}(r):null,f=r?function(t){return t.split("-")[1]}(r):null,a=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(i){case O:e={x:a,y:n.y-o.height};break;case M:e={x:a,y:n.y+n.height};break;case E:e={x:n.x+n.width,y:c};break;case L:e={x:n.x-o.width,y:c};break;default:e={x:n.x,y:n.y}}var u=i?function(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}(i):null;if(null!=u){var s="y"===u?"height":"width";switch(f){case"start":e[u]=e[u]-(n[s]/2-o[s]/2);break;case"end":e[u]=e[u]+(n[s]/2-o[s]/2)}}return e}({reference:N,element:P,strategy:"absolute",placement:u}),A=R(Object.assign({},P,B)),U=g===j?A:N,V={top:k.top-U.top+x.top,bottom:U.bottom-k.bottom+x.bottom,left:k.left-U.left+x.left,right:U.right-k.right+x.right},q=t.modifiersData.offset;if(g===j&&q){var F=q[u];Object.keys(V).forEach((function(t){var e=[E,M].indexOf(t)>=0?1:-1,n=[O,M].indexOf(t)>=0?"y":"x";V[t]+=F[n]*e}))}return V},t.popperGenerator=N,Object.defineProperty(t,"__esModule",{value:!0})}));
  //# sourceMappingURL=popper-base.min.js.map
  