pinia-plugin-subscription 0.1.6 → 0.1.7-beta.1
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/CHANGELOG.md +12 -0
- package/README.md +76 -0
- package/dist/chunks/index-ByASkYCc.js +338 -0
- package/dist/core/Store.d.ts +53 -0
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers.js +7 -0
- package/dist/lib/main.d.ts +14 -0
- package/dist/pinia-plugin-subscription.js +203 -1906
- package/dist/plugins/createHydrationPlugin.d.ts +3 -0
- package/dist/plugins/createPlugin.d.ts +11 -0
- package/dist/plugins/pluginSubscriber.d.ts +35 -0
- package/dist/plugins/pluginSubscription.d.ts +40 -0
- package/dist/system/Debug.d.ts +13 -0
- package/dist/system/log.d.ts +24 -0
- package/dist/types/comparison.d.ts +3 -0
- package/dist/types/index.d.ts +6 -143
- package/dist/types/list.d.ts +13 -0
- package/dist/types/log.d.ts +8 -0
- package/dist/types/plugin.d.ts +53 -0
- package/dist/types/resourceId.d.ts +4 -0
- package/dist/types/store.d.ts +27 -0
- package/dist/utils/Performance.d.ts +9 -0
- package/dist/utils/constantes.d.ts +1 -0
- package/dist/utils/defineStoreId.d.ts +1 -0
- package/dist/utils/object.d.ts +4 -0
- package/dist/utils/store.d.ts +31 -0
- package/dist/utils/validation/index.d.ts +1 -0
- package/dist/utils/validation/object.d.ts +9 -0
- package/package.json +36 -9
- package/dist/pinia-plugin-subscription.umd.cjs +0 -5
|
@@ -1,1991 +1,288 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
_storeInstance;
|
|
8
|
-
_resetStoreCallback;
|
|
9
|
-
_storeOnActionSubscription;
|
|
10
|
-
_storeMutationSubscription;
|
|
11
|
-
_subscriptions;
|
|
12
|
-
pluginCreated;
|
|
13
|
-
execution;
|
|
14
|
-
hydrationScheduler;
|
|
15
|
-
get console() {
|
|
16
|
-
return this._console ?? console;
|
|
17
|
-
}
|
|
18
|
-
get name() {
|
|
19
|
-
return this._name;
|
|
20
|
-
}
|
|
21
|
-
get storeInstance() {
|
|
22
|
-
return this._storeInstance;
|
|
23
|
-
}
|
|
24
|
-
get pluginOptions() {
|
|
25
|
-
return this._pluginOptions ?? {};
|
|
26
|
-
}
|
|
27
|
-
set pluginOptions(t) {
|
|
28
|
-
this._pluginOptions = t;
|
|
29
|
-
}
|
|
30
|
-
get resetStoreCallback() {
|
|
31
|
-
return this._resetStoreCallback;
|
|
32
|
-
}
|
|
33
|
-
get storeOnActionSubscription() {
|
|
34
|
-
return this._storeOnActionSubscription;
|
|
35
|
-
}
|
|
36
|
-
get storeMutationSubscription() {
|
|
37
|
-
return this._storeMutationSubscription;
|
|
38
|
-
}
|
|
39
|
-
get subscriptions() {
|
|
40
|
-
return this._subscriptions;
|
|
41
|
-
}
|
|
42
|
-
set subscriptions(t) {
|
|
43
|
-
this._subscriptions = t;
|
|
44
|
-
}
|
|
45
|
-
constructor(t, n, s) {
|
|
46
|
-
this._name = t, this._createInstance = n, s && (this._console = s);
|
|
47
|
-
}
|
|
48
|
-
hydrate(t, n) {
|
|
49
|
-
}
|
|
50
|
-
afterHydration(t, n) {
|
|
51
|
-
}
|
|
52
|
-
invoke({ store: t, options: n }, s) {
|
|
53
|
-
return this._storeInstance = this._createInstance(t, { ...n, ...this.pluginOptions }, s, this.console), this._storeInstance ? (this._subscriptions = this._storeInstance.getSubscriptions(), this._storeMutationSubscription = this._storeInstance.storeSubscribe, this._storeOnActionSubscription = this._storeInstance.onAction, this.pluginCreated && this.pluginCreated(t), !0) : !1;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
class je {
|
|
57
|
-
_console;
|
|
58
|
-
_debug = !1;
|
|
59
|
-
get console() {
|
|
60
|
-
return this._console ?? console;
|
|
61
|
-
}
|
|
62
|
-
set console(t) {
|
|
63
|
-
this._console = t;
|
|
64
|
-
}
|
|
65
|
-
get debug() {
|
|
66
|
-
return this._debug;
|
|
67
|
-
}
|
|
68
|
-
set debug(t) {
|
|
69
|
-
this._debug = t;
|
|
70
|
-
}
|
|
71
|
-
constructor(t, n) {
|
|
72
|
-
this._debug = t, n && (this._console = n);
|
|
73
|
-
}
|
|
74
|
-
debugLog(...t) {
|
|
75
|
-
this._debug && (Array.isArray(t) && (t[0] = `${this._className} - ${t[0]}`), this.console.log(...t));
|
|
76
|
-
}
|
|
77
|
-
logError(...t) {
|
|
78
|
-
this.console.error(...t);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
const Le = "pinia-plugin-subscription", wt = (e, t = "white") => `background-color: ${e}; color: ${t}; padding: 1px; margin-right: 5px; font-size: 12px`;
|
|
82
|
-
function Ot(e, t) {
|
|
83
|
-
if (!e)
|
|
84
|
-
throw new Error("Style instructions are required");
|
|
85
|
-
console.log(
|
|
86
|
-
"%c%s",
|
|
87
|
-
e,
|
|
88
|
-
t.shift(),
|
|
89
|
-
...t
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
class vt {
|
|
93
|
-
_bgColor = "#ffec73";
|
|
94
|
-
_color = "green";
|
|
95
|
-
_icon = "🍍⚡";
|
|
96
|
-
_errorBgColor = "#d24545";
|
|
97
|
-
_errorColor = "white";
|
|
98
|
-
_errorIcon = "🍍⚠️";
|
|
99
|
-
_styles = {
|
|
100
|
-
error: { bgColor: this._errorBgColor, color: this._errorColor, icon: this._errorIcon },
|
|
101
|
-
info: { bgColor: this._bgColor, color: this._color, icon: this._icon }
|
|
102
|
-
};
|
|
103
|
-
formatMessage(t, n) {
|
|
104
|
-
return ` [${n} ${Le}] - ${t} `;
|
|
105
|
-
}
|
|
106
|
-
generateStyle(t) {
|
|
107
|
-
return wt(t.bgColor, t.color);
|
|
108
|
-
}
|
|
109
|
-
getStyleDefinition(t) {
|
|
110
|
-
return this._styles[t ?? "info"];
|
|
111
|
-
}
|
|
112
|
-
log(...t) {
|
|
113
|
-
this.useLog(
|
|
114
|
-
this.getStyleDefinition(),
|
|
115
|
-
t
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
error(...t) {
|
|
119
|
-
this.useLog(
|
|
120
|
-
this.getStyleDefinition("error"),
|
|
121
|
-
t
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
rebuildArgs(t, n) {
|
|
125
|
-
if (typeof t == "string")
|
|
126
|
-
return [this.formatMessage(t, n)];
|
|
127
|
-
if (Array.isArray(t))
|
|
128
|
-
return [this.formatMessage(t.shift(), n), ...t ?? []];
|
|
129
|
-
}
|
|
130
|
-
useLog(t, n) {
|
|
131
|
-
Ot(
|
|
132
|
-
this.generateStyle(t),
|
|
133
|
-
this.rebuildArgs(n, t.icon)
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
class Nt extends vt {
|
|
138
|
-
_pluginName = Le;
|
|
139
|
-
}
|
|
140
|
-
const Ct = new Nt();
|
|
141
|
-
function be(e) {
|
|
142
|
-
return e ? Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : typeof e == "string" ? e.trim() === "" : !1 : !(typeof e == "boolean" || typeof e == "number");
|
|
143
|
-
}
|
|
144
|
-
const Te = "PluginSubscription", xt = {
|
|
1
|
+
var S = Object.defineProperty;
|
|
2
|
+
var y = (r, o, e) => o in r ? S(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e;
|
|
3
|
+
var c = (r, o, e) => y(r, typeof o != "symbol" ? o + "" : o, e);
|
|
4
|
+
import { D as g, i as l, P as _ } from "./chunks/index-ByASkYCc.js";
|
|
5
|
+
import { C as w, p as O, a as j, S as x, d as H, b as K, g as R, c as M, e as L, s as T } from "./chunks/index-ByASkYCc.js";
|
|
6
|
+
const f = "PluginSubscription", m = {
|
|
145
7
|
environment: "both",
|
|
146
8
|
hydration: "immediate"
|
|
147
9
|
};
|
|
148
|
-
function
|
|
10
|
+
function E(r) {
|
|
149
11
|
if (typeof window < "u" && typeof window.requestAnimationFrame == "function") {
|
|
150
|
-
window.requestAnimationFrame(() => globalThis.setTimeout(
|
|
12
|
+
window.requestAnimationFrame(() => globalThis.setTimeout(r, 0));
|
|
151
13
|
return;
|
|
152
14
|
}
|
|
153
|
-
globalThis.setTimeout(
|
|
15
|
+
globalThis.setTimeout(r, 0);
|
|
154
16
|
}
|
|
155
|
-
function
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
17
|
+
function h(r) {
|
|
18
|
+
if (typeof structuredClone == "function")
|
|
19
|
+
try {
|
|
20
|
+
return structuredClone(r);
|
|
21
|
+
} catch {
|
|
22
|
+
}
|
|
23
|
+
if (r === null || typeof r != "object")
|
|
24
|
+
return r;
|
|
25
|
+
if (r instanceof Map)
|
|
26
|
+
return new Map(
|
|
27
|
+
Array.from(r.entries(), ([e, i]) => [h(e), h(i)])
|
|
28
|
+
);
|
|
29
|
+
if (r instanceof Set)
|
|
30
|
+
return new Set(Array.from(r.values(), (e) => h(e)));
|
|
31
|
+
if (Array.isArray(r))
|
|
32
|
+
return r.map((e) => h(e));
|
|
33
|
+
if (Object.getPrototypeOf(r) === Object.prototype || Object.getPrototypeOf(r) === null)
|
|
34
|
+
return Object.fromEntries(
|
|
35
|
+
Object.entries(r).map(([e, i]) => [e, h(i)])
|
|
36
|
+
);
|
|
37
|
+
const o = Object.create(Object.getPrototypeOf(r));
|
|
38
|
+
for (const [e, i] of Object.entries(r))
|
|
39
|
+
o[e] = h(i);
|
|
40
|
+
return o;
|
|
41
|
+
}
|
|
42
|
+
function A(r) {
|
|
43
|
+
return r !== void 0 && !Array.isArray(r);
|
|
44
|
+
}
|
|
45
|
+
class p extends g {
|
|
46
|
+
constructor(e, i, t) {
|
|
47
|
+
const s = Array.isArray(i) ? i : void 0, n = A(i) ? i : t;
|
|
48
|
+
super(Array.isArray(s) && !!s?.includes(f), _);
|
|
49
|
+
c(this, "_className", f);
|
|
50
|
+
c(this, "_hydrationScheduler");
|
|
51
|
+
c(this, "_options");
|
|
52
|
+
c(this, "_pluginDebug");
|
|
53
|
+
c(this, "_resetStoreCallback", []);
|
|
54
|
+
c(this, "_subscribers", []);
|
|
55
|
+
c(this, "_subscribersDelivered", /* @__PURE__ */ new Set());
|
|
56
|
+
c(this, "_subscribersScheduled", /* @__PURE__ */ new Set());
|
|
57
|
+
c(this, "_subscriptions", []);
|
|
58
|
+
c(this, "_subscriptionsDelivered", /* @__PURE__ */ new Set());
|
|
59
|
+
c(this, "_subscriptionsScheduled", /* @__PURE__ */ new Set());
|
|
60
|
+
this._hydrationScheduler = n?.hydrationScheduler ?? E, this._options = n, this._pluginDebug = Array.isArray(s) ? s : void 0, this._subscribers = e;
|
|
61
|
+
}
|
|
62
|
+
set subscribers(e) {
|
|
63
|
+
this._subscribers = e;
|
|
172
64
|
}
|
|
173
65
|
get subscriptions() {
|
|
174
|
-
if (!
|
|
66
|
+
if (!l(this._subscriptions))
|
|
175
67
|
return this._subscriptions;
|
|
176
68
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
super(Array.isArray(r) && !!r?.includes(Te), Ct), this._hydrationScheduler = i?.hydrationScheduler ?? Rt, this._options = i, this._pluginDebug = Array.isArray(r) ? r : void 0, this._subscribers = t;
|
|
180
|
-
}
|
|
181
|
-
addResetStoreCallback(t) {
|
|
182
|
-
this._resetStoreCallback.push(t);
|
|
69
|
+
addResetStoreCallback(e) {
|
|
70
|
+
this._resetStoreCallback.push(e);
|
|
183
71
|
}
|
|
184
72
|
defineCurrentEnvironment() {
|
|
185
73
|
return this._options?.runtimeEnvironment ?? (typeof window > "u" ? "server" : "client");
|
|
186
74
|
}
|
|
187
|
-
definePluginDebug(
|
|
188
|
-
return !!this._pluginDebug?.includes(
|
|
75
|
+
definePluginDebug(e) {
|
|
76
|
+
return !!this._pluginDebug?.includes(e.name);
|
|
189
77
|
}
|
|
190
|
-
definePluginExecution(
|
|
78
|
+
definePluginExecution(e) {
|
|
191
79
|
return {
|
|
192
|
-
...
|
|
80
|
+
...m,
|
|
193
81
|
...this._options?.execution ?? {},
|
|
194
|
-
...
|
|
195
|
-
...this._options?.subscriberExecution?.[
|
|
82
|
+
...e.execution ?? {},
|
|
83
|
+
...this._options?.subscriberExecution?.[e.name] ?? {}
|
|
196
84
|
};
|
|
197
85
|
}
|
|
198
|
-
defineHydrationScheduler(
|
|
199
|
-
return
|
|
86
|
+
defineHydrationScheduler(e) {
|
|
87
|
+
return e.hydrationScheduler ?? this._hydrationScheduler;
|
|
200
88
|
}
|
|
201
|
-
defineSubscriberKey(
|
|
202
|
-
return `${
|
|
89
|
+
defineSubscriberKey(e, i) {
|
|
90
|
+
return `${e.name}-${i.$id}`;
|
|
203
91
|
}
|
|
204
|
-
defineSubscriptionKey(
|
|
205
|
-
return `${
|
|
92
|
+
defineSubscriptionKey(e, i) {
|
|
93
|
+
return `${e}-${i.$id}`;
|
|
206
94
|
}
|
|
207
|
-
executeResetStoreCallbacks(
|
|
208
|
-
this._resetStoreCallback.forEach((
|
|
95
|
+
executeResetStoreCallbacks(e) {
|
|
96
|
+
this._resetStoreCallback.forEach((i) => i(e));
|
|
209
97
|
}
|
|
210
|
-
executeSubscriber(
|
|
211
|
-
const
|
|
212
|
-
if (this._subscribersDelivered.has(
|
|
213
|
-
|
|
214
|
-
|
|
98
|
+
executeSubscriber(e, i) {
|
|
99
|
+
const t = this.defineSubscriberKey(i, e.store), s = this.definePluginDebug(i);
|
|
100
|
+
if (this._subscribersDelivered.has(t) || !i.invoke(
|
|
101
|
+
e,
|
|
102
|
+
s
|
|
215
103
|
))
|
|
216
104
|
return;
|
|
217
|
-
this._subscribersDelivered.add(
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
105
|
+
this._subscribersDelivered.add(t);
|
|
106
|
+
let n;
|
|
107
|
+
try {
|
|
108
|
+
n = i.hydrate?.(e, s);
|
|
109
|
+
} catch (u) {
|
|
110
|
+
this.logError(u, e.store, e.options);
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
const d = () => {
|
|
114
|
+
try {
|
|
115
|
+
const u = i.afterHydration?.(e, s);
|
|
116
|
+
u && typeof u.then == "function" && u.catch((a) => this.logError(a, e.store, e.options));
|
|
117
|
+
} catch (u) {
|
|
118
|
+
this.logError(u, e.store, e.options);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
n && typeof n.then == "function" ? n.then(() => d()).catch((u) => this.logError(u, e.store, e.options)) : d(), i.subscriptions && this.subscriptionDelivery(e, i.subscriptions), i.storeMutationSubscription && this.storeMutationSubscription(i.storeMutationSubscription), i.storeOnActionSubscription && this.storeOnActionSubscription(i.storeOnActionSubscription), i.resetStoreCallback && this.addResetStoreCallback(i.resetStoreCallback);
|
|
222
122
|
}
|
|
223
|
-
executeSubscriberSafely(
|
|
123
|
+
executeSubscriberSafely(e, i) {
|
|
224
124
|
try {
|
|
225
|
-
this.executeSubscriber(
|
|
226
|
-
} catch (
|
|
227
|
-
this.logError(
|
|
125
|
+
this.executeSubscriber(e, i);
|
|
126
|
+
} catch (t) {
|
|
127
|
+
this.logError(t, e.store, e.options);
|
|
228
128
|
}
|
|
229
129
|
}
|
|
230
|
-
queueSubscriberExecution(
|
|
231
|
-
const
|
|
232
|
-
this._subscribersScheduled.add(
|
|
233
|
-
this._subscribersScheduled.delete(
|
|
130
|
+
queueSubscriberExecution(e, i, t) {
|
|
131
|
+
const s = this.defineHydrationScheduler(i);
|
|
132
|
+
this._subscribersScheduled.add(t), s(() => {
|
|
133
|
+
this._subscribersScheduled.delete(t), this.executeSubscriberSafely(e, i);
|
|
234
134
|
});
|
|
235
135
|
}
|
|
236
|
-
shouldInvokePlugin(
|
|
237
|
-
const
|
|
238
|
-
return
|
|
136
|
+
shouldInvokePlugin(e) {
|
|
137
|
+
const i = this.defineCurrentEnvironment();
|
|
138
|
+
return e.environment === "both" || e.environment === i;
|
|
239
139
|
}
|
|
240
|
-
shouldScheduleAfterHydration(
|
|
241
|
-
return this.defineCurrentEnvironment() === "client" &&
|
|
140
|
+
shouldScheduleAfterHydration(e) {
|
|
141
|
+
return this.defineCurrentEnvironment() === "client" && e.hydration === "defer";
|
|
242
142
|
}
|
|
243
|
-
plugin({ store:
|
|
143
|
+
plugin({ store: e, options: i }) {
|
|
244
144
|
if (this._subscribers.length) {
|
|
245
|
-
this.debugLog(`plugin() - ${
|
|
145
|
+
this.debugLog(`plugin() - ${e.$id}`, [
|
|
246
146
|
"subscriber:",
|
|
247
147
|
this._subscribers,
|
|
248
148
|
"store:",
|
|
249
|
-
|
|
149
|
+
e,
|
|
250
150
|
"options:",
|
|
251
|
-
|
|
151
|
+
i
|
|
252
152
|
]);
|
|
253
153
|
try {
|
|
254
154
|
this._subscribers.forEach(
|
|
255
|
-
(
|
|
256
|
-
const
|
|
257
|
-
if (!(this._subscribersDelivered.has(
|
|
258
|
-
if (this.shouldScheduleAfterHydration(
|
|
259
|
-
this.queueSubscriberExecution({ store:
|
|
155
|
+
(t) => {
|
|
156
|
+
const s = this.defineSubscriberKey(t, e), n = this.definePluginExecution(t);
|
|
157
|
+
if (!(this._subscribersDelivered.has(s) || this._subscribersScheduled.has(s)) && this.shouldInvokePlugin(n)) {
|
|
158
|
+
if (this.shouldScheduleAfterHydration(n)) {
|
|
159
|
+
this.queueSubscriberExecution({ store: e, options: i }, t, s);
|
|
260
160
|
return;
|
|
261
161
|
}
|
|
262
|
-
this.executeSubscriber({ store:
|
|
162
|
+
this.executeSubscriber({ store: e, options: i }, t);
|
|
263
163
|
}
|
|
264
164
|
}
|
|
265
|
-
), this.rewriteResetStore({ store:
|
|
266
|
-
} catch (
|
|
267
|
-
this.logError(
|
|
165
|
+
), this.rewriteResetStore({ store: e }, h(e.$state), Object.assign({}, e)), this.registerStoreCleanup(e);
|
|
166
|
+
} catch (t) {
|
|
167
|
+
this.logError(t, e, i);
|
|
268
168
|
}
|
|
269
169
|
}
|
|
270
170
|
}
|
|
271
|
-
rewriteResetStore({ store:
|
|
272
|
-
|
|
273
|
-
|
|
171
|
+
rewriteResetStore({ store: e }, i, t) {
|
|
172
|
+
const s = h(i);
|
|
173
|
+
e.$reset = () => {
|
|
174
|
+
this.debugLog("rewriteResetStore()", { initState: s, store: e, customStore: t }), this.executeResetStoreCallbacks(e), e.$patch(h(s));
|
|
274
175
|
};
|
|
275
176
|
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
177
|
+
registerStoreCleanup(e) {
|
|
178
|
+
if (typeof e.$dispose != "function")
|
|
179
|
+
return;
|
|
180
|
+
const i = e.$dispose.bind(e), t = e;
|
|
181
|
+
t.__piniaPluginSubscriptionDisposed || (t.__piniaPluginSubscriptionDisposed = !0, e.$dispose = () => (this.clearStoreTracking(e), i()));
|
|
182
|
+
}
|
|
183
|
+
clearStoreTracking(e) {
|
|
184
|
+
const i = `-${e.$id}`;
|
|
185
|
+
for (const t of Array.from(this._subscribersDelivered))
|
|
186
|
+
t.endsWith(i) && this._subscribersDelivered.delete(t);
|
|
187
|
+
for (const t of Array.from(this._subscribersScheduled))
|
|
188
|
+
t.endsWith(i) && this._subscribersScheduled.delete(t);
|
|
189
|
+
for (const t of Array.from(this._subscriptionsDelivered))
|
|
190
|
+
t.endsWith(i) && this._subscriptionsDelivered.delete(t);
|
|
191
|
+
for (const t of Array.from(this._subscriptionsScheduled))
|
|
192
|
+
t.endsWith(i) && this._subscriptionsScheduled.delete(t);
|
|
193
|
+
}
|
|
194
|
+
storeOnActionSubscription(e) {
|
|
195
|
+
const { store: i, callback: t } = e();
|
|
196
|
+
i.$onAction(({ after: s, args: n, name: d }) => {
|
|
197
|
+
this.debugLog(`storeOnActionSubscription ${i.$id}`, { after: s, args: n, name: d, store: i }), t({ after: s, args: n, name: d });
|
|
280
198
|
});
|
|
281
199
|
}
|
|
282
|
-
storeMutationSubscription(
|
|
283
|
-
const { store:
|
|
284
|
-
|
|
285
|
-
this.debugLog(`$subscribe ${
|
|
200
|
+
storeMutationSubscription(e) {
|
|
201
|
+
const { store: i, callback: t } = e();
|
|
202
|
+
i.$subscribe((s) => {
|
|
203
|
+
this.debugLog(`$subscribe ${i.$id}`, { mutation: s, store: i }), t(s);
|
|
286
204
|
});
|
|
287
205
|
}
|
|
288
|
-
subscriptionDelivery(
|
|
289
|
-
Object.entries(
|
|
290
|
-
const
|
|
291
|
-
if (!(this._subscriptionsDelivered.has(
|
|
292
|
-
if (this.shouldScheduleAfterHydration(
|
|
293
|
-
const
|
|
294
|
-
this._subscriptionsScheduled.add(
|
|
295
|
-
this._subscriptionsScheduled.delete(
|
|
206
|
+
subscriptionDelivery(e, i) {
|
|
207
|
+
Object.entries(i).forEach(([t, s]) => {
|
|
208
|
+
const n = this.defineSubscriptionKey(t, e.store), d = this.definePluginExecution(s.subscription);
|
|
209
|
+
if (!(this._subscriptionsDelivered.has(n) || this._subscriptionsScheduled.has(n)) && this.shouldInvokePlugin(d)) {
|
|
210
|
+
if (this.shouldScheduleAfterHydration(d)) {
|
|
211
|
+
const u = this.defineHydrationScheduler(s.subscription);
|
|
212
|
+
this._subscriptionsScheduled.add(n), u(() => {
|
|
213
|
+
this._subscriptionsScheduled.delete(n), this.subscriptionDeliverySafely(e, t, s);
|
|
296
214
|
});
|
|
297
215
|
return;
|
|
298
216
|
}
|
|
299
|
-
this.subscriptionDeliverySafely(t, s
|
|
217
|
+
this.subscriptionDeliverySafely(e, t, s);
|
|
300
218
|
}
|
|
301
219
|
});
|
|
302
220
|
}
|
|
303
|
-
subscriptionDeliverySafely({ store:
|
|
221
|
+
subscriptionDeliverySafely({ store: e, options: i }, t, s) {
|
|
304
222
|
try {
|
|
305
|
-
if (this._subscriptionsDelivered.has(this.defineSubscriptionKey(
|
|
223
|
+
if (this._subscriptionsDelivered.has(this.defineSubscriptionKey(t, e)))
|
|
306
224
|
return;
|
|
307
|
-
const { subscription:
|
|
308
|
-
this.debugLog(`subscriptionDelivery() - store: ${
|
|
225
|
+
const { subscription: n, subscriptionOptions: d, stores: u } = s;
|
|
226
|
+
this.debugLog(`subscriptionDelivery() - store: ${e.$id}`, [
|
|
309
227
|
"pluginName:",
|
|
310
|
-
|
|
228
|
+
t,
|
|
311
229
|
"subscription:",
|
|
312
|
-
|
|
230
|
+
n,
|
|
313
231
|
"options:",
|
|
314
|
-
|
|
232
|
+
s,
|
|
315
233
|
"stores:",
|
|
316
|
-
|
|
234
|
+
u
|
|
317
235
|
]);
|
|
318
|
-
const
|
|
319
|
-
storeOptions: { ...
|
|
236
|
+
const a = {
|
|
237
|
+
storeOptions: { ...i?.storeOptions ?? {}, ...d }
|
|
320
238
|
};
|
|
321
|
-
|
|
322
|
-
{ store:
|
|
239
|
+
n.invoke(
|
|
240
|
+
{ store: e, options: { ...i, ...a } },
|
|
323
241
|
this.debug
|
|
324
|
-
), this._subscriptionsDelivered.add(this.defineSubscriptionKey(
|
|
325
|
-
(
|
|
242
|
+
), this._subscriptionsDelivered.add(this.defineSubscriptionKey(t, e)), l(u) || u?.forEach(
|
|
243
|
+
(b) => n.invoke(
|
|
326
244
|
{
|
|
327
|
-
store:
|
|
245
|
+
store: b,
|
|
328
246
|
options: {
|
|
329
|
-
...
|
|
330
|
-
...
|
|
331
|
-
...
|
|
247
|
+
...i,
|
|
248
|
+
...a,
|
|
249
|
+
...b?.storeOptions ?? {}
|
|
332
250
|
}
|
|
333
251
|
},
|
|
334
252
|
this.debug
|
|
335
253
|
)
|
|
336
254
|
);
|
|
337
|
-
} catch (
|
|
338
|
-
this.logError("subscriptionDelivery()",
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
// @__NO_SIDE_EFFECTS__
|
|
343
|
-
function It(e) {
|
|
344
|
-
const t = /* @__PURE__ */ Object.create(null);
|
|
345
|
-
for (const n of e.split(",")) t[n] = 1;
|
|
346
|
-
return (n) => n in t;
|
|
347
|
-
}
|
|
348
|
-
const me = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
349
|
-
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
350
|
-
const ze = () => {
|
|
351
|
-
}, Dt = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
352
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), $t = (e) => e.startsWith("onUpdate:"), M = Object.assign, Vt = Object.prototype.hasOwnProperty, Se = (e, t) => Vt.call(e, t), p = Array.isArray, z = (e) => Ue(e) === "[object Map]", R = (e) => typeof e == "function", O = (e) => typeof e == "string", P = (e) => typeof e == "symbol", g = (e) => e !== null && typeof e == "object", Tt = Object.prototype.toString, Ue = (e) => Tt.call(e), qe = (e) => Ue(e).slice(8, -1), ce = (e) => O(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Pt = (e) => {
|
|
353
|
-
const t = /* @__PURE__ */ Object.create(null);
|
|
354
|
-
return ((n) => t[n] || (t[n] = e(n)));
|
|
355
|
-
}, Mt = Pt((e) => e.charAt(0).toUpperCase() + e.slice(1)), $ = (e, t) => !Object.is(e, t);
|
|
356
|
-
let Pe;
|
|
357
|
-
const ue = () => Pe || (Pe = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
358
|
-
function Ne(e) {
|
|
359
|
-
if (p(e)) {
|
|
360
|
-
const t = {};
|
|
361
|
-
for (let n = 0; n < e.length; n++) {
|
|
362
|
-
const s = e[n], r = O(s) ? Ht(s) : Ne(s);
|
|
363
|
-
if (r)
|
|
364
|
-
for (const i in r)
|
|
365
|
-
t[i] = r[i];
|
|
366
|
-
}
|
|
367
|
-
return t;
|
|
368
|
-
} else if (O(e) || g(e))
|
|
369
|
-
return e;
|
|
370
|
-
}
|
|
371
|
-
const Ft = /;(?![^(]*\))/g, kt = /:([^]+)/, Kt = /\/\*[^]*?\*\//g;
|
|
372
|
-
function Ht(e) {
|
|
373
|
-
const t = {};
|
|
374
|
-
return e.replace(Kt, "").split(Ft).forEach((n) => {
|
|
375
|
-
if (n) {
|
|
376
|
-
const s = n.split(kt);
|
|
377
|
-
s.length > 1 && (t[s[0].trim()] = s[1].trim());
|
|
378
|
-
}
|
|
379
|
-
}), t;
|
|
380
|
-
}
|
|
381
|
-
function Ce(e) {
|
|
382
|
-
let t = "";
|
|
383
|
-
if (O(e))
|
|
384
|
-
t = e;
|
|
385
|
-
else if (p(e))
|
|
386
|
-
for (let n = 0; n < e.length; n++) {
|
|
387
|
-
const s = Ce(e[n]);
|
|
388
|
-
s && (t += s + " ");
|
|
389
|
-
}
|
|
390
|
-
else if (g(e))
|
|
391
|
-
for (const n in e)
|
|
392
|
-
e[n] && (t += n + " ");
|
|
393
|
-
return t.trim();
|
|
394
|
-
}
|
|
395
|
-
function j(e, ...t) {
|
|
396
|
-
console.warn(`[Vue warn] ${e}`, ...t);
|
|
397
|
-
}
|
|
398
|
-
let jt, Be = 0, fe;
|
|
399
|
-
function xe() {
|
|
400
|
-
Be++;
|
|
401
|
-
}
|
|
402
|
-
function Re() {
|
|
403
|
-
if (--Be > 0)
|
|
404
|
-
return;
|
|
405
|
-
let e;
|
|
406
|
-
for (; fe; ) {
|
|
407
|
-
let t = fe;
|
|
408
|
-
for (fe = void 0; t; ) {
|
|
409
|
-
const n = t.next;
|
|
410
|
-
if (t.next = void 0, t.flags &= -9, t.flags & 1)
|
|
411
|
-
try {
|
|
412
|
-
t.trigger();
|
|
413
|
-
} catch (s) {
|
|
414
|
-
e || (e = s);
|
|
415
|
-
}
|
|
416
|
-
t = n;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
if (e) throw e;
|
|
420
|
-
}
|
|
421
|
-
let ee = !0;
|
|
422
|
-
const Je = [];
|
|
423
|
-
function le() {
|
|
424
|
-
Je.push(ee), ee = !1;
|
|
425
|
-
}
|
|
426
|
-
function ae() {
|
|
427
|
-
const e = Je.pop();
|
|
428
|
-
ee = e === void 0 ? !0 : e;
|
|
429
|
-
}
|
|
430
|
-
class Ye {
|
|
431
|
-
// TODO isolatedDeclarations "__v_skip"
|
|
432
|
-
constructor(t) {
|
|
433
|
-
this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
434
|
-
}
|
|
435
|
-
track(t) {
|
|
436
|
-
}
|
|
437
|
-
trigger(t) {
|
|
438
|
-
this.version++, this.notify(t);
|
|
439
|
-
}
|
|
440
|
-
notify(t) {
|
|
441
|
-
xe();
|
|
442
|
-
try {
|
|
443
|
-
if (process.env.NODE_ENV !== "production")
|
|
444
|
-
for (let n = this.subsHead; n; n = n.nextSub)
|
|
445
|
-
n.sub.onTrigger && !(n.sub.flags & 8) && n.sub.onTrigger(
|
|
446
|
-
M(
|
|
447
|
-
{
|
|
448
|
-
effect: n.sub
|
|
449
|
-
},
|
|
450
|
-
t
|
|
451
|
-
)
|
|
452
|
-
);
|
|
453
|
-
for (let n = this.subs; n; n = n.prevSub)
|
|
454
|
-
n.sub.notify() && n.sub.dep.notify();
|
|
455
|
-
} finally {
|
|
456
|
-
Re();
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
const te = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ Symbol(
|
|
461
|
-
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
462
|
-
), ye = /* @__PURE__ */ Symbol(
|
|
463
|
-
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
464
|
-
), U = /* @__PURE__ */ Symbol(
|
|
465
|
-
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
466
|
-
);
|
|
467
|
-
function _(e, t, n) {
|
|
468
|
-
if (ee && jt) {
|
|
469
|
-
let s = te.get(e);
|
|
470
|
-
s || te.set(e, s = /* @__PURE__ */ new Map());
|
|
471
|
-
let r = s.get(n);
|
|
472
|
-
r || (s.set(n, r = new Ye()), r.map = s, r.key = n), process.env.NODE_ENV !== "production" ? r.track({
|
|
473
|
-
target: e,
|
|
474
|
-
type: t,
|
|
475
|
-
key: n
|
|
476
|
-
}) : r.track();
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
function I(e, t, n, s, r, i) {
|
|
480
|
-
const o = te.get(e);
|
|
481
|
-
if (!o)
|
|
482
|
-
return;
|
|
483
|
-
const c = (l) => {
|
|
484
|
-
l && (process.env.NODE_ENV !== "production" ? l.trigger({
|
|
485
|
-
target: e,
|
|
486
|
-
type: t,
|
|
487
|
-
key: n,
|
|
488
|
-
newValue: s,
|
|
489
|
-
oldValue: r,
|
|
490
|
-
oldTarget: i
|
|
491
|
-
}) : l.trigger());
|
|
492
|
-
};
|
|
493
|
-
if (xe(), t === "clear")
|
|
494
|
-
o.forEach(c);
|
|
495
|
-
else {
|
|
496
|
-
const l = p(e), a = l && ce(n);
|
|
497
|
-
if (l && n === "length") {
|
|
498
|
-
const d = Number(s);
|
|
499
|
-
o.forEach((u, f) => {
|
|
500
|
-
(f === "length" || f === U || !P(f) && f >= d) && c(u);
|
|
501
|
-
});
|
|
502
|
-
} else
|
|
503
|
-
switch ((n !== void 0 || o.has(void 0)) && c(o.get(n)), a && c(o.get(U)), t) {
|
|
504
|
-
case "add":
|
|
505
|
-
l ? a && c(o.get("length")) : (c(o.get(V)), z(e) && c(o.get(ye)));
|
|
506
|
-
break;
|
|
507
|
-
case "delete":
|
|
508
|
-
l || (c(o.get(V)), z(e) && c(o.get(ye)));
|
|
509
|
-
break;
|
|
510
|
-
case "set":
|
|
511
|
-
z(e) && c(o.get(V));
|
|
512
|
-
break;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
Re();
|
|
516
|
-
}
|
|
517
|
-
function Lt(e, t) {
|
|
518
|
-
const n = te.get(e);
|
|
519
|
-
return n && n.get(t);
|
|
520
|
-
}
|
|
521
|
-
function F(e) {
|
|
522
|
-
const t = /* @__PURE__ */ h(e);
|
|
523
|
-
return t === e ? t : (_(t, "iterate", U), /* @__PURE__ */ y(e) ? t : t.map(x));
|
|
524
|
-
}
|
|
525
|
-
function Ae(e) {
|
|
526
|
-
return _(e = /* @__PURE__ */ h(e), "iterate", U), e;
|
|
527
|
-
}
|
|
528
|
-
function w(e, t) {
|
|
529
|
-
return /* @__PURE__ */ v(e) ? B(/* @__PURE__ */ Ie(e) ? x(t) : t) : x(t);
|
|
530
|
-
}
|
|
531
|
-
const Wt = {
|
|
532
|
-
__proto__: null,
|
|
533
|
-
[Symbol.iterator]() {
|
|
534
|
-
return he(this, Symbol.iterator, (e) => w(this, e));
|
|
535
|
-
},
|
|
536
|
-
concat(...e) {
|
|
537
|
-
return F(this).concat(
|
|
538
|
-
...e.map((t) => p(t) ? F(t) : t)
|
|
539
|
-
);
|
|
540
|
-
},
|
|
541
|
-
entries() {
|
|
542
|
-
return he(this, "entries", (e) => (e[1] = w(this, e[1]), e));
|
|
543
|
-
},
|
|
544
|
-
every(e, t) {
|
|
545
|
-
return N(this, "every", e, t, void 0, arguments);
|
|
546
|
-
},
|
|
547
|
-
filter(e, t) {
|
|
548
|
-
return N(
|
|
549
|
-
this,
|
|
550
|
-
"filter",
|
|
551
|
-
e,
|
|
552
|
-
t,
|
|
553
|
-
(n) => n.map((s) => w(this, s)),
|
|
554
|
-
arguments
|
|
555
|
-
);
|
|
556
|
-
},
|
|
557
|
-
find(e, t) {
|
|
558
|
-
return N(
|
|
559
|
-
this,
|
|
560
|
-
"find",
|
|
561
|
-
e,
|
|
562
|
-
t,
|
|
563
|
-
(n) => w(this, n),
|
|
564
|
-
arguments
|
|
565
|
-
);
|
|
566
|
-
},
|
|
567
|
-
findIndex(e, t) {
|
|
568
|
-
return N(this, "findIndex", e, t, void 0, arguments);
|
|
569
|
-
},
|
|
570
|
-
findLast(e, t) {
|
|
571
|
-
return N(
|
|
572
|
-
this,
|
|
573
|
-
"findLast",
|
|
574
|
-
e,
|
|
575
|
-
t,
|
|
576
|
-
(n) => w(this, n),
|
|
577
|
-
arguments
|
|
578
|
-
);
|
|
579
|
-
},
|
|
580
|
-
findLastIndex(e, t) {
|
|
581
|
-
return N(this, "findLastIndex", e, t, void 0, arguments);
|
|
582
|
-
},
|
|
583
|
-
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
584
|
-
forEach(e, t) {
|
|
585
|
-
return N(this, "forEach", e, t, void 0, arguments);
|
|
586
|
-
},
|
|
587
|
-
includes(...e) {
|
|
588
|
-
return de(this, "includes", e);
|
|
589
|
-
},
|
|
590
|
-
indexOf(...e) {
|
|
591
|
-
return de(this, "indexOf", e);
|
|
592
|
-
},
|
|
593
|
-
join(e) {
|
|
594
|
-
return F(this).join(e);
|
|
595
|
-
},
|
|
596
|
-
// keys() iterator only reads `length`, no optimization required
|
|
597
|
-
lastIndexOf(...e) {
|
|
598
|
-
return de(this, "lastIndexOf", e);
|
|
599
|
-
},
|
|
600
|
-
map(e, t) {
|
|
601
|
-
return N(this, "map", e, t, void 0, arguments);
|
|
602
|
-
},
|
|
603
|
-
pop() {
|
|
604
|
-
return W(this, "pop");
|
|
605
|
-
},
|
|
606
|
-
push(...e) {
|
|
607
|
-
return W(this, "push", e);
|
|
608
|
-
},
|
|
609
|
-
reduce(e, ...t) {
|
|
610
|
-
return Me(this, "reduce", e, t);
|
|
611
|
-
},
|
|
612
|
-
reduceRight(e, ...t) {
|
|
613
|
-
return Me(this, "reduceRight", e, t);
|
|
614
|
-
},
|
|
615
|
-
shift() {
|
|
616
|
-
return W(this, "shift");
|
|
617
|
-
},
|
|
618
|
-
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
619
|
-
some(e, t) {
|
|
620
|
-
return N(this, "some", e, t, void 0, arguments);
|
|
621
|
-
},
|
|
622
|
-
splice(...e) {
|
|
623
|
-
return W(this, "splice", e);
|
|
624
|
-
},
|
|
625
|
-
toReversed() {
|
|
626
|
-
return F(this).toReversed();
|
|
627
|
-
},
|
|
628
|
-
toSorted(e) {
|
|
629
|
-
return F(this).toSorted(e);
|
|
630
|
-
},
|
|
631
|
-
toSpliced(...e) {
|
|
632
|
-
return F(this).toSpliced(...e);
|
|
633
|
-
},
|
|
634
|
-
unshift(...e) {
|
|
635
|
-
return W(this, "unshift", e);
|
|
636
|
-
},
|
|
637
|
-
values() {
|
|
638
|
-
return he(this, "values", (e) => w(this, e));
|
|
639
|
-
}
|
|
640
|
-
};
|
|
641
|
-
function he(e, t, n) {
|
|
642
|
-
const s = Ae(e), r = s[t]();
|
|
643
|
-
return s !== e && !/* @__PURE__ */ y(e) && (r._next = r.next, r.next = () => {
|
|
644
|
-
const i = r._next();
|
|
645
|
-
return i.done || (i.value = n(i.value)), i;
|
|
646
|
-
}), r;
|
|
647
|
-
}
|
|
648
|
-
const zt = Array.prototype;
|
|
649
|
-
function N(e, t, n, s, r, i) {
|
|
650
|
-
const o = Ae(e), c = o !== e && !/* @__PURE__ */ y(e), l = o[t];
|
|
651
|
-
if (l !== zt[t]) {
|
|
652
|
-
const u = l.apply(e, i);
|
|
653
|
-
return c ? x(u) : u;
|
|
654
|
-
}
|
|
655
|
-
let a = n;
|
|
656
|
-
o !== e && (c ? a = function(u, f) {
|
|
657
|
-
return n.call(this, w(e, u), f, e);
|
|
658
|
-
} : n.length > 2 && (a = function(u, f) {
|
|
659
|
-
return n.call(this, u, f, e);
|
|
660
|
-
}));
|
|
661
|
-
const d = l.call(o, a, s);
|
|
662
|
-
return c && r ? r(d) : d;
|
|
663
|
-
}
|
|
664
|
-
function Me(e, t, n, s) {
|
|
665
|
-
const r = Ae(e), i = r !== e && !/* @__PURE__ */ y(e);
|
|
666
|
-
let o = n, c = !1;
|
|
667
|
-
r !== e && (i ? (c = s.length === 0, o = function(a, d, u) {
|
|
668
|
-
return c && (c = !1, a = w(e, a)), n.call(this, a, w(e, d), u, e);
|
|
669
|
-
}) : n.length > 3 && (o = function(a, d, u) {
|
|
670
|
-
return n.call(this, a, d, u, e);
|
|
671
|
-
}));
|
|
672
|
-
const l = r[t](o, ...s);
|
|
673
|
-
return c ? w(e, l) : l;
|
|
674
|
-
}
|
|
675
|
-
function de(e, t, n) {
|
|
676
|
-
const s = /* @__PURE__ */ h(e);
|
|
677
|
-
_(s, "iterate", U);
|
|
678
|
-
const r = s[t](...n);
|
|
679
|
-
return (r === -1 || r === !1) && /* @__PURE__ */ q(n[0]) ? (n[0] = /* @__PURE__ */ h(n[0]), s[t](...n)) : r;
|
|
680
|
-
}
|
|
681
|
-
function W(e, t, n = []) {
|
|
682
|
-
le(), xe();
|
|
683
|
-
const s = (/* @__PURE__ */ h(e))[t].apply(e, n);
|
|
684
|
-
return Re(), ae(), s;
|
|
685
|
-
}
|
|
686
|
-
const Ut = /* @__PURE__ */ It("__proto__,__v_isRef,__isVue"), Ge = new Set(
|
|
687
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(P)
|
|
688
|
-
);
|
|
689
|
-
function qt(e) {
|
|
690
|
-
P(e) || (e = String(e));
|
|
691
|
-
const t = /* @__PURE__ */ h(this);
|
|
692
|
-
return _(t, "has", e), t.hasOwnProperty(e);
|
|
693
|
-
}
|
|
694
|
-
class Qe {
|
|
695
|
-
constructor(t = !1, n = !1) {
|
|
696
|
-
this._isReadonly = t, this._isShallow = n;
|
|
697
|
-
}
|
|
698
|
-
get(t, n, s) {
|
|
699
|
-
if (n === "__v_skip") return t.__v_skip;
|
|
700
|
-
const r = this._isReadonly, i = this._isShallow;
|
|
701
|
-
if (n === "__v_isReactive")
|
|
702
|
-
return !r;
|
|
703
|
-
if (n === "__v_isReadonly")
|
|
704
|
-
return r;
|
|
705
|
-
if (n === "__v_isShallow")
|
|
706
|
-
return i;
|
|
707
|
-
if (n === "__v_raw")
|
|
708
|
-
return s === (r ? i ? nn : et : i ? tn : Ze).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
709
|
-
// this means the receiver is a user proxy of the reactive proxy
|
|
710
|
-
Object.getPrototypeOf(t) === Object.getPrototypeOf(s) ? t : void 0;
|
|
711
|
-
const o = p(t);
|
|
712
|
-
if (!r) {
|
|
713
|
-
let l;
|
|
714
|
-
if (o && (l = Wt[n]))
|
|
715
|
-
return l;
|
|
716
|
-
if (n === "hasOwnProperty")
|
|
717
|
-
return qt;
|
|
718
|
-
}
|
|
719
|
-
const c = Reflect.get(
|
|
720
|
-
t,
|
|
721
|
-
n,
|
|
722
|
-
// if this is a proxy wrapping a ref, return methods using the raw ref
|
|
723
|
-
// as receiver so that we don't have to call `toRaw` on the ref in all
|
|
724
|
-
// its class methods
|
|
725
|
-
/* @__PURE__ */ b(t) ? t : s
|
|
726
|
-
);
|
|
727
|
-
if ((P(n) ? Ge.has(n) : Ut(n)) || (r || _(t, "get", n), i))
|
|
728
|
-
return c;
|
|
729
|
-
if (/* @__PURE__ */ b(c)) {
|
|
730
|
-
const l = o && ce(n) ? c : c.value;
|
|
731
|
-
return r && g(l) ? /* @__PURE__ */ we(l) : l;
|
|
732
|
-
}
|
|
733
|
-
return g(c) ? r ? /* @__PURE__ */ we(c) : /* @__PURE__ */ tt(c) : c;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
class Bt extends Qe {
|
|
737
|
-
constructor(t = !1) {
|
|
738
|
-
super(!1, t);
|
|
739
|
-
}
|
|
740
|
-
set(t, n, s, r) {
|
|
741
|
-
let i = t[n];
|
|
742
|
-
const o = p(t) && ce(n);
|
|
743
|
-
if (!this._isShallow) {
|
|
744
|
-
const a = /* @__PURE__ */ v(i);
|
|
745
|
-
if (!/* @__PURE__ */ y(s) && !/* @__PURE__ */ v(s) && (i = /* @__PURE__ */ h(i), s = /* @__PURE__ */ h(s)), !o && /* @__PURE__ */ b(i) && !/* @__PURE__ */ b(s))
|
|
746
|
-
return a ? (process.env.NODE_ENV !== "production" && j(
|
|
747
|
-
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
748
|
-
t[n]
|
|
749
|
-
), !0) : (i.value = s, !0);
|
|
750
|
-
}
|
|
751
|
-
const c = o ? Number(n) < t.length : Se(t, n), l = Reflect.set(
|
|
752
|
-
t,
|
|
753
|
-
n,
|
|
754
|
-
s,
|
|
755
|
-
/* @__PURE__ */ b(t) ? t : r
|
|
756
|
-
);
|
|
757
|
-
return t === /* @__PURE__ */ h(r) && l && (c ? $(s, i) && I(t, "set", n, s, i) : I(t, "add", n, s)), l;
|
|
758
|
-
}
|
|
759
|
-
deleteProperty(t, n) {
|
|
760
|
-
const s = Se(t, n), r = t[n], i = Reflect.deleteProperty(t, n);
|
|
761
|
-
return i && s && I(t, "delete", n, void 0, r), i;
|
|
762
|
-
}
|
|
763
|
-
has(t, n) {
|
|
764
|
-
const s = Reflect.has(t, n);
|
|
765
|
-
return (!P(n) || !Ge.has(n)) && _(t, "has", n), s;
|
|
766
|
-
}
|
|
767
|
-
ownKeys(t) {
|
|
768
|
-
return _(
|
|
769
|
-
t,
|
|
770
|
-
"iterate",
|
|
771
|
-
p(t) ? "length" : V
|
|
772
|
-
), Reflect.ownKeys(t);
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
class Jt extends Qe {
|
|
776
|
-
constructor(t = !1) {
|
|
777
|
-
super(!0, t);
|
|
778
|
-
}
|
|
779
|
-
set(t, n) {
|
|
780
|
-
return process.env.NODE_ENV !== "production" && j(
|
|
781
|
-
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
782
|
-
t
|
|
783
|
-
), !0;
|
|
784
|
-
}
|
|
785
|
-
deleteProperty(t, n) {
|
|
786
|
-
return process.env.NODE_ENV !== "production" && j(
|
|
787
|
-
`Delete operation on key "${String(n)}" failed: target is readonly.`,
|
|
788
|
-
t
|
|
789
|
-
), !0;
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
const Yt = /* @__PURE__ */ new Bt(), Gt = /* @__PURE__ */ new Jt(), Ee = (e) => e, G = (e) => Reflect.getPrototypeOf(e);
|
|
793
|
-
function Qt(e, t, n) {
|
|
794
|
-
return function(...s) {
|
|
795
|
-
const r = this.__v_raw, i = /* @__PURE__ */ h(r), o = z(i), c = e === "entries" || e === Symbol.iterator && o, l = e === "keys" && o, a = r[e](...s), d = n ? Ee : t ? B : x;
|
|
796
|
-
return !t && _(
|
|
797
|
-
i,
|
|
798
|
-
"iterate",
|
|
799
|
-
l ? ye : V
|
|
800
|
-
), M(
|
|
801
|
-
// inheriting all iterator properties
|
|
802
|
-
Object.create(a),
|
|
803
|
-
{
|
|
804
|
-
// iterator protocol
|
|
805
|
-
next() {
|
|
806
|
-
const { value: u, done: f } = a.next();
|
|
807
|
-
return f ? { value: u, done: f } : {
|
|
808
|
-
value: c ? [d(u[0]), d(u[1])] : d(u),
|
|
809
|
-
done: f
|
|
810
|
-
};
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
);
|
|
814
|
-
};
|
|
815
|
-
}
|
|
816
|
-
function Q(e) {
|
|
817
|
-
return function(...t) {
|
|
818
|
-
if (process.env.NODE_ENV !== "production") {
|
|
819
|
-
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
820
|
-
j(
|
|
821
|
-
`${Mt(e)} operation ${n}failed: target is readonly.`,
|
|
822
|
-
/* @__PURE__ */ h(this)
|
|
823
|
-
);
|
|
824
|
-
}
|
|
825
|
-
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
826
|
-
};
|
|
827
|
-
}
|
|
828
|
-
function Xt(e, t) {
|
|
829
|
-
const n = {
|
|
830
|
-
get(r) {
|
|
831
|
-
const i = this.__v_raw, o = /* @__PURE__ */ h(i), c = /* @__PURE__ */ h(r);
|
|
832
|
-
e || ($(r, c) && _(o, "get", r), _(o, "get", c));
|
|
833
|
-
const { has: l } = G(o), a = t ? Ee : e ? B : x;
|
|
834
|
-
if (l.call(o, r))
|
|
835
|
-
return a(i.get(r));
|
|
836
|
-
if (l.call(o, c))
|
|
837
|
-
return a(i.get(c));
|
|
838
|
-
i !== o && i.get(r);
|
|
839
|
-
},
|
|
840
|
-
get size() {
|
|
841
|
-
const r = this.__v_raw;
|
|
842
|
-
return !e && _(/* @__PURE__ */ h(r), "iterate", V), r.size;
|
|
843
|
-
},
|
|
844
|
-
has(r) {
|
|
845
|
-
const i = this.__v_raw, o = /* @__PURE__ */ h(i), c = /* @__PURE__ */ h(r);
|
|
846
|
-
return e || ($(r, c) && _(o, "has", r), _(o, "has", c)), r === c ? i.has(r) : i.has(r) || i.has(c);
|
|
847
|
-
},
|
|
848
|
-
forEach(r, i) {
|
|
849
|
-
const o = this, c = o.__v_raw, l = /* @__PURE__ */ h(c), a = t ? Ee : e ? B : x;
|
|
850
|
-
return !e && _(l, "iterate", V), c.forEach((d, u) => r.call(i, a(d), a(u), o));
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
return M(
|
|
854
|
-
n,
|
|
855
|
-
e ? {
|
|
856
|
-
add: Q("add"),
|
|
857
|
-
set: Q("set"),
|
|
858
|
-
delete: Q("delete"),
|
|
859
|
-
clear: Q("clear")
|
|
860
|
-
} : {
|
|
861
|
-
add(r) {
|
|
862
|
-
const i = /* @__PURE__ */ h(this), o = G(i), c = /* @__PURE__ */ h(r), l = !t && !/* @__PURE__ */ y(r) && !/* @__PURE__ */ v(r) ? c : r;
|
|
863
|
-
return o.has.call(i, l) || $(r, l) && o.has.call(i, r) || $(c, l) && o.has.call(i, c) || (i.add(l), I(i, "add", l, l)), this;
|
|
864
|
-
},
|
|
865
|
-
set(r, i) {
|
|
866
|
-
!t && !/* @__PURE__ */ y(i) && !/* @__PURE__ */ v(i) && (i = /* @__PURE__ */ h(i));
|
|
867
|
-
const o = /* @__PURE__ */ h(this), { has: c, get: l } = G(o);
|
|
868
|
-
let a = c.call(o, r);
|
|
869
|
-
a ? process.env.NODE_ENV !== "production" && Fe(o, c, r) : (r = /* @__PURE__ */ h(r), a = c.call(o, r));
|
|
870
|
-
const d = l.call(o, r);
|
|
871
|
-
return o.set(r, i), a ? $(i, d) && I(o, "set", r, i, d) : I(o, "add", r, i), this;
|
|
872
|
-
},
|
|
873
|
-
delete(r) {
|
|
874
|
-
const i = /* @__PURE__ */ h(this), { has: o, get: c } = G(i);
|
|
875
|
-
let l = o.call(i, r);
|
|
876
|
-
l ? process.env.NODE_ENV !== "production" && Fe(i, o, r) : (r = /* @__PURE__ */ h(r), l = o.call(i, r));
|
|
877
|
-
const a = c ? c.call(i, r) : void 0, d = i.delete(r);
|
|
878
|
-
return l && I(i, "delete", r, void 0, a), d;
|
|
879
|
-
},
|
|
880
|
-
clear() {
|
|
881
|
-
const r = /* @__PURE__ */ h(this), i = r.size !== 0, o = process.env.NODE_ENV !== "production" ? z(r) ? new Map(r) : new Set(r) : void 0, c = r.clear();
|
|
882
|
-
return i && I(
|
|
883
|
-
r,
|
|
884
|
-
"clear",
|
|
885
|
-
void 0,
|
|
886
|
-
void 0,
|
|
887
|
-
o
|
|
888
|
-
), c;
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
), [
|
|
892
|
-
"keys",
|
|
893
|
-
"values",
|
|
894
|
-
"entries",
|
|
895
|
-
Symbol.iterator
|
|
896
|
-
].forEach((r) => {
|
|
897
|
-
n[r] = Qt(r, e, t);
|
|
898
|
-
}), n;
|
|
899
|
-
}
|
|
900
|
-
function Xe(e, t) {
|
|
901
|
-
const n = Xt(e, t);
|
|
902
|
-
return (s, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? s : Reflect.get(
|
|
903
|
-
Se(n, r) && r in s ? n : s,
|
|
904
|
-
r,
|
|
905
|
-
i
|
|
906
|
-
);
|
|
907
|
-
}
|
|
908
|
-
const Zt = {
|
|
909
|
-
get: /* @__PURE__ */ Xe(!1, !1)
|
|
910
|
-
}, en = {
|
|
911
|
-
get: /* @__PURE__ */ Xe(!0, !1)
|
|
912
|
-
};
|
|
913
|
-
function Fe(e, t, n) {
|
|
914
|
-
const s = /* @__PURE__ */ h(n);
|
|
915
|
-
if (s !== n && t.call(e, s)) {
|
|
916
|
-
const r = qe(e);
|
|
917
|
-
j(
|
|
918
|
-
`Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
919
|
-
);
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
const Ze = /* @__PURE__ */ new WeakMap(), tn = /* @__PURE__ */ new WeakMap(), et = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap();
|
|
923
|
-
function rn(e) {
|
|
924
|
-
switch (e) {
|
|
925
|
-
case "Object":
|
|
926
|
-
case "Array":
|
|
927
|
-
return 1;
|
|
928
|
-
case "Map":
|
|
929
|
-
case "Set":
|
|
930
|
-
case "WeakMap":
|
|
931
|
-
case "WeakSet":
|
|
932
|
-
return 2;
|
|
933
|
-
default:
|
|
934
|
-
return 0;
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
// @__NO_SIDE_EFFECTS__
|
|
938
|
-
function tt(e) {
|
|
939
|
-
return /* @__PURE__ */ v(e) ? e : nt(
|
|
940
|
-
e,
|
|
941
|
-
!1,
|
|
942
|
-
Yt,
|
|
943
|
-
Zt,
|
|
944
|
-
Ze
|
|
945
|
-
);
|
|
946
|
-
}
|
|
947
|
-
// @__NO_SIDE_EFFECTS__
|
|
948
|
-
function we(e) {
|
|
949
|
-
return nt(
|
|
950
|
-
e,
|
|
951
|
-
!0,
|
|
952
|
-
Gt,
|
|
953
|
-
en,
|
|
954
|
-
et
|
|
955
|
-
);
|
|
956
|
-
}
|
|
957
|
-
function nt(e, t, n, s, r) {
|
|
958
|
-
if (!g(e))
|
|
959
|
-
return process.env.NODE_ENV !== "production" && j(
|
|
960
|
-
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
961
|
-
e
|
|
962
|
-
)}`
|
|
963
|
-
), e;
|
|
964
|
-
if (e.__v_raw && !(t && e.__v_isReactive) || e.__v_skip || !Object.isExtensible(e))
|
|
965
|
-
return e;
|
|
966
|
-
const i = r.get(e);
|
|
967
|
-
if (i)
|
|
968
|
-
return i;
|
|
969
|
-
const o = rn(qe(e));
|
|
970
|
-
if (o === 0)
|
|
971
|
-
return e;
|
|
972
|
-
const c = new Proxy(
|
|
973
|
-
e,
|
|
974
|
-
o === 2 ? s : n
|
|
975
|
-
);
|
|
976
|
-
return r.set(e, c), c;
|
|
977
|
-
}
|
|
978
|
-
// @__NO_SIDE_EFFECTS__
|
|
979
|
-
function Ie(e) {
|
|
980
|
-
return /* @__PURE__ */ v(e) ? /* @__PURE__ */ Ie(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
981
|
-
}
|
|
982
|
-
// @__NO_SIDE_EFFECTS__
|
|
983
|
-
function v(e) {
|
|
984
|
-
return !!(e && e.__v_isReadonly);
|
|
985
|
-
}
|
|
986
|
-
// @__NO_SIDE_EFFECTS__
|
|
987
|
-
function y(e) {
|
|
988
|
-
return !!(e && e.__v_isShallow);
|
|
989
|
-
}
|
|
990
|
-
// @__NO_SIDE_EFFECTS__
|
|
991
|
-
function q(e) {
|
|
992
|
-
return e ? !!e.__v_raw : !1;
|
|
993
|
-
}
|
|
994
|
-
// @__NO_SIDE_EFFECTS__
|
|
995
|
-
function h(e) {
|
|
996
|
-
const t = e && e.__v_raw;
|
|
997
|
-
return t ? /* @__PURE__ */ h(t) : e;
|
|
998
|
-
}
|
|
999
|
-
const x = (e) => g(e) ? /* @__PURE__ */ tt(e) : e, B = (e) => g(e) ? /* @__PURE__ */ we(e) : e;
|
|
1000
|
-
// @__NO_SIDE_EFFECTS__
|
|
1001
|
-
function b(e) {
|
|
1002
|
-
return e ? e.__v_isRef === !0 : !1;
|
|
1003
|
-
}
|
|
1004
|
-
// @__NO_SIDE_EFFECTS__
|
|
1005
|
-
function rt(e) {
|
|
1006
|
-
return sn(e, !1);
|
|
1007
|
-
}
|
|
1008
|
-
function sn(e, t) {
|
|
1009
|
-
return /* @__PURE__ */ b(e) ? e : new on(e, t);
|
|
1010
|
-
}
|
|
1011
|
-
class on {
|
|
1012
|
-
constructor(t, n) {
|
|
1013
|
-
this.dep = new Ye(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : /* @__PURE__ */ h(t), this._value = n ? t : x(t), this.__v_isShallow = n;
|
|
1014
|
-
}
|
|
1015
|
-
get value() {
|
|
1016
|
-
return process.env.NODE_ENV !== "production" ? this.dep.track({
|
|
1017
|
-
target: this,
|
|
1018
|
-
type: "get",
|
|
1019
|
-
key: "value"
|
|
1020
|
-
}) : this.dep.track(), this._value;
|
|
1021
|
-
}
|
|
1022
|
-
set value(t) {
|
|
1023
|
-
const n = this._rawValue, s = this.__v_isShallow || /* @__PURE__ */ y(t) || /* @__PURE__ */ v(t);
|
|
1024
|
-
t = s ? t : /* @__PURE__ */ h(t), $(t, n) && (this._rawValue = t, this._value = s ? t : x(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
|
|
1025
|
-
target: this,
|
|
1026
|
-
type: "set",
|
|
1027
|
-
key: "value",
|
|
1028
|
-
newValue: t,
|
|
1029
|
-
oldValue: n
|
|
1030
|
-
}) : this.dep.trigger());
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
function cn(e) {
|
|
1034
|
-
return /* @__PURE__ */ b(e) ? e.value : e;
|
|
1035
|
-
}
|
|
1036
|
-
class un {
|
|
1037
|
-
constructor(t, n, s) {
|
|
1038
|
-
this._object = t, this._defaultValue = s, this.__v_isRef = !0, this._value = void 0, this._key = P(n) ? n : String(n), this._raw = /* @__PURE__ */ h(t);
|
|
1039
|
-
let r = !0, i = t;
|
|
1040
|
-
if (!p(t) || P(this._key) || !ce(this._key))
|
|
1041
|
-
do
|
|
1042
|
-
r = !/* @__PURE__ */ q(i) || /* @__PURE__ */ y(i);
|
|
1043
|
-
while (r && (i = i.__v_raw));
|
|
1044
|
-
this._shallow = r;
|
|
1045
|
-
}
|
|
1046
|
-
get value() {
|
|
1047
|
-
let t = this._object[this._key];
|
|
1048
|
-
return this._shallow && (t = cn(t)), this._value = t === void 0 ? this._defaultValue : t;
|
|
1049
|
-
}
|
|
1050
|
-
set value(t) {
|
|
1051
|
-
if (this._shallow && /* @__PURE__ */ b(this._raw[this._key])) {
|
|
1052
|
-
const n = this._object[this._key];
|
|
1053
|
-
if (/* @__PURE__ */ b(n)) {
|
|
1054
|
-
n.value = t;
|
|
1055
|
-
return;
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
this._object[this._key] = t;
|
|
1059
|
-
}
|
|
1060
|
-
get dep() {
|
|
1061
|
-
return Lt(this._raw, this._key);
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
class ln {
|
|
1065
|
-
constructor(t) {
|
|
1066
|
-
this._getter = t, this.__v_isRef = !0, this.__v_isReadonly = !0, this._value = void 0;
|
|
1067
|
-
}
|
|
1068
|
-
get value() {
|
|
1069
|
-
return this._value = this._getter();
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
// @__NO_SIDE_EFFECTS__
|
|
1073
|
-
function an(e, t, n) {
|
|
1074
|
-
return /* @__PURE__ */ b(e) ? e : R(e) ? new ln(e) : g(e) && arguments.length > 1 ? fn(e, t, n) : /* @__PURE__ */ rt(e);
|
|
1075
|
-
}
|
|
1076
|
-
function fn(e, t, n) {
|
|
1077
|
-
return new un(e, t, n);
|
|
1078
|
-
}
|
|
1079
|
-
const T = [];
|
|
1080
|
-
function hn(e) {
|
|
1081
|
-
T.push(e);
|
|
1082
|
-
}
|
|
1083
|
-
function dn() {
|
|
1084
|
-
T.pop();
|
|
1085
|
-
}
|
|
1086
|
-
let pe = !1;
|
|
1087
|
-
function D(e, ...t) {
|
|
1088
|
-
if (pe) return;
|
|
1089
|
-
pe = !0, le();
|
|
1090
|
-
const n = T.length ? T[T.length - 1].component : null, s = n && n.appContext.config.warnHandler, r = pn();
|
|
1091
|
-
if (s)
|
|
1092
|
-
De(
|
|
1093
|
-
s,
|
|
1094
|
-
n,
|
|
1095
|
-
11,
|
|
1096
|
-
[
|
|
1097
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
1098
|
-
e + t.map((i) => {
|
|
1099
|
-
var o, c;
|
|
1100
|
-
return (c = (o = i.toString) == null ? void 0 : o.call(i)) != null ? c : JSON.stringify(i);
|
|
1101
|
-
}).join(""),
|
|
1102
|
-
n && n.proxy,
|
|
1103
|
-
r.map(
|
|
1104
|
-
({ vnode: i }) => `at <${St(n, i.type)}>`
|
|
1105
|
-
).join(`
|
|
1106
|
-
`),
|
|
1107
|
-
r
|
|
1108
|
-
]
|
|
1109
|
-
);
|
|
1110
|
-
else {
|
|
1111
|
-
const i = [`[Vue warn]: ${e}`, ...t];
|
|
1112
|
-
r.length && i.push(`
|
|
1113
|
-
`, ..._n(r)), console.warn(...i);
|
|
1114
|
-
}
|
|
1115
|
-
ae(), pe = !1;
|
|
1116
|
-
}
|
|
1117
|
-
function pn() {
|
|
1118
|
-
let e = T[T.length - 1];
|
|
1119
|
-
if (!e)
|
|
1120
|
-
return [];
|
|
1121
|
-
const t = [];
|
|
1122
|
-
for (; e; ) {
|
|
1123
|
-
const n = t[0];
|
|
1124
|
-
n && n.vnode === e ? n.recurseCount++ : t.push({
|
|
1125
|
-
vnode: e,
|
|
1126
|
-
recurseCount: 0
|
|
1127
|
-
});
|
|
1128
|
-
const s = e.component && e.component.parent;
|
|
1129
|
-
e = s && s.vnode;
|
|
1130
|
-
}
|
|
1131
|
-
return t;
|
|
1132
|
-
}
|
|
1133
|
-
function _n(e) {
|
|
1134
|
-
const t = [];
|
|
1135
|
-
return e.forEach((n, s) => {
|
|
1136
|
-
t.push(...s === 0 ? [] : [`
|
|
1137
|
-
`], ...gn(n));
|
|
1138
|
-
}), t;
|
|
1139
|
-
}
|
|
1140
|
-
function gn({ vnode: e, recurseCount: t }) {
|
|
1141
|
-
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, r = ` at <${St(
|
|
1142
|
-
e.component,
|
|
1143
|
-
e.type,
|
|
1144
|
-
s
|
|
1145
|
-
)}`, i = ">" + n;
|
|
1146
|
-
return e.props ? [r, ...bn(e.props), i] : [r + i];
|
|
1147
|
-
}
|
|
1148
|
-
function bn(e) {
|
|
1149
|
-
const t = [], n = Object.keys(e);
|
|
1150
|
-
return n.slice(0, 3).forEach((s) => {
|
|
1151
|
-
t.push(...st(s, e[s]));
|
|
1152
|
-
}), n.length > 3 && t.push(" ..."), t;
|
|
1153
|
-
}
|
|
1154
|
-
function st(e, t, n) {
|
|
1155
|
-
return O(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ b(t) ? (t = st(e, /* @__PURE__ */ h(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : R(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ h(t), n ? t : [`${e}=`, t]);
|
|
1156
|
-
}
|
|
1157
|
-
const it = {
|
|
1158
|
-
sp: "serverPrefetch hook",
|
|
1159
|
-
bc: "beforeCreate hook",
|
|
1160
|
-
c: "created hook",
|
|
1161
|
-
bm: "beforeMount hook",
|
|
1162
|
-
m: "mounted hook",
|
|
1163
|
-
bu: "beforeUpdate hook",
|
|
1164
|
-
u: "updated",
|
|
1165
|
-
bum: "beforeUnmount hook",
|
|
1166
|
-
um: "unmounted hook",
|
|
1167
|
-
a: "activated hook",
|
|
1168
|
-
da: "deactivated hook",
|
|
1169
|
-
ec: "errorCaptured hook",
|
|
1170
|
-
rtc: "renderTracked hook",
|
|
1171
|
-
rtg: "renderTriggered hook",
|
|
1172
|
-
0: "setup function",
|
|
1173
|
-
1: "render function",
|
|
1174
|
-
2: "watcher getter",
|
|
1175
|
-
3: "watcher callback",
|
|
1176
|
-
4: "watcher cleanup function",
|
|
1177
|
-
5: "native event handler",
|
|
1178
|
-
6: "component event handler",
|
|
1179
|
-
7: "vnode hook",
|
|
1180
|
-
8: "directive hook",
|
|
1181
|
-
9: "transition hook",
|
|
1182
|
-
10: "app errorHandler",
|
|
1183
|
-
11: "app warnHandler",
|
|
1184
|
-
12: "ref function",
|
|
1185
|
-
13: "async component loader",
|
|
1186
|
-
14: "scheduler flush",
|
|
1187
|
-
15: "component update",
|
|
1188
|
-
16: "app unmount cleanup function"
|
|
1189
|
-
};
|
|
1190
|
-
function De(e, t, n, s) {
|
|
1191
|
-
try {
|
|
1192
|
-
return s ? e(...s) : e();
|
|
1193
|
-
} catch (r) {
|
|
1194
|
-
ot(r, t, n);
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
function ot(e, t, n, s = !0) {
|
|
1198
|
-
const r = t ? t.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = t && t.appContext.config || me;
|
|
1199
|
-
if (t) {
|
|
1200
|
-
let c = t.parent;
|
|
1201
|
-
const l = t.proxy, a = process.env.NODE_ENV !== "production" ? it[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
1202
|
-
for (; c; ) {
|
|
1203
|
-
const d = c.ec;
|
|
1204
|
-
if (d) {
|
|
1205
|
-
for (let u = 0; u < d.length; u++)
|
|
1206
|
-
if (d[u](e, l, a) === !1)
|
|
1207
|
-
return;
|
|
1208
|
-
}
|
|
1209
|
-
c = c.parent;
|
|
1210
|
-
}
|
|
1211
|
-
if (i) {
|
|
1212
|
-
le(), De(i, null, 10, [
|
|
1213
|
-
e,
|
|
1214
|
-
l,
|
|
1215
|
-
a
|
|
1216
|
-
]), ae();
|
|
1217
|
-
return;
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
mn(e, n, r, s, o);
|
|
1221
|
-
}
|
|
1222
|
-
function mn(e, t, n, s = !0, r = !1) {
|
|
1223
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1224
|
-
const i = it[t];
|
|
1225
|
-
if (n && hn(n), D(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && dn(), s)
|
|
1226
|
-
throw e;
|
|
1227
|
-
console.error(e);
|
|
1228
|
-
} else {
|
|
1229
|
-
if (r)
|
|
1230
|
-
throw e;
|
|
1231
|
-
console.error(e);
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
const S = [];
|
|
1235
|
-
let C = -1;
|
|
1236
|
-
const H = [];
|
|
1237
|
-
let A = null, k = 0;
|
|
1238
|
-
const Sn = /* @__PURE__ */ Promise.resolve();
|
|
1239
|
-
let Oe = null;
|
|
1240
|
-
const yn = 100;
|
|
1241
|
-
function En(e) {
|
|
1242
|
-
let t = C + 1, n = S.length;
|
|
1243
|
-
for (; t < n; ) {
|
|
1244
|
-
const s = t + n >>> 1, r = S[s], i = J(r);
|
|
1245
|
-
i < e || i === e && r.flags & 2 ? t = s + 1 : n = s;
|
|
1246
|
-
}
|
|
1247
|
-
return t;
|
|
1248
|
-
}
|
|
1249
|
-
function wn(e) {
|
|
1250
|
-
if (!(e.flags & 1)) {
|
|
1251
|
-
const t = J(e), n = S[S.length - 1];
|
|
1252
|
-
!n || // fast path when the job id is larger than the tail
|
|
1253
|
-
!(e.flags & 2) && t >= J(n) ? S.push(e) : S.splice(En(t), 0, e), e.flags |= 1, ct();
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1256
|
-
function ct() {
|
|
1257
|
-
Oe || (Oe = Sn.then(ut));
|
|
1258
|
-
}
|
|
1259
|
-
function On(e) {
|
|
1260
|
-
if (!p(e))
|
|
1261
|
-
A && e.id === -1 ? A.splice(k + 1, 0, e) : e.flags & 1 || (H.push(e), e.flags |= 1);
|
|
1262
|
-
else
|
|
1263
|
-
for (let t = 0; t < e.length; t++)
|
|
1264
|
-
H.push(e[t]);
|
|
1265
|
-
ct();
|
|
1266
|
-
}
|
|
1267
|
-
function vn(e) {
|
|
1268
|
-
if (H.length) {
|
|
1269
|
-
const t = [...new Set(H)].sort(
|
|
1270
|
-
(n, s) => J(n) - J(s)
|
|
1271
|
-
);
|
|
1272
|
-
if (H.length = 0, A) {
|
|
1273
|
-
for (let n = 0; n < t.length; n++)
|
|
1274
|
-
A.push(t[n]);
|
|
1275
|
-
return;
|
|
1276
|
-
}
|
|
1277
|
-
for (A = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), k = 0; k < A.length; k++) {
|
|
1278
|
-
const n = A[k];
|
|
1279
|
-
process.env.NODE_ENV !== "production" && lt(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
1280
|
-
}
|
|
1281
|
-
A = null, k = 0;
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
const J = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1285
|
-
function ut(e) {
|
|
1286
|
-
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1287
|
-
const t = process.env.NODE_ENV !== "production" ? (n) => lt(e, n) : ze;
|
|
1288
|
-
try {
|
|
1289
|
-
for (C = 0; C < S.length; C++) {
|
|
1290
|
-
const n = S[C];
|
|
1291
|
-
if (n && !(n.flags & 8)) {
|
|
1292
|
-
if (process.env.NODE_ENV !== "production" && t(n))
|
|
1293
|
-
continue;
|
|
1294
|
-
n.flags & 4 && (n.flags &= -2), De(
|
|
1295
|
-
n,
|
|
1296
|
-
n.i,
|
|
1297
|
-
n.i ? 15 : 14
|
|
1298
|
-
), n.flags & 4 || (n.flags &= -2);
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
} finally {
|
|
1302
|
-
for (; C < S.length; C++) {
|
|
1303
|
-
const n = S[C];
|
|
1304
|
-
n && (n.flags &= -2);
|
|
1305
|
-
}
|
|
1306
|
-
C = -1, S.length = 0, vn(e), Oe = null, (S.length || H.length) && ut(e);
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
function lt(e, t) {
|
|
1310
|
-
const n = e.get(t) || 0;
|
|
1311
|
-
if (n > yn) {
|
|
1312
|
-
const s = t.i, r = s && mt(s.type);
|
|
1313
|
-
return ot(
|
|
1314
|
-
`Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1315
|
-
null,
|
|
1316
|
-
10
|
|
1317
|
-
), !0;
|
|
1318
|
-
}
|
|
1319
|
-
return e.set(t, n + 1), !1;
|
|
1320
|
-
}
|
|
1321
|
-
const _e = /* @__PURE__ */ new Map();
|
|
1322
|
-
process.env.NODE_ENV !== "production" && (ue().__VUE_HMR_RUNTIME__ = {
|
|
1323
|
-
createRecord: ge(Nn),
|
|
1324
|
-
rerender: ge(Cn),
|
|
1325
|
-
reload: ge(xn)
|
|
1326
|
-
});
|
|
1327
|
-
const ne = /* @__PURE__ */ new Map();
|
|
1328
|
-
function Nn(e, t) {
|
|
1329
|
-
return ne.has(e) ? !1 : (ne.set(e, {
|
|
1330
|
-
initialDef: re(t),
|
|
1331
|
-
instances: /* @__PURE__ */ new Set()
|
|
1332
|
-
}), !0);
|
|
1333
|
-
}
|
|
1334
|
-
function re(e) {
|
|
1335
|
-
return yt(e) ? e.__vccOpts : e;
|
|
1336
|
-
}
|
|
1337
|
-
function Cn(e, t) {
|
|
1338
|
-
const n = ne.get(e);
|
|
1339
|
-
n && (n.initialDef.render = t, [...n.instances].forEach((s) => {
|
|
1340
|
-
t && (s.render = t, re(s.type).render = t), s.renderCache = [], s.job.flags & 8 || s.update();
|
|
1341
|
-
}));
|
|
1342
|
-
}
|
|
1343
|
-
function xn(e, t) {
|
|
1344
|
-
const n = ne.get(e);
|
|
1345
|
-
if (!n) return;
|
|
1346
|
-
t = re(t), ke(n.initialDef, t);
|
|
1347
|
-
const s = [...n.instances];
|
|
1348
|
-
for (let r = 0; r < s.length; r++) {
|
|
1349
|
-
const i = s[r], o = re(i.type);
|
|
1350
|
-
let c = _e.get(o);
|
|
1351
|
-
c || (o !== n.initialDef && ke(o, t), _e.set(o, c = /* @__PURE__ */ new Set())), c.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (c.add(i), i.ceReload(t.styles), c.delete(i)) : i.parent ? wn(() => {
|
|
1352
|
-
i.job.flags & 8 || (i.parent.update(), c.delete(i));
|
|
1353
|
-
}) : i.appContext.reload ? i.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
1354
|
-
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1355
|
-
), i.root.ce && i !== i.root && i.root.ce._removeChildStyle(o);
|
|
1356
|
-
}
|
|
1357
|
-
On(() => {
|
|
1358
|
-
_e.clear();
|
|
1359
|
-
});
|
|
1360
|
-
}
|
|
1361
|
-
function ke(e, t) {
|
|
1362
|
-
M(e, t);
|
|
1363
|
-
for (const n in e)
|
|
1364
|
-
n !== "__file" && !(n in t) && delete e[n];
|
|
1365
|
-
}
|
|
1366
|
-
function ge(e) {
|
|
1367
|
-
return (t, n) => {
|
|
1368
|
-
try {
|
|
1369
|
-
return e(t, n);
|
|
1370
|
-
} catch (s) {
|
|
1371
|
-
console.error(s), console.warn(
|
|
1372
|
-
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
|
|
1373
|
-
);
|
|
1374
|
-
}
|
|
1375
|
-
};
|
|
1376
|
-
}
|
|
1377
|
-
let K, X = [];
|
|
1378
|
-
function at(e, t) {
|
|
1379
|
-
var n, s;
|
|
1380
|
-
K = e, K ? (K.enabled = !0, X.forEach(({ event: r, args: i }) => K.emit(r, ...i)), X = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1381
|
-
window.HTMLElement && // also exclude jsdom
|
|
1382
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
1383
|
-
!((s = (n = window.navigator) == null ? void 0 : n.userAgent) != null && s.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => {
|
|
1384
|
-
at(i, t);
|
|
1385
|
-
}), setTimeout(() => {
|
|
1386
|
-
K || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, X = []);
|
|
1387
|
-
}, 3e3)) : X = [];
|
|
1388
|
-
}
|
|
1389
|
-
let se = null, Rn = null;
|
|
1390
|
-
const $e = (e) => e.__isTeleport;
|
|
1391
|
-
function An(e) {
|
|
1392
|
-
let t = e[0];
|
|
1393
|
-
if (e.length > 1) {
|
|
1394
|
-
let n = !1;
|
|
1395
|
-
for (const s of e)
|
|
1396
|
-
if (s.type !== pt) {
|
|
1397
|
-
if (process.env.NODE_ENV !== "production" && n) {
|
|
1398
|
-
D(
|
|
1399
|
-
"<transition> can only be used on a single element or component. Use <transition-group> for lists."
|
|
1400
|
-
);
|
|
1401
|
-
break;
|
|
1402
|
-
}
|
|
1403
|
-
if (t = s, n = !0, process.env.NODE_ENV === "production") break;
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
return t;
|
|
1407
|
-
}
|
|
1408
|
-
function In(e) {
|
|
1409
|
-
if (!Dn(e))
|
|
1410
|
-
return $e(e.type) && e.children ? An(e.children) : e;
|
|
1411
|
-
if (e.component)
|
|
1412
|
-
return e.component.subTree;
|
|
1413
|
-
const { shapeFlag: t, children: n } = e;
|
|
1414
|
-
if (n) {
|
|
1415
|
-
if (t & 16)
|
|
1416
|
-
return n[0];
|
|
1417
|
-
if (t & 32 && R(n.default))
|
|
1418
|
-
return n.default();
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
function ft(e, t) {
|
|
1422
|
-
if (e.shapeFlag & 6 && e.component) {
|
|
1423
|
-
e.transition = t;
|
|
1424
|
-
const n = e.component.subTree;
|
|
1425
|
-
ft(
|
|
1426
|
-
$e(n.type) && In(n) || n,
|
|
1427
|
-
t
|
|
1428
|
-
);
|
|
1429
|
-
} else e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1430
|
-
}
|
|
1431
|
-
ue().requestIdleCallback;
|
|
1432
|
-
ue().cancelIdleCallback;
|
|
1433
|
-
const Dn = (e) => e.type.__isKeepAlive, $n = /* @__PURE__ */ Symbol.for("v-ndc"), Vn = {};
|
|
1434
|
-
process.env.NODE_ENV !== "production" && (Vn.ownKeys = (e) => (D(
|
|
1435
|
-
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
1436
|
-
), Reflect.ownKeys(e)));
|
|
1437
|
-
const Tn = {}, ht = (e) => Object.getPrototypeOf(e) === Tn, Pn = (e) => e.__isSuspense, dt = /* @__PURE__ */ Symbol.for("v-fgt"), Mn = /* @__PURE__ */ Symbol.for("v-txt"), pt = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
1438
|
-
function Fn(e) {
|
|
1439
|
-
return e ? e.__v_isVNode === !0 : !1;
|
|
1440
|
-
}
|
|
1441
|
-
const kn = (...e) => gt(
|
|
1442
|
-
...e
|
|
1443
|
-
), _t = ({ key: e }) => e ?? null, Z = ({
|
|
1444
|
-
ref: e,
|
|
1445
|
-
ref_key: t,
|
|
1446
|
-
ref_for: n
|
|
1447
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? O(e) || /* @__PURE__ */ b(e) || R(e) ? { i: se, r: e, k: t, f: !!n } : e : null);
|
|
1448
|
-
function Kn(e, t = null, n = null, s = 0, r = null, i = e === dt ? 0 : 1, o = !1, c = !1) {
|
|
1449
|
-
const l = {
|
|
1450
|
-
__v_isVNode: !0,
|
|
1451
|
-
__v_skip: !0,
|
|
1452
|
-
type: e,
|
|
1453
|
-
props: t,
|
|
1454
|
-
key: t && _t(t),
|
|
1455
|
-
ref: t && Z(t),
|
|
1456
|
-
scopeId: Rn,
|
|
1457
|
-
slotScopeIds: null,
|
|
1458
|
-
children: n,
|
|
1459
|
-
component: null,
|
|
1460
|
-
suspense: null,
|
|
1461
|
-
ssContent: null,
|
|
1462
|
-
ssFallback: null,
|
|
1463
|
-
dirs: null,
|
|
1464
|
-
transition: null,
|
|
1465
|
-
el: null,
|
|
1466
|
-
anchor: null,
|
|
1467
|
-
target: null,
|
|
1468
|
-
targetStart: null,
|
|
1469
|
-
targetAnchor: null,
|
|
1470
|
-
staticCount: 0,
|
|
1471
|
-
shapeFlag: i,
|
|
1472
|
-
patchFlag: s,
|
|
1473
|
-
dynamicProps: r,
|
|
1474
|
-
dynamicChildren: null,
|
|
1475
|
-
appContext: null,
|
|
1476
|
-
ctx: se
|
|
1477
|
-
};
|
|
1478
|
-
if (c ? (oe(l, n), i & 128 && e.normalize(l)) : n && (l.shapeFlag |= O(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && D("VNode created with invalid key (NaN). VNode type:", l.type), process.env.NODE_ENV !== "production" && t && l.shapeFlag & 1) {
|
|
1479
|
-
const a = t.innerHTML != null ? "innerHTML" : t.textContent != null ? "textContent" : null;
|
|
1480
|
-
a && Hn(l.children) && D(
|
|
1481
|
-
`The \`${a}\` prop on <${l.type}> will override its children. Remove either the \`${a}\` prop or the children.`
|
|
1482
|
-
);
|
|
1483
|
-
}
|
|
1484
|
-
return l;
|
|
1485
|
-
}
|
|
1486
|
-
function Hn(e) {
|
|
1487
|
-
return O(e) ? e !== "" : p(e) ? e.length > 0 : !1;
|
|
1488
|
-
}
|
|
1489
|
-
const jn = process.env.NODE_ENV !== "production" ? kn : gt;
|
|
1490
|
-
function gt(e, t = null, n = null, s = 0, r = null, i = !1) {
|
|
1491
|
-
if ((!e || e === $n) && (process.env.NODE_ENV !== "production" && !e && D(`Invalid vnode type when creating vnode: ${e}.`), e = pt), Fn(e)) {
|
|
1492
|
-
const c = ie(
|
|
1493
|
-
e,
|
|
1494
|
-
t,
|
|
1495
|
-
!0
|
|
1496
|
-
/* mergeRef: true */
|
|
1497
|
-
);
|
|
1498
|
-
return n && oe(c, n), c.patchFlag = -2, c;
|
|
1499
|
-
}
|
|
1500
|
-
if (yt(e) && (e = e.__vccOpts), t) {
|
|
1501
|
-
t = Ln(t);
|
|
1502
|
-
let { class: c, style: l } = t;
|
|
1503
|
-
c && !O(c) && (t.class = Ce(c)), g(l) && (/* @__PURE__ */ q(l) && !p(l) && (l = M({}, l)), t.style = Ne(l));
|
|
1504
|
-
}
|
|
1505
|
-
const o = O(e) ? 1 : Pn(e) ? 128 : $e(e) ? 64 : g(e) ? 4 : R(e) ? 2 : 0;
|
|
1506
|
-
return process.env.NODE_ENV !== "production" && o & 4 && /* @__PURE__ */ q(e) && (e = /* @__PURE__ */ h(e), D(
|
|
1507
|
-
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
1508
|
-
`
|
|
1509
|
-
Component that was made reactive: `,
|
|
1510
|
-
e
|
|
1511
|
-
)), Kn(
|
|
1512
|
-
e,
|
|
1513
|
-
t,
|
|
1514
|
-
n,
|
|
1515
|
-
s,
|
|
1516
|
-
r,
|
|
1517
|
-
o,
|
|
1518
|
-
i,
|
|
1519
|
-
!0
|
|
1520
|
-
);
|
|
1521
|
-
}
|
|
1522
|
-
function Ln(e) {
|
|
1523
|
-
return e ? /* @__PURE__ */ q(e) || ht(e) ? M({}, e) : e : null;
|
|
1524
|
-
}
|
|
1525
|
-
function ie(e, t, n = !1, s = !1) {
|
|
1526
|
-
const { props: r, ref: i, patchFlag: o, children: c, transition: l } = e, a = t ? zn(r || {}, t) : r, d = {
|
|
1527
|
-
__v_isVNode: !0,
|
|
1528
|
-
__v_skip: !0,
|
|
1529
|
-
type: e.type,
|
|
1530
|
-
props: a,
|
|
1531
|
-
key: a && _t(a),
|
|
1532
|
-
ref: t && t.ref ? (
|
|
1533
|
-
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
1534
|
-
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
1535
|
-
// the refs so the single vnode can be set on multiple refs
|
|
1536
|
-
n && i ? p(i) ? i.concat(Z(t)) : [i, Z(t)] : Z(t)
|
|
1537
|
-
) : i,
|
|
1538
|
-
scopeId: e.scopeId,
|
|
1539
|
-
slotScopeIds: e.slotScopeIds,
|
|
1540
|
-
children: process.env.NODE_ENV !== "production" && o === -1 && p(c) ? c.map(bt) : c,
|
|
1541
|
-
target: e.target,
|
|
1542
|
-
targetStart: e.targetStart,
|
|
1543
|
-
targetAnchor: e.targetAnchor,
|
|
1544
|
-
staticCount: e.staticCount,
|
|
1545
|
-
shapeFlag: e.shapeFlag,
|
|
1546
|
-
// if the vnode is cloned with extra props, we can no longer assume its
|
|
1547
|
-
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
1548
|
-
// note: preserve flag for fragments since they use the flag for children
|
|
1549
|
-
// fast paths only.
|
|
1550
|
-
patchFlag: t && e.type !== dt ? o === -1 ? 16 : o | 16 : o,
|
|
1551
|
-
dynamicProps: e.dynamicProps,
|
|
1552
|
-
dynamicChildren: e.dynamicChildren,
|
|
1553
|
-
appContext: e.appContext,
|
|
1554
|
-
dirs: e.dirs,
|
|
1555
|
-
transition: l,
|
|
1556
|
-
// These should technically only be non-null on mounted VNodes. However,
|
|
1557
|
-
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
1558
|
-
// them since them being non-null during a mount doesn't affect the logic as
|
|
1559
|
-
// they will simply be overwritten.
|
|
1560
|
-
component: e.component,
|
|
1561
|
-
suspense: e.suspense,
|
|
1562
|
-
ssContent: e.ssContent && ie(e.ssContent),
|
|
1563
|
-
ssFallback: e.ssFallback && ie(e.ssFallback),
|
|
1564
|
-
placeholder: e.placeholder,
|
|
1565
|
-
el: e.el,
|
|
1566
|
-
anchor: e.anchor,
|
|
1567
|
-
ctx: e.ctx,
|
|
1568
|
-
ce: e.ce
|
|
1569
|
-
};
|
|
1570
|
-
return l && s && ft(
|
|
1571
|
-
d,
|
|
1572
|
-
l.clone(d)
|
|
1573
|
-
), d;
|
|
1574
|
-
}
|
|
1575
|
-
function bt(e) {
|
|
1576
|
-
const t = ie(e);
|
|
1577
|
-
return p(e.children) && (t.children = e.children.map(bt)), t;
|
|
1578
|
-
}
|
|
1579
|
-
function Wn(e = " ", t = 0) {
|
|
1580
|
-
return jn(Mn, null, e, t);
|
|
1581
|
-
}
|
|
1582
|
-
function oe(e, t) {
|
|
1583
|
-
let n = 0;
|
|
1584
|
-
const { shapeFlag: s } = e;
|
|
1585
|
-
if (t == null)
|
|
1586
|
-
t = null;
|
|
1587
|
-
else if (p(t))
|
|
1588
|
-
n = 16;
|
|
1589
|
-
else if (typeof t == "object")
|
|
1590
|
-
if (s & 65) {
|
|
1591
|
-
const r = t.default;
|
|
1592
|
-
r && (r._c && (r._d = !1), oe(e, r()), r._c && (r._d = !0));
|
|
1593
|
-
return;
|
|
1594
|
-
} else
|
|
1595
|
-
n = 32, !t._ && !ht(t) && (t._ctx = se);
|
|
1596
|
-
else if (R(t)) {
|
|
1597
|
-
if (s & 65) {
|
|
1598
|
-
oe(e, { default: t });
|
|
1599
|
-
return;
|
|
1600
|
-
}
|
|
1601
|
-
t = { default: t, _ctx: se }, n = 32;
|
|
1602
|
-
} else
|
|
1603
|
-
t = String(t), s & 64 ? (n = 16, t = [Wn(t)]) : n = 8;
|
|
1604
|
-
e.children = t, e.shapeFlag |= n;
|
|
1605
|
-
}
|
|
1606
|
-
function zn(...e) {
|
|
1607
|
-
const t = {};
|
|
1608
|
-
for (let n = 0; n < e.length; n++) {
|
|
1609
|
-
const s = e[n];
|
|
1610
|
-
for (const r in s)
|
|
1611
|
-
if (r === "class")
|
|
1612
|
-
t.class !== s.class && (t.class = Ce([t.class, s.class]));
|
|
1613
|
-
else if (r === "style")
|
|
1614
|
-
t.style = Ne([t.style, s.style]);
|
|
1615
|
-
else if (Dt(r)) {
|
|
1616
|
-
const i = t[r], o = s[r];
|
|
1617
|
-
o && i !== o && !(p(i) && i.includes(o)) ? t[r] = i ? [].concat(i, o) : o : o == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
|
|
1618
|
-
// the model listener.
|
|
1619
|
-
!$t(r) && (t[r] = o);
|
|
1620
|
-
} else r !== "" && (t[r] = s[r]);
|
|
1621
|
-
}
|
|
1622
|
-
return t;
|
|
1623
|
-
}
|
|
1624
|
-
{
|
|
1625
|
-
const e = ue(), t = (n, s) => {
|
|
1626
|
-
let r;
|
|
1627
|
-
return (r = e[n]) || (r = e[n] = []), r.push(s), (i) => {
|
|
1628
|
-
r.length > 1 ? r.forEach((o) => o(i)) : r[0](i);
|
|
1629
|
-
};
|
|
1630
|
-
};
|
|
1631
|
-
t(
|
|
1632
|
-
"__VUE_INSTANCE_SETTERS__",
|
|
1633
|
-
(n) => n
|
|
1634
|
-
), t(
|
|
1635
|
-
"__VUE_SSR_SETTERS__",
|
|
1636
|
-
(n) => n
|
|
1637
|
-
);
|
|
1638
|
-
}
|
|
1639
|
-
process.env.NODE_ENV;
|
|
1640
|
-
const Un = /(?:^|[-_])\w/g, qn = (e) => e.replace(Un, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
1641
|
-
function mt(e, t = !0) {
|
|
1642
|
-
return R(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
1643
|
-
}
|
|
1644
|
-
function St(e, t, n = !1) {
|
|
1645
|
-
let s = mt(t);
|
|
1646
|
-
if (!s && t.__file) {
|
|
1647
|
-
const r = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
1648
|
-
r && (s = r[1]);
|
|
1649
|
-
}
|
|
1650
|
-
if (!s && e) {
|
|
1651
|
-
const r = (i) => {
|
|
1652
|
-
for (const o in i)
|
|
1653
|
-
if (i[o] === t)
|
|
1654
|
-
return o;
|
|
1655
|
-
};
|
|
1656
|
-
s = r(e.components) || e.parent && r(
|
|
1657
|
-
e.parent.type.components
|
|
1658
|
-
) || r(e.appContext.components);
|
|
1659
|
-
}
|
|
1660
|
-
return s ? qn(s) : n ? "App" : "Anonymous";
|
|
1661
|
-
}
|
|
1662
|
-
function yt(e) {
|
|
1663
|
-
return R(e) && "__vccOpts" in e;
|
|
1664
|
-
}
|
|
1665
|
-
function Bn() {
|
|
1666
|
-
if (process.env.NODE_ENV === "production" || typeof window > "u")
|
|
1667
|
-
return;
|
|
1668
|
-
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, s = { style: "color:#eb2f96" }, r = {
|
|
1669
|
-
__vue_custom_formatter: !0,
|
|
1670
|
-
header(u) {
|
|
1671
|
-
if (!g(u))
|
|
1672
|
-
return null;
|
|
1673
|
-
if (u.__isVue)
|
|
1674
|
-
return ["div", e, "VueInstance"];
|
|
1675
|
-
if (/* @__PURE__ */ b(u)) {
|
|
1676
|
-
le();
|
|
1677
|
-
const f = u.value;
|
|
1678
|
-
return ae(), [
|
|
1679
|
-
"div",
|
|
1680
|
-
{},
|
|
1681
|
-
["span", e, d(u)],
|
|
1682
|
-
"<",
|
|
1683
|
-
c(f),
|
|
1684
|
-
">"
|
|
1685
|
-
];
|
|
1686
|
-
} else {
|
|
1687
|
-
if (/* @__PURE__ */ Ie(u))
|
|
1688
|
-
return [
|
|
1689
|
-
"div",
|
|
1690
|
-
{},
|
|
1691
|
-
["span", e, /* @__PURE__ */ y(u) ? "ShallowReactive" : "Reactive"],
|
|
1692
|
-
"<",
|
|
1693
|
-
c(u),
|
|
1694
|
-
`>${/* @__PURE__ */ v(u) ? " (readonly)" : ""}`
|
|
1695
|
-
];
|
|
1696
|
-
if (/* @__PURE__ */ v(u))
|
|
1697
|
-
return [
|
|
1698
|
-
"div",
|
|
1699
|
-
{},
|
|
1700
|
-
["span", e, /* @__PURE__ */ y(u) ? "ShallowReadonly" : "Readonly"],
|
|
1701
|
-
"<",
|
|
1702
|
-
c(u),
|
|
1703
|
-
">"
|
|
1704
|
-
];
|
|
1705
|
-
}
|
|
1706
|
-
return null;
|
|
1707
|
-
},
|
|
1708
|
-
hasBody(u) {
|
|
1709
|
-
return u && u.__isVue;
|
|
1710
|
-
},
|
|
1711
|
-
body(u) {
|
|
1712
|
-
if (u && u.__isVue)
|
|
1713
|
-
return [
|
|
1714
|
-
"div",
|
|
1715
|
-
{},
|
|
1716
|
-
...i(u.$)
|
|
1717
|
-
];
|
|
255
|
+
} catch (n) {
|
|
256
|
+
this.logError("subscriptionDelivery()", n, e, i);
|
|
1718
257
|
}
|
|
1719
|
-
};
|
|
1720
|
-
function i(u) {
|
|
1721
|
-
const f = [];
|
|
1722
|
-
u.type.props && u.props && f.push(o("props", /* @__PURE__ */ h(u.props))), u.setupState !== me && f.push(o("setup", u.setupState)), u.data !== me && f.push(o("data", /* @__PURE__ */ h(u.data)));
|
|
1723
|
-
const m = l(u, "computed");
|
|
1724
|
-
m && f.push(o("computed", m));
|
|
1725
|
-
const E = l(u, "inject");
|
|
1726
|
-
return E && f.push(o("injected", E)), f.push([
|
|
1727
|
-
"div",
|
|
1728
|
-
{},
|
|
1729
|
-
[
|
|
1730
|
-
"span",
|
|
1731
|
-
{
|
|
1732
|
-
style: s.style + ";opacity:0.66"
|
|
1733
|
-
},
|
|
1734
|
-
"$ (internal): "
|
|
1735
|
-
],
|
|
1736
|
-
["object", { object: u }]
|
|
1737
|
-
]), f;
|
|
1738
|
-
}
|
|
1739
|
-
function o(u, f) {
|
|
1740
|
-
return f = M({}, f), Object.keys(f).length ? [
|
|
1741
|
-
"div",
|
|
1742
|
-
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
1743
|
-
[
|
|
1744
|
-
"div",
|
|
1745
|
-
{
|
|
1746
|
-
style: "color:#476582"
|
|
1747
|
-
},
|
|
1748
|
-
u
|
|
1749
|
-
],
|
|
1750
|
-
[
|
|
1751
|
-
"div",
|
|
1752
|
-
{
|
|
1753
|
-
style: "padding-left:1.25em"
|
|
1754
|
-
},
|
|
1755
|
-
...Object.keys(f).map((m) => [
|
|
1756
|
-
"div",
|
|
1757
|
-
{},
|
|
1758
|
-
["span", s, m + ": "],
|
|
1759
|
-
c(f[m], !1)
|
|
1760
|
-
])
|
|
1761
|
-
]
|
|
1762
|
-
] : ["span", {}];
|
|
1763
|
-
}
|
|
1764
|
-
function c(u, f = !0) {
|
|
1765
|
-
return typeof u == "number" ? ["span", t, u] : typeof u == "string" ? ["span", n, JSON.stringify(u)] : typeof u == "boolean" ? ["span", s, u] : g(u) ? ["object", { object: f ? /* @__PURE__ */ h(u) : u }] : ["span", n, String(u)];
|
|
1766
|
-
}
|
|
1767
|
-
function l(u, f) {
|
|
1768
|
-
const m = u.type;
|
|
1769
|
-
if (R(m))
|
|
1770
|
-
return;
|
|
1771
|
-
const E = {};
|
|
1772
|
-
for (const L in u.ctx)
|
|
1773
|
-
a(m, L, f) && (E[L] = u.ctx[L]);
|
|
1774
|
-
return E;
|
|
1775
|
-
}
|
|
1776
|
-
function a(u, f, m) {
|
|
1777
|
-
const E = u[m];
|
|
1778
|
-
if (p(E) && E.includes(f) || g(E) && f in E || u.extends && a(u.extends, f, m) || u.mixins && u.mixins.some((L) => a(L, f, m)))
|
|
1779
|
-
return !0;
|
|
1780
|
-
}
|
|
1781
|
-
function d(u) {
|
|
1782
|
-
return /* @__PURE__ */ y(u) ? "ShallowRef" : u.effect ? "ComputedRef" : "Ref";
|
|
1783
|
-
}
|
|
1784
|
-
window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
|
|
1785
|
-
}
|
|
1786
|
-
process.env.NODE_ENV;
|
|
1787
|
-
process.env.NODE_ENV;
|
|
1788
|
-
process.env.NODE_ENV;
|
|
1789
|
-
function Jn() {
|
|
1790
|
-
Bn();
|
|
1791
|
-
}
|
|
1792
|
-
process.env.NODE_ENV !== "production" && Jn();
|
|
1793
|
-
const Ve = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new Map(), Ke = /* @__PURE__ */ new WeakSet(), Yn = 50;
|
|
1794
|
-
function Gn(e) {
|
|
1795
|
-
return e?.storeOptions?.debug === !0;
|
|
1796
|
-
}
|
|
1797
|
-
function ve(e, t, n) {
|
|
1798
|
-
if (!Gn(t))
|
|
1799
|
-
return;
|
|
1800
|
-
const s = Y.size;
|
|
1801
|
-
console.debug(`[defineAStoreSetup] ${e} - ${n} (contextsById=${s})`), s >= Yn && console.warn(`[defineAStoreSetup] contextsById reached ${s} entries`);
|
|
1802
|
-
}
|
|
1803
|
-
function Qn(e, t, n) {
|
|
1804
|
-
if (Ke.has(e) || typeof e.$dispose != "function")
|
|
1805
|
-
return;
|
|
1806
|
-
const s = e.$dispose;
|
|
1807
|
-
e.$dispose = (...r) => (Ve.delete(e), Y.delete(t), ve(t, n, "dispose cleanup"), s.apply(e, r)), Ke.add(e);
|
|
1808
|
-
}
|
|
1809
|
-
function or(e, t, n) {
|
|
1810
|
-
const s = n ? { storeOptions: n } : {};
|
|
1811
|
-
return typeof t == "function" ? Et(
|
|
1812
|
-
e,
|
|
1813
|
-
t,
|
|
1814
|
-
s
|
|
1815
|
-
) : Xn(
|
|
1816
|
-
e,
|
|
1817
|
-
t,
|
|
1818
|
-
s
|
|
1819
|
-
);
|
|
1820
|
-
}
|
|
1821
|
-
function cr(e, t, n) {
|
|
1822
|
-
const s = n ? { storeOptions: { ...n, enhancedStore: !0 } } : { storeOptions: { enhancedStore: !0 } };
|
|
1823
|
-
return Et(
|
|
1824
|
-
e,
|
|
1825
|
-
t,
|
|
1826
|
-
s
|
|
1827
|
-
);
|
|
1828
|
-
}
|
|
1829
|
-
function Et(e, t, n) {
|
|
1830
|
-
const s = {
|
|
1831
|
-
id: e,
|
|
1832
|
-
extensions: {}
|
|
1833
|
-
}, r = n?.storeOptions?.enhancedStore === !0, i = He(e, () => t(s), n);
|
|
1834
|
-
return Object.assign(((...o) => {
|
|
1835
|
-
r && (Y.set(e, s), ve(e, n, "registered context by id"));
|
|
1836
|
-
const c = i(...o);
|
|
1837
|
-
return r && (Ve.set(c, s), Y.delete(e), ve(e, n, "moved context to weak map"), Qn(c, e, n)), c;
|
|
1838
|
-
}), i);
|
|
1839
|
-
}
|
|
1840
|
-
function Xn(e, t, n) {
|
|
1841
|
-
return n && (t = { ...t, ...n ?? {} }), He(e, t);
|
|
1842
|
-
}
|
|
1843
|
-
const Zn = /* @__PURE__ */ new Set(["_", "$"]);
|
|
1844
|
-
function er(e) {
|
|
1845
|
-
return Zn.has(e[0]);
|
|
1846
|
-
}
|
|
1847
|
-
function tr(e) {
|
|
1848
|
-
return Ve.get(e) ?? (typeof e?.$id == "string" ? Y.get(e.$id) : void 0);
|
|
1849
|
-
}
|
|
1850
|
-
function nr(e) {
|
|
1851
|
-
const t = e.extensions.enhancedStore ?? e.extensions.extending;
|
|
1852
|
-
if (!t)
|
|
1853
|
-
throw new Error(`${e.id}Store - getEnhancedStore - Error: enhanced store is required`);
|
|
1854
|
-
return t;
|
|
1855
|
-
}
|
|
1856
|
-
function rr(e, t) {
|
|
1857
|
-
e.extensions.enhancedStore = t, e.extensions.extending = t;
|
|
1858
|
-
}
|
|
1859
|
-
function ur(e) {
|
|
1860
|
-
return nr(e);
|
|
1861
|
-
}
|
|
1862
|
-
class lr extends je {
|
|
1863
|
-
_className = "Store";
|
|
1864
|
-
_onAction;
|
|
1865
|
-
_options;
|
|
1866
|
-
_store;
|
|
1867
|
-
_subscriptions = {};
|
|
1868
|
-
_storeSubscribe;
|
|
1869
|
-
static _requiredKeys;
|
|
1870
|
-
get onAction() {
|
|
1871
|
-
if (this._onAction)
|
|
1872
|
-
return () => ({
|
|
1873
|
-
store: this.store,
|
|
1874
|
-
callback: this._onAction
|
|
1875
|
-
});
|
|
1876
|
-
}
|
|
1877
|
-
set onAction(t) {
|
|
1878
|
-
this._onAction = t;
|
|
1879
|
-
}
|
|
1880
|
-
get options() {
|
|
1881
|
-
return this._options;
|
|
1882
|
-
}
|
|
1883
|
-
get state() {
|
|
1884
|
-
return this._store.$state;
|
|
1885
|
-
}
|
|
1886
|
-
set state(t) {
|
|
1887
|
-
this._store.$state = t;
|
|
1888
|
-
}
|
|
1889
|
-
get store() {
|
|
1890
|
-
return this._store;
|
|
1891
|
-
}
|
|
1892
|
-
hydrate() {
|
|
1893
|
-
}
|
|
1894
|
-
afterHydration() {
|
|
1895
|
-
}
|
|
1896
|
-
get storeSubscribe() {
|
|
1897
|
-
if (this._storeSubscribe)
|
|
1898
|
-
return () => ({
|
|
1899
|
-
store: this.store,
|
|
1900
|
-
callback: this._storeSubscribe
|
|
1901
|
-
});
|
|
1902
|
-
}
|
|
1903
|
-
set storeSubscribe(t) {
|
|
1904
|
-
this._storeSubscribe = t;
|
|
1905
|
-
}
|
|
1906
|
-
constructor(t, n, s = !1, r) {
|
|
1907
|
-
if (super(s, r), this._options = n.storeOptions, this._store = t, this._options?.enhancedStore) {
|
|
1908
|
-
const i = tr(this.store);
|
|
1909
|
-
i && rr(i, this.store);
|
|
1910
|
-
}
|
|
1911
|
-
}
|
|
1912
|
-
/**
|
|
1913
|
-
* Add property to state
|
|
1914
|
-
* @param name
|
|
1915
|
-
* @param value
|
|
1916
|
-
*/
|
|
1917
|
-
addToState(t, n) {
|
|
1918
|
-
this.isOptionApi() || n?.value || (n = /* @__PURE__ */ rt(n)), this.state[t] = n, this.store[t] = /* @__PURE__ */ an(this.state, t);
|
|
1919
|
-
}
|
|
1920
|
-
addSubscription(t, n, s) {
|
|
1921
|
-
this._subscriptions[t] = { subscription: n, ...s ?? {} };
|
|
1922
|
-
}
|
|
1923
|
-
/**
|
|
1924
|
-
* Create and return a class instance
|
|
1925
|
-
* @param store
|
|
1926
|
-
* @param options
|
|
1927
|
-
* @param debug
|
|
1928
|
-
* @returns
|
|
1929
|
-
*/
|
|
1930
|
-
static customizeStore(t, n, s = !1, r) {
|
|
1931
|
-
if (n.storeOptions && this.hasRequiredKeys(n.storeOptions))
|
|
1932
|
-
return new this(t, n, s, r);
|
|
1933
|
-
}
|
|
1934
|
-
hasDeniedFirstChar(t) {
|
|
1935
|
-
return er(t[0]);
|
|
1936
|
-
}
|
|
1937
|
-
static hasRequiredKeys(t) {
|
|
1938
|
-
return this._requiredKeys !== void 0 && this._requiredKeys?.every((n) => !!t[n]);
|
|
1939
|
-
}
|
|
1940
|
-
getOption(t) {
|
|
1941
|
-
return this.options && this.options[t];
|
|
1942
|
-
}
|
|
1943
|
-
getStatePropertyValue(t) {
|
|
1944
|
-
return this.getValue(this.state[t]);
|
|
1945
|
-
}
|
|
1946
|
-
getSubscriptions() {
|
|
1947
|
-
if (!be(this._subscriptions))
|
|
1948
|
-
return this._subscriptions;
|
|
1949
|
-
}
|
|
1950
|
-
getValue(t) {
|
|
1951
|
-
return t?.__v_isRef ? t.value : t;
|
|
1952
|
-
}
|
|
1953
|
-
isOptionApi() {
|
|
1954
|
-
return this.store._isOptionsAPI;
|
|
1955
|
-
}
|
|
1956
|
-
stateHas(t) {
|
|
1957
|
-
return this.state.hasOwnProperty(t);
|
|
1958
|
-
}
|
|
1959
|
-
storeHas(t) {
|
|
1960
|
-
return this.store.hasOwnProperty(t);
|
|
1961
258
|
}
|
|
1962
259
|
}
|
|
1963
|
-
function
|
|
1964
|
-
const
|
|
1965
|
-
return
|
|
260
|
+
function $(r, o) {
|
|
261
|
+
const e = new p(r, o);
|
|
262
|
+
return e.plugin.bind(e);
|
|
1966
263
|
}
|
|
1967
|
-
function
|
|
1968
|
-
const
|
|
1969
|
-
execution:
|
|
1970
|
-
hydrationScheduler:
|
|
1971
|
-
runtimeEnvironment:
|
|
1972
|
-
subscriberExecution:
|
|
264
|
+
function P(r, o) {
|
|
265
|
+
const e = new p(r, o?.debug, {
|
|
266
|
+
execution: o?.execution,
|
|
267
|
+
hydrationScheduler: o?.hydrationScheduler,
|
|
268
|
+
runtimeEnvironment: o?.runtimeEnvironment,
|
|
269
|
+
subscriberExecution: o?.subscriberExecution
|
|
1973
270
|
});
|
|
1974
|
-
return
|
|
271
|
+
return e.plugin.bind(e);
|
|
1975
272
|
}
|
|
1976
273
|
export {
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
274
|
+
w as CustomConsole,
|
|
275
|
+
O as PLUGIN_NAME,
|
|
276
|
+
j as PluginSubscriber,
|
|
277
|
+
p as PluginSubscription,
|
|
278
|
+
x as Store,
|
|
279
|
+
P as createHydrationPlugin,
|
|
280
|
+
$ as createPlugin,
|
|
281
|
+
H as defineAStore,
|
|
282
|
+
K as defineAStoreCtx,
|
|
283
|
+
R as getDefineAStoreSetupContext,
|
|
284
|
+
M as getEnhancedStore,
|
|
285
|
+
L as getExtendingStore,
|
|
286
|
+
l as isEmpty,
|
|
287
|
+
T as setEnhancedStore
|
|
1991
288
|
};
|