useblocks 1.1.49 → 1.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 -7
- package/runtime/THIRD_PARTY_LICENSES.txt +1 -236
- package/runtime/index.js +0 -2
- package/runtime/package.json +0 -6
- package/runtime/plugin-dev-manifest.json +0 -4
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{339377b8.js → 12a9aa4e.js} +15355 -15285
- package/static/core/{b9f47840.js → 17d3ee0b.js} +8 -8
- package/static/core/{6895dd352.js → 195ca4a32.js} +15 -15
- package/static/core/{8e110c69.js → 2569fac8.js} +31 -31
- package/static/core/{4ca527032.js → 26ddf93e2.js} +2 -2
- package/static/core/{de79e0c5.js → 289ba982.js} +543 -518
- package/static/core/{11296a18.js → 30c5fe5f.js} +114 -114
- package/static/core/{e93d55b92.js → 3af8f3592.js} +4 -4
- package/static/core/{542ea53f2.js → 4a27bba92.js} +8 -8
- package/static/core/4a5f1756.js +466 -0
- package/static/core/{13f581cc.js → 4d493eba.js} +3 -3
- package/static/core/{acb049cb.js → 4dadf572.js} +1509 -1520
- package/static/core/{7a229b90.js → 5345bef8.js} +46 -46
- package/static/core/{27544e7e.js → 581ce428.js} +37 -19
- package/static/core/58c4b8d7.js +3150 -0
- package/static/core/{d8daf1142.js → 6156301b2.js} +3 -3
- package/static/core/{c3849484.js → 64bea1a9.js} +5 -5
- package/static/core/{ce4fc17f2.js → 680236f4.js} +1 -1
- package/static/core/{4b75d16c2.js → 687795b52.js} +4 -4
- package/static/core/{70407ac0.js → 72f86b2d.js} +3 -3
- package/static/core/{b77f0769.js → 8432f11e.js} +5 -5
- package/static/core/{59023866.js → 87969347.js} +706 -704
- package/static/core/{13d197af.js → 8a496b64.js} +27 -27
- package/static/core/{4e1b970f.js → 8ba13f332.js} +1 -1
- package/static/core/{386cf7b3.js → 951903fb.js} +9347 -9285
- package/static/core/{3dea3b87.js → 988589a5.js} +10 -10
- package/static/core/{a95c02bb.js → a1355a35.js} +5 -5
- package/static/core/{7c6fb2162.js → a36c3ab62.js} +3 -3
- package/static/core/{aacf134d.js → a4c19e27.js} +523 -503
- package/static/core/{2da1d66b.js → abd3f34c.js} +5 -5
- package/static/core/{528ad9282.js → ae20f0992.js} +16 -16
- package/static/core/{c59f9731.js → b9bb2c5f.js} +6785 -5088
- package/static/core/bf446743.js +761 -0
- package/static/core/{f96d2049.js → d1a1d4902.js} +1 -1
- package/static/core/{5b48fd69.js → d8d6485e.js} +5 -5
- package/static/core/{59e92cc3.js → d9398296.js} +5 -5
- package/static/core/{8c81db36.js → eb23332a.js} +3 -3
- package/static/core/{e7c24fe9.js → fa354fb5.js} +179 -173
- package/static/core/{1e5bf73c.js → ffee9a77.js} +7 -7
- package/static/esm/{d180c108.js → 3cde7cb6.js} +51 -70
- package/static/esm/{448d4bb0.js → 550bf3cb.js} +1 -1
- package/two_step_headless_plugin.html +1 -1
- package/ui-kit/index.js +49 -47
- package/{useblocks-core.15a9129c.js → useblocks-core.1279854f.js} +6 -6
- package/useblocks-esm.js +352 -392
- package/useblocks.js +67 -152
- package/runtime/prop-types/index.js +0 -4
- package/runtime/react-router-dom/index.js +0 -2
- package/static/core/1ca5f3772.js +0 -602
- package/static/core/3b4845f7.js +0 -3097
- package/static/core/a11c28c2.js +0 -467
- package/static/runtime/dom-export-CHgQ7Ws9.js +0 -8069
- package/static/runtime/prop-types-p_yYKrF7.js +0 -47
- /package/iframe/{iframe-eblock.15a9129c.html → iframe-eblock.1279854f.html} +0 -0
- /package/iframe/{iframe.15a9129c.html → iframe.1279854f.html} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/289ba982.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/b9bb2c5f.js",
|
|
7
|
+
"static/core/4d493eba.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/eb23332a.js"
|
|
10
|
+
], function(mt, L, Vp) {
|
|
11
|
+
const Z = mt("./bd36b180.js"), O = mt("./b9bb2c5f.js"), Me = mt("./4d493eba.js"), Ki = mt("./ec11f92f.js"), Kt = mt("./eb23332a.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: Zp, 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: Yp, useGetPromoInfoQuery: Jp } = 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: Xp, useGetLocaleQuery: Kp, 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: ef } = 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: tf } = 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: rf } = 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: nf } = 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: af, useGetGeneratedContentQuery: of, 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: sf, 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: lf } = 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: cf } = 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: uf } = 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: df, useRegisterMutation: pf, useRefreshTokenMutation: ff, useLogoutMutation: Jl, useGetUserQuery: hf, useLazyGetUserQuery: mf, useChangePasswordMutation: Xl, useResetPasswordMutation: gf, useResetPasswordConfirmMutation: vf } = 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: bf, useDeleteProjectIntegrationMutation: _f, useGetProjectWebhookQuery: nc, usePutProjectWebhookMutation: yf, 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,
|
|
@@ -4791,6 +4795,9 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4791
4795
|
setNewEmailProject: (e, t) => {
|
|
4792
4796
|
e.email.project = t.payload.id, t.payload.title != null && (e.email.project_title = t.payload.title);
|
|
4793
4797
|
},
|
|
4798
|
+
promoteNewEmailAfterSave: (e, { payload: t }) => {
|
|
4799
|
+
e.email.id = String(t.id), e.email.isNew = !1, t.modified != null && (e.email.modified = t.modified), t.lock != null && (e.email.lock = t.lock);
|
|
4800
|
+
},
|
|
4794
4801
|
resetNewEmailSlice: (e) => ({
|
|
4795
4802
|
...zt,
|
|
4796
4803
|
email: {
|
|
@@ -4805,16 +4812,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4805
4812
|
e.addMatcher(O.projectsApi.endpoints.getProject.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
4806
4813
|
const i = String(n.arg.originalArgs), a = t.email.project;
|
|
4807
4814
|
a != null && String(a) === i && String(r.id) === i && (t.email.project_title = r.name ?? "");
|
|
4808
|
-
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t) =>
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
...zt
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4815
|
+
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
|
|
4816
|
+
const n = t.hasChanged && t.email.renderGuid != null && r.renderGuid != null && t.email.renderGuid === r.renderGuid, i = t.hasChanged && t.email.id != null && r.id != null && String(t.email.id) === String(r.id);
|
|
4817
|
+
if (!(n || i)) return {
|
|
4818
|
+
...zt,
|
|
4819
|
+
email: {
|
|
4820
|
+
...zt.email,
|
|
4821
|
+
project: t.email.project,
|
|
4822
|
+
project_title: t.email.project_title
|
|
4823
|
+
}
|
|
4824
|
+
};
|
|
4825
|
+
});
|
|
4816
4826
|
}
|
|
4817
|
-
}), { setNewEmailAll:
|
|
4827
|
+
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles: wf, setNewEmailTags: mc, setNewEmailUtmSource: gc, setNewEmailUtmMedium: vc, setNewEmailUtmCampaign: bc, setNewEmailUtmContent: _c, setNewEmailUtmTerm: yc, resetNewEmailSlice: wc, setNewIsInited: Ec, setNewEmailIsAmp: xc, setNewEmailMeta: Sc, setNewEmailProject: Ac, promoteNewEmailAfterSave: Cc } = di.actions, kc = (e) => e[jr].email, Tc = (e) => e[jr].appliedShowToken, Oc = (e) => e[jr].hasChanged, In = `<tr em="block" class="empty-structure">
|
|
4818
4828
|
<td align="center">
|
|
4819
4829
|
<!--[if (gte mso 9)|(IE)]>
|
|
4820
4830
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -4850,7 +4860,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4850
4860
|
title: null
|
|
4851
4861
|
},
|
|
4852
4862
|
hasChanged: !1
|
|
4853
|
-
}), jn = "newBlockSlice",
|
|
4863
|
+
}), jn = "newBlockSlice", pi = O.createSlice({
|
|
4854
4864
|
name: jn,
|
|
4855
4865
|
initialState: Bt,
|
|
4856
4866
|
reducers: {
|
|
@@ -4893,14 +4903,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4893
4903
|
}
|
|
4894
4904
|
}));
|
|
4895
4905
|
}
|
|
4896
|
-
}), { setNewBlockAll:
|
|
4906
|
+
}), { setNewBlockAll: Ef, setNewBlockTitle: xf, setNewBlockDescription: Pc, setNewBlockHtml: Sf, setNewBlockTags: Rc, resetNewBlockSlice: Nc, setBlockIsAmp: Af } = pi.actions, Mc = (e) => e[jn].hasChanged, Dn = O.createState({
|
|
4897
4907
|
emailsTotal: 0,
|
|
4898
4908
|
elementsList: [],
|
|
4899
4909
|
emailsTrashTotal: 0,
|
|
4900
4910
|
elementsTrashList: [],
|
|
4901
4911
|
customFolders: {},
|
|
4902
4912
|
elementsView: !O.PLUGIN.isPlugin && O.api.get(O.APP_COOKIES.em_elements_view) || "cards"
|
|
4903
|
-
}), nt = "emailsPageSlice",
|
|
4913
|
+
}), nt = "emailsPageSlice", fi = O.createSlice({
|
|
4904
4914
|
name: nt,
|
|
4905
4915
|
initialState: Dn,
|
|
4906
4916
|
reducers: {
|
|
@@ -4944,7 +4954,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4944
4954
|
}) : n);
|
|
4945
4955
|
});
|
|
4946
4956
|
}
|
|
4947
|
-
}), { resetPagesAndTotal:
|
|
4957
|
+
}), { resetPagesAndTotal: Ic, toggleElementsView: jc, resetElementsList: Dc, removeEmailFromList: Lc } = fi.actions, Fc = (e) => e[nt].emailsTotal, Uc = (e) => e[nt].elementsView, zc = (e) => e[nt].elementsList, Bc = (e) => e[nt].customFolders, qc = (e) => e[nt].emailsTrashTotal, Hc = (e) => e[nt].elementsTrashList, Ln = O.createState({
|
|
4948
4958
|
blocksTotal: null,
|
|
4949
4959
|
blocksTotalPages: null,
|
|
4950
4960
|
parentEmailBlocksTotal: null,
|
|
@@ -4957,7 +4967,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4957
4967
|
customFolders: {},
|
|
4958
4968
|
blocksTrashTotal: 0,
|
|
4959
4969
|
elementsTrashList: []
|
|
4960
|
-
}), Dr = "blocksPageSlice",
|
|
4970
|
+
}), Dr = "blocksPageSlice", hi = O.createSlice({
|
|
4961
4971
|
name: Dr,
|
|
4962
4972
|
initialState: Ln,
|
|
4963
4973
|
reducers: {
|
|
@@ -5002,11 +5012,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5002
5012
|
}) : n);
|
|
5003
5013
|
});
|
|
5004
5014
|
}
|
|
5005
|
-
}), { resetPagesAndTotal:
|
|
5015
|
+
}), { resetPagesAndTotal: Cf, resetElementsList: kf, toggleElementsView: Tf, removeBlockFromList: Of } = hi.actions, $c = (e) => e[Dr].blocksTotal, Wc = (e) => e[Dr].templateBlocksTotal, Qc = (e) => e[Dr].parentEmailBlocksTotal, Fn = O.createState({
|
|
5006
5016
|
historyData: [],
|
|
5007
5017
|
elementHistoryTotalPages: 1
|
|
5008
|
-
}),
|
|
5009
|
-
name:
|
|
5018
|
+
}), mi = "revisionHistorySlice", Lr = O.createSlice({
|
|
5019
|
+
name: mi,
|
|
5010
5020
|
initialState: Fn,
|
|
5011
5021
|
reducers: {
|
|
5012
5022
|
resetElementHistorySlice: () => ({ ...Fn }),
|
|
@@ -5021,7 +5031,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5021
5031
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
5022
5032
|
});
|
|
5023
5033
|
}
|
|
5024
|
-
}), { resetElementHistorySlice:
|
|
5034
|
+
}), { resetElementHistorySlice: Vc } = Lr.actions, { setElementHistory: Pf } = Lr.actions, Gc = (e) => e[mi].elementHistoryTotalPages, Zc = (e) => e[mi].historyData, Un = O.combineReducers({
|
|
5025
5035
|
[O.di.reducerPath]: O.di.reducer,
|
|
5026
5036
|
[Pt.reducerPath]: Pt.reducer,
|
|
5027
5037
|
[O.userSlice.name]: O.userSlice.reducer,
|
|
@@ -5034,8 +5044,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5034
5044
|
[O.projectSlice.name]: O.projectSlice.reducer,
|
|
5035
5045
|
[O.blocksApi.reducerPath]: O.blocksApi.reducer,
|
|
5036
5046
|
[O.emailsApi.reducerPath]: O.emailsApi.reducer,
|
|
5037
|
-
[ui.name]: ui.reducer,
|
|
5038
5047
|
[di.name]: di.reducer,
|
|
5048
|
+
[pi.name]: pi.reducer,
|
|
5039
5049
|
[it.reducerPath]: it.reducer,
|
|
5040
5050
|
[sr.reducerPath]: sr.reducer,
|
|
5041
5051
|
[lr.reducerPath]: lr.reducer,
|
|
@@ -5060,8 +5070,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5060
5070
|
[It.reducerPath]: It.reducer,
|
|
5061
5071
|
[O.commentsApi.reducerPath]: O.commentsApi.reducer,
|
|
5062
5072
|
[rr.reducerPath]: rr.reducer,
|
|
5073
|
+
[hi.name]: hi.reducer,
|
|
5063
5074
|
[fi.name]: fi.reducer,
|
|
5064
|
-
[pi.name]: pi.reducer,
|
|
5065
5075
|
[ir.reducerPath]: ir.reducer,
|
|
5066
5076
|
[or.reducerPath]: or.reducer,
|
|
5067
5077
|
[nr.reducerPath]: nr.reducer,
|
|
@@ -5079,14 +5089,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5079
5089
|
[O.autosaveRecoverySlice.name]: O.autosaveRecoverySlice.reducer,
|
|
5080
5090
|
[Tr.reducerPath]: Tr.reducer,
|
|
5081
5091
|
[Kt.defaultModePanesSlice.name]: Kt.defaultModePanesSlice.reducer,
|
|
5082
|
-
[
|
|
5092
|
+
[ci.reducerPath]: ci.reducer,
|
|
5083
5093
|
[Lt.reducerPath]: Lt.reducer,
|
|
5084
5094
|
[Or.reducerPath]: Or.reducer,
|
|
5085
5095
|
[Rr.reducerPath]: Rr.reducer,
|
|
5086
5096
|
[Pr.reducerPath]: Pr.reducer,
|
|
5087
5097
|
[Nr.reducerPath]: Nr.reducer,
|
|
5088
5098
|
[Ut.reducerPath]: Ut.reducer
|
|
5089
|
-
}),
|
|
5099
|
+
}), Yc = (e, t) => t.type === "authorizationApi/resetApiState" ? Un({
|
|
5090
5100
|
[O.reducerPath]: e[O.reducerPath],
|
|
5091
5101
|
[it.reducerPath]: e[it.reducerPath]
|
|
5092
5102
|
}, t) : Un(e, t), zn = [
|
|
@@ -5132,7 +5142,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5132
5142
|
kr,
|
|
5133
5143
|
Dt,
|
|
5134
5144
|
Tr,
|
|
5135
|
-
|
|
5145
|
+
ci,
|
|
5136
5146
|
Nr,
|
|
5137
5147
|
Ut,
|
|
5138
5148
|
Lt,
|
|
@@ -5140,14 +5150,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5140
5150
|
Rr,
|
|
5141
5151
|
Pr
|
|
5142
5152
|
];
|
|
5143
|
-
function
|
|
5153
|
+
function Jc(e) {
|
|
5144
5154
|
let t = {};
|
|
5145
5155
|
if (e) {
|
|
5146
5156
|
const n = O.createIdentifier$1();
|
|
5147
5157
|
O.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
5148
5158
|
}
|
|
5149
5159
|
const r = O.configureStore({
|
|
5150
|
-
reducer:
|
|
5160
|
+
reducer: Yc,
|
|
5151
5161
|
middleware: (n) => n({ serializableCheck: !1 }).concat(zn.map((i) => i.middleware)),
|
|
5152
5162
|
preloadedState: t
|
|
5153
5163
|
});
|
|
@@ -5167,13 +5177,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5167
5177
|
return O.getClient(r).jwtAuth.token_validate_create({ type: O.ContentType$1.Json });
|
|
5168
5178
|
} })
|
|
5169
5179
|
})
|
|
5170
|
-
}), { useTokenCreateMutation:
|
|
5180
|
+
}), { useTokenCreateMutation: Rf, useTokenValidateMutation: Nf } = Fr;
|
|
5171
5181
|
function Bn() {
|
|
5172
5182
|
const e = new Map();
|
|
5173
5183
|
for (const t of zn) e.set(t.reducerPath, t);
|
|
5174
5184
|
return e.set(Fr.reducerPath, Fr), [...e.values()];
|
|
5175
5185
|
}
|
|
5176
|
-
var
|
|
5186
|
+
var Xc = {
|
|
5177
5187
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
5178
5188
|
imageApi: new Set([
|
|
5179
5189
|
"sendAiImageRequest",
|
|
@@ -5181,27 +5191,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5181
5191
|
"getAiImageSSE"
|
|
5182
5192
|
])
|
|
5183
5193
|
};
|
|
5184
|
-
function
|
|
5194
|
+
function Kc(e) {
|
|
5185
5195
|
return e.getState().configSlice?.config;
|
|
5186
5196
|
}
|
|
5187
|
-
function
|
|
5197
|
+
function eu(e) {
|
|
5188
5198
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
5189
5199
|
}
|
|
5190
|
-
function
|
|
5191
|
-
return
|
|
5200
|
+
function tu(e) {
|
|
5201
|
+
return eu(Kc(e));
|
|
5192
5202
|
}
|
|
5193
|
-
function
|
|
5194
|
-
return
|
|
5203
|
+
function ru(e, t, r, n) {
|
|
5204
|
+
return Xc[t]?.has(r) ? (i) => tu(e) ? (a) => a(i) : n(i) : n;
|
|
5195
5205
|
}
|
|
5196
|
-
function
|
|
5206
|
+
function iu(e) {
|
|
5197
5207
|
const t = O.getOverrideApiFn(e);
|
|
5198
5208
|
return ((r, n) => {
|
|
5199
5209
|
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" ?
|
|
5210
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? ru(e, r.reducerPath, a, s) : s]));
|
|
5201
5211
|
return t(r, i);
|
|
5202
5212
|
});
|
|
5203
5213
|
}
|
|
5204
|
-
function
|
|
5214
|
+
function nu(e) {
|
|
5205
5215
|
const t = `blocks_${O.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
5206
5216
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
5207
5217
|
window[t] = function(a) {
|
|
@@ -5212,37 +5222,37 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5212
5222
|
r.remove(), delete window[t];
|
|
5213
5223
|
});
|
|
5214
5224
|
}
|
|
5215
|
-
function
|
|
5225
|
+
function au(e) {
|
|
5216
5226
|
if (!e) return;
|
|
5217
5227
|
const t = Me.decodeJwt(e)?.data?.scope;
|
|
5218
5228
|
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
5229
|
}
|
|
5220
|
-
async function
|
|
5230
|
+
async function ou(e) {
|
|
5221
5231
|
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
5232
|
n && e.dispatch(O.setProject(xn(n)));
|
|
5223
5233
|
}
|
|
5224
|
-
async function
|
|
5234
|
+
async function su(e, t) {
|
|
5225
5235
|
try {
|
|
5226
5236
|
const r = function(s) {
|
|
5227
5237
|
const l = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), u = l ? Sn(l, s) : s;
|
|
5228
5238
|
O.di.injectFactory(e, O.APP_ID, async () => u);
|
|
5229
|
-
}, n =
|
|
5239
|
+
}, n = iu(e), i = await (await En.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
|
|
5230
5240
|
if (typeof i != "string") return;
|
|
5231
|
-
const a = await
|
|
5241
|
+
const a = await nu(i);
|
|
5232
5242
|
if (typeof a != "object" || a === null || typeof a.execute != "function") return;
|
|
5233
5243
|
a.execute(r, n, Bn());
|
|
5234
5244
|
} catch {}
|
|
5235
5245
|
}
|
|
5236
|
-
function
|
|
5246
|
+
function lu(e, t) {
|
|
5237
5247
|
const r = Object.keys(t.endpoints);
|
|
5238
5248
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, O.standaloneTerminalGuardExecutor])));
|
|
5239
5249
|
}
|
|
5240
|
-
function
|
|
5250
|
+
function cu(e) {
|
|
5241
5251
|
O.markStandaloneMockGuardInstalled(e);
|
|
5242
5252
|
const t = O.getOverrideApiFn(e);
|
|
5243
|
-
for (const r of Bn())
|
|
5253
|
+
for (const r of Bn()) lu(t, r);
|
|
5244
5254
|
}
|
|
5245
|
-
var
|
|
5255
|
+
var uu = class extends O.Disposable {
|
|
5246
5256
|
_event;
|
|
5247
5257
|
_listener;
|
|
5248
5258
|
_disposeEvent;
|
|
@@ -5256,7 +5266,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5256
5266
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
5257
5267
|
}
|
|
5258
5268
|
};
|
|
5259
|
-
function
|
|
5269
|
+
function du(e, t, r) {
|
|
5260
5270
|
const n = O.snapshot(e);
|
|
5261
5271
|
return (i, a, s) => {
|
|
5262
5272
|
const l = n(async (u) => {
|
|
@@ -5268,7 +5278,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5268
5278
|
return () => l.dispose();
|
|
5269
5279
|
};
|
|
5270
5280
|
}
|
|
5271
|
-
var
|
|
5281
|
+
var gi = {
|
|
5272
5282
|
INIT_START: 5e3,
|
|
5273
5283
|
SET_ENTITY: 12e3,
|
|
5274
5284
|
PREHEADER: 5e3,
|
|
@@ -5281,13 +5291,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5281
5291
|
"PREHEADER",
|
|
5282
5292
|
"SUBJECT",
|
|
5283
5293
|
"INITED"
|
|
5284
|
-
],
|
|
5285
|
-
function
|
|
5294
|
+
], vi = 2e4, Hn = vi + qn.reduce((e, t) => e + gi[t], 0) + 3e3;
|
|
5295
|
+
function fu(e) {
|
|
5286
5296
|
return qn.reduce((t, r) => t + $n(r, e), 0);
|
|
5287
5297
|
}
|
|
5288
5298
|
function $n(e, t) {
|
|
5289
5299
|
const r = t?.[e];
|
|
5290
|
-
return typeof r == "number" && r > 0 ? r :
|
|
5300
|
+
return typeof r == "number" && r > 0 ? r : gi[e];
|
|
5291
5301
|
}
|
|
5292
5302
|
function Wn(e) {
|
|
5293
5303
|
const t = e?.contentReady;
|
|
@@ -5295,14 +5305,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5295
5305
|
}
|
|
5296
5306
|
function Qn(e) {
|
|
5297
5307
|
const t = e?.sandboxReady;
|
|
5298
|
-
return typeof t == "number" && t > 0 ? t :
|
|
5308
|
+
return typeof t == "number" && t > 0 ? t : vi;
|
|
5299
5309
|
}
|
|
5300
|
-
var
|
|
5310
|
+
var hu = class extends Error {
|
|
5301
5311
|
showId;
|
|
5302
5312
|
constructor(e, t) {
|
|
5303
5313
|
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
5314
|
}
|
|
5305
|
-
},
|
|
5315
|
+
}, mu = class {
|
|
5306
5316
|
_activeRequest = null;
|
|
5307
5317
|
_pending = new Map();
|
|
5308
5318
|
_listeners = new Set();
|
|
@@ -5318,7 +5328,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5318
5328
|
return this._rejectPending(Be("Superseded by newer show()")), r.aborted ? Promise.reject(Be(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
5319
5329
|
const a = setTimeout(() => {
|
|
5320
5330
|
this._settle(e.showId, () => {
|
|
5321
|
-
i(new
|
|
5331
|
+
i(new hu(e.showId, t));
|
|
5322
5332
|
});
|
|
5323
5333
|
}, t);
|
|
5324
5334
|
a.unref?.();
|
|
@@ -5366,7 +5376,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5366
5376
|
this._pending.clear();
|
|
5367
5377
|
}
|
|
5368
5378
|
};
|
|
5369
|
-
function
|
|
5379
|
+
function gu(e, t) {
|
|
5370
5380
|
return {
|
|
5371
5381
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
5372
5382
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -5376,16 +5386,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5376
5386
|
} : e?.sandbox
|
|
5377
5387
|
};
|
|
5378
5388
|
}
|
|
5379
|
-
function
|
|
5389
|
+
function vu(e) {
|
|
5380
5390
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
5381
5391
|
Wn(e);
|
|
5382
|
-
Qn(e) +
|
|
5392
|
+
Qn(e) + fu(e.sandbox);
|
|
5383
5393
|
}
|
|
5384
5394
|
var Vn = class {
|
|
5385
5395
|
_controller = new AbortController();
|
|
5386
5396
|
_externalSignalDisposable = new O.Disposable();
|
|
5387
5397
|
_sessionChangeListeners = new Set();
|
|
5388
|
-
_showRegistry = new
|
|
5398
|
+
_showRegistry = new mu();
|
|
5389
5399
|
_timeouts;
|
|
5390
5400
|
_generation = 0;
|
|
5391
5401
|
_sessionStarted = !1;
|
|
@@ -5434,7 +5444,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5434
5444
|
};
|
|
5435
5445
|
}
|
|
5436
5446
|
configure(e) {
|
|
5437
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
5447
|
+
e.timeouts !== void 0 && (this._timeouts = gu(this._timeouts, e.timeouts), vu(this._timeouts));
|
|
5438
5448
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
5439
5449
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
5440
5450
|
}
|
|
@@ -5461,18 +5471,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5461
5471
|
e.removeEventListener("abort", t);
|
|
5462
5472
|
});
|
|
5463
5473
|
}
|
|
5464
|
-
},
|
|
5474
|
+
}, bu = (() => {
|
|
5465
5475
|
const e = new Vn();
|
|
5466
5476
|
return e.configure({}), e;
|
|
5467
5477
|
})();
|
|
5468
|
-
function
|
|
5478
|
+
function _u(e = Hn) {
|
|
5469
5479
|
return e + 3e3;
|
|
5470
5480
|
}
|
|
5471
5481
|
var Gn = "PluginRegistry";
|
|
5472
|
-
function
|
|
5482
|
+
function yu(e = O.resolveContainer()) {
|
|
5473
5483
|
return e.getOrCreateInstance(Gn, () => new rs());
|
|
5474
5484
|
}
|
|
5475
|
-
var
|
|
5485
|
+
var wu = new is(() => yu()), Zn = {
|
|
5476
5486
|
"application/prs.cww": ["cww"],
|
|
5477
5487
|
"application/prs.xsf+xml": ["xsf"],
|
|
5478
5488
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -6783,7 +6793,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6783
6793
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
6784
6794
|
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
6795
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
6786
|
-
}, gt, qt, at,
|
|
6796
|
+
}, gt, qt, at, Eu = class {
|
|
6787
6797
|
constructor(...e) {
|
|
6788
6798
|
gt.set(this, new Map()), qt.set(this, new Map()), at.set(this, new Map());
|
|
6789
6799
|
for (const t of e) this.define(t);
|
|
@@ -6829,7 +6839,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6829
6839
|
}
|
|
6830
6840
|
};
|
|
6831
6841
|
gt = new WeakMap(), qt = new WeakMap(), at = new WeakMap();
|
|
6832
|
-
var
|
|
6842
|
+
var bi = new Eu(Yn, Zn)._freeze();
|
|
6833
6843
|
function Jn(e) {
|
|
6834
6844
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
6835
6845
|
}
|
|
@@ -6863,27 +6873,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6863
6873
|
}
|
|
6864
6874
|
return r === 0;
|
|
6865
6875
|
}
|
|
6866
|
-
function
|
|
6876
|
+
function xu(e) {
|
|
6867
6877
|
return (t, r, n) => Ur(t) ? e(t, r, n) : !1;
|
|
6868
6878
|
}
|
|
6869
|
-
function
|
|
6879
|
+
function Su(e) {
|
|
6870
6880
|
return (t) => Ur(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
6871
6881
|
}
|
|
6872
|
-
function
|
|
6882
|
+
function Au(e) {
|
|
6873
6883
|
return (t, r, n) => Ur(t) ? Jn(t) ? e(t, r, n) : t : !1;
|
|
6874
6884
|
}
|
|
6875
|
-
function
|
|
6885
|
+
function Cu(e) {
|
|
6876
6886
|
return (t) => {
|
|
6877
6887
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
6878
6888
|
return Ur(r) ? Jn(r) ? e(t) : t : !1;
|
|
6879
6889
|
};
|
|
6880
6890
|
}
|
|
6881
|
-
function
|
|
6891
|
+
function ku(e) {
|
|
6882
6892
|
const t = /[<>&]/g;
|
|
6883
6893
|
for (; t.exec(e) !== null;) return !0;
|
|
6884
6894
|
return !1;
|
|
6885
6895
|
}
|
|
6886
|
-
function
|
|
6896
|
+
function _i(e, t) {
|
|
6887
6897
|
const r = e.length;
|
|
6888
6898
|
for (let n = 0; n < r; n++) {
|
|
6889
6899
|
const i = e.charCodeAt(n);
|
|
@@ -6891,7 +6901,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6891
6901
|
}
|
|
6892
6902
|
return !0;
|
|
6893
6903
|
}
|
|
6894
|
-
function
|
|
6904
|
+
function Tu(e) {
|
|
6895
6905
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
6896
6906
|
crypto.getRandomValues(n);
|
|
6897
6907
|
let i = "";
|
|
@@ -6901,34 +6911,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6901
6911
|
}
|
|
6902
6912
|
return i;
|
|
6903
6913
|
}
|
|
6904
|
-
var
|
|
6914
|
+
var Ou = 8, Pu = class {
|
|
6905
6915
|
_byKey = Object.create(null);
|
|
6906
6916
|
_byValue = Object.create(null);
|
|
6907
6917
|
getOrCreateByKey(e) {
|
|
6908
6918
|
let t = this._byKey[e];
|
|
6909
|
-
return t === void 0 && (t =
|
|
6919
|
+
return t === void 0 && (t = Tu(Ou), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
6910
6920
|
}
|
|
6911
6921
|
getByValue(e) {
|
|
6912
6922
|
return this._byValue[e];
|
|
6913
6923
|
}
|
|
6914
|
-
}, zr = new
|
|
6924
|
+
}, zr = new Pu();
|
|
6915
6925
|
function Xn(e, t) {
|
|
6916
|
-
return t !== void 0 && !
|
|
6926
|
+
return t !== void 0 && !_i(e, t) ? `%|{${zr.getOrCreateByKey(e)}}|%` : e;
|
|
6917
6927
|
}
|
|
6918
|
-
function
|
|
6928
|
+
function Ru(e) {
|
|
6919
6929
|
const t = zr.getByValue(e.slice(3, e.length - 3));
|
|
6920
6930
|
return t === void 0 ? e : t;
|
|
6921
6931
|
}
|
|
6922
6932
|
function we(e, t, r) {
|
|
6923
|
-
return t !== void 0 ?
|
|
6933
|
+
return t !== void 0 ? _i(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6924
6934
|
}
|
|
6925
|
-
function
|
|
6935
|
+
function Nu(e) {
|
|
6926
6936
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6927
6937
|
}
|
|
6928
6938
|
function be(e) {
|
|
6929
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6939
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? Nu(e.slice(4, -3)) : e;
|
|
6930
6940
|
}
|
|
6931
|
-
function
|
|
6941
|
+
function Mu(e) {
|
|
6932
6942
|
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
6943
|
let n = e;
|
|
6934
6944
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6936,14 +6946,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6936
6946
|
const a = n.trim();
|
|
6937
6947
|
return t.test(a) || r.test(a);
|
|
6938
6948
|
}
|
|
6939
|
-
function
|
|
6940
|
-
return t !== void 0 ?
|
|
6949
|
+
function Iu(e, t, r) {
|
|
6950
|
+
return t !== void 0 ? _i(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : r || ku(e) || Mu(e) ? `<!--${e}-->` : e;
|
|
6941
6951
|
}
|
|
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 ?
|
|
6952
|
+
var ot = xu(we), st = Su(be), ju = Au(we), Du = Cu(be), Kn = (e) => {
|
|
6953
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", Ru), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", Xn, !0), e.escape("{{", "}}", Xn, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", Iu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", ot).escape("#elseif", ")", ot).escape("#else", "", we).escape("#foreach", ")", ot).escape("#macro", ")", ot).escape("#set", ")", ju, !0).escape("#parse", ")", ot).escape("#include", ")", ot).escape("#evaluate", ")", ot).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", st).unescape("<!--#if", "-->", st).unescape("<!--#elseif", "-->", st).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", st).unescape("<!--#parse", "-->", st).unescape("<!--#include", "-->", st).unescape("<!--#evaluate", "-->", st).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", Du, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
|
|
6954
|
+
}, yi = "bare", Lu = new Map();
|
|
6955
|
+
function Fu(e) {
|
|
6956
|
+
return e ? Lu.get(e) ?? yi : yi;
|
|
6947
6957
|
}
|
|
6948
6958
|
var ea = [
|
|
6949
6959
|
"brace-percent",
|
|
@@ -6960,10 +6970,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6960
6970
|
function Ht(e) {
|
|
6961
6971
|
return e === "bare" || e === "html-comment";
|
|
6962
6972
|
}
|
|
6963
|
-
function
|
|
6973
|
+
function wi(e) {
|
|
6964
6974
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6965
6975
|
}
|
|
6966
|
-
function
|
|
6976
|
+
function Uu(e, t = (r) => {}) {
|
|
6967
6977
|
const r = {
|
|
6968
6978
|
output: {},
|
|
6969
6979
|
editor: {}
|
|
@@ -6976,10 +6986,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6976
6986
|
} else if (typeof e == "object" && !Array.isArray(e)) n = e;
|
|
6977
6987
|
else return t(`templateDirectives: expected a string or an object, got ${typeof e}. Ignored.`), r;
|
|
6978
6988
|
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 && !
|
|
6989
|
+
if (n.syntaxes !== void 0 && !wi(n.syntaxes)) return t("templateDirectives.syntaxes: expected an object, configuration ignored."), r;
|
|
6980
6990
|
if (n.syntaxes) {
|
|
6981
6991
|
for (const [m, b] of Object.entries(n.syntaxes)) if (!(!ta(m) || b === void 0 || Ht(b))) {
|
|
6982
|
-
if (!
|
|
6992
|
+
if (!wi(b)) return t(`templateDirectives.syntaxes.${m}: expected a form or an object, configuration ignored.`), r;
|
|
6983
6993
|
for (const E of ["output", "editor"]) {
|
|
6984
6994
|
const p = b[E];
|
|
6985
6995
|
if (p !== void 0 && !Ht(p)) return t(`templateDirectives.syntaxes.${m}.${E}: unknown form "${String(p)}", configuration ignored.`), r;
|
|
@@ -6987,7 +6997,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6987
6997
|
}
|
|
6988
6998
|
}
|
|
6989
6999
|
if (n.output === void 0 && n.editor === void 0 && n.syntaxes === void 0) return r;
|
|
6990
|
-
const i = n.output ??
|
|
7000
|
+
const i = n.output ?? yi;
|
|
6991
7001
|
let a = n.editor;
|
|
6992
7002
|
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
7003
|
const s = [];
|
|
@@ -7001,7 +7011,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7001
7011
|
else s.push(...ea);
|
|
7002
7012
|
const l = {}, u = {};
|
|
7003
7013
|
for (const m of s) {
|
|
7004
|
-
const b = n.syntaxes?.[m], E =
|
|
7014
|
+
const b = n.syntaxes?.[m], E = wi(b) ? b : void 0, p = (Ht(b) ? b : E?.output) ?? i;
|
|
7005
7015
|
let c = E?.editor ?? a ?? p;
|
|
7006
7016
|
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
7017
|
}
|
|
@@ -7051,7 +7061,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7051
7061
|
}
|
|
7052
7062
|
return s.sort((b, E) => b.range.start - E.range.start || b.range.end - E.range.end);
|
|
7053
7063
|
}
|
|
7054
|
-
function
|
|
7064
|
+
function zu(e, t) {
|
|
7055
7065
|
const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: E, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
|
|
7056
7066
|
value: b,
|
|
7057
7067
|
mapFn: u,
|
|
@@ -7069,10 +7079,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7069
7079
|
}
|
|
7070
7080
|
return a;
|
|
7071
7081
|
}
|
|
7072
|
-
function
|
|
7082
|
+
function Ei(e, t, r, n, i = !1) {
|
|
7073
7083
|
const a = [];
|
|
7074
7084
|
if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
|
|
7075
|
-
const s =
|
|
7085
|
+
const s = zu(e, t), l = {
|
|
7076
7086
|
insideTag: !1,
|
|
7077
7087
|
insideAttributeValue: !1,
|
|
7078
7088
|
attributeQuoteChar: void 0,
|
|
@@ -7125,7 +7135,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7125
7135
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
7126
7136
|
return n;
|
|
7127
7137
|
}
|
|
7128
|
-
var
|
|
7138
|
+
var Bu = class {
|
|
7129
7139
|
_disposables = [];
|
|
7130
7140
|
_escapes = [];
|
|
7131
7141
|
_unescapes = [];
|
|
@@ -7182,22 +7192,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7182
7192
|
return this.addDisposable(a), a;
|
|
7183
7193
|
}
|
|
7184
7194
|
_collectMappings(e, t, r) {
|
|
7185
|
-
const n =
|
|
7195
|
+
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
7196
|
return [...s, ...l].sort((u, m) => u.range.start - m.range.start || u.range.end - m.range.end);
|
|
7187
7197
|
}
|
|
7188
7198
|
getMappings(e, t, r) {
|
|
7189
7199
|
return this._collectMappings(e, t, r);
|
|
7190
7200
|
}
|
|
7191
7201
|
_collectRevertMappings(e, t) {
|
|
7192
|
-
const r =
|
|
7202
|
+
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
7203
|
return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
|
|
7194
7204
|
}
|
|
7195
7205
|
getRevertMappings(e, t, r) {
|
|
7196
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
7206
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Fu(i) === "html-comment";
|
|
7197
7207
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
7198
7208
|
}
|
|
7199
7209
|
getDetectedMappings(e, t, r) {
|
|
7200
|
-
return
|
|
7210
|
+
return Ei(e, this._escapes, t, r, !0);
|
|
7201
7211
|
}
|
|
7202
7212
|
getEscapedText(e, t) {
|
|
7203
7213
|
return Br(e, this.getMappings(e, t));
|
|
@@ -7221,7 +7231,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7221
7231
|
}
|
|
7222
7232
|
}, ke = (function(e) {
|
|
7223
7233
|
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,
|
|
7234
|
+
})({}), qr = (e) => e.type === 0 ? e.start - 1 : e.start, qu = (e) => e.type === 0 ? e.end + 1 : e.end, Ke = class ts {
|
|
7225
7235
|
start;
|
|
7226
7236
|
end;
|
|
7227
7237
|
children;
|
|
@@ -7269,7 +7279,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7269
7279
|
const r = aa(this.children, (n) => t <= qr(n)) - 1;
|
|
7270
7280
|
if (r >= 0) {
|
|
7271
7281
|
const n = this.children[r];
|
|
7272
|
-
if (t >= qr(n) && t <=
|
|
7282
|
+
if (t >= qr(n) && t <= qu(n)) return n.findNodeAt(t);
|
|
7273
7283
|
}
|
|
7274
7284
|
return this;
|
|
7275
7285
|
}
|
|
@@ -7303,7 +7313,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7303
7313
|
const i = this.start - r, a = new ts(r, this.end - i, [], t);
|
|
7304
7314
|
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
7315
|
}
|
|
7306
|
-
},
|
|
7316
|
+
}, Hu = new Set([
|
|
7307
7317
|
"area",
|
|
7308
7318
|
"br",
|
|
7309
7319
|
"col",
|
|
@@ -7316,20 +7326,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7316
7326
|
"param",
|
|
7317
7327
|
"vk-snippet-end"
|
|
7318
7328
|
]);
|
|
7319
|
-
function
|
|
7329
|
+
function $u(e) {
|
|
7320
7330
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7321
7331
|
}
|
|
7322
7332
|
var na = Object.create(null);
|
|
7323
|
-
function
|
|
7333
|
+
function Wu(e, t) {
|
|
7324
7334
|
const r = na[e] || (na[e] = Object.create(null));
|
|
7325
7335
|
let n = r[t];
|
|
7326
7336
|
if (typeof n != "boolean") {
|
|
7327
|
-
const i = document.createElement(e)[
|
|
7337
|
+
const i = document.createElement(e)[$u(t)];
|
|
7328
7338
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7329
7339
|
}
|
|
7330
7340
|
return n;
|
|
7331
7341
|
}
|
|
7332
|
-
function
|
|
7342
|
+
function Qu(e) {
|
|
7333
7343
|
const t = e.tag?.toLowerCase();
|
|
7334
7344
|
let r = "";
|
|
7335
7345
|
if (t) {
|
|
@@ -7338,15 +7348,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7338
7348
|
const i = Object.keys(n);
|
|
7339
7349
|
for (const a of i) {
|
|
7340
7350
|
const s = n[a] === null ? "" : n[a];
|
|
7341
|
-
typeof s == "string" && (r += s === "" && a !== "em" && !
|
|
7351
|
+
typeof s == "string" && (r += s === "" && a !== "em" && !Wu(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
|
|
7342
7352
|
}
|
|
7343
7353
|
}
|
|
7344
7354
|
}
|
|
7345
7355
|
return r;
|
|
7346
7356
|
}
|
|
7347
|
-
function
|
|
7357
|
+
function Vu(e, t) {
|
|
7348
7358
|
if (e.start !== e.startTagEnd || t) {
|
|
7349
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
7359
|
+
const r = e.tag?.toLowerCase() || "div", n = Qu(e);
|
|
7350
7360
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
7351
7361
|
}
|
|
7352
7362
|
return "";
|
|
@@ -7360,18 +7370,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7360
7370
|
}
|
|
7361
7371
|
return r;
|
|
7362
7372
|
}
|
|
7363
|
-
function
|
|
7373
|
+
function Gu(e) {
|
|
7364
7374
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7365
7375
|
}
|
|
7366
|
-
function
|
|
7376
|
+
function xi(e) {
|
|
7367
7377
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
7368
7378
|
}
|
|
7369
7379
|
var oa = Object.create(null);
|
|
7370
|
-
function
|
|
7380
|
+
function Zu(e, t) {
|
|
7371
7381
|
const r = oa[e] || (oa[e] = Object.create(null));
|
|
7372
7382
|
let n = r[t];
|
|
7373
7383
|
if (typeof n != "boolean") {
|
|
7374
|
-
const i = document.createElement(e)[
|
|
7384
|
+
const i = document.createElement(e)[Gu(t)];
|
|
7375
7385
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7376
7386
|
}
|
|
7377
7387
|
return n;
|
|
@@ -7379,34 +7389,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7379
7389
|
function et(e) {
|
|
7380
7390
|
return e.nodeType === Node.ELEMENT_NODE;
|
|
7381
7391
|
}
|
|
7382
|
-
function
|
|
7392
|
+
function Si(e) {
|
|
7383
7393
|
return et(e) && !e.ownerSVGElement;
|
|
7384
7394
|
}
|
|
7385
7395
|
function sa(e) {
|
|
7386
7396
|
return e.tagName === "IMG";
|
|
7387
7397
|
}
|
|
7388
|
-
function
|
|
7398
|
+
function Yu(e) {
|
|
7389
7399
|
return e.tagName === "AMP-IMG";
|
|
7390
7400
|
}
|
|
7391
|
-
function
|
|
7401
|
+
function Ju(e) {
|
|
7392
7402
|
return e.tagName === "BODY";
|
|
7393
7403
|
}
|
|
7394
|
-
function
|
|
7404
|
+
function Xu(e) {
|
|
7395
7405
|
return e.tagName === "FORM";
|
|
7396
7406
|
}
|
|
7397
|
-
function
|
|
7407
|
+
function Ku(e) {
|
|
7398
7408
|
return e.tagName === "HTML";
|
|
7399
7409
|
}
|
|
7400
7410
|
function la(e) {
|
|
7401
7411
|
return e.tagName === "STYLE";
|
|
7402
7412
|
}
|
|
7403
|
-
function
|
|
7413
|
+
function Ai(e) {
|
|
7404
7414
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
7405
7415
|
}
|
|
7406
|
-
function
|
|
7416
|
+
function ed(e) {
|
|
7407
7417
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
7408
7418
|
}
|
|
7409
|
-
function
|
|
7419
|
+
function td(e) {
|
|
7410
7420
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
7411
7421
|
}
|
|
7412
7422
|
var Wt;
|
|
@@ -7456,19 +7466,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7456
7466
|
}
|
|
7457
7467
|
e.isFontFeatureValuesRuleRule = E;
|
|
7458
7468
|
})(Wt || (Wt = {}));
|
|
7459
|
-
function
|
|
7469
|
+
function Ci(e) {
|
|
7460
7470
|
return e.nodeType === Node.COMMENT_NODE;
|
|
7461
7471
|
}
|
|
7462
|
-
function
|
|
7472
|
+
function rd(e) {
|
|
7463
7473
|
return e && !!e.host && !!e.mode;
|
|
7464
7474
|
}
|
|
7465
|
-
function
|
|
7475
|
+
function id(e) {
|
|
7466
7476
|
const t = e.getRootNode() || window.document;
|
|
7467
|
-
return
|
|
7477
|
+
return rd(t) ? t : null;
|
|
7468
7478
|
}
|
|
7469
|
-
var
|
|
7470
|
-
function
|
|
7471
|
-
const t = vt(e).matchAll(
|
|
7479
|
+
var nd = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
7480
|
+
function ad(e) {
|
|
7481
|
+
const t = vt(e).matchAll(nd);
|
|
7472
7482
|
if (t) for (const r of t) {
|
|
7473
7483
|
const [, n, , i, a] = r;
|
|
7474
7484
|
return {
|
|
@@ -7481,7 +7491,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7481
7491
|
function Qt(e) {
|
|
7482
7492
|
return e.nodeType === Node.TEXT_NODE;
|
|
7483
7493
|
}
|
|
7484
|
-
function
|
|
7494
|
+
function od(e) {
|
|
7485
7495
|
return e.tagName === "TABLE";
|
|
7486
7496
|
}
|
|
7487
7497
|
async function ca(e, t = 5e3) {
|
|
@@ -7490,18 +7500,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7490
7500
|
}) : getComputedStyle(e);
|
|
7491
7501
|
}
|
|
7492
7502
|
function vt(e) {
|
|
7493
|
-
if (et(e)) return
|
|
7494
|
-
if (
|
|
7495
|
-
if (
|
|
7503
|
+
if (et(e)) return ld(e);
|
|
7504
|
+
if (Ai(e)) return [...e.childNodes].map((r) => vt(r)).join("");
|
|
7505
|
+
if (td(e)) return xi(e);
|
|
7496
7506
|
const t = document.createElement("div");
|
|
7497
7507
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
7498
7508
|
}
|
|
7499
|
-
function
|
|
7509
|
+
function sd(e) {
|
|
7500
7510
|
const t = e.tagName.toLowerCase();
|
|
7501
7511
|
let r = "";
|
|
7502
7512
|
for (const n of e.attributes) {
|
|
7503
7513
|
const i = n.name, a = n.value;
|
|
7504
|
-
r += a === "" && i !== "em" && !
|
|
7514
|
+
r += a === "" && i !== "em" && !Zu(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
7505
7515
|
}
|
|
7506
7516
|
return r;
|
|
7507
7517
|
}
|
|
@@ -7510,13 +7520,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7510
7520
|
for (const r of e.childNodes) t += vt(r);
|
|
7511
7521
|
return t;
|
|
7512
7522
|
}
|
|
7513
|
-
function
|
|
7514
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
7515
|
-
return
|
|
7523
|
+
function ld(e) {
|
|
7524
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = sd(e);
|
|
7525
|
+
return Hu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : la(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ua(e)}</${t}>`;
|
|
7516
7526
|
}
|
|
7517
7527
|
function da(e, t) {
|
|
7518
7528
|
for (const a of [...e.childNodes]) a.remove();
|
|
7519
|
-
let r = t.find((a) =>
|
|
7529
|
+
let r = t.find((a) => Ku(a)), n = t.find((a) => Ju(a)), i = e;
|
|
7520
7530
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
7521
7531
|
for (const a of t) {
|
|
7522
7532
|
if (i === e && Qt(a)) {
|
|
@@ -7541,13 +7551,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7541
7551
|
}
|
|
7542
7552
|
e.is = t;
|
|
7543
7553
|
})(fa || (fa = {}));
|
|
7544
|
-
var
|
|
7554
|
+
var ki;
|
|
7545
7555
|
(function(e) {
|
|
7546
7556
|
function t(r) {
|
|
7547
7557
|
return typeof r == "string";
|
|
7548
7558
|
}
|
|
7549
7559
|
e.is = t;
|
|
7550
|
-
})(
|
|
7560
|
+
})(ki || (ki = {}));
|
|
7551
7561
|
var ha;
|
|
7552
7562
|
(function(e) {
|
|
7553
7563
|
e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
|
|
@@ -7631,7 +7641,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7631
7641
|
}
|
|
7632
7642
|
e.is = r;
|
|
7633
7643
|
})(ma || (ma = {}));
|
|
7634
|
-
var
|
|
7644
|
+
var Ti;
|
|
7635
7645
|
(function(e) {
|
|
7636
7646
|
function t(n, i, a, s) {
|
|
7637
7647
|
return {
|
|
@@ -7647,7 +7657,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7647
7657
|
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
7658
|
}
|
|
7649
7659
|
e.is = r;
|
|
7650
|
-
})(
|
|
7660
|
+
})(Ti || (Ti = {}));
|
|
7651
7661
|
var ga;
|
|
7652
7662
|
(function(e) {
|
|
7653
7663
|
function t(n, i) {
|
|
@@ -7659,7 +7669,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7659
7669
|
e.create = t;
|
|
7660
7670
|
function r(n) {
|
|
7661
7671
|
const i = n;
|
|
7662
|
-
return j.objectLiteral(i) && _e.is(i.range) &&
|
|
7672
|
+
return j.objectLiteral(i) && _e.is(i.range) && Ti.is(i.color);
|
|
7663
7673
|
}
|
|
7664
7674
|
e.is = r;
|
|
7665
7675
|
})(ga || (ga = {}));
|
|
@@ -7699,7 +7709,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7699
7709
|
}
|
|
7700
7710
|
e.is = r;
|
|
7701
7711
|
})(_a || (_a = {}));
|
|
7702
|
-
var
|
|
7712
|
+
var Oi;
|
|
7703
7713
|
(function(e) {
|
|
7704
7714
|
function t(n, i) {
|
|
7705
7715
|
return {
|
|
@@ -7713,7 +7723,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7713
7723
|
return j.defined(i) && $r.is(i.location) && j.string(i.message);
|
|
7714
7724
|
}
|
|
7715
7725
|
e.is = r;
|
|
7716
|
-
})(
|
|
7726
|
+
})(Oi || (Oi = {}));
|
|
7717
7727
|
var ya;
|
|
7718
7728
|
(function(e) {
|
|
7719
7729
|
e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
|
|
@@ -7743,7 +7753,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7743
7753
|
function r(a) {
|
|
7744
7754
|
var s;
|
|
7745
7755
|
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,
|
|
7756
|
+
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
7757
|
}
|
|
7748
7758
|
e.is = r;
|
|
7749
7759
|
function n(a) {
|
|
@@ -7861,7 +7871,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7861
7871
|
}
|
|
7862
7872
|
e.is = i;
|
|
7863
7873
|
})(xa || (xa = {}));
|
|
7864
|
-
var
|
|
7874
|
+
var Pi;
|
|
7865
7875
|
(function(e) {
|
|
7866
7876
|
function t(n, i) {
|
|
7867
7877
|
return {
|
|
@@ -7872,11 +7882,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7872
7882
|
e.create = t;
|
|
7873
7883
|
function r(n) {
|
|
7874
7884
|
const i = n;
|
|
7875
|
-
return j.defined(i) &&
|
|
7885
|
+
return j.defined(i) && ji.is(i.textDocument) && Array.isArray(i.edits);
|
|
7876
7886
|
}
|
|
7877
7887
|
e.is = r;
|
|
7878
|
-
})(
|
|
7879
|
-
var
|
|
7888
|
+
})(Pi || (Pi = {}));
|
|
7889
|
+
var Ri;
|
|
7880
7890
|
(function(e) {
|
|
7881
7891
|
function t(n, i, a) {
|
|
7882
7892
|
const s = {
|
|
@@ -7891,8 +7901,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7891
7901
|
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
7902
|
}
|
|
7893
7903
|
e.is = r;
|
|
7894
|
-
})(
|
|
7895
|
-
var
|
|
7904
|
+
})(Ri || (Ri = {}));
|
|
7905
|
+
var Ni;
|
|
7896
7906
|
(function(e) {
|
|
7897
7907
|
function t(n, i, a, s) {
|
|
7898
7908
|
const l = {
|
|
@@ -7908,8 +7918,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7908
7918
|
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
7919
|
}
|
|
7910
7920
|
e.is = r;
|
|
7911
|
-
})(
|
|
7912
|
-
var
|
|
7921
|
+
})(Ni || (Ni = {}));
|
|
7922
|
+
var Mi;
|
|
7913
7923
|
(function(e) {
|
|
7914
7924
|
function t(n, i, a) {
|
|
7915
7925
|
const s = {
|
|
@@ -7924,20 +7934,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7924
7934
|
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
7935
|
}
|
|
7926
7936
|
e.is = r;
|
|
7927
|
-
})(
|
|
7928
|
-
var
|
|
7937
|
+
})(Mi || (Mi = {}));
|
|
7938
|
+
var Ii;
|
|
7929
7939
|
(function(e) {
|
|
7930
7940
|
function t(r) {
|
|
7931
7941
|
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) ?
|
|
7942
|
+
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
7943
|
}
|
|
7934
7944
|
e.is = t;
|
|
7935
|
-
})(
|
|
7945
|
+
})(Ii || (Ii = {}));
|
|
7936
7946
|
var Sa;
|
|
7937
7947
|
(function(e) {
|
|
7938
7948
|
function t(r) {
|
|
7939
7949
|
const n = r;
|
|
7940
|
-
return j.objectLiteral(n) && _e.is(n.range) &&
|
|
7950
|
+
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
7951
|
}
|
|
7942
7952
|
e.is = t;
|
|
7943
7953
|
})(Sa || (Sa = {}));
|
|
@@ -7968,7 +7978,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7968
7978
|
}
|
|
7969
7979
|
e.is = r;
|
|
7970
7980
|
})(Ca || (Ca = {}));
|
|
7971
|
-
var
|
|
7981
|
+
var ji;
|
|
7972
7982
|
(function(e) {
|
|
7973
7983
|
function t(n, i) {
|
|
7974
7984
|
return {
|
|
@@ -7982,7 +7992,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7982
7992
|
return j.defined(i) && j.string(i.uri) && (i.version === null || j.integer(i.version));
|
|
7983
7993
|
}
|
|
7984
7994
|
e.is = r;
|
|
7985
|
-
})(
|
|
7995
|
+
})(ji || (ji = {}));
|
|
7986
7996
|
var ka;
|
|
7987
7997
|
(function(e) {
|
|
7988
7998
|
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 +8223,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8213
8223
|
}
|
|
8214
8224
|
e.is = r;
|
|
8215
8225
|
})(Za || (Za = {}));
|
|
8216
|
-
var
|
|
8226
|
+
var Di;
|
|
8217
8227
|
(function(e) {
|
|
8218
8228
|
e.LLMGenerated = 1;
|
|
8219
8229
|
function t(r) {
|
|
8220
8230
|
return j.defined(r) && r === e.LLMGenerated;
|
|
8221
8231
|
}
|
|
8222
8232
|
e.is = t;
|
|
8223
|
-
})(
|
|
8233
|
+
})(Di || (Di = {}));
|
|
8224
8234
|
var Ya;
|
|
8225
8235
|
(function(e) {
|
|
8226
8236
|
function t(n, i, a) {
|
|
@@ -8231,7 +8241,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8231
8241
|
e.create = t;
|
|
8232
8242
|
function r(n) {
|
|
8233
8243
|
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 ||
|
|
8244
|
+
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
8245
|
}
|
|
8236
8246
|
e.is = r;
|
|
8237
8247
|
})(Ya || (Ya = {}));
|
|
@@ -8371,15 +8381,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8371
8381
|
}
|
|
8372
8382
|
e.is = r;
|
|
8373
8383
|
})(so || (so = {}));
|
|
8374
|
-
var
|
|
8384
|
+
var Li;
|
|
8375
8385
|
(function(e) {
|
|
8376
8386
|
e.Type = 1, e.Parameter = 2;
|
|
8377
8387
|
function t(r) {
|
|
8378
8388
|
return r === 1 || r === 2;
|
|
8379
8389
|
}
|
|
8380
8390
|
e.is = t;
|
|
8381
|
-
})(
|
|
8382
|
-
var
|
|
8391
|
+
})(Li || (Li = {}));
|
|
8392
|
+
var Fi;
|
|
8383
8393
|
(function(e) {
|
|
8384
8394
|
function t(n) {
|
|
8385
8395
|
return { value: n };
|
|
@@ -8390,7 +8400,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8390
8400
|
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
8401
|
}
|
|
8392
8402
|
e.is = r;
|
|
8393
|
-
})(
|
|
8403
|
+
})(Fi || (Fi = {}));
|
|
8394
8404
|
var lo;
|
|
8395
8405
|
(function(e) {
|
|
8396
8406
|
function t(n, i, a) {
|
|
@@ -8403,11 +8413,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8403
8413
|
e.create = t;
|
|
8404
8414
|
function r(n) {
|
|
8405
8415
|
const i = n;
|
|
8406
|
-
return j.objectLiteral(i) && qe.is(i.position) && (j.string(i.label) || j.typedArray(i.label,
|
|
8416
|
+
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
8417
|
}
|
|
8408
8418
|
e.is = r;
|
|
8409
8419
|
})(lo || (lo = {}));
|
|
8410
|
-
var
|
|
8420
|
+
var Ui;
|
|
8411
8421
|
(function(e) {
|
|
8412
8422
|
function t(n) {
|
|
8413
8423
|
return {
|
|
@@ -8421,7 +8431,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8421
8431
|
return j.objectLiteral(i) && i.kind === "snippet" && j.string(i.value);
|
|
8422
8432
|
}
|
|
8423
8433
|
e.isSnippet = r;
|
|
8424
|
-
})(
|
|
8434
|
+
})(Ui || (Ui = {}));
|
|
8425
8435
|
var co;
|
|
8426
8436
|
(function(e) {
|
|
8427
8437
|
function t(r, n, i, a) {
|
|
@@ -8469,14 +8479,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8469
8479
|
(function(e) {
|
|
8470
8480
|
function t(r) {
|
|
8471
8481
|
const n = r;
|
|
8472
|
-
return j.objectLiteral(n) &&
|
|
8482
|
+
return j.objectLiteral(n) && ki.is(n.uri) && j.string(n.name);
|
|
8473
8483
|
}
|
|
8474
8484
|
e.is = t;
|
|
8475
8485
|
})(mo || (mo = {}));
|
|
8476
8486
|
var go;
|
|
8477
8487
|
(function(e) {
|
|
8478
8488
|
function t(a, s, l, u) {
|
|
8479
|
-
return new
|
|
8489
|
+
return new cd(a, s, l, u);
|
|
8480
8490
|
}
|
|
8481
8491
|
e.create = t;
|
|
8482
8492
|
function r(a) {
|
|
@@ -8511,7 +8521,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8511
8521
|
return a;
|
|
8512
8522
|
}
|
|
8513
8523
|
})(go || (go = {}));
|
|
8514
|
-
var
|
|
8524
|
+
var cd = class {
|
|
8515
8525
|
constructor(e, t, r, n) {
|
|
8516
8526
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
8517
8527
|
}
|
|
@@ -8711,7 +8721,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8711
8721
|
}
|
|
8712
8722
|
e.update = r;
|
|
8713
8723
|
function n(i, a) {
|
|
8714
|
-
const s = i.getText(), l =
|
|
8724
|
+
const s = i.getText(), l = zi(a.map(ud), (b, E) => {
|
|
8715
8725
|
const p = b.range.start.line - E.range.start.line;
|
|
8716
8726
|
return p === 0 ? b.range.start.character - E.range.start.character : p;
|
|
8717
8727
|
});
|
|
@@ -8726,10 +8736,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8726
8736
|
}
|
|
8727
8737
|
e.applyEdits = n;
|
|
8728
8738
|
})(bo || (bo = {}));
|
|
8729
|
-
function
|
|
8739
|
+
function zi(e, t) {
|
|
8730
8740
|
if (e.length <= 1) return e;
|
|
8731
8741
|
const r = e.length / 2 | 0, n = e.slice(0, r), i = e.slice(r);
|
|
8732
|
-
|
|
8742
|
+
zi(n, t), zi(i, t);
|
|
8733
8743
|
let a = 0, s = 0, l = 0;
|
|
8734
8744
|
for (; a < n.length && s < i.length;) t(n[a], i[s]) <= 0 ? e[l++] = n[a++] : e[l++] = i[s++];
|
|
8735
8745
|
for (; a < n.length;) e[l++] = n[a++];
|
|
@@ -8754,7 +8764,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8754
8764
|
end: t
|
|
8755
8765
|
} : e;
|
|
8756
8766
|
}
|
|
8757
|
-
function
|
|
8767
|
+
function ud(e) {
|
|
8758
8768
|
const t = wo(e.range);
|
|
8759
8769
|
return t !== e.range ? {
|
|
8760
8770
|
newText: e.newText,
|
|
@@ -8782,7 +8792,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8782
8792
|
})(So || (So = {}));
|
|
8783
8793
|
var Pe = (function(e) {
|
|
8784
8794
|
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
|
-
})({}),
|
|
8795
|
+
})({}), dd = class {
|
|
8786
8796
|
source;
|
|
8787
8797
|
len;
|
|
8788
8798
|
position;
|
|
@@ -8850,19 +8860,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8850
8860
|
return this.goToEnd(), !1;
|
|
8851
8861
|
}
|
|
8852
8862
|
skipWhitespace() {
|
|
8853
|
-
return this.advanceWhileChar((e) => e ===
|
|
8863
|
+
return this.advanceWhileChar((e) => e === bd || e === _d || e === md || e === vd || e === gd) > 0;
|
|
8854
8864
|
}
|
|
8855
8865
|
advanceWhileChar(e) {
|
|
8856
8866
|
const t = this.position;
|
|
8857
8867
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
8858
8868
|
return this.position - t;
|
|
8859
8869
|
}
|
|
8860
|
-
}, Ao = 33, yt = 45, Zr = 60, Qe = 62,
|
|
8870
|
+
}, Ao = 33, yt = 45, Zr = 60, Qe = 62, Bi = 47, pd = 61, fd = 34, hd = 39, md = 10, gd = 13, vd = 12, bd = 32, _d = 9, yd = {
|
|
8861
8871
|
"text/x-handlebars-template": !0,
|
|
8862
8872
|
"text/html": !0
|
|
8863
8873
|
};
|
|
8864
|
-
function
|
|
8865
|
-
const i = new
|
|
8874
|
+
function wd(e, t = 0, r = re.WithinContent, n = !1) {
|
|
8875
|
+
const i = new dd(e, t);
|
|
8866
8876
|
let a = r, s = 0, l = 18, u, m, b, E, p;
|
|
8867
8877
|
function c() {
|
|
8868
8878
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8902,7 +8912,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8902
8912
|
])) return a = re.WithinComment, w(_, 0);
|
|
8903
8913
|
if (i.advanceIfRegExp(/^!doctype/i)) return a = re.WithinDoctype, w(_, 13);
|
|
8904
8914
|
}
|
|
8905
|
-
return i.advanceIfChar(
|
|
8915
|
+
return i.advanceIfChar(Bi) ? (a = re.AfterOpeningEndTag, w(_, 7)) : (a = re.AfterOpeningStartTag, w(_, 3));
|
|
8906
8916
|
}
|
|
8907
8917
|
return i.advanceUntilChar(Zr), w(_, 16);
|
|
8908
8918
|
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 +8923,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8913
8923
|
C = "Closing bracket expected.";
|
|
8914
8924
|
break;
|
|
8915
8925
|
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(
|
|
8926
|
+
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 && yd[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."));
|
|
8927
|
+
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(pd) ? (a = re.BeforeAttributeValue, w(_, 10)) : (a = re.WithinTag, M());
|
|
8918
8928
|
case re.BeforeAttributeValue:
|
|
8919
8929
|
if (i.skipWhitespace()) return w(_, 17);
|
|
8920
8930
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8921
|
-
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) ===
|
|
8931
|
+
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
8932
|
const f = i.peekChar();
|
|
8923
|
-
return f ===
|
|
8933
|
+
return f === hd || f === fd ? (i.advance(1), i.advanceUntilChar(f) && i.advance(1), E === "type" && (p = i.getSource().substring(_ + 1, i.pos() - 1)), a = re.WithinTag, m = !1, w(_, 12)) : (a = re.WithinTag, m = !1, M());
|
|
8924
8934
|
case re.WithinScriptContent:
|
|
8925
8935
|
let y = 1;
|
|
8926
8936
|
for (; !i.eos();) {
|
|
@@ -8951,7 +8961,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8951
8961
|
getTokenError: () => u
|
|
8952
8962
|
};
|
|
8953
8963
|
}
|
|
8954
|
-
function
|
|
8964
|
+
function Ed(e) {
|
|
8955
8965
|
if (typeof e == "string") {
|
|
8956
8966
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8957
8967
|
return e.substring(t, r);
|
|
@@ -9001,7 +9011,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9001
9011
|
this.dataManager = e;
|
|
9002
9012
|
}
|
|
9003
9013
|
parse(e, t = []) {
|
|
9004
|
-
const r =
|
|
9014
|
+
const r = wd(e, void 0, void 0, !0), n = new Ke(0, e.length, [], void 0);
|
|
9005
9015
|
n.type = ke.ROOT;
|
|
9006
9016
|
let i = n, a = -1, s, l = null, u = r.scan();
|
|
9007
9017
|
const m = () => {
|
|
@@ -9099,7 +9109,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9099
9109
|
}
|
|
9100
9110
|
case Pe.AttributeValue: {
|
|
9101
9111
|
const _ = r.getTokenText(), C = i.attributes;
|
|
9102
|
-
C && l && (C[l] =
|
|
9112
|
+
C && l && (C[l] = Ed(_), l = null);
|
|
9103
9113
|
break;
|
|
9104
9114
|
}
|
|
9105
9115
|
}
|
|
@@ -9138,7 +9148,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9138
9148
|
"wbr",
|
|
9139
9149
|
"vk-snippet-end"
|
|
9140
9150
|
]));
|
|
9141
|
-
var
|
|
9151
|
+
var xd = new ko(new pa([
|
|
9142
9152
|
"area",
|
|
9143
9153
|
"base",
|
|
9144
9154
|
"br",
|
|
@@ -9154,16 +9164,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9154
9164
|
"wbr",
|
|
9155
9165
|
"vk-snippet-end"
|
|
9156
9166
|
]));
|
|
9157
|
-
function
|
|
9158
|
-
return
|
|
9167
|
+
function Sd(e) {
|
|
9168
|
+
return xd.parse(e);
|
|
9159
9169
|
}
|
|
9160
|
-
function
|
|
9170
|
+
function Ad(e) {
|
|
9161
9171
|
if (e) {
|
|
9162
9172
|
const t = document.createElement("div");
|
|
9163
9173
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
9164
9174
|
} else return document.createTextNode("");
|
|
9165
9175
|
}
|
|
9166
|
-
function
|
|
9176
|
+
function Cd(e) {
|
|
9167
9177
|
let t;
|
|
9168
9178
|
switch (e?.toLowerCase()) {
|
|
9169
9179
|
case "tr":
|
|
@@ -9186,7 +9196,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9186
9196
|
}
|
|
9187
9197
|
return t;
|
|
9188
9198
|
}
|
|
9189
|
-
var
|
|
9199
|
+
var kd = new Set([
|
|
9190
9200
|
"onclick",
|
|
9191
9201
|
"onload",
|
|
9192
9202
|
"onchange",
|
|
@@ -9194,15 +9204,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9194
9204
|
"onmouseover",
|
|
9195
9205
|
"onkeydown",
|
|
9196
9206
|
"onerror"
|
|
9197
|
-
]),
|
|
9207
|
+
]), Td = new Set([
|
|
9198
9208
|
"script",
|
|
9199
9209
|
"style",
|
|
9200
9210
|
"xmp"
|
|
9201
9211
|
]);
|
|
9202
|
-
function
|
|
9203
|
-
return !(t &&
|
|
9212
|
+
function Od(e, t) {
|
|
9213
|
+
return !(t && Td.has(t.toLowerCase()) || kd.has(e.toLowerCase()));
|
|
9204
9214
|
}
|
|
9205
|
-
var
|
|
9215
|
+
var Pd = (e) => {
|
|
9206
9216
|
let t = e.indexOf("&");
|
|
9207
9217
|
for (; t !== -1;) {
|
|
9208
9218
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -9213,7 +9223,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9213
9223
|
function To(e, t, r) {
|
|
9214
9224
|
let n = e.tagName.toLowerCase();
|
|
9215
9225
|
n === "html" && (n = "div");
|
|
9216
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
9226
|
+
const i = `<${n} ${t}="${r}"/>`, a = Cd(n);
|
|
9217
9227
|
if (a instanceof Document) return;
|
|
9218
9228
|
a.innerHTML = i;
|
|
9219
9229
|
const s = a.querySelector(n);
|
|
@@ -9223,18 +9233,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9223
9233
|
}
|
|
9224
9234
|
function wt(e, t, r) {
|
|
9225
9235
|
try {
|
|
9226
|
-
|
|
9236
|
+
Od(t, e.tagName) && !Pd(r) ? e.setAttribute(t, r) : To(e, t, r);
|
|
9227
9237
|
} catch {
|
|
9228
9238
|
To(e, t, r);
|
|
9229
9239
|
}
|
|
9230
9240
|
}
|
|
9231
|
-
function
|
|
9241
|
+
function qi(e, t = !0) {
|
|
9232
9242
|
const r = e.content;
|
|
9233
9243
|
switch (e.type) {
|
|
9234
9244
|
case ke.ROOT: {
|
|
9235
9245
|
const n = document.implementation.createHTMLDocument();
|
|
9236
9246
|
for (const i of [...n.childNodes]) n.removeChild(i);
|
|
9237
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9247
|
+
if (t) for (const i of e.children) n.appendChild(qi(i));
|
|
9238
9248
|
return n;
|
|
9239
9249
|
}
|
|
9240
9250
|
case ke.DOCTYPE: return new DOMParser().parseFromString(`<!DOCTYPE${e.content}>`, "text/html").doctype;
|
|
@@ -9252,32 +9262,32 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9252
9262
|
wt(n, i, typeof a == "string" ? a : "");
|
|
9253
9263
|
} catch {}
|
|
9254
9264
|
}
|
|
9255
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9265
|
+
if (t) for (const i of e.children) n.appendChild(qi(i));
|
|
9256
9266
|
return n;
|
|
9257
9267
|
}
|
|
9258
9268
|
return document.createTextNode("<");
|
|
9259
|
-
case ke.HTML: return
|
|
9269
|
+
case ke.HTML: return Ad(r || "");
|
|
9260
9270
|
default: throw new Error("unsupported node");
|
|
9261
9271
|
}
|
|
9262
9272
|
}
|
|
9263
|
-
function
|
|
9264
|
-
return
|
|
9273
|
+
function Hi(e) {
|
|
9274
|
+
return Sd(e).roots.map((t) => qi(t));
|
|
9265
9275
|
}
|
|
9266
9276
|
var Oo = Symbol("Error");
|
|
9267
9277
|
function Vt(e) {
|
|
9268
9278
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Oo) : t)).then((t) => t.filter((r) => r !== Oo));
|
|
9269
9279
|
}
|
|
9270
|
-
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
9280
|
+
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), Rd = new Set([
|
|
9271
9281
|
"https:",
|
|
9272
9282
|
"http:",
|
|
9273
9283
|
"file:"
|
|
9274
|
-
]),
|
|
9284
|
+
]), Nd = (e) => {
|
|
9275
9285
|
const t = e.indexOf(":");
|
|
9276
9286
|
if (t <= 0) return !1;
|
|
9277
9287
|
const r = e.substring(0, t + 1);
|
|
9278
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !
|
|
9288
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !Rd.has(r) : !1;
|
|
9279
9289
|
};
|
|
9280
|
-
function
|
|
9290
|
+
function Md(e, t) {
|
|
9281
9291
|
if (t = {
|
|
9282
9292
|
defaultProtocol: "http",
|
|
9283
9293
|
normalizeProtocol: !0,
|
|
@@ -9295,7 +9305,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9295
9305
|
sortQueryParameters: !0,
|
|
9296
9306
|
...t
|
|
9297
9307
|
}, !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) ||
|
|
9308
|
+
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Nd(e)) return e;
|
|
9299
9309
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
9300
9310
|
let i;
|
|
9301
9311
|
try {
|
|
@@ -9345,22 +9355,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9345
9355
|
function Ro(e) {
|
|
9346
9356
|
if (!e) return !1;
|
|
9347
9357
|
const t = e[0];
|
|
9348
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
9358
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Id(t);
|
|
9349
9359
|
}
|
|
9350
|
-
function
|
|
9360
|
+
function Id(e) {
|
|
9351
9361
|
const t = e.charCodeAt(0);
|
|
9352
9362
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
9353
9363
|
}
|
|
9354
|
-
function
|
|
9364
|
+
function jd(e) {
|
|
9355
9365
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
9356
9366
|
}
|
|
9357
9367
|
function dt(e) {
|
|
9358
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) ||
|
|
9368
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) || jd(e)) return e;
|
|
9359
9369
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
9360
9370
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
9361
9371
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
9362
9372
|
}
|
|
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,
|
|
9373
|
+
var Et = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi, Dd = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, xt = /<style\b[^>]*>[\s\S]*?<\/style>/gi, No = /display:\s*none\s*!important/gi, Ld = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Fd = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Ud = /height\s*:\s*100%\s*!important/i, zd = [
|
|
9364
9374
|
".socialshare,",
|
|
9365
9375
|
".advertisment,",
|
|
9366
9376
|
".adHolder,",
|
|
@@ -9377,57 +9387,57 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9377
9387
|
"#advblock",
|
|
9378
9388
|
"body { overflow: visible!important; }"
|
|
9379
9389
|
];
|
|
9380
|
-
function
|
|
9390
|
+
function Bd(e) {
|
|
9381
9391
|
return No.lastIndex = 0, (e.match(No) || []).length;
|
|
9382
9392
|
}
|
|
9383
9393
|
function Mo(e) {
|
|
9384
|
-
const t = e.trim(), r =
|
|
9394
|
+
const t = e.trim(), r = Bd(t);
|
|
9385
9395
|
if (r === 0) return !1;
|
|
9386
9396
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
9387
|
-
const n =
|
|
9397
|
+
const n = zd.filter((i) => t.includes(i)).length;
|
|
9388
9398
|
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
9399
|
}
|
|
9390
|
-
function
|
|
9400
|
+
function qd(e) {
|
|
9391
9401
|
xt.lastIndex = 0;
|
|
9392
9402
|
for (const t of e.matchAll(xt)) if (Mo(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
9393
9403
|
return !1;
|
|
9394
9404
|
}
|
|
9395
|
-
function
|
|
9405
|
+
function Hd(e) {
|
|
9396
9406
|
let t = !1;
|
|
9397
9407
|
return xt.lastIndex = 0, {
|
|
9398
9408
|
html: e.replace(xt, (r) => Mo(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
9399
9409
|
found: t
|
|
9400
9410
|
};
|
|
9401
9411
|
}
|
|
9402
|
-
function
|
|
9403
|
-
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
9412
|
+
function $d(e) {
|
|
9413
|
+
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || qd(e);
|
|
9404
9414
|
}
|
|
9405
9415
|
function Io(e) {
|
|
9406
|
-
if (
|
|
9416
|
+
if (!$d(e)) return {
|
|
9407
9417
|
html: e,
|
|
9408
9418
|
found: !1
|
|
9409
9419
|
};
|
|
9410
9420
|
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 =
|
|
9421
|
+
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Dd, ""), t = !0);
|
|
9422
|
+
const n = Hd(r);
|
|
9413
9423
|
return r = n.html, t = t || n.found, {
|
|
9414
9424
|
html: r,
|
|
9415
9425
|
found: t
|
|
9416
9426
|
};
|
|
9417
9427
|
}
|
|
9418
|
-
function
|
|
9419
|
-
return !e || !
|
|
9428
|
+
function Wd(e) {
|
|
9429
|
+
return !e || !Ud.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Ld, (r, n, i, a) => `${n}${i.replace(Fd, "")}${a}`)));
|
|
9420
9430
|
}
|
|
9421
|
-
function
|
|
9431
|
+
function Qd(e) {
|
|
9422
9432
|
const t = Io(e.replaceAll(`\r
|
|
9423
9433
|
`, `
|
|
9424
9434
|
`));
|
|
9425
9435
|
return {
|
|
9426
|
-
html:
|
|
9436
|
+
html: Wd(t.html),
|
|
9427
9437
|
hasBrowserExtensionArtifacts: t.found
|
|
9428
9438
|
};
|
|
9429
9439
|
}
|
|
9430
|
-
var
|
|
9440
|
+
var Gd = Z.__commonJSMin(((e, t) => {
|
|
9431
9441
|
(function(r, n) {
|
|
9432
9442
|
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
9443
|
})(e, (function(r) {
|
|
@@ -10345,33 +10355,33 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10345
10355
|
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
10356
|
}));
|
|
10347
10357
|
}))(), St = 0, At = new Array(1e3);
|
|
10348
|
-
function
|
|
10358
|
+
function Zd() {
|
|
10349
10359
|
for (let e = 0; e < St; e += 2) {
|
|
10350
10360
|
const t = At[e], r = At[e + 1];
|
|
10351
10361
|
t(...r), At[e] = void 0, At[e + 1] = void 0;
|
|
10352
10362
|
}
|
|
10353
10363
|
St = 0;
|
|
10354
10364
|
}
|
|
10355
|
-
function
|
|
10356
|
-
At[St] = e, At[St + 1] = t, St += 2, St === 2 &&
|
|
10365
|
+
function Yd(e, ...t) {
|
|
10366
|
+
At[St] = e, At[St + 1] = t, St += 2, St === 2 && Xd();
|
|
10357
10367
|
}
|
|
10358
|
-
function
|
|
10368
|
+
function Jd() {
|
|
10359
10369
|
let e = 0;
|
|
10360
|
-
const t = new MutationObserver(
|
|
10370
|
+
const t = new MutationObserver(Zd), r = document.createTextNode("");
|
|
10361
10371
|
return t.observe(r, { characterData: !0 }), () => {
|
|
10362
10372
|
r.data = String(e = ++e % 2);
|
|
10363
10373
|
};
|
|
10364
10374
|
}
|
|
10365
|
-
var
|
|
10375
|
+
var Xd = Jd();
|
|
10366
10376
|
function jo() {
|
|
10367
|
-
|
|
10368
|
-
|
|
10377
|
+
Yd(() => {
|
|
10378
|
+
$i.hasListeners() && ($i.fire(), jo());
|
|
10369
10379
|
});
|
|
10370
10380
|
}
|
|
10371
|
-
var
|
|
10381
|
+
var $i = new O.Emitter({ onFirstListenerAdd: jo }), Wi = $i.once, Kd = class extends O.Emitter {
|
|
10372
10382
|
_mutationSummary;
|
|
10373
10383
|
constructor(e = {}) {
|
|
10374
|
-
super(), this._mutationSummary = new
|
|
10384
|
+
super(), this._mutationSummary = new Gd.MutationSummary({
|
|
10375
10385
|
...e,
|
|
10376
10386
|
observeOwnChanges: !0,
|
|
10377
10387
|
callback: (t) => this.fire(t),
|
|
@@ -10385,7 +10395,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10385
10395
|
const t = this._mutationSummary.takeSummaries();
|
|
10386
10396
|
return (e || t?.length) && this.fire(t || []), t;
|
|
10387
10397
|
}
|
|
10388
|
-
},
|
|
10398
|
+
}, ep = class extends O.Disposable {
|
|
10389
10399
|
_mutationEmitter;
|
|
10390
10400
|
_innerEmitter = this.addDisposable(new O.Emitter({ onFirstListenerAdd: () => {
|
|
10391
10401
|
this._nextTickHandler();
|
|
@@ -10395,13 +10405,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10395
10405
|
_stopped = 0;
|
|
10396
10406
|
_summaries = [];
|
|
10397
10407
|
_nextTickHandler() {
|
|
10398
|
-
|
|
10408
|
+
Wi(() => {
|
|
10399
10409
|
this.trigger(), this._summaries.length && (this._innerEmitter.hasListeners() ? this._innerEmitter.fire(this._summaries) : this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10400
10410
|
}, Number.MAX_VALUE);
|
|
10401
10411
|
}
|
|
10402
10412
|
constructor(e = {}) {
|
|
10403
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
10404
|
-
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t),
|
|
10413
|
+
super(), this._mutationEmitter = this.addDisposable(new Kd(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
10414
|
+
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Wi(() => {
|
|
10405
10415
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10406
10416
|
}, Number.MAX_VALUE)));
|
|
10407
10417
|
}));
|
|
@@ -10428,7 +10438,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10428
10438
|
onLost = this._lostEmitter.event;
|
|
10429
10439
|
onNativeMutate;
|
|
10430
10440
|
};
|
|
10431
|
-
function
|
|
10441
|
+
function tp(e) {
|
|
10432
10442
|
for (const t of e) {
|
|
10433
10443
|
if (t.removed) for (const r of t.removed) {
|
|
10434
10444
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -10449,21 +10459,21 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10449
10459
|
const i = t.getOldAttribute(n, r);
|
|
10450
10460
|
i == null ? n.removeAttribute(r) : n.setAttribute(r, i);
|
|
10451
10461
|
}
|
|
10452
|
-
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) ||
|
|
10462
|
+
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) || Ci(r) || Ci(r)) && (r.data = t.getOldCharacterData(r));
|
|
10453
10463
|
}
|
|
10454
10464
|
}
|
|
10455
|
-
var
|
|
10465
|
+
var rp = class extends O.Disposable {
|
|
10456
10466
|
_commitPromise;
|
|
10457
10467
|
_mutationCollector;
|
|
10458
10468
|
_onLostSummaries = (e) => {
|
|
10459
10469
|
try {
|
|
10460
|
-
this._mutationCollector.stop(),
|
|
10470
|
+
this._mutationCollector.stop(), tp(e);
|
|
10461
10471
|
} finally {
|
|
10462
10472
|
this._mutationCollector.start();
|
|
10463
10473
|
}
|
|
10464
10474
|
};
|
|
10465
10475
|
constructor(e) {
|
|
10466
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
10476
|
+
super(), this._mutationCollector = this.addDisposable(new ep({
|
|
10467
10477
|
rootNode: e,
|
|
10468
10478
|
oldPreviousSibling: !0
|
|
10469
10479
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -10475,7 +10485,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10475
10485
|
const r = this._mutationCollector.onMutate((n) => {
|
|
10476
10486
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10477
10487
|
});
|
|
10478
|
-
|
|
10488
|
+
Wi(() => {
|
|
10479
10489
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10480
10490
|
});
|
|
10481
10491
|
});
|
|
@@ -10492,7 +10502,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10492
10502
|
return s.html = Io(s.html).html, s;
|
|
10493
10503
|
}, n = new O.AsyncEmitter(), i = new O.AsyncEmitter();
|
|
10494
10504
|
try {
|
|
10495
|
-
const a =
|
|
10505
|
+
const a = Hi(e), s = document.implementation.createHTMLDocument();
|
|
10496
10506
|
return da(s, a), {
|
|
10497
10507
|
document: s,
|
|
10498
10508
|
handleRender: i.event,
|
|
@@ -10501,7 +10511,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10501
10511
|
if (i.hasListeners()) {
|
|
10502
10512
|
const l = document.createElement("iframe");
|
|
10503
10513
|
l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
|
|
10504
|
-
const u = l.contentWindow.document, m = new
|
|
10514
|
+
const u = l.contentWindow.document, m = new rp(l.contentDocument);
|
|
10505
10515
|
let b;
|
|
10506
10516
|
try {
|
|
10507
10517
|
if (t) {
|
|
@@ -10536,8 +10546,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10536
10546
|
throw a;
|
|
10537
10547
|
}
|
|
10538
10548
|
}
|
|
10539
|
-
var
|
|
10540
|
-
function
|
|
10549
|
+
var ip = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
10550
|
+
function np(e) {
|
|
10541
10551
|
return e.arrayBuffer().then((t) => {
|
|
10542
10552
|
const r = new Uint8Array(t);
|
|
10543
10553
|
let n = "";
|
|
@@ -10545,17 +10555,17 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10545
10555
|
return btoa(n);
|
|
10546
10556
|
});
|
|
10547
10557
|
}
|
|
10548
|
-
function
|
|
10558
|
+
function Qi(e, t = 76) {
|
|
10549
10559
|
if (e = e.replace(/[\r\n\s]/g, ""), !e) return e;
|
|
10550
10560
|
const r = [];
|
|
10551
10561
|
for (let n = 0; n < e.length; n += t) r.push(e.slice(n, n + t));
|
|
10552
10562
|
return r.join(`
|
|
10553
10563
|
`);
|
|
10554
10564
|
}
|
|
10555
|
-
function
|
|
10565
|
+
function Yr(e) {
|
|
10556
10566
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
10557
10567
|
}
|
|
10558
|
-
async function
|
|
10568
|
+
async function ap(e, t, r, n, i, a, s) {
|
|
10559
10569
|
const l = [];
|
|
10560
10570
|
a && (a.attachments = l);
|
|
10561
10571
|
let u = "";
|
|
@@ -10595,27 +10605,27 @@ ${E.base64}\r
|
|
|
10595
10605
|
\r
|
|
10596
10606
|
${u}`;
|
|
10597
10607
|
}
|
|
10598
|
-
function
|
|
10608
|
+
function op(e, t = !0) {
|
|
10599
10609
|
const r = Me.decodeFileNameFromPath(e);
|
|
10600
|
-
return t ?
|
|
10610
|
+
return t ? Yr(r) : r;
|
|
10601
10611
|
}
|
|
10602
|
-
function
|
|
10612
|
+
function sp(e) {
|
|
10603
10613
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
10604
10614
|
}
|
|
10605
10615
|
function Lo(e) {
|
|
10606
10616
|
const t = Me.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
10607
|
-
return r === -1 || !
|
|
10617
|
+
return r === -1 || !sp(n) ? [Yr(t), ""] : [Yr(t.slice(0, r)), n];
|
|
10608
10618
|
}
|
|
10609
|
-
function
|
|
10619
|
+
function lp(e) {
|
|
10610
10620
|
return Bo(e).then((t) => qo(t));
|
|
10611
10621
|
}
|
|
10612
10622
|
function Fo(e) {
|
|
10613
10623
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
10614
10624
|
}
|
|
10615
|
-
var Ve = new
|
|
10625
|
+
var Ve = new Bu((e) => {
|
|
10616
10626
|
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
10627
|
});
|
|
10618
|
-
async function
|
|
10628
|
+
async function Jr(e, t, r, n) {
|
|
10619
10629
|
e = Ve.getEscapedText(e);
|
|
10620
10630
|
const i = Do(e, r);
|
|
10621
10631
|
try {
|
|
@@ -10636,7 +10646,7 @@ ${u}`;
|
|
|
10636
10646
|
}
|
|
10637
10647
|
return Ve.getUnescapedText(e, !1, n);
|
|
10638
10648
|
}
|
|
10639
|
-
function
|
|
10649
|
+
function Xr(e, t, r) {
|
|
10640
10650
|
try {
|
|
10641
10651
|
if (typeof r == "function") {
|
|
10642
10652
|
const n = [];
|
|
@@ -10652,13 +10662,13 @@ ${u}`;
|
|
|
10652
10662
|
return Promise.reject(n);
|
|
10653
10663
|
}
|
|
10654
10664
|
}
|
|
10655
|
-
async function
|
|
10665
|
+
async function cp(e, t, r = new Map(), n) {
|
|
10656
10666
|
const i = (E) => {
|
|
10657
10667
|
let p = r.get(E);
|
|
10658
10668
|
return p || (p = t(E), r.set(E, p)), p instanceof Promise ? p : Promise.resolve(p);
|
|
10659
10669
|
};
|
|
10660
10670
|
function a(E) {
|
|
10661
|
-
return
|
|
10671
|
+
return Xr(E, ip, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
|
|
10662
10672
|
}
|
|
10663
10673
|
async function s(E) {
|
|
10664
10674
|
const p = E.getAttribute("style");
|
|
@@ -10680,7 +10690,7 @@ ${u}`;
|
|
|
10680
10690
|
const p = E.getAttribute("background");
|
|
10681
10691
|
if (p && b.push(i(p).then((c) => {
|
|
10682
10692
|
E.setAttribute("background", c || p), n && n();
|
|
10683
|
-
})), sa(E) ||
|
|
10693
|
+
})), sa(E) || Yu(E)) {
|
|
10684
10694
|
const c = E.getAttribute("src"), h = c && Ve.hasDetectedMappings(c, !0, !0) ? c : ("src" in E ? E.src : "") || c;
|
|
10685
10695
|
h && b.push(i(h).then((w) => {
|
|
10686
10696
|
w || (w = h), E.setAttribute("src", w), n && n();
|
|
@@ -10692,19 +10702,19 @@ ${u}`;
|
|
|
10692
10702
|
h !== c && (E.innerHTML = h, n && n());
|
|
10693
10703
|
}));
|
|
10694
10704
|
}
|
|
10695
|
-
} else if (
|
|
10696
|
-
const p =
|
|
10697
|
-
c && b.push(
|
|
10698
|
-
c !== h && (E.replaceWith(
|
|
10705
|
+
} else if (Ci(E)) {
|
|
10706
|
+
const p = ad(E), c = p?.content;
|
|
10707
|
+
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) => {
|
|
10708
|
+
c !== h && (E.replaceWith(Hi(`${p.open}${h}${p.close}`)[0]), n && n());
|
|
10699
10709
|
}));
|
|
10700
10710
|
}
|
|
10701
10711
|
}
|
|
10702
10712
|
return Vt(b);
|
|
10703
10713
|
}
|
|
10704
10714
|
async function Gt(e, t, r = new Map(), n) {
|
|
10705
|
-
await
|
|
10715
|
+
await cp(e, t, r, n);
|
|
10706
10716
|
}
|
|
10707
|
-
function
|
|
10717
|
+
function up(e) {
|
|
10708
10718
|
const t = new Map();
|
|
10709
10719
|
let r = 0;
|
|
10710
10720
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -10713,7 +10723,7 @@ ${u}`;
|
|
|
10713
10723
|
}
|
|
10714
10724
|
return t;
|
|
10715
10725
|
}
|
|
10716
|
-
function
|
|
10726
|
+
function dp(e) {
|
|
10717
10727
|
return !!e && Ve.hasDetectedMappings(e, !0, !0);
|
|
10718
10728
|
}
|
|
10719
10729
|
function Uo(e, t) {
|
|
@@ -10726,7 +10736,7 @@ ${u}`;
|
|
|
10726
10736
|
if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
|
|
10727
10737
|
return u === s ? e : i + (u ? `?${u}` : "") + (n ? `#${n}` : "");
|
|
10728
10738
|
}
|
|
10729
|
-
function
|
|
10739
|
+
function pp(e) {
|
|
10730
10740
|
const t = Ve.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], n = [];
|
|
10731
10741
|
let i = e;
|
|
10732
10742
|
for (const { range: a } of t) {
|
|
@@ -10742,9 +10752,9 @@ ${u}`;
|
|
|
10742
10752
|
restore: (a) => n.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
|
|
10743
10753
|
};
|
|
10744
10754
|
}
|
|
10745
|
-
function
|
|
10755
|
+
function fp(e, t, r, n) {
|
|
10746
10756
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
10747
|
-
const { masked: i, tokens: a, restore: s } =
|
|
10757
|
+
const { masked: i, tokens: a, restore: s } = pp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
|
|
10748
10758
|
if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
|
|
10749
10759
|
const b = Uo(i, r);
|
|
10750
10760
|
if (b === i) return;
|
|
@@ -10753,13 +10763,13 @@ ${u}`;
|
|
|
10753
10763
|
}
|
|
10754
10764
|
function Vi(e, t, r) {
|
|
10755
10765
|
const n = e.getAttribute("href");
|
|
10756
|
-
if (
|
|
10757
|
-
|
|
10766
|
+
if (dp(n)) {
|
|
10767
|
+
fp(e, n, t, r);
|
|
10758
10768
|
return;
|
|
10759
10769
|
}
|
|
10760
10770
|
let i = e.href;
|
|
10761
10771
|
if (i = dt(i), i && e.protocol.startsWith("http")) {
|
|
10762
|
-
const a =
|
|
10772
|
+
const a = up(i);
|
|
10763
10773
|
if (a.forEach((s, l) => {
|
|
10764
10774
|
i = i.replaceAll(l, s);
|
|
10765
10775
|
}), e.host !== document.location.host) {
|
|
@@ -10770,9 +10780,9 @@ ${u}`;
|
|
|
10770
10780
|
}
|
|
10771
10781
|
}
|
|
10772
10782
|
}
|
|
10773
|
-
async function
|
|
10783
|
+
async function hp(e, t, r, n, i) {
|
|
10774
10784
|
let [a, s] = t || [800];
|
|
10775
|
-
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await
|
|
10785
|
+
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Jr(e, async (l) => {
|
|
10776
10786
|
const u = l.document;
|
|
10777
10787
|
await Gt(u, (b) => Ve.getEscapedText(b) !== b ? b : dt(b));
|
|
10778
10788
|
const m = u.querySelectorAll("a");
|
|
@@ -10782,7 +10792,7 @@ ${u}`;
|
|
|
10782
10792
|
}
|
|
10783
10793
|
async function zo(e, t, r, n, i, a) {
|
|
10784
10794
|
let [s, l] = t || [800];
|
|
10785
|
-
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await
|
|
10795
|
+
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await Jr(e, async (u) => {
|
|
10786
10796
|
const m = u.document;
|
|
10787
10797
|
if (await Gt(m, (b) => Ve.getEscapedText(b) !== b ? b : dt(b)), u.handleRender(async ({ contentDocument: b, managedNodeController: E }) => {
|
|
10788
10798
|
const p = b.querySelectorAll("*");
|
|
@@ -10793,7 +10803,7 @@ ${u}`;
|
|
|
10793
10803
|
isNaN(w) || c.setAttribute("height", String(w)), !isNaN(k) && !c.getAttribute("width") && c.setAttribute("width", String(k));
|
|
10794
10804
|
}
|
|
10795
10805
|
E.commit();
|
|
10796
|
-
} else if (
|
|
10806
|
+
} else if (od(c)) {
|
|
10797
10807
|
const h = parseInt(getComputedStyle(c).width);
|
|
10798
10808
|
!isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), E.commit();
|
|
10799
10809
|
} else c.tagName === "TD" || c.tagName === "A" && Vi(c, r, () => E.commit());
|
|
@@ -10813,7 +10823,7 @@ ${u}`;
|
|
|
10813
10823
|
return E.push({
|
|
10814
10824
|
cid: d,
|
|
10815
10825
|
mimeType: C[1] || "application/octet-stream",
|
|
10816
|
-
base64:
|
|
10826
|
+
base64: Qi(C[2])
|
|
10817
10827
|
}), `cid:${d}`;
|
|
10818
10828
|
}
|
|
10819
10829
|
return k;
|
|
@@ -10826,17 +10836,17 @@ ${u}`;
|
|
|
10826
10836
|
return E.push({
|
|
10827
10837
|
cid: d,
|
|
10828
10838
|
mimeType: C[1] || "application/octet-stream",
|
|
10829
|
-
base64:
|
|
10839
|
+
base64: Qi(C[2])
|
|
10830
10840
|
}), `cid:${d}`;
|
|
10831
10841
|
}
|
|
10832
10842
|
return _;
|
|
10833
10843
|
}
|
|
10834
10844
|
try {
|
|
10835
|
-
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await
|
|
10845
|
+
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await np(C);
|
|
10836
10846
|
return E.push({
|
|
10837
10847
|
cid: d,
|
|
10838
10848
|
mimeType: C.type || "application/octet-stream",
|
|
10839
|
-
base64:
|
|
10849
|
+
base64: Qi(f)
|
|
10840
10850
|
}), `cid:${d}`;
|
|
10841
10851
|
} catch {
|
|
10842
10852
|
return _;
|
|
@@ -10849,28 +10859,28 @@ ${u}`;
|
|
|
10849
10859
|
if (n) return n(u);
|
|
10850
10860
|
}, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
10851
10861
|
}
|
|
10852
|
-
var
|
|
10853
|
-
function
|
|
10862
|
+
var mp = "images", gp = 40;
|
|
10863
|
+
function vp() {
|
|
10854
10864
|
const e = new Date();
|
|
10855
10865
|
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
10866
|
}
|
|
10857
|
-
async function
|
|
10867
|
+
async function bp(e, t, r, n = lp, i, a) {
|
|
10858
10868
|
const s = Object.create(null);
|
|
10859
10869
|
let [l, u] = t || [800];
|
|
10860
10870
|
typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
|
|
10861
|
-
const m = new Set(), b = await
|
|
10871
|
+
const m = new Set(), b = await Jr(e, async (E) => {
|
|
10862
10872
|
const p = E.document;
|
|
10863
10873
|
await Gt(p, async (h) => {
|
|
10864
10874
|
Ve.getEscapedText(h) === h && (h = dt(h));
|
|
10865
10875
|
const w = await n(h);
|
|
10866
10876
|
let [k, M] = Lo(h);
|
|
10867
|
-
if (k.length >
|
|
10868
|
-
M =
|
|
10877
|
+
if (k.length > gp && (k = vp()), !M || !bi.getType(M)) try {
|
|
10878
|
+
M = bi.getExtension(w.type);
|
|
10869
10879
|
} catch {}
|
|
10870
10880
|
let _ = `${k}.${M}`, C = 1;
|
|
10871
10881
|
for (; m.has(_);) _ = `${k}(${++C}).${M}`;
|
|
10872
10882
|
m.add(_);
|
|
10873
|
-
const d = `${
|
|
10883
|
+
const d = `${mp}/${_}`;
|
|
10874
10884
|
return s[d] = w, d;
|
|
10875
10885
|
});
|
|
10876
10886
|
const c = p.querySelectorAll("a");
|
|
@@ -10879,7 +10889,7 @@ ${u}`;
|
|
|
10879
10889
|
}, [l, u], a);
|
|
10880
10890
|
return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
|
|
10881
10891
|
}
|
|
10882
|
-
function
|
|
10892
|
+
function _p(e) {
|
|
10883
10893
|
const t = new En.default();
|
|
10884
10894
|
for (const r of Object.keys(e)) {
|
|
10885
10895
|
let n = t;
|
|
@@ -10902,7 +10912,7 @@ ${u}`;
|
|
|
10902
10912
|
const n = document.createElement("canvas");
|
|
10903
10913
|
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
10914
|
}
|
|
10905
|
-
function
|
|
10915
|
+
function yp(e, t) {
|
|
10906
10916
|
do {
|
|
10907
10917
|
if (e === t) return !0;
|
|
10908
10918
|
e = e.parentNode;
|
|
@@ -10911,13 +10921,13 @@ ${u}`;
|
|
|
10911
10921
|
}
|
|
10912
10922
|
function Ho(e) {
|
|
10913
10923
|
const t = e.ownerDocument?.body;
|
|
10914
|
-
if (t &&
|
|
10924
|
+
if (t && yp(e, t)) {
|
|
10915
10925
|
if (et(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10916
10926
|
if (e.nodeName === "#text") return e.textContent;
|
|
10917
10927
|
}
|
|
10918
10928
|
return e.childNodes ? [...e.childNodes].map(Ho).join("") : "";
|
|
10919
10929
|
}
|
|
10920
|
-
function
|
|
10930
|
+
function wp(e) {
|
|
10921
10931
|
const { document: t } = Do(e);
|
|
10922
10932
|
try {
|
|
10923
10933
|
return Ho(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10944,22 +10954,22 @@ ${u}`;
|
|
|
10944
10954
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10945
10955
|
return t;
|
|
10946
10956
|
}
|
|
10947
|
-
function
|
|
10957
|
+
function Ep(e) {
|
|
10948
10958
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10949
10959
|
}
|
|
10950
|
-
function
|
|
10960
|
+
function xp(e) {
|
|
10951
10961
|
const t = Zt(e);
|
|
10952
10962
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10953
10963
|
const r = e.createElement("style");
|
|
10954
10964
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10955
10965
|
}
|
|
10956
10966
|
}
|
|
10957
|
-
function
|
|
10967
|
+
function Sp(e) {
|
|
10958
10968
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10959
10969
|
t && t.remove();
|
|
10960
10970
|
}
|
|
10961
|
-
var
|
|
10962
|
-
function
|
|
10971
|
+
var Kr = "amp-custom";
|
|
10972
|
+
function Ap(e, t) {
|
|
10963
10973
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10964
10974
|
}
|
|
10965
10975
|
function Qo(e, t, r) {
|
|
@@ -10967,7 +10977,7 @@ ${u}`;
|
|
|
10967
10977
|
const i = n.selectorText.split(/\+>~/).flatMap((a) => a.trim().split(" "));
|
|
10968
10978
|
if (i.length === 1 && i[0].trim().startsWith(".em-")) {
|
|
10969
10979
|
for (const a of n.style) if (n.style.getPropertyPriority(a) === "important") {
|
|
10970
|
-
for (const s of e.querySelectorAll(n.selectorText)) if (
|
|
10980
|
+
for (const s of e.querySelectorAll(n.selectorText)) if (Si(s)) {
|
|
10971
10981
|
const l = s.style;
|
|
10972
10982
|
for (const u of [...l]) if (u.startsWith(a)) {
|
|
10973
10983
|
const m = r(u, l.getPropertyValue(u)), b = s.getAttribute("class");
|
|
@@ -10983,7 +10993,7 @@ ${u}`;
|
|
|
10983
10993
|
if (r) {
|
|
10984
10994
|
const a = new Set();
|
|
10985
10995
|
Qo(e, r.cssRules, (s, l) => {
|
|
10986
|
-
const u =
|
|
10996
|
+
const u = Ap(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
|
|
10987
10997
|
return !m.find((E) => Wt.isStyleRule(E) && E.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
|
|
10988
10998
|
.${u} { ${s}: ${l} };
|
|
10989
10999
|
${t.innerHTML}`), u;
|
|
@@ -10995,11 +11005,11 @@ ${t.innerHTML}`);
|
|
|
10995
11005
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
10996
11006
|
n !== i && (t.innerHTML = i);
|
|
10997
11007
|
}
|
|
10998
|
-
function
|
|
11008
|
+
function Cp(e) {
|
|
10999
11009
|
const t = Zt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
11000
11010
|
if (n.length === 1) {
|
|
11001
11011
|
const a = n[0];
|
|
11002
|
-
if (a.parentElement === t && a.getAttribute(
|
|
11012
|
+
if (a.parentElement === t && a.getAttribute(Kr) === "") {
|
|
11003
11013
|
Vo(e, a);
|
|
11004
11014
|
return;
|
|
11005
11015
|
}
|
|
@@ -11010,30 +11020,30 @@ ${t.innerHTML}`);
|
|
|
11010
11020
|
const a = e.createElement("style");
|
|
11011
11021
|
a.innerHTML = `
|
|
11012
11022
|
${i.join("")}
|
|
11013
|
-
`, a.setAttribute(
|
|
11023
|
+
`, a.setAttribute(Kr, ""), t.append(a), Vo(e, a);
|
|
11014
11024
|
}
|
|
11015
11025
|
for (const a of r) a.remove();
|
|
11016
11026
|
}
|
|
11017
|
-
function Ap(e) {
|
|
11018
|
-
const t = e.querySelector(`style[${Xr}]`);
|
|
11019
|
-
t && t.removeAttribute(Xr);
|
|
11020
|
-
}
|
|
11021
|
-
var Cp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", Kr = "<!doctype html>";
|
|
11022
11027
|
function kp(e) {
|
|
11028
|
+
const t = e.querySelector(`style[${Kr}]`);
|
|
11029
|
+
t && t.removeAttribute(Kr);
|
|
11030
|
+
}
|
|
11031
|
+
var Tp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ei = "<!doctype html>";
|
|
11032
|
+
function Op(e) {
|
|
11023
11033
|
const t = e.doctype;
|
|
11024
11034
|
if (t) {
|
|
11025
|
-
if (
|
|
11026
|
-
const r = new DOMParser().parseFromString(
|
|
11035
|
+
if (xi(t) === ei) return;
|
|
11036
|
+
const r = new DOMParser().parseFromString(ei, "text/html").doctype;
|
|
11027
11037
|
e.replaceChild(r, t);
|
|
11028
11038
|
} else {
|
|
11029
|
-
const r = new DOMParser().parseFromString(
|
|
11039
|
+
const r = new DOMParser().parseFromString(ei, "text/html").doctype;
|
|
11030
11040
|
e.insertBefore(r, e.firstChild);
|
|
11031
11041
|
}
|
|
11032
11042
|
}
|
|
11033
|
-
function
|
|
11043
|
+
function Pp(e) {
|
|
11034
11044
|
const t = e.doctype;
|
|
11035
|
-
if (t &&
|
|
11036
|
-
const r = new DOMParser().parseFromString(
|
|
11045
|
+
if (t && xi(t).toLowerCase() === ei) {
|
|
11046
|
+
const r = new DOMParser().parseFromString(Tp, "text/html").doctype;
|
|
11037
11047
|
e.replaceChild(r, t);
|
|
11038
11048
|
}
|
|
11039
11049
|
}
|
|
@@ -11041,8 +11051,8 @@ ${i.join("")}
|
|
|
11041
11051
|
const r = document.createElement("amp-img"), n = await ca(e) || void 0, i = [];
|
|
11042
11052
|
try {
|
|
11043
11053
|
let a = e;
|
|
11044
|
-
for (; a &&
|
|
11045
|
-
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u =
|
|
11054
|
+
for (; a && Si(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
11055
|
+
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = Ep(e);
|
|
11046
11056
|
let m = !1;
|
|
11047
11057
|
if (u) {
|
|
11048
11058
|
const E = u.getAttribute("width");
|
|
@@ -11069,12 +11079,12 @@ ${i.join("")}
|
|
|
11069
11079
|
}
|
|
11070
11080
|
return r;
|
|
11071
11081
|
}
|
|
11072
|
-
function
|
|
11082
|
+
function Rp(e) {
|
|
11073
11083
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Wo(e), a = r === "responsive";
|
|
11074
11084
|
for (const s of Object.keys(i)) wt(t, s, i[s]);
|
|
11075
11085
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
11076
11086
|
}
|
|
11077
|
-
async function
|
|
11087
|
+
async function Np(e, t) {
|
|
11078
11088
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
11079
11089
|
for (const a of r) n.push(Go(a).then((s) => [a, s], () => [a, void 0]));
|
|
11080
11090
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -11088,12 +11098,12 @@ ${i.join("")}
|
|
|
11088
11098
|
t?.();
|
|
11089
11099
|
}
|
|
11090
11100
|
}
|
|
11091
|
-
function
|
|
11101
|
+
function Mp(e, t) {
|
|
11092
11102
|
const r = [...e.querySelectorAll("amp-img")];
|
|
11093
|
-
for (const n of r) n.replaceWith(
|
|
11103
|
+
for (const n of r) n.replaceWith(Rp(n));
|
|
11094
11104
|
r.length && t?.();
|
|
11095
11105
|
}
|
|
11096
|
-
function
|
|
11106
|
+
function Ip(e) {
|
|
11097
11107
|
const t = e.querySelectorAll("meta");
|
|
11098
11108
|
for (const i of t) {
|
|
11099
11109
|
const a = i.getAttribute("charset");
|
|
@@ -11105,37 +11115,37 @@ ${i.join("")}
|
|
|
11105
11115
|
const r = Zt(e), n = e.createElement("meta");
|
|
11106
11116
|
n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
|
|
11107
11117
|
}
|
|
11108
|
-
function
|
|
11118
|
+
function jp(e, t, r) {
|
|
11109
11119
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
11110
11120
|
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
11121
|
}
|
|
11112
|
-
var Gi = "https://cdn.ampproject.org/v0", Zo = `${Gi}.js`,
|
|
11113
|
-
function
|
|
11122
|
+
var Gi = "https://cdn.ampproject.org/v0", Zo = `${Gi}.js`, Dp = `script[src='${Zo}']`;
|
|
11123
|
+
function Lp(e, t) {
|
|
11114
11124
|
return `${Gi}/${e.toLowerCase()}-${t}.js`;
|
|
11115
11125
|
}
|
|
11116
|
-
async function
|
|
11126
|
+
async function Fp(e, t, r) {
|
|
11117
11127
|
for (const { name: n, versions: i } of t) {
|
|
11118
11128
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
11119
11129
|
if (!e.querySelector(a)) {
|
|
11120
|
-
const s = Zt(e), l = r.createElementFn("script"), u =
|
|
11130
|
+
const s = Zt(e), l = r.createElementFn("script"), u = Lp(n, i.findLast((m) => m !== "latest") || "v0");
|
|
11121
11131
|
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
11132
|
`));
|
|
11123
11133
|
}
|
|
11124
11134
|
}
|
|
11125
11135
|
}
|
|
11126
|
-
function
|
|
11136
|
+
function Up(e, t) {
|
|
11127
11137
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
11128
11138
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
11129
11139
|
for (const i of r) Jo(i) && i.tagName !== "FORM" && i.remove();
|
|
11130
11140
|
}
|
|
11131
11141
|
var Yo = void 0;
|
|
11132
|
-
async function
|
|
11142
|
+
async function ti() {
|
|
11133
11143
|
return Yo || (Yo = await Promise.resolve().then(() => mt("./881b2d5e2.js")).then((e) => e.default));
|
|
11134
11144
|
}
|
|
11135
11145
|
var Zi = new Map();
|
|
11136
|
-
async function
|
|
11146
|
+
async function zp() {
|
|
11137
11147
|
if (!Zi.size) {
|
|
11138
|
-
const e = await
|
|
11148
|
+
const e = await ti(), t = e.tags;
|
|
11139
11149
|
for (let r = 0; r < t.length; r++) {
|
|
11140
11150
|
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
11151
|
Zi.set(i, {
|
|
@@ -11148,17 +11158,17 @@ ${i.join("")}
|
|
|
11148
11158
|
return Zi;
|
|
11149
11159
|
}
|
|
11150
11160
|
var Yi = new Map();
|
|
11151
|
-
async function
|
|
11161
|
+
async function Bp() {
|
|
11152
11162
|
if (!Yi.size) {
|
|
11153
|
-
const e = await
|
|
11163
|
+
const e = await ti();
|
|
11154
11164
|
for (const t of e.declarations) Yi.set(t.name, t);
|
|
11155
11165
|
}
|
|
11156
11166
|
return Yi;
|
|
11157
11167
|
}
|
|
11158
|
-
var
|
|
11159
|
-
async function
|
|
11168
|
+
var qp = "$GLOBAL_ATTRS", Ji = new Map();
|
|
11169
|
+
async function Hp() {
|
|
11160
11170
|
if (!Ji.size) {
|
|
11161
|
-
const e = (await
|
|
11171
|
+
const e = (await ti()).attrLists.find((t) => t.name === qp)?.attrs;
|
|
11162
11172
|
if (e) for (const t of e) Ji.set(t.name, t);
|
|
11163
11173
|
}
|
|
11164
11174
|
return Ji;
|
|
@@ -11194,19 +11204,19 @@ ${i.join("")}
|
|
|
11194
11204
|
n() || i();
|
|
11195
11205
|
break;
|
|
11196
11206
|
}
|
|
11197
|
-
else
|
|
11207
|
+
else Ai(e) ? i() : Qt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Qt(e.nextSibling)) && n();
|
|
11198
11208
|
}
|
|
11199
|
-
async function
|
|
11209
|
+
async function $p(e, t) {
|
|
11200
11210
|
const r = new Set(), n = t.commit, i = (c) => t.replaceSelectors(c.toLowerCase());
|
|
11201
|
-
if (t.replaceImages && await
|
|
11202
|
-
const c = t.replaceSelectors(
|
|
11211
|
+
if (t.replaceImages && await Np(e, n), t.injectExtensions) {
|
|
11212
|
+
const c = t.replaceSelectors(Dp);
|
|
11203
11213
|
if (!e.querySelector(c)) {
|
|
11204
11214
|
const h = t.createElementFn("script");
|
|
11205
11215
|
h.setAttribute("src", Zo), h.setAttribute("async", ""), Zt(e).appendChild(h), n?.();
|
|
11206
11216
|
}
|
|
11207
11217
|
}
|
|
11208
|
-
t.injectRequiredTags && (
|
|
11209
|
-
const a = await
|
|
11218
|
+
t.injectRequiredTags && (jp(e, t.createElementFn, i), Op(e), xp(e), Ip(e), n?.()), t.replaceStylesAndLinks && (Cp(e), n?.());
|
|
11219
|
+
const a = await ti(), s = await zp(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
|
|
11210
11220
|
for (let [c, h] of s) if (!h.deprecation) {
|
|
11211
11221
|
c = i(c);
|
|
11212
11222
|
let w = [...e.querySelectorAll(c)].filter((k) => !u.has(k));
|
|
@@ -11226,7 +11236,7 @@ ${i.join("")}
|
|
|
11226
11236
|
if (t.injectExtensions && h.requiresExtension) for (const M of h.requiresExtension) r.add(M);
|
|
11227
11237
|
const w = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
|
|
11228
11238
|
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
|
|
11239
|
+
const k = await Hp();
|
|
11230
11240
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
11231
11241
|
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
11242
|
for (const d of C) {
|
|
@@ -11321,8 +11331,8 @@ ${i.join("")}
|
|
|
11321
11331
|
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
11332
|
}
|
|
11323
11333
|
};
|
|
11324
|
-
const c = e.querySelectorAll("*"), h = await
|
|
11325
|
-
for (const d of c) if (
|
|
11334
|
+
const c = e.querySelectorAll("*"), h = await Bp();
|
|
11335
|
+
for (const d of c) if (Si(d)) {
|
|
11326
11336
|
const f = d.getAttribute("style");
|
|
11327
11337
|
f && (w(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
11328
11338
|
}
|
|
@@ -11333,14 +11343,14 @@ ${i.join("")}
|
|
|
11333
11343
|
`)), n?.();
|
|
11334
11344
|
}
|
|
11335
11345
|
}
|
|
11336
|
-
await
|
|
11346
|
+
await Fp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
|
|
11337
11347
|
}
|
|
11338
11348
|
function Ko(e, t) {
|
|
11339
11349
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
11340
11350
|
}
|
|
11341
|
-
function
|
|
11351
|
+
function Wp(e, t = {}) {
|
|
11342
11352
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
11343
|
-
return
|
|
11353
|
+
return $p(e, {
|
|
11344
11354
|
replaceImages: r,
|
|
11345
11355
|
replaceStylesAndLinks: r,
|
|
11346
11356
|
injectRequiredTags: r,
|
|
@@ -11356,14 +11366,14 @@ ${i.join("")}
|
|
|
11356
11366
|
commit: t.commit
|
|
11357
11367
|
});
|
|
11358
11368
|
}
|
|
11359
|
-
function
|
|
11369
|
+
function Qp(e, t = {}) {
|
|
11360
11370
|
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
11371
|
if (r) {
|
|
11362
|
-
|
|
11372
|
+
Mp(e), Pp(e), kp(e), Sp(e);
|
|
11363
11373
|
const u = $o(e);
|
|
11364
11374
|
u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
|
|
11365
11375
|
}
|
|
11366
|
-
n && (
|
|
11376
|
+
n && (Up(e, {
|
|
11367
11377
|
formsAsAmpForms: t.removeExtensions,
|
|
11368
11378
|
createElementFn: s,
|
|
11369
11379
|
replaceSelectors: l
|
|
@@ -11387,17 +11397,17 @@ ${i.join("")}
|
|
|
11387
11397
|
}), Object.defineProperty(L, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
11388
11398
|
enumerable: !0,
|
|
11389
11399
|
get: function() {
|
|
11390
|
-
return
|
|
11400
|
+
return bu;
|
|
11391
11401
|
}
|
|
11392
11402
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
11393
11403
|
enumerable: !0,
|
|
11394
11404
|
get: function() {
|
|
11395
|
-
return
|
|
11405
|
+
return gi;
|
|
11396
11406
|
}
|
|
11397
11407
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_READY_TIMEOUT_MS", {
|
|
11398
11408
|
enumerable: !0,
|
|
11399
11409
|
get: function() {
|
|
11400
|
-
return
|
|
11410
|
+
return vi;
|
|
11401
11411
|
}
|
|
11402
11412
|
}), Object.defineProperty(L, "InitPipelineContext", {
|
|
11403
11413
|
enumerable: !0,
|
|
@@ -11407,7 +11417,7 @@ ${i.join("")}
|
|
|
11407
11417
|
}), Object.defineProperty(L, "ListenerUpdater", {
|
|
11408
11418
|
enumerable: !0,
|
|
11409
11419
|
get: function() {
|
|
11410
|
-
return
|
|
11420
|
+
return uu;
|
|
11411
11421
|
}
|
|
11412
11422
|
}), Object.defineProperty(L, "PLUGIN_REGISTRY_ID", {
|
|
11413
11423
|
enumerable: !0,
|
|
@@ -11427,12 +11437,12 @@ ${i.join("")}
|
|
|
11427
11437
|
}), Object.defineProperty(L, "amp2html", {
|
|
11428
11438
|
enumerable: !0,
|
|
11429
11439
|
get: function() {
|
|
11430
|
-
return
|
|
11440
|
+
return Qp;
|
|
11431
11441
|
}
|
|
11432
11442
|
}), Object.defineProperty(L, "changeHtml", {
|
|
11433
11443
|
enumerable: !0,
|
|
11434
11444
|
get: function() {
|
|
11435
|
-
return
|
|
11445
|
+
return Jr;
|
|
11436
11446
|
}
|
|
11437
11447
|
}), Object.defineProperty(L, "createAbortError", {
|
|
11438
11448
|
enumerable: !0,
|
|
@@ -11457,7 +11467,7 @@ ${i.join("")}
|
|
|
11457
11467
|
}), Object.defineProperty(L, "createStore", {
|
|
11458
11468
|
enumerable: !0,
|
|
11459
11469
|
get: function() {
|
|
11460
|
-
return
|
|
11470
|
+
return Jc;
|
|
11461
11471
|
}
|
|
11462
11472
|
}), Object.defineProperty(L, "emailRawApi", {
|
|
11463
11473
|
enumerable: !0,
|
|
@@ -11467,22 +11477,22 @@ ${i.join("")}
|
|
|
11467
11477
|
}), Object.defineProperty(L, "extractDocumentTextContent", {
|
|
11468
11478
|
enumerable: !0,
|
|
11469
11479
|
get: function() {
|
|
11470
|
-
return
|
|
11480
|
+
return wp;
|
|
11471
11481
|
}
|
|
11472
11482
|
}), Object.defineProperty(L, "extractServerProjectIdFromToken", {
|
|
11473
11483
|
enumerable: !0,
|
|
11474
11484
|
get: function() {
|
|
11475
|
-
return
|
|
11485
|
+
return au;
|
|
11476
11486
|
}
|
|
11477
11487
|
}), Object.defineProperty(L, "findShadowRoot", {
|
|
11478
11488
|
enumerable: !0,
|
|
11479
11489
|
get: function() {
|
|
11480
|
-
return
|
|
11490
|
+
return id;
|
|
11481
11491
|
}
|
|
11482
11492
|
}), Object.defineProperty(L, "getEML", {
|
|
11483
11493
|
enumerable: !0,
|
|
11484
11494
|
get: function() {
|
|
11485
|
-
return
|
|
11495
|
+
return ap;
|
|
11486
11496
|
}
|
|
11487
11497
|
}), Object.defineProperty(L, "getElementInnerHTML", {
|
|
11488
11498
|
enumerable: !0,
|
|
@@ -11492,7 +11502,7 @@ ${i.join("")}
|
|
|
11492
11502
|
}), Object.defineProperty(L, "getElementStartHtml_VDOM", {
|
|
11493
11503
|
enumerable: !0,
|
|
11494
11504
|
get: function() {
|
|
11495
|
-
return
|
|
11505
|
+
return Vu;
|
|
11496
11506
|
}
|
|
11497
11507
|
}), Object.defineProperty(L, "getFileNameAndExt", {
|
|
11498
11508
|
enumerable: !0,
|
|
@@ -11502,7 +11512,7 @@ ${i.join("")}
|
|
|
11502
11512
|
}), Object.defineProperty(L, "getFileNameWithExt", {
|
|
11503
11513
|
enumerable: !0,
|
|
11504
11514
|
get: function() {
|
|
11505
|
-
return
|
|
11515
|
+
return op;
|
|
11506
11516
|
}
|
|
11507
11517
|
}), Object.defineProperty(L, "getImageByUrl", {
|
|
11508
11518
|
enumerable: !0,
|
|
@@ -11517,22 +11527,22 @@ ${i.join("")}
|
|
|
11517
11527
|
}), Object.defineProperty(L, "getSaveTimeoutMs", {
|
|
11518
11528
|
enumerable: !0,
|
|
11519
11529
|
get: function() {
|
|
11520
|
-
return
|
|
11530
|
+
return _u;
|
|
11521
11531
|
}
|
|
11522
11532
|
}), Object.defineProperty(L, "html2amp", {
|
|
11523
11533
|
enumerable: !0,
|
|
11524
11534
|
get: function() {
|
|
11525
|
-
return
|
|
11535
|
+
return Wp;
|
|
11526
11536
|
}
|
|
11527
11537
|
}), Object.defineProperty(L, "htmlFilesToZip", {
|
|
11528
11538
|
enumerable: !0,
|
|
11529
11539
|
get: function() {
|
|
11530
|
-
return
|
|
11540
|
+
return _p;
|
|
11531
11541
|
}
|
|
11532
11542
|
}), Object.defineProperty(L, "htmlToFilesData", {
|
|
11533
11543
|
enumerable: !0,
|
|
11534
11544
|
get: function() {
|
|
11535
|
-
return
|
|
11545
|
+
return bp;
|
|
11536
11546
|
}
|
|
11537
11547
|
}), Object.defineProperty(L, "imageToBlob", {
|
|
11538
11548
|
enumerable: !0,
|
|
@@ -11542,12 +11552,12 @@ ${i.join("")}
|
|
|
11542
11552
|
}), Object.defineProperty(L, "injectStandaloneMocks", {
|
|
11543
11553
|
enumerable: !0,
|
|
11544
11554
|
get: function() {
|
|
11545
|
-
return
|
|
11555
|
+
return su;
|
|
11546
11556
|
}
|
|
11547
11557
|
}), Object.defineProperty(L, "installStandaloneMockGuard", {
|
|
11548
11558
|
enumerable: !0,
|
|
11549
11559
|
get: function() {
|
|
11550
|
-
return
|
|
11560
|
+
return cu;
|
|
11551
11561
|
}
|
|
11552
11562
|
}), Object.defineProperty(L, "isAmpElement", {
|
|
11553
11563
|
enumerable: !0,
|
|
@@ -11557,12 +11567,12 @@ ${i.join("")}
|
|
|
11557
11567
|
}), Object.defineProperty(L, "isDocument", {
|
|
11558
11568
|
enumerable: !0,
|
|
11559
11569
|
get: function() {
|
|
11560
|
-
return
|
|
11570
|
+
return Ai;
|
|
11561
11571
|
}
|
|
11562
11572
|
}), Object.defineProperty(L, "isDocumentFragment", {
|
|
11563
11573
|
enumerable: !0,
|
|
11564
11574
|
get: function() {
|
|
11565
|
-
return
|
|
11575
|
+
return ed;
|
|
11566
11576
|
}
|
|
11567
11577
|
}), Object.defineProperty(L, "isElement", {
|
|
11568
11578
|
enumerable: !0,
|
|
@@ -11572,7 +11582,7 @@ ${i.join("")}
|
|
|
11572
11582
|
}), Object.defineProperty(L, "isForm", {
|
|
11573
11583
|
enumerable: !0,
|
|
11574
11584
|
get: function() {
|
|
11575
|
-
return
|
|
11585
|
+
return Xu;
|
|
11576
11586
|
}
|
|
11577
11587
|
}), Object.defineProperty(L, "isTextNode", {
|
|
11578
11588
|
enumerable: !0,
|
|
@@ -11592,7 +11602,7 @@ ${i.join("")}
|
|
|
11592
11602
|
}), Object.defineProperty(L, "normalizeUrl", {
|
|
11593
11603
|
enumerable: !0,
|
|
11594
11604
|
get: function() {
|
|
11595
|
-
return
|
|
11605
|
+
return Md;
|
|
11596
11606
|
}
|
|
11597
11607
|
}), Object.defineProperty(L, "notificationsApi", {
|
|
11598
11608
|
enumerable: !0,
|
|
@@ -11602,27 +11612,27 @@ ${i.join("")}
|
|
|
11602
11612
|
}), Object.defineProperty(L, "parseFromString", {
|
|
11603
11613
|
enumerable: !0,
|
|
11604
11614
|
get: function() {
|
|
11605
|
-
return
|
|
11615
|
+
return Hi;
|
|
11606
11616
|
}
|
|
11607
11617
|
}), Object.defineProperty(L, "pluginRegistry", {
|
|
11608
11618
|
enumerable: !0,
|
|
11609
11619
|
get: function() {
|
|
11610
|
-
return
|
|
11620
|
+
return wu;
|
|
11611
11621
|
}
|
|
11612
11622
|
}), Object.defineProperty(L, "prepareEmailHtmlForEditor", {
|
|
11613
11623
|
enumerable: !0,
|
|
11614
11624
|
get: function() {
|
|
11615
|
-
return
|
|
11625
|
+
return Qd;
|
|
11616
11626
|
}
|
|
11617
11627
|
}), Object.defineProperty(L, "prepareEvent", {
|
|
11618
11628
|
enumerable: !0,
|
|
11619
11629
|
get: function() {
|
|
11620
|
-
return
|
|
11630
|
+
return du;
|
|
11621
11631
|
}
|
|
11622
11632
|
}), Object.defineProperty(L, "prepareHTML", {
|
|
11623
11633
|
enumerable: !0,
|
|
11624
11634
|
get: function() {
|
|
11625
|
-
return
|
|
11635
|
+
return hp;
|
|
11626
11636
|
}
|
|
11627
11637
|
}), Object.defineProperty(L, "projectSettingsV2Api", {
|
|
11628
11638
|
enumerable: !0,
|
|
@@ -11634,6 +11644,11 @@ ${i.join("")}
|
|
|
11634
11644
|
get: function() {
|
|
11635
11645
|
return Nt;
|
|
11636
11646
|
}
|
|
11647
|
+
}), Object.defineProperty(L, "promoteNewEmailAfterSave", {
|
|
11648
|
+
enumerable: !0,
|
|
11649
|
+
get: function() {
|
|
11650
|
+
return Cc;
|
|
11651
|
+
}
|
|
11637
11652
|
}), Object.defineProperty(L, "proxyApi", {
|
|
11638
11653
|
enumerable: !0,
|
|
11639
11654
|
get: function() {
|
|
@@ -11644,10 +11659,15 @@ ${i.join("")}
|
|
|
11644
11659
|
get: function() {
|
|
11645
11660
|
return ns;
|
|
11646
11661
|
}
|
|
11662
|
+
}), Object.defineProperty(L, "refetchIfActive", {
|
|
11663
|
+
enumerable: !0,
|
|
11664
|
+
get: function() {
|
|
11665
|
+
return Nl;
|
|
11666
|
+
}
|
|
11647
11667
|
}), Object.defineProperty(L, "removeEmailFromList", {
|
|
11648
11668
|
enumerable: !0,
|
|
11649
11669
|
get: function() {
|
|
11650
|
-
return
|
|
11670
|
+
return Lc;
|
|
11651
11671
|
}
|
|
11652
11672
|
}), Object.defineProperty(L, "replaceImagesInDocument", {
|
|
11653
11673
|
enumerable: !0,
|
|
@@ -11667,32 +11687,37 @@ ${i.join("")}
|
|
|
11667
11687
|
}), Object.defineProperty(L, "resetElementHistorySlice", {
|
|
11668
11688
|
enumerable: !0,
|
|
11669
11689
|
get: function() {
|
|
11670
|
-
return
|
|
11690
|
+
return Vc;
|
|
11671
11691
|
}
|
|
11672
11692
|
}), Object.defineProperty(L, "resetElementsList", {
|
|
11673
11693
|
enumerable: !0,
|
|
11674
11694
|
get: function() {
|
|
11675
|
-
return
|
|
11695
|
+
return Dc;
|
|
11676
11696
|
}
|
|
11677
11697
|
}), Object.defineProperty(L, "resetNewBlockSlice", {
|
|
11678
11698
|
enumerable: !0,
|
|
11679
11699
|
get: function() {
|
|
11680
|
-
return
|
|
11700
|
+
return Nc;
|
|
11681
11701
|
}
|
|
11682
11702
|
}), Object.defineProperty(L, "resetNewEmailSlice", {
|
|
11683
11703
|
enumerable: !0,
|
|
11684
11704
|
get: function() {
|
|
11685
|
-
return
|
|
11705
|
+
return wc;
|
|
11686
11706
|
}
|
|
11687
11707
|
}), Object.defineProperty(L, "resetPagesAndTotal", {
|
|
11688
11708
|
enumerable: !0,
|
|
11689
11709
|
get: function() {
|
|
11690
|
-
return
|
|
11710
|
+
return Ic;
|
|
11691
11711
|
}
|
|
11692
11712
|
}), Object.defineProperty(L, "resolveTemplateDirectivesConfig", {
|
|
11693
11713
|
enumerable: !0,
|
|
11694
11714
|
get: function() {
|
|
11695
|
-
return
|
|
11715
|
+
return Uu;
|
|
11716
|
+
}
|
|
11717
|
+
}), Object.defineProperty(L, "sanitizeFileName", {
|
|
11718
|
+
enumerable: !0,
|
|
11719
|
+
get: function() {
|
|
11720
|
+
return Yr;
|
|
11696
11721
|
}
|
|
11697
11722
|
}), Object.defineProperty(L, "saveFileApi", {
|
|
11698
11723
|
enumerable: !0,
|
|
@@ -11702,182 +11727,182 @@ ${i.join("")}
|
|
|
11702
11727
|
}), Object.defineProperty(L, "selectBlocksTotal", {
|
|
11703
11728
|
enumerable: !0,
|
|
11704
11729
|
get: function() {
|
|
11705
|
-
return
|
|
11730
|
+
return $c;
|
|
11706
11731
|
}
|
|
11707
11732
|
}), Object.defineProperty(L, "selectCustomFolders", {
|
|
11708
11733
|
enumerable: !0,
|
|
11709
11734
|
get: function() {
|
|
11710
|
-
return
|
|
11735
|
+
return Bc;
|
|
11711
11736
|
}
|
|
11712
11737
|
}), Object.defineProperty(L, "selectElementHistoryTotalPages", {
|
|
11713
11738
|
enumerable: !0,
|
|
11714
11739
|
get: function() {
|
|
11715
|
-
return
|
|
11740
|
+
return Gc;
|
|
11716
11741
|
}
|
|
11717
11742
|
}), Object.defineProperty(L, "selectElementsList", {
|
|
11718
11743
|
enumerable: !0,
|
|
11719
11744
|
get: function() {
|
|
11720
|
-
return
|
|
11745
|
+
return zc;
|
|
11721
11746
|
}
|
|
11722
11747
|
}), Object.defineProperty(L, "selectElementsTrashList", {
|
|
11723
11748
|
enumerable: !0,
|
|
11724
11749
|
get: function() {
|
|
11725
|
-
return
|
|
11750
|
+
return Hc;
|
|
11726
11751
|
}
|
|
11727
11752
|
}), Object.defineProperty(L, "selectElementsView", {
|
|
11728
11753
|
enumerable: !0,
|
|
11729
11754
|
get: function() {
|
|
11730
|
-
return
|
|
11755
|
+
return Uc;
|
|
11731
11756
|
}
|
|
11732
11757
|
}), Object.defineProperty(L, "selectEmailsTotal", {
|
|
11733
11758
|
enumerable: !0,
|
|
11734
11759
|
get: function() {
|
|
11735
|
-
return
|
|
11760
|
+
return Fc;
|
|
11736
11761
|
}
|
|
11737
11762
|
}), Object.defineProperty(L, "selectEmailsTrashTotal", {
|
|
11738
11763
|
enumerable: !0,
|
|
11739
11764
|
get: function() {
|
|
11740
|
-
return
|
|
11765
|
+
return qc;
|
|
11741
11766
|
}
|
|
11742
11767
|
}), Object.defineProperty(L, "selectHistoryData", {
|
|
11743
11768
|
enumerable: !0,
|
|
11744
11769
|
get: function() {
|
|
11745
|
-
return
|
|
11770
|
+
return Zc;
|
|
11746
11771
|
}
|
|
11747
11772
|
}), Object.defineProperty(L, "selectNewBlockHasChanged", {
|
|
11748
11773
|
enumerable: !0,
|
|
11749
11774
|
get: function() {
|
|
11750
|
-
return
|
|
11775
|
+
return Mc;
|
|
11751
11776
|
}
|
|
11752
11777
|
}), Object.defineProperty(L, "selectNewEmailAppliedShowToken", {
|
|
11753
11778
|
enumerable: !0,
|
|
11754
11779
|
get: function() {
|
|
11755
|
-
return
|
|
11780
|
+
return Tc;
|
|
11756
11781
|
}
|
|
11757
11782
|
}), Object.defineProperty(L, "selectNewEmailHasChanged", {
|
|
11758
11783
|
enumerable: !0,
|
|
11759
11784
|
get: function() {
|
|
11760
|
-
return
|
|
11785
|
+
return Oc;
|
|
11761
11786
|
}
|
|
11762
11787
|
}), Object.defineProperty(L, "selectNewEmailSettings", {
|
|
11763
11788
|
enumerable: !0,
|
|
11764
11789
|
get: function() {
|
|
11765
|
-
return
|
|
11790
|
+
return kc;
|
|
11766
11791
|
}
|
|
11767
11792
|
}), Object.defineProperty(L, "selectParentEmailBlocksTotal", {
|
|
11768
11793
|
enumerable: !0,
|
|
11769
11794
|
get: function() {
|
|
11770
|
-
return
|
|
11795
|
+
return Qc;
|
|
11771
11796
|
}
|
|
11772
11797
|
}), Object.defineProperty(L, "selectTemplateBlocksTotal", {
|
|
11773
11798
|
enumerable: !0,
|
|
11774
11799
|
get: function() {
|
|
11775
|
-
return
|
|
11800
|
+
return Wc;
|
|
11776
11801
|
}
|
|
11777
11802
|
}), Object.defineProperty(L, "setNewBlockDescription", {
|
|
11778
11803
|
enumerable: !0,
|
|
11779
11804
|
get: function() {
|
|
11780
|
-
return
|
|
11805
|
+
return Pc;
|
|
11781
11806
|
}
|
|
11782
11807
|
}), Object.defineProperty(L, "setNewBlockTags", {
|
|
11783
11808
|
enumerable: !0,
|
|
11784
11809
|
get: function() {
|
|
11785
|
-
return
|
|
11810
|
+
return Rc;
|
|
11786
11811
|
}
|
|
11787
11812
|
}), Object.defineProperty(L, "setNewEmailAll", {
|
|
11788
11813
|
enumerable: !0,
|
|
11789
11814
|
get: function() {
|
|
11790
|
-
return
|
|
11815
|
+
return lc;
|
|
11791
11816
|
}
|
|
11792
11817
|
}), Object.defineProperty(L, "setNewEmailDescription", {
|
|
11793
11818
|
enumerable: !0,
|
|
11794
11819
|
get: function() {
|
|
11795
|
-
return
|
|
11820
|
+
return pc;
|
|
11796
11821
|
}
|
|
11797
11822
|
}), Object.defineProperty(L, "setNewEmailHtml", {
|
|
11798
11823
|
enumerable: !0,
|
|
11799
11824
|
get: function() {
|
|
11800
|
-
return
|
|
11825
|
+
return hc;
|
|
11801
11826
|
}
|
|
11802
11827
|
}), Object.defineProperty(L, "setNewEmailIsAmp", {
|
|
11803
11828
|
enumerable: !0,
|
|
11804
11829
|
get: function() {
|
|
11805
|
-
return
|
|
11830
|
+
return xc;
|
|
11806
11831
|
}
|
|
11807
11832
|
}), Object.defineProperty(L, "setNewEmailIsTemplate", {
|
|
11808
11833
|
enumerable: !0,
|
|
11809
11834
|
get: function() {
|
|
11810
|
-
return
|
|
11835
|
+
return fc;
|
|
11811
11836
|
}
|
|
11812
11837
|
}), Object.defineProperty(L, "setNewEmailMeta", {
|
|
11813
11838
|
enumerable: !0,
|
|
11814
11839
|
get: function() {
|
|
11815
|
-
return
|
|
11840
|
+
return Sc;
|
|
11816
11841
|
}
|
|
11817
11842
|
}), Object.defineProperty(L, "setNewEmailPreheader", {
|
|
11818
11843
|
enumerable: !0,
|
|
11819
11844
|
get: function() {
|
|
11820
|
-
return
|
|
11845
|
+
return dc;
|
|
11821
11846
|
}
|
|
11822
11847
|
}), Object.defineProperty(L, "setNewEmailProject", {
|
|
11823
11848
|
enumerable: !0,
|
|
11824
11849
|
get: function() {
|
|
11825
|
-
return
|
|
11850
|
+
return Ac;
|
|
11826
11851
|
}
|
|
11827
11852
|
}), Object.defineProperty(L, "setNewEmailSubject", {
|
|
11828
11853
|
enumerable: !0,
|
|
11829
11854
|
get: function() {
|
|
11830
|
-
return
|
|
11855
|
+
return uc;
|
|
11831
11856
|
}
|
|
11832
11857
|
}), Object.defineProperty(L, "setNewEmailTags", {
|
|
11833
11858
|
enumerable: !0,
|
|
11834
11859
|
get: function() {
|
|
11835
|
-
return
|
|
11860
|
+
return mc;
|
|
11836
11861
|
}
|
|
11837
11862
|
}), Object.defineProperty(L, "setNewEmailTitle", {
|
|
11838
11863
|
enumerable: !0,
|
|
11839
11864
|
get: function() {
|
|
11840
|
-
return
|
|
11865
|
+
return cc;
|
|
11841
11866
|
}
|
|
11842
11867
|
}), Object.defineProperty(L, "setNewEmailUtmCampaign", {
|
|
11843
11868
|
enumerable: !0,
|
|
11844
11869
|
get: function() {
|
|
11845
|
-
return
|
|
11870
|
+
return bc;
|
|
11846
11871
|
}
|
|
11847
11872
|
}), Object.defineProperty(L, "setNewEmailUtmContent", {
|
|
11848
11873
|
enumerable: !0,
|
|
11849
11874
|
get: function() {
|
|
11850
|
-
return
|
|
11875
|
+
return _c;
|
|
11851
11876
|
}
|
|
11852
11877
|
}), Object.defineProperty(L, "setNewEmailUtmMedium", {
|
|
11853
11878
|
enumerable: !0,
|
|
11854
11879
|
get: function() {
|
|
11855
|
-
return
|
|
11880
|
+
return vc;
|
|
11856
11881
|
}
|
|
11857
11882
|
}), Object.defineProperty(L, "setNewEmailUtmSource", {
|
|
11858
11883
|
enumerable: !0,
|
|
11859
11884
|
get: function() {
|
|
11860
|
-
return
|
|
11885
|
+
return gc;
|
|
11861
11886
|
}
|
|
11862
11887
|
}), Object.defineProperty(L, "setNewEmailUtmTerm", {
|
|
11863
11888
|
enumerable: !0,
|
|
11864
11889
|
get: function() {
|
|
11865
|
-
return
|
|
11890
|
+
return yc;
|
|
11866
11891
|
}
|
|
11867
11892
|
}), Object.defineProperty(L, "setNewIsInited", {
|
|
11868
11893
|
enumerable: !0,
|
|
11869
11894
|
get: function() {
|
|
11870
|
-
return
|
|
11895
|
+
return Ec;
|
|
11871
11896
|
}
|
|
11872
11897
|
}), Object.defineProperty(L, "src_default", {
|
|
11873
11898
|
enumerable: !0,
|
|
11874
11899
|
get: function() {
|
|
11875
|
-
return
|
|
11900
|
+
return bi;
|
|
11876
11901
|
}
|
|
11877
11902
|
}), Object.defineProperty(L, "syncStandaloneProjectState", {
|
|
11878
11903
|
enumerable: !0,
|
|
11879
11904
|
get: function() {
|
|
11880
|
-
return
|
|
11905
|
+
return ou;
|
|
11881
11906
|
}
|
|
11882
11907
|
}), Object.defineProperty(L, "throwIfAborted", {
|
|
11883
11908
|
enumerable: !0,
|
|
@@ -11892,7 +11917,7 @@ ${i.join("")}
|
|
|
11892
11917
|
}), Object.defineProperty(L, "toggleElementsView", {
|
|
11893
11918
|
enumerable: !0,
|
|
11894
11919
|
get: function() {
|
|
11895
|
-
return
|
|
11920
|
+
return jc;
|
|
11896
11921
|
}
|
|
11897
11922
|
}), Object.defineProperty(L, "tokenApi", {
|
|
11898
11923
|
enumerable: !0,
|
|
@@ -11907,7 +11932,7 @@ ${i.join("")}
|
|
|
11907
11932
|
}), Object.defineProperty(L, "useChangePasswordMutation", {
|
|
11908
11933
|
enumerable: !0,
|
|
11909
11934
|
get: function() {
|
|
11910
|
-
return
|
|
11935
|
+
return Xl;
|
|
11911
11936
|
}
|
|
11912
11937
|
}), Object.defineProperty(L, "useCreateBroadcastMutation", {
|
|
11913
11938
|
enumerable: !0,
|
|
@@ -11952,7 +11977,7 @@ ${i.join("")}
|
|
|
11952
11977
|
}), Object.defineProperty(L, "useCreateConvertJobMutation", {
|
|
11953
11978
|
enumerable: !0,
|
|
11954
11979
|
get: function() {
|
|
11955
|
-
return
|
|
11980
|
+
return ql;
|
|
11956
11981
|
}
|
|
11957
11982
|
}), Object.defineProperty(L, "useCreateDraftMutation", {
|
|
11958
11983
|
enumerable: !0,
|
|
@@ -12012,17 +12037,17 @@ ${i.join("")}
|
|
|
12012
12037
|
}), Object.defineProperty(L, "useGenerateHtmlToPdfMutation", {
|
|
12013
12038
|
enumerable: !0,
|
|
12014
12039
|
get: function() {
|
|
12015
|
-
return
|
|
12040
|
+
return Bl;
|
|
12016
12041
|
}
|
|
12017
12042
|
}), Object.defineProperty(L, "useGetAiGenerateStatusMutation", {
|
|
12018
12043
|
enumerable: !0,
|
|
12019
12044
|
get: function() {
|
|
12020
|
-
return
|
|
12045
|
+
return Dl;
|
|
12021
12046
|
}
|
|
12022
12047
|
}), Object.defineProperty(L, "useGetCheckoutUrlMutation", {
|
|
12023
12048
|
enumerable: !0,
|
|
12024
12049
|
get: function() {
|
|
12025
|
-
return
|
|
12050
|
+
return Ql;
|
|
12026
12051
|
}
|
|
12027
12052
|
}), Object.defineProperty(L, "useGetDialogQuery", {
|
|
12028
12053
|
enumerable: !0,
|
|
@@ -12032,52 +12057,52 @@ ${i.join("")}
|
|
|
12032
12057
|
}), Object.defineProperty(L, "useGetInvoiceRequestMutation", {
|
|
12033
12058
|
enumerable: !0,
|
|
12034
12059
|
get: function() {
|
|
12035
|
-
return
|
|
12060
|
+
return Ul;
|
|
12036
12061
|
}
|
|
12037
12062
|
}), Object.defineProperty(L, "useGetNotificationsQuery", {
|
|
12038
12063
|
enumerable: !0,
|
|
12039
12064
|
get: function() {
|
|
12040
|
-
return
|
|
12065
|
+
return $l;
|
|
12041
12066
|
}
|
|
12042
12067
|
}), Object.defineProperty(L, "useGetProjectIntegrationsQuery", {
|
|
12043
12068
|
enumerable: !0,
|
|
12044
12069
|
get: function() {
|
|
12045
|
-
return
|
|
12070
|
+
return rc;
|
|
12046
12071
|
}
|
|
12047
12072
|
}), Object.defineProperty(L, "useGetProjectStorageQuery", {
|
|
12048
12073
|
enumerable: !0,
|
|
12049
12074
|
get: function() {
|
|
12050
|
-
return
|
|
12075
|
+
return ec;
|
|
12051
12076
|
}
|
|
12052
12077
|
}), Object.defineProperty(L, "useGetProjectTestRecipientsQuery", {
|
|
12053
12078
|
enumerable: !0,
|
|
12054
12079
|
get: function() {
|
|
12055
|
-
return
|
|
12080
|
+
return ac;
|
|
12056
12081
|
}
|
|
12057
12082
|
}), Object.defineProperty(L, "useGetProjectWebhookQuery", {
|
|
12058
12083
|
enumerable: !0,
|
|
12059
12084
|
get: function() {
|
|
12060
|
-
return
|
|
12085
|
+
return nc;
|
|
12061
12086
|
}
|
|
12062
12087
|
}), Object.defineProperty(L, "useLazyClearAiChatQuery", {
|
|
12063
12088
|
enumerable: !0,
|
|
12064
12089
|
get: function() {
|
|
12065
|
-
return
|
|
12090
|
+
return Il;
|
|
12066
12091
|
}
|
|
12067
12092
|
}), Object.defineProperty(L, "useLazyGetCanselRecurrenceQuery", {
|
|
12068
12093
|
enumerable: !0,
|
|
12069
12094
|
get: function() {
|
|
12070
|
-
return
|
|
12095
|
+
return Gl;
|
|
12071
12096
|
}
|
|
12072
12097
|
}), Object.defineProperty(L, "useLazyGetConfirmationMailQuery", {
|
|
12073
12098
|
enumerable: !0,
|
|
12074
12099
|
get: function() {
|
|
12075
|
-
return
|
|
12100
|
+
return Vl;
|
|
12076
12101
|
}
|
|
12077
12102
|
}), Object.defineProperty(L, "useLazyGetConvertJobStatusQuery", {
|
|
12078
12103
|
enumerable: !0,
|
|
12079
12104
|
get: function() {
|
|
12080
|
-
return
|
|
12105
|
+
return Hl;
|
|
12081
12106
|
}
|
|
12082
12107
|
}), Object.defineProperty(L, "useLazyGetDialogQuery", {
|
|
12083
12108
|
enumerable: !0,
|
|
@@ -12092,12 +12117,12 @@ ${i.join("")}
|
|
|
12092
12117
|
}), Object.defineProperty(L, "useLazyGetGeneratedContentQuery", {
|
|
12093
12118
|
enumerable: !0,
|
|
12094
12119
|
get: function() {
|
|
12095
|
-
return
|
|
12120
|
+
return jl;
|
|
12096
12121
|
}
|
|
12097
12122
|
}), Object.defineProperty(L, "useLazyGetIntegrationCredentialsQuery", {
|
|
12098
12123
|
enumerable: !0,
|
|
12099
12124
|
get: function() {
|
|
12100
|
-
return
|
|
12125
|
+
return ic;
|
|
12101
12126
|
}
|
|
12102
12127
|
}), Object.defineProperty(L, "useLazyGetLocaleQuery", {
|
|
12103
12128
|
enumerable: !0,
|
|
@@ -12112,12 +12137,12 @@ ${i.join("")}
|
|
|
12112
12137
|
}), Object.defineProperty(L, "useLazyGetRecurrenceQuery", {
|
|
12113
12138
|
enumerable: !0,
|
|
12114
12139
|
get: function() {
|
|
12115
|
-
return
|
|
12140
|
+
return Zl;
|
|
12116
12141
|
}
|
|
12117
12142
|
}), Object.defineProperty(L, "useLogoutMutation", {
|
|
12118
12143
|
enumerable: !0,
|
|
12119
12144
|
get: function() {
|
|
12120
|
-
return
|
|
12145
|
+
return Jl;
|
|
12121
12146
|
}
|
|
12122
12147
|
}), Object.defineProperty(L, "useMakeTemporaryMailForPngMutation", {
|
|
12123
12148
|
enumerable: !0,
|
|
@@ -12127,7 +12152,7 @@ ${i.join("")}
|
|
|
12127
12152
|
}), Object.defineProperty(L, "useNotificationShownMutation", {
|
|
12128
12153
|
enumerable: !0,
|
|
12129
12154
|
get: function() {
|
|
12130
|
-
return
|
|
12155
|
+
return Wl;
|
|
12131
12156
|
}
|
|
12132
12157
|
}), Object.defineProperty(L, "usePostDataByWebHookMutation", {
|
|
12133
12158
|
enumerable: !0,
|
|
@@ -12137,12 +12162,12 @@ ${i.join("")}
|
|
|
12137
12162
|
}), Object.defineProperty(L, "usePutProjectSettingsMutation", {
|
|
12138
12163
|
enumerable: !0,
|
|
12139
12164
|
get: function() {
|
|
12140
|
-
return
|
|
12165
|
+
return tc;
|
|
12141
12166
|
}
|
|
12142
12167
|
}), Object.defineProperty(L, "usePutProjectTestRecipientsMutation", {
|
|
12143
12168
|
enumerable: !0,
|
|
12144
12169
|
get: function() {
|
|
12145
|
-
return
|
|
12170
|
+
return oc;
|
|
12146
12171
|
}
|
|
12147
12172
|
}), Object.defineProperty(L, "useSendLivePreviewMutation", {
|
|
12148
12173
|
enumerable: !0,
|