PageSourceSearch

https://friends-of-fpc.org/wp-content/themes/blogwaves/assets/js/popper.js?ver=1.0.0

js friends-of-fpc.org collected 2026-10-03 02:00:11 UTC 39,159 bytes, 865 lines download raw bytes

1/*
2 Copyright (C) Federico Zivolo 2020
3 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
4 */ (function (e, t) {
5    "object" == typeof exports && "undefined" != typeof module ? (module.exports = t()) : "function" == typeof define && define.amd ? define(t) : (e.Popper = t());
6})(this, function () {
7    "use strict";
8    function e(e) {
9        return e && "[object Function]" === {}.toString.call(e);
10    }
11    function t(e, t) {
12        if (1 !== e.nodeType) return [];
13        var o = e.ownerDocument.defaultView,
14            n = o.getComputedStyle(e, null);
15        return t ? n[t] : n;
16    }
17    function o(e) {
18        return "HTML" === e.nodeName ? e : e.parentNode || e.host;
19    }
20    function n(e) {
21        if (!e) return document.body;
22        switch (e.nodeName) {
23            case "HTML":
24            case "BODY":
25                return e.ownerDocument.body;
26            case "#document":
27                return e.body;
28        }
29        var i = t(e),
30            r = i.overflow,
31            p = i.overflowX,
32            s = i.overflowY;
33        return /(auto|scroll|overlay)/.test(r + s + p) ? e : n(o(e));
34    }
35    function i(e) {
36        return e && e.referenceNode ? e.referenceNode : e;
37    }
38    function r(e) {
39        return 11 === e ? re : 10 === e ? pe : re || pe;
40    }
41    function p(e) {
42        if (!e) return document.documentElement;
43        for (var o = r(10) ? document.body : null, n = e.offsetParent || null; n === o && e.nextElementSibling; ) n = (e = e.nextElementSibling).offsetParent;
44        var i = n && n.nodeName;
45        return i && "BODY" !== i && "HTML" !== i ? (-1 !== ["TH", "TD", "TABLE"].indexOf(n.nodeName) && "static" === t(n, "position") ? p(n) : n) : e ? e.ownerDocument.documentElement : document.documentElement;
46    }
47    function s(e) {
48        var t = e.nodeName;
49        return "BODY" !== t && ("HTML" === t || p(e.firstElementChild) === e);
50    }
51    function d(e) {
52        return null === e.parentNode ? e : d(e.parentNode);
53    }
54    function a(e, t) {
55        if (!e || !e.nodeType || !t || !t.nodeType) return document.documentElement;
56        var o = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING,
57            n = o ? e : t,
58            i = o ? t : e,
59            r = document.createRange();
60        r.setStart(n, 0), r.setEnd(i, 0);
61        var l = r.commonAncestorContainer;
62        if ((e !== l && t !== l) || n.contains(i)) return s(l) ? l : p(l);
63        var f = d(e);
64        return f.host ? a(f.host, t) : a(e, d(t).host);
65    }
66    function l(e) {
67        var t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "top",
68            o = "top" === t ? "scrollTop" : "scrollLeft",
69            n = e.nodeName;
70        if ("BODY" === n || "HTML" === n) {
71            var i = e.ownerDocument.documentElement,
72                r = e.ownerDocument.scrollingElement || i;
73            return r[o];
74        }
75        return e[o];
76    }
77    function f(e, t) {
78        var o = 2 < arguments.length && void 0 !== arguments[2] && arguments[2],
79            n = l(t, "top"),
80            i = l(t, "left"),
81            r = o ? -1 : 1;
82        return (e.top += n * r), (e.bottom += n * r), (e.left += i * r), (e.right += i * r), e;
83    }
84    function m(e, t) {
85        var o = "x" === t ? "Left" : "Top",
86            n = "Left" == o ? "Right" : "Bottom";
87        return parseFloat(e["border" + o + "Width"]) + parseFloat(e["border" + n + "Width"]);
88    }
89    function h(e, t, o, n) {
90        return ee(
91            t["offset" + e],
92            t["scroll" + e],
93            o["client" + e],
94            o["offset" + e],
95            o["scroll" + e],
96            r(10) ? parseInt(o["offset" + e]) + parseInt(n["margin" + ("Height" === e ? "Top" : "Left")]) + parseInt(n["margin" + ("Height" === e ? "Bottom" : "Right")]) : 0
97        );
98    }
99    function c(e) {
100        var t = e.body,
101            o = e.documentElement,
102            n = r(10) && getComputedStyle(o);
103        return { height: h("Height", t, o, n), width: h("Width", t, o, n) };
104    }
105    function g(e) {
106        return le({}, e, { right: e.left + e.width, bottom: e.top + e.height });
107    }
108    function u(e) {
109        var o = {};
110        try {
111            if (r(10)) {
112                o = e.getBoundingClientRect();
113                var n = l(e, "top"),
114                    i = l(e, "left");
115                (o.top += n), (o.left += i), (o.bottom += n), (o.right += i);
116            } else o = e.getBoundingClientRect();
117        } catch (t) {}
118        var p = { left: o.left, top: o.top, width: o.right - o.left, height: o.bottom - o.top },
119            s = "HTML" === e.nodeName ? c(e.ownerDocument) : {},
120            d = s.width || e.clientWidth || p.width,
121            a = s.height || e.clientHeight || p.height,
122            f = e.offsetWidth - d,
123            h = e.offsetHeight - a;
124        if (f || h) {
125            var u = t(e);
126            (f -= m(u, "x")), (h -= m(u, "y")), (p.width -= f), (p.height -= h);
127        }
128        return g(p);
129    }
130    function b(e, o) {
131        var i = 2 < arguments.length && void 0 !== arguments[2] && arguments[2],
132            p = r(10),
133            s = "HTML" === o.nodeName,
134            d = u(e),
135            a = u(o),
136            l = n(e),
137            m = t(o),
138            h = parseFloat(m.borderTopWidth),
139            c = parseFloat(m.borderLeftWidth);
140        i && s && ((a.top = ee(a.top, 0)), (a.left = ee(a.left, 0)));
141        var b = g({ top: d.top - a.top - h, left: d.left - a.left - c, width: d.width, height: d.height });
142        if (((b.marginTop = 0), (b.marginLeft = 0), !p && s)) {
143            var w = parseFloat(m.marginTop),
144                y = parseFloat(m.marginLeft);
145            (b.top -= h - w), (b.bottom -= h - w), (b.left -= c - y), (b.right -= c - y), (b.marginTop = w), (b.marginLeft = y);
146        }
147        return (p && !i ? o.contains(l) : o === l && "BODY" !== l.nodeName) && (b = f(b, o)), b;
148    }
149    function w(e) {
150        var t = 1 < arguments.length && void 0 !== arguments[1] && arguments[1],
151            o = e.ownerDocument.documentElement,
152            n = b(e, o),
153            i = ee(o.clientWidth, window.innerWidth || 0),
154            r = ee(o.clientHeight, window.innerHeight || 0),
155            p = t ? 0 : l(o),
156            s = t ? 0 : l(o, "left"),
157            d = { top: p - n.top + n.marginTop, left: s - n.left + n.marginLeft, width: i, height: r };
158        return g(d);
159    }
160    function y(e) {
161        var n = e.nodeName;
162        if ("BODY" === n || "HTML" === n) return !1;
163        if ("fixed" === t(e, "position")) return !0;
164        var i = o(e);
165        return !!i && y(i);
166    }
167    function E(e) {
168        if (!e || !e.parentElement || r()) return document.documentElement;
169        for (var o = e.parentElement; o && "none" === t(o, "transform"); ) o = o.parentElement;
170        return o || document.documentElement;
171    }
172    function v(e, t, r, p) {
173        var s = 4 < arguments.length && void 0 !== arguments[4] && arguments[4],
174            d = { top: 0, left: 0 },
175            l = s ? E(e) : a(e, i(t));
176        if ("viewport" === p) d = w(l, s);
177        else {
178            var f;
179            "scrollParent" === p ? ((f = n(o(t))), "BODY" === f.nodeName && (f = e.ownerDocument.documentElement)) : "window" === p ? (f = e.ownerDocument.documentElement) : (f = p);
180            var m = b(f, l, s);
181            if ("HTML" === f.nodeName && !y(l)) {
182                var h = c(e.ownerDocument),
183                    g = h.height,
184                    u = h.width;
185                (d.top += m.top - m.marginTop), (d.bottom = g + m.top), (d.left += m.left - m.marginLeft), (d.right = u + m.left);
186            } else d = m;
187        }
188        r = r || 0;
189        var v = "number" == typeof r;
190        return (d.left += v ? r : r.left || 0), (d.top += v ? r : r.top || 0), (d.right -= v ? r : r.right || 0), (d.bottom -= v ? r : r.bottom || 0), d;
191    }
192    function x(e) {
193        var t = e.width,
194            o = e.height;
195        return t * o;
196    }
197    function O(e, t, o, n, i) {
198        var r = 5 < arguments.length && void 0 !== arguments[5] ? arguments[5] : 0;
199        if (-1 === e.indexOf("auto")) return e;
200        var p = v(o, n, r, i),
201            s = { top: { width: p.width, height: t.top - p.top }, right: { width: p.right - t.right, height: p.height }, bottom: { width: p.width, height: p.bottom - t.bottom }, left: { width: t.left - p.left, height: p.height } },
202            d = Object.keys(s)
203                .map(function (e) {
204                    return le({ key: e }, s[e], { area: x(s[e]) });
205                })
206                .sort(function (e, t) {
207                    return t.area - e.area;
208                }),
209            a = d.filter(function (e) {
210                var t = e.width,
211                    n = e.height;
212                return t >= o.clientWidth && n >= o.clientHeight;
213            }),
214            l = 0 < a.length ? a[0].key : d[0].key,
215            f = e.split("-")[1];
216        return l + (f ? "-" + f : "");
217    }
218    function L(e, t, o) {
219        var n = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null,
220            r = n ? E(t) : a(t, i(o));
221        return b(o, r, n);
222    }
223    function S(e) {
224        var t = e.ownerDocument.defaultView,
225            o = t.getComputedStyle(e),
226            n = parseFloat(o.marginTop || 0) + parseFloat(o.marginBottom || 0),
227            i = parseFloat(o.marginLeft || 0) + parseFloat(o.marginRight || 0),
228            r = { width: e.offsetWidth + i, height: e.offsetHeight + n };
229        return r;
230    }
231    function T(e) {
232        var t = { left: "right", right: "left", bottom: "top", top: "bottom" };
233        return e.replace(/left|right|bottom|top/g, function (e) {
234            return t[e];
235        });
236    }
237    function C(e, t, o) {
238        o = o.split("-")[0];
239        var n = S(e),
240            i = { width: n.width, height: n.height },
241            r = -1 !== ["right", "left"].indexOf(o),
242            p = r ? "top" : "left",
243            s = r ? "left" : "top",
244            d = r ? "height" : "width",
245            a = r ? "width" : "height";
246        return (i[p] = t[p] + t[d] / 2 - n[d] / 2), (i[s] = o === s ? t[s] - n[a] : t[T(s)]), i;
247    }
248    function D(e, t) {
249        return Array.prototype.find ? e.find(t) : e.filter(t)[0];
250    }
251    function N(e, t, o) {
252        if (Array.prototype.findIndex)
253            return e.findIndex(function (e) {
254                return e[t] === o;
255            });
256        var n = D(e, function (e) {
257            return e[t] === o;
258        });
259        return e.indexOf(n);
260    }
261    function P(t, o, n) {
262        var i = void 0 === n ? t : t.slice(0, N(t, "name", n));
263        return (
264            i.forEach(function (t) {
265                t["function"] && console.warn("`modifier.function` is deprecated, use `modifier.fn`!");
266                var n = t["function"] || t.fn;
267                t.enabled && e(n) && ((o.offsets.popper = g(o.offsets.popper)), (o.offsets.reference = g(o.offsets.reference)), (o = n(o, t)));
268            }),
269            o
270        );
271    }
272    function k() {
273        if (!this.state.isDestroyed) {
274            var e = { instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: !1, offsets: {} };
275            (e.offsets.reference = L(this.state, this.popper, this.reference, this.options.positionFixed)),
276                (e.placement = O(this.options.placement, e.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding)),
277                (e.originalPlacement = e.placement),
278                (e.positionFixed = this.options.positionFixed),
279                (e.offsets.popper = C(this.popper, e.offsets.reference, e.placement)),
280                (e.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute"),
281                (e = P(this.modifiers, e)),
282                this.state.isCreated ? this.options.onUpdate(e) : ((this.state.isCreated = !0), this.options.onCreate(e));
283        }
284    }
285    function W(e, t) {
286        return e.some(function (e) {
287            var o = e.name,
288                n = e.enabled;
289            return n && o === t;
290        });
291    }
292    function B(e) {
293        for (var t = [!1, "ms", "Webkit", "Moz", "O"], o = e.charAt(0).toUpperCase() + e.slice(1), n = 0; n < t.length; n++) {
294            var i = t[n],
295                r = i ? "" + i + o : e;
296            if ("undefined" != typeof document.body.style[r]) return r;
297        }
298        return null;
299    }
300    function H() {
301        return (
302            (this.state.isDestroyed = !0),
303            W(this.modifiers, "applyStyle") &&
304                (this.popper.removeAttribute("x-placement"),
305                (this.popper.style.position = ""),
306                (this.popper.style.top = ""),
307                (this.popper.style.left = ""),
308                (this.popper.style.right = ""),
309                (this.popper.style.bottom = ""),
310                (this.popper.style.willChange = ""),
311                (this.popper.style[B("transform")] = "")),
312            this.disableEventListeners(),
313            this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper),
314            this
315        );
316    }
317    function A(e) {
318        var t = e.ownerDocument;
319        return t ? t.defaultView : window;
320    }
321    function M(e, t, o, i) {
322        var r = "BODY" === e.nodeName,
323            p = r ? e.ownerDocument.defaultView : e;
324        p.addEventListener(t, o, { passive: !0 }), r || M(n(p.parentNode), t, o, i), i.push(p);
325    }
326    function F(e, t, o, i) {
327        (o.updateBound = i), A(e).addEventListener("resize", o.updateBound, { passive: !0 });
328        var r = n(e);
329        return M(r, "scroll", o.updateBound, o.scrollParents), (o.scrollElement = r), (o.eventsEnabled = !0), o;
330    }
331    function I() {
332        this.state.eventsEnabled || (this.state = F(this.reference, this.options, this.state, this.scheduleUpdate));
333    }
334    function R(e, t) {
335        return (
336            A(e).removeEventListener("resize", t.updateBound),
337            t.scrollParents.forEach(function (e) {
338                e.removeEventListener("scroll", t.updateBound);
339            }),
340            (t.updateBound = null),
341            (t.scrollParents = []),
342            (t.scrollElement = null),
343            (t.eventsEnabled = !1),
344            t
345        );
346    }
347    function U() {
348        this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), (this.state = R(this.reference, this.state)));
349    }
350    function Y(e) {
351        return "" !== e && !isNaN(parseFloat(e)) && isFinite(e);
352    }
353    function V(e, t) {
354        Object.keys(t).forEach(function (o) {
355            var n = "";
356            -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(o) && Y(t[o]) && (n = "px"), (e.style[o] = t[o] + n);
357        });
358    }
359    function j(e, t) {
360        Object.keys(t).forEach(function (o) {
361            var n = t[o];
362            !1 === n ? e.removeAttribute(o) : e.setAttribute(o, t[o]);
363        });
364    }
365    function q(e, t) {
366        var o = e.offsets,
367            n = o.popper,
368            i = o.reference,
369            r = $,
370            p = function (e) {
371                return e;
372            },
373            s = r(i.width),
374            d = r(n.width),
375            a = -1 !== ["left", "right"].indexOf(e.placement),
376            l = -1 !== e.placement.indexOf("-"),
377            f = t ? (a || l || s % 2 == d % 2 ? r : Z) : p,
378            m = t ? r : p;
379        return { left: f(1 == s % 2 && 1 == d % 2 && !l && t ? n.left - 1 : n.left), top: m(n.top), bottom: m(n.bottom), right: f(n.right) };
380    }
381    function K(e, t, o) {
382        var n = D(e, function (e) {
383                var o = e.name;
384                return o === t;
385            }),
386            i =
387                !!n &&
388                e.some(function (e) {
389                    return e.name === o && e.enabled && e.order < n.order;
390                });
391        if (!i) {
392            var r = "`" + t + "`";
393            console.warn("`" + o + "`" + " modifier is required by " + r + " modifier in order to work, be sure to include it before " + r + "!");
394        }
395        return i;
396    }
397    function z(e) {
398        return "end" === e ? "start" : "start" === e ? "end" : e;
399    }
400    function G(e) {
401        var t = 1 < arguments.length && void 0 !== arguments[1] && arguments[1],
402            o = he.indexOf(e),
403            n = he.slice(o + 1).concat(he.slice(0, o));
404        return t ? n.reverse() : n;
405    }
406    function _(e, t, o, n) {
407        var i = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),
408            r = +i[1],
409            p = i[2];
410        if (!r) return e;
411        if (0 === p.indexOf("%")) {
412            var s;
413            switch (p) {
414                case "%p":
415                    s = o;
416                    break;
417                case "%":
418                case "%r":
419                default:
420                    s = n;
421            }
422            var d = g(s);
423            return (d[t] / 100) * r;
424        }
425        if ("vh" === p || "vw" === p) {
426            var a;
427            return (a = "vh" === p ? ee(document.documentElement.clientHeight, window.innerHeight || 0) : ee(document.documentElement.clientWidth, window.innerWidth || 0)), (a / 100) * r;
428        }
429        return r;
430    }
431    function X(e, t, o, n) {
432        var i = [0, 0],
433            r = -1 !== ["right", "left"].indexOf(n),
434            p = e.split(/(\+|\-)/).map(function (e) {
435                return e.trim();
436            }),
437            s = p.indexOf(
438                D(p, function (e) {
439                    return -1 !== e.search(/,|\s/);
440                })
441            );
442        p[s] && -1 === p[s].indexOf(",") && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");
443        var d = /\s*,\s*|\s+/,
444            a = -1 === s ? [p] : [p.slice(0, s).concat([p[s].split(d)[0]]), [p[s].split(d)[1]].concat(p.slice(s + 1))];
445        return (
446            (a = a.map(function (e, n) {
447                var i = (1 === n ? !r : r) ? "height" : "width",
448                    p = !1;
449                return e
450                    .reduce(function (e, t) {
451                        return "" === e[e.length - 1] && -1 !== ["+", "-"].indexOf(t) ? ((e[e.length - 1] = t), (p = !0), e) : p ? ((e[e.length - 1] += t), (p = !1), e) : e.concat(t);
452                    }, [])
453                    .map(function (e) {
454                        return _(e, i, t, o);
455                    });
456            })),
457            a.forEach(function (e, t) {
458                e.forEach(function (o, n) {
459                    Y(o) && (i[t] += o * ("-" === e[n - 1] ? -1 : 1));
460                });
461            }),
462            i
463        );
464    }
465    function J(e, t) {
466        var o,
467            n = t.offset,
468            i = e.placement,
469            r = e.offsets,
470            p = r.popper,
471            s = r.reference,
472            d = i.split("-")[0];
473        return (
474            (o = Y(+n) ? [+n, 0] : X(n, p, s, d)),
475            "left" === d ? ((p.top += o[0]), (p.left -= o[1])) : "right" === d ? ((p.top += o[0]), (p.left += o[1])) : "top" === d ? ((p.left += o[0]), (p.top -= o[1])) : "bottom" === d && ((p.left += o[0]), (p.top += o[1])),
476            (e.popper = p),
477            e
478        );
479    }
480    var Q = Math.min,
481        Z = Math.floor,
482        $ = Math.round,
483        ee = Math.max,
484        te = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator,
485        oe = (function () {
486            for (var e = ["Edge", "Trident", "Firefox"], t = 0; t < e.length; t += 1) if (te && 0 <= navigator.userAgent.indexOf(e[t])) return 1;
487            return 0;
488        })(),
489        ne = te && window.Promise,
490        ie = ne
491            ? function (e) {
492                  var t = !1;
493                  return function () {
494                      t ||
495                          ((t = !0),
496                          window.Promise.resolve().then(function () {
497                              (t = !1), e();
498                          }));
499                  };
500              }
501            : function (e) {
502                  var t = !1;
503                  return function () {
504                      t ||
505                          ((t = !0),
506                          setTimeout(function () {
507                              (t = !1), e();
508                          }, oe));
509                  };
510              },
511        re = te && !!(window.MSInputMethodContext && document.documentMode),
512        pe = te && /MSIE 10/.test(navigator.userAgent),
513        se = function (e, t) {
514            if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
515        },
516        de = (function () {
517            function e(e, t) {
518                for (var o, n = 0; n < t.length; n++) (o = t[n]), (o.enumerable = o.enumerable || !1), (o.configurable = !0), "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);
519            }
520            return function (t, o, n) {
521                return o && e(t.prototype, o), n && e(t, n), t;
522            };
523        })(),
524        ae = function (e, t, o) {
525            return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = o), e;
526        },
527        le =
528            Object.assign ||
529            function (e) {
530                for (var t, o = 1; o < arguments.length; o++) for (var n in ((t = arguments[o]), t)) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
531                return e;
532            },
533        fe = te && /Firefox/i.test(navigator.userAgent),
534        me = ["auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start"],
535        he = me.slice(3),
536        ce = { FLIP: "flip", CLOCKWISE: "clockwise", COUNTERCLOCKWISE: "counterclockwise" },
537        ge = (function () {
538            function t(o, n) {
539                var i = this,
540                    r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {};
541                se(this, t),
542                    (this.scheduleUpdate = function () {
543                        return requestAnimationFrame(i.update);
544                    }),
545                    (this.update = ie(this.update.bind(this))),
546                    (this.options = le({}, t.Defaults, r)),
547                    (this.state = { isDestroyed: !1, isCreated: !1, scrollParents: [] }),
548                    (this.reference = o && o.jquery ? o[0] : o),
549                    (this.popper = n && n.jquery ? n[0] : n),
550                    (this.options.modifiers = {}),
551                    Object.keys(le({}, t.Defaults.modifiers, r.modifiers)).forEach(function (e) {
552                        i.options.modifiers[e] = le({}, t.Defaults.modifiers[e] || {}, r.modifiers ? r.modifiers[e] : {});
553                    }),
554                    (this.modifiers = Object.keys(this.options.modifiers)
555                        .map(function (e) {
556                            return le({ name: e }, i.options.modifiers[e]);
557                        })
558                        .sort(function (e, t) {
559                            return e.order - t.order;
560                        })),
561                    this.modifiers.forEach(function (t) {
562                        t.enabled && e(t.onLoad) && t.onLoad(i.reference, i.popper, i.options, t, i.state);
563                    }),
564                    this.update();
565                var p = this.options.eventsEnabled;
566                p && this.enableEventListeners(), (this.state.eventsEnabled = p);
567            }
568            return (
569                de(t, [
570                    {
571                        key: "update",
572                        value: function () {
573                            return k.call(this);
574                        },
575                    },
576                    {
577                        key: "destroy",
578                        value: function () {
579                            return H.call(this);
580                        },
581                    },
582                    {
583                        key: "enableEventListeners",
584                        value: function () {
585                            return I.call(this);
586                        },
587                    },
588                    {
589                        key: "disableEventListeners",
590                        value: function () {
591                            return U.call(this);
592                        },
593                    },
594                ]),
595                t
596            );
597        })();
598    return (
599        (ge.Utils = ("undefined" == typeof window ? global : window).PopperUtils),
600        (ge.placements = me),
601        (ge.Defaults = {
602            placement: "bottom",
603            positionFixed: !1,
604            eventsEnabled: !0,
605            removeOnDestroy: !1,
606            onCreate: function () {},
607            onUpdate: function () {},
608            modifiers: {
609                shift: {
610                    order: 100,
611                    enabled: !0,
612                    fn: function (e) {
613                        var t = e.placement,
614                            o = t.split("-")[0],
615                            n = t.split("-")[1];
616                        if (n) {
617                            var i = e.offsets,
618                                r = i.reference,
619                                p = i.popper,
620                                s = -1 !== ["bottom", "top"].indexOf(o),
621                                d = s ? "left" : "top",
622                                a = s ? "width" : "height",
623                                l = { start: ae({}, d, r[d]), end: ae({}, d, r[d] + r[a] - p[a]) };
624                            e.offsets.popper = le({}, p, l[n]);
625                        }
626                        return e;
627                    },
628                },
629                offset: { order: 200, enabled: !0, fn: J, offset: 0 },
630                preventOverflow: {
631                    order: 300,
632                    enabled: !0,
633                    fn: function (e, t) {
634                        var o = t.boundariesElement || p(e.instance.popper);
635                        e.instance.reference === o && (o = p(o));
636                        var n = B("transform"),
637                            i = e.instance.popper.style,
638                            r = i.top,
639                            s = i.left,
640                            d = i[n];
641                        (i.top = ""), (i.left = ""), (i[n] = "");
642                        var a = v(e.instance.popper, e.instance.reference, t.padding, o, e.positionFixed);
643                        (i.top = r), (i.left = s), (i[n] = d), (t.boun
643daries = a);
644                        var l = t.priority,
645                            f = e.offsets.popper,
646                            m = {
647                                primary: function (e) {
648                                    var o = f[e];
649                                    return f[e] < a[e] && !t.escapeWithReference && (o = ee(f[e], a[e])), ae({}, e, o);
650                                },
651                                secondary: function (e) {
652                                    var o = "right" === e ? "left" : "top",
653                                        n = f[o];
654                                    return f[e] > a[e] && !t.escapeWithReference && (n = Q(f[o], a[e] - ("right" === e ? f.width : f.height))), ae({}, o, n);
655                                },
656                            };
657                        return (
658                            l.forEach(function (e) {
659                                var t = -1 === ["left", "top"].indexOf(e) ? "secondary" : "primary";
660                                f = le({}, f, m[t](e));
661                            }),
662                            (e.offsets.popper = f),
663                            e
664                        );
665                    },
666                    priority: ["left", "right", "top", "bottom"],
667                    padding: 5,
668                    boundariesElement: "scrollParent",
669                },
670                keepTogether: {
671                    order: 400,
672                    enabled: !0,
673                    fn: function (e) {
674                        var t = e.offsets,
675                            o = t.popper,
676                            n = t.reference,
677                            i = e.placement.split("-")[0],
678                            r = Z,
679                            p = -1 !== ["top", "bottom"].indexOf(i),
680                            s = p ? "right" : "bottom",
681                            d = p ? "left" : "top",
682                            a = p ? "width" : "height";
683                        return o[s] < r(n[d]) && (e.offsets.popper[d] = r(n[d]) - o[a]), o[d] > r(n[s]) && (e.offsets.popper[d] = r(n[s])), e;
684                    },
685                },
686                arrow: {
687                    order: 500,
688                    enabled: !0,
689                    fn: function (e, o) {
690                        var n;
691                        if (!K(e.instance.modifiers, "arrow", "keepTogether")) return e;
692                        var i = o.element;
693                        if ("string" == typeof i) {
694                            if (((i = e.instance.popper.querySelector(i)), !i)) return e;
695                        } else if (!e.instance.popper.contains(i)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), e;
696                        var r = e.placement.split("-")[0],
697                            p = e.offsets,
698                            s = p.popper,
699                            d = p.reference,
700                            a = -1 !== ["left", "right"].indexOf(r),
701                            l = a ? "height" : "width",
702                            f = a ? "Top" : "Left",
703                            m = f.toLowerCase(),
704                            h = a ? "left" : "top",
705                            c = a ? "bottom" : "right",
706                            u = S(i)[l];
707                        d[c] - u < s[m] && (e.offsets.popper[m] -= s[m] - (d[c] - u)), d[m] + u > s[c] && (e.offsets.popper[m] += d[m] + u - s[c]), (e.offsets.popper = g(e.offsets.popper));
708                        var b = d[m] + d[l] / 2 - u / 2,
709                            w = t(e.instance.popper),
710                            y = parseFloat(w["margin" + f]),
711                            E = parseFloat(w["border" + f + "Width"]),
712                            v = b - e.offsets.popper[m] - y - E;
713                        return (v = ee(Q(s[l] - u, v), 0)), (e.arrowElement = i), (e.offsets.arrow = ((n = {}), ae(n, m, $(v)), ae(n, h, ""), n)), e;
714                    },
715                    element: "[x-arrow]",
716                },
717                flip: {
718                    order: 600,
719                    enabled: !0,
720                    fn: function (e, t) {
721                        if (W(e.instance.modifiers, "inner")) return e;
722                        if (e.flipped && e.placement === e.originalPlacement) return e;
723                        var o = v(e.instance.popper, e.instance.reference, t.padding, t.boundariesElement, e.positionFixed),
724                            n = e.placement.split("-")[0],
725                            i = T(n),
726                            r = e.placement.split("-")[1] || "",
727                            p = [];
728                        switch (t.behavior) {
729                            case ce.FLIP:
730                                p = [n, i];
731                                break;
732                            case ce.CLOCKWISE:
733                                p = G(n);
734                                break;
735                            case ce.COUNTERCLOCKWISE:
736                                p = G(n, !0);
737                                break;
738                            default:
739                                p = t.behavior;
740                        }
741                        return (
742                            p.forEach(function (s, d) {
743                                if (n !== s || p.length === d + 1) return e;
744                                (n = e.placement.split("-")[0]), (i = T(n));
745                                var a = e.offsets.popper,
746                                    l = e.offsets.reference,
747                                    f = Z,
748                                    m = ("left" === n && f(a.right) > f(l.left)) || ("right" === n && f(a.left) < f(l.right)) || ("top" === n && f(a.bottom) > f(l.top)) || ("bottom" === n && f(a.top) < f(l.bottom)),
749                                    h = f(a.left) < f(o.left),
750                                    c = f(a.right) > f(o.right),
751                                    g = f(a.top) < f(o.top),
752                                    u = f(a.bottom) > f(o.bottom),
753                                    b = ("left" === n && h) || ("right" === n && c) || ("top" === n && g) || ("bottom" === n && u),
754                                    w = -1 !== ["top", "bottom"].indexOf(n),
755                                    y = !!t.flipVariations && ((w && "start" === r && h) || (w && "end" === r && c) || (!w && "start" === r && g) || (!w && "end" === r && u)),
756                                    E = !!t.flipVariationsByContent && ((w && "start" === r && c) || (w && "end" === r && h) || (!w && "start" === r && u) || (!w && "end" === r && g)),
757                                    v = y || E;
758                                (m || b || v) &&
759                                    ((e.flipped = !0),
760                                    (m || b) && (n = p[d + 1]),
761                                    v && (r = z(r)),
762                                    (e.placement = n + (r ? "-" + r : "")),
763                                    (e.offsets.popper = le({}, e.offsets.popper, C(e.instance.popper, e.offsets.reference, e.placement))),
764                                    (e = P(e.instance.modifiers, e, "flip")));
765                            }),
766                            e
767                        );
768                    },
769                    behavior: "flip",
770                    padding: 5,
771                    boundariesElement: "viewport",
772                    flipVariations: !1,
773                    flipVariationsByContent: !1,
774                },
775                inner: {
776                    order: 700,
777                    enabled: !1,
778                    fn: function (e) {
779                        var t = e.placement,
780                            o = t.split("-")[0],
781                            n = e.offsets,
782                            i = n.popper,
783                            r = n.reference,
784                            p = -1 !== ["left", "right"].indexOf(o),
785                            s = -1 === ["top", "left"].indexOf(o);
786                        return (i[p ? "left" : "top"] = r[o] - (s ? i[p ? "width" : "height"] : 0)), (e.placement = T(t)), (e.offsets.popper = g(i)), e;
787                    },
788                },
789                hide: {
790                    order: 800,
791                    enabled: !0,
792                    fn: function (e) {
793                        if (!K(e.instance.modifiers, "hide", "preventOverflow")) return e;
794                        var t = e.offsets.reference,
795                            o = D(e.instance.modifiers, function (e) {
796                                return "preventOverflow" === e.name;
797                            }).boundaries;
798                        if (t.bottom < o.top || t.left > o.right || t.top > o.bottom || t.right < o.left) {
799                            if (!0 === e.hide) return e;
800                            (e.hide = !0), (e.attributes["x-out-of-boundaries"] = "");
801                        } else {
802                            if (!1 === e.hide) return e;
803                            (e.hide = !1), (e.attributes["x-out-of-boundaries"] = !1);
804                        }
805                        return e;
806                    },
807                },
808                computeStyle: {
809                    order: 850,
810                    enabled: !0,
811                    fn: function (e, t) {
812                        var o = t.x,
813                            n = t.y,
814                            i = e.offsets.popper,
815                            r = D(e.instance.modifiers, function (e) {
816                                return "applyStyle" === e.name;
817                            }).gpuAcceleration;
818                        void 0 !== r && console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");
819                        var s,
820                            d,
821                            a = void 0 === r ? t.gpuAcceleration : r,
822                            l = p(e.instance.popper),
823                            f = u(l),
824                            m = { position: i.position },
825                            h = q(e, 2 > window.devicePixelRatio || !fe),
826                            c = "bottom" === o ? "top" : "bottom",
827                            g = "right" === n ? "left" : "right",
828                            b = B("transform");
829                        if (
830                            ((d = "bottom" == c ? ("HTML" === l.nodeName ? -l.clientHeight + h.bottom : -f.height + h.bottom) : h.top),
831                            (s = "right" == g ? ("HTML" === l.nodeName ? -l.clientWidth + h.right : -f.width + h.right) : h.left),
832                            a && b)
833                        )
834                            (m[b] = "translate3d(" + s + "px, " + d + "px, 0)"), (m[c] = 0), (m[g] = 0), (m.willChange = "transform");
835                        else {
836                            var w = "bottom" == c ? -1 : 1,
837                                y = "right" == g ? -1 : 1;
838                            (m[c] = d * w), (m[g] = s * y), (m.willChange = c + ", " + g);
839                        }
840                        var E = { "x-placement": e.placement };
841                        return (e.attributes = le({}, E, e.attributes)), (e.styles = le({}, m, e.styles)), (e.arrowStyles = le({}, e.offsets.arrow, e.arrowStyles)), e;
842                    },
843                    gpuAcceleration: !0,
844                    x: "bottom",
845                    y: "right",
846                },
847                applyStyle: {
848                    order: 900,
849                    enabled: !0,
850                    fn: function (e) {
851                        return V(e.instance.popper, e.styles), j(e.instance.popper, e.attributes), e.arrowElement && Ob
851ject.keys(e.arrowStyles).length && V(e.arrowElement, e.arrowStyles), e;
852                    },
853                    onLoad: function (e, t, o, n, i) {
854                        var r = L(i, t, e, o.positionFixed),
855                            p = O(o.placement, r, t, e, o.modifiers.flip.boundariesElement, o.modifiers.flip.padding);
856                        return t.setAttribute("x-placement", p), V(t, { position: o.positionFixed ? "fixed" : "absolute" }), o;
857                    },
858                    gpuAcceleration: void 0,
859                },
860            },
861        }),
862        ge
863    );
864});
865//# sourceMappingURL=popper.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.