x-runtime-lib 0.2.6 → 0.2.7
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 +188 -188
- package/dist/utils/provideInject.d.ts +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var io = Object.defineProperty;
|
|
2
2
|
var oo = (r, a, c) => a in r ? io(r, a, { enumerable: !0, configurable: !0, writable: !0, value: c }) : r[a] = c;
|
|
3
3
|
var Bt = (r, a, c) => (oo(r, typeof a != "symbol" ? a + "" : a, c), c);
|
|
4
|
-
import { resolveComponent as ao, openBlock as An, createBlock as In, getCurrentInstance as kn, inject as te, hasInjectionContext as so, ref as ne, watch as rr, reactive as uo, markRaw as
|
|
4
|
+
import { resolveComponent as ao, openBlock as An, createBlock as In, getCurrentInstance as kn, inject as te, hasInjectionContext as so, ref as ne, watch as rr, reactive as uo, markRaw as Xe, effectScope as co, isRef as He, isReactive as nr, toRef as $t, toRaw as fo, nextTick as zt, computed as ue, getCurrentScope as lo, onScopeDispose as po, toRefs as Kr, provide as fe, readonly as Ze, defineComponent as ho, watchEffect as vo, onBeforeUnmount as yo, h as Ge } from "vue";
|
|
5
5
|
const Eo = (r, a) => {
|
|
6
6
|
const c = r.__vccOpts || r;
|
|
7
7
|
for (const [d, v] of a)
|
|
@@ -39,18 +39,18 @@ function Vt(r, a) {
|
|
|
39
39
|
delete r[a];
|
|
40
40
|
}
|
|
41
41
|
var M = {};
|
|
42
|
-
let
|
|
43
|
-
const dt = (r) =>
|
|
42
|
+
let We;
|
|
43
|
+
const dt = (r) => We = r, So = M.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
44
44
|
/* istanbul ignore next */
|
|
45
45
|
Symbol()
|
|
46
46
|
);
|
|
47
|
-
function
|
|
47
|
+
function be(r) {
|
|
48
48
|
return r && typeof r == "object" && Object.prototype.toString.call(r) === "[object Object]" && typeof r.toJSON != "function";
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var ze;
|
|
51
51
|
(function(r) {
|
|
52
52
|
r.direct = "direct", r.patchObject = "patch object", r.patchFunction = "patch function";
|
|
53
|
-
})(
|
|
53
|
+
})(ze || (ze = {}));
|
|
54
54
|
const ir = typeof window < "u", Gt = (M.NODE_ENV !== "production" || !1) && M.NODE_ENV !== "test" && ir;
|
|
55
55
|
function Dn(r, a) {
|
|
56
56
|
for (const c in a) {
|
|
@@ -58,7 +58,7 @@ function Dn(r, a) {
|
|
|
58
58
|
if (!(c in r))
|
|
59
59
|
continue;
|
|
60
60
|
const v = r[c];
|
|
61
|
-
|
|
61
|
+
be(v) && be(d) && !He(d) && !nr(d) ? r[c] = Dn(v, d) : r[c] = d;
|
|
62
62
|
}
|
|
63
63
|
return r;
|
|
64
64
|
}
|
|
@@ -72,7 +72,7 @@ function Zr(r, a, c, d = jn) {
|
|
|
72
72
|
};
|
|
73
73
|
return !c && lo() && po(v), v;
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Ce(r, ...a) {
|
|
76
76
|
r.slice().forEach((c) => {
|
|
77
77
|
c(...a);
|
|
78
78
|
});
|
|
@@ -84,7 +84,7 @@ function Jt(r, a) {
|
|
|
84
84
|
if (!a.hasOwnProperty(c))
|
|
85
85
|
continue;
|
|
86
86
|
const d = a[c], v = r[c];
|
|
87
|
-
|
|
87
|
+
be(v) && be(d) && r.hasOwnProperty(c) && !He(d) && !nr(d) ? r[c] = Jt(v, d) : r[c] = d;
|
|
88
88
|
}
|
|
89
89
|
return r;
|
|
90
90
|
}
|
|
@@ -93,11 +93,11 @@ const Po = M.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
|
93
93
|
Symbol()
|
|
94
94
|
);
|
|
95
95
|
function wo(r) {
|
|
96
|
-
return !
|
|
96
|
+
return !be(r) || !r.hasOwnProperty(Po);
|
|
97
97
|
}
|
|
98
98
|
const { assign: Q } = Object;
|
|
99
99
|
function Qr(r) {
|
|
100
|
-
return !!(
|
|
100
|
+
return !!(He(r) && r.effect);
|
|
101
101
|
}
|
|
102
102
|
function en(r, a, c, d) {
|
|
103
103
|
const { state: v, actions: b, getters: m } = a, S = c.state.value[r];
|
|
@@ -108,7 +108,7 @@ function en(r, a, c, d) {
|
|
|
108
108
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
109
109
|
Kr(ne(v ? v() : {}).value)
|
|
110
110
|
) : Kr(c.state.value[r]);
|
|
111
|
-
return Q(t, b, Object.keys(m || {}).reduce((e, i) => (M.NODE_ENV !== "production" && i in t && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${i}" in store "${r}".`), e[i] =
|
|
111
|
+
return Q(t, b, Object.keys(m || {}).reduce((e, i) => (M.NODE_ENV !== "production" && i in t && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${i}" in store "${r}".`), e[i] = Xe(ue(() => {
|
|
112
112
|
dt(c);
|
|
113
113
|
const s = c._s.get(r);
|
|
114
114
|
return m[i].call(s, s);
|
|
@@ -136,11 +136,11 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
136
136
|
function p(w) {
|
|
137
137
|
let N;
|
|
138
138
|
n = t = !1, M.NODE_ENV !== "production" && (s = []), typeof w == "function" ? (w(d.state.value[r]), N = {
|
|
139
|
-
type:
|
|
139
|
+
type: ze.patchFunction,
|
|
140
140
|
storeId: r,
|
|
141
141
|
events: s
|
|
142
142
|
}) : (Jt(d.state.value[r], w), N = {
|
|
143
|
-
type:
|
|
143
|
+
type: ze.patchObject,
|
|
144
144
|
payload: w,
|
|
145
145
|
storeId: r,
|
|
146
146
|
events: s
|
|
@@ -148,7 +148,7 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
148
148
|
const F = o = Symbol();
|
|
149
149
|
zt().then(() => {
|
|
150
150
|
o === F && (n = !0);
|
|
151
|
-
}), t = !0,
|
|
151
|
+
}), t = !0, Ce(e, N, d.state.value[r]);
|
|
152
152
|
}
|
|
153
153
|
const E = b ? function() {
|
|
154
154
|
const { state: N } = c, F = N ? N() : {};
|
|
@@ -174,23 +174,23 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
174
174
|
function k(H) {
|
|
175
175
|
U.push(H);
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
Ce(i, {
|
|
178
178
|
args: F,
|
|
179
179
|
name: w,
|
|
180
180
|
store: R,
|
|
181
181
|
after: Z,
|
|
182
182
|
onError: k
|
|
183
183
|
});
|
|
184
|
-
let
|
|
184
|
+
let ve;
|
|
185
185
|
try {
|
|
186
|
-
|
|
186
|
+
ve = N.apply(this && this.$id === r ? this : R, F);
|
|
187
187
|
} catch (H) {
|
|
188
|
-
throw
|
|
188
|
+
throw Ce(U, H), H;
|
|
189
189
|
}
|
|
190
|
-
return
|
|
190
|
+
return ve instanceof Promise ? ve.then((H) => (Ce(X, H), H)).catch((H) => (Ce(U, H), Promise.reject(H))) : (Ce(X, ve), ve);
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
const O = /* @__PURE__ */
|
|
193
|
+
const O = /* @__PURE__ */ Xe({
|
|
194
194
|
actions: {},
|
|
195
195
|
getters: {},
|
|
196
196
|
state: [],
|
|
@@ -206,7 +206,7 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
206
206
|
const F = Zr(e, w, N.detached, () => X()), X = m.run(() => rr(() => d.state.value[r], (U) => {
|
|
207
207
|
(N.flush === "sync" ? t : n) && w({
|
|
208
208
|
storeId: r,
|
|
209
|
-
type:
|
|
209
|
+
type: ze.direct,
|
|
210
210
|
events: s
|
|
211
211
|
}, U);
|
|
212
212
|
}, Q({}, T, N)));
|
|
@@ -216,7 +216,7 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
216
216
|
}, R = uo(M.NODE_ENV !== "production" || Gt ? Q(
|
|
217
217
|
{
|
|
218
218
|
_hmrPayload: O,
|
|
219
|
-
_customProperties:
|
|
219
|
+
_customProperties: Xe(/* @__PURE__ */ new Set())
|
|
220
220
|
// devtools custom properties
|
|
221
221
|
},
|
|
222
222
|
C
|
|
@@ -227,8 +227,8 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
227
227
|
const V = (d._a && d._a.runWithContext || To)(() => d._e.run(() => (m = co()).run(a)));
|
|
228
228
|
for (const w in V) {
|
|
229
229
|
const N = V[w];
|
|
230
|
-
if (
|
|
231
|
-
M.NODE_ENV !== "production" && v ? pt(f.value, w, $t(V, w)) : b || (u && wo(N) && (
|
|
230
|
+
if (He(N) && !Qr(N) || nr(N))
|
|
231
|
+
M.NODE_ENV !== "production" && v ? pt(f.value, w, $t(V, w)) : b || (u && wo(N) && (He(N) ? N.value = u[w] : Jt(N, u[w])), d.state.value[r][w] = N), M.NODE_ENV !== "production" && O.state.push(w);
|
|
232
232
|
else if (typeof N == "function") {
|
|
233
233
|
const F = M.NODE_ENV !== "production" && v ? N : P(w, N);
|
|
234
234
|
V[w] = F, M.NODE_ENV !== "production" && (O.actions[w] = N), S.actions[w] = N;
|
|
@@ -237,7 +237,7 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
237
237
|
// @ts-expect-error
|
|
238
238
|
c.getters[w]
|
|
239
239
|
) : N, ir && (V._getters || // @ts-expect-error: same
|
|
240
|
-
(V._getters =
|
|
240
|
+
(V._getters = Xe([]))).push(w));
|
|
241
241
|
}
|
|
242
242
|
if (Q(R, V), Q(fo(R), V), Object.defineProperty(R, "$state", {
|
|
243
243
|
get: () => M.NODE_ENV !== "production" && v ? f.value : d.state.value[r],
|
|
@@ -248,11 +248,11 @@ function Ht(r, a, c = {}, d, v, b) {
|
|
|
248
248
|
Q(N, w);
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
|
-
}), M.NODE_ENV !== "production" && (R._hotUpdate =
|
|
251
|
+
}), M.NODE_ENV !== "production" && (R._hotUpdate = Xe((w) => {
|
|
252
252
|
R._hotUpdating = !0, w._hmrPayload.state.forEach((N) => {
|
|
253
253
|
if (N in R.$state) {
|
|
254
254
|
const F = w.$state[N], X = R.$state[N];
|
|
255
|
-
typeof F == "object" &&
|
|
255
|
+
typeof F == "object" && be(F) && be(X) ? Dn(F, X) : w.$state[N] = X;
|
|
256
256
|
}
|
|
257
257
|
pt(R, N, $t(w.$state, N));
|
|
258
258
|
}), Object.keys(R.$state).forEach((N) => {
|
|
@@ -318,11 +318,11 @@ function Ln(r, a, c) {
|
|
|
318
318
|
const n = so();
|
|
319
319
|
if (S = // in test mode, ignore the argument provided as we can always retrieve a
|
|
320
320
|
// pinia instance with getActivePinia()
|
|
321
|
-
(M.NODE_ENV === "test" &&
|
|
321
|
+
(M.NODE_ENV === "test" && We && We._testing ? null : S) || (n ? te(So, null) : null), S && dt(S), M.NODE_ENV !== "production" && !We)
|
|
322
322
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
323
323
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
324
324
|
This will fail in production.`);
|
|
325
|
-
S =
|
|
325
|
+
S = We, S._s.has(d) || (b ? Ht(d, a, v, S) : en(d, v, S), M.NODE_ENV !== "production" && (m._pinia = S));
|
|
326
326
|
const t = S._s.get(d);
|
|
327
327
|
if (M.NODE_ENV !== "production" && T) {
|
|
328
328
|
const e = "__hot:" + d, i = b ? Ht(e, a, v, S, !0) : en(e, Q({}, v), S, !0);
|
|
@@ -394,7 +394,7 @@ function Co(r) {
|
|
|
394
394
|
});
|
|
395
395
|
} };
|
|
396
396
|
}
|
|
397
|
-
const
|
|
397
|
+
const _e = Co();
|
|
398
398
|
async function Fn(r, a, c) {
|
|
399
399
|
return new Promise((d) => {
|
|
400
400
|
const v = async () => {
|
|
@@ -450,7 +450,7 @@ async function Ao(r) {
|
|
|
450
450
|
const d = (b) => {
|
|
451
451
|
c = b, a = !0;
|
|
452
452
|
}, v = Mn();
|
|
453
|
-
return
|
|
453
|
+
return _e.on("confirmDlgResult" + v, d), _e.emit("confirmDlg", { ...r, seq: v }), await Fn(() => a), _e.off("confirmDlgResult" + v, d), c;
|
|
454
454
|
}
|
|
455
455
|
async function Io(r) {
|
|
456
456
|
if (!Un())
|
|
@@ -459,7 +459,7 @@ async function Io(r) {
|
|
|
459
459
|
const d = (b) => {
|
|
460
460
|
c = b, a = !0;
|
|
461
461
|
}, v = Mn();
|
|
462
|
-
return
|
|
462
|
+
return _e.on("promptDlgResult" + v, d), _e.emit("promptDlg", { ...r, seq: v }), await Fn(() => a), _e.off("promptDlgResult" + v, d), c;
|
|
463
463
|
}
|
|
464
464
|
require("js-cookie");
|
|
465
465
|
ne("");
|
|
@@ -627,7 +627,7 @@ const Lo = /* @__PURE__ */ new Set([
|
|
|
627
627
|
ui: "strInput"
|
|
628
628
|
}
|
|
629
629
|
]
|
|
630
|
-
},
|
|
630
|
+
}, xe = [
|
|
631
631
|
{
|
|
632
632
|
name: "default",
|
|
633
633
|
ui: "word",
|
|
@@ -673,42 +673,42 @@ const Lo = /* @__PURE__ */ new Set([
|
|
|
673
673
|
key: "width",
|
|
674
674
|
name: "width",
|
|
675
675
|
ui: "multiTypes",
|
|
676
|
-
types:
|
|
676
|
+
types: xe,
|
|
677
677
|
default: ""
|
|
678
678
|
},
|
|
679
679
|
{
|
|
680
680
|
key: "minWidth",
|
|
681
681
|
name: "minWidth",
|
|
682
682
|
ui: "multiTypes",
|
|
683
|
-
types:
|
|
683
|
+
types: xe,
|
|
684
684
|
default: ""
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
687
|
key: "maxWidth",
|
|
688
688
|
name: "maxWidth",
|
|
689
689
|
ui: "multiTypes",
|
|
690
|
-
types:
|
|
690
|
+
types: xe,
|
|
691
691
|
default: ""
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
694
|
key: "height",
|
|
695
695
|
name: "height",
|
|
696
696
|
ui: "multiTypes",
|
|
697
|
-
types:
|
|
697
|
+
types: xe,
|
|
698
698
|
default: ""
|
|
699
699
|
},
|
|
700
700
|
{
|
|
701
701
|
key: "minHeight",
|
|
702
702
|
name: "minHeight",
|
|
703
703
|
ui: "multiTypes",
|
|
704
|
-
types:
|
|
704
|
+
types: xe,
|
|
705
705
|
default: ""
|
|
706
706
|
},
|
|
707
707
|
{
|
|
708
708
|
key: "maxHeight",
|
|
709
709
|
name: "maxHeight",
|
|
710
710
|
ui: "multiTypes",
|
|
711
|
-
types:
|
|
711
|
+
types: xe,
|
|
712
712
|
default: ""
|
|
713
713
|
}
|
|
714
714
|
]
|
|
@@ -729,22 +729,22 @@ const Lo = /* @__PURE__ */ new Set([
|
|
|
729
729
|
globality_v1: Vo,
|
|
730
730
|
ref_v1: Xo
|
|
731
731
|
};
|
|
732
|
-
var Gn = typeof global == "object" && global && global.Object === Object && global, Wo = typeof self == "object" && self && self.Object === Object && self, ie = Gn || Wo || Function("return this")(),
|
|
732
|
+
var Gn = typeof global == "object" && global && global.Object === Object && global, Wo = typeof self == "object" && self && self.Object === Object && self, ie = Gn || Wo || Function("return this")(), Ae = ie.Symbol, Yn = Object.prototype, zo = Yn.hasOwnProperty, Jo = Yn.toString, Ye = Ae ? Ae.toStringTag : void 0;
|
|
733
733
|
function Ho(r) {
|
|
734
|
-
var a = zo.call(r,
|
|
734
|
+
var a = zo.call(r, Ye), c = r[Ye];
|
|
735
735
|
try {
|
|
736
|
-
r[
|
|
736
|
+
r[Ye] = void 0;
|
|
737
737
|
var d = !0;
|
|
738
738
|
} catch {
|
|
739
739
|
}
|
|
740
740
|
var v = Jo.call(r);
|
|
741
|
-
return d && (a ? r[
|
|
741
|
+
return d && (a ? r[Ye] = c : delete r[Ye]), v;
|
|
742
742
|
}
|
|
743
743
|
var qo = Object.prototype, Ko = qo.toString;
|
|
744
744
|
function Zo(r) {
|
|
745
745
|
return Ko.call(r);
|
|
746
746
|
}
|
|
747
|
-
var Qo = "[object Null]", ea = "[object Undefined]", an =
|
|
747
|
+
var Qo = "[object Null]", ea = "[object Undefined]", an = Ae ? Ae.toStringTag : void 0;
|
|
748
748
|
function Qe(r) {
|
|
749
749
|
return r == null ? r === void 0 ? ea : Qo : an && an in Object(r) ? Ho(r) : Zo(r);
|
|
750
750
|
}
|
|
@@ -771,7 +771,7 @@ function oa(r) {
|
|
|
771
771
|
return !!sn && sn in r;
|
|
772
772
|
}
|
|
773
773
|
var aa = Function.prototype, sa = aa.toString;
|
|
774
|
-
function
|
|
774
|
+
function Re(r) {
|
|
775
775
|
if (r != null) {
|
|
776
776
|
try {
|
|
777
777
|
return sa.call(r);
|
|
@@ -791,16 +791,16 @@ function va(r) {
|
|
|
791
791
|
if (!tt(r) || oa(r))
|
|
792
792
|
return !1;
|
|
793
793
|
var a = Xn(r) ? da : ca;
|
|
794
|
-
return a.test(
|
|
794
|
+
return a.test(Re(r));
|
|
795
795
|
}
|
|
796
796
|
function ya(r, a) {
|
|
797
797
|
return r == null ? void 0 : r[a];
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function Oe(r, a) {
|
|
800
800
|
var c = ya(r, a);
|
|
801
801
|
return va(c) ? c : void 0;
|
|
802
802
|
}
|
|
803
|
-
var Kt =
|
|
803
|
+
var Kt = Oe(ie, "WeakMap"), un = Object.create, Ea = /* @__PURE__ */ function() {
|
|
804
804
|
function r() {
|
|
805
805
|
}
|
|
806
806
|
return function(a) {
|
|
@@ -821,7 +821,7 @@ function ga(r, a) {
|
|
|
821
821
|
}
|
|
822
822
|
var cn = function() {
|
|
823
823
|
try {
|
|
824
|
-
var r =
|
|
824
|
+
var r = Oe(Object, "defineProperty");
|
|
825
825
|
return r({}, "", {}), r;
|
|
826
826
|
} catch {
|
|
827
827
|
}
|
|
@@ -901,13 +901,13 @@ function sr(r) {
|
|
|
901
901
|
return r(a);
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
var ei = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
904
|
+
var ei = typeof exports == "object" && exports && !exports.nodeType && exports, Je = ei && typeof module == "object" && module && !module.nodeType && module, as = Je && Je.exports === ei, Wt = as && Gn.process, Ie = function() {
|
|
905
905
|
try {
|
|
906
|
-
var r =
|
|
906
|
+
var r = Je && Je.require && Je.require("util").types;
|
|
907
907
|
return r || Wt && Wt.binding && Wt.binding("util");
|
|
908
908
|
} catch {
|
|
909
909
|
}
|
|
910
|
-
}(), hn =
|
|
910
|
+
}(), hn = Ie && Ie.isTypedArray, ss = hn ? sr(hn) : os, us = Object.prototype, cs = us.hasOwnProperty;
|
|
911
911
|
function ti(r, a) {
|
|
912
912
|
var c = or(r), d = !c && Aa(r), v = !c && !d && Qn(r), b = !c && !d && !v && ss(r), m = c || d || v || b, S = m ? Pa(r.length, String) : [], T = S.length;
|
|
913
913
|
for (var n in r)
|
|
@@ -954,9 +954,9 @@ function Es(r) {
|
|
|
954
954
|
function cr(r) {
|
|
955
955
|
return qn(r) ? ti(r, !0) : Es(r);
|
|
956
956
|
}
|
|
957
|
-
var
|
|
957
|
+
var qe = Oe(Object, "create");
|
|
958
958
|
function gs() {
|
|
959
|
-
this.__data__ =
|
|
959
|
+
this.__data__ = qe ? qe(null) : {}, this.size = 0;
|
|
960
960
|
}
|
|
961
961
|
function _s(r) {
|
|
962
962
|
var a = this.has(r) && delete this.__data__[r];
|
|
@@ -965,7 +965,7 @@ function _s(r) {
|
|
|
965
965
|
var bs = "__lodash_hash_undefined__", ms = Object.prototype, Rs = ms.hasOwnProperty;
|
|
966
966
|
function Os(r) {
|
|
967
967
|
var a = this.__data__;
|
|
968
|
-
if (
|
|
968
|
+
if (qe) {
|
|
969
969
|
var c = a[r];
|
|
970
970
|
return c === bs ? void 0 : c;
|
|
971
971
|
}
|
|
@@ -974,25 +974,25 @@ function Os(r) {
|
|
|
974
974
|
var Ns = Object.prototype, Ss = Ns.hasOwnProperty;
|
|
975
975
|
function Ts(r) {
|
|
976
976
|
var a = this.__data__;
|
|
977
|
-
return
|
|
977
|
+
return qe ? a[r] !== void 0 : Ss.call(a, r);
|
|
978
978
|
}
|
|
979
979
|
var Ps = "__lodash_hash_undefined__";
|
|
980
980
|
function ws(r, a) {
|
|
981
981
|
var c = this.__data__;
|
|
982
|
-
return this.size += this.has(r) ? 0 : 1, c[r] =
|
|
982
|
+
return this.size += this.has(r) ? 0 : 1, c[r] = qe && a === void 0 ? Ps : a, this;
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function me(r) {
|
|
985
985
|
var a = -1, c = r == null ? 0 : r.length;
|
|
986
986
|
for (this.clear(); ++a < c; ) {
|
|
987
987
|
var d = r[a];
|
|
988
988
|
this.set(d[0], d[1]);
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
991
|
+
me.prototype.clear = gs;
|
|
992
|
+
me.prototype.delete = _s;
|
|
993
|
+
me.prototype.get = Os;
|
|
994
|
+
me.prototype.has = Ts;
|
|
995
|
+
me.prototype.set = ws;
|
|
996
996
|
function Cs() {
|
|
997
997
|
this.__data__ = [], this.size = 0;
|
|
998
998
|
}
|
|
@@ -1033,12 +1033,12 @@ le.prototype.delete = Is;
|
|
|
1033
1033
|
le.prototype.get = ks;
|
|
1034
1034
|
le.prototype.has = Ds;
|
|
1035
1035
|
le.prototype.set = js;
|
|
1036
|
-
var
|
|
1036
|
+
var Ke = Oe(ie, "Map");
|
|
1037
1037
|
function Ls() {
|
|
1038
1038
|
this.size = 0, this.__data__ = {
|
|
1039
|
-
hash: new
|
|
1040
|
-
map: new (
|
|
1041
|
-
string: new
|
|
1039
|
+
hash: new me(),
|
|
1040
|
+
map: new (Ke || le)(),
|
|
1041
|
+
string: new me()
|
|
1042
1042
|
};
|
|
1043
1043
|
}
|
|
1044
1044
|
function Fs(r) {
|
|
@@ -1063,18 +1063,18 @@ function $s(r, a) {
|
|
|
1063
1063
|
var c = Et(this, r), d = c.size;
|
|
1064
1064
|
return c.set(r, a), this.size += c.size == d ? 0 : 1, this;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function ke(r) {
|
|
1067
1067
|
var a = -1, c = r == null ? 0 : r.length;
|
|
1068
1068
|
for (this.clear(); ++a < c; ) {
|
|
1069
1069
|
var d = r[a];
|
|
1070
1070
|
this.set(d[0], d[1]);
|
|
1071
1071
|
}
|
|
1072
1072
|
}
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1073
|
+
ke.prototype.clear = Ls;
|
|
1074
|
+
ke.prototype.delete = Us;
|
|
1075
|
+
ke.prototype.get = Ms;
|
|
1076
|
+
ke.prototype.has = Bs;
|
|
1077
|
+
ke.prototype.set = $s;
|
|
1078
1078
|
function ni(r, a) {
|
|
1079
1079
|
for (var c = -1, d = a.length, v = r.length; ++c < d; )
|
|
1080
1080
|
r[v + c] = a[c];
|
|
@@ -1099,21 +1099,21 @@ function zs(r, a) {
|
|
|
1099
1099
|
var c = this.__data__;
|
|
1100
1100
|
if (c instanceof le) {
|
|
1101
1101
|
var d = c.__data__;
|
|
1102
|
-
if (!
|
|
1102
|
+
if (!Ke || d.length < Ws - 1)
|
|
1103
1103
|
return d.push([r, a]), this.size = ++c.size, this;
|
|
1104
|
-
c = this.__data__ = new
|
|
1104
|
+
c = this.__data__ = new ke(d);
|
|
1105
1105
|
}
|
|
1106
1106
|
return c.set(r, a), this.size = c.size, this;
|
|
1107
1107
|
}
|
|
1108
|
-
function
|
|
1108
|
+
function De(r) {
|
|
1109
1109
|
var a = this.__data__ = new le(r);
|
|
1110
1110
|
this.size = a.size;
|
|
1111
1111
|
}
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1112
|
+
De.prototype.clear = Vs;
|
|
1113
|
+
De.prototype.delete = Gs;
|
|
1114
|
+
De.prototype.get = Ys;
|
|
1115
|
+
De.prototype.has = Xs;
|
|
1116
|
+
De.prototype.set = zs;
|
|
1117
1117
|
function Js(r, a) {
|
|
1118
1118
|
return r && vt(a, ur(a), r);
|
|
1119
1119
|
}
|
|
@@ -1163,9 +1163,9 @@ function iu(r) {
|
|
|
1163
1163
|
function ou(r) {
|
|
1164
1164
|
return ui(r, cr, si);
|
|
1165
1165
|
}
|
|
1166
|
-
var Zt =
|
|
1167
|
-
(Zt && ce(new Zt(new ArrayBuffer(1))) != Rn ||
|
|
1168
|
-
var a = Qe(r), c = a == au ? r.constructor : void 0, d = c ?
|
|
1166
|
+
var Zt = Oe(ie, "DataView"), Qt = Oe(ie, "Promise"), er = Oe(ie, "Set"), gn = "[object Map]", au = "[object Object]", _n = "[object Promise]", bn = "[object Set]", mn = "[object WeakMap]", Rn = "[object DataView]", su = Re(Zt), uu = Re(Ke), cu = Re(Qt), fu = Re(er), lu = Re(Kt), ce = Qe;
|
|
1167
|
+
(Zt && ce(new Zt(new ArrayBuffer(1))) != Rn || Ke && ce(new Ke()) != gn || Qt && ce(Qt.resolve()) != _n || er && ce(new er()) != bn || Kt && ce(new Kt()) != mn) && (ce = function(r) {
|
|
1168
|
+
var a = Qe(r), c = a == au ? r.constructor : void 0, d = c ? Re(c) : "";
|
|
1169
1169
|
if (d)
|
|
1170
1170
|
switch (d) {
|
|
1171
1171
|
case su:
|
|
@@ -1200,7 +1200,7 @@ function Eu(r) {
|
|
|
1200
1200
|
var a = new r.constructor(r.source, yu.exec(r));
|
|
1201
1201
|
return a.lastIndex = r.lastIndex, a;
|
|
1202
1202
|
}
|
|
1203
|
-
var Nn =
|
|
1203
|
+
var Nn = Ae ? Ae.prototype : void 0, Sn = Nn ? Nn.valueOf : void 0;
|
|
1204
1204
|
function gu(r) {
|
|
1205
1205
|
return Sn ? Object(Sn.call(r)) : {};
|
|
1206
1206
|
}
|
|
@@ -1249,11 +1249,11 @@ var $u = "[object Map]";
|
|
|
1249
1249
|
function Vu(r) {
|
|
1250
1250
|
return et(r) && ce(r) == $u;
|
|
1251
1251
|
}
|
|
1252
|
-
var Tn =
|
|
1252
|
+
var Tn = Ie && Ie.isMap, Gu = Tn ? sr(Tn) : Vu, Yu = "[object Set]";
|
|
1253
1253
|
function Xu(r) {
|
|
1254
1254
|
return et(r) && ce(r) == Yu;
|
|
1255
1255
|
}
|
|
1256
|
-
var Pn =
|
|
1256
|
+
var Pn = Ie && Ie.isSet, Wu = Pn ? sr(Pn) : Xu, zu = 1, Ju = 2, Hu = 4, ci = "[object Arguments]", qu = "[object Array]", Ku = "[object Boolean]", Zu = "[object Date]", Qu = "[object Error]", fi = "[object Function]", ec = "[object GeneratorFunction]", tc = "[object Map]", rc = "[object Number]", li = "[object Object]", nc = "[object RegExp]", ic = "[object Set]", oc = "[object String]", ac = "[object Symbol]", sc = "[object WeakMap]", uc = "[object ArrayBuffer]", cc = "[object DataView]", fc = "[object Float32Array]", lc = "[object Float64Array]", pc = "[object Int8Array]", hc = "[object Int16Array]", dc = "[object Int32Array]", vc = "[object Uint8Array]", yc = "[object Uint8ClampedArray]", Ec = "[object Uint16Array]", gc = "[object Uint32Array]", B = {};
|
|
1257
1257
|
B[ci] = B[qu] = B[uc] = B[cc] = B[Ku] = B[Zu] = B[fc] = B[lc] = B[pc] = B[hc] = B[dc] = B[tc] = B[rc] = B[li] = B[nc] = B[ic] = B[oc] = B[ac] = B[vc] = B[yc] = B[Ec] = B[gc] = !0;
|
|
1258
1258
|
B[Qu] = B[fi] = B[sc] = !1;
|
|
1259
1259
|
function ht(r, a, c, d, v, b) {
|
|
@@ -1279,7 +1279,7 @@ function ht(r, a, c, d, v, b) {
|
|
|
1279
1279
|
m = Mu(r, e, S);
|
|
1280
1280
|
}
|
|
1281
1281
|
}
|
|
1282
|
-
b = new
|
|
1282
|
+
b = new De();
|
|
1283
1283
|
var s = b.get(r);
|
|
1284
1284
|
if (s)
|
|
1285
1285
|
return s;
|
|
@@ -1408,49 +1408,49 @@ function tf(r) {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
const pi = Symbol(), hi = Symbol(), di = Symbol(), vi = Symbol(), yi = Symbol(), Ei = Symbol(), gi = Symbol(), _i = Symbol(), bi = Symbol();
|
|
1410
1410
|
function rf(r) {
|
|
1411
|
-
fe(pi,
|
|
1411
|
+
fe(pi, Ze(r));
|
|
1412
1412
|
}
|
|
1413
1413
|
function Oc() {
|
|
1414
1414
|
return te(pi);
|
|
1415
1415
|
}
|
|
1416
1416
|
function nf(r) {
|
|
1417
|
-
fe(hi,
|
|
1417
|
+
fe(hi, r);
|
|
1418
1418
|
}
|
|
1419
1419
|
function Nc() {
|
|
1420
1420
|
return te(hi);
|
|
1421
1421
|
}
|
|
1422
1422
|
function of(r) {
|
|
1423
|
-
fe(di,
|
|
1423
|
+
fe(di, r);
|
|
1424
1424
|
}
|
|
1425
1425
|
function Sc() {
|
|
1426
1426
|
return te(di);
|
|
1427
1427
|
}
|
|
1428
1428
|
function af(r) {
|
|
1429
|
-
fe(vi,
|
|
1429
|
+
fe(vi, Ze(r));
|
|
1430
1430
|
}
|
|
1431
1431
|
function Tc() {
|
|
1432
1432
|
return te(vi);
|
|
1433
1433
|
}
|
|
1434
1434
|
function sf(r) {
|
|
1435
|
-
fe(yi,
|
|
1435
|
+
fe(yi, Ze(r));
|
|
1436
1436
|
}
|
|
1437
1437
|
function uf() {
|
|
1438
1438
|
return te(yi);
|
|
1439
1439
|
}
|
|
1440
1440
|
function cf(r) {
|
|
1441
|
-
fe(Ei,
|
|
1441
|
+
fe(Ei, r);
|
|
1442
1442
|
}
|
|
1443
1443
|
function Pc() {
|
|
1444
1444
|
return te(Ei);
|
|
1445
1445
|
}
|
|
1446
1446
|
function ff(r) {
|
|
1447
|
-
fe(gi,
|
|
1447
|
+
fe(gi, Ze(r));
|
|
1448
1448
|
}
|
|
1449
1449
|
function wc() {
|
|
1450
1450
|
return te(gi);
|
|
1451
1451
|
}
|
|
1452
1452
|
function lf(r) {
|
|
1453
|
-
fe(_i,
|
|
1453
|
+
fe(_i, Ze(r));
|
|
1454
1454
|
}
|
|
1455
1455
|
function Cc() {
|
|
1456
1456
|
return te(_i);
|
|
@@ -1463,21 +1463,21 @@ function pf() {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
function Ac(r) {
|
|
1465
1465
|
const a = Sc(), c = Tc(), d = ue(() => r.node.width), v = ue(() => r.node.minWidth), b = ue(() => r.node.maxWidth), m = ue(() => {
|
|
1466
|
-
if (r.outer && a
|
|
1466
|
+
if (r.outer && a === "editor") {
|
|
1467
1467
|
const t = Yt(r.node.height);
|
|
1468
1468
|
if (t)
|
|
1469
1469
|
return t / 100 * c.value.height + "px";
|
|
1470
1470
|
}
|
|
1471
1471
|
return r.node.height;
|
|
1472
1472
|
}), S = ue(() => {
|
|
1473
|
-
if (r.outer && a
|
|
1473
|
+
if (r.outer && a === "editor") {
|
|
1474
1474
|
const t = Yt(r.node.minHeight);
|
|
1475
1475
|
if (t)
|
|
1476
1476
|
return t / 100 * c.value.height + "px";
|
|
1477
1477
|
}
|
|
1478
1478
|
return r.node.minHeight;
|
|
1479
1479
|
}), T = ue(() => {
|
|
1480
|
-
if (r.outer && a
|
|
1480
|
+
if (r.outer && a === "editor") {
|
|
1481
1481
|
const t = Yt(r.node.maxHeight);
|
|
1482
1482
|
if (t)
|
|
1483
1483
|
return t / 100 * c.value.height + "px";
|
|
@@ -4646,7 +4646,7 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4646
4646
|
var g = new SyntaxError(h);
|
|
4647
4647
|
throw g.pos = l, g.loc = y, g.raisedAt = o, g;
|
|
4648
4648
|
}
|
|
4649
|
-
var
|
|
4649
|
+
var ve = [], H = { type: "num" }, pr = { type: "regexp" }, gt = { type: "string" }, Ne = { type: "name" }, _t = { type: "eof" }, bt = { keyword: "break" }, mt = { keyword: "case", beforeExpr: !0 }, hr = { keyword: "catch" }, dr = { keyword: "continue" }, vr = { keyword: "debugger" }, yr = { keyword: "default" }, Er = { keyword: "do", isLoop: !0 }, gr = { keyword: "else", beforeExpr: !0 }, _r = { keyword: "finally" }, br = { keyword: "for", isLoop: !0 }, Rt = { keyword: "function" }, mr = { keyword: "if" }, Rr = { keyword: "return", beforeExpr: !0 }, Ot = { keyword: "switch" }, Or = { keyword: "throw", beforeExpr: !0 }, Nr = { keyword: "try" }, Nt = { keyword: "var" }, St = { keyword: "while", isLoop: !0 }, Sr = { keyword: "with" }, Tr = { keyword: "new", beforeExpr: !0 }, Pr = { keyword: "this" }, wr = { keyword: "null", atomValue: null }, Cr = { keyword: "true", atomValue: !0 }, xr = { keyword: "false", atomValue: !1 }, rt = { keyword: "in", binop: 7, beforeExpr: !0 }, Ri = {
|
|
4650
4650
|
break: bt,
|
|
4651
4651
|
case: mt,
|
|
4652
4652
|
catch: hr,
|
|
@@ -4676,7 +4676,7 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4676
4676
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4677
4677
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4678
4678
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4679
|
-
}, Tt = { type: "[", beforeExpr: !0 }, Pt = { type: "]" },
|
|
4679
|
+
}, Tt = { type: "[", beforeExpr: !0 }, Pt = { type: "]" }, je = { type: "{", beforeExpr: !0 }, Se = { type: "}" }, oe = { type: "(", beforeExpr: !0 }, re = { type: ")" }, pe = { type: ",", beforeExpr: !0 }, ae = { type: ";", beforeExpr: !0 }, Le = { type: ":", beforeExpr: !0 }, Ar = { type: "." }, Ir = { type: "?", beforeExpr: !0 }, kr = { binop: 10, beforeExpr: !0 }, Dr = { isAssign: !0, beforeExpr: !0 }, ye = { isAssign: !0, beforeExpr: !0 }, Oi = { postfix: !0, prefix: !0, isUpdate: !0 }, jr = { prefix: !0, beforeExpr: !0 }, Lr = { binop: 1, beforeExpr: !0 }, Fr = { binop: 2, beforeExpr: !0 }, Ni = { binop: 3, beforeExpr: !0 }, Si = { binop: 4, beforeExpr: !0 }, Ti = { binop: 5, beforeExpr: !0 }, Pi = { binop: 6, beforeExpr: !0 }, wi = { binop: 7, beforeExpr: !0 }, Ci = { binop: 8, beforeExpr: !0 }, xi = { binop: 9, prefix: !0, beforeExpr: !0 }, Ai = { binop: 10, beforeExpr: !0 };
|
|
4680
4680
|
function nt(l) {
|
|
4681
4681
|
for (var h = l.split(" "), y = /* @__PURE__ */ Object.create(null), g = 0; g < h.length; g++)
|
|
4682
4682
|
y[h[g]] = !0;
|
|
@@ -4689,17 +4689,17 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4689
4689
|
}, $r = function(l) {
|
|
4690
4690
|
return l < 48 ? l === 36 : l < 58 ? !0 : l < 65 ? !1 : l < 91 ? !0 : l < 97 ? l === 95 : l < 123 ? !0 : l >= 170 && Li.test(String.fromCharCode(l));
|
|
4691
4691
|
};
|
|
4692
|
-
function
|
|
4692
|
+
function Ee() {
|
|
4693
4693
|
this.line = L, this.column = o - V;
|
|
4694
4694
|
}
|
|
4695
4695
|
function Fi() {
|
|
4696
|
-
L = 1, o = V = 0, R = !0,
|
|
4696
|
+
L = 1, o = V = 0, R = !0, Fe();
|
|
4697
4697
|
}
|
|
4698
4698
|
function z(l, h) {
|
|
4699
|
-
E = o, n.locations && (P = new
|
|
4699
|
+
E = o, n.locations && (P = new Ee()), O = l, Fe(), C = h, R = l.beforeExpr;
|
|
4700
4700
|
}
|
|
4701
4701
|
function Ui() {
|
|
4702
|
-
var l = n.onComment && n.locations && new
|
|
4702
|
+
var l = n.onComment && n.locations && new Ee(), h = o, y = t.indexOf("*/", o += 2);
|
|
4703
4703
|
if (y === -1 && k(o - 2, "Unterminated comment"), o = y + 2, n.locations) {
|
|
4704
4704
|
at.lastIndex = h;
|
|
4705
4705
|
for (var g; (g = at.exec(t)) && g.index < o; )
|
|
@@ -4711,11 +4711,11 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4711
4711
|
h,
|
|
4712
4712
|
o,
|
|
4713
4713
|
l,
|
|
4714
|
-
n.locations && new
|
|
4714
|
+
n.locations && new Ee()
|
|
4715
4715
|
);
|
|
4716
4716
|
}
|
|
4717
4717
|
function wt() {
|
|
4718
|
-
for (var l = o, h = n.onComment && n.locations && new
|
|
4718
|
+
for (var l = o, h = n.onComment && n.locations && new Ee(), y = t.charCodeAt(o += 2); o < e && y !== 10 && y !== 13 && y !== 8232 && y !== 8233; )
|
|
4719
4719
|
++o, y = t.charCodeAt(o);
|
|
4720
4720
|
n.onComment && n.onComment(
|
|
4721
4721
|
!1,
|
|
@@ -4723,10 +4723,10 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4723
4723
|
l,
|
|
4724
4724
|
o,
|
|
4725
4725
|
h,
|
|
4726
|
-
n.locations && new
|
|
4726
|
+
n.locations && new Ee()
|
|
4727
4727
|
);
|
|
4728
4728
|
}
|
|
4729
|
-
function
|
|
4729
|
+
function Fe() {
|
|
4730
4730
|
for (; o < e; ) {
|
|
4731
4731
|
var l = t.charCodeAt(o);
|
|
4732
4732
|
if (l === 32)
|
|
@@ -4761,39 +4761,39 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4761
4761
|
}
|
|
4762
4762
|
function Bi() {
|
|
4763
4763
|
var l = t.charCodeAt(o + 1);
|
|
4764
|
-
R ? (++o, Vr()) : l === 61 ? J(
|
|
4764
|
+
R ? (++o, Vr()) : l === 61 ? J(ye, 2) : J(kr, 1);
|
|
4765
4765
|
}
|
|
4766
4766
|
function $i() {
|
|
4767
4767
|
var l = t.charCodeAt(o + 1);
|
|
4768
|
-
l === 61 ? J(
|
|
4768
|
+
l === 61 ? J(ye, 2) : J(Ai, 1);
|
|
4769
4769
|
}
|
|
4770
4770
|
function Vi(l) {
|
|
4771
4771
|
var h = t.charCodeAt(o + 1);
|
|
4772
|
-
h === l ? J(l === 124 ? Lr : Fr, 2) : h === 61 ? J(
|
|
4772
|
+
h === l ? J(l === 124 ? Lr : Fr, 2) : h === 61 ? J(ye, 2) : J(l === 124 ? Ni : Ti, 1);
|
|
4773
4773
|
}
|
|
4774
4774
|
function Gi() {
|
|
4775
4775
|
var l = t.charCodeAt(o + 1);
|
|
4776
|
-
l === 61 ? J(
|
|
4776
|
+
l === 61 ? J(ye, 2) : J(Si, 1);
|
|
4777
4777
|
}
|
|
4778
4778
|
function Yi(l) {
|
|
4779
4779
|
var h = t.charCodeAt(o + 1);
|
|
4780
4780
|
if (h === l) {
|
|
4781
4781
|
if (h === 45 && t.charCodeAt(o + 2) === 62 && ot.test(t.slice(N, o))) {
|
|
4782
|
-
o += 3, wt(),
|
|
4782
|
+
o += 3, wt(), Fe(), Te();
|
|
4783
4783
|
return;
|
|
4784
4784
|
}
|
|
4785
4785
|
J(Oi, 2);
|
|
4786
4786
|
} else
|
|
4787
|
-
h === 61 ? J(
|
|
4787
|
+
h === 61 ? J(ye, 2) : J(xi, 1);
|
|
4788
4788
|
}
|
|
4789
4789
|
function Xi(l) {
|
|
4790
4790
|
var h = t.charCodeAt(o + 1), y = 1;
|
|
4791
4791
|
if (h === l) {
|
|
4792
|
-
y = l === 62 && t.charCodeAt(o + 2) === 62 ? 3 : 2, t.charCodeAt(o + y) === 61 ? J(
|
|
4792
|
+
y = l === 62 && t.charCodeAt(o + 2) === 62 ? 3 : 2, t.charCodeAt(o + y) === 61 ? J(ye, y + 1) : J(Ci, y);
|
|
4793
4793
|
return;
|
|
4794
4794
|
}
|
|
4795
4795
|
if (h === 33 && l === 60 && t.charCodeAt(o + 2) === 45 && t.charCodeAt(o + 3) === 45) {
|
|
4796
|
-
o += 4, wt(),
|
|
4796
|
+
o += 4, wt(), Fe(), Te();
|
|
4797
4797
|
return;
|
|
4798
4798
|
}
|
|
4799
4799
|
h === 61 && (y = t.charCodeAt(o + 2) === 61 ? 3 : 2), J(wi, y);
|
|
@@ -4819,11 +4819,11 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4819
4819
|
case 93:
|
|
4820
4820
|
return ++o, z(Pt);
|
|
4821
4821
|
case 123:
|
|
4822
|
-
return ++o, z(
|
|
4822
|
+
return ++o, z(je);
|
|
4823
4823
|
case 125:
|
|
4824
|
-
return ++o, z(
|
|
4824
|
+
return ++o, z(Se);
|
|
4825
4825
|
case 58:
|
|
4826
|
-
return ++o, z(
|
|
4826
|
+
return ++o, z(Le);
|
|
4827
4827
|
case 63:
|
|
4828
4828
|
return ++o, z(Ir);
|
|
4829
4829
|
case 48:
|
|
@@ -4867,8 +4867,8 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4867
4867
|
}
|
|
4868
4868
|
return !1;
|
|
4869
4869
|
}
|
|
4870
|
-
function
|
|
4871
|
-
if (l ? o = p + 1 : p = o, n.locations && (_ = new
|
|
4870
|
+
function Te(l) {
|
|
4871
|
+
if (l ? o = p + 1 : p = o, n.locations && (_ = new Ee()), l)
|
|
4872
4872
|
return Vr();
|
|
4873
4873
|
if (o >= e)
|
|
4874
4874
|
return z(_t);
|
|
@@ -4915,7 +4915,7 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4915
4915
|
}
|
|
4916
4916
|
z(pr, D);
|
|
4917
4917
|
}
|
|
4918
|
-
function
|
|
4918
|
+
function Ue(l, h) {
|
|
4919
4919
|
for (var y = o, g = 0, I = h === void 0 ? 1 / 0 : h, x = 0; x < I; ++x) {
|
|
4920
4920
|
var D = t.charCodeAt(o), G;
|
|
4921
4921
|
if (D >= 97 ? G = D - 97 + 10 : D >= 65 ? G = D - 65 + 10 : D >= 48 && D <= 57 ? G = D - 48 : G = 1 / 0, G >= l)
|
|
@@ -4926,14 +4926,14 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4926
4926
|
}
|
|
4927
4927
|
function Ji() {
|
|
4928
4928
|
o += 2;
|
|
4929
|
-
var l =
|
|
4929
|
+
var l = Ue(16);
|
|
4930
4930
|
l === null && k(p + 2, "Expected hexadecimal number"), st(t.charCodeAt(o)) && k(o, "Identifier directly after number"), z(H, l);
|
|
4931
4931
|
}
|
|
4932
4932
|
function Gr(l) {
|
|
4933
4933
|
var h = o, y = !1, g = t.charCodeAt(o) === 48;
|
|
4934
|
-
!l &&
|
|
4934
|
+
!l && Ue(10) === null && k(h, "Invalid number"), t.charCodeAt(o) === 46 && (++o, Ue(10), y = !0);
|
|
4935
4935
|
var I = t.charCodeAt(o);
|
|
4936
|
-
(I === 69 || I === 101) && (I = t.charCodeAt(++o), (I === 43 || I === 45) && ++o,
|
|
4936
|
+
(I === 69 || I === 101) && (I = t.charCodeAt(++o), (I === 43 || I === 45) && ++o, Ue(10) === null && k(h, "Invalid number"), y = !0), st(t.charCodeAt(o)) && k(o, "Identifier directly after number");
|
|
4937
4937
|
var x = t.slice(h, o), D;
|
|
4938
4938
|
y ? D = parseFloat(x) : !g || x.length === 1 ? D = parseInt(x, 10) : /[89]/.test(x) || Z ? k(h, "Invalid number") : D = parseInt(x, 8), z(H, D);
|
|
4939
4939
|
}
|
|
@@ -5000,40 +5000,40 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5000
5000
|
}
|
|
5001
5001
|
}
|
|
5002
5002
|
function ut(l) {
|
|
5003
|
-
var h =
|
|
5003
|
+
var h = Ue(16, l);
|
|
5004
5004
|
return h === null && k(p, "Bad character escape sequence"), /** @type {number} */
|
|
5005
5005
|
h;
|
|
5006
5006
|
}
|
|
5007
|
-
var
|
|
5007
|
+
var Pe;
|
|
5008
5008
|
function Yr() {
|
|
5009
|
-
|
|
5009
|
+
Pe = !1;
|
|
5010
5010
|
for (var l, h = !0, y = o; ; ) {
|
|
5011
5011
|
var g = t.charCodeAt(o);
|
|
5012
5012
|
if ($r(g))
|
|
5013
|
-
|
|
5013
|
+
Pe && (l += t.charAt(o)), ++o;
|
|
5014
5014
|
else if (g === 92) {
|
|
5015
|
-
|
|
5015
|
+
Pe || (l = t.slice(y, o)), Pe = !0, t.charCodeAt(++o) !== 117 && k(o, "Expecting Unicode escape sequence \\uXXXX"), ++o;
|
|
5016
5016
|
var I = ut(4), x = String.fromCharCode(I);
|
|
5017
5017
|
x || k(o - 1, "Invalid Unicode escape"), (h ? st(I) : $r(I)) || k(o - 4, "Invalid Unicode escape"), l += x;
|
|
5018
5018
|
} else
|
|
5019
5019
|
break;
|
|
5020
5020
|
h = !1;
|
|
5021
5021
|
}
|
|
5022
|
-
return
|
|
5022
|
+
return Pe ? l : t.slice(y, o);
|
|
5023
5023
|
}
|
|
5024
5024
|
function Xr() {
|
|
5025
|
-
var l = Yr(), h =
|
|
5026
|
-
!
|
|
5025
|
+
var l = Yr(), h = Ne;
|
|
5026
|
+
!Pe && ki(l) && (h = Ri[l]), z(h, l);
|
|
5027
5027
|
}
|
|
5028
5028
|
function j() {
|
|
5029
|
-
w = p, N = E, F = P,
|
|
5029
|
+
w = p, N = E, F = P, Te();
|
|
5030
5030
|
}
|
|
5031
5031
|
function Ct(l) {
|
|
5032
5032
|
if (Z = l, o = p, n.locations)
|
|
5033
5033
|
for (; o < V; )
|
|
5034
5034
|
V = t.lastIndexOf(`
|
|
5035
5035
|
`, V - 2) + 1, --L;
|
|
5036
|
-
|
|
5036
|
+
Fe(), Te();
|
|
5037
5037
|
}
|
|
5038
5038
|
function Wr() {
|
|
5039
5039
|
this.type = null, this.start = p, this.end = null;
|
|
@@ -5059,9 +5059,9 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5059
5059
|
return O === l ? (j(), !0) : !1;
|
|
5060
5060
|
}
|
|
5061
5061
|
function ct() {
|
|
5062
|
-
return !n.strictSemicolons && (O === _t || O ===
|
|
5062
|
+
return !n.strictSemicolons && (O === _t || O === Se || ot.test(t.slice(N, p)));
|
|
5063
5063
|
}
|
|
5064
|
-
function
|
|
5064
|
+
function ge() {
|
|
5065
5065
|
!Y(ae) && !ct() && se();
|
|
5066
5066
|
}
|
|
5067
5067
|
function W(l) {
|
|
@@ -5074,7 +5074,7 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5074
5074
|
l.type !== "Identifier" && l.type !== "MemberExpression" && k(l.start, "Assigning to rvalue"), Z && l.type === "Identifier" && it(l.name) && k(l.start, "Assigning to " + l.name + " in strict mode");
|
|
5075
5075
|
}
|
|
5076
5076
|
function qi(l) {
|
|
5077
|
-
w = N = o, n.locations && (F = new
|
|
5077
|
+
w = N = o, n.locations && (F = new Ee()), X = Z = !1, U = [], Te();
|
|
5078
5078
|
var h = l || q(), y = !0;
|
|
5079
5079
|
for (l || (h.body = []); O !== _t; ) {
|
|
5080
5080
|
var g = ee();
|
|
@@ -5084,14 +5084,14 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5084
5084
|
}
|
|
5085
5085
|
var At = { kind: "loop" }, Ki = { kind: "switch" };
|
|
5086
5086
|
function ee() {
|
|
5087
|
-
(O === kr || O ===
|
|
5087
|
+
(O === kr || O === ye && C === "/=") && Te(!0);
|
|
5088
5088
|
var l = O, h = q();
|
|
5089
5089
|
switch (l) {
|
|
5090
5090
|
case bt:
|
|
5091
5091
|
case dr:
|
|
5092
5092
|
j();
|
|
5093
5093
|
var y = l === bt;
|
|
5094
|
-
Y(ae) || ct() ? h.label = null : O !==
|
|
5094
|
+
Y(ae) || ct() ? h.label = null : O !== Ne ? se() : (h.label = de(), ge());
|
|
5095
5095
|
for (var g = 0; g < U.length; ++g) {
|
|
5096
5096
|
var I = U[g];
|
|
5097
5097
|
if ((h.label === null || I.name === h.label.name) && (I.kind !== null && (y || I.kind === "loop") || h.label && y))
|
|
@@ -5099,9 +5099,9 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5099
5099
|
}
|
|
5100
5100
|
return g === U.length && k(h.start, "Unsyntactic " + l.keyword), A(h, y ? "BreakStatement" : "ContinueStatement");
|
|
5101
5101
|
case vr:
|
|
5102
|
-
return j(),
|
|
5102
|
+
return j(), ge(), A(h, "DebuggerStatement");
|
|
5103
5103
|
case Er:
|
|
5104
|
-
return j(), U.push(At), h.body = ee(), U.pop(), W(St), h.test =
|
|
5104
|
+
return j(), U.push(At), h.body = ee(), U.pop(), W(St), h.test = Me(), ge(), A(h, "DoWhileStatement");
|
|
5105
5105
|
case br:
|
|
5106
5106
|
if (j(), U.push(At), W(oe), O === ae)
|
|
5107
5107
|
return It(h, null);
|
|
@@ -5114,55 +5114,55 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5114
5114
|
case Rt:
|
|
5115
5115
|
return j(), Ft(h, !0);
|
|
5116
5116
|
case mr:
|
|
5117
|
-
return j(), h.test =
|
|
5117
|
+
return j(), h.test = Me(), h.consequent = ee(), h.alternate = Y(gr) ? ee() : null, A(h, "IfStatement");
|
|
5118
5118
|
case Rr:
|
|
5119
|
-
return !X && !n.allowReturnOutsideFunction && k(p, "'return' outside of function"), j(), Y(ae) || ct() ? h.argument = null : (h.argument = K(),
|
|
5119
|
+
return !X && !n.allowReturnOutsideFunction && k(p, "'return' outside of function"), j(), Y(ae) || ct() ? h.argument = null : (h.argument = K(), ge()), A(h, "ReturnStatement");
|
|
5120
5120
|
case Ot:
|
|
5121
|
-
j(), h.discriminant =
|
|
5122
|
-
for (var D, G; O !==
|
|
5121
|
+
j(), h.discriminant = Me(), h.cases = [], W(je), U.push(Ki);
|
|
5122
|
+
for (var D, G; O !== Se; )
|
|
5123
5123
|
if (O === mt || O === yr) {
|
|
5124
|
-
var
|
|
5125
|
-
D && A(D, "SwitchCase"), h.cases.push(D = q()), D.consequent = [], j(),
|
|
5124
|
+
var Ve = O === mt;
|
|
5125
|
+
D && A(D, "SwitchCase"), h.cases.push(D = q()), D.consequent = [], j(), Ve ? D.test = K() : (G && k(w, "Multiple default clauses"), G = !0, D.test = null), W(Le);
|
|
5126
5126
|
} else
|
|
5127
5127
|
D || se(), D.consequent.push(ee());
|
|
5128
5128
|
return D && A(D, "SwitchCase"), j(), U.pop(), A(h, "SwitchStatement");
|
|
5129
5129
|
case Or:
|
|
5130
|
-
return j(), ot.test(t.slice(N, p)) && k(N, "Illegal newline after throw"), h.argument = K(),
|
|
5130
|
+
return j(), ot.test(t.slice(N, p)) && k(N, "Illegal newline after throw"), h.argument = K(), ge(), A(h, "ThrowStatement");
|
|
5131
5131
|
case Nr:
|
|
5132
|
-
if (j(), h.block =
|
|
5133
|
-
var
|
|
5134
|
-
j(), W(oe),
|
|
5132
|
+
if (j(), h.block = Be(), h.handler = null, O === hr) {
|
|
5133
|
+
var we = q();
|
|
5134
|
+
j(), W(oe), we.param = de(), Z && it(we.param.name) && k(we.param.start, "Binding " + we.param.name + " in strict mode"), W(re), we.body = Be(), h.handler = A(we, "CatchClause");
|
|
5135
5135
|
}
|
|
5136
|
-
return h.finalizer = Y(_r) ?
|
|
5136
|
+
return h.finalizer = Y(_r) ? Be() : null, !h.handler && !h.finalizer && k(h.start, "Missing catch or finally clause"), A(h, "TryStatement");
|
|
5137
5137
|
case Nt:
|
|
5138
|
-
return j(), Hr(h),
|
|
5138
|
+
return j(), Hr(h), ge(), A(h, "VariableDeclaration");
|
|
5139
5139
|
case St:
|
|
5140
|
-
return j(), h.test =
|
|
5140
|
+
return j(), h.test = Me(), U.push(At), h.body = ee(), U.pop(), A(h, "WhileStatement");
|
|
5141
5141
|
case Sr:
|
|
5142
|
-
return Z && k(p, "'with' in strict mode"), j(), h.object =
|
|
5143
|
-
case
|
|
5144
|
-
return
|
|
5142
|
+
return Z && k(p, "'with' in strict mode"), j(), h.object = Me(), h.body = ee(), A(h, "WithStatement");
|
|
5143
|
+
case je:
|
|
5144
|
+
return Be();
|
|
5145
5145
|
case ae:
|
|
5146
5146
|
return j(), A(h, "EmptyStatement");
|
|
5147
5147
|
default:
|
|
5148
5148
|
var Mt = C, lt = K();
|
|
5149
|
-
if (l ===
|
|
5149
|
+
if (l === Ne && lt.type === "Identifier" && Y(Le)) {
|
|
5150
5150
|
for (var g = 0; g < U.length; ++g)
|
|
5151
5151
|
U[g].name === Mt && k(lt.start, "Label '" + Mt + "' is already declared");
|
|
5152
5152
|
var no = O.isLoop ? "loop" : O === Ot ? "switch" : null;
|
|
5153
5153
|
return U.push({ name: Mt, kind: no }), h.body = ee(), U.pop(), h.label = lt, A(h, "LabeledStatement");
|
|
5154
5154
|
} else
|
|
5155
|
-
return h.expression = lt,
|
|
5155
|
+
return h.expression = lt, ge(), A(h, "ExpressionStatement");
|
|
5156
5156
|
}
|
|
5157
5157
|
}
|
|
5158
|
-
function
|
|
5158
|
+
function Me() {
|
|
5159
5159
|
W(oe);
|
|
5160
5160
|
var l = K();
|
|
5161
5161
|
return W(re), l;
|
|
5162
5162
|
}
|
|
5163
|
-
function
|
|
5163
|
+
function Be(l) {
|
|
5164
5164
|
var h = q(), y = !0, g = !1, I;
|
|
5165
|
-
for (h.body = [], W(
|
|
5165
|
+
for (h.body = [], W(je); !Y(Se); ) {
|
|
5166
5166
|
var x = ee();
|
|
5167
5167
|
h.body.push(x), y && l && xt(x) && (I = g, Ct(g = !0)), y = !1;
|
|
5168
5168
|
}
|
|
@@ -5203,7 +5203,7 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5203
5203
|
var h = Qi(l);
|
|
5204
5204
|
if (Y(Ir)) {
|
|
5205
5205
|
var y = he(h);
|
|
5206
|
-
return y.test = h, y.consequent = K(!0), W(
|
|
5206
|
+
return y.test = h, y.consequent = K(!0), W(Le), y.alternate = K(!0, l), A(y, "ConditionalExpression");
|
|
5207
5207
|
}
|
|
5208
5208
|
return h;
|
|
5209
5209
|
}
|
|
@@ -5234,18 +5234,18 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5234
5234
|
return y;
|
|
5235
5235
|
}
|
|
5236
5236
|
function eo() {
|
|
5237
|
-
return
|
|
5237
|
+
return $e(Lt());
|
|
5238
5238
|
}
|
|
5239
|
-
function
|
|
5239
|
+
function $e(l, h) {
|
|
5240
5240
|
var y;
|
|
5241
|
-
return Y(Ar) ? (y = he(l), y.object = l, y.property = de(!0), y.computed = !1,
|
|
5241
|
+
return Y(Ar) ? (y = he(l), y.object = l, y.property = de(!0), y.computed = !1, $e(A(y, "MemberExpression"), h)) : Y(Tt) ? (y = he(l), y.object = l, y.property = K(), y.computed = !0, W(Pt), $e(A(y, "MemberExpression"), h)) : !h && Y(oe) ? (y = he(l), y.callee = l, y.arguments = Ut(re, !1), $e(A(y, "CallExpression"), h)) : l;
|
|
5242
5242
|
}
|
|
5243
5243
|
function Lt() {
|
|
5244
5244
|
var l;
|
|
5245
5245
|
switch (O) {
|
|
5246
5246
|
case Pr:
|
|
5247
5247
|
return l = q(), j(), A(l, "ThisExpression");
|
|
5248
|
-
case
|
|
5248
|
+
case Ne:
|
|
5249
5249
|
return de();
|
|
5250
5250
|
case H:
|
|
5251
5251
|
case gt:
|
|
@@ -5262,7 +5262,7 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5262
5262
|
return g.start = y, g.end = E, n.locations && (g.loc.start = h, g.loc.end = P), n.ranges && (g.range = [y, E]), W(re), g;
|
|
5263
5263
|
case Tt:
|
|
5264
5264
|
return l = q(), j(), l.elements = Ut(Pt, !0, !0), A(l, "ArrayExpression");
|
|
5265
|
-
case
|
|
5265
|
+
case je:
|
|
5266
5266
|
return ro();
|
|
5267
5267
|
case Rt:
|
|
5268
5268
|
return l = q(), j(), Ft(l, !1);
|
|
@@ -5273,22 +5273,22 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5273
5273
|
}
|
|
5274
5274
|
function to() {
|
|
5275
5275
|
var l = q();
|
|
5276
|
-
return j(), l.callee =
|
|
5276
|
+
return j(), l.callee = $e(Lt(), !0), l.arguments = Y(oe) ? Ut(re, !1) : ve, A(l, "NewExpression");
|
|
5277
5277
|
}
|
|
5278
5278
|
function ro() {
|
|
5279
5279
|
var l = q(), h = !0, y = !1;
|
|
5280
|
-
for (l.properties = [], j(); !Y(
|
|
5280
|
+
for (l.properties = [], j(); !Y(Se); ) {
|
|
5281
5281
|
if (h)
|
|
5282
5282
|
h = !1;
|
|
5283
|
-
else if (W(pe), n.allowTrailingCommas && Y(
|
|
5283
|
+
else if (W(pe), n.allowTrailingCommas && Y(Se))
|
|
5284
5284
|
break;
|
|
5285
5285
|
var g = { key: qr() }, I = !1, x;
|
|
5286
|
-
if (Y(
|
|
5286
|
+
if (Y(Le) ? (g.value = K(!0), x = g.kind = "init") : g.key.type === "Identifier" && (g.key.name === "get" || g.key.name === "set") ? (I = y = !0, x = g.kind = g.key.name, g.key = qr(), O !== oe && se(), g.value = Ft(q(), !1)) : se(), g.key.type === "Identifier" && (Z || y))
|
|
5287
5287
|
for (var D = 0; D < l.properties.length; ++D) {
|
|
5288
5288
|
var G = l.properties[D];
|
|
5289
5289
|
if (G.key.name === g.key.name) {
|
|
5290
|
-
var
|
|
5291
|
-
|
|
5290
|
+
var Ve = x === G.kind || I && G.kind === "init" || x === "init" && (G.kind === "get" || G.kind === "set");
|
|
5291
|
+
Ve && !Z && x === "init" && G.kind === "init" && (Ve = !1), Ve && k(g.key.start, "Redefinition of property");
|
|
5292
5292
|
}
|
|
5293
5293
|
}
|
|
5294
5294
|
l.properties.push(g);
|
|
@@ -5299,12 +5299,12 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5299
5299
|
return O === H || O === gt ? Lt() : de(!0);
|
|
5300
5300
|
}
|
|
5301
5301
|
function Ft(l, h) {
|
|
5302
|
-
O ===
|
|
5302
|
+
O === Ne ? l.id = de() : h ? se() : l.id = null, l.params = [];
|
|
5303
5303
|
var y = !0;
|
|
5304
5304
|
for (W(oe); !Y(re); )
|
|
5305
5305
|
y ? y = !1 : W(pe), l.params.push(de());
|
|
5306
5306
|
var g = X, I = U;
|
|
5307
|
-
if (X = !0, U = [], l.body =
|
|
5307
|
+
if (X = !0, U = [], l.body = Be(!0), X = g, U = I, Z || l.body.body.length && xt(l.body.body[0]))
|
|
5308
5308
|
for (var x = l.id ? -1 : 0; x < l.params.length; ++x) {
|
|
5309
5309
|
var D = x < 0 ? l.id : l.params[x];
|
|
5310
5310
|
if ((Ur(D.name) || it(D.name)) && k(D.start, "Defining '" + D.name + "' in strict mode"), x >= 0)
|
|
@@ -5325,7 +5325,7 @@ const jc = {}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5325
5325
|
}
|
|
5326
5326
|
function de(l) {
|
|
5327
5327
|
var h = q();
|
|
5328
|
-
return l && n.forbidReserved === "everywhere" && (l = !1), O ===
|
|
5328
|
+
return l && n.forbidReserved === "everywhere" && (l = !1), O === Ne ? (!l && (n.forbidReserved && Ii(C) || Z && Ur(C)) && t.slice(p, E).indexOf("\\") === -1 && k(p, "The keyword '" + C + "' is reserved"), h.name = C) : l && O.keyword ? h.name = O.keyword : se(), R = !1, j(), A(h, "Identifier");
|
|
5329
5329
|
}
|
|
5330
5330
|
});
|
|
5331
5331
|
}
|
|
@@ -5644,10 +5644,10 @@ const Jc = /* @__PURE__ */ ho({
|
|
|
5644
5644
|
});
|
|
5645
5645
|
const T = ne();
|
|
5646
5646
|
xc(T), rr(S, (o) => {
|
|
5647
|
-
o ||
|
|
5647
|
+
o || _e.emit("compNotAvail", a.refContext.refid), T.value && (xn(T.value), T.value = void 0), o && (T.value = zc(
|
|
5648
5648
|
{
|
|
5649
|
-
env: d
|
|
5650
|
-
type: v
|
|
5649
|
+
env: d,
|
|
5650
|
+
type: v,
|
|
5651
5651
|
data: o.data
|
|
5652
5652
|
},
|
|
5653
5653
|
o.data.code.main.script
|
|
@@ -5680,7 +5680,7 @@ const Jc = /* @__PURE__ */ ho({
|
|
|
5680
5680
|
return o.ref ? p = s(o) : p = u(o), p;
|
|
5681
5681
|
}
|
|
5682
5682
|
function s(o) {
|
|
5683
|
-
return
|
|
5683
|
+
return Ge("z-ref-v1", {
|
|
5684
5684
|
props: {
|
|
5685
5685
|
refContext: {
|
|
5686
5686
|
parent: a.refContext,
|
|
@@ -5696,7 +5696,7 @@ const Jc = /* @__PURE__ */ ho({
|
|
|
5696
5696
|
const E = qt[o.key];
|
|
5697
5697
|
return E ? ((_ = o.children) == null || _.forEach((P) => {
|
|
5698
5698
|
i(P);
|
|
5699
|
-
}), p =
|
|
5699
|
+
}), p = Ge(E.comp, {
|
|
5700
5700
|
props: {
|
|
5701
5701
|
node: o
|
|
5702
5702
|
}
|
|
@@ -5705,7 +5705,7 @@ const Jc = /* @__PURE__ */ ho({
|
|
|
5705
5705
|
const f = () => {
|
|
5706
5706
|
const o = [];
|
|
5707
5707
|
if (e())
|
|
5708
|
-
o.push(
|
|
5708
|
+
o.push(Ge("div", c.global.t("circularRef")));
|
|
5709
5709
|
else if (S.value) {
|
|
5710
5710
|
const p = S.value.data.type;
|
|
5711
5711
|
p === "common" ? S.value.data.view.nodes.forEach((E) => {
|
|
@@ -5713,8 +5713,8 @@ const Jc = /* @__PURE__ */ ho({
|
|
|
5713
5713
|
o.push(_);
|
|
5714
5714
|
}) : console.assert(!1, `invalid data type dataType=${p}`);
|
|
5715
5715
|
} else
|
|
5716
|
-
o.push(
|
|
5717
|
-
return
|
|
5716
|
+
o.push(Ge("div", c.global.t("compNotAvail")));
|
|
5717
|
+
return Ge("div", { style: t.value }, o);
|
|
5718
5718
|
};
|
|
5719
5719
|
return (o, p) => (An(), In(f));
|
|
5720
5720
|
}
|
|
@@ -9,10 +9,10 @@ interface I18n {
|
|
|
9
9
|
}
|
|
10
10
|
export declare function provideI18n(i18n: I18n): void;
|
|
11
11
|
export declare function injectI18n(): I18n;
|
|
12
|
-
export declare function provideEnv(env:
|
|
13
|
-
export declare function injectEnv():
|
|
14
|
-
export declare function provideMode(mode:
|
|
15
|
-
export declare function injectMode():
|
|
12
|
+
export declare function provideEnv(env: Env): void;
|
|
13
|
+
export declare function injectEnv(): Env;
|
|
14
|
+
export declare function provideMode(mode: Mode): void;
|
|
15
|
+
export declare function injectMode(): Mode;
|
|
16
16
|
interface Device {
|
|
17
17
|
width: number;
|
|
18
18
|
height: number;
|
|
@@ -21,8 +21,8 @@ export declare function provideDevice(device: Ref<Device>): void;
|
|
|
21
21
|
export declare function injectDevice(): Ref<Device>;
|
|
22
22
|
export declare function provideDark(dark: Ref<boolean>): void;
|
|
23
23
|
export declare function injectDark(): Ref<boolean>;
|
|
24
|
-
export declare function provideType(type:
|
|
25
|
-
export declare function injectType():
|
|
24
|
+
export declare function provideType(type: Type): void;
|
|
25
|
+
export declare function injectType(): Type;
|
|
26
26
|
export declare function provideData(data: Ref<Data>): void;
|
|
27
27
|
export declare function injectData(): Ref<Data>;
|
|
28
28
|
export declare function provideDepends(depends: ShallowReactive<Depends>): void;
|