PageSourceSearch

https://www.helakuru.lk/assets/js/popper.js

js helakuru.lk collected 2026-09-29 22:36:56 UTC 29,033 bytes, 837 lines download raw bytes

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