@emailmaker/emailmaker 1.1.62 → 1.1.65

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.
@@ -1,16 +1,16 @@
1
- __emailmaker__.define("static/core/5663df72.js", [
1
+ __emailmaker__.define("static/core/1704ac6f.js", [
2
2
  "require",
3
3
  "exports",
4
4
  "module",
5
5
  "static/core/c64d880f.js",
6
- "static/core/ba3f6ae3.js",
7
- "static/core/fb984475.js",
6
+ "static/core/710ad006.js",
7
+ "static/core/144da511.js",
8
8
  "static/core/6e7c1c68.js",
9
9
  "static/core/57b7148c.js",
10
- "static/core/88e254d8.js"
11
- ], function(nt, M, tf) {
12
- const X = nt("./c64d880f.js"), k = nt("./ba3f6ae3.js"), Me = nt("./fb984475.js"), er = nt("./6e7c1c68.js"), Pe = nt("./57b7148c.js"), tr = nt("./88e254d8.js");
13
- var as = class {
10
+ "static/core/29d379ee.js"
11
+ ], function(nt, M, rf) {
12
+ const X = nt("./c64d880f.js"), k = nt("./710ad006.js"), Me = nt("./144da511.js"), er = nt("./6e7c1c68.js"), Pe = nt("./57b7148c.js"), tr = nt("./29d379ee.js");
13
+ var os = class {
14
14
  _plugins = new Map();
15
15
  _listeners = new Map();
16
16
  _getOrCreateEntry(e) {
@@ -123,7 +123,7 @@ __emailmaker__.define("static/core/5663df72.js", [
123
123
  e.add(t, r);
124
124
  } };
125
125
  }
126
- }, os = class {
126
+ }, ss = class {
127
127
  resolveRegistry;
128
128
  constructor(e) {
129
129
  this.resolveRegistry = e;
@@ -179,7 +179,7 @@ __emailmaker__.define("static/core/5663df72.js", [
179
179
  function rn(e) {
180
180
  if (e?.aborted) throw qe(e.reason);
181
181
  }
182
- function ss(e, t) {
182
+ function ls(e, t) {
183
183
  return t ? (rn(t), new Promise((r, n) => {
184
184
  const i = () => {
185
185
  a(), n(qe(t.reason));
@@ -193,7 +193,7 @@ __emailmaker__.define("static/core/5663df72.js", [
193
193
  });
194
194
  })) : e;
195
195
  }
196
- var ls = (e) => {
196
+ var cs = (e) => {
197
197
  const t = {
198
198
  current: Promise.resolve(),
199
199
  state: e,
@@ -312,7 +312,7 @@ __emailmaker__.define("static/core/5663df72.js", [
312
312
  }
313
313
  }
314
314
  };
315
- async function cs(e, t, r, n) {
315
+ async function us(e, t, r, n) {
316
316
  const i = n?.attemptTimeout ?? k.isFailoverEnabled(r), a = k.isFailoverEnabled(r) ? k.getOrderedOriginCandidates(r) : k.getOriginChain(r).length > 0 ? [k.getActiveBaseUrl(r)] : [];
317
317
  if (a.length === 0) throw new Error("[apiOriginFailover] no API base URL configured");
318
318
  const s = e.startsWith("/") ? e : `/${e}`;
@@ -402,7 +402,7 @@ __emailmaker__.define("static/core/5663df72.js", [
402
402
  return r && typeof r.on == "function" && typeof r.pause == "function" && typeof r.resume == "function";
403
403
  }
404
404
  };
405
- })), us = X.__commonJSMin(((e, t) => {
405
+ })), ds = X.__commonJSMin(((e, t) => {
406
406
  X.init__polyfill_node_global();
407
407
  var r = X._polyfill_node_global_default.MutationObserver || X._polyfill_node_global_default.WebKitMutationObserver, n;
408
408
  if (r) {
@@ -436,8 +436,8 @@ __emailmaker__.define("static/core/5663df72.js", [
436
436
  function w(p) {
437
437
  m.push(p) === 1 && !u && n();
438
438
  }
439
- })), ds = X.__commonJSMin(((e, t) => {
440
- var r = us();
439
+ })), ps = X.__commonJSMin(((e, t) => {
440
+ var r = ds();
441
441
  function n() {}
442
442
  var i = {}, a = ["REJECTED"], s = ["FULFILLED"], l = ["PENDING"];
443
443
  t.exports = u;
@@ -579,10 +579,10 @@ __emailmaker__.define("static/core/5663df72.js", [
579
579
  }
580
580
  })), Ot = X.__commonJSMin(((e, t) => {
581
581
  var r = null;
582
- typeof Promise < "u" ? r = Promise : r = ds(), t.exports = { Promise: r };
582
+ typeof Promise < "u" ? r = Promise : r = ps(), t.exports = { Promise: r };
583
583
  }));
584
584
  X.__exportAll({});
585
- var ps = X.__esmMin((() => {
585
+ var fs = X.__esmMin((() => {
586
586
  er.init__polyfill_node_process(), X.init__polyfill_node_global(), (function(e, t) {
587
587
  "use strict";
588
588
  if (e.setImmediate) return;
@@ -683,7 +683,7 @@ __emailmaker__.define("static/core/5663df72.js", [
683
683
  })(typeof self > "u" ? typeof X._polyfill_node_global_default > "u" ? void 0 : X._polyfill_node_global_default : self);
684
684
  })), ve = X.__commonJSMin(((e) => {
685
685
  var t = Xe(), r = sn(), n = rr(), i = Ot();
686
- ps();
686
+ fs();
687
687
  function a(p) {
688
688
  var c = null;
689
689
  return t.uint8array ? c = new Uint8Array(p.length) : c = new Array(p.length), l(p, c);
@@ -1007,7 +1007,7 @@ __emailmaker__.define("static/core/5663df72.js", [
1007
1007
  meta: p.meta
1008
1008
  });
1009
1009
  }, e.Utf8EncodeWorker = w;
1010
- })), fs = X.__commonJSMin(((e, t) => {
1010
+ })), hs = X.__commonJSMin(((e, t) => {
1011
1011
  var r = Fe(), n = ve();
1012
1012
  function i(a) {
1013
1013
  r.call(this, "ConvertWorker to " + a), this.destType = a;
@@ -1018,7 +1018,7 @@ __emailmaker__.define("static/core/5663df72.js", [
1018
1018
  meta: a.meta
1019
1019
  });
1020
1020
  }, t.exports = i;
1021
- })), hs = X.__commonJSMin(((e, t) => {
1021
+ })), ms = X.__commonJSMin(((e, t) => {
1022
1022
  var r = on().Readable;
1023
1023
  ve().inherits(n, r);
1024
1024
  function n(i, a, s) {
@@ -1037,9 +1037,9 @@ __emailmaker__.define("static/core/5663df72.js", [
1037
1037
  }, t.exports = n;
1038
1038
  })), ln = X.__commonJSMin(((e, t) => {
1039
1039
  Pe.init__polyfill_node_buffer();
1040
- var r = ve(), n = fs(), i = Fe(), a = sn(), s = Xe(), l = Ot(), u = null;
1040
+ var r = ve(), n = hs(), i = Fe(), a = sn(), s = Xe(), l = Ot(), u = null;
1041
1041
  if (s.nodestream) try {
1042
- u = hs();
1042
+ u = ms();
1043
1043
  } catch {}
1044
1044
  function m(c, h, E) {
1045
1045
  switch (c) {
@@ -1192,7 +1192,7 @@ __emailmaker__.define("static/core/5663df72.js", [
1192
1192
  i.inherits(a, r), a.prototype.processChunk = function(s) {
1193
1193
  this.streamInfo.crc32 = n(s.data, this.streamInfo.crc32 || 0), this.push(s);
1194
1194
  }, t.exports = a;
1195
- })), ms = X.__commonJSMin(((e, t) => {
1195
+ })), gs = X.__commonJSMin(((e, t) => {
1196
1196
  var r = ve(), n = Fe();
1197
1197
  function i(a) {
1198
1198
  n.call(this, "DataLengthProbe for " + a), this.propName = a, this.withStreamInfo(a, 0);
@@ -1205,7 +1205,7 @@ __emailmaker__.define("static/core/5663df72.js", [
1205
1205
  n.prototype.processChunk.call(this, a);
1206
1206
  }, t.exports = i;
1207
1207
  })), si = X.__commonJSMin(((e, t) => {
1208
- var r = Ot(), n = un(), i = dn(), a = ms();
1208
+ var r = Ot(), n = un(), i = dn(), a = gs();
1209
1209
  function s(l, u, m, b, w) {
1210
1210
  this.compressedSize = l, this.uncompressedSize = u, this.crc32 = m, this.compression = b, this.compressedContent = w;
1211
1211
  }
@@ -1222,7 +1222,7 @@ __emailmaker__.define("static/core/5663df72.js", [
1222
1222
  }, s.createWorkerFrom = function(l, u, m) {
1223
1223
  return l.pipe(new i()).pipe(new a("uncompressedSize")).pipe(u.compressWorker(m)).pipe(new a("compressedSize")).withStreamInfo("compression", u);
1224
1224
  }, t.exports = s;
1225
- })), gs = X.__commonJSMin(((e, t) => {
1225
+ })), vs = X.__commonJSMin(((e, t) => {
1226
1226
  var r = ln(), n = un(), i = Pt(), a = si(), s = Fe(), l = function(w, p, c) {
1227
1227
  this.name = w, this.dir = c.dir, this.date = c.date, this.comment = c.comment, this.unixPermissions = c.unixPermissions, this.dosPermissions = c.dosPermissions, this._data = p, this._dataBinary = c.binary, this.options = {
1228
1228
  compression: c.compression,
@@ -1311,7 +1311,7 @@ __emailmaker__.define("static/core/5663df72.js", [
1311
1311
  e.setTyped = function(a) {
1312
1312
  a ? (e.Buf8 = Uint8Array, e.Buf16 = Uint16Array, e.Buf32 = Int32Array, e.assign(e, n)) : (e.Buf8 = Array, e.Buf16 = Array, e.Buf32 = Array, e.assign(e, i));
1313
1313
  }, e.setTyped(t);
1314
- })), vs = X.__commonJSMin(((e) => {
1314
+ })), bs = X.__commonJSMin(((e) => {
1315
1315
  var t = Ke(), r = 4, n = 0, i = 1, a = 2;
1316
1316
  function s(S) {
1317
1317
  for (var V = S.length; --V >= 0;) S[V] = 0;
@@ -1620,8 +1620,8 @@ __emailmaker__.define("static/core/5663df72.js", [
1620
1620
  "-5": "buffer error",
1621
1621
  "-6": "incompatible version"
1622
1622
  };
1623
- })), bs = X.__commonJSMin(((e) => {
1624
- var t = Ke(), r = vs(), n = pn(), i = fn(), a = li(), s = 0, l = 1, u = 3, m = 4, b = 5, w = 0, p = 1, c = -2, h = -3, E = -5, T = -1, I = 1, _ = 2, C = 3, d = 4, f = 0, y = 2, x = 8, A = 9, O = 15, R = 8, F = 286, H = 30, Q = 19, Y = 2 * F + 1, $ = 15, q = 3, ie = 258, se = ie + q + 1, fe = 32, de = 42, pe = 69, ge = 73, he = 91, ue = 103, ae = 113, ye = 666, te = 1, K = 2, Se = 3, J = 4, $e = 3;
1623
+ })), _s = X.__commonJSMin(((e) => {
1624
+ var t = Ke(), r = bs(), n = pn(), i = fn(), a = li(), s = 0, l = 1, u = 3, m = 4, b = 5, w = 0, p = 1, c = -2, h = -3, E = -5, T = -1, I = 1, _ = 2, C = 3, d = 4, f = 0, y = 2, x = 8, A = 9, O = 15, R = 8, F = 286, H = 30, Q = 19, Y = 2 * F + 1, $ = 15, q = 3, ie = 258, se = ie + q + 1, fe = 32, de = 42, pe = 69, ge = 73, he = 91, ue = 103, ae = 113, ye = 666, te = 1, K = 2, Se = 3, J = 4, $e = 3;
1625
1625
  function Ne(o, P) {
1626
1626
  return o.msg = a[P], P;
1627
1627
  }
@@ -1921,8 +1921,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
1921
1921
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
1922
1922
  }
1923
1923
  t.exports = r;
1924
- })), _s = X.__commonJSMin(((e) => {
1925
- var t = bs(), r = Ke(), n = hn(), i = li(), a = mn(), s = Object.prototype.toString, l = 0, u = 4, m = 0, b = 1, w = 2, p = -1, c = 0, h = 8;
1924
+ })), ys = X.__commonJSMin(((e) => {
1925
+ var t = _s(), r = Ke(), n = hn(), i = li(), a = mn(), s = Object.prototype.toString, l = 0, u = 4, m = 0, b = 1, w = 2, p = -1, c = 0, h = 8;
1926
1926
  function E(C) {
1927
1927
  if (!(this instanceof E)) return new E(C);
1928
1928
  this.options = r.assign({
@@ -1970,7 +1970,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
1970
1970
  return d = d || {}, d.gzip = !0, T(C, d);
1971
1971
  }
1972
1972
  e.Deflate = E, e.deflate = T, e.deflateRaw = I, e.gzip = _;
1973
- })), ys = X.__commonJSMin(((e, t) => {
1973
+ })), ws = X.__commonJSMin(((e, t) => {
1974
1974
  var r = 30, n = 12;
1975
1975
  t.exports = function(a, s) {
1976
1976
  var l = a.state, u = a.next_in, m, b, w, p, c, h, E, T, I, _, C, d, f, y, x, A, O, R, F, H, Q, Y = a.input, $;
@@ -2054,7 +2054,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2054
2054
  } while (u < m && b < p);
2055
2055
  R = C >> 3, u -= R, C -= R << 3, _ &= (1 << C) - 1, a.next_in = u, a.next_out = b, a.avail_in = u < m ? 5 + (m - u) : 5 - (u - m), a.avail_out = b < p ? 257 + (p - b) : 257 - (b - p), l.hold = _, l.bits = C;
2056
2056
  };
2057
- })), ws = X.__commonJSMin(((e, t) => {
2057
+ })), Es = X.__commonJSMin(((e, t) => {
2058
2058
  var r = Ke(), n = 15, i = 852, a = 592, s = 0, l = 1, u = 2, m = [
2059
2059
  3,
2060
2060
  4,
@@ -2216,8 +2216,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2216
2216
  }
2217
2217
  return q !== 0 && (_[pe + q] = x - Q << 24 | 4194304), f.bits = F, 0;
2218
2218
  };
2219
- })), Es = X.__commonJSMin(((e) => {
2220
- var t = Ke(), r = pn(), n = fn(), i = ys(), a = ws(), s = 0, l = 1, u = 2, m = 4, b = 5, w = 6, p = 0, c = 1, h = 2, E = -2, T = -3, I = -4, _ = -5, C = 8, d = 1, f = 2, y = 3, x = 4, A = 5, O = 6, R = 7, F = 8, H = 9, Q = 10, Y = 11, $ = 12, q = 13, ie = 14, se = 15, fe = 16, de = 17, pe = 18, ge = 19, he = 20, ue = 21, ae = 22, ye = 23, te = 24, K = 25, Se = 26, J = 27, $e = 28, Ne = 29, ce = 30, Oe = 31, je = 32, Ee = 852, oe = 592, We = 15;
2219
+ })), xs = X.__commonJSMin(((e) => {
2220
+ var t = Ke(), r = pn(), n = fn(), i = ws(), a = Es(), s = 0, l = 1, u = 2, m = 4, b = 5, w = 6, p = 0, c = 1, h = 2, E = -2, T = -3, I = -4, _ = -5, C = 8, d = 1, f = 2, y = 3, x = 4, A = 5, O = 6, R = 7, F = 8, H = 9, Q = 10, Y = 11, $ = 12, q = 13, ie = 14, se = 15, fe = 16, de = 17, pe = 18, ge = 19, he = 20, ue = 21, ae = 22, ye = 23, te = 24, K = 25, Se = 26, J = 27, $e = 28, Ne = 29, ce = 30, Oe = 31, je = 32, Ee = 852, oe = 592, We = 15;
2221
2221
  function ht(N) {
2222
2222
  return (N >>> 24 & 255) + (N >>> 8 & 65280) + ((N & 65280) << 8) + ((N & 255) << 24);
2223
2223
  }
@@ -2261,7 +2261,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2261
2261
  return P.window === null && (P.wsize = 1 << P.wbits, P.wnext = 0, P.whave = 0, P.window = new t.Buf8(P.wsize)), B >= P.wsize ? (t.arraySet(P.window, U, v - P.wsize, P.wsize, 0), P.wnext = 0, P.whave = P.wsize) : (o = P.wsize - P.wnext, o > B && (o = B), t.arraySet(P.window, U, v - B, o, P.wnext), B -= o, B ? (t.arraySet(P.window, U, v - B, B, 0), P.wnext = B, P.whave = P.wsize) : (P.wnext += o, P.wnext === P.wsize && (P.wnext = 0), P.whave < P.wsize && (P.whave += o))), 0;
2262
2262
  }
2263
2263
  function Tt(N, U) {
2264
- var v, B, o, P, W, g, z, j, L, ee, ne, Z, Ze, Kt, me = 0, le, Ae, Le, Ie, ni, ai, xe, Be, Ce = new t.Buf8(4), Je, Ye, is = [
2264
+ var v, B, o, P, W, g, z, j, L, ee, ne, Z, Ze, Kt, me = 0, le, Ae, Le, Ie, ni, ai, xe, Be, Ce = new t.Buf8(4), Je, Ye, ns = [
2265
2265
  16,
2266
2266
  17,
2267
2267
  18,
@@ -2456,9 +2456,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2456
2456
  if (g === 0) break e;
2457
2457
  g--, j += B[P++] << L, L += 8;
2458
2458
  }
2459
- v.lens[is[v.have++]] = j & 7, j >>>= 3, L -= 3;
2459
+ v.lens[ns[v.have++]] = j & 7, j >>>= 3, L -= 3;
2460
2460
  }
2461
- for (; v.have < 19;) v.lens[is[v.have++]] = 0;
2461
+ for (; v.have < 19;) v.lens[ns[v.have++]] = 0;
2462
2462
  if (v.lencode = v.lendyn, v.lenbits = 7, Je = { bits: v.lenbits }, Be = a(s, v.lens, 0, 19, v.lencode, 0, v.work, Je), v.lenbits = Je.bits, Be) {
2463
2463
  N.msg = "invalid code lengths set", v.mode = ce;
2464
2464
  break;
@@ -2686,13 +2686,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2686
2686
  Z_UNKNOWN: 2,
2687
2687
  Z_DEFLATED: 8
2688
2688
  };
2689
- })), xs = X.__commonJSMin(((e, t) => {
2689
+ })), Ss = X.__commonJSMin(((e, t) => {
2690
2690
  function r() {
2691
2691
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
2692
2692
  }
2693
2693
  t.exports = r;
2694
- })), Ss = X.__commonJSMin(((e) => {
2695
- var t = Es(), r = Ke(), n = hn(), i = gn(), a = li(), s = mn(), l = xs(), u = Object.prototype.toString;
2694
+ })), As = X.__commonJSMin(((e) => {
2695
+ var t = xs(), r = Ke(), n = hn(), i = gn(), a = li(), s = mn(), l = Ss(), u = Object.prototype.toString;
2696
2696
  function m(p) {
2697
2697
  if (!(this instanceof m)) return new m(p);
2698
2698
  this.options = r.assign({
@@ -2729,11 +2729,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2729
2729
  return c = c || {}, c.raw = !0, b(p, c);
2730
2730
  }
2731
2731
  e.Inflate = m, e.inflate = b, e.inflateRaw = w, e.ungzip = b;
2732
- })), As = X.__commonJSMin(((e, t) => {
2733
- var r = Ke().assign, n = _s(), i = Ss(), a = gn(), s = {};
2732
+ })), Cs = X.__commonJSMin(((e, t) => {
2733
+ var r = Ke().assign, n = ys(), i = As(), a = gn(), s = {};
2734
2734
  r(s, n, i, a), t.exports = s;
2735
- })), Cs = X.__commonJSMin(((e) => {
2736
- var t = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", r = As(), n = ve(), i = Fe(), a = t ? "uint8array" : "array";
2735
+ })), ks = X.__commonJSMin(((e) => {
2736
+ var t = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", r = Cs(), n = ve(), i = Fe(), a = t ? "uint8array" : "array";
2737
2737
  e.magic = "\b\0";
2738
2738
  function s(l, u) {
2739
2739
  i.call(this, "FlateWorker/" + l), this._pako = null, this._pakoAction = l, this._pakoOptions = u, this.meta = {};
@@ -2771,10 +2771,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2771
2771
  uncompressWorker: function() {
2772
2772
  return new t("STORE decompression");
2773
2773
  }
2774
- }, e.DEFLATE = Cs();
2774
+ }, e.DEFLATE = ks();
2775
2775
  })), bn = X.__commonJSMin(((e) => {
2776
2776
  e.LOCAL_FILE_HEADER = "PK", e.CENTRAL_FILE_HEADER = "PK", e.CENTRAL_DIRECTORY_END = "PK", e.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", e.ZIP64_CENTRAL_DIRECTORY_END = "PK", e.DATA_DESCRIPTOR = "PK\x07\b";
2777
- })), ks = X.__commonJSMin(((e, t) => {
2777
+ })), Ts = X.__commonJSMin(((e, t) => {
2778
2778
  var r = ve(), n = Fe(), i = Pt(), a = oi(), s = bn(), l = function(h, E) {
2779
2779
  var T = "", I;
2780
2780
  for (I = 0; I < E; I++) T += String.fromCharCode(h & 255), h = h >>> 8;
@@ -2879,8 +2879,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2879
2879
  n.prototype.lock.call(this);
2880
2880
  for (var h = this._sources, E = 0; E < h.length; E++) h[E].lock();
2881
2881
  }, t.exports = c;
2882
- })), Ts = X.__commonJSMin(((e) => {
2883
- var t = vn(), r = ks(), n = function(i, a) {
2882
+ })), Os = X.__commonJSMin(((e) => {
2883
+ var t = vn(), r = Ts(), n = function(i, a) {
2884
2884
  var s = i || a, l = t[s];
2885
2885
  if (!l) throw new Error(s + " is not a valid compression method !");
2886
2886
  return l;
@@ -2905,7 +2905,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2905
2905
  }
2906
2906
  return l;
2907
2907
  };
2908
- })), Os = X.__commonJSMin(((e, t) => {
2908
+ })), Ps = X.__commonJSMin(((e, t) => {
2909
2909
  var r = ve(), n = Fe();
2910
2910
  function i(a, s) {
2911
2911
  n.call(this, "Nodejs stream input adapter for " + a), this._upstreamEnded = !1, this._bindStream(s);
@@ -2927,8 +2927,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
2927
2927
  }, i.prototype.resume = function() {
2928
2928
  return n.prototype.resume.call(this) ? (this._upstreamEnded ? this.end() : this._stream.resume(), !0) : !1;
2929
2929
  }, t.exports = i;
2930
- })), Ps = X.__commonJSMin(((e, t) => {
2931
- var r = Pt(), n = ve(), i = Fe(), a = ln(), s = cn(), l = si(), u = gs(), m = Ts(), b = rr(), w = Os(), p = function(_, C, d) {
2930
+ })), Rs = X.__commonJSMin(((e, t) => {
2931
+ var r = Pt(), n = ve(), i = Fe(), a = ln(), s = cn(), l = si(), u = vs(), m = Os(), b = rr(), w = Ps(), p = function(_, C, d) {
2932
2932
  var f = n.getTypeOf(C), y, x = n.extend(d || {}, s);
2933
2933
  x.date = x.date || new Date(), x.compression !== null && (x.compression = x.compression.toUpperCase()), typeof x.unixPermissions == "string" && (x.unixPermissions = parseInt(x.unixPermissions, 8)), x.unixPermissions && x.unixPermissions & 16384 && (x.dir = !0), x.dosPermissions && x.dosPermissions & 16 && (x.dir = !0), x.dir && (_ = h(_)), x.createFolders && (y = c(_)) && E.call(this, y, !0);
2934
2934
  var A = f === "string" && x.binary === !1 && x.base64 === !1;
@@ -3081,7 +3081,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3081
3081
  var s = this.data.slice(this.zero + this.index, this.zero + this.index + a);
3082
3082
  return this.index += a, s;
3083
3083
  }, t.exports = i;
3084
- })), Rs = X.__commonJSMin(((e, t) => {
3084
+ })), Ns = X.__commonJSMin(((e, t) => {
3085
3085
  var r = _n(), n = ve();
3086
3086
  function i(a) {
3087
3087
  r.call(this, a);
@@ -3107,7 +3107,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3107
3107
  var s = this.data.subarray(this.zero + this.index, this.zero + this.index + a);
3108
3108
  return this.index += a, s;
3109
3109
  }, t.exports = i;
3110
- })), Ns = X.__commonJSMin(((e, t) => {
3110
+ })), Is = X.__commonJSMin(((e, t) => {
3111
3111
  var r = wn(), n = ve();
3112
3112
  function i(a) {
3113
3113
  r.call(this, a);
@@ -3118,12 +3118,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3118
3118
  return this.index += a, s;
3119
3119
  }, t.exports = i;
3120
3120
  })), En = X.__commonJSMin(((e, t) => {
3121
- var r = ve(), n = Xe(), i = yn(), a = Rs(), s = Ns(), l = wn();
3121
+ var r = ve(), n = Xe(), i = yn(), a = Ns(), s = Is(), l = wn();
3122
3122
  t.exports = function(u) {
3123
3123
  var m = r.getTypeOf(u);
3124
3124
  return r.checkSupport(m), m === "string" && !n.uint8array ? new a(u) : m === "nodebuffer" ? new s(u) : n.uint8array ? new l(r.transformTo("uint8array", u)) : new i(r.transformTo("array", u));
3125
3125
  };
3126
- })), Is = X.__commonJSMin(((e, t) => {
3126
+ })), Ms = X.__commonJSMin(((e, t) => {
3127
3127
  var r = En(), n = ve(), i = si(), a = oi(), s = Pt(), l = vn(), u = Xe(), m = 0, b = 3, w = function(c) {
3128
3128
  for (var h in l) if (Object.prototype.hasOwnProperty.call(l, h) && l[h].magic === c) return l[h];
3129
3129
  return null;
@@ -3205,8 +3205,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3205
3205
  return null;
3206
3206
  }
3207
3207
  }, t.exports = p;
3208
- })), Ms = X.__commonJSMin(((e, t) => {
3209
- var r = En(), n = ve(), i = bn(), a = Is(), s = Xe();
3208
+ })), js = X.__commonJSMin(((e, t) => {
3209
+ var r = En(), n = ve(), i = bn(), a = Ms(), s = Xe();
3210
3210
  function l(u) {
3211
3211
  this.files = [], this.loadOptions = u;
3212
3212
  }
@@ -3272,8 +3272,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3272
3272
  this.prepareReader(u), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
3273
3273
  }
3274
3274
  }, t.exports = l;
3275
- })), js = X.__commonJSMin(((e, t) => {
3276
- var r = ve(), n = Ot(), i = Pt(), a = Ms(), s = dn(), l = rr();
3275
+ })), Ds = X.__commonJSMin(((e, t) => {
3276
+ var r = ve(), n = Ot(), i = Pt(), a = js(), s = dn(), l = rr();
3277
3277
  function u(m) {
3278
3278
  return new n.Promise(function(b, w) {
3279
3279
  var p = m.decompressed.getContentWorker().pipe(new s());
@@ -3326,7 +3326,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3326
3326
  return n;
3327
3327
  };
3328
3328
  }
3329
- r.prototype = Ps(), r.prototype.loadAsync = js(), r.support = Xe(), r.defaults = cn(), r.version = "3.10.1", r.loadAsync = function(n, i) {
3329
+ r.prototype = Rs(), r.prototype.loadAsync = Ds(), r.support = Xe(), r.defaults = cn(), r.version = "3.10.1", r.loadAsync = function(n, i) {
3330
3330
  return new r().loadAsync(n, i);
3331
3331
  }, r.external = Ot(), t.exports = r;
3332
3332
  })), Sn = X.__toESM(xn());
@@ -3383,7 +3383,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3383
3383
  }]
3384
3384
  })
3385
3385
  })
3386
- }), { useSendMessageMutation: Ds, useGetDialogQuery: Ls, useLazyGetDialogQuery: Fs } = Rt, Nt = k.createApi({
3386
+ }), { useSendMessageMutation: Ls, useGetDialogQuery: Fs, useLazyGetDialogQuery: Us } = Rt, Nt = k.createApi({
3387
3387
  reducerPath: "proxyApi",
3388
3388
  tagTypes: ["Proxy"],
3389
3389
  baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/cors-proxy/v1/get" }),
@@ -3400,7 +3400,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3400
3400
  extraQuery: { url: encodeURIComponent(t) }
3401
3401
  }));
3402
3402
  } }) })
3403
- }), { useGetFileQuery: nf, useLazyGetFileQuery: Us } = Nt, It = k.createApi({
3403
+ }), { useGetFileQuery: af, useLazyGetFileQuery: zs } = Nt, It = k.createApi({
3404
3404
  reducerPath: "promoApi",
3405
3405
  baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
3406
3406
  endpoints: (e) => ({
@@ -3412,7 +3412,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3412
3412
  return k.getClient(r).promo.get_code_info_list({ code: t });
3413
3413
  } })
3414
3414
  })
3415
- }), { useCheckPromoMutation: af, useGetPromoInfoQuery: of } = It, ci = "LOCALES", at = k.createApi({
3415
+ }), { useCheckPromoMutation: of, useGetPromoInfoQuery: sf } = It, ci = "LOCALES", at = k.createApi({
3416
3416
  reducerPath: "localesApi",
3417
3417
  tagTypes: [ci],
3418
3418
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/translations/v1" }),
@@ -3447,7 +3447,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3447
3447
  }]
3448
3448
  })
3449
3449
  })
3450
- }), { useGetLocalesQuery: sf, useGetLocaleQuery: lf, useLazyGetLocaleQuery: zs, useLazyGetLocalesQuery: Bs } = at, Mt = k.createApi({
3450
+ }), { useGetLocalesQuery: lf, useGetLocaleQuery: cf, useLazyGetLocaleQuery: Bs, useLazyGetLocalesQuery: qs } = at, Mt = k.createApi({
3451
3451
  reducerPath: "saveFileApi",
3452
3452
  tagTypes: ["Images"],
3453
3453
  baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/save-file/v1/" }),
@@ -3465,7 +3465,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3465
3465
  return k.getClient(r).saveFile.shortener_create(t, { type: k.ContentType$1.FormData });
3466
3466
  } })
3467
3467
  })
3468
- }), { useUploadImageMutation: qs, useSendTestEmailMutation: Hs, useSendLivePreviewMutation: $s, useSendShortLinkMutation: Ws } = Mt, kn = "EmailRaw", jt = k.createApi({
3468
+ }), { useUploadImageMutation: Hs, useSendTestEmailMutation: $s, useSendLivePreviewMutation: Ws, useSendShortLinkMutation: Qs } = Mt, kn = "EmailRaw", jt = k.createApi({
3469
3469
  reducerPath: "emailRawApi",
3470
3470
  tagTypes: [kn],
3471
3471
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/wp/v2/" }),
@@ -3478,7 +3478,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3478
3478
  id: n
3479
3479
  }]
3480
3480
  }) })
3481
- }), { useGetEmailRawQuery: cf } = jt, Tn = "Optimise", Qs = "usage_limit_exceeded", Vs = async (e, t, r) => {
3481
+ }), { useGetEmailRawQuery: uf } = jt, Tn = "Optimise", Vs = "usage_limit_exceeded", Gs = async (e, t, r) => {
3482
3482
  const n = await k.fetchBaseQueryApp({ baseUrl: `${k.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
3483
3483
  if (n.error) {
3484
3484
  let i = n.error;
@@ -3493,7 +3493,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3493
3493
  }, nr = k.createApi({
3494
3494
  reducerPath: "optimiseApi",
3495
3495
  tagTypes: [Tn],
3496
- baseQuery: Vs,
3496
+ baseQuery: Gs,
3497
3497
  endpoints: (e) => ({
3498
3498
  editLinks: e.mutation({
3499
3499
  query: (t) => ({
@@ -3529,7 +3529,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3529
3529
  body: t
3530
3530
  }) })
3531
3531
  })
3532
- }), { useEditLinksMutation: Gs, useEditImagesMutation: Zs, useEditSpamMutation: Ys } = nr, Js = async (e, t, r) => {
3532
+ }), { useEditLinksMutation: Zs, useEditImagesMutation: Ys, useEditSpamMutation: Js } = nr, Xs = async (e, t, r) => {
3533
3533
  try {
3534
3534
  const { notification: n, ...i } = e, a = await k.fetchBaseQuery({ baseUrl: "https://racs.emcdn.ru/v3" })(i, t, r);
3535
3535
  if (a.error) throw new Error();
@@ -3539,7 +3539,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3539
3539
  }
3540
3540
  }, ar = k.createApi({
3541
3541
  reducerPath: "exportPngApi",
3542
- baseQuery: Js,
3542
+ baseQuery: Xs,
3543
3543
  endpoints: (e) => ({
3544
3544
  makeTemporaryMailForPng: e.mutation({ query: ({ file: t, title: r, notification: n }) => {
3545
3545
  const i = new Blob([t], { type: "text/html" }), a = new FormData();
@@ -3556,7 +3556,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3556
3556
  notification: r
3557
3557
  }) })
3558
3558
  })
3559
- }), { useMakeTemporaryMailForPngMutation: Xs, useDeleteTemporaryMailMutation: Ks } = ar, or = k.createApi({
3559
+ }), { useMakeTemporaryMailForPngMutation: Ks, useDeleteTemporaryMailMutation: el } = ar, or = k.createApi({
3560
3560
  reducerPath: "yandexAuthApi",
3561
3561
  baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
3562
3562
  endpoints: (e) => ({ validateYandexToken: e.mutation({ query: (t) => ({
@@ -3564,7 +3564,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3564
3564
  method: "POST",
3565
3565
  body: t
3566
3566
  }) }) })
3567
- }), { useValidateYandexTokenMutation: uf } = or, sr = k.createApi({
3567
+ }), { useValidateYandexTokenMutation: df } = or, sr = k.createApi({
3568
3568
  reducerPath: "elamaAuthApi",
3569
3569
  baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
3570
3570
  endpoints: (e) => ({ validateElamaCode: e.mutation({ query: (t) => ({
@@ -3572,7 +3572,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3572
3572
  method: "POST",
3573
3573
  body: t
3574
3574
  }) }) })
3575
- }), { useValidateElamaCodeMutation: df } = sr, lr = k.createApi({
3575
+ }), { useValidateElamaCodeMutation: pf } = sr, lr = k.createApi({
3576
3576
  reducerPath: "googleAuthApi",
3577
3577
  baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
3578
3578
  endpoints: (e) => ({ validateGoogleToken: e.mutation({ query: (t) => ({
@@ -3580,7 +3580,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3580
3580
  method: "POST",
3581
3581
  body: t
3582
3582
  }) }) })
3583
- }), { useValidateGoogleTokenMutation: pf } = lr, cr = k.createApi({
3583
+ }), { useValidateGoogleTokenMutation: ff } = lr, cr = k.createApi({
3584
3584
  reducerPath: "webHookApi",
3585
3585
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3586
3586
  endpoints: (e) => ({ postDataByWebHook: e.mutation({ query: ({ url: t, body: r }) => ({
@@ -3588,7 +3588,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3588
3588
  method: "POST",
3589
3589
  body: r
3590
3590
  }) }) })
3591
- }), { usePostDataByWebHookMutation: el } = cr, ur = k.createApi({
3591
+ }), { usePostDataByWebHookMutation: tl } = cr, ur = k.createApi({
3592
3592
  reducerPath: "unisenderApi",
3593
3593
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3594
3594
  endpoints: (e) => ({ createEmailMessage: e.mutation({ query: (t) => {
@@ -3602,7 +3602,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3602
3602
  body: n.toString()
3603
3603
  };
3604
3604
  } }) })
3605
- }), { useCreateEmailMessageMutation: tl } = ur, dr = k.createApi({
3605
+ }), { useCreateEmailMessageMutation: rl } = ur, dr = k.createApi({
3606
3606
  reducerPath: "mailganerApi",
3607
3607
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://mailganer.com" }),
3608
3608
  endpoints: (e) => ({ createMailing: e.mutation({ query: (t) => {
@@ -3614,7 +3614,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3614
3614
  body: r.toString()
3615
3615
  };
3616
3616
  } }) })
3617
- }), { useCreateMailingMutation: rl } = dr, pr = k.createApi({
3617
+ }), { useCreateMailingMutation: il } = dr, pr = k.createApi({
3618
3618
  reducerPath: "sendsayApi",
3619
3619
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://api.sendsay.ru" }),
3620
3620
  endpoints: (e) => ({ createDraft: e.mutation({ query: (t) => {
@@ -3639,7 +3639,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3639
3639
  body: r
3640
3640
  };
3641
3641
  } }) })
3642
- }), { useCreateDraftMutation: il } = pr, fr = k.createApi({
3642
+ }), { useCreateDraftMutation: nl } = pr, fr = k.createApi({
3643
3643
  reducerPath: "altcraftApi",
3644
3644
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3645
3645
  endpoints: (e) => ({ addTemplate: e.mutation({ query: (t) => {
@@ -3668,11 +3668,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3668
3668
  body: JSON.stringify(n)
3669
3669
  };
3670
3670
  } }) })
3671
- }), { useAddTemplateMutation: nl } = fr, al = (e) => e.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "").replace(/<script[^>]*>[\s\S]*?<\/script>/gi, "").replace(/<[^>]+>/g, " ").replace(/&nbsp;/g, " ").replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/\s+/g, " ").trim(), hr = k.createApi({
3671
+ }), { useAddTemplateMutation: al } = fr, ol = (e) => e.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "").replace(/<script[^>]*>[\s\S]*?<\/script>/gi, "").replace(/<[^>]+>/g, " ").replace(/&nbsp;/g, " ").replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/\s+/g, " ").trim(), hr = k.createApi({
3672
3672
  reducerPath: "enkodApi",
3673
3673
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://api.enkod.ru" }),
3674
3674
  endpoints: (e) => ({ createMessage: e.mutation({ query: (t) => {
3675
- const r = al(t.html_content) || t.subject, n = {
3675
+ const r = ol(t.html_content) || t.subject, n = {
3676
3676
  message: {
3677
3677
  subject: t.subject,
3678
3678
  fromEmail: t.sender_email || "",
@@ -3692,14 +3692,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3692
3692
  body: n
3693
3693
  };
3694
3694
  } }) })
3695
- }), { useCreateMessageMutation: ol } = hr, sl = (e) => {
3695
+ }), { useCreateMessageMutation: sl } = hr, ll = (e) => {
3696
3696
  const t = e.split("-");
3697
3697
  return t.length > 1 ? t[1] : "us1";
3698
- }, ll = (e) => `https://${sl(e)}.api.mailchimp.com/3.0`, mr = k.createApi({
3698
+ }, cl = (e) => `https://${ll(e)}.api.mailchimp.com/3.0`, mr = k.createApi({
3699
3699
  reducerPath: "mailchimpApi",
3700
3700
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3701
3701
  endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
3702
- const a = ll(t.api_key), s = btoa(`anystring:${t.api_key}`), l = {
3702
+ const a = cl(t.api_key), s = btoa(`anystring:${t.api_key}`), l = {
3703
3703
  type: "regular",
3704
3704
  recipients: { list_id: t.list_id },
3705
3705
  settings: {
@@ -3750,16 +3750,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3750
3750
  web_id: m.web_id
3751
3751
  } };
3752
3752
  } }) })
3753
- }), { useCreateCampaignMutation: cl } = mr, ui = "https://a.klaviyo.com/api", ul = "2025-04-15", dl = (e) => ({
3753
+ }), { useCreateCampaignMutation: ul } = mr, ui = "https://a.klaviyo.com/api", dl = "2025-04-15", pl = (e) => ({
3754
3754
  "Content-Type": "application/json",
3755
3755
  Accept: "application/json",
3756
3756
  Authorization: `Klaviyo-API-Key ${e}`,
3757
- revision: ul
3757
+ revision: dl
3758
3758
  }), gr = k.createApi({
3759
3759
  reducerPath: "klaviyoApi",
3760
3760
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3761
3761
  endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
3762
- const a = dl(t.api_key), s = { data: {
3762
+ const a = pl(t.api_key), s = { data: {
3763
3763
  type: "template",
3764
3764
  attributes: {
3765
3765
  name: `Email ${Date.now()}`,
@@ -3850,14 +3850,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3850
3850
  campaign_message_id: p
3851
3851
  } };
3852
3852
  } }) })
3853
- }), { useCreateCampaignMutation: pl } = gr, fl = "https://api.hubapi.com", hl = (e) => ({
3853
+ }), { useCreateCampaignMutation: fl } = gr, hl = "https://api.hubapi.com", ml = (e) => ({
3854
3854
  "Content-Type": "application/json",
3855
3855
  Authorization: `Bearer ${e}`
3856
3856
  }), vr = k.createApi({
3857
3857
  reducerPath: "hubspotApi",
3858
3858
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3859
3859
  endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, n, i) => {
3860
- const a = hl(t.api_key), s = {
3860
+ const a = ml(t.api_key), s = {
3861
3861
  name: t.name,
3862
3862
  subject: t.subject,
3863
3863
  from: {
@@ -3899,7 +3899,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3899
3899
  }
3900
3900
  }
3901
3901
  }, l = await i({
3902
- url: `?proxy_url=${encodeURIComponent(`${fl}/marketing/v3/emails/`)}`,
3902
+ url: `?proxy_url=${encodeURIComponent(`${hl}/marketing/v3/emails/`)}`,
3903
3903
  method: "POST",
3904
3904
  headers: a,
3905
3905
  body: JSON.stringify(s)
@@ -3917,7 +3917,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3917
3917
  error: l.data?.errors?.map((m) => m.message || m.errorType).join("; ") || "Failed to create email"
3918
3918
  } };
3919
3919
  } }) })
3920
- }), { useCreateEmailMutation: ml } = vr, br = k.createApi({
3920
+ }), { useCreateEmailMutation: gl } = vr, br = k.createApi({
3921
3921
  reducerPath: "salesforceMcApi",
3922
3922
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3923
3923
  endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, n, i) => {
@@ -3978,11 +3978,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
3978
3978
  error: w.data?.errors?.map((c) => c.message).join("; ") || "Failed to create email"
3979
3979
  } };
3980
3980
  } }) })
3981
- }), { useCreateEmailMutation: gl } = br, vl = (e) => e.replace(/\/$/, ""), bl = (e) => e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim() || " ", _r = k.createApi({
3981
+ }), { useCreateEmailMutation: vl } = br, bl = (e) => e.replace(/\/$/, ""), _l = (e) => e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim() || " ", _r = k.createApi({
3982
3982
  reducerPath: "activecampaignApi",
3983
3983
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
3984
3984
  endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
3985
- const a = vl(t.api_url), s = t.api_key, l = {
3985
+ const a = bl(t.api_url), s = t.api_key, l = {
3986
3986
  "Content-Type": "application/json",
3987
3987
  "Api-Token": s
3988
3988
  }, u = await i({
@@ -4007,7 +4007,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4007
4007
  reply2: t.from_email,
4008
4008
  subject: t.subject,
4009
4009
  html: t.html,
4010
- text: bl(t.html),
4010
+ text: _l(t.html),
4011
4011
  preheader_text: "",
4012
4012
  format: "mime"
4013
4013
  } }, p = await i({
@@ -4057,7 +4057,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4057
4057
  error: I?.result_message || "Campaign created but no ID returned."
4058
4058
  } };
4059
4059
  } }) })
4060
- }), { useCreateCampaignMutation: _l } = _r, yl = "https://api.brevo.com/v3", yr = k.createApi({
4060
+ }), { useCreateCampaignMutation: yl } = _r, wl = "https://api.brevo.com/v3", yr = k.createApi({
4061
4061
  reducerPath: "brevoApi",
4062
4062
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4063
4063
  endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
@@ -4071,7 +4071,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4071
4071
  htmlContent: t.html,
4072
4072
  recipients: { listIds: [t.list_id] }
4073
4073
  }, s = await i({
4074
- url: `?proxy_url=${encodeURIComponent(`${yl}/emailCampaigns`)}`,
4074
+ url: `?proxy_url=${encodeURIComponent(`${wl}/emailCampaigns`)}`,
4075
4075
  method: "POST",
4076
4076
  headers: {
4077
4077
  "Content-Type": "application/json",
@@ -4092,7 +4092,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4092
4092
  error: s.data?.message || "Failed to create campaign"
4093
4093
  } };
4094
4094
  } }) })
4095
- }), { useCreateCampaignMutation: wl } = yr, El = "https://api.createsend.com/api/v3.3", xl = (e) => `Basic ${btoa(`${e}:x`)}`, wr = k.createApi({
4095
+ }), { useCreateCampaignMutation: El } = yr, xl = "https://api.createsend.com/api/v3.3", Sl = (e) => `Basic ${btoa(`${e}:x`)}`, wr = k.createApi({
4096
4096
  reducerPath: "campaignMonitorApi",
4097
4097
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4098
4098
  endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
@@ -4106,11 +4106,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4106
4106
  ListIDs: [t.list_id],
4107
4107
  InlineCss: !0
4108
4108
  }, s = await i({
4109
- url: `?proxy_url=${encodeURIComponent(`${El}/campaigns/${t.client_id}.json`)}`,
4109
+ url: `?proxy_url=${encodeURIComponent(`${xl}/campaigns/${t.client_id}.json`)}`,
4110
4110
  method: "POST",
4111
4111
  headers: {
4112
4112
  "Content-Type": "application/json",
4113
- Authorization: xl(t.api_key)
4113
+ Authorization: Sl(t.api_key)
4114
4114
  },
4115
4115
  body: JSON.stringify(a)
4116
4116
  });
@@ -4127,11 +4127,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4127
4127
  error: l?.Message || "Failed to create campaign"
4128
4128
  } } : { data: { id: u } };
4129
4129
  } }) })
4130
- }), { useCreateCampaignMutation: Sl } = wr, On = "https://api.cc.email/v3", Al = (e) => e.includes("[[trackingImage]]") ? e : e.replace(/<body([^>]*)>/i, "<body$1>[[trackingImage]]"), Er = k.createApi({
4130
+ }), { useCreateCampaignMutation: Al } = wr, On = "https://api.cc.email/v3", Cl = (e) => e.includes("[[trackingImage]]") ? e : e.replace(/<body([^>]*)>/i, "<body$1>[[trackingImage]]"), Er = k.createApi({
4131
4131
  reducerPath: "constantContactApi",
4132
4132
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4133
4133
  endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
4134
- const a = Al(t.html), s = {
4134
+ const a = Cl(t.html), s = {
4135
4135
  name: t.name,
4136
4136
  email_campaign_activities: [{
4137
4137
  format_type: 5,
@@ -4193,7 +4193,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4193
4193
  }
4194
4194
  return { data: { campaign_id: b } };
4195
4195
  } }) })
4196
- }), { useCreateCampaignMutation: Cl } = Er, kl = "https://api.getresponse.com/v3", Tl = (e) => `api-key ${e}`, xr = k.createApi({
4196
+ }), { useCreateCampaignMutation: kl } = Er, Tl = "https://api.getresponse.com/v3", Ol = (e) => `api-key ${e}`, xr = k.createApi({
4197
4197
  reducerPath: "getresponseApi",
4198
4198
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4199
4199
  endpoints: (e) => ({ createNewsletter: e.mutation({ queryFn: async (t, r, n, i) => {
@@ -4211,11 +4211,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4211
4211
  flags: ["openrate", "clicktrack"],
4212
4212
  sendSettings: { selectedCampaigns: [t.campaign_id] }
4213
4213
  }, l = await i({
4214
- url: `?proxy_url=${encodeURIComponent(`${kl}/newsletters`)}`,
4214
+ url: `?proxy_url=${encodeURIComponent(`${Tl}/newsletters`)}`,
4215
4215
  method: "POST",
4216
4216
  headers: {
4217
4217
  "Content-Type": "application/json",
4218
- "X-Auth-Token": Tl(t.api_key)
4218
+ "X-Auth-Token": Ol(t.api_key)
4219
4219
  },
4220
4220
  body: JSON.stringify(s)
4221
4221
  });
@@ -4232,11 +4232,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4232
4232
  error: l.data?.message || "Failed to create newsletter"
4233
4233
  } };
4234
4234
  } }) })
4235
- }), { useCreateNewsletterMutation: Ol } = xr, Pl = (e) => `https://${e || "r1"}-api.dotdigital.com/v2`, Pn = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Rn = (e) => e && typeof e == "object" && "data" in e && e.data !== void 0 ? e.data : e, Nn = (e) => e.trim().toLowerCase(), Sr = k.createApi({
4235
+ }), { useCreateNewsletterMutation: Pl } = xr, Rl = (e) => `https://${e || "r1"}-api.dotdigital.com/v2`, Pn = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Rn = (e) => e && typeof e == "object" && "data" in e && e.data !== void 0 ? e.data : e, Nn = (e) => e.trim().toLowerCase(), Sr = k.createApi({
4236
4236
  reducerPath: "dotdigitalApi",
4237
4237
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4238
4238
  endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
4239
- const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), s = Pl(t.region), l = {
4239
+ const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), s = Rl(t.region), l = {
4240
4240
  "Content-Type": "application/json",
4241
4241
  Authorization: Pn(t.username, t.password)
4242
4242
  }, u = await i({
@@ -4279,7 +4279,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4279
4279
  error: h.data?.message || E?.message || "Failed to create campaign"
4280
4280
  } };
4281
4281
  } }) })
4282
- }), { useCreateCampaignMutation: Rl } = Sr, Nl = "https://app.bentonow.com/api/v1", Il = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Ar = k.createApi({
4282
+ }), { useCreateCampaignMutation: Nl } = Sr, Il = "https://app.bentonow.com/api/v1", Ml = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Ar = k.createApi({
4283
4283
  reducerPath: "bentoApi",
4284
4284
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4285
4285
  endpoints: (e) => ({ createBroadcast: e.mutation({ queryFn: async (t, r, n, i) => {
@@ -4297,12 +4297,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4297
4297
  segment_id: t.segment_id || "",
4298
4298
  batch_size_per_hour: 500,
4299
4299
  approved: !1
4300
- }] }, s = `${Nl}/batch/broadcasts?site_uuid=${encodeURIComponent(t.site_uuid)}`, l = await i({
4300
+ }] }, s = `${Il}/batch/broadcasts?site_uuid=${encodeURIComponent(t.site_uuid)}`, l = await i({
4301
4301
  url: `?proxy_url=${encodeURIComponent(s)}`,
4302
4302
  method: "POST",
4303
4303
  headers: {
4304
4304
  "Content-Type": "application/json",
4305
- Authorization: Il(t.publishable_key, t.secret_key),
4305
+ Authorization: Ml(t.publishable_key, t.secret_key),
4306
4306
  "User-Agent": "EmailMaker/1.0"
4307
4307
  },
4308
4308
  body: JSON.stringify(a)
@@ -4316,11 +4316,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4316
4316
  }
4317
4317
  return { data: { count: l.data?.count ?? 1 } };
4318
4318
  } }) })
4319
- }), { useCreateBroadcastMutation: Ml } = Ar, jl = Me.require_eventsource();
4320
- function Dl(e, t) {
4319
+ }), { useCreateBroadcastMutation: jl } = Ar, Dl = Me.require_eventsource();
4320
+ function Ll(e, t) {
4321
4321
  e === !0 || typeof t != "function" || t();
4322
4322
  }
4323
- var Ll = async (e, t, r) => {
4323
+ var Fl = async (e, t, r) => {
4324
4324
  const n = await k.fetchBaseQueryApp({ baseUrl: k.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "") })(e, t, r);
4325
4325
  if (n.error) {
4326
4326
  let i = n.error;
@@ -4334,7 +4334,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4334
4334
  return n;
4335
4335
  }, Cr = k.createApi({
4336
4336
  reducerPath: "AiApiGenerator",
4337
- baseQuery: Ll,
4337
+ baseQuery: Fl,
4338
4338
  endpoints: (e) => ({
4339
4339
  generateIdForTask: e.mutation({ queryFn(t, r) {
4340
4340
  return k.getAIClient(r).tasks.tasksControllerCreateTask(t).then((n) => n);
@@ -4345,7 +4345,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4345
4345
  getGeneratedContent: e.query({
4346
4346
  queryFn: (t) => ({ data: [] }),
4347
4347
  async onCacheEntryAdded({ id: t, setError: r }, n) {
4348
- const { updateCachedData: i, cacheEntryRemoved: a } = n, s = k.getClient(n).baseUrl.indexOf("emailmaker") >= 0 ? k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, l = k.PLUGIN.isPlugin ? await k.di.getInstance(n, Me.TOKEN_ID) : k.api.get(k.APP_COOKIES.em_token), u = l ? { Authorization: `Bearer ${l}` } : {}, m = new jl.EventSourcePolyfill(`${s}/tasks/${t}`, { headers: u });
4348
+ const { updateCachedData: i, cacheEntryRemoved: a } = n, s = k.getClient(n).baseUrl.indexOf("emailmaker") >= 0 ? k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, l = k.PLUGIN.isPlugin ? await k.di.getInstance(n, Me.TOKEN_ID) : k.api.get(k.APP_COOKIES.em_token), u = l ? { Authorization: `Bearer ${l}` } : {}, m = new Dl.EventSourcePolyfill(`${s}/tasks/${t}`, { headers: u });
4349
4349
  m.onmessage = (b) => {
4350
4350
  const w = JSON.parse(b.data);
4351
4351
  i((p) => {
@@ -4362,7 +4362,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4362
4362
  body: t
4363
4363
  }) })
4364
4364
  })
4365
- }), { useGenerateIdForTaskMutation: ff, useGetGeneratedContentQuery: hf, useLazyClearAiChatQuery: Fl, useLazyGetGeneratedContentQuery: Ul, useGetAiGenerateStatusMutation: zl } = Cr, In = async (e) => {
4365
+ }), { useGenerateIdForTaskMutation: hf, useGetGeneratedContentQuery: mf, useLazyClearAiChatQuery: Ul, useLazyGetGeneratedContentQuery: zl, useGetAiGenerateStatusMutation: Bl } = Cr, In = async (e) => {
4366
4366
  const t = await e.text();
4367
4367
  let r = t;
4368
4368
  try {
@@ -4371,7 +4371,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4371
4371
  r = t;
4372
4372
  }
4373
4373
  return r;
4374
- }, Bl = (e, t, r) => {
4374
+ }, ql = (e, t, r) => {
4375
4375
  if (!e) throw new Error(`Set ${r}`);
4376
4376
  return {
4377
4377
  url: `?proxy_url=${encodeURIComponent(e)}`,
@@ -4380,7 +4380,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4380
4380
  body: t,
4381
4381
  responseHandler: In
4382
4382
  };
4383
- }, ql = (e, t, r) => {
4383
+ }, Hl = (e, t, r) => {
4384
4384
  if (!e) throw new Error(`Set ${r}`);
4385
4385
  return {
4386
4386
  url: `?proxy_url=${encodeURIComponent(e)}`,
@@ -4392,10 +4392,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4392
4392
  reducerPath: "requestPlaneApi",
4393
4393
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4394
4394
  endpoints: (e) => ({
4395
- getRequest: e.mutation({ query: (t) => ql("https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
4396
- getInvoiceRequest: e.mutation({ query: (t) => Bl("https://webhook.latenode.com/5868/prod/6e2d04a8-6cd9-4ec3-b884-ee2fd67267a3", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
4395
+ getRequest: e.mutation({ query: (t) => Hl("https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
4396
+ getInvoiceRequest: e.mutation({ query: (t) => ql("https://webhook.latenode.com/5868/prod/6e2d04a8-6cd9-4ec3-b884-ee2fd67267a3", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
4397
4397
  })
4398
- }), { useGetRequestMutation: mf, useGetInvoiceRequestMutation: Hl } = kr, $l = async (e, t, r) => {
4398
+ }), { useGetRequestMutation: gf, useGetInvoiceRequestMutation: $l } = kr, Wl = async (e, t, r) => {
4399
4399
  try {
4400
4400
  const { notification: n, ...i } = e, a = await k.fetchBaseQuery({ baseUrl: "https://html2pdf.emcdn.ru/convert/html-to-pdf" })(i, t, r);
4401
4401
  if (a.error) throw new Error();
@@ -4405,7 +4405,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4405
4405
  }
4406
4406
  }, Tr = k.createApi({
4407
4407
  reducerPath: "htmlToPdfPlusApi",
4408
- baseQuery: $l,
4408
+ baseQuery: Wl,
4409
4409
  endpoints: (e) => ({ generateHtmlToPdf: e.mutation({ query: ({ htmlContent: t, notification: r }) => ({
4410
4410
  url: "",
4411
4411
  method: "POST",
@@ -4413,7 +4413,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4413
4413
  notification: r,
4414
4414
  responseHandler: (n) => n.blob()
4415
4415
  }) }) })
4416
- }), { useGenerateHtmlToPdfMutation: Wl } = Tr, Or = k.createApi({
4416
+ }), { useGenerateHtmlToPdfMutation: Ql } = Tr, Or = k.createApi({
4417
4417
  reducerPath: "layoutConverterApi",
4418
4418
  baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
4419
4419
  endpoints: (e) => ({
@@ -4427,7 +4427,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4427
4427
  method: "GET"
4428
4428
  }) })
4429
4429
  })
4430
- }), { useCreateConvertJobMutation: Ql, useLazyGetConvertJobStatusQuery: Vl } = Or;
4430
+ }), { useCreateConvertJobMutation: Vl, useLazyGetConvertJobStatusQuery: Gl } = Or;
4431
4431
  function Mn({ title: e, content: t, acf: { seen: r, type: n, event: i, data: a }, ...s }) {
4432
4432
  return {
4433
4433
  ...s,
@@ -4472,7 +4472,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4472
4472
  }]
4473
4473
  })
4474
4474
  })
4475
- }), { useGetNotificationsQuery: Gl, useNotificationShownMutation: Zl } = Lt;
4475
+ }), { useGetNotificationsQuery: Zl, useNotificationShownMutation: Yl } = Lt;
4476
4476
  er.init__polyfill_node_process();
4477
4477
  var Pr = k.createApi({
4478
4478
  reducerPath: "getCheckoutUrlApi",
@@ -4482,7 +4482,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4482
4482
  method: "POST",
4483
4483
  body: t
4484
4484
  }) }) })
4485
- }), { useGetCheckoutUrlMutation: Yl } = Pr, di = k.createApi({
4485
+ }), { useGetCheckoutUrlMutation: Jl } = Pr, di = k.createApi({
4486
4486
  reducerPath: "recoverPasswordApi",
4487
4487
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/bdpwr/v1/" }),
4488
4488
  endpoints: () => ({})
@@ -4492,22 +4492,22 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4492
4492
  endpoints: (e) => ({ addUserToProject: e.mutation({ queryFn(t, r) {
4493
4493
  return k.getClient(r).userToProject.add_user_create(t, { type: k.ContentType$1.FormData });
4494
4494
  } }) })
4495
- }), { useAddUserToProjectMutation: gf } = Ft, Rr = k.createApi({
4495
+ }), { useAddUserToProjectMutation: vf } = Ft, Rr = k.createApi({
4496
4496
  reducerPath: "confirmationMailApi",
4497
4497
  baseQuery: k.fetchBaseQuery({
4498
4498
  baseUrl: "https://px0.emailmaker.ru/",
4499
4499
  responseHandler: (e) => e.text()
4500
4500
  }),
4501
4501
  endpoints: (e) => ({ getConfirmationMail: e.query({ query: ({ userId: t, email: r }) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/f0da9c0f-ed12-4d23-8a86-b86f7bf1a276?user_id=${t}&user_email=${r}`)}` }) }) })
4502
- }), { useLazyGetConfirmationMailQuery: Jl } = Rr, Nr = k.createApi({
4502
+ }), { useLazyGetConfirmationMailQuery: Xl } = Rr, Nr = k.createApi({
4503
4503
  reducerPath: "recurrenceSubscriptionsOffApi",
4504
4504
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4505
4505
  endpoints: (e) => ({ getCanselRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/07ae4159-132b-4a00-998b-bc47c20365ba?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
4506
- }), { useLazyGetCanselRecurrenceQuery: Xl, useGetCanselRecurrenceQuery: vf } = Nr, Ir = k.createApi({
4506
+ }), { useLazyGetCanselRecurrenceQuery: Kl, useGetCanselRecurrenceQuery: bf } = Nr, Ir = k.createApi({
4507
4507
  reducerPath: "recurrenceSubscriptionsOnApi",
4508
4508
  baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
4509
4509
  endpoints: (e) => ({ getRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/e1dd37b1-c3d4-4441-b329-d6b3aa51bfe7?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
4510
- }), { useLazyGetRecurrenceQuery: Kl, useGetRecurrenceQuery: bf } = Ir, Mr = k.createApi({
4510
+ }), { useLazyGetRecurrenceQuery: ec, useGetRecurrenceQuery: _f } = Ir, Mr = k.createApi({
4511
4511
  reducerPath: "authApi",
4512
4512
  baseQuery: k.fetchBaseQueryApp({
4513
4513
  baseUrl: "https://app.emailmaker.ru/api/v2",
@@ -4556,7 +4556,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4556
4556
  body: t
4557
4557
  }) })
4558
4558
  })
4559
- }), { useLoginMutation: _f, useRegisterMutation: yf, useRefreshTokenMutation: wf, useLogoutMutation: tc, useGetUserQuery: Ef, useLazyGetUserQuery: xf, useChangePasswordMutation: rc, useResetPasswordMutation: Sf, useResetPasswordConfirmMutation: Af } = Mr, ic = "https://app.emailmaker.ru/api/v2", Ut = "Integrations", jr = "Webhook", Dr = "TestRecipients", pi = "Storage", zt = k.createApi({
4559
+ }), { useLoginMutation: yf, useRegisterMutation: wf, useRefreshTokenMutation: Ef, useLogoutMutation: rc, useGetUserQuery: xf, useLazyGetUserQuery: Sf, useChangePasswordMutation: ic, useResetPasswordMutation: Af, useResetPasswordConfirmMutation: Cf } = Mr, nc = "https://app.emailmaker.ru/api/v2", Ut = "Integrations", jr = "Webhook", Dr = "TestRecipients", pi = "Storage", zt = k.createApi({
4560
4560
  reducerPath: "projectSettingsV2Api",
4561
4561
  tagTypes: [
4562
4562
  Ut,
@@ -4564,7 +4564,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4564
4564
  Dr,
4565
4565
  pi
4566
4566
  ],
4567
- baseQuery: k.fetchBaseQueryApp({ baseUrl: ic }),
4567
+ baseQuery: k.fetchBaseQueryApp({ baseUrl: nc }),
4568
4568
  endpoints: (e) => ({
4569
4569
  getProjectIntegrations: e.query({
4570
4570
  query: (t) => `/projects/${t}/integrations`,
@@ -4671,7 +4671,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4671
4671
  }]
4672
4672
  })
4673
4673
  })
4674
- }), { useGetProjectStorageQuery: nc, usePutProjectSettingsMutation: ac, useGetProjectIntegrationsQuery: oc, useLazyGetIntegrationCredentialsQuery: sc, usePutProjectIntegrationMutation: Cf, useDeleteProjectIntegrationMutation: kf, useGetProjectWebhookQuery: lc, usePutProjectWebhookMutation: Tf, useGetProjectTestRecipientsQuery: cc, usePutProjectTestRecipientsMutation: uc } = zt, jn = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4674
+ }), { useGetProjectStorageQuery: ac, usePutProjectSettingsMutation: oc, useGetProjectIntegrationsQuery: sc, useLazyGetIntegrationCredentialsQuery: lc, usePutProjectIntegrationMutation: kf, useDeleteProjectIntegrationMutation: Tf, useGetProjectWebhookQuery: cc, usePutProjectWebhookMutation: Of, useGetProjectTestRecipientsQuery: uc, usePutProjectTestRecipientsMutation: dc } = zt, jn = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4675
4675
  <html>
4676
4676
  <head>
4677
4677
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -4713,7 +4713,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4713
4713
  </table>
4714
4714
  </body>
4715
4715
  </html>`;
4716
- function dc(e) {
4716
+ function pc(e) {
4717
4717
  return Object.prototype.hasOwnProperty.call(e, "meta");
4718
4718
  }
4719
4719
  var Bt = k.createState({
@@ -4743,19 +4743,25 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4743
4743
  isAmp: !1
4744
4744
  },
4745
4745
  hasChanged: !1
4746
- }), Lr = "newEmailSlice", fi = k.createSlice({
4746
+ });
4747
+ function Dn(e, t) {
4748
+ const { id: r, subject: n = void 0, description: i = "", preheader: a, html: s = jn, utm_parameters: { utm_source: l = "", utm_medium: u = "", utm_campaign: m = "", utm_term: b = "", utm_content: w = "" } = {}, common_styles: p = "{}", emailtags: c = null, renderGuid: h, title: E, _embedded: T, isAmp: I = !1 } = t;
4749
+ e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = E, pc(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = c, e.email.subject = n, e.email.description = i, e.email.common_styles = p || JSON.stringify(nn), e.email.preheader = a, e.email.is_template = !1, e.email.html = s;
4750
+ const _ = k.getTaxonomy({ _embedded: T }, "emailtags") ?? [];
4751
+ e.email.tags = _.map((C) => C.name), e.email.renderGuid = h ?? e.email.renderGuid ?? k.generateUUID(), e.email.showId = t.showId, t.showToken !== void 0 ? e.appliedShowToken = t.showToken : e.appliedShowToken += 1, e.email.parent_email = r ?? t.parent_email ?? null, e.email.utm_parameters = {
4752
+ utm_source: l,
4753
+ utm_medium: u,
4754
+ utm_campaign: m,
4755
+ utm_term: b,
4756
+ utm_content: w
4757
+ };
4758
+ }
4759
+ var Lr = "newEmailSlice", fi = k.createSlice({
4747
4760
  name: Lr,
4748
4761
  initialState: Bt,
4749
4762
  reducers: {
4750
4763
  setNewEmailAll: (e, { payload: t }) => {
4751
- const { id: r, subject: n = void 0, description: i = "", preheader: a, html: s = jn, utm_parameters: { utm_source: l = "", utm_medium: u = "", utm_campaign: m = "", utm_term: b = "", utm_content: w = "" } = {}, common_styles: p = "{}", emailtags: c = null, renderGuid: h, title: E, _embedded: T, isAmp: I = !1 } = t;
4752
- e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = E, dc(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = c, e.email.subject = n, e.email.description = i, e.email.common_styles = p || JSON.stringify(nn), e.email.preheader = a, e.email.is_template = !1, e.email.html = s, e.email.tags = k.getTaxonomy({ _embedded: T }, "emailtags")?.map((_) => _.name) || [], e.email.renderGuid = h ?? e.email.renderGuid ?? k.generateUUID(), t.showToken !== void 0 ? e.appliedShowToken = t.showToken : e.appliedShowToken += 1, e.email.parent_email = r, e.email.utm_parameters = {
4753
- utm_source: l,
4754
- utm_medium: u,
4755
- utm_campaign: m,
4756
- utm_term: b,
4757
- utm_content: w
4758
- };
4764
+ Dn(e, t);
4759
4765
  },
4760
4766
  setNewEmailTitle: (e, t) => {
4761
4767
  e.hasChanged || (e.hasChanged = !0), e.email.title = t.payload;
@@ -4834,17 +4840,23 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4834
4840
  a != null && String(a) === i && String(r.id) === i && (t.email.project_title = r.name ?? "");
4835
4841
  }), e.addMatcher(k.emailsApi.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
4836
4842
  const n = t.hasChanged && t.email.renderGuid != null && r.renderGuid != null && t.email.renderGuid === r.renderGuid, i = t.hasChanged && t.email.id != null && r.id != null && String(t.email.id) === String(r.id);
4837
- if (!(n || i)) return {
4838
- ...Bt,
4839
- email: {
4840
- ...Bt.email,
4841
- project: t.email.project,
4842
- project_title: t.email.project_title
4843
+ if (!(n || i)) {
4844
+ if (k.PLUGIN.isPlugin && r.showId && r.id == null) {
4845
+ Dn(t, r);
4846
+ return;
4843
4847
  }
4844
- };
4848
+ return {
4849
+ ...Bt,
4850
+ email: {
4851
+ ...Bt.email,
4852
+ project: t.email.project,
4853
+ project_title: t.email.project_title
4854
+ }
4855
+ };
4856
+ }
4845
4857
  });
4846
4858
  }
4847
- }), { setNewEmailAll: pc, setNewEmailTitle: fc, setNewEmailSubject: hc, setNewEmailPreheader: mc, setNewEmailDescription: gc, setNewEmailIsTemplate: vc, setNewEmailHtml: bc, setNewCommonStyles: Of, setNewEmailTags: _c, setNewEmailUtmSource: yc, setNewEmailUtmMedium: wc, setNewEmailUtmCampaign: Ec, setNewEmailUtmContent: xc, setNewEmailUtmTerm: Sc, resetNewEmailSlice: Ac, setNewIsInited: Cc, setNewEmailIsAmp: kc, setNewEmailMeta: Tc, setNewEmailProject: Oc, promoteNewEmailAfterSave: Pc } = fi.actions, Rc = (e) => e[Lr].email, Nc = (e) => e[Lr].appliedShowToken, Ic = (e) => e[Lr].hasChanged, Dn = `<tr em="block" class="empty-structure">
4859
+ }), { setNewEmailAll: fc, setNewEmailTitle: hc, setNewEmailSubject: mc, setNewEmailPreheader: gc, setNewEmailDescription: vc, setNewEmailIsTemplate: bc, setNewEmailHtml: _c, setNewCommonStyles: Pf, setNewEmailTags: yc, setNewEmailUtmSource: wc, setNewEmailUtmMedium: Ec, setNewEmailUtmCampaign: xc, setNewEmailUtmContent: Sc, setNewEmailUtmTerm: Ac, resetNewEmailSlice: Cc, setNewIsInited: kc, setNewEmailIsAmp: Tc, setNewEmailMeta: Oc, setNewEmailProject: Pc, promoteNewEmailAfterSave: Rc } = fi.actions, Nc = (e) => e[Lr].email, Ic = (e) => e[Lr].appliedShowToken, Mc = (e) => e[Lr].hasChanged, Ln = `<tr em="block" class="empty-structure">
4848
4860
  <td align="center">
4849
4861
  <!--[if (gte mso 9)|(IE)]>
4850
4862
  <table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
@@ -4872,7 +4884,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4872
4884
  isNew: !0,
4873
4885
  subject: "",
4874
4886
  description: "",
4875
- html: "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" + Dn + "</table>",
4887
+ html: "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" + Ln + "</table>",
4876
4888
  project: void 0,
4877
4889
  project_title: "",
4878
4890
  tags: [],
@@ -4880,11 +4892,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4880
4892
  title: null
4881
4893
  },
4882
4894
  hasChanged: !1
4883
- }), Ln = "newBlockSlice", hi = k.createSlice({
4884
- name: Ln,
4895
+ }), Fn = "newBlockSlice", hi = k.createSlice({
4896
+ name: Fn,
4885
4897
  initialState: qt,
4886
4898
  reducers: {
4887
- setNewBlockAll: (e, { payload: { subject: t = "", description: r = "", renderGuid: n, html: i = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" + Dn + "</table>", tags: a = [], type: s = "Other", title: l, isAmp: u = !1 } }) => {
4899
+ setNewBlockAll: (e, { payload: { subject: t = "", description: r = "", renderGuid: n, html: i = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" + Ln + "</table>", tags: a = [], type: s = "Other", title: l, isAmp: u = !1 } }) => {
4888
4900
  e.hasChanged || (e.hasChanged = !0), e.block.title = l, e.block.subject = t, e.block.description = r, e.block.html = i, e.block.tags = a, e.block.type = s, e.block.renderGuid = n, e.block.isAmp = u;
4889
4901
  },
4890
4902
  setNewBlockTitle: (e, t) => {
@@ -4923,7 +4935,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4923
4935
  }
4924
4936
  }));
4925
4937
  }
4926
- }), { setNewBlockAll: Pf, setNewBlockTitle: Rf, setNewBlockDescription: Mc, setNewBlockHtml: Nf, setNewBlockTags: jc, resetNewBlockSlice: Dc, setBlockIsAmp: If } = hi.actions, Lc = (e) => e[Ln].hasChanged, Fn = k.createState({
4938
+ }), { setNewBlockAll: Rf, setNewBlockTitle: Nf, setNewBlockDescription: jc, setNewBlockHtml: If, setNewBlockTags: Dc, resetNewBlockSlice: Lc, setBlockIsAmp: Mf } = hi.actions, Fc = (e) => e[Fn].hasChanged, Un = k.createState({
4927
4939
  emailsTotal: 0,
4928
4940
  elementsList: [],
4929
4941
  emailsTrashTotal: 0,
@@ -4932,9 +4944,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4932
4944
  elementsView: !k.PLUGIN.isPlugin && k.api.get(k.APP_COOKIES.em_elements_view) || "cards"
4933
4945
  }), ot = "emailsPageSlice", mi = k.createSlice({
4934
4946
  name: ot,
4935
- initialState: Fn,
4947
+ initialState: Un,
4936
4948
  reducers: {
4937
- resetPagesAndTotal: () => Fn,
4949
+ resetPagesAndTotal: () => Un,
4938
4950
  resetElementsList: (e) => {
4939
4951
  e.elementsList = [];
4940
4952
  },
@@ -4974,7 +4986,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4974
4986
  }) : n);
4975
4987
  });
4976
4988
  }
4977
- }), { resetPagesAndTotal: Fc, toggleElementsView: Uc, resetElementsList: zc, removeEmailFromList: Bc } = mi.actions, qc = (e) => e[ot].emailsTotal, Hc = (e) => e[ot].elementsView, $c = (e) => e[ot].elementsList, Wc = (e) => e[ot].customFolders, Qc = (e) => e[ot].emailsTrashTotal, Vc = (e) => e[ot].elementsTrashList, Un = k.createState({
4989
+ }), { resetPagesAndTotal: Uc, toggleElementsView: zc, resetElementsList: Bc, removeEmailFromList: qc } = mi.actions, Hc = (e) => e[ot].emailsTotal, $c = (e) => e[ot].elementsView, Wc = (e) => e[ot].elementsList, Qc = (e) => e[ot].customFolders, Vc = (e) => e[ot].emailsTrashTotal, Gc = (e) => e[ot].elementsTrashList, zn = k.createState({
4978
4990
  blocksTotal: null,
4979
4991
  blocksTotalPages: null,
4980
4992
  parentEmailBlocksTotal: null,
@@ -4989,9 +5001,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
4989
5001
  elementsTrashList: []
4990
5002
  }), Fr = "blocksPageSlice", gi = k.createSlice({
4991
5003
  name: Fr,
4992
- initialState: Un,
5004
+ initialState: zn,
4993
5005
  reducers: {
4994
- resetPagesAndTotal: () => Un,
5006
+ resetPagesAndTotal: () => zn,
4995
5007
  resetElementsList: (e) => {
4996
5008
  e.elementsList = [];
4997
5009
  },
@@ -5032,14 +5044,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5032
5044
  }) : n);
5033
5045
  });
5034
5046
  }
5035
- }), { resetPagesAndTotal: Mf, resetElementsList: jf, toggleElementsView: Df, removeBlockFromList: Lf } = gi.actions, Gc = (e) => e[Fr].blocksTotal, Zc = (e) => e[Fr].templateBlocksTotal, Yc = (e) => e[Fr].parentEmailBlocksTotal, zn = k.createState({
5047
+ }), { resetPagesAndTotal: jf, resetElementsList: Df, toggleElementsView: Lf, removeBlockFromList: Ff } = gi.actions, Zc = (e) => e[Fr].blocksTotal, Yc = (e) => e[Fr].templateBlocksTotal, Jc = (e) => e[Fr].parentEmailBlocksTotal, Bn = k.createState({
5036
5048
  historyData: [],
5037
5049
  elementHistoryTotalPages: 1
5038
5050
  }), vi = "revisionHistorySlice", Ur = k.createSlice({
5039
5051
  name: vi,
5040
- initialState: zn,
5052
+ initialState: Bn,
5041
5053
  reducers: {
5042
- resetElementHistorySlice: () => ({ ...zn }),
5054
+ resetElementHistorySlice: () => ({ ...Bn }),
5043
5055
  setElementHistory: (e, t) => {
5044
5056
  t.payload.length !== 0 && (e.historyData = t.payload);
5045
5057
  }
@@ -5051,7 +5063,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5051
5063
  t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
5052
5064
  });
5053
5065
  }
5054
- }), { resetElementHistorySlice: Jc } = Ur.actions, { setElementHistory: Ff } = Ur.actions, Xc = (e) => e[vi].elementHistoryTotalPages, Kc = (e) => e[vi].historyData, Bn = k.combineReducers({
5066
+ }), { resetElementHistorySlice: Xc } = Ur.actions, { setElementHistory: Uf } = Ur.actions, Kc = (e) => e[vi].elementHistoryTotalPages, eu = (e) => e[vi].historyData, qn = k.combineReducers({
5055
5067
  [k.di.reducerPath]: k.di.reducer,
5056
5068
  [Rt.reducerPath]: Rt.reducer,
5057
5069
  [k.userSlice.name]: k.userSlice.reducer,
@@ -5116,10 +5128,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5116
5128
  [Nr.reducerPath]: Nr.reducer,
5117
5129
  [Mr.reducerPath]: Mr.reducer,
5118
5130
  [zt.reducerPath]: zt.reducer
5119
- }), eu = (e, t) => t.type === "authorizationApi/resetApiState" ? Bn({
5131
+ }), tu = (e, t) => t.type === "authorizationApi/resetApiState" ? qn({
5120
5132
  [k.reducerPath]: e[k.reducerPath],
5121
5133
  [at.reducerPath]: e[at.reducerPath]
5122
- }, t) : Bn(e, t), qn = [
5134
+ }, t) : qn(e, t), Hn = [
5123
5135
  Rt,
5124
5136
  Me.imageApi,
5125
5137
  Nt,
@@ -5170,15 +5182,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5170
5182
  Ir,
5171
5183
  Nr
5172
5184
  ];
5173
- function tu(e) {
5185
+ function ru(e) {
5174
5186
  let t = {};
5175
5187
  if (e) {
5176
5188
  const n = k.createIdentifier$1();
5177
5189
  k.DependencyResolver.inject(n, e), t = { INJECTION: n };
5178
5190
  }
5179
5191
  const r = k.configureStore({
5180
- reducer: eu,
5181
- middleware: (n) => n({ serializableCheck: !1 }).concat(qn.map((i) => i.middleware)),
5192
+ reducer: tu,
5193
+ middleware: (n) => n({ serializableCheck: !1 }).concat(Hn.map((i) => i.middleware)),
5182
5194
  preloadedState: t
5183
5195
  });
5184
5196
  return k.setupListeners(r.dispatch), r;
@@ -5197,13 +5209,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5197
5209
  return k.getClient(r).jwtAuth.token_validate_create({ type: k.ContentType$1.Json });
5198
5210
  } })
5199
5211
  })
5200
- }), { useTokenCreateMutation: Uf, useTokenValidateMutation: zf } = zr;
5201
- function Hn() {
5212
+ }), { useTokenCreateMutation: zf, useTokenValidateMutation: Bf } = zr;
5213
+ function $n() {
5202
5214
  const e = new Map();
5203
- for (const t of qn) e.set(t.reducerPath, t);
5215
+ for (const t of Hn) e.set(t.reducerPath, t);
5204
5216
  return e.set(zr.reducerPath, zr), [...e.values()];
5205
5217
  }
5206
- var ru = {
5218
+ var iu = {
5207
5219
  AiApi: new Set(["sendMessage", "getDialog"]),
5208
5220
  imageApi: new Set([
5209
5221
  "sendAiImageRequest",
@@ -5211,27 +5223,27 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5211
5223
  "getAiImageSSE"
5212
5224
  ])
5213
5225
  };
5214
- function iu(e) {
5226
+ function nu(e) {
5215
5227
  return e.getState().configSlice?.config;
5216
5228
  }
5217
- function nu(e) {
5229
+ function au(e) {
5218
5230
  return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
5219
5231
  }
5220
- function au(e) {
5221
- return nu(iu(e));
5232
+ function ou(e) {
5233
+ return au(nu(e));
5222
5234
  }
5223
- function ou(e, t, r, n) {
5224
- return ru[t]?.has(r) ? (i) => au(e) ? (a) => a(i) : n(i) : n;
5235
+ function su(e, t, r, n) {
5236
+ return iu[t]?.has(r) ? (i) => ou(e) ? (a) => a(i) : n(i) : n;
5225
5237
  }
5226
- function su(e) {
5238
+ function lu(e) {
5227
5239
  const t = k.getOverrideApiFn(e);
5228
5240
  return ((r, n) => {
5229
5241
  if (!r || typeof r.reducerPath != "string") return new k.Disposable();
5230
- const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? ou(e, r.reducerPath, a, s) : s]));
5242
+ const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? su(e, r.reducerPath, a, s) : s]));
5231
5243
  return t(r, i);
5232
5244
  });
5233
5245
  }
5234
- function lu(e) {
5246
+ function cu(e) {
5235
5247
  const t = `blocks_${k.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
5236
5248
  return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
5237
5249
  window[t] = function(a) {
@@ -5242,58 +5254,58 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5242
5254
  r.remove(), delete window[t];
5243
5255
  });
5244
5256
  }
5245
- function cu(e) {
5257
+ function uu(e) {
5246
5258
  if (!e) return;
5247
5259
  const t = Me.decodeJwt(e)?.data, r = t?.data?.scope ?? t?.scope;
5248
5260
  return (Array.isArray(r) ? r.flatMap((n) => String(n).split(/\s+/)) : String(r || "").split(/\s+/)).find((n) => /^project_\d+$/.test(n))?.replace(/^project_/, "") || void 0;
5249
5261
  }
5250
- async function uu(e) {
5262
+ async function du(e) {
5251
5263
  const t = k.di.getInstance(e, k.STANDALONE_PROJECT_ID), r = t ? void 0 : await k.di.getInstanceAsync(e, k.APP_ID).catch(() => {}), n = t || (r?.project !== void 0 ? String(r.project) : void 0);
5252
5264
  n && e.dispatch(k.setProject(An(n)));
5253
5265
  }
5254
- async function du(e, t) {
5266
+ async function pu(e, t) {
5255
5267
  try {
5256
5268
  const r = function(s) {
5257
5269
  const l = k.di.getInstance(e, k.STANDALONE_PROJECT_ID), u = l ? Cn(l, s) : s;
5258
5270
  k.di.injectFactory(e, k.APP_ID, async () => u);
5259
- }, n = su(e), i = await (await Sn.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
5271
+ }, n = lu(e), i = await (await Sn.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
5260
5272
  if (typeof i != "string") return;
5261
- const a = await lu(i);
5273
+ const a = await cu(i);
5262
5274
  if (typeof a != "object" || a === null || typeof a.execute != "function") return;
5263
- a.execute(r, n, Hn());
5275
+ a.execute(r, n, $n());
5264
5276
  } catch {}
5265
5277
  }
5266
- function pu(e, t) {
5278
+ function fu(e, t) {
5267
5279
  const r = Object.keys(t.endpoints);
5268
5280
  r.length && e(t, Object.fromEntries(r.map((n) => [n, k.standaloneTerminalGuardExecutor])));
5269
5281
  }
5270
- function fu(e) {
5282
+ function hu(e) {
5271
5283
  k.markStandaloneMockGuardInstalled(e);
5272
5284
  const t = k.getOverrideApiFn(e);
5273
- for (const r of Hn()) pu(t, r);
5285
+ for (const r of $n()) fu(t, r);
5274
5286
  }
5275
- function hu(e, t) {
5287
+ function mu(e, t) {
5276
5288
  if (e.getInstance(k.STANDALONE_FILE_PROXY_REGISTERED_ID)) return;
5277
5289
  e.inject(k.STANDALONE_FILE_PROXY_REGISTERED_ID, !0);
5278
5290
  const r = k.getEvent$1(e, k.events.FILE_PROXY_EVENT_ID);
5279
5291
  t.addDisposable(r(async ({ url: n }) => (await fetch(n)).blob(), Number.MIN_VALUE));
5280
5292
  }
5281
- function mu(e) {
5293
+ function gu(e) {
5282
5294
  e.getInstance(k.STANDALONE_ACTIVATED_ID) || e.inject(k.SECURITY_MODULE_ID, void 0);
5283
5295
  }
5284
5296
  function bi(e) {
5285
5297
  return String(e.standaloneKey || "").trim() || void 0;
5286
5298
  }
5287
- function gu(e) {
5299
+ function vu(e) {
5288
5300
  return e.standaloneOnAuthFailure === !0 ? !0 : e.config?.standaloneOnAuthFailure === !0;
5289
5301
  }
5290
- function $n(e) {
5291
- return gu(e) ? !!bi(e) : !1;
5302
+ function Wn(e) {
5303
+ return vu(e) ? !!bi(e) : !1;
5292
5304
  }
5293
- function vu(e) {
5294
- return !!bi(e) && !$n(e);
5305
+ function bu(e) {
5306
+ return !!bi(e) && !Wn(e);
5295
5307
  }
5296
- var bu = class extends k.Disposable {
5308
+ var _u = class extends k.Disposable {
5297
5309
  _event;
5298
5310
  _listener;
5299
5311
  _disposeEvent;
@@ -5307,7 +5319,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5307
5319
  this._disposeEvent && this._disposeEvent(), super.dispose();
5308
5320
  }
5309
5321
  };
5310
- function _u(e, t, r) {
5322
+ function yu(e, t, r) {
5311
5323
  const n = k.snapshot(e);
5312
5324
  return (i, a, s) => {
5313
5325
  const l = n(async (u) => {
@@ -5326,34 +5338,34 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5326
5338
  SUBJECT: 5e3,
5327
5339
  INITED: 5e3,
5328
5340
  UPDATE_ENTITY: 5e3
5329
- }, Wn = [
5341
+ }, Qn = [
5330
5342
  "INIT_START",
5331
5343
  "SET_ENTITY",
5332
5344
  "PREHEADER",
5333
5345
  "SUBJECT",
5334
5346
  "INITED"
5335
- ], yi = 2e4, Qn = yi + Wn.reduce((e, t) => e + _i[t], 0) + 3e3;
5336
- function wu(e) {
5337
- return Wn.reduce((t, r) => t + Vn(r, e), 0);
5347
+ ], yi = 2e4, Vn = yi + Qn.reduce((e, t) => e + _i[t], 0) + 3e3;
5348
+ function Eu(e) {
5349
+ return Qn.reduce((t, r) => t + Gn(r, e), 0);
5338
5350
  }
5339
- function Vn(e, t) {
5351
+ function Gn(e, t) {
5340
5352
  const r = t?.[e];
5341
5353
  return typeof r == "number" && r > 0 ? r : _i[e];
5342
5354
  }
5343
- function Gn(e) {
5355
+ function Zn(e) {
5344
5356
  const t = e?.contentReady;
5345
- return typeof t == "number" && t > 0 ? t : Qn;
5357
+ return typeof t == "number" && t > 0 ? t : Vn;
5346
5358
  }
5347
- function Zn(e) {
5359
+ function Yn(e) {
5348
5360
  const t = e?.sandboxReady;
5349
5361
  return typeof t == "number" && t > 0 ? t : yi;
5350
5362
  }
5351
- var Eu = class extends Error {
5363
+ var xu = class extends Error {
5352
5364
  showId;
5353
5365
  constructor(e, t) {
5354
5366
  super(`[emailmaker] show() timed out after ${t}ms waiting for editor init (showId=${e}). Check earlier console errors: wrong host-plugin publicPath (chunks return HTML), mount element removed without destroy(), or sandbox init never completed. Search for [show-pipeline] and [AMD] messages.`), this.name = "ShowPipelineTimeoutError", this.showId = e;
5355
5367
  }
5356
- }, xu = class {
5368
+ }, Su = class {
5357
5369
  _activeRequest = null;
5358
5370
  _pending = new Map();
5359
5371
  _listeners = new Set();
@@ -5369,7 +5381,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5369
5381
  return this._rejectPending(qe("Superseded by newer show()")), r.aborted ? Promise.reject(qe(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
5370
5382
  const a = setTimeout(() => {
5371
5383
  this._settle(e.showId, () => {
5372
- i(new Eu(e.showId, t));
5384
+ i(new xu(e.showId, t));
5373
5385
  });
5374
5386
  }, t);
5375
5387
  a.unref?.();
@@ -5417,7 +5429,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5417
5429
  this._pending.clear();
5418
5430
  }
5419
5431
  };
5420
- function Su(e, t) {
5432
+ function Au(e, t) {
5421
5433
  return {
5422
5434
  contentReady: t.contentReady ?? e?.contentReady,
5423
5435
  sandboxReady: t.sandboxReady ?? e?.sandboxReady,
@@ -5427,16 +5439,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5427
5439
  } : e?.sandbox
5428
5440
  };
5429
5441
  }
5430
- function Au(e) {
5442
+ function Cu(e) {
5431
5443
  if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
5432
- Gn(e);
5433
- Zn(e) + wu(e.sandbox);
5444
+ Zn(e);
5445
+ Yn(e) + Eu(e.sandbox);
5434
5446
  }
5435
- var Yn = class {
5447
+ var Jn = class {
5436
5448
  _controller = new AbortController();
5437
5449
  _externalSignalDisposable = new k.Disposable();
5438
5450
  _sessionChangeListeners = new Set();
5439
- _showRegistry = new xu();
5451
+ _showRegistry = new Su();
5440
5452
  _timeouts;
5441
5453
  _generation = 0;
5442
5454
  _sessionStarted = !1;
@@ -5447,13 +5459,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5447
5459
  return this._generation;
5448
5460
  }
5449
5461
  get contentReadyTimeoutMs() {
5450
- return Gn(this._timeouts);
5462
+ return Zn(this._timeouts);
5451
5463
  }
5452
5464
  getSandboxTimeoutMs(e) {
5453
- return Vn(e, this._timeouts?.sandbox);
5465
+ return Gn(e, this._timeouts?.sandbox);
5454
5466
  }
5455
5467
  getSandboxReadyTimeoutMs() {
5456
- return Zn(this._timeouts);
5468
+ return Yn(this._timeouts);
5457
5469
  }
5458
5470
  bumpGeneration() {
5459
5471
  this._generation += 1;
@@ -5485,7 +5497,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5485
5497
  };
5486
5498
  }
5487
5499
  configure(e) {
5488
- e.timeouts !== void 0 && (this._timeouts = Su(this._timeouts, e.timeouts), Au(this._timeouts));
5500
+ e.timeouts !== void 0 && (this._timeouts = Au(this._timeouts, e.timeouts), Cu(this._timeouts));
5489
5501
  const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
5490
5502
  this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
5491
5503
  }
@@ -5512,18 +5524,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
5512
5524
  e.removeEventListener("abort", t);
5513
5525
  });
5514
5526
  }
5515
- }, Cu = (() => {
5516
- const e = new Yn();
5527
+ }, ku = (() => {
5528
+ const e = new Jn();
5517
5529
  return e.configure({}), e;
5518
5530
  })();
5519
- function ku(e = Qn) {
5531
+ function Tu(e = Vn) {
5520
5532
  return e + 3e3;
5521
5533
  }
5522
- var Jn = "PluginRegistry";
5523
- function Tu(e = k.resolveContainer()) {
5524
- return e.getOrCreateInstance(Jn, () => new as());
5534
+ var Xn = "PluginRegistry";
5535
+ function Ou(e = k.resolveContainer()) {
5536
+ return e.getOrCreateInstance(Xn, () => new os());
5525
5537
  }
5526
- var Ou = new os(() => Tu()), Xn = {
5538
+ var Pu = new ss(() => Ou()), Kn = {
5527
5539
  "application/prs.cww": ["cww"],
5528
5540
  "application/prs.xsf+xml": ["xsf"],
5529
5541
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -6358,8 +6370,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
6358
6370
  "video/x-smv": ["smv"],
6359
6371
  "x-conference/x-cooltalk": ["ice"]
6360
6372
  };
6361
- Object.freeze(Xn);
6362
- var Kn = {
6373
+ Object.freeze(Kn);
6374
+ var ea = {
6363
6375
  "application/andrew-inset": ["ez"],
6364
6376
  "application/appinstaller": ["appinstaller"],
6365
6377
  "application/applixware": ["aw"],
@@ -6829,12 +6841,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
6829
6841
  "video/quicktime": ["qt", "mov"],
6830
6842
  "video/webm": ["webm"]
6831
6843
  };
6832
- Object.freeze(Kn);
6844
+ Object.freeze(ea);
6833
6845
  var Ue = function(e, t, r, n) {
6834
6846
  if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
6835
6847
  if (typeof t == "function" ? e !== t || !n : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
6836
6848
  return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
6837
- }, vt, Ht, st, Pu = class {
6849
+ }, vt, Ht, st, Ru = class {
6838
6850
  constructor(...e) {
6839
6851
  vt.set(this, new Map()), Ht.set(this, new Map()), st.set(this, new Map());
6840
6852
  for (const t of e) this.define(t);
@@ -6880,8 +6892,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
6880
6892
  }
6881
6893
  };
6882
6894
  vt = new WeakMap(), Ht = new WeakMap(), st = new WeakMap();
6883
- var wi = new Pu(Kn, Xn)._freeze();
6884
- function ea(e) {
6895
+ var wi = new Ru(ea, Kn)._freeze();
6896
+ function ta(e) {
6885
6897
  return /#set\s*\(\s*.*=.*\)/.test(e);
6886
6898
  }
6887
6899
  function Br(e) {
@@ -6914,22 +6926,22 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
6914
6926
  }
6915
6927
  return r === 0;
6916
6928
  }
6917
- function Ru(e) {
6918
- return (t, r, n) => Br(t) ? e(t, r, n) : !1;
6919
- }
6920
6929
  function Nu(e) {
6921
- return (t) => Br(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
6930
+ return (t, r, n) => Br(t) ? e(t, r, n) : !1;
6922
6931
  }
6923
6932
  function Iu(e) {
6924
- return (t, r, n) => Br(t) ? ea(t) ? e(t, r, n) : t : !1;
6933
+ return (t) => Br(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
6925
6934
  }
6926
6935
  function Mu(e) {
6936
+ return (t, r, n) => Br(t) ? ta(t) ? e(t, r, n) : t : !1;
6937
+ }
6938
+ function ju(e) {
6927
6939
  return (t) => {
6928
6940
  const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
6929
- return Br(r) ? ea(r) ? e(t) : t : !1;
6941
+ return Br(r) ? ta(r) ? e(t) : t : !1;
6930
6942
  };
6931
6943
  }
6932
- function ju(e) {
6944
+ function Du(e) {
6933
6945
  const t = /[<>&]/g;
6934
6946
  for (; t.exec(e) !== null;) return !0;
6935
6947
  return !1;
@@ -6942,7 +6954,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
6942
6954
  }
6943
6955
  return !0;
6944
6956
  }
6945
- function Du(e) {
6957
+ function Lu(e) {
6946
6958
  const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
6947
6959
  crypto.getRandomValues(n);
6948
6960
  let i = "";
@@ -6952,34 +6964,34 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
6952
6964
  }
6953
6965
  return i;
6954
6966
  }
6955
- var Lu = 8, Fu = class {
6967
+ var Fu = 8, Uu = class {
6956
6968
  _byKey = Object.create(null);
6957
6969
  _byValue = Object.create(null);
6958
6970
  getOrCreateByKey(e) {
6959
6971
  let t = this._byKey[e];
6960
- return t === void 0 && (t = Du(Lu), this._byKey[e] = t, this._byValue[t] = e), t;
6972
+ return t === void 0 && (t = Lu(Fu), this._byKey[e] = t, this._byValue[t] = e), t;
6961
6973
  }
6962
6974
  getByValue(e) {
6963
6975
  return this._byValue[e];
6964
6976
  }
6965
- }, qr = new Fu();
6966
- function ta(e, t) {
6977
+ }, qr = new Uu();
6978
+ function ra(e, t) {
6967
6979
  return t !== void 0 && !Ei(e, t) ? `%|{${qr.getOrCreateByKey(e)}}|%` : e;
6968
6980
  }
6969
- function Uu(e) {
6981
+ function zu(e) {
6970
6982
  const t = qr.getByValue(e.slice(3, e.length - 3));
6971
6983
  return t === void 0 ? e : t;
6972
6984
  }
6973
6985
  function we(e, t, r) {
6974
6986
  return t !== void 0 ? Ei(e, t) ? e : `%|{${qr.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
6975
6987
  }
6976
- function zu(e) {
6988
+ function Bu(e) {
6977
6989
  return e.replace(/&gt;/g, ">").replace(/&lt;/g, "<").replace(/&amp;/g, "&");
6978
6990
  }
6979
6991
  function be(e) {
6980
- return e.startsWith("<!--") && e.endsWith("-->") ? zu(e.slice(4, -3)) : e;
6992
+ return e.startsWith("<!--") && e.endsWith("-->") ? Bu(e.slice(4, -3)) : e;
6981
6993
  }
6982
- function Bu(e) {
6994
+ function qu(e) {
6983
6995
  const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
6984
6996
  let n = e;
6985
6997
  const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
@@ -6987,16 +6999,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
6987
6999
  const a = n.trim();
6988
7000
  return t.test(a) || r.test(a);
6989
7001
  }
6990
- function qu(e, t, r) {
6991
- return t !== void 0 ? Ei(e, t) ? e : `%|{${qr.getOrCreateByKey(e)}}|%` : r || ju(e) || Bu(e) ? `<!--${e}-->` : e;
7002
+ function Hu(e, t, r) {
7003
+ return t !== void 0 ? Ei(e, t) ? e : `%|{${qr.getOrCreateByKey(e)}}|%` : r || Du(e) || qu(e) ? `<!--${e}-->` : e;
6992
7004
  }
6993
- var lt = Ru(we), ct = Nu(be), Hu = Iu(we), $u = Mu(be), ra = (e) => {
6994
- e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", Uu), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", ta, !0), e.escape("{{", "}}", ta, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", qu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", lt).escape("#elseif", ")", lt).escape("#else", "", we).escape("#foreach", ")", lt).escape("#macro", ")", lt).escape("#set", ")", Hu, !0).escape("#parse", ")", lt).escape("#include", ")", lt).escape("#evaluate", ")", lt).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", ct).unescape("<!--#if", "-->", ct).unescape("<!--#elseif", "-->", ct).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", ct).unescape("<!--#parse", "-->", ct).unescape("<!--#include", "-->", ct).unescape("<!--#evaluate", "-->", ct).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", $u, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
6995
- }, xi = "bare", Wu = new Map();
6996
- function Qu(e) {
6997
- return e ? Wu.get(e) ?? xi : xi;
7005
+ var lt = Nu(we), ct = Iu(be), $u = Mu(we), Wu = ju(be), ia = (e) => {
7006
+ e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", zu), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", ra, !0), e.escape("{{", "}}", ra, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", Hu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", lt).escape("#elseif", ")", lt).escape("#else", "", we).escape("#foreach", ")", lt).escape("#macro", ")", lt).escape("#set", ")", $u, !0).escape("#parse", ")", lt).escape("#include", ")", lt).escape("#evaluate", ")", lt).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", ct).unescape("<!--#if", "-->", ct).unescape("<!--#elseif", "-->", ct).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", ct).unescape("<!--#parse", "-->", ct).unescape("<!--#include", "-->", ct).unescape("<!--#evaluate", "-->", ct).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", Wu, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
7007
+ }, xi = "bare", Qu = new Map();
7008
+ function Vu(e) {
7009
+ return e ? Qu.get(e) ?? xi : xi;
6998
7010
  }
6999
- var ia = [
7011
+ var na = [
7000
7012
  "brace-percent",
7001
7013
  "brace-hash",
7002
7014
  "proscript",
@@ -7005,8 +7017,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7005
7017
  "mailchimp",
7006
7018
  "velocity"
7007
7019
  ];
7008
- function na(e) {
7009
- return ia.includes(e);
7020
+ function aa(e) {
7021
+ return na.includes(e);
7010
7022
  }
7011
7023
  function $t(e) {
7012
7024
  return e === "bare" || e === "html-comment";
@@ -7014,7 +7026,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7014
7026
  function Si(e) {
7015
7027
  return typeof e == "object" && e !== null && !Array.isArray(e);
7016
7028
  }
7017
- function Vu(e, t = (r) => {}) {
7029
+ function Gu(e, t = (r) => {}) {
7018
7030
  const r = {
7019
7031
  output: {},
7020
7032
  editor: {}
@@ -7029,7 +7041,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7029
7041
  for (const [m, b] of [["output", n.output], ["editor", n.editor]]) if (b !== void 0 && !$t(b)) return t(`templateDirectives.${m}: unknown form "${String(b)}", configuration ignored.`), r;
7030
7042
  if (n.syntaxes !== void 0 && !Si(n.syntaxes)) return t("templateDirectives.syntaxes: expected an object, configuration ignored."), r;
7031
7043
  if (n.syntaxes) {
7032
- for (const [m, b] of Object.entries(n.syntaxes)) if (!(!na(m) || b === void 0 || $t(b))) {
7044
+ for (const [m, b] of Object.entries(n.syntaxes)) if (!(!aa(m) || b === void 0 || $t(b))) {
7033
7045
  if (!Si(b)) return t(`templateDirectives.syntaxes.${m}: expected a form or an object, configuration ignored.`), r;
7034
7046
  for (const w of ["output", "editor"]) {
7035
7047
  const p = b[w];
@@ -7043,13 +7055,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7043
7055
  i === "bare" && n.editor === "html-comment" && (t("templateDirectives: editor=\"html-comment\" requires output=\"html-comment\"; editor was reset to match output."), a = void 0);
7044
7056
  const s = [];
7045
7057
  if (n.syntaxes) for (const m of Object.keys(n.syntaxes)) {
7046
- if (!na(m)) {
7058
+ if (!aa(m)) {
7047
7059
  t(`templateDirectives.syntaxes: unknown syntax id "${m}", entry ignored.`);
7048
7060
  continue;
7049
7061
  }
7050
7062
  s.push(m);
7051
7063
  }
7052
- else s.push(...ia);
7064
+ else s.push(...na);
7053
7065
  const l = {}, u = {};
7054
7066
  for (const m of s) {
7055
7067
  const b = n.syntaxes?.[m], w = Si(b) ? b : void 0, p = ($t(b) ? b : w?.output) ?? i;
@@ -7061,7 +7073,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7061
7073
  editor: u
7062
7074
  };
7063
7075
  }
7064
- function aa(e, t, r, n) {
7076
+ function oa(e, t, r, n) {
7065
7077
  for (let i = t; i < r; i++) {
7066
7078
  const a = e[i];
7067
7079
  n.insideAttributeValue ? n.attributeQuoteChar === "\"" || n.attributeQuoteChar === "'" ? a === n.attributeQuoteChar && (n.insideAttributeValue = !1, n.attributeQuoteChar = void 0) : n.unquotedAttr && /[\s>]/.test(a) && (n.insideAttributeValue = !1, n.attributeQuoteChar = void 0, n.unquotedAttr = !1) : a === "<" ? n.insideTag = !0 : a === ">" ? n.insideTag = !1 : n.insideTag && (a === "\"" || a === "'") ? (n.insideAttributeValue = !0, n.attributeQuoteChar = a, n.unquotedAttr = !1) : n.insideTag && /\S/.test(a) && n.attributeQuoteChar === void 0 && e[i - 1] === "=" && ![
@@ -7074,7 +7086,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7074
7086
  function Wt(e, t) {
7075
7087
  return e.start < t.end && t.start < e.end;
7076
7088
  }
7077
- function oa(e, t, r, n, i = []) {
7089
+ function sa(e, t, r, n, i = []) {
7078
7090
  if (r && (t = t.filter((b) => b.isVariable)), !t.length) return [];
7079
7091
  const a = t.flatMap((b) => b.match(e).flatMap((w) => !Number.isInteger(w.start) || !Number.isInteger(w.end) || w.start < 0 || w.end > e.length || w.start >= w.end ? [] : [{
7080
7092
  range: w,
@@ -7090,7 +7102,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7090
7102
  };
7091
7103
  let m = 0;
7092
7104
  for (const { range: b, mapFn: w, overrideBuiltins: p, syntax: c, isVariable: h } of a) {
7093
- if (n ? (u.insideAttributeValue = !0, u.attributeQuoteChar = "\"") : aa(e, m, b.start, u), m = b.end, l.some((_) => Wt(_, b))) continue;
7105
+ if (n ? (u.insideAttributeValue = !0, u.attributeQuoteChar = "\"") : oa(e, m, b.start, u), m = b.end, l.some((_) => Wt(_, b))) continue;
7094
7106
  const E = u.insideAttributeValue ? u.attributeQuoteChar ?? "" : void 0, T = e.substring(b.start, b.end), I = w(T, E, u.insideTag);
7095
7107
  I !== !1 && I !== T && (s.push({
7096
7108
  range: b,
@@ -7102,7 +7114,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7102
7114
  }
7103
7115
  return s.sort((b, w) => b.range.start - w.range.start || b.range.end - w.range.end);
7104
7116
  }
7105
- function Gu(e, t) {
7117
+ function Zu(e, t) {
7106
7118
  const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: w, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
7107
7119
  value: b,
7108
7120
  mapFn: u,
@@ -7123,7 +7135,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7123
7135
  function Ai(e, t, r, n, i = !1) {
7124
7136
  const a = [];
7125
7137
  if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
7126
- const s = Gu(e, t), l = {
7138
+ const s = Zu(e, t), l = {
7127
7139
  insideTag: !1,
7128
7140
  insideAttributeValue: !1,
7129
7141
  attributeQuoteChar: void 0,
@@ -7132,7 +7144,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7132
7144
  let u = 0;
7133
7145
  for (let m = 0; m < s.length; m++) {
7134
7146
  const { start: b, startToken: w, endTokens: p } = s[m];
7135
- n ? (l.insideAttributeValue = !0, l.attributeQuoteChar = "\"") : aa(e, u, b, l), u = b;
7147
+ n ? (l.insideAttributeValue = !0, l.attributeQuoteChar = "\"") : oa(e, u, b, l), u = b;
7136
7148
  const c = l.insideAttributeValue ? l.attributeQuoteChar ?? "" : void 0;
7137
7149
  let h = !1;
7138
7150
  for (const { mapFn: E, value: T, syntax: I, isVariable: _ } of p) {
@@ -7176,13 +7188,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7176
7188
  for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
7177
7189
  return n;
7178
7190
  }
7179
- var Zu = class {
7191
+ var Yu = class {
7180
7192
  _disposables = [];
7181
7193
  _escapes = [];
7182
7194
  _unescapes = [];
7183
7195
  _escapeMatchers = [];
7184
7196
  _unescapeMatchers = [];
7185
- constructor(e = ra) {
7197
+ constructor(e = ia) {
7186
7198
  const { _escapes: t, _unescapes: r } = this;
7187
7199
  e({
7188
7200
  createSyntax(n) {
@@ -7233,18 +7245,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7233
7245
  return this.addDisposable(a), a;
7234
7246
  }
7235
7247
  _collectMappings(e, t, r) {
7236
- const n = Ai(e, this._escapes, t, r), i = oa(e, this._escapeMatchers, t, r), a = i.filter((u) => u.overrideBuiltins).map((u) => u.range), s = n.filter((u) => !a.some((m) => Wt(m, u.range))), l = i.filter((u) => u.overrideBuiltins || !s.some((m) => Wt(u.range, m.range)));
7248
+ const n = Ai(e, this._escapes, t, r), i = sa(e, this._escapeMatchers, t, r), a = i.filter((u) => u.overrideBuiltins).map((u) => u.range), s = n.filter((u) => !a.some((m) => Wt(m, u.range))), l = i.filter((u) => u.overrideBuiltins || !s.some((m) => Wt(u.range, m.range)));
7237
7249
  return [...s, ...l].sort((u, m) => u.range.start - m.range.start || u.range.end - m.range.end);
7238
7250
  }
7239
7251
  getMappings(e, t, r) {
7240
7252
  return this._collectMappings(e, t, r);
7241
7253
  }
7242
7254
  _collectRevertMappings(e, t) {
7243
- const r = Ai(e, this._unescapes, t), n = oa(e, this._unescapeMatchers, t, !1), i = n.filter((l) => l.overrideBuiltins).map((l) => l.range), a = r.filter((l) => !i.some((u) => Wt(u, l.range))), s = n.filter((l) => l.overrideBuiltins || !a.some((u) => Wt(l.range, u.range)));
7255
+ const r = Ai(e, this._unescapes, t), n = sa(e, this._unescapeMatchers, t, !1), i = n.filter((l) => l.overrideBuiltins).map((l) => l.range), a = r.filter((l) => !i.some((u) => Wt(u, l.range))), s = n.filter((l) => l.overrideBuiltins || !a.some((u) => Wt(l.range, u.range)));
7244
7256
  return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
7245
7257
  }
7246
7258
  getRevertMappings(e, t, r) {
7247
- const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Qu(i) === "html-comment";
7259
+ const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Vu(i) === "html-comment";
7248
7260
  return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
7249
7261
  }
7250
7262
  getDetectedMappings(e, t, r) {
@@ -7272,7 +7284,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7272
7284
  }
7273
7285
  }, ke = (function(e) {
7274
7286
  return e[e.HTML = 0] = "HTML", e[e.ELEMENT = 1] = "ELEMENT", e[e.ROOT = 2] = "ROOT", e[e.COMMENT = 3] = "COMMENT", e[e.DOCTYPE = 4] = "DOCTYPE", e[e.ADVANCED = 5] = "ADVANCED", e;
7275
- })({}), $r = (e) => e.type === 0 ? e.start - 1 : e.start, Yu = (e) => e.type === 0 ? e.end + 1 : e.end, et = class ns {
7287
+ })({}), $r = (e) => e.type === 0 ? e.start - 1 : e.start, Ju = (e) => e.type === 0 ? e.end + 1 : e.end, et = class as {
7276
7288
  start;
7277
7289
  end;
7278
7290
  children;
@@ -7305,7 +7317,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7305
7317
  return this.children.length ? this.children[this.children.length - 1] : void 0;
7306
7318
  }
7307
7319
  findNodeBefore(t) {
7308
- const r = la(this.children, (n) => t <= $r(n)) - 1;
7320
+ const r = ca(this.children, (n) => t <= $r(n)) - 1;
7309
7321
  if (r >= 0) {
7310
7322
  const n = this.children[r];
7311
7323
  if (t > $r(n)) {
@@ -7317,10 +7329,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7317
7329
  return this;
7318
7330
  }
7319
7331
  findNodeAt(t) {
7320
- const r = la(this.children, (n) => t <= $r(n)) - 1;
7332
+ const r = ca(this.children, (n) => t <= $r(n)) - 1;
7321
7333
  if (r >= 0) {
7322
7334
  const n = this.children[r];
7323
- if (t >= $r(n) && t <= Yu(n)) return n.findNodeAt(t);
7335
+ if (t >= $r(n) && t <= Ju(n)) return n.findNodeAt(t);
7324
7336
  }
7325
7337
  return this;
7326
7338
  }
@@ -7351,10 +7363,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7351
7363
  return !!t.closest((r) => r === this);
7352
7364
  }
7353
7365
  clone(t = this.parent, r = this.start, n = !0) {
7354
- const i = this.start - r, a = new ns(r, this.end - i, [], t);
7366
+ const i = this.start - r, a = new as(r, this.end - i, [], t);
7355
7367
  return a.children = n ? this.children.map((s) => s.clone(a, s.start - i)) : [], a.attributes = { ...this.attributes }, a.closed = this.closed, a.content = this.content, a.startTagEnd = this.startTagEnd, a.endTagStart = this.endTagStart, a.tag = this.tag, a.type = this.type, a;
7356
7368
  }
7357
- }, Ju = new Set([
7369
+ }, Xu = new Set([
7358
7370
  "area",
7359
7371
  "br",
7360
7372
  "col",
@@ -7367,20 +7379,20 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7367
7379
  "param",
7368
7380
  "vk-snippet-end"
7369
7381
  ]);
7370
- function Xu(e) {
7382
+ function Ku(e) {
7371
7383
  return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
7372
7384
  }
7373
- var sa = Object.create(null);
7374
- function Ku(e, t) {
7375
- const r = sa[e] || (sa[e] = Object.create(null));
7385
+ var la = Object.create(null);
7386
+ function ed(e, t) {
7387
+ const r = la[e] || (la[e] = Object.create(null));
7376
7388
  let n = r[t];
7377
7389
  if (typeof n != "boolean") {
7378
- const i = document.createElement(e)[Xu(t)];
7390
+ const i = document.createElement(e)[Ku(t)];
7379
7391
  n = r[t] = typeof i < "u" && typeof i != "boolean";
7380
7392
  }
7381
7393
  return n;
7382
7394
  }
7383
- function ed(e) {
7395
+ function td(e) {
7384
7396
  const t = e.tag?.toLowerCase();
7385
7397
  let r = "";
7386
7398
  if (t) {
@@ -7389,20 +7401,20 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7389
7401
  const i = Object.keys(n);
7390
7402
  for (const a of i) {
7391
7403
  const s = n[a] === null ? "" : n[a];
7392
- typeof s == "string" && (r += s === "" && a !== "em" && !Ku(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
7404
+ typeof s == "string" && (r += s === "" && a !== "em" && !ed(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
7393
7405
  }
7394
7406
  }
7395
7407
  }
7396
7408
  return r;
7397
7409
  }
7398
- function td(e, t) {
7410
+ function rd(e, t) {
7399
7411
  if (e.start !== e.startTagEnd || t) {
7400
- const r = e.tag?.toLowerCase() || "div", n = ed(e);
7412
+ const r = e.tag?.toLowerCase() || "div", n = td(e);
7401
7413
  return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
7402
7414
  }
7403
7415
  return "";
7404
7416
  }
7405
- function la(e, t) {
7417
+ function ca(e, t) {
7406
7418
  let r = 0, n = e.length;
7407
7419
  if (n === 0) return 0;
7408
7420
  for (; r < n;) {
@@ -7411,18 +7423,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7411
7423
  }
7412
7424
  return r;
7413
7425
  }
7414
- function rd(e) {
7426
+ function id(e) {
7415
7427
  return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
7416
7428
  }
7417
7429
  function Ci(e) {
7418
7430
  return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
7419
7431
  }
7420
- var ca = Object.create(null);
7421
- function id(e, t) {
7422
- const r = ca[e] || (ca[e] = Object.create(null));
7432
+ var ua = Object.create(null);
7433
+ function nd(e, t) {
7434
+ const r = ua[e] || (ua[e] = Object.create(null));
7423
7435
  let n = r[t];
7424
7436
  if (typeof n != "boolean") {
7425
- const i = document.createElement(e)[rd(t)];
7437
+ const i = document.createElement(e)[id(t)];
7426
7438
  n = r[t] = typeof i < "u" && typeof i != "boolean";
7427
7439
  }
7428
7440
  return n;
@@ -7433,31 +7445,31 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7433
7445
  function ki(e) {
7434
7446
  return tt(e) && !e.ownerSVGElement;
7435
7447
  }
7436
- function ua(e) {
7448
+ function da(e) {
7437
7449
  return e.tagName === "IMG";
7438
7450
  }
7439
- function nd(e) {
7451
+ function ad(e) {
7440
7452
  return e.tagName === "AMP-IMG";
7441
7453
  }
7442
- function ad(e) {
7454
+ function od(e) {
7443
7455
  return e.tagName === "BODY";
7444
7456
  }
7445
- function od(e) {
7457
+ function sd(e) {
7446
7458
  return e.tagName === "FORM";
7447
7459
  }
7448
- function sd(e) {
7460
+ function ld(e) {
7449
7461
  return e.tagName === "HTML";
7450
7462
  }
7451
- function da(e) {
7463
+ function pa(e) {
7452
7464
  return e.tagName === "STYLE";
7453
7465
  }
7454
7466
  function Ti(e) {
7455
7467
  return e.nodeType === Node.DOCUMENT_NODE;
7456
7468
  }
7457
- function ld(e) {
7469
+ function cd(e) {
7458
7470
  return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
7459
7471
  }
7460
- function cd(e) {
7472
+ function ud(e) {
7461
7473
  return e.nodeType === Node.DOCUMENT_TYPE_NODE;
7462
7474
  }
7463
7475
  var Qt;
@@ -7510,16 +7522,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7510
7522
  function Oi(e) {
7511
7523
  return e.nodeType === Node.COMMENT_NODE;
7512
7524
  }
7513
- function ud(e) {
7525
+ function dd(e) {
7514
7526
  return e && !!e.host && !!e.mode;
7515
7527
  }
7516
- function dd(e) {
7528
+ function pd(e) {
7517
7529
  const t = e.getRootNode() || window.document;
7518
- return ud(t) ? t : null;
7530
+ return dd(t) ? t : null;
7519
7531
  }
7520
- var pd = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
7521
- function fd(e) {
7522
- const t = bt(e).matchAll(pd);
7532
+ var fd = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
7533
+ function hd(e) {
7534
+ const t = bt(e).matchAll(fd);
7523
7535
  if (t) for (const r of t) {
7524
7536
  const [, n, , i, a] = r;
7525
7537
  return {
@@ -7532,42 +7544,42 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7532
7544
  function Vt(e) {
7533
7545
  return e.nodeType === Node.TEXT_NODE;
7534
7546
  }
7535
- function hd(e) {
7547
+ function md(e) {
7536
7548
  return e.tagName === "TABLE";
7537
7549
  }
7538
- async function pa(e, t = 5e3) {
7550
+ async function fa(e, t = 5e3) {
7539
7551
  return typeof e.complete < "u" && !e.complete ? new Promise((r, n) => {
7540
7552
  setTimeout(r, t), e.onload = () => r(getComputedStyle(e)), e.onerror = (i) => {};
7541
7553
  }) : getComputedStyle(e);
7542
7554
  }
7543
7555
  function bt(e) {
7544
- if (tt(e)) return gd(e);
7556
+ if (tt(e)) return vd(e);
7545
7557
  if (Ti(e)) return [...e.childNodes].map((r) => bt(r)).join("");
7546
- if (cd(e)) return Ci(e);
7558
+ if (ud(e)) return Ci(e);
7547
7559
  const t = document.createElement("div");
7548
7560
  return t.appendChild(e.cloneNode(!0)), t.innerHTML;
7549
7561
  }
7550
- function md(e) {
7562
+ function gd(e) {
7551
7563
  const t = e.tagName.toLowerCase();
7552
7564
  let r = "";
7553
7565
  for (const n of e.attributes) {
7554
7566
  const i = n.name, a = n.value;
7555
- r += a === "" && i !== "em" && !id(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
7567
+ r += a === "" && i !== "em" && !nd(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
7556
7568
  }
7557
7569
  return r;
7558
7570
  }
7559
- function fa(e) {
7571
+ function ha(e) {
7560
7572
  let t = "";
7561
7573
  for (const r of e.childNodes) t += bt(r);
7562
7574
  return t;
7563
7575
  }
7564
- function gd(e) {
7565
- const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = md(e);
7566
- return Ju.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : da(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${fa(e)}</${t}>`;
7576
+ function vd(e) {
7577
+ const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = gd(e);
7578
+ return Xu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : pa(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ha(e)}</${t}>`;
7567
7579
  }
7568
- function ha(e, t) {
7580
+ function ma(e, t) {
7569
7581
  for (const a of [...e.childNodes]) a.remove();
7570
- let r = t.find((a) => sd(a)), n = t.find((a) => ad(a)), i = e;
7582
+ let r = t.find((a) => ld(a)), n = t.find((a) => od(a)), i = e;
7571
7583
  r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
7572
7584
  for (const a of t) {
7573
7585
  if (i === e && Vt(a)) {
@@ -7577,7 +7589,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7577
7589
  i.appendChild(a);
7578
7590
  }
7579
7591
  }
7580
- var ma = class {
7592
+ var ga = class {
7581
7593
  _voidElements;
7582
7594
  constructor(e) {
7583
7595
  this._voidElements = new Set(e);
@@ -7585,13 +7597,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7585
7597
  isVoidElement(e) {
7586
7598
  return this._voidElements.has(e.toLowerCase());
7587
7599
  }
7588
- }, ga;
7600
+ }, va;
7589
7601
  (function(e) {
7590
7602
  function t(r) {
7591
7603
  return typeof r == "string";
7592
7604
  }
7593
7605
  e.is = t;
7594
- })(ga || (ga = {}));
7606
+ })(va || (va = {}));
7595
7607
  var Pi;
7596
7608
  (function(e) {
7597
7609
  function t(r) {
@@ -7599,14 +7611,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7599
7611
  }
7600
7612
  e.is = t;
7601
7613
  })(Pi || (Pi = {}));
7602
- var va;
7614
+ var ba;
7603
7615
  (function(e) {
7604
7616
  e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
7605
7617
  function t(r) {
7606
7618
  return typeof r == "number" && e.MIN_VALUE <= r && r <= e.MAX_VALUE;
7607
7619
  }
7608
7620
  e.is = t;
7609
- })(va || (va = {}));
7621
+ })(ba || (ba = {}));
7610
7622
  var Wr;
7611
7623
  (function(e) {
7612
7624
  e.MIN_VALUE = 0, e.MAX_VALUE = 2147483647;
@@ -7665,7 +7677,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7665
7677
  }
7666
7678
  e.is = r;
7667
7679
  })(Qr || (Qr = {}));
7668
- var ba;
7680
+ var _a;
7669
7681
  (function(e) {
7670
7682
  function t(n, i, a, s) {
7671
7683
  return {
@@ -7681,7 +7693,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7681
7693
  return D.objectLiteral(i) && _e.is(i.targetRange) && D.string(i.targetUri) && _e.is(i.targetSelectionRange) && (_e.is(i.originSelectionRange) || D.undefined(i.originSelectionRange));
7682
7694
  }
7683
7695
  e.is = r;
7684
- })(ba || (ba = {}));
7696
+ })(_a || (_a = {}));
7685
7697
  var Ri;
7686
7698
  (function(e) {
7687
7699
  function t(n, i, a, s) {
@@ -7699,7 +7711,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7699
7711
  }
7700
7712
  e.is = r;
7701
7713
  })(Ri || (Ri = {}));
7702
- var _a;
7714
+ var ya;
7703
7715
  (function(e) {
7704
7716
  function t(n, i) {
7705
7717
  return {
@@ -7713,8 +7725,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7713
7725
  return D.objectLiteral(i) && _e.is(i.range) && Ri.is(i.color);
7714
7726
  }
7715
7727
  e.is = r;
7716
- })(_a || (_a = {}));
7717
- var ya;
7728
+ })(ya || (ya = {}));
7729
+ var wa;
7718
7730
  (function(e) {
7719
7731
  function t(n, i, a) {
7720
7732
  return {
@@ -7729,12 +7741,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7729
7741
  return D.objectLiteral(i) && D.string(i.label) && (D.undefined(i.textEdit) || yt.is(i)) && (D.undefined(i.additionalTextEdits) || D.typedArray(i.additionalTextEdits, yt.is));
7730
7742
  }
7731
7743
  e.is = r;
7732
- })(ya || (ya = {}));
7733
- var wa;
7734
- (function(e) {
7735
- e.Comment = "comment", e.Imports = "imports", e.Region = "region";
7736
7744
  })(wa || (wa = {}));
7737
7745
  var Ea;
7746
+ (function(e) {
7747
+ e.Comment = "comment", e.Imports = "imports", e.Region = "region";
7748
+ })(Ea || (Ea = {}));
7749
+ var xa;
7738
7750
  (function(e) {
7739
7751
  function t(n, i, a, s, l, u) {
7740
7752
  const m = {
@@ -7749,7 +7761,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7749
7761
  return D.objectLiteral(i) && D.uinteger(i.startLine) && D.uinteger(i.startLine) && (D.undefined(i.startCharacter) || D.uinteger(i.startCharacter)) && (D.undefined(i.endCharacter) || D.uinteger(i.endCharacter)) && (D.undefined(i.kind) || D.string(i.kind));
7750
7762
  }
7751
7763
  e.is = r;
7752
- })(Ea || (Ea = {}));
7764
+ })(xa || (xa = {}));
7753
7765
  var Ni;
7754
7766
  (function(e) {
7755
7767
  function t(n, i) {
@@ -7765,22 +7777,22 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7765
7777
  }
7766
7778
  e.is = r;
7767
7779
  })(Ni || (Ni = {}));
7768
- var xa;
7769
- (function(e) {
7770
- e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
7771
- })(xa || (xa = {}));
7772
7780
  var Sa;
7773
7781
  (function(e) {
7774
- e.Unnecessary = 1, e.Deprecated = 2;
7782
+ e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
7775
7783
  })(Sa || (Sa = {}));
7776
7784
  var Aa;
7785
+ (function(e) {
7786
+ e.Unnecessary = 1, e.Deprecated = 2;
7787
+ })(Aa || (Aa = {}));
7788
+ var Ca;
7777
7789
  (function(e) {
7778
7790
  function t(r) {
7779
7791
  const n = r;
7780
7792
  return D.objectLiteral(n) && D.string(n.href);
7781
7793
  }
7782
7794
  e.is = t;
7783
- })(Aa || (Aa = {}));
7795
+ })(Ca || (Ca = {}));
7784
7796
  var Vr;
7785
7797
  (function(e) {
7786
7798
  function t(a, s, l, u, m, b) {
@@ -7877,7 +7889,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7877
7889
  }
7878
7890
  e.is = t;
7879
7891
  })(ut || (ut = {}));
7880
- var Ca;
7892
+ var ka;
7881
7893
  (function(e) {
7882
7894
  function t(a, s, l) {
7883
7895
  return {
@@ -7911,7 +7923,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7911
7923
  return yt.is(s) && (Gr.is(s.annotationId) || ut.is(s.annotationId));
7912
7924
  }
7913
7925
  e.is = i;
7914
- })(Ca || (Ca = {}));
7926
+ })(ka || (ka = {}));
7915
7927
  var Ii;
7916
7928
  (function(e) {
7917
7929
  function t(n, i) {
@@ -7984,15 +7996,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
7984
7996
  }
7985
7997
  e.is = t;
7986
7998
  })(Li || (Li = {}));
7987
- var ka;
7999
+ var Ta;
7988
8000
  (function(e) {
7989
8001
  function t(r) {
7990
8002
  const n = r;
7991
8003
  return D.objectLiteral(n) && _e.is(n.range) && qi.isSnippet(n.snippet) && (n.annotationId === void 0 || Gr.is(n.annotationId) || ut.is(n.annotationId));
7992
8004
  }
7993
8005
  e.is = t;
7994
- })(ka || (ka = {}));
7995
- var Ta;
8006
+ })(Ta || (Ta = {}));
8007
+ var Oa;
7996
8008
  (function(e) {
7997
8009
  function t(n) {
7998
8010
  return { uri: n };
@@ -8003,8 +8015,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8003
8015
  return D.defined(i) && D.string(i.uri);
8004
8016
  }
8005
8017
  e.is = r;
8006
- })(Ta || (Ta = {}));
8007
- var Oa;
8018
+ })(Oa || (Oa = {}));
8019
+ var Pa;
8008
8020
  (function(e) {
8009
8021
  function t(n, i) {
8010
8022
  return {
@@ -8018,7 +8030,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8018
8030
  return D.defined(i) && D.string(i.uri) && D.integer(i.version);
8019
8031
  }
8020
8032
  e.is = r;
8021
- })(Oa || (Oa = {}));
8033
+ })(Pa || (Pa = {}));
8022
8034
  var Fi;
8023
8035
  (function(e) {
8024
8036
  function t(n, i) {
@@ -8034,11 +8046,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8034
8046
  }
8035
8047
  e.is = r;
8036
8048
  })(Fi || (Fi = {}));
8037
- var Pa;
8049
+ var Ra;
8038
8050
  (function(e) {
8039
8051
  e.ABAP = "abap", e.WindowsBat = "bat", e.BibTeX = "bibtex", e.Clojure = "clojure", e.Coffeescript = "coffeescript", e.C = "c", e.CPP = "cpp", e.CSharp = "csharp", e.CSS = "css", e.D = "d", e.Delphi = "pascal", e.Diff = "diff", e.Dart = "dart", e.Dockerfile = "dockerfile", e.Elixir = "elixir", e.Erlang = "erlang", e.FSharp = "fsharp", e.GitCommit = "git-commit", e.GitRebase = "git-rebase", e.Go = "go", e.Groovy = "groovy", e.Handlebars = "handlebars", e.Haskell = "haskell", e.HTML = "html", e.Ini = "ini", e.Java = "java", e.JavaScript = "javascript", e.JavaScriptReact = "javascriptreact", e.JSON = "json", e.LaTeX = "latex", e.Less = "less", e.Lua = "lua", e.Makefile = "makefile", e.Markdown = "markdown", e.ObjectiveC = "objective-c", e.ObjectiveCPP = "objective-cpp", e.Pascal = "pascal", e.Perl = "perl", e.Perl6 = "perl6", e.PHP = "php", e.Plaintext = "plaintext", e.Powershell = "powershell", e.Pug = "jade", e.Python = "python", e.R = "r", e.Razor = "razor", e.Ruby = "ruby", e.Rust = "rust", e.SCSS = "scss", e.SASS = "sass", e.Scala = "scala", e.ShaderLab = "shaderlab", e.ShellScript = "shellscript", e.SQL = "sql", e.Swift = "swift", e.TypeScript = "typescript", e.TypeScriptReact = "typescriptreact", e.TeX = "tex", e.VisualBasic = "vb", e.XML = "xml", e.XSL = "xsl", e.YAML = "yaml";
8040
- })(Pa || (Pa = {}));
8041
- var Ra;
8052
+ })(Ra || (Ra = {}));
8053
+ var Na;
8042
8054
  (function(e) {
8043
8055
  function t(n, i, a, s) {
8044
8056
  return {
@@ -8054,7 +8066,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8054
8066
  return D.defined(i) && D.string(i.uri) && D.string(i.languageId) && D.integer(i.version) && D.string(i.text);
8055
8067
  }
8056
8068
  e.is = r;
8057
- })(Ra || (Ra = {}));
8069
+ })(Na || (Na = {}));
8058
8070
  var dt;
8059
8071
  (function(e) {
8060
8072
  e.PlainText = "plaintext", e.Markdown = "markdown";
@@ -8072,19 +8084,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8072
8084
  }
8073
8085
  e.is = t;
8074
8086
  })(pt || (pt = {}));
8075
- var Na;
8076
- (function(e) {
8077
- e.Text = 1, e.Method = 2, e.Function = 3, e.Constructor = 4, e.Field = 5, e.Variable = 6, e.Class = 7, e.Interface = 8, e.Module = 9, e.Property = 10, e.Unit = 11, e.Value = 12, e.Enum = 13, e.Keyword = 14, e.Snippet = 15, e.Color = 16, e.File = 17, e.Reference = 18, e.Folder = 19, e.EnumMember = 20, e.Constant = 21, e.Struct = 22, e.Event = 23, e.Operator = 24, e.TypeParameter = 25;
8078
- })(Na || (Na = {}));
8079
8087
  var Ia;
8080
8088
  (function(e) {
8081
- e.PlainText = 1, e.Snippet = 2;
8089
+ e.Text = 1, e.Method = 2, e.Function = 3, e.Constructor = 4, e.Field = 5, e.Variable = 6, e.Class = 7, e.Interface = 8, e.Module = 9, e.Property = 10, e.Unit = 11, e.Value = 12, e.Enum = 13, e.Keyword = 14, e.Snippet = 15, e.Color = 16, e.File = 17, e.Reference = 18, e.Folder = 19, e.EnumMember = 20, e.Constant = 21, e.Struct = 22, e.Event = 23, e.Operator = 24, e.TypeParameter = 25;
8082
8090
  })(Ia || (Ia = {}));
8083
8091
  var Ma;
8084
8092
  (function(e) {
8085
- e.Deprecated = 1;
8093
+ e.PlainText = 1, e.Snippet = 2;
8086
8094
  })(Ma || (Ma = {}));
8087
8095
  var ja;
8096
+ (function(e) {
8097
+ e.Deprecated = 1;
8098
+ })(ja || (ja = {}));
8099
+ var Da;
8088
8100
  (function(e) {
8089
8101
  function t(n, i, a) {
8090
8102
  return {
@@ -8099,31 +8111,31 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8099
8111
  return i && D.string(i.newText) && _e.is(i.insert) && _e.is(i.replace);
8100
8112
  }
8101
8113
  e.is = r;
8102
- })(ja || (ja = {}));
8103
- var Da;
8104
- (function(e) {
8105
- e.asIs = 1, e.adjustIndentation = 2;
8106
8114
  })(Da || (Da = {}));
8107
8115
  var La;
8108
8116
  (function(e) {
8109
- e.Replace = 1, e.Merge = 2;
8117
+ e.asIs = 1, e.adjustIndentation = 2;
8110
8118
  })(La || (La = {}));
8111
8119
  var Fa;
8120
+ (function(e) {
8121
+ e.Replace = 1, e.Merge = 2;
8122
+ })(Fa || (Fa = {}));
8123
+ var Ua;
8112
8124
  (function(e) {
8113
8125
  function t(r) {
8114
8126
  const n = r;
8115
8127
  return n && (D.string(n.detail) || n.detail === void 0) && (D.string(n.description) || n.description === void 0);
8116
8128
  }
8117
8129
  e.is = t;
8118
- })(Fa || (Fa = {}));
8119
- var Ua;
8130
+ })(Ua || (Ua = {}));
8131
+ var za;
8120
8132
  (function(e) {
8121
8133
  function t(r) {
8122
8134
  return { label: r };
8123
8135
  }
8124
8136
  e.create = t;
8125
- })(Ua || (Ua = {}));
8126
- var za;
8137
+ })(za || (za = {}));
8138
+ var Ba;
8127
8139
  (function(e) {
8128
8140
  function t(r, n) {
8129
8141
  return {
@@ -8132,7 +8144,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8132
8144
  };
8133
8145
  }
8134
8146
  e.create = t;
8135
- })(za || (za = {}));
8147
+ })(Ba || (Ba = {}));
8136
8148
  var Zr;
8137
8149
  (function(e) {
8138
8150
  function t(n) {
@@ -8145,15 +8157,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8145
8157
  }
8146
8158
  e.is = r;
8147
8159
  })(Zr || (Zr = {}));
8148
- var Ba;
8160
+ var qa;
8149
8161
  (function(e) {
8150
8162
  function t(r) {
8151
8163
  const n = r;
8152
8164
  return !!n && D.objectLiteral(n) && (pt.is(n.contents) || Zr.is(n.contents) || D.typedArray(n.contents, Zr.is)) && (r.range === void 0 || _e.is(r.range));
8153
8165
  }
8154
8166
  e.is = t;
8155
- })(Ba || (Ba = {}));
8156
- var qa;
8167
+ })(qa || (qa = {}));
8168
+ var Ha;
8157
8169
  (function(e) {
8158
8170
  function t(r, n) {
8159
8171
  return n ? {
@@ -8162,36 +8174,36 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8162
8174
  } : { label: r };
8163
8175
  }
8164
8176
  e.create = t;
8165
- })(qa || (qa = {}));
8166
- var Ha;
8177
+ })(Ha || (Ha = {}));
8178
+ var $a;
8167
8179
  (function(e) {
8168
8180
  function t(r, n, ...i) {
8169
8181
  const a = { label: r };
8170
8182
  return D.defined(n) && (a.documentation = n), D.defined(i) ? a.parameters = i : a.parameters = [], a;
8171
8183
  }
8172
8184
  e.create = t;
8173
- })(Ha || (Ha = {}));
8174
- var $a;
8175
- (function(e) {
8176
- e.Text = 1, e.Read = 2, e.Write = 3;
8177
8185
  })($a || ($a = {}));
8178
8186
  var Wa;
8187
+ (function(e) {
8188
+ e.Text = 1, e.Read = 2, e.Write = 3;
8189
+ })(Wa || (Wa = {}));
8190
+ var Qa;
8179
8191
  (function(e) {
8180
8192
  function t(r, n) {
8181
8193
  const i = { range: r };
8182
8194
  return D.number(n) && (i.kind = n), i;
8183
8195
  }
8184
8196
  e.create = t;
8185
- })(Wa || (Wa = {}));
8186
- var Qa;
8187
- (function(e) {
8188
- e.File = 1, e.Module = 2, e.Namespace = 3, e.Package = 4, e.Class = 5, e.Method = 6, e.Property = 7, e.Field = 8, e.Constructor = 9, e.Enum = 10, e.Interface = 11, e.Function = 12, e.Variable = 13, e.Constant = 14, e.String = 15, e.Number = 16, e.Boolean = 17, e.Array = 18, e.Object = 19, e.Key = 20, e.Null = 21, e.EnumMember = 22, e.Struct = 23, e.Event = 24, e.Operator = 25, e.TypeParameter = 26;
8189
8197
  })(Qa || (Qa = {}));
8190
8198
  var Va;
8191
8199
  (function(e) {
8192
- e.Deprecated = 1;
8200
+ e.File = 1, e.Module = 2, e.Namespace = 3, e.Package = 4, e.Class = 5, e.Method = 6, e.Property = 7, e.Field = 8, e.Constructor = 9, e.Enum = 10, e.Interface = 11, e.Function = 12, e.Variable = 13, e.Constant = 14, e.String = 15, e.Number = 16, e.Boolean = 17, e.Array = 18, e.Object = 19, e.Key = 20, e.Null = 21, e.EnumMember = 22, e.Struct = 23, e.Event = 24, e.Operator = 25, e.TypeParameter = 26;
8193
8201
  })(Va || (Va = {}));
8194
8202
  var Ga;
8203
+ (function(e) {
8204
+ e.Deprecated = 1;
8205
+ })(Ga || (Ga = {}));
8206
+ var Za;
8195
8207
  (function(e) {
8196
8208
  function t(r, n, i, a, s) {
8197
8209
  const l = {
@@ -8205,8 +8217,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8205
8217
  return s && (l.containerName = s), l;
8206
8218
  }
8207
8219
  e.create = t;
8208
- })(Ga || (Ga = {}));
8209
- var Za;
8220
+ })(Za || (Za = {}));
8221
+ var Ya;
8210
8222
  (function(e) {
8211
8223
  function t(r, n, i, a) {
8212
8224
  return a !== void 0 ? {
@@ -8223,8 +8235,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8223
8235
  };
8224
8236
  }
8225
8237
  e.create = t;
8226
- })(Za || (Za = {}));
8227
- var Ya;
8238
+ })(Ya || (Ya = {}));
8239
+ var Ja;
8228
8240
  (function(e) {
8229
8241
  function t(n, i, a, s, l, u) {
8230
8242
  const m = {
@@ -8242,16 +8254,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8242
8254
  return i && D.string(i.name) && D.number(i.kind) && _e.is(i.range) && _e.is(i.selectionRange) && (i.detail === void 0 || D.string(i.detail)) && (i.deprecated === void 0 || D.boolean(i.deprecated)) && (i.children === void 0 || Array.isArray(i.children)) && (i.tags === void 0 || Array.isArray(i.tags));
8243
8255
  }
8244
8256
  e.is = r;
8245
- })(Ya || (Ya = {}));
8246
- var Ja;
8257
+ })(Ja || (Ja = {}));
8258
+ var Xa;
8247
8259
  (function(e) {
8248
8260
  e.Empty = "", e.QuickFix = "quickfix", e.Refactor = "refactor", e.RefactorExtract = "refactor.extract", e.RefactorInline = "refactor.inline", e.RefactorMove = "refactor.move", e.RefactorRewrite = "refactor.rewrite", e.Source = "source", e.SourceOrganizeImports = "source.organizeImports", e.SourceFixAll = "source.fixAll", e.Notebook = "notebook";
8249
- })(Ja || (Ja = {}));
8261
+ })(Xa || (Xa = {}));
8250
8262
  var Yr;
8251
8263
  (function(e) {
8252
8264
  e.Invoked = 1, e.Automatic = 2;
8253
8265
  })(Yr || (Yr = {}));
8254
- var Xa;
8266
+ var Ka;
8255
8267
  (function(e) {
8256
8268
  function t(n, i, a) {
8257
8269
  const s = { diagnostics: n };
@@ -8263,7 +8275,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8263
8275
  return D.defined(i) && D.typedArray(i.diagnostics, Vr.is) && (i.only === void 0 || D.typedArray(i.only, D.string)) && (i.triggerKind === void 0 || i.triggerKind === Yr.Invoked || i.triggerKind === Yr.Automatic);
8264
8276
  }
8265
8277
  e.is = r;
8266
- })(Xa || (Xa = {}));
8278
+ })(Ka || (Ka = {}));
8267
8279
  var Ui;
8268
8280
  (function(e) {
8269
8281
  e.LLMGenerated = 1;
@@ -8272,7 +8284,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8272
8284
  }
8273
8285
  e.is = t;
8274
8286
  })(Ui || (Ui = {}));
8275
- var Ka;
8287
+ var eo;
8276
8288
  (function(e) {
8277
8289
  function t(n, i, a) {
8278
8290
  const s = { title: n };
@@ -8285,8 +8297,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8285
8297
  return i && D.string(i.title) && (i.diagnostics === void 0 || D.typedArray(i.diagnostics, Vr.is)) && (i.kind === void 0 || D.string(i.kind)) && (i.edit !== void 0 || i.command !== void 0) && (i.command === void 0 || _t.is(i.command)) && (i.isPreferred === void 0 || D.boolean(i.isPreferred)) && (i.edit === void 0 || Li.is(i.edit)) && (i.tags === void 0 || D.typedArray(i.tags, Ui.is));
8286
8298
  }
8287
8299
  e.is = r;
8288
- })(Ka || (Ka = {}));
8289
- var eo;
8300
+ })(eo || (eo = {}));
8301
+ var to;
8290
8302
  (function(e) {
8291
8303
  function t(n, i) {
8292
8304
  const a = { range: n };
@@ -8298,8 +8310,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8298
8310
  return D.defined(i) && _e.is(i.range) && (D.undefined(i.command) || _t.is(i.command));
8299
8311
  }
8300
8312
  e.is = r;
8301
- })(eo || (eo = {}));
8302
- var to;
8313
+ })(to || (to = {}));
8314
+ var ro;
8303
8315
  (function(e) {
8304
8316
  function t(n, i) {
8305
8317
  return {
@@ -8313,8 +8325,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8313
8325
  return D.defined(i) && D.uinteger(i.tabSize) && D.boolean(i.insertSpaces);
8314
8326
  }
8315
8327
  e.is = r;
8316
- })(to || (to = {}));
8317
- var ro;
8328
+ })(ro || (ro = {}));
8329
+ var io;
8318
8330
  (function(e) {
8319
8331
  function t(n, i, a) {
8320
8332
  return {
@@ -8329,8 +8341,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8329
8341
  return D.defined(i) && _e.is(i.range) && (D.undefined(i.target) || D.string(i.target));
8330
8342
  }
8331
8343
  e.is = r;
8332
- })(ro || (ro = {}));
8333
- var io;
8344
+ })(io || (io = {}));
8345
+ var no;
8334
8346
  (function(e) {
8335
8347
  function t(n, i) {
8336
8348
  return {
@@ -8344,24 +8356,24 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8344
8356
  return D.objectLiteral(i) && _e.is(i.range) && (i.parent === void 0 || e.is(i.parent));
8345
8357
  }
8346
8358
  e.is = r;
8347
- })(io || (io = {}));
8348
- var no;
8349
- (function(e) {
8350
- e.namespace = "namespace", e.type = "type", e.class = "class", e.enum = "enum", e.interface = "interface", e.struct = "struct", e.typeParameter = "typeParameter", e.parameter = "parameter", e.variable = "variable", e.property = "property", e.enumMember = "enumMember", e.event = "event", e.function = "function", e.method = "method", e.macro = "macro", e.keyword = "keyword", e.modifier = "modifier", e.comment = "comment", e.string = "string", e.number = "number", e.regexp = "regexp", e.operator = "operator", e.decorator = "decorator", e.label = "label";
8351
8359
  })(no || (no = {}));
8352
8360
  var ao;
8353
8361
  (function(e) {
8354
- e.declaration = "declaration", e.definition = "definition", e.readonly = "readonly", e.static = "static", e.deprecated = "deprecated", e.abstract = "abstract", e.async = "async", e.modification = "modification", e.documentation = "documentation", e.defaultLibrary = "defaultLibrary";
8362
+ e.namespace = "namespace", e.type = "type", e.class = "class", e.enum = "enum", e.interface = "interface", e.struct = "struct", e.typeParameter = "typeParameter", e.parameter = "parameter", e.variable = "variable", e.property = "property", e.enumMember = "enumMember", e.event = "event", e.function = "function", e.method = "method", e.macro = "macro", e.keyword = "keyword", e.modifier = "modifier", e.comment = "comment", e.string = "string", e.number = "number", e.regexp = "regexp", e.operator = "operator", e.decorator = "decorator", e.label = "label";
8355
8363
  })(ao || (ao = {}));
8356
8364
  var oo;
8365
+ (function(e) {
8366
+ e.declaration = "declaration", e.definition = "definition", e.readonly = "readonly", e.static = "static", e.deprecated = "deprecated", e.abstract = "abstract", e.async = "async", e.modification = "modification", e.documentation = "documentation", e.defaultLibrary = "defaultLibrary";
8367
+ })(oo || (oo = {}));
8368
+ var so;
8357
8369
  (function(e) {
8358
8370
  function t(r) {
8359
8371
  const n = r;
8360
8372
  return D.objectLiteral(n) && (n.resultId === void 0 || typeof n.resultId == "string") && Array.isArray(n.data) && (n.data.length === 0 || typeof n.data[0] == "number");
8361
8373
  }
8362
8374
  e.is = t;
8363
- })(oo || (oo = {}));
8364
- var so;
8375
+ })(so || (so = {}));
8376
+ var lo;
8365
8377
  (function(e) {
8366
8378
  function t(n, i) {
8367
8379
  return {
@@ -8375,8 +8387,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8375
8387
  return i != null && _e.is(i.range) && D.string(i.text);
8376
8388
  }
8377
8389
  e.is = r;
8378
- })(so || (so = {}));
8379
- var lo;
8390
+ })(lo || (lo = {}));
8391
+ var co;
8380
8392
  (function(e) {
8381
8393
  function t(n, i, a) {
8382
8394
  return {
@@ -8391,8 +8403,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8391
8403
  return i != null && _e.is(i.range) && D.boolean(i.caseSensitiveLookup) && (D.string(i.variableName) || i.variableName === void 0);
8392
8404
  }
8393
8405
  e.is = r;
8394
- })(lo || (lo = {}));
8395
- var co;
8406
+ })(co || (co = {}));
8407
+ var uo;
8396
8408
  (function(e) {
8397
8409
  function t(n, i) {
8398
8410
  return {
@@ -8406,8 +8418,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8406
8418
  return i != null && _e.is(i.range) && (D.string(i.expression) || i.expression === void 0);
8407
8419
  }
8408
8420
  e.is = r;
8409
- })(co || (co = {}));
8410
- var uo;
8421
+ })(uo || (uo = {}));
8422
+ var po;
8411
8423
  (function(e) {
8412
8424
  function t(n, i) {
8413
8425
  return {
@@ -8421,7 +8433,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8421
8433
  return D.defined(i) && _e.is(n.stoppedLocation);
8422
8434
  }
8423
8435
  e.is = r;
8424
- })(uo || (uo = {}));
8436
+ })(po || (po = {}));
8425
8437
  var zi;
8426
8438
  (function(e) {
8427
8439
  e.Type = 1, e.Parameter = 2;
@@ -8442,7 +8454,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8442
8454
  }
8443
8455
  e.is = r;
8444
8456
  })(Bi || (Bi = {}));
8445
- var po;
8457
+ var fo;
8446
8458
  (function(e) {
8447
8459
  function t(n, i, a) {
8448
8460
  const s = {
@@ -8457,7 +8469,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8457
8469
  return D.objectLiteral(i) && He.is(i.position) && (D.string(i.label) || D.typedArray(i.label, Bi.is)) && (i.kind === void 0 || zi.is(i.kind)) && i.textEdits === void 0 || D.typedArray(i.textEdits, yt.is) && (i.tooltip === void 0 || D.string(i.tooltip) || pt.is(i.tooltip)) && (i.paddingLeft === void 0 || D.boolean(i.paddingLeft)) && (i.paddingRight === void 0 || D.boolean(i.paddingRight));
8458
8470
  }
8459
8471
  e.is = r;
8460
- })(po || (po = {}));
8472
+ })(fo || (fo = {}));
8461
8473
  var qi;
8462
8474
  (function(e) {
8463
8475
  function t(n) {
@@ -8473,7 +8485,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8473
8485
  }
8474
8486
  e.isSnippet = r;
8475
8487
  })(qi || (qi = {}));
8476
- var fo;
8488
+ var ho;
8477
8489
  (function(e) {
8478
8490
  function t(r, n, i, a) {
8479
8491
  return {
@@ -8484,19 +8496,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8484
8496
  };
8485
8497
  }
8486
8498
  e.create = t;
8487
- })(fo || (fo = {}));
8488
- var ho;
8499
+ })(ho || (ho = {}));
8500
+ var mo;
8489
8501
  (function(e) {
8490
8502
  function t(r) {
8491
8503
  return { items: r };
8492
8504
  }
8493
8505
  e.create = t;
8494
- })(ho || (ho = {}));
8495
- var mo;
8496
- (function(e) {
8497
- e.Invoked = 1, e.Automatic = 2;
8498
8506
  })(mo || (mo = {}));
8499
8507
  var go;
8508
+ (function(e) {
8509
+ e.Invoked = 1, e.Automatic = 2;
8510
+ })(go || (go = {}));
8511
+ var vo;
8500
8512
  (function(e) {
8501
8513
  function t(r, n) {
8502
8514
  return {
@@ -8505,8 +8517,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8505
8517
  };
8506
8518
  }
8507
8519
  e.create = t;
8508
- })(go || (go = {}));
8509
- var vo;
8520
+ })(vo || (vo = {}));
8521
+ var bo;
8510
8522
  (function(e) {
8511
8523
  function t(r, n) {
8512
8524
  return {
@@ -8515,19 +8527,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8515
8527
  };
8516
8528
  }
8517
8529
  e.create = t;
8518
- })(vo || (vo = {}));
8519
- var bo;
8530
+ })(bo || (bo = {}));
8531
+ var _o;
8520
8532
  (function(e) {
8521
8533
  function t(r) {
8522
8534
  const n = r;
8523
8535
  return D.objectLiteral(n) && Pi.is(n.uri) && D.string(n.name);
8524
8536
  }
8525
8537
  e.is = t;
8526
- })(bo || (bo = {}));
8527
- var _o;
8538
+ })(_o || (_o = {}));
8539
+ var yo;
8528
8540
  (function(e) {
8529
8541
  function t(a, s, l, u) {
8530
- return new vd(a, s, l, u);
8542
+ return new bd(a, s, l, u);
8531
8543
  }
8532
8544
  e.create = t;
8533
8545
  function r(a) {
@@ -8561,8 +8573,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8561
8573
  for (; w < m.length;) a[p++] = m[w++];
8562
8574
  return a;
8563
8575
  }
8564
- })(_o || (_o = {}));
8565
- var vd = class {
8576
+ })(yo || (yo = {}));
8577
+ var bd = class {
8566
8578
  constructor(e, t, r, n) {
8567
8579
  this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
8568
8580
  }
@@ -8670,7 +8682,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8670
8682
  }
8671
8683
  e.typedArray = p;
8672
8684
  })(D || (D = {}));
8673
- var yo = class tn {
8685
+ var wo = class tn {
8674
8686
  constructor(t, r, n, i) {
8675
8687
  this._uri = t, this._languageId = r, this._version = n, this._content = i, this._lineOffsets = void 0;
8676
8688
  }
@@ -8692,11 +8704,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8692
8704
  }
8693
8705
  update(t, r) {
8694
8706
  for (const n of t) if (tn.isIncremental(n)) {
8695
- const i = So(n.range), a = this.offsetAt(i.start), s = this.offsetAt(i.end);
8707
+ const i = Ao(n.range), a = this.offsetAt(i.start), s = this.offsetAt(i.end);
8696
8708
  this._content = this._content.substring(0, a) + n.text + this._content.substring(s, this._content.length);
8697
8709
  const l = Math.max(i.start.line, 0), u = Math.max(i.end.line, 0);
8698
8710
  let m = this._lineOffsets;
8699
- const b = Eo(n.text, !1, a);
8711
+ const b = xo(n.text, !1, a);
8700
8712
  if (u - l === b.length) for (let p = 0, c = b.length; p < c; p++) m[p + l + 1] = b[p];
8701
8713
  else b.length < 1e4 ? m.splice(l + 1, u - l, ...b) : this._lineOffsets = m = m.slice(0, l + 1).concat(b, m.slice(u + 1));
8702
8714
  const w = n.text.length - (s - a);
@@ -8706,7 +8718,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8706
8718
  this._version = r;
8707
8719
  }
8708
8720
  getLineOffsets() {
8709
- return this._lineOffsets === void 0 && (this._lineOffsets = Eo(this._content, !0)), this._lineOffsets;
8721
+ return this._lineOffsets === void 0 && (this._lineOffsets = xo(this._content, !0)), this._lineOffsets;
8710
8722
  }
8711
8723
  positionAt(t) {
8712
8724
  t = Math.max(Math.min(t, this._content.length), 0);
@@ -8736,7 +8748,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8736
8748
  return this.ensureBeforeEOL(a, n);
8737
8749
  }
8738
8750
  ensureBeforeEOL(t, r) {
8739
- for (; t > r && xo(this._content.charCodeAt(t - 1));) t--;
8751
+ for (; t > r && So(this._content.charCodeAt(t - 1));) t--;
8740
8752
  return t;
8741
8753
  }
8742
8754
  get lineCount() {
@@ -8750,19 +8762,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8750
8762
  const r = t;
8751
8763
  return r != null && typeof r.text == "string" && r.range === void 0 && r.rangeLength === void 0;
8752
8764
  }
8753
- }, wo;
8765
+ }, Eo;
8754
8766
  (function(e) {
8755
8767
  function t(i, a, s, l) {
8756
- return new yo(i, a, s, l);
8768
+ return new wo(i, a, s, l);
8757
8769
  }
8758
8770
  e.create = t;
8759
8771
  function r(i, a, s) {
8760
- if (i instanceof yo) return i.update(a, s), i;
8772
+ if (i instanceof wo) return i.update(a, s), i;
8761
8773
  throw new Error("TextDocument.update: document must be created by TextDocument.create");
8762
8774
  }
8763
8775
  e.update = r;
8764
8776
  function n(i, a) {
8765
- const s = i.getText(), l = Hi(a.map(bd), (b, w) => {
8777
+ const s = i.getText(), l = Hi(a.map(_d), (b, w) => {
8766
8778
  const p = b.range.start.line - w.range.start.line;
8767
8779
  return p === 0 ? b.range.start.character - w.range.start.character : p;
8768
8780
  });
@@ -8776,7 +8788,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8776
8788
  return m.push(s.substr(u)), m.join("");
8777
8789
  }
8778
8790
  e.applyEdits = n;
8779
- })(wo || (wo = {}));
8791
+ })(Eo || (Eo = {}));
8780
8792
  function Hi(e, t) {
8781
8793
  if (e.length <= 1) return e;
8782
8794
  const r = e.length / 2 | 0, n = e.slice(0, r), i = e.slice(r);
@@ -8787,53 +8799,53 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8787
8799
  for (; s < i.length;) e[l++] = i[s++];
8788
8800
  return e;
8789
8801
  }
8790
- function Eo(e, t, r = 0) {
8802
+ function xo(e, t, r = 0) {
8791
8803
  const n = t ? [r] : [];
8792
8804
  for (let i = 0; i < e.length; i++) {
8793
8805
  const a = e.charCodeAt(i);
8794
- xo(a) && (a === 13 && i + 1 < e.length && e.charCodeAt(i + 1) === 10 && i++, n.push(r + i + 1));
8806
+ So(a) && (a === 13 && i + 1 < e.length && e.charCodeAt(i + 1) === 10 && i++, n.push(r + i + 1));
8795
8807
  }
8796
8808
  return n;
8797
8809
  }
8798
- function xo(e) {
8810
+ function So(e) {
8799
8811
  return e === 13 || e === 10;
8800
8812
  }
8801
- function So(e) {
8813
+ function Ao(e) {
8802
8814
  const t = e.start, r = e.end;
8803
8815
  return t.line > r.line || t.line === r.line && t.character > r.character ? {
8804
8816
  start: r,
8805
8817
  end: t
8806
8818
  } : e;
8807
8819
  }
8808
- function bd(e) {
8809
- const t = So(e.range);
8820
+ function _d(e) {
8821
+ const t = Ao(e.range);
8810
8822
  return t !== e.range ? {
8811
8823
  newText: e.newText,
8812
8824
  range: t
8813
8825
  } : e;
8814
8826
  }
8815
- var Ao;
8827
+ var Co;
8816
8828
  (function(e) {
8817
8829
  e[e.StartCommentTag = 0] = "StartCommentTag", e[e.Comment = 1] = "Comment", e[e.EndCommentTag = 2] = "EndCommentTag", e[e.StartTagOpen = 3] = "StartTagOpen", e[e.StartTagClose = 4] = "StartTagClose", e[e.StartTagSelfClose = 5] = "StartTagSelfClose", e[e.StartTag = 6] = "StartTag", e[e.EndTagOpen = 7] = "EndTagOpen", e[e.EndTagClose = 8] = "EndTagClose", e[e.EndTag = 9] = "EndTag", e[e.DelimiterAssign = 10] = "DelimiterAssign", e[e.AttributeName = 11] = "AttributeName", e[e.AttributeValue = 12] = "AttributeValue", e[e.StartDoctypeTag = 13] = "StartDoctypeTag", e[e.Doctype = 14] = "Doctype", e[e.EndDoctypeTag = 15] = "EndDoctypeTag", e[e.Content = 16] = "Content", e[e.Whitespace = 17] = "Whitespace", e[e.Unknown = 18] = "Unknown", e[e.Script = 19] = "Script", e[e.Styles = 20] = "Styles", e[e.EOS = 21] = "EOS";
8818
- })(Ao || (Ao = {}));
8830
+ })(Co || (Co = {}));
8819
8831
  var re;
8820
8832
  (function(e) {
8821
8833
  e[e.WithinContent = 0] = "WithinContent", e[e.AfterOpeningStartTag = 1] = "AfterOpeningStartTag", e[e.AfterOpeningEndTag = 2] = "AfterOpeningEndTag", e[e.WithinDoctype = 3] = "WithinDoctype", e[e.WithinTag = 4] = "WithinTag", e[e.WithinEndTag = 5] = "WithinEndTag", e[e.WithinComment = 6] = "WithinComment", e[e.WithinScriptContent = 7] = "WithinScriptContent", e[e.WithinStyleContent = 8] = "WithinStyleContent", e[e.AfterAttributeName = 9] = "AfterAttributeName", e[e.BeforeAttributeValue = 10] = "BeforeAttributeValue";
8822
8834
  })(re || (re = {}));
8823
- var Co;
8835
+ var ko;
8824
8836
  (function(e) {
8825
8837
  e.LATEST = { textDocument: {
8826
8838
  completion: { completionItem: { documentationFormat: [dt.Markdown, dt.PlainText] } },
8827
8839
  hover: { contentFormat: [dt.Markdown, dt.PlainText] }
8828
8840
  } };
8829
- })(Co || (Co = {}));
8830
- var ko;
8841
+ })(ko || (ko = {}));
8842
+ var To;
8831
8843
  (function(e) {
8832
8844
  e[e.Unknown = 0] = "Unknown", e[e.File = 1] = "File", e[e.Directory = 2] = "Directory", e[e.SymbolicLink = 64] = "SymbolicLink";
8833
- })(ko || (ko = {}));
8845
+ })(To || (To = {}));
8834
8846
  var Re = (function(e) {
8835
8847
  return e[e.StartCommentTag = 0] = "StartCommentTag", e[e.Comment = 1] = "Comment", e[e.EndCommentTag = 2] = "EndCommentTag", e[e.StartTagOpen = 3] = "StartTagOpen", e[e.StartTagClose = 4] = "StartTagClose", e[e.StartTagSelfClose = 5] = "StartTagSelfClose", e[e.StartTag = 6] = "StartTag", e[e.EndTagOpen = 7] = "EndTagOpen", e[e.EndTagClose = 8] = "EndTagClose", e[e.EndTag = 9] = "EndTag", e[e.DelimiterAssign = 10] = "DelimiterAssign", e[e.AttributeName = 11] = "AttributeName", e[e.AttributeValue = 12] = "AttributeValue", e[e.StartDoctypeTag = 13] = "StartDoctypeTag", e[e.Doctype = 14] = "Doctype", e[e.EndDoctypeTag = 15] = "EndDoctypeTag", e[e.Content = 16] = "Content", e[e.Whitespace = 17] = "Whitespace", e[e.Unknown = 18] = "Unknown", e[e.Script = 19] = "Script", e[e.Styles = 20] = "Styles", e[e.EOS = 21] = "EOS", e[e.AdvancedStart = 100] = "AdvancedStart", e[e.AdvancedEnd = 101] = "AdvancedEnd", e;
8836
- })({}), _d = class {
8848
+ })({}), yd = class {
8837
8849
  source;
8838
8850
  len;
8839
8851
  position;
@@ -8901,19 +8913,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8901
8913
  return this.goToEnd(), !1;
8902
8914
  }
8903
8915
  skipWhitespace() {
8904
- return this.advanceWhileChar((e) => e === Cd || e === kd || e === xd || e === Ad || e === Sd) > 0;
8916
+ return this.advanceWhileChar((e) => e === kd || e === Td || e === Sd || e === Cd || e === Ad) > 0;
8905
8917
  }
8906
8918
  advanceWhileChar(e) {
8907
8919
  const t = this.position;
8908
8920
  for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
8909
8921
  return this.position - t;
8910
8922
  }
8911
- }, To = 33, wt = 45, Jr = 60, Ve = 62, $i = 47, yd = 61, wd = 34, Ed = 39, xd = 10, Sd = 13, Ad = 12, Cd = 32, kd = 9, Td = {
8923
+ }, Oo = 33, wt = 45, Jr = 60, Ve = 62, $i = 47, wd = 61, Ed = 34, xd = 39, Sd = 10, Ad = 13, Cd = 12, kd = 32, Td = 9, Od = {
8912
8924
  "text/x-handlebars-template": !0,
8913
8925
  "text/html": !0
8914
8926
  };
8915
- function Od(e, t = 0, r = re.WithinContent, n = !1) {
8916
- const i = new _d(e, t);
8927
+ function Pd(e, t = 0, r = re.WithinContent, n = !1) {
8928
+ const i = new yd(e, t);
8917
8929
  let a = r, s = 0, l = 18, u, m, b, w, p;
8918
8930
  function c() {
8919
8931
  return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
@@ -8945,9 +8957,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8945
8957
  case re.WithinDoctype: return i.advanceIfChar(Ve) ? (a = re.WithinContent, E(_, 15)) : (i.advanceUntilChar(Ve), E(_, 14));
8946
8958
  case re.WithinContent:
8947
8959
  if (i.advanceIfChar(Jr)) {
8948
- if (!i.eos() && i.peekChar() === To) {
8960
+ if (!i.eos() && i.peekChar() === Oo) {
8949
8961
  if (i.advanceIfChars([
8950
- To,
8962
+ Oo,
8951
8963
  wt,
8952
8964
  wt
8953
8965
  ])) return a = re.WithinComment, E(_, 0);
@@ -8964,14 +8976,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
8964
8976
  C = "Closing bracket expected.";
8965
8977
  break;
8966
8978
  case re.AfterOpeningStartTag: return b = c(), p = void 0, w = void 0, b.length > 0 ? (m = !1, a = re.WithinTag, E(_, 6)) : i.skipWhitespace() ? E(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinTag, i.advanceUntilChar(Ve), _ < i.pos() ? E(_, 18, "Start tag name expected.") : I());
8967
- case re.WithinTag: return i.skipWhitespace() ? (m = !0, E(_, 17)) : m && (w = h(), w.length > 0) ? (a = re.AfterAttributeName, m = !1, E(_, 11)) : i.advanceIfChars([$i, Ve]) ? (a = re.WithinContent, E(_, 5)) : i.advanceIfChar(Ve) ? (b === "script" ? p && Td[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, E(_, 4)) : n && i.peekChar() === Jr ? (a = re.WithinContent, E(_, 4, "Closing bracket missing.")) : (i.advance(1), E(_, 18, "Unexpected character in tag."));
8968
- case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, E(_, 17)) : i.advanceIfChar(yd) ? (a = re.BeforeAttributeValue, E(_, 10)) : (a = re.WithinTag, I());
8979
+ case re.WithinTag: return i.skipWhitespace() ? (m = !0, E(_, 17)) : m && (w = h(), w.length > 0) ? (a = re.AfterAttributeName, m = !1, E(_, 11)) : i.advanceIfChars([$i, Ve]) ? (a = re.WithinContent, E(_, 5)) : i.advanceIfChar(Ve) ? (b === "script" ? p && Od[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, E(_, 4)) : n && i.peekChar() === Jr ? (a = re.WithinContent, E(_, 4, "Closing bracket missing.")) : (i.advance(1), E(_, 18, "Unexpected character in tag."));
8980
+ case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, E(_, 17)) : i.advanceIfChar(wd) ? (a = re.BeforeAttributeValue, E(_, 10)) : (a = re.WithinTag, I());
8969
8981
  case re.BeforeAttributeValue:
8970
8982
  if (i.skipWhitespace()) return E(_, 17);
8971
8983
  let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
8972
8984
  if (d.length > 0) return i.peekChar() === Ve && i.peekChar(-1) === $i && (i.goBack(1), d = d.substr(0, d.length - 1)), w === "type" && (p = d), a = re.WithinTag, m = !1, E(_, 12);
8973
8985
  const f = i.peekChar();
8974
- return f === Ed || f === wd ? (i.advance(1), i.advanceUntilChar(f) && i.advance(1), w === "type" && (p = i.getSource().substring(_ + 1, i.pos() - 1)), a = re.WithinTag, m = !1, E(_, 12)) : (a = re.WithinTag, m = !1, I());
8986
+ return f === xd || f === Ed ? (i.advance(1), i.advanceUntilChar(f) && i.advance(1), w === "type" && (p = i.getSource().substring(_ + 1, i.pos() - 1)), a = re.WithinTag, m = !1, E(_, 12)) : (a = re.WithinTag, m = !1, I());
8975
8987
  case re.WithinScriptContent:
8976
8988
  let y = 1;
8977
8989
  for (; !i.eos();) {
@@ -9002,14 +9014,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9002
9014
  getTokenError: () => u
9003
9015
  };
9004
9016
  }
9005
- function Pd(e) {
9017
+ function Rd(e) {
9006
9018
  if (typeof e == "string") {
9007
9019
  const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
9008
9020
  return e.substring(t, r);
9009
9021
  }
9010
9022
  return e;
9011
9023
  }
9012
- var Oo = class {
9024
+ var Po = class {
9013
9025
  text;
9014
9026
  type;
9015
9027
  node = void 0;
@@ -9046,13 +9058,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9046
9058
  a.children.push(n), n.closed = t !== void 0, n.endTagStart = e, n.end = i, n.content = this.text.substring(n.startTagEnd, e), this.node = void 0;
9047
9059
  }
9048
9060
  }
9049
- }, Po = class {
9061
+ }, Ro = class {
9050
9062
  dataManager;
9051
9063
  constructor(e) {
9052
9064
  this.dataManager = e;
9053
9065
  }
9054
9066
  parse(e, t = []) {
9055
- const r = Od(e, void 0, void 0, !0), n = new et(0, e.length, [], void 0);
9067
+ const r = Pd(e, void 0, void 0, !0), n = new et(0, e.length, [], void 0);
9056
9068
  n.type = ke.ROOT;
9057
9069
  let i = n, a = -1, s, l = null, u = r.scan();
9058
9070
  const m = () => {
@@ -9061,7 +9073,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9061
9073
  E?.type === ke.HTML ? (E.content = (E.content || "") + T, E.end = i.end, h.splice(h.length - 1, 1)) : (i.type = ke.HTML, i.content = T, i.children = []), i.type = ke.HTML;
9062
9074
  }
9063
9075
  i = i.parent;
9064
- }, b = new Oo(e, ke.COMMENT), w = new Oo(e, ke.DOCTYPE), p = (h) => {
9076
+ }, b = new Po(e, ke.COMMENT), w = new Po(e, ke.DOCTYPE), p = (h) => {
9065
9077
  i.children.push(h);
9066
9078
  };
9067
9079
  for (; u !== Re.EOS;) {
@@ -9150,7 +9162,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9150
9162
  }
9151
9163
  case Re.AttributeValue: {
9152
9164
  const _ = r.getTokenText(), C = i.attributes;
9153
- C && l && (C[l] = Pd(_), l = null);
9165
+ C && l && (C[l] = Rd(_), l = null);
9154
9166
  break;
9155
9167
  }
9156
9168
  }
@@ -9173,7 +9185,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9173
9185
  };
9174
9186
  }
9175
9187
  };
9176
- new Po(new ma([
9188
+ new Ro(new ga([
9177
9189
  "area",
9178
9190
  "base",
9179
9191
  "br",
@@ -9189,7 +9201,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9189
9201
  "wbr",
9190
9202
  "vk-snippet-end"
9191
9203
  ]));
9192
- var Rd = new Po(new ma([
9204
+ var Nd = new Ro(new ga([
9193
9205
  "area",
9194
9206
  "base",
9195
9207
  "br",
@@ -9205,16 +9217,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9205
9217
  "wbr",
9206
9218
  "vk-snippet-end"
9207
9219
  ]));
9208
- function Nd(e) {
9209
- return Rd.parse(e);
9210
- }
9211
9220
  function Id(e) {
9221
+ return Nd.parse(e);
9222
+ }
9223
+ function Md(e) {
9212
9224
  if (e) {
9213
9225
  const t = document.createElement("div");
9214
9226
  return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
9215
9227
  } else return document.createTextNode("");
9216
9228
  }
9217
- function Md(e) {
9229
+ function jd(e) {
9218
9230
  let t;
9219
9231
  switch (e?.toLowerCase()) {
9220
9232
  case "tr":
@@ -9237,7 +9249,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9237
9249
  }
9238
9250
  return t;
9239
9251
  }
9240
- var jd = new Set([
9252
+ var Dd = new Set([
9241
9253
  "onclick",
9242
9254
  "onload",
9243
9255
  "onchange",
@@ -9245,15 +9257,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9245
9257
  "onmouseover",
9246
9258
  "onkeydown",
9247
9259
  "onerror"
9248
- ]), Dd = new Set([
9260
+ ]), Ld = new Set([
9249
9261
  "script",
9250
9262
  "style",
9251
9263
  "xmp"
9252
9264
  ]);
9253
- function Ld(e, t) {
9254
- return !(t && Dd.has(t.toLowerCase()) || jd.has(e.toLowerCase()));
9265
+ function Fd(e, t) {
9266
+ return !(t && Ld.has(t.toLowerCase()) || Dd.has(e.toLowerCase()));
9255
9267
  }
9256
- var Fd = (e) => {
9268
+ var Ud = (e) => {
9257
9269
  let t = e.indexOf("&");
9258
9270
  for (; t !== -1;) {
9259
9271
  if (e.indexOf(";", t) !== -1) return !0;
@@ -9261,10 +9273,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9261
9273
  }
9262
9274
  return !1;
9263
9275
  };
9264
- function Ro(e, t, r) {
9276
+ function No(e, t, r) {
9265
9277
  let n = e.tagName.toLowerCase();
9266
9278
  n === "html" && (n = "div");
9267
- const i = `<${n} ${t}="${r}"/>`, a = Md(n);
9279
+ const i = `<${n} ${t}="${r}"/>`, a = jd(n);
9268
9280
  if (a instanceof Document) return;
9269
9281
  a.innerHTML = i;
9270
9282
  const s = a.querySelector(n);
@@ -9274,9 +9286,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9274
9286
  }
9275
9287
  function Et(e, t, r) {
9276
9288
  try {
9277
- Ld(t, e.tagName) && !Fd(r) ? e.setAttribute(t, r) : Ro(e, t, r);
9289
+ Fd(t, e.tagName) && !Ud(r) ? e.setAttribute(t, r) : No(e, t, r);
9278
9290
  } catch {
9279
- Ro(e, t, r);
9291
+ No(e, t, r);
9280
9292
  }
9281
9293
  }
9282
9294
  function Wi(e, t = !0) {
@@ -9307,28 +9319,28 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9307
9319
  return n;
9308
9320
  }
9309
9321
  return document.createTextNode("<");
9310
- case ke.HTML: return Id(r || "");
9322
+ case ke.HTML: return Md(r || "");
9311
9323
  default: throw new Error("unsupported node");
9312
9324
  }
9313
9325
  }
9314
9326
  function Qi(e) {
9315
- return Nd(e).roots.map((t) => Wi(t));
9327
+ return Id(e).roots.map((t) => Wi(t));
9316
9328
  }
9317
- var No = Symbol("Error");
9329
+ var Io = Symbol("Error");
9318
9330
  function Gt(e) {
9319
- return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => No) : t)).then((t) => t.filter((r) => r !== No));
9331
+ return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Io) : t)).then((t) => t.filter((r) => r !== Io));
9320
9332
  }
9321
- var Io = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), Ud = new Set([
9333
+ var Mo = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), zd = new Set([
9322
9334
  "https:",
9323
9335
  "http:",
9324
9336
  "file:"
9325
- ]), zd = (e) => {
9337
+ ]), Bd = (e) => {
9326
9338
  const t = e.indexOf(":");
9327
9339
  if (t <= 0) return !1;
9328
9340
  const r = e.substring(0, t + 1);
9329
- return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !Ud.has(r) : !1;
9341
+ return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !zd.has(r) : !1;
9330
9342
  };
9331
- function Bd(e, t) {
9343
+ function qd(e, t) {
9332
9344
  if (t = {
9333
9345
  defaultProtocol: "http",
9334
9346
  normalizeProtocol: !0,
@@ -9346,7 +9358,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9346
9358
  sortQueryParameters: !0,
9347
9359
  ...t
9348
9360
  }, !e) return "";
9349
- if (Mo(e) && (e = ft(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || zd(e)) return e;
9361
+ if (jo(e) && (e = ft(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Bd(e)) return e;
9350
9362
  const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
9351
9363
  let i;
9352
9364
  try {
@@ -9380,9 +9392,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9380
9392
  if (t.removeDirectoryIndex) {
9381
9393
  let l = a.pathname.split("/");
9382
9394
  const u = l[l.length - 1];
9383
- Array.isArray(t.removeDirectoryIndex) && Io(u, t.removeDirectoryIndex) && (l = l.slice(0, -1), a.pathname = l.join("/") + "/");
9395
+ Array.isArray(t.removeDirectoryIndex) && Mo(u, t.removeDirectoryIndex) && (l = l.slice(0, -1), a.pathname = l.join("/") + "/");
9384
9396
  }
9385
- if (t.stripWWW && /^www\.(?!www\.)[a-z\d\-]+(\.[a-z.\-]{2,63})+$/.test(a.hostname || "") && (a.hostname = a.hostname.replace(/^www\./, "")), Array.isArray(t.removeQueryParameters)) for (const l of [...a.searchParams.keys()]) Io(l, t.removeQueryParameters) && a.searchParams.delete(l);
9397
+ if (t.stripWWW && /^www\.(?!www\.)[a-z\d\-]+(\.[a-z.\-]{2,63})+$/.test(a.hostname || "") && (a.hostname = a.hostname.replace(/^www\./, "")), Array.isArray(t.removeQueryParameters)) for (const l of [...a.searchParams.keys()]) Mo(l, t.removeQueryParameters) && a.searchParams.delete(l);
9386
9398
  if (t.sortQueryParameters) {
9387
9399
  a.searchParams.sort();
9388
9400
  try {
@@ -9393,25 +9405,25 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9393
9405
  let s = a.toString();
9394
9406
  return !t.removeSingleSlash && a.pathname === "/" && !e.endsWith("/") && a.hash === "" && (s = s.replace(/\/$/, "")), (t.removeTrailingSlash || a.pathname === "/") && a.hash === "" && t.removeSingleSlash && (s = s.replace(/\/$/, "")), r && !t.normalizeProtocol && (s = s.replace(/^https?:\/\//, "//")), s;
9395
9407
  }
9396
- function Mo(e) {
9408
+ function jo(e) {
9397
9409
  if (!e) return !1;
9398
9410
  const t = e[0];
9399
- return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || qd(t);
9411
+ return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Hd(t);
9400
9412
  }
9401
- function qd(e) {
9413
+ function Hd(e) {
9402
9414
  const t = e.charCodeAt(0);
9403
9415
  return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
9404
9416
  }
9405
- function Hd(e) {
9417
+ function $d(e) {
9406
9418
  return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
9407
9419
  }
9408
9420
  function ft(e) {
9409
- if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Mo(e) || Hd(e)) return e;
9421
+ if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !jo(e) || $d(e)) return e;
9410
9422
  if (e.startsWith("/")) return window.location.origin + e;
9411
9423
  const t = window.location.href, r = t.lastIndexOf("/");
9412
9424
  return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
9413
9425
  }
9414
- var xt = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi, $d = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, St = /<style\b[^>]*>[\s\S]*?<\/style>/gi, jo = /display:\s*none\s*!important/gi, Wd = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Qd = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Vd = /height\s*:\s*100%\s*!important/i, Gd = [
9426
+ var xt = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi, Wd = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, St = /<style\b[^>]*>[\s\S]*?<\/style>/gi, Do = /display:\s*none\s*!important/gi, Qd = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Vd = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Gd = /height\s*:\s*100%\s*!important/i, Zd = [
9415
9427
  ".socialshare,",
9416
9428
  ".advertisment,",
9417
9429
  ".adHolder,",
@@ -9428,57 +9440,57 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
9428
9440
  "#advblock",
9429
9441
  "body { overflow: visible!important; }"
9430
9442
  ];
9431
- function Zd(e) {
9432
- return jo.lastIndex = 0, (e.match(jo) || []).length;
9443
+ function Yd(e) {
9444
+ return Do.lastIndex = 0, (e.match(Do) || []).length;
9433
9445
  }
9434
- function Do(e) {
9435
- const t = e.trim(), r = Zd(t);
9446
+ function Lo(e) {
9447
+ const t = e.trim(), r = Yd(t);
9436
9448
  if (r === 0) return !1;
9437
9449
  if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
9438
- const n = Gd.filter((i) => t.includes(i)).length;
9450
+ const n = Zd.filter((i) => t.includes(i)).length;
9439
9451
  return n >= 1 && (r >= 3 || t.length > 2e3) || r >= 5 && n >= 1 ? !0 : r >= 20 && /\b(?:\.ad(?:s|vert|vertisment|Holder|banner|box|Container|Wrapper)?[,{]|#ad[-_]|ins\.adsbygoogle)/i.test(t);
9440
9452
  }
9441
- function Yd(e) {
9453
+ function Jd(e) {
9442
9454
  St.lastIndex = 0;
9443
- for (const t of e.matchAll(St)) if (Do(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
9455
+ for (const t of e.matchAll(St)) if (Lo(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
9444
9456
  return !1;
9445
9457
  }
9446
- function Jd(e) {
9458
+ function Xd(e) {
9447
9459
  let t = !1;
9448
9460
  return St.lastIndex = 0, {
9449
- html: e.replace(St, (r) => Do(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
9461
+ html: e.replace(St, (r) => Lo(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
9450
9462
  found: t
9451
9463
  };
9452
9464
  }
9453
- function Xd(e) {
9454
- return xt.lastIndex = 0, xt.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || Yd(e);
9465
+ function Kd(e) {
9466
+ return xt.lastIndex = 0, xt.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || Jd(e);
9455
9467
  }
9456
- function Lo(e) {
9457
- if (!Xd(e)) return {
9468
+ function Fo(e) {
9469
+ if (!Kd(e)) return {
9458
9470
  html: e,
9459
9471
  found: !1
9460
9472
  };
9461
9473
  let t = !1, r = e;
9462
- xt.lastIndex = 0, xt.test(r) && (xt.lastIndex = 0, r = r.replace(xt, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace($d, ""), t = !0);
9463
- const n = Jd(r);
9474
+ xt.lastIndex = 0, xt.test(r) && (xt.lastIndex = 0, r = r.replace(xt, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Wd, ""), t = !0);
9475
+ const n = Xd(r);
9464
9476
  return r = n.html, t = t || n.found, {
9465
9477
  html: r,
9466
9478
  found: t
9467
9479
  };
9468
9480
  }
9469
- function Kd(e) {
9470
- return !e || !Vd.test(e) ? e : (St.lastIndex = 0, e.replace(St, (t) => t.replace(Wd, (r, n, i, a) => `${n}${i.replace(Qd, "")}${a}`)));
9471
- }
9472
9481
  function ep(e) {
9473
- const t = Lo(e.replaceAll(`\r
9482
+ return !e || !Gd.test(e) ? e : (St.lastIndex = 0, e.replace(St, (t) => t.replace(Qd, (r, n, i, a) => `${n}${i.replace(Vd, "")}${a}`)));
9483
+ }
9484
+ function tp(e) {
9485
+ const t = Fo(e.replaceAll(`\r
9474
9486
  `, `
9475
9487
  `));
9476
9488
  return {
9477
- html: Kd(t.html),
9489
+ html: ep(t.html),
9478
9490
  hasBrowserExtensionArtifacts: t.found
9479
9491
  };
9480
9492
  }
9481
- var rp = X.__commonJSMin(((e, t) => {
9493
+ var ip = X.__commonJSMin(((e, t) => {
9482
9494
  (function(r, n) {
9483
9495
  typeof e == "object" && typeof t < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (r = typeof globalThis < "u" ? globalThis : r || self, n(r.MutationSummary = {}));
9484
9496
  })(e, (function(r) {
@@ -10396,33 +10408,33 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10396
10408
  r.ChildListChange = i, r.MutationProjection = m, r.MutationSummary = I, r.NodeChange = l, r.NodeMap = n, r.Qualifier = w, r.Selector = E, r.Summary = b, r.TreeChanges = u, r.TreeMirror = _, r.TreeMirrorClient = C, Object.defineProperty(r, "__esModule", { value: !0 });
10397
10409
  }));
10398
10410
  }))(), At = 0, Ct = new Array(1e3);
10399
- function ip() {
10411
+ function np() {
10400
10412
  for (let e = 0; e < At; e += 2) {
10401
10413
  const t = Ct[e], r = Ct[e + 1];
10402
10414
  t(...r), Ct[e] = void 0, Ct[e + 1] = void 0;
10403
10415
  }
10404
10416
  At = 0;
10405
10417
  }
10406
- function np(e, ...t) {
10407
- Ct[At] = e, Ct[At + 1] = t, At += 2, At === 2 && op();
10418
+ function ap(e, ...t) {
10419
+ Ct[At] = e, Ct[At + 1] = t, At += 2, At === 2 && sp();
10408
10420
  }
10409
- function ap() {
10421
+ function op() {
10410
10422
  let e = 0;
10411
- const t = new MutationObserver(ip), r = document.createTextNode("");
10423
+ const t = new MutationObserver(np), r = document.createTextNode("");
10412
10424
  return t.observe(r, { characterData: !0 }), () => {
10413
10425
  r.data = String(e = ++e % 2);
10414
10426
  };
10415
10427
  }
10416
- var op = ap();
10417
- function Fo() {
10418
- np(() => {
10419
- Vi.hasListeners() && (Vi.fire(), Fo());
10428
+ var sp = op();
10429
+ function Uo() {
10430
+ ap(() => {
10431
+ Vi.hasListeners() && (Vi.fire(), Uo());
10420
10432
  });
10421
10433
  }
10422
- var Vi = new k.Emitter({ onFirstListenerAdd: Fo }), Gi = Vi.once, sp = class extends k.Emitter {
10434
+ var Vi = new k.Emitter({ onFirstListenerAdd: Uo }), Gi = Vi.once, lp = class extends k.Emitter {
10423
10435
  _mutationSummary;
10424
10436
  constructor(e = {}) {
10425
- super(), this._mutationSummary = new rp.MutationSummary({
10437
+ super(), this._mutationSummary = new ip.MutationSummary({
10426
10438
  ...e,
10427
10439
  observeOwnChanges: !0,
10428
10440
  callback: (t) => this.fire(t),
@@ -10436,7 +10448,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10436
10448
  const t = this._mutationSummary.takeSummaries();
10437
10449
  return (e || t?.length) && this.fire(t || []), t;
10438
10450
  }
10439
- }, lp = class extends k.Disposable {
10451
+ }, cp = class extends k.Disposable {
10440
10452
  _mutationEmitter;
10441
10453
  _innerEmitter = this.addDisposable(new k.Emitter({ onFirstListenerAdd: () => {
10442
10454
  this._nextTickHandler();
@@ -10451,7 +10463,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10451
10463
  }, Number.MAX_VALUE);
10452
10464
  }
10453
10465
  constructor(e = {}) {
10454
- super(), this._mutationEmitter = this.addDisposable(new sp(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
10466
+ super(), this._mutationEmitter = this.addDisposable(new lp(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
10455
10467
  this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Gi(() => {
10456
10468
  this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
10457
10469
  }, Number.MAX_VALUE)));
@@ -10479,7 +10491,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10479
10491
  onLost = this._lostEmitter.event;
10480
10492
  onNativeMutate;
10481
10493
  };
10482
- function cp(e) {
10494
+ function up(e) {
10483
10495
  for (const t of e) {
10484
10496
  if (t.removed) for (const r of t.removed) {
10485
10497
  const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
@@ -10503,18 +10515,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10503
10515
  if (t.characterDataChanged) for (const r of t.characterDataChanged) (Vt(r) || Oi(r) || Oi(r)) && (r.data = t.getOldCharacterData(r));
10504
10516
  }
10505
10517
  }
10506
- var up = class extends k.Disposable {
10518
+ var dp = class extends k.Disposable {
10507
10519
  _commitPromise;
10508
10520
  _mutationCollector;
10509
10521
  _onLostSummaries = (e) => {
10510
10522
  try {
10511
- this._mutationCollector.stop(), cp(e);
10523
+ this._mutationCollector.stop(), up(e);
10512
10524
  } finally {
10513
10525
  this._mutationCollector.start();
10514
10526
  }
10515
10527
  };
10516
10528
  constructor(e) {
10517
- super(), this._mutationCollector = this.addDisposable(new lp({
10529
+ super(), this._mutationCollector = this.addDisposable(new cp({
10518
10530
  rootNode: e,
10519
10531
  oldPreviousSibling: !0
10520
10532
  })), this._mutationCollector.onLost(this._onLostSummaries);
@@ -10534,17 +10546,17 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10534
10546
  }
10535
10547
  }
10536
10548
  };
10537
- function Uo(e, t) {
10549
+ function zo(e, t) {
10538
10550
  const r = (a) => {
10539
10551
  const s = {
10540
10552
  contentDocument: a,
10541
10553
  html: bt(a)
10542
10554
  };
10543
- return s.html = Lo(s.html).html, s;
10555
+ return s.html = Fo(s.html).html, s;
10544
10556
  }, n = new k.AsyncEmitter(), i = new k.AsyncEmitter();
10545
10557
  try {
10546
10558
  const a = Qi(e), s = document.implementation.createHTMLDocument();
10547
- return ha(s, a), {
10559
+ return ma(s, a), {
10548
10560
  document: s,
10549
10561
  handleRender: i.event,
10550
10562
  handleReadHtml: n.event,
@@ -10552,14 +10564,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10552
10564
  if (i.hasListeners()) {
10553
10565
  const l = document.createElement("iframe");
10554
10566
  l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
10555
- const u = l.contentWindow.document, m = new up(l.contentDocument);
10567
+ const u = l.contentWindow.document, m = new dp(l.contentDocument);
10556
10568
  let b;
10557
10569
  try {
10558
10570
  if (t) {
10559
10571
  const [w, p] = t;
10560
10572
  w !== void 0 && l.setAttribute("width", String(w)), p !== void 0 && l.setAttribute("height", String(p));
10561
10573
  }
10562
- ha(u, [...s.childNodes]), m.commit();
10574
+ ma(u, [...s.childNodes]), m.commit();
10563
10575
  } catch (w) {
10564
10576
  throw w;
10565
10577
  } finally {
@@ -10587,8 +10599,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10587
10599
  throw a;
10588
10600
  }
10589
10601
  }
10590
- var dp = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
10591
- function pp(e) {
10602
+ var pp = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
10603
+ function fp(e) {
10592
10604
  return e.arrayBuffer().then((t) => {
10593
10605
  const r = new Uint8Array(t);
10594
10606
  let n = "";
@@ -10606,15 +10618,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
10606
10618
  function Xr(e) {
10607
10619
  return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
10608
10620
  }
10609
- async function fp(e, t, r, n, i, a, s) {
10621
+ async function hp(e, t, r, n, i, a, s) {
10610
10622
  const l = [];
10611
10623
  a && (a.attachments = l);
10612
10624
  let u = "";
10613
- typeof i == "function" ? u = await Ho(t, r, n, i, a, s) : u = (await Gt(Object.keys(i).map(async (b) => `\r
10625
+ typeof i == "function" ? u = await $o(t, r, n, i, a, s) : u = (await Gt(Object.keys(i).map(async (b) => `\r
10614
10626
  --boundary-string\r
10615
10627
  Content-Type: ${b}\r
10616
10628
  \r
10617
- ${await Ho(t, r, n, i[b], a, s)}\r
10629
+ ${await $o(t, r, n, i[b], a, s)}\r
10618
10630
  \r
10619
10631
  `))).join("") + "----boundary_string--";
10620
10632
  const m = [
@@ -10646,29 +10658,29 @@ ${w.base64}\r
10646
10658
  \r
10647
10659
  ${u}`;
10648
10660
  }
10649
- function hp(e, t = !0) {
10661
+ function mp(e, t = !0) {
10650
10662
  const r = Me.decodeFileNameFromPath(e);
10651
10663
  return t ? Xr(r) : r;
10652
10664
  }
10653
- function mp(e) {
10665
+ function gp(e) {
10654
10666
  return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
10655
10667
  }
10656
- function zo(e) {
10668
+ function Bo(e) {
10657
10669
  const t = Me.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
10658
- return r === -1 || !mp(n) ? [Xr(t), ""] : [Xr(t.slice(0, r)), n];
10670
+ return r === -1 || !gp(n) ? [Xr(t), ""] : [Xr(t.slice(0, r)), n];
10659
10671
  }
10660
- function gp(e) {
10661
- return $o(e).then((t) => Wo(t));
10672
+ function vp(e) {
10673
+ return Wo(e).then((t) => Qo(t));
10662
10674
  }
10663
- function Bo(e) {
10675
+ function qo(e) {
10664
10676
  return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
10665
10677
  }
10666
- var Ge = new Zu((e) => {
10667
- e.escape("<script", "<\/script>", (t) => Bo(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => Bo(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), ra(e);
10678
+ var Ge = new Yu((e) => {
10679
+ e.escape("<script", "<\/script>", (t) => qo(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => qo(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), ia(e);
10668
10680
  });
10669
10681
  async function Kr(e, t, r, n) {
10670
10682
  e = Ge.getEscapedText(e);
10671
- const i = Uo(e, r);
10683
+ const i = zo(e, r);
10672
10684
  try {
10673
10685
  const a = i.document, s = a.querySelectorAll("tbody");
10674
10686
  for (const l of s) l.replaceWith(...l.childNodes);
@@ -10703,13 +10715,13 @@ ${u}`;
10703
10715
  return Promise.reject(n);
10704
10716
  }
10705
10717
  }
10706
- async function vp(e, t, r = new Map(), n) {
10718
+ async function bp(e, t, r = new Map(), n) {
10707
10719
  const i = (w) => {
10708
10720
  let p = r.get(w);
10709
10721
  return p || (p = t(w), r.set(w, p)), p instanceof Promise ? p : Promise.resolve(p);
10710
10722
  };
10711
10723
  function a(w) {
10712
- return ei(w, dp, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
10724
+ return ei(w, pp, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
10713
10725
  }
10714
10726
  async function s(w) {
10715
10727
  const p = w.getAttribute("style");
@@ -10731,20 +10743,20 @@ ${u}`;
10731
10743
  const p = w.getAttribute("background");
10732
10744
  if (p && b.push(i(p).then((c) => {
10733
10745
  w.setAttribute("background", c || p), n && n();
10734
- })), ua(w) || nd(w)) {
10746
+ })), da(w) || ad(w)) {
10735
10747
  const c = w.getAttribute("src"), h = c && Ge.hasDetectedMappings(c, !0, !0) ? c : ("src" in w ? w.src : "") || c;
10736
10748
  h && b.push(i(h).then((E) => {
10737
10749
  E || (E = h), w.setAttribute("src", E), n && n();
10738
10750
  }));
10739
10751
  }
10740
- if (da(w)) {
10752
+ if (pa(w)) {
10741
10753
  const c = w.innerHTML;
10742
10754
  c && b.push(a(c).then((h) => {
10743
10755
  h !== c && (w.innerHTML = h, n && n());
10744
10756
  }));
10745
10757
  }
10746
10758
  } else if (Oi(w)) {
10747
- const p = fd(w), c = p?.content;
10759
+ const p = hd(w), c = p?.content;
10748
10760
  c && b.push(ei(c, /<v:fill.*>/gi, async (h) => ei(await ei(h, /src="([^"]*)"/gi, async (E, T) => `src="${await i(T) || T}"`), /src='([^']*)'/gi, async (E, T) => `src='${await i(T) || T}'`)).then((h) => {
10749
10761
  c !== h && (w.replaceWith(Qi(`${p.open}${h}${p.close}`)[0]), n && n());
10750
10762
  }));
@@ -10753,9 +10765,9 @@ ${u}`;
10753
10765
  return Gt(b);
10754
10766
  }
10755
10767
  async function Zt(e, t, r = new Map(), n) {
10756
- await vp(e, t, r, n);
10768
+ await bp(e, t, r, n);
10757
10769
  }
10758
- function bp(e) {
10770
+ function _p(e) {
10759
10771
  const t = new Map();
10760
10772
  let r = 0;
10761
10773
  for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
@@ -10764,10 +10776,10 @@ ${u}`;
10764
10776
  }
10765
10777
  return t;
10766
10778
  }
10767
- function _p(e) {
10779
+ function yp(e) {
10768
10780
  return !!e && Ge.hasDetectedMappings(e, !0, !0);
10769
10781
  }
10770
- function qo(e, t) {
10782
+ function Ho(e, t) {
10771
10783
  const r = e.indexOf("#"), n = r >= 0 ? e.substring(r + 1) : "";
10772
10784
  let i = r >= 0 ? e.substring(0, r) : e;
10773
10785
  const a = i.indexOf("?"), s = a >= 0 ? i.substring(a + 1) : "";
@@ -10777,7 +10789,7 @@ ${u}`;
10777
10789
  if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
10778
10790
  return u === s ? e : i + (u ? `?${u}` : "") + (n ? `#${n}` : "");
10779
10791
  }
10780
- function yp(e) {
10792
+ function wp(e) {
10781
10793
  const t = Ge.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], n = [];
10782
10794
  let i = e;
10783
10795
  for (const { range: a } of t) {
@@ -10793,35 +10805,35 @@ ${u}`;
10793
10805
  restore: (a) => n.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
10794
10806
  };
10795
10807
  }
10796
- function wp(e, t, r, n) {
10808
+ function Ep(e, t, r, n) {
10797
10809
  if (!/^https?:\/\//i.test(t.trimStart())) return;
10798
- const { masked: i, tokens: a, restore: s } = yp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
10810
+ const { masked: i, tokens: a, restore: s } = wp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
10799
10811
  if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
10800
- const b = qo(i, r);
10812
+ const b = Ho(i, r);
10801
10813
  if (b === i) return;
10802
10814
  const w = s(b);
10803
10815
  w !== t && (e.setAttribute("href", w), n && n());
10804
10816
  }
10805
10817
  function Yi(e, t, r) {
10806
10818
  const n = e.getAttribute("href");
10807
- if (_p(n)) {
10808
- wp(e, n, t, r);
10819
+ if (yp(n)) {
10820
+ Ep(e, n, t, r);
10809
10821
  return;
10810
10822
  }
10811
10823
  let i = e.href;
10812
10824
  if (i = ft(i), i && e.protocol.startsWith("http")) {
10813
- const a = bp(i);
10825
+ const a = _p(i);
10814
10826
  if (a.forEach((s, l) => {
10815
10827
  i = i.replaceAll(l, s);
10816
10828
  }), e.host !== document.location.host) {
10817
- const s = qo(i, t);
10829
+ const s = Ho(i, t);
10818
10830
  s !== i && (i = s, a.forEach((l, u) => {
10819
10831
  i = i.replaceAll(l, u);
10820
10832
  }), e.setAttribute("href", i), r && r());
10821
10833
  }
10822
10834
  }
10823
10835
  }
10824
- async function Ep(e, t, r, n, i) {
10836
+ async function xp(e, t, r, n, i) {
10825
10837
  let [a, s] = t || [800];
10826
10838
  return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Kr(e, async (l) => {
10827
10839
  const u = l.document;
@@ -10831,20 +10843,20 @@ ${u}`;
10831
10843
  if (n) return n(l);
10832
10844
  }, [a, s], i), e;
10833
10845
  }
10834
- async function Ho(e, t, r, n, i, a) {
10846
+ async function $o(e, t, r, n, i, a) {
10835
10847
  let [s, l] = t || [800];
10836
10848
  return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await Kr(e, async (u) => {
10837
10849
  const m = u.document;
10838
10850
  if (await Zt(m, (b) => Ge.getEscapedText(b) !== b ? b : ft(b)), u.handleRender(async ({ contentDocument: b, managedNodeController: w }) => {
10839
10851
  const p = b.querySelectorAll("*");
10840
- for (const c of p) if (ua(c)) {
10841
- const h = await pa(c);
10852
+ for (const c of p) if (da(c)) {
10853
+ const h = await fa(c);
10842
10854
  if (h) {
10843
10855
  const E = parseInt(h.height), T = parseInt(h.width);
10844
10856
  isNaN(E) || c.setAttribute("height", String(E)), !isNaN(T) && !c.getAttribute("width") && c.setAttribute("width", String(T));
10845
10857
  }
10846
10858
  w.commit();
10847
- } else if (hd(c)) {
10859
+ } else if (md(c)) {
10848
10860
  const h = parseInt(getComputedStyle(c).width);
10849
10861
  !isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), w.commit();
10850
10862
  } else c.tagName === "TD" || c.tagName === "A" && Yi(c, r, () => w.commit());
@@ -10883,7 +10895,7 @@ ${u}`;
10883
10895
  return _;
10884
10896
  }
10885
10897
  try {
10886
- const C = await b(_), d = `img-${k.generateUUID()}@emailmaker`, f = await pp(C);
10898
+ const C = await b(_), d = `img-${k.generateUUID()}@emailmaker`, f = await fp(C);
10887
10899
  return w.push({
10888
10900
  cid: d,
10889
10901
  mimeType: C.type || "application/octet-stream",
@@ -10900,12 +10912,12 @@ ${u}`;
10900
10912
  if (n) return n(u);
10901
10913
  }, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
10902
10914
  }
10903
- var xp = "images", Sp = 40;
10904
- function Ap() {
10915
+ var Sp = "images", Ap = 40;
10916
+ function Cp() {
10905
10917
  const e = new Date();
10906
10918
  return `${e.toISOString().slice(2, 10).replace(/-/g, "").concat("_", e.toTimeString().slice(0, 5).replace(/:/g, ""))}_${Array.from({ length: 8 }, () => "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(Math.random() * 62))).join("")}`;
10907
10919
  }
10908
- async function Cp(e, t, r, n = gp, i, a) {
10920
+ async function kp(e, t, r, n = vp, i, a) {
10909
10921
  const s = Object.create(null);
10910
10922
  let [l, u] = t || [800];
10911
10923
  typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
@@ -10914,14 +10926,14 @@ ${u}`;
10914
10926
  await Zt(p, async (h) => {
10915
10927
  Ge.getEscapedText(h) === h && (h = ft(h));
10916
10928
  const E = await n(h);
10917
- let [T, I] = zo(h);
10918
- if (T.length > Sp && (T = Ap()), !I || !wi.getType(I)) try {
10929
+ let [T, I] = Bo(h);
10930
+ if (T.length > Ap && (T = Cp()), !I || !wi.getType(I)) try {
10919
10931
  I = wi.getExtension(E.type);
10920
10932
  } catch {}
10921
10933
  let _ = `${T}.${I}`, C = 1;
10922
10934
  for (; m.has(_);) _ = `${T}(${++C}).${I}`;
10923
10935
  m.add(_);
10924
- const d = `${xp}/${_}`;
10936
+ const d = `${Sp}/${_}`;
10925
10937
  return s[d] = E, d;
10926
10938
  });
10927
10939
  const c = p.querySelectorAll("a");
@@ -10930,7 +10942,7 @@ ${u}`;
10930
10942
  }, [l, u], a);
10931
10943
  return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
10932
10944
  }
10933
- function kp(e) {
10945
+ function Tp(e) {
10934
10946
  const t = new Sn.default();
10935
10947
  for (const r of Object.keys(e)) {
10936
10948
  let n = t;
@@ -10943,41 +10955,41 @@ ${u}`;
10943
10955
  compression: "DEFLATE"
10944
10956
  });
10945
10957
  }
10946
- function $o(e) {
10958
+ function Wo(e) {
10947
10959
  const t = new Image();
10948
10960
  return t.crossOrigin = "anonymous", new Promise((r, n) => {
10949
10961
  t.onload = () => r(t), t.onerror = n, t.src = e;
10950
10962
  });
10951
10963
  }
10952
- function Wo(e, t = "image/png", r) {
10964
+ function Qo(e, t = "image/png", r) {
10953
10965
  const n = document.createElement("canvas");
10954
10966
  return n.width = e.width, n.height = e.height, n.getContext("2d").drawImage(e, 0, 0), new Promise((i, a) => n.toBlob((s) => s ? i(s) : a("blob is null"), t, Number(r) || 0));
10955
10967
  }
10956
- function Tp(e, t) {
10968
+ function Op(e, t) {
10957
10969
  do {
10958
10970
  if (e === t) return !0;
10959
10971
  e = e.parentNode;
10960
10972
  } while (e);
10961
10973
  return !1;
10962
10974
  }
10963
- function Qo(e) {
10975
+ function Vo(e) {
10964
10976
  const t = e.ownerDocument?.body;
10965
- if (t && Tp(e, t)) {
10977
+ if (t && Op(e, t)) {
10966
10978
  if (tt(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
10967
10979
  if (e.nodeName === "#text") return e.textContent;
10968
10980
  }
10969
- return e.childNodes ? [...e.childNodes].map(Qo).join("") : "";
10981
+ return e.childNodes ? [...e.childNodes].map(Vo).join("") : "";
10970
10982
  }
10971
- function Op(e) {
10972
- const { document: t } = Uo(e);
10983
+ function Pp(e) {
10984
+ const { document: t } = zo(e);
10973
10985
  try {
10974
- return Qo(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
10986
+ return Vo(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
10975
10987
  `).trim();
10976
10988
  } catch {
10977
10989
  return "";
10978
10990
  }
10979
10991
  }
10980
- function Vo(e) {
10992
+ function Go(e) {
10981
10993
  let t = e.documentElement;
10982
10994
  return t || (t = e.createElement("html"), e.appendChild(t)), t;
10983
10995
  }
@@ -10985,35 +10997,35 @@ ${u}`;
10985
10997
  let t = e.head;
10986
10998
  if (!t) {
10987
10999
  t = e.createElement("head");
10988
- const r = Vo(e);
11000
+ const r = Go(e);
10989
11001
  r.insertBefore(t, r.firstChild);
10990
11002
  }
10991
11003
  return t;
10992
11004
  }
10993
- function Go(e) {
11005
+ function Zo(e) {
10994
11006
  const t = Object.create(null), r = e.getAttributeNames();
10995
11007
  for (const n of r) t[n] = e.getAttribute(n);
10996
11008
  return t;
10997
11009
  }
10998
- function Pp(e) {
11010
+ function Rp(e) {
10999
11011
  for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
11000
11012
  }
11001
- function Rp(e) {
11013
+ function Np(e) {
11002
11014
  const t = Yt(e);
11003
11015
  if (!e.querySelector("style[amp4email-boilerplate]")) {
11004
11016
  const r = e.createElement("style");
11005
11017
  r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
11006
11018
  }
11007
11019
  }
11008
- function Np(e) {
11020
+ function Ip(e) {
11009
11021
  const t = e.querySelector("style[amp4email-boilerplate]");
11010
11022
  t && t.remove();
11011
11023
  }
11012
11024
  var ti = "amp-custom";
11013
- function Ip(e, t) {
11025
+ function Mp(e, t) {
11014
11026
  return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
11015
11027
  }
11016
- function Zo(e, t, r) {
11028
+ function Yo(e, t, r) {
11017
11029
  for (const n of t) if (Qt.isStyleRule(n)) {
11018
11030
  const i = n.selectorText.split(/\+>~/).flatMap((a) => a.trim().split(" "));
11019
11031
  if (i.length === 1 && i[0].trim().startsWith(".em-")) {
@@ -11027,14 +11039,14 @@ ${u}`;
11027
11039
  }
11028
11040
  }
11029
11041
  }
11030
- } else Qt.isMediaRule(n) && Zo(e, n.cssRules, r);
11042
+ } else Qt.isMediaRule(n) && Yo(e, n.cssRules, r);
11031
11043
  }
11032
- function Yo(e, t) {
11044
+ function Jo(e, t) {
11033
11045
  const r = t.sheet;
11034
11046
  if (r) {
11035
11047
  const a = new Set();
11036
- Zo(e, r.cssRules, (s, l) => {
11037
- const u = Ip(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
11048
+ Yo(e, r.cssRules, (s, l) => {
11049
+ const u = Mp(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
11038
11050
  return !m.find((w) => Qt.isStyleRule(w) && w.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
11039
11051
  .${u} { ${s}: ${l} };
11040
11052
  ${t.innerHTML}`), u;
@@ -11046,12 +11058,12 @@ ${t.innerHTML}`);
11046
11058
  const n = t.innerHTML, i = n.replace(/!important/g, "");
11047
11059
  n !== i && (t.innerHTML = i);
11048
11060
  }
11049
- function Mp(e) {
11061
+ function jp(e) {
11050
11062
  const t = Yt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
11051
11063
  if (n.length === 1) {
11052
11064
  const a = n[0];
11053
11065
  if (a.parentElement === t && a.getAttribute(ti) === "") {
11054
- Yo(e, a);
11066
+ Jo(e, a);
11055
11067
  return;
11056
11068
  }
11057
11069
  }
@@ -11061,16 +11073,16 @@ ${t.innerHTML}`);
11061
11073
  const a = e.createElement("style");
11062
11074
  a.innerHTML = `
11063
11075
  ${i.join("")}
11064
- `, a.setAttribute(ti, ""), t.append(a), Yo(e, a);
11076
+ `, a.setAttribute(ti, ""), t.append(a), Jo(e, a);
11065
11077
  }
11066
11078
  for (const a of r) a.remove();
11067
11079
  }
11068
- function jp(e) {
11080
+ function Dp(e) {
11069
11081
  const t = e.querySelector(`style[${ti}]`);
11070
11082
  t && t.removeAttribute(ti);
11071
11083
  }
11072
- var Dp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ri = "<!doctype html>";
11073
- function Lp(e) {
11084
+ var Lp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ri = "<!doctype html>";
11085
+ function Fp(e) {
11074
11086
  const t = e.doctype;
11075
11087
  if (t) {
11076
11088
  if (Ci(t) === ri) return;
@@ -11081,19 +11093,19 @@ ${i.join("")}
11081
11093
  e.insertBefore(r, e.firstChild);
11082
11094
  }
11083
11095
  }
11084
- function Fp(e) {
11096
+ function Up(e) {
11085
11097
  const t = e.doctype;
11086
11098
  if (t && Ci(t).toLowerCase() === ri) {
11087
- const r = new DOMParser().parseFromString(Dp, "text/html").doctype;
11099
+ const r = new DOMParser().parseFromString(Lp, "text/html").doctype;
11088
11100
  e.replaceChild(r, t);
11089
11101
  }
11090
11102
  }
11091
- async function Jo(e, t = {}) {
11092
- const r = document.createElement("amp-img"), n = await pa(e) || void 0, i = [];
11103
+ async function Xo(e, t = {}) {
11104
+ const r = document.createElement("amp-img"), n = await fa(e) || void 0, i = [];
11093
11105
  try {
11094
11106
  let a = e;
11095
11107
  for (; a && ki(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
11096
- const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = Pp(e);
11108
+ const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = Rp(e);
11097
11109
  let m = !1;
11098
11110
  if (u) {
11099
11111
  const w = u.getAttribute("width");
@@ -11106,7 +11118,7 @@ ${i.join("")}
11106
11118
  }
11107
11119
  const b = e.src || e.srcset.split(",")[0];
11108
11120
  e.style.width === "100%" && e.style.removeProperty("width"), e.style.maxWidth === "100%" && e.style.removeProperty("max-width"), t = {
11109
- ...Go(e),
11121
+ ...Zo(e),
11110
11122
  alt: e.alt,
11111
11123
  width: l,
11112
11124
  height: s,
@@ -11120,18 +11132,18 @@ ${i.join("")}
11120
11132
  }
11121
11133
  return r;
11122
11134
  }
11123
- function Up(e) {
11124
- const t = document.createElement("img"), { layout: r, height: n, ...i } = Go(e), a = r === "responsive";
11135
+ function zp(e) {
11136
+ const t = document.createElement("img"), { layout: r, height: n, ...i } = Zo(e), a = r === "responsive";
11125
11137
  for (const s of Object.keys(i)) Et(t, s, i[s]);
11126
11138
  return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
11127
11139
  }
11128
- async function zp(e, t) {
11140
+ async function Bp(e, t) {
11129
11141
  const r = [...e.querySelectorAll("img")], n = [];
11130
- for (const a of r) n.push(Jo(a).then((s) => [a, s], () => [a, void 0]));
11142
+ for (const a of r) n.push(Xo(a).then((s) => [a, s], () => [a, void 0]));
11131
11143
  const i = [...e.querySelectorAll("picture")];
11132
11144
  for (const a of i) {
11133
11145
  const s = a.querySelector("img");
11134
- s ? n.push(Jo(s).then((l) => [a, l], () => [a, void 0])) : n.push([a, void 0]);
11146
+ s ? n.push(Xo(s).then((l) => [a, l], () => [a, void 0])) : n.push([a, void 0]);
11135
11147
  }
11136
11148
  if (n.length) {
11137
11149
  const a = await Promise.all(n);
@@ -11139,12 +11151,12 @@ ${i.join("")}
11139
11151
  t?.();
11140
11152
  }
11141
11153
  }
11142
- function Bp(e, t) {
11154
+ function qp(e, t) {
11143
11155
  const r = [...e.querySelectorAll("amp-img")];
11144
- for (const n of r) n.replaceWith(Up(n));
11156
+ for (const n of r) n.replaceWith(zp(n));
11145
11157
  r.length && t?.();
11146
11158
  }
11147
- function qp(e) {
11159
+ function Hp(e) {
11148
11160
  const t = e.querySelectorAll("meta");
11149
11161
  for (const i of t) {
11150
11162
  const a = i.getAttribute("charset");
@@ -11156,35 +11168,35 @@ ${i.join("")}
11156
11168
  const r = Yt(e), n = e.createElement("meta");
11157
11169
  n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
11158
11170
  }
11159
- function Hp(e, t, r) {
11171
+ function $p(e, t, r) {
11160
11172
  const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
11161
11173
  for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
11162
11174
  }
11163
- var Ji = "https://cdn.ampproject.org/v0", Xo = `${Ji}.js`, $p = `script[src='${Xo}']`;
11164
- function Wp(e, t) {
11175
+ var Ji = "https://cdn.ampproject.org/v0", Ko = `${Ji}.js`, Wp = `script[src='${Ko}']`;
11176
+ function Qp(e, t) {
11165
11177
  return `${Ji}/${e.toLowerCase()}-${t}.js`;
11166
11178
  }
11167
- async function Qp(e, t, r) {
11179
+ async function Vp(e, t, r) {
11168
11180
  for (const { name: n, versions: i } of t) {
11169
11181
  const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
11170
11182
  if (!e.querySelector(a)) {
11171
- const s = Yt(e), l = r.createElementFn("script"), u = Wp(n, i.findLast((m) => m !== "latest") || "v0");
11183
+ const s = Yt(e), l = r.createElementFn("script"), u = Qp(n, i.findLast((m) => m !== "latest") || "v0");
11172
11184
  l.setAttribute("async", ""), l.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), l.setAttribute("src", u), s.appendChild(l), s.appendChild(e.createTextNode(`
11173
11185
  `));
11174
11186
  }
11175
11187
  }
11176
11188
  }
11177
- function Vp(e, t) {
11189
+ function Gp(e, t) {
11178
11190
  const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
11179
11191
  for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
11180
- for (const i of r) es(i) && i.tagName !== "FORM" && i.remove();
11192
+ for (const i of r) ts(i) && i.tagName !== "FORM" && i.remove();
11181
11193
  }
11182
- var Ko = void 0;
11194
+ var es = void 0;
11183
11195
  async function ii() {
11184
- return Ko || (Ko = await Promise.resolve().then(() => nt("./7200aced.js")).then((e) => e.default));
11196
+ return es || (es = await Promise.resolve().then(() => nt("./7200aced.js")).then((e) => e.default));
11185
11197
  }
11186
11198
  var Xi = new Map();
11187
- async function Gp() {
11199
+ async function Zp() {
11188
11200
  if (!Xi.size) {
11189
11201
  const e = await ii(), t = e.tags;
11190
11202
  for (let r = 0; r < t.length; r++) {
@@ -11199,25 +11211,25 @@ ${i.join("")}
11199
11211
  return Xi;
11200
11212
  }
11201
11213
  var Ki = new Map();
11202
- async function Zp() {
11214
+ async function Yp() {
11203
11215
  if (!Ki.size) {
11204
11216
  const e = await ii();
11205
11217
  for (const t of e.declarations) Ki.set(t.name, t);
11206
11218
  }
11207
11219
  return Ki;
11208
11220
  }
11209
- var Yp = "$GLOBAL_ATTRS", en = new Map();
11210
- async function Jp() {
11221
+ var Jp = "$GLOBAL_ATTRS", en = new Map();
11222
+ async function Xp() {
11211
11223
  if (!en.size) {
11212
- const e = (await ii()).attrLists.find((t) => t.name === Yp)?.attrs;
11224
+ const e = (await ii()).attrLists.find((t) => t.name === Jp)?.attrs;
11213
11225
  if (e) for (const t of e) en.set(t.name, t);
11214
11226
  }
11215
11227
  return en;
11216
11228
  }
11217
- function es(e) {
11229
+ function ts(e) {
11218
11230
  return tt(e) && (e.tagName.startsWith("AMP") || e.tagName === "FORM" || e.tagName === "TEMPLATE" && e.getAttribute("type")?.toLowerCase() === "amp-mustache");
11219
11231
  }
11220
- function ts(e, t, r) {
11232
+ function rs(e, t, r) {
11221
11233
  if (!t) return;
11222
11234
  function n() {
11223
11235
  const a = t.compareDocumentPosition(e);
@@ -11229,7 +11241,7 @@ ${i.join("")}
11229
11241
  }
11230
11242
  function i() {
11231
11243
  const a = [...e.childNodes];
11232
- for (let s = a.length - 1; s >= 0; s--) ts(a[s], t, r);
11244
+ for (let s = a.length - 1; s >= 0; s--) rs(a[s], t, r);
11233
11245
  }
11234
11246
  if (tt(e)) switch (e.tagName.toLowerCase()) {
11235
11247
  case "body": return;
@@ -11247,17 +11259,17 @@ ${i.join("")}
11247
11259
  }
11248
11260
  else Ti(e) ? i() : Vt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Vt(e.nextSibling)) && n();
11249
11261
  }
11250
- async function Xp(e, t) {
11262
+ async function Kp(e, t) {
11251
11263
  const r = new Set(), n = t.commit, i = (c) => t.replaceSelectors(c.toLowerCase());
11252
- if (t.replaceImages && await zp(e, n), t.injectExtensions) {
11253
- const c = t.replaceSelectors($p);
11264
+ if (t.replaceImages && await Bp(e, n), t.injectExtensions) {
11265
+ const c = t.replaceSelectors(Wp);
11254
11266
  if (!e.querySelector(c)) {
11255
11267
  const h = t.createElementFn("script");
11256
- h.setAttribute("src", Xo), h.setAttribute("async", ""), Yt(e).appendChild(h), n?.();
11268
+ h.setAttribute("src", Ko), h.setAttribute("async", ""), Yt(e).appendChild(h), n?.();
11257
11269
  }
11258
11270
  }
11259
- t.injectRequiredTags && (Hp(e, t.createElementFn, i), Lp(e), Rp(e), qp(e), n?.()), t.replaceStylesAndLinks && (Mp(e), n?.());
11260
- const a = await ii(), s = await Gp(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
11271
+ t.injectRequiredTags && ($p(e, t.createElementFn, i), Fp(e), Np(e), Hp(e), n?.()), t.replaceStylesAndLinks && (jp(e), n?.());
11272
+ const a = await ii(), s = await Zp(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
11261
11273
  for (let [c, h] of s) if (!h.deprecation) {
11262
11274
  c = i(c);
11263
11275
  let E = [...e.querySelectorAll(c)].filter((T) => !u.has(T));
@@ -11277,7 +11289,7 @@ ${i.join("")}
11277
11289
  if (t.injectExtensions && h.requiresExtension) for (const I of h.requiresExtension) r.add(I);
11278
11290
  const E = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
11279
11291
  E && (!c.parentNode || t.moveInvalidTagPosition) ? E !== c.parentNode && (h.name === "HEAD" || tt(E) && E.tagName === "HEAD" ? E.insertBefore(c, E.firstChild) : E.appendChild(c)) : c.parentNode || e.body.appendChild(c), t.removeUnsupportedTags && l.delete(c), n?.();
11280
- const T = await Jp();
11292
+ const T = await Xp();
11281
11293
  if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
11282
11294
  const I = h.attrs, _ = t.injectRequiredAttributes ? new Set([...I].map(([d, f]) => f).filter((d) => d.required && d.value)) : void 0, C = c.getAttributeNames();
11283
11295
  for (const d of C) {
@@ -11348,7 +11360,7 @@ ${i.join("")}
11348
11360
  }
11349
11361
  n?.();
11350
11362
  }
11351
- t.moveInvalidTagPosition && (ts(e, e.body, i), n?.());
11363
+ t.moveInvalidTagPosition && (rs(e, e.body, i), n?.());
11352
11364
  for (const c of l) c.remove();
11353
11365
  if (n?.(), t.removeUnsupportedStyles) {
11354
11366
  let E = function(d) {
@@ -11372,7 +11384,7 @@ ${i.join("")}
11372
11384
  T(x) ? x.selectorText.indexOf("[") >= 0 || x.selectorText.indexOf(":") >= 0 ? d.deleteRule(y) : (E(x.style), x.style.cssText || d.deleteRule(y)) : I(x) ? (_(x), x.cssRules.length || d.deleteRule(y)) : d.deleteRule(y);
11373
11385
  }
11374
11386
  };
11375
- const c = e.querySelectorAll("*"), h = await Zp();
11387
+ const c = e.querySelectorAll("*"), h = await Yp();
11376
11388
  for (const d of c) if (ki(d)) {
11377
11389
  const f = d.getAttribute("style");
11378
11390
  f && (E(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
@@ -11384,14 +11396,14 @@ ${i.join("")}
11384
11396
  `)), n?.();
11385
11397
  }
11386
11398
  }
11387
- await Qp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
11399
+ await Vp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
11388
11400
  }
11389
- function rs(e, t) {
11401
+ function is(e, t) {
11390
11402
  return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
11391
11403
  }
11392
- function Kp(e, t = {}) {
11404
+ function ef(e, t = {}) {
11393
11405
  const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
11394
- return Xp(e, {
11406
+ return Kp(e, {
11395
11407
  replaceImages: r,
11396
11408
  replaceStylesAndLinks: r,
11397
11409
  injectRequiredTags: r,
@@ -11403,18 +11415,18 @@ ${i.join("")}
11403
11415
  removeUnsupportedAttributes: r,
11404
11416
  removeUnsupportedStyles: r,
11405
11417
  createElementFn: (a) => e.createElement(i[a.toLowerCase()] || a),
11406
- replaceSelectors: (a) => rs(a.toLowerCase(), i),
11418
+ replaceSelectors: (a) => is(a.toLowerCase(), i),
11407
11419
  commit: t.commit
11408
11420
  });
11409
11421
  }
11410
- function ef(e, t = {}) {
11411
- const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, s = (u) => e.createElement(i[u.toLowerCase()] || u), l = (u) => rs(u, i);
11422
+ function tf(e, t = {}) {
11423
+ const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, s = (u) => e.createElement(i[u.toLowerCase()] || u), l = (u) => is(u, i);
11412
11424
  if (r) {
11413
- Bp(e), Fp(e), jp(e), Np(e);
11414
- const u = Vo(e);
11425
+ qp(e), Up(e), Dp(e), Ip(e);
11426
+ const u = Go(e);
11415
11427
  u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
11416
11428
  }
11417
- n && (Vp(e, {
11429
+ n && (Gp(e, {
11418
11430
  formsAsAmpForms: t.removeExtensions,
11419
11431
  createElementFn: s,
11420
11432
  replaceSelectors: l
@@ -11438,7 +11450,7 @@ ${i.join("")}
11438
11450
  }), Object.defineProperty(M, "DEFAULT_INIT_PIPELINE_CONTEXT", {
11439
11451
  enumerable: !0,
11440
11452
  get: function() {
11441
- return Cu;
11453
+ return ku;
11442
11454
  }
11443
11455
  }), Object.defineProperty(M, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
11444
11456
  enumerable: !0,
@@ -11453,22 +11465,22 @@ ${i.join("")}
11453
11465
  }), Object.defineProperty(M, "InitPipelineContext", {
11454
11466
  enumerable: !0,
11455
11467
  get: function() {
11456
- return Yn;
11468
+ return Jn;
11457
11469
  }
11458
11470
  }), Object.defineProperty(M, "ListenerUpdater", {
11459
11471
  enumerable: !0,
11460
11472
  get: function() {
11461
- return bu;
11473
+ return _u;
11462
11474
  }
11463
11475
  }), Object.defineProperty(M, "PLUGIN_REGISTRY_ID", {
11464
11476
  enumerable: !0,
11465
11477
  get: function() {
11466
- return Jn;
11478
+ return Xn;
11467
11479
  }
11468
11480
  }), Object.defineProperty(M, "USAGE_LIMIT_EXCEEDED_CODE", {
11469
11481
  enumerable: !0,
11470
11482
  get: function() {
11471
- return Qs;
11483
+ return Vs;
11472
11484
  }
11473
11485
  }), Object.defineProperty(M, "addUserToProjectApi", {
11474
11486
  enumerable: !0,
@@ -11478,7 +11490,7 @@ ${i.join("")}
11478
11490
  }), Object.defineProperty(M, "amp2html", {
11479
11491
  enumerable: !0,
11480
11492
  get: function() {
11481
- return ef;
11493
+ return tf;
11482
11494
  }
11483
11495
  }), Object.defineProperty(M, "changeHtml", {
11484
11496
  enumerable: !0,
@@ -11488,7 +11500,7 @@ ${i.join("")}
11488
11500
  }), Object.defineProperty(M, "clearStandaloneSecurityModule", {
11489
11501
  enumerable: !0,
11490
11502
  get: function() {
11491
- return mu;
11503
+ return gu;
11492
11504
  }
11493
11505
  }), Object.defineProperty(M, "createAbortError", {
11494
11506
  enumerable: !0,
@@ -11508,12 +11520,12 @@ ${i.join("")}
11508
11520
  }), Object.defineProperty(M, "createQueue", {
11509
11521
  enumerable: !0,
11510
11522
  get: function() {
11511
- return ls;
11523
+ return cs;
11512
11524
  }
11513
11525
  }), Object.defineProperty(M, "createStore", {
11514
11526
  enumerable: !0,
11515
11527
  get: function() {
11516
- return tu;
11528
+ return ru;
11517
11529
  }
11518
11530
  }), Object.defineProperty(M, "emailRawApi", {
11519
11531
  enumerable: !0,
@@ -11523,52 +11535,52 @@ ${i.join("")}
11523
11535
  }), Object.defineProperty(M, "extractDocumentTextContent", {
11524
11536
  enumerable: !0,
11525
11537
  get: function() {
11526
- return Op;
11538
+ return Pp;
11527
11539
  }
11528
11540
  }), Object.defineProperty(M, "extractServerProjectIdFromToken", {
11529
11541
  enumerable: !0,
11530
11542
  get: function() {
11531
- return cu;
11543
+ return uu;
11532
11544
  }
11533
11545
  }), Object.defineProperty(M, "fetchWithApiOriginFailover", {
11534
11546
  enumerable: !0,
11535
11547
  get: function() {
11536
- return cs;
11548
+ return us;
11537
11549
  }
11538
11550
  }), Object.defineProperty(M, "findShadowRoot", {
11539
11551
  enumerable: !0,
11540
11552
  get: function() {
11541
- return dd;
11553
+ return pd;
11542
11554
  }
11543
11555
  }), Object.defineProperty(M, "getEML", {
11544
11556
  enumerable: !0,
11545
11557
  get: function() {
11546
- return fp;
11558
+ return hp;
11547
11559
  }
11548
11560
  }), Object.defineProperty(M, "getElementInnerHTML", {
11549
11561
  enumerable: !0,
11550
11562
  get: function() {
11551
- return fa;
11563
+ return ha;
11552
11564
  }
11553
11565
  }), Object.defineProperty(M, "getElementStartHtml_VDOM", {
11554
11566
  enumerable: !0,
11555
11567
  get: function() {
11556
- return td;
11568
+ return rd;
11557
11569
  }
11558
11570
  }), Object.defineProperty(M, "getFileNameAndExt", {
11559
11571
  enumerable: !0,
11560
11572
  get: function() {
11561
- return zo;
11573
+ return Bo;
11562
11574
  }
11563
11575
  }), Object.defineProperty(M, "getFileNameWithExt", {
11564
11576
  enumerable: !0,
11565
11577
  get: function() {
11566
- return hp;
11578
+ return mp;
11567
11579
  }
11568
11580
  }), Object.defineProperty(M, "getImageByUrl", {
11569
11581
  enumerable: !0,
11570
11582
  get: function() {
11571
- return $o;
11583
+ return Wo;
11572
11584
  }
11573
11585
  }), Object.defineProperty(M, "getOuterHtml", {
11574
11586
  enumerable: !0,
@@ -11578,47 +11590,47 @@ ${i.join("")}
11578
11590
  }), Object.defineProperty(M, "getSaveTimeoutMs", {
11579
11591
  enumerable: !0,
11580
11592
  get: function() {
11581
- return ku;
11593
+ return Tu;
11582
11594
  }
11583
11595
  }), Object.defineProperty(M, "html2amp", {
11584
11596
  enumerable: !0,
11585
11597
  get: function() {
11586
- return Kp;
11598
+ return ef;
11587
11599
  }
11588
11600
  }), Object.defineProperty(M, "htmlFilesToZip", {
11589
11601
  enumerable: !0,
11590
11602
  get: function() {
11591
- return kp;
11603
+ return Tp;
11592
11604
  }
11593
11605
  }), Object.defineProperty(M, "htmlToFilesData", {
11594
11606
  enumerable: !0,
11595
11607
  get: function() {
11596
- return Cp;
11608
+ return kp;
11597
11609
  }
11598
11610
  }), Object.defineProperty(M, "imageToBlob", {
11599
11611
  enumerable: !0,
11600
11612
  get: function() {
11601
- return Wo;
11613
+ return Qo;
11602
11614
  }
11603
11615
  }), Object.defineProperty(M, "injectStandaloneMocks", {
11604
11616
  enumerable: !0,
11605
11617
  get: function() {
11606
- return du;
11618
+ return pu;
11607
11619
  }
11608
11620
  }), Object.defineProperty(M, "installStandaloneMockGuard", {
11609
11621
  enumerable: !0,
11610
11622
  get: function() {
11611
- return fu;
11623
+ return hu;
11612
11624
  }
11613
11625
  }), Object.defineProperty(M, "isAmpElement", {
11614
11626
  enumerable: !0,
11615
11627
  get: function() {
11616
- return es;
11628
+ return ts;
11617
11629
  }
11618
11630
  }), Object.defineProperty(M, "isDeferredStandalone", {
11619
11631
  enumerable: !0,
11620
11632
  get: function() {
11621
- return $n;
11633
+ return Wn;
11622
11634
  }
11623
11635
  }), Object.defineProperty(M, "isDocument", {
11624
11636
  enumerable: !0,
@@ -11628,7 +11640,7 @@ ${i.join("")}
11628
11640
  }), Object.defineProperty(M, "isDocumentFragment", {
11629
11641
  enumerable: !0,
11630
11642
  get: function() {
11631
- return ld;
11643
+ return cd;
11632
11644
  }
11633
11645
  }), Object.defineProperty(M, "isElement", {
11634
11646
  enumerable: !0,
@@ -11638,12 +11650,12 @@ ${i.join("")}
11638
11650
  }), Object.defineProperty(M, "isForm", {
11639
11651
  enumerable: !0,
11640
11652
  get: function() {
11641
- return od;
11653
+ return sd;
11642
11654
  }
11643
11655
  }), Object.defineProperty(M, "isImmediateStandalone", {
11644
11656
  enumerable: !0,
11645
11657
  get: function() {
11646
- return vu;
11658
+ return bu;
11647
11659
  }
11648
11660
  }), Object.defineProperty(M, "isTextNode", {
11649
11661
  enumerable: !0,
@@ -11663,7 +11675,7 @@ ${i.join("")}
11663
11675
  }), Object.defineProperty(M, "normalizeUrl", {
11664
11676
  enumerable: !0,
11665
11677
  get: function() {
11666
- return Bd;
11678
+ return qd;
11667
11679
  }
11668
11680
  }), Object.defineProperty(M, "notificationsApi", {
11669
11681
  enumerable: !0,
@@ -11678,22 +11690,22 @@ ${i.join("")}
11678
11690
  }), Object.defineProperty(M, "pluginRegistry", {
11679
11691
  enumerable: !0,
11680
11692
  get: function() {
11681
- return Ou;
11693
+ return Pu;
11682
11694
  }
11683
11695
  }), Object.defineProperty(M, "prepareEmailHtmlForEditor", {
11684
11696
  enumerable: !0,
11685
11697
  get: function() {
11686
- return ep;
11698
+ return tp;
11687
11699
  }
11688
11700
  }), Object.defineProperty(M, "prepareEvent", {
11689
11701
  enumerable: !0,
11690
11702
  get: function() {
11691
- return _u;
11703
+ return yu;
11692
11704
  }
11693
11705
  }), Object.defineProperty(M, "prepareHTML", {
11694
11706
  enumerable: !0,
11695
11707
  get: function() {
11696
- return Ep;
11708
+ return xp;
11697
11709
  }
11698
11710
  }), Object.defineProperty(M, "projectSettingsV2Api", {
11699
11711
  enumerable: !0,
@@ -11708,7 +11720,7 @@ ${i.join("")}
11708
11720
  }), Object.defineProperty(M, "promoteNewEmailAfterSave", {
11709
11721
  enumerable: !0,
11710
11722
  get: function() {
11711
- return Pc;
11723
+ return Rc;
11712
11724
  }
11713
11725
  }), Object.defineProperty(M, "proxyApi", {
11714
11726
  enumerable: !0,
@@ -11718,22 +11730,22 @@ ${i.join("")}
11718
11730
  }), Object.defineProperty(M, "raceWithAbortSignal", {
11719
11731
  enumerable: !0,
11720
11732
  get: function() {
11721
- return ss;
11733
+ return ls;
11722
11734
  }
11723
11735
  }), Object.defineProperty(M, "refetchIfActive", {
11724
11736
  enumerable: !0,
11725
11737
  get: function() {
11726
- return Dl;
11738
+ return Ll;
11727
11739
  }
11728
11740
  }), Object.defineProperty(M, "registerDefaultFileProxy", {
11729
11741
  enumerable: !0,
11730
11742
  get: function() {
11731
- return hu;
11743
+ return mu;
11732
11744
  }
11733
11745
  }), Object.defineProperty(M, "removeEmailFromList", {
11734
11746
  enumerable: !0,
11735
11747
  get: function() {
11736
- return Bc;
11748
+ return qc;
11737
11749
  }
11738
11750
  }), Object.defineProperty(M, "replaceImagesInDocument", {
11739
11751
  enumerable: !0,
@@ -11753,27 +11765,27 @@ ${i.join("")}
11753
11765
  }), Object.defineProperty(M, "resetElementHistorySlice", {
11754
11766
  enumerable: !0,
11755
11767
  get: function() {
11756
- return Jc;
11768
+ return Xc;
11757
11769
  }
11758
11770
  }), Object.defineProperty(M, "resetElementsList", {
11759
11771
  enumerable: !0,
11760
11772
  get: function() {
11761
- return zc;
11773
+ return Bc;
11762
11774
  }
11763
11775
  }), Object.defineProperty(M, "resetNewBlockSlice", {
11764
11776
  enumerable: !0,
11765
11777
  get: function() {
11766
- return Dc;
11778
+ return Lc;
11767
11779
  }
11768
11780
  }), Object.defineProperty(M, "resetNewEmailSlice", {
11769
11781
  enumerable: !0,
11770
11782
  get: function() {
11771
- return Ac;
11783
+ return Cc;
11772
11784
  }
11773
11785
  }), Object.defineProperty(M, "resetPagesAndTotal", {
11774
11786
  enumerable: !0,
11775
11787
  get: function() {
11776
- return Fc;
11788
+ return Uc;
11777
11789
  }
11778
11790
  }), Object.defineProperty(M, "resolveStandaloneKey", {
11779
11791
  enumerable: !0,
@@ -11783,7 +11795,7 @@ ${i.join("")}
11783
11795
  }), Object.defineProperty(M, "resolveTemplateDirectivesConfig", {
11784
11796
  enumerable: !0,
11785
11797
  get: function() {
11786
- return Vu;
11798
+ return Gu;
11787
11799
  }
11788
11800
  }), Object.defineProperty(M, "sanitizeFileName", {
11789
11801
  enumerable: !0,
@@ -11798,172 +11810,172 @@ ${i.join("")}
11798
11810
  }), Object.defineProperty(M, "selectBlocksTotal", {
11799
11811
  enumerable: !0,
11800
11812
  get: function() {
11801
- return Gc;
11813
+ return Zc;
11802
11814
  }
11803
11815
  }), Object.defineProperty(M, "selectCustomFolders", {
11804
11816
  enumerable: !0,
11805
11817
  get: function() {
11806
- return Wc;
11818
+ return Qc;
11807
11819
  }
11808
11820
  }), Object.defineProperty(M, "selectElementHistoryTotalPages", {
11809
11821
  enumerable: !0,
11810
11822
  get: function() {
11811
- return Xc;
11823
+ return Kc;
11812
11824
  }
11813
11825
  }), Object.defineProperty(M, "selectElementsList", {
11814
11826
  enumerable: !0,
11815
11827
  get: function() {
11816
- return $c;
11828
+ return Wc;
11817
11829
  }
11818
11830
  }), Object.defineProperty(M, "selectElementsTrashList", {
11819
11831
  enumerable: !0,
11820
11832
  get: function() {
11821
- return Vc;
11833
+ return Gc;
11822
11834
  }
11823
11835
  }), Object.defineProperty(M, "selectElementsView", {
11824
11836
  enumerable: !0,
11825
11837
  get: function() {
11826
- return Hc;
11838
+ return $c;
11827
11839
  }
11828
11840
  }), Object.defineProperty(M, "selectEmailsTotal", {
11829
11841
  enumerable: !0,
11830
11842
  get: function() {
11831
- return qc;
11843
+ return Hc;
11832
11844
  }
11833
11845
  }), Object.defineProperty(M, "selectEmailsTrashTotal", {
11834
11846
  enumerable: !0,
11835
11847
  get: function() {
11836
- return Qc;
11848
+ return Vc;
11837
11849
  }
11838
11850
  }), Object.defineProperty(M, "selectHistoryData", {
11839
11851
  enumerable: !0,
11840
11852
  get: function() {
11841
- return Kc;
11853
+ return eu;
11842
11854
  }
11843
11855
  }), Object.defineProperty(M, "selectNewBlockHasChanged", {
11844
11856
  enumerable: !0,
11845
11857
  get: function() {
11846
- return Lc;
11858
+ return Fc;
11847
11859
  }
11848
11860
  }), Object.defineProperty(M, "selectNewEmailAppliedShowToken", {
11849
11861
  enumerable: !0,
11850
11862
  get: function() {
11851
- return Nc;
11863
+ return Ic;
11852
11864
  }
11853
11865
  }), Object.defineProperty(M, "selectNewEmailHasChanged", {
11854
11866
  enumerable: !0,
11855
11867
  get: function() {
11856
- return Ic;
11868
+ return Mc;
11857
11869
  }
11858
11870
  }), Object.defineProperty(M, "selectNewEmailSettings", {
11859
11871
  enumerable: !0,
11860
11872
  get: function() {
11861
- return Rc;
11873
+ return Nc;
11862
11874
  }
11863
11875
  }), Object.defineProperty(M, "selectParentEmailBlocksTotal", {
11864
11876
  enumerable: !0,
11865
11877
  get: function() {
11866
- return Yc;
11878
+ return Jc;
11867
11879
  }
11868
11880
  }), Object.defineProperty(M, "selectTemplateBlocksTotal", {
11869
11881
  enumerable: !0,
11870
11882
  get: function() {
11871
- return Zc;
11883
+ return Yc;
11872
11884
  }
11873
11885
  }), Object.defineProperty(M, "setNewBlockDescription", {
11874
11886
  enumerable: !0,
11875
11887
  get: function() {
11876
- return Mc;
11888
+ return jc;
11877
11889
  }
11878
11890
  }), Object.defineProperty(M, "setNewBlockTags", {
11879
11891
  enumerable: !0,
11880
11892
  get: function() {
11881
- return jc;
11893
+ return Dc;
11882
11894
  }
11883
11895
  }), Object.defineProperty(M, "setNewEmailAll", {
11884
11896
  enumerable: !0,
11885
11897
  get: function() {
11886
- return pc;
11898
+ return fc;
11887
11899
  }
11888
11900
  }), Object.defineProperty(M, "setNewEmailDescription", {
11889
11901
  enumerable: !0,
11890
11902
  get: function() {
11891
- return gc;
11903
+ return vc;
11892
11904
  }
11893
11905
  }), Object.defineProperty(M, "setNewEmailHtml", {
11894
11906
  enumerable: !0,
11895
11907
  get: function() {
11896
- return bc;
11908
+ return _c;
11897
11909
  }
11898
11910
  }), Object.defineProperty(M, "setNewEmailIsAmp", {
11899
11911
  enumerable: !0,
11900
11912
  get: function() {
11901
- return kc;
11913
+ return Tc;
11902
11914
  }
11903
11915
  }), Object.defineProperty(M, "setNewEmailIsTemplate", {
11904
11916
  enumerable: !0,
11905
11917
  get: function() {
11906
- return vc;
11918
+ return bc;
11907
11919
  }
11908
11920
  }), Object.defineProperty(M, "setNewEmailMeta", {
11909
11921
  enumerable: !0,
11910
11922
  get: function() {
11911
- return Tc;
11923
+ return Oc;
11912
11924
  }
11913
11925
  }), Object.defineProperty(M, "setNewEmailPreheader", {
11914
11926
  enumerable: !0,
11915
11927
  get: function() {
11916
- return mc;
11928
+ return gc;
11917
11929
  }
11918
11930
  }), Object.defineProperty(M, "setNewEmailProject", {
11919
11931
  enumerable: !0,
11920
11932
  get: function() {
11921
- return Oc;
11933
+ return Pc;
11922
11934
  }
11923
11935
  }), Object.defineProperty(M, "setNewEmailSubject", {
11924
11936
  enumerable: !0,
11925
11937
  get: function() {
11926
- return hc;
11938
+ return mc;
11927
11939
  }
11928
11940
  }), Object.defineProperty(M, "setNewEmailTags", {
11929
11941
  enumerable: !0,
11930
11942
  get: function() {
11931
- return _c;
11943
+ return yc;
11932
11944
  }
11933
11945
  }), Object.defineProperty(M, "setNewEmailTitle", {
11934
11946
  enumerable: !0,
11935
11947
  get: function() {
11936
- return fc;
11948
+ return hc;
11937
11949
  }
11938
11950
  }), Object.defineProperty(M, "setNewEmailUtmCampaign", {
11939
11951
  enumerable: !0,
11940
11952
  get: function() {
11941
- return Ec;
11953
+ return xc;
11942
11954
  }
11943
11955
  }), Object.defineProperty(M, "setNewEmailUtmContent", {
11944
11956
  enumerable: !0,
11945
11957
  get: function() {
11946
- return xc;
11958
+ return Sc;
11947
11959
  }
11948
11960
  }), Object.defineProperty(M, "setNewEmailUtmMedium", {
11949
11961
  enumerable: !0,
11950
11962
  get: function() {
11951
- return wc;
11963
+ return Ec;
11952
11964
  }
11953
11965
  }), Object.defineProperty(M, "setNewEmailUtmSource", {
11954
11966
  enumerable: !0,
11955
11967
  get: function() {
11956
- return yc;
11968
+ return wc;
11957
11969
  }
11958
11970
  }), Object.defineProperty(M, "setNewEmailUtmTerm", {
11959
11971
  enumerable: !0,
11960
11972
  get: function() {
11961
- return Sc;
11973
+ return Ac;
11962
11974
  }
11963
11975
  }), Object.defineProperty(M, "setNewIsInited", {
11964
11976
  enumerable: !0,
11965
11977
  get: function() {
11966
- return Cc;
11978
+ return kc;
11967
11979
  }
11968
11980
  }), Object.defineProperty(M, "src_default", {
11969
11981
  enumerable: !0,
@@ -11973,7 +11985,7 @@ ${i.join("")}
11973
11985
  }), Object.defineProperty(M, "syncStandaloneProjectState", {
11974
11986
  enumerable: !0,
11975
11987
  get: function() {
11976
- return uu;
11988
+ return du;
11977
11989
  }
11978
11990
  }), Object.defineProperty(M, "throwIfAborted", {
11979
11991
  enumerable: !0,
@@ -11988,7 +12000,7 @@ ${i.join("")}
11988
12000
  }), Object.defineProperty(M, "toggleElementsView", {
11989
12001
  enumerable: !0,
11990
12002
  get: function() {
11991
- return Uc;
12003
+ return zc;
11992
12004
  }
11993
12005
  }), Object.defineProperty(M, "tokenApi", {
11994
12006
  enumerable: !0,
@@ -11998,272 +12010,272 @@ ${i.join("")}
11998
12010
  }), Object.defineProperty(M, "useAddTemplateMutation", {
11999
12011
  enumerable: !0,
12000
12012
  get: function() {
12001
- return nl;
12013
+ return al;
12002
12014
  }
12003
12015
  }), Object.defineProperty(M, "useChangePasswordMutation", {
12004
12016
  enumerable: !0,
12005
12017
  get: function() {
12006
- return rc;
12018
+ return ic;
12007
12019
  }
12008
12020
  }), Object.defineProperty(M, "useCreateBroadcastMutation", {
12009
12021
  enumerable: !0,
12010
12022
  get: function() {
12011
- return Ml;
12023
+ return jl;
12012
12024
  }
12013
12025
  }), Object.defineProperty(M, "useCreateCampaignMutation", {
12014
12026
  enumerable: !0,
12015
12027
  get: function() {
12016
- return Rl;
12028
+ return Nl;
12017
12029
  }
12018
12030
  }), Object.defineProperty(M, "useCreateCampaignMutation$1", {
12019
12031
  enumerable: !0,
12020
12032
  get: function() {
12021
- return Cl;
12033
+ return kl;
12022
12034
  }
12023
12035
  }), Object.defineProperty(M, "useCreateCampaignMutation$2", {
12024
12036
  enumerable: !0,
12025
12037
  get: function() {
12026
- return Sl;
12038
+ return Al;
12027
12039
  }
12028
12040
  }), Object.defineProperty(M, "useCreateCampaignMutation$3", {
12029
12041
  enumerable: !0,
12030
12042
  get: function() {
12031
- return wl;
12043
+ return El;
12032
12044
  }
12033
12045
  }), Object.defineProperty(M, "useCreateCampaignMutation$4", {
12034
12046
  enumerable: !0,
12035
12047
  get: function() {
12036
- return _l;
12048
+ return yl;
12037
12049
  }
12038
12050
  }), Object.defineProperty(M, "useCreateCampaignMutation$5", {
12039
12051
  enumerable: !0,
12040
12052
  get: function() {
12041
- return pl;
12053
+ return fl;
12042
12054
  }
12043
12055
  }), Object.defineProperty(M, "useCreateCampaignMutation$6", {
12044
12056
  enumerable: !0,
12045
12057
  get: function() {
12046
- return cl;
12058
+ return ul;
12047
12059
  }
12048
12060
  }), Object.defineProperty(M, "useCreateConvertJobMutation", {
12049
12061
  enumerable: !0,
12050
12062
  get: function() {
12051
- return Ql;
12063
+ return Vl;
12052
12064
  }
12053
12065
  }), Object.defineProperty(M, "useCreateDraftMutation", {
12054
12066
  enumerable: !0,
12055
12067
  get: function() {
12056
- return il;
12068
+ return nl;
12057
12069
  }
12058
12070
  }), Object.defineProperty(M, "useCreateEmailMessageMutation", {
12059
12071
  enumerable: !0,
12060
12072
  get: function() {
12061
- return tl;
12073
+ return rl;
12062
12074
  }
12063
12075
  }), Object.defineProperty(M, "useCreateEmailMutation", {
12064
12076
  enumerable: !0,
12065
12077
  get: function() {
12066
- return gl;
12078
+ return vl;
12067
12079
  }
12068
12080
  }), Object.defineProperty(M, "useCreateEmailMutation$1", {
12069
12081
  enumerable: !0,
12070
12082
  get: function() {
12071
- return ml;
12083
+ return gl;
12072
12084
  }
12073
12085
  }), Object.defineProperty(M, "useCreateMailingMutation", {
12074
12086
  enumerable: !0,
12075
12087
  get: function() {
12076
- return rl;
12088
+ return il;
12077
12089
  }
12078
12090
  }), Object.defineProperty(M, "useCreateMessageMutation", {
12079
12091
  enumerable: !0,
12080
12092
  get: function() {
12081
- return ol;
12093
+ return sl;
12082
12094
  }
12083
12095
  }), Object.defineProperty(M, "useCreateNewsletterMutation", {
12084
12096
  enumerable: !0,
12085
12097
  get: function() {
12086
- return Ol;
12098
+ return Pl;
12087
12099
  }
12088
12100
  }), Object.defineProperty(M, "useDeleteTemporaryMailMutation", {
12089
12101
  enumerable: !0,
12090
12102
  get: function() {
12091
- return Ks;
12103
+ return el;
12092
12104
  }
12093
12105
  }), Object.defineProperty(M, "useEditImagesMutation", {
12094
12106
  enumerable: !0,
12095
12107
  get: function() {
12096
- return Zs;
12108
+ return Ys;
12097
12109
  }
12098
12110
  }), Object.defineProperty(M, "useEditLinksMutation", {
12099
12111
  enumerable: !0,
12100
12112
  get: function() {
12101
- return Gs;
12113
+ return Zs;
12102
12114
  }
12103
12115
  }), Object.defineProperty(M, "useEditSpamMutation", {
12104
12116
  enumerable: !0,
12105
12117
  get: function() {
12106
- return Ys;
12118
+ return Js;
12107
12119
  }
12108
12120
  }), Object.defineProperty(M, "useGenerateHtmlToPdfMutation", {
12109
12121
  enumerable: !0,
12110
12122
  get: function() {
12111
- return Wl;
12123
+ return Ql;
12112
12124
  }
12113
12125
  }), Object.defineProperty(M, "useGetAiGenerateStatusMutation", {
12114
12126
  enumerable: !0,
12115
12127
  get: function() {
12116
- return zl;
12128
+ return Bl;
12117
12129
  }
12118
12130
  }), Object.defineProperty(M, "useGetCheckoutUrlMutation", {
12119
12131
  enumerable: !0,
12120
12132
  get: function() {
12121
- return Yl;
12133
+ return Jl;
12122
12134
  }
12123
12135
  }), Object.defineProperty(M, "useGetDialogQuery", {
12124
12136
  enumerable: !0,
12125
12137
  get: function() {
12126
- return Ls;
12138
+ return Fs;
12127
12139
  }
12128
12140
  }), Object.defineProperty(M, "useGetInvoiceRequestMutation", {
12129
12141
  enumerable: !0,
12130
12142
  get: function() {
12131
- return Hl;
12143
+ return $l;
12132
12144
  }
12133
12145
  }), Object.defineProperty(M, "useGetNotificationsQuery", {
12134
12146
  enumerable: !0,
12135
12147
  get: function() {
12136
- return Gl;
12148
+ return Zl;
12137
12149
  }
12138
12150
  }), Object.defineProperty(M, "useGetProjectIntegrationsQuery", {
12139
12151
  enumerable: !0,
12140
12152
  get: function() {
12141
- return oc;
12153
+ return sc;
12142
12154
  }
12143
12155
  }), Object.defineProperty(M, "useGetProjectStorageQuery", {
12144
12156
  enumerable: !0,
12145
12157
  get: function() {
12146
- return nc;
12158
+ return ac;
12147
12159
  }
12148
12160
  }), Object.defineProperty(M, "useGetProjectTestRecipientsQuery", {
12149
12161
  enumerable: !0,
12150
12162
  get: function() {
12151
- return cc;
12163
+ return uc;
12152
12164
  }
12153
12165
  }), Object.defineProperty(M, "useGetProjectWebhookQuery", {
12154
12166
  enumerable: !0,
12155
12167
  get: function() {
12156
- return lc;
12168
+ return cc;
12157
12169
  }
12158
12170
  }), Object.defineProperty(M, "useLazyClearAiChatQuery", {
12159
12171
  enumerable: !0,
12160
12172
  get: function() {
12161
- return Fl;
12173
+ return Ul;
12162
12174
  }
12163
12175
  }), Object.defineProperty(M, "useLazyGetCanselRecurrenceQuery", {
12164
12176
  enumerable: !0,
12165
12177
  get: function() {
12166
- return Xl;
12178
+ return Kl;
12167
12179
  }
12168
12180
  }), Object.defineProperty(M, "useLazyGetConfirmationMailQuery", {
12169
12181
  enumerable: !0,
12170
12182
  get: function() {
12171
- return Jl;
12183
+ return Xl;
12172
12184
  }
12173
12185
  }), Object.defineProperty(M, "useLazyGetConvertJobStatusQuery", {
12174
12186
  enumerable: !0,
12175
12187
  get: function() {
12176
- return Vl;
12188
+ return Gl;
12177
12189
  }
12178
12190
  }), Object.defineProperty(M, "useLazyGetDialogQuery", {
12179
12191
  enumerable: !0,
12180
12192
  get: function() {
12181
- return Fs;
12193
+ return Us;
12182
12194
  }
12183
12195
  }), Object.defineProperty(M, "useLazyGetFileQuery", {
12184
12196
  enumerable: !0,
12185
12197
  get: function() {
12186
- return Us;
12198
+ return zs;
12187
12199
  }
12188
12200
  }), Object.defineProperty(M, "useLazyGetGeneratedContentQuery", {
12189
12201
  enumerable: !0,
12190
12202
  get: function() {
12191
- return Ul;
12203
+ return zl;
12192
12204
  }
12193
12205
  }), Object.defineProperty(M, "useLazyGetIntegrationCredentialsQuery", {
12194
12206
  enumerable: !0,
12195
12207
  get: function() {
12196
- return sc;
12208
+ return lc;
12197
12209
  }
12198
12210
  }), Object.defineProperty(M, "useLazyGetLocaleQuery", {
12199
12211
  enumerable: !0,
12200
12212
  get: function() {
12201
- return zs;
12213
+ return Bs;
12202
12214
  }
12203
12215
  }), Object.defineProperty(M, "useLazyGetLocalesQuery", {
12204
12216
  enumerable: !0,
12205
12217
  get: function() {
12206
- return Bs;
12218
+ return qs;
12207
12219
  }
12208
12220
  }), Object.defineProperty(M, "useLazyGetRecurrenceQuery", {
12209
12221
  enumerable: !0,
12210
12222
  get: function() {
12211
- return Kl;
12223
+ return ec;
12212
12224
  }
12213
12225
  }), Object.defineProperty(M, "useLogoutMutation", {
12214
12226
  enumerable: !0,
12215
12227
  get: function() {
12216
- return tc;
12228
+ return rc;
12217
12229
  }
12218
12230
  }), Object.defineProperty(M, "useMakeTemporaryMailForPngMutation", {
12219
12231
  enumerable: !0,
12220
12232
  get: function() {
12221
- return Xs;
12233
+ return Ks;
12222
12234
  }
12223
12235
  }), Object.defineProperty(M, "useNotificationShownMutation", {
12224
12236
  enumerable: !0,
12225
12237
  get: function() {
12226
- return Zl;
12238
+ return Yl;
12227
12239
  }
12228
12240
  }), Object.defineProperty(M, "usePostDataByWebHookMutation", {
12229
12241
  enumerable: !0,
12230
12242
  get: function() {
12231
- return el;
12243
+ return tl;
12232
12244
  }
12233
12245
  }), Object.defineProperty(M, "usePutProjectSettingsMutation", {
12234
12246
  enumerable: !0,
12235
12247
  get: function() {
12236
- return ac;
12248
+ return oc;
12237
12249
  }
12238
12250
  }), Object.defineProperty(M, "usePutProjectTestRecipientsMutation", {
12239
12251
  enumerable: !0,
12240
12252
  get: function() {
12241
- return uc;
12253
+ return dc;
12242
12254
  }
12243
12255
  }), Object.defineProperty(M, "useSendLivePreviewMutation", {
12244
12256
  enumerable: !0,
12245
12257
  get: function() {
12246
- return $s;
12258
+ return Ws;
12247
12259
  }
12248
12260
  }), Object.defineProperty(M, "useSendMessageMutation", {
12249
12261
  enumerable: !0,
12250
12262
  get: function() {
12251
- return Ds;
12263
+ return Ls;
12252
12264
  }
12253
12265
  }), Object.defineProperty(M, "useSendShortLinkMutation", {
12254
12266
  enumerable: !0,
12255
12267
  get: function() {
12256
- return Ws;
12268
+ return Qs;
12257
12269
  }
12258
12270
  }), Object.defineProperty(M, "useSendTestEmailMutation", {
12259
12271
  enumerable: !0,
12260
12272
  get: function() {
12261
- return Hs;
12273
+ return $s;
12262
12274
  }
12263
12275
  }), Object.defineProperty(M, "useUploadImageMutation", {
12264
12276
  enumerable: !0,
12265
12277
  get: function() {
12266
- return qs;
12278
+ return Hs;
12267
12279
  }
12268
12280
  });
12269
12281
  });