useblocks 1.1.49 → 1.1.53
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/iframe/js/amp.BP7EklKo.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/runtime/THIRD_PARTY_LICENSES.txt +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{8c81db36.js → 139e4380.js} +3 -3
- package/static/core/{1ca5f3772.js → 1995fb0a2.js} +10 -10
- package/static/core/{3b4845f7.js → 1f5e1fc9.js} +321 -321
- package/static/core/{59023866.js → 31e98e6e.js} +616 -611
- package/static/core/{13f581cc.js → 5318562c.js} +3 -3
- package/static/core/{386cf7b3.js → 75737a9d.js} +5156 -5116
- package/static/core/{11296a18.js → 9929a348.js} +107 -107
- package/static/core/{e7c24fe9.js → b408f33a.js} +179 -173
- package/static/core/{3dea3b87.js → bc7e3d2b.js} +7 -7
- package/static/core/{de79e0c5.js → c3058168.js} +524 -510
- package/static/core/ce0410b1.js +467 -0
- package/static/core/{339377b8.js → d1eb3c68.js} +13244 -13200
- package/static/core/{8e110c69.js → dc1f9e4f.js} +31 -31
- package/static/core/{7a229b90.js → e1d239ab.js} +41 -41
- package/static/core/{aacf134d.js → e5e07f1d.js} +514 -494
- package/static/core/{acb049cb.js → ebd852b6.js} +1267 -1265
- package/static/core/{c59f9731.js → ee0ddb51.js} +4036 -3900
- package/static/core/{13d197af.js → f3cff4c9.js} +169 -169
- package/two_step_headless_plugin.html +1 -1
- package/ui-kit/index.js +49 -47
- package/{useblocks-core.15a9129c.js → useblocks-core.2a5dade1.js} +6 -6
- package/useblocks-esm.js +3 -3
- package/useblocks.js +3 -3
- package/static/core/a11c28c2.js +0 -467
- /package/iframe/{iframe-eblock.15a9129c.html → iframe-eblock.2a5dade1.html} +0 -0
- /package/iframe/{iframe.15a9129c.html → iframe.2a5dade1.html} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/c3058168.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/bd36b180.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/ee0ddb51.js",
|
|
7
|
+
"static/core/5318562c.js",
|
|
8
8
|
"static/core/ec11f92f.js",
|
|
9
|
-
"static/core/
|
|
10
|
-
], function(mt, L,
|
|
11
|
-
const Z = mt("./bd36b180.js"), O = mt("./
|
|
9
|
+
"static/core/139e4380.js"
|
|
10
|
+
], function(mt, L, Qp) {
|
|
11
|
+
const Z = mt("./bd36b180.js"), O = mt("./ee0ddb51.js"), Me = mt("./5318562c.js"), Ki = mt("./ec11f92f.js"), Kt = mt("./139e4380.js");
|
|
12
12
|
var rs = class {
|
|
13
13
|
_plugins = new Map();
|
|
14
14
|
_listeners = new Map();
|
|
@@ -1140,7 +1140,7 @@ __useblocks__.define("static/core/de79e0c5.js", [
|
|
|
1140
1140
|
meta: { percent: this.max ? this.index / this.max * 100 : 0 }
|
|
1141
1141
|
});
|
|
1142
1142
|
}, t.exports = a;
|
|
1143
|
-
})),
|
|
1143
|
+
})), ni = Z.__commonJSMin(((e, t) => {
|
|
1144
1144
|
var r = ve();
|
|
1145
1145
|
function n() {
|
|
1146
1146
|
for (var l, u = [], m = 0; m < 256; m++) {
|
|
@@ -1167,7 +1167,7 @@ __useblocks__.define("static/core/de79e0c5.js", [
|
|
|
1167
1167
|
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);
|
|
1168
1168
|
};
|
|
1169
1169
|
})), cn = Z.__commonJSMin(((e, t) => {
|
|
1170
|
-
var r = Le(), n =
|
|
1170
|
+
var r = Le(), n = ni(), i = ve();
|
|
1171
1171
|
function a() {
|
|
1172
1172
|
r.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
|
|
1173
1173
|
}
|
|
@@ -1186,7 +1186,7 @@ __useblocks__.define("static/core/de79e0c5.js", [
|
|
|
1186
1186
|
}
|
|
1187
1187
|
n.prototype.processChunk.call(this, a);
|
|
1188
1188
|
}, t.exports = i;
|
|
1189
|
-
})),
|
|
1189
|
+
})), ai = Z.__commonJSMin(((e, t) => {
|
|
1190
1190
|
var r = Tt(), n = ln(), i = cn(), a = ds();
|
|
1191
1191
|
function s(l, u, m, b, E) {
|
|
1192
1192
|
this.compressedSize = l, this.uncompressedSize = u, this.crc32 = m, this.compression = b, this.compressedContent = E;
|
|
@@ -1205,7 +1205,7 @@ __useblocks__.define("static/core/de79e0c5.js", [
|
|
|
1205
1205
|
return l.pipe(new i()).pipe(new a("uncompressedSize")).pipe(u.compressWorker(m)).pipe(new a("compressedSize")).withStreamInfo("compression", u);
|
|
1206
1206
|
}, t.exports = s;
|
|
1207
1207
|
})), ps = Z.__commonJSMin(((e, t) => {
|
|
1208
|
-
var r = on(), n = ln(), i = Ot(), a =
|
|
1208
|
+
var r = on(), n = ln(), i = Ot(), a = ai(), s = Le(), l = function(E, p, c) {
|
|
1209
1209
|
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 = {
|
|
1210
1210
|
compression: c.compression,
|
|
1211
1211
|
compressionOptions: c.compressionOptions
|
|
@@ -1590,7 +1590,7 @@ __useblocks__.define("static/core/de79e0c5.js", [
|
|
|
1590
1590
|
return a ^ -1;
|
|
1591
1591
|
}
|
|
1592
1592
|
t.exports = i;
|
|
1593
|
-
})),
|
|
1593
|
+
})), oi = Z.__commonJSMin(((e, t) => {
|
|
1594
1594
|
t.exports = {
|
|
1595
1595
|
2: "need dictionary",
|
|
1596
1596
|
1: "stream end",
|
|
@@ -1603,7 +1603,7 @@ __useblocks__.define("static/core/de79e0c5.js", [
|
|
|
1603
1603
|
"-6": "incompatible version"
|
|
1604
1604
|
};
|
|
1605
1605
|
})), hs = Z.__commonJSMin(((e) => {
|
|
1606
|
-
var t = Xe(), r = fs(), n = un(), i = dn(), a =
|
|
1606
|
+
var t = Xe(), r = fs(), n = un(), i = dn(), a = oi(), s = 0, l = 1, u = 3, m = 4, b = 5, E = 0, p = 1, c = -2, h = -3, w = -5, k = -1, M = 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;
|
|
1607
1607
|
function Re(o, P) {
|
|
1608
1608
|
return o.msg = a[P], P;
|
|
1609
1609
|
}
|
|
@@ -1904,7 +1904,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
1904
1904
|
}
|
|
1905
1905
|
t.exports = r;
|
|
1906
1906
|
})), ms = Z.__commonJSMin(((e) => {
|
|
1907
|
-
var t = hs(), r = Xe(), n = pn(), i =
|
|
1907
|
+
var t = hs(), r = Xe(), n = pn(), i = oi(), a = fn(), s = Object.prototype.toString, l = 0, u = 4, m = 0, b = 1, E = 2, p = -1, c = 0, h = 8;
|
|
1908
1908
|
function w(C) {
|
|
1909
1909
|
if (!(this instanceof w)) return new w(C);
|
|
1910
1910
|
this.options = r.assign({
|
|
@@ -2243,7 +2243,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2243
2243
|
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;
|
|
2244
2244
|
}
|
|
2245
2245
|
function kt(N, U) {
|
|
2246
|
-
var v, B, o, P, W, g, z, I, D, ee, ne, Y, Ge, Xt, me = 0, le, Ae, De, Ne,
|
|
2246
|
+
var v, B, o, P, W, g, z, I, D, ee, ne, Y, Ge, Xt, me = 0, le, Ae, De, Ne, ri, ii, xe, ze, Ce = new t.Buf8(4), Ye, Ze, es = [
|
|
2247
2247
|
16,
|
|
2248
2248
|
17,
|
|
2249
2249
|
18,
|
|
@@ -2509,7 +2509,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2509
2509
|
g--, I += B[P++] << D, D += 8;
|
|
2510
2510
|
}
|
|
2511
2511
|
if (Ae && (Ae & 240) === 0) {
|
|
2512
|
-
for (Ne = le,
|
|
2512
|
+
for (Ne = le, ri = Ae, ii = De; me = v.lencode[ii + ((I & (1 << Ne + ri) - 1) >> Ne)], le = me >>> 24, Ae = me >>> 16 & 255, De = me & 65535, !(Ne + le <= D);) {
|
|
2513
2513
|
if (g === 0) break e;
|
|
2514
2514
|
g--, I += B[P++] << D, D += 8;
|
|
2515
2515
|
}
|
|
@@ -2543,7 +2543,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2543
2543
|
g--, I += B[P++] << D, D += 8;
|
|
2544
2544
|
}
|
|
2545
2545
|
if ((Ae & 240) === 0) {
|
|
2546
|
-
for (Ne = le,
|
|
2546
|
+
for (Ne = le, ri = Ae, ii = De; me = v.distcode[ii + ((I & (1 << Ne + ri) - 1) >> Ne)], le = me >>> 24, Ae = me >>> 16 & 255, De = me & 65535, !(Ne + le <= D);) {
|
|
2547
2547
|
if (g === 0) break e;
|
|
2548
2548
|
g--, I += B[P++] << D, D += 8;
|
|
2549
2549
|
}
|
|
@@ -2674,7 +2674,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2674
2674
|
}
|
|
2675
2675
|
t.exports = r;
|
|
2676
2676
|
})), ys = Z.__commonJSMin(((e) => {
|
|
2677
|
-
var t = bs(), r = Xe(), n = pn(), i = hn(), a =
|
|
2677
|
+
var t = bs(), r = Xe(), n = pn(), i = hn(), a = oi(), s = fn(), l = _s(), u = Object.prototype.toString;
|
|
2678
2678
|
function m(p) {
|
|
2679
2679
|
if (!(this instanceof m)) return new m(p);
|
|
2680
2680
|
this.options = r.assign({
|
|
@@ -2757,7 +2757,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2757
2757
|
})), gn = Z.__commonJSMin(((e) => {
|
|
2758
2758
|
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";
|
|
2759
2759
|
})), xs = Z.__commonJSMin(((e, t) => {
|
|
2760
|
-
var r = ve(), n = Le(), i = Ot(), a =
|
|
2760
|
+
var r = ve(), n = Le(), i = Ot(), a = ni(), s = gn(), l = function(h, w) {
|
|
2761
2761
|
var k = "", M;
|
|
2762
2762
|
for (M = 0; M < w; M++) k += String.fromCharCode(h & 255), h = h >>> 8;
|
|
2763
2763
|
return k;
|
|
@@ -2910,7 +2910,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2910
2910
|
return n.prototype.resume.call(this) ? (this._upstreamEnded ? this.end() : this._stream.resume(), !0) : !1;
|
|
2911
2911
|
}, t.exports = i;
|
|
2912
2912
|
})), Cs = Z.__commonJSMin(((e, t) => {
|
|
2913
|
-
var r = Ot(), n = ve(), i = Le(), a = on(), s = sn(), l =
|
|
2913
|
+
var r = Ot(), n = ve(), i = Le(), a = on(), s = sn(), l = ai(), u = ps(), m = Ss(), b = er(), E = As(), p = function(_, C, d) {
|
|
2914
2914
|
var f = n.getTypeOf(C), y, x = n.extend(d || {}, s);
|
|
2915
2915
|
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);
|
|
2916
2916
|
var A = f === "string" && x.binary === !1 && x.base64 === !1;
|
|
@@ -3106,7 +3106,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3106
3106
|
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));
|
|
3107
3107
|
};
|
|
3108
3108
|
})), Os = Z.__commonJSMin(((e, t) => {
|
|
3109
|
-
var r = yn(), n = ve(), i =
|
|
3109
|
+
var r = yn(), n = ve(), i = ai(), a = ni(), s = Ot(), l = mn(), u = Je(), m = 0, b = 3, E = function(c) {
|
|
3110
3110
|
for (var h in l) if (Object.prototype.hasOwnProperty.call(l, h) && l[h].magic === c) return l[h];
|
|
3111
3111
|
return null;
|
|
3112
3112
|
};
|
|
@@ -3382,7 +3382,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3382
3382
|
extraQuery: { url: encodeURIComponent(t) }
|
|
3383
3383
|
}));
|
|
3384
3384
|
} }) })
|
|
3385
|
-
}), { useGetFileQuery:
|
|
3385
|
+
}), { useGetFileQuery: Gp, useLazyGetFileQuery: js } = Rt, Nt = O.createApi({
|
|
3386
3386
|
reducerPath: "promoApi",
|
|
3387
3387
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
3388
3388
|
endpoints: (e) => ({
|
|
@@ -3394,9 +3394,9 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3394
3394
|
return O.getClient(r).promo.get_code_info_list({ code: t });
|
|
3395
3395
|
} })
|
|
3396
3396
|
})
|
|
3397
|
-
}), { useCheckPromoMutation:
|
|
3397
|
+
}), { useCheckPromoMutation: Zp, useGetPromoInfoQuery: Yp } = Nt, si = "LOCALES", it = O.createApi({
|
|
3398
3398
|
reducerPath: "localesApi",
|
|
3399
|
-
tagTypes: [
|
|
3399
|
+
tagTypes: [si],
|
|
3400
3400
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.useblocks.io/api/wp-json/translations/v1" }),
|
|
3401
3401
|
endpoints: (e) => ({
|
|
3402
3402
|
getLocale: e.query({
|
|
@@ -3415,7 +3415,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3415
3415
|
}
|
|
3416
3416
|
},
|
|
3417
3417
|
providesTags: (t, r, n) => [{
|
|
3418
|
-
type:
|
|
3418
|
+
type: si,
|
|
3419
3419
|
id: n
|
|
3420
3420
|
}]
|
|
3421
3421
|
}),
|
|
@@ -3424,12 +3424,12 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3424
3424
|
return O.getClient(r).translations.get_translations2({ file: "react_app" });
|
|
3425
3425
|
},
|
|
3426
3426
|
providesTags: (t, r, n) => [{
|
|
3427
|
-
type:
|
|
3427
|
+
type: si,
|
|
3428
3428
|
id: "react_app"
|
|
3429
3429
|
}]
|
|
3430
3430
|
})
|
|
3431
3431
|
})
|
|
3432
|
-
}), { useGetLocalesQuery:
|
|
3432
|
+
}), { useGetLocalesQuery: Jp, useGetLocaleQuery: Xp, useLazyGetLocaleQuery: Ds, useLazyGetLocalesQuery: Ls } = it, Mt = O.createApi({
|
|
3433
3433
|
reducerPath: "saveFileApi",
|
|
3434
3434
|
tagTypes: ["Images"],
|
|
3435
3435
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/wp-json/save-file/v1/" }),
|
|
@@ -3460,7 +3460,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3460
3460
|
id: n
|
|
3461
3461
|
}]
|
|
3462
3462
|
}) })
|
|
3463
|
-
}), { useGetEmailRawQuery:
|
|
3463
|
+
}), { useGetEmailRawQuery: Kp } = It, Cn = "Optimise", qs = "usage_limit_exceeded", Hs = async (e, t, r) => {
|
|
3464
3464
|
const n = await O.fetchBaseQueryApp({ baseUrl: `${O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
3465
3465
|
if (n.error) {
|
|
3466
3466
|
let i = n.error;
|
|
@@ -3546,7 +3546,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3546
3546
|
method: "POST",
|
|
3547
3547
|
body: t
|
|
3548
3548
|
}) }) })
|
|
3549
|
-
}), { useValidateYandexTokenMutation:
|
|
3549
|
+
}), { useValidateYandexTokenMutation: ef } = nr, ar = O.createApi({
|
|
3550
3550
|
reducerPath: "elamaAuthApi",
|
|
3551
3551
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3552
3552
|
endpoints: (e) => ({ validateElamaCode: e.mutation({ query: (t) => ({
|
|
@@ -3554,7 +3554,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3554
3554
|
method: "POST",
|
|
3555
3555
|
body: t
|
|
3556
3556
|
}) }) })
|
|
3557
|
-
}), { useValidateElamaCodeMutation:
|
|
3557
|
+
}), { useValidateElamaCodeMutation: tf } = ar, or = O.createApi({
|
|
3558
3558
|
reducerPath: "googleAuthApi",
|
|
3559
3559
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3560
3560
|
endpoints: (e) => ({ validateGoogleToken: e.mutation({ query: (t) => ({
|
|
@@ -3562,7 +3562,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3562
3562
|
method: "POST",
|
|
3563
3563
|
body: t
|
|
3564
3564
|
}) }) })
|
|
3565
|
-
}), { useValidateGoogleTokenMutation:
|
|
3565
|
+
}), { useValidateGoogleTokenMutation: rf } = or, sr = O.createApi({
|
|
3566
3566
|
reducerPath: "webHookApi",
|
|
3567
3567
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3568
3568
|
endpoints: (e) => ({ postDataByWebHook: e.mutation({ query: ({ url: t, body: r }) => ({
|
|
@@ -3732,7 +3732,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3732
3732
|
web_id: m.web_id
|
|
3733
3733
|
} };
|
|
3734
3734
|
} }) })
|
|
3735
|
-
}), { useCreateCampaignMutation: al } = fr,
|
|
3735
|
+
}), { useCreateCampaignMutation: al } = fr, li = "https://a.klaviyo.com/api", ol = "2025-04-15", sl = (e) => ({
|
|
3736
3736
|
"Content-Type": "application/json",
|
|
3737
3737
|
Accept: "application/json",
|
|
3738
3738
|
Authorization: `Klaviyo-API-Key ${e}`,
|
|
@@ -3749,7 +3749,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3749
3749
|
html: t.html
|
|
3750
3750
|
}
|
|
3751
3751
|
} }, l = await i({
|
|
3752
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3752
|
+
url: `?proxy_url=${encodeURIComponent(`${li}/templates`)}`,
|
|
3753
3753
|
method: "POST",
|
|
3754
3754
|
headers: a,
|
|
3755
3755
|
body: JSON.stringify(s)
|
|
@@ -3790,7 +3790,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3790
3790
|
}] }
|
|
3791
3791
|
}
|
|
3792
3792
|
} }, b = await i({
|
|
3793
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3793
|
+
url: `?proxy_url=${encodeURIComponent(`${li}/campaigns`)}`,
|
|
3794
3794
|
method: "POST",
|
|
3795
3795
|
headers: a,
|
|
3796
3796
|
body: JSON.stringify(m)
|
|
@@ -3815,7 +3815,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3815
3815
|
id: u
|
|
3816
3816
|
} } }
|
|
3817
3817
|
} }, w = await i({
|
|
3818
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3818
|
+
url: `?proxy_url=${encodeURIComponent(`${li}/campaign-message-assign-template`)}`,
|
|
3819
3819
|
method: "POST",
|
|
3820
3820
|
headers: a,
|
|
3821
3821
|
body: JSON.stringify(h)
|
|
@@ -4298,7 +4298,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4298
4298
|
}
|
|
4299
4299
|
return { data: { count: l.data?.count ?? 1 } };
|
|
4300
4300
|
} }) })
|
|
4301
|
-
}), { useCreateBroadcastMutation: Pl } = xr, Rl = Me.require_eventsource()
|
|
4301
|
+
}), { useCreateBroadcastMutation: Pl } = xr, Rl = Me.require_eventsource();
|
|
4302
|
+
function Nl(e, t) {
|
|
4303
|
+
e === !0 || typeof t != "function" || t();
|
|
4304
|
+
}
|
|
4305
|
+
var Ml = async (e, t, r) => {
|
|
4302
4306
|
const n = await O.fetchBaseQueryApp({ baseUrl: O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "") })(e, t, r);
|
|
4303
4307
|
if (n.error) {
|
|
4304
4308
|
let i = n.error;
|
|
@@ -4312,7 +4316,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4312
4316
|
return n;
|
|
4313
4317
|
}, Sr = O.createApi({
|
|
4314
4318
|
reducerPath: "AiApiGenerator",
|
|
4315
|
-
baseQuery:
|
|
4319
|
+
baseQuery: Ml,
|
|
4316
4320
|
endpoints: (e) => ({
|
|
4317
4321
|
generateIdForTask: e.mutation({ queryFn(t, r) {
|
|
4318
4322
|
return O.getAIClient(r).tasks.tasksControllerCreateTask(t).then((n) => n);
|
|
@@ -4340,7 +4344,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4340
4344
|
body: t
|
|
4341
4345
|
}) })
|
|
4342
4346
|
})
|
|
4343
|
-
}), { useGenerateIdForTaskMutation:
|
|
4347
|
+
}), { useGenerateIdForTaskMutation: nf, useGetGeneratedContentQuery: af, useLazyClearAiChatQuery: Il, useLazyGetGeneratedContentQuery: jl, useGetAiGenerateStatusMutation: Dl } = Sr, Rn = async (e) => {
|
|
4344
4348
|
const t = await e.text();
|
|
4345
4349
|
let r = t;
|
|
4346
4350
|
try {
|
|
@@ -4349,7 +4353,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4349
4353
|
r = t;
|
|
4350
4354
|
}
|
|
4351
4355
|
return r;
|
|
4352
|
-
},
|
|
4356
|
+
}, Ll = (e, t, r) => {
|
|
4353
4357
|
if (!e) throw new Error(`Set ${r}`);
|
|
4354
4358
|
return {
|
|
4355
4359
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4358,7 +4362,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4358
4362
|
body: t,
|
|
4359
4363
|
responseHandler: Rn
|
|
4360
4364
|
};
|
|
4361
|
-
},
|
|
4365
|
+
}, Fl = (e, t, r) => {
|
|
4362
4366
|
if (!e) throw new Error(`Set ${r}`);
|
|
4363
4367
|
return {
|
|
4364
4368
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4370,10 +4374,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4370
4374
|
reducerPath: "requestPlaneApi",
|
|
4371
4375
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4372
4376
|
endpoints: (e) => ({
|
|
4373
|
-
getRequest: e.mutation({ query: (t) =>
|
|
4374
|
-
getInvoiceRequest: e.mutation({ query: (t) =>
|
|
4377
|
+
getRequest: e.mutation({ query: (t) => Fl("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
4378
|
+
getInvoiceRequest: e.mutation({ query: (t) => Ll("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
4375
4379
|
})
|
|
4376
|
-
}), { useGetRequestMutation:
|
|
4380
|
+
}), { useGetRequestMutation: of, useGetInvoiceRequestMutation: Ul } = Ar, zl = async (e, t, r) => {
|
|
4377
4381
|
try {
|
|
4378
4382
|
const { notification: n, ...i } = e, a = await O.fetchBaseQuery({ baseUrl: "https://html2pdf.emcdn.ru/convert/html-to-pdf" })(i, t, r);
|
|
4379
4383
|
if (a.error) throw new Error();
|
|
@@ -4383,7 +4387,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4383
4387
|
}
|
|
4384
4388
|
}, Cr = O.createApi({
|
|
4385
4389
|
reducerPath: "htmlToPdfPlusApi",
|
|
4386
|
-
baseQuery:
|
|
4390
|
+
baseQuery: zl,
|
|
4387
4391
|
endpoints: (e) => ({ generateHtmlToPdf: e.mutation({ query: ({ htmlContent: t, notification: r }) => ({
|
|
4388
4392
|
url: "",
|
|
4389
4393
|
method: "POST",
|
|
@@ -4391,7 +4395,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4391
4395
|
notification: r,
|
|
4392
4396
|
responseHandler: (n) => n.blob()
|
|
4393
4397
|
}) }) })
|
|
4394
|
-
}), { useGenerateHtmlToPdfMutation:
|
|
4398
|
+
}), { useGenerateHtmlToPdfMutation: Bl } = Cr, kr = O.createApi({
|
|
4395
4399
|
reducerPath: "layoutConverterApi",
|
|
4396
4400
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
4397
4401
|
endpoints: (e) => ({
|
|
@@ -4405,7 +4409,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4405
4409
|
method: "GET"
|
|
4406
4410
|
}) })
|
|
4407
4411
|
})
|
|
4408
|
-
}), { useCreateConvertJobMutation:
|
|
4412
|
+
}), { useCreateConvertJobMutation: ql, useLazyGetConvertJobStatusQuery: Hl } = kr;
|
|
4409
4413
|
function Nn({ title: e, content: t, acf: { seen: r, type: n, event: i, data: a }, ...s }) {
|
|
4410
4414
|
return {
|
|
4411
4415
|
...s,
|
|
@@ -4450,7 +4454,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4450
4454
|
}]
|
|
4451
4455
|
})
|
|
4452
4456
|
})
|
|
4453
|
-
}), { useGetNotificationsQuery:
|
|
4457
|
+
}), { useGetNotificationsQuery: $l, useNotificationShownMutation: Wl } = Dt, Tr = O.createApi({
|
|
4454
4458
|
reducerPath: "getCheckoutUrlApi",
|
|
4455
4459
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4456
4460
|
endpoints: (e) => ({ GetCheckoutUrl: e.mutation({ query: (t) => ({
|
|
@@ -4458,7 +4462,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4458
4462
|
method: "POST",
|
|
4459
4463
|
body: t
|
|
4460
4464
|
}) }) })
|
|
4461
|
-
}), { useGetCheckoutUrlMutation:
|
|
4465
|
+
}), { useGetCheckoutUrlMutation: Ql } = Tr, ci = O.createApi({
|
|
4462
4466
|
reducerPath: "recoverPasswordApi",
|
|
4463
4467
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.useblocks.io/api/wp-json/bdpwr/v1/" }),
|
|
4464
4468
|
endpoints: () => ({})
|
|
@@ -4468,22 +4472,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4468
4472
|
endpoints: (e) => ({ addUserToProject: e.mutation({ queryFn(t, r) {
|
|
4469
4473
|
return O.getClient(r).userToProject.add_user_create(t, { type: O.ContentType$1.FormData });
|
|
4470
4474
|
} }) })
|
|
4471
|
-
}), { useAddUserToProjectMutation:
|
|
4475
|
+
}), { useAddUserToProjectMutation: sf } = Lt, Or = O.createApi({
|
|
4472
4476
|
reducerPath: "confirmationMailApi",
|
|
4473
4477
|
baseQuery: O.fetchBaseQuery({
|
|
4474
4478
|
baseUrl: "https://px0.useblocks.io/",
|
|
4475
4479
|
responseHandler: (e) => e.text()
|
|
4476
4480
|
}),
|
|
4477
4481
|
endpoints: (e) => ({ getConfirmationMail: e.query({ query: ({ userId: t, email: r }) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/1fbda9c1-3211-4b12-be45-9cd2ea73d73d?user_id=${t}&user_email=${r}`)}` }) }) })
|
|
4478
|
-
}), { useLazyGetConfirmationMailQuery:
|
|
4482
|
+
}), { useLazyGetConfirmationMailQuery: Vl } = Or, Pr = O.createApi({
|
|
4479
4483
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
4480
4484
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4481
4485
|
endpoints: (e) => ({ getCanselRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/38815aec-cb5d-4b40-8dcb-75e7453573a0?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4482
|
-
}), { useLazyGetCanselRecurrenceQuery:
|
|
4486
|
+
}), { useLazyGetCanselRecurrenceQuery: Gl, useGetCanselRecurrenceQuery: lf } = Pr, Rr = O.createApi({
|
|
4483
4487
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
4484
4488
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4485
4489
|
endpoints: (e) => ({ getRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/7ac13d46-e4af-4dea-ab21-aab55415575b?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4486
|
-
}), { useLazyGetRecurrenceQuery:
|
|
4490
|
+
}), { useLazyGetRecurrenceQuery: Zl, useGetRecurrenceQuery: cf } = Rr, Nr = O.createApi({
|
|
4487
4491
|
reducerPath: "authApi",
|
|
4488
4492
|
baseQuery: O.fetchBaseQueryApp({
|
|
4489
4493
|
baseUrl: "https://app.useblocks.io/api/v2",
|
|
@@ -4532,15 +4536,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4532
4536
|
body: t
|
|
4533
4537
|
}) })
|
|
4534
4538
|
})
|
|
4535
|
-
}), { useLoginMutation:
|
|
4539
|
+
}), { useLoginMutation: uf, useRegisterMutation: df, useRefreshTokenMutation: pf, useLogoutMutation: Jl, useGetUserQuery: ff, useLazyGetUserQuery: hf, useChangePasswordMutation: Xl, useResetPasswordMutation: mf, useResetPasswordConfirmMutation: gf } = Nr, Kl = "https://app.useblocks.io/api/v2", Ft = "Integrations", Mr = "Webhook", Ir = "TestRecipients", ui = "Storage", Ut = O.createApi({
|
|
4536
4540
|
reducerPath: "projectSettingsV2Api",
|
|
4537
4541
|
tagTypes: [
|
|
4538
4542
|
Ft,
|
|
4539
4543
|
Mr,
|
|
4540
4544
|
Ir,
|
|
4541
|
-
|
|
4545
|
+
ui
|
|
4542
4546
|
],
|
|
4543
|
-
baseQuery: O.fetchBaseQueryApp({ baseUrl:
|
|
4547
|
+
baseQuery: O.fetchBaseQueryApp({ baseUrl: Kl }),
|
|
4544
4548
|
endpoints: (e) => ({
|
|
4545
4549
|
getProjectIntegrations: e.query({
|
|
4546
4550
|
query: (t) => `/projects/${t}/integrations`,
|
|
@@ -4598,7 +4602,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4598
4602
|
getProjectStorage: e.query({
|
|
4599
4603
|
query: (t) => `/projects/${t}/storage`,
|
|
4600
4604
|
providesTags: (t, r, n) => [{
|
|
4601
|
-
type:
|
|
4605
|
+
type: ui,
|
|
4602
4606
|
id: String(n)
|
|
4603
4607
|
}]
|
|
4604
4608
|
}),
|
|
@@ -4622,7 +4626,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4622
4626
|
id: String(n)
|
|
4623
4627
|
},
|
|
4624
4628
|
{
|
|
4625
|
-
type:
|
|
4629
|
+
type: ui,
|
|
4626
4630
|
id: String(n)
|
|
4627
4631
|
}
|
|
4628
4632
|
]
|
|
@@ -4647,7 +4651,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4647
4651
|
}]
|
|
4648
4652
|
})
|
|
4649
4653
|
})
|
|
4650
|
-
}), { useGetProjectStorageQuery:
|
|
4654
|
+
}), { useGetProjectStorageQuery: ec, usePutProjectSettingsMutation: tc, useGetProjectIntegrationsQuery: rc, useLazyGetIntegrationCredentialsQuery: ic, usePutProjectIntegrationMutation: vf, useDeleteProjectIntegrationMutation: bf, useGetProjectWebhookQuery: nc, usePutProjectWebhookMutation: _f, useGetProjectTestRecipientsQuery: ac, usePutProjectTestRecipientsMutation: oc } = Ut, Mn = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
4651
4655
|
<html>
|
|
4652
4656
|
<head>
|
|
4653
4657
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -4689,7 +4693,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4689
4693
|
</table>
|
|
4690
4694
|
</body>
|
|
4691
4695
|
</html>`;
|
|
4692
|
-
function
|
|
4696
|
+
function sc(e) {
|
|
4693
4697
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
4694
4698
|
}
|
|
4695
4699
|
var zt = O.createState({
|
|
@@ -4719,13 +4723,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4719
4723
|
isAmp: !1
|
|
4720
4724
|
},
|
|
4721
4725
|
hasChanged: !1
|
|
4722
|
-
}), jr = "newEmailSlice",
|
|
4726
|
+
}), jr = "newEmailSlice", di = O.createSlice({
|
|
4723
4727
|
name: jr,
|
|
4724
4728
|
initialState: zt,
|
|
4725
4729
|
reducers: {
|
|
4726
4730
|
setNewEmailAll: (e, { payload: t }) => {
|
|
4727
4731
|
const { id: r, subject: n = void 0, description: i = "", preheader: a, html: s = Mn, 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: M = !1 } = t;
|
|
4728
|
-
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = M, e.email.title = w,
|
|
4732
|
+
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = M, 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 = {
|
|
4729
4733
|
utm_source: l,
|
|
4730
4734
|
utm_medium: u,
|
|
4731
4735
|
utm_campaign: m,
|
|
@@ -4814,7 +4818,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4814
4818
|
}
|
|
4815
4819
|
}));
|
|
4816
4820
|
}
|
|
4817
|
-
}), { setNewEmailAll:
|
|
4821
|
+
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles: yf, setNewEmailTags: mc, setNewEmailUtmSource: gc, setNewEmailUtmMedium: vc, setNewEmailUtmCampaign: bc, setNewEmailUtmContent: _c, setNewEmailUtmTerm: yc, resetNewEmailSlice: wc, setNewIsInited: Ec, setNewEmailIsAmp: xc, setNewEmailMeta: Sc, setNewEmailProject: Ac } = di.actions, Cc = (e) => e[jr].email, kc = (e) => e[jr].appliedShowToken, Tc = (e) => e[jr].hasChanged, In = `<tr em="block" class="empty-structure">
|
|
4818
4822
|
<td align="center">
|
|
4819
4823
|
<!--[if (gte mso 9)|(IE)]>
|
|
4820
4824
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -4850,7 +4854,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4850
4854
|
title: null
|
|
4851
4855
|
},
|
|
4852
4856
|
hasChanged: !1
|
|
4853
|
-
}), jn = "newBlockSlice",
|
|
4857
|
+
}), jn = "newBlockSlice", pi = O.createSlice({
|
|
4854
4858
|
name: jn,
|
|
4855
4859
|
initialState: Bt,
|
|
4856
4860
|
reducers: {
|
|
@@ -4893,14 +4897,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4893
4897
|
}
|
|
4894
4898
|
}));
|
|
4895
4899
|
}
|
|
4896
|
-
}), { setNewBlockAll:
|
|
4900
|
+
}), { setNewBlockAll: wf, setNewBlockTitle: Ef, setNewBlockDescription: Oc, setNewBlockHtml: xf, setNewBlockTags: Pc, resetNewBlockSlice: Rc, setBlockIsAmp: Sf } = pi.actions, Nc = (e) => e[jn].hasChanged, Dn = O.createState({
|
|
4897
4901
|
emailsTotal: 0,
|
|
4898
4902
|
elementsList: [],
|
|
4899
4903
|
emailsTrashTotal: 0,
|
|
4900
4904
|
elementsTrashList: [],
|
|
4901
4905
|
customFolders: {},
|
|
4902
4906
|
elementsView: !O.PLUGIN.isPlugin && O.api.get(O.APP_COOKIES.em_elements_view) || "cards"
|
|
4903
|
-
}), nt = "emailsPageSlice",
|
|
4907
|
+
}), nt = "emailsPageSlice", fi = O.createSlice({
|
|
4904
4908
|
name: nt,
|
|
4905
4909
|
initialState: Dn,
|
|
4906
4910
|
reducers: {
|
|
@@ -4944,7 +4948,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4944
4948
|
}) : n);
|
|
4945
4949
|
});
|
|
4946
4950
|
}
|
|
4947
|
-
}), { resetPagesAndTotal:
|
|
4951
|
+
}), { resetPagesAndTotal: Mc, toggleElementsView: Ic, resetElementsList: jc, removeEmailFromList: Dc } = fi.actions, Lc = (e) => e[nt].emailsTotal, Fc = (e) => e[nt].elementsView, Uc = (e) => e[nt].elementsList, zc = (e) => e[nt].customFolders, Bc = (e) => e[nt].emailsTrashTotal, qc = (e) => e[nt].elementsTrashList, Ln = O.createState({
|
|
4948
4952
|
blocksTotal: null,
|
|
4949
4953
|
blocksTotalPages: null,
|
|
4950
4954
|
parentEmailBlocksTotal: null,
|
|
@@ -4957,7 +4961,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4957
4961
|
customFolders: {},
|
|
4958
4962
|
blocksTrashTotal: 0,
|
|
4959
4963
|
elementsTrashList: []
|
|
4960
|
-
}), Dr = "blocksPageSlice",
|
|
4964
|
+
}), Dr = "blocksPageSlice", hi = O.createSlice({
|
|
4961
4965
|
name: Dr,
|
|
4962
4966
|
initialState: Ln,
|
|
4963
4967
|
reducers: {
|
|
@@ -5002,11 +5006,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5002
5006
|
}) : n);
|
|
5003
5007
|
});
|
|
5004
5008
|
}
|
|
5005
|
-
}), { resetPagesAndTotal:
|
|
5009
|
+
}), { resetPagesAndTotal: Af, resetElementsList: Cf, toggleElementsView: kf, removeBlockFromList: Tf } = hi.actions, Hc = (e) => e[Dr].blocksTotal, $c = (e) => e[Dr].templateBlocksTotal, Wc = (e) => e[Dr].parentEmailBlocksTotal, Fn = O.createState({
|
|
5006
5010
|
historyData: [],
|
|
5007
5011
|
elementHistoryTotalPages: 1
|
|
5008
|
-
}),
|
|
5009
|
-
name:
|
|
5012
|
+
}), mi = "revisionHistorySlice", Lr = O.createSlice({
|
|
5013
|
+
name: mi,
|
|
5010
5014
|
initialState: Fn,
|
|
5011
5015
|
reducers: {
|
|
5012
5016
|
resetElementHistorySlice: () => ({ ...Fn }),
|
|
@@ -5021,7 +5025,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5021
5025
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
5022
5026
|
});
|
|
5023
5027
|
}
|
|
5024
|
-
}), { resetElementHistorySlice:
|
|
5028
|
+
}), { resetElementHistorySlice: Qc } = Lr.actions, { setElementHistory: Of } = Lr.actions, Vc = (e) => e[mi].elementHistoryTotalPages, Gc = (e) => e[mi].historyData, Un = O.combineReducers({
|
|
5025
5029
|
[O.di.reducerPath]: O.di.reducer,
|
|
5026
5030
|
[Pt.reducerPath]: Pt.reducer,
|
|
5027
5031
|
[O.userSlice.name]: O.userSlice.reducer,
|
|
@@ -5034,8 +5038,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5034
5038
|
[O.projectSlice.name]: O.projectSlice.reducer,
|
|
5035
5039
|
[O.blocksApi.reducerPath]: O.blocksApi.reducer,
|
|
5036
5040
|
[O.emailsApi.reducerPath]: O.emailsApi.reducer,
|
|
5037
|
-
[ui.name]: ui.reducer,
|
|
5038
5041
|
[di.name]: di.reducer,
|
|
5042
|
+
[pi.name]: pi.reducer,
|
|
5039
5043
|
[it.reducerPath]: it.reducer,
|
|
5040
5044
|
[sr.reducerPath]: sr.reducer,
|
|
5041
5045
|
[lr.reducerPath]: lr.reducer,
|
|
@@ -5060,8 +5064,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5060
5064
|
[It.reducerPath]: It.reducer,
|
|
5061
5065
|
[O.commentsApi.reducerPath]: O.commentsApi.reducer,
|
|
5062
5066
|
[rr.reducerPath]: rr.reducer,
|
|
5067
|
+
[hi.name]: hi.reducer,
|
|
5063
5068
|
[fi.name]: fi.reducer,
|
|
5064
|
-
[pi.name]: pi.reducer,
|
|
5065
5069
|
[ir.reducerPath]: ir.reducer,
|
|
5066
5070
|
[or.reducerPath]: or.reducer,
|
|
5067
5071
|
[nr.reducerPath]: nr.reducer,
|
|
@@ -5079,14 +5083,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5079
5083
|
[O.autosaveRecoverySlice.name]: O.autosaveRecoverySlice.reducer,
|
|
5080
5084
|
[Tr.reducerPath]: Tr.reducer,
|
|
5081
5085
|
[Kt.defaultModePanesSlice.name]: Kt.defaultModePanesSlice.reducer,
|
|
5082
|
-
[
|
|
5086
|
+
[ci.reducerPath]: ci.reducer,
|
|
5083
5087
|
[Lt.reducerPath]: Lt.reducer,
|
|
5084
5088
|
[Or.reducerPath]: Or.reducer,
|
|
5085
5089
|
[Rr.reducerPath]: Rr.reducer,
|
|
5086
5090
|
[Pr.reducerPath]: Pr.reducer,
|
|
5087
5091
|
[Nr.reducerPath]: Nr.reducer,
|
|
5088
5092
|
[Ut.reducerPath]: Ut.reducer
|
|
5089
|
-
}),
|
|
5093
|
+
}), Zc = (e, t) => t.type === "authorizationApi/resetApiState" ? Un({
|
|
5090
5094
|
[O.reducerPath]: e[O.reducerPath],
|
|
5091
5095
|
[it.reducerPath]: e[it.reducerPath]
|
|
5092
5096
|
}, t) : Un(e, t), zn = [
|
|
@@ -5132,7 +5136,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5132
5136
|
kr,
|
|
5133
5137
|
Dt,
|
|
5134
5138
|
Tr,
|
|
5135
|
-
|
|
5139
|
+
ci,
|
|
5136
5140
|
Nr,
|
|
5137
5141
|
Ut,
|
|
5138
5142
|
Lt,
|
|
@@ -5140,14 +5144,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5140
5144
|
Rr,
|
|
5141
5145
|
Pr
|
|
5142
5146
|
];
|
|
5143
|
-
function
|
|
5147
|
+
function Yc(e) {
|
|
5144
5148
|
let t = {};
|
|
5145
5149
|
if (e) {
|
|
5146
5150
|
const n = O.createIdentifier$1();
|
|
5147
5151
|
O.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
5148
5152
|
}
|
|
5149
5153
|
const r = O.configureStore({
|
|
5150
|
-
reducer:
|
|
5154
|
+
reducer: Zc,
|
|
5151
5155
|
middleware: (n) => n({ serializableCheck: !1 }).concat(zn.map((i) => i.middleware)),
|
|
5152
5156
|
preloadedState: t
|
|
5153
5157
|
});
|
|
@@ -5167,13 +5171,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5167
5171
|
return O.getClient(r).jwtAuth.token_validate_create({ type: O.ContentType$1.Json });
|
|
5168
5172
|
} })
|
|
5169
5173
|
})
|
|
5170
|
-
}), { useTokenCreateMutation:
|
|
5174
|
+
}), { useTokenCreateMutation: Pf, useTokenValidateMutation: Rf } = Fr;
|
|
5171
5175
|
function Bn() {
|
|
5172
5176
|
const e = new Map();
|
|
5173
5177
|
for (const t of zn) e.set(t.reducerPath, t);
|
|
5174
5178
|
return e.set(Fr.reducerPath, Fr), [...e.values()];
|
|
5175
5179
|
}
|
|
5176
|
-
var
|
|
5180
|
+
var Jc = {
|
|
5177
5181
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
5178
5182
|
imageApi: new Set([
|
|
5179
5183
|
"sendAiImageRequest",
|
|
@@ -5181,27 +5185,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5181
5185
|
"getAiImageSSE"
|
|
5182
5186
|
])
|
|
5183
5187
|
};
|
|
5184
|
-
function
|
|
5188
|
+
function Xc(e) {
|
|
5185
5189
|
return e.getState().configSlice?.config;
|
|
5186
5190
|
}
|
|
5187
|
-
function
|
|
5191
|
+
function Kc(e) {
|
|
5188
5192
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
5189
5193
|
}
|
|
5190
|
-
function
|
|
5191
|
-
return Xc(
|
|
5194
|
+
function eu(e) {
|
|
5195
|
+
return Kc(Xc(e));
|
|
5192
5196
|
}
|
|
5193
|
-
function
|
|
5194
|
-
return
|
|
5197
|
+
function tu(e, t, r, n) {
|
|
5198
|
+
return Jc[t]?.has(r) ? (i) => eu(e) ? (a) => a(i) : n(i) : n;
|
|
5195
5199
|
}
|
|
5196
|
-
function
|
|
5200
|
+
function ru(e) {
|
|
5197
5201
|
const t = O.getOverrideApiFn(e);
|
|
5198
5202
|
return ((r, n) => {
|
|
5199
5203
|
if (!r || typeof r.reducerPath != "string") return new O.Disposable();
|
|
5200
|
-
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ?
|
|
5204
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? tu(e, r.reducerPath, a, s) : s]));
|
|
5201
5205
|
return t(r, i);
|
|
5202
5206
|
});
|
|
5203
5207
|
}
|
|
5204
|
-
function
|
|
5208
|
+
function iu(e) {
|
|
5205
5209
|
const t = `blocks_${O.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
5206
5210
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
5207
5211
|
window[t] = function(a) {
|
|
@@ -5212,37 +5216,37 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5212
5216
|
r.remove(), delete window[t];
|
|
5213
5217
|
});
|
|
5214
5218
|
}
|
|
5215
|
-
function
|
|
5219
|
+
function nu(e) {
|
|
5216
5220
|
if (!e) return;
|
|
5217
5221
|
const t = Me.decodeJwt(e)?.data?.scope;
|
|
5218
5222
|
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;
|
|
5219
5223
|
}
|
|
5220
|
-
async function
|
|
5224
|
+
async function au(e) {
|
|
5221
5225
|
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);
|
|
5222
5226
|
n && e.dispatch(O.setProject(xn(n)));
|
|
5223
5227
|
}
|
|
5224
|
-
async function
|
|
5228
|
+
async function ou(e, t) {
|
|
5225
5229
|
try {
|
|
5226
5230
|
const r = function(s) {
|
|
5227
5231
|
const l = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), u = l ? Sn(l, s) : s;
|
|
5228
5232
|
O.di.injectFactory(e, O.APP_ID, async () => u);
|
|
5229
|
-
}, n =
|
|
5233
|
+
}, n = ru(e), i = await (await En.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
|
|
5230
5234
|
if (typeof i != "string") return;
|
|
5231
|
-
const a = await
|
|
5235
|
+
const a = await iu(i);
|
|
5232
5236
|
if (typeof a != "object" || a === null || typeof a.execute != "function") return;
|
|
5233
5237
|
a.execute(r, n, Bn());
|
|
5234
5238
|
} catch {}
|
|
5235
5239
|
}
|
|
5236
|
-
function
|
|
5240
|
+
function su(e, t) {
|
|
5237
5241
|
const r = Object.keys(t.endpoints);
|
|
5238
5242
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, O.standaloneTerminalGuardExecutor])));
|
|
5239
5243
|
}
|
|
5240
|
-
function
|
|
5244
|
+
function lu(e) {
|
|
5241
5245
|
O.markStandaloneMockGuardInstalled(e);
|
|
5242
5246
|
const t = O.getOverrideApiFn(e);
|
|
5243
|
-
for (const r of Bn())
|
|
5247
|
+
for (const r of Bn()) su(t, r);
|
|
5244
5248
|
}
|
|
5245
|
-
var
|
|
5249
|
+
var cu = class extends O.Disposable {
|
|
5246
5250
|
_event;
|
|
5247
5251
|
_listener;
|
|
5248
5252
|
_disposeEvent;
|
|
@@ -5256,7 +5260,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5256
5260
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
5257
5261
|
}
|
|
5258
5262
|
};
|
|
5259
|
-
function
|
|
5263
|
+
function uu(e, t, r) {
|
|
5260
5264
|
const n = O.snapshot(e);
|
|
5261
5265
|
return (i, a, s) => {
|
|
5262
5266
|
const l = n(async (u) => {
|
|
@@ -5268,7 +5272,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5268
5272
|
return () => l.dispose();
|
|
5269
5273
|
};
|
|
5270
5274
|
}
|
|
5271
|
-
var
|
|
5275
|
+
var gi = {
|
|
5272
5276
|
INIT_START: 5e3,
|
|
5273
5277
|
SET_ENTITY: 12e3,
|
|
5274
5278
|
PREHEADER: 5e3,
|
|
@@ -5281,13 +5285,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5281
5285
|
"PREHEADER",
|
|
5282
5286
|
"SUBJECT",
|
|
5283
5287
|
"INITED"
|
|
5284
|
-
],
|
|
5285
|
-
function
|
|
5288
|
+
], vi = 2e4, Hn = vi + qn.reduce((e, t) => e + gi[t], 0) + 3e3;
|
|
5289
|
+
function pu(e) {
|
|
5286
5290
|
return qn.reduce((t, r) => t + $n(r, e), 0);
|
|
5287
5291
|
}
|
|
5288
5292
|
function $n(e, t) {
|
|
5289
5293
|
const r = t?.[e];
|
|
5290
|
-
return typeof r == "number" && r > 0 ? r :
|
|
5294
|
+
return typeof r == "number" && r > 0 ? r : gi[e];
|
|
5291
5295
|
}
|
|
5292
5296
|
function Wn(e) {
|
|
5293
5297
|
const t = e?.contentReady;
|
|
@@ -5295,14 +5299,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5295
5299
|
}
|
|
5296
5300
|
function Qn(e) {
|
|
5297
5301
|
const t = e?.sandboxReady;
|
|
5298
|
-
return typeof t == "number" && t > 0 ? t :
|
|
5302
|
+
return typeof t == "number" && t > 0 ? t : vi;
|
|
5299
5303
|
}
|
|
5300
|
-
var
|
|
5304
|
+
var fu = class extends Error {
|
|
5301
5305
|
showId;
|
|
5302
5306
|
constructor(e, t) {
|
|
5303
5307
|
super(`[useblocks] show() timed out after ${t}ms waiting for editor init (showId=${e}). Check earlier console errors: wrong host-plugin publicPath (chunks return HTML), mount element removed without destroy(), or sandbox init never completed. Search for [show-pipeline] and [AMD] messages.`), this.name = "ShowPipelineTimeoutError", this.showId = e;
|
|
5304
5308
|
}
|
|
5305
|
-
},
|
|
5309
|
+
}, hu = class {
|
|
5306
5310
|
_activeRequest = null;
|
|
5307
5311
|
_pending = new Map();
|
|
5308
5312
|
_listeners = new Set();
|
|
@@ -5318,7 +5322,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5318
5322
|
return this._rejectPending(Be("Superseded by newer show()")), r.aborted ? Promise.reject(Be(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
5319
5323
|
const a = setTimeout(() => {
|
|
5320
5324
|
this._settle(e.showId, () => {
|
|
5321
|
-
i(new
|
|
5325
|
+
i(new fu(e.showId, t));
|
|
5322
5326
|
});
|
|
5323
5327
|
}, t);
|
|
5324
5328
|
a.unref?.();
|
|
@@ -5366,7 +5370,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5366
5370
|
this._pending.clear();
|
|
5367
5371
|
}
|
|
5368
5372
|
};
|
|
5369
|
-
function
|
|
5373
|
+
function mu(e, t) {
|
|
5370
5374
|
return {
|
|
5371
5375
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
5372
5376
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -5376,16 +5380,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5376
5380
|
} : e?.sandbox
|
|
5377
5381
|
};
|
|
5378
5382
|
}
|
|
5379
|
-
function
|
|
5383
|
+
function gu(e) {
|
|
5380
5384
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
5381
5385
|
Wn(e);
|
|
5382
|
-
Qn(e) +
|
|
5386
|
+
Qn(e) + pu(e.sandbox);
|
|
5383
5387
|
}
|
|
5384
5388
|
var Vn = class {
|
|
5385
5389
|
_controller = new AbortController();
|
|
5386
5390
|
_externalSignalDisposable = new O.Disposable();
|
|
5387
5391
|
_sessionChangeListeners = new Set();
|
|
5388
|
-
_showRegistry = new
|
|
5392
|
+
_showRegistry = new hu();
|
|
5389
5393
|
_timeouts;
|
|
5390
5394
|
_generation = 0;
|
|
5391
5395
|
_sessionStarted = !1;
|
|
@@ -5434,7 +5438,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5434
5438
|
};
|
|
5435
5439
|
}
|
|
5436
5440
|
configure(e) {
|
|
5437
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
5441
|
+
e.timeouts !== void 0 && (this._timeouts = mu(this._timeouts, e.timeouts), gu(this._timeouts));
|
|
5438
5442
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
5439
5443
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
5440
5444
|
}
|
|
@@ -5461,18 +5465,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5461
5465
|
e.removeEventListener("abort", t);
|
|
5462
5466
|
});
|
|
5463
5467
|
}
|
|
5464
|
-
},
|
|
5468
|
+
}, vu = (() => {
|
|
5465
5469
|
const e = new Vn();
|
|
5466
5470
|
return e.configure({}), e;
|
|
5467
5471
|
})();
|
|
5468
|
-
function
|
|
5472
|
+
function bu(e = Hn) {
|
|
5469
5473
|
return e + 3e3;
|
|
5470
5474
|
}
|
|
5471
5475
|
var Gn = "PluginRegistry";
|
|
5472
|
-
function
|
|
5476
|
+
function _u(e = O.resolveContainer()) {
|
|
5473
5477
|
return e.getOrCreateInstance(Gn, () => new rs());
|
|
5474
5478
|
}
|
|
5475
|
-
var
|
|
5479
|
+
var yu = new is(() => _u()), Zn = {
|
|
5476
5480
|
"application/prs.cww": ["cww"],
|
|
5477
5481
|
"application/prs.xsf+xml": ["xsf"],
|
|
5478
5482
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -6783,7 +6787,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6783
6787
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
6784
6788
|
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");
|
|
6785
6789
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
6786
|
-
}, gt, qt, at,
|
|
6790
|
+
}, gt, qt, at, wu = class {
|
|
6787
6791
|
constructor(...e) {
|
|
6788
6792
|
gt.set(this, new Map()), qt.set(this, new Map()), at.set(this, new Map());
|
|
6789
6793
|
for (const t of e) this.define(t);
|
|
@@ -6829,7 +6833,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6829
6833
|
}
|
|
6830
6834
|
};
|
|
6831
6835
|
gt = new WeakMap(), qt = new WeakMap(), at = new WeakMap();
|
|
6832
|
-
var
|
|
6836
|
+
var bi = new wu(Yn, Zn)._freeze();
|
|
6833
6837
|
function Jn(e) {
|
|
6834
6838
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
6835
6839
|
}
|
|
@@ -6863,27 +6867,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6863
6867
|
}
|
|
6864
6868
|
return r === 0;
|
|
6865
6869
|
}
|
|
6866
|
-
function
|
|
6870
|
+
function Eu(e) {
|
|
6867
6871
|
return (t, r, n) => Ur(t) ? e(t, r, n) : !1;
|
|
6868
6872
|
}
|
|
6869
|
-
function
|
|
6873
|
+
function xu(e) {
|
|
6870
6874
|
return (t) => Ur(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
6871
6875
|
}
|
|
6872
|
-
function
|
|
6876
|
+
function Su(e) {
|
|
6873
6877
|
return (t, r, n) => Ur(t) ? Jn(t) ? e(t, r, n) : t : !1;
|
|
6874
6878
|
}
|
|
6875
|
-
function
|
|
6879
|
+
function Au(e) {
|
|
6876
6880
|
return (t) => {
|
|
6877
6881
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
6878
6882
|
return Ur(r) ? Jn(r) ? e(t) : t : !1;
|
|
6879
6883
|
};
|
|
6880
6884
|
}
|
|
6881
|
-
function
|
|
6885
|
+
function Cu(e) {
|
|
6882
6886
|
const t = /[<>&]/g;
|
|
6883
6887
|
for (; t.exec(e) !== null;) return !0;
|
|
6884
6888
|
return !1;
|
|
6885
6889
|
}
|
|
6886
|
-
function
|
|
6890
|
+
function _i(e, t) {
|
|
6887
6891
|
const r = e.length;
|
|
6888
6892
|
for (let n = 0; n < r; n++) {
|
|
6889
6893
|
const i = e.charCodeAt(n);
|
|
@@ -6891,7 +6895,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6891
6895
|
}
|
|
6892
6896
|
return !0;
|
|
6893
6897
|
}
|
|
6894
|
-
function
|
|
6898
|
+
function ku(e) {
|
|
6895
6899
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
6896
6900
|
crypto.getRandomValues(n);
|
|
6897
6901
|
let i = "";
|
|
@@ -6901,34 +6905,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6901
6905
|
}
|
|
6902
6906
|
return i;
|
|
6903
6907
|
}
|
|
6904
|
-
var
|
|
6908
|
+
var Tu = 8, Ou = class {
|
|
6905
6909
|
_byKey = Object.create(null);
|
|
6906
6910
|
_byValue = Object.create(null);
|
|
6907
6911
|
getOrCreateByKey(e) {
|
|
6908
6912
|
let t = this._byKey[e];
|
|
6909
|
-
return t === void 0 && (t =
|
|
6913
|
+
return t === void 0 && (t = ku(Tu), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
6910
6914
|
}
|
|
6911
6915
|
getByValue(e) {
|
|
6912
6916
|
return this._byValue[e];
|
|
6913
6917
|
}
|
|
6914
|
-
}, zr = new
|
|
6918
|
+
}, zr = new Ou();
|
|
6915
6919
|
function Xn(e, t) {
|
|
6916
|
-
return t !== void 0 && !
|
|
6920
|
+
return t !== void 0 && !_i(e, t) ? `%|{${zr.getOrCreateByKey(e)}}|%` : e;
|
|
6917
6921
|
}
|
|
6918
|
-
function
|
|
6922
|
+
function Pu(e) {
|
|
6919
6923
|
const t = zr.getByValue(e.slice(3, e.length - 3));
|
|
6920
6924
|
return t === void 0 ? e : t;
|
|
6921
6925
|
}
|
|
6922
6926
|
function we(e, t, r) {
|
|
6923
|
-
return t !== void 0 ?
|
|
6927
|
+
return t !== void 0 ? _i(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6924
6928
|
}
|
|
6925
|
-
function
|
|
6929
|
+
function Ru(e) {
|
|
6926
6930
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6927
6931
|
}
|
|
6928
6932
|
function be(e) {
|
|
6929
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6933
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? Ru(e.slice(4, -3)) : e;
|
|
6930
6934
|
}
|
|
6931
|
-
function
|
|
6935
|
+
function Nu(e) {
|
|
6932
6936
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6933
6937
|
let n = e;
|
|
6934
6938
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6936,14 +6940,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6936
6940
|
const a = n.trim();
|
|
6937
6941
|
return t.test(a) || r.test(a);
|
|
6938
6942
|
}
|
|
6939
|
-
function
|
|
6940
|
-
return t !== void 0 ?
|
|
6943
|
+
function Mu(e, t, r) {
|
|
6944
|
+
return t !== void 0 ? _i(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : r || Cu(e) || Nu(e) ? `<!--${e}-->` : e;
|
|
6941
6945
|
}
|
|
6942
|
-
var ot =
|
|
6943
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
6944
|
-
},
|
|
6945
|
-
function
|
|
6946
|
-
return e ?
|
|
6946
|
+
var ot = Eu(we), st = xu(be), Iu = Su(we), ju = Au(be), Kn = (e) => {
|
|
6947
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", Pu), 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", ")", Iu, !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", "-->", ju, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
|
|
6948
|
+
}, yi = "bare", Du = new Map();
|
|
6949
|
+
function Lu(e) {
|
|
6950
|
+
return e ? Du.get(e) ?? yi : yi;
|
|
6947
6951
|
}
|
|
6948
6952
|
var ea = [
|
|
6949
6953
|
"brace-percent",
|
|
@@ -6960,10 +6964,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6960
6964
|
function Ht(e) {
|
|
6961
6965
|
return e === "bare" || e === "html-comment";
|
|
6962
6966
|
}
|
|
6963
|
-
function
|
|
6967
|
+
function wi(e) {
|
|
6964
6968
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6965
6969
|
}
|
|
6966
|
-
function
|
|
6970
|
+
function Fu(e, t = (r) => {}) {
|
|
6967
6971
|
const r = {
|
|
6968
6972
|
output: {},
|
|
6969
6973
|
editor: {}
|
|
@@ -6976,10 +6980,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6976
6980
|
} else if (typeof e == "object" && !Array.isArray(e)) n = e;
|
|
6977
6981
|
else return t(`templateDirectives: expected a string or an object, got ${typeof e}. Ignored.`), r;
|
|
6978
6982
|
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;
|
|
6979
|
-
if (n.syntaxes !== void 0 && !
|
|
6983
|
+
if (n.syntaxes !== void 0 && !wi(n.syntaxes)) return t("templateDirectives.syntaxes: expected an object, configuration ignored."), r;
|
|
6980
6984
|
if (n.syntaxes) {
|
|
6981
6985
|
for (const [m, b] of Object.entries(n.syntaxes)) if (!(!ta(m) || b === void 0 || Ht(b))) {
|
|
6982
|
-
if (!
|
|
6986
|
+
if (!wi(b)) return t(`templateDirectives.syntaxes.${m}: expected a form or an object, configuration ignored.`), r;
|
|
6983
6987
|
for (const E of ["output", "editor"]) {
|
|
6984
6988
|
const p = b[E];
|
|
6985
6989
|
if (p !== void 0 && !Ht(p)) return t(`templateDirectives.syntaxes.${m}.${E}: unknown form "${String(p)}", configuration ignored.`), r;
|
|
@@ -6987,7 +6991,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6987
6991
|
}
|
|
6988
6992
|
}
|
|
6989
6993
|
if (n.output === void 0 && n.editor === void 0 && n.syntaxes === void 0) return r;
|
|
6990
|
-
const i = n.output ??
|
|
6994
|
+
const i = n.output ?? yi;
|
|
6991
6995
|
let a = n.editor;
|
|
6992
6996
|
i === "bare" && n.editor === "html-comment" && (t("templateDirectives: editor=\"html-comment\" requires output=\"html-comment\"; editor was reset to match output."), a = void 0);
|
|
6993
6997
|
const s = [];
|
|
@@ -7001,7 +7005,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7001
7005
|
else s.push(...ea);
|
|
7002
7006
|
const l = {}, u = {};
|
|
7003
7007
|
for (const m of s) {
|
|
7004
|
-
const b = n.syntaxes?.[m], E =
|
|
7008
|
+
const b = n.syntaxes?.[m], E = wi(b) ? b : void 0, p = (Ht(b) ? b : E?.output) ?? i;
|
|
7005
7009
|
let c = E?.editor ?? a ?? p;
|
|
7006
7010
|
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;
|
|
7007
7011
|
}
|
|
@@ -7051,7 +7055,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7051
7055
|
}
|
|
7052
7056
|
return s.sort((b, E) => b.range.start - E.range.start || b.range.end - E.range.end);
|
|
7053
7057
|
}
|
|
7054
|
-
function
|
|
7058
|
+
function Uu(e, t) {
|
|
7055
7059
|
const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: E, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
|
|
7056
7060
|
value: b,
|
|
7057
7061
|
mapFn: u,
|
|
@@ -7069,10 +7073,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7069
7073
|
}
|
|
7070
7074
|
return a;
|
|
7071
7075
|
}
|
|
7072
|
-
function
|
|
7076
|
+
function Ei(e, t, r, n, i = !1) {
|
|
7073
7077
|
const a = [];
|
|
7074
7078
|
if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
|
|
7075
|
-
const s =
|
|
7079
|
+
const s = Uu(e, t), l = {
|
|
7076
7080
|
insideTag: !1,
|
|
7077
7081
|
insideAttributeValue: !1,
|
|
7078
7082
|
attributeQuoteChar: void 0,
|
|
@@ -7125,7 +7129,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7125
7129
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
7126
7130
|
return n;
|
|
7127
7131
|
}
|
|
7128
|
-
var
|
|
7132
|
+
var zu = class {
|
|
7129
7133
|
_disposables = [];
|
|
7130
7134
|
_escapes = [];
|
|
7131
7135
|
_unescapes = [];
|
|
@@ -7182,22 +7186,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7182
7186
|
return this.addDisposable(a), a;
|
|
7183
7187
|
}
|
|
7184
7188
|
_collectMappings(e, t, r) {
|
|
7185
|
-
const n =
|
|
7189
|
+
const n = Ei(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)));
|
|
7186
7190
|
return [...s, ...l].sort((u, m) => u.range.start - m.range.start || u.range.end - m.range.end);
|
|
7187
7191
|
}
|
|
7188
7192
|
getMappings(e, t, r) {
|
|
7189
7193
|
return this._collectMappings(e, t, r);
|
|
7190
7194
|
}
|
|
7191
7195
|
_collectRevertMappings(e, t) {
|
|
7192
|
-
const r =
|
|
7196
|
+
const r = Ei(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)));
|
|
7193
7197
|
return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
|
|
7194
7198
|
}
|
|
7195
7199
|
getRevertMappings(e, t, r) {
|
|
7196
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
7200
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Lu(i) === "html-comment";
|
|
7197
7201
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
7198
7202
|
}
|
|
7199
7203
|
getDetectedMappings(e, t, r) {
|
|
7200
|
-
return
|
|
7204
|
+
return Ei(e, this._escapes, t, r, !0);
|
|
7201
7205
|
}
|
|
7202
7206
|
getEscapedText(e, t) {
|
|
7203
7207
|
return Br(e, this.getMappings(e, t));
|
|
@@ -7221,7 +7225,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7221
7225
|
}
|
|
7222
7226
|
}, ke = (function(e) {
|
|
7223
7227
|
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;
|
|
7224
|
-
})({}), qr = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
7228
|
+
})({}), qr = (e) => e.type === 0 ? e.start - 1 : e.start, Bu = (e) => e.type === 0 ? e.end + 1 : e.end, Ke = class ts {
|
|
7225
7229
|
start;
|
|
7226
7230
|
end;
|
|
7227
7231
|
children;
|
|
@@ -7269,7 +7273,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7269
7273
|
const r = aa(this.children, (n) => t <= qr(n)) - 1;
|
|
7270
7274
|
if (r >= 0) {
|
|
7271
7275
|
const n = this.children[r];
|
|
7272
|
-
if (t >= qr(n) && t <=
|
|
7276
|
+
if (t >= qr(n) && t <= Bu(n)) return n.findNodeAt(t);
|
|
7273
7277
|
}
|
|
7274
7278
|
return this;
|
|
7275
7279
|
}
|
|
@@ -7303,7 +7307,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7303
7307
|
const i = this.start - r, a = new ts(r, this.end - i, [], t);
|
|
7304
7308
|
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;
|
|
7305
7309
|
}
|
|
7306
|
-
},
|
|
7310
|
+
}, qu = new Set([
|
|
7307
7311
|
"area",
|
|
7308
7312
|
"br",
|
|
7309
7313
|
"col",
|
|
@@ -7316,20 +7320,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7316
7320
|
"param",
|
|
7317
7321
|
"vk-snippet-end"
|
|
7318
7322
|
]);
|
|
7319
|
-
function
|
|
7323
|
+
function Hu(e) {
|
|
7320
7324
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7321
7325
|
}
|
|
7322
7326
|
var na = Object.create(null);
|
|
7323
|
-
function
|
|
7327
|
+
function $u(e, t) {
|
|
7324
7328
|
const r = na[e] || (na[e] = Object.create(null));
|
|
7325
7329
|
let n = r[t];
|
|
7326
7330
|
if (typeof n != "boolean") {
|
|
7327
|
-
const i = document.createElement(e)[
|
|
7331
|
+
const i = document.createElement(e)[Hu(t)];
|
|
7328
7332
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7329
7333
|
}
|
|
7330
7334
|
return n;
|
|
7331
7335
|
}
|
|
7332
|
-
function
|
|
7336
|
+
function Wu(e) {
|
|
7333
7337
|
const t = e.tag?.toLowerCase();
|
|
7334
7338
|
let r = "";
|
|
7335
7339
|
if (t) {
|
|
@@ -7338,15 +7342,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7338
7342
|
const i = Object.keys(n);
|
|
7339
7343
|
for (const a of i) {
|
|
7340
7344
|
const s = n[a] === null ? "" : n[a];
|
|
7341
|
-
typeof s == "string" && (r += s === "" && a !== "em" &&
|
|
7345
|
+
typeof s == "string" && (r += s === "" && a !== "em" && !$u(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
|
|
7342
7346
|
}
|
|
7343
7347
|
}
|
|
7344
7348
|
}
|
|
7345
7349
|
return r;
|
|
7346
7350
|
}
|
|
7347
|
-
function
|
|
7351
|
+
function Qu(e, t) {
|
|
7348
7352
|
if (e.start !== e.startTagEnd || t) {
|
|
7349
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
7353
|
+
const r = e.tag?.toLowerCase() || "div", n = Wu(e);
|
|
7350
7354
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
7351
7355
|
}
|
|
7352
7356
|
return "";
|
|
@@ -7360,18 +7364,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7360
7364
|
}
|
|
7361
7365
|
return r;
|
|
7362
7366
|
}
|
|
7363
|
-
function
|
|
7367
|
+
function Vu(e) {
|
|
7364
7368
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7365
7369
|
}
|
|
7366
|
-
function
|
|
7370
|
+
function xi(e) {
|
|
7367
7371
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
7368
7372
|
}
|
|
7369
7373
|
var oa = Object.create(null);
|
|
7370
|
-
function
|
|
7374
|
+
function Gu(e, t) {
|
|
7371
7375
|
const r = oa[e] || (oa[e] = Object.create(null));
|
|
7372
7376
|
let n = r[t];
|
|
7373
7377
|
if (typeof n != "boolean") {
|
|
7374
|
-
const i = document.createElement(e)[
|
|
7378
|
+
const i = document.createElement(e)[Vu(t)];
|
|
7375
7379
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7376
7380
|
}
|
|
7377
7381
|
return n;
|
|
@@ -7379,34 +7383,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7379
7383
|
function et(e) {
|
|
7380
7384
|
return e.nodeType === Node.ELEMENT_NODE;
|
|
7381
7385
|
}
|
|
7382
|
-
function
|
|
7386
|
+
function Si(e) {
|
|
7383
7387
|
return et(e) && !e.ownerSVGElement;
|
|
7384
7388
|
}
|
|
7385
7389
|
function sa(e) {
|
|
7386
7390
|
return e.tagName === "IMG";
|
|
7387
7391
|
}
|
|
7388
|
-
function
|
|
7392
|
+
function Zu(e) {
|
|
7389
7393
|
return e.tagName === "AMP-IMG";
|
|
7390
7394
|
}
|
|
7391
|
-
function
|
|
7395
|
+
function Yu(e) {
|
|
7392
7396
|
return e.tagName === "BODY";
|
|
7393
7397
|
}
|
|
7394
|
-
function
|
|
7398
|
+
function Ju(e) {
|
|
7395
7399
|
return e.tagName === "FORM";
|
|
7396
7400
|
}
|
|
7397
|
-
function
|
|
7401
|
+
function Xu(e) {
|
|
7398
7402
|
return e.tagName === "HTML";
|
|
7399
7403
|
}
|
|
7400
7404
|
function la(e) {
|
|
7401
7405
|
return e.tagName === "STYLE";
|
|
7402
7406
|
}
|
|
7403
|
-
function
|
|
7407
|
+
function Ai(e) {
|
|
7404
7408
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
7405
7409
|
}
|
|
7406
|
-
function
|
|
7410
|
+
function Ku(e) {
|
|
7407
7411
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
7408
7412
|
}
|
|
7409
|
-
function
|
|
7413
|
+
function ed(e) {
|
|
7410
7414
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
7411
7415
|
}
|
|
7412
7416
|
var Wt;
|
|
@@ -7456,19 +7460,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7456
7460
|
}
|
|
7457
7461
|
e.isFontFeatureValuesRuleRule = E;
|
|
7458
7462
|
})(Wt || (Wt = {}));
|
|
7459
|
-
function
|
|
7463
|
+
function Ci(e) {
|
|
7460
7464
|
return e.nodeType === Node.COMMENT_NODE;
|
|
7461
7465
|
}
|
|
7462
|
-
function
|
|
7466
|
+
function td(e) {
|
|
7463
7467
|
return e && !!e.host && !!e.mode;
|
|
7464
7468
|
}
|
|
7465
|
-
function
|
|
7469
|
+
function rd(e) {
|
|
7466
7470
|
const t = e.getRootNode() || window.document;
|
|
7467
|
-
return
|
|
7471
|
+
return td(t) ? t : null;
|
|
7468
7472
|
}
|
|
7469
|
-
var
|
|
7470
|
-
function
|
|
7471
|
-
const t = vt(e).matchAll(
|
|
7473
|
+
var id = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
7474
|
+
function nd(e) {
|
|
7475
|
+
const t = vt(e).matchAll(id);
|
|
7472
7476
|
if (t) for (const r of t) {
|
|
7473
7477
|
const [, n, , i, a] = r;
|
|
7474
7478
|
return {
|
|
@@ -7481,7 +7485,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7481
7485
|
function Qt(e) {
|
|
7482
7486
|
return e.nodeType === Node.TEXT_NODE;
|
|
7483
7487
|
}
|
|
7484
|
-
function
|
|
7488
|
+
function ad(e) {
|
|
7485
7489
|
return e.tagName === "TABLE";
|
|
7486
7490
|
}
|
|
7487
7491
|
async function ca(e, t = 5e3) {
|
|
@@ -7490,18 +7494,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7490
7494
|
}) : getComputedStyle(e);
|
|
7491
7495
|
}
|
|
7492
7496
|
function vt(e) {
|
|
7493
|
-
if (et(e)) return
|
|
7494
|
-
if (
|
|
7495
|
-
if (
|
|
7497
|
+
if (et(e)) return sd(e);
|
|
7498
|
+
if (Ai(e)) return [...e.childNodes].map((r) => vt(r)).join("");
|
|
7499
|
+
if (ed(e)) return xi(e);
|
|
7496
7500
|
const t = document.createElement("div");
|
|
7497
7501
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
7498
7502
|
}
|
|
7499
|
-
function
|
|
7503
|
+
function od(e) {
|
|
7500
7504
|
const t = e.tagName.toLowerCase();
|
|
7501
7505
|
let r = "";
|
|
7502
7506
|
for (const n of e.attributes) {
|
|
7503
7507
|
const i = n.name, a = n.value;
|
|
7504
|
-
r += a === "" && i !== "em" && !
|
|
7508
|
+
r += a === "" && i !== "em" && !Gu(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
7505
7509
|
}
|
|
7506
7510
|
return r;
|
|
7507
7511
|
}
|
|
@@ -7510,13 +7514,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7510
7514
|
for (const r of e.childNodes) t += vt(r);
|
|
7511
7515
|
return t;
|
|
7512
7516
|
}
|
|
7513
|
-
function
|
|
7514
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
7515
|
-
return
|
|
7517
|
+
function sd(e) {
|
|
7518
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = od(e);
|
|
7519
|
+
return qu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : la(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ua(e)}</${t}>`;
|
|
7516
7520
|
}
|
|
7517
7521
|
function da(e, t) {
|
|
7518
7522
|
for (const a of [...e.childNodes]) a.remove();
|
|
7519
|
-
let r = t.find((a) =>
|
|
7523
|
+
let r = t.find((a) => Xu(a)), n = t.find((a) => Yu(a)), i = e;
|
|
7520
7524
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
7521
7525
|
for (const a of t) {
|
|
7522
7526
|
if (i === e && Qt(a)) {
|
|
@@ -7541,13 +7545,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7541
7545
|
}
|
|
7542
7546
|
e.is = t;
|
|
7543
7547
|
})(fa || (fa = {}));
|
|
7544
|
-
var
|
|
7548
|
+
var ki;
|
|
7545
7549
|
(function(e) {
|
|
7546
7550
|
function t(r) {
|
|
7547
7551
|
return typeof r == "string";
|
|
7548
7552
|
}
|
|
7549
7553
|
e.is = t;
|
|
7550
|
-
})(
|
|
7554
|
+
})(ki || (ki = {}));
|
|
7551
7555
|
var ha;
|
|
7552
7556
|
(function(e) {
|
|
7553
7557
|
e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
|
|
@@ -7631,7 +7635,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7631
7635
|
}
|
|
7632
7636
|
e.is = r;
|
|
7633
7637
|
})(ma || (ma = {}));
|
|
7634
|
-
var
|
|
7638
|
+
var Ti;
|
|
7635
7639
|
(function(e) {
|
|
7636
7640
|
function t(n, i, a, s) {
|
|
7637
7641
|
return {
|
|
@@ -7647,7 +7651,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7647
7651
|
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);
|
|
7648
7652
|
}
|
|
7649
7653
|
e.is = r;
|
|
7650
|
-
})(
|
|
7654
|
+
})(Ti || (Ti = {}));
|
|
7651
7655
|
var ga;
|
|
7652
7656
|
(function(e) {
|
|
7653
7657
|
function t(n, i) {
|
|
@@ -7659,7 +7663,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7659
7663
|
e.create = t;
|
|
7660
7664
|
function r(n) {
|
|
7661
7665
|
const i = n;
|
|
7662
|
-
return j.objectLiteral(i) && _e.is(i.range) &&
|
|
7666
|
+
return j.objectLiteral(i) && _e.is(i.range) && Ti.is(i.color);
|
|
7663
7667
|
}
|
|
7664
7668
|
e.is = r;
|
|
7665
7669
|
})(ga || (ga = {}));
|
|
@@ -7699,7 +7703,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7699
7703
|
}
|
|
7700
7704
|
e.is = r;
|
|
7701
7705
|
})(_a || (_a = {}));
|
|
7702
|
-
var
|
|
7706
|
+
var Oi;
|
|
7703
7707
|
(function(e) {
|
|
7704
7708
|
function t(n, i) {
|
|
7705
7709
|
return {
|
|
@@ -7713,7 +7717,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7713
7717
|
return j.defined(i) && $r.is(i.location) && j.string(i.message);
|
|
7714
7718
|
}
|
|
7715
7719
|
e.is = r;
|
|
7716
|
-
})(
|
|
7720
|
+
})(Oi || (Oi = {}));
|
|
7717
7721
|
var ya;
|
|
7718
7722
|
(function(e) {
|
|
7719
7723
|
e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
|
|
@@ -7743,7 +7747,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7743
7747
|
function r(a) {
|
|
7744
7748
|
var s;
|
|
7745
7749
|
const l = a;
|
|
7746
|
-
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,
|
|
7750
|
+
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, Oi.is));
|
|
7747
7751
|
}
|
|
7748
7752
|
e.is = r;
|
|
7749
7753
|
function n(a) {
|
|
@@ -7861,7 +7865,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7861
7865
|
}
|
|
7862
7866
|
e.is = i;
|
|
7863
7867
|
})(xa || (xa = {}));
|
|
7864
|
-
var
|
|
7868
|
+
var Pi;
|
|
7865
7869
|
(function(e) {
|
|
7866
7870
|
function t(n, i) {
|
|
7867
7871
|
return {
|
|
@@ -7872,11 +7876,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7872
7876
|
e.create = t;
|
|
7873
7877
|
function r(n) {
|
|
7874
7878
|
const i = n;
|
|
7875
|
-
return j.defined(i) &&
|
|
7879
|
+
return j.defined(i) && ji.is(i.textDocument) && Array.isArray(i.edits);
|
|
7876
7880
|
}
|
|
7877
7881
|
e.is = r;
|
|
7878
|
-
})(
|
|
7879
|
-
var
|
|
7882
|
+
})(Pi || (Pi = {}));
|
|
7883
|
+
var Ri;
|
|
7880
7884
|
(function(e) {
|
|
7881
7885
|
function t(n, i, a) {
|
|
7882
7886
|
const s = {
|
|
@@ -7891,8 +7895,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7891
7895
|
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));
|
|
7892
7896
|
}
|
|
7893
7897
|
e.is = r;
|
|
7894
|
-
})(
|
|
7895
|
-
var
|
|
7898
|
+
})(Ri || (Ri = {}));
|
|
7899
|
+
var Ni;
|
|
7896
7900
|
(function(e) {
|
|
7897
7901
|
function t(n, i, a, s) {
|
|
7898
7902
|
const l = {
|
|
@@ -7908,8 +7912,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7908
7912
|
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));
|
|
7909
7913
|
}
|
|
7910
7914
|
e.is = r;
|
|
7911
|
-
})(
|
|
7912
|
-
var
|
|
7915
|
+
})(Ni || (Ni = {}));
|
|
7916
|
+
var Mi;
|
|
7913
7917
|
(function(e) {
|
|
7914
7918
|
function t(n, i, a) {
|
|
7915
7919
|
const s = {
|
|
@@ -7924,20 +7928,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7924
7928
|
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));
|
|
7925
7929
|
}
|
|
7926
7930
|
e.is = r;
|
|
7927
|
-
})(
|
|
7928
|
-
var
|
|
7931
|
+
})(Mi || (Mi = {}));
|
|
7932
|
+
var Ii;
|
|
7929
7933
|
(function(e) {
|
|
7930
7934
|
function t(r) {
|
|
7931
7935
|
const n = r;
|
|
7932
|
-
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => j.string(i.kind) ?
|
|
7936
|
+
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => j.string(i.kind) ? Ri.is(i) || Ni.is(i) || Mi.is(i) : Pi.is(i)));
|
|
7933
7937
|
}
|
|
7934
7938
|
e.is = t;
|
|
7935
|
-
})(
|
|
7939
|
+
})(Ii || (Ii = {}));
|
|
7936
7940
|
var Sa;
|
|
7937
7941
|
(function(e) {
|
|
7938
7942
|
function t(r) {
|
|
7939
7943
|
const n = r;
|
|
7940
|
-
return j.objectLiteral(n) && _e.is(n.range) &&
|
|
7944
|
+
return j.objectLiteral(n) && _e.is(n.range) && Ui.isSnippet(n.snippet) && (n.annotationId === void 0 || Qr.is(n.annotationId) || lt.is(n.annotationId));
|
|
7941
7945
|
}
|
|
7942
7946
|
e.is = t;
|
|
7943
7947
|
})(Sa || (Sa = {}));
|
|
@@ -7968,7 +7972,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7968
7972
|
}
|
|
7969
7973
|
e.is = r;
|
|
7970
7974
|
})(Ca || (Ca = {}));
|
|
7971
|
-
var
|
|
7975
|
+
var ji;
|
|
7972
7976
|
(function(e) {
|
|
7973
7977
|
function t(n, i) {
|
|
7974
7978
|
return {
|
|
@@ -7982,7 +7986,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7982
7986
|
return j.defined(i) && j.string(i.uri) && (i.version === null || j.integer(i.version));
|
|
7983
7987
|
}
|
|
7984
7988
|
e.is = r;
|
|
7985
|
-
})(
|
|
7989
|
+
})(ji || (ji = {}));
|
|
7986
7990
|
var ka;
|
|
7987
7991
|
(function(e) {
|
|
7988
7992
|
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";
|
|
@@ -8213,14 +8217,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8213
8217
|
}
|
|
8214
8218
|
e.is = r;
|
|
8215
8219
|
})(Za || (Za = {}));
|
|
8216
|
-
var
|
|
8220
|
+
var Di;
|
|
8217
8221
|
(function(e) {
|
|
8218
8222
|
e.LLMGenerated = 1;
|
|
8219
8223
|
function t(r) {
|
|
8220
8224
|
return j.defined(r) && r === e.LLMGenerated;
|
|
8221
8225
|
}
|
|
8222
8226
|
e.is = t;
|
|
8223
|
-
})(
|
|
8227
|
+
})(Di || (Di = {}));
|
|
8224
8228
|
var Ya;
|
|
8225
8229
|
(function(e) {
|
|
8226
8230
|
function t(n, i, a) {
|
|
@@ -8231,7 +8235,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8231
8235
|
e.create = t;
|
|
8232
8236
|
function r(n) {
|
|
8233
8237
|
const i = n;
|
|
8234
|
-
return i && j.string(i.title) && (i.diagnostics === void 0 || j.typedArray(i.diagnostics, Wr.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 ||
|
|
8238
|
+
return i && j.string(i.title) && (i.diagnostics === void 0 || j.typedArray(i.diagnostics, Wr.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 || Ii.is(i.edit)) && (i.tags === void 0 || j.typedArray(i.tags, Di.is));
|
|
8235
8239
|
}
|
|
8236
8240
|
e.is = r;
|
|
8237
8241
|
})(Ya || (Ya = {}));
|
|
@@ -8371,15 +8375,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8371
8375
|
}
|
|
8372
8376
|
e.is = r;
|
|
8373
8377
|
})(so || (so = {}));
|
|
8374
|
-
var
|
|
8378
|
+
var Li;
|
|
8375
8379
|
(function(e) {
|
|
8376
8380
|
e.Type = 1, e.Parameter = 2;
|
|
8377
8381
|
function t(r) {
|
|
8378
8382
|
return r === 1 || r === 2;
|
|
8379
8383
|
}
|
|
8380
8384
|
e.is = t;
|
|
8381
|
-
})(
|
|
8382
|
-
var
|
|
8385
|
+
})(Li || (Li = {}));
|
|
8386
|
+
var Fi;
|
|
8383
8387
|
(function(e) {
|
|
8384
8388
|
function t(n) {
|
|
8385
8389
|
return { value: n };
|
|
@@ -8390,7 +8394,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8390
8394
|
return j.objectLiteral(i) && (i.tooltip === void 0 || j.string(i.tooltip) || ut.is(i.tooltip)) && (i.location === void 0 || $r.is(i.location)) && (i.command === void 0 || bt.is(i.command));
|
|
8391
8395
|
}
|
|
8392
8396
|
e.is = r;
|
|
8393
|
-
})(
|
|
8397
|
+
})(Fi || (Fi = {}));
|
|
8394
8398
|
var lo;
|
|
8395
8399
|
(function(e) {
|
|
8396
8400
|
function t(n, i, a) {
|
|
@@ -8403,11 +8407,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8403
8407
|
e.create = t;
|
|
8404
8408
|
function r(n) {
|
|
8405
8409
|
const i = n;
|
|
8406
|
-
return j.objectLiteral(i) && qe.is(i.position) && (j.string(i.label) || j.typedArray(i.label,
|
|
8410
|
+
return j.objectLiteral(i) && qe.is(i.position) && (j.string(i.label) || j.typedArray(i.label, Fi.is)) && (i.kind === void 0 || Li.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));
|
|
8407
8411
|
}
|
|
8408
8412
|
e.is = r;
|
|
8409
8413
|
})(lo || (lo = {}));
|
|
8410
|
-
var
|
|
8414
|
+
var Ui;
|
|
8411
8415
|
(function(e) {
|
|
8412
8416
|
function t(n) {
|
|
8413
8417
|
return {
|
|
@@ -8421,7 +8425,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8421
8425
|
return j.objectLiteral(i) && i.kind === "snippet" && j.string(i.value);
|
|
8422
8426
|
}
|
|
8423
8427
|
e.isSnippet = r;
|
|
8424
|
-
})(
|
|
8428
|
+
})(Ui || (Ui = {}));
|
|
8425
8429
|
var co;
|
|
8426
8430
|
(function(e) {
|
|
8427
8431
|
function t(r, n, i, a) {
|
|
@@ -8469,14 +8473,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8469
8473
|
(function(e) {
|
|
8470
8474
|
function t(r) {
|
|
8471
8475
|
const n = r;
|
|
8472
|
-
return j.objectLiteral(n) &&
|
|
8476
|
+
return j.objectLiteral(n) && ki.is(n.uri) && j.string(n.name);
|
|
8473
8477
|
}
|
|
8474
8478
|
e.is = t;
|
|
8475
8479
|
})(mo || (mo = {}));
|
|
8476
8480
|
var go;
|
|
8477
8481
|
(function(e) {
|
|
8478
8482
|
function t(a, s, l, u) {
|
|
8479
|
-
return new
|
|
8483
|
+
return new ld(a, s, l, u);
|
|
8480
8484
|
}
|
|
8481
8485
|
e.create = t;
|
|
8482
8486
|
function r(a) {
|
|
@@ -8511,7 +8515,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8511
8515
|
return a;
|
|
8512
8516
|
}
|
|
8513
8517
|
})(go || (go = {}));
|
|
8514
|
-
var
|
|
8518
|
+
var ld = class {
|
|
8515
8519
|
constructor(e, t, r, n) {
|
|
8516
8520
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
8517
8521
|
}
|
|
@@ -8711,7 +8715,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8711
8715
|
}
|
|
8712
8716
|
e.update = r;
|
|
8713
8717
|
function n(i, a) {
|
|
8714
|
-
const s = i.getText(), l =
|
|
8718
|
+
const s = i.getText(), l = zi(a.map(cd), (b, E) => {
|
|
8715
8719
|
const p = b.range.start.line - E.range.start.line;
|
|
8716
8720
|
return p === 0 ? b.range.start.character - E.range.start.character : p;
|
|
8717
8721
|
});
|
|
@@ -8726,10 +8730,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8726
8730
|
}
|
|
8727
8731
|
e.applyEdits = n;
|
|
8728
8732
|
})(bo || (bo = {}));
|
|
8729
|
-
function
|
|
8733
|
+
function zi(e, t) {
|
|
8730
8734
|
if (e.length <= 1) return e;
|
|
8731
8735
|
const r = e.length / 2 | 0, n = e.slice(0, r), i = e.slice(r);
|
|
8732
|
-
|
|
8736
|
+
zi(n, t), zi(i, t);
|
|
8733
8737
|
let a = 0, s = 0, l = 0;
|
|
8734
8738
|
for (; a < n.length && s < i.length;) t(n[a], i[s]) <= 0 ? e[l++] = n[a++] : e[l++] = i[s++];
|
|
8735
8739
|
for (; a < n.length;) e[l++] = n[a++];
|
|
@@ -8754,7 +8758,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8754
8758
|
end: t
|
|
8755
8759
|
} : e;
|
|
8756
8760
|
}
|
|
8757
|
-
function
|
|
8761
|
+
function cd(e) {
|
|
8758
8762
|
const t = wo(e.range);
|
|
8759
8763
|
return t !== e.range ? {
|
|
8760
8764
|
newText: e.newText,
|
|
@@ -8782,7 +8786,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8782
8786
|
})(So || (So = {}));
|
|
8783
8787
|
var Pe = (function(e) {
|
|
8784
8788
|
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;
|
|
8785
|
-
})({}),
|
|
8789
|
+
})({}), ud = class {
|
|
8786
8790
|
source;
|
|
8787
8791
|
len;
|
|
8788
8792
|
position;
|
|
@@ -8850,19 +8854,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8850
8854
|
return this.goToEnd(), !1;
|
|
8851
8855
|
}
|
|
8852
8856
|
skipWhitespace() {
|
|
8853
|
-
return this.advanceWhileChar((e) => e ===
|
|
8857
|
+
return this.advanceWhileChar((e) => e === vd || e === bd || e === hd || e === gd || e === md) > 0;
|
|
8854
8858
|
}
|
|
8855
8859
|
advanceWhileChar(e) {
|
|
8856
8860
|
const t = this.position;
|
|
8857
8861
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
8858
8862
|
return this.position - t;
|
|
8859
8863
|
}
|
|
8860
|
-
}, Ao = 33, yt = 45, Zr = 60, Qe = 62,
|
|
8864
|
+
}, Ao = 33, yt = 45, Zr = 60, Qe = 62, Bi = 47, dd = 61, pd = 34, fd = 39, hd = 10, md = 13, gd = 12, vd = 32, bd = 9, _d = {
|
|
8861
8865
|
"text/x-handlebars-template": !0,
|
|
8862
8866
|
"text/html": !0
|
|
8863
8867
|
};
|
|
8864
|
-
function
|
|
8865
|
-
const i = new
|
|
8868
|
+
function yd(e, t = 0, r = re.WithinContent, n = !1) {
|
|
8869
|
+
const i = new ud(e, t);
|
|
8866
8870
|
let a = r, s = 0, l = 18, u, m, b, E, p;
|
|
8867
8871
|
function c() {
|
|
8868
8872
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8902,7 +8906,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8902
8906
|
])) return a = re.WithinComment, w(_, 0);
|
|
8903
8907
|
if (i.advanceIfRegExp(/^!doctype/i)) return a = re.WithinDoctype, w(_, 13);
|
|
8904
8908
|
}
|
|
8905
|
-
return i.advanceIfChar(
|
|
8909
|
+
return i.advanceIfChar(Bi) ? (a = re.AfterOpeningEndTag, w(_, 7)) : (a = re.AfterOpeningStartTag, w(_, 3));
|
|
8906
8910
|
}
|
|
8907
8911
|
return i.advanceUntilChar(Zr), w(_, 16);
|
|
8908
8912
|
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.") : M());
|
|
@@ -8913,14 +8917,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8913
8917
|
C = "Closing bracket expected.";
|
|
8914
8918
|
break;
|
|
8915
8919
|
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.") : M());
|
|
8916
|
-
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([
|
|
8917
|
-
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(
|
|
8920
|
+
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([Bi, Qe]) ? (a = re.WithinContent, w(_, 5)) : i.advanceIfChar(Qe) ? (b === "script" ? p && _d[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, w(_, 4)) : n && i.peekChar() === Zr ? (a = re.WithinContent, w(_, 4, "Closing bracket missing.")) : (i.advance(1), w(_, 18, "Unexpected character in tag."));
|
|
8921
|
+
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(dd) ? (a = re.BeforeAttributeValue, w(_, 10)) : (a = re.WithinTag, M());
|
|
8918
8922
|
case re.BeforeAttributeValue:
|
|
8919
8923
|
if (i.skipWhitespace()) return w(_, 17);
|
|
8920
8924
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8921
|
-
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) ===
|
|
8925
|
+
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) === Bi && (i.goBack(1), d = d.substr(0, d.length - 1)), E === "type" && (p = d), a = re.WithinTag, m = !1, w(_, 12);
|
|
8922
8926
|
const f = i.peekChar();
|
|
8923
|
-
return f ===
|
|
8927
|
+
return f === fd || f === pd ? (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, M());
|
|
8924
8928
|
case re.WithinScriptContent:
|
|
8925
8929
|
let y = 1;
|
|
8926
8930
|
for (; !i.eos();) {
|
|
@@ -8951,7 +8955,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8951
8955
|
getTokenError: () => u
|
|
8952
8956
|
};
|
|
8953
8957
|
}
|
|
8954
|
-
function
|
|
8958
|
+
function wd(e) {
|
|
8955
8959
|
if (typeof e == "string") {
|
|
8956
8960
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8957
8961
|
return e.substring(t, r);
|
|
@@ -9001,7 +9005,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9001
9005
|
this.dataManager = e;
|
|
9002
9006
|
}
|
|
9003
9007
|
parse(e, t = []) {
|
|
9004
|
-
const r =
|
|
9008
|
+
const r = yd(e, void 0, void 0, !0), n = new Ke(0, e.length, [], void 0);
|
|
9005
9009
|
n.type = ke.ROOT;
|
|
9006
9010
|
let i = n, a = -1, s, l = null, u = r.scan();
|
|
9007
9011
|
const m = () => {
|
|
@@ -9099,7 +9103,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9099
9103
|
}
|
|
9100
9104
|
case Pe.AttributeValue: {
|
|
9101
9105
|
const _ = r.getTokenText(), C = i.attributes;
|
|
9102
|
-
C && l && (C[l] =
|
|
9106
|
+
C && l && (C[l] = wd(_), l = null);
|
|
9103
9107
|
break;
|
|
9104
9108
|
}
|
|
9105
9109
|
}
|
|
@@ -9138,7 +9142,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9138
9142
|
"wbr",
|
|
9139
9143
|
"vk-snippet-end"
|
|
9140
9144
|
]));
|
|
9141
|
-
var
|
|
9145
|
+
var Ed = new ko(new pa([
|
|
9142
9146
|
"area",
|
|
9143
9147
|
"base",
|
|
9144
9148
|
"br",
|
|
@@ -9154,16 +9158,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9154
9158
|
"wbr",
|
|
9155
9159
|
"vk-snippet-end"
|
|
9156
9160
|
]));
|
|
9157
|
-
function Ed(e) {
|
|
9158
|
-
return wd.parse(e);
|
|
9159
|
-
}
|
|
9160
9161
|
function xd(e) {
|
|
9162
|
+
return Ed.parse(e);
|
|
9163
|
+
}
|
|
9164
|
+
function Sd(e) {
|
|
9161
9165
|
if (e) {
|
|
9162
9166
|
const t = document.createElement("div");
|
|
9163
9167
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
9164
9168
|
} else return document.createTextNode("");
|
|
9165
9169
|
}
|
|
9166
|
-
function
|
|
9170
|
+
function Ad(e) {
|
|
9167
9171
|
let t;
|
|
9168
9172
|
switch (e?.toLowerCase()) {
|
|
9169
9173
|
case "tr":
|
|
@@ -9186,7 +9190,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9186
9190
|
}
|
|
9187
9191
|
return t;
|
|
9188
9192
|
}
|
|
9189
|
-
var
|
|
9193
|
+
var Cd = new Set([
|
|
9190
9194
|
"onclick",
|
|
9191
9195
|
"onload",
|
|
9192
9196
|
"onchange",
|
|
@@ -9194,15 +9198,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9194
9198
|
"onmouseover",
|
|
9195
9199
|
"onkeydown",
|
|
9196
9200
|
"onerror"
|
|
9197
|
-
]),
|
|
9201
|
+
]), kd = new Set([
|
|
9198
9202
|
"script",
|
|
9199
9203
|
"style",
|
|
9200
9204
|
"xmp"
|
|
9201
9205
|
]);
|
|
9202
|
-
function
|
|
9203
|
-
return !(t &&
|
|
9206
|
+
function Td(e, t) {
|
|
9207
|
+
return !(t && kd.has(t.toLowerCase()) || Cd.has(e.toLowerCase()));
|
|
9204
9208
|
}
|
|
9205
|
-
var
|
|
9209
|
+
var Od = (e) => {
|
|
9206
9210
|
let t = e.indexOf("&");
|
|
9207
9211
|
for (; t !== -1;) {
|
|
9208
9212
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -9213,7 +9217,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9213
9217
|
function To(e, t, r) {
|
|
9214
9218
|
let n = e.tagName.toLowerCase();
|
|
9215
9219
|
n === "html" && (n = "div");
|
|
9216
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
9220
|
+
const i = `<${n} ${t}="${r}"/>`, a = Ad(n);
|
|
9217
9221
|
if (a instanceof Document) return;
|
|
9218
9222
|
a.innerHTML = i;
|
|
9219
9223
|
const s = a.querySelector(n);
|
|
@@ -9223,18 +9227,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9223
9227
|
}
|
|
9224
9228
|
function wt(e, t, r) {
|
|
9225
9229
|
try {
|
|
9226
|
-
|
|
9230
|
+
Td(t, e.tagName) && !Od(r) ? e.setAttribute(t, r) : To(e, t, r);
|
|
9227
9231
|
} catch {
|
|
9228
9232
|
To(e, t, r);
|
|
9229
9233
|
}
|
|
9230
9234
|
}
|
|
9231
|
-
function
|
|
9235
|
+
function qi(e, t = !0) {
|
|
9232
9236
|
const r = e.content;
|
|
9233
9237
|
switch (e.type) {
|
|
9234
9238
|
case ke.ROOT: {
|
|
9235
9239
|
const n = document.implementation.createHTMLDocument();
|
|
9236
9240
|
for (const i of [...n.childNodes]) n.removeChild(i);
|
|
9237
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9241
|
+
if (t) for (const i of e.children) n.appendChild(qi(i));
|
|
9238
9242
|
return n;
|
|
9239
9243
|
}
|
|
9240
9244
|
case ke.DOCTYPE: return new DOMParser().parseFromString(`<!DOCTYPE${e.content}>`, "text/html").doctype;
|
|
@@ -9252,32 +9256,32 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9252
9256
|
wt(n, i, typeof a == "string" ? a : "");
|
|
9253
9257
|
} catch {}
|
|
9254
9258
|
}
|
|
9255
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9259
|
+
if (t) for (const i of e.children) n.appendChild(qi(i));
|
|
9256
9260
|
return n;
|
|
9257
9261
|
}
|
|
9258
9262
|
return document.createTextNode("<");
|
|
9259
|
-
case ke.HTML: return
|
|
9263
|
+
case ke.HTML: return Sd(r || "");
|
|
9260
9264
|
default: throw new Error("unsupported node");
|
|
9261
9265
|
}
|
|
9262
9266
|
}
|
|
9263
|
-
function
|
|
9264
|
-
return
|
|
9267
|
+
function Hi(e) {
|
|
9268
|
+
return xd(e).roots.map((t) => qi(t));
|
|
9265
9269
|
}
|
|
9266
9270
|
var Oo = Symbol("Error");
|
|
9267
9271
|
function Vt(e) {
|
|
9268
9272
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Oo) : t)).then((t) => t.filter((r) => r !== Oo));
|
|
9269
9273
|
}
|
|
9270
|
-
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
9274
|
+
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), Pd = new Set([
|
|
9271
9275
|
"https:",
|
|
9272
9276
|
"http:",
|
|
9273
9277
|
"file:"
|
|
9274
|
-
]),
|
|
9278
|
+
]), Rd = (e) => {
|
|
9275
9279
|
const t = e.indexOf(":");
|
|
9276
9280
|
if (t <= 0) return !1;
|
|
9277
9281
|
const r = e.substring(0, t + 1);
|
|
9278
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !
|
|
9282
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !Pd.has(r) : !1;
|
|
9279
9283
|
};
|
|
9280
|
-
function
|
|
9284
|
+
function Nd(e, t) {
|
|
9281
9285
|
if (t = {
|
|
9282
9286
|
defaultProtocol: "http",
|
|
9283
9287
|
normalizeProtocol: !0,
|
|
@@ -9295,7 +9299,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9295
9299
|
sortQueryParameters: !0,
|
|
9296
9300
|
...t
|
|
9297
9301
|
}, !e) return "";
|
|
9298
|
-
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) ||
|
|
9302
|
+
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Rd(e)) return e;
|
|
9299
9303
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
9300
9304
|
let i;
|
|
9301
9305
|
try {
|
|
@@ -9345,22 +9349,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9345
9349
|
function Ro(e) {
|
|
9346
9350
|
if (!e) return !1;
|
|
9347
9351
|
const t = e[0];
|
|
9348
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
9352
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Md(t);
|
|
9349
9353
|
}
|
|
9350
|
-
function
|
|
9354
|
+
function Md(e) {
|
|
9351
9355
|
const t = e.charCodeAt(0);
|
|
9352
9356
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
9353
9357
|
}
|
|
9354
|
-
function
|
|
9358
|
+
function Id(e) {
|
|
9355
9359
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
9356
9360
|
}
|
|
9357
9361
|
function dt(e) {
|
|
9358
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) ||
|
|
9362
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) || Id(e)) return e;
|
|
9359
9363
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
9360
9364
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
9361
9365
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
9362
9366
|
}
|
|
9363
|
-
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,
|
|
9367
|
+
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, jd = /\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, Dd = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Ld = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Fd = /height\s*:\s*100%\s*!important/i, Ud = [
|
|
9364
9368
|
".socialshare,",
|
|
9365
9369
|
".advertisment,",
|
|
9366
9370
|
".adHolder,",
|
|
@@ -9377,57 +9381,57 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9377
9381
|
"#advblock",
|
|
9378
9382
|
"body { overflow: visible!important; }"
|
|
9379
9383
|
];
|
|
9380
|
-
function
|
|
9384
|
+
function zd(e) {
|
|
9381
9385
|
return No.lastIndex = 0, (e.match(No) || []).length;
|
|
9382
9386
|
}
|
|
9383
9387
|
function Mo(e) {
|
|
9384
|
-
const t = e.trim(), r =
|
|
9388
|
+
const t = e.trim(), r = zd(t);
|
|
9385
9389
|
if (r === 0) return !1;
|
|
9386
9390
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
9387
|
-
const n =
|
|
9391
|
+
const n = Ud.filter((i) => t.includes(i)).length;
|
|
9388
9392
|
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);
|
|
9389
9393
|
}
|
|
9390
|
-
function
|
|
9394
|
+
function Bd(e) {
|
|
9391
9395
|
xt.lastIndex = 0;
|
|
9392
9396
|
for (const t of e.matchAll(xt)) if (Mo(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
9393
9397
|
return !1;
|
|
9394
9398
|
}
|
|
9395
|
-
function
|
|
9399
|
+
function qd(e) {
|
|
9396
9400
|
let t = !1;
|
|
9397
9401
|
return xt.lastIndex = 0, {
|
|
9398
9402
|
html: e.replace(xt, (r) => Mo(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
9399
9403
|
found: t
|
|
9400
9404
|
};
|
|
9401
9405
|
}
|
|
9402
|
-
function
|
|
9403
|
-
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
9406
|
+
function Hd(e) {
|
|
9407
|
+
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || Bd(e);
|
|
9404
9408
|
}
|
|
9405
9409
|
function Io(e) {
|
|
9406
|
-
if (!
|
|
9410
|
+
if (!Hd(e)) return {
|
|
9407
9411
|
html: e,
|
|
9408
9412
|
found: !1
|
|
9409
9413
|
};
|
|
9410
9414
|
let t = !1, r = e;
|
|
9411
|
-
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(
|
|
9412
|
-
const n =
|
|
9415
|
+
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(jd, ""), t = !0);
|
|
9416
|
+
const n = qd(r);
|
|
9413
9417
|
return r = n.html, t = t || n.found, {
|
|
9414
9418
|
html: r,
|
|
9415
9419
|
found: t
|
|
9416
9420
|
};
|
|
9417
9421
|
}
|
|
9418
|
-
function Hd(e) {
|
|
9419
|
-
return !e || !Ld.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(jd, (r, n, i, a) => `${n}${i.replace(Dd, "")}${a}`)));
|
|
9420
|
-
}
|
|
9421
9422
|
function $d(e) {
|
|
9423
|
+
return !e || !Fd.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Dd, (r, n, i, a) => `${n}${i.replace(Ld, "")}${a}`)));
|
|
9424
|
+
}
|
|
9425
|
+
function Wd(e) {
|
|
9422
9426
|
const t = Io(e.replaceAll(`\r
|
|
9423
9427
|
`, `
|
|
9424
9428
|
`));
|
|
9425
9429
|
return {
|
|
9426
|
-
html:
|
|
9430
|
+
html: $d(t.html),
|
|
9427
9431
|
hasBrowserExtensionArtifacts: t.found
|
|
9428
9432
|
};
|
|
9429
9433
|
}
|
|
9430
|
-
var
|
|
9434
|
+
var Vd = Z.__commonJSMin(((e, t) => {
|
|
9431
9435
|
(function(r, n) {
|
|
9432
9436
|
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 = {}));
|
|
9433
9437
|
})(e, (function(r) {
|
|
@@ -10345,33 +10349,33 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10345
10349
|
r.ChildListChange = i, r.MutationProjection = m, r.MutationSummary = M, 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 });
|
|
10346
10350
|
}));
|
|
10347
10351
|
}))(), St = 0, At = new Array(1e3);
|
|
10348
|
-
function
|
|
10352
|
+
function Gd() {
|
|
10349
10353
|
for (let e = 0; e < St; e += 2) {
|
|
10350
10354
|
const t = At[e], r = At[e + 1];
|
|
10351
10355
|
t(...r), At[e] = void 0, At[e + 1] = void 0;
|
|
10352
10356
|
}
|
|
10353
10357
|
St = 0;
|
|
10354
10358
|
}
|
|
10355
|
-
function
|
|
10356
|
-
At[St] = e, At[St + 1] = t, St += 2, St === 2 &&
|
|
10359
|
+
function Zd(e, ...t) {
|
|
10360
|
+
At[St] = e, At[St + 1] = t, St += 2, St === 2 && Jd();
|
|
10357
10361
|
}
|
|
10358
|
-
function
|
|
10362
|
+
function Yd() {
|
|
10359
10363
|
let e = 0;
|
|
10360
|
-
const t = new MutationObserver(
|
|
10364
|
+
const t = new MutationObserver(Gd), r = document.createTextNode("");
|
|
10361
10365
|
return t.observe(r, { characterData: !0 }), () => {
|
|
10362
10366
|
r.data = String(e = ++e % 2);
|
|
10363
10367
|
};
|
|
10364
10368
|
}
|
|
10365
|
-
var
|
|
10369
|
+
var Jd = Yd();
|
|
10366
10370
|
function jo() {
|
|
10367
|
-
|
|
10368
|
-
|
|
10371
|
+
Zd(() => {
|
|
10372
|
+
$i.hasListeners() && ($i.fire(), jo());
|
|
10369
10373
|
});
|
|
10370
10374
|
}
|
|
10371
|
-
var
|
|
10375
|
+
var $i = new O.Emitter({ onFirstListenerAdd: jo }), Wi = $i.once, Xd = class extends O.Emitter {
|
|
10372
10376
|
_mutationSummary;
|
|
10373
10377
|
constructor(e = {}) {
|
|
10374
|
-
super(), this._mutationSummary = new
|
|
10378
|
+
super(), this._mutationSummary = new Vd.MutationSummary({
|
|
10375
10379
|
...e,
|
|
10376
10380
|
observeOwnChanges: !0,
|
|
10377
10381
|
callback: (t) => this.fire(t),
|
|
@@ -10385,7 +10389,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10385
10389
|
const t = this._mutationSummary.takeSummaries();
|
|
10386
10390
|
return (e || t?.length) && this.fire(t || []), t;
|
|
10387
10391
|
}
|
|
10388
|
-
},
|
|
10392
|
+
}, Kd = class extends O.Disposable {
|
|
10389
10393
|
_mutationEmitter;
|
|
10390
10394
|
_innerEmitter = this.addDisposable(new O.Emitter({ onFirstListenerAdd: () => {
|
|
10391
10395
|
this._nextTickHandler();
|
|
@@ -10395,13 +10399,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10395
10399
|
_stopped = 0;
|
|
10396
10400
|
_summaries = [];
|
|
10397
10401
|
_nextTickHandler() {
|
|
10398
|
-
|
|
10402
|
+
Wi(() => {
|
|
10399
10403
|
this.trigger(), this._summaries.length && (this._innerEmitter.hasListeners() ? this._innerEmitter.fire(this._summaries) : this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10400
10404
|
}, Number.MAX_VALUE);
|
|
10401
10405
|
}
|
|
10402
10406
|
constructor(e = {}) {
|
|
10403
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
10404
|
-
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t),
|
|
10407
|
+
super(), this._mutationEmitter = this.addDisposable(new Xd(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
10408
|
+
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Wi(() => {
|
|
10405
10409
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10406
10410
|
}, Number.MAX_VALUE)));
|
|
10407
10411
|
}));
|
|
@@ -10428,7 +10432,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10428
10432
|
onLost = this._lostEmitter.event;
|
|
10429
10433
|
onNativeMutate;
|
|
10430
10434
|
};
|
|
10431
|
-
function
|
|
10435
|
+
function ep(e) {
|
|
10432
10436
|
for (const t of e) {
|
|
10433
10437
|
if (t.removed) for (const r of t.removed) {
|
|
10434
10438
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -10449,21 +10453,21 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10449
10453
|
const i = t.getOldAttribute(n, r);
|
|
10450
10454
|
i == null ? n.removeAttribute(r) : n.setAttribute(r, i);
|
|
10451
10455
|
}
|
|
10452
|
-
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) ||
|
|
10456
|
+
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) || Ci(r) || Ci(r)) && (r.data = t.getOldCharacterData(r));
|
|
10453
10457
|
}
|
|
10454
10458
|
}
|
|
10455
|
-
var
|
|
10459
|
+
var tp = class extends O.Disposable {
|
|
10456
10460
|
_commitPromise;
|
|
10457
10461
|
_mutationCollector;
|
|
10458
10462
|
_onLostSummaries = (e) => {
|
|
10459
10463
|
try {
|
|
10460
|
-
this._mutationCollector.stop(),
|
|
10464
|
+
this._mutationCollector.stop(), ep(e);
|
|
10461
10465
|
} finally {
|
|
10462
10466
|
this._mutationCollector.start();
|
|
10463
10467
|
}
|
|
10464
10468
|
};
|
|
10465
10469
|
constructor(e) {
|
|
10466
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
10470
|
+
super(), this._mutationCollector = this.addDisposable(new Kd({
|
|
10467
10471
|
rootNode: e,
|
|
10468
10472
|
oldPreviousSibling: !0
|
|
10469
10473
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -10475,7 +10479,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10475
10479
|
const r = this._mutationCollector.onMutate((n) => {
|
|
10476
10480
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10477
10481
|
});
|
|
10478
|
-
|
|
10482
|
+
Wi(() => {
|
|
10479
10483
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10480
10484
|
});
|
|
10481
10485
|
});
|
|
@@ -10492,7 +10496,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10492
10496
|
return s.html = Io(s.html).html, s;
|
|
10493
10497
|
}, n = new O.AsyncEmitter(), i = new O.AsyncEmitter();
|
|
10494
10498
|
try {
|
|
10495
|
-
const a =
|
|
10499
|
+
const a = Hi(e), s = document.implementation.createHTMLDocument();
|
|
10496
10500
|
return da(s, a), {
|
|
10497
10501
|
document: s,
|
|
10498
10502
|
handleRender: i.event,
|
|
@@ -10501,7 +10505,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10501
10505
|
if (i.hasListeners()) {
|
|
10502
10506
|
const l = document.createElement("iframe");
|
|
10503
10507
|
l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
|
|
10504
|
-
const u = l.contentWindow.document, m = new
|
|
10508
|
+
const u = l.contentWindow.document, m = new tp(l.contentDocument);
|
|
10505
10509
|
let b;
|
|
10506
10510
|
try {
|
|
10507
10511
|
if (t) {
|
|
@@ -10536,8 +10540,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10536
10540
|
throw a;
|
|
10537
10541
|
}
|
|
10538
10542
|
}
|
|
10539
|
-
var
|
|
10540
|
-
function
|
|
10543
|
+
var rp = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
10544
|
+
function ip(e) {
|
|
10541
10545
|
return e.arrayBuffer().then((t) => {
|
|
10542
10546
|
const r = new Uint8Array(t);
|
|
10543
10547
|
let n = "";
|
|
@@ -10545,17 +10549,17 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10545
10549
|
return btoa(n);
|
|
10546
10550
|
});
|
|
10547
10551
|
}
|
|
10548
|
-
function
|
|
10552
|
+
function Qi(e, t = 76) {
|
|
10549
10553
|
if (e = e.replace(/[\r\n\s]/g, ""), !e) return e;
|
|
10550
10554
|
const r = [];
|
|
10551
10555
|
for (let n = 0; n < e.length; n += t) r.push(e.slice(n, n + t));
|
|
10552
10556
|
return r.join(`
|
|
10553
10557
|
`);
|
|
10554
10558
|
}
|
|
10555
|
-
function
|
|
10559
|
+
function Yr(e) {
|
|
10556
10560
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
10557
10561
|
}
|
|
10558
|
-
async function
|
|
10562
|
+
async function np(e, t, r, n, i, a, s) {
|
|
10559
10563
|
const l = [];
|
|
10560
10564
|
a && (a.attachments = l);
|
|
10561
10565
|
let u = "";
|
|
@@ -10595,27 +10599,27 @@ ${E.base64}\r
|
|
|
10595
10599
|
\r
|
|
10596
10600
|
${u}`;
|
|
10597
10601
|
}
|
|
10598
|
-
function
|
|
10602
|
+
function ap(e, t = !0) {
|
|
10599
10603
|
const r = Me.decodeFileNameFromPath(e);
|
|
10600
|
-
return t ?
|
|
10604
|
+
return t ? Yr(r) : r;
|
|
10601
10605
|
}
|
|
10602
|
-
function
|
|
10606
|
+
function op(e) {
|
|
10603
10607
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
10604
10608
|
}
|
|
10605
10609
|
function Lo(e) {
|
|
10606
10610
|
const t = Me.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
10607
|
-
return r === -1 || !
|
|
10611
|
+
return r === -1 || !op(n) ? [Yr(t), ""] : [Yr(t.slice(0, r)), n];
|
|
10608
10612
|
}
|
|
10609
|
-
function
|
|
10613
|
+
function sp(e) {
|
|
10610
10614
|
return Bo(e).then((t) => qo(t));
|
|
10611
10615
|
}
|
|
10612
10616
|
function Fo(e) {
|
|
10613
10617
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
10614
10618
|
}
|
|
10615
|
-
var Ve = new
|
|
10619
|
+
var Ve = new zu((e) => {
|
|
10616
10620
|
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);
|
|
10617
10621
|
});
|
|
10618
|
-
async function
|
|
10622
|
+
async function Jr(e, t, r, n) {
|
|
10619
10623
|
e = Ve.getEscapedText(e);
|
|
10620
10624
|
const i = Do(e, r);
|
|
10621
10625
|
try {
|
|
@@ -10636,7 +10640,7 @@ ${u}`;
|
|
|
10636
10640
|
}
|
|
10637
10641
|
return Ve.getUnescapedText(e, !1, n);
|
|
10638
10642
|
}
|
|
10639
|
-
function
|
|
10643
|
+
function Xr(e, t, r) {
|
|
10640
10644
|
try {
|
|
10641
10645
|
if (typeof r == "function") {
|
|
10642
10646
|
const n = [];
|
|
@@ -10652,13 +10656,13 @@ ${u}`;
|
|
|
10652
10656
|
return Promise.reject(n);
|
|
10653
10657
|
}
|
|
10654
10658
|
}
|
|
10655
|
-
async function
|
|
10659
|
+
async function lp(e, t, r = new Map(), n) {
|
|
10656
10660
|
const i = (E) => {
|
|
10657
10661
|
let p = r.get(E);
|
|
10658
10662
|
return p || (p = t(E), r.set(E, p)), p instanceof Promise ? p : Promise.resolve(p);
|
|
10659
10663
|
};
|
|
10660
10664
|
function a(E) {
|
|
10661
|
-
return
|
|
10665
|
+
return Xr(E, rp, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
|
|
10662
10666
|
}
|
|
10663
10667
|
async function s(E) {
|
|
10664
10668
|
const p = E.getAttribute("style");
|
|
@@ -10680,7 +10684,7 @@ ${u}`;
|
|
|
10680
10684
|
const p = E.getAttribute("background");
|
|
10681
10685
|
if (p && b.push(i(p).then((c) => {
|
|
10682
10686
|
E.setAttribute("background", c || p), n && n();
|
|
10683
|
-
})), sa(E) ||
|
|
10687
|
+
})), sa(E) || Zu(E)) {
|
|
10684
10688
|
const c = E.getAttribute("src"), h = c && Ve.hasDetectedMappings(c, !0, !0) ? c : ("src" in E ? E.src : "") || c;
|
|
10685
10689
|
h && b.push(i(h).then((w) => {
|
|
10686
10690
|
w || (w = h), E.setAttribute("src", w), n && n();
|
|
@@ -10692,19 +10696,19 @@ ${u}`;
|
|
|
10692
10696
|
h !== c && (E.innerHTML = h, n && n());
|
|
10693
10697
|
}));
|
|
10694
10698
|
}
|
|
10695
|
-
} else if (
|
|
10696
|
-
const p =
|
|
10697
|
-
c && b.push(
|
|
10698
|
-
c !== h && (E.replaceWith(
|
|
10699
|
+
} else if (Ci(E)) {
|
|
10700
|
+
const p = nd(E), c = p?.content;
|
|
10701
|
+
c && b.push(Xr(c, /<v:fill.*>/gi, async (h) => Xr(await Xr(h, /src="([^"]*)"/gi, async (w, k) => `src="${await i(k) || k}"`), /src='([^']*)'/gi, async (w, k) => `src='${await i(k) || k}'`)).then((h) => {
|
|
10702
|
+
c !== h && (E.replaceWith(Hi(`${p.open}${h}${p.close}`)[0]), n && n());
|
|
10699
10703
|
}));
|
|
10700
10704
|
}
|
|
10701
10705
|
}
|
|
10702
10706
|
return Vt(b);
|
|
10703
10707
|
}
|
|
10704
10708
|
async function Gt(e, t, r = new Map(), n) {
|
|
10705
|
-
await
|
|
10709
|
+
await lp(e, t, r, n);
|
|
10706
10710
|
}
|
|
10707
|
-
function
|
|
10711
|
+
function cp(e) {
|
|
10708
10712
|
const t = new Map();
|
|
10709
10713
|
let r = 0;
|
|
10710
10714
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -10713,7 +10717,7 @@ ${u}`;
|
|
|
10713
10717
|
}
|
|
10714
10718
|
return t;
|
|
10715
10719
|
}
|
|
10716
|
-
function
|
|
10720
|
+
function up(e) {
|
|
10717
10721
|
return !!e && Ve.hasDetectedMappings(e, !0, !0);
|
|
10718
10722
|
}
|
|
10719
10723
|
function Uo(e, t) {
|
|
@@ -10726,7 +10730,7 @@ ${u}`;
|
|
|
10726
10730
|
if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
|
|
10727
10731
|
return u === s ? e : i + (u ? `?${u}` : "") + (n ? `#${n}` : "");
|
|
10728
10732
|
}
|
|
10729
|
-
function
|
|
10733
|
+
function dp(e) {
|
|
10730
10734
|
const t = Ve.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], n = [];
|
|
10731
10735
|
let i = e;
|
|
10732
10736
|
for (const { range: a } of t) {
|
|
@@ -10742,9 +10746,9 @@ ${u}`;
|
|
|
10742
10746
|
restore: (a) => n.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
|
|
10743
10747
|
};
|
|
10744
10748
|
}
|
|
10745
|
-
function
|
|
10749
|
+
function pp(e, t, r, n) {
|
|
10746
10750
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
10747
|
-
const { masked: i, tokens: a, restore: s } =
|
|
10751
|
+
const { masked: i, tokens: a, restore: s } = dp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
|
|
10748
10752
|
if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
|
|
10749
10753
|
const b = Uo(i, r);
|
|
10750
10754
|
if (b === i) return;
|
|
@@ -10753,13 +10757,13 @@ ${u}`;
|
|
|
10753
10757
|
}
|
|
10754
10758
|
function Vi(e, t, r) {
|
|
10755
10759
|
const n = e.getAttribute("href");
|
|
10756
|
-
if (
|
|
10757
|
-
|
|
10760
|
+
if (up(n)) {
|
|
10761
|
+
pp(e, n, t, r);
|
|
10758
10762
|
return;
|
|
10759
10763
|
}
|
|
10760
10764
|
let i = e.href;
|
|
10761
10765
|
if (i = dt(i), i && e.protocol.startsWith("http")) {
|
|
10762
|
-
const a =
|
|
10766
|
+
const a = cp(i);
|
|
10763
10767
|
if (a.forEach((s, l) => {
|
|
10764
10768
|
i = i.replaceAll(l, s);
|
|
10765
10769
|
}), e.host !== document.location.host) {
|
|
@@ -10770,9 +10774,9 @@ ${u}`;
|
|
|
10770
10774
|
}
|
|
10771
10775
|
}
|
|
10772
10776
|
}
|
|
10773
|
-
async function
|
|
10777
|
+
async function fp(e, t, r, n, i) {
|
|
10774
10778
|
let [a, s] = t || [800];
|
|
10775
|
-
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await
|
|
10779
|
+
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Jr(e, async (l) => {
|
|
10776
10780
|
const u = l.document;
|
|
10777
10781
|
await Gt(u, (b) => Ve.getEscapedText(b) !== b ? b : dt(b));
|
|
10778
10782
|
const m = u.querySelectorAll("a");
|
|
@@ -10782,7 +10786,7 @@ ${u}`;
|
|
|
10782
10786
|
}
|
|
10783
10787
|
async function zo(e, t, r, n, i, a) {
|
|
10784
10788
|
let [s, l] = t || [800];
|
|
10785
|
-
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await
|
|
10789
|
+
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await Jr(e, async (u) => {
|
|
10786
10790
|
const m = u.document;
|
|
10787
10791
|
if (await Gt(m, (b) => Ve.getEscapedText(b) !== b ? b : dt(b)), u.handleRender(async ({ contentDocument: b, managedNodeController: E }) => {
|
|
10788
10792
|
const p = b.querySelectorAll("*");
|
|
@@ -10793,7 +10797,7 @@ ${u}`;
|
|
|
10793
10797
|
isNaN(w) || c.setAttribute("height", String(w)), !isNaN(k) && !c.getAttribute("width") && c.setAttribute("width", String(k));
|
|
10794
10798
|
}
|
|
10795
10799
|
E.commit();
|
|
10796
|
-
} else if (
|
|
10800
|
+
} else if (ad(c)) {
|
|
10797
10801
|
const h = parseInt(getComputedStyle(c).width);
|
|
10798
10802
|
!isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), E.commit();
|
|
10799
10803
|
} else c.tagName === "TD" || c.tagName === "A" && Vi(c, r, () => E.commit());
|
|
@@ -10813,7 +10817,7 @@ ${u}`;
|
|
|
10813
10817
|
return E.push({
|
|
10814
10818
|
cid: d,
|
|
10815
10819
|
mimeType: C[1] || "application/octet-stream",
|
|
10816
|
-
base64:
|
|
10820
|
+
base64: Qi(C[2])
|
|
10817
10821
|
}), `cid:${d}`;
|
|
10818
10822
|
}
|
|
10819
10823
|
return k;
|
|
@@ -10826,17 +10830,17 @@ ${u}`;
|
|
|
10826
10830
|
return E.push({
|
|
10827
10831
|
cid: d,
|
|
10828
10832
|
mimeType: C[1] || "application/octet-stream",
|
|
10829
|
-
base64:
|
|
10833
|
+
base64: Qi(C[2])
|
|
10830
10834
|
}), `cid:${d}`;
|
|
10831
10835
|
}
|
|
10832
10836
|
return _;
|
|
10833
10837
|
}
|
|
10834
10838
|
try {
|
|
10835
|
-
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await
|
|
10839
|
+
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await ip(C);
|
|
10836
10840
|
return E.push({
|
|
10837
10841
|
cid: d,
|
|
10838
10842
|
mimeType: C.type || "application/octet-stream",
|
|
10839
|
-
base64:
|
|
10843
|
+
base64: Qi(f)
|
|
10840
10844
|
}), `cid:${d}`;
|
|
10841
10845
|
} catch {
|
|
10842
10846
|
return _;
|
|
@@ -10849,28 +10853,28 @@ ${u}`;
|
|
|
10849
10853
|
if (n) return n(u);
|
|
10850
10854
|
}, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
10851
10855
|
}
|
|
10852
|
-
var
|
|
10853
|
-
function
|
|
10856
|
+
var hp = "images", mp = 40;
|
|
10857
|
+
function gp() {
|
|
10854
10858
|
const e = new Date();
|
|
10855
10859
|
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("")}`;
|
|
10856
10860
|
}
|
|
10857
|
-
async function
|
|
10861
|
+
async function vp(e, t, r, n = sp, i, a) {
|
|
10858
10862
|
const s = Object.create(null);
|
|
10859
10863
|
let [l, u] = t || [800];
|
|
10860
10864
|
typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
|
|
10861
|
-
const m = new Set(), b = await
|
|
10865
|
+
const m = new Set(), b = await Jr(e, async (E) => {
|
|
10862
10866
|
const p = E.document;
|
|
10863
10867
|
await Gt(p, async (h) => {
|
|
10864
10868
|
Ve.getEscapedText(h) === h && (h = dt(h));
|
|
10865
10869
|
const w = await n(h);
|
|
10866
10870
|
let [k, M] = Lo(h);
|
|
10867
|
-
if (k.length >
|
|
10868
|
-
M =
|
|
10871
|
+
if (k.length > mp && (k = gp()), !M || !bi.getType(M)) try {
|
|
10872
|
+
M = bi.getExtension(w.type);
|
|
10869
10873
|
} catch {}
|
|
10870
10874
|
let _ = `${k}.${M}`, C = 1;
|
|
10871
10875
|
for (; m.has(_);) _ = `${k}(${++C}).${M}`;
|
|
10872
10876
|
m.add(_);
|
|
10873
|
-
const d = `${
|
|
10877
|
+
const d = `${hp}/${_}`;
|
|
10874
10878
|
return s[d] = w, d;
|
|
10875
10879
|
});
|
|
10876
10880
|
const c = p.querySelectorAll("a");
|
|
@@ -10879,7 +10883,7 @@ ${u}`;
|
|
|
10879
10883
|
}, [l, u], a);
|
|
10880
10884
|
return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
|
|
10881
10885
|
}
|
|
10882
|
-
function
|
|
10886
|
+
function bp(e) {
|
|
10883
10887
|
const t = new En.default();
|
|
10884
10888
|
for (const r of Object.keys(e)) {
|
|
10885
10889
|
let n = t;
|
|
@@ -10902,7 +10906,7 @@ ${u}`;
|
|
|
10902
10906
|
const n = document.createElement("canvas");
|
|
10903
10907
|
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));
|
|
10904
10908
|
}
|
|
10905
|
-
function
|
|
10909
|
+
function _p(e, t) {
|
|
10906
10910
|
do {
|
|
10907
10911
|
if (e === t) return !0;
|
|
10908
10912
|
e = e.parentNode;
|
|
@@ -10911,13 +10915,13 @@ ${u}`;
|
|
|
10911
10915
|
}
|
|
10912
10916
|
function Ho(e) {
|
|
10913
10917
|
const t = e.ownerDocument?.body;
|
|
10914
|
-
if (t &&
|
|
10918
|
+
if (t && _p(e, t)) {
|
|
10915
10919
|
if (et(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10916
10920
|
if (e.nodeName === "#text") return e.textContent;
|
|
10917
10921
|
}
|
|
10918
10922
|
return e.childNodes ? [...e.childNodes].map(Ho).join("") : "";
|
|
10919
10923
|
}
|
|
10920
|
-
function
|
|
10924
|
+
function yp(e) {
|
|
10921
10925
|
const { document: t } = Do(e);
|
|
10922
10926
|
try {
|
|
10923
10927
|
return Ho(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10944,22 +10948,22 @@ ${u}`;
|
|
|
10944
10948
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10945
10949
|
return t;
|
|
10946
10950
|
}
|
|
10947
|
-
function
|
|
10951
|
+
function wp(e) {
|
|
10948
10952
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10949
10953
|
}
|
|
10950
|
-
function
|
|
10954
|
+
function Ep(e) {
|
|
10951
10955
|
const t = Zt(e);
|
|
10952
10956
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10953
10957
|
const r = e.createElement("style");
|
|
10954
10958
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10955
10959
|
}
|
|
10956
10960
|
}
|
|
10957
|
-
function
|
|
10961
|
+
function xp(e) {
|
|
10958
10962
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10959
10963
|
t && t.remove();
|
|
10960
10964
|
}
|
|
10961
|
-
var
|
|
10962
|
-
function
|
|
10965
|
+
var Kr = "amp-custom";
|
|
10966
|
+
function Sp(e, t) {
|
|
10963
10967
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10964
10968
|
}
|
|
10965
10969
|
function Qo(e, t, r) {
|
|
@@ -10967,7 +10971,7 @@ ${u}`;
|
|
|
10967
10971
|
const i = n.selectorText.split(/\+>~/).flatMap((a) => a.trim().split(" "));
|
|
10968
10972
|
if (i.length === 1 && i[0].trim().startsWith(".em-")) {
|
|
10969
10973
|
for (const a of n.style) if (n.style.getPropertyPriority(a) === "important") {
|
|
10970
|
-
for (const s of e.querySelectorAll(n.selectorText)) if (
|
|
10974
|
+
for (const s of e.querySelectorAll(n.selectorText)) if (Si(s)) {
|
|
10971
10975
|
const l = s.style;
|
|
10972
10976
|
for (const u of [...l]) if (u.startsWith(a)) {
|
|
10973
10977
|
const m = r(u, l.getPropertyValue(u)), b = s.getAttribute("class");
|
|
@@ -10983,7 +10987,7 @@ ${u}`;
|
|
|
10983
10987
|
if (r) {
|
|
10984
10988
|
const a = new Set();
|
|
10985
10989
|
Qo(e, r.cssRules, (s, l) => {
|
|
10986
|
-
const u =
|
|
10990
|
+
const u = Sp(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
|
|
10987
10991
|
return !m.find((E) => Wt.isStyleRule(E) && E.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
|
|
10988
10992
|
.${u} { ${s}: ${l} };
|
|
10989
10993
|
${t.innerHTML}`), u;
|
|
@@ -10995,11 +10999,11 @@ ${t.innerHTML}`);
|
|
|
10995
10999
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
10996
11000
|
n !== i && (t.innerHTML = i);
|
|
10997
11001
|
}
|
|
10998
|
-
function
|
|
11002
|
+
function Ap(e) {
|
|
10999
11003
|
const t = Zt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
11000
11004
|
if (n.length === 1) {
|
|
11001
11005
|
const a = n[0];
|
|
11002
|
-
if (a.parentElement === t && a.getAttribute(
|
|
11006
|
+
if (a.parentElement === t && a.getAttribute(Kr) === "") {
|
|
11003
11007
|
Vo(e, a);
|
|
11004
11008
|
return;
|
|
11005
11009
|
}
|
|
@@ -11010,30 +11014,30 @@ ${t.innerHTML}`);
|
|
|
11010
11014
|
const a = e.createElement("style");
|
|
11011
11015
|
a.innerHTML = `
|
|
11012
11016
|
${i.join("")}
|
|
11013
|
-
`, a.setAttribute(
|
|
11017
|
+
`, a.setAttribute(Kr, ""), t.append(a), Vo(e, a);
|
|
11014
11018
|
}
|
|
11015
11019
|
for (const a of r) a.remove();
|
|
11016
11020
|
}
|
|
11017
|
-
function
|
|
11018
|
-
const t = e.querySelector(`style[${
|
|
11019
|
-
t && t.removeAttribute(
|
|
11021
|
+
function Cp(e) {
|
|
11022
|
+
const t = e.querySelector(`style[${Kr}]`);
|
|
11023
|
+
t && t.removeAttribute(Kr);
|
|
11020
11024
|
}
|
|
11021
|
-
var
|
|
11022
|
-
function
|
|
11025
|
+
var kp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ei = "<!doctype html>";
|
|
11026
|
+
function Tp(e) {
|
|
11023
11027
|
const t = e.doctype;
|
|
11024
11028
|
if (t) {
|
|
11025
|
-
if (
|
|
11026
|
-
const r = new DOMParser().parseFromString(
|
|
11029
|
+
if (xi(t) === ei) return;
|
|
11030
|
+
const r = new DOMParser().parseFromString(ei, "text/html").doctype;
|
|
11027
11031
|
e.replaceChild(r, t);
|
|
11028
11032
|
} else {
|
|
11029
|
-
const r = new DOMParser().parseFromString(
|
|
11033
|
+
const r = new DOMParser().parseFromString(ei, "text/html").doctype;
|
|
11030
11034
|
e.insertBefore(r, e.firstChild);
|
|
11031
11035
|
}
|
|
11032
11036
|
}
|
|
11033
|
-
function
|
|
11037
|
+
function Op(e) {
|
|
11034
11038
|
const t = e.doctype;
|
|
11035
|
-
if (t &&
|
|
11036
|
-
const r = new DOMParser().parseFromString(
|
|
11039
|
+
if (t && xi(t).toLowerCase() === ei) {
|
|
11040
|
+
const r = new DOMParser().parseFromString(kp, "text/html").doctype;
|
|
11037
11041
|
e.replaceChild(r, t);
|
|
11038
11042
|
}
|
|
11039
11043
|
}
|
|
@@ -11041,8 +11045,8 @@ ${i.join("")}
|
|
|
11041
11045
|
const r = document.createElement("amp-img"), n = await ca(e) || void 0, i = [];
|
|
11042
11046
|
try {
|
|
11043
11047
|
let a = e;
|
|
11044
|
-
for (; a &&
|
|
11045
|
-
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u =
|
|
11048
|
+
for (; a && Si(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
11049
|
+
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = wp(e);
|
|
11046
11050
|
let m = !1;
|
|
11047
11051
|
if (u) {
|
|
11048
11052
|
const E = u.getAttribute("width");
|
|
@@ -11069,12 +11073,12 @@ ${i.join("")}
|
|
|
11069
11073
|
}
|
|
11070
11074
|
return r;
|
|
11071
11075
|
}
|
|
11072
|
-
function
|
|
11076
|
+
function Pp(e) {
|
|
11073
11077
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Wo(e), a = r === "responsive";
|
|
11074
11078
|
for (const s of Object.keys(i)) wt(t, s, i[s]);
|
|
11075
11079
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
11076
11080
|
}
|
|
11077
|
-
async function
|
|
11081
|
+
async function Rp(e, t) {
|
|
11078
11082
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
11079
11083
|
for (const a of r) n.push(Go(a).then((s) => [a, s], () => [a, void 0]));
|
|
11080
11084
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -11088,12 +11092,12 @@ ${i.join("")}
|
|
|
11088
11092
|
t?.();
|
|
11089
11093
|
}
|
|
11090
11094
|
}
|
|
11091
|
-
function
|
|
11095
|
+
function Np(e, t) {
|
|
11092
11096
|
const r = [...e.querySelectorAll("amp-img")];
|
|
11093
|
-
for (const n of r) n.replaceWith(
|
|
11097
|
+
for (const n of r) n.replaceWith(Pp(n));
|
|
11094
11098
|
r.length && t?.();
|
|
11095
11099
|
}
|
|
11096
|
-
function
|
|
11100
|
+
function Mp(e) {
|
|
11097
11101
|
const t = e.querySelectorAll("meta");
|
|
11098
11102
|
for (const i of t) {
|
|
11099
11103
|
const a = i.getAttribute("charset");
|
|
@@ -11105,37 +11109,37 @@ ${i.join("")}
|
|
|
11105
11109
|
const r = Zt(e), n = e.createElement("meta");
|
|
11106
11110
|
n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
|
|
11107
11111
|
}
|
|
11108
|
-
function
|
|
11112
|
+
function Ip(e, t, r) {
|
|
11109
11113
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
11110
11114
|
for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
11111
11115
|
}
|
|
11112
|
-
var Gi = "https://cdn.ampproject.org/v0", Zo = `${Gi}.js`,
|
|
11113
|
-
function
|
|
11116
|
+
var Gi = "https://cdn.ampproject.org/v0", Zo = `${Gi}.js`, jp = `script[src='${Zo}']`;
|
|
11117
|
+
function Dp(e, t) {
|
|
11114
11118
|
return `${Gi}/${e.toLowerCase()}-${t}.js`;
|
|
11115
11119
|
}
|
|
11116
|
-
async function
|
|
11120
|
+
async function Lp(e, t, r) {
|
|
11117
11121
|
for (const { name: n, versions: i } of t) {
|
|
11118
11122
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
11119
11123
|
if (!e.querySelector(a)) {
|
|
11120
|
-
const s = Zt(e), l = r.createElementFn("script"), u =
|
|
11124
|
+
const s = Zt(e), l = r.createElementFn("script"), u = Dp(n, i.findLast((m) => m !== "latest") || "v0");
|
|
11121
11125
|
l.setAttribute("async", ""), l.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), l.setAttribute("src", u), s.appendChild(l), s.appendChild(e.createTextNode(`
|
|
11122
11126
|
`));
|
|
11123
11127
|
}
|
|
11124
11128
|
}
|
|
11125
11129
|
}
|
|
11126
|
-
function
|
|
11130
|
+
function Fp(e, t) {
|
|
11127
11131
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
11128
11132
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
11129
11133
|
for (const i of r) Jo(i) && i.tagName !== "FORM" && i.remove();
|
|
11130
11134
|
}
|
|
11131
11135
|
var Yo = void 0;
|
|
11132
|
-
async function
|
|
11136
|
+
async function ti() {
|
|
11133
11137
|
return Yo || (Yo = await Promise.resolve().then(() => mt("./881b2d5e2.js")).then((e) => e.default));
|
|
11134
11138
|
}
|
|
11135
11139
|
var Zi = new Map();
|
|
11136
|
-
async function
|
|
11140
|
+
async function Up() {
|
|
11137
11141
|
if (!Zi.size) {
|
|
11138
|
-
const e = await
|
|
11142
|
+
const e = await ti(), t = e.tags;
|
|
11139
11143
|
for (let r = 0; r < t.length; r++) {
|
|
11140
11144
|
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)) || [];
|
|
11141
11145
|
Zi.set(i, {
|
|
@@ -11148,17 +11152,17 @@ ${i.join("")}
|
|
|
11148
11152
|
return Zi;
|
|
11149
11153
|
}
|
|
11150
11154
|
var Yi = new Map();
|
|
11151
|
-
async function
|
|
11155
|
+
async function zp() {
|
|
11152
11156
|
if (!Yi.size) {
|
|
11153
|
-
const e = await
|
|
11157
|
+
const e = await ti();
|
|
11154
11158
|
for (const t of e.declarations) Yi.set(t.name, t);
|
|
11155
11159
|
}
|
|
11156
11160
|
return Yi;
|
|
11157
11161
|
}
|
|
11158
|
-
var
|
|
11159
|
-
async function
|
|
11162
|
+
var Bp = "$GLOBAL_ATTRS", Ji = new Map();
|
|
11163
|
+
async function qp() {
|
|
11160
11164
|
if (!Ji.size) {
|
|
11161
|
-
const e = (await
|
|
11165
|
+
const e = (await ti()).attrLists.find((t) => t.name === Bp)?.attrs;
|
|
11162
11166
|
if (e) for (const t of e) Ji.set(t.name, t);
|
|
11163
11167
|
}
|
|
11164
11168
|
return Ji;
|
|
@@ -11194,19 +11198,19 @@ ${i.join("")}
|
|
|
11194
11198
|
n() || i();
|
|
11195
11199
|
break;
|
|
11196
11200
|
}
|
|
11197
|
-
else
|
|
11201
|
+
else Ai(e) ? i() : Qt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Qt(e.nextSibling)) && n();
|
|
11198
11202
|
}
|
|
11199
|
-
async function
|
|
11203
|
+
async function Hp(e, t) {
|
|
11200
11204
|
const r = new Set(), n = t.commit, i = (c) => t.replaceSelectors(c.toLowerCase());
|
|
11201
|
-
if (t.replaceImages && await
|
|
11202
|
-
const c = t.replaceSelectors(
|
|
11205
|
+
if (t.replaceImages && await Rp(e, n), t.injectExtensions) {
|
|
11206
|
+
const c = t.replaceSelectors(jp);
|
|
11203
11207
|
if (!e.querySelector(c)) {
|
|
11204
11208
|
const h = t.createElementFn("script");
|
|
11205
11209
|
h.setAttribute("src", Zo), h.setAttribute("async", ""), Zt(e).appendChild(h), n?.();
|
|
11206
11210
|
}
|
|
11207
11211
|
}
|
|
11208
|
-
t.injectRequiredTags && (
|
|
11209
|
-
const a = await
|
|
11212
|
+
t.injectRequiredTags && (Ip(e, t.createElementFn, i), Tp(e), Ep(e), Mp(e), n?.()), t.replaceStylesAndLinks && (Ap(e), n?.());
|
|
11213
|
+
const a = await ti(), s = await Up(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
|
|
11210
11214
|
for (let [c, h] of s) if (!h.deprecation) {
|
|
11211
11215
|
c = i(c);
|
|
11212
11216
|
let w = [...e.querySelectorAll(c)].filter((k) => !u.has(k));
|
|
@@ -11226,7 +11230,7 @@ ${i.join("")}
|
|
|
11226
11230
|
if (t.injectExtensions && h.requiresExtension) for (const M of h.requiresExtension) r.add(M);
|
|
11227
11231
|
const w = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
|
|
11228
11232
|
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?.();
|
|
11229
|
-
const k = await
|
|
11233
|
+
const k = await qp();
|
|
11230
11234
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
11231
11235
|
const M = h.attrs, _ = t.injectRequiredAttributes ? new Set([...M].map(([d, f]) => f).filter((d) => d.required && d.value)) : void 0, C = c.getAttributeNames();
|
|
11232
11236
|
for (const d of C) {
|
|
@@ -11321,8 +11325,8 @@ ${i.join("")}
|
|
|
11321
11325
|
k(x) ? x.selectorText.indexOf("[") >= 0 || x.selectorText.indexOf(":") >= 0 ? d.deleteRule(y) : (w(x.style), x.style.cssText || d.deleteRule(y)) : M(x) ? (_(x), x.cssRules.length || d.deleteRule(y)) : d.deleteRule(y);
|
|
11322
11326
|
}
|
|
11323
11327
|
};
|
|
11324
|
-
const c = e.querySelectorAll("*"), h = await
|
|
11325
|
-
for (const d of c) if (
|
|
11328
|
+
const c = e.querySelectorAll("*"), h = await zp();
|
|
11329
|
+
for (const d of c) if (Si(d)) {
|
|
11326
11330
|
const f = d.getAttribute("style");
|
|
11327
11331
|
f && (w(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
11328
11332
|
}
|
|
@@ -11333,14 +11337,14 @@ ${i.join("")}
|
|
|
11333
11337
|
`)), n?.();
|
|
11334
11338
|
}
|
|
11335
11339
|
}
|
|
11336
|
-
await
|
|
11340
|
+
await Lp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
|
|
11337
11341
|
}
|
|
11338
11342
|
function Ko(e, t) {
|
|
11339
11343
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
11340
11344
|
}
|
|
11341
|
-
function
|
|
11345
|
+
function $p(e, t = {}) {
|
|
11342
11346
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
11343
|
-
return
|
|
11347
|
+
return Hp(e, {
|
|
11344
11348
|
replaceImages: r,
|
|
11345
11349
|
replaceStylesAndLinks: r,
|
|
11346
11350
|
injectRequiredTags: r,
|
|
@@ -11356,14 +11360,14 @@ ${i.join("")}
|
|
|
11356
11360
|
commit: t.commit
|
|
11357
11361
|
});
|
|
11358
11362
|
}
|
|
11359
|
-
function
|
|
11363
|
+
function Wp(e, t = {}) {
|
|
11360
11364
|
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);
|
|
11361
11365
|
if (r) {
|
|
11362
|
-
|
|
11366
|
+
Np(e), Op(e), Cp(e), xp(e);
|
|
11363
11367
|
const u = $o(e);
|
|
11364
11368
|
u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
|
|
11365
11369
|
}
|
|
11366
|
-
n && (
|
|
11370
|
+
n && (Fp(e, {
|
|
11367
11371
|
formsAsAmpForms: t.removeExtensions,
|
|
11368
11372
|
createElementFn: s,
|
|
11369
11373
|
replaceSelectors: l
|
|
@@ -11387,17 +11391,17 @@ ${i.join("")}
|
|
|
11387
11391
|
}), Object.defineProperty(L, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
11388
11392
|
enumerable: !0,
|
|
11389
11393
|
get: function() {
|
|
11390
|
-
return
|
|
11394
|
+
return vu;
|
|
11391
11395
|
}
|
|
11392
11396
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
11393
11397
|
enumerable: !0,
|
|
11394
11398
|
get: function() {
|
|
11395
|
-
return
|
|
11399
|
+
return gi;
|
|
11396
11400
|
}
|
|
11397
11401
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_READY_TIMEOUT_MS", {
|
|
11398
11402
|
enumerable: !0,
|
|
11399
11403
|
get: function() {
|
|
11400
|
-
return
|
|
11404
|
+
return vi;
|
|
11401
11405
|
}
|
|
11402
11406
|
}), Object.defineProperty(L, "InitPipelineContext", {
|
|
11403
11407
|
enumerable: !0,
|
|
@@ -11407,7 +11411,7 @@ ${i.join("")}
|
|
|
11407
11411
|
}), Object.defineProperty(L, "ListenerUpdater", {
|
|
11408
11412
|
enumerable: !0,
|
|
11409
11413
|
get: function() {
|
|
11410
|
-
return
|
|
11414
|
+
return cu;
|
|
11411
11415
|
}
|
|
11412
11416
|
}), Object.defineProperty(L, "PLUGIN_REGISTRY_ID", {
|
|
11413
11417
|
enumerable: !0,
|
|
@@ -11427,12 +11431,12 @@ ${i.join("")}
|
|
|
11427
11431
|
}), Object.defineProperty(L, "amp2html", {
|
|
11428
11432
|
enumerable: !0,
|
|
11429
11433
|
get: function() {
|
|
11430
|
-
return
|
|
11434
|
+
return Wp;
|
|
11431
11435
|
}
|
|
11432
11436
|
}), Object.defineProperty(L, "changeHtml", {
|
|
11433
11437
|
enumerable: !0,
|
|
11434
11438
|
get: function() {
|
|
11435
|
-
return
|
|
11439
|
+
return Jr;
|
|
11436
11440
|
}
|
|
11437
11441
|
}), Object.defineProperty(L, "createAbortError", {
|
|
11438
11442
|
enumerable: !0,
|
|
@@ -11457,7 +11461,7 @@ ${i.join("")}
|
|
|
11457
11461
|
}), Object.defineProperty(L, "createStore", {
|
|
11458
11462
|
enumerable: !0,
|
|
11459
11463
|
get: function() {
|
|
11460
|
-
return
|
|
11464
|
+
return Yc;
|
|
11461
11465
|
}
|
|
11462
11466
|
}), Object.defineProperty(L, "emailRawApi", {
|
|
11463
11467
|
enumerable: !0,
|
|
@@ -11467,22 +11471,22 @@ ${i.join("")}
|
|
|
11467
11471
|
}), Object.defineProperty(L, "extractDocumentTextContent", {
|
|
11468
11472
|
enumerable: !0,
|
|
11469
11473
|
get: function() {
|
|
11470
|
-
return
|
|
11474
|
+
return yp;
|
|
11471
11475
|
}
|
|
11472
11476
|
}), Object.defineProperty(L, "extractServerProjectIdFromToken", {
|
|
11473
11477
|
enumerable: !0,
|
|
11474
11478
|
get: function() {
|
|
11475
|
-
return
|
|
11479
|
+
return nu;
|
|
11476
11480
|
}
|
|
11477
11481
|
}), Object.defineProperty(L, "findShadowRoot", {
|
|
11478
11482
|
enumerable: !0,
|
|
11479
11483
|
get: function() {
|
|
11480
|
-
return
|
|
11484
|
+
return rd;
|
|
11481
11485
|
}
|
|
11482
11486
|
}), Object.defineProperty(L, "getEML", {
|
|
11483
11487
|
enumerable: !0,
|
|
11484
11488
|
get: function() {
|
|
11485
|
-
return
|
|
11489
|
+
return np;
|
|
11486
11490
|
}
|
|
11487
11491
|
}), Object.defineProperty(L, "getElementInnerHTML", {
|
|
11488
11492
|
enumerable: !0,
|
|
@@ -11492,7 +11496,7 @@ ${i.join("")}
|
|
|
11492
11496
|
}), Object.defineProperty(L, "getElementStartHtml_VDOM", {
|
|
11493
11497
|
enumerable: !0,
|
|
11494
11498
|
get: function() {
|
|
11495
|
-
return
|
|
11499
|
+
return Qu;
|
|
11496
11500
|
}
|
|
11497
11501
|
}), Object.defineProperty(L, "getFileNameAndExt", {
|
|
11498
11502
|
enumerable: !0,
|
|
@@ -11502,7 +11506,7 @@ ${i.join("")}
|
|
|
11502
11506
|
}), Object.defineProperty(L, "getFileNameWithExt", {
|
|
11503
11507
|
enumerable: !0,
|
|
11504
11508
|
get: function() {
|
|
11505
|
-
return
|
|
11509
|
+
return ap;
|
|
11506
11510
|
}
|
|
11507
11511
|
}), Object.defineProperty(L, "getImageByUrl", {
|
|
11508
11512
|
enumerable: !0,
|
|
@@ -11517,22 +11521,22 @@ ${i.join("")}
|
|
|
11517
11521
|
}), Object.defineProperty(L, "getSaveTimeoutMs", {
|
|
11518
11522
|
enumerable: !0,
|
|
11519
11523
|
get: function() {
|
|
11520
|
-
return
|
|
11524
|
+
return bu;
|
|
11521
11525
|
}
|
|
11522
11526
|
}), Object.defineProperty(L, "html2amp", {
|
|
11523
11527
|
enumerable: !0,
|
|
11524
11528
|
get: function() {
|
|
11525
|
-
return
|
|
11529
|
+
return $p;
|
|
11526
11530
|
}
|
|
11527
11531
|
}), Object.defineProperty(L, "htmlFilesToZip", {
|
|
11528
11532
|
enumerable: !0,
|
|
11529
11533
|
get: function() {
|
|
11530
|
-
return
|
|
11534
|
+
return bp;
|
|
11531
11535
|
}
|
|
11532
11536
|
}), Object.defineProperty(L, "htmlToFilesData", {
|
|
11533
11537
|
enumerable: !0,
|
|
11534
11538
|
get: function() {
|
|
11535
|
-
return
|
|
11539
|
+
return vp;
|
|
11536
11540
|
}
|
|
11537
11541
|
}), Object.defineProperty(L, "imageToBlob", {
|
|
11538
11542
|
enumerable: !0,
|
|
@@ -11542,12 +11546,12 @@ ${i.join("")}
|
|
|
11542
11546
|
}), Object.defineProperty(L, "injectStandaloneMocks", {
|
|
11543
11547
|
enumerable: !0,
|
|
11544
11548
|
get: function() {
|
|
11545
|
-
return
|
|
11549
|
+
return ou;
|
|
11546
11550
|
}
|
|
11547
11551
|
}), Object.defineProperty(L, "installStandaloneMockGuard", {
|
|
11548
11552
|
enumerable: !0,
|
|
11549
11553
|
get: function() {
|
|
11550
|
-
return
|
|
11554
|
+
return lu;
|
|
11551
11555
|
}
|
|
11552
11556
|
}), Object.defineProperty(L, "isAmpElement", {
|
|
11553
11557
|
enumerable: !0,
|
|
@@ -11557,12 +11561,12 @@ ${i.join("")}
|
|
|
11557
11561
|
}), Object.defineProperty(L, "isDocument", {
|
|
11558
11562
|
enumerable: !0,
|
|
11559
11563
|
get: function() {
|
|
11560
|
-
return
|
|
11564
|
+
return Ai;
|
|
11561
11565
|
}
|
|
11562
11566
|
}), Object.defineProperty(L, "isDocumentFragment", {
|
|
11563
11567
|
enumerable: !0,
|
|
11564
11568
|
get: function() {
|
|
11565
|
-
return
|
|
11569
|
+
return Ku;
|
|
11566
11570
|
}
|
|
11567
11571
|
}), Object.defineProperty(L, "isElement", {
|
|
11568
11572
|
enumerable: !0,
|
|
@@ -11572,7 +11576,7 @@ ${i.join("")}
|
|
|
11572
11576
|
}), Object.defineProperty(L, "isForm", {
|
|
11573
11577
|
enumerable: !0,
|
|
11574
11578
|
get: function() {
|
|
11575
|
-
return
|
|
11579
|
+
return Ju;
|
|
11576
11580
|
}
|
|
11577
11581
|
}), Object.defineProperty(L, "isTextNode", {
|
|
11578
11582
|
enumerable: !0,
|
|
@@ -11592,7 +11596,7 @@ ${i.join("")}
|
|
|
11592
11596
|
}), Object.defineProperty(L, "normalizeUrl", {
|
|
11593
11597
|
enumerable: !0,
|
|
11594
11598
|
get: function() {
|
|
11595
|
-
return
|
|
11599
|
+
return Nd;
|
|
11596
11600
|
}
|
|
11597
11601
|
}), Object.defineProperty(L, "notificationsApi", {
|
|
11598
11602
|
enumerable: !0,
|
|
@@ -11602,27 +11606,27 @@ ${i.join("")}
|
|
|
11602
11606
|
}), Object.defineProperty(L, "parseFromString", {
|
|
11603
11607
|
enumerable: !0,
|
|
11604
11608
|
get: function() {
|
|
11605
|
-
return
|
|
11609
|
+
return Hi;
|
|
11606
11610
|
}
|
|
11607
11611
|
}), Object.defineProperty(L, "pluginRegistry", {
|
|
11608
11612
|
enumerable: !0,
|
|
11609
11613
|
get: function() {
|
|
11610
|
-
return
|
|
11614
|
+
return yu;
|
|
11611
11615
|
}
|
|
11612
11616
|
}), Object.defineProperty(L, "prepareEmailHtmlForEditor", {
|
|
11613
11617
|
enumerable: !0,
|
|
11614
11618
|
get: function() {
|
|
11615
|
-
return
|
|
11619
|
+
return Wd;
|
|
11616
11620
|
}
|
|
11617
11621
|
}), Object.defineProperty(L, "prepareEvent", {
|
|
11618
11622
|
enumerable: !0,
|
|
11619
11623
|
get: function() {
|
|
11620
|
-
return
|
|
11624
|
+
return uu;
|
|
11621
11625
|
}
|
|
11622
11626
|
}), Object.defineProperty(L, "prepareHTML", {
|
|
11623
11627
|
enumerable: !0,
|
|
11624
11628
|
get: function() {
|
|
11625
|
-
return
|
|
11629
|
+
return fp;
|
|
11626
11630
|
}
|
|
11627
11631
|
}), Object.defineProperty(L, "projectSettingsV2Api", {
|
|
11628
11632
|
enumerable: !0,
|
|
@@ -11644,10 +11648,15 @@ ${i.join("")}
|
|
|
11644
11648
|
get: function() {
|
|
11645
11649
|
return ns;
|
|
11646
11650
|
}
|
|
11651
|
+
}), Object.defineProperty(L, "refetchIfActive", {
|
|
11652
|
+
enumerable: !0,
|
|
11653
|
+
get: function() {
|
|
11654
|
+
return Nl;
|
|
11655
|
+
}
|
|
11647
11656
|
}), Object.defineProperty(L, "removeEmailFromList", {
|
|
11648
11657
|
enumerable: !0,
|
|
11649
11658
|
get: function() {
|
|
11650
|
-
return
|
|
11659
|
+
return Dc;
|
|
11651
11660
|
}
|
|
11652
11661
|
}), Object.defineProperty(L, "replaceImagesInDocument", {
|
|
11653
11662
|
enumerable: !0,
|
|
@@ -11667,32 +11676,37 @@ ${i.join("")}
|
|
|
11667
11676
|
}), Object.defineProperty(L, "resetElementHistorySlice", {
|
|
11668
11677
|
enumerable: !0,
|
|
11669
11678
|
get: function() {
|
|
11670
|
-
return
|
|
11679
|
+
return Qc;
|
|
11671
11680
|
}
|
|
11672
11681
|
}), Object.defineProperty(L, "resetElementsList", {
|
|
11673
11682
|
enumerable: !0,
|
|
11674
11683
|
get: function() {
|
|
11675
|
-
return
|
|
11684
|
+
return jc;
|
|
11676
11685
|
}
|
|
11677
11686
|
}), Object.defineProperty(L, "resetNewBlockSlice", {
|
|
11678
11687
|
enumerable: !0,
|
|
11679
11688
|
get: function() {
|
|
11680
|
-
return
|
|
11689
|
+
return Rc;
|
|
11681
11690
|
}
|
|
11682
11691
|
}), Object.defineProperty(L, "resetNewEmailSlice", {
|
|
11683
11692
|
enumerable: !0,
|
|
11684
11693
|
get: function() {
|
|
11685
|
-
return
|
|
11694
|
+
return wc;
|
|
11686
11695
|
}
|
|
11687
11696
|
}), Object.defineProperty(L, "resetPagesAndTotal", {
|
|
11688
11697
|
enumerable: !0,
|
|
11689
11698
|
get: function() {
|
|
11690
|
-
return
|
|
11699
|
+
return Mc;
|
|
11691
11700
|
}
|
|
11692
11701
|
}), Object.defineProperty(L, "resolveTemplateDirectivesConfig", {
|
|
11693
11702
|
enumerable: !0,
|
|
11694
11703
|
get: function() {
|
|
11695
|
-
return
|
|
11704
|
+
return Fu;
|
|
11705
|
+
}
|
|
11706
|
+
}), Object.defineProperty(L, "sanitizeFileName", {
|
|
11707
|
+
enumerable: !0,
|
|
11708
|
+
get: function() {
|
|
11709
|
+
return Yr;
|
|
11696
11710
|
}
|
|
11697
11711
|
}), Object.defineProperty(L, "saveFileApi", {
|
|
11698
11712
|
enumerable: !0,
|
|
@@ -11702,182 +11716,182 @@ ${i.join("")}
|
|
|
11702
11716
|
}), Object.defineProperty(L, "selectBlocksTotal", {
|
|
11703
11717
|
enumerable: !0,
|
|
11704
11718
|
get: function() {
|
|
11705
|
-
return
|
|
11719
|
+
return Hc;
|
|
11706
11720
|
}
|
|
11707
11721
|
}), Object.defineProperty(L, "selectCustomFolders", {
|
|
11708
11722
|
enumerable: !0,
|
|
11709
11723
|
get: function() {
|
|
11710
|
-
return
|
|
11724
|
+
return zc;
|
|
11711
11725
|
}
|
|
11712
11726
|
}), Object.defineProperty(L, "selectElementHistoryTotalPages", {
|
|
11713
11727
|
enumerable: !0,
|
|
11714
11728
|
get: function() {
|
|
11715
|
-
return
|
|
11729
|
+
return Vc;
|
|
11716
11730
|
}
|
|
11717
11731
|
}), Object.defineProperty(L, "selectElementsList", {
|
|
11718
11732
|
enumerable: !0,
|
|
11719
11733
|
get: function() {
|
|
11720
|
-
return
|
|
11734
|
+
return Uc;
|
|
11721
11735
|
}
|
|
11722
11736
|
}), Object.defineProperty(L, "selectElementsTrashList", {
|
|
11723
11737
|
enumerable: !0,
|
|
11724
11738
|
get: function() {
|
|
11725
|
-
return
|
|
11739
|
+
return qc;
|
|
11726
11740
|
}
|
|
11727
11741
|
}), Object.defineProperty(L, "selectElementsView", {
|
|
11728
11742
|
enumerable: !0,
|
|
11729
11743
|
get: function() {
|
|
11730
|
-
return
|
|
11744
|
+
return Fc;
|
|
11731
11745
|
}
|
|
11732
11746
|
}), Object.defineProperty(L, "selectEmailsTotal", {
|
|
11733
11747
|
enumerable: !0,
|
|
11734
11748
|
get: function() {
|
|
11735
|
-
return
|
|
11749
|
+
return Lc;
|
|
11736
11750
|
}
|
|
11737
11751
|
}), Object.defineProperty(L, "selectEmailsTrashTotal", {
|
|
11738
11752
|
enumerable: !0,
|
|
11739
11753
|
get: function() {
|
|
11740
|
-
return
|
|
11754
|
+
return Bc;
|
|
11741
11755
|
}
|
|
11742
11756
|
}), Object.defineProperty(L, "selectHistoryData", {
|
|
11743
11757
|
enumerable: !0,
|
|
11744
11758
|
get: function() {
|
|
11745
|
-
return
|
|
11759
|
+
return Gc;
|
|
11746
11760
|
}
|
|
11747
11761
|
}), Object.defineProperty(L, "selectNewBlockHasChanged", {
|
|
11748
11762
|
enumerable: !0,
|
|
11749
11763
|
get: function() {
|
|
11750
|
-
return
|
|
11764
|
+
return Nc;
|
|
11751
11765
|
}
|
|
11752
11766
|
}), Object.defineProperty(L, "selectNewEmailAppliedShowToken", {
|
|
11753
11767
|
enumerable: !0,
|
|
11754
11768
|
get: function() {
|
|
11755
|
-
return
|
|
11769
|
+
return kc;
|
|
11756
11770
|
}
|
|
11757
11771
|
}), Object.defineProperty(L, "selectNewEmailHasChanged", {
|
|
11758
11772
|
enumerable: !0,
|
|
11759
11773
|
get: function() {
|
|
11760
|
-
return
|
|
11774
|
+
return Tc;
|
|
11761
11775
|
}
|
|
11762
11776
|
}), Object.defineProperty(L, "selectNewEmailSettings", {
|
|
11763
11777
|
enumerable: !0,
|
|
11764
11778
|
get: function() {
|
|
11765
|
-
return
|
|
11779
|
+
return Cc;
|
|
11766
11780
|
}
|
|
11767
11781
|
}), Object.defineProperty(L, "selectParentEmailBlocksTotal", {
|
|
11768
11782
|
enumerable: !0,
|
|
11769
11783
|
get: function() {
|
|
11770
|
-
return
|
|
11784
|
+
return Wc;
|
|
11771
11785
|
}
|
|
11772
11786
|
}), Object.defineProperty(L, "selectTemplateBlocksTotal", {
|
|
11773
11787
|
enumerable: !0,
|
|
11774
11788
|
get: function() {
|
|
11775
|
-
return
|
|
11789
|
+
return $c;
|
|
11776
11790
|
}
|
|
11777
11791
|
}), Object.defineProperty(L, "setNewBlockDescription", {
|
|
11778
11792
|
enumerable: !0,
|
|
11779
11793
|
get: function() {
|
|
11780
|
-
return
|
|
11794
|
+
return Oc;
|
|
11781
11795
|
}
|
|
11782
11796
|
}), Object.defineProperty(L, "setNewBlockTags", {
|
|
11783
11797
|
enumerable: !0,
|
|
11784
11798
|
get: function() {
|
|
11785
|
-
return
|
|
11799
|
+
return Pc;
|
|
11786
11800
|
}
|
|
11787
11801
|
}), Object.defineProperty(L, "setNewEmailAll", {
|
|
11788
11802
|
enumerable: !0,
|
|
11789
11803
|
get: function() {
|
|
11790
|
-
return
|
|
11804
|
+
return lc;
|
|
11791
11805
|
}
|
|
11792
11806
|
}), Object.defineProperty(L, "setNewEmailDescription", {
|
|
11793
11807
|
enumerable: !0,
|
|
11794
11808
|
get: function() {
|
|
11795
|
-
return
|
|
11809
|
+
return pc;
|
|
11796
11810
|
}
|
|
11797
11811
|
}), Object.defineProperty(L, "setNewEmailHtml", {
|
|
11798
11812
|
enumerable: !0,
|
|
11799
11813
|
get: function() {
|
|
11800
|
-
return
|
|
11814
|
+
return hc;
|
|
11801
11815
|
}
|
|
11802
11816
|
}), Object.defineProperty(L, "setNewEmailIsAmp", {
|
|
11803
11817
|
enumerable: !0,
|
|
11804
11818
|
get: function() {
|
|
11805
|
-
return
|
|
11819
|
+
return xc;
|
|
11806
11820
|
}
|
|
11807
11821
|
}), Object.defineProperty(L, "setNewEmailIsTemplate", {
|
|
11808
11822
|
enumerable: !0,
|
|
11809
11823
|
get: function() {
|
|
11810
|
-
return
|
|
11824
|
+
return fc;
|
|
11811
11825
|
}
|
|
11812
11826
|
}), Object.defineProperty(L, "setNewEmailMeta", {
|
|
11813
11827
|
enumerable: !0,
|
|
11814
11828
|
get: function() {
|
|
11815
|
-
return
|
|
11829
|
+
return Sc;
|
|
11816
11830
|
}
|
|
11817
11831
|
}), Object.defineProperty(L, "setNewEmailPreheader", {
|
|
11818
11832
|
enumerable: !0,
|
|
11819
11833
|
get: function() {
|
|
11820
|
-
return
|
|
11834
|
+
return dc;
|
|
11821
11835
|
}
|
|
11822
11836
|
}), Object.defineProperty(L, "setNewEmailProject", {
|
|
11823
11837
|
enumerable: !0,
|
|
11824
11838
|
get: function() {
|
|
11825
|
-
return
|
|
11839
|
+
return Ac;
|
|
11826
11840
|
}
|
|
11827
11841
|
}), Object.defineProperty(L, "setNewEmailSubject", {
|
|
11828
11842
|
enumerable: !0,
|
|
11829
11843
|
get: function() {
|
|
11830
|
-
return
|
|
11844
|
+
return uc;
|
|
11831
11845
|
}
|
|
11832
11846
|
}), Object.defineProperty(L, "setNewEmailTags", {
|
|
11833
11847
|
enumerable: !0,
|
|
11834
11848
|
get: function() {
|
|
11835
|
-
return
|
|
11849
|
+
return mc;
|
|
11836
11850
|
}
|
|
11837
11851
|
}), Object.defineProperty(L, "setNewEmailTitle", {
|
|
11838
11852
|
enumerable: !0,
|
|
11839
11853
|
get: function() {
|
|
11840
|
-
return
|
|
11854
|
+
return cc;
|
|
11841
11855
|
}
|
|
11842
11856
|
}), Object.defineProperty(L, "setNewEmailUtmCampaign", {
|
|
11843
11857
|
enumerable: !0,
|
|
11844
11858
|
get: function() {
|
|
11845
|
-
return
|
|
11859
|
+
return bc;
|
|
11846
11860
|
}
|
|
11847
11861
|
}), Object.defineProperty(L, "setNewEmailUtmContent", {
|
|
11848
11862
|
enumerable: !0,
|
|
11849
11863
|
get: function() {
|
|
11850
|
-
return
|
|
11864
|
+
return _c;
|
|
11851
11865
|
}
|
|
11852
11866
|
}), Object.defineProperty(L, "setNewEmailUtmMedium", {
|
|
11853
11867
|
enumerable: !0,
|
|
11854
11868
|
get: function() {
|
|
11855
|
-
return
|
|
11869
|
+
return vc;
|
|
11856
11870
|
}
|
|
11857
11871
|
}), Object.defineProperty(L, "setNewEmailUtmSource", {
|
|
11858
11872
|
enumerable: !0,
|
|
11859
11873
|
get: function() {
|
|
11860
|
-
return
|
|
11874
|
+
return gc;
|
|
11861
11875
|
}
|
|
11862
11876
|
}), Object.defineProperty(L, "setNewEmailUtmTerm", {
|
|
11863
11877
|
enumerable: !0,
|
|
11864
11878
|
get: function() {
|
|
11865
|
-
return
|
|
11879
|
+
return yc;
|
|
11866
11880
|
}
|
|
11867
11881
|
}), Object.defineProperty(L, "setNewIsInited", {
|
|
11868
11882
|
enumerable: !0,
|
|
11869
11883
|
get: function() {
|
|
11870
|
-
return
|
|
11884
|
+
return Ec;
|
|
11871
11885
|
}
|
|
11872
11886
|
}), Object.defineProperty(L, "src_default", {
|
|
11873
11887
|
enumerable: !0,
|
|
11874
11888
|
get: function() {
|
|
11875
|
-
return
|
|
11889
|
+
return bi;
|
|
11876
11890
|
}
|
|
11877
11891
|
}), Object.defineProperty(L, "syncStandaloneProjectState", {
|
|
11878
11892
|
enumerable: !0,
|
|
11879
11893
|
get: function() {
|
|
11880
|
-
return
|
|
11894
|
+
return au;
|
|
11881
11895
|
}
|
|
11882
11896
|
}), Object.defineProperty(L, "throwIfAborted", {
|
|
11883
11897
|
enumerable: !0,
|
|
@@ -11892,7 +11906,7 @@ ${i.join("")}
|
|
|
11892
11906
|
}), Object.defineProperty(L, "toggleElementsView", {
|
|
11893
11907
|
enumerable: !0,
|
|
11894
11908
|
get: function() {
|
|
11895
|
-
return
|
|
11909
|
+
return Ic;
|
|
11896
11910
|
}
|
|
11897
11911
|
}), Object.defineProperty(L, "tokenApi", {
|
|
11898
11912
|
enumerable: !0,
|
|
@@ -11907,7 +11921,7 @@ ${i.join("")}
|
|
|
11907
11921
|
}), Object.defineProperty(L, "useChangePasswordMutation", {
|
|
11908
11922
|
enumerable: !0,
|
|
11909
11923
|
get: function() {
|
|
11910
|
-
return
|
|
11924
|
+
return Xl;
|
|
11911
11925
|
}
|
|
11912
11926
|
}), Object.defineProperty(L, "useCreateBroadcastMutation", {
|
|
11913
11927
|
enumerable: !0,
|
|
@@ -11952,7 +11966,7 @@ ${i.join("")}
|
|
|
11952
11966
|
}), Object.defineProperty(L, "useCreateConvertJobMutation", {
|
|
11953
11967
|
enumerable: !0,
|
|
11954
11968
|
get: function() {
|
|
11955
|
-
return
|
|
11969
|
+
return ql;
|
|
11956
11970
|
}
|
|
11957
11971
|
}), Object.defineProperty(L, "useCreateDraftMutation", {
|
|
11958
11972
|
enumerable: !0,
|
|
@@ -12012,17 +12026,17 @@ ${i.join("")}
|
|
|
12012
12026
|
}), Object.defineProperty(L, "useGenerateHtmlToPdfMutation", {
|
|
12013
12027
|
enumerable: !0,
|
|
12014
12028
|
get: function() {
|
|
12015
|
-
return
|
|
12029
|
+
return Bl;
|
|
12016
12030
|
}
|
|
12017
12031
|
}), Object.defineProperty(L, "useGetAiGenerateStatusMutation", {
|
|
12018
12032
|
enumerable: !0,
|
|
12019
12033
|
get: function() {
|
|
12020
|
-
return
|
|
12034
|
+
return Dl;
|
|
12021
12035
|
}
|
|
12022
12036
|
}), Object.defineProperty(L, "useGetCheckoutUrlMutation", {
|
|
12023
12037
|
enumerable: !0,
|
|
12024
12038
|
get: function() {
|
|
12025
|
-
return
|
|
12039
|
+
return Ql;
|
|
12026
12040
|
}
|
|
12027
12041
|
}), Object.defineProperty(L, "useGetDialogQuery", {
|
|
12028
12042
|
enumerable: !0,
|
|
@@ -12032,52 +12046,52 @@ ${i.join("")}
|
|
|
12032
12046
|
}), Object.defineProperty(L, "useGetInvoiceRequestMutation", {
|
|
12033
12047
|
enumerable: !0,
|
|
12034
12048
|
get: function() {
|
|
12035
|
-
return
|
|
12049
|
+
return Ul;
|
|
12036
12050
|
}
|
|
12037
12051
|
}), Object.defineProperty(L, "useGetNotificationsQuery", {
|
|
12038
12052
|
enumerable: !0,
|
|
12039
12053
|
get: function() {
|
|
12040
|
-
return
|
|
12054
|
+
return $l;
|
|
12041
12055
|
}
|
|
12042
12056
|
}), Object.defineProperty(L, "useGetProjectIntegrationsQuery", {
|
|
12043
12057
|
enumerable: !0,
|
|
12044
12058
|
get: function() {
|
|
12045
|
-
return
|
|
12059
|
+
return rc;
|
|
12046
12060
|
}
|
|
12047
12061
|
}), Object.defineProperty(L, "useGetProjectStorageQuery", {
|
|
12048
12062
|
enumerable: !0,
|
|
12049
12063
|
get: function() {
|
|
12050
|
-
return
|
|
12064
|
+
return ec;
|
|
12051
12065
|
}
|
|
12052
12066
|
}), Object.defineProperty(L, "useGetProjectTestRecipientsQuery", {
|
|
12053
12067
|
enumerable: !0,
|
|
12054
12068
|
get: function() {
|
|
12055
|
-
return
|
|
12069
|
+
return ac;
|
|
12056
12070
|
}
|
|
12057
12071
|
}), Object.defineProperty(L, "useGetProjectWebhookQuery", {
|
|
12058
12072
|
enumerable: !0,
|
|
12059
12073
|
get: function() {
|
|
12060
|
-
return
|
|
12074
|
+
return nc;
|
|
12061
12075
|
}
|
|
12062
12076
|
}), Object.defineProperty(L, "useLazyClearAiChatQuery", {
|
|
12063
12077
|
enumerable: !0,
|
|
12064
12078
|
get: function() {
|
|
12065
|
-
return
|
|
12079
|
+
return Il;
|
|
12066
12080
|
}
|
|
12067
12081
|
}), Object.defineProperty(L, "useLazyGetCanselRecurrenceQuery", {
|
|
12068
12082
|
enumerable: !0,
|
|
12069
12083
|
get: function() {
|
|
12070
|
-
return
|
|
12084
|
+
return Gl;
|
|
12071
12085
|
}
|
|
12072
12086
|
}), Object.defineProperty(L, "useLazyGetConfirmationMailQuery", {
|
|
12073
12087
|
enumerable: !0,
|
|
12074
12088
|
get: function() {
|
|
12075
|
-
return
|
|
12089
|
+
return Vl;
|
|
12076
12090
|
}
|
|
12077
12091
|
}), Object.defineProperty(L, "useLazyGetConvertJobStatusQuery", {
|
|
12078
12092
|
enumerable: !0,
|
|
12079
12093
|
get: function() {
|
|
12080
|
-
return
|
|
12094
|
+
return Hl;
|
|
12081
12095
|
}
|
|
12082
12096
|
}), Object.defineProperty(L, "useLazyGetDialogQuery", {
|
|
12083
12097
|
enumerable: !0,
|
|
@@ -12092,12 +12106,12 @@ ${i.join("")}
|
|
|
12092
12106
|
}), Object.defineProperty(L, "useLazyGetGeneratedContentQuery", {
|
|
12093
12107
|
enumerable: !0,
|
|
12094
12108
|
get: function() {
|
|
12095
|
-
return
|
|
12109
|
+
return jl;
|
|
12096
12110
|
}
|
|
12097
12111
|
}), Object.defineProperty(L, "useLazyGetIntegrationCredentialsQuery", {
|
|
12098
12112
|
enumerable: !0,
|
|
12099
12113
|
get: function() {
|
|
12100
|
-
return
|
|
12114
|
+
return ic;
|
|
12101
12115
|
}
|
|
12102
12116
|
}), Object.defineProperty(L, "useLazyGetLocaleQuery", {
|
|
12103
12117
|
enumerable: !0,
|
|
@@ -12112,12 +12126,12 @@ ${i.join("")}
|
|
|
12112
12126
|
}), Object.defineProperty(L, "useLazyGetRecurrenceQuery", {
|
|
12113
12127
|
enumerable: !0,
|
|
12114
12128
|
get: function() {
|
|
12115
|
-
return
|
|
12129
|
+
return Zl;
|
|
12116
12130
|
}
|
|
12117
12131
|
}), Object.defineProperty(L, "useLogoutMutation", {
|
|
12118
12132
|
enumerable: !0,
|
|
12119
12133
|
get: function() {
|
|
12120
|
-
return
|
|
12134
|
+
return Jl;
|
|
12121
12135
|
}
|
|
12122
12136
|
}), Object.defineProperty(L, "useMakeTemporaryMailForPngMutation", {
|
|
12123
12137
|
enumerable: !0,
|
|
@@ -12127,7 +12141,7 @@ ${i.join("")}
|
|
|
12127
12141
|
}), Object.defineProperty(L, "useNotificationShownMutation", {
|
|
12128
12142
|
enumerable: !0,
|
|
12129
12143
|
get: function() {
|
|
12130
|
-
return
|
|
12144
|
+
return Wl;
|
|
12131
12145
|
}
|
|
12132
12146
|
}), Object.defineProperty(L, "usePostDataByWebHookMutation", {
|
|
12133
12147
|
enumerable: !0,
|
|
@@ -12137,12 +12151,12 @@ ${i.join("")}
|
|
|
12137
12151
|
}), Object.defineProperty(L, "usePutProjectSettingsMutation", {
|
|
12138
12152
|
enumerable: !0,
|
|
12139
12153
|
get: function() {
|
|
12140
|
-
return
|
|
12154
|
+
return tc;
|
|
12141
12155
|
}
|
|
12142
12156
|
}), Object.defineProperty(L, "usePutProjectTestRecipientsMutation", {
|
|
12143
12157
|
enumerable: !0,
|
|
12144
12158
|
get: function() {
|
|
12145
|
-
return
|
|
12159
|
+
return oc;
|
|
12146
12160
|
}
|
|
12147
12161
|
}), Object.defineProperty(L, "useSendLivePreviewMutation", {
|
|
12148
12162
|
enumerable: !0,
|