You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud/dist/6654-6654.js

3 lines
2.4 MiB
JavaScript

/*! For license information please see 6654-6654.js.LICENSE.txt */
(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[6654],{50326:function(e,t,n){"use strict";n.r(t),n.d(t,{arrow:function(){return i.x7},autoPlacement:function(){return i.X5},autoUpdate:function(){return F},computePosition:function(){return b},detectOverflow:function(){return i.US},flip:function(){return i.RR},getOverflowAncestors:function(){return r.Kx},hide:function(){return i.Cp},inline:function(){return i.Qo},limitShift:function(){return i.dr},offset:function(){return i.cv},platform:function(){return A},shift:function(){return i.uY},size:function(){return i.dp}});var a=n(71347),i=n(85983),r=n(68365);function o(e){const t=(0,r.Dx)(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=(0,r.Re)(e),s=o?e.offsetWidth:n,l=o?e.offsetHeight:i,u=(0,a.NM)(n)!==s||(0,a.NM)(i)!==l;return u&&(n=s,i=l),{width:n,height:i,$:u}}function s(e){return(0,r.kK)(e)?e:e.contextElement}function l(e){const t=s(e);if(!(0,r.Re)(t))return(0,a.ze)(1);const n=t.getBoundingClientRect(),{width:i,height:l,$:u}=o(t);let c=(u?(0,a.NM)(n.width):n.width)/i,d=(u?(0,a.NM)(n.height):n.height)/l;return c&&Number.isFinite(c)||(c=1),d&&Number.isFinite(d)||(d=1),{x:c,y:d}}const u=(0,a.ze)(0);function c(e){const t=(0,r.Jj)(e);return(0,r.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:u}function d(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),u=s(e);let d=(0,a.ze)(1);t&&(i?(0,r.kK)(i)&&(d=l(i)):d=l(e));const f=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,r.Jj)(e))&&t}(u,n,i)?c(u):(0,a.ze)(0);let h=(o.left+f.x)/d.x,g=(o.top+f.y)/d.y,p=o.width/d.x,m=o.height/d.y;if(u){const e=(0,r.Jj)(u),t=i&&(0,r.kK)(i)?(0,r.Jj)(i):i;let n=e.frameElement;for(;n&&i&&t!==e;){const e=l(n),t=n.getBoundingClientRect(),a=(0,r.Dx)(n),i=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;h*=e.x,g*=e.y,p*=e.x,m*=e.y,h+=i,g+=o,n=(0,r.Jj)(n).frameElement}}return(0,a.JB)({width:p,height:m,x:h,y:g})}function f(e){return d((0,r.tF)(e)).left+(0,r.Lw)(e).scrollLeft}function h(e,t,n){let i;if("viewport"===t)i=function(e,t){const n=(0,r.Jj)(e),a=(0,r.tF)(e),i=n.visualViewport;let o=a.clientWidth,s=a.clientHeight,l=0,u=0;if(i){o=i.width,s=i.height;const e=(0,r.Pf)();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:l,y:u}}(e,n);else if("document"===t)i=function(e){const t=(0,r.tF)(e),n=(0,r.Lw)(e),i=e.ownerDocument.body,o=(0,a.Fp)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=(0,a.Fp)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let l=-n.scrollLeft+f(e);const u=-n.scrollTop;return"rtl"===(0,r.Dx)(i).direction&&(l+=(0,a.Fp)(t.clientWidth,i.clientWidth)-o),{width:o,height:s,x:l,y:u}}((0,r.tF)(e));else if((0,r.kK)(t))i=function(e,t){const n=d(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,s=(0,r.Re)(e)?l(e):(0,a.ze)(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:o*s.x,y:i*s.y}}(t,n);else{const n=c(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return(0,a.JB)(i)}function g(e,t){const n=(0,r.Ow)(e);return!(n===t||!(0,r.kK)(n)||(0,r.Py)(n))&&("fixed"===(0,r.Dx)(n).position||g(n,t))}function p(e,t,n){const i=(0,r.Re)(t),o=(0,r.tF)(t),s="fixed"===n,l=d(e,!0,s,t);let u={scrollLeft:0,scrollTop:0};const c=(0,a.ze)(0);if(i||!i&&!s)if(("body"!==(0,r.wk)(t)||(0,r.ao)(o))&&(u=(0,r.Lw)(t)),i){const e=d(t,!0,s,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=f(o));return{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function m(e,t){return(0,r.Re)(e)&&"fixed"!==(0,r.Dx)(e).position?t?t(e):e.offsetParent:null}function _(e,t){const n=(0,r.Jj)(e);if(!(0,r.Re)(e))return n;let a=m(e,t);for(;a&&(0,r.Ze)(a)&&"static"===(0,r.Dx)(a).position;)a=m(a,t);return a&&("html"===(0,r.wk)(a)||"body"===(0,r.wk)(a)&&"static"===(0,r.Dx)(a).position&&!(0,r.hT)(a))?n:a||(0,r.gQ)(e)||n}const A={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const o=(0,r.Re)(n),s=(0,r.tF)(n);if(n===s)return t;let u={scrollLeft
//# sourceMappingURL=6654-6654.js.map?v=28236009fb1f3ac7e7d2