From e7de04494b70ca62ac1abda7f9a3ef41994f4f51 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Oct 2021 16:59:23 +0200 Subject: Adding web-tools (WIP). Signed-off-by: Daniel Baumann --- web-tools/web/_static/popperjs/popper-base.min.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 web-tools/web/_static/popperjs/popper-base.min.js (limited to 'web-tools/web/_static/popperjs/popper-base.min.js') diff --git a/web-tools/web/_static/popperjs/popper-base.min.js b/web-tools/web/_static/popperjs/popper-base.min.js new file mode 100644 index 0000000..7dc781b --- /dev/null +++ b/web-tools/web/_static/popperjs/popper-base.min.js @@ -0,0 +1,6 @@ +/** + * @popperjs/core v2.5.4 - 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=t||self).Popper={})}(this,(function(t){function e(t){return{width:(t=t.getBoundingClientRect()).width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function o(t){return"[object Window]"!==t.toString()?(t=t.ownerDocument)&&t.defaultView||window:t}function n(t){return{scrollLeft:(t=o(t)).pageXOffset,scrollTop:t.pageYOffset}}function i(t){return t instanceof o(t).Element||t instanceof Element}function r(t){return t instanceof o(t).HTMLElement||t instanceof HTMLElement}function f(t){return t?(t.nodeName||"").toLowerCase():null}function a(t){return((i(t)?t.ownerDocument:t.document)||window.document).documentElement}function c(t){return e(a(t)).left+n(t).scrollLeft}function s(t){return o(t).getComputedStyle(t)}function l(t){return t=s(t),/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function u(t,i,s){void 0===s&&(s=!1);var u=a(i);t=e(t);var d=r(i),p={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(d||!d&&!s)&&(("body"!==f(i)||l(u))&&(p=i!==o(i)&&r(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:n(i)),r(i)?((h=e(i)).x+=i.clientLeft,h.y+=i.clientTop):u&&(h.x=c(u))),{x:t.left+p.scrollLeft-h.x,y:t.top+p.scrollTop-h.y,width:t.width,height:t.height}}function d(t){return"html"===f(t)?t:t.assignedSlot||t.parentNode||t.host||a(t)}function p(t,e){void 0===e&&(e=[]);var n=function t(e){return 0<=["html","body","#document"].indexOf(f(e))?e.ownerDocument.body:r(e)&&l(e)?e:t(d(e))}(t);t="body"===f(n);var i=o(n);return n=t?[i].concat(i.visualViewport||[],l(n)?n:[]):n,e=e.concat(n),t?e:e.concat(p(d(n)))}function h(t){if(!r(t)||"fixed"===s(t).position)return null;if(t=t.offsetParent){var e=a(t);if("body"===f(t)&&"static"===s(t).position&&"static"!==s(e).position)return e}return t}function m(t){for(var e=o(t),n=h(t);n&&0<=["table","td","th"].indexOf(f(n))&&"static"===s(n).position;)n=h(n);if(n&&"body"===f(n)&&"static"===s(n).position)return e;if(!n)t:{for(t=d(t);r(t)&&0>["html","body"].indexOf(f(t));){if("none"!==(n=s(t)).transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange){n=t;break t}t=t.parentNode}n=null}return n||e}function g(t){var e=new Map,o=new Set,n=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){o.has(t.name)||function t(i){o.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(n){o.has(n)||(n=e.get(n))&&t(n)})),n.push(i)}(t)})),n}function b(t){var e;return function(){return e||(e=new Promise((function(o){Promise.resolve().then((function(){e=void 0,o(t())}))}))),e}}function v(t){return Object.assign(Object.assign({},t),{},{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function y(t,i){if("viewport"===i){i=o(t);var f=a(t);i=i.visualViewport;var l=f.clientWidth;f=f.clientHeight;var u=0,d=0;i&&(l=i.width,f=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=i.offsetLeft,d=i.offsetTop)),t=v(t={width:l,height:f,x:u+c(t),y:d})}else r(i)?((t=e(i)).top+=i.clientTop,t.left+=i.clientLeft,t.bottom=t.top+i.clientHeight,t.right=t.left+i.clientWidth,t.width=i.clientWidth,t.height=i.clientHeight,t.x=t.left,t.y=t.top):(d=a(t),t=a(d),u=n(d),i=d.ownerDocument.body,l=Math.max(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),f=Math.max(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),d=-u.scrollLeft+c(d),u=-u.scrollTop,"rtl"===s(i||t).direction&&(d+=Math.max(t.clientWidth,i?i.clientWidth:0)-l),t=v({width:l,height:f,x:d,y:u}));return t}function w(t,e,n){return e="clippingParents"===e?function(t){var e=p(d(t)),n=0<=["absolute","fixed"].indexOf(s(t).position)&&r(t)?m(t):t;return i(n)?e.filter((function(t){var e;if(e=i(t))t:if(e=n.getRootNode&&n.getRootNode(),t.contains(n))e=!0;else{var r;if((r=e)&&(r=e instanceof(r=o(e).ShadowRoot)||e instanceof ShadowRoot),r){e=n;do{if(e&&t.isSameNode(e)){e=!0;break t}e=e.parentNode||e.host}while(e)}e=!1}return e&&"body"!==f(t)})):[]}(t):[].concat(e),(n=(n=[].concat(e,[n])).reduce((function(e,o){return o=y(t,o),e.top=Math.max(o.top,e.top),e.right=Math.min(o.right,e.right),e.bottom=Math.min(o.bottom,e.bottom),e.left=Math.max(o.left,e.left),e}),y(t,n[0]))).width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}function x(){for(var t=arguments.length,e=Array(t),o=0;o