@bluepic/embed 0.4.0-next.195 → 0.4.0-next.196

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/main.mjs CHANGED
@@ -652,20 +652,20 @@ var r$ = rl.ArrayBuffer, O2 = rl.FileReader, Il = rl.URL || rl.webkitURL, a$ = /
652
652
  height: A
653
653
  }, "cover");
654
654
  if (k = N.width, A = N.height, C) {
655
- var V = hd({
655
+ var Z = hd({
656
656
  aspectRatio: T,
657
657
  width: S,
658
658
  height: L
659
659
  }, m.resize);
660
- S = V.width, L = V.height;
660
+ S = Z.width, L = Z.height;
661
661
  } else {
662
- var Z = hd({
662
+ var V = hd({
663
663
  aspectRatio: T,
664
664
  width: S,
665
665
  height: L
666
- }), I = Z.width;
666
+ }), I = V.width;
667
667
  S = I === void 0 ? a : I;
668
- var z = Z.height;
668
+ var z = V.height;
669
669
  L = z === void 0 ? i : z;
670
670
  }
671
671
  S = Math.floor(G6(Math.min(Math.max(S, k), x))), L = Math.floor(G6(Math.min(Math.max(L, A), _)));
@@ -1444,8 +1444,8 @@ var Au = {}, W6 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, z$ = function(e, t) {
1444
1444
  }) : s("@font-face missing '}'");
1445
1445
  }
1446
1446
  }
1447
- var f = Z("import"), N = Z("charset"), V = Z("namespace");
1448
- function Z(M) {
1447
+ var f = V("import"), N = V("charset"), Z = V("namespace");
1448
+ function V(M) {
1449
1449
  var B = new RegExp("^@" + M + "\\s*([^;]+);");
1450
1450
  return function() {
1451
1451
  var U = i(), Y = p(B);
@@ -1457,7 +1457,7 @@ var Au = {}, W6 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, z$ = function(e, t) {
1457
1457
  }
1458
1458
  function I() {
1459
1459
  if (e[0] == "@")
1460
- return k() || S() || L() || A() || f() || N() || V() || D() || E() || T() || R();
1460
+ return k() || S() || L() || A() || f() || N() || Z() || D() || E() || T() || R();
1461
1461
  }
1462
1462
  function z() {
1463
1463
  var M = i(), B = w();
@@ -2743,8 +2743,8 @@ function N$() {
2743
2743
  var N = o(R);
2744
2744
  try {
2745
2745
  return String(D(N));
2746
- } catch (V) {
2747
- throw V.sourceMapData = f, V;
2746
+ } catch (Z) {
2747
+ throw Z.sourceMapData = f, Z;
2748
2748
  }
2749
2749
  }
2750
2750
  var d = /[#@] sourceMappingURL=([^\s'"]*)/, h = RegExp(
@@ -2756,25 +2756,25 @@ function N$() {
2756
2756
  return R ? R[1] || R[2] || "" : null;
2757
2757
  }
2758
2758
  function p(D, R, f, N) {
2759
- var V;
2759
+ var Z;
2760
2760
  try {
2761
- V = _(D, R);
2761
+ Z = _(D, R);
2762
2762
  } catch (I) {
2763
2763
  return u(N, I);
2764
2764
  }
2765
- if (!V || V.map)
2766
- return u(N, null, V);
2767
- var Z = o(V.url);
2768
- f(Z, function(I, z) {
2765
+ if (!Z || Z.map)
2766
+ return u(N, null, Z);
2767
+ var V = o(Z.url);
2768
+ f(V, function(I, z) {
2769
2769
  if (I)
2770
- return I.sourceMapData = V, N(I);
2771
- V.map = String(z);
2770
+ return I.sourceMapData = Z, N(I);
2771
+ Z.map = String(z);
2772
2772
  try {
2773
- V.map = s(V.map, V);
2773
+ Z.map = s(Z.map, Z);
2774
2774
  } catch (M) {
2775
2775
  return N(M);
2776
2776
  }
2777
- N(null, V);
2777
+ N(null, Z);
2778
2778
  });
2779
2779
  }
2780
2780
  function m(D, R, f) {
@@ -2783,8 +2783,8 @@ function N$() {
2783
2783
  }
2784
2784
  var b = /^data:([^,;]*)(;[^,;]*)*(?:,(.*))?$/, y = /^(?:application|text)\/json$/, w = "utf-8";
2785
2785
  function C(D) {
2786
- for (var R = e(D), f = R.length, N = new Uint8Array(f), V = 0; V < f; V++)
2787
- N[V] = R.charCodeAt(V);
2786
+ for (var R = e(D), f = R.length, N = new Uint8Array(f), Z = 0; Z < f; Z++)
2787
+ N[Z] = R.charCodeAt(Z);
2788
2788
  return N;
2789
2789
  }
2790
2790
  function x(D) {
@@ -2800,19 +2800,19 @@ function N$() {
2800
2800
  return null;
2801
2801
  var N = f.match(b);
2802
2802
  if (N) {
2803
- var V = N[1] || "text/plain", Z = N[2] || "", I = N[3] || "", z = {
2803
+ var Z = N[1] || "text/plain", V = N[2] || "", I = N[3] || "", z = {
2804
2804
  sourceMappingURL: f,
2805
2805
  url: null,
2806
2806
  sourcesRelativeTo: R,
2807
2807
  map: I
2808
2808
  };
2809
- if (!y.test(V)) {
2810
- var M = new Error("Unuseful data uri mime type: " + V);
2809
+ if (!y.test(Z)) {
2810
+ var M = new Error("Unuseful data uri mime type: " + Z);
2811
2811
  throw M.sourceMapData = z, M;
2812
2812
  }
2813
2813
  try {
2814
2814
  z.map = s(
2815
- Z === ";base64" ? x(I) : decodeURIComponent(I),
2815
+ V === ";base64" ? x(I) : decodeURIComponent(I),
2816
2816
  z
2817
2817
  );
2818
2818
  } catch (U) {
@@ -2828,18 +2828,18 @@ function N$() {
2828
2828
  map: null
2829
2829
  };
2830
2830
  }
2831
- function k(D, R, f, N, V) {
2832
- typeof N == "function" && (V = N, N = {});
2833
- var Z = D.sources ? D.sources.length : 0, I = {
2831
+ function k(D, R, f, N, Z) {
2832
+ typeof N == "function" && (Z = N, N = {});
2833
+ var V = D.sources ? D.sources.length : 0, I = {
2834
2834
  sourcesResolved: [],
2835
2835
  sourcesContent: []
2836
2836
  };
2837
- if (Z === 0) {
2838
- u(V, null, I);
2837
+ if (V === 0) {
2838
+ u(Z, null, I);
2839
2839
  return;
2840
2840
  }
2841
2841
  var z = function() {
2842
- Z--, Z === 0 && V(null, I);
2842
+ V--, V === 0 && Z(null, I);
2843
2843
  };
2844
2844
  S(D, R, N, function(M, B, U) {
2845
2845
  if (I.sourcesResolved[U] = M, typeof B == "string")
@@ -2853,79 +2853,79 @@ function N$() {
2853
2853
  });
2854
2854
  }
2855
2855
  function A(D, R, f, N) {
2856
- var V = {
2856
+ var Z = {
2857
2857
  sourcesResolved: [],
2858
2858
  sourcesContent: []
2859
2859
  };
2860
- return !D.sources || D.sources.length === 0 || S(D, R, N, function(Z, I, z) {
2861
- if (V.sourcesResolved[z] = Z, f !== null)
2860
+ return !D.sources || D.sources.length === 0 || S(D, R, N, function(V, I, z) {
2861
+ if (Z.sourcesResolved[z] = V, f !== null)
2862
2862
  if (typeof I == "string")
2863
- V.sourcesContent[z] = I;
2863
+ Z.sourcesContent[z] = I;
2864
2864
  else {
2865
- var M = o(Z);
2865
+ var M = o(V);
2866
2866
  try {
2867
- V.sourcesContent[z] = String(f(M));
2867
+ Z.sourcesContent[z] = String(f(M));
2868
2868
  } catch (B) {
2869
- V.sourcesContent[z] = B;
2869
+ Z.sourcesContent[z] = B;
2870
2870
  }
2871
2871
  }
2872
- }), V;
2872
+ }), Z;
2873
2873
  }
2874
2874
  var T = /\/?$/;
2875
2875
  function S(D, R, f, N) {
2876
2876
  f = f || {}, R = i(R);
2877
- for (var V, Z, I, z = 0, M = D.sources.length; z < M; z++)
2878
- I = null, typeof f.sourceRoot == "string" ? I = f.sourceRoot : typeof D.sourceRoot == "string" && f.sourceRoot !== !1 && (I = D.sourceRoot), I === null || I === "" ? V = a(R, D.sources[z]) : V = a(R, I.replace(T, "/"), D.sources[z]), Z = (D.sourcesContent || [])[z], N(V, Z, z);
2877
+ for (var Z, V, I, z = 0, M = D.sources.length; z < M; z++)
2878
+ I = null, typeof f.sourceRoot == "string" ? I = f.sourceRoot : typeof D.sourceRoot == "string" && f.sourceRoot !== !1 && (I = D.sourceRoot), I === null || I === "" ? Z = a(R, D.sources[z]) : Z = a(R, I.replace(T, "/"), D.sources[z]), V = (D.sourcesContent || [])[z], N(Z, V, z);
2879
2879
  }
2880
- function L(D, R, f, N, V) {
2881
- if (typeof N == "function" && (V = N, N = {}), D === null) {
2882
- var Z = R, I = {
2880
+ function L(D, R, f, N, Z) {
2881
+ if (typeof N == "function" && (Z = N, N = {}), D === null) {
2882
+ var V = R, I = {
2883
2883
  sourceMappingURL: null,
2884
- url: Z,
2885
- sourcesRelativeTo: Z,
2884
+ url: V,
2885
+ sourcesRelativeTo: V,
2886
2886
  map: null
2887
- }, z = o(Z);
2887
+ }, z = o(V);
2888
2888
  f(z, function(B, U) {
2889
2889
  if (B)
2890
- return B.sourceMapData = I, V(B);
2890
+ return B.sourceMapData = I, Z(B);
2891
2891
  I.map = String(U);
2892
2892
  try {
2893
2893
  I.map = s(I.map, I);
2894
2894
  } catch (Y) {
2895
- return V(Y);
2895
+ return Z(Y);
2896
2896
  }
2897
2897
  M(I);
2898
2898
  });
2899
2899
  } else
2900
2900
  p(D, R, f, function(B, U) {
2901
2901
  if (B)
2902
- return V(B);
2902
+ return Z(B);
2903
2903
  if (!U)
2904
- return V(null, null);
2904
+ return Z(null, null);
2905
2905
  M(U);
2906
2906
  });
2907
2907
  function M(B) {
2908
2908
  k(B.map, B.sourcesRelativeTo, f, N, function(U, Y) {
2909
2909
  if (U)
2910
- return V(U);
2911
- B.sourcesResolved = Y.sourcesResolved, B.sourcesContent = Y.sourcesContent, V(null, B);
2910
+ return Z(U);
2911
+ B.sourcesResolved = Y.sourcesResolved, B.sourcesContent = Y.sourcesContent, Z(null, B);
2912
2912
  });
2913
2913
  }
2914
2914
  }
2915
2915
  function E(D, R, f, N) {
2916
- var V;
2916
+ var Z;
2917
2917
  if (D === null) {
2918
- var Z = R;
2919
- V = {
2918
+ var V = R;
2919
+ Z = {
2920
2920
  sourceMappingURL: null,
2921
- url: Z,
2922
- sourcesRelativeTo: Z,
2921
+ url: V,
2922
+ sourcesRelativeTo: V,
2923
2923
  map: null
2924
- }, V.map = c(f, Z, V), V.map = s(V.map, V);
2925
- } else if (V = m(D, R, f), !V)
2924
+ }, Z.map = c(f, V, Z), Z.map = s(Z.map, Z);
2925
+ } else if (Z = m(D, R, f), !Z)
2926
2926
  return null;
2927
- var I = A(V.map, V.sourcesRelativeTo, f, N);
2928
- return V.sourcesResolved = I.sourcesResolved, V.sourcesContent = I.sourcesContent, V;
2927
+ var I = A(Z.map, Z.sourcesRelativeTo, f, N);
2928
+ return Z.sourcesResolved = I.sourcesResolved, Z.sourcesContent = I.sourcesContent, Z;
2929
2929
  }
2930
2930
  return U2 = {
2931
2931
  resolveSourceMap: p,
@@ -4142,9 +4142,9 @@ var hx = { exports: {} };
4142
4142
  }));
4143
4143
  }
4144
4144
  if (y)
4145
- for (var V = Object.getOwnPropertyNames(k), E = 0; E < V.length; E++) {
4146
- var Z = V[E], N = Object.getOwnPropertyDescriptor(k, Z);
4147
- N && N.enumerable || (T[Z] = _(k[Z], A - 1), Object.defineProperty(T, Z, {
4145
+ for (var Z = Object.getOwnPropertyNames(k), E = 0; E < Z.length; E++) {
4146
+ var V = Z[E], N = Object.getOwnPropertyDescriptor(k, V);
4147
+ N && N.enumerable || (T[V] = _(k[V], A - 1), Object.defineProperty(T, V, {
4148
4148
  enumerable: !1
4149
4149
  }));
4150
4150
  }
@@ -6462,15 +6462,15 @@ function oR() {
6462
6462
  return S[L] < 192 ? (S[L] >= 97 && S[L] <= 122 && (S[L] ^= 32), 1) : S[L] < 224 ? (S[L + 1] ^= 32, 2) : (S[L + 2] ^= 5, 3);
6463
6463
  }
6464
6464
  return vd.transformDictionaryWord = function(S, L, E, D, R) {
6465
- var f = A[R].prefix, N = A[R].suffix, V = A[R].transform, Z = V < p ? 0 : V - (p - 1), I = 0, z = L, M;
6466
- Z > D && (Z = D);
6465
+ var f = A[R].prefix, N = A[R].suffix, Z = A[R].transform, V = Z < p ? 0 : Z - (p - 1), I = 0, z = L, M;
6466
+ V > D && (V = D);
6467
6467
  for (var B = 0; B < f.length; )
6468
6468
  S[L++] = f[B++];
6469
- for (E += Z, D -= Z, V <= d && (D -= V), I = 0; I < D; I++)
6469
+ for (E += V, D -= V, Z <= d && (D -= Z), I = 0; I < D; I++)
6470
6470
  S[L++] = e.dictionary[E + I];
6471
- if (M = L - D, V === h)
6471
+ if (M = L - D, Z === h)
6472
6472
  T(S, M);
6473
- else if (V === l)
6473
+ else if (Z === l)
6474
6474
  for (; D > 0; ) {
6475
6475
  var U = T(S, M);
6476
6476
  M += U, D -= U;
@@ -6625,7 +6625,7 @@ function bx() {
6625
6625
  for (; ie < P; ie++)
6626
6626
  j[ie] = 0;
6627
6627
  }
6628
- function V(Q, P, j, G) {
6628
+ function Z(Q, P, j, G) {
6629
6629
  var ie = 0, ce, de = new Uint8Array(Q);
6630
6630
  if (G.readMoreInput(), ce = G.readBits(2), ce === 1) {
6631
6631
  for (var we, Be = Q - 1, Se = 0, Ce = new Int32Array(4), et = G.readBits(2) + 1; Be; )
@@ -6681,7 +6681,7 @@ function bx() {
6681
6681
  throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");
6682
6682
  return ie;
6683
6683
  }
6684
- function Z(Q, P, j) {
6684
+ function V(Q, P, j) {
6685
6685
  var G, ie;
6686
6686
  return G = f(Q, P, j), ie = u.kBlockLengthPrefixCode[G].nbits, u.kBlockLengthPrefixCode[G].offset + j.readBits(ie);
6687
6687
  }
@@ -6708,7 +6708,7 @@ function bx() {
6708
6708
  B.prototype.decode = function(Q) {
6709
6709
  var P, j, G = 0;
6710
6710
  for (P = 0; P < this.num_htrees; ++P)
6711
- this.htrees[P] = G, j = V(this.alphabet_size, this.codes, G, Q), G += j;
6711
+ this.htrees[P] = G, j = Z(this.alphabet_size, this.codes, G, Q), G += j;
6712
6712
  };
6713
6713
  function U(Q, P) {
6714
6714
  var j = { num_htrees: null, context_map: null }, G, ie = 0, ce, de;
@@ -6718,7 +6718,7 @@ function bx() {
6718
6718
  return j;
6719
6719
  for (G = P.readBits(1), G && (ie = P.readBits(4) + 1), ce = [], de = 0; de < C; de++)
6720
6720
  ce[de] = new a(0, 0);
6721
- for (V(we + ie, ce, 0, P), de = 0; de < Q; ) {
6721
+ for (Z(we + ie, ce, 0, P), de = 0; de < Q; ) {
6722
6722
  var Se;
6723
6723
  if (P.readMoreInput(), Se = f(ce, 0, P), Se === 0)
6724
6724
  Be[de] = 0, ++de;
@@ -6820,7 +6820,7 @@ function bx() {
6820
6820
  continue;
6821
6821
  }
6822
6822
  for (j = 0; j < 3; ++j)
6823
- ze[j] = E(Ne) + 1, ze[j] >= 2 && (V(ze[j] + 2, lt, j * C, Ne), V(p, Pe, j * C, Ne), Dt[j] = Z(Pe, j * C, Ne), ct[j] = 1);
6823
+ ze[j] = E(Ne) + 1, ze[j] >= 2 && (Z(ze[j] + 2, lt, j * C, Ne), Z(p, Pe, j * C, Ne), Dt[j] = V(Pe, j * C, Ne), ct[j] = 1);
6824
6824
  for (Ne.readMoreInput(), Tt = Ne.readBits(2), Nt = k + (Ne.readBits(4) << Tt), Kt = (1 << Tt) - 1, Qt = Nt + (48 << Tt), En = new Uint8Array(ze[0]), j = 0; j < ze[0]; ++j)
6825
6825
  Ne.readMoreInput(), En[j] = Ne.readBits(2) << 1;
6826
6826
  var At = U(ze[0] << m, Ne);
@@ -6838,7 +6838,7 @@ function bx() {
6838
6838
  Xe,
6839
6839
  ct,
6840
6840
  Ne
6841
- ), Dt[1] = Z(Pe, C, Ne), Ve = Te[1].htrees[Ft[1]]), --Dt[1], Je = f(Te[1].codes, Ve, Ne), $ = Je >> 6, $ >= 2 ? ($ -= 2, an = -1) : an = 0, ee = u.kInsertRangeLut[$] + (Je >> 3 & 7), me = u.kCopyRangeLut[$] + (Je & 7), ke = u.kInsertLengthPrefixCode[ee].offset + Ne.readBits(u.kInsertLengthPrefixCode[ee].nbits), mt = u.kCopyLengthPrefixCode[me].offset + Ne.readBits(u.kCopyLengthPrefixCode[me].nbits), rt = Ce[G - 1 & Se], be = Ce[G - 2 & Se], Ya = 0; Ya < ke; ++Ya)
6841
+ ), Dt[1] = V(Pe, C, Ne), Ve = Te[1].htrees[Ft[1]]), --Dt[1], Je = f(Te[1].codes, Ve, Ne), $ = Je >> 6, $ >= 2 ? ($ -= 2, an = -1) : an = 0, ee = u.kInsertRangeLut[$] + (Je >> 3 & 7), me = u.kCopyRangeLut[$] + (Je & 7), ke = u.kInsertLengthPrefixCode[ee].offset + Ne.readBits(u.kInsertLengthPrefixCode[ee].nbits), mt = u.kCopyLengthPrefixCode[me].offset + Ne.readBits(u.kCopyLengthPrefixCode[me].nbits), rt = Ce[G - 1 & Se], be = Ce[G - 2 & Se], Ya = 0; Ya < ke; ++Ya)
6842
6842
  Ne.readMoreInput(), Dt[0] === 0 && (Y(
6843
6843
  ze[0],
6844
6844
  lt,
@@ -6847,7 +6847,7 @@ function bx() {
6847
6847
  Xe,
6848
6848
  ct,
6849
6849
  Ne
6850
- ), Dt[0] = Z(Pe, 0, Ne), nr = Ft[0] << m, Sr = nr, De = En[Ft[0]], Ir = o.lookupOffsets[De], ia = o.lookupOffsets[De + 1]), Ci = o.lookup[Ir + rt] | o.lookup[ia + be], Xa = sn[Sr + Ci], --Dt[0], be = rt, rt = f(Te[0].codes, Te[0].htrees[Xa], Ne), Ce[G & Se] = rt, (G & Se) === Se && P.write(Ce, Be), ++G;
6850
+ ), Dt[0] = V(Pe, 0, Ne), nr = Ft[0] << m, Sr = nr, De = En[Ft[0]], Ir = o.lookupOffsets[De], ia = o.lookupOffsets[De + 1]), Ci = o.lookup[Ir + rt] | o.lookup[ia + be], Xa = sn[Sr + Ci], --Dt[0], be = rt, rt = f(Te[0].codes, Te[0].htrees[Xa], Ne), Ce[G & Se] = rt, (G & Se) === Se && P.write(Ce, Be), ++G;
6851
6851
  if (wt -= ke, wt <= 0) break;
6852
6852
  if (an < 0) {
6853
6853
  var Ci;
@@ -6859,7 +6859,7 @@ function bx() {
6859
6859
  Xe,
6860
6860
  ct,
6861
6861
  Ne
6862
- ), Dt[2] = Z(Pe, 2 * C, Ne), xi = Ft[2] << b, aa = xi), --Dt[2], Ci = (mt > 4 ? 3 : mt - 2) & 255, Ca = Kn[aa + Ci], an = f(Te[2].codes, Te[2].htrees[Ca], Ne), an >= Nt) {
6862
+ ), Dt[2] = V(Pe, 2 * C, Ne), xi = Ft[2] << b, aa = xi), --Dt[2], Ci = (mt > 4 ? 3 : mt - 2) & 255, Ca = Kn[aa + Ci], an = f(Te[2].codes, Te[2].htrees[Ca], Ne), an >= Nt) {
6863
6863
  var Gr, kc, Eo;
6864
6864
  an -= Nt, kc = an & Kt, an >>= Tt, Gr = (an >> 1) + 1, Eo = (2 + (an & 1) << Gr) - 4, an = Nt + (Eo + Ne.readBits(Gr) << Tt) + kc;
6865
6865
  }
@@ -15960,7 +15960,7 @@ class uU extends wo {
15960
15960
  for (; n.pos < a; ) {
15961
15961
  let f = n.readUInt8();
15962
15962
  if (f < 32) {
15963
- let N, V, Z, I, z, M, B, U, Y, ne, te, he, ge, $e, Q, P;
15963
+ let N, Z, V, I, z, M, B, U, Y, ne, te, he, ge, $e, Q, P;
15964
15964
  switch (f) {
15965
15965
  case 1:
15966
15966
  case 3:
@@ -15977,18 +15977,18 @@ class uU extends wo {
15977
15977
  break;
15978
15978
  case 6:
15979
15979
  case 7:
15980
- for (Z = f === 6; o.length >= 1; )
15981
- Z ? d += o.shift() : h += o.shift(), i.lineTo(d, h), Z = !Z;
15980
+ for (V = f === 6; o.length >= 1; )
15981
+ V ? d += o.shift() : h += o.shift(), i.lineTo(d, h), V = !V;
15982
15982
  break;
15983
15983
  case 8:
15984
15984
  for (; o.length > 0; )
15985
15985
  I = d + o.shift(), z = h + o.shift(), M = I + o.shift(), B = z + o.shift(), d = M + o.shift(), h = B + o.shift(), i.bezierCurveTo(I, z, M, B, d, h);
15986
15986
  break;
15987
15987
  case 10:
15988
- if (N = o.pop() + x, V = C[N], V) {
15988
+ if (N = o.pop() + x, Z = C[N], Z) {
15989
15989
  p[N] = !0;
15990
15990
  let j = n.pos, G = a;
15991
- n.pos = V.offset, a = V.offset + V.length, E(), n.pos = j, a = G;
15991
+ n.pos = Z.offset, a = Z.offset + Z.length, E(), n.pos = j, a = G;
15992
15992
  }
15993
15993
  break;
15994
15994
  case 11:
@@ -16046,16 +16046,16 @@ class uU extends wo {
16046
16046
  o.push(n.readInt16BE());
16047
16047
  break;
16048
16048
  case 29:
16049
- if (N = o.pop() + y, V = b[N], V) {
16049
+ if (N = o.pop() + y, Z = b[N], Z) {
16050
16050
  l[N] = !0;
16051
16051
  let j = n.pos, G = a;
16052
- n.pos = V.offset, a = V.offset + V.length, E(), n.pos = j, a = G;
16052
+ n.pos = Z.offset, a = Z.offset + Z.length, E(), n.pos = j, a = G;
16053
16053
  }
16054
16054
  break;
16055
16055
  case 30:
16056
16056
  case 31:
16057
- for (Z = f === 31; o.length >= 4; )
16058
- Z ? (I = d + o.shift(), z = h, M = I + o.shift(), B = z + o.shift(), h = B + o.shift(), d = M + (o.length === 1 ? o.shift() : 0)) : (I = d, z = h + o.shift(), M = I + o.shift(), B = z + o.shift(), d = M + o.shift(), h = B + (o.length === 1 ? o.shift() : 0)), i.bezierCurveTo(I, z, M, B, d, h), Z = !Z;
16057
+ for (V = f === 31; o.length >= 4; )
16058
+ V ? (I = d + o.shift(), z = h, M = I + o.shift(), B = z + o.shift(), h = B + o.shift(), d = M + (o.length === 1 ? o.shift() : 0)) : (I = d, z = h + o.shift(), M = I + o.shift(), B = z + o.shift(), d = M + o.shift(), h = B + (o.length === 1 ? o.shift() : 0)), i.bezierCurveTo(I, z, M, B, d, h), V = !V;
16059
16059
  break;
16060
16060
  case 12:
16061
16061
  switch (f = n.readUInt8(), f) {
@@ -18386,13 +18386,13 @@ const ro = ([e, t], [n, r], a) => [e + (n - e) * a, t + (r - t) * a], _p = (e, t
18386
18386
  return d;
18387
18387
  }, sC = (e, t, n, r, a, i, o, u, s) => {
18388
18388
  const { center: c, rx: d, ry: h, startAngle: l, endAngle: p } = Ap(e, t, n, r, a, i, o, u, s), m = p - l, { min: b, max: y, tan: w, atan2: C, PI: x } = Math, { x: _, y: k } = c, A = a * x / 180, T = w(A), S = C(-h * T, d), L = S, E = S + x, D = C(h, d * T), R = D + x, f = [u], N = [s];
18389
- let V = b(e, u), Z = y(e, u), I = b(t, s), z = y(t, s);
18389
+ let Z = b(e, u), V = y(e, u), I = b(t, s), z = y(t, s);
18390
18390
  const M = p - m * 1e-5, B = Dl(_, k, d, h, A, M), U = p - m * 0.99999, Y = Dl(_, k, d, h, A, U);
18391
- if (B[0] > Z || Y[0] > Z) {
18391
+ if (B[0] > V || Y[0] > V) {
18392
18392
  const ne = Dl(_, k, d, h, A, L);
18393
18393
  f.push(ne[0]), N.push(ne[1]);
18394
18394
  }
18395
- if (B[0] < V || Y[0] < V) {
18395
+ if (B[0] < Z || Y[0] < Z) {
18396
18396
  const ne = Dl(_, k, d, h, A, E);
18397
18397
  f.push(ne[0]), N.push(ne[1]);
18398
18398
  }
@@ -18404,10 +18404,10 @@ const ro = ([e, t], [n, r], a) => [e + (n - e) * a, t + (r - t) * a], _p = (e, t
18404
18404
  const ne = Dl(_, k, d, h, A, D);
18405
18405
  f.push(ne[0]), N.push(ne[1]);
18406
18406
  }
18407
- return V = b.apply([], f), I = b.apply([], N), Z = y.apply([], f), z = y.apply([], N), [
18408
- V,
18409
- I,
18407
+ return Z = b.apply([], f), I = b.apply([], N), V = y.apply([], f), z = y.apply([], N), [
18410
18408
  Z,
18409
+ I,
18410
+ V,
18411
18411
  z
18412
18412
  ];
18413
18413
  }, uZ = {
@@ -18869,8 +18869,8 @@ const Pa = (e) => {
18869
18869
  ]);
18870
18870
  }
18871
18871
  S = k - _;
18872
- const L = Math.cos(_), E = Math.sin(_), D = Math.cos(k), R = Math.sin(k), f = Math.tan(S / 4), N = 4 / 3 * l * f, V = 4 / 3 * p * f, Z = [d, h], I = [d + N * E, h - V * L], z = [m + N * R, b - V * D], M = [m, b];
18873
- if (I[0] = 2 * Z[0] - I[0], I[1] = 2 * Z[1] - I[1], c) return [
18872
+ const L = Math.cos(_), E = Math.sin(_), D = Math.cos(k), R = Math.sin(k), f = Math.tan(S / 4), N = 4 / 3 * l * f, Z = 4 / 3 * p * f, V = [d, h], I = [d + N * E, h - Z * L], z = [m + N * R, b - Z * D], M = [m, b];
18873
+ if (I[0] = 2 * V[0] - I[0], I[1] = 2 * V[1] - I[1], c) return [
18874
18874
  I[0],
18875
18875
  I[1],
18876
18876
  z[0],
@@ -19011,7 +19011,7 @@ const Pa = (e) => {
19011
19011
  let u = 1 / 0, s = 1 / 0, c = -1 / 0, d = -1 / 0, h = 0, l = 0, p = 0, m = 0, b = 0, y = 0, w = 0, C = 0, x = null, _ = null;
19012
19012
  xa(t, (T, S, L, E) => {
19013
19013
  [n] = T;
19014
- const D = n.charCodeAt(0), R = D >= 97, f = R ? String.fromCharCode(D - 32) : n, N = R ? K0(T, S, L, E) : T, V = f === "V" ? [
19014
+ const D = n.charCodeAt(0), R = D >= 97, f = R ? String.fromCharCode(D - 32) : n, N = R ? K0(T, S, L, E) : T, Z = f === "V" ? [
19015
19015
  "L",
19016
19016
  L,
19017
19017
  N[1]
@@ -19020,21 +19020,21 @@ const Pa = (e) => {
19020
19020
  N[1],
19021
19021
  E
19022
19022
  ] : N;
19023
- if ([n] = V, f !== "T" && f !== "Q" && (x = null, _ = null), n === "M")
19024
- [, r, a] = V, h = r, l = a, p = r, m = a;
19025
- else if (n === "L") [h, l, p, m] = bv(L, E, V[1], V[2]);
19026
- else if (n === "A") [h, l, p, m] = sC(L, E, V[1], V[2], V[3], V[4], V[5], V[6], V[7]);
19023
+ if ([n] = Z, f !== "T" && f !== "Q" && (x = null, _ = null), n === "M")
19024
+ [, r, a] = Z, h = r, l = a, p = r, m = a;
19025
+ else if (n === "L") [h, l, p, m] = bv(L, E, Z[1], Z[2]);
19026
+ else if (n === "A") [h, l, p, m] = sC(L, E, Z[1], Z[2], Z[3], Z[4], Z[5], Z[6], Z[7]);
19027
19027
  else if (n === "S") {
19028
- const Z = b * 2 - w, I = y * 2 - C;
19029
- [h, l, p, m] = p0(L, E, Z, I, V[1], V[2], V[3], V[4]);
19030
- } else n === "C" ? [h, l, p, m] = p0(L, E, V[1], V[2], V[3], V[4], V[5], V[6]) : n === "T" ? (x = x === null ? L : b * 2 - x, _ = _ === null ? E : y * 2 - _, [h, l, p, m] = xv(L, E, x, _, V[1], V[2])) : n === "Q" ? (x = V[1], _ = V[2], [h, l, p, m] = xv(L, E, V[1], V[2], V[3], V[4])) : n === "Z" && ([h, l, p, m] = bv(L, E, r, a));
19028
+ const V = b * 2 - w, I = y * 2 - C;
19029
+ [h, l, p, m] = p0(L, E, V, I, Z[1], Z[2], Z[3], Z[4]);
19030
+ } else n === "C" ? [h, l, p, m] = p0(L, E, Z[1], Z[2], Z[3], Z[4], Z[5], Z[6]) : n === "T" ? (x = x === null ? L : b * 2 - x, _ = _ === null ? E : y * 2 - _, [h, l, p, m] = xv(L, E, x, _, Z[1], Z[2])) : n === "Q" ? (x = Z[1], _ = Z[2], [h, l, p, m] = xv(L, E, Z[1], Z[2], Z[3], Z[4])) : n === "Z" && ([h, l, p, m] = bv(L, E, r, a));
19031
19031
  if (u = o(h, u), s = o(l, s), c = i(p, c), d = i(m, d), n === "Z")
19032
19032
  b = r, y = a;
19033
19033
  else {
19034
- const Z = V.length;
19035
- b = V[Z - 2], y = V[Z - 1];
19034
+ const V = Z.length;
19035
+ b = Z[V - 2], y = Z[V - 1];
19036
19036
  }
19037
- n === "C" ? (w = V[3], C = V[4]) : n === "S" ? (w = V[1], C = V[2]) : (w = b, C = y);
19037
+ n === "C" ? (w = Z[3], C = Z[4]) : n === "S" ? (w = Z[1], C = Z[2]) : (w = b, C = y);
19038
19038
  });
19039
19039
  const k = c - u, A = d - s;
19040
19040
  return {
@@ -19619,10 +19619,10 @@ const $3 = (e) => e[e.length - 1][0].toUpperCase() === "Z", kC = (e, t, n, r) =>
19619
19619
  const E = _[6] + (T ? m : 0), D = _[7] + (T ? b : 0), R = J0(m, b, _[1], _[2], _[3], _[4], _[5], E, D), f = R.length;
19620
19620
  let N = 0;
19621
19621
  if (f > 0) do {
19622
- const V = ["C"], Z = N + 6;
19623
- for (let I = N; I < Z; I += 2)
19624
- l = t * R[I] + r * R[I + 1] + i - u + u, p = n * R[I] + a * R[I + 1] + o - s + s, V.push(l, p);
19625
- c.push(V), N = Z;
19622
+ const Z = ["C"], V = N + 6;
19623
+ for (let I = N; I < V; I += 2)
19624
+ l = t * R[I] + r * R[I + 1] + i - u + u, p = n * R[I] + a * R[I + 1] + o - s + s, Z.push(l, p);
19625
+ c.push(Z), N = V;
19626
19626
  } while (N < f);
19627
19627
  else c.push(["C"]);
19628
19628
  f > 0 ? (m = R[f - 2], b = R[f - 1]) : (m = E, b = D), d = l, h = p;
@@ -20921,28 +20921,28 @@ var PC = { exports: {} };
20921
20921
  }
20922
20922
  function E(f, N) {
20923
20923
  N === void 0 && (N = 0);
20924
- var V = f.charCodeAt(N);
20925
- if (55296 <= V && V <= 56319 && N < f.length - 1) {
20926
- var Z = V, I = f.charCodeAt(N + 1);
20927
- return 56320 <= I && I <= 57343 ? (Z - 55296) * 1024 + (I - 56320) + 65536 : Z;
20924
+ var Z = f.charCodeAt(N);
20925
+ if (55296 <= Z && Z <= 56319 && N < f.length - 1) {
20926
+ var V = Z, I = f.charCodeAt(N + 1);
20927
+ return 56320 <= I && I <= 57343 ? (V - 55296) * 1024 + (I - 56320) + 65536 : V;
20928
20928
  }
20929
- if (56320 <= V && V <= 57343 && N >= 1) {
20930
- var Z = f.charCodeAt(N - 1), I = V;
20931
- return 55296 <= Z && Z <= 56319 ? (Z - 55296) * 1024 + (I - 56320) + 65536 : I;
20929
+ if (56320 <= Z && Z <= 57343 && N >= 1) {
20930
+ var V = f.charCodeAt(N - 1), I = Z;
20931
+ return 55296 <= V && V <= 56319 ? (V - 55296) * 1024 + (I - 56320) + 65536 : I;
20932
20932
  }
20933
- return V;
20933
+ return Z;
20934
20934
  }
20935
- function D(f, N, V) {
20936
- var Z = [f].concat(N).concat([V]), I = Z[Z.length - 2], z = V, M = Z.lastIndexOf(y);
20937
- if (M > 1 && Z.slice(1, M).every(function(Y) {
20935
+ function D(f, N, Z) {
20936
+ var V = [f].concat(N).concat([Z]), I = V[V.length - 2], z = Z, M = V.lastIndexOf(y);
20937
+ if (M > 1 && V.slice(1, M).every(function(Y) {
20938
20938
  return Y == i;
20939
20939
  }) && [i, b, x].indexOf(f) == -1)
20940
20940
  return A;
20941
- var B = Z.lastIndexOf(o);
20942
- if (B > 0 && Z.slice(1, B).every(function(Y) {
20941
+ var B = V.lastIndexOf(o);
20942
+ if (B > 0 && V.slice(1, B).every(function(Y) {
20943
20943
  return Y == o;
20944
20944
  }) && [m, o].indexOf(I) == -1)
20945
- return Z.filter(function(Y) {
20945
+ return V.filter(function(Y) {
20946
20946
  return Y == o;
20947
20947
  }).length % 2 == 1 ? T : S;
20948
20948
  if (I == n && z == r)
@@ -20965,8 +20965,8 @@ var PC = { exports: {} };
20965
20965
  return _;
20966
20966
  if (I == m)
20967
20967
  return _;
20968
- var U = Z.indexOf(i) != -1 ? Z.lastIndexOf(i) - 1 : Z.length - 2;
20969
- return [b, x].indexOf(Z[U]) != -1 && Z.slice(U + 1, -1).every(function(Y) {
20968
+ var U = V.indexOf(i) != -1 ? V.lastIndexOf(i) - 1 : V.length - 2;
20969
+ return [b, x].indexOf(V[U]) != -1 && V.slice(U + 1, -1).every(function(Y) {
20970
20970
  return Y == i;
20971
20971
  }) && z == y || I == w && [C, x].indexOf(z) != -1 ? _ : N.indexOf(o) != -1 ? A : I == o && z == o ? _ : k;
20972
20972
  }
@@ -20975,32 +20975,32 @@ var PC = { exports: {} };
20975
20975
  return 0;
20976
20976
  if (N >= f.length - 1)
20977
20977
  return f.length;
20978
- for (var V = R(E(f, N)), Z = [], I = N + 1; I < f.length; I++)
20978
+ for (var Z = R(E(f, N)), V = [], I = N + 1; I < f.length; I++)
20979
20979
  if (!L(f, I - 1)) {
20980
20980
  var z = R(E(f, I));
20981
- if (D(V, Z, z))
20981
+ if (D(Z, V, z))
20982
20982
  return I;
20983
- Z.push(z);
20983
+ V.push(z);
20984
20984
  }
20985
20985
  return f.length;
20986
20986
  }, this.splitGraphemes = function(f) {
20987
- for (var N = [], V = 0, Z; (Z = this.nextBreak(f, V)) < f.length; )
20988
- N.push(f.slice(V, Z)), V = Z;
20989
- return V < f.length && N.push(f.slice(V)), N;
20987
+ for (var N = [], Z = 0, V; (V = this.nextBreak(f, Z)) < f.length; )
20988
+ N.push(f.slice(Z, V)), Z = V;
20989
+ return Z < f.length && N.push(f.slice(Z)), N;
20990
20990
  }, this.iterateGraphemes = function(f) {
20991
- var N = 0, V = {
20991
+ var N = 0, Z = {
20992
20992
  next: (function() {
20993
- var Z, I;
20994
- return (I = this.nextBreak(f, N)) < f.length ? (Z = f.slice(N, I), N = I, { value: Z, done: !1 }) : N < f.length ? (Z = f.slice(N), N = f.length, { value: Z, done: !1 }) : { value: void 0, done: !0 };
20993
+ var V, I;
20994
+ return (I = this.nextBreak(f, N)) < f.length ? (V = f.slice(N, I), N = I, { value: V, done: !1 }) : N < f.length ? (V = f.slice(N), N = f.length, { value: V, done: !1 }) : { value: void 0, done: !0 };
20995
20995
  }).bind(this)
20996
20996
  };
20997
- return typeof Symbol < "u" && Symbol.iterator && (V[Symbol.iterator] = function() {
20998
- return V;
20999
- }), V;
20997
+ return typeof Symbol < "u" && Symbol.iterator && (Z[Symbol.iterator] = function() {
20998
+ return Z;
20999
+ }), Z;
21000
21000
  }, this.countGraphemes = function(f) {
21001
- for (var N = 0, V = 0, Z; (Z = this.nextBreak(f, V)) < f.length; )
21002
- V = Z, N++;
21003
- return V < f.length && N++, N;
21001
+ for (var N = 0, Z = 0, V; (V = this.nextBreak(f, Z)) < f.length; )
21002
+ Z = V, N++;
21003
+ return Z < f.length && N++, N;
21004
21004
  };
21005
21005
  function R(f) {
21006
21006
  return 1536 <= f && f <= 1541 || // Cf [6] ARABIC NUMBER SIGN..ARABIC NUMBER MARK ABOVE
@@ -22470,12 +22470,12 @@ var $C = { exports: {} };
22470
22470
  }, _array: function(E, N) {
22471
22471
  N = N !== void 0 ? N : A.unorderedArrays !== !1;
22472
22472
  var R = this;
22473
- if (L("array:" + E.length + ":"), !N || E.length <= 1) return E.forEach(function(V) {
22474
- return R.dispatch(V);
22473
+ if (L("array:" + E.length + ":"), !N || E.length <= 1) return E.forEach(function(Z) {
22474
+ return R.dispatch(Z);
22475
22475
  });
22476
- var f = [], N = E.map(function(V) {
22477
- var Z = new k(), I = S.slice();
22478
- return _(A, Z, I).dispatch(V), f = f.concat(I.slice(S.length)), Z.read().toString();
22476
+ var f = [], N = E.map(function(Z) {
22477
+ var V = new k(), I = S.slice();
22478
+ return _(A, V, I).dispatch(Z), f = f.concat(I.slice(S.length)), V.read().toString();
22479
22479
  });
22480
22480
  return S = S.concat(f), N.sort(), this._array(N, !1);
22481
22481
  }, _date: function(E) {
@@ -22598,23 +22598,23 @@ Use "options.replacer" or "options.ignoreUnknown"
22598
22598
  var L, E;
22599
22599
  if (0 < S.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
22600
22600
  var D = S.length, D = S.charAt(D - 2) === "=" ? 2 : S.charAt(D - 1) === "=" ? 1 : 0, R = new b(3 * S.length / 4 - D), f = 0 < D ? S.length - 4 : S.length, N = 0;
22601
- function V(Z) {
22602
- R[N++] = Z;
22601
+ function Z(V) {
22602
+ R[N++] = V;
22603
22603
  }
22604
- for (L = 0; L < f; L += 4, 0) V((16711680 & (E = T(S.charAt(L)) << 18 | T(S.charAt(L + 1)) << 12 | T(S.charAt(L + 2)) << 6 | T(S.charAt(L + 3)))) >> 16), V((65280 & E) >> 8), V(255 & E);
22605
- return D == 2 ? V(255 & (E = T(S.charAt(L)) << 2 | T(S.charAt(L + 1)) >> 4)) : D == 1 && (V((E = T(S.charAt(L)) << 10 | T(S.charAt(L + 1)) << 4 | T(S.charAt(L + 2)) >> 2) >> 8 & 255), V(255 & E)), R;
22604
+ for (L = 0; L < f; L += 4, 0) Z((16711680 & (E = T(S.charAt(L)) << 18 | T(S.charAt(L + 1)) << 12 | T(S.charAt(L + 2)) << 6 | T(S.charAt(L + 3)))) >> 16), Z((65280 & E) >> 8), Z(255 & E);
22605
+ return D == 2 ? Z(255 & (E = T(S.charAt(L)) << 2 | T(S.charAt(L + 1)) >> 4)) : D == 1 && (Z((E = T(S.charAt(L)) << 10 | T(S.charAt(L + 1)) << 4 | T(S.charAt(L + 2)) >> 2) >> 8 & 255), Z(255 & E)), R;
22606
22606
  }, m.fromByteArray = function(S) {
22607
22607
  var L, E, D, R, f = S.length % 3, N = "";
22608
- function V(Z) {
22609
- return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z);
22608
+ function Z(V) {
22609
+ return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(V);
22610
22610
  }
22611
- for (L = 0, D = S.length - f; L < D; L += 3) E = (S[L] << 16) + (S[L + 1] << 8) + S[L + 2], N += V((R = E) >> 18 & 63) + V(R >> 12 & 63) + V(R >> 6 & 63) + V(63 & R);
22611
+ for (L = 0, D = S.length - f; L < D; L += 3) E = (S[L] << 16) + (S[L + 1] << 8) + S[L + 2], N += Z((R = E) >> 18 & 63) + Z(R >> 12 & 63) + Z(R >> 6 & 63) + Z(63 & R);
22612
22612
  switch (f) {
22613
22613
  case 1:
22614
- N = (N += V((E = S[S.length - 1]) >> 2)) + V(E << 4 & 63) + "==";
22614
+ N = (N += Z((E = S[S.length - 1]) >> 2)) + Z(E << 4 & 63) + "==";
22615
22615
  break;
22616
22616
  case 2:
22617
- N = (N = (N += V((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + V(E >> 4 & 63)) + V(E << 2 & 63) + "=";
22617
+ N = (N = (N += Z((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + Z(E >> 4 & 63)) + Z(E << 2 & 63) + "=";
22618
22618
  }
22619
22619
  return N;
22620
22620
  };
@@ -22694,7 +22694,7 @@ Use "options.replacer" or "options.ignoreUnknown"
22694
22694
  function N(P, j, G, ie, ce) {
22695
22695
  ce || (Q(j != null, "missing value"), Q(typeof ie == "boolean", "missing or invalid endian"), Q(G != null, "missing offset"), Q(G + 3 < P.length, "Trying to write beyond buffer length"), $e(j, 34028234663852886e22, -34028234663852886e22)), P.length <= G || b.write(P, j, G, ie, 23, 4);
22696
22696
  }
22697
- function V(P, j, G, ie, ce) {
22697
+ function Z(P, j, G, ie, ce) {
22698
22698
  ce || (Q(j != null, "missing value"), Q(typeof ie == "boolean", "missing or invalid endian"), Q(G != null, "missing offset"), Q(G + 7 < P.length, "Trying to write beyond buffer length"), $e(j, 17976931348623157e292, -17976931348623157e292)), P.length <= G || b.write(P, j, G, ie, 52, 8);
22699
22699
  }
22700
22700
  a.Buffer = y, a.SlowBuffer = y, a.INSPECT_MAX_BYTES = 50, y.poolSize = 8192, y._useTypedArrays = function() {
@@ -22912,9 +22912,9 @@ list should be an Array.`), P.length === 0) return new y(0);
22912
22912
  }, y.prototype.writeFloatBE = function(P, j, G) {
22913
22913
  N(this, P, j, !1, G);
22914
22914
  }, y.prototype.writeDoubleLE = function(P, j, G) {
22915
- V(this, P, j, !0, G);
22915
+ Z(this, P, j, !0, G);
22916
22916
  }, y.prototype.writeDoubleBE = function(P, j, G) {
22917
- V(this, P, j, !1, G);
22917
+ Z(this, P, j, !1, G);
22918
22918
  }, y.prototype.fill = function(P, j, G) {
22919
22919
  if (j = j || 0, G = G || this.length, Q(typeof (P = typeof (P = P || 0) == "string" ? P.charCodeAt(0) : P) == "number" && !isNaN(P), "value is not a number"), Q(j <= G, "end < start"), G !== j && this.length !== 0) {
22920
22920
  Q(0 <= j && j < this.length, "start out of bounds"), Q(0 <= G && G <= this.length, "end out of bounds");
@@ -22932,7 +22932,7 @@ list should be an Array.`), P.length === 0) return new y(0);
22932
22932
  for (var P = new Uint8Array(this.length), j = 0, G = P.length; j < G; j += 1) P[j] = this[j];
22933
22933
  return P.buffer;
22934
22934
  };
22935
- var Z = y.prototype;
22935
+ var V = y.prototype;
22936
22936
  function I(P, j, G) {
22937
22937
  return typeof P != "number" ? G : j <= (P = ~~P) ? j : 0 <= P || 0 <= (P += j) ? P : 0;
22938
22938
  }
@@ -22982,7 +22982,7 @@ list should be an Array.`), P.length === 0) return new y(0);
22982
22982
  if (!P) throw new Error(j || "Failed assertion");
22983
22983
  }
22984
22984
  y._augment = function(P) {
22985
- return P._isBuffer = !0, P._get = P.get, P._set = P.set, P.get = Z.get, P.set = Z.set, P.write = Z.write, P.toString = Z.toString, P.toLocaleString = Z.toString, P.toJSON = Z.toJSON, P.copy = Z.copy, P.slice = Z.slice, P.readUInt8 = Z.readUInt8, P.readUInt16LE = Z.readUInt16LE, P.readUInt16BE = Z.readUInt16BE, P.readUInt32LE = Z.readUInt32LE, P.readUInt32BE = Z.readUInt32BE, P.readInt8 = Z.readInt8, P.readInt16LE = Z.readInt16LE, P.readInt16BE = Z.readInt16BE, P.readInt32LE = Z.readInt32LE, P.readInt32BE = Z.readInt32BE, P.readFloatLE = Z.readFloatLE, P.readFloatBE = Z.readFloatBE, P.readDoubleLE = Z.readDoubleLE, P.readDoubleBE = Z.readDoubleBE, P.writeUInt8 = Z.writeUInt8, P.writeUInt16LE = Z.writeUInt16LE, P.writeUInt16BE = Z.writeUInt16BE, P.writeUInt32LE = Z.writeUInt32LE, P.writeUInt32BE = Z.writeUInt32BE, P.writeInt8 = Z.writeInt8, P.writeInt16LE = Z.writeInt16LE, P.writeInt16BE = Z.writeInt16BE, P.writeInt32LE = Z.writeInt32LE, P.writeInt32BE = Z.writeInt32BE, P.writeFloatLE = Z.writeFloatLE, P.writeFloatBE = Z.writeFloatBE, P.writeDoubleLE = Z.writeDoubleLE, P.writeDoubleBE = Z.writeDoubleBE, P.fill = Z.fill, P.inspect = Z.inspect, P.toArrayBuffer = Z.toArrayBuffer, P;
22985
+ return P._isBuffer = !0, P._get = P.get, P._set = P.set, P.get = V.get, P.set = V.set, P.write = V.write, P.toString = V.toString, P.toLocaleString = V.toString, P.toJSON = V.toJSON, P.copy = V.copy, P.slice = V.slice, P.readUInt8 = V.readUInt8, P.readUInt16LE = V.readUInt16LE, P.readUInt16BE = V.readUInt16BE, P.readUInt32LE = V.readUInt32LE, P.readUInt32BE = V.readUInt32BE, P.readInt8 = V.readInt8, P.readInt16LE = V.readInt16LE, P.readInt16BE = V.readInt16BE, P.readInt32LE = V.readInt32LE, P.readInt32BE = V.readInt32BE, P.readFloatLE = V.readFloatLE, P.readFloatBE = V.readFloatBE, P.readDoubleLE = V.readDoubleLE, P.readDoubleBE = V.readDoubleBE, P.writeUInt8 = V.writeUInt8, P.writeUInt16LE = V.writeUInt16LE, P.writeUInt16BE = V.writeUInt16BE, P.writeUInt32LE = V.writeUInt32LE, P.writeUInt32BE = V.writeUInt32BE, P.writeInt8 = V.writeInt8, P.writeInt16LE = V.writeInt16LE, P.writeInt16BE = V.writeInt16BE, P.writeInt32LE = V.writeInt32LE, P.writeInt32BE = V.writeInt32BE, P.writeFloatLE = V.writeFloatLE, P.writeFloatBE = V.writeFloatBE, P.writeDoubleLE = V.writeDoubleLE, P.writeDoubleBE = V.writeDoubleBE, P.fill = V.fill, P.inspect = V.inspect, P.toArrayBuffer = V.toArrayBuffer, P;
22986
22986
  };
22987
22987
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
22988
22988
  }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(n, r, a) {
@@ -22991,7 +22991,7 @@ list should be an Array.`), P.length === 0) return new y(0);
22991
22991
  y.fill(0), r.exports = { hash: function(w, C, x, _) {
22992
22992
  for (var k = C(function(E, D) {
22993
22993
  E.length % b != 0 && (R = E.length + (b - E.length % b), E = m.concat([E, y], R));
22994
- for (var R, f = [], N = D ? E.readInt32BE : E.readInt32LE, V = 0; V < E.length; V += b) f.push(N.call(E, V));
22994
+ for (var R, f = [], N = D ? E.readInt32BE : E.readInt32LE, Z = 0; Z < E.length; Z += b) f.push(N.call(E, Z));
22995
22995
  return f;
22996
22996
  }(w = m.isBuffer(w) ? w : new m(w), _), 8 * w.length), C = _, A = new m(x), T = C ? A.writeInt32BE : A.writeInt32LE, S = 0; S < k.length; S++) T.call(A, k[S], 4 * S, !0);
22997
22997
  return A;
@@ -23005,12 +23005,12 @@ list should be an Array.`), P.length === 0) return new y(0);
23005
23005
  return R || A("algorithm:", E, "is not yet supported"), { update: function(N) {
23006
23006
  return m.isBuffer(N) || (N = new m(N)), f.push(N), N.length, this;
23007
23007
  }, digest: function(N) {
23008
- var V = m.concat(f), V = D ? function(Z, I, z) {
23009
- m.isBuffer(I) || (I = new m(I)), m.isBuffer(z) || (z = new m(z)), I.length > x ? I = Z(I) : I.length < x && (I = m.concat([I, _], x));
23008
+ var Z = m.concat(f), Z = D ? function(V, I, z) {
23009
+ m.isBuffer(I) || (I = new m(I)), m.isBuffer(z) || (z = new m(z)), I.length > x ? I = V(I) : I.length < x && (I = m.concat([I, _], x));
23010
23010
  for (var M = new m(x), B = new m(x), U = 0; U < x; U++) M[U] = 54 ^ I[U], B[U] = 92 ^ I[U];
23011
- return z = Z(m.concat([M, z])), Z(m.concat([B, z]));
23012
- }(R, D, V) : R(V);
23013
- return f = null, N ? V.toString(N) : V;
23011
+ return z = V(m.concat([M, z])), V(m.concat([B, z]));
23012
+ }(R, D, Z) : R(Z);
23013
+ return f = null, N ? Z.toString(N) : Z;
23014
23014
  } };
23015
23015
  }
23016
23016
  function A() {
@@ -23041,8 +23041,8 @@ list should be an Array.`), P.length === 0) return new y(0);
23041
23041
  function b(A, T) {
23042
23042
  A[T >> 5] |= 128 << T % 32, A[14 + (T + 64 >>> 9 << 4)] = T;
23043
23043
  for (var S = 1732584193, L = -271733879, E = -1732584194, D = 271733878, R = 0; R < A.length; R += 16) {
23044
- var f = S, N = L, V = E, Z = D, S = w(S, L, E, D, A[R + 0], 7, -680876936), D = w(D, S, L, E, A[R + 1], 12, -389564586), E = w(E, D, S, L, A[R + 2], 17, 606105819), L = w(L, E, D, S, A[R + 3], 22, -1044525330);
23045
- S = w(S, L, E, D, A[R + 4], 7, -176418897), D = w(D, S, L, E, A[R + 5], 12, 1200080426), E = w(E, D, S, L, A[R + 6], 17, -1473231341), L = w(L, E, D, S, A[R + 7], 22, -45705983), S = w(S, L, E, D, A[R + 8], 7, 1770035416), D = w(D, S, L, E, A[R + 9], 12, -1958414417), E = w(E, D, S, L, A[R + 10], 17, -42063), L = w(L, E, D, S, A[R + 11], 22, -1990404162), S = w(S, L, E, D, A[R + 12], 7, 1804603682), D = w(D, S, L, E, A[R + 13], 12, -40341101), E = w(E, D, S, L, A[R + 14], 17, -1502002290), S = C(S, L = w(L, E, D, S, A[R + 15], 22, 1236535329), E, D, A[R + 1], 5, -165796510), D = C(D, S, L, E, A[R + 6], 9, -1069501632), E = C(E, D, S, L, A[R + 11], 14, 643717713), L = C(L, E, D, S, A[R + 0], 20, -373897302), S = C(S, L, E, D, A[R + 5], 5, -701558691), D = C(D, S, L, E, A[R + 10], 9, 38016083), E = C(E, D, S, L, A[R + 15], 14, -660478335), L = C(L, E, D, S, A[R + 4], 20, -405537848), S = C(S, L, E, D, A[R + 9], 5, 568446438), D = C(D, S, L, E, A[R + 14], 9, -1019803690), E = C(E, D, S, L, A[R + 3], 14, -187363961), L = C(L, E, D, S, A[R + 8], 20, 1163531501), S = C(S, L, E, D, A[R + 13], 5, -1444681467), D = C(D, S, L, E, A[R + 2], 9, -51403784), E = C(E, D, S, L, A[R + 7], 14, 1735328473), S = x(S, L = C(L, E, D, S, A[R + 12], 20, -1926607734), E, D, A[R + 5], 4, -378558), D = x(D, S, L, E, A[R + 8], 11, -2022574463), E = x(E, D, S, L, A[R + 11], 16, 1839030562), L = x(L, E, D, S, A[R + 14], 23, -35309556), S = x(S, L, E, D, A[R + 1], 4, -1530992060), D = x(D, S, L, E, A[R + 4], 11, 1272893353), E = x(E, D, S, L, A[R + 7], 16, -155497632), L = x(L, E, D, S, A[R + 10], 23, -1094730640), S = x(S, L, E, D, A[R + 13], 4, 681279174), D = x(D, S, L, E, A[R + 0], 11, -358537222), E = x(E, D, S, L, A[R + 3], 16, -722521979), L = x(L, E, D, S, A[R + 6], 23, 76029189), S = x(S, L, E, D, A[R + 9], 4, -640364487), D = x(D, S, L, E, A[R + 12], 11, -421815835), E = x(E, D, S, L, A[R + 15], 16, 530742520), S = _(S, L = x(L, E, D, S, A[R + 2], 23, -995338651), E, D, A[R + 0], 6, -198630844), D = _(D, S, L, E, A[R + 7], 10, 1126891415), E = _(E, D, S, L, A[R + 14], 15, -1416354905), L = _(L, E, D, S, A[R + 5], 21, -57434055), S = _(S, L, E, D, A[R + 12], 6, 1700485571), D = _(D, S, L, E, A[R + 3], 10, -1894986606), E = _(E, D, S, L, A[R + 10], 15, -1051523), L = _(L, E, D, S, A[R + 1], 21, -2054922799), S = _(S, L, E, D, A[R + 8], 6, 1873313359), D = _(D, S, L, E, A[R + 15], 10, -30611744), E = _(E, D, S, L, A[R + 6], 15, -1560198380), L = _(L, E, D, S, A[R + 13], 21, 1309151649), S = _(S, L, E, D, A[R + 4], 6, -145523070), D = _(D, S, L, E, A[R + 11], 10, -1120210379), E = _(E, D, S, L, A[R + 2], 15, 718787259), L = _(L, E, D, S, A[R + 9], 21, -343485551), S = k(S, f), L = k(L, N), E = k(E, V), D = k(D, Z);
23044
+ var f = S, N = L, Z = E, V = D, S = w(S, L, E, D, A[R + 0], 7, -680876936), D = w(D, S, L, E, A[R + 1], 12, -389564586), E = w(E, D, S, L, A[R + 2], 17, 606105819), L = w(L, E, D, S, A[R + 3], 22, -1044525330);
23045
+ S = w(S, L, E, D, A[R + 4], 7, -176418897), D = w(D, S, L, E, A[R + 5], 12, 1200080426), E = w(E, D, S, L, A[R + 6], 17, -1473231341), L = w(L, E, D, S, A[R + 7], 22, -45705983), S = w(S, L, E, D, A[R + 8], 7, 1770035416), D = w(D, S, L, E, A[R + 9], 12, -1958414417), E = w(E, D, S, L, A[R + 10], 17, -42063), L = w(L, E, D, S, A[R + 11], 22, -1990404162), S = w(S, L, E, D, A[R + 12], 7, 1804603682), D = w(D, S, L, E, A[R + 13], 12, -40341101), E = w(E, D, S, L, A[R + 14], 17, -1502002290), S = C(S, L = w(L, E, D, S, A[R + 15], 22, 1236535329), E, D, A[R + 1], 5, -165796510), D = C(D, S, L, E, A[R + 6], 9, -1069501632), E = C(E, D, S, L, A[R + 11], 14, 643717713), L = C(L, E, D, S, A[R + 0], 20, -373897302), S = C(S, L, E, D, A[R + 5], 5, -701558691), D = C(D, S, L, E, A[R + 10], 9, 38016083), E = C(E, D, S, L, A[R + 15], 14, -660478335), L = C(L, E, D, S, A[R + 4], 20, -405537848), S = C(S, L, E, D, A[R + 9], 5, 568446438), D = C(D, S, L, E, A[R + 14], 9, -1019803690), E = C(E, D, S, L, A[R + 3], 14, -187363961), L = C(L, E, D, S, A[R + 8], 20, 1163531501), S = C(S, L, E, D, A[R + 13], 5, -1444681467), D = C(D, S, L, E, A[R + 2], 9, -51403784), E = C(E, D, S, L, A[R + 7], 14, 1735328473), S = x(S, L = C(L, E, D, S, A[R + 12], 20, -1926607734), E, D, A[R + 5], 4, -378558), D = x(D, S, L, E, A[R + 8], 11, -2022574463), E = x(E, D, S, L, A[R + 11], 16, 1839030562), L = x(L, E, D, S, A[R + 14], 23, -35309556), S = x(S, L, E, D, A[R + 1], 4, -1530992060), D = x(D, S, L, E, A[R + 4], 11, 1272893353), E = x(E, D, S, L, A[R + 7], 16, -155497632), L = x(L, E, D, S, A[R + 10], 23, -1094730640), S = x(S, L, E, D, A[R + 13], 4, 681279174), D = x(D, S, L, E, A[R + 0], 11, -358537222), E = x(E, D, S, L, A[R + 3], 16, -722521979), L = x(L, E, D, S, A[R + 6], 23, 76029189), S = x(S, L, E, D, A[R + 9], 4, -640364487), D = x(D, S, L, E, A[R + 12], 11, -421815835), E = x(E, D, S, L, A[R + 15], 16, 530742520), S = _(S, L = x(L, E, D, S, A[R + 2], 23, -995338651), E, D, A[R + 0], 6, -198630844), D = _(D, S, L, E, A[R + 7], 10, 1126891415), E = _(E, D, S, L, A[R + 14], 15, -1416354905), L = _(L, E, D, S, A[R + 5], 21, -57434055), S = _(S, L, E, D, A[R + 12], 6, 1700485571), D = _(D, S, L, E, A[R + 3], 10, -1894986606), E = _(E, D, S, L, A[R + 10], 15, -1051523), L = _(L, E, D, S, A[R + 1], 21, -2054922799), S = _(S, L, E, D, A[R + 8], 6, 1873313359), D = _(D, S, L, E, A[R + 15], 10, -30611744), E = _(E, D, S, L, A[R + 6], 15, -1560198380), L = _(L, E, D, S, A[R + 13], 21, 1309151649), S = _(S, L, E, D, A[R + 4], 6, -145523070), D = _(D, S, L, E, A[R + 11], 10, -1120210379), E = _(E, D, S, L, A[R + 2], 15, 718787259), L = _(L, E, D, S, A[R + 9], 21, -343485551), S = k(S, f), L = k(L, N), E = k(E, Z), D = k(D, V);
23046
23046
  }
23047
23047
  return Array(S, L, E, D);
23048
23048
  }
@@ -23082,11 +23082,11 @@ list should be an Array.`), P.length === 0) return new y(0);
23082
23082
  function b(C, x) {
23083
23083
  C[x >> 5] |= 128 << 24 - x % 32, C[15 + (x + 64 >> 9 << 4)] = x;
23084
23084
  for (var _, k, A, T = Array(80), S = 1732584193, L = -271733879, E = -1732584194, D = 271733878, R = -1009589776, f = 0; f < C.length; f += 16) {
23085
- for (var N = S, V = L, Z = E, I = D, z = R, M = 0; M < 80; M++) {
23085
+ for (var N = S, Z = L, V = E, I = D, z = R, M = 0; M < 80; M++) {
23086
23086
  T[M] = M < 16 ? C[f + M] : w(T[M - 3] ^ T[M - 8] ^ T[M - 14] ^ T[M - 16], 1);
23087
23087
  var B = y(y(w(S, 5), (B = L, k = E, A = D, (_ = M) < 20 ? B & k | ~B & A : !(_ < 40) && _ < 60 ? B & k | B & A | k & A : B ^ k ^ A)), y(y(R, T[M]), (_ = M) < 20 ? 1518500249 : _ < 40 ? 1859775393 : _ < 60 ? -1894007588 : -899497514)), R = D, D = E, E = w(L, 30), L = S, S = B;
23088
23088
  }
23089
- S = y(S, N), L = y(L, V), E = y(E, Z), D = y(D, I), R = y(R, z);
23089
+ S = y(S, N), L = y(L, Z), E = y(E, V), D = y(D, I), R = y(R, z);
23090
23090
  }
23091
23091
  return Array(S, L, E, D, R);
23092
23092
  }
@@ -23111,8 +23111,8 @@ list should be an Array.`), P.length === 0) return new y(0);
23111
23111
  var k, A = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), T = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), S = new Array(64);
23112
23112
  x[_ >> 5] |= 128 << 24 - _ % 32, x[15 + (_ + 64 >> 9 << 4)] = _;
23113
23113
  for (var L, E, D = 0; D < x.length; D += 16) {
23114
- for (var R = T[0], f = T[1], N = T[2], V = T[3], Z = T[4], I = T[5], z = T[6], M = T[7], B = 0; B < 64; B++) S[B] = B < 16 ? x[B + D] : m(m(m((E = S[B - 2], w(E, 17) ^ w(E, 19) ^ C(E, 10)), S[B - 7]), (E = S[B - 15], w(E, 7) ^ w(E, 18) ^ C(E, 3))), S[B - 16]), k = m(m(m(m(M, w(E = Z, 6) ^ w(E, 11) ^ w(E, 25)), Z & I ^ ~Z & z), A[B]), S[B]), L = m(w(L = R, 2) ^ w(L, 13) ^ w(L, 22), R & f ^ R & N ^ f & N), M = z, z = I, I = Z, Z = m(V, k), V = N, N = f, f = R, R = m(k, L);
23115
- T[0] = m(R, T[0]), T[1] = m(f, T[1]), T[2] = m(N, T[2]), T[3] = m(V, T[3]), T[4] = m(Z, T[4]), T[5] = m(I, T[5]), T[6] = m(z, T[6]), T[7] = m(M, T[7]);
23114
+ for (var R = T[0], f = T[1], N = T[2], Z = T[3], V = T[4], I = T[5], z = T[6], M = T[7], B = 0; B < 64; B++) S[B] = B < 16 ? x[B + D] : m(m(m((E = S[B - 2], w(E, 17) ^ w(E, 19) ^ C(E, 10)), S[B - 7]), (E = S[B - 15], w(E, 7) ^ w(E, 18) ^ C(E, 3))), S[B - 16]), k = m(m(m(m(M, w(E = V, 6) ^ w(E, 11) ^ w(E, 25)), V & I ^ ~V & z), A[B]), S[B]), L = m(w(L = R, 2) ^ w(L, 13) ^ w(L, 22), R & f ^ R & N ^ f & N), M = z, z = I, I = V, V = m(Z, k), Z = N, N = f, f = R, R = m(k, L);
23115
+ T[0] = m(R, T[0]), T[1] = m(f, T[1]), T[2] = m(N, T[2]), T[3] = m(Z, T[3]), T[4] = m(V, T[4]), T[5] = m(I, T[5]), T[6] = m(z, T[6]), T[7] = m(M, T[7]);
23116
23116
  }
23117
23117
  return T;
23118
23118
  }
@@ -23613,8 +23613,8 @@ async function WV(e, t, n, r = !0, a, i) {
23613
23613
  var R, f;
23614
23614
  const L = ((R = w1(S, "font-weight")) == null ? void 0 : R.value) ?? "normal", E = ((f = w1(S, "font-style")) == null ? void 0 : f.value) ?? "normal", D = FC(E);
23615
23615
  return [...i].some((N) => {
23616
- const [V, Z] = N.split("|");
23617
- return Z === D && qV(L, V);
23616
+ const [Z, V] = N.split("|");
23617
+ return V === D && qV(L, Z);
23618
23618
  });
23619
23619
  });
23620
23620
  T.length > 0 && (b = T);
@@ -23636,8 +23636,8 @@ async function WV(e, t, n, r = !0, a, i) {
23636
23636
  const L = (k = S.match(/url\(\s*(?:['"])?([^'")\s]+)(?:['"])?\s*\)/i)) == null ? void 0 : k[1];
23637
23637
  if (L === void 0)
23638
23638
  throw new Error("no url in url function");
23639
- const E = new URL(L, u).href, D = await c(() => fetch(ll(E, a)).then((Z) => Z.blob())), R = (A = D.type.split("/")[1]) == null ? void 0 : A.toLowerCase(), N = R ? { ttf: "truetype", otf: "opentype", woff: "woff", woff2: "woff2" }[R] ?? R : void 0, V = await G$(D);
23640
- T.value = N ? `url('${V}') format('${N}')` : `url('${V}')`, x++, t(x, C);
23639
+ const E = new URL(L, u).href, D = await c(() => fetch(ll(E, a)).then((V) => V.blob())), R = (A = D.type.split("/")[1]) == null ? void 0 : A.toLowerCase(), N = R ? { ttf: "truetype", otf: "opentype", woff: "woff", woff2: "woff2" }[R] ?? R : void 0, Z = await G$(D);
23640
+ T.value = N ? `url('${Z}') format('${N}')` : `url('${Z}')`, x++, t(x, C);
23641
23641
  }
23642
23642
  const _ = Au.stringify(d);
23643
23643
  return r && vg.set(o, _), _;
@@ -23748,14 +23748,14 @@ async function F8(e, t, n, r, a = {}) {
23748
23748
  f.setAttribute("transform", `translate(${E.x}, ${E.y - E.height})`);
23749
23749
  const N = document.createElementNS("http://www.w3.org/2000/svg", "svg");
23750
23750
  N.setAttribute("width", E.width.toString()), N.setAttribute("height", E.height.toString()), N.setAttribute("viewBox", `0 0 ${E.width} ${E.height}`);
23751
- const V = document.createElement("div");
23752
- if (V.innerHTML = E.svg, ((C = V.firstElementChild) == null ? void 0 : C.tagName.toLowerCase()) === "svg") {
23753
- const I = V.firstElementChild, z = I.getAttribute("viewBox");
23751
+ const Z = document.createElement("div");
23752
+ if (Z.innerHTML = E.svg, ((C = Z.firstElementChild) == null ? void 0 : C.tagName.toLowerCase()) === "svg") {
23753
+ const I = Z.firstElementChild, z = I.getAttribute("viewBox");
23754
23754
  z && N.setAttribute("viewBox", z), N.innerHTML = I.innerHTML;
23755
23755
  } else
23756
23756
  N.innerHTML = E.svg;
23757
- const Z = B8(R);
23758
- Z && N.setAttribute("style", Z), f.appendChild(N), S.appendChild(f);
23757
+ const V = B8(R);
23758
+ V && N.setAttribute("style", V), f.appendChild(N), S.appendChild(f);
23759
23759
  }
23760
23760
  }
23761
23761
  x.replaceWith(S);
@@ -23767,10 +23767,10 @@ async function F8(e, t, n, r, a = {}) {
23767
23767
  for (const x of Array.from(u.querySelectorAll("g:not([data-keep])")).reverse()) {
23768
23768
  const _ = j8(x.getAttribute("style") ?? ""), k = x.getAttribute("clip-path") ?? _["clip-path"], A = x.getAttribute("mask") ?? _.mask, T = x.getAttribute("transform") ?? _.transform, S = x.getAttribute("filter") ?? _.filter, L = x.getAttribute("opacity") ?? _.opacity;
23769
23769
  if (!(k && k !== "none") && !(A && A !== "none") && !(T && T !== "none" && T !== "matrix(1, 0, 0, 1, 0, 0)" && T !== "translate(0, 0)" && T !== "scale(1)" && T !== "rotate(0)" && T !== "rotate(0deg) skew(0deg, 0deg)") && !(S && S !== "none") && !(L && L !== "1")) {
23770
- const Z = x.parentNode, I = Array.from(x.childNodes);
23770
+ const V = x.parentNode, I = Array.from(x.childNodes);
23771
23771
  for (const z of I)
23772
- Z == null || Z.insertBefore(z, x);
23773
- Z == null || Z.removeChild(x);
23772
+ V == null || V.insertBefore(z, x);
23773
+ V == null || V.removeChild(x);
23774
23774
  }
23775
23775
  }
23776
23776
  const y = new XMLSerializer().serializeToString(u);
@@ -27438,7 +27438,7 @@ const Gq = ["data-bx-popover-id"], qq = ["data-origin", "data-placement"], Wq =
27438
27438
  throw new Error("Floating element bounds height is undefined");
27439
27439
  if (((D = u.value) == null ? void 0 : D.offsetHeight) === void 0)
27440
27440
  throw new Error("Popover frame wrapper has no valid offsetHeight");
27441
- const N = m.value === "left" ? 1 : 0, V = s.y.value + s.height.value / 2, Z = p.value, z = (V - Z) / u.value.offsetHeight;
27441
+ const N = m.value === "left" ? 1 : 0, Z = s.y.value + s.height.value / 2, V = p.value, z = (Z - V) / u.value.offsetHeight;
27442
27442
  return { x: N, y: z };
27443
27443
  }
27444
27444
  case "bottom":
@@ -27449,10 +27449,10 @@ const Gq = ["data-bx-popover-id"], qq = ["data-origin", "data-placement"], Wq =
27449
27449
  throw new Error("Floating element bounds width is undefined");
27450
27450
  if (((R = u.value) == null ? void 0 : R.offsetWidth) === void 0)
27451
27451
  throw new Error("Popover frame wrapper has no valid offsetWidth");
27452
- const N = m.value === "top" ? 1 : 0, V = s.x.value + s.width.value / 2;
27452
+ const N = m.value === "top" ? 1 : 0, Z = s.x.value + s.width.value / 2;
27453
27453
  (u.value.offsetLeft ?? 0) - (((f = o.value) == null ? void 0 : f.offsetLeft) ?? 0);
27454
- const Z = l.value;
27455
- return { x: (V - Z) / u.value.offsetWidth, y: N };
27454
+ const V = l.value;
27455
+ return { x: (Z - V) / u.value.offsetWidth, y: N };
27456
27456
  }
27457
27457
  }
27458
27458
  }
@@ -27534,7 +27534,7 @@ const Gq = ["data-bx-popover-id"], qq = ["data-origin", "data-placement"], Wq =
27534
27534
  `${window.btoa(S.value)}`;
27535
27535
  const L = oe(() => `url('data:image/svg+xml;base64,${window.btoa(T.value)}')`), E = oe(() => `url('data:image/svg+xml;base64,${window.btoa(S.value)}')`);
27536
27536
  return (D, R) => {
27537
- var f, N, V, Z;
27537
+ var f, N, Z, V;
27538
27538
  return F(), X("div", {
27539
27539
  ref_key: "popoverWrapperRef",
27540
27540
  ref: i,
@@ -27569,7 +27569,7 @@ const Gq = ["data-bx-popover-id"], qq = ["data-origin", "data-placement"], Wq =
27569
27569
  style: Ot({
27570
27570
  // '--shift-left': '0px',
27571
27571
  // '--shift-top': '0px',
27572
- "transform-origin": `${(((V = y.value) == null ? void 0 : V.x) ?? 0) * 100}% ${(((Z = y.value) == null ? void 0 : Z.y) ?? 0) * 100}%`,
27572
+ "transform-origin": `${(((Z = y.value) == null ? void 0 : Z.x) ?? 0) * 100}% ${(((V = y.value) == null ? void 0 : V.y) ?? 0) * 100}%`,
27573
27573
  "max-height": `calc(100vh - ${ye(p)}px - 20px)`
27574
27574
  })
27575
27575
  }, [
@@ -29533,7 +29533,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
29533
29533
  */
29534
29534
  (function(e, t) {
29535
29535
  (function() {
29536
- var n, r = "4.17.21", a = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", u = "Invalid `variable` option passed into `_.template`", s = "__lodash_hash_undefined__", c = 500, d = "__lodash_placeholder__", h = 1, l = 2, p = 4, m = 1, b = 2, y = 1, w = 2, C = 4, x = 8, _ = 16, k = 32, A = 64, T = 128, S = 256, L = 512, E = 30, D = "...", R = 800, f = 16, N = 1, V = 2, Z = 3, I = 1 / 0, z = 9007199254740991, M = 17976931348623157e292, B = NaN, U = 4294967295, Y = U - 1, ne = U >>> 1, te = [
29536
+ var n, r = "4.17.21", a = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", u = "Invalid `variable` option passed into `_.template`", s = "__lodash_hash_undefined__", c = 500, d = "__lodash_placeholder__", h = 1, l = 2, p = 4, m = 1, b = 2, y = 1, w = 2, C = 4, x = 8, _ = 16, k = 32, A = 64, T = 128, S = 256, L = 512, E = 30, D = "...", R = 800, f = 16, N = 1, Z = 2, V = 3, I = 1 / 0, z = 9007199254740991, M = 17976931348623157e292, B = NaN, U = 4294967295, Y = U - 1, ne = U >>> 1, te = [
29537
29537
  ["ary", T],
29538
29538
  ["bind", y],
29539
29539
  ["bindKey", w],
@@ -30148,7 +30148,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
30148
30148
  ot += v;
30149
30149
  for (var un = -1, Gt = g[ot]; ++un < dt; ) {
30150
30150
  var xn = st[un], kn = xn.iteratee, Na = xn.type, ga = kn(Gt);
30151
- if (Na == V)
30151
+ if (Na == Z)
30152
30152
  Gt = ga;
30153
30153
  else if (!ga) {
30154
30154
  if (Na == N)
@@ -33074,7 +33074,7 @@ function print() { __p += __j.call(arguments, '') }
33074
33074
  return this.reverse()[g](O).reverse();
33075
33075
  };
33076
33076
  }), ti(["filter", "map", "takeWhile"], function(g, v) {
33077
- var O = v + 1, H = O == N || O == Z;
33077
+ var O = v + 1, H = O == N || O == V;
33078
33078
  Cn.prototype[g] = function(K) {
33079
33079
  var le = this.clone();
33080
33080
  return le.__iteratees__.push({
@@ -33512,12 +33512,12 @@ var fS = { exports: {} };
33512
33512
  N = N !== void 0 ? N : A.unorderedArrays !== !1;
33513
33513
  var R = this;
33514
33514
  if (L("array:" + E.length + ":"), !N || E.length <= 1)
33515
- return E.forEach(function(V) {
33516
- return R.dispatch(V);
33515
+ return E.forEach(function(Z) {
33516
+ return R.dispatch(Z);
33517
33517
  });
33518
- var f = [], N = E.map(function(V) {
33519
- var Z = new k(), I = S.slice();
33520
- return _(A, Z, I).dispatch(V), f = f.concat(I.slice(S.length)), Z.read().toString();
33518
+ var f = [], N = E.map(function(Z) {
33519
+ var V = new k(), I = S.slice();
33520
+ return _(A, V, I).dispatch(Z), f = f.concat(I.slice(S.length)), V.read().toString();
33521
33521
  });
33522
33522
  return S = S.concat(f), N.sort(), this._array(N, !1);
33523
33523
  }, _date: function(E) {
@@ -33642,25 +33642,25 @@ Use "options.replacer" or "options.ignoreUnknown"
33642
33642
  if (0 < S.length % 4)
33643
33643
  throw new Error("Invalid string. Length must be a multiple of 4");
33644
33644
  var D = S.length, D = S.charAt(D - 2) === "=" ? 2 : S.charAt(D - 1) === "=" ? 1 : 0, R = new b(3 * S.length / 4 - D), f = 0 < D ? S.length - 4 : S.length, N = 0;
33645
- function V(Z) {
33646
- R[N++] = Z;
33645
+ function Z(V) {
33646
+ R[N++] = V;
33647
33647
  }
33648
33648
  for (L = 0; L < f; L += 4, 0)
33649
- V((16711680 & (E = T(S.charAt(L)) << 18 | T(S.charAt(L + 1)) << 12 | T(S.charAt(L + 2)) << 6 | T(S.charAt(L + 3)))) >> 16), V((65280 & E) >> 8), V(255 & E);
33650
- return D == 2 ? V(255 & (E = T(S.charAt(L)) << 2 | T(S.charAt(L + 1)) >> 4)) : D == 1 && (V((E = T(S.charAt(L)) << 10 | T(S.charAt(L + 1)) << 4 | T(S.charAt(L + 2)) >> 2) >> 8 & 255), V(255 & E)), R;
33649
+ Z((16711680 & (E = T(S.charAt(L)) << 18 | T(S.charAt(L + 1)) << 12 | T(S.charAt(L + 2)) << 6 | T(S.charAt(L + 3)))) >> 16), Z((65280 & E) >> 8), Z(255 & E);
33650
+ return D == 2 ? Z(255 & (E = T(S.charAt(L)) << 2 | T(S.charAt(L + 1)) >> 4)) : D == 1 && (Z((E = T(S.charAt(L)) << 10 | T(S.charAt(L + 1)) << 4 | T(S.charAt(L + 2)) >> 2) >> 8 & 255), Z(255 & E)), R;
33651
33651
  }, m.fromByteArray = function(S) {
33652
33652
  var L, E, D, R, f = S.length % 3, N = "";
33653
- function V(Z) {
33654
- return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z);
33653
+ function Z(V) {
33654
+ return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(V);
33655
33655
  }
33656
33656
  for (L = 0, D = S.length - f; L < D; L += 3)
33657
- E = (S[L] << 16) + (S[L + 1] << 8) + S[L + 2], N += V((R = E) >> 18 & 63) + V(R >> 12 & 63) + V(R >> 6 & 63) + V(63 & R);
33657
+ E = (S[L] << 16) + (S[L + 1] << 8) + S[L + 2], N += Z((R = E) >> 18 & 63) + Z(R >> 12 & 63) + Z(R >> 6 & 63) + Z(63 & R);
33658
33658
  switch (f) {
33659
33659
  case 1:
33660
- N = (N += V((E = S[S.length - 1]) >> 2)) + V(E << 4 & 63) + "==";
33660
+ N = (N += Z((E = S[S.length - 1]) >> 2)) + Z(E << 4 & 63) + "==";
33661
33661
  break;
33662
33662
  case 2:
33663
- N = (N = (N += V((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + V(E >> 4 & 63)) + V(E << 2 & 63) + "=";
33663
+ N = (N = (N += Z((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + Z(E >> 4 & 63)) + Z(E << 2 & 63) + "=";
33664
33664
  }
33665
33665
  return N;
33666
33666
  };
@@ -33763,7 +33763,7 @@ Use "options.replacer" or "options.ignoreUnknown"
33763
33763
  function N(P, j, G, ie, ce) {
33764
33764
  ce || (Q(j != null, "missing value"), Q(typeof ie == "boolean", "missing or invalid endian"), Q(G != null, "missing offset"), Q(G + 3 < P.length, "Trying to write beyond buffer length"), $e(j, 34028234663852886e22, -34028234663852886e22)), P.length <= G || b.write(P, j, G, ie, 23, 4);
33765
33765
  }
33766
- function V(P, j, G, ie, ce) {
33766
+ function Z(P, j, G, ie, ce) {
33767
33767
  ce || (Q(j != null, "missing value"), Q(typeof ie == "boolean", "missing or invalid endian"), Q(G != null, "missing offset"), Q(G + 7 < P.length, "Trying to write beyond buffer length"), $e(j, 17976931348623157e292, -17976931348623157e292)), P.length <= G || b.write(P, j, G, ie, 52, 8);
33768
33768
  }
33769
33769
  a.Buffer = y, a.SlowBuffer = y, a.INSPECT_MAX_BYTES = 50, y.poolSize = 8192, y._useTypedArrays = function() {
@@ -33996,9 +33996,9 @@ list should be an Array.`), P.length === 0)
33996
33996
  }, y.prototype.writeFloatBE = function(P, j, G) {
33997
33997
  N(this, P, j, !1, G);
33998
33998
  }, y.prototype.writeDoubleLE = function(P, j, G) {
33999
- V(this, P, j, !0, G);
33999
+ Z(this, P, j, !0, G);
34000
34000
  }, y.prototype.writeDoubleBE = function(P, j, G) {
34001
- V(this, P, j, !1, G);
34001
+ Z(this, P, j, !1, G);
34002
34002
  }, y.prototype.fill = function(P, j, G) {
34003
34003
  if (j = j || 0, G = G || this.length, Q(typeof (P = typeof (P = P || 0) == "string" ? P.charCodeAt(0) : P) == "number" && !isNaN(P), "value is not a number"), Q(j <= G, "end < start"), G !== j && this.length !== 0) {
34004
34004
  Q(0 <= j && j < this.length, "start out of bounds"), Q(0 <= G && G <= this.length, "end out of bounds");
@@ -34021,7 +34021,7 @@ list should be an Array.`), P.length === 0)
34021
34021
  P[j] = this[j];
34022
34022
  return P.buffer;
34023
34023
  };
34024
- var Z = y.prototype;
34024
+ var V = y.prototype;
34025
34025
  function I(P, j, G) {
34026
34026
  return typeof P != "number" ? G : j <= (P = ~~P) ? j : 0 <= P || 0 <= (P += j) ? P : 0;
34027
34027
  }
@@ -34076,7 +34076,7 @@ list should be an Array.`), P.length === 0)
34076
34076
  throw new Error(j || "Failed assertion");
34077
34077
  }
34078
34078
  y._augment = function(P) {
34079
- return P._isBuffer = !0, P._get = P.get, P._set = P.set, P.get = Z.get, P.set = Z.set, P.write = Z.write, P.toString = Z.toString, P.toLocaleString = Z.toString, P.toJSON = Z.toJSON, P.copy = Z.copy, P.slice = Z.slice, P.readUInt8 = Z.readUInt8, P.readUInt16LE = Z.readUInt16LE, P.readUInt16BE = Z.readUInt16BE, P.readUInt32LE = Z.readUInt32LE, P.readUInt32BE = Z.readUInt32BE, P.readInt8 = Z.readInt8, P.readInt16LE = Z.readInt16LE, P.readInt16BE = Z.readInt16BE, P.readInt32LE = Z.readInt32LE, P.readInt32BE = Z.readInt32BE, P.readFloatLE = Z.readFloatLE, P.readFloatBE = Z.readFloatBE, P.readDoubleLE = Z.readDoubleLE, P.readDoubleBE = Z.readDoubleBE, P.writeUInt8 = Z.writeUInt8, P.writeUInt16LE = Z.writeUInt16LE, P.writeUInt16BE = Z.writeUInt16BE, P.writeUInt32LE = Z.writeUInt32LE, P.writeUInt32BE = Z.writeUInt32BE, P.writeInt8 = Z.writeInt8, P.writeInt16LE = Z.writeInt16LE, P.writeInt16BE = Z.writeInt16BE, P.writeInt32LE = Z.writeInt32LE, P.writeInt32BE = Z.writeInt32BE, P.writeFloatLE = Z.writeFloatLE, P.writeFloatBE = Z.writeFloatBE, P.writeDoubleLE = Z.writeDoubleLE, P.writeDoubleBE = Z.writeDoubleBE, P.fill = Z.fill, P.inspect = Z.inspect, P.toArrayBuffer = Z.toArrayBuffer, P;
34079
+ return P._isBuffer = !0, P._get = P.get, P._set = P.set, P.get = V.get, P.set = V.set, P.write = V.write, P.toString = V.toString, P.toLocaleString = V.toString, P.toJSON = V.toJSON, P.copy = V.copy, P.slice = V.slice, P.readUInt8 = V.readUInt8, P.readUInt16LE = V.readUInt16LE, P.readUInt16BE = V.readUInt16BE, P.readUInt32LE = V.readUInt32LE, P.readUInt32BE = V.readUInt32BE, P.readInt8 = V.readInt8, P.readInt16LE = V.readInt16LE, P.readInt16BE = V.readInt16BE, P.readInt32LE = V.readInt32LE, P.readInt32BE = V.readInt32BE, P.readFloatLE = V.readFloatLE, P.readFloatBE = V.readFloatBE, P.readDoubleLE = V.readDoubleLE, P.readDoubleBE = V.readDoubleBE, P.writeUInt8 = V.writeUInt8, P.writeUInt16LE = V.writeUInt16LE, P.writeUInt16BE = V.writeUInt16BE, P.writeUInt32LE = V.writeUInt32LE, P.writeUInt32BE = V.writeUInt32BE, P.writeInt8 = V.writeInt8, P.writeInt16LE = V.writeInt16LE, P.writeInt16BE = V.writeInt16BE, P.writeInt32LE = V.writeInt32LE, P.writeInt32BE = V.writeInt32BE, P.writeFloatLE = V.writeFloatLE, P.writeFloatBE = V.writeFloatBE, P.writeDoubleLE = V.writeDoubleLE, P.writeDoubleBE = V.writeDoubleBE, P.fill = V.fill, P.inspect = V.inspect, P.toArrayBuffer = V.toArrayBuffer, P;
34080
34080
  };
34081
34081
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
34082
34082
  }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(n, r, a) {
@@ -34085,8 +34085,8 @@ list should be an Array.`), P.length === 0)
34085
34085
  y.fill(0), r.exports = { hash: function(w, C, x, _) {
34086
34086
  for (var k = C(function(E, D) {
34087
34087
  E.length % b != 0 && (R = E.length + (b - E.length % b), E = m.concat([E, y], R));
34088
- for (var R, f = [], N = D ? E.readInt32BE : E.readInt32LE, V = 0; V < E.length; V += b)
34089
- f.push(N.call(E, V));
34088
+ for (var R, f = [], N = D ? E.readInt32BE : E.readInt32LE, Z = 0; Z < E.length; Z += b)
34089
+ f.push(N.call(E, Z));
34090
34090
  return f;
34091
34091
  }(w = m.isBuffer(w) ? w : new m(w), _), 8 * w.length), C = _, A = new m(x), T = C ? A.writeInt32BE : A.writeInt32LE, S = 0; S < k.length; S++)
34092
34092
  T.call(A, k[S], 4 * S, !0);
@@ -34101,13 +34101,13 @@ list should be an Array.`), P.length === 0)
34101
34101
  return R || A("algorithm:", E, "is not yet supported"), { update: function(N) {
34102
34102
  return m.isBuffer(N) || (N = new m(N)), f.push(N), N.length, this;
34103
34103
  }, digest: function(N) {
34104
- var V = m.concat(f), V = D ? function(Z, I, z) {
34105
- m.isBuffer(I) || (I = new m(I)), m.isBuffer(z) || (z = new m(z)), I.length > x ? I = Z(I) : I.length < x && (I = m.concat([I, _], x));
34104
+ var Z = m.concat(f), Z = D ? function(V, I, z) {
34105
+ m.isBuffer(I) || (I = new m(I)), m.isBuffer(z) || (z = new m(z)), I.length > x ? I = V(I) : I.length < x && (I = m.concat([I, _], x));
34106
34106
  for (var M = new m(x), B = new m(x), U = 0; U < x; U++)
34107
34107
  M[U] = 54 ^ I[U], B[U] = 92 ^ I[U];
34108
- return z = Z(m.concat([M, z])), Z(m.concat([B, z]));
34109
- }(R, D, V) : R(V);
34110
- return f = null, N ? V.toString(N) : V;
34108
+ return z = V(m.concat([M, z])), V(m.concat([B, z]));
34109
+ }(R, D, Z) : R(Z);
34110
+ return f = null, N ? Z.toString(N) : Z;
34111
34111
  } };
34112
34112
  }
34113
34113
  function A() {
@@ -34140,8 +34140,8 @@ list should be an Array.`), P.length === 0)
34140
34140
  function b(A, T) {
34141
34141
  A[T >> 5] |= 128 << T % 32, A[14 + (T + 64 >>> 9 << 4)] = T;
34142
34142
  for (var S = 1732584193, L = -271733879, E = -1732584194, D = 271733878, R = 0; R < A.length; R += 16) {
34143
- var f = S, N = L, V = E, Z = D, S = w(S, L, E, D, A[R + 0], 7, -680876936), D = w(D, S, L, E, A[R + 1], 12, -389564586), E = w(E, D, S, L, A[R + 2], 17, 606105819), L = w(L, E, D, S, A[R + 3], 22, -1044525330);
34144
- S = w(S, L, E, D, A[R + 4], 7, -176418897), D = w(D, S, L, E, A[R + 5], 12, 1200080426), E = w(E, D, S, L, A[R + 6], 17, -1473231341), L = w(L, E, D, S, A[R + 7], 22, -45705983), S = w(S, L, E, D, A[R + 8], 7, 1770035416), D = w(D, S, L, E, A[R + 9], 12, -1958414417), E = w(E, D, S, L, A[R + 10], 17, -42063), L = w(L, E, D, S, A[R + 11], 22, -1990404162), S = w(S, L, E, D, A[R + 12], 7, 1804603682), D = w(D, S, L, E, A[R + 13], 12, -40341101), E = w(E, D, S, L, A[R + 14], 17, -1502002290), S = C(S, L = w(L, E, D, S, A[R + 15], 22, 1236535329), E, D, A[R + 1], 5, -165796510), D = C(D, S, L, E, A[R + 6], 9, -1069501632), E = C(E, D, S, L, A[R + 11], 14, 643717713), L = C(L, E, D, S, A[R + 0], 20, -373897302), S = C(S, L, E, D, A[R + 5], 5, -701558691), D = C(D, S, L, E, A[R + 10], 9, 38016083), E = C(E, D, S, L, A[R + 15], 14, -660478335), L = C(L, E, D, S, A[R + 4], 20, -405537848), S = C(S, L, E, D, A[R + 9], 5, 568446438), D = C(D, S, L, E, A[R + 14], 9, -1019803690), E = C(E, D, S, L, A[R + 3], 14, -187363961), L = C(L, E, D, S, A[R + 8], 20, 1163531501), S = C(S, L, E, D, A[R + 13], 5, -1444681467), D = C(D, S, L, E, A[R + 2], 9, -51403784), E = C(E, D, S, L, A[R + 7], 14, 1735328473), S = x(S, L = C(L, E, D, S, A[R + 12], 20, -1926607734), E, D, A[R + 5], 4, -378558), D = x(D, S, L, E, A[R + 8], 11, -2022574463), E = x(E, D, S, L, A[R + 11], 16, 1839030562), L = x(L, E, D, S, A[R + 14], 23, -35309556), S = x(S, L, E, D, A[R + 1], 4, -1530992060), D = x(D, S, L, E, A[R + 4], 11, 1272893353), E = x(E, D, S, L, A[R + 7], 16, -155497632), L = x(L, E, D, S, A[R + 10], 23, -1094730640), S = x(S, L, E, D, A[R + 13], 4, 681279174), D = x(D, S, L, E, A[R + 0], 11, -358537222), E = x(E, D, S, L, A[R + 3], 16, -722521979), L = x(L, E, D, S, A[R + 6], 23, 76029189), S = x(S, L, E, D, A[R + 9], 4, -640364487), D = x(D, S, L, E, A[R + 12], 11, -421815835), E = x(E, D, S, L, A[R + 15], 16, 530742520), S = _(S, L = x(L, E, D, S, A[R + 2], 23, -995338651), E, D, A[R + 0], 6, -198630844), D = _(D, S, L, E, A[R + 7], 10, 1126891415), E = _(E, D, S, L, A[R + 14], 15, -1416354905), L = _(L, E, D, S, A[R + 5], 21, -57434055), S = _(S, L, E, D, A[R + 12], 6, 1700485571), D = _(D, S, L, E, A[R + 3], 10, -1894986606), E = _(E, D, S, L, A[R + 10], 15, -1051523), L = _(L, E, D, S, A[R + 1], 21, -2054922799), S = _(S, L, E, D, A[R + 8], 6, 1873313359), D = _(D, S, L, E, A[R + 15], 10, -30611744), E = _(E, D, S, L, A[R + 6], 15, -1560198380), L = _(L, E, D, S, A[R + 13], 21, 1309151649), S = _(S, L, E, D, A[R + 4], 6, -145523070), D = _(D, S, L, E, A[R + 11], 10, -1120210379), E = _(E, D, S, L, A[R + 2], 15, 718787259), L = _(L, E, D, S, A[R + 9], 21, -343485551), S = k(S, f), L = k(L, N), E = k(E, V), D = k(D, Z);
34143
+ var f = S, N = L, Z = E, V = D, S = w(S, L, E, D, A[R + 0], 7, -680876936), D = w(D, S, L, E, A[R + 1], 12, -389564586), E = w(E, D, S, L, A[R + 2], 17, 606105819), L = w(L, E, D, S, A[R + 3], 22, -1044525330);
34144
+ S = w(S, L, E, D, A[R + 4], 7, -176418897), D = w(D, S, L, E, A[R + 5], 12, 1200080426), E = w(E, D, S, L, A[R + 6], 17, -1473231341), L = w(L, E, D, S, A[R + 7], 22, -45705983), S = w(S, L, E, D, A[R + 8], 7, 1770035416), D = w(D, S, L, E, A[R + 9], 12, -1958414417), E = w(E, D, S, L, A[R + 10], 17, -42063), L = w(L, E, D, S, A[R + 11], 22, -1990404162), S = w(S, L, E, D, A[R + 12], 7, 1804603682), D = w(D, S, L, E, A[R + 13], 12, -40341101), E = w(E, D, S, L, A[R + 14], 17, -1502002290), S = C(S, L = w(L, E, D, S, A[R + 15], 22, 1236535329), E, D, A[R + 1], 5, -165796510), D = C(D, S, L, E, A[R + 6], 9, -1069501632), E = C(E, D, S, L, A[R + 11], 14, 643717713), L = C(L, E, D, S, A[R + 0], 20, -373897302), S = C(S, L, E, D, A[R + 5], 5, -701558691), D = C(D, S, L, E, A[R + 10], 9, 38016083), E = C(E, D, S, L, A[R + 15], 14, -660478335), L = C(L, E, D, S, A[R + 4], 20, -405537848), S = C(S, L, E, D, A[R + 9], 5, 568446438), D = C(D, S, L, E, A[R + 14], 9, -1019803690), E = C(E, D, S, L, A[R + 3], 14, -187363961), L = C(L, E, D, S, A[R + 8], 20, 1163531501), S = C(S, L, E, D, A[R + 13], 5, -1444681467), D = C(D, S, L, E, A[R + 2], 9, -51403784), E = C(E, D, S, L, A[R + 7], 14, 1735328473), S = x(S, L = C(L, E, D, S, A[R + 12], 20, -1926607734), E, D, A[R + 5], 4, -378558), D = x(D, S, L, E, A[R + 8], 11, -2022574463), E = x(E, D, S, L, A[R + 11], 16, 1839030562), L = x(L, E, D, S, A[R + 14], 23, -35309556), S = x(S, L, E, D, A[R + 1], 4, -1530992060), D = x(D, S, L, E, A[R + 4], 11, 1272893353), E = x(E, D, S, L, A[R + 7], 16, -155497632), L = x(L, E, D, S, A[R + 10], 23, -1094730640), S = x(S, L, E, D, A[R + 13], 4, 681279174), D = x(D, S, L, E, A[R + 0], 11, -358537222), E = x(E, D, S, L, A[R + 3], 16, -722521979), L = x(L, E, D, S, A[R + 6], 23, 76029189), S = x(S, L, E, D, A[R + 9], 4, -640364487), D = x(D, S, L, E, A[R + 12], 11, -421815835), E = x(E, D, S, L, A[R + 15], 16, 530742520), S = _(S, L = x(L, E, D, S, A[R + 2], 23, -995338651), E, D, A[R + 0], 6, -198630844), D = _(D, S, L, E, A[R + 7], 10, 1126891415), E = _(E, D, S, L, A[R + 14], 15, -1416354905), L = _(L, E, D, S, A[R + 5], 21, -57434055), S = _(S, L, E, D, A[R + 12], 6, 1700485571), D = _(D, S, L, E, A[R + 3], 10, -1894986606), E = _(E, D, S, L, A[R + 10], 15, -1051523), L = _(L, E, D, S, A[R + 1], 21, -2054922799), S = _(S, L, E, D, A[R + 8], 6, 1873313359), D = _(D, S, L, E, A[R + 15], 10, -30611744), E = _(E, D, S, L, A[R + 6], 15, -1560198380), L = _(L, E, D, S, A[R + 13], 21, 1309151649), S = _(S, L, E, D, A[R + 4], 6, -145523070), D = _(D, S, L, E, A[R + 11], 10, -1120210379), E = _(E, D, S, L, A[R + 2], 15, 718787259), L = _(L, E, D, S, A[R + 9], 21, -343485551), S = k(S, f), L = k(L, N), E = k(E, Z), D = k(D, V);
34145
34145
  }
34146
34146
  return Array(S, L, E, D);
34147
34147
  }
@@ -34182,11 +34182,11 @@ list should be an Array.`), P.length === 0)
34182
34182
  function b(C, x) {
34183
34183
  C[x >> 5] |= 128 << 24 - x % 32, C[15 + (x + 64 >> 9 << 4)] = x;
34184
34184
  for (var _, k, A, T = Array(80), S = 1732584193, L = -271733879, E = -1732584194, D = 271733878, R = -1009589776, f = 0; f < C.length; f += 16) {
34185
- for (var N = S, V = L, Z = E, I = D, z = R, M = 0; M < 80; M++) {
34185
+ for (var N = S, Z = L, V = E, I = D, z = R, M = 0; M < 80; M++) {
34186
34186
  T[M] = M < 16 ? C[f + M] : w(T[M - 3] ^ T[M - 8] ^ T[M - 14] ^ T[M - 16], 1);
34187
34187
  var B = y(y(w(S, 5), (B = L, k = E, A = D, (_ = M) < 20 ? B & k | ~B & A : !(_ < 40) && _ < 60 ? B & k | B & A | k & A : B ^ k ^ A)), y(y(R, T[M]), (_ = M) < 20 ? 1518500249 : _ < 40 ? 1859775393 : _ < 60 ? -1894007588 : -899497514)), R = D, D = E, E = w(L, 30), L = S, S = B;
34188
34188
  }
34189
- S = y(S, N), L = y(L, V), E = y(E, Z), D = y(D, I), R = y(R, z);
34189
+ S = y(S, N), L = y(L, Z), E = y(E, V), D = y(D, I), R = y(R, z);
34190
34190
  }
34191
34191
  return Array(S, L, E, D, R);
34192
34192
  }
@@ -34211,9 +34211,9 @@ list should be an Array.`), P.length === 0)
34211
34211
  var k, A = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), T = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), S = new Array(64);
34212
34212
  x[_ >> 5] |= 128 << 24 - _ % 32, x[15 + (_ + 64 >> 9 << 4)] = _;
34213
34213
  for (var L, E, D = 0; D < x.length; D += 16) {
34214
- for (var R = T[0], f = T[1], N = T[2], V = T[3], Z = T[4], I = T[5], z = T[6], M = T[7], B = 0; B < 64; B++)
34215
- S[B] = B < 16 ? x[B + D] : m(m(m((E = S[B - 2], w(E, 17) ^ w(E, 19) ^ C(E, 10)), S[B - 7]), (E = S[B - 15], w(E, 7) ^ w(E, 18) ^ C(E, 3))), S[B - 16]), k = m(m(m(m(M, w(E = Z, 6) ^ w(E, 11) ^ w(E, 25)), Z & I ^ ~Z & z), A[B]), S[B]), L = m(w(L = R, 2) ^ w(L, 13) ^ w(L, 22), R & f ^ R & N ^ f & N), M = z, z = I, I = Z, Z = m(V, k), V = N, N = f, f = R, R = m(k, L);
34216
- T[0] = m(R, T[0]), T[1] = m(f, T[1]), T[2] = m(N, T[2]), T[3] = m(V, T[3]), T[4] = m(Z, T[4]), T[5] = m(I, T[5]), T[6] = m(z, T[6]), T[7] = m(M, T[7]);
34214
+ for (var R = T[0], f = T[1], N = T[2], Z = T[3], V = T[4], I = T[5], z = T[6], M = T[7], B = 0; B < 64; B++)
34215
+ S[B] = B < 16 ? x[B + D] : m(m(m((E = S[B - 2], w(E, 17) ^ w(E, 19) ^ C(E, 10)), S[B - 7]), (E = S[B - 15], w(E, 7) ^ w(E, 18) ^ C(E, 3))), S[B - 16]), k = m(m(m(m(M, w(E = V, 6) ^ w(E, 11) ^ w(E, 25)), V & I ^ ~V & z), A[B]), S[B]), L = m(w(L = R, 2) ^ w(L, 13) ^ w(L, 22), R & f ^ R & N ^ f & N), M = z, z = I, I = V, V = m(Z, k), Z = N, N = f, f = R, R = m(k, L);
34216
+ T[0] = m(R, T[0]), T[1] = m(f, T[1]), T[2] = m(N, T[2]), T[3] = m(Z, T[3]), T[4] = m(V, T[4]), T[5] = m(I, T[5]), T[6] = m(z, T[6]), T[7] = m(M, T[7]);
34217
34217
  }
34218
34218
  return T;
34219
34219
  }
@@ -34781,9 +34781,9 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
34781
34781
  destroy() {
34782
34782
  d.value = !1, L.overlayProviderRef.pull(o);
34783
34783
  }
34784
- }), (R, f) => (F(!0), X(Qe, null, Pt(ye(c), (N, V) => (F(), Ge(_n(N), {
34784
+ }), (R, f) => (F(!0), X(Qe, null, Pt(ye(c), (N, Z) => (F(), Ge(_n(N), {
34785
34785
  ref_for: !0,
34786
- ref: ye(u)(V)
34786
+ ref: ye(u)(Z)
34787
34787
  }, null, 512))), 256));
34788
34788
  }
34789
34789
  }), nf = /* @__PURE__ */ ft(aX, [["__scopeId", "data-v-13172e04"]]), iX = ["role"], oX = ["onClick", "title", "role", "tabindex", "aria-selected", "aria-disabled"], sX = {
@@ -35360,8 +35360,8 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
35360
35360
  }, f = se(""), N = oe(() => {
35361
35361
  const te = r.richtext ? f.value : u.value;
35362
35362
  return [...new Intl.Segmenter().segment(te)].length;
35363
- }), V = oe(() => r.richtext ? f.value.length > 0 : String(u.value).length > 0);
35364
- function Z(te) {
35363
+ }), Z = oe(() => r.richtext ? f.value.length > 0 : String(u.value).length > 0);
35364
+ function V(te) {
35365
35365
  return te.en;
35366
35366
  }
35367
35367
  const I = se(), z = se({ start: 0, length: 0 }), M = oe({
@@ -35384,7 +35384,7 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
35384
35384
  });
35385
35385
  const B = oe(() => r.richtext ? [
35386
35386
  {
35387
- label: Z(r.richtext.noStyleLabel),
35387
+ label: V(r.richtext.noStyleLabel),
35388
35388
  value: void 0
35389
35389
  },
35390
35390
  // {
@@ -35589,7 +35589,7 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
35589
35589
  }),
35590
35590
  _: 1
35591
35591
  })) : Re("", !0),
35592
- e.clearable && V.value ? (F(), X("button", {
35592
+ e.clearable && Z.value ? (F(), X("button", {
35593
35593
  key: 3,
35594
35594
  type: "button",
35595
35595
  class: "bx-input__clear-btn",
@@ -36838,7 +36838,7 @@ const HY = ["x", "y", "width", "height"], GY = ["cx", "cy", "r"], qY = ["cx", "c
36838
36838
  height: z.height
36839
36839
  };
36840
36840
  }
36841
- function V(z) {
36841
+ function Z(z) {
36842
36842
  const M = z.shiftKey ? 10 : 4;
36843
36843
  let B = 0, U = 0;
36844
36844
  switch (z.key) {
@@ -36870,7 +36870,7 @@ const HY = ["x", "y", "width", "height"], GY = ["cx", "cy", "r"], qY = ["cx", "c
36870
36870
  else
36871
36871
  r("update", N({ ...Y, x: Y.x + B, y: Y.y + U }));
36872
36872
  }
36873
- function Z(z, M, B) {
36873
+ function V(z, M, B) {
36874
36874
  const U = { tl: "tr", tr: "tl", bl: "br", br: "bl", l: "r", r: "l" }, Y = { tl: "bl", bl: "tl", tr: "br", br: "tr", t: "b", b: "t" };
36875
36875
  let ne = z;
36876
36876
  return M && (ne = U[ne] ?? ne), B && (ne = Y[ne] ?? ne), ne;
@@ -36903,7 +36903,7 @@ const HY = ["x", "y", "width", "height"], GY = ["cx", "cy", "r"], qY = ["cx", "c
36903
36903
  te += B;
36904
36904
  break;
36905
36905
  }
36906
- const Q = te > ge, P = he > $e, j = Z(z, Q, P), G = (ne == null ? void 0 : ne.x) ?? -1 / 0, ie = (ne == null ? void 0 : ne.y) ?? -1 / 0, ce = ne ? ne.x + ne.width : 1 / 0, de = ne ? ne.y + ne.height : 1 / 0;
36906
+ const Q = te > ge, P = he > $e, j = V(z, Q, P), G = (ne == null ? void 0 : ne.x) ?? -1 / 0, ie = (ne == null ? void 0 : ne.y) ?? -1 / 0, ce = ne ? ne.x + ne.width : 1 / 0, de = ne ? ne.y + ne.height : 1 / 0;
36907
36907
  if (Y != null)
36908
36908
  if (z === "tl" || z === "tr" || z === "bl" || z === "br") {
36909
36909
  const Be = z === "tl" || z === "bl" ? ge : te, Se = z === "tl" || z === "tr" ? $e : he, Ce = z === "tl" || z === "bl" ? te : ge, et = z === "tl" || z === "tr" ? he : $e, it = Ce >= Be, Ye = et >= Se;
@@ -36973,7 +36973,7 @@ const HY = ["x", "y", "width", "height"], GY = ["cx", "cy", "r"], qY = ["cx", "c
36973
36973
  "aria-label": "Crop area. Use arrow keys to move, Shift plus arrow keys to resize.",
36974
36974
  onMousedown: R,
36975
36975
  onTouchstart: f,
36976
- onKeydown: V
36976
+ onKeydown: Z
36977
36977
  }, null, 40, HY),
36978
36978
  W("g", {
36979
36979
  class: We({ inactive: !m.value })
@@ -37588,7 +37588,7 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37588
37588
  height: 10
37589
37589
  },
37590
37590
  set: async (R) => {
37591
- var V, Z;
37591
+ var Z, V;
37592
37592
  console.log("cropProxy.set()", R);
37593
37593
  const { scale: f, innerPos: N } = $Y(R, S.value.width, S.value.height);
37594
37594
  a.value = {
@@ -37597,8 +37597,8 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37597
37597
  innerPos: N,
37598
37598
  innerRotate: a.value.innerRotate,
37599
37599
  crop: R,
37600
- cropMode: ((V = a.value) == null ? void 0 : V.cropMode) ?? "cover",
37601
- innerAlign: ((Z = a.value) == null ? void 0 : Z.innerAlign) ?? "center",
37600
+ cropMode: ((Z = a.value) == null ? void 0 : Z.cropMode) ?? "cover",
37601
+ innerAlign: ((V = a.value) == null ? void 0 : V.innerAlign) ?? "center",
37602
37602
  mirrorX: a.value.mirrorX,
37603
37603
  mirrorY: a.value.mirrorY,
37604
37604
  padding: a.value.padding
@@ -37646,19 +37646,19 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37646
37646
  }), f = tf({
37647
37647
  title: "Uploading images",
37648
37648
  content: () => [
37649
- $t(Wu, { value: m.value.reduce((Z, I) => Z + I, 0) / m.value.length })
37649
+ $t(Wu, { value: m.value.reduce((V, I) => V + I, 0) / m.value.length })
37650
37650
  ],
37651
37651
  closeable: !1,
37652
37652
  icon: () => $t(Bh),
37653
37653
  disableBackgroundEffect: !0
37654
37654
  }), N = await p(R);
37655
37655
  f.close();
37656
- const V = N[0];
37657
- V && (S.value = {
37658
- width: V.width,
37659
- height: V.height,
37660
- ratio: V.width / V.height
37661
- }, k(V.src));
37656
+ const Z = N[0];
37657
+ Z && (S.value = {
37658
+ width: Z.width,
37659
+ height: Z.height,
37660
+ ratio: Z.width / Z.height
37661
+ }, k(Z.src));
37662
37662
  }
37663
37663
  const w = oe(() => [
37664
37664
  ...r.allowUploadFromDevice ? [
@@ -37719,11 +37719,11 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37719
37719
  _(R), L.value = !1;
37720
37720
  }
37721
37721
  function D() {
37722
- let R = da(o.value), f = a.value.mirrorX, N = a.value.mirrorY, V = o.value;
37722
+ let R = da(o.value), f = a.value.mirrorX, N = a.value.mirrorY, Z = o.value;
37723
37723
  Yd(i.value).then((z) => {
37724
37724
  S.value = z;
37725
37725
  });
37726
- const Z = a.value.cropMode === "cover" ? r.aspectRatio : void 0, I = rW(
37726
+ const V = a.value.cropMode === "cover" ? r.aspectRatio : void 0, I = rW(
37727
37727
  () => $t(
37728
37728
  "div",
37729
37729
  {
@@ -37734,7 +37734,7 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37734
37734
  src: ll(i.value, n == null ? void 0 : n.value),
37735
37735
  crop: o.value,
37736
37736
  "onUpdate:crop"(z) {
37737
- z && (V = z);
37737
+ z && (Z = z);
37738
37738
  },
37739
37739
  mirrorX: a.value.mirrorX,
37740
37740
  "onUpdate:mirrorX"(z) {
@@ -37750,7 +37750,7 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37750
37750
  mirrorY: z
37751
37751
  };
37752
37752
  },
37753
- aspectRatio: Z,
37753
+ aspectRatio: V,
37754
37754
  offset: { top: 20, right: 20, bottom: 20, left: 20 },
37755
37755
  style: {
37756
37756
  width: "100%",
@@ -37767,7 +37767,7 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37767
37767
  },
37768
37768
  onDone() {
37769
37769
  setTimeout(() => {
37770
- o.value = V;
37770
+ o.value = Z;
37771
37771
  }, 50), I.destroy();
37772
37772
  }
37773
37773
  })
@@ -37863,12 +37863,12 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37863
37863
  _: 1
37864
37864
  }, 8, ["show"]),
37865
37865
  W("div", DK, [
37866
- (F(!0), X(Qe, null, Pt(w.value.slice(0, w.value.length > l.value ? l.value - 1 : l.value), (N, V) => (F(), Ge(kt, {
37866
+ (F(!0), X(Qe, null, Pt(w.value.slice(0, w.value.length > l.value ? l.value - 1 : l.value), (N, Z) => (F(), Ge(kt, {
37867
37867
  tertiary: !0,
37868
- active: V === 0,
37868
+ active: Z === 0,
37869
37869
  size: e.compact ? "small" : "medium",
37870
37870
  "aria-label": e.compact ? N.label : void 0,
37871
- onClick: (Z) => _(N.key)
37871
+ onClick: (V) => _(N.key)
37872
37872
  }, {
37873
37873
  icon: fe(() => [
37874
37874
  pe(ht, null, {
@@ -39523,11 +39523,11 @@ qt.prototype = /** @lends Sortable.prototype */
39523
39523
  if (A === 0 || f === r)
39524
39524
  return C(!1);
39525
39525
  Vc = r, e0 = A;
39526
- var V = r.nextElementSibling, Z = !1;
39527
- Z = A === 1;
39528
- var I = A1(tr, n, Ct, a, r, i, t, Z);
39526
+ var Z = r.nextElementSibling, V = !1;
39527
+ V = A === 1;
39528
+ var I = A1(tr, n, Ct, a, r, i, t, V);
39529
39529
  if (I !== !1)
39530
- return (I === 1 || I === -1) && (Z = I === 1), Wv = !0, setTimeout(PJ, 30), w(), Z && !V ? n.appendChild(Ct) : r.parentNode.insertBefore(Ct, Z ? V : r), D && OS(D, 0, R - D.scrollTop), ur = Ct.parentNode, T !== void 0 && !E1 && (K1 = Math.abs(T - Xn(r)[E])), x(), C(!0);
39530
+ return (I === 1 || I === -1) && (V = I === 1), Wv = !0, setTimeout(PJ, 30), w(), V && !Z ? n.appendChild(Ct) : r.parentNode.insertBefore(Ct, V ? Z : r), D && OS(D, 0, R - D.scrollTop), ur = Ct.parentNode, T !== void 0 && !E1 && (K1 = Math.abs(T - Xn(r)[E])), x(), C(!0);
39531
39531
  }
39532
39532
  if (n.contains(Ct))
39533
39533
  return C(!1);
@@ -39868,8 +39868,8 @@ var Tg = AS(function(e, t, n, r) {
39868
39868
  kr[N] || (kr[N] = {});
39869
39869
  (kr[h].vx != R || kr[h].vy != f || kr[h].el !== p) && (kr[h].el = p, kr[h].vx = R, kr[h].vy = f, clearInterval(kr[h].pid), (R != 0 || f != 0) && (c = !0, kr[h].pid = setInterval((function() {
39870
39870
  r && this.layer === 0 && qt.active._onTouchMove(qh);
39871
- var V = kr[this.layer].vy ? kr[this.layer].vy * u : 0, Z = kr[this.layer].vx ? kr[this.layer].vx * u : 0;
39872
- typeof d == "function" && d.call(qt.dragged.parentNode[Jr], Z, V, e, qh, kr[this.layer].el) !== "continue" || OS(kr[this.layer].el, Z, V);
39871
+ var Z = kr[this.layer].vy ? kr[this.layer].vy * u : 0, V = kr[this.layer].vx ? kr[this.layer].vx * u : 0;
39872
+ typeof d == "function" && d.call(qt.dragged.parentNode[Jr], V, Z, e, qh, kr[this.layer].el) !== "continue" || OS(kr[this.layer].el, V, Z);
39873
39873
  }).bind({
39874
39874
  layer: h
39875
39875
  }), 24))), h++;
@@ -41548,7 +41548,7 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
41548
41548
  const [lt, Pe, Ne, pt] = Te, [yt, wt, Mt] = k.value;
41549
41549
  lt === yt && Pe === wt && Ne === Mt && Math.abs(pt - d.value) < 5e-3 || (i(Te), R());
41550
41550
  });
41551
- function V() {
41551
+ function Z() {
41552
41552
  const be = Ed(l.value);
41553
41553
  if (!be) {
41554
41554
  m.value = !0;
@@ -41556,8 +41556,8 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
41556
41556
  }
41557
41557
  m.value = !1, i(be);
41558
41558
  }
41559
- function Z() {
41560
- p.value = !1, V(), R();
41559
+ function V() {
41560
+ p.value = !1, Z(), R();
41561
41561
  }
41562
41562
  function I() {
41563
41563
  const be = ["HEX", "RGB", "HSL"];
@@ -41777,8 +41777,8 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
41777
41777
  "onUpdate:modelValue": Te[1] || (Te[1] = (lt) => l.value = lt),
41778
41778
  class: We(["color-value-input", { "is-invalid": m.value }]),
41779
41779
  onFocus: Te[2] || (Te[2] = (lt) => p.value = !0),
41780
- onBlur: Z,
41781
- onEnter: V
41780
+ onBlur: V,
41781
+ onEnter: Z
41782
41782
  }, null, 8, ["modelValue", "class"]),
41783
41783
  pe(kt, {
41784
41784
  secondary: "",
@@ -43463,7 +43463,7 @@ const Mte = /* @__PURE__ */ Ze({
43463
43463
  h.value = !1;
43464
43464
  }, n.leaveDelay);
43465
43465
  }
43466
- function V(B, U) {
43466
+ function Z(B, U) {
43467
43467
  const Y = a.value, ne = U.currentTarget;
43468
43468
  if (!Y || !ne) return;
43469
43469
  const te = ne.getBoundingClientRect();
@@ -43475,7 +43475,7 @@ const Mte = /* @__PURE__ */ Ze({
43475
43475
  Y.scrollLeft = he * (s.value - d.value);
43476
43476
  }
43477
43477
  }
43478
- function Z(B, U) {
43478
+ function V(B, U) {
43479
43479
  const Y = a.value;
43480
43480
  Y && (b.value = B, B === "y" ? (y = U.clientY, w = Y.scrollTop, C = u.value / c.value) : (y = U.clientX, w = Y.scrollLeft, C = s.value / d.value), document.addEventListener("mousemove", I), document.addEventListener("mouseup", z));
43481
43481
  }
@@ -43530,12 +43530,12 @@ const Mte = /* @__PURE__ */ Ze({
43530
43530
  x.value ? a0((F(), X("div", {
43531
43531
  key: 0,
43532
43532
  class: We(["bx-scrollbar__rail bx-scrollbar__rail--y", { "bx-scrollbar__rail--active": b.value === "y" }]),
43533
- onMousedown: U[1] || (U[1] = Dn((Y) => V("y", Y), ["self", "prevent"]))
43533
+ onMousedown: U[1] || (U[1] = Dn((Y) => Z("y", Y), ["self", "prevent"]))
43534
43534
  }, [
43535
43535
  W("div", {
43536
43536
  class: We(["bx-scrollbar__thumb bx-scrollbar__thumb--y", { "bx-scrollbar__thumb--dragging": b.value === "y" }]),
43537
43537
  style: Ot({ height: T.value + "%", top: L.value + "%" }),
43538
- onMousedown: U[0] || (U[0] = Dn((Y) => Z("y", Y), ["prevent"]))
43538
+ onMousedown: U[0] || (U[0] = Dn((Y) => V("y", Y), ["prevent"]))
43539
43539
  }, null, 38)
43540
43540
  ], 34)), [
43541
43541
  [nv, k.value]
@@ -43548,12 +43548,12 @@ const Mte = /* @__PURE__ */ Ze({
43548
43548
  _.value && e.xScrollable ? a0((F(), X("div", {
43549
43549
  key: 0,
43550
43550
  class: We(["bx-scrollbar__rail bx-scrollbar__rail--x", { "bx-scrollbar__rail--active": b.value === "x" }]),
43551
- onMousedown: U[3] || (U[3] = Dn((Y) => V("x", Y), ["self", "prevent"]))
43551
+ onMousedown: U[3] || (U[3] = Dn((Y) => Z("x", Y), ["self", "prevent"]))
43552
43552
  }, [
43553
43553
  W("div", {
43554
43554
  class: We(["bx-scrollbar__thumb bx-scrollbar__thumb--x", { "bx-scrollbar__thumb--dragging": b.value === "x" }]),
43555
43555
  style: Ot({ width: S.value + "%", left: E.value + "%" }),
43556
- onMousedown: U[2] || (U[2] = Dn((Y) => Z("x", Y), ["prevent"]))
43556
+ onMousedown: U[2] || (U[2] = Dn((Y) => V("x", Y), ["prevent"]))
43557
43557
  }, null, 38)
43558
43558
  ], 34)), [
43559
43559
  [nv, A.value]
@@ -43853,7 +43853,7 @@ const Bte = { class: "watermark" }, jte = ["x", "y"], XS = /* @__PURE__ */ Ze({
43853
43853
  }), !E) {
43854
43854
  if (Date.now() - R > D)
43855
43855
  throw console.error("Timeout while waiting for serial to become available"), new Error("Timeout while waiting for serial to become available");
43856
- await new Promise((V) => setTimeout(V, 50));
43856
+ await new Promise((Z) => setTimeout(Z, 50));
43857
43857
  }
43858
43858
  }
43859
43859
  const f = {
@@ -44055,7 +44055,7 @@ const Kte = {
44055
44055
  xmlns: "http://www.w3.org/2000/svg",
44056
44056
  class: "hint-outlines",
44057
44057
  "aria-hidden": "true"
44058
- }, Jte = ["points", "onPointerenter", "onPointerleave", "onClick"], Qte = ["points"], ene = ["points"], tne = ["tabindex", "aria-label", "onPointerenter", "onPointerleave", "onFocus", "onBlur", "onClick"], nne = { class: "hint-label" }, rne = ["onPointerdown"], ane = 16, ine = 0.075, one = 2, sne = 5, lne = 320, cne = 24, une = /* @__PURE__ */ Ze({
44058
+ }, Jte = ["points", "onPointerenter", "onPointermove", "onPointerleave", "onClick"], Qte = ["points"], ene = ["points"], tne = ["tabindex", "aria-label", "onPointerenter", "onPointerleave", "onFocus", "onBlur", "onClick"], nne = { class: "hint-label" }, rne = ["onPointerdown"], ane = 16, ine = 0.075, one = 2, sne = 5, lne = 320, cne = 24, une = /* @__PURE__ */ Ze({
44059
44059
  __name: "FieldHintsLayer",
44060
44060
  props: {
44061
44061
  hitboxes: {},
@@ -44163,10 +44163,10 @@ const Kte = {
44163
44163
  const te = y;
44164
44164
  y = null, te && (Math.hypot(ne.clientX - te.x, ne.clientY - te.y) > sne || (ne.stopPropagation(), r("focus-field", Y.field), I(Y)));
44165
44165
  }
44166
- function V(Y, ne) {
44167
- Y.pointerType !== "touch" && I(ne);
44166
+ function Z(Y, ne) {
44167
+ Y.pointerType !== "touch" && a.value !== ne.key && I(ne);
44168
44168
  }
44169
- function Z(Y) {
44169
+ function V(Y) {
44170
44170
  I(Y);
44171
44171
  }
44172
44172
  function I(Y) {
@@ -44192,7 +44192,8 @@ const Kte = {
44192
44192
  key: `outline-${te.hitbox.key}`,
44193
44193
  points: te.polygon,
44194
44194
  class: We(["hint-outline", { active: ye(a) === te.hitbox.key, editing: w(te.hitbox) }]),
44195
- onPointerenter: (he) => V(he, te.hitbox),
44195
+ onPointerenter: (he) => Z(he, te.hitbox),
44196
+ onPointermove: (he) => Z(he, te.hitbox),
44196
44197
  onPointerleave: (he) => z(te.hitbox.key),
44197
44198
  onPointerdown: f,
44198
44199
  onClick: (he) => N(te.hitbox, he)
@@ -44220,9 +44221,9 @@ const Kte = {
44220
44221
  style: Ot({ left: `${te.anchor.x}px`, top: `${te.anchor.y}px` }),
44221
44222
  tabindex: e.revealed && ye(i)(te.hitbox.key) ? 0 : -1,
44222
44223
  "aria-label": `Edit ${te.label}`,
44223
- onPointerenter: (he) => Z(te.hitbox),
44224
+ onPointerenter: (he) => V(te.hitbox),
44224
44225
  onPointerleave: (he) => z(te.hitbox.key),
44225
- onFocus: (he) => Z(te.hitbox),
44226
+ onFocus: (he) => V(te.hitbox),
44226
44227
  onBlur: (he) => z(te.hitbox.key),
44227
44228
  onClick: Dn((he) => r("activate-field", te.hitbox.field), ["stop"]),
44228
44229
  onPointerdown: ne[0] || (ne[0] = Dn(() => {
@@ -44281,7 +44282,7 @@ const Kte = {
44281
44282
  }, null, 4)) : Re("", !0)
44282
44283
  ], 2));
44283
44284
  }
44284
- }), dne = /* @__PURE__ */ ft(une, [["__scopeId", "data-v-b2960a91"]]);
44285
+ }), dne = /* @__PURE__ */ ft(une, [["__scopeId", "data-v-3d35a838"]]);
44285
44286
  function fne(e, t, n, r, a, i) {
44286
44287
  const o = oe(() => n.value / r.value), u = oe(() => a.value / i.value), s = oe(() => o.value > u.value ? "width" : "height"), c = oe(() => s.value === "width" ? a.value / n.value : i.value / r.value), d = oe(() => {
44287
44288
  const _ = n.value / t.value.x, k = r.value / t.value.y;
@@ -44452,12 +44453,12 @@ const hne = ["role", "aria-label"], pne = { class: "controls-layer" }, mne = {
44452
44453
  } else
44453
44454
  y(Math.min(Math.max(1, ie), d.value.x), Math.min(Math.max(1, ce), d.value.y));
44454
44455
  }
44455
- const N = se(), V = se(0), Z = (Q) => {
44456
- V.value = Math.max(V.value, Q.touches.length);
44456
+ const N = se(), Z = se(0), V = (Q) => {
44457
+ Z.value = Math.max(Z.value, Q.touches.length);
44457
44458
  }, I = (Q) => {
44458
44459
  if (Q.touches.length > 0) return;
44459
- const P = V.value > 1;
44460
- if (V.value = 0, P) {
44460
+ const P = Z.value > 1;
44461
+ if (Z.value = 0, P) {
44461
44462
  N.value = void 0;
44462
44463
  return;
44463
44464
  }
@@ -44544,7 +44545,7 @@ const hne = ["role", "aria-label"], pne = { class: "controls-layer" }, mne = {
44544
44545
  "aria-label": $e.value || void 0,
44545
44546
  onClick: te,
44546
44547
  onDblclick: f,
44547
- onTouchstart: Z,
44548
+ onTouchstart: V,
44548
44549
  onTouchend: I
44549
44550
  }, [
44550
44551
  pe(ye(vS), {
@@ -45249,7 +45250,7 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45249
45250
  (z) => i.handleUpload(z),
45250
45251
  D
45251
45252
  );
45252
- function V(z, M) {
45253
+ function Z(z, M) {
45253
45254
  return typeof z == "string" ? M : {
45254
45255
  innerPos: [0, 0],
45255
45256
  innerRotate: 0,
@@ -45263,12 +45264,12 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45263
45264
  src: M
45264
45265
  };
45265
45266
  }
45266
- function Z(z, M) {
45267
+ function V(z, M) {
45267
45268
  const B = Object.values(z.field.model ?? {})[0];
45268
45269
  if (!B || M.length === 0) return;
45269
45270
  const U = Math.max(0, r.batch.activeIndex.value), Y = r.batch.ensureRowsFrom(U, M.length);
45270
45271
  Y.forEach((ne, te) => {
45271
- ne.data[B] = V(ne.data[B], M[te]);
45272
+ ne.data[B] = Z(ne.data[B], M[te]);
45272
45273
  }), Y.length < M.length && u({ type: "warning", message: `Only ${Y.length} of ${M.length} images were placed — the batch is limited to 1024 rows.`, closeAfter: 6e3 });
45273
45274
  }
45274
45275
  async function I(z, M) {
@@ -45287,7 +45288,7 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45287
45288
  });
45288
45289
  try {
45289
45290
  const he = await f(ne);
45290
- Z(B, he.map((ge) => ge.src));
45291
+ V(B, he.map((ge) => ge.src));
45291
45292
  } catch (he) {
45292
45293
  u({ type: "error", message: "Upload failed. Please try again.", closeAfter: 5e3 }), console.error("[batch] multi upload failed", he);
45293
45294
  } finally {
@@ -45316,7 +45317,7 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45316
45317
  onClick: () => {
45317
45318
  const ne = U.value.split(`
45318
45319
  `).map((te) => te.trim()).filter((te) => /^https?:\/\//i.test(te));
45319
- Y.close(), Z(B, ne);
45320
+ Y.close(), V(B, ne);
45320
45321
  }
45321
45322
  },
45322
45323
  () => "Insert"
@@ -45982,9 +45983,9 @@ var r4 = {};
45982
45983
  };
45983
45984
  function C(D, R) {
45984
45985
  const f = {}, N = R ?? Object.keys(D);
45985
- for (const V of N) {
45986
- const Z = D[V];
45987
- Z.default !== void 0 && (f[V] = { type: "expression", value: t(Z.default) });
45986
+ for (const Z of N) {
45987
+ const V = D[Z];
45988
+ V.default !== void 0 && (f[Z] = { type: "expression", value: t(V.default) });
45988
45989
  }
45989
45990
  return f;
45990
45991
  }
@@ -52172,10 +52173,10 @@ sf.version = {
52172
52173
  if (B.direction === "backward")
52173
52174
  return z.innerType._zod.run(M, B);
52174
52175
  const U = z.innerType._zod.run(M, B);
52175
- return U instanceof Promise ? U.then(V) : V(U);
52176
+ return U instanceof Promise ? U.then(Z) : Z(U);
52176
52177
  };
52177
52178
  });
52178
- function V(I) {
52179
+ function Z(I) {
52179
52180
  return I.value = Object.freeze(I.value), I;
52180
52181
  }
52181
52182
  e.$ZodTemplateLiteral = i.$constructor("$ZodTemplateLiteral", (I, z) => {
@@ -52255,11 +52256,11 @@ sf.version = {
52255
52256
  a.$ZodCheck.init(I, z), e.$ZodType.init(I, z), I._zod.parse = (M, B) => M, I._zod.check = (M) => {
52256
52257
  const B = M.value, U = z.fn(B);
52257
52258
  if (U instanceof Promise)
52258
- return U.then((Y) => Z(Y, M, B, I));
52259
- Z(U, M, B, I);
52259
+ return U.then((Y) => V(Y, M, B, I));
52260
+ V(U, M, B, I);
52260
52261
  };
52261
52262
  });
52262
- function Z(I, z, M, B) {
52263
+ function V(I, z, M, B) {
52263
52264
  if (!I) {
52264
52265
  const U = {
52265
52266
  code: "custom",
@@ -57878,13 +57879,13 @@ var cde = Yb.exports;
57878
57879
  Object.defineProperty(e, "nl", { enumerable: !0, get: function() {
57879
57880
  return t(N).default;
57880
57881
  } });
57881
- var V = Wue;
57882
+ var Z = Wue;
57882
57883
  Object.defineProperty(e, "no", { enumerable: !0, get: function() {
57883
- return t(V).default;
57884
+ return t(Z).default;
57884
57885
  } });
57885
- var Z = Xue;
57886
+ var V = Xue;
57886
57887
  Object.defineProperty(e, "ota", { enumerable: !0, get: function() {
57887
- return t(Z).default;
57888
+ return t(V).default;
57888
57889
  } });
57889
57890
  var I = Yue;
57890
57891
  Object.defineProperty(e, "ps", { enumerable: !0, get: function() {
@@ -59734,7 +59735,7 @@ function G4() {
59734
59735
  if ($ != null) for (var me in $) me !== "default" && Object.prototype.hasOwnProperty.call($, me) && t(ee, $, me);
59735
59736
  return n(ee, $), ee;
59736
59737
  };
59737
- Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodTransform = e.ZodFile = e.ZodLiteral = e.ZodEnum = e.ZodSet = e.ZodMap = e.ZodRecord = e.ZodTuple = e.ZodIntersection = e.ZodDiscriminatedUnion = e.ZodUnion = e.ZodObject = e.ZodArray = e.ZodDate = e.ZodVoid = e.ZodNever = e.ZodUnknown = e.ZodAny = e.ZodNull = e.ZodUndefined = e.ZodSymbol = e.ZodBigIntFormat = e.ZodBigInt = e.ZodBoolean = e.ZodNumberFormat = e.ZodNumber = e.ZodCustomStringFormat = e.ZodJWT = e.ZodE164 = e.ZodBase64URL = e.ZodBase64 = e.ZodCIDRv6 = e.ZodCIDRv4 = e.ZodIPv6 = e.ZodIPv4 = e.ZodKSUID = e.ZodXID = e.ZodULID = e.ZodCUID2 = e.ZodCUID = e.ZodNanoID = e.ZodEmoji = e.ZodURL = e.ZodUUID = e.ZodGUID = e.ZodEmail = e.ZodStringFormat = e.ZodString = e._ZodString = e.ZodType = void 0, e.stringbool = e.ZodCustom = e.ZodFunction = e.ZodPromise = e.ZodLazy = e.ZodTemplateLiteral = e.ZodReadonly = e.ZodCodec = e.ZodPipe = e.ZodNaN = e.ZodCatch = e.ZodSuccess = e.ZodNonOptional = e.ZodPrefault = e.ZodDefault = e.ZodNullable = e.ZodOptional = void 0, e.string = c, e.email = d, e.guid = h, e.uuid = l, e.uuidv4 = p, e.uuidv6 = m, e.uuidv7 = b, e.url = y, e.httpUrl = w, e.emoji = C, e.nanoid = x, e.cuid = _, e.cuid2 = k, e.ulid = A, e.xid = T, e.ksuid = S, e.ipv4 = L, e.ipv6 = E, e.cidrv4 = D, e.cidrv6 = R, e.base64 = f, e.base64url = N, e.e164 = V, e.jwt = Z, e.stringFormat = I, e.hostname = z, e.hex = M, e.hash = B, e.number = U, e.int = Y, e.float32 = ne, e.float64 = te, e.int32 = he, e.uint32 = ge, e.boolean = $e, e.bigint = Q, e.int64 = P, e.uint64 = j, e.symbol = G, e.undefined = ie, e.null = ce, e.any = de, e.unknown = we, e.never = Be, e.void = Se, e.date = Ce, e.array = et, e.keyof = it, e.object = Ye, e.strictObject = rt, e.looseObject = be, e.union = Te, e.discriminatedUnion = lt, e.intersection = Pe, e.tuple = Ne, e.record = pt, e.partialRecord = yt, e.map = wt, e.set = Mt, e.enum = Dt, e.nativeEnum = Ft, e.literal = ze, e.file = Xe, e.transform = ct, e.optional = Tt, e.nullable = Nt, e.nullish = Kt, e._default = Qt, e.prefault = sn, e.nonoptional = En, e.success = Rn, e.catch = Kn, e.nan = Jn, e.pipe = nr, e.codec = Sr, e.readonly = Xa, e.templateLiteral = xi, e.lazy = aa, e.promise = Ca, e._function = Ir, e.function = Ir, e._function = Ir, e.function = Ir, e.check = ia, e.custom = De, e.refine = Ve, e.superRefine = jt, e.instanceof = en, e.json = je, e.preprocess = Je;
59738
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodTransform = e.ZodFile = e.ZodLiteral = e.ZodEnum = e.ZodSet = e.ZodMap = e.ZodRecord = e.ZodTuple = e.ZodIntersection = e.ZodDiscriminatedUnion = e.ZodUnion = e.ZodObject = e.ZodArray = e.ZodDate = e.ZodVoid = e.ZodNever = e.ZodUnknown = e.ZodAny = e.ZodNull = e.ZodUndefined = e.ZodSymbol = e.ZodBigIntFormat = e.ZodBigInt = e.ZodBoolean = e.ZodNumberFormat = e.ZodNumber = e.ZodCustomStringFormat = e.ZodJWT = e.ZodE164 = e.ZodBase64URL = e.ZodBase64 = e.ZodCIDRv6 = e.ZodCIDRv4 = e.ZodIPv6 = e.ZodIPv4 = e.ZodKSUID = e.ZodXID = e.ZodULID = e.ZodCUID2 = e.ZodCUID = e.ZodNanoID = e.ZodEmoji = e.ZodURL = e.ZodUUID = e.ZodGUID = e.ZodEmail = e.ZodStringFormat = e.ZodString = e._ZodString = e.ZodType = void 0, e.stringbool = e.ZodCustom = e.ZodFunction = e.ZodPromise = e.ZodLazy = e.ZodTemplateLiteral = e.ZodReadonly = e.ZodCodec = e.ZodPipe = e.ZodNaN = e.ZodCatch = e.ZodSuccess = e.ZodNonOptional = e.ZodPrefault = e.ZodDefault = e.ZodNullable = e.ZodOptional = void 0, e.string = c, e.email = d, e.guid = h, e.uuid = l, e.uuidv4 = p, e.uuidv6 = m, e.uuidv7 = b, e.url = y, e.httpUrl = w, e.emoji = C, e.nanoid = x, e.cuid = _, e.cuid2 = k, e.ulid = A, e.xid = T, e.ksuid = S, e.ipv4 = L, e.ipv6 = E, e.cidrv4 = D, e.cidrv6 = R, e.base64 = f, e.base64url = N, e.e164 = Z, e.jwt = V, e.stringFormat = I, e.hostname = z, e.hex = M, e.hash = B, e.number = U, e.int = Y, e.float32 = ne, e.float64 = te, e.int32 = he, e.uint32 = ge, e.boolean = $e, e.bigint = Q, e.int64 = P, e.uint64 = j, e.symbol = G, e.undefined = ie, e.null = ce, e.any = de, e.unknown = we, e.never = Be, e.void = Se, e.date = Ce, e.array = et, e.keyof = it, e.object = Ye, e.strictObject = rt, e.looseObject = be, e.union = Te, e.discriminatedUnion = lt, e.intersection = Pe, e.tuple = Ne, e.record = pt, e.partialRecord = yt, e.map = wt, e.set = Mt, e.enum = Dt, e.nativeEnum = Ft, e.literal = ze, e.file = Xe, e.transform = ct, e.optional = Tt, e.nullable = Nt, e.nullish = Kt, e._default = Qt, e.prefault = sn, e.nonoptional = En, e.success = Rn, e.catch = Kn, e.nan = Jn, e.pipe = nr, e.codec = Sr, e.readonly = Xa, e.templateLiteral = xi, e.lazy = aa, e.promise = Ca, e._function = Ir, e.function = Ir, e._function = Ir, e.function = Ir, e.check = ia, e.custom = De, e.refine = Ve, e.superRefine = jt, e.instanceof = en, e.json = je, e.preprocess = Je;
59738
59739
  const a = r(Ma), i = Ma, o = r(H4), u = r(Jb()), s = r(Zn);
59739
59740
  e.ZodType = a.$constructor("ZodType", ($, ee) => (a.$ZodType.init($, ee), $.def = ee, $.type = ee.type, Object.defineProperty($, "_def", { value: ee }), $.check = (...me) => $.clone(i.util.mergeDefs(ee, {
59740
59741
  checks: [
@@ -59888,13 +59889,13 @@ function G4() {
59888
59889
  e.ZodE164 = a.$constructor("ZodE164", ($, ee) => {
59889
59890
  a.$ZodE164.init($, ee), e.ZodStringFormat.init($, ee);
59890
59891
  });
59891
- function V($) {
59892
+ function Z($) {
59892
59893
  return a._e164(e.ZodE164, $);
59893
59894
  }
59894
59895
  e.ZodJWT = a.$constructor("ZodJWT", ($, ee) => {
59895
59896
  a.$ZodJWT.init($, ee), e.ZodStringFormat.init($, ee);
59896
59897
  });
59897
- function Z($) {
59898
+ function V($) {
59898
59899
  return a._jwt(e.ZodJWT, $);
59899
59900
  }
59900
59901
  e.ZodCustomStringFormat = a.$constructor("ZodCustomStringFormat", ($, ee) => {
@@ -60661,14 +60662,14 @@ function xfe(e) {
60661
60662
  * }
60662
60663
  *)
60663
60664
  */
60664
- _e(this, "openapi", ({ middleware: D, hide: R, ...f }, N, V = void 0) => {
60665
- var Z, I, z, M, B;
60665
+ _e(this, "openapi", ({ middleware: D, hide: R, ...f }, N, Z = void 0) => {
60666
+ var V, I, z, M, B;
60666
60667
  R || this.openAPIRegistry.registerPath(f);
60667
- const U = V ?? (($e, Q) => {
60668
+ const U = Z ?? (($e, Q) => {
60668
60669
  const P = pn(this, A, nz).call(this);
60669
60670
  return P ? P($e, Q) : void 0;
60670
60671
  }), Y = [];
60671
- if (!((Z = f.request) === null || Z === void 0) && Z.query) {
60672
+ if (!((V = f.request) === null || V === void 0) && V.query) {
60672
60673
  const $e = (0, n.zValidator)("query", f.request.query, U);
60673
60674
  Y.push($e);
60674
60675
  }
@@ -60753,18 +60754,18 @@ function xfe(e) {
60753
60754
  return this._basePath ? p(f, this._basePath) : f;
60754
60755
  });
60755
60756
  _e(this, "doc", (D, R, f) => this.get(D, (N) => {
60756
- const V = typeof R == "function" ? R(N) : R, Z = typeof f == "function" ? f(N) : f;
60757
+ const Z = typeof R == "function" ? R(N) : R, V = typeof f == "function" ? f(N) : f;
60757
60758
  try {
60758
- const I = this.getOpenAPIDocument(V, Z);
60759
+ const I = this.getOpenAPIDocument(Z, V);
60759
60760
  return N.json(I);
60760
60761
  } catch (I) {
60761
60762
  return N.json(I, 500);
60762
60763
  }
60763
60764
  }));
60764
60765
  _e(this, "doc31", (D, R, f) => this.get(D, (N) => {
60765
- const V = typeof R == "function" ? R(N) : R, Z = typeof f == "function" ? f(N) : f;
60766
+ const Z = typeof R == "function" ? R(N) : R, V = typeof f == "function" ? f(N) : f;
60766
60767
  try {
60767
- const I = this.getOpenAPI31Document(V, Z);
60768
+ const I = this.getOpenAPI31Document(Z, V);
60768
60769
  return N.json(I);
60769
60770
  } catch (I) {
60770
60771
  return N.json(I, 500);
@@ -60791,11 +60792,11 @@ function xfe(e) {
60791
60792
  });
60792
60793
  return;
60793
60794
  case "schema":
60794
- var V;
60795
- return this.openAPIRegistry.register((V = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || V === void 0 ? void 0 : V.refId, N.schema);
60796
- case "parameter":
60797
60795
  var Z;
60798
- return this.openAPIRegistry.registerParameter((Z = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || Z === void 0 ? void 0 : Z.refId, N.schema);
60796
+ return this.openAPIRegistry.register((Z = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || Z === void 0 ? void 0 : Z.refId, N.schema);
60797
+ case "parameter":
60798
+ var V;
60799
+ return this.openAPIRegistry.registerParameter((V = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || V === void 0 ? void 0 : V.refId, N.schema);
60799
60800
  default:
60800
60801
  throw new Error(`Unknown registry type: ${N}`);
60801
60802
  }
@@ -60804,11 +60805,11 @@ function xfe(e) {
60804
60805
  basePath(D) {
60805
60806
  const R = super.basePath(D), f = new S({ defaultHook: this.defaultHook });
60806
60807
  f.router = R.router, f.routes = R.routes;
60807
- const { getPath: N } = R, V = R;
60808
+ const { getPath: N } = R, Z = R;
60808
60809
  return Object.assign(f, {
60809
60810
  getPath: N,
60810
- errorHandler: V.errorHandler,
60811
- _basePath: V._basePath
60811
+ errorHandler: Z.errorHandler,
60812
+ _basePath: Z._basePath
60812
60813
  }), f;
60813
60814
  }
60814
60815
  }, k = new WeakMap(), A = new WeakSet(), nz = function() {
@@ -61515,16 +61516,16 @@ var z0 = {}, im = {};
61515
61516
  };
61516
61517
  })(z0);
61517
61518
  (function(e) {
61518
- var t = J && J.__createBinding || (Object.create ? function(N, V, Z, I) {
61519
- I === void 0 && (I = Z);
61520
- var z = Object.getOwnPropertyDescriptor(V, Z);
61521
- (!z || ("get" in z ? !V.__esModule : z.writable || z.configurable)) && (z = { enumerable: !0, get: function() {
61522
- return V[Z];
61519
+ var t = J && J.__createBinding || (Object.create ? function(N, Z, V, I) {
61520
+ I === void 0 && (I = V);
61521
+ var z = Object.getOwnPropertyDescriptor(Z, V);
61522
+ (!z || ("get" in z ? !Z.__esModule : z.writable || z.configurable)) && (z = { enumerable: !0, get: function() {
61523
+ return Z[V];
61523
61524
  } }), Object.defineProperty(N, I, z);
61524
- } : function(N, V, Z, I) {
61525
- I === void 0 && (I = Z), N[I] = V[Z];
61526
- }), n = J && J.__exportStar || function(N, V) {
61527
- for (var Z in N) Z !== "default" && !Object.prototype.hasOwnProperty.call(V, Z) && t(V, N, Z);
61525
+ } : function(N, Z, V, I) {
61526
+ I === void 0 && (I = V), N[I] = Z[V];
61527
+ }), n = J && J.__exportStar || function(N, Z) {
61528
+ for (var V in N) V !== "default" && !Object.prototype.hasOwnProperty.call(Z, V) && t(Z, N, V);
61528
61529
  };
61529
61530
  Object.defineProperty(e, "__esModule", { value: !0 }), e.billingEnvQuerySchema = e.BILLING_V3_NOTIFICATIONS = e.billingAllowanceExceededNotificationSchema = e.billingCheckoutResponseSchema = e.billingCheckoutRequestSchema = e.modifyAddOnsResponseSchema = e.modifyAddOnsRequestSchema = e.billingStateResponseSchema = e.usageSummarySchema = e.usageCounterRowSchema = e.creditLedgerRowSchema = e.billingScopeSchema = e.payingUserSchema = e.payingOrgSchema = e.addOnInvoiceLineSchema = e.entitlementStateSchema = e.GRACE_PERIOD_SECONDS = e.BILLING_V3_SUBSCRIPTION_METADATA_KEYS = e.BILLING_V3_INVOICE_METADATA_KEYS = e.INVOICE_KIND_ADDON_PURCHASE = e.ADD_ONS = e.PRO_BASE_PRICE_ID = e.PRO_BASE_PRODUCT_ID = e.stripeIdPairSchema = e.UNLIMITED_CREDITS = e.enterpriseContractSchema = e.APPSUMO_MONTHLY_ALLOWANCE_CENTI = e.PRO_TIER_BASE = e.FREE_TIER_BASE = e.storedTierSchema = e.tierConfigSchema = e.TIER_DISPLAY_NAMES = e.subscriptionDiscountSchema = e.DEFAULT_VIDEO_BATCH_MAX_SIZE = e.upcomingChangeSchema = e.ZERO_ASSISTANT_BUDGET = e.PRO_ASSISTANT_BUDGET = e.FREE_ASSISTANT_BUDGET = e.assistantBudgetSchema = e.ASSISTANT_WEEKLY_WINDOW_SECONDS = e.ASSISTANT_ROLLING_WINDOW_SECONDS = e.addOnKindSchema = e.addOnKinds = e.tierNameSchema = e.tierNames = e.tierSourceSchema = e.tierSources = e.creditWindowKindSchema = e.creditWindowKinds = e.EFFECTIVELY_INFINITE_THRESHOLD = void 0, e.billingInvoicesResponseSchema = e.billingInvoiceListItemSchema = e.billingInvoicesQuerySchema = e.billingCancelRequestSchema = e.billingOkResponseSchema = e.billingPortalResponseSchema = e.billingPortalRequestSchema = e.billingStateEnvelopeSchema = e.billingStateQuerySchema = void 0, e.isEffectivelyInfinite = o, e.computeUsageWindow = c, e.allowsDisableBranding = h, e.videoBatchMaxSize = l, e.tierDisplayName = p, e.makeFreeTierConfig = b, e.assistantBudgetFor = y, e.makeAppSumoTierConfig = w, e.assistantBudgetFromContract = C, e.assistantBudgetToContract = x, e.makeEnterpriseTierConfig = _, e.contractFromTierConfig = k, e.addOnByProductId = A, e.tierFromSubscriptionItems = T, e.evaluateEntitlement = S, e.displayCreditsUsed = L, e.computeAddOnInvoiceLines = E, e.makeBillingScopeKey = D, e.parseBillingScopeKey = R, e.conversionBillingKey = f;
61530
61531
  const r = Wt, a = bl, i = z0;
@@ -61540,27 +61541,27 @@ var z0 = {}, im = {};
61540
61541
  /** AppSumo: monthly, anchored on the license claim date. */
61541
61542
  "monthly"
61542
61543
  ], e.creditWindowKindSchema = r.z.enum(e.creditWindowKinds);
61543
- function u(N, V) {
61544
- const Z = N.getUTCDate(), I = new Date(Date.UTC(N.getUTCFullYear(), N.getUTCMonth() + V, 1, N.getUTCHours(), N.getUTCMinutes(), N.getUTCSeconds())), z = new Date(Date.UTC(I.getUTCFullYear(), I.getUTCMonth() + 1, 0)).getUTCDate();
61545
- return I.setUTCDate(Math.min(Z, z)), I;
61546
- }
61547
- function s(N, V, Z) {
61548
- const I = new Date(N * 1e3), z = new Date(V * 1e3);
61549
- let M = Math.floor(((z.getUTCFullYear() - I.getUTCFullYear()) * 12 + (z.getUTCMonth() - I.getUTCMonth())) / Z), B = u(I, M * Z);
61550
- B.getTime() > z.getTime() && (M -= 1, B = u(I, M * Z));
61551
- const U = u(I, (M + 1) * Z);
61544
+ function u(N, Z) {
61545
+ const V = N.getUTCDate(), I = new Date(Date.UTC(N.getUTCFullYear(), N.getUTCMonth() + Z, 1, N.getUTCHours(), N.getUTCMinutes(), N.getUTCSeconds())), z = new Date(Date.UTC(I.getUTCFullYear(), I.getUTCMonth() + 1, 0)).getUTCDate();
61546
+ return I.setUTCDate(Math.min(V, z)), I;
61547
+ }
61548
+ function s(N, Z, V) {
61549
+ const I = new Date(N * 1e3), z = new Date(Z * 1e3);
61550
+ let M = Math.floor(((z.getUTCFullYear() - I.getUTCFullYear()) * 12 + (z.getUTCMonth() - I.getUTCMonth())) / V), B = u(I, M * V);
61551
+ B.getTime() > z.getTime() && (M -= 1, B = u(I, M * V));
61552
+ const U = u(I, (M + 1) * V);
61552
61553
  return { startSeconds: Math.floor(B.getTime() / 1e3), endSeconds: Math.floor(U.getTime() / 1e3) };
61553
61554
  }
61554
- function c(N, V) {
61555
- const { window: Z, anchorSeconds: I } = N.credits;
61556
- if (Z === "stripe_cycle") {
61555
+ function c(N, Z) {
61556
+ const { window: V, anchorSeconds: I } = N.credits;
61557
+ if (V === "stripe_cycle") {
61557
61558
  if (!N.period)
61558
61559
  throw new Error("tier.credits.window is stripe_cycle but tier.period is missing");
61559
61560
  return { startSeconds: N.period.startSeconds, endSeconds: N.period.endSeconds };
61560
61561
  }
61561
61562
  if (I == null)
61562
- throw new Error(`tier.credits.window is ${Z} but credits.anchorSeconds is missing`);
61563
- return s(I, V, Z === "anniversary" ? 12 : 1);
61563
+ throw new Error(`tier.credits.window is ${V} but credits.anchorSeconds is missing`);
61564
+ return s(I, Z, V === "anniversary" ? 12 : 1);
61564
61565
  }
61565
61566
  e.tierSources = ["stripe", "manual"], e.tierSourceSchema = r.z.enum(e.tierSources), e.tierNames = ["free", "pro", "enterprise", "appsumo"], e.tierNameSchema = r.z.enum(e.tierNames), e.addOnKinds = ["credits", "seats", "templateSlots", "assetSlots"], e.addOnKindSchema = r.z.enum(e.addOnKinds), e.ASSISTANT_ROLLING_WINDOW_SECONDS = 5 * 60 * 60, e.ASSISTANT_WEEKLY_WINDOW_SECONDS = 7 * 24 * 60 * 60, e.assistantBudgetSchema = r.z.object({
61566
61567
  /** Spend allowed inside the short rolling window, in micro-USD (1 $ = 1_000_000). */
@@ -61610,8 +61611,8 @@ var z0 = {}, im = {};
61610
61611
  appsumo: "AppSumo"
61611
61612
  };
61612
61613
  function p(N) {
61613
- var V;
61614
- return ((V = N.label) == null ? void 0 : V.trim()) || e.TIER_DISPLAY_NAMES[N.name] || N.name;
61614
+ var Z;
61615
+ return ((Z = N.label) == null ? void 0 : Z.trim()) || e.TIER_DISPLAY_NAMES[N.name] || N.name;
61615
61616
  }
61616
61617
  const m = r.z.object({
61617
61618
  /** 'stripe' = TTL cache of deriveTierFromStripe. 'manual' = authoritative, hand-written. */
@@ -61743,15 +61744,15 @@ var z0 = {}, im = {};
61743
61744
  4: 2e4 * i.CENTICREDITS_PER_CREDIT,
61744
61745
  5: 5e4 * i.CENTICREDITS_PER_CREDIT
61745
61746
  };
61746
- function w(N, V) {
61747
- const Z = e.APPSUMO_MONTHLY_ALLOWANCE_CENTI[N];
61748
- if (Z === void 0)
61747
+ function w(N, Z) {
61748
+ const V = e.APPSUMO_MONTHLY_ALLOWANCE_CENTI[N];
61749
+ if (V === void 0)
61749
61750
  throw new Error(`Unknown AppSumo tier level ${N}`);
61750
61751
  return e.tierConfigSchema.parse({
61751
61752
  source: "manual",
61752
61753
  expiresAt: null,
61753
61754
  name: "appsumo",
61754
- credits: { allowanceCenti: Z, window: "monthly", anchorSeconds: V },
61755
+ credits: { allowanceCenti: V, window: "monthly", anchorSeconds: Z },
61755
61756
  seats: e.FREE_TIER_BASE.seats,
61756
61757
  templateSlots: e.FREE_TIER_BASE.templateSlots,
61757
61758
  assetSlots: e.FREE_TIER_BASE.assetSlots
@@ -61814,28 +61815,28 @@ var z0 = {}, im = {};
61814
61815
  }
61815
61816
  e.UNLIMITED_CREDITS = 999999999;
61816
61817
  function _(N) {
61817
- const V = e.enterpriseContractSchema.parse(N);
61818
+ const Z = e.enterpriseContractSchema.parse(N);
61818
61819
  return e.tierConfigSchema.parse({
61819
61820
  source: "manual",
61820
61821
  expiresAt: null,
61821
- label: V.label,
61822
- name: V.name,
61822
+ label: Z.label,
61823
+ name: Z.name,
61823
61824
  credits: {
61824
61825
  // A sentinel credit count must stay a sentinel after the ×100: multiplying
61825
61826
  // 999 999 999 credits would overflow past what anyone means by it, so the
61826
61827
  // "unlimited" case is carried across verbatim.
61827
- allowanceCenti: o(V.credits) ? V.credits : V.credits * i.CENTICREDITS_PER_CREDIT,
61828
- window: V.window,
61829
- anchorSeconds: V.anchorSeconds
61828
+ allowanceCenti: o(Z.credits) ? Z.credits : Z.credits * i.CENTICREDITS_PER_CREDIT,
61829
+ window: Z.window,
61830
+ anchorSeconds: Z.anchorSeconds
61830
61831
  },
61831
- seats: V.seats,
61832
- templateSlots: V.templateSlots,
61833
- assetSlots: V.assetSlots,
61834
- annualPriceEur: V.annualPriceEur,
61835
- allowDisableBranding: V.allowDisableBranding,
61836
- cancelsAtPeriodEnd: V.cancelsAtPeriodEnd || void 0,
61837
- videoBatchMaxSize: V.videoBatchMaxSize,
61838
- assistant: V.assistant ? C(V.assistant) : void 0
61832
+ seats: Z.seats,
61833
+ templateSlots: Z.templateSlots,
61834
+ assetSlots: Z.assetSlots,
61835
+ annualPriceEur: Z.annualPriceEur,
61836
+ allowDisableBranding: Z.allowDisableBranding,
61837
+ cancelsAtPeriodEnd: Z.cancelsAtPeriodEnd || void 0,
61838
+ videoBatchMaxSize: Z.videoBatchMaxSize,
61839
+ assistant: Z.assistant ? C(Z.assistant) : void 0
61839
61840
  });
61840
61841
  }
61841
61842
  function k(N) {
@@ -61903,10 +61904,10 @@ var z0 = {}, im = {};
61903
61904
  priceId: { dev: "price_1U9O1ILGRgBAxN0CPasJlCe1", prod: "price_1UDNX2LGRgBAxN0CqLGF7FfH" }
61904
61905
  }
61905
61906
  };
61906
- function A(N, V) {
61907
- for (const Z of e.addOnKinds)
61908
- if (e.ADD_ONS[Z].productId[N] === V)
61909
- return e.ADD_ONS[Z];
61907
+ function A(N, Z) {
61908
+ for (const V of e.addOnKinds)
61909
+ if (e.ADD_ONS[V].productId[N] === Z)
61910
+ return e.ADD_ONS[V];
61910
61911
  return null;
61911
61912
  }
61912
61913
  e.INVOICE_KIND_ADDON_PURCHASE = "addon_purchase", e.BILLING_V3_INVOICE_METADATA_KEYS = {
@@ -61927,25 +61928,25 @@ var z0 = {}, im = {};
61927
61928
  function T(N) {
61928
61929
  if (!N.items.some((I) => I.productId === e.PRO_BASE_PRODUCT_ID[N.env]))
61929
61930
  return null;
61930
- const Z = { credits: 0, seats: 0, templateSlots: 0, assetSlots: 0 };
61931
+ const V = { credits: 0, seats: 0, templateSlots: 0, assetSlots: 0 };
61931
61932
  for (const I of N.items) {
61932
61933
  const z = A(N.env, I.productId);
61933
- z && (Z[z.kind] += I.quantity);
61934
+ z && (V[z.kind] += I.quantity);
61934
61935
  }
61935
61936
  return e.tierConfigSchema.parse({
61936
61937
  source: "stripe",
61937
61938
  expiresAt: N.expiresAtSeconds,
61938
61939
  name: "pro",
61939
61940
  credits: {
61940
- allowanceCenti: e.PRO_TIER_BASE.allowanceCenti + Z.credits * i.CENTICREDITS_PER_CREDIT,
61941
+ allowanceCenti: e.PRO_TIER_BASE.allowanceCenti + V.credits * i.CENTICREDITS_PER_CREDIT,
61941
61942
  window: "stripe_cycle"
61942
61943
  },
61943
61944
  period: { startSeconds: N.periodStartSeconds, endSeconds: N.periodEndSeconds },
61944
61945
  cancelsAtPeriodEnd: N.cancelsAtPeriodEnd || void 0,
61945
- seats: e.PRO_TIER_BASE.seats + Z.seats,
61946
- templateSlots: e.PRO_TIER_BASE.templateSlots + Z.templateSlots,
61947
- assetSlots: e.PRO_TIER_BASE.assetSlots + Z.assetSlots,
61948
- addOnUnits: Z,
61946
+ seats: e.PRO_TIER_BASE.seats + V.seats,
61947
+ templateSlots: e.PRO_TIER_BASE.templateSlots + V.templateSlots,
61948
+ assetSlots: e.PRO_TIER_BASE.assetSlots + V.assetSlots,
61949
+ addOnUnits: V,
61949
61950
  upcomingChanges: N.upcomingChanges,
61950
61951
  discount: N.discount
61951
61952
  });
@@ -61969,12 +61970,12 @@ var z0 = {}, im = {};
61969
61970
  alertLevel: r.z.enum(["none", "approaching", "exceeded", "watermark"])
61970
61971
  });
61971
61972
  function S(N) {
61972
- const { tier: V, usedCenti: Z, nowSeconds: I } = N, z = V.credits.allowanceCenti, M = Z > z, B = z > 0 ? Z / z : Z > 0 ? Number.POSITIVE_INFINITY : 0;
61973
- if (V.name === "enterprise")
61973
+ const { tier: Z, usedCenti: V, nowSeconds: I } = N, z = Z.credits.allowanceCenti, M = V > z, B = z > 0 ? V / z : V > 0 ? Number.POSITIVE_INFINITY : 0;
61974
+ if (Z.name === "enterprise")
61974
61975
  return {
61975
61976
  allowanceCenti: z,
61976
- usedCenti: Z,
61977
- remainingCenti: Math.max(0, z - Z),
61977
+ usedCenti: V,
61978
+ remainingCenti: Math.max(0, z - V),
61978
61979
  ratioUsed: B,
61979
61980
  exceeded: M,
61980
61981
  crossedAtSeconds: null,
@@ -61986,8 +61987,8 @@ var z0 = {}, im = {};
61986
61987
  const U = M ? N.firstExceededAtSeconds : null, Y = U != null ? U + e.GRACE_PERIOD_SECONDS : null, ne = Y != null && I >= Y, te = M && ne, he = M && !ne, ge = te ? "watermark" : M ? "exceeded" : B >= 0.8 ? "approaching" : "none";
61987
61988
  return {
61988
61989
  allowanceCenti: z,
61989
- usedCenti: Z,
61990
- remainingCenti: Math.max(0, z - Z),
61990
+ usedCenti: V,
61991
+ remainingCenti: Math.max(0, z - V),
61991
61992
  ratioUsed: B,
61992
61993
  exceeded: M,
61993
61994
  crossedAtSeconds: U,
@@ -61997,13 +61998,13 @@ var z0 = {}, im = {};
61997
61998
  alertLevel: ge
61998
61999
  };
61999
62000
  }
62000
- function L(N, V) {
62001
- if (N > V)
62001
+ function L(N, Z) {
62002
+ if (N > Z)
62002
62003
  return Math.ceil(N / i.CENTICREDITS_PER_CREDIT);
62003
- if (N === V)
62004
- return Math.round(V / i.CENTICREDITS_PER_CREDIT);
62005
- const Z = Math.floor(N / i.CENTICREDITS_PER_CREDIT), I = Math.round(V / i.CENTICREDITS_PER_CREDIT);
62006
- return Math.min(Z, Math.max(0, I - 1));
62004
+ if (N === Z)
62005
+ return Math.round(Z / i.CENTICREDITS_PER_CREDIT);
62006
+ const V = Math.floor(N / i.CENTICREDITS_PER_CREDIT), I = Math.round(Z / i.CENTICREDITS_PER_CREDIT);
62007
+ return Math.min(V, Math.max(0, I - 1));
62007
62008
  }
62008
62009
  e.addOnInvoiceLineSchema = r.z.object({
62009
62010
  kind: e.addOnKindSchema,
@@ -62015,7 +62016,7 @@ var z0 = {}, im = {};
62015
62016
  amountEurCents: r.z.number().int()
62016
62017
  });
62017
62018
  function E(N) {
62018
- const V = Math.max(1, N.periodEndSeconds - N.periodStartSeconds), I = Math.min(V, Math.max(0, N.periodEndSeconds - N.nowSeconds)) / V, z = [];
62019
+ const Z = Math.max(1, N.periodEndSeconds - N.periodStartSeconds), I = Math.min(Z, Math.max(0, N.periodEndSeconds - N.nowSeconds)) / Z, z = [];
62019
62020
  for (const Y of e.addOnKinds) {
62020
62021
  const ne = N.deltas[Y] ?? 0;
62021
62022
  if (!Number.isInteger(ne) || ne <= 0)
@@ -62052,15 +62053,15 @@ var z0 = {}, im = {};
62052
62053
  function R(N) {
62053
62054
  if (!N)
62054
62055
  return null;
62055
- const V = N.indexOf(":");
62056
- if (V <= 0)
62056
+ const Z = N.indexOf(":");
62057
+ if (Z <= 0)
62057
62058
  return null;
62058
- const Z = N.slice(0, V), I = N.slice(V + 1);
62059
+ const V = N.slice(0, Z), I = N.slice(Z + 1);
62059
62060
  if (!I)
62060
62061
  return null;
62061
- if (Z === "user")
62062
+ if (V === "user")
62062
62063
  return { kind: "user", userId: I };
62063
- if (Z !== "org")
62064
+ if (V !== "org")
62064
62065
  return null;
62065
62066
  const z = Number(I);
62066
62067
  return Number.isSafeInteger(z) && z > 0 ? { kind: "org", orgId: z } : null;
@@ -62090,8 +62091,8 @@ var z0 = {}, im = {};
62090
62091
  centicredits: r.z.number().int(),
62091
62092
  updated_at: r.z.number().int()
62092
62093
  });
62093
- function f(N, V, Z) {
62094
- return `conv:${N}:${V}:${Z}`;
62094
+ function f(N, Z, V) {
62095
+ return `conv:${N}:${Z}:${V}`;
62095
62096
  }
62096
62097
  e.usageSummarySchema = r.z.object({
62097
62098
  usedCenti: r.z.number(),
@@ -66798,12 +66799,12 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66798
66799
  "scale_out_of_range"
66799
66800
  ]);
66800
66801
  function y(x) {
66801
- const _ = x.split("/").filter((Z) => Z.length > 0);
66802
+ const _ = x.split("/").filter((V) => V.length > 0);
66802
66803
  if (_.length < 1 || _.length > 3)
66803
66804
  return { ok: !1, reason: "malformed_path" };
66804
66805
  let k;
66805
66806
  try {
66806
- k = _.map((Z) => decodeURIComponent(Z));
66807
+ k = _.map((V) => decodeURIComponent(V));
66807
66808
  } catch {
66808
66809
  return { ok: !1, reason: "malformed_path" };
66809
66810
  }
@@ -66815,23 +66816,23 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66815
66816
  if (T) {
66816
66817
  if (E = k.length === 3 ? k[1] : k[0], !n.ALIAS_PATTERN.test(E))
66817
66818
  return { ok: !1, reason: "invalid_alias" };
66818
- const Z = m.exec(L) ?? b.exec(L);
66819
- if (!Z)
66819
+ const V = m.exec(L) ?? b.exec(L);
66820
+ if (!V)
66820
66821
  return { ok: !1, reason: "invalid_canvas" };
66821
- [, D, R, f] = Z;
66822
+ [, D, R, f] = V;
66822
66823
  } else {
66823
- const Z = p.exec(L);
66824
- if (!Z)
66824
+ const V = p.exec(L);
66825
+ if (!V)
66825
66826
  return { ok: !1, reason: "invalid_alias" };
66826
- if ([, E, R, f] = Z, !n.ALIAS_PATTERN.test(E))
66827
+ if ([, E, R, f] = V, !n.ALIAS_PATTERN.test(E))
66827
66828
  return { ok: !1, reason: "invalid_alias" };
66828
66829
  D = null;
66829
66830
  }
66830
66831
  const N = a(R);
66831
66832
  if (!N)
66832
66833
  return { ok: !1, reason: "unknown_format" };
66833
- const V = f === void 0 ? 1 : Number(f);
66834
- return !Number.isFinite(V) || V < e.MIN_RENDER_SCALE || V > e.MAX_RENDER_SCALE ? { ok: !1, reason: "scale_out_of_range" } : S === null && !s(E) ? { ok: !1, reason: "invalid_alias" } : {
66834
+ const Z = f === void 0 ? 1 : Number(f);
66835
+ return !Number.isFinite(Z) || Z < e.MIN_RENDER_SCALE || Z > e.MAX_RENDER_SCALE ? { ok: !1, reason: "scale_out_of_range" } : S === null && !s(E) ? { ok: !1, reason: "invalid_alias" } : {
66835
66836
  ok: !0,
66836
66837
  value: {
66837
66838
  scope: S,
@@ -66840,7 +66841,7 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66840
66841
  canvasToken: D,
66841
66842
  format: N,
66842
66843
  kind: i(N) ? "video" : "image",
66843
- scale: V
66844
+ scale: Z
66844
66845
  }
66845
66846
  };
66846
66847
  }
@@ -66853,8 +66854,8 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66853
66854
  staging: { image: "image-staging.bluepic.io", video: "video-staging.bluepic.io" }
66854
66855
  };
66855
66856
  function C(x) {
66856
- const { env: _, scope: k, alias: A, canvas: T, format: S, scale: L, data: E } = x, D = e.URL_RENDER_HOSTS[_][i(S) ? "video" : "image"], R = S === "jpeg" ? "jpg" : S, f = L !== void 0 && L !== 1 ? `@${L}x` : "", N = T ? `${encodeURIComponent(T)}.${R}${f}` : `${A}.${R}${f}`, V = T ? `${A}/${N}` : N, Z = k ? `${encodeURIComponent(k)}/${V}` : V, I = E && Object.keys(E).length > 0 ? `?${new URLSearchParams(E).toString()}` : "";
66857
- return `https://${D}/${Z}${I}`;
66857
+ const { env: _, scope: k, alias: A, canvas: T, format: S, scale: L, data: E } = x, D = e.URL_RENDER_HOSTS[_][i(S) ? "video" : "image"], R = S === "jpeg" ? "jpg" : S, f = L !== void 0 && L !== 1 ? `@${L}x` : "", N = T ? `${encodeURIComponent(T)}.${R}${f}` : `${A}.${R}${f}`, Z = T ? `${A}/${N}` : N, V = k ? `${encodeURIComponent(k)}/${Z}` : Z, I = E && Object.keys(E).length > 0 ? `?${new URLSearchParams(E).toString()}` : "";
66858
+ return `https://${D}/${V}${I}`;
66858
66859
  }
66859
66860
  })(Q4);
66860
66861
  (function(e) {
@@ -69205,7 +69206,7 @@ function a1e(e, t, n, r, a, i, o, u, s, c, d, h, l, p, m, b, y, w = se(void 0),
69205
69206
  return (await ge.json()).url;
69206
69207
  });
69207
69208
  }
69208
- async function V(U, Y, ne, te, he) {
69209
+ async function Z(U, Y, ne, te, he) {
69209
69210
  var G, ie;
69210
69211
  const ge = n.value.actionalConnections, $e = n.value.socialConnections, Q = Object.entries($e).filter(([ce, de]) => de).map(([ce]) => ce), P = [];
69211
69212
  ge.download && P.push("download"), ge.webhook && P.push("webhook"), ge.redirect && P.push("redirect"), Q.length + P.length;
@@ -69258,7 +69259,7 @@ function a1e(e, t, n, r, a, i, o, u, s, c, d, h, l, p, m, b, y, w = se(void 0),
69258
69259
  customClasses: ["bx-template-editor-export-popup"]
69259
69260
  });
69260
69261
  }
69261
- function Z() {
69262
+ function V() {
69262
69263
  const U = n.value.actionalConnections, Y = n.value.socialConnections, ne = [];
69263
69264
  U.download && ne.push("download"), U.webhook && ne.push("webhook"), U.redirect && ne.push("redirect");
69264
69265
  const te = Object.entries(Y).filter(([, he]) => he).map(([he]) => he);
@@ -69272,7 +69273,7 @@ function a1e(e, t, n, r, a, i, o, u, s, c, d, h, l, p, m, b, y, w = se(void 0),
69272
69273
  return console.error("No serial available for export");
69273
69274
  if (!i.value)
69274
69275
  return console.error("No live template component reference available for export");
69275
- const U = ((P = e.value) == null ? void 0 : P.format) ?? "png", Y = U in Xl ? "video" : "image", { enabledActions: ne, enabledSocials: te, optionCount: he } = Z(), ge = new Afe(y.value, {
69276
+ const U = ((P = e.value) == null ? void 0 : P.format) ?? "png", Y = U in Xl ? "video" : "image", { enabledActions: ne, enabledSocials: te, optionCount: he } = V(), ge = new Afe(y.value, {
69276
69277
  templateId: r.value ?? "TEMPLATE_ID_UNDEFINED",
69277
69278
  campaignId: o.value,
69278
69279
  format: U,
@@ -69320,7 +69321,7 @@ function a1e(e, t, n, r, a, i, o, u, s, c, d, h, l, p, m, b, y, w = se(void 0),
69320
69321
  so.generateBillingKey(o.value, r.value ?? "TEMPLATE_ID_UNDEFINED", t.value, e.value),
69321
69322
  T.value
69322
69323
  );
69323
- await V(j.files, U, "image", ge, G);
69324
+ await Z(j.files, U, "image", ge, G);
69324
69325
  } else if (U in Xl) {
69325
69326
  let j = null;
69326
69327
  f.value = 0;
@@ -69388,7 +69389,7 @@ function a1e(e, t, n, r, a, i, o, u, s, c, d, h, l, p, m, b, y, w = se(void 0),
69388
69389
  so.generateBillingKey(o.value, r.value ?? "TEMPLATE_ID_UNDEFINED", t.value, e.value),
69389
69390
  T.value
69390
69391
  );
69391
- await V([j], U, "video", ge, ie);
69392
+ await Z([j], U, "video", ge, ie);
69392
69393
  } else
69393
69394
  ge.renderFailure({
69394
69395
  renderLocation: G,
@@ -69722,10 +69723,10 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69722
69723
  () => r.kind === "files" ? `Rendering ${y.value ? "videos" : "images"}… ${T.value.done} of ${T.value.total}` : `Rendering the links… ${T.value.done} of ${T.value.total}`
69723
69724
  );
69724
69725
  let E;
69725
- const D = se(), R = se(0), f = se([]), N = se([]), V = oe(() => {
69726
+ const D = se(), R = se(0), f = se([]), N = se([]), Z = oe(() => {
69726
69727
  const U = N.value.map((te) => te.index + 1), Y = U.slice(0, 5), ne = U.length - Y.length;
69727
69728
  return U.length === 1 ? `row ${Y[0]}` : ne > 0 ? `rows ${Y.join(", ")} and ${ne} more` : `rows ${Y.slice(0, -1).join(", ")} and ${Y[Y.length - 1]}`;
69728
- }), Z = se(""), I = se("");
69729
+ }), V = se(""), I = se("");
69729
69730
  async function z() {
69730
69731
  if (x.value) {
69731
69732
  E = new AbortController(), A.value = "running", T.value = { done: 0, total: r.rowCount, failed: 0, current: 0 };
@@ -69741,7 +69742,7 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69741
69742
  T.value = { done: Y.done, total: Y.total, failed: Y.failed ?? 0, current: Y.current ?? 0 };
69742
69743
  }
69743
69744
  });
69744
- D.value = U.output, R.value = U.fileCount ?? 0, f.value = U.overBudget ?? [], N.value = U.failedRows ?? [], Z.value = U.prewarmed ? ` · ${U.prewarmed.done - U.prewarmed.failed} of ${T.value.total} links rendered${U.prewarmed.failed ? `, ${U.prewarmed.failed} failed` : ""}` : "", U.cancelled && (I.value = "Export cancelled."), a("done", U);
69745
+ D.value = U.output, R.value = U.fileCount ?? 0, f.value = U.overBudget ?? [], N.value = U.failedRows ?? [], V.value = U.prewarmed ? ` · ${U.prewarmed.done - U.prewarmed.failed} of ${T.value.total} links rendered${U.prewarmed.failed ? `, ${U.prewarmed.failed} failed` : ""}` : "", U.cancelled && (I.value = "Export cancelled."), a("done", U);
69745
69746
  } catch (U) {
69746
69747
  console.error("[batch] export failed", U), I.value = r.kind === "files" ? "The export failed: no row rendered, so there is nothing to download. Nothing was charged. Please try again." : "The export failed. Please try again.";
69747
69748
  }
@@ -69888,7 +69889,7 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69888
69889
  ], 64)) : e.kind === "files" ? (F(), X(Qe, { key: 1 }, [
69889
69890
  gt(Ae(R.value) + " " + Ae(R.value === 1 ? "file" : "files") + " ready.", 1)
69890
69891
  ], 64)) : (F(), X(Qe, { key: 2 }, [
69891
- gt("CSV ready" + Ae(Z.value) + ".", 1)
69892
+ gt("CSV ready" + Ae(V.value) + ".", 1)
69892
69893
  ], 64))
69893
69894
  ]),
69894
69895
  N.value.length ? (F(), Ge(Gl, {
@@ -69898,7 +69899,7 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69898
69899
  "show-icon": !0
69899
69900
  }, {
69900
69901
  default: fe(() => [
69901
- gt(Ae(N.value.length) + " of " + Ae(T.value.total) + " " + Ae(T.value.total === 1 ? "row" : "rows") + " failed and " + Ae(N.value.length === 1 ? "is" : "are") + " not in the download (" + Ae(V.value) + "). ", 1),
69902
+ gt(Ae(N.value.length) + " of " + Ae(T.value.total) + " " + Ae(T.value.total === 1 ? "row" : "rows") + " failed and " + Ae(N.value.length === 1 ? "is" : "are") + " not in the download (" + Ae(Z.value) + "). ", 1),
69902
69903
  e.consumesCredits ? (F(), X(Qe, { key: 0 }, [
69903
69904
  gt("Rows that rendered were charged; failed rows were not.")
69904
69905
  ], 64)) : (F(), X(Qe, { key: 1 }, [
@@ -70206,8 +70207,8 @@ async function U1e(e, t, n, r, a = () => {
70206
70207
  (f) => {
70207
70208
  const N = f;
70208
70209
  if (N.totalFrames) {
70209
- const V = ((N.processedFrames ?? 0) + (N.encodedFrames ?? 0)) / (2 * N.totalFrames);
70210
- l(T + 1, Math.max(0, Math.min(0.99, V)));
70210
+ const Z = ((N.processedFrames ?? 0) + (N.encodedFrames ?? 0)) / (2 * N.totalFrames);
70211
+ l(T + 1, Math.max(0, Math.min(0.99, Z)));
70211
70212
  }
70212
70213
  }
70213
70214
  );
@@ -70479,7 +70480,7 @@ const K1e = { class: "bx-batch-import-popup" }, J1e = { class: "paste" }, Q1e =
70479
70480
  }
70480
70481
  Ke(m, () => R());
70481
70482
  const N = se(!1);
70482
- function V(I, z) {
70483
+ function Z(I, z) {
70483
70484
  if (!z || z.type === "null") return;
70484
70485
  const M = I.type;
70485
70486
  switch (M) {
@@ -70501,14 +70502,14 @@ const K1e = { class: "bx-batch-import-popup" }, J1e = { class: "paste" }, Q1e =
70501
70502
  return ks(z);
70502
70503
  }
70503
70504
  }
70504
- function Z() {
70505
+ function V() {
70505
70506
  const I = new Map(S.value.map((M) => [M.key, M.field])), z = y.value.map((M) => {
70506
70507
  const B = {};
70507
70508
  return k.value.forEach((U, Y) => {
70508
70509
  if (!U) return;
70509
70510
  const ne = I.get(U);
70510
70511
  if (!ne) return;
70511
- const te = V(ne, M[Y]);
70512
+ const te = Z(ne, M[Y]);
70512
70513
  te !== void 0 && (B[U] = te);
70513
70514
  }), B;
70514
70515
  });
@@ -70626,7 +70627,7 @@ const K1e = { class: "bx-batch-import-popup" }, J1e = { class: "paste" }, Q1e =
70626
70627
  pe(kt, {
70627
70628
  active: "",
70628
70629
  disabled: !A.value || y.value.length === 0,
70629
- onClick: Z
70630
+ onClick: V
70630
70631
  }, {
70631
70632
  default: fe(() => [
70632
70633
  gt(Ae(N.value ? "Replace rows" : "Add rows"), 1)
@@ -71231,15 +71232,15 @@ function Ehe() {
71231
71232
  if (f && (D.style.transform = "none"), N && (D.style.webkitTransform = "none"), n.roundLengths)
71232
71233
  S = e.isHorizontal() ? e3(D, "width") : e3(D, "height");
71233
71234
  else {
71234
- const V = t(R, "width"), Z = t(R, "padding-left"), I = t(R, "padding-right"), z = t(R, "margin-left"), M = t(R, "margin-right"), B = R.getPropertyValue("box-sizing");
71235
+ const Z = t(R, "width"), V = t(R, "padding-left"), I = t(R, "padding-right"), z = t(R, "margin-left"), M = t(R, "margin-right"), B = R.getPropertyValue("box-sizing");
71235
71236
  if (B && B === "border-box")
71236
- S = V + z + M;
71237
+ S = Z + z + M;
71237
71238
  else {
71238
71239
  const {
71239
71240
  clientWidth: U,
71240
71241
  offsetWidth: Y
71241
71242
  } = D;
71242
- S = V + Z + I + z + M + (Y - U);
71243
+ S = Z + V + I + z + M + (Y - U);
71243
71244
  }
71244
71245
  }
71245
71246
  f && (D.style.transform = f), N && (D.style.webkitTransform = N), n.roundLengths && (S = Math.floor(S));
@@ -71255,17 +71256,17 @@ function Ehe() {
71255
71256
  let N;
71256
71257
  if (n.slidesPerView === "auto") {
71257
71258
  N = 1;
71258
- let V = 0;
71259
- for (let Z = p.length - 1; Z >= 0 && (V += p[Z] + (Z < p.length - 1 ? x : 0), V <= C); Z -= 1)
71260
- N = p.length - Z;
71259
+ let Z = 0;
71260
+ for (let V = p.length - 1; V >= 0 && (Z += p[V] + (V < p.length - 1 ? x : 0), Z <= C); V -= 1)
71261
+ N = p.length - V;
71261
71262
  } else
71262
71263
  N = Math.floor(n.slidesPerView);
71263
71264
  R = Math.max(d - N, 0);
71264
71265
  }
71265
71266
  const f = [];
71266
71267
  for (let N = 0; N < h.length; N += 1) {
71267
- let V = h[N];
71268
- n.roundLengths && (V = Math.floor(V)), D ? N <= R && f.push(V) : h[N] <= e.virtualSize - C && f.push(V);
71268
+ let Z = h[N];
71269
+ n.roundLengths && (Z = Math.floor(Z)), D ? N <= R && f.push(Z) : h[N] <= e.virtualSize - C && f.push(Z);
71269
71270
  }
71270
71271
  h = f, Math.floor(e.virtualSize - C) - Math.floor(h[h.length - 1]) > 1 && (D || h.push(e.virtualSize - C));
71271
71272
  }
@@ -71976,7 +71977,7 @@ function npe({
71976
71977
  let D = E ? w : s.activeIndex;
71977
71978
  typeof a > "u" ? a = s.getSlideIndex(c.find((z) => z.classList.contains(p.slideActiveClass))) : D = a;
71978
71979
  const R = n === "next" || !n, f = n === "prev" || !n;
71979
- let N = 0, V = 0;
71980
+ let N = 0, Z = 0;
71980
71981
  const I = (A ? c[a].column : a) + (C && typeof r > "u" ? -x / 2 + 0.5 : 0);
71981
71982
  if (I < k) {
71982
71983
  N = Math.max(k - I, _);
@@ -71990,8 +71991,8 @@ function npe({
71990
71991
  T.push(L - M - 1);
71991
71992
  }
71992
71993
  } else if (I + x > L - k) {
71993
- V = Math.max(I - (L - k * 2), _), E && (V = Math.max(V, x - L + w + 1));
71994
- for (let z = 0; z < V; z += 1) {
71994
+ Z = Math.max(I - (L - k * 2), _), E && (Z = Math.max(Z, x - L + w + 1));
71995
+ for (let z = 0; z < Z; z += 1) {
71995
71996
  const M = z - Math.floor(z / L) * L;
71996
71997
  A ? c.forEach((B, U) => {
71997
71998
  B.column === M && S.push(U);
@@ -72017,8 +72018,8 @@ function npe({
72017
72018
  }
72018
72019
  } else if (S.length > 0 && R)
72019
72020
  if (typeof e > "u") {
72020
- const z = s.slidesGrid[D], B = s.slidesGrid[D - V] - z;
72021
- u ? s.setTranslate(s.translate - B) : (s.slideTo(D - V, 0, !1, !0), r && (s.touchEventsData.startTranslate = s.touchEventsData.startTranslate - B, s.touchEventsData.currentTranslate = s.touchEventsData.currentTranslate - B));
72021
+ const z = s.slidesGrid[D], B = s.slidesGrid[D - Z] - z;
72022
+ u ? s.setTranslate(s.translate - B) : (s.slideTo(D - Z, 0, !1, !0), r && (s.touchEventsData.startTranslate = s.touchEventsData.startTranslate - B, s.touchEventsData.currentTranslate = s.touchEventsData.currentTranslate - B));
72022
72023
  } else {
72023
72024
  const z = A ? S.length / p.grid.rows : S.length;
72024
72025
  s.slideTo(s.activeIndex - z, 0, !1, !0);
@@ -74190,15 +74191,15 @@ function Bpe({
74190
74191
  f.setAttribute("part", N === _ ? "bullet-active" : "bullet");
74191
74192
  }), C.dynamicBullets) {
74192
74193
  const f = S[L], N = S[E];
74193
- for (let V = L; V <= E; V += 1)
74194
- S[V] && S[V].classList.add(...`${C.bulletActiveClass}-main`.split(" "));
74194
+ for (let Z = L; Z <= E; Z += 1)
74195
+ S[Z] && S[Z].classList.add(...`${C.bulletActiveClass}-main`.split(" "));
74195
74196
  s(f, "prev"), s(N, "next");
74196
74197
  }
74197
74198
  }
74198
74199
  if (C.dynamicBullets) {
74199
74200
  const R = Math.min(S.length, C.dynamicMainBullets + 4), f = (i * R - i) / 2 - D * i, N = w ? "right" : "left";
74200
- S.forEach((V) => {
74201
- V.style[e.isHorizontal() ? N : "top"] = `${f}px`;
74201
+ S.forEach((Z) => {
74202
+ Z.style[e.isHorizontal() ? N : "top"] = `${f}px`;
74202
74203
  });
74203
74204
  }
74204
74205
  }
@@ -74346,9 +74347,9 @@ function jpe({
74346
74347
  } = e, {
74347
74348
  dragEl: f,
74348
74349
  el: N
74349
- } = D, V = e.params.scrollbar, Z = e.params.loop ? e.progressLoop : e.progress;
74350
- let I = c, z = (d - c) * Z;
74351
- R ? (z = -z, z > 0 ? (I = c - z, z = 0) : -z + c > d && (I = d + z)) : z < 0 ? (I = c + z, z = 0) : z + c > d && (I = d - z), e.isHorizontal() ? (f.style.transform = `translate3d(${z}px, 0, 0)`, f.style.width = `${I}px`) : (f.style.transform = `translate3d(0px, ${z}px, 0)`, f.style.height = `${I}px`), V.hide && (clearTimeout(o), N.style.opacity = 1, o = setTimeout(() => {
74350
+ } = D, Z = e.params.scrollbar, V = e.params.loop ? e.progressLoop : e.progress;
74351
+ let I = c, z = (d - c) * V;
74352
+ R ? (z = -z, z > 0 ? (I = c - z, z = 0) : -z + c > d && (I = d + z)) : z < 0 ? (I = c + z, z = 0) : z + c > d && (I = d - z), e.isHorizontal() ? (f.style.transform = `translate3d(${z}px, 0, 0)`, f.style.width = `${I}px`) : (f.style.transform = `translate3d(0px, ${z}px, 0)`, f.style.height = `${I}px`), Z.hide && (clearTimeout(o), N.style.opacity = 1, o = setTimeout(() => {
74352
74353
  N.style.opacity = 0, N.style.transitionDuration = "400ms";
74353
74354
  }, 1e3));
74354
74355
  }
@@ -74375,20 +74376,20 @@ function jpe({
74375
74376
  } = e, {
74376
74377
  el: N
74377
74378
  } = R;
74378
- let V;
74379
- V = (b(D) - vhe(N)[e.isHorizontal() ? "left" : "top"] - (s !== null ? s : c / 2)) / (d - c), V = Math.max(Math.min(V, 1), 0), f && (V = 1 - V);
74380
- const Z = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * V;
74381
- e.updateProgress(Z), e.setTranslate(Z), e.updateActiveIndex(), e.updateSlidesClasses();
74379
+ let Z;
74380
+ Z = (b(D) - vhe(N)[e.isHorizontal() ? "left" : "top"] - (s !== null ? s : c / 2)) / (d - c), Z = Math.max(Math.min(Z, 1), 0), f && (Z = 1 - Z);
74381
+ const V = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * Z;
74382
+ e.updateProgress(V), e.setTranslate(V), e.updateActiveIndex(), e.updateSlidesClasses();
74382
74383
  }
74383
74384
  function w(D) {
74384
74385
  const R = e.params.scrollbar, {
74385
74386
  scrollbar: f,
74386
74387
  wrapperEl: N
74387
74388
  } = e, {
74388
- el: V,
74389
- dragEl: Z
74389
+ el: Z,
74390
+ dragEl: V
74390
74391
  } = f;
74391
- i = !0, s = D.target === Z ? b(D) - D.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, D.preventDefault(), D.stopPropagation(), N.style.transitionDuration = "100ms", Z.style.transitionDuration = "100ms", y(D), clearTimeout(u), V.style.transitionDuration = "0ms", R.hide && (V.style.opacity = 1), e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "none"), r("scrollbarDragStart", D);
74392
+ i = !0, s = D.target === V ? b(D) - D.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, D.preventDefault(), D.stopPropagation(), N.style.transitionDuration = "100ms", V.style.transitionDuration = "100ms", y(D), clearTimeout(u), Z.style.transitionDuration = "0ms", R.hide && (Z.style.opacity = 1), e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "none"), r("scrollbarDragStart", D);
74392
74393
  }
74393
74394
  function C(D) {
74394
74395
  const {
@@ -74396,19 +74397,19 @@ function jpe({
74396
74397
  wrapperEl: f
74397
74398
  } = e, {
74398
74399
  el: N,
74399
- dragEl: V
74400
+ dragEl: Z
74400
74401
  } = R;
74401
- i && (D.preventDefault && D.cancelable ? D.preventDefault() : D.returnValue = !1, y(D), f.style.transitionDuration = "0ms", N.style.transitionDuration = "0ms", V.style.transitionDuration = "0ms", r("scrollbarDragMove", D));
74402
+ i && (D.preventDefault && D.cancelable ? D.preventDefault() : D.returnValue = !1, y(D), f.style.transitionDuration = "0ms", N.style.transitionDuration = "0ms", Z.style.transitionDuration = "0ms", r("scrollbarDragMove", D));
74402
74403
  }
74403
74404
  function x(D) {
74404
74405
  const R = e.params.scrollbar, {
74405
74406
  scrollbar: f,
74406
74407
  wrapperEl: N
74407
74408
  } = e, {
74408
- el: V
74409
+ el: Z
74409
74410
  } = f;
74410
74411
  i && (i = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", N.style.transitionDuration = ""), R.hide && (clearTimeout(u), u = i5(() => {
74411
- V.style.opacity = 0, V.style.transitionDuration = "400ms";
74412
+ Z.style.opacity = 0, Z.style.transitionDuration = "400ms";
74412
74413
  }, 1e3)), r("scrollbarDragEnd", D), R.snapOnRelease && e.slideToClosest());
74413
74414
  }
74414
74415
  function _(D) {
@@ -74417,16 +74418,16 @@ function jpe({
74417
74418
  params: f
74418
74419
  } = e, N = R.el;
74419
74420
  if (!N) return;
74420
- const V = N, Z = f.passiveListeners ? {
74421
+ const Z = N, V = f.passiveListeners ? {
74421
74422
  passive: !1,
74422
74423
  capture: !1
74423
74424
  } : !1, I = f.passiveListeners ? {
74424
74425
  passive: !0,
74425
74426
  capture: !1
74426
74427
  } : !1;
74427
- if (!V) return;
74428
+ if (!Z) return;
74428
74429
  const z = D === "on" ? "addEventListener" : "removeEventListener";
74429
- V[z]("pointerdown", w, Z), a[z]("pointermove", C, Z), a[z]("pointerup", x, I);
74430
+ Z[z]("pointerdown", w, V), a[z]("pointermove", C, V), a[z]("pointerup", x, I);
74430
74431
  }
74431
74432
  function k() {
74432
74433
  !e.params.scrollbar.el || !e.scrollbar.el || _("on");
@@ -74449,10 +74450,10 @@ function jpe({
74449
74450
  if (N = a.querySelectorAll(f.el), !N.length) return;
74450
74451
  } else N || (N = f.el);
74451
74452
  e.params.uniqueNavElements && typeof f.el == "string" && N.length > 1 && R.querySelectorAll(f.el).length === 1 && (N = R.querySelector(f.el)), N.length > 0 && (N = N[0]), N.classList.add(e.isHorizontal() ? f.horizontalClass : f.verticalClass);
74452
- let V;
74453
- N && (V = N.querySelector(Ko(e.params.scrollbar.dragClass)), V || (V = Fu("div", e.params.scrollbar.dragClass), N.append(V))), Object.assign(D, {
74453
+ let Z;
74454
+ N && (Z = N.querySelector(Ko(e.params.scrollbar.dragClass)), Z || (Z = Fu("div", e.params.scrollbar.dragClass), N.append(Z))), Object.assign(D, {
74454
74455
  el: N,
74455
- dragEl: V
74456
+ dragEl: Z
74456
74457
  }), f.draggable && k(), N && N.classList[e.enabled ? "remove" : "add"](...Es(e.params.scrollbar.lockClass));
74457
74458
  }
74458
74459
  function S() {
@@ -74526,66 +74527,66 @@ function Fpe({
74526
74527
  clicked: !1
74527
74528
  };
74528
74529
  let r = null, a, i, o = (/* @__PURE__ */ new Date()).getTime();
74529
- function u(V) {
74530
- const Z = r;
74531
- Z.length !== 0 && Nu(Z, V);
74530
+ function u(Z) {
74531
+ const V = r;
74532
+ V.length !== 0 && Nu(V, Z);
74532
74533
  }
74533
- function s(V = 16) {
74534
- const Z = () => Math.round(16 * Math.random()).toString(16);
74535
- return "x".repeat(V).replace(/x/g, Z);
74534
+ function s(Z = 16) {
74535
+ const V = () => Math.round(16 * Math.random()).toString(16);
74536
+ return "x".repeat(Z).replace(/x/g, V);
74536
74537
  }
74537
- function c(V) {
74538
- V = Sn(V), V.forEach((Z) => {
74539
- Z.setAttribute("tabIndex", "0");
74538
+ function c(Z) {
74539
+ Z = Sn(Z), Z.forEach((V) => {
74540
+ V.setAttribute("tabIndex", "0");
74540
74541
  });
74541
74542
  }
74542
- function d(V) {
74543
- V = Sn(V), V.forEach((Z) => {
74544
- Z.setAttribute("tabIndex", "-1");
74543
+ function d(Z) {
74544
+ Z = Sn(Z), Z.forEach((V) => {
74545
+ V.setAttribute("tabIndex", "-1");
74545
74546
  });
74546
74547
  }
74547
- function h(V, Z) {
74548
- V = Sn(V), V.forEach((I) => {
74549
- I.setAttribute("role", Z);
74548
+ function h(Z, V) {
74549
+ Z = Sn(Z), Z.forEach((I) => {
74550
+ I.setAttribute("role", V);
74550
74551
  });
74551
74552
  }
74552
- function l(V, Z) {
74553
- V = Sn(V), V.forEach((I) => {
74554
- I.setAttribute("aria-roledescription", Z);
74553
+ function l(Z, V) {
74554
+ Z = Sn(Z), Z.forEach((I) => {
74555
+ I.setAttribute("aria-roledescription", V);
74555
74556
  });
74556
74557
  }
74557
- function p(V, Z) {
74558
- V = Sn(V), V.forEach((I) => {
74559
- I.setAttribute("aria-label", Z);
74558
+ function p(Z, V) {
74559
+ Z = Sn(Z), Z.forEach((I) => {
74560
+ I.setAttribute("aria-label", V);
74560
74561
  });
74561
74562
  }
74562
- function m(V, Z) {
74563
- V = Sn(V), V.forEach((I) => {
74564
- I.setAttribute("id", Z);
74563
+ function m(Z, V) {
74564
+ Z = Sn(Z), Z.forEach((I) => {
74565
+ I.setAttribute("id", V);
74565
74566
  });
74566
74567
  }
74567
- function b(V, Z) {
74568
- V = Sn(V), V.forEach((I) => {
74569
- I.setAttribute("aria-live", Z);
74568
+ function b(Z, V) {
74569
+ Z = Sn(Z), Z.forEach((I) => {
74570
+ I.setAttribute("aria-live", V);
74570
74571
  });
74571
74572
  }
74572
- function y(V) {
74573
- V = Sn(V), V.forEach((Z) => {
74574
- Z.setAttribute("aria-disabled", !0);
74573
+ function y(Z) {
74574
+ Z = Sn(Z), Z.forEach((V) => {
74575
+ V.setAttribute("aria-disabled", !0);
74575
74576
  });
74576
74577
  }
74577
- function w(V) {
74578
- V = Sn(V), V.forEach((Z) => {
74579
- Z.removeAttribute("aria-disabled");
74578
+ function w(Z) {
74579
+ Z = Sn(Z), Z.forEach((V) => {
74580
+ V.removeAttribute("aria-disabled");
74580
74581
  });
74581
74582
  }
74582
- function C(V) {
74583
- if (V.keyCode !== 13 && V.keyCode !== 32) return;
74584
- const Z = e.params.a11y, I = V.target;
74585
- if (!(e.pagination && e.pagination.el && (I === e.pagination.el || e.pagination.el.contains(V.target)) && !V.target.matches(Ko(e.params.pagination.bulletClass)))) {
74583
+ function C(Z) {
74584
+ if (Z.keyCode !== 13 && Z.keyCode !== 32) return;
74585
+ const V = e.params.a11y, I = Z.target;
74586
+ if (!(e.pagination && e.pagination.el && (I === e.pagination.el || e.pagination.el.contains(Z.target)) && !Z.target.matches(Ko(e.params.pagination.bulletClass)))) {
74586
74587
  if (e.navigation && e.navigation.prevEl && e.navigation.nextEl) {
74587
74588
  const z = Sn(e.navigation.prevEl);
74588
- Sn(e.navigation.nextEl).includes(I) && (e.isEnd && !e.params.loop || e.slideNext(), e.isEnd ? u(Z.lastSlideMessage) : u(Z.nextSlideMessage)), z.includes(I) && (e.isBeginning && !e.params.loop || e.slidePrev(), e.isBeginning ? u(Z.firstSlideMessage) : u(Z.prevSlideMessage));
74589
+ Sn(e.navigation.nextEl).includes(I) && (e.isEnd && !e.params.loop || e.slideNext(), e.isEnd ? u(V.lastSlideMessage) : u(V.nextSlideMessage)), z.includes(I) && (e.isBeginning && !e.params.loop || e.slidePrev(), e.isBeginning ? u(V.firstSlideMessage) : u(V.prevSlideMessage));
74589
74590
  }
74590
74591
  e.pagination && I.matches(Ko(e.params.pagination.bulletClass)) && I.click();
74591
74592
  }
@@ -74593,10 +74594,10 @@ function Fpe({
74593
74594
  function x() {
74594
74595
  if (e.params.loop || e.params.rewind || !e.navigation) return;
74595
74596
  const {
74596
- nextEl: V,
74597
- prevEl: Z
74597
+ nextEl: Z,
74598
+ prevEl: V
74598
74599
  } = e.navigation;
74599
- Z && (e.isBeginning ? (y(Z), d(Z)) : (w(Z), c(Z))), V && (e.isEnd ? (y(V), d(V)) : (w(V), c(V)));
74600
+ V && (e.isBeginning ? (y(V), d(V)) : (w(V), c(V))), Z && (e.isEnd ? (y(Z), d(Z)) : (w(Z), c(Z)));
74600
74601
  }
74601
74602
  function _() {
74602
74603
  return e.pagination && e.pagination.bullets && e.pagination.bullets.length;
@@ -74605,47 +74606,47 @@ function Fpe({
74605
74606
  return _() && e.params.pagination.clickable;
74606
74607
  }
74607
74608
  function A() {
74608
- const V = e.params.a11y;
74609
- _() && e.pagination.bullets.forEach((Z) => {
74610
- e.params.pagination.clickable && (c(Z), e.params.pagination.renderBullet || (h(Z, "button"), p(Z, V.paginationBulletMessage.replace(/\{\{index\}\}/, E0(Z) + 1)))), Z.matches(Ko(e.params.pagination.bulletActiveClass)) ? Z.setAttribute("aria-current", "true") : Z.removeAttribute("aria-current");
74609
+ const Z = e.params.a11y;
74610
+ _() && e.pagination.bullets.forEach((V) => {
74611
+ e.params.pagination.clickable && (c(V), e.params.pagination.renderBullet || (h(V, "button"), p(V, Z.paginationBulletMessage.replace(/\{\{index\}\}/, E0(V) + 1)))), V.matches(Ko(e.params.pagination.bulletActiveClass)) ? V.setAttribute("aria-current", "true") : V.removeAttribute("aria-current");
74611
74612
  });
74612
74613
  }
74613
- const T = (V, Z, I) => {
74614
- c(V), V.tagName !== "BUTTON" && (h(V, "button"), V.addEventListener("keydown", C)), p(V, I);
74615
- }, S = (V) => {
74616
- i && i !== V.target && !i.contains(V.target) && (a = !0), e.a11y.clicked = !0;
74614
+ const T = (Z, V, I) => {
74615
+ c(Z), Z.tagName !== "BUTTON" && (h(Z, "button"), Z.addEventListener("keydown", C)), p(Z, I);
74616
+ }, S = (Z) => {
74617
+ i && i !== Z.target && !i.contains(Z.target) && (a = !0), e.a11y.clicked = !0;
74617
74618
  }, L = () => {
74618
74619
  a = !1, requestAnimationFrame(() => {
74619
74620
  requestAnimationFrame(() => {
74620
74621
  e.destroyed || (e.a11y.clicked = !1);
74621
74622
  });
74622
74623
  });
74623
- }, E = (V) => {
74624
+ }, E = (Z) => {
74624
74625
  o = (/* @__PURE__ */ new Date()).getTime();
74625
- }, D = (V) => {
74626
+ }, D = (Z) => {
74626
74627
  if (e.a11y.clicked || !e.params.a11y.scrollOnFocus || (/* @__PURE__ */ new Date()).getTime() - o < 100) return;
74627
- const Z = V.target.closest(`.${e.params.slideClass}, swiper-slide`);
74628
- if (!Z || !e.slides.includes(Z)) return;
74629
- i = Z;
74630
- const I = e.virtual && e.params.virtual.enabled, z = (I ? parseInt(Z.getAttribute("data-swiper-slide-index"), 10) : e.slides.indexOf(Z)) === e.activeIndex, M = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(Z);
74631
- z || M || V.sourceCapabilities && V.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
74632
- a || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(Z.getAttribute("data-swiper-slide-index"))), 0) : I ? e.slideTo(e.getSlideIndexWhenGrid(parseInt(Z.getAttribute("data-swiper-slide-index"), 10)), 0) : e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(Z)), 0), a = !1);
74628
+ const V = Z.target.closest(`.${e.params.slideClass}, swiper-slide`);
74629
+ if (!V || !e.slides.includes(V)) return;
74630
+ i = V;
74631
+ const I = e.virtual && e.params.virtual.enabled, z = (I ? parseInt(V.getAttribute("data-swiper-slide-index"), 10) : e.slides.indexOf(V)) === e.activeIndex, M = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(V);
74632
+ z || M || Z.sourceCapabilities && Z.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
74633
+ a || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(V.getAttribute("data-swiper-slide-index"))), 0) : I ? e.slideTo(e.getSlideIndexWhenGrid(parseInt(V.getAttribute("data-swiper-slide-index"), 10)), 0) : e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(V)), 0), a = !1);
74633
74634
  }));
74634
74635
  }, R = () => {
74635
- const V = e.params.a11y;
74636
- V.itemRoleDescriptionMessage && l(e.slides, V.itemRoleDescriptionMessage), V.slideRole && h(e.slides, V.slideRole);
74637
- const Z = e.slides.length;
74638
- V.slideLabelMessage && e.slides.forEach((I, z) => {
74639
- const M = e.params.loop ? parseInt(I.getAttribute("data-swiper-slide-index"), 10) : z, B = V.slideLabelMessage.replace(/\{\{index\}\}/, M + 1).replace(/\{\{slidesLength\}\}/, Z);
74636
+ const Z = e.params.a11y;
74637
+ Z.itemRoleDescriptionMessage && l(e.slides, Z.itemRoleDescriptionMessage), Z.slideRole && h(e.slides, Z.slideRole);
74638
+ const V = e.slides.length;
74639
+ Z.slideLabelMessage && e.slides.forEach((I, z) => {
74640
+ const M = e.params.loop ? parseInt(I.getAttribute("data-swiper-slide-index"), 10) : z, B = Z.slideLabelMessage.replace(/\{\{index\}\}/, M + 1).replace(/\{\{slidesLength\}\}/, V);
74640
74641
  p(I, B);
74641
74642
  });
74642
74643
  }, f = () => {
74643
- const V = e.params.a11y;
74644
+ const Z = e.params.a11y;
74644
74645
  e.el.append(r);
74645
- const Z = e.el;
74646
- V.containerRoleDescriptionMessage && l(Z, V.containerRoleDescriptionMessage), V.containerMessage && p(Z, V.containerMessage), V.containerRole && h(Z, V.containerRole);
74647
- const I = e.wrapperEl, z = V.id || I.getAttribute("id") || `swiper-wrapper-${s(16)}`;
74648
- if (m(I, z), V.wrapperLiveRegion) {
74646
+ const V = e.el;
74647
+ Z.containerRoleDescriptionMessage && l(V, Z.containerRoleDescriptionMessage), Z.containerMessage && p(V, Z.containerMessage), Z.containerRole && h(V, Z.containerRole);
74648
+ const I = e.wrapperEl, z = Z.id || I.getAttribute("id") || `swiper-wrapper-${s(16)}`;
74649
+ if (m(I, z), Z.wrapperLiveRegion) {
74649
74650
  const Y = e.params.autoplay && e.params.autoplay.enabled ? "off" : "polite";
74650
74651
  b(I, Y);
74651
74652
  }
@@ -74654,17 +74655,17 @@ function Fpe({
74654
74655
  nextEl: M,
74655
74656
  prevEl: B
74656
74657
  } = e.navigation ? e.navigation : {};
74657
- M = Sn(M), B = Sn(B), M && M.forEach((Y) => T(Y, z, V.nextSlideMessage)), B && B.forEach((Y) => T(Y, z, V.prevSlideMessage)), k() && Sn(e.pagination.el).forEach((ne) => {
74658
+ M = Sn(M), B = Sn(B), M && M.forEach((Y) => T(Y, z, Z.nextSlideMessage)), B && B.forEach((Y) => T(Y, z, Z.prevSlideMessage)), k() && Sn(e.pagination.el).forEach((ne) => {
74658
74659
  ne.addEventListener("keydown", C);
74659
74660
  }), Zi().addEventListener("visibilitychange", E), e.el.addEventListener("focus", D, !0), e.el.addEventListener("pointerdown", S, !0), e.el.addEventListener("pointerup", L, !0);
74660
74661
  };
74661
74662
  function N() {
74662
74663
  r && r.remove();
74663
74664
  let {
74664
- nextEl: V,
74665
- prevEl: Z
74665
+ nextEl: Z,
74666
+ prevEl: V
74666
74667
  } = e.navigation ? e.navigation : {};
74667
- V = Sn(V), Z = Sn(Z), V && V.forEach((z) => z.removeEventListener("keydown", C)), Z && Z.forEach((z) => z.removeEventListener("keydown", C)), k() && Sn(e.pagination.el).forEach((M) => {
74668
+ Z = Sn(Z), V = Sn(V), Z && Z.forEach((z) => z.removeEventListener("keydown", C)), V && V.forEach((z) => z.removeEventListener("keydown", C)), k() && Sn(e.pagination.el).forEach((M) => {
74668
74669
  M.removeEventListener("keydown", C);
74669
74670
  }), Zi().removeEventListener("visibilitychange", E), e.el && typeof e.el != "string" && (e.el.removeEventListener("focus", D, !0), e.el.removeEventListener("pointerdown", S, !0), e.el.removeEventListener("pointerup", L, !0));
74670
74671
  }
@@ -74874,13 +74875,13 @@ function Kpe(e) {
74874
74875
  if (!(!f || !f.width || !f.height)) {
74875
74876
  var N = A[R].getScreenCTM();
74876
74877
  if (N)
74877
- for (var V = T.multiply(N), Z = [
74878
+ for (var Z = T.multiply(N), V = [
74878
74879
  [f.x, f.y],
74879
74880
  [f.x + f.width, f.y],
74880
74881
  [f.x + f.width, f.y + f.height],
74881
74882
  [f.x, f.y + f.height]
74882
74883
  ], I = 0; I < 4; I++) {
74883
- var z = V.a * Z[I][0] + V.c * Z[I][1] + V.e, M = V.b * Z[I][0] + V.d * Z[I][1] + V.f;
74884
+ var z = Z.a * V[I][0] + Z.c * V[I][1] + Z.e, M = Z.b * V[I][0] + Z.d * V[I][1] + Z.f;
74884
74885
  z < S && (S = z), z > E && (E = z), M < L && (L = M), M > D && (D = M);
74885
74886
  }
74886
74887
  }
@@ -75299,15 +75300,15 @@ function fw(e) {
75299
75300
  if (f >= 0) {
75300
75301
  var N = 0;
75301
75302
  try {
75302
- var V = E.getExtentOfChar(f);
75303
- N = V && V.width && D.x > V.x + V.width / 2 ? 1 : 0;
75303
+ var Z = E.getExtentOfChar(f);
75304
+ N = Z && Z.width && D.x > Z.x + Z.width / 2 ? 1 : 0;
75304
75305
  } catch {
75305
75306
  N = 0;
75306
75307
  }
75307
75308
  return { index: h[L].start + f + N };
75308
75309
  }
75309
75310
  }
75310
- for (var Z = -1, I = 0, z = 1 / 0, M = 0; M < h.length; M++) {
75311
+ for (var V = -1, I = 0, z = 1 / 0, M = 0; M < h.length; M++) {
75311
75312
  var B = h[M].el;
75312
75313
  if (B.getNumberOfChars()) {
75313
75314
  var U = Dt(B), Y;
@@ -75317,11 +75318,11 @@ function fw(e) {
75317
75318
  continue;
75318
75319
  }
75319
75320
  var ne = _(B, 0), te = Y - ne * 0.8, he = Y + ne * 0.2, ge = U.y < te ? te - U.y : U.y > he ? U.y - he : 0;
75320
- ge < z && (z = ge, Z = M, I = U.x);
75321
+ ge < z && (z = ge, V = M, I = U.x);
75321
75322
  }
75322
75323
  }
75323
- if (Z === -1) return { index: null };
75324
- for (var $e = h[Z].el, Q = $e.getNumberOfChars(), P = 0, j = 1 / 0, G = 0; G <= Q; G++) {
75324
+ if (V === -1) return { index: null };
75325
+ for (var $e = h[V].el, Q = $e.getNumberOfChars(), P = 0, j = 1 / 0, G = 0; G <= Q; G++) {
75325
75326
  var ie;
75326
75327
  try {
75327
75328
  ie = G < Q ? $e.getStartPositionOfChar(G).x : $e.getEndPositionOfChar(Q - 1).x;
@@ -75331,7 +75332,7 @@ function fw(e) {
75331
75332
  var ce = Math.abs(I - ie);
75332
75333
  ce < j && (j = ce, P = G);
75333
75334
  }
75334
- return { index: h[Z].start + P };
75335
+ return { index: h[V].start + P };
75335
75336
  }
75336
75337
  var de = t.selectionStart, we = t.selectionEnd;
75337
75338
  if (typeof de != "number" && (de = 0), typeof we != "number" && (we = de), we < de) {
@@ -75385,9 +75386,9 @@ function _me(e) {
75385
75386
  const f = r, N = e.evaluate();
75386
75387
  if (!f || !N) return;
75387
75388
  if (document.activeElement !== f.input) return R();
75388
- const V = s(f);
75389
- if (V === void 0) return;
75390
- const Z = ++a;
75389
+ const Z = s(f);
75390
+ if (Z === void 0) return;
75391
+ const V = ++a;
75391
75392
  let I;
75392
75393
  try {
75393
75394
  I = await N(
@@ -75395,15 +75396,15 @@ function _me(e) {
75395
75396
  JSON.stringify({
75396
75397
  op: "geometry",
75397
75398
  elementId: f.elementId,
75398
- value: V,
75399
- selectionStart: f.input.selectionStart ?? V.length,
75400
- selectionEnd: f.input.selectionEnd ?? V.length
75399
+ value: Z,
75400
+ selectionStart: f.input.selectionStart ?? Z.length,
75401
+ selectionEnd: f.input.selectionEnd ?? Z.length
75401
75402
  })
75402
75403
  );
75403
75404
  } catch {
75404
75405
  return;
75405
75406
  }
75406
- Z !== a || r !== f || (t.value = I && I.found ? { caret: I.caret, selection: I.selection, startAnchor: I.startAnchor, endAnchor: I.endAnchor } : void 0);
75407
+ V !== a || r !== f || (t.value = I && I.found ? { caret: I.caret, selection: I.selection, startAnchor: I.startAnchor, endAnchor: I.endAnchor } : void 0);
75407
75408
  }
75408
75409
  function d() {
75409
75410
  i !== void 0 && cancelAnimationFrame(i), clearTimeout(o), i = requestAnimationFrame(() => {
@@ -75411,14 +75412,14 @@ function _me(e) {
75411
75412
  });
75412
75413
  }
75413
75414
  async function h(f, N) {
75414
- const V = r, Z = e.evaluate();
75415
- if (!V || !Z) return null;
75416
- const I = s(V);
75415
+ const Z = r, V = e.evaluate();
75416
+ if (!Z || !V) return null;
75417
+ const I = s(Z);
75417
75418
  if (I === void 0) return null;
75418
75419
  try {
75419
- const z = await Z(
75420
+ const z = await V(
75420
75421
  fw,
75421
- JSON.stringify({ op: "index", elementId: V.elementId, value: I, x: f, y: N })
75422
+ JSON.stringify({ op: "index", elementId: Z.elementId, value: I, x: f, y: N })
75422
75423
  );
75423
75424
  return z && typeof z.index == "number" ? z.index : null;
75424
75425
  } catch {
@@ -75430,16 +75431,16 @@ function _me(e) {
75430
75431
  let w = 0;
75431
75432
  async function C(f, N) {
75432
75433
  if (!r) return;
75433
- const V = ++w;
75434
+ const Z = ++w;
75434
75435
  p = null, m = { x: 0, y: 0 }, b = { x: f, y: N };
75435
- const Z = await h(f, N);
75436
- Z === null || !r || V !== w || (l = Z, T(Z, Z));
75436
+ const V = await h(f, N);
75437
+ V === null || !r || Z !== w || (l = V, T(V, V));
75437
75438
  }
75438
75439
  function x(f, N) {
75439
75440
  var z, M;
75440
75441
  if (!r) return;
75441
- const V = r.input.selectionStart ?? 0, Z = r.input.selectionEnd ?? 0;
75442
- l = f === "start" ? Z : V, p = f, b = N;
75442
+ const Z = r.input.selectionStart ?? 0, V = r.input.selectionEnd ?? 0;
75443
+ l = f === "start" ? V : Z, p = f, b = N;
75443
75444
  const I = f === "start" ? (z = t.value) == null ? void 0 : z.startAnchor : (M = t.value) == null ? void 0 : M.endAnchor;
75444
75445
  m = I ? {
75445
75446
  x: (I.top.x + I.bottom.x) / 2 - N.x,
@@ -75452,36 +75453,36 @@ function _me(e) {
75452
75453
  if (Math.hypot(f - b.x, N - b.y) < y) return;
75453
75454
  b = null;
75454
75455
  }
75455
- const V = await h(f + m.x, N + m.y);
75456
- if (V === null) return;
75457
- let Z = V;
75458
- p && (p === "end" && Z <= l && (Z = l + 1), p === "start" && Z >= l && (Z = l - 1)), T(l, Z);
75456
+ const Z = await h(f + m.x, N + m.y);
75457
+ if (Z === null) return;
75458
+ let V = Z;
75459
+ p && (p === "end" && V <= l && (V = l + 1), p === "start" && V >= l && (V = l - 1)), T(l, V);
75459
75460
  }
75460
75461
  function k() {
75461
75462
  l = null, p = null, b = null, m = { x: 0, y: 0 };
75462
75463
  }
75463
75464
  async function A(f, N) {
75464
- const V = r;
75465
- if (!V) return;
75466
- const Z = s(V);
75467
- if (Z === void 0) return;
75465
+ const Z = r;
75466
+ if (!Z) return;
75467
+ const V = s(Z);
75468
+ if (V === void 0) return;
75468
75469
  const I = ++w, z = await h(f, N);
75469
- if (z === null || r !== V || I !== w) return;
75470
+ if (z === null || r !== Z || I !== w) return;
75470
75471
  const M = (Y) => /[\p{L}\p{N}_]/u.test(Y);
75471
- let B = Math.min(z, Math.max(0, Z.length - 1)), U = B;
75472
- if (!M(Z[B] ?? "")) {
75472
+ let B = Math.min(z, Math.max(0, V.length - 1)), U = B;
75473
+ if (!M(V[B] ?? "")) {
75473
75474
  T(z, z);
75474
75475
  return;
75475
75476
  }
75476
- for (; B > 0 && M(Z[B - 1]); ) B--;
75477
- for (; U < Z.length && M(Z[U]); ) U++;
75477
+ for (; B > 0 && M(V[B - 1]); ) B--;
75478
+ for (; U < V.length && M(V[U]); ) U++;
75478
75479
  l = null, T(B, U);
75479
75480
  }
75480
75481
  function T(f, N) {
75481
- const V = r;
75482
- if (!V) return;
75483
- const Z = Math.min(f, N), I = Math.max(f, N), z = V.input.scrollTop;
75484
- V.input.setSelectionRange(Z, I, f <= N ? "forward" : "backward"), V.input.scrollTop = z, d();
75482
+ const Z = r;
75483
+ if (!Z) return;
75484
+ const V = Math.min(f, N), I = Math.max(f, N), z = Z.input.scrollTop;
75485
+ Z.input.setSelectionRange(V, I, f <= N ? "forward" : "backward"), Z.input.scrollTop = z, d();
75485
75486
  }
75486
75487
  function S() {
75487
75488
  !r || document.activeElement !== r.input || d();
@@ -75658,7 +75659,7 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
75658
75659
  var De, Ve;
75659
75660
  return (((Ve = (De = p.value) == null ? void 0 : De.fields) == null ? void 0 : Ve.length) ?? 0) > 0;
75660
75661
  }), N = oe(() => `bx-edit-mode:${r.campaignId ?? "c"}:${r.templateId}`);
75661
- function V() {
75662
+ function Z() {
75662
75663
  try {
75663
75664
  const De = sessionStorage.getItem(N.value);
75664
75665
  return De === "batch" || De === "single" ? De : void 0;
@@ -75666,21 +75667,21 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
75666
75667
  return;
75667
75668
  }
75668
75669
  }
75669
- const Z = se("single");
75670
+ const V = se("single");
75670
75671
  Ke(
75671
75672
  E,
75672
75673
  (De) => {
75673
- Z.value = De === "all" ? V() ?? "single" : De;
75674
+ V.value = De === "all" ? Z() ?? "single" : De;
75674
75675
  },
75675
75676
  { immediate: !0 }
75676
- ), Ke(Z, (De) => {
75677
+ ), Ke(V, (De) => {
75677
75678
  if (E.value === "all")
75678
75679
  try {
75679
75680
  sessionStorage.setItem(N.value, De);
75680
75681
  } catch {
75681
75682
  }
75682
75683
  });
75683
- const I = oe(() => Z.value === "batch" && f.value), z = oe(() => `bx-batch:${r.campaignId ?? "c"}:${r.templateId}`), M = s1e({
75684
+ const I = oe(() => V.value === "batch" && f.value), z = oe(() => `bx-batch:${r.campaignId ?? "c"}:${r.templateId}`), M = s1e({
75684
75685
  seed: () => {
75685
75686
  var De;
75686
75687
  return da(((De = p.value) == null ? void 0 : De.bindings) ?? {});
@@ -76083,8 +76084,8 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
76083
76084
  D.value || I.value ? (F(), X("div", Ome, [
76084
76085
  D.value ? (F(), Ge(Qv, {
76085
76086
  key: 0,
76086
- modelValue: Z.value,
76087
- "onUpdate:modelValue": Ve[1] || (Ve[1] = (At) => Z.value = At),
76087
+ modelValue: V.value,
76088
+ "onUpdate:modelValue": Ve[1] || (Ve[1] = (At) => V.value = At),
76088
76089
  tabs: R,
76089
76090
  size: "small",
76090
76091
  "aria-label": "Edit mode"
@@ -77084,23 +77085,23 @@ const Yg = Jz, bw = Gs, yw = Symbol("nomatch"), $2e = 7, lE = function(e) {
77084
77085
  // https://github.com/highlightjs/highlight.js/issues/1086
77085
77086
  __emitter: qme
77086
77087
  };
77087
- function s(Z) {
77088
- return u.noHighlightRe.test(Z);
77088
+ function s(V) {
77089
+ return u.noHighlightRe.test(V);
77089
77090
  }
77090
- function c(Z) {
77091
- let I = Z.className + " ";
77092
- I += Z.parentNode ? Z.parentNode.className : "";
77091
+ function c(V) {
77092
+ let I = V.className + " ";
77093
+ I += V.parentNode ? V.parentNode.className : "";
77093
77094
  const z = u.languageDetectRe.exec(I);
77094
77095
  if (z) {
77095
77096
  const M = S(z[1]);
77096
- return M || (vw(i.replace("{}", z[1])), vw("Falling back to no-highlight mode for this block.", Z)), M ? z[1] : "no-highlight";
77097
+ return M || (vw(i.replace("{}", z[1])), vw("Falling back to no-highlight mode for this block.", V)), M ? z[1] : "no-highlight";
77097
77098
  }
77098
77099
  return I.split(/\s+/).find((M) => s(M) || S(M));
77099
77100
  }
77100
- function d(Z, I, z) {
77101
+ function d(V, I, z) {
77101
77102
  let M = "", B = "";
77102
- typeof I == "object" ? (M = Z, z = I.ignoreIllegals, B = I.language) : (qc("10.7.0", "highlight(lang, code, ...args) has been deprecated."), qc("10.7.0", `Please use highlight(code, options) instead.
77103
- https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z === void 0 && (z = !0);
77103
+ typeof I == "object" ? (M = V, z = I.ignoreIllegals, B = I.language) : (qc("10.7.0", "highlight(lang, code, ...args) has been deprecated."), qc("10.7.0", `Please use highlight(code, options) instead.
77104
+ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, M = I), z === void 0 && (z = !0);
77104
77105
  const U = {
77105
77106
  code: M,
77106
77107
  language: B
@@ -77109,7 +77110,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77109
77110
  const Y = U.result ? U.result : h(U.language, U.code, z);
77110
77111
  return Y.code = U.code, N("after:highlight", Y), Y;
77111
77112
  }
77112
- function h(Z, I, z, M) {
77113
+ function h(V, I, z, M) {
77113
77114
  const B = /* @__PURE__ */ Object.create(null);
77114
77115
  function U(Pe, Ne) {
77115
77116
  return Pe.keywords[Ne];
@@ -77224,8 +77225,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77224
77225
  return te(), 0;
77225
77226
  if (ce.type === "begin" && Ne.type === "end" && ce.index === Ne.index && pt === "") {
77226
77227
  if (Ye += I.slice(Ne.index, Ne.index + 1), !a) {
77227
- const yt = new Error(`0 width match regex (${Z})`);
77228
- throw yt.languageName = Z, yt.badRule = ce.rule, yt;
77228
+ const yt = new Error(`0 width match regex (${V})`);
77229
+ throw yt.languageName = V, yt.badRule = ce.rule, yt;
77229
77230
  }
77230
77231
  return 1;
77231
77232
  }
@@ -77246,9 +77247,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77246
77247
  throw new Error("potential infinite loop, way more iterations than matches");
77247
77248
  return Ye += pt, pt.length;
77248
77249
  }
77249
- const we = S(Z);
77250
+ const we = S(V);
77250
77251
  if (!we)
77251
- throw ic(i.replace("{}", Z)), new Error('Unknown language: "' + Z + '"');
77252
+ throw ic(i.replace("{}", V)), new Error('Unknown language: "' + V + '"');
77252
77253
  const Be = T2e(we);
77253
77254
  let Se = "", Ce = M || Be;
77254
77255
  const et = {}, it = new u.__emitter(u);
@@ -77268,7 +77269,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77268
77269
  de(I.substring(be));
77269
77270
  }
77270
77271
  return it.finalize(), Se = it.toHTML(), {
77271
- language: Z,
77272
+ language: V,
77272
77273
  value: Se,
77273
77274
  relevance: rt,
77274
77275
  illegal: !1,
@@ -77278,7 +77279,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77278
77279
  } catch (Pe) {
77279
77280
  if (Pe.message && Pe.message.includes("Illegal"))
77280
77281
  return {
77281
- language: Z,
77282
+ language: V,
77282
77283
  value: Yg(I),
77283
77284
  illegal: !0,
77284
77285
  relevance: 0,
@@ -77293,7 +77294,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77293
77294
  };
77294
77295
  if (a)
77295
77296
  return {
77296
- language: Z,
77297
+ language: V,
77297
77298
  value: Yg(I),
77298
77299
  illegal: !1,
77299
77300
  relevance: 0,
@@ -77304,20 +77305,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77304
77305
  throw Pe;
77305
77306
  }
77306
77307
  }
77307
- function l(Z) {
77308
+ function l(V) {
77308
77309
  const I = {
77309
- value: Yg(Z),
77310
+ value: Yg(V),
77310
77311
  illegal: !1,
77311
77312
  relevance: 0,
77312
77313
  _top: o,
77313
77314
  _emitter: new u.__emitter(u)
77314
77315
  };
77315
- return I._emitter.addText(Z), I;
77316
+ return I._emitter.addText(V), I;
77316
77317
  }
77317
- function p(Z, I) {
77318
+ function p(V, I) {
77318
77319
  I = I || u.languages || Object.keys(t);
77319
- const z = l(Z), M = I.filter(S).filter(E).map(
77320
- (te) => h(te, Z, !1)
77320
+ const z = l(V), M = I.filter(S).filter(E).map(
77321
+ (te) => h(te, V, !1)
77321
77322
  );
77322
77323
  M.unshift(z);
77323
77324
  const B = M.sort((te, he) => {
@@ -77332,40 +77333,40 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77332
77333
  }), [U, Y] = B, ne = U;
77333
77334
  return ne.secondBest = Y, ne;
77334
77335
  }
77335
- function m(Z, I, z) {
77336
+ function m(V, I, z) {
77336
77337
  const M = I && n[I] || z;
77337
- Z.classList.add("hljs"), Z.classList.add(`language-${M}`);
77338
+ V.classList.add("hljs"), V.classList.add(`language-${M}`);
77338
77339
  }
77339
- function b(Z) {
77340
+ function b(V) {
77340
77341
  let I = null;
77341
- const z = c(Z);
77342
+ const z = c(V);
77342
77343
  if (s(z)) return;
77343
77344
  if (N(
77344
77345
  "before:highlightElement",
77345
- { el: Z, language: z }
77346
- ), Z.dataset.highlighted) {
77347
- console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", Z);
77346
+ { el: V, language: z }
77347
+ ), V.dataset.highlighted) {
77348
+ console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", V);
77348
77349
  return;
77349
77350
  }
77350
- if (Z.children.length > 0 && (u.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(Z)), u.throwUnescapedHTML))
77351
+ if (V.children.length > 0 && (u.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(V)), u.throwUnescapedHTML))
77351
77352
  throw new P2e(
77352
77353
  "One of your code blocks includes unescaped HTML.",
77353
- Z.innerHTML
77354
+ V.innerHTML
77354
77355
  );
77355
- I = Z;
77356
+ I = V;
77356
77357
  const M = I.textContent, B = z ? d(M, { language: z, ignoreIllegals: !0 }) : p(M);
77357
- Z.innerHTML = B.value, Z.dataset.highlighted = "yes", m(Z, z, B.language), Z.result = {
77358
+ V.innerHTML = B.value, V.dataset.highlighted = "yes", m(V, z, B.language), V.result = {
77358
77359
  language: B.language,
77359
77360
  // TODO: remove with version 11.0
77360
77361
  re: B.relevance,
77361
77362
  relevance: B.relevance
77362
- }, B.secondBest && (Z.secondBest = {
77363
+ }, B.secondBest && (V.secondBest = {
77363
77364
  language: B.secondBest.language,
77364
77365
  relevance: B.secondBest.relevance
77365
- }), N("after:highlightElement", { el: Z, result: B, text: M });
77366
+ }), N("after:highlightElement", { el: V, result: B, text: M });
77366
77367
  }
77367
- function y(Z) {
77368
- u = bw(u, Z);
77368
+ function y(V) {
77369
+ u = bw(u, V);
77369
77370
  }
77370
77371
  const w = () => {
77371
77372
  _(), qc("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
@@ -77375,74 +77376,74 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77375
77376
  }
77376
77377
  let x = !1;
77377
77378
  function _() {
77378
- function Z() {
77379
+ function V() {
77379
77380
  _();
77380
77381
  }
77381
77382
  if (document.readyState === "loading") {
77382
- x || window.addEventListener("DOMContentLoaded", Z, !1), x = !0;
77383
+ x || window.addEventListener("DOMContentLoaded", V, !1), x = !0;
77383
77384
  return;
77384
77385
  }
77385
77386
  document.querySelectorAll(u.cssSelector).forEach(b);
77386
77387
  }
77387
- function k(Z, I) {
77388
+ function k(V, I) {
77388
77389
  let z = null;
77389
77390
  try {
77390
77391
  z = I(e);
77391
77392
  } catch (M) {
77392
- if (ic("Language definition for '{}' could not be registered.".replace("{}", Z)), a)
77393
+ if (ic("Language definition for '{}' could not be registered.".replace("{}", V)), a)
77393
77394
  ic(M);
77394
77395
  else
77395
77396
  throw M;
77396
77397
  z = o;
77397
77398
  }
77398
- z.name || (z.name = Z), t[Z] = z, z.rawDefinition = I.bind(null, e), z.aliases && L(z.aliases, { languageName: Z });
77399
+ z.name || (z.name = V), t[V] = z, z.rawDefinition = I.bind(null, e), z.aliases && L(z.aliases, { languageName: V });
77399
77400
  }
77400
- function A(Z) {
77401
- delete t[Z];
77401
+ function A(V) {
77402
+ delete t[V];
77402
77403
  for (const I of Object.keys(n))
77403
- n[I] === Z && delete n[I];
77404
+ n[I] === V && delete n[I];
77404
77405
  }
77405
77406
  function T() {
77406
77407
  return Object.keys(t);
77407
77408
  }
77408
- function S(Z) {
77409
- return Z = (Z || "").toLowerCase(), t[Z] || t[n[Z]];
77409
+ function S(V) {
77410
+ return V = (V || "").toLowerCase(), t[V] || t[n[V]];
77410
77411
  }
77411
- function L(Z, { languageName: I }) {
77412
- typeof Z == "string" && (Z = [Z]), Z.forEach((z) => {
77412
+ function L(V, { languageName: I }) {
77413
+ typeof V == "string" && (V = [V]), V.forEach((z) => {
77413
77414
  n[z.toLowerCase()] = I;
77414
77415
  });
77415
77416
  }
77416
- function E(Z) {
77417
- const I = S(Z);
77417
+ function E(V) {
77418
+ const I = S(V);
77418
77419
  return I && !I.disableAutodetect;
77419
77420
  }
77420
- function D(Z) {
77421
- Z["before:highlightBlock"] && !Z["before:highlightElement"] && (Z["before:highlightElement"] = (I) => {
77422
- Z["before:highlightBlock"](
77421
+ function D(V) {
77422
+ V["before:highlightBlock"] && !V["before:highlightElement"] && (V["before:highlightElement"] = (I) => {
77423
+ V["before:highlightBlock"](
77423
77424
  Object.assign({ block: I.el }, I)
77424
77425
  );
77425
- }), Z["after:highlightBlock"] && !Z["after:highlightElement"] && (Z["after:highlightElement"] = (I) => {
77426
- Z["after:highlightBlock"](
77426
+ }), V["after:highlightBlock"] && !V["after:highlightElement"] && (V["after:highlightElement"] = (I) => {
77427
+ V["after:highlightBlock"](
77427
77428
  Object.assign({ block: I.el }, I)
77428
77429
  );
77429
77430
  });
77430
77431
  }
77431
- function R(Z) {
77432
- D(Z), r.push(Z);
77432
+ function R(V) {
77433
+ D(V), r.push(V);
77433
77434
  }
77434
- function f(Z) {
77435
- const I = r.indexOf(Z);
77435
+ function f(V) {
77436
+ const I = r.indexOf(V);
77436
77437
  I !== -1 && r.splice(I, 1);
77437
77438
  }
77438
- function N(Z, I) {
77439
- const z = Z;
77439
+ function N(V, I) {
77440
+ const z = V;
77440
77441
  r.forEach(function(M) {
77441
77442
  M[z] && M[z](I);
77442
77443
  });
77443
77444
  }
77444
- function V(Z) {
77445
- return qc("10.7.0", "highlightBlock will be removed entirely in v12.0"), qc("10.7.0", "Please use highlightElement now."), b(Z);
77445
+ function Z(V) {
77446
+ return qc("10.7.0", "highlightBlock will be removed entirely in v12.0"), qc("10.7.0", "Please use highlightElement now."), b(V);
77446
77447
  }
77447
77448
  Object.assign(e, {
77448
77449
  highlight: d,
@@ -77450,7 +77451,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77450
77451
  highlightAll: _,
77451
77452
  highlightElement: b,
77452
77453
  // TODO: Remove with v12 API
77453
- highlightBlock: V,
77454
+ highlightBlock: Z,
77454
77455
  configure: y,
77455
77456
  initHighlighting: w,
77456
77457
  initHighlightingOnLoad: C,
@@ -77474,8 +77475,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, M = I), z ===
77474
77475
  optional: Xme,
77475
77476
  anyNumberOfTimes: Wme
77476
77477
  };
77477
- for (const Z in B1)
77478
- typeof B1[Z] == "object" && Kz(B1[Z]);
77478
+ for (const V in B1)
77479
+ typeof B1[V] == "object" && Kz(B1[V]);
77479
77480
  return Object.assign(e, B1), e;
77480
77481
  }, Uu = lE({});
77481
77482
  Uu.newInstance = () => lE({});
@@ -78066,15 +78067,15 @@ const P4e = /* @__PURE__ */ ft(lge, [["render", uge], ["__scopeId", "data-v-abe3
78066
78067
  }), f = oe(() => {
78067
78068
  var ze;
78068
78069
  return ((ze = S.value) == null ? void 0 : ze.getSeconds()) ?? 0;
78069
- }), N = oe(() => !r.range || !Array.isArray(i.value) ? null : i.value[0]), V = oe(() => !r.range || !Array.isArray(i.value) ? null : i.value[1]), Z = oe(() => N.value !== null ? new Date(N.value) : null), I = oe(() => V.value !== null ? new Date(V.value) : null), z = oe(() => {
78070
+ }), N = oe(() => !r.range || !Array.isArray(i.value) ? null : i.value[0]), Z = oe(() => !r.range || !Array.isArray(i.value) ? null : i.value[1]), V = oe(() => N.value !== null ? new Date(N.value) : null), I = oe(() => Z.value !== null ? new Date(Z.value) : null), z = oe(() => {
78070
78071
  var ze;
78071
- return ((ze = Z.value) == null ? void 0 : ze.getHours()) ?? 0;
78072
+ return ((ze = V.value) == null ? void 0 : ze.getHours()) ?? 0;
78072
78073
  }), M = oe(() => {
78073
78074
  var ze;
78074
- return ((ze = Z.value) == null ? void 0 : ze.getMinutes()) ?? 0;
78075
+ return ((ze = V.value) == null ? void 0 : ze.getMinutes()) ?? 0;
78075
78076
  }), B = oe(() => {
78076
78077
  var ze;
78077
- return ((ze = Z.value) == null ? void 0 : ze.getSeconds()) ?? 0;
78078
+ return ((ze = V.value) == null ? void 0 : ze.getSeconds()) ?? 0;
78078
78079
  }), U = oe(() => {
78079
78080
  var ze;
78080
78081
  return ((ze = I.value) == null ? void 0 : ze.getHours()) ?? 0;
@@ -78148,8 +78149,8 @@ const P4e = /* @__PURE__ */ ft(lge, [["render", uge], ["__scopeId", "data-v-abe3
78148
78149
  Xe["in-range"] = ct > Kt && ct < Qt, Xe["range-start"] = ct === Kt, Xe["range-end"] = ct === Qt;
78149
78150
  }
78150
78151
  Xe.active = ct === Tt;
78151
- } else if (N.value !== null && V.value !== null) {
78152
- const Tt = G(Math.min(N.value, V.value)), Nt = G(Math.max(N.value, V.value));
78152
+ } else if (N.value !== null && Z.value !== null) {
78153
+ const Tt = G(Math.min(N.value, Z.value)), Nt = G(Math.max(N.value, Z.value));
78153
78154
  Xe["range-start"] = ct === Tt, Xe["range-end"] = ct === Nt, Xe["in-range"] = ct > Tt && ct < Nt, Xe.active = ct === Tt || ct === Nt;
78154
78155
  }
78155
78156
  } else
@@ -78241,7 +78242,7 @@ const P4e = /* @__PURE__ */ ft(lge, [["render", uge], ["__scopeId", "data-v-abe3
78241
78242
  }
78242
78243
  function Ft() {
78243
78244
  h.value = !1, w.value = "idle", C.value = null, x.value = null;
78244
- const ze = r.range ? Z.value ?? /* @__PURE__ */ new Date() : S.value ?? /* @__PURE__ */ new Date();
78245
+ const ze = r.range ? V.value ?? /* @__PURE__ */ new Date() : S.value ?? /* @__PURE__ */ new Date();
78245
78246
  o.value = ze.getFullYear(), u.value = ze.getMonth(), s.value = Math.floor(ze.getFullYear() / 12) * 12;
78246
78247
  }
78247
78248
  return t({ reset: Ft, formatTimestamp: te }), (ze, Xe) => (F(), X("div", {
@@ -79652,7 +79653,7 @@ function obe(e) {
79652
79653
  return Math.max(be, Te) < h && r.push({ token: "on-primary", reason: `neither white nor black reaches ${h}:1 on primary (best ${Math.max(be, Te).toFixed(2)}:1)` }), lt;
79653
79654
  })(), D = Va(i, u ? 0.06 : -0.06), R = Va(i, u ? 0.1 : -0.1), f = Is(i, a, h, "auto");
79654
79655
  ir(f, a) > ir(i, a) + 0.01 && r.push({ token: "primary-text", reason: `primary lightened/darkened to reach ${h}:1 as text on surface` });
79655
- const N = Is(i, a, l, "auto"), V = Is(i, a, l, "auto"), Z = (be) => {
79656
+ const N = Is(i, a, l, "auto"), Z = Is(i, a, l, "auto"), V = (be) => {
79656
79657
  const Te = Qi(Nve[be]), lt = ir(Fr, Te), Pe = ir({ r: 17, g: 17, b: 17, a: 1 }, Te), Ne = lt >= h ? Fr : Pe > lt ? { r: 17, g: 17, b: 17, a: 1 } : Fr, pt = eo(Te, c.soft), yt = T0(pt, a), wt = (Ft) => Is(Is(Te, a, h, Ft), yt, h, Ft), Mt = Is(Te, a, h, "auto"), Dt = [wt("darker"), wt("lighter")].find(
79657
79658
  (Ft) => ir(Ft, a) >= h && ir(Ft, yt) >= h
79658
79659
  );
@@ -79667,7 +79668,7 @@ function obe(e) {
79667
79668
  darker: Va(Te, -0.18),
79668
79669
  bright: Va(Te, 0.22)
79669
79670
  };
79670
- }, I = Z("success"), z = Z("warning"), M = Z("error"), B = Z("info"), [U, Y, ne, te] = nbe[t.radius ?? "md"], he = "'Inter', sans-serif", ge = (be) => {
79671
+ }, I = V("success"), z = V("warning"), M = V("error"), B = V("info"), [U, Y, ne, te] = nbe[t.radius ?? "md"], he = "'Inter', sans-serif", ge = (be) => {
79671
79672
  var Te;
79672
79673
  return (Te = be == null ? void 0 : be.name) != null && Te.trim() ? `'${be.name.trim().replace(/'/g, "\\'")}', ${he}` : he;
79673
79674
  }, $e = ge((Be = t.fonts) == null ? void 0 : Be.ui), Q = (Se = t.fonts) != null && Se.heading ? ge(t.fonts.heading) : $e, P = Array.from(new Set([(et = (Ce = t.fonts) == null ? void 0 : Ce.ui) == null ? void 0 : et.src, (Ye = (it = t.fonts) == null ? void 0 : it.heading) == null ? void 0 : Ye.src].filter((be) => !!be && /^https?:\/\//.test(be)))), j = (rt = t.font) != null && rt.size && t.font.size > 0 ? t.font.size : 14, G = {
@@ -79710,7 +79711,7 @@ function obe(e) {
79710
79711
  "primary-border": cr(N),
79711
79712
  "primary-soft": ca(i, c.soft),
79712
79713
  "primary-soft-hover": ca(i, c.softHover),
79713
- "focus-ring": cr(V),
79714
+ "focus-ring": cr(Z),
79714
79715
  "focus-ring-width": s ? "3px" : "2px",
79715
79716
  "focus-ring-offset": "2px",
79716
79717
  "primary-dark": cr(Va(i, -0.1)),
@@ -83561,7 +83562,7 @@ const Jbe = { class: "viewer-header-tools" }, Qbe = ["aria-pressed"], e3e = ["di
83561
83562
  console.warn("[AssetViewer] spreadsheet could not be loaded", je), k.value = "This file could not be opened as a table. You can still download it.";
83562
83563
  }
83563
83564
  }
83564
- const f = se(), N = se(), V = oe(() => {
83565
+ const f = se(), N = se(), Z = oe(() => {
83565
83566
  var je, Je, $, ee, me;
83566
83567
  return [
83567
83568
  { label: "From", value: (je = f.value) == null ? void 0 : je.from },
@@ -83571,7 +83572,7 @@ const Jbe = { class: "viewer-header-tools" }, Qbe = ["aria-pressed"], e3e = ["di
83571
83572
  { label: "Date", value: (me = f.value) == null ? void 0 : me.date }
83572
83573
  ];
83573
83574
  });
83574
- function Z(je) {
83575
+ function V(je) {
83575
83576
  return je.replace(/[&<>"']/g, (Je) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" })[Je]);
83576
83577
  }
83577
83578
  async function I() {
@@ -83586,7 +83587,7 @@ const Jbe = { class: "viewer-header-tools" }, Qbe = ["aria-pressed"], e3e = ["di
83586
83587
  cc: ee($.cc),
83587
83588
  subject: $.subject ?? "",
83588
83589
  date: $.date ?? "",
83589
- bodyHtml: `<pre>${Z(me)}</pre>`,
83590
+ bodyHtml: `<pre>${V(me)}</pre>`,
83590
83591
  attachments: ($.attachments ?? []).map((ke) => ke.filename ?? "attachment")
83591
83592
  }, ct.value = !0;
83592
83593
  } catch (je) {
@@ -84070,7 +84071,7 @@ const Jbe = { class: "viewer-header-tools" }, Qbe = ["aria-pressed"], e3e = ["di
84070
84071
  ])) : u.value === "email" ? (F(), X("div", I3e, [
84071
84072
  N.value ? (F(), X("div", A3e, Ae(N.value), 1)) : f.value ? (F(), X(Qe, { key: 1 }, [
84072
84073
  W("dl", O3e, [
84073
- (F(!0), X(Qe, null, Pt(V.value, ($) => (F(), X(Qe, {
84074
+ (F(!0), X(Qe, null, Pt(Z.value, ($) => (F(), X(Qe, {
84074
84075
  key: $.label
84075
84076
  }, [
84076
84077
  $.value ? (F(), X("dt", T3e, Ae($.label), 1)) : Re("", !0),