@builder.io/sdk-react 1.0.27 → 1.0.29
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/lib/browser/blocks-exports.cjs +29 -29
- package/lib/browser/blocks-exports.mjs +1031 -788
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +1 -1
- package/lib/browser/init.mjs +1 -1
- package/lib/browser/{server-entry-60c3f2b2.cjs → server-entry-29038134.cjs} +1 -1
- package/lib/browser/{server-entry-805a2c2a.js → server-entry-99f6be25.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/accordion-a922b6f1.js +131 -0
- package/lib/edge/accordion-cf80a119.cjs +1 -0
- package/lib/edge/{blocks-af5c8ecf.cjs → blocks-0b5854b9.cjs} +10 -10
- package/lib/edge/{blocks-a1399a78.js → blocks-2cd920f9.js} +198 -198
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-16076ac7.cjs → button-2e6cc4b7.cjs} +1 -1
- package/lib/edge/{button-0820a5bc.js → button-e343aea4.js} +2 -2
- package/lib/edge/{columns-688cc205.js → columns-5db55b04.js} +5 -5
- package/lib/edge/{columns-6b8c03be.cjs → columns-cf320d97.cjs} +2 -2
- package/lib/edge/content-variants-d7612a4d.cjs +134 -0
- package/lib/edge/{content-variants-efa4f81b.js → content-variants-dd520b38.js} +313 -192
- package/lib/edge/form-7248b44c.cjs +1 -0
- package/lib/edge/{form-cbe7d822.js → form-a0093dd2.js} +17 -19
- package/lib/edge/{get-class-prop-name-47012c9c.cjs → get-class-prop-name-890dc6a6.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-4a1bad2b.js → get-class-prop-name-f14607dc.js} +1 -1
- package/lib/edge/{img-d3420f5d.cjs → img-960eef70.cjs} +1 -1
- package/lib/edge/{img-14849a5b.js → img-ff2f388e.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +1 -1
- package/lib/edge/init.mjs +1 -1
- package/lib/edge/{input-534b9f95.js → input-5934355a.js} +1 -1
- package/lib/edge/{input-07becc4d.cjs → input-e91374cc.cjs} +1 -1
- package/lib/edge/{select-b05ef24f.js → select-298649a8.js} +1 -1
- package/lib/edge/{select-e576d7d0.cjs → select-6e9fb36f.cjs} +1 -1
- package/lib/edge/{server-entry-ee324b22.cjs → server-entry-7feea5b4.cjs} +1 -1
- package/lib/edge/{server-entry-6aaf6054.js → server-entry-d8f1ea14.js} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-e139f9b4.cjs → slot-3a6d243c.cjs} +1 -1
- package/lib/edge/{slot-944437dd.js → slot-5676b4f4.js} +3 -3
- package/lib/edge/{symbol-75d1c60d.js → symbol-2df385d5.js} +2 -2
- package/lib/edge/{symbol-f7f42446.cjs → symbol-b5a02759.cjs} +1 -1
- package/lib/edge/tabs-036057d6.cjs +1 -0
- package/lib/edge/{tabs-62e415e1.js → tabs-c2055821.js} +20 -20
- package/lib/node/blocks-exports.cjs +29 -29
- package/lib/node/blocks-exports.mjs +1034 -791
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-1bee7133.cjs → node-runtime-4dbd8a34.cjs} +1 -1
- package/lib/node/{node-runtime-e167306c.js → node-runtime-502f7164.js} +1 -1
- package/lib/node/{server-entry-db936548.cjs → server-entry-4c4c63b3.cjs} +1 -1
- package/lib/node/{server-entry-38fb2258.js → server-entry-95efff43.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +3 -3
- package/types/blocks/accordion/accordion.d.ts +4 -0
- package/types/blocks/accordion/accordion.types.d.ts +12 -0
- package/types/blocks/accordion/component-info.d.ts +2 -0
- package/types/blocks/accordion/helpers.d.ts +1 -0
- package/types/blocks/accordion/index.d.ts +1 -0
- package/types/components/block/animator.d.ts +0 -1
- package/types/components/content-variants/content-variants.types.d.ts +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/functions/camel-to-kebab-case.d.ts +1 -1
- package/lib/edge/content-variants-4679172a.cjs +0 -134
- package/lib/edge/form-91166ed6.cjs +0 -1
- package/lib/edge/tabs-4860ef6d.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var kn = Object.defineProperty;
|
|
2
2
|
var En = (e, t, n) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
4
|
-
import { jsx as T, Fragment as Y, jsxs as
|
|
3
|
+
var Rt = (e, t, n) => (En(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
+
import { jsx as T, Fragment as Y, jsxs as Bt } from "react/jsx-runtime";
|
|
5
5
|
import { createContext as Cn, useState as $r, useEffect as jn, useContext as Rr } from "react";
|
|
6
6
|
import { BuilderContext as Gr } from "./blocks-exports.mjs";
|
|
7
|
-
import { isEditing as
|
|
8
|
-
import { getClassPropName as An } from "./get-class-prop-name-
|
|
7
|
+
import { isEditing as Dt, isBrowser as Ut, getUserAttributes as On, logger as nt, checkIsDefined as ot, fastClone as Vr, TARGET as Xr } from "./server-entry-d8f1ea14.js";
|
|
8
|
+
import { getClassPropName as An } from "./get-class-prop-name-f14607dc.js";
|
|
9
9
|
import { DynamicRenderer as bn } from "./dynamic-renderer-8b343325.js";
|
|
10
10
|
const Hr = (e, t, n) => {
|
|
11
11
|
if (Object(e) !== e)
|
|
@@ -25,9 +25,9 @@ const Hr = (e, t, n) => {
|
|
|
25
25
|
context: t,
|
|
26
26
|
event: n
|
|
27
27
|
}), In = () => ({
|
|
28
|
-
isEditing:
|
|
29
|
-
isBrowser:
|
|
30
|
-
isServer: !
|
|
28
|
+
isEditing: Dt(),
|
|
29
|
+
isBrowser: Ut(),
|
|
30
|
+
isServer: !Ut(),
|
|
31
31
|
getUserAttributes: () => On()
|
|
32
32
|
}), Tn = (e, {
|
|
33
33
|
isExpression: t = !0
|
|
@@ -122,7 +122,7 @@ var I, Mn = function(e) {
|
|
|
122
122
|
this.line = de, this.ab = c - ee;
|
|
123
123
|
}
|
|
124
124
|
function a(i, l) {
|
|
125
|
-
me = c, C.C && (
|
|
125
|
+
me = c, C.C && (wt = new s()), S = i, g(), K = l, Pe = i.m;
|
|
126
126
|
}
|
|
127
127
|
function f() {
|
|
128
128
|
for (var i = c, l = C.va && C.C && new s(), u = d.charCodeAt(c += 2); c < ve && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
|
|
@@ -174,9 +174,9 @@ var I, Mn = function(e) {
|
|
|
174
174
|
case 44:
|
|
175
175
|
return ++c, a(ce);
|
|
176
176
|
case 91:
|
|
177
|
-
return ++c, a(bt);
|
|
178
|
-
case 93:
|
|
179
177
|
return ++c, a(It);
|
|
178
|
+
case 93:
|
|
179
|
+
return ++c, a(Tt);
|
|
180
180
|
case 123:
|
|
181
181
|
return ++c, a(Me);
|
|
182
182
|
case 125:
|
|
@@ -294,10 +294,10 @@ var I, Mn = function(e) {
|
|
|
294
294
|
return !1;
|
|
295
295
|
}
|
|
296
296
|
function E(i) {
|
|
297
|
-
if (i ? c = D + 1 : D = c, C.C && (
|
|
297
|
+
if (i ? c = D + 1 : D = c, C.C && (mt = new s()), i)
|
|
298
298
|
return P();
|
|
299
299
|
if (c >= ve)
|
|
300
|
-
return a(
|
|
300
|
+
return a(kt);
|
|
301
301
|
if (i = d.charCodeAt(c), n(i) || i === 92)
|
|
302
302
|
return pe();
|
|
303
303
|
if (j(i) === !1) {
|
|
@@ -374,7 +374,7 @@ var I, Mn = function(e) {
|
|
|
374
374
|
!xe && mn(i) && (l = an[i]), a(l, i);
|
|
375
375
|
}
|
|
376
376
|
function O() {
|
|
377
|
-
|
|
377
|
+
St = D, ue = me, xt = wt, E();
|
|
378
378
|
}
|
|
379
379
|
function he(i) {
|
|
380
380
|
if (H = i, c = D, C.C)
|
|
@@ -387,7 +387,7 @@ var I, Mn = function(e) {
|
|
|
387
387
|
this.type = null, this.start = D, this.end = null;
|
|
388
388
|
}
|
|
389
389
|
function tr() {
|
|
390
|
-
this.start =
|
|
390
|
+
this.start = mt, this.end = null, vt && (this.source = vt);
|
|
391
391
|
}
|
|
392
392
|
function L() {
|
|
393
393
|
var i = new er();
|
|
@@ -398,16 +398,16 @@ var I, Mn = function(e) {
|
|
|
398
398
|
return l.start = i.start, C.C && (l.X = new tr(), l.X.start = i.X.start), C.Xa && (l.j = [i.j[0], 0]), l;
|
|
399
399
|
}
|
|
400
400
|
function k(i, l) {
|
|
401
|
-
return i.type = l, i.end = ue, C.C && (i.X.end =
|
|
401
|
+
return i.type = l, i.end = ue, C.C && (i.X.end = xt), C.Xa && (i.j[1] = ue), i;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function ct(i) {
|
|
404
404
|
return i.type === "ExpressionStatement" && i.la.type === "Literal" && i.la.value === "use strict";
|
|
405
405
|
}
|
|
406
406
|
function N(i) {
|
|
407
407
|
return S === i ? (O(), !0) : !1;
|
|
408
408
|
}
|
|
409
409
|
function Je() {
|
|
410
|
-
return !C.fc && (S ===
|
|
410
|
+
return !C.fc && (S === kt || S === Se || et.test(d.slice(ue, D)));
|
|
411
411
|
}
|
|
412
412
|
function ge() {
|
|
413
413
|
N(re) || Je() || Q();
|
|
@@ -425,10 +425,10 @@ var I, Mn = function(e) {
|
|
|
425
425
|
(S === Or || S === ye && K === "/=") && E(!0);
|
|
426
426
|
var i = S, l = L();
|
|
427
427
|
switch (i) {
|
|
428
|
-
case
|
|
428
|
+
case Et:
|
|
429
429
|
case ar:
|
|
430
430
|
O();
|
|
431
|
-
var u = i ===
|
|
431
|
+
var u = i === Et;
|
|
432
432
|
N(re) || Je() ? l.label = null : S !== we ? Q() : (l.label = q(), ge());
|
|
433
433
|
for (var p = 0; p < B.length; ++p) {
|
|
434
434
|
var x = B[p];
|
|
@@ -439,27 +439,27 @@ var I, Mn = function(e) {
|
|
|
439
439
|
case lr:
|
|
440
440
|
return O(), ge(), k(l, "DebuggerStatement");
|
|
441
441
|
case cr:
|
|
442
|
-
return O(), B.push(
|
|
442
|
+
return O(), B.push(Pt), l.body = J(), B.pop(), M(bt), l.test = be(), ge(), k(l, "DoWhileStatement");
|
|
443
443
|
case hr:
|
|
444
|
-
return O(), B.push(
|
|
445
|
-
case
|
|
446
|
-
return O(),
|
|
444
|
+
return O(), B.push(Pt), M(te), S === re ? ft(l, null) : S === At ? (i = L(), O(), nr(i, !0), k(i, "VariableDeclaration"), i.fa.length === 1 && N(Qe) ? rr(l, i) : ft(l, i)) : (i = $(!1, !0), N(Qe) ? (Ye(i), rr(l, i)) : ft(l, i));
|
|
445
|
+
case jt:
|
|
446
|
+
return O(), dt(l, !0);
|
|
447
447
|
case gr:
|
|
448
448
|
return O(), l.test = be(), l.da = J(), l.alternate = N(fr) ? J() : null, k(l, "IfStatement");
|
|
449
449
|
case dr:
|
|
450
450
|
return Ne || C.Ib || r(D, "'return' outside of function"), O(), N(re) || Je() ? l.K = null : (l.K = $(), ge()), k(l, "ReturnStatement");
|
|
451
|
-
case
|
|
451
|
+
case Ot:
|
|
452
452
|
for (O(), l.Qb = be(), l.tb = [], M(Me), B.push(xn); S !== Se; )
|
|
453
|
-
S ===
|
|
453
|
+
S === Ct || S === ur ? (i = S === Ct, p && k(p, "SwitchCase"), l.tb.push(p = L()), p.da = [], O(), i ? p.test = $() : (u && r(St, "Multiple default clauses"), u = !0, p.test = null), M(Be)) : (p || Q(), p.da.push(J()));
|
|
454
454
|
return p && k(p, "SwitchCase"), O(), B.pop(), k(l, "SwitchStatement");
|
|
455
455
|
case yr:
|
|
456
456
|
return O(), et.test(d.slice(ue, D)) && r(ue, "Illegal newline after throw"), l.K = $(), ge(), k(l, "ThrowStatement");
|
|
457
457
|
case vr:
|
|
458
458
|
return O(), l.block = Ie(), l.Ea = null, S === sr && (i = L(), O(), M(te), i.Ua = q(), H && qe(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), M(Z), i.body = Ie(), l.Ea = k(i, "CatchClause")), l.fb = N(pr) ? Ie() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), k(l, "TryStatement");
|
|
459
|
-
case Ot:
|
|
460
|
-
return O(), nr(l), ge(), k(l, "VariableDeclaration");
|
|
461
459
|
case At:
|
|
462
|
-
return O(),
|
|
460
|
+
return O(), nr(l), ge(), k(l, "VariableDeclaration");
|
|
461
|
+
case bt:
|
|
462
|
+
return O(), l.test = be(), B.push(Pt), l.body = J(), B.pop(), k(l, "WhileStatement");
|
|
463
463
|
case mr:
|
|
464
464
|
return H && r(D, "'with' in strict mode"), O(), l.object = be(), l.body = J(), k(l, "WithStatement");
|
|
465
465
|
case Me:
|
|
@@ -472,7 +472,7 @@ var I, Mn = function(e) {
|
|
|
472
472
|
B[p].name === u && r(x.start, "Label '" + u + "' is already declared");
|
|
473
473
|
return B.push({
|
|
474
474
|
name: u,
|
|
475
|
-
kind: S.W ? "loop" : S ===
|
|
475
|
+
kind: S.W ? "loop" : S === Ot ? "switch" : null
|
|
476
476
|
}), l.body = J(), B.pop(), l.label = x, k(l, "LabeledStatement");
|
|
477
477
|
}
|
|
478
478
|
return l.la = x, ge(), k(l, "ExpressionStatement");
|
|
@@ -487,7 +487,7 @@ var I, Mn = function(e) {
|
|
|
487
487
|
var l = L(), u = !0, p = !1;
|
|
488
488
|
for (l.body = [], M(Me); !N(Se); ) {
|
|
489
489
|
var x = J();
|
|
490
|
-
if (l.body.push(x), u && i &&
|
|
490
|
+
if (l.body.push(x), u && i && ct(x)) {
|
|
491
491
|
var U = p;
|
|
492
492
|
he(p = !0);
|
|
493
493
|
}
|
|
@@ -495,7 +495,7 @@ var I, Mn = function(e) {
|
|
|
495
495
|
}
|
|
496
496
|
return p && !U && he(!1), k(l, "BlockStatement");
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function ft(i, l) {
|
|
499
499
|
return i.ua = l, M(re), i.test = S === re ? null : $(), M(re), i.update = S === Z ? null : $(), M(Z), i.body = J(), B.pop(), k(i, "ForStatement");
|
|
500
500
|
}
|
|
501
501
|
function rr(i, l) {
|
|
@@ -509,34 +509,34 @@ var I, Mn = function(e) {
|
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
function $(i, l) {
|
|
512
|
-
var u =
|
|
512
|
+
var u = pt(l);
|
|
513
513
|
if (!i && S === ce) {
|
|
514
514
|
for (i = le(u), i.xb = [u]; N(ce); )
|
|
515
|
-
i.xb.push(
|
|
515
|
+
i.xb.push(pt(l));
|
|
516
516
|
return k(i, "SequenceExpression");
|
|
517
517
|
}
|
|
518
518
|
return u;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var l =
|
|
520
|
+
function pt(i) {
|
|
521
|
+
var l = ht(gt(), -1, i);
|
|
522
522
|
if (N(jr)) {
|
|
523
523
|
var u = le(l);
|
|
524
524
|
u.test = l, u.da = $(!0), M(Be), u.alternate = $(!0, i), l = k(u, "ConditionalExpression");
|
|
525
525
|
}
|
|
526
|
-
return S.Cb ? (u = le(l), u.operator = K, u.left = l, O(), u.right =
|
|
526
|
+
return S.Cb ? (u = le(l), u.operator = K, u.left = l, O(), u.right = pt(i), Ye(l), k(u, "AssignmentExpression")) : l;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function ht(i, l, u) {
|
|
529
529
|
var p = S.L;
|
|
530
530
|
if (p !== null && (!u || S !== Qe) && p > l) {
|
|
531
531
|
var x = le(i);
|
|
532
|
-
return x.left = i, x.operator = K, i = S, O(), x.right =
|
|
532
|
+
return x.left = i, x.operator = K, i = S, O(), x.right = ht(gt(), p, u), p = k(x, i === Ir || i === Tr ? "LogicalExpression" : "BinaryExpression"), ht(p, l, u);
|
|
533
533
|
}
|
|
534
534
|
return i;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function gt() {
|
|
537
537
|
if (S.prefix) {
|
|
538
538
|
var i = L(), l = S.$b;
|
|
539
|
-
return i.operator = K, Pe = i.prefix = !0, O(), i.K =
|
|
539
|
+
return i.operator = K, Pe = i.prefix = !0, O(), i.K = gt(), l ? Ye(i.K) : H && i.operator === "delete" && i.K.type === "Identifier" && r(i.start, "Deleting local variable in strict mode"), k(i, l ? "UpdateExpression" : "UnaryExpression");
|
|
540
540
|
}
|
|
541
541
|
for (l = Te(Ze()); S.cc && !Je(); )
|
|
542
542
|
i = le(l), i.operator = K, i.prefix = !1, i.K = l, Ye(l), O(), l = k(i, "UpdateExpression");
|
|
@@ -547,7 +547,7 @@ var I, Mn = function(e) {
|
|
|
547
547
|
var u = le(i);
|
|
548
548
|
return u.object = i, u.Wa = q(!0), u.bb = !1, Te(k(u, "MemberExpression"), l);
|
|
549
549
|
}
|
|
550
|
-
return N(
|
|
550
|
+
return N(It) ? (u = le(i), u.object = i, u.Wa = $(), u.bb = !0, M(Tt), Te(k(u, "MemberExpression"), l)) : !l && N(te) ? (u = le(i), u.callee = i, u.arguments = yt(Z, !1), Te(k(u, "CallExpression"), l)) : i;
|
|
551
551
|
}
|
|
552
552
|
function Ze() {
|
|
553
553
|
switch (S) {
|
|
@@ -565,13 +565,13 @@ var I, Mn = function(e) {
|
|
|
565
565
|
case Er:
|
|
566
566
|
return i = L(), i.value = S.$a, i.raw = S.l, O(), k(i, "Literal");
|
|
567
567
|
case te:
|
|
568
|
-
i =
|
|
568
|
+
i = mt;
|
|
569
569
|
var l = D;
|
|
570
570
|
O();
|
|
571
571
|
var u = $();
|
|
572
|
-
return u.start = l, u.end = me, C.C && (u.X.start = i, u.X.end =
|
|
573
|
-
case
|
|
574
|
-
return i = L(), O(), i.elements =
|
|
572
|
+
return u.start = l, u.end = me, C.C && (u.X.start = i, u.X.end = wt), C.Xa && (u.j = [l, me]), M(Z), u;
|
|
573
|
+
case It:
|
|
574
|
+
return i = L(), O(), i.elements = yt(Tt, !0, !0), k(i, "ArrayExpression");
|
|
575
575
|
case Me:
|
|
576
576
|
for (i = L(), l = !0, u = !1, i.h = [], O(); !N(Se); ) {
|
|
577
577
|
if (l)
|
|
@@ -585,33 +585,33 @@ var I, Mn = function(e) {
|
|
|
585
585
|
p.value = $(!0);
|
|
586
586
|
var U = p.kind = "init";
|
|
587
587
|
} else
|
|
588
|
-
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? Q() : (x = u = !0, U = p.kind = p.key.name, p.key = S === Re || S === ze ? Ze() : q(!0), S !== te && Q(), p.value =
|
|
588
|
+
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? Q() : (x = u = !0, U = p.kind = p.key.name, p.key = S === Re || S === ze ? Ze() : q(!0), S !== te && Q(), p.value = dt(L(), !1));
|
|
589
589
|
if (p.key.type === "Identifier" && (H || u))
|
|
590
590
|
for (var G = 0; G < i.h.length; ++G) {
|
|
591
591
|
var ke = i.h[G];
|
|
592
592
|
if (ke.key.name === p.key.name) {
|
|
593
|
-
var
|
|
594
|
-
|
|
593
|
+
var Nt = U === ke.kind || x && ke.kind === "init" || U === "init" && (ke.kind === "get" || ke.kind === "set");
|
|
594
|
+
Nt && !H && U === "init" && ke.kind === "init" && (Nt = !1), Nt && r(p.key.start, "Redefinition of property");
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
i.h.push(p);
|
|
598
598
|
}
|
|
599
599
|
return k(i, "ObjectExpression");
|
|
600
|
-
case
|
|
601
|
-
return i = L(), O(),
|
|
600
|
+
case jt:
|
|
601
|
+
return i = L(), O(), dt(i, !1);
|
|
602
602
|
case wr:
|
|
603
|
-
return i = L(), O(), i.callee = Te(Ze(), !0), i.arguments = N(te) ?
|
|
603
|
+
return i = L(), O(), i.callee = Te(Ze(), !0), i.arguments = N(te) ? yt(Z, !1) : sn, k(i, "NewExpression");
|
|
604
604
|
}
|
|
605
605
|
Q();
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function dt(i, l) {
|
|
608
608
|
S === we ? i.id = q() : l ? Q() : i.id = null, i.oa = [];
|
|
609
609
|
var u = !0;
|
|
610
610
|
for (M(te); !N(Z); )
|
|
611
611
|
u ? u = !1 : M(ce), i.oa.push(q());
|
|
612
612
|
u = Ne;
|
|
613
613
|
var p = B;
|
|
614
|
-
if (Ne = !0, B = [], i.body = Ie(!0), Ne = u, B = p, H || i.body.body.length &&
|
|
614
|
+
if (Ne = !0, B = [], i.body = Ie(!0), Ne = u, B = p, H || i.body.body.length && ct(i.body.body[0])) {
|
|
615
615
|
for (u = i.id ? -1 : 0; u < i.oa.length; ++u)
|
|
616
616
|
if (p = 0 > u ? i.id : i.oa[u], (Pr(p.name) || qe(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= u)
|
|
617
617
|
for (var x = 0; x < u; ++x)
|
|
@@ -619,7 +619,7 @@ var I, Mn = function(e) {
|
|
|
619
619
|
}
|
|
620
620
|
return k(i, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function yt(i, l, u) {
|
|
623
623
|
for (var p = [], x = !0; !N(i); ) {
|
|
624
624
|
if (x)
|
|
625
625
|
x = !1;
|
|
@@ -634,13 +634,13 @@ var I, Mn = function(e) {
|
|
|
634
634
|
return i && C.yb === "everywhere" && (i = !1), S === we ? (!i && (C.yb && vn(K) || H && Pr(K)) && d.slice(D, me).indexOf("\\") === -1 && r(D, "The keyword '" + K + "' is reserved"), l.name = K) : i && S.l ? l.name = S.l : Q(), Pe = !1, O(), k(l, "Identifier");
|
|
635
635
|
}
|
|
636
636
|
e.version = "0.5.0";
|
|
637
|
-
var C, d = "", ve,
|
|
637
|
+
var C, d = "", ve, vt;
|
|
638
638
|
e.parse = function(i, l) {
|
|
639
639
|
d = String(i), ve = d.length, C = l || {};
|
|
640
640
|
for (var u in or)
|
|
641
641
|
Object.prototype.hasOwnProperty.call(C, u) || (C[u] = or[u]);
|
|
642
|
-
for (
|
|
643
|
-
u = J(), i.body.push(u), l &&
|
|
642
|
+
for (vt = C.sourceFile, de = 1, c = ee = 0, Pe = !0, g(), u = C.dc, St = ue = c, C.C && (xt = new s()), Ne = H = !1, B = [], E(), i = u || L(), l = !0, u || (i.body = []); S !== kt; )
|
|
643
|
+
u = J(), i.body.push(u), l && ct(u) && he(!0), l = !1;
|
|
644
644
|
return k(i, "Program");
|
|
645
645
|
};
|
|
646
646
|
var or = {
|
|
@@ -654,7 +654,7 @@ var I, Mn = function(e) {
|
|
|
654
654
|
dc: null,
|
|
655
655
|
sourceFile: null,
|
|
656
656
|
vb: null
|
|
657
|
-
}, c = 0, D = 0, me = 0,
|
|
657
|
+
}, c = 0, D = 0, me = 0, mt, wt, S, K, Pe, de, ee, St = 0, ue = 0, xt, Ne, B, H, sn = [], Re = {
|
|
658
658
|
type: "num"
|
|
659
659
|
}, ir = {
|
|
660
660
|
type: "regexp"
|
|
@@ -662,11 +662,11 @@ var I, Mn = function(e) {
|
|
|
662
662
|
type: "string"
|
|
663
663
|
}, we = {
|
|
664
664
|
type: "name"
|
|
665
|
-
}, xt = {
|
|
666
|
-
type: "eof"
|
|
667
665
|
}, kt = {
|
|
668
|
-
|
|
666
|
+
type: "eof"
|
|
669
667
|
}, Et = {
|
|
668
|
+
l: "break"
|
|
669
|
+
}, Ct = {
|
|
670
670
|
l: "case",
|
|
671
671
|
m: !0
|
|
672
672
|
}, sr = {
|
|
@@ -688,23 +688,23 @@ var I, Mn = function(e) {
|
|
|
688
688
|
}, hr = {
|
|
689
689
|
l: "for",
|
|
690
690
|
W: !0
|
|
691
|
-
},
|
|
691
|
+
}, jt = {
|
|
692
692
|
l: "function"
|
|
693
693
|
}, gr = {
|
|
694
694
|
l: "if"
|
|
695
695
|
}, dr = {
|
|
696
696
|
l: "return",
|
|
697
697
|
m: !0
|
|
698
|
-
},
|
|
698
|
+
}, Ot = {
|
|
699
699
|
l: "switch"
|
|
700
700
|
}, yr = {
|
|
701
701
|
l: "throw",
|
|
702
702
|
m: !0
|
|
703
703
|
}, vr = {
|
|
704
704
|
l: "try"
|
|
705
|
-
}, Ot = {
|
|
706
|
-
l: "var"
|
|
707
705
|
}, At = {
|
|
706
|
+
l: "var"
|
|
707
|
+
}, bt = {
|
|
708
708
|
l: "while",
|
|
709
709
|
W: !0
|
|
710
710
|
}, mr = {
|
|
@@ -728,8 +728,8 @@ var I, Mn = function(e) {
|
|
|
728
728
|
L: 7,
|
|
729
729
|
m: !0
|
|
730
730
|
}, an = {
|
|
731
|
-
break:
|
|
732
|
-
case:
|
|
731
|
+
break: Et,
|
|
732
|
+
case: Ct,
|
|
733
733
|
catch: sr,
|
|
734
734
|
continue: ar,
|
|
735
735
|
debugger: lr,
|
|
@@ -738,14 +738,14 @@ var I, Mn = function(e) {
|
|
|
738
738
|
else: fr,
|
|
739
739
|
finally: pr,
|
|
740
740
|
for: hr,
|
|
741
|
-
function:
|
|
741
|
+
function: jt,
|
|
742
742
|
if: gr,
|
|
743
743
|
return: dr,
|
|
744
|
-
switch:
|
|
744
|
+
switch: Ot,
|
|
745
745
|
throw: yr,
|
|
746
746
|
try: vr,
|
|
747
|
-
var:
|
|
748
|
-
while:
|
|
747
|
+
var: At,
|
|
748
|
+
while: bt,
|
|
749
749
|
with: mr,
|
|
750
750
|
null: xr,
|
|
751
751
|
true: kr,
|
|
@@ -773,10 +773,10 @@ var I, Mn = function(e) {
|
|
|
773
773
|
prefix: !0,
|
|
774
774
|
m: !0
|
|
775
775
|
}
|
|
776
|
-
},
|
|
776
|
+
}, It = {
|
|
777
777
|
type: "[",
|
|
778
778
|
m: !0
|
|
779
|
-
},
|
|
779
|
+
}, Tt = {
|
|
780
780
|
type: "]"
|
|
781
781
|
}, Me = {
|
|
782
782
|
type: "{",
|
|
@@ -849,13 +849,13 @@ var I, Mn = function(e) {
|
|
|
849
849
|
}, yn = {
|
|
850
850
|
L: 10,
|
|
851
851
|
m: !0
|
|
852
|
-
}, vn = o("class enum extends super const export import"), Pr = o("implements interface let package private protected public static yield"), qe = o("eval arguments"), mn = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), wn = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Nr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Sn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), et = /[\n\r\u2028\u2029]/, tt = /\r\n|[\n\r\u2028\u2029]/g, xe,
|
|
852
|
+
}, vn = o("class enum extends super const export import"), Pr = o("implements interface let package private protected public static yield"), qe = o("eval arguments"), mn = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), wn = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Nr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Sn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), et = /[\n\r\u2028\u2029]/, tt = /\r\n|[\n\r\u2028\u2029]/g, xe, Pt = {
|
|
853
853
|
kind: "loop"
|
|
854
854
|
}, xn = {
|
|
855
855
|
kind: "switch"
|
|
856
856
|
};
|
|
857
|
-
},
|
|
858
|
-
Mn(
|
|
857
|
+
}, Ft = Ft = typeof globalThis == "undefined" ? void 0 : globalThis;
|
|
858
|
+
Mn(Ft.j || (Ft.j = {}));
|
|
859
859
|
function h(e, t) {
|
|
860
860
|
typeof e == "string" && (e = je(e, "code"));
|
|
861
861
|
var n = e.constructor;
|
|
@@ -871,13 +871,13 @@ function h(e, t) {
|
|
|
871
871
|
var s, a;
|
|
872
872
|
for (a in this)
|
|
873
873
|
typeof this[a] == "function" && (s = a.match(e)) && (this.rb[s[1]] = this[a].bind(this));
|
|
874
|
-
this.N =
|
|
874
|
+
this.N = _t(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
|
|
875
875
|
`), "polyfills"), this.ba = void 0, st(this.ra), s = new v(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = r, s = new v(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
|
|
876
876
|
}
|
|
877
877
|
var Mr = {
|
|
878
878
|
C: !0,
|
|
879
879
|
kc: 5
|
|
880
|
-
},
|
|
880
|
+
}, Wt = {
|
|
881
881
|
configurable: !0,
|
|
882
882
|
enumerable: !0,
|
|
883
883
|
writable: !1
|
|
@@ -906,7 +906,7 @@ var Mr = {
|
|
|
906
906
|
}, Ee = {
|
|
907
907
|
REGEXP_TIMEOUT: !0
|
|
908
908
|
}, Dr = [], ie = null, We = null, fe = typeof globalThis == "undefined" ? void 0 : globalThis, Bn = ["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();", "};"];
|
|
909
|
-
function
|
|
909
|
+
function $t(e) {
|
|
910
910
|
var t = e >>> 0;
|
|
911
911
|
return t === Number(e) ? t : NaN;
|
|
912
912
|
}
|
|
@@ -988,7 +988,7 @@ I.Eb = function() {
|
|
|
988
988
|
return this.za;
|
|
989
989
|
};
|
|
990
990
|
function Dn(e, t) {
|
|
991
|
-
e.g(t, "NaN", NaN, De), e.g(t, "Infinity", 1 / 0, De), e.g(t, "undefined", void 0, De), e.g(t, "window", t,
|
|
991
|
+
e.g(t, "NaN", NaN, De), e.g(t, "Infinity", 1 / 0, De), e.g(t, "undefined", void 0, De), e.g(t, "window", t, Wt), e.g(t, "this", t, De), e.g(t, "self", t), e.M = new A(null), e.Z = new A(e.M), Un(e, t), Fn(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Ln(e, t), _n(e, t), Wn(e, t), $n(e, t), Gn(e, t), Vn(e, t), Xn(e, t), Hn(e, t), Kn(e, t);
|
|
992
992
|
var n = e.i(function() {
|
|
993
993
|
throw EvalError("Can't happen");
|
|
994
994
|
}, !1);
|
|
@@ -1030,7 +1030,7 @@ function Un(e, t) {
|
|
|
1030
1030
|
} catch (E) {
|
|
1031
1031
|
m(e, e.T, "Invalid code: " + E.message);
|
|
1032
1032
|
}
|
|
1033
|
-
return j.body.length !== 1 && m(e, e.T, "Invalid code in function body"),
|
|
1033
|
+
return j.body.length !== 1 && m(e, e.T, "Invalid code in function body"), Xt(e, j.body[0].la, e.N, "anonymous");
|
|
1034
1034
|
};
|
|
1035
1035
|
e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
|
|
1036
1036
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, X), e.Z.H = "Function", r = function(o, s) {
|
|
@@ -1097,7 +1097,7 @@ function Ln(e, t) {
|
|
|
1097
1097
|
var n = function(r) {
|
|
1098
1098
|
var o = ae(e) ? this : Oe(e), s = arguments[0];
|
|
1099
1099
|
if (arguments.length === 1 && typeof s == "number")
|
|
1100
|
-
isNaN(
|
|
1100
|
+
isNaN($t(s)) && m(e, e.ob, "Invalid array length: " + s), o.h.length = s;
|
|
1101
1101
|
else {
|
|
1102
1102
|
for (s = 0; s < arguments.length; s++)
|
|
1103
1103
|
o.h[s] = arguments[s];
|
|
@@ -1274,7 +1274,7 @@ function Vn(e, t) {
|
|
|
1274
1274
|
} catch (f) {
|
|
1275
1275
|
m(e, e.T, f.message);
|
|
1276
1276
|
}
|
|
1277
|
-
return
|
|
1277
|
+
return Gt(e, s, a), s;
|
|
1278
1278
|
};
|
|
1279
1279
|
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, X), e.g(e.I.h.prototype, "ignoreCase", void 0, X), e.g(e.I.h.prototype, "multiline", void 0, X), e.g(e.I.h.prototype, "source", "(?:)", X), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1280
1280
|
function s(E) {
|
|
@@ -1305,13 +1305,13 @@ function Xn(e, t) {
|
|
|
1305
1305
|
function n(r) {
|
|
1306
1306
|
var o = e.i(function(s) {
|
|
1307
1307
|
var a = ae(e) ? this : e.Aa(o);
|
|
1308
|
-
return
|
|
1308
|
+
return Lt(e, a, s), a;
|
|
1309
1309
|
}, !0);
|
|
1310
1310
|
return e.g(o, "prototype", e.Aa(e.D), y), e.g(o.h.prototype, "name", r, y), e.g(t, r, o, y), o;
|
|
1311
1311
|
}
|
|
1312
1312
|
e.D = e.i(function(r) {
|
|
1313
1313
|
var o = ae(e) ? this : e.Aa(e.D);
|
|
1314
|
-
return
|
|
1314
|
+
return Lt(e, o, r), o;
|
|
1315
1315
|
}, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1316
1316
|
}
|
|
1317
1317
|
function Hn(e, t) {
|
|
@@ -1356,10 +1356,10 @@ function _(e, t, n) {
|
|
|
1356
1356
|
}
|
|
1357
1357
|
return !1;
|
|
1358
1358
|
}
|
|
1359
|
-
function
|
|
1359
|
+
function Gt(e, t, n) {
|
|
1360
1360
|
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, X), e.g(t, "global", n.global, X), e.g(t, "ignoreCase", n.ignoreCase, X), e.g(t, "multiline", n.multiline, X);
|
|
1361
1361
|
}
|
|
1362
|
-
function
|
|
1362
|
+
function Lt(e, t, n) {
|
|
1363
1363
|
n && e.g(t, "message", String(n), y), n = [];
|
|
1364
1364
|
for (var r = e.o.length - 1; 0 <= r; r--) {
|
|
1365
1365
|
var o = e.o[r], s = o.node;
|
|
@@ -1438,19 +1438,19 @@ function Oe(e) {
|
|
|
1438
1438
|
writable: !0
|
|
1439
1439
|
}), t.H = "Array", t;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function Vt(e, t, n) {
|
|
1442
1442
|
var r = e.s(e.Z);
|
|
1443
1443
|
return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, X), r.H = "Function", r;
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1446
|
-
var o =
|
|
1445
|
+
function Xt(e, t, n, r) {
|
|
1446
|
+
var o = Vt(e, t.oa.length, !0);
|
|
1447
1447
|
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", X), o;
|
|
1448
1448
|
}
|
|
1449
1449
|
I.i = function(e, t) {
|
|
1450
|
-
return t =
|
|
1450
|
+
return t = Vt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, X), t;
|
|
1451
1451
|
};
|
|
1452
1452
|
I.ub = function(e) {
|
|
1453
|
-
var t =
|
|
1453
|
+
var t = Vt(this, e.length, !0);
|
|
1454
1454
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, X), t;
|
|
1455
1455
|
};
|
|
1456
1456
|
I.Ia = function(e) {
|
|
@@ -1460,7 +1460,7 @@ I.Ia = function(e) {
|
|
|
1460
1460
|
return e;
|
|
1461
1461
|
if (e instanceof RegExp) {
|
|
1462
1462
|
var t = this.s(this.Ma);
|
|
1463
|
-
return
|
|
1463
|
+
return Gt(this, t, e), t;
|
|
1464
1464
|
}
|
|
1465
1465
|
if (e instanceof Date)
|
|
1466
1466
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1523,7 +1523,7 @@ function Zr(e, t) {
|
|
|
1523
1523
|
var n = [], r;
|
|
1524
1524
|
for (r in t.h)
|
|
1525
1525
|
n[r] = e.G(t, r);
|
|
1526
|
-
return n.length =
|
|
1526
|
+
return n.length = $t(e.G(t, "length")) || 0, n;
|
|
1527
1527
|
}
|
|
1528
1528
|
function se(e, t) {
|
|
1529
1529
|
switch (typeof t) {
|
|
@@ -1576,7 +1576,7 @@ I.g = function(e, t, n, r) {
|
|
|
1576
1576
|
if (t = String(t), e != null || m(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1577
1577
|
throw TypeError("Expecting native value or pseudo object");
|
|
1578
1578
|
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && m(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1579
|
-
var o = !this.o ||
|
|
1579
|
+
var o = !this.o || Ht(this).S;
|
|
1580
1580
|
if (e instanceof A) {
|
|
1581
1581
|
if (_(this, e, this.J)) {
|
|
1582
1582
|
var s = $e(t);
|
|
@@ -1592,7 +1592,7 @@ I.g = function(e, t, n, r) {
|
|
|
1592
1592
|
return;
|
|
1593
1593
|
n = r.value;
|
|
1594
1594
|
}
|
|
1595
|
-
if (n =
|
|
1595
|
+
if (n = $t(n), isNaN(n) && m(this, this.ob, "Invalid array length"), n < s)
|
|
1596
1596
|
for (a in e.h) {
|
|
1597
1597
|
var a = $e(a);
|
|
1598
1598
|
!isNaN(a) && n <= a && delete e.h[a];
|
|
@@ -1644,12 +1644,12 @@ function F(e, t, n, r) {
|
|
|
1644
1644
|
function _e(e, t, n, r) {
|
|
1645
1645
|
e.g(t.h.prototype, n, e.ub(r), y);
|
|
1646
1646
|
}
|
|
1647
|
-
function
|
|
1647
|
+
function Ht(e) {
|
|
1648
1648
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1649
1649
|
throw Error("No scope found");
|
|
1650
1650
|
return e;
|
|
1651
1651
|
}
|
|
1652
|
-
function
|
|
1652
|
+
function _t(e, t, n) {
|
|
1653
1653
|
var r = !1;
|
|
1654
1654
|
if (n && n.S)
|
|
1655
1655
|
r = !0;
|
|
@@ -1659,13 +1659,13 @@ function Lt(e, t, n) {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
return o = e.s(null), r = new qr(n, r, o), n || Dn(e, r.object), Xe(e, t, r), r;
|
|
1661
1661
|
}
|
|
1662
|
-
function
|
|
1662
|
+
function Kt(e, t, n) {
|
|
1663
1663
|
if (!t)
|
|
1664
1664
|
throw Error("parentScope required");
|
|
1665
1665
|
return e = n || e.s(null), new qr(t, t.S, e);
|
|
1666
1666
|
}
|
|
1667
|
-
function
|
|
1668
|
-
for (var n =
|
|
1667
|
+
function Jt(e, t) {
|
|
1668
|
+
for (var n = Ht(e); n && n !== e.N; ) {
|
|
1669
1669
|
if (t in n.object.h)
|
|
1670
1670
|
return n.object.h[t];
|
|
1671
1671
|
n = n.Va;
|
|
@@ -1675,7 +1675,7 @@ function Kt(e, t) {
|
|
|
1675
1675
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || m(e, e.pb, t + " is not defined");
|
|
1676
1676
|
}
|
|
1677
1677
|
function zr(e, t, n) {
|
|
1678
|
-
for (var r =
|
|
1678
|
+
for (var r = Ht(e), o = r.S; r && r !== e.N; ) {
|
|
1679
1679
|
if (t in r.object.h) {
|
|
1680
1680
|
try {
|
|
1681
1681
|
r.object.h[t] = n;
|
|
@@ -1736,20 +1736,20 @@ function Xe(e, t, n) {
|
|
|
1736
1736
|
t.jb = r;
|
|
1737
1737
|
}
|
|
1738
1738
|
for (a in r)
|
|
1739
|
-
r[a] === !0 ? e.g(n.object, a, void 0, Br) : e.g(n.object, a,
|
|
1739
|
+
r[a] === !0 ? e.g(n.object, a, void 0, Br) : e.g(n.object, a, Xt(e, r[a], n), Br);
|
|
1740
1740
|
return r;
|
|
1741
1741
|
}
|
|
1742
1742
|
function ae(e) {
|
|
1743
1743
|
return e.o[e.o.length - 1].isConstructor;
|
|
1744
1744
|
}
|
|
1745
|
-
function
|
|
1746
|
-
return t[0] === Ae ?
|
|
1745
|
+
function Yt(e, t) {
|
|
1746
|
+
return t[0] === Ae ? Jt(e, t[1]) : e.G(t[0], t[1]);
|
|
1747
1747
|
}
|
|
1748
|
-
function
|
|
1748
|
+
function Zt(e, t, n) {
|
|
1749
1749
|
return t[0] === Ae ? zr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1750
1750
|
}
|
|
1751
1751
|
function m(e, t, n) {
|
|
1752
|
-
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t),
|
|
1752
|
+
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t), Lt(e, t, n)), He(e, 4, t), Yr) : n === void 0 ? t : n;
|
|
1753
1753
|
}
|
|
1754
1754
|
function He(e, t, n, r) {
|
|
1755
1755
|
if (t === 0)
|
|
@@ -1863,14 +1863,14 @@ function Ke(e, t, n) {
|
|
|
1863
1863
|
var r = e.ya();
|
|
1864
1864
|
return r.type = "CallExpression", e = new v(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function zt(e, t, n, r) {
|
|
1867
1867
|
if (!e.Ka)
|
|
1868
1868
|
throw Error("Unexpected call to createSetter");
|
|
1869
1869
|
e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
|
|
1870
1870
|
var o = e.ya();
|
|
1871
1871
|
return o.type = "CallExpression", e = new v(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1873
|
+
function Mt(e, t) {
|
|
1874
1874
|
return t == null ? e.Na : t instanceof A ? t : (e = e.s(se(e, t)), e.data = t, e);
|
|
1875
1875
|
}
|
|
1876
1876
|
I.Xb = function() {
|
|
@@ -1964,7 +1964,7 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
1964
1964
|
if (!t.ja)
|
|
1965
1965
|
return t.ja = !0, t = new v(n.left, t.scope), t.sa = !0, t;
|
|
1966
1966
|
if (!t.Da)
|
|
1967
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e =
|
|
1967
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Yt(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, Ke(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new v(n.right, t.scope));
|
|
1968
1968
|
if (t.ta)
|
|
1969
1969
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1970
1970
|
else {
|
|
@@ -2009,8 +2009,8 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2009
2009
|
default:
|
|
2010
2010
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
2011
2011
|
}
|
|
2012
|
-
if (n =
|
|
2013
|
-
return t.ta = !0, t.ib = r,
|
|
2012
|
+
if (n = Zt(this, t.Fa, r))
|
|
2013
|
+
return t.ta = !0, t.ib = r, zt(this, n, t.Fa, r);
|
|
2014
2014
|
e.pop(), e[e.length - 1].value = r;
|
|
2015
2015
|
}
|
|
2016
2016
|
};
|
|
@@ -2110,7 +2110,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2110
2110
|
t.ia = 2;
|
|
2111
2111
|
var o = t.value;
|
|
2112
2112
|
if (Array.isArray(o)) {
|
|
2113
|
-
if (t.U =
|
|
2113
|
+
if (t.U = Yt(this, o), o[0] === Ae ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2114
2114
|
return t.ia = 1, Ke(this, o, t.value);
|
|
2115
2115
|
} else
|
|
2116
2116
|
t.U = o;
|
|
@@ -2134,11 +2134,11 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2134
2134
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2135
2135
|
else {
|
|
2136
2136
|
if (t.eb = !0, o instanceof A || m(this, this.j, V(this, n.callee) + " is not a function"), e = o.node) {
|
|
2137
|
-
for (n =
|
|
2137
|
+
for (n = _t(this, e.body, o.Va), r = Oe(this), o = 0; o < t.F.length; o++)
|
|
2138
2138
|
this.g(r, o, t.F[o]);
|
|
2139
2139
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2140
2140
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2141
|
-
return n.S || (t.B =
|
|
2141
|
+
return n.S || (t.B = Mt(this, t.B)), this.g(n.object, "this", t.B, Wt), t.value = void 0, new v(e.body, n);
|
|
2142
2142
|
}
|
|
2143
2143
|
if (o.eval)
|
|
2144
2144
|
if (o = t.F[0], typeof o != "string")
|
|
@@ -2149,15 +2149,15 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2149
2149
|
} catch (f) {
|
|
2150
2150
|
m(this, this.T, "Invalid code: " + f.message);
|
|
2151
2151
|
}
|
|
2152
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, st(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n =
|
|
2152
|
+
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, st(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = _t(this, r, n) : Xe(this, r, n), this.value = void 0, new v(o, n);
|
|
2153
2153
|
}
|
|
2154
2154
|
else if (o.Ta)
|
|
2155
|
-
t.scope.S || (t.B =
|
|
2155
|
+
t.scope.S || (t.B = Mt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
2156
2156
|
else if (o.Za) {
|
|
2157
2157
|
var a = this;
|
|
2158
2158
|
r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(f) {
|
|
2159
2159
|
t.value = f, a.za = !1;
|
|
2160
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2160
|
+
}), this.za = !0, t.scope.S || (t.B = Mt(this, t.B)), o.Za.apply(t.B, r);
|
|
2161
2161
|
} else
|
|
2162
2162
|
m(this, this.j, V(this, n.callee) + " is not callable");
|
|
2163
2163
|
}
|
|
@@ -2238,8 +2238,8 @@ h.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2238
2238
|
t.pa = [Ae, e.fa[0].id.name];
|
|
2239
2239
|
else
|
|
2240
2240
|
return t.pa = null, t = new v(e, t.scope), t.sa = !0, t;
|
|
2241
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r =
|
|
2242
|
-
return
|
|
2241
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Zt(this, t.pa, e)))
|
|
2242
|
+
return zt(this, r, t.pa, e);
|
|
2243
2243
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
|
|
2244
2244
|
return new v(n.body, t.scope);
|
|
2245
2245
|
};
|
|
@@ -2268,13 +2268,13 @@ h.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2268
2268
|
e.pop();
|
|
2269
2269
|
};
|
|
2270
2270
|
h.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2271
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e =
|
|
2271
|
+
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Kt(this, e)), t.value = Xt(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Wt);
|
|
2272
2272
|
};
|
|
2273
2273
|
h.prototype.stepIdentifier = function(e, t, n) {
|
|
2274
2274
|
if (e.pop(), t.sa)
|
|
2275
2275
|
e[e.length - 1].value = [Ae, n.name];
|
|
2276
2276
|
else {
|
|
2277
|
-
if (t =
|
|
2277
|
+
if (t = Jt(this, n.name), this.P)
|
|
2278
2278
|
return Ke(this, t, this.Na);
|
|
2279
2279
|
e[e.length - 1].value = t;
|
|
2280
2280
|
}
|
|
@@ -2284,7 +2284,7 @@ h.prototype.stepLabeledStatement = function(e, t, n) {
|
|
|
2284
2284
|
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new v(n.body, t.scope), t.labels = e, t;
|
|
2285
2285
|
};
|
|
2286
2286
|
h.prototype.stepLiteral = function(e, t, n) {
|
|
2287
|
-
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma),
|
|
2287
|
+
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Gt(this, n, t), t = n), e[e.length - 1].value = t;
|
|
2288
2288
|
};
|
|
2289
2289
|
h.prototype.stepLogicalExpression = function(e, t, n) {
|
|
2290
2290
|
if (n.operator !== "&&" && n.operator !== "||")
|
|
@@ -2387,7 +2387,7 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
};
|
|
2389
2389
|
h.prototype.stepThisExpression = function(e) {
|
|
2390
|
-
e.pop(), e[e.length - 1].value =
|
|
2390
|
+
e.pop(), e[e.length - 1].value = Jt(this, "this");
|
|
2391
2391
|
};
|
|
2392
2392
|
h.prototype.stepThrowStatement = function(e, t, n) {
|
|
2393
2393
|
if (t.ka)
|
|
@@ -2399,7 +2399,7 @@ h.prototype.stepTryStatement = function(e, t, n) {
|
|
|
2399
2399
|
if (!t.Rb)
|
|
2400
2400
|
return t.Rb = !0, new v(n.block, t.scope);
|
|
2401
2401
|
if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
|
|
2402
|
-
return t.Tb = !0, e =
|
|
2402
|
+
return t.Tb = !0, e = Kt(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new v(n.Ea.body, e);
|
|
2403
2403
|
if (!t.Sb && n.fb)
|
|
2404
2404
|
return t.Sb = !0, new v(n.fb, t.scope);
|
|
2405
2405
|
e.pop(), t.ea && He(this, t.ea.type, t.ea.value, t.ea.label);
|
|
@@ -2449,7 +2449,7 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2449
2449
|
if (!t.ja)
|
|
2450
2450
|
return t.ja = !0, e = new v(n.K, t.scope), e.sa = !0, e;
|
|
2451
2451
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2452
|
-
var r =
|
|
2452
|
+
var r = Yt(this, t.Ga);
|
|
2453
2453
|
if (t.ma = r, this.P)
|
|
2454
2454
|
return t.Ba = !0, Ke(this, r, t.Ga);
|
|
2455
2455
|
}
|
|
@@ -2462,8 +2462,8 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2462
2462
|
o = r - 1;
|
|
2463
2463
|
else
|
|
2464
2464
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
2465
|
-
if (n = n.prefix ? o : r, r =
|
|
2466
|
-
return t.ta = !0, t.ib = n,
|
|
2465
|
+
if (n = n.prefix ? o : r, r = Zt(this, t.Ga, o))
|
|
2466
|
+
return t.ta = !0, t.ib = n, zt(this, r, t.Ga, o);
|
|
2467
2467
|
e.pop(), e[e.length - 1].value = n;
|
|
2468
2468
|
}
|
|
2469
2469
|
};
|
|
@@ -2478,7 +2478,7 @@ h.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
|
2478
2478
|
e.pop();
|
|
2479
2479
|
};
|
|
2480
2480
|
h.prototype.stepWithStatement = function(e, t, n) {
|
|
2481
|
-
return t.Ca ? (e.pop(), e =
|
|
2481
|
+
return t.Ca ? (e.pop(), e = Kt(this, t.scope, t.value), new v(n.body, e)) : (t.Ca = !0, new v(n.object, t.scope));
|
|
2482
2482
|
};
|
|
2483
2483
|
h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
|
|
2484
2484
|
fe.Interpreter = h;
|
|
@@ -2572,7 +2572,7 @@ const qn = () => {
|
|
|
2572
2572
|
return !1;
|
|
2573
2573
|
const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
|
|
2574
2574
|
return e && t && !n ? (nt.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
2575
|
-
}, eo = (e) =>
|
|
2575
|
+
}, eo = (e) => Ut() || qn() ? Rn(e) : zn(e), ne = class ne {
|
|
2576
2576
|
static getCacheKey(t) {
|
|
2577
2577
|
return JSON.stringify({
|
|
2578
2578
|
...t,
|
|
@@ -2590,9 +2590,9 @@ const qn = () => {
|
|
|
2590
2590
|
});
|
|
2591
2591
|
}
|
|
2592
2592
|
};
|
|
2593
|
-
|
|
2593
|
+
Rt(ne, "cacheLimit", 20), Rt(ne, "cache", /* @__PURE__ */ new Map());
|
|
2594
2594
|
let Ce = ne;
|
|
2595
|
-
function
|
|
2595
|
+
function Qt({
|
|
2596
2596
|
code: e,
|
|
2597
2597
|
context: t,
|
|
2598
2598
|
localState: n,
|
|
@@ -2653,7 +2653,7 @@ const to = ({
|
|
|
2653
2653
|
}
|
|
2654
2654
|
};
|
|
2655
2655
|
for (const f in e.bindings) {
|
|
2656
|
-
const g = e.bindings[f], j =
|
|
2656
|
+
const g = e.bindings[f], j = Qt({
|
|
2657
2657
|
code: g,
|
|
2658
2658
|
localState: n,
|
|
2659
2659
|
rootState: r,
|
|
@@ -2682,6 +2682,7 @@ function it({
|
|
|
2682
2682
|
context: t
|
|
2683
2683
|
}) : a;
|
|
2684
2684
|
}
|
|
2685
|
+
const lt = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
2685
2686
|
function ro(e, t, n = {}) {
|
|
2686
2687
|
let r, o, s, a = null, f = 0;
|
|
2687
2688
|
const g = function() {
|
|
@@ -2704,7 +2705,6 @@ function Ge(e, ...t) {
|
|
|
2704
2705
|
}
|
|
2705
2706
|
return n;
|
|
2706
2707
|
}
|
|
2707
|
-
const Qt = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
|
|
2708
2708
|
function no(e) {
|
|
2709
2709
|
for (const t of e)
|
|
2710
2710
|
switch (t.trigger) {
|
|
@@ -2740,7 +2740,7 @@ function io(e) {
|
|
|
2740
2740
|
}
|
|
2741
2741
|
Array.from(t).forEach((n) => {
|
|
2742
2742
|
tn(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Ge(n.style, e.steps[0].styles), setTimeout(() => {
|
|
2743
|
-
n.style.transition = `all ${e.duration}s ${
|
|
2743
|
+
n.style.transition = `all ${e.duration}s ${lt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Ge(n.style, e.steps[1].styles), setTimeout(() => {
|
|
2744
2744
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
2745
2745
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
2746
2746
|
});
|
|
@@ -2774,43 +2774,43 @@ function so(e) {
|
|
|
2774
2774
|
Ge(n.style, g);
|
|
2775
2775
|
}
|
|
2776
2776
|
j(), setTimeout(() => {
|
|
2777
|
-
n.style.transition = `all ${e.duration}s ${
|
|
2777
|
+
n.style.transition = `all ${e.duration}s ${lt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
2778
2778
|
}), document.addEventListener("scroll", a, {
|
|
2779
2779
|
capture: !0,
|
|
2780
2780
|
passive: !0
|
|
2781
2781
|
}), s();
|
|
2782
2782
|
});
|
|
2783
2783
|
}
|
|
2784
|
-
const
|
|
2784
|
+
const rn = (e) => Object.entries(e).map(([n, r]) => {
|
|
2785
2785
|
if (typeof r == "string")
|
|
2786
|
-
return `${
|
|
2787
|
-
}).filter(ot),
|
|
2786
|
+
return `${lt(n)}: ${r};`;
|
|
2787
|
+
}).filter(ot), ao = (e) => rn(e).join(`
|
|
2788
2788
|
`), rt = ({
|
|
2789
2789
|
mediaQuery: e,
|
|
2790
2790
|
className: t,
|
|
2791
2791
|
styles: n
|
|
2792
2792
|
}) => {
|
|
2793
2793
|
const r = `.${t} {
|
|
2794
|
-
${
|
|
2794
|
+
${ao(n)}
|
|
2795
2795
|
}`;
|
|
2796
2796
|
return e ? `${e} {
|
|
2797
2797
|
${r}
|
|
2798
2798
|
}` : r;
|
|
2799
2799
|
};
|
|
2800
|
-
function
|
|
2800
|
+
function lo({
|
|
2801
2801
|
style: e
|
|
2802
2802
|
}) {
|
|
2803
2803
|
return e;
|
|
2804
2804
|
}
|
|
2805
|
-
const
|
|
2805
|
+
const uo = ({
|
|
2806
2806
|
block: e,
|
|
2807
2807
|
context: t
|
|
2808
|
-
}) =>
|
|
2808
|
+
}) => co(lo({
|
|
2809
2809
|
style: e.style || {},
|
|
2810
2810
|
context: t,
|
|
2811
2811
|
block: e
|
|
2812
2812
|
}));
|
|
2813
|
-
function
|
|
2813
|
+
function co(e) {
|
|
2814
2814
|
switch (Xr) {
|
|
2815
2815
|
case "svelte":
|
|
2816
2816
|
case "vue":
|
|
@@ -2824,7 +2824,7 @@ function fo(e) {
|
|
|
2824
2824
|
return e;
|
|
2825
2825
|
}
|
|
2826
2826
|
}
|
|
2827
|
-
const
|
|
2827
|
+
const fo = ({
|
|
2828
2828
|
block: e,
|
|
2829
2829
|
context: t,
|
|
2830
2830
|
registeredComponents: n
|
|
@@ -2846,7 +2846,7 @@ const po = ({
|
|
|
2846
2846
|
console.warn(`
|
|
2847
2847
|
Could not find a registered component named "${r}".
|
|
2848
2848
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
2849
|
-
},
|
|
2849
|
+
}, po = ({
|
|
2850
2850
|
block: e,
|
|
2851
2851
|
context: t
|
|
2852
2852
|
}) => {
|
|
@@ -2856,7 +2856,7 @@ const po = ({
|
|
|
2856
2856
|
} = e;
|
|
2857
2857
|
if (!(n != null && n.collection))
|
|
2858
2858
|
return;
|
|
2859
|
-
const o =
|
|
2859
|
+
const o = Qt({
|
|
2860
2860
|
code: n.collection,
|
|
2861
2861
|
localState: t.localState,
|
|
2862
2862
|
rootState: t.rootState,
|
|
@@ -2880,7 +2880,7 @@ const po = ({
|
|
|
2880
2880
|
},
|
|
2881
2881
|
block: r
|
|
2882
2882
|
}));
|
|
2883
|
-
},
|
|
2883
|
+
}, ho = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), go = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), nn = {
|
|
2884
2884
|
small: {
|
|
2885
2885
|
min: 320,
|
|
2886
2886
|
default: 321,
|
|
@@ -2896,7 +2896,7 @@ const po = ({
|
|
|
2896
2896
|
default: 991,
|
|
2897
2897
|
max: 1200
|
|
2898
2898
|
}
|
|
2899
|
-
}, _r = (e, t = nn) => `@media (max-width: ${t[e].max}px)`,
|
|
2899
|
+
}, _r = (e, t = nn) => `@media (max-width: ${t[e].max}px)`, yo = ({
|
|
2900
2900
|
small: e,
|
|
2901
2901
|
medium: t
|
|
2902
2902
|
}) => {
|
|
@@ -2923,7 +2923,7 @@ const po = ({
|
|
|
2923
2923
|
default: s + 1
|
|
2924
2924
|
}, n;
|
|
2925
2925
|
};
|
|
2926
|
-
function
|
|
2926
|
+
function vo(e) {
|
|
2927
2927
|
return /* @__PURE__ */ T(
|
|
2928
2928
|
"style",
|
|
2929
2929
|
{
|
|
@@ -2932,7 +2932,7 @@ function mo(e) {
|
|
|
2932
2932
|
}
|
|
2933
2933
|
);
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function mo(e) {
|
|
2936
2936
|
function t() {
|
|
2937
2937
|
const r = it({
|
|
2938
2938
|
block: e.block,
|
|
@@ -2953,7 +2953,7 @@ function wo(e) {
|
|
|
2953
2953
|
rootSetState: e.context.rootSetState,
|
|
2954
2954
|
context: e.context.context,
|
|
2955
2955
|
shouldEvaluateBindings: !0
|
|
2956
|
-
}), o = r.responsiveStyles, s = e.context.content, a =
|
|
2956
|
+
}), o = r.responsiveStyles, s = e.context.content, a = yo(
|
|
2957
2957
|
((z = s == null ? void 0 : s.meta) == null ? void 0 : z.breakpoints) || {}
|
|
2958
2958
|
), f = o == null ? void 0 : o.large, g = o == null ? void 0 : o.medium, j = o == null ? void 0 : o.small, E = r.id;
|
|
2959
2959
|
if (!E)
|
|
@@ -2983,7 +2983,7 @@ function wo(e) {
|
|
|
2983
2983
|
className: `${E}:hover`,
|
|
2984
2984
|
styles: {
|
|
2985
2985
|
...he,
|
|
2986
|
-
transition: `all ${b.duration}s ${
|
|
2986
|
+
transition: `all ${b.duration}s ${lt(
|
|
2987
2987
|
b.easing
|
|
2988
2988
|
)}`,
|
|
2989
2989
|
transitionDelay: b.delay ? `${b.delay}s` : "0s"
|
|
@@ -2997,12 +2997,12 @@ function wo(e) {
|
|
|
2997
2997
|
W
|
|
2998
2998
|
].join(" ");
|
|
2999
2999
|
}
|
|
3000
|
-
return /* @__PURE__ */ T(Y, { children: n() && t() ? /* @__PURE__ */ T(Y, { children: /* @__PURE__ */ T(
|
|
3000
|
+
return /* @__PURE__ */ T(Y, { children: n() && t() ? /* @__PURE__ */ T(Y, { children: /* @__PURE__ */ T(vo, { id: "builderio-block", styles: n() }) }) : null });
|
|
3001
3001
|
}
|
|
3002
|
-
function
|
|
3002
|
+
function wo(e) {
|
|
3003
3003
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3004
3004
|
}
|
|
3005
|
-
const
|
|
3005
|
+
const So = (e) => `on${wo(e)}`, xo = (e, t) => (n) => Qt({
|
|
3006
3006
|
code: e,
|
|
3007
3007
|
context: t.context,
|
|
3008
3008
|
localState: t.localState,
|
|
@@ -3019,7 +3019,7 @@ function on(e) {
|
|
|
3019
3019
|
if (!n.hasOwnProperty(o))
|
|
3020
3020
|
continue;
|
|
3021
3021
|
const s = n[o];
|
|
3022
|
-
let a =
|
|
3022
|
+
let a = So(o);
|
|
3023
3023
|
if (e.stripPrefix)
|
|
3024
3024
|
switch (Xr) {
|
|
3025
3025
|
case "vue":
|
|
@@ -3029,16 +3029,16 @@ function on(e) {
|
|
|
3029
3029
|
a = a.replace("on:", "");
|
|
3030
3030
|
break;
|
|
3031
3031
|
}
|
|
3032
|
-
t[a] =
|
|
3032
|
+
t[a] = xo(s, e);
|
|
3033
3033
|
}
|
|
3034
3034
|
return t;
|
|
3035
3035
|
}
|
|
3036
|
-
function
|
|
3036
|
+
function ko({
|
|
3037
3037
|
properties: e
|
|
3038
3038
|
}) {
|
|
3039
3039
|
return e;
|
|
3040
3040
|
}
|
|
3041
|
-
const
|
|
3041
|
+
const Eo = (e) => ({
|
|
3042
3042
|
href: e.href
|
|
3043
3043
|
});
|
|
3044
3044
|
function qt({
|
|
@@ -3047,22 +3047,22 @@ function qt({
|
|
|
3047
3047
|
}) {
|
|
3048
3048
|
var r;
|
|
3049
3049
|
const n = {
|
|
3050
|
-
...
|
|
3050
|
+
...Eo(e),
|
|
3051
3051
|
...e.properties,
|
|
3052
3052
|
"builder-id": e.id,
|
|
3053
|
-
style:
|
|
3053
|
+
style: uo({
|
|
3054
3054
|
block: e,
|
|
3055
3055
|
context: t
|
|
3056
3056
|
}),
|
|
3057
3057
|
[An()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
|
|
3058
3058
|
};
|
|
3059
|
-
return
|
|
3059
|
+
return ko({
|
|
3060
3060
|
properties: n,
|
|
3061
3061
|
context: t,
|
|
3062
3062
|
block: e
|
|
3063
3063
|
});
|
|
3064
3064
|
}
|
|
3065
|
-
function
|
|
3065
|
+
function Co(e) {
|
|
3066
3066
|
return /* @__PURE__ */ T(
|
|
3067
3067
|
bn,
|
|
3068
3068
|
{
|
|
@@ -3083,7 +3083,7 @@ function jo(e) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
);
|
|
3085
3085
|
}
|
|
3086
|
-
function
|
|
3086
|
+
function jo(e) {
|
|
3087
3087
|
function t() {
|
|
3088
3088
|
return e.includeBlockProps ? {
|
|
3089
3089
|
...qt({
|
|
@@ -3101,7 +3101,7 @@ function Oo(e) {
|
|
|
3101
3101
|
}
|
|
3102
3102
|
return /* @__PURE__ */ T(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
|
|
3103
3103
|
}
|
|
3104
|
-
const
|
|
3104
|
+
const Oo = ({
|
|
3105
3105
|
componentOptions: e,
|
|
3106
3106
|
builderBlock: t,
|
|
3107
3107
|
context: n,
|
|
@@ -3134,12 +3134,12 @@ const Ao = ({
|
|
|
3134
3134
|
function Wr(e) {
|
|
3135
3135
|
var r;
|
|
3136
3136
|
const [t, n] = $r(
|
|
3137
|
-
() => e.isInteractive ?
|
|
3137
|
+
() => e.isInteractive ? jo : e.componentRef
|
|
3138
3138
|
);
|
|
3139
3139
|
return /* @__PURE__ */ T(Y, { children: e.componentRef ? /* @__PURE__ */ T(Y, { children: /* @__PURE__ */ T(
|
|
3140
3140
|
t,
|
|
3141
3141
|
{
|
|
3142
|
-
...
|
|
3142
|
+
...Oo({
|
|
3143
3143
|
componentOptions: e.componentOptions,
|
|
3144
3144
|
builderBlock: e.builderBlock,
|
|
3145
3145
|
context: e.context,
|
|
@@ -3150,7 +3150,7 @@ function Wr(e) {
|
|
|
3150
3150
|
contextValue: e.context
|
|
3151
3151
|
}),
|
|
3152
3152
|
children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */ T(
|
|
3153
|
-
|
|
3153
|
+
ut,
|
|
3154
3154
|
{
|
|
3155
3155
|
block: o,
|
|
3156
3156
|
context: e.context,
|
|
@@ -3162,10 +3162,10 @@ function Wr(e) {
|
|
|
3162
3162
|
}
|
|
3163
3163
|
) }) : null });
|
|
3164
3164
|
}
|
|
3165
|
-
function
|
|
3165
|
+
function Ao(e) {
|
|
3166
3166
|
const [t, n] = $r(() => e.repeatContext);
|
|
3167
3167
|
return /* @__PURE__ */ T(Gr.Provider, { value: t, children: /* @__PURE__ */ T(
|
|
3168
|
-
|
|
3168
|
+
ut,
|
|
3169
3169
|
{
|
|
3170
3170
|
block: e.block,
|
|
3171
3171
|
context: t,
|
|
@@ -3174,17 +3174,17 @@ function bo(e) {
|
|
|
3174
3174
|
}
|
|
3175
3175
|
) });
|
|
3176
3176
|
}
|
|
3177
|
-
function
|
|
3177
|
+
function ut(e) {
|
|
3178
3178
|
var g, j, E;
|
|
3179
3179
|
function t() {
|
|
3180
|
-
return
|
|
3180
|
+
return fo({
|
|
3181
3181
|
block: e.block,
|
|
3182
3182
|
context: e.context,
|
|
3183
3183
|
registeredComponents: e.registeredComponents
|
|
3184
3184
|
});
|
|
3185
3185
|
}
|
|
3186
3186
|
function n() {
|
|
3187
|
-
return
|
|
3187
|
+
return po({
|
|
3188
3188
|
block: e.block,
|
|
3189
3189
|
context: e.context
|
|
3190
3190
|
});
|
|
@@ -3223,10 +3223,10 @@ function lt(e) {
|
|
|
3223
3223
|
componentOptions: {
|
|
3224
3224
|
...Nn(r()),
|
|
3225
3225
|
builderContext: e.context,
|
|
3226
|
-
...
|
|
3226
|
+
...ho(t()) ? {
|
|
3227
3227
|
builderLinkComponent: e.linkComponent
|
|
3228
3228
|
} : {},
|
|
3229
|
-
...
|
|
3229
|
+
...go(t()) ? {
|
|
3230
3230
|
builderComponents: e.registeredComponents
|
|
3231
3231
|
} : {}
|
|
3232
3232
|
},
|
|
@@ -3246,8 +3246,8 @@ function lt(e) {
|
|
|
3246
3246
|
elementId: w
|
|
3247
3247
|
}))
|
|
3248
3248
|
);
|
|
3249
|
-
}, []), /* @__PURE__ */ T(Y, { children: s() ? /* @__PURE__ */
|
|
3250
|
-
/* @__PURE__ */ T(
|
|
3249
|
+
}, []), /* @__PURE__ */ T(Y, { children: s() ? /* @__PURE__ */ Bt(Y, { children: [
|
|
3250
|
+
/* @__PURE__ */ T(mo, { block: e.block, context: e.context }),
|
|
3251
3251
|
(g = t == null ? void 0 : t()) != null && g.noWrap ? /* @__PURE__ */ T(Y, { children: /* @__PURE__ */ T(
|
|
3252
3252
|
Wr,
|
|
3253
3253
|
{
|
|
@@ -3262,7 +3262,7 @@ function lt(e) {
|
|
|
3262
3262
|
isInteractive: f().isInteractive
|
|
3263
3263
|
}
|
|
3264
3264
|
) }) : /* @__PURE__ */ T(Y, { children: n() ? /* @__PURE__ */ T(Y, { children: (E = n()) == null ? void 0 : E.map((w, P) => /* @__PURE__ */ T(
|
|
3265
|
-
|
|
3265
|
+
Ao,
|
|
3266
3266
|
{
|
|
3267
3267
|
repeatContext: w.context,
|
|
3268
3268
|
block: w.block,
|
|
@@ -3270,8 +3270,8 @@ function lt(e) {
|
|
|
3270
3270
|
linkComponent: e.linkComponent
|
|
3271
3271
|
},
|
|
3272
3272
|
P
|
|
3273
|
-
)) }) : /* @__PURE__ */
|
|
3274
|
-
|
|
3273
|
+
)) }) : /* @__PURE__ */ Bt(
|
|
3274
|
+
Co,
|
|
3275
3275
|
{
|
|
3276
3276
|
Wrapper: o(),
|
|
3277
3277
|
block: r(),
|
|
@@ -3293,7 +3293,7 @@ function lt(e) {
|
|
|
3293
3293
|
}
|
|
3294
3294
|
),
|
|
3295
3295
|
(j = a()) == null ? void 0 : j.map((w) => /* @__PURE__ */ T(
|
|
3296
|
-
|
|
3296
|
+
ut,
|
|
3297
3297
|
{
|
|
3298
3298
|
block: w,
|
|
3299
3299
|
registeredComponents: e.registeredComponents,
|
|
@@ -3307,14 +3307,14 @@ function lt(e) {
|
|
|
3307
3307
|
) })
|
|
3308
3308
|
] }) : null });
|
|
3309
3309
|
}
|
|
3310
|
-
function
|
|
3310
|
+
function bo(e) {
|
|
3311
3311
|
function t() {
|
|
3312
3312
|
var o;
|
|
3313
3313
|
return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
|
|
3314
3314
|
}
|
|
3315
3315
|
function n() {
|
|
3316
3316
|
var o, s;
|
|
3317
|
-
|
|
3317
|
+
Dt() && !((o = e.blocks) != null && o.length) && ((s = window.parent) == null || s.postMessage(
|
|
3318
3318
|
{
|
|
3319
3319
|
type: "builder.clickEmptyBlocks",
|
|
3320
3320
|
data: {
|
|
@@ -3327,7 +3327,7 @@ function Io(e) {
|
|
|
3327
3327
|
}
|
|
3328
3328
|
function r() {
|
|
3329
3329
|
var o, s;
|
|
3330
|
-
|
|
3330
|
+
Dt() && !((o = e.blocks) != null && o.length) && ((s = window.parent) == null || s.postMessage(
|
|
3331
3331
|
{
|
|
3332
3332
|
type: "builder.hoverEmptyBlocks",
|
|
3333
3333
|
data: {
|
|
@@ -3338,7 +3338,7 @@ function Io(e) {
|
|
|
3338
3338
|
"*"
|
|
3339
3339
|
));
|
|
3340
3340
|
}
|
|
3341
|
-
return /* @__PURE__ */
|
|
3341
|
+
return /* @__PURE__ */ Bt(Y, { children: [
|
|
3342
3342
|
/* @__PURE__ */ T(
|
|
3343
3343
|
e.BlocksWrapper,
|
|
3344
3344
|
{
|
|
@@ -3360,11 +3360,11 @@ function Io(e) {
|
|
|
3360
3360
|
}` })
|
|
3361
3361
|
] });
|
|
3362
3362
|
}
|
|
3363
|
-
function
|
|
3363
|
+
function Io(e) {
|
|
3364
3364
|
var r, o, s;
|
|
3365
3365
|
const t = Rr(Gr), n = Rr(Pn);
|
|
3366
3366
|
return /* @__PURE__ */ T(
|
|
3367
|
-
|
|
3367
|
+
bo,
|
|
3368
3368
|
{
|
|
3369
3369
|
blocks: e.blocks,
|
|
3370
3370
|
parent: e.parent,
|
|
@@ -3373,7 +3373,7 @@ function To(e) {
|
|
|
3373
3373
|
BlocksWrapper: ((r = e.context) == null ? void 0 : r.BlocksWrapper) || t.BlocksWrapper,
|
|
3374
3374
|
BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
|
|
3375
3375
|
children: e.blocks ? /* @__PURE__ */ T(Y, { children: (s = e.blocks) == null ? void 0 : s.map((a) => /* @__PURE__ */ T(
|
|
3376
|
-
|
|
3376
|
+
ut,
|
|
3377
3377
|
{
|
|
3378
3378
|
block: a,
|
|
3379
3379
|
linkComponent: e.linkComponent,
|
|
@@ -3385,19 +3385,19 @@ function To(e) {
|
|
|
3385
3385
|
}
|
|
3386
3386
|
);
|
|
3387
3387
|
}
|
|
3388
|
-
const
|
|
3388
|
+
const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3389
3389
|
__proto__: null,
|
|
3390
|
-
default:
|
|
3390
|
+
default: Io
|
|
3391
3391
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3392
3392
|
export {
|
|
3393
|
-
|
|
3394
|
-
|
|
3393
|
+
ut as Block,
|
|
3394
|
+
Io as Blocks,
|
|
3395
3395
|
Pn as ComponentsContext,
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3396
|
+
vo as InlinedStyles,
|
|
3397
|
+
Uo as blocks,
|
|
3398
|
+
Qt as evaluate,
|
|
3399
|
+
yo as getSizesForBreakpoints,
|
|
3400
|
+
co as mapStyleObjToStrIfNeeded,
|
|
3401
3401
|
Hr as set,
|
|
3402
3402
|
io as triggerAnimation
|
|
3403
3403
|
};
|