@evercam/ui 0.0.49 → 0.0.50

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
@@ -813,7 +813,7 @@ var je = ge.exports;
813
813
  }
814
814
  };
815
815
  })(pe);
816
- var Be = {};
816
+ var Re = {};
817
817
  (function(e) {
818
818
  Object.defineProperty(e, "__esModule", {
819
819
  value: !0
@@ -836,8 +836,8 @@ var Be = {};
836
836
  }
837
837
  return r;
838
838
  }
839
- })(Be);
840
- var Re = {};
839
+ })(Re);
840
+ var Be = {};
841
841
  (function(e) {
842
842
  Object.defineProperty(e, "__esModule", {
843
843
  value: !0
@@ -855,7 +855,7 @@ var Re = {};
855
855
  throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
856
856
  return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
857
857
  }
858
- })(Re);
858
+ })(Be);
859
859
  var We = {}, ne = {};
860
860
  (function(e) {
861
861
  Object.defineProperty(e, "__esModule", {
@@ -912,8 +912,8 @@ var We = {}, ne = {};
912
912
  return v.future === "all" || ((k = (y = v == null || (E = v.future) === null || E === void 0 ? void 0 : E[m]) !== null && y !== void 0 ? y : o[m]) !== null && k !== void 0 ? k : !1);
913
913
  }
914
914
  if (n.experimental.includes(m)) {
915
- var A, P, L;
916
- return v.experimental === "all" || ((L = (P = v == null || (A = v.experimental) === null || A === void 0 ? void 0 : A[m]) !== null && P !== void 0 ? P : o[m]) !== null && L !== void 0 ? L : !1);
915
+ var F, P, L;
916
+ return v.experimental === "all" || ((L = (P = v == null || (F = v.experimental) === null || F === void 0 ? void 0 : F[m]) !== null && P !== void 0 ? P : o[m]) !== null && L !== void 0 ? L : !1);
917
917
  }
918
918
  return !1;
919
919
  }
@@ -1045,8 +1045,8 @@ var We = {}, ne = {};
1045
1045
  })(),
1046
1046
  extract: (() => {
1047
1047
  let s = (() => {
1048
- var m, E, y, k, A, P, L, M, G, H;
1049
- return !((m = n.purge) === null || m === void 0) && m.extract ? n.purge.extract : !((E = n.content) === null || E === void 0) && E.extract ? n.content.extract : !((y = n.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? n.purge.extract.DEFAULT : !((A = n.content) === null || A === void 0 || (P = A.extract) === null || P === void 0) && P.DEFAULT ? n.content.extract.DEFAULT : !((L = n.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? n.purge.options.extractors : !((G = n.content) === null || G === void 0 || (H = G.options) === null || H === void 0) && H.extractors ? n.content.options.extractors : {};
1048
+ var m, E, y, k, F, P, L, M, G, H;
1049
+ return !((m = n.purge) === null || m === void 0) && m.extract ? n.purge.extract : !((E = n.content) === null || E === void 0) && E.extract ? n.content.extract : !((y = n.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? n.purge.extract.DEFAULT : !((F = n.content) === null || F === void 0 || (P = F.extract) === null || P === void 0) && P.DEFAULT ? n.content.extract.DEFAULT : !((L = n.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? n.purge.options.extractors : !((G = n.content) === null || G === void 0 || (H = G.options) === null || H === void 0) && H.extractors ? n.content.options.extractors : {};
1050
1050
  })(), c = {}, v = (() => {
1051
1051
  var m, E, y, k;
1052
1052
  if (!((m = n.purge) === null || m === void 0 || (E = m.options) === null || E === void 0) && E.defaultExtractor)
@@ -1066,8 +1066,8 @@ var We = {}, ne = {};
1066
1066
  })(),
1067
1067
  transform: (() => {
1068
1068
  let s = (() => {
1069
- var v, m, E, y, k, A;
1070
- return !((v = n.purge) === null || v === void 0) && v.transform ? n.purge.transform : !((m = n.content) === null || m === void 0) && m.transform ? n.content.transform : !((E = n.purge) === null || E === void 0 || (y = E.transform) === null || y === void 0) && y.DEFAULT ? n.purge.transform.DEFAULT : !((k = n.content) === null || k === void 0 || (A = k.transform) === null || A === void 0) && A.DEFAULT ? n.content.transform.DEFAULT : {};
1069
+ var v, m, E, y, k, F;
1070
+ return !((v = n.purge) === null || v === void 0) && v.transform ? n.purge.transform : !((m = n.content) === null || m === void 0) && m.transform ? n.content.transform : !((E = n.purge) === null || E === void 0 || (y = E.transform) === null || y === void 0) && y.DEFAULT ? n.purge.transform.DEFAULT : !((k = n.content) === null || k === void 0 || (F = k.transform) === null || F === void 0) && F.DEFAULT ? n.content.transform.DEFAULT : {};
1071
1071
  })(), c = {};
1072
1072
  return typeof s == "function" && (c.DEFAULT = s), typeof s == "object" && s !== null && Object.assign(c, s), c;
1073
1073
  })()
@@ -1889,10 +1889,10 @@ var ve = {}, ye = {}, qe = {};
1889
1889
  value: !0
1890
1890
  });
1891
1891
  function t(y, k) {
1892
- for (var A in k)
1893
- Object.defineProperty(y, A, {
1892
+ for (var F in k)
1893
+ Object.defineProperty(y, F, {
1894
1894
  enumerable: !0,
1895
- get: k[A]
1895
+ get: k[F]
1896
1896
  });
1897
1897
  }
1898
1898
  t(e, {
@@ -1911,7 +1911,7 @@ var ve = {}, ye = {}, qe = {};
1911
1911
  }
1912
1912
  let a = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, o = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, n = /(?:\d+|\d*\.\d+)%?/, h = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, s = /var\(--(?:[^ )]*?)\)/, c = new RegExp(`^(rgba?)\\(\\s*(${n.source}|${s.source})(?:${h.source}(${n.source}|${s.source}))?(?:${h.source}(${n.source}|${s.source}))?(?:${l.source}(${n.source}|${s.source}))?\\s*\\)$`), v = new RegExp(`^(hsla?)\\(\\s*((?:${n.source})(?:deg|rad|grad|turn)?|${s.source})(?:${h.source}(${n.source}|${s.source}))?(?:${h.source}(${n.source}|${s.source}))?(?:${l.source}(${n.source}|${s.source}))?\\s*\\)$`);
1913
1913
  function m(y, { loose: k = !1 } = {}) {
1914
- var A, P;
1914
+ var F, P;
1915
1915
  if (typeof y != "string")
1916
1916
  return null;
1917
1917
  if (y = y.trim(), y === "transparent")
@@ -1927,9 +1927,9 @@ var ve = {}, ye = {}, qe = {};
1927
1927
  if (y in r.default)
1928
1928
  return {
1929
1929
  mode: "rgb",
1930
- color: r.default[y].map((R) => R.toString())
1930
+ color: r.default[y].map((B) => B.toString())
1931
1931
  };
1932
- let L = y.replace(o, (R, N, W, g, D) => [
1932
+ let L = y.replace(o, (B, N, W, g, D) => [
1933
1933
  "#",
1934
1934
  N,
1935
1935
  N,
@@ -1946,7 +1946,7 @@ var ve = {}, ye = {}, qe = {};
1946
1946
  parseInt(L[1], 16),
1947
1947
  parseInt(L[2], 16),
1948
1948
  parseInt(L[3], 16)
1949
- ].map((R) => R.toString()),
1949
+ ].map((B) => B.toString()),
1950
1950
  alpha: L[4] ? (parseInt(L[4], 16) / 255).toString() : void 0
1951
1951
  };
1952
1952
  var M;
@@ -1957,22 +1957,22 @@ var ve = {}, ye = {}, qe = {};
1957
1957
  G[2],
1958
1958
  G[3],
1959
1959
  G[4]
1960
- ].filter(Boolean).map((R) => R.toString());
1960
+ ].filter(Boolean).map((B) => B.toString());
1961
1961
  return H.length === 2 && H[0].startsWith("var(") ? {
1962
1962
  mode: G[1],
1963
1963
  color: [
1964
1964
  H[0]
1965
1965
  ],
1966
1966
  alpha: H[1]
1967
- } : !k && H.length !== 3 || H.length < 3 && !H.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
1967
+ } : !k && H.length !== 3 || H.length < 3 && !H.some((B) => /^var\(.*?\)$/.test(B)) ? null : {
1968
1968
  mode: G[1],
1969
1969
  color: H,
1970
- alpha: (A = G[5]) === null || A === void 0 || (P = A.toString) === null || P === void 0 ? void 0 : P.call(A)
1970
+ alpha: (F = G[5]) === null || F === void 0 || (P = F.toString) === null || P === void 0 ? void 0 : P.call(F)
1971
1971
  };
1972
1972
  }
1973
- function E({ mode: y, color: k, alpha: A }) {
1974
- let P = A !== void 0;
1975
- return y === "rgba" || y === "hsla" ? `${y}(${k.join(", ")}${P ? `, ${A}` : ""})` : `${y}(${k.join(" ")}${P ? ` / ${A}` : ""})`;
1973
+ function E({ mode: y, color: k, alpha: F }) {
1974
+ let P = F !== void 0;
1975
+ return y === "rgba" || y === "hsla" ? `${y}(${k.join(", ")}${P ? `, ${F}` : ""})` : `${y}(${k.join(" ")}${P ? ` / ${F}` : ""})`;
1976
1976
  }
1977
1977
  })(ye);
1978
1978
  (function(e) {
@@ -2112,10 +2112,10 @@ var be = {}, Xe = {}, se = {};
2112
2112
  value: !0
2113
2113
  });
2114
2114
  function t(d, w) {
2115
- for (var F in w)
2116
- Object.defineProperty(d, F, {
2115
+ for (var A in w)
2116
+ Object.defineProperty(d, A, {
2117
2117
  enumerable: !0,
2118
- get: w[F]
2118
+ get: w[A]
2119
2119
  });
2120
2120
  }
2121
2121
  t(e, {
@@ -2132,7 +2132,7 @@ var be = {}, Xe = {}, se = {};
2132
2132
  return E;
2133
2133
  },
2134
2134
  length: function() {
2135
- return A;
2135
+ return F;
2136
2136
  },
2137
2137
  lineWidth: function() {
2138
2138
  return L;
@@ -2177,12 +2177,12 @@ var be = {}, Xe = {}, se = {};
2177
2177
  }
2178
2178
  const h = "--tw-placeholder", l = new RegExp(h, "g");
2179
2179
  function s(d, w = !0) {
2180
- return d.startsWith("--") ? `var(${d})` : d.includes("url(") ? d.split(/(url\(.*?\))/g).filter(Boolean).map((F) => /^url\(.*?\)$/.test(F) ? F : s(F, !1)).join("") : (d = d.replace(/([^\\])_+/g, (F, O) => O + " ".repeat(F.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), w && (d = d.trim()), d = c(d), d);
2180
+ return d.startsWith("--") ? `var(${d})` : d.includes("url(") ? d.split(/(url\(.*?\))/g).filter(Boolean).map((A) => /^url\(.*?\)$/.test(A) ? A : s(A, !1)).join("") : (d = d.replace(/([^\\])_+/g, (A, O) => O + " ".repeat(A.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), w && (d = d.trim()), d = c(d), d);
2181
2181
  }
2182
2182
  function c(d) {
2183
2183
  return d.replace(/(calc|min|max|clamp)\(.+\)/g, (w) => {
2184
- let F = [];
2185
- return w.replace(/var\((--.+?)[,)]/g, (O, K) => (F.push(K), O.replace(K, h))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => F.shift());
2184
+ let A = [];
2185
+ return w.replace(/var\((--.+?)[,)]/g, (O, K) => (A.push(K), O.replace(K, h))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => A.shift());
2186
2186
  });
2187
2187
  }
2188
2188
  function v(d) {
@@ -2227,7 +2227,7 @@ var be = {}, Xe = {}, se = {};
2227
2227
  "cqmin",
2228
2228
  "cqmax"
2229
2229
  ].join("|")})`;
2230
- function A(d) {
2230
+ function F(d) {
2231
2231
  return d === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(d) || n(d);
2232
2232
  }
2233
2233
  let P = /* @__PURE__ */ new Set([
@@ -2240,8 +2240,8 @@ var be = {}, Xe = {}, se = {};
2240
2240
  }
2241
2241
  function M(d) {
2242
2242
  let w = (0, i.parseBoxShadowValue)(s(d));
2243
- for (let F of w)
2244
- if (!F.valid)
2243
+ for (let A of w)
2244
+ if (!A.valid)
2245
2245
  return !1;
2246
2246
  return !0;
2247
2247
  }
@@ -2260,7 +2260,7 @@ var be = {}, Xe = {}, se = {};
2260
2260
  "image-set("
2261
2261
  ].some((K) => O.startsWith(K)) ? (w++, !0) : !1)) ? w > 0 : !1;
2262
2262
  }
2263
- let R = /* @__PURE__ */ new Set([
2263
+ let B = /* @__PURE__ */ new Set([
2264
2264
  "conic-gradient",
2265
2265
  "linear-gradient",
2266
2266
  "radial-gradient",
@@ -2270,7 +2270,7 @@ var be = {}, Xe = {}, se = {};
2270
2270
  ]);
2271
2271
  function N(d) {
2272
2272
  d = s(d);
2273
- for (let w of R)
2273
+ for (let w of B)
2274
2274
  if (d.startsWith(`${w}(`))
2275
2275
  return !0;
2276
2276
  return !1;
@@ -2284,7 +2284,7 @@ var be = {}, Xe = {}, se = {};
2284
2284
  ]);
2285
2285
  function g(d) {
2286
2286
  let w = 0;
2287
- return (0, a.splitAtTopLevelOnly)(d, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : W.has(O) || A(O) || E(O) ? (w++, !0) : !1)) ? w > 0 : !1;
2287
+ return (0, a.splitAtTopLevelOnly)(d, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : W.has(O) || F(O) || E(O) ? (w++, !0) : !1)) ? w > 0 : !1;
2288
2288
  }
2289
2289
  function D(d) {
2290
2290
  let w = 0;
@@ -2443,7 +2443,7 @@ var Ye = {};
2443
2443
  }
2444
2444
  return g;
2445
2445
  }
2446
- function A(g) {
2446
+ function F(g) {
2447
2447
  return (0, a.normalize)(g.slice(1, -1));
2448
2448
  }
2449
2449
  function P(g, D = {}, { tailwindConfig: C = {} } = {}) {
@@ -2454,9 +2454,9 @@ var Ye = {};
2454
2454
  }
2455
2455
  let [x, p] = y(g);
2456
2456
  if (p !== void 0) {
2457
- var $, d, w, F;
2458
- let O = (F = ($ = D.values) === null || $ === void 0 ? void 0 : $[x]) !== null && F !== void 0 ? F : E(x) ? x.slice(1, -1) : void 0;
2459
- return O === void 0 ? void 0 : (O = k(O), E(p) ? (0, i.withAlphaValue)(O, A(p)) : ((d = C.theme) === null || d === void 0 || (w = d.opacity) === null || w === void 0 ? void 0 : w[p]) === void 0 ? void 0 : (0, i.withAlphaValue)(O, C.theme.opacity[p]));
2457
+ var $, d, w, A;
2458
+ let O = (A = ($ = D.values) === null || $ === void 0 ? void 0 : $[x]) !== null && A !== void 0 ? A : E(x) ? x.slice(1, -1) : void 0;
2459
+ return O === void 0 ? void 0 : (O = k(O), E(p) ? (0, i.withAlphaValue)(O, F(p)) : ((d = C.theme) === null || d === void 0 || (w = d.opacity) === null || w === void 0 ? void 0 : w[p]) === void 0 ? void 0 : (0, i.withAlphaValue)(O, C.theme.opacity[p]));
2460
2460
  }
2461
2461
  return m(g, D, {
2462
2462
  validate: a.color
@@ -2489,7 +2489,7 @@ var Ye = {};
2489
2489
  shadow: M(a.shadow),
2490
2490
  size: M(n.backgroundSize)
2491
2491
  }, H = Object.keys(G);
2492
- function R(g, D) {
2492
+ function B(g, D) {
2493
2493
  let C = g.indexOf(D);
2494
2494
  return C === -1 ? [
2495
2495
  void 0,
@@ -2513,7 +2513,7 @@ var Ye = {};
2513
2513
  ];
2514
2514
  }
2515
2515
  if (E(D)) {
2516
- let x = D.slice(1, -1), [p, $] = R(x, ":");
2516
+ let x = D.slice(1, -1), [p, $] = B(x, ":");
2517
2517
  if (!/^[\w-_]+$/g.test(p))
2518
2518
  $ = x;
2519
2519
  else if (p !== void 0 && !H.includes(p))
@@ -2534,16 +2534,16 @@ var Ye = {};
2534
2534
  let b = (0, h.flagEnabled)(f, "generalizedModifiers"), [x, p] = y(D);
2535
2535
  if (b && C.modifiers != null && (C.modifiers === "any" || typeof C.modifiers == "object" && (p && E(p) || p in C.modifiers)) || (x = D, p = void 0), p !== void 0 && x === "" && (x = "DEFAULT"), p !== void 0 && typeof C.modifiers == "object") {
2536
2536
  var d, w;
2537
- let F = (w = (d = C.modifiers) === null || d === void 0 ? void 0 : d[p]) !== null && w !== void 0 ? w : null;
2538
- F !== null ? p = F : E(p) && (p = A(p));
2537
+ let A = (w = (d = C.modifiers) === null || d === void 0 ? void 0 : d[p]) !== null && w !== void 0 ? w : null;
2538
+ A !== null ? p = A : E(p) && (p = F(p));
2539
2539
  }
2540
- for (let { type: F } of g != null ? g : []) {
2541
- let O = G[F](x, C, {
2540
+ for (let { type: A } of g != null ? g : []) {
2541
+ let O = G[A](x, C, {
2542
2542
  tailwindConfig: f
2543
2543
  });
2544
2544
  O !== void 0 && (yield [
2545
2545
  O,
2546
- F,
2546
+ A,
2547
2547
  p != null ? p : null
2548
2548
  ]);
2549
2549
  }
@@ -2572,7 +2572,7 @@ var Ze = {};
2572
2572
  return C;
2573
2573
  }
2574
2574
  });
2575
- const t = /* @__PURE__ */ E(me), r = /* @__PURE__ */ E(Le), i = /* @__PURE__ */ E(Ge), a = /* @__PURE__ */ E(pe), o = Be, n = Re, h = We, l = /* @__PURE__ */ E(Ue), s = Ne, c = Ie, v = ve, m = /* @__PURE__ */ E(Ze);
2575
+ const t = /* @__PURE__ */ E(me), r = /* @__PURE__ */ E(Le), i = /* @__PURE__ */ E(Ge), a = /* @__PURE__ */ E(pe), o = Re, n = Be, h = We, l = /* @__PURE__ */ E(Ue), s = Ne, c = Ie, v = ve, m = /* @__PURE__ */ E(Ze);
2576
2576
  function E(f) {
2577
2577
  return f && f.__esModule ? f : {
2578
2578
  default: f
@@ -2590,7 +2590,7 @@ var Ze = {};
2590
2590
  }
2591
2591
  return f;
2592
2592
  }
2593
- const A = {
2593
+ const F = {
2594
2594
  colors: a.default,
2595
2595
  negative(f) {
2596
2596
  return Object.keys(f).filter((b) => f[b] !== "0").reduce((b, x) => {
@@ -2644,7 +2644,7 @@ var Ze = {};
2644
2644
  ...p
2645
2645
  ].map((w) => P(w, $, d)), G));
2646
2646
  }
2647
- function* R(f) {
2647
+ function* B(f) {
2648
2648
  let b = (0, n.toPath)(f);
2649
2649
  if (b.length === 0 || (yield b, Array.isArray(f)))
2650
2650
  return;
@@ -2656,14 +2656,14 @@ var Ze = {};
2656
2656
  }
2657
2657
  function N(f) {
2658
2658
  const b = (x, p) => {
2659
- for (const $ of R(x)) {
2659
+ for (const $ of B(x)) {
2660
2660
  let d = 0, w = f;
2661
2661
  for (; w != null && d < $.length; )
2662
- w = w[$[d++]], w = y(w) && ($.alpha === void 0 || d <= $.length - 1) ? w(b, A) : w;
2662
+ w = w[$[d++]], w = y(w) && ($.alpha === void 0 || d <= $.length - 1) ? w(b, F) : w;
2663
2663
  if (w !== void 0) {
2664
2664
  if ($.alpha !== void 0) {
2665
- let F = (0, c.parseColorFormat)(w);
2666
- return (0, v.withAlphaValue)(F, $.alpha, (0, m.default)(F));
2665
+ let A = (0, c.parseColorFormat)(w);
2666
+ return (0, v.withAlphaValue)(A, $.alpha, (0, m.default)(A));
2667
2667
  }
2668
2668
  return (0, l.default)(w) ? (0, s.cloneDeep)(w) : w;
2669
2669
  }
@@ -2672,8 +2672,8 @@ var Ze = {};
2672
2672
  };
2673
2673
  return Object.assign(b, {
2674
2674
  theme: b,
2675
- ...A
2676
- }), Object.keys(f).reduce((x, p) => (x[p] = y(f[p]) ? f[p](b, A) : f[p], x), {});
2675
+ ...F
2676
+ }), Object.keys(f).reduce((x, p) => (x[p] = y(f[p]) ? f[p](b, F) : f[p], x), {});
2677
2677
  }
2678
2678
  function W(f) {
2679
2679
  let b = [];
@@ -3805,7 +3805,7 @@ const pt = {
3805
3805
  700: "#770D11",
3806
3806
  800: "#4E090B",
3807
3807
  900: "#290506"
3808
- }, B = {
3808
+ }, R = {
3809
3809
  onprimary: U.white,
3810
3810
  warning: U.amber,
3811
3811
  error: U.rose,
@@ -3814,27 +3814,27 @@ const pt = {
3814
3814
  primary: U.sky,
3815
3815
  brand: pt
3816
3816
  }, gt = {
3817
- ...B,
3817
+ ...R,
3818
3818
  // Warning
3819
- warning: B.warning[500],
3820
- "warning-darken": B.warning[600],
3821
- "warning-lighten": B.warning[400],
3819
+ warning: R.warning[500],
3820
+ "warning-darken": R.warning[600],
3821
+ "warning-lighten": R.warning[400],
3822
3822
  // Success
3823
- success: B.success[500],
3824
- "success-darken": B.success[600],
3825
- "success-lighten": B.success[400],
3823
+ success: R.success[500],
3824
+ "success-darken": R.success[600],
3825
+ "success-lighten": R.success[400],
3826
3826
  // Error
3827
- error: B.error[500],
3828
- "error-darken": B.error[600],
3829
- "error-lighten": B.error[400],
3827
+ error: R.error[500],
3828
+ "error-darken": R.error[600],
3829
+ "error-lighten": R.error[400],
3830
3830
  // Info
3831
- info: B.info[500],
3832
- "info-darken": B.info[600],
3833
- "info-lighten": B.info[400],
3831
+ info: R.info[500],
3832
+ "info-darken": R.info[600],
3833
+ "info-lighten": R.info[400],
3834
3834
  // Primary
3835
- primary: B.primary[500],
3836
- "primary-darken": B.primary[600],
3837
- "primary-lighten": B.primary[400],
3835
+ primary: R.primary[500],
3836
+ "primary-darken": R.primary[600],
3837
+ "primary-lighten": R.primary[400],
3838
3838
  // Surfaces
3839
3839
  onsurface: U.slate[500],
3840
3840
  onbackground: U.slate[700],
@@ -4149,13 +4149,13 @@ const Qe = kt.exports, Ot = X.extend({
4149
4149
  }
4150
4150
  }
4151
4151
  });
4152
- var At = function() {
4152
+ var Ft = function() {
4153
4153
  var t = this, r = t._self._c;
4154
4154
  return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
4155
- }, Ft = [], Mt = /* @__PURE__ */ I(
4155
+ }, At = [], Mt = /* @__PURE__ */ I(
4156
4156
  Ot,
4157
- At,
4158
4157
  Ft,
4158
+ At,
4159
4159
  !1,
4160
4160
  null,
4161
4161
  null,
@@ -4284,7 +4284,7 @@ function et() {
4284
4284
  const e = document;
4285
4285
  return !!(e.fullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || e.msFullscreenElement);
4286
4286
  }
4287
- function Bt(e) {
4287
+ function Rt(e) {
4288
4288
  if (et())
4289
4289
  return new Promise((r) => r(null));
4290
4290
  const t = e;
@@ -4297,7 +4297,7 @@ function Bt(e) {
4297
4297
  if (t.msRequestFullscreen)
4298
4298
  return t == null ? void 0 : t.msRequestFullscreen();
4299
4299
  }
4300
- function Rt() {
4300
+ function Bt() {
4301
4301
  if (!et())
4302
4302
  return new Promise((t) => t(null));
4303
4303
  const e = document;
@@ -4511,13 +4511,13 @@ const le = new Intl.NumberFormat(void 0, {
4511
4511
  return [parseInt(e / 60 % 60, 10), parseInt(e % 60, 10)].join(":").replace(/\b(\d)\b/g, "0$1");
4512
4512
  },
4513
4513
  closeFullscreenMode() {
4514
- document.fullscreenElement && (Rt().then(() => {
4514
+ document.fullscreenElement && (Bt().then(() => {
4515
4515
  this.isFullscreen = !1, console.log("Exited fullscreen");
4516
4516
  }), this.isFullscreen = !1);
4517
4517
  },
4518
4518
  openFullscreenMode() {
4519
4519
  const e = this.$refs.videoContainer;
4520
- e && (Bt(e).then(() => {
4520
+ e && (Rt(e).then(() => {
4521
4521
  this.isFullscreen = !0;
4522
4522
  }), this.isFullscreen = !0);
4523
4523
  },
@@ -4666,7 +4666,7 @@ const qt = Vt.exports, re = (e) => {
4666
4666
  _3_months: 33,
4667
4667
  infinity: 1 / 0
4668
4668
  };
4669
- var Te, Ee, $e, De, ke, Oe, Ae, Fe;
4669
+ var Te, Ee, $e, De, ke, Oe, Fe, Ae;
4670
4670
  const Xt = {
4671
4671
  [ee.overview]: [
4672
4672
  {
@@ -4782,12 +4782,12 @@ const Xt = {
4782
4782
  },
4783
4783
  {
4784
4784
  precision: S._2_hours,
4785
- interval: (Ae = u.utcHour.every(2)) == null ? void 0 : Ae.filter(Z(6)),
4785
+ interval: (Fe = u.utcHour.every(2)) == null ? void 0 : Fe.filter(Z(6)),
4786
4786
  format: Y
4787
4787
  },
4788
4788
  {
4789
4789
  precision: S._3_hours,
4790
- interval: (Fe = u.utcHour.every(3)) == null ? void 0 : Fe.filter(Z(12)),
4790
+ interval: (Ae = u.utcHour.every(3)) == null ? void 0 : Ae.filter(Z(12)),
4791
4791
  format: Y
4792
4792
  },
4793
4793
  {
@@ -5121,7 +5121,8 @@ const Xt = {
5121
5121
  characterWidth: 7.5,
5122
5122
  textPadding: 5,
5123
5123
  debouncedOnResize: () => {
5124
- }
5124
+ },
5125
+ isFirstPaint: !0
5125
5126
  };
5126
5127
  },
5127
5128
  computed: {
@@ -5368,11 +5369,11 @@ const Xt = {
5368
5369
  interval: t
5369
5370
  };
5370
5371
  },
5372
+ onResize(e) {
5373
+ this.isFirstPaint ? (this.handleResize(e), this.isFirstPaint = !1) : this.debouncedOnResize(e);
5374
+ },
5371
5375
  handleResize({ contentRect: e }) {
5372
- if (!this.svg)
5373
- return;
5374
- const t = Number.parseInt(this.svg.attr("width")), r = e.width;
5375
- Math.abs(t - r) > 100 && (this.svg.attr("width", e.width), this.updateAndRedrawTimeline());
5376
+ this.svg && (this.svg.attr("width", e.width), this.updateAndRedrawTimeline());
5376
5377
  },
5377
5378
  handleDarkModeChange() {
5378
5379
  if (!this.showLabels)
@@ -5797,7 +5798,7 @@ const Xt = {
5797
5798
  });
5798
5799
  var Kt = function() {
5799
5800
  var t = this, r = t._self._c;
5800
- return r("div", { 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 }), r("div", { directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: t.debouncedOnResize, expression: "debouncedOnResize" }], ref: "timelineContainer", staticClass: "e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden e-overflow-hidden" }), 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", { ref: "tooltip", staticClass: "e-absolute", style: t.eventTooltipStyle }, [t._t("tooltip", function() {
5801
+ return r("div", { 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 }), 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 e-overflow-hidden" }), 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", { ref: "tooltip", staticClass: "e-absolute", style: t.eventTooltipStyle }, [t._t("tooltip", function() {
5801
5802
  return [r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringTimeline && !t.isHoveringEvent && !t.isInteractingWithCurtain && !t.cursorTimestamp, expression: `
5802
5803
  isHoveringTimeline &&
5803
5804
  !isHoveringEvent &&
@@ -5932,9 +5933,9 @@ export {
5932
5933
  Se as components,
5933
5934
  Wt as debounce,
5934
5935
  fr as default,
5935
- Rt as exitFullScreen,
5936
+ Bt as exitFullScreen,
5936
5937
  Je as fullConfig,
5937
5938
  et as isFullScreen,
5938
- Bt as makeFullScreen
5939
+ Rt as makeFullScreen
5939
5940
  };
5940
5941
  //# sourceMappingURL=index.mjs.map