x-runtime-lib 0.5.21 → 0.5.22
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/dist/index.js +135 -135
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1747,8 +1747,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1747
1747
|
var a = "";
|
|
1748
1748
|
var p = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1749
1749
|
if (p) {
|
|
1750
|
-
for (var h = p.split(/\s*,\s*/),
|
|
1751
|
-
var S = h[
|
|
1750
|
+
for (var h = p.split(/\s*,\s*/), b = 0; b < h.length; b++) {
|
|
1751
|
+
var S = h[b];
|
|
1752
1752
|
s.test(S) || e.throwException(
|
|
1753
1753
|
e.SYNTAX_ERROR,
|
|
1754
1754
|
"Invalid function argument: " + S
|
|
@@ -1994,8 +1994,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1994
1994
|
e.TYPE_ERROR,
|
|
1995
1995
|
"Object.getOwnPropertyDescriptor called on non-object: " + l
|
|
1996
1996
|
), a = String(a), a in l.properties) {
|
|
1997
|
-
var p = Object.getOwnPropertyDescriptor(l.properties, a), h = l.getter[a],
|
|
1998
|
-
return h ||
|
|
1997
|
+
var p = Object.getOwnPropertyDescriptor(l.properties, a), h = l.getter[a], b = l.setter[a], S = e.createObjectProto(e.OBJECT_PROTO);
|
|
1998
|
+
return h || b ? (e.setProperty(S, "get", h), e.setProperty(S, "set", b)) : (e.setProperty(
|
|
1999
1999
|
S,
|
|
2000
2000
|
"value",
|
|
2001
2001
|
/** @type {!Interpreter.Value} */
|
|
@@ -2584,18 +2584,18 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2584
2584
|
/** @type {?} */
|
|
2585
2585
|
h
|
|
2586
2586
|
);
|
|
2587
|
-
} catch (
|
|
2587
|
+
} catch (b) {
|
|
2588
2588
|
e.throwException(
|
|
2589
2589
|
e.ERROR,
|
|
2590
|
-
"localeCompare: " +
|
|
2590
|
+
"localeCompare: " + b.message
|
|
2591
2591
|
);
|
|
2592
2592
|
}
|
|
2593
2593
|
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", i), i = function(a, p, h) {
|
|
2594
|
-
var
|
|
2594
|
+
var b = String(this);
|
|
2595
2595
|
if (p = p ? Number(p) : void 0, e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, h), e.REGEXP_MODE === 2)) {
|
|
2596
2596
|
if (r.vm) {
|
|
2597
2597
|
var S = {
|
|
2598
|
-
string:
|
|
2598
|
+
string: b,
|
|
2599
2599
|
separator: a,
|
|
2600
2600
|
limit: p
|
|
2601
2601
|
}, T = "string.split(separator, limit)", L = e.vmCall(T, S, a, h);
|
|
@@ -2608,20 +2608,20 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2608
2608
|
);
|
|
2609
2609
|
x.onmessage = function(W) {
|
|
2610
2610
|
clearTimeout(A), h(e.nativeToPseudo(W.data));
|
|
2611
|
-
}, x.postMessage(["split",
|
|
2611
|
+
}, x.postMessage(["split", b, a, p]);
|
|
2612
2612
|
}
|
|
2613
2613
|
return;
|
|
2614
2614
|
}
|
|
2615
|
-
var L =
|
|
2615
|
+
var L = b.split(a, p);
|
|
2616
2616
|
h(e.nativeToPseudo(L));
|
|
2617
2617
|
}, this.setAsyncFunctionPrototype(this.STRING, "split", i), i = function(a, p) {
|
|
2618
2618
|
var h = String(this);
|
|
2619
2619
|
if (a = e.isa(a, e.REGEXP) ? a.data : new RegExp(a), e.maybeThrowRegExp(a, p), e.REGEXP_MODE === 2) {
|
|
2620
2620
|
if (r.vm) {
|
|
2621
|
-
var
|
|
2621
|
+
var b = {
|
|
2622
2622
|
string: h,
|
|
2623
2623
|
regexp: a
|
|
2624
|
-
}, S = "string.match(regexp)", A = e.vmCall(S,
|
|
2624
|
+
}, S = "string.match(regexp)", A = e.vmCall(S, b, a, p);
|
|
2625
2625
|
A !== r.REGEXP_TIMEOUT && p(A && e.matchToPseudo_(A));
|
|
2626
2626
|
} else {
|
|
2627
2627
|
var T = e.createWorker(), x = e.regExpTimeout(a, T, p);
|
|
@@ -2637,10 +2637,10 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2637
2637
|
var h = String(this);
|
|
2638
2638
|
if (e.isa(a, e.REGEXP) ? a = a.data : a = new RegExp(a), e.maybeThrowRegExp(a, p), e.REGEXP_MODE === 2) {
|
|
2639
2639
|
if (r.vm) {
|
|
2640
|
-
var
|
|
2640
|
+
var b = {
|
|
2641
2641
|
string: h,
|
|
2642
2642
|
regexp: a
|
|
2643
|
-
}, S = "string.search(regexp)", T = e.vmCall(S,
|
|
2643
|
+
}, S = "string.search(regexp)", T = e.vmCall(S, b, a, p);
|
|
2644
2644
|
T !== r.REGEXP_TIMEOUT && p(T);
|
|
2645
2645
|
} else {
|
|
2646
2646
|
var x = e.createWorker(), A = e.regExpTimeout(a, x, p);
|
|
@@ -2652,11 +2652,11 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2652
2652
|
}
|
|
2653
2653
|
p(h.search(a));
|
|
2654
2654
|
}, this.setAsyncFunctionPrototype(this.STRING, "search", i), i = function(a, p, h) {
|
|
2655
|
-
var
|
|
2655
|
+
var b = String(this);
|
|
2656
2656
|
if (p = String(p), e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, h), e.REGEXP_MODE === 2)) {
|
|
2657
2657
|
if (r.vm) {
|
|
2658
2658
|
var S = {
|
|
2659
|
-
string:
|
|
2659
|
+
string: b,
|
|
2660
2660
|
substr: a,
|
|
2661
2661
|
newSubstr: p
|
|
2662
2662
|
}, T = "string.replace(substr, newSubstr)", x = e.vmCall(T, S, a, h);
|
|
@@ -2669,11 +2669,11 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2669
2669
|
);
|
|
2670
2670
|
A.onmessage = function(W) {
|
|
2671
2671
|
clearTimeout(L), h(W.data);
|
|
2672
|
-
}, A.postMessage(["replace",
|
|
2672
|
+
}, A.postMessage(["replace", b, a, p]);
|
|
2673
2673
|
}
|
|
2674
2674
|
return;
|
|
2675
2675
|
}
|
|
2676
|
-
h(
|
|
2676
|
+
h(b.replace(a, p));
|
|
2677
2677
|
}, this.setAsyncFunctionPrototype(this.STRING, "replace", i), this.polyfills_.push(
|
|
2678
2678
|
/* POLYFILL START */
|
|
2679
2679
|
"(function() {",
|
|
@@ -2869,8 +2869,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2869
2869
|
e.TYPE_ERROR,
|
|
2870
2870
|
l + " not called on a Date"
|
|
2871
2871
|
);
|
|
2872
|
-
for (var h = [],
|
|
2873
|
-
h[
|
|
2872
|
+
for (var h = [], b = 0; b < arguments.length; b++)
|
|
2873
|
+
h[b] = e.pseudoToNative(arguments[b]);
|
|
2874
2874
|
return p[l].apply(p, h);
|
|
2875
2875
|
};
|
|
2876
2876
|
}(s[u]), this.setNativeFunctionPrototype(this.DATE, s[u], i);
|
|
@@ -2948,10 +2948,10 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2948
2948
|
}, h = "regexp.exec(string)", x = e.vmCall(h, p, a, l);
|
|
2949
2949
|
x !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(x)));
|
|
2950
2950
|
} else {
|
|
2951
|
-
var
|
|
2952
|
-
|
|
2951
|
+
var b = e.createWorker(), S = e.regExpTimeout(a, b, l), T = this;
|
|
2952
|
+
b.onmessage = function(A) {
|
|
2953
2953
|
clearTimeout(S), e.setProperty(T, "lastIndex", A.data[1]), l(e.matchToPseudo_(A.data[0]));
|
|
2954
|
-
},
|
|
2954
|
+
}, b.postMessage(["exec", a, a.lastIndex, u]);
|
|
2955
2955
|
}
|
|
2956
2956
|
return;
|
|
2957
2957
|
}
|
|
@@ -3096,11 +3096,11 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3096
3096
|
})) : a = null, typeof p != "string" && typeof p != "number" && (p = void 0);
|
|
3097
3097
|
var h = i.pseudoToNative(l);
|
|
3098
3098
|
try {
|
|
3099
|
-
var
|
|
3099
|
+
var b = JSON.stringify(h, a, p);
|
|
3100
3100
|
} catch (S) {
|
|
3101
3101
|
i.throwException(i.TYPE_ERROR, S.message);
|
|
3102
3102
|
}
|
|
3103
|
-
return
|
|
3103
|
+
return b;
|
|
3104
3104
|
}, this.setProperty(
|
|
3105
3105
|
s,
|
|
3106
3106
|
"stringify",
|
|
@@ -3160,17 +3160,17 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3160
3160
|
}
|
|
3161
3161
|
l.loc && (!i.length || l.type === "CallExpression") && i.push({ datumLoc: l.loc });
|
|
3162
3162
|
}
|
|
3163
|
-
for (var p = String(this.getProperty(t, "name")), h = String(this.getProperty(t, "message")),
|
|
3163
|
+
for (var p = String(this.getProperty(t, "name")), h = String(this.getProperty(t, "message")), b = p + ": " + h + `
|
|
3164
3164
|
`, s = 0; s < i.length; s++) {
|
|
3165
3165
|
var S = i[s].datumLoc, T = i[s].datumName, x = S.source + ":" + S.start.line + ":" + S.start.column;
|
|
3166
|
-
T ?
|
|
3167
|
-
` :
|
|
3166
|
+
T ? b += " at " + T + " (" + x + `)
|
|
3167
|
+
` : b += " at " + x + `
|
|
3168
3168
|
`;
|
|
3169
3169
|
}
|
|
3170
3170
|
this.setProperty(
|
|
3171
3171
|
t,
|
|
3172
3172
|
"stack",
|
|
3173
|
-
|
|
3173
|
+
b.trim(),
|
|
3174
3174
|
r.NONENUMERABLE_DESCRIPTOR
|
|
3175
3175
|
);
|
|
3176
3176
|
}, r.prototype.createWorker = function() {
|
|
@@ -3310,8 +3310,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3310
3310
|
return a.pseudoToNative(L);
|
|
3311
3311
|
}), A = t.apply(a, x);
|
|
3312
3312
|
return a.nativeToPseudo(A);
|
|
3313
|
-
}, h = Object.getOwnPropertyDescriptor(t, "prototype"),
|
|
3314
|
-
return i.pseudo.push(
|
|
3313
|
+
}, h = Object.getOwnPropertyDescriptor(t, "prototype"), b = this.createNativeFunction(p, !!h);
|
|
3314
|
+
return i.pseudo.push(b), b;
|
|
3315
3315
|
}
|
|
3316
3316
|
var S;
|
|
3317
3317
|
Array.isArray(t) ? S = this.createArray() : S = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(S);
|
|
@@ -3453,14 +3453,14 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3453
3453
|
} else {
|
|
3454
3454
|
if (i === r.VALUE_IN_DESCRIPTOR)
|
|
3455
3455
|
throw ReferenceError("Value not specified");
|
|
3456
|
-
for (var
|
|
3457
|
-
if (
|
|
3458
|
-
|
|
3456
|
+
for (var b = t; !(e in b.properties); )
|
|
3457
|
+
if (b = this.getPrototype(b), !b) {
|
|
3458
|
+
b = t;
|
|
3459
3459
|
break;
|
|
3460
3460
|
}
|
|
3461
|
-
if (
|
|
3462
|
-
return this.setterStep_ = !0,
|
|
3463
|
-
if (
|
|
3461
|
+
if (b.setter && b.setter[e])
|
|
3462
|
+
return this.setterStep_ = !0, b.setter[e];
|
|
3463
|
+
if (b.getter && b.getter[e])
|
|
3464
3464
|
u && this.throwException(this.TYPE_ERROR, "Cannot set property '" + e + "' of object '" + t + "' which only has a getter");
|
|
3465
3465
|
else
|
|
3466
3466
|
try {
|
|
@@ -3653,8 +3653,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3653
3653
|
SyntaxError,
|
|
3654
3654
|
TypeError,
|
|
3655
3655
|
URIError
|
|
3656
|
-
}, p = String(this.getProperty(e, "name")), h = this.getProperty(e, "message").valueOf(),
|
|
3657
|
-
l =
|
|
3656
|
+
}, p = String(this.getProperty(e, "name")), h = this.getProperty(e, "message").valueOf(), b = a[p] || Error;
|
|
3657
|
+
l = b(h), l.stack = String(this.getProperty(e, "stack"));
|
|
3658
3658
|
} else
|
|
3659
3659
|
l = String(e);
|
|
3660
3660
|
throw this.value = l, l;
|
|
@@ -3690,16 +3690,16 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3690
3690
|
}
|
|
3691
3691
|
return "???";
|
|
3692
3692
|
}, r.prototype.createTask_ = function(t, e) {
|
|
3693
|
-
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(), l = Math.max(Number(s.shift() || 0), 0), a = this.newNode(), p, h,
|
|
3693
|
+
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(), l = Math.max(Number(s.shift() || 0), 0), a = this.newNode(), p, h, b;
|
|
3694
3694
|
if (u instanceof r.Object && u.class === "Function")
|
|
3695
3695
|
h = u, a.type = "CallExpression", p = i.scope;
|
|
3696
3696
|
else {
|
|
3697
3697
|
try {
|
|
3698
|
-
|
|
3698
|
+
b = this.parse_(String(u), "taskCode" + this.taskCodeNumber_++);
|
|
3699
3699
|
} catch (L) {
|
|
3700
3700
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + L.message);
|
|
3701
3701
|
}
|
|
3702
|
-
a.type = "EvalProgram_", a.body =
|
|
3702
|
+
a.type = "EvalProgram_", a.body = b.body;
|
|
3703
3703
|
var S = i.node.arguments[0], T = S ? S.start : void 0, x = S ? S.end : void 0;
|
|
3704
3704
|
r.stripLocations_(a, T, x), p = this.globalScope, s.length = 0;
|
|
3705
3705
|
}
|
|
@@ -4040,11 +4040,11 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4040
4040
|
);
|
|
4041
4041
|
var a = u.node;
|
|
4042
4042
|
if (a) {
|
|
4043
|
-
for (var p = this.createScope(a.body, u.parentScope), h = this.createArray(),
|
|
4044
|
-
this.setProperty(h,
|
|
4043
|
+
for (var p = this.createScope(a.body, u.parentScope), h = this.createArray(), b = 0; b < e.arguments_.length; b++)
|
|
4044
|
+
this.setProperty(h, b, e.arguments_[b]);
|
|
4045
4045
|
this.setProperty(p.object, "arguments", h);
|
|
4046
|
-
for (var
|
|
4047
|
-
var S = a.params[
|
|
4046
|
+
for (var b = 0; b < a.params.length; b++) {
|
|
4047
|
+
var S = a.params[b].name, T = e.arguments_.length > b ? e.arguments_[b] : void 0;
|
|
4048
4048
|
this.setProperty(p.object, S, T);
|
|
4049
4049
|
}
|
|
4050
4050
|
return p.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
@@ -4554,21 +4554,21 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4554
4554
|
i = r.sourceFile;
|
|
4555
4555
|
}
|
|
4556
4556
|
var l = function(f, d) {
|
|
4557
|
-
for (var m = 1,
|
|
4558
|
-
lt.lastIndex =
|
|
4557
|
+
for (var m = 1, g = 0; ; ) {
|
|
4558
|
+
lt.lastIndex = g;
|
|
4559
4559
|
var C = lt.exec(f);
|
|
4560
4560
|
if (C && C.index < d)
|
|
4561
|
-
++m,
|
|
4561
|
+
++m, g = C.index + C[0].length;
|
|
4562
4562
|
else
|
|
4563
4563
|
break;
|
|
4564
4564
|
}
|
|
4565
|
-
return { line: m, column: d -
|
|
4566
|
-
}, a = 0, p = 0, h = 0,
|
|
4565
|
+
return { line: m, column: d - g };
|
|
4566
|
+
}, a = 0, p = 0, h = 0, b, S, T, x, A, L, W, Ve = 0, Q = 0, Pe, be, B, K;
|
|
4567
4567
|
function I(f, d) {
|
|
4568
4568
|
var m = l(t, f);
|
|
4569
4569
|
d += " (" + m.line + ":" + m.column + ")";
|
|
4570
|
-
var
|
|
4571
|
-
throw
|
|
4570
|
+
var g = new SyntaxError(d);
|
|
4571
|
+
throw g.pos = f, g.loc = m, g.raisedAt = a, g;
|
|
4572
4572
|
}
|
|
4573
4573
|
var $i = [], it = { type: "num" }, Nr = { type: "regexp" }, Tt = { type: "string" }, we = { type: "name" }, Nt = { type: "eof" }, St = { keyword: "break" }, xt = { keyword: "case", beforeExpr: !0 }, Sr = { keyword: "catch" }, xr = { keyword: "continue" }, Pr = { keyword: "debugger" }, wr = { keyword: "default" }, Cr = { keyword: "do", isLoop: !0 }, kr = { keyword: "else", beforeExpr: !0 }, Ar = { keyword: "finally" }, Ir = { keyword: "for", isLoop: !0 }, Pt = { keyword: "function" }, Dr = { keyword: "if" }, Lr = { keyword: "return", beforeExpr: !0 }, wt = { keyword: "switch" }, Mr = { keyword: "throw", beforeExpr: !0 }, Fr = { keyword: "try" }, Ct = { keyword: "var" }, kt = { keyword: "while", isLoop: !0 }, Ur = { keyword: "with" }, jr = { keyword: "new", beforeExpr: !0 }, Br = { keyword: "this" }, $r = { keyword: "null", atomValue: null }, Vr = { keyword: "true", atomValue: !0 }, Gr = { keyword: "false", atomValue: !1 }, at = { keyword: "in", binop: 7, beforeExpr: !0 }, Vi = {
|
|
4574
4574
|
break: St,
|
|
@@ -4602,8 +4602,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4602
4602
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4603
4603
|
}, At = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Ge = { type: "{", beforeExpr: !0 }, Ce = { type: "}" }, oe = { type: "(", beforeExpr: !0 }, re = { type: ")" }, he = { type: ",", beforeExpr: !0 }, ue = { type: ";", beforeExpr: !0 }, Ye = { type: ":", beforeExpr: !0 }, Yr = { type: "." }, zr = { type: "?", beforeExpr: !0 }, Xr = { binop: 10, beforeExpr: !0 }, Wr = { isAssign: !0, beforeExpr: !0 }, ge = { isAssign: !0, beforeExpr: !0 }, Gi = { postfix: !0, prefix: !0, isUpdate: !0 }, Hr = { prefix: !0, beforeExpr: !0 }, Jr = { binop: 1, beforeExpr: !0 }, Kr = { binop: 2, beforeExpr: !0 }, Yi = { binop: 3, beforeExpr: !0 }, zi = { binop: 4, beforeExpr: !0 }, Xi = { binop: 5, beforeExpr: !0 }, Wi = { binop: 6, beforeExpr: !0 }, Hi = { binop: 7, beforeExpr: !0 }, Ji = { binop: 8, beforeExpr: !0 }, Ki = { binop: 9, prefix: !0, beforeExpr: !0 }, qi = { binop: 10, beforeExpr: !0 };
|
|
4604
4604
|
function ot(f) {
|
|
4605
|
-
for (var d = f.split(" "), m = /* @__PURE__ */ Object.create(null),
|
|
4606
|
-
m[d[
|
|
4605
|
+
for (var d = f.split(" "), m = /* @__PURE__ */ Object.create(null), g = 0; g < d.length; g++)
|
|
4606
|
+
m[d[g]] = !0;
|
|
4607
4607
|
return function(C) {
|
|
4608
4608
|
return m[C] || !1;
|
|
4609
4609
|
};
|
|
@@ -4626,8 +4626,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4626
4626
|
var f = r.onComment && r.locations && new Ee(), d = a, m = t.indexOf("*/", a += 2);
|
|
4627
4627
|
if (m === -1 && I(a - 2, "Unterminated comment"), a = m + 2, r.locations) {
|
|
4628
4628
|
lt.lastIndex = d;
|
|
4629
|
-
for (var
|
|
4630
|
-
++L, W =
|
|
4629
|
+
for (var g; (g = lt.exec(t)) && g.index < a; )
|
|
4630
|
+
++L, W = g.index + g[0].length;
|
|
4631
4631
|
}
|
|
4632
4632
|
r.onComment && r.onComment(
|
|
4633
4633
|
!0,
|
|
@@ -4789,17 +4789,17 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4789
4789
|
return !1;
|
|
4790
4790
|
}
|
|
4791
4791
|
function ke(f) {
|
|
4792
|
-
if (f ? a = p + 1 : p = a, r.locations && (
|
|
4792
|
+
if (f ? a = p + 1 : p = a, r.locations && (b = new Ee()), f) return tn();
|
|
4793
4793
|
if (a >= e) return V(Nt);
|
|
4794
4794
|
var d = t.charCodeAt(a);
|
|
4795
4795
|
if (ct(d) || d === 92)
|
|
4796
4796
|
return an();
|
|
4797
4797
|
var m = da(d);
|
|
4798
4798
|
if (m === !1) {
|
|
4799
|
-
var
|
|
4800
|
-
if (
|
|
4799
|
+
var g = String.fromCharCode(d);
|
|
4800
|
+
if (g === "\\" || Qr.test(g))
|
|
4801
4801
|
return an();
|
|
4802
|
-
I(a, "Unexpected character '" +
|
|
4802
|
+
I(a, "Unexpected character '" + g + "'");
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
4805
4805
|
function G(f, d) {
|
|
@@ -4809,17 +4809,17 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4809
4809
|
function tn() {
|
|
4810
4810
|
for (var f, d, m = a; ; ) {
|
|
4811
4811
|
a >= e && I(m, "Unterminated regexp");
|
|
4812
|
-
var
|
|
4813
|
-
if (st.test(
|
|
4812
|
+
var g = t.charAt(a);
|
|
4813
|
+
if (st.test(g) && I(m, "Unterminated regexp"), f)
|
|
4814
4814
|
f = !1;
|
|
4815
4815
|
else {
|
|
4816
|
-
if (
|
|
4816
|
+
if (g === "[")
|
|
4817
4817
|
d = !0;
|
|
4818
|
-
else if (
|
|
4818
|
+
else if (g === "]" && d)
|
|
4819
4819
|
d = !1;
|
|
4820
|
-
else if (
|
|
4820
|
+
else if (g === "/" && !d)
|
|
4821
4821
|
break;
|
|
4822
|
-
f =
|
|
4822
|
+
f = g === "\\";
|
|
4823
4823
|
}
|
|
4824
4824
|
++a;
|
|
4825
4825
|
}
|
|
@@ -4835,12 +4835,12 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4835
4835
|
V(Nr, k);
|
|
4836
4836
|
}
|
|
4837
4837
|
function Xe(f, d) {
|
|
4838
|
-
for (var m = a,
|
|
4838
|
+
for (var m = a, g = 0, C = d === void 0 ? 1 / 0 : d, P = 0; P < C; ++P) {
|
|
4839
4839
|
var k = t.charCodeAt(a), U;
|
|
4840
4840
|
if (k >= 97 ? U = k - 97 + 10 : k >= 65 ? U = k - 65 + 10 : k >= 48 && k <= 57 ? U = k - 48 : U = 1 / 0, U >= f) break;
|
|
4841
|
-
++a,
|
|
4841
|
+
++a, g = g * f + U;
|
|
4842
4842
|
}
|
|
4843
|
-
return a === m || d !== void 0 && a - m !== d ? null :
|
|
4843
|
+
return a === m || d !== void 0 && a - m !== d ? null : g;
|
|
4844
4844
|
}
|
|
4845
4845
|
function ha() {
|
|
4846
4846
|
a += 2;
|
|
@@ -4848,12 +4848,12 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4848
4848
|
f === null && I(p + 2, "Expected hexadecimal number"), ct(t.charCodeAt(a)) && I(a, "Identifier directly after number"), V(it, f);
|
|
4849
4849
|
}
|
|
4850
4850
|
function rn(f) {
|
|
4851
|
-
var d = a, m = !1,
|
|
4851
|
+
var d = a, m = !1, g = t.charCodeAt(a) === 48;
|
|
4852
4852
|
!f && Xe(10) === null && I(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Xe(10), m = !0);
|
|
4853
4853
|
var C = t.charCodeAt(a);
|
|
4854
4854
|
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, Xe(10) === null && I(d, "Invalid number"), m = !0), ct(t.charCodeAt(a)) && I(a, "Identifier directly after number");
|
|
4855
4855
|
var P = t.slice(d, a), k;
|
|
4856
|
-
m ? k = parseFloat(P) : !
|
|
4856
|
+
m ? k = parseFloat(P) : !g || P.length === 1 ? k = parseInt(P, 10) : /[89]/.test(P) || K ? I(d, "Invalid number") : k = parseInt(P, 8), V(it, k);
|
|
4857
4857
|
}
|
|
4858
4858
|
function va(f) {
|
|
4859
4859
|
a++;
|
|
@@ -4866,11 +4866,11 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4866
4866
|
}
|
|
4867
4867
|
if (m === 92) {
|
|
4868
4868
|
m = t.charCodeAt(++a);
|
|
4869
|
-
var
|
|
4870
|
-
for (
|
|
4871
|
-
|
|
4872
|
-
if (
|
|
4873
|
-
K && I(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(
|
|
4869
|
+
var g = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
4870
|
+
for (g && (g = g[0]); g && parseInt(g, 8) > 255; )
|
|
4871
|
+
g = g.slice(0, -1);
|
|
4872
|
+
if (g === "0" && (g = null), ++a, g)
|
|
4873
|
+
K && I(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(g, 8)), a += g.length - 1;
|
|
4874
4874
|
else
|
|
4875
4875
|
switch (m) {
|
|
4876
4876
|
case 110:
|
|
@@ -4926,10 +4926,10 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4926
4926
|
function nn() {
|
|
4927
4927
|
Ae = !1;
|
|
4928
4928
|
for (var f, d = !0, m = a; ; ) {
|
|
4929
|
-
var
|
|
4930
|
-
if (en(
|
|
4929
|
+
var g = t.charCodeAt(a);
|
|
4930
|
+
if (en(g))
|
|
4931
4931
|
Ae && (f += t.charAt(a)), ++a;
|
|
4932
|
-
else if (
|
|
4932
|
+
else if (g === 92) {
|
|
4933
4933
|
Ae || (f = t.slice(m, a)), Ae = !0, t.charCodeAt(++a) !== 117 && I(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4934
4934
|
var C = ft(4), P = String.fromCharCode(C);
|
|
4935
4935
|
P || I(a - 1, "Invalid Unicode escape"), (d ? ct(C) : en(C)) || I(a - 4, "Invalid Unicode escape"), f += P;
|
|
@@ -4957,7 +4957,7 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4957
4957
|
this.type = null, this.start = p, this.end = null;
|
|
4958
4958
|
}
|
|
4959
4959
|
function un() {
|
|
4960
|
-
this.start =
|
|
4960
|
+
this.start = b, this.end = null, i && (this.source = i);
|
|
4961
4961
|
}
|
|
4962
4962
|
function z() {
|
|
4963
4963
|
var f = new on();
|
|
@@ -4995,8 +4995,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4995
4995
|
Ve = Q = a, r.locations && (Pe = new Ee()), be = K = !1, B = [], ke();
|
|
4996
4996
|
var d = f || z(), m = !0;
|
|
4997
4997
|
for (f || (d.body = []); T !== Nt; ) {
|
|
4998
|
-
var
|
|
4999
|
-
d.body.push(
|
|
4998
|
+
var g = ee();
|
|
4999
|
+
d.body.push(g), m && Mt(g) && Lt(!0), m = !1;
|
|
5000
5000
|
}
|
|
5001
5001
|
return w(d, "Program");
|
|
5002
5002
|
}
|
|
@@ -5010,12 +5010,12 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5010
5010
|
D();
|
|
5011
5011
|
var m = f === St;
|
|
5012
5012
|
j(ue) || pt() ? d.label = null : T !== we ? se() : (d.label = ye(), Re());
|
|
5013
|
-
for (var
|
|
5014
|
-
var C = B[
|
|
5013
|
+
for (var g = 0; g < B.length; ++g) {
|
|
5014
|
+
var C = B[g];
|
|
5015
5015
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (m || C.kind === "loop") || d.label && m))
|
|
5016
5016
|
break;
|
|
5017
5017
|
}
|
|
5018
|
-
return
|
|
5018
|
+
return g === B.length && I(d.start, "Unsyntactic " + f.keyword), w(d, m ? "BreakStatement" : "ContinueStatement");
|
|
5019
5019
|
case Pr:
|
|
5020
5020
|
return D(), Re(), w(d, "DebuggerStatement");
|
|
5021
5021
|
case Cr:
|
|
@@ -5064,8 +5064,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5064
5064
|
default:
|
|
5065
5065
|
var zt = x, ht = X();
|
|
5066
5066
|
if (f === we && ht.type === "Identifier" && j(Ye)) {
|
|
5067
|
-
for (var
|
|
5068
|
-
B[
|
|
5067
|
+
for (var g = 0; g < B.length; ++g)
|
|
5068
|
+
B[g].name === zt && I(ht.start, "Label '" + zt + "' is already declared");
|
|
5069
5069
|
var Oa = T.isLoop ? "loop" : T === wt ? "switch" : null;
|
|
5070
5070
|
return B.push({ name: zt, kind: Oa }), d.body = ee(), B.pop(), d.label = ht, w(d, "LabeledStatement");
|
|
5071
5071
|
} else
|
|
@@ -5078,12 +5078,12 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5078
5078
|
return $(re), f;
|
|
5079
5079
|
}
|
|
5080
5080
|
function He(f) {
|
|
5081
|
-
var d = z(), m = !0,
|
|
5081
|
+
var d = z(), m = !0, g = !1, C;
|
|
5082
5082
|
for (d.body = [], $(Ge); !j(Ce); ) {
|
|
5083
5083
|
var P = ee();
|
|
5084
|
-
d.body.push(P), m && f && Mt(P) && (C =
|
|
5084
|
+
d.body.push(P), m && f && Mt(P) && (C = g, Lt(g = !0)), m = !1;
|
|
5085
5085
|
}
|
|
5086
|
-
return
|
|
5086
|
+
return g && !C && Lt(!1), w(d, "BlockStatement");
|
|
5087
5087
|
}
|
|
5088
5088
|
function Ut(f, d) {
|
|
5089
5089
|
return f.init = d, $(ue), f.test = T === ue ? null : X(), $(ue), f.update = T === re ? null : X(), $(re), f.body = ee(), B.pop(), w(f, "ForStatement");
|
|
@@ -5100,9 +5100,9 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5100
5100
|
function X(f, d) {
|
|
5101
5101
|
var m = jt(d);
|
|
5102
5102
|
if (!f && T === he) {
|
|
5103
|
-
var
|
|
5104
|
-
for (
|
|
5105
|
-
return w(
|
|
5103
|
+
var g = ve(m);
|
|
5104
|
+
for (g.expressions = [m]; j(he); ) g.expressions.push(jt(d));
|
|
5105
|
+
return w(g, "SequenceExpression");
|
|
5106
5106
|
}
|
|
5107
5107
|
return m;
|
|
5108
5108
|
}
|
|
@@ -5126,12 +5126,12 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5126
5126
|
return Bt($t(), -1, f);
|
|
5127
5127
|
}
|
|
5128
5128
|
function Bt(f, d, m) {
|
|
5129
|
-
var
|
|
5130
|
-
if (
|
|
5129
|
+
var g = T.binop;
|
|
5130
|
+
if (g !== null && (!m || T !== at) && g > d) {
|
|
5131
5131
|
var C = ve(f);
|
|
5132
5132
|
C.left = f, C.operator = x;
|
|
5133
5133
|
var P = T;
|
|
5134
|
-
D(), C.right = Bt($t(),
|
|
5134
|
+
D(), C.right = Bt($t(), g, m);
|
|
5135
5135
|
var k = w(C, P === Jr || P === Kr ? "LogicalExpression" : "BinaryExpression");
|
|
5136
5136
|
return Bt(k, d, m);
|
|
5137
5137
|
}
|
|
@@ -5171,10 +5171,10 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5171
5171
|
case Gr:
|
|
5172
5172
|
return f = z(), f.value = T.atomValue, f.raw = T.keyword, D(), w(f, "Literal");
|
|
5173
5173
|
case oe:
|
|
5174
|
-
var d =
|
|
5174
|
+
var d = b, m = p;
|
|
5175
5175
|
D();
|
|
5176
|
-
var
|
|
5177
|
-
return
|
|
5176
|
+
var g = X();
|
|
5177
|
+
return g.start = m, g.end = h, r.locations && (g.loc.start = d, g.loc.end = S), r.ranges && (g.range = [m, h]), $(re), g;
|
|
5178
5178
|
case At:
|
|
5179
5179
|
return f = z(), D(), f.elements = Yt(It, !0, !0), w(f, "ArrayExpression");
|
|
5180
5180
|
case Ge:
|
|
@@ -5197,16 +5197,16 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5197
5197
|
d = !1;
|
|
5198
5198
|
else if ($(he), r.allowTrailingCommas && j(Ce))
|
|
5199
5199
|
break;
|
|
5200
|
-
var
|
|
5201
|
-
if (j(Ye) ? (
|
|
5200
|
+
var g = { key: cn() }, C = !1, P;
|
|
5201
|
+
if (j(Ye) ? (g.value = X(!0), P = g.kind = "init") : g.key.type === "Identifier" && (g.key.name === "get" || g.key.name === "set") ? (C = m = !0, P = g.kind = g.key.name, g.key = cn(), T !== oe && se(), g.value = Gt(z(), !1)) : se(), g.key.type === "Identifier" && (K || m))
|
|
5202
5202
|
for (var k = 0; k < f.properties.length; ++k) {
|
|
5203
5203
|
var U = f.properties[k];
|
|
5204
|
-
if (U.key.name ===
|
|
5204
|
+
if (U.key.name === g.key.name) {
|
|
5205
5205
|
var Ke = P === U.kind || C && U.kind === "init" || P === "init" && (U.kind === "get" || U.kind === "set");
|
|
5206
|
-
Ke && !K && P === "init" && U.kind === "init" && (Ke = !1), Ke && I(
|
|
5206
|
+
Ke && !K && P === "init" && U.kind === "init" && (Ke = !1), Ke && I(g.key.start, "Redefinition of property");
|
|
5207
5207
|
}
|
|
5208
5208
|
}
|
|
5209
|
-
f.properties.push(
|
|
5209
|
+
f.properties.push(g);
|
|
5210
5210
|
}
|
|
5211
5211
|
return w(f, "ObjectExpression");
|
|
5212
5212
|
}
|
|
@@ -5218,8 +5218,8 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5218
5218
|
var m = !0;
|
|
5219
5219
|
for ($(oe); !j(re); )
|
|
5220
5220
|
m ? m = !1 : $(he), f.params.push(ye());
|
|
5221
|
-
var
|
|
5222
|
-
if (be = !0, B = [], f.body = He(!0), be =
|
|
5221
|
+
var g = be, C = B;
|
|
5222
|
+
if (be = !0, B = [], f.body = He(!0), be = g, B = C, K || f.body.body.length && Mt(f.body.body[0]))
|
|
5223
5223
|
for (var P = f.id ? -1 : 0; P < f.params.length; ++P) {
|
|
5224
5224
|
var k = P < 0 ? f.id : f.params[P];
|
|
5225
5225
|
if ((qr(k.name) || ut(k.name)) && I(k.start, "Defining '" + k.name + "' in strict mode"), P >= 0)
|
|
@@ -5229,14 +5229,14 @@ const Dl = {}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5229
5229
|
return w(f, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5230
5230
|
}
|
|
5231
5231
|
function Yt(f, d, m) {
|
|
5232
|
-
for (var
|
|
5232
|
+
for (var g = [], C = !0; !j(f); ) {
|
|
5233
5233
|
if (C)
|
|
5234
5234
|
C = !1;
|
|
5235
5235
|
else if ($(he), d && r.allowTrailingCommas && j(f))
|
|
5236
5236
|
break;
|
|
5237
|
-
|
|
5237
|
+
g.push(m && T === he ? null : X(!0));
|
|
5238
5238
|
}
|
|
5239
|
-
return
|
|
5239
|
+
return g;
|
|
5240
5240
|
}
|
|
5241
5241
|
function ye(f) {
|
|
5242
5242
|
var d = z();
|
|
@@ -5410,9 +5410,9 @@ function $l(n, o, c) {
|
|
|
5410
5410
|
return;
|
|
5411
5411
|
}
|
|
5412
5412
|
const p = u.split("."), h = p.length;
|
|
5413
|
-
for (let
|
|
5414
|
-
const S = p[
|
|
5415
|
-
if (
|
|
5413
|
+
for (let b = 0; b < h; b++) {
|
|
5414
|
+
const S = p[b];
|
|
5415
|
+
if (b === h - 1)
|
|
5416
5416
|
return o.nativeToPseudo(a[S]);
|
|
5417
5417
|
if (!a) {
|
|
5418
5418
|
console.error(`getNodePropV1 unpkg failed, ${l}`);
|
|
@@ -5428,9 +5428,9 @@ function $l(n, o, c) {
|
|
|
5428
5428
|
console.error(`setNodePropV1 node not found, ${p}`);
|
|
5429
5429
|
return;
|
|
5430
5430
|
}
|
|
5431
|
-
const
|
|
5431
|
+
const b = l.split("."), S = b.length;
|
|
5432
5432
|
for (let T = 0; T < S; T++) {
|
|
5433
|
-
const x =
|
|
5433
|
+
const x = b[T];
|
|
5434
5434
|
if (T === S - 1)
|
|
5435
5435
|
h[x] = a;
|
|
5436
5436
|
else {
|
|
@@ -5640,8 +5640,8 @@ const le = /* @__PURE__ */ ne({
|
|
|
5640
5640
|
R.value || Le.emit("compNotAvail", c.refContext.refid);
|
|
5641
5641
|
let r;
|
|
5642
5642
|
if (R.value && _ === "runtime") {
|
|
5643
|
-
const a = R.value.data.code.script;
|
|
5644
|
-
|
|
5643
|
+
const a = R.value.data, p = R.value.data.code.script;
|
|
5644
|
+
p && (r = ji({ env: v, type: E, data: a }, p));
|
|
5645
5645
|
}
|
|
5646
5646
|
Li(r), fr(() => {
|
|
5647
5647
|
r && Bi(r);
|
|
@@ -5667,12 +5667,12 @@ const le = /* @__PURE__ */ ne({
|
|
|
5667
5667
|
}) : (console.assert(!1, `ref element not found key=${p}`), H("div", `ref element not found key=${p}`));
|
|
5668
5668
|
}
|
|
5669
5669
|
function i(a) {
|
|
5670
|
-
var
|
|
5670
|
+
var b;
|
|
5671
5671
|
const p = Te[a.basic.key];
|
|
5672
5672
|
if (!p)
|
|
5673
5673
|
return console.assert(!1, `element not found key=${a.basic.key}`), H("div", `element not found key=${a.basic.key}`);
|
|
5674
5674
|
const h = [];
|
|
5675
|
-
return p.slots.some((S) => S.key === "default") && ((
|
|
5675
|
+
return p.slots.some((S) => S.key === "default") && ((b = a.children) == null || b.forEach((S) => {
|
|
5676
5676
|
h.push(s(S));
|
|
5677
5677
|
})), H(p.comp, { node: a }, { default: () => h });
|
|
5678
5678
|
}
|
|
@@ -5761,10 +5761,10 @@ const le = /* @__PURE__ */ ne({
|
|
|
5761
5761
|
}, Kt({ _: 2 }, [
|
|
5762
5762
|
Pa(s.value, (p, h) => ({
|
|
5763
5763
|
name: `item.${p.column}`,
|
|
5764
|
-
fn: te(({ value:
|
|
5764
|
+
fn: te(({ value: b }) => [
|
|
5765
5765
|
q(le, {
|
|
5766
5766
|
"ref-context": { refid: p.comp },
|
|
5767
|
-
state: { value:
|
|
5767
|
+
state: { value: b }
|
|
5768
5768
|
}, null, 8, ["ref-context", "state"])
|
|
5769
5769
|
])
|
|
5770
5770
|
}))
|
|
@@ -6196,36 +6196,36 @@ const Zl = ["id"], Ql = /* @__PURE__ */ ne({
|
|
|
6196
6196
|
r.value || Le.emit("compNotAvail", c.refContext.refid);
|
|
6197
6197
|
let t;
|
|
6198
6198
|
if (r.value && _ === "runtime") {
|
|
6199
|
-
const h = r.value.data.code.script;
|
|
6200
|
-
|
|
6199
|
+
const h = r.value.data, b = r.value.data.code.script;
|
|
6200
|
+
b && (t = ji({ env: v, type: y, data: h }, b));
|
|
6201
6201
|
}
|
|
6202
6202
|
Li(t), fr(() => {
|
|
6203
6203
|
t && Bi(t);
|
|
6204
6204
|
});
|
|
6205
6205
|
const { applySize: e } = Fi(_, E, c), i = N(() => {
|
|
6206
|
-
const h = {},
|
|
6207
|
-
return y === "page" ?
|
|
6206
|
+
const h = {}, b = O.type;
|
|
6207
|
+
return y === "page" ? b === "common" ? e(h) : console.assert(!1) : y === "comp" && b === "common" ? e(h) : console.assert(!1), h;
|
|
6208
6208
|
});
|
|
6209
6209
|
function s(h) {
|
|
6210
|
-
const
|
|
6210
|
+
const b = Tr[O.version].refKey, S = Te[b];
|
|
6211
6211
|
return S ? H(S.comp, {
|
|
6212
6212
|
refContext: {
|
|
6213
6213
|
parent: c.refContext,
|
|
6214
6214
|
refid: h.ref.id
|
|
6215
6215
|
},
|
|
6216
6216
|
node: h
|
|
6217
|
-
}) : (console.assert(!1, `ref element not found key=${
|
|
6217
|
+
}) : (console.assert(!1, `ref element not found key=${b}`), H("div", `ref element not found key=${b}`));
|
|
6218
6218
|
}
|
|
6219
6219
|
function u(h) {
|
|
6220
6220
|
var T;
|
|
6221
|
-
const
|
|
6222
|
-
if (!
|
|
6221
|
+
const b = Te[h.basic.key];
|
|
6222
|
+
if (!b)
|
|
6223
6223
|
return console.assert(!1, `element not found key=${h.basic.key}`), H("div", `element not found key=${h.basic.key}`);
|
|
6224
6224
|
const S = [];
|
|
6225
|
-
return
|
|
6225
|
+
return b.slots.some((x) => x.key === "default") && ((T = h.children) == null || T.forEach((x) => {
|
|
6226
6226
|
const A = l(x);
|
|
6227
6227
|
S.push(A);
|
|
6228
|
-
})), H(
|
|
6228
|
+
})), H(b.comp, { node: h }, { default: () => S });
|
|
6229
6229
|
}
|
|
6230
6230
|
function l(h) {
|
|
6231
6231
|
return h.ref ? s(h) : u(h);
|
|
@@ -6246,14 +6246,14 @@ const Zl = ["id"], Ql = /* @__PURE__ */ ne({
|
|
|
6246
6246
|
return H("div", { id: c.id }, o("x-runtime-lib.compNotAvail"));
|
|
6247
6247
|
const h = r.value.data.type;
|
|
6248
6248
|
if (h === "common") {
|
|
6249
|
-
const
|
|
6249
|
+
const b = [];
|
|
6250
6250
|
return r.value.data.view.nodes.forEach((S) => {
|
|
6251
|
-
|
|
6252
|
-
}), H("div", { id: c.id, style: i.value },
|
|
6251
|
+
b.push(l(S));
|
|
6252
|
+
}), H("div", { id: c.id, style: i.value }, b);
|
|
6253
6253
|
} else
|
|
6254
6254
|
return console.assert(!1, `invalid subtype=${h}`), H("div", { id: c.id }, `invalid subtype=${h}`);
|
|
6255
6255
|
};
|
|
6256
|
-
return (h,
|
|
6256
|
+
return (h, b) => (J(), fe(p));
|
|
6257
6257
|
}
|
|
6258
6258
|
}), Wn = {
|
|
6259
6259
|
key: "ref",
|