@emailmaker/emailmaker 1.1.49 → 1.1.56
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/{emailmaker-core.686599cb.js → emailmaker-core.80c7793f.js} +6 -6
- package/emailmaker-esm.js +298 -338
- package/emailmaker.js +62 -147
- package/iframe/js/amp.V09Q6hy6.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.B-wCbIo7.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -7
- package/runtime/THIRD_PARTY_LICENSES.txt +1 -236
- package/runtime/index.js +0 -2
- package/runtime/package.json +0 -6
- package/runtime/plugin-dev-manifest.json +0 -4
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/100f1a1f.js +3150 -0
- package/static/core/{e19a9688.js → 116ebe97.js} +523 -503
- package/static/core/{3723b7392.js → 17f94ad52.js} +2 -2
- package/static/core/{5a79f04d.js → 270ea1f0.js} +3 -3
- package/static/core/{f903e0b02.js → 3b0afd352.js} +17 -17
- package/static/core/{7b48c5bf.js → 41907e94.js} +543 -518
- package/static/core/{9f0a0813.js → 478adc67.js} +26 -8
- package/static/core/{35b2febf.js → 4de323c6.js} +3 -3
- package/static/core/{51d702ff2.js → 54db7dc92.js} +3 -3
- package/static/core/{97d77f4b.js → 5761661e.js} +5 -5
- package/static/core/{cf9b492f.js → 60b14e0c.js} +27 -27
- package/static/core/{c9f81757.js → 6bc4ff83.js} +10 -10
- package/static/core/{1724d302.js → 6dcd0dc9.js} +179 -173
- package/static/core/{9e5fd9cd.js → 7515f9852.js} +1 -1
- package/static/core/{67b72215.js → 76f8b642.js} +1509 -1520
- package/static/core/{1ce9dbcd2.js → 86a167002.js} +4 -4
- package/static/core/{54619353.js → 86ef0d53.js} +7 -7
- package/static/core/{10ac6936.js → 87d6fa75.js} +5 -5
- package/static/core/8a4486b0.js +761 -0
- package/static/core/{dde3447a.js → 8c887aba.js} +14630 -14560
- package/static/core/{c78634e5.js → 916b241e.js} +706 -704
- package/static/core/{c4f07357.js → 95fcea69.js} +5 -5
- package/static/core/{bfec1c65.js → 99b9545a.js} +9347 -9285
- package/static/core/{b6536443.js → 9be94d262.js} +1 -1
- package/static/core/{d858c4102.js → aa8e5c1c2.js} +3 -3
- package/static/core/{51134c092.js → afd04ca42.js} +4 -4
- package/static/core/{b61ea992.js → b654a72e.js} +6920 -5223
- package/static/core/{c46c4a1e2.js → b6cc5b522.js} +4 -4
- package/static/core/c6089a51.js +466 -0
- package/static/core/{927ea89f2.js → d7506406.js} +1 -1
- package/static/core/{d6b9ee5f2.js → d76199d02.js} +15 -15
- package/static/core/{5cd9928a.js → d89e1015.js} +114 -114
- package/static/core/{b768aab6.js → e57264b8.js} +3 -3
- package/static/core/{f5401fe7.js → fa39fd23.js} +31 -31
- package/static/core/{898acf3a.js → fd0c6ce7.js} +8 -8
- package/static/core/{2638406e.js → ffb0449a.js} +46 -46
- package/static/core/{c79a7344.js → ffd61885.js} +5 -5
- package/static/esm/{1ce2bc32.js → 8b0bebd1.js} +55 -74
- package/static/esm/{c9e541a3.js → aec29e9e.js} +1 -1
- package/two_step_headless_plugin.html +1 -1
- package/ui-kit/index.js +49 -47
- package/runtime/prop-types/index.js +0 -4
- package/runtime/react-router-dom/index.js +0 -2
- package/static/core/23692b142.js +0 -602
- package/static/core/28d0ee07.js +0 -3097
- package/static/core/2c90e83d.js +0 -467
- package/static/runtime/dom-export-CHgQ7Ws9.js +0 -8069
- package/static/runtime/prop-types-p_yYKrF7.js +0 -47
- /package/iframe/{iframe-eblock.686599cb.html → iframe-eblock.80c7793f.html} +0 -0
- /package/iframe/{iframe.686599cb.html → iframe.80c7793f.html} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/41907e94.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/16c2710d.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/b654a72e.js",
|
|
7
|
+
"static/core/270ea1f0.js",
|
|
8
8
|
"static/core/51fd08fd.js",
|
|
9
|
-
"static/core/
|
|
10
|
-
], function(mt, L,
|
|
11
|
-
const Z = mt("./16c2710d.js"), O = mt("./
|
|
9
|
+
"static/core/4de323c6.js"
|
|
10
|
+
], function(mt, L, Vp) {
|
|
11
|
+
const Z = mt("./16c2710d.js"), O = mt("./b654a72e.js"), Ie = mt("./270ea1f0.js"), Kt = mt("./51fd08fd.js"), er = mt("./4de323c6.js");
|
|
12
12
|
var rs = class {
|
|
13
13
|
_plugins = new Map();
|
|
14
14
|
_listeners = new Map();
|
|
@@ -1125,7 +1125,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1125
1125
|
meta: { percent: this.max ? this.index / this.max * 100 : 0 }
|
|
1126
1126
|
});
|
|
1127
1127
|
}, t.exports = a;
|
|
1128
|
-
})),
|
|
1128
|
+
})), ai = Z.__commonJSMin(((e, t) => {
|
|
1129
1129
|
var r = ve();
|
|
1130
1130
|
function n() {
|
|
1131
1131
|
for (var l, u = [], m = 0; m < 256; m++) {
|
|
@@ -1152,7 +1152,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1152
1152
|
return typeof u > "u" || !u.length ? 0 : r.getTypeOf(u) !== "string" ? a(m | 0, u, u.length, 0) : s(m | 0, u, u.length, 0);
|
|
1153
1153
|
};
|
|
1154
1154
|
})), cn = Z.__commonJSMin(((e, t) => {
|
|
1155
|
-
var r = Le(), n =
|
|
1155
|
+
var r = Le(), n = ai(), i = ve();
|
|
1156
1156
|
function a() {
|
|
1157
1157
|
r.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
|
|
1158
1158
|
}
|
|
@@ -1171,7 +1171,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1171
1171
|
}
|
|
1172
1172
|
n.prototype.processChunk.call(this, a);
|
|
1173
1173
|
}, t.exports = i;
|
|
1174
|
-
})),
|
|
1174
|
+
})), oi = Z.__commonJSMin(((e, t) => {
|
|
1175
1175
|
var r = Tt(), n = ln(), i = cn(), a = ds();
|
|
1176
1176
|
function s(l, u, m, b, E) {
|
|
1177
1177
|
this.compressedSize = l, this.uncompressedSize = u, this.crc32 = m, this.compression = b, this.compressedContent = E;
|
|
@@ -1190,7 +1190,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1190
1190
|
return l.pipe(new i()).pipe(new a("uncompressedSize")).pipe(u.compressWorker(m)).pipe(new a("compressedSize")).withStreamInfo("compression", u);
|
|
1191
1191
|
}, t.exports = s;
|
|
1192
1192
|
})), ps = Z.__commonJSMin(((e, t) => {
|
|
1193
|
-
var r = on(), n = ln(), i = Ot(), a =
|
|
1193
|
+
var r = on(), n = ln(), i = Ot(), a = oi(), s = Le(), l = function(E, p, c) {
|
|
1194
1194
|
this.name = E, this.dir = c.dir, this.date = c.date, this.comment = c.comment, this.unixPermissions = c.unixPermissions, this.dosPermissions = c.dosPermissions, this._data = p, this._dataBinary = c.binary, this.options = {
|
|
1195
1195
|
compression: c.compression,
|
|
1196
1196
|
compressionOptions: c.compressionOptions
|
|
@@ -1575,7 +1575,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1575
1575
|
return a ^ -1;
|
|
1576
1576
|
}
|
|
1577
1577
|
t.exports = i;
|
|
1578
|
-
})),
|
|
1578
|
+
})), si = Z.__commonJSMin(((e, t) => {
|
|
1579
1579
|
t.exports = {
|
|
1580
1580
|
2: "need dictionary",
|
|
1581
1581
|
1: "stream end",
|
|
@@ -1588,7 +1588,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1588
1588
|
"-6": "incompatible version"
|
|
1589
1589
|
};
|
|
1590
1590
|
})), hs = Z.__commonJSMin(((e) => {
|
|
1591
|
-
var t = Xe(), r = fs(), n = un(), i = dn(), a =
|
|
1591
|
+
var t = Xe(), r = fs(), n = un(), i = dn(), a = si(), s = 0, l = 1, u = 3, m = 4, b = 5, E = 0, p = 1, c = -2, h = -3, w = -5, k = -1, I = 1, _ = 2, C = 3, d = 4, f = 0, y = 2, x = 8, A = 9, T = 15, R = 8, F = 286, H = 30, Q = 19, J = 2 * F + 1, $ = 15, q = 3, ie = 258, se = ie + q + 1, fe = 32, de = 42, pe = 69, ge = 73, he = 91, ue = 103, ae = 113, ye = 666, te = 1, K = 2, Se = 3, X = 4, He = 3;
|
|
1592
1592
|
function Re(o, P) {
|
|
1593
1593
|
return o.msg = a[P], P;
|
|
1594
1594
|
}
|
|
@@ -1889,7 +1889,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
1889
1889
|
}
|
|
1890
1890
|
t.exports = r;
|
|
1891
1891
|
})), ms = Z.__commonJSMin(((e) => {
|
|
1892
|
-
var t = hs(), r = Xe(), n = pn(), i =
|
|
1892
|
+
var t = hs(), r = Xe(), n = pn(), i = si(), a = fn(), s = Object.prototype.toString, l = 0, u = 4, m = 0, b = 1, E = 2, p = -1, c = 0, h = 8;
|
|
1893
1893
|
function w(C) {
|
|
1894
1894
|
if (!(this instanceof w)) return new w(C);
|
|
1895
1895
|
this.options = r.assign({
|
|
@@ -2228,7 +2228,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2228
2228
|
return P.window === null && (P.wsize = 1 << P.wbits, P.wnext = 0, P.whave = 0, P.window = new t.Buf8(P.wsize)), B >= P.wsize ? (t.arraySet(P.window, U, v - P.wsize, P.wsize, 0), P.wnext = 0, P.whave = P.wsize) : (o = P.wsize - P.wnext, o > B && (o = B), t.arraySet(P.window, U, v - B, o, P.wnext), B -= o, B ? (t.arraySet(P.window, U, v - B, B, 0), P.wnext = B, P.whave = P.wsize) : (P.wnext += o, P.wnext === P.wsize && (P.wnext = 0), P.whave < P.wsize && (P.whave += o))), 0;
|
|
2229
2229
|
}
|
|
2230
2230
|
function kt(N, U) {
|
|
2231
|
-
var v, B, o, P, W, g, z, M, D, ee, ne, Y, Ge, Xt, me = 0, le, Ae, De, Ne,
|
|
2231
|
+
var v, B, o, P, W, g, z, M, D, ee, ne, Y, Ge, Xt, me = 0, le, Ae, De, Ne, ii, ni, xe, ze, Ce = new t.Buf8(4), Ye, Ze, es = [
|
|
2232
2232
|
16,
|
|
2233
2233
|
17,
|
|
2234
2234
|
18,
|
|
@@ -2494,7 +2494,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2494
2494
|
g--, M += B[P++] << D, D += 8;
|
|
2495
2495
|
}
|
|
2496
2496
|
if (Ae && (Ae & 240) === 0) {
|
|
2497
|
-
for (Ne = le,
|
|
2497
|
+
for (Ne = le, ii = Ae, ni = De; me = v.lencode[ni + ((M & (1 << Ne + ii) - 1) >> Ne)], le = me >>> 24, Ae = me >>> 16 & 255, De = me & 65535, !(Ne + le <= D);) {
|
|
2498
2498
|
if (g === 0) break e;
|
|
2499
2499
|
g--, M += B[P++] << D, D += 8;
|
|
2500
2500
|
}
|
|
@@ -2528,7 +2528,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2528
2528
|
g--, M += B[P++] << D, D += 8;
|
|
2529
2529
|
}
|
|
2530
2530
|
if ((Ae & 240) === 0) {
|
|
2531
|
-
for (Ne = le,
|
|
2531
|
+
for (Ne = le, ii = Ae, ni = De; me = v.distcode[ni + ((M & (1 << Ne + ii) - 1) >> Ne)], le = me >>> 24, Ae = me >>> 16 & 255, De = me & 65535, !(Ne + le <= D);) {
|
|
2532
2532
|
if (g === 0) break e;
|
|
2533
2533
|
g--, M += B[P++] << D, D += 8;
|
|
2534
2534
|
}
|
|
@@ -2659,7 +2659,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2659
2659
|
}
|
|
2660
2660
|
t.exports = r;
|
|
2661
2661
|
})), ys = Z.__commonJSMin(((e) => {
|
|
2662
|
-
var t = bs(), r = Xe(), n = pn(), i = hn(), a =
|
|
2662
|
+
var t = bs(), r = Xe(), n = pn(), i = hn(), a = si(), s = fn(), l = _s(), u = Object.prototype.toString;
|
|
2663
2663
|
function m(p) {
|
|
2664
2664
|
if (!(this instanceof m)) return new m(p);
|
|
2665
2665
|
this.options = r.assign({
|
|
@@ -2742,7 +2742,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2742
2742
|
})), gn = Z.__commonJSMin(((e) => {
|
|
2743
2743
|
e.LOCAL_FILE_HEADER = "PK", e.CENTRAL_FILE_HEADER = "PK", e.CENTRAL_DIRECTORY_END = "PK", e.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", e.ZIP64_CENTRAL_DIRECTORY_END = "PK", e.DATA_DESCRIPTOR = "PK\x07\b";
|
|
2744
2744
|
})), xs = Z.__commonJSMin(((e, t) => {
|
|
2745
|
-
var r = ve(), n = Le(), i = Ot(), a =
|
|
2745
|
+
var r = ve(), n = Le(), i = Ot(), a = ai(), s = gn(), l = function(h, w) {
|
|
2746
2746
|
var k = "", I;
|
|
2747
2747
|
for (I = 0; I < w; I++) k += String.fromCharCode(h & 255), h = h >>> 8;
|
|
2748
2748
|
return k;
|
|
@@ -2895,7 +2895,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2895
2895
|
return n.prototype.resume.call(this) ? (this._upstreamEnded ? this.end() : this._stream.resume(), !0) : !1;
|
|
2896
2896
|
}, t.exports = i;
|
|
2897
2897
|
})), Cs = Z.__commonJSMin(((e, t) => {
|
|
2898
|
-
var r = Ot(), n = ve(), i = Le(), a = on(), s = sn(), l =
|
|
2898
|
+
var r = Ot(), n = ve(), i = Le(), a = on(), s = sn(), l = oi(), u = ps(), m = Ss(), b = tr(), E = As(), p = function(_, C, d) {
|
|
2899
2899
|
var f = n.getTypeOf(C), y, x = n.extend(d || {}, s);
|
|
2900
2900
|
x.date = x.date || new Date(), x.compression !== null && (x.compression = x.compression.toUpperCase()), typeof x.unixPermissions == "string" && (x.unixPermissions = parseInt(x.unixPermissions, 8)), x.unixPermissions && x.unixPermissions & 16384 && (x.dir = !0), x.dosPermissions && x.dosPermissions & 16 && (x.dir = !0), x.dir && (_ = h(_)), x.createFolders && (y = c(_)) && w.call(this, y, !0);
|
|
2901
2901
|
var A = f === "string" && x.binary === !1 && x.base64 === !1;
|
|
@@ -3091,7 +3091,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3091
3091
|
return r.checkSupport(m), m === "string" && !n.uint8array ? new a(u) : m === "nodebuffer" ? new s(u) : n.uint8array ? new l(r.transformTo("uint8array", u)) : new i(r.transformTo("array", u));
|
|
3092
3092
|
};
|
|
3093
3093
|
})), Os = Z.__commonJSMin(((e, t) => {
|
|
3094
|
-
var r = yn(), n = ve(), i =
|
|
3094
|
+
var r = yn(), n = ve(), i = oi(), a = ai(), s = Ot(), l = mn(), u = Je(), m = 0, b = 3, E = function(c) {
|
|
3095
3095
|
for (var h in l) if (Object.prototype.hasOwnProperty.call(l, h) && l[h].magic === c) return l[h];
|
|
3096
3096
|
return null;
|
|
3097
3097
|
};
|
|
@@ -3367,7 +3367,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3367
3367
|
extraQuery: { url: encodeURIComponent(t) }
|
|
3368
3368
|
}));
|
|
3369
3369
|
} }) })
|
|
3370
|
-
}), { useGetFileQuery:
|
|
3370
|
+
}), { useGetFileQuery: Zp, useLazyGetFileQuery: js } = Rt, Nt = O.createApi({
|
|
3371
3371
|
reducerPath: "promoApi",
|
|
3372
3372
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
3373
3373
|
endpoints: (e) => ({
|
|
@@ -3379,9 +3379,9 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3379
3379
|
return O.getClient(r).promo.get_code_info_list({ code: t });
|
|
3380
3380
|
} })
|
|
3381
3381
|
})
|
|
3382
|
-
}), { useCheckPromoMutation:
|
|
3382
|
+
}), { useCheckPromoMutation: Yp, useGetPromoInfoQuery: Jp } = Nt, li = "LOCALES", it = O.createApi({
|
|
3383
3383
|
reducerPath: "localesApi",
|
|
3384
|
-
tagTypes: [
|
|
3384
|
+
tagTypes: [li],
|
|
3385
3385
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/translations/v1" }),
|
|
3386
3386
|
endpoints: (e) => ({
|
|
3387
3387
|
getLocale: e.query({
|
|
@@ -3400,7 +3400,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3400
3400
|
}
|
|
3401
3401
|
},
|
|
3402
3402
|
providesTags: (t, r, n) => [{
|
|
3403
|
-
type:
|
|
3403
|
+
type: li,
|
|
3404
3404
|
id: n
|
|
3405
3405
|
}]
|
|
3406
3406
|
}),
|
|
@@ -3409,12 +3409,12 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3409
3409
|
return O.getClient(r).translations.get_translations2({ file: "react_app" });
|
|
3410
3410
|
},
|
|
3411
3411
|
providesTags: (t, r, n) => [{
|
|
3412
|
-
type:
|
|
3412
|
+
type: li,
|
|
3413
3413
|
id: "react_app"
|
|
3414
3414
|
}]
|
|
3415
3415
|
})
|
|
3416
3416
|
})
|
|
3417
|
-
}), { useGetLocalesQuery:
|
|
3417
|
+
}), { useGetLocalesQuery: Xp, useGetLocaleQuery: Kp, useLazyGetLocaleQuery: Ds, useLazyGetLocalesQuery: Ls } = it, It = O.createApi({
|
|
3418
3418
|
reducerPath: "saveFileApi",
|
|
3419
3419
|
tagTypes: ["Images"],
|
|
3420
3420
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/save-file/v1/" }),
|
|
@@ -3445,7 +3445,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3445
3445
|
id: n
|
|
3446
3446
|
}]
|
|
3447
3447
|
}) })
|
|
3448
|
-
}), { useGetEmailRawQuery:
|
|
3448
|
+
}), { useGetEmailRawQuery: ef } = Mt, Cn = "Optimise", qs = "usage_limit_exceeded", Hs = async (e, t, r) => {
|
|
3449
3449
|
const n = await O.fetchBaseQueryApp({ baseUrl: `${O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
3450
3450
|
if (n.error) {
|
|
3451
3451
|
let i = n.error;
|
|
@@ -3531,7 +3531,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3531
3531
|
method: "POST",
|
|
3532
3532
|
body: t
|
|
3533
3533
|
}) }) })
|
|
3534
|
-
}), { useValidateYandexTokenMutation:
|
|
3534
|
+
}), { useValidateYandexTokenMutation: tf } = ar, or = O.createApi({
|
|
3535
3535
|
reducerPath: "elamaAuthApi",
|
|
3536
3536
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
3537
3537
|
endpoints: (e) => ({ validateElamaCode: e.mutation({ query: (t) => ({
|
|
@@ -3539,7 +3539,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3539
3539
|
method: "POST",
|
|
3540
3540
|
body: t
|
|
3541
3541
|
}) }) })
|
|
3542
|
-
}), { useValidateElamaCodeMutation:
|
|
3542
|
+
}), { useValidateElamaCodeMutation: rf } = or, sr = O.createApi({
|
|
3543
3543
|
reducerPath: "googleAuthApi",
|
|
3544
3544
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
3545
3545
|
endpoints: (e) => ({ validateGoogleToken: e.mutation({ query: (t) => ({
|
|
@@ -3547,7 +3547,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3547
3547
|
method: "POST",
|
|
3548
3548
|
body: t
|
|
3549
3549
|
}) }) })
|
|
3550
|
-
}), { useValidateGoogleTokenMutation:
|
|
3550
|
+
}), { useValidateGoogleTokenMutation: nf } = sr, lr = O.createApi({
|
|
3551
3551
|
reducerPath: "webHookApi",
|
|
3552
3552
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3553
3553
|
endpoints: (e) => ({ postDataByWebHook: e.mutation({ query: ({ url: t, body: r }) => ({
|
|
@@ -3717,7 +3717,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3717
3717
|
web_id: m.web_id
|
|
3718
3718
|
} };
|
|
3719
3719
|
} }) })
|
|
3720
|
-
}), { useCreateCampaignMutation: al } = hr,
|
|
3720
|
+
}), { useCreateCampaignMutation: al } = hr, ci = "https://a.klaviyo.com/api", ol = "2025-04-15", sl = (e) => ({
|
|
3721
3721
|
"Content-Type": "application/json",
|
|
3722
3722
|
Accept: "application/json",
|
|
3723
3723
|
Authorization: `Klaviyo-API-Key ${e}`,
|
|
@@ -3734,7 +3734,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3734
3734
|
html: t.html
|
|
3735
3735
|
}
|
|
3736
3736
|
} }, l = await i({
|
|
3737
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3737
|
+
url: `?proxy_url=${encodeURIComponent(`${ci}/templates`)}`,
|
|
3738
3738
|
method: "POST",
|
|
3739
3739
|
headers: a,
|
|
3740
3740
|
body: JSON.stringify(s)
|
|
@@ -3775,7 +3775,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3775
3775
|
}] }
|
|
3776
3776
|
}
|
|
3777
3777
|
} }, b = await i({
|
|
3778
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3778
|
+
url: `?proxy_url=${encodeURIComponent(`${ci}/campaigns`)}`,
|
|
3779
3779
|
method: "POST",
|
|
3780
3780
|
headers: a,
|
|
3781
3781
|
body: JSON.stringify(m)
|
|
@@ -3800,7 +3800,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3800
3800
|
id: u
|
|
3801
3801
|
} } }
|
|
3802
3802
|
} }, w = await i({
|
|
3803
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3803
|
+
url: `?proxy_url=${encodeURIComponent(`${ci}/campaign-message-assign-template`)}`,
|
|
3804
3804
|
method: "POST",
|
|
3805
3805
|
headers: a,
|
|
3806
3806
|
body: JSON.stringify(h)
|
|
@@ -4283,7 +4283,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4283
4283
|
}
|
|
4284
4284
|
return { data: { count: l.data?.count ?? 1 } };
|
|
4285
4285
|
} }) })
|
|
4286
|
-
}), { useCreateBroadcastMutation: Pl } = Sr, Rl = Ie.require_eventsource()
|
|
4286
|
+
}), { useCreateBroadcastMutation: Pl } = Sr, Rl = Ie.require_eventsource();
|
|
4287
|
+
function Nl(e, t) {
|
|
4288
|
+
e === !0 || typeof t != "function" || t();
|
|
4289
|
+
}
|
|
4290
|
+
var Il = async (e, t, r) => {
|
|
4287
4291
|
const n = await O.fetchBaseQueryApp({ baseUrl: O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "") })(e, t, r);
|
|
4288
4292
|
if (n.error) {
|
|
4289
4293
|
let i = n.error;
|
|
@@ -4297,7 +4301,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4297
4301
|
return n;
|
|
4298
4302
|
}, Ar = O.createApi({
|
|
4299
4303
|
reducerPath: "AiApiGenerator",
|
|
4300
|
-
baseQuery:
|
|
4304
|
+
baseQuery: Il,
|
|
4301
4305
|
endpoints: (e) => ({
|
|
4302
4306
|
generateIdForTask: e.mutation({ queryFn(t, r) {
|
|
4303
4307
|
return O.getAIClient(r).tasks.tasksControllerCreateTask(t).then((n) => n);
|
|
@@ -4325,7 +4329,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4325
4329
|
body: t
|
|
4326
4330
|
}) })
|
|
4327
4331
|
})
|
|
4328
|
-
}), { useGenerateIdForTaskMutation:
|
|
4332
|
+
}), { useGenerateIdForTaskMutation: af, useGetGeneratedContentQuery: of, useLazyClearAiChatQuery: Ml, useLazyGetGeneratedContentQuery: jl, useGetAiGenerateStatusMutation: Dl } = Ar, Rn = async (e) => {
|
|
4329
4333
|
const t = await e.text();
|
|
4330
4334
|
let r = t;
|
|
4331
4335
|
try {
|
|
@@ -4334,7 +4338,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4334
4338
|
r = t;
|
|
4335
4339
|
}
|
|
4336
4340
|
return r;
|
|
4337
|
-
},
|
|
4341
|
+
}, Ll = (e, t, r) => {
|
|
4338
4342
|
if (!e) throw new Error(`Set ${r}`);
|
|
4339
4343
|
return {
|
|
4340
4344
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4343,7 +4347,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4343
4347
|
body: t,
|
|
4344
4348
|
responseHandler: Rn
|
|
4345
4349
|
};
|
|
4346
|
-
},
|
|
4350
|
+
}, Fl = (e, t, r) => {
|
|
4347
4351
|
if (!e) throw new Error(`Set ${r}`);
|
|
4348
4352
|
return {
|
|
4349
4353
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4355,10 +4359,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4355
4359
|
reducerPath: "requestPlaneApi",
|
|
4356
4360
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4357
4361
|
endpoints: (e) => ({
|
|
4358
|
-
getRequest: e.mutation({ query: (t) =>
|
|
4359
|
-
getInvoiceRequest: e.mutation({ query: (t) =>
|
|
4362
|
+
getRequest: e.mutation({ query: (t) => Fl("https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
4363
|
+
getInvoiceRequest: e.mutation({ query: (t) => Ll("https://webhook.latenode.com/5868/prod/6e2d04a8-6cd9-4ec3-b884-ee2fd67267a3", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
4360
4364
|
})
|
|
4361
|
-
}), { useGetRequestMutation:
|
|
4365
|
+
}), { useGetRequestMutation: sf, useGetInvoiceRequestMutation: Ul } = Cr, zl = async (e, t, r) => {
|
|
4362
4366
|
try {
|
|
4363
4367
|
const { notification: n, ...i } = e, a = await O.fetchBaseQuery({ baseUrl: "https://html2pdf.emcdn.ru/convert/html-to-pdf" })(i, t, r);
|
|
4364
4368
|
if (a.error) throw new Error();
|
|
@@ -4368,7 +4372,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4368
4372
|
}
|
|
4369
4373
|
}, kr = O.createApi({
|
|
4370
4374
|
reducerPath: "htmlToPdfPlusApi",
|
|
4371
|
-
baseQuery:
|
|
4375
|
+
baseQuery: zl,
|
|
4372
4376
|
endpoints: (e) => ({ generateHtmlToPdf: e.mutation({ query: ({ htmlContent: t, notification: r }) => ({
|
|
4373
4377
|
url: "",
|
|
4374
4378
|
method: "POST",
|
|
@@ -4376,7 +4380,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4376
4380
|
notification: r,
|
|
4377
4381
|
responseHandler: (n) => n.blob()
|
|
4378
4382
|
}) }) })
|
|
4379
|
-
}), { useGenerateHtmlToPdfMutation:
|
|
4383
|
+
}), { useGenerateHtmlToPdfMutation: Bl } = kr, Tr = O.createApi({
|
|
4380
4384
|
reducerPath: "layoutConverterApi",
|
|
4381
4385
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
4382
4386
|
endpoints: (e) => ({
|
|
@@ -4390,7 +4394,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4390
4394
|
method: "GET"
|
|
4391
4395
|
}) })
|
|
4392
4396
|
})
|
|
4393
|
-
}), { useCreateConvertJobMutation:
|
|
4397
|
+
}), { useCreateConvertJobMutation: ql, useLazyGetConvertJobStatusQuery: Hl } = Tr;
|
|
4394
4398
|
function Nn({ title: e, content: t, acf: { seen: r, type: n, event: i, data: a }, ...s }) {
|
|
4395
4399
|
return {
|
|
4396
4400
|
...s,
|
|
@@ -4435,7 +4439,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4435
4439
|
}]
|
|
4436
4440
|
})
|
|
4437
4441
|
})
|
|
4438
|
-
}), { useGetNotificationsQuery:
|
|
4442
|
+
}), { useGetNotificationsQuery: $l, useNotificationShownMutation: Wl } = Dt;
|
|
4439
4443
|
Kt.init__polyfill_node_process();
|
|
4440
4444
|
var Or = O.createApi({
|
|
4441
4445
|
reducerPath: "getCheckoutUrlApi",
|
|
@@ -4445,7 +4449,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4445
4449
|
method: "POST",
|
|
4446
4450
|
body: t
|
|
4447
4451
|
}) }) })
|
|
4448
|
-
}), { useGetCheckoutUrlMutation:
|
|
4452
|
+
}), { useGetCheckoutUrlMutation: Ql } = Or, ui = O.createApi({
|
|
4449
4453
|
reducerPath: "recoverPasswordApi",
|
|
4450
4454
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/bdpwr/v1/" }),
|
|
4451
4455
|
endpoints: () => ({})
|
|
@@ -4455,22 +4459,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4455
4459
|
endpoints: (e) => ({ addUserToProject: e.mutation({ queryFn(t, r) {
|
|
4456
4460
|
return O.getClient(r).userToProject.add_user_create(t, { type: O.ContentType$1.FormData });
|
|
4457
4461
|
} }) })
|
|
4458
|
-
}), { useAddUserToProjectMutation:
|
|
4462
|
+
}), { useAddUserToProjectMutation: lf } = Lt, Pr = O.createApi({
|
|
4459
4463
|
reducerPath: "confirmationMailApi",
|
|
4460
4464
|
baseQuery: O.fetchBaseQuery({
|
|
4461
4465
|
baseUrl: "https://px0.emailmaker.ru/",
|
|
4462
4466
|
responseHandler: (e) => e.text()
|
|
4463
4467
|
}),
|
|
4464
4468
|
endpoints: (e) => ({ getConfirmationMail: e.query({ query: ({ userId: t, email: r }) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/f0da9c0f-ed12-4d23-8a86-b86f7bf1a276?user_id=${t}&user_email=${r}`)}` }) }) })
|
|
4465
|
-
}), { useLazyGetConfirmationMailQuery:
|
|
4469
|
+
}), { useLazyGetConfirmationMailQuery: Vl } = Pr, Rr = O.createApi({
|
|
4466
4470
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
4467
4471
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4468
4472
|
endpoints: (e) => ({ getCanselRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/07ae4159-132b-4a00-998b-bc47c20365ba?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4469
|
-
}), { useLazyGetCanselRecurrenceQuery:
|
|
4473
|
+
}), { useLazyGetCanselRecurrenceQuery: Gl, useGetCanselRecurrenceQuery: cf } = Rr, Nr = O.createApi({
|
|
4470
4474
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
4471
4475
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4472
4476
|
endpoints: (e) => ({ getRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/e1dd37b1-c3d4-4441-b329-d6b3aa51bfe7?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4473
|
-
}), { useLazyGetRecurrenceQuery:
|
|
4477
|
+
}), { useLazyGetRecurrenceQuery: Zl, useGetRecurrenceQuery: uf } = Nr, Ir = O.createApi({
|
|
4474
4478
|
reducerPath: "authApi",
|
|
4475
4479
|
baseQuery: O.fetchBaseQueryApp({
|
|
4476
4480
|
baseUrl: "https://app.emailmaker.ru/api/v2",
|
|
@@ -4519,15 +4523,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4519
4523
|
body: t
|
|
4520
4524
|
}) })
|
|
4521
4525
|
})
|
|
4522
|
-
}), { useLoginMutation:
|
|
4526
|
+
}), { useLoginMutation: df, useRegisterMutation: pf, useRefreshTokenMutation: ff, useLogoutMutation: Jl, useGetUserQuery: hf, useLazyGetUserQuery: mf, useChangePasswordMutation: Xl, useResetPasswordMutation: gf, useResetPasswordConfirmMutation: vf } = Ir, Kl = "https://app.emailmaker.ru/api/v2", Ft = "Integrations", Mr = "Webhook", jr = "TestRecipients", di = "Storage", Ut = O.createApi({
|
|
4523
4527
|
reducerPath: "projectSettingsV2Api",
|
|
4524
4528
|
tagTypes: [
|
|
4525
4529
|
Ft,
|
|
4526
4530
|
Mr,
|
|
4527
4531
|
jr,
|
|
4528
|
-
|
|
4532
|
+
di
|
|
4529
4533
|
],
|
|
4530
|
-
baseQuery: O.fetchBaseQueryApp({ baseUrl:
|
|
4534
|
+
baseQuery: O.fetchBaseQueryApp({ baseUrl: Kl }),
|
|
4531
4535
|
endpoints: (e) => ({
|
|
4532
4536
|
getProjectIntegrations: e.query({
|
|
4533
4537
|
query: (t) => `/projects/${t}/integrations`,
|
|
@@ -4585,7 +4589,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4585
4589
|
getProjectStorage: e.query({
|
|
4586
4590
|
query: (t) => `/projects/${t}/storage`,
|
|
4587
4591
|
providesTags: (t, r, n) => [{
|
|
4588
|
-
type:
|
|
4592
|
+
type: di,
|
|
4589
4593
|
id: String(n)
|
|
4590
4594
|
}]
|
|
4591
4595
|
}),
|
|
@@ -4609,7 +4613,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4609
4613
|
id: String(n)
|
|
4610
4614
|
},
|
|
4611
4615
|
{
|
|
4612
|
-
type:
|
|
4616
|
+
type: di,
|
|
4613
4617
|
id: String(n)
|
|
4614
4618
|
}
|
|
4615
4619
|
]
|
|
@@ -4634,7 +4638,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4634
4638
|
}]
|
|
4635
4639
|
})
|
|
4636
4640
|
})
|
|
4637
|
-
}), { useGetProjectStorageQuery:
|
|
4641
|
+
}), { useGetProjectStorageQuery: ec, usePutProjectSettingsMutation: tc, useGetProjectIntegrationsQuery: rc, useLazyGetIntegrationCredentialsQuery: ic, usePutProjectIntegrationMutation: bf, useDeleteProjectIntegrationMutation: _f, useGetProjectWebhookQuery: nc, usePutProjectWebhookMutation: yf, useGetProjectTestRecipientsQuery: ac, usePutProjectTestRecipientsMutation: oc } = Ut, In = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
4638
4642
|
<html>
|
|
4639
4643
|
<head>
|
|
4640
4644
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -4676,7 +4680,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4676
4680
|
</table>
|
|
4677
4681
|
</body>
|
|
4678
4682
|
</html>`;
|
|
4679
|
-
function
|
|
4683
|
+
function sc(e) {
|
|
4680
4684
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
4681
4685
|
}
|
|
4682
4686
|
var zt = O.createState({
|
|
@@ -4706,13 +4710,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4706
4710
|
isAmp: !1
|
|
4707
4711
|
},
|
|
4708
4712
|
hasChanged: !1
|
|
4709
|
-
}), Dr = "newEmailSlice",
|
|
4713
|
+
}), Dr = "newEmailSlice", pi = O.createSlice({
|
|
4710
4714
|
name: Dr,
|
|
4711
4715
|
initialState: zt,
|
|
4712
4716
|
reducers: {
|
|
4713
4717
|
setNewEmailAll: (e, { payload: t }) => {
|
|
4714
4718
|
const { id: r, subject: n = void 0, description: i = "", preheader: a, html: s = In, utm_parameters: { utm_source: l = "", utm_medium: u = "", utm_campaign: m = "", utm_term: b = "", utm_content: E = "" } = {}, common_styles: p = "{}", emailtags: c = null, renderGuid: h, title: w, _embedded: k, isAmp: I = !1 } = t;
|
|
4715
|
-
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = w,
|
|
4719
|
+
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = w, sc(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = c, e.email.subject = n, e.email.description = i, e.email.common_styles = p || JSON.stringify(tn), e.email.preheader = a, e.email.is_template = !1, e.email.html = s, e.email.tags = O.getTaxonomy({ _embedded: k }, "emailtags")?.map((_) => _.name) || [], e.email.renderGuid = h ?? e.email.renderGuid ?? O.generateUUID(), t.showToken !== void 0 ? e.appliedShowToken = t.showToken : e.appliedShowToken += 1, e.email.parent_email = r, e.email.utm_parameters = {
|
|
4716
4720
|
utm_source: l,
|
|
4717
4721
|
utm_medium: u,
|
|
4718
4722
|
utm_campaign: m,
|
|
@@ -4778,6 +4782,9 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4778
4782
|
setNewEmailProject: (e, t) => {
|
|
4779
4783
|
e.email.project = t.payload.id, t.payload.title != null && (e.email.project_title = t.payload.title);
|
|
4780
4784
|
},
|
|
4785
|
+
promoteNewEmailAfterSave: (e, { payload: t }) => {
|
|
4786
|
+
e.email.id = String(t.id), e.email.isNew = !1, t.modified != null && (e.email.modified = t.modified), t.lock != null && (e.email.lock = t.lock);
|
|
4787
|
+
},
|
|
4781
4788
|
resetNewEmailSlice: (e) => ({
|
|
4782
4789
|
...zt,
|
|
4783
4790
|
email: {
|
|
@@ -4792,16 +4799,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4792
4799
|
e.addMatcher(O.projectsApi.endpoints.getProject.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
4793
4800
|
const i = String(n.arg.originalArgs), a = t.email.project;
|
|
4794
4801
|
a != null && String(a) === i && String(r.id) === i && (t.email.project_title = r.name ?? "");
|
|
4795
|
-
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t) =>
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
...zt
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4802
|
+
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
|
|
4803
|
+
const n = t.hasChanged && t.email.renderGuid != null && r.renderGuid != null && t.email.renderGuid === r.renderGuid, i = t.hasChanged && t.email.id != null && r.id != null && String(t.email.id) === String(r.id);
|
|
4804
|
+
if (!(n || i)) return {
|
|
4805
|
+
...zt,
|
|
4806
|
+
email: {
|
|
4807
|
+
...zt.email,
|
|
4808
|
+
project: t.email.project,
|
|
4809
|
+
project_title: t.email.project_title
|
|
4810
|
+
}
|
|
4811
|
+
};
|
|
4812
|
+
});
|
|
4803
4813
|
}
|
|
4804
|
-
}), { setNewEmailAll:
|
|
4814
|
+
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles: wf, setNewEmailTags: mc, setNewEmailUtmSource: gc, setNewEmailUtmMedium: vc, setNewEmailUtmCampaign: bc, setNewEmailUtmContent: _c, setNewEmailUtmTerm: yc, resetNewEmailSlice: wc, setNewIsInited: Ec, setNewEmailIsAmp: xc, setNewEmailMeta: Sc, setNewEmailProject: Ac, promoteNewEmailAfterSave: Cc } = pi.actions, kc = (e) => e[Dr].email, Tc = (e) => e[Dr].appliedShowToken, Oc = (e) => e[Dr].hasChanged, Mn = `<tr em="block" class="empty-structure">
|
|
4805
4815
|
<td align="center">
|
|
4806
4816
|
<!--[if (gte mso 9)|(IE)]>
|
|
4807
4817
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -4837,7 +4847,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4837
4847
|
title: null
|
|
4838
4848
|
},
|
|
4839
4849
|
hasChanged: !1
|
|
4840
|
-
}), jn = "newBlockSlice",
|
|
4850
|
+
}), jn = "newBlockSlice", fi = O.createSlice({
|
|
4841
4851
|
name: jn,
|
|
4842
4852
|
initialState: Bt,
|
|
4843
4853
|
reducers: {
|
|
@@ -4880,14 +4890,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4880
4890
|
}
|
|
4881
4891
|
}));
|
|
4882
4892
|
}
|
|
4883
|
-
}), { setNewBlockAll:
|
|
4893
|
+
}), { setNewBlockAll: Ef, setNewBlockTitle: xf, setNewBlockDescription: Pc, setNewBlockHtml: Sf, setNewBlockTags: Rc, resetNewBlockSlice: Nc, setBlockIsAmp: Af } = fi.actions, Ic = (e) => e[jn].hasChanged, Dn = O.createState({
|
|
4884
4894
|
emailsTotal: 0,
|
|
4885
4895
|
elementsList: [],
|
|
4886
4896
|
emailsTrashTotal: 0,
|
|
4887
4897
|
elementsTrashList: [],
|
|
4888
4898
|
customFolders: {},
|
|
4889
4899
|
elementsView: !O.PLUGIN.isPlugin && O.api.get(O.APP_COOKIES.em_elements_view) || "cards"
|
|
4890
|
-
}), nt = "emailsPageSlice",
|
|
4900
|
+
}), nt = "emailsPageSlice", hi = O.createSlice({
|
|
4891
4901
|
name: nt,
|
|
4892
4902
|
initialState: Dn,
|
|
4893
4903
|
reducers: {
|
|
@@ -4931,7 +4941,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4931
4941
|
}) : n);
|
|
4932
4942
|
});
|
|
4933
4943
|
}
|
|
4934
|
-
}), { resetPagesAndTotal:
|
|
4944
|
+
}), { resetPagesAndTotal: Mc, toggleElementsView: jc, resetElementsList: Dc, removeEmailFromList: Lc } = hi.actions, Fc = (e) => e[nt].emailsTotal, Uc = (e) => e[nt].elementsView, zc = (e) => e[nt].elementsList, Bc = (e) => e[nt].customFolders, qc = (e) => e[nt].emailsTrashTotal, Hc = (e) => e[nt].elementsTrashList, Ln = O.createState({
|
|
4935
4945
|
blocksTotal: null,
|
|
4936
4946
|
blocksTotalPages: null,
|
|
4937
4947
|
parentEmailBlocksTotal: null,
|
|
@@ -4944,7 +4954,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4944
4954
|
customFolders: {},
|
|
4945
4955
|
blocksTrashTotal: 0,
|
|
4946
4956
|
elementsTrashList: []
|
|
4947
|
-
}), Lr = "blocksPageSlice",
|
|
4957
|
+
}), Lr = "blocksPageSlice", mi = O.createSlice({
|
|
4948
4958
|
name: Lr,
|
|
4949
4959
|
initialState: Ln,
|
|
4950
4960
|
reducers: {
|
|
@@ -4989,11 +4999,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4989
4999
|
}) : n);
|
|
4990
5000
|
});
|
|
4991
5001
|
}
|
|
4992
|
-
}), { resetPagesAndTotal:
|
|
5002
|
+
}), { resetPagesAndTotal: Cf, resetElementsList: kf, toggleElementsView: Tf, removeBlockFromList: Of } = mi.actions, $c = (e) => e[Lr].blocksTotal, Wc = (e) => e[Lr].templateBlocksTotal, Qc = (e) => e[Lr].parentEmailBlocksTotal, Fn = O.createState({
|
|
4993
5003
|
historyData: [],
|
|
4994
5004
|
elementHistoryTotalPages: 1
|
|
4995
|
-
}),
|
|
4996
|
-
name:
|
|
5005
|
+
}), gi = "revisionHistorySlice", Fr = O.createSlice({
|
|
5006
|
+
name: gi,
|
|
4997
5007
|
initialState: Fn,
|
|
4998
5008
|
reducers: {
|
|
4999
5009
|
resetElementHistorySlice: () => ({ ...Fn }),
|
|
@@ -5008,7 +5018,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5008
5018
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
5009
5019
|
});
|
|
5010
5020
|
}
|
|
5011
|
-
}), { resetElementHistorySlice:
|
|
5021
|
+
}), { resetElementHistorySlice: Vc } = Fr.actions, { setElementHistory: Pf } = Fr.actions, Gc = (e) => e[gi].elementHistoryTotalPages, Zc = (e) => e[gi].historyData, Un = O.combineReducers({
|
|
5012
5022
|
[O.di.reducerPath]: O.di.reducer,
|
|
5013
5023
|
[Pt.reducerPath]: Pt.reducer,
|
|
5014
5024
|
[O.userSlice.name]: O.userSlice.reducer,
|
|
@@ -5021,8 +5031,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5021
5031
|
[O.projectSlice.name]: O.projectSlice.reducer,
|
|
5022
5032
|
[O.blocksApi.reducerPath]: O.blocksApi.reducer,
|
|
5023
5033
|
[O.emailsApi.reducerPath]: O.emailsApi.reducer,
|
|
5024
|
-
[di.name]: di.reducer,
|
|
5025
5034
|
[pi.name]: pi.reducer,
|
|
5035
|
+
[fi.name]: fi.reducer,
|
|
5026
5036
|
[it.reducerPath]: it.reducer,
|
|
5027
5037
|
[lr.reducerPath]: lr.reducer,
|
|
5028
5038
|
[cr.reducerPath]: cr.reducer,
|
|
@@ -5047,8 +5057,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5047
5057
|
[Mt.reducerPath]: Mt.reducer,
|
|
5048
5058
|
[O.commentsApi.reducerPath]: O.commentsApi.reducer,
|
|
5049
5059
|
[ir.reducerPath]: ir.reducer,
|
|
5060
|
+
[mi.name]: mi.reducer,
|
|
5050
5061
|
[hi.name]: hi.reducer,
|
|
5051
|
-
[fi.name]: fi.reducer,
|
|
5052
5062
|
[nr.reducerPath]: nr.reducer,
|
|
5053
5063
|
[sr.reducerPath]: sr.reducer,
|
|
5054
5064
|
[ar.reducerPath]: ar.reducer,
|
|
@@ -5066,14 +5076,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5066
5076
|
[O.autosaveRecoverySlice.name]: O.autosaveRecoverySlice.reducer,
|
|
5067
5077
|
[Or.reducerPath]: Or.reducer,
|
|
5068
5078
|
[er.defaultModePanesSlice.name]: er.defaultModePanesSlice.reducer,
|
|
5069
|
-
[
|
|
5079
|
+
[ui.reducerPath]: ui.reducer,
|
|
5070
5080
|
[Lt.reducerPath]: Lt.reducer,
|
|
5071
5081
|
[Pr.reducerPath]: Pr.reducer,
|
|
5072
5082
|
[Nr.reducerPath]: Nr.reducer,
|
|
5073
5083
|
[Rr.reducerPath]: Rr.reducer,
|
|
5074
5084
|
[Ir.reducerPath]: Ir.reducer,
|
|
5075
5085
|
[Ut.reducerPath]: Ut.reducer
|
|
5076
|
-
}),
|
|
5086
|
+
}), Yc = (e, t) => t.type === "authorizationApi/resetApiState" ? Un({
|
|
5077
5087
|
[O.reducerPath]: e[O.reducerPath],
|
|
5078
5088
|
[it.reducerPath]: e[it.reducerPath]
|
|
5079
5089
|
}, t) : Un(e, t), zn = [
|
|
@@ -5119,7 +5129,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5119
5129
|
Tr,
|
|
5120
5130
|
Dt,
|
|
5121
5131
|
Or,
|
|
5122
|
-
|
|
5132
|
+
ui,
|
|
5123
5133
|
Ir,
|
|
5124
5134
|
Ut,
|
|
5125
5135
|
Lt,
|
|
@@ -5127,14 +5137,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5127
5137
|
Nr,
|
|
5128
5138
|
Rr
|
|
5129
5139
|
];
|
|
5130
|
-
function
|
|
5140
|
+
function Jc(e) {
|
|
5131
5141
|
let t = {};
|
|
5132
5142
|
if (e) {
|
|
5133
5143
|
const n = O.createIdentifier$1();
|
|
5134
5144
|
O.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
5135
5145
|
}
|
|
5136
5146
|
const r = O.configureStore({
|
|
5137
|
-
reducer:
|
|
5147
|
+
reducer: Yc,
|
|
5138
5148
|
middleware: (n) => n({ serializableCheck: !1 }).concat(zn.map((i) => i.middleware)),
|
|
5139
5149
|
preloadedState: t
|
|
5140
5150
|
});
|
|
@@ -5154,13 +5164,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5154
5164
|
return O.getClient(r).jwtAuth.token_validate_create({ type: O.ContentType$1.Json });
|
|
5155
5165
|
} })
|
|
5156
5166
|
})
|
|
5157
|
-
}), { useTokenCreateMutation:
|
|
5167
|
+
}), { useTokenCreateMutation: Rf, useTokenValidateMutation: Nf } = Ur;
|
|
5158
5168
|
function Bn() {
|
|
5159
5169
|
const e = new Map();
|
|
5160
5170
|
for (const t of zn) e.set(t.reducerPath, t);
|
|
5161
5171
|
return e.set(Ur.reducerPath, Ur), [...e.values()];
|
|
5162
5172
|
}
|
|
5163
|
-
var
|
|
5173
|
+
var Xc = {
|
|
5164
5174
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
5165
5175
|
imageApi: new Set([
|
|
5166
5176
|
"sendAiImageRequest",
|
|
@@ -5168,27 +5178,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5168
5178
|
"getAiImageSSE"
|
|
5169
5179
|
])
|
|
5170
5180
|
};
|
|
5171
|
-
function
|
|
5181
|
+
function Kc(e) {
|
|
5172
5182
|
return e.getState().configSlice?.config;
|
|
5173
5183
|
}
|
|
5174
|
-
function
|
|
5184
|
+
function eu(e) {
|
|
5175
5185
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
5176
5186
|
}
|
|
5177
|
-
function
|
|
5178
|
-
return
|
|
5187
|
+
function tu(e) {
|
|
5188
|
+
return eu(Kc(e));
|
|
5179
5189
|
}
|
|
5180
|
-
function
|
|
5181
|
-
return
|
|
5190
|
+
function ru(e, t, r, n) {
|
|
5191
|
+
return Xc[t]?.has(r) ? (i) => tu(e) ? (a) => a(i) : n(i) : n;
|
|
5182
5192
|
}
|
|
5183
|
-
function
|
|
5193
|
+
function iu(e) {
|
|
5184
5194
|
const t = O.getOverrideApiFn(e);
|
|
5185
5195
|
return ((r, n) => {
|
|
5186
5196
|
if (!r || typeof r.reducerPath != "string") return new O.Disposable();
|
|
5187
|
-
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ?
|
|
5197
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? ru(e, r.reducerPath, a, s) : s]));
|
|
5188
5198
|
return t(r, i);
|
|
5189
5199
|
});
|
|
5190
5200
|
}
|
|
5191
|
-
function
|
|
5201
|
+
function nu(e) {
|
|
5192
5202
|
const t = `blocks_${O.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
5193
5203
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
5194
5204
|
window[t] = function(a) {
|
|
@@ -5199,37 +5209,37 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5199
5209
|
r.remove(), delete window[t];
|
|
5200
5210
|
});
|
|
5201
5211
|
}
|
|
5202
|
-
function
|
|
5212
|
+
function au(e) {
|
|
5203
5213
|
if (!e) return;
|
|
5204
5214
|
const t = Ie.decodeJwt(e)?.data?.scope;
|
|
5205
5215
|
return (Array.isArray(t) ? t.flatMap((r) => String(r).split(/\s+/)) : String(t || "").split(/\s+/)).find((r) => /^project_\d+$/.test(r))?.replace(/^project_/, "") || void 0;
|
|
5206
5216
|
}
|
|
5207
|
-
async function
|
|
5217
|
+
async function ou(e) {
|
|
5208
5218
|
const t = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), r = t ? void 0 : await O.di.getInstanceAsync(e, O.APP_ID).catch(() => {}), n = t || (r?.project !== void 0 ? String(r.project) : void 0);
|
|
5209
5219
|
n && e.dispatch(O.setProject(xn(n)));
|
|
5210
5220
|
}
|
|
5211
|
-
async function
|
|
5221
|
+
async function su(e, t) {
|
|
5212
5222
|
try {
|
|
5213
5223
|
const r = function(s) {
|
|
5214
5224
|
const l = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), u = l ? Sn(l, s) : s;
|
|
5215
5225
|
O.di.injectFactory(e, O.APP_ID, async () => u);
|
|
5216
|
-
}, n =
|
|
5226
|
+
}, n = iu(e), i = await (await En.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
|
|
5217
5227
|
if (typeof i != "string") return;
|
|
5218
|
-
const a = await
|
|
5228
|
+
const a = await nu(i);
|
|
5219
5229
|
if (typeof a != "object" || a === null || typeof a.execute != "function") return;
|
|
5220
5230
|
a.execute(r, n, Bn());
|
|
5221
5231
|
} catch {}
|
|
5222
5232
|
}
|
|
5223
|
-
function
|
|
5233
|
+
function lu(e, t) {
|
|
5224
5234
|
const r = Object.keys(t.endpoints);
|
|
5225
5235
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, O.standaloneTerminalGuardExecutor])));
|
|
5226
5236
|
}
|
|
5227
|
-
function
|
|
5237
|
+
function cu(e) {
|
|
5228
5238
|
O.markStandaloneMockGuardInstalled(e);
|
|
5229
5239
|
const t = O.getOverrideApiFn(e);
|
|
5230
|
-
for (const r of Bn())
|
|
5240
|
+
for (const r of Bn()) lu(t, r);
|
|
5231
5241
|
}
|
|
5232
|
-
var
|
|
5242
|
+
var uu = class extends O.Disposable {
|
|
5233
5243
|
_event;
|
|
5234
5244
|
_listener;
|
|
5235
5245
|
_disposeEvent;
|
|
@@ -5243,7 +5253,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5243
5253
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
5244
5254
|
}
|
|
5245
5255
|
};
|
|
5246
|
-
function
|
|
5256
|
+
function du(e, t, r) {
|
|
5247
5257
|
const n = O.snapshot(e);
|
|
5248
5258
|
return (i, a, s) => {
|
|
5249
5259
|
const l = n(async (u) => {
|
|
@@ -5255,7 +5265,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5255
5265
|
return () => l.dispose();
|
|
5256
5266
|
};
|
|
5257
5267
|
}
|
|
5258
|
-
var
|
|
5268
|
+
var vi = {
|
|
5259
5269
|
INIT_START: 5e3,
|
|
5260
5270
|
SET_ENTITY: 12e3,
|
|
5261
5271
|
PREHEADER: 5e3,
|
|
@@ -5268,13 +5278,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5268
5278
|
"PREHEADER",
|
|
5269
5279
|
"SUBJECT",
|
|
5270
5280
|
"INITED"
|
|
5271
|
-
],
|
|
5272
|
-
function
|
|
5281
|
+
], bi = 2e4, Hn = bi + qn.reduce((e, t) => e + vi[t], 0) + 3e3;
|
|
5282
|
+
function fu(e) {
|
|
5273
5283
|
return qn.reduce((t, r) => t + $n(r, e), 0);
|
|
5274
5284
|
}
|
|
5275
5285
|
function $n(e, t) {
|
|
5276
5286
|
const r = t?.[e];
|
|
5277
|
-
return typeof r == "number" && r > 0 ? r :
|
|
5287
|
+
return typeof r == "number" && r > 0 ? r : vi[e];
|
|
5278
5288
|
}
|
|
5279
5289
|
function Wn(e) {
|
|
5280
5290
|
const t = e?.contentReady;
|
|
@@ -5282,14 +5292,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5282
5292
|
}
|
|
5283
5293
|
function Qn(e) {
|
|
5284
5294
|
const t = e?.sandboxReady;
|
|
5285
|
-
return typeof t == "number" && t > 0 ? t :
|
|
5295
|
+
return typeof t == "number" && t > 0 ? t : bi;
|
|
5286
5296
|
}
|
|
5287
|
-
var
|
|
5297
|
+
var hu = class extends Error {
|
|
5288
5298
|
showId;
|
|
5289
5299
|
constructor(e, t) {
|
|
5290
5300
|
super(`[emailmaker] show() timed out after ${t}ms waiting for editor init (showId=${e}). Check earlier console errors: wrong host-plugin publicPath (chunks return HTML), mount element removed without destroy(), or sandbox init never completed. Search for [show-pipeline] and [AMD] messages.`), this.name = "ShowPipelineTimeoutError", this.showId = e;
|
|
5291
5301
|
}
|
|
5292
|
-
},
|
|
5302
|
+
}, mu = class {
|
|
5293
5303
|
_activeRequest = null;
|
|
5294
5304
|
_pending = new Map();
|
|
5295
5305
|
_listeners = new Set();
|
|
@@ -5305,7 +5315,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5305
5315
|
return this._rejectPending(Be("Superseded by newer show()")), r.aborted ? Promise.reject(Be(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
5306
5316
|
const a = setTimeout(() => {
|
|
5307
5317
|
this._settle(e.showId, () => {
|
|
5308
|
-
i(new
|
|
5318
|
+
i(new hu(e.showId, t));
|
|
5309
5319
|
});
|
|
5310
5320
|
}, t);
|
|
5311
5321
|
a.unref?.();
|
|
@@ -5353,7 +5363,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5353
5363
|
this._pending.clear();
|
|
5354
5364
|
}
|
|
5355
5365
|
};
|
|
5356
|
-
function
|
|
5366
|
+
function gu(e, t) {
|
|
5357
5367
|
return {
|
|
5358
5368
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
5359
5369
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -5363,16 +5373,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5363
5373
|
} : e?.sandbox
|
|
5364
5374
|
};
|
|
5365
5375
|
}
|
|
5366
|
-
function
|
|
5376
|
+
function vu(e) {
|
|
5367
5377
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
5368
5378
|
Wn(e);
|
|
5369
|
-
Qn(e) +
|
|
5379
|
+
Qn(e) + fu(e.sandbox);
|
|
5370
5380
|
}
|
|
5371
5381
|
var Vn = class {
|
|
5372
5382
|
_controller = new AbortController();
|
|
5373
5383
|
_externalSignalDisposable = new O.Disposable();
|
|
5374
5384
|
_sessionChangeListeners = new Set();
|
|
5375
|
-
_showRegistry = new
|
|
5385
|
+
_showRegistry = new mu();
|
|
5376
5386
|
_timeouts;
|
|
5377
5387
|
_generation = 0;
|
|
5378
5388
|
_sessionStarted = !1;
|
|
@@ -5421,7 +5431,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5421
5431
|
};
|
|
5422
5432
|
}
|
|
5423
5433
|
configure(e) {
|
|
5424
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
5434
|
+
e.timeouts !== void 0 && (this._timeouts = gu(this._timeouts, e.timeouts), vu(this._timeouts));
|
|
5425
5435
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
5426
5436
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
5427
5437
|
}
|
|
@@ -5448,18 +5458,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5448
5458
|
e.removeEventListener("abort", t);
|
|
5449
5459
|
});
|
|
5450
5460
|
}
|
|
5451
|
-
},
|
|
5461
|
+
}, bu = (() => {
|
|
5452
5462
|
const e = new Vn();
|
|
5453
5463
|
return e.configure({}), e;
|
|
5454
5464
|
})();
|
|
5455
|
-
function
|
|
5465
|
+
function _u(e = Hn) {
|
|
5456
5466
|
return e + 3e3;
|
|
5457
5467
|
}
|
|
5458
5468
|
var Gn = "PluginRegistry";
|
|
5459
|
-
function
|
|
5469
|
+
function yu(e = O.resolveContainer()) {
|
|
5460
5470
|
return e.getOrCreateInstance(Gn, () => new rs());
|
|
5461
5471
|
}
|
|
5462
|
-
var
|
|
5472
|
+
var wu = new is(() => yu()), Zn = {
|
|
5463
5473
|
"application/prs.cww": ["cww"],
|
|
5464
5474
|
"application/prs.xsf+xml": ["xsf"],
|
|
5465
5475
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -6770,7 +6780,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6770
6780
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
6771
6781
|
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");
|
|
6772
6782
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
6773
|
-
}, gt, qt, at,
|
|
6783
|
+
}, gt, qt, at, Eu = class {
|
|
6774
6784
|
constructor(...e) {
|
|
6775
6785
|
gt.set(this, new Map()), qt.set(this, new Map()), at.set(this, new Map());
|
|
6776
6786
|
for (const t of e) this.define(t);
|
|
@@ -6816,7 +6826,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6816
6826
|
}
|
|
6817
6827
|
};
|
|
6818
6828
|
gt = new WeakMap(), qt = new WeakMap(), at = new WeakMap();
|
|
6819
|
-
var
|
|
6829
|
+
var _i = new Eu(Yn, Zn)._freeze();
|
|
6820
6830
|
function Jn(e) {
|
|
6821
6831
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
6822
6832
|
}
|
|
@@ -6850,27 +6860,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6850
6860
|
}
|
|
6851
6861
|
return r === 0;
|
|
6852
6862
|
}
|
|
6853
|
-
function
|
|
6863
|
+
function xu(e) {
|
|
6854
6864
|
return (t, r, n) => zr(t) ? e(t, r, n) : !1;
|
|
6855
6865
|
}
|
|
6856
|
-
function
|
|
6866
|
+
function Su(e) {
|
|
6857
6867
|
return (t) => zr(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
6858
6868
|
}
|
|
6859
|
-
function
|
|
6869
|
+
function Au(e) {
|
|
6860
6870
|
return (t, r, n) => zr(t) ? Jn(t) ? e(t, r, n) : t : !1;
|
|
6861
6871
|
}
|
|
6862
|
-
function
|
|
6872
|
+
function Cu(e) {
|
|
6863
6873
|
return (t) => {
|
|
6864
6874
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
6865
6875
|
return zr(r) ? Jn(r) ? e(t) : t : !1;
|
|
6866
6876
|
};
|
|
6867
6877
|
}
|
|
6868
|
-
function
|
|
6878
|
+
function ku(e) {
|
|
6869
6879
|
const t = /[<>&]/g;
|
|
6870
6880
|
for (; t.exec(e) !== null;) return !0;
|
|
6871
6881
|
return !1;
|
|
6872
6882
|
}
|
|
6873
|
-
function
|
|
6883
|
+
function yi(e, t) {
|
|
6874
6884
|
const r = e.length;
|
|
6875
6885
|
for (let n = 0; n < r; n++) {
|
|
6876
6886
|
const i = e.charCodeAt(n);
|
|
@@ -6878,7 +6888,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6878
6888
|
}
|
|
6879
6889
|
return !0;
|
|
6880
6890
|
}
|
|
6881
|
-
function
|
|
6891
|
+
function Tu(e) {
|
|
6882
6892
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
6883
6893
|
crypto.getRandomValues(n);
|
|
6884
6894
|
let i = "";
|
|
@@ -6888,34 +6898,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6888
6898
|
}
|
|
6889
6899
|
return i;
|
|
6890
6900
|
}
|
|
6891
|
-
var
|
|
6901
|
+
var Ou = 8, Pu = class {
|
|
6892
6902
|
_byKey = Object.create(null);
|
|
6893
6903
|
_byValue = Object.create(null);
|
|
6894
6904
|
getOrCreateByKey(e) {
|
|
6895
6905
|
let t = this._byKey[e];
|
|
6896
|
-
return t === void 0 && (t =
|
|
6906
|
+
return t === void 0 && (t = Tu(Ou), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
6897
6907
|
}
|
|
6898
6908
|
getByValue(e) {
|
|
6899
6909
|
return this._byValue[e];
|
|
6900
6910
|
}
|
|
6901
|
-
}, Br = new
|
|
6911
|
+
}, Br = new Pu();
|
|
6902
6912
|
function Xn(e, t) {
|
|
6903
|
-
return t !== void 0 && !
|
|
6913
|
+
return t !== void 0 && !yi(e, t) ? `%|{${Br.getOrCreateByKey(e)}}|%` : e;
|
|
6904
6914
|
}
|
|
6905
|
-
function
|
|
6915
|
+
function Ru(e) {
|
|
6906
6916
|
const t = Br.getByValue(e.slice(3, e.length - 3));
|
|
6907
6917
|
return t === void 0 ? e : t;
|
|
6908
6918
|
}
|
|
6909
6919
|
function we(e, t, r) {
|
|
6910
|
-
return t !== void 0 ?
|
|
6920
|
+
return t !== void 0 ? yi(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6911
6921
|
}
|
|
6912
|
-
function
|
|
6922
|
+
function Nu(e) {
|
|
6913
6923
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6914
6924
|
}
|
|
6915
6925
|
function be(e) {
|
|
6916
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6926
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? Nu(e.slice(4, -3)) : e;
|
|
6917
6927
|
}
|
|
6918
|
-
function
|
|
6928
|
+
function Iu(e) {
|
|
6919
6929
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6920
6930
|
let n = e;
|
|
6921
6931
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6923,14 +6933,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6923
6933
|
const a = n.trim();
|
|
6924
6934
|
return t.test(a) || r.test(a);
|
|
6925
6935
|
}
|
|
6926
|
-
function
|
|
6927
|
-
return t !== void 0 ?
|
|
6936
|
+
function Mu(e, t, r) {
|
|
6937
|
+
return t !== void 0 ? yi(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r || ku(e) || Iu(e) ? `<!--${e}-->` : e;
|
|
6928
6938
|
}
|
|
6929
|
-
var ot =
|
|
6930
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
6931
|
-
},
|
|
6932
|
-
function
|
|
6933
|
-
return e ?
|
|
6939
|
+
var ot = xu(we), st = Su(be), ju = Au(we), Du = Cu(be), Kn = (e) => {
|
|
6940
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", Ru), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", Xn, !0), e.escape("{{", "}}", Xn, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", Mu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", ot).escape("#elseif", ")", ot).escape("#else", "", we).escape("#foreach", ")", ot).escape("#macro", ")", ot).escape("#set", ")", ju, !0).escape("#parse", ")", ot).escape("#include", ")", ot).escape("#evaluate", ")", ot).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", st).unescape("<!--#if", "-->", st).unescape("<!--#elseif", "-->", st).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", st).unescape("<!--#parse", "-->", st).unescape("<!--#include", "-->", st).unescape("<!--#evaluate", "-->", st).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", Du, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
|
|
6941
|
+
}, wi = "bare", Lu = new Map();
|
|
6942
|
+
function Fu(e) {
|
|
6943
|
+
return e ? Lu.get(e) ?? wi : wi;
|
|
6934
6944
|
}
|
|
6935
6945
|
var ea = [
|
|
6936
6946
|
"brace-percent",
|
|
@@ -6947,10 +6957,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6947
6957
|
function Ht(e) {
|
|
6948
6958
|
return e === "bare" || e === "html-comment";
|
|
6949
6959
|
}
|
|
6950
|
-
function
|
|
6960
|
+
function Ei(e) {
|
|
6951
6961
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6952
6962
|
}
|
|
6953
|
-
function
|
|
6963
|
+
function Uu(e, t = (r) => {}) {
|
|
6954
6964
|
const r = {
|
|
6955
6965
|
output: {},
|
|
6956
6966
|
editor: {}
|
|
@@ -6963,10 +6973,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6963
6973
|
} else if (typeof e == "object" && !Array.isArray(e)) n = e;
|
|
6964
6974
|
else return t(`templateDirectives: expected a string or an object, got ${typeof e}. Ignored.`), r;
|
|
6965
6975
|
for (const [m, b] of [["output", n.output], ["editor", n.editor]]) if (b !== void 0 && !Ht(b)) return t(`templateDirectives.${m}: unknown form "${String(b)}", configuration ignored.`), r;
|
|
6966
|
-
if (n.syntaxes !== void 0 && !
|
|
6976
|
+
if (n.syntaxes !== void 0 && !Ei(n.syntaxes)) return t("templateDirectives.syntaxes: expected an object, configuration ignored."), r;
|
|
6967
6977
|
if (n.syntaxes) {
|
|
6968
6978
|
for (const [m, b] of Object.entries(n.syntaxes)) if (!(!ta(m) || b === void 0 || Ht(b))) {
|
|
6969
|
-
if (!
|
|
6979
|
+
if (!Ei(b)) return t(`templateDirectives.syntaxes.${m}: expected a form or an object, configuration ignored.`), r;
|
|
6970
6980
|
for (const E of ["output", "editor"]) {
|
|
6971
6981
|
const p = b[E];
|
|
6972
6982
|
if (p !== void 0 && !Ht(p)) return t(`templateDirectives.syntaxes.${m}.${E}: unknown form "${String(p)}", configuration ignored.`), r;
|
|
@@ -6974,7 +6984,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6974
6984
|
}
|
|
6975
6985
|
}
|
|
6976
6986
|
if (n.output === void 0 && n.editor === void 0 && n.syntaxes === void 0) return r;
|
|
6977
|
-
const i = n.output ??
|
|
6987
|
+
const i = n.output ?? wi;
|
|
6978
6988
|
let a = n.editor;
|
|
6979
6989
|
i === "bare" && n.editor === "html-comment" && (t("templateDirectives: editor=\"html-comment\" requires output=\"html-comment\"; editor was reset to match output."), a = void 0);
|
|
6980
6990
|
const s = [];
|
|
@@ -6988,7 +6998,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6988
6998
|
else s.push(...ea);
|
|
6989
6999
|
const l = {}, u = {};
|
|
6990
7000
|
for (const m of s) {
|
|
6991
|
-
const b = n.syntaxes?.[m], E =
|
|
7001
|
+
const b = n.syntaxes?.[m], E = Ei(b) ? b : void 0, p = (Ht(b) ? b : E?.output) ?? i;
|
|
6992
7002
|
let c = E?.editor ?? a ?? p;
|
|
6993
7003
|
p === "bare" && c === "html-comment" && (t(`templateDirectives.syntaxes.${m}: editor="html-comment" requires output="html-comment" for this id; editor was reset to "bare" for it.`), c = "bare"), l[m] = p, u[m] = c;
|
|
6994
7004
|
}
|
|
@@ -7038,7 +7048,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7038
7048
|
}
|
|
7039
7049
|
return s.sort((b, E) => b.range.start - E.range.start || b.range.end - E.range.end);
|
|
7040
7050
|
}
|
|
7041
|
-
function
|
|
7051
|
+
function zu(e, t) {
|
|
7042
7052
|
const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: E, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
|
|
7043
7053
|
value: b,
|
|
7044
7054
|
mapFn: u,
|
|
@@ -7056,10 +7066,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7056
7066
|
}
|
|
7057
7067
|
return a;
|
|
7058
7068
|
}
|
|
7059
|
-
function
|
|
7069
|
+
function xi(e, t, r, n, i = !1) {
|
|
7060
7070
|
const a = [];
|
|
7061
7071
|
if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
|
|
7062
|
-
const s =
|
|
7072
|
+
const s = zu(e, t), l = {
|
|
7063
7073
|
insideTag: !1,
|
|
7064
7074
|
insideAttributeValue: !1,
|
|
7065
7075
|
attributeQuoteChar: void 0,
|
|
@@ -7112,7 +7122,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7112
7122
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
7113
7123
|
return n;
|
|
7114
7124
|
}
|
|
7115
|
-
var
|
|
7125
|
+
var Bu = class {
|
|
7116
7126
|
_disposables = [];
|
|
7117
7127
|
_escapes = [];
|
|
7118
7128
|
_unescapes = [];
|
|
@@ -7169,22 +7179,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7169
7179
|
return this.addDisposable(a), a;
|
|
7170
7180
|
}
|
|
7171
7181
|
_collectMappings(e, t, r) {
|
|
7172
|
-
const n =
|
|
7182
|
+
const n = xi(e, this._escapes, t, r), i = ia(e, this._escapeMatchers, t, r), a = i.filter((u) => u.overrideBuiltins).map((u) => u.range), s = n.filter((u) => !a.some((m) => $t(m, u.range))), l = i.filter((u) => u.overrideBuiltins || !s.some((m) => $t(u.range, m.range)));
|
|
7173
7183
|
return [...s, ...l].sort((u, m) => u.range.start - m.range.start || u.range.end - m.range.end);
|
|
7174
7184
|
}
|
|
7175
7185
|
getMappings(e, t, r) {
|
|
7176
7186
|
return this._collectMappings(e, t, r);
|
|
7177
7187
|
}
|
|
7178
7188
|
_collectRevertMappings(e, t) {
|
|
7179
|
-
const r =
|
|
7189
|
+
const r = xi(e, this._unescapes, t), n = ia(e, this._unescapeMatchers, t, !1), i = n.filter((l) => l.overrideBuiltins).map((l) => l.range), a = r.filter((l) => !i.some((u) => $t(u, l.range))), s = n.filter((l) => l.overrideBuiltins || !a.some((u) => $t(l.range, u.range)));
|
|
7180
7190
|
return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
|
|
7181
7191
|
}
|
|
7182
7192
|
getRevertMappings(e, t, r) {
|
|
7183
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
7193
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Fu(i) === "html-comment";
|
|
7184
7194
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
7185
7195
|
}
|
|
7186
7196
|
getDetectedMappings(e, t, r) {
|
|
7187
|
-
return
|
|
7197
|
+
return xi(e, this._escapes, t, r, !0);
|
|
7188
7198
|
}
|
|
7189
7199
|
getEscapedText(e, t) {
|
|
7190
7200
|
return qr(e, this.getMappings(e, t));
|
|
@@ -7208,7 +7218,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7208
7218
|
}
|
|
7209
7219
|
}, ke = (function(e) {
|
|
7210
7220
|
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;
|
|
7211
|
-
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
7221
|
+
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start, qu = (e) => e.type === 0 ? e.end + 1 : e.end, Ke = class ts {
|
|
7212
7222
|
start;
|
|
7213
7223
|
end;
|
|
7214
7224
|
children;
|
|
@@ -7256,7 +7266,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7256
7266
|
const r = aa(this.children, (n) => t <= Hr(n)) - 1;
|
|
7257
7267
|
if (r >= 0) {
|
|
7258
7268
|
const n = this.children[r];
|
|
7259
|
-
if (t >= Hr(n) && t <=
|
|
7269
|
+
if (t >= Hr(n) && t <= qu(n)) return n.findNodeAt(t);
|
|
7260
7270
|
}
|
|
7261
7271
|
return this;
|
|
7262
7272
|
}
|
|
@@ -7290,7 +7300,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7290
7300
|
const i = this.start - r, a = new ts(r, this.end - i, [], t);
|
|
7291
7301
|
return a.children = n ? this.children.map((s) => s.clone(a, s.start - i)) : [], a.attributes = { ...this.attributes }, a.closed = this.closed, a.content = this.content, a.startTagEnd = this.startTagEnd, a.endTagStart = this.endTagStart, a.tag = this.tag, a.type = this.type, a;
|
|
7292
7302
|
}
|
|
7293
|
-
},
|
|
7303
|
+
}, Hu = new Set([
|
|
7294
7304
|
"area",
|
|
7295
7305
|
"br",
|
|
7296
7306
|
"col",
|
|
@@ -7303,20 +7313,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7303
7313
|
"param",
|
|
7304
7314
|
"vk-snippet-end"
|
|
7305
7315
|
]);
|
|
7306
|
-
function
|
|
7316
|
+
function $u(e) {
|
|
7307
7317
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7308
7318
|
}
|
|
7309
7319
|
var na = Object.create(null);
|
|
7310
|
-
function
|
|
7320
|
+
function Wu(e, t) {
|
|
7311
7321
|
const r = na[e] || (na[e] = Object.create(null));
|
|
7312
7322
|
let n = r[t];
|
|
7313
7323
|
if (typeof n != "boolean") {
|
|
7314
|
-
const i = document.createElement(e)[
|
|
7324
|
+
const i = document.createElement(e)[$u(t)];
|
|
7315
7325
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7316
7326
|
}
|
|
7317
7327
|
return n;
|
|
7318
7328
|
}
|
|
7319
|
-
function
|
|
7329
|
+
function Qu(e) {
|
|
7320
7330
|
const t = e.tag?.toLowerCase();
|
|
7321
7331
|
let r = "";
|
|
7322
7332
|
if (t) {
|
|
@@ -7325,15 +7335,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7325
7335
|
const i = Object.keys(n);
|
|
7326
7336
|
for (const a of i) {
|
|
7327
7337
|
const s = n[a] === null ? "" : n[a];
|
|
7328
|
-
typeof s == "string" && (r += s === "" && a !== "em" && !
|
|
7338
|
+
typeof s == "string" && (r += s === "" && a !== "em" && !Wu(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
|
|
7329
7339
|
}
|
|
7330
7340
|
}
|
|
7331
7341
|
}
|
|
7332
7342
|
return r;
|
|
7333
7343
|
}
|
|
7334
|
-
function
|
|
7344
|
+
function Vu(e, t) {
|
|
7335
7345
|
if (e.start !== e.startTagEnd || t) {
|
|
7336
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
7346
|
+
const r = e.tag?.toLowerCase() || "div", n = Qu(e);
|
|
7337
7347
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
7338
7348
|
}
|
|
7339
7349
|
return "";
|
|
@@ -7347,18 +7357,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7347
7357
|
}
|
|
7348
7358
|
return r;
|
|
7349
7359
|
}
|
|
7350
|
-
function
|
|
7360
|
+
function Gu(e) {
|
|
7351
7361
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7352
7362
|
}
|
|
7353
|
-
function
|
|
7363
|
+
function Si(e) {
|
|
7354
7364
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
7355
7365
|
}
|
|
7356
7366
|
var oa = Object.create(null);
|
|
7357
|
-
function
|
|
7367
|
+
function Zu(e, t) {
|
|
7358
7368
|
const r = oa[e] || (oa[e] = Object.create(null));
|
|
7359
7369
|
let n = r[t];
|
|
7360
7370
|
if (typeof n != "boolean") {
|
|
7361
|
-
const i = document.createElement(e)[
|
|
7371
|
+
const i = document.createElement(e)[Gu(t)];
|
|
7362
7372
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7363
7373
|
}
|
|
7364
7374
|
return n;
|
|
@@ -7366,34 +7376,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7366
7376
|
function et(e) {
|
|
7367
7377
|
return e.nodeType === Node.ELEMENT_NODE;
|
|
7368
7378
|
}
|
|
7369
|
-
function
|
|
7379
|
+
function Ai(e) {
|
|
7370
7380
|
return et(e) && !e.ownerSVGElement;
|
|
7371
7381
|
}
|
|
7372
7382
|
function sa(e) {
|
|
7373
7383
|
return e.tagName === "IMG";
|
|
7374
7384
|
}
|
|
7375
|
-
function
|
|
7385
|
+
function Yu(e) {
|
|
7376
7386
|
return e.tagName === "AMP-IMG";
|
|
7377
7387
|
}
|
|
7378
|
-
function
|
|
7388
|
+
function Ju(e) {
|
|
7379
7389
|
return e.tagName === "BODY";
|
|
7380
7390
|
}
|
|
7381
|
-
function
|
|
7391
|
+
function Xu(e) {
|
|
7382
7392
|
return e.tagName === "FORM";
|
|
7383
7393
|
}
|
|
7384
|
-
function
|
|
7394
|
+
function Ku(e) {
|
|
7385
7395
|
return e.tagName === "HTML";
|
|
7386
7396
|
}
|
|
7387
7397
|
function la(e) {
|
|
7388
7398
|
return e.tagName === "STYLE";
|
|
7389
7399
|
}
|
|
7390
|
-
function
|
|
7400
|
+
function Ci(e) {
|
|
7391
7401
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
7392
7402
|
}
|
|
7393
|
-
function
|
|
7403
|
+
function ed(e) {
|
|
7394
7404
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
7395
7405
|
}
|
|
7396
|
-
function
|
|
7406
|
+
function td(e) {
|
|
7397
7407
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
7398
7408
|
}
|
|
7399
7409
|
var Wt;
|
|
@@ -7443,19 +7453,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7443
7453
|
}
|
|
7444
7454
|
e.isFontFeatureValuesRuleRule = E;
|
|
7445
7455
|
})(Wt || (Wt = {}));
|
|
7446
|
-
function
|
|
7456
|
+
function ki(e) {
|
|
7447
7457
|
return e.nodeType === Node.COMMENT_NODE;
|
|
7448
7458
|
}
|
|
7449
|
-
function
|
|
7459
|
+
function rd(e) {
|
|
7450
7460
|
return e && !!e.host && !!e.mode;
|
|
7451
7461
|
}
|
|
7452
|
-
function
|
|
7462
|
+
function id(e) {
|
|
7453
7463
|
const t = e.getRootNode() || window.document;
|
|
7454
|
-
return
|
|
7464
|
+
return rd(t) ? t : null;
|
|
7455
7465
|
}
|
|
7456
|
-
var
|
|
7457
|
-
function
|
|
7458
|
-
const t = vt(e).matchAll(
|
|
7466
|
+
var nd = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
7467
|
+
function ad(e) {
|
|
7468
|
+
const t = vt(e).matchAll(nd);
|
|
7459
7469
|
if (t) for (const r of t) {
|
|
7460
7470
|
const [, n, , i, a] = r;
|
|
7461
7471
|
return {
|
|
@@ -7468,7 +7478,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7468
7478
|
function Qt(e) {
|
|
7469
7479
|
return e.nodeType === Node.TEXT_NODE;
|
|
7470
7480
|
}
|
|
7471
|
-
function
|
|
7481
|
+
function od(e) {
|
|
7472
7482
|
return e.tagName === "TABLE";
|
|
7473
7483
|
}
|
|
7474
7484
|
async function ca(e, t = 5e3) {
|
|
@@ -7477,18 +7487,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7477
7487
|
}) : getComputedStyle(e);
|
|
7478
7488
|
}
|
|
7479
7489
|
function vt(e) {
|
|
7480
|
-
if (et(e)) return
|
|
7481
|
-
if (
|
|
7482
|
-
if (
|
|
7490
|
+
if (et(e)) return ld(e);
|
|
7491
|
+
if (Ci(e)) return [...e.childNodes].map((r) => vt(r)).join("");
|
|
7492
|
+
if (td(e)) return Si(e);
|
|
7483
7493
|
const t = document.createElement("div");
|
|
7484
7494
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
7485
7495
|
}
|
|
7486
|
-
function
|
|
7496
|
+
function sd(e) {
|
|
7487
7497
|
const t = e.tagName.toLowerCase();
|
|
7488
7498
|
let r = "";
|
|
7489
7499
|
for (const n of e.attributes) {
|
|
7490
7500
|
const i = n.name, a = n.value;
|
|
7491
|
-
r += a === "" && i !== "em" && !
|
|
7501
|
+
r += a === "" && i !== "em" && !Zu(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
7492
7502
|
}
|
|
7493
7503
|
return r;
|
|
7494
7504
|
}
|
|
@@ -7497,13 +7507,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7497
7507
|
for (const r of e.childNodes) t += vt(r);
|
|
7498
7508
|
return t;
|
|
7499
7509
|
}
|
|
7500
|
-
function
|
|
7501
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
7502
|
-
return
|
|
7510
|
+
function ld(e) {
|
|
7511
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = sd(e);
|
|
7512
|
+
return Hu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : la(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ua(e)}</${t}>`;
|
|
7503
7513
|
}
|
|
7504
7514
|
function da(e, t) {
|
|
7505
7515
|
for (const a of [...e.childNodes]) a.remove();
|
|
7506
|
-
let r = t.find((a) =>
|
|
7516
|
+
let r = t.find((a) => Ku(a)), n = t.find((a) => Ju(a)), i = e;
|
|
7507
7517
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
7508
7518
|
for (const a of t) {
|
|
7509
7519
|
if (i === e && Qt(a)) {
|
|
@@ -7528,13 +7538,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7528
7538
|
}
|
|
7529
7539
|
e.is = t;
|
|
7530
7540
|
})(fa || (fa = {}));
|
|
7531
|
-
var
|
|
7541
|
+
var Ti;
|
|
7532
7542
|
(function(e) {
|
|
7533
7543
|
function t(r) {
|
|
7534
7544
|
return typeof r == "string";
|
|
7535
7545
|
}
|
|
7536
7546
|
e.is = t;
|
|
7537
|
-
})(
|
|
7547
|
+
})(Ti || (Ti = {}));
|
|
7538
7548
|
var ha;
|
|
7539
7549
|
(function(e) {
|
|
7540
7550
|
e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
|
|
@@ -7618,7 +7628,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7618
7628
|
}
|
|
7619
7629
|
e.is = r;
|
|
7620
7630
|
})(ma || (ma = {}));
|
|
7621
|
-
var
|
|
7631
|
+
var Oi;
|
|
7622
7632
|
(function(e) {
|
|
7623
7633
|
function t(n, i, a, s) {
|
|
7624
7634
|
return {
|
|
@@ -7634,7 +7644,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7634
7644
|
return j.objectLiteral(i) && j.numberRange(i.red, 0, 1) && j.numberRange(i.green, 0, 1) && j.numberRange(i.blue, 0, 1) && j.numberRange(i.alpha, 0, 1);
|
|
7635
7645
|
}
|
|
7636
7646
|
e.is = r;
|
|
7637
|
-
})(
|
|
7647
|
+
})(Oi || (Oi = {}));
|
|
7638
7648
|
var ga;
|
|
7639
7649
|
(function(e) {
|
|
7640
7650
|
function t(n, i) {
|
|
@@ -7646,7 +7656,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7646
7656
|
e.create = t;
|
|
7647
7657
|
function r(n) {
|
|
7648
7658
|
const i = n;
|
|
7649
|
-
return j.objectLiteral(i) && _e.is(i.range) &&
|
|
7659
|
+
return j.objectLiteral(i) && _e.is(i.range) && Oi.is(i.color);
|
|
7650
7660
|
}
|
|
7651
7661
|
e.is = r;
|
|
7652
7662
|
})(ga || (ga = {}));
|
|
@@ -7686,7 +7696,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7686
7696
|
}
|
|
7687
7697
|
e.is = r;
|
|
7688
7698
|
})(_a || (_a = {}));
|
|
7689
|
-
var
|
|
7699
|
+
var Pi;
|
|
7690
7700
|
(function(e) {
|
|
7691
7701
|
function t(n, i) {
|
|
7692
7702
|
return {
|
|
@@ -7700,7 +7710,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7700
7710
|
return j.defined(i) && Wr.is(i.location) && j.string(i.message);
|
|
7701
7711
|
}
|
|
7702
7712
|
e.is = r;
|
|
7703
|
-
})(
|
|
7713
|
+
})(Pi || (Pi = {}));
|
|
7704
7714
|
var ya;
|
|
7705
7715
|
(function(e) {
|
|
7706
7716
|
e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
|
|
@@ -7730,7 +7740,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7730
7740
|
function r(a) {
|
|
7731
7741
|
var s;
|
|
7732
7742
|
const l = a;
|
|
7733
|
-
return j.defined(l) && _e.is(l.range) && (j.string(l.message) || ut.is(l.message)) && (j.number(l.severity) || j.undefined(l.severity)) && (j.integer(l.code) || j.string(l.code) || j.undefined(l.code)) && (j.undefined(l.codeDescription) || j.string((s = l.codeDescription) === null || s === void 0 ? void 0 : s.href)) && (j.string(l.source) || j.undefined(l.source)) && (j.undefined(l.relatedInformation) || j.typedArray(l.relatedInformation,
|
|
7743
|
+
return j.defined(l) && _e.is(l.range) && (j.string(l.message) || ut.is(l.message)) && (j.number(l.severity) || j.undefined(l.severity)) && (j.integer(l.code) || j.string(l.code) || j.undefined(l.code)) && (j.undefined(l.codeDescription) || j.string((s = l.codeDescription) === null || s === void 0 ? void 0 : s.href)) && (j.string(l.source) || j.undefined(l.source)) && (j.undefined(l.relatedInformation) || j.typedArray(l.relatedInformation, Pi.is));
|
|
7734
7744
|
}
|
|
7735
7745
|
e.is = r;
|
|
7736
7746
|
function n(a) {
|
|
@@ -7848,7 +7858,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7848
7858
|
}
|
|
7849
7859
|
e.is = i;
|
|
7850
7860
|
})(xa || (xa = {}));
|
|
7851
|
-
var
|
|
7861
|
+
var Ri;
|
|
7852
7862
|
(function(e) {
|
|
7853
7863
|
function t(n, i) {
|
|
7854
7864
|
return {
|
|
@@ -7859,11 +7869,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7859
7869
|
e.create = t;
|
|
7860
7870
|
function r(n) {
|
|
7861
7871
|
const i = n;
|
|
7862
|
-
return j.defined(i) &&
|
|
7872
|
+
return j.defined(i) && Di.is(i.textDocument) && Array.isArray(i.edits);
|
|
7863
7873
|
}
|
|
7864
7874
|
e.is = r;
|
|
7865
|
-
})(
|
|
7866
|
-
var
|
|
7875
|
+
})(Ri || (Ri = {}));
|
|
7876
|
+
var Ni;
|
|
7867
7877
|
(function(e) {
|
|
7868
7878
|
function t(n, i, a) {
|
|
7869
7879
|
const s = {
|
|
@@ -7878,8 +7888,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7878
7888
|
return i && i.kind === "create" && j.string(i.uri) && (i.options === void 0 || (i.options.overwrite === void 0 || j.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || j.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || lt.is(i.annotationId));
|
|
7879
7889
|
}
|
|
7880
7890
|
e.is = r;
|
|
7881
|
-
})(
|
|
7882
|
-
var
|
|
7891
|
+
})(Ni || (Ni = {}));
|
|
7892
|
+
var Ii;
|
|
7883
7893
|
(function(e) {
|
|
7884
7894
|
function t(n, i, a, s) {
|
|
7885
7895
|
const l = {
|
|
@@ -7895,8 +7905,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7895
7905
|
return i && i.kind === "rename" && j.string(i.oldUri) && j.string(i.newUri) && (i.options === void 0 || (i.options.overwrite === void 0 || j.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || j.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || lt.is(i.annotationId));
|
|
7896
7906
|
}
|
|
7897
7907
|
e.is = r;
|
|
7898
|
-
})(
|
|
7899
|
-
var
|
|
7908
|
+
})(Ii || (Ii = {}));
|
|
7909
|
+
var Mi;
|
|
7900
7910
|
(function(e) {
|
|
7901
7911
|
function t(n, i, a) {
|
|
7902
7912
|
const s = {
|
|
@@ -7911,20 +7921,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7911
7921
|
return i && i.kind === "delete" && j.string(i.uri) && (i.options === void 0 || (i.options.recursive === void 0 || j.boolean(i.options.recursive)) && (i.options.ignoreIfNotExists === void 0 || j.boolean(i.options.ignoreIfNotExists))) && (i.annotationId === void 0 || lt.is(i.annotationId));
|
|
7912
7922
|
}
|
|
7913
7923
|
e.is = r;
|
|
7914
|
-
})(
|
|
7915
|
-
var
|
|
7924
|
+
})(Mi || (Mi = {}));
|
|
7925
|
+
var ji;
|
|
7916
7926
|
(function(e) {
|
|
7917
7927
|
function t(r) {
|
|
7918
7928
|
const n = r;
|
|
7919
|
-
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => j.string(i.kind) ?
|
|
7929
|
+
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => j.string(i.kind) ? Ni.is(i) || Ii.is(i) || Mi.is(i) : Ri.is(i)));
|
|
7920
7930
|
}
|
|
7921
7931
|
e.is = t;
|
|
7922
|
-
})(
|
|
7932
|
+
})(ji || (ji = {}));
|
|
7923
7933
|
var Sa;
|
|
7924
7934
|
(function(e) {
|
|
7925
7935
|
function t(r) {
|
|
7926
7936
|
const n = r;
|
|
7927
|
-
return j.objectLiteral(n) && _e.is(n.range) &&
|
|
7937
|
+
return j.objectLiteral(n) && _e.is(n.range) && zi.isSnippet(n.snippet) && (n.annotationId === void 0 || Vr.is(n.annotationId) || lt.is(n.annotationId));
|
|
7928
7938
|
}
|
|
7929
7939
|
e.is = t;
|
|
7930
7940
|
})(Sa || (Sa = {}));
|
|
@@ -7955,7 +7965,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7955
7965
|
}
|
|
7956
7966
|
e.is = r;
|
|
7957
7967
|
})(Ca || (Ca = {}));
|
|
7958
|
-
var
|
|
7968
|
+
var Di;
|
|
7959
7969
|
(function(e) {
|
|
7960
7970
|
function t(n, i) {
|
|
7961
7971
|
return {
|
|
@@ -7969,7 +7979,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7969
7979
|
return j.defined(i) && j.string(i.uri) && (i.version === null || j.integer(i.version));
|
|
7970
7980
|
}
|
|
7971
7981
|
e.is = r;
|
|
7972
|
-
})(
|
|
7982
|
+
})(Di || (Di = {}));
|
|
7973
7983
|
var ka;
|
|
7974
7984
|
(function(e) {
|
|
7975
7985
|
e.ABAP = "abap", e.WindowsBat = "bat", e.BibTeX = "bibtex", e.Clojure = "clojure", e.Coffeescript = "coffeescript", e.C = "c", e.CPP = "cpp", e.CSharp = "csharp", e.CSS = "css", e.D = "d", e.Delphi = "pascal", e.Diff = "diff", e.Dart = "dart", e.Dockerfile = "dockerfile", e.Elixir = "elixir", e.Erlang = "erlang", e.FSharp = "fsharp", e.GitCommit = "git-commit", e.GitRebase = "git-rebase", e.Go = "go", e.Groovy = "groovy", e.Handlebars = "handlebars", e.Haskell = "haskell", e.HTML = "html", e.Ini = "ini", e.Java = "java", e.JavaScript = "javascript", e.JavaScriptReact = "javascriptreact", e.JSON = "json", e.LaTeX = "latex", e.Less = "less", e.Lua = "lua", e.Makefile = "makefile", e.Markdown = "markdown", e.ObjectiveC = "objective-c", e.ObjectiveCPP = "objective-cpp", e.Pascal = "pascal", e.Perl = "perl", e.Perl6 = "perl6", e.PHP = "php", e.Plaintext = "plaintext", e.Powershell = "powershell", e.Pug = "jade", e.Python = "python", e.R = "r", e.Razor = "razor", e.Ruby = "ruby", e.Rust = "rust", e.SCSS = "scss", e.SASS = "sass", e.Scala = "scala", e.ShaderLab = "shaderlab", e.ShellScript = "shellscript", e.SQL = "sql", e.Swift = "swift", e.TypeScript = "typescript", e.TypeScriptReact = "typescriptreact", e.TeX = "tex", e.VisualBasic = "vb", e.XML = "xml", e.XSL = "xsl", e.YAML = "yaml";
|
|
@@ -8200,14 +8210,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8200
8210
|
}
|
|
8201
8211
|
e.is = r;
|
|
8202
8212
|
})(Za || (Za = {}));
|
|
8203
|
-
var
|
|
8213
|
+
var Li;
|
|
8204
8214
|
(function(e) {
|
|
8205
8215
|
e.LLMGenerated = 1;
|
|
8206
8216
|
function t(r) {
|
|
8207
8217
|
return j.defined(r) && r === e.LLMGenerated;
|
|
8208
8218
|
}
|
|
8209
8219
|
e.is = t;
|
|
8210
|
-
})(
|
|
8220
|
+
})(Li || (Li = {}));
|
|
8211
8221
|
var Ya;
|
|
8212
8222
|
(function(e) {
|
|
8213
8223
|
function t(n, i, a) {
|
|
@@ -8218,7 +8228,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8218
8228
|
e.create = t;
|
|
8219
8229
|
function r(n) {
|
|
8220
8230
|
const i = n;
|
|
8221
|
-
return i && j.string(i.title) && (i.diagnostics === void 0 || j.typedArray(i.diagnostics, Qr.is)) && (i.kind === void 0 || j.string(i.kind)) && (i.edit !== void 0 || i.command !== void 0) && (i.command === void 0 || bt.is(i.command)) && (i.isPreferred === void 0 || j.boolean(i.isPreferred)) && (i.edit === void 0 ||
|
|
8231
|
+
return i && j.string(i.title) && (i.diagnostics === void 0 || j.typedArray(i.diagnostics, Qr.is)) && (i.kind === void 0 || j.string(i.kind)) && (i.edit !== void 0 || i.command !== void 0) && (i.command === void 0 || bt.is(i.command)) && (i.isPreferred === void 0 || j.boolean(i.isPreferred)) && (i.edit === void 0 || ji.is(i.edit)) && (i.tags === void 0 || j.typedArray(i.tags, Li.is));
|
|
8222
8232
|
}
|
|
8223
8233
|
e.is = r;
|
|
8224
8234
|
})(Ya || (Ya = {}));
|
|
@@ -8358,15 +8368,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8358
8368
|
}
|
|
8359
8369
|
e.is = r;
|
|
8360
8370
|
})(so || (so = {}));
|
|
8361
|
-
var
|
|
8371
|
+
var Fi;
|
|
8362
8372
|
(function(e) {
|
|
8363
8373
|
e.Type = 1, e.Parameter = 2;
|
|
8364
8374
|
function t(r) {
|
|
8365
8375
|
return r === 1 || r === 2;
|
|
8366
8376
|
}
|
|
8367
8377
|
e.is = t;
|
|
8368
|
-
})(
|
|
8369
|
-
var
|
|
8378
|
+
})(Fi || (Fi = {}));
|
|
8379
|
+
var Ui;
|
|
8370
8380
|
(function(e) {
|
|
8371
8381
|
function t(n) {
|
|
8372
8382
|
return { value: n };
|
|
@@ -8377,7 +8387,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8377
8387
|
return j.objectLiteral(i) && (i.tooltip === void 0 || j.string(i.tooltip) || ut.is(i.tooltip)) && (i.location === void 0 || Wr.is(i.location)) && (i.command === void 0 || bt.is(i.command));
|
|
8378
8388
|
}
|
|
8379
8389
|
e.is = r;
|
|
8380
|
-
})(
|
|
8390
|
+
})(Ui || (Ui = {}));
|
|
8381
8391
|
var lo;
|
|
8382
8392
|
(function(e) {
|
|
8383
8393
|
function t(n, i, a) {
|
|
@@ -8390,11 +8400,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8390
8400
|
e.create = t;
|
|
8391
8401
|
function r(n) {
|
|
8392
8402
|
const i = n;
|
|
8393
|
-
return j.objectLiteral(i) && qe.is(i.position) && (j.string(i.label) || j.typedArray(i.label,
|
|
8403
|
+
return j.objectLiteral(i) && qe.is(i.position) && (j.string(i.label) || j.typedArray(i.label, Ui.is)) && (i.kind === void 0 || Fi.is(i.kind)) && i.textEdits === void 0 || j.typedArray(i.textEdits, _t.is) && (i.tooltip === void 0 || j.string(i.tooltip) || ut.is(i.tooltip)) && (i.paddingLeft === void 0 || j.boolean(i.paddingLeft)) && (i.paddingRight === void 0 || j.boolean(i.paddingRight));
|
|
8394
8404
|
}
|
|
8395
8405
|
e.is = r;
|
|
8396
8406
|
})(lo || (lo = {}));
|
|
8397
|
-
var
|
|
8407
|
+
var zi;
|
|
8398
8408
|
(function(e) {
|
|
8399
8409
|
function t(n) {
|
|
8400
8410
|
return {
|
|
@@ -8408,7 +8418,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8408
8418
|
return j.objectLiteral(i) && i.kind === "snippet" && j.string(i.value);
|
|
8409
8419
|
}
|
|
8410
8420
|
e.isSnippet = r;
|
|
8411
|
-
})(
|
|
8421
|
+
})(zi || (zi = {}));
|
|
8412
8422
|
var co;
|
|
8413
8423
|
(function(e) {
|
|
8414
8424
|
function t(r, n, i, a) {
|
|
@@ -8456,14 +8466,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8456
8466
|
(function(e) {
|
|
8457
8467
|
function t(r) {
|
|
8458
8468
|
const n = r;
|
|
8459
|
-
return j.objectLiteral(n) &&
|
|
8469
|
+
return j.objectLiteral(n) && Ti.is(n.uri) && j.string(n.name);
|
|
8460
8470
|
}
|
|
8461
8471
|
e.is = t;
|
|
8462
8472
|
})(mo || (mo = {}));
|
|
8463
8473
|
var go;
|
|
8464
8474
|
(function(e) {
|
|
8465
8475
|
function t(a, s, l, u) {
|
|
8466
|
-
return new
|
|
8476
|
+
return new cd(a, s, l, u);
|
|
8467
8477
|
}
|
|
8468
8478
|
e.create = t;
|
|
8469
8479
|
function r(a) {
|
|
@@ -8498,7 +8508,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8498
8508
|
return a;
|
|
8499
8509
|
}
|
|
8500
8510
|
})(go || (go = {}));
|
|
8501
|
-
var
|
|
8511
|
+
var cd = class {
|
|
8502
8512
|
constructor(e, t, r, n) {
|
|
8503
8513
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
8504
8514
|
}
|
|
@@ -8698,7 +8708,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8698
8708
|
}
|
|
8699
8709
|
e.update = r;
|
|
8700
8710
|
function n(i, a) {
|
|
8701
|
-
const s = i.getText(), l =
|
|
8711
|
+
const s = i.getText(), l = Bi(a.map(ud), (b, E) => {
|
|
8702
8712
|
const p = b.range.start.line - E.range.start.line;
|
|
8703
8713
|
return p === 0 ? b.range.start.character - E.range.start.character : p;
|
|
8704
8714
|
});
|
|
@@ -8713,10 +8723,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8713
8723
|
}
|
|
8714
8724
|
e.applyEdits = n;
|
|
8715
8725
|
})(bo || (bo = {}));
|
|
8716
|
-
function
|
|
8726
|
+
function Bi(e, t) {
|
|
8717
8727
|
if (e.length <= 1) return e;
|
|
8718
8728
|
const r = e.length / 2 | 0, n = e.slice(0, r), i = e.slice(r);
|
|
8719
|
-
|
|
8729
|
+
Bi(n, t), Bi(i, t);
|
|
8720
8730
|
let a = 0, s = 0, l = 0;
|
|
8721
8731
|
for (; a < n.length && s < i.length;) t(n[a], i[s]) <= 0 ? e[l++] = n[a++] : e[l++] = i[s++];
|
|
8722
8732
|
for (; a < n.length;) e[l++] = n[a++];
|
|
@@ -8741,7 +8751,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8741
8751
|
end: t
|
|
8742
8752
|
} : e;
|
|
8743
8753
|
}
|
|
8744
|
-
function
|
|
8754
|
+
function ud(e) {
|
|
8745
8755
|
const t = wo(e.range);
|
|
8746
8756
|
return t !== e.range ? {
|
|
8747
8757
|
newText: e.newText,
|
|
@@ -8769,7 +8779,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8769
8779
|
})(So || (So = {}));
|
|
8770
8780
|
var Pe = (function(e) {
|
|
8771
8781
|
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;
|
|
8772
|
-
})({}),
|
|
8782
|
+
})({}), dd = class {
|
|
8773
8783
|
source;
|
|
8774
8784
|
len;
|
|
8775
8785
|
position;
|
|
@@ -8837,19 +8847,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8837
8847
|
return this.goToEnd(), !1;
|
|
8838
8848
|
}
|
|
8839
8849
|
skipWhitespace() {
|
|
8840
|
-
return this.advanceWhileChar((e) => e ===
|
|
8850
|
+
return this.advanceWhileChar((e) => e === bd || e === _d || e === md || e === vd || e === gd) > 0;
|
|
8841
8851
|
}
|
|
8842
8852
|
advanceWhileChar(e) {
|
|
8843
8853
|
const t = this.position;
|
|
8844
8854
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
8845
8855
|
return this.position - t;
|
|
8846
8856
|
}
|
|
8847
|
-
}, Ao = 33, yt = 45, Yr = 60, Qe = 62,
|
|
8857
|
+
}, Ao = 33, yt = 45, Yr = 60, Qe = 62, qi = 47, pd = 61, fd = 34, hd = 39, md = 10, gd = 13, vd = 12, bd = 32, _d = 9, yd = {
|
|
8848
8858
|
"text/x-handlebars-template": !0,
|
|
8849
8859
|
"text/html": !0
|
|
8850
8860
|
};
|
|
8851
|
-
function
|
|
8852
|
-
const i = new
|
|
8861
|
+
function wd(e, t = 0, r = re.WithinContent, n = !1) {
|
|
8862
|
+
const i = new dd(e, t);
|
|
8853
8863
|
let a = r, s = 0, l = 18, u, m, b, E, p;
|
|
8854
8864
|
function c() {
|
|
8855
8865
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8889,7 +8899,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8889
8899
|
])) return a = re.WithinComment, w(_, 0);
|
|
8890
8900
|
if (i.advanceIfRegExp(/^!doctype/i)) return a = re.WithinDoctype, w(_, 13);
|
|
8891
8901
|
}
|
|
8892
|
-
return i.advanceIfChar(
|
|
8902
|
+
return i.advanceIfChar(qi) ? (a = re.AfterOpeningEndTag, w(_, 7)) : (a = re.AfterOpeningStartTag, w(_, 3));
|
|
8893
8903
|
}
|
|
8894
8904
|
return i.advanceUntilChar(Yr), w(_, 16);
|
|
8895
8905
|
case re.AfterOpeningEndTag: return c().length > 0 ? (a = re.WithinEndTag, w(_, 9)) : i.skipWhitespace() ? w(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinEndTag, i.advanceUntilChar(Qe), _ < i.pos() ? w(_, 18, "End tag name expected.") : I());
|
|
@@ -8900,14 +8910,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8900
8910
|
C = "Closing bracket expected.";
|
|
8901
8911
|
break;
|
|
8902
8912
|
case re.AfterOpeningStartTag: return b = c(), p = void 0, E = void 0, b.length > 0 ? (m = !1, a = re.WithinTag, w(_, 6)) : i.skipWhitespace() ? w(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinTag, i.advanceUntilChar(Qe), _ < i.pos() ? w(_, 18, "Start tag name expected.") : I());
|
|
8903
|
-
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([
|
|
8904
|
-
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(
|
|
8913
|
+
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([qi, Qe]) ? (a = re.WithinContent, w(_, 5)) : i.advanceIfChar(Qe) ? (b === "script" ? p && yd[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, w(_, 4)) : n && i.peekChar() === Yr ? (a = re.WithinContent, w(_, 4, "Closing bracket missing.")) : (i.advance(1), w(_, 18, "Unexpected character in tag."));
|
|
8914
|
+
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(pd) ? (a = re.BeforeAttributeValue, w(_, 10)) : (a = re.WithinTag, I());
|
|
8905
8915
|
case re.BeforeAttributeValue:
|
|
8906
8916
|
if (i.skipWhitespace()) return w(_, 17);
|
|
8907
8917
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8908
|
-
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) ===
|
|
8918
|
+
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) === qi && (i.goBack(1), d = d.substr(0, d.length - 1)), E === "type" && (p = d), a = re.WithinTag, m = !1, w(_, 12);
|
|
8909
8919
|
const f = i.peekChar();
|
|
8910
|
-
return f ===
|
|
8920
|
+
return f === hd || f === fd ? (i.advance(1), i.advanceUntilChar(f) && i.advance(1), E === "type" && (p = i.getSource().substring(_ + 1, i.pos() - 1)), a = re.WithinTag, m = !1, w(_, 12)) : (a = re.WithinTag, m = !1, I());
|
|
8911
8921
|
case re.WithinScriptContent:
|
|
8912
8922
|
let y = 1;
|
|
8913
8923
|
for (; !i.eos();) {
|
|
@@ -8938,7 +8948,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8938
8948
|
getTokenError: () => u
|
|
8939
8949
|
};
|
|
8940
8950
|
}
|
|
8941
|
-
function
|
|
8951
|
+
function Ed(e) {
|
|
8942
8952
|
if (typeof e == "string") {
|
|
8943
8953
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8944
8954
|
return e.substring(t, r);
|
|
@@ -8988,7 +8998,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8988
8998
|
this.dataManager = e;
|
|
8989
8999
|
}
|
|
8990
9000
|
parse(e, t = []) {
|
|
8991
|
-
const r =
|
|
9001
|
+
const r = wd(e, void 0, void 0, !0), n = new Ke(0, e.length, [], void 0);
|
|
8992
9002
|
n.type = ke.ROOT;
|
|
8993
9003
|
let i = n, a = -1, s, l = null, u = r.scan();
|
|
8994
9004
|
const m = () => {
|
|
@@ -9086,7 +9096,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9086
9096
|
}
|
|
9087
9097
|
case Pe.AttributeValue: {
|
|
9088
9098
|
const _ = r.getTokenText(), C = i.attributes;
|
|
9089
|
-
C && l && (C[l] =
|
|
9099
|
+
C && l && (C[l] = Ed(_), l = null);
|
|
9090
9100
|
break;
|
|
9091
9101
|
}
|
|
9092
9102
|
}
|
|
@@ -9125,7 +9135,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9125
9135
|
"wbr",
|
|
9126
9136
|
"vk-snippet-end"
|
|
9127
9137
|
]));
|
|
9128
|
-
var
|
|
9138
|
+
var xd = new ko(new pa([
|
|
9129
9139
|
"area",
|
|
9130
9140
|
"base",
|
|
9131
9141
|
"br",
|
|
@@ -9141,16 +9151,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9141
9151
|
"wbr",
|
|
9142
9152
|
"vk-snippet-end"
|
|
9143
9153
|
]));
|
|
9144
|
-
function
|
|
9145
|
-
return
|
|
9154
|
+
function Sd(e) {
|
|
9155
|
+
return xd.parse(e);
|
|
9146
9156
|
}
|
|
9147
|
-
function
|
|
9157
|
+
function Ad(e) {
|
|
9148
9158
|
if (e) {
|
|
9149
9159
|
const t = document.createElement("div");
|
|
9150
9160
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
9151
9161
|
} else return document.createTextNode("");
|
|
9152
9162
|
}
|
|
9153
|
-
function
|
|
9163
|
+
function Cd(e) {
|
|
9154
9164
|
let t;
|
|
9155
9165
|
switch (e?.toLowerCase()) {
|
|
9156
9166
|
case "tr":
|
|
@@ -9173,7 +9183,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9173
9183
|
}
|
|
9174
9184
|
return t;
|
|
9175
9185
|
}
|
|
9176
|
-
var
|
|
9186
|
+
var kd = new Set([
|
|
9177
9187
|
"onclick",
|
|
9178
9188
|
"onload",
|
|
9179
9189
|
"onchange",
|
|
@@ -9181,15 +9191,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9181
9191
|
"onmouseover",
|
|
9182
9192
|
"onkeydown",
|
|
9183
9193
|
"onerror"
|
|
9184
|
-
]),
|
|
9194
|
+
]), Td = new Set([
|
|
9185
9195
|
"script",
|
|
9186
9196
|
"style",
|
|
9187
9197
|
"xmp"
|
|
9188
9198
|
]);
|
|
9189
|
-
function
|
|
9190
|
-
return !(t &&
|
|
9199
|
+
function Od(e, t) {
|
|
9200
|
+
return !(t && Td.has(t.toLowerCase()) || kd.has(e.toLowerCase()));
|
|
9191
9201
|
}
|
|
9192
|
-
var
|
|
9202
|
+
var Pd = (e) => {
|
|
9193
9203
|
let t = e.indexOf("&");
|
|
9194
9204
|
for (; t !== -1;) {
|
|
9195
9205
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -9200,7 +9210,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9200
9210
|
function To(e, t, r) {
|
|
9201
9211
|
let n = e.tagName.toLowerCase();
|
|
9202
9212
|
n === "html" && (n = "div");
|
|
9203
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
9213
|
+
const i = `<${n} ${t}="${r}"/>`, a = Cd(n);
|
|
9204
9214
|
if (a instanceof Document) return;
|
|
9205
9215
|
a.innerHTML = i;
|
|
9206
9216
|
const s = a.querySelector(n);
|
|
@@ -9210,18 +9220,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9210
9220
|
}
|
|
9211
9221
|
function wt(e, t, r) {
|
|
9212
9222
|
try {
|
|
9213
|
-
|
|
9223
|
+
Od(t, e.tagName) && !Pd(r) ? e.setAttribute(t, r) : To(e, t, r);
|
|
9214
9224
|
} catch {
|
|
9215
9225
|
To(e, t, r);
|
|
9216
9226
|
}
|
|
9217
9227
|
}
|
|
9218
|
-
function
|
|
9228
|
+
function Hi(e, t = !0) {
|
|
9219
9229
|
const r = e.content;
|
|
9220
9230
|
switch (e.type) {
|
|
9221
9231
|
case ke.ROOT: {
|
|
9222
9232
|
const n = document.implementation.createHTMLDocument();
|
|
9223
9233
|
for (const i of [...n.childNodes]) n.removeChild(i);
|
|
9224
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9234
|
+
if (t) for (const i of e.children) n.appendChild(Hi(i));
|
|
9225
9235
|
return n;
|
|
9226
9236
|
}
|
|
9227
9237
|
case ke.DOCTYPE: return new DOMParser().parseFromString(`<!DOCTYPE${e.content}>`, "text/html").doctype;
|
|
@@ -9239,32 +9249,32 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9239
9249
|
wt(n, i, typeof a == "string" ? a : "");
|
|
9240
9250
|
} catch {}
|
|
9241
9251
|
}
|
|
9242
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9252
|
+
if (t) for (const i of e.children) n.appendChild(Hi(i));
|
|
9243
9253
|
return n;
|
|
9244
9254
|
}
|
|
9245
9255
|
return document.createTextNode("<");
|
|
9246
|
-
case ke.HTML: return
|
|
9256
|
+
case ke.HTML: return Ad(r || "");
|
|
9247
9257
|
default: throw new Error("unsupported node");
|
|
9248
9258
|
}
|
|
9249
9259
|
}
|
|
9250
|
-
function
|
|
9251
|
-
return
|
|
9260
|
+
function $i(e) {
|
|
9261
|
+
return Sd(e).roots.map((t) => Hi(t));
|
|
9252
9262
|
}
|
|
9253
9263
|
var Oo = Symbol("Error");
|
|
9254
9264
|
function Vt(e) {
|
|
9255
9265
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Oo) : t)).then((t) => t.filter((r) => r !== Oo));
|
|
9256
9266
|
}
|
|
9257
|
-
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
9267
|
+
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), Rd = new Set([
|
|
9258
9268
|
"https:",
|
|
9259
9269
|
"http:",
|
|
9260
9270
|
"file:"
|
|
9261
|
-
]),
|
|
9271
|
+
]), Nd = (e) => {
|
|
9262
9272
|
const t = e.indexOf(":");
|
|
9263
9273
|
if (t <= 0) return !1;
|
|
9264
9274
|
const r = e.substring(0, t + 1);
|
|
9265
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !
|
|
9275
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !Rd.has(r) : !1;
|
|
9266
9276
|
};
|
|
9267
|
-
function
|
|
9277
|
+
function Id(e, t) {
|
|
9268
9278
|
if (t = {
|
|
9269
9279
|
defaultProtocol: "http",
|
|
9270
9280
|
normalizeProtocol: !0,
|
|
@@ -9282,7 +9292,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9282
9292
|
sortQueryParameters: !0,
|
|
9283
9293
|
...t
|
|
9284
9294
|
}, !e) return "";
|
|
9285
|
-
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) ||
|
|
9295
|
+
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Nd(e)) return e;
|
|
9286
9296
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
9287
9297
|
let i;
|
|
9288
9298
|
try {
|
|
@@ -9332,22 +9342,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9332
9342
|
function Ro(e) {
|
|
9333
9343
|
if (!e) return !1;
|
|
9334
9344
|
const t = e[0];
|
|
9335
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
9345
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Md(t);
|
|
9336
9346
|
}
|
|
9337
|
-
function
|
|
9347
|
+
function Md(e) {
|
|
9338
9348
|
const t = e.charCodeAt(0);
|
|
9339
9349
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
9340
9350
|
}
|
|
9341
|
-
function
|
|
9351
|
+
function jd(e) {
|
|
9342
9352
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
9343
9353
|
}
|
|
9344
9354
|
function dt(e) {
|
|
9345
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) ||
|
|
9355
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) || jd(e)) return e;
|
|
9346
9356
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
9347
9357
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
9348
9358
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
9349
9359
|
}
|
|
9350
|
-
var Et = /<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,
|
|
9360
|
+
var Et = /<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, Dd = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, xt = /<style\b[^>]*>[\s\S]*?<\/style>/gi, No = /display:\s*none\s*!important/gi, Ld = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Fd = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Ud = /height\s*:\s*100%\s*!important/i, zd = [
|
|
9351
9361
|
".socialshare,",
|
|
9352
9362
|
".advertisment,",
|
|
9353
9363
|
".adHolder,",
|
|
@@ -9364,57 +9374,57 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9364
9374
|
"#advblock",
|
|
9365
9375
|
"body { overflow: visible!important; }"
|
|
9366
9376
|
];
|
|
9367
|
-
function
|
|
9377
|
+
function Bd(e) {
|
|
9368
9378
|
return No.lastIndex = 0, (e.match(No) || []).length;
|
|
9369
9379
|
}
|
|
9370
9380
|
function Io(e) {
|
|
9371
|
-
const t = e.trim(), r =
|
|
9381
|
+
const t = e.trim(), r = Bd(t);
|
|
9372
9382
|
if (r === 0) return !1;
|
|
9373
9383
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
9374
|
-
const n =
|
|
9384
|
+
const n = zd.filter((i) => t.includes(i)).length;
|
|
9375
9385
|
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);
|
|
9376
9386
|
}
|
|
9377
|
-
function
|
|
9387
|
+
function qd(e) {
|
|
9378
9388
|
xt.lastIndex = 0;
|
|
9379
9389
|
for (const t of e.matchAll(xt)) if (Io(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
9380
9390
|
return !1;
|
|
9381
9391
|
}
|
|
9382
|
-
function
|
|
9392
|
+
function Hd(e) {
|
|
9383
9393
|
let t = !1;
|
|
9384
9394
|
return xt.lastIndex = 0, {
|
|
9385
9395
|
html: e.replace(xt, (r) => Io(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
9386
9396
|
found: t
|
|
9387
9397
|
};
|
|
9388
9398
|
}
|
|
9389
|
-
function
|
|
9390
|
-
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
9399
|
+
function $d(e) {
|
|
9400
|
+
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || qd(e);
|
|
9391
9401
|
}
|
|
9392
9402
|
function Mo(e) {
|
|
9393
|
-
if (
|
|
9403
|
+
if (!$d(e)) return {
|
|
9394
9404
|
html: e,
|
|
9395
9405
|
found: !1
|
|
9396
9406
|
};
|
|
9397
9407
|
let t = !1, r = e;
|
|
9398
|
-
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(
|
|
9399
|
-
const n =
|
|
9408
|
+
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Dd, ""), t = !0);
|
|
9409
|
+
const n = Hd(r);
|
|
9400
9410
|
return r = n.html, t = t || n.found, {
|
|
9401
9411
|
html: r,
|
|
9402
9412
|
found: t
|
|
9403
9413
|
};
|
|
9404
9414
|
}
|
|
9405
|
-
function
|
|
9406
|
-
return !e || !
|
|
9415
|
+
function Wd(e) {
|
|
9416
|
+
return !e || !Ud.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Ld, (r, n, i, a) => `${n}${i.replace(Fd, "")}${a}`)));
|
|
9407
9417
|
}
|
|
9408
|
-
function
|
|
9418
|
+
function Qd(e) {
|
|
9409
9419
|
const t = Mo(e.replaceAll(`\r
|
|
9410
9420
|
`, `
|
|
9411
9421
|
`));
|
|
9412
9422
|
return {
|
|
9413
|
-
html:
|
|
9423
|
+
html: Wd(t.html),
|
|
9414
9424
|
hasBrowserExtensionArtifacts: t.found
|
|
9415
9425
|
};
|
|
9416
9426
|
}
|
|
9417
|
-
var
|
|
9427
|
+
var Gd = Z.__commonJSMin(((e, t) => {
|
|
9418
9428
|
(function(r, n) {
|
|
9419
9429
|
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 = {}));
|
|
9420
9430
|
})(e, (function(r) {
|
|
@@ -10332,33 +10342,33 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10332
10342
|
r.ChildListChange = i, r.MutationProjection = m, r.MutationSummary = I, r.NodeChange = l, r.NodeMap = n, r.Qualifier = E, r.Selector = w, r.Summary = b, r.TreeChanges = u, r.TreeMirror = _, r.TreeMirrorClient = C, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
10333
10343
|
}));
|
|
10334
10344
|
}))(), St = 0, At = new Array(1e3);
|
|
10335
|
-
function
|
|
10345
|
+
function Zd() {
|
|
10336
10346
|
for (let e = 0; e < St; e += 2) {
|
|
10337
10347
|
const t = At[e], r = At[e + 1];
|
|
10338
10348
|
t(...r), At[e] = void 0, At[e + 1] = void 0;
|
|
10339
10349
|
}
|
|
10340
10350
|
St = 0;
|
|
10341
10351
|
}
|
|
10342
|
-
function
|
|
10343
|
-
At[St] = e, At[St + 1] = t, St += 2, St === 2 &&
|
|
10352
|
+
function Yd(e, ...t) {
|
|
10353
|
+
At[St] = e, At[St + 1] = t, St += 2, St === 2 && Xd();
|
|
10344
10354
|
}
|
|
10345
|
-
function
|
|
10355
|
+
function Jd() {
|
|
10346
10356
|
let e = 0;
|
|
10347
|
-
const t = new MutationObserver(
|
|
10357
|
+
const t = new MutationObserver(Zd), r = document.createTextNode("");
|
|
10348
10358
|
return t.observe(r, { characterData: !0 }), () => {
|
|
10349
10359
|
r.data = String(e = ++e % 2);
|
|
10350
10360
|
};
|
|
10351
10361
|
}
|
|
10352
|
-
var
|
|
10362
|
+
var Xd = Jd();
|
|
10353
10363
|
function jo() {
|
|
10354
|
-
|
|
10355
|
-
|
|
10364
|
+
Yd(() => {
|
|
10365
|
+
Wi.hasListeners() && (Wi.fire(), jo());
|
|
10356
10366
|
});
|
|
10357
10367
|
}
|
|
10358
|
-
var
|
|
10368
|
+
var Wi = new O.Emitter({ onFirstListenerAdd: jo }), Qi = Wi.once, Kd = class extends O.Emitter {
|
|
10359
10369
|
_mutationSummary;
|
|
10360
10370
|
constructor(e = {}) {
|
|
10361
|
-
super(), this._mutationSummary = new
|
|
10371
|
+
super(), this._mutationSummary = new Gd.MutationSummary({
|
|
10362
10372
|
...e,
|
|
10363
10373
|
observeOwnChanges: !0,
|
|
10364
10374
|
callback: (t) => this.fire(t),
|
|
@@ -10372,7 +10382,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10372
10382
|
const t = this._mutationSummary.takeSummaries();
|
|
10373
10383
|
return (e || t?.length) && this.fire(t || []), t;
|
|
10374
10384
|
}
|
|
10375
|
-
},
|
|
10385
|
+
}, ep = class extends O.Disposable {
|
|
10376
10386
|
_mutationEmitter;
|
|
10377
10387
|
_innerEmitter = this.addDisposable(new O.Emitter({ onFirstListenerAdd: () => {
|
|
10378
10388
|
this._nextTickHandler();
|
|
@@ -10382,13 +10392,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10382
10392
|
_stopped = 0;
|
|
10383
10393
|
_summaries = [];
|
|
10384
10394
|
_nextTickHandler() {
|
|
10385
|
-
|
|
10395
|
+
Qi(() => {
|
|
10386
10396
|
this.trigger(), this._summaries.length && (this._innerEmitter.hasListeners() ? this._innerEmitter.fire(this._summaries) : this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10387
10397
|
}, Number.MAX_VALUE);
|
|
10388
10398
|
}
|
|
10389
10399
|
constructor(e = {}) {
|
|
10390
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
10391
|
-
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t),
|
|
10400
|
+
super(), this._mutationEmitter = this.addDisposable(new Kd(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
10401
|
+
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Qi(() => {
|
|
10392
10402
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10393
10403
|
}, Number.MAX_VALUE)));
|
|
10394
10404
|
}));
|
|
@@ -10415,7 +10425,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10415
10425
|
onLost = this._lostEmitter.event;
|
|
10416
10426
|
onNativeMutate;
|
|
10417
10427
|
};
|
|
10418
|
-
function
|
|
10428
|
+
function tp(e) {
|
|
10419
10429
|
for (const t of e) {
|
|
10420
10430
|
if (t.removed) for (const r of t.removed) {
|
|
10421
10431
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -10436,21 +10446,21 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10436
10446
|
const i = t.getOldAttribute(n, r);
|
|
10437
10447
|
i == null ? n.removeAttribute(r) : n.setAttribute(r, i);
|
|
10438
10448
|
}
|
|
10439
|
-
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) ||
|
|
10449
|
+
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) || ki(r) || ki(r)) && (r.data = t.getOldCharacterData(r));
|
|
10440
10450
|
}
|
|
10441
10451
|
}
|
|
10442
|
-
var
|
|
10452
|
+
var rp = class extends O.Disposable {
|
|
10443
10453
|
_commitPromise;
|
|
10444
10454
|
_mutationCollector;
|
|
10445
10455
|
_onLostSummaries = (e) => {
|
|
10446
10456
|
try {
|
|
10447
|
-
this._mutationCollector.stop(),
|
|
10457
|
+
this._mutationCollector.stop(), tp(e);
|
|
10448
10458
|
} finally {
|
|
10449
10459
|
this._mutationCollector.start();
|
|
10450
10460
|
}
|
|
10451
10461
|
};
|
|
10452
10462
|
constructor(e) {
|
|
10453
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
10463
|
+
super(), this._mutationCollector = this.addDisposable(new ep({
|
|
10454
10464
|
rootNode: e,
|
|
10455
10465
|
oldPreviousSibling: !0
|
|
10456
10466
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -10462,7 +10472,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10462
10472
|
const r = this._mutationCollector.onMutate((n) => {
|
|
10463
10473
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10464
10474
|
});
|
|
10465
|
-
|
|
10475
|
+
Qi(() => {
|
|
10466
10476
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10467
10477
|
});
|
|
10468
10478
|
});
|
|
@@ -10479,7 +10489,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10479
10489
|
return s.html = Mo(s.html).html, s;
|
|
10480
10490
|
}, n = new O.AsyncEmitter(), i = new O.AsyncEmitter();
|
|
10481
10491
|
try {
|
|
10482
|
-
const a =
|
|
10492
|
+
const a = $i(e), s = document.implementation.createHTMLDocument();
|
|
10483
10493
|
return da(s, a), {
|
|
10484
10494
|
document: s,
|
|
10485
10495
|
handleRender: i.event,
|
|
@@ -10488,7 +10498,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10488
10498
|
if (i.hasListeners()) {
|
|
10489
10499
|
const l = document.createElement("iframe");
|
|
10490
10500
|
l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
|
|
10491
|
-
const u = l.contentWindow.document, m = new
|
|
10501
|
+
const u = l.contentWindow.document, m = new rp(l.contentDocument);
|
|
10492
10502
|
let b;
|
|
10493
10503
|
try {
|
|
10494
10504
|
if (t) {
|
|
@@ -10523,8 +10533,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10523
10533
|
throw a;
|
|
10524
10534
|
}
|
|
10525
10535
|
}
|
|
10526
|
-
var
|
|
10527
|
-
function
|
|
10536
|
+
var ip = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
10537
|
+
function np(e) {
|
|
10528
10538
|
return e.arrayBuffer().then((t) => {
|
|
10529
10539
|
const r = new Uint8Array(t);
|
|
10530
10540
|
let n = "";
|
|
@@ -10532,17 +10542,17 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10532
10542
|
return btoa(n);
|
|
10533
10543
|
});
|
|
10534
10544
|
}
|
|
10535
|
-
function
|
|
10545
|
+
function Vi(e, t = 76) {
|
|
10536
10546
|
if (e = e.replace(/[\r\n\s]/g, ""), !e) return e;
|
|
10537
10547
|
const r = [];
|
|
10538
10548
|
for (let n = 0; n < e.length; n += t) r.push(e.slice(n, n + t));
|
|
10539
10549
|
return r.join(`
|
|
10540
10550
|
`);
|
|
10541
10551
|
}
|
|
10542
|
-
function
|
|
10552
|
+
function Jr(e) {
|
|
10543
10553
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
10544
10554
|
}
|
|
10545
|
-
async function
|
|
10555
|
+
async function ap(e, t, r, n, i, a, s) {
|
|
10546
10556
|
const l = [];
|
|
10547
10557
|
a && (a.attachments = l);
|
|
10548
10558
|
let u = "";
|
|
@@ -10582,27 +10592,27 @@ ${E.base64}\r
|
|
|
10582
10592
|
\r
|
|
10583
10593
|
${u}`;
|
|
10584
10594
|
}
|
|
10585
|
-
function
|
|
10595
|
+
function op(e, t = !0) {
|
|
10586
10596
|
const r = Ie.decodeFileNameFromPath(e);
|
|
10587
|
-
return t ?
|
|
10597
|
+
return t ? Jr(r) : r;
|
|
10588
10598
|
}
|
|
10589
|
-
function
|
|
10599
|
+
function sp(e) {
|
|
10590
10600
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
10591
10601
|
}
|
|
10592
10602
|
function Lo(e) {
|
|
10593
10603
|
const t = Ie.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
10594
|
-
return r === -1 || !
|
|
10604
|
+
return r === -1 || !sp(n) ? [Jr(t), ""] : [Jr(t.slice(0, r)), n];
|
|
10595
10605
|
}
|
|
10596
|
-
function
|
|
10606
|
+
function lp(e) {
|
|
10597
10607
|
return Bo(e).then((t) => qo(t));
|
|
10598
10608
|
}
|
|
10599
10609
|
function Fo(e) {
|
|
10600
10610
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
10601
10611
|
}
|
|
10602
|
-
var Ve = new
|
|
10612
|
+
var Ve = new Bu((e) => {
|
|
10603
10613
|
e.escape("<script", "<\/script>", (t) => Fo(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => Fo(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), Kn(e);
|
|
10604
10614
|
});
|
|
10605
|
-
async function
|
|
10615
|
+
async function Xr(e, t, r, n) {
|
|
10606
10616
|
e = Ve.getEscapedText(e);
|
|
10607
10617
|
const i = Do(e, r);
|
|
10608
10618
|
try {
|
|
@@ -10623,7 +10633,7 @@ ${u}`;
|
|
|
10623
10633
|
}
|
|
10624
10634
|
return Ve.getUnescapedText(e, !1, n);
|
|
10625
10635
|
}
|
|
10626
|
-
function
|
|
10636
|
+
function Kr(e, t, r) {
|
|
10627
10637
|
try {
|
|
10628
10638
|
if (typeof r == "function") {
|
|
10629
10639
|
const n = [];
|
|
@@ -10639,13 +10649,13 @@ ${u}`;
|
|
|
10639
10649
|
return Promise.reject(n);
|
|
10640
10650
|
}
|
|
10641
10651
|
}
|
|
10642
|
-
async function
|
|
10652
|
+
async function cp(e, t, r = new Map(), n) {
|
|
10643
10653
|
const i = (E) => {
|
|
10644
10654
|
let p = r.get(E);
|
|
10645
10655
|
return p || (p = t(E), r.set(E, p)), p instanceof Promise ? p : Promise.resolve(p);
|
|
10646
10656
|
};
|
|
10647
10657
|
function a(E) {
|
|
10648
|
-
return
|
|
10658
|
+
return Kr(E, ip, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
|
|
10649
10659
|
}
|
|
10650
10660
|
async function s(E) {
|
|
10651
10661
|
const p = E.getAttribute("style");
|
|
@@ -10667,7 +10677,7 @@ ${u}`;
|
|
|
10667
10677
|
const p = E.getAttribute("background");
|
|
10668
10678
|
if (p && b.push(i(p).then((c) => {
|
|
10669
10679
|
E.setAttribute("background", c || p), n && n();
|
|
10670
|
-
})), sa(E) ||
|
|
10680
|
+
})), sa(E) || Yu(E)) {
|
|
10671
10681
|
const c = E.getAttribute("src"), h = c && Ve.hasDetectedMappings(c, !0, !0) ? c : ("src" in E ? E.src : "") || c;
|
|
10672
10682
|
h && b.push(i(h).then((w) => {
|
|
10673
10683
|
w || (w = h), E.setAttribute("src", w), n && n();
|
|
@@ -10679,19 +10689,19 @@ ${u}`;
|
|
|
10679
10689
|
h !== c && (E.innerHTML = h, n && n());
|
|
10680
10690
|
}));
|
|
10681
10691
|
}
|
|
10682
|
-
} else if (
|
|
10683
|
-
const p =
|
|
10684
|
-
c && b.push(
|
|
10685
|
-
c !== h && (E.replaceWith(
|
|
10692
|
+
} else if (ki(E)) {
|
|
10693
|
+
const p = ad(E), c = p?.content;
|
|
10694
|
+
c && b.push(Kr(c, /<v:fill.*>/gi, async (h) => Kr(await Kr(h, /src="([^"]*)"/gi, async (w, k) => `src="${await i(k) || k}"`), /src='([^']*)'/gi, async (w, k) => `src='${await i(k) || k}'`)).then((h) => {
|
|
10695
|
+
c !== h && (E.replaceWith($i(`${p.open}${h}${p.close}`)[0]), n && n());
|
|
10686
10696
|
}));
|
|
10687
10697
|
}
|
|
10688
10698
|
}
|
|
10689
10699
|
return Vt(b);
|
|
10690
10700
|
}
|
|
10691
10701
|
async function Gt(e, t, r = new Map(), n) {
|
|
10692
|
-
await
|
|
10702
|
+
await cp(e, t, r, n);
|
|
10693
10703
|
}
|
|
10694
|
-
function
|
|
10704
|
+
function up(e) {
|
|
10695
10705
|
const t = new Map();
|
|
10696
10706
|
let r = 0;
|
|
10697
10707
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -10700,7 +10710,7 @@ ${u}`;
|
|
|
10700
10710
|
}
|
|
10701
10711
|
return t;
|
|
10702
10712
|
}
|
|
10703
|
-
function
|
|
10713
|
+
function dp(e) {
|
|
10704
10714
|
return !!e && Ve.hasDetectedMappings(e, !0, !0);
|
|
10705
10715
|
}
|
|
10706
10716
|
function Uo(e, t) {
|
|
@@ -10713,7 +10723,7 @@ ${u}`;
|
|
|
10713
10723
|
if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
|
|
10714
10724
|
return u === s ? e : i + (u ? `?${u}` : "") + (n ? `#${n}` : "");
|
|
10715
10725
|
}
|
|
10716
|
-
function
|
|
10726
|
+
function pp(e) {
|
|
10717
10727
|
const t = Ve.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], n = [];
|
|
10718
10728
|
let i = e;
|
|
10719
10729
|
for (const { range: a } of t) {
|
|
@@ -10729,9 +10739,9 @@ ${u}`;
|
|
|
10729
10739
|
restore: (a) => n.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
|
|
10730
10740
|
};
|
|
10731
10741
|
}
|
|
10732
|
-
function
|
|
10742
|
+
function fp(e, t, r, n) {
|
|
10733
10743
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
10734
|
-
const { masked: i, tokens: a, restore: s } =
|
|
10744
|
+
const { masked: i, tokens: a, restore: s } = pp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
|
|
10735
10745
|
if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
|
|
10736
10746
|
const b = Uo(i, r);
|
|
10737
10747
|
if (b === i) return;
|
|
@@ -10740,13 +10750,13 @@ ${u}`;
|
|
|
10740
10750
|
}
|
|
10741
10751
|
function Gi(e, t, r) {
|
|
10742
10752
|
const n = e.getAttribute("href");
|
|
10743
|
-
if (
|
|
10744
|
-
|
|
10753
|
+
if (dp(n)) {
|
|
10754
|
+
fp(e, n, t, r);
|
|
10745
10755
|
return;
|
|
10746
10756
|
}
|
|
10747
10757
|
let i = e.href;
|
|
10748
10758
|
if (i = dt(i), i && e.protocol.startsWith("http")) {
|
|
10749
|
-
const a =
|
|
10759
|
+
const a = up(i);
|
|
10750
10760
|
if (a.forEach((s, l) => {
|
|
10751
10761
|
i = i.replaceAll(l, s);
|
|
10752
10762
|
}), e.host !== document.location.host) {
|
|
@@ -10757,9 +10767,9 @@ ${u}`;
|
|
|
10757
10767
|
}
|
|
10758
10768
|
}
|
|
10759
10769
|
}
|
|
10760
|
-
async function
|
|
10770
|
+
async function hp(e, t, r, n, i) {
|
|
10761
10771
|
let [a, s] = t || [800];
|
|
10762
|
-
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await
|
|
10772
|
+
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Xr(e, async (l) => {
|
|
10763
10773
|
const u = l.document;
|
|
10764
10774
|
await Gt(u, (b) => Ve.getEscapedText(b) !== b ? b : dt(b));
|
|
10765
10775
|
const m = u.querySelectorAll("a");
|
|
@@ -10769,7 +10779,7 @@ ${u}`;
|
|
|
10769
10779
|
}
|
|
10770
10780
|
async function zo(e, t, r, n, i, a) {
|
|
10771
10781
|
let [s, l] = t || [800];
|
|
10772
|
-
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await
|
|
10782
|
+
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await Xr(e, async (u) => {
|
|
10773
10783
|
const m = u.document;
|
|
10774
10784
|
if (await Gt(m, (b) => Ve.getEscapedText(b) !== b ? b : dt(b)), u.handleRender(async ({ contentDocument: b, managedNodeController: E }) => {
|
|
10775
10785
|
const p = b.querySelectorAll("*");
|
|
@@ -10780,7 +10790,7 @@ ${u}`;
|
|
|
10780
10790
|
isNaN(w) || c.setAttribute("height", String(w)), !isNaN(k) && !c.getAttribute("width") && c.setAttribute("width", String(k));
|
|
10781
10791
|
}
|
|
10782
10792
|
E.commit();
|
|
10783
|
-
} else if (
|
|
10793
|
+
} else if (od(c)) {
|
|
10784
10794
|
const h = parseInt(getComputedStyle(c).width);
|
|
10785
10795
|
!isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), E.commit();
|
|
10786
10796
|
} else c.tagName === "TD" || c.tagName === "A" && Gi(c, r, () => E.commit());
|
|
@@ -10800,7 +10810,7 @@ ${u}`;
|
|
|
10800
10810
|
return E.push({
|
|
10801
10811
|
cid: d,
|
|
10802
10812
|
mimeType: C[1] || "application/octet-stream",
|
|
10803
|
-
base64:
|
|
10813
|
+
base64: Vi(C[2])
|
|
10804
10814
|
}), `cid:${d}`;
|
|
10805
10815
|
}
|
|
10806
10816
|
return k;
|
|
@@ -10813,17 +10823,17 @@ ${u}`;
|
|
|
10813
10823
|
return E.push({
|
|
10814
10824
|
cid: d,
|
|
10815
10825
|
mimeType: C[1] || "application/octet-stream",
|
|
10816
|
-
base64:
|
|
10826
|
+
base64: Vi(C[2])
|
|
10817
10827
|
}), `cid:${d}`;
|
|
10818
10828
|
}
|
|
10819
10829
|
return _;
|
|
10820
10830
|
}
|
|
10821
10831
|
try {
|
|
10822
|
-
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await
|
|
10832
|
+
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await np(C);
|
|
10823
10833
|
return E.push({
|
|
10824
10834
|
cid: d,
|
|
10825
10835
|
mimeType: C.type || "application/octet-stream",
|
|
10826
|
-
base64:
|
|
10836
|
+
base64: Vi(f)
|
|
10827
10837
|
}), `cid:${d}`;
|
|
10828
10838
|
} catch {
|
|
10829
10839
|
return _;
|
|
@@ -10836,28 +10846,28 @@ ${u}`;
|
|
|
10836
10846
|
if (n) return n(u);
|
|
10837
10847
|
}, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
10838
10848
|
}
|
|
10839
|
-
var
|
|
10840
|
-
function
|
|
10849
|
+
var mp = "images", gp = 40;
|
|
10850
|
+
function vp() {
|
|
10841
10851
|
const e = new Date();
|
|
10842
10852
|
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("")}`;
|
|
10843
10853
|
}
|
|
10844
|
-
async function
|
|
10854
|
+
async function bp(e, t, r, n = lp, i, a) {
|
|
10845
10855
|
const s = Object.create(null);
|
|
10846
10856
|
let [l, u] = t || [800];
|
|
10847
10857
|
typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
|
|
10848
|
-
const m = new Set(), b = await
|
|
10858
|
+
const m = new Set(), b = await Xr(e, async (E) => {
|
|
10849
10859
|
const p = E.document;
|
|
10850
10860
|
await Gt(p, async (h) => {
|
|
10851
10861
|
Ve.getEscapedText(h) === h && (h = dt(h));
|
|
10852
10862
|
const w = await n(h);
|
|
10853
10863
|
let [k, I] = Lo(h);
|
|
10854
|
-
if (k.length >
|
|
10855
|
-
I =
|
|
10864
|
+
if (k.length > gp && (k = vp()), !I || !_i.getType(I)) try {
|
|
10865
|
+
I = _i.getExtension(w.type);
|
|
10856
10866
|
} catch {}
|
|
10857
10867
|
let _ = `${k}.${I}`, C = 1;
|
|
10858
10868
|
for (; m.has(_);) _ = `${k}(${++C}).${I}`;
|
|
10859
10869
|
m.add(_);
|
|
10860
|
-
const d = `${
|
|
10870
|
+
const d = `${mp}/${_}`;
|
|
10861
10871
|
return s[d] = w, d;
|
|
10862
10872
|
});
|
|
10863
10873
|
const c = p.querySelectorAll("a");
|
|
@@ -10866,7 +10876,7 @@ ${u}`;
|
|
|
10866
10876
|
}, [l, u], a);
|
|
10867
10877
|
return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
|
|
10868
10878
|
}
|
|
10869
|
-
function
|
|
10879
|
+
function _p(e) {
|
|
10870
10880
|
const t = new En.default();
|
|
10871
10881
|
for (const r of Object.keys(e)) {
|
|
10872
10882
|
let n = t;
|
|
@@ -10889,7 +10899,7 @@ ${u}`;
|
|
|
10889
10899
|
const n = document.createElement("canvas");
|
|
10890
10900
|
return n.width = e.width, n.height = e.height, n.getContext("2d").drawImage(e, 0, 0), new Promise((i, a) => n.toBlob((s) => s ? i(s) : a("blob is null"), t, Number(r) || 0));
|
|
10891
10901
|
}
|
|
10892
|
-
function
|
|
10902
|
+
function yp(e, t) {
|
|
10893
10903
|
do {
|
|
10894
10904
|
if (e === t) return !0;
|
|
10895
10905
|
e = e.parentNode;
|
|
@@ -10898,13 +10908,13 @@ ${u}`;
|
|
|
10898
10908
|
}
|
|
10899
10909
|
function Ho(e) {
|
|
10900
10910
|
const t = e.ownerDocument?.body;
|
|
10901
|
-
if (t &&
|
|
10911
|
+
if (t && yp(e, t)) {
|
|
10902
10912
|
if (et(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10903
10913
|
if (e.nodeName === "#text") return e.textContent;
|
|
10904
10914
|
}
|
|
10905
10915
|
return e.childNodes ? [...e.childNodes].map(Ho).join("") : "";
|
|
10906
10916
|
}
|
|
10907
|
-
function
|
|
10917
|
+
function wp(e) {
|
|
10908
10918
|
const { document: t } = Do(e);
|
|
10909
10919
|
try {
|
|
10910
10920
|
return Ho(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10931,22 +10941,22 @@ ${u}`;
|
|
|
10931
10941
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10932
10942
|
return t;
|
|
10933
10943
|
}
|
|
10934
|
-
function
|
|
10944
|
+
function Ep(e) {
|
|
10935
10945
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10936
10946
|
}
|
|
10937
|
-
function
|
|
10947
|
+
function xp(e) {
|
|
10938
10948
|
const t = Zt(e);
|
|
10939
10949
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10940
10950
|
const r = e.createElement("style");
|
|
10941
10951
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10942
10952
|
}
|
|
10943
10953
|
}
|
|
10944
|
-
function
|
|
10954
|
+
function Sp(e) {
|
|
10945
10955
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10946
10956
|
t && t.remove();
|
|
10947
10957
|
}
|
|
10948
|
-
var
|
|
10949
|
-
function
|
|
10958
|
+
var ei = "amp-custom";
|
|
10959
|
+
function Ap(e, t) {
|
|
10950
10960
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10951
10961
|
}
|
|
10952
10962
|
function Qo(e, t, r) {
|
|
@@ -10954,7 +10964,7 @@ ${u}`;
|
|
|
10954
10964
|
const i = n.selectorText.split(/\+>~/).flatMap((a) => a.trim().split(" "));
|
|
10955
10965
|
if (i.length === 1 && i[0].trim().startsWith(".em-")) {
|
|
10956
10966
|
for (const a of n.style) if (n.style.getPropertyPriority(a) === "important") {
|
|
10957
|
-
for (const s of e.querySelectorAll(n.selectorText)) if (
|
|
10967
|
+
for (const s of e.querySelectorAll(n.selectorText)) if (Ai(s)) {
|
|
10958
10968
|
const l = s.style;
|
|
10959
10969
|
for (const u of [...l]) if (u.startsWith(a)) {
|
|
10960
10970
|
const m = r(u, l.getPropertyValue(u)), b = s.getAttribute("class");
|
|
@@ -10970,7 +10980,7 @@ ${u}`;
|
|
|
10970
10980
|
if (r) {
|
|
10971
10981
|
const a = new Set();
|
|
10972
10982
|
Qo(e, r.cssRules, (s, l) => {
|
|
10973
|
-
const u =
|
|
10983
|
+
const u = Ap(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
|
|
10974
10984
|
return !m.find((E) => Wt.isStyleRule(E) && E.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
|
|
10975
10985
|
.${u} { ${s}: ${l} };
|
|
10976
10986
|
${t.innerHTML}`), u;
|
|
@@ -10982,11 +10992,11 @@ ${t.innerHTML}`);
|
|
|
10982
10992
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
10983
10993
|
n !== i && (t.innerHTML = i);
|
|
10984
10994
|
}
|
|
10985
|
-
function
|
|
10995
|
+
function Cp(e) {
|
|
10986
10996
|
const t = Zt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
10987
10997
|
if (n.length === 1) {
|
|
10988
10998
|
const a = n[0];
|
|
10989
|
-
if (a.parentElement === t && a.getAttribute(
|
|
10999
|
+
if (a.parentElement === t && a.getAttribute(ei) === "") {
|
|
10990
11000
|
Vo(e, a);
|
|
10991
11001
|
return;
|
|
10992
11002
|
}
|
|
@@ -10997,30 +11007,30 @@ ${t.innerHTML}`);
|
|
|
10997
11007
|
const a = e.createElement("style");
|
|
10998
11008
|
a.innerHTML = `
|
|
10999
11009
|
${i.join("")}
|
|
11000
|
-
`, a.setAttribute(
|
|
11010
|
+
`, a.setAttribute(ei, ""), t.append(a), Vo(e, a);
|
|
11001
11011
|
}
|
|
11002
11012
|
for (const a of r) a.remove();
|
|
11003
11013
|
}
|
|
11004
|
-
function Ap(e) {
|
|
11005
|
-
const t = e.querySelector(`style[${Kr}]`);
|
|
11006
|
-
t && t.removeAttribute(Kr);
|
|
11007
|
-
}
|
|
11008
|
-
var Cp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ei = "<!doctype html>";
|
|
11009
11014
|
function kp(e) {
|
|
11015
|
+
const t = e.querySelector(`style[${ei}]`);
|
|
11016
|
+
t && t.removeAttribute(ei);
|
|
11017
|
+
}
|
|
11018
|
+
var Tp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ti = "<!doctype html>";
|
|
11019
|
+
function Op(e) {
|
|
11010
11020
|
const t = e.doctype;
|
|
11011
11021
|
if (t) {
|
|
11012
|
-
if (
|
|
11013
|
-
const r = new DOMParser().parseFromString(
|
|
11022
|
+
if (Si(t) === ti) return;
|
|
11023
|
+
const r = new DOMParser().parseFromString(ti, "text/html").doctype;
|
|
11014
11024
|
e.replaceChild(r, t);
|
|
11015
11025
|
} else {
|
|
11016
|
-
const r = new DOMParser().parseFromString(
|
|
11026
|
+
const r = new DOMParser().parseFromString(ti, "text/html").doctype;
|
|
11017
11027
|
e.insertBefore(r, e.firstChild);
|
|
11018
11028
|
}
|
|
11019
11029
|
}
|
|
11020
|
-
function
|
|
11030
|
+
function Pp(e) {
|
|
11021
11031
|
const t = e.doctype;
|
|
11022
|
-
if (t &&
|
|
11023
|
-
const r = new DOMParser().parseFromString(
|
|
11032
|
+
if (t && Si(t).toLowerCase() === ti) {
|
|
11033
|
+
const r = new DOMParser().parseFromString(Tp, "text/html").doctype;
|
|
11024
11034
|
e.replaceChild(r, t);
|
|
11025
11035
|
}
|
|
11026
11036
|
}
|
|
@@ -11028,8 +11038,8 @@ ${i.join("")}
|
|
|
11028
11038
|
const r = document.createElement("amp-img"), n = await ca(e) || void 0, i = [];
|
|
11029
11039
|
try {
|
|
11030
11040
|
let a = e;
|
|
11031
|
-
for (; a &&
|
|
11032
|
-
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u =
|
|
11041
|
+
for (; a && Ai(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
11042
|
+
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = Ep(e);
|
|
11033
11043
|
let m = !1;
|
|
11034
11044
|
if (u) {
|
|
11035
11045
|
const E = u.getAttribute("width");
|
|
@@ -11056,12 +11066,12 @@ ${i.join("")}
|
|
|
11056
11066
|
}
|
|
11057
11067
|
return r;
|
|
11058
11068
|
}
|
|
11059
|
-
function
|
|
11069
|
+
function Rp(e) {
|
|
11060
11070
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Wo(e), a = r === "responsive";
|
|
11061
11071
|
for (const s of Object.keys(i)) wt(t, s, i[s]);
|
|
11062
11072
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
11063
11073
|
}
|
|
11064
|
-
async function
|
|
11074
|
+
async function Np(e, t) {
|
|
11065
11075
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
11066
11076
|
for (const a of r) n.push(Go(a).then((s) => [a, s], () => [a, void 0]));
|
|
11067
11077
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -11075,12 +11085,12 @@ ${i.join("")}
|
|
|
11075
11085
|
t?.();
|
|
11076
11086
|
}
|
|
11077
11087
|
}
|
|
11078
|
-
function
|
|
11088
|
+
function Ip(e, t) {
|
|
11079
11089
|
const r = [...e.querySelectorAll("amp-img")];
|
|
11080
|
-
for (const n of r) n.replaceWith(
|
|
11090
|
+
for (const n of r) n.replaceWith(Rp(n));
|
|
11081
11091
|
r.length && t?.();
|
|
11082
11092
|
}
|
|
11083
|
-
function
|
|
11093
|
+
function Mp(e) {
|
|
11084
11094
|
const t = e.querySelectorAll("meta");
|
|
11085
11095
|
for (const i of t) {
|
|
11086
11096
|
const a = i.getAttribute("charset");
|
|
@@ -11092,37 +11102,37 @@ ${i.join("")}
|
|
|
11092
11102
|
const r = Zt(e), n = e.createElement("meta");
|
|
11093
11103
|
n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
|
|
11094
11104
|
}
|
|
11095
|
-
function
|
|
11105
|
+
function jp(e, t, r) {
|
|
11096
11106
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
11097
11107
|
for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
11098
11108
|
}
|
|
11099
|
-
var Zi = "https://cdn.ampproject.org/v0", Zo = `${Zi}.js`,
|
|
11100
|
-
function
|
|
11109
|
+
var Zi = "https://cdn.ampproject.org/v0", Zo = `${Zi}.js`, Dp = `script[src='${Zo}']`;
|
|
11110
|
+
function Lp(e, t) {
|
|
11101
11111
|
return `${Zi}/${e.toLowerCase()}-${t}.js`;
|
|
11102
11112
|
}
|
|
11103
|
-
async function
|
|
11113
|
+
async function Fp(e, t, r) {
|
|
11104
11114
|
for (const { name: n, versions: i } of t) {
|
|
11105
11115
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
11106
11116
|
if (!e.querySelector(a)) {
|
|
11107
|
-
const s = Zt(e), l = r.createElementFn("script"), u =
|
|
11117
|
+
const s = Zt(e), l = r.createElementFn("script"), u = Lp(n, i.findLast((m) => m !== "latest") || "v0");
|
|
11108
11118
|
l.setAttribute("async", ""), l.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), l.setAttribute("src", u), s.appendChild(l), s.appendChild(e.createTextNode(`
|
|
11109
11119
|
`));
|
|
11110
11120
|
}
|
|
11111
11121
|
}
|
|
11112
11122
|
}
|
|
11113
|
-
function
|
|
11123
|
+
function Up(e, t) {
|
|
11114
11124
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
11115
11125
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
11116
11126
|
for (const i of r) Jo(i) && i.tagName !== "FORM" && i.remove();
|
|
11117
11127
|
}
|
|
11118
11128
|
var Yo = void 0;
|
|
11119
|
-
async function
|
|
11129
|
+
async function ri() {
|
|
11120
11130
|
return Yo || (Yo = await Promise.resolve().then(() => mt("./c874b7982.js")).then((e) => e.default));
|
|
11121
11131
|
}
|
|
11122
11132
|
var Yi = new Map();
|
|
11123
|
-
async function
|
|
11133
|
+
async function zp() {
|
|
11124
11134
|
if (!Yi.size) {
|
|
11125
|
-
const e = await
|
|
11135
|
+
const e = await ri(), t = e.tags;
|
|
11126
11136
|
for (let r = 0; r < t.length; r++) {
|
|
11127
11137
|
const n = t[r], { selector: i, attrs: a, attrLists: s } = n, l = s?.flatMap((u) => e.attrLists.filter(({ name: m }) => m === u).flatMap((m) => m.attrs)) || [];
|
|
11128
11138
|
Yi.set(i, {
|
|
@@ -11135,17 +11145,17 @@ ${i.join("")}
|
|
|
11135
11145
|
return Yi;
|
|
11136
11146
|
}
|
|
11137
11147
|
var Ji = new Map();
|
|
11138
|
-
async function
|
|
11148
|
+
async function Bp() {
|
|
11139
11149
|
if (!Ji.size) {
|
|
11140
|
-
const e = await
|
|
11150
|
+
const e = await ri();
|
|
11141
11151
|
for (const t of e.declarations) Ji.set(t.name, t);
|
|
11142
11152
|
}
|
|
11143
11153
|
return Ji;
|
|
11144
11154
|
}
|
|
11145
|
-
var
|
|
11146
|
-
async function
|
|
11155
|
+
var qp = "$GLOBAL_ATTRS", Xi = new Map();
|
|
11156
|
+
async function Hp() {
|
|
11147
11157
|
if (!Xi.size) {
|
|
11148
|
-
const e = (await
|
|
11158
|
+
const e = (await ri()).attrLists.find((t) => t.name === qp)?.attrs;
|
|
11149
11159
|
if (e) for (const t of e) Xi.set(t.name, t);
|
|
11150
11160
|
}
|
|
11151
11161
|
return Xi;
|
|
@@ -11181,19 +11191,19 @@ ${i.join("")}
|
|
|
11181
11191
|
n() || i();
|
|
11182
11192
|
break;
|
|
11183
11193
|
}
|
|
11184
|
-
else
|
|
11194
|
+
else Ci(e) ? i() : Qt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Qt(e.nextSibling)) && n();
|
|
11185
11195
|
}
|
|
11186
|
-
async function
|
|
11196
|
+
async function $p(e, t) {
|
|
11187
11197
|
const r = new Set(), n = t.commit, i = (c) => t.replaceSelectors(c.toLowerCase());
|
|
11188
|
-
if (t.replaceImages && await
|
|
11189
|
-
const c = t.replaceSelectors(
|
|
11198
|
+
if (t.replaceImages && await Np(e, n), t.injectExtensions) {
|
|
11199
|
+
const c = t.replaceSelectors(Dp);
|
|
11190
11200
|
if (!e.querySelector(c)) {
|
|
11191
11201
|
const h = t.createElementFn("script");
|
|
11192
11202
|
h.setAttribute("src", Zo), h.setAttribute("async", ""), Zt(e).appendChild(h), n?.();
|
|
11193
11203
|
}
|
|
11194
11204
|
}
|
|
11195
|
-
t.injectRequiredTags && (
|
|
11196
|
-
const a = await
|
|
11205
|
+
t.injectRequiredTags && (jp(e, t.createElementFn, i), Op(e), xp(e), Mp(e), n?.()), t.replaceStylesAndLinks && (Cp(e), n?.());
|
|
11206
|
+
const a = await ri(), s = await zp(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
|
|
11197
11207
|
for (let [c, h] of s) if (!h.deprecation) {
|
|
11198
11208
|
c = i(c);
|
|
11199
11209
|
let w = [...e.querySelectorAll(c)].filter((k) => !u.has(k));
|
|
@@ -11213,7 +11223,7 @@ ${i.join("")}
|
|
|
11213
11223
|
if (t.injectExtensions && h.requiresExtension) for (const I of h.requiresExtension) r.add(I);
|
|
11214
11224
|
const w = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
|
|
11215
11225
|
w && (!c.parentNode || t.moveInvalidTagPosition) ? w !== c.parentNode && (h.name === "HEAD" || et(w) && w.tagName === "HEAD" ? w.insertBefore(c, w.firstChild) : w.appendChild(c)) : c.parentNode || e.body.appendChild(c), t.removeUnsupportedTags && l.delete(c), n?.();
|
|
11216
|
-
const k = await
|
|
11226
|
+
const k = await Hp();
|
|
11217
11227
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
11218
11228
|
const I = h.attrs, _ = t.injectRequiredAttributes ? new Set([...I].map(([d, f]) => f).filter((d) => d.required && d.value)) : void 0, C = c.getAttributeNames();
|
|
11219
11229
|
for (const d of C) {
|
|
@@ -11308,8 +11318,8 @@ ${i.join("")}
|
|
|
11308
11318
|
k(x) ? x.selectorText.indexOf("[") >= 0 || x.selectorText.indexOf(":") >= 0 ? d.deleteRule(y) : (w(x.style), x.style.cssText || d.deleteRule(y)) : I(x) ? (_(x), x.cssRules.length || d.deleteRule(y)) : d.deleteRule(y);
|
|
11309
11319
|
}
|
|
11310
11320
|
};
|
|
11311
|
-
const c = e.querySelectorAll("*"), h = await
|
|
11312
|
-
for (const d of c) if (
|
|
11321
|
+
const c = e.querySelectorAll("*"), h = await Bp();
|
|
11322
|
+
for (const d of c) if (Ai(d)) {
|
|
11313
11323
|
const f = d.getAttribute("style");
|
|
11314
11324
|
f && (w(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
11315
11325
|
}
|
|
@@ -11320,14 +11330,14 @@ ${i.join("")}
|
|
|
11320
11330
|
`)), n?.();
|
|
11321
11331
|
}
|
|
11322
11332
|
}
|
|
11323
|
-
await
|
|
11333
|
+
await Fp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
|
|
11324
11334
|
}
|
|
11325
11335
|
function Ko(e, t) {
|
|
11326
11336
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
11327
11337
|
}
|
|
11328
|
-
function
|
|
11338
|
+
function Wp(e, t = {}) {
|
|
11329
11339
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
11330
|
-
return
|
|
11340
|
+
return $p(e, {
|
|
11331
11341
|
replaceImages: r,
|
|
11332
11342
|
replaceStylesAndLinks: r,
|
|
11333
11343
|
injectRequiredTags: r,
|
|
@@ -11343,14 +11353,14 @@ ${i.join("")}
|
|
|
11343
11353
|
commit: t.commit
|
|
11344
11354
|
});
|
|
11345
11355
|
}
|
|
11346
|
-
function
|
|
11356
|
+
function Qp(e, t = {}) {
|
|
11347
11357
|
const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, s = (u) => e.createElement(i[u.toLowerCase()] || u), l = (u) => Ko(u, i);
|
|
11348
11358
|
if (r) {
|
|
11349
|
-
|
|
11359
|
+
Ip(e), Pp(e), kp(e), Sp(e);
|
|
11350
11360
|
const u = $o(e);
|
|
11351
11361
|
u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
|
|
11352
11362
|
}
|
|
11353
|
-
n && (
|
|
11363
|
+
n && (Up(e, {
|
|
11354
11364
|
formsAsAmpForms: t.removeExtensions,
|
|
11355
11365
|
createElementFn: s,
|
|
11356
11366
|
replaceSelectors: l
|
|
@@ -11374,17 +11384,17 @@ ${i.join("")}
|
|
|
11374
11384
|
}), Object.defineProperty(L, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
11375
11385
|
enumerable: !0,
|
|
11376
11386
|
get: function() {
|
|
11377
|
-
return
|
|
11387
|
+
return bu;
|
|
11378
11388
|
}
|
|
11379
11389
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
11380
11390
|
enumerable: !0,
|
|
11381
11391
|
get: function() {
|
|
11382
|
-
return
|
|
11392
|
+
return vi;
|
|
11383
11393
|
}
|
|
11384
11394
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_READY_TIMEOUT_MS", {
|
|
11385
11395
|
enumerable: !0,
|
|
11386
11396
|
get: function() {
|
|
11387
|
-
return
|
|
11397
|
+
return bi;
|
|
11388
11398
|
}
|
|
11389
11399
|
}), Object.defineProperty(L, "InitPipelineContext", {
|
|
11390
11400
|
enumerable: !0,
|
|
@@ -11394,7 +11404,7 @@ ${i.join("")}
|
|
|
11394
11404
|
}), Object.defineProperty(L, "ListenerUpdater", {
|
|
11395
11405
|
enumerable: !0,
|
|
11396
11406
|
get: function() {
|
|
11397
|
-
return
|
|
11407
|
+
return uu;
|
|
11398
11408
|
}
|
|
11399
11409
|
}), Object.defineProperty(L, "PLUGIN_REGISTRY_ID", {
|
|
11400
11410
|
enumerable: !0,
|
|
@@ -11414,12 +11424,12 @@ ${i.join("")}
|
|
|
11414
11424
|
}), Object.defineProperty(L, "amp2html", {
|
|
11415
11425
|
enumerable: !0,
|
|
11416
11426
|
get: function() {
|
|
11417
|
-
return
|
|
11427
|
+
return Qp;
|
|
11418
11428
|
}
|
|
11419
11429
|
}), Object.defineProperty(L, "changeHtml", {
|
|
11420
11430
|
enumerable: !0,
|
|
11421
11431
|
get: function() {
|
|
11422
|
-
return
|
|
11432
|
+
return Xr;
|
|
11423
11433
|
}
|
|
11424
11434
|
}), Object.defineProperty(L, "createAbortError", {
|
|
11425
11435
|
enumerable: !0,
|
|
@@ -11444,7 +11454,7 @@ ${i.join("")}
|
|
|
11444
11454
|
}), Object.defineProperty(L, "createStore", {
|
|
11445
11455
|
enumerable: !0,
|
|
11446
11456
|
get: function() {
|
|
11447
|
-
return
|
|
11457
|
+
return Jc;
|
|
11448
11458
|
}
|
|
11449
11459
|
}), Object.defineProperty(L, "emailRawApi", {
|
|
11450
11460
|
enumerable: !0,
|
|
@@ -11454,22 +11464,22 @@ ${i.join("")}
|
|
|
11454
11464
|
}), Object.defineProperty(L, "extractDocumentTextContent", {
|
|
11455
11465
|
enumerable: !0,
|
|
11456
11466
|
get: function() {
|
|
11457
|
-
return
|
|
11467
|
+
return wp;
|
|
11458
11468
|
}
|
|
11459
11469
|
}), Object.defineProperty(L, "extractServerProjectIdFromToken", {
|
|
11460
11470
|
enumerable: !0,
|
|
11461
11471
|
get: function() {
|
|
11462
|
-
return
|
|
11472
|
+
return au;
|
|
11463
11473
|
}
|
|
11464
11474
|
}), Object.defineProperty(L, "findShadowRoot", {
|
|
11465
11475
|
enumerable: !0,
|
|
11466
11476
|
get: function() {
|
|
11467
|
-
return
|
|
11477
|
+
return id;
|
|
11468
11478
|
}
|
|
11469
11479
|
}), Object.defineProperty(L, "getEML", {
|
|
11470
11480
|
enumerable: !0,
|
|
11471
11481
|
get: function() {
|
|
11472
|
-
return
|
|
11482
|
+
return ap;
|
|
11473
11483
|
}
|
|
11474
11484
|
}), Object.defineProperty(L, "getElementInnerHTML", {
|
|
11475
11485
|
enumerable: !0,
|
|
@@ -11479,7 +11489,7 @@ ${i.join("")}
|
|
|
11479
11489
|
}), Object.defineProperty(L, "getElementStartHtml_VDOM", {
|
|
11480
11490
|
enumerable: !0,
|
|
11481
11491
|
get: function() {
|
|
11482
|
-
return
|
|
11492
|
+
return Vu;
|
|
11483
11493
|
}
|
|
11484
11494
|
}), Object.defineProperty(L, "getFileNameAndExt", {
|
|
11485
11495
|
enumerable: !0,
|
|
@@ -11489,7 +11499,7 @@ ${i.join("")}
|
|
|
11489
11499
|
}), Object.defineProperty(L, "getFileNameWithExt", {
|
|
11490
11500
|
enumerable: !0,
|
|
11491
11501
|
get: function() {
|
|
11492
|
-
return
|
|
11502
|
+
return op;
|
|
11493
11503
|
}
|
|
11494
11504
|
}), Object.defineProperty(L, "getImageByUrl", {
|
|
11495
11505
|
enumerable: !0,
|
|
@@ -11504,22 +11514,22 @@ ${i.join("")}
|
|
|
11504
11514
|
}), Object.defineProperty(L, "getSaveTimeoutMs", {
|
|
11505
11515
|
enumerable: !0,
|
|
11506
11516
|
get: function() {
|
|
11507
|
-
return
|
|
11517
|
+
return _u;
|
|
11508
11518
|
}
|
|
11509
11519
|
}), Object.defineProperty(L, "html2amp", {
|
|
11510
11520
|
enumerable: !0,
|
|
11511
11521
|
get: function() {
|
|
11512
|
-
return
|
|
11522
|
+
return Wp;
|
|
11513
11523
|
}
|
|
11514
11524
|
}), Object.defineProperty(L, "htmlFilesToZip", {
|
|
11515
11525
|
enumerable: !0,
|
|
11516
11526
|
get: function() {
|
|
11517
|
-
return
|
|
11527
|
+
return _p;
|
|
11518
11528
|
}
|
|
11519
11529
|
}), Object.defineProperty(L, "htmlToFilesData", {
|
|
11520
11530
|
enumerable: !0,
|
|
11521
11531
|
get: function() {
|
|
11522
|
-
return
|
|
11532
|
+
return bp;
|
|
11523
11533
|
}
|
|
11524
11534
|
}), Object.defineProperty(L, "imageToBlob", {
|
|
11525
11535
|
enumerable: !0,
|
|
@@ -11529,12 +11539,12 @@ ${i.join("")}
|
|
|
11529
11539
|
}), Object.defineProperty(L, "injectStandaloneMocks", {
|
|
11530
11540
|
enumerable: !0,
|
|
11531
11541
|
get: function() {
|
|
11532
|
-
return
|
|
11542
|
+
return su;
|
|
11533
11543
|
}
|
|
11534
11544
|
}), Object.defineProperty(L, "installStandaloneMockGuard", {
|
|
11535
11545
|
enumerable: !0,
|
|
11536
11546
|
get: function() {
|
|
11537
|
-
return
|
|
11547
|
+
return cu;
|
|
11538
11548
|
}
|
|
11539
11549
|
}), Object.defineProperty(L, "isAmpElement", {
|
|
11540
11550
|
enumerable: !0,
|
|
@@ -11544,12 +11554,12 @@ ${i.join("")}
|
|
|
11544
11554
|
}), Object.defineProperty(L, "isDocument", {
|
|
11545
11555
|
enumerable: !0,
|
|
11546
11556
|
get: function() {
|
|
11547
|
-
return
|
|
11557
|
+
return Ci;
|
|
11548
11558
|
}
|
|
11549
11559
|
}), Object.defineProperty(L, "isDocumentFragment", {
|
|
11550
11560
|
enumerable: !0,
|
|
11551
11561
|
get: function() {
|
|
11552
|
-
return
|
|
11562
|
+
return ed;
|
|
11553
11563
|
}
|
|
11554
11564
|
}), Object.defineProperty(L, "isElement", {
|
|
11555
11565
|
enumerable: !0,
|
|
@@ -11559,7 +11569,7 @@ ${i.join("")}
|
|
|
11559
11569
|
}), Object.defineProperty(L, "isForm", {
|
|
11560
11570
|
enumerable: !0,
|
|
11561
11571
|
get: function() {
|
|
11562
|
-
return
|
|
11572
|
+
return Xu;
|
|
11563
11573
|
}
|
|
11564
11574
|
}), Object.defineProperty(L, "isTextNode", {
|
|
11565
11575
|
enumerable: !0,
|
|
@@ -11579,7 +11589,7 @@ ${i.join("")}
|
|
|
11579
11589
|
}), Object.defineProperty(L, "normalizeUrl", {
|
|
11580
11590
|
enumerable: !0,
|
|
11581
11591
|
get: function() {
|
|
11582
|
-
return
|
|
11592
|
+
return Id;
|
|
11583
11593
|
}
|
|
11584
11594
|
}), Object.defineProperty(L, "notificationsApi", {
|
|
11585
11595
|
enumerable: !0,
|
|
@@ -11589,27 +11599,27 @@ ${i.join("")}
|
|
|
11589
11599
|
}), Object.defineProperty(L, "parseFromString", {
|
|
11590
11600
|
enumerable: !0,
|
|
11591
11601
|
get: function() {
|
|
11592
|
-
return
|
|
11602
|
+
return $i;
|
|
11593
11603
|
}
|
|
11594
11604
|
}), Object.defineProperty(L, "pluginRegistry", {
|
|
11595
11605
|
enumerable: !0,
|
|
11596
11606
|
get: function() {
|
|
11597
|
-
return
|
|
11607
|
+
return wu;
|
|
11598
11608
|
}
|
|
11599
11609
|
}), Object.defineProperty(L, "prepareEmailHtmlForEditor", {
|
|
11600
11610
|
enumerable: !0,
|
|
11601
11611
|
get: function() {
|
|
11602
|
-
return
|
|
11612
|
+
return Qd;
|
|
11603
11613
|
}
|
|
11604
11614
|
}), Object.defineProperty(L, "prepareEvent", {
|
|
11605
11615
|
enumerable: !0,
|
|
11606
11616
|
get: function() {
|
|
11607
|
-
return
|
|
11617
|
+
return du;
|
|
11608
11618
|
}
|
|
11609
11619
|
}), Object.defineProperty(L, "prepareHTML", {
|
|
11610
11620
|
enumerable: !0,
|
|
11611
11621
|
get: function() {
|
|
11612
|
-
return
|
|
11622
|
+
return hp;
|
|
11613
11623
|
}
|
|
11614
11624
|
}), Object.defineProperty(L, "projectSettingsV2Api", {
|
|
11615
11625
|
enumerable: !0,
|
|
@@ -11621,6 +11631,11 @@ ${i.join("")}
|
|
|
11621
11631
|
get: function() {
|
|
11622
11632
|
return Nt;
|
|
11623
11633
|
}
|
|
11634
|
+
}), Object.defineProperty(L, "promoteNewEmailAfterSave", {
|
|
11635
|
+
enumerable: !0,
|
|
11636
|
+
get: function() {
|
|
11637
|
+
return Cc;
|
|
11638
|
+
}
|
|
11624
11639
|
}), Object.defineProperty(L, "proxyApi", {
|
|
11625
11640
|
enumerable: !0,
|
|
11626
11641
|
get: function() {
|
|
@@ -11631,10 +11646,15 @@ ${i.join("")}
|
|
|
11631
11646
|
get: function() {
|
|
11632
11647
|
return ns;
|
|
11633
11648
|
}
|
|
11649
|
+
}), Object.defineProperty(L, "refetchIfActive", {
|
|
11650
|
+
enumerable: !0,
|
|
11651
|
+
get: function() {
|
|
11652
|
+
return Nl;
|
|
11653
|
+
}
|
|
11634
11654
|
}), Object.defineProperty(L, "removeEmailFromList", {
|
|
11635
11655
|
enumerable: !0,
|
|
11636
11656
|
get: function() {
|
|
11637
|
-
return
|
|
11657
|
+
return Lc;
|
|
11638
11658
|
}
|
|
11639
11659
|
}), Object.defineProperty(L, "replaceImagesInDocument", {
|
|
11640
11660
|
enumerable: !0,
|
|
@@ -11654,32 +11674,37 @@ ${i.join("")}
|
|
|
11654
11674
|
}), Object.defineProperty(L, "resetElementHistorySlice", {
|
|
11655
11675
|
enumerable: !0,
|
|
11656
11676
|
get: function() {
|
|
11657
|
-
return
|
|
11677
|
+
return Vc;
|
|
11658
11678
|
}
|
|
11659
11679
|
}), Object.defineProperty(L, "resetElementsList", {
|
|
11660
11680
|
enumerable: !0,
|
|
11661
11681
|
get: function() {
|
|
11662
|
-
return
|
|
11682
|
+
return Dc;
|
|
11663
11683
|
}
|
|
11664
11684
|
}), Object.defineProperty(L, "resetNewBlockSlice", {
|
|
11665
11685
|
enumerable: !0,
|
|
11666
11686
|
get: function() {
|
|
11667
|
-
return
|
|
11687
|
+
return Nc;
|
|
11668
11688
|
}
|
|
11669
11689
|
}), Object.defineProperty(L, "resetNewEmailSlice", {
|
|
11670
11690
|
enumerable: !0,
|
|
11671
11691
|
get: function() {
|
|
11672
|
-
return
|
|
11692
|
+
return wc;
|
|
11673
11693
|
}
|
|
11674
11694
|
}), Object.defineProperty(L, "resetPagesAndTotal", {
|
|
11675
11695
|
enumerable: !0,
|
|
11676
11696
|
get: function() {
|
|
11677
|
-
return
|
|
11697
|
+
return Mc;
|
|
11678
11698
|
}
|
|
11679
11699
|
}), Object.defineProperty(L, "resolveTemplateDirectivesConfig", {
|
|
11680
11700
|
enumerable: !0,
|
|
11681
11701
|
get: function() {
|
|
11682
|
-
return
|
|
11702
|
+
return Uu;
|
|
11703
|
+
}
|
|
11704
|
+
}), Object.defineProperty(L, "sanitizeFileName", {
|
|
11705
|
+
enumerable: !0,
|
|
11706
|
+
get: function() {
|
|
11707
|
+
return Jr;
|
|
11683
11708
|
}
|
|
11684
11709
|
}), Object.defineProperty(L, "saveFileApi", {
|
|
11685
11710
|
enumerable: !0,
|
|
@@ -11689,182 +11714,182 @@ ${i.join("")}
|
|
|
11689
11714
|
}), Object.defineProperty(L, "selectBlocksTotal", {
|
|
11690
11715
|
enumerable: !0,
|
|
11691
11716
|
get: function() {
|
|
11692
|
-
return
|
|
11717
|
+
return $c;
|
|
11693
11718
|
}
|
|
11694
11719
|
}), Object.defineProperty(L, "selectCustomFolders", {
|
|
11695
11720
|
enumerable: !0,
|
|
11696
11721
|
get: function() {
|
|
11697
|
-
return
|
|
11722
|
+
return Bc;
|
|
11698
11723
|
}
|
|
11699
11724
|
}), Object.defineProperty(L, "selectElementHistoryTotalPages", {
|
|
11700
11725
|
enumerable: !0,
|
|
11701
11726
|
get: function() {
|
|
11702
|
-
return
|
|
11727
|
+
return Gc;
|
|
11703
11728
|
}
|
|
11704
11729
|
}), Object.defineProperty(L, "selectElementsList", {
|
|
11705
11730
|
enumerable: !0,
|
|
11706
11731
|
get: function() {
|
|
11707
|
-
return
|
|
11732
|
+
return zc;
|
|
11708
11733
|
}
|
|
11709
11734
|
}), Object.defineProperty(L, "selectElementsTrashList", {
|
|
11710
11735
|
enumerable: !0,
|
|
11711
11736
|
get: function() {
|
|
11712
|
-
return
|
|
11737
|
+
return Hc;
|
|
11713
11738
|
}
|
|
11714
11739
|
}), Object.defineProperty(L, "selectElementsView", {
|
|
11715
11740
|
enumerable: !0,
|
|
11716
11741
|
get: function() {
|
|
11717
|
-
return
|
|
11742
|
+
return Uc;
|
|
11718
11743
|
}
|
|
11719
11744
|
}), Object.defineProperty(L, "selectEmailsTotal", {
|
|
11720
11745
|
enumerable: !0,
|
|
11721
11746
|
get: function() {
|
|
11722
|
-
return
|
|
11747
|
+
return Fc;
|
|
11723
11748
|
}
|
|
11724
11749
|
}), Object.defineProperty(L, "selectEmailsTrashTotal", {
|
|
11725
11750
|
enumerable: !0,
|
|
11726
11751
|
get: function() {
|
|
11727
|
-
return
|
|
11752
|
+
return qc;
|
|
11728
11753
|
}
|
|
11729
11754
|
}), Object.defineProperty(L, "selectHistoryData", {
|
|
11730
11755
|
enumerable: !0,
|
|
11731
11756
|
get: function() {
|
|
11732
|
-
return
|
|
11757
|
+
return Zc;
|
|
11733
11758
|
}
|
|
11734
11759
|
}), Object.defineProperty(L, "selectNewBlockHasChanged", {
|
|
11735
11760
|
enumerable: !0,
|
|
11736
11761
|
get: function() {
|
|
11737
|
-
return
|
|
11762
|
+
return Ic;
|
|
11738
11763
|
}
|
|
11739
11764
|
}), Object.defineProperty(L, "selectNewEmailAppliedShowToken", {
|
|
11740
11765
|
enumerable: !0,
|
|
11741
11766
|
get: function() {
|
|
11742
|
-
return
|
|
11767
|
+
return Tc;
|
|
11743
11768
|
}
|
|
11744
11769
|
}), Object.defineProperty(L, "selectNewEmailHasChanged", {
|
|
11745
11770
|
enumerable: !0,
|
|
11746
11771
|
get: function() {
|
|
11747
|
-
return
|
|
11772
|
+
return Oc;
|
|
11748
11773
|
}
|
|
11749
11774
|
}), Object.defineProperty(L, "selectNewEmailSettings", {
|
|
11750
11775
|
enumerable: !0,
|
|
11751
11776
|
get: function() {
|
|
11752
|
-
return
|
|
11777
|
+
return kc;
|
|
11753
11778
|
}
|
|
11754
11779
|
}), Object.defineProperty(L, "selectParentEmailBlocksTotal", {
|
|
11755
11780
|
enumerable: !0,
|
|
11756
11781
|
get: function() {
|
|
11757
|
-
return
|
|
11782
|
+
return Qc;
|
|
11758
11783
|
}
|
|
11759
11784
|
}), Object.defineProperty(L, "selectTemplateBlocksTotal", {
|
|
11760
11785
|
enumerable: !0,
|
|
11761
11786
|
get: function() {
|
|
11762
|
-
return
|
|
11787
|
+
return Wc;
|
|
11763
11788
|
}
|
|
11764
11789
|
}), Object.defineProperty(L, "setNewBlockDescription", {
|
|
11765
11790
|
enumerable: !0,
|
|
11766
11791
|
get: function() {
|
|
11767
|
-
return
|
|
11792
|
+
return Pc;
|
|
11768
11793
|
}
|
|
11769
11794
|
}), Object.defineProperty(L, "setNewBlockTags", {
|
|
11770
11795
|
enumerable: !0,
|
|
11771
11796
|
get: function() {
|
|
11772
|
-
return
|
|
11797
|
+
return Rc;
|
|
11773
11798
|
}
|
|
11774
11799
|
}), Object.defineProperty(L, "setNewEmailAll", {
|
|
11775
11800
|
enumerable: !0,
|
|
11776
11801
|
get: function() {
|
|
11777
|
-
return
|
|
11802
|
+
return lc;
|
|
11778
11803
|
}
|
|
11779
11804
|
}), Object.defineProperty(L, "setNewEmailDescription", {
|
|
11780
11805
|
enumerable: !0,
|
|
11781
11806
|
get: function() {
|
|
11782
|
-
return
|
|
11807
|
+
return pc;
|
|
11783
11808
|
}
|
|
11784
11809
|
}), Object.defineProperty(L, "setNewEmailHtml", {
|
|
11785
11810
|
enumerable: !0,
|
|
11786
11811
|
get: function() {
|
|
11787
|
-
return
|
|
11812
|
+
return hc;
|
|
11788
11813
|
}
|
|
11789
11814
|
}), Object.defineProperty(L, "setNewEmailIsAmp", {
|
|
11790
11815
|
enumerable: !0,
|
|
11791
11816
|
get: function() {
|
|
11792
|
-
return
|
|
11817
|
+
return xc;
|
|
11793
11818
|
}
|
|
11794
11819
|
}), Object.defineProperty(L, "setNewEmailIsTemplate", {
|
|
11795
11820
|
enumerable: !0,
|
|
11796
11821
|
get: function() {
|
|
11797
|
-
return
|
|
11822
|
+
return fc;
|
|
11798
11823
|
}
|
|
11799
11824
|
}), Object.defineProperty(L, "setNewEmailMeta", {
|
|
11800
11825
|
enumerable: !0,
|
|
11801
11826
|
get: function() {
|
|
11802
|
-
return
|
|
11827
|
+
return Sc;
|
|
11803
11828
|
}
|
|
11804
11829
|
}), Object.defineProperty(L, "setNewEmailPreheader", {
|
|
11805
11830
|
enumerable: !0,
|
|
11806
11831
|
get: function() {
|
|
11807
|
-
return
|
|
11832
|
+
return dc;
|
|
11808
11833
|
}
|
|
11809
11834
|
}), Object.defineProperty(L, "setNewEmailProject", {
|
|
11810
11835
|
enumerable: !0,
|
|
11811
11836
|
get: function() {
|
|
11812
|
-
return
|
|
11837
|
+
return Ac;
|
|
11813
11838
|
}
|
|
11814
11839
|
}), Object.defineProperty(L, "setNewEmailSubject", {
|
|
11815
11840
|
enumerable: !0,
|
|
11816
11841
|
get: function() {
|
|
11817
|
-
return
|
|
11842
|
+
return uc;
|
|
11818
11843
|
}
|
|
11819
11844
|
}), Object.defineProperty(L, "setNewEmailTags", {
|
|
11820
11845
|
enumerable: !0,
|
|
11821
11846
|
get: function() {
|
|
11822
|
-
return
|
|
11847
|
+
return mc;
|
|
11823
11848
|
}
|
|
11824
11849
|
}), Object.defineProperty(L, "setNewEmailTitle", {
|
|
11825
11850
|
enumerable: !0,
|
|
11826
11851
|
get: function() {
|
|
11827
|
-
return
|
|
11852
|
+
return cc;
|
|
11828
11853
|
}
|
|
11829
11854
|
}), Object.defineProperty(L, "setNewEmailUtmCampaign", {
|
|
11830
11855
|
enumerable: !0,
|
|
11831
11856
|
get: function() {
|
|
11832
|
-
return
|
|
11857
|
+
return bc;
|
|
11833
11858
|
}
|
|
11834
11859
|
}), Object.defineProperty(L, "setNewEmailUtmContent", {
|
|
11835
11860
|
enumerable: !0,
|
|
11836
11861
|
get: function() {
|
|
11837
|
-
return
|
|
11862
|
+
return _c;
|
|
11838
11863
|
}
|
|
11839
11864
|
}), Object.defineProperty(L, "setNewEmailUtmMedium", {
|
|
11840
11865
|
enumerable: !0,
|
|
11841
11866
|
get: function() {
|
|
11842
|
-
return
|
|
11867
|
+
return vc;
|
|
11843
11868
|
}
|
|
11844
11869
|
}), Object.defineProperty(L, "setNewEmailUtmSource", {
|
|
11845
11870
|
enumerable: !0,
|
|
11846
11871
|
get: function() {
|
|
11847
|
-
return
|
|
11872
|
+
return gc;
|
|
11848
11873
|
}
|
|
11849
11874
|
}), Object.defineProperty(L, "setNewEmailUtmTerm", {
|
|
11850
11875
|
enumerable: !0,
|
|
11851
11876
|
get: function() {
|
|
11852
|
-
return
|
|
11877
|
+
return yc;
|
|
11853
11878
|
}
|
|
11854
11879
|
}), Object.defineProperty(L, "setNewIsInited", {
|
|
11855
11880
|
enumerable: !0,
|
|
11856
11881
|
get: function() {
|
|
11857
|
-
return
|
|
11882
|
+
return Ec;
|
|
11858
11883
|
}
|
|
11859
11884
|
}), Object.defineProperty(L, "src_default", {
|
|
11860
11885
|
enumerable: !0,
|
|
11861
11886
|
get: function() {
|
|
11862
|
-
return
|
|
11887
|
+
return _i;
|
|
11863
11888
|
}
|
|
11864
11889
|
}), Object.defineProperty(L, "syncStandaloneProjectState", {
|
|
11865
11890
|
enumerable: !0,
|
|
11866
11891
|
get: function() {
|
|
11867
|
-
return
|
|
11892
|
+
return ou;
|
|
11868
11893
|
}
|
|
11869
11894
|
}), Object.defineProperty(L, "throwIfAborted", {
|
|
11870
11895
|
enumerable: !0,
|
|
@@ -11879,7 +11904,7 @@ ${i.join("")}
|
|
|
11879
11904
|
}), Object.defineProperty(L, "toggleElementsView", {
|
|
11880
11905
|
enumerable: !0,
|
|
11881
11906
|
get: function() {
|
|
11882
|
-
return
|
|
11907
|
+
return jc;
|
|
11883
11908
|
}
|
|
11884
11909
|
}), Object.defineProperty(L, "tokenApi", {
|
|
11885
11910
|
enumerable: !0,
|
|
@@ -11894,7 +11919,7 @@ ${i.join("")}
|
|
|
11894
11919
|
}), Object.defineProperty(L, "useChangePasswordMutation", {
|
|
11895
11920
|
enumerable: !0,
|
|
11896
11921
|
get: function() {
|
|
11897
|
-
return
|
|
11922
|
+
return Xl;
|
|
11898
11923
|
}
|
|
11899
11924
|
}), Object.defineProperty(L, "useCreateBroadcastMutation", {
|
|
11900
11925
|
enumerable: !0,
|
|
@@ -11939,7 +11964,7 @@ ${i.join("")}
|
|
|
11939
11964
|
}), Object.defineProperty(L, "useCreateConvertJobMutation", {
|
|
11940
11965
|
enumerable: !0,
|
|
11941
11966
|
get: function() {
|
|
11942
|
-
return
|
|
11967
|
+
return ql;
|
|
11943
11968
|
}
|
|
11944
11969
|
}), Object.defineProperty(L, "useCreateDraftMutation", {
|
|
11945
11970
|
enumerable: !0,
|
|
@@ -11999,17 +12024,17 @@ ${i.join("")}
|
|
|
11999
12024
|
}), Object.defineProperty(L, "useGenerateHtmlToPdfMutation", {
|
|
12000
12025
|
enumerable: !0,
|
|
12001
12026
|
get: function() {
|
|
12002
|
-
return
|
|
12027
|
+
return Bl;
|
|
12003
12028
|
}
|
|
12004
12029
|
}), Object.defineProperty(L, "useGetAiGenerateStatusMutation", {
|
|
12005
12030
|
enumerable: !0,
|
|
12006
12031
|
get: function() {
|
|
12007
|
-
return
|
|
12032
|
+
return Dl;
|
|
12008
12033
|
}
|
|
12009
12034
|
}), Object.defineProperty(L, "useGetCheckoutUrlMutation", {
|
|
12010
12035
|
enumerable: !0,
|
|
12011
12036
|
get: function() {
|
|
12012
|
-
return
|
|
12037
|
+
return Ql;
|
|
12013
12038
|
}
|
|
12014
12039
|
}), Object.defineProperty(L, "useGetDialogQuery", {
|
|
12015
12040
|
enumerable: !0,
|
|
@@ -12019,52 +12044,52 @@ ${i.join("")}
|
|
|
12019
12044
|
}), Object.defineProperty(L, "useGetInvoiceRequestMutation", {
|
|
12020
12045
|
enumerable: !0,
|
|
12021
12046
|
get: function() {
|
|
12022
|
-
return
|
|
12047
|
+
return Ul;
|
|
12023
12048
|
}
|
|
12024
12049
|
}), Object.defineProperty(L, "useGetNotificationsQuery", {
|
|
12025
12050
|
enumerable: !0,
|
|
12026
12051
|
get: function() {
|
|
12027
|
-
return
|
|
12052
|
+
return $l;
|
|
12028
12053
|
}
|
|
12029
12054
|
}), Object.defineProperty(L, "useGetProjectIntegrationsQuery", {
|
|
12030
12055
|
enumerable: !0,
|
|
12031
12056
|
get: function() {
|
|
12032
|
-
return
|
|
12057
|
+
return rc;
|
|
12033
12058
|
}
|
|
12034
12059
|
}), Object.defineProperty(L, "useGetProjectStorageQuery", {
|
|
12035
12060
|
enumerable: !0,
|
|
12036
12061
|
get: function() {
|
|
12037
|
-
return
|
|
12062
|
+
return ec;
|
|
12038
12063
|
}
|
|
12039
12064
|
}), Object.defineProperty(L, "useGetProjectTestRecipientsQuery", {
|
|
12040
12065
|
enumerable: !0,
|
|
12041
12066
|
get: function() {
|
|
12042
|
-
return
|
|
12067
|
+
return ac;
|
|
12043
12068
|
}
|
|
12044
12069
|
}), Object.defineProperty(L, "useGetProjectWebhookQuery", {
|
|
12045
12070
|
enumerable: !0,
|
|
12046
12071
|
get: function() {
|
|
12047
|
-
return
|
|
12072
|
+
return nc;
|
|
12048
12073
|
}
|
|
12049
12074
|
}), Object.defineProperty(L, "useLazyClearAiChatQuery", {
|
|
12050
12075
|
enumerable: !0,
|
|
12051
12076
|
get: function() {
|
|
12052
|
-
return
|
|
12077
|
+
return Ml;
|
|
12053
12078
|
}
|
|
12054
12079
|
}), Object.defineProperty(L, "useLazyGetCanselRecurrenceQuery", {
|
|
12055
12080
|
enumerable: !0,
|
|
12056
12081
|
get: function() {
|
|
12057
|
-
return
|
|
12082
|
+
return Gl;
|
|
12058
12083
|
}
|
|
12059
12084
|
}), Object.defineProperty(L, "useLazyGetConfirmationMailQuery", {
|
|
12060
12085
|
enumerable: !0,
|
|
12061
12086
|
get: function() {
|
|
12062
|
-
return
|
|
12087
|
+
return Vl;
|
|
12063
12088
|
}
|
|
12064
12089
|
}), Object.defineProperty(L, "useLazyGetConvertJobStatusQuery", {
|
|
12065
12090
|
enumerable: !0,
|
|
12066
12091
|
get: function() {
|
|
12067
|
-
return
|
|
12092
|
+
return Hl;
|
|
12068
12093
|
}
|
|
12069
12094
|
}), Object.defineProperty(L, "useLazyGetDialogQuery", {
|
|
12070
12095
|
enumerable: !0,
|
|
@@ -12079,12 +12104,12 @@ ${i.join("")}
|
|
|
12079
12104
|
}), Object.defineProperty(L, "useLazyGetGeneratedContentQuery", {
|
|
12080
12105
|
enumerable: !0,
|
|
12081
12106
|
get: function() {
|
|
12082
|
-
return
|
|
12107
|
+
return jl;
|
|
12083
12108
|
}
|
|
12084
12109
|
}), Object.defineProperty(L, "useLazyGetIntegrationCredentialsQuery", {
|
|
12085
12110
|
enumerable: !0,
|
|
12086
12111
|
get: function() {
|
|
12087
|
-
return
|
|
12112
|
+
return ic;
|
|
12088
12113
|
}
|
|
12089
12114
|
}), Object.defineProperty(L, "useLazyGetLocaleQuery", {
|
|
12090
12115
|
enumerable: !0,
|
|
@@ -12099,12 +12124,12 @@ ${i.join("")}
|
|
|
12099
12124
|
}), Object.defineProperty(L, "useLazyGetRecurrenceQuery", {
|
|
12100
12125
|
enumerable: !0,
|
|
12101
12126
|
get: function() {
|
|
12102
|
-
return
|
|
12127
|
+
return Zl;
|
|
12103
12128
|
}
|
|
12104
12129
|
}), Object.defineProperty(L, "useLogoutMutation", {
|
|
12105
12130
|
enumerable: !0,
|
|
12106
12131
|
get: function() {
|
|
12107
|
-
return
|
|
12132
|
+
return Jl;
|
|
12108
12133
|
}
|
|
12109
12134
|
}), Object.defineProperty(L, "useMakeTemporaryMailForPngMutation", {
|
|
12110
12135
|
enumerable: !0,
|
|
@@ -12114,7 +12139,7 @@ ${i.join("")}
|
|
|
12114
12139
|
}), Object.defineProperty(L, "useNotificationShownMutation", {
|
|
12115
12140
|
enumerable: !0,
|
|
12116
12141
|
get: function() {
|
|
12117
|
-
return
|
|
12142
|
+
return Wl;
|
|
12118
12143
|
}
|
|
12119
12144
|
}), Object.defineProperty(L, "usePostDataByWebHookMutation", {
|
|
12120
12145
|
enumerable: !0,
|
|
@@ -12124,12 +12149,12 @@ ${i.join("")}
|
|
|
12124
12149
|
}), Object.defineProperty(L, "usePutProjectSettingsMutation", {
|
|
12125
12150
|
enumerable: !0,
|
|
12126
12151
|
get: function() {
|
|
12127
|
-
return
|
|
12152
|
+
return tc;
|
|
12128
12153
|
}
|
|
12129
12154
|
}), Object.defineProperty(L, "usePutProjectTestRecipientsMutation", {
|
|
12130
12155
|
enumerable: !0,
|
|
12131
12156
|
get: function() {
|
|
12132
|
-
return
|
|
12157
|
+
return oc;
|
|
12133
12158
|
}
|
|
12134
12159
|
}), Object.defineProperty(L, "useSendLivePreviewMutation", {
|
|
12135
12160
|
enumerable: !0,
|