@builder.io/sdk-vue 0.5.7 → 0.5.9
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/package.json +1 -1
- package/packages/_vue2/dist/{block-styles.4aca252e.js → block-styles.2f2d681c.js} +5 -5
- package/packages/_vue2/dist/{block-styles.d4e625bc.cjs → block-styles.e0c362f1.cjs} +1 -1
- package/packages/_vue2/dist/{block-wrapper.df62a070.cjs → block-wrapper.60491ece.cjs} +1 -1
- package/packages/_vue2/dist/{block-wrapper.266a0ef3.js → block-wrapper.675417b1.js} +5 -5
- package/packages/_vue2/dist/{block.1c14e1e8.cjs → block.2b1ac86c.cjs} +2 -2
- package/packages/_vue2/dist/{block.33475f0d.js → block.b10ffc8d.js} +7 -7
- package/packages/_vue2/dist/{blocks-wrapper.030b1bc5.js → blocks-wrapper.1f4e53ec.js} +1 -1
- package/packages/_vue2/dist/{blocks-wrapper.42eb4446.cjs → blocks-wrapper.87c356a1.cjs} +1 -1
- package/packages/_vue2/dist/{component-ref.2a5e1ada.js → component-ref.d1a3e1db.js} +16 -16
- package/packages/_vue2/dist/component-ref.e0e18275.cjs +1 -0
- package/packages/_vue2/dist/{content.ea0a72d4.js → content.4dd9bed9.js} +5 -5
- package/packages/_vue2/dist/{content.e5d197c3.cjs → content.e0c272e6.cjs} +1 -1
- package/packages/_vue2/dist/{css.dd09e65b.js → css.3b52add0.js} +1 -1
- package/packages/_vue2/dist/{css.21080882.cjs → css.5b6afc6e.cjs} +1 -1
- package/packages/_vue2/dist/{enable-editor.472fc3ec.cjs → enable-editor.29678a79.cjs} +1 -1
- package/packages/_vue2/dist/{enable-editor.6c4a1aca.js → enable-editor.c8c377d7.js} +22 -22
- package/packages/_vue2/dist/evaluate.585803ce.cjs +1 -0
- package/packages/_vue2/dist/evaluate.b622b309.js +97 -0
- package/packages/_vue2/dist/{get-block-actions.982724b1.js → get-block-actions.17f0418a.js} +2 -2
- package/packages/_vue2/dist/{get-block-actions.2fa72e92.cjs → get-block-actions.cc26a1a3.cjs} +1 -1
- package/packages/_vue2/dist/{get-block-properties.008d318f.js → get-block-properties.3a4c9314.js} +2 -2
- package/packages/_vue2/dist/{get-block-properties.094bfc1a.cjs → get-block-properties.fbe48fae.cjs} +1 -1
- package/packages/_vue2/dist/{get-processed-block.06b725b4.cjs → get-processed-block.5937bfa6.cjs} +1 -1
- package/packages/_vue2/dist/{get-processed-block.cabbf7c1.js → get-processed-block.92e6395c.js} +2 -2
- package/packages/_vue2/dist/{index.d24a9f20.cjs → index.04a22940.cjs} +7 -7
- package/packages/_vue2/dist/{index.da59485b.js → index.835b8ee0.js} +102 -101
- package/packages/_vue2/dist/{inlined-script.7d9f29c5.cjs → inlined-script.0c7f9ce3.cjs} +1 -1
- package/packages/_vue2/dist/{inlined-script.d5b1456d.js → inlined-script.3ec95873.js} +1 -1
- package/packages/_vue2/dist/{inlined-styles.ef691e26.cjs → inlined-styles.89ce41e1.cjs} +1 -1
- package/packages/_vue2/dist/{inlined-styles.4fd4586c.js → inlined-styles.ccff7c47.js} +1 -1
- package/packages/_vue2/dist/{interactive-element.7172524e.js → interactive-element.fa779554.js} +5 -5
- package/packages/_vue2/dist/interactive-element.fdd261bc.cjs +1 -0
- package/packages/_vue2/dist/{non-node-runtime.fac94d56.cjs → non-node-runtime.ddfeed94.cjs} +9 -9
- package/packages/{_vue3/dist/non-node-runtime.cac77d48.js → _vue2/dist/non-node-runtime.eb7f6595.js} +66 -65
- package/packages/_vue2/dist/{repeated-block.2b3065cd.js → repeated-block.3c989659.js} +2 -2
- package/packages/_vue2/dist/{repeated-block.27283bd9.cjs → repeated-block.48fbaaab.cjs} +1 -1
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +6 -6
- package/packages/_vue2/dist/src/components/content/content.types.d.ts +2 -2
- package/packages/_vue2/dist/src/components/content-variants/content-variants.types.d.ts +1 -1
- package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/packages/_vue2/dist/src/functions/evaluate/evaluate.d.ts +4 -8
- package/packages/_vue2/dist/src/functions/evaluate/helpers.d.ts +18 -0
- package/packages/_vue2/dist/src/functions/evaluate/index.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +2 -2
- package/packages/_vue2/dist/src/functions/fetch-builder-props.d.ts +2 -2
- package/packages/_vue2/dist/src/index.d.ts +5 -14
- package/packages/_vue2/dist/src/server-index.d.ts +15 -0
- package/packages/_vue2/dist/{styles.d53197f4.js → styles.22b87564.js} +2 -2
- package/packages/_vue2/dist/{styles.39410f45.cjs → styles.a3209286.cjs} +2 -2
- package/packages/_vue3/dist/{block-wrapper.f6009433.cjs → block-wrapper.4abbfa5d.cjs} +1 -1
- package/packages/_vue3/dist/{block-wrapper.c5fdd37d.js → block-wrapper.e6a959ca.js} +2 -2
- package/packages/_vue3/dist/component-ref.16c18e90.cjs +1 -0
- package/packages/_vue3/dist/{component-ref.513230d1.js → component-ref.b3232d22.js} +19 -19
- package/packages/_vue3/dist/{get-block-actions.98c78ed5.js → get-block-actions.48118020.js} +1 -1
- package/packages/_vue3/dist/{get-block-actions.63f93beb.cjs → get-block-actions.83a66ea4.cjs} +1 -1
- package/packages/_vue3/dist/{index.b87be7b3.js → index.ee80c2d7.js} +430 -411
- package/packages/_vue3/dist/index.f36face2.cjs +69 -0
- package/packages/{_vue2/dist/non-node-runtime.2372bfdf.js → _vue3/dist/non-node-runtime.15581a63.js} +62 -64
- package/packages/_vue3/dist/{non-node-runtime.73787d0f.cjs → non-node-runtime.fb2b33d0.cjs} +8 -8
- package/packages/_vue3/dist/{repeated-block.8758f41a.cjs → repeated-block.33f567b4.cjs} +1 -1
- package/packages/_vue3/dist/{repeated-block.3a92872a.js → repeated-block.53ae8c41.js} +2 -2
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +2 -2
- package/packages/_vue3/dist/src/components/content/content.types.d.ts +2 -2
- package/packages/_vue3/dist/src/components/content-variants/content-variants.types.d.ts +1 -1
- package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/packages/_vue3/dist/src/functions/evaluate/evaluate.d.ts +4 -8
- package/packages/_vue3/dist/src/functions/evaluate/helpers.d.ts +18 -0
- package/packages/_vue3/dist/src/functions/evaluate/index.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +2 -2
- package/packages/_vue3/dist/src/functions/fetch-builder-props.d.ts +2 -2
- package/packages/_vue3/dist/src/index.d.ts +5 -14
- package/packages/_vue3/dist/src/server-index.d.ts +15 -0
- package/packages/_vue2/dist/component-ref.c0ab9fe2.cjs +0 -1
- package/packages/_vue2/dist/evaluate.79598493.cjs +0 -4
- package/packages/_vue2/dist/evaluate.9bc5efc5.js +0 -79
- package/packages/_vue2/dist/interactive-element.0a1def03.cjs +0 -1
- package/packages/_vue2/dist/src/functions/evaluate/types.d.ts +0 -11
- package/packages/_vue3/dist/component-ref.5807e495.cjs +0 -1
- package/packages/_vue3/dist/index.9693ab51.cjs +0 -72
- package/packages/_vue3/dist/src/functions/evaluate/types.d.ts +0 -11
- /package/packages/_vue2/dist/src/functions/evaluate/{acorn-interpreter.d.ts → non-node-runtime/acorn-interpreter.d.ts} +0 -0
- /package/packages/_vue3/dist/src/functions/evaluate/{acorn-interpreter.d.ts → non-node-runtime/acorn-interpreter.d.ts} +0 -0
package/packages/{_vue3/dist/non-node-runtime.cac77d48.js → _vue2/dist/non-node-runtime.eb7f6595.js}
RENAMED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { l as vu
|
|
1
|
+
import { l as vu } from "./index.835b8ee0.js";
|
|
2
|
+
import { s as Wu } from "./set.b219ab0e.js";
|
|
3
|
+
import { g as Hu } from "./evaluate.b622b309.js";
|
|
2
4
|
import "vue";
|
|
3
|
-
var w,
|
|
5
|
+
var w, Ju = function(e) {
|
|
4
6
|
function t(i) {
|
|
5
7
|
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Xu.test(String.fromCharCode(i));
|
|
6
8
|
}
|
|
@@ -30,7 +32,7 @@ var w, Hu = function(e) {
|
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
function o() {
|
|
33
|
-
this.line =
|
|
35
|
+
this.line = ae, this.ab = c - K;
|
|
34
36
|
}
|
|
35
37
|
function a(i, s) {
|
|
36
38
|
fe = c, m.C && (at = new o()), C = i, d(), V = s, Be = i.m;
|
|
@@ -46,9 +48,9 @@ var w, Hu = function(e) {
|
|
|
46
48
|
if (i === 32)
|
|
47
49
|
++c;
|
|
48
50
|
else if (i === 13)
|
|
49
|
-
++c, i = A.charCodeAt(c), i === 10 && ++c, m.C && (++
|
|
51
|
+
++c, i = A.charCodeAt(c), i === 10 && ++c, m.C && (++ae, K = c);
|
|
50
52
|
else if (i === 10 || i === 8232 || i === 8233)
|
|
51
|
-
++c, m.C && (++
|
|
53
|
+
++c, m.C && (++ae, K = c);
|
|
52
54
|
else if (8 < i && 14 > i)
|
|
53
55
|
++c;
|
|
54
56
|
else if (i === 47)
|
|
@@ -57,7 +59,7 @@ var w, Hu = function(e) {
|
|
|
57
59
|
var s = m.va && m.C && new o(), l = c, p = A.indexOf("*/", c += 2);
|
|
58
60
|
if (p === -1 && u(c - 2, "Unterminated comment"), c = p + 2, m.C)
|
|
59
61
|
for (Ke.lastIndex = l; (i = Ke.exec(A)) && i.index < c; )
|
|
60
|
-
++
|
|
62
|
+
++ae, K = i.index + i[0].length;
|
|
61
63
|
m.va && m.va(!0, A.slice(l + 2, p), l, c, s, m.C && new o());
|
|
62
64
|
} else if (i === 47)
|
|
63
65
|
h();
|
|
@@ -164,7 +166,7 @@ var w, Hu = function(e) {
|
|
|
164
166
|
case 13:
|
|
165
167
|
A.charCodeAt(c) === 10 && ++c;
|
|
166
168
|
case 10:
|
|
167
|
-
m.C && (K = c, ++
|
|
169
|
+
m.C && (K = c, ++ae);
|
|
168
170
|
break;
|
|
169
171
|
default:
|
|
170
172
|
s += String.fromCharCode(l);
|
|
@@ -174,26 +176,26 @@ var w, Hu = function(e) {
|
|
|
174
176
|
}
|
|
175
177
|
return;
|
|
176
178
|
case 47:
|
|
177
|
-
i = A.charCodeAt(c + 1), Be ? (++c, Le()) : i === 61 ? x(
|
|
179
|
+
i = A.charCodeAt(c + 1), Be ? (++c, Le()) : i === 61 ? x(le, 2) : x(lu, 1);
|
|
178
180
|
return;
|
|
179
181
|
case 37:
|
|
180
182
|
case 42:
|
|
181
|
-
A.charCodeAt(c + 1) === 61 ? x(
|
|
183
|
+
A.charCodeAt(c + 1) === 61 ? x(le, 2) : x(bu, 1);
|
|
182
184
|
return;
|
|
183
185
|
case 124:
|
|
184
186
|
case 38:
|
|
185
|
-
s = A.charCodeAt(c + 1), s === i ? x(i === 124 ? fu : hu, 2) : s === 61 ? x(
|
|
187
|
+
s = A.charCodeAt(c + 1), s === i ? x(i === 124 ? fu : hu, 2) : s === 61 ? x(le, 2) : x(i === 124 ? Iu : Nu, 1);
|
|
186
188
|
return;
|
|
187
189
|
case 94:
|
|
188
|
-
A.charCodeAt(c + 1) === 61 ? x(
|
|
190
|
+
A.charCodeAt(c + 1) === 61 ? x(le, 2) : x(Tu, 1);
|
|
189
191
|
return;
|
|
190
192
|
case 43:
|
|
191
193
|
case 45:
|
|
192
|
-
s = A.charCodeAt(c + 1), s === i ? s === 45 && A.charCodeAt(c + 2) === 62 && $e.test(A.slice(re, c)) ? (c += 3, h(), d(), O()) : x(Ou, 2) : s === 61 ? x(
|
|
194
|
+
s = A.charCodeAt(c + 1), s === i ? s === 45 && A.charCodeAt(c + 2) === 62 && $e.test(A.slice(re, c)) ? (c += 3, h(), d(), O()) : x(Ou, 2) : s === 61 ? x(le, 2) : x(Uu, 1);
|
|
193
195
|
return;
|
|
194
196
|
case 60:
|
|
195
197
|
case 62:
|
|
196
|
-
s = A.charCodeAt(c + 1), l = 1, s === i ? (l = i === 62 && A.charCodeAt(c + 2) === 62 ? 3 : 2, A.charCodeAt(c + l) === 61 ? x(
|
|
198
|
+
s = A.charCodeAt(c + 1), l = 1, s === i ? (l = i === 62 && A.charCodeAt(c + 2) === 62 ? 3 : 2, A.charCodeAt(c + l) === 61 ? x(le, l + 1) : x(Pu, l)) : s === 33 && i === 60 && A.charCodeAt(c + 2) === 45 && A.charCodeAt(c + 3) === 45 ? (c += 4, h(), d(), O()) : (s === 61 && (l = A.charCodeAt(c + 2) === 61 ? 3 : 2), x(Ru, l));
|
|
197
199
|
return;
|
|
198
200
|
case 61:
|
|
199
201
|
case 33:
|
|
@@ -238,7 +240,7 @@ var w, Hu = function(e) {
|
|
|
238
240
|
}
|
|
239
241
|
++c;
|
|
240
242
|
}
|
|
241
|
-
i = A.slice(l, c), ++c, (s =
|
|
243
|
+
i = A.slice(l, c), ++c, (s = ce()) && !/^[gmi]*$/.test(s) && u(l, "Invalid regexp flag");
|
|
242
244
|
try {
|
|
243
245
|
var E = new RegExp(i, s);
|
|
244
246
|
} catch (T) {
|
|
@@ -264,7 +266,7 @@ var w, Hu = function(e) {
|
|
|
264
266
|
function H(i) {
|
|
265
267
|
return i = oe(16, i), i === null && u(I, "Bad character escape sequence"), i;
|
|
266
268
|
}
|
|
267
|
-
function
|
|
269
|
+
function ce() {
|
|
268
270
|
ge = !1;
|
|
269
271
|
for (var i, s = !0, l = c; ; ) {
|
|
270
272
|
var p = A.charCodeAt(c);
|
|
@@ -281,7 +283,7 @@ var w, Hu = function(e) {
|
|
|
281
283
|
return ge ? i : A.slice(l, c);
|
|
282
284
|
}
|
|
283
285
|
function Ge() {
|
|
284
|
-
var i =
|
|
286
|
+
var i = ce(), s = he;
|
|
285
287
|
!ge && Lu(i) && (s = ku[i]), a(s, i);
|
|
286
288
|
}
|
|
287
289
|
function D() {
|
|
@@ -291,7 +293,7 @@ var w, Hu = function(e) {
|
|
|
291
293
|
if (X = i, c = I, m.C)
|
|
292
294
|
for (; c < K; )
|
|
293
295
|
K = A.lastIndexOf(`
|
|
294
|
-
`, K - 2) + 1, --
|
|
296
|
+
`, K - 2) + 1, --ae;
|
|
295
297
|
d(), O();
|
|
296
298
|
}
|
|
297
299
|
function Ut() {
|
|
@@ -320,7 +322,7 @@ var w, Hu = function(e) {
|
|
|
320
322
|
function Xe() {
|
|
321
323
|
return !m.fc && (C === pt || C === Ae || $e.test(A.slice(re, I)));
|
|
322
324
|
}
|
|
323
|
-
function
|
|
325
|
+
function se() {
|
|
324
326
|
S(z) || Xe() || Y();
|
|
325
327
|
}
|
|
326
328
|
function j(i) {
|
|
@@ -333,14 +335,14 @@ var w, Hu = function(e) {
|
|
|
333
335
|
i.type !== "Identifier" && i.type !== "MemberExpression" && u(i.start, "Assigning to rvalue"), X && i.type === "Identifier" && Ye(i.name) && u(i.start, "Assigning to " + i.name + " in strict mode");
|
|
334
336
|
}
|
|
335
337
|
function W() {
|
|
336
|
-
(C === lu || C ===
|
|
338
|
+
(C === lu || C === le && V === "/=") && O(!0);
|
|
337
339
|
var i = C, s = R();
|
|
338
340
|
switch (i) {
|
|
339
341
|
case ft:
|
|
340
342
|
case Wt:
|
|
341
343
|
D();
|
|
342
344
|
var l = i === ft;
|
|
343
|
-
S(z) || Xe() ? s.label = null : C !== he ? Y() : (s.label = $(),
|
|
345
|
+
S(z) || Xe() ? s.label = null : C !== he ? Y() : (s.label = $(), se());
|
|
344
346
|
for (var p = 0; p < k.length; ++p) {
|
|
345
347
|
var E = k[p];
|
|
346
348
|
if ((s.label === null || E.name === s.label.name) && (E.kind !== null && (l || E.kind === "loop") || s.label && l))
|
|
@@ -348,9 +350,9 @@ var w, Hu = function(e) {
|
|
|
348
350
|
}
|
|
349
351
|
return p === k.length && u(s.start, "Unsyntactic " + i.l), F(s, l ? "BreakStatement" : "ContinueStatement");
|
|
350
352
|
case Ht:
|
|
351
|
-
return D(),
|
|
353
|
+
return D(), se(), F(s, "DebuggerStatement");
|
|
352
354
|
case Yt:
|
|
353
|
-
return D(), k.push(Ft), s.body = W(), k.pop(), j(yt), s.test = me(),
|
|
355
|
+
return D(), k.push(Ft), s.body = W(), k.pop(), j(yt), s.test = me(), se(), F(s, "DoWhileStatement");
|
|
354
356
|
case Zt:
|
|
355
357
|
return D(), k.push(Ft), j(Z), C === z ? et(s, null) : C === vt ? (i = R(), D(), Lt(i, !0), F(i, "VariableDeclaration"), i.fa.length === 1 && S(Je) ? _t(s, i) : et(s, i)) : (i = U(!1, !0), S(Je) ? (Ve(i), _t(s, i)) : et(s, i));
|
|
356
358
|
case At:
|
|
@@ -358,17 +360,17 @@ var w, Hu = function(e) {
|
|
|
358
360
|
case zt:
|
|
359
361
|
return D(), s.test = me(), s.da = W(), s.alternate = S($t) ? W() : null, F(s, "IfStatement");
|
|
360
362
|
case Qt:
|
|
361
|
-
return we || m.Ib || u(I, "'return' outside of function"), D(), S(z) || Xe() ? s.K = null : (s.K = U(),
|
|
363
|
+
return we || m.Ib || u(I, "'return' outside of function"), D(), S(z) || Xe() ? s.K = null : (s.K = U(), se()), F(s, "ReturnStatement");
|
|
362
364
|
case gt:
|
|
363
365
|
for (D(), s.Qb = me(), s.tb = [], j(Se), k.push(Vu); C !== Ae; )
|
|
364
366
|
C === ht || C === Jt ? (i = C === ht, p && F(p, "SwitchCase"), s.tb.push(p = R()), p.da = [], D(), i ? p.test = U() : (l && u(lt, "Multiple default clauses"), l = !0, p.test = null), j(je)) : (p || Y(), p.da.push(W()));
|
|
365
367
|
return p && F(p, "SwitchCase"), D(), k.pop(), F(s, "SwitchStatement");
|
|
366
368
|
case qt:
|
|
367
|
-
return D(), $e.test(A.slice(re, I)) && u(re, "Illegal newline after throw"), s.K = U(),
|
|
369
|
+
return D(), $e.test(A.slice(re, I)) && u(re, "Illegal newline after throw"), s.K = U(), se(), F(s, "ThrowStatement");
|
|
368
370
|
case eu:
|
|
369
371
|
return D(), s.block = de(), s.Ea = null, C === Vt && (i = R(), D(), j(Z), i.Ua = $(), X && Ye(i.Ua.name) && u(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), j(J), i.body = de(), s.Ea = F(i, "CatchClause")), s.fb = S(Kt) ? de() : null, s.Ea || s.fb || u(s.start, "Missing catch or finally clause"), F(s, "TryStatement");
|
|
370
372
|
case vt:
|
|
371
|
-
return D(), Lt(s),
|
|
373
|
+
return D(), Lt(s), se(), F(s, "VariableDeclaration");
|
|
372
374
|
case yt:
|
|
373
375
|
return D(), s.test = me(), k.push(Ft), s.body = W(), k.pop(), F(s, "WhileStatement");
|
|
374
376
|
case tu:
|
|
@@ -386,7 +388,7 @@ var w, Hu = function(e) {
|
|
|
386
388
|
kind: C.W ? "loop" : C === gt ? "switch" : null
|
|
387
389
|
}), s.body = W(), k.pop(), s.label = E, F(s, "LabeledStatement");
|
|
388
390
|
}
|
|
389
|
-
return s.la = E,
|
|
391
|
+
return s.la = E, se(), F(s, "ExpressionStatement");
|
|
390
392
|
}
|
|
391
393
|
}
|
|
392
394
|
function me() {
|
|
@@ -550,7 +552,7 @@ var w, Hu = function(e) {
|
|
|
550
552
|
A = String(i), pe = A.length, m = s || {};
|
|
551
553
|
for (var l in Gt)
|
|
552
554
|
Object.prototype.hasOwnProperty.call(m, l) || (m[l] = Gt[l]);
|
|
553
|
-
for (ot = m.sourceFile,
|
|
555
|
+
for (ot = m.sourceFile, ae = 1, c = K = 0, Be = !0, d(), l = m.dc, lt = re = c, m.C && (ct = new o()), we = X = !1, k = [], O(), i = l || R(), s = !0, l || (i.body = []); C !== pt; )
|
|
554
556
|
l = W(), i.body.push(l), s && qe(l) && Qe(!0), s = !1;
|
|
555
557
|
return F(i, "Program");
|
|
556
558
|
};
|
|
@@ -565,7 +567,7 @@ var w, Hu = function(e) {
|
|
|
565
567
|
dc: null,
|
|
566
568
|
sourceFile: null,
|
|
567
569
|
vb: null
|
|
568
|
-
}, c = 0, I = 0, fe = 0, st, at, C, V, Be,
|
|
570
|
+
}, c = 0, I = 0, fe = 0, st, at, C, V, Be, ae, K, lt = 0, re = 0, ct, we, k, X, ju = [], xe = {
|
|
569
571
|
type: "num"
|
|
570
572
|
}, Xt = {
|
|
571
573
|
type: "regexp"
|
|
@@ -719,7 +721,7 @@ var w, Hu = function(e) {
|
|
|
719
721
|
}, cu = {
|
|
720
722
|
Cb: !0,
|
|
721
723
|
m: !0
|
|
722
|
-
},
|
|
724
|
+
}, le = {
|
|
723
725
|
Cb: !0,
|
|
724
726
|
m: !0
|
|
725
727
|
}, Ou = {
|
|
@@ -766,7 +768,7 @@ var w, Hu = function(e) {
|
|
|
766
768
|
kind: "switch"
|
|
767
769
|
};
|
|
768
770
|
}, Dt = Dt = typeof globalThis > "u" ? void 0 : globalThis;
|
|
769
|
-
|
|
771
|
+
Ju(Dt.j || (Dt.j = {}));
|
|
770
772
|
function f(e, t) {
|
|
771
773
|
typeof e == "string" && (e = Ce(e, "code"));
|
|
772
774
|
var r = e.constructor;
|
|
@@ -816,7 +818,7 @@ var yu = {
|
|
|
816
818
|
VALUE_IN_DESCRIPTOR: !0
|
|
817
819
|
}, ye = {
|
|
818
820
|
REGEXP_TIMEOUT: !0
|
|
819
|
-
}, Eu = [], q = null, Me = null, ie = typeof globalThis > "u" ? void 0 : globalThis,
|
|
821
|
+
}, Eu = [], q = null, Me = null, ie = typeof globalThis > "u" ? void 0 : globalThis, Yu = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
820
822
|
function St(e) {
|
|
821
823
|
var t = e >>> 0;
|
|
822
824
|
return t === Number(e) ? t : NaN;
|
|
@@ -898,8 +900,8 @@ w.Eb = function() {
|
|
|
898
900
|
;
|
|
899
901
|
return this.za;
|
|
900
902
|
};
|
|
901
|
-
function
|
|
902
|
-
e.g(t, "NaN", NaN, ke), e.g(t, "Infinity", 1 / 0, ke), e.g(t, "undefined", void 0, ke), e.g(t, "window", t, xt), e.g(t, "this", t, ke), e.g(t, "self", t), e.M = new B(null), e.Z = new B(e.M),
|
|
903
|
+
function $u(e, t) {
|
|
904
|
+
e.g(t, "NaN", NaN, ke), e.g(t, "Infinity", 1 / 0, ke), e.g(t, "undefined", void 0, ke), e.g(t, "window", t, xt), e.g(t, "this", t, ke), e.g(t, "self", t), e.M = new B(null), e.Z = new B(e.M), Ku(e, t), Zu(e, t), t.xa = e.M, e.g(t, "constructor", e.v, g), zu(e, t), Qu(e, t), qu(e, t), er(e, t), tr(e, t), ur(e, t), rr(e, t), nr(e, t), ir(e, t);
|
|
903
905
|
var r = e.i(function() {
|
|
904
906
|
throw EvalError("Can't happen");
|
|
905
907
|
}, !1);
|
|
@@ -925,7 +927,7 @@ function Yu(e, t) {
|
|
|
925
927
|
}, e.g(t, "clearInterval", e.i(r, !1), g), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
926
928
|
}
|
|
927
929
|
w.Wb = 0;
|
|
928
|
-
function
|
|
930
|
+
function Ku(e, t) {
|
|
929
931
|
var r = /^[A-Za-z_$][\w$]*$/, u = function(n) {
|
|
930
932
|
var o = arguments.length ? String(arguments[arguments.length - 1]) : "", a = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
931
933
|
if (a) {
|
|
@@ -959,7 +961,7 @@ function $u(e, t) {
|
|
|
959
961
|
return this.valueOf();
|
|
960
962
|
}, N(e, e.O, "valueOf", u), e.g(e.O, "valueOf", e.i(u, !1), g);
|
|
961
963
|
}
|
|
962
|
-
function
|
|
964
|
+
function Zu(e, t) {
|
|
963
965
|
function r(n) {
|
|
964
966
|
n != null || y(e, e.j, "Cannot convert '" + n + "' to object");
|
|
965
967
|
}
|
|
@@ -1004,7 +1006,7 @@ function Ku(e, t) {
|
|
|
1004
1006
|
}
|
|
1005
1007
|
}, N(e, e.v, "isPrototypeOf", u);
|
|
1006
1008
|
}
|
|
1007
|
-
function
|
|
1009
|
+
function zu(e, t) {
|
|
1008
1010
|
var r = function(u) {
|
|
1009
1011
|
var n = te(e) ? this : Ee(e), o = arguments[0];
|
|
1010
1012
|
if (arguments.length === 1 && typeof o == "number")
|
|
@@ -1024,7 +1026,7 @@ function Zu(e, t) {
|
|
|
1024
1026
|
writable: !0
|
|
1025
1027
|
}), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
|
|
1026
1028
|
}
|
|
1027
|
-
function
|
|
1029
|
+
function Qu(e, t) {
|
|
1028
1030
|
var r = function(u) {
|
|
1029
1031
|
return u = arguments.length ? ie.String(u) : "", te(e) ? (this.data = u, this) : u;
|
|
1030
1032
|
};
|
|
@@ -1107,12 +1109,12 @@ function zu(e, t) {
|
|
|
1107
1109
|
o(a.replace(u, n));
|
|
1108
1110
|
}, Ne(e, e.J, "replace", r), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
|
|
1109
1111
|
}
|
|
1110
|
-
function
|
|
1112
|
+
function qu(e, t) {
|
|
1111
1113
|
e.mb = e.i(function(r) {
|
|
1112
1114
|
return r = ie.Boolean(r), te(e) ? (this.data = r, this) : r;
|
|
1113
1115
|
}, !0), e.g(t, "Boolean", e.mb, g);
|
|
1114
1116
|
}
|
|
1115
|
-
function
|
|
1117
|
+
function er(e, t) {
|
|
1116
1118
|
var r = function(u) {
|
|
1117
1119
|
return u = arguments.length ? ie.Number(u) : 0, te(e) ? (this.data = u, this) : u;
|
|
1118
1120
|
};
|
|
@@ -1151,7 +1153,7 @@ function qu(e, t) {
|
|
|
1151
1153
|
}
|
|
1152
1154
|
}, N(e, e.aa, "toLocaleString", r);
|
|
1153
1155
|
}
|
|
1154
|
-
function
|
|
1156
|
+
function tr(e, t) {
|
|
1155
1157
|
var r = function(n, o) {
|
|
1156
1158
|
if (!te(e))
|
|
1157
1159
|
return ie.Date();
|
|
@@ -1170,7 +1172,7 @@ function er(e, t) {
|
|
|
1170
1172
|
};
|
|
1171
1173
|
}(t[u]), N(e, e.$, t[u], r);
|
|
1172
1174
|
}
|
|
1173
|
-
function
|
|
1175
|
+
function ur(e, t) {
|
|
1174
1176
|
var r = function(u, n) {
|
|
1175
1177
|
if (te(e))
|
|
1176
1178
|
var o = this;
|
|
@@ -1212,7 +1214,7 @@ function tr(e, t) {
|
|
|
1212
1214
|
u = a.exec(u), e.g(this, "lastIndex", a.lastIndex), n(o(u));
|
|
1213
1215
|
}, Ne(e, e.I, "exec", r);
|
|
1214
1216
|
}
|
|
1215
|
-
function
|
|
1217
|
+
function rr(e, t) {
|
|
1216
1218
|
function r(u) {
|
|
1217
1219
|
var n = e.i(function(o) {
|
|
1218
1220
|
var a = te(e) ? this : e.Aa(n);
|
|
@@ -1225,7 +1227,7 @@ function ur(e, t) {
|
|
|
1225
1227
|
return Bt(e, n, u), n;
|
|
1226
1228
|
}, !0), e.g(t, "Error", e.D, g), e.g(e.D.h.prototype, "message", "", g), e.g(e.D.h.prototype, "name", "Error", g), r("EvalError"), e.ob = r("RangeError"), e.pb = r("ReferenceError"), e.T = r("SyntaxError"), e.j = r("TypeError"), e.Gb = r("URIError");
|
|
1227
1229
|
}
|
|
1228
|
-
function
|
|
1230
|
+
function nr(e, t) {
|
|
1229
1231
|
var r = e.s(e.M);
|
|
1230
1232
|
e.g(t, "Math", r, g);
|
|
1231
1233
|
var u = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
@@ -1234,7 +1236,7 @@ function rr(e, t) {
|
|
|
1234
1236
|
for (u = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < u.length; t++)
|
|
1235
1237
|
e.g(r, u[t], e.i(Math[u[t]], !1), g);
|
|
1236
1238
|
}
|
|
1237
|
-
function
|
|
1239
|
+
function ir(e, t) {
|
|
1238
1240
|
var r = e.s(e.M);
|
|
1239
1241
|
e.g(t, "JSON", r, g), t = function(u) {
|
|
1240
1242
|
try {
|
|
@@ -1289,7 +1291,7 @@ function Bt(e, t, r) {
|
|
|
1289
1291
|
}
|
|
1290
1292
|
w.ha = function() {
|
|
1291
1293
|
var e = this.ha.Mb;
|
|
1292
|
-
return e || (e = new Blob([
|
|
1294
|
+
return e || (e = new Blob([Yu.join(`
|
|
1293
1295
|
`)], {
|
|
1294
1296
|
type: "application/javascript"
|
|
1295
1297
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
@@ -1568,7 +1570,7 @@ function wt(e, t, r) {
|
|
|
1568
1570
|
var n = t.body && t.body[0];
|
|
1569
1571
|
n && n.la && n.la.type === "Literal" && n.la.value === "use strict" && (u = !0);
|
|
1570
1572
|
}
|
|
1571
|
-
return n = e.s(null), u = new Su(r, u, n), r ||
|
|
1573
|
+
return n = e.s(null), u = new Su(r, u, n), r || $u(e, u.object), Ue(e, t, u), u;
|
|
1572
1574
|
}
|
|
1573
1575
|
function Tt(e, t, r) {
|
|
1574
1576
|
if (!t)
|
|
@@ -1753,7 +1755,7 @@ function Fu(e, t, r) {
|
|
|
1753
1755
|
}
|
|
1754
1756
|
a.type = "EvalProgram_", a.body = d.body, u = u.node.arguments[0], Ze(a, u ? u.start : void 0, u ? u.end : void 0), u = e.N, n.length = 0;
|
|
1755
1757
|
}
|
|
1756
|
-
return t = new
|
|
1758
|
+
return t = new or(h, n, u, a, t ? r : -1), xu(e, t, r), t.Db;
|
|
1757
1759
|
}
|
|
1758
1760
|
function xu(e, t, r) {
|
|
1759
1761
|
t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(u, n) {
|
|
@@ -1857,10 +1859,10 @@ w.toString = function() {
|
|
|
1857
1859
|
w.valueOf = function() {
|
|
1858
1860
|
return !Me || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1859
1861
|
};
|
|
1860
|
-
function
|
|
1861
|
-
this.zb = e, this.Lb = t, this.scope = r, this.node = u, this.interval = n, this.Db = ++
|
|
1862
|
+
function or(e, t, r, u, n) {
|
|
1863
|
+
this.zb = e, this.Lb = t, this.scope = r, this.node = u, this.interval = n, this.Db = ++sr, this.time = 0;
|
|
1862
1864
|
}
|
|
1863
|
-
var
|
|
1865
|
+
var sr = 0;
|
|
1864
1866
|
f.prototype.stepArrayExpression = function(e, t, r) {
|
|
1865
1867
|
r = r.elements;
|
|
1866
1868
|
var u = t.A || 0;
|
|
@@ -2408,7 +2410,7 @@ f.prototype.getGlobalScope = f.prototype.Xb;
|
|
|
2408
2410
|
f.prototype.getStateStack = f.prototype.Yb;
|
|
2409
2411
|
f.prototype.setStateStack = f.prototype.ec;
|
|
2410
2412
|
f.VALUE_IN_DESCRIPTOR = Pe;
|
|
2411
|
-
const
|
|
2413
|
+
const ar = (e) => e.split(`
|
|
2412
2414
|
`).map((t) => {
|
|
2413
2415
|
const r = t.trim();
|
|
2414
2416
|
if (t.includes("__awaiter"))
|
|
@@ -2421,26 +2423,25 @@ const sr = (e) => e.split(`
|
|
|
2421
2423
|
${h}
|
|
2422
2424
|
`;
|
|
2423
2425
|
}).filter(Boolean).join(`
|
|
2424
|
-
`), du = (e) => e + "JSON",
|
|
2426
|
+
`), du = (e) => e + "JSON", hr = ({
|
|
2425
2427
|
builder: e,
|
|
2426
2428
|
context: t,
|
|
2427
2429
|
event: r,
|
|
2428
2430
|
rootState: u,
|
|
2429
2431
|
localState: n,
|
|
2430
2432
|
rootSetState: o,
|
|
2431
|
-
|
|
2433
|
+
code: a
|
|
2432
2434
|
}) => {
|
|
2433
2435
|
const h = {
|
|
2434
2436
|
...u,
|
|
2435
2437
|
...n
|
|
2436
|
-
}, d = {
|
|
2437
|
-
state: h,
|
|
2438
|
-
Builder: e,
|
|
2438
|
+
}, d = Hu({
|
|
2439
2439
|
builder: e,
|
|
2440
2440
|
context: t,
|
|
2441
|
-
event: r
|
|
2442
|
-
|
|
2443
|
-
|
|
2441
|
+
event: r,
|
|
2442
|
+
state: h
|
|
2443
|
+
}), b = d.map(([M]) => `var ${M} = JSON.parse(${du(M)});`).join(`
|
|
2444
|
+
`), O = ar(a);
|
|
2444
2445
|
if (O === "") {
|
|
2445
2446
|
vu.warn("Skipping evaluation of empty code block.");
|
|
2446
2447
|
return;
|
|
@@ -2453,12 +2454,12 @@ function theFunction() {
|
|
|
2453
2454
|
}
|
|
2454
2455
|
theFunction();
|
|
2455
2456
|
`, Le = (M, H) => {
|
|
2456
|
-
const
|
|
2457
|
-
o == null || o(
|
|
2457
|
+
const ce = Wu(h, M, H);
|
|
2458
|
+
o == null || o(ce);
|
|
2458
2459
|
}, oe = function(M, H) {
|
|
2459
|
-
|
|
2460
|
-
const
|
|
2461
|
-
M.setProperty(H, du(
|
|
2460
|
+
d.forEach(([ce, Ge]) => {
|
|
2461
|
+
const D = JSON.stringify(Ge);
|
|
2462
|
+
M.setProperty(H, du(ce), D);
|
|
2462
2463
|
}), M.setProperty(H, "setRootState", M.createNativeFunction(Le));
|
|
2463
2464
|
};
|
|
2464
2465
|
try {
|
|
@@ -2472,5 +2473,5 @@ theFunction();
|
|
|
2472
2473
|
}
|
|
2473
2474
|
};
|
|
2474
2475
|
export {
|
|
2475
|
-
|
|
2476
|
+
hr as runInNonNode
|
|
2476
2477
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const c = () => import("./block.
|
|
2
|
+
import { p as n, n as s } from "./index.835b8ee0.js";
|
|
3
|
+
const c = () => import("./block.b10ffc8d.js").then((e) => e.default).catch((e) => {
|
|
4
4
|
throw console.error(
|
|
5
5
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
6
6
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("./index.04a22940.cjs"),s=()=>Promise.resolve().then(()=>require("./block.2b1ac86c.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=n.defineComponent({name:"repeated-block",components:{block:s},props:["repeatContext","block","registeredComponents"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[o.builderContext.key]:e.store}}});var l=function(){var t=this,r=t._self._c;return t._self._setupProxy,r("block",{attrs:{block:t.block,context:t.store,registeredComponents:t.registeredComponents}})},a=[],i=o.normalizeComponent(c,l,a,!1,null,null,null,null);const u=i.exports;exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.04a22940.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as a, B as n, C as r, x as o, F as i, I as g, R as c, y as l, S as m, h as C, j as d, V as u, G as B, q as h, K as p, A as E, u as R, D as S, H as f, E as k, b as x, t as y, r as P, z as b, J as w } from "./index.835b8ee0.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
a as Blocks,
|
|
@@ -12,10 +12,10 @@ export {
|
|
|
12
12
|
m as Section,
|
|
13
13
|
C as Symbol,
|
|
14
14
|
d as Text,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
u as Video,
|
|
16
|
+
B as _processContentResult,
|
|
17
|
+
h as createRegisterComponentMessage,
|
|
18
|
+
p as fetchBuilderProps,
|
|
19
19
|
E as fetchEntries,
|
|
20
20
|
R as fetchOneEntry,
|
|
21
21
|
S as getAllContent,
|
|
@@ -25,5 +25,5 @@ export {
|
|
|
25
25
|
y as isPreviewing,
|
|
26
26
|
P as register,
|
|
27
27
|
b as setEditorSettings,
|
|
28
|
-
|
|
28
|
+
w as track
|
|
29
29
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BuilderRenderState } from '../../context/types.js';
|
|
2
2
|
import type { EnforcePartials } from '../../types/enforced-partials.js';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ContentVariantsPrps } from '../content-variants/content-variants.types.js';
|
|
4
4
|
interface InternalRenderProps {
|
|
5
5
|
/**
|
|
6
6
|
* TO-DO: improve qwik generator to not remap this name for non-HTML tags, then name it `className`
|
|
@@ -9,7 +9,7 @@ interface InternalRenderProps {
|
|
|
9
9
|
showContent: boolean;
|
|
10
10
|
isSsrAbTest: boolean;
|
|
11
11
|
}
|
|
12
|
-
export type ContentProps = InternalRenderProps & EnforcePartials<
|
|
12
|
+
export type ContentProps = InternalRenderProps & EnforcePartials<ContentVariantsPrps>;
|
|
13
13
|
export interface BuilderComponentStateChange {
|
|
14
14
|
state: BuilderRenderState;
|
|
15
15
|
ref: {
|
|
@@ -2,7 +2,7 @@ import type { BuilderRenderContext, RegisteredComponent } from '../../context/ty
|
|
|
2
2
|
import type { ApiVersion } from '../../types/api-version.js';
|
|
3
3
|
import type { BuilderContent } from '../../types/builder-content.js';
|
|
4
4
|
import type { Nullable } from '../../types/typescript.js';
|
|
5
|
-
export interface
|
|
5
|
+
export interface ContentVariantsPrps {
|
|
6
6
|
content?: Nullable<BuilderContent>;
|
|
7
7
|
model?: string;
|
|
8
8
|
data?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.5.
|
|
1
|
+
export declare const SDK_VERSION = "0.5.9";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BuilderRenderState } from '../../../context/types.js';
|
|
2
|
+
import type { ExecutorArgs } from '../helpers.js';
|
|
3
|
+
export declare const runInBrowser: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any;
|
|
4
|
+
export declare function flattenState(rootState: Record<string | symbol, any>, localState: Record<string | symbol, any> | undefined, rootSetState: ((rootState: BuilderRenderState) => void) | undefined): BuilderRenderState;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression }: {
|
|
4
|
-
code: string;
|
|
1
|
+
import type { ExecutorArgs } from './helpers.js';
|
|
2
|
+
export type EvaluatorArgs = Omit<ExecutorArgs, 'builder' | 'event'> & {
|
|
5
3
|
event?: Event;
|
|
6
4
|
isExpression?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare
|
|
9
|
-
export declare const runInNode: (args: ExecutorArgs) => any;
|
|
10
|
-
export declare function flattenState(rootState: Record<string | symbol, any>, localState: Record<string | symbol, any> | undefined, rootSetState: ((rootState: BuilderRenderState) => void) | undefined): BuilderRenderState;
|
|
5
|
+
};
|
|
6
|
+
export declare function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression }: EvaluatorArgs): any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { BuilderContextInterface, BuilderRenderState } from '../../context/types.js';
|
|
2
|
+
import type { getUserAttributes } from '../track/helpers.js';
|
|
3
|
+
export type BuilderGlobals = {
|
|
4
|
+
isEditing: boolean | undefined;
|
|
5
|
+
isBrowser: boolean | undefined;
|
|
6
|
+
isServer: boolean | undefined;
|
|
7
|
+
getUserAttributes: typeof getUserAttributes;
|
|
8
|
+
};
|
|
9
|
+
export type ExecutorArgs = Pick<BuilderContextInterface, 'localState' | 'context' | 'rootState' | 'rootSetState'> & {
|
|
10
|
+
code: string;
|
|
11
|
+
builder: BuilderGlobals;
|
|
12
|
+
event: Event | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type Executor = (args: ExecutorArgs) => any;
|
|
15
|
+
export type FunctionArguments = ReturnType<typeof getFunctionArguments>;
|
|
16
|
+
export declare const getFunctionArguments: ({ builder, context, event, state }: Pick<ExecutorArgs, "context" | "builder" | "event"> & {
|
|
17
|
+
state: BuilderRenderState;
|
|
18
|
+
}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { evaluate } from './evaluate';
|
|
1
|
+
export { evaluate } from './evaluate.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ExecutorArgs } from '../
|
|
2
|
-
export declare const runInNonNode: ({ builder, context, event, rootState, localState, rootSetState,
|
|
1
|
+
import type { ExecutorArgs } from '../helpers.js';
|
|
2
|
+
export declare const runInNonNode: ({ builder, context, event, rootState, localState, rootSetState, code }: ExecutorArgs) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ContentVariantsPrps } from '../components/content-variants/content-variants.types.js';
|
|
2
2
|
import type { Dictionary } from '../types/typescript.js';
|
|
3
3
|
import type { GetContentOptions } from './get-content/types.js';
|
|
4
4
|
type GetBuilderPropsOptions = (Omit<GetContentOptions, 'model'> & {
|
|
@@ -35,5 +35,5 @@ type GetBuilderPropsOptions = (Omit<GetContentOptions, 'model'> & {
|
|
|
35
35
|
/**
|
|
36
36
|
* Fetches builder content, and returns it along with sensible defaults for other props that `Content` needs to render.
|
|
37
37
|
*/
|
|
38
|
-
export declare const fetchBuilderProps: (_args: GetBuilderPropsOptions) => Promise<
|
|
38
|
+
export declare const fetchBuilderProps: (_args: GetBuilderPropsOptions) => Promise<ContentVariantsPrps>;
|
|
39
39
|
export {};
|