PageSourceSearch

https://www.minipactgames.com/_/oms-customer-front-office/index-B54dWoxf.js

js minipactgames.com collected 2026-09-24 11:06:15 UTC 29,653 bytes, 941 lines download raw bytes

vendor: 29,653 bytes, lines 1-941
1var B = "top", T = "bottom", L = "right", $ = "left", Pt = "auto", ft = [B, T, L, $], Q = "start", ot = "end", ue = "clippingParents", Kt = "viewport", nt = "popper", le = "reference", Ft = /* @__PURE__ */ ft.reduce(function(t, e) {
2  return t.concat([e + "-" + Q, e + "-" + ot]);
3}, []), Qt = /* @__PURE__ */ [].concat(ft, [Pt]).reduce(function(t, e) {
4  return t.concat([e, e + "-" + Q, e + "-" + ot]);
5}, []), ve = "beforeRead", de = "read", he = "afterRead", me = "beforeMain", ge = "main", ye = "afterMain", be = "beforeWrite", we = "write", xe = "afterWrite", Oe = [ve, de, he, me, ge, ye, be, we, xe];
6function V(t) {
7  return t ? (t.nodeName || "").toLowerCase() : null;
8}
9function S(t) {
10  if (t == null)
11    return window;
12  if (t.toString() !== "[object Window]") {
13    var e = t.ownerDocument;
14    return e && e.defaultView || window;
15  }
16  return t;
17}
18function J(t) {
19  var e = S(t).Element;
20  return t instanceof e || t instanceof Element;
21}
22function k(t) {
23  var e = S(t).HTMLElement;
24  return t instanceof e || t instanceof HTMLElement;
25}
26function Dt(t) {
27  if (typeof ShadowRoot > "u")
28    return !1;
29  var e = S(t).ShadowRoot;
30  return t instanceof e || t instanceof ShadowRoot;
31}
32function Ae(t) {
33  var e = t.state;
34  Object.keys(e.elements).forEach(function(r) {
35    var n = e.styles[r] || {}, a = e.attributes[r] || {}, i = e.elements[r];
36    !k(i) || !V(i) || (Object.assign(i.style, n), Object.keys(a).forEach(function(p) {
37      var s = a[p];
38      s === !1 ? i.removeAttribute(p) : i.setAttribute(p, s === !0 ? "" : s);
39    }));
40  });
41}
42function Ee(t) {
43  var e = t.state, r = {
44    popper: {
45      position: e.options.strategy,
46      left: "0",
47      top: "0",
48      margin: "0"
49    },
50    arrow: {
51      position: "absolute"
52    },
53    reference: {}
54  };
55  return Object.assign(e.elements.popper.style, r.popper), e.styles = r, e.elements.arrow && Object.assign(e.elements.arrow.style, r.arrow), function() {
56    Object.keys(e.elements).forEach(function(n) {
57      var a = e.elements[n], i = e.attributes[n] || {}, p = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : r[n]), s = p.reduce(function(o, c) {
58        return o[c] = "", o;
59      }, {});
60      !k(a) || !V(a) || (Object.assign(a.style, s), Object.keys(i).forEach(function(o) {
61        a.removeAttribute(o);
62      }));
63    });
64  };
65}
66const Pe = {
67  name: "applyStyles",
68  enabled: !0,
69  phase: "write",
70  fn: Ae,
71  effect: Ee,
72  requires: ["computeStyles"]
73};
74function H(t) {
75  return t.split("-")[0];
76}
77var G = Math.max, gt = Math.min, Z = Math.round;
78function At() {
79  var t = navigator.userAgentData;
80  return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
81    return e.brand + "/" + e.version;
82  }).join(" ") : navigator.userAgent;
83}
84function Zt() {
85  return !/^((?!chrome|android).)*safari/i.test(At());
86}
87function _(t, e, r) {
88  e === void 0 && (e = !1), r === void 0 && (r = !1);
89  var n = t.getBoundingClientRect(), a = 1, i = 1;
90  e && k(t) && (a = t.offsetWidth > 0 && Z(n.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && Z(n.height) / t.offsetHeight || 1);
91  var p = J(t) ? S(t) : window, s = p.visualViewport, o = !Zt() && r, c = (n.left + (o && s ? s.offsetLeft : 0)) / a, f = (n.top + (o && s ? s.offsetTop : 0)) / i, h = n.width / a, y = n.height / i;
92  return {
93    width: h,
94    height: y,
95    top: f,
96    right: c + h,
97    bottom: f + y,
98    left: c,
99    x: c,
100    y: f
101  };
102}
103function jt(t) {
104  var e = _(t), r = t.offsetWidth, n = t.offsetHeight;
105  return Math.abs(e.width - r) <= 1 && (r = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
106    x: t.offsetLeft,
107    y: t.offsetTop,
108    width: r,
109    height: n
110  };
111}
112function _t(t, e) {
113  var r = e.getRootNode && e.getRootNode();
114  if (t.contains(e))
115    return !0;
116  if (r && Dt(r)) {
117    var n = e;
118    do {
119      if (n && t.isSameNode(n))
120        return !0;
121      n = n.parentNode || n.host;
122    } while (n);
123  }
124  return !1;
125}
126function N(t) {
127  return S(t).getComputedStyle(t);
128}
129function De(t) {
130  return ["table", "td", "th"].indexOf(V(t)) >= 0;
131}
132function q(t) {
133  return ((J(t) ? t.ownerDocument : (
134    // $FlowFixMe[prop-missing]
135    t.document
136  )) || window.document).documentElement;
137}
138function yt(t) {
139  return V(t) === "html" ? t : (
140    // this is a quicker (but less type safe) way to save quite some bytes from the bundle
141    // $FlowFixMe[incompatible-return]
142    // $FlowFixMe[prop-missing]
143    t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
144    t.parentNode || // DOM Element detected
145    (Dt(t) ? t.host : null) || // ShadowRoot detected
146    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
147    q(t)
148  );
149}
150function qt(t) {
151  return !k(t) || // https://github.com/popperjs/popper-core/issues/837
152  N(t).position === "fixed" ? null : t.offsetParent;
153}
154function je(t) {
155  var e = /firefox/i.test(At()), r = /Trident/i.test(At());
156  if (r && k(t)) {
157    var n = N(t);
158    if (n.position === "fixed")
159      return null;
160  }
161  var a = yt(t);
162  for (Dt(a) && (a = a.host); k(a) && ["html", "body"].indexOf(V(a)) < 0; ) {
163    var i = N(a);
164    if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
165      return a;
166    a = a.parentNode;
167  }
168  return null;
169}
170function pt(t) {
171  for (var e = S(t), r = qt(t); r && De(r) && N(r).position === "static"; )
172    r = qt(r);
173  return r && (V(r) === "html" || V(r) === "body" && N(r).position === "static") ? e : r || je(t) || e;
174}
175function Rt(t) {
176  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
177}
178function at(t, e, r) {
179  return G(t, gt(e, r));
180}
181function Re(t, e, r) {
182  var n = at(t, e, r);
183  return n > r ? r : n;
184}
185function te() {
186  return {
187    top: 0,
188    right: 0,
189    bottom: 0,
190    left: 0
191  };
192}
193function ee(t) {
194  return Object.assign({}, te(), t);
195}
196function re(t, e) {
197  return e.reduce(function(r, n) {
198    return r[n] = t, r;
199  }, {});
200}
201var Be = function(e, r) {
202  return e = typeof e == "function" ? e(Object.assign({}, r.rects, {
203    placement: r.placement
204  })) : e, ee(typeof e != "number" ? e : re(e, ft));
205};
206function $e(t) {
207  var e, r = t.state, n = t.name, a = t.options, i = r.elements.arrow, p = r.modifiersData.popperOffsets, s = H(r.placement), o = Rt(s), c = [$, L].indexOf(s) >= 0, f = c ? "height" : "width";
208  if (!(!i || !p)) {
209    var h = Be(a.padding, r), y = jt(i), u = o === "y" ? B : $, w = o === "y" ? T : L, d = r.rects.reference[f] + r.rects.reference[o] - p[o] - r.rects.popper[f], v = p[o] - r.rects.reference[o], b = pt(i), O = b ? o === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, A = d / 2 - v / 2, l = h[u], m = O - y[f] - h[w], g = O / 2 - y[f] / 2 + A, x = at(l, g, m), D = o;
210    r.modifiersData[n] = (e = {}, e[D] = x, e.centerOffset = x - g, e);
211  }
212}
213function Ce(t) {
214  var e = t.state, r = t.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
215  a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || _t(e.elements.popper, a) && (e.elements.arrow = a));
216}
217const Se = {
218  name: "arrow",
219  enabled: !0,
220  phase: "main",
221  fn: $e,
222  effect: Ce,
223  requires: ["popperOffsets"],
224  requiresIfExists: ["preventOverflow"]
225};
226function tt(t) {
227  return t.split("-")[1];
228}
229var ke = {
230  top: "auto",
231  right: "auto",
232  bottom: "auto",
233  left: "auto"
234};
235function Te(t, e) {
236  var r = t.x, n = t.y, a = e.devicePixelRatio || 1;
237  return {
238    x: Z(r * a) / a || 0,
239    y: Z(n * a) / a || 0
240  };
241}
242function Xt(t) {
243  var e, r = t.popper, n = t.popperRect, a = t.placement, i = t.variation, p = t.offsets, s = t.position, o = t.gpuAcceleration, c = t.adaptive, f = t.roundOffsets, h = t.isFixed, y = p.x, u = y === void 0 ? 0 : y, w = p.y, d = w === void 0 ? 0 : w, v = typeof f == "function" ? f({
244    x: u,
245    y: d
246  }) : {
247    x: u,
248    y: d
249  };
250  u = v.x, d = v.y;
251  var b = p.hasOwnProperty("x"), O = p.hasOwnProperty("y"), A = $, l = B, m = window;
252  if (c) {
253    var g = pt(r), x = "clientHeight", D = "clientWidth";
254    if (g === S(r) && (g = q(r), N(g).position !== "static" && s === "absolute" && (x = "scrollHeight", D = "scrollWidth")), g = g, a === B || (a === $ || a === L) && i === ot) {
255      l = T;
256      var P = h && g === m && m.visualViewport ? m.visualViewport.height : (
257        // $FlowFixMe[prop-missing]
258        g[x]
259      );
260      d -= P - n.height, d *= o ? 1 : -1;
261    }
262    if (a === $ || (a === B || a === T) && i === ot) {
263      A = L;
264      var E = h && g === m && m.visualViewport ? m.visualViewport.width : (
265        // $FlowFixMe[prop-missing]
266        g[D]
267      );
268      u -= E - n.width, u *= o ? 1 : -1;
269    }
270  }
271  var j = Object.assign({
272    position: s
273  }, c && ke), M = f === !0 ? Te({
274    x: u,
275    y: d
276  }, S(r)) : {
277    x: u,
278    y: d
279  };
280  if (u = M.x, d = M.y, o) {
281    var R;
282    return Object.assign({}, j, (R = {}, R[l] = O ? "0" : "", R[A] = b ? "0" : "", R.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + d + "px)" : "translate3d(" + u + "px, " + d + "px, 0)", R));
283  }
284  return Object.assign({}, j, (e = {}, e[l] = O ? d + "px" : "", e[A] = b ? u + "px" : "", e.transform = "", e));
285}
286function Le(t) {
287  var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, i = r.adaptive, p = i === void 0 ? !0 : i, s = r.roundOffsets, o = s === void 0 ? !0 : s, c = {
288    placement: H(e.placement),
289    variation: tt(e.placement),
290    popper: e.elements.popper,
291    popperRect: e.rects.popper,
292    gpuAcceleration: a,
293    isFixed: e.options.strategy === "fixed"
294  };
295  e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Xt(Object.assign({}, c, {
296    offsets: e.modifiersData.popperOffsets,
297    position: e.options.strategy,
298    adaptive: p,
299    roundOffsets: o
300  })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Xt(Object.assign({}, c, {
301    offsets: e.modifiersData.arrow,
302    position: "absolute",
303    adaptive: !1,
304    roundOffsets: o
305  })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
306    "data-popper-placement": e.placement
307  });
308}
309const Me = {
310  name: "computeStyles",
311  enabled: !0,
312  phase: "beforeWrite",
313  fn: Le,
314  data: {}
315};
316var ht = {
317  passive: !0
318};
319function We(t) {
320  var e = t.state, r = t.instance, n = t.options, a = n.scroll, i = a === void 0 ? !0 : a, p = n.resize, s = p === void 0 ? !0 : p, o = S(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
321  return i && c.forEach(function(f) {
322    f.addEventListener("scroll", r.update, ht);
323  }), s && o.addEventListener("resize", r.update, ht), function() {
324    i && c.forEach(function(f) {
325      f.removeEventListener("scroll", r.update, ht);
326    }), s && o.removeEventListener("resize", r.update, ht);
327  };
328}
329const He = {
330  name: "eventListeners",
331  enabled: !0,
332  phase: "write",
333  fn: function() {
334  },
335  effect: We,
336  data: {}
337};
338var Ve = {
339  left: "right",
340  right: "left",
341  bottom: "top",
342  top: "bottom"
343};
344function mt(t) {
345  return t.replace(/left|right|bottom|top/g, function(e) {
346    return Ve[e];
347  });
348}
349var Ne = {
350  start: "end",
351  end: "start"
352};
353function It(t) {
354  return t.replace(/start|end/g, function(e) {
355    return Ne[e];
356  });
357}
358function Bt(t) {
359  var e = S(t), r = e.pageXOffset, n = e.pageYOffset;
360  return {
361    scrollLeft: r,
362    scrollTop: n
363  };
364}
365function $t(t) {
366  return _(q(t)).left + Bt(t).scrollLeft;
367}
368function Fe(t, e) {
369  var r = S(t), n = q(t), a = r.visualViewport, i = n.clientWidth, p = n.clientHeight, s = 0, o = 0;
370  if (a) {
371    i = a.width, p = a.height;
372    var c = Zt();
373    (c || !c && e === "fixed") && (s = a.offsetLeft, o = a.offsetTop);
374  }
375  return {
376    width: i,
377    height: p,
378    x: s + $t(t),
379    y: o
380  };
381}
382function qe(t) {
383  var e, r = q(t), n = Bt(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, i = G(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), p = G(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), s = -n.scrollLeft + $t(t), o = -n.scrollTop;
384  return N(a || r).direction === "rtl" && (s += G(r.clientWidth, a ? a.clientWidth : 0) - i), {
385    width: i,
386    height: p,
387    x: s,
388    y: o
389  };
390}
391function Ct(t) {
392  var e = N(t), r = e.overflow, n = e.overflowX, a = e.overflowY;
393  return /auto|scroll|overlay|hidden/.test(r + a + n);
394}
395function ne(t) {
396  return ["html", "body", "#document"].indexOf(V(t)) >= 0 ? t.ownerDocument.body : k(t) && Ct(t) ? t : ne(yt(t));
397}
398function it(t, e) {
399  var r;
400  e === void 0 && (e = []);
401  var n = ne(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body), i = S(n), p = a ? [i].concat(i.visualViewport || [], Ct(n) ? n : []) : n, s = e.concat(p);
402  return a ? s : (
403    // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
404    s.concat(it(yt(p)))
405  );
406}
407function Et(t) {
408  return Object.assign({}, t, {
409    left: t.x,
410    top: t.y,
411    right: t.x + t.width,
412    bottom: t.y + t.height
413  });
414}
415function Xe(t, e) {
416  var r = _(t, !1, e === "fixed");
417  return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r;
418}
419function Yt(t, e, r) {
420  return e === Kt ? Et(Fe(t, r)) : J(e) ? Xe(e, r) : Et(qe(q(t)));
421}
422function Ie(t) {
423  var e = it(yt(t)), r = ["absolute", "fixed"].indexOf(N(t).position) >= 0, n = r && k(t) ? pt(t) : t;
424  return J(n) ? e.filter(function(a) {
425    return J(a) && _t(a, n) && V(a) !== "body";
426  }) : [];
427}
428function Ye(t, e, r, n) {
429  var a = e === "clippingParents" ? Ie(t) : [].concat(e), i = [].concat(a, [r]), p = i[0], s = i.reduce(function(o, c) {
430    var f = Yt(t, c, n);
431    return o.top = G(f.top, o.top), o.right = gt(f.right, o.right), o.bottom = gt(f.bottom, o.bottom), o.left = G(f.left, o.left), o;
432  }, Yt(t, p, n));
433  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
434}
435function ae(t) {
436  var e = t.reference, r = t.element, n = t.placement, a = n ? H(n) : null, i = n ? tt(n) : null, p = e.x + e.width / 2 - r.width / 2, s = e.y + e.height / 2 - r.height / 2, o;
437  switch (a) {
438    case B:
439      o = {
440        x: p,
441        y: e.y - r.height
442      };
443      break;
444    case T:
445      o = {
446        x: p,
447        y: e.y + e.height
448      };
449      break;
450    case L:
451      o = {
452        x: e.x + e.width,
453        y: s
454      };
455      break;
456    case $:
457      o = {
458        x: e.x - r.width,
459        y: s
460      };
461      break;
462    default:
463      o = {
464        x: e.x,
465        y: e.y
466      };
467  }
468  var c = a ? Rt(a) : null;
469  if (c != null) {
470    var f = c === "y" ? "height" : "width";
471    switch (i) {
472      case Q:
473        o[c] = o[c] - (e[f] / 2 - r[f] / 2);
474        break;
475      case ot:
476        o[c] = o[c] + (e[f] / 2 - r[f] / 2);
477        break;
478    }
479  }
480  return o;
481}
482function st(t, e) {
483  e === void 0 && (e = {});
484  var r = e, n = r.placement, a = n === void 0 ? t.placement : n, i = r.strategy, p = i === void 0 ? t.strategy : i, s = r.boundary, o = s === void 0 ? ue : s, c = r.rootBoundary, f = c === void 0 ? Kt : c, h = r.elementContext, y = h === void 0 ? nt : h, u = r.altBoundary, w = u === void 0 ? !1 : u, d = r.padding, v = d === void 0 ? 0 : d, b = ee(typeof v != "number" ? v : re(v, ft)), O = y === nt ? le : nt, A = t.rects.popper, l = t.elements[w ? O : y], m = Ye(J(l) ? l : l.contextElement || q(t.elements.popper), o, f, p), g = _(t.elements.reference), x = ae({
485    reference: g,
486    element: A,
487    placement: a
488  }), D = Et(Object.assign({}, A, x)), P = y === nt ? D : g, E = {
489    top: m.top - P.top + b.top,
490    bottom: P.bottom - m.bottom + b.bottom,
491    left: m.left - P.left + b.left,
492    right: P.right - m.right + b.right
493  }, j = t.modifiersData.offset;
494  if (y === nt && j) {
495    var M = j[a];
496    Object.keys(E).forEach(function(R) {
497      var X = [L, T].indexOf(R) >= 0 ? 1 : -1, I = [B, T].indexOf(R) >= 0 ? "y" : "x";
498      E[R] += M[I] * X;
499    });
500  }
501  return E;
502}
503function ze(t, e) {
504  e === void 0 && (e = {});
505  var r = e, n = r.placement, a = r.boundary, i = r.rootBoundary, p = r.padding, s = r.flipVariations, o = r.allowedAutoPlacements, c = o === void 0 ? Qt : o, f = tt(n), h = f ? s ? Ft : Ft.filter(function(w) {
506    return tt(w) === f;
507  }) : ft, y = h.filter(function(w) {
508    return c.indexOf(w) >= 0;
509  });
510  y.length === 0 && (y = h);
511  var u = y.reduce(function(w, d) {
512    return w[d] = st(t, {
513      placement: d,
514      boundary: a,
515      rootBoundary: i,
516      padding: p
517    })[H(d)], w;
518  }, {});
519  return Object.keys(u).sort(function(w, d) {
520    return u[w] - u[d];
521  });
522}
523function Ue(t) {
524  if (H(t) === Pt)
525    return [];
526  var e = mt(t);
527  return [It(t), e, It(e)];
528}
529function Ge(t) {
530  var e = t.state, r = t.options, n = t.name;
531  if (!e.modifiersData[n]._skip) {
532    for (var a = r.mainAxis, i = a === void 0 ? !0 : a, p = r.altAxis, s = p === void 0 ? !0 : p, o = r.fallbackPlacements, c = r.padding, f = r.boundary, h = r.rootBoundary, y = r.altBoundary, u = r.flipVariations, w = u === void 0 ? !0 : u, d = r.allowedAutoPlacements, v = e.options.placement, b = H(v), O = b === v, A = o || (O || !w ? [mt(v)] : Ue(v)), l = [v].concat(A).reduce(function(K, F) {
533      return K.concat(H(F) === Pt ? ze(e, {
534        placement: F,
535        boundary: f,
536        rootBoundary: h,
537        padding: c,
538        flipVariations: w,
539        allowedAutoPlacements: d
540      }) : F);
541    }, []), m = e.rects.reference, g = e.rects.popper, x = /* @__PURE__ */ new Map(), D = !0, P = l[0], E = 0; E < l.length; E++) {
542      var j = l[E], M = H(j), R = tt(j) === Q, X = [B, T].indexOf(M) >= 0, I = X ? "width" : "height", C = st(e, {
543        placement: j,
544        boundary: f,
545        rootBoundary: h,
546        altBoundary: y,
547        padding: c
548      }), W = X ? R ? L : $ : R ? T : B;
549      m[I] > g[I] && (W = mt(W));
550      var ct = mt(W), Y = [];
551      if (i && Y.push(C[M] <= 0), s && Y.push(C[W] <= 0, C[ct] <= 0), Y.every(function(K) {
552        return K;
553      })) {
554        P = j, D = !1;
555        break;
556      }
557      x.set(j, Y);
558    }
559    if (D)
560      for (var ut = w ? 3 : 1, bt = function(F) {
561        var rt = l.find(function(vt) {
562          var z = x.get(vt);
563          if (z)
564            return z.slice(0, F).every(function(wt) {
565              return wt;
566            });
567        });
568        if (rt)
569          return P = rt, "break";
570      }, et = ut; et > 0; et--) {
571        var lt = bt(et);
572        if (lt === "break")
573          break;
574      }
575    e.placement !== P && (e.modifiersData[n]._skip = !0, e.placement = P, e.reset = !0);
576  }
577}
578const Je = {
579  name: "flip",
580  enabled: !0,
581  phase: "main",
582  fn: Ge,
583  requiresIfExists: ["offset"],
584  data: {
585    _skip: !1
586  }
587};
588function zt(t, e, r) {
589  return r === void 0 && (r = {
590    x: 0,
591    y: 0
592  }), {
593    top: t.top - e.height - r.y,
594    right: t.right - e.width + r.x,
595    bottom: t.bottom - e.height + r.y,
596    left: t.left - e.width - r.x
597  };
598}
599function Ut(t) {
600  return [B, L, T, $].some(function(e) {
601    return t[e] >= 0;
602  });
603}
604function Ke(t) {
605  var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, i = e.modifiersData.preventOverflow, p = st(e, {
606    elementContext: "reference"
607  }), s = st(e, {
608    altBoundary: !0
609  }), o = zt(p, n), c = zt(s, a, i), f = Ut(o), h = Ut(c);
610  e.modifiersData[r] = {
611    referenceClippingOffsets: o,
612    popperEscapeOffsets: c,
613    isReferenceHidden: f,
614    hasPopperEscaped: h
615  }, e.attributes.popper = Object.assign({}, e.attributes.popper, {
616    "data-popper-reference-hidden": f,
617    "data-popper-escaped": h
618  });
619}
620const Qe = {
621  name: "hide",
622  enabled: !0,
623  phase: "main",
624  requiresIfExists: ["preventOverflow"],
625  fn: Ke
626};
627function Ze(t, e, r) {
628  var n = H(t), a = [$, B].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, e, {
629    placement: t
630  })) : r, p = i[0], s = i[1];
631  return p = p || 0, s = (s || 0) * a, [$, L].indexOf(n) >= 0 ? {
632    x: s,
633    y: p
634  } : {
635    x: p,
636    y: s
637  };
638}
639function _e(t) {
640  var e = t.state, r = t.options, n = t.name, a = r.offset, i = a === void 0 ? [0, 0] : a, p = Qt.reduce(function(f, h) {
641    return f[h] = Ze(h, e.rects, i), f;
642  }, {}), s = p[e.placement], o = s.x, c = s.y;
643  e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += o, e.modifiersData.popperOffsets.y += c), e.modifiersData[n] = p;
644}
645const tr = {
646  name: "offset",
647  enabled: !0,
648  phase: "main",
649  requires: ["popperOffsets"],
650  fn: _e
651};
652function er(t) {
653  var e = t.state, r = t.name;
654  e.modifiersData[r] = ae({
655    reference: e.rects.reference,
656    element: e.rects.popper,
657    placement: e.placement
658  });
659}
660const rr = {
661  name: "popperOffsets",
662  enabled: !0,
663  phase: "read",
664  fn: er,
665  data: {}
666};
667function nr(t) {
668  return t === "x" ? "y" : "x";
669}
670function ar(t) {
671  var e = t.state, r = t.options, n = t.name, a = r.mainAxis, i = a === void 0 ? !0 : a, p = r.altAxis, s = p === void 0 ? !1 : p, o = r.boundary, c = r.rootBoundary, f = r.altBoundary, h = r.padding, y = r.tether, u = y === void 0 ? !0 : y, w = r.tetherOffset, d = w === void 0 ? 0 : w, v = st(e, {
672    boundary: o,
673    rootBoundary: c,
674    padding: h,
675    altBoundary: f
676  }), b = H(e.placement), O = tt(e.placement), A = !O, l = Rt(b), m = nr(l), g = e.modifiersData.popperOffsets, x = e.rects.reference, D = e.rects.popper, P = typeof d == "function" ? d(Object.assign({}, e.rects, {
677    placement: e.placement
678  })) : d, E = typeof P == "number" ? {
679    mainAxis: P,
680    altAxis: P
681  } : Object.assign({
682    mainAxis: 0,
683    altAxis: 0
684  }, P), j = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, M = {
685    x: 0,
686    y: 0
687  };
688  if (g) {
689    if (i) {
690      var R, X = l === "y" ? B : $, I = l === "y" ? T : L, C = l === "y" ? "height" : "width", W = g[l], ct = W + v[X], Y = W - v[I], ut = u ? -D[C] / 2 : 0, bt = O === Q ? x[C] : D[C], et = O === Q ? -D[C] : -x[C], lt = e.elements.arrow, K = u && lt ? jt(lt) : {
691        width: 0,
692        height: 0
693      }, F = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : te(), rt = F[X], vt = F[I], z = at(0, x[C], K[C]), wt = A ? x[C] / 2 - ut - z - rt - E.mainAxis : bt - z - rt - E.mainAxis, ie = A ? -x[C] / 2 + ut + z + vt + E.mainAxis : et + z + vt + E.mainAxis, xt = e.elements.arrow && pt(e.elements.arrow), oe = xt ? l === "y" ? xt.clientTop || 0 : xt.clientLeft || 0 : 0, St = (R = j == null ? void 0 : j[l]) != null ? R : 0, se = W + wt - St - oe, fe = W + ie - St, kt = at(u ? gt(ct, se) : ct, W, u ? G(Y, fe) : Y);
694      g[l] = kt, M[l] = kt - W;
695    }
696    if (s) {
697      var Tt, pe = l === "x" ? B : $, ce = l === "x" ? T : L, U = g[m], dt = m === "y" ? "height" : "width", Lt = U + v[pe], Mt = U - v[ce], Ot = [B, $].indexOf(b) !== -1, Wt = (Tt = j == null ? void 0 : j[m]) != null ? Tt : 0, Ht = Ot ? Lt : U - x[dt] - D[dt] - Wt + E.altAxis, Vt = Ot ? U + x[dt] + D[dt] - Wt - E.altAxis : Mt, Nt = u && Ot ? Re(Ht, U, Vt) : at(u ? Ht : Lt, U, u ? Vt : Mt);
698      g[m] = Nt, M[m] = Nt - U;
699    }
700    e.modifiersData[n] = M;
701  }
702}
703const ir = {
704  name: "preventOverflow",
705  enabled: !0,
706  phase: "main",
707  fn: ar,
708  requiresIfExists: ["offset"]
709};
710function or(t) {
711  return {
712    scrollLeft: t.scrollLeft,
713    scrollTop: t.scrollTop
714  };
715}
716function sr(t) {
717  return t === S(t) || !k(t) ? Bt(t) : or(t);
718}
719function fr(t) {
720  var e = t.getBoundingClientRect(), r = Z(e.width) / t.offsetWidth || 1, n = Z(e.height) / t.offsetHeight || 1;
721  return r !== 1 || n !== 1;
722}
723function pr(t, e, r) {
724  r === void 0 && (r = !1);
725  var n = k(e), a = k(e) && fr(e), i = q(e), p = _(t, a, r), s = {
726    scrollLeft: 0,
727    scrollTop: 0
728  }, o = {
729    x: 0,
730    y: 0
731  };
732  return (n || !n && !r) && ((V(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
733  Ct(i)) && (s = sr(e)), k(e) ? (o = _(e, !0), o.x += e.clientLeft, o.y += e.clientTop) : i && (o.x = $t(i))), {
734    x: p.left + s.scrollLeft - o.x,
735    y: p.top + s.scrollTop - o.y,
736    width: p.width,
737    height: p.height
738  };
739}
740function cr(t) {
741  var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
742  t.forEach(function(i) {
743    e.set(i.name, i);
744  });
745  function a(i) {
746    r.add(i.name);
747    var p = [].concat(i.requires || [], i.requiresIfExists || []);
748    p.forEach(function(s) {
749      if (!r.has(s)) {
750        var o = e.get(s);
751        o && a(o);
752      }
753    }), n.push(i);
754  }
755  return t.forEach(function(i) {
756    r.has(i.name) || a(i);
757  }), n;
758}
759function ur(t) {
760  var e = cr(t);
761  return Oe.reduce(function(r, n) {
762    return r.concat(e.filter(function(a) {
763      return a.phase === n;
764    }));
765  }, []);
766}
767function lr(t) {
768  var e;
769  return function() {
770    return e || (e = new Promise(function(r) {
771      Promise.resolve().then(function() {
772        e = void 0, r(t());
773      });
774    })), e;
775  };
776}
777function vr(t) {
778  var e = t.reduce(function(r, n) {
779    var a = r[n.name];
780    return r[n.name] = a ? Object.assign({}, a, n, {
781      options: Object.assign({}, a.options, n.options),
782      data: Object.assign({}, a.data, n.data)
783    }) : n, r;
784  }, {});
785  return Object.keys(e).map(function(r) {
786    return e[r];
787  });
788}
789var Gt = {
790  placement: "bottom",
791  modifiers: [],
792  strategy: "absolute"
793};
794function Jt() {
795  for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
796    e[r] = arguments[r];
797  return !e.some(function(n) {
798    return !(n && typeof n.getBoundingClientRect == "function");
799  });
800}
801function dr(t) {
802  t === void 0 && (t = {});
803  var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions, i = a === void 0 ? Gt : a;
804  return function(s, o, c) {
805    c === void 0 && (c = i);
806    var f = {
807      placement: "bottom",
808      orderedModifiers: [],
809      options: Object.assign({}, Gt, i),
810      modifiersData: {},
811      elements: {
812        reference: s,
813        popper: o
814      },
815      attributes: {},
816      styles: {}
817    }, h = [], y = !1, u = {
818      state: f,
819      setOptions: function(b) {
820        var O = typeof b == "function" ? b(f.options) : b;
821        d(), f.options = Object.assign({}, i, f.options, O), f.scrollParents = {
822          reference: J(s) ? it(s) : s.contextElement ? it(s.contextElement) : [],
823          popper: it(o)
824        };
825        var A = ur(vr([].concat(n, f.options.modifiers)));
826        return f.orderedModifiers = A.filter(function(l) {
827          return l.enabled;
828        }), w(), u.update();
829      },
830      // Sync update – it will always be executed, even if not necessary. This
831      // is useful for low frequency updates where sync behavior simplifies the
832      // logic.
833      // For high frequency updates (e.g. `resize` and `scroll` events), always
834      // prefer the async Popper#update method
835      forceUpdate: function() {
836        if (!y) {
837          var b = f.elements, O = b.reference, A = b.popper;
838          if (Jt(O, A)) {
839            f.rects = {
840              reference: pr(O, pt(A), f.options.strategy === "fixed"),
841              popper: jt(A)
842            }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(E) {
843              return f.modifiersData[E.name] = Object.assign({}, E.data);
844            });
845            for (var l = 0; l < f.orderedModifiers.length; l++) {
846              if (f.reset === !0) {
847                f.reset = !1, l = -1;
848                continue;
849              }
850              var m = f.orderedModifiers[l], g = m.fn, x = m.options, D = x === void 0 ? {} : x, P = m.name;
851              typeof g == "function" && (f = g({
852                state: f,
853                options: D,
854                name: P,
855                instance: u
856              }) || f);
857            }
858          }
859        }
860      },
861      // Async and optimistically optimized update – it will not be executed if
862      // not necessary (debounced to run at most once-per-tick)
863      update: lr(function() {
864        return new Promise(function(v) {
865          u.forceUpdate(), v(f);
866        });
867      }),
868      destroy: function() {
869        d(), y = !0;
870      }
871    };
872    if (!Jt(s, o))
873      return u;
874    u.setOptions(c).then(function(v) {
875      !y && c.onFirstUpdate && c.onFirstUpdate(v);
876    });
877    function w() {
878      f.orderedModifiers.forEach(function(v) {
879        var b = v.name, O = v.options, A = O === void 0 ? {} : O, l = v.effect;
880        if (typeof l == "function") {
881          var m = l({
882            state: f,
883            name: b,
884            instance: u,
885            options: A
886          }), g = function() {
887          };
888          h.push(m || g);
889        }
890      });
891    }
892    function d() {
893      h.forEach(function(v) {
894        return v();
895      }), h = [];
896    }
897    return u;
898  };
899}
900var hr = [He, rr, Me, Pe, tr, Je, ir, Se, Qe], mr = /* @__PURE__ */ dr({
901  defaultModifiers: hr
902});
903export {
904  ye as afterMain,
905  he as afterRead,
906  xe as afterWrite,
907  Pe as applyStyles,
908  Se as arrow,
909  Pt as auto,
910  ft as basePlacements,
911  me as beforeMain,
912  ve as beforeRead,
913  be as beforeWrite,
914  T as bottom,
915  ue as clippingParents,
916  Me as computeStyles,
917  mr as createPopper,
918  st as detectOverflow,
919  ot as end,
920  He as eventListeners,
921  Je as flip,
922  Qe as hide,
923  $ as left,
924  ge as main,
925  Oe as modifierPhases,
926  tr as offset,
927  Qt as placements,
928  nt as popper,
929  dr as popperGenerator,
930  rr as popperOffsets,
931  ir as preventOverflow,
932  de as read,
933  le as reference,
934  L as right,
935  Q as start,
936  B as top,
937  Ft as variationPlacements,
938  Kt as viewport,
939  we as write
940};
941//# sourceMappingURL=index-B54dWoxf.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.