7 lines
13 KiB
Plaintext
7 lines
13 KiB
Plaintext
|
/**
|
||
|
* @popperjs/core v2.11.8 - MIT License
|
||
|
*/
|
||
|
|
||
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function o(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function r(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var i=Math.max,a=Math.min,s=Math.round;function f(){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 c(){return!/^((?!chrome|android).)*safari/i.test(f())}function u(e,r,i){void 0===r&&(r=!1),void 0===i&&(i=!1);var a=e.getBoundingClientRect(),f=1,u=1;r&&o(e)&&(f=e.offsetWidth>0&&s(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&s(a.height)/e.offsetHeight||1);var l=(n(e)?t(e):window).visualViewport,p=!c()&&i,d=(a.left+(p&&l?l.offsetLeft:0))/f,h=(a.top+(p&&l?l.offsetTop:0))/u,v=a.width/f,m=a.height/u;return{width:v,height:m,top:h,right:d+v,bottom:h+m,left:d,x:d,y:h}}function l(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function p(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return u(d(e)).left+l(e).scrollLeft}function v(e){return t(e).getComputedStyle(e)}function m(e){var t=v(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function g(e,n,r){void 0===r&&(r=!1);var i,a,f=o(n),c=o(n)&&function(e){var t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||1,o=s(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(n),v=d(n),g=u(e,c,r),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!r)&&(("body"!==p(n)||m(v))&&(y=(i=n)!==t(i)&&o(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:l(i)),o(n)?((b=u(n,!0)).x+=n.clientLeft,b.y+=n.clientTop):v&&(b.x=h(v))),{x:g.left+y.scrollLeft-b.x,y:g.top+y.scrollTop-b.y,width:g.width,height:g.height}}function y(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:null)||d(e)}function b(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:o(e)&&m(e)?e:b(y(e))}function w(e,n){var o;void 0===n&&(n=[]);var r=b(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=t(r),s=i?[a].concat(a.visualViewport||[],m(r)?r:[]):r,f=n.concat(s);return i?f:f.concat(w(y(s)))}function x(e){return["table","td","th"].indexOf(p(e))>=0}function O(e){return o(e)&&"fixed"!==v(e).position?e.offsetParent:null}function j(e){for(var n=t(e),i=O(e);i&&x(i)&&"static"===v(i).position;)i=O(i);return i&&("html"===p(i)||"body"===p(i)&&"static"===v(i).position)?n:i||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&o(e)&&"fixed"===v(e).position)return null;var n=y(e);for(r(n)&&(n=n.host);o(n)&&["html","body"].indexOf(p(n))<0;){var i=v(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||n}var E="top",L="bottom",M="right",W="left",P=[E,L,M,W],T="end",H="viewport",D="popper",R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function k(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}function A(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function S(e,o,r){return o===H?A(function(e,n){var o=t(e),r=d(e),i=o.visualViewport,a=r.clientWidth,s=r.clientHeight,f=0,u=0;if(i){a=i.widt
|
||
|
//# sourceMappingURL=popper-lite.min.js.map
|