/** * @popperjs/core v2.11.0 - MIT License */ "use strict";!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){function e(t){return null==t?window:"[object Window]"!==t.toString()?(t=t.ownerDocument)&&t.defaultView||window:t}function o(t){return t instanceof e(t).Element||t instanceof Element}function n(t){return t instanceof e(t).HTMLElement||t instanceof HTMLElement}function i(t){return"undefined"!=typeof ShadowRoot&&(t instanceof e(t).ShadowRoot||t instanceof ShadowRoot)}function r(t,e){void 0===e&&(e=!1);var o=t.getBoundingClientRect(),i=1,r=1;return n(t)&&e&&(e=t.offsetHeight,0<(t=t.offsetWidth)&&(i=j(o.width)/t||1),0=Math.abs(e.width-o)&&(o=e.width),1>=Math.abs(e.height-n)&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:o,height:n}}function h(t){return"html"===a(t)?t:t.assignedSlot||t.parentNode||(i(t)?t.host:null)||c(t)}function m(t){return 0<=["html","body","#document"].indexOf(a(t))?t.ownerDocument.body:n(t)&&d(t)?t:m(h(t))}function g(t,o){var n;void 0===o&&(o=[]);var i=m(t);return t=i===(null==(n=t.ownerDocument)?void 0:n.body),n=e(i),i=t?[n].concat(n.visualViewport||[],d(i)?i:[]):i,o=o.concat(i),t?o:o.concat(g(h(i)))}function v(t){return n(t)&&"fixed"!==l(t).position?t.offsetParent:null}function b(t){for(var o=e(t),i=v(t);i&&0<=["table","td","th"].indexOf(a(i))&&"static"===l(i).position;)i=v(i);if(i&&("html"===a(i)||"body"===a(i)&&"static"===l(i).position))return o;if(!i)t:{if(i=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),-1===navigator.userAgent.indexOf("Trident")||!n(t)||"fixed"!==l(t).position)for(t=h(t);n(t)&&0>["html","body"].indexOf(a(t));){var r=l(t);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||i&&"filter"===r.willChange||i&&r.filter&&"none"!==r.filter){i=t;break t}t=t.parentNode}i=null}return i||o}function w(t){function e(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){n.has(t)||(t=o.get(t))&&e(t)})),i.push(t)}var o=new Map,n=new Set,i=[];return t.forEach((function(t){o.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||e(t)})),i}function y(t){var e;return function(){return e||(e=new Promise((function(o){Promise.resolve().then((function(){e=void 0,o(t())}))}))),e}}function x(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function O(t,n){if("viewport"===n){n=e(t);var i=c(t);n=n.visualViewport;var a=i.clientWidth;i=i.clientHeight;var d=0,u=0;n&&(a=n.width,i=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(d=n.offsetLeft,u=n.offsetTop)),t=x(t={width:a,height:i,x:d+s(t),y:u})}else o(n)?((t=r(n)).top+=n.clientTop,t.left+=n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top):(u=c(t),t=c(u),a=f(u),n=null==(i=u.ownerDocument)?void 0:i.body,i=T(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),d=T(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),u=-a.scrollLeft+s(u),a=-a.scrollTop,"rtl"===l(n||t).direction&&(u+=T(t.clientWidth,n?n.clientWidth:0)-i),t=x({width:i,height:d,x:u,y:a}));return t}function M(t,e,r){return e="clippingParents"===e?function(t){var e=g(h(t)),r=0<=["absolute","fixed"].indexOf(l(t).position),f=r&&n(t)?b(t):t;return o(f)?e.filter((function(t){var e;if(e=o(t))t:if(e=f.getRootNode&&f.getRootNode(),t.contains(f))e=!0;else{if(e&&i(e)){e=f;do{if(e&&t.isSameNode(e)){e=!0;break t}e=e.parentNode||e.host}while(e)}e=!1}return e&&"body"!==a(t)&&(!r||"static"!==l(t).position)})):[]}(t):[].concat(e),(r=(r=[].concat(e,[r])).reduce((function(e,o){return o=O(t,o),e.top=T(o.top,e.top),e.right=W(o.right,e.right),e.bottom=W(o.bottom,e.bottom),e.left=T(o.left,e.left),e}),O(t,r[0]))).width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function E(){for(var t=arguments.length,e=Array(t),o=0;o