PageSourceSearch

https://bi-data.ru/blog/wp-content/themes/techup/assets/js/popper.js?ver=1

js bi-data.ru collected 2026-10-08 12:05:29 UTC 37,387 bytes, 818 lines download raw bytes

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

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.