useblocks 1.1.62 → 1.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/iframe/js/amp.BP7EklKo.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/static/core/{af4d7f64.js → 2047d7f8.js} +816 -804
- package/static/core/{d2fd1146.js → 474c47d5.js} +194 -171
- package/static/core/{7a98c428.js → 67e3306c.js} +4 -4
- package/static/core/{fe238779.js → 6dbdca2f.js} +7 -7
- package/static/core/{40952073.js → 97aafd5d.js} +6 -6
- package/static/core/{8d78b13f.js → 9982be76.js} +3 -3
- package/static/core/{907e6f1b.js → ab86b06a.js} +3 -3
- package/static/core/{c555dd21.js → b22e5dd5.js} +5 -5
- package/static/core/{3500cc9c.js → b78a67b9.js} +1923 -1857
- package/static/core/{da50e420.js → c2a2dc79.js} +11233 -11179
- package/static/core/{e5b1c38d.js → cf21862f.js} +7 -7
- package/static/core/{bd26a4bd.js → db999761.js} +7 -7
- package/static/core/{585cff60.js → f8c9371e.js} +3 -3
- package/two_step_headless_plugin.html +1 -1
- package/{useblocks-core.194e3b23.js → useblocks-core.bfe3fe29.js} +6 -6
- package/useblocks-esm.js +3 -3
- package/useblocks.js +3 -3
- package/singlepage_headless_plugin.html +0 -592
- /package/iframe/{iframe-eblock.194e3b23.html → iframe-eblock.bfe3fe29.html} +0 -0
- /package/iframe/{iframe.194e3b23.html → iframe.bfe3fe29.html} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/2047d7f8.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/63b7b25e.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/b78a67b9.js",
|
|
7
|
+
"static/core/f8c9371e.js",
|
|
8
8
|
"static/core/aa783b9b.js",
|
|
9
9
|
"static/core/86577bae.js",
|
|
10
|
-
"static/core/
|
|
11
|
-
], function(it, M,
|
|
12
|
-
const X = it("./63b7b25e.js"), k = it("./
|
|
13
|
-
var
|
|
10
|
+
"static/core/ab86b06a.js"
|
|
11
|
+
], function(it, M, rf) {
|
|
12
|
+
const X = it("./63b7b25e.js"), k = it("./b78a67b9.js"), Me = it("./f8c9371e.js"), ri = it("./aa783b9b.js"), Pe = it("./86577bae.js"), er = it("./ab86b06a.js");
|
|
13
|
+
var os = class {
|
|
14
14
|
_plugins = new Map();
|
|
15
15
|
_listeners = new Map();
|
|
16
16
|
_getOrCreateEntry(e) {
|
|
@@ -123,7 +123,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
123
123
|
e.add(t, r);
|
|
124
124
|
} };
|
|
125
125
|
}
|
|
126
|
-
},
|
|
126
|
+
}, ss = class {
|
|
127
127
|
resolveRegistry;
|
|
128
128
|
constructor(e) {
|
|
129
129
|
this.resolveRegistry = e;
|
|
@@ -179,7 +179,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
179
179
|
function ni(e) {
|
|
180
180
|
if (e?.aborted) throw qe(e.reason);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function ls(e, t) {
|
|
183
183
|
return t ? (ni(t), new Promise((r, i) => {
|
|
184
184
|
const n = () => {
|
|
185
185
|
a(), i(qe(t.reason));
|
|
@@ -193,7 +193,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
193
193
|
});
|
|
194
194
|
})) : e;
|
|
195
195
|
}
|
|
196
|
-
var
|
|
196
|
+
var cs = (e) => {
|
|
197
197
|
const t = {
|
|
198
198
|
current: Promise.resolve(),
|
|
199
199
|
state: e,
|
|
@@ -327,7 +327,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
|
-
async function
|
|
330
|
+
async function us(e, t, r, i) {
|
|
331
331
|
const n = i?.attemptTimeout ?? k.isFailoverEnabled(r), a = k.isFailoverEnabled(r) ? k.getOrderedOriginCandidates(r) : k.getOriginChain(r).length > 0 ? [k.getActiveBaseUrl(r)] : [];
|
|
332
332
|
if (a.length === 0) throw new Error("[apiOriginFailover] no API base URL configured");
|
|
333
333
|
const s = e.startsWith("/") ? e : `/${e}`;
|
|
@@ -417,7 +417,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
417
417
|
return r && typeof r.on == "function" && typeof r.pause == "function" && typeof r.resume == "function";
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
|
-
})),
|
|
420
|
+
})), ds = X.__commonJSMin(((e, t) => {
|
|
421
421
|
X.init__polyfill_node_global();
|
|
422
422
|
var r = X._polyfill_node_global_default.MutationObserver || X._polyfill_node_global_default.WebKitMutationObserver, i;
|
|
423
423
|
if (r) {
|
|
@@ -451,8 +451,8 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
451
451
|
function w(p) {
|
|
452
452
|
m.push(p) === 1 && !u && i();
|
|
453
453
|
}
|
|
454
|
-
})),
|
|
455
|
-
var r =
|
|
454
|
+
})), ps = X.__commonJSMin(((e, t) => {
|
|
455
|
+
var r = ds();
|
|
456
456
|
function i() {}
|
|
457
457
|
var n = {}, a = ["REJECTED"], s = ["FULFILLED"], l = ["PENDING"];
|
|
458
458
|
t.exports = u;
|
|
@@ -594,10 +594,10 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
594
594
|
}
|
|
595
595
|
})), Ot = X.__commonJSMin(((e, t) => {
|
|
596
596
|
var r = null;
|
|
597
|
-
typeof Promise < "u" ? r = Promise : r =
|
|
597
|
+
typeof Promise < "u" ? r = Promise : r = ps(), t.exports = { Promise: r };
|
|
598
598
|
}));
|
|
599
599
|
X.__exportAll({});
|
|
600
|
-
var
|
|
600
|
+
var fs = X.__esmMin((() => {
|
|
601
601
|
ri.init__polyfill_node_process(), X.init__polyfill_node_global(), (function(e, t) {
|
|
602
602
|
"use strict";
|
|
603
603
|
if (e.setImmediate) return;
|
|
@@ -698,7 +698,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
698
698
|
})(typeof self > "u" ? typeof X._polyfill_node_global_default > "u" ? void 0 : X._polyfill_node_global_default : self);
|
|
699
699
|
})), ve = X.__commonJSMin(((e) => {
|
|
700
700
|
var t = Xe(), r = si(), i = tr(), n = Ot();
|
|
701
|
-
|
|
701
|
+
fs();
|
|
702
702
|
function a(p) {
|
|
703
703
|
var c = null;
|
|
704
704
|
return t.uint8array ? c = new Uint8Array(p.length) : c = new Array(p.length), l(p, c);
|
|
@@ -1022,7 +1022,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1022
1022
|
meta: p.meta
|
|
1023
1023
|
});
|
|
1024
1024
|
}, e.Utf8EncodeWorker = w;
|
|
1025
|
-
})),
|
|
1025
|
+
})), hs = X.__commonJSMin(((e, t) => {
|
|
1026
1026
|
var r = Fe(), i = ve();
|
|
1027
1027
|
function n(a) {
|
|
1028
1028
|
r.call(this, "ConvertWorker to " + a), this.destType = a;
|
|
@@ -1033,7 +1033,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1033
1033
|
meta: a.meta
|
|
1034
1034
|
});
|
|
1035
1035
|
}, t.exports = n;
|
|
1036
|
-
})),
|
|
1036
|
+
})), ms = X.__commonJSMin(((e, t) => {
|
|
1037
1037
|
var r = oi().Readable;
|
|
1038
1038
|
ve().inherits(i, r);
|
|
1039
1039
|
function i(n, a, s) {
|
|
@@ -1052,9 +1052,9 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1052
1052
|
}, t.exports = i;
|
|
1053
1053
|
})), li = X.__commonJSMin(((e, t) => {
|
|
1054
1054
|
Pe.init__polyfill_node_buffer();
|
|
1055
|
-
var r = ve(), i =
|
|
1055
|
+
var r = ve(), i = hs(), n = Fe(), a = si(), s = Xe(), l = Ot(), u = null;
|
|
1056
1056
|
if (s.nodestream) try {
|
|
1057
|
-
u =
|
|
1057
|
+
u = ms();
|
|
1058
1058
|
} catch {}
|
|
1059
1059
|
function m(c, h, E) {
|
|
1060
1060
|
switch (c) {
|
|
@@ -1207,7 +1207,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1207
1207
|
n.inherits(a, r), a.prototype.processChunk = function(s) {
|
|
1208
1208
|
this.streamInfo.crc32 = i(s.data, this.streamInfo.crc32 || 0), this.push(s);
|
|
1209
1209
|
}, t.exports = a;
|
|
1210
|
-
})),
|
|
1210
|
+
})), gs = X.__commonJSMin(((e, t) => {
|
|
1211
1211
|
var r = ve(), i = Fe();
|
|
1212
1212
|
function n(a) {
|
|
1213
1213
|
i.call(this, "DataLengthProbe for " + a), this.propName = a, this.withStreamInfo(a, 0);
|
|
@@ -1220,7 +1220,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1220
1220
|
i.prototype.processChunk.call(this, a);
|
|
1221
1221
|
}, t.exports = n;
|
|
1222
1222
|
})), sn = X.__commonJSMin(((e, t) => {
|
|
1223
|
-
var r = Ot(), i = ui(), n = di(), a =
|
|
1223
|
+
var r = Ot(), i = ui(), n = di(), a = gs();
|
|
1224
1224
|
function s(l, u, m, b, w) {
|
|
1225
1225
|
this.compressedSize = l, this.uncompressedSize = u, this.crc32 = m, this.compression = b, this.compressedContent = w;
|
|
1226
1226
|
}
|
|
@@ -1237,7 +1237,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1237
1237
|
}, s.createWorkerFrom = function(l, u, m) {
|
|
1238
1238
|
return l.pipe(new n()).pipe(new a("uncompressedSize")).pipe(u.compressWorker(m)).pipe(new a("compressedSize")).withStreamInfo("compression", u);
|
|
1239
1239
|
}, t.exports = s;
|
|
1240
|
-
})),
|
|
1240
|
+
})), vs = X.__commonJSMin(((e, t) => {
|
|
1241
1241
|
var r = li(), i = ui(), n = Pt(), a = sn(), s = Fe(), l = function(w, p, c) {
|
|
1242
1242
|
this.name = w, this.dir = c.dir, this.date = c.date, this.comment = c.comment, this.unixPermissions = c.unixPermissions, this.dosPermissions = c.dosPermissions, this._data = p, this._dataBinary = c.binary, this.options = {
|
|
1243
1243
|
compression: c.compression,
|
|
@@ -1326,7 +1326,7 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1326
1326
|
e.setTyped = function(a) {
|
|
1327
1327
|
a ? (e.Buf8 = Uint8Array, e.Buf16 = Uint16Array, e.Buf32 = Int32Array, e.assign(e, i)) : (e.Buf8 = Array, e.Buf16 = Array, e.Buf32 = Array, e.assign(e, n));
|
|
1328
1328
|
}, e.setTyped(t);
|
|
1329
|
-
})),
|
|
1329
|
+
})), bs = X.__commonJSMin(((e) => {
|
|
1330
1330
|
var t = Ke(), r = 4, i = 0, n = 1, a = 2;
|
|
1331
1331
|
function s(S) {
|
|
1332
1332
|
for (var V = S.length; --V >= 0;) S[V] = 0;
|
|
@@ -1635,8 +1635,8 @@ __useblocks__.define("static/core/af4d7f64.js", [
|
|
|
1635
1635
|
"-5": "buffer error",
|
|
1636
1636
|
"-6": "incompatible version"
|
|
1637
1637
|
};
|
|
1638
|
-
})),
|
|
1639
|
-
var t = Ke(), r =
|
|
1638
|
+
})), _s = X.__commonJSMin(((e) => {
|
|
1639
|
+
var t = Ke(), r = bs(), i = pi(), n = fi(), a = ln(), s = 0, l = 1, u = 3, m = 4, b = 5, w = 0, p = 1, c = -2, h = -3, E = -5, T = -1, I = 1, _ = 2, C = 3, d = 4, f = 0, y = 2, x = 8, A = 9, O = 15, R = 8, F = 286, H = 30, Q = 19, Y = 2 * F + 1, $ = 15, q = 3, ne = 258, se = ne + q + 1, fe = 32, de = 42, pe = 69, ge = 73, he = 91, ue = 103, ae = 113, ye = 666, te = 1, K = 2, Se = 3, J = 4, $e = 3;
|
|
1640
1640
|
function Ne(o, P) {
|
|
1641
1641
|
return o.msg = a[P], P;
|
|
1642
1642
|
}
|
|
@@ -1936,8 +1936,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
1936
1936
|
this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
|
|
1937
1937
|
}
|
|
1938
1938
|
t.exports = r;
|
|
1939
|
-
})),
|
|
1940
|
-
var t =
|
|
1939
|
+
})), ys = X.__commonJSMin(((e) => {
|
|
1940
|
+
var t = _s(), r = Ke(), i = hi(), n = ln(), a = mi(), s = Object.prototype.toString, l = 0, u = 4, m = 0, b = 1, w = 2, p = -1, c = 0, h = 8;
|
|
1941
1941
|
function E(C) {
|
|
1942
1942
|
if (!(this instanceof E)) return new E(C);
|
|
1943
1943
|
this.options = r.assign({
|
|
@@ -1985,7 +1985,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
1985
1985
|
return d = d || {}, d.gzip = !0, T(C, d);
|
|
1986
1986
|
}
|
|
1987
1987
|
e.Deflate = E, e.deflate = T, e.deflateRaw = I, e.gzip = _;
|
|
1988
|
-
})),
|
|
1988
|
+
})), ws = X.__commonJSMin(((e, t) => {
|
|
1989
1989
|
var r = 30, i = 12;
|
|
1990
1990
|
t.exports = function(a, s) {
|
|
1991
1991
|
var l = a.state, u = a.next_in, m, b, w, p, c, h, E, T, I, _, C, d, f, y, x, A, O, R, F, H, Q, Y = a.input, $;
|
|
@@ -2069,7 +2069,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2069
2069
|
} while (u < m && b < p);
|
|
2070
2070
|
R = C >> 3, u -= R, C -= R << 3, _ &= (1 << C) - 1, a.next_in = u, a.next_out = b, a.avail_in = u < m ? 5 + (m - u) : 5 - (u - m), a.avail_out = b < p ? 257 + (p - b) : 257 - (b - p), l.hold = _, l.bits = C;
|
|
2071
2071
|
};
|
|
2072
|
-
})),
|
|
2072
|
+
})), Es = X.__commonJSMin(((e, t) => {
|
|
2073
2073
|
var r = Ke(), i = 15, n = 852, a = 592, s = 0, l = 1, u = 2, m = [
|
|
2074
2074
|
3,
|
|
2075
2075
|
4,
|
|
@@ -2231,8 +2231,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2231
2231
|
}
|
|
2232
2232
|
return q !== 0 && (_[pe + q] = x - Q << 24 | 4194304), f.bits = F, 0;
|
|
2233
2233
|
};
|
|
2234
|
-
})),
|
|
2235
|
-
var t = Ke(), r = pi(), i = fi(), n =
|
|
2234
|
+
})), xs = X.__commonJSMin(((e) => {
|
|
2235
|
+
var t = Ke(), r = pi(), i = fi(), n = ws(), a = Es(), s = 0, l = 1, u = 2, m = 4, b = 5, w = 6, p = 0, c = 1, h = 2, E = -2, T = -3, I = -4, _ = -5, C = 8, d = 1, f = 2, y = 3, x = 4, A = 5, O = 6, R = 7, F = 8, H = 9, Q = 10, Y = 11, $ = 12, q = 13, ne = 14, se = 15, fe = 16, de = 17, pe = 18, ge = 19, he = 20, ue = 21, ae = 22, ye = 23, te = 24, K = 25, Se = 26, J = 27, $e = 28, Ne = 29, ce = 30, Oe = 31, je = 32, Ee = 852, oe = 592, We = 15;
|
|
2236
2236
|
function ht(N) {
|
|
2237
2237
|
return (N >>> 24 & 255) + (N >>> 8 & 65280) + ((N & 65280) << 8) + ((N & 255) << 24);
|
|
2238
2238
|
}
|
|
@@ -2276,7 +2276,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2276
2276
|
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;
|
|
2277
2277
|
}
|
|
2278
2278
|
function Tt(N, U) {
|
|
2279
|
-
var v, B, o, P, W, g, z, j, L, ee, ie, Z, Ze, Kt, me = 0, le, Ae, Le, Ie, nn, an, xe, Be, Ce = new t.Buf8(4), Je, Ye,
|
|
2279
|
+
var v, B, o, P, W, g, z, j, L, ee, ie, Z, Ze, Kt, me = 0, le, Ae, Le, Ie, nn, an, xe, Be, Ce = new t.Buf8(4), Je, Ye, is = [
|
|
2280
2280
|
16,
|
|
2281
2281
|
17,
|
|
2282
2282
|
18,
|
|
@@ -2471,9 +2471,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2471
2471
|
if (g === 0) break e;
|
|
2472
2472
|
g--, j += B[P++] << L, L += 8;
|
|
2473
2473
|
}
|
|
2474
|
-
v.lens[
|
|
2474
|
+
v.lens[is[v.have++]] = j & 7, j >>>= 3, L -= 3;
|
|
2475
2475
|
}
|
|
2476
|
-
for (; v.have < 19;) v.lens[
|
|
2476
|
+
for (; v.have < 19;) v.lens[is[v.have++]] = 0;
|
|
2477
2477
|
if (v.lencode = v.lendyn, v.lenbits = 7, Je = { bits: v.lenbits }, Be = a(s, v.lens, 0, 19, v.lencode, 0, v.work, Je), v.lenbits = Je.bits, Be) {
|
|
2478
2478
|
N.msg = "invalid code lengths set", v.mode = ce;
|
|
2479
2479
|
break;
|
|
@@ -2701,13 +2701,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2701
2701
|
Z_UNKNOWN: 2,
|
|
2702
2702
|
Z_DEFLATED: 8
|
|
2703
2703
|
};
|
|
2704
|
-
})),
|
|
2704
|
+
})), Ss = X.__commonJSMin(((e, t) => {
|
|
2705
2705
|
function r() {
|
|
2706
2706
|
this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
|
|
2707
2707
|
}
|
|
2708
2708
|
t.exports = r;
|
|
2709
|
-
})),
|
|
2710
|
-
var t =
|
|
2709
|
+
})), As = X.__commonJSMin(((e) => {
|
|
2710
|
+
var t = xs(), r = Ke(), i = hi(), n = gi(), a = ln(), s = mi(), l = Ss(), u = Object.prototype.toString;
|
|
2711
2711
|
function m(p) {
|
|
2712
2712
|
if (!(this instanceof m)) return new m(p);
|
|
2713
2713
|
this.options = r.assign({
|
|
@@ -2744,11 +2744,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2744
2744
|
return c = c || {}, c.raw = !0, b(p, c);
|
|
2745
2745
|
}
|
|
2746
2746
|
e.Inflate = m, e.inflate = b, e.inflateRaw = w, e.ungzip = b;
|
|
2747
|
-
})),
|
|
2748
|
-
var r = Ke().assign, i =
|
|
2747
|
+
})), Cs = X.__commonJSMin(((e, t) => {
|
|
2748
|
+
var r = Ke().assign, i = ys(), n = As(), a = gi(), s = {};
|
|
2749
2749
|
r(s, i, n, a), t.exports = s;
|
|
2750
|
-
})),
|
|
2751
|
-
var t = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", r =
|
|
2750
|
+
})), ks = X.__commonJSMin(((e) => {
|
|
2751
|
+
var t = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", r = Cs(), i = ve(), n = Fe(), a = t ? "uint8array" : "array";
|
|
2752
2752
|
e.magic = "\b\0";
|
|
2753
2753
|
function s(l, u) {
|
|
2754
2754
|
n.call(this, "FlateWorker/" + l), this._pako = null, this._pakoAction = l, this._pakoOptions = u, this.meta = {};
|
|
@@ -2786,10 +2786,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2786
2786
|
uncompressWorker: function() {
|
|
2787
2787
|
return new t("STORE decompression");
|
|
2788
2788
|
}
|
|
2789
|
-
}, e.DEFLATE =
|
|
2789
|
+
}, e.DEFLATE = ks();
|
|
2790
2790
|
})), bi = X.__commonJSMin(((e) => {
|
|
2791
2791
|
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";
|
|
2792
|
-
})),
|
|
2792
|
+
})), Ts = X.__commonJSMin(((e, t) => {
|
|
2793
2793
|
var r = ve(), i = Fe(), n = Pt(), a = on(), s = bi(), l = function(h, E) {
|
|
2794
2794
|
var T = "", I;
|
|
2795
2795
|
for (I = 0; I < E; I++) T += String.fromCharCode(h & 255), h = h >>> 8;
|
|
@@ -2894,8 +2894,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2894
2894
|
i.prototype.lock.call(this);
|
|
2895
2895
|
for (var h = this._sources, E = 0; E < h.length; E++) h[E].lock();
|
|
2896
2896
|
}, t.exports = c;
|
|
2897
|
-
})),
|
|
2898
|
-
var t = vi(), r =
|
|
2897
|
+
})), Os = X.__commonJSMin(((e) => {
|
|
2898
|
+
var t = vi(), r = Ts(), i = function(n, a) {
|
|
2899
2899
|
var s = n || a, l = t[s];
|
|
2900
2900
|
if (!l) throw new Error(s + " is not a valid compression method !");
|
|
2901
2901
|
return l;
|
|
@@ -2920,7 +2920,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2920
2920
|
}
|
|
2921
2921
|
return l;
|
|
2922
2922
|
};
|
|
2923
|
-
})),
|
|
2923
|
+
})), Ps = X.__commonJSMin(((e, t) => {
|
|
2924
2924
|
var r = ve(), i = Fe();
|
|
2925
2925
|
function n(a, s) {
|
|
2926
2926
|
i.call(this, "Nodejs stream input adapter for " + a), this._upstreamEnded = !1, this._bindStream(s);
|
|
@@ -2942,8 +2942,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
2942
2942
|
}, n.prototype.resume = function() {
|
|
2943
2943
|
return i.prototype.resume.call(this) ? (this._upstreamEnded ? this.end() : this._stream.resume(), !0) : !1;
|
|
2944
2944
|
}, t.exports = n;
|
|
2945
|
-
})),
|
|
2946
|
-
var r = Pt(), i = ve(), n = Fe(), a = li(), s = ci(), l = sn(), u =
|
|
2945
|
+
})), Rs = X.__commonJSMin(((e, t) => {
|
|
2946
|
+
var r = Pt(), i = ve(), n = Fe(), a = li(), s = ci(), l = sn(), u = vs(), m = Os(), b = tr(), w = Ps(), p = function(_, C, d) {
|
|
2947
2947
|
var f = i.getTypeOf(C), y, x = i.extend(d || {}, s);
|
|
2948
2948
|
x.date = x.date || new Date(), x.compression !== null && (x.compression = x.compression.toUpperCase()), typeof x.unixPermissions == "string" && (x.unixPermissions = parseInt(x.unixPermissions, 8)), x.unixPermissions && x.unixPermissions & 16384 && (x.dir = !0), x.dosPermissions && x.dosPermissions & 16 && (x.dir = !0), x.dir && (_ = h(_)), x.createFolders && (y = c(_)) && E.call(this, y, !0);
|
|
2949
2949
|
var A = f === "string" && x.binary === !1 && x.base64 === !1;
|
|
@@ -3096,7 +3096,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3096
3096
|
var s = this.data.slice(this.zero + this.index, this.zero + this.index + a);
|
|
3097
3097
|
return this.index += a, s;
|
|
3098
3098
|
}, t.exports = n;
|
|
3099
|
-
})),
|
|
3099
|
+
})), Ns = X.__commonJSMin(((e, t) => {
|
|
3100
3100
|
var r = _i(), i = ve();
|
|
3101
3101
|
function n(a) {
|
|
3102
3102
|
r.call(this, a);
|
|
@@ -3122,7 +3122,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3122
3122
|
var s = this.data.subarray(this.zero + this.index, this.zero + this.index + a);
|
|
3123
3123
|
return this.index += a, s;
|
|
3124
3124
|
}, t.exports = n;
|
|
3125
|
-
})),
|
|
3125
|
+
})), Is = X.__commonJSMin(((e, t) => {
|
|
3126
3126
|
var r = wi(), i = ve();
|
|
3127
3127
|
function n(a) {
|
|
3128
3128
|
r.call(this, a);
|
|
@@ -3133,12 +3133,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3133
3133
|
return this.index += a, s;
|
|
3134
3134
|
}, t.exports = n;
|
|
3135
3135
|
})), Ei = X.__commonJSMin(((e, t) => {
|
|
3136
|
-
var r = ve(), i = Xe(), n = yi(), a =
|
|
3136
|
+
var r = ve(), i = Xe(), n = yi(), a = Ns(), s = Is(), l = wi();
|
|
3137
3137
|
t.exports = function(u) {
|
|
3138
3138
|
var m = r.getTypeOf(u);
|
|
3139
3139
|
return r.checkSupport(m), m === "string" && !i.uint8array ? new a(u) : m === "nodebuffer" ? new s(u) : i.uint8array ? new l(r.transformTo("uint8array", u)) : new n(r.transformTo("array", u));
|
|
3140
3140
|
};
|
|
3141
|
-
})),
|
|
3141
|
+
})), Ms = X.__commonJSMin(((e, t) => {
|
|
3142
3142
|
var r = Ei(), i = ve(), n = sn(), a = on(), s = Pt(), l = vi(), u = Xe(), m = 0, b = 3, w = function(c) {
|
|
3143
3143
|
for (var h in l) if (Object.prototype.hasOwnProperty.call(l, h) && l[h].magic === c) return l[h];
|
|
3144
3144
|
return null;
|
|
@@ -3220,8 +3220,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3220
3220
|
return null;
|
|
3221
3221
|
}
|
|
3222
3222
|
}, t.exports = p;
|
|
3223
|
-
})),
|
|
3224
|
-
var r = Ei(), i = ve(), n = bi(), a =
|
|
3223
|
+
})), js = X.__commonJSMin(((e, t) => {
|
|
3224
|
+
var r = Ei(), i = ve(), n = bi(), a = Ms(), s = Xe();
|
|
3225
3225
|
function l(u) {
|
|
3226
3226
|
this.files = [], this.loadOptions = u;
|
|
3227
3227
|
}
|
|
@@ -3287,8 +3287,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3287
3287
|
this.prepareReader(u), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
|
|
3288
3288
|
}
|
|
3289
3289
|
}, t.exports = l;
|
|
3290
|
-
})),
|
|
3291
|
-
var r = ve(), i = Ot(), n = Pt(), a =
|
|
3290
|
+
})), Ds = X.__commonJSMin(((e, t) => {
|
|
3291
|
+
var r = ve(), i = Ot(), n = Pt(), a = js(), s = di(), l = tr();
|
|
3292
3292
|
function u(m) {
|
|
3293
3293
|
return new i.Promise(function(b, w) {
|
|
3294
3294
|
var p = m.decompressed.getContentWorker().pipe(new s());
|
|
@@ -3341,7 +3341,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3341
3341
|
return i;
|
|
3342
3342
|
};
|
|
3343
3343
|
}
|
|
3344
|
-
r.prototype =
|
|
3344
|
+
r.prototype = Rs(), r.prototype.loadAsync = Ds(), r.support = Xe(), r.defaults = ci(), r.version = "3.10.1", r.loadAsync = function(i, n) {
|
|
3345
3345
|
return new r().loadAsync(i, n);
|
|
3346
3346
|
}, r.external = Ot(), t.exports = r;
|
|
3347
3347
|
})), Si = X.__toESM(xi());
|
|
@@ -3398,7 +3398,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3398
3398
|
}]
|
|
3399
3399
|
})
|
|
3400
3400
|
})
|
|
3401
|
-
}), { useSendMessageMutation:
|
|
3401
|
+
}), { useSendMessageMutation: Ls, useGetDialogQuery: Fs, useLazyGetDialogQuery: Us } = Rt, Nt = k.createApi({
|
|
3402
3402
|
reducerPath: "proxyApi",
|
|
3403
3403
|
tagTypes: ["Proxy"],
|
|
3404
3404
|
baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/wp-json/cors-proxy/v1/get" }),
|
|
@@ -3415,7 +3415,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3415
3415
|
extraQuery: { url: encodeURIComponent(t) }
|
|
3416
3416
|
}));
|
|
3417
3417
|
} }) })
|
|
3418
|
-
}), { useGetFileQuery:
|
|
3418
|
+
}), { useGetFileQuery: af, useLazyGetFileQuery: zs } = Nt, It = k.createApi({
|
|
3419
3419
|
reducerPath: "promoApi",
|
|
3420
3420
|
baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
3421
3421
|
endpoints: (e) => ({
|
|
@@ -3427,7 +3427,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3427
3427
|
return k.getClient(r).promo.get_code_info_list({ code: t });
|
|
3428
3428
|
} })
|
|
3429
3429
|
})
|
|
3430
|
-
}), { useCheckPromoMutation:
|
|
3430
|
+
}), { useCheckPromoMutation: of, useGetPromoInfoQuery: sf } = It, cn = "LOCALES", at = k.createApi({
|
|
3431
3431
|
reducerPath: "localesApi",
|
|
3432
3432
|
tagTypes: [cn],
|
|
3433
3433
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://app.useblocks.io/api/wp-json/translations/v1" }),
|
|
@@ -3462,7 +3462,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3462
3462
|
}]
|
|
3463
3463
|
})
|
|
3464
3464
|
})
|
|
3465
|
-
}), { useGetLocalesQuery:
|
|
3465
|
+
}), { useGetLocalesQuery: lf, useGetLocaleQuery: cf, useLazyGetLocaleQuery: Bs, useLazyGetLocalesQuery: qs } = at, Mt = k.createApi({
|
|
3466
3466
|
reducerPath: "saveFileApi",
|
|
3467
3467
|
tagTypes: ["Images"],
|
|
3468
3468
|
baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/wp-json/save-file/v1/" }),
|
|
@@ -3480,7 +3480,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3480
3480
|
return k.getClient(r).saveFile.shortener_create(t, { type: k.ContentType$1.FormData });
|
|
3481
3481
|
} })
|
|
3482
3482
|
})
|
|
3483
|
-
}), { useUploadImageMutation:
|
|
3483
|
+
}), { useUploadImageMutation: Hs, useSendTestEmailMutation: $s, useSendLivePreviewMutation: Ws, useSendShortLinkMutation: Qs } = Mt, ki = "EmailRaw", jt = k.createApi({
|
|
3484
3484
|
reducerPath: "emailRawApi",
|
|
3485
3485
|
tagTypes: [ki],
|
|
3486
3486
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://app.useblocks.io/api/wp-json/wp/v2/" }),
|
|
@@ -3493,7 +3493,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3493
3493
|
id: i
|
|
3494
3494
|
}]
|
|
3495
3495
|
}) })
|
|
3496
|
-
}), { useGetEmailRawQuery:
|
|
3496
|
+
}), { useGetEmailRawQuery: uf } = jt, Ti = "Optimise", Vs = "usage_limit_exceeded", Gs = async (e, t, r) => {
|
|
3497
3497
|
const i = await k.fetchBaseQueryApp({ baseUrl: `${k.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
3498
3498
|
if (i.error) {
|
|
3499
3499
|
let n = i.error;
|
|
@@ -3508,7 +3508,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3508
3508
|
}, nr = k.createApi({
|
|
3509
3509
|
reducerPath: "optimiseApi",
|
|
3510
3510
|
tagTypes: [Ti],
|
|
3511
|
-
baseQuery:
|
|
3511
|
+
baseQuery: Gs,
|
|
3512
3512
|
endpoints: (e) => ({
|
|
3513
3513
|
editLinks: e.mutation({
|
|
3514
3514
|
query: (t) => ({
|
|
@@ -3544,7 +3544,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3544
3544
|
body: t
|
|
3545
3545
|
}) })
|
|
3546
3546
|
})
|
|
3547
|
-
}), { useEditLinksMutation:
|
|
3547
|
+
}), { useEditLinksMutation: Zs, useEditImagesMutation: Ys, useEditSpamMutation: Js } = nr, Xs = async (e, t, r) => {
|
|
3548
3548
|
try {
|
|
3549
3549
|
const { notification: i, ...n } = e, a = await k.fetchBaseQuery({ baseUrl: "https://racs.rest/v3" })(n, t, r);
|
|
3550
3550
|
if (a.error) throw new Error();
|
|
@@ -3554,7 +3554,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3554
3554
|
}
|
|
3555
3555
|
}, ir = k.createApi({
|
|
3556
3556
|
reducerPath: "exportPngApi",
|
|
3557
|
-
baseQuery:
|
|
3557
|
+
baseQuery: Xs,
|
|
3558
3558
|
endpoints: (e) => ({
|
|
3559
3559
|
makeTemporaryMailForPng: e.mutation({ query: ({ file: t, title: r, notification: i }) => {
|
|
3560
3560
|
const n = new Blob([t], { type: "text/html" }), a = new FormData();
|
|
@@ -3571,7 +3571,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3571
3571
|
notification: r
|
|
3572
3572
|
}) })
|
|
3573
3573
|
})
|
|
3574
|
-
}), { useMakeTemporaryMailForPngMutation:
|
|
3574
|
+
}), { useMakeTemporaryMailForPngMutation: Ks, useDeleteTemporaryMailMutation: el } = ir, ar = k.createApi({
|
|
3575
3575
|
reducerPath: "yandexAuthApi",
|
|
3576
3576
|
baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3577
3577
|
endpoints: (e) => ({ validateYandexToken: e.mutation({ query: (t) => ({
|
|
@@ -3579,7 +3579,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3579
3579
|
method: "POST",
|
|
3580
3580
|
body: t
|
|
3581
3581
|
}) }) })
|
|
3582
|
-
}), { useValidateYandexTokenMutation:
|
|
3582
|
+
}), { useValidateYandexTokenMutation: df } = ar, or = k.createApi({
|
|
3583
3583
|
reducerPath: "elamaAuthApi",
|
|
3584
3584
|
baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3585
3585
|
endpoints: (e) => ({ validateElamaCode: e.mutation({ query: (t) => ({
|
|
@@ -3587,7 +3587,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3587
3587
|
method: "POST",
|
|
3588
3588
|
body: t
|
|
3589
3589
|
}) }) })
|
|
3590
|
-
}), { useValidateElamaCodeMutation:
|
|
3590
|
+
}), { useValidateElamaCodeMutation: pf } = or, sr = k.createApi({
|
|
3591
3591
|
reducerPath: "googleAuthApi",
|
|
3592
3592
|
baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3593
3593
|
endpoints: (e) => ({ validateGoogleToken: e.mutation({ query: (t) => ({
|
|
@@ -3595,7 +3595,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3595
3595
|
method: "POST",
|
|
3596
3596
|
body: t
|
|
3597
3597
|
}) }) })
|
|
3598
|
-
}), { useValidateGoogleTokenMutation:
|
|
3598
|
+
}), { useValidateGoogleTokenMutation: ff } = sr, lr = k.createApi({
|
|
3599
3599
|
reducerPath: "webHookApi",
|
|
3600
3600
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3601
3601
|
endpoints: (e) => ({ postDataByWebHook: e.mutation({ query: ({ url: t, body: r }) => ({
|
|
@@ -3603,7 +3603,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3603
3603
|
method: "POST",
|
|
3604
3604
|
body: r
|
|
3605
3605
|
}) }) })
|
|
3606
|
-
}), { usePostDataByWebHookMutation:
|
|
3606
|
+
}), { usePostDataByWebHookMutation: tl } = lr, cr = k.createApi({
|
|
3607
3607
|
reducerPath: "unisenderApi",
|
|
3608
3608
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3609
3609
|
endpoints: (e) => ({ createEmailMessage: e.mutation({ query: (t) => {
|
|
@@ -3617,7 +3617,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3617
3617
|
body: i.toString()
|
|
3618
3618
|
};
|
|
3619
3619
|
} }) })
|
|
3620
|
-
}), { useCreateEmailMessageMutation:
|
|
3620
|
+
}), { useCreateEmailMessageMutation: rl } = cr, ur = k.createApi({
|
|
3621
3621
|
reducerPath: "mailganerApi",
|
|
3622
3622
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://mailganer.com" }),
|
|
3623
3623
|
endpoints: (e) => ({ createMailing: e.mutation({ query: (t) => {
|
|
@@ -3629,7 +3629,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3629
3629
|
body: r.toString()
|
|
3630
3630
|
};
|
|
3631
3631
|
} }) })
|
|
3632
|
-
}), { useCreateMailingMutation:
|
|
3632
|
+
}), { useCreateMailingMutation: nl } = ur, dr = k.createApi({
|
|
3633
3633
|
reducerPath: "sendsayApi",
|
|
3634
3634
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://api.sendsay.ru" }),
|
|
3635
3635
|
endpoints: (e) => ({ createDraft: e.mutation({ query: (t) => {
|
|
@@ -3654,7 +3654,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3654
3654
|
body: r
|
|
3655
3655
|
};
|
|
3656
3656
|
} }) })
|
|
3657
|
-
}), { useCreateDraftMutation:
|
|
3657
|
+
}), { useCreateDraftMutation: il } = dr, pr = k.createApi({
|
|
3658
3658
|
reducerPath: "altcraftApi",
|
|
3659
3659
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3660
3660
|
endpoints: (e) => ({ addTemplate: e.mutation({ query: (t) => {
|
|
@@ -3683,11 +3683,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3683
3683
|
body: JSON.stringify(i)
|
|
3684
3684
|
};
|
|
3685
3685
|
} }) })
|
|
3686
|
-
}), { useAddTemplateMutation:
|
|
3686
|
+
}), { useAddTemplateMutation: al } = pr, ol = (e) => e.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "").replace(/<script[^>]*>[\s\S]*?<\/script>/gi, "").replace(/<[^>]+>/g, " ").replace(/ /g, " ").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, "\"").replace(/\s+/g, " ").trim(), fr = k.createApi({
|
|
3687
3687
|
reducerPath: "enkodApi",
|
|
3688
3688
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://api.enkod.ru" }),
|
|
3689
3689
|
endpoints: (e) => ({ createMessage: e.mutation({ query: (t) => {
|
|
3690
|
-
const r =
|
|
3690
|
+
const r = ol(t.html_content) || t.subject, i = {
|
|
3691
3691
|
message: {
|
|
3692
3692
|
subject: t.subject,
|
|
3693
3693
|
fromEmail: t.sender_email || "",
|
|
@@ -3707,14 +3707,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3707
3707
|
body: i
|
|
3708
3708
|
};
|
|
3709
3709
|
} }) })
|
|
3710
|
-
}), { useCreateMessageMutation:
|
|
3710
|
+
}), { useCreateMessageMutation: sl } = fr, ll = (e) => {
|
|
3711
3711
|
const t = e.split("-");
|
|
3712
3712
|
return t.length > 1 ? t[1] : "us1";
|
|
3713
|
-
},
|
|
3713
|
+
}, cl = (e) => `https://${ll(e)}.api.mailchimp.com/3.0`, hr = k.createApi({
|
|
3714
3714
|
reducerPath: "mailchimpApi",
|
|
3715
3715
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3716
3716
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
3717
|
-
const a =
|
|
3717
|
+
const a = cl(t.api_key), s = btoa(`anystring:${t.api_key}`), l = {
|
|
3718
3718
|
type: "regular",
|
|
3719
3719
|
recipients: { list_id: t.list_id },
|
|
3720
3720
|
settings: {
|
|
@@ -3765,16 +3765,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3765
3765
|
web_id: m.web_id
|
|
3766
3766
|
} };
|
|
3767
3767
|
} }) })
|
|
3768
|
-
}), { useCreateCampaignMutation:
|
|
3768
|
+
}), { useCreateCampaignMutation: ul } = hr, un = "https://a.klaviyo.com/api", dl = "2025-04-15", pl = (e) => ({
|
|
3769
3769
|
"Content-Type": "application/json",
|
|
3770
3770
|
Accept: "application/json",
|
|
3771
3771
|
Authorization: `Klaviyo-API-Key ${e}`,
|
|
3772
|
-
revision:
|
|
3772
|
+
revision: dl
|
|
3773
3773
|
}), mr = k.createApi({
|
|
3774
3774
|
reducerPath: "klaviyoApi",
|
|
3775
3775
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3776
3776
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
3777
|
-
const a =
|
|
3777
|
+
const a = pl(t.api_key), s = { data: {
|
|
3778
3778
|
type: "template",
|
|
3779
3779
|
attributes: {
|
|
3780
3780
|
name: `Email ${Date.now()}`,
|
|
@@ -3865,14 +3865,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3865
3865
|
campaign_message_id: p
|
|
3866
3866
|
} };
|
|
3867
3867
|
} }) })
|
|
3868
|
-
}), { useCreateCampaignMutation:
|
|
3868
|
+
}), { useCreateCampaignMutation: fl } = mr, hl = "https://api.hubapi.com", ml = (e) => ({
|
|
3869
3869
|
"Content-Type": "application/json",
|
|
3870
3870
|
Authorization: `Bearer ${e}`
|
|
3871
3871
|
}), gr = k.createApi({
|
|
3872
3872
|
reducerPath: "hubspotApi",
|
|
3873
3873
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3874
3874
|
endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
3875
|
-
const a =
|
|
3875
|
+
const a = ml(t.api_key), s = {
|
|
3876
3876
|
name: t.name,
|
|
3877
3877
|
subject: t.subject,
|
|
3878
3878
|
from: {
|
|
@@ -3914,7 +3914,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3914
3914
|
}
|
|
3915
3915
|
}
|
|
3916
3916
|
}, l = await n({
|
|
3917
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3917
|
+
url: `?proxy_url=${encodeURIComponent(`${hl}/marketing/v3/emails/`)}`,
|
|
3918
3918
|
method: "POST",
|
|
3919
3919
|
headers: a,
|
|
3920
3920
|
body: JSON.stringify(s)
|
|
@@ -3932,7 +3932,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3932
3932
|
error: l.data?.errors?.map((m) => m.message || m.errorType).join("; ") || "Failed to create email"
|
|
3933
3933
|
} };
|
|
3934
3934
|
} }) })
|
|
3935
|
-
}), { useCreateEmailMutation:
|
|
3935
|
+
}), { useCreateEmailMutation: gl } = gr, vr = k.createApi({
|
|
3936
3936
|
reducerPath: "salesforceMcApi",
|
|
3937
3937
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3938
3938
|
endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
@@ -3993,11 +3993,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
3993
3993
|
error: w.data?.errors?.map((c) => c.message).join("; ") || "Failed to create email"
|
|
3994
3994
|
} };
|
|
3995
3995
|
} }) })
|
|
3996
|
-
}), { useCreateEmailMutation:
|
|
3996
|
+
}), { useCreateEmailMutation: vl } = vr, bl = (e) => e.replace(/\/$/, ""), _l = (e) => e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim() || " ", br = k.createApi({
|
|
3997
3997
|
reducerPath: "activecampaignApi",
|
|
3998
3998
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3999
3999
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
4000
|
-
const a =
|
|
4000
|
+
const a = bl(t.api_url), s = t.api_key, l = {
|
|
4001
4001
|
"Content-Type": "application/json",
|
|
4002
4002
|
"Api-Token": s
|
|
4003
4003
|
}, u = await n({
|
|
@@ -4022,7 +4022,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4022
4022
|
reply2: t.from_email,
|
|
4023
4023
|
subject: t.subject,
|
|
4024
4024
|
html: t.html,
|
|
4025
|
-
text:
|
|
4025
|
+
text: _l(t.html),
|
|
4026
4026
|
preheader_text: "",
|
|
4027
4027
|
format: "mime"
|
|
4028
4028
|
} }, p = await n({
|
|
@@ -4072,7 +4072,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4072
4072
|
error: I?.result_message || "Campaign created but no ID returned."
|
|
4073
4073
|
} };
|
|
4074
4074
|
} }) })
|
|
4075
|
-
}), { useCreateCampaignMutation:
|
|
4075
|
+
}), { useCreateCampaignMutation: yl } = br, wl = "https://api.brevo.com/v3", _r = k.createApi({
|
|
4076
4076
|
reducerPath: "brevoApi",
|
|
4077
4077
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4078
4078
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
@@ -4086,7 +4086,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4086
4086
|
htmlContent: t.html,
|
|
4087
4087
|
recipients: { listIds: [t.list_id] }
|
|
4088
4088
|
}, s = await n({
|
|
4089
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
4089
|
+
url: `?proxy_url=${encodeURIComponent(`${wl}/emailCampaigns`)}`,
|
|
4090
4090
|
method: "POST",
|
|
4091
4091
|
headers: {
|
|
4092
4092
|
"Content-Type": "application/json",
|
|
@@ -4107,7 +4107,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4107
4107
|
error: s.data?.message || "Failed to create campaign"
|
|
4108
4108
|
} };
|
|
4109
4109
|
} }) })
|
|
4110
|
-
}), { useCreateCampaignMutation:
|
|
4110
|
+
}), { useCreateCampaignMutation: El } = _r, xl = "https://api.createsend.com/api/v3.3", Sl = (e) => `Basic ${btoa(`${e}:x`)}`, yr = k.createApi({
|
|
4111
4111
|
reducerPath: "campaignMonitorApi",
|
|
4112
4112
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4113
4113
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
@@ -4121,11 +4121,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4121
4121
|
ListIDs: [t.list_id],
|
|
4122
4122
|
InlineCss: !0
|
|
4123
4123
|
}, s = await n({
|
|
4124
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
4124
|
+
url: `?proxy_url=${encodeURIComponent(`${xl}/campaigns/${t.client_id}.json`)}`,
|
|
4125
4125
|
method: "POST",
|
|
4126
4126
|
headers: {
|
|
4127
4127
|
"Content-Type": "application/json",
|
|
4128
|
-
Authorization:
|
|
4128
|
+
Authorization: Sl(t.api_key)
|
|
4129
4129
|
},
|
|
4130
4130
|
body: JSON.stringify(a)
|
|
4131
4131
|
});
|
|
@@ -4142,11 +4142,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4142
4142
|
error: l?.Message || "Failed to create campaign"
|
|
4143
4143
|
} } : { data: { id: u } };
|
|
4144
4144
|
} }) })
|
|
4145
|
-
}), { useCreateCampaignMutation:
|
|
4145
|
+
}), { useCreateCampaignMutation: Al } = yr, Oi = "https://api.cc.email/v3", Cl = (e) => e.includes("[[trackingImage]]") ? e : e.replace(/<body([^>]*)>/i, "<body$1>[[trackingImage]]"), wr = k.createApi({
|
|
4146
4146
|
reducerPath: "constantContactApi",
|
|
4147
4147
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4148
4148
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
4149
|
-
const a =
|
|
4149
|
+
const a = Cl(t.html), s = {
|
|
4150
4150
|
name: t.name,
|
|
4151
4151
|
email_campaign_activities: [{
|
|
4152
4152
|
format_type: 5,
|
|
@@ -4208,7 +4208,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4208
4208
|
}
|
|
4209
4209
|
return { data: { campaign_id: b } };
|
|
4210
4210
|
} }) })
|
|
4211
|
-
}), { useCreateCampaignMutation:
|
|
4211
|
+
}), { useCreateCampaignMutation: kl } = wr, Tl = "https://api.getresponse.com/v3", Ol = (e) => `api-key ${e}`, Er = k.createApi({
|
|
4212
4212
|
reducerPath: "getresponseApi",
|
|
4213
4213
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4214
4214
|
endpoints: (e) => ({ createNewsletter: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
@@ -4226,11 +4226,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4226
4226
|
flags: ["openrate", "clicktrack"],
|
|
4227
4227
|
sendSettings: { selectedCampaigns: [t.campaign_id] }
|
|
4228
4228
|
}, l = await n({
|
|
4229
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
4229
|
+
url: `?proxy_url=${encodeURIComponent(`${Tl}/newsletters`)}`,
|
|
4230
4230
|
method: "POST",
|
|
4231
4231
|
headers: {
|
|
4232
4232
|
"Content-Type": "application/json",
|
|
4233
|
-
"X-Auth-Token":
|
|
4233
|
+
"X-Auth-Token": Ol(t.api_key)
|
|
4234
4234
|
},
|
|
4235
4235
|
body: JSON.stringify(s)
|
|
4236
4236
|
});
|
|
@@ -4247,11 +4247,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4247
4247
|
error: l.data?.message || "Failed to create newsletter"
|
|
4248
4248
|
} };
|
|
4249
4249
|
} }) })
|
|
4250
|
-
}), { useCreateNewsletterMutation:
|
|
4250
|
+
}), { useCreateNewsletterMutation: Pl } = Er, Rl = (e) => `https://${e || "r1"}-api.dotdigital.com/v2`, Pi = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Ri = (e) => e && typeof e == "object" && "data" in e && e.data !== void 0 ? e.data : e, Ni = (e) => e.trim().toLowerCase(), xr = k.createApi({
|
|
4251
4251
|
reducerPath: "dotdigitalApi",
|
|
4252
4252
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4253
4253
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
4254
|
-
const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), s =
|
|
4254
|
+
const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), s = Rl(t.region), l = {
|
|
4255
4255
|
"Content-Type": "application/json",
|
|
4256
4256
|
Authorization: Pi(t.username, t.password)
|
|
4257
4257
|
}, u = await n({
|
|
@@ -4294,7 +4294,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4294
4294
|
error: h.data?.message || E?.message || "Failed to create campaign"
|
|
4295
4295
|
} };
|
|
4296
4296
|
} }) })
|
|
4297
|
-
}), { useCreateCampaignMutation:
|
|
4297
|
+
}), { useCreateCampaignMutation: Nl } = xr, Il = "https://app.bentonow.com/api/v1", Ml = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Sr = k.createApi({
|
|
4298
4298
|
reducerPath: "bentoApi",
|
|
4299
4299
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4300
4300
|
endpoints: (e) => ({ createBroadcast: e.mutation({ queryFn: async (t, r, i, n) => {
|
|
@@ -4312,12 +4312,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4312
4312
|
segment_id: t.segment_id || "",
|
|
4313
4313
|
batch_size_per_hour: 500,
|
|
4314
4314
|
approved: !1
|
|
4315
|
-
}] }, s = `${
|
|
4315
|
+
}] }, s = `${Il}/batch/broadcasts?site_uuid=${encodeURIComponent(t.site_uuid)}`, l = await n({
|
|
4316
4316
|
url: `?proxy_url=${encodeURIComponent(s)}`,
|
|
4317
4317
|
method: "POST",
|
|
4318
4318
|
headers: {
|
|
4319
4319
|
"Content-Type": "application/json",
|
|
4320
|
-
Authorization:
|
|
4320
|
+
Authorization: Ml(t.publishable_key, t.secret_key),
|
|
4321
4321
|
"User-Agent": "EmailMaker/1.0"
|
|
4322
4322
|
},
|
|
4323
4323
|
body: JSON.stringify(a)
|
|
@@ -4331,11 +4331,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4331
4331
|
}
|
|
4332
4332
|
return { data: { count: l.data?.count ?? 1 } };
|
|
4333
4333
|
} }) })
|
|
4334
|
-
}), { useCreateBroadcastMutation:
|
|
4335
|
-
function
|
|
4334
|
+
}), { useCreateBroadcastMutation: jl } = Sr, Dl = Me.require_eventsource();
|
|
4335
|
+
function Ll(e, t) {
|
|
4336
4336
|
e === !0 || typeof t != "function" || t();
|
|
4337
4337
|
}
|
|
4338
|
-
var
|
|
4338
|
+
var Fl = async (e, t, r) => {
|
|
4339
4339
|
const i = await k.fetchBaseQueryApp({ baseUrl: k.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "") })(e, t, r);
|
|
4340
4340
|
if (i.error) {
|
|
4341
4341
|
let n = i.error;
|
|
@@ -4349,7 +4349,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4349
4349
|
return i;
|
|
4350
4350
|
}, Ar = k.createApi({
|
|
4351
4351
|
reducerPath: "AiApiGenerator",
|
|
4352
|
-
baseQuery:
|
|
4352
|
+
baseQuery: Fl,
|
|
4353
4353
|
endpoints: (e) => ({
|
|
4354
4354
|
generateIdForTask: e.mutation({ queryFn(t, r) {
|
|
4355
4355
|
return k.getAIClient(r).tasks.tasksControllerCreateTask(t).then((i) => i);
|
|
@@ -4360,7 +4360,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4360
4360
|
getGeneratedContent: e.query({
|
|
4361
4361
|
queryFn: (t) => ({ data: [] }),
|
|
4362
4362
|
async onCacheEntryAdded({ id: t, setError: r }, i) {
|
|
4363
|
-
const { updateCachedData: n, cacheEntryRemoved: a } = i, s = k.getClient(i).baseUrl.indexOf("emailmaker") >= 0 ? k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, l = k.PLUGIN.isPlugin ? await k.di.getInstance(i, Me.TOKEN_ID) : k.api.get(k.APP_COOKIES.em_token), u = l ? { Authorization: `Bearer ${l}` } : {}, m = new
|
|
4363
|
+
const { updateCachedData: n, cacheEntryRemoved: a } = i, s = k.getClient(i).baseUrl.indexOf("emailmaker") >= 0 ? k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : k.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, l = k.PLUGIN.isPlugin ? await k.di.getInstance(i, Me.TOKEN_ID) : k.api.get(k.APP_COOKIES.em_token), u = l ? { Authorization: `Bearer ${l}` } : {}, m = new Dl.EventSourcePolyfill(`${s}/tasks/${t}`, { headers: u });
|
|
4364
4364
|
m.onmessage = (b) => {
|
|
4365
4365
|
const w = JSON.parse(b.data);
|
|
4366
4366
|
n((p) => {
|
|
@@ -4377,7 +4377,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4377
4377
|
body: t
|
|
4378
4378
|
}) })
|
|
4379
4379
|
})
|
|
4380
|
-
}), { useGenerateIdForTaskMutation:
|
|
4380
|
+
}), { useGenerateIdForTaskMutation: hf, useGetGeneratedContentQuery: mf, useLazyClearAiChatQuery: Ul, useLazyGetGeneratedContentQuery: zl, useGetAiGenerateStatusMutation: Bl } = Ar, Ii = async (e) => {
|
|
4381
4381
|
const t = await e.text();
|
|
4382
4382
|
let r = t;
|
|
4383
4383
|
try {
|
|
@@ -4386,7 +4386,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4386
4386
|
r = t;
|
|
4387
4387
|
}
|
|
4388
4388
|
return r;
|
|
4389
|
-
},
|
|
4389
|
+
}, ql = (e, t, r) => {
|
|
4390
4390
|
if (!e) throw new Error(`Set ${r}`);
|
|
4391
4391
|
return {
|
|
4392
4392
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4395,7 +4395,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4395
4395
|
body: t,
|
|
4396
4396
|
responseHandler: Ii
|
|
4397
4397
|
};
|
|
4398
|
-
},
|
|
4398
|
+
}, Hl = (e, t, r) => {
|
|
4399
4399
|
if (!e) throw new Error(`Set ${r}`);
|
|
4400
4400
|
return {
|
|
4401
4401
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4407,10 +4407,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4407
4407
|
reducerPath: "requestPlaneApi",
|
|
4408
4408
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4409
4409
|
endpoints: (e) => ({
|
|
4410
|
-
getRequest: e.mutation({ query: (t) =>
|
|
4411
|
-
getInvoiceRequest: e.mutation({ query: (t) =>
|
|
4410
|
+
getRequest: e.mutation({ query: (t) => Hl("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
4411
|
+
getInvoiceRequest: e.mutation({ query: (t) => ql("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
4412
4412
|
})
|
|
4413
|
-
}), { useGetRequestMutation:
|
|
4413
|
+
}), { useGetRequestMutation: gf, useGetInvoiceRequestMutation: $l } = Cr, Wl = async (e, t, r) => {
|
|
4414
4414
|
try {
|
|
4415
4415
|
const { notification: i, ...n } = e, a = await k.fetchBaseQuery({ baseUrl: "https://html2pdf.emcdn.ru/convert/html-to-pdf" })(n, t, r);
|
|
4416
4416
|
if (a.error) throw new Error();
|
|
@@ -4420,7 +4420,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4420
4420
|
}
|
|
4421
4421
|
}, kr = k.createApi({
|
|
4422
4422
|
reducerPath: "htmlToPdfPlusApi",
|
|
4423
|
-
baseQuery:
|
|
4423
|
+
baseQuery: Wl,
|
|
4424
4424
|
endpoints: (e) => ({ generateHtmlToPdf: e.mutation({ query: ({ htmlContent: t, notification: r }) => ({
|
|
4425
4425
|
url: "",
|
|
4426
4426
|
method: "POST",
|
|
@@ -4428,7 +4428,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4428
4428
|
notification: r,
|
|
4429
4429
|
responseHandler: (i) => i.blob()
|
|
4430
4430
|
}) }) })
|
|
4431
|
-
}), { useGenerateHtmlToPdfMutation:
|
|
4431
|
+
}), { useGenerateHtmlToPdfMutation: Ql } = kr, Tr = k.createApi({
|
|
4432
4432
|
reducerPath: "layoutConverterApi",
|
|
4433
4433
|
baseQuery: k.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
4434
4434
|
endpoints: (e) => ({
|
|
@@ -4442,7 +4442,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4442
4442
|
method: "GET"
|
|
4443
4443
|
}) })
|
|
4444
4444
|
})
|
|
4445
|
-
}), { useCreateConvertJobMutation:
|
|
4445
|
+
}), { useCreateConvertJobMutation: Vl, useLazyGetConvertJobStatusQuery: Gl } = Tr;
|
|
4446
4446
|
function Mi({ title: e, content: t, acf: { seen: r, type: i, event: n, data: a }, ...s }) {
|
|
4447
4447
|
return {
|
|
4448
4448
|
...s,
|
|
@@ -4487,7 +4487,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4487
4487
|
}]
|
|
4488
4488
|
})
|
|
4489
4489
|
})
|
|
4490
|
-
}), { useGetNotificationsQuery:
|
|
4490
|
+
}), { useGetNotificationsQuery: Zl, useNotificationShownMutation: Yl } = Lt, Or = k.createApi({
|
|
4491
4491
|
reducerPath: "getCheckoutUrlApi",
|
|
4492
4492
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4493
4493
|
endpoints: (e) => ({ GetCheckoutUrl: e.mutation({ query: (t) => ({
|
|
@@ -4495,7 +4495,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4495
4495
|
method: "POST",
|
|
4496
4496
|
body: t
|
|
4497
4497
|
}) }) })
|
|
4498
|
-
}), { useGetCheckoutUrlMutation:
|
|
4498
|
+
}), { useGetCheckoutUrlMutation: Jl } = Or, dn = k.createApi({
|
|
4499
4499
|
reducerPath: "recoverPasswordApi",
|
|
4500
4500
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://app.useblocks.io/api/wp-json/bdpwr/v1/" }),
|
|
4501
4501
|
endpoints: () => ({})
|
|
@@ -4505,22 +4505,22 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4505
4505
|
endpoints: (e) => ({ addUserToProject: e.mutation({ queryFn(t, r) {
|
|
4506
4506
|
return k.getClient(r).userToProject.add_user_create(t, { type: k.ContentType$1.FormData });
|
|
4507
4507
|
} }) })
|
|
4508
|
-
}), { useAddUserToProjectMutation:
|
|
4508
|
+
}), { useAddUserToProjectMutation: vf } = Ft, Pr = k.createApi({
|
|
4509
4509
|
reducerPath: "confirmationMailApi",
|
|
4510
4510
|
baseQuery: k.fetchBaseQuery({
|
|
4511
4511
|
baseUrl: "https://px0.useblocks.io/",
|
|
4512
4512
|
responseHandler: (e) => e.text()
|
|
4513
4513
|
}),
|
|
4514
4514
|
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}`)}` }) }) })
|
|
4515
|
-
}), { useLazyGetConfirmationMailQuery:
|
|
4515
|
+
}), { useLazyGetConfirmationMailQuery: Xl } = Pr, Rr = k.createApi({
|
|
4516
4516
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
4517
4517
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4518
4518
|
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}`)}` }) }) })
|
|
4519
|
-
}), { useLazyGetCanselRecurrenceQuery:
|
|
4519
|
+
}), { useLazyGetCanselRecurrenceQuery: Kl, useGetCanselRecurrenceQuery: bf } = Rr, Nr = k.createApi({
|
|
4520
4520
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
4521
4521
|
baseQuery: k.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4522
4522
|
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}`)}` }) }) })
|
|
4523
|
-
}), { useLazyGetRecurrenceQuery:
|
|
4523
|
+
}), { useLazyGetRecurrenceQuery: ec, useGetRecurrenceQuery: _f } = Nr, Ir = k.createApi({
|
|
4524
4524
|
reducerPath: "authApi",
|
|
4525
4525
|
baseQuery: k.fetchBaseQueryApp({
|
|
4526
4526
|
baseUrl: "https://app.useblocks.io/api/v2",
|
|
@@ -4569,7 +4569,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4569
4569
|
body: t
|
|
4570
4570
|
}) })
|
|
4571
4571
|
})
|
|
4572
|
-
}), { useLoginMutation:
|
|
4572
|
+
}), { useLoginMutation: yf, useRegisterMutation: wf, useRefreshTokenMutation: Ef, useLogoutMutation: rc, useGetUserQuery: xf, useLazyGetUserQuery: Sf, useChangePasswordMutation: nc, useResetPasswordMutation: Af, useResetPasswordConfirmMutation: Cf } = Ir, ic = "https://app.useblocks.io/api/v2", Ut = "Integrations", Mr = "Webhook", jr = "TestRecipients", pn = "Storage", zt = k.createApi({
|
|
4573
4573
|
reducerPath: "projectSettingsV2Api",
|
|
4574
4574
|
tagTypes: [
|
|
4575
4575
|
Ut,
|
|
@@ -4577,7 +4577,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4577
4577
|
jr,
|
|
4578
4578
|
pn
|
|
4579
4579
|
],
|
|
4580
|
-
baseQuery: k.fetchBaseQueryApp({ baseUrl:
|
|
4580
|
+
baseQuery: k.fetchBaseQueryApp({ baseUrl: ic }),
|
|
4581
4581
|
endpoints: (e) => ({
|
|
4582
4582
|
getProjectIntegrations: e.query({
|
|
4583
4583
|
query: (t) => `/projects/${t}/integrations`,
|
|
@@ -4684,7 +4684,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4684
4684
|
}]
|
|
4685
4685
|
})
|
|
4686
4686
|
})
|
|
4687
|
-
}), { useGetProjectStorageQuery:
|
|
4687
|
+
}), { useGetProjectStorageQuery: ac, usePutProjectSettingsMutation: oc, useGetProjectIntegrationsQuery: sc, useLazyGetIntegrationCredentialsQuery: lc, usePutProjectIntegrationMutation: kf, useDeleteProjectIntegrationMutation: Tf, useGetProjectWebhookQuery: cc, usePutProjectWebhookMutation: Of, useGetProjectTestRecipientsQuery: uc, usePutProjectTestRecipientsMutation: dc } = zt, ji = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
4688
4688
|
<html>
|
|
4689
4689
|
<head>
|
|
4690
4690
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -4726,7 +4726,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4726
4726
|
</table>
|
|
4727
4727
|
</body>
|
|
4728
4728
|
</html>`;
|
|
4729
|
-
function
|
|
4729
|
+
function pc(e) {
|
|
4730
4730
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
4731
4731
|
}
|
|
4732
4732
|
var Bt = k.createState({
|
|
@@ -4756,19 +4756,25 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4756
4756
|
isAmp: !1
|
|
4757
4757
|
},
|
|
4758
4758
|
hasChanged: !1
|
|
4759
|
-
})
|
|
4759
|
+
});
|
|
4760
|
+
function Di(e, t) {
|
|
4761
|
+
const { id: r, subject: i = void 0, description: n = "", preheader: a, html: s = ji, utm_parameters: { utm_source: l = "", utm_medium: u = "", utm_campaign: m = "", utm_term: b = "", utm_content: w = "" } = {}, common_styles: p = "{}", emailtags: c = null, renderGuid: h, title: E, _embedded: T, isAmp: I = !1 } = t;
|
|
4762
|
+
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = E, pc(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = c, e.email.subject = i, e.email.description = n, e.email.common_styles = p || JSON.stringify(ii), e.email.preheader = a, e.email.is_template = !1, e.email.html = s;
|
|
4763
|
+
const _ = k.getTaxonomy({ _embedded: T }, "emailtags") ?? [];
|
|
4764
|
+
e.email.tags = _.map((C) => C.name), e.email.renderGuid = h ?? e.email.renderGuid ?? k.generateUUID(), e.email.showId = t.showId, t.showToken !== void 0 ? e.appliedShowToken = t.showToken : e.appliedShowToken += 1, e.email.parent_email = r ?? t.parent_email ?? null, e.email.utm_parameters = {
|
|
4765
|
+
utm_source: l,
|
|
4766
|
+
utm_medium: u,
|
|
4767
|
+
utm_campaign: m,
|
|
4768
|
+
utm_term: b,
|
|
4769
|
+
utm_content: w
|
|
4770
|
+
};
|
|
4771
|
+
}
|
|
4772
|
+
var Dr = "newEmailSlice", fn = k.createSlice({
|
|
4760
4773
|
name: Dr,
|
|
4761
4774
|
initialState: Bt,
|
|
4762
4775
|
reducers: {
|
|
4763
4776
|
setNewEmailAll: (e, { payload: t }) => {
|
|
4764
|
-
|
|
4765
|
-
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = E, dc(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = c, e.email.subject = i, e.email.description = n, e.email.common_styles = p || JSON.stringify(ii), e.email.preheader = a, e.email.is_template = !1, e.email.html = s, e.email.tags = k.getTaxonomy({ _embedded: T }, "emailtags")?.map((_) => _.name) || [], e.email.renderGuid = h ?? e.email.renderGuid ?? k.generateUUID(), t.showToken !== void 0 ? e.appliedShowToken = t.showToken : e.appliedShowToken += 1, e.email.parent_email = r, e.email.utm_parameters = {
|
|
4766
|
-
utm_source: l,
|
|
4767
|
-
utm_medium: u,
|
|
4768
|
-
utm_campaign: m,
|
|
4769
|
-
utm_term: b,
|
|
4770
|
-
utm_content: w
|
|
4771
|
-
};
|
|
4777
|
+
Di(e, t);
|
|
4772
4778
|
},
|
|
4773
4779
|
setNewEmailTitle: (e, t) => {
|
|
4774
4780
|
e.hasChanged || (e.hasChanged = !0), e.email.title = t.payload;
|
|
@@ -4847,17 +4853,23 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4847
4853
|
a != null && String(a) === n && String(r.id) === n && (t.email.project_title = r.name ?? "");
|
|
4848
4854
|
}), e.addMatcher(k.emailsApi.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
|
|
4849
4855
|
const i = t.hasChanged && t.email.renderGuid != null && r.renderGuid != null && t.email.renderGuid === r.renderGuid, n = t.hasChanged && t.email.id != null && r.id != null && String(t.email.id) === String(r.id);
|
|
4850
|
-
if (!(i || n))
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
project: t.email.project,
|
|
4855
|
-
project_title: t.email.project_title
|
|
4856
|
+
if (!(i || n)) {
|
|
4857
|
+
if (k.PLUGIN.isPlugin && r.showId && r.id == null) {
|
|
4858
|
+
Di(t, r);
|
|
4859
|
+
return;
|
|
4856
4860
|
}
|
|
4857
|
-
|
|
4861
|
+
return {
|
|
4862
|
+
...Bt,
|
|
4863
|
+
email: {
|
|
4864
|
+
...Bt.email,
|
|
4865
|
+
project: t.email.project,
|
|
4866
|
+
project_title: t.email.project_title
|
|
4867
|
+
}
|
|
4868
|
+
};
|
|
4869
|
+
}
|
|
4858
4870
|
});
|
|
4859
4871
|
}
|
|
4860
|
-
}), { setNewEmailAll:
|
|
4872
|
+
}), { setNewEmailAll: fc, setNewEmailTitle: hc, setNewEmailSubject: mc, setNewEmailPreheader: gc, setNewEmailDescription: vc, setNewEmailIsTemplate: bc, setNewEmailHtml: _c, setNewCommonStyles: Pf, setNewEmailTags: yc, setNewEmailUtmSource: wc, setNewEmailUtmMedium: Ec, setNewEmailUtmCampaign: xc, setNewEmailUtmContent: Sc, setNewEmailUtmTerm: Ac, resetNewEmailSlice: Cc, setNewIsInited: kc, setNewEmailIsAmp: Tc, setNewEmailMeta: Oc, setNewEmailProject: Pc, promoteNewEmailAfterSave: Rc } = fn.actions, Nc = (e) => e[Dr].email, Ic = (e) => e[Dr].appliedShowToken, Mc = (e) => e[Dr].hasChanged, Li = `<tr em="block" class="empty-structure">
|
|
4861
4873
|
<td align="center">
|
|
4862
4874
|
<!--[if (gte mso 9)|(IE)]>
|
|
4863
4875
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -4885,7 +4897,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4885
4897
|
isNew: !0,
|
|
4886
4898
|
subject: "",
|
|
4887
4899
|
description: "",
|
|
4888
|
-
html: "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" +
|
|
4900
|
+
html: "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" + Li + "</table>",
|
|
4889
4901
|
project: void 0,
|
|
4890
4902
|
project_title: "",
|
|
4891
4903
|
tags: [],
|
|
@@ -4893,11 +4905,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4893
4905
|
title: null
|
|
4894
4906
|
},
|
|
4895
4907
|
hasChanged: !1
|
|
4896
|
-
}),
|
|
4897
|
-
name:
|
|
4908
|
+
}), Fi = "newBlockSlice", hn = k.createSlice({
|
|
4909
|
+
name: Fi,
|
|
4898
4910
|
initialState: qt,
|
|
4899
4911
|
reducers: {
|
|
4900
|
-
setNewBlockAll: (e, { payload: { subject: t = "", description: r = "", renderGuid: i, html: n = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" +
|
|
4912
|
+
setNewBlockAll: (e, { payload: { subject: t = "", description: r = "", renderGuid: i, html: n = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\">" + Li + "</table>", tags: a = [], type: s = "Other", title: l, isAmp: u = !1 } }) => {
|
|
4901
4913
|
e.hasChanged || (e.hasChanged = !0), e.block.title = l, e.block.subject = t, e.block.description = r, e.block.html = n, e.block.tags = a, e.block.type = s, e.block.renderGuid = i, e.block.isAmp = u;
|
|
4902
4914
|
},
|
|
4903
4915
|
setNewBlockTitle: (e, t) => {
|
|
@@ -4936,7 +4948,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4936
4948
|
}
|
|
4937
4949
|
}));
|
|
4938
4950
|
}
|
|
4939
|
-
}), { setNewBlockAll:
|
|
4951
|
+
}), { setNewBlockAll: Rf, setNewBlockTitle: Nf, setNewBlockDescription: jc, setNewBlockHtml: If, setNewBlockTags: Dc, resetNewBlockSlice: Lc, setBlockIsAmp: Mf } = hn.actions, Fc = (e) => e[Fi].hasChanged, Ui = k.createState({
|
|
4940
4952
|
emailsTotal: 0,
|
|
4941
4953
|
elementsList: [],
|
|
4942
4954
|
emailsTrashTotal: 0,
|
|
@@ -4945,9 +4957,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4945
4957
|
elementsView: !k.PLUGIN.isPlugin && k.api.get(k.APP_COOKIES.em_elements_view) || "cards"
|
|
4946
4958
|
}), ot = "emailsPageSlice", mn = k.createSlice({
|
|
4947
4959
|
name: ot,
|
|
4948
|
-
initialState:
|
|
4960
|
+
initialState: Ui,
|
|
4949
4961
|
reducers: {
|
|
4950
|
-
resetPagesAndTotal: () =>
|
|
4962
|
+
resetPagesAndTotal: () => Ui,
|
|
4951
4963
|
resetElementsList: (e) => {
|
|
4952
4964
|
e.elementsList = [];
|
|
4953
4965
|
},
|
|
@@ -4987,7 +4999,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
4987
4999
|
}) : i);
|
|
4988
5000
|
});
|
|
4989
5001
|
}
|
|
4990
|
-
}), { resetPagesAndTotal:
|
|
5002
|
+
}), { resetPagesAndTotal: Uc, toggleElementsView: zc, resetElementsList: Bc, removeEmailFromList: qc } = mn.actions, Hc = (e) => e[ot].emailsTotal, $c = (e) => e[ot].elementsView, Wc = (e) => e[ot].elementsList, Qc = (e) => e[ot].customFolders, Vc = (e) => e[ot].emailsTrashTotal, Gc = (e) => e[ot].elementsTrashList, zi = k.createState({
|
|
4991
5003
|
blocksTotal: null,
|
|
4992
5004
|
blocksTotalPages: null,
|
|
4993
5005
|
parentEmailBlocksTotal: null,
|
|
@@ -5002,9 +5014,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5002
5014
|
elementsTrashList: []
|
|
5003
5015
|
}), Lr = "blocksPageSlice", gn = k.createSlice({
|
|
5004
5016
|
name: Lr,
|
|
5005
|
-
initialState:
|
|
5017
|
+
initialState: zi,
|
|
5006
5018
|
reducers: {
|
|
5007
|
-
resetPagesAndTotal: () =>
|
|
5019
|
+
resetPagesAndTotal: () => zi,
|
|
5008
5020
|
resetElementsList: (e) => {
|
|
5009
5021
|
e.elementsList = [];
|
|
5010
5022
|
},
|
|
@@ -5045,14 +5057,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5045
5057
|
}) : i);
|
|
5046
5058
|
});
|
|
5047
5059
|
}
|
|
5048
|
-
}), { resetPagesAndTotal:
|
|
5060
|
+
}), { resetPagesAndTotal: jf, resetElementsList: Df, toggleElementsView: Lf, removeBlockFromList: Ff } = gn.actions, Zc = (e) => e[Lr].blocksTotal, Yc = (e) => e[Lr].templateBlocksTotal, Jc = (e) => e[Lr].parentEmailBlocksTotal, Bi = k.createState({
|
|
5049
5061
|
historyData: [],
|
|
5050
5062
|
elementHistoryTotalPages: 1
|
|
5051
5063
|
}), vn = "revisionHistorySlice", Fr = k.createSlice({
|
|
5052
5064
|
name: vn,
|
|
5053
|
-
initialState:
|
|
5065
|
+
initialState: Bi,
|
|
5054
5066
|
reducers: {
|
|
5055
|
-
resetElementHistorySlice: () => ({ ...
|
|
5067
|
+
resetElementHistorySlice: () => ({ ...Bi }),
|
|
5056
5068
|
setElementHistory: (e, t) => {
|
|
5057
5069
|
t.payload.length !== 0 && (e.historyData = t.payload);
|
|
5058
5070
|
}
|
|
@@ -5064,7 +5076,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5064
5076
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!i.args.page || i.args.page === 1) && (t.historyData = i.data || []);
|
|
5065
5077
|
});
|
|
5066
5078
|
}
|
|
5067
|
-
}), { resetElementHistorySlice:
|
|
5079
|
+
}), { resetElementHistorySlice: Xc } = Fr.actions, { setElementHistory: Uf } = Fr.actions, Kc = (e) => e[vn].elementHistoryTotalPages, eu = (e) => e[vn].historyData, qi = k.combineReducers({
|
|
5068
5080
|
[k.di.reducerPath]: k.di.reducer,
|
|
5069
5081
|
[Rt.reducerPath]: Rt.reducer,
|
|
5070
5082
|
[k.userSlice.name]: k.userSlice.reducer,
|
|
@@ -5129,10 +5141,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5129
5141
|
[Rr.reducerPath]: Rr.reducer,
|
|
5130
5142
|
[Ir.reducerPath]: Ir.reducer,
|
|
5131
5143
|
[zt.reducerPath]: zt.reducer
|
|
5132
|
-
}),
|
|
5144
|
+
}), tu = (e, t) => t.type === "authorizationApi/resetApiState" ? qi({
|
|
5133
5145
|
[k.reducerPath]: e[k.reducerPath],
|
|
5134
5146
|
[at.reducerPath]: e[at.reducerPath]
|
|
5135
|
-
}, t) :
|
|
5147
|
+
}, t) : qi(e, t), Hi = [
|
|
5136
5148
|
Rt,
|
|
5137
5149
|
Me.imageApi,
|
|
5138
5150
|
Nt,
|
|
@@ -5183,15 +5195,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5183
5195
|
Nr,
|
|
5184
5196
|
Rr
|
|
5185
5197
|
];
|
|
5186
|
-
function
|
|
5198
|
+
function ru(e) {
|
|
5187
5199
|
let t = {};
|
|
5188
5200
|
if (e) {
|
|
5189
5201
|
const i = k.createIdentifier$1();
|
|
5190
5202
|
k.DependencyResolver.inject(i, e), t = { INJECTION: i };
|
|
5191
5203
|
}
|
|
5192
5204
|
const r = k.configureStore({
|
|
5193
|
-
reducer:
|
|
5194
|
-
middleware: (i) => i({ serializableCheck: !1 }).concat(
|
|
5205
|
+
reducer: tu,
|
|
5206
|
+
middleware: (i) => i({ serializableCheck: !1 }).concat(Hi.map((n) => n.middleware)),
|
|
5195
5207
|
preloadedState: t
|
|
5196
5208
|
});
|
|
5197
5209
|
return k.setupListeners(r.dispatch), r;
|
|
@@ -5210,13 +5222,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5210
5222
|
return k.getClient(r).jwtAuth.token_validate_create({ type: k.ContentType$1.Json });
|
|
5211
5223
|
} })
|
|
5212
5224
|
})
|
|
5213
|
-
}), { useTokenCreateMutation:
|
|
5214
|
-
function
|
|
5225
|
+
}), { useTokenCreateMutation: zf, useTokenValidateMutation: Bf } = Ur;
|
|
5226
|
+
function $i() {
|
|
5215
5227
|
const e = new Map();
|
|
5216
|
-
for (const t of
|
|
5228
|
+
for (const t of Hi) e.set(t.reducerPath, t);
|
|
5217
5229
|
return e.set(Ur.reducerPath, Ur), [...e.values()];
|
|
5218
5230
|
}
|
|
5219
|
-
var
|
|
5231
|
+
var nu = {
|
|
5220
5232
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
5221
5233
|
imageApi: new Set([
|
|
5222
5234
|
"sendAiImageRequest",
|
|
@@ -5224,27 +5236,27 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5224
5236
|
"getAiImageSSE"
|
|
5225
5237
|
])
|
|
5226
5238
|
};
|
|
5227
|
-
function
|
|
5239
|
+
function iu(e) {
|
|
5228
5240
|
return e.getState().configSlice?.config;
|
|
5229
5241
|
}
|
|
5230
|
-
function
|
|
5242
|
+
function au(e) {
|
|
5231
5243
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
5232
5244
|
}
|
|
5233
|
-
function
|
|
5234
|
-
return iu(
|
|
5245
|
+
function ou(e) {
|
|
5246
|
+
return au(iu(e));
|
|
5235
5247
|
}
|
|
5236
|
-
function
|
|
5237
|
-
return
|
|
5248
|
+
function su(e, t, r, i) {
|
|
5249
|
+
return nu[t]?.has(r) ? (n) => ou(e) ? (a) => a(n) : i(n) : i;
|
|
5238
5250
|
}
|
|
5239
|
-
function
|
|
5251
|
+
function lu(e) {
|
|
5240
5252
|
const t = k.getOverrideApiFn(e);
|
|
5241
5253
|
return ((r, i) => {
|
|
5242
5254
|
if (!r || typeof r.reducerPath != "string") return new k.Disposable();
|
|
5243
|
-
const n = Object.fromEntries(Object.entries(i ?? {}).map(([a, s]) => [a, typeof s == "function" ?
|
|
5255
|
+
const n = Object.fromEntries(Object.entries(i ?? {}).map(([a, s]) => [a, typeof s == "function" ? su(e, r.reducerPath, a, s) : s]));
|
|
5244
5256
|
return t(r, n);
|
|
5245
5257
|
});
|
|
5246
5258
|
}
|
|
5247
|
-
function
|
|
5259
|
+
function cu(e) {
|
|
5248
5260
|
const t = `blocks_${k.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
5249
5261
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((i, n) => {
|
|
5250
5262
|
window[t] = function(a) {
|
|
@@ -5255,58 +5267,58 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5255
5267
|
r.remove(), delete window[t];
|
|
5256
5268
|
});
|
|
5257
5269
|
}
|
|
5258
|
-
function
|
|
5270
|
+
function uu(e) {
|
|
5259
5271
|
if (!e) return;
|
|
5260
5272
|
const t = Me.decodeJwt(e)?.data, r = t?.data?.scope ?? t?.scope;
|
|
5261
5273
|
return (Array.isArray(r) ? r.flatMap((i) => String(i).split(/\s+/)) : String(r || "").split(/\s+/)).find((i) => /^project_\d+$/.test(i))?.replace(/^project_/, "") || void 0;
|
|
5262
5274
|
}
|
|
5263
|
-
async function
|
|
5275
|
+
async function du(e) {
|
|
5264
5276
|
const t = k.di.getInstance(e, k.STANDALONE_PROJECT_ID), r = t ? void 0 : await k.di.getInstanceAsync(e, k.APP_ID).catch(() => {}), i = t || (r?.project !== void 0 ? String(r.project) : void 0);
|
|
5265
5277
|
i && e.dispatch(k.setProject(Ai(i)));
|
|
5266
5278
|
}
|
|
5267
|
-
async function
|
|
5279
|
+
async function pu(e, t) {
|
|
5268
5280
|
try {
|
|
5269
5281
|
const r = function(s) {
|
|
5270
5282
|
const l = k.di.getInstance(e, k.STANDALONE_PROJECT_ID), u = l ? Ci(l, s) : s;
|
|
5271
5283
|
k.di.injectFactory(e, k.APP_ID, async () => u);
|
|
5272
|
-
}, i =
|
|
5284
|
+
}, i = lu(e), n = await (await Si.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
|
|
5273
5285
|
if (typeof n != "string") return;
|
|
5274
|
-
const a = await
|
|
5286
|
+
const a = await cu(n);
|
|
5275
5287
|
if (typeof a != "object" || a === null || typeof a.execute != "function") return;
|
|
5276
|
-
a.execute(r, i,
|
|
5288
|
+
a.execute(r, i, $i());
|
|
5277
5289
|
} catch {}
|
|
5278
5290
|
}
|
|
5279
|
-
function
|
|
5291
|
+
function fu(e, t) {
|
|
5280
5292
|
const r = Object.keys(t.endpoints);
|
|
5281
5293
|
r.length && e(t, Object.fromEntries(r.map((i) => [i, k.standaloneTerminalGuardExecutor])));
|
|
5282
5294
|
}
|
|
5283
|
-
function
|
|
5295
|
+
function hu(e) {
|
|
5284
5296
|
k.markStandaloneMockGuardInstalled(e);
|
|
5285
5297
|
const t = k.getOverrideApiFn(e);
|
|
5286
|
-
for (const r of
|
|
5298
|
+
for (const r of $i()) fu(t, r);
|
|
5287
5299
|
}
|
|
5288
|
-
function
|
|
5300
|
+
function mu(e, t) {
|
|
5289
5301
|
if (e.getInstance(k.STANDALONE_FILE_PROXY_REGISTERED_ID)) return;
|
|
5290
5302
|
e.inject(k.STANDALONE_FILE_PROXY_REGISTERED_ID, !0);
|
|
5291
5303
|
const r = k.getEvent$1(e, k.events.FILE_PROXY_EVENT_ID);
|
|
5292
5304
|
t.addDisposable(r(async ({ url: i }) => (await fetch(i)).blob(), Number.MIN_VALUE));
|
|
5293
5305
|
}
|
|
5294
|
-
function
|
|
5306
|
+
function gu(e) {
|
|
5295
5307
|
e.getInstance(k.STANDALONE_ACTIVATED_ID) || e.inject(k.SECURITY_MODULE_ID, void 0);
|
|
5296
5308
|
}
|
|
5297
5309
|
function bn(e) {
|
|
5298
5310
|
return String(e.standaloneKey || "").trim() || void 0;
|
|
5299
5311
|
}
|
|
5300
|
-
function
|
|
5312
|
+
function vu(e) {
|
|
5301
5313
|
return e.standaloneOnAuthFailure === !0 ? !0 : e.config?.standaloneOnAuthFailure === !0;
|
|
5302
5314
|
}
|
|
5303
|
-
function
|
|
5304
|
-
return
|
|
5315
|
+
function Wi(e) {
|
|
5316
|
+
return vu(e) ? !!bn(e) : !1;
|
|
5305
5317
|
}
|
|
5306
|
-
function
|
|
5307
|
-
return !!bn(e) &&
|
|
5318
|
+
function bu(e) {
|
|
5319
|
+
return !!bn(e) && !Wi(e);
|
|
5308
5320
|
}
|
|
5309
|
-
var
|
|
5321
|
+
var _u = class extends k.Disposable {
|
|
5310
5322
|
_event;
|
|
5311
5323
|
_listener;
|
|
5312
5324
|
_disposeEvent;
|
|
@@ -5320,7 +5332,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5320
5332
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
5321
5333
|
}
|
|
5322
5334
|
};
|
|
5323
|
-
function
|
|
5335
|
+
function yu(e, t, r) {
|
|
5324
5336
|
const i = k.snapshot(e);
|
|
5325
5337
|
return (n, a, s) => {
|
|
5326
5338
|
const l = i(async (u) => {
|
|
@@ -5339,34 +5351,34 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5339
5351
|
SUBJECT: 5e3,
|
|
5340
5352
|
INITED: 5e3,
|
|
5341
5353
|
UPDATE_ENTITY: 5e3
|
|
5342
|
-
},
|
|
5354
|
+
}, Qi = [
|
|
5343
5355
|
"INIT_START",
|
|
5344
5356
|
"SET_ENTITY",
|
|
5345
5357
|
"PREHEADER",
|
|
5346
5358
|
"SUBJECT",
|
|
5347
5359
|
"INITED"
|
|
5348
|
-
], yn = 2e4,
|
|
5349
|
-
function
|
|
5350
|
-
return
|
|
5360
|
+
], yn = 2e4, Vi = yn + Qi.reduce((e, t) => e + _n[t], 0) + 3e3;
|
|
5361
|
+
function Eu(e) {
|
|
5362
|
+
return Qi.reduce((t, r) => t + Gi(r, e), 0);
|
|
5351
5363
|
}
|
|
5352
|
-
function
|
|
5364
|
+
function Gi(e, t) {
|
|
5353
5365
|
const r = t?.[e];
|
|
5354
5366
|
return typeof r == "number" && r > 0 ? r : _n[e];
|
|
5355
5367
|
}
|
|
5356
|
-
function
|
|
5368
|
+
function Zi(e) {
|
|
5357
5369
|
const t = e?.contentReady;
|
|
5358
|
-
return typeof t == "number" && t > 0 ? t :
|
|
5370
|
+
return typeof t == "number" && t > 0 ? t : Vi;
|
|
5359
5371
|
}
|
|
5360
|
-
function
|
|
5372
|
+
function Yi(e) {
|
|
5361
5373
|
const t = e?.sandboxReady;
|
|
5362
5374
|
return typeof t == "number" && t > 0 ? t : yn;
|
|
5363
5375
|
}
|
|
5364
|
-
var
|
|
5376
|
+
var xu = class extends Error {
|
|
5365
5377
|
showId;
|
|
5366
5378
|
constructor(e, t) {
|
|
5367
5379
|
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;
|
|
5368
5380
|
}
|
|
5369
|
-
},
|
|
5381
|
+
}, Su = class {
|
|
5370
5382
|
_activeRequest = null;
|
|
5371
5383
|
_pending = new Map();
|
|
5372
5384
|
_listeners = new Set();
|
|
@@ -5382,7 +5394,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5382
5394
|
return this._rejectPending(qe("Superseded by newer show()")), r.aborted ? Promise.reject(qe(r.reason)) : (this._activeRequest = e, new Promise((i, n) => {
|
|
5383
5395
|
const a = setTimeout(() => {
|
|
5384
5396
|
this._settle(e.showId, () => {
|
|
5385
|
-
n(new
|
|
5397
|
+
n(new xu(e.showId, t));
|
|
5386
5398
|
});
|
|
5387
5399
|
}, t);
|
|
5388
5400
|
a.unref?.();
|
|
@@ -5430,7 +5442,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5430
5442
|
this._pending.clear();
|
|
5431
5443
|
}
|
|
5432
5444
|
};
|
|
5433
|
-
function
|
|
5445
|
+
function Au(e, t) {
|
|
5434
5446
|
return {
|
|
5435
5447
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
5436
5448
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -5440,16 +5452,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5440
5452
|
} : e?.sandbox
|
|
5441
5453
|
};
|
|
5442
5454
|
}
|
|
5443
|
-
function
|
|
5455
|
+
function Cu(e) {
|
|
5444
5456
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
5445
|
-
|
|
5446
|
-
|
|
5457
|
+
Zi(e);
|
|
5458
|
+
Yi(e) + Eu(e.sandbox);
|
|
5447
5459
|
}
|
|
5448
|
-
var
|
|
5460
|
+
var Ji = class {
|
|
5449
5461
|
_controller = new AbortController();
|
|
5450
5462
|
_externalSignalDisposable = new k.Disposable();
|
|
5451
5463
|
_sessionChangeListeners = new Set();
|
|
5452
|
-
_showRegistry = new
|
|
5464
|
+
_showRegistry = new Su();
|
|
5453
5465
|
_timeouts;
|
|
5454
5466
|
_generation = 0;
|
|
5455
5467
|
_sessionStarted = !1;
|
|
@@ -5460,13 +5472,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5460
5472
|
return this._generation;
|
|
5461
5473
|
}
|
|
5462
5474
|
get contentReadyTimeoutMs() {
|
|
5463
|
-
return
|
|
5475
|
+
return Zi(this._timeouts);
|
|
5464
5476
|
}
|
|
5465
5477
|
getSandboxTimeoutMs(e) {
|
|
5466
|
-
return
|
|
5478
|
+
return Gi(e, this._timeouts?.sandbox);
|
|
5467
5479
|
}
|
|
5468
5480
|
getSandboxReadyTimeoutMs() {
|
|
5469
|
-
return
|
|
5481
|
+
return Yi(this._timeouts);
|
|
5470
5482
|
}
|
|
5471
5483
|
bumpGeneration() {
|
|
5472
5484
|
this._generation += 1;
|
|
@@ -5498,7 +5510,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5498
5510
|
};
|
|
5499
5511
|
}
|
|
5500
5512
|
configure(e) {
|
|
5501
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
5513
|
+
e.timeouts !== void 0 && (this._timeouts = Au(this._timeouts, e.timeouts), Cu(this._timeouts));
|
|
5502
5514
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
5503
5515
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
5504
5516
|
}
|
|
@@ -5525,18 +5537,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
5525
5537
|
e.removeEventListener("abort", t);
|
|
5526
5538
|
});
|
|
5527
5539
|
}
|
|
5528
|
-
},
|
|
5529
|
-
const e = new
|
|
5540
|
+
}, ku = (() => {
|
|
5541
|
+
const e = new Ji();
|
|
5530
5542
|
return e.configure({}), e;
|
|
5531
5543
|
})();
|
|
5532
|
-
function
|
|
5544
|
+
function Tu(e = Vi) {
|
|
5533
5545
|
return e + 3e3;
|
|
5534
5546
|
}
|
|
5535
|
-
var
|
|
5536
|
-
function
|
|
5537
|
-
return e.getOrCreateInstance(
|
|
5547
|
+
var Xi = "PluginRegistry";
|
|
5548
|
+
function Ou(e = k.resolveContainer()) {
|
|
5549
|
+
return e.getOrCreateInstance(Xi, () => new os());
|
|
5538
5550
|
}
|
|
5539
|
-
var
|
|
5551
|
+
var Pu = new ss(() => Ou()), Ki = {
|
|
5540
5552
|
"application/prs.cww": ["cww"],
|
|
5541
5553
|
"application/prs.xsf+xml": ["xsf"],
|
|
5542
5554
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -6371,8 +6383,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
6371
6383
|
"video/x-smv": ["smv"],
|
|
6372
6384
|
"x-conference/x-cooltalk": ["ice"]
|
|
6373
6385
|
};
|
|
6374
|
-
Object.freeze(
|
|
6375
|
-
var
|
|
6386
|
+
Object.freeze(Ki);
|
|
6387
|
+
var ea = {
|
|
6376
6388
|
"application/andrew-inset": ["ez"],
|
|
6377
6389
|
"application/appinstaller": ["appinstaller"],
|
|
6378
6390
|
"application/applixware": ["aw"],
|
|
@@ -6842,12 +6854,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
6842
6854
|
"video/quicktime": ["qt", "mov"],
|
|
6843
6855
|
"video/webm": ["webm"]
|
|
6844
6856
|
};
|
|
6845
|
-
Object.freeze(
|
|
6857
|
+
Object.freeze(ea);
|
|
6846
6858
|
var Ue = function(e, t, r, i) {
|
|
6847
6859
|
if (r === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
|
|
6848
6860
|
if (typeof t == "function" ? e !== t || !i : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6849
6861
|
return r === "m" ? i : r === "a" ? i.call(e) : i ? i.value : t.get(e);
|
|
6850
|
-
}, vt, Ht, st,
|
|
6862
|
+
}, vt, Ht, st, Ru = class {
|
|
6851
6863
|
constructor(...e) {
|
|
6852
6864
|
vt.set(this, new Map()), Ht.set(this, new Map()), st.set(this, new Map());
|
|
6853
6865
|
for (const t of e) this.define(t);
|
|
@@ -6893,8 +6905,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
6893
6905
|
}
|
|
6894
6906
|
};
|
|
6895
6907
|
vt = new WeakMap(), Ht = new WeakMap(), st = new WeakMap();
|
|
6896
|
-
var wn = new
|
|
6897
|
-
function
|
|
6908
|
+
var wn = new Ru(ea, Ki)._freeze();
|
|
6909
|
+
function ta(e) {
|
|
6898
6910
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
6899
6911
|
}
|
|
6900
6912
|
function zr(e) {
|
|
@@ -6927,22 +6939,22 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
6927
6939
|
}
|
|
6928
6940
|
return r === 0;
|
|
6929
6941
|
}
|
|
6930
|
-
function Ru(e) {
|
|
6931
|
-
return (t, r, i) => zr(t) ? e(t, r, i) : !1;
|
|
6932
|
-
}
|
|
6933
6942
|
function Nu(e) {
|
|
6934
|
-
return (t) => zr(t
|
|
6943
|
+
return (t, r, i) => zr(t) ? e(t, r, i) : !1;
|
|
6935
6944
|
}
|
|
6936
6945
|
function Iu(e) {
|
|
6937
|
-
return (t
|
|
6946
|
+
return (t) => zr(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
6938
6947
|
}
|
|
6939
6948
|
function Mu(e) {
|
|
6949
|
+
return (t, r, i) => zr(t) ? ta(t) ? e(t, r, i) : t : !1;
|
|
6950
|
+
}
|
|
6951
|
+
function ju(e) {
|
|
6940
6952
|
return (t) => {
|
|
6941
6953
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
6942
|
-
return zr(r) ?
|
|
6954
|
+
return zr(r) ? ta(r) ? e(t) : t : !1;
|
|
6943
6955
|
};
|
|
6944
6956
|
}
|
|
6945
|
-
function
|
|
6957
|
+
function Du(e) {
|
|
6946
6958
|
const t = /[<>&]/g;
|
|
6947
6959
|
for (; t.exec(e) !== null;) return !0;
|
|
6948
6960
|
return !1;
|
|
@@ -6955,7 +6967,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
6955
6967
|
}
|
|
6956
6968
|
return !0;
|
|
6957
6969
|
}
|
|
6958
|
-
function
|
|
6970
|
+
function Lu(e) {
|
|
6959
6971
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", i = new Uint8Array(e);
|
|
6960
6972
|
crypto.getRandomValues(i);
|
|
6961
6973
|
let n = "";
|
|
@@ -6965,34 +6977,34 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
6965
6977
|
}
|
|
6966
6978
|
return n;
|
|
6967
6979
|
}
|
|
6968
|
-
var
|
|
6980
|
+
var Fu = 8, Uu = class {
|
|
6969
6981
|
_byKey = Object.create(null);
|
|
6970
6982
|
_byValue = Object.create(null);
|
|
6971
6983
|
getOrCreateByKey(e) {
|
|
6972
6984
|
let t = this._byKey[e];
|
|
6973
|
-
return t === void 0 && (t =
|
|
6985
|
+
return t === void 0 && (t = Lu(Fu), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
6974
6986
|
}
|
|
6975
6987
|
getByValue(e) {
|
|
6976
6988
|
return this._byValue[e];
|
|
6977
6989
|
}
|
|
6978
|
-
}, Br = new
|
|
6979
|
-
function
|
|
6990
|
+
}, Br = new Uu();
|
|
6991
|
+
function ra(e, t) {
|
|
6980
6992
|
return t !== void 0 && !En(e, t) ? `%|{${Br.getOrCreateByKey(e)}}|%` : e;
|
|
6981
6993
|
}
|
|
6982
|
-
function
|
|
6994
|
+
function zu(e) {
|
|
6983
6995
|
const t = Br.getByValue(e.slice(3, e.length - 3));
|
|
6984
6996
|
return t === void 0 ? e : t;
|
|
6985
6997
|
}
|
|
6986
6998
|
function we(e, t, r) {
|
|
6987
6999
|
return t !== void 0 ? En(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6988
7000
|
}
|
|
6989
|
-
function
|
|
7001
|
+
function Bu(e) {
|
|
6990
7002
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6991
7003
|
}
|
|
6992
7004
|
function be(e) {
|
|
6993
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
7005
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? Bu(e.slice(4, -3)) : e;
|
|
6994
7006
|
}
|
|
6995
|
-
function
|
|
7007
|
+
function qu(e) {
|
|
6996
7008
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6997
7009
|
let i = e;
|
|
6998
7010
|
const n = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -7000,16 +7012,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7000
7012
|
const a = i.trim();
|
|
7001
7013
|
return t.test(a) || r.test(a);
|
|
7002
7014
|
}
|
|
7003
|
-
function
|
|
7004
|
-
return t !== void 0 ? En(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r ||
|
|
7015
|
+
function Hu(e, t, r) {
|
|
7016
|
+
return t !== void 0 ? En(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r || Du(e) || qu(e) ? `<!--${e}-->` : e;
|
|
7005
7017
|
}
|
|
7006
|
-
var lt =
|
|
7007
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
7008
|
-
}, xn = "bare",
|
|
7009
|
-
function
|
|
7010
|
-
return e ?
|
|
7018
|
+
var lt = Nu(we), ct = Iu(be), $u = Mu(we), Wu = ju(be), na = (e) => {
|
|
7019
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", zu), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", ra, !0), e.escape("{{", "}}", ra, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", Hu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", lt).escape("#elseif", ")", lt).escape("#else", "", we).escape("#foreach", ")", lt).escape("#macro", ")", lt).escape("#set", ")", $u, !0).escape("#parse", ")", lt).escape("#include", ")", lt).escape("#evaluate", ")", lt).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", ct).unescape("<!--#if", "-->", ct).unescape("<!--#elseif", "-->", ct).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", ct).unescape("<!--#parse", "-->", ct).unescape("<!--#include", "-->", ct).unescape("<!--#evaluate", "-->", ct).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", Wu, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
|
|
7020
|
+
}, xn = "bare", Qu = new Map();
|
|
7021
|
+
function Vu(e) {
|
|
7022
|
+
return e ? Qu.get(e) ?? xn : xn;
|
|
7011
7023
|
}
|
|
7012
|
-
var
|
|
7024
|
+
var ia = [
|
|
7013
7025
|
"brace-percent",
|
|
7014
7026
|
"brace-hash",
|
|
7015
7027
|
"proscript",
|
|
@@ -7018,8 +7030,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7018
7030
|
"mailchimp",
|
|
7019
7031
|
"velocity"
|
|
7020
7032
|
];
|
|
7021
|
-
function
|
|
7022
|
-
return
|
|
7033
|
+
function aa(e) {
|
|
7034
|
+
return ia.includes(e);
|
|
7023
7035
|
}
|
|
7024
7036
|
function $t(e) {
|
|
7025
7037
|
return e === "bare" || e === "html-comment";
|
|
@@ -7027,7 +7039,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7027
7039
|
function Sn(e) {
|
|
7028
7040
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
7029
7041
|
}
|
|
7030
|
-
function
|
|
7042
|
+
function Gu(e, t = (r) => {}) {
|
|
7031
7043
|
const r = {
|
|
7032
7044
|
output: {},
|
|
7033
7045
|
editor: {}
|
|
@@ -7042,7 +7054,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7042
7054
|
for (const [m, b] of [["output", i.output], ["editor", i.editor]]) if (b !== void 0 && !$t(b)) return t(`templateDirectives.${m}: unknown form "${String(b)}", configuration ignored.`), r;
|
|
7043
7055
|
if (i.syntaxes !== void 0 && !Sn(i.syntaxes)) return t("templateDirectives.syntaxes: expected an object, configuration ignored."), r;
|
|
7044
7056
|
if (i.syntaxes) {
|
|
7045
|
-
for (const [m, b] of Object.entries(i.syntaxes)) if (!(!
|
|
7057
|
+
for (const [m, b] of Object.entries(i.syntaxes)) if (!(!aa(m) || b === void 0 || $t(b))) {
|
|
7046
7058
|
if (!Sn(b)) return t(`templateDirectives.syntaxes.${m}: expected a form or an object, configuration ignored.`), r;
|
|
7047
7059
|
for (const w of ["output", "editor"]) {
|
|
7048
7060
|
const p = b[w];
|
|
@@ -7056,13 +7068,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7056
7068
|
n === "bare" && i.editor === "html-comment" && (t("templateDirectives: editor=\"html-comment\" requires output=\"html-comment\"; editor was reset to match output."), a = void 0);
|
|
7057
7069
|
const s = [];
|
|
7058
7070
|
if (i.syntaxes) for (const m of Object.keys(i.syntaxes)) {
|
|
7059
|
-
if (!
|
|
7071
|
+
if (!aa(m)) {
|
|
7060
7072
|
t(`templateDirectives.syntaxes: unknown syntax id "${m}", entry ignored.`);
|
|
7061
7073
|
continue;
|
|
7062
7074
|
}
|
|
7063
7075
|
s.push(m);
|
|
7064
7076
|
}
|
|
7065
|
-
else s.push(...
|
|
7077
|
+
else s.push(...ia);
|
|
7066
7078
|
const l = {}, u = {};
|
|
7067
7079
|
for (const m of s) {
|
|
7068
7080
|
const b = i.syntaxes?.[m], w = Sn(b) ? b : void 0, p = ($t(b) ? b : w?.output) ?? n;
|
|
@@ -7074,7 +7086,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7074
7086
|
editor: u
|
|
7075
7087
|
};
|
|
7076
7088
|
}
|
|
7077
|
-
function
|
|
7089
|
+
function oa(e, t, r, i) {
|
|
7078
7090
|
for (let n = t; n < r; n++) {
|
|
7079
7091
|
const a = e[n];
|
|
7080
7092
|
i.insideAttributeValue ? i.attributeQuoteChar === "\"" || i.attributeQuoteChar === "'" ? a === i.attributeQuoteChar && (i.insideAttributeValue = !1, i.attributeQuoteChar = void 0) : i.unquotedAttr && /[\s>]/.test(a) && (i.insideAttributeValue = !1, i.attributeQuoteChar = void 0, i.unquotedAttr = !1) : a === "<" ? i.insideTag = !0 : a === ">" ? i.insideTag = !1 : i.insideTag && (a === "\"" || a === "'") ? (i.insideAttributeValue = !0, i.attributeQuoteChar = a, i.unquotedAttr = !1) : i.insideTag && /\S/.test(a) && i.attributeQuoteChar === void 0 && e[n - 1] === "=" && ![
|
|
@@ -7087,7 +7099,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7087
7099
|
function Wt(e, t) {
|
|
7088
7100
|
return e.start < t.end && t.start < e.end;
|
|
7089
7101
|
}
|
|
7090
|
-
function
|
|
7102
|
+
function sa(e, t, r, i, n = []) {
|
|
7091
7103
|
if (r && (t = t.filter((b) => b.isVariable)), !t.length) return [];
|
|
7092
7104
|
const a = t.flatMap((b) => b.match(e).flatMap((w) => !Number.isInteger(w.start) || !Number.isInteger(w.end) || w.start < 0 || w.end > e.length || w.start >= w.end ? [] : [{
|
|
7093
7105
|
range: w,
|
|
@@ -7103,7 +7115,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7103
7115
|
};
|
|
7104
7116
|
let m = 0;
|
|
7105
7117
|
for (const { range: b, mapFn: w, overrideBuiltins: p, syntax: c, isVariable: h } of a) {
|
|
7106
|
-
if (i ? (u.insideAttributeValue = !0, u.attributeQuoteChar = "\"") :
|
|
7118
|
+
if (i ? (u.insideAttributeValue = !0, u.attributeQuoteChar = "\"") : oa(e, m, b.start, u), m = b.end, l.some((_) => Wt(_, b))) continue;
|
|
7107
7119
|
const E = u.insideAttributeValue ? u.attributeQuoteChar ?? "" : void 0, T = e.substring(b.start, b.end), I = w(T, E, u.insideTag);
|
|
7108
7120
|
I !== !1 && I !== T && (s.push({
|
|
7109
7121
|
range: b,
|
|
@@ -7115,7 +7127,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7115
7127
|
}
|
|
7116
7128
|
return s.sort((b, w) => b.range.start - w.range.start || b.range.end - w.range.end);
|
|
7117
7129
|
}
|
|
7118
|
-
function
|
|
7130
|
+
function Zu(e, t) {
|
|
7119
7131
|
const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: w, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
|
|
7120
7132
|
value: b,
|
|
7121
7133
|
mapFn: u,
|
|
@@ -7136,7 +7148,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7136
7148
|
function An(e, t, r, i, n = !1) {
|
|
7137
7149
|
const a = [];
|
|
7138
7150
|
if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
|
|
7139
|
-
const s =
|
|
7151
|
+
const s = Zu(e, t), l = {
|
|
7140
7152
|
insideTag: !1,
|
|
7141
7153
|
insideAttributeValue: !1,
|
|
7142
7154
|
attributeQuoteChar: void 0,
|
|
@@ -7145,7 +7157,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7145
7157
|
let u = 0;
|
|
7146
7158
|
for (let m = 0; m < s.length; m++) {
|
|
7147
7159
|
const { start: b, startToken: w, endTokens: p } = s[m];
|
|
7148
|
-
i ? (l.insideAttributeValue = !0, l.attributeQuoteChar = "\"") :
|
|
7160
|
+
i ? (l.insideAttributeValue = !0, l.attributeQuoteChar = "\"") : oa(e, u, b, l), u = b;
|
|
7149
7161
|
const c = l.insideAttributeValue ? l.attributeQuoteChar ?? "" : void 0;
|
|
7150
7162
|
let h = !1;
|
|
7151
7163
|
for (const { mapFn: E, value: T, syntax: I, isVariable: _ } of p) {
|
|
@@ -7189,13 +7201,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7189
7201
|
for (const { text: n, range: a } of r) i = i.slice(0, a.start) + n + i.slice(a.end);
|
|
7190
7202
|
return i;
|
|
7191
7203
|
}
|
|
7192
|
-
var
|
|
7204
|
+
var Yu = class {
|
|
7193
7205
|
_disposables = [];
|
|
7194
7206
|
_escapes = [];
|
|
7195
7207
|
_unescapes = [];
|
|
7196
7208
|
_escapeMatchers = [];
|
|
7197
7209
|
_unescapeMatchers = [];
|
|
7198
|
-
constructor(e =
|
|
7210
|
+
constructor(e = na) {
|
|
7199
7211
|
const { _escapes: t, _unescapes: r } = this;
|
|
7200
7212
|
e({
|
|
7201
7213
|
createSyntax(i) {
|
|
@@ -7246,18 +7258,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7246
7258
|
return this.addDisposable(a), a;
|
|
7247
7259
|
}
|
|
7248
7260
|
_collectMappings(e, t, r) {
|
|
7249
|
-
const i = An(e, this._escapes, t, r), n =
|
|
7261
|
+
const i = An(e, this._escapes, t, r), n = sa(e, this._escapeMatchers, t, r), a = n.filter((u) => u.overrideBuiltins).map((u) => u.range), s = i.filter((u) => !a.some((m) => Wt(m, u.range))), l = n.filter((u) => u.overrideBuiltins || !s.some((m) => Wt(u.range, m.range)));
|
|
7250
7262
|
return [...s, ...l].sort((u, m) => u.range.start - m.range.start || u.range.end - m.range.end);
|
|
7251
7263
|
}
|
|
7252
7264
|
getMappings(e, t, r) {
|
|
7253
7265
|
return this._collectMappings(e, t, r);
|
|
7254
7266
|
}
|
|
7255
7267
|
_collectRevertMappings(e, t) {
|
|
7256
|
-
const r = An(e, this._unescapes, t), i =
|
|
7268
|
+
const r = An(e, this._unescapes, t), i = sa(e, this._unescapeMatchers, t, !1), n = i.filter((l) => l.overrideBuiltins).map((l) => l.range), a = r.filter((l) => !n.some((u) => Wt(u, l.range))), s = i.filter((l) => l.overrideBuiltins || !a.some((u) => Wt(l.range, u.range)));
|
|
7257
7269
|
return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
|
|
7258
7270
|
}
|
|
7259
7271
|
getRevertMappings(e, t, r) {
|
|
7260
|
-
const i = r ? (n) => n !== void 0 && r.has(n) : (n) =>
|
|
7272
|
+
const i = r ? (n) => n !== void 0 && r.has(n) : (n) => Vu(n) === "html-comment";
|
|
7261
7273
|
return this._collectRevertMappings(e, t).filter((n) => n.isVariable || !i(n.syntax));
|
|
7262
7274
|
}
|
|
7263
7275
|
getDetectedMappings(e, t, r) {
|
|
@@ -7285,7 +7297,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7285
7297
|
}
|
|
7286
7298
|
}, ke = (function(e) {
|
|
7287
7299
|
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;
|
|
7288
|
-
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
7300
|
+
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start, Ju = (e) => e.type === 0 ? e.end + 1 : e.end, et = class as {
|
|
7289
7301
|
start;
|
|
7290
7302
|
end;
|
|
7291
7303
|
children;
|
|
@@ -7318,7 +7330,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7318
7330
|
return this.children.length ? this.children[this.children.length - 1] : void 0;
|
|
7319
7331
|
}
|
|
7320
7332
|
findNodeBefore(t) {
|
|
7321
|
-
const r =
|
|
7333
|
+
const r = ca(this.children, (i) => t <= Hr(i)) - 1;
|
|
7322
7334
|
if (r >= 0) {
|
|
7323
7335
|
const i = this.children[r];
|
|
7324
7336
|
if (t > Hr(i)) {
|
|
@@ -7330,10 +7342,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7330
7342
|
return this;
|
|
7331
7343
|
}
|
|
7332
7344
|
findNodeAt(t) {
|
|
7333
|
-
const r =
|
|
7345
|
+
const r = ca(this.children, (i) => t <= Hr(i)) - 1;
|
|
7334
7346
|
if (r >= 0) {
|
|
7335
7347
|
const i = this.children[r];
|
|
7336
|
-
if (t >= Hr(i) && t <=
|
|
7348
|
+
if (t >= Hr(i) && t <= Ju(i)) return i.findNodeAt(t);
|
|
7337
7349
|
}
|
|
7338
7350
|
return this;
|
|
7339
7351
|
}
|
|
@@ -7364,10 +7376,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7364
7376
|
return !!t.closest((r) => r === this);
|
|
7365
7377
|
}
|
|
7366
7378
|
clone(t = this.parent, r = this.start, i = !0) {
|
|
7367
|
-
const n = this.start - r, a = new
|
|
7379
|
+
const n = this.start - r, a = new as(r, this.end - n, [], t);
|
|
7368
7380
|
return a.children = i ? this.children.map((s) => s.clone(a, s.start - n)) : [], 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;
|
|
7369
7381
|
}
|
|
7370
|
-
},
|
|
7382
|
+
}, Xu = new Set([
|
|
7371
7383
|
"area",
|
|
7372
7384
|
"br",
|
|
7373
7385
|
"col",
|
|
@@ -7380,20 +7392,20 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7380
7392
|
"param",
|
|
7381
7393
|
"vk-snippet-end"
|
|
7382
7394
|
]);
|
|
7383
|
-
function
|
|
7395
|
+
function Ku(e) {
|
|
7384
7396
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7385
7397
|
}
|
|
7386
|
-
var
|
|
7387
|
-
function
|
|
7388
|
-
const r =
|
|
7398
|
+
var la = Object.create(null);
|
|
7399
|
+
function ed(e, t) {
|
|
7400
|
+
const r = la[e] || (la[e] = Object.create(null));
|
|
7389
7401
|
let i = r[t];
|
|
7390
7402
|
if (typeof i != "boolean") {
|
|
7391
|
-
const n = document.createElement(e)[
|
|
7403
|
+
const n = document.createElement(e)[Ku(t)];
|
|
7392
7404
|
i = r[t] = typeof n < "u" && typeof n != "boolean";
|
|
7393
7405
|
}
|
|
7394
7406
|
return i;
|
|
7395
7407
|
}
|
|
7396
|
-
function
|
|
7408
|
+
function td(e) {
|
|
7397
7409
|
const t = e.tag?.toLowerCase();
|
|
7398
7410
|
let r = "";
|
|
7399
7411
|
if (t) {
|
|
@@ -7402,20 +7414,20 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7402
7414
|
const n = Object.keys(i);
|
|
7403
7415
|
for (const a of n) {
|
|
7404
7416
|
const s = i[a] === null ? "" : i[a];
|
|
7405
|
-
typeof s == "string" && (r += s === "" && a !== "em" && !
|
|
7417
|
+
typeof s == "string" && (r += s === "" && a !== "em" && !ed(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
|
|
7406
7418
|
}
|
|
7407
7419
|
}
|
|
7408
7420
|
}
|
|
7409
7421
|
return r;
|
|
7410
7422
|
}
|
|
7411
|
-
function
|
|
7423
|
+
function rd(e, t) {
|
|
7412
7424
|
if (e.start !== e.startTagEnd || t) {
|
|
7413
|
-
const r = e.tag?.toLowerCase() || "div", i =
|
|
7425
|
+
const r = e.tag?.toLowerCase() || "div", i = td(e);
|
|
7414
7426
|
return r === "vk-snippet-end" ? `<${r}${i}/>` : `<${r}${i}>`;
|
|
7415
7427
|
}
|
|
7416
7428
|
return "";
|
|
7417
7429
|
}
|
|
7418
|
-
function
|
|
7430
|
+
function ca(e, t) {
|
|
7419
7431
|
let r = 0, i = e.length;
|
|
7420
7432
|
if (i === 0) return 0;
|
|
7421
7433
|
for (; r < i;) {
|
|
@@ -7424,18 +7436,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7424
7436
|
}
|
|
7425
7437
|
return r;
|
|
7426
7438
|
}
|
|
7427
|
-
function
|
|
7439
|
+
function nd(e) {
|
|
7428
7440
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7429
7441
|
}
|
|
7430
7442
|
function Cn(e) {
|
|
7431
7443
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
7432
7444
|
}
|
|
7433
|
-
var
|
|
7434
|
-
function
|
|
7435
|
-
const r =
|
|
7445
|
+
var ua = Object.create(null);
|
|
7446
|
+
function id(e, t) {
|
|
7447
|
+
const r = ua[e] || (ua[e] = Object.create(null));
|
|
7436
7448
|
let i = r[t];
|
|
7437
7449
|
if (typeof i != "boolean") {
|
|
7438
|
-
const n = document.createElement(e)[
|
|
7450
|
+
const n = document.createElement(e)[nd(t)];
|
|
7439
7451
|
i = r[t] = typeof n < "u" && typeof n != "boolean";
|
|
7440
7452
|
}
|
|
7441
7453
|
return i;
|
|
@@ -7446,31 +7458,31 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7446
7458
|
function kn(e) {
|
|
7447
7459
|
return tt(e) && !e.ownerSVGElement;
|
|
7448
7460
|
}
|
|
7449
|
-
function
|
|
7461
|
+
function da(e) {
|
|
7450
7462
|
return e.tagName === "IMG";
|
|
7451
7463
|
}
|
|
7452
|
-
function
|
|
7464
|
+
function ad(e) {
|
|
7453
7465
|
return e.tagName === "AMP-IMG";
|
|
7454
7466
|
}
|
|
7455
|
-
function
|
|
7467
|
+
function od(e) {
|
|
7456
7468
|
return e.tagName === "BODY";
|
|
7457
7469
|
}
|
|
7458
|
-
function
|
|
7470
|
+
function sd(e) {
|
|
7459
7471
|
return e.tagName === "FORM";
|
|
7460
7472
|
}
|
|
7461
|
-
function
|
|
7473
|
+
function ld(e) {
|
|
7462
7474
|
return e.tagName === "HTML";
|
|
7463
7475
|
}
|
|
7464
|
-
function
|
|
7476
|
+
function pa(e) {
|
|
7465
7477
|
return e.tagName === "STYLE";
|
|
7466
7478
|
}
|
|
7467
7479
|
function Tn(e) {
|
|
7468
7480
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
7469
7481
|
}
|
|
7470
|
-
function
|
|
7482
|
+
function cd(e) {
|
|
7471
7483
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
7472
7484
|
}
|
|
7473
|
-
function
|
|
7485
|
+
function ud(e) {
|
|
7474
7486
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
7475
7487
|
}
|
|
7476
7488
|
var Qt;
|
|
@@ -7523,16 +7535,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7523
7535
|
function On(e) {
|
|
7524
7536
|
return e.nodeType === Node.COMMENT_NODE;
|
|
7525
7537
|
}
|
|
7526
|
-
function
|
|
7538
|
+
function dd(e) {
|
|
7527
7539
|
return e && !!e.host && !!e.mode;
|
|
7528
7540
|
}
|
|
7529
|
-
function
|
|
7541
|
+
function pd(e) {
|
|
7530
7542
|
const t = e.getRootNode() || window.document;
|
|
7531
|
-
return
|
|
7543
|
+
return dd(t) ? t : null;
|
|
7532
7544
|
}
|
|
7533
|
-
var
|
|
7534
|
-
function
|
|
7535
|
-
const t = bt(e).matchAll(
|
|
7545
|
+
var fd = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
7546
|
+
function hd(e) {
|
|
7547
|
+
const t = bt(e).matchAll(fd);
|
|
7536
7548
|
if (t) for (const r of t) {
|
|
7537
7549
|
const [, i, , n, a] = r;
|
|
7538
7550
|
return {
|
|
@@ -7545,42 +7557,42 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7545
7557
|
function Vt(e) {
|
|
7546
7558
|
return e.nodeType === Node.TEXT_NODE;
|
|
7547
7559
|
}
|
|
7548
|
-
function
|
|
7560
|
+
function md(e) {
|
|
7549
7561
|
return e.tagName === "TABLE";
|
|
7550
7562
|
}
|
|
7551
|
-
async function
|
|
7563
|
+
async function fa(e, t = 5e3) {
|
|
7552
7564
|
return typeof e.complete < "u" && !e.complete ? new Promise((r, i) => {
|
|
7553
7565
|
setTimeout(r, t), e.onload = () => r(getComputedStyle(e)), e.onerror = (n) => {};
|
|
7554
7566
|
}) : getComputedStyle(e);
|
|
7555
7567
|
}
|
|
7556
7568
|
function bt(e) {
|
|
7557
|
-
if (tt(e)) return
|
|
7569
|
+
if (tt(e)) return vd(e);
|
|
7558
7570
|
if (Tn(e)) return [...e.childNodes].map((r) => bt(r)).join("");
|
|
7559
|
-
if (
|
|
7571
|
+
if (ud(e)) return Cn(e);
|
|
7560
7572
|
const t = document.createElement("div");
|
|
7561
7573
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
7562
7574
|
}
|
|
7563
|
-
function
|
|
7575
|
+
function gd(e) {
|
|
7564
7576
|
const t = e.tagName.toLowerCase();
|
|
7565
7577
|
let r = "";
|
|
7566
7578
|
for (const i of e.attributes) {
|
|
7567
7579
|
const n = i.name, a = i.value;
|
|
7568
|
-
r += a === "" && n !== "em" && !
|
|
7580
|
+
r += a === "" && n !== "em" && !id(t, n) ? ` ${n}` : ` ${n}="${a.replaceAll("\"", "'")}"`;
|
|
7569
7581
|
}
|
|
7570
7582
|
return r;
|
|
7571
7583
|
}
|
|
7572
|
-
function
|
|
7584
|
+
function ha(e) {
|
|
7573
7585
|
let t = "";
|
|
7574
7586
|
for (const r of e.childNodes) t += bt(r);
|
|
7575
7587
|
return t;
|
|
7576
7588
|
}
|
|
7577
|
-
function
|
|
7578
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
7579
|
-
return
|
|
7589
|
+
function vd(e) {
|
|
7590
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = gd(e);
|
|
7591
|
+
return Xu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : pa(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ha(e)}</${t}>`;
|
|
7580
7592
|
}
|
|
7581
|
-
function
|
|
7593
|
+
function ma(e, t) {
|
|
7582
7594
|
for (const a of [...e.childNodes]) a.remove();
|
|
7583
|
-
let r = t.find((a) =>
|
|
7595
|
+
let r = t.find((a) => ld(a)), i = t.find((a) => od(a)), n = e;
|
|
7584
7596
|
r || (r = document.createElement("html"), e.appendChild(r), n = r, i || (i = document.createElement("body"), r.appendChild(i), n = i));
|
|
7585
7597
|
for (const a of t) {
|
|
7586
7598
|
if (n === e && Vt(a)) {
|
|
@@ -7590,7 +7602,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7590
7602
|
n.appendChild(a);
|
|
7591
7603
|
}
|
|
7592
7604
|
}
|
|
7593
|
-
var
|
|
7605
|
+
var ga = class {
|
|
7594
7606
|
_voidElements;
|
|
7595
7607
|
constructor(e) {
|
|
7596
7608
|
this._voidElements = new Set(e);
|
|
@@ -7598,13 +7610,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7598
7610
|
isVoidElement(e) {
|
|
7599
7611
|
return this._voidElements.has(e.toLowerCase());
|
|
7600
7612
|
}
|
|
7601
|
-
},
|
|
7613
|
+
}, va;
|
|
7602
7614
|
(function(e) {
|
|
7603
7615
|
function t(r) {
|
|
7604
7616
|
return typeof r == "string";
|
|
7605
7617
|
}
|
|
7606
7618
|
e.is = t;
|
|
7607
|
-
})(
|
|
7619
|
+
})(va || (va = {}));
|
|
7608
7620
|
var Pn;
|
|
7609
7621
|
(function(e) {
|
|
7610
7622
|
function t(r) {
|
|
@@ -7612,14 +7624,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7612
7624
|
}
|
|
7613
7625
|
e.is = t;
|
|
7614
7626
|
})(Pn || (Pn = {}));
|
|
7615
|
-
var
|
|
7627
|
+
var ba;
|
|
7616
7628
|
(function(e) {
|
|
7617
7629
|
e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
|
|
7618
7630
|
function t(r) {
|
|
7619
7631
|
return typeof r == "number" && e.MIN_VALUE <= r && r <= e.MAX_VALUE;
|
|
7620
7632
|
}
|
|
7621
7633
|
e.is = t;
|
|
7622
|
-
})(
|
|
7634
|
+
})(ba || (ba = {}));
|
|
7623
7635
|
var $r;
|
|
7624
7636
|
(function(e) {
|
|
7625
7637
|
e.MIN_VALUE = 0, e.MAX_VALUE = 2147483647;
|
|
@@ -7678,7 +7690,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7678
7690
|
}
|
|
7679
7691
|
e.is = r;
|
|
7680
7692
|
})(Wr || (Wr = {}));
|
|
7681
|
-
var
|
|
7693
|
+
var _a;
|
|
7682
7694
|
(function(e) {
|
|
7683
7695
|
function t(i, n, a, s) {
|
|
7684
7696
|
return {
|
|
@@ -7694,7 +7706,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7694
7706
|
return D.objectLiteral(n) && _e.is(n.targetRange) && D.string(n.targetUri) && _e.is(n.targetSelectionRange) && (_e.is(n.originSelectionRange) || D.undefined(n.originSelectionRange));
|
|
7695
7707
|
}
|
|
7696
7708
|
e.is = r;
|
|
7697
|
-
})(
|
|
7709
|
+
})(_a || (_a = {}));
|
|
7698
7710
|
var Rn;
|
|
7699
7711
|
(function(e) {
|
|
7700
7712
|
function t(i, n, a, s) {
|
|
@@ -7712,7 +7724,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7712
7724
|
}
|
|
7713
7725
|
e.is = r;
|
|
7714
7726
|
})(Rn || (Rn = {}));
|
|
7715
|
-
var
|
|
7727
|
+
var ya;
|
|
7716
7728
|
(function(e) {
|
|
7717
7729
|
function t(i, n) {
|
|
7718
7730
|
return {
|
|
@@ -7726,8 +7738,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7726
7738
|
return D.objectLiteral(n) && _e.is(n.range) && Rn.is(n.color);
|
|
7727
7739
|
}
|
|
7728
7740
|
e.is = r;
|
|
7729
|
-
})(
|
|
7730
|
-
var
|
|
7741
|
+
})(ya || (ya = {}));
|
|
7742
|
+
var wa;
|
|
7731
7743
|
(function(e) {
|
|
7732
7744
|
function t(i, n, a) {
|
|
7733
7745
|
return {
|
|
@@ -7742,12 +7754,12 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7742
7754
|
return D.objectLiteral(n) && D.string(n.label) && (D.undefined(n.textEdit) || yt.is(n)) && (D.undefined(n.additionalTextEdits) || D.typedArray(n.additionalTextEdits, yt.is));
|
|
7743
7755
|
}
|
|
7744
7756
|
e.is = r;
|
|
7745
|
-
})(ya || (ya = {}));
|
|
7746
|
-
var wa;
|
|
7747
|
-
(function(e) {
|
|
7748
|
-
e.Comment = "comment", e.Imports = "imports", e.Region = "region";
|
|
7749
7757
|
})(wa || (wa = {}));
|
|
7750
7758
|
var Ea;
|
|
7759
|
+
(function(e) {
|
|
7760
|
+
e.Comment = "comment", e.Imports = "imports", e.Region = "region";
|
|
7761
|
+
})(Ea || (Ea = {}));
|
|
7762
|
+
var xa;
|
|
7751
7763
|
(function(e) {
|
|
7752
7764
|
function t(i, n, a, s, l, u) {
|
|
7753
7765
|
const m = {
|
|
@@ -7762,7 +7774,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7762
7774
|
return D.objectLiteral(n) && D.uinteger(n.startLine) && D.uinteger(n.startLine) && (D.undefined(n.startCharacter) || D.uinteger(n.startCharacter)) && (D.undefined(n.endCharacter) || D.uinteger(n.endCharacter)) && (D.undefined(n.kind) || D.string(n.kind));
|
|
7763
7775
|
}
|
|
7764
7776
|
e.is = r;
|
|
7765
|
-
})(
|
|
7777
|
+
})(xa || (xa = {}));
|
|
7766
7778
|
var Nn;
|
|
7767
7779
|
(function(e) {
|
|
7768
7780
|
function t(i, n) {
|
|
@@ -7778,22 +7790,22 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7778
7790
|
}
|
|
7779
7791
|
e.is = r;
|
|
7780
7792
|
})(Nn || (Nn = {}));
|
|
7781
|
-
var xa;
|
|
7782
|
-
(function(e) {
|
|
7783
|
-
e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
|
|
7784
|
-
})(xa || (xa = {}));
|
|
7785
7793
|
var Sa;
|
|
7786
7794
|
(function(e) {
|
|
7787
|
-
e.
|
|
7795
|
+
e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
|
|
7788
7796
|
})(Sa || (Sa = {}));
|
|
7789
7797
|
var Aa;
|
|
7798
|
+
(function(e) {
|
|
7799
|
+
e.Unnecessary = 1, e.Deprecated = 2;
|
|
7800
|
+
})(Aa || (Aa = {}));
|
|
7801
|
+
var Ca;
|
|
7790
7802
|
(function(e) {
|
|
7791
7803
|
function t(r) {
|
|
7792
7804
|
const i = r;
|
|
7793
7805
|
return D.objectLiteral(i) && D.string(i.href);
|
|
7794
7806
|
}
|
|
7795
7807
|
e.is = t;
|
|
7796
|
-
})(
|
|
7808
|
+
})(Ca || (Ca = {}));
|
|
7797
7809
|
var Qr;
|
|
7798
7810
|
(function(e) {
|
|
7799
7811
|
function t(a, s, l, u, m, b) {
|
|
@@ -7890,7 +7902,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7890
7902
|
}
|
|
7891
7903
|
e.is = t;
|
|
7892
7904
|
})(ut || (ut = {}));
|
|
7893
|
-
var
|
|
7905
|
+
var ka;
|
|
7894
7906
|
(function(e) {
|
|
7895
7907
|
function t(a, s, l) {
|
|
7896
7908
|
return {
|
|
@@ -7924,7 +7936,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7924
7936
|
return yt.is(s) && (Vr.is(s.annotationId) || ut.is(s.annotationId));
|
|
7925
7937
|
}
|
|
7926
7938
|
e.is = n;
|
|
7927
|
-
})(
|
|
7939
|
+
})(ka || (ka = {}));
|
|
7928
7940
|
var In;
|
|
7929
7941
|
(function(e) {
|
|
7930
7942
|
function t(i, n) {
|
|
@@ -7997,15 +8009,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
7997
8009
|
}
|
|
7998
8010
|
e.is = t;
|
|
7999
8011
|
})(Ln || (Ln = {}));
|
|
8000
|
-
var
|
|
8012
|
+
var Ta;
|
|
8001
8013
|
(function(e) {
|
|
8002
8014
|
function t(r) {
|
|
8003
8015
|
const i = r;
|
|
8004
8016
|
return D.objectLiteral(i) && _e.is(i.range) && qn.isSnippet(i.snippet) && (i.annotationId === void 0 || Vr.is(i.annotationId) || ut.is(i.annotationId));
|
|
8005
8017
|
}
|
|
8006
8018
|
e.is = t;
|
|
8007
|
-
})(
|
|
8008
|
-
var
|
|
8019
|
+
})(Ta || (Ta = {}));
|
|
8020
|
+
var Oa;
|
|
8009
8021
|
(function(e) {
|
|
8010
8022
|
function t(i) {
|
|
8011
8023
|
return { uri: i };
|
|
@@ -8016,8 +8028,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8016
8028
|
return D.defined(n) && D.string(n.uri);
|
|
8017
8029
|
}
|
|
8018
8030
|
e.is = r;
|
|
8019
|
-
})(
|
|
8020
|
-
var
|
|
8031
|
+
})(Oa || (Oa = {}));
|
|
8032
|
+
var Pa;
|
|
8021
8033
|
(function(e) {
|
|
8022
8034
|
function t(i, n) {
|
|
8023
8035
|
return {
|
|
@@ -8031,7 +8043,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8031
8043
|
return D.defined(n) && D.string(n.uri) && D.integer(n.version);
|
|
8032
8044
|
}
|
|
8033
8045
|
e.is = r;
|
|
8034
|
-
})(
|
|
8046
|
+
})(Pa || (Pa = {}));
|
|
8035
8047
|
var Fn;
|
|
8036
8048
|
(function(e) {
|
|
8037
8049
|
function t(i, n) {
|
|
@@ -8047,11 +8059,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8047
8059
|
}
|
|
8048
8060
|
e.is = r;
|
|
8049
8061
|
})(Fn || (Fn = {}));
|
|
8050
|
-
var
|
|
8062
|
+
var Ra;
|
|
8051
8063
|
(function(e) {
|
|
8052
8064
|
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";
|
|
8053
|
-
})(
|
|
8054
|
-
var
|
|
8065
|
+
})(Ra || (Ra = {}));
|
|
8066
|
+
var Na;
|
|
8055
8067
|
(function(e) {
|
|
8056
8068
|
function t(i, n, a, s) {
|
|
8057
8069
|
return {
|
|
@@ -8067,7 +8079,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8067
8079
|
return D.defined(n) && D.string(n.uri) && D.string(n.languageId) && D.integer(n.version) && D.string(n.text);
|
|
8068
8080
|
}
|
|
8069
8081
|
e.is = r;
|
|
8070
|
-
})(
|
|
8082
|
+
})(Na || (Na = {}));
|
|
8071
8083
|
var dt;
|
|
8072
8084
|
(function(e) {
|
|
8073
8085
|
e.PlainText = "plaintext", e.Markdown = "markdown";
|
|
@@ -8085,19 +8097,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8085
8097
|
}
|
|
8086
8098
|
e.is = t;
|
|
8087
8099
|
})(pt || (pt = {}));
|
|
8088
|
-
var Na;
|
|
8089
|
-
(function(e) {
|
|
8090
|
-
e.Text = 1, e.Method = 2, e.Function = 3, e.Constructor = 4, e.Field = 5, e.Variable = 6, e.Class = 7, e.Interface = 8, e.Module = 9, e.Property = 10, e.Unit = 11, e.Value = 12, e.Enum = 13, e.Keyword = 14, e.Snippet = 15, e.Color = 16, e.File = 17, e.Reference = 18, e.Folder = 19, e.EnumMember = 20, e.Constant = 21, e.Struct = 22, e.Event = 23, e.Operator = 24, e.TypeParameter = 25;
|
|
8091
|
-
})(Na || (Na = {}));
|
|
8092
8100
|
var Ia;
|
|
8093
8101
|
(function(e) {
|
|
8094
|
-
e.
|
|
8102
|
+
e.Text = 1, e.Method = 2, e.Function = 3, e.Constructor = 4, e.Field = 5, e.Variable = 6, e.Class = 7, e.Interface = 8, e.Module = 9, e.Property = 10, e.Unit = 11, e.Value = 12, e.Enum = 13, e.Keyword = 14, e.Snippet = 15, e.Color = 16, e.File = 17, e.Reference = 18, e.Folder = 19, e.EnumMember = 20, e.Constant = 21, e.Struct = 22, e.Event = 23, e.Operator = 24, e.TypeParameter = 25;
|
|
8095
8103
|
})(Ia || (Ia = {}));
|
|
8096
8104
|
var Ma;
|
|
8097
8105
|
(function(e) {
|
|
8098
|
-
e.
|
|
8106
|
+
e.PlainText = 1, e.Snippet = 2;
|
|
8099
8107
|
})(Ma || (Ma = {}));
|
|
8100
8108
|
var ja;
|
|
8109
|
+
(function(e) {
|
|
8110
|
+
e.Deprecated = 1;
|
|
8111
|
+
})(ja || (ja = {}));
|
|
8112
|
+
var Da;
|
|
8101
8113
|
(function(e) {
|
|
8102
8114
|
function t(i, n, a) {
|
|
8103
8115
|
return {
|
|
@@ -8112,31 +8124,31 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8112
8124
|
return n && D.string(n.newText) && _e.is(n.insert) && _e.is(n.replace);
|
|
8113
8125
|
}
|
|
8114
8126
|
e.is = r;
|
|
8115
|
-
})(ja || (ja = {}));
|
|
8116
|
-
var Da;
|
|
8117
|
-
(function(e) {
|
|
8118
|
-
e.asIs = 1, e.adjustIndentation = 2;
|
|
8119
8127
|
})(Da || (Da = {}));
|
|
8120
8128
|
var La;
|
|
8121
8129
|
(function(e) {
|
|
8122
|
-
e.
|
|
8130
|
+
e.asIs = 1, e.adjustIndentation = 2;
|
|
8123
8131
|
})(La || (La = {}));
|
|
8124
8132
|
var Fa;
|
|
8133
|
+
(function(e) {
|
|
8134
|
+
e.Replace = 1, e.Merge = 2;
|
|
8135
|
+
})(Fa || (Fa = {}));
|
|
8136
|
+
var Ua;
|
|
8125
8137
|
(function(e) {
|
|
8126
8138
|
function t(r) {
|
|
8127
8139
|
const i = r;
|
|
8128
8140
|
return i && (D.string(i.detail) || i.detail === void 0) && (D.string(i.description) || i.description === void 0);
|
|
8129
8141
|
}
|
|
8130
8142
|
e.is = t;
|
|
8131
|
-
})(
|
|
8132
|
-
var
|
|
8143
|
+
})(Ua || (Ua = {}));
|
|
8144
|
+
var za;
|
|
8133
8145
|
(function(e) {
|
|
8134
8146
|
function t(r) {
|
|
8135
8147
|
return { label: r };
|
|
8136
8148
|
}
|
|
8137
8149
|
e.create = t;
|
|
8138
|
-
})(
|
|
8139
|
-
var
|
|
8150
|
+
})(za || (za = {}));
|
|
8151
|
+
var Ba;
|
|
8140
8152
|
(function(e) {
|
|
8141
8153
|
function t(r, i) {
|
|
8142
8154
|
return {
|
|
@@ -8145,7 +8157,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8145
8157
|
};
|
|
8146
8158
|
}
|
|
8147
8159
|
e.create = t;
|
|
8148
|
-
})(
|
|
8160
|
+
})(Ba || (Ba = {}));
|
|
8149
8161
|
var Gr;
|
|
8150
8162
|
(function(e) {
|
|
8151
8163
|
function t(i) {
|
|
@@ -8158,15 +8170,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8158
8170
|
}
|
|
8159
8171
|
e.is = r;
|
|
8160
8172
|
})(Gr || (Gr = {}));
|
|
8161
|
-
var
|
|
8173
|
+
var qa;
|
|
8162
8174
|
(function(e) {
|
|
8163
8175
|
function t(r) {
|
|
8164
8176
|
const i = r;
|
|
8165
8177
|
return !!i && D.objectLiteral(i) && (pt.is(i.contents) || Gr.is(i.contents) || D.typedArray(i.contents, Gr.is)) && (r.range === void 0 || _e.is(r.range));
|
|
8166
8178
|
}
|
|
8167
8179
|
e.is = t;
|
|
8168
|
-
})(
|
|
8169
|
-
var
|
|
8180
|
+
})(qa || (qa = {}));
|
|
8181
|
+
var Ha;
|
|
8170
8182
|
(function(e) {
|
|
8171
8183
|
function t(r, i) {
|
|
8172
8184
|
return i ? {
|
|
@@ -8175,36 +8187,36 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8175
8187
|
} : { label: r };
|
|
8176
8188
|
}
|
|
8177
8189
|
e.create = t;
|
|
8178
|
-
})(
|
|
8179
|
-
var
|
|
8190
|
+
})(Ha || (Ha = {}));
|
|
8191
|
+
var $a;
|
|
8180
8192
|
(function(e) {
|
|
8181
8193
|
function t(r, i, ...n) {
|
|
8182
8194
|
const a = { label: r };
|
|
8183
8195
|
return D.defined(i) && (a.documentation = i), D.defined(n) ? a.parameters = n : a.parameters = [], a;
|
|
8184
8196
|
}
|
|
8185
8197
|
e.create = t;
|
|
8186
|
-
})(Ha || (Ha = {}));
|
|
8187
|
-
var $a;
|
|
8188
|
-
(function(e) {
|
|
8189
|
-
e.Text = 1, e.Read = 2, e.Write = 3;
|
|
8190
8198
|
})($a || ($a = {}));
|
|
8191
8199
|
var Wa;
|
|
8200
|
+
(function(e) {
|
|
8201
|
+
e.Text = 1, e.Read = 2, e.Write = 3;
|
|
8202
|
+
})(Wa || (Wa = {}));
|
|
8203
|
+
var Qa;
|
|
8192
8204
|
(function(e) {
|
|
8193
8205
|
function t(r, i) {
|
|
8194
8206
|
const n = { range: r };
|
|
8195
8207
|
return D.number(i) && (n.kind = i), n;
|
|
8196
8208
|
}
|
|
8197
8209
|
e.create = t;
|
|
8198
|
-
})(Wa || (Wa = {}));
|
|
8199
|
-
var Qa;
|
|
8200
|
-
(function(e) {
|
|
8201
|
-
e.File = 1, e.Module = 2, e.Namespace = 3, e.Package = 4, e.Class = 5, e.Method = 6, e.Property = 7, e.Field = 8, e.Constructor = 9, e.Enum = 10, e.Interface = 11, e.Function = 12, e.Variable = 13, e.Constant = 14, e.String = 15, e.Number = 16, e.Boolean = 17, e.Array = 18, e.Object = 19, e.Key = 20, e.Null = 21, e.EnumMember = 22, e.Struct = 23, e.Event = 24, e.Operator = 25, e.TypeParameter = 26;
|
|
8202
8210
|
})(Qa || (Qa = {}));
|
|
8203
8211
|
var Va;
|
|
8204
8212
|
(function(e) {
|
|
8205
|
-
e.
|
|
8213
|
+
e.File = 1, e.Module = 2, e.Namespace = 3, e.Package = 4, e.Class = 5, e.Method = 6, e.Property = 7, e.Field = 8, e.Constructor = 9, e.Enum = 10, e.Interface = 11, e.Function = 12, e.Variable = 13, e.Constant = 14, e.String = 15, e.Number = 16, e.Boolean = 17, e.Array = 18, e.Object = 19, e.Key = 20, e.Null = 21, e.EnumMember = 22, e.Struct = 23, e.Event = 24, e.Operator = 25, e.TypeParameter = 26;
|
|
8206
8214
|
})(Va || (Va = {}));
|
|
8207
8215
|
var Ga;
|
|
8216
|
+
(function(e) {
|
|
8217
|
+
e.Deprecated = 1;
|
|
8218
|
+
})(Ga || (Ga = {}));
|
|
8219
|
+
var Za;
|
|
8208
8220
|
(function(e) {
|
|
8209
8221
|
function t(r, i, n, a, s) {
|
|
8210
8222
|
const l = {
|
|
@@ -8218,8 +8230,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8218
8230
|
return s && (l.containerName = s), l;
|
|
8219
8231
|
}
|
|
8220
8232
|
e.create = t;
|
|
8221
|
-
})(
|
|
8222
|
-
var
|
|
8233
|
+
})(Za || (Za = {}));
|
|
8234
|
+
var Ya;
|
|
8223
8235
|
(function(e) {
|
|
8224
8236
|
function t(r, i, n, a) {
|
|
8225
8237
|
return a !== void 0 ? {
|
|
@@ -8236,8 +8248,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8236
8248
|
};
|
|
8237
8249
|
}
|
|
8238
8250
|
e.create = t;
|
|
8239
|
-
})(
|
|
8240
|
-
var
|
|
8251
|
+
})(Ya || (Ya = {}));
|
|
8252
|
+
var Ja;
|
|
8241
8253
|
(function(e) {
|
|
8242
8254
|
function t(i, n, a, s, l, u) {
|
|
8243
8255
|
const m = {
|
|
@@ -8255,16 +8267,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8255
8267
|
return n && D.string(n.name) && D.number(n.kind) && _e.is(n.range) && _e.is(n.selectionRange) && (n.detail === void 0 || D.string(n.detail)) && (n.deprecated === void 0 || D.boolean(n.deprecated)) && (n.children === void 0 || Array.isArray(n.children)) && (n.tags === void 0 || Array.isArray(n.tags));
|
|
8256
8268
|
}
|
|
8257
8269
|
e.is = r;
|
|
8258
|
-
})(
|
|
8259
|
-
var
|
|
8270
|
+
})(Ja || (Ja = {}));
|
|
8271
|
+
var Xa;
|
|
8260
8272
|
(function(e) {
|
|
8261
8273
|
e.Empty = "", e.QuickFix = "quickfix", e.Refactor = "refactor", e.RefactorExtract = "refactor.extract", e.RefactorInline = "refactor.inline", e.RefactorMove = "refactor.move", e.RefactorRewrite = "refactor.rewrite", e.Source = "source", e.SourceOrganizeImports = "source.organizeImports", e.SourceFixAll = "source.fixAll", e.Notebook = "notebook";
|
|
8262
|
-
})(
|
|
8274
|
+
})(Xa || (Xa = {}));
|
|
8263
8275
|
var Zr;
|
|
8264
8276
|
(function(e) {
|
|
8265
8277
|
e.Invoked = 1, e.Automatic = 2;
|
|
8266
8278
|
})(Zr || (Zr = {}));
|
|
8267
|
-
var
|
|
8279
|
+
var Ka;
|
|
8268
8280
|
(function(e) {
|
|
8269
8281
|
function t(i, n, a) {
|
|
8270
8282
|
const s = { diagnostics: i };
|
|
@@ -8276,7 +8288,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8276
8288
|
return D.defined(n) && D.typedArray(n.diagnostics, Qr.is) && (n.only === void 0 || D.typedArray(n.only, D.string)) && (n.triggerKind === void 0 || n.triggerKind === Zr.Invoked || n.triggerKind === Zr.Automatic);
|
|
8277
8289
|
}
|
|
8278
8290
|
e.is = r;
|
|
8279
|
-
})(
|
|
8291
|
+
})(Ka || (Ka = {}));
|
|
8280
8292
|
var Un;
|
|
8281
8293
|
(function(e) {
|
|
8282
8294
|
e.LLMGenerated = 1;
|
|
@@ -8285,7 +8297,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8285
8297
|
}
|
|
8286
8298
|
e.is = t;
|
|
8287
8299
|
})(Un || (Un = {}));
|
|
8288
|
-
var
|
|
8300
|
+
var eo;
|
|
8289
8301
|
(function(e) {
|
|
8290
8302
|
function t(i, n, a) {
|
|
8291
8303
|
const s = { title: i };
|
|
@@ -8298,8 +8310,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8298
8310
|
return n && D.string(n.title) && (n.diagnostics === void 0 || D.typedArray(n.diagnostics, Qr.is)) && (n.kind === void 0 || D.string(n.kind)) && (n.edit !== void 0 || n.command !== void 0) && (n.command === void 0 || _t.is(n.command)) && (n.isPreferred === void 0 || D.boolean(n.isPreferred)) && (n.edit === void 0 || Ln.is(n.edit)) && (n.tags === void 0 || D.typedArray(n.tags, Un.is));
|
|
8299
8311
|
}
|
|
8300
8312
|
e.is = r;
|
|
8301
|
-
})(
|
|
8302
|
-
var
|
|
8313
|
+
})(eo || (eo = {}));
|
|
8314
|
+
var to;
|
|
8303
8315
|
(function(e) {
|
|
8304
8316
|
function t(i, n) {
|
|
8305
8317
|
const a = { range: i };
|
|
@@ -8311,8 +8323,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8311
8323
|
return D.defined(n) && _e.is(n.range) && (D.undefined(n.command) || _t.is(n.command));
|
|
8312
8324
|
}
|
|
8313
8325
|
e.is = r;
|
|
8314
|
-
})(
|
|
8315
|
-
var
|
|
8326
|
+
})(to || (to = {}));
|
|
8327
|
+
var ro;
|
|
8316
8328
|
(function(e) {
|
|
8317
8329
|
function t(i, n) {
|
|
8318
8330
|
return {
|
|
@@ -8326,8 +8338,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8326
8338
|
return D.defined(n) && D.uinteger(n.tabSize) && D.boolean(n.insertSpaces);
|
|
8327
8339
|
}
|
|
8328
8340
|
e.is = r;
|
|
8329
|
-
})(
|
|
8330
|
-
var
|
|
8341
|
+
})(ro || (ro = {}));
|
|
8342
|
+
var no;
|
|
8331
8343
|
(function(e) {
|
|
8332
8344
|
function t(i, n, a) {
|
|
8333
8345
|
return {
|
|
@@ -8342,8 +8354,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8342
8354
|
return D.defined(n) && _e.is(n.range) && (D.undefined(n.target) || D.string(n.target));
|
|
8343
8355
|
}
|
|
8344
8356
|
e.is = r;
|
|
8345
|
-
})(
|
|
8346
|
-
var
|
|
8357
|
+
})(no || (no = {}));
|
|
8358
|
+
var io;
|
|
8347
8359
|
(function(e) {
|
|
8348
8360
|
function t(i, n) {
|
|
8349
8361
|
return {
|
|
@@ -8357,24 +8369,24 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8357
8369
|
return D.objectLiteral(n) && _e.is(n.range) && (n.parent === void 0 || e.is(n.parent));
|
|
8358
8370
|
}
|
|
8359
8371
|
e.is = r;
|
|
8360
|
-
})(no || (no = {}));
|
|
8361
|
-
var io;
|
|
8362
|
-
(function(e) {
|
|
8363
|
-
e.namespace = "namespace", e.type = "type", e.class = "class", e.enum = "enum", e.interface = "interface", e.struct = "struct", e.typeParameter = "typeParameter", e.parameter = "parameter", e.variable = "variable", e.property = "property", e.enumMember = "enumMember", e.event = "event", e.function = "function", e.method = "method", e.macro = "macro", e.keyword = "keyword", e.modifier = "modifier", e.comment = "comment", e.string = "string", e.number = "number", e.regexp = "regexp", e.operator = "operator", e.decorator = "decorator", e.label = "label";
|
|
8364
8372
|
})(io || (io = {}));
|
|
8365
8373
|
var ao;
|
|
8366
8374
|
(function(e) {
|
|
8367
|
-
e.
|
|
8375
|
+
e.namespace = "namespace", e.type = "type", e.class = "class", e.enum = "enum", e.interface = "interface", e.struct = "struct", e.typeParameter = "typeParameter", e.parameter = "parameter", e.variable = "variable", e.property = "property", e.enumMember = "enumMember", e.event = "event", e.function = "function", e.method = "method", e.macro = "macro", e.keyword = "keyword", e.modifier = "modifier", e.comment = "comment", e.string = "string", e.number = "number", e.regexp = "regexp", e.operator = "operator", e.decorator = "decorator", e.label = "label";
|
|
8368
8376
|
})(ao || (ao = {}));
|
|
8369
8377
|
var oo;
|
|
8378
|
+
(function(e) {
|
|
8379
|
+
e.declaration = "declaration", e.definition = "definition", e.readonly = "readonly", e.static = "static", e.deprecated = "deprecated", e.abstract = "abstract", e.async = "async", e.modification = "modification", e.documentation = "documentation", e.defaultLibrary = "defaultLibrary";
|
|
8380
|
+
})(oo || (oo = {}));
|
|
8381
|
+
var so;
|
|
8370
8382
|
(function(e) {
|
|
8371
8383
|
function t(r) {
|
|
8372
8384
|
const i = r;
|
|
8373
8385
|
return D.objectLiteral(i) && (i.resultId === void 0 || typeof i.resultId == "string") && Array.isArray(i.data) && (i.data.length === 0 || typeof i.data[0] == "number");
|
|
8374
8386
|
}
|
|
8375
8387
|
e.is = t;
|
|
8376
|
-
})(
|
|
8377
|
-
var
|
|
8388
|
+
})(so || (so = {}));
|
|
8389
|
+
var lo;
|
|
8378
8390
|
(function(e) {
|
|
8379
8391
|
function t(i, n) {
|
|
8380
8392
|
return {
|
|
@@ -8388,8 +8400,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8388
8400
|
return n != null && _e.is(n.range) && D.string(n.text);
|
|
8389
8401
|
}
|
|
8390
8402
|
e.is = r;
|
|
8391
|
-
})(
|
|
8392
|
-
var
|
|
8403
|
+
})(lo || (lo = {}));
|
|
8404
|
+
var co;
|
|
8393
8405
|
(function(e) {
|
|
8394
8406
|
function t(i, n, a) {
|
|
8395
8407
|
return {
|
|
@@ -8404,8 +8416,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8404
8416
|
return n != null && _e.is(n.range) && D.boolean(n.caseSensitiveLookup) && (D.string(n.variableName) || n.variableName === void 0);
|
|
8405
8417
|
}
|
|
8406
8418
|
e.is = r;
|
|
8407
|
-
})(
|
|
8408
|
-
var
|
|
8419
|
+
})(co || (co = {}));
|
|
8420
|
+
var uo;
|
|
8409
8421
|
(function(e) {
|
|
8410
8422
|
function t(i, n) {
|
|
8411
8423
|
return {
|
|
@@ -8419,8 +8431,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8419
8431
|
return n != null && _e.is(n.range) && (D.string(n.expression) || n.expression === void 0);
|
|
8420
8432
|
}
|
|
8421
8433
|
e.is = r;
|
|
8422
|
-
})(
|
|
8423
|
-
var
|
|
8434
|
+
})(uo || (uo = {}));
|
|
8435
|
+
var po;
|
|
8424
8436
|
(function(e) {
|
|
8425
8437
|
function t(i, n) {
|
|
8426
8438
|
return {
|
|
@@ -8434,7 +8446,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8434
8446
|
return D.defined(n) && _e.is(i.stoppedLocation);
|
|
8435
8447
|
}
|
|
8436
8448
|
e.is = r;
|
|
8437
|
-
})(
|
|
8449
|
+
})(po || (po = {}));
|
|
8438
8450
|
var zn;
|
|
8439
8451
|
(function(e) {
|
|
8440
8452
|
e.Type = 1, e.Parameter = 2;
|
|
@@ -8455,7 +8467,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8455
8467
|
}
|
|
8456
8468
|
e.is = r;
|
|
8457
8469
|
})(Bn || (Bn = {}));
|
|
8458
|
-
var
|
|
8470
|
+
var fo;
|
|
8459
8471
|
(function(e) {
|
|
8460
8472
|
function t(i, n, a) {
|
|
8461
8473
|
const s = {
|
|
@@ -8470,7 +8482,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8470
8482
|
return D.objectLiteral(n) && He.is(n.position) && (D.string(n.label) || D.typedArray(n.label, Bn.is)) && (n.kind === void 0 || zn.is(n.kind)) && n.textEdits === void 0 || D.typedArray(n.textEdits, yt.is) && (n.tooltip === void 0 || D.string(n.tooltip) || pt.is(n.tooltip)) && (n.paddingLeft === void 0 || D.boolean(n.paddingLeft)) && (n.paddingRight === void 0 || D.boolean(n.paddingRight));
|
|
8471
8483
|
}
|
|
8472
8484
|
e.is = r;
|
|
8473
|
-
})(
|
|
8485
|
+
})(fo || (fo = {}));
|
|
8474
8486
|
var qn;
|
|
8475
8487
|
(function(e) {
|
|
8476
8488
|
function t(i) {
|
|
@@ -8486,7 +8498,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8486
8498
|
}
|
|
8487
8499
|
e.isSnippet = r;
|
|
8488
8500
|
})(qn || (qn = {}));
|
|
8489
|
-
var
|
|
8501
|
+
var ho;
|
|
8490
8502
|
(function(e) {
|
|
8491
8503
|
function t(r, i, n, a) {
|
|
8492
8504
|
return {
|
|
@@ -8497,19 +8509,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8497
8509
|
};
|
|
8498
8510
|
}
|
|
8499
8511
|
e.create = t;
|
|
8500
|
-
})(
|
|
8501
|
-
var
|
|
8512
|
+
})(ho || (ho = {}));
|
|
8513
|
+
var mo;
|
|
8502
8514
|
(function(e) {
|
|
8503
8515
|
function t(r) {
|
|
8504
8516
|
return { items: r };
|
|
8505
8517
|
}
|
|
8506
8518
|
e.create = t;
|
|
8507
|
-
})(ho || (ho = {}));
|
|
8508
|
-
var mo;
|
|
8509
|
-
(function(e) {
|
|
8510
|
-
e.Invoked = 1, e.Automatic = 2;
|
|
8511
8519
|
})(mo || (mo = {}));
|
|
8512
8520
|
var go;
|
|
8521
|
+
(function(e) {
|
|
8522
|
+
e.Invoked = 1, e.Automatic = 2;
|
|
8523
|
+
})(go || (go = {}));
|
|
8524
|
+
var vo;
|
|
8513
8525
|
(function(e) {
|
|
8514
8526
|
function t(r, i) {
|
|
8515
8527
|
return {
|
|
@@ -8518,8 +8530,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8518
8530
|
};
|
|
8519
8531
|
}
|
|
8520
8532
|
e.create = t;
|
|
8521
|
-
})(
|
|
8522
|
-
var
|
|
8533
|
+
})(vo || (vo = {}));
|
|
8534
|
+
var bo;
|
|
8523
8535
|
(function(e) {
|
|
8524
8536
|
function t(r, i) {
|
|
8525
8537
|
return {
|
|
@@ -8528,19 +8540,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8528
8540
|
};
|
|
8529
8541
|
}
|
|
8530
8542
|
e.create = t;
|
|
8531
|
-
})(
|
|
8532
|
-
var
|
|
8543
|
+
})(bo || (bo = {}));
|
|
8544
|
+
var _o;
|
|
8533
8545
|
(function(e) {
|
|
8534
8546
|
function t(r) {
|
|
8535
8547
|
const i = r;
|
|
8536
8548
|
return D.objectLiteral(i) && Pn.is(i.uri) && D.string(i.name);
|
|
8537
8549
|
}
|
|
8538
8550
|
e.is = t;
|
|
8539
|
-
})(
|
|
8540
|
-
var
|
|
8551
|
+
})(_o || (_o = {}));
|
|
8552
|
+
var yo;
|
|
8541
8553
|
(function(e) {
|
|
8542
8554
|
function t(a, s, l, u) {
|
|
8543
|
-
return new
|
|
8555
|
+
return new bd(a, s, l, u);
|
|
8544
8556
|
}
|
|
8545
8557
|
e.create = t;
|
|
8546
8558
|
function r(a) {
|
|
@@ -8574,8 +8586,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8574
8586
|
for (; w < m.length;) a[p++] = m[w++];
|
|
8575
8587
|
return a;
|
|
8576
8588
|
}
|
|
8577
|
-
})(
|
|
8578
|
-
var
|
|
8589
|
+
})(yo || (yo = {}));
|
|
8590
|
+
var bd = class {
|
|
8579
8591
|
constructor(e, t, r, i) {
|
|
8580
8592
|
this._uri = e, this._languageId = t, this._version = r, this._content = i, this._lineOffsets = void 0;
|
|
8581
8593
|
}
|
|
@@ -8683,7 +8695,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8683
8695
|
}
|
|
8684
8696
|
e.typedArray = p;
|
|
8685
8697
|
})(D || (D = {}));
|
|
8686
|
-
var
|
|
8698
|
+
var wo = class ti {
|
|
8687
8699
|
constructor(t, r, i, n) {
|
|
8688
8700
|
this._uri = t, this._languageId = r, this._version = i, this._content = n, this._lineOffsets = void 0;
|
|
8689
8701
|
}
|
|
@@ -8705,11 +8717,11 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8705
8717
|
}
|
|
8706
8718
|
update(t, r) {
|
|
8707
8719
|
for (const i of t) if (ti.isIncremental(i)) {
|
|
8708
|
-
const n =
|
|
8720
|
+
const n = Ao(i.range), a = this.offsetAt(n.start), s = this.offsetAt(n.end);
|
|
8709
8721
|
this._content = this._content.substring(0, a) + i.text + this._content.substring(s, this._content.length);
|
|
8710
8722
|
const l = Math.max(n.start.line, 0), u = Math.max(n.end.line, 0);
|
|
8711
8723
|
let m = this._lineOffsets;
|
|
8712
|
-
const b =
|
|
8724
|
+
const b = xo(i.text, !1, a);
|
|
8713
8725
|
if (u - l === b.length) for (let p = 0, c = b.length; p < c; p++) m[p + l + 1] = b[p];
|
|
8714
8726
|
else b.length < 1e4 ? m.splice(l + 1, u - l, ...b) : this._lineOffsets = m = m.slice(0, l + 1).concat(b, m.slice(u + 1));
|
|
8715
8727
|
const w = i.text.length - (s - a);
|
|
@@ -8719,7 +8731,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8719
8731
|
this._version = r;
|
|
8720
8732
|
}
|
|
8721
8733
|
getLineOffsets() {
|
|
8722
|
-
return this._lineOffsets === void 0 && (this._lineOffsets =
|
|
8734
|
+
return this._lineOffsets === void 0 && (this._lineOffsets = xo(this._content, !0)), this._lineOffsets;
|
|
8723
8735
|
}
|
|
8724
8736
|
positionAt(t) {
|
|
8725
8737
|
t = Math.max(Math.min(t, this._content.length), 0);
|
|
@@ -8749,7 +8761,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8749
8761
|
return this.ensureBeforeEOL(a, i);
|
|
8750
8762
|
}
|
|
8751
8763
|
ensureBeforeEOL(t, r) {
|
|
8752
|
-
for (; t > r &&
|
|
8764
|
+
for (; t > r && So(this._content.charCodeAt(t - 1));) t--;
|
|
8753
8765
|
return t;
|
|
8754
8766
|
}
|
|
8755
8767
|
get lineCount() {
|
|
@@ -8763,19 +8775,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8763
8775
|
const r = t;
|
|
8764
8776
|
return r != null && typeof r.text == "string" && r.range === void 0 && r.rangeLength === void 0;
|
|
8765
8777
|
}
|
|
8766
|
-
},
|
|
8778
|
+
}, Eo;
|
|
8767
8779
|
(function(e) {
|
|
8768
8780
|
function t(n, a, s, l) {
|
|
8769
|
-
return new
|
|
8781
|
+
return new wo(n, a, s, l);
|
|
8770
8782
|
}
|
|
8771
8783
|
e.create = t;
|
|
8772
8784
|
function r(n, a, s) {
|
|
8773
|
-
if (n instanceof
|
|
8785
|
+
if (n instanceof wo) return n.update(a, s), n;
|
|
8774
8786
|
throw new Error("TextDocument.update: document must be created by TextDocument.create");
|
|
8775
8787
|
}
|
|
8776
8788
|
e.update = r;
|
|
8777
8789
|
function i(n, a) {
|
|
8778
|
-
const s = n.getText(), l = Hn(a.map(
|
|
8790
|
+
const s = n.getText(), l = Hn(a.map(_d), (b, w) => {
|
|
8779
8791
|
const p = b.range.start.line - w.range.start.line;
|
|
8780
8792
|
return p === 0 ? b.range.start.character - w.range.start.character : p;
|
|
8781
8793
|
});
|
|
@@ -8789,7 +8801,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8789
8801
|
return m.push(s.substr(u)), m.join("");
|
|
8790
8802
|
}
|
|
8791
8803
|
e.applyEdits = i;
|
|
8792
|
-
})(
|
|
8804
|
+
})(Eo || (Eo = {}));
|
|
8793
8805
|
function Hn(e, t) {
|
|
8794
8806
|
if (e.length <= 1) return e;
|
|
8795
8807
|
const r = e.length / 2 | 0, i = e.slice(0, r), n = e.slice(r);
|
|
@@ -8800,53 +8812,53 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8800
8812
|
for (; s < n.length;) e[l++] = n[s++];
|
|
8801
8813
|
return e;
|
|
8802
8814
|
}
|
|
8803
|
-
function
|
|
8815
|
+
function xo(e, t, r = 0) {
|
|
8804
8816
|
const i = t ? [r] : [];
|
|
8805
8817
|
for (let n = 0; n < e.length; n++) {
|
|
8806
8818
|
const a = e.charCodeAt(n);
|
|
8807
|
-
|
|
8819
|
+
So(a) && (a === 13 && n + 1 < e.length && e.charCodeAt(n + 1) === 10 && n++, i.push(r + n + 1));
|
|
8808
8820
|
}
|
|
8809
8821
|
return i;
|
|
8810
8822
|
}
|
|
8811
|
-
function
|
|
8823
|
+
function So(e) {
|
|
8812
8824
|
return e === 13 || e === 10;
|
|
8813
8825
|
}
|
|
8814
|
-
function
|
|
8826
|
+
function Ao(e) {
|
|
8815
8827
|
const t = e.start, r = e.end;
|
|
8816
8828
|
return t.line > r.line || t.line === r.line && t.character > r.character ? {
|
|
8817
8829
|
start: r,
|
|
8818
8830
|
end: t
|
|
8819
8831
|
} : e;
|
|
8820
8832
|
}
|
|
8821
|
-
function
|
|
8822
|
-
const t =
|
|
8833
|
+
function _d(e) {
|
|
8834
|
+
const t = Ao(e.range);
|
|
8823
8835
|
return t !== e.range ? {
|
|
8824
8836
|
newText: e.newText,
|
|
8825
8837
|
range: t
|
|
8826
8838
|
} : e;
|
|
8827
8839
|
}
|
|
8828
|
-
var
|
|
8840
|
+
var Co;
|
|
8829
8841
|
(function(e) {
|
|
8830
8842
|
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";
|
|
8831
|
-
})(
|
|
8843
|
+
})(Co || (Co = {}));
|
|
8832
8844
|
var re;
|
|
8833
8845
|
(function(e) {
|
|
8834
8846
|
e[e.WithinContent = 0] = "WithinContent", e[e.AfterOpeningStartTag = 1] = "AfterOpeningStartTag", e[e.AfterOpeningEndTag = 2] = "AfterOpeningEndTag", e[e.WithinDoctype = 3] = "WithinDoctype", e[e.WithinTag = 4] = "WithinTag", e[e.WithinEndTag = 5] = "WithinEndTag", e[e.WithinComment = 6] = "WithinComment", e[e.WithinScriptContent = 7] = "WithinScriptContent", e[e.WithinStyleContent = 8] = "WithinStyleContent", e[e.AfterAttributeName = 9] = "AfterAttributeName", e[e.BeforeAttributeValue = 10] = "BeforeAttributeValue";
|
|
8835
8847
|
})(re || (re = {}));
|
|
8836
|
-
var
|
|
8848
|
+
var ko;
|
|
8837
8849
|
(function(e) {
|
|
8838
8850
|
e.LATEST = { textDocument: {
|
|
8839
8851
|
completion: { completionItem: { documentationFormat: [dt.Markdown, dt.PlainText] } },
|
|
8840
8852
|
hover: { contentFormat: [dt.Markdown, dt.PlainText] }
|
|
8841
8853
|
} };
|
|
8842
|
-
})(
|
|
8843
|
-
var
|
|
8854
|
+
})(ko || (ko = {}));
|
|
8855
|
+
var To;
|
|
8844
8856
|
(function(e) {
|
|
8845
8857
|
e[e.Unknown = 0] = "Unknown", e[e.File = 1] = "File", e[e.Directory = 2] = "Directory", e[e.SymbolicLink = 64] = "SymbolicLink";
|
|
8846
|
-
})(
|
|
8858
|
+
})(To || (To = {}));
|
|
8847
8859
|
var Re = (function(e) {
|
|
8848
8860
|
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;
|
|
8849
|
-
})({}),
|
|
8861
|
+
})({}), yd = class {
|
|
8850
8862
|
source;
|
|
8851
8863
|
len;
|
|
8852
8864
|
position;
|
|
@@ -8914,19 +8926,19 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8914
8926
|
return this.goToEnd(), !1;
|
|
8915
8927
|
}
|
|
8916
8928
|
skipWhitespace() {
|
|
8917
|
-
return this.advanceWhileChar((e) => e ===
|
|
8929
|
+
return this.advanceWhileChar((e) => e === kd || e === Td || e === Sd || e === Cd || e === Ad) > 0;
|
|
8918
8930
|
}
|
|
8919
8931
|
advanceWhileChar(e) {
|
|
8920
8932
|
const t = this.position;
|
|
8921
8933
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
8922
8934
|
return this.position - t;
|
|
8923
8935
|
}
|
|
8924
|
-
},
|
|
8936
|
+
}, Oo = 33, wt = 45, Yr = 60, Ve = 62, $n = 47, wd = 61, Ed = 34, xd = 39, Sd = 10, Ad = 13, Cd = 12, kd = 32, Td = 9, Od = {
|
|
8925
8937
|
"text/x-handlebars-template": !0,
|
|
8926
8938
|
"text/html": !0
|
|
8927
8939
|
};
|
|
8928
|
-
function
|
|
8929
|
-
const n = new
|
|
8940
|
+
function Pd(e, t = 0, r = re.WithinContent, i = !1) {
|
|
8941
|
+
const n = new yd(e, t);
|
|
8930
8942
|
let a = r, s = 0, l = 18, u, m, b, w, p;
|
|
8931
8943
|
function c() {
|
|
8932
8944
|
return n.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8958,9 +8970,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8958
8970
|
case re.WithinDoctype: return n.advanceIfChar(Ve) ? (a = re.WithinContent, E(_, 15)) : (n.advanceUntilChar(Ve), E(_, 14));
|
|
8959
8971
|
case re.WithinContent:
|
|
8960
8972
|
if (n.advanceIfChar(Yr)) {
|
|
8961
|
-
if (!n.eos() && n.peekChar() ===
|
|
8973
|
+
if (!n.eos() && n.peekChar() === Oo) {
|
|
8962
8974
|
if (n.advanceIfChars([
|
|
8963
|
-
|
|
8975
|
+
Oo,
|
|
8964
8976
|
wt,
|
|
8965
8977
|
wt
|
|
8966
8978
|
])) return a = re.WithinComment, E(_, 0);
|
|
@@ -8977,14 +8989,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
8977
8989
|
C = "Closing bracket expected.";
|
|
8978
8990
|
break;
|
|
8979
8991
|
case re.AfterOpeningStartTag: return b = c(), p = void 0, w = void 0, b.length > 0 ? (m = !1, a = re.WithinTag, E(_, 6)) : n.skipWhitespace() ? E(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinTag, n.advanceUntilChar(Ve), _ < n.pos() ? E(_, 18, "Start tag name expected.") : I());
|
|
8980
|
-
case re.WithinTag: return n.skipWhitespace() ? (m = !0, E(_, 17)) : m && (w = h(), w.length > 0) ? (a = re.AfterAttributeName, m = !1, E(_, 11)) : n.advanceIfChars([$n, Ve]) ? (a = re.WithinContent, E(_, 5)) : n.advanceIfChar(Ve) ? (b === "script" ? p &&
|
|
8981
|
-
case re.AfterAttributeName: return n.skipWhitespace() ? (m = !0, E(_, 17)) : n.advanceIfChar(
|
|
8992
|
+
case re.WithinTag: return n.skipWhitespace() ? (m = !0, E(_, 17)) : m && (w = h(), w.length > 0) ? (a = re.AfterAttributeName, m = !1, E(_, 11)) : n.advanceIfChars([$n, Ve]) ? (a = re.WithinContent, E(_, 5)) : n.advanceIfChar(Ve) ? (b === "script" ? p && Od[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, E(_, 4)) : i && n.peekChar() === Yr ? (a = re.WithinContent, E(_, 4, "Closing bracket missing.")) : (n.advance(1), E(_, 18, "Unexpected character in tag."));
|
|
8993
|
+
case re.AfterAttributeName: return n.skipWhitespace() ? (m = !0, E(_, 17)) : n.advanceIfChar(wd) ? (a = re.BeforeAttributeValue, E(_, 10)) : (a = re.WithinTag, I());
|
|
8982
8994
|
case re.BeforeAttributeValue:
|
|
8983
8995
|
if (n.skipWhitespace()) return E(_, 17);
|
|
8984
8996
|
let d = n.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8985
8997
|
if (d.length > 0) return n.peekChar() === Ve && n.peekChar(-1) === $n && (n.goBack(1), d = d.substr(0, d.length - 1)), w === "type" && (p = d), a = re.WithinTag, m = !1, E(_, 12);
|
|
8986
8998
|
const f = n.peekChar();
|
|
8987
|
-
return f ===
|
|
8999
|
+
return f === xd || f === Ed ? (n.advance(1), n.advanceUntilChar(f) && n.advance(1), w === "type" && (p = n.getSource().substring(_ + 1, n.pos() - 1)), a = re.WithinTag, m = !1, E(_, 12)) : (a = re.WithinTag, m = !1, I());
|
|
8988
9000
|
case re.WithinScriptContent:
|
|
8989
9001
|
let y = 1;
|
|
8990
9002
|
for (; !n.eos();) {
|
|
@@ -9015,14 +9027,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9015
9027
|
getTokenError: () => u
|
|
9016
9028
|
};
|
|
9017
9029
|
}
|
|
9018
|
-
function
|
|
9030
|
+
function Rd(e) {
|
|
9019
9031
|
if (typeof e == "string") {
|
|
9020
9032
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
9021
9033
|
return e.substring(t, r);
|
|
9022
9034
|
}
|
|
9023
9035
|
return e;
|
|
9024
9036
|
}
|
|
9025
|
-
var
|
|
9037
|
+
var Po = class {
|
|
9026
9038
|
text;
|
|
9027
9039
|
type;
|
|
9028
9040
|
node = void 0;
|
|
@@ -9059,13 +9071,13 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9059
9071
|
a.children.push(i), i.closed = t !== void 0, i.endTagStart = e, i.end = n, i.content = this.text.substring(i.startTagEnd, e), this.node = void 0;
|
|
9060
9072
|
}
|
|
9061
9073
|
}
|
|
9062
|
-
},
|
|
9074
|
+
}, Ro = class {
|
|
9063
9075
|
dataManager;
|
|
9064
9076
|
constructor(e) {
|
|
9065
9077
|
this.dataManager = e;
|
|
9066
9078
|
}
|
|
9067
9079
|
parse(e, t = []) {
|
|
9068
|
-
const r =
|
|
9080
|
+
const r = Pd(e, void 0, void 0, !0), i = new et(0, e.length, [], void 0);
|
|
9069
9081
|
i.type = ke.ROOT;
|
|
9070
9082
|
let n = i, a = -1, s, l = null, u = r.scan();
|
|
9071
9083
|
const m = () => {
|
|
@@ -9074,7 +9086,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9074
9086
|
E?.type === ke.HTML ? (E.content = (E.content || "") + T, E.end = n.end, h.splice(h.length - 1, 1)) : (n.type = ke.HTML, n.content = T, n.children = []), n.type = ke.HTML;
|
|
9075
9087
|
}
|
|
9076
9088
|
n = n.parent;
|
|
9077
|
-
}, b = new
|
|
9089
|
+
}, b = new Po(e, ke.COMMENT), w = new Po(e, ke.DOCTYPE), p = (h) => {
|
|
9078
9090
|
n.children.push(h);
|
|
9079
9091
|
};
|
|
9080
9092
|
for (; u !== Re.EOS;) {
|
|
@@ -9163,7 +9175,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9163
9175
|
}
|
|
9164
9176
|
case Re.AttributeValue: {
|
|
9165
9177
|
const _ = r.getTokenText(), C = n.attributes;
|
|
9166
|
-
C && l && (C[l] =
|
|
9178
|
+
C && l && (C[l] = Rd(_), l = null);
|
|
9167
9179
|
break;
|
|
9168
9180
|
}
|
|
9169
9181
|
}
|
|
@@ -9186,7 +9198,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9186
9198
|
};
|
|
9187
9199
|
}
|
|
9188
9200
|
};
|
|
9189
|
-
new
|
|
9201
|
+
new Ro(new ga([
|
|
9190
9202
|
"area",
|
|
9191
9203
|
"base",
|
|
9192
9204
|
"br",
|
|
@@ -9202,7 +9214,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9202
9214
|
"wbr",
|
|
9203
9215
|
"vk-snippet-end"
|
|
9204
9216
|
]));
|
|
9205
|
-
var
|
|
9217
|
+
var Nd = new Ro(new ga([
|
|
9206
9218
|
"area",
|
|
9207
9219
|
"base",
|
|
9208
9220
|
"br",
|
|
@@ -9218,16 +9230,16 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9218
9230
|
"wbr",
|
|
9219
9231
|
"vk-snippet-end"
|
|
9220
9232
|
]));
|
|
9221
|
-
function Nd(e) {
|
|
9222
|
-
return Rd.parse(e);
|
|
9223
|
-
}
|
|
9224
9233
|
function Id(e) {
|
|
9234
|
+
return Nd.parse(e);
|
|
9235
|
+
}
|
|
9236
|
+
function Md(e) {
|
|
9225
9237
|
if (e) {
|
|
9226
9238
|
const t = document.createElement("div");
|
|
9227
9239
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
9228
9240
|
} else return document.createTextNode("");
|
|
9229
9241
|
}
|
|
9230
|
-
function
|
|
9242
|
+
function jd(e) {
|
|
9231
9243
|
let t;
|
|
9232
9244
|
switch (e?.toLowerCase()) {
|
|
9233
9245
|
case "tr":
|
|
@@ -9250,7 +9262,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9250
9262
|
}
|
|
9251
9263
|
return t;
|
|
9252
9264
|
}
|
|
9253
|
-
var
|
|
9265
|
+
var Dd = new Set([
|
|
9254
9266
|
"onclick",
|
|
9255
9267
|
"onload",
|
|
9256
9268
|
"onchange",
|
|
@@ -9258,15 +9270,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9258
9270
|
"onmouseover",
|
|
9259
9271
|
"onkeydown",
|
|
9260
9272
|
"onerror"
|
|
9261
|
-
]),
|
|
9273
|
+
]), Ld = new Set([
|
|
9262
9274
|
"script",
|
|
9263
9275
|
"style",
|
|
9264
9276
|
"xmp"
|
|
9265
9277
|
]);
|
|
9266
|
-
function
|
|
9267
|
-
return !(t &&
|
|
9278
|
+
function Fd(e, t) {
|
|
9279
|
+
return !(t && Ld.has(t.toLowerCase()) || Dd.has(e.toLowerCase()));
|
|
9268
9280
|
}
|
|
9269
|
-
var
|
|
9281
|
+
var Ud = (e) => {
|
|
9270
9282
|
let t = e.indexOf("&");
|
|
9271
9283
|
for (; t !== -1;) {
|
|
9272
9284
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -9274,10 +9286,10 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9274
9286
|
}
|
|
9275
9287
|
return !1;
|
|
9276
9288
|
};
|
|
9277
|
-
function
|
|
9289
|
+
function No(e, t, r) {
|
|
9278
9290
|
let i = e.tagName.toLowerCase();
|
|
9279
9291
|
i === "html" && (i = "div");
|
|
9280
|
-
const n = `<${i} ${t}="${r}"/>`, a =
|
|
9292
|
+
const n = `<${i} ${t}="${r}"/>`, a = jd(i);
|
|
9281
9293
|
if (a instanceof Document) return;
|
|
9282
9294
|
a.innerHTML = n;
|
|
9283
9295
|
const s = a.querySelector(i);
|
|
@@ -9287,9 +9299,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9287
9299
|
}
|
|
9288
9300
|
function Et(e, t, r) {
|
|
9289
9301
|
try {
|
|
9290
|
-
|
|
9302
|
+
Fd(t, e.tagName) && !Ud(r) ? e.setAttribute(t, r) : No(e, t, r);
|
|
9291
9303
|
} catch {
|
|
9292
|
-
|
|
9304
|
+
No(e, t, r);
|
|
9293
9305
|
}
|
|
9294
9306
|
}
|
|
9295
9307
|
function Wn(e, t = !0) {
|
|
@@ -9320,28 +9332,28 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9320
9332
|
return i;
|
|
9321
9333
|
}
|
|
9322
9334
|
return document.createTextNode("<");
|
|
9323
|
-
case ke.HTML: return
|
|
9335
|
+
case ke.HTML: return Md(r || "");
|
|
9324
9336
|
default: throw new Error("unsupported node");
|
|
9325
9337
|
}
|
|
9326
9338
|
}
|
|
9327
9339
|
function Qn(e) {
|
|
9328
|
-
return
|
|
9340
|
+
return Id(e).roots.map((t) => Wn(t));
|
|
9329
9341
|
}
|
|
9330
|
-
var
|
|
9342
|
+
var Io = Symbol("Error");
|
|
9331
9343
|
function Gt(e) {
|
|
9332
|
-
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) =>
|
|
9344
|
+
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Io) : t)).then((t) => t.filter((r) => r !== Io));
|
|
9333
9345
|
}
|
|
9334
|
-
var
|
|
9346
|
+
var Mo = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), zd = new Set([
|
|
9335
9347
|
"https:",
|
|
9336
9348
|
"http:",
|
|
9337
9349
|
"file:"
|
|
9338
|
-
]),
|
|
9350
|
+
]), Bd = (e) => {
|
|
9339
9351
|
const t = e.indexOf(":");
|
|
9340
9352
|
if (t <= 0) return !1;
|
|
9341
9353
|
const r = e.substring(0, t + 1);
|
|
9342
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !
|
|
9354
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !zd.has(r) : !1;
|
|
9343
9355
|
};
|
|
9344
|
-
function
|
|
9356
|
+
function qd(e, t) {
|
|
9345
9357
|
if (t = {
|
|
9346
9358
|
defaultProtocol: "http",
|
|
9347
9359
|
normalizeProtocol: !0,
|
|
@@ -9359,7 +9371,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9359
9371
|
sortQueryParameters: !0,
|
|
9360
9372
|
...t
|
|
9361
9373
|
}, !e) return "";
|
|
9362
|
-
if (
|
|
9374
|
+
if (jo(e) && (e = ft(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Bd(e)) return e;
|
|
9363
9375
|
const r = e.startsWith("//"), i = !r && /^\.*\//.test(e);
|
|
9364
9376
|
let n;
|
|
9365
9377
|
try {
|
|
@@ -9393,9 +9405,9 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9393
9405
|
if (t.removeDirectoryIndex) {
|
|
9394
9406
|
let l = a.pathname.split("/");
|
|
9395
9407
|
const u = l[l.length - 1];
|
|
9396
|
-
Array.isArray(t.removeDirectoryIndex) &&
|
|
9408
|
+
Array.isArray(t.removeDirectoryIndex) && Mo(u, t.removeDirectoryIndex) && (l = l.slice(0, -1), a.pathname = l.join("/") + "/");
|
|
9397
9409
|
}
|
|
9398
|
-
if (t.stripWWW && /^www\.(?!www\.)[a-z\d\-]+(\.[a-z.\-]{2,63})+$/.test(a.hostname || "") && (a.hostname = a.hostname.replace(/^www\./, "")), Array.isArray(t.removeQueryParameters)) for (const l of [...a.searchParams.keys()])
|
|
9410
|
+
if (t.stripWWW && /^www\.(?!www\.)[a-z\d\-]+(\.[a-z.\-]{2,63})+$/.test(a.hostname || "") && (a.hostname = a.hostname.replace(/^www\./, "")), Array.isArray(t.removeQueryParameters)) for (const l of [...a.searchParams.keys()]) Mo(l, t.removeQueryParameters) && a.searchParams.delete(l);
|
|
9399
9411
|
if (t.sortQueryParameters) {
|
|
9400
9412
|
a.searchParams.sort();
|
|
9401
9413
|
try {
|
|
@@ -9406,25 +9418,25 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9406
9418
|
let s = a.toString();
|
|
9407
9419
|
return !t.removeSingleSlash && a.pathname === "/" && !e.endsWith("/") && a.hash === "" && (s = s.replace(/\/$/, "")), (t.removeTrailingSlash || a.pathname === "/") && a.hash === "" && t.removeSingleSlash && (s = s.replace(/\/$/, "")), r && !t.normalizeProtocol && (s = s.replace(/^https?:\/\//, "//")), s;
|
|
9408
9420
|
}
|
|
9409
|
-
function
|
|
9421
|
+
function jo(e) {
|
|
9410
9422
|
if (!e) return !1;
|
|
9411
9423
|
const t = e[0];
|
|
9412
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
9424
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Hd(t);
|
|
9413
9425
|
}
|
|
9414
|
-
function
|
|
9426
|
+
function Hd(e) {
|
|
9415
9427
|
const t = e.charCodeAt(0);
|
|
9416
9428
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
9417
9429
|
}
|
|
9418
|
-
function
|
|
9430
|
+
function $d(e) {
|
|
9419
9431
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
9420
9432
|
}
|
|
9421
9433
|
function ft(e) {
|
|
9422
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !
|
|
9434
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !jo(e) || $d(e)) return e;
|
|
9423
9435
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
9424
9436
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
9425
9437
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
9426
9438
|
}
|
|
9427
|
-
var xt = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi,
|
|
9439
|
+
var xt = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi, Wd = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, St = /<style\b[^>]*>[\s\S]*?<\/style>/gi, Do = /display:\s*none\s*!important/gi, Qd = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Vd = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Gd = /height\s*:\s*100%\s*!important/i, Zd = [
|
|
9428
9440
|
".socialshare,",
|
|
9429
9441
|
".advertisment,",
|
|
9430
9442
|
".adHolder,",
|
|
@@ -9441,57 +9453,57 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
9441
9453
|
"#advblock",
|
|
9442
9454
|
"body { overflow: visible!important; }"
|
|
9443
9455
|
];
|
|
9444
|
-
function
|
|
9445
|
-
return
|
|
9456
|
+
function Yd(e) {
|
|
9457
|
+
return Do.lastIndex = 0, (e.match(Do) || []).length;
|
|
9446
9458
|
}
|
|
9447
|
-
function
|
|
9448
|
-
const t = e.trim(), r =
|
|
9459
|
+
function Lo(e) {
|
|
9460
|
+
const t = e.trim(), r = Yd(t);
|
|
9449
9461
|
if (r === 0) return !1;
|
|
9450
9462
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
9451
|
-
const i =
|
|
9463
|
+
const i = Zd.filter((n) => t.includes(n)).length;
|
|
9452
9464
|
return i >= 1 && (r >= 3 || t.length > 2e3) || r >= 5 && i >= 1 ? !0 : r >= 20 && /\b(?:\.ad(?:s|vert|vertisment|Holder|banner|box|Container|Wrapper)?[,{]|#ad[-_]|ins\.adsbygoogle)/i.test(t);
|
|
9453
9465
|
}
|
|
9454
|
-
function
|
|
9466
|
+
function Jd(e) {
|
|
9455
9467
|
St.lastIndex = 0;
|
|
9456
|
-
for (const t of e.matchAll(St)) if (
|
|
9468
|
+
for (const t of e.matchAll(St)) if (Lo(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
9457
9469
|
return !1;
|
|
9458
9470
|
}
|
|
9459
|
-
function
|
|
9471
|
+
function Xd(e) {
|
|
9460
9472
|
let t = !1;
|
|
9461
9473
|
return St.lastIndex = 0, {
|
|
9462
|
-
html: e.replace(St, (r) =>
|
|
9474
|
+
html: e.replace(St, (r) => Lo(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
9463
9475
|
found: t
|
|
9464
9476
|
};
|
|
9465
9477
|
}
|
|
9466
|
-
function
|
|
9467
|
-
return xt.lastIndex = 0, xt.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
9478
|
+
function Kd(e) {
|
|
9479
|
+
return xt.lastIndex = 0, xt.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || Jd(e);
|
|
9468
9480
|
}
|
|
9469
|
-
function
|
|
9470
|
-
if (!
|
|
9481
|
+
function Fo(e) {
|
|
9482
|
+
if (!Kd(e)) return {
|
|
9471
9483
|
html: e,
|
|
9472
9484
|
found: !1
|
|
9473
9485
|
};
|
|
9474
9486
|
let t = !1, r = e;
|
|
9475
|
-
xt.lastIndex = 0, xt.test(r) && (xt.lastIndex = 0, r = r.replace(xt, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(
|
|
9476
|
-
const i =
|
|
9487
|
+
xt.lastIndex = 0, xt.test(r) && (xt.lastIndex = 0, r = r.replace(xt, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Wd, ""), t = !0);
|
|
9488
|
+
const i = Xd(r);
|
|
9477
9489
|
return r = i.html, t = t || i.found, {
|
|
9478
9490
|
html: r,
|
|
9479
9491
|
found: t
|
|
9480
9492
|
};
|
|
9481
9493
|
}
|
|
9482
|
-
function Kd(e) {
|
|
9483
|
-
return !e || !Vd.test(e) ? e : (St.lastIndex = 0, e.replace(St, (t) => t.replace(Wd, (r, i, n, a) => `${i}${n.replace(Qd, "")}${a}`)));
|
|
9484
|
-
}
|
|
9485
9494
|
function ep(e) {
|
|
9486
|
-
|
|
9495
|
+
return !e || !Gd.test(e) ? e : (St.lastIndex = 0, e.replace(St, (t) => t.replace(Qd, (r, i, n, a) => `${i}${n.replace(Vd, "")}${a}`)));
|
|
9496
|
+
}
|
|
9497
|
+
function tp(e) {
|
|
9498
|
+
const t = Fo(e.replaceAll(`\r
|
|
9487
9499
|
`, `
|
|
9488
9500
|
`));
|
|
9489
9501
|
return {
|
|
9490
|
-
html:
|
|
9502
|
+
html: ep(t.html),
|
|
9491
9503
|
hasBrowserExtensionArtifacts: t.found
|
|
9492
9504
|
};
|
|
9493
9505
|
}
|
|
9494
|
-
var
|
|
9506
|
+
var np = X.__commonJSMin(((e, t) => {
|
|
9495
9507
|
(function(r, i) {
|
|
9496
9508
|
typeof e == "object" && typeof t < "u" ? i(e) : typeof define == "function" && define.amd ? define(["exports"], i) : (r = typeof globalThis < "u" ? globalThis : r || self, i(r.MutationSummary = {}));
|
|
9497
9509
|
})(e, (function(r) {
|
|
@@ -10409,33 +10421,33 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10409
10421
|
r.ChildListChange = n, r.MutationProjection = m, r.MutationSummary = I, r.NodeChange = l, r.NodeMap = i, r.Qualifier = w, r.Selector = E, r.Summary = b, r.TreeChanges = u, r.TreeMirror = _, r.TreeMirrorClient = C, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
10410
10422
|
}));
|
|
10411
10423
|
}))(), At = 0, Ct = new Array(1e3);
|
|
10412
|
-
function
|
|
10424
|
+
function ip() {
|
|
10413
10425
|
for (let e = 0; e < At; e += 2) {
|
|
10414
10426
|
const t = Ct[e], r = Ct[e + 1];
|
|
10415
10427
|
t(...r), Ct[e] = void 0, Ct[e + 1] = void 0;
|
|
10416
10428
|
}
|
|
10417
10429
|
At = 0;
|
|
10418
10430
|
}
|
|
10419
|
-
function
|
|
10420
|
-
Ct[At] = e, Ct[At + 1] = t, At += 2, At === 2 &&
|
|
10431
|
+
function ap(e, ...t) {
|
|
10432
|
+
Ct[At] = e, Ct[At + 1] = t, At += 2, At === 2 && sp();
|
|
10421
10433
|
}
|
|
10422
|
-
function
|
|
10434
|
+
function op() {
|
|
10423
10435
|
let e = 0;
|
|
10424
|
-
const t = new MutationObserver(
|
|
10436
|
+
const t = new MutationObserver(ip), r = document.createTextNode("");
|
|
10425
10437
|
return t.observe(r, { characterData: !0 }), () => {
|
|
10426
10438
|
r.data = String(e = ++e % 2);
|
|
10427
10439
|
};
|
|
10428
10440
|
}
|
|
10429
|
-
var
|
|
10430
|
-
function
|
|
10431
|
-
|
|
10432
|
-
Vn.hasListeners() && (Vn.fire(),
|
|
10441
|
+
var sp = op();
|
|
10442
|
+
function Uo() {
|
|
10443
|
+
ap(() => {
|
|
10444
|
+
Vn.hasListeners() && (Vn.fire(), Uo());
|
|
10433
10445
|
});
|
|
10434
10446
|
}
|
|
10435
|
-
var Vn = new k.Emitter({ onFirstListenerAdd:
|
|
10447
|
+
var Vn = new k.Emitter({ onFirstListenerAdd: Uo }), Gn = Vn.once, lp = class extends k.Emitter {
|
|
10436
10448
|
_mutationSummary;
|
|
10437
10449
|
constructor(e = {}) {
|
|
10438
|
-
super(), this._mutationSummary = new
|
|
10450
|
+
super(), this._mutationSummary = new np.MutationSummary({
|
|
10439
10451
|
...e,
|
|
10440
10452
|
observeOwnChanges: !0,
|
|
10441
10453
|
callback: (t) => this.fire(t),
|
|
@@ -10449,7 +10461,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10449
10461
|
const t = this._mutationSummary.takeSummaries();
|
|
10450
10462
|
return (e || t?.length) && this.fire(t || []), t;
|
|
10451
10463
|
}
|
|
10452
|
-
},
|
|
10464
|
+
}, cp = class extends k.Disposable {
|
|
10453
10465
|
_mutationEmitter;
|
|
10454
10466
|
_innerEmitter = this.addDisposable(new k.Emitter({ onFirstListenerAdd: () => {
|
|
10455
10467
|
this._nextTickHandler();
|
|
@@ -10464,7 +10476,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10464
10476
|
}, Number.MAX_VALUE);
|
|
10465
10477
|
}
|
|
10466
10478
|
constructor(e = {}) {
|
|
10467
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
10479
|
+
super(), this._mutationEmitter = this.addDisposable(new lp(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
10468
10480
|
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Gn(() => {
|
|
10469
10481
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10470
10482
|
}, Number.MAX_VALUE)));
|
|
@@ -10492,7 +10504,7 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10492
10504
|
onLost = this._lostEmitter.event;
|
|
10493
10505
|
onNativeMutate;
|
|
10494
10506
|
};
|
|
10495
|
-
function
|
|
10507
|
+
function up(e) {
|
|
10496
10508
|
for (const t of e) {
|
|
10497
10509
|
if (t.removed) for (const r of t.removed) {
|
|
10498
10510
|
const i = t.getOldParentNode(r), n = t.getOldPreviousSibling(r);
|
|
@@ -10516,18 +10528,18 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10516
10528
|
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Vt(r) || On(r) || On(r)) && (r.data = t.getOldCharacterData(r));
|
|
10517
10529
|
}
|
|
10518
10530
|
}
|
|
10519
|
-
var
|
|
10531
|
+
var dp = class extends k.Disposable {
|
|
10520
10532
|
_commitPromise;
|
|
10521
10533
|
_mutationCollector;
|
|
10522
10534
|
_onLostSummaries = (e) => {
|
|
10523
10535
|
try {
|
|
10524
|
-
this._mutationCollector.stop(),
|
|
10536
|
+
this._mutationCollector.stop(), up(e);
|
|
10525
10537
|
} finally {
|
|
10526
10538
|
this._mutationCollector.start();
|
|
10527
10539
|
}
|
|
10528
10540
|
};
|
|
10529
10541
|
constructor(e) {
|
|
10530
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
10542
|
+
super(), this._mutationCollector = this.addDisposable(new cp({
|
|
10531
10543
|
rootNode: e,
|
|
10532
10544
|
oldPreviousSibling: !0
|
|
10533
10545
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -10547,17 +10559,17 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10547
10559
|
}
|
|
10548
10560
|
}
|
|
10549
10561
|
};
|
|
10550
|
-
function
|
|
10562
|
+
function zo(e, t) {
|
|
10551
10563
|
const r = (a) => {
|
|
10552
10564
|
const s = {
|
|
10553
10565
|
contentDocument: a,
|
|
10554
10566
|
html: bt(a)
|
|
10555
10567
|
};
|
|
10556
|
-
return s.html =
|
|
10568
|
+
return s.html = Fo(s.html).html, s;
|
|
10557
10569
|
}, i = new k.AsyncEmitter(), n = new k.AsyncEmitter();
|
|
10558
10570
|
try {
|
|
10559
10571
|
const a = Qn(e), s = document.implementation.createHTMLDocument();
|
|
10560
|
-
return
|
|
10572
|
+
return ma(s, a), {
|
|
10561
10573
|
document: s,
|
|
10562
10574
|
handleRender: n.event,
|
|
10563
10575
|
handleReadHtml: i.event,
|
|
@@ -10565,14 +10577,14 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10565
10577
|
if (n.hasListeners()) {
|
|
10566
10578
|
const l = document.createElement("iframe");
|
|
10567
10579
|
l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
|
|
10568
|
-
const u = l.contentWindow.document, m = new
|
|
10580
|
+
const u = l.contentWindow.document, m = new dp(l.contentDocument);
|
|
10569
10581
|
let b;
|
|
10570
10582
|
try {
|
|
10571
10583
|
if (t) {
|
|
10572
10584
|
const [w, p] = t;
|
|
10573
10585
|
w !== void 0 && l.setAttribute("width", String(w)), p !== void 0 && l.setAttribute("height", String(p));
|
|
10574
10586
|
}
|
|
10575
|
-
|
|
10587
|
+
ma(u, [...s.childNodes]), m.commit();
|
|
10576
10588
|
} catch (w) {
|
|
10577
10589
|
throw w;
|
|
10578
10590
|
} finally {
|
|
@@ -10600,8 +10612,8 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10600
10612
|
throw a;
|
|
10601
10613
|
}
|
|
10602
10614
|
}
|
|
10603
|
-
var
|
|
10604
|
-
function
|
|
10615
|
+
var pp = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
10616
|
+
function fp(e) {
|
|
10605
10617
|
return e.arrayBuffer().then((t) => {
|
|
10606
10618
|
const r = new Uint8Array(t);
|
|
10607
10619
|
let i = "";
|
|
@@ -10619,15 +10631,15 @@ while (g === L[++z] && g === L[++z] && g === L[++z] && g === L[++z] && g === L[+
|
|
|
10619
10631
|
function Jr(e) {
|
|
10620
10632
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
10621
10633
|
}
|
|
10622
|
-
async function
|
|
10634
|
+
async function hp(e, t, r, i, n, a, s) {
|
|
10623
10635
|
const l = [];
|
|
10624
10636
|
a && (a.attachments = l);
|
|
10625
10637
|
let u = "";
|
|
10626
|
-
typeof n == "function" ? u = await
|
|
10638
|
+
typeof n == "function" ? u = await $o(t, r, i, n, a, s) : u = (await Gt(Object.keys(n).map(async (b) => `\r
|
|
10627
10639
|
--boundary-string\r
|
|
10628
10640
|
Content-Type: ${b}\r
|
|
10629
10641
|
\r
|
|
10630
|
-
${await
|
|
10642
|
+
${await $o(t, r, i, n[b], a, s)}\r
|
|
10631
10643
|
\r
|
|
10632
10644
|
`))).join("") + "----boundary_string--";
|
|
10633
10645
|
const m = [
|
|
@@ -10659,29 +10671,29 @@ ${w.base64}\r
|
|
|
10659
10671
|
\r
|
|
10660
10672
|
${u}`;
|
|
10661
10673
|
}
|
|
10662
|
-
function
|
|
10674
|
+
function mp(e, t = !0) {
|
|
10663
10675
|
const r = Me.decodeFileNameFromPath(e);
|
|
10664
10676
|
return t ? Jr(r) : r;
|
|
10665
10677
|
}
|
|
10666
|
-
function
|
|
10678
|
+
function gp(e) {
|
|
10667
10679
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
10668
10680
|
}
|
|
10669
|
-
function
|
|
10681
|
+
function Bo(e) {
|
|
10670
10682
|
const t = Me.decodeFileNameFromPath(e), r = t.lastIndexOf("."), i = t.slice(r + 1);
|
|
10671
|
-
return r === -1 || !
|
|
10683
|
+
return r === -1 || !gp(i) ? [Jr(t), ""] : [Jr(t.slice(0, r)), i];
|
|
10672
10684
|
}
|
|
10673
|
-
function
|
|
10674
|
-
return
|
|
10685
|
+
function vp(e) {
|
|
10686
|
+
return Wo(e).then((t) => Qo(t));
|
|
10675
10687
|
}
|
|
10676
|
-
function
|
|
10688
|
+
function qo(e) {
|
|
10677
10689
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
10678
10690
|
}
|
|
10679
|
-
var Ge = new
|
|
10680
|
-
e.escape("<script", "<\/script>", (t) =>
|
|
10691
|
+
var Ge = new Yu((e) => {
|
|
10692
|
+
e.escape("<script", "<\/script>", (t) => qo(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => qo(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), na(e);
|
|
10681
10693
|
});
|
|
10682
10694
|
async function Xr(e, t, r, i) {
|
|
10683
10695
|
e = Ge.getEscapedText(e);
|
|
10684
|
-
const n =
|
|
10696
|
+
const n = zo(e, r);
|
|
10685
10697
|
try {
|
|
10686
10698
|
const a = n.document, s = a.querySelectorAll("tbody");
|
|
10687
10699
|
for (const l of s) l.replaceWith(...l.childNodes);
|
|
@@ -10716,13 +10728,13 @@ ${u}`;
|
|
|
10716
10728
|
return Promise.reject(i);
|
|
10717
10729
|
}
|
|
10718
10730
|
}
|
|
10719
|
-
async function
|
|
10731
|
+
async function bp(e, t, r = new Map(), i) {
|
|
10720
10732
|
const n = (w) => {
|
|
10721
10733
|
let p = r.get(w);
|
|
10722
10734
|
return p || (p = t(w), r.set(w, p)), p instanceof Promise ? p : Promise.resolve(p);
|
|
10723
10735
|
};
|
|
10724
10736
|
function a(w) {
|
|
10725
|
-
return Kr(w,
|
|
10737
|
+
return Kr(w, pp, async (p, c = "", h) => `url(${c}${await n(h)}${c})`);
|
|
10726
10738
|
}
|
|
10727
10739
|
async function s(w) {
|
|
10728
10740
|
const p = w.getAttribute("style");
|
|
@@ -10744,20 +10756,20 @@ ${u}`;
|
|
|
10744
10756
|
const p = w.getAttribute("background");
|
|
10745
10757
|
if (p && b.push(n(p).then((c) => {
|
|
10746
10758
|
w.setAttribute("background", c || p), i && i();
|
|
10747
|
-
})),
|
|
10759
|
+
})), da(w) || ad(w)) {
|
|
10748
10760
|
const c = w.getAttribute("src"), h = c && Ge.hasDetectedMappings(c, !0, !0) ? c : ("src" in w ? w.src : "") || c;
|
|
10749
10761
|
h && b.push(n(h).then((E) => {
|
|
10750
10762
|
E || (E = h), w.setAttribute("src", E), i && i();
|
|
10751
10763
|
}));
|
|
10752
10764
|
}
|
|
10753
|
-
if (
|
|
10765
|
+
if (pa(w)) {
|
|
10754
10766
|
const c = w.innerHTML;
|
|
10755
10767
|
c && b.push(a(c).then((h) => {
|
|
10756
10768
|
h !== c && (w.innerHTML = h, i && i());
|
|
10757
10769
|
}));
|
|
10758
10770
|
}
|
|
10759
10771
|
} else if (On(w)) {
|
|
10760
|
-
const p =
|
|
10772
|
+
const p = hd(w), c = p?.content;
|
|
10761
10773
|
c && b.push(Kr(c, /<v:fill.*>/gi, async (h) => Kr(await Kr(h, /src="([^"]*)"/gi, async (E, T) => `src="${await n(T) || T}"`), /src='([^']*)'/gi, async (E, T) => `src='${await n(T) || T}'`)).then((h) => {
|
|
10762
10774
|
c !== h && (w.replaceWith(Qn(`${p.open}${h}${p.close}`)[0]), i && i());
|
|
10763
10775
|
}));
|
|
@@ -10766,9 +10778,9 @@ ${u}`;
|
|
|
10766
10778
|
return Gt(b);
|
|
10767
10779
|
}
|
|
10768
10780
|
async function Zt(e, t, r = new Map(), i) {
|
|
10769
|
-
await
|
|
10781
|
+
await bp(e, t, r, i);
|
|
10770
10782
|
}
|
|
10771
|
-
function
|
|
10783
|
+
function _p(e) {
|
|
10772
10784
|
const t = new Map();
|
|
10773
10785
|
let r = 0;
|
|
10774
10786
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -10777,10 +10789,10 @@ ${u}`;
|
|
|
10777
10789
|
}
|
|
10778
10790
|
return t;
|
|
10779
10791
|
}
|
|
10780
|
-
function
|
|
10792
|
+
function yp(e) {
|
|
10781
10793
|
return !!e && Ge.hasDetectedMappings(e, !0, !0);
|
|
10782
10794
|
}
|
|
10783
|
-
function
|
|
10795
|
+
function Ho(e, t) {
|
|
10784
10796
|
const r = e.indexOf("#"), i = r >= 0 ? e.substring(r + 1) : "";
|
|
10785
10797
|
let n = r >= 0 ? e.substring(0, r) : e;
|
|
10786
10798
|
const a = n.indexOf("?"), s = a >= 0 ? n.substring(a + 1) : "";
|
|
@@ -10790,7 +10802,7 @@ ${u}`;
|
|
|
10790
10802
|
if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
|
|
10791
10803
|
return u === s ? e : n + (u ? `?${u}` : "") + (i ? `#${i}` : "");
|
|
10792
10804
|
}
|
|
10793
|
-
function
|
|
10805
|
+
function wp(e) {
|
|
10794
10806
|
const t = Ge.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], i = [];
|
|
10795
10807
|
let n = e;
|
|
10796
10808
|
for (const { range: a } of t) {
|
|
@@ -10806,35 +10818,35 @@ ${u}`;
|
|
|
10806
10818
|
restore: (a) => i.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
|
|
10807
10819
|
};
|
|
10808
10820
|
}
|
|
10809
|
-
function
|
|
10821
|
+
function Ep(e, t, r, i) {
|
|
10810
10822
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
10811
|
-
const { masked: n, tokens: a, restore: s } =
|
|
10823
|
+
const { masked: n, tokens: a, restore: s } = wp(t), l = n.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
|
|
10812
10824
|
if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
|
|
10813
|
-
const b =
|
|
10825
|
+
const b = Ho(n, r);
|
|
10814
10826
|
if (b === n) return;
|
|
10815
10827
|
const w = s(b);
|
|
10816
10828
|
w !== t && (e.setAttribute("href", w), i && i());
|
|
10817
10829
|
}
|
|
10818
10830
|
function Yn(e, t, r) {
|
|
10819
10831
|
const i = e.getAttribute("href");
|
|
10820
|
-
if (
|
|
10821
|
-
|
|
10832
|
+
if (yp(i)) {
|
|
10833
|
+
Ep(e, i, t, r);
|
|
10822
10834
|
return;
|
|
10823
10835
|
}
|
|
10824
10836
|
let n = e.href;
|
|
10825
10837
|
if (n = ft(n), n && e.protocol.startsWith("http")) {
|
|
10826
|
-
const a =
|
|
10838
|
+
const a = _p(n);
|
|
10827
10839
|
if (a.forEach((s, l) => {
|
|
10828
10840
|
n = n.replaceAll(l, s);
|
|
10829
10841
|
}), e.host !== document.location.host) {
|
|
10830
|
-
const s =
|
|
10842
|
+
const s = Ho(n, t);
|
|
10831
10843
|
s !== n && (n = s, a.forEach((l, u) => {
|
|
10832
10844
|
n = n.replaceAll(l, u);
|
|
10833
10845
|
}), e.setAttribute("href", n), r && r());
|
|
10834
10846
|
}
|
|
10835
10847
|
}
|
|
10836
10848
|
}
|
|
10837
|
-
async function
|
|
10849
|
+
async function xp(e, t, r, i, n) {
|
|
10838
10850
|
let [a, s] = t || [800];
|
|
10839
10851
|
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Xr(e, async (l) => {
|
|
10840
10852
|
const u = l.document;
|
|
@@ -10844,20 +10856,20 @@ ${u}`;
|
|
|
10844
10856
|
if (i) return i(l);
|
|
10845
10857
|
}, [a, s], n), e;
|
|
10846
10858
|
}
|
|
10847
|
-
async function
|
|
10859
|
+
async function $o(e, t, r, i, n, a) {
|
|
10848
10860
|
let [s, l] = t || [800];
|
|
10849
10861
|
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await Xr(e, async (u) => {
|
|
10850
10862
|
const m = u.document;
|
|
10851
10863
|
if (await Zt(m, (b) => Ge.getEscapedText(b) !== b ? b : ft(b)), u.handleRender(async ({ contentDocument: b, managedNodeController: w }) => {
|
|
10852
10864
|
const p = b.querySelectorAll("*");
|
|
10853
|
-
for (const c of p) if (
|
|
10854
|
-
const h = await
|
|
10865
|
+
for (const c of p) if (da(c)) {
|
|
10866
|
+
const h = await fa(c);
|
|
10855
10867
|
if (h) {
|
|
10856
10868
|
const E = parseInt(h.height), T = parseInt(h.width);
|
|
10857
10869
|
isNaN(E) || c.setAttribute("height", String(E)), !isNaN(T) && !c.getAttribute("width") && c.setAttribute("width", String(T));
|
|
10858
10870
|
}
|
|
10859
10871
|
w.commit();
|
|
10860
|
-
} else if (
|
|
10872
|
+
} else if (md(c)) {
|
|
10861
10873
|
const h = parseInt(getComputedStyle(c).width);
|
|
10862
10874
|
!isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), w.commit();
|
|
10863
10875
|
} else c.tagName === "TD" || c.tagName === "A" && Yn(c, r, () => w.commit());
|
|
@@ -10896,7 +10908,7 @@ ${u}`;
|
|
|
10896
10908
|
return _;
|
|
10897
10909
|
}
|
|
10898
10910
|
try {
|
|
10899
|
-
const C = await b(_), d = `img-${k.generateUUID()}@emailmaker`, f = await
|
|
10911
|
+
const C = await b(_), d = `img-${k.generateUUID()}@emailmaker`, f = await fp(C);
|
|
10900
10912
|
return w.push({
|
|
10901
10913
|
cid: d,
|
|
10902
10914
|
mimeType: C.type || "application/octet-stream",
|
|
@@ -10913,12 +10925,12 @@ ${u}`;
|
|
|
10913
10925
|
if (i) return i(u);
|
|
10914
10926
|
}, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
10915
10927
|
}
|
|
10916
|
-
var
|
|
10917
|
-
function
|
|
10928
|
+
var Sp = "images", Ap = 40;
|
|
10929
|
+
function Cp() {
|
|
10918
10930
|
const e = new Date();
|
|
10919
10931
|
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("")}`;
|
|
10920
10932
|
}
|
|
10921
|
-
async function
|
|
10933
|
+
async function kp(e, t, r, i = vp, n, a) {
|
|
10922
10934
|
const s = Object.create(null);
|
|
10923
10935
|
let [l, u] = t || [800];
|
|
10924
10936
|
typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
|
|
@@ -10927,14 +10939,14 @@ ${u}`;
|
|
|
10927
10939
|
await Zt(p, async (h) => {
|
|
10928
10940
|
Ge.getEscapedText(h) === h && (h = ft(h));
|
|
10929
10941
|
const E = await i(h);
|
|
10930
|
-
let [T, I] =
|
|
10931
|
-
if (T.length >
|
|
10942
|
+
let [T, I] = Bo(h);
|
|
10943
|
+
if (T.length > Ap && (T = Cp()), !I || !wn.getType(I)) try {
|
|
10932
10944
|
I = wn.getExtension(E.type);
|
|
10933
10945
|
} catch {}
|
|
10934
10946
|
let _ = `${T}.${I}`, C = 1;
|
|
10935
10947
|
for (; m.has(_);) _ = `${T}(${++C}).${I}`;
|
|
10936
10948
|
m.add(_);
|
|
10937
|
-
const d = `${
|
|
10949
|
+
const d = `${Sp}/${_}`;
|
|
10938
10950
|
return s[d] = E, d;
|
|
10939
10951
|
});
|
|
10940
10952
|
const c = p.querySelectorAll("a");
|
|
@@ -10943,7 +10955,7 @@ ${u}`;
|
|
|
10943
10955
|
}, [l, u], a);
|
|
10944
10956
|
return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
|
|
10945
10957
|
}
|
|
10946
|
-
function
|
|
10958
|
+
function Tp(e) {
|
|
10947
10959
|
const t = new Si.default();
|
|
10948
10960
|
for (const r of Object.keys(e)) {
|
|
10949
10961
|
let i = t;
|
|
@@ -10956,41 +10968,41 @@ ${u}`;
|
|
|
10956
10968
|
compression: "DEFLATE"
|
|
10957
10969
|
});
|
|
10958
10970
|
}
|
|
10959
|
-
function
|
|
10971
|
+
function Wo(e) {
|
|
10960
10972
|
const t = new Image();
|
|
10961
10973
|
return t.crossOrigin = "anonymous", new Promise((r, i) => {
|
|
10962
10974
|
t.onload = () => r(t), t.onerror = i, t.src = e;
|
|
10963
10975
|
});
|
|
10964
10976
|
}
|
|
10965
|
-
function
|
|
10977
|
+
function Qo(e, t = "image/png", r) {
|
|
10966
10978
|
const i = document.createElement("canvas");
|
|
10967
10979
|
return i.width = e.width, i.height = e.height, i.getContext("2d").drawImage(e, 0, 0), new Promise((n, a) => i.toBlob((s) => s ? n(s) : a("blob is null"), t, Number(r) || 0));
|
|
10968
10980
|
}
|
|
10969
|
-
function
|
|
10981
|
+
function Op(e, t) {
|
|
10970
10982
|
do {
|
|
10971
10983
|
if (e === t) return !0;
|
|
10972
10984
|
e = e.parentNode;
|
|
10973
10985
|
} while (e);
|
|
10974
10986
|
return !1;
|
|
10975
10987
|
}
|
|
10976
|
-
function
|
|
10988
|
+
function Vo(e) {
|
|
10977
10989
|
const t = e.ownerDocument?.body;
|
|
10978
|
-
if (t &&
|
|
10990
|
+
if (t && Op(e, t)) {
|
|
10979
10991
|
if (tt(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10980
10992
|
if (e.nodeName === "#text") return e.textContent;
|
|
10981
10993
|
}
|
|
10982
|
-
return e.childNodes ? [...e.childNodes].map(
|
|
10994
|
+
return e.childNodes ? [...e.childNodes].map(Vo).join("") : "";
|
|
10983
10995
|
}
|
|
10984
|
-
function
|
|
10985
|
-
const { document: t } =
|
|
10996
|
+
function Pp(e) {
|
|
10997
|
+
const { document: t } = zo(e);
|
|
10986
10998
|
try {
|
|
10987
|
-
return
|
|
10999
|
+
return Vo(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
10988
11000
|
`).trim();
|
|
10989
11001
|
} catch {
|
|
10990
11002
|
return "";
|
|
10991
11003
|
}
|
|
10992
11004
|
}
|
|
10993
|
-
function
|
|
11005
|
+
function Go(e) {
|
|
10994
11006
|
let t = e.documentElement;
|
|
10995
11007
|
return t || (t = e.createElement("html"), e.appendChild(t)), t;
|
|
10996
11008
|
}
|
|
@@ -10998,35 +11010,35 @@ ${u}`;
|
|
|
10998
11010
|
let t = e.head;
|
|
10999
11011
|
if (!t) {
|
|
11000
11012
|
t = e.createElement("head");
|
|
11001
|
-
const r =
|
|
11013
|
+
const r = Go(e);
|
|
11002
11014
|
r.insertBefore(t, r.firstChild);
|
|
11003
11015
|
}
|
|
11004
11016
|
return t;
|
|
11005
11017
|
}
|
|
11006
|
-
function
|
|
11018
|
+
function Zo(e) {
|
|
11007
11019
|
const t = Object.create(null), r = e.getAttributeNames();
|
|
11008
11020
|
for (const i of r) t[i] = e.getAttribute(i);
|
|
11009
11021
|
return t;
|
|
11010
11022
|
}
|
|
11011
|
-
function
|
|
11023
|
+
function Rp(e) {
|
|
11012
11024
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
11013
11025
|
}
|
|
11014
|
-
function
|
|
11026
|
+
function Np(e) {
|
|
11015
11027
|
const t = Yt(e);
|
|
11016
11028
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
11017
11029
|
const r = e.createElement("style");
|
|
11018
11030
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
11019
11031
|
}
|
|
11020
11032
|
}
|
|
11021
|
-
function
|
|
11033
|
+
function Ip(e) {
|
|
11022
11034
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
11023
11035
|
t && t.remove();
|
|
11024
11036
|
}
|
|
11025
11037
|
var en = "amp-custom";
|
|
11026
|
-
function
|
|
11038
|
+
function Mp(e, t) {
|
|
11027
11039
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
11028
11040
|
}
|
|
11029
|
-
function
|
|
11041
|
+
function Yo(e, t, r) {
|
|
11030
11042
|
for (const i of t) if (Qt.isStyleRule(i)) {
|
|
11031
11043
|
const n = i.selectorText.split(/\+>~/).flatMap((a) => a.trim().split(" "));
|
|
11032
11044
|
if (n.length === 1 && n[0].trim().startsWith(".em-")) {
|
|
@@ -11040,14 +11052,14 @@ ${u}`;
|
|
|
11040
11052
|
}
|
|
11041
11053
|
}
|
|
11042
11054
|
}
|
|
11043
|
-
} else Qt.isMediaRule(i) &&
|
|
11055
|
+
} else Qt.isMediaRule(i) && Yo(e, i.cssRules, r);
|
|
11044
11056
|
}
|
|
11045
|
-
function
|
|
11057
|
+
function Jo(e, t) {
|
|
11046
11058
|
const r = t.sheet;
|
|
11047
11059
|
if (r) {
|
|
11048
11060
|
const a = new Set();
|
|
11049
|
-
|
|
11050
|
-
const u =
|
|
11061
|
+
Yo(e, r.cssRules, (s, l) => {
|
|
11062
|
+
const u = Mp(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
|
|
11051
11063
|
return !m.find((w) => Qt.isStyleRule(w) && w.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
|
|
11052
11064
|
.${u} { ${s}: ${l} };
|
|
11053
11065
|
${t.innerHTML}`), u;
|
|
@@ -11059,12 +11071,12 @@ ${t.innerHTML}`);
|
|
|
11059
11071
|
const i = t.innerHTML, n = i.replace(/!important/g, "");
|
|
11060
11072
|
i !== n && (t.innerHTML = n);
|
|
11061
11073
|
}
|
|
11062
|
-
function
|
|
11074
|
+
function jp(e) {
|
|
11063
11075
|
const t = Yt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), i = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
11064
11076
|
if (i.length === 1) {
|
|
11065
11077
|
const a = i[0];
|
|
11066
11078
|
if (a.parentElement === t && a.getAttribute(en) === "") {
|
|
11067
|
-
|
|
11079
|
+
Jo(e, a);
|
|
11068
11080
|
return;
|
|
11069
11081
|
}
|
|
11070
11082
|
}
|
|
@@ -11074,16 +11086,16 @@ ${t.innerHTML}`);
|
|
|
11074
11086
|
const a = e.createElement("style");
|
|
11075
11087
|
a.innerHTML = `
|
|
11076
11088
|
${n.join("")}
|
|
11077
|
-
`, a.setAttribute(en, ""), t.append(a),
|
|
11089
|
+
`, a.setAttribute(en, ""), t.append(a), Jo(e, a);
|
|
11078
11090
|
}
|
|
11079
11091
|
for (const a of r) a.remove();
|
|
11080
11092
|
}
|
|
11081
|
-
function
|
|
11093
|
+
function Dp(e) {
|
|
11082
11094
|
const t = e.querySelector(`style[${en}]`);
|
|
11083
11095
|
t && t.removeAttribute(en);
|
|
11084
11096
|
}
|
|
11085
|
-
var
|
|
11086
|
-
function
|
|
11097
|
+
var Lp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", tn = "<!doctype html>";
|
|
11098
|
+
function Fp(e) {
|
|
11087
11099
|
const t = e.doctype;
|
|
11088
11100
|
if (t) {
|
|
11089
11101
|
if (Cn(t) === tn) return;
|
|
@@ -11094,19 +11106,19 @@ ${n.join("")}
|
|
|
11094
11106
|
e.insertBefore(r, e.firstChild);
|
|
11095
11107
|
}
|
|
11096
11108
|
}
|
|
11097
|
-
function
|
|
11109
|
+
function Up(e) {
|
|
11098
11110
|
const t = e.doctype;
|
|
11099
11111
|
if (t && Cn(t).toLowerCase() === tn) {
|
|
11100
|
-
const r = new DOMParser().parseFromString(
|
|
11112
|
+
const r = new DOMParser().parseFromString(Lp, "text/html").doctype;
|
|
11101
11113
|
e.replaceChild(r, t);
|
|
11102
11114
|
}
|
|
11103
11115
|
}
|
|
11104
|
-
async function
|
|
11105
|
-
const r = document.createElement("amp-img"), i = await
|
|
11116
|
+
async function Xo(e, t = {}) {
|
|
11117
|
+
const r = document.createElement("amp-img"), i = await fa(e) || void 0, n = [];
|
|
11106
11118
|
try {
|
|
11107
11119
|
let a = e;
|
|
11108
11120
|
for (; a && kn(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", n.push([a, a.style.display])), a = a.parentElement;
|
|
11109
|
-
const s = i?.height ? `${parseInt(i.height)}` : "", l = i?.width ? `${parseInt(i.width)}` : "", u =
|
|
11121
|
+
const s = i?.height ? `${parseInt(i.height)}` : "", l = i?.width ? `${parseInt(i.width)}` : "", u = Rp(e);
|
|
11110
11122
|
let m = !1;
|
|
11111
11123
|
if (u) {
|
|
11112
11124
|
const w = u.getAttribute("width");
|
|
@@ -11119,7 +11131,7 @@ ${n.join("")}
|
|
|
11119
11131
|
}
|
|
11120
11132
|
const b = e.src || e.srcset.split(",")[0];
|
|
11121
11133
|
e.style.width === "100%" && e.style.removeProperty("width"), e.style.maxWidth === "100%" && e.style.removeProperty("max-width"), t = {
|
|
11122
|
-
...
|
|
11134
|
+
...Zo(e),
|
|
11123
11135
|
alt: e.alt,
|
|
11124
11136
|
width: l,
|
|
11125
11137
|
height: s,
|
|
@@ -11133,18 +11145,18 @@ ${n.join("")}
|
|
|
11133
11145
|
}
|
|
11134
11146
|
return r;
|
|
11135
11147
|
}
|
|
11136
|
-
function
|
|
11137
|
-
const t = document.createElement("img"), { layout: r, height: i, ...n } =
|
|
11148
|
+
function zp(e) {
|
|
11149
|
+
const t = document.createElement("img"), { layout: r, height: i, ...n } = Zo(e), a = r === "responsive";
|
|
11138
11150
|
for (const s of Object.keys(n)) Et(t, s, n[s]);
|
|
11139
11151
|
return a && (t.style.maxWidth = n.width || "0px", t.style.width = "100%"), t;
|
|
11140
11152
|
}
|
|
11141
|
-
async function
|
|
11153
|
+
async function Bp(e, t) {
|
|
11142
11154
|
const r = [...e.querySelectorAll("img")], i = [];
|
|
11143
|
-
for (const a of r) i.push(
|
|
11155
|
+
for (const a of r) i.push(Xo(a).then((s) => [a, s], () => [a, void 0]));
|
|
11144
11156
|
const n = [...e.querySelectorAll("picture")];
|
|
11145
11157
|
for (const a of n) {
|
|
11146
11158
|
const s = a.querySelector("img");
|
|
11147
|
-
s ? i.push(
|
|
11159
|
+
s ? i.push(Xo(s).then((l) => [a, l], () => [a, void 0])) : i.push([a, void 0]);
|
|
11148
11160
|
}
|
|
11149
11161
|
if (i.length) {
|
|
11150
11162
|
const a = await Promise.all(i);
|
|
@@ -11152,12 +11164,12 @@ ${n.join("")}
|
|
|
11152
11164
|
t?.();
|
|
11153
11165
|
}
|
|
11154
11166
|
}
|
|
11155
|
-
function
|
|
11167
|
+
function qp(e, t) {
|
|
11156
11168
|
const r = [...e.querySelectorAll("amp-img")];
|
|
11157
|
-
for (const i of r) i.replaceWith(
|
|
11169
|
+
for (const i of r) i.replaceWith(zp(i));
|
|
11158
11170
|
r.length && t?.();
|
|
11159
11171
|
}
|
|
11160
|
-
function
|
|
11172
|
+
function Hp(e) {
|
|
11161
11173
|
const t = e.querySelectorAll("meta");
|
|
11162
11174
|
for (const n of t) {
|
|
11163
11175
|
const a = n.getAttribute("charset");
|
|
@@ -11169,35 +11181,35 @@ ${n.join("")}
|
|
|
11169
11181
|
const r = Yt(e), i = e.createElement("meta");
|
|
11170
11182
|
i.setAttribute("charset", "utf-8"), r.insertBefore(i, r.firstChild);
|
|
11171
11183
|
}
|
|
11172
|
-
function
|
|
11184
|
+
function $p(e, t, r) {
|
|
11173
11185
|
const i = r("script:not([type=\"application/ld+json\"])"), n = e.querySelectorAll(i);
|
|
11174
11186
|
for (const a of n) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
11175
11187
|
}
|
|
11176
|
-
var Jn = "https://cdn.ampproject.org/v0",
|
|
11177
|
-
function
|
|
11188
|
+
var Jn = "https://cdn.ampproject.org/v0", Ko = `${Jn}.js`, Wp = `script[src='${Ko}']`;
|
|
11189
|
+
function Qp(e, t) {
|
|
11178
11190
|
return `${Jn}/${e.toLowerCase()}-${t}.js`;
|
|
11179
11191
|
}
|
|
11180
|
-
async function
|
|
11192
|
+
async function Vp(e, t, r) {
|
|
11181
11193
|
for (const { name: i, versions: n } of t) {
|
|
11182
11194
|
const a = r.replaceSelectors(i === "amp-mustache" ? `script[async][custom-template='${i}']` : `script[async][custom-element='${i}']`);
|
|
11183
11195
|
if (!e.querySelector(a)) {
|
|
11184
|
-
const s = Yt(e), l = r.createElementFn("script"), u =
|
|
11196
|
+
const s = Yt(e), l = r.createElementFn("script"), u = Qp(i, n.findLast((m) => m !== "latest") || "v0");
|
|
11185
11197
|
l.setAttribute("async", ""), l.setAttribute(i === "amp-mustache" ? "custom-template" : "custom-element", i), l.setAttribute("src", u), s.appendChild(l), s.appendChild(e.createTextNode(`
|
|
11186
11198
|
`));
|
|
11187
11199
|
}
|
|
11188
11200
|
}
|
|
11189
11201
|
}
|
|
11190
|
-
function
|
|
11202
|
+
function Gp(e, t) {
|
|
11191
11203
|
const r = e.querySelectorAll("*"), i = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
11192
11204
|
for (const n of i) n.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && n.remove();
|
|
11193
|
-
for (const n of r)
|
|
11205
|
+
for (const n of r) ts(n) && n.tagName !== "FORM" && n.remove();
|
|
11194
11206
|
}
|
|
11195
|
-
var
|
|
11207
|
+
var es = void 0;
|
|
11196
11208
|
async function rn() {
|
|
11197
|
-
return
|
|
11209
|
+
return es || (es = await Promise.resolve().then(() => it("./211ca90b.js")).then((e) => e.default));
|
|
11198
11210
|
}
|
|
11199
11211
|
var Xn = new Map();
|
|
11200
|
-
async function
|
|
11212
|
+
async function Zp() {
|
|
11201
11213
|
if (!Xn.size) {
|
|
11202
11214
|
const e = await rn(), t = e.tags;
|
|
11203
11215
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -11212,25 +11224,25 @@ ${n.join("")}
|
|
|
11212
11224
|
return Xn;
|
|
11213
11225
|
}
|
|
11214
11226
|
var Kn = new Map();
|
|
11215
|
-
async function
|
|
11227
|
+
async function Yp() {
|
|
11216
11228
|
if (!Kn.size) {
|
|
11217
11229
|
const e = await rn();
|
|
11218
11230
|
for (const t of e.declarations) Kn.set(t.name, t);
|
|
11219
11231
|
}
|
|
11220
11232
|
return Kn;
|
|
11221
11233
|
}
|
|
11222
|
-
var
|
|
11223
|
-
async function
|
|
11234
|
+
var Jp = "$GLOBAL_ATTRS", ei = new Map();
|
|
11235
|
+
async function Xp() {
|
|
11224
11236
|
if (!ei.size) {
|
|
11225
|
-
const e = (await rn()).attrLists.find((t) => t.name ===
|
|
11237
|
+
const e = (await rn()).attrLists.find((t) => t.name === Jp)?.attrs;
|
|
11226
11238
|
if (e) for (const t of e) ei.set(t.name, t);
|
|
11227
11239
|
}
|
|
11228
11240
|
return ei;
|
|
11229
11241
|
}
|
|
11230
|
-
function
|
|
11242
|
+
function ts(e) {
|
|
11231
11243
|
return tt(e) && (e.tagName.startsWith("AMP") || e.tagName === "FORM" || e.tagName === "TEMPLATE" && e.getAttribute("type")?.toLowerCase() === "amp-mustache");
|
|
11232
11244
|
}
|
|
11233
|
-
function
|
|
11245
|
+
function rs(e, t, r) {
|
|
11234
11246
|
if (!t) return;
|
|
11235
11247
|
function i() {
|
|
11236
11248
|
const a = t.compareDocumentPosition(e);
|
|
@@ -11242,7 +11254,7 @@ ${n.join("")}
|
|
|
11242
11254
|
}
|
|
11243
11255
|
function n() {
|
|
11244
11256
|
const a = [...e.childNodes];
|
|
11245
|
-
for (let s = a.length - 1; s >= 0; s--)
|
|
11257
|
+
for (let s = a.length - 1; s >= 0; s--) rs(a[s], t, r);
|
|
11246
11258
|
}
|
|
11247
11259
|
if (tt(e)) switch (e.tagName.toLowerCase()) {
|
|
11248
11260
|
case "body": return;
|
|
@@ -11260,17 +11272,17 @@ ${n.join("")}
|
|
|
11260
11272
|
}
|
|
11261
11273
|
else Tn(e) ? n() : Vt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Vt(e.nextSibling)) && i();
|
|
11262
11274
|
}
|
|
11263
|
-
async function
|
|
11275
|
+
async function Kp(e, t) {
|
|
11264
11276
|
const r = new Set(), i = t.commit, n = (c) => t.replaceSelectors(c.toLowerCase());
|
|
11265
|
-
if (t.replaceImages && await
|
|
11266
|
-
const c = t.replaceSelectors(
|
|
11277
|
+
if (t.replaceImages && await Bp(e, i), t.injectExtensions) {
|
|
11278
|
+
const c = t.replaceSelectors(Wp);
|
|
11267
11279
|
if (!e.querySelector(c)) {
|
|
11268
11280
|
const h = t.createElementFn("script");
|
|
11269
|
-
h.setAttribute("src",
|
|
11281
|
+
h.setAttribute("src", Ko), h.setAttribute("async", ""), Yt(e).appendChild(h), i?.();
|
|
11270
11282
|
}
|
|
11271
11283
|
}
|
|
11272
|
-
t.injectRequiredTags && (
|
|
11273
|
-
const a = await rn(), s = await
|
|
11284
|
+
t.injectRequiredTags && ($p(e, t.createElementFn, n), Fp(e), Np(e), Hp(e), i?.()), t.replaceStylesAndLinks && (jp(e), i?.());
|
|
11285
|
+
const a = await rn(), s = await Zp(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
|
|
11274
11286
|
for (let [c, h] of s) if (!h.deprecation) {
|
|
11275
11287
|
c = n(c);
|
|
11276
11288
|
let E = [...e.querySelectorAll(c)].filter((T) => !u.has(T));
|
|
@@ -11290,7 +11302,7 @@ ${n.join("")}
|
|
|
11290
11302
|
if (t.injectExtensions && h.requiresExtension) for (const I of h.requiresExtension) r.add(I);
|
|
11291
11303
|
const E = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
|
|
11292
11304
|
E && (!c.parentNode || t.moveInvalidTagPosition) ? E !== c.parentNode && (h.name === "HEAD" || tt(E) && E.tagName === "HEAD" ? E.insertBefore(c, E.firstChild) : E.appendChild(c)) : c.parentNode || e.body.appendChild(c), t.removeUnsupportedTags && l.delete(c), i?.();
|
|
11293
|
-
const T = await
|
|
11305
|
+
const T = await Xp();
|
|
11294
11306
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
11295
11307
|
const I = h.attrs, _ = t.injectRequiredAttributes ? new Set([...I].map(([d, f]) => f).filter((d) => d.required && d.value)) : void 0, C = c.getAttributeNames();
|
|
11296
11308
|
for (const d of C) {
|
|
@@ -11361,7 +11373,7 @@ ${n.join("")}
|
|
|
11361
11373
|
}
|
|
11362
11374
|
i?.();
|
|
11363
11375
|
}
|
|
11364
|
-
t.moveInvalidTagPosition && (
|
|
11376
|
+
t.moveInvalidTagPosition && (rs(e, e.body, n), i?.());
|
|
11365
11377
|
for (const c of l) c.remove();
|
|
11366
11378
|
if (i?.(), t.removeUnsupportedStyles) {
|
|
11367
11379
|
let E = function(d) {
|
|
@@ -11385,7 +11397,7 @@ ${n.join("")}
|
|
|
11385
11397
|
T(x) ? x.selectorText.indexOf("[") >= 0 || x.selectorText.indexOf(":") >= 0 ? d.deleteRule(y) : (E(x.style), x.style.cssText || d.deleteRule(y)) : I(x) ? (_(x), x.cssRules.length || d.deleteRule(y)) : d.deleteRule(y);
|
|
11386
11398
|
}
|
|
11387
11399
|
};
|
|
11388
|
-
const c = e.querySelectorAll("*"), h = await
|
|
11400
|
+
const c = e.querySelectorAll("*"), h = await Yp();
|
|
11389
11401
|
for (const d of c) if (kn(d)) {
|
|
11390
11402
|
const f = d.getAttribute("style");
|
|
11391
11403
|
f && (E(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
@@ -11397,14 +11409,14 @@ ${n.join("")}
|
|
|
11397
11409
|
`)), i?.();
|
|
11398
11410
|
}
|
|
11399
11411
|
}
|
|
11400
|
-
await
|
|
11412
|
+
await Vp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
|
|
11401
11413
|
}
|
|
11402
|
-
function
|
|
11414
|
+
function ns(e, t) {
|
|
11403
11415
|
return Object.keys(t).reduce((r, i) => r.replaceAll(i, t[i]), e);
|
|
11404
11416
|
}
|
|
11405
|
-
function
|
|
11417
|
+
function ef(e, t = {}) {
|
|
11406
11418
|
const { correct: r = !0, injectExtensions: i = !0, mappedTags: n = {} } = t;
|
|
11407
|
-
return
|
|
11419
|
+
return Kp(e, {
|
|
11408
11420
|
replaceImages: r,
|
|
11409
11421
|
replaceStylesAndLinks: r,
|
|
11410
11422
|
injectRequiredTags: r,
|
|
@@ -11416,18 +11428,18 @@ ${n.join("")}
|
|
|
11416
11428
|
removeUnsupportedAttributes: r,
|
|
11417
11429
|
removeUnsupportedStyles: r,
|
|
11418
11430
|
createElementFn: (a) => e.createElement(n[a.toLowerCase()] || a),
|
|
11419
|
-
replaceSelectors: (a) =>
|
|
11431
|
+
replaceSelectors: (a) => ns(a.toLowerCase(), n),
|
|
11420
11432
|
commit: t.commit
|
|
11421
11433
|
});
|
|
11422
11434
|
}
|
|
11423
|
-
function
|
|
11424
|
-
const { correct: r = !0, removeExtensions: i = !0, mappedTags: n = {} } = t, a = t.commit, s = (u) => e.createElement(n[u.toLowerCase()] || u), l = (u) =>
|
|
11435
|
+
function tf(e, t = {}) {
|
|
11436
|
+
const { correct: r = !0, removeExtensions: i = !0, mappedTags: n = {} } = t, a = t.commit, s = (u) => e.createElement(n[u.toLowerCase()] || u), l = (u) => ns(u, n);
|
|
11425
11437
|
if (r) {
|
|
11426
|
-
|
|
11427
|
-
const u =
|
|
11438
|
+
qp(e), Up(e), Dp(e), Ip(e);
|
|
11439
|
+
const u = Go(e);
|
|
11428
11440
|
u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
|
|
11429
11441
|
}
|
|
11430
|
-
i && (
|
|
11442
|
+
i && (Gp(e, {
|
|
11431
11443
|
formsAsAmpForms: t.removeExtensions,
|
|
11432
11444
|
createElementFn: s,
|
|
11433
11445
|
replaceSelectors: l
|
|
@@ -11451,7 +11463,7 @@ ${n.join("")}
|
|
|
11451
11463
|
}), Object.defineProperty(M, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
11452
11464
|
enumerable: !0,
|
|
11453
11465
|
get: function() {
|
|
11454
|
-
return
|
|
11466
|
+
return ku;
|
|
11455
11467
|
}
|
|
11456
11468
|
}), Object.defineProperty(M, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
11457
11469
|
enumerable: !0,
|
|
@@ -11466,22 +11478,22 @@ ${n.join("")}
|
|
|
11466
11478
|
}), Object.defineProperty(M, "InitPipelineContext", {
|
|
11467
11479
|
enumerable: !0,
|
|
11468
11480
|
get: function() {
|
|
11469
|
-
return
|
|
11481
|
+
return Ji;
|
|
11470
11482
|
}
|
|
11471
11483
|
}), Object.defineProperty(M, "ListenerUpdater", {
|
|
11472
11484
|
enumerable: !0,
|
|
11473
11485
|
get: function() {
|
|
11474
|
-
return
|
|
11486
|
+
return _u;
|
|
11475
11487
|
}
|
|
11476
11488
|
}), Object.defineProperty(M, "PLUGIN_REGISTRY_ID", {
|
|
11477
11489
|
enumerable: !0,
|
|
11478
11490
|
get: function() {
|
|
11479
|
-
return
|
|
11491
|
+
return Xi;
|
|
11480
11492
|
}
|
|
11481
11493
|
}), Object.defineProperty(M, "USAGE_LIMIT_EXCEEDED_CODE", {
|
|
11482
11494
|
enumerable: !0,
|
|
11483
11495
|
get: function() {
|
|
11484
|
-
return
|
|
11496
|
+
return Vs;
|
|
11485
11497
|
}
|
|
11486
11498
|
}), Object.defineProperty(M, "addUserToProjectApi", {
|
|
11487
11499
|
enumerable: !0,
|
|
@@ -11491,7 +11503,7 @@ ${n.join("")}
|
|
|
11491
11503
|
}), Object.defineProperty(M, "amp2html", {
|
|
11492
11504
|
enumerable: !0,
|
|
11493
11505
|
get: function() {
|
|
11494
|
-
return
|
|
11506
|
+
return tf;
|
|
11495
11507
|
}
|
|
11496
11508
|
}), Object.defineProperty(M, "changeHtml", {
|
|
11497
11509
|
enumerable: !0,
|
|
@@ -11501,7 +11513,7 @@ ${n.join("")}
|
|
|
11501
11513
|
}), Object.defineProperty(M, "clearStandaloneSecurityModule", {
|
|
11502
11514
|
enumerable: !0,
|
|
11503
11515
|
get: function() {
|
|
11504
|
-
return
|
|
11516
|
+
return gu;
|
|
11505
11517
|
}
|
|
11506
11518
|
}), Object.defineProperty(M, "createAbortError", {
|
|
11507
11519
|
enumerable: !0,
|
|
@@ -11521,12 +11533,12 @@ ${n.join("")}
|
|
|
11521
11533
|
}), Object.defineProperty(M, "createQueue", {
|
|
11522
11534
|
enumerable: !0,
|
|
11523
11535
|
get: function() {
|
|
11524
|
-
return
|
|
11536
|
+
return cs;
|
|
11525
11537
|
}
|
|
11526
11538
|
}), Object.defineProperty(M, "createStore", {
|
|
11527
11539
|
enumerable: !0,
|
|
11528
11540
|
get: function() {
|
|
11529
|
-
return
|
|
11541
|
+
return ru;
|
|
11530
11542
|
}
|
|
11531
11543
|
}), Object.defineProperty(M, "emailRawApi", {
|
|
11532
11544
|
enumerable: !0,
|
|
@@ -11536,52 +11548,52 @@ ${n.join("")}
|
|
|
11536
11548
|
}), Object.defineProperty(M, "extractDocumentTextContent", {
|
|
11537
11549
|
enumerable: !0,
|
|
11538
11550
|
get: function() {
|
|
11539
|
-
return
|
|
11551
|
+
return Pp;
|
|
11540
11552
|
}
|
|
11541
11553
|
}), Object.defineProperty(M, "extractServerProjectIdFromToken", {
|
|
11542
11554
|
enumerable: !0,
|
|
11543
11555
|
get: function() {
|
|
11544
|
-
return
|
|
11556
|
+
return uu;
|
|
11545
11557
|
}
|
|
11546
11558
|
}), Object.defineProperty(M, "fetchWithApiOriginFailover", {
|
|
11547
11559
|
enumerable: !0,
|
|
11548
11560
|
get: function() {
|
|
11549
|
-
return
|
|
11561
|
+
return us;
|
|
11550
11562
|
}
|
|
11551
11563
|
}), Object.defineProperty(M, "findShadowRoot", {
|
|
11552
11564
|
enumerable: !0,
|
|
11553
11565
|
get: function() {
|
|
11554
|
-
return
|
|
11566
|
+
return pd;
|
|
11555
11567
|
}
|
|
11556
11568
|
}), Object.defineProperty(M, "getEML", {
|
|
11557
11569
|
enumerable: !0,
|
|
11558
11570
|
get: function() {
|
|
11559
|
-
return
|
|
11571
|
+
return hp;
|
|
11560
11572
|
}
|
|
11561
11573
|
}), Object.defineProperty(M, "getElementInnerHTML", {
|
|
11562
11574
|
enumerable: !0,
|
|
11563
11575
|
get: function() {
|
|
11564
|
-
return
|
|
11576
|
+
return ha;
|
|
11565
11577
|
}
|
|
11566
11578
|
}), Object.defineProperty(M, "getElementStartHtml_VDOM", {
|
|
11567
11579
|
enumerable: !0,
|
|
11568
11580
|
get: function() {
|
|
11569
|
-
return
|
|
11581
|
+
return rd;
|
|
11570
11582
|
}
|
|
11571
11583
|
}), Object.defineProperty(M, "getFileNameAndExt", {
|
|
11572
11584
|
enumerable: !0,
|
|
11573
11585
|
get: function() {
|
|
11574
|
-
return
|
|
11586
|
+
return Bo;
|
|
11575
11587
|
}
|
|
11576
11588
|
}), Object.defineProperty(M, "getFileNameWithExt", {
|
|
11577
11589
|
enumerable: !0,
|
|
11578
11590
|
get: function() {
|
|
11579
|
-
return
|
|
11591
|
+
return mp;
|
|
11580
11592
|
}
|
|
11581
11593
|
}), Object.defineProperty(M, "getImageByUrl", {
|
|
11582
11594
|
enumerable: !0,
|
|
11583
11595
|
get: function() {
|
|
11584
|
-
return
|
|
11596
|
+
return Wo;
|
|
11585
11597
|
}
|
|
11586
11598
|
}), Object.defineProperty(M, "getOuterHtml", {
|
|
11587
11599
|
enumerable: !0,
|
|
@@ -11591,47 +11603,47 @@ ${n.join("")}
|
|
|
11591
11603
|
}), Object.defineProperty(M, "getSaveTimeoutMs", {
|
|
11592
11604
|
enumerable: !0,
|
|
11593
11605
|
get: function() {
|
|
11594
|
-
return
|
|
11606
|
+
return Tu;
|
|
11595
11607
|
}
|
|
11596
11608
|
}), Object.defineProperty(M, "html2amp", {
|
|
11597
11609
|
enumerable: !0,
|
|
11598
11610
|
get: function() {
|
|
11599
|
-
return
|
|
11611
|
+
return ef;
|
|
11600
11612
|
}
|
|
11601
11613
|
}), Object.defineProperty(M, "htmlFilesToZip", {
|
|
11602
11614
|
enumerable: !0,
|
|
11603
11615
|
get: function() {
|
|
11604
|
-
return
|
|
11616
|
+
return Tp;
|
|
11605
11617
|
}
|
|
11606
11618
|
}), Object.defineProperty(M, "htmlToFilesData", {
|
|
11607
11619
|
enumerable: !0,
|
|
11608
11620
|
get: function() {
|
|
11609
|
-
return
|
|
11621
|
+
return kp;
|
|
11610
11622
|
}
|
|
11611
11623
|
}), Object.defineProperty(M, "imageToBlob", {
|
|
11612
11624
|
enumerable: !0,
|
|
11613
11625
|
get: function() {
|
|
11614
|
-
return
|
|
11626
|
+
return Qo;
|
|
11615
11627
|
}
|
|
11616
11628
|
}), Object.defineProperty(M, "injectStandaloneMocks", {
|
|
11617
11629
|
enumerable: !0,
|
|
11618
11630
|
get: function() {
|
|
11619
|
-
return
|
|
11631
|
+
return pu;
|
|
11620
11632
|
}
|
|
11621
11633
|
}), Object.defineProperty(M, "installStandaloneMockGuard", {
|
|
11622
11634
|
enumerable: !0,
|
|
11623
11635
|
get: function() {
|
|
11624
|
-
return
|
|
11636
|
+
return hu;
|
|
11625
11637
|
}
|
|
11626
11638
|
}), Object.defineProperty(M, "isAmpElement", {
|
|
11627
11639
|
enumerable: !0,
|
|
11628
11640
|
get: function() {
|
|
11629
|
-
return
|
|
11641
|
+
return ts;
|
|
11630
11642
|
}
|
|
11631
11643
|
}), Object.defineProperty(M, "isDeferredStandalone", {
|
|
11632
11644
|
enumerable: !0,
|
|
11633
11645
|
get: function() {
|
|
11634
|
-
return
|
|
11646
|
+
return Wi;
|
|
11635
11647
|
}
|
|
11636
11648
|
}), Object.defineProperty(M, "isDocument", {
|
|
11637
11649
|
enumerable: !0,
|
|
@@ -11641,7 +11653,7 @@ ${n.join("")}
|
|
|
11641
11653
|
}), Object.defineProperty(M, "isDocumentFragment", {
|
|
11642
11654
|
enumerable: !0,
|
|
11643
11655
|
get: function() {
|
|
11644
|
-
return
|
|
11656
|
+
return cd;
|
|
11645
11657
|
}
|
|
11646
11658
|
}), Object.defineProperty(M, "isElement", {
|
|
11647
11659
|
enumerable: !0,
|
|
@@ -11651,12 +11663,12 @@ ${n.join("")}
|
|
|
11651
11663
|
}), Object.defineProperty(M, "isForm", {
|
|
11652
11664
|
enumerable: !0,
|
|
11653
11665
|
get: function() {
|
|
11654
|
-
return
|
|
11666
|
+
return sd;
|
|
11655
11667
|
}
|
|
11656
11668
|
}), Object.defineProperty(M, "isImmediateStandalone", {
|
|
11657
11669
|
enumerable: !0,
|
|
11658
11670
|
get: function() {
|
|
11659
|
-
return
|
|
11671
|
+
return bu;
|
|
11660
11672
|
}
|
|
11661
11673
|
}), Object.defineProperty(M, "isTextNode", {
|
|
11662
11674
|
enumerable: !0,
|
|
@@ -11676,7 +11688,7 @@ ${n.join("")}
|
|
|
11676
11688
|
}), Object.defineProperty(M, "normalizeUrl", {
|
|
11677
11689
|
enumerable: !0,
|
|
11678
11690
|
get: function() {
|
|
11679
|
-
return
|
|
11691
|
+
return qd;
|
|
11680
11692
|
}
|
|
11681
11693
|
}), Object.defineProperty(M, "notificationsApi", {
|
|
11682
11694
|
enumerable: !0,
|
|
@@ -11691,22 +11703,22 @@ ${n.join("")}
|
|
|
11691
11703
|
}), Object.defineProperty(M, "pluginRegistry", {
|
|
11692
11704
|
enumerable: !0,
|
|
11693
11705
|
get: function() {
|
|
11694
|
-
return
|
|
11706
|
+
return Pu;
|
|
11695
11707
|
}
|
|
11696
11708
|
}), Object.defineProperty(M, "prepareEmailHtmlForEditor", {
|
|
11697
11709
|
enumerable: !0,
|
|
11698
11710
|
get: function() {
|
|
11699
|
-
return
|
|
11711
|
+
return tp;
|
|
11700
11712
|
}
|
|
11701
11713
|
}), Object.defineProperty(M, "prepareEvent", {
|
|
11702
11714
|
enumerable: !0,
|
|
11703
11715
|
get: function() {
|
|
11704
|
-
return
|
|
11716
|
+
return yu;
|
|
11705
11717
|
}
|
|
11706
11718
|
}), Object.defineProperty(M, "prepareHTML", {
|
|
11707
11719
|
enumerable: !0,
|
|
11708
11720
|
get: function() {
|
|
11709
|
-
return
|
|
11721
|
+
return xp;
|
|
11710
11722
|
}
|
|
11711
11723
|
}), Object.defineProperty(M, "projectSettingsV2Api", {
|
|
11712
11724
|
enumerable: !0,
|
|
@@ -11721,7 +11733,7 @@ ${n.join("")}
|
|
|
11721
11733
|
}), Object.defineProperty(M, "promoteNewEmailAfterSave", {
|
|
11722
11734
|
enumerable: !0,
|
|
11723
11735
|
get: function() {
|
|
11724
|
-
return
|
|
11736
|
+
return Rc;
|
|
11725
11737
|
}
|
|
11726
11738
|
}), Object.defineProperty(M, "proxyApi", {
|
|
11727
11739
|
enumerable: !0,
|
|
@@ -11731,22 +11743,22 @@ ${n.join("")}
|
|
|
11731
11743
|
}), Object.defineProperty(M, "raceWithAbortSignal", {
|
|
11732
11744
|
enumerable: !0,
|
|
11733
11745
|
get: function() {
|
|
11734
|
-
return
|
|
11746
|
+
return ls;
|
|
11735
11747
|
}
|
|
11736
11748
|
}), Object.defineProperty(M, "refetchIfActive", {
|
|
11737
11749
|
enumerable: !0,
|
|
11738
11750
|
get: function() {
|
|
11739
|
-
return
|
|
11751
|
+
return Ll;
|
|
11740
11752
|
}
|
|
11741
11753
|
}), Object.defineProperty(M, "registerDefaultFileProxy", {
|
|
11742
11754
|
enumerable: !0,
|
|
11743
11755
|
get: function() {
|
|
11744
|
-
return
|
|
11756
|
+
return mu;
|
|
11745
11757
|
}
|
|
11746
11758
|
}), Object.defineProperty(M, "removeEmailFromList", {
|
|
11747
11759
|
enumerable: !0,
|
|
11748
11760
|
get: function() {
|
|
11749
|
-
return
|
|
11761
|
+
return qc;
|
|
11750
11762
|
}
|
|
11751
11763
|
}), Object.defineProperty(M, "replaceImagesInDocument", {
|
|
11752
11764
|
enumerable: !0,
|
|
@@ -11766,27 +11778,27 @@ ${n.join("")}
|
|
|
11766
11778
|
}), Object.defineProperty(M, "resetElementHistorySlice", {
|
|
11767
11779
|
enumerable: !0,
|
|
11768
11780
|
get: function() {
|
|
11769
|
-
return
|
|
11781
|
+
return Xc;
|
|
11770
11782
|
}
|
|
11771
11783
|
}), Object.defineProperty(M, "resetElementsList", {
|
|
11772
11784
|
enumerable: !0,
|
|
11773
11785
|
get: function() {
|
|
11774
|
-
return
|
|
11786
|
+
return Bc;
|
|
11775
11787
|
}
|
|
11776
11788
|
}), Object.defineProperty(M, "resetNewBlockSlice", {
|
|
11777
11789
|
enumerable: !0,
|
|
11778
11790
|
get: function() {
|
|
11779
|
-
return
|
|
11791
|
+
return Lc;
|
|
11780
11792
|
}
|
|
11781
11793
|
}), Object.defineProperty(M, "resetNewEmailSlice", {
|
|
11782
11794
|
enumerable: !0,
|
|
11783
11795
|
get: function() {
|
|
11784
|
-
return
|
|
11796
|
+
return Cc;
|
|
11785
11797
|
}
|
|
11786
11798
|
}), Object.defineProperty(M, "resetPagesAndTotal", {
|
|
11787
11799
|
enumerable: !0,
|
|
11788
11800
|
get: function() {
|
|
11789
|
-
return
|
|
11801
|
+
return Uc;
|
|
11790
11802
|
}
|
|
11791
11803
|
}), Object.defineProperty(M, "resolveStandaloneKey", {
|
|
11792
11804
|
enumerable: !0,
|
|
@@ -11796,7 +11808,7 @@ ${n.join("")}
|
|
|
11796
11808
|
}), Object.defineProperty(M, "resolveTemplateDirectivesConfig", {
|
|
11797
11809
|
enumerable: !0,
|
|
11798
11810
|
get: function() {
|
|
11799
|
-
return
|
|
11811
|
+
return Gu;
|
|
11800
11812
|
}
|
|
11801
11813
|
}), Object.defineProperty(M, "sanitizeFileName", {
|
|
11802
11814
|
enumerable: !0,
|
|
@@ -11811,172 +11823,172 @@ ${n.join("")}
|
|
|
11811
11823
|
}), Object.defineProperty(M, "selectBlocksTotal", {
|
|
11812
11824
|
enumerable: !0,
|
|
11813
11825
|
get: function() {
|
|
11814
|
-
return
|
|
11826
|
+
return Zc;
|
|
11815
11827
|
}
|
|
11816
11828
|
}), Object.defineProperty(M, "selectCustomFolders", {
|
|
11817
11829
|
enumerable: !0,
|
|
11818
11830
|
get: function() {
|
|
11819
|
-
return
|
|
11831
|
+
return Qc;
|
|
11820
11832
|
}
|
|
11821
11833
|
}), Object.defineProperty(M, "selectElementHistoryTotalPages", {
|
|
11822
11834
|
enumerable: !0,
|
|
11823
11835
|
get: function() {
|
|
11824
|
-
return
|
|
11836
|
+
return Kc;
|
|
11825
11837
|
}
|
|
11826
11838
|
}), Object.defineProperty(M, "selectElementsList", {
|
|
11827
11839
|
enumerable: !0,
|
|
11828
11840
|
get: function() {
|
|
11829
|
-
return
|
|
11841
|
+
return Wc;
|
|
11830
11842
|
}
|
|
11831
11843
|
}), Object.defineProperty(M, "selectElementsTrashList", {
|
|
11832
11844
|
enumerable: !0,
|
|
11833
11845
|
get: function() {
|
|
11834
|
-
return
|
|
11846
|
+
return Gc;
|
|
11835
11847
|
}
|
|
11836
11848
|
}), Object.defineProperty(M, "selectElementsView", {
|
|
11837
11849
|
enumerable: !0,
|
|
11838
11850
|
get: function() {
|
|
11839
|
-
return
|
|
11851
|
+
return $c;
|
|
11840
11852
|
}
|
|
11841
11853
|
}), Object.defineProperty(M, "selectEmailsTotal", {
|
|
11842
11854
|
enumerable: !0,
|
|
11843
11855
|
get: function() {
|
|
11844
|
-
return
|
|
11856
|
+
return Hc;
|
|
11845
11857
|
}
|
|
11846
11858
|
}), Object.defineProperty(M, "selectEmailsTrashTotal", {
|
|
11847
11859
|
enumerable: !0,
|
|
11848
11860
|
get: function() {
|
|
11849
|
-
return
|
|
11861
|
+
return Vc;
|
|
11850
11862
|
}
|
|
11851
11863
|
}), Object.defineProperty(M, "selectHistoryData", {
|
|
11852
11864
|
enumerable: !0,
|
|
11853
11865
|
get: function() {
|
|
11854
|
-
return
|
|
11866
|
+
return eu;
|
|
11855
11867
|
}
|
|
11856
11868
|
}), Object.defineProperty(M, "selectNewBlockHasChanged", {
|
|
11857
11869
|
enumerable: !0,
|
|
11858
11870
|
get: function() {
|
|
11859
|
-
return
|
|
11871
|
+
return Fc;
|
|
11860
11872
|
}
|
|
11861
11873
|
}), Object.defineProperty(M, "selectNewEmailAppliedShowToken", {
|
|
11862
11874
|
enumerable: !0,
|
|
11863
11875
|
get: function() {
|
|
11864
|
-
return
|
|
11876
|
+
return Ic;
|
|
11865
11877
|
}
|
|
11866
11878
|
}), Object.defineProperty(M, "selectNewEmailHasChanged", {
|
|
11867
11879
|
enumerable: !0,
|
|
11868
11880
|
get: function() {
|
|
11869
|
-
return
|
|
11881
|
+
return Mc;
|
|
11870
11882
|
}
|
|
11871
11883
|
}), Object.defineProperty(M, "selectNewEmailSettings", {
|
|
11872
11884
|
enumerable: !0,
|
|
11873
11885
|
get: function() {
|
|
11874
|
-
return
|
|
11886
|
+
return Nc;
|
|
11875
11887
|
}
|
|
11876
11888
|
}), Object.defineProperty(M, "selectParentEmailBlocksTotal", {
|
|
11877
11889
|
enumerable: !0,
|
|
11878
11890
|
get: function() {
|
|
11879
|
-
return
|
|
11891
|
+
return Jc;
|
|
11880
11892
|
}
|
|
11881
11893
|
}), Object.defineProperty(M, "selectTemplateBlocksTotal", {
|
|
11882
11894
|
enumerable: !0,
|
|
11883
11895
|
get: function() {
|
|
11884
|
-
return
|
|
11896
|
+
return Yc;
|
|
11885
11897
|
}
|
|
11886
11898
|
}), Object.defineProperty(M, "setNewBlockDescription", {
|
|
11887
11899
|
enumerable: !0,
|
|
11888
11900
|
get: function() {
|
|
11889
|
-
return
|
|
11901
|
+
return jc;
|
|
11890
11902
|
}
|
|
11891
11903
|
}), Object.defineProperty(M, "setNewBlockTags", {
|
|
11892
11904
|
enumerable: !0,
|
|
11893
11905
|
get: function() {
|
|
11894
|
-
return
|
|
11906
|
+
return Dc;
|
|
11895
11907
|
}
|
|
11896
11908
|
}), Object.defineProperty(M, "setNewEmailAll", {
|
|
11897
11909
|
enumerable: !0,
|
|
11898
11910
|
get: function() {
|
|
11899
|
-
return
|
|
11911
|
+
return fc;
|
|
11900
11912
|
}
|
|
11901
11913
|
}), Object.defineProperty(M, "setNewEmailDescription", {
|
|
11902
11914
|
enumerable: !0,
|
|
11903
11915
|
get: function() {
|
|
11904
|
-
return
|
|
11916
|
+
return vc;
|
|
11905
11917
|
}
|
|
11906
11918
|
}), Object.defineProperty(M, "setNewEmailHtml", {
|
|
11907
11919
|
enumerable: !0,
|
|
11908
11920
|
get: function() {
|
|
11909
|
-
return
|
|
11921
|
+
return _c;
|
|
11910
11922
|
}
|
|
11911
11923
|
}), Object.defineProperty(M, "setNewEmailIsAmp", {
|
|
11912
11924
|
enumerable: !0,
|
|
11913
11925
|
get: function() {
|
|
11914
|
-
return
|
|
11926
|
+
return Tc;
|
|
11915
11927
|
}
|
|
11916
11928
|
}), Object.defineProperty(M, "setNewEmailIsTemplate", {
|
|
11917
11929
|
enumerable: !0,
|
|
11918
11930
|
get: function() {
|
|
11919
|
-
return
|
|
11931
|
+
return bc;
|
|
11920
11932
|
}
|
|
11921
11933
|
}), Object.defineProperty(M, "setNewEmailMeta", {
|
|
11922
11934
|
enumerable: !0,
|
|
11923
11935
|
get: function() {
|
|
11924
|
-
return
|
|
11936
|
+
return Oc;
|
|
11925
11937
|
}
|
|
11926
11938
|
}), Object.defineProperty(M, "setNewEmailPreheader", {
|
|
11927
11939
|
enumerable: !0,
|
|
11928
11940
|
get: function() {
|
|
11929
|
-
return
|
|
11941
|
+
return gc;
|
|
11930
11942
|
}
|
|
11931
11943
|
}), Object.defineProperty(M, "setNewEmailProject", {
|
|
11932
11944
|
enumerable: !0,
|
|
11933
11945
|
get: function() {
|
|
11934
|
-
return
|
|
11946
|
+
return Pc;
|
|
11935
11947
|
}
|
|
11936
11948
|
}), Object.defineProperty(M, "setNewEmailSubject", {
|
|
11937
11949
|
enumerable: !0,
|
|
11938
11950
|
get: function() {
|
|
11939
|
-
return
|
|
11951
|
+
return mc;
|
|
11940
11952
|
}
|
|
11941
11953
|
}), Object.defineProperty(M, "setNewEmailTags", {
|
|
11942
11954
|
enumerable: !0,
|
|
11943
11955
|
get: function() {
|
|
11944
|
-
return
|
|
11956
|
+
return yc;
|
|
11945
11957
|
}
|
|
11946
11958
|
}), Object.defineProperty(M, "setNewEmailTitle", {
|
|
11947
11959
|
enumerable: !0,
|
|
11948
11960
|
get: function() {
|
|
11949
|
-
return
|
|
11961
|
+
return hc;
|
|
11950
11962
|
}
|
|
11951
11963
|
}), Object.defineProperty(M, "setNewEmailUtmCampaign", {
|
|
11952
11964
|
enumerable: !0,
|
|
11953
11965
|
get: function() {
|
|
11954
|
-
return
|
|
11966
|
+
return xc;
|
|
11955
11967
|
}
|
|
11956
11968
|
}), Object.defineProperty(M, "setNewEmailUtmContent", {
|
|
11957
11969
|
enumerable: !0,
|
|
11958
11970
|
get: function() {
|
|
11959
|
-
return
|
|
11971
|
+
return Sc;
|
|
11960
11972
|
}
|
|
11961
11973
|
}), Object.defineProperty(M, "setNewEmailUtmMedium", {
|
|
11962
11974
|
enumerable: !0,
|
|
11963
11975
|
get: function() {
|
|
11964
|
-
return
|
|
11976
|
+
return Ec;
|
|
11965
11977
|
}
|
|
11966
11978
|
}), Object.defineProperty(M, "setNewEmailUtmSource", {
|
|
11967
11979
|
enumerable: !0,
|
|
11968
11980
|
get: function() {
|
|
11969
|
-
return
|
|
11981
|
+
return wc;
|
|
11970
11982
|
}
|
|
11971
11983
|
}), Object.defineProperty(M, "setNewEmailUtmTerm", {
|
|
11972
11984
|
enumerable: !0,
|
|
11973
11985
|
get: function() {
|
|
11974
|
-
return
|
|
11986
|
+
return Ac;
|
|
11975
11987
|
}
|
|
11976
11988
|
}), Object.defineProperty(M, "setNewIsInited", {
|
|
11977
11989
|
enumerable: !0,
|
|
11978
11990
|
get: function() {
|
|
11979
|
-
return
|
|
11991
|
+
return kc;
|
|
11980
11992
|
}
|
|
11981
11993
|
}), Object.defineProperty(M, "src_default", {
|
|
11982
11994
|
enumerable: !0,
|
|
@@ -11986,7 +11998,7 @@ ${n.join("")}
|
|
|
11986
11998
|
}), Object.defineProperty(M, "syncStandaloneProjectState", {
|
|
11987
11999
|
enumerable: !0,
|
|
11988
12000
|
get: function() {
|
|
11989
|
-
return
|
|
12001
|
+
return du;
|
|
11990
12002
|
}
|
|
11991
12003
|
}), Object.defineProperty(M, "throwIfAborted", {
|
|
11992
12004
|
enumerable: !0,
|
|
@@ -12001,7 +12013,7 @@ ${n.join("")}
|
|
|
12001
12013
|
}), Object.defineProperty(M, "toggleElementsView", {
|
|
12002
12014
|
enumerable: !0,
|
|
12003
12015
|
get: function() {
|
|
12004
|
-
return
|
|
12016
|
+
return zc;
|
|
12005
12017
|
}
|
|
12006
12018
|
}), Object.defineProperty(M, "tokenApi", {
|
|
12007
12019
|
enumerable: !0,
|
|
@@ -12011,272 +12023,272 @@ ${n.join("")}
|
|
|
12011
12023
|
}), Object.defineProperty(M, "useAddTemplateMutation", {
|
|
12012
12024
|
enumerable: !0,
|
|
12013
12025
|
get: function() {
|
|
12014
|
-
return
|
|
12026
|
+
return al;
|
|
12015
12027
|
}
|
|
12016
12028
|
}), Object.defineProperty(M, "useChangePasswordMutation", {
|
|
12017
12029
|
enumerable: !0,
|
|
12018
12030
|
get: function() {
|
|
12019
|
-
return
|
|
12031
|
+
return nc;
|
|
12020
12032
|
}
|
|
12021
12033
|
}), Object.defineProperty(M, "useCreateBroadcastMutation", {
|
|
12022
12034
|
enumerable: !0,
|
|
12023
12035
|
get: function() {
|
|
12024
|
-
return
|
|
12036
|
+
return jl;
|
|
12025
12037
|
}
|
|
12026
12038
|
}), Object.defineProperty(M, "useCreateCampaignMutation", {
|
|
12027
12039
|
enumerable: !0,
|
|
12028
12040
|
get: function() {
|
|
12029
|
-
return
|
|
12041
|
+
return Nl;
|
|
12030
12042
|
}
|
|
12031
12043
|
}), Object.defineProperty(M, "useCreateCampaignMutation$1", {
|
|
12032
12044
|
enumerable: !0,
|
|
12033
12045
|
get: function() {
|
|
12034
|
-
return
|
|
12046
|
+
return kl;
|
|
12035
12047
|
}
|
|
12036
12048
|
}), Object.defineProperty(M, "useCreateCampaignMutation$2", {
|
|
12037
12049
|
enumerable: !0,
|
|
12038
12050
|
get: function() {
|
|
12039
|
-
return
|
|
12051
|
+
return Al;
|
|
12040
12052
|
}
|
|
12041
12053
|
}), Object.defineProperty(M, "useCreateCampaignMutation$3", {
|
|
12042
12054
|
enumerable: !0,
|
|
12043
12055
|
get: function() {
|
|
12044
|
-
return
|
|
12056
|
+
return El;
|
|
12045
12057
|
}
|
|
12046
12058
|
}), Object.defineProperty(M, "useCreateCampaignMutation$4", {
|
|
12047
12059
|
enumerable: !0,
|
|
12048
12060
|
get: function() {
|
|
12049
|
-
return
|
|
12061
|
+
return yl;
|
|
12050
12062
|
}
|
|
12051
12063
|
}), Object.defineProperty(M, "useCreateCampaignMutation$5", {
|
|
12052
12064
|
enumerable: !0,
|
|
12053
12065
|
get: function() {
|
|
12054
|
-
return
|
|
12066
|
+
return fl;
|
|
12055
12067
|
}
|
|
12056
12068
|
}), Object.defineProperty(M, "useCreateCampaignMutation$6", {
|
|
12057
12069
|
enumerable: !0,
|
|
12058
12070
|
get: function() {
|
|
12059
|
-
return
|
|
12071
|
+
return ul;
|
|
12060
12072
|
}
|
|
12061
12073
|
}), Object.defineProperty(M, "useCreateConvertJobMutation", {
|
|
12062
12074
|
enumerable: !0,
|
|
12063
12075
|
get: function() {
|
|
12064
|
-
return
|
|
12076
|
+
return Vl;
|
|
12065
12077
|
}
|
|
12066
12078
|
}), Object.defineProperty(M, "useCreateDraftMutation", {
|
|
12067
12079
|
enumerable: !0,
|
|
12068
12080
|
get: function() {
|
|
12069
|
-
return
|
|
12081
|
+
return il;
|
|
12070
12082
|
}
|
|
12071
12083
|
}), Object.defineProperty(M, "useCreateEmailMessageMutation", {
|
|
12072
12084
|
enumerable: !0,
|
|
12073
12085
|
get: function() {
|
|
12074
|
-
return
|
|
12086
|
+
return rl;
|
|
12075
12087
|
}
|
|
12076
12088
|
}), Object.defineProperty(M, "useCreateEmailMutation", {
|
|
12077
12089
|
enumerable: !0,
|
|
12078
12090
|
get: function() {
|
|
12079
|
-
return
|
|
12091
|
+
return vl;
|
|
12080
12092
|
}
|
|
12081
12093
|
}), Object.defineProperty(M, "useCreateEmailMutation$1", {
|
|
12082
12094
|
enumerable: !0,
|
|
12083
12095
|
get: function() {
|
|
12084
|
-
return
|
|
12096
|
+
return gl;
|
|
12085
12097
|
}
|
|
12086
12098
|
}), Object.defineProperty(M, "useCreateMailingMutation", {
|
|
12087
12099
|
enumerable: !0,
|
|
12088
12100
|
get: function() {
|
|
12089
|
-
return
|
|
12101
|
+
return nl;
|
|
12090
12102
|
}
|
|
12091
12103
|
}), Object.defineProperty(M, "useCreateMessageMutation", {
|
|
12092
12104
|
enumerable: !0,
|
|
12093
12105
|
get: function() {
|
|
12094
|
-
return
|
|
12106
|
+
return sl;
|
|
12095
12107
|
}
|
|
12096
12108
|
}), Object.defineProperty(M, "useCreateNewsletterMutation", {
|
|
12097
12109
|
enumerable: !0,
|
|
12098
12110
|
get: function() {
|
|
12099
|
-
return
|
|
12111
|
+
return Pl;
|
|
12100
12112
|
}
|
|
12101
12113
|
}), Object.defineProperty(M, "useDeleteTemporaryMailMutation", {
|
|
12102
12114
|
enumerable: !0,
|
|
12103
12115
|
get: function() {
|
|
12104
|
-
return
|
|
12116
|
+
return el;
|
|
12105
12117
|
}
|
|
12106
12118
|
}), Object.defineProperty(M, "useEditImagesMutation", {
|
|
12107
12119
|
enumerable: !0,
|
|
12108
12120
|
get: function() {
|
|
12109
|
-
return
|
|
12121
|
+
return Ys;
|
|
12110
12122
|
}
|
|
12111
12123
|
}), Object.defineProperty(M, "useEditLinksMutation", {
|
|
12112
12124
|
enumerable: !0,
|
|
12113
12125
|
get: function() {
|
|
12114
|
-
return
|
|
12126
|
+
return Zs;
|
|
12115
12127
|
}
|
|
12116
12128
|
}), Object.defineProperty(M, "useEditSpamMutation", {
|
|
12117
12129
|
enumerable: !0,
|
|
12118
12130
|
get: function() {
|
|
12119
|
-
return
|
|
12131
|
+
return Js;
|
|
12120
12132
|
}
|
|
12121
12133
|
}), Object.defineProperty(M, "useGenerateHtmlToPdfMutation", {
|
|
12122
12134
|
enumerable: !0,
|
|
12123
12135
|
get: function() {
|
|
12124
|
-
return
|
|
12136
|
+
return Ql;
|
|
12125
12137
|
}
|
|
12126
12138
|
}), Object.defineProperty(M, "useGetAiGenerateStatusMutation", {
|
|
12127
12139
|
enumerable: !0,
|
|
12128
12140
|
get: function() {
|
|
12129
|
-
return
|
|
12141
|
+
return Bl;
|
|
12130
12142
|
}
|
|
12131
12143
|
}), Object.defineProperty(M, "useGetCheckoutUrlMutation", {
|
|
12132
12144
|
enumerable: !0,
|
|
12133
12145
|
get: function() {
|
|
12134
|
-
return
|
|
12146
|
+
return Jl;
|
|
12135
12147
|
}
|
|
12136
12148
|
}), Object.defineProperty(M, "useGetDialogQuery", {
|
|
12137
12149
|
enumerable: !0,
|
|
12138
12150
|
get: function() {
|
|
12139
|
-
return
|
|
12151
|
+
return Fs;
|
|
12140
12152
|
}
|
|
12141
12153
|
}), Object.defineProperty(M, "useGetInvoiceRequestMutation", {
|
|
12142
12154
|
enumerable: !0,
|
|
12143
12155
|
get: function() {
|
|
12144
|
-
return
|
|
12156
|
+
return $l;
|
|
12145
12157
|
}
|
|
12146
12158
|
}), Object.defineProperty(M, "useGetNotificationsQuery", {
|
|
12147
12159
|
enumerable: !0,
|
|
12148
12160
|
get: function() {
|
|
12149
|
-
return
|
|
12161
|
+
return Zl;
|
|
12150
12162
|
}
|
|
12151
12163
|
}), Object.defineProperty(M, "useGetProjectIntegrationsQuery", {
|
|
12152
12164
|
enumerable: !0,
|
|
12153
12165
|
get: function() {
|
|
12154
|
-
return
|
|
12166
|
+
return sc;
|
|
12155
12167
|
}
|
|
12156
12168
|
}), Object.defineProperty(M, "useGetProjectStorageQuery", {
|
|
12157
12169
|
enumerable: !0,
|
|
12158
12170
|
get: function() {
|
|
12159
|
-
return
|
|
12171
|
+
return ac;
|
|
12160
12172
|
}
|
|
12161
12173
|
}), Object.defineProperty(M, "useGetProjectTestRecipientsQuery", {
|
|
12162
12174
|
enumerable: !0,
|
|
12163
12175
|
get: function() {
|
|
12164
|
-
return
|
|
12176
|
+
return uc;
|
|
12165
12177
|
}
|
|
12166
12178
|
}), Object.defineProperty(M, "useGetProjectWebhookQuery", {
|
|
12167
12179
|
enumerable: !0,
|
|
12168
12180
|
get: function() {
|
|
12169
|
-
return
|
|
12181
|
+
return cc;
|
|
12170
12182
|
}
|
|
12171
12183
|
}), Object.defineProperty(M, "useLazyClearAiChatQuery", {
|
|
12172
12184
|
enumerable: !0,
|
|
12173
12185
|
get: function() {
|
|
12174
|
-
return
|
|
12186
|
+
return Ul;
|
|
12175
12187
|
}
|
|
12176
12188
|
}), Object.defineProperty(M, "useLazyGetCanselRecurrenceQuery", {
|
|
12177
12189
|
enumerable: !0,
|
|
12178
12190
|
get: function() {
|
|
12179
|
-
return
|
|
12191
|
+
return Kl;
|
|
12180
12192
|
}
|
|
12181
12193
|
}), Object.defineProperty(M, "useLazyGetConfirmationMailQuery", {
|
|
12182
12194
|
enumerable: !0,
|
|
12183
12195
|
get: function() {
|
|
12184
|
-
return
|
|
12196
|
+
return Xl;
|
|
12185
12197
|
}
|
|
12186
12198
|
}), Object.defineProperty(M, "useLazyGetConvertJobStatusQuery", {
|
|
12187
12199
|
enumerable: !0,
|
|
12188
12200
|
get: function() {
|
|
12189
|
-
return
|
|
12201
|
+
return Gl;
|
|
12190
12202
|
}
|
|
12191
12203
|
}), Object.defineProperty(M, "useLazyGetDialogQuery", {
|
|
12192
12204
|
enumerable: !0,
|
|
12193
12205
|
get: function() {
|
|
12194
|
-
return
|
|
12206
|
+
return Us;
|
|
12195
12207
|
}
|
|
12196
12208
|
}), Object.defineProperty(M, "useLazyGetFileQuery", {
|
|
12197
12209
|
enumerable: !0,
|
|
12198
12210
|
get: function() {
|
|
12199
|
-
return
|
|
12211
|
+
return zs;
|
|
12200
12212
|
}
|
|
12201
12213
|
}), Object.defineProperty(M, "useLazyGetGeneratedContentQuery", {
|
|
12202
12214
|
enumerable: !0,
|
|
12203
12215
|
get: function() {
|
|
12204
|
-
return
|
|
12216
|
+
return zl;
|
|
12205
12217
|
}
|
|
12206
12218
|
}), Object.defineProperty(M, "useLazyGetIntegrationCredentialsQuery", {
|
|
12207
12219
|
enumerable: !0,
|
|
12208
12220
|
get: function() {
|
|
12209
|
-
return
|
|
12221
|
+
return lc;
|
|
12210
12222
|
}
|
|
12211
12223
|
}), Object.defineProperty(M, "useLazyGetLocaleQuery", {
|
|
12212
12224
|
enumerable: !0,
|
|
12213
12225
|
get: function() {
|
|
12214
|
-
return
|
|
12226
|
+
return Bs;
|
|
12215
12227
|
}
|
|
12216
12228
|
}), Object.defineProperty(M, "useLazyGetLocalesQuery", {
|
|
12217
12229
|
enumerable: !0,
|
|
12218
12230
|
get: function() {
|
|
12219
|
-
return
|
|
12231
|
+
return qs;
|
|
12220
12232
|
}
|
|
12221
12233
|
}), Object.defineProperty(M, "useLazyGetRecurrenceQuery", {
|
|
12222
12234
|
enumerable: !0,
|
|
12223
12235
|
get: function() {
|
|
12224
|
-
return
|
|
12236
|
+
return ec;
|
|
12225
12237
|
}
|
|
12226
12238
|
}), Object.defineProperty(M, "useLogoutMutation", {
|
|
12227
12239
|
enumerable: !0,
|
|
12228
12240
|
get: function() {
|
|
12229
|
-
return
|
|
12241
|
+
return rc;
|
|
12230
12242
|
}
|
|
12231
12243
|
}), Object.defineProperty(M, "useMakeTemporaryMailForPngMutation", {
|
|
12232
12244
|
enumerable: !0,
|
|
12233
12245
|
get: function() {
|
|
12234
|
-
return
|
|
12246
|
+
return Ks;
|
|
12235
12247
|
}
|
|
12236
12248
|
}), Object.defineProperty(M, "useNotificationShownMutation", {
|
|
12237
12249
|
enumerable: !0,
|
|
12238
12250
|
get: function() {
|
|
12239
|
-
return
|
|
12251
|
+
return Yl;
|
|
12240
12252
|
}
|
|
12241
12253
|
}), Object.defineProperty(M, "usePostDataByWebHookMutation", {
|
|
12242
12254
|
enumerable: !0,
|
|
12243
12255
|
get: function() {
|
|
12244
|
-
return
|
|
12256
|
+
return tl;
|
|
12245
12257
|
}
|
|
12246
12258
|
}), Object.defineProperty(M, "usePutProjectSettingsMutation", {
|
|
12247
12259
|
enumerable: !0,
|
|
12248
12260
|
get: function() {
|
|
12249
|
-
return
|
|
12261
|
+
return oc;
|
|
12250
12262
|
}
|
|
12251
12263
|
}), Object.defineProperty(M, "usePutProjectTestRecipientsMutation", {
|
|
12252
12264
|
enumerable: !0,
|
|
12253
12265
|
get: function() {
|
|
12254
|
-
return
|
|
12266
|
+
return dc;
|
|
12255
12267
|
}
|
|
12256
12268
|
}), Object.defineProperty(M, "useSendLivePreviewMutation", {
|
|
12257
12269
|
enumerable: !0,
|
|
12258
12270
|
get: function() {
|
|
12259
|
-
return
|
|
12271
|
+
return Ws;
|
|
12260
12272
|
}
|
|
12261
12273
|
}), Object.defineProperty(M, "useSendMessageMutation", {
|
|
12262
12274
|
enumerable: !0,
|
|
12263
12275
|
get: function() {
|
|
12264
|
-
return
|
|
12276
|
+
return Ls;
|
|
12265
12277
|
}
|
|
12266
12278
|
}), Object.defineProperty(M, "useSendShortLinkMutation", {
|
|
12267
12279
|
enumerable: !0,
|
|
12268
12280
|
get: function() {
|
|
12269
|
-
return
|
|
12281
|
+
return Qs;
|
|
12270
12282
|
}
|
|
12271
12283
|
}), Object.defineProperty(M, "useSendTestEmailMutation", {
|
|
12272
12284
|
enumerable: !0,
|
|
12273
12285
|
get: function() {
|
|
12274
|
-
return
|
|
12286
|
+
return $s;
|
|
12275
12287
|
}
|
|
12276
12288
|
}), Object.defineProperty(M, "useUploadImageMutation", {
|
|
12277
12289
|
enumerable: !0,
|
|
12278
12290
|
get: function() {
|
|
12279
|
-
return
|
|
12291
|
+
return Hs;
|
|
12280
12292
|
}
|
|
12281
12293
|
});
|
|
12282
12294
|
});
|