@bluepic/embed 0.4.0-next.201 → 0.4.0-next.203

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 Z = hd({
655
+ var V = hd({
656
656
  aspectRatio: T,
657
657
  width: S,
658
658
  height: L
659
659
  }, m.resize);
660
- S = Z.width, L = Z.height;
660
+ S = V.width, L = V.height;
661
661
  } else {
662
- var V = hd({
662
+ var Z = hd({
663
663
  aspectRatio: T,
664
664
  width: S,
665
665
  height: L
666
- }), I = V.width;
666
+ }), I = Z.width;
667
667
  S = I === void 0 ? a : I;
668
- var z = V.height;
668
+ var z = Z.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 = V("import"), N = V("charset"), Z = V("namespace");
1448
- function V(P) {
1447
+ var f = Z("import"), N = Z("charset"), V = Z("namespace");
1448
+ function Z(P) {
1449
1449
  var B = new RegExp("^@" + P + "\\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() || Z() || D() || E() || T() || R();
1460
+ return k() || S() || L() || A() || f() || N() || V() || D() || E() || T() || R();
1461
1461
  }
1462
1462
  function z() {
1463
1463
  var P = 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 (Z) {
2747
- throw Z.sourceMapData = f, Z;
2746
+ } catch (V) {
2747
+ throw V.sourceMapData = f, V;
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 Z;
2759
+ var V;
2760
2760
  try {
2761
- Z = _(D, R);
2761
+ V = _(D, R);
2762
2762
  } catch (I) {
2763
2763
  return u(N, I);
2764
2764
  }
2765
- if (!Z || Z.map)
2766
- return u(N, null, Z);
2767
- var V = o(Z.url);
2768
- f(V, function(I, z) {
2765
+ if (!V || V.map)
2766
+ return u(N, null, V);
2767
+ var Z = o(V.url);
2768
+ f(Z, function(I, z) {
2769
2769
  if (I)
2770
- return I.sourceMapData = Z, N(I);
2771
- Z.map = String(z);
2770
+ return I.sourceMapData = V, N(I);
2771
+ V.map = String(z);
2772
2772
  try {
2773
- Z.map = s(Z.map, Z);
2773
+ V.map = s(V.map, V);
2774
2774
  } catch (P) {
2775
2775
  return N(P);
2776
2776
  }
2777
- N(null, Z);
2777
+ N(null, V);
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), Z = 0; Z < f; Z++)
2787
- N[Z] = R.charCodeAt(Z);
2786
+ for (var R = e(D), f = R.length, N = new Uint8Array(f), V = 0; V < f; V++)
2787
+ N[V] = R.charCodeAt(V);
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 Z = N[1] || "text/plain", V = N[2] || "", I = N[3] || "", z = {
2803
+ var V = N[1] || "text/plain", Z = 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(Z)) {
2810
- var P = new Error("Unuseful data uri mime type: " + Z);
2809
+ if (!y.test(V)) {
2810
+ var P = new Error("Unuseful data uri mime type: " + V);
2811
2811
  throw P.sourceMapData = z, P;
2812
2812
  }
2813
2813
  try {
2814
2814
  z.map = s(
2815
- V === ";base64" ? x(I) : decodeURIComponent(I),
2815
+ Z === ";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, Z) {
2832
- typeof N == "function" && (Z = N, N = {});
2833
- var V = D.sources ? D.sources.length : 0, I = {
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 = {
2834
2834
  sourcesResolved: [],
2835
2835
  sourcesContent: []
2836
2836
  };
2837
- if (V === 0) {
2838
- u(Z, null, I);
2837
+ if (Z === 0) {
2838
+ u(V, null, I);
2839
2839
  return;
2840
2840
  }
2841
2841
  var z = function() {
2842
- V--, V === 0 && Z(null, I);
2842
+ Z--, Z === 0 && V(null, I);
2843
2843
  };
2844
2844
  S(D, R, N, function(P, B, U) {
2845
2845
  if (I.sourcesResolved[U] = P, typeof B == "string")
@@ -2853,79 +2853,79 @@ function N$() {
2853
2853
  });
2854
2854
  }
2855
2855
  function A(D, R, f, N) {
2856
- var Z = {
2856
+ var V = {
2857
2857
  sourcesResolved: [],
2858
2858
  sourcesContent: []
2859
2859
  };
2860
- return !D.sources || D.sources.length === 0 || S(D, R, N, function(V, I, z) {
2861
- if (Z.sourcesResolved[z] = V, f !== null)
2860
+ return !D.sources || D.sources.length === 0 || S(D, R, N, function(Z, I, z) {
2861
+ if (V.sourcesResolved[z] = Z, f !== null)
2862
2862
  if (typeof I == "string")
2863
- Z.sourcesContent[z] = I;
2863
+ V.sourcesContent[z] = I;
2864
2864
  else {
2865
- var P = o(V);
2865
+ var P = o(Z);
2866
2866
  try {
2867
- Z.sourcesContent[z] = String(f(P));
2867
+ V.sourcesContent[z] = String(f(P));
2868
2868
  } catch (B) {
2869
- Z.sourcesContent[z] = B;
2869
+ V.sourcesContent[z] = B;
2870
2870
  }
2871
2871
  }
2872
- }), Z;
2872
+ }), V;
2873
2873
  }
2874
2874
  var T = /\/?$/;
2875
2875
  function S(D, R, f, N) {
2876
2876
  f = f || {}, R = i(R);
2877
- for (var Z, V, I, z = 0, P = D.sources.length; z < P; 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);
2877
+ for (var V, Z, I, z = 0, P = D.sources.length; z < P; 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);
2879
2879
  }
2880
- function L(D, R, f, N, Z) {
2881
- if (typeof N == "function" && (Z = N, N = {}), D === null) {
2882
- var V = R, I = {
2880
+ function L(D, R, f, N, V) {
2881
+ if (typeof N == "function" && (V = N, N = {}), D === null) {
2882
+ var Z = R, I = {
2883
2883
  sourceMappingURL: null,
2884
- url: V,
2885
- sourcesRelativeTo: V,
2884
+ url: Z,
2885
+ sourcesRelativeTo: Z,
2886
2886
  map: null
2887
- }, z = o(V);
2887
+ }, z = o(Z);
2888
2888
  f(z, function(B, U) {
2889
2889
  if (B)
2890
- return B.sourceMapData = I, Z(B);
2890
+ return B.sourceMapData = I, V(B);
2891
2891
  I.map = String(U);
2892
2892
  try {
2893
2893
  I.map = s(I.map, I);
2894
2894
  } catch (Y) {
2895
- return Z(Y);
2895
+ return V(Y);
2896
2896
  }
2897
2897
  P(I);
2898
2898
  });
2899
2899
  } else
2900
2900
  p(D, R, f, function(B, U) {
2901
2901
  if (B)
2902
- return Z(B);
2902
+ return V(B);
2903
2903
  if (!U)
2904
- return Z(null, null);
2904
+ return V(null, null);
2905
2905
  P(U);
2906
2906
  });
2907
2907
  function P(B) {
2908
2908
  k(B.map, B.sourcesRelativeTo, f, N, function(U, Y) {
2909
2909
  if (U)
2910
- return Z(U);
2911
- B.sourcesResolved = Y.sourcesResolved, B.sourcesContent = Y.sourcesContent, Z(null, B);
2910
+ return V(U);
2911
+ B.sourcesResolved = Y.sourcesResolved, B.sourcesContent = Y.sourcesContent, V(null, B);
2912
2912
  });
2913
2913
  }
2914
2914
  }
2915
2915
  function E(D, R, f, N) {
2916
- var Z;
2916
+ var V;
2917
2917
  if (D === null) {
2918
- var V = R;
2919
- Z = {
2918
+ var Z = R;
2919
+ V = {
2920
2920
  sourceMappingURL: null,
2921
- url: V,
2922
- sourcesRelativeTo: V,
2921
+ url: Z,
2922
+ sourcesRelativeTo: Z,
2923
2923
  map: null
2924
- }, Z.map = l(f, V, Z), Z.map = s(Z.map, Z);
2925
- } else if (Z = m(D, R, f), !Z)
2924
+ }, V.map = l(f, Z, V), V.map = s(V.map, V);
2925
+ } else if (V = m(D, R, f), !V)
2926
2926
  return null;
2927
- var I = A(Z.map, Z.sourcesRelativeTo, f, N);
2928
- return Z.sourcesResolved = I.sourcesResolved, Z.sourcesContent = I.sourcesContent, Z;
2927
+ var I = A(V.map, V.sourcesRelativeTo, f, N);
2928
+ return V.sourcesResolved = I.sourcesResolved, V.sourcesContent = I.sourcesContent, V;
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 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, {
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, {
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, Z = A[R].transform, V = Z < p ? 0 : Z - (p - 1), I = 0, z = L, P;
6466
- V > D && (V = D);
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, P;
6466
+ Z > D && (Z = D);
6467
6467
  for (var B = 0; B < f.length; )
6468
6468
  S[L++] = f[B++];
6469
- for (E += V, D -= V, Z <= d && (D -= Z), I = 0; I < D; I++)
6469
+ for (E += Z, D -= Z, V <= d && (D -= V), I = 0; I < D; I++)
6470
6470
  S[L++] = e.dictionary[E + I];
6471
- if (P = L - D, Z === h)
6471
+ if (P = L - D, V === h)
6472
6472
  T(S, P);
6473
- else if (Z === c)
6473
+ else if (V === c)
6474
6474
  for (; D > 0; ) {
6475
6475
  var U = T(S, P);
6476
6476
  P += U, D -= U;
@@ -6625,7 +6625,7 @@ function bx() {
6625
6625
  for (; ie < M; ie++)
6626
6626
  j[ie] = 0;
6627
6627
  }
6628
- function Z(Q, M, j, G) {
6628
+ function V(Q, M, 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 V(Q, M, j) {
6684
+ function Z(Q, M, j) {
6685
6685
  var G, ie;
6686
6686
  return G = f(Q, M, 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 M, j, G = 0;
6710
6710
  for (M = 0; M < this.num_htrees; ++M)
6711
- this.htrees[M] = G, j = Z(this.alphabet_size, this.codes, G, Q), G += j;
6711
+ this.htrees[M] = G, j = V(this.alphabet_size, this.codes, G, Q), G += j;
6712
6712
  };
6713
6713
  function U(Q, M) {
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 = M.readBits(1), G && (ie = M.readBits(4) + 1), ce = [], de = 0; de < C; de++)
6720
6720
  ce[de] = new a(0, 0);
6721
- for (Z(we + ie, ce, 0, M), de = 0; de < Q; ) {
6721
+ for (V(we + ie, ce, 0, M), de = 0; de < Q; ) {
6722
6722
  var Se;
6723
6723
  if (M.readMoreInput(), Se = f(ce, 0, M), 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 && (Z(ze[j] + 2, lt, j * C, Ne), Z(p, Me, j * C, Ne), Dt[j] = V(Me, j * C, Ne), ct[j] = 1);
6823
+ ze[j] = E(Ne) + 1, ze[j] >= 2 && (V(ze[j] + 2, lt, j * C, Ne), V(p, Me, j * C, Ne), Dt[j] = Z(Me, 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] = V(Me, 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] = Z(Me, 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] = V(Me, 0, Ne), nr = Ft[0] << m, _r = nr, De = En[Ft[0]], Ir = o.lookupOffsets[De], oa = o.lookupOffsets[De + 1]), Ci = o.lookup[Ir + rt] | o.lookup[oa + be], Xa = sn[_r + Ci], --Dt[0], be = rt, rt = f(Te[0].codes, Te[0].htrees[Xa], Ne), Ce[G & Se] = rt, (G & Se) === Se && M.write(Ce, Be), ++G;
6850
+ ), Dt[0] = Z(Me, 0, Ne), nr = Ft[0] << m, _r = nr, De = En[Ft[0]], Ir = o.lookupOffsets[De], oa = o.lookupOffsets[De + 1]), Ci = o.lookup[Ir + rt] | o.lookup[oa + be], Xa = sn[_r + Ci], --Dt[0], be = rt, rt = f(Te[0].codes, Te[0].htrees[Xa], Ne), Ce[G & Se] = rt, (G & Se) === Se && M.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] = V(Me, 2 * C, Ne), xi = Ft[2] << b, ia = xi), --Dt[2], Ci = (mt > 4 ? 3 : mt - 2) & 255, Ca = Kn[ia + Ci], an = f(Te[2].codes, Te[2].htrees[Ca], Ne), an >= Nt) {
6862
+ ), Dt[2] = Z(Me, 2 * C, Ne), xi = Ft[2] << b, ia = xi), --Dt[2], Ci = (mt > 4 ? 3 : mt - 2) & 255, Ca = Kn[ia + 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, Z, V, I, z, P, B, U, Y, ne, te, he, ge, $e, Q, M;
15963
+ let N, V, Z, I, z, P, B, U, Y, ne, te, he, ge, $e, Q, M;
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 (V = f === 6; o.length >= 1; )
15981
- V ? d += o.shift() : h += o.shift(), i.lineTo(d, h), V = !V;
15980
+ for (Z = f === 6; o.length >= 1; )
15981
+ Z ? d += o.shift() : h += o.shift(), i.lineTo(d, h), Z = !Z;
15982
15982
  break;
15983
15983
  case 8:
15984
15984
  for (; o.length > 0; )
15985
15985
  I = d + o.shift(), z = h + o.shift(), P = I + o.shift(), B = z + o.shift(), d = P + o.shift(), h = B + o.shift(), i.bezierCurveTo(I, z, P, B, d, h);
15986
15986
  break;
15987
15987
  case 10:
15988
- if (N = o.pop() + x, Z = C[N], Z) {
15988
+ if (N = o.pop() + x, V = C[N], V) {
15989
15989
  p[N] = !0;
15990
15990
  let j = n.pos, G = a;
15991
- n.pos = Z.offset, a = Z.offset + Z.length, E(), n.pos = j, a = G;
15991
+ n.pos = V.offset, a = V.offset + V.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, Z = b[N], Z) {
16049
+ if (N = o.pop() + y, V = b[N], V) {
16050
16050
  c[N] = !0;
16051
16051
  let j = n.pos, G = a;
16052
- n.pos = Z.offset, a = Z.offset + Z.length, E(), n.pos = j, a = G;
16052
+ n.pos = V.offset, a = V.offset + V.length, E(), n.pos = j, a = G;
16053
16053
  }
16054
16054
  break;
16055
16055
  case 30:
16056
16056
  case 31:
16057
- for (V = f === 31; o.length >= 4; )
16058
- V ? (I = d + o.shift(), z = h, P = I + o.shift(), B = z + o.shift(), h = B + o.shift(), d = P + (o.length === 1 ? o.shift() : 0)) : (I = d, z = h + o.shift(), P = I + o.shift(), B = z + o.shift(), d = P + o.shift(), h = B + (o.length === 1 ? o.shift() : 0)), i.bezierCurveTo(I, z, P, B, d, h), V = !V;
16057
+ for (Z = f === 31; o.length >= 4; )
16058
+ Z ? (I = d + o.shift(), z = h, P = I + o.shift(), B = z + o.shift(), h = B + o.shift(), d = P + (o.length === 1 ? o.shift() : 0)) : (I = d, z = h + o.shift(), P = I + o.shift(), B = z + o.shift(), d = P + o.shift(), h = B + (o.length === 1 ? o.shift() : 0)), i.bezierCurveTo(I, z, P, B, d, h), Z = !Z;
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: l, rx: d, ry: h, startAngle: c, endAngle: p } = Ap(e, t, n, r, a, i, o, u, s), m = p - c, { min: b, max: y, tan: w, atan2: C, PI: x } = Math, { x: _, y: k } = l, 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 Z = b(e, u), V = y(e, u), I = b(t, s), z = y(t, s);
18389
+ let V = b(e, u), Z = y(e, u), I = b(t, s), z = y(t, s);
18390
18390
  const P = p - m * 1e-5, B = Dl(_, k, d, h, A, P), U = p - m * 0.99999, Y = Dl(_, k, d, h, A, U);
18391
- if (B[0] > V || Y[0] > V) {
18391
+ if (B[0] > Z || Y[0] > Z) {
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] < Z || Y[0] < Z) {
18395
+ if (B[0] < V || Y[0] < V) {
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 Z = b.apply([], f), I = b.apply([], N), V = y.apply([], f), z = y.apply([], N), [
18408
- Z,
18409
- I,
18407
+ return V = b.apply([], f), I = b.apply([], N), Z = y.apply([], f), z = y.apply([], N), [
18410
18408
  V,
18409
+ I,
18410
+ Z,
18411
18411
  z
18412
18412
  ];
18413
18413
  }, uZ = {
@@ -18869,8 +18869,8 @@ const Ma = (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 * c * f, Z = 4 / 3 * p * f, V = [d, h], I = [d + N * E, h - Z * L], z = [m + N * R, b - Z * D], P = [m, b];
18873
- if (I[0] = 2 * V[0] - I[0], I[1] = 2 * V[1] - I[1], l) 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 * c * f, V = 4 / 3 * p * f, Z = [d, h], I = [d + N * E, h - V * L], z = [m + N * R, b - V * D], P = [m, b];
18873
+ if (I[0] = 2 * Z[0] - I[0], I[1] = 2 * Z[1] - I[1], l) return [
18874
18874
  I[0],
18875
18875
  I[1],
18876
18876
  z[0],
@@ -19011,7 +19011,7 @@ const Ma = (e) => {
19011
19011
  let u = 1 / 0, s = 1 / 0, l = -1 / 0, d = -1 / 0, h = 0, c = 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, Z = 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, V = f === "V" ? [
19015
19015
  "L",
19016
19016
  L,
19017
19017
  N[1]
@@ -19020,21 +19020,21 @@ const Ma = (e) => {
19020
19020
  N[1],
19021
19021
  E
19022
19022
  ] : N;
19023
- if ([n] = Z, f !== "T" && f !== "Q" && (x = null, _ = null), n === "M")
19024
- [, r, a] = Z, h = r, c = a, p = r, m = a;
19025
- else if (n === "L") [h, c, p, m] = bv(L, E, Z[1], Z[2]);
19026
- else if (n === "A") [h, c, p, m] = sC(L, E, Z[1], Z[2], Z[3], Z[4], Z[5], Z[6], Z[7]);
19023
+ if ([n] = V, f !== "T" && f !== "Q" && (x = null, _ = null), n === "M")
19024
+ [, r, a] = V, h = r, c = a, p = r, m = a;
19025
+ else if (n === "L") [h, c, p, m] = bv(L, E, V[1], V[2]);
19026
+ else if (n === "A") [h, c, p, m] = sC(L, E, V[1], V[2], V[3], V[4], V[5], V[6], V[7]);
19027
19027
  else if (n === "S") {
19028
- const V = b * 2 - w, I = y * 2 - C;
19029
- [h, c, p, m] = p0(L, E, V, I, Z[1], Z[2], Z[3], Z[4]);
19030
- } else n === "C" ? [h, c, 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, c, p, m] = xv(L, E, x, _, Z[1], Z[2])) : n === "Q" ? (x = Z[1], _ = Z[2], [h, c, p, m] = xv(L, E, Z[1], Z[2], Z[3], Z[4])) : n === "Z" && ([h, c, p, m] = bv(L, E, r, a));
19028
+ const Z = b * 2 - w, I = y * 2 - C;
19029
+ [h, c, p, m] = p0(L, E, Z, I, V[1], V[2], V[3], V[4]);
19030
+ } else n === "C" ? [h, c, 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, c, p, m] = xv(L, E, x, _, V[1], V[2])) : n === "Q" ? (x = V[1], _ = V[2], [h, c, p, m] = xv(L, E, V[1], V[2], V[3], V[4])) : n === "Z" && ([h, c, p, m] = bv(L, E, r, a));
19031
19031
  if (u = o(h, u), s = o(c, s), l = i(p, l), d = i(m, d), n === "Z")
19032
19032
  b = r, y = a;
19033
19033
  else {
19034
- const V = Z.length;
19035
- b = Z[V - 2], y = Z[V - 1];
19034
+ const Z = V.length;
19035
+ b = V[Z - 2], y = V[Z - 1];
19036
19036
  }
19037
- n === "C" ? (w = Z[3], C = Z[4]) : n === "S" ? (w = Z[1], C = Z[2]) : (w = b, C = y);
19037
+ n === "C" ? (w = V[3], C = V[4]) : n === "S" ? (w = V[1], C = V[2]) : (w = b, C = y);
19038
19038
  });
19039
19039
  const k = l - 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 Z = ["C"], V = N + 6;
19623
- for (let I = N; I < V; I += 2)
19624
- c = t * R[I] + r * R[I + 1] + i - u + u, p = n * R[I] + a * R[I + 1] + o - s + s, Z.push(c, p);
19625
- l.push(Z), N = V;
19622
+ const V = ["C"], Z = N + 6;
19623
+ for (let I = N; I < Z; I += 2)
19624
+ c = t * R[I] + r * R[I + 1] + i - u + u, p = n * R[I] + a * R[I + 1] + o - s + s, V.push(c, p);
19625
+ l.push(V), N = Z;
19626
19626
  } while (N < f);
19627
19627
  else l.push(["C"]);
19628
19628
  f > 0 ? (m = R[f - 2], b = R[f - 1]) : (m = E, b = D), d = c, h = p;
@@ -20921,28 +20921,28 @@ var MC = { exports: {} };
20921
20921
  }
20922
20922
  function E(f, N) {
20923
20923
  N === void 0 && (N = 0);
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;
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;
20928
20928
  }
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;
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;
20932
20932
  }
20933
- return Z;
20933
+ return V;
20934
20934
  }
20935
- function D(f, N, Z) {
20936
- var V = [f].concat(N).concat([Z]), I = V[V.length - 2], z = Z, P = V.lastIndexOf(y);
20937
- if (P > 1 && V.slice(1, P).every(function(Y) {
20935
+ function D(f, N, V) {
20936
+ var Z = [f].concat(N).concat([V]), I = Z[Z.length - 2], z = V, P = Z.lastIndexOf(y);
20937
+ if (P > 1 && Z.slice(1, P).every(function(Y) {
20938
20938
  return Y == i;
20939
20939
  }) && [i, b, x].indexOf(f) == -1)
20940
20940
  return A;
20941
- var B = V.lastIndexOf(o);
20942
- if (B > 0 && V.slice(1, B).every(function(Y) {
20941
+ var B = Z.lastIndexOf(o);
20942
+ if (B > 0 && Z.slice(1, B).every(function(Y) {
20943
20943
  return Y == o;
20944
20944
  }) && [m, o].indexOf(I) == -1)
20945
- return V.filter(function(Y) {
20945
+ return Z.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 MC = { exports: {} };
20965
20965
  return _;
20966
20966
  if (I == m)
20967
20967
  return _;
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) {
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) {
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 MC = { exports: {} };
20975
20975
  return 0;
20976
20976
  if (N >= f.length - 1)
20977
20977
  return f.length;
20978
- for (var Z = R(E(f, N)), V = [], I = N + 1; I < f.length; I++)
20978
+ for (var V = R(E(f, N)), Z = [], 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(Z, V, z))
20981
+ if (D(V, Z, z))
20982
20982
  return I;
20983
- V.push(z);
20983
+ Z.push(z);
20984
20984
  }
20985
20985
  return f.length;
20986
20986
  }, this.splitGraphemes = function(f) {
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;
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;
20990
20990
  }, this.iterateGraphemes = function(f) {
20991
- var N = 0, Z = {
20991
+ var N = 0, V = {
20992
20992
  next: (function() {
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 };
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 };
20995
20995
  }).bind(this)
20996
20996
  };
20997
- return typeof Symbol < "u" && Symbol.iterator && (Z[Symbol.iterator] = function() {
20998
- return Z;
20999
- }), Z;
20997
+ return typeof Symbol < "u" && Symbol.iterator && (V[Symbol.iterator] = function() {
20998
+ return V;
20999
+ }), V;
21000
21000
  }, this.countGraphemes = function(f) {
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;
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;
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(Z) {
22474
- return R.dispatch(Z);
22473
+ if (L("array:" + E.length + ":"), !N || E.length <= 1) return E.forEach(function(V) {
22474
+ return R.dispatch(V);
22475
22475
  });
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();
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();
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 Z(V) {
22602
- R[N++] = V;
22601
+ function V(Z) {
22602
+ R[N++] = Z;
22603
22603
  }
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;
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;
22606
22606
  }, m.fromByteArray = function(S) {
22607
22607
  var L, E, D, R, f = S.length % 3, N = "";
22608
- function Z(V) {
22609
- return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(V);
22608
+ function V(Z) {
22609
+ return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z);
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 += Z((R = E) >> 18 & 63) + Z(R >> 12 & 63) + Z(R >> 6 & 63) + Z(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 += V((R = E) >> 18 & 63) + V(R >> 12 & 63) + V(R >> 6 & 63) + V(63 & R);
22612
22612
  switch (f) {
22613
22613
  case 1:
22614
- N = (N += Z((E = S[S.length - 1]) >> 2)) + Z(E << 4 & 63) + "==";
22614
+ N = (N += V((E = S[S.length - 1]) >> 2)) + V(E << 4 & 63) + "==";
22615
22615
  break;
22616
22616
  case 2:
22617
- N = (N = (N += Z((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + Z(E >> 4 & 63)) + Z(E << 2 & 63) + "=";
22617
+ N = (N = (N += V((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + V(E >> 4 & 63)) + V(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(M, 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 < M.length, "Trying to write beyond buffer length"), $e(j, 34028234663852886e22, -34028234663852886e22)), M.length <= G || b.write(M, j, G, ie, 23, 4);
22696
22696
  }
22697
- function Z(M, j, G, ie, ce) {
22697
+ function V(M, 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 < M.length, "Trying to write beyond buffer length"), $e(j, 17976931348623157e292, -17976931348623157e292)), M.length <= G || b.write(M, 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.`), M.length === 0) return new y(0);
22912
22912
  }, y.prototype.writeFloatBE = function(M, j, G) {
22913
22913
  N(this, M, j, !1, G);
22914
22914
  }, y.prototype.writeDoubleLE = function(M, j, G) {
22915
- Z(this, M, j, !0, G);
22915
+ V(this, M, j, !0, G);
22916
22916
  }, y.prototype.writeDoubleBE = function(M, j, G) {
22917
- Z(this, M, j, !1, G);
22917
+ V(this, M, j, !1, G);
22918
22918
  }, y.prototype.fill = function(M, j, G) {
22919
22919
  if (j = j || 0, G = G || this.length, Q(typeof (M = typeof (M = M || 0) == "string" ? M.charCodeAt(0) : M) == "number" && !isNaN(M), "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.`), M.length === 0) return new y(0);
22932
22932
  for (var M = new Uint8Array(this.length), j = 0, G = M.length; j < G; j += 1) M[j] = this[j];
22933
22933
  return M.buffer;
22934
22934
  };
22935
- var V = y.prototype;
22935
+ var Z = y.prototype;
22936
22936
  function I(M, j, G) {
22937
22937
  return typeof M != "number" ? G : j <= (M = ~~M) ? j : 0 <= M || 0 <= (M += j) ? M : 0;
22938
22938
  }
@@ -22982,7 +22982,7 @@ list should be an Array.`), M.length === 0) return new y(0);
22982
22982
  if (!M) throw new Error(j || "Failed assertion");
22983
22983
  }
22984
22984
  y._augment = function(M) {
22985
- return M._isBuffer = !0, M._get = M.get, M._set = M.set, M.get = V.get, M.set = V.set, M.write = V.write, M.toString = V.toString, M.toLocaleString = V.toString, M.toJSON = V.toJSON, M.copy = V.copy, M.slice = V.slice, M.readUInt8 = V.readUInt8, M.readUInt16LE = V.readUInt16LE, M.readUInt16BE = V.readUInt16BE, M.readUInt32LE = V.readUInt32LE, M.readUInt32BE = V.readUInt32BE, M.readInt8 = V.readInt8, M.readInt16LE = V.readInt16LE, M.readInt16BE = V.readInt16BE, M.readInt32LE = V.readInt32LE, M.readInt32BE = V.readInt32BE, M.readFloatLE = V.readFloatLE, M.readFloatBE = V.readFloatBE, M.readDoubleLE = V.readDoubleLE, M.readDoubleBE = V.readDoubleBE, M.writeUInt8 = V.writeUInt8, M.writeUInt16LE = V.writeUInt16LE, M.writeUInt16BE = V.writeUInt16BE, M.writeUInt32LE = V.writeUInt32LE, M.writeUInt32BE = V.writeUInt32BE, M.writeInt8 = V.writeInt8, M.writeInt16LE = V.writeInt16LE, M.writeInt16BE = V.writeInt16BE, M.writeInt32LE = V.writeInt32LE, M.writeInt32BE = V.writeInt32BE, M.writeFloatLE = V.writeFloatLE, M.writeFloatBE = V.writeFloatBE, M.writeDoubleLE = V.writeDoubleLE, M.writeDoubleBE = V.writeDoubleBE, M.fill = V.fill, M.inspect = V.inspect, M.toArrayBuffer = V.toArrayBuffer, M;
22985
+ return M._isBuffer = !0, M._get = M.get, M._set = M.set, M.get = Z.get, M.set = Z.set, M.write = Z.write, M.toString = Z.toString, M.toLocaleString = Z.toString, M.toJSON = Z.toJSON, M.copy = Z.copy, M.slice = Z.slice, M.readUInt8 = Z.readUInt8, M.readUInt16LE = Z.readUInt16LE, M.readUInt16BE = Z.readUInt16BE, M.readUInt32LE = Z.readUInt32LE, M.readUInt32BE = Z.readUInt32BE, M.readInt8 = Z.readInt8, M.readInt16LE = Z.readInt16LE, M.readInt16BE = Z.readInt16BE, M.readInt32LE = Z.readInt32LE, M.readInt32BE = Z.readInt32BE, M.readFloatLE = Z.readFloatLE, M.readFloatBE = Z.readFloatBE, M.readDoubleLE = Z.readDoubleLE, M.readDoubleBE = Z.readDoubleBE, M.writeUInt8 = Z.writeUInt8, M.writeUInt16LE = Z.writeUInt16LE, M.writeUInt16BE = Z.writeUInt16BE, M.writeUInt32LE = Z.writeUInt32LE, M.writeUInt32BE = Z.writeUInt32BE, M.writeInt8 = Z.writeInt8, M.writeInt16LE = Z.writeInt16LE, M.writeInt16BE = Z.writeInt16BE, M.writeInt32LE = Z.writeInt32LE, M.writeInt32BE = Z.writeInt32BE, M.writeFloatLE = Z.writeFloatLE, M.writeFloatBE = Z.writeFloatBE, M.writeDoubleLE = Z.writeDoubleLE, M.writeDoubleBE = Z.writeDoubleBE, M.fill = Z.fill, M.inspect = Z.inspect, M.toArrayBuffer = Z.toArrayBuffer, M;
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.`), M.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, Z = 0; Z < E.length; Z += b) f.push(N.call(E, Z));
22994
+ for (var R, f = [], N = D ? E.readInt32BE : E.readInt32LE, V = 0; V < E.length; V += b) f.push(N.call(E, V));
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.`), M.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 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));
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));
23010
23010
  for (var P = new m(x), B = new m(x), U = 0; U < x; U++) P[U] = 54 ^ I[U], B[U] = 92 ^ I[U];
23011
- return z = V(m.concat([P, z])), V(m.concat([B, z]));
23012
- }(R, D, Z) : R(Z);
23013
- return f = null, N ? Z.toString(N) : Z;
23011
+ return z = Z(m.concat([P, z])), Z(m.concat([B, z]));
23012
+ }(R, D, V) : R(V);
23013
+ return f = null, N ? V.toString(N) : V;
23014
23014
  } };
23015
23015
  }
23016
23016
  function A() {
@@ -23041,8 +23041,8 @@ list should be an Array.`), M.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, 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);
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);
23046
23046
  }
23047
23047
  return Array(S, L, E, D);
23048
23048
  }
@@ -23082,11 +23082,11 @@ list should be an Array.`), M.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, Z = L, V = E, I = D, z = R, P = 0; P < 80; P++) {
23085
+ for (var N = S, V = L, Z = E, I = D, z = R, P = 0; P < 80; P++) {
23086
23086
  T[P] = P < 16 ? C[f + P] : w(T[P - 3] ^ T[P - 8] ^ T[P - 14] ^ T[P - 16], 1);
23087
23087
  var B = y(y(w(S, 5), (B = L, k = E, A = D, (_ = P) < 20 ? B & k | ~B & A : !(_ < 40) && _ < 60 ? B & k | B & A | k & A : B ^ k ^ A)), y(y(R, T[P]), (_ = P) < 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, Z), E = y(E, V), D = y(D, I), R = y(R, z);
23089
+ S = y(S, N), L = y(L, V), E = y(E, Z), 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.`), M.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], Z = T[3], V = T[4], I = T[5], z = T[6], P = 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(P, 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), P = 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(P, T[7]);
23114
+ for (var R = T[0], f = T[1], N = T[2], V = T[3], Z = T[4], I = T[5], z = T[6], P = 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(P, 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), P = 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(P, 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 [Z, V] = N.split("|");
23617
- return V === D && qV(L, Z);
23616
+ const [V, Z] = N.split("|");
23617
+ return Z === D && qV(L, V);
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 l(() => 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);
23639
+ const E = new URL(L, u).href, D = await l(() => 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);
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 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");
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");
23754
23754
  z && N.setAttribute("viewBox", z), N.innerHTML = I.innerHTML;
23755
23755
  } else
23756
23756
  N.innerHTML = E.svg;
23757
- const V = B8(R);
23758
- V && N.setAttribute("style", V), f.appendChild(N), S.appendChild(f);
23757
+ const Z = B8(R);
23758
+ Z && N.setAttribute("style", Z), 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 V = x.parentNode, I = Array.from(x.childNodes);
23770
+ const Z = x.parentNode, I = Array.from(x.childNodes);
23771
23771
  for (const z of I)
23772
- V == null || V.insertBefore(z, x);
23773
- V == null || V.removeChild(x);
23772
+ Z == null || Z.insertBefore(z, x);
23773
+ Z == null || Z.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, Z = s.y.value + s.height.value / 2, V = p.value, z = (Z - V) / u.value.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;
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, Z = s.x.value + s.width.value / 2;
27452
+ const N = m.value === "top" ? 1 : 0, V = s.x.value + s.width.value / 2;
27453
27453
  (u.value.offsetLeft ?? 0) - (((f = o.value) == null ? void 0 : f.offsetLeft) ?? 0);
27454
- const V = c.value;
27455
- return { x: (Z - V) / u.value.offsetWidth, y: N };
27454
+ const Z = c.value;
27455
+ return { x: (V - Z) / 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, Z, V;
27537
+ var f, N, V, Z;
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": `${(((Z = y.value) == null ? void 0 : Z.x) ?? 0) * 100}% ${(((V = y.value) == null ? void 0 : V.y) ?? 0) * 100}%`,
27572
+ "transform-origin": `${(((V = y.value) == null ? void 0 : V.x) ?? 0) * 100}% ${(((Z = y.value) == null ? void 0 : Z.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__", l = 500, d = "__lodash_placeholder__", h = 1, c = 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, P = 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__", l = 500, d = "__lodash_placeholder__", h = 1, c = 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, P = 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 == Z)
30151
+ if (Na == V)
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 == V;
33077
+ var O = v + 1, H = O == N || O == Z;
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(Z) {
33516
- return R.dispatch(Z);
33515
+ return E.forEach(function(V) {
33516
+ return R.dispatch(V);
33517
33517
  });
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();
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();
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 Z(V) {
33646
- R[N++] = V;
33645
+ function V(Z) {
33646
+ R[N++] = Z;
33647
33647
  }
33648
33648
  for (L = 0; L < f; L += 4, 0)
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;
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;
33651
33651
  }, m.fromByteArray = function(S) {
33652
33652
  var L, E, D, R, f = S.length % 3, N = "";
33653
- function Z(V) {
33654
- return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(V);
33653
+ function V(Z) {
33654
+ return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Z);
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 += Z((R = E) >> 18 & 63) + Z(R >> 12 & 63) + Z(R >> 6 & 63) + Z(63 & R);
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);
33658
33658
  switch (f) {
33659
33659
  case 1:
33660
- N = (N += Z((E = S[S.length - 1]) >> 2)) + Z(E << 4 & 63) + "==";
33660
+ N = (N += V((E = S[S.length - 1]) >> 2)) + V(E << 4 & 63) + "==";
33661
33661
  break;
33662
33662
  case 2:
33663
- N = (N = (N += Z((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + Z(E >> 4 & 63)) + Z(E << 2 & 63) + "=";
33663
+ N = (N = (N += V((E = (S[S.length - 2] << 8) + S[S.length - 1]) >> 10)) + V(E >> 4 & 63)) + V(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(M, 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 < M.length, "Trying to write beyond buffer length"), $e(j, 34028234663852886e22, -34028234663852886e22)), M.length <= G || b.write(M, j, G, ie, 23, 4);
33765
33765
  }
33766
- function Z(M, j, G, ie, ce) {
33766
+ function V(M, 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 < M.length, "Trying to write beyond buffer length"), $e(j, 17976931348623157e292, -17976931348623157e292)), M.length <= G || b.write(M, 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.`), M.length === 0)
33996
33996
  }, y.prototype.writeFloatBE = function(M, j, G) {
33997
33997
  N(this, M, j, !1, G);
33998
33998
  }, y.prototype.writeDoubleLE = function(M, j, G) {
33999
- Z(this, M, j, !0, G);
33999
+ V(this, M, j, !0, G);
34000
34000
  }, y.prototype.writeDoubleBE = function(M, j, G) {
34001
- Z(this, M, j, !1, G);
34001
+ V(this, M, j, !1, G);
34002
34002
  }, y.prototype.fill = function(M, j, G) {
34003
34003
  if (j = j || 0, G = G || this.length, Q(typeof (M = typeof (M = M || 0) == "string" ? M.charCodeAt(0) : M) == "number" && !isNaN(M), "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.`), M.length === 0)
34021
34021
  M[j] = this[j];
34022
34022
  return M.buffer;
34023
34023
  };
34024
- var V = y.prototype;
34024
+ var Z = y.prototype;
34025
34025
  function I(M, j, G) {
34026
34026
  return typeof M != "number" ? G : j <= (M = ~~M) ? j : 0 <= M || 0 <= (M += j) ? M : 0;
34027
34027
  }
@@ -34076,7 +34076,7 @@ list should be an Array.`), M.length === 0)
34076
34076
  throw new Error(j || "Failed assertion");
34077
34077
  }
34078
34078
  y._augment = function(M) {
34079
- return M._isBuffer = !0, M._get = M.get, M._set = M.set, M.get = V.get, M.set = V.set, M.write = V.write, M.toString = V.toString, M.toLocaleString = V.toString, M.toJSON = V.toJSON, M.copy = V.copy, M.slice = V.slice, M.readUInt8 = V.readUInt8, M.readUInt16LE = V.readUInt16LE, M.readUInt16BE = V.readUInt16BE, M.readUInt32LE = V.readUInt32LE, M.readUInt32BE = V.readUInt32BE, M.readInt8 = V.readInt8, M.readInt16LE = V.readInt16LE, M.readInt16BE = V.readInt16BE, M.readInt32LE = V.readInt32LE, M.readInt32BE = V.readInt32BE, M.readFloatLE = V.readFloatLE, M.readFloatBE = V.readFloatBE, M.readDoubleLE = V.readDoubleLE, M.readDoubleBE = V.readDoubleBE, M.writeUInt8 = V.writeUInt8, M.writeUInt16LE = V.writeUInt16LE, M.writeUInt16BE = V.writeUInt16BE, M.writeUInt32LE = V.writeUInt32LE, M.writeUInt32BE = V.writeUInt32BE, M.writeInt8 = V.writeInt8, M.writeInt16LE = V.writeInt16LE, M.writeInt16BE = V.writeInt16BE, M.writeInt32LE = V.writeInt32LE, M.writeInt32BE = V.writeInt32BE, M.writeFloatLE = V.writeFloatLE, M.writeFloatBE = V.writeFloatBE, M.writeDoubleLE = V.writeDoubleLE, M.writeDoubleBE = V.writeDoubleBE, M.fill = V.fill, M.inspect = V.inspect, M.toArrayBuffer = V.toArrayBuffer, M;
34079
+ return M._isBuffer = !0, M._get = M.get, M._set = M.set, M.get = Z.get, M.set = Z.set, M.write = Z.write, M.toString = Z.toString, M.toLocaleString = Z.toString, M.toJSON = Z.toJSON, M.copy = Z.copy, M.slice = Z.slice, M.readUInt8 = Z.readUInt8, M.readUInt16LE = Z.readUInt16LE, M.readUInt16BE = Z.readUInt16BE, M.readUInt32LE = Z.readUInt32LE, M.readUInt32BE = Z.readUInt32BE, M.readInt8 = Z.readInt8, M.readInt16LE = Z.readInt16LE, M.readInt16BE = Z.readInt16BE, M.readInt32LE = Z.readInt32LE, M.readInt32BE = Z.readInt32BE, M.readFloatLE = Z.readFloatLE, M.readFloatBE = Z.readFloatBE, M.readDoubleLE = Z.readDoubleLE, M.readDoubleBE = Z.readDoubleBE, M.writeUInt8 = Z.writeUInt8, M.writeUInt16LE = Z.writeUInt16LE, M.writeUInt16BE = Z.writeUInt16BE, M.writeUInt32LE = Z.writeUInt32LE, M.writeUInt32BE = Z.writeUInt32BE, M.writeInt8 = Z.writeInt8, M.writeInt16LE = Z.writeInt16LE, M.writeInt16BE = Z.writeInt16BE, M.writeInt32LE = Z.writeInt32LE, M.writeInt32BE = Z.writeInt32BE, M.writeFloatLE = Z.writeFloatLE, M.writeFloatBE = Z.writeFloatBE, M.writeDoubleLE = Z.writeDoubleLE, M.writeDoubleBE = Z.writeDoubleBE, M.fill = Z.fill, M.inspect = Z.inspect, M.toArrayBuffer = Z.toArrayBuffer, M;
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.`), M.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, Z = 0; Z < E.length; Z += b)
34089
- f.push(N.call(E, Z));
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));
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.`), M.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 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));
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));
34106
34106
  for (var P = new m(x), B = new m(x), U = 0; U < x; U++)
34107
34107
  P[U] = 54 ^ I[U], B[U] = 92 ^ I[U];
34108
- return z = V(m.concat([P, z])), V(m.concat([B, z]));
34109
- }(R, D, Z) : R(Z);
34110
- return f = null, N ? Z.toString(N) : Z;
34108
+ return z = Z(m.concat([P, z])), Z(m.concat([B, z]));
34109
+ }(R, D, V) : R(V);
34110
+ return f = null, N ? V.toString(N) : V;
34111
34111
  } };
34112
34112
  }
34113
34113
  function A() {
@@ -34140,8 +34140,8 @@ list should be an Array.`), M.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, 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);
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);
34145
34145
  }
34146
34146
  return Array(S, L, E, D);
34147
34147
  }
@@ -34182,11 +34182,11 @@ list should be an Array.`), M.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, Z = L, V = E, I = D, z = R, P = 0; P < 80; P++) {
34185
+ for (var N = S, V = L, Z = E, I = D, z = R, P = 0; P < 80; P++) {
34186
34186
  T[P] = P < 16 ? C[f + P] : w(T[P - 3] ^ T[P - 8] ^ T[P - 14] ^ T[P - 16], 1);
34187
34187
  var B = y(y(w(S, 5), (B = L, k = E, A = D, (_ = P) < 20 ? B & k | ~B & A : !(_ < 40) && _ < 60 ? B & k | B & A | k & A : B ^ k ^ A)), y(y(R, T[P]), (_ = P) < 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, Z), E = y(E, V), D = y(D, I), R = y(R, z);
34189
+ S = y(S, N), L = y(L, V), E = y(E, Z), 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.`), M.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], Z = T[3], V = T[4], I = T[5], z = T[6], P = 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(P, 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), P = 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(P, T[7]);
34214
+ for (var R = T[0], f = T[1], N = T[2], V = T[3], Z = T[4], I = T[5], z = T[6], P = 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(P, 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), P = 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(P, 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, Mt(ye(l), (N, Z) => (F(), Ge(_n(N), {
34784
+ }), (R, f) => (F(!0), X(Qe, null, Mt(ye(l), (N, V) => (F(), Ge(_n(N), {
34785
34785
  ref_for: !0,
34786
- ref: ye(u)(Z)
34786
+ ref: ye(u)(V)
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
- }), Z = oe(() => r.richtext ? f.value.length > 0 : String(u.value).length > 0);
35364
- function V(te) {
35363
+ }), V = oe(() => r.richtext ? f.value.length > 0 : String(u.value).length > 0);
35364
+ function Z(te) {
35365
35365
  return te.en;
35366
35366
  }
35367
35367
  const I = se(), z = se({ start: 0, length: 0 }), P = 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: V(r.richtext.noStyleLabel),
35387
+ label: Z(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 && Z.value ? (F(), X("button", {
35592
+ e.clearable && V.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 Z(z) {
36841
+ function V(z) {
36842
36842
  const P = 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 V(z, P, B) {
36873
+ function Z(z, P, 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 P && (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, M = he > $e, j = V(z, Q, M), 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, M = he > $e, j = Z(z, Q, M), 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: Z
36976
+ onKeydown: V
36977
36977
  }, null, 40, HY),
36978
36978
  W("g", {
36979
36979
  class: We({ inactive: !m.value })
@@ -37588,7 +37588,7 @@ const MK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37588
37588
  height: 10
37589
37589
  },
37590
37590
  set: async (R) => {
37591
- var Z, V;
37591
+ var V, Z;
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 MK = ["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: ((Z = a.value) == null ? void 0 : Z.cropMode) ?? "cover",
37601
- innerAlign: ((V = a.value) == null ? void 0 : V.innerAlign) ?? "center",
37600
+ cropMode: ((V = a.value) == null ? void 0 : V.cropMode) ?? "cover",
37601
+ innerAlign: ((Z = a.value) == null ? void 0 : Z.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 MK = ["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((V, I) => V + I, 0) / m.value.length })
37649
+ $t(Wu, { value: m.value.reduce((Z, I) => Z + 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 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));
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));
37662
37662
  }
37663
37663
  const w = oe(() => [
37664
37664
  ...r.allowUploadFromDevice ? [
@@ -37719,11 +37719,11 @@ const MK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37719
37719
  _(R), L.value = !1;
37720
37720
  }
37721
37721
  function D() {
37722
- let R = Jr(o.value), f = a.value.mirrorX, N = a.value.mirrorY, Z = o.value;
37722
+ let R = Jr(o.value), f = a.value.mirrorX, N = a.value.mirrorY, V = o.value;
37723
37723
  Yd(i.value).then((z) => {
37724
37724
  S.value = z;
37725
37725
  });
37726
- const V = a.value.cropMode === "cover" ? r.aspectRatio : void 0, I = rW(
37726
+ const Z = a.value.cropMode === "cover" ? r.aspectRatio : void 0, I = rW(
37727
37727
  () => $t(
37728
37728
  "div",
37729
37729
  {
@@ -37734,7 +37734,7 @@ const MK = ["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 && (Z = z);
37737
+ z && (V = z);
37738
37738
  },
37739
37739
  mirrorX: a.value.mirrorX,
37740
37740
  "onUpdate:mirrorX"(z) {
@@ -37750,7 +37750,7 @@ const MK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37750
37750
  mirrorY: z
37751
37751
  };
37752
37752
  },
37753
- aspectRatio: V,
37753
+ aspectRatio: Z,
37754
37754
  offset: { top: 20, right: 20, bottom: 20, left: 20 },
37755
37755
  style: {
37756
37756
  width: "100%",
@@ -37767,7 +37767,7 @@ const MK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
37767
37767
  },
37768
37768
  onDone() {
37769
37769
  setTimeout(() => {
37770
- o.value = Z;
37770
+ o.value = V;
37771
37771
  }, 50), I.destroy();
37772
37772
  }
37773
37773
  })
@@ -37863,12 +37863,12 @@ const MK = ["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, Mt(w.value.slice(0, w.value.length > c.value ? c.value - 1 : c.value), (N, Z) => (F(), Ge(kt, {
37866
+ (F(!0), X(Qe, null, Mt(w.value.slice(0, w.value.length > c.value ? c.value - 1 : c.value), (N, V) => (F(), Ge(kt, {
37867
37867
  tertiary: !0,
37868
- active: Z === 0,
37868
+ active: V === 0,
37869
37869
  size: e.compact ? "small" : "medium",
37870
37870
  "aria-label": e.compact ? N.label : void 0,
37871
- onClick: (V) => _(N.key)
37871
+ onClick: (Z) => _(N.key)
37872
37872
  }, {
37873
37873
  icon: fe(() => [
37874
37874
  pe(ht, null, {
@@ -39532,11 +39532,11 @@ qt.prototype = /** @lends Sortable.prototype */
39532
39532
  if (A === 0 || f === r)
39533
39533
  return C(!1);
39534
39534
  Vc = r, e0 = A;
39535
- var Z = r.nextElementSibling, V = !1;
39536
- V = A === 1;
39537
- var I = A1(tr, n, Ct, a, r, i, t, V);
39535
+ var V = r.nextElementSibling, Z = !1;
39536
+ Z = A === 1;
39537
+ var I = A1(tr, n, Ct, a, r, i, t, Z);
39538
39538
  if (I !== !1)
39539
- return (I === 1 || I === -1) && (V = I === 1), Wv = !0, setTimeout(MJ, 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);
39539
+ return (I === 1 || I === -1) && (Z = I === 1), Wv = !0, setTimeout(MJ, 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);
39540
39540
  }
39541
39541
  if (n.contains(Ct))
39542
39542
  return C(!1);
@@ -39877,8 +39877,8 @@ var Tg = AS(function(e, t, n, r) {
39877
39877
  kr[N] || (kr[N] = {});
39878
39878
  (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) && (l = !0, kr[h].pid = setInterval((function() {
39879
39879
  r && this.layer === 0 && qt.active._onTouchMove(qh);
39880
- var Z = kr[this.layer].vy ? kr[this.layer].vy * u : 0, V = kr[this.layer].vx ? kr[this.layer].vx * u : 0;
39881
- typeof d == "function" && d.call(qt.dragged.parentNode[Qr], V, Z, e, qh, kr[this.layer].el) !== "continue" || OS(kr[this.layer].el, V, Z);
39880
+ var V = kr[this.layer].vy ? kr[this.layer].vy * u : 0, Z = kr[this.layer].vx ? kr[this.layer].vx * u : 0;
39881
+ typeof d == "function" && d.call(qt.dragged.parentNode[Qr], Z, V, e, qh, kr[this.layer].el) !== "continue" || OS(kr[this.layer].el, Z, V);
39882
39882
  }).bind({
39883
39883
  layer: h
39884
39884
  }), 24))), h++;
@@ -41557,7 +41557,7 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
41557
41557
  const [lt, Me, Ne, pt] = Te, [yt, wt, Pt] = k.value;
41558
41558
  lt === yt && Me === wt && Ne === Pt && Math.abs(pt - d.value) < 5e-3 || (i(Te), R());
41559
41559
  });
41560
- function Z() {
41560
+ function V() {
41561
41561
  const be = Ed(c.value);
41562
41562
  if (!be) {
41563
41563
  m.value = !0;
@@ -41565,8 +41565,8 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
41565
41565
  }
41566
41566
  m.value = !1, i(be);
41567
41567
  }
41568
- function V() {
41569
- p.value = !1, Z(), R();
41568
+ function Z() {
41569
+ p.value = !1, V(), R();
41570
41570
  }
41571
41571
  function I() {
41572
41572
  const be = ["HEX", "RGB", "HSL"];
@@ -41786,8 +41786,8 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
41786
41786
  "onUpdate:modelValue": Te[1] || (Te[1] = (lt) => c.value = lt),
41787
41787
  class: We(["color-value-input", { "is-invalid": m.value }]),
41788
41788
  onFocus: Te[2] || (Te[2] = (lt) => p.value = !0),
41789
- onBlur: V,
41790
- onEnter: Z
41789
+ onBlur: Z,
41790
+ onEnter: V
41791
41791
  }, null, 8, ["modelValue", "class"]),
41792
41792
  pe(kt, {
41793
41793
  secondary: "",
@@ -43472,7 +43472,7 @@ const Pte = /* @__PURE__ */ Ze({
43472
43472
  h.value = !1;
43473
43473
  }, n.leaveDelay);
43474
43474
  }
43475
- function Z(B, U) {
43475
+ function V(B, U) {
43476
43476
  const Y = a.value, ne = U.currentTarget;
43477
43477
  if (!Y || !ne) return;
43478
43478
  const te = ne.getBoundingClientRect();
@@ -43484,7 +43484,7 @@ const Pte = /* @__PURE__ */ Ze({
43484
43484
  Y.scrollLeft = he * (s.value - d.value);
43485
43485
  }
43486
43486
  }
43487
- function V(B, U) {
43487
+ function Z(B, U) {
43488
43488
  const Y = a.value;
43489
43489
  Y && (b.value = B, B === "y" ? (y = U.clientY, w = Y.scrollTop, C = u.value / l.value) : (y = U.clientX, w = Y.scrollLeft, C = s.value / d.value), document.addEventListener("mousemove", I), document.addEventListener("mouseup", z));
43490
43490
  }
@@ -43539,12 +43539,12 @@ const Pte = /* @__PURE__ */ Ze({
43539
43539
  x.value ? a0((F(), X("div", {
43540
43540
  key: 0,
43541
43541
  class: We(["bx-scrollbar__rail bx-scrollbar__rail--y", { "bx-scrollbar__rail--active": b.value === "y" }]),
43542
- onMousedown: U[1] || (U[1] = Dn((Y) => Z("y", Y), ["self", "prevent"]))
43542
+ onMousedown: U[1] || (U[1] = Dn((Y) => V("y", Y), ["self", "prevent"]))
43543
43543
  }, [
43544
43544
  W("div", {
43545
43545
  class: We(["bx-scrollbar__thumb bx-scrollbar__thumb--y", { "bx-scrollbar__thumb--dragging": b.value === "y" }]),
43546
43546
  style: Ot({ height: T.value + "%", top: L.value + "%" }),
43547
- onMousedown: U[0] || (U[0] = Dn((Y) => V("y", Y), ["prevent"]))
43547
+ onMousedown: U[0] || (U[0] = Dn((Y) => Z("y", Y), ["prevent"]))
43548
43548
  }, null, 38)
43549
43549
  ], 34)), [
43550
43550
  [nv, k.value]
@@ -43557,12 +43557,12 @@ const Pte = /* @__PURE__ */ Ze({
43557
43557
  _.value && e.xScrollable ? a0((F(), X("div", {
43558
43558
  key: 0,
43559
43559
  class: We(["bx-scrollbar__rail bx-scrollbar__rail--x", { "bx-scrollbar__rail--active": b.value === "x" }]),
43560
- onMousedown: U[3] || (U[3] = Dn((Y) => Z("x", Y), ["self", "prevent"]))
43560
+ onMousedown: U[3] || (U[3] = Dn((Y) => V("x", Y), ["self", "prevent"]))
43561
43561
  }, [
43562
43562
  W("div", {
43563
43563
  class: We(["bx-scrollbar__thumb bx-scrollbar__thumb--x", { "bx-scrollbar__thumb--dragging": b.value === "x" }]),
43564
43564
  style: Ot({ width: S.value + "%", left: E.value + "%" }),
43565
- onMousedown: U[2] || (U[2] = Dn((Y) => V("x", Y), ["prevent"]))
43565
+ onMousedown: U[2] || (U[2] = Dn((Y) => Z("x", Y), ["prevent"]))
43566
43566
  }, null, 38)
43567
43567
  ], 34)), [
43568
43568
  [nv, A.value]
@@ -43862,7 +43862,7 @@ const Bte = { class: "watermark" }, jte = ["x", "y"], XS = /* @__PURE__ */ Ze({
43862
43862
  }), !E) {
43863
43863
  if (Date.now() - R > D)
43864
43864
  throw console.error("Timeout while waiting for serial to become available"), new Error("Timeout while waiting for serial to become available");
43865
- await new Promise((Z) => setTimeout(Z, 50));
43865
+ await new Promise((V) => setTimeout(V, 50));
43866
43866
  }
43867
43867
  }
43868
43868
  const f = {
@@ -44172,10 +44172,10 @@ const Kte = {
44172
44172
  const te = y;
44173
44173
  y = null, te && (Math.hypot(ne.clientX - te.x, ne.clientY - te.y) > sne || (ne.stopPropagation(), r("focus-field", Y.field), I(Y)));
44174
44174
  }
44175
- function Z(Y, ne) {
44175
+ function V(Y, ne) {
44176
44176
  Y.pointerType !== "touch" && a.value !== ne.key && I(ne);
44177
44177
  }
44178
- function V(Y) {
44178
+ function Z(Y) {
44179
44179
  I(Y);
44180
44180
  }
44181
44181
  function I(Y) {
@@ -44201,8 +44201,8 @@ const Kte = {
44201
44201
  key: `outline-${te.hitbox.key}`,
44202
44202
  points: te.polygon,
44203
44203
  class: We(["hint-outline", { active: ye(a) === te.hitbox.key, editing: w(te.hitbox) }]),
44204
- onPointerenter: (he) => Z(he, te.hitbox),
44205
- onPointermove: (he) => Z(he, te.hitbox),
44204
+ onPointerenter: (he) => V(he, te.hitbox),
44205
+ onPointermove: (he) => V(he, te.hitbox),
44206
44206
  onPointerleave: (he) => z(te.hitbox.key),
44207
44207
  onPointerdown: f,
44208
44208
  onClick: (he) => N(te.hitbox, he)
@@ -44230,9 +44230,9 @@ const Kte = {
44230
44230
  style: Ot({ left: `${te.anchor.x}px`, top: `${te.anchor.y}px` }),
44231
44231
  tabindex: e.revealed && ye(i)(te.hitbox.key) ? 0 : -1,
44232
44232
  "aria-label": `Edit ${te.label}`,
44233
- onPointerenter: (he) => V(te.hitbox),
44233
+ onPointerenter: (he) => Z(te.hitbox),
44234
44234
  onPointerleave: (he) => z(te.hitbox.key),
44235
- onFocus: (he) => V(te.hitbox),
44235
+ onFocus: (he) => Z(te.hitbox),
44236
44236
  onBlur: (he) => z(te.hitbox.key),
44237
44237
  onClick: Dn((he) => r("activate-field", te.hitbox.field), ["stop"]),
44238
44238
  onPointerdown: ne[0] || (ne[0] = Dn(() => {
@@ -44462,12 +44462,12 @@ const hne = ["role", "aria-label"], pne = { class: "controls-layer" }, mne = {
44462
44462
  } else
44463
44463
  y(Math.min(Math.max(1, ie), d.value.x), Math.min(Math.max(1, ce), d.value.y));
44464
44464
  }
44465
- const N = se(), Z = se(0), V = (Q) => {
44466
- Z.value = Math.max(Z.value, Q.touches.length);
44465
+ const N = se(), V = se(0), Z = (Q) => {
44466
+ V.value = Math.max(V.value, Q.touches.length);
44467
44467
  }, I = (Q) => {
44468
44468
  if (Q.touches.length > 0) return;
44469
- const M = Z.value > 1;
44470
- if (Z.value = 0, M) {
44469
+ const M = V.value > 1;
44470
+ if (V.value = 0, M) {
44471
44471
  N.value = void 0;
44472
44472
  return;
44473
44473
  }
@@ -44554,7 +44554,7 @@ const hne = ["role", "aria-label"], pne = { class: "controls-layer" }, mne = {
44554
44554
  "aria-label": $e.value || void 0,
44555
44555
  onClick: te,
44556
44556
  onDblclick: f,
44557
- onTouchstart: V,
44557
+ onTouchstart: Z,
44558
44558
  onTouchend: I
44559
44559
  }, [
44560
44560
  pe(ye(vS), {
@@ -45259,7 +45259,7 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45259
45259
  (z) => i.handleUpload(z),
45260
45260
  D
45261
45261
  );
45262
- function Z(z, P) {
45262
+ function V(z, P) {
45263
45263
  return typeof z == "string" ? P : {
45264
45264
  innerPos: [0, 0],
45265
45265
  innerRotate: 0,
@@ -45273,12 +45273,12 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45273
45273
  src: P
45274
45274
  };
45275
45275
  }
45276
- function V(z, P) {
45276
+ function Z(z, P) {
45277
45277
  const B = Object.values(z.field.model ?? {})[0];
45278
45278
  if (!B || P.length === 0) return;
45279
45279
  const U = Math.max(0, r.batch.activeIndex.value), Y = r.batch.ensureRowsFrom(U, P.length);
45280
45280
  Y.forEach((ne, te) => {
45281
- ne.data[B] = Z(ne.data[B], P[te]);
45281
+ ne.data[B] = V(ne.data[B], P[te]);
45282
45282
  }), Y.length < P.length && u({ type: "warning", message: `Only ${Y.length} of ${P.length} images were placed — the batch is limited to 1024 rows.`, closeAfter: 6e3 });
45283
45283
  }
45284
45284
  async function I(z, P) {
@@ -45297,7 +45297,7 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45297
45297
  });
45298
45298
  try {
45299
45299
  const he = await f(ne);
45300
- V(B, he.map((ge) => ge.src));
45300
+ Z(B, he.map((ge) => ge.src));
45301
45301
  } catch (he) {
45302
45302
  u({ type: "error", message: "Upload failed. Please try again.", closeAfter: 5e3 }), console.error("[batch] multi upload failed", he);
45303
45303
  } finally {
@@ -45326,7 +45326,7 @@ const Zne = { class: "batch-toolbar" }, Vne = {
45326
45326
  onClick: () => {
45327
45327
  const ne = U.value.split(`
45328
45328
  `).map((te) => te.trim()).filter((te) => /^https?:\/\//i.test(te));
45329
- Y.close(), V(B, ne);
45329
+ Y.close(), Z(B, ne);
45330
45330
  }
45331
45331
  },
45332
45332
  () => "Insert"
@@ -45992,9 +45992,9 @@ var r4 = {};
45992
45992
  };
45993
45993
  function C(D, R) {
45994
45994
  const f = {}, N = R ?? Object.keys(D);
45995
- for (const Z of N) {
45996
- const V = D[Z];
45997
- V.default !== void 0 && (f[Z] = { type: "expression", value: t(V.default) });
45995
+ for (const V of N) {
45996
+ const Z = D[V];
45997
+ Z.default !== void 0 && (f[V] = { type: "expression", value: t(Z.default) });
45998
45998
  }
45999
45999
  return f;
46000
46000
  }
@@ -52186,10 +52186,10 @@ sf.version = {
52186
52186
  if (B.direction === "backward")
52187
52187
  return z.innerType._zod.run(P, B);
52188
52188
  const U = z.innerType._zod.run(P, B);
52189
- return U instanceof Promise ? U.then(Z) : Z(U);
52189
+ return U instanceof Promise ? U.then(V) : V(U);
52190
52190
  };
52191
52191
  });
52192
- function Z(I) {
52192
+ function V(I) {
52193
52193
  return I.value = Object.freeze(I.value), I;
52194
52194
  }
52195
52195
  e.$ZodTemplateLiteral = i.$constructor("$ZodTemplateLiteral", (I, z) => {
@@ -52269,11 +52269,11 @@ sf.version = {
52269
52269
  a.$ZodCheck.init(I, z), e.$ZodType.init(I, z), I._zod.parse = (P, B) => P, I._zod.check = (P) => {
52270
52270
  const B = P.value, U = z.fn(B);
52271
52271
  if (U instanceof Promise)
52272
- return U.then((Y) => V(Y, P, B, I));
52273
- V(U, P, B, I);
52272
+ return U.then((Y) => Z(Y, P, B, I));
52273
+ Z(U, P, B, I);
52274
52274
  };
52275
52275
  });
52276
- function V(I, z, P, B) {
52276
+ function Z(I, z, P, B) {
52277
52277
  if (!I) {
52278
52278
  const U = {
52279
52279
  code: "custom",
@@ -57892,13 +57892,13 @@ var cde = Yb.exports;
57892
57892
  Object.defineProperty(e, "nl", { enumerable: !0, get: function() {
57893
57893
  return t(N).default;
57894
57894
  } });
57895
- var Z = Wue;
57895
+ var V = Wue;
57896
57896
  Object.defineProperty(e, "no", { enumerable: !0, get: function() {
57897
- return t(Z).default;
57897
+ return t(V).default;
57898
57898
  } });
57899
- var V = Xue;
57899
+ var Z = Xue;
57900
57900
  Object.defineProperty(e, "ota", { enumerable: !0, get: function() {
57901
- return t(V).default;
57901
+ return t(Z).default;
57902
57902
  } });
57903
57903
  var I = Yue;
57904
57904
  Object.defineProperty(e, "ps", { enumerable: !0, get: function() {
@@ -59748,7 +59748,7 @@ function G4() {
59748
59748
  if ($ != null) for (var me in $) me !== "default" && Object.prototype.hasOwnProperty.call($, me) && t(ee, $, me);
59749
59749
  return n(ee, $), ee;
59750
59750
  };
59751
- 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 = l, e.email = d, e.guid = h, e.uuid = c, 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 = P, 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 = M, 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 = Me, e.tuple = Ne, e.record = pt, e.partialRecord = yt, e.map = wt, e.set = Pt, 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 = Bn, e.catch = Kn, e.nan = Jn, e.pipe = nr, e.codec = _r, e.readonly = Xa, e.templateLiteral = xi, e.lazy = ia, e.promise = Ca, e._function = Ir, e.function = Ir, e._function = Ir, e.function = Ir, e.check = oa, e.custom = De, e.refine = Ve, e.superRefine = jt, e.instanceof = en, e.json = je, e.preprocess = Je;
59751
+ 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 = l, e.email = d, e.guid = h, e.uuid = c, 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 = P, 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 = M, 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 = Me, e.tuple = Ne, e.record = pt, e.partialRecord = yt, e.map = wt, e.set = Pt, 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 = Bn, e.catch = Kn, e.nan = Jn, e.pipe = nr, e.codec = _r, e.readonly = Xa, e.templateLiteral = xi, e.lazy = ia, e.promise = Ca, e._function = Ir, e.function = Ir, e._function = Ir, e.function = Ir, e.check = oa, e.custom = De, e.refine = Ve, e.superRefine = jt, e.instanceof = en, e.json = je, e.preprocess = Je;
59752
59752
  const a = r(Pa), i = Pa, o = r(H4), u = r(Jb()), s = r(Zn);
59753
59753
  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, {
59754
59754
  checks: [
@@ -59902,13 +59902,13 @@ function G4() {
59902
59902
  e.ZodE164 = a.$constructor("ZodE164", ($, ee) => {
59903
59903
  a.$ZodE164.init($, ee), e.ZodStringFormat.init($, ee);
59904
59904
  });
59905
- function Z($) {
59905
+ function V($) {
59906
59906
  return a._e164(e.ZodE164, $);
59907
59907
  }
59908
59908
  e.ZodJWT = a.$constructor("ZodJWT", ($, ee) => {
59909
59909
  a.$ZodJWT.init($, ee), e.ZodStringFormat.init($, ee);
59910
59910
  });
59911
- function V($) {
59911
+ function Z($) {
59912
59912
  return a._jwt(e.ZodJWT, $);
59913
59913
  }
59914
59914
  e.ZodCustomStringFormat = a.$constructor("ZodCustomStringFormat", ($, ee) => {
@@ -60675,14 +60675,14 @@ function xfe(e) {
60675
60675
  * }
60676
60676
  *)
60677
60677
  */
60678
- _e(this, "openapi", ({ middleware: D, hide: R, ...f }, N, Z = void 0) => {
60679
- var V, I, z, P, B;
60678
+ _e(this, "openapi", ({ middleware: D, hide: R, ...f }, N, V = void 0) => {
60679
+ var Z, I, z, P, B;
60680
60680
  R || this.openAPIRegistry.registerPath(f);
60681
- const U = Z ?? (($e, Q) => {
60681
+ const U = V ?? (($e, Q) => {
60682
60682
  const M = pn(this, A, nz).call(this);
60683
60683
  return M ? M($e, Q) : void 0;
60684
60684
  }), Y = [];
60685
- if (!((V = f.request) === null || V === void 0) && V.query) {
60685
+ if (!((Z = f.request) === null || Z === void 0) && Z.query) {
60686
60686
  const $e = (0, n.zValidator)("query", f.request.query, U);
60687
60687
  Y.push($e);
60688
60688
  }
@@ -60767,18 +60767,18 @@ function xfe(e) {
60767
60767
  return this._basePath ? p(f, this._basePath) : f;
60768
60768
  });
60769
60769
  _e(this, "doc", (D, R, f) => this.get(D, (N) => {
60770
- const Z = typeof R == "function" ? R(N) : R, V = typeof f == "function" ? f(N) : f;
60770
+ const V = typeof R == "function" ? R(N) : R, Z = typeof f == "function" ? f(N) : f;
60771
60771
  try {
60772
- const I = this.getOpenAPIDocument(Z, V);
60772
+ const I = this.getOpenAPIDocument(V, Z);
60773
60773
  return N.json(I);
60774
60774
  } catch (I) {
60775
60775
  return N.json(I, 500);
60776
60776
  }
60777
60777
  }));
60778
60778
  _e(this, "doc31", (D, R, f) => this.get(D, (N) => {
60779
- const Z = typeof R == "function" ? R(N) : R, V = typeof f == "function" ? f(N) : f;
60779
+ const V = typeof R == "function" ? R(N) : R, Z = typeof f == "function" ? f(N) : f;
60780
60780
  try {
60781
- const I = this.getOpenAPI31Document(Z, V);
60781
+ const I = this.getOpenAPI31Document(V, Z);
60782
60782
  return N.json(I);
60783
60783
  } catch (I) {
60784
60784
  return N.json(I, 500);
@@ -60805,11 +60805,11 @@ function xfe(e) {
60805
60805
  });
60806
60806
  return;
60807
60807
  case "schema":
60808
- var Z;
60809
- return this.openAPIRegistry.register((Z = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || Z === void 0 ? void 0 : Z.refId, N.schema);
60810
- case "parameter":
60811
60808
  var V;
60812
- return this.openAPIRegistry.registerParameter((V = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || V === void 0 ? void 0 : V.refId, N.schema);
60809
+ return this.openAPIRegistry.register((V = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || V === void 0 ? void 0 : V.refId, N.schema);
60810
+ case "parameter":
60811
+ var Z;
60812
+ return this.openAPIRegistry.registerParameter((Z = (0, t.getOpenApiMetadata)(N.schema)._internal) === null || Z === void 0 ? void 0 : Z.refId, N.schema);
60813
60813
  default:
60814
60814
  throw new Error(`Unknown registry type: ${N}`);
60815
60815
  }
@@ -60818,11 +60818,11 @@ function xfe(e) {
60818
60818
  basePath(D) {
60819
60819
  const R = super.basePath(D), f = new S({ defaultHook: this.defaultHook });
60820
60820
  f.router = R.router, f.routes = R.routes;
60821
- const { getPath: N } = R, Z = R;
60821
+ const { getPath: N } = R, V = R;
60822
60822
  return Object.assign(f, {
60823
60823
  getPath: N,
60824
- errorHandler: Z.errorHandler,
60825
- _basePath: Z._basePath
60824
+ errorHandler: V.errorHandler,
60825
+ _basePath: V._basePath
60826
60826
  }), f;
60827
60827
  }
60828
60828
  }, k = new WeakMap(), A = new WeakSet(), nz = function() {
@@ -61406,7 +61406,16 @@ var z0 = {}, im = {};
61406
61406
  data: t.z.record(t.z.string(), t.z.unknown()),
61407
61407
  width: t.z.number().optional(),
61408
61408
  height: t.z.number().optional(),
61409
- format: e.imageFormatSchema,
61409
+ /**
61410
+ * Stills (png, jpeg, …) render synchronously and answer with the file. VIDEO
61411
+ * formats (mp4, mov) answer with a `text/event-stream` of progress events
61412
+ * ending in `{ type: 'end', result }` — the same stream the video render
61413
+ * services emit — and are metered server-side on success (elya first, the
61414
+ * Cloudflare container fan-out as the fallback). Width/height/fps/duration
61415
+ * of a video come from the template's canvas and animation, never from the
61416
+ * request.
61417
+ */
61418
+ format: t.z.union([e.imageFormatSchema, e.videoFormatSchema]),
61410
61419
  quality: t.z.number().optional(),
61411
61420
  dpi: t.z.number().optional(),
61412
61421
  unit: e.unitSchema.optional(),
@@ -61527,16 +61536,16 @@ var z0 = {}, im = {};
61527
61536
  };
61528
61537
  })(z0);
61529
61538
  (function(e) {
61530
- var t = J && J.__createBinding || (Object.create ? function(N, Z, V, I) {
61531
- I === void 0 && (I = V);
61532
- var z = Object.getOwnPropertyDescriptor(Z, V);
61533
- (!z || ("get" in z ? !Z.__esModule : z.writable || z.configurable)) && (z = { enumerable: !0, get: function() {
61534
- return Z[V];
61539
+ var t = J && J.__createBinding || (Object.create ? function(N, V, Z, I) {
61540
+ I === void 0 && (I = Z);
61541
+ var z = Object.getOwnPropertyDescriptor(V, Z);
61542
+ (!z || ("get" in z ? !V.__esModule : z.writable || z.configurable)) && (z = { enumerable: !0, get: function() {
61543
+ return V[Z];
61535
61544
  } }), Object.defineProperty(N, I, z);
61536
- } : function(N, Z, V, I) {
61537
- I === void 0 && (I = V), N[I] = Z[V];
61538
- }), n = J && J.__exportStar || function(N, Z) {
61539
- for (var V in N) V !== "default" && !Object.prototype.hasOwnProperty.call(Z, V) && t(Z, N, V);
61545
+ } : function(N, V, Z, I) {
61546
+ I === void 0 && (I = Z), N[I] = V[Z];
61547
+ }), n = J && J.__exportStar || function(N, V) {
61548
+ for (var Z in N) Z !== "default" && !Object.prototype.hasOwnProperty.call(V, Z) && t(V, N, Z);
61540
61549
  };
61541
61550
  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 = l, e.allowsDisableBranding = h, e.videoBatchMaxSize = c, 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;
61542
61551
  const r = Wt, a = bl, i = z0;
@@ -61552,27 +61561,27 @@ var z0 = {}, im = {};
61552
61561
  /** AppSumo: monthly, anchored on the license claim date. */
61553
61562
  "monthly"
61554
61563
  ], e.creditWindowKindSchema = r.z.enum(e.creditWindowKinds);
61555
- function u(N, Z) {
61556
- 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();
61557
- return I.setUTCDate(Math.min(V, z)), I;
61558
- }
61559
- function s(N, Z, V) {
61560
- const I = new Date(N * 1e3), z = new Date(Z * 1e3);
61561
- let P = Math.floor(((z.getUTCFullYear() - I.getUTCFullYear()) * 12 + (z.getUTCMonth() - I.getUTCMonth())) / V), B = u(I, P * V);
61562
- B.getTime() > z.getTime() && (P -= 1, B = u(I, P * V));
61563
- const U = u(I, (P + 1) * V);
61564
+ function u(N, V) {
61565
+ 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();
61566
+ return I.setUTCDate(Math.min(Z, z)), I;
61567
+ }
61568
+ function s(N, V, Z) {
61569
+ const I = new Date(N * 1e3), z = new Date(V * 1e3);
61570
+ let P = Math.floor(((z.getUTCFullYear() - I.getUTCFullYear()) * 12 + (z.getUTCMonth() - I.getUTCMonth())) / Z), B = u(I, P * Z);
61571
+ B.getTime() > z.getTime() && (P -= 1, B = u(I, P * Z));
61572
+ const U = u(I, (P + 1) * Z);
61564
61573
  return { startSeconds: Math.floor(B.getTime() / 1e3), endSeconds: Math.floor(U.getTime() / 1e3) };
61565
61574
  }
61566
- function l(N, Z) {
61567
- const { window: V, anchorSeconds: I } = N.credits;
61568
- if (V === "stripe_cycle") {
61575
+ function l(N, V) {
61576
+ const { window: Z, anchorSeconds: I } = N.credits;
61577
+ if (Z === "stripe_cycle") {
61569
61578
  if (!N.period)
61570
61579
  throw new Error("tier.credits.window is stripe_cycle but tier.period is missing");
61571
61580
  return { startSeconds: N.period.startSeconds, endSeconds: N.period.endSeconds };
61572
61581
  }
61573
61582
  if (I == null)
61574
- throw new Error(`tier.credits.window is ${V} but credits.anchorSeconds is missing`);
61575
- return s(I, Z, V === "anniversary" ? 12 : 1);
61583
+ throw new Error(`tier.credits.window is ${Z} but credits.anchorSeconds is missing`);
61584
+ return s(I, V, Z === "anniversary" ? 12 : 1);
61576
61585
  }
61577
61586
  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({
61578
61587
  /** Spend allowed inside the short rolling window, in micro-USD (1 $ = 1_000_000). */
@@ -61622,8 +61631,8 @@ var z0 = {}, im = {};
61622
61631
  appsumo: "AppSumo"
61623
61632
  };
61624
61633
  function p(N) {
61625
- var Z;
61626
- return ((Z = N.label) == null ? void 0 : Z.trim()) || e.TIER_DISPLAY_NAMES[N.name] || N.name;
61634
+ var V;
61635
+ return ((V = N.label) == null ? void 0 : V.trim()) || e.TIER_DISPLAY_NAMES[N.name] || N.name;
61627
61636
  }
61628
61637
  const m = r.z.object({
61629
61638
  /** 'stripe' = TTL cache of deriveTierFromStripe. 'manual' = authoritative, hand-written. */
@@ -61755,15 +61764,15 @@ var z0 = {}, im = {};
61755
61764
  4: 2e4 * i.CENTICREDITS_PER_CREDIT,
61756
61765
  5: 5e4 * i.CENTICREDITS_PER_CREDIT
61757
61766
  };
61758
- function w(N, Z) {
61759
- const V = e.APPSUMO_MONTHLY_ALLOWANCE_CENTI[N];
61760
- if (V === void 0)
61767
+ function w(N, V) {
61768
+ const Z = e.APPSUMO_MONTHLY_ALLOWANCE_CENTI[N];
61769
+ if (Z === void 0)
61761
61770
  throw new Error(`Unknown AppSumo tier level ${N}`);
61762
61771
  return e.tierConfigSchema.parse({
61763
61772
  source: "manual",
61764
61773
  expiresAt: null,
61765
61774
  name: "appsumo",
61766
- credits: { allowanceCenti: V, window: "monthly", anchorSeconds: Z },
61775
+ credits: { allowanceCenti: Z, window: "monthly", anchorSeconds: V },
61767
61776
  seats: e.FREE_TIER_BASE.seats,
61768
61777
  templateSlots: e.FREE_TIER_BASE.templateSlots,
61769
61778
  assetSlots: e.FREE_TIER_BASE.assetSlots
@@ -61826,28 +61835,28 @@ var z0 = {}, im = {};
61826
61835
  }
61827
61836
  e.UNLIMITED_CREDITS = 999999999;
61828
61837
  function _(N) {
61829
- const Z = e.enterpriseContractSchema.parse(N);
61838
+ const V = e.enterpriseContractSchema.parse(N);
61830
61839
  return e.tierConfigSchema.parse({
61831
61840
  source: "manual",
61832
61841
  expiresAt: null,
61833
- label: Z.label,
61834
- name: Z.name,
61842
+ label: V.label,
61843
+ name: V.name,
61835
61844
  credits: {
61836
61845
  // A sentinel credit count must stay a sentinel after the ×100: multiplying
61837
61846
  // 999 999 999 credits would overflow past what anyone means by it, so the
61838
61847
  // "unlimited" case is carried across verbatim.
61839
- allowanceCenti: o(Z.credits) ? Z.credits : Z.credits * i.CENTICREDITS_PER_CREDIT,
61840
- window: Z.window,
61841
- anchorSeconds: Z.anchorSeconds
61848
+ allowanceCenti: o(V.credits) ? V.credits : V.credits * i.CENTICREDITS_PER_CREDIT,
61849
+ window: V.window,
61850
+ anchorSeconds: V.anchorSeconds
61842
61851
  },
61843
- seats: Z.seats,
61844
- templateSlots: Z.templateSlots,
61845
- assetSlots: Z.assetSlots,
61846
- annualPriceEur: Z.annualPriceEur,
61847
- allowDisableBranding: Z.allowDisableBranding,
61848
- cancelsAtPeriodEnd: Z.cancelsAtPeriodEnd || void 0,
61849
- videoBatchMaxSize: Z.videoBatchMaxSize,
61850
- assistant: Z.assistant ? C(Z.assistant) : void 0
61852
+ seats: V.seats,
61853
+ templateSlots: V.templateSlots,
61854
+ assetSlots: V.assetSlots,
61855
+ annualPriceEur: V.annualPriceEur,
61856
+ allowDisableBranding: V.allowDisableBranding,
61857
+ cancelsAtPeriodEnd: V.cancelsAtPeriodEnd || void 0,
61858
+ videoBatchMaxSize: V.videoBatchMaxSize,
61859
+ assistant: V.assistant ? C(V.assistant) : void 0
61851
61860
  });
61852
61861
  }
61853
61862
  function k(N) {
@@ -61915,10 +61924,10 @@ var z0 = {}, im = {};
61915
61924
  priceId: { dev: "price_1U9O1ILGRgBAxN0CPasJlCe1", prod: "price_1UDNX2LGRgBAxN0CqLGF7FfH" }
61916
61925
  }
61917
61926
  };
61918
- function A(N, Z) {
61919
- for (const V of e.addOnKinds)
61920
- if (e.ADD_ONS[V].productId[N] === Z)
61921
- return e.ADD_ONS[V];
61927
+ function A(N, V) {
61928
+ for (const Z of e.addOnKinds)
61929
+ if (e.ADD_ONS[Z].productId[N] === V)
61930
+ return e.ADD_ONS[Z];
61922
61931
  return null;
61923
61932
  }
61924
61933
  e.INVOICE_KIND_ADDON_PURCHASE = "addon_purchase", e.BILLING_V3_INVOICE_METADATA_KEYS = {
@@ -61939,25 +61948,25 @@ var z0 = {}, im = {};
61939
61948
  function T(N) {
61940
61949
  if (!N.items.some((I) => I.productId === e.PRO_BASE_PRODUCT_ID[N.env]))
61941
61950
  return null;
61942
- const V = { credits: 0, seats: 0, templateSlots: 0, assetSlots: 0 };
61951
+ const Z = { credits: 0, seats: 0, templateSlots: 0, assetSlots: 0 };
61943
61952
  for (const I of N.items) {
61944
61953
  const z = A(N.env, I.productId);
61945
- z && (V[z.kind] += I.quantity);
61954
+ z && (Z[z.kind] += I.quantity);
61946
61955
  }
61947
61956
  return e.tierConfigSchema.parse({
61948
61957
  source: "stripe",
61949
61958
  expiresAt: N.expiresAtSeconds,
61950
61959
  name: "pro",
61951
61960
  credits: {
61952
- allowanceCenti: e.PRO_TIER_BASE.allowanceCenti + V.credits * i.CENTICREDITS_PER_CREDIT,
61961
+ allowanceCenti: e.PRO_TIER_BASE.allowanceCenti + Z.credits * i.CENTICREDITS_PER_CREDIT,
61953
61962
  window: "stripe_cycle"
61954
61963
  },
61955
61964
  period: { startSeconds: N.periodStartSeconds, endSeconds: N.periodEndSeconds },
61956
61965
  cancelsAtPeriodEnd: N.cancelsAtPeriodEnd || void 0,
61957
- seats: e.PRO_TIER_BASE.seats + V.seats,
61958
- templateSlots: e.PRO_TIER_BASE.templateSlots + V.templateSlots,
61959
- assetSlots: e.PRO_TIER_BASE.assetSlots + V.assetSlots,
61960
- addOnUnits: V,
61966
+ seats: e.PRO_TIER_BASE.seats + Z.seats,
61967
+ templateSlots: e.PRO_TIER_BASE.templateSlots + Z.templateSlots,
61968
+ assetSlots: e.PRO_TIER_BASE.assetSlots + Z.assetSlots,
61969
+ addOnUnits: Z,
61961
61970
  upcomingChanges: N.upcomingChanges,
61962
61971
  discount: N.discount
61963
61972
  });
@@ -61981,12 +61990,12 @@ var z0 = {}, im = {};
61981
61990
  alertLevel: r.z.enum(["none", "approaching", "exceeded", "watermark"])
61982
61991
  });
61983
61992
  function S(N) {
61984
- const { tier: Z, usedCenti: V, nowSeconds: I } = N, z = Z.credits.allowanceCenti, P = V > z, B = z > 0 ? V / z : V > 0 ? Number.POSITIVE_INFINITY : 0;
61985
- if (Z.name === "enterprise")
61993
+ const { tier: V, usedCenti: Z, nowSeconds: I } = N, z = V.credits.allowanceCenti, P = Z > z, B = z > 0 ? Z / z : Z > 0 ? Number.POSITIVE_INFINITY : 0;
61994
+ if (V.name === "enterprise")
61986
61995
  return {
61987
61996
  allowanceCenti: z,
61988
- usedCenti: V,
61989
- remainingCenti: Math.max(0, z - V),
61997
+ usedCenti: Z,
61998
+ remainingCenti: Math.max(0, z - Z),
61990
61999
  ratioUsed: B,
61991
62000
  exceeded: P,
61992
62001
  crossedAtSeconds: null,
@@ -61998,8 +62007,8 @@ var z0 = {}, im = {};
61998
62007
  const U = P ? N.firstExceededAtSeconds : null, Y = U != null ? U + e.GRACE_PERIOD_SECONDS : null, ne = Y != null && I >= Y, te = P && ne, he = P && !ne, ge = te ? "watermark" : P ? "exceeded" : B >= 0.8 ? "approaching" : "none";
61999
62008
  return {
62000
62009
  allowanceCenti: z,
62001
- usedCenti: V,
62002
- remainingCenti: Math.max(0, z - V),
62010
+ usedCenti: Z,
62011
+ remainingCenti: Math.max(0, z - Z),
62003
62012
  ratioUsed: B,
62004
62013
  exceeded: P,
62005
62014
  crossedAtSeconds: U,
@@ -62009,13 +62018,13 @@ var z0 = {}, im = {};
62009
62018
  alertLevel: ge
62010
62019
  };
62011
62020
  }
62012
- function L(N, Z) {
62013
- if (N > Z)
62021
+ function L(N, V) {
62022
+ if (N > V)
62014
62023
  return Math.ceil(N / i.CENTICREDITS_PER_CREDIT);
62015
- if (N === Z)
62016
- return Math.round(Z / i.CENTICREDITS_PER_CREDIT);
62017
- const V = Math.floor(N / i.CENTICREDITS_PER_CREDIT), I = Math.round(Z / i.CENTICREDITS_PER_CREDIT);
62018
- return Math.min(V, Math.max(0, I - 1));
62024
+ if (N === V)
62025
+ return Math.round(V / i.CENTICREDITS_PER_CREDIT);
62026
+ const Z = Math.floor(N / i.CENTICREDITS_PER_CREDIT), I = Math.round(V / i.CENTICREDITS_PER_CREDIT);
62027
+ return Math.min(Z, Math.max(0, I - 1));
62019
62028
  }
62020
62029
  e.addOnInvoiceLineSchema = r.z.object({
62021
62030
  kind: e.addOnKindSchema,
@@ -62027,7 +62036,7 @@ var z0 = {}, im = {};
62027
62036
  amountEurCents: r.z.number().int()
62028
62037
  });
62029
62038
  function E(N) {
62030
- const Z = Math.max(1, N.periodEndSeconds - N.periodStartSeconds), I = Math.min(Z, Math.max(0, N.periodEndSeconds - N.nowSeconds)) / Z, z = [];
62039
+ const V = Math.max(1, N.periodEndSeconds - N.periodStartSeconds), I = Math.min(V, Math.max(0, N.periodEndSeconds - N.nowSeconds)) / V, z = [];
62031
62040
  for (const Y of e.addOnKinds) {
62032
62041
  const ne = N.deltas[Y] ?? 0;
62033
62042
  if (!Number.isInteger(ne) || ne <= 0)
@@ -62064,15 +62073,15 @@ var z0 = {}, im = {};
62064
62073
  function R(N) {
62065
62074
  if (!N)
62066
62075
  return null;
62067
- const Z = N.indexOf(":");
62068
- if (Z <= 0)
62076
+ const V = N.indexOf(":");
62077
+ if (V <= 0)
62069
62078
  return null;
62070
- const V = N.slice(0, Z), I = N.slice(Z + 1);
62079
+ const Z = N.slice(0, V), I = N.slice(V + 1);
62071
62080
  if (!I)
62072
62081
  return null;
62073
- if (V === "user")
62082
+ if (Z === "user")
62074
62083
  return { kind: "user", userId: I };
62075
- if (V !== "org")
62084
+ if (Z !== "org")
62076
62085
  return null;
62077
62086
  const z = Number(I);
62078
62087
  return Number.isSafeInteger(z) && z > 0 ? { kind: "org", orgId: z } : null;
@@ -62102,8 +62111,8 @@ var z0 = {}, im = {};
62102
62111
  centicredits: r.z.number().int(),
62103
62112
  updated_at: r.z.number().int()
62104
62113
  });
62105
- function f(N, Z, V) {
62106
- return `conv:${N}:${Z}:${V}`;
62114
+ function f(N, V, Z) {
62115
+ return `conv:${N}:${V}:${Z}`;
62107
62116
  }
62108
62117
  e.usageSummarySchema = r.z.object({
62109
62118
  usedCenti: r.z.number(),
@@ -66830,12 +66839,12 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66830
66839
  "scale_out_of_range"
66831
66840
  ]);
66832
66841
  function y(x) {
66833
- const _ = x.split("/").filter((V) => V.length > 0);
66842
+ const _ = x.split("/").filter((Z) => Z.length > 0);
66834
66843
  if (_.length < 1 || _.length > 3)
66835
66844
  return { ok: !1, reason: "malformed_path" };
66836
66845
  let k;
66837
66846
  try {
66838
- k = _.map((V) => decodeURIComponent(V));
66847
+ k = _.map((Z) => decodeURIComponent(Z));
66839
66848
  } catch {
66840
66849
  return { ok: !1, reason: "malformed_path" };
66841
66850
  }
@@ -66847,23 +66856,23 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66847
66856
  if (T) {
66848
66857
  if (E = k.length === 3 ? k[1] : k[0], !n.ALIAS_PATTERN.test(E))
66849
66858
  return { ok: !1, reason: "invalid_alias" };
66850
- const V = m.exec(L) ?? b.exec(L);
66851
- if (!V)
66859
+ const Z = m.exec(L) ?? b.exec(L);
66860
+ if (!Z)
66852
66861
  return { ok: !1, reason: "invalid_canvas" };
66853
- [, D, R, f] = V;
66862
+ [, D, R, f] = Z;
66854
66863
  } else {
66855
- const V = p.exec(L);
66856
- if (!V)
66864
+ const Z = p.exec(L);
66865
+ if (!Z)
66857
66866
  return { ok: !1, reason: "invalid_alias" };
66858
- if ([, E, R, f] = V, !n.ALIAS_PATTERN.test(E))
66867
+ if ([, E, R, f] = Z, !n.ALIAS_PATTERN.test(E))
66859
66868
  return { ok: !1, reason: "invalid_alias" };
66860
66869
  D = null;
66861
66870
  }
66862
66871
  const N = a(R);
66863
66872
  if (!N)
66864
66873
  return { ok: !1, reason: "unknown_format" };
66865
- const Z = f === void 0 ? 1 : Number(f);
66866
- 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" } : {
66874
+ const V = f === void 0 ? 1 : Number(f);
66875
+ 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" } : {
66867
66876
  ok: !0,
66868
66877
  value: {
66869
66878
  scope: S,
@@ -66872,7 +66881,7 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66872
66881
  canvasToken: D,
66873
66882
  format: N,
66874
66883
  kind: i(N) ? "video" : "image",
66875
- scale: Z
66884
+ scale: V
66876
66885
  }
66877
66886
  };
66878
66887
  }
@@ -66885,8 +66894,8 @@ var el = {}, J4 = {}, Q4 = {}, e5 = {};
66885
66894
  staging: { image: "image-staging.bluepic.io", video: "video-staging.bluepic.io" }
66886
66895
  };
66887
66896
  function C(x) {
66888
- 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()}` : "";
66889
- return `https://${D}/${V}${I}`;
66897
+ 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()}` : "";
66898
+ return `https://${D}/${Z}${I}`;
66890
66899
  }
66891
66900
  })(Q4);
66892
66901
  (function(e) {
@@ -69031,72 +69040,69 @@ async function Iz(e, t, n, r, a, i, o, u, s, l) {
69031
69040
  throw new Error(`Failed to render serial remotely: ${c.statusText}`);
69032
69041
  return await c.blob();
69033
69042
  }
69034
- async function Az(e, t, n, r, a, i, o, u, s) {
69035
- return new Promise(async (l, d) => {
69036
- let h, c;
69037
- function p(_) {
69043
+ async function Az(e, t, n, r, a, i, o) {
69044
+ return new Promise(async (u, s) => {
69045
+ let l, d;
69046
+ function h(C) {
69038
69047
  try {
69039
- const k = JSON.parse(_);
69040
- if (k.type === "end" && (console.log("Video rendering completed", k), h = k.sessionId, c = [k.result]), k.type === "error")
69041
- throw console.error("Error in video rendering", k), new Error(k.message);
69042
- k.type !== "end" && s(k);
69048
+ const x = JSON.parse(C);
69049
+ if (x.type === "end" && (console.log("Video rendering completed", x), l = x.sessionId, d = [x.result]), x.type === "error")
69050
+ throw console.error("Error in video rendering", x), new Error(x.message);
69051
+ x.type !== "end" && i(x);
69043
69052
  } catch {
69044
69053
  }
69045
69054
  }
69046
- const m = `${u.remoteVideoRenderBaseUrl}/video/render`, b = {
69047
- engine: "resvg",
69048
- frameFormat: "rgba",
69049
- serial: e,
69050
- data: t,
69051
- width: n,
69052
- height: r,
69053
- format: a,
69054
- frameRate: o.fps,
69055
- duration: i,
69056
- vcodec: o.vcodec,
69057
- acodec: o.acodec,
69058
- pix_fmt: o.pix_fmt,
69059
- audio: [],
69060
- delay: 0,
69061
- parallelize: 1,
69062
- watermark: !1
69063
- }, y = await fetch(m, {
69055
+ const c = `${a.apiBaseUrl}/api/public/render/campaign`, p = {
69056
+ env: a.env,
69057
+ templateId: t,
69058
+ campaignId: e,
69059
+ engine: "puppeteer",
69060
+ data: n,
69061
+ format: r,
69062
+ framesX: 1,
69063
+ framesY: 1,
69064
+ // The API meters the video itself once the stream ends with a result.
69065
+ consumeCredits: !0,
69066
+ ...o ? { canvas: o } : {}
69067
+ }, m = await fetch(c, {
69064
69068
  method: "POST",
69065
69069
  headers: {
69066
- "Content-Type": "application/json"
69070
+ "Content-Type": "application/json",
69071
+ ...a.bearerToken ? { Authorization: `Bearer ${a.bearerToken}` } : {},
69072
+ ...a.password ? { "X-Bluepic-Password": a.password } : {}
69067
69073
  },
69068
- body: JSON.stringify(b)
69074
+ body: JSON.stringify(p)
69069
69075
  });
69070
- if (!y.body)
69071
- throw new Error(`Failed to start video rendering: ${y.status}`);
69072
- const w = y.body.getReader();
69073
- let C = "";
69074
- const x = new TextDecoder();
69076
+ if (!m.body)
69077
+ throw new Error(`Failed to start video rendering: ${m.status}`);
69078
+ const b = m.body.getReader();
69079
+ let y = "";
69080
+ const w = new TextDecoder();
69075
69081
  for (; ; ) {
69076
- const { value: _, done: k } = await w.read();
69077
- if (k) break;
69078
- C += x.decode(_, { stream: !0 });
69079
- let A = C.indexOf(`
69082
+ const { value: C, done: x } = await b.read();
69083
+ if (x) break;
69084
+ y += w.decode(C, { stream: !0 });
69085
+ let _ = y.indexOf(`
69080
69086
 
69081
69087
  `);
69082
- for (; A !== -1; ) {
69083
- const T = C.slice(0, A).trim();
69084
- C = C.slice(A + 2), A = C.indexOf(`
69088
+ for (; _ !== -1; ) {
69089
+ const k = y.slice(0, _).trim();
69090
+ y = y.slice(_ + 2), _ = y.indexOf(`
69085
69091
 
69086
69092
  `);
69087
- const S = T.split(/\r?\n/);
69088
- let L = "";
69089
- for (const E of S)
69090
- E.startsWith("data:") && (L += E.slice(5).trim());
69091
- p(L);
69093
+ const A = k.split(/\r?\n/);
69094
+ let T = "";
69095
+ for (const S of A)
69096
+ S.startsWith("data:") && (T += S.slice(5).trim());
69097
+ h(T);
69092
69098
  }
69093
69099
  }
69094
- if (!c || c.length === 0) {
69095
- d(new Error("No files found"));
69100
+ if (!d || d.length === 0) {
69101
+ s(new Error("No files found"));
69096
69102
  return;
69097
69103
  }
69098
- l({
69099
- files: c,
69104
+ u({
69105
+ files: d,
69100
69106
  creditsConsumed: 0
69101
69107
  });
69102
69108
  });
@@ -69266,7 +69272,7 @@ function a1e(e, t, n, r, a, i, o, u, s, l, d, h, c, p, m, b, y, w = se(void 0),
69266
69272
  return (await ge.json()).url;
69267
69273
  });
69268
69274
  }
69269
- async function Z(U, Y, ne, te, he) {
69275
+ async function V(U, Y, ne, te, he) {
69270
69276
  var G, ie;
69271
69277
  const ge = n.value.actionalConnections, $e = n.value.socialConnections, Q = Object.entries($e).filter(([ce, de]) => de).map(([ce]) => ce), M = [];
69272
69278
  ge.download && M.push("download"), ge.webhook && M.push("webhook"), ge.redirect && M.push("redirect"), Q.length + M.length;
@@ -69319,7 +69325,7 @@ function a1e(e, t, n, r, a, i, o, u, s, l, d, h, c, p, m, b, y, w = se(void 0),
69319
69325
  customClasses: ["bx-template-editor-export-popup"]
69320
69326
  });
69321
69327
  }
69322
- function V() {
69328
+ function Z() {
69323
69329
  const U = n.value.actionalConnections, Y = n.value.socialConnections, ne = [];
69324
69330
  U.download && ne.push("download"), U.webhook && ne.push("webhook"), U.redirect && ne.push("redirect");
69325
69331
  const te = Object.entries(Y).filter(([, he]) => he).map(([he]) => he);
@@ -69333,7 +69339,7 @@ function a1e(e, t, n, r, a, i, o, u, s, l, d, h, c, p, m, b, y, w = se(void 0),
69333
69339
  return console.error("No serial available for export");
69334
69340
  if (!i.value)
69335
69341
  return console.error("No live template component reference available for export");
69336
- const U = ((M = e.value) == null ? void 0 : M.format) ?? "png", Y = U in Xl ? "video" : "image", { enabledActions: ne, enabledSocials: te, optionCount: he } = V(), ge = new Afe(y.value, {
69342
+ const U = ((M = e.value) == null ? void 0 : M.format) ?? "png", Y = U in Xl ? "video" : "image", { enabledActions: ne, enabledSocials: te, optionCount: he } = Z(), ge = new Afe(y.value, {
69337
69343
  templateId: r.value ?? "TEMPLATE_ID_UNDEFINED",
69338
69344
  campaignId: o.value,
69339
69345
  format: U,
@@ -69381,7 +69387,7 @@ function a1e(e, t, n, r, a, i, o, u, s, l, d, h, c, p, m, b, y, w = se(void 0),
69381
69387
  so.generateBillingKey(o.value, r.value ?? "TEMPLATE_ID_UNDEFINED", t.value, e.value),
69382
69388
  T.value
69383
69389
  );
69384
- await Z(j.files, U, "image", ge, G);
69390
+ await V(j.files, U, "image", ge, G);
69385
69391
  } else if (U in Xl) {
69386
69392
  let j = null;
69387
69393
  f.value = 0;
@@ -69389,22 +69395,15 @@ function a1e(e, t, n, r, a, i, o, u, s, l, d, h, c, p, m, b, y, w = se(void 0),
69389
69395
  if (G === "server") {
69390
69396
  let ie = 0, ce = 0, de = 0;
69391
69397
  const we = await Az(
69392
- e.value,
69398
+ o.value,
69399
+ r.value ?? "TEMPLATE_ID_UNDEFINED",
69393
69400
  t.value,
69394
- e.value.width,
69395
- e.value.height,
69396
69401
  U,
69397
- e.value.animation.duration * 1e3,
69398
- {
69399
- fps: e.value.animation.fps,
69400
- vcodec: "libx264",
69401
- acodec: "aac",
69402
- pix_fmt: "yuv420p"
69403
- },
69404
- s,
69402
+ u,
69405
69403
  (Ce) => {
69406
69404
  Ce.type === "keyframe" ? (ie = Ce.frame, de = Ce.totalFrames) : Ce.type === "encode_video" && (ce = Ce.frame, de = Ce.totalFrames), f.value = (ie + ce) / (de * 2);
69407
- }
69405
+ },
69406
+ C.value
69408
69407
  ), [Be] = we.files;
69409
69408
  j = await (await fetch(Be)).blob(), R.value = !1, f.value = void 0;
69410
69409
  } else {
@@ -69445,11 +69444,12 @@ function a1e(e, t, n, r, a, i, o, u, s, l, d, h, c, p, m, b, y, w = se(void 0),
69445
69444
  fileCount: 1,
69446
69445
  clientRenderFailed: !1
69447
69446
  });
69448
- const ie = E(
69447
+ const ie = G === "server" ? async () => {
69448
+ } : E(
69449
69449
  so.generateBillingKey(o.value, r.value ?? "TEMPLATE_ID_UNDEFINED", t.value, e.value),
69450
69450
  T.value
69451
69451
  );
69452
- await Z([j], U, "video", ge, ie);
69452
+ await V([j], U, "video", ge, ie);
69453
69453
  } else
69454
69454
  ge.renderFailure({
69455
69455
  renderLocation: G,
@@ -69783,10 +69783,10 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69783
69783
  () => 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}`
69784
69784
  );
69785
69785
  let E;
69786
- const D = se(), R = se(0), f = se([]), N = se([]), Z = oe(() => {
69786
+ const D = se(), R = se(0), f = se([]), N = se([]), V = oe(() => {
69787
69787
  const U = N.value.map((te) => te.index + 1), Y = U.slice(0, 5), ne = U.length - Y.length;
69788
69788
  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]}`;
69789
- }), V = se(""), I = se("");
69789
+ }), Z = se(""), I = se("");
69790
69790
  async function z() {
69791
69791
  if (x.value) {
69792
69792
  E = new AbortController(), A.value = "running", T.value = { done: 0, total: r.rowCount, failed: 0, current: 0 };
@@ -69802,7 +69802,7 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69802
69802
  T.value = { done: Y.done, total: Y.total, failed: Y.failed ?? 0, current: Y.current ?? 0 };
69803
69803
  }
69804
69804
  });
69805
- 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);
69805
+ 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);
69806
69806
  } catch (U) {
69807
69807
  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.";
69808
69808
  }
@@ -69949,7 +69949,7 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69949
69949
  ], 64)) : e.kind === "files" ? (F(), X(Qe, { key: 1 }, [
69950
69950
  gt(Ae(R.value) + " " + Ae(R.value === 1 ? "file" : "files") + " ready.", 1)
69951
69951
  ], 64)) : (F(), X(Qe, { key: 2 }, [
69952
- gt("CSV ready" + Ae(V.value) + ".", 1)
69952
+ gt("CSV ready" + Ae(Z.value) + ".", 1)
69953
69953
  ], 64))
69954
69954
  ]),
69955
69955
  N.value.length ? (F(), Ge(Gl, {
@@ -69959,7 +69959,7 @@ const l1e = { class: "intro" }, c1e = { class: "field" }, u1e = ["id"], d1e = {
69959
69959
  "show-icon": !0
69960
69960
  }, {
69961
69961
  default: fe(() => [
69962
- 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),
69962
+ 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),
69963
69963
  e.consumesCredits ? (F(), X(Qe, { key: 0 }, [
69964
69964
  gt("Rows that rendered were charged; failed rows were not.")
69965
69965
  ], 64)) : (F(), X(Qe, { key: 1 }, [
@@ -70247,34 +70247,27 @@ async function U1e(e, t, n, r, a = () => {
70247
70247
  let d = 0, h = !1;
70248
70248
  const c = (A, T) => a({ done: d, total: e.length, current: T, currentIndex: A, failed: l.length }), { serial: p } = r, m = ((_ = p.frames) == null ? void 0 : _.x) ?? 1, b = ((k = p.frames) == null ? void 0 : k.y) ?? 1, y = r.remoteOptions;
70249
70249
  async function w(A, T) {
70250
- var L, E, D;
70250
+ var L;
70251
70251
  let S;
70252
70252
  if (i) {
70253
- const R = await Az(
70254
- p,
70253
+ const E = await Az(
70254
+ r.campaignId,
70255
+ r.templateId,
70255
70256
  A.data,
70256
- p.width,
70257
- p.height,
70258
70257
  t,
70259
- (((L = p.animation) == null ? void 0 : L.duration) ?? 5) * 1e3,
70260
- {
70261
- fps: ((E = p.animation) == null ? void 0 : E.fps) ?? 30,
70262
- vcodec: "libx264",
70263
- acodec: "aac",
70264
- pix_fmt: "yuv420p"
70265
- },
70266
- r.remoteVideoOptions,
70267
- (f) => {
70268
- const N = f;
70269
- if (N.totalFrames) {
70270
- const Z = ((N.processedFrames ?? 0) + (N.encodedFrames ?? 0)) / (2 * N.totalFrames);
70271
- c(T + 1, Math.max(0, Math.min(0.99, Z)));
70258
+ y,
70259
+ (D) => {
70260
+ const R = D;
70261
+ if (R.totalFrames) {
70262
+ const f = ((R.processedFrames ?? 0) + (R.encodedFrames ?? 0)) / (2 * R.totalFrames);
70263
+ c(T + 1, Math.max(0, Math.min(0.99, f)));
70272
70264
  }
70273
- }
70265
+ },
70266
+ r.canvasId
70274
70267
  );
70275
- S = await Promise.all(R.files.map((f) => fetch(f).then((N) => N.blob())));
70268
+ S = await Promise.all(E.files.map((D) => fetch(D).then((R) => R.blob())));
70276
70269
  } else {
70277
- const R = await Iz(
70270
+ const E = await Iz(
70278
70271
  r.campaignId,
70279
70272
  r.templateId,
70280
70273
  A.data,
@@ -70286,15 +70279,15 @@ async function U1e(e, t, n, r, a = () => {
70286
70279
  y,
70287
70280
  r.canvasId
70288
70281
  );
70289
- S = R.type === "application/zip" ? await N1e(R) : [R];
70282
+ S = E.type === "application/zip" ? await N1e(E) : [E];
70290
70283
  }
70291
- if (h || (D = r.signal) != null && D.aborted) {
70284
+ if (h || (L = r.signal) != null && L.aborted) {
70292
70285
  h = !0;
70293
70286
  return;
70294
70287
  }
70295
- await r.consumeOutput(A.data, i ? "video" : "image"), s[T] = S.map((R, f) => ({
70296
- name: `${u[T]}${S.length > 1 ? `-${f + 1}` : ""}.${ac.getExtension(R.type) || t}`,
70297
- blob: R
70288
+ await r.consumeOutput(A.data, i ? "video" : "image"), s[T] = S.map((E, D) => ({
70289
+ name: `${u[T]}${S.length > 1 ? `-${D + 1}` : ""}.${ac.getExtension(E.type) || t}`,
70290
+ blob: E
70298
70291
  })), d++, c(T + 1, 1);
70299
70292
  }
70300
70293
  await Promise.all(
@@ -70540,7 +70533,7 @@ const K1e = { class: "bx-batch-import-popup" }, J1e = { class: "paste" }, Q1e =
70540
70533
  }
70541
70534
  Ke(m, () => R());
70542
70535
  const N = se(!1);
70543
- function Z(I, z) {
70536
+ function V(I, z) {
70544
70537
  if (!z || z.type === "null") return;
70545
70538
  const P = I.type;
70546
70539
  switch (P) {
@@ -70562,14 +70555,14 @@ const K1e = { class: "bx-batch-import-popup" }, J1e = { class: "paste" }, Q1e =
70562
70555
  return ks(z);
70563
70556
  }
70564
70557
  }
70565
- function V() {
70558
+ function Z() {
70566
70559
  const I = new Map(S.value.map((P) => [P.key, P.field])), z = y.value.map((P) => {
70567
70560
  const B = {};
70568
70561
  return k.value.forEach((U, Y) => {
70569
70562
  if (!U) return;
70570
70563
  const ne = I.get(U);
70571
70564
  if (!ne) return;
70572
- const te = Z(ne, P[Y]);
70565
+ const te = V(ne, P[Y]);
70573
70566
  te !== void 0 && (B[U] = te);
70574
70567
  }), B;
70575
70568
  });
@@ -70687,7 +70680,7 @@ const K1e = { class: "bx-batch-import-popup" }, J1e = { class: "paste" }, Q1e =
70687
70680
  pe(kt, {
70688
70681
  active: "",
70689
70682
  disabled: !A.value || y.value.length === 0,
70690
- onClick: V
70683
+ onClick: Z
70691
70684
  }, {
70692
70685
  default: fe(() => [
70693
70686
  gt(Ae(N.value ? "Replace rows" : "Add rows"), 1)
@@ -71292,15 +71285,15 @@ function Ehe() {
71292
71285
  if (f && (D.style.transform = "none"), N && (D.style.webkitTransform = "none"), n.roundLengths)
71293
71286
  S = e.isHorizontal() ? e3(D, "width") : e3(D, "height");
71294
71287
  else {
71295
- const Z = t(R, "width"), V = t(R, "padding-left"), I = t(R, "padding-right"), z = t(R, "margin-left"), P = t(R, "margin-right"), B = R.getPropertyValue("box-sizing");
71288
+ const V = t(R, "width"), Z = t(R, "padding-left"), I = t(R, "padding-right"), z = t(R, "margin-left"), P = t(R, "margin-right"), B = R.getPropertyValue("box-sizing");
71296
71289
  if (B && B === "border-box")
71297
- S = Z + z + P;
71290
+ S = V + z + P;
71298
71291
  else {
71299
71292
  const {
71300
71293
  clientWidth: U,
71301
71294
  offsetWidth: Y
71302
71295
  } = D;
71303
- S = Z + V + I + z + P + (Y - U);
71296
+ S = V + Z + I + z + P + (Y - U);
71304
71297
  }
71305
71298
  }
71306
71299
  f && (D.style.transform = f), N && (D.style.webkitTransform = N), n.roundLengths && (S = Math.floor(S));
@@ -71316,17 +71309,17 @@ function Ehe() {
71316
71309
  let N;
71317
71310
  if (n.slidesPerView === "auto") {
71318
71311
  N = 1;
71319
- let Z = 0;
71320
- for (let V = p.length - 1; V >= 0 && (Z += p[V] + (V < p.length - 1 ? x : 0), Z <= C); V -= 1)
71321
- N = p.length - V;
71312
+ let V = 0;
71313
+ for (let Z = p.length - 1; Z >= 0 && (V += p[Z] + (Z < p.length - 1 ? x : 0), V <= C); Z -= 1)
71314
+ N = p.length - Z;
71322
71315
  } else
71323
71316
  N = Math.floor(n.slidesPerView);
71324
71317
  R = Math.max(d - N, 0);
71325
71318
  }
71326
71319
  const f = [];
71327
71320
  for (let N = 0; N < h.length; N += 1) {
71328
- let Z = h[N];
71329
- n.roundLengths && (Z = Math.floor(Z)), D ? N <= R && f.push(Z) : h[N] <= e.virtualSize - C && f.push(Z);
71321
+ let V = h[N];
71322
+ n.roundLengths && (V = Math.floor(V)), D ? N <= R && f.push(V) : h[N] <= e.virtualSize - C && f.push(V);
71330
71323
  }
71331
71324
  h = f, Math.floor(e.virtualSize - C) - Math.floor(h[h.length - 1]) > 1 && (D || h.push(e.virtualSize - C));
71332
71325
  }
@@ -72037,7 +72030,7 @@ function npe({
72037
72030
  let D = E ? w : s.activeIndex;
72038
72031
  typeof a > "u" ? a = s.getSlideIndex(l.find((z) => z.classList.contains(p.slideActiveClass))) : D = a;
72039
72032
  const R = n === "next" || !n, f = n === "prev" || !n;
72040
- let N = 0, Z = 0;
72033
+ let N = 0, V = 0;
72041
72034
  const I = (A ? l[a].column : a) + (C && typeof r > "u" ? -x / 2 + 0.5 : 0);
72042
72035
  if (I < k) {
72043
72036
  N = Math.max(k - I, _);
@@ -72051,8 +72044,8 @@ function npe({
72051
72044
  T.push(L - P - 1);
72052
72045
  }
72053
72046
  } else if (I + x > L - k) {
72054
- Z = Math.max(I - (L - k * 2), _), E && (Z = Math.max(Z, x - L + w + 1));
72055
- for (let z = 0; z < Z; z += 1) {
72047
+ V = Math.max(I - (L - k * 2), _), E && (V = Math.max(V, x - L + w + 1));
72048
+ for (let z = 0; z < V; z += 1) {
72056
72049
  const P = z - Math.floor(z / L) * L;
72057
72050
  A ? l.forEach((B, U) => {
72058
72051
  B.column === P && S.push(U);
@@ -72078,8 +72071,8 @@ function npe({
72078
72071
  }
72079
72072
  } else if (S.length > 0 && R)
72080
72073
  if (typeof e > "u") {
72081
- const z = s.slidesGrid[D], B = s.slidesGrid[D - Z] - z;
72082
- 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));
72074
+ const z = s.slidesGrid[D], B = s.slidesGrid[D - V] - z;
72075
+ 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));
72083
72076
  } else {
72084
72077
  const z = A ? S.length / p.grid.rows : S.length;
72085
72078
  s.slideTo(s.activeIndex - z, 0, !1, !0);
@@ -74251,15 +74244,15 @@ function Bpe({
74251
74244
  f.setAttribute("part", N === _ ? "bullet-active" : "bullet");
74252
74245
  }), C.dynamicBullets) {
74253
74246
  const f = S[L], N = S[E];
74254
- for (let Z = L; Z <= E; Z += 1)
74255
- S[Z] && S[Z].classList.add(...`${C.bulletActiveClass}-main`.split(" "));
74247
+ for (let V = L; V <= E; V += 1)
74248
+ S[V] && S[V].classList.add(...`${C.bulletActiveClass}-main`.split(" "));
74256
74249
  s(f, "prev"), s(N, "next");
74257
74250
  }
74258
74251
  }
74259
74252
  if (C.dynamicBullets) {
74260
74253
  const R = Math.min(S.length, C.dynamicMainBullets + 4), f = (i * R - i) / 2 - D * i, N = w ? "right" : "left";
74261
- S.forEach((Z) => {
74262
- Z.style[e.isHorizontal() ? N : "top"] = `${f}px`;
74254
+ S.forEach((V) => {
74255
+ V.style[e.isHorizontal() ? N : "top"] = `${f}px`;
74263
74256
  });
74264
74257
  }
74265
74258
  }
@@ -74407,9 +74400,9 @@ function jpe({
74407
74400
  } = e, {
74408
74401
  dragEl: f,
74409
74402
  el: N
74410
- } = D, Z = e.params.scrollbar, V = e.params.loop ? e.progressLoop : e.progress;
74411
- let I = l, z = (d - l) * V;
74412
- R ? (z = -z, z > 0 ? (I = l - z, z = 0) : -z + l > d && (I = d + z)) : z < 0 ? (I = l + z, z = 0) : z + l > 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(() => {
74403
+ } = D, V = e.params.scrollbar, Z = e.params.loop ? e.progressLoop : e.progress;
74404
+ let I = l, z = (d - l) * Z;
74405
+ R ? (z = -z, z > 0 ? (I = l - z, z = 0) : -z + l > d && (I = d + z)) : z < 0 ? (I = l + z, z = 0) : z + l > 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(() => {
74413
74406
  N.style.opacity = 0, N.style.transitionDuration = "400ms";
74414
74407
  }, 1e3));
74415
74408
  }
@@ -74436,20 +74429,20 @@ function jpe({
74436
74429
  } = e, {
74437
74430
  el: N
74438
74431
  } = R;
74439
- let Z;
74440
- Z = (b(D) - vhe(N)[e.isHorizontal() ? "left" : "top"] - (s !== null ? s : l / 2)) / (d - l), Z = Math.max(Math.min(Z, 1), 0), f && (Z = 1 - Z);
74441
- const V = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * Z;
74442
- e.updateProgress(V), e.setTranslate(V), e.updateActiveIndex(), e.updateSlidesClasses();
74432
+ let V;
74433
+ V = (b(D) - vhe(N)[e.isHorizontal() ? "left" : "top"] - (s !== null ? s : l / 2)) / (d - l), V = Math.max(Math.min(V, 1), 0), f && (V = 1 - V);
74434
+ const Z = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * V;
74435
+ e.updateProgress(Z), e.setTranslate(Z), e.updateActiveIndex(), e.updateSlidesClasses();
74443
74436
  }
74444
74437
  function w(D) {
74445
74438
  const R = e.params.scrollbar, {
74446
74439
  scrollbar: f,
74447
74440
  wrapperEl: N
74448
74441
  } = e, {
74449
- el: Z,
74450
- dragEl: V
74442
+ el: V,
74443
+ dragEl: Z
74451
74444
  } = f;
74452
- 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);
74445
+ 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);
74453
74446
  }
74454
74447
  function C(D) {
74455
74448
  const {
@@ -74457,19 +74450,19 @@ function jpe({
74457
74450
  wrapperEl: f
74458
74451
  } = e, {
74459
74452
  el: N,
74460
- dragEl: Z
74453
+ dragEl: V
74461
74454
  } = R;
74462
- 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));
74455
+ 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));
74463
74456
  }
74464
74457
  function x(D) {
74465
74458
  const R = e.params.scrollbar, {
74466
74459
  scrollbar: f,
74467
74460
  wrapperEl: N
74468
74461
  } = e, {
74469
- el: Z
74462
+ el: V
74470
74463
  } = f;
74471
74464
  i && (i = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", N.style.transitionDuration = ""), R.hide && (clearTimeout(u), u = i5(() => {
74472
- Z.style.opacity = 0, Z.style.transitionDuration = "400ms";
74465
+ V.style.opacity = 0, V.style.transitionDuration = "400ms";
74473
74466
  }, 1e3)), r("scrollbarDragEnd", D), R.snapOnRelease && e.slideToClosest());
74474
74467
  }
74475
74468
  function _(D) {
@@ -74478,16 +74471,16 @@ function jpe({
74478
74471
  params: f
74479
74472
  } = e, N = R.el;
74480
74473
  if (!N) return;
74481
- const Z = N, V = f.passiveListeners ? {
74474
+ const V = N, Z = f.passiveListeners ? {
74482
74475
  passive: !1,
74483
74476
  capture: !1
74484
74477
  } : !1, I = f.passiveListeners ? {
74485
74478
  passive: !0,
74486
74479
  capture: !1
74487
74480
  } : !1;
74488
- if (!Z) return;
74481
+ if (!V) return;
74489
74482
  const z = D === "on" ? "addEventListener" : "removeEventListener";
74490
- Z[z]("pointerdown", w, V), a[z]("pointermove", C, V), a[z]("pointerup", x, I);
74483
+ V[z]("pointerdown", w, Z), a[z]("pointermove", C, Z), a[z]("pointerup", x, I);
74491
74484
  }
74492
74485
  function k() {
74493
74486
  !e.params.scrollbar.el || !e.scrollbar.el || _("on");
@@ -74510,10 +74503,10 @@ function jpe({
74510
74503
  if (N = a.querySelectorAll(f.el), !N.length) return;
74511
74504
  } else N || (N = f.el);
74512
74505
  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);
74513
- let Z;
74514
- N && (Z = N.querySelector(Ko(e.params.scrollbar.dragClass)), Z || (Z = Fu("div", e.params.scrollbar.dragClass), N.append(Z))), Object.assign(D, {
74506
+ let V;
74507
+ N && (V = N.querySelector(Ko(e.params.scrollbar.dragClass)), V || (V = Fu("div", e.params.scrollbar.dragClass), N.append(V))), Object.assign(D, {
74515
74508
  el: N,
74516
- dragEl: Z
74509
+ dragEl: V
74517
74510
  }), f.draggable && k(), N && N.classList[e.enabled ? "remove" : "add"](...Es(e.params.scrollbar.lockClass));
74518
74511
  }
74519
74512
  function S() {
@@ -74587,66 +74580,66 @@ function Fpe({
74587
74580
  clicked: !1
74588
74581
  };
74589
74582
  let r = null, a, i, o = (/* @__PURE__ */ new Date()).getTime();
74590
- function u(Z) {
74591
- const V = r;
74592
- V.length !== 0 && Nu(V, Z);
74583
+ function u(V) {
74584
+ const Z = r;
74585
+ Z.length !== 0 && Nu(Z, V);
74593
74586
  }
74594
- function s(Z = 16) {
74595
- const V = () => Math.round(16 * Math.random()).toString(16);
74596
- return "x".repeat(Z).replace(/x/g, V);
74587
+ function s(V = 16) {
74588
+ const Z = () => Math.round(16 * Math.random()).toString(16);
74589
+ return "x".repeat(V).replace(/x/g, Z);
74597
74590
  }
74598
- function l(Z) {
74599
- Z = Sn(Z), Z.forEach((V) => {
74600
- V.setAttribute("tabIndex", "0");
74591
+ function l(V) {
74592
+ V = Sn(V), V.forEach((Z) => {
74593
+ Z.setAttribute("tabIndex", "0");
74601
74594
  });
74602
74595
  }
74603
- function d(Z) {
74604
- Z = Sn(Z), Z.forEach((V) => {
74605
- V.setAttribute("tabIndex", "-1");
74596
+ function d(V) {
74597
+ V = Sn(V), V.forEach((Z) => {
74598
+ Z.setAttribute("tabIndex", "-1");
74606
74599
  });
74607
74600
  }
74608
- function h(Z, V) {
74609
- Z = Sn(Z), Z.forEach((I) => {
74610
- I.setAttribute("role", V);
74601
+ function h(V, Z) {
74602
+ V = Sn(V), V.forEach((I) => {
74603
+ I.setAttribute("role", Z);
74611
74604
  });
74612
74605
  }
74613
- function c(Z, V) {
74614
- Z = Sn(Z), Z.forEach((I) => {
74615
- I.setAttribute("aria-roledescription", V);
74606
+ function c(V, Z) {
74607
+ V = Sn(V), V.forEach((I) => {
74608
+ I.setAttribute("aria-roledescription", Z);
74616
74609
  });
74617
74610
  }
74618
- function p(Z, V) {
74619
- Z = Sn(Z), Z.forEach((I) => {
74620
- I.setAttribute("aria-label", V);
74611
+ function p(V, Z) {
74612
+ V = Sn(V), V.forEach((I) => {
74613
+ I.setAttribute("aria-label", Z);
74621
74614
  });
74622
74615
  }
74623
- function m(Z, V) {
74624
- Z = Sn(Z), Z.forEach((I) => {
74625
- I.setAttribute("id", V);
74616
+ function m(V, Z) {
74617
+ V = Sn(V), V.forEach((I) => {
74618
+ I.setAttribute("id", Z);
74626
74619
  });
74627
74620
  }
74628
- function b(Z, V) {
74629
- Z = Sn(Z), Z.forEach((I) => {
74630
- I.setAttribute("aria-live", V);
74621
+ function b(V, Z) {
74622
+ V = Sn(V), V.forEach((I) => {
74623
+ I.setAttribute("aria-live", Z);
74631
74624
  });
74632
74625
  }
74633
- function y(Z) {
74634
- Z = Sn(Z), Z.forEach((V) => {
74635
- V.setAttribute("aria-disabled", !0);
74626
+ function y(V) {
74627
+ V = Sn(V), V.forEach((Z) => {
74628
+ Z.setAttribute("aria-disabled", !0);
74636
74629
  });
74637
74630
  }
74638
- function w(Z) {
74639
- Z = Sn(Z), Z.forEach((V) => {
74640
- V.removeAttribute("aria-disabled");
74631
+ function w(V) {
74632
+ V = Sn(V), V.forEach((Z) => {
74633
+ Z.removeAttribute("aria-disabled");
74641
74634
  });
74642
74635
  }
74643
- function C(Z) {
74644
- if (Z.keyCode !== 13 && Z.keyCode !== 32) return;
74645
- const V = e.params.a11y, I = Z.target;
74646
- if (!(e.pagination && e.pagination.el && (I === e.pagination.el || e.pagination.el.contains(Z.target)) && !Z.target.matches(Ko(e.params.pagination.bulletClass)))) {
74636
+ function C(V) {
74637
+ if (V.keyCode !== 13 && V.keyCode !== 32) return;
74638
+ const Z = e.params.a11y, I = V.target;
74639
+ if (!(e.pagination && e.pagination.el && (I === e.pagination.el || e.pagination.el.contains(V.target)) && !V.target.matches(Ko(e.params.pagination.bulletClass)))) {
74647
74640
  if (e.navigation && e.navigation.prevEl && e.navigation.nextEl) {
74648
74641
  const z = Sn(e.navigation.prevEl);
74649
- 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));
74642
+ 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));
74650
74643
  }
74651
74644
  e.pagination && I.matches(Ko(e.params.pagination.bulletClass)) && I.click();
74652
74645
  }
@@ -74654,10 +74647,10 @@ function Fpe({
74654
74647
  function x() {
74655
74648
  if (e.params.loop || e.params.rewind || !e.navigation) return;
74656
74649
  const {
74657
- nextEl: Z,
74658
- prevEl: V
74650
+ nextEl: V,
74651
+ prevEl: Z
74659
74652
  } = e.navigation;
74660
- V && (e.isBeginning ? (y(V), d(V)) : (w(V), l(V))), Z && (e.isEnd ? (y(Z), d(Z)) : (w(Z), l(Z)));
74653
+ Z && (e.isBeginning ? (y(Z), d(Z)) : (w(Z), l(Z))), V && (e.isEnd ? (y(V), d(V)) : (w(V), l(V)));
74661
74654
  }
74662
74655
  function _() {
74663
74656
  return e.pagination && e.pagination.bullets && e.pagination.bullets.length;
@@ -74666,47 +74659,47 @@ function Fpe({
74666
74659
  return _() && e.params.pagination.clickable;
74667
74660
  }
74668
74661
  function A() {
74669
- const Z = e.params.a11y;
74670
- _() && e.pagination.bullets.forEach((V) => {
74671
- e.params.pagination.clickable && (l(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");
74662
+ const V = e.params.a11y;
74663
+ _() && e.pagination.bullets.forEach((Z) => {
74664
+ e.params.pagination.clickable && (l(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");
74672
74665
  });
74673
74666
  }
74674
- const T = (Z, V, I) => {
74675
- l(Z), Z.tagName !== "BUTTON" && (h(Z, "button"), Z.addEventListener("keydown", C)), p(Z, I);
74676
- }, S = (Z) => {
74677
- i && i !== Z.target && !i.contains(Z.target) && (a = !0), e.a11y.clicked = !0;
74667
+ const T = (V, Z, I) => {
74668
+ l(V), V.tagName !== "BUTTON" && (h(V, "button"), V.addEventListener("keydown", C)), p(V, I);
74669
+ }, S = (V) => {
74670
+ i && i !== V.target && !i.contains(V.target) && (a = !0), e.a11y.clicked = !0;
74678
74671
  }, L = () => {
74679
74672
  a = !1, requestAnimationFrame(() => {
74680
74673
  requestAnimationFrame(() => {
74681
74674
  e.destroyed || (e.a11y.clicked = !1);
74682
74675
  });
74683
74676
  });
74684
- }, E = (Z) => {
74677
+ }, E = (V) => {
74685
74678
  o = (/* @__PURE__ */ new Date()).getTime();
74686
- }, D = (Z) => {
74679
+ }, D = (V) => {
74687
74680
  if (e.a11y.clicked || !e.params.a11y.scrollOnFocus || (/* @__PURE__ */ new Date()).getTime() - o < 100) return;
74688
- const V = Z.target.closest(`.${e.params.slideClass}, swiper-slide`);
74689
- if (!V || !e.slides.includes(V)) return;
74690
- i = V;
74691
- const I = e.virtual && e.params.virtual.enabled, z = (I ? parseInt(V.getAttribute("data-swiper-slide-index"), 10) : e.slides.indexOf(V)) === e.activeIndex, P = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(V);
74692
- z || P || Z.sourceCapabilities && Z.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
74693
- 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);
74681
+ const Z = V.target.closest(`.${e.params.slideClass}, swiper-slide`);
74682
+ if (!Z || !e.slides.includes(Z)) return;
74683
+ i = Z;
74684
+ const I = e.virtual && e.params.virtual.enabled, z = (I ? parseInt(Z.getAttribute("data-swiper-slide-index"), 10) : e.slides.indexOf(Z)) === e.activeIndex, P = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(Z);
74685
+ z || P || V.sourceCapabilities && V.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
74686
+ 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);
74694
74687
  }));
74695
74688
  }, R = () => {
74696
- const Z = e.params.a11y;
74697
- Z.itemRoleDescriptionMessage && c(e.slides, Z.itemRoleDescriptionMessage), Z.slideRole && h(e.slides, Z.slideRole);
74698
- const V = e.slides.length;
74699
- Z.slideLabelMessage && e.slides.forEach((I, z) => {
74700
- const P = e.params.loop ? parseInt(I.getAttribute("data-swiper-slide-index"), 10) : z, B = Z.slideLabelMessage.replace(/\{\{index\}\}/, P + 1).replace(/\{\{slidesLength\}\}/, V);
74689
+ const V = e.params.a11y;
74690
+ V.itemRoleDescriptionMessage && c(e.slides, V.itemRoleDescriptionMessage), V.slideRole && h(e.slides, V.slideRole);
74691
+ const Z = e.slides.length;
74692
+ V.slideLabelMessage && e.slides.forEach((I, z) => {
74693
+ const P = e.params.loop ? parseInt(I.getAttribute("data-swiper-slide-index"), 10) : z, B = V.slideLabelMessage.replace(/\{\{index\}\}/, P + 1).replace(/\{\{slidesLength\}\}/, Z);
74701
74694
  p(I, B);
74702
74695
  });
74703
74696
  }, f = () => {
74704
- const Z = e.params.a11y;
74697
+ const V = e.params.a11y;
74705
74698
  e.el.append(r);
74706
- const V = e.el;
74707
- Z.containerRoleDescriptionMessage && c(V, Z.containerRoleDescriptionMessage), Z.containerMessage && p(V, Z.containerMessage), Z.containerRole && h(V, Z.containerRole);
74708
- const I = e.wrapperEl, z = Z.id || I.getAttribute("id") || `swiper-wrapper-${s(16)}`;
74709
- if (m(I, z), Z.wrapperLiveRegion) {
74699
+ const Z = e.el;
74700
+ V.containerRoleDescriptionMessage && c(Z, V.containerRoleDescriptionMessage), V.containerMessage && p(Z, V.containerMessage), V.containerRole && h(Z, V.containerRole);
74701
+ const I = e.wrapperEl, z = V.id || I.getAttribute("id") || `swiper-wrapper-${s(16)}`;
74702
+ if (m(I, z), V.wrapperLiveRegion) {
74710
74703
  const Y = e.params.autoplay && e.params.autoplay.enabled ? "off" : "polite";
74711
74704
  b(I, Y);
74712
74705
  }
@@ -74715,17 +74708,17 @@ function Fpe({
74715
74708
  nextEl: P,
74716
74709
  prevEl: B
74717
74710
  } = e.navigation ? e.navigation : {};
74718
- P = Sn(P), B = Sn(B), P && P.forEach((Y) => T(Y, z, Z.nextSlideMessage)), B && B.forEach((Y) => T(Y, z, Z.prevSlideMessage)), k() && Sn(e.pagination.el).forEach((ne) => {
74711
+ P = Sn(P), B = Sn(B), P && P.forEach((Y) => T(Y, z, V.nextSlideMessage)), B && B.forEach((Y) => T(Y, z, V.prevSlideMessage)), k() && Sn(e.pagination.el).forEach((ne) => {
74719
74712
  ne.addEventListener("keydown", C);
74720
74713
  }), Zi().addEventListener("visibilitychange", E), e.el.addEventListener("focus", D, !0), e.el.addEventListener("pointerdown", S, !0), e.el.addEventListener("pointerup", L, !0);
74721
74714
  };
74722
74715
  function N() {
74723
74716
  r && r.remove();
74724
74717
  let {
74725
- nextEl: Z,
74726
- prevEl: V
74718
+ nextEl: V,
74719
+ prevEl: Z
74727
74720
  } = e.navigation ? e.navigation : {};
74728
- 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((P) => {
74721
+ 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((P) => {
74729
74722
  P.removeEventListener("keydown", C);
74730
74723
  }), 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));
74731
74724
  }
@@ -74935,13 +74928,13 @@ function Kpe(e) {
74935
74928
  if (!(!f || !f.width || !f.height)) {
74936
74929
  var N = A[R].getScreenCTM();
74937
74930
  if (N)
74938
- for (var Z = T.multiply(N), V = [
74931
+ for (var V = T.multiply(N), Z = [
74939
74932
  [f.x, f.y],
74940
74933
  [f.x + f.width, f.y],
74941
74934
  [f.x + f.width, f.y + f.height],
74942
74935
  [f.x, f.y + f.height]
74943
74936
  ], I = 0; I < 4; I++) {
74944
- var z = Z.a * V[I][0] + Z.c * V[I][1] + Z.e, P = Z.b * V[I][0] + Z.d * V[I][1] + Z.f;
74937
+ var z = V.a * Z[I][0] + V.c * Z[I][1] + V.e, P = V.b * Z[I][0] + V.d * Z[I][1] + V.f;
74945
74938
  z < S && (S = z), z > E && (E = z), P < L && (L = P), P > D && (D = P);
74946
74939
  }
74947
74940
  }
@@ -75360,15 +75353,15 @@ function fw(e) {
75360
75353
  if (f >= 0) {
75361
75354
  var N = 0;
75362
75355
  try {
75363
- var Z = E.getExtentOfChar(f);
75364
- N = Z && Z.width && D.x > Z.x + Z.width / 2 ? 1 : 0;
75356
+ var V = E.getExtentOfChar(f);
75357
+ N = V && V.width && D.x > V.x + V.width / 2 ? 1 : 0;
75365
75358
  } catch {
75366
75359
  N = 0;
75367
75360
  }
75368
75361
  return { index: h[L].start + f + N };
75369
75362
  }
75370
75363
  }
75371
- for (var V = -1, I = 0, z = 1 / 0, P = 0; P < h.length; P++) {
75364
+ for (var Z = -1, I = 0, z = 1 / 0, P = 0; P < h.length; P++) {
75372
75365
  var B = h[P].el;
75373
75366
  if (B.getNumberOfChars()) {
75374
75367
  var U = Dt(B), Y;
@@ -75378,11 +75371,11 @@ function fw(e) {
75378
75371
  continue;
75379
75372
  }
75380
75373
  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;
75381
- ge < z && (z = ge, V = P, I = U.x);
75374
+ ge < z && (z = ge, Z = P, I = U.x);
75382
75375
  }
75383
75376
  }
75384
- if (V === -1) return { index: null };
75385
- for (var $e = h[V].el, Q = $e.getNumberOfChars(), M = 0, j = 1 / 0, G = 0; G <= Q; G++) {
75377
+ if (Z === -1) return { index: null };
75378
+ for (var $e = h[Z].el, Q = $e.getNumberOfChars(), M = 0, j = 1 / 0, G = 0; G <= Q; G++) {
75386
75379
  var ie;
75387
75380
  try {
75388
75381
  ie = G < Q ? $e.getStartPositionOfChar(G).x : $e.getEndPositionOfChar(Q - 1).x;
@@ -75392,7 +75385,7 @@ function fw(e) {
75392
75385
  var ce = Math.abs(I - ie);
75393
75386
  ce < j && (j = ce, M = G);
75394
75387
  }
75395
- return { index: h[V].start + M };
75388
+ return { index: h[Z].start + M };
75396
75389
  }
75397
75390
  var de = t.selectionStart, we = t.selectionEnd;
75398
75391
  if (typeof de != "number" && (de = 0), typeof we != "number" && (we = de), we < de) {
@@ -75446,9 +75439,9 @@ function _me(e) {
75446
75439
  const f = r, N = e.evaluate();
75447
75440
  if (!f || !N) return;
75448
75441
  if (document.activeElement !== f.input) return R();
75449
- const Z = s(f);
75450
- if (Z === void 0) return;
75451
- const V = ++a;
75442
+ const V = s(f);
75443
+ if (V === void 0) return;
75444
+ const Z = ++a;
75452
75445
  let I;
75453
75446
  try {
75454
75447
  I = await N(
@@ -75456,15 +75449,15 @@ function _me(e) {
75456
75449
  JSON.stringify({
75457
75450
  op: "geometry",
75458
75451
  elementId: f.elementId,
75459
- value: Z,
75460
- selectionStart: f.input.selectionStart ?? Z.length,
75461
- selectionEnd: f.input.selectionEnd ?? Z.length
75452
+ value: V,
75453
+ selectionStart: f.input.selectionStart ?? V.length,
75454
+ selectionEnd: f.input.selectionEnd ?? V.length
75462
75455
  })
75463
75456
  );
75464
75457
  } catch {
75465
75458
  return;
75466
75459
  }
75467
- V !== a || r !== f || (t.value = I && I.found ? { caret: I.caret, selection: I.selection, startAnchor: I.startAnchor, endAnchor: I.endAnchor } : void 0);
75460
+ Z !== a || r !== f || (t.value = I && I.found ? { caret: I.caret, selection: I.selection, startAnchor: I.startAnchor, endAnchor: I.endAnchor } : void 0);
75468
75461
  }
75469
75462
  function d() {
75470
75463
  i !== void 0 && cancelAnimationFrame(i), clearTimeout(o), i = requestAnimationFrame(() => {
@@ -75472,14 +75465,14 @@ function _me(e) {
75472
75465
  });
75473
75466
  }
75474
75467
  async function h(f, N) {
75475
- const Z = r, V = e.evaluate();
75476
- if (!Z || !V) return null;
75477
- const I = s(Z);
75468
+ const V = r, Z = e.evaluate();
75469
+ if (!V || !Z) return null;
75470
+ const I = s(V);
75478
75471
  if (I === void 0) return null;
75479
75472
  try {
75480
- const z = await V(
75473
+ const z = await Z(
75481
75474
  fw,
75482
- JSON.stringify({ op: "index", elementId: Z.elementId, value: I, x: f, y: N })
75475
+ JSON.stringify({ op: "index", elementId: V.elementId, value: I, x: f, y: N })
75483
75476
  );
75484
75477
  return z && typeof z.index == "number" ? z.index : null;
75485
75478
  } catch {
@@ -75491,16 +75484,16 @@ function _me(e) {
75491
75484
  let w = 0;
75492
75485
  async function C(f, N) {
75493
75486
  if (!r) return;
75494
- const Z = ++w;
75487
+ const V = ++w;
75495
75488
  p = null, m = { x: 0, y: 0 }, b = { x: f, y: N };
75496
- const V = await h(f, N);
75497
- V === null || !r || Z !== w || (c = V, T(V, V));
75489
+ const Z = await h(f, N);
75490
+ Z === null || !r || V !== w || (c = Z, T(Z, Z));
75498
75491
  }
75499
75492
  function x(f, N) {
75500
75493
  var z, P;
75501
75494
  if (!r) return;
75502
- const Z = r.input.selectionStart ?? 0, V = r.input.selectionEnd ?? 0;
75503
- c = f === "start" ? V : Z, p = f, b = N;
75495
+ const V = r.input.selectionStart ?? 0, Z = r.input.selectionEnd ?? 0;
75496
+ c = f === "start" ? Z : V, p = f, b = N;
75504
75497
  const I = f === "start" ? (z = t.value) == null ? void 0 : z.startAnchor : (P = t.value) == null ? void 0 : P.endAnchor;
75505
75498
  m = I ? {
75506
75499
  x: (I.top.x + I.bottom.x) / 2 - N.x,
@@ -75513,36 +75506,36 @@ function _me(e) {
75513
75506
  if (Math.hypot(f - b.x, N - b.y) < y) return;
75514
75507
  b = null;
75515
75508
  }
75516
- const Z = await h(f + m.x, N + m.y);
75517
- if (Z === null) return;
75518
- let V = Z;
75519
- p && (p === "end" && V <= c && (V = c + 1), p === "start" && V >= c && (V = c - 1)), T(c, V);
75509
+ const V = await h(f + m.x, N + m.y);
75510
+ if (V === null) return;
75511
+ let Z = V;
75512
+ p && (p === "end" && Z <= c && (Z = c + 1), p === "start" && Z >= c && (Z = c - 1)), T(c, Z);
75520
75513
  }
75521
75514
  function k() {
75522
75515
  c = null, p = null, b = null, m = { x: 0, y: 0 };
75523
75516
  }
75524
75517
  async function A(f, N) {
75525
- const Z = r;
75526
- if (!Z) return;
75527
- const V = s(Z);
75528
- if (V === void 0) return;
75518
+ const V = r;
75519
+ if (!V) return;
75520
+ const Z = s(V);
75521
+ if (Z === void 0) return;
75529
75522
  const I = ++w, z = await h(f, N);
75530
- if (z === null || r !== Z || I !== w) return;
75523
+ if (z === null || r !== V || I !== w) return;
75531
75524
  const P = (Y) => /[\p{L}\p{N}_]/u.test(Y);
75532
- let B = Math.min(z, Math.max(0, V.length - 1)), U = B;
75533
- if (!P(V[B] ?? "")) {
75525
+ let B = Math.min(z, Math.max(0, Z.length - 1)), U = B;
75526
+ if (!P(Z[B] ?? "")) {
75534
75527
  T(z, z);
75535
75528
  return;
75536
75529
  }
75537
- for (; B > 0 && P(V[B - 1]); ) B--;
75538
- for (; U < V.length && P(V[U]); ) U++;
75530
+ for (; B > 0 && P(Z[B - 1]); ) B--;
75531
+ for (; U < Z.length && P(Z[U]); ) U++;
75539
75532
  c = null, T(B, U);
75540
75533
  }
75541
75534
  function T(f, N) {
75542
- const Z = r;
75543
- if (!Z) return;
75544
- const V = Math.min(f, N), I = Math.max(f, N), z = Z.input.scrollTop;
75545
- Z.input.setSelectionRange(V, I, f <= N ? "forward" : "backward"), Z.input.scrollTop = z, d();
75535
+ const V = r;
75536
+ if (!V) return;
75537
+ const Z = Math.min(f, N), I = Math.max(f, N), z = V.input.scrollTop;
75538
+ V.input.setSelectionRange(Z, I, f <= N ? "forward" : "backward"), V.input.scrollTop = z, d();
75546
75539
  }
75547
75540
  function S() {
75548
75541
  !r || document.activeElement !== r.input || d();
@@ -75718,7 +75711,7 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
75718
75711
  var De, Ve;
75719
75712
  return (((Ve = (De = p.value) == null ? void 0 : De.fields) == null ? void 0 : Ve.length) ?? 0) > 0;
75720
75713
  }), N = oe(() => `bx-edit-mode:${r.campaignId ?? "c"}:${r.templateId}`);
75721
- function Z() {
75714
+ function V() {
75722
75715
  try {
75723
75716
  const De = sessionStorage.getItem(N.value);
75724
75717
  return De === "batch" || De === "single" ? De : void 0;
@@ -75726,21 +75719,21 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
75726
75719
  return;
75727
75720
  }
75728
75721
  }
75729
- const V = se("single");
75722
+ const Z = se("single");
75730
75723
  Ke(
75731
75724
  E,
75732
75725
  (De) => {
75733
- V.value = De === "all" ? Z() ?? "single" : De;
75726
+ Z.value = De === "all" ? V() ?? "single" : De;
75734
75727
  },
75735
75728
  { immediate: !0 }
75736
- ), Ke(V, (De) => {
75729
+ ), Ke(Z, (De) => {
75737
75730
  if (E.value === "all")
75738
75731
  try {
75739
75732
  sessionStorage.setItem(N.value, De);
75740
75733
  } catch {
75741
75734
  }
75742
75735
  });
75743
- const I = oe(() => V.value === "batch" && f.value), z = oe(() => `bx-batch:${r.campaignId ?? "c"}:${r.templateId}`), P = s1e({
75736
+ const I = oe(() => Z.value === "batch" && f.value), z = oe(() => `bx-batch:${r.campaignId ?? "c"}:${r.templateId}`), P = s1e({
75744
75737
  seed: () => {
75745
75738
  var De;
75746
75739
  return Jr(((De = p.value) == null ? void 0 : De.bindings) ?? {});
@@ -76141,8 +76134,8 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
76141
76134
  D.value || I.value ? (F(), X("div", Ome, [
76142
76135
  D.value ? (F(), Ge(Qv, {
76143
76136
  key: 0,
76144
- modelValue: V.value,
76145
- "onUpdate:modelValue": Ve[1] || (Ve[1] = (At) => V.value = At),
76137
+ modelValue: Z.value,
76138
+ "onUpdate:modelValue": Ve[1] || (Ve[1] = (At) => Z.value = At),
76146
76139
  tabs: R,
76147
76140
  size: "small",
76148
76141
  "aria-label": "Edit mode"
@@ -77142,23 +77135,23 @@ const Yg = Jz, bw = Gs, yw = Symbol("nomatch"), $2e = 7, lE = function(e) {
77142
77135
  // https://github.com/highlightjs/highlight.js/issues/1086
77143
77136
  __emitter: qme
77144
77137
  };
77145
- function s(V) {
77146
- return u.noHighlightRe.test(V);
77138
+ function s(Z) {
77139
+ return u.noHighlightRe.test(Z);
77147
77140
  }
77148
- function l(V) {
77149
- let I = V.className + " ";
77150
- I += V.parentNode ? V.parentNode.className : "";
77141
+ function l(Z) {
77142
+ let I = Z.className + " ";
77143
+ I += Z.parentNode ? Z.parentNode.className : "";
77151
77144
  const z = u.languageDetectRe.exec(I);
77152
77145
  if (z) {
77153
77146
  const P = S(z[1]);
77154
- return P || (vw(i.replace("{}", z[1])), vw("Falling back to no-highlight mode for this block.", V)), P ? z[1] : "no-highlight";
77147
+ return P || (vw(i.replace("{}", z[1])), vw("Falling back to no-highlight mode for this block.", Z)), P ? z[1] : "no-highlight";
77155
77148
  }
77156
77149
  return I.split(/\s+/).find((P) => s(P) || S(P));
77157
77150
  }
77158
- function d(V, I, z) {
77151
+ function d(Z, I, z) {
77159
77152
  let P = "", B = "";
77160
- typeof I == "object" ? (P = 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.
77161
- https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z === void 0 && (z = !0);
77153
+ typeof I == "object" ? (P = 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.
77154
+ https://github.com/highlightjs/highlight.js/issues/2277`), B = Z, P = I), z === void 0 && (z = !0);
77162
77155
  const U = {
77163
77156
  code: P,
77164
77157
  language: B
@@ -77167,7 +77160,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77167
77160
  const Y = U.result ? U.result : h(U.language, U.code, z);
77168
77161
  return Y.code = U.code, N("after:highlight", Y), Y;
77169
77162
  }
77170
- function h(V, I, z, P) {
77163
+ function h(Z, I, z, P) {
77171
77164
  const B = /* @__PURE__ */ Object.create(null);
77172
77165
  function U(Me, Ne) {
77173
77166
  return Me.keywords[Ne];
@@ -77282,8 +77275,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77282
77275
  return te(), 0;
77283
77276
  if (ce.type === "begin" && Ne.type === "end" && ce.index === Ne.index && pt === "") {
77284
77277
  if (Ye += I.slice(Ne.index, Ne.index + 1), !a) {
77285
- const yt = new Error(`0 width match regex (${V})`);
77286
- throw yt.languageName = V, yt.badRule = ce.rule, yt;
77278
+ const yt = new Error(`0 width match regex (${Z})`);
77279
+ throw yt.languageName = Z, yt.badRule = ce.rule, yt;
77287
77280
  }
77288
77281
  return 1;
77289
77282
  }
@@ -77304,9 +77297,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77304
77297
  throw new Error("potential infinite loop, way more iterations than matches");
77305
77298
  return Ye += pt, pt.length;
77306
77299
  }
77307
- const we = S(V);
77300
+ const we = S(Z);
77308
77301
  if (!we)
77309
- throw ic(i.replace("{}", V)), new Error('Unknown language: "' + V + '"');
77302
+ throw ic(i.replace("{}", Z)), new Error('Unknown language: "' + Z + '"');
77310
77303
  const Be = T2e(we);
77311
77304
  let Se = "", Ce = P || Be;
77312
77305
  const et = {}, it = new u.__emitter(u);
@@ -77326,7 +77319,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77326
77319
  de(I.substring(be));
77327
77320
  }
77328
77321
  return it.finalize(), Se = it.toHTML(), {
77329
- language: V,
77322
+ language: Z,
77330
77323
  value: Se,
77331
77324
  relevance: rt,
77332
77325
  illegal: !1,
@@ -77336,7 +77329,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77336
77329
  } catch (Me) {
77337
77330
  if (Me.message && Me.message.includes("Illegal"))
77338
77331
  return {
77339
- language: V,
77332
+ language: Z,
77340
77333
  value: Yg(I),
77341
77334
  illegal: !0,
77342
77335
  relevance: 0,
@@ -77351,7 +77344,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77351
77344
  };
77352
77345
  if (a)
77353
77346
  return {
77354
- language: V,
77347
+ language: Z,
77355
77348
  value: Yg(I),
77356
77349
  illegal: !1,
77357
77350
  relevance: 0,
@@ -77362,20 +77355,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77362
77355
  throw Me;
77363
77356
  }
77364
77357
  }
77365
- function c(V) {
77358
+ function c(Z) {
77366
77359
  const I = {
77367
- value: Yg(V),
77360
+ value: Yg(Z),
77368
77361
  illegal: !1,
77369
77362
  relevance: 0,
77370
77363
  _top: o,
77371
77364
  _emitter: new u.__emitter(u)
77372
77365
  };
77373
- return I._emitter.addText(V), I;
77366
+ return I._emitter.addText(Z), I;
77374
77367
  }
77375
- function p(V, I) {
77368
+ function p(Z, I) {
77376
77369
  I = I || u.languages || Object.keys(t);
77377
- const z = c(V), P = I.filter(S).filter(E).map(
77378
- (te) => h(te, V, !1)
77370
+ const z = c(Z), P = I.filter(S).filter(E).map(
77371
+ (te) => h(te, Z, !1)
77379
77372
  );
77380
77373
  P.unshift(z);
77381
77374
  const B = P.sort((te, he) => {
@@ -77390,40 +77383,40 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77390
77383
  }), [U, Y] = B, ne = U;
77391
77384
  return ne.secondBest = Y, ne;
77392
77385
  }
77393
- function m(V, I, z) {
77386
+ function m(Z, I, z) {
77394
77387
  const P = I && n[I] || z;
77395
- V.classList.add("hljs"), V.classList.add(`language-${P}`);
77388
+ Z.classList.add("hljs"), Z.classList.add(`language-${P}`);
77396
77389
  }
77397
- function b(V) {
77390
+ function b(Z) {
77398
77391
  let I = null;
77399
- const z = l(V);
77392
+ const z = l(Z);
77400
77393
  if (s(z)) return;
77401
77394
  if (N(
77402
77395
  "before:highlightElement",
77403
- { el: V, language: z }
77404
- ), V.dataset.highlighted) {
77405
- console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", V);
77396
+ { el: Z, language: z }
77397
+ ), Z.dataset.highlighted) {
77398
+ console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", Z);
77406
77399
  return;
77407
77400
  }
77408
- 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))
77401
+ 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))
77409
77402
  throw new M2e(
77410
77403
  "One of your code blocks includes unescaped HTML.",
77411
- V.innerHTML
77404
+ Z.innerHTML
77412
77405
  );
77413
- I = V;
77406
+ I = Z;
77414
77407
  const P = I.textContent, B = z ? d(P, { language: z, ignoreIllegals: !0 }) : p(P);
77415
- V.innerHTML = B.value, V.dataset.highlighted = "yes", m(V, z, B.language), V.result = {
77408
+ Z.innerHTML = B.value, Z.dataset.highlighted = "yes", m(Z, z, B.language), Z.result = {
77416
77409
  language: B.language,
77417
77410
  // TODO: remove with version 11.0
77418
77411
  re: B.relevance,
77419
77412
  relevance: B.relevance
77420
- }, B.secondBest && (V.secondBest = {
77413
+ }, B.secondBest && (Z.secondBest = {
77421
77414
  language: B.secondBest.language,
77422
77415
  relevance: B.secondBest.relevance
77423
- }), N("after:highlightElement", { el: V, result: B, text: P });
77416
+ }), N("after:highlightElement", { el: Z, result: B, text: P });
77424
77417
  }
77425
- function y(V) {
77426
- u = bw(u, V);
77418
+ function y(Z) {
77419
+ u = bw(u, Z);
77427
77420
  }
77428
77421
  const w = () => {
77429
77422
  _(), qc("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
@@ -77433,74 +77426,74 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77433
77426
  }
77434
77427
  let x = !1;
77435
77428
  function _() {
77436
- function V() {
77429
+ function Z() {
77437
77430
  _();
77438
77431
  }
77439
77432
  if (document.readyState === "loading") {
77440
- x || window.addEventListener("DOMContentLoaded", V, !1), x = !0;
77433
+ x || window.addEventListener("DOMContentLoaded", Z, !1), x = !0;
77441
77434
  return;
77442
77435
  }
77443
77436
  document.querySelectorAll(u.cssSelector).forEach(b);
77444
77437
  }
77445
- function k(V, I) {
77438
+ function k(Z, I) {
77446
77439
  let z = null;
77447
77440
  try {
77448
77441
  z = I(e);
77449
77442
  } catch (P) {
77450
- if (ic("Language definition for '{}' could not be registered.".replace("{}", V)), a)
77443
+ if (ic("Language definition for '{}' could not be registered.".replace("{}", Z)), a)
77451
77444
  ic(P);
77452
77445
  else
77453
77446
  throw P;
77454
77447
  z = o;
77455
77448
  }
77456
- z.name || (z.name = V), t[V] = z, z.rawDefinition = I.bind(null, e), z.aliases && L(z.aliases, { languageName: V });
77449
+ z.name || (z.name = Z), t[Z] = z, z.rawDefinition = I.bind(null, e), z.aliases && L(z.aliases, { languageName: Z });
77457
77450
  }
77458
- function A(V) {
77459
- delete t[V];
77451
+ function A(Z) {
77452
+ delete t[Z];
77460
77453
  for (const I of Object.keys(n))
77461
- n[I] === V && delete n[I];
77454
+ n[I] === Z && delete n[I];
77462
77455
  }
77463
77456
  function T() {
77464
77457
  return Object.keys(t);
77465
77458
  }
77466
- function S(V) {
77467
- return V = (V || "").toLowerCase(), t[V] || t[n[V]];
77459
+ function S(Z) {
77460
+ return Z = (Z || "").toLowerCase(), t[Z] || t[n[Z]];
77468
77461
  }
77469
- function L(V, { languageName: I }) {
77470
- typeof V == "string" && (V = [V]), V.forEach((z) => {
77462
+ function L(Z, { languageName: I }) {
77463
+ typeof Z == "string" && (Z = [Z]), Z.forEach((z) => {
77471
77464
  n[z.toLowerCase()] = I;
77472
77465
  });
77473
77466
  }
77474
- function E(V) {
77475
- const I = S(V);
77467
+ function E(Z) {
77468
+ const I = S(Z);
77476
77469
  return I && !I.disableAutodetect;
77477
77470
  }
77478
- function D(V) {
77479
- V["before:highlightBlock"] && !V["before:highlightElement"] && (V["before:highlightElement"] = (I) => {
77480
- V["before:highlightBlock"](
77471
+ function D(Z) {
77472
+ Z["before:highlightBlock"] && !Z["before:highlightElement"] && (Z["before:highlightElement"] = (I) => {
77473
+ Z["before:highlightBlock"](
77481
77474
  Object.assign({ block: I.el }, I)
77482
77475
  );
77483
- }), V["after:highlightBlock"] && !V["after:highlightElement"] && (V["after:highlightElement"] = (I) => {
77484
- V["after:highlightBlock"](
77476
+ }), Z["after:highlightBlock"] && !Z["after:highlightElement"] && (Z["after:highlightElement"] = (I) => {
77477
+ Z["after:highlightBlock"](
77485
77478
  Object.assign({ block: I.el }, I)
77486
77479
  );
77487
77480
  });
77488
77481
  }
77489
- function R(V) {
77490
- D(V), r.push(V);
77482
+ function R(Z) {
77483
+ D(Z), r.push(Z);
77491
77484
  }
77492
- function f(V) {
77493
- const I = r.indexOf(V);
77485
+ function f(Z) {
77486
+ const I = r.indexOf(Z);
77494
77487
  I !== -1 && r.splice(I, 1);
77495
77488
  }
77496
- function N(V, I) {
77497
- const z = V;
77489
+ function N(Z, I) {
77490
+ const z = Z;
77498
77491
  r.forEach(function(P) {
77499
77492
  P[z] && P[z](I);
77500
77493
  });
77501
77494
  }
77502
- function Z(V) {
77503
- return qc("10.7.0", "highlightBlock will be removed entirely in v12.0"), qc("10.7.0", "Please use highlightElement now."), b(V);
77495
+ function V(Z) {
77496
+ return qc("10.7.0", "highlightBlock will be removed entirely in v12.0"), qc("10.7.0", "Please use highlightElement now."), b(Z);
77504
77497
  }
77505
77498
  Object.assign(e, {
77506
77499
  highlight: d,
@@ -77508,7 +77501,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77508
77501
  highlightAll: _,
77509
77502
  highlightElement: b,
77510
77503
  // TODO: Remove with v12 API
77511
- highlightBlock: Z,
77504
+ highlightBlock: V,
77512
77505
  configure: y,
77513
77506
  initHighlighting: w,
77514
77507
  initHighlightingOnLoad: C,
@@ -77532,8 +77525,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), B = V, P = I), z ===
77532
77525
  optional: Xme,
77533
77526
  anyNumberOfTimes: Wme
77534
77527
  };
77535
- for (const V in B1)
77536
- typeof B1[V] == "object" && Kz(B1[V]);
77528
+ for (const Z in B1)
77529
+ typeof B1[Z] == "object" && Kz(B1[Z]);
77537
77530
  return Object.assign(e, B1), e;
77538
77531
  }, Uu = lE({});
77539
77532
  Uu.newInstance = () => lE({});
@@ -78124,15 +78117,15 @@ const $4e = /* @__PURE__ */ ft(lge, [["render", uge], ["__scopeId", "data-v-abe3
78124
78117
  }), f = oe(() => {
78125
78118
  var ze;
78126
78119
  return ((ze = S.value) == null ? void 0 : ze.getSeconds()) ?? 0;
78127
- }), 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(() => {
78120
+ }), 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(() => {
78128
78121
  var ze;
78129
- return ((ze = V.value) == null ? void 0 : ze.getHours()) ?? 0;
78122
+ return ((ze = Z.value) == null ? void 0 : ze.getHours()) ?? 0;
78130
78123
  }), P = oe(() => {
78131
78124
  var ze;
78132
- return ((ze = V.value) == null ? void 0 : ze.getMinutes()) ?? 0;
78125
+ return ((ze = Z.value) == null ? void 0 : ze.getMinutes()) ?? 0;
78133
78126
  }), B = oe(() => {
78134
78127
  var ze;
78135
- return ((ze = V.value) == null ? void 0 : ze.getSeconds()) ?? 0;
78128
+ return ((ze = Z.value) == null ? void 0 : ze.getSeconds()) ?? 0;
78136
78129
  }), U = oe(() => {
78137
78130
  var ze;
78138
78131
  return ((ze = I.value) == null ? void 0 : ze.getHours()) ?? 0;
@@ -78206,8 +78199,8 @@ const $4e = /* @__PURE__ */ ft(lge, [["render", uge], ["__scopeId", "data-v-abe3
78206
78199
  Xe["in-range"] = ct > Kt && ct < Qt, Xe["range-start"] = ct === Kt, Xe["range-end"] = ct === Qt;
78207
78200
  }
78208
78201
  Xe.active = ct === Tt;
78209
- } else if (N.value !== null && Z.value !== null) {
78210
- const Tt = G(Math.min(N.value, Z.value)), Nt = G(Math.max(N.value, Z.value));
78202
+ } else if (N.value !== null && V.value !== null) {
78203
+ const Tt = G(Math.min(N.value, V.value)), Nt = G(Math.max(N.value, V.value));
78211
78204
  Xe["range-start"] = ct === Tt, Xe["range-end"] = ct === Nt, Xe["in-range"] = ct > Tt && ct < Nt, Xe.active = ct === Tt || ct === Nt;
78212
78205
  }
78213
78206
  } else
@@ -78299,7 +78292,7 @@ const $4e = /* @__PURE__ */ ft(lge, [["render", uge], ["__scopeId", "data-v-abe3
78299
78292
  }
78300
78293
  function Ft() {
78301
78294
  h.value = !1, w.value = "idle", C.value = null, x.value = null;
78302
- const ze = r.range ? V.value ?? /* @__PURE__ */ new Date() : S.value ?? /* @__PURE__ */ new Date();
78295
+ const ze = r.range ? Z.value ?? /* @__PURE__ */ new Date() : S.value ?? /* @__PURE__ */ new Date();
78303
78296
  o.value = ze.getFullYear(), u.value = ze.getMonth(), s.value = Math.floor(ze.getFullYear() / 12) * 12;
78304
78297
  }
78305
78298
  return t({ reset: Ft, formatTimestamp: te }), (ze, Xe) => (F(), X("div", {
@@ -79710,7 +79703,7 @@ function obe(e) {
79710
79703
  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;
79711
79704
  })(), D = Va(i, u ? 0.06 : -0.06), R = Va(i, u ? 0.1 : -0.1), f = Is(i, a, h, "auto");
79712
79705
  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` });
79713
- const N = Is(i, a, c, "auto"), Z = Is(i, a, c, "auto"), V = (be) => {
79706
+ const N = Is(i, a, c, "auto"), V = Is(i, a, c, "auto"), Z = (be) => {
79714
79707
  const Te = Qi(Nve[be]), lt = ir(Fr, Te), Me = ir({ r: 17, g: 17, b: 17, a: 1 }, Te), Ne = lt >= h ? Fr : Me > lt ? { r: 17, g: 17, b: 17, a: 1 } : Fr, pt = eo(Te, l.soft), yt = T0(pt, a), wt = (Ft) => Is(Is(Te, a, h, Ft), yt, h, Ft), Pt = Is(Te, a, h, "auto"), Dt = [wt("darker"), wt("lighter")].find(
79715
79708
  (Ft) => ir(Ft, a) >= h && ir(Ft, yt) >= h
79716
79709
  );
@@ -79725,7 +79718,7 @@ function obe(e) {
79725
79718
  darker: Va(Te, -0.18),
79726
79719
  bright: Va(Te, 0.22)
79727
79720
  };
79728
- }, I = V("success"), z = V("warning"), P = V("error"), B = V("info"), [U, Y, ne, te] = nbe[t.radius ?? "md"], he = "'Inter', sans-serif", ge = (be) => {
79721
+ }, I = Z("success"), z = Z("warning"), P = Z("error"), B = Z("info"), [U, Y, ne, te] = nbe[t.radius ?? "md"], he = "'Inter', sans-serif", ge = (be) => {
79729
79722
  var Te;
79730
79723
  return (Te = be == null ? void 0 : be.name) != null && Te.trim() ? `'${be.name.trim().replace(/'/g, "\\'")}', ${he}` : he;
79731
79724
  }, $e = ge((Be = t.fonts) == null ? void 0 : Be.ui), Q = (Se = t.fonts) != null && Se.heading ? ge(t.fonts.heading) : $e, M = 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 = {
@@ -79768,7 +79761,7 @@ function obe(e) {
79768
79761
  "primary-border": cr(N),
79769
79762
  "primary-soft": ua(i, l.soft),
79770
79763
  "primary-soft-hover": ua(i, l.softHover),
79771
- "focus-ring": cr(Z),
79764
+ "focus-ring": cr(V),
79772
79765
  "focus-ring-width": s ? "3px" : "2px",
79773
79766
  "focus-ring-offset": "2px",
79774
79767
  "primary-dark": cr(Va(i, -0.1)),
@@ -83623,7 +83616,7 @@ const Qbe = { class: "viewer-header-tools" }, e3e = ["aria-pressed"], t3e = ["di
83623
83616
  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.";
83624
83617
  }
83625
83618
  }
83626
- const f = se(), N = se(), Z = oe(() => {
83619
+ const f = se(), N = se(), V = oe(() => {
83627
83620
  var je, Je, $, ee, me;
83628
83621
  return [
83629
83622
  { label: "From", value: (je = f.value) == null ? void 0 : je.from },
@@ -83633,7 +83626,7 @@ const Qbe = { class: "viewer-header-tools" }, e3e = ["aria-pressed"], t3e = ["di
83633
83626
  { label: "Date", value: (me = f.value) == null ? void 0 : me.date }
83634
83627
  ];
83635
83628
  });
83636
- function V(je) {
83629
+ function Z(je) {
83637
83630
  return je.replace(/[&<>"']/g, (Je) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" })[Je]);
83638
83631
  }
83639
83632
  async function I() {
@@ -83648,7 +83641,7 @@ const Qbe = { class: "viewer-header-tools" }, e3e = ["aria-pressed"], t3e = ["di
83648
83641
  cc: ee($.cc),
83649
83642
  subject: $.subject ?? "",
83650
83643
  date: $.date ?? "",
83651
- bodyHtml: `<pre>${V(me)}</pre>`,
83644
+ bodyHtml: `<pre>${Z(me)}</pre>`,
83652
83645
  attachments: ($.attachments ?? []).map((ke) => ke.filename ?? "attachment")
83653
83646
  }, ct.value = !0;
83654
83647
  } catch (je) {
@@ -84132,7 +84125,7 @@ const Qbe = { class: "viewer-header-tools" }, e3e = ["aria-pressed"], t3e = ["di
84132
84125
  ])) : u.value === "email" ? (F(), X("div", A3e, [
84133
84126
  N.value ? (F(), X("div", O3e, Ae(N.value), 1)) : f.value ? (F(), X(Qe, { key: 1 }, [
84134
84127
  W("dl", T3e, [
84135
- (F(!0), X(Qe, null, Mt(Z.value, ($) => (F(), X(Qe, {
84128
+ (F(!0), X(Qe, null, Mt(V.value, ($) => (F(), X(Qe, {
84136
84129
  key: $.label
84137
84130
  }, [
84138
84131
  $.value ? (F(), X("dt", L3e, Ae($.label), 1)) : Re("", !0),