@evercam/ui 0.0.58-beta.6 → 0.0.58-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import F from "vue";
1
+ import L from "vue";
2
2
  import Q from "hls.js";
3
- import R from "moment-timezone";
3
+ import I from "moment-timezone";
4
4
  import * as c from "d3";
5
- var _ = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(_ || {}), j = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(j || {}), re = /* @__PURE__ */ ((e) => (e.overview = "overview", e.detailed = "detailed", e.detailedBackground = "detailedBackground", e))(re || {}), U = /* @__PURE__ */ ((e) => (e.bars = "bars", e.dots = "dots", e.lineGraph = "lineGraph", e.barChart = "barGraph", e.milestones = "milestones", e))(U || {}), ie = /* @__PURE__ */ ((e) => (e.zoom = "zoom", e.autoPan = "autoPan", e.initial = "initial", e))(ie || {});
6
- const ut = F.extend({
5
+ var _ = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(_ || {}), j = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(j || {}), ie = /* @__PURE__ */ ((e) => (e.overview = "overview", e.detailed = "detailed", e.detailedBackground = "detailedBackground", e))(ie || {}), U = /* @__PURE__ */ ((e) => (e.bars = "bars", e.dots = "dots", e.lineGraph = "lineGraph", e.barChart = "barGraph", e.milestones = "milestones", e))(U || {}), re = /* @__PURE__ */ ((e) => (e.zoom = "zoom", e.autoPan = "autoPan", e.initial = "initial", e))(re || {});
6
+ const ut = L.extend({
7
7
  name: "EBadge",
8
8
  props: {
9
9
  text: {
@@ -53,14 +53,14 @@ const ut = F.extend({
53
53
  }
54
54
  }
55
55
  });
56
- function I(e, t, r, i, s, a, n, u) {
56
+ function R(e, t, i, r, s, a, n, u) {
57
57
  var l = typeof e == "function" ? e.options : e;
58
- t && (l.render = t, l.staticRenderFns = r, l._compiled = !0), i && (l.functional = !0), a && (l._scopeId = "data-v-" + a);
58
+ t && (l.render = t, l.staticRenderFns = i, l._compiled = !0), r && (l.functional = !0), a && (l._scopeId = "data-v-" + a);
59
59
  var o;
60
- if (n ? (o = function(d) {
61
- d = d || // cached call
60
+ if (n ? (o = function(h) {
61
+ h = h || // cached call
62
62
  this.$vnode && this.$vnode.ssrContext || // stateful
63
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !d && typeof __VUE_SSR_CONTEXT__ != "undefined" && (d = __VUE_SSR_CONTEXT__), s && s.call(this, d), d && d._registeredComponents && d._registeredComponents.add(n);
63
+ this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !h && typeof __VUE_SSR_CONTEXT__ != "undefined" && (h = __VUE_SSR_CONTEXT__), s && s.call(this, h), h && h._registeredComponents && h._registeredComponents.add(n);
64
64
  }, l._ssrRegister = o) : s && (o = u ? function() {
65
65
  s.call(
66
66
  this,
@@ -69,13 +69,13 @@ function I(e, t, r, i, s, a, n, u) {
69
69
  } : s), o)
70
70
  if (l.functional) {
71
71
  l._injectStyles = o;
72
- var h = l.render;
72
+ var d = l.render;
73
73
  l.render = function(f, g) {
74
- return o.call(g), h(f, g);
74
+ return o.call(g), d(f, g);
75
75
  };
76
76
  } else {
77
- var p = l.beforeCreate;
78
- l.beforeCreate = p ? [].concat(p, o) : [o];
77
+ var m = l.beforeCreate;
78
+ l.beforeCreate = m ? [].concat(m, o) : [o];
79
79
  }
80
80
  return {
81
81
  exports: e,
@@ -83,9 +83,9 @@ function I(e, t, r, i, s, a, n, u) {
83
83
  };
84
84
  }
85
85
  var dt = function() {
86
- var t = this, r = t._self._c;
87
- return r("span", { staticClass: "e-badge", class: t.badgeClasses }, [t.showText ? r("span", [t._v(t._s(t.text))]) : t._e()]);
88
- }, ht = [], ft = /* @__PURE__ */ I(
86
+ var t = this, i = t._self._c;
87
+ return i("span", { staticClass: "e-badge", class: t.badgeClasses }, [t.showText ? i("span", [t._v(t._s(t.text))]) : t._e()]);
88
+ }, ht = [], ft = /* @__PURE__ */ R(
89
89
  ut,
90
90
  dt,
91
91
  ht,
@@ -95,10 +95,10 @@ var dt = function() {
95
95
  null,
96
96
  null
97
97
  );
98
- const Ge = ft.exports, mt = F.extend({
98
+ const Re = ft.exports, mt = L.extend({
99
99
  name: "EAvatar",
100
100
  components: {
101
- Badge: Ge
101
+ Badge: Re
102
102
  },
103
103
  props: {
104
104
  size: {
@@ -148,13 +148,13 @@ const Ge = ft.exports, mt = F.extend({
148
148
  }
149
149
  });
150
150
  var pt = function() {
151
- var t = this, r = t._self._c;
152
- return r("div", { staticClass: "e-avatar e-relative", class: t.avatarClasses }, [t._t("default", function() {
153
- return [t.image ? r("img", { staticClass: "e-avatar__image e-w-full e-h-full e-object-cover e-rounded-full", attrs: { src: t.image } }) : t._e()];
154
- }), t.showBadge ? r("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [t._t("badge", function() {
155
- return [r("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
151
+ var t = this, i = t._self._c;
152
+ return i("div", { staticClass: "e-avatar e-relative", class: t.avatarClasses }, [t._t("default", function() {
153
+ return [t.image ? i("img", { staticClass: "e-avatar__image e-w-full e-h-full e-object-cover e-rounded-full", attrs: { src: t.image } }) : t._e()];
154
+ }), t.showBadge ? i("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [t._t("badge", function() {
155
+ return [i("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
156
156
  })], 2) : t._e()], 2);
157
- }, gt = [], vt = /* @__PURE__ */ I(
157
+ }, gt = [], vt = /* @__PURE__ */ R(
158
158
  mt,
159
159
  pt,
160
160
  gt,
@@ -168,7 +168,7 @@ const yt = vt.exports;
168
168
  function bt(e) {
169
169
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
170
170
  }
171
- var Re = {}, Ie = {}, ge = {};
171
+ var Ie = {}, je = {}, ve = {};
172
172
  (function(e) {
173
173
  Object.defineProperty(e, "__esModule", {
174
174
  value: !0
@@ -178,24 +178,24 @@ var Re = {}, Ie = {}, ge = {};
178
178
  return t;
179
179
  }
180
180
  });
181
- function t(r) {
182
- if (r = `${r}`, r === "0")
181
+ function t(i) {
182
+ if (i = `${i}`, i === "0")
183
183
  return "0";
184
- if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))
185
- return r.replace(/^[+-]?/, (s) => s === "-" ? "" : "-");
186
- let i = [
184
+ if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(i))
185
+ return i.replace(/^[+-]?/, (s) => s === "-" ? "" : "-");
186
+ let r = [
187
187
  "var",
188
188
  "calc",
189
189
  "min",
190
190
  "max",
191
191
  "clamp"
192
192
  ];
193
- for (const s of i)
194
- if (r.includes(`${s}(`))
195
- return `calc(${r} * -1)`;
193
+ for (const s of r)
194
+ if (i.includes(`${s}(`))
195
+ return `calc(${i} * -1)`;
196
196
  }
197
- })(ge);
198
- var je = {};
197
+ })(ve);
198
+ var We = {};
199
199
  (function(e) {
200
200
  Object.defineProperty(e, "__esModule", {
201
201
  value: !0
@@ -382,8 +382,8 @@ var je = {};
382
382
  "willChange",
383
383
  "content"
384
384
  ];
385
- })(je);
386
- var We = {};
385
+ })(We);
386
+ var Ne = {};
387
387
  (function(e) {
388
388
  Object.defineProperty(e, "__esModule", {
389
389
  value: !0
@@ -393,27 +393,27 @@ var We = {};
393
393
  return t;
394
394
  }
395
395
  });
396
- function t(r, i) {
397
- return r === void 0 ? i : Array.isArray(r) ? r : [
398
- ...new Set(i.filter((a) => r !== !1 && r[a] !== !1).concat(Object.keys(r).filter((a) => r[a] !== !1)))
396
+ function t(i, r) {
397
+ return i === void 0 ? r : Array.isArray(i) ? i : [
398
+ ...new Set(r.filter((a) => i !== !1 && i[a] !== !1).concat(Object.keys(i).filter((a) => i[a] !== !1)))
399
399
  ];
400
400
  }
401
- })(We);
402
- var ve = {}, se = {}, ye = { exports: {} }, B = String, Ne = function() {
401
+ })(Ne);
402
+ var ye = {}, se = {}, be = { exports: {} }, B = String, Ue = function() {
403
403
  return { isColorSupported: !1, reset: B, bold: B, dim: B, italic: B, underline: B, inverse: B, hidden: B, strikethrough: B, black: B, red: B, green: B, yellow: B, blue: B, magenta: B, cyan: B, white: B, gray: B, bgBlack: B, bgRed: B, bgGreen: B, bgYellow: B, bgBlue: B, bgMagenta: B, bgCyan: B, bgWhite: B };
404
404
  };
405
- ye.exports = Ne();
406
- ye.exports.createColors = Ne;
407
- var Ue = ye.exports;
405
+ be.exports = Ue();
406
+ be.exports.createColors = Ue;
407
+ var Ye = be.exports;
408
408
  (function(e) {
409
409
  Object.defineProperty(e, "__esModule", {
410
410
  value: !0
411
411
  });
412
412
  function t(l, o) {
413
- for (var h in o)
414
- Object.defineProperty(l, h, {
413
+ for (var d in o)
414
+ Object.defineProperty(l, d, {
415
415
  enumerable: !0,
416
- get: o[h]
416
+ get: o[d]
417
417
  });
418
418
  }
419
419
  t(e, {
@@ -424,22 +424,22 @@ var Ue = ye.exports;
424
424
  return u;
425
425
  }
426
426
  });
427
- const r = /* @__PURE__ */ i(Ue);
428
- function i(l) {
427
+ const i = /* @__PURE__ */ r(Ye);
428
+ function r(l) {
429
429
  return l && l.__esModule ? l : {
430
430
  default: l
431
431
  };
432
432
  }
433
433
  let s = /* @__PURE__ */ new Set();
434
- function a(l, o, h) {
435
- typeof process != "undefined" && process.env.JEST_WORKER_ID || h && s.has(h) || (h && s.add(h), console.warn(""), o.forEach((p) => console.warn(l, "-", p)));
434
+ function a(l, o, d) {
435
+ typeof process != "undefined" && process.env.JEST_WORKER_ID || d && s.has(d) || (d && s.add(d), console.warn(""), o.forEach((m) => console.warn(l, "-", m)));
436
436
  }
437
437
  function n(l) {
438
- return r.default.dim(l);
438
+ return i.default.dim(l);
439
439
  }
440
440
  const u = {
441
441
  info(l, o) {
442
- a(r.default.bold(r.default.cyan("info")), ...Array.isArray(l) ? [
442
+ a(i.default.bold(i.default.cyan("info")), ...Array.isArray(l) ? [
443
443
  l
444
444
  ] : [
445
445
  o,
@@ -447,7 +447,7 @@ var Ue = ye.exports;
447
447
  ]);
448
448
  },
449
449
  warn(l, o) {
450
- a(r.default.bold(r.default.yellow("warn")), ...Array.isArray(l) ? [
450
+ a(i.default.bold(i.default.yellow("warn")), ...Array.isArray(l) ? [
451
451
  l
452
452
  ] : [
453
453
  o,
@@ -455,7 +455,7 @@ var Ue = ye.exports;
455
455
  ]);
456
456
  },
457
457
  risk(l, o) {
458
- a(r.default.bold(r.default.magenta("risk")), ...Array.isArray(l) ? [
458
+ a(i.default.bold(i.default.magenta("risk")), ...Array.isArray(l) ? [
459
459
  l
460
460
  ] : [
461
461
  o,
@@ -473,13 +473,13 @@ var Ue = ye.exports;
473
473
  return s;
474
474
  }
475
475
  });
476
- const t = /* @__PURE__ */ r(se);
477
- function r(a) {
476
+ const t = /* @__PURE__ */ i(se);
477
+ function i(a) {
478
478
  return a && a.__esModule ? a : {
479
479
  default: a
480
480
  };
481
481
  }
482
- function i({ version: a, from: n, to: u }) {
482
+ function r({ version: a, from: n, to: u }) {
483
483
  t.default.warn(`${n}-color-renamed`, [
484
484
  `As of Tailwind CSS ${a}, \`${n}\` has been renamed to \`${u}\`.`,
485
485
  "Update your configuration file to silence this warning."
@@ -778,43 +778,43 @@ var Ue = ye.exports;
778
778
  950: "#4c0519"
779
779
  },
780
780
  get lightBlue() {
781
- return i({
781
+ return r({
782
782
  version: "v2.2",
783
783
  from: "lightBlue",
784
784
  to: "sky"
785
785
  }), this.sky;
786
786
  },
787
787
  get warmGray() {
788
- return i({
788
+ return r({
789
789
  version: "v3.0",
790
790
  from: "warmGray",
791
791
  to: "stone"
792
792
  }), this.stone;
793
793
  },
794
794
  get trueGray() {
795
- return i({
795
+ return r({
796
796
  version: "v3.0",
797
797
  from: "trueGray",
798
798
  to: "neutral"
799
799
  }), this.neutral;
800
800
  },
801
801
  get coolGray() {
802
- return i({
802
+ return r({
803
803
  version: "v3.0",
804
804
  from: "coolGray",
805
805
  to: "gray"
806
806
  }), this.gray;
807
807
  },
808
808
  get blueGray() {
809
- return i({
809
+ return r({
810
810
  version: "v3.0",
811
811
  from: "blueGray",
812
812
  to: "slate"
813
813
  }), this.slate;
814
814
  }
815
815
  };
816
- })(ve);
817
- var Ye = {};
816
+ })(ye);
817
+ var Ve = {};
818
818
  (function(e) {
819
819
  Object.defineProperty(e, "__esModule", {
820
820
  value: !0
@@ -824,21 +824,21 @@ var Ye = {};
824
824
  return t;
825
825
  }
826
826
  });
827
- function t(r, ...i) {
828
- for (let n of i) {
827
+ function t(i, ...r) {
828
+ for (let n of r) {
829
829
  for (let u in n) {
830
830
  var s;
831
- !(r == null || (s = r.hasOwnProperty) === null || s === void 0) && s.call(r, u) || (r[u] = n[u]);
831
+ !(i == null || (s = i.hasOwnProperty) === null || s === void 0) && s.call(i, u) || (i[u] = n[u]);
832
832
  }
833
833
  for (let u of Object.getOwnPropertySymbols(n)) {
834
834
  var a;
835
- !(r == null || (a = r.hasOwnProperty) === null || a === void 0) && a.call(r, u) || (r[u] = n[u]);
835
+ !(i == null || (a = i.hasOwnProperty) === null || a === void 0) && a.call(i, u) || (i[u] = n[u]);
836
836
  }
837
837
  }
838
- return r;
838
+ return i;
839
839
  }
840
- })(Ye);
841
- var Ve = {};
840
+ })(Ve);
841
+ var Xe = {};
842
842
  (function(e) {
843
843
  Object.defineProperty(e, "__esModule", {
844
844
  value: !0
@@ -848,25 +848,25 @@ var Ve = {};
848
848
  return t;
849
849
  }
850
850
  });
851
- function t(r) {
852
- if (Array.isArray(r))
853
- return r;
854
- let i = r.split("[").length - 1, s = r.split("]").length - 1;
855
- if (i !== s)
856
- throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
857
- return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
851
+ function t(i) {
852
+ if (Array.isArray(i))
853
+ return i;
854
+ let r = i.split("[").length - 1, s = i.split("]").length - 1;
855
+ if (r !== s)
856
+ throw new Error(`Path is invalid. Has unbalanced brackets: ${i}`);
857
+ return i.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
858
858
  }
859
- })(Ve);
860
- var Xe = {}, ae = {};
859
+ })(Xe);
860
+ var Ze = {}, ae = {};
861
861
  (function(e) {
862
862
  Object.defineProperty(e, "__esModule", {
863
863
  value: !0
864
864
  });
865
- function t(p, d) {
866
- for (var f in d)
867
- Object.defineProperty(p, f, {
865
+ function t(m, h) {
866
+ for (var f in h)
867
+ Object.defineProperty(m, f, {
868
868
  enumerable: !0,
869
- get: d[f]
869
+ get: h[f]
870
870
  });
871
871
  }
872
872
  t(e, {
@@ -877,13 +877,13 @@ var Xe = {}, ae = {};
877
877
  return o;
878
878
  },
879
879
  default: function() {
880
- return h;
880
+ return d;
881
881
  }
882
882
  });
883
- const r = /* @__PURE__ */ s(Ue), i = /* @__PURE__ */ s(se);
884
- function s(p) {
885
- return p && p.__esModule ? p : {
886
- default: p
883
+ const i = /* @__PURE__ */ s(Ye), r = /* @__PURE__ */ s(se);
884
+ function s(m) {
885
+ return m && m.__esModule ? m : {
886
+ default: m
887
887
  };
888
888
  }
889
889
  let a = {
@@ -907,33 +907,33 @@ var Xe = {}, ae = {};
907
907
  "generalizedModifiers"
908
908
  ]
909
909
  };
910
- function u(p, d) {
911
- if (n.future.includes(d)) {
910
+ function u(m, h) {
911
+ if (n.future.includes(h)) {
912
912
  var f, g, D;
913
- return p.future === "all" || ((D = (g = p == null || (f = p.future) === null || f === void 0 ? void 0 : f[d]) !== null && g !== void 0 ? g : a[d]) !== null && D !== void 0 ? D : !1);
913
+ return m.future === "all" || ((D = (g = m == null || (f = m.future) === null || f === void 0 ? void 0 : f[h]) !== null && g !== void 0 ? g : a[h]) !== null && D !== void 0 ? D : !1);
914
914
  }
915
- if (n.experimental.includes(d)) {
915
+ if (n.experimental.includes(h)) {
916
916
  var O, A, H;
917
- return p.experimental === "all" || ((H = (A = p == null || (O = p.experimental) === null || O === void 0 ? void 0 : O[d]) !== null && A !== void 0 ? A : a[d]) !== null && H !== void 0 ? H : !1);
917
+ return m.experimental === "all" || ((H = (A = m == null || (O = m.experimental) === null || O === void 0 ? void 0 : O[h]) !== null && A !== void 0 ? A : a[h]) !== null && H !== void 0 ? H : !1);
918
918
  }
919
919
  return !1;
920
920
  }
921
- function l(p) {
922
- if (p.experimental === "all")
921
+ function l(m) {
922
+ if (m.experimental === "all")
923
923
  return n.experimental;
924
- var d;
925
- return Object.keys((d = p == null ? void 0 : p.experimental) !== null && d !== void 0 ? d : {}).filter((f) => n.experimental.includes(f) && p.experimental[f]);
924
+ var h;
925
+ return Object.keys((h = m == null ? void 0 : m.experimental) !== null && h !== void 0 ? h : {}).filter((f) => n.experimental.includes(f) && m.experimental[f]);
926
926
  }
927
- function o(p) {
928
- if (process.env.JEST_WORKER_ID === void 0 && l(p).length > 0) {
929
- let d = l(p).map((f) => r.default.yellow(f)).join(", ");
930
- i.default.warn("experimental-flags-enabled", [
931
- `You have enabled experimental features: ${d}`,
927
+ function o(m) {
928
+ if (process.env.JEST_WORKER_ID === void 0 && l(m).length > 0) {
929
+ let h = l(m).map((f) => i.default.yellow(f)).join(", ");
930
+ r.default.warn("experimental-flags-enabled", [
931
+ `You have enabled experimental features: ${h}`,
932
932
  "Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
933
933
  ]);
934
934
  }
935
935
  }
936
- const h = n;
936
+ const d = n;
937
937
  })(ae);
938
938
  (function(e) {
939
939
  Object.defineProperty(e, "__esModule", {
@@ -944,12 +944,12 @@ var Xe = {}, ae = {};
944
944
  return a;
945
945
  }
946
946
  });
947
- const t = ae, r = /* @__PURE__ */ s(se);
948
- function i(n) {
947
+ const t = ae, i = /* @__PURE__ */ s(se);
948
+ function r(n) {
949
949
  if (typeof WeakMap != "function")
950
950
  return null;
951
951
  var u = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap();
952
- return (i = function(o) {
952
+ return (r = function(o) {
953
953
  return o ? l : u;
954
954
  })(n);
955
955
  }
@@ -960,14 +960,14 @@ var Xe = {}, ae = {};
960
960
  return {
961
961
  default: n
962
962
  };
963
- var l = i(u);
963
+ var l = r(u);
964
964
  if (l && l.has(n))
965
965
  return l.get(n);
966
- var o = {}, h = Object.defineProperty && Object.getOwnPropertyDescriptor;
967
- for (var p in n)
968
- if (p !== "default" && Object.prototype.hasOwnProperty.call(n, p)) {
969
- var d = h ? Object.getOwnPropertyDescriptor(n, p) : null;
970
- d && (d.get || d.set) ? Object.defineProperty(o, p, d) : o[p] = n[p];
966
+ var o = {}, d = Object.defineProperty && Object.getOwnPropertyDescriptor;
967
+ for (var m in n)
968
+ if (m !== "default" && Object.prototype.hasOwnProperty.call(n, m)) {
969
+ var h = d ? Object.getOwnPropertyDescriptor(n, m) : null;
970
+ h && (h.get || h.set) ? Object.defineProperty(o, m, h) : o[m] = n[m];
971
971
  }
972
972
  return o.default = n, l && l.set(n, o), o;
973
973
  }
@@ -1006,27 +1006,27 @@ var Xe = {}, ae = {};
1006
1006
  return !0;
1007
1007
  }
1008
1008
  return !1;
1009
- })() || r.default.warn("purge-deprecation", [
1009
+ })() || i.default.warn("purge-deprecation", [
1010
1010
  "The `purge`/`content` options have changed in Tailwind CSS v3.0.",
1011
1011
  "Update your configuration file to eliminate this warning.",
1012
1012
  "https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"
1013
1013
  ]), n.safelist = (() => {
1014
1014
  var o;
1015
- let { content: h, purge: p, safelist: d } = n;
1016
- return Array.isArray(d) ? d : Array.isArray(h == null ? void 0 : h.safelist) ? h.safelist : Array.isArray(p == null ? void 0 : p.safelist) ? p.safelist : Array.isArray(p == null || (o = p.options) === null || o === void 0 ? void 0 : o.safelist) ? p.options.safelist : [];
1015
+ let { content: d, purge: m, safelist: h } = n;
1016
+ return Array.isArray(h) ? h : Array.isArray(d == null ? void 0 : d.safelist) ? d.safelist : Array.isArray(m == null ? void 0 : m.safelist) ? m.safelist : Array.isArray(m == null || (o = m.options) === null || o === void 0 ? void 0 : o.safelist) ? m.options.safelist : [];
1017
1017
  })(), n.blocklist = (() => {
1018
1018
  let { blocklist: o } = n;
1019
1019
  if (Array.isArray(o)) {
1020
- if (o.every((h) => typeof h == "string"))
1020
+ if (o.every((d) => typeof d == "string"))
1021
1021
  return o;
1022
- r.default.warn("blocklist-invalid", [
1022
+ i.default.warn("blocklist-invalid", [
1023
1023
  "The `blocklist` option must be an array of strings.",
1024
1024
  "https://tailwindcss.com/docs/content-configuration#discarding-classes"
1025
1025
  ]);
1026
1026
  }
1027
1027
  return [];
1028
1028
  })(), typeof n.prefix == "function")
1029
- r.default.warn("prefix-function", [
1029
+ i.default.warn("prefix-function", [
1030
1030
  "As of Tailwind CSS v3.0, `prefix` cannot be a function.",
1031
1031
  "Update `prefix` in your configuration to be a string to eliminate this warning.",
1032
1032
  "https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"
@@ -1041,50 +1041,50 @@ var Xe = {}, ae = {};
1041
1041
  return o != null && o.relative ? o.relative : (0, t.flagEnabled)(n, "relativeContentPathsByDefault");
1042
1042
  })(),
1043
1043
  files: (() => {
1044
- let { content: o, purge: h } = n;
1045
- return Array.isArray(h) ? h : Array.isArray(h == null ? void 0 : h.content) ? h.content : Array.isArray(o) ? o : Array.isArray(o == null ? void 0 : o.content) ? o.content : Array.isArray(o == null ? void 0 : o.files) ? o.files : [];
1044
+ let { content: o, purge: d } = n;
1045
+ return Array.isArray(d) ? d : Array.isArray(d == null ? void 0 : d.content) ? d.content : Array.isArray(o) ? o : Array.isArray(o == null ? void 0 : o.content) ? o.content : Array.isArray(o == null ? void 0 : o.files) ? o.files : [];
1046
1046
  })(),
1047
1047
  extract: (() => {
1048
1048
  let o = (() => {
1049
- var d, f, g, D, O, A, H, z, L, G;
1050
- return !((d = n.purge) === null || d === void 0) && d.extract ? n.purge.extract : !((f = n.content) === null || f === void 0) && f.extract ? n.content.extract : !((g = n.purge) === null || g === void 0 || (D = g.extract) === null || D === void 0) && D.DEFAULT ? n.purge.extract.DEFAULT : !((O = n.content) === null || O === void 0 || (A = O.extract) === null || A === void 0) && A.DEFAULT ? n.content.extract.DEFAULT : !((H = n.purge) === null || H === void 0 || (z = H.options) === null || z === void 0) && z.extractors ? n.purge.options.extractors : !((L = n.content) === null || L === void 0 || (G = L.options) === null || G === void 0) && G.extractors ? n.content.options.extractors : {};
1051
- })(), h = {}, p = (() => {
1052
- var d, f, g, D;
1053
- if (!((d = n.purge) === null || d === void 0 || (f = d.options) === null || f === void 0) && f.defaultExtractor)
1049
+ var h, f, g, D, O, A, H, z, F, G;
1050
+ return !((h = n.purge) === null || h === void 0) && h.extract ? n.purge.extract : !((f = n.content) === null || f === void 0) && f.extract ? n.content.extract : !((g = n.purge) === null || g === void 0 || (D = g.extract) === null || D === void 0) && D.DEFAULT ? n.purge.extract.DEFAULT : !((O = n.content) === null || O === void 0 || (A = O.extract) === null || A === void 0) && A.DEFAULT ? n.content.extract.DEFAULT : !((H = n.purge) === null || H === void 0 || (z = H.options) === null || z === void 0) && z.extractors ? n.purge.options.extractors : !((F = n.content) === null || F === void 0 || (G = F.options) === null || G === void 0) && G.extractors ? n.content.options.extractors : {};
1051
+ })(), d = {}, m = (() => {
1052
+ var h, f, g, D;
1053
+ if (!((h = n.purge) === null || h === void 0 || (f = h.options) === null || f === void 0) && f.defaultExtractor)
1054
1054
  return n.purge.options.defaultExtractor;
1055
1055
  if (!((g = n.content) === null || g === void 0 || (D = g.options) === null || D === void 0) && D.defaultExtractor)
1056
1056
  return n.content.options.defaultExtractor;
1057
1057
  })();
1058
- if (p !== void 0 && (h.DEFAULT = p), typeof o == "function")
1059
- h.DEFAULT = o;
1058
+ if (m !== void 0 && (d.DEFAULT = m), typeof o == "function")
1059
+ d.DEFAULT = o;
1060
1060
  else if (Array.isArray(o))
1061
- for (let { extensions: d, extractor: f } of o != null ? o : [])
1062
- for (let g of d)
1063
- h[g] = f;
1061
+ for (let { extensions: h, extractor: f } of o != null ? o : [])
1062
+ for (let g of h)
1063
+ d[g] = f;
1064
1064
  else
1065
- typeof o == "object" && o !== null && Object.assign(h, o);
1066
- return h;
1065
+ typeof o == "object" && o !== null && Object.assign(d, o);
1066
+ return d;
1067
1067
  })(),
1068
1068
  transform: (() => {
1069
1069
  let o = (() => {
1070
- var p, d, f, g, D, O;
1071
- return !((p = n.purge) === null || p === void 0) && p.transform ? n.purge.transform : !((d = n.content) === null || d === void 0) && d.transform ? n.content.transform : !((f = n.purge) === null || f === void 0 || (g = f.transform) === null || g === void 0) && g.DEFAULT ? n.purge.transform.DEFAULT : !((D = n.content) === null || D === void 0 || (O = D.transform) === null || O === void 0) && O.DEFAULT ? n.content.transform.DEFAULT : {};
1072
- })(), h = {};
1073
- return typeof o == "function" && (h.DEFAULT = o), typeof o == "object" && o !== null && Object.assign(h, o), h;
1070
+ var m, h, f, g, D, O;
1071
+ return !((m = n.purge) === null || m === void 0) && m.transform ? n.purge.transform : !((h = n.content) === null || h === void 0) && h.transform ? n.content.transform : !((f = n.purge) === null || f === void 0 || (g = f.transform) === null || g === void 0) && g.DEFAULT ? n.purge.transform.DEFAULT : !((D = n.content) === null || D === void 0 || (O = D.transform) === null || O === void 0) && O.DEFAULT ? n.content.transform.DEFAULT : {};
1072
+ })(), d = {};
1073
+ return typeof o == "function" && (d.DEFAULT = o), typeof o == "object" && o !== null && Object.assign(d, o), d;
1074
1074
  })()
1075
1075
  };
1076
1076
  for (let o of n.content.files)
1077
1077
  if (typeof o == "string" && /{([^,]*?)}/g.test(o)) {
1078
- r.default.warn("invalid-glob-braces", [
1079
- `The glob pattern ${(0, r.dim)(o)} in your Tailwind CSS configuration is invalid.`,
1080
- `Update it to ${(0, r.dim)(o.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`
1078
+ i.default.warn("invalid-glob-braces", [
1079
+ `The glob pattern ${(0, i.dim)(o)} in your Tailwind CSS configuration is invalid.`,
1080
+ `Update it to ${(0, i.dim)(o.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`
1081
1081
  ]);
1082
1082
  break;
1083
1083
  }
1084
1084
  return n;
1085
1085
  }
1086
- })(Xe);
1087
- var Ze = {};
1086
+ })(Ze);
1087
+ var qe = {};
1088
1088
  (function(e) {
1089
1089
  Object.defineProperty(e, "__esModule", {
1090
1090
  value: !0
@@ -1094,14 +1094,14 @@ var Ze = {};
1094
1094
  return t;
1095
1095
  }
1096
1096
  });
1097
- function t(r) {
1098
- if (Object.prototype.toString.call(r) !== "[object Object]")
1097
+ function t(i) {
1098
+ if (Object.prototype.toString.call(i) !== "[object Object]")
1099
1099
  return !1;
1100
- const i = Object.getPrototypeOf(r);
1101
- return i === null || i === Object.prototype;
1100
+ const r = Object.getPrototypeOf(i);
1101
+ return r === null || r === Object.prototype;
1102
1102
  }
1103
- })(Ze);
1104
- var qe = {};
1103
+ })(qe);
1104
+ var Ke = {};
1105
1105
  (function(e) {
1106
1106
  Object.defineProperty(e, "__esModule", {
1107
1107
  value: !0
@@ -1111,14 +1111,14 @@ var qe = {};
1111
1111
  return t;
1112
1112
  }
1113
1113
  });
1114
- function t(r) {
1115
- return Array.isArray(r) ? r.map((i) => t(i)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([i, s]) => [
1116
- i,
1114
+ function t(i) {
1115
+ return Array.isArray(i) ? i.map((r) => t(r)) : typeof i == "object" && i !== null ? Object.fromEntries(Object.entries(i).map(([r, s]) => [
1116
+ r,
1117
1117
  t(s)
1118
- ])) : r;
1118
+ ])) : i;
1119
1119
  }
1120
- })(qe);
1121
- var Ke = {}, Qe = {};
1120
+ })(Ke);
1121
+ var Qe = {}, Je = {};
1122
1122
  (function(e) {
1123
1123
  Object.defineProperty(e, "__esModule", {
1124
1124
  value: !0
@@ -1128,11 +1128,11 @@ var Ke = {}, Qe = {};
1128
1128
  return t;
1129
1129
  }
1130
1130
  });
1131
- function t(r) {
1132
- return r.replace(/\\,/g, "\\2c ");
1131
+ function t(i) {
1132
+ return i.replace(/\\,/g, "\\2c ");
1133
1133
  }
1134
- })(Qe);
1135
- var be = {}, _e = {}, Je = {};
1134
+ })(Je);
1135
+ var _e = {}, xe = {}, et = {};
1136
1136
  (function(e) {
1137
1137
  Object.defineProperty(e, "__esModule", {
1138
1138
  value: !0
@@ -1884,7 +1884,7 @@ var be = {}, _e = {}, Je = {};
1884
1884
  50
1885
1885
  ]
1886
1886
  };
1887
- })(Je);
1887
+ })(et);
1888
1888
  (function(e) {
1889
1889
  Object.defineProperty(e, "__esModule", {
1890
1890
  value: !0
@@ -1898,20 +1898,20 @@ var be = {}, _e = {}, Je = {};
1898
1898
  }
1899
1899
  t(e, {
1900
1900
  parseColor: function() {
1901
- return d;
1901
+ return h;
1902
1902
  },
1903
1903
  formatColor: function() {
1904
1904
  return f;
1905
1905
  }
1906
1906
  });
1907
- const r = /* @__PURE__ */ i(Je);
1908
- function i(g) {
1907
+ const i = /* @__PURE__ */ r(et);
1908
+ function r(g) {
1909
1909
  return g && g.__esModule ? g : {
1910
1910
  default: g
1911
1911
  };
1912
1912
  }
1913
- let s = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, a = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, n = /(?:\d+|\d*\.\d+)%?/, u = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, o = /var\(--(?:[^ )]*?)\)/, h = new RegExp(`^(rgba?)\\(\\s*(${n.source}|${o.source})(?:${u.source}(${n.source}|${o.source}))?(?:${u.source}(${n.source}|${o.source}))?(?:${l.source}(${n.source}|${o.source}))?\\s*\\)$`), p = new RegExp(`^(hsla?)\\(\\s*((?:${n.source})(?:deg|rad|grad|turn)?|${o.source})(?:${u.source}(${n.source}|${o.source}))?(?:${u.source}(${n.source}|${o.source}))?(?:${l.source}(${n.source}|${o.source}))?\\s*\\)$`);
1914
- function d(g, { loose: D = !1 } = {}) {
1913
+ let s = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, a = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, n = /(?:\d+|\d*\.\d+)%?/, u = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, o = /var\(--(?:[^ )]*?)\)/, d = new RegExp(`^(rgba?)\\(\\s*(${n.source}|${o.source})(?:${u.source}(${n.source}|${o.source}))?(?:${u.source}(${n.source}|${o.source}))?(?:${l.source}(${n.source}|${o.source}))?\\s*\\)$`), m = new RegExp(`^(hsla?)\\(\\s*((?:${n.source})(?:deg|rad|grad|turn)?|${o.source})(?:${u.source}(${n.source}|${o.source}))?(?:${u.source}(${n.source}|${o.source}))?(?:${l.source}(${n.source}|${o.source}))?\\s*\\)$`);
1914
+ function h(g, { loose: D = !1 } = {}) {
1915
1915
  var O, A;
1916
1916
  if (typeof g != "string")
1917
1917
  return null;
@@ -1925,10 +1925,10 @@ var be = {}, _e = {}, Je = {};
1925
1925
  ],
1926
1926
  alpha: "0"
1927
1927
  };
1928
- if (g in r.default)
1928
+ if (g in i.default)
1929
1929
  return {
1930
1930
  mode: "rgb",
1931
- color: r.default[g].map((N) => N.toString())
1931
+ color: i.default[g].map((N) => N.toString())
1932
1932
  };
1933
1933
  let H = g.replace(a, (N, X, Y, x, k) => [
1934
1934
  "#",
@@ -1951,31 +1951,31 @@ var be = {}, _e = {}, Je = {};
1951
1951
  alpha: H[4] ? (parseInt(H[4], 16) / 255).toString() : void 0
1952
1952
  };
1953
1953
  var z;
1954
- let L = (z = g.match(h)) !== null && z !== void 0 ? z : g.match(p);
1955
- if (L === null)
1954
+ let F = (z = g.match(d)) !== null && z !== void 0 ? z : g.match(m);
1955
+ if (F === null)
1956
1956
  return null;
1957
1957
  let G = [
1958
- L[2],
1959
- L[3],
1960
- L[4]
1958
+ F[2],
1959
+ F[3],
1960
+ F[4]
1961
1961
  ].filter(Boolean).map((N) => N.toString());
1962
1962
  return G.length === 2 && G[0].startsWith("var(") ? {
1963
- mode: L[1],
1963
+ mode: F[1],
1964
1964
  color: [
1965
1965
  G[0]
1966
1966
  ],
1967
1967
  alpha: G[1]
1968
1968
  } : !D && G.length !== 3 || G.length < 3 && !G.some((N) => /^var\(.*?\)$/.test(N)) ? null : {
1969
- mode: L[1],
1969
+ mode: F[1],
1970
1970
  color: G,
1971
- alpha: (O = L[5]) === null || O === void 0 || (A = O.toString) === null || A === void 0 ? void 0 : A.call(O)
1971
+ alpha: (O = F[5]) === null || O === void 0 || (A = O.toString) === null || A === void 0 ? void 0 : A.call(O)
1972
1972
  };
1973
1973
  }
1974
1974
  function f({ mode: g, color: D, alpha: O }) {
1975
1975
  let A = O !== void 0;
1976
1976
  return g === "rgba" || g === "hsla" ? `${g}(${D.join(", ")}${A ? `, ${O}` : ""})` : `${g}(${D.join(" ")}${A ? ` / ${O}` : ""})`;
1977
1977
  }
1978
- })(_e);
1978
+ })(xe);
1979
1979
  (function(e) {
1980
1980
  Object.defineProperty(e, "__esModule", {
1981
1981
  value: !0
@@ -1989,22 +1989,22 @@ var be = {}, _e = {}, Je = {};
1989
1989
  }
1990
1990
  t(e, {
1991
1991
  withAlphaValue: function() {
1992
- return i;
1992
+ return r;
1993
1993
  },
1994
1994
  default: function() {
1995
1995
  return s;
1996
1996
  }
1997
1997
  });
1998
- const r = _e;
1999
- function i(a, n, u) {
1998
+ const i = xe;
1999
+ function r(a, n, u) {
2000
2000
  if (typeof a == "function")
2001
2001
  return a({
2002
2002
  opacityValue: n
2003
2003
  });
2004
- let l = (0, r.parseColor)(a, {
2004
+ let l = (0, i.parseColor)(a, {
2005
2005
  loose: !0
2006
2006
  });
2007
- return l === null ? u : (0, r.formatColor)({
2007
+ return l === null ? u : (0, i.formatColor)({
2008
2008
  ...l,
2009
2009
  alpha: n
2010
2010
  });
@@ -2014,34 +2014,34 @@ var be = {}, _e = {}, Je = {};
2014
2014
  if (typeof a == "function")
2015
2015
  return {
2016
2016
  [u]: "1",
2017
- ...Object.fromEntries(l.map((h) => [
2018
- h,
2017
+ ...Object.fromEntries(l.map((d) => [
2018
+ d,
2019
2019
  a({
2020
2020
  opacityVariable: u,
2021
2021
  opacityValue: `var(${u})`
2022
2022
  })
2023
2023
  ]))
2024
2024
  };
2025
- const o = (0, r.parseColor)(a);
2026
- return o === null ? Object.fromEntries(l.map((h) => [
2027
- h,
2025
+ const o = (0, i.parseColor)(a);
2026
+ return o === null ? Object.fromEntries(l.map((d) => [
2027
+ d,
2028
2028
  a
2029
- ])) : o.alpha !== void 0 ? Object.fromEntries(l.map((h) => [
2030
- h,
2029
+ ])) : o.alpha !== void 0 ? Object.fromEntries(l.map((d) => [
2030
+ d,
2031
2031
  a
2032
2032
  ])) : {
2033
2033
  [u]: "1",
2034
- ...Object.fromEntries(l.map((h) => [
2035
- h,
2036
- (0, r.formatColor)({
2034
+ ...Object.fromEntries(l.map((d) => [
2035
+ d,
2036
+ (0, i.formatColor)({
2037
2037
  ...o,
2038
2038
  alpha: `var(${u})`
2039
2039
  })
2040
2040
  ]))
2041
2041
  };
2042
2042
  }
2043
- })(be);
2044
- var xe = {}, et = {}, oe = {};
2043
+ })(_e);
2044
+ var Ce = {}, tt = {}, oe = {};
2045
2045
  (function(e) {
2046
2046
  Object.defineProperty(e, "__esModule", {
2047
2047
  value: !0
@@ -2051,13 +2051,13 @@ var xe = {}, et = {}, oe = {};
2051
2051
  return t;
2052
2052
  }
2053
2053
  });
2054
- function t(r, i) {
2054
+ function t(i, r) {
2055
2055
  let s = [], a = [], n = 0, u = !1;
2056
- for (let l = 0; l < r.length; l++) {
2057
- let o = r[l];
2058
- s.length === 0 && o === i[0] && !u && (i.length === 1 || r.slice(l, l + i.length) === i) && (a.push(r.slice(n, l)), n = l + i.length), u ? u = !1 : o === "\\" && (u = !0), o === "(" || o === "[" || o === "{" ? s.push(o) : (o === ")" && s[s.length - 1] === "(" || o === "]" && s[s.length - 1] === "[" || o === "}" && s[s.length - 1] === "{") && s.pop();
2056
+ for (let l = 0; l < i.length; l++) {
2057
+ let o = i[l];
2058
+ s.length === 0 && o === r[0] && !u && (r.length === 1 || i.slice(l, l + r.length) === r) && (a.push(i.slice(n, l)), n = l + r.length), u ? u = !1 : o === "\\" && (u = !0), o === "(" || o === "[" || o === "{" ? s.push(o) : (o === ")" && s[s.length - 1] === "(" || o === "]" && s[s.length - 1] === "[" || o === "}" && s[s.length - 1] === "{") && s.pop();
2059
2059
  }
2060
- return a.push(r.slice(n)), a;
2060
+ return a.push(i.slice(n)), a;
2061
2061
  }
2062
2062
  })(oe);
2063
2063
  (function(e) {
@@ -2065,10 +2065,10 @@ var xe = {}, et = {}, oe = {};
2065
2065
  value: !0
2066
2066
  });
2067
2067
  function t(l, o) {
2068
- for (var h in o)
2069
- Object.defineProperty(l, h, {
2068
+ for (var d in o)
2069
+ Object.defineProperty(l, d, {
2070
2070
  enumerable: !0,
2071
- get: o[h]
2071
+ get: o[d]
2072
2072
  });
2073
2073
  }
2074
2074
  t(e, {
@@ -2079,8 +2079,8 @@ var xe = {}, et = {}, oe = {};
2079
2079
  return u;
2080
2080
  }
2081
2081
  });
2082
- const r = oe;
2083
- let i = /* @__PURE__ */ new Set([
2082
+ const i = oe;
2083
+ let r = /* @__PURE__ */ new Set([
2084
2084
  "inset",
2085
2085
  "inherit",
2086
2086
  "initial",
@@ -2088,13 +2088,13 @@ var xe = {}, et = {}, oe = {};
2088
2088
  "unset"
2089
2089
  ]), s = /\ +(?![^(]*\))/g, a = /^-?(\d+|\.\d+)(.*?)$/g;
2090
2090
  function n(l) {
2091
- return (0, r.splitAtTopLevelOnly)(l, ",").map((h) => {
2092
- let p = h.trim(), d = {
2093
- raw: p
2094
- }, f = p.split(s), g = /* @__PURE__ */ new Set();
2091
+ return (0, i.splitAtTopLevelOnly)(l, ",").map((d) => {
2092
+ let m = d.trim(), h = {
2093
+ raw: m
2094
+ }, f = m.split(s), g = /* @__PURE__ */ new Set();
2095
2095
  for (let D of f)
2096
- a.lastIndex = 0, !g.has("KEYWORD") && i.has(D) ? (d.keyword = D, g.add("KEYWORD")) : a.test(D) ? g.has("X") ? g.has("Y") ? g.has("BLUR") ? g.has("SPREAD") || (d.spread = D, g.add("SPREAD")) : (d.blur = D, g.add("BLUR")) : (d.y = D, g.add("Y")) : (d.x = D, g.add("X")) : d.color ? (d.unknown || (d.unknown = []), d.unknown.push(D)) : d.color = D;
2097
- return d.valid = d.x !== void 0 && d.y !== void 0, d;
2096
+ a.lastIndex = 0, !g.has("KEYWORD") && r.has(D) ? (h.keyword = D, g.add("KEYWORD")) : a.test(D) ? g.has("X") ? g.has("Y") ? g.has("BLUR") ? g.has("SPREAD") || (h.spread = D, g.add("SPREAD")) : (h.blur = D, g.add("BLUR")) : (h.y = D, g.add("Y")) : (h.x = D, g.add("X")) : h.color ? (h.unknown || (h.unknown = []), h.unknown.push(D)) : h.color = D;
2097
+ return h.valid = h.x !== void 0 && h.y !== void 0, h;
2098
2098
  });
2099
2099
  }
2100
2100
  function u(l) {
@@ -2107,7 +2107,7 @@ var xe = {}, et = {}, oe = {};
2107
2107
  o.color
2108
2108
  ].filter(Boolean).join(" ") : o.raw).join(", ");
2109
2109
  }
2110
- })(et);
2110
+ })(tt);
2111
2111
  (function(e) {
2112
2112
  Object.defineProperty(e, "__esModule", {
2113
2113
  value: !0
@@ -2124,10 +2124,10 @@ var xe = {}, et = {}, oe = {};
2124
2124
  return o;
2125
2125
  },
2126
2126
  url: function() {
2127
- return p;
2127
+ return m;
2128
2128
  },
2129
2129
  number: function() {
2130
- return d;
2130
+ return h;
2131
2131
  },
2132
2132
  percentage: function() {
2133
2133
  return f;
@@ -2142,7 +2142,7 @@ var xe = {}, et = {}, oe = {};
2142
2142
  return z;
2143
2143
  },
2144
2144
  color: function() {
2145
- return L;
2145
+ return F;
2146
2146
  },
2147
2147
  image: function() {
2148
2148
  return G;
@@ -2160,13 +2160,13 @@ var xe = {}, et = {}, oe = {};
2160
2160
  return y;
2161
2161
  },
2162
2162
  absoluteSize: function() {
2163
- return w;
2163
+ return S;
2164
2164
  },
2165
2165
  relativeSize: function() {
2166
2166
  return E;
2167
2167
  }
2168
2168
  });
2169
- const r = _e, i = et, s = oe;
2169
+ const i = xe, r = tt, s = oe;
2170
2170
  let a = [
2171
2171
  "min",
2172
2172
  "max",
@@ -2178,22 +2178,22 @@ var xe = {}, et = {}, oe = {};
2178
2178
  }
2179
2179
  const u = "--tw-placeholder", l = new RegExp(u, "g");
2180
2180
  function o(v, T = !0) {
2181
- return v.startsWith("--") ? `var(${v})` : v.includes("url(") ? v.split(/(url\(.*?\))/g).filter(Boolean).map((P) => /^url\(.*?\)$/.test(P) ? P : o(P, !1)).join("") : (v = v.replace(/([^\\])_+/g, (P, M) => M + " ".repeat(P.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), T && (v = v.trim()), v = h(v), v);
2181
+ return v.startsWith("--") ? `var(${v})` : v.includes("url(") ? v.split(/(url\(.*?\))/g).filter(Boolean).map((P) => /^url\(.*?\)$/.test(P) ? P : o(P, !1)).join("") : (v = v.replace(/([^\\])_+/g, (P, M) => M + " ".repeat(P.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), T && (v = v.trim()), v = d(v), v);
2182
2182
  }
2183
- function h(v) {
2183
+ function d(v) {
2184
2184
  return v.replace(/(calc|min|max|clamp)\(.+\)/g, (T) => {
2185
2185
  let P = [];
2186
2186
  return T.replace(/var\((--.+?)[,)]/g, (M, te) => (P.push(te), M.replace(te, u))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => P.shift());
2187
2187
  });
2188
2188
  }
2189
- function p(v) {
2189
+ function m(v) {
2190
2190
  return v.startsWith("url(");
2191
2191
  }
2192
- function d(v) {
2192
+ function h(v) {
2193
2193
  return !isNaN(Number(v)) || n(v);
2194
2194
  }
2195
2195
  function f(v) {
2196
- return v.endsWith("%") && d(v.slice(0, -1)) || n(v);
2196
+ return v.endsWith("%") && h(v.slice(0, -1)) || n(v);
2197
2197
  }
2198
2198
  let D = `(?:${[
2199
2199
  "cm",
@@ -2240,21 +2240,21 @@ var xe = {}, et = {}, oe = {};
2240
2240
  return A.has(v);
2241
2241
  }
2242
2242
  function z(v) {
2243
- let T = (0, i.parseBoxShadowValue)(o(v));
2243
+ let T = (0, r.parseBoxShadowValue)(o(v));
2244
2244
  for (let P of T)
2245
2245
  if (!P.valid)
2246
2246
  return !1;
2247
2247
  return !0;
2248
2248
  }
2249
- function L(v) {
2249
+ function F(v) {
2250
2250
  let T = 0;
2251
- return (0, s.splitAtTopLevelOnly)(v, "_").every((M) => (M = o(M), M.startsWith("var(") ? !0 : (0, r.parseColor)(M, {
2251
+ return (0, s.splitAtTopLevelOnly)(v, "_").every((M) => (M = o(M), M.startsWith("var(") ? !0 : (0, i.parseColor)(M, {
2252
2252
  loose: !0
2253
2253
  }) !== null ? (T++, !0) : !1)) ? T > 0 : !1;
2254
2254
  }
2255
2255
  function G(v) {
2256
2256
  let T = 0;
2257
- return (0, s.splitAtTopLevelOnly)(v, ",").every((M) => (M = o(M), M.startsWith("var(") ? !0 : p(M) || X(M) || [
2257
+ return (0, s.splitAtTopLevelOnly)(v, ",").every((M) => (M = o(M), M.startsWith("var(") ? !0 : m(M) || X(M) || [
2258
2258
  "element(",
2259
2259
  "image(",
2260
2260
  "cross-fade(",
@@ -2309,7 +2309,7 @@ var xe = {}, et = {}, oe = {};
2309
2309
  function y(v) {
2310
2310
  return $.has(v);
2311
2311
  }
2312
- let S = /* @__PURE__ */ new Set([
2312
+ let w = /* @__PURE__ */ new Set([
2313
2313
  "xx-small",
2314
2314
  "x-small",
2315
2315
  "small",
@@ -2319,8 +2319,8 @@ var xe = {}, et = {}, oe = {};
2319
2319
  "x-large",
2320
2320
  "xxx-large"
2321
2321
  ]);
2322
- function w(v) {
2323
- return S.has(v);
2322
+ function S(v) {
2323
+ return w.has(v);
2324
2324
  }
2325
2325
  let b = /* @__PURE__ */ new Set([
2326
2326
  "larger",
@@ -2329,29 +2329,29 @@ var xe = {}, et = {}, oe = {};
2329
2329
  function E(v) {
2330
2330
  return b.has(v);
2331
2331
  }
2332
- })(xe);
2333
- var tt = {};
2332
+ })(Ce);
2333
+ var it = {};
2334
2334
  (function(e) {
2335
2335
  Object.defineProperty(e, "__esModule", {
2336
2336
  value: !0
2337
2337
  }), Object.defineProperty(e, "backgroundSize", {
2338
2338
  enumerable: !0,
2339
2339
  get: function() {
2340
- return i;
2340
+ return r;
2341
2341
  }
2342
2342
  });
2343
- const t = xe, r = oe;
2344
- function i(s) {
2343
+ const t = Ce, i = oe;
2344
+ function r(s) {
2345
2345
  let a = [
2346
2346
  "cover",
2347
2347
  "contain"
2348
2348
  ];
2349
- return (0, r.splitAtTopLevelOnly)(s, ",").every((n) => {
2350
- let u = (0, r.splitAtTopLevelOnly)(n, "_").filter(Boolean);
2349
+ return (0, i.splitAtTopLevelOnly)(s, ",").every((n) => {
2350
+ let u = (0, i.splitAtTopLevelOnly)(n, "_").filter(Boolean);
2351
2351
  return u.length === 1 && a.includes(u[0]) ? !0 : u.length !== 1 && u.length !== 2 ? !1 : u.every((l) => (0, t.length)(l) || (0, t.percentage)(l) || l === "auto");
2352
2352
  });
2353
2353
  }
2354
- })(tt);
2354
+ })(it);
2355
2355
  (function(e) {
2356
2356
  Object.defineProperty(e, "__esModule", {
2357
2357
  value: !0
@@ -2368,7 +2368,7 @@ var tt = {};
2368
2368
  return o;
2369
2369
  },
2370
2370
  asValue: function() {
2371
- return d;
2371
+ return h;
2372
2372
  },
2373
2373
  parseColorFormat: function() {
2374
2374
  return D;
@@ -2380,7 +2380,7 @@ var tt = {};
2380
2380
  return H;
2381
2381
  },
2382
2382
  typeMap: function() {
2383
- return L;
2383
+ return F;
2384
2384
  },
2385
2385
  coerceValue: function() {
2386
2386
  return X;
@@ -2389,7 +2389,7 @@ var tt = {};
2389
2389
  return Y;
2390
2390
  }
2391
2391
  });
2392
- const r = /* @__PURE__ */ l(Qe), i = be, s = xe, a = /* @__PURE__ */ l(ge), n = tt, u = ae;
2392
+ const i = /* @__PURE__ */ l(Je), r = _e, s = Ce, a = /* @__PURE__ */ l(ve), n = it, u = ae;
2393
2393
  function l(x) {
2394
2394
  return x && x.__esModule ? x : {
2395
2395
  default: x
@@ -2397,29 +2397,29 @@ var tt = {};
2397
2397
  }
2398
2398
  function o(x, k) {
2399
2399
  x.walkClasses(($) => {
2400
- $.value = k($.value), $.raws && $.raws.value && ($.raws.value = (0, r.default)($.raws.value));
2400
+ $.value = k($.value), $.raws && $.raws.value && ($.raws.value = (0, i.default)($.raws.value));
2401
2401
  });
2402
2402
  }
2403
- function h(x, k) {
2403
+ function d(x, k) {
2404
2404
  if (!f(x))
2405
2405
  return;
2406
2406
  let $ = x.slice(1, -1);
2407
2407
  if (k($))
2408
2408
  return (0, s.normalize)($);
2409
2409
  }
2410
- function p(x, k = {}, $) {
2410
+ function m(x, k = {}, $) {
2411
2411
  let y = k[x];
2412
2412
  if (y !== void 0)
2413
2413
  return (0, a.default)(y);
2414
2414
  if (f(x)) {
2415
- let S = h(x, $);
2416
- return S === void 0 ? void 0 : (0, a.default)(S);
2415
+ let w = d(x, $);
2416
+ return w === void 0 ? void 0 : (0, a.default)(w);
2417
2417
  }
2418
2418
  }
2419
- function d(x, k = {}, { validate: $ = () => !0 } = {}) {
2419
+ function h(x, k = {}, { validate: $ = () => !0 } = {}) {
2420
2420
  var y;
2421
- let S = (y = k.values) === null || y === void 0 ? void 0 : y[x];
2422
- return S !== void 0 ? S : k.supportsNegativeValues && x.startsWith("-") ? p(x.slice(1), k.values, $) : h(x, $);
2421
+ let w = (y = k.values) === null || y === void 0 ? void 0 : y[x];
2422
+ return w !== void 0 ? w : k.supportsNegativeValues && x.startsWith("-") ? m(x.slice(1), k.values, $) : d(x, $);
2423
2423
  }
2424
2424
  function f(x) {
2425
2425
  return x.startsWith("[") && x.endsWith("]");
@@ -2450,16 +2450,16 @@ var tt = {};
2450
2450
  function A(x, k = {}, { tailwindConfig: $ = {} } = {}) {
2451
2451
  var y;
2452
2452
  if (((y = k.values) === null || y === void 0 ? void 0 : y[x]) !== void 0) {
2453
- var S;
2454
- return D((S = k.values) === null || S === void 0 ? void 0 : S[x]);
2453
+ var w;
2454
+ return D((w = k.values) === null || w === void 0 ? void 0 : w[x]);
2455
2455
  }
2456
- let [w, b] = g(x);
2456
+ let [S, b] = g(x);
2457
2457
  if (b !== void 0) {
2458
2458
  var E, v, T, P;
2459
- let M = (P = (E = k.values) === null || E === void 0 ? void 0 : E[w]) !== null && P !== void 0 ? P : f(w) ? w.slice(1, -1) : void 0;
2460
- return M === void 0 ? void 0 : (M = D(M), f(b) ? (0, i.withAlphaValue)(M, O(b)) : ((v = $.theme) === null || v === void 0 || (T = v.opacity) === null || T === void 0 ? void 0 : T[b]) === void 0 ? void 0 : (0, i.withAlphaValue)(M, $.theme.opacity[b]));
2459
+ let M = (P = (E = k.values) === null || E === void 0 ? void 0 : E[S]) !== null && P !== void 0 ? P : f(S) ? S.slice(1, -1) : void 0;
2460
+ return M === void 0 ? void 0 : (M = D(M), f(b) ? (0, r.withAlphaValue)(M, O(b)) : ((v = $.theme) === null || v === void 0 || (T = v.opacity) === null || T === void 0 ? void 0 : T[b]) === void 0 ? void 0 : (0, r.withAlphaValue)(M, $.theme.opacity[b]));
2461
2461
  }
2462
- return d(x, k, {
2462
+ return h(x, k, {
2463
2463
  validate: s.color
2464
2464
  });
2465
2465
  }
@@ -2468,12 +2468,12 @@ var tt = {};
2468
2468
  return ($ = k.values) === null || $ === void 0 ? void 0 : $[x];
2469
2469
  }
2470
2470
  function z(x) {
2471
- return (k, $) => d(k, $, {
2471
+ return (k, $) => h(k, $, {
2472
2472
  validate: x
2473
2473
  });
2474
2474
  }
2475
- let L = {
2476
- any: d,
2475
+ let F = {
2476
+ any: h,
2477
2477
  color: A,
2478
2478
  url: z(s.url),
2479
2479
  image: z(s.image),
@@ -2489,7 +2489,7 @@ var tt = {};
2489
2489
  "relative-size": z(s.relativeSize),
2490
2490
  shadow: z(s.shadow),
2491
2491
  size: z(n.backgroundSize)
2492
- }, G = Object.keys(L);
2492
+ }, G = Object.keys(F);
2493
2493
  function N(x, k) {
2494
2494
  let $ = x.indexOf(k);
2495
2495
  return $ === -1 ? [
@@ -2502,44 +2502,44 @@ var tt = {};
2502
2502
  }
2503
2503
  function X(x, k, $, y) {
2504
2504
  if ($.values && k in $.values)
2505
- for (let { type: w } of x != null ? x : []) {
2506
- let b = L[w](k, $, {
2505
+ for (let { type: S } of x != null ? x : []) {
2506
+ let b = F[S](k, $, {
2507
2507
  tailwindConfig: y
2508
2508
  });
2509
2509
  if (b !== void 0)
2510
2510
  return [
2511
2511
  b,
2512
- w,
2512
+ S,
2513
2513
  null
2514
2514
  ];
2515
2515
  }
2516
2516
  if (f(k)) {
2517
- let w = k.slice(1, -1), [b, E] = N(w, ":");
2517
+ let S = k.slice(1, -1), [b, E] = N(S, ":");
2518
2518
  if (!/^[\w-_]+$/g.test(b))
2519
- E = w;
2519
+ E = S;
2520
2520
  else if (b !== void 0 && !G.includes(b))
2521
2521
  return [];
2522
2522
  if (E.length > 0 && G.includes(b))
2523
2523
  return [
2524
- d(`[${E}]`, $),
2524
+ h(`[${E}]`, $),
2525
2525
  b,
2526
2526
  null
2527
2527
  ];
2528
2528
  }
2529
- let S = Y(x, k, $, y);
2530
- for (let w of S)
2531
- return w;
2529
+ let w = Y(x, k, $, y);
2530
+ for (let S of w)
2531
+ return S;
2532
2532
  return [];
2533
2533
  }
2534
2534
  function* Y(x, k, $, y) {
2535
- let S = (0, u.flagEnabled)(y, "generalizedModifiers"), [w, b] = g(k);
2536
- if (S && $.modifiers != null && ($.modifiers === "any" || typeof $.modifiers == "object" && (b && f(b) || b in $.modifiers)) || (w = k, b = void 0), b !== void 0 && w === "" && (w = "DEFAULT"), b !== void 0 && typeof $.modifiers == "object") {
2535
+ let w = (0, u.flagEnabled)(y, "generalizedModifiers"), [S, b] = g(k);
2536
+ if (w && $.modifiers != null && ($.modifiers === "any" || typeof $.modifiers == "object" && (b && f(b) || b in $.modifiers)) || (S = k, b = void 0), b !== void 0 && S === "" && (S = "DEFAULT"), b !== void 0 && typeof $.modifiers == "object") {
2537
2537
  var v, T;
2538
2538
  let P = (T = (v = $.modifiers) === null || v === void 0 ? void 0 : v[b]) !== null && T !== void 0 ? T : null;
2539
2539
  P !== null ? b = P : f(b) && (b = O(b));
2540
2540
  }
2541
2541
  for (let { type: P } of x != null ? x : []) {
2542
- let M = L[P](w, $, {
2542
+ let M = F[P](S, $, {
2543
2543
  tailwindConfig: y
2544
2544
  });
2545
2545
  M !== void 0 && (yield [
@@ -2549,7 +2549,7 @@ var tt = {};
2549
2549
  ]);
2550
2550
  }
2551
2551
  }
2552
- })(Ke);
2552
+ })(Qe);
2553
2553
  var rt = {};
2554
2554
  (function(e) {
2555
2555
  Object.defineProperty(e, "__esModule", {
@@ -2560,8 +2560,8 @@ var rt = {};
2560
2560
  return t;
2561
2561
  }
2562
2562
  });
2563
- function t(r) {
2564
- return typeof r == "function" ? r({}) : r;
2563
+ function t(i) {
2564
+ return typeof i == "function" ? i({}) : i;
2565
2565
  }
2566
2566
  })(rt);
2567
2567
  (function(e) {
@@ -2573,7 +2573,7 @@ var rt = {};
2573
2573
  return $;
2574
2574
  }
2575
2575
  });
2576
- const t = /* @__PURE__ */ f(ge), r = /* @__PURE__ */ f(je), i = /* @__PURE__ */ f(We), s = /* @__PURE__ */ f(ve), a = Ye, n = Ve, u = Xe, l = /* @__PURE__ */ f(Ze), o = qe, h = Ke, p = be, d = /* @__PURE__ */ f(rt);
2576
+ const t = /* @__PURE__ */ f(ve), i = /* @__PURE__ */ f(We), r = /* @__PURE__ */ f(Ne), s = /* @__PURE__ */ f(ye), a = Ve, n = Xe, u = Ze, l = /* @__PURE__ */ f(qe), o = Ke, d = Qe, m = _e, h = /* @__PURE__ */ f(rt);
2577
2577
  function f(y) {
2578
2578
  return y && y.__esModule ? y : {
2579
2579
  default: y
@@ -2582,35 +2582,35 @@ var rt = {};
2582
2582
  function g(y) {
2583
2583
  return typeof y == "function";
2584
2584
  }
2585
- function D(y, ...S) {
2586
- let w = S.pop();
2587
- for (let b of S)
2585
+ function D(y, ...w) {
2586
+ let S = w.pop();
2587
+ for (let b of w)
2588
2588
  for (let E in b) {
2589
- let v = w(y[E], b[E]);
2590
- v === void 0 ? (0, l.default)(y[E]) && (0, l.default)(b[E]) ? y[E] = D({}, y[E], b[E], w) : y[E] = b[E] : y[E] = v;
2589
+ let v = S(y[E], b[E]);
2590
+ v === void 0 ? (0, l.default)(y[E]) && (0, l.default)(b[E]) ? y[E] = D({}, y[E], b[E], S) : y[E] = b[E] : y[E] = v;
2591
2591
  }
2592
2592
  return y;
2593
2593
  }
2594
2594
  const O = {
2595
2595
  colors: s.default,
2596
2596
  negative(y) {
2597
- return Object.keys(y).filter((S) => y[S] !== "0").reduce((S, w) => {
2598
- let b = (0, t.default)(y[w]);
2599
- return b !== void 0 && (S[`-${w}`] = b), S;
2597
+ return Object.keys(y).filter((w) => y[w] !== "0").reduce((w, S) => {
2598
+ let b = (0, t.default)(y[S]);
2599
+ return b !== void 0 && (w[`-${S}`] = b), w;
2600
2600
  }, {});
2601
2601
  },
2602
2602
  breakpoints(y) {
2603
- return Object.keys(y).filter((S) => typeof y[S] == "string").reduce((S, w) => ({
2604
- ...S,
2605
- [`screen-${w}`]: y[w]
2603
+ return Object.keys(y).filter((w) => typeof y[w] == "string").reduce((w, S) => ({
2604
+ ...w,
2605
+ [`screen-${S}`]: y[S]
2606
2606
  }), {});
2607
2607
  }
2608
2608
  };
2609
- function A(y, ...S) {
2610
- return g(y) ? y(...S) : y;
2609
+ function A(y, ...w) {
2610
+ return g(y) ? y(...w) : y;
2611
2611
  }
2612
2612
  function H(y) {
2613
- return y.reduce((S, { extend: w }) => D(S, w, (b, E) => b === void 0 ? [
2613
+ return y.reduce((w, { extend: S }) => D(w, S, (b, E) => b === void 0 ? [
2614
2614
  E
2615
2615
  ] : Array.isArray(b) ? [
2616
2616
  E,
@@ -2622,98 +2622,98 @@ var rt = {};
2622
2622
  }
2623
2623
  function z(y) {
2624
2624
  return {
2625
- ...y.reduce((S, w) => (0, a.defaults)(S, w), {}),
2625
+ ...y.reduce((w, S) => (0, a.defaults)(w, S), {}),
2626
2626
  // In order to resolve n config objects, we combine all of their `extend` properties
2627
2627
  // into arrays instead of objects so they aren't overridden.
2628
2628
  extend: H(y)
2629
2629
  };
2630
2630
  }
2631
- function L(y, S) {
2631
+ function F(y, w) {
2632
2632
  if (Array.isArray(y) && (0, l.default)(y[0]))
2633
- return y.concat(S);
2634
- if (Array.isArray(S) && (0, l.default)(S[0]) && (0, l.default)(y))
2633
+ return y.concat(w);
2634
+ if (Array.isArray(w) && (0, l.default)(w[0]) && (0, l.default)(y))
2635
2635
  return [
2636
2636
  y,
2637
- ...S
2637
+ ...w
2638
2638
  ];
2639
- if (Array.isArray(S))
2640
- return S;
2639
+ if (Array.isArray(w))
2640
+ return w;
2641
2641
  }
2642
- function G({ extend: y, ...S }) {
2643
- return D(S, y, (w, b) => !g(w) && !b.some(g) ? D({}, w, ...b, L) : (E, v) => D({}, ...[
2644
- w,
2642
+ function G({ extend: y, ...w }) {
2643
+ return D(w, y, (S, b) => !g(S) && !b.some(g) ? D({}, S, ...b, F) : (E, v) => D({}, ...[
2644
+ S,
2645
2645
  ...b
2646
- ].map((T) => A(T, E, v)), L));
2646
+ ].map((T) => A(T, E, v)), F));
2647
2647
  }
2648
2648
  function* N(y) {
2649
- let S = (0, n.toPath)(y);
2650
- if (S.length === 0 || (yield S, Array.isArray(y)))
2649
+ let w = (0, n.toPath)(y);
2650
+ if (w.length === 0 || (yield w, Array.isArray(y)))
2651
2651
  return;
2652
- let w = /^(.*?)\s*\/\s*([^/]+)$/, b = y.match(w);
2652
+ let S = /^(.*?)\s*\/\s*([^/]+)$/, b = y.match(S);
2653
2653
  if (b !== null) {
2654
2654
  let [, E, v] = b, T = (0, n.toPath)(E);
2655
2655
  T.alpha = v, yield T;
2656
2656
  }
2657
2657
  }
2658
2658
  function X(y) {
2659
- const S = (w, b) => {
2660
- for (const E of N(w)) {
2659
+ const w = (S, b) => {
2660
+ for (const E of N(S)) {
2661
2661
  let v = 0, T = y;
2662
2662
  for (; T != null && v < E.length; )
2663
- T = T[E[v++]], T = g(T) && (E.alpha === void 0 || v <= E.length - 1) ? T(S, O) : T;
2663
+ T = T[E[v++]], T = g(T) && (E.alpha === void 0 || v <= E.length - 1) ? T(w, O) : T;
2664
2664
  if (T !== void 0) {
2665
2665
  if (E.alpha !== void 0) {
2666
- let P = (0, h.parseColorFormat)(T);
2667
- return (0, p.withAlphaValue)(P, E.alpha, (0, d.default)(P));
2666
+ let P = (0, d.parseColorFormat)(T);
2667
+ return (0, m.withAlphaValue)(P, E.alpha, (0, h.default)(P));
2668
2668
  }
2669
2669
  return (0, l.default)(T) ? (0, o.cloneDeep)(T) : T;
2670
2670
  }
2671
2671
  }
2672
2672
  return b;
2673
2673
  };
2674
- return Object.assign(S, {
2675
- theme: S,
2674
+ return Object.assign(w, {
2675
+ theme: w,
2676
2676
  ...O
2677
- }), Object.keys(y).reduce((w, b) => (w[b] = g(y[b]) ? y[b](S, O) : y[b], w), {});
2677
+ }), Object.keys(y).reduce((S, b) => (S[b] = g(y[b]) ? y[b](w, O) : y[b], S), {});
2678
2678
  }
2679
2679
  function Y(y) {
2680
- let S = [];
2681
- return y.forEach((w) => {
2682
- S = [
2683
- ...S,
2684
- w
2680
+ let w = [];
2681
+ return y.forEach((S) => {
2682
+ w = [
2683
+ ...w,
2684
+ S
2685
2685
  ];
2686
2686
  var b;
2687
- const E = (b = w == null ? void 0 : w.plugins) !== null && b !== void 0 ? b : [];
2687
+ const E = (b = S == null ? void 0 : S.plugins) !== null && b !== void 0 ? b : [];
2688
2688
  E.length !== 0 && E.forEach((v) => {
2689
2689
  v.__isOptionsFunction && (v = v());
2690
2690
  var T;
2691
- S = [
2692
- ...S,
2691
+ w = [
2692
+ ...w,
2693
2693
  ...Y([
2694
2694
  (T = v == null ? void 0 : v.config) !== null && T !== void 0 ? T : {}
2695
2695
  ])
2696
2696
  ];
2697
2697
  });
2698
- }), S;
2698
+ }), w;
2699
2699
  }
2700
2700
  function x(y) {
2701
2701
  return [
2702
2702
  ...y
2703
- ].reduceRight((w, b) => g(b) ? b({
2704
- corePlugins: w
2705
- }) : (0, i.default)(b, w), r.default);
2703
+ ].reduceRight((S, b) => g(b) ? b({
2704
+ corePlugins: S
2705
+ }) : (0, r.default)(b, S), i.default);
2706
2706
  }
2707
2707
  function k(y) {
2708
2708
  return [
2709
2709
  ...y
2710
- ].reduceRight((w, b) => [
2711
- ...w,
2710
+ ].reduceRight((S, b) => [
2711
+ ...S,
2712
2712
  ...b
2713
2713
  ], []);
2714
2714
  }
2715
2715
  function $(y) {
2716
- let S = [
2716
+ let w = [
2717
2717
  ...Y(y),
2718
2718
  {
2719
2719
  prefix: "",
@@ -2721,15 +2721,15 @@ var rt = {};
2721
2721
  separator: ":"
2722
2722
  }
2723
2723
  ];
2724
- var w, b;
2724
+ var S, b;
2725
2725
  return (0, u.normalizeConfig)((0, a.defaults)({
2726
- theme: X(G(z(S.map((E) => (w = E == null ? void 0 : E.theme) !== null && w !== void 0 ? w : {})))),
2727
- corePlugins: x(S.map((E) => E.corePlugins)),
2726
+ theme: X(G(z(w.map((E) => (S = E == null ? void 0 : E.theme) !== null && S !== void 0 ? S : {})))),
2727
+ corePlugins: x(w.map((E) => E.corePlugins)),
2728
2728
  plugins: k(y.map((E) => (b = E == null ? void 0 : E.plugins) !== null && b !== void 0 ? b : []))
2729
- }, ...S));
2729
+ }, ...w));
2730
2730
  }
2731
- })(Ie);
2732
- var it = {}, _t = {
2731
+ })(je);
2732
+ var nt = {}, _t = {
2733
2733
  content: [],
2734
2734
  presets: [],
2735
2735
  darkMode: "media",
@@ -3729,8 +3729,8 @@ var it = {}, _t = {
3729
3729
  return s;
3730
3730
  }
3731
3731
  });
3732
- const t = /* @__PURE__ */ i(_t), r = ae;
3733
- function i(a) {
3732
+ const t = /* @__PURE__ */ r(_t), i = ae;
3733
+ function r(a) {
3734
3734
  return a && a.__esModule ? a : {
3735
3735
  default: a
3736
3736
  };
@@ -3739,13 +3739,13 @@ var it = {}, _t = {
3739
3739
  var n;
3740
3740
  const u = ((n = a == null ? void 0 : a.presets) !== null && n !== void 0 ? n : [
3741
3741
  t.default
3742
- ]).slice().reverse().flatMap((h) => s(h instanceof Function ? h() : h)), l = {
3742
+ ]).slice().reverse().flatMap((d) => s(d instanceof Function ? d() : d)), l = {
3743
3743
  // Add experimental configs here...
3744
3744
  respectDefaultRingColorOpacity: {
3745
3745
  theme: {
3746
- ringColor: ({ theme: h }) => ({
3746
+ ringColor: ({ theme: d }) => ({
3747
3747
  DEFAULT: "#3b82f67f",
3748
- ...h("colors")
3748
+ ...d("colors")
3749
3749
  })
3750
3750
  }
3751
3751
  },
@@ -3759,14 +3759,14 @@ var it = {}, _t = {
3759
3759
  textOpacity: !1
3760
3760
  }
3761
3761
  }
3762
- }, o = Object.keys(l).filter((h) => (0, r.flagEnabled)(a, h)).map((h) => l[h]);
3762
+ }, o = Object.keys(l).filter((d) => (0, i.flagEnabled)(a, d)).map((d) => l[d]);
3763
3763
  return [
3764
3764
  a,
3765
3765
  ...o,
3766
3766
  ...u
3767
3767
  ];
3768
3768
  }
3769
- })(it);
3769
+ })(nt);
3770
3770
  (function(e) {
3771
3771
  Object.defineProperty(e, "__esModule", {
3772
3772
  value: !0
@@ -3776,26 +3776,26 @@ var it = {}, _t = {
3776
3776
  return s;
3777
3777
  }
3778
3778
  });
3779
- const t = /* @__PURE__ */ i(Ie), r = /* @__PURE__ */ i(it);
3780
- function i(a) {
3779
+ const t = /* @__PURE__ */ r(je), i = /* @__PURE__ */ r(nt);
3780
+ function r(a) {
3781
3781
  return a && a.__esModule ? a : {
3782
3782
  default: a
3783
3783
  };
3784
3784
  }
3785
3785
  function s(...a) {
3786
- let [, ...n] = (0, r.default)(a[0]);
3786
+ let [, ...n] = (0, i.default)(a[0]);
3787
3787
  return (0, t.default)([
3788
3788
  ...a,
3789
3789
  ...n
3790
3790
  ]);
3791
3791
  }
3792
- })(Re);
3793
- let le = Re;
3794
- var xt = (le.__esModule ? le : { default: le }).default;
3792
+ })(Ie);
3793
+ let ce = Ie;
3794
+ var xt = (ce.__esModule ? ce : { default: ce }).default;
3795
3795
  const Ct = /* @__PURE__ */ bt(xt);
3796
- let ce = ve;
3797
- var V = (ce.__esModule ? ce : { default: ce }).default;
3798
- const St = {
3796
+ let ue = ye;
3797
+ var V = (ue.__esModule ? ue : { default: ue }).default;
3798
+ const wt = {
3799
3799
  50: "#FCE3E4",
3800
3800
  100: "#F9CDCE",
3801
3801
  200: "#F39699",
@@ -3813,7 +3813,7 @@ const St = {
3813
3813
  info: V.cyan,
3814
3814
  success: V.lime,
3815
3815
  primary: V.sky,
3816
- brand: St,
3816
+ brand: wt,
3817
3817
  "video-player-progress-bar": {
3818
3818
  "base-bg": "#6c737a",
3819
3819
  "progress-bg": "#0090ff",
@@ -3823,7 +3823,7 @@ const St = {
3823
3823
  "transition-duration": "0.2s",
3824
3824
  "bar-height": "7px"
3825
3825
  }
3826
- }, wt = {
3826
+ }, St = {
3827
3827
  ...W,
3828
3828
  // Warning
3829
3829
  warning: W.warning[500],
@@ -3859,7 +3859,7 @@ const St = {
3859
3859
  content: ["./src/**/*.{html,js,vue,ts}"],
3860
3860
  theme: {
3861
3861
  extend: {
3862
- colors: wt,
3862
+ colors: St,
3863
3863
  maxWidth: {
3864
3864
  "1/12": "8.333333333%",
3865
3865
  "2/12": "16.666666666%",
@@ -3876,6 +3876,12 @@ const St = {
3876
3876
  },
3877
3877
  blur: {
3878
3878
  "video-poster": "32px"
3879
+ },
3880
+ transitionProperty: {
3881
+ "opacity-transform": "opacity, transform"
3882
+ },
3883
+ transitionDuration: {
3884
+ 600: "600ms"
3879
3885
  }
3880
3886
  },
3881
3887
  fontSize: {
@@ -3930,14 +3936,14 @@ const St = {
3930
3936
  pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
3931
3937
  }
3932
3938
  ]
3933
- }, nt = Ct(Tt), $t = nt.theme.fontSize, Dt = nt.theme.colors, ai = [
3939
+ }, st = Ct(Tt), $t = st.theme.fontSize, Dt = st.theme.colors, dr = [
3934
3940
  _.dot,
3935
3941
  _.xs,
3936
3942
  _.sm,
3937
3943
  _.md,
3938
3944
  _.lg,
3939
3945
  _.xl
3940
- ], oi = [
3946
+ ], hr = [
3941
3947
  _.xs,
3942
3948
  _.sm,
3943
3949
  _.md,
@@ -3959,21 +3965,21 @@ const St = {
3959
3965
  _["7xl"],
3960
3966
  _["8xl"],
3961
3967
  _["9xl"]
3962
- ], li = [_.sm, _.md, _.base, _.lg], ci = [
3968
+ ], fr = [_.sm, _.md, _.base, _.lg], mr = [
3963
3969
  j.warning,
3964
3970
  j.error,
3965
3971
  j.info,
3966
3972
  j.success,
3967
3973
  j.primary,
3968
3974
  j.default
3969
- ], ui = [
3975
+ ], pr = [
3970
3976
  _.xs,
3971
3977
  _.sm,
3972
3978
  _.md,
3973
3979
  _.base,
3974
3980
  _.lg,
3975
3981
  _.xl
3976
- ], di = [
3982
+ ], gr = [
3977
3983
  "play",
3978
3984
  "pause",
3979
3985
  "ended",
@@ -3984,7 +3990,7 @@ const St = {
3984
3990
  "canplay",
3985
3991
  "canplaythrough",
3986
3992
  "statechanged"
3987
- ], kt = F.extend({
3993
+ ], kt = L.extend({
3988
3994
  name: "EIcon",
3989
3995
  props: {
3990
3996
  icon: {
@@ -4008,8 +4014,8 @@ const St = {
4008
4014
  }), {});
4009
4015
  },
4010
4016
  iconClasses() {
4011
- var i, s;
4012
- const e = this.sizes[this.size] || this.sizes[_.sm], t = `${((s = (i = this.icon) == null ? void 0 : i.split(" ")) == null ? void 0 : s.length) > 1 ? this.icon : `fa fa-${this.icon}`}`;
4017
+ var r, s;
4018
+ const e = this.sizes[this.size] || this.sizes[_.sm], t = `${((s = (r = this.icon) == null ? void 0 : r.split(" ")) == null ? void 0 : s.length) > 1 ? this.icon : `fa fa-${this.icon}`}`;
4013
4019
  return [
4014
4020
  "e-inline-flex e-items-center e-justify-center e-rounded-full",
4015
4021
  this.color,
@@ -4020,9 +4026,9 @@ const St = {
4020
4026
  }
4021
4027
  });
4022
4028
  var Mt = function() {
4023
- var t = this, r = t._self._c;
4024
- return r("div", { staticClass: "e-icon" }, [r("i", { class: t.iconClasses })]);
4025
- }, Ot = [], Pt = /* @__PURE__ */ I(
4029
+ var t = this, i = t._self._c;
4030
+ return i("div", { staticClass: "e-icon" }, [i("i", { class: t.iconClasses })]);
4031
+ }, Ot = [], Pt = /* @__PURE__ */ R(
4026
4032
  kt,
4027
4033
  Mt,
4028
4034
  Ot,
@@ -4032,7 +4038,7 @@ var Mt = function() {
4032
4038
  null,
4033
4039
  null
4034
4040
  );
4035
- const Ce = Pt.exports, zt = F.extend({
4041
+ const we = Pt.exports, zt = L.extend({
4036
4042
  name: "ESpinner",
4037
4043
  props: {
4038
4044
  dark: {
@@ -4095,12 +4101,12 @@ const Ce = Pt.exports, zt = F.extend({
4095
4101
  }
4096
4102
  });
4097
4103
  var At = function() {
4098
- var t = this, r = t._self._c;
4099
- return r("svg", { staticClass: "e-spinner e-block", class: {
4104
+ var t = this, i = t._self._c;
4105
+ return i("svg", { staticClass: "e-spinner e-block", class: {
4100
4106
  "e-spinner--dark": t.dark,
4101
4107
  "e-spinner--grey": !t.color
4102
- }, style: { opacity: t.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: t.computedSize, height: t.computedSize } }, [r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
4103
- }, Bt = [], Ht = /* @__PURE__ */ I(
4108
+ }, style: { opacity: t.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: t.computedSize, height: t.computedSize } }, [i("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), i("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), i("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), i("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), i("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), i("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), i("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), i("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), i("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), i("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
4109
+ }, Bt = [], Ht = /* @__PURE__ */ R(
4104
4110
  zt,
4105
4111
  At,
4106
4112
  Bt,
@@ -4110,7 +4116,7 @@ var At = function() {
4110
4116
  null,
4111
4117
  null
4112
4118
  );
4113
- const st = Ht.exports, Lt = F.extend({
4119
+ const at = Ht.exports, Lt = L.extend({
4114
4120
  props: {
4115
4121
  align: {
4116
4122
  type: String,
@@ -4171,9 +4177,9 @@ const st = Ht.exports, Lt = F.extend({
4171
4177
  }
4172
4178
  });
4173
4179
  var Ft = function() {
4174
- var t = this, r = t._self._c;
4175
- return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
4176
- }, Gt = [], Rt = /* @__PURE__ */ I(
4180
+ var t = this, i = t._self._c;
4181
+ return t._self._setupProxy, i("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
4182
+ }, Gt = [], Rt = /* @__PURE__ */ R(
4177
4183
  Lt,
4178
4184
  Ft,
4179
4185
  Gt,
@@ -4183,7 +4189,7 @@ var Ft = function() {
4183
4189
  null,
4184
4190
  null
4185
4191
  );
4186
- const It = Rt.exports, jt = F.extend({
4192
+ const It = Rt.exports, jt = L.extend({
4187
4193
  props: {
4188
4194
  alignSelf: {
4189
4195
  type: String,
@@ -4288,9 +4294,9 @@ const It = Rt.exports, jt = F.extend({
4288
4294
  }
4289
4295
  });
4290
4296
  var Wt = function() {
4291
- var t = this, r = t._self._c;
4292
- return r("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
4293
- }, Nt = [], Ut = /* @__PURE__ */ I(
4297
+ var t = this, i = t._self._c;
4298
+ return i("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
4299
+ }, Nt = [], Ut = /* @__PURE__ */ R(
4294
4300
  jt,
4295
4301
  Wt,
4296
4302
  Nt,
@@ -4301,35 +4307,35 @@ var Wt = function() {
4301
4307
  null
4302
4308
  );
4303
4309
  const Yt = Ut.exports;
4304
- function at() {
4310
+ function ot() {
4305
4311
  const e = document;
4306
4312
  return !!(e.fullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || e.msFullscreenElement);
4307
4313
  }
4308
4314
  function Vt(e) {
4309
- if (at())
4310
- return new Promise((r) => r(null));
4315
+ if (ot())
4316
+ return new Promise((i) => i(null));
4311
4317
  const t = e;
4312
- return t.requestFullscreen ? t == null ? void 0 : t.requestFullscreen() : t.mozRequestFullScreen ? t == null ? void 0 : t.mozRequestFullScreen() : t.webkitRequestFullScreen ? t == null ? void 0 : t.webkitRequestFullScreen() : t.msRequestFullscreen ? t == null ? void 0 : t.msRequestFullscreen() : new Promise((r) => r(null));
4318
+ return t.requestFullscreen ? t == null ? void 0 : t.requestFullscreen() : t.mozRequestFullScreen ? t == null ? void 0 : t.mozRequestFullScreen() : t.webkitRequestFullScreen ? t == null ? void 0 : t.webkitRequestFullScreen() : t.msRequestFullscreen ? t == null ? void 0 : t.msRequestFullscreen() : new Promise((i) => i(null));
4313
4319
  }
4314
4320
  function Xt() {
4315
- if (!at())
4321
+ if (!ot())
4316
4322
  return new Promise((t) => t(null));
4317
4323
  const e = document;
4318
4324
  return e.exitFullscreen ? e.exitFullscreen() : e.mozCancelFullScreen ? e.mozCancelFullScreen() : e.webkitCancelFullScreen ? e.webkitCancelFullScreen() : e.msExitFullscreen ? e.msExitFullscreen() : new Promise((t) => t(null));
4319
4325
  }
4320
4326
  function Zt(e, t) {
4321
- let r = null;
4322
- return function(...i) {
4327
+ let i = null;
4328
+ return function(...r) {
4323
4329
  const s = this;
4324
- r !== null && clearTimeout(r), r = setTimeout(() => {
4325
- r = null, e.apply(s, i);
4330
+ i !== null && clearTimeout(i), i = setTimeout(() => {
4331
+ i = null, e.apply(s, r);
4326
4332
  }, t || 1e3);
4327
4333
  };
4328
4334
  }
4329
- function hi(...e) {
4335
+ function vr(...e) {
4330
4336
  return e.filter(Boolean).join(" ");
4331
4337
  }
4332
- const qt = F.extend({
4338
+ const qt = L.extend({
4333
4339
  name: "EZoomable",
4334
4340
  props: {
4335
4341
  ignorePointerEvents: {
@@ -4385,22 +4391,22 @@ const qt = F.extend({
4385
4391
  this.scale > this.maxScale ? this.scale = this.maxScale : this.scale < this.minScale && (this.scale = this.minScale);
4386
4392
  },
4387
4393
  handleZoom(e) {
4388
- const t = this.$refs.container, r = this.$refs.content;
4394
+ const t = this.$refs.container, i = this.$refs.content;
4389
4395
  if (e.preventDefault(), this.disabled)
4390
4396
  return;
4391
- const i = t.getBoundingClientRect(), s = r.getBoundingClientRect();
4392
- if (!i || !s)
4397
+ const r = t.getBoundingClientRect(), s = i.getBoundingClientRect();
4398
+ if (!r || !s)
4393
4399
  return;
4394
4400
  const a = e.clientX, n = e.clientY, u = Math.max(-1, Math.min(1, e.wheelDelta || -e.detail)), l = this.scale;
4395
4401
  this.scale += u / 10, this.updateZoomScale();
4396
- const o = ((a - s.left) / s.width).toFixed(2), h = ((n - s.top) / s.height).toFixed(2);
4402
+ const o = ((a - s.left) / s.width).toFixed(2), d = ((n - s.top) / s.height).toFixed(2);
4397
4403
  this.left = Math.round(
4398
- a - i.left - Number(o) * (s.width * this.scale / l)
4404
+ a - r.left - Number(o) * (s.width * this.scale / l)
4399
4405
  ), this.top = Math.round(
4400
- n - i.top - Number(h) * (s.height * this.scale / l)
4406
+ n - r.top - Number(d) * (s.height * this.scale / l)
4401
4407
  );
4402
- const p = 0, d = 0 - i.width * (this.scale - 1), f = 0 - i.height * (this.scale - 1), g = 0;
4403
- this.left < d ? this.left = d : this.left > p && (this.left = p), this.top < f ? this.top = f : this.top > g && (this.top = g), this.updateTransform();
4408
+ const m = 0, h = 0 - r.width * (this.scale - 1), f = 0 - r.height * (this.scale - 1), g = 0;
4409
+ this.left < h ? this.left = h : this.left > m && (this.left = m), this.top < f ? this.top = f : this.top > g && (this.top = g), this.updateTransform();
4404
4410
  },
4405
4411
  handleMouseDown(e) {
4406
4412
  !this.isZoomed || this.disabled || (this.isPanning = !0, this.panStart = { x: e.clientX, y: e.clientY });
@@ -4414,18 +4420,18 @@ const qt = F.extend({
4414
4420
  handleMouseMove(e) {
4415
4421
  if (!this.isPanning || !this.isZoomed || this.disabled)
4416
4422
  return;
4417
- const t = e.clientX - this.panStart.x, r = e.clientY - this.panStart.y;
4418
- this.left += t, this.top += r, this.applyBoundsCorrection(), this.panStart = { x: e.clientX, y: e.clientY }, this.updateTransform();
4423
+ const t = e.clientX - this.panStart.x, i = e.clientY - this.panStart.y;
4424
+ this.left += t, this.top += i, this.applyBoundsCorrection(), this.panStart = { x: e.clientX, y: e.clientY }, this.updateTransform();
4419
4425
  },
4420
4426
  applyBoundsCorrection() {
4421
- const e = this.$refs.container, t = this.$refs.content, r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
4422
- if (!r || !i)
4427
+ const e = this.$refs.container, t = this.$refs.content, i = e.getBoundingClientRect(), r = t.getBoundingClientRect();
4428
+ if (!i || !r)
4423
4429
  return;
4424
4430
  const [s, a, n, u] = [
4425
- r.top - i.top,
4426
- i.right - r.right,
4427
- i.bottom - r.bottom,
4428
- r.left - i.left
4431
+ i.top - r.top,
4432
+ r.right - i.right,
4433
+ r.bottom - i.bottom,
4434
+ i.left - r.left
4429
4435
  ].map((l) => l < 0 ? l : 0);
4430
4436
  this.left += u - a, this.top += s - n;
4431
4437
  },
@@ -4460,8 +4466,8 @@ const qt = F.extend({
4460
4466
  this.previousPinchDistance = this.pinchDistance, this.updatePinchDistance();
4461
4467
  const t = this.pinchDistance / this.previousPinchDistance;
4462
4468
  this.scale *= t, this.updateZoomScale();
4463
- const r = Object.values(this.pointers), i = this.getPointersMidPoint(r[0], r[1]);
4464
- this.left = i.x - (i.x - this.left) * t, this.top = i.y - (i.y - this.top) * t, this.applyBoundsCorrection(), this.updateTransform();
4469
+ const i = Object.values(this.pointers), r = this.getPointersMidPoint(i[0], i[1]);
4470
+ this.left = r.x - (r.x - this.left) * t, this.top = r.y - (r.y - this.top) * t, this.applyBoundsCorrection(), this.updateTransform();
4465
4471
  } else
4466
4472
  this.handleMouseMove(e);
4467
4473
  },
@@ -4471,12 +4477,12 @@ const qt = F.extend({
4471
4477
  }
4472
4478
  });
4473
4479
  var Kt = function() {
4474
- var t = this, r = t._self._c;
4475
- return r("div", { ref: "container", staticClass: "e-zoomable e-w-full e-h-full" }, [r("div", { staticClass: "e-w-full e-h-full", class: {
4480
+ var t = this, i = t._self._c;
4481
+ return i("div", { ref: "container", staticClass: "e-zoomable e-w-full e-h-full" }, [i("div", { staticClass: "e-w-full e-h-full", class: {
4476
4482
  "e-cursor-grab": t.isZoomed && !t.disabled,
4477
4483
  "e-cursor-grabbing": t.isPanning && !t.disabled
4478
- }, on: { mousewheel: t.handleZoom, mousedown: t.handleMouseDown, mouseup: t.handleMouseUp, mouseleave: t.handleMouseLeave, mousemove: t.handleMouseMove, pointerdown: t.handlePointerDown, pointermove: t.handlePointerMove, pointerup: t.handlePointerUp, pointercancel: t.handlePointerUp, pointerout: t.handlePointerUp, pointerleave: t.handlePointerUp } }, [r("div", { ref: "content", staticClass: "e-zoomable__content e-w-full e-h-full e-transform-0 e-touch-none e-relative", style: t.contentStyle }, [t._t("default")], 2), t.withOverlay && !t.disabled ? r("div", { staticClass: "e-zoomable__overlay e-absolute e-w-full e-h-full e-bottom-0 e-left-0 e-overflow-hidden" }, [t._t("overlay")], 2) : t._e()])]);
4479
- }, Qt = [], Jt = /* @__PURE__ */ I(
4484
+ }, on: { mousewheel: t.handleZoom, mousedown: t.handleMouseDown, mouseup: t.handleMouseUp, mouseleave: t.handleMouseLeave, mousemove: t.handleMouseMove, pointerdown: t.handlePointerDown, pointermove: t.handlePointerMove, pointerup: t.handlePointerUp, pointercancel: t.handlePointerUp, pointerout: t.handlePointerUp, pointerleave: t.handlePointerUp } }, [i("div", { ref: "content", staticClass: "e-zoomable__content e-w-full e-h-full e-transform-0 e-touch-none e-relative", style: t.contentStyle }, [t._t("default")], 2), t.withOverlay && !t.disabled ? i("div", { staticClass: "e-zoomable__overlay e-absolute e-w-full e-h-full e-bottom-0 e-left-0 e-overflow-hidden" }, [t._t("overlay")], 2) : t._e()])]);
4485
+ }, Qt = [], Jt = /* @__PURE__ */ R(
4480
4486
  qt,
4481
4487
  Kt,
4482
4488
  Qt,
@@ -4486,9 +4492,9 @@ var Kt = function() {
4486
4492
  null,
4487
4493
  null
4488
4494
  );
4489
- const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4495
+ const lt = Jt.exports, de = new Intl.NumberFormat(void 0, {
4490
4496
  minimumIntegerDigits: 2
4491
- }), Te = [
4497
+ }), $e = [
4492
4498
  "play",
4493
4499
  "pause",
4494
4500
  "ended",
@@ -4500,16 +4506,16 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4500
4506
  "canplaythrough",
4501
4507
  "statechanged",
4502
4508
  "error"
4503
- ], de = (e) => {
4504
- const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60, i = Math.floor(e / 3600);
4505
- return i === 0 ? `${r}:${ue.format(t)}` : `${i}:${ue.format(
4506
- r
4507
- )}:${ue.format(t)}`;
4508
- }, er = F.extend({
4509
+ ], he = (e) => {
4510
+ const t = Math.floor(e % 60), i = Math.floor(e / 60) % 60, r = Math.floor(e / 3600);
4511
+ return r === 0 ? `${i}:${de.format(t)}` : `${r}:${de.format(
4512
+ i
4513
+ )}:${de.format(t)}`;
4514
+ }, ei = L.extend({
4509
4515
  name: "VideoPlayer",
4510
4516
  components: {
4511
- ESpinner: st,
4512
- EZoomable: ot
4517
+ ESpinner: at,
4518
+ EZoomable: lt
4513
4519
  },
4514
4520
  props: {
4515
4521
  targetTimestamp: {
@@ -4631,8 +4637,8 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4631
4637
  },
4632
4638
  preloadedSeconds(e) {
4633
4639
  this.preloadedInterval = {
4634
- start: R(this.targetTimestamp).format(),
4635
- end: R(this.targetTimestamp).add(e, "seconds").format()
4640
+ start: I(this.targetTimestamp).format(),
4641
+ end: I(this.targetTimestamp).add(e, "seconds").format()
4636
4642
  }, this.$emit("preloaded-interval", this.preloadedInterval);
4637
4643
  },
4638
4644
  targetTimestamp: {
@@ -4641,12 +4647,12 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4641
4647
  var a, n;
4642
4648
  if (!this.isHls)
4643
4649
  return;
4644
- const t = this.$refs.player, r = (a = this.preloadedInterval) == null ? void 0 : a.start, i = (n = this.preloadedInterval) == null ? void 0 : n.end;
4645
- if (!(r && i))
4650
+ const t = this.$refs.player, i = (a = this.preloadedInterval) == null ? void 0 : a.start, r = (n = this.preloadedInterval) == null ? void 0 : n.end;
4651
+ if (!(i && r))
4646
4652
  return;
4647
- const s = R(e).isBetween(
4648
- R(r),
4649
- R(i),
4653
+ const s = I(e).isBetween(
4654
+ I(i),
4655
+ I(r),
4650
4656
  void 0,
4651
4657
  "[]"
4652
4658
  );
@@ -4662,9 +4668,9 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4662
4668
  },
4663
4669
  methods: {
4664
4670
  initHls() {
4665
- var r, i, s, a, n;
4671
+ var i, r, s, a, n;
4666
4672
  const e = this.$refs.player, t = this.sources[0];
4667
- (r = this.player) != null && r.stopLoad && this.player.stopLoad(), Q.isSupported() && (this.isLoading = !0, this.player = new Q({
4673
+ (i = this.player) != null && i.stopLoad && this.player.stopLoad(), Q.isSupported() && (this.isLoading = !0, this.player = new Q({
4668
4674
  startPosition: 0,
4669
4675
  xhrSetup: (u) => {
4670
4676
  this.streamingToken && u.setRequestHeader(
@@ -4672,7 +4678,7 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4672
4678
  `Bearer ${this.streamingToken}`
4673
4679
  );
4674
4680
  }
4675
- }), (i = this.player) == null || i.loadSource(t.src), (s = this.player) == null || s.attachMedia(e), (a = this.player) == null || a.on(Q.Events.MANIFEST_PARSED, () => {
4681
+ }), (r = this.player) == null || r.loadSource(t.src), (s = this.player) == null || s.attachMedia(e), (a = this.player) == null || a.on(Q.Events.MANIFEST_PARSED, () => {
4676
4682
  this.playing && e.play();
4677
4683
  }), (n = this.player) == null || n.on(Q.Events.ERROR, this.handleHlsError));
4678
4684
  },
@@ -4686,22 +4692,22 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4686
4692
  var n;
4687
4693
  if (!t.fatal)
4688
4694
  return;
4689
- const r = t.type === Q.ErrorTypes.NETWORK_ERROR, i = t.type === Q.ErrorTypes.MEDIA_ERROR, s = r && ((n = t.networkDetails) == null ? void 0 : n.status) === 404, a = () => {
4695
+ const i = t.type === Q.ErrorTypes.NETWORK_ERROR, r = t.type === Q.ErrorTypes.MEDIA_ERROR, s = i && ((n = t.networkDetails) == null ? void 0 : n.status) === 404, a = () => {
4690
4696
  this.player.destroy(), this.videoListeners.error ? this.videoListeners.error() : this.handle404Error();
4691
4697
  };
4692
4698
  if (s) {
4693
4699
  a();
4694
4700
  return;
4695
4701
  }
4696
- if (r) {
4702
+ if (i) {
4697
4703
  console.error("A network error occurred:", t), this.player.startLoad();
4698
4704
  return;
4699
4705
  }
4700
- i && (console.error("A media error occurred:", t), this.player.recoverMediaError()), a();
4706
+ r && (console.error("A media error occurred:", t), this.player.recoverMediaError()), a();
4701
4707
  },
4702
4708
  bindEvents() {
4703
4709
  const e = this.$refs.player;
4704
- Te.forEach((t) => {
4710
+ $e.forEach((t) => {
4705
4711
  e.addEventListener(t, () => this.bindVideoEvent(t), !0);
4706
4712
  });
4707
4713
  },
@@ -4720,7 +4726,7 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4720
4726
  },
4721
4727
  unbindEvents() {
4722
4728
  const e = this.$refs.player;
4723
- Te.forEach((t) => {
4729
+ $e.forEach((t) => {
4724
4730
  e.removeEventListener(
4725
4731
  t,
4726
4732
  () => this.bindVideoEvent(t),
@@ -4732,8 +4738,8 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4732
4738
  const t = this.$refs.player;
4733
4739
  if (!t)
4734
4740
  return;
4735
- const r = this.$refs.timelineContainer;
4736
- e === "loadeddata" && (this.videoLength = de(t.duration)), r && (e === "timeupdate" && (this.percentagePlayed = (t == null ? void 0 : t.currentTime) / (t == null ? void 0 : t.duration) * 100, r == null || r.style.setProperty(
4741
+ const i = this.$refs.timelineContainer;
4742
+ e === "loadeddata" && (this.videoLength = he(t.duration)), i && (e === "timeupdate" && (this.percentagePlayed = (t == null ? void 0 : t.currentTime) / (t == null ? void 0 : t.duration) * 100, i == null || i.style.setProperty(
4737
4743
  "--progress-position",
4738
4744
  this.percentagePlayed.toString()
4739
4745
  )), this.$emit(e, { event, player: t }));
@@ -4804,8 +4810,8 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4804
4810
  const t = this.$refs.player;
4805
4811
  if (!t)
4806
4812
  return;
4807
- const r = e / 100 * t.duration;
4808
- t.currentTime = r;
4813
+ const i = e / 100 * t.duration;
4814
+ t.currentTime = i;
4809
4815
  },
4810
4816
  convertTimeToDuration(e) {
4811
4817
  return [parseInt(e / 60 % 60, 10), parseInt(e % 60, 10)].join(":").replace(/\b(\d)\b/g, "0$1");
@@ -4826,28 +4832,28 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4826
4832
  },
4827
4833
  getDuration() {
4828
4834
  const e = this.$refs.player;
4829
- this.videoLength = de(e.duration), this.videoDuration = e.duration;
4835
+ this.videoLength = he(e.duration), this.videoDuration = e.duration;
4830
4836
  },
4831
4837
  handleTimeUpdate() {
4832
4838
  const e = this.$refs.player, t = this.$refs.timelineContainer;
4833
4839
  if (!e || !t)
4834
4840
  return;
4835
- this.currentTime = de(e.currentTime), this.realtime = e.currentTime;
4836
- const r = Number(this.realtime) / Number(this.videoDuration);
4841
+ this.currentTime = he(e.currentTime), this.realtime = e.currentTime;
4842
+ const i = Number(this.realtime) / Number(this.videoDuration);
4837
4843
  t.style.setProperty(
4838
4844
  "--progress-position",
4839
- r.toString()
4845
+ i.toString()
4840
4846
  );
4841
4847
  },
4842
4848
  handleTimelineUpdate(e) {
4843
4849
  const t = this.$refs.player;
4844
4850
  if (!document.body.contains(t))
4845
4851
  return;
4846
- const r = this.$refs.timelineContainer, i = r.getBoundingClientRect(), s = Math.min(Math.max(0, e.x - i.x), i.width) / i.width;
4847
- r.style.setProperty(
4852
+ const i = this.$refs.timelineContainer, r = i.getBoundingClientRect(), s = Math.min(Math.max(0, e.x - r.x), r.width) / r.width;
4853
+ i.style.setProperty(
4848
4854
  "--preview-position",
4849
4855
  s.toString()
4850
- ), this.isScrubbing && (e.preventDefault(), r.style.setProperty(
4856
+ ), this.isScrubbing && (e.preventDefault(), i.style.setProperty(
4851
4857
  "--progress-position",
4852
4858
  s.toString()
4853
4859
  ));
@@ -4857,22 +4863,22 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4857
4863
  t.currentTime += e;
4858
4864
  },
4859
4865
  async toggleScrubbing(e) {
4860
- const t = this.$refs.timelineContainer, r = this.$refs.videoContainer, i = this.$refs.player;
4861
- if (!i)
4866
+ const t = this.$refs.timelineContainer, i = this.$refs.videoContainer, r = this.$refs.player;
4867
+ if (!r)
4862
4868
  return;
4863
4869
  const s = t.getBoundingClientRect(), a = Math.min(Math.max(0, e.x - s.x), s.width) / s.width;
4864
- if (this.isScrubbing = (e.buttons & 1) === 1, r.classList.toggle("scrubbing", this.isScrubbing), this.isScrubbing) {
4865
- this.wasPaused = i.paused, await i.pause(), this.handleTimelineUpdate(e);
4870
+ if (this.isScrubbing = (e.buttons & 1) === 1, i.classList.toggle("scrubbing", this.isScrubbing), this.isScrubbing) {
4871
+ this.wasPaused = r.paused, await r.pause(), this.handleTimelineUpdate(e);
4866
4872
  return;
4867
4873
  }
4868
- if (this.realtime = a * this.videoDuration, i.currentTime = a * this.videoDuration, this.wasPaused)
4874
+ if (this.realtime = a * this.videoDuration, r.currentTime = a * this.videoDuration, this.wasPaused)
4869
4875
  return;
4870
- const n = i.play();
4876
+ const n = r.play();
4871
4877
  n !== void 0 && n.then(() => this.handleTimelineUpdate(e)).catch(console.error);
4872
4878
  },
4873
4879
  handleKeyDown(e) {
4874
- var r;
4875
- const t = (r = document.activeElement) == null ? void 0 : r.tagName.toLowerCase();
4880
+ var i;
4881
+ const t = (i = document.activeElement) == null ? void 0 : i.tagName.toLowerCase();
4876
4882
  if (t !== "input")
4877
4883
  switch (e.key.toLowerCase()) {
4878
4884
  case " ":
@@ -4893,71 +4899,71 @@ const ot = Jt.exports, ue = new Intl.NumberFormat(void 0, {
4893
4899
  }
4894
4900
  }
4895
4901
  });
4896
- var tr = function() {
4897
- var t = this, r = t._self._c;
4898
- return r("div", { ref: "videoContainer", staticClass: "video-container paused" }, [r("EZoomable", { attrs: { "ignore-pointer-events": t.zoomableIgnorePointerEvents, disabled: !t.isZoomable, "with-overlay": t.withOverlayOnBackground }, on: { "apply-zoomable-style": function(i) {
4899
- return t.$emit("apply-zoomable-style", i);
4902
+ var ti = function() {
4903
+ var t = this, i = t._self._c;
4904
+ return i("div", { ref: "videoContainer", staticClass: "video-container paused" }, [i("EZoomable", { attrs: { "ignore-pointer-events": t.zoomableIgnorePointerEvents, disabled: !t.isZoomable, "with-overlay": t.withOverlayOnBackground }, on: { "apply-zoomable-style": function(r) {
4905
+ return t.$emit("apply-zoomable-style", r);
4900
4906
  } }, scopedSlots: t._u([{ key: "overlay", fn: function() {
4901
4907
  return [t._t("zoomable-overlay")];
4902
4908
  }, proxy: !0 }], null, !0) }, [t._t("background", function() {
4903
- return [r("div", { staticClass: "e-relative" }, [r("img", { staticClass: "e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster", attrs: { src: t.posterUrl, alt: "background-image" }, on: { error: function(i) {
4904
- return t.$emit("poster-error", i);
4909
+ return [i("div", { staticClass: "e-relative" }, [i("img", { staticClass: "e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster", attrs: { src: t.posterUrl, alt: "background-image" }, on: { error: function(r) {
4910
+ return t.$emit("poster-error", r);
4905
4911
  } } })])];
4906
- }), r("video", t._g(t._b({ ref: "player", class: {
4912
+ }), i("video", t._g(t._b({ ref: "player", class: {
4907
4913
  "e-w-full e-h-full e-z-[5] e-min-h-[400px]": !0,
4908
4914
  "e-absolute e-inset-0": t.isZoomable,
4909
4915
  "e-relative": !t.isZoomable
4910
- }, attrs: { controls: !1, preload: "auto" }, on: { ended: t.handleEnded, click: t.onContainerClick, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners), [t.isWebRtc ? t._e() : t._l(t.sourceItems, function(i) {
4911
- return r("source", t._g({ key: i.src, attrs: { src: i.src, type: i.type }, on: { error: t.handle404Error } }, t.videoListeners));
4912
- })], 2)], 2), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { color: t.withColoredLoader, size: t.loaderSize, opacity: "0.6", dark: !0 } })], 1) : t._e(), t._t("default"), t.isError ? r("div", { staticClass: "spinner-container e-gap-3" }, [r("i", { staticClass: "fa-solid fa-video-slash fa-2xl e-align-middle" }), r("span", [t._v("This video file cannot be played.")])]) : t._e(), t._t("controls", function() {
4913
- return [r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-lg fa-solid", class: {
4916
+ }, attrs: { controls: !1, preload: "auto" }, on: { ended: t.handleEnded, click: t.onContainerClick, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners), [t.isWebRtc ? t._e() : t._l(t.sourceItems, function(r) {
4917
+ return i("source", t._g({ key: r.src, attrs: { src: r.src, type: r.type }, on: { error: t.handle404Error } }, t.videoListeners));
4918
+ })], 2)], 2), t.isLoading ? i("div", { staticClass: "spinner-container" }, [i("ESpinner", { attrs: { color: t.withColoredLoader, size: t.loaderSize, opacity: "0.6", dark: !0 } })], 1) : t._e(), t._t("default"), t.isError ? i("div", { staticClass: "spinner-container e-gap-3" }, [i("i", { staticClass: "fa-solid fa-video-slash fa-2xl e-align-middle" }), i("span", [t._v("This video file cannot be played.")])]) : t._e(), t._t("controls", function() {
4919
+ return [i("div", { class: ["video-controls-container", t.withControls] }, [i("div", { staticClass: "controls" }, [i("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-lg fa-solid", class: {
4914
4920
  "fa-play": !t.playing,
4915
4921
  "fa-pause": t.playing
4916
- }, attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }), r("div", { staticClass: "duration-container" }, [r("div", { ref: "currentTimeElem", staticClass: "current-time" }, [t._v(" " + t._s(t.currentTime) + " ")]), t._v(" / "), r("div", { ref: "totalTimeElem", staticClass: "total-time" }, [t._v(t._s(t.videoLength))])]), r("div", { ref: "timelineContainer", staticClass: "timeline-container", on: { mousemove: t.handleTimelineUpdate, mousedown: t.toggleScrubbing } }, [t._m(0)]), r("button", { ref: "fullScreenBtn", staticClass: "full-screen-btn fa-solid", class: {
4922
+ }, attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }), i("div", { staticClass: "duration-container" }, [i("div", { ref: "currentTimeElem", staticClass: "current-time" }, [t._v(" " + t._s(t.currentTime) + " ")]), t._v(" / "), i("div", { ref: "totalTimeElem", staticClass: "total-time" }, [t._v(t._s(t.videoLength))])]), i("div", { ref: "timelineContainer", staticClass: "timeline-container", on: { mousemove: t.handleTimelineUpdate, mousedown: t.toggleScrubbing } }, [t._m(0)]), i("button", { ref: "fullScreenBtn", staticClass: "full-screen-btn fa-solid", class: {
4917
4923
  "fa-expand": !t.isFullscreen,
4918
4924
  "fa-compress": t.isFullscreen
4919
4925
  }, on: { click: t.toggleFullscreenMode } })])])];
4920
4926
  }, { play: t.play, pause: t.pause, isPlaying: t.playing, playerInstance: t.player, toggleFullscreen: t.toggleFullscreenMode, currentTime: t.currentTime, videoLength: t.videoLength, isFullscreen: t.isFullscreen })], 2);
4921
- }, rr = [function() {
4927
+ }, ii = [function() {
4922
4928
  var e = this, t = e._self._c;
4923
4929
  return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
4924
- }], ir = /* @__PURE__ */ I(
4925
- er,
4926
- tr,
4927
- rr,
4930
+ }], ri = /* @__PURE__ */ R(
4931
+ ei,
4932
+ ti,
4933
+ ii,
4928
4934
  !1,
4929
4935
  null,
4930
4936
  "319c49d1",
4931
4937
  null,
4932
4938
  null
4933
4939
  );
4934
- const nr = ir.exports, ne = (e) => {
4935
- const t = c.utcFormat("%_d")(e), i = {
4940
+ const ni = ri.exports, ne = (e) => {
4941
+ const t = c.utcFormat("%_d")(e), r = {
4936
4942
  1: "st",
4937
4943
  2: "nd",
4938
4944
  3: "rd"
4939
4945
  }[t.charAt(1)] || "th";
4940
- return `${t}${i}`;
4941
- }, $e = (e) => new Date(
4946
+ return `${t}${r}`;
4947
+ }, De = (e) => new Date(
4942
4948
  Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate() + 1)
4943
4949
  ).getUTCDate() === 1 ? "" : c.utcFormat("%-d")(e), J = (e) => ["0", " 0", "00"].includes(c.utcFormat("%H")(e)) ? "" : `${c.utcFormat("%H")(e)}h`, q = (e) => {
4944
4950
  const t = c.utcFormat("%H:%M")(e);
4945
4951
  return t === "00:00" ? "" : t;
4946
- }, he = (e) => c.utcFormat("%M:%S")(e), De = (e) => `${c.utcFormat("%Hh%Mm")(e)}`, pe = (e) => {
4947
- const t = q(e), r = ne(e), i = c.utcFormat("%B")(e);
4948
- return t || `${i} ${r}`;
4949
- }, fe = (e) => {
4950
- const t = q(e), r = Number.parseInt(c.utcFormat("%H")(e)), i = ne(e), s = c.utcFormat("%B")(e);
4951
- return t && r % 6 === 0 ? `${s} ${i} ${t}` : pe(e);
4952
+ }, fe = (e) => c.utcFormat("%M:%S")(e), Ee = (e) => `${c.utcFormat("%Hh%Mm")(e)}`, ge = (e) => {
4953
+ const t = q(e), i = ne(e), r = c.utcFormat("%B")(e);
4954
+ return t || `${r} ${i}`;
4955
+ }, me = (e) => {
4956
+ const t = q(e), i = Number.parseInt(c.utcFormat("%H")(e)), r = ne(e), s = c.utcFormat("%B")(e);
4957
+ return t && i % 6 === 0 ? `${s} ${r} ${t}` : ge(e);
4952
4958
  }, ee = (e) => (t) => {
4953
- const r = c.utcFormat("%H")(t);
4954
- return !(c.utcFormat("%M")(t) === "00" && Number.parseInt(r) % e === 0);
4955
- }, me = (e) => (t) => {
4956
- const r = c.utcFormat("%M")(t);
4957
- return Number.parseInt(r) % e !== 0;
4958
- }, Ee = (e) => (t) => {
4959
- const r = c.utcFormat("%M")(t), i = c.utcFormat("%S")(t);
4960
- return Number.parseInt(r) % e !== 0 && Number.parseInt(i) === 0;
4959
+ const i = c.utcFormat("%H")(t);
4960
+ return !(c.utcFormat("%M")(t) === "00" && Number.parseInt(i) % e === 0);
4961
+ }, pe = (e) => (t) => {
4962
+ const i = c.utcFormat("%M")(t);
4963
+ return Number.parseInt(i) % e !== 0;
4964
+ }, ke = (e) => (t) => {
4965
+ const i = c.utcFormat("%M")(t), r = c.utcFormat("%S")(t);
4966
+ return Number.parseInt(i) % e !== 0 && Number.parseInt(r) === 0;
4961
4967
  }, C = {
4962
4968
  _10_seconds: 25e-6,
4963
4969
  _20_seconds: 1e-4,
@@ -4985,51 +4991,51 @@ const nr = ir.exports, ne = (e) => {
4985
4991
  _300_years: 7200,
4986
4992
  infinity: 1 / 0
4987
4993
  };
4988
- var Oe, Pe, ze, Ae, Be, He, Le, Fe;
4989
- const sr = {
4990
- [re.overview]: [
4994
+ var Pe, ze, Ae, Be, He, Le, Fe, Ge;
4995
+ const si = {
4996
+ [ie.overview]: [
4991
4997
  {
4992
4998
  precision: C._30_seconds,
4993
4999
  interval: c.utcMinute.every(2),
4994
- format: De
5000
+ format: Ee
4995
5001
  },
4996
5002
  {
4997
5003
  precision: C._1_minute,
4998
5004
  interval: c.utcMinute.every(5),
4999
- format: De
5005
+ format: Ee
5000
5006
  },
5001
5007
  {
5002
5008
  precision: C._2_minutes,
5003
5009
  interval: c.utcMinute.every(10),
5004
- format: pe
5010
+ format: ge
5005
5011
  },
5006
5012
  {
5007
5013
  precision: C._5_minutes,
5008
5014
  interval: c.utcMinute.every(20),
5009
- format: fe
5015
+ format: me
5010
5016
  },
5011
5017
  {
5012
5018
  precision: C._15_minutes,
5013
5019
  interval: c.utcHour,
5014
- format: fe
5020
+ format: me
5015
5021
  },
5016
5022
  {
5017
5023
  precision: C._30_minutes,
5018
5024
  interval: c.utcHour.every(2),
5019
- format: fe
5025
+ format: me
5020
5026
  },
5021
5027
  {
5022
5028
  precision: C._2_hours,
5023
5029
  interval: c.utcHour.every(6),
5024
5030
  format: (e) => {
5025
- const t = q(e), r = ne(e), i = c.utcFormat("%B")(e);
5026
- return t || `${i} ${r}`;
5031
+ const t = q(e), i = ne(e), r = c.utcFormat("%B")(e);
5032
+ return t || `${r} ${i}`;
5027
5033
  }
5028
5034
  },
5029
5035
  {
5030
5036
  precision: C._3_hours,
5031
5037
  interval: c.utcHour.every(12),
5032
- format: pe
5038
+ format: ge
5033
5039
  },
5034
5040
  {
5035
5041
  precision: C._6_hours,
@@ -5043,8 +5049,8 @@ const sr = {
5043
5049
  precision: C._2_days,
5044
5050
  interval: c.utcMonth,
5045
5051
  format: (e) => {
5046
- const r = e.getUTCMonth() === 0 && e.getUTCDate() === 1 ? "%Y – %B" : "%B";
5047
- return c.utcFormat(r)(e);
5052
+ const i = e.getUTCMonth() === 0 && e.getUTCDate() === 1 ? "%Y – %B" : "%B";
5053
+ return c.utcFormat(i)(e);
5048
5054
  }
5049
5055
  },
5050
5056
  {
@@ -5078,45 +5084,45 @@ const sr = {
5078
5084
  format: "%Y"
5079
5085
  }
5080
5086
  ],
5081
- [re.detailed]: [
5087
+ [ie.detailed]: [
5082
5088
  {
5083
5089
  precision: C._10_seconds,
5084
5090
  interval: c.utcSecond.every(10),
5085
- format: he
5091
+ format: fe
5086
5092
  },
5087
5093
  {
5088
5094
  precision: C._20_seconds,
5089
- interval: (Oe = c.utcSecond.every(20)) == null ? void 0 : Oe.filter(Ee(2)),
5090
- format: he
5095
+ interval: (Pe = c.utcSecond.every(20)) == null ? void 0 : Pe.filter(ke(2)),
5096
+ format: fe
5091
5097
  },
5092
5098
  {
5093
5099
  precision: C._30_seconds,
5094
- interval: (Pe = c.utcSecond.every(30)) == null ? void 0 : Pe.filter(Ee(2)),
5095
- format: he
5100
+ interval: (ze = c.utcSecond.every(30)) == null ? void 0 : ze.filter(ke(2)),
5101
+ format: fe
5096
5102
  },
5097
5103
  {
5098
5104
  precision: C._1_minute,
5099
- interval: c.utcMinute.filter(me(5)),
5105
+ interval: c.utcMinute.filter(pe(5)),
5100
5106
  format: q
5101
5107
  },
5102
5108
  {
5103
5109
  precision: C._2_minutes,
5104
- interval: (ze = c.utcMinute.every(2)) == null ? void 0 : ze.filter(me(10)),
5110
+ interval: (Ae = c.utcMinute.every(2)) == null ? void 0 : Ae.filter(pe(10)),
5105
5111
  format: q
5106
5112
  },
5107
5113
  {
5108
5114
  precision: C._5_minutes,
5109
- interval: (Ae = c.utcMinute.every(5)) == null ? void 0 : Ae.filter(me(20)),
5115
+ interval: (Be = c.utcMinute.every(5)) == null ? void 0 : Be.filter(pe(20)),
5110
5116
  format: q
5111
5117
  },
5112
5118
  {
5113
5119
  precision: C._15_minutes,
5114
- interval: (Be = c.utcMinute.every(15)) == null ? void 0 : Be.filter(ee(1)),
5120
+ interval: (He = c.utcMinute.every(15)) == null ? void 0 : He.filter(ee(1)),
5115
5121
  format: q
5116
5122
  },
5117
5123
  {
5118
5124
  precision: C._30_minutes,
5119
- interval: (He = c.utcMinute.every(30)) == null ? void 0 : He.filter(ee(2)),
5125
+ interval: (Le = c.utcMinute.every(30)) == null ? void 0 : Le.filter(ee(2)),
5120
5126
  format: q
5121
5127
  },
5122
5128
  {
@@ -5126,12 +5132,12 @@ const sr = {
5126
5132
  },
5127
5133
  {
5128
5134
  precision: C._2_hours,
5129
- interval: (Le = c.utcHour.every(2)) == null ? void 0 : Le.filter(ee(6)),
5135
+ interval: (Fe = c.utcHour.every(2)) == null ? void 0 : Fe.filter(ee(6)),
5130
5136
  format: J
5131
5137
  },
5132
5138
  {
5133
5139
  precision: C._3_hours,
5134
- interval: (Fe = c.utcHour.every(3)) == null ? void 0 : Fe.filter(ee(12)),
5140
+ interval: (Ge = c.utcHour.every(3)) == null ? void 0 : Ge.filter(ee(12)),
5135
5141
  format: J
5136
5142
  },
5137
5143
  {
@@ -5147,12 +5153,12 @@ const sr = {
5147
5153
  {
5148
5154
  precision: C._1_day,
5149
5155
  interval: c.utcDay,
5150
- format: $e
5156
+ format: De
5151
5157
  },
5152
5158
  {
5153
5159
  precision: C._2_days,
5154
5160
  interval: c.utcDay.every(2),
5155
- format: $e
5161
+ format: De
5156
5162
  },
5157
5163
  {
5158
5164
  precision: C._1_month,
@@ -5205,7 +5211,7 @@ const sr = {
5205
5211
  format: ""
5206
5212
  }
5207
5213
  ],
5208
- [re.detailedBackground]: [
5214
+ [ie.detailedBackground]: [
5209
5215
  {
5210
5216
  precision: C._10_seconds,
5211
5217
  interval: c.utcSecond,
@@ -5284,36 +5290,36 @@ const sr = {
5284
5290
  {
5285
5291
  precision: C._1_month,
5286
5292
  interval: c.utcDay.filter((e) => {
5287
- const t = e.getUTCDate(), r = new Date(
5293
+ const t = e.getUTCDate(), i = new Date(
5288
5294
  e.getUTCFullYear(),
5289
5295
  e.getUTCMonth() + 1,
5290
5296
  0
5291
- ).getUTCDate(), i = Math.ceil(r / 5);
5292
- return t === i || t === 2 * i || t === 3 * i || t === 4 * i;
5297
+ ).getUTCDate(), r = Math.ceil(i / 5);
5298
+ return t === r || t === 2 * r || t === 3 * r || t === 4 * r;
5293
5299
  }),
5294
5300
  format: ""
5295
5301
  },
5296
5302
  {
5297
5303
  precision: C._1_month_abbr,
5298
5304
  interval: c.utcDay.filter((e) => {
5299
- const t = e.getUTCDate(), r = new Date(
5305
+ const t = e.getUTCDate(), i = new Date(
5300
5306
  e.getUTCFullYear(),
5301
5307
  e.getUTCMonth() + 1,
5302
5308
  0
5303
- ).getUTCDate(), i = Math.ceil(r / 4);
5304
- return t === i || t === 2 * i || t === 3 * i;
5309
+ ).getUTCDate(), r = Math.ceil(i / 4);
5310
+ return t === r || t === 2 * r || t === 3 * r;
5305
5311
  }),
5306
5312
  format: ""
5307
5313
  },
5308
5314
  {
5309
5315
  precision: C._1_month_letter,
5310
5316
  interval: c.utcDay.filter((e) => {
5311
- const t = e.getUTCDate(), r = new Date(
5317
+ const t = e.getUTCDate(), i = new Date(
5312
5318
  e.getUTCFullYear(),
5313
5319
  e.getUTCMonth() + 1,
5314
5320
  0
5315
- ).getUTCDate(), i = Math.ceil(r / 2);
5316
- return t === i;
5321
+ ).getUTCDate(), r = Math.ceil(i / 2);
5322
+ return t === r;
5317
5323
  }),
5318
5324
  format: ""
5319
5325
  },
@@ -5360,22 +5366,22 @@ const sr = {
5360
5366
  ]
5361
5367
  }, Se = {
5362
5368
  bind(e, t) {
5363
- const { value: r } = t;
5364
- if (typeof r != "function") {
5369
+ const { value: i } = t;
5370
+ if (typeof i != "function") {
5365
5371
  console.error("Invalid callback function provided to v-resize-observer");
5366
5372
  return;
5367
5373
  }
5368
- const i = new ResizeObserver(
5374
+ const r = new ResizeObserver(
5369
5375
  (s) => {
5370
- s[0] && r(s[0]);
5376
+ s[0] && i(s[0]);
5371
5377
  }
5372
5378
  );
5373
- i.observe(e), e.__resizeObserver__ = i;
5379
+ r.observe(e), e.__resizeObserver__ = r;
5374
5380
  },
5375
5381
  unbind(e) {
5376
5382
  e.__resizeObserver__ && (e.__resizeObserver__.disconnect(), delete e.__resizeObserver__);
5377
5383
  }
5378
- }, ar = [
5384
+ }, ai = [
5379
5385
  {
5380
5386
  name: "resize-observer",
5381
5387
  definition: Se
@@ -5394,7 +5400,7 @@ const sr = {
5394
5400
  milestoneDotLine: "e-tl-milestone-dot-line",
5395
5401
  milestoneDotDot: "e-tl-milestone-dot-dot",
5396
5402
  milestoneDotHovered: "e-tl-milestone-dot--hovered"
5397
- }, or = F.extend({
5403
+ }, oi = L.extend({
5398
5404
  name: "ETimeline",
5399
5405
  directives: {
5400
5406
  resizeObserver: Se
@@ -5529,14 +5535,14 @@ const sr = {
5529
5535
  const t = (e == null ? void 0 : e.target) || this.$refs.container;
5530
5536
  if (!t)
5531
5537
  return;
5532
- const r = t.children[0];
5533
- if (!r)
5534
- return;
5535
- const i = r.children[0];
5538
+ const i = t.children[0];
5536
5539
  if (!i)
5537
5540
  return;
5538
- const s = i.getBoundingClientRect(), a = t.dataset.timeoutId;
5539
- a && (clearTimeout(Number(a)), t.dataset.timeoutId = ""), t.dataset.initialWidth || (t.dataset.initialWidth = t.style.width), t.dataset.initialHeight || (t.dataset.initialHeight = t.style.height), t.dataset.initialContentWidth || (t.dataset.initialContentWidth = String(s.width)), t.dataset.initialContentHeight || (t.dataset.initialContentHeight = String(s.height)), t.dataset.transitionStart = String(Date.now()), t.style.width = t.dataset.initialContentWidth + "px", t.style.height = t.dataset.initialContentHeight + "px", t.style.borderRadius = "0.5em", t.classList.add(K.milestoneHovered), r.style.opacity = "1", r.style.width = t.dataset.initialContentWidth + "px", r.style.height = t.dataset.initialContentHeight + "px";
5541
+ const r = i.children[0];
5542
+ if (!r)
5543
+ return;
5544
+ const s = r.getBoundingClientRect(), a = t.dataset.timeoutId;
5545
+ a && (clearTimeout(Number(a)), t.dataset.timeoutId = ""), t.dataset.initialWidth || (t.dataset.initialWidth = t.style.width), t.dataset.initialHeight || (t.dataset.initialHeight = t.style.height), t.dataset.initialContentWidth || (t.dataset.initialContentWidth = String(s.width)), t.dataset.initialContentHeight || (t.dataset.initialContentHeight = String(s.height)), t.dataset.transitionStart = String(Date.now()), t.style.width = t.dataset.initialContentWidth + "px", t.style.height = t.dataset.initialContentHeight + "px", t.style.borderRadius = "0.5em", t.classList.add(K.milestoneHovered), i.style.opacity = "1", i.style.width = t.dataset.initialContentWidth + "px", i.style.height = t.dataset.initialContentHeight + "px";
5540
5546
  },
5541
5547
  onMilestoneMouseMove() {
5542
5548
  this.timeouts.forEach((e) => clearTimeout(e)), this.isMouseOver = !0;
@@ -5554,11 +5560,11 @@ const sr = {
5554
5560
  if (!t)
5555
5561
  return;
5556
5562
  t.style.width = t.dataset.initialWidth || "", t.style.height = t.dataset.initialHeight || "", t.style.borderRadius = "10em";
5557
- const r = t.children[0];
5558
- if (!r)
5563
+ const i = t.children[0];
5564
+ if (!i)
5559
5565
  return;
5560
- r.style.width = "0", r.style.height = "0", r.style.opacity = "0";
5561
- const i = Date.now() - Number(t.dataset.transitionStart), s = i > this.transitionDuration ? this.transitionDuration : i, a = setTimeout(() => {
5566
+ i.style.width = "0", i.style.height = "0", i.style.opacity = "0";
5567
+ const r = Date.now() - Number(t.dataset.transitionStart), s = r > this.transitionDuration ? this.transitionDuration : r, a = setTimeout(() => {
5562
5568
  t.classList.remove(K.milestoneHovered), t.dataset.timeoutId = "";
5563
5569
  }, s);
5564
5570
  t.dataset.timeoutId = String(a), this.timeouts.push(a);
@@ -5568,28 +5574,28 @@ const sr = {
5568
5574
  }
5569
5575
  }
5570
5576
  });
5571
- var lr = function() {
5572
- var t = this, r = t._self._c;
5573
- return r("div", { ref: "container", class: {
5577
+ var li = function() {
5578
+ var t = this, i = t._self._c;
5579
+ return i("div", { ref: "container", class: {
5574
5580
  [t.milestoneClasses.milestone]: !0,
5575
5581
  [t.milestoneClasses.milestoneBullet]: !t.dot,
5576
5582
  [t.milestoneClasses.milestoneHovered]: t.isMouseOver && !t.dot,
5577
5583
  [t.milestoneClasses.milestoneDot]: t.dot,
5578
5584
  [t.milestoneClasses.milestoneDotHovered]: t.isMouseOver && t.dot
5579
- }, style: t.styles, attrs: { tabindex: "0" }, on: { mouseover: (i) => t.onMilestoneMouseOver(i, t.milestone), mousemove: t.onMilestoneMouseMove, mouseleave: (i) => t.onMilestoneMouseLeave(i, t.milestone), click: (i) => t.onMilestoneClick(i, t.milestone) } }, [r("div", { class: t.milestoneClasses.milestoneContent, style: t.contentStyles }, [t._t("content", function() {
5580
- return [r("span", [t._v(" " + t._s(t.milestone.text) + " ")])];
5581
- })], 2), t.dot ? r("div", { class: t.milestoneClasses.milestoneDotContainer, style: t.dotContainerStyles }, [r("div", { class: t.milestoneClasses.milestoneDotLine, style: t.lineStyles }), r("div", { class: t.milestoneClasses.milestoneDotDot, style: t.dotStyles })]) : r("div", { class: t.milestoneClasses.milestoneLabel, style: t.labelStyles }, [t._t("label")], 2)]);
5582
- }, cr = [], ur = /* @__PURE__ */ I(
5583
- or,
5584
- lr,
5585
- cr,
5585
+ }, style: t.styles, attrs: { tabindex: "0" }, on: { mouseover: (r) => t.onMilestoneMouseOver(r, t.milestone), mousemove: t.onMilestoneMouseMove, mouseleave: (r) => t.onMilestoneMouseLeave(r, t.milestone), click: (r) => t.onMilestoneClick(r, t.milestone) } }, [i("div", { class: t.milestoneClasses.milestoneContent, style: t.contentStyles }, [t._t("content", function() {
5586
+ return [i("span", [t._v(" " + t._s(t.milestone.text) + " ")])];
5587
+ })], 2), t.dot ? i("div", { class: t.milestoneClasses.milestoneDotContainer, style: t.dotContainerStyles }, [i("div", { class: t.milestoneClasses.milestoneDotLine, style: t.lineStyles }), i("div", { class: t.milestoneClasses.milestoneDotDot, style: t.dotStyles })]) : i("div", { class: t.milestoneClasses.milestoneLabel, style: t.labelStyles }, [t._t("label")], 2)]);
5588
+ }, ci = [], ui = /* @__PURE__ */ R(
5589
+ oi,
5590
+ li,
5591
+ ci,
5586
5592
  !1,
5587
5593
  null,
5588
5594
  null,
5589
5595
  null,
5590
5596
  null
5591
5597
  );
5592
- const dr = ur.exports, m = {
5598
+ const di = ui.exports, p = {
5593
5599
  eventGroup: "event-group",
5594
5600
  eventGroupBg: "event-group-bg",
5595
5601
  eventRect: "event-rect",
@@ -5630,13 +5636,13 @@ const dr = ur.exports, m = {
5630
5636
  transparencyGradientLight: "transparency-gradient-light",
5631
5637
  loadingGradient: "loading-gradient",
5632
5638
  stripedPattern: "stripedPattern"
5633
- }, hr = F.extend({
5639
+ }, hi = L.extend({
5634
5640
  name: "ETimeline",
5635
5641
  directives: {
5636
5642
  resizeObserver: Se
5637
5643
  },
5638
5644
  components: {
5639
- ETimelineMilestone: dr
5645
+ ETimelineMilestone: di
5640
5646
  },
5641
5647
  props: {
5642
5648
  eventsGroups: {
@@ -5645,7 +5651,7 @@ const dr = ur.exports, m = {
5645
5651
  },
5646
5652
  xAxesConfig: {
5647
5653
  type: Object,
5648
- default: () => sr
5654
+ default: () => si
5649
5655
  },
5650
5656
  dark: {
5651
5657
  type: Boolean,
@@ -5901,7 +5907,7 @@ const dr = ur.exports, m = {
5901
5907
  },
5902
5908
  lineGraphGroups() {
5903
5909
  return Object.entries(this.filteredEventsGroups).reduce(
5904
- (e, [t, r]) => r.chartType === U.lineGraph ? { ...e, [t]: r } : e,
5910
+ (e, [t, i]) => i.chartType === U.lineGraph ? { ...e, [t]: i } : e,
5905
5911
  {}
5906
5912
  );
5907
5913
  },
@@ -5913,21 +5919,21 @@ const dr = ur.exports, m = {
5913
5919
  },
5914
5920
  barGroups() {
5915
5921
  return Object.entries(this.filteredEventsGroups).reduce(
5916
- (e, [t, r]) => !r.chartType || [U.bars, U.dots].includes(
5917
- r.chartType
5918
- ) ? { ...e, [t]: r } : e,
5922
+ (e, [t, i]) => !i.chartType || [U.bars, U.dots].includes(
5923
+ i.chartType
5924
+ ) ? { ...e, [t]: i } : e,
5919
5925
  {}
5920
5926
  );
5921
5927
  },
5922
5928
  barChartGroups() {
5923
5929
  return Object.entries(this.filteredEventsGroups).reduce(
5924
- (e, [t, r]) => r.chartType === U.barChart ? { ...e, [t]: r } : e,
5930
+ (e, [t, i]) => i.chartType === U.barChart ? { ...e, [t]: i } : e,
5925
5931
  {}
5926
5932
  );
5927
5933
  },
5928
5934
  milestonesGroups() {
5929
5935
  return Object.entries(this.filteredEventsGroups).reduce(
5930
- (e, [t, r]) => r.chartType === U.milestones ? { ...e, [t]: r } : e,
5936
+ (e, [t, i]) => i.chartType === U.milestones ? { ...e, [t]: i } : e,
5931
5937
  {}
5932
5938
  );
5933
5939
  },
@@ -5937,9 +5943,9 @@ const dr = ur.exports, m = {
5937
5943
  labelRectWidth() {
5938
5944
  return Object.values(
5939
5945
  this.eventsGroups
5940
- ).reduce((r, i) => {
5946
+ ).reduce((i, r) => {
5941
5947
  var s;
5942
- return Math.max(r, (s = i.label) == null ? void 0 : s.length);
5948
+ return Math.max(i, (s = r.label) == null ? void 0 : s.length);
5943
5949
  }, 0) * this.characterWidth + 2 * this.textPadding;
5944
5950
  },
5945
5951
  combinedXAxesHeight() {
@@ -5951,7 +5957,7 @@ const dr = ur.exports, m = {
5951
5957
  },
5952
5958
  filteredEventsGroups() {
5953
5959
  const e = Object.entries(this.eventsGroups).filter(
5954
- ([t, r]) => this.getCurrentGroupVisibility(t)
5960
+ ([t, i]) => this.getCurrentGroupVisibility(t)
5955
5961
  );
5956
5962
  return Object.fromEntries(e);
5957
5963
  },
@@ -5974,8 +5980,8 @@ const dr = ur.exports, m = {
5974
5980
  allLineChartTimestamps() {
5975
5981
  const e = /* @__PURE__ */ new Set();
5976
5982
  return Object.values(this.lineGraphGroups).forEach((t) => {
5977
- t.events.forEach((r) => {
5978
- e.add(r.timestamp);
5983
+ t.events.forEach((i) => {
5984
+ e.add(i.timestamp);
5979
5985
  });
5980
5986
  }), Array.from(e).sort();
5981
5987
  },
@@ -5989,11 +5995,11 @@ const dr = ur.exports, m = {
5989
5995
  },
5990
5996
  filledGapsLineGraphGroups() {
5991
5997
  return Object.entries(this.lineGraphGroups).reduce(
5992
- (e, [t, r]) => ({
5998
+ (e, [t, i]) => ({
5993
5999
  ...e,
5994
6000
  [t]: {
5995
- ...r,
5996
- events: this.fillEvents(r.events)
6001
+ ...i,
6002
+ events: this.fillEvents(i.events)
5997
6003
  }
5998
6004
  }),
5999
6005
  {}
@@ -6010,7 +6016,7 @@ const dr = ur.exports, m = {
6010
6016
  },
6011
6017
  hiddenGroupsLabels() {
6012
6018
  return Object.entries(this.groupsVisibility).reduce(
6013
- (e, [t, r]) => r ? e : [...e, t],
6019
+ (e, [t, i]) => i ? e : [...e, t],
6014
6020
  []
6015
6021
  );
6016
6022
  },
@@ -6083,7 +6089,7 @@ const dr = ur.exports, m = {
6083
6089
  );
6084
6090
  return;
6085
6091
  }
6086
- this.initOrUpdateSvg(), this.initDefs(), this.initUtcOffset(), this.initTimeScale(e, t), this.initXAxes(), this.initYScale(), this.initZoomBehavior(), this.drawEventsGroups(), this.curtains && (this.initCurtains(), this.emitCurtainChange()), this.initSelectedTimestampCursor(), this.updateMarkers(), this.registerEventsListeners(), this.emitVisibleInterval(ie.initial), this.selectedDate && this.panOnDateClick && this.panToTimestamp(this.selectedDate), this.isInitialized = !0;
6092
+ this.initOrUpdateSvg(), this.initDefs(), this.initUtcOffset(), this.initTimeScale(e, t), this.initXAxes(), this.initYScale(), this.initZoomBehavior(), this.drawEventsGroups(), this.curtains && (this.initCurtains(), this.emitCurtainChange()), this.initSelectedTimestampCursor(), this.updateMarkers(), this.registerEventsListeners(), this.emitVisibleInterval(re.initial), this.selectedDate && this.panOnDateClick && this.panToTimestamp(this.selectedDate), this.isInitialized = !0;
6087
6093
  },
6088
6094
  initRefs() {
6089
6095
  this.tooltip = this.$refs.tooltip, this.cursor = this.$refs.cursor, this.timeline = this.$refs.timelineContainer, this.selectedTimestampCursor = this.$refs.selectedTimestamp, this.wrapperDiv = this.$refs.wrapperDiv;
@@ -6094,8 +6100,8 @@ const dr = ur.exports, m = {
6094
6100
  initDefs() {
6095
6101
  const e = this.svg.append("defs");
6096
6102
  Object.entries(this.filteredEventsGroups).forEach(
6097
- ([r, i]) => {
6098
- const { color: s, chartType: a } = i, n = e.append("linearGradient").attr("id", `${Z.loadingGradient}-${r}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
6103
+ ([i, r]) => {
6104
+ const { color: s, chartType: a } = r, n = e.append("linearGradient").attr("id", `${Z.loadingGradient}-${i}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
6099
6105
  n.append("stop").attr("offset", "0%").attr("stop-color", s).attr("stop-opacity", "0"), n.append("stop").attr("offset", "50%").attr("stop-color", s).attr("stop-opacity", "0.6"), n.append("stop").attr("offset", "100%").attr("stop-color", s).attr("stop-opacity", "0"), [U.lineGraph, U.barChart].includes(
6100
6106
  a
6101
6107
  ) && [
@@ -6109,99 +6115,99 @@ const dr = ur.exports, m = {
6109
6115
  stop: 130,
6110
6116
  opacity: 0.4
6111
6117
  }
6112
- ].forEach(({ id: l, stop: o, opacity: h }) => {
6113
- const p = e.append("linearGradient").attr("id", `${l}-${r}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
6114
- p.append("stop").attr("offset", "0%").style("stop-color", s).style("stop-opacity", h), p.append("stop").attr("offset", `${o}%`).style("stop-color", s).style("stop-opacity", 0);
6118
+ ].forEach(({ id: l, stop: o, opacity: d }) => {
6119
+ const m = e.append("linearGradient").attr("id", `${l}-${i}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
6120
+ m.append("stop").attr("offset", "0%").style("stop-color", s).style("stop-opacity", d), m.append("stop").attr("offset", `${o}%`).style("stop-color", s).style("stop-opacity", 0);
6115
6121
  });
6116
6122
  }
6117
6123
  ), e.append("pattern").attr("id", Z.stripedPattern).attr("width", 5).attr("height", 3).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("rect").attr("width", 1).attr("height", 4).attr("transform", "translate(0,0)").attr("fill", this.forbiddenIntervalColor);
6118
6124
  },
6119
6125
  initUtcOffset() {
6120
6126
  const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate;
6121
- this.utcOffset = R.parseZone(e).utcOffset();
6127
+ this.utcOffset = I.parseZone(e).utcOffset();
6122
6128
  },
6123
6129
  initTimeScale(e, t) {
6124
- const r = e || this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, i = t || this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate;
6125
- this.timeScale = c.scaleTime().domain([this.tzStringToDate(r), this.tzStringToDate(i)]).range([0, this.timeline.offsetWidth]), this.initialTimeScale = this.timeScale.copy(), this.updateCurrentTimeScaleDensity();
6130
+ const i = e || this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, r = t || this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate;
6131
+ this.timeScale = c.scaleTime().domain([this.tzStringToDate(i), this.tzStringToDate(r)]).range([0, this.timeline.offsetWidth]), this.initialTimeScale = this.timeScale.copy(), this.updateCurrentTimeScaleDensity();
6126
6132
  },
6127
6133
  initXAxes() {
6128
6134
  let e = 0;
6129
6135
  const t = 5;
6130
- for (const r in this.xAxesConfig) {
6131
- const i = this.createAxis(r);
6132
- this.xAxes[r] = i, this.svg.append("g").classed(m.xAxis, !0).classed(`${m.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(i), this.translateTicksText(r), e += this.axisHeight;
6136
+ for (const i in this.xAxesConfig) {
6137
+ const r = this.createAxis(i);
6138
+ this.xAxes[i] = r, this.svg.append("g").classed(p.xAxis, !0).classed(`${p.xAxis}-${i}`, !0).attr("transform", `translate(0, ${e || t})`).call(r), this.translateTicksText(i), e += this.axisHeight;
6133
6139
  }
6134
6140
  this.updateXAxes();
6135
6141
  },
6136
6142
  updateXAxes() {
6137
6143
  let e = 0;
6138
6144
  const t = 5;
6139
- for (const r in this.xAxesConfig) {
6140
- const i = this.xAxes[r];
6141
- i.tickSizeOuter(0), i.tickSizeInner(this.timelineHeight), this.svg.select(`.${m.xAxis}-${r}`).attr("transform", `translate(0, ${e || t})`).call(i), this.translateTicksText(r), e += this.axisHeight;
6145
+ for (const i in this.xAxesConfig) {
6146
+ const r = this.xAxes[i];
6147
+ r.tickSizeOuter(0), r.tickSizeInner(this.timelineHeight), this.svg.select(`.${p.xAxis}-${i}`).attr("transform", `translate(0, ${e || t})`).call(r), this.translateTicksText(i), e += this.axisHeight;
6142
6148
  }
6143
6149
  },
6144
6150
  initYScale() {
6145
6151
  this.yScale = c.scaleLinear().range([this.chartHeight, 0]), this.updateYScaleDomain();
6146
6152
  },
6147
6153
  updateYScaleDomain() {
6148
- const [e, t] = this.timeScale.domain(), r = this.flattenedCounts.filter((s) => {
6154
+ const [e, t] = this.timeScale.domain(), i = this.flattenedCounts.filter((s) => {
6149
6155
  const a = new Date(s.startDate || s.timestamp), n = new Date(s.endDate || s.timestamp);
6150
6156
  return n >= e && n <= t || a >= e && a <= t;
6151
- }), i = c.max(r, (s) => s.count);
6152
- this.yScale.domain([0, i]);
6157
+ }), r = c.max(i, (s) => s.count);
6158
+ this.yScale.domain([0, r]);
6153
6159
  },
6154
6160
  initZoomBehavior() {
6155
6161
  this.disableZoom || (this.zoomBehavior = c.zoom().on("zoom", this.handleZoom).scaleExtent([this.minZoom, this.maxZoom]), this.svg.call(this.zoomBehavior), this.svg.call(this.zoomBehavior.transform, c.zoomIdentity));
6156
6162
  },
6157
6163
  zoomToFitMarkers() {
6158
6164
  const e = this.markers.map(
6159
- (i) => new Date(i.timestamp).getTime()
6165
+ (r) => new Date(r.timestamp).getTime()
6160
6166
  );
6161
6167
  if (e.length < 2)
6162
6168
  return;
6163
- const t = Math.min(...e), r = Math.max(...e);
6164
- this.zoomToTargetInterval(t, r);
6169
+ const t = Math.min(...e), i = Math.max(...e);
6170
+ this.zoomToTargetInterval(t, i);
6165
6171
  },
6166
6172
  zoomToTargetInterval(e, t) {
6167
6173
  if (!e || !t)
6168
6174
  return;
6169
6175
  this.isZoomingInterval = !0;
6170
- const r = new Date(e).getTime(), i = new Date(t).getTime(), s = this.initialTimeScale.domain().map((p) => p.getTime()), a = s[1] - s[0], n = i - r, u = 0.1 * n, l = n + 2 * u;
6176
+ const i = new Date(e).getTime(), r = new Date(t).getTime(), s = this.initialTimeScale.domain().map((m) => m.getTime()), a = s[1] - s[0], n = r - i, u = 0.1 * n, l = n + 2 * u;
6171
6177
  let o = a / l;
6172
- const h = this.zoomBehavior.scaleExtent();
6178
+ const d = this.zoomBehavior.scaleExtent();
6173
6179
  o = Math.min(
6174
- Math.max(o, h[0]),
6175
- h[1]
6176
- ), this.svg.transition().duration(this.zoomToIntervalTransitionDuration / 2).call(this.zoomBehavior.scaleTo, o).on("end", () => this.translateIntervalIntoView(r, i, o));
6180
+ Math.max(o, d[0]),
6181
+ d[1]
6182
+ ), this.svg.transition().duration(this.zoomToIntervalTransitionDuration / 2).call(this.zoomBehavior.scaleTo, o).on("end", () => this.translateIntervalIntoView(i, r, o));
6177
6183
  },
6178
- translateIntervalIntoView(e, t, r) {
6179
- const i = this.timeScale(new Date(e)), s = this.timeScale(new Date(t)), a = (i + s) / 2, u = this.svg.node().getBoundingClientRect().width / 2 - a, l = c.zoomTransform(this.svg.node());
6184
+ translateIntervalIntoView(e, t, i) {
6185
+ const r = this.timeScale(new Date(e)), s = this.timeScale(new Date(t)), a = (r + s) / 2, u = this.svg.node().getBoundingClientRect().width / 2 - a, l = c.zoomTransform(this.svg.node());
6180
6186
  this.svg.transition().duration(this.zoomToIntervalTransitionDuration / 2).call(
6181
6187
  this.zoomBehavior.transform,
6182
- c.zoomIdentity.translate(l.x + u, l.y).scale(r)
6188
+ c.zoomIdentity.translate(l.x + u, l.y).scale(i)
6183
6189
  ).on("end", () => {
6184
6190
  this.isZoomingInterval = !1;
6185
6191
  });
6186
6192
  },
6187
6193
  initSelectedTimestampCursor() {
6188
- this.svg.append("line").attr("class", m.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0), this.repositionSelectedTimestampCursor();
6194
+ this.svg.append("line").attr("class", p.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0), this.repositionSelectedTimestampCursor();
6189
6195
  },
6190
6196
  updateMarkers() {
6191
6197
  if (!this.markers.length)
6192
6198
  return;
6193
6199
  const e = 12, t = 200;
6194
- this.sortedMarkers.forEach((r, i, s) => {
6195
- const a = typeof r.timestamp == "string" ? this.tzStringToDate(r.timestamp) : r.timestamp, n = this.timeScale(a);
6200
+ this.sortedMarkers.forEach((i, r, s) => {
6201
+ const a = typeof i.timestamp == "string" ? this.tzStringToDate(i.timestamp) : i.timestamp, n = this.timeScale(a);
6196
6202
  let u = !1;
6197
- const l = this.stickyMarkers ? Math.max(n, i * e) : n;
6198
- if (i < s.length - 1) {
6199
- const o = s[i + 1], h = typeof o.timestamp == "string" ? this.tzStringToDate(o.timestamp) : o.timestamp, p = this.timeScale(h);
6200
- u = (this.stickyMarkers ? Math.max(p, (i + 1) * e) : n) - l < t + e;
6203
+ const l = this.stickyMarkers ? Math.max(n, r * e) : n;
6204
+ if (r < s.length - 1) {
6205
+ const o = s[r + 1], d = typeof o.timestamp == "string" ? this.tzStringToDate(o.timestamp) : o.timestamp, m = this.timeScale(d);
6206
+ u = (this.stickyMarkers ? Math.max(m, (r + 1) * e) : n) - l < t + e;
6201
6207
  }
6202
6208
  this.markersPositions = {
6203
6209
  ...this.markersPositions,
6204
- [r.id]: {
6210
+ [i.id]: {
6205
6211
  isHidden: u,
6206
6212
  position: l
6207
6213
  }
@@ -6215,44 +6221,44 @@ const dr = ur.exports, m = {
6215
6221
  this.svg && this.svg.remove(), this.countsByTimestamp = {};
6216
6222
  },
6217
6223
  repositionSelectedTimestampCursor() {
6218
- const e = this.svg.select(`.${m.selectedTimestampCursor}`);
6224
+ const e = this.svg.select(`.${p.selectedTimestampCursor}`);
6219
6225
  if (!this.selectedTimestamp) {
6220
6226
  e.style("opacity", 0);
6221
6227
  return;
6222
6228
  }
6223
- const t = this.tzStringToDate(this.selectedTimestamp), r = this.timeScale(t);
6224
- isNaN(r) ? e.style("opacity", 0) : e.attr("x1", r).attr("x2", r).style("opacity", 0.5), e.attr("y2", this.timelineHeight);
6229
+ const t = this.tzStringToDate(this.selectedTimestamp), i = this.timeScale(t);
6230
+ isNaN(i) ? e.style("opacity", 0) : e.attr("x1", i).attr("x2", i).style("opacity", 0.5), e.attr("y2", this.timelineHeight);
6225
6231
  },
6226
6232
  updateCurrentTimeScaleDensity() {
6227
- const e = this.timeScale.invert(0).getTime(), t = this.timeScale.invert(1).getTime(), r = 36e5, i = (t - e) / r;
6228
- isNaN(i) || (this.currentTimeScaleDensity = i);
6233
+ const e = this.timeScale.invert(0).getTime(), t = this.timeScale.invert(1).getTime(), i = 36e5, r = (t - e) / i;
6234
+ isNaN(r) || (this.currentTimeScaleDensity = r);
6229
6235
  },
6230
6236
  registerEventsListeners() {
6231
6237
  document.addEventListener("mouseup", this.handleDocumentMouseUp), this.svg.on("mousedown", this.handleMouseDown), this.svg.on("mousemove", this.handleMouseMove), this.svg.on("click", this.handleClick), this.svg.on("mouseleave", this.handleMouseLeave);
6232
6238
  },
6233
6239
  emitVisibleInterval(e) {
6234
- const t = this.timeScale.invert(0), r = this.timeScale.invert(this.timeline.offsetWidth);
6235
- if (this.visibleFrom && this.visibleFrom.getTime() === t.getTime() && this.visibleTo && this.visibleTo.getTime() === r.getTime())
6240
+ const t = this.timeScale.invert(0), i = this.timeScale.invert(this.timeline.offsetWidth);
6241
+ if (this.visibleFrom && this.visibleFrom.getTime() === t.getTime() && this.visibleTo && this.visibleTo.getTime() === i.getTime())
6236
6242
  return;
6237
- this.visibleFrom = t, this.visibleTo = r;
6238
- const i = this.dateToTzString(this.visibleFrom), s = this.dateToTzString(this.visibleTo);
6243
+ this.visibleFrom = t, this.visibleTo = i;
6244
+ const r = this.dateToTzString(this.visibleFrom), s = this.dateToTzString(this.visibleTo);
6239
6245
  this.$emit("visible-interval-change", {
6240
- fromDate: i,
6246
+ fromDate: r,
6241
6247
  toDate: s,
6242
6248
  trigger: e,
6243
6249
  transform: this.transformDiff
6244
6250
  });
6245
6251
  },
6246
6252
  createAxis(e) {
6247
- const t = this.xAxesConfig[e], r = this.getAxisTicksConfig(t);
6248
- return c.axisBottom(this.timeScale).ticks(r.interval).tickFormat(r.formatFn).tickSizeOuter(0).tickSizeInner(this.timelineHeight);
6253
+ const t = this.xAxesConfig[e], i = this.getAxisTicksConfig(t);
6254
+ return c.axisBottom(this.timeScale).ticks(i.interval).tickFormat(i.formatFn).tickSizeOuter(0).tickSizeInner(this.timelineHeight);
6249
6255
  },
6250
6256
  getAxisTicksConfig(e) {
6251
- const { interval: t, format: r } = e.find(
6257
+ const { interval: t, format: i } = e.find(
6252
6258
  (s) => s.precision >= this.currentTimeScaleDensity && s.interval
6253
6259
  );
6254
6260
  return {
6255
- formatFn: (s) => typeof r == "function" ? r(s) : c.timeFormat(r)(s),
6261
+ formatFn: (s) => typeof i == "function" ? i(s) : c.timeFormat(i)(s),
6256
6262
  interval: t
6257
6263
  };
6258
6264
  },
@@ -6266,14 +6272,14 @@ const dr = ur.exports, m = {
6266
6272
  if (!this.showLabels)
6267
6273
  return;
6268
6274
  const e = this;
6269
- this.svg.selectAll(`.${m.labelBg}`).each(function() {
6275
+ this.svg.selectAll(`.${p.labelBg}`).each(function() {
6270
6276
  c.select(this).style("fill", e.dark ? "black" : "white");
6271
- }), this.svg.selectAll(`.${m.labelBgFill}`).each(function() {
6272
- const t = c.select(this), r = t.node().dataset.color;
6273
- t.style("fill", e.getLabelBackgroundColor(r)).style("stroke", e.getTextFillColor(r)).style("stroke-width", 0.25);
6274
- }), this.svg.selectAll(`.${m.labelText}`).each(function() {
6275
- const t = c.select(this), r = t.node().dataset.color;
6276
- t.style("fill", e.getTextFillColor(r));
6277
+ }), this.svg.selectAll(`.${p.labelBgFill}`).each(function() {
6278
+ const t = c.select(this), i = t.node().dataset.color;
6279
+ t.style("fill", e.getLabelBackgroundColor(i)).style("stroke", e.getTextFillColor(i)).style("stroke-width", 0.25);
6280
+ }), this.svg.selectAll(`.${p.labelText}`).each(function() {
6281
+ const t = c.select(this), i = t.node().dataset.color;
6282
+ t.style("fill", e.getTextFillColor(i));
6277
6283
  });
6278
6284
  },
6279
6285
  handleMouseDown() {
@@ -6293,8 +6299,8 @@ const dr = ur.exports, m = {
6293
6299
  this.isHoveringTimeline = !1;
6294
6300
  return;
6295
6301
  }
6296
- const r = this.timeScale.invert(t);
6297
- this.hoveredTimestamp = this.dateToTzString(r), this.isHoveringTimeline = !0, this.$emit("hovered-timestamp", this.hoveredTimestamp), this.cursor.style.left = t + "px", this.tooltip && (this.eventTooltipStyle = {
6302
+ const i = this.timeScale.invert(t);
6303
+ this.hoveredTimestamp = this.dateToTzString(i), this.isHoveringTimeline = !0, this.$emit("hovered-timestamp", this.hoveredTimestamp), this.cursor.style.left = t + "px", this.tooltip && (this.eventTooltipStyle = {
6298
6304
  left: `${t}px`,
6299
6305
  bottom: `${this.timeline.getBoundingClientRect().height}px`,
6300
6306
  zIndex: 100
@@ -6304,94 +6310,94 @@ const dr = ur.exports, m = {
6304
6310
  const t = e.offsetX;
6305
6311
  if (t <= this.minHoverZone)
6306
6312
  return;
6307
- const r = this.timeScale.invert(t), i = this.dateToTzString(r);
6308
- this.$emit("date-clicked", i), this.isHoveringEvent && this.$emit("event-clicked", {
6313
+ const i = this.timeScale.invert(t), r = this.dateToTzString(i);
6314
+ this.$emit("date-clicked", r), this.isHoveringEvent && this.$emit("event-clicked", {
6309
6315
  event: this.hoveredEvent,
6310
6316
  type: this.hoveredEventType
6311
- }), this.panOnDateClick && this.panToTimestamp(i);
6317
+ }), this.panOnDateClick && this.panToTimestamp(r);
6312
6318
  },
6313
6319
  handleMarkerClick(e) {
6314
6320
  this.$emit("marker-clicked", e), this.panOnDateClick && this.panToTimestamp(e.timestamp);
6315
6321
  },
6316
- handleLineMouseOver(e, t, r) {
6322
+ handleLineMouseOver(e, t, i) {
6317
6323
  this.hoveredCounts = Object.entries(
6318
6324
  this.countsByTimestamp[`${t.timestamp}`]
6319
- ).reduce((i, s) => {
6325
+ ).reduce((r, s) => {
6320
6326
  const [a, n] = s;
6321
- return [...i, { type: a, count: n }];
6327
+ return [...r, { type: a, count: n }];
6322
6328
  }, []), this.hoveredEvent = t, this.isHoveringEvent = !0, this.$emit("event-mouseover", {
6323
6329
  eventData: t,
6324
- eventType: r,
6330
+ eventType: i,
6325
6331
  hoveredCounts: this.hoveredCounts
6326
6332
  });
6327
6333
  },
6328
6334
  handleLineMouseOut() {
6329
6335
  this.isHoveringEvent = !1, this.hoveredCounts = [], this.$emit("event-mouseout");
6330
6336
  },
6331
- handleBarMouseOver(e, t, r) {
6332
- e.offsetX <= this.minHoverZone || (this.hoveredEvent = t, this.hoveredEventType = r, this.isHoveringEvent = !0, this.$emit("event-mouseover", { eventData: t, eventType: r }));
6337
+ handleBarMouseOver(e, t, i) {
6338
+ e.offsetX <= this.minHoverZone || (this.hoveredEvent = t, this.hoveredEventType = i, this.isHoveringEvent = !0, this.$emit("event-mouseover", { eventData: t, eventType: i }));
6333
6339
  },
6334
6340
  handleBarMouseOut() {
6335
6341
  this.isHoveringEvent = !1, this.hoveredEvent = null, this.$emit("event-mouseout");
6336
6342
  },
6337
6343
  handleLabelMouseOver(e) {
6338
- c.selectAll(`.${m.lineGraphGroup}-${e}`).classed(
6339
- `${m.lineGraphGroup}--highlighted`,
6344
+ c.selectAll(`.${p.lineGraphGroup}-${e}`).classed(
6345
+ `${p.lineGraphGroup}--highlighted`,
6340
6346
  !0
6341
- ), c.selectAll(`.${m.lineGraphGroupLabel}`).classed(
6342
- `${m.lineGraphGroupLabel}--highlighted`,
6347
+ ), c.selectAll(`.${p.lineGraphGroupLabel}`).classed(
6348
+ `${p.lineGraphGroupLabel}--highlighted`,
6343
6349
  !0
6344
6350
  );
6345
6351
  },
6346
6352
  handleLabelMouseLeave(e) {
6347
- c.selectAll(`.${m.lineGraphGroup}-${e}`).classed(
6348
- `${m.lineGraphGroup}--highlighted`,
6353
+ c.selectAll(`.${p.lineGraphGroup}-${e}`).classed(
6354
+ `${p.lineGraphGroup}--highlighted`,
6349
6355
  !1
6350
- ), c.selectAll(`.${m.lineGraphGroupLabel}`).classed(
6351
- `${m.lineGraphGroupLabel}--highlighted`,
6356
+ ), c.selectAll(`.${p.lineGraphGroupLabel}`).classed(
6357
+ `${p.lineGraphGroupLabel}--highlighted`,
6352
6358
  !1
6353
6359
  );
6354
6360
  },
6355
6361
  isZoomAllowed(e) {
6356
6362
  if (this.isZoomingInterval)
6357
6363
  return !0;
6358
- const t = this.initialTimeScale.copy(), r = e.transform.rescaleX(t).domain(), i = this.minDate ? this.tzStringToDate(this.minDate) : void 0, s = this.maxDate ? this.tzStringToDate(this.maxDate) : void 0;
6359
- return (!i || r[0] >= i) && (!s || r[1] <= s);
6364
+ const t = this.initialTimeScale.copy(), i = e.transform.rescaleX(t).domain(), r = this.minDate ? this.tzStringToDate(this.minDate) : void 0, s = this.maxDate ? this.tzStringToDate(this.maxDate) : void 0;
6365
+ return (!r || i[0] >= r) && (!s || i[1] <= s);
6360
6366
  },
6361
6367
  handleZoom(e) {
6362
- var i;
6368
+ var r;
6363
6369
  if (!this.isZoomAllowed(e)) {
6364
- (i = e == null ? void 0 : e.sourceEvent) == null || i.preventDefault(), this.svg.call(this.zoomBehavior.transform, this.lastValidTransform);
6370
+ (r = e == null ? void 0 : e.sourceEvent) == null || r.preventDefault(), this.svg.call(this.zoomBehavior.transform, this.lastValidTransform);
6365
6371
  return;
6366
6372
  }
6367
6373
  this.lastValidTransform = e.transform;
6368
6374
  const t = e.transform.rescaleX(this.initialTimeScale);
6369
6375
  this.timeScale.domain(t.domain()), this.updateCurrentTimeScaleDensity(), this.updateYScaleDomain();
6370
- const r = e.transform.k / this.lastTransform.k;
6376
+ const i = e.transform.k / this.lastTransform.k;
6371
6377
  this.transformDiff = {
6372
- scale: r,
6378
+ scale: i,
6373
6379
  translation: e.transform.x - this.lastTransform.x
6374
6380
  }, this.lastTransform = { ...e.transform };
6375
6381
  for (const s in this.xAxes)
6376
6382
  this.rescaleAxis(s, t), this.translateTicksText(s);
6377
- this.updateEventsBars(), this.updateLineGraphs(), this.updateBarChart(), this.updateLineGraphHoverZones(), this.updateMilestonesPositions(), this.repositionSelectedTimestampCursor(), this.updateForbiddenIntervals(), this.updateMarkers(), this.emitVisibleInterval(ie.zoom), this.curtains && this.emitCurtainChange();
6383
+ this.updateEventsBars(), this.updateLineGraphs(), this.updateBarChart(), this.updateLineGraphHoverZones(), this.updateMilestonesPositions(), this.repositionSelectedTimestampCursor(), this.updateForbiddenIntervals(), this.updateMarkers(), this.emitVisibleInterval(re.zoom), this.curtains && this.emitCurtainChange();
6378
6384
  },
6379
6385
  panToTimestamp(e) {
6380
- const t = this.tzStringToDate(e), r = this.timeScale(t), i = c.zoomTransform(this.svg.node()), s = i.x - r + this.timeline.offsetWidth / 2, a = this.timeScale.invert(
6381
- -s / i.k
6386
+ const t = this.tzStringToDate(e), i = this.timeScale(t), r = c.zoomTransform(this.svg.node()), s = r.x - i + this.timeline.offsetWidth / 2, a = this.timeScale.invert(
6387
+ -s / r.k
6382
6388
  ), n = this.timeScale.invert(
6383
- (this.timeline.offsetWidth - s) / i.k
6389
+ (this.timeline.offsetWidth - s) / r.k
6384
6390
  ), u = this.minDate ? this.tzStringToDate(this.minDate) : void 0, l = this.maxDate ? this.tzStringToDate(this.maxDate) : void 0;
6385
6391
  if (u && a < u || l && n > l) {
6386
6392
  console.log("Pan operation would exceed bounds. Operation cancelled.");
6387
6393
  return;
6388
6394
  }
6389
- const h = i.k / this.lastPanTransform.k < 10 ? this.panTransitionDuration : 0;
6390
- this.lastPanTransform = { ...i }, this.svg.transition().duration(h).call(
6395
+ const d = r.k / this.lastPanTransform.k < 10 ? this.panTransitionDuration : 0;
6396
+ this.lastPanTransform = { ...r }, this.svg.transition().duration(d).call(
6391
6397
  this.zoomBehavior.transform,
6392
- c.zoomIdentity.translate(s, 0).scale(i.k)
6398
+ c.zoomIdentity.translate(s, 0).scale(r.k)
6393
6399
  ).on("end", () => {
6394
- this.emitVisibleInterval(ie.autoPan);
6400
+ this.emitVisibleInterval(re.autoPan);
6395
6401
  });
6396
6402
  },
6397
6403
  emitCurtainChange() {
@@ -6402,7 +6408,7 @@ const dr = ur.exports, m = {
6402
6408
  });
6403
6409
  },
6404
6410
  calculateDateRangeFromCurtains() {
6405
- const e = this.timeline.offsetWidth, t = this.timeScale.domain(), r = t[1].getTime() - t[0].getTime(), i = (this.leftCurtainWidth - this.curtainHandleWidth * 2) / e * r, s = (this.rightCurtainWidth + this.curtainHandleWidth * 2) / e * r, a = new Date(t[0].getTime() + i), n = new Date(t[1].getTime() - s);
6411
+ const e = this.timeline.offsetWidth, t = this.timeScale.domain(), i = t[1].getTime() - t[0].getTime(), r = (this.leftCurtainWidth - this.curtainHandleWidth * 2) / e * i, s = (this.rightCurtainWidth + this.curtainHandleWidth * 2) / e * i, a = new Date(t[0].getTime() + r), n = new Date(t[1].getTime() - s);
6406
6412
  return { startDate: a, endDate: n };
6407
6413
  },
6408
6414
  handleDragStart() {
@@ -6417,74 +6423,74 @@ const dr = ur.exports, m = {
6417
6423
  e.x,
6418
6424
  this.timeline.offsetWidth - this.rightCurtainWidth
6419
6425
  );
6420
- this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${m.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
6426
+ this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${p.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
6421
6427
  },
6422
6428
  handleRightDrag(e) {
6423
6429
  e.sourceEvent.stopPropagation();
6424
- const t = this.timeline.offsetWidth, r = Math.min(
6430
+ const t = this.timeline.offsetWidth, i = Math.min(
6425
6431
  this.timeline.offsetWidth - e.x,
6426
6432
  this.timeline.offsetWidth - this.leftCurtainWidth
6427
- ), i = t - r;
6428
- this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${m.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", i), this.emitCurtainChange();
6433
+ ), r = t - i;
6434
+ this.rightCurtainWidth = Math.max(0, i), this.svg.select(`.${p.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", r), this.emitCurtainChange();
6429
6435
  },
6430
6436
  zoomToStartAndEndDates() {
6431
- const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, t = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, r = this.tzStringToDate(e), i = this.tzStringToDate(t);
6432
- this.initialTimeScale.domain([r, i]);
6433
- const s = c.zoomTransform(this.svg.node()), a = i.getTime() - r.getTime(), u = this.initialTimeScale.range().map((f) => this.initialTimeScale.invert(f)).reduce((f, g) => g.getTime() - f, 0) / a * s.k, o = -(this.initialTimeScale(r) * u), [h, p] = this.zoomBehavior.scaleExtent(), d = Math.max(h, Math.min(p, u));
6437
+ const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, t = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, i = this.tzStringToDate(e), r = this.tzStringToDate(t);
6438
+ this.initialTimeScale.domain([i, r]);
6439
+ const s = c.zoomTransform(this.svg.node()), a = r.getTime() - i.getTime(), u = this.initialTimeScale.range().map((f) => this.initialTimeScale.invert(f)).reduce((f, g) => g.getTime() - f, 0) / a * s.k, o = -(this.initialTimeScale(i) * u), [d, m] = this.zoomBehavior.scaleExtent(), h = Math.max(d, Math.min(m, u));
6434
6440
  this.svg.transition().duration(this.zoomToBoundariesTransitionDuration).call(
6435
6441
  this.zoomBehavior.transform,
6436
- c.zoomIdentity.translate(o, 0).scale(d)
6442
+ c.zoomIdentity.translate(o, 0).scale(h)
6437
6443
  );
6438
6444
  },
6439
6445
  rescaleAxis(e, t) {
6440
- const r = this.xAxes[e], i = this.getAxisTicksConfig(
6446
+ const i = this.xAxes[e], r = this.getAxisTicksConfig(
6441
6447
  this.xAxesConfig[e]
6442
6448
  );
6443
- r.scale(t).ticks(i.interval).tickFormat(i.formatFn).tickSizeOuter(0), this.svg.select(`.${m.xAxis}-${e}`).call(r);
6449
+ i.scale(t).ticks(r.interval).tickFormat(r.formatFn).tickSizeOuter(0), this.svg.select(`.${p.xAxis}-${e}`).call(i);
6444
6450
  },
6445
6451
  translateTicksText(e) {
6446
- this.svg.select(`.${m.xAxis}-${e}`).selectAll(".tick text").each(function() {
6447
- let t = c.select(this), r = t.node().getBBox();
6448
- t.attr("x", r.height / 2).attr("y", 0).style("text-anchor", "start");
6452
+ this.svg.select(`.${p.xAxis}-${e}`).selectAll(".tick text").each(function() {
6453
+ let t = c.select(this), i = t.node().getBBox();
6454
+ t.attr("x", i.height / 2).attr("y", 0).style("text-anchor", "start");
6449
6455
  });
6450
6456
  },
6451
6457
  updateEventsBars() {
6452
- const e = `.${m.eventGroup} > rect.${m.eventRect}`, t = `${e}:not(.${m.eventRect}--dot)`;
6458
+ const e = `.${p.eventGroup} > rect.${p.eventRect}`, t = `${e}:not(.${p.eventRect}--dot)`;
6453
6459
  this.svg.selectAll(e).attr("x", this.getEventRectX), this.svg.selectAll(t).attr("width", this.getEventRectWidth);
6454
- const r = `.${m.eventGroup} > text.${m.eventRectText}`;
6455
- this.svg.selectAll(r).attr("x", (i) => this.getEventRectX(i) + this.textPadding).text(this.getEventText);
6460
+ const i = `.${p.eventGroup} > text.${p.eventRectText}`;
6461
+ this.svg.selectAll(i).attr("x", (r) => this.getEventRectX(r) + this.textPadding).text(this.getEventText);
6456
6462
  },
6457
6463
  updateBarChart() {
6458
6464
  const e = Object.keys(this.barChartGroups).length;
6459
- Object.keys(this.barChartGroups).forEach((t, r) => {
6460
- const i = (d) => (this.getEventRectWidth(d) - this.barXPadding * 2) / e, s = (d) => this.yScale.range()[0] - this.yScale(d.count), a = (d) => this.getEventRectX(d) + this.barXPadding + r * i(d), n = (d) => this.yScale(d.count), u = `.${m.eventBarContainer}-${t}`, l = this.svg.selectAll(u), o = `.${m.barChartGroup} rect.${m.eventBarHoverZone}`;
6461
- l.selectAll(o).attr("x", a).attr("width", i);
6462
- const h = `.${m.barChartGroup} rect.${m.eventBar}`;
6463
- l.selectAll(h).attr("x", a).attr("width", i).attr("y", n).attr("height", s);
6464
- const p = `.${m.barChartGroup} rect.${m.eventBarCap}`;
6465
- l.selectAll(p).attr("x", a).attr("width", i).attr("y", n);
6465
+ Object.keys(this.barChartGroups).forEach((t, i) => {
6466
+ const r = (h) => (this.getEventRectWidth(h) - this.barXPadding * 2) / e, s = (h) => this.yScale.range()[0] - this.yScale(h.count), a = (h) => this.getEventRectX(h) + this.barXPadding + i * r(h), n = (h) => this.yScale(h.count), u = `.${p.eventBarContainer}-${t}`, l = this.svg.selectAll(u), o = `.${p.barChartGroup} rect.${p.eventBarHoverZone}`;
6467
+ l.selectAll(o).attr("x", a).attr("width", r);
6468
+ const d = `.${p.barChartGroup} rect.${p.eventBar}`;
6469
+ l.selectAll(d).attr("x", a).attr("width", r).attr("y", n).attr("height", s);
6470
+ const m = `.${p.barChartGroup} rect.${p.eventBarCap}`;
6471
+ l.selectAll(m).attr("x", a).attr("width", r).attr("y", n);
6466
6472
  });
6467
6473
  },
6468
6474
  updateLineGraphs() {
6469
6475
  Object.entries(this.lineGraphGroups).forEach(([e]) => {
6470
- const t = c.area().x((r) => this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1((r) => this.yScale(r.count)).curve(c.curveMonotoneX);
6476
+ const t = c.area().x((i) => this.timeScale(this.tzStringToDate(i.timestamp))).y0(this.timelineHeight).y1((i) => this.yScale(i.count)).curve(c.curveMonotoneX);
6471
6477
  this.svg.selectAll(
6472
- `.${m.lineGraphPath}-${e}`
6473
- ).attr("d", (r) => t(r));
6478
+ `.${p.lineGraphPath}-${e}`
6479
+ ).attr("d", (i) => t(i));
6474
6480
  });
6475
6481
  },
6476
6482
  updateLineGraphHoverZones() {
6477
6483
  Object.keys(this.lineGraphGroups).forEach((e) => {
6478
6484
  const t = this;
6479
6485
  this.svg.selectAll(
6480
- `.${m.lineGraphDot}-${e}`
6481
- ).each(function(r) {
6482
- c.select(this).attr("cx", t.timeScale(t.tzStringToDate(r.timestamp))).attr("cy", t.yScale(r.count));
6486
+ `.${p.lineGraphDot}-${e}`
6487
+ ).each(function(i) {
6488
+ c.select(this).attr("cx", t.timeScale(t.tzStringToDate(i.timestamp))).attr("cy", t.yScale(i.count));
6483
6489
  }), this.svg.selectAll(
6484
- `.${m.lineGraphHoverZone}-${e}`
6485
- ).each(function(r) {
6486
- const i = t.timeScale(t.tzStringToDate(r.timestamp).getTime()) - 15;
6487
- c.select(this).attr("x", i).attr("y", 0).attr("width", 30).attr("height", t.chartHeight);
6490
+ `.${p.lineGraphHoverZone}-${e}`
6491
+ ).each(function(i) {
6492
+ const r = t.timeScale(t.tzStringToDate(i.timestamp).getTime()) - 15;
6493
+ c.select(this).attr("x", r).attr("y", 0).attr("width", 30).attr("height", t.chartHeight);
6488
6494
  });
6489
6495
  });
6490
6496
  },
@@ -6495,17 +6501,17 @@ const dr = ur.exports, m = {
6495
6501
  if (!e)
6496
6502
  return 0;
6497
6503
  if (e.startDate && e.endDate) {
6498
- const t = new Date(e.startDate), r = new Date(e.endDate), i = this.timeScale(r) - this.timeScale(t);
6499
- return Math.max(i, this.rectMinWidth);
6504
+ const t = new Date(e.startDate), i = new Date(e.endDate), r = this.timeScale(i) - this.timeScale(t);
6505
+ return Math.max(r, this.rectMinWidth);
6500
6506
  } else {
6501
6507
  const t = 1 / (this.currentTimeScaleDensity * 3600);
6502
6508
  return Math.max(t, this.rectMinWidth);
6503
6509
  }
6504
6510
  },
6505
6511
  getEventText(e) {
6506
- var i;
6507
- const r = (this.getEventRectWidth(e) - this.textPadding) / this.characterWidth;
6508
- return r < 4 ? "" : ((i = e.text) == null ? void 0 : i.length) <= r ? e.text : `${e.text.slice(0, r - 3)}...`;
6512
+ var r;
6513
+ const i = (this.getEventRectWidth(e) - this.textPadding) / this.characterWidth;
6514
+ return i < 4 ? "" : ((r = e.text) == null ? void 0 : r.length) <= i ? e.text : `${e.text.slice(0, i - 3)}...`;
6509
6515
  },
6510
6516
  getElementLeftPosition(e) {
6511
6517
  if (!e)
@@ -6519,18 +6525,18 @@ const dr = ur.exports, m = {
6519
6525
  handleMarkerDrag({
6520
6526
  marker: e,
6521
6527
  markerElement: t,
6522
- dragEvent: r
6528
+ dragEvent: i
6523
6529
  }) {
6524
6530
  if (!e.isDraggable)
6525
6531
  return;
6526
- r.type === "start" && (this.initialMarkerDragMouseOffset = r.x - t.node().querySelector(`.${m.markerLine}`).getBoundingClientRect().left, t.classed(m.markerDragged, !0));
6527
- const i = r.x - this.initialMarkerDragMouseOffset, s = this.timeScale.invert(
6528
- i - this.svg.node().getBoundingClientRect().left
6532
+ i.type === "start" && (this.initialMarkerDragMouseOffset = i.x - t.node().querySelector(`.${p.markerLine}`).getBoundingClientRect().left, t.classed(p.markerDragged, !0));
6533
+ const r = i.x - this.initialMarkerDragMouseOffset, s = this.timeScale.invert(
6534
+ r - this.svg.node().getBoundingClientRect().left
6529
6535
  ), a = this.timeScale(s), n = this.isTimestampAllowedForMarker(
6530
6536
  s,
6531
6537
  e
6532
6538
  );
6533
- if (r.type === "drag" && n && t.attr("style", `left: ${a}px`), r.type === "end" && n) {
6539
+ if (i.type === "drag" && n && t.attr("style", `left: ${a}px`), i.type === "end" && n) {
6534
6540
  const u = e.id || e.timestamp;
6535
6541
  this.markersPositions = {
6536
6542
  ...this.markersPositions,
@@ -6538,110 +6544,110 @@ const dr = ur.exports, m = {
6538
6544
  ...this.markersPositions[u],
6539
6545
  position: a
6540
6546
  }
6541
- }, t.classed(m.markerDragged, !1);
6547
+ }, t.classed(p.markerDragged, !1);
6542
6548
  }
6543
- r.type !== "start" && this.$emit(`marker-drag-${r.type}`, {
6549
+ i.type !== "start" && this.$emit(`marker-drag-${i.type}`, {
6544
6550
  marker: e,
6545
6551
  newTimestamp: s.toISOString()
6546
6552
  });
6547
6553
  },
6548
6554
  removeMarkersDragBehavior() {
6549
- this.markersDragBehavior && (this.markersDragBehavior.on("start", null).on("drag", null).on("end", null), c.selectAll(`.${m.marker}`).call(
6555
+ this.markersDragBehavior && (this.markersDragBehavior.on("start", null).on("drag", null).on("end", null), c.selectAll(`.${p.marker}`).call(
6550
6556
  this.markersDragBehavior
6551
6557
  ));
6552
6558
  },
6553
6559
  initMarkersDragBehavior() {
6554
6560
  this.removeMarkersDragBehavior();
6555
6561
  const e = this;
6556
- this.markersDragBehavior = c.drag().on("start", function(t, r) {
6557
- var i;
6558
- (i = t.sourceEvent) == null || i.preventDefault(), e.handleMarkerDrag({
6559
- marker: r,
6562
+ this.markersDragBehavior = c.drag().on("start", function(t, i) {
6563
+ var r;
6564
+ (r = t.sourceEvent) == null || r.preventDefault(), e.handleMarkerDrag({
6565
+ marker: i,
6560
6566
  markerElement: c.select(this),
6561
6567
  dragEvent: t
6562
6568
  });
6563
- }).on("drag", function(t, r) {
6569
+ }).on("drag", function(t, i) {
6564
6570
  e.handleMarkerDrag({
6565
- marker: r,
6571
+ marker: i,
6566
6572
  markerElement: c.select(this),
6567
6573
  dragEvent: t
6568
6574
  });
6569
- }).on("end", function(t, r) {
6575
+ }).on("end", function(t, i) {
6570
6576
  e.handleMarkerDrag({
6571
- marker: r,
6577
+ marker: i,
6572
6578
  markerElement: c.select(this),
6573
6579
  dragEvent: t
6574
6580
  });
6575
- }), c.selectAll(`.${m.marker}`).data(this.sortedMarkers).call(this.markersDragBehavior);
6581
+ }), c.selectAll(`.${p.marker}`).data(this.sortedMarkers).call(this.markersDragBehavior);
6576
6582
  },
6577
6583
  initCurtains() {
6578
6584
  this.createCurtains(), this.updateCurtains();
6579
6585
  },
6580
6586
  createCurtains() {
6581
- this.curtains && (this.svg.append("rect").classed(`${m.curtain} ${m.curtain}--left`, !0).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
6587
+ this.curtains && (this.svg.append("rect").classed(`${p.curtain} ${p.curtain}--left`, !0).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
6582
6588
  c.drag().on("start", this.handleDragStart).on("drag", this.handleLeftDrag).on("end", this.handleDragEnd)
6583
- ), this.svg.append("rect").classed(`${m.curtain} ${m.curtain}--right`, !0).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
6589
+ ), this.svg.append("rect").classed(`${p.curtain} ${p.curtain}--right`, !0).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
6584
6590
  c.drag().on("start", this.handleDragStart).on("drag", this.handleRightDrag).on("end", this.handleDragEnd)
6585
6591
  ), this.updateCurtains());
6586
6592
  },
6587
6593
  updateCurtains() {
6588
6594
  const e = this.timeline.offsetWidth, t = this.timelineHeight;
6589
- this.svg.select(`.${m.curtain}--left`).attr("width", this.leftCurtainWidth).attr("height", t + this.curtainHandleWidth * 2).attr("y", -this.curtainHandleWidth).attr("x", -this.curtainHandleWidth), this.svg.select(`.${m.curtain}--right`).attr(
6595
+ this.svg.select(`.${p.curtain}--left`).attr("width", this.leftCurtainWidth).attr("height", t + this.curtainHandleWidth * 2).attr("y", -this.curtainHandleWidth).attr("x", -this.curtainHandleWidth), this.svg.select(`.${p.curtain}--right`).attr(
6590
6596
  "x",
6591
6597
  e - this.rightCurtainWidth + this.curtainHandleWidth
6592
6598
  ).attr("y", -this.curtainHandleWidth).attr("width", this.rightCurtainWidth + this.curtainHandleWidth * 2).attr("height", t + this.curtainHandleWidth * 2);
6593
6599
  },
6594
6600
  updateForbiddenIntervals(e = !1) {
6595
- e && this.svg.selectAll(`.${m.forbiddenInterval}`).remove();
6601
+ e && this.svg.selectAll(`.${p.forbiddenInterval}`).remove();
6596
6602
  const t = this.timeScale.domain();
6597
- this.forbiddenIntervals.forEach((r, i) => {
6598
- const s = r.startDate === -1 / 0 ? t[0] : this.tzStringToDate(r.startDate), a = r.endDate === 1 / 0 ? t[1] : this.tzStringToDate(r.endDate), n = this.timeScale(s), u = this.timeScale(a), l = Math.max(u - n, 0);
6599
- let o = this.svg.select(`.${m.forbiddenInterval}-${i}`);
6603
+ this.forbiddenIntervals.forEach((i, r) => {
6604
+ const s = i.startDate === -1 / 0 ? t[0] : this.tzStringToDate(i.startDate), a = i.endDate === 1 / 0 ? t[1] : this.tzStringToDate(i.endDate), n = this.timeScale(s), u = this.timeScale(a), l = Math.max(u - n, 0);
6605
+ let o = this.svg.select(`.${p.forbiddenInterval}-${r}`);
6600
6606
  o.empty() && (o = this.svg.append("rect").attr(
6601
6607
  "class",
6602
- `${m.forbiddenInterval} ${m.forbiddenInterval}-${i}`
6608
+ `${p.forbiddenInterval} ${p.forbiddenInterval}-${r}`
6603
6609
  ).attr("fill", `url(#${Z.stripedPattern})`)), o.attr("x", n).attr("y", 0).attr("width", l).attr("height", this.timelineHeight);
6604
6610
  });
6605
6611
  },
6606
6612
  drawEventsGroups() {
6607
- this.svg.selectAll(`g.${m.eventGroup}`).remove(), this.svg.selectAll(`.${m.barChartGroup}`).remove(), this.svg.selectAll(`.${m.lineGraphGroup}`).remove(), this.svg.selectAll(`.${m.lineGraphGroupLabel}`).remove(), this.svg.selectAll(`.${m.loadingIndicator}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups(), this.drawBarChartEventsGroups(), this.drawMilestonesPlaceholder();
6613
+ this.svg.selectAll(`g.${p.eventGroup}`).remove(), this.svg.selectAll(`.${p.barChartGroup}`).remove(), this.svg.selectAll(`.${p.lineGraphGroup}`).remove(), this.svg.selectAll(`.${p.lineGraphGroupLabel}`).remove(), this.svg.selectAll(`.${p.loadingIndicator}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups(), this.drawBarChartEventsGroups(), this.drawMilestonesPlaceholder();
6608
6614
  },
6609
6615
  drawLineGraphEventsGroups() {
6610
6616
  const e = this.combinedXAxesHeight + this.chartsYOffset, t = this.insertZerosAtInterval ? this.filledGapsLineGraphGroups : this.lineGraphGroups;
6611
- Object.entries(t).forEach(([r, i]) => {
6617
+ Object.entries(t).forEach(([i, r]) => {
6612
6618
  const s = this.svg.append("g").classed(
6613
- `${m.lineGraphGroup} ${m.lineGraphGroup}-${r}`,
6619
+ `${p.lineGraphGroup} ${p.lineGraphGroup}-${i}`,
6614
6620
  !0
6615
- ).attr("transform", `translate(0,${e})`), { color: a, events: n } = i;
6621
+ ).attr("transform", `translate(0,${e})`), { color: a, events: n } = r;
6616
6622
  this.drawLineGraph({
6617
6623
  events: n,
6618
6624
  gElement: s,
6619
6625
  color: a,
6620
- type: r
6626
+ type: i
6621
6627
  }), this.drawLineGraphHoverZones({
6622
6628
  events: n,
6623
6629
  gElement: s,
6624
6630
  color: a,
6625
- type: r
6631
+ type: i
6626
6632
  });
6627
6633
  }), Object.entries(this.lineGraphGroups).forEach(
6628
- ([r, i], s) => {
6629
- const { color: a, isLoading: n, label: u } = i, l = Math.max(
6634
+ ([i, r], s) => {
6635
+ const { color: a, isLoading: n, label: u } = r, l = Math.max(
6630
6636
  this.chartMinLabelHeight,
6631
6637
  this.barChartHeight
6632
- ), o = this.chartHeight - l * (s + 1), h = e + this.chartHeight - l, p = this.svg.append("g").classed(m.lineGraphGroupLabel, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
6638
+ ), o = this.chartHeight - l * (s + 1), d = e + this.chartHeight - l, m = this.svg.append("g").classed(p.lineGraphGroupLabel, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(i)).on("mouseleave", () => this.handleLabelMouseLeave(i));
6633
6639
  this.drawProgressIndicator({
6634
- type: r,
6640
+ type: i,
6635
6641
  color: a,
6636
6642
  isLoading: n,
6637
- yPosition: h
6643
+ yPosition: d
6638
6644
  }), this.drawTextLabel({
6639
6645
  color: a,
6640
6646
  label: u,
6641
- type: r,
6647
+ type: i,
6642
6648
  height: l,
6643
6649
  yPosition: o,
6644
- gElement: p
6650
+ gElement: m
6645
6651
  });
6646
6652
  }
6647
6653
  );
@@ -6649,38 +6655,38 @@ const dr = ur.exports, m = {
6649
6655
  drawLineGraph({
6650
6656
  events: e,
6651
6657
  gElement: t,
6652
- color: r,
6653
- type: i
6658
+ color: i,
6659
+ type: r
6654
6660
  }) {
6655
- const s = c.area().x((n) => this.timeScale(this.tzStringToDate(n.timestamp))).y0(this.timelineHeight).y1((n) => this.yScale(n.count)).curve(c.curveMonotoneX), a = `clip-${i}`;
6656
- t.append("defs").append("clipPath").attr("id", a).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), t.append("path").datum(e).classed(`${m.lineGraphPath}-${i}`, !0).attr("fill", `url(#${Z.transparencyGradientLight}-${i})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (n) => s(n)).attr("clip-path", `url(#${a})`);
6661
+ const s = c.area().x((n) => this.timeScale(this.tzStringToDate(n.timestamp))).y0(this.timelineHeight).y1((n) => this.yScale(n.count)).curve(c.curveMonotoneX), a = `clip-${r}`;
6662
+ t.append("defs").append("clipPath").attr("id", a).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), t.append("path").datum(e).classed(`${p.lineGraphPath}-${r}`, !0).attr("fill", `url(#${Z.transparencyGradientLight}-${r})`).attr("stroke", i).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (n) => s(n)).attr("clip-path", `url(#${a})`);
6657
6663
  },
6658
6664
  drawLineGraphHoverZones({
6659
6665
  events: e,
6660
6666
  gElement: t,
6661
- color: r,
6662
- type: i
6667
+ color: i,
6668
+ type: r
6663
6669
  }) {
6664
6670
  e.forEach((s) => {
6665
6671
  const a = `${s.timestamp}`;
6666
6672
  this.countsByTimestamp[a] = {
6667
6673
  ...this.countsByTimestamp[a] || {},
6668
- [i]: s.count
6674
+ [r]: s.count
6669
6675
  };
6670
6676
  const n = t.append("circle").classed(
6671
- `${m.lineGraphDot} ${m.lineGraphDot}-${i}`,
6677
+ `${p.lineGraphDot} ${p.lineGraphDot}-${r}`,
6672
6678
  !0
6673
- ).attr("cx", this.timeScale(this.tzStringToDate(s.timestamp))).attr("cy", this.yScale(s.count)).attr("r", 1.5).attr("fill", r).attr("stroke-width", 0).datum(s);
6679
+ ).attr("cx", this.timeScale(this.tzStringToDate(s.timestamp))).attr("cy", this.yScale(s.count)).attr("r", 1.5).attr("fill", i).attr("stroke-width", 0).datum(s);
6674
6680
  this.dotsByTimestamp[a] = [
6675
6681
  ...this.dotsByTimestamp[a] || [],
6676
6682
  n
6677
- ], t.append("rect").classed(`${m.lineGraphHoverZone}-${i}`, !0).attr("x", this.timeScale(this.tzStringToDate(s.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.chartHeight).attr("fill", "transparent").datum(s).on("mouseover", (u) => {
6678
- this.handleLineMouseOver(u, s, i), this.dotsByTimestamp[a].forEach(
6679
- (l) => l.classed(`${m.lineGraphDot}--active`, !0)
6683
+ ], t.append("rect").classed(`${p.lineGraphHoverZone}-${r}`, !0).attr("x", this.timeScale(this.tzStringToDate(s.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.chartHeight).attr("fill", "transparent").datum(s).on("mouseover", (u) => {
6684
+ this.handleLineMouseOver(u, s, r), this.dotsByTimestamp[a].forEach(
6685
+ (l) => l.classed(`${p.lineGraphDot}--active`, !0)
6680
6686
  );
6681
6687
  }).on("mouseout", () => {
6682
6688
  this.handleLineMouseOut(), this.dotsByTimestamp[a].forEach(
6683
- (u) => u.classed(`${m.lineGraphDot}--active`, !1)
6689
+ (u) => u.classed(`${p.lineGraphDot}--active`, !1)
6684
6690
  );
6685
6691
  });
6686
6692
  });
@@ -6688,8 +6694,8 @@ const dr = ur.exports, m = {
6688
6694
  drawSingleBarEventsGroup({
6689
6695
  type: e,
6690
6696
  eventsGroup: t,
6691
- milestone: r,
6692
- dots: i,
6697
+ milestone: i,
6698
+ dots: r,
6693
6699
  dotsSize: s,
6694
6700
  bottom: a
6695
6701
  }) {
@@ -6698,9 +6704,9 @@ const dr = ur.exports, m = {
6698
6704
  bgColor: u,
6699
6705
  label: l,
6700
6706
  events: o,
6701
- barBorderRadius: h,
6702
- isLoading: p,
6703
- height: d,
6707
+ barBorderRadius: d,
6708
+ isLoading: m,
6709
+ height: h,
6704
6710
  chartType: f
6705
6711
  } = t;
6706
6712
  let g = this.getBarGroupYPosition(e, a);
@@ -6708,21 +6714,21 @@ const dr = ur.exports, m = {
6708
6714
  U.bars,
6709
6715
  U.dots,
6710
6716
  void 0
6711
- ].includes(f) ? this.getBarGroupHeight(t) : d;
6712
- r && (g = this.getMilestoneGroupYPosition(e)), this.drawProgressIndicator({
6717
+ ].includes(f) ? this.getBarGroupHeight(t) : h;
6718
+ i && (g = this.getMilestoneGroupYPosition(e)), this.drawProgressIndicator({
6713
6719
  yPosition: g,
6714
6720
  type: e,
6715
6721
  color: n,
6716
- isLoading: p
6722
+ isLoading: m
6717
6723
  });
6718
- const A = this.svg.append("g").attr("data-color", n).classed(m.eventGroup, !0).classed(`${m.eventGroup}-${e}`, !0);
6724
+ const A = this.svg.append("g").attr("data-color", n).classed(p.eventGroup, !0).classed(`${p.eventGroup}-${e}`, !0);
6719
6725
  if (this.drawBackground({
6720
6726
  color: u || n,
6721
6727
  gElement: A,
6722
6728
  yPosition: g,
6723
6729
  height: O
6724
- }), r || i) {
6725
- const H = i ? 1 : 2, z = g + O / 2;
6730
+ }), i || r) {
6731
+ const H = r ? 1 : 2, z = g + O / 2;
6726
6732
  A.append("line").classed(K.milestoneLine, !0).attr("x1", 0).attr("x2", this.timeline.offsetWidth).attr("y1", z).attr("y2", z).style("stroke", n).style("stroke-width", H);
6727
6733
  }
6728
6734
  this.drawBars({
@@ -6731,17 +6737,17 @@ const dr = ur.exports, m = {
6731
6737
  gElement: A,
6732
6738
  yPosition: g,
6733
6739
  type: e,
6734
- dots: i,
6740
+ dots: r,
6735
6741
  dotsSize: s,
6736
- height: d,
6737
- barBorderRadius: h
6742
+ height: h,
6743
+ barBorderRadius: d
6738
6744
  }), l && this.drawTextLabel({
6739
6745
  color: n,
6740
6746
  label: l,
6741
6747
  type: e,
6742
6748
  gElement: A,
6743
6749
  yPosition: g,
6744
- height: d
6750
+ height: h
6745
6751
  });
6746
6752
  },
6747
6753
  drawBarEventsGroups() {
@@ -6784,58 +6790,58 @@ const dr = ur.exports, m = {
6784
6790
  },
6785
6791
  getMilestoneGroupYPosition(e) {
6786
6792
  let t = 0;
6787
- for (const [r, i] of Object.entries(this.milestonesGroups)) {
6788
- if (r === e)
6793
+ for (const [i, r] of Object.entries(this.milestonesGroups)) {
6794
+ if (i === e)
6789
6795
  break;
6790
- t += i.height || this.barChartHeight;
6796
+ t += r.height || this.barChartHeight;
6791
6797
  }
6792
6798
  return this.combinedXAxesHeight + this.milestonesYOffset + t;
6793
6799
  },
6794
6800
  getBarGroupYPosition(e, t) {
6795
- let r = this.combinedXAxesHeight;
6796
- t ? r += (this.hasChart ? this.chartHeight : 0) + (this.hasMilestones ? this.combinedMilestonesHeight : 0) : r += this.barsYOffset;
6797
- for (const [i, s] of Object.entries(this.barGroups)) {
6798
- if (i === e)
6801
+ let i = this.combinedXAxesHeight;
6802
+ t ? i += (this.hasChart ? this.chartHeight : 0) + (this.hasMilestones ? this.combinedMilestonesHeight : 0) : i += this.barsYOffset;
6803
+ for (const [r, s] of Object.entries(this.barGroups)) {
6804
+ if (r === e)
6799
6805
  break;
6800
- !t && s.bottom || (r += this.getBarGroupHeight(s));
6806
+ !t && s.bottom || (i += this.getBarGroupHeight(s));
6801
6807
  }
6802
- return r;
6808
+ return i;
6803
6809
  },
6804
6810
  getBarGroupHeight(e) {
6805
6811
  return e.height ? Math.max(e.height + this.barYPadding, 1) : this.barChartHeight;
6806
6812
  },
6807
6813
  updateMilestonesPositions() {
6808
6814
  Object.entries(this.milestonesGroups).forEach(([e, t]) => {
6809
- const r = this.getMilestoneGroupYPosition(e), i = this.svg.select(
6810
- `g.${m.eventGroup}-${e}`
6811
- ), s = 2, n = (t.height || this.barChartHeight) / 2, u = r + n - s / 2;
6812
- i.attr("x1", 0).attr("x2", this.timeline.offsetWidth).select(`.${K.milestoneLine}`).attr("y1", u).attr("y2", u);
6815
+ const i = this.getMilestoneGroupYPosition(e), r = this.svg.select(
6816
+ `g.${p.eventGroup}-${e}`
6817
+ ), s = 2, n = (t.height || this.barChartHeight) / 2, u = i + n - s / 2;
6818
+ r.attr("x1", 0).attr("x2", this.timeline.offsetWidth).select(`.${K.milestoneLine}`).attr("y1", u).attr("y2", u);
6813
6819
  const l = c.select(
6814
6820
  `.${K.milestonesContainer}-${e}`
6815
6821
  );
6816
- l.style("top", `${r}px`).style("height", `${t.height || this.barChartHeight}px`);
6822
+ l.style("top", `${i}px`).style("height", `${t.height || this.barChartHeight}px`);
6817
6823
  const o = l.selectAll(
6818
6824
  `.${K.milestone}`
6819
6825
  ).data(this.getSortedEvents(t.events));
6820
6826
  o.exit().remove(), o.enter().append("div").merge(o).style(
6821
6827
  "left",
6822
- (h) => `${this.timeScale(this.tzStringToDate(h.timestamp))}px`
6828
+ (d) => `${this.timeScale(this.tzStringToDate(d.timestamp))}px`
6823
6829
  ).style("top", `${u}px`);
6824
6830
  });
6825
6831
  },
6826
6832
  drawBarChartEventsGroups() {
6827
6833
  const e = this.combinedXAxesHeight, t = this.barChartGroups;
6828
- Object.entries(t).forEach(([r, i], s) => {
6834
+ Object.entries(t).forEach(([i, r], s) => {
6829
6835
  const a = this.svg.append("g").classed(
6830
- `${m.barChartGroup} ${m.barChartGroup}-${r}`,
6836
+ `${p.barChartGroup} ${p.barChartGroup}-${i}`,
6831
6837
  !0
6832
- ).attr("transform", `translate(0,${e})`), { color: n, events: u } = i;
6838
+ ).attr("transform", `translate(0,${e})`), { color: n, events: u } = r;
6833
6839
  this.drawBarsChart({
6834
6840
  events: u,
6835
6841
  color: n,
6836
6842
  gElement: a,
6837
6843
  yOffset: e,
6838
- type: r,
6844
+ type: i,
6839
6845
  index: s
6840
6846
  });
6841
6847
  });
@@ -6843,95 +6849,95 @@ const dr = ur.exports, m = {
6843
6849
  drawProgressIndicator({
6844
6850
  yPosition: e,
6845
6851
  type: t,
6846
- isLoading: r
6852
+ isLoading: i
6847
6853
  }) {
6848
6854
  this.svg.append("rect").classed(
6849
- `${m.loadingIndicator} ${m.loadingIndicator}-${t}`,
6855
+ `${p.loadingIndicator} ${p.loadingIndicator}-${t}`,
6850
6856
  !0
6851
- ).attr("x", 0).attr("y", e).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${Z.loadingGradient}-${t})`).style("visibility", r ? "visible" : "hidden");
6857
+ ).attr("x", 0).attr("y", e).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${Z.loadingGradient}-${t})`).style("visibility", i ? "visible" : "hidden");
6852
6858
  },
6853
6859
  drawBackground({
6854
6860
  color: e,
6855
6861
  yPosition: t,
6856
- gElement: r,
6857
- height: i
6862
+ gElement: i,
6863
+ height: r
6858
6864
  }) {
6859
- r.append("rect").attr("class", m.eventGroupBg).attr("x", 0).attr("y", t).attr("width", this.timeline.offsetWidth).attr("height", i || this.barChartHeight).attr("fill", c.color(e).toString()).style("opacity", 0.1);
6865
+ i.append("rect").attr("class", p.eventGroupBg).attr("x", 0).attr("y", t).attr("width", this.timeline.offsetWidth).attr("height", r || this.barChartHeight).attr("fill", c.color(e).toString()).style("opacity", 0.1);
6860
6866
  },
6861
6867
  drawBars({
6862
6868
  events: e,
6863
6869
  gElement: t,
6864
- yPosition: r,
6865
- color: i,
6870
+ yPosition: i,
6871
+ color: r,
6866
6872
  type: s,
6867
6873
  dots: a,
6868
6874
  dotsSize: n,
6869
6875
  height: u,
6870
6876
  barBorderRadius: l = 1.5
6871
6877
  }) {
6872
- const o = this, h = r + this.barYPadding / 2, p = a ? ((u || this.barChartHeight) - n) / 2 : 0;
6873
- let d = Math.max(
6878
+ const o = this, d = i + this.barYPadding / 2, m = a ? ((u || this.barChartHeight) - n) / 2 : 0;
6879
+ let h = Math.max(
6874
6880
  (u != null ? u : this.barChartHeight) - this.barYPadding,
6875
6881
  1
6876
6882
  );
6877
- a && (d = n), t.selectAll(m.eventRect).data(e).enter().append("rect").attr(
6883
+ a && (h = n), t.selectAll(p.eventRect).data(e).enter().append("rect").attr(
6878
6884
  "class",
6879
- (f) => m.eventRect + (a ? ` ${m.eventRect}--dot` : "") + (f.className ? ` ${f.className}` : "")
6880
- ).attr("x", this.getEventRectX).attr("y", h + p).attr("ry", a ? n : l).attr("rx", a ? n : l).attr("width", a ? n : this.getEventRectWidth).attr("height", d).attr("stroke-width", a ? n / 10 : 5).attr("cursor", "pointer").attr("stroke", (f) => a ? c.color(f.color || i).brighter(1).toString() : "#0000").style("fill", (f) => f.color || i).on("mouseover", function(f, g) {
6881
- c.select(this).classed(m.eventRectHovered, !0), o.handleBarMouseOver(f, g, s);
6885
+ (f) => p.eventRect + (a ? ` ${p.eventRect}--dot` : "") + (f.className ? ` ${f.className}` : "")
6886
+ ).attr("x", this.getEventRectX).attr("y", d + m).attr("ry", a ? n : l).attr("rx", a ? n : l).attr("width", a ? n : this.getEventRectWidth).attr("height", h).attr("stroke-width", a ? n / 10 : 5).attr("cursor", "pointer").attr("stroke", (f) => a ? c.color(f.color || r).brighter(1).toString() : "#0000").style("fill", (f) => f.color || r).on("mouseover", function(f, g) {
6887
+ c.select(this).classed(p.eventRectHovered, !0), o.handleBarMouseOver(f, g, s);
6882
6888
  }).on("mouseout", function() {
6883
- c.select(this).classed(m.eventRectHovered, !1), o.handleBarMouseOut();
6884
- }), t.selectAll(m.eventRectText).data(e.filter((f) => !!f.text)).enter().append("text").attr("class", m.eventRectText).attr("x", (f) => this.getEventRectX(f) + this.textPadding).attr("y", r + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 600).style("stroke-linejoin", "round").style("paint-order", "stroke").style("pointer-events", "none").style(
6889
+ c.select(this).classed(p.eventRectHovered, !1), o.handleBarMouseOut();
6890
+ }), t.selectAll(p.eventRectText).data(e.filter((f) => !!f.text)).enter().append("text").attr("class", p.eventRectText).attr("x", (f) => this.getEventRectX(f) + this.textPadding).attr("y", i + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 600).style("stroke-linejoin", "round").style("paint-order", "stroke").style("pointer-events", "none").style(
6885
6891
  "fill",
6886
- (f) => this.getTextFillColor(f.color || i, 0.75)
6892
+ (f) => this.getTextFillColor(f.color || r, 0.75)
6887
6893
  ).text(this.getEventText);
6888
6894
  },
6889
6895
  drawBarsChart({
6890
6896
  events: e,
6891
6897
  gElement: t,
6892
- color: r,
6893
- yOffset: i,
6898
+ color: i,
6899
+ yOffset: r,
6894
6900
  type: s,
6895
6901
  index: a
6896
6902
  }) {
6897
- const n = this, u = Object.keys(this.barChartGroups).length, l = (f) => (this.getEventRectWidth(f) - this.barXPadding * 2) / u, o = (f) => this.yScale.range()[0] - this.yScale(f.count), h = (f) => this.getEventRectX(f) + this.barXPadding + a * l(f), p = (f) => this.yScale(f.count), d = t.selectAll(m.eventBarContainer).data(e).enter().append("g").attr(
6903
+ const n = this, u = Object.keys(this.barChartGroups).length, l = (f) => (this.getEventRectWidth(f) - this.barXPadding * 2) / u, o = (f) => this.yScale.range()[0] - this.yScale(f.count), d = (f) => this.getEventRectX(f) + this.barXPadding + a * l(f), m = (f) => this.yScale(f.count), h = t.selectAll(p.eventBarContainer).data(e).enter().append("g").attr(
6898
6904
  "class",
6899
- `${m.eventBarContainer} ${m.eventBarContainer}-${s}`
6905
+ `${p.eventBarContainer} ${p.eventBarContainer}-${s}`
6900
6906
  );
6901
- d.append("rect").attr(
6907
+ h.append("rect").attr(
6902
6908
  "class",
6903
- (f) => m.eventBarHoverZone + (f.className ? ` ${f.className}` : "")
6904
- ).attr("x", h).attr("y", -i).attr("width", l).attr("height", this.yScale.range()[0] + i).attr("fill", (f) => f.color || r).attr("fill-opacity", 0), d.append("rect").attr(
6909
+ (f) => p.eventBarHoverZone + (f.className ? ` ${f.className}` : "")
6910
+ ).attr("x", d).attr("y", -r).attr("width", l).attr("height", this.yScale.range()[0] + r).attr("fill", (f) => f.color || i).attr("fill-opacity", 0), h.append("rect").attr(
6905
6911
  "class",
6906
- (f) => m.eventBar + (f.className ? ` ${f.className}` : "")
6907
- ).attr("x", h).attr("y", p).attr("width", l).attr("height", o).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr("fill", `url(#${Z.transparencyGradient}-${s})`), d.append("rect").attr(
6912
+ (f) => p.eventBar + (f.className ? ` ${f.className}` : "")
6913
+ ).attr("x", d).attr("y", m).attr("width", l).attr("height", o).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr("fill", `url(#${Z.transparencyGradient}-${s})`), h.append("rect").attr(
6908
6914
  "class",
6909
- (f) => m.eventBarCap + (f.className ? ` ${f.className}` : "")
6910
- ).attr("x", h).attr("y", p).attr("width", l).attr("height", 2).attr("stroke-width", 0).style("fill", (f) => f.color || r), d.on("mouseover", function(f, g) {
6915
+ (f) => p.eventBarCap + (f.className ? ` ${f.className}` : "")
6916
+ ).attr("x", d).attr("y", m).attr("width", l).attr("height", 2).attr("stroke-width", 0).style("fill", (f) => f.color || i), h.on("mouseover", function(f, g) {
6911
6917
  const D = c.select(this);
6912
- n.onBarChartBarMouseOver(D, r), n.handleBarMouseOver(f, g, s);
6918
+ n.onBarChartBarMouseOver(D, i), n.handleBarMouseOver(f, g, s);
6913
6919
  }).on("mouseout", function() {
6914
6920
  const f = c.select(this);
6915
6921
  n.onBarChartBarMouseOut(f, s), n.handleBarMouseOut();
6916
6922
  }).on("click", function() {
6917
- t.selectAll(`.${m.eventBarContainerSelected}`).classed(m.eventBarContainerSelected, !1), c.select(this).classed(m.eventBarContainerSelected, !0);
6923
+ t.selectAll(`.${p.eventBarContainerSelected}`).classed(p.eventBarContainerSelected, !1), c.select(this).classed(p.eventBarContainerSelected, !0);
6918
6924
  });
6919
6925
  },
6920
6926
  onBarChartBarMouseOver(e, t) {
6921
- e.classed(m.eventBarContainerHovered, !0), e.selectAll(`.${m.eventBarHoverZone}`).attr("fill-opacity", 0.2);
6922
- const i = e.selectAll(`.${m.eventBar}`);
6923
- i.attr("fill", t), i.attr("fill-opacity", 0.5);
6927
+ e.classed(p.eventBarContainerHovered, !0), e.selectAll(`.${p.eventBarHoverZone}`).attr("fill-opacity", 0.2);
6928
+ const r = e.selectAll(`.${p.eventBar}`);
6929
+ r.attr("fill", t), r.attr("fill-opacity", 0.5);
6924
6930
  },
6925
6931
  onBarChartBarMouseOut(e, t) {
6926
- e.classed(m.eventBarContainerHovered, !1), e.selectAll(`.${m.eventBarHoverZone}`).attr("fill-opacity", 0);
6927
- const i = e.selectAll(`.${m.eventBar}`);
6928
- i.attr("fill", `url(#${Z.transparencyGradient}-${t})`), i.attr("fill-opacity", 1);
6932
+ e.classed(p.eventBarContainerHovered, !1), e.selectAll(`.${p.eventBarHoverZone}`).attr("fill-opacity", 0);
6933
+ const r = e.selectAll(`.${p.eventBar}`);
6934
+ r.attr("fill", `url(#${Z.transparencyGradient}-${t})`), r.attr("fill-opacity", 1);
6929
6935
  },
6930
6936
  drawTextLabel({
6931
6937
  gElement: e,
6932
6938
  yPosition: t,
6933
- color: r,
6934
- label: i,
6939
+ color: i,
6940
+ label: r,
6935
6941
  type: s,
6936
6942
  height: a
6937
6943
  }) {
@@ -6943,24 +6949,24 @@ const dr = ur.exports, m = {
6943
6949
  w: this.labelRectWidth,
6944
6950
  h: a || this.barChartHeight,
6945
6951
  radius: 3
6946
- }, u = e.append("g").attr("class", `${m.labelGroup} ${m.labelGroup}-${s}`).style("cursor", "pointer").on("click", () => this.toggleGroupVisibility(s));
6947
- u.append("rect").attr("class", m.labelBg).attr("data-color", r).attr("x", n.x).attr("y", n.y).attr("width", n.w).attr("height", n.h).attr("rx", n.radius).attr("ry", n.radius).style("fill", this.dark ? "#131a29" : "white"), u.append("rect").attr("class", m.labelBgFill).attr("data-color", r).attr("x", n.x).attr("y", n.y).attr("width", n.w).attr("height", n.h).attr("rx", n.radius).attr("ry", n.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), u.append("text").attr("class", m.labelText).attr("data-color", r).attr("x", 5).attr("y", t + (a || this.barChartHeight) / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 500).style("stroke-linejoin", "round").style("paint-order", "stroke").style("fill", this.getTextFillColor(r)).text(i);
6952
+ }, u = e.append("g").attr("class", `${p.labelGroup} ${p.labelGroup}-${s}`).style("cursor", "pointer").on("click", () => this.toggleGroupVisibility(s));
6953
+ u.append("rect").attr("class", p.labelBg).attr("data-color", i).attr("x", n.x).attr("y", n.y).attr("width", n.w).attr("height", n.h).attr("rx", n.radius).attr("ry", n.radius).style("fill", this.dark ? "#131a29" : "white"), u.append("rect").attr("class", p.labelBgFill).attr("data-color", i).attr("x", n.x).attr("y", n.y).attr("width", n.w).attr("height", n.h).attr("rx", n.radius).attr("ry", n.radius).style("fill", this.getLabelBackgroundColor(i)).style("stroke", this.getTextFillColor(i)).style("stroke-width", 0.25), u.append("text").attr("class", p.labelText).attr("data-color", i).attr("x", 5).attr("y", t + (a || this.barChartHeight) / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 500).style("stroke-linejoin", "round").style("paint-order", "stroke").style("fill", this.getTextFillColor(i)).text(r);
6948
6954
  },
6949
6955
  getTextFillColor(e, t = 0) {
6950
- var r, i;
6951
- return (this.dark ? (r = c.color(e)) == null ? void 0 : r.brighter(1.5 + t) : (i = c.color(e)) == null ? void 0 : i.darker(2 + t)).toString();
6956
+ var i, r;
6957
+ return (this.dark ? (i = c.color(e)) == null ? void 0 : i.brighter(1.5 + t) : (r = c.color(e)) == null ? void 0 : r.darker(2 + t)).toString();
6952
6958
  },
6953
6959
  getLabelBackgroundColor(e) {
6954
6960
  let t = c.color(e);
6955
6961
  return t.opacity = this.dark ? 0.2 : 0.5, t.toString();
6956
6962
  },
6957
6963
  getCurrentGroupVisibility(e) {
6958
- var i;
6964
+ var r;
6959
6965
  const t = this.groupsVisibility[e];
6960
6966
  if (t !== void 0)
6961
6967
  return t;
6962
- const r = (i = this.eventsGroups[e]) == null ? void 0 : i.isHidden;
6963
- return r !== void 0 ? !r : !0;
6968
+ const i = (r = this.eventsGroups[e]) == null ? void 0 : r.isHidden;
6969
+ return i !== void 0 ? !i : !0;
6964
6970
  },
6965
6971
  toggleGroupVisibility(e) {
6966
6972
  this.groupsVisibility = {
@@ -7008,37 +7014,37 @@ const dr = ur.exports, m = {
7008
7014
  };
7009
7015
  },
7010
7016
  tzStringToDate(e) {
7011
- const t = this.timezone ? R.tz(e, this.timezone).utcOffset() : this.utcOffset;
7012
- return R(e).add(t, "minutes").toDate();
7017
+ const t = this.timezone ? I.tz(e, this.timezone).utcOffset() : this.utcOffset;
7018
+ return I(e).add(t, "minutes").toDate();
7013
7019
  },
7014
7020
  dateToTzString(e) {
7015
- const t = new Date(e).getTimezoneOffset(), r = this.timezone ? R.tz(e, this.timezone).utcOffset() : this.utcOffset;
7016
- return R(e).add(t, "minutes").utcOffset(r, !0).format();
7021
+ const t = new Date(e).getTimezoneOffset(), i = this.timezone ? I.tz(e, this.timezone).utcOffset() : this.utcOffset;
7022
+ return I(e).add(t, "minutes").utcOffset(i, !0).format();
7017
7023
  },
7018
7024
  getCurrentTimeBounds() {
7019
7025
  const e = this.timeScale.domain();
7020
7026
  return { startDate: e[0], endDate: e[1] };
7021
7027
  },
7022
7028
  getFormattedTimestamp(e) {
7023
- return R.parseZone(e).format("YYYY-MM-DDTHH:mm:ss");
7029
+ return I.parseZone(e).format("YYYY-MM-DDTHH:mm:ss");
7024
7030
  },
7025
7031
  fillTimeGaps(e) {
7026
7032
  if (e.length <= 1)
7027
7033
  return e;
7028
- const t = this.insertZerosAtInterval, r = (a) => a.clone().add(1, t), i = (a) => a.clone().subtract(1, t);
7034
+ const t = this.insertZerosAtInterval, i = (a) => a.clone().add(1, t), r = (a) => a.clone().subtract(1, t);
7029
7035
  let s = [];
7030
7036
  for (let a = 0; a < e.length; a++) {
7031
7037
  const n = e[a];
7032
7038
  if (s.push(n), a === e.length - 1)
7033
7039
  break;
7034
- const u = e[a + 1], l = R(n.timestamp), o = R(u.timestamp);
7040
+ const u = e[a + 1], l = I(n.timestamp), o = I(u.timestamp);
7035
7041
  if (o.diff(l, t) > 1) {
7036
- const h = r(l).toISOString(), p = i(o).toISOString();
7037
- s.push({ timestamp: h, count: 0 }), h !== p && s.push({ timestamp: p, count: 0 });
7042
+ const d = i(l).toISOString(), m = r(o).toISOString();
7043
+ s.push({ timestamp: d, count: 0 }), d !== m && s.push({ timestamp: m, count: 0 });
7038
7044
  }
7039
7045
  }
7040
7046
  if (this.flattenLineGraphEnds) {
7041
- const a = R(e[0].timestamp), n = R(e[e.length - 1].timestamp), u = i(a).toISOString(), l = r(n).toISOString();
7047
+ const a = I(e[0].timestamp), n = I(e[e.length - 1].timestamp), u = r(a).toISOString(), l = i(n).toISOString();
7042
7048
  s = [
7043
7049
  { timestamp: u, count: 0 },
7044
7050
  ...s,
@@ -7049,7 +7055,7 @@ const dr = ur.exports, m = {
7049
7055
  },
7050
7056
  fillEvents(e) {
7051
7057
  return this.placeholderLineChartGroup.map((t) => e.find(
7052
- (i) => i.timestamp === t.timestamp
7058
+ (r) => r.timestamp === t.timestamp
7053
7059
  ) || t);
7054
7060
  },
7055
7061
  onMilestoneClick(e, t) {
@@ -7057,58 +7063,58 @@ const dr = ur.exports, m = {
7057
7063
  },
7058
7064
  getSortedEvents(e) {
7059
7065
  return [...e].sort(
7060
- (t, r) => new Date(t.timestamp || t.startDate) > new Date(r.timestamp || r.startDate) ? 1 : -1
7066
+ (t, i) => new Date(t.timestamp || t.startDate) > new Date(i.timestamp || i.startDate) ? 1 : -1
7061
7067
  );
7062
7068
  }
7063
7069
  }
7064
7070
  });
7065
- var fr = function() {
7066
- var t = this, r = t._self._c;
7067
- return r("div", { ref: "wrapperDiv", staticClass: "e-relative e-timeline e-border e-rounded", class: t.classes.wrapper }, [r("div", { staticClass: "e-timeline__background e-w-full e-h-full e-absolute e-top-0 e-rounded", class: t.classes.background }), t._l(t.sortedMarkers, function(i) {
7068
- return r("div", { key: i.id, staticClass: "marker e-absolute e-h-full e-top-0", class: t.getMarkerClass(i), style: t.getMarkerContainerStyle(i), attrs: { "data-id": i.id }, on: { click: function(s) {
7069
- return t.handleMarkerClick(i);
7070
- } } }, [r("div", { staticClass: "marker-label e-absolute" }, [r("div", { staticClass: "marker-label-text", style: t.getMarkerLabelStyle(i) }, [t._t(`marker.${i.id}`, function() {
7071
- return [t._v(" " + t._s(i.label) + " ")];
7072
- }, { marker: i })], 2)]), r("div", { staticClass: "marker-line e-absolute e-pointer-events-none", style: t.getMarkerLineStyle(i) })]);
7073
- }), t.autoResize ? r("div", { directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: t.onResize, expression: "onResize" }], ref: "timelineContainer", staticClass: "e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden" }) : r("div", { ref: "timelineContainer", staticClass: "e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden" }), t._l(t.milestonesGroups, function(i, s) {
7074
- return r("div", { key: `${s}`, staticClass: "e-timeline-milestones" }, [r("div", { class: `e-tl-milestones e-tl-milestones-${s}` }, t._l(t.getSortedEvents(i.events), function(a, n) {
7075
- return r("ETimelineMilestone", { key: `${a.milestoneType}-${n}`, class: t.getMilestoneClass(a), attrs: { "data-timestamp": a.timestamp, milestone: a, dot: i.dots, size: a.size || t.milestoneBulletSize, "transition-duration": i.milestonesTransitionDuration, "line-height": i.milestonesLineHeight, "dot-size": i.milestonesDotSize, "background-color": t.getMilestoneColors(a.color, i.color).background, "border-color": t.getMilestoneColors(a.color, i.color).border }, on: { "milestone-click": function(u) {
7071
+ var fi = function() {
7072
+ var t = this, i = t._self._c;
7073
+ return i("div", { ref: "wrapperDiv", staticClass: "e-relative e-timeline e-border e-rounded", class: t.classes.wrapper }, [i("div", { staticClass: "e-timeline__background e-w-full e-h-full e-absolute e-top-0 e-rounded", class: t.classes.background }), t._l(t.sortedMarkers, function(r) {
7074
+ return i("div", { key: r.id, staticClass: "marker e-absolute e-h-full e-top-0", class: t.getMarkerClass(r), style: t.getMarkerContainerStyle(r), attrs: { "data-id": r.id }, on: { click: function(s) {
7075
+ return t.handleMarkerClick(r);
7076
+ } } }, [i("div", { staticClass: "marker-label e-absolute" }, [i("div", { staticClass: "marker-label-text", style: t.getMarkerLabelStyle(r) }, [t._t(`marker.${r.id}`, function() {
7077
+ return [t._v(" " + t._s(r.label) + " ")];
7078
+ }, { marker: r })], 2)]), i("div", { staticClass: "marker-line e-absolute e-pointer-events-none", style: t.getMarkerLineStyle(r) })]);
7079
+ }), t.autoResize ? i("div", { directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: t.onResize, expression: "onResize" }], ref: "timelineContainer", staticClass: "e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden" }) : i("div", { ref: "timelineContainer", staticClass: "e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden" }), t._l(t.milestonesGroups, function(r, s) {
7080
+ return i("div", { key: `${s}`, staticClass: "e-timeline-milestones" }, [i("div", { class: `e-tl-milestones e-tl-milestones-${s}` }, t._l(t.getSortedEvents(r.events), function(a, n) {
7081
+ return i("ETimelineMilestone", { key: `${a.milestoneType}-${n}`, class: t.getMilestoneClass(a), attrs: { "data-timestamp": a.timestamp, milestone: a, dot: r.dots, size: a.size || t.milestoneBulletSize, "transition-duration": r.milestonesTransitionDuration, "line-height": r.milestonesLineHeight, "dot-size": r.milestonesDotSize, "background-color": t.getMilestoneColors(a.color, r.color).background, "border-color": t.getMilestoneColors(a.color, r.color).border }, on: { "milestone-click": function(u) {
7076
7082
  return t.onMilestoneClick(a, s);
7077
7083
  } }, scopedSlots: t._u([{ key: "content", fn: function() {
7078
7084
  return [t._t(`milestoneContent.${a.milestoneType}`, function() {
7079
- return [r("span", { staticClass: "e-px-2" }, [t._v(" " + t._s(a.text) + " ")])];
7085
+ return [i("span", { staticClass: "e-px-2" }, [t._v(" " + t._s(a.text) + " ")])];
7080
7086
  }, { milestone: a, index: n })];
7081
7087
  }, proxy: !0 }, { key: "label", fn: function() {
7082
7088
  return [t._t(`milestoneLabel.${a.milestoneType}`, null, { milestone: a })];
7083
7089
  }, proxy: !0 }], null, !0) });
7084
7090
  }), 1)]);
7085
- }), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringTimeline && !t.isInteractingWithCurtain, expression: "isHoveringTimeline && !isInteractingWithCurtain" }], ref: "cursor", staticClass: "e-timeline__cursor e-absolute e-bg-green-600 e-w-px e-h-full e-top-0 e-pointer-events-none" }), r("div", { staticClass: "external-labels-container e-flex" }, t._l(t.hiddenGroupsLabels, function(i) {
7086
- return r("div", { key: i, staticClass: "external-label", class: t.classes.background, style: t.getExternalLabelWrapperStyles(i), on: { click: function(s) {
7087
- return t.toggleGroupVisibility(i);
7088
- } } }, [r("div", { staticClass: "external-label__content", style: t.getExternalLabelStyles(i) }, [t._v(" " + t._s(i) + " ")])]);
7089
- }), 0), r("div", { key: "tooltip", ref: "tooltip", staticClass: "e-absolute", style: t.eventTooltipStyle }, [t._t("tooltip", function() {
7090
- return [r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringTimeline && !t.isHoveringEvent && !t.isInteractingWithCurtain && !t.cursorTimestamp, expression: `
7091
+ }), i("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringTimeline && !t.isInteractingWithCurtain, expression: "isHoveringTimeline && !isInteractingWithCurtain" }], ref: "cursor", staticClass: "e-timeline__cursor e-absolute e-bg-green-600 e-w-px e-h-full e-top-0 e-pointer-events-none" }), i("div", { staticClass: "external-labels-container e-flex" }, t._l(t.hiddenGroupsLabels, function(r) {
7092
+ return i("div", { key: r, staticClass: "external-label", class: t.classes.background, style: t.getExternalLabelWrapperStyles(r), on: { click: function(s) {
7093
+ return t.toggleGroupVisibility(r);
7094
+ } } }, [i("div", { staticClass: "external-label__content", style: t.getExternalLabelStyles(r) }, [t._v(" " + t._s(r) + " ")])]);
7095
+ }), 0), i("div", { key: "tooltip", ref: "tooltip", staticClass: "e-absolute", style: t.eventTooltipStyle }, [t._t("tooltip", function() {
7096
+ return [i("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringTimeline && !t.isHoveringEvent && !t.isInteractingWithCurtain && !t.cursorTimestamp, expression: `
7091
7097
  isHoveringTimeline &&
7092
7098
  !isHoveringEvent &&
7093
7099
  !isInteractingWithCurtain &&
7094
7100
  !cursorTimestamp
7095
7101
  ` }], staticClass: "e-timeline__tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.tooltipSlot }, [t._v(" " + t._s(t.hoveredTimestamp) + " ")])];
7096
- }, { timestamp: t.hoveredTimestamp, active: t.isHoveringTimeline && !t.isInteractingWithCurtain && !t.cursorTimestamp })], 2), r("div", { key: "eventTooltip", staticClass: "e-absolute e-z-50", style: t.eventTooltipStyle }, [t._t("eventTooltip", function() {
7097
- return [t.showEventTooltip && (t.hoveredEvent || t.hoveredCounts.length) ? r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringEvent && !t.isInteractingWithCurtain, expression: "isHoveringEvent && !isInteractingWithCurtain" }], staticClass: "e-timeline__event-tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.eventTooltipSlot }, [t.hoveredCounts.length ? r("div", [r("strong", [t._v("Timestamp")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " "), t._l(t.hoveredCounts, function(i, s) {
7098
- return r("div", { key: s }, [r("strong", [t._v(t._s(i.type) + " Count")]), t._v(": " + t._s(i.count) + " ")]);
7099
- })], 2) : t.hoveredEvent ? r("div", [t.hoveredEvent.timestamp ? r("div", [r("strong", [t._v("Event time")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " ")]) : t._e(), t.hoveredEvent.startDate ? r("div", [r("strong", [t._v("From")]), t._v(":" + t._s(t.hoveredEvent.startDate) + " ")]) : t._e(), t.hoveredEvent.endDate ? r("div", [r("strong", [t._v("To")]), t._v(":" + t._s(t.hoveredEvent.endDate) + " ")]) : t._e()]) : t._e()]) : t._e()];
7102
+ }, { timestamp: t.hoveredTimestamp, active: t.isHoveringTimeline && !t.isInteractingWithCurtain && !t.cursorTimestamp })], 2), i("div", { key: "eventTooltip", staticClass: "e-absolute e-z-50", style: t.eventTooltipStyle }, [t._t("eventTooltip", function() {
7103
+ return [t.showEventTooltip && (t.hoveredEvent || t.hoveredCounts.length) ? i("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringEvent && !t.isInteractingWithCurtain, expression: "isHoveringEvent && !isInteractingWithCurtain" }], staticClass: "e-timeline__event-tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.eventTooltipSlot }, [t.hoveredCounts.length ? i("div", [i("strong", [t._v("Timestamp")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " "), t._l(t.hoveredCounts, function(r, s) {
7104
+ return i("div", { key: s }, [i("strong", [t._v(t._s(r.type) + " Count")]), t._v(": " + t._s(r.count) + " ")]);
7105
+ })], 2) : t.hoveredEvent ? i("div", [t.hoveredEvent.timestamp ? i("div", [i("strong", [t._v("Event time")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " ")]) : t._e(), t.hoveredEvent.startDate ? i("div", [i("strong", [t._v("From")]), t._v(":" + t._s(t.hoveredEvent.startDate) + " ")]) : t._e(), t.hoveredEvent.endDate ? i("div", [i("strong", [t._v("To")]), t._v(":" + t._s(t.hoveredEvent.endDate) + " ")]) : t._e()]) : t._e()]) : t._e()];
7100
7106
  }, { event: t.hoveredEvent, counts: t.hoveredCounts, active: t.isHoveringEvent && !t.isInteractingWithCurtain, type: t.hoveredEventType })], 2)], 2);
7101
- }, mr = [], pr = /* @__PURE__ */ I(
7102
- hr,
7103
- fr,
7104
- mr,
7107
+ }, mi = [], pi = /* @__PURE__ */ R(
7108
+ hi,
7109
+ fi,
7110
+ mi,
7105
7111
  !1,
7106
7112
  null,
7107
7113
  null,
7108
7114
  null,
7109
7115
  null
7110
7116
  );
7111
- const gr = pr.exports, vr = F.extend({
7117
+ const gi = pi.exports, vi = L.extend({
7112
7118
  name: "EVideoEmbed",
7113
7119
  props: {
7114
7120
  videoUrl: {
@@ -7151,31 +7157,31 @@ const gr = pr.exports, vr = F.extend({
7151
7157
  });
7152
7158
  return `https://www.youtube.com/embed/${this.videoId}?${t.toString()}`;
7153
7159
  } else if (this.platform === "vimeo" && this.videoId) {
7154
- const t = (e = this.videoUrl.split("/").pop()) == null ? void 0 : e.split("?")[0], r = new URLSearchParams({
7160
+ const t = (e = this.videoUrl.split("/").pop()) == null ? void 0 : e.split("?")[0], i = new URLSearchParams({
7155
7161
  h: t || "",
7156
7162
  quality: "1080p",
7157
7163
  ...this.iframeOptions
7158
7164
  });
7159
- return `https://player.vimeo.com/video/${this.videoId}?${r.toString()}`;
7165
+ return `https://player.vimeo.com/video/${this.videoId}?${i.toString()}`;
7160
7166
  }
7161
7167
  return "";
7162
7168
  }
7163
7169
  }
7164
7170
  });
7165
- var yr = function() {
7166
- var t = this, r = t._self._c;
7167
- return r("div", { staticClass: "video-embed" }, [r("iframe", t._g(t._b({ attrs: { src: t.embedUrl, frameborder: "0", allowfullscreen: "", width: "100%", height: "100%", allow: "autoplay; fullscreen; picture-in-picture" } }, "iframe", t.iframeOptions, !1), t.iframeListeners))]);
7168
- }, br = [], _r = /* @__PURE__ */ I(
7169
- vr,
7170
- yr,
7171
- br,
7171
+ var yi = function() {
7172
+ var t = this, i = t._self._c;
7173
+ return i("div", { staticClass: "video-embed" }, [i("iframe", t._g(t._b({ attrs: { src: t.embedUrl, frameborder: "0", allowfullscreen: "", width: "100%", height: "100%", allow: "autoplay; fullscreen; picture-in-picture" } }, "iframe", t.iframeOptions, !1), t.iframeListeners))]);
7174
+ }, bi = [], _i = /* @__PURE__ */ R(
7175
+ vi,
7176
+ yi,
7177
+ bi,
7172
7178
  !1,
7173
7179
  null,
7174
7180
  "7e66cb69",
7175
7181
  null,
7176
7182
  null
7177
7183
  );
7178
- const xr = _r.exports, Cr = F.extend({
7184
+ const xi = _i.exports, Ci = L.extend({
7179
7185
  name: "EHeatmapBar",
7180
7186
  props: {
7181
7187
  items: {
@@ -7233,35 +7239,35 @@ const xr = _r.exports, Cr = F.extend({
7233
7239
  }
7234
7240
  }
7235
7241
  });
7236
- var Sr = function() {
7237
- var t = this, r = t._self._c;
7238
- return r("div", { staticClass: "e-flex e-heatmap-bar", class: {
7242
+ var wi = function() {
7243
+ var t = this, i = t._self._c;
7244
+ return i("div", { staticClass: "e-flex e-heatmap-bar", class: {
7239
7245
  "e-heatmap-bar--dense": t.dense
7240
7246
  } }, [t._t("label", function() {
7241
- return [t.label ? r("div", { staticClass: "e-heatmap-bar__label e-text-black" }, [t._v(" " + t._s(t.label) + " ")]) : t._e()];
7242
- }), t._l(t.heatMapBarItems, function({ name: i, value: s, count: a }) {
7243
- return r("div", { key: s, staticClass: "e-flex e-w-full e-justify-center e-items-center e-heatmap-bar__item", class: {
7247
+ return [t.label ? i("div", { staticClass: "e-heatmap-bar__label e-text-black" }, [t._v(" " + t._s(t.label) + " ")]) : t._e()];
7248
+ }), t._l(t.heatMapBarItems, function({ name: r, value: s, count: a }) {
7249
+ return i("div", { key: s, staticClass: "e-flex e-w-full e-justify-center e-items-center e-heatmap-bar__item", class: {
7244
7250
  "e-heatmap-bar__item--selected": t.selectedValue === s
7245
7251
  }, style: t.getItemStyle(a), on: { click: function(n) {
7246
7252
  return t.$emit("change", s);
7247
- } } }, [t.showCounts ? r("span", { staticClass: "e-heatmap-bar__item__count", class: {
7253
+ } } }, [t.showCounts ? i("span", { staticClass: "e-heatmap-bar__item__count", class: {
7248
7254
  "e-heatmap-bar__item__count--light": t.getColorIndex(a) <= 2
7249
- } }, [t._v(" " + t._s(a > 0 ? a : "") + " ")]) : t._e(), t.showNames ? r("span", { staticClass: "e-heatmap-bar__item__name e-text-xs e-text-black e-truncate" }, [t._v(" " + t._s(i) + " ")]) : t._e()]);
7255
+ } }, [t._v(" " + t._s(a > 0 ? a : "") + " ")]) : t._e(), t.showNames ? i("span", { staticClass: "e-heatmap-bar__item__name e-text-xs e-text-black e-truncate" }, [t._v(" " + t._s(r) + " ")]) : t._e()]);
7250
7256
  })], 2);
7251
- }, wr = [], Tr = /* @__PURE__ */ I(
7252
- Cr,
7253
- Sr,
7254
- wr,
7257
+ }, Si = [], Ti = /* @__PURE__ */ R(
7258
+ Ci,
7259
+ wi,
7260
+ Si,
7255
7261
  !1,
7256
7262
  null,
7257
7263
  null,
7258
7264
  null,
7259
7265
  null
7260
7266
  );
7261
- const lt = Tr.exports, $r = F.extend({
7267
+ const ct = Ti.exports, $i = L.extend({
7262
7268
  name: "EHoursHeatmap",
7263
7269
  components: {
7264
- EHeatmapBar: lt
7270
+ EHeatmapBar: ct
7265
7271
  },
7266
7272
  props: {
7267
7273
  items: {
@@ -7293,18 +7299,18 @@ const lt = Tr.exports, $r = F.extend({
7293
7299
  itemsByHour() {
7294
7300
  return this.items.reduce((e, t) => ({
7295
7301
  ...e,
7296
- [R(t.timestamp).format("H")]: t
7302
+ [I(t.timestamp).format("H")]: t
7297
7303
  }), {});
7298
7304
  },
7299
7305
  heatmapBarItems() {
7300
- return new Array(24).fill(void 0).reduce((e, t, r) => {
7301
- var i;
7306
+ return new Array(24).fill(void 0).reduce((e, t, i) => {
7307
+ var r;
7302
7308
  return [
7303
7309
  ...e,
7304
7310
  {
7305
- name: this.getFormattedHour(r),
7306
- value: r,
7307
- count: ((i = this.itemsByHour[r]) == null ? void 0 : i.count) || 0
7311
+ name: this.getFormattedHour(i),
7312
+ value: i,
7313
+ count: ((r = this.itemsByHour[i]) == null ? void 0 : r.count) || 0
7308
7314
  }
7309
7315
  ];
7310
7316
  }, []);
@@ -7317,22 +7323,22 @@ const lt = Tr.exports, $r = F.extend({
7317
7323
  }
7318
7324
  }
7319
7325
  });
7320
- var Dr = function() {
7321
- var t = this, r = t._self._c;
7322
- return r("EHeatmapBar", t._g({ attrs: { items: t.heatmapBarItems, "selected-value": t.selectedHour, "show-names": t.showHours, colors: t.colors, label: t.label, dense: t.dense }, scopedSlots: t._u([{ key: "label", fn: function() {
7326
+ var Di = function() {
7327
+ var t = this, i = t._self._c;
7328
+ return i("EHeatmapBar", t._g({ attrs: { items: t.heatmapBarItems, "selected-value": t.selectedHour, "show-names": t.showHours, colors: t.colors, label: t.label, dense: t.dense }, scopedSlots: t._u([{ key: "label", fn: function() {
7323
7329
  return [t._t("label")];
7324
7330
  }, proxy: !0 }], null, !0) }, t.$listeners));
7325
- }, Er = [], kr = /* @__PURE__ */ I(
7326
- $r,
7327
- Dr,
7328
- Er,
7331
+ }, Ei = [], ki = /* @__PURE__ */ R(
7332
+ $i,
7333
+ Di,
7334
+ Ei,
7329
7335
  !1,
7330
7336
  null,
7331
7337
  null,
7332
7338
  null,
7333
7339
  null
7334
7340
  );
7335
- const Mr = kr.exports, Or = F.extend({
7341
+ const Mi = ki.exports, Oi = L.extend({
7336
7342
  name: "EReadMore",
7337
7343
  props: {
7338
7344
  content: {
@@ -7410,20 +7416,20 @@ const Mr = kr.exports, Or = F.extend({
7410
7416
  }
7411
7417
  }
7412
7418
  });
7413
- var Pr = function() {
7414
- var t = this, r = t._self._c;
7415
- return t._self._setupProxy, r("span", { staticClass: "e-read-more" }, [r("span", { staticClass: "e-read-more__content mr-1", style: { "white-space": t.showAllContent ? "initial" : "nowrap" } }, [t._v(" " + t._s(t.displayContent()) + " ")]), t.isHiddenArrayContent ? r("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: t.toggleContentExpansion } }, [t._v(" " + t._s(t.computedMoreText) + " ")]) : t.isHiddenTextContent ? r("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: t.toggleContentExpansion } }, [t._v(" " + t._s(t.expandText) + " ")]) : t._e(), t.isContentExpanded ? r("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: t.toggleContentExpansion } }, [t._v(" " + t._s(t.collapseText) + " ")]) : t._e()]);
7416
- }, zr = [], Ar = /* @__PURE__ */ I(
7417
- Or,
7418
- Pr,
7419
- zr,
7419
+ var Pi = function() {
7420
+ var t = this, i = t._self._c;
7421
+ return t._self._setupProxy, i("span", { staticClass: "e-read-more" }, [i("span", { staticClass: "e-read-more__content mr-1", style: { "white-space": t.showAllContent ? "initial" : "nowrap" } }, [t._v(" " + t._s(t.displayContent()) + " ")]), t.isHiddenArrayContent ? i("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: t.toggleContentExpansion } }, [t._v(" " + t._s(t.computedMoreText) + " ")]) : t.isHiddenTextContent ? i("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: t.toggleContentExpansion } }, [t._v(" " + t._s(t.expandText) + " ")]) : t._e(), t.isContentExpanded ? i("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: t.toggleContentExpansion } }, [t._v(" " + t._s(t.collapseText) + " ")]) : t._e()]);
7422
+ }, zi = [], Ai = /* @__PURE__ */ R(
7423
+ Oi,
7424
+ Pi,
7425
+ zi,
7420
7426
  !1,
7421
7427
  null,
7422
7428
  null,
7423
7429
  null,
7424
7430
  null
7425
7431
  );
7426
- const Br = Ar.exports, Hr = F.extend({
7432
+ const Bi = Ai.exports, Hi = L.extend({
7427
7433
  name: "ETruncatedDiv",
7428
7434
  props: {
7429
7435
  width: {
@@ -7445,23 +7451,23 @@ const Br = Ar.exports, Hr = F.extend({
7445
7451
  }
7446
7452
  }
7447
7453
  });
7448
- var Lr = function() {
7449
- var t = this, r = t._self._c;
7450
- return r("div", t._g(t._b({ staticClass: "e-truncated-div e-truncate", style: t.containerStyle }, "div", t.$attrs, !1), t.$listeners), [t._t("default")], 2);
7451
- }, Fr = [], Gr = /* @__PURE__ */ I(
7452
- Hr,
7453
- Lr,
7454
- Fr,
7454
+ var Li = function() {
7455
+ var t = this, i = t._self._c;
7456
+ return i("div", t._g(t._b({ staticClass: "e-truncated-div e-truncate", style: t.containerStyle }, "div", t.$attrs, !1), t.$listeners), [t._t("default")], 2);
7457
+ }, Fi = [], Gi = /* @__PURE__ */ R(
7458
+ Hi,
7459
+ Li,
7460
+ Fi,
7455
7461
  !1,
7456
7462
  null,
7457
7463
  null,
7458
7464
  null,
7459
7465
  null
7460
7466
  );
7461
- const Rr = Gr.exports, Ir = F.extend({
7467
+ const Ri = Gi.exports, Ii = L.extend({
7462
7468
  name: "ECompareSeparator",
7463
7469
  components: {
7464
- EIcon: Ce
7470
+ EIcon: we
7465
7471
  },
7466
7472
  props: {
7467
7473
  xOffset: {
@@ -7475,20 +7481,168 @@ const Rr = Gr.exports, Ir = F.extend({
7475
7481
  }
7476
7482
  }
7477
7483
  });
7478
- var jr = function() {
7479
- var t = this, r = t._self._c;
7480
- return t._self._setupProxy, r("div", { staticClass: "e-compare-separator" }, [r("div", { staticClass: "e-compare-separator__line", style: t.separatorStyle }), r("div", { staticClass: "e-compare-separator__icon e-flex e-justify-around e-items-center", style: t.separatorStyle }, [r("EIcon", { attrs: { icon: "caret-left", color: "e-text-white", size: "xl" } }), r("EIcon", { attrs: { icon: "caret-right", color: "e-text-white", size: "xl" } })], 1)]);
7481
- }, Wr = [], Nr = /* @__PURE__ */ I(
7482
- Ir,
7483
- jr,
7484
- Wr,
7484
+ var ji = function() {
7485
+ var t = this, i = t._self._c;
7486
+ return t._self._setupProxy, i("div", { staticClass: "e-compare-separator" }, [i("div", { staticClass: "e-compare-separator__line", style: t.separatorStyle }), i("div", { staticClass: "e-compare-separator__icon e-flex e-justify-around e-items-center", style: t.separatorStyle }, [i("EIcon", { attrs: { icon: "caret-left", color: "e-text-white", size: "xl" } }), i("EIcon", { attrs: { icon: "caret-right", color: "e-text-white", size: "xl" } })], 1)]);
7487
+ }, Wi = [], Ni = /* @__PURE__ */ R(
7488
+ Ii,
7489
+ ji,
7490
+ Wi,
7491
+ !1,
7492
+ null,
7493
+ null,
7494
+ null,
7495
+ null
7496
+ );
7497
+ const Ui = Ni.exports, Te = L.extend({
7498
+ data() {
7499
+ return { timeouts: [] };
7500
+ },
7501
+ beforeDestroy() {
7502
+ this.$clearTimeouts();
7503
+ },
7504
+ methods: {
7505
+ $setTimeout(e, t = 0) {
7506
+ const i = setTimeout(e, t);
7507
+ return this.timeouts = [...this.timeouts, i], i;
7508
+ },
7509
+ $clearTimeouts() {
7510
+ this.timeouts.forEach(clearTimeout);
7511
+ }
7512
+ }
7513
+ }), le = L.extend({
7514
+ data() {
7515
+ return { eventListeners: [] };
7516
+ },
7517
+ beforeDestroy() {
7518
+ this.$removeEventListeners();
7519
+ },
7520
+ methods: {
7521
+ $addEventListener(e, t, i = window) {
7522
+ if (!(i instanceof HTMLElement || i instanceof Window)) {
7523
+ console.error(
7524
+ "$addEventListener: The target element is not an HTMLElement."
7525
+ ), console.log("$addEventListener: got: ", i);
7526
+ return;
7527
+ }
7528
+ i.addEventListener(e, t), this.eventListeners = [...this.eventListeners, { element: i, event: e, cb: t }];
7529
+ },
7530
+ $removeEventListeners() {
7531
+ this.eventListeners.forEach(({ element: e, event: t, cb: i }) => {
7532
+ e == null || e.removeEventListener(t, i);
7533
+ }), this.eventListeners = [];
7534
+ }
7535
+ }
7536
+ }), Yi = L.extend({
7537
+ name: "EExpandableMenu",
7538
+ mixins: [Te, le],
7539
+ props: {
7540
+ padding: {
7541
+ type: Number,
7542
+ default: 4
7543
+ },
7544
+ direction: {
7545
+ type: String,
7546
+ default: "top",
7547
+ validator: (e) => ["top", "right", "bottom", "left"].includes(e)
7548
+ },
7549
+ isMobile: {
7550
+ type: Boolean,
7551
+ default: !1
7552
+ }
7553
+ },
7554
+ data() {
7555
+ return {
7556
+ menu: !1,
7557
+ touched: !1,
7558
+ baseSize: {}
7559
+ };
7560
+ },
7561
+ computed: {
7562
+ row() {
7563
+ return ["right", "left"].includes(this.direction);
7564
+ },
7565
+ reverse() {
7566
+ return ["top", "left"].includes(this.direction);
7567
+ }
7568
+ },
7569
+ watch: {
7570
+ isMobile() {
7571
+ this.setButtonsPositions(this.menu);
7572
+ },
7573
+ direction() {
7574
+ this.setButtonsPositions(this.menu);
7575
+ },
7576
+ padding() {
7577
+ this.setButtonsPositions(this.menu);
7578
+ }
7579
+ },
7580
+ mounted() {
7581
+ const e = this.$refs.activator, t = (e == null ? void 0 : e.getBoundingClientRect()) || {};
7582
+ this.baseSize = {
7583
+ width: `${t.width}px`,
7584
+ height: `${t.height}px`
7585
+ }, this.isMobile || this.$setTimeout(this.toggleMenu, 100), this.$addEventListener("resize", this.setButtonsPositions);
7586
+ },
7587
+ methods: {
7588
+ toggleMenu() {
7589
+ this.menu = !this.menu, this.setButtonsPositions(this.menu);
7590
+ },
7591
+ setButtonsPositions(e) {
7592
+ const t = this.$refs.menu, i = Array.from(t == null ? void 0 : t.children).filter(
7593
+ (m) => !m.classList.contains("v-tooltip")
7594
+ );
7595
+ if (!i || !i.length)
7596
+ return;
7597
+ const r = this.isMobile ? 30 : 40, s = Array.from(i), a = this.$refs.activator, n = a == null ? void 0 : a.getBoundingClientRect(), u = Math.min(
7598
+ n[this.row ? "width" : "height"],
7599
+ r
7600
+ ), l = e ? u + this.padding : 0, o = this.row ? "X" : "Y";
7601
+ t.style.transform = `translate${o}(${(this.reverse ? -1 : 1) * l}px)`;
7602
+ let d = 0;
7603
+ s.forEach((m, h) => {
7604
+ m.getBoundingClientRect()[this.row ? "width" : "height"] > r ? d = Math.max(
7605
+ m.getBoundingClientRect()[this.row ? "width" : "height"],
7606
+ r
7607
+ ) + this.padding : d = Math.min(
7608
+ m.getBoundingClientRect()[this.row ? "width" : "height"],
7609
+ r
7610
+ ) + this.padding;
7611
+ const f = e ? d * h : 0;
7612
+ m.style.transform = `translate${o}(${(this.reverse ? -1 : 1) * f}px)`;
7613
+ });
7614
+ }
7615
+ }
7616
+ });
7617
+ var Vi = function() {
7618
+ var t = this, i = t._self._c;
7619
+ return i("div", { staticClass: "expandable-menu", class: {
7620
+ "expandable-menu--row": t.row,
7621
+ "expandable-menu--column": !t.row,
7622
+ "expandable-menu--reverse": t.reverse,
7623
+ "expandable-menu--open": t.menu,
7624
+ "expandable-menu--closed": !t.menu
7625
+ }, style: t.baseSize, on: { click: function(r) {
7626
+ t.touched = !0;
7627
+ }, mouseenter: function(r) {
7628
+ t.touched = !0;
7629
+ } } }, [i("div", { staticClass: "expandable-menu__container", style: t.baseSize }, [i("div", { ref: "activator", staticClass: "v-btn--no-active e-cursor-pointer expandable-menu__activator", on: { click: t.toggleMenu } }, [t._t("activator")], 2), i("div", { ref: "menu", staticClass: "e-flex e-flex-col expandable-menu__menu", class: {
7630
+ "expandable-menu__menu--closed": !t.menu,
7631
+ "expandable-menu__menu--open": t.menu,
7632
+ "e-py-2": !t.row,
7633
+ "e-py-0": t.row
7634
+ }, attrs: { "data-test-id": "action-buttons-menu" } }, [t._t("default")], 2)])]);
7635
+ }, Xi = [], Zi = /* @__PURE__ */ R(
7636
+ Yi,
7637
+ Vi,
7638
+ Xi,
7485
7639
  !1,
7486
7640
  null,
7487
7641
  null,
7488
7642
  null,
7489
7643
  null
7490
7644
  );
7491
- const Ur = Nr.exports, Yr = F.extend({
7645
+ const qi = Zi.exports, Ki = L.extend({
7492
7646
  name: "EToggleSwitch",
7493
7647
  props: {
7494
7648
  options: {
@@ -7571,122 +7725,83 @@ const Ur = Nr.exports, Yr = F.extend({
7571
7725
  }
7572
7726
  }
7573
7727
  });
7574
- var Vr = function() {
7575
- var t = this, r = t._self._c;
7576
- return r("div", { class: t.containerClasses }, [r("input", { directives: [{ name: "model", rawName: "v-model", value: t.value, expression: "value" }], staticClass: "e-hidden", attrs: { id: "toggle", type: "checkbox" }, domProps: { checked: Array.isArray(t.value) ? t._i(t.value, null) > -1 : t.value }, on: { change: function(i) {
7577
- var s = t.value, a = i.target, n = !!a.checked;
7728
+ var Qi = function() {
7729
+ var t = this, i = t._self._c;
7730
+ return i("div", { class: t.containerClasses }, [i("input", { directives: [{ name: "model", rawName: "v-model", value: t.value, expression: "value" }], staticClass: "e-hidden", attrs: { id: "toggle", type: "checkbox" }, domProps: { checked: Array.isArray(t.value) ? t._i(t.value, null) > -1 : t.value }, on: { change: function(r) {
7731
+ var s = t.value, a = r.target, n = !!a.checked;
7578
7732
  if (Array.isArray(s)) {
7579
7733
  var u = null, l = t._i(s, u);
7580
7734
  a.checked ? l < 0 && (t.value = s.concat([u])) : l > -1 && (t.value = s.slice(0, l).concat(s.slice(l + 1)));
7581
7735
  } else
7582
7736
  t.value = n;
7583
- } } }), t._l(t.options, function(i) {
7584
- return r("button", { key: i.value, class: t.getButtonClasses(i.value), on: { click: function(s) {
7585
- return t.handleClick(i.value);
7586
- } } }, [r("span", { class: t.textClasses }, [t._v(t._s(i.title))])]);
7737
+ } } }), t._l(t.options, function(r) {
7738
+ return i("button", { key: r.value, class: t.getButtonClasses(r.value), on: { click: function(s) {
7739
+ return t.handleClick(r.value);
7740
+ } } }, [i("span", { class: t.textClasses }, [t._v(t._s(r.title))])]);
7587
7741
  })], 2);
7588
- }, Xr = [], Zr = /* @__PURE__ */ I(
7589
- Yr,
7590
- Vr,
7591
- Xr,
7742
+ }, Ji = [], er = /* @__PURE__ */ R(
7743
+ Ki,
7744
+ Qi,
7745
+ Ji,
7592
7746
  !1,
7593
7747
  null,
7594
7748
  null,
7595
7749
  null,
7596
7750
  null
7597
7751
  );
7598
- const qr = Zr.exports, we = F.extend({
7599
- data() {
7600
- return { eventListeners: [] };
7601
- },
7602
- beforeDestroy() {
7603
- this.$removeEventListeners();
7604
- },
7605
- methods: {
7606
- $addEventListener(e, t, r = window) {
7607
- if (!(r instanceof HTMLElement || r instanceof Window)) {
7608
- console.error(
7609
- "$addEventListener: The target element is not an HTMLElement."
7610
- ), console.log("$addEventListener: got: ", r);
7611
- return;
7612
- }
7613
- r.addEventListener(e, t), this.eventListeners = [...this.eventListeners, { element: r, event: e, cb: t }];
7614
- },
7615
- $removeEventListeners() {
7616
- this.eventListeners.forEach(({ element: e, event: t, cb: r }) => {
7617
- e == null || e.removeEventListener(t, r);
7618
- }), this.eventListeners = [];
7619
- }
7620
- }
7621
- }), ct = F.extend({
7622
- data() {
7623
- return { timeouts: [] };
7624
- },
7625
- beforeDestroy() {
7626
- this.$clearTimeouts();
7627
- },
7628
- methods: {
7629
- $setTimeout(e, t = 0) {
7630
- const r = setTimeout(e, t);
7631
- return this.timeouts = [...this.timeouts, r], r;
7632
- },
7633
- $clearTimeouts() {
7634
- this.timeouts.forEach(clearTimeout);
7635
- }
7636
- }
7637
- }), Kr = F.extend({
7638
- mixins: [we, ct],
7752
+ const tr = er.exports, ir = L.extend({
7753
+ mixins: [le, Te],
7639
7754
  beforeDestroy() {
7640
7755
  this.$removeInactivityListeners();
7641
7756
  },
7642
7757
  methods: {
7643
7758
  resetInactivityListenerTimer(e = () => {
7644
- }, t = 0, r = []) {
7645
- this.$clearTimeouts(), this.setInactivityListenerTimer(e, t, r);
7759
+ }, t = 0, i = []) {
7760
+ this.$clearTimeouts(), this.setInactivityListenerTimer(e, t, i);
7646
7761
  },
7647
7762
  setInactivityListenerTimer(e = () => {
7648
- }, t = 0, r = []) {
7763
+ }, t = 0, i = []) {
7649
7764
  e && t && this.$setTimeout(() => {
7650
- e(), r.length > 0 && this.setInactivityListenerReminderTimers(e, r);
7765
+ e(), i.length > 0 && this.setInactivityListenerReminderTimers(e, i);
7651
7766
  }, t * 1e3);
7652
7767
  },
7653
7768
  setInactivityListenerReminderTimers(e = () => {
7654
- }, t = [], r = 0) {
7655
- const i = t[r];
7656
- r < t.length && this.$setTimeout(() => {
7769
+ }, t = [], i = 0) {
7770
+ const r = t[i];
7771
+ i < t.length && this.$setTimeout(() => {
7657
7772
  e(), this.setInactivityListenerReminderTimers(
7658
7773
  e,
7659
7774
  t,
7660
- r + 1
7775
+ i + 1
7661
7776
  );
7662
- }, i * 1e3);
7777
+ }, r * 1e3);
7663
7778
  },
7664
7779
  $registerInactivityListener({
7665
7780
  callback: e = () => {
7666
7781
  },
7667
7782
  duration: t = 0,
7668
- reminders: r = []
7783
+ reminders: i = []
7669
7784
  }) {
7670
- this.resetInactivityListenerTimer(e, t, r), this.$addEventListener(
7785
+ this.resetInactivityListenerTimer(e, t, i), this.$addEventListener(
7671
7786
  "mousemove",
7672
- () => this.resetInactivityListenerTimer(e, t, r)
7787
+ () => this.resetInactivityListenerTimer(e, t, i)
7673
7788
  );
7674
7789
  },
7675
7790
  $removeInactivityListeners() {
7676
7791
  this.$clearTimeouts();
7677
7792
  }
7678
7793
  }
7679
- }), ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7794
+ }), Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7680
7795
  __proto__: null,
7681
- eventListeners: we,
7682
- inactivityListener: Kr,
7683
- timeouts: ct
7684
- }, Symbol.toStringTag, { value: "Module" })), Qr = F.extend({
7796
+ eventListeners: le,
7797
+ inactivityListener: ir,
7798
+ timeouts: Te
7799
+ }, Symbol.toStringTag, { value: "Module" })), rr = L.extend({
7685
7800
  name: "EGlobalSearch",
7686
7801
  components: {
7687
- EIcon: Ce
7802
+ EIcon: we
7688
7803
  },
7689
- mixins: [we],
7804
+ mixins: [le],
7690
7805
  props: {
7691
7806
  dark: {
7692
7807
  type: Boolean,
@@ -7751,133 +7866,135 @@ const qr = Zr.exports, we = F.extend({
7751
7866
  this.search = e.target.value;
7752
7867
  },
7753
7868
  searchObjectsByQuery(e, t) {
7754
- return e.reduce((r, i, s) => {
7755
- const a = this.findMatchesInObject(i, t, []);
7756
- return a.length > 0 && r.push({ index: s, matches: a }), r;
7869
+ return e.reduce((i, r, s) => {
7870
+ const a = this.findMatchesInObject(r, t, []);
7871
+ return a.length > 0 && i.push({ index: s, matches: a }), i;
7757
7872
  }, []);
7758
7873
  },
7759
- findMatchesInObject(e, t, r) {
7760
- return Object.entries(e).reduce((i, [s, a]) => {
7761
- const n = [...r, s], u = this.matchesQuery(a, t) ? [{ path: n, value: a }] : [];
7874
+ findMatchesInObject(e, t, i) {
7875
+ return Object.entries(e).reduce((r, [s, a]) => {
7876
+ const n = [...i, s], u = this.matchesQuery(a, t) ? [{ path: n, value: a }] : [];
7762
7877
  let l = [];
7763
7878
  this.deep && Array.isArray(a) && (l = a.flatMap(
7764
- (h, p) => this.findMatchesInObject(h, t, [...n, `${p}`])
7879
+ (d, m) => this.findMatchesInObject(d, t, [...n, `${m}`])
7765
7880
  ));
7766
7881
  const o = this.deep && typeof a == "object" && a !== null ? this.findMatchesInObject(a, t, n) : [];
7767
- return [...i, ...u, ...l, ...o];
7882
+ return [...r, ...u, ...l, ...o];
7768
7883
  }, []);
7769
7884
  },
7770
7885
  matchesQuery(e, t) {
7771
7886
  return `${this.isValidDate(e) ? this.formattedTimestamp(e) : e}`.toLowerCase().indexOf(t.toLowerCase()) !== -1;
7772
7887
  },
7773
7888
  isValidDate(e) {
7774
- return R(e, this.currentDateFormat, !0).isValid();
7889
+ return I(e, this.currentDateFormat, !0).isValid();
7775
7890
  },
7776
7891
  formattedTimestamp(e) {
7777
- return R.tz(e, this.timezone).format(this.convertedDateFormat);
7892
+ return I.tz(e, this.timezone).format(this.convertedDateFormat);
7778
7893
  },
7779
7894
  onKeyHandler(e) {
7780
- const t = e, r = t.ctrlKey && t.type === "keydown", i = t.shiftKey && t.type === "keydown", s = ["f", "F"].includes(t.key) && t.type === "keydown", a = t.key === "Escape" && t.type === "keydown";
7781
- s && r && i && (this.isSearching = !0, this.$nextTick(() => {
7895
+ const t = e, i = t.ctrlKey && t.type === "keydown", r = t.shiftKey && t.type === "keydown", s = ["f", "F"].includes(t.key) && t.type === "keydown", a = t.key === "Escape" && t.type === "keydown";
7896
+ s && i && r && (this.isSearching = !0, this.$nextTick(() => {
7782
7897
  const n = this.$refs.searchField;
7783
7898
  n && n.focus();
7784
7899
  })), a && (this.isSearching = !1, this.search = "");
7785
7900
  }
7786
7901
  }
7787
7902
  });
7788
- var Jr = function() {
7789
- var t = this, r = t._self._c;
7790
- return r("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFixedPosition || t.isSearching, expression: "!isFixedPosition || isSearching" }], staticClass: "global-search e-relative", class: {
7903
+ var nr = function() {
7904
+ var t = this, i = t._self._c;
7905
+ return i("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFixedPosition || t.isSearching, expression: "!isFixedPosition || isSearching" }], staticClass: "global-search e-relative", class: {
7791
7906
  "global-search--fixed e-p-4 e-bg-white e-m-3": t.isFixedPosition
7792
- } }, [r("div", { staticClass: "e-relative" }, [r("input", { directives: [{ name: "model", rawName: "v-model", value: t.search, expression: "search" }], ref: "searchField", class: [
7907
+ } }, [i("div", { staticClass: "e-relative" }, [i("input", { directives: [{ name: "model", rawName: "v-model", value: t.search, expression: "search" }], ref: "searchField", class: [
7793
7908
  "global-search__field e-shadow-sm e-ring-1 e-ring-inset e-relative e-block e-w-full e-h-full disabled:e-cursor-not-allowed disabled:e-opacity-75 focus:e-outline-none e-border-0 e-text-sm e-placeholder-gray-400 e-px-4 e-py-3 e-gap-x-1.5 e-rounded-md e-pr-10",
7794
7909
  t.inputClasses
7795
- ], attrs: { id: "global-search-input", placeholder: "Search", autocomplete: "off", type: "text" }, domProps: { value: t.search }, on: { input: function(i) {
7796
- i.target.composing || (t.search = i.target.value);
7797
- } } }), r("span", { staticClass: "e-absolute e-inset-y-0 e-end-0 e-flex e-items-center e-justify-center e-pointer-events-none e-px-2.5" }, [r("EIcon", { attrs: { icon: "search", size: "sm" } })], 1)])]);
7798
- }, ei = [], ti = /* @__PURE__ */ I(
7799
- Qr,
7800
- Jr,
7801
- ei,
7910
+ ], attrs: { id: "global-search-input", placeholder: "Search", autocomplete: "off", type: "text" }, domProps: { value: t.search }, on: { input: function(r) {
7911
+ r.target.composing || (t.search = r.target.value);
7912
+ } } }), i("span", { staticClass: "e-absolute e-inset-y-0 e-end-0 e-flex e-items-center e-justify-center e-pointer-events-none e-px-2.5" }, [i("EIcon", { attrs: { icon: "search", size: "sm" } })], 1)])]);
7913
+ }, sr = [], ar = /* @__PURE__ */ R(
7914
+ rr,
7915
+ nr,
7916
+ sr,
7802
7917
  !1,
7803
7918
  null,
7804
7919
  null,
7805
7920
  null,
7806
7921
  null
7807
7922
  );
7808
- const ri = ti.exports, Me = {
7923
+ const or = ar.exports, Oe = {
7809
7924
  EAvatar: yt,
7810
- EBadge: Ge,
7811
- EIcon: Ce,
7812
- ESpinner: st,
7925
+ EBadge: Re,
7926
+ EIcon: we,
7927
+ ESpinner: at,
7813
7928
  ERow: It,
7814
7929
  ECol: Yt,
7815
- EVideoPlayer: nr,
7816
- ETimeline: gr,
7817
- EVideoEmbed: xr,
7818
- EHeatmapBar: lt,
7819
- EHoursHeatmap: Mr,
7820
- EReadMore: Br,
7821
- ETruncatedDiv: Rr,
7822
- ECompareSeparator: Ur,
7823
- EToggleSwitch: qr,
7824
- EZoomable: ot,
7825
- EGlobalSearch: ri
7826
- }, fi = {
7930
+ EVideoPlayer: ni,
7931
+ ETimeline: gi,
7932
+ EVideoEmbed: xi,
7933
+ EHeatmapBar: ct,
7934
+ EHoursHeatmap: Mi,
7935
+ EReadMore: Bi,
7936
+ ETruncatedDiv: Ri,
7937
+ ECompareSeparator: Ui,
7938
+ EToggleSwitch: tr,
7939
+ EExpandableMenu: qi,
7940
+ EZoomable: lt,
7941
+ EGlobalSearch: or
7942
+ }, yr = {
7827
7943
  install(e) {
7828
- Object.keys(Me).forEach((t) => {
7829
- e.component(t, Me[t]);
7830
- }), Object.keys(ke).forEach((t) => {
7831
- e.mixin(t, ke[t]);
7832
- }), ar.forEach(({ name: t, definition: r }) => {
7833
- e.directive(t, r);
7944
+ Object.keys(Oe).forEach((t) => {
7945
+ e.component(t, Oe[t]);
7946
+ }), Object.keys(Me).forEach((t) => {
7947
+ e.mixin(t, Me[t]);
7948
+ }), ai.forEach(({ name: t, definition: i }) => {
7949
+ e.directive(t, i);
7834
7950
  });
7835
7951
  }
7836
7952
  };
7837
7953
  export {
7838
- oi as AvatarSizes,
7839
- ci as BadgeColors,
7840
- ai as BadgeSizes,
7954
+ hr as AvatarSizes,
7955
+ mr as BadgeColors,
7956
+ dr as BadgeSizes,
7841
7957
  j as BaseColor,
7842
7958
  Dt as Colors,
7843
- ar as DirectivesMap,
7959
+ ai as DirectivesMap,
7844
7960
  yt as EAvatar,
7845
- Ge as EBadge,
7961
+ Re as EBadge,
7846
7962
  Yt as ECol,
7847
- Ur as ECompareSeparator,
7848
- ri as EGlobalSearch,
7849
- lt as EHeatmapBar,
7850
- Mr as EHoursHeatmap,
7851
- Ce as EIcon,
7852
- Br as EReadMore,
7963
+ Ui as ECompareSeparator,
7964
+ qi as EExpandableMenu,
7965
+ or as EGlobalSearch,
7966
+ ct as EHeatmapBar,
7967
+ Mi as EHoursHeatmap,
7968
+ we as EIcon,
7969
+ Bi as EReadMore,
7853
7970
  It as ERow,
7854
- st as ESpinner,
7855
- gr as ETimeline,
7856
- qr as EToggleSwitch,
7857
- Rr as ETruncatedDiv,
7858
- di as EVENTS,
7859
- xr as EVideoEmbed,
7860
- nr as EVideoPlayer,
7861
- ot as EZoomable,
7971
+ at as ESpinner,
7972
+ gi as ETimeline,
7973
+ tr as EToggleSwitch,
7974
+ Ri as ETruncatedDiv,
7975
+ gr as EVENTS,
7976
+ xi as EVideoEmbed,
7977
+ ni as EVideoPlayer,
7978
+ lt as EZoomable,
7862
7979
  Et as IconSizes,
7863
- ui as InputSizes,
7980
+ pr as InputSizes,
7864
7981
  Se as ResizeObserverDirective,
7865
7982
  _ as Size,
7866
7983
  $t as TextSizes,
7867
- re as TimelineAxis,
7984
+ ie as TimelineAxis,
7868
7985
  U as TimelineChartType,
7869
- ie as TimelineIntervalChangeTrigger,
7870
- li as ToggleSwitchSizes,
7871
- hi as clsx,
7872
- Me as components,
7986
+ re as TimelineIntervalChangeTrigger,
7987
+ fr as ToggleSwitchSizes,
7988
+ vr as clsx,
7989
+ Oe as components,
7873
7990
  Zt as debounce,
7874
- fi as default,
7875
- we as eventListeners,
7991
+ yr as default,
7992
+ le as eventListeners,
7876
7993
  Xt as exitFullScreen,
7877
- nt as fullConfig,
7878
- Kr as inactivityListener,
7879
- at as isFullScreen,
7994
+ st as fullConfig,
7995
+ ir as inactivityListener,
7996
+ ot as isFullScreen,
7880
7997
  Vt as makeFullScreen,
7881
- ct as timeouts
7998
+ Te as timeouts
7882
7999
  };
7883
8000
  //# sourceMappingURL=index.mjs.map