useblocks 1.1.81 → 1.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/README.md +17 -6
- package/iframe/css/sandbox-dark.css +1 -1
- package/iframe/css/sandbox-darktheme.css +3 -3
- package/iframe/css/sandbox-light.css +1 -1
- package/iframe/css/sandbox.css +2 -2
- package/iframe/js/amp.D1dkO3ub.js +1 -0
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/package.json +1 -1
- package/static/core/{dfbad00e.js → 16c7408a.js} +4 -4
- package/static/core/{909c874d2.js → 278c19282.js} +982 -974
- package/static/core/{87de8255.js → 27b7d154.js} +3 -3
- package/static/core/{cc4c61c42.js → 7877b5712.js} +135 -135
- package/static/core/{ace7c2d1.js → 86acf537.js} +7 -7
- package/static/core/{6fc5508e2.js → 95074b4e2.js} +53 -53
- package/static/core/{f2b0c97b2.js → 9a1229572.js} +849 -836
- package/static/core/{6a3ea43c.js → ab3c035c.js} +6 -6
- package/static/core/{496a28e52.js → b8fa83f82.js} +562 -562
- package/static/core/{7cff1d56.js → bb8665a8.js} +77 -4
- package/static/core/{fc514220.js → c013e7cc.js} +73 -73
- package/static/core/{5cc21a00.js → c871702e.js} +608 -603
- package/static/core/{4296ff4b.js → cf26b064.js} +240 -240
- package/static/core/{d2293148.js → d15a988b.js} +7 -7
- package/static/core/{f7e3905a.js → d4962564.js} +3 -3
- package/static/core/{1ab52017.js → dc948de7.js} +7 -7
- package/static/core/{c287f8b6.js → e9b6fbb9.js} +36 -36
- package/static/core/{d70b5c31.js → ec6e74e5.js} +12965 -12545
- package/static/umd-runtime/{n8zqoGYh.js → D80ABE1O.js} +7 -1
- package/static/umd-runtime/runtime.js +2 -2
- package/static/umd-runtime/ui-kit.js +1742 -1734
- package/ui-kit/index.js +1859 -1851
- package/{useblocks-core.0a682f7d.js → useblocks-core.2fa005e8.js} +6 -6
- package/useblocks-esm.js +4 -4
- package/{useblocks-po.0a682f7d.js → useblocks-po.2fa005e8.js} +1 -1
- package/useblocks.d.ts +51 -24
- package/useblocks.js +3 -3
- package/iframe/js/amp.Da_6yDxX.js +0 -1
- /package/iframe/{iframe-eblock.0a682f7d.html → iframe-eblock.2fa005e8.html} +0 -0
- /package/iframe/{iframe.0a682f7d.html → iframe.2fa005e8.html} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/c871702e.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/df237243.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/bb8665a8.js",
|
|
7
|
+
"static/core/27b7d154.js",
|
|
8
8
|
"static/core/9355751a.js",
|
|
9
|
-
"static/core/
|
|
9
|
+
"static/core/d4962564.js",
|
|
10
10
|
"dayjs"
|
|
11
|
-
], function(Oe, x,
|
|
12
|
-
const hi = Oe("./df237243.js"), u = Oe("./
|
|
11
|
+
], function(Oe, x, ah) {
|
|
12
|
+
const hi = Oe("./df237243.js"), u = Oe("./bb8665a8.js"), re = Oe("./27b7d154.js"), rn = Oe("./9355751a.js"), Ut = Oe("./d4962564.js");
|
|
13
13
|
let pt = Oe("dayjs");
|
|
14
14
|
pt = hi.__toESM(pt);
|
|
15
15
|
var Ys = class {
|
|
@@ -548,8 +548,8 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
548
548
|
for (O == 16 ? (U = 3 + ue(e, m, 3), m += 2, N = _[T - 1]) : O == 17 ? (U = 3 + ue(e, m, 7), m += 3) : O == 18 && (U = 11 + ue(e, m, 127), m += 7); U--;) _[T++] = N;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
var Z = _.subarray(0, p),
|
|
552
|
-
A = Bt(Z), C = Bt(
|
|
551
|
+
var Z = _.subarray(0, p), G = _.subarray(p);
|
|
552
|
+
A = Bt(Z), C = Bt(G), y = le(Z, A, 1), S = le(G, C, 1);
|
|
553
553
|
} else $(1);
|
|
554
554
|
else {
|
|
555
555
|
var O = ht(m) + 4, d = e[O - 4] | e[O - 3] << 8, c = O + d;
|
|
@@ -584,10 +584,10 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
584
584
|
}
|
|
585
585
|
var ce = S[qt(e, m) & ae], de = ce >> 4;
|
|
586
586
|
ce || $(3), m += ce & 15;
|
|
587
|
-
var
|
|
587
|
+
var G = xi[de];
|
|
588
588
|
if (de > 3) {
|
|
589
589
|
var q = $e[de];
|
|
590
|
-
|
|
590
|
+
G += qt(e, m) & (1 << q) - 1, m += q;
|
|
591
591
|
}
|
|
592
592
|
if (m > k) {
|
|
593
593
|
l && $(0);
|
|
@@ -595,11 +595,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
595
595
|
}
|
|
596
596
|
s && f(b + 131072);
|
|
597
597
|
var D = b + K;
|
|
598
|
-
if (b <
|
|
599
|
-
var Te = a -
|
|
598
|
+
if (b < G) {
|
|
599
|
+
var Te = a - G, I = Math.min(G, D);
|
|
600
600
|
for (Te + b < 0 && $(3); b < I; ++b) r[b] = n[Te + b];
|
|
601
601
|
}
|
|
602
|
-
for (; b < D; ++b) r[b] = r[b -
|
|
602
|
+
for (; b < D; ++b) r[b] = r[b - G];
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
t.l = y, t.p = se, t.b = b, t.f = h, y && (h = 1, t.m = A, t.d = S, t.n = C);
|
|
@@ -695,7 +695,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
695
695
|
c: r.subarray(0, n),
|
|
696
696
|
n: t
|
|
697
697
|
};
|
|
698
|
-
},
|
|
698
|
+
}, Ge = function(e, t) {
|
|
699
699
|
for (var r = 0, n = 0; n < t.length; ++n) r += e[n] * t[n];
|
|
700
700
|
return r;
|
|
701
701
|
}, sn = function(e, t, r) {
|
|
@@ -708,11 +708,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
708
708
|
for (var m = $t(i, 15), b = m.t, y = m.l, S = $t(a, 15), A = S.t, C = S.l, k = on(b), P = k.c, O = k.n, d = on(A), c = d.c, p = d.n, v = new ie(19), g = 0; g < P.length; ++g) ++v[P[g] & 31];
|
|
709
709
|
for (var g = 0; g < c.length; ++g) ++v[c[g] & 31];
|
|
710
710
|
for (var _ = $t(v, 7), E = _.t, T = _.l, j = 19; j > 4 && !E[ft[j - 1]]; --j);
|
|
711
|
-
var M = f + 5 << 3, L =
|
|
711
|
+
var M = f + 5 << 3, L = Ge(i, _e) + Ge(a, He) + o, R = Ge(i, b) + Ge(a, A) + o + 14 + 3 * j + Ge(v, E) + 2 * v[16] + 3 * v[17] + 7 * v[18];
|
|
712
712
|
if (l >= 0 && M <= L && M <= R) return sn(t, h, e.subarray(l, l + f));
|
|
713
|
-
var N, U, Z,
|
|
713
|
+
var N, U, Z, G;
|
|
714
714
|
if (ge(t, h, 1 + (R < L)), h += 2, R < L) {
|
|
715
|
-
N = le(b, y, 0), U = b, Z = le(A, C, 0),
|
|
715
|
+
N = le(b, y, 0), U = b, Z = le(A, C, 0), G = A;
|
|
716
716
|
var Pe = le(E, T, 0);
|
|
717
717
|
ge(t, h, O - 257), ge(t, h + 5, p - 1), ge(t, h + 10, j - 4), h += 14;
|
|
718
718
|
for (var g = 0; g < j; ++g) ge(t, h + 3 * g, E[ft[g]]);
|
|
@@ -721,14 +721,14 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
721
721
|
var K = te[g] & 31;
|
|
722
722
|
ge(t, h, Pe[K]), h += E[K], K > 15 && (ge(t, h, te[g] >> 5 & 127), h += te[g] >> 12);
|
|
723
723
|
}
|
|
724
|
-
} else N = wi, U = _e, Z = Ci,
|
|
724
|
+
} else N = wi, U = _e, Z = Ci, G = He;
|
|
725
725
|
for (var g = 0; g < s; ++g) {
|
|
726
726
|
var q = n[g];
|
|
727
727
|
if (q > 255) {
|
|
728
728
|
var K = q >> 18 & 31;
|
|
729
729
|
Qe(t, h, N[K + 257]), h += U[K + 257], K > 7 && (ge(t, h, q >> 23 & 31), h += qe[K]);
|
|
730
730
|
var ce = q & 31;
|
|
731
|
-
Qe(t, h, Z[ce]), h +=
|
|
731
|
+
Qe(t, h, Z[ce]), h += G[ce], ce > 3 && (Qe(t, h, q >> 5 & 8191), h += $e[ce]);
|
|
732
732
|
} else Qe(t, h, N[q]), h += U[q];
|
|
733
733
|
}
|
|
734
734
|
return Qe(t, h, N[256]), h + U[256];
|
|
@@ -757,12 +757,12 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
757
757
|
for (var U = 0; U < 286; ++U) c[U] = 0;
|
|
758
758
|
for (var U = 0; U < 30; ++U) p[U] = 0;
|
|
759
759
|
}
|
|
760
|
-
var Z = 2,
|
|
760
|
+
var Z = 2, G = 0, Pe = y, ae = L - R & 32767;
|
|
761
761
|
if (N > 2 && M == O(_ - ae)) for (var se = Math.min(b, N) - 1, te = Math.min(32767, _), K = Math.min(258, N); ae <= te && --Pe && L != R;) {
|
|
762
762
|
if (e[_ + Z] == e[_ + Z - ae]) {
|
|
763
763
|
for (var q = 0; q < K && e[_ + q] == e[_ + q - ae]; ++q);
|
|
764
764
|
if (q > Z) {
|
|
765
|
-
if (Z = q,
|
|
765
|
+
if (Z = q, G = ae, q > se) break;
|
|
766
766
|
for (var ce = Math.min(ae, q - 2), de = 0, U = 0; U < ce; ++U) {
|
|
767
767
|
var D = _ - ae + U & 32767, Te = D - A[D] & 32767;
|
|
768
768
|
Te > de && (de = Te, R = D);
|
|
@@ -771,9 +771,9 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
771
771
|
}
|
|
772
772
|
L = R, R = A[L], ae += L - R & 32767;
|
|
773
773
|
}
|
|
774
|
-
if (
|
|
775
|
-
d[E++] = 268435456 | zt[Z] << 18 | an[
|
|
776
|
-
var I = zt[Z] & 31, Ft = an[
|
|
774
|
+
if (G) {
|
|
775
|
+
d[E++] = 268435456 | zt[Z] << 18 | an[G];
|
|
776
|
+
var I = zt[Z] & 31, Ft = an[G] & 31;
|
|
777
777
|
g += qe[I] + $e[Ft], ++c[257 + I], ++p[Ft], T = _ + Z, ++v;
|
|
778
778
|
} else d[E++] = e[_], ++c[e[_]];
|
|
779
779
|
}
|
|
@@ -833,20 +833,20 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
833
833
|
} else r[l] = s;
|
|
834
834
|
}
|
|
835
835
|
return t;
|
|
836
|
-
},
|
|
836
|
+
}, Gt = [], rc = function(e) {
|
|
837
837
|
var t = [];
|
|
838
838
|
for (var r in e) e[r].buffer && t.push((e[r] = new e[r].constructor(e[r])).buffer);
|
|
839
839
|
return t;
|
|
840
840
|
}, nc = function(e, t, r, n) {
|
|
841
|
-
if (!
|
|
841
|
+
if (!Gt[r]) {
|
|
842
842
|
for (var i = "", a = {}, o = e.length - 1, s = 0; s < o; ++s) i = Ni(e[s], i, a);
|
|
843
|
-
|
|
843
|
+
Gt[r] = {
|
|
844
844
|
c: Ni(e[o], i, a),
|
|
845
845
|
e: a
|
|
846
846
|
};
|
|
847
847
|
}
|
|
848
|
-
var l = Qt({},
|
|
849
|
-
return ec(
|
|
848
|
+
var l = Qt({}, Gt[r].e);
|
|
849
|
+
return ec(Gt[r].c + ";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage=" + t.toString() + "}", r, l, rc(l), n);
|
|
850
850
|
}, ic = function() {
|
|
851
851
|
return [
|
|
852
852
|
z,
|
|
@@ -870,7 +870,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
870
870
|
$,
|
|
871
871
|
Ti,
|
|
872
872
|
Yt,
|
|
873
|
-
|
|
873
|
+
Vt,
|
|
874
874
|
Ri
|
|
875
875
|
];
|
|
876
876
|
}, ac = function() {
|
|
@@ -896,7 +896,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
896
896
|
$t,
|
|
897
897
|
Ht,
|
|
898
898
|
on,
|
|
899
|
-
|
|
899
|
+
Ge,
|
|
900
900
|
sn,
|
|
901
901
|
cn,
|
|
902
902
|
ht,
|
|
@@ -904,9 +904,9 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
904
904
|
ki,
|
|
905
905
|
Mi,
|
|
906
906
|
Wt,
|
|
907
|
-
|
|
907
|
+
Vt
|
|
908
908
|
];
|
|
909
|
-
},
|
|
909
|
+
}, Vt = function(e) {
|
|
910
910
|
return postMessage(e, [e.buffer]);
|
|
911
911
|
}, Ri = function(e) {
|
|
912
912
|
return e && {
|
|
@@ -931,7 +931,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
931
931
|
};
|
|
932
932
|
function oc(e, t, r) {
|
|
933
933
|
return r || (r = t, t = {}), typeof r != "function" && $(7), Ii(e, t, [ac], function(n) {
|
|
934
|
-
return
|
|
934
|
+
return Vt(Wt(n.data[0], n.data[1]));
|
|
935
935
|
}, 0, r);
|
|
936
936
|
}
|
|
937
937
|
function Wt(e, t) {
|
|
@@ -939,7 +939,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
939
939
|
}
|
|
940
940
|
function sc(e, t, r) {
|
|
941
941
|
return r || (r = t, t = {}), typeof r != "function" && $(7), Ii(e, t, [ic], function(n) {
|
|
942
|
-
return
|
|
942
|
+
return Vt(Yt(n.data[0], Ri(n.data[1])));
|
|
943
943
|
}, 1, r);
|
|
944
944
|
}
|
|
945
945
|
function Yt(e, t) {
|
|
@@ -1267,7 +1267,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1267
1267
|
blockfolder: []
|
|
1268
1268
|
};
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function Gi(e, t) {
|
|
1271
1271
|
return {
|
|
1272
1272
|
project: Number(e),
|
|
1273
1273
|
app_id: t?.app_id || 0,
|
|
@@ -1322,7 +1322,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1322
1322
|
extraQuery: { url: encodeURIComponent(t) }
|
|
1323
1323
|
}));
|
|
1324
1324
|
} }) })
|
|
1325
|
-
}), { useGetFileQuery:
|
|
1325
|
+
}), { useGetFileQuery: oh, useLazyGetFileQuery: wc } = bt, yt = u.createApi({
|
|
1326
1326
|
reducerPath: "promoApi",
|
|
1327
1327
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
1328
1328
|
endpoints: (e) => ({
|
|
@@ -1334,7 +1334,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1334
1334
|
return u.getClient(r).promo.get_code_info_list({ code: t });
|
|
1335
1335
|
} })
|
|
1336
1336
|
})
|
|
1337
|
-
}), { useCheckPromoMutation:
|
|
1337
|
+
}), { useCheckPromoMutation: sh, useGetPromoInfoQuery: ch } = yt;
|
|
1338
1338
|
function Ac(e) {
|
|
1339
1339
|
return typeof e == "number" && Number.isFinite(e) ? e : 0;
|
|
1340
1340
|
}
|
|
@@ -1370,7 +1370,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1370
1370
|
throw er = null, e;
|
|
1371
1371
|
})), er;
|
|
1372
1372
|
}
|
|
1373
|
-
async function
|
|
1373
|
+
async function Vi(e) {
|
|
1374
1374
|
if (typeof e == "object") return fn(e);
|
|
1375
1375
|
if (typeof e != "string") return;
|
|
1376
1376
|
const t = e.trim();
|
|
@@ -1416,7 +1416,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1416
1416
|
} };
|
|
1417
1417
|
}
|
|
1418
1418
|
async function vn(e) {
|
|
1419
|
-
return { data: await
|
|
1419
|
+
return { data: await Vi(e) ?? null };
|
|
1420
1420
|
}
|
|
1421
1421
|
var ke = u.createApi({
|
|
1422
1422
|
reducerPath: "localesApi",
|
|
@@ -1483,7 +1483,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1483
1483
|
}]
|
|
1484
1484
|
})
|
|
1485
1485
|
})
|
|
1486
|
-
}), { useGetLocalesQuery:
|
|
1486
|
+
}), { useGetLocalesQuery: Nc, useGetLocaleQuery: lh, useLazyGetLocaleQuery: Rc, useLazyGetLocalesQuery: Ic } = ke, _t = u.createApi({
|
|
1487
1487
|
reducerPath: "saveFileApi",
|
|
1488
1488
|
tagTypes: ["Images"],
|
|
1489
1489
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/wp-json/save-file/v1/" }),
|
|
@@ -1501,7 +1501,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1501
1501
|
return u.getClient(r).saveFile.shortener_create(t, { type: u.ContentType$1.FormData });
|
|
1502
1502
|
} })
|
|
1503
1503
|
})
|
|
1504
|
-
}), { useUploadImageMutation:
|
|
1504
|
+
}), { useUploadImageMutation: Lc, useSendTestEmailMutation: Dc, useSendLivePreviewMutation: Fc, useSendShortLinkMutation: Uc } = _t, Xi = () => ({
|
|
1505
1505
|
title: "",
|
|
1506
1506
|
description: "",
|
|
1507
1507
|
website: "",
|
|
@@ -1510,7 +1510,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1510
1510
|
email: "",
|
|
1511
1511
|
phone: "",
|
|
1512
1512
|
logo_url: ""
|
|
1513
|
-
}),
|
|
1513
|
+
}), zc = {
|
|
1514
1514
|
title: "title",
|
|
1515
1515
|
description: "description",
|
|
1516
1516
|
website: "website",
|
|
@@ -1532,7 +1532,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1532
1532
|
}), Zi = (e) => (e ?? []).filter((t) => !!t?.code).map(({ code: t, label: r }) => ({
|
|
1533
1533
|
value: t,
|
|
1534
1534
|
label: r ?? t
|
|
1535
|
-
})),
|
|
1535
|
+
})), Bc = (e) => ({
|
|
1536
1536
|
company_sizes: Zi(e?.company_sizes),
|
|
1537
1537
|
industries: Zi(e?.industries)
|
|
1538
1538
|
});
|
|
@@ -1554,11 +1554,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1554
1554
|
}),
|
|
1555
1555
|
getProjectProfileOptions: e.query({ async queryFn(t, r) {
|
|
1556
1556
|
const n = u.v2ResultOf(await u.getClientV2(r).projects.profileOptionsList());
|
|
1557
|
-
return "error" in n ? { error: n.error } : { data:
|
|
1557
|
+
return "error" in n ? { error: n.error } : { data: Bc(n.data) };
|
|
1558
1558
|
} }),
|
|
1559
1559
|
updateProjectProfileField: e.mutation({
|
|
1560
1560
|
async queryFn({ projectId: t, field: r, value: n }, i) {
|
|
1561
|
-
const a = { [
|
|
1561
|
+
const a = { [zc[r]]: n }, o = u.v2ResultOf(await u.getClientV2(i).projects.profilePartialUpdate({ id: String(t) }, a));
|
|
1562
1562
|
return "error" in o ? { error: o.error } : { data: Ji(o.data) };
|
|
1563
1563
|
},
|
|
1564
1564
|
async onQueryStarted({ projectId: t }, { dispatch: r, queryFulfilled: n }) {
|
|
@@ -1569,7 +1569,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1569
1569
|
}
|
|
1570
1570
|
})
|
|
1571
1571
|
})
|
|
1572
|
-
}), { useGetProjectProfileQuery: ph, useGetProjectProfileOptionsQuery: dh, useUpdateProjectProfileFieldMutation: fh } = Et,
|
|
1572
|
+
}), { useGetProjectProfileQuery: ph, useGetProjectProfileOptionsQuery: dh, useUpdateProjectProfileFieldMutation: fh } = Et, qc = (e) => Number(e) || void 0, $c = {
|
|
1573
1573
|
colors: [],
|
|
1574
1574
|
fonts: [],
|
|
1575
1575
|
socials: []
|
|
@@ -1578,11 +1578,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1578
1578
|
if (t?.randomUUID) return t.randomUUID();
|
|
1579
1579
|
const r = typeof performance < "u" ? performance.now().toString(36).replace(".", "") : String(Date.now());
|
|
1580
1580
|
return `${e}-${Date.now().toString(36)}-${r}`;
|
|
1581
|
-
},
|
|
1581
|
+
}, Hc = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, Qc = /^#?([0-9a-f]{6})$/i, yn = (e) => {
|
|
1582
1582
|
if (!e) return null;
|
|
1583
|
-
const t = String(e).trim().toLowerCase(), r =
|
|
1583
|
+
const t = String(e).trim().toLowerCase(), r = Qc.exec(t);
|
|
1584
1584
|
if (r) return `#${r[1]}`;
|
|
1585
|
-
const n =
|
|
1585
|
+
const n = Hc.exec(t);
|
|
1586
1586
|
if (n) {
|
|
1587
1587
|
const [, i, a, o] = n;
|
|
1588
1588
|
return `#${i}${i}${a}${a}${o}${o}`;
|
|
@@ -1606,7 +1606,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1606
1606
|
"rdt",
|
|
1607
1607
|
"sptf",
|
|
1608
1608
|
"twitch"
|
|
1609
|
-
],
|
|
1609
|
+
], Gc = [
|
|
1610
1610
|
"telegram",
|
|
1611
1611
|
"whatsapp",
|
|
1612
1612
|
"instagram",
|
|
@@ -1794,11 +1794,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1794
1794
|
brands: ["em"]
|
|
1795
1795
|
}
|
|
1796
1796
|
];
|
|
1797
|
-
function
|
|
1798
|
-
const t = e === "em" ? ta :
|
|
1797
|
+
function Wc(e) {
|
|
1798
|
+
const t = e === "em" ? ta : Gc, r = new Set(t), n = Object.fromEntries(Vc.filter((i) => i.brands.includes(e) && r.has(i.id)).map((i) => [i.id, i]));
|
|
1799
1799
|
return t.map((i) => n[i]).filter((i) => !!i);
|
|
1800
1800
|
}
|
|
1801
|
-
var
|
|
1801
|
+
var Yc = {
|
|
1802
1802
|
tg: "telegram",
|
|
1803
1803
|
yt: "youtube",
|
|
1804
1804
|
yd: "yandex_zen",
|
|
@@ -1808,18 +1808,18 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1808
1808
|
fb: "facebook",
|
|
1809
1809
|
xa: "x",
|
|
1810
1810
|
tw: "twitter"
|
|
1811
|
-
}, ra = "vk",
|
|
1811
|
+
}, ra = "vk", Xc = new Set(ta), Jc = (e) => Xc.has(e), na = (e) => {
|
|
1812
1812
|
const t = String(e ?? "").trim().toLowerCase();
|
|
1813
|
-
return t ?
|
|
1814
|
-
},
|
|
1815
|
-
const t =
|
|
1813
|
+
return t ? Jc(t) ? t : Yc[t] ?? ra : ra;
|
|
1814
|
+
}, Zc = (e) => na(e), Kc = /\.(woff2|woff|ttf|otf)$/i, el = (e) => {
|
|
1815
|
+
const t = Kc.exec(e.trim().toLowerCase());
|
|
1816
1816
|
return t ? `.${t[1]}` : null;
|
|
1817
|
-
},
|
|
1817
|
+
}, tl = {
|
|
1818
1818
|
".woff": "application/x-font-woff",
|
|
1819
1819
|
".woff2": "application/font-woff2",
|
|
1820
1820
|
".ttf": "font/sfnt",
|
|
1821
1821
|
".otf": "font/sfnt"
|
|
1822
|
-
},
|
|
1822
|
+
}, rl = {
|
|
1823
1823
|
".woff": [
|
|
1824
1824
|
"application/x-font-woff",
|
|
1825
1825
|
"font/woff",
|
|
@@ -1841,41 +1841,41 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1841
1841
|
"font/otf",
|
|
1842
1842
|
"font/opentype"
|
|
1843
1843
|
]
|
|
1844
|
-
},
|
|
1844
|
+
}, nl = new Set([
|
|
1845
1845
|
"",
|
|
1846
1846
|
"application/octet-stream",
|
|
1847
1847
|
"binary/octet-stream"
|
|
1848
|
-
]),
|
|
1849
|
-
const t =
|
|
1848
|
+
]), il = (e) => {
|
|
1849
|
+
const t = el(e.name);
|
|
1850
1850
|
if (!t) return e;
|
|
1851
1851
|
const r = e.type.trim().toLowerCase();
|
|
1852
|
-
return
|
|
1853
|
-
type:
|
|
1852
|
+
return rl[t].includes(r) || !nl.has(r) ? e : new File([e], e.name, {
|
|
1853
|
+
type: tl[t],
|
|
1854
1854
|
lastModified: e.lastModified
|
|
1855
1855
|
});
|
|
1856
|
-
},
|
|
1856
|
+
}, al = () => bn("fnt"), ol = (e) => e.family?.trim() || e.name.trim(), sl = (e) => e.filter((t) => t.source_url?.trim()).map((t) => ({
|
|
1857
1857
|
family: t.family?.trim() || t.name.trim(),
|
|
1858
1858
|
source_url: t.source_url?.trim() ?? "",
|
|
1859
1859
|
weight: t.weight?.trim() || "400",
|
|
1860
1860
|
style: t.style ?? "normal"
|
|
1861
|
-
})),
|
|
1861
|
+
})), cl = (e, t = {}) => {
|
|
1862
1862
|
const r = t.srcOverride?.trim() || e.source_url?.trim();
|
|
1863
1863
|
if (!r || !t.srcOverride && ia(e) || t.srcOverride && u.isGoogleFontsCssUrl(r)) return null;
|
|
1864
|
-
const n = t.familyOverride?.trim() ||
|
|
1864
|
+
const n = t.familyOverride?.trim() || ol(e), i = e.weight?.trim() || "400", a = e.style ?? "normal";
|
|
1865
1865
|
return `@font-face{font-family:${JSON.stringify(n)};src:url(${JSON.stringify(r)});font-weight:${i};font-style:${a};font-display:swap;}`;
|
|
1866
|
-
},
|
|
1866
|
+
}, ll = (e) => e.source_kind ? e.source_kind : u.isGoogleFontsCssUrl(e.source_url) ? "google_stylesheet" : e.file_name?.trim() ? "uploaded" : "remote_file", ia = (e) => e.source_kind ? e.source_kind === "google_stylesheet" || e.source_kind === "remote_stylesheet" : u.isGoogleFontsCssUrl(e.source_url), aa = "data-em-project-fonts-face", oa = "data-em-project-font-link", ul = (e) => {
|
|
1867
1867
|
const t = e.filter((r) => ia(r)).map((r) => r.source_url?.trim() ?? "").filter(Boolean);
|
|
1868
1868
|
return [...new Set(t)];
|
|
1869
|
-
},
|
|
1870
|
-
const r =
|
|
1869
|
+
}, pl = (e) => e.map((t) => cl(t)).filter((t) => !!t).join(""), dl = (e, t = document) => {
|
|
1870
|
+
const r = pl(e), { head: n } = t;
|
|
1871
1871
|
let i = n.querySelector(`style[${aa}]`);
|
|
1872
1872
|
if (!r) {
|
|
1873
1873
|
i?.remove();
|
|
1874
1874
|
return;
|
|
1875
1875
|
}
|
|
1876
1876
|
i || (i = t.createElement("style"), i.setAttribute(aa, ""), n.appendChild(i)), i.textContent = r;
|
|
1877
|
-
},
|
|
1878
|
-
const r = new Set(
|
|
1877
|
+
}, fl = (e, t = document) => {
|
|
1878
|
+
const r = new Set(ul(e)), { head: n } = t;
|
|
1879
1879
|
n.querySelectorAll(`link[${oa}]`).forEach((i) => {
|
|
1880
1880
|
const a = i.getAttribute("href") ?? "";
|
|
1881
1881
|
r.has(a) ? r.delete(a) : i.remove();
|
|
@@ -1883,17 +1883,17 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1883
1883
|
const a = t.createElement("link");
|
|
1884
1884
|
a.setAttribute("rel", "stylesheet"), a.setAttribute("href", i), a.setAttribute(oa, ""), n.appendChild(a);
|
|
1885
1885
|
});
|
|
1886
|
-
},
|
|
1887
|
-
|
|
1888
|
-
},
|
|
1886
|
+
}, ml = (e, t = document) => {
|
|
1887
|
+
dl(e, t), fl(e, t);
|
|
1888
|
+
}, hl = new Set([
|
|
1889
1889
|
"normal",
|
|
1890
1890
|
"italic",
|
|
1891
1891
|
"oblique"
|
|
1892
|
-
]),
|
|
1892
|
+
]), gl = new Set([
|
|
1893
1893
|
"uploaded",
|
|
1894
1894
|
"remote_file",
|
|
1895
1895
|
"google_stylesheet"
|
|
1896
|
-
]), ve = (e) => (e ?? "").trim(), xt = (e) => ve(e) || void 0, sa = (e) => typeof e == "number" && e > 0 ? e : void 0,
|
|
1896
|
+
]), ve = (e) => (e ?? "").trim(), xt = (e) => ve(e) || void 0, sa = (e) => typeof e == "number" && e > 0 ? e : void 0, vl = (e) => hl.has(e) ? e : void 0, bl = (e) => gl.has(e) ? e : void 0, yl = (e, t) => {
|
|
1897
1897
|
const r = yn(ve(e.hex));
|
|
1898
1898
|
return r ? {
|
|
1899
1899
|
id: ve(e.id) || ea(),
|
|
@@ -1905,17 +1905,17 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1905
1905
|
id: ve(e.id),
|
|
1906
1906
|
name: ve(e.name),
|
|
1907
1907
|
source_url: xt(e.source_url),
|
|
1908
|
-
source_kind:
|
|
1908
|
+
source_kind: bl(e.source_kind),
|
|
1909
1909
|
file_name: xt(e.file_name),
|
|
1910
1910
|
family: xt(e.family),
|
|
1911
1911
|
weight: xt(e.weight),
|
|
1912
|
-
style:
|
|
1912
|
+
style: vl(e.style),
|
|
1913
1913
|
preview_url: xt(e.preview_url),
|
|
1914
1914
|
storage_fallback: e.storage_fallback || void 0,
|
|
1915
1915
|
font_size_px: sa(e.font_size_px),
|
|
1916
1916
|
line_height_px: sa(e.line_height_px),
|
|
1917
1917
|
order: e.order ?? t
|
|
1918
|
-
}),
|
|
1918
|
+
}), _l = (e, t) => {
|
|
1919
1919
|
const r = ve(e.url);
|
|
1920
1920
|
return r ? {
|
|
1921
1921
|
id: ve(e.id),
|
|
@@ -1925,21 +1925,21 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1925
1925
|
enabled: e.enabled ?? !0,
|
|
1926
1926
|
order: e.order ?? t
|
|
1927
1927
|
} : null;
|
|
1928
|
-
},
|
|
1929
|
-
colors:
|
|
1930
|
-
fonts:
|
|
1931
|
-
socials:
|
|
1932
|
-
} :
|
|
1928
|
+
}, Ve = (e) => [...e].sort((t, r) => t.order - r.order), la = (e) => e ? {
|
|
1929
|
+
colors: Ve((e.colors ?? []).map(yl).filter((t) => t !== null)),
|
|
1930
|
+
fonts: Ve((e.fonts ?? []).map(ca)),
|
|
1931
|
+
socials: Ve((e.socials ?? []).map(_l).filter((t) => t !== null))
|
|
1932
|
+
} : $c, El = (e) => e === "remote_stylesheet" ? "remote_file" : e, xl = (e) => {
|
|
1933
1933
|
const t = {};
|
|
1934
|
-
return e.colors && (t.colors =
|
|
1934
|
+
return e.colors && (t.colors = Ve(e.colors).map((r) => ({
|
|
1935
1935
|
id: r.id,
|
|
1936
1936
|
name: r.name.trim(),
|
|
1937
1937
|
hex: yn(r.hex) || r.hex
|
|
1938
|
-
}))), e.fonts && (t.fonts =
|
|
1938
|
+
}))), e.fonts && (t.fonts = Ve(e.fonts).map((r) => ({
|
|
1939
1939
|
id: r.id,
|
|
1940
1940
|
name: r.name.trim(),
|
|
1941
1941
|
source_url: r.source_url ?? "",
|
|
1942
|
-
source_kind:
|
|
1942
|
+
source_kind: El(ll(r)),
|
|
1943
1943
|
file_name: r.file_name ?? "",
|
|
1944
1944
|
family: r.family ?? "",
|
|
1945
1945
|
weight: r.weight ?? "",
|
|
@@ -1948,11 +1948,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1948
1948
|
storage_fallback: r.storage_fallback ?? !1,
|
|
1949
1949
|
font_size_px: r.font_size_px ?? 0,
|
|
1950
1950
|
line_height_px: r.line_height_px ?? 0
|
|
1951
|
-
}))), e.socials && (t.socials =
|
|
1951
|
+
}))), e.socials && (t.socials = Ve(e.socials).map((r) => ({
|
|
1952
1952
|
id: r.id,
|
|
1953
1953
|
name: r.name.trim(),
|
|
1954
1954
|
url: r.url,
|
|
1955
|
-
icon_key:
|
|
1955
|
+
icon_key: Zc(r.icon_key),
|
|
1956
1956
|
enabled: r.enabled
|
|
1957
1957
|
}))), t;
|
|
1958
1958
|
}, ua = "ProjectBrandStyles", je = u.createApi({
|
|
@@ -1972,7 +1972,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1972
1972
|
}),
|
|
1973
1973
|
updateProjectStyles: e.mutation({
|
|
1974
1974
|
async queryFn({ projectId: t, patch: r }, n) {
|
|
1975
|
-
const i = u.v2ResultOf(await u.getClientV2(n).projects.stylesPartialUpdate({ id: String(t) },
|
|
1975
|
+
const i = u.v2ResultOf(await u.getClientV2(n).projects.stylesPartialUpdate({ id: String(t) }, xl(r)));
|
|
1976
1976
|
return "error" in i ? { error: i.error } : { data: la(i.data) };
|
|
1977
1977
|
},
|
|
1978
1978
|
async onQueryStarted({ projectId: t, patch: r }, { dispatch: n, queryFulfilled: i }) {
|
|
@@ -1988,7 +1988,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
1988
1988
|
uploadProjectFont: e.mutation({
|
|
1989
1989
|
async queryFn({ projectId: t, file: r }, n) {
|
|
1990
1990
|
const i = new FormData();
|
|
1991
|
-
i.append("file",
|
|
1991
|
+
i.append("file", il(r));
|
|
1992
1992
|
const a = u.v2ResultOf(await u.getClientV2(n).request({
|
|
1993
1993
|
path: `/projects/${String(t)}/styles/fonts`,
|
|
1994
1994
|
method: "POST",
|
|
@@ -2009,7 +2009,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2009
2009
|
}
|
|
2010
2010
|
})
|
|
2011
2011
|
})
|
|
2012
|
-
}), { useGetProjectStylesQuery:
|
|
2012
|
+
}), { useGetProjectStylesQuery: wl, useUpdateProjectStylesMutation: mh, useUploadProjectFontMutation: hh } = je, pa = "ProjectStorage", wt = u.createApi({
|
|
2013
2013
|
reducerPath: "projectSettingsStorageApi",
|
|
2014
2014
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
2015
2015
|
tagTypes: [pa],
|
|
@@ -2057,7 +2057,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2057
2057
|
var We = {
|
|
2058
2058
|
current: 0,
|
|
2059
2059
|
limit: null
|
|
2060
|
-
},
|
|
2060
|
+
}, Al = () => ({
|
|
2061
2061
|
pluginInit: { ...We },
|
|
2062
2062
|
aiAssistant: { ...We },
|
|
2063
2063
|
aiImage: { ...We },
|
|
@@ -2092,24 +2092,24 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2092
2092
|
if (typeof n == "string" && n.trim() && Number.isFinite(Number(n))) return Number(n);
|
|
2093
2093
|
}
|
|
2094
2094
|
return null;
|
|
2095
|
-
},
|
|
2095
|
+
}, Cl = new Set(Object.values(H)), Sl = (e) => Cl.has(e) ? e : null, Ne = (e) => Y(e) && "data" in e && (e.ok === !0 || typeof e.success == "boolean" || e.success === void 0) ? e.data : e, Ye = (e, t) => {
|
|
2096
2096
|
for (const r of t) {
|
|
2097
2097
|
const n = e[r];
|
|
2098
2098
|
if (Y(n)) return n;
|
|
2099
2099
|
}
|
|
2100
2100
|
return null;
|
|
2101
|
-
},
|
|
2101
|
+
}, Pl = (e, t) => {
|
|
2102
2102
|
for (const r of t) {
|
|
2103
2103
|
const n = e[r];
|
|
2104
2104
|
if (!Array.isArray(n)) continue;
|
|
2105
2105
|
const i = n.filter((a) => typeof a == "string");
|
|
2106
2106
|
if (i.length > 0) return i;
|
|
2107
2107
|
}
|
|
2108
|
-
},
|
|
2108
|
+
}, Tl = (e) => Y(e) ? {
|
|
2109
2109
|
clientId: Q(e, ["clientId", "client_id"]),
|
|
2110
2110
|
clientSecretConfigured: _n(e, ["clientSecretConfigured", "client_secret_configured"]),
|
|
2111
2111
|
rotatedAt: Q(e, ["rotatedAt", "rotated_at"]) || void 0,
|
|
2112
|
-
scopesSuggested:
|
|
2112
|
+
scopesSuggested: Pl(e, ["scopesSuggested", "scopes_suggested"])
|
|
2113
2113
|
} : {
|
|
2114
2114
|
clientId: "",
|
|
2115
2115
|
clientSecretConfigured: !1
|
|
@@ -2118,7 +2118,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2118
2118
|
const n = e[r];
|
|
2119
2119
|
if (typeof n == "boolean") return n;
|
|
2120
2120
|
}
|
|
2121
|
-
},
|
|
2121
|
+
}, Ol = (e) => {
|
|
2122
2122
|
const t = da(e, [
|
|
2123
2123
|
"pluginConnected",
|
|
2124
2124
|
"plugin_connected",
|
|
@@ -2142,7 +2142,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2142
2142
|
const a = Q(n, ["clientId", "client_id"]), o = _n(n, ["clientSecretConfigured", "client_secret_configured"]);
|
|
2143
2143
|
if (a) return o;
|
|
2144
2144
|
}
|
|
2145
|
-
},
|
|
2145
|
+
}, kl = (e) => {
|
|
2146
2146
|
const t = Ne(e);
|
|
2147
2147
|
if (!Y(t)) return {};
|
|
2148
2148
|
const r = Ye(t, ["members"]);
|
|
@@ -2156,9 +2156,9 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2156
2156
|
"my_role",
|
|
2157
2157
|
"role"
|
|
2158
2158
|
]) : "") || void 0,
|
|
2159
|
-
pluginConnected:
|
|
2159
|
+
pluginConnected: Ol(t)
|
|
2160
2160
|
};
|
|
2161
|
-
},
|
|
2161
|
+
}, jl = (e) => Y(e) ? {
|
|
2162
2162
|
clientId: Q(e, ["clientId", "client_id"]),
|
|
2163
2163
|
secret: Q(e, [
|
|
2164
2164
|
"secret",
|
|
@@ -2168,9 +2168,9 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2168
2168
|
} : {
|
|
2169
2169
|
clientId: "",
|
|
2170
2170
|
secret: ""
|
|
2171
|
-
},
|
|
2171
|
+
}, Ml = (e) => {
|
|
2172
2172
|
if (!Y(e)) return null;
|
|
2173
|
-
const r =
|
|
2173
|
+
const r = Sl(Q(e, [
|
|
2174
2174
|
"event",
|
|
2175
2175
|
"type",
|
|
2176
2176
|
"key"
|
|
@@ -2201,10 +2201,10 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2201
2201
|
}
|
|
2202
2202
|
for (const [i, a] of Object.entries(e)) i === "date" || i === "day" || i === "x" || i === "event_counts" || i === "eventCounts" || typeof a == "number" && Number.isFinite(a) && (r[i] = a);
|
|
2203
2203
|
return r;
|
|
2204
|
-
},
|
|
2204
|
+
}, Nl = (e) => {
|
|
2205
2205
|
const t = Ne(e);
|
|
2206
2206
|
return Y(t) ? (Array.isArray(t.chart) ? t.chart : Array.isArray(t.series) ? t.series : Array.isArray(t.time_series) ? t.time_series : Array.isArray(t.history) ? t.history : []).map(fa).filter((r) => r !== null) : [];
|
|
2207
|
-
},
|
|
2207
|
+
}, Rl = (e) => {
|
|
2208
2208
|
if (!Y(e)) return {
|
|
2209
2209
|
current: 0,
|
|
2210
2210
|
limit: null
|
|
@@ -2226,7 +2226,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2226
2226
|
limit: r === null ? null : r
|
|
2227
2227
|
};
|
|
2228
2228
|
}, Xe = (e, t) => {
|
|
2229
|
-
for (const r of t) if (r in e) return
|
|
2229
|
+
for (const r of t) if (r in e) return Rl(e[r]);
|
|
2230
2230
|
return {
|
|
2231
2231
|
current: 0,
|
|
2232
2232
|
limit: null
|
|
@@ -2266,7 +2266,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2266
2266
|
"spamCheck"
|
|
2267
2267
|
]
|
|
2268
2268
|
}, En = (e) => {
|
|
2269
|
-
const t =
|
|
2269
|
+
const t = Al(), r = Ne(e), n = Y(r) && Y(r.usage) ? r.usage : r;
|
|
2270
2270
|
if (!Y(n)) return t;
|
|
2271
2271
|
const i = Ee(n, ["operationsTotal", "operations_total"], 0), a = Ee(n, ["operationsLast30d", "operations_last_30d"], 0), o = Ye(n, [
|
|
2272
2272
|
"metrics",
|
|
@@ -2309,7 +2309,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2309
2309
|
total: e.aiImage.current,
|
|
2310
2310
|
delta: null
|
|
2311
2311
|
}
|
|
2312
|
-
], n = t ?
|
|
2312
|
+
], n = t ? Nl(t) : [];
|
|
2313
2313
|
return n.length > 0 ? {
|
|
2314
2314
|
cards: r,
|
|
2315
2315
|
chart: n
|
|
@@ -2317,15 +2317,15 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2317
2317
|
cards: r,
|
|
2318
2318
|
chart: []
|
|
2319
2319
|
};
|
|
2320
|
-
},
|
|
2320
|
+
}, Il = (e) => {
|
|
2321
2321
|
const t = Ne(e);
|
|
2322
2322
|
if (!Y(t)) return ma(En(e), e);
|
|
2323
2323
|
const r = Array.isArray(t.cards) ? t.cards : Array.isArray(t.summary) ? t.summary : [], n = Array.isArray(t.chart) ? t.chart : Array.isArray(t.series) ? t.series : [];
|
|
2324
2324
|
return r.length > 0 || n.length > 0 ? {
|
|
2325
|
-
cards: r.map(
|
|
2325
|
+
cards: r.map(Ml).filter((i) => i !== null),
|
|
2326
2326
|
chart: n.map(fa).filter((i) => i !== null)
|
|
2327
2327
|
} : ma(En(t), t);
|
|
2328
|
-
},
|
|
2328
|
+
}, Ll = (e) => {
|
|
2329
2329
|
if (!Y(e)) return null;
|
|
2330
2330
|
const t = Q(e, ["id", "payment_id"]);
|
|
2331
2331
|
return t ? {
|
|
@@ -2344,16 +2344,16 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2344
2344
|
"pdf_url"
|
|
2345
2345
|
]) || void 0
|
|
2346
2346
|
} : null;
|
|
2347
|
-
},
|
|
2347
|
+
}, Dl = (e) => {
|
|
2348
2348
|
const t = Ne(e), r = Y(t) && Array.isArray(t.payments) ? t.payments : [];
|
|
2349
2349
|
return {
|
|
2350
|
-
payments: r.map(
|
|
2350
|
+
payments: r.map(Ll).filter((n) => n !== null),
|
|
2351
2351
|
page: Y(t) ? Ee(t, ["page"], 1) : 1,
|
|
2352
2352
|
perPage: Y(t) ? Ee(t, ["perPage", "per_page"], 20) : 20,
|
|
2353
2353
|
total: Y(t) ? Ee(t, ["total"], r.length) : r.length,
|
|
2354
2354
|
totalPages: Y(t) ? Ee(t, ["totalPages", "total_pages"], 1) : 1
|
|
2355
2355
|
};
|
|
2356
|
-
},
|
|
2356
|
+
}, Fl = (e) => {
|
|
2357
2357
|
const t = Ne(e);
|
|
2358
2358
|
if (!Y(t)) return { viewerSeesBilling: !1 };
|
|
2359
2359
|
const r = Ye(t, ["endpoints"]) ?? {}, n = Ye(t, ["documentLinks", "document_links"]), i = n ? Object.fromEntries(Object.entries(n).filter((h) => typeof h[1] == "string")) : void 0, a = rr(t, ["ownerUserId", "owner_user_id"]), o = Ye(t, [
|
|
@@ -2388,13 +2388,13 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2388
2388
|
},
|
|
2389
2389
|
documentLinks: i && Object.keys(i).length > 0 ? i : void 0
|
|
2390
2390
|
};
|
|
2391
|
-
},
|
|
2391
|
+
}, Ul = { myRole: "owner" }, zl = () => ({ ...Ul }), Bl = {
|
|
2392
2392
|
clientId: "rust-awkward-bear",
|
|
2393
2393
|
clientSecretConfigured: rn.browser$1.env.REACT_APP_PLUGIN_SETTINGS_MOCK_CONNECTED !== "false"
|
|
2394
2394
|
}, ha = () => ({
|
|
2395
|
-
...
|
|
2395
|
+
...Bl,
|
|
2396
2396
|
clientSecretConfigured: rn.browser$1.env.REACT_APP_PLUGIN_SETTINGS_MOCK_CONNECTED !== "false"
|
|
2397
|
-
}), ga = Object.values(H),
|
|
2397
|
+
}), ga = Object.values(H), ql = {
|
|
2398
2398
|
[H.PLUGIN_INIT]: 42,
|
|
2399
2399
|
[H.LINK_CHECK]: -15,
|
|
2400
2400
|
[H.IMAGE_CHECK]: 28,
|
|
@@ -2402,17 +2402,17 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2402
2402
|
[H.AI_IMAGE]: 6,
|
|
2403
2403
|
[H.AI_WRITE]: -11,
|
|
2404
2404
|
[H.AI_REPHRASE]: 4
|
|
2405
|
-
},
|
|
2405
|
+
}, $l = (e, t) => {
|
|
2406
2406
|
const r = { date: e };
|
|
2407
2407
|
return ga.forEach((n, i) => {
|
|
2408
2408
|
const a = Math.sin(t * .65 + i * .9), o = t * (i % 2 === 0 ? .35 : .2), s = 2 + i;
|
|
2409
2409
|
r[n] = Math.max(0, Math.round(s + a * 4 + o));
|
|
2410
2410
|
}), r;
|
|
2411
|
-
},
|
|
2411
|
+
}, Hl = (e) => ga.map((t) => ({
|
|
2412
2412
|
event: t,
|
|
2413
2413
|
total: e.reduce((r, n) => r + (typeof n[t] == "number" ? n[t] : 0), 0),
|
|
2414
|
-
delta:
|
|
2415
|
-
})),
|
|
2414
|
+
delta: ql[t]
|
|
2415
|
+
})), Ql = ({ period: e, dateFrom: t, dateTo: r }) => {
|
|
2416
2416
|
const n = (0, pt.default)().startOf("day");
|
|
2417
2417
|
if (e === Me.WEEK) return {
|
|
2418
2418
|
startDate: n.subtract(6, "day"),
|
|
@@ -2434,14 +2434,14 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2434
2434
|
days: 1
|
|
2435
2435
|
};
|
|
2436
2436
|
}, xn = (e = { period: Me.TODAY }) => {
|
|
2437
|
-
const { startDate: t, days: r } =
|
|
2437
|
+
const { startDate: t, days: r } = Ql(e), n = Array.from({ length: r }, (i, a) => $l(t.add(a, "day").format("YYYY-MM-DD"), a));
|
|
2438
2438
|
return {
|
|
2439
|
-
cards:
|
|
2439
|
+
cards: Hl(n),
|
|
2440
2440
|
chart: n
|
|
2441
2441
|
};
|
|
2442
2442
|
};
|
|
2443
2443
|
xn({ period: Me.WEEK });
|
|
2444
|
-
var
|
|
2444
|
+
var Gl = {
|
|
2445
2445
|
pluginInit: {
|
|
2446
2446
|
current: 0,
|
|
2447
2447
|
limit: null
|
|
@@ -2508,13 +2508,13 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2508
2508
|
subscriptionMe: "/wp-json/subscription/v2/me",
|
|
2509
2509
|
payments: "/wp-json/projects/v1/billing-context/2581/payments"
|
|
2510
2510
|
}
|
|
2511
|
-
},
|
|
2511
|
+
}, Wl = {
|
|
2512
2512
|
info: {
|
|
2513
2513
|
name: "EmailMaker Plugin Requests",
|
|
2514
2514
|
schema: "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
2515
2515
|
},
|
|
2516
2516
|
item: []
|
|
2517
|
-
},
|
|
2517
|
+
}, Yl = (e) => e, Xl = () => !1, Jl = () => !1, Zl = (e) => e, Ze = "ProjectPlugin", Kl = () => rn.browser$1.env.REACT_APP_PLUGIN_SETTINGS_USE_MOCK === "true", Ce = (e, t, r) => e.error && Kl() ? { data: r(t) } : u.transformResponseFn(r)(e), eu = (e) => Yl(Tl(e)), tu = (e) => Zl(Fl(e)), ru = ({ period: e, dateFrom: t, dateTo: r }) => {
|
|
2518
2518
|
if (e === Me.CUSTOM) {
|
|
2519
2519
|
const n = {};
|
|
2520
2520
|
return t && (n.date_from = t), r && (n.date_to = r), n;
|
|
@@ -2527,7 +2527,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2527
2527
|
endpoints: (e) => ({
|
|
2528
2528
|
getPluginSummary: e.query({
|
|
2529
2529
|
queryFn({ projectId: t }, r) {
|
|
2530
|
-
return u.getClient(r).projects.settings_summary_detail({ projectId: t }).then((n) => Ce(n,
|
|
2530
|
+
return u.getClient(r).projects.settings_summary_detail({ projectId: t }).then((n) => Ce(n, zl(), kl));
|
|
2531
2531
|
},
|
|
2532
2532
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2533
2533
|
type: Ze,
|
|
@@ -2536,7 +2536,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2536
2536
|
}),
|
|
2537
2537
|
getPluginCredentials: e.query({
|
|
2538
2538
|
queryFn({ projectId: t }, r) {
|
|
2539
|
-
return u.getClient(r).projects.developer_credentials_detail({ projectId: t }).then((n) => Ce(n, ha(),
|
|
2539
|
+
return u.getClient(r).projects.developer_credentials_detail({ projectId: t }).then((n) => Ce(n, ha(), eu));
|
|
2540
2540
|
},
|
|
2541
2541
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2542
2542
|
type: Ze,
|
|
@@ -2548,7 +2548,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2548
2548
|
return u.getClient(r).projects.developer_credentials_rotate_secret_create({ projectId: t }).then((n) => Ce(n, {
|
|
2549
2549
|
clientId: ha().clientId,
|
|
2550
2550
|
secret: "mock-rotated-secret"
|
|
2551
|
-
},
|
|
2551
|
+
}, jl));
|
|
2552
2552
|
},
|
|
2553
2553
|
invalidatesTags: (t, r, { projectId: n }) => [{
|
|
2554
2554
|
type: Ze,
|
|
@@ -2556,7 +2556,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2556
2556
|
}]
|
|
2557
2557
|
}),
|
|
2558
2558
|
getPostmanCollection: e.query({ queryFn({ projectId: t }, r) {
|
|
2559
|
-
return u.getClient(r).projects.developer_kit_postman_collection_list({ extraQuery: { project_id: String(t) } }).then((n) => Ce(n,
|
|
2559
|
+
return u.getClient(r).projects.developer_kit_postman_collection_list({ extraQuery: { project_id: String(t) } }).then((n) => Ce(n, Wl, (i) => Ne(i) ?? i));
|
|
2560
2560
|
} }),
|
|
2561
2561
|
getPluginAnalytics: e.query({ queryFn({ projectId: t, period: r, dateFrom: n, dateTo: i }, a) {
|
|
2562
2562
|
const o = {
|
|
@@ -2564,15 +2564,15 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2564
2564
|
dateFrom: n,
|
|
2565
2565
|
dateTo: i
|
|
2566
2566
|
};
|
|
2567
|
-
return
|
|
2567
|
+
return Xl() ? Promise.resolve({ data: xn(o) }) : u.getClient(a).request({
|
|
2568
2568
|
path: `/projects/v1/usage/${t}/timeseries`,
|
|
2569
2569
|
method: "GET",
|
|
2570
|
-
query:
|
|
2571
|
-
}).then((s) => Ce(s, xn(o),
|
|
2570
|
+
query: ru(o)
|
|
2571
|
+
}).then((s) => Ce(s, xn(o), Il));
|
|
2572
2572
|
} }),
|
|
2573
2573
|
getPluginBillingContext: e.query({
|
|
2574
2574
|
queryFn({ projectId: t }, r) {
|
|
2575
|
-
return u.getClient(r).projects.billing_context_detail({ projectId: t }).then((n) => Ce(n, Vl,
|
|
2575
|
+
return u.getClient(r).projects.billing_context_detail({ projectId: t }).then((n) => Ce(n, Vl, tu));
|
|
2576
2576
|
},
|
|
2577
2577
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2578
2578
|
type: Ze,
|
|
@@ -2580,18 +2580,18 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2580
2580
|
}]
|
|
2581
2581
|
}),
|
|
2582
2582
|
getPluginUsage: e.query({ queryFn({ projectId: t }, r) {
|
|
2583
|
-
return u.getClient(r).projects.usage_detail({ projectId: t }).then((n) => Ce(n,
|
|
2583
|
+
return u.getClient(r).projects.usage_detail({ projectId: t }).then((n) => Ce(n, Gl, En));
|
|
2584
2584
|
} }),
|
|
2585
2585
|
getPluginPayments: e.query({
|
|
2586
2586
|
queryFn({ projectId: t, page: r = 1, perPage: n = 20 }, i) {
|
|
2587
|
-
return
|
|
2587
|
+
return Jl() ? Promise.resolve({ data: va }) : u.getClient(i).request({
|
|
2588
2588
|
path: `/projects/v1/billing-context/${t}/payments`,
|
|
2589
2589
|
method: "GET",
|
|
2590
2590
|
query: {
|
|
2591
2591
|
page: String(r),
|
|
2592
2592
|
per_page: String(n)
|
|
2593
2593
|
}
|
|
2594
|
-
}).then((a) => Ce(a, va,
|
|
2594
|
+
}).then((a) => Ce(a, va, Dl));
|
|
2595
2595
|
},
|
|
2596
2596
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2597
2597
|
type: Ze,
|
|
@@ -2612,7 +2612,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2612
2612
|
id: n
|
|
2613
2613
|
}]
|
|
2614
2614
|
}) })
|
|
2615
|
-
}), { useGetEmailRawQuery: Oh } = At, ya = "Optimise",
|
|
2615
|
+
}), { useGetEmailRawQuery: Oh } = At, ya = "Optimise", nu = "usage_limit_exceeded", iu = async (e, t, r) => {
|
|
2616
2616
|
const n = await u.fetchBaseQueryApp({ baseUrl: `${u.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
2617
2617
|
if (n.error) {
|
|
2618
2618
|
let i = n.error;
|
|
@@ -2627,7 +2627,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2627
2627
|
}, ir = u.createApi({
|
|
2628
2628
|
reducerPath: "optimiseApi",
|
|
2629
2629
|
tagTypes: [ya],
|
|
2630
|
-
baseQuery:
|
|
2630
|
+
baseQuery: iu,
|
|
2631
2631
|
endpoints: (e) => ({
|
|
2632
2632
|
editLinks: e.mutation({
|
|
2633
2633
|
query: (t) => ({
|
|
@@ -2663,7 +2663,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2663
2663
|
body: t
|
|
2664
2664
|
}) })
|
|
2665
2665
|
})
|
|
2666
|
-
}), { useEditLinksMutation:
|
|
2666
|
+
}), { useEditLinksMutation: au, useEditImagesMutation: ou, useEditSpamMutation: su } = ir, cu = async (e, t, r) => {
|
|
2667
2667
|
try {
|
|
2668
2668
|
const { notification: n, ...i } = e, a = await u.fetchBaseQuery({ baseUrl: "https://racs.rest/v3" })(i, t, r);
|
|
2669
2669
|
if (a.error) throw new Error();
|
|
@@ -2673,7 +2673,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2673
2673
|
}
|
|
2674
2674
|
}, ar = u.createApi({
|
|
2675
2675
|
reducerPath: "exportPngApi",
|
|
2676
|
-
baseQuery:
|
|
2676
|
+
baseQuery: cu,
|
|
2677
2677
|
endpoints: (e) => ({
|
|
2678
2678
|
makeTemporaryMailForPng: e.mutation({ query: ({ file: t, title: r, notification: n }) => {
|
|
2679
2679
|
const i = new Blob([t], { type: "text/html" }), a = new FormData();
|
|
@@ -2690,7 +2690,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2690
2690
|
notification: r
|
|
2691
2691
|
}) })
|
|
2692
2692
|
})
|
|
2693
|
-
}), { useMakeTemporaryMailForPngMutation:
|
|
2693
|
+
}), { useMakeTemporaryMailForPngMutation: lu, useDeleteTemporaryMailMutation: uu } = ar, or = u.createApi({
|
|
2694
2694
|
reducerPath: "yandexAuthApi",
|
|
2695
2695
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
2696
2696
|
endpoints: (e) => ({ validateYandexToken: e.mutation({ query: (t) => ({
|
|
@@ -2722,7 +2722,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2722
2722
|
method: "POST",
|
|
2723
2723
|
body: r
|
|
2724
2724
|
}) }) })
|
|
2725
|
-
}), { usePostDataByWebHookMutation:
|
|
2725
|
+
}), { usePostDataByWebHookMutation: pu } = lr, ur = u.createApi({
|
|
2726
2726
|
reducerPath: "unisenderApi",
|
|
2727
2727
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
2728
2728
|
endpoints: (e) => ({ createEmailMessage: e.mutation({ query: (t) => {
|
|
@@ -2736,7 +2736,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2736
2736
|
body: n.toString()
|
|
2737
2737
|
};
|
|
2738
2738
|
} }) })
|
|
2739
|
-
}), { useCreateEmailMessageMutation:
|
|
2739
|
+
}), { useCreateEmailMessageMutation: du } = ur, pr = u.createApi({
|
|
2740
2740
|
reducerPath: "mailganerApi",
|
|
2741
2741
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://mailganer.com" }),
|
|
2742
2742
|
endpoints: (e) => ({ createMailing: e.mutation({ query: (t) => {
|
|
@@ -2748,7 +2748,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2748
2748
|
body: r.toString()
|
|
2749
2749
|
};
|
|
2750
2750
|
} }) })
|
|
2751
|
-
}), { useCreateMailingMutation:
|
|
2751
|
+
}), { useCreateMailingMutation: fu } = pr, dr = u.createApi({
|
|
2752
2752
|
reducerPath: "sendsayApi",
|
|
2753
2753
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://api.sendsay.ru" }),
|
|
2754
2754
|
endpoints: (e) => ({ createDraft: e.mutation({ query: (t) => {
|
|
@@ -2773,7 +2773,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2773
2773
|
body: r
|
|
2774
2774
|
};
|
|
2775
2775
|
} }) })
|
|
2776
|
-
}), { useCreateDraftMutation:
|
|
2776
|
+
}), { useCreateDraftMutation: mu } = dr, fr = u.createApi({
|
|
2777
2777
|
reducerPath: "altcraftApi",
|
|
2778
2778
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
2779
2779
|
endpoints: (e) => ({ addTemplate: e.mutation({ query: (t) => {
|
|
@@ -2802,11 +2802,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2802
2802
|
body: JSON.stringify(n)
|
|
2803
2803
|
};
|
|
2804
2804
|
} }) })
|
|
2805
|
-
}), { useAddTemplateMutation:
|
|
2805
|
+
}), { useAddTemplateMutation: hu } = fr, gu = (e) => e.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "").replace(/<script[^>]*>[\s\S]*?<\/script>/gi, "").replace(/<[^>]+>/g, " ").replace(/ /g, " ").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, "\"").replace(/\s+/g, " ").trim(), mr = u.createApi({
|
|
2806
2806
|
reducerPath: "enkodApi",
|
|
2807
2807
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://api.enkod.ru" }),
|
|
2808
2808
|
endpoints: (e) => ({ createMessage: e.mutation({ query: (t) => {
|
|
2809
|
-
const r =
|
|
2809
|
+
const r = gu(t.html_content) || t.subject, n = {
|
|
2810
2810
|
message: {
|
|
2811
2811
|
subject: t.subject,
|
|
2812
2812
|
fromEmail: t.sender_email || "",
|
|
@@ -2826,14 +2826,14 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2826
2826
|
body: n
|
|
2827
2827
|
};
|
|
2828
2828
|
} }) })
|
|
2829
|
-
}), { useCreateMessageMutation:
|
|
2829
|
+
}), { useCreateMessageMutation: vu } = mr, bu = (e) => {
|
|
2830
2830
|
const t = e.split("-");
|
|
2831
2831
|
return t.length > 1 ? t[1] : "us1";
|
|
2832
|
-
},
|
|
2832
|
+
}, yu = (e) => `https://${bu(e)}.api.mailchimp.com/3.0`, hr = u.createApi({
|
|
2833
2833
|
reducerPath: "mailchimpApi",
|
|
2834
2834
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
2835
2835
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
2836
|
-
const a =
|
|
2836
|
+
const a = yu(t.api_key), o = btoa(`anystring:${t.api_key}`), s = {
|
|
2837
2837
|
type: "regular",
|
|
2838
2838
|
recipients: { list_id: t.list_id },
|
|
2839
2839
|
settings: {
|
|
@@ -2884,16 +2884,16 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2884
2884
|
web_id: f.web_id
|
|
2885
2885
|
} };
|
|
2886
2886
|
} }) })
|
|
2887
|
-
}), { useCreateCampaignMutation:
|
|
2887
|
+
}), { useCreateCampaignMutation: _u } = hr, wn = "https://a.klaviyo.com/api", Eu = "2025-04-15", xu = (e) => ({
|
|
2888
2888
|
"Content-Type": "application/json",
|
|
2889
2889
|
Accept: "application/json",
|
|
2890
2890
|
Authorization: `Klaviyo-API-Key ${e}`,
|
|
2891
|
-
revision:
|
|
2891
|
+
revision: Eu
|
|
2892
2892
|
}), gr = u.createApi({
|
|
2893
2893
|
reducerPath: "klaviyoApi",
|
|
2894
2894
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
2895
2895
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
2896
|
-
const a =
|
|
2896
|
+
const a = xu(t.api_key), o = { data: {
|
|
2897
2897
|
type: "template",
|
|
2898
2898
|
attributes: {
|
|
2899
2899
|
name: `Email ${Date.now()}`,
|
|
@@ -2984,14 +2984,14 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
2984
2984
|
campaign_message_id: b
|
|
2985
2985
|
} };
|
|
2986
2986
|
} }) })
|
|
2987
|
-
}), { useCreateCampaignMutation:
|
|
2987
|
+
}), { useCreateCampaignMutation: wu } = gr, Au = "https://api.hubapi.com", Cu = (e) => ({
|
|
2988
2988
|
"Content-Type": "application/json",
|
|
2989
2989
|
Authorization: `Bearer ${e}`
|
|
2990
2990
|
}), vr = u.createApi({
|
|
2991
2991
|
reducerPath: "hubspotApi",
|
|
2992
2992
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
2993
2993
|
endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
2994
|
-
const a =
|
|
2994
|
+
const a = Cu(t.api_key), o = {
|
|
2995
2995
|
name: t.name,
|
|
2996
2996
|
subject: t.subject,
|
|
2997
2997
|
from: {
|
|
@@ -3033,7 +3033,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3033
3033
|
}
|
|
3034
3034
|
}
|
|
3035
3035
|
}, s = await i({
|
|
3036
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3036
|
+
url: `?proxy_url=${encodeURIComponent(`${Au}/marketing/v3/emails/`)}`,
|
|
3037
3037
|
method: "POST",
|
|
3038
3038
|
headers: a,
|
|
3039
3039
|
body: JSON.stringify(o)
|
|
@@ -3051,7 +3051,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3051
3051
|
error: s.data?.errors?.map((f) => f.message || f.errorType).join("; ") || "Failed to create email"
|
|
3052
3052
|
} };
|
|
3053
3053
|
} }) })
|
|
3054
|
-
}), { useCreateEmailMutation:
|
|
3054
|
+
}), { useCreateEmailMutation: Su } = vr, br = u.createApi({
|
|
3055
3055
|
reducerPath: "salesforceMcApi",
|
|
3056
3056
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3057
3057
|
endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3112,11 +3112,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3112
3112
|
error: m.data?.errors?.map((y) => y.message).join("; ") || "Failed to create email"
|
|
3113
3113
|
} };
|
|
3114
3114
|
} }) })
|
|
3115
|
-
}), { useCreateEmailMutation:
|
|
3115
|
+
}), { useCreateEmailMutation: Pu } = br, Tu = (e) => e.replace(/\/$/, ""), Ou = (e) => e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim() || " ", yr = u.createApi({
|
|
3116
3116
|
reducerPath: "activecampaignApi",
|
|
3117
3117
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3118
3118
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
3119
|
-
const a =
|
|
3119
|
+
const a = Tu(t.api_url), o = t.api_key, s = {
|
|
3120
3120
|
"Content-Type": "application/json",
|
|
3121
3121
|
"Api-Token": o
|
|
3122
3122
|
}, l = await i({
|
|
@@ -3141,7 +3141,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3141
3141
|
reply2: t.from_email,
|
|
3142
3142
|
subject: t.subject,
|
|
3143
3143
|
html: t.html,
|
|
3144
|
-
text:
|
|
3144
|
+
text: Ou(t.html),
|
|
3145
3145
|
preheader_text: "",
|
|
3146
3146
|
format: "mime"
|
|
3147
3147
|
} }, b = await i({
|
|
@@ -3191,7 +3191,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3191
3191
|
error: k?.result_message || "Campaign created but no ID returned."
|
|
3192
3192
|
} };
|
|
3193
3193
|
} }) })
|
|
3194
|
-
}), { useCreateCampaignMutation:
|
|
3194
|
+
}), { useCreateCampaignMutation: ku } = yr, ju = "https://api.brevo.com/v3", _r = u.createApi({
|
|
3195
3195
|
reducerPath: "brevoApi",
|
|
3196
3196
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3197
3197
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3205,7 +3205,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3205
3205
|
htmlContent: t.html,
|
|
3206
3206
|
recipients: { listIds: [t.list_id] }
|
|
3207
3207
|
}, o = await i({
|
|
3208
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3208
|
+
url: `?proxy_url=${encodeURIComponent(`${ju}/emailCampaigns`)}`,
|
|
3209
3209
|
method: "POST",
|
|
3210
3210
|
headers: {
|
|
3211
3211
|
"Content-Type": "application/json",
|
|
@@ -3226,7 +3226,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3226
3226
|
error: o.data?.message || "Failed to create campaign"
|
|
3227
3227
|
} };
|
|
3228
3228
|
} }) })
|
|
3229
|
-
}), { useCreateCampaignMutation:
|
|
3229
|
+
}), { useCreateCampaignMutation: Mu } = _r, Nu = "https://api.createsend.com/api/v3.3", Ru = (e) => `Basic ${btoa(`${e}:x`)}`, Er = u.createApi({
|
|
3230
3230
|
reducerPath: "campaignMonitorApi",
|
|
3231
3231
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3232
3232
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3240,11 +3240,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3240
3240
|
ListIDs: [t.list_id],
|
|
3241
3241
|
InlineCss: !0
|
|
3242
3242
|
}, o = await i({
|
|
3243
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3243
|
+
url: `?proxy_url=${encodeURIComponent(`${Nu}/campaigns/${t.client_id}.json`)}`,
|
|
3244
3244
|
method: "POST",
|
|
3245
3245
|
headers: {
|
|
3246
3246
|
"Content-Type": "application/json",
|
|
3247
|
-
Authorization:
|
|
3247
|
+
Authorization: Ru(t.api_key)
|
|
3248
3248
|
},
|
|
3249
3249
|
body: JSON.stringify(a)
|
|
3250
3250
|
});
|
|
@@ -3261,11 +3261,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3261
3261
|
error: s?.Message || "Failed to create campaign"
|
|
3262
3262
|
} } : { data: { id: l } };
|
|
3263
3263
|
} }) })
|
|
3264
|
-
}), { useCreateCampaignMutation:
|
|
3264
|
+
}), { useCreateCampaignMutation: Iu } = Er, _a = "https://api.cc.email/v3", Lu = (e) => e.includes("[[trackingImage]]") ? e : e.replace(/<body([^>]*)>/i, "<body$1>[[trackingImage]]"), xr = u.createApi({
|
|
3265
3265
|
reducerPath: "constantContactApi",
|
|
3266
3266
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3267
3267
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
3268
|
-
const a =
|
|
3268
|
+
const a = Lu(t.html), o = {
|
|
3269
3269
|
name: t.name,
|
|
3270
3270
|
email_campaign_activities: [{
|
|
3271
3271
|
format_type: 5,
|
|
@@ -3327,7 +3327,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3327
3327
|
}
|
|
3328
3328
|
return { data: { campaign_id: h } };
|
|
3329
3329
|
} }) })
|
|
3330
|
-
}), { useCreateCampaignMutation:
|
|
3330
|
+
}), { useCreateCampaignMutation: Du } = xr, Fu = "https://api.getresponse.com/v3", Uu = (e) => `api-key ${e}`, wr = u.createApi({
|
|
3331
3331
|
reducerPath: "getresponseApi",
|
|
3332
3332
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3333
3333
|
endpoints: (e) => ({ createNewsletter: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3345,11 +3345,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3345
3345
|
flags: ["openrate", "clicktrack"],
|
|
3346
3346
|
sendSettings: { selectedCampaigns: [t.campaign_id] }
|
|
3347
3347
|
}, s = await i({
|
|
3348
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3348
|
+
url: `?proxy_url=${encodeURIComponent(`${Fu}/newsletters`)}`,
|
|
3349
3349
|
method: "POST",
|
|
3350
3350
|
headers: {
|
|
3351
3351
|
"Content-Type": "application/json",
|
|
3352
|
-
"X-Auth-Token":
|
|
3352
|
+
"X-Auth-Token": Uu(t.api_key)
|
|
3353
3353
|
},
|
|
3354
3354
|
body: JSON.stringify(o)
|
|
3355
3355
|
});
|
|
@@ -3366,11 +3366,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3366
3366
|
error: s.data?.message || "Failed to create newsletter"
|
|
3367
3367
|
} };
|
|
3368
3368
|
} }) })
|
|
3369
|
-
}), { useCreateNewsletterMutation:
|
|
3369
|
+
}), { useCreateNewsletterMutation: zu } = wr, Bu = (e) => `https://${e || "r1"}-api.dotdigital.com/v2`, Ea = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, xa = (e) => e && typeof e == "object" && "data" in e && e.data !== void 0 ? e.data : e, wa = (e) => e.trim().toLowerCase(), Ar = u.createApi({
|
|
3370
3370
|
reducerPath: "dotdigitalApi",
|
|
3371
3371
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3372
3372
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
3373
|
-
const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), o =
|
|
3373
|
+
const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), o = Bu(t.region), s = {
|
|
3374
3374
|
"Content-Type": "application/json",
|
|
3375
3375
|
Authorization: Ea(t.username, t.password)
|
|
3376
3376
|
}, l = await i({
|
|
@@ -3413,7 +3413,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3413
3413
|
error: S.data?.message || A?.message || "Failed to create campaign"
|
|
3414
3414
|
} };
|
|
3415
3415
|
} }) })
|
|
3416
|
-
}), { useCreateCampaignMutation:
|
|
3416
|
+
}), { useCreateCampaignMutation: qu } = Ar, $u = "https://app.bentonow.com/api/v1", Hu = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Cr = u.createApi({
|
|
3417
3417
|
reducerPath: "bentoApi",
|
|
3418
3418
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3419
3419
|
endpoints: (e) => ({ createBroadcast: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3431,12 +3431,12 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3431
3431
|
segment_id: t.segment_id || "",
|
|
3432
3432
|
batch_size_per_hour: 500,
|
|
3433
3433
|
approved: !1
|
|
3434
|
-
}] }, o = `${
|
|
3434
|
+
}] }, o = `${$u}/batch/broadcasts?site_uuid=${encodeURIComponent(t.site_uuid)}`, s = await i({
|
|
3435
3435
|
url: `?proxy_url=${encodeURIComponent(o)}`,
|
|
3436
3436
|
method: "POST",
|
|
3437
3437
|
headers: {
|
|
3438
3438
|
"Content-Type": "application/json",
|
|
3439
|
-
Authorization:
|
|
3439
|
+
Authorization: Hu(t.publishable_key, t.secret_key),
|
|
3440
3440
|
"User-Agent": "EmailMaker/1.0"
|
|
3441
3441
|
},
|
|
3442
3442
|
body: JSON.stringify(a)
|
|
@@ -3450,11 +3450,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3450
3450
|
}
|
|
3451
3451
|
return { data: { count: s.data?.count ?? 1 } };
|
|
3452
3452
|
} }) })
|
|
3453
|
-
}), { useCreateBroadcastMutation:
|
|
3453
|
+
}), { useCreateBroadcastMutation: Qu } = Cr, Gu = re.require_eventsource();
|
|
3454
3454
|
function Vu(e, t) {
|
|
3455
3455
|
e === !0 || typeof t != "function" || t();
|
|
3456
3456
|
}
|
|
3457
|
-
var
|
|
3457
|
+
var Wu = async (e, t, r) => {
|
|
3458
3458
|
const n = await u.fetchBaseQueryApp({ baseUrl: u.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "") })(e, t, r);
|
|
3459
3459
|
if (n.error) {
|
|
3460
3460
|
let i = n.error;
|
|
@@ -3468,7 +3468,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3468
3468
|
return n;
|
|
3469
3469
|
}, Sr = u.createApi({
|
|
3470
3470
|
reducerPath: "AiApiGenerator",
|
|
3471
|
-
baseQuery:
|
|
3471
|
+
baseQuery: Wu,
|
|
3472
3472
|
endpoints: (e) => ({
|
|
3473
3473
|
generateIdForTask: e.mutation({ queryFn(t, r) {
|
|
3474
3474
|
return u.getAIClient(r).tasks.tasksControllerCreateTask(t).then((n) => n);
|
|
@@ -3479,7 +3479,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3479
3479
|
getGeneratedContent: e.query({
|
|
3480
3480
|
queryFn: (t) => ({ data: [] }),
|
|
3481
3481
|
async onCacheEntryAdded({ id: t, setError: r }, n) {
|
|
3482
|
-
const { updateCachedData: i, cacheEntryRemoved: a } = n, o = u.getClient(n).baseUrl.indexOf("emailmaker") >= 0 ? u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, s = u.PLUGIN.isPlugin ? await u.di.getInstance(n, re.TOKEN_ID) : u.api.get(u.APP_COOKIES.em_token), l = s ? { Authorization: `Bearer ${s}` } : {}, f = new
|
|
3482
|
+
const { updateCachedData: i, cacheEntryRemoved: a } = n, o = u.getClient(n).baseUrl.indexOf("emailmaker") >= 0 ? u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, s = u.PLUGIN.isPlugin ? await u.di.getInstance(n, re.TOKEN_ID) : u.api.get(u.APP_COOKIES.em_token), l = s ? { Authorization: `Bearer ${s}` } : {}, f = new Gu.EventSourcePolyfill(`${o}/tasks/${t}`, { headers: l });
|
|
3483
3483
|
f.onmessage = (h) => {
|
|
3484
3484
|
const m = JSON.parse(h.data);
|
|
3485
3485
|
i((b) => {
|
|
@@ -3496,7 +3496,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3496
3496
|
body: t
|
|
3497
3497
|
}) })
|
|
3498
3498
|
})
|
|
3499
|
-
}), { useGenerateIdForTaskMutation: Nh, useGetGeneratedContentQuery: Rh, useLazyClearAiChatQuery:
|
|
3499
|
+
}), { useGenerateIdForTaskMutation: Nh, useGetGeneratedContentQuery: Rh, useLazyClearAiChatQuery: Yu, useLazyGetGeneratedContentQuery: Xu, useGetAiGenerateStatusMutation: Ju } = Sr, Aa = async (e) => {
|
|
3500
3500
|
const t = await e.text();
|
|
3501
3501
|
let r = t;
|
|
3502
3502
|
try {
|
|
@@ -3505,7 +3505,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3505
3505
|
r = t;
|
|
3506
3506
|
}
|
|
3507
3507
|
return r;
|
|
3508
|
-
},
|
|
3508
|
+
}, Zu = (e, t, r) => {
|
|
3509
3509
|
if (!e) throw new Error(`Set ${r}`);
|
|
3510
3510
|
return {
|
|
3511
3511
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -3514,7 +3514,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3514
3514
|
body: t,
|
|
3515
3515
|
responseHandler: Aa
|
|
3516
3516
|
};
|
|
3517
|
-
},
|
|
3517
|
+
}, Ku = (e, t, r) => {
|
|
3518
3518
|
if (!e) throw new Error(`Set ${r}`);
|
|
3519
3519
|
return {
|
|
3520
3520
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -3526,12 +3526,12 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3526
3526
|
reducerPath: "requestPlaneApi",
|
|
3527
3527
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3528
3528
|
endpoints: (e) => ({
|
|
3529
|
-
getRequest: e.mutation({ query: (t) =>
|
|
3530
|
-
getInvoiceRequest: e.mutation({ query: (t) =>
|
|
3529
|
+
getRequest: e.mutation({ query: (t) => Ku("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
3530
|
+
getInvoiceRequest: e.mutation({ query: (t) => Zu("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
3531
3531
|
})
|
|
3532
|
-
}), { useGetRequestMutation: Ih, useGetInvoiceRequestMutation:
|
|
3532
|
+
}), { useGetRequestMutation: Ih, useGetInvoiceRequestMutation: ep } = Pr, tp = async (e, t, r) => {
|
|
3533
3533
|
try {
|
|
3534
|
-
const { notification: n, ...i } = e, a = await u.
|
|
3534
|
+
const { notification: n, ...i } = e, a = await u.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" })(i, t, r);
|
|
3535
3535
|
if (a.error) throw new Error();
|
|
3536
3536
|
return a;
|
|
3537
3537
|
} catch (n) {
|
|
@@ -3539,15 +3539,15 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3539
3539
|
}
|
|
3540
3540
|
}, Tr = u.createApi({
|
|
3541
3541
|
reducerPath: "htmlToPdfPlusApi",
|
|
3542
|
-
baseQuery:
|
|
3542
|
+
baseQuery: tp,
|
|
3543
3543
|
endpoints: (e) => ({ generateHtmlToPdf: e.mutation({ query: ({ htmlContent: t, notification: r }) => ({
|
|
3544
|
-
url: "",
|
|
3544
|
+
url: "emails/pdf",
|
|
3545
3545
|
method: "POST",
|
|
3546
3546
|
body: t,
|
|
3547
3547
|
notification: r,
|
|
3548
3548
|
responseHandler: (n) => n.blob()
|
|
3549
3549
|
}) }) })
|
|
3550
|
-
}), { useGenerateHtmlToPdfMutation:
|
|
3550
|
+
}), { useGenerateHtmlToPdfMutation: rp } = Tr, Or = u.createApi({
|
|
3551
3551
|
reducerPath: "layoutConverterApi",
|
|
3552
3552
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3553
3553
|
endpoints: (e) => ({
|
|
@@ -3561,7 +3561,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3561
3561
|
method: "GET"
|
|
3562
3562
|
}) })
|
|
3563
3563
|
})
|
|
3564
|
-
}), { useCreateConvertJobMutation:
|
|
3564
|
+
}), { useCreateConvertJobMutation: np, useLazyGetConvertJobStatusQuery: ip } = Or;
|
|
3565
3565
|
function Ca({ title: e, content: t, acf: { seen: r, type: n, event: i, data: a }, ...o }) {
|
|
3566
3566
|
return {
|
|
3567
3567
|
...o,
|
|
@@ -3606,7 +3606,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3606
3606
|
}]
|
|
3607
3607
|
})
|
|
3608
3608
|
})
|
|
3609
|
-
}), { useGetNotificationsQuery:
|
|
3609
|
+
}), { useGetNotificationsQuery: ap, useNotificationShownMutation: op } = St, kr = u.createApi({
|
|
3610
3610
|
reducerPath: "getCheckoutUrlApi",
|
|
3611
3611
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3612
3612
|
endpoints: (e) => ({ GetCheckoutUrl: e.mutation({ query: (t) => ({
|
|
@@ -3614,7 +3614,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3614
3614
|
method: "POST",
|
|
3615
3615
|
body: t
|
|
3616
3616
|
}) }) })
|
|
3617
|
-
}), { useGetCheckoutUrlMutation:
|
|
3617
|
+
}), { useGetCheckoutUrlMutation: sp } = kr, An = u.createApi({
|
|
3618
3618
|
reducerPath: "recoverPasswordApi",
|
|
3619
3619
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://app.useblocks.io/api/wp-json/bdpwr/v1/" }),
|
|
3620
3620
|
endpoints: () => ({})
|
|
@@ -3631,15 +3631,15 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3631
3631
|
responseHandler: (e) => e.text()
|
|
3632
3632
|
}),
|
|
3633
3633
|
endpoints: (e) => ({ getConfirmationMail: e.query({ query: ({ userId: t, email: r }) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/1fbda9c1-3211-4b12-be45-9cd2ea73d73d?user_id=${t}&user_email=${r}`)}` }) }) })
|
|
3634
|
-
}), { useLazyGetConfirmationMailQuery:
|
|
3634
|
+
}), { useLazyGetConfirmationMailQuery: cp } = jr, Mr = u.createApi({
|
|
3635
3635
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
3636
3636
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3637
3637
|
endpoints: (e) => ({ getCanselRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/38815aec-cb5d-4b40-8dcb-75e7453573a0?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
3638
|
-
}), { useLazyGetCanselRecurrenceQuery:
|
|
3638
|
+
}), { useLazyGetCanselRecurrenceQuery: lp, useGetCanselRecurrenceQuery: Dh } = Mr, Nr = u.createApi({
|
|
3639
3639
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
3640
3640
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3641
3641
|
endpoints: (e) => ({ getRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/7ac13d46-e4af-4dea-ab21-aab55415575b?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
3642
|
-
}), { useLazyGetRecurrenceQuery:
|
|
3642
|
+
}), { useLazyGetRecurrenceQuery: up, useGetRecurrenceQuery: Fh } = Nr, Rr = u.createApi({
|
|
3643
3643
|
reducerPath: "authApi",
|
|
3644
3644
|
baseQuery: u.fetchBaseQueryApp({
|
|
3645
3645
|
baseUrl: "https://app.useblocks.io/api/v2",
|
|
@@ -3688,7 +3688,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3688
3688
|
body: t
|
|
3689
3689
|
}) })
|
|
3690
3690
|
})
|
|
3691
|
-
}), { useLoginMutation: Uh, useRegisterMutation: zh, useRefreshTokenMutation: Bh, useLogoutMutation:
|
|
3691
|
+
}), { useLoginMutation: Uh, useRegisterMutation: zh, useRefreshTokenMutation: Bh, useLogoutMutation: dp, useGetUserQuery: qh, useLazyGetUserQuery: $h, useChangePasswordMutation: fp, useResetPasswordMutation: Hh, useResetPasswordConfirmMutation: Qh } = Rr, Cn = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
3692
3692
|
<html>
|
|
3693
3693
|
<head>
|
|
3694
3694
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -3730,7 +3730,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3730
3730
|
</table>
|
|
3731
3731
|
</body>
|
|
3732
3732
|
</html>`;
|
|
3733
|
-
function
|
|
3733
|
+
function mp(e) {
|
|
3734
3734
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
3735
3735
|
}
|
|
3736
3736
|
var Tt = u.createState({
|
|
@@ -3763,7 +3763,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3763
3763
|
});
|
|
3764
3764
|
function Sa(e, t) {
|
|
3765
3765
|
const { id: r, subject: n = void 0, description: i = "", preheader: a, html: o = Cn, utm_parameters: { utm_source: s = "", utm_medium: l = "", utm_campaign: f = "", utm_term: h = "", utm_content: m = "" } = {}, common_styles: b = "{}", emailtags: y = null, renderGuid: S, title: A, _embedded: C, isAmp: k = !1 } = t;
|
|
3766
|
-
e.hasChanged || (e.hasChanged = !0), delete e.email.id, e.email.isNew = !0, e.email.isAmp = k, e.email.title = A,
|
|
3766
|
+
e.hasChanged || (e.hasChanged = !0), delete e.email.id, e.email.isNew = !0, e.email.isAmp = k, e.email.title = A, mp(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = y, e.email.subject = n, e.email.description = i, e.email.common_styles = b || JSON.stringify(vi), e.email.preheader = a, e.email.is_template = !1, e.email.html = o;
|
|
3767
3767
|
const P = u.getTaxonomy({ _embedded: C }, "emailtags") ?? [];
|
|
3768
3768
|
e.email.tags = P.map((O) => O.name), e.email.renderGuid = S ?? e.email.renderGuid ?? u.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 = {
|
|
3769
3769
|
utm_source: s,
|
|
@@ -3873,7 +3873,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3873
3873
|
}
|
|
3874
3874
|
});
|
|
3875
3875
|
}
|
|
3876
|
-
}), { setNewEmailAll:
|
|
3876
|
+
}), { setNewEmailAll: hp, setNewEmailTitle: gp, setNewEmailSubject: vp, setNewEmailPreheader: bp, setNewEmailDescription: yp, setNewEmailIsTemplate: _p, setNewEmailHtml: Ep, setNewCommonStyles: Gh, setNewEmailTags: xp, setNewEmailUtmSource: wp, setNewEmailUtmMedium: Ap, setNewEmailUtmCampaign: Cp, setNewEmailUtmContent: Sp, setNewEmailUtmTerm: Pp, resetNewEmailSlice: Tp, setNewIsInited: Op, setNewEmailIsAmp: kp, setNewEmailMeta: jp, setNewEmailProject: Mp, promoteNewEmailAfterSave: Np } = Sn.actions, Rp = (e) => e[Ir].email, Ip = (e) => e[Ir].appliedShowToken, Lp = (e) => e[Ir].hasChanged, Pa = `<tr em="block" class="empty-structure">
|
|
3877
3877
|
<td align="center">
|
|
3878
3878
|
<!--[if (gte mso 9)|(IE)]>
|
|
3879
3879
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -3952,7 +3952,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
3952
3952
|
}
|
|
3953
3953
|
}));
|
|
3954
3954
|
}
|
|
3955
|
-
}), { setNewBlockAll:
|
|
3955
|
+
}), { setNewBlockAll: Vh, setNewBlockTitle: Wh, setNewBlockDescription: Dp, setNewBlockHtml: Yh, setNewBlockTags: Fp, resetNewBlockSlice: Up, setBlockIsAmp: Xh } = Pn.actions, zp = (e) => e[Ta].hasChanged, Oa = u.createState({
|
|
3956
3956
|
emailsTotal: 0,
|
|
3957
3957
|
elementsList: [],
|
|
3958
3958
|
emailsTrashTotal: 0,
|
|
@@ -4003,7 +4003,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4003
4003
|
}) : n);
|
|
4004
4004
|
});
|
|
4005
4005
|
}
|
|
4006
|
-
}), { resetPagesAndTotal:
|
|
4006
|
+
}), { resetPagesAndTotal: Bp, toggleElementsView: qp, resetElementsList: $p, removeEmailFromList: Hp } = Tn.actions, Qp = (e) => e[Re].emailsTotal, Gp = (e) => e[Re].elementsView, Vp = (e) => e[Re].elementsList, Wp = (e) => e[Re].customFolders, Yp = (e) => e[Re].emailsTrashTotal, Xp = (e) => e[Re].elementsTrashList, ka = u.createState({
|
|
4007
4007
|
blocksTotal: null,
|
|
4008
4008
|
blocksTotalPages: null,
|
|
4009
4009
|
parentEmailBlocksTotal: null,
|
|
@@ -4061,7 +4061,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4061
4061
|
}) : n);
|
|
4062
4062
|
});
|
|
4063
4063
|
}
|
|
4064
|
-
}), { resetPagesAndTotal: Jh, resetElementsList: Zh, toggleElementsView: Kh, removeBlockFromList: eg } = On.actions,
|
|
4064
|
+
}), { resetPagesAndTotal: Jh, resetElementsList: Zh, toggleElementsView: Kh, removeBlockFromList: eg } = On.actions, Jp = (e) => e[Lr].blocksTotal, Zp = (e) => e[Lr].templateBlocksTotal, Kp = (e) => e[Lr].parentEmailBlocksTotal, ja = u.createState({
|
|
4065
4065
|
historyData: [],
|
|
4066
4066
|
elementHistoryTotalPages: 1
|
|
4067
4067
|
}), kn = "revisionHistorySlice", Dr = u.createSlice({
|
|
@@ -4080,7 +4080,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4080
4080
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
4081
4081
|
});
|
|
4082
4082
|
}
|
|
4083
|
-
}), { resetElementHistorySlice:
|
|
4083
|
+
}), { resetElementHistorySlice: ed } = Dr.actions, { setElementHistory: tg } = Dr.actions, td = (e) => e[kn].elementHistoryTotalPages, rd = (e) => e[kn].historyData, Ma = u.combineReducers({
|
|
4084
4084
|
[u.di.reducerPath]: u.di.reducer,
|
|
4085
4085
|
[vt.reducerPath]: vt.reducer,
|
|
4086
4086
|
[u.userSlice.name]: u.userSlice.reducer,
|
|
@@ -4149,7 +4149,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4149
4149
|
[Mr.reducerPath]: Mr.reducer,
|
|
4150
4150
|
[Rr.reducerPath]: Rr.reducer,
|
|
4151
4151
|
[re.projectSettingsV2Api.reducerPath]: re.projectSettingsV2Api.reducer
|
|
4152
|
-
}),
|
|
4152
|
+
}), nd = (e, t) => t.type === "authorizationApi/resetApiState" ? Ma({
|
|
4153
4153
|
[u.reducerPath]: e[u.reducerPath],
|
|
4154
4154
|
[ke.reducerPath]: e[ke.reducerPath]
|
|
4155
4155
|
}, t) : Ma(e, t), Na = [
|
|
@@ -4207,14 +4207,14 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4207
4207
|
Nr,
|
|
4208
4208
|
Mr
|
|
4209
4209
|
];
|
|
4210
|
-
function
|
|
4210
|
+
function id(e) {
|
|
4211
4211
|
let t = {};
|
|
4212
4212
|
if (e) {
|
|
4213
4213
|
const n = u.createIdentifier$1();
|
|
4214
4214
|
u.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
4215
4215
|
}
|
|
4216
4216
|
const r = u.configureStore({
|
|
4217
|
-
reducer:
|
|
4217
|
+
reducer: nd,
|
|
4218
4218
|
middleware: (n) => n({ serializableCheck: !1 }).concat(Na.map((i) => i.middleware)),
|
|
4219
4219
|
preloadedState: t
|
|
4220
4220
|
});
|
|
@@ -4240,7 +4240,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4240
4240
|
for (const t of Na) e.set(t.reducerPath, t);
|
|
4241
4241
|
return e.set(Fr.reducerPath, Fr), [...e.values()];
|
|
4242
4242
|
}
|
|
4243
|
-
var
|
|
4243
|
+
var ad = {
|
|
4244
4244
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
4245
4245
|
imageApi: new Set([
|
|
4246
4246
|
"sendAiImageRequest",
|
|
@@ -4248,27 +4248,27 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4248
4248
|
"getAiImageSSE"
|
|
4249
4249
|
])
|
|
4250
4250
|
};
|
|
4251
|
-
function
|
|
4251
|
+
function od(e) {
|
|
4252
4252
|
return e.getState().configSlice?.config;
|
|
4253
4253
|
}
|
|
4254
|
-
function
|
|
4254
|
+
function sd(e) {
|
|
4255
4255
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
4256
4256
|
}
|
|
4257
|
-
function
|
|
4258
|
-
return od(
|
|
4257
|
+
function cd(e) {
|
|
4258
|
+
return sd(od(e));
|
|
4259
4259
|
}
|
|
4260
|
-
function
|
|
4261
|
-
return
|
|
4260
|
+
function ld(e, t, r, n) {
|
|
4261
|
+
return ad[t]?.has(r) ? (i) => cd(e) ? (a) => a(i) : n(i) : n;
|
|
4262
4262
|
}
|
|
4263
|
-
function
|
|
4263
|
+
function ud(e) {
|
|
4264
4264
|
const t = u.getOverrideApiFn(e);
|
|
4265
4265
|
return ((r, n) => {
|
|
4266
4266
|
if (!r || typeof r.reducerPath != "string") return new u.Disposable();
|
|
4267
|
-
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, o]) => [a, typeof o == "function" ?
|
|
4267
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, o]) => [a, typeof o == "function" ? ld(e, r.reducerPath, a, o) : o]));
|
|
4268
4268
|
return t(r, i);
|
|
4269
4269
|
});
|
|
4270
4270
|
}
|
|
4271
|
-
function
|
|
4271
|
+
function pd(e) {
|
|
4272
4272
|
const t = `blocks_${u.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
4273
4273
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
4274
4274
|
window[t] = function(a) {
|
|
@@ -4279,58 +4279,58 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4279
4279
|
r.remove(), delete window[t];
|
|
4280
4280
|
});
|
|
4281
4281
|
}
|
|
4282
|
-
function
|
|
4282
|
+
function dd(e) {
|
|
4283
4283
|
if (!e) return;
|
|
4284
4284
|
const t = re.decodeJwt(e)?.data, r = t?.data?.scope ?? t?.scope;
|
|
4285
4285
|
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;
|
|
4286
4286
|
}
|
|
4287
|
-
async function
|
|
4287
|
+
async function fd(e) {
|
|
4288
4288
|
const t = u.di.getInstance(e, u.STANDALONE_PROJECT_ID), r = t ? void 0 : await u.di.getInstanceAsync(e, u.APP_ID).catch(() => {}), n = t || (r?.project !== void 0 ? String(r.project) : void 0);
|
|
4289
4289
|
n && e.dispatch(u.setProject(Qi(n)));
|
|
4290
4290
|
}
|
|
4291
|
-
async function
|
|
4291
|
+
async function md(e, t) {
|
|
4292
4292
|
try {
|
|
4293
4293
|
const r = function(s) {
|
|
4294
|
-
const l = u.di.getInstance(e, u.STANDALONE_PROJECT_ID), f = l ?
|
|
4294
|
+
const l = u.di.getInstance(e, u.STANDALONE_PROJECT_ID), f = l ? Gi(l, s) : s;
|
|
4295
4295
|
u.di.injectFactory(e, u.APP_ID, async () => f);
|
|
4296
|
-
}, n =
|
|
4296
|
+
}, n = ud(e), i = await bc(t), a = i.key && Hi(i.key);
|
|
4297
4297
|
if (typeof a != "string") return;
|
|
4298
|
-
const o = await
|
|
4298
|
+
const o = await pd(a);
|
|
4299
4299
|
if (typeof o != "object" || o === null || typeof o.execute != "function") return;
|
|
4300
4300
|
o.execute(r, n, Ra());
|
|
4301
4301
|
} catch {}
|
|
4302
4302
|
}
|
|
4303
|
-
function
|
|
4303
|
+
function hd(e, t) {
|
|
4304
4304
|
const r = Object.keys(t.endpoints);
|
|
4305
4305
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, u.standaloneTerminalGuardExecutor])));
|
|
4306
4306
|
}
|
|
4307
|
-
function
|
|
4307
|
+
function gd(e) {
|
|
4308
4308
|
u.markStandaloneMockGuardInstalled(e);
|
|
4309
4309
|
const t = u.getOverrideApiFn(e);
|
|
4310
|
-
for (const r of Ra())
|
|
4310
|
+
for (const r of Ra()) hd(t, r);
|
|
4311
4311
|
}
|
|
4312
|
-
function
|
|
4312
|
+
function vd(e, t) {
|
|
4313
4313
|
if (e.getInstance(u.STANDALONE_FILE_PROXY_REGISTERED_ID)) return;
|
|
4314
4314
|
e.inject(u.STANDALONE_FILE_PROXY_REGISTERED_ID, !0);
|
|
4315
4315
|
const r = u.getEvent$1(e, u.events.FILE_PROXY_EVENT_ID);
|
|
4316
4316
|
t.addDisposable(r(async ({ url: n }) => (await fetch(n)).blob(), Number.MIN_VALUE));
|
|
4317
4317
|
}
|
|
4318
|
-
function
|
|
4318
|
+
function bd(e) {
|
|
4319
4319
|
e.getInstance(u.STANDALONE_ACTIVATED_ID) || e.inject(u.SECURITY_MODULE_ID, void 0);
|
|
4320
4320
|
}
|
|
4321
4321
|
function jn(e) {
|
|
4322
4322
|
return String(e.standaloneKey || "").trim() || void 0;
|
|
4323
4323
|
}
|
|
4324
|
-
function
|
|
4324
|
+
function yd(e) {
|
|
4325
4325
|
return e.standaloneOnAuthFailure === !0 ? !0 : e.config?.standaloneOnAuthFailure === !0;
|
|
4326
4326
|
}
|
|
4327
4327
|
function Ia(e) {
|
|
4328
|
-
return
|
|
4328
|
+
return yd(e) ? !!jn(e) : !1;
|
|
4329
4329
|
}
|
|
4330
|
-
function
|
|
4330
|
+
function _d(e) {
|
|
4331
4331
|
return !!jn(e) && !Ia(e);
|
|
4332
4332
|
}
|
|
4333
|
-
var
|
|
4333
|
+
var Ed = class extends u.Disposable {
|
|
4334
4334
|
_event;
|
|
4335
4335
|
_listener;
|
|
4336
4336
|
_disposeEvent;
|
|
@@ -4344,7 +4344,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4344
4344
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
4345
4345
|
}
|
|
4346
4346
|
};
|
|
4347
|
-
function
|
|
4347
|
+
function xd(e, t, r) {
|
|
4348
4348
|
const n = u.snapshot(e);
|
|
4349
4349
|
return (i, a, o) => {
|
|
4350
4350
|
const s = n(async (l) => {
|
|
@@ -4370,7 +4370,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4370
4370
|
"SUBJECT",
|
|
4371
4371
|
"INITED"
|
|
4372
4372
|
], Nn = 2e4, Da = Nn + La.reduce((e, t) => e + Mn[t], 0) + 3e3;
|
|
4373
|
-
function
|
|
4373
|
+
function Ad(e) {
|
|
4374
4374
|
return La.reduce((t, r) => t + Fa(r, e), 0);
|
|
4375
4375
|
}
|
|
4376
4376
|
function Fa(e, t) {
|
|
@@ -4385,12 +4385,12 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4385
4385
|
const t = e?.sandboxReady;
|
|
4386
4386
|
return typeof t == "number" && t > 0 ? t : Nn;
|
|
4387
4387
|
}
|
|
4388
|
-
var
|
|
4388
|
+
var Cd = class extends Error {
|
|
4389
4389
|
showId;
|
|
4390
4390
|
constructor(e, t) {
|
|
4391
4391
|
super(`[useblocks] 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;
|
|
4392
4392
|
}
|
|
4393
|
-
},
|
|
4393
|
+
}, Sd = class {
|
|
4394
4394
|
_activeRequest = null;
|
|
4395
4395
|
_pending = new Map();
|
|
4396
4396
|
_listeners = new Set();
|
|
@@ -4406,7 +4406,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4406
4406
|
return this._rejectPending(fe("Superseded by newer show()")), r.aborted ? Promise.reject(fe(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
4407
4407
|
const a = setTimeout(() => {
|
|
4408
4408
|
this._settle(e.showId, () => {
|
|
4409
|
-
i(new
|
|
4409
|
+
i(new Cd(e.showId, t));
|
|
4410
4410
|
});
|
|
4411
4411
|
}, t);
|
|
4412
4412
|
a.unref?.();
|
|
@@ -4454,7 +4454,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4454
4454
|
this._pending.clear();
|
|
4455
4455
|
}
|
|
4456
4456
|
};
|
|
4457
|
-
function
|
|
4457
|
+
function Pd(e, t) {
|
|
4458
4458
|
return {
|
|
4459
4459
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
4460
4460
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -4464,16 +4464,16 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4464
4464
|
} : e?.sandbox
|
|
4465
4465
|
};
|
|
4466
4466
|
}
|
|
4467
|
-
function
|
|
4467
|
+
function Td(e) {
|
|
4468
4468
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
4469
4469
|
Ua(e);
|
|
4470
|
-
za(e) +
|
|
4470
|
+
za(e) + Ad(e.sandbox);
|
|
4471
4471
|
}
|
|
4472
4472
|
var Ba = class {
|
|
4473
4473
|
_controller = new AbortController();
|
|
4474
4474
|
_externalSignalDisposable = new u.Disposable();
|
|
4475
4475
|
_sessionChangeListeners = new Set();
|
|
4476
|
-
_showRegistry = new
|
|
4476
|
+
_showRegistry = new Sd();
|
|
4477
4477
|
_timeouts;
|
|
4478
4478
|
_generation = 0;
|
|
4479
4479
|
_sessionStarted = !1;
|
|
@@ -4522,7 +4522,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4522
4522
|
};
|
|
4523
4523
|
}
|
|
4524
4524
|
configure(e) {
|
|
4525
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
4525
|
+
e.timeouts !== void 0 && (this._timeouts = Pd(this._timeouts, e.timeouts), Td(this._timeouts));
|
|
4526
4526
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
4527
4527
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
4528
4528
|
}
|
|
@@ -4549,18 +4549,18 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
4549
4549
|
e.removeEventListener("abort", t);
|
|
4550
4550
|
});
|
|
4551
4551
|
}
|
|
4552
|
-
},
|
|
4552
|
+
}, Od = (() => {
|
|
4553
4553
|
const e = new Ba();
|
|
4554
4554
|
return e.configure({}), e;
|
|
4555
4555
|
})();
|
|
4556
|
-
function
|
|
4556
|
+
function kd(e = Da) {
|
|
4557
4557
|
return e + 3e3;
|
|
4558
4558
|
}
|
|
4559
4559
|
var qa = "PluginRegistry";
|
|
4560
|
-
function
|
|
4560
|
+
function jd(e = u.resolveContainer()) {
|
|
4561
4561
|
return e.getOrCreateInstance(qa, () => new Ys());
|
|
4562
4562
|
}
|
|
4563
|
-
var
|
|
4563
|
+
var Md = new Xs(() => jd()), $a = {
|
|
4564
4564
|
"application/prs.cww": ["cww"],
|
|
4565
4565
|
"application/prs.xsf+xml": ["xsf"],
|
|
4566
4566
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -5871,7 +5871,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
5871
5871
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
5872
5872
|
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");
|
|
5873
5873
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
5874
|
-
}, Ke, kt, Ie,
|
|
5874
|
+
}, Ke, kt, Ie, Nd = class {
|
|
5875
5875
|
constructor(...e) {
|
|
5876
5876
|
Ke.set(this, new Map()), kt.set(this, new Map()), Ie.set(this, new Map());
|
|
5877
5877
|
for (const t of e) this.define(t);
|
|
@@ -5917,7 +5917,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
5917
5917
|
}
|
|
5918
5918
|
};
|
|
5919
5919
|
Ke = new WeakMap(), kt = new WeakMap(), Ie = new WeakMap();
|
|
5920
|
-
var Rn = new
|
|
5920
|
+
var Rn = new Nd(Ha, $a)._freeze();
|
|
5921
5921
|
function Qa(e) {
|
|
5922
5922
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
5923
5923
|
}
|
|
@@ -5951,22 +5951,22 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
5951
5951
|
}
|
|
5952
5952
|
return r === 0;
|
|
5953
5953
|
}
|
|
5954
|
-
function
|
|
5954
|
+
function Rd(e) {
|
|
5955
5955
|
return (t, r, n) => Ur(t) ? e(t, r, n) : !1;
|
|
5956
5956
|
}
|
|
5957
|
-
function
|
|
5957
|
+
function Id(e) {
|
|
5958
5958
|
return (t) => Ur(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
5959
5959
|
}
|
|
5960
|
-
function
|
|
5960
|
+
function Ld(e) {
|
|
5961
5961
|
return (t, r, n) => Ur(t) ? Qa(t) ? e(t, r, n) : t : !1;
|
|
5962
5962
|
}
|
|
5963
|
-
function
|
|
5963
|
+
function Dd(e) {
|
|
5964
5964
|
return (t) => {
|
|
5965
5965
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
5966
5966
|
return Ur(r) ? Qa(r) ? e(t) : t : !1;
|
|
5967
5967
|
};
|
|
5968
5968
|
}
|
|
5969
|
-
function
|
|
5969
|
+
function Fd(e) {
|
|
5970
5970
|
const t = /[<>&]/g;
|
|
5971
5971
|
for (; t.exec(e) !== null;) return !0;
|
|
5972
5972
|
return !1;
|
|
@@ -5979,7 +5979,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
5979
5979
|
}
|
|
5980
5980
|
return !0;
|
|
5981
5981
|
}
|
|
5982
|
-
function
|
|
5982
|
+
function Ud(e) {
|
|
5983
5983
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
5984
5984
|
crypto.getRandomValues(n);
|
|
5985
5985
|
let i = "";
|
|
@@ -5989,34 +5989,34 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
5989
5989
|
}
|
|
5990
5990
|
return i;
|
|
5991
5991
|
}
|
|
5992
|
-
var
|
|
5992
|
+
var zd = 8, Bd = class {
|
|
5993
5993
|
_byKey = Object.create(null);
|
|
5994
5994
|
_byValue = Object.create(null);
|
|
5995
5995
|
getOrCreateByKey(e) {
|
|
5996
5996
|
let t = this._byKey[e];
|
|
5997
|
-
return t === void 0 && (t =
|
|
5997
|
+
return t === void 0 && (t = Ud(zd), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
5998
5998
|
}
|
|
5999
5999
|
getByValue(e) {
|
|
6000
6000
|
return this._byValue[e];
|
|
6001
6001
|
}
|
|
6002
|
-
}, zr = new
|
|
6003
|
-
function
|
|
6002
|
+
}, zr = new Bd();
|
|
6003
|
+
function Ga(e, t) {
|
|
6004
6004
|
return t !== void 0 && !In(e, t) ? `%|{${zr.getOrCreateByKey(e)}}|%` : e;
|
|
6005
6005
|
}
|
|
6006
|
-
function
|
|
6006
|
+
function qd(e) {
|
|
6007
6007
|
const t = zr.getByValue(e.slice(3, e.length - 3));
|
|
6008
6008
|
return t === void 0 ? e : t;
|
|
6009
6009
|
}
|
|
6010
6010
|
function X(e, t, r) {
|
|
6011
6011
|
return t !== void 0 ? In(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6012
6012
|
}
|
|
6013
|
-
function
|
|
6013
|
+
function $d(e) {
|
|
6014
6014
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6015
6015
|
}
|
|
6016
|
-
function
|
|
6017
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6016
|
+
function V(e) {
|
|
6017
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? $d(e.slice(4, -3)) : e;
|
|
6018
6018
|
}
|
|
6019
|
-
function
|
|
6019
|
+
function Hd(e) {
|
|
6020
6020
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6021
6021
|
let n = e;
|
|
6022
6022
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6024,14 +6024,14 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6024
6024
|
const a = n.trim();
|
|
6025
6025
|
return t.test(a) || r.test(a);
|
|
6026
6026
|
}
|
|
6027
|
-
function
|
|
6028
|
-
return t !== void 0 ? In(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : r ||
|
|
6027
|
+
function Qd(e, t, r) {
|
|
6028
|
+
return t !== void 0 ? In(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : r || Fd(e) || Hd(e) ? `<!--${e}-->` : e;
|
|
6029
6029
|
}
|
|
6030
|
-
var Le =
|
|
6031
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
6032
|
-
}, Ln = "bare",
|
|
6033
|
-
function
|
|
6034
|
-
return e ?
|
|
6030
|
+
var Le = Rd(X), De = Id(V), Gd = Ld(X), Vd = Dd(V), Va = (e) => {
|
|
6031
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", qd), e.escape("@{", "}", X, !0).unescape("<!--@{", "}-->", V, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", Ga, !0), e.escape("{{", "}}", Ga, !0), e.createSyntax("brace-percent").escape("{%", "%}", X).unescape("<!--{%", "%}-->", V), e.createSyntax("brace-hash").escape("{#", "#}", X).unescape("<!--{#", "#}-->", V), e.createSyntax("proscript").escape("[%", "%]", Qd, !0).unescape("<!--[%", "%]-->", V, !0), e.createSyntax("getresponse").escape("[[IF", "]]", X).escape("[[if", "]]", X).escape("[[ELSE]]", "", X).escape("[[else]]", "", X).escape("[[ENDIF]]", "", X).escape("[[endif]]", "", X).unescape("<!--[[IF", "]]-->", V).unescape("<!--[[if", "]]-->", V).unescape("<!--[[ELSE]]", "-->", V).unescape("<!--[[else]]", "-->", V).unescape("<!--[[ENDIF]]", "-->", V).unescape("<!--[[endif]]", "-->", V), e.createSyntax("expert-sender").escape("<if", ">", X).escape("</if", ">", X).escape("<else", ">", X).escape("</else", ">", X).escape("<var ", ">", X, !0).unescape("<!--<if ", ">-->", V).unescape("<!--</if", ">-->", V).unescape("<!--<else ", ">-->", V).unescape("<!--</else", ">-->", V).unescape("<!--<var", ">-->", V, !0), e.createSyntax("velocity").escape("#if", ")", Le).escape("#elseif", ")", Le).escape("#else", "", X).escape("#foreach", ")", Le).escape("#macro", ")", Le).escape("#set", ")", Gd, !0).escape("#parse", ")", Le).escape("#include", ")", Le).escape("#evaluate", ")", Le).escape("#end", "", X).escape("#break", "", X).escape("#stop", "", X).unescape("<!--#macro", "-->", De).unescape("<!--#if", "-->", De).unescape("<!--#elseif", "-->", De).unescape("<!--#else", "-->", V).unescape("<!--#foreach", "-->", De).unescape("<!--#parse", "-->", De).unescape("<!--#include", "-->", De).unescape("<!--#evaluate", "-->", De).unescape("<!--#end", "-->", V).unescape("<!--#break", "-->", V).unescape("<!--#stop", "-->", V).unescape("<!--#set", "-->", Vd, !0), e.createSyntax("mailchimp").escape("*|", "|*", X).unescape("<!--*|", "|*-->", V);
|
|
6032
|
+
}, Ln = "bare", Wd = new Map();
|
|
6033
|
+
function Yd(e) {
|
|
6034
|
+
return e ? Wd.get(e) ?? Ln : Ln;
|
|
6035
6035
|
}
|
|
6036
6036
|
var Wa = [
|
|
6037
6037
|
"brace-percent",
|
|
@@ -6051,7 +6051,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6051
6051
|
function Dn(e) {
|
|
6052
6052
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6053
6053
|
}
|
|
6054
|
-
function
|
|
6054
|
+
function Xd(e, t = (r) => {}) {
|
|
6055
6055
|
const r = {
|
|
6056
6056
|
output: {},
|
|
6057
6057
|
editor: {}
|
|
@@ -6139,7 +6139,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6139
6139
|
}
|
|
6140
6140
|
return o.sort((h, m) => h.range.start - m.range.start || h.range.end - m.range.end);
|
|
6141
6141
|
}
|
|
6142
|
-
function
|
|
6142
|
+
function Jd(e, t) {
|
|
6143
6143
|
const r = t.reduce((s, { mapFn: l, start: f, end: h, syntax: m, isVariable: b }) => (s[f] || (s[f] = []), s[f].push({
|
|
6144
6144
|
value: h,
|
|
6145
6145
|
mapFn: l,
|
|
@@ -6160,7 +6160,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6160
6160
|
function Fn(e, t, r, n, i = !1) {
|
|
6161
6161
|
const a = [];
|
|
6162
6162
|
if (r && (t = t.filter((f) => f.isVariable)), !t.length) return a;
|
|
6163
|
-
const o =
|
|
6163
|
+
const o = Jd(e, t), s = {
|
|
6164
6164
|
insideTag: !1,
|
|
6165
6165
|
insideAttributeValue: !1,
|
|
6166
6166
|
attributeQuoteChar: void 0,
|
|
@@ -6213,13 +6213,13 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6213
6213
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
6214
6214
|
return n;
|
|
6215
6215
|
}
|
|
6216
|
-
var
|
|
6216
|
+
var Zd = class {
|
|
6217
6217
|
_disposables = [];
|
|
6218
6218
|
_escapes = [];
|
|
6219
6219
|
_unescapes = [];
|
|
6220
6220
|
_escapeMatchers = [];
|
|
6221
6221
|
_unescapeMatchers = [];
|
|
6222
|
-
constructor(e =
|
|
6222
|
+
constructor(e = Va) {
|
|
6223
6223
|
const { _escapes: t, _unescapes: r } = this;
|
|
6224
6224
|
e({
|
|
6225
6225
|
createSyntax(n) {
|
|
@@ -6281,7 +6281,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6281
6281
|
return [...a, ...o].sort((s, l) => s.range.start - l.range.start || s.range.end - l.range.end);
|
|
6282
6282
|
}
|
|
6283
6283
|
getRevertMappings(e, t, r) {
|
|
6284
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
6284
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Yd(i) === "html-comment";
|
|
6285
6285
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
6286
6286
|
}
|
|
6287
6287
|
getDetectedMappings(e, t, r) {
|
|
@@ -6309,7 +6309,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6309
6309
|
}
|
|
6310
6310
|
}, ne = (function(e) {
|
|
6311
6311
|
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;
|
|
6312
|
-
})({}), qr = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
6312
|
+
})({}), qr = (e) => e.type === 0 ? e.start - 1 : e.start, Kd = (e) => e.type === 0 ? e.end + 1 : e.end, Se = class Ws {
|
|
6313
6313
|
start;
|
|
6314
6314
|
end;
|
|
6315
6315
|
children;
|
|
@@ -6357,7 +6357,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6357
6357
|
const r = Ka(this.children, (n) => t <= qr(n)) - 1;
|
|
6358
6358
|
if (r >= 0) {
|
|
6359
6359
|
const n = this.children[r];
|
|
6360
|
-
if (t >= qr(n) && t <=
|
|
6360
|
+
if (t >= qr(n) && t <= Kd(n)) return n.findNodeAt(t);
|
|
6361
6361
|
}
|
|
6362
6362
|
return this;
|
|
6363
6363
|
}
|
|
@@ -6391,7 +6391,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6391
6391
|
const i = this.start - r, a = new Ws(r, this.end - i, [], t);
|
|
6392
6392
|
return a.children = n ? this.children.map((o) => o.clone(a, o.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;
|
|
6393
6393
|
}
|
|
6394
|
-
},
|
|
6394
|
+
}, ef = new Set([
|
|
6395
6395
|
"area",
|
|
6396
6396
|
"br",
|
|
6397
6397
|
"col",
|
|
@@ -6404,20 +6404,20 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6404
6404
|
"param",
|
|
6405
6405
|
"vk-snippet-end"
|
|
6406
6406
|
]);
|
|
6407
|
-
function
|
|
6407
|
+
function tf(e) {
|
|
6408
6408
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
6409
6409
|
}
|
|
6410
6410
|
var Za = Object.create(null);
|
|
6411
|
-
function
|
|
6411
|
+
function rf(e, t) {
|
|
6412
6412
|
const r = Za[e] || (Za[e] = Object.create(null));
|
|
6413
6413
|
let n = r[t];
|
|
6414
6414
|
if (typeof n != "boolean") {
|
|
6415
|
-
const i = document.createElement(e)[
|
|
6415
|
+
const i = document.createElement(e)[tf(t)];
|
|
6416
6416
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
6417
6417
|
}
|
|
6418
6418
|
return n;
|
|
6419
6419
|
}
|
|
6420
|
-
function
|
|
6420
|
+
function nf(e) {
|
|
6421
6421
|
const t = e.tag?.toLowerCase();
|
|
6422
6422
|
let r = "";
|
|
6423
6423
|
if (t) {
|
|
@@ -6426,15 +6426,15 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6426
6426
|
const i = Object.keys(n);
|
|
6427
6427
|
for (const a of i) {
|
|
6428
6428
|
const o = n[a] === null ? "" : n[a];
|
|
6429
|
-
typeof o == "string" && (r += o === "" && a !== "em" && !
|
|
6429
|
+
typeof o == "string" && (r += o === "" && a !== "em" && !rf(t, a) ? ` ${a}` : ` ${a}="${o.replaceAll("\"", "'")}"`);
|
|
6430
6430
|
}
|
|
6431
6431
|
}
|
|
6432
6432
|
}
|
|
6433
6433
|
return r;
|
|
6434
6434
|
}
|
|
6435
|
-
function
|
|
6435
|
+
function af(e, t) {
|
|
6436
6436
|
if (e.start !== e.startTagEnd || t) {
|
|
6437
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
6437
|
+
const r = e.tag?.toLowerCase() || "div", n = nf(e);
|
|
6438
6438
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
6439
6439
|
}
|
|
6440
6440
|
return "";
|
|
@@ -6448,18 +6448,18 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6448
6448
|
}
|
|
6449
6449
|
return r;
|
|
6450
6450
|
}
|
|
6451
|
-
function
|
|
6451
|
+
function of(e) {
|
|
6452
6452
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
6453
6453
|
}
|
|
6454
6454
|
function Un(e) {
|
|
6455
6455
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
6456
6456
|
}
|
|
6457
6457
|
var eo = Object.create(null);
|
|
6458
|
-
function
|
|
6458
|
+
function sf(e, t) {
|
|
6459
6459
|
const r = eo[e] || (eo[e] = Object.create(null));
|
|
6460
6460
|
let n = r[t];
|
|
6461
6461
|
if (typeof n != "boolean") {
|
|
6462
|
-
const i = document.createElement(e)[
|
|
6462
|
+
const i = document.createElement(e)[of(t)];
|
|
6463
6463
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
6464
6464
|
}
|
|
6465
6465
|
return n;
|
|
@@ -6473,16 +6473,16 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6473
6473
|
function to(e) {
|
|
6474
6474
|
return e.tagName === "IMG";
|
|
6475
6475
|
}
|
|
6476
|
-
function
|
|
6476
|
+
function cf(e) {
|
|
6477
6477
|
return e.tagName === "AMP-IMG";
|
|
6478
6478
|
}
|
|
6479
|
-
function
|
|
6479
|
+
function lf(e) {
|
|
6480
6480
|
return e.tagName === "BODY";
|
|
6481
6481
|
}
|
|
6482
|
-
function
|
|
6482
|
+
function uf(e) {
|
|
6483
6483
|
return e.tagName === "FORM";
|
|
6484
6484
|
}
|
|
6485
|
-
function
|
|
6485
|
+
function pf(e) {
|
|
6486
6486
|
return e.tagName === "HTML";
|
|
6487
6487
|
}
|
|
6488
6488
|
function ro(e) {
|
|
@@ -6491,10 +6491,10 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6491
6491
|
function Bn(e) {
|
|
6492
6492
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
6493
6493
|
}
|
|
6494
|
-
function
|
|
6494
|
+
function df(e) {
|
|
6495
6495
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
6496
6496
|
}
|
|
6497
|
-
function
|
|
6497
|
+
function ff(e) {
|
|
6498
6498
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
6499
6499
|
}
|
|
6500
6500
|
var Nt;
|
|
@@ -6547,16 +6547,16 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6547
6547
|
function qn(e) {
|
|
6548
6548
|
return e.nodeType === Node.COMMENT_NODE;
|
|
6549
6549
|
}
|
|
6550
|
-
function
|
|
6550
|
+
function mf(e) {
|
|
6551
6551
|
return e && !!e.host && !!e.mode;
|
|
6552
6552
|
}
|
|
6553
|
-
function
|
|
6553
|
+
function hf(e) {
|
|
6554
6554
|
const t = e.getRootNode() || window.document;
|
|
6555
|
-
return
|
|
6555
|
+
return mf(t) ? t : null;
|
|
6556
6556
|
}
|
|
6557
|
-
var
|
|
6558
|
-
function
|
|
6559
|
-
const t = et(e).matchAll(
|
|
6557
|
+
var gf = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
6558
|
+
function vf(e) {
|
|
6559
|
+
const t = et(e).matchAll(gf);
|
|
6560
6560
|
if (t) for (const r of t) {
|
|
6561
6561
|
const [, n, , i, a] = r;
|
|
6562
6562
|
return {
|
|
@@ -6569,7 +6569,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6569
6569
|
function Rt(e) {
|
|
6570
6570
|
return e.nodeType === Node.TEXT_NODE;
|
|
6571
6571
|
}
|
|
6572
|
-
function
|
|
6572
|
+
function bf(e) {
|
|
6573
6573
|
return e.tagName === "TABLE";
|
|
6574
6574
|
}
|
|
6575
6575
|
async function no(e, t = 5e3) {
|
|
@@ -6578,18 +6578,18 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6578
6578
|
}) : getComputedStyle(e);
|
|
6579
6579
|
}
|
|
6580
6580
|
function et(e) {
|
|
6581
|
-
if (xe(e)) return
|
|
6581
|
+
if (xe(e)) return _f(e);
|
|
6582
6582
|
if (Bn(e)) return [...e.childNodes].map((r) => et(r)).join("");
|
|
6583
|
-
if (
|
|
6583
|
+
if (ff(e)) return Un(e);
|
|
6584
6584
|
const t = document.createElement("div");
|
|
6585
6585
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
6586
6586
|
}
|
|
6587
|
-
function
|
|
6587
|
+
function yf(e) {
|
|
6588
6588
|
const t = e.tagName.toLowerCase();
|
|
6589
6589
|
let r = "";
|
|
6590
6590
|
for (const n of e.attributes) {
|
|
6591
6591
|
const i = n.name, a = n.value;
|
|
6592
|
-
r += a === "" && i !== "em" && !
|
|
6592
|
+
r += a === "" && i !== "em" && !sf(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
6593
6593
|
}
|
|
6594
6594
|
return r;
|
|
6595
6595
|
}
|
|
@@ -6598,13 +6598,13 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6598
6598
|
for (const r of e.childNodes) t += et(r);
|
|
6599
6599
|
return t;
|
|
6600
6600
|
}
|
|
6601
|
-
function
|
|
6602
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
6603
|
-
return
|
|
6601
|
+
function _f(e) {
|
|
6602
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = yf(e);
|
|
6603
|
+
return ef.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : ro(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${io(e)}</${t}>`;
|
|
6604
6604
|
}
|
|
6605
6605
|
function ao(e, t) {
|
|
6606
6606
|
for (const a of [...e.childNodes]) a.remove();
|
|
6607
|
-
let r = t.find((a) =>
|
|
6607
|
+
let r = t.find((a) => pf(a)), n = t.find((a) => lf(a)), i = e;
|
|
6608
6608
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
6609
6609
|
for (const a of t) {
|
|
6610
6610
|
if (i === e) {
|
|
@@ -6899,7 +6899,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6899
6899
|
}
|
|
6900
6900
|
e.is = i;
|
|
6901
6901
|
})(rt || (rt = {}));
|
|
6902
|
-
var
|
|
6902
|
+
var Gr;
|
|
6903
6903
|
(function(e) {
|
|
6904
6904
|
function t(n, i, a) {
|
|
6905
6905
|
const o = { label: n };
|
|
@@ -6911,7 +6911,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6911
6911
|
return w.objectLiteral(i) && w.string(i.label) && (w.boolean(i.needsConfirmation) || i.needsConfirmation === void 0) && (w.string(i.description) || i.description === void 0);
|
|
6912
6912
|
}
|
|
6913
6913
|
e.is = r;
|
|
6914
|
-
})(
|
|
6914
|
+
})(Gr || (Gr = {}));
|
|
6915
6915
|
var Fe;
|
|
6916
6916
|
(function(e) {
|
|
6917
6917
|
function t(r) {
|
|
@@ -6951,11 +6951,11 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6951
6951
|
e.del = n;
|
|
6952
6952
|
function i(a) {
|
|
6953
6953
|
const o = a;
|
|
6954
|
-
return rt.is(o) && (
|
|
6954
|
+
return rt.is(o) && (Gr.is(o.annotationId) || Fe.is(o.annotationId));
|
|
6955
6955
|
}
|
|
6956
6956
|
e.is = i;
|
|
6957
6957
|
})(bo || (bo = {}));
|
|
6958
|
-
var
|
|
6958
|
+
var Gn;
|
|
6959
6959
|
(function(e) {
|
|
6960
6960
|
function t(n, i) {
|
|
6961
6961
|
return {
|
|
@@ -6969,8 +6969,8 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6969
6969
|
return w.defined(i) && Jn.is(i.textDocument) && Array.isArray(i.edits);
|
|
6970
6970
|
}
|
|
6971
6971
|
e.is = r;
|
|
6972
|
-
})(
|
|
6973
|
-
var
|
|
6972
|
+
})(Gn || (Gn = {}));
|
|
6973
|
+
var Vn;
|
|
6974
6974
|
(function(e) {
|
|
6975
6975
|
function t(n, i, a) {
|
|
6976
6976
|
const o = {
|
|
@@ -6985,7 +6985,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
6985
6985
|
return i && i.kind === "create" && w.string(i.uri) && (i.options === void 0 || (i.options.overwrite === void 0 || w.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || w.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || Fe.is(i.annotationId));
|
|
6986
6986
|
}
|
|
6987
6987
|
e.is = r;
|
|
6988
|
-
})(
|
|
6988
|
+
})(Vn || (Vn = {}));
|
|
6989
6989
|
var Wn;
|
|
6990
6990
|
(function(e) {
|
|
6991
6991
|
function t(n, i, a, o) {
|
|
@@ -7023,7 +7023,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7023
7023
|
(function(e) {
|
|
7024
7024
|
function t(r) {
|
|
7025
7025
|
const n = r;
|
|
7026
|
-
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => w.string(i.kind) ?
|
|
7026
|
+
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => w.string(i.kind) ? Vn.is(i) || Wn.is(i) || Yn.is(i) : Gn.is(i)));
|
|
7027
7027
|
}
|
|
7028
7028
|
e.is = t;
|
|
7029
7029
|
})(Xn || (Xn = {}));
|
|
@@ -7031,7 +7031,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7031
7031
|
(function(e) {
|
|
7032
7032
|
function t(r) {
|
|
7033
7033
|
const n = r;
|
|
7034
|
-
return w.objectLiteral(n) && W.is(n.range) && ti.isSnippet(n.snippet) && (n.annotationId === void 0 ||
|
|
7034
|
+
return w.objectLiteral(n) && W.is(n.range) && ti.isSnippet(n.snippet) && (n.annotationId === void 0 || Gr.is(n.annotationId) || Fe.is(n.annotationId));
|
|
7035
7035
|
}
|
|
7036
7036
|
e.is = t;
|
|
7037
7037
|
})(yo || (yo = {}));
|
|
@@ -7176,7 +7176,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7176
7176
|
}
|
|
7177
7177
|
e.create = t;
|
|
7178
7178
|
})(Mo || (Mo = {}));
|
|
7179
|
-
var
|
|
7179
|
+
var Vr;
|
|
7180
7180
|
(function(e) {
|
|
7181
7181
|
function t(n) {
|
|
7182
7182
|
return n.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&");
|
|
@@ -7187,12 +7187,12 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7187
7187
|
return w.string(i) || w.objectLiteral(i) && w.string(i.language) && w.string(i.value);
|
|
7188
7188
|
}
|
|
7189
7189
|
e.is = r;
|
|
7190
|
-
})(
|
|
7190
|
+
})(Vr || (Vr = {}));
|
|
7191
7191
|
var No;
|
|
7192
7192
|
(function(e) {
|
|
7193
7193
|
function t(r) {
|
|
7194
7194
|
const n = r;
|
|
7195
|
-
return !!n && w.objectLiteral(n) && (ze.is(n.contents) ||
|
|
7195
|
+
return !!n && w.objectLiteral(n) && (ze.is(n.contents) || Vr.is(n.contents) || w.typedArray(n.contents, Vr.is)) && (r.range === void 0 || W.is(r.range));
|
|
7196
7196
|
}
|
|
7197
7197
|
e.is = t;
|
|
7198
7198
|
})(No || (No = {}));
|
|
@@ -7329,7 +7329,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7329
7329
|
}
|
|
7330
7330
|
e.is = r;
|
|
7331
7331
|
})(Qo || (Qo = {}));
|
|
7332
|
-
var
|
|
7332
|
+
var Go;
|
|
7333
7333
|
(function(e) {
|
|
7334
7334
|
function t(n, i) {
|
|
7335
7335
|
const a = { range: n };
|
|
@@ -7341,8 +7341,8 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7341
7341
|
return w.defined(i) && W.is(i.range) && (w.undefined(i.command) || tt.is(i.command));
|
|
7342
7342
|
}
|
|
7343
7343
|
e.is = r;
|
|
7344
|
-
})(
|
|
7345
|
-
var
|
|
7344
|
+
})(Go || (Go = {}));
|
|
7345
|
+
var Vo;
|
|
7346
7346
|
(function(e) {
|
|
7347
7347
|
function t(n, i) {
|
|
7348
7348
|
return {
|
|
@@ -7356,7 +7356,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7356
7356
|
return w.defined(i) && w.uinteger(i.tabSize) && w.boolean(i.insertSpaces);
|
|
7357
7357
|
}
|
|
7358
7358
|
e.is = r;
|
|
7359
|
-
})(
|
|
7359
|
+
})(Vo || (Vo = {}));
|
|
7360
7360
|
var Wo;
|
|
7361
7361
|
(function(e) {
|
|
7362
7362
|
function t(n, i, a) {
|
|
@@ -7570,7 +7570,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7570
7570
|
var us;
|
|
7571
7571
|
(function(e) {
|
|
7572
7572
|
function t(a, o, s, l) {
|
|
7573
|
-
return new
|
|
7573
|
+
return new Ef(a, o, s, l);
|
|
7574
7574
|
}
|
|
7575
7575
|
e.create = t;
|
|
7576
7576
|
function r(a) {
|
|
@@ -7605,7 +7605,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7605
7605
|
return a;
|
|
7606
7606
|
}
|
|
7607
7607
|
})(us || (us = {}));
|
|
7608
|
-
var
|
|
7608
|
+
var Ef = class {
|
|
7609
7609
|
constructor(e, t, r, n) {
|
|
7610
7610
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
7611
7611
|
}
|
|
@@ -7805,7 +7805,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7805
7805
|
}
|
|
7806
7806
|
e.update = r;
|
|
7807
7807
|
function n(i, a) {
|
|
7808
|
-
const o = i.getText(), s = ri(a.map(
|
|
7808
|
+
const o = i.getText(), s = ri(a.map(xf), (h, m) => {
|
|
7809
7809
|
const b = h.range.start.line - m.range.start.line;
|
|
7810
7810
|
return b === 0 ? h.range.start.character - m.range.start.character : b;
|
|
7811
7811
|
});
|
|
@@ -7848,7 +7848,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7848
7848
|
end: t
|
|
7849
7849
|
} : e;
|
|
7850
7850
|
}
|
|
7851
|
-
function
|
|
7851
|
+
function xf(e) {
|
|
7852
7852
|
const t = hs(e.range);
|
|
7853
7853
|
return t !== e.range ? {
|
|
7854
7854
|
newText: e.newText,
|
|
@@ -7876,7 +7876,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7876
7876
|
})(bs || (bs = {}));
|
|
7877
7877
|
var oe = (function(e) {
|
|
7878
7878
|
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;
|
|
7879
|
-
})({}),
|
|
7879
|
+
})({}), wf = class {
|
|
7880
7880
|
source;
|
|
7881
7881
|
len;
|
|
7882
7882
|
position;
|
|
@@ -7944,19 +7944,19 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
7944
7944
|
return this.goToEnd(), !1;
|
|
7945
7945
|
}
|
|
7946
7946
|
skipWhitespace() {
|
|
7947
|
-
return this.advanceWhileChar((e) => e ===
|
|
7947
|
+
return this.advanceWhileChar((e) => e === kf || e === jf || e === Pf || e === Of || e === Tf) > 0;
|
|
7948
7948
|
}
|
|
7949
7949
|
advanceWhileChar(e) {
|
|
7950
7950
|
const t = this.position;
|
|
7951
7951
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
7952
7952
|
return this.position - t;
|
|
7953
7953
|
}
|
|
7954
|
-
}, ys = 33, nt = 45, Yr = 60, be = 62, ni = 47,
|
|
7954
|
+
}, ys = 33, nt = 45, Yr = 60, be = 62, ni = 47, Af = 61, Cf = 34, Sf = 39, Pf = 10, Tf = 13, Of = 12, kf = 32, jf = 9, Mf = {
|
|
7955
7955
|
"text/x-handlebars-template": !0,
|
|
7956
7956
|
"text/html": !0
|
|
7957
7957
|
};
|
|
7958
|
-
function
|
|
7959
|
-
const i = new
|
|
7958
|
+
function Nf(e, t = 0, r = F.WithinContent, n = !1) {
|
|
7959
|
+
const i = new wf(e, t);
|
|
7960
7960
|
let a = r, o = 0, s = 18, l, f, h, m, b;
|
|
7961
7961
|
function y() {
|
|
7962
7962
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8007,14 +8007,14 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8007
8007
|
O = "Closing bracket expected.";
|
|
8008
8008
|
break;
|
|
8009
8009
|
case F.AfterOpeningStartTag: return h = y(), b = void 0, m = void 0, h.length > 0 ? (f = !1, a = F.WithinTag, A(P, 6)) : i.skipWhitespace() ? A(P, 17, "Tag name must directly follow the open bracket.") : (a = F.WithinTag, i.advanceUntilChar(be), P < i.pos() ? A(P, 18, "Start tag name expected.") : k());
|
|
8010
|
-
case F.WithinTag: return i.skipWhitespace() ? (f = !0, A(P, 17)) : f && (m = S(), m.length > 0) ? (a = F.AfterAttributeName, f = !1, A(P, 11)) : i.advanceIfChars([ni, be]) ? (a = F.WithinContent, A(P, 5)) : i.advanceIfChar(be) ? (h === "script" ? b &&
|
|
8011
|
-
case F.AfterAttributeName: return i.skipWhitespace() ? (f = !0, A(P, 17)) : i.advanceIfChar(
|
|
8010
|
+
case F.WithinTag: return i.skipWhitespace() ? (f = !0, A(P, 17)) : f && (m = S(), m.length > 0) ? (a = F.AfterAttributeName, f = !1, A(P, 11)) : i.advanceIfChars([ni, be]) ? (a = F.WithinContent, A(P, 5)) : i.advanceIfChar(be) ? (h === "script" ? b && Mf[b] ? a = F.WithinContent : a = F.WithinScriptContent : h === "style" ? a = F.WithinStyleContent : a = F.WithinContent, A(P, 4)) : n && i.peekChar() === Yr ? (a = F.WithinContent, A(P, 4, "Closing bracket missing.")) : (i.advance(1), A(P, 18, "Unexpected character in tag."));
|
|
8011
|
+
case F.AfterAttributeName: return i.skipWhitespace() ? (f = !0, A(P, 17)) : i.advanceIfChar(Af) ? (a = F.BeforeAttributeValue, A(P, 10)) : (a = F.WithinTag, k());
|
|
8012
8012
|
case F.BeforeAttributeValue:
|
|
8013
8013
|
if (i.skipWhitespace()) return A(P, 17);
|
|
8014
8014
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8015
8015
|
if (d.length > 0) return i.peekChar() === be && i.peekChar(-1) === ni && (i.goBack(1), d = d.substr(0, d.length - 1)), m === "type" && (b = d), a = F.WithinTag, f = !1, A(P, 12);
|
|
8016
8016
|
const c = i.peekChar();
|
|
8017
|
-
return c ===
|
|
8017
|
+
return c === Sf || c === Cf ? (i.advance(1), i.advanceUntilChar(c) && i.advance(1), m === "type" && (b = i.getSource().substring(P + 1, i.pos() - 1)), a = F.WithinTag, f = !1, A(P, 12)) : (a = F.WithinTag, f = !1, k());
|
|
8018
8018
|
case F.WithinScriptContent:
|
|
8019
8019
|
let p = 1;
|
|
8020
8020
|
for (; !i.eos();) {
|
|
@@ -8045,7 +8045,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8045
8045
|
getTokenError: () => l
|
|
8046
8046
|
};
|
|
8047
8047
|
}
|
|
8048
|
-
function
|
|
8048
|
+
function Rf(e) {
|
|
8049
8049
|
if (typeof e == "string") {
|
|
8050
8050
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8051
8051
|
return e.substring(t, r);
|
|
@@ -8095,7 +8095,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8095
8095
|
this.dataManager = e;
|
|
8096
8096
|
}
|
|
8097
8097
|
parse(e, t = []) {
|
|
8098
|
-
const r =
|
|
8098
|
+
const r = Nf(e, void 0, void 0, !0), n = new Se(0, e.length, [], void 0);
|
|
8099
8099
|
n.type = ne.ROOT;
|
|
8100
8100
|
let i = n, a = -1, o, s = null, l = r.scan();
|
|
8101
8101
|
const f = () => {
|
|
@@ -8193,7 +8193,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8193
8193
|
}
|
|
8194
8194
|
case oe.AttributeValue: {
|
|
8195
8195
|
const P = r.getTokenText(), O = i.attributes;
|
|
8196
|
-
O && s && (O[s] =
|
|
8196
|
+
O && s && (O[s] = Rf(P), s = null);
|
|
8197
8197
|
break;
|
|
8198
8198
|
}
|
|
8199
8199
|
}
|
|
@@ -8232,7 +8232,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8232
8232
|
"wbr",
|
|
8233
8233
|
"vk-snippet-end"
|
|
8234
8234
|
]));
|
|
8235
|
-
var
|
|
8235
|
+
var If = new Es(new oo([
|
|
8236
8236
|
"area",
|
|
8237
8237
|
"base",
|
|
8238
8238
|
"br",
|
|
@@ -8248,16 +8248,16 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8248
8248
|
"wbr",
|
|
8249
8249
|
"vk-snippet-end"
|
|
8250
8250
|
]));
|
|
8251
|
-
function If(e) {
|
|
8252
|
-
return Rf.parse(e);
|
|
8253
|
-
}
|
|
8254
8251
|
function Lf(e) {
|
|
8252
|
+
return If.parse(e);
|
|
8253
|
+
}
|
|
8254
|
+
function Df(e) {
|
|
8255
8255
|
if (e) {
|
|
8256
8256
|
const t = document.createElement("div");
|
|
8257
8257
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
8258
8258
|
} else return document.createTextNode("");
|
|
8259
8259
|
}
|
|
8260
|
-
function
|
|
8260
|
+
function Ff(e) {
|
|
8261
8261
|
let t;
|
|
8262
8262
|
switch (e?.toLowerCase()) {
|
|
8263
8263
|
case "tr":
|
|
@@ -8280,7 +8280,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8280
8280
|
}
|
|
8281
8281
|
return t;
|
|
8282
8282
|
}
|
|
8283
|
-
var
|
|
8283
|
+
var Uf = new Set([
|
|
8284
8284
|
"onclick",
|
|
8285
8285
|
"onload",
|
|
8286
8286
|
"onchange",
|
|
@@ -8288,15 +8288,15 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8288
8288
|
"onmouseover",
|
|
8289
8289
|
"onkeydown",
|
|
8290
8290
|
"onerror"
|
|
8291
|
-
]),
|
|
8291
|
+
]), zf = new Set([
|
|
8292
8292
|
"script",
|
|
8293
8293
|
"style",
|
|
8294
8294
|
"xmp"
|
|
8295
8295
|
]);
|
|
8296
|
-
function
|
|
8297
|
-
return !(t &&
|
|
8296
|
+
function Bf(e, t) {
|
|
8297
|
+
return !(t && zf.has(t.toLowerCase()) || Uf.has(e.toLowerCase()));
|
|
8298
8298
|
}
|
|
8299
|
-
var
|
|
8299
|
+
var qf = (e) => {
|
|
8300
8300
|
let t = e.indexOf("&");
|
|
8301
8301
|
for (; t !== -1;) {
|
|
8302
8302
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -8307,7 +8307,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8307
8307
|
function xs(e, t, r) {
|
|
8308
8308
|
let n = e.tagName.toLowerCase();
|
|
8309
8309
|
n === "html" && (n = "div");
|
|
8310
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
8310
|
+
const i = `<${n} ${t}="${r}"/>`, a = Ff(n);
|
|
8311
8311
|
if (a instanceof Document) return;
|
|
8312
8312
|
a.innerHTML = i;
|
|
8313
8313
|
const o = a.querySelector(n);
|
|
@@ -8317,7 +8317,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8317
8317
|
}
|
|
8318
8318
|
function it(e, t, r) {
|
|
8319
8319
|
try {
|
|
8320
|
-
|
|
8320
|
+
Bf(t, e.tagName) && !qf(r) ? e.setAttribute(t, r) : xs(e, t, r);
|
|
8321
8321
|
} catch {
|
|
8322
8322
|
xs(e, t, r);
|
|
8323
8323
|
}
|
|
@@ -8350,28 +8350,28 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8350
8350
|
return n;
|
|
8351
8351
|
}
|
|
8352
8352
|
return document.createTextNode("<");
|
|
8353
|
-
case ne.HTML: return
|
|
8353
|
+
case ne.HTML: return Df(r || "");
|
|
8354
8354
|
default: throw new Error("unsupported node");
|
|
8355
8355
|
}
|
|
8356
8356
|
}
|
|
8357
8357
|
function ai(e) {
|
|
8358
|
-
return
|
|
8358
|
+
return Lf(e).roots.map((t) => ii(t));
|
|
8359
8359
|
}
|
|
8360
8360
|
var ws = Symbol("Error");
|
|
8361
8361
|
function It(e) {
|
|
8362
8362
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => ws) : t)).then((t) => t.filter((r) => r !== ws));
|
|
8363
8363
|
}
|
|
8364
|
-
var As = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
8364
|
+
var As = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), $f = new Set([
|
|
8365
8365
|
"https:",
|
|
8366
8366
|
"http:",
|
|
8367
8367
|
"file:"
|
|
8368
|
-
]),
|
|
8368
|
+
]), Hf = (e) => {
|
|
8369
8369
|
const t = e.indexOf(":");
|
|
8370
8370
|
if (t <= 0) return !1;
|
|
8371
8371
|
const r = e.substring(0, t + 1);
|
|
8372
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") &&
|
|
8372
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !$f.has(r) : !1;
|
|
8373
8373
|
};
|
|
8374
|
-
function
|
|
8374
|
+
function Qf(e, t) {
|
|
8375
8375
|
if (t = {
|
|
8376
8376
|
defaultProtocol: "http",
|
|
8377
8377
|
normalizeProtocol: !0,
|
|
@@ -8389,7 +8389,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8389
8389
|
sortQueryParameters: !0,
|
|
8390
8390
|
...t
|
|
8391
8391
|
}, !e) return "";
|
|
8392
|
-
if (Cs(e) && (e = Be(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) ||
|
|
8392
|
+
if (Cs(e) && (e = Be(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Hf(e)) return e;
|
|
8393
8393
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
8394
8394
|
let i;
|
|
8395
8395
|
try {
|
|
@@ -8439,9 +8439,9 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8439
8439
|
function Cs(e) {
|
|
8440
8440
|
if (!e) return !1;
|
|
8441
8441
|
const t = e[0];
|
|
8442
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
8442
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Gf(t);
|
|
8443
8443
|
}
|
|
8444
|
-
function
|
|
8444
|
+
function Gf(e) {
|
|
8445
8445
|
const t = e.charCodeAt(0);
|
|
8446
8446
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
8447
8447
|
}
|
|
@@ -8454,7 +8454,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8454
8454
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
8455
8455
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
8456
8456
|
}
|
|
8457
|
-
var at = /<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,
|
|
8457
|
+
var at = /<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, Wf = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, ot = /<style\b[^>]*>[\s\S]*?<\/style>/gi, Ss = /display:\s*none\s*!important/gi, Yf = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Xf = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Jf = /height\s*:\s*100%\s*!important/i, Zf = [
|
|
8458
8458
|
".socialshare,",
|
|
8459
8459
|
".advertisment,",
|
|
8460
8460
|
".adHolder,",
|
|
@@ -8471,57 +8471,57 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8471
8471
|
"#advblock",
|
|
8472
8472
|
"body { overflow: visible!important; }"
|
|
8473
8473
|
];
|
|
8474
|
-
function
|
|
8474
|
+
function Kf(e) {
|
|
8475
8475
|
return Ss.lastIndex = 0, (e.match(Ss) || []).length;
|
|
8476
8476
|
}
|
|
8477
8477
|
function Ps(e) {
|
|
8478
|
-
const t = e.trim(), r =
|
|
8478
|
+
const t = e.trim(), r = Kf(t);
|
|
8479
8479
|
if (r === 0) return !1;
|
|
8480
8480
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
8481
|
-
const n =
|
|
8481
|
+
const n = Zf.filter((i) => t.includes(i)).length;
|
|
8482
8482
|
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);
|
|
8483
8483
|
}
|
|
8484
|
-
function
|
|
8484
|
+
function em(e) {
|
|
8485
8485
|
ot.lastIndex = 0;
|
|
8486
8486
|
for (const t of e.matchAll(ot)) if (Ps(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
8487
8487
|
return !1;
|
|
8488
8488
|
}
|
|
8489
|
-
function
|
|
8489
|
+
function tm(e) {
|
|
8490
8490
|
let t = !1;
|
|
8491
8491
|
return ot.lastIndex = 0, {
|
|
8492
8492
|
html: e.replace(ot, (r) => Ps(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
8493
8493
|
found: t
|
|
8494
8494
|
};
|
|
8495
8495
|
}
|
|
8496
|
-
function
|
|
8497
|
-
return at.lastIndex = 0, at.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
8496
|
+
function rm(e) {
|
|
8497
|
+
return at.lastIndex = 0, at.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || em(e);
|
|
8498
8498
|
}
|
|
8499
8499
|
function Ts(e) {
|
|
8500
|
-
if (!
|
|
8500
|
+
if (!rm(e)) return {
|
|
8501
8501
|
html: e,
|
|
8502
8502
|
found: !1
|
|
8503
8503
|
};
|
|
8504
8504
|
let t = !1, r = e;
|
|
8505
|
-
at.lastIndex = 0, at.test(r) && (at.lastIndex = 0, r = r.replace(at, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(
|
|
8506
|
-
const n =
|
|
8505
|
+
at.lastIndex = 0, at.test(r) && (at.lastIndex = 0, r = r.replace(at, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Wf, ""), t = !0);
|
|
8506
|
+
const n = tm(r);
|
|
8507
8507
|
return r = n.html, t = t || n.found, {
|
|
8508
8508
|
html: r,
|
|
8509
8509
|
found: t
|
|
8510
8510
|
};
|
|
8511
8511
|
}
|
|
8512
|
-
function rm(e) {
|
|
8513
|
-
return !e || !Xf.test(e) ? e : (ot.lastIndex = 0, e.replace(ot, (t) => t.replace(Wf, (r, n, i, a) => `${n}${i.replace(Yf, "")}${a}`)));
|
|
8514
|
-
}
|
|
8515
8512
|
function nm(e) {
|
|
8513
|
+
return !e || !Jf.test(e) ? e : (ot.lastIndex = 0, e.replace(ot, (t) => t.replace(Yf, (r, n, i, a) => `${n}${i.replace(Xf, "")}${a}`)));
|
|
8514
|
+
}
|
|
8515
|
+
function im(e) {
|
|
8516
8516
|
const t = Ts(e.replaceAll(`\r
|
|
8517
8517
|
`, `
|
|
8518
8518
|
`));
|
|
8519
8519
|
return {
|
|
8520
|
-
html:
|
|
8520
|
+
html: nm(t.html),
|
|
8521
8521
|
hasBrowserExtensionArtifacts: t.found
|
|
8522
8522
|
};
|
|
8523
8523
|
}
|
|
8524
|
-
var
|
|
8524
|
+
var om = hi.__commonJSMin(((e, t) => {
|
|
8525
8525
|
(function(r, n) {
|
|
8526
8526
|
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 = {}));
|
|
8527
8527
|
})(e, (function(r) {
|
|
@@ -8916,7 +8916,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8916
8916
|
function E() {
|
|
8917
8917
|
g && v.qualifiers.push(g), g = new m();
|
|
8918
8918
|
}
|
|
8919
|
-
for (var T = /\s/, j = void 0, M = "Invalid or unsupported selector syntax.", L = 1, R = 2, N = 3, U = 4, Z = 5,
|
|
8919
|
+
for (var T = /\s/, j = void 0, M = "Invalid or unsupported selector syntax.", L = 1, R = 2, N = 3, U = 4, Z = 5, G = 6, Pe = 7, ae = 8, se = 9, te = 10, K = 11, q = 12, ce = 13, de = 14, D = L, Te = 0; Te < c.length;) {
|
|
8920
8920
|
var I = c[Te++];
|
|
8921
8921
|
switch (D) {
|
|
8922
8922
|
case L:
|
|
@@ -8937,7 +8937,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8937
8937
|
break;
|
|
8938
8938
|
}
|
|
8939
8939
|
if (I == "[") {
|
|
8940
|
-
_(), E(), v.tagName = "*", g.attrName = "", D =
|
|
8940
|
+
_(), E(), v.tagName = "*", g.attrName = "", D = G;
|
|
8941
8941
|
break;
|
|
8942
8942
|
}
|
|
8943
8943
|
if (I.match(T)) break;
|
|
@@ -8956,7 +8956,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8956
8956
|
break;
|
|
8957
8957
|
}
|
|
8958
8958
|
if (I == "[") {
|
|
8959
|
-
E(), g.attrName = "", D =
|
|
8959
|
+
E(), g.attrName = "", D = G;
|
|
8960
8960
|
break;
|
|
8961
8961
|
}
|
|
8962
8962
|
if (I.match(T)) {
|
|
@@ -8978,7 +8978,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
8978
8978
|
break;
|
|
8979
8979
|
}
|
|
8980
8980
|
if (I == "[") {
|
|
8981
|
-
E(), g.attrName = "", D =
|
|
8981
|
+
E(), g.attrName = "", D = G;
|
|
8982
8982
|
break;
|
|
8983
8983
|
}
|
|
8984
8984
|
if (I.match(T)) {
|
|
@@ -9010,7 +9010,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9010
9010
|
break;
|
|
9011
9011
|
}
|
|
9012
9012
|
if (I == "[") {
|
|
9013
|
-
E(), D =
|
|
9013
|
+
E(), D = G;
|
|
9014
9014
|
break;
|
|
9015
9015
|
}
|
|
9016
9016
|
if (I.match(T)) {
|
|
@@ -9022,7 +9022,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9022
9022
|
break;
|
|
9023
9023
|
}
|
|
9024
9024
|
throw Error(M);
|
|
9025
|
-
case
|
|
9025
|
+
case G:
|
|
9026
9026
|
if (I.match(y)) {
|
|
9027
9027
|
g.attrName = I, D = Pe;
|
|
9028
9028
|
break;
|
|
@@ -9439,33 +9439,33 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9439
9439
|
r.ChildListChange = i, r.MutationProjection = f, r.MutationSummary = k, r.NodeChange = s, r.NodeMap = n, r.Qualifier = m, r.Selector = A, r.Summary = h, r.TreeChanges = l, r.TreeMirror = P, r.TreeMirrorClient = O, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
9440
9440
|
}));
|
|
9441
9441
|
}))(), st = 0, ct = new Array(1e3);
|
|
9442
|
-
function
|
|
9442
|
+
function sm() {
|
|
9443
9443
|
for (let e = 0; e < st; e += 2) {
|
|
9444
9444
|
const t = ct[e], r = ct[e + 1];
|
|
9445
9445
|
t(...r), ct[e] = void 0, ct[e + 1] = void 0;
|
|
9446
9446
|
}
|
|
9447
9447
|
st = 0;
|
|
9448
9448
|
}
|
|
9449
|
-
function
|
|
9450
|
-
ct[st] = e, ct[st + 1] = t, st += 2, st === 2 &&
|
|
9449
|
+
function cm(e, ...t) {
|
|
9450
|
+
ct[st] = e, ct[st + 1] = t, st += 2, st === 2 && um();
|
|
9451
9451
|
}
|
|
9452
|
-
function
|
|
9452
|
+
function lm() {
|
|
9453
9453
|
let e = 0;
|
|
9454
|
-
const t = new MutationObserver(
|
|
9454
|
+
const t = new MutationObserver(sm), r = document.createTextNode("");
|
|
9455
9455
|
return t.observe(r, { characterData: !0 }), () => {
|
|
9456
9456
|
r.data = String(e = ++e % 2);
|
|
9457
9457
|
};
|
|
9458
9458
|
}
|
|
9459
|
-
var
|
|
9459
|
+
var um = lm();
|
|
9460
9460
|
function Os() {
|
|
9461
|
-
|
|
9461
|
+
cm(() => {
|
|
9462
9462
|
oi.hasListeners() && (oi.fire(), Os());
|
|
9463
9463
|
});
|
|
9464
9464
|
}
|
|
9465
|
-
var oi = new u.Emitter({ onFirstListenerAdd: Os }), si = oi.once,
|
|
9465
|
+
var oi = new u.Emitter({ onFirstListenerAdd: Os }), si = oi.once, pm = class extends u.Emitter {
|
|
9466
9466
|
_mutationSummary;
|
|
9467
9467
|
constructor(e = {}) {
|
|
9468
|
-
super(), this._mutationSummary = new
|
|
9468
|
+
super(), this._mutationSummary = new om.MutationSummary({
|
|
9469
9469
|
...e,
|
|
9470
9470
|
observeOwnChanges: !0,
|
|
9471
9471
|
callback: (t) => this.fire(t),
|
|
@@ -9479,7 +9479,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9479
9479
|
const t = this._mutationSummary.takeSummaries();
|
|
9480
9480
|
return (e || t?.length) && this.fire(t || []), t;
|
|
9481
9481
|
}
|
|
9482
|
-
},
|
|
9482
|
+
}, dm = class extends u.Disposable {
|
|
9483
9483
|
_mutationEmitter;
|
|
9484
9484
|
_innerEmitter = this.addDisposable(new u.Emitter({ onFirstListenerAdd: () => {
|
|
9485
9485
|
this._nextTickHandler();
|
|
@@ -9494,7 +9494,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9494
9494
|
}, Number.MAX_VALUE);
|
|
9495
9495
|
}
|
|
9496
9496
|
constructor(e = {}) {
|
|
9497
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
9497
|
+
super(), this._mutationEmitter = this.addDisposable(new pm(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
9498
9498
|
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), si(() => {
|
|
9499
9499
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
9500
9500
|
}, Number.MAX_VALUE)));
|
|
@@ -9522,7 +9522,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9522
9522
|
onLost = this._lostEmitter.event;
|
|
9523
9523
|
onNativeMutate;
|
|
9524
9524
|
};
|
|
9525
|
-
function
|
|
9525
|
+
function fm(e) {
|
|
9526
9526
|
for (const t of e) {
|
|
9527
9527
|
if (t.removed) for (const r of t.removed) {
|
|
9528
9528
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -9546,18 +9546,18 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9546
9546
|
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Rt(r) || qn(r) || qn(r)) && (r.data = t.getOldCharacterData(r));
|
|
9547
9547
|
}
|
|
9548
9548
|
}
|
|
9549
|
-
var
|
|
9549
|
+
var mm = class extends u.Disposable {
|
|
9550
9550
|
_commitPromise;
|
|
9551
9551
|
_mutationCollector;
|
|
9552
9552
|
_onLostSummaries = (e) => {
|
|
9553
9553
|
try {
|
|
9554
|
-
this._mutationCollector.stop(),
|
|
9554
|
+
this._mutationCollector.stop(), fm(e);
|
|
9555
9555
|
} finally {
|
|
9556
9556
|
this._mutationCollector.start();
|
|
9557
9557
|
}
|
|
9558
9558
|
};
|
|
9559
9559
|
constructor(e) {
|
|
9560
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
9560
|
+
super(), this._mutationCollector = this.addDisposable(new dm({
|
|
9561
9561
|
rootNode: e,
|
|
9562
9562
|
oldPreviousSibling: !0
|
|
9563
9563
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -9595,7 +9595,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9595
9595
|
if (i.hasListeners()) {
|
|
9596
9596
|
const s = document.createElement("iframe");
|
|
9597
9597
|
s.style.position = "absolute", s.style.left = "-10000px", document.body.appendChild(s);
|
|
9598
|
-
const l = s.contentWindow.document, f = new
|
|
9598
|
+
const l = s.contentWindow.document, f = new mm(s.contentDocument);
|
|
9599
9599
|
let h;
|
|
9600
9600
|
try {
|
|
9601
9601
|
if (t) {
|
|
@@ -9630,8 +9630,8 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9630
9630
|
throw a;
|
|
9631
9631
|
}
|
|
9632
9632
|
}
|
|
9633
|
-
var
|
|
9634
|
-
function
|
|
9633
|
+
var hm = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
9634
|
+
function gm(e) {
|
|
9635
9635
|
return e.arrayBuffer().then((t) => {
|
|
9636
9636
|
const r = new Uint8Array(t);
|
|
9637
9637
|
let n = "";
|
|
@@ -9649,7 +9649,7 @@ __useblocks__.define("static/core/5cc21a00.js", [
|
|
|
9649
9649
|
function Xr(e) {
|
|
9650
9650
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
9651
9651
|
}
|
|
9652
|
-
async function
|
|
9652
|
+
async function vm(e, t, r, n, i, a, o) {
|
|
9653
9653
|
const s = [];
|
|
9654
9654
|
a && (a.attachments = s);
|
|
9655
9655
|
let l = "";
|
|
@@ -9689,25 +9689,25 @@ ${m.base64}\r
|
|
|
9689
9689
|
\r
|
|
9690
9690
|
${l}`;
|
|
9691
9691
|
}
|
|
9692
|
-
function
|
|
9692
|
+
function bm(e, t = !0) {
|
|
9693
9693
|
const r = re.decodeFileNameFromPath(e);
|
|
9694
9694
|
return t ? Xr(r) : r;
|
|
9695
9695
|
}
|
|
9696
|
-
function
|
|
9696
|
+
function ym(e) {
|
|
9697
9697
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
9698
9698
|
}
|
|
9699
9699
|
function js(e) {
|
|
9700
9700
|
const t = re.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
9701
|
-
return r === -1 || !
|
|
9701
|
+
return r === -1 || !ym(n) ? [Xr(t), ""] : [Xr(t.slice(0, r)), n];
|
|
9702
9702
|
}
|
|
9703
|
-
function
|
|
9703
|
+
function _m(e) {
|
|
9704
9704
|
return Is(e).then((t) => Ls(t));
|
|
9705
9705
|
}
|
|
9706
9706
|
function Ms(e) {
|
|
9707
9707
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
9708
9708
|
}
|
|
9709
|
-
var ye = new
|
|
9710
|
-
e.escape("<script", "<\/script>", (t) => Ms(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => Ms(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")),
|
|
9709
|
+
var ye = new Zd((e) => {
|
|
9710
|
+
e.escape("<script", "<\/script>", (t) => Ms(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => Ms(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), Va(e);
|
|
9711
9711
|
});
|
|
9712
9712
|
async function Jr(e, t, r, n) {
|
|
9713
9713
|
e = ye.getEscapedText(e);
|
|
@@ -9746,13 +9746,13 @@ ${l}`;
|
|
|
9746
9746
|
return Promise.reject(n);
|
|
9747
9747
|
}
|
|
9748
9748
|
}
|
|
9749
|
-
async function
|
|
9749
|
+
async function Em(e, t, r = new Map(), n) {
|
|
9750
9750
|
const i = (m) => {
|
|
9751
9751
|
let b = r.get(m);
|
|
9752
9752
|
return b || (b = t(m), r.set(m, b)), b instanceof Promise ? b : Promise.resolve(b);
|
|
9753
9753
|
};
|
|
9754
9754
|
function a(m) {
|
|
9755
|
-
return Zr(m,
|
|
9755
|
+
return Zr(m, hm, async (b, y = "", S) => `url(${y}${await i(S)}${y})`);
|
|
9756
9756
|
}
|
|
9757
9757
|
async function o(m) {
|
|
9758
9758
|
const b = m.getAttribute("style");
|
|
@@ -9774,7 +9774,7 @@ ${l}`;
|
|
|
9774
9774
|
const b = m.getAttribute("background");
|
|
9775
9775
|
if (b && h.push(i(b).then((y) => {
|
|
9776
9776
|
m.setAttribute("background", y || b), n && n();
|
|
9777
|
-
})), to(m) ||
|
|
9777
|
+
})), to(m) || cf(m)) {
|
|
9778
9778
|
const y = m.getAttribute("src"), S = y && ye.hasDetectedMappings(y, !0, !0) ? y : ("src" in m ? m.src : "") || y;
|
|
9779
9779
|
S && h.push(i(S).then((A) => {
|
|
9780
9780
|
A || (A = S), m.setAttribute("src", A), n && n();
|
|
@@ -9787,7 +9787,7 @@ ${l}`;
|
|
|
9787
9787
|
}));
|
|
9788
9788
|
}
|
|
9789
9789
|
} else if (qn(m)) {
|
|
9790
|
-
const b =
|
|
9790
|
+
const b = vf(m), y = b?.content;
|
|
9791
9791
|
y && h.push(Zr(y, /<v:fill.*>/gi, async (S) => Zr(await Zr(S, /src="([^"]*)"/gi, async (A, C) => `src="${await i(C) || C}"`), /src='([^']*)'/gi, async (A, C) => `src='${await i(C) || C}'`)).then((S) => {
|
|
9792
9792
|
y !== S && (m.replaceWith(ai(`${b.open}${S}${b.close}`)[0]), n && n());
|
|
9793
9793
|
}));
|
|
@@ -9796,9 +9796,9 @@ ${l}`;
|
|
|
9796
9796
|
return It(h);
|
|
9797
9797
|
}
|
|
9798
9798
|
async function Lt(e, t, r = new Map(), n) {
|
|
9799
|
-
await
|
|
9799
|
+
await Em(e, t, r, n);
|
|
9800
9800
|
}
|
|
9801
|
-
function
|
|
9801
|
+
function xm(e) {
|
|
9802
9802
|
const t = new Map();
|
|
9803
9803
|
let r = 0;
|
|
9804
9804
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -9807,7 +9807,7 @@ ${l}`;
|
|
|
9807
9807
|
}
|
|
9808
9808
|
return t;
|
|
9809
9809
|
}
|
|
9810
|
-
function
|
|
9810
|
+
function wm(e) {
|
|
9811
9811
|
return !!e && ye.hasDetectedMappings(e, !0, !0);
|
|
9812
9812
|
}
|
|
9813
9813
|
function Ns(e, t) {
|
|
@@ -9820,7 +9820,7 @@ ${l}`;
|
|
|
9820
9820
|
if (t) for (const f of Object.keys(t)) t[f] && !s.has(f) && (l = l + (l ? "&" : "") + `${f}=${t[f]}`);
|
|
9821
9821
|
return l === o ? e : i + (l ? `?${l}` : "") + (n ? `#${n}` : "");
|
|
9822
9822
|
}
|
|
9823
|
-
function
|
|
9823
|
+
function Am(e) {
|
|
9824
9824
|
const t = ye.getDetectedMappings(e, !0, !0).slice().sort((a, o) => o.range.start - a.range.start), r = [], n = [];
|
|
9825
9825
|
let i = e;
|
|
9826
9826
|
for (const { range: a } of t) {
|
|
@@ -9836,9 +9836,9 @@ ${l}`;
|
|
|
9836
9836
|
restore: (a) => n.reduce((o, { token: s, original: l }) => o.split(s).join(l), a)
|
|
9837
9837
|
};
|
|
9838
9838
|
}
|
|
9839
|
-
function
|
|
9839
|
+
function Cm(e, t, r, n) {
|
|
9840
9840
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
9841
|
-
const { masked: i, tokens: a, restore: o } =
|
|
9841
|
+
const { masked: i, tokens: a, restore: o } = Am(t), s = i.replace(/^https?:\/\//i, ""), l = s.search(/[/?#]/), f = l === -1 ? s : s.slice(0, l);
|
|
9842
9842
|
if (!a.some((b) => f.includes(b)) && e.host === document.location.host) return;
|
|
9843
9843
|
const h = Ns(i, r);
|
|
9844
9844
|
if (h === i) return;
|
|
@@ -9847,13 +9847,13 @@ ${l}`;
|
|
|
9847
9847
|
}
|
|
9848
9848
|
function li(e, t, r) {
|
|
9849
9849
|
const n = e.getAttribute("href");
|
|
9850
|
-
if (
|
|
9851
|
-
|
|
9850
|
+
if (wm(n)) {
|
|
9851
|
+
Cm(e, n, t, r);
|
|
9852
9852
|
return;
|
|
9853
9853
|
}
|
|
9854
9854
|
let i = e.href;
|
|
9855
9855
|
if (i = Be(i), i && e.protocol.startsWith("http")) {
|
|
9856
|
-
const a =
|
|
9856
|
+
const a = xm(i);
|
|
9857
9857
|
if (a.forEach((o, s) => {
|
|
9858
9858
|
i = i.replaceAll(s, o);
|
|
9859
9859
|
}), e.host !== document.location.host) {
|
|
@@ -9864,7 +9864,7 @@ ${l}`;
|
|
|
9864
9864
|
}
|
|
9865
9865
|
}
|
|
9866
9866
|
}
|
|
9867
|
-
async function
|
|
9867
|
+
async function Sm(e, t, r, n, i) {
|
|
9868
9868
|
let [a, o] = t || [800];
|
|
9869
9869
|
return typeof a == "number" && (a = a + "px"), typeof o == "number" && (o = o + "px"), e = await Jr(e, async (s) => {
|
|
9870
9870
|
const l = s.document;
|
|
@@ -9887,7 +9887,7 @@ ${l}`;
|
|
|
9887
9887
|
isNaN(A) || y.setAttribute("height", String(A)), !isNaN(C) && !y.getAttribute("width") && y.setAttribute("width", String(C));
|
|
9888
9888
|
}
|
|
9889
9889
|
m.commit();
|
|
9890
|
-
} else if (
|
|
9890
|
+
} else if (bf(y)) {
|
|
9891
9891
|
const S = parseInt(getComputedStyle(y).width);
|
|
9892
9892
|
!isNaN(S) && y.parentElement.tagName !== "BODY" && y.setAttribute("width", String(S)), m.commit();
|
|
9893
9893
|
} else y.tagName === "TD" || y.tagName === "A" && li(y, r, () => m.commit());
|
|
@@ -9926,7 +9926,7 @@ ${l}`;
|
|
|
9926
9926
|
return P;
|
|
9927
9927
|
}
|
|
9928
9928
|
try {
|
|
9929
|
-
const O = await h(P), d = `img-${u.generateUUID()}@emailmaker`, c = await
|
|
9929
|
+
const O = await h(P), d = `img-${u.generateUUID()}@emailmaker`, c = await gm(O);
|
|
9930
9930
|
return m.push({
|
|
9931
9931
|
cid: d,
|
|
9932
9932
|
mimeType: O.type || "application/octet-stream",
|
|
@@ -9943,12 +9943,12 @@ ${l}`;
|
|
|
9943
9943
|
if (n) return n(l);
|
|
9944
9944
|
}, [o, s], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
9945
9945
|
}
|
|
9946
|
-
var
|
|
9947
|
-
function
|
|
9946
|
+
var Pm = "images", Tm = 40;
|
|
9947
|
+
function Om() {
|
|
9948
9948
|
const e = new Date();
|
|
9949
9949
|
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("")}`;
|
|
9950
9950
|
}
|
|
9951
|
-
async function
|
|
9951
|
+
async function km(e, t, r, n = _m, i, a) {
|
|
9952
9952
|
const o = Object.create(null);
|
|
9953
9953
|
let [s, l] = t || [800];
|
|
9954
9954
|
typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px");
|
|
@@ -9958,13 +9958,13 @@ ${l}`;
|
|
|
9958
9958
|
ye.getEscapedText(S) === S && (S = Be(S));
|
|
9959
9959
|
const A = await n(S);
|
|
9960
9960
|
let [C, k] = js(S);
|
|
9961
|
-
if (C.length >
|
|
9961
|
+
if (C.length > Tm && (C = Om()), !k || !Rn.getType(k)) try {
|
|
9962
9962
|
k = Rn.getExtension(A.type);
|
|
9963
9963
|
} catch {}
|
|
9964
9964
|
let P = `${C}.${k}`, O = 1;
|
|
9965
9965
|
for (; f.has(P);) P = `${C}(${++O}).${k}`;
|
|
9966
9966
|
f.add(P);
|
|
9967
|
-
const d = `${
|
|
9967
|
+
const d = `${Pm}/${P}`;
|
|
9968
9968
|
return o[d] = A, d;
|
|
9969
9969
|
});
|
|
9970
9970
|
const y = b.querySelectorAll("a");
|
|
@@ -9973,7 +9973,7 @@ ${l}`;
|
|
|
9973
9973
|
}, [s, l], a);
|
|
9974
9974
|
return o["index.html"] = new Blob([h], { type: "text/html;charset=utf-8" }), o;
|
|
9975
9975
|
}
|
|
9976
|
-
function
|
|
9976
|
+
function jm(e) {
|
|
9977
9977
|
return vc(e);
|
|
9978
9978
|
}
|
|
9979
9979
|
function Is(e) {
|
|
@@ -9986,7 +9986,7 @@ ${l}`;
|
|
|
9986
9986
|
const n = document.createElement("canvas");
|
|
9987
9987
|
return n.width = e.width, n.height = e.height, n.getContext("2d").drawImage(e, 0, 0), new Promise((i, a) => n.toBlob((o) => o ? i(o) : a("blob is null"), t, Number(r) || 0));
|
|
9988
9988
|
}
|
|
9989
|
-
function
|
|
9989
|
+
function Mm(e, t) {
|
|
9990
9990
|
do {
|
|
9991
9991
|
if (e === t) return !0;
|
|
9992
9992
|
e = e.parentNode;
|
|
@@ -9995,13 +9995,13 @@ ${l}`;
|
|
|
9995
9995
|
}
|
|
9996
9996
|
function Ds(e) {
|
|
9997
9997
|
const t = e.ownerDocument?.body;
|
|
9998
|
-
if (t &&
|
|
9998
|
+
if (t && Mm(e, t)) {
|
|
9999
9999
|
if (xe(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10000
10000
|
if (e.nodeName === "#text") return e.textContent;
|
|
10001
10001
|
}
|
|
10002
10002
|
return e.childNodes ? [...e.childNodes].map(Ds).join("") : "";
|
|
10003
10003
|
}
|
|
10004
|
-
function
|
|
10004
|
+
function Nm(e) {
|
|
10005
10005
|
const { document: t } = ks(e);
|
|
10006
10006
|
try {
|
|
10007
10007
|
return Ds(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10028,22 +10028,22 @@ ${l}`;
|
|
|
10028
10028
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10029
10029
|
return t;
|
|
10030
10030
|
}
|
|
10031
|
-
function
|
|
10031
|
+
function Rm(e) {
|
|
10032
10032
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10033
10033
|
}
|
|
10034
|
-
function
|
|
10034
|
+
function Im(e) {
|
|
10035
10035
|
const t = Dt(e);
|
|
10036
10036
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10037
10037
|
const r = e.createElement("style");
|
|
10038
10038
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10039
10039
|
}
|
|
10040
10040
|
}
|
|
10041
|
-
function
|
|
10041
|
+
function Lm(e) {
|
|
10042
10042
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10043
10043
|
t && t.remove();
|
|
10044
10044
|
}
|
|
10045
10045
|
var Kr = "amp-custom";
|
|
10046
|
-
function
|
|
10046
|
+
function Dm(e, t) {
|
|
10047
10047
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10048
10048
|
}
|
|
10049
10049
|
function zs(e, t, r) {
|
|
@@ -10067,7 +10067,7 @@ ${l}`;
|
|
|
10067
10067
|
if (r) {
|
|
10068
10068
|
const a = new Set();
|
|
10069
10069
|
zs(e, r.cssRules, (o, s) => {
|
|
10070
|
-
const l =
|
|
10070
|
+
const l = Dm(o, s), f = [...r.cssRules], h = `.${l} { ${o}: ${s} }`;
|
|
10071
10071
|
return !f.find((m) => Nt.isStyleRule(m) && m.selectorText === `.${l}`) && !a.has(h) && (a.add(h), t.innerHTML = `
|
|
10072
10072
|
.${l} { ${o}: ${s} };
|
|
10073
10073
|
${t.innerHTML}`), l;
|
|
@@ -10079,7 +10079,7 @@ ${t.innerHTML}`);
|
|
|
10079
10079
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
10080
10080
|
n !== i && (t.innerHTML = i);
|
|
10081
10081
|
}
|
|
10082
|
-
function
|
|
10082
|
+
function Fm(e) {
|
|
10083
10083
|
const t = Dt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
10084
10084
|
if (n.length === 1) {
|
|
10085
10085
|
const a = n[0];
|
|
@@ -10098,12 +10098,12 @@ ${i.join("")}
|
|
|
10098
10098
|
}
|
|
10099
10099
|
for (const a of r) a.remove();
|
|
10100
10100
|
}
|
|
10101
|
-
function
|
|
10101
|
+
function Um(e) {
|
|
10102
10102
|
const t = e.querySelector(`style[${Kr}]`);
|
|
10103
10103
|
t && t.removeAttribute(Kr);
|
|
10104
10104
|
}
|
|
10105
|
-
var
|
|
10106
|
-
function
|
|
10105
|
+
var zm = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", en = "<!doctype html>";
|
|
10106
|
+
function Bm(e) {
|
|
10107
10107
|
const t = e.doctype;
|
|
10108
10108
|
if (t) {
|
|
10109
10109
|
if (Un(t) === en) return;
|
|
@@ -10114,10 +10114,10 @@ ${i.join("")}
|
|
|
10114
10114
|
e.insertBefore(r, e.firstChild);
|
|
10115
10115
|
}
|
|
10116
10116
|
}
|
|
10117
|
-
function
|
|
10117
|
+
function qm(e) {
|
|
10118
10118
|
const t = e.doctype;
|
|
10119
10119
|
if (t && Un(t).toLowerCase() === en) {
|
|
10120
|
-
const r = new DOMParser().parseFromString(
|
|
10120
|
+
const r = new DOMParser().parseFromString(zm, "text/html").doctype;
|
|
10121
10121
|
e.replaceChild(r, t);
|
|
10122
10122
|
}
|
|
10123
10123
|
}
|
|
@@ -10126,7 +10126,7 @@ ${i.join("")}
|
|
|
10126
10126
|
try {
|
|
10127
10127
|
let a = e;
|
|
10128
10128
|
for (; a && zn(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
10129
|
-
const o = n?.height ? `${parseInt(n.height)}` : "", s = n?.width ? `${parseInt(n.width)}` : "", l =
|
|
10129
|
+
const o = n?.height ? `${parseInt(n.height)}` : "", s = n?.width ? `${parseInt(n.width)}` : "", l = Rm(e);
|
|
10130
10130
|
let f = !1;
|
|
10131
10131
|
if (l) {
|
|
10132
10132
|
const m = l.getAttribute("width");
|
|
@@ -10153,12 +10153,12 @@ ${i.join("")}
|
|
|
10153
10153
|
}
|
|
10154
10154
|
return r;
|
|
10155
10155
|
}
|
|
10156
|
-
function
|
|
10156
|
+
function $m(e) {
|
|
10157
10157
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Us(e), a = r === "responsive";
|
|
10158
10158
|
for (const o of Object.keys(i)) it(t, o, i[o]);
|
|
10159
10159
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
10160
10160
|
}
|
|
10161
|
-
async function
|
|
10161
|
+
async function Hm(e, t) {
|
|
10162
10162
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
10163
10163
|
for (const a of r) n.push(qs(a).then((o) => [a, o], () => [a, void 0]));
|
|
10164
10164
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -10172,12 +10172,12 @@ ${i.join("")}
|
|
|
10172
10172
|
t?.();
|
|
10173
10173
|
}
|
|
10174
10174
|
}
|
|
10175
|
-
function
|
|
10175
|
+
function Qm(e, t) {
|
|
10176
10176
|
const r = [...e.querySelectorAll("amp-img")];
|
|
10177
|
-
for (const n of r) n.replaceWith(
|
|
10177
|
+
for (const n of r) n.replaceWith($m(n));
|
|
10178
10178
|
r.length && t?.();
|
|
10179
10179
|
}
|
|
10180
|
-
function
|
|
10180
|
+
function Gm(e) {
|
|
10181
10181
|
const t = e.querySelectorAll("meta");
|
|
10182
10182
|
for (const i of t) {
|
|
10183
10183
|
const a = i.getAttribute("charset");
|
|
@@ -10193,21 +10193,21 @@ ${i.join("")}
|
|
|
10193
10193
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
10194
10194
|
for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
10195
10195
|
}
|
|
10196
|
-
var ui = "https://cdn.ampproject.org/v0", $s = `${ui}.js`,
|
|
10197
|
-
function
|
|
10196
|
+
var ui = "https://cdn.ampproject.org/v0", $s = `${ui}.js`, Wm = `script[src='${$s}']`;
|
|
10197
|
+
function Ym(e, t) {
|
|
10198
10198
|
return `${ui}/${e.toLowerCase()}-${t}.js`;
|
|
10199
10199
|
}
|
|
10200
|
-
async function
|
|
10200
|
+
async function Xm(e, t, r) {
|
|
10201
10201
|
for (const { name: n, versions: i } of t) {
|
|
10202
10202
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
10203
10203
|
if (!e.querySelector(a)) {
|
|
10204
|
-
const o = Dt(e), s = r.createElementFn("script"), l =
|
|
10204
|
+
const o = Dt(e), s = r.createElementFn("script"), l = Ym(n, i.findLast((f) => f !== "latest") || "v0");
|
|
10205
10205
|
s.setAttribute("async", ""), s.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), s.setAttribute("src", l), o.appendChild(s), o.appendChild(e.createTextNode(`
|
|
10206
10206
|
`));
|
|
10207
10207
|
}
|
|
10208
10208
|
}
|
|
10209
10209
|
}
|
|
10210
|
-
function
|
|
10210
|
+
function Jm(e, t) {
|
|
10211
10211
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
10212
10212
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
10213
10213
|
for (const i of r) Qs(i) && i.tagName !== "FORM" && i.remove();
|
|
@@ -10217,7 +10217,7 @@ ${i.join("")}
|
|
|
10217
10217
|
return Hs || (Hs = await Promise.resolve().then(() => Oe("./f85b09cb.js")).then((e) => e.default));
|
|
10218
10218
|
}
|
|
10219
10219
|
var pi = new Map();
|
|
10220
|
-
async function
|
|
10220
|
+
async function Zm() {
|
|
10221
10221
|
if (!pi.size) {
|
|
10222
10222
|
const e = await tn(), t = e.tags;
|
|
10223
10223
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -10232,17 +10232,17 @@ ${i.join("")}
|
|
|
10232
10232
|
return pi;
|
|
10233
10233
|
}
|
|
10234
10234
|
var di = new Map();
|
|
10235
|
-
async function
|
|
10235
|
+
async function Km() {
|
|
10236
10236
|
if (!di.size) {
|
|
10237
10237
|
const e = await tn();
|
|
10238
10238
|
for (const t of e.declarations) di.set(t.name, t);
|
|
10239
10239
|
}
|
|
10240
10240
|
return di;
|
|
10241
10241
|
}
|
|
10242
|
-
var
|
|
10243
|
-
async function
|
|
10242
|
+
var eh = "$GLOBAL_ATTRS", fi = new Map();
|
|
10243
|
+
async function th() {
|
|
10244
10244
|
if (!fi.size) {
|
|
10245
|
-
const e = (await tn()).attrLists.find((t) => t.name ===
|
|
10245
|
+
const e = (await tn()).attrLists.find((t) => t.name === eh)?.attrs;
|
|
10246
10246
|
if (e) for (const t of e) fi.set(t.name, t);
|
|
10247
10247
|
}
|
|
10248
10248
|
return fi;
|
|
@@ -10250,7 +10250,7 @@ ${i.join("")}
|
|
|
10250
10250
|
function Qs(e) {
|
|
10251
10251
|
return xe(e) && (e.tagName.startsWith("AMP") || e.tagName === "FORM" || e.tagName === "TEMPLATE" && e.getAttribute("type")?.toLowerCase() === "amp-mustache");
|
|
10252
10252
|
}
|
|
10253
|
-
function
|
|
10253
|
+
function Gs(e, t, r) {
|
|
10254
10254
|
if (!t) return;
|
|
10255
10255
|
function n() {
|
|
10256
10256
|
const a = t.compareDocumentPosition(e);
|
|
@@ -10262,7 +10262,7 @@ ${i.join("")}
|
|
|
10262
10262
|
}
|
|
10263
10263
|
function i() {
|
|
10264
10264
|
const a = [...e.childNodes];
|
|
10265
|
-
for (let o = a.length - 1; o >= 0; o--)
|
|
10265
|
+
for (let o = a.length - 1; o >= 0; o--) Gs(a[o], t, r);
|
|
10266
10266
|
}
|
|
10267
10267
|
if (xe(e)) switch (e.tagName.toLowerCase()) {
|
|
10268
10268
|
case "body": return;
|
|
@@ -10280,17 +10280,17 @@ ${i.join("")}
|
|
|
10280
10280
|
}
|
|
10281
10281
|
else Bn(e) ? i() : Rt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Rt(e.nextSibling)) && n();
|
|
10282
10282
|
}
|
|
10283
|
-
async function
|
|
10283
|
+
async function rh(e, t) {
|
|
10284
10284
|
const r = new Set(), n = t.commit, i = (y) => t.replaceSelectors(y.toLowerCase());
|
|
10285
|
-
if (t.replaceImages && await
|
|
10286
|
-
const y = t.replaceSelectors(
|
|
10285
|
+
if (t.replaceImages && await Hm(e, n), t.injectExtensions) {
|
|
10286
|
+
const y = t.replaceSelectors(Wm);
|
|
10287
10287
|
if (!e.querySelector(y)) {
|
|
10288
10288
|
const S = t.createElementFn("script");
|
|
10289
10289
|
S.setAttribute("src", $s), S.setAttribute("async", ""), Dt(e).appendChild(S), n?.();
|
|
10290
10290
|
}
|
|
10291
10291
|
}
|
|
10292
|
-
t.injectRequiredTags && (Vm(e, t.createElementFn, i),
|
|
10293
|
-
const a = await tn(), o = await
|
|
10292
|
+
t.injectRequiredTags && (Vm(e, t.createElementFn, i), Bm(e), Im(e), Gm(e), n?.()), t.replaceStylesAndLinks && (Fm(e), n?.());
|
|
10293
|
+
const a = await tn(), o = await Zm(), s = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), l = new Map();
|
|
10294
10294
|
for (let [y, S] of o) if (!S.deprecation) {
|
|
10295
10295
|
y = i(y);
|
|
10296
10296
|
let A = [...e.querySelectorAll(y)].filter((C) => !l.has(C));
|
|
@@ -10310,7 +10310,7 @@ ${i.join("")}
|
|
|
10310
10310
|
if (t.injectExtensions && S.requiresExtension) for (const k of S.requiresExtension) r.add(k);
|
|
10311
10311
|
const A = S.requiredParent ? S.requiredParent === "$ROOT" ? e : e.querySelector(S.requiredParent) : null;
|
|
10312
10312
|
A && (!y.parentNode || t.moveInvalidTagPosition) ? A !== y.parentNode && (S.name === "HEAD" || xe(A) && A.tagName === "HEAD" ? A.insertBefore(y, A.firstChild) : A.appendChild(y)) : y.parentNode || e.body.appendChild(y), t.removeUnsupportedTags && s.delete(y), n?.();
|
|
10313
|
-
const C = await
|
|
10313
|
+
const C = await th();
|
|
10314
10314
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
10315
10315
|
const k = S.attrs, P = t.injectRequiredAttributes ? new Set([...k].map(([d, c]) => c).filter((d) => d.required && d.value)) : void 0, O = y.getAttributeNames();
|
|
10316
10316
|
for (const d of O) {
|
|
@@ -10381,7 +10381,7 @@ ${i.join("")}
|
|
|
10381
10381
|
}
|
|
10382
10382
|
n?.();
|
|
10383
10383
|
}
|
|
10384
|
-
t.moveInvalidTagPosition && (
|
|
10384
|
+
t.moveInvalidTagPosition && (Gs(e, e.body, i), n?.());
|
|
10385
10385
|
for (const y of s) y.remove();
|
|
10386
10386
|
if (n?.(), t.removeUnsupportedStyles) {
|
|
10387
10387
|
let A = function(d) {
|
|
@@ -10405,7 +10405,7 @@ ${i.join("")}
|
|
|
10405
10405
|
C(v) ? v.selectorText.indexOf("[") >= 0 || v.selectorText.indexOf(":") >= 0 ? d.deleteRule(p) : (A(v.style), v.style.cssText || d.deleteRule(p)) : k(v) ? (P(v), v.cssRules.length || d.deleteRule(p)) : d.deleteRule(p);
|
|
10406
10406
|
}
|
|
10407
10407
|
};
|
|
10408
|
-
const y = e.querySelectorAll("*"), S = await
|
|
10408
|
+
const y = e.querySelectorAll("*"), S = await Km();
|
|
10409
10409
|
for (const d of y) if (zn(d)) {
|
|
10410
10410
|
const c = d.getAttribute("style");
|
|
10411
10411
|
c && (A(d.style), d.style.length ? d.style.cssText !== c && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
@@ -10417,14 +10417,14 @@ ${i.join("")}
|
|
|
10417
10417
|
`)), n?.();
|
|
10418
10418
|
}
|
|
10419
10419
|
}
|
|
10420
|
-
await
|
|
10420
|
+
await Xm(e, a.extensions.filter(({ name: y }) => r.has(y)), t);
|
|
10421
10421
|
}
|
|
10422
|
-
function
|
|
10422
|
+
function Vs(e, t) {
|
|
10423
10423
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
10424
10424
|
}
|
|
10425
|
-
function
|
|
10425
|
+
function nh(e, t = {}) {
|
|
10426
10426
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
10427
|
-
return
|
|
10427
|
+
return rh(e, {
|
|
10428
10428
|
replaceImages: r,
|
|
10429
10429
|
replaceStylesAndLinks: r,
|
|
10430
10430
|
injectRequiredTags: r,
|
|
@@ -10436,18 +10436,18 @@ ${i.join("")}
|
|
|
10436
10436
|
removeUnsupportedAttributes: r,
|
|
10437
10437
|
removeUnsupportedStyles: r,
|
|
10438
10438
|
createElementFn: (a) => e.createElement(i[a.toLowerCase()] || a),
|
|
10439
|
-
replaceSelectors: (a) =>
|
|
10439
|
+
replaceSelectors: (a) => Vs(a.toLowerCase(), i),
|
|
10440
10440
|
commit: t.commit
|
|
10441
10441
|
});
|
|
10442
10442
|
}
|
|
10443
|
-
function
|
|
10444
|
-
const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, o = (l) => e.createElement(i[l.toLowerCase()] || l), s = (l) =>
|
|
10443
|
+
function ih(e, t = {}) {
|
|
10444
|
+
const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, o = (l) => e.createElement(i[l.toLowerCase()] || l), s = (l) => Vs(l, i);
|
|
10445
10445
|
if (r) {
|
|
10446
|
-
|
|
10446
|
+
Qm(e), qm(e), Um(e), Lm(e);
|
|
10447
10447
|
const l = Fs(e);
|
|
10448
10448
|
l.removeAttribute("⚡4email"), l.removeAttribute("data-css-strict"), a?.();
|
|
10449
10449
|
}
|
|
10450
|
-
n && (
|
|
10450
|
+
n && (Jm(e, {
|
|
10451
10451
|
formsAsAmpForms: t.removeExtensions,
|
|
10452
10452
|
createElementFn: o,
|
|
10453
10453
|
replaceSelectors: s
|
|
@@ -10471,7 +10471,7 @@ ${i.join("")}
|
|
|
10471
10471
|
}), Object.defineProperty(x, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
10472
10472
|
enumerable: !0,
|
|
10473
10473
|
get: function() {
|
|
10474
|
-
return
|
|
10474
|
+
return Od;
|
|
10475
10475
|
}
|
|
10476
10476
|
}), Object.defineProperty(x, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
10477
10477
|
enumerable: !0,
|
|
@@ -10491,7 +10491,7 @@ ${i.join("")}
|
|
|
10491
10491
|
}), Object.defineProperty(x, "ListenerUpdater", {
|
|
10492
10492
|
enumerable: !0,
|
|
10493
10493
|
get: function() {
|
|
10494
|
-
return
|
|
10494
|
+
return Ed;
|
|
10495
10495
|
}
|
|
10496
10496
|
}), Object.defineProperty(x, "PLUGIN_REGISTRY_ID", {
|
|
10497
10497
|
enumerable: !0,
|
|
@@ -10501,7 +10501,7 @@ ${i.join("")}
|
|
|
10501
10501
|
}), Object.defineProperty(x, "USAGE_LIMIT_EXCEEDED_CODE", {
|
|
10502
10502
|
enumerable: !0,
|
|
10503
10503
|
get: function() {
|
|
10504
|
-
return
|
|
10504
|
+
return nu;
|
|
10505
10505
|
}
|
|
10506
10506
|
}), Object.defineProperty(x, "addUserToProjectApi", {
|
|
10507
10507
|
enumerable: !0,
|
|
@@ -10511,7 +10511,7 @@ ${i.join("")}
|
|
|
10511
10511
|
}), Object.defineProperty(x, "amp2html", {
|
|
10512
10512
|
enumerable: !0,
|
|
10513
10513
|
get: function() {
|
|
10514
|
-
return
|
|
10514
|
+
return ih;
|
|
10515
10515
|
}
|
|
10516
10516
|
}), Object.defineProperty(x, "changeHtml", {
|
|
10517
10517
|
enumerable: !0,
|
|
@@ -10521,7 +10521,7 @@ ${i.join("")}
|
|
|
10521
10521
|
}), Object.defineProperty(x, "clearStandaloneSecurityModule", {
|
|
10522
10522
|
enumerable: !0,
|
|
10523
10523
|
get: function() {
|
|
10524
|
-
return
|
|
10524
|
+
return bd;
|
|
10525
10525
|
}
|
|
10526
10526
|
}), Object.defineProperty(x, "createAbortError", {
|
|
10527
10527
|
enumerable: !0,
|
|
@@ -10531,7 +10531,7 @@ ${i.join("")}
|
|
|
10531
10531
|
}), Object.defineProperty(x, "createFallbackApp", {
|
|
10532
10532
|
enumerable: !0,
|
|
10533
10533
|
get: function() {
|
|
10534
|
-
return
|
|
10534
|
+
return Gi;
|
|
10535
10535
|
}
|
|
10536
10536
|
}), Object.defineProperty(x, "createFallbackProject", {
|
|
10537
10537
|
enumerable: !0,
|
|
@@ -10546,7 +10546,7 @@ ${i.join("")}
|
|
|
10546
10546
|
}), Object.defineProperty(x, "createStore", {
|
|
10547
10547
|
enumerable: !0,
|
|
10548
10548
|
get: function() {
|
|
10549
|
-
return
|
|
10549
|
+
return id;
|
|
10550
10550
|
}
|
|
10551
10551
|
}), Object.defineProperty(x, "emailRawApi", {
|
|
10552
10552
|
enumerable: !0,
|
|
@@ -10561,12 +10561,12 @@ ${i.join("")}
|
|
|
10561
10561
|
}), Object.defineProperty(x, "extractDocumentTextContent", {
|
|
10562
10562
|
enumerable: !0,
|
|
10563
10563
|
get: function() {
|
|
10564
|
-
return
|
|
10564
|
+
return Nm;
|
|
10565
10565
|
}
|
|
10566
10566
|
}), Object.defineProperty(x, "extractServerProjectIdFromToken", {
|
|
10567
10567
|
enumerable: !0,
|
|
10568
10568
|
get: function() {
|
|
10569
|
-
return
|
|
10569
|
+
return dd;
|
|
10570
10570
|
}
|
|
10571
10571
|
}), Object.defineProperty(x, "fetchWithApiOriginFailover", {
|
|
10572
10572
|
enumerable: !0,
|
|
@@ -10576,7 +10576,7 @@ ${i.join("")}
|
|
|
10576
10576
|
}), Object.defineProperty(x, "findShadowRoot", {
|
|
10577
10577
|
enumerable: !0,
|
|
10578
10578
|
get: function() {
|
|
10579
|
-
return
|
|
10579
|
+
return hf;
|
|
10580
10580
|
}
|
|
10581
10581
|
}), Object.defineProperty(x, "generateBrandColorId", {
|
|
10582
10582
|
enumerable: !0,
|
|
@@ -10591,12 +10591,12 @@ ${i.join("")}
|
|
|
10591
10591
|
}), Object.defineProperty(x, "generateProjectFontId", {
|
|
10592
10592
|
enumerable: !0,
|
|
10593
10593
|
get: function() {
|
|
10594
|
-
return
|
|
10594
|
+
return al;
|
|
10595
10595
|
}
|
|
10596
10596
|
}), Object.defineProperty(x, "getEML", {
|
|
10597
10597
|
enumerable: !0,
|
|
10598
10598
|
get: function() {
|
|
10599
|
-
return
|
|
10599
|
+
return vm;
|
|
10600
10600
|
}
|
|
10601
10601
|
}), Object.defineProperty(x, "getElementInnerHTML", {
|
|
10602
10602
|
enumerable: !0,
|
|
@@ -10606,7 +10606,7 @@ ${i.join("")}
|
|
|
10606
10606
|
}), Object.defineProperty(x, "getElementStartHtml_VDOM", {
|
|
10607
10607
|
enumerable: !0,
|
|
10608
10608
|
get: function() {
|
|
10609
|
-
return
|
|
10609
|
+
return af;
|
|
10610
10610
|
}
|
|
10611
10611
|
}), Object.defineProperty(x, "getFileNameAndExt", {
|
|
10612
10612
|
enumerable: !0,
|
|
@@ -10616,7 +10616,7 @@ ${i.join("")}
|
|
|
10616
10616
|
}), Object.defineProperty(x, "getFileNameWithExt", {
|
|
10617
10617
|
enumerable: !0,
|
|
10618
10618
|
get: function() {
|
|
10619
|
-
return
|
|
10619
|
+
return bm;
|
|
10620
10620
|
}
|
|
10621
10621
|
}), Object.defineProperty(x, "getImageByUrl", {
|
|
10622
10622
|
enumerable: !0,
|
|
@@ -10631,27 +10631,27 @@ ${i.join("")}
|
|
|
10631
10631
|
}), Object.defineProperty(x, "getSaveTimeoutMs", {
|
|
10632
10632
|
enumerable: !0,
|
|
10633
10633
|
get: function() {
|
|
10634
|
-
return
|
|
10634
|
+
return kd;
|
|
10635
10635
|
}
|
|
10636
10636
|
}), Object.defineProperty(x, "getSocialPresetsForBrand", {
|
|
10637
10637
|
enumerable: !0,
|
|
10638
10638
|
get: function() {
|
|
10639
|
-
return
|
|
10639
|
+
return Wc;
|
|
10640
10640
|
}
|
|
10641
10641
|
}), Object.defineProperty(x, "html2amp", {
|
|
10642
10642
|
enumerable: !0,
|
|
10643
10643
|
get: function() {
|
|
10644
|
-
return
|
|
10644
|
+
return nh;
|
|
10645
10645
|
}
|
|
10646
10646
|
}), Object.defineProperty(x, "htmlFilesToZip", {
|
|
10647
10647
|
enumerable: !0,
|
|
10648
10648
|
get: function() {
|
|
10649
|
-
return
|
|
10649
|
+
return jm;
|
|
10650
10650
|
}
|
|
10651
10651
|
}), Object.defineProperty(x, "htmlToFilesData", {
|
|
10652
10652
|
enumerable: !0,
|
|
10653
10653
|
get: function() {
|
|
10654
|
-
return
|
|
10654
|
+
return km;
|
|
10655
10655
|
}
|
|
10656
10656
|
}), Object.defineProperty(x, "imageToBlob", {
|
|
10657
10657
|
enumerable: !0,
|
|
@@ -10661,12 +10661,12 @@ ${i.join("")}
|
|
|
10661
10661
|
}), Object.defineProperty(x, "injectStandaloneMocks", {
|
|
10662
10662
|
enumerable: !0,
|
|
10663
10663
|
get: function() {
|
|
10664
|
-
return
|
|
10664
|
+
return md;
|
|
10665
10665
|
}
|
|
10666
10666
|
}), Object.defineProperty(x, "installStandaloneMockGuard", {
|
|
10667
10667
|
enumerable: !0,
|
|
10668
10668
|
get: function() {
|
|
10669
|
-
return
|
|
10669
|
+
return gd;
|
|
10670
10670
|
}
|
|
10671
10671
|
}), Object.defineProperty(x, "isAmpElement", {
|
|
10672
10672
|
enumerable: !0,
|
|
@@ -10686,7 +10686,7 @@ ${i.join("")}
|
|
|
10686
10686
|
}), Object.defineProperty(x, "isDocumentFragment", {
|
|
10687
10687
|
enumerable: !0,
|
|
10688
10688
|
get: function() {
|
|
10689
|
-
return
|
|
10689
|
+
return df;
|
|
10690
10690
|
}
|
|
10691
10691
|
}), Object.defineProperty(x, "isElement", {
|
|
10692
10692
|
enumerable: !0,
|
|
@@ -10696,12 +10696,12 @@ ${i.join("")}
|
|
|
10696
10696
|
}), Object.defineProperty(x, "isForm", {
|
|
10697
10697
|
enumerable: !0,
|
|
10698
10698
|
get: function() {
|
|
10699
|
-
return
|
|
10699
|
+
return uf;
|
|
10700
10700
|
}
|
|
10701
10701
|
}), Object.defineProperty(x, "isImmediateStandalone", {
|
|
10702
10702
|
enumerable: !0,
|
|
10703
10703
|
get: function() {
|
|
10704
|
-
return
|
|
10704
|
+
return _d;
|
|
10705
10705
|
}
|
|
10706
10706
|
}), Object.defineProperty(x, "isTextNode", {
|
|
10707
10707
|
enumerable: !0,
|
|
@@ -10726,7 +10726,7 @@ ${i.join("")}
|
|
|
10726
10726
|
}), Object.defineProperty(x, "normalizeUrl", {
|
|
10727
10727
|
enumerable: !0,
|
|
10728
10728
|
get: function() {
|
|
10729
|
-
return
|
|
10729
|
+
return Qf;
|
|
10730
10730
|
}
|
|
10731
10731
|
}), Object.defineProperty(x, "notificationsApi", {
|
|
10732
10732
|
enumerable: !0,
|
|
@@ -10741,27 +10741,27 @@ ${i.join("")}
|
|
|
10741
10741
|
}), Object.defineProperty(x, "parseLocaleCatalog", {
|
|
10742
10742
|
enumerable: !0,
|
|
10743
10743
|
get: function() {
|
|
10744
|
-
return
|
|
10744
|
+
return Vi;
|
|
10745
10745
|
}
|
|
10746
10746
|
}), Object.defineProperty(x, "pluginRegistry", {
|
|
10747
10747
|
enumerable: !0,
|
|
10748
10748
|
get: function() {
|
|
10749
|
-
return
|
|
10749
|
+
return Md;
|
|
10750
10750
|
}
|
|
10751
10751
|
}), Object.defineProperty(x, "prepareEmailHtmlForEditor", {
|
|
10752
10752
|
enumerable: !0,
|
|
10753
10753
|
get: function() {
|
|
10754
|
-
return
|
|
10754
|
+
return im;
|
|
10755
10755
|
}
|
|
10756
10756
|
}), Object.defineProperty(x, "prepareEvent", {
|
|
10757
10757
|
enumerable: !0,
|
|
10758
10758
|
get: function() {
|
|
10759
|
-
return
|
|
10759
|
+
return xd;
|
|
10760
10760
|
}
|
|
10761
10761
|
}), Object.defineProperty(x, "prepareHTML", {
|
|
10762
10762
|
enumerable: !0,
|
|
10763
10763
|
get: function() {
|
|
10764
|
-
return
|
|
10764
|
+
return Sm;
|
|
10765
10765
|
}
|
|
10766
10766
|
}), Object.defineProperty(x, "promoApi", {
|
|
10767
10767
|
enumerable: !0,
|
|
@@ -10771,7 +10771,7 @@ ${i.join("")}
|
|
|
10771
10771
|
}), Object.defineProperty(x, "promoteNewEmailAfterSave", {
|
|
10772
10772
|
enumerable: !0,
|
|
10773
10773
|
get: function() {
|
|
10774
|
-
return
|
|
10774
|
+
return Np;
|
|
10775
10775
|
}
|
|
10776
10776
|
}), Object.defineProperty(x, "proxyApi", {
|
|
10777
10777
|
enumerable: !0,
|
|
@@ -10796,12 +10796,12 @@ ${i.join("")}
|
|
|
10796
10796
|
}), Object.defineProperty(x, "registerDefaultFileProxy", {
|
|
10797
10797
|
enumerable: !0,
|
|
10798
10798
|
get: function() {
|
|
10799
|
-
return
|
|
10799
|
+
return vd;
|
|
10800
10800
|
}
|
|
10801
10801
|
}), Object.defineProperty(x, "removeEmailFromList", {
|
|
10802
10802
|
enumerable: !0,
|
|
10803
10803
|
get: function() {
|
|
10804
|
-
return
|
|
10804
|
+
return Hp;
|
|
10805
10805
|
}
|
|
10806
10806
|
}), Object.defineProperty(x, "replaceImagesInDocument", {
|
|
10807
10807
|
enumerable: !0,
|
|
@@ -10811,27 +10811,27 @@ ${i.join("")}
|
|
|
10811
10811
|
}), Object.defineProperty(x, "resetElementHistorySlice", {
|
|
10812
10812
|
enumerable: !0,
|
|
10813
10813
|
get: function() {
|
|
10814
|
-
return
|
|
10814
|
+
return ed;
|
|
10815
10815
|
}
|
|
10816
10816
|
}), Object.defineProperty(x, "resetElementsList", {
|
|
10817
10817
|
enumerable: !0,
|
|
10818
10818
|
get: function() {
|
|
10819
|
-
return
|
|
10819
|
+
return $p;
|
|
10820
10820
|
}
|
|
10821
10821
|
}), Object.defineProperty(x, "resetNewBlockSlice", {
|
|
10822
10822
|
enumerable: !0,
|
|
10823
10823
|
get: function() {
|
|
10824
|
-
return
|
|
10824
|
+
return Up;
|
|
10825
10825
|
}
|
|
10826
10826
|
}), Object.defineProperty(x, "resetNewEmailSlice", {
|
|
10827
10827
|
enumerable: !0,
|
|
10828
10828
|
get: function() {
|
|
10829
|
-
return
|
|
10829
|
+
return Tp;
|
|
10830
10830
|
}
|
|
10831
10831
|
}), Object.defineProperty(x, "resetPagesAndTotal", {
|
|
10832
10832
|
enumerable: !0,
|
|
10833
10833
|
get: function() {
|
|
10834
|
-
return
|
|
10834
|
+
return Bp;
|
|
10835
10835
|
}
|
|
10836
10836
|
}), Object.defineProperty(x, "resolveStandaloneKey", {
|
|
10837
10837
|
enumerable: !0,
|
|
@@ -10841,7 +10841,7 @@ ${i.join("")}
|
|
|
10841
10841
|
}), Object.defineProperty(x, "resolveTemplateDirectivesConfig", {
|
|
10842
10842
|
enumerable: !0,
|
|
10843
10843
|
get: function() {
|
|
10844
|
-
return
|
|
10844
|
+
return Xd;
|
|
10845
10845
|
}
|
|
10846
10846
|
}), Object.defineProperty(x, "sanitizeFileName", {
|
|
10847
10847
|
enumerable: !0,
|
|
@@ -10856,17 +10856,17 @@ ${i.join("")}
|
|
|
10856
10856
|
}), Object.defineProperty(x, "selectBlocksTotal", {
|
|
10857
10857
|
enumerable: !0,
|
|
10858
10858
|
get: function() {
|
|
10859
|
-
return
|
|
10859
|
+
return Jp;
|
|
10860
10860
|
}
|
|
10861
10861
|
}), Object.defineProperty(x, "selectCustomFolders", {
|
|
10862
10862
|
enumerable: !0,
|
|
10863
10863
|
get: function() {
|
|
10864
|
-
return
|
|
10864
|
+
return Wp;
|
|
10865
10865
|
}
|
|
10866
10866
|
}), Object.defineProperty(x, "selectElementHistoryTotalPages", {
|
|
10867
10867
|
enumerable: !0,
|
|
10868
10868
|
get: function() {
|
|
10869
|
-
return
|
|
10869
|
+
return td;
|
|
10870
10870
|
}
|
|
10871
10871
|
}), Object.defineProperty(x, "selectElementsList", {
|
|
10872
10872
|
enumerable: !0,
|
|
@@ -10876,152 +10876,152 @@ ${i.join("")}
|
|
|
10876
10876
|
}), Object.defineProperty(x, "selectElementsTrashList", {
|
|
10877
10877
|
enumerable: !0,
|
|
10878
10878
|
get: function() {
|
|
10879
|
-
return
|
|
10879
|
+
return Xp;
|
|
10880
10880
|
}
|
|
10881
10881
|
}), Object.defineProperty(x, "selectElementsView", {
|
|
10882
10882
|
enumerable: !0,
|
|
10883
10883
|
get: function() {
|
|
10884
|
-
return
|
|
10884
|
+
return Gp;
|
|
10885
10885
|
}
|
|
10886
10886
|
}), Object.defineProperty(x, "selectEmailsTotal", {
|
|
10887
10887
|
enumerable: !0,
|
|
10888
10888
|
get: function() {
|
|
10889
|
-
return
|
|
10889
|
+
return Qp;
|
|
10890
10890
|
}
|
|
10891
10891
|
}), Object.defineProperty(x, "selectEmailsTrashTotal", {
|
|
10892
10892
|
enumerable: !0,
|
|
10893
10893
|
get: function() {
|
|
10894
|
-
return
|
|
10894
|
+
return Yp;
|
|
10895
10895
|
}
|
|
10896
10896
|
}), Object.defineProperty(x, "selectHistoryData", {
|
|
10897
10897
|
enumerable: !0,
|
|
10898
10898
|
get: function() {
|
|
10899
|
-
return
|
|
10899
|
+
return rd;
|
|
10900
10900
|
}
|
|
10901
10901
|
}), Object.defineProperty(x, "selectNewBlockHasChanged", {
|
|
10902
10902
|
enumerable: !0,
|
|
10903
10903
|
get: function() {
|
|
10904
|
-
return
|
|
10904
|
+
return zp;
|
|
10905
10905
|
}
|
|
10906
10906
|
}), Object.defineProperty(x, "selectNewEmailAppliedShowToken", {
|
|
10907
10907
|
enumerable: !0,
|
|
10908
10908
|
get: function() {
|
|
10909
|
-
return
|
|
10909
|
+
return Ip;
|
|
10910
10910
|
}
|
|
10911
10911
|
}), Object.defineProperty(x, "selectNewEmailHasChanged", {
|
|
10912
10912
|
enumerable: !0,
|
|
10913
10913
|
get: function() {
|
|
10914
|
-
return
|
|
10914
|
+
return Lp;
|
|
10915
10915
|
}
|
|
10916
10916
|
}), Object.defineProperty(x, "selectNewEmailSettings", {
|
|
10917
10917
|
enumerable: !0,
|
|
10918
10918
|
get: function() {
|
|
10919
|
-
return
|
|
10919
|
+
return Rp;
|
|
10920
10920
|
}
|
|
10921
10921
|
}), Object.defineProperty(x, "selectParentEmailBlocksTotal", {
|
|
10922
10922
|
enumerable: !0,
|
|
10923
10923
|
get: function() {
|
|
10924
|
-
return
|
|
10924
|
+
return Kp;
|
|
10925
10925
|
}
|
|
10926
10926
|
}), Object.defineProperty(x, "selectTemplateBlocksTotal", {
|
|
10927
10927
|
enumerable: !0,
|
|
10928
10928
|
get: function() {
|
|
10929
|
-
return
|
|
10929
|
+
return Zp;
|
|
10930
10930
|
}
|
|
10931
10931
|
}), Object.defineProperty(x, "setNewBlockDescription", {
|
|
10932
10932
|
enumerable: !0,
|
|
10933
10933
|
get: function() {
|
|
10934
|
-
return
|
|
10934
|
+
return Dp;
|
|
10935
10935
|
}
|
|
10936
10936
|
}), Object.defineProperty(x, "setNewBlockTags", {
|
|
10937
10937
|
enumerable: !0,
|
|
10938
10938
|
get: function() {
|
|
10939
|
-
return
|
|
10939
|
+
return Fp;
|
|
10940
10940
|
}
|
|
10941
10941
|
}), Object.defineProperty(x, "setNewEmailAll", {
|
|
10942
10942
|
enumerable: !0,
|
|
10943
10943
|
get: function() {
|
|
10944
|
-
return
|
|
10944
|
+
return hp;
|
|
10945
10945
|
}
|
|
10946
10946
|
}), Object.defineProperty(x, "setNewEmailDescription", {
|
|
10947
10947
|
enumerable: !0,
|
|
10948
10948
|
get: function() {
|
|
10949
|
-
return
|
|
10949
|
+
return yp;
|
|
10950
10950
|
}
|
|
10951
10951
|
}), Object.defineProperty(x, "setNewEmailHtml", {
|
|
10952
10952
|
enumerable: !0,
|
|
10953
10953
|
get: function() {
|
|
10954
|
-
return
|
|
10954
|
+
return Ep;
|
|
10955
10955
|
}
|
|
10956
10956
|
}), Object.defineProperty(x, "setNewEmailIsAmp", {
|
|
10957
10957
|
enumerable: !0,
|
|
10958
10958
|
get: function() {
|
|
10959
|
-
return
|
|
10959
|
+
return kp;
|
|
10960
10960
|
}
|
|
10961
10961
|
}), Object.defineProperty(x, "setNewEmailIsTemplate", {
|
|
10962
10962
|
enumerable: !0,
|
|
10963
10963
|
get: function() {
|
|
10964
|
-
return
|
|
10964
|
+
return _p;
|
|
10965
10965
|
}
|
|
10966
10966
|
}), Object.defineProperty(x, "setNewEmailMeta", {
|
|
10967
10967
|
enumerable: !0,
|
|
10968
10968
|
get: function() {
|
|
10969
|
-
return
|
|
10969
|
+
return jp;
|
|
10970
10970
|
}
|
|
10971
10971
|
}), Object.defineProperty(x, "setNewEmailPreheader", {
|
|
10972
10972
|
enumerable: !0,
|
|
10973
10973
|
get: function() {
|
|
10974
|
-
return
|
|
10974
|
+
return bp;
|
|
10975
10975
|
}
|
|
10976
10976
|
}), Object.defineProperty(x, "setNewEmailProject", {
|
|
10977
10977
|
enumerable: !0,
|
|
10978
10978
|
get: function() {
|
|
10979
|
-
return
|
|
10979
|
+
return Mp;
|
|
10980
10980
|
}
|
|
10981
10981
|
}), Object.defineProperty(x, "setNewEmailSubject", {
|
|
10982
10982
|
enumerable: !0,
|
|
10983
10983
|
get: function() {
|
|
10984
|
-
return
|
|
10984
|
+
return vp;
|
|
10985
10985
|
}
|
|
10986
10986
|
}), Object.defineProperty(x, "setNewEmailTags", {
|
|
10987
10987
|
enumerable: !0,
|
|
10988
10988
|
get: function() {
|
|
10989
|
-
return
|
|
10989
|
+
return xp;
|
|
10990
10990
|
}
|
|
10991
10991
|
}), Object.defineProperty(x, "setNewEmailTitle", {
|
|
10992
10992
|
enumerable: !0,
|
|
10993
10993
|
get: function() {
|
|
10994
|
-
return
|
|
10994
|
+
return gp;
|
|
10995
10995
|
}
|
|
10996
10996
|
}), Object.defineProperty(x, "setNewEmailUtmCampaign", {
|
|
10997
10997
|
enumerable: !0,
|
|
10998
10998
|
get: function() {
|
|
10999
|
-
return
|
|
10999
|
+
return Cp;
|
|
11000
11000
|
}
|
|
11001
11001
|
}), Object.defineProperty(x, "setNewEmailUtmContent", {
|
|
11002
11002
|
enumerable: !0,
|
|
11003
11003
|
get: function() {
|
|
11004
|
-
return
|
|
11004
|
+
return Sp;
|
|
11005
11005
|
}
|
|
11006
11006
|
}), Object.defineProperty(x, "setNewEmailUtmMedium", {
|
|
11007
11007
|
enumerable: !0,
|
|
11008
11008
|
get: function() {
|
|
11009
|
-
return
|
|
11009
|
+
return Ap;
|
|
11010
11010
|
}
|
|
11011
11011
|
}), Object.defineProperty(x, "setNewEmailUtmSource", {
|
|
11012
11012
|
enumerable: !0,
|
|
11013
11013
|
get: function() {
|
|
11014
|
-
return
|
|
11014
|
+
return wp;
|
|
11015
11015
|
}
|
|
11016
11016
|
}), Object.defineProperty(x, "setNewEmailUtmTerm", {
|
|
11017
11017
|
enumerable: !0,
|
|
11018
11018
|
get: function() {
|
|
11019
|
-
return
|
|
11019
|
+
return Pp;
|
|
11020
11020
|
}
|
|
11021
11021
|
}), Object.defineProperty(x, "setNewIsInited", {
|
|
11022
11022
|
enumerable: !0,
|
|
11023
11023
|
get: function() {
|
|
11024
|
-
return
|
|
11024
|
+
return Op;
|
|
11025
11025
|
}
|
|
11026
11026
|
}), Object.defineProperty(x, "src_default", {
|
|
11027
11027
|
enumerable: !0,
|
|
@@ -11031,12 +11031,12 @@ ${i.join("")}
|
|
|
11031
11031
|
}), Object.defineProperty(x, "syncProjectFontsToDocument", {
|
|
11032
11032
|
enumerable: !0,
|
|
11033
11033
|
get: function() {
|
|
11034
|
-
return
|
|
11034
|
+
return ml;
|
|
11035
11035
|
}
|
|
11036
11036
|
}), Object.defineProperty(x, "syncStandaloneProjectState", {
|
|
11037
11037
|
enumerable: !0,
|
|
11038
11038
|
get: function() {
|
|
11039
|
-
return
|
|
11039
|
+
return fd;
|
|
11040
11040
|
}
|
|
11041
11041
|
}), Object.defineProperty(x, "throwIfAborted", {
|
|
11042
11042
|
enumerable: !0,
|
|
@@ -11051,17 +11051,17 @@ ${i.join("")}
|
|
|
11051
11051
|
}), Object.defineProperty(x, "toProjectFontEntries", {
|
|
11052
11052
|
enumerable: !0,
|
|
11053
11053
|
get: function() {
|
|
11054
|
-
return
|
|
11054
|
+
return sl;
|
|
11055
11055
|
}
|
|
11056
11056
|
}), Object.defineProperty(x, "toProjectStylesProjectId", {
|
|
11057
11057
|
enumerable: !0,
|
|
11058
11058
|
get: function() {
|
|
11059
|
-
return
|
|
11059
|
+
return qc;
|
|
11060
11060
|
}
|
|
11061
11061
|
}), Object.defineProperty(x, "toggleElementsView", {
|
|
11062
11062
|
enumerable: !0,
|
|
11063
11063
|
get: function() {
|
|
11064
|
-
return
|
|
11064
|
+
return qp;
|
|
11065
11065
|
}
|
|
11066
11066
|
}), Object.defineProperty(x, "tokenApi", {
|
|
11067
11067
|
enumerable: !0,
|
|
@@ -11071,127 +11071,127 @@ ${i.join("")}
|
|
|
11071
11071
|
}), Object.defineProperty(x, "useAddTemplateMutation", {
|
|
11072
11072
|
enumerable: !0,
|
|
11073
11073
|
get: function() {
|
|
11074
|
-
return
|
|
11074
|
+
return hu;
|
|
11075
11075
|
}
|
|
11076
11076
|
}), Object.defineProperty(x, "useChangePasswordMutation", {
|
|
11077
11077
|
enumerable: !0,
|
|
11078
11078
|
get: function() {
|
|
11079
|
-
return
|
|
11079
|
+
return fp;
|
|
11080
11080
|
}
|
|
11081
11081
|
}), Object.defineProperty(x, "useCreateBroadcastMutation", {
|
|
11082
11082
|
enumerable: !0,
|
|
11083
11083
|
get: function() {
|
|
11084
|
-
return
|
|
11084
|
+
return Qu;
|
|
11085
11085
|
}
|
|
11086
11086
|
}), Object.defineProperty(x, "useCreateCampaignMutation", {
|
|
11087
11087
|
enumerable: !0,
|
|
11088
11088
|
get: function() {
|
|
11089
|
-
return
|
|
11089
|
+
return qu;
|
|
11090
11090
|
}
|
|
11091
11091
|
}), Object.defineProperty(x, "useCreateCampaignMutation$1", {
|
|
11092
11092
|
enumerable: !0,
|
|
11093
11093
|
get: function() {
|
|
11094
|
-
return
|
|
11094
|
+
return Du;
|
|
11095
11095
|
}
|
|
11096
11096
|
}), Object.defineProperty(x, "useCreateCampaignMutation$2", {
|
|
11097
11097
|
enumerable: !0,
|
|
11098
11098
|
get: function() {
|
|
11099
|
-
return
|
|
11099
|
+
return Iu;
|
|
11100
11100
|
}
|
|
11101
11101
|
}), Object.defineProperty(x, "useCreateCampaignMutation$3", {
|
|
11102
11102
|
enumerable: !0,
|
|
11103
11103
|
get: function() {
|
|
11104
|
-
return
|
|
11104
|
+
return Mu;
|
|
11105
11105
|
}
|
|
11106
11106
|
}), Object.defineProperty(x, "useCreateCampaignMutation$4", {
|
|
11107
11107
|
enumerable: !0,
|
|
11108
11108
|
get: function() {
|
|
11109
|
-
return
|
|
11109
|
+
return ku;
|
|
11110
11110
|
}
|
|
11111
11111
|
}), Object.defineProperty(x, "useCreateCampaignMutation$5", {
|
|
11112
11112
|
enumerable: !0,
|
|
11113
11113
|
get: function() {
|
|
11114
|
-
return
|
|
11114
|
+
return wu;
|
|
11115
11115
|
}
|
|
11116
11116
|
}), Object.defineProperty(x, "useCreateCampaignMutation$6", {
|
|
11117
11117
|
enumerable: !0,
|
|
11118
11118
|
get: function() {
|
|
11119
|
-
return
|
|
11119
|
+
return _u;
|
|
11120
11120
|
}
|
|
11121
11121
|
}), Object.defineProperty(x, "useCreateConvertJobMutation", {
|
|
11122
11122
|
enumerable: !0,
|
|
11123
11123
|
get: function() {
|
|
11124
|
-
return
|
|
11124
|
+
return np;
|
|
11125
11125
|
}
|
|
11126
11126
|
}), Object.defineProperty(x, "useCreateDraftMutation", {
|
|
11127
11127
|
enumerable: !0,
|
|
11128
11128
|
get: function() {
|
|
11129
|
-
return
|
|
11129
|
+
return mu;
|
|
11130
11130
|
}
|
|
11131
11131
|
}), Object.defineProperty(x, "useCreateEmailMessageMutation", {
|
|
11132
11132
|
enumerable: !0,
|
|
11133
11133
|
get: function() {
|
|
11134
|
-
return
|
|
11134
|
+
return du;
|
|
11135
11135
|
}
|
|
11136
11136
|
}), Object.defineProperty(x, "useCreateEmailMutation", {
|
|
11137
11137
|
enumerable: !0,
|
|
11138
11138
|
get: function() {
|
|
11139
|
-
return
|
|
11139
|
+
return Pu;
|
|
11140
11140
|
}
|
|
11141
11141
|
}), Object.defineProperty(x, "useCreateEmailMutation$1", {
|
|
11142
11142
|
enumerable: !0,
|
|
11143
11143
|
get: function() {
|
|
11144
|
-
return
|
|
11144
|
+
return Su;
|
|
11145
11145
|
}
|
|
11146
11146
|
}), Object.defineProperty(x, "useCreateMailingMutation", {
|
|
11147
11147
|
enumerable: !0,
|
|
11148
11148
|
get: function() {
|
|
11149
|
-
return
|
|
11149
|
+
return fu;
|
|
11150
11150
|
}
|
|
11151
11151
|
}), Object.defineProperty(x, "useCreateMessageMutation", {
|
|
11152
11152
|
enumerable: !0,
|
|
11153
11153
|
get: function() {
|
|
11154
|
-
return
|
|
11154
|
+
return vu;
|
|
11155
11155
|
}
|
|
11156
11156
|
}), Object.defineProperty(x, "useCreateNewsletterMutation", {
|
|
11157
11157
|
enumerable: !0,
|
|
11158
11158
|
get: function() {
|
|
11159
|
-
return
|
|
11159
|
+
return zu;
|
|
11160
11160
|
}
|
|
11161
11161
|
}), Object.defineProperty(x, "useDeleteTemporaryMailMutation", {
|
|
11162
11162
|
enumerable: !0,
|
|
11163
11163
|
get: function() {
|
|
11164
|
-
return
|
|
11164
|
+
return uu;
|
|
11165
11165
|
}
|
|
11166
11166
|
}), Object.defineProperty(x, "useEditImagesMutation", {
|
|
11167
11167
|
enumerable: !0,
|
|
11168
11168
|
get: function() {
|
|
11169
|
-
return
|
|
11169
|
+
return ou;
|
|
11170
11170
|
}
|
|
11171
11171
|
}), Object.defineProperty(x, "useEditLinksMutation", {
|
|
11172
11172
|
enumerable: !0,
|
|
11173
11173
|
get: function() {
|
|
11174
|
-
return
|
|
11174
|
+
return au;
|
|
11175
11175
|
}
|
|
11176
11176
|
}), Object.defineProperty(x, "useEditSpamMutation", {
|
|
11177
11177
|
enumerable: !0,
|
|
11178
11178
|
get: function() {
|
|
11179
|
-
return
|
|
11179
|
+
return su;
|
|
11180
11180
|
}
|
|
11181
11181
|
}), Object.defineProperty(x, "useGenerateHtmlToPdfMutation", {
|
|
11182
11182
|
enumerable: !0,
|
|
11183
11183
|
get: function() {
|
|
11184
|
-
return
|
|
11184
|
+
return rp;
|
|
11185
11185
|
}
|
|
11186
11186
|
}), Object.defineProperty(x, "useGetAiGenerateStatusMutation", {
|
|
11187
11187
|
enumerable: !0,
|
|
11188
11188
|
get: function() {
|
|
11189
|
-
return
|
|
11189
|
+
return Ju;
|
|
11190
11190
|
}
|
|
11191
11191
|
}), Object.defineProperty(x, "useGetCheckoutUrlMutation", {
|
|
11192
11192
|
enumerable: !0,
|
|
11193
11193
|
get: function() {
|
|
11194
|
-
return
|
|
11194
|
+
return sp;
|
|
11195
11195
|
}
|
|
11196
11196
|
}), Object.defineProperty(x, "useGetDialogQuery", {
|
|
11197
11197
|
enumerable: !0,
|
|
@@ -11201,37 +11201,42 @@ ${i.join("")}
|
|
|
11201
11201
|
}), Object.defineProperty(x, "useGetInvoiceRequestMutation", {
|
|
11202
11202
|
enumerable: !0,
|
|
11203
11203
|
get: function() {
|
|
11204
|
-
return
|
|
11204
|
+
return ep;
|
|
11205
|
+
}
|
|
11206
|
+
}), Object.defineProperty(x, "useGetLocalesQuery", {
|
|
11207
|
+
enumerable: !0,
|
|
11208
|
+
get: function() {
|
|
11209
|
+
return Nc;
|
|
11205
11210
|
}
|
|
11206
11211
|
}), Object.defineProperty(x, "useGetNotificationsQuery", {
|
|
11207
11212
|
enumerable: !0,
|
|
11208
11213
|
get: function() {
|
|
11209
|
-
return
|
|
11214
|
+
return ap;
|
|
11210
11215
|
}
|
|
11211
11216
|
}), Object.defineProperty(x, "useGetProjectStylesQuery", {
|
|
11212
11217
|
enumerable: !0,
|
|
11213
11218
|
get: function() {
|
|
11214
|
-
return
|
|
11219
|
+
return wl;
|
|
11215
11220
|
}
|
|
11216
11221
|
}), Object.defineProperty(x, "useLazyClearAiChatQuery", {
|
|
11217
11222
|
enumerable: !0,
|
|
11218
11223
|
get: function() {
|
|
11219
|
-
return
|
|
11224
|
+
return Yu;
|
|
11220
11225
|
}
|
|
11221
11226
|
}), Object.defineProperty(x, "useLazyGetCanselRecurrenceQuery", {
|
|
11222
11227
|
enumerable: !0,
|
|
11223
11228
|
get: function() {
|
|
11224
|
-
return
|
|
11229
|
+
return lp;
|
|
11225
11230
|
}
|
|
11226
11231
|
}), Object.defineProperty(x, "useLazyGetConfirmationMailQuery", {
|
|
11227
11232
|
enumerable: !0,
|
|
11228
11233
|
get: function() {
|
|
11229
|
-
return
|
|
11234
|
+
return cp;
|
|
11230
11235
|
}
|
|
11231
11236
|
}), Object.defineProperty(x, "useLazyGetConvertJobStatusQuery", {
|
|
11232
11237
|
enumerable: !0,
|
|
11233
11238
|
get: function() {
|
|
11234
|
-
return
|
|
11239
|
+
return ip;
|
|
11235
11240
|
}
|
|
11236
11241
|
}), Object.defineProperty(x, "useLazyGetDialogQuery", {
|
|
11237
11242
|
enumerable: !0,
|
|
@@ -11246,47 +11251,47 @@ ${i.join("")}
|
|
|
11246
11251
|
}), Object.defineProperty(x, "useLazyGetGeneratedContentQuery", {
|
|
11247
11252
|
enumerable: !0,
|
|
11248
11253
|
get: function() {
|
|
11249
|
-
return
|
|
11254
|
+
return Xu;
|
|
11250
11255
|
}
|
|
11251
11256
|
}), Object.defineProperty(x, "useLazyGetLocaleQuery", {
|
|
11252
11257
|
enumerable: !0,
|
|
11253
11258
|
get: function() {
|
|
11254
|
-
return
|
|
11259
|
+
return Rc;
|
|
11255
11260
|
}
|
|
11256
11261
|
}), Object.defineProperty(x, "useLazyGetLocalesQuery", {
|
|
11257
11262
|
enumerable: !0,
|
|
11258
11263
|
get: function() {
|
|
11259
|
-
return
|
|
11264
|
+
return Ic;
|
|
11260
11265
|
}
|
|
11261
11266
|
}), Object.defineProperty(x, "useLazyGetRecurrenceQuery", {
|
|
11262
11267
|
enumerable: !0,
|
|
11263
11268
|
get: function() {
|
|
11264
|
-
return
|
|
11269
|
+
return up;
|
|
11265
11270
|
}
|
|
11266
11271
|
}), Object.defineProperty(x, "useLogoutMutation", {
|
|
11267
11272
|
enumerable: !0,
|
|
11268
11273
|
get: function() {
|
|
11269
|
-
return
|
|
11274
|
+
return dp;
|
|
11270
11275
|
}
|
|
11271
11276
|
}), Object.defineProperty(x, "useMakeTemporaryMailForPngMutation", {
|
|
11272
11277
|
enumerable: !0,
|
|
11273
11278
|
get: function() {
|
|
11274
|
-
return
|
|
11279
|
+
return lu;
|
|
11275
11280
|
}
|
|
11276
11281
|
}), Object.defineProperty(x, "useNotificationShownMutation", {
|
|
11277
11282
|
enumerable: !0,
|
|
11278
11283
|
get: function() {
|
|
11279
|
-
return
|
|
11284
|
+
return op;
|
|
11280
11285
|
}
|
|
11281
11286
|
}), Object.defineProperty(x, "usePostDataByWebHookMutation", {
|
|
11282
11287
|
enumerable: !0,
|
|
11283
11288
|
get: function() {
|
|
11284
|
-
return
|
|
11289
|
+
return pu;
|
|
11285
11290
|
}
|
|
11286
11291
|
}), Object.defineProperty(x, "useSendLivePreviewMutation", {
|
|
11287
11292
|
enumerable: !0,
|
|
11288
11293
|
get: function() {
|
|
11289
|
-
return
|
|
11294
|
+
return Fc;
|
|
11290
11295
|
}
|
|
11291
11296
|
}), Object.defineProperty(x, "useSendMessageMutation", {
|
|
11292
11297
|
enumerable: !0,
|
|
@@ -11296,17 +11301,17 @@ ${i.join("")}
|
|
|
11296
11301
|
}), Object.defineProperty(x, "useSendShortLinkMutation", {
|
|
11297
11302
|
enumerable: !0,
|
|
11298
11303
|
get: function() {
|
|
11299
|
-
return
|
|
11304
|
+
return Uc;
|
|
11300
11305
|
}
|
|
11301
11306
|
}), Object.defineProperty(x, "useSendTestEmailMutation", {
|
|
11302
11307
|
enumerable: !0,
|
|
11303
11308
|
get: function() {
|
|
11304
|
-
return
|
|
11309
|
+
return Dc;
|
|
11305
11310
|
}
|
|
11306
11311
|
}), Object.defineProperty(x, "useUploadImageMutation", {
|
|
11307
11312
|
enumerable: !0,
|
|
11308
11313
|
get: function() {
|
|
11309
|
-
return
|
|
11314
|
+
return Lc;
|
|
11310
11315
|
}
|
|
11311
11316
|
}), Object.defineProperty(x, "zipEntryToBlob", {
|
|
11312
11317
|
enumerable: !0,
|