@rtc-agent/component 0.2.8-rc.2 → 0.2.8-rc.4
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/assets/{shared-worker-CX8Jyhi5.js → shared-worker-C1R_rVKh.js} +126 -126
- package/dist/controllers/auth.controller.d.ts.map +1 -1
- package/dist/{en-US-15fqKTGu.js → en-US-Dx9A0kbR.js} +1 -1
- package/dist/{highlight-languages-BFi26Mqw.js → highlight-languages-D5wLkdCY.js} +1 -1
- package/dist/{index-BsCaw_04.js → index-BADhvjEX.js} +165 -150
- package/dist/index.js +1 -1
- package/dist/index.umd.js +62 -62
- package/dist/stats.html +1 -1
- package/package.json +5 -5
|
@@ -747,7 +747,7 @@ function lr({ context: t, subscribe: e }) {
|
|
|
747
747
|
});
|
|
748
748
|
};
|
|
749
749
|
}
|
|
750
|
-
const L3 = "0.2.8-rc.
|
|
750
|
+
const L3 = "0.2.8-rc.4", R3 = fr`
|
|
751
751
|
:host {
|
|
752
752
|
display: block;
|
|
753
753
|
/* Position controlled by JS (left/top) for interact.js compatibility */
|
|
@@ -4918,13 +4918,13 @@ class x4 {
|
|
|
4918
4918
|
}
|
|
4919
4919
|
}
|
|
4920
4920
|
}
|
|
4921
|
-
const
|
|
4921
|
+
const cr = Yt("AuthController");
|
|
4922
4922
|
class w4 {
|
|
4923
4923
|
constructor(e) {
|
|
4924
4924
|
this._state = { ...q3 }, this._externalTokens = !1, this.host = e, this.host.addController(this), this.actions = {
|
|
4925
4925
|
login: () => this._login(),
|
|
4926
4926
|
logout: () => this._logout()
|
|
4927
|
-
},
|
|
4927
|
+
}, cr.debug("[AUTH_LIFECYCLE] Constructor called, about to call _loadTokens()"), this._loadTokens();
|
|
4928
4928
|
}
|
|
4929
4929
|
get value() {
|
|
4930
4930
|
return { state: this._state, ...this.actions };
|
|
@@ -4933,7 +4933,7 @@ class w4 {
|
|
|
4933
4933
|
return this._state;
|
|
4934
4934
|
}
|
|
4935
4935
|
hostConnected() {
|
|
4936
|
-
|
|
4936
|
+
cr.debug("[AUTH_LIFECYCLE] hostConnected() called"), cr.debug("[AUTH_LIFECYCLE] hostConnected() _state.isLoggedIn:", this._state.isLoggedIn), cr.debug("[AUTH_LIFECYCLE] hostConnected() _refreshTimer exists?", !!this._refreshTimer), this._boundVisibilityHandler = this._onVisibilityChange.bind(this), document.addEventListener("visibilitychange", this._boundVisibilityHandler), this._state.isLoggedIn && !this._refreshTimer && this._state.expiresAt && (cr.debug("[AUTH_LIFECYCLE] hostConnected() Re-scheduling refresh timer (was cleared by hostDisconnected)"), this._scheduleRefresh(this._state.expiresAt));
|
|
4937
4937
|
}
|
|
4938
4938
|
/**
|
|
4939
4939
|
* ReactiveController lifecycle: host disconnected from DOM.
|
|
@@ -4945,7 +4945,7 @@ class w4 {
|
|
|
4945
4945
|
* or when the controller is GC'd with the element.
|
|
4946
4946
|
*/
|
|
4947
4947
|
hostDisconnected() {
|
|
4948
|
-
|
|
4948
|
+
cr.debug("[AUTH_LIFECYCLE] hostDisconnected() called"), cr.debug("[AUTH_LIFECYCLE] hostDisconnected() _state.isLoggedIn:", this._state.isLoggedIn), cr.debug("[AUTH_LIFECYCLE] hostDisconnected() _refreshTimer exists?", !!this._refreshTimer), this._boundVisibilityHandler && (document.removeEventListener("visibilitychange", this._boundVisibilityHandler), this._boundVisibilityHandler = void 0), this._refreshTimer && (cr.debug("[AUTH_LIFECYCLE] hostDisconnected() Clearing _refreshTimer"), clearTimeout(this._refreshTimer), this._refreshTimer = void 0);
|
|
4949
4949
|
}
|
|
4950
4950
|
/**
|
|
4951
4951
|
* Convenience: trigger login directly on the controller.
|
|
@@ -4998,7 +4998,7 @@ class w4 {
|
|
|
4998
4998
|
try {
|
|
4999
4999
|
localStorage.setItem(Gr.deviceId, e.deviceId);
|
|
5000
5000
|
} catch (n) {
|
|
5001
|
-
|
|
5001
|
+
cr.debug("Failed to store deviceId in localStorage:", n);
|
|
5002
5002
|
}
|
|
5003
5003
|
const r = Date.now() + e.expiresIn * 1e3;
|
|
5004
5004
|
this._state = {
|
|
@@ -5026,7 +5026,7 @@ class w4 {
|
|
|
5026
5026
|
try {
|
|
5027
5027
|
localStorage.setItem(Gr.deviceId, e.deviceId);
|
|
5028
5028
|
} catch (r) {
|
|
5029
|
-
|
|
5029
|
+
cr.debug("Failed to store deviceId in localStorage:", r);
|
|
5030
5030
|
}
|
|
5031
5031
|
this._state = {
|
|
5032
5032
|
isLoggedIn: !0,
|
|
@@ -5051,10 +5051,9 @@ class w4 {
|
|
|
5051
5051
|
try {
|
|
5052
5052
|
localStorage.setItem(Gr.deviceId, e.deviceId);
|
|
5053
5053
|
} catch (i) {
|
|
5054
|
-
|
|
5054
|
+
cr.debug("Failed to store deviceId in localStorage:", i);
|
|
5055
5055
|
}
|
|
5056
|
-
|
|
5057
|
-
r ? this._state = {
|
|
5056
|
+
e.isLoggedIn() ? (this._state = {
|
|
5058
5057
|
isLoggedIn: !0,
|
|
5059
5058
|
accessToken: "",
|
|
5060
5059
|
// Will be fetched on demand
|
|
@@ -5063,7 +5062,23 @@ class w4 {
|
|
|
5063
5062
|
userId: ((n = e.getUserId) == null ? void 0 : n.call(e)) || "provider-managed",
|
|
5064
5063
|
expiresAt: 1 / 0
|
|
5065
5064
|
// Provider controls expiration
|
|
5066
|
-
} : this._state = { isLoggedIn: !1 }, this.host.requestUpdate(),
|
|
5065
|
+
}, this.host.requestUpdate(), this._fireLogin()) : (this._state = { isLoggedIn: !1 }, this.host.requestUpdate(), cr.debug("[AUTH_LIFECYCLE] setAuthProvider() isLoggedIn=false, attempting async refresh via provider"), e.refreshToken().then((i) => {
|
|
5066
|
+
var o;
|
|
5067
|
+
if (this._authProvider !== e) {
|
|
5068
|
+
cr.debug("[AUTH_LIFECYCLE] setAuthProvider() Auth provider changed during refresh, skipping");
|
|
5069
|
+
return;
|
|
5070
|
+
}
|
|
5071
|
+
const s = i.expiresIn ? Date.now() + i.expiresIn * 1e3 : 1 / 0;
|
|
5072
|
+
this._state = {
|
|
5073
|
+
isLoggedIn: !0,
|
|
5074
|
+
accessToken: i.accessToken,
|
|
5075
|
+
refreshToken: i.refreshToken ?? "",
|
|
5076
|
+
userId: ((o = e.getUserId) == null ? void 0 : o.call(e)) || "provider-managed",
|
|
5077
|
+
expiresAt: s
|
|
5078
|
+
}, s !== 1 / 0 && this._scheduleRefresh(s), this.host.requestUpdate(), cr.debug("[AUTH_LIFECYCLE] setAuthProvider() Async refresh succeeded, new expiresAt:", s), this._fireLogin();
|
|
5079
|
+
}).catch((i) => {
|
|
5080
|
+
this._authProvider === e && cr.debug("[AUTH_LIFECYCLE] setAuthProvider() Async refresh failed, showing login page:", i);
|
|
5081
|
+
}));
|
|
5067
5082
|
}
|
|
5068
5083
|
/** Get current access token (for API requests) */
|
|
5069
5084
|
getAccessToken() {
|
|
@@ -5089,11 +5104,11 @@ class w4 {
|
|
|
5089
5104
|
}
|
|
5090
5105
|
_logout() {
|
|
5091
5106
|
var e;
|
|
5092
|
-
if (
|
|
5093
|
-
|
|
5107
|
+
if (cr.debug("[AUTH_LIFECYCLE] _logout() called"), (e = this._authProvider) != null && e.logout) {
|
|
5108
|
+
cr.debug("[AUTH_LIFECYCLE] _logout() Delegating to auth provider"), this._authProvider.logout().then(() => {
|
|
5094
5109
|
this._performLogout();
|
|
5095
5110
|
}).catch((r) => {
|
|
5096
|
-
|
|
5111
|
+
cr.error("[AUTH_LIFECYCLE] _logout() Auth provider logout failed:", r), this._performLogout();
|
|
5097
5112
|
});
|
|
5098
5113
|
return;
|
|
5099
5114
|
}
|
|
@@ -5109,19 +5124,19 @@ class w4 {
|
|
|
5109
5124
|
* - `_externalTokens`: reset so next login cycle starts clean
|
|
5110
5125
|
*/
|
|
5111
5126
|
_performLogout() {
|
|
5112
|
-
|
|
5127
|
+
cr.debug("[AUTH_LIFECYCLE] _performLogout() called"), this._state = { isLoggedIn: !1 }, this._externalTokens || (cr.debug("[AUTH_LIFECYCLE] _performLogout() Clearing localStorage"), localStorage.removeItem(Gr.tokens)), this._externalTokens = !1, this._dynamicTokenProvider = void 0, this._authProvider = void 0, this._refreshTimer && (cr.debug("[AUTH_LIFECYCLE] _performLogout() Clearing _refreshTimer"), clearTimeout(this._refreshTimer), this._refreshTimer = void 0), this.host.dispatchEvent(
|
|
5113
5128
|
new CustomEvent("rtc-auth-logout", { bubbles: !0, composed: !0 })
|
|
5114
5129
|
), this.host.requestUpdate();
|
|
5115
5130
|
}
|
|
5116
5131
|
/** Load tokens from localStorage */
|
|
5117
5132
|
_loadTokens() {
|
|
5118
|
-
|
|
5133
|
+
cr.debug("[AUTH_LIFECYCLE] _loadTokens() called");
|
|
5119
5134
|
try {
|
|
5120
5135
|
const e = localStorage.getItem(Gr.tokens);
|
|
5121
|
-
if (
|
|
5136
|
+
if (cr.debug("[AUTH_LIFECYCLE] _loadTokens() stored tokens:", e ? "exists" : "null"), !e) return;
|
|
5122
5137
|
const r = JSON.parse(e);
|
|
5123
|
-
|
|
5124
|
-
|
|
5138
|
+
cr.debug("[AUTH_LIFECYCLE] _loadTokens() parsed tokens, expiresAt:", r.expiresAt, "now:", Date.now(), "diff:", r.expiresAt - Date.now()), r.expiresAt < Date.now() ? (cr.debug("[AUTH_LIFECYCLE] _loadTokens() Token expired, attempting refresh"), this._executeRefresh(r.refreshToken).then((n) => {
|
|
5139
|
+
cr.debug("[AUTH_LIFECYCLE] _loadTokens() Refresh completed, success:", n.success), n.success ? (this._state = {
|
|
5125
5140
|
isLoggedIn: !0,
|
|
5126
5141
|
accessToken: n.accessToken,
|
|
5127
5142
|
refreshToken: r.refreshToken,
|
|
@@ -5132,10 +5147,10 @@ class w4 {
|
|
|
5132
5147
|
refreshToken: r.refreshToken,
|
|
5133
5148
|
userId: r.userId,
|
|
5134
5149
|
expiresAt: n.expiresAt
|
|
5135
|
-
}), this._scheduleRefresh(n.expiresAt), this.host.requestUpdate(), this._fireLogin()) : (
|
|
5150
|
+
}), this._scheduleRefresh(n.expiresAt), this.host.requestUpdate(), this._fireLogin()) : (cr.debug("[AUTH_LIFECYCLE] _loadTokens() Refresh failed, clearing localStorage"), localStorage.removeItem(Gr.tokens));
|
|
5136
5151
|
}).catch((n) => {
|
|
5137
|
-
|
|
5138
|
-
})) : (
|
|
5152
|
+
cr.error("[AUTH_LIFECYCLE] _loadTokens() Refresh promise rejected:", n), localStorage.removeItem(Gr.tokens);
|
|
5153
|
+
})) : (cr.debug("[AUTH_LIFECYCLE] _loadTokens() Token still valid, setting state and scheduling refresh"), this._state = {
|
|
5139
5154
|
isLoggedIn: !0,
|
|
5140
5155
|
accessToken: r.accessToken,
|
|
5141
5156
|
refreshToken: r.refreshToken,
|
|
@@ -5143,19 +5158,19 @@ class w4 {
|
|
|
5143
5158
|
expiresAt: r.expiresAt
|
|
5144
5159
|
}, this._scheduleRefresh(r.expiresAt), this._fireLogin());
|
|
5145
5160
|
} catch (e) {
|
|
5146
|
-
|
|
5161
|
+
cr.warn("[AUTH_LIFECYCLE] _loadTokens() Failed to load/parse tokens, clearing:", e), localStorage.removeItem(Gr.tokens);
|
|
5147
5162
|
}
|
|
5148
5163
|
}
|
|
5149
5164
|
/** Save tokens to localStorage */
|
|
5150
5165
|
_saveTokens(e) {
|
|
5151
|
-
|
|
5166
|
+
cr.debug("[AUTH_LIFECYCLE] _saveTokens() called, expiresAt:", e.expiresAt), localStorage.setItem(Gr.tokens, JSON.stringify(e));
|
|
5152
5167
|
}
|
|
5153
5168
|
/** Schedule next refresh */
|
|
5154
5169
|
_scheduleRefresh(e) {
|
|
5155
|
-
|
|
5170
|
+
cr.debug("[AUTH_LIFECYCLE] _scheduleRefresh() called with expiresAt:", e), this._refreshTimer && (cr.debug("[AUTH_LIFECYCLE] _scheduleRefresh() Clearing existing timer"), clearTimeout(this._refreshTimer));
|
|
5156
5171
|
const r = Math.max(0, e - Date.now() - Xa.refreshBufferMs);
|
|
5157
|
-
|
|
5158
|
-
|
|
5172
|
+
cr.debug("[AUTH_LIFECYCLE] _scheduleRefresh() Scheduling refresh in", r, "ms"), this._refreshTimer = setTimeout(() => {
|
|
5173
|
+
cr.debug("[AUTH_LIFECYCLE] _scheduleRefresh() Timer fired, calling handleTokenExpired()"), this.handleTokenExpired();
|
|
5159
5174
|
}, r);
|
|
5160
5175
|
}
|
|
5161
5176
|
/**
|
|
@@ -5175,7 +5190,7 @@ class w4 {
|
|
|
5175
5190
|
try {
|
|
5176
5191
|
n = await r.json();
|
|
5177
5192
|
} catch (l) {
|
|
5178
|
-
return
|
|
5193
|
+
return cr.warn("Token refresh response body parse failed:", l), { success: !1 };
|
|
5179
5194
|
}
|
|
5180
5195
|
const i = typeof n.expires_in == "number" ? n.expires_in : 0, s = typeof n.access_token == "string" ? n.access_token : void 0;
|
|
5181
5196
|
if (!s || !i)
|
|
@@ -5187,7 +5202,7 @@ class w4 {
|
|
|
5187
5202
|
expiresAt: o
|
|
5188
5203
|
};
|
|
5189
5204
|
} catch (r) {
|
|
5190
|
-
return
|
|
5205
|
+
return cr.error("Token refresh failed:", r), { success: !1 };
|
|
5191
5206
|
}
|
|
5192
5207
|
}
|
|
5193
5208
|
/**
|
|
@@ -5202,7 +5217,7 @@ class w4 {
|
|
|
5202
5217
|
*/
|
|
5203
5218
|
async handleTokenExpired() {
|
|
5204
5219
|
var e;
|
|
5205
|
-
return
|
|
5220
|
+
return cr.debug("[AUTH_LIFECYCLE] handleTokenExpired() called"), cr.debug("[AUTH_LIFECYCLE] handleTokenExpired() _authProvider?", !!this._authProvider), cr.debug("[AUTH_LIFECYCLE] handleTokenExpired() _dynamicTokenProvider?", !!this._dynamicTokenProvider), cr.debug("[AUTH_LIFECYCLE] handleTokenExpired() _state.refreshToken?", !!this._state.refreshToken), this._authProvider ? this._executeRefreshWithGuard() : (e = this._dynamicTokenProvider) != null && e.refreshToken ? this._executeRefreshWithGuard() : this._state.refreshToken ? this._executeRefreshWithGuard() : (cr.debug("[AUTH_LIFECYCLE] handleTokenExpired() No refresh token, calling _logout()"), this._logout(), "relogin");
|
|
5206
5221
|
}
|
|
5207
5222
|
/**
|
|
5208
5223
|
* Execute refresh with concurrency guard to prevent race conditions.
|
|
@@ -5224,36 +5239,36 @@ class w4 {
|
|
|
5224
5239
|
*/
|
|
5225
5240
|
async _doRefresh() {
|
|
5226
5241
|
var i;
|
|
5227
|
-
if (
|
|
5242
|
+
if (cr.debug("[AUTH_LIFECYCLE] _doRefresh() called"), this._authProvider)
|
|
5228
5243
|
try {
|
|
5229
|
-
|
|
5244
|
+
cr.debug("[AUTH_LIFECYCLE] _doRefresh() Using auth provider");
|
|
5230
5245
|
const s = await this._authProvider.refreshToken(), o = s.expiresIn ? Date.now() + s.expiresIn * 1e3 : 1 / 0;
|
|
5231
5246
|
return this._state = {
|
|
5232
5247
|
...this._state,
|
|
5233
5248
|
accessToken: s.accessToken,
|
|
5234
5249
|
refreshToken: s.refreshToken ?? "",
|
|
5235
5250
|
expiresAt: o
|
|
5236
|
-
}, o !== 1 / 0 && this._scheduleRefresh(o), this.host.requestUpdate(),
|
|
5251
|
+
}, o !== 1 / 0 && this._scheduleRefresh(o), this.host.requestUpdate(), cr.debug("[AUTH_LIFECYCLE] _doRefresh() Auth provider refresh succeeded"), !0;
|
|
5237
5252
|
} catch (s) {
|
|
5238
|
-
return
|
|
5253
|
+
return cr.error("[AUTH_LIFECYCLE] _doRefresh() Auth provider refresh failed:", s), !1;
|
|
5239
5254
|
}
|
|
5240
5255
|
if ((i = this._dynamicTokenProvider) != null && i.refreshToken)
|
|
5241
5256
|
try {
|
|
5242
|
-
|
|
5257
|
+
cr.debug("[AUTH_LIFECYCLE] _doRefresh() Using dynamic token provider");
|
|
5243
5258
|
const s = await this._dynamicTokenProvider.refreshToken(), o = s.expiresIn ? Date.now() + s.expiresIn * 1e3 : 1 / 0;
|
|
5244
5259
|
return this._state = {
|
|
5245
5260
|
...this._state,
|
|
5246
5261
|
accessToken: s.accessToken,
|
|
5247
5262
|
refreshToken: s.refreshToken ?? "",
|
|
5248
5263
|
expiresAt: o
|
|
5249
|
-
}, o !== 1 / 0 && this._scheduleRefresh(o), this.host.requestUpdate(),
|
|
5264
|
+
}, o !== 1 / 0 && this._scheduleRefresh(o), this.host.requestUpdate(), cr.debug("[AUTH_LIFECYCLE] _doRefresh() Dynamic token refresh succeeded"), !0;
|
|
5250
5265
|
} catch (s) {
|
|
5251
|
-
return
|
|
5266
|
+
return cr.error("[AUTH_LIFECYCLE] _doRefresh() Dynamic token refresh failed:", s), !1;
|
|
5252
5267
|
}
|
|
5253
|
-
|
|
5268
|
+
cr.debug("[AUTH_LIFECYCLE] _doRefresh() Using static token mode, refreshToken:", this._state.refreshToken ? "exists" : "missing");
|
|
5254
5269
|
const e = await this._executeRefresh(this._state.refreshToken);
|
|
5255
|
-
if (
|
|
5256
|
-
return
|
|
5270
|
+
if (cr.debug("[AUTH_LIFECYCLE] _doRefresh() Static refresh result:", e.success), !e.success)
|
|
5271
|
+
return cr.debug("[AUTH_LIFECYCLE] _doRefresh() Refresh failed, calling _logout()"), this._logout(), this.host.dispatchEvent(
|
|
5257
5272
|
new CustomEvent("rtc-auth-refresh-failed", { bubbles: !0, composed: !0 })
|
|
5258
5273
|
), !1;
|
|
5259
5274
|
const r = e.accessToken, n = e.expiresAt;
|
|
@@ -5266,17 +5281,17 @@ class w4 {
|
|
|
5266
5281
|
try {
|
|
5267
5282
|
s = JSON.parse(localStorage.getItem(Gr.tokens) || "{}");
|
|
5268
5283
|
} catch (o) {
|
|
5269
|
-
|
|
5284
|
+
cr.debug("[AUTH_LIFECYCLE] _doRefresh() Stored token data corrupted, starting fresh:", o);
|
|
5270
5285
|
}
|
|
5271
5286
|
s.accessToken = r, s.expiresAt = n, localStorage.setItem(Gr.tokens, JSON.stringify(s));
|
|
5272
5287
|
}
|
|
5273
|
-
return this._scheduleRefresh(n), this.host.requestUpdate(),
|
|
5288
|
+
return this._scheduleRefresh(n), this.host.requestUpdate(), cr.debug("[AUTH_LIFECYCLE] _doRefresh() Refresh succeeded, new expiresAt:", n), !0;
|
|
5274
5289
|
}
|
|
5275
5290
|
/** Check if refresh needed when page becomes visible */
|
|
5276
5291
|
_onVisibilityChange() {
|
|
5277
|
-
if (
|
|
5292
|
+
if (cr.debug("[AUTH_LIFECYCLE] _onVisibilityChange() called, visibilityState:", document.visibilityState), document.visibilityState === "visible" && this._state.isLoggedIn) {
|
|
5278
5293
|
const e = this._state.expiresAt && Date.now() > this._state.expiresAt - Xa.refreshBufferMs;
|
|
5279
|
-
|
|
5294
|
+
cr.debug("[AUTH_LIFECYCLE] _onVisibilityChange() isLoggedIn:", this._state.isLoggedIn, "needsRefresh:", e), e && (cr.debug("[AUTH_LIFECYCLE] _onVisibilityChange() Token near expiry, calling handleTokenExpired()"), this.handleTokenExpired());
|
|
5280
5295
|
}
|
|
5281
5296
|
}
|
|
5282
5297
|
/**
|
|
@@ -5296,7 +5311,7 @@ class w4 {
|
|
|
5296
5311
|
*/
|
|
5297
5312
|
_fireLogin() {
|
|
5298
5313
|
var e;
|
|
5299
|
-
|
|
5314
|
+
cr.debug("[AUTH_LIFECYCLE] _fireLogin() called, userId:", this._state.userId), cr.debug("[AUTH_LIFECYCLE] _fireLogin() onLogin callback exists?", !!this.onLogin), this.host.dispatchEvent(
|
|
5300
5315
|
new CustomEvent("rtc-auth-login", {
|
|
5301
5316
|
detail: { userId: this._state.userId },
|
|
5302
5317
|
bubbles: !0,
|
|
@@ -8466,8 +8481,8 @@ rm.exports;
|
|
|
8466
8481
|
} }, { key: "preventDefault", value: function() {
|
|
8467
8482
|
this.originalEvent.preventDefault();
|
|
8468
8483
|
} }]), I;
|
|
8469
|
-
}(Ze),
|
|
8470
|
-
w.pointerEvents =
|
|
8484
|
+
}(Ze), dr = { id: "pointer-events/base", before: ["inertia", "modifiers", "auto-start", "actions"], install: function(w) {
|
|
8485
|
+
w.pointerEvents = dr, w.defaults.actions.pointerEvents = dr.defaults, Be(w.actions.phaselessTypes, dr.types);
|
|
8471
8486
|
}, listeners: { "interactions:new": function(w) {
|
|
8472
8487
|
var x = w.interaction;
|
|
8473
8488
|
x.prevTap = null, x.tapTime = 0;
|
|
@@ -8532,13 +8547,13 @@ rm.exports;
|
|
|
8532
8547
|
var x = w.interaction, I = w.pointerIndex, W = x.pointers[I].hold;
|
|
8533
8548
|
W && W.timeout && (clearTimeout(W.timeout), W.timeout = null);
|
|
8534
8549
|
}
|
|
8535
|
-
var Zs = Object.freeze({ __proto__: null, default:
|
|
8550
|
+
var Zs = Object.freeze({ __proto__: null, default: dr });
|
|
8536
8551
|
function Ms(w) {
|
|
8537
8552
|
var x = w.interaction;
|
|
8538
8553
|
x.holdIntervalHandle && (clearInterval(x.holdIntervalHandle), x.holdIntervalHandle = null);
|
|
8539
8554
|
}
|
|
8540
8555
|
var bs = { id: "pointer-events/holdRepeat", install: function(w) {
|
|
8541
|
-
w.usePlugin(
|
|
8556
|
+
w.usePlugin(dr);
|
|
8542
8557
|
var x = w.pointerEvents;
|
|
8543
8558
|
x.defaults.holdRepeatInterval = 0, x.types.holdrepeat = w.actions.phaselessTypes.holdrepeat = !0;
|
|
8544
8559
|
}, listeners: ["move", "up", "cancel", "endall"].reduce(function(w, x) {
|
|
@@ -11476,7 +11491,7 @@ var fP = { exports: {} };
|
|
|
11476
11491
|
} });
|
|
11477
11492
|
} });
|
|
11478
11493
|
} };
|
|
11479
|
-
function
|
|
11494
|
+
function dr(b, T, B) {
|
|
11480
11495
|
try {
|
|
11481
11496
|
if (!T || T.keys.length < b.length) return null;
|
|
11482
11497
|
for (var U = [], ee = 0, he = 0; ee < T.keys.length && he < b.length; ++ee) Sr(T.keys[ee], b[he]) === 0 && (U.push(B ? pe(T.values[ee]) : T.values[ee]), ++he);
|
|
@@ -11490,7 +11505,7 @@ var fP = { exports: {} };
|
|
|
11490
11505
|
var B = b.table(T);
|
|
11491
11506
|
return n(n({}, B), { getMany: function(U) {
|
|
11492
11507
|
var ee;
|
|
11493
|
-
return U.cache ? (ee =
|
|
11508
|
+
return U.cache ? (ee = dr(U.keys, U.trans._cache, U.cache === "clone")) ? Ce.resolve(ee) : B.getMany(U).then(function(he) {
|
|
11494
11509
|
return U.trans._cache = { keys: U.keys, values: U.cache === "clone" ? pe(he) : he }, he;
|
|
11495
11510
|
}) : B.getMany(U);
|
|
11496
11511
|
}, mutate: function(U) {
|
|
@@ -11531,7 +11546,7 @@ var fP = { exports: {} };
|
|
|
11531
11546
|
var vt, Et, Tt, It = yt.trans, Rt = yt.mutatedParts || (yt.mutatedParts = {}), jt = gt(""), Wt = gt(":dels"), Ut = yt.type, zt = yt.type === "deleteRange" ? [yt.range] : yt.type === "delete" ? [yt.keys] : yt.values.length < 50 ? [Er(Ne, yt).filter(function(Ft) {
|
|
11532
11547
|
return Ft;
|
|
11533
11548
|
}), yt.values] : [], tr = zt[0], zt = zt[1], nr = yt.trans._cache;
|
|
11534
|
-
return l(tr) ? (jt.addKeys(tr), (Ut = Ut === "delete" || tr.length === zt.length ?
|
|
11549
|
+
return l(tr) ? (jt.addKeys(tr), (Ut = Ut === "delete" || tr.length === zt.length ? dr(tr, nr) : null) || Wt.addKeys(tr), (Ut || zt) && (vt = gt, Et = Ut, Tt = zt, Te.indexes.forEach(function(Ft) {
|
|
11535
11550
|
var hr = vt(Ft.name || "");
|
|
11536
11551
|
function mr(Or) {
|
|
11537
11552
|
return Or != null ? Ft.extractKey(Or) : null;
|
|
@@ -12874,7 +12889,7 @@ function Gn() {
|
|
|
12874
12889
|
if (X_) return Ve;
|
|
12875
12890
|
X_ = 1, Object.defineProperty(Ve, "__esModule", {
|
|
12876
12891
|
value: !0
|
|
12877
|
-
}), Ve.isAccessor = pg, Ve.isAnyTypeAnnotation = _n, Ve.isArgumentPlaceholder = Mi, Ve.isArrayExpression = r, Ve.isArrayPattern = nt, Ve.isArrayTypeAnnotation = Yr, Ve.isArrowFunctionExpression = et, Ve.isAssignmentExpression = n, Ve.isAssignmentPattern = Ge, Ve.isAwaitExpression = Ie, Ve.isBigIntLiteral = Nt, Ve.isBinary = Ft, Ve.isBinaryExpression = i, Ve.isBindExpression = Xs, Ve.isBlock = xr, Ve.isBlockParent = mr, Ve.isBlockStatement = c, Ve.isBooleanLiteral = pe, Ve.isBooleanLiteralTypeAnnotation = rs, Ve.isBooleanTypeAnnotation = er, Ve.isBreakStatement = p, Ve.isCallExpression = f, Ve.isCatchClause = m, Ve.isClass = cg, Ve.isClassAccessorProperty = Tr, Ve.isClassBody = Dt, Ve.isClassDeclaration = je, Ve.isClassExpression = Ot, Ve.isClassImplements = pn, Ve.isClassMethod = tt, Ve.isClassPrivateMethod = yn, Ve.isClassPrivateProperty = zr, Ve.isClassProperty = yr, Ve.isCompletionStatement = $, Ve.isConditional = H, Ve.isConditionalExpression = y, Ve.isContinueStatement = _, Ve.isDebuggerStatement = N, Ve.isDecimalLiteral = Ns, Ve.isDeclaration = Jy, Ve.isDeclareClass = sr, Ve.isDeclareExportAllDeclaration = ni, Ve.isDeclareExportDeclaration = Xr, Ve.isDeclareFunction = Tn, Ve.isDeclareInterface = Ei, Ve.isDeclareModule = Mn, Ve.isDeclareModuleExports = $i, Ve.isDeclareOpaqueType = ri, Ve.isDeclareTypeAlias = ln, Ve.isDeclareVariable = ns, Ve.isDeclaredPredicate = Jn, Ve.isDecorator = _o, Ve.isDirective = o, Ve.isDirectiveLiteral = l, Ve.isDoExpression = vi, Ve.isDoWhileStatement = A, Ve.isEmptyStatement = C, Ve.isEmptyTypeAnnotation = ss, Ve.isEnumBody = vg, Ve.isEnumBooleanBody = wn, Ve.isEnumBooleanMember = Fn, Ve.isEnumDeclaration = sn, Ve.isEnumDefaultedMember = us, Ve.isEnumMember = _g, Ve.isEnumNumberBody = Rn, Ve.isEnumNumberMember = bo, Ve.isEnumStringBody = Di, Ve.isEnumStringMember = En, Ve.isEnumSymbolBody = cs, Ve.isExistsTypeAnnotation = pi, Ve.isExportAllDeclaration = Me, Ve.isExportDeclaration = ug, Ve.isExportDefaultDeclaration = me, Ve.isExportDefaultSpecifier = Gi, Ve.isExportNamedDeclaration = ue, Ve.isExportNamespaceSpecifier = Mt, Ve.isExportSpecifier = be, Ve.isExpression = nr, Ve.isExpressionStatement = O, Ve.isExpressionWrapper = wt, Ve.isFile = S, Ve.isFlow = hg, Ve.isFlowBaseAnnotation = yg, Ve.isFlowDeclaration = gg, Ve.isFlowPredicate = bg, Ve.isFlowType = mg, Ve.isFor = Xt, Ve.isForInStatement = P, Ve.isForOfStatement = re, Ve.isForStatement = E, Ve.isForXStatement = Zr, Ve.isFunction = $n, Ve.isFunctionDeclaration = j, Ve.isFunctionExpression = F, Ve.isFunctionParameter = Xy, Ve.isFunctionParent = ro, Ve.isFunctionTypeAnnotation = kn, Ve.isFunctionTypeParam = ii, Ve.isGenericTypeAnnotation = Oi, Ve.isIdentifier = k, Ve.isIfStatement = q, Ve.isImmutable = rg, Ve.isImport = xt, Ve.isImportAttribute = dn, Ve.isImportDeclaration = Se, Ve.isImportDefaultSpecifier = Je, Ve.isImportExpression = R, Ve.isImportNamespaceSpecifier = X, Ve.isImportOrExportDeclaration = $p, Ve.isImportSpecifier = M, Ve.isIndexedAccessType = Ps, Ve.isInferredPredicate = fi, Ve.isInterfaceDeclaration = Ui, Ve.isInterfaceExtends = is, Ve.isInterfaceTypeAnnotation = Vi, Ve.isInterpreterDirective = s, Ve.isIntersectionTypeAnnotation = Sr, Ve.isJSX = xg, Ve.isJSXAttribute = gi, Ve.isJSXClosingElement = ds, Ve.isJSXClosingFragment = Is, Ve.isJSXElement = ps, Ve.isJSXEmptyExpression = Ys, Ve.isJSXExpressionContainer = Wi, Ve.isJSXFragment = Js, Ve.isJSXIdentifier = ks, Ve.isJSXMemberExpression = Hi, Ve.isJSXNamespacedName = Pi, Ve.isJSXOpeningElement = fs, Ve.isJSXOpeningFragment = hs, Ve.isJSXSpreadAttribute = vo, Ve.isJSXSpreadChild = Cs, Ve.isJSXText = bi, Ve.isLVal = Qy, Ve.isLabeledStatement = ae, Ve.isLiteral = tg, Ve.isLogicalExpression = qe, Ve.isLoop = ye, Ve.isMemberExpression = Fe, Ve.isMetaProperty = ke, Ve.isMethod = ig, Ve.isMiscellaneous = wg, Ve.isMixedTypeAnnotation = Ss, Ve.isModuleDeclaration = Og, Ve.isModuleExpression = gs, Ve.isModuleSpecifier = dg, Ve.isNewExpression = ve, Ve.isNoop = ms, Ve.isNullLiteral = K, Ve.isNullLiteralTypeAnnotation = Cn, Ve.isNullableTypeAnnotation = hi, Ve.isNumberLiteral = Pg, Ve.isNumberLiteralTypeAnnotation = gn, Ve.isNumberTypeAnnotation = Ws, Ve.isNumericLiteral = L, Ve.isObjectExpression = Z, Ve.isObjectMember = sg, Ve.isObjectMethod = J, Ve.isObjectPattern = Ze, Ve.isObjectProperty = ge, Ve.isObjectTypeAnnotation = os, Ve.isObjectTypeCallProperty = Ur, Ve.isObjectTypeIndexer = Bn, Ve.isObjectTypeInternalSlot = Hs, Ve.isObjectTypeProperty = Ln, Ve.isObjectTypeSpreadProperty = mi, Ve.isOpaqueType = Ni, Ve.isOptionalCallExpression = or, Ve.isOptionalIndexedAccessType = Gt, Ve.isOptionalMemberExpression = Qt, Ve.isParenthesizedExpression = te, Ve.isPattern = lg, Ve.isPatternLike = Zy, Ve.isPipelineBareFunction = On, Ve.isPipelinePrimaryTopicReference = Ds, Ve.isPipelineTopicExpression = jn, Ve.isPlaceholder = Ki, Ve.isPrivate = fg, Ve.isPrivateName = wr, Ve.isProgram = _e, Ve.isProperty = og, Ve.isPureish = Yy, Ve.isQualifiedTypeIdentifier = In, Ve.isRecordExpression = Os, Ve.isRegExpLiteral = Ae, Ve.isRegexLiteral = Cg, Ve.isRestElement = de, Ve.isRestProperty = kg, Ve.isReturnStatement = Y, Ve.isScopable = hr, Ve.isSequenceExpression = V, Ve.isSpreadElement = dt, Ve.isSpreadProperty = Ig, Ve.isStandardized = zt, Ve.isStatement = Or, Ve.isStaticBlock = Br, Ve.isStringLiteral = se, Ve.isStringLiteralTypeAnnotation = si, Ve.isStringTypeAnnotation = Ts, Ve.isSuper = oe, Ve.isSwitchCase = Pe, Ve.isSwitchStatement = Ue, Ve.isSymbolTypeAnnotation = oi, Ve.isTSAnyKeyword = Ye, Ve.isTSArrayType = Ji, Ve.isTSAsExpression = Ne, Ve.isTSBaseType = Ag, Ve.isTSBigIntKeyword = At, Ve.isTSBooleanKeyword = at, Ve.isTSCallSignatureDeclaration = g, Ve.isTSConditionalType = fe, Ve.isTSConstructSignatureDeclaration = D, Ve.isTSConstructorType = Bs, Ve.isTSDeclareFunction = u, Ve.isTSDeclareMethod = a, Ve.isTSEntityName = eg, Ve.isTSEnumBody = ot, Ve.isTSEnumDeclaration = st, Ve.isTSEnumMember = ft, Ve.isTSExportAssignment = It, Ve.isTSExpressionWithTypeArguments = B, Ve.isTSExternalModuleReference = Et, Ve.isTSFunctionType = bs, Ve.isTSImportEqualsDeclaration = vt, Ve.isTSImportType = gt, Ve.isTSIndexSignature = $e, Ve.isTSIndexedAccessType = ct, Ve.isTSInferType = Ee, Ve.isTSInstantiationExpression = Te, Ve.isTSInterfaceBody = ee, Ve.isTSInterfaceDeclaration = U, Ve.isTSIntersectionType = ne, Ve.isTSIntrinsicKeyword = Lt, Ve.isTSLiteralType = T, Ve.isTSMappedType = Xe, Ve.isTSMethodSignature = we, Ve.isTSModuleBlock = yt, Ve.isTSModuleDeclaration = ht, Ve.isTSNamedTupleMember = I, Ve.isTSNamespaceExportDeclaration = Rt, Ve.isTSNeverKeyword = $t, Ve.isTSNonNullExpression = Tt, Ve.isTSNullKeyword = Jt, Ve.isTSNumberKeyword = Er, Ve.isTSObjectKeyword = Wr, Ve.isTSOptionalType = w, Ve.isTSParameterProperty = ie, Ve.isTSParenthesizedType = De, Ve.isTSPropertySignature = le, Ve.isTSQualifiedName = d, Ve.isTSRestType = x, Ve.isTSSatisfiesExpression = it, Ve.isTSStringKeyword =
|
|
12892
|
+
}), Ve.isAccessor = pg, Ve.isAnyTypeAnnotation = _n, Ve.isArgumentPlaceholder = Mi, Ve.isArrayExpression = r, Ve.isArrayPattern = nt, Ve.isArrayTypeAnnotation = Yr, Ve.isArrowFunctionExpression = et, Ve.isAssignmentExpression = n, Ve.isAssignmentPattern = Ge, Ve.isAwaitExpression = Ie, Ve.isBigIntLiteral = Nt, Ve.isBinary = Ft, Ve.isBinaryExpression = i, Ve.isBindExpression = Xs, Ve.isBlock = xr, Ve.isBlockParent = mr, Ve.isBlockStatement = c, Ve.isBooleanLiteral = pe, Ve.isBooleanLiteralTypeAnnotation = rs, Ve.isBooleanTypeAnnotation = er, Ve.isBreakStatement = p, Ve.isCallExpression = f, Ve.isCatchClause = m, Ve.isClass = cg, Ve.isClassAccessorProperty = Tr, Ve.isClassBody = Dt, Ve.isClassDeclaration = je, Ve.isClassExpression = Ot, Ve.isClassImplements = pn, Ve.isClassMethod = tt, Ve.isClassPrivateMethod = yn, Ve.isClassPrivateProperty = zr, Ve.isClassProperty = yr, Ve.isCompletionStatement = $, Ve.isConditional = H, Ve.isConditionalExpression = y, Ve.isContinueStatement = _, Ve.isDebuggerStatement = N, Ve.isDecimalLiteral = Ns, Ve.isDeclaration = Jy, Ve.isDeclareClass = sr, Ve.isDeclareExportAllDeclaration = ni, Ve.isDeclareExportDeclaration = Xr, Ve.isDeclareFunction = Tn, Ve.isDeclareInterface = Ei, Ve.isDeclareModule = Mn, Ve.isDeclareModuleExports = $i, Ve.isDeclareOpaqueType = ri, Ve.isDeclareTypeAlias = ln, Ve.isDeclareVariable = ns, Ve.isDeclaredPredicate = Jn, Ve.isDecorator = _o, Ve.isDirective = o, Ve.isDirectiveLiteral = l, Ve.isDoExpression = vi, Ve.isDoWhileStatement = A, Ve.isEmptyStatement = C, Ve.isEmptyTypeAnnotation = ss, Ve.isEnumBody = vg, Ve.isEnumBooleanBody = wn, Ve.isEnumBooleanMember = Fn, Ve.isEnumDeclaration = sn, Ve.isEnumDefaultedMember = us, Ve.isEnumMember = _g, Ve.isEnumNumberBody = Rn, Ve.isEnumNumberMember = bo, Ve.isEnumStringBody = Di, Ve.isEnumStringMember = En, Ve.isEnumSymbolBody = cs, Ve.isExistsTypeAnnotation = pi, Ve.isExportAllDeclaration = Me, Ve.isExportDeclaration = ug, Ve.isExportDefaultDeclaration = me, Ve.isExportDefaultSpecifier = Gi, Ve.isExportNamedDeclaration = ue, Ve.isExportNamespaceSpecifier = Mt, Ve.isExportSpecifier = be, Ve.isExpression = nr, Ve.isExpressionStatement = O, Ve.isExpressionWrapper = wt, Ve.isFile = S, Ve.isFlow = hg, Ve.isFlowBaseAnnotation = yg, Ve.isFlowDeclaration = gg, Ve.isFlowPredicate = bg, Ve.isFlowType = mg, Ve.isFor = Xt, Ve.isForInStatement = P, Ve.isForOfStatement = re, Ve.isForStatement = E, Ve.isForXStatement = Zr, Ve.isFunction = $n, Ve.isFunctionDeclaration = j, Ve.isFunctionExpression = F, Ve.isFunctionParameter = Xy, Ve.isFunctionParent = ro, Ve.isFunctionTypeAnnotation = kn, Ve.isFunctionTypeParam = ii, Ve.isGenericTypeAnnotation = Oi, Ve.isIdentifier = k, Ve.isIfStatement = q, Ve.isImmutable = rg, Ve.isImport = xt, Ve.isImportAttribute = dn, Ve.isImportDeclaration = Se, Ve.isImportDefaultSpecifier = Je, Ve.isImportExpression = R, Ve.isImportNamespaceSpecifier = X, Ve.isImportOrExportDeclaration = $p, Ve.isImportSpecifier = M, Ve.isIndexedAccessType = Ps, Ve.isInferredPredicate = fi, Ve.isInterfaceDeclaration = Ui, Ve.isInterfaceExtends = is, Ve.isInterfaceTypeAnnotation = Vi, Ve.isInterpreterDirective = s, Ve.isIntersectionTypeAnnotation = Sr, Ve.isJSX = xg, Ve.isJSXAttribute = gi, Ve.isJSXClosingElement = ds, Ve.isJSXClosingFragment = Is, Ve.isJSXElement = ps, Ve.isJSXEmptyExpression = Ys, Ve.isJSXExpressionContainer = Wi, Ve.isJSXFragment = Js, Ve.isJSXIdentifier = ks, Ve.isJSXMemberExpression = Hi, Ve.isJSXNamespacedName = Pi, Ve.isJSXOpeningElement = fs, Ve.isJSXOpeningFragment = hs, Ve.isJSXSpreadAttribute = vo, Ve.isJSXSpreadChild = Cs, Ve.isJSXText = bi, Ve.isLVal = Qy, Ve.isLabeledStatement = ae, Ve.isLiteral = tg, Ve.isLogicalExpression = qe, Ve.isLoop = ye, Ve.isMemberExpression = Fe, Ve.isMetaProperty = ke, Ve.isMethod = ig, Ve.isMiscellaneous = wg, Ve.isMixedTypeAnnotation = Ss, Ve.isModuleDeclaration = Og, Ve.isModuleExpression = gs, Ve.isModuleSpecifier = dg, Ve.isNewExpression = ve, Ve.isNoop = ms, Ve.isNullLiteral = K, Ve.isNullLiteralTypeAnnotation = Cn, Ve.isNullableTypeAnnotation = hi, Ve.isNumberLiteral = Pg, Ve.isNumberLiteralTypeAnnotation = gn, Ve.isNumberTypeAnnotation = Ws, Ve.isNumericLiteral = L, Ve.isObjectExpression = Z, Ve.isObjectMember = sg, Ve.isObjectMethod = J, Ve.isObjectPattern = Ze, Ve.isObjectProperty = ge, Ve.isObjectTypeAnnotation = os, Ve.isObjectTypeCallProperty = Ur, Ve.isObjectTypeIndexer = Bn, Ve.isObjectTypeInternalSlot = Hs, Ve.isObjectTypeProperty = Ln, Ve.isObjectTypeSpreadProperty = mi, Ve.isOpaqueType = Ni, Ve.isOptionalCallExpression = or, Ve.isOptionalIndexedAccessType = Gt, Ve.isOptionalMemberExpression = Qt, Ve.isParenthesizedExpression = te, Ve.isPattern = lg, Ve.isPatternLike = Zy, Ve.isPipelineBareFunction = On, Ve.isPipelinePrimaryTopicReference = Ds, Ve.isPipelineTopicExpression = jn, Ve.isPlaceholder = Ki, Ve.isPrivate = fg, Ve.isPrivateName = wr, Ve.isProgram = _e, Ve.isProperty = og, Ve.isPureish = Yy, Ve.isQualifiedTypeIdentifier = In, Ve.isRecordExpression = Os, Ve.isRegExpLiteral = Ae, Ve.isRegexLiteral = Cg, Ve.isRestElement = de, Ve.isRestProperty = kg, Ve.isReturnStatement = Y, Ve.isScopable = hr, Ve.isSequenceExpression = V, Ve.isSpreadElement = dt, Ve.isSpreadProperty = Ig, Ve.isStandardized = zt, Ve.isStatement = Or, Ve.isStaticBlock = Br, Ve.isStringLiteral = se, Ve.isStringLiteralTypeAnnotation = si, Ve.isStringTypeAnnotation = Ts, Ve.isSuper = oe, Ve.isSwitchCase = Pe, Ve.isSwitchStatement = Ue, Ve.isSymbolTypeAnnotation = oi, Ve.isTSAnyKeyword = Ye, Ve.isTSArrayType = Ji, Ve.isTSAsExpression = Ne, Ve.isTSBaseType = Ag, Ve.isTSBigIntKeyword = At, Ve.isTSBooleanKeyword = at, Ve.isTSCallSignatureDeclaration = g, Ve.isTSConditionalType = fe, Ve.isTSConstructSignatureDeclaration = D, Ve.isTSConstructorType = Bs, Ve.isTSDeclareFunction = u, Ve.isTSDeclareMethod = a, Ve.isTSEntityName = eg, Ve.isTSEnumBody = ot, Ve.isTSEnumDeclaration = st, Ve.isTSEnumMember = ft, Ve.isTSExportAssignment = It, Ve.isTSExpressionWithTypeArguments = B, Ve.isTSExternalModuleReference = Et, Ve.isTSFunctionType = bs, Ve.isTSImportEqualsDeclaration = vt, Ve.isTSImportType = gt, Ve.isTSIndexSignature = $e, Ve.isTSIndexedAccessType = ct, Ve.isTSInferType = Ee, Ve.isTSInstantiationExpression = Te, Ve.isTSInterfaceBody = ee, Ve.isTSInterfaceDeclaration = U, Ve.isTSIntersectionType = ne, Ve.isTSIntrinsicKeyword = Lt, Ve.isTSLiteralType = T, Ve.isTSMappedType = Xe, Ve.isTSMethodSignature = we, Ve.isTSModuleBlock = yt, Ve.isTSModuleDeclaration = ht, Ve.isTSNamedTupleMember = I, Ve.isTSNamespaceExportDeclaration = Rt, Ve.isTSNeverKeyword = $t, Ve.isTSNonNullExpression = Tt, Ve.isTSNullKeyword = Jt, Ve.isTSNumberKeyword = Er, Ve.isTSObjectKeyword = Wr, Ve.isTSOptionalType = w, Ve.isTSParameterProperty = ie, Ve.isTSParenthesizedType = De, Ve.isTSPropertySignature = le, Ve.isTSQualifiedName = d, Ve.isTSRestType = x, Ve.isTSSatisfiesExpression = it, Ve.isTSStringKeyword = dr, Ve.isTSSymbolKeyword = kr, Ve.isTSTemplateLiteralType = b, Ve.isTSThisType = Ms, Ve.isTSTupleType = Zn, Ve.isTSType = Eg, Ve.isTSTypeAliasDeclaration = he, Ve.isTSTypeAnnotation = jt, Ve.isTSTypeAssertion = mt, Ve.isTSTypeElement = Tg, Ve.isTSTypeLiteral = to, Ve.isTSTypeOperator = We, Ve.isTSTypeParameter = tr, Ve.isTSTypeParameterDeclaration = Ut, Ve.isTSTypeParameterInstantiation = Wt, Ve.isTSTypePredicate = Qs, Ve.isTSTypeQuery = eo, Ve.isTSTypeReference = Ls, Ve.isTSUndefinedKeyword = ai, Ve.isTSUnionType = W, Ve.isTSUnknownKeyword = qn, Ve.isTSVoidKeyword = Zs, Ve.isTaggedTemplateExpression = xe, Ve.isTemplateElement = Q, Ve.isTemplateLiteral = Ce, Ve.isTerminatorless = z, Ve.isThisExpression = Re, Ve.isThisTypeAnnotation = Es, Ve.isThrowStatement = Be, Ve.isTopicReference = on, Ve.isTryStatement = Qe, Ve.isTupleExpression = ys, Ve.isTupleTypeAnnotation = Xn, Ve.isTypeAlias = Ks, Ve.isTypeAnnotation = Gs, Ve.isTypeCastExpression = as, Ve.isTypeParameter = xn, Ve.isTypeParameterDeclaration = Ai, Ve.isTypeParameterInstantiation = zi, Ve.isTypeScript = Sg, Ve.isTypeofTypeAnnotation = Ir, Ve.isUnaryExpression = ut, Ve.isUnaryLike = ag, Ve.isUnionTypeAnnotation = yi, Ve.isUpdateExpression = _t, Ve.isUserWhitespacable = ng, Ve.isV8IntrinsicIdentifier = an, Ve.isVariableDeclaration = Pt, Ve.isVariableDeclarator = St, Ve.isVariance = ls, Ve.isVoidPattern = Yi, Ve.isVoidTypeAnnotation = As, Ve.isWhile = Ke, Ve.isWhileStatement = kt, Ve.isWithStatement = rt, Ve.isYieldExpression = pt;
|
|
12878
12893
|
var t = Wv(), e = wp();
|
|
12879
12894
|
function r(v, h) {
|
|
12880
12895
|
return !v || v.type !== "ArrayExpression" ? !1 : h == null || (0, t.default)(v, h);
|
|
@@ -13485,7 +13500,7 @@ function Gn() {
|
|
|
13485
13500
|
function Wr(v, h) {
|
|
13486
13501
|
return !v || v.type !== "TSObjectKeyword" ? !1 : h == null || (0, t.default)(v, h);
|
|
13487
13502
|
}
|
|
13488
|
-
function
|
|
13503
|
+
function dr(v, h) {
|
|
13489
13504
|
return !v || v.type !== "TSStringKeyword" ? !1 : h == null || (0, t.default)(v, h);
|
|
13490
13505
|
}
|
|
13491
13506
|
function kr(v, h) {
|
|
@@ -18431,7 +18446,7 @@ function EP() {
|
|
|
18431
18446
|
if (Tx) return Le;
|
|
18432
18447
|
Tx = 1, Object.defineProperty(Le, "__esModule", {
|
|
18433
18448
|
value: !0
|
|
18434
|
-
}), Le.anyTypeAnnotation = rs, Le.argumentPlaceholder = vi, Le.arrayExpression = o, Le.arrayPattern = je, Le.arrayTypeAnnotation = Cn, Le.arrowFunctionExpression = Me, Le.assignmentExpression = l, Le.assignmentPattern = Ot, Le.awaitExpression = Qt, Le.bigIntLiteral = s, Le.binaryExpression = c, Le.bindExpression = Gi, Le.blockStatement = y, Le.booleanLiteral = ve, Le.booleanLiteralTypeAnnotation = sr, Le.booleanTypeAnnotation = pn, Le.breakStatement = _, Le.callExpression = N, Le.catchClause = A, Le.classAccessorProperty = wr, Le.classBody = me, Le.classDeclaration = be, Le.classExpression = ue, Le.classImplements = Ei, Le.classMethod = xe, Le.classPrivateMethod = dn, Le.classPrivateProperty = Br, Le.classProperty = yn, Le.conditionalExpression = C, Le.continueStatement = O, Le.debuggerStatement = S, Le.decimalLiteral = jn, Le.declareClass = Mn, Le.declareExportAllDeclaration = kn, Le.declareExportDeclaration = pi, Le.declareFunction = $i, Le.declareInterface = ln, Le.declareModule = ri, Le.declareModuleExports = ns, Le.declareOpaqueType = ni, Le.declareTypeAlias = Xr, Le.declareVariable = Jn, Le.declaredPredicate = ii, Le.decorator = Os, Le.directive = f, Le.directiveLiteral = m, Le.doExpression = ys, Le.doWhileStatement = P, Le.emptyStatement = E, Le.emptyTypeAnnotation = Ws, Le.enumBooleanBody = cs, Le.enumBooleanMember = us, Le.enumDeclaration = Di, Le.enumDefaultedMember = gi, Le.enumNumberBody = Fn, Le.enumNumberMember = Ps, Le.enumStringBody = bo, Le.enumStringMember = Gt, Le.enumSymbolBody = En, Le.existsTypeAnnotation = Oi, Le.exportAllDeclaration = re, Le.exportDefaultDeclaration = Se, Le.exportDefaultSpecifier = Ns, Le.exportNamedDeclaration = Je, Le.exportNamespaceSpecifier = yr, Le.exportSpecifier = X, Le.expressionStatement = j, Le.file = F, Le.forInStatement = k, Le.forOfStatement = M, Le.forStatement = q, Le.functionDeclaration = ae, Le.functionExpression = se, Le.functionTypeAnnotation = fi, Le.functionTypeParam = is, Le.genericTypeAnnotation = Ui, Le.identifier = L, Le.ifStatement = K, Le.import = or, Le.importAttribute = er, Le.importDeclaration = R, Le.importDefaultSpecifier = ke, Le.importExpression = dt, Le.importNamespaceSpecifier = tt, Le.importSpecifier = Ze, Le.indexedAccessType = ds, Le.inferredPredicate = Vi, Le.interfaceDeclaration = Ss, Le.interfaceExtends = Sr, Le.interfaceTypeAnnotation = ss, Le.interpreterDirective = p, Le.intersectionTypeAnnotation = hi, Le.jSXAttribute = Le.jsxAttribute = Ys, Le.jSXClosingElement = Le.jsxClosingElement = Wi, Le.jSXClosingFragment = Le.jsxClosingFragment = an, Le.jSXElement = Le.jsxElement = Cs, Le.jSXEmptyExpression = Le.jsxEmptyExpression = ks, Le.jSXExpressionContainer = Le.jsxExpressionContainer = Hi, Le.jSXFragment = Le.jsxFragment = ms, Le.jSXIdentifier = Le.jsxIdentifier = fs, Le.jSXMemberExpression = Le.jsxMemberExpression = vo, Le.jSXNamespacedName = Le.jsxNamespacedName = bi, Le.jSXOpeningElement = Le.jsxOpeningElement = Js, Le.jSXOpeningFragment = Le.jsxOpeningFragment = Ki, Le.jSXSpreadAttribute = Le.jsxSpreadAttribute = hs, Le.jSXSpreadChild = Le.jsxSpreadChild = Pi, Le.jSXText = Le.jsxText = Is, Le.labeledStatement = pe, Le.logicalExpression = Z, Le.memberExpression = J, Le.metaProperty = oe, Le.mixedTypeAnnotation = gn, Le.moduleExpression = On, Le.newExpression = ge, Le.noop = Mi, Le.nullLiteral = Fe, Le.nullLiteralTypeAnnotation = Tn, Le.nullableTypeAnnotation = os, Le.numberLiteral = hr, Le.numberLiteralTypeAnnotation = Hs, Le.numberTypeAnnotation = Ur, Le.numericLiteral = qe, Le.objectExpression = Y, Le.objectMethod = V, Le.objectPattern = Q, Le.objectProperty = te, Le.objectTypeAnnotation = Bn, Le.objectTypeCallProperty = mi, Le.objectTypeIndexer = Ni, Le.objectTypeInternalSlot = Ln, Le.objectTypeProperty = In, Le.objectTypeSpreadProperty = si, Le.opaqueType = Ts, Le.optionalCallExpression = zr, Le.optionalIndexedAccessType = ps, Le.optionalMemberExpression = Tr, Le.parenthesizedExpression = Be, Le.pipelineBareFunction = ie, Le.pipelinePrimaryTopicReference = u, Le.pipelineTopicExpression = Yi, Le.placeholder = Xs, Le.privateName = _n, Le.program = de, Le.qualifiedTypeIdentifier = oi, Le.recordExpression = gs, Le.regExpLiteral = _e, Le.regexLiteral = mr, Le.restElement = Pe, Le.restProperty = xr, Le.returnStatement = Ue, Le.sequenceExpression = Re, Le.spreadElement = Ce, Le.spreadProperty = Or, Le.staticBlock = Yr, Le.stringLiteral = Ae, Le.stringLiteralTypeAnnotation = Es, Le.stringTypeAnnotation = Xn, Le.super = pt, Le.switchCase = Qe, Le.switchStatement = ut, Le.symbolTypeAnnotation = Ir, Le.taggedTemplateExpression = Ie, Le.templateElement = xt, Le.templateLiteral = Nt, Le.thisExpression = _t, Le.thisTypeAnnotation = Ks, Le.throwStatement = Pt, Le.topicReference = Ds, Le.tryStatement = St, Le.tSAnyKeyword = Le.tsAnyKeyword = Lt, Le.tSArrayType = Le.tsArrayType = x, Le.tSAsExpression = Le.tsAsExpression = ot, Le.tSBigIntKeyword = Le.tsBigIntKeyword = Jt, Le.tSBooleanKeyword = Le.tsBooleanKeyword = $t, Le.tSCallSignatureDeclaration = Le.tsCallSignatureDeclaration = we, Le.tSConditionalType = Le.tsConditionalType = We, Le.tSConstructSignatureDeclaration = Le.tsConstructSignatureDeclaration = $e, Le.tSConstructorType = Le.tsConstructorType = eo, Le.tSDeclareFunction = Le.tsDeclareFunction = g, Le.tSDeclareMethod = Le.tsDeclareMethod = D, Le.tSEnumBody = Le.tsEnumBody = ht, Le.tSEnumDeclaration = Le.tsEnumDeclaration = yt, Le.tSEnumMember = Le.tsEnumMember = gt, Le.tSExportAssignment = Le.tsExportAssignment = Wt, Le.tSExpressionWithTypeArguments = Le.tsExpressionWithTypeArguments = he, Le.tSExternalModuleReference = Le.tsExternalModuleReference = Rt, Le.tSFunctionType = Le.tsFunctionType = Qs, Le.tSImportEqualsDeclaration = Le.tsImportEqualsDeclaration = It, Le.tSImportType = Le.tsImportType = Tt, Le.tSIndexSignature = Le.tsIndexSignature = At, Le.tSIndexedAccessType = Le.tsIndexedAccessType = T, Le.tSInferType = Le.tsInferType = ct, Le.tSInstantiationExpression = Le.tsInstantiationExpression = mt, Le.tSInterfaceBody = Le.tsInterfaceBody = Ne, Le.tSInterfaceDeclaration = Le.tsInterfaceDeclaration = Te, Le.tSIntersectionType = Le.tsIntersectionType = De, Le.tSIntrinsicKeyword = Le.tsIntrinsicKeyword = Er, Le.tSLiteralType = Le.tsLiteralType = ee, Le.tSMappedType = Le.tsMappedType = B, Le.tSMethodSignature = Le.tsMethodSignature = at, Le.tSModuleBlock = Le.tsModuleBlock = Et, Le.tSModuleDeclaration = Le.tsModuleDeclaration = vt, Le.tSNamedTupleMember = Le.tsNamedTupleMember = fe, Le.tSNamespaceExportDeclaration = Le.tsNamespaceExportDeclaration = Ut, Le.tSNeverKeyword = Le.tsNeverKeyword = Wr, Le.tSNonNullExpression = Le.tsNonNullExpression = jt, Le.tSNullKeyword = Le.tsNullKeyword =
|
|
18449
|
+
}), Le.anyTypeAnnotation = rs, Le.argumentPlaceholder = vi, Le.arrayExpression = o, Le.arrayPattern = je, Le.arrayTypeAnnotation = Cn, Le.arrowFunctionExpression = Me, Le.assignmentExpression = l, Le.assignmentPattern = Ot, Le.awaitExpression = Qt, Le.bigIntLiteral = s, Le.binaryExpression = c, Le.bindExpression = Gi, Le.blockStatement = y, Le.booleanLiteral = ve, Le.booleanLiteralTypeAnnotation = sr, Le.booleanTypeAnnotation = pn, Le.breakStatement = _, Le.callExpression = N, Le.catchClause = A, Le.classAccessorProperty = wr, Le.classBody = me, Le.classDeclaration = be, Le.classExpression = ue, Le.classImplements = Ei, Le.classMethod = xe, Le.classPrivateMethod = dn, Le.classPrivateProperty = Br, Le.classProperty = yn, Le.conditionalExpression = C, Le.continueStatement = O, Le.debuggerStatement = S, Le.decimalLiteral = jn, Le.declareClass = Mn, Le.declareExportAllDeclaration = kn, Le.declareExportDeclaration = pi, Le.declareFunction = $i, Le.declareInterface = ln, Le.declareModule = ri, Le.declareModuleExports = ns, Le.declareOpaqueType = ni, Le.declareTypeAlias = Xr, Le.declareVariable = Jn, Le.declaredPredicate = ii, Le.decorator = Os, Le.directive = f, Le.directiveLiteral = m, Le.doExpression = ys, Le.doWhileStatement = P, Le.emptyStatement = E, Le.emptyTypeAnnotation = Ws, Le.enumBooleanBody = cs, Le.enumBooleanMember = us, Le.enumDeclaration = Di, Le.enumDefaultedMember = gi, Le.enumNumberBody = Fn, Le.enumNumberMember = Ps, Le.enumStringBody = bo, Le.enumStringMember = Gt, Le.enumSymbolBody = En, Le.existsTypeAnnotation = Oi, Le.exportAllDeclaration = re, Le.exportDefaultDeclaration = Se, Le.exportDefaultSpecifier = Ns, Le.exportNamedDeclaration = Je, Le.exportNamespaceSpecifier = yr, Le.exportSpecifier = X, Le.expressionStatement = j, Le.file = F, Le.forInStatement = k, Le.forOfStatement = M, Le.forStatement = q, Le.functionDeclaration = ae, Le.functionExpression = se, Le.functionTypeAnnotation = fi, Le.functionTypeParam = is, Le.genericTypeAnnotation = Ui, Le.identifier = L, Le.ifStatement = K, Le.import = or, Le.importAttribute = er, Le.importDeclaration = R, Le.importDefaultSpecifier = ke, Le.importExpression = dt, Le.importNamespaceSpecifier = tt, Le.importSpecifier = Ze, Le.indexedAccessType = ds, Le.inferredPredicate = Vi, Le.interfaceDeclaration = Ss, Le.interfaceExtends = Sr, Le.interfaceTypeAnnotation = ss, Le.interpreterDirective = p, Le.intersectionTypeAnnotation = hi, Le.jSXAttribute = Le.jsxAttribute = Ys, Le.jSXClosingElement = Le.jsxClosingElement = Wi, Le.jSXClosingFragment = Le.jsxClosingFragment = an, Le.jSXElement = Le.jsxElement = Cs, Le.jSXEmptyExpression = Le.jsxEmptyExpression = ks, Le.jSXExpressionContainer = Le.jsxExpressionContainer = Hi, Le.jSXFragment = Le.jsxFragment = ms, Le.jSXIdentifier = Le.jsxIdentifier = fs, Le.jSXMemberExpression = Le.jsxMemberExpression = vo, Le.jSXNamespacedName = Le.jsxNamespacedName = bi, Le.jSXOpeningElement = Le.jsxOpeningElement = Js, Le.jSXOpeningFragment = Le.jsxOpeningFragment = Ki, Le.jSXSpreadAttribute = Le.jsxSpreadAttribute = hs, Le.jSXSpreadChild = Le.jsxSpreadChild = Pi, Le.jSXText = Le.jsxText = Is, Le.labeledStatement = pe, Le.logicalExpression = Z, Le.memberExpression = J, Le.metaProperty = oe, Le.mixedTypeAnnotation = gn, Le.moduleExpression = On, Le.newExpression = ge, Le.noop = Mi, Le.nullLiteral = Fe, Le.nullLiteralTypeAnnotation = Tn, Le.nullableTypeAnnotation = os, Le.numberLiteral = hr, Le.numberLiteralTypeAnnotation = Hs, Le.numberTypeAnnotation = Ur, Le.numericLiteral = qe, Le.objectExpression = Y, Le.objectMethod = V, Le.objectPattern = Q, Le.objectProperty = te, Le.objectTypeAnnotation = Bn, Le.objectTypeCallProperty = mi, Le.objectTypeIndexer = Ni, Le.objectTypeInternalSlot = Ln, Le.objectTypeProperty = In, Le.objectTypeSpreadProperty = si, Le.opaqueType = Ts, Le.optionalCallExpression = zr, Le.optionalIndexedAccessType = ps, Le.optionalMemberExpression = Tr, Le.parenthesizedExpression = Be, Le.pipelineBareFunction = ie, Le.pipelinePrimaryTopicReference = u, Le.pipelineTopicExpression = Yi, Le.placeholder = Xs, Le.privateName = _n, Le.program = de, Le.qualifiedTypeIdentifier = oi, Le.recordExpression = gs, Le.regExpLiteral = _e, Le.regexLiteral = mr, Le.restElement = Pe, Le.restProperty = xr, Le.returnStatement = Ue, Le.sequenceExpression = Re, Le.spreadElement = Ce, Le.spreadProperty = Or, Le.staticBlock = Yr, Le.stringLiteral = Ae, Le.stringLiteralTypeAnnotation = Es, Le.stringTypeAnnotation = Xn, Le.super = pt, Le.switchCase = Qe, Le.switchStatement = ut, Le.symbolTypeAnnotation = Ir, Le.taggedTemplateExpression = Ie, Le.templateElement = xt, Le.templateLiteral = Nt, Le.thisExpression = _t, Le.thisTypeAnnotation = Ks, Le.throwStatement = Pt, Le.topicReference = Ds, Le.tryStatement = St, Le.tSAnyKeyword = Le.tsAnyKeyword = Lt, Le.tSArrayType = Le.tsArrayType = x, Le.tSAsExpression = Le.tsAsExpression = ot, Le.tSBigIntKeyword = Le.tsBigIntKeyword = Jt, Le.tSBooleanKeyword = Le.tsBooleanKeyword = $t, Le.tSCallSignatureDeclaration = Le.tsCallSignatureDeclaration = we, Le.tSConditionalType = Le.tsConditionalType = We, Le.tSConstructSignatureDeclaration = Le.tsConstructSignatureDeclaration = $e, Le.tSConstructorType = Le.tsConstructorType = eo, Le.tSDeclareFunction = Le.tsDeclareFunction = g, Le.tSDeclareMethod = Le.tsDeclareMethod = D, Le.tSEnumBody = Le.tsEnumBody = ht, Le.tSEnumDeclaration = Le.tsEnumDeclaration = yt, Le.tSEnumMember = Le.tsEnumMember = gt, Le.tSExportAssignment = Le.tsExportAssignment = Wt, Le.tSExpressionWithTypeArguments = Le.tsExpressionWithTypeArguments = he, Le.tSExternalModuleReference = Le.tsExternalModuleReference = Rt, Le.tSFunctionType = Le.tsFunctionType = Qs, Le.tSImportEqualsDeclaration = Le.tsImportEqualsDeclaration = It, Le.tSImportType = Le.tsImportType = Tt, Le.tSIndexSignature = Le.tsIndexSignature = At, Le.tSIndexedAccessType = Le.tsIndexedAccessType = T, Le.tSInferType = Le.tsInferType = ct, Le.tSInstantiationExpression = Le.tsInstantiationExpression = mt, Le.tSInterfaceBody = Le.tsInterfaceBody = Ne, Le.tSInterfaceDeclaration = Le.tsInterfaceDeclaration = Te, Le.tSIntersectionType = Le.tsIntersectionType = De, Le.tSIntrinsicKeyword = Le.tsIntrinsicKeyword = Er, Le.tSLiteralType = Le.tsLiteralType = ee, Le.tSMappedType = Le.tsMappedType = B, Le.tSMethodSignature = Le.tsMethodSignature = at, Le.tSModuleBlock = Le.tsModuleBlock = Et, Le.tSModuleDeclaration = Le.tsModuleDeclaration = vt, Le.tSNamedTupleMember = Le.tsNamedTupleMember = fe, Le.tSNamespaceExportDeclaration = Le.tsNamespaceExportDeclaration = Ut, Le.tSNeverKeyword = Le.tsNeverKeyword = Wr, Le.tSNonNullExpression = Le.tsNonNullExpression = jt, Le.tSNullKeyword = Le.tsNullKeyword = dr, Le.tSNumberKeyword = Le.tsNumberKeyword = kr, Le.tSObjectKeyword = Le.tsObjectKeyword = ai, Le.tSOptionalType = Le.tsOptionalType = W, Le.tSParameterProperty = Le.tsParameterProperty = d, Le.tSParenthesizedType = Le.tsParenthesizedType = Xe, Le.tSPropertySignature = Le.tsPropertySignature = Ye, Le.tSQualifiedName = Le.tsQualifiedName = le, Le.tSRestType = Le.tsRestType = ne, Le.tSSatisfiesExpression = Le.tsSatisfiesExpression = st, Le.tSStringKeyword = Le.tsStringKeyword = qn, Le.tSSymbolKeyword = Le.tsSymbolKeyword = Zs, Le.tSTemplateLiteralType = Le.tsTemplateLiteralType = U, Le.tSThisType = Le.tsThisType = Ls, Le.tSTupleType = Le.tsTupleType = I, Le.tSTypeAliasDeclaration = Le.tsTypeAliasDeclaration = it, Le.tSTypeAnnotation = Le.tsTypeAnnotation = tr, Le.tSTypeAssertion = Le.tsTypeAssertion = ft, Le.tSTypeLiteral = Le.tsTypeLiteral = w, Le.tSTypeOperator = Le.tsTypeOperator = b, Le.tSTypeParameter = Le.tsTypeParameter = Ft, Le.tSTypeParameterDeclaration = Le.tsTypeParameterDeclaration = nr, Le.tSTypeParameterInstantiation = Le.tsTypeParameterInstantiation = zt, Le.tSTypePredicate = Le.tsTypePredicate = Ji, Le.tSTypeQuery = Le.tsTypeQuery = Zn, Le.tSTypeReference = Le.tsTypeReference = to, Le.tSUndefinedKeyword = Le.tsUndefinedKeyword = Ms, Le.tSUnionType = Le.tsUnionType = Ee, Le.tSUnknownKeyword = Le.tsUnknownKeyword = bs, Le.tSVoidKeyword = Le.tsVoidKeyword = Bs, Le.tupleExpression = on, Le.tupleTypeAnnotation = Gs, Le.typeAlias = xn, Le.typeAnnotation = Ai, Le.typeCastExpression = zi, Le.typeParameter = yi, Le.typeParameterDeclaration = ls, Le.typeParameterInstantiation = As, Le.typeofTypeAnnotation = as, Le.unaryExpression = kt, Le.unionTypeAnnotation = sn, Le.updateExpression = rt, Le.v8IntrinsicIdentifier = _o, Le.variableDeclaration = Ge, Le.variableDeclarator = nt, Le.variance = wn, Le.voidPattern = a, Le.voidTypeAnnotation = Rn, Le.whileStatement = et, Le.withStatement = Dt, Le.yieldExpression = Mt;
|
|
18435
18450
|
var t = Yv(), e = wp(), r = Na();
|
|
18436
18451
|
const {
|
|
18437
18452
|
validateInternal: n
|
|
@@ -19997,7 +20012,7 @@ function EP() {
|
|
|
19997
20012
|
type: "TSNeverKeyword"
|
|
19998
20013
|
};
|
|
19999
20014
|
}
|
|
20000
|
-
function
|
|
20015
|
+
function dr() {
|
|
20001
20016
|
return {
|
|
20002
20017
|
type: "TSNullKeyword"
|
|
20003
20018
|
};
|
|
@@ -20517,7 +20532,7 @@ function x5() {
|
|
|
20517
20532
|
if (Ox) return ze;
|
|
20518
20533
|
Ox = 1, Object.defineProperty(ze, "__esModule", {
|
|
20519
20534
|
value: !0
|
|
20520
|
-
}), ze.assertAccessor = fg, ze.assertAnyTypeAnnotation = Yr, ze.assertArgumentPlaceholder = Xs, ze.assertArrayExpression = n, ze.assertArrayPattern = et, ze.assertArrayTypeAnnotation = er, ze.assertArrowFunctionExpression = Dt, ze.assertAssignmentExpression = i, ze.assertAssignmentPattern = nt, ze.assertAwaitExpression = xt, ze.assertBigIntLiteral = Mt, ze.assertBinary = hr, ze.assertBinaryExpression = s, ze.assertBindExpression = _o, ze.assertBlock = Or, ze.assertBlockParent = xr, ze.assertBlockStatement = p, ze.assertBooleanLiteral = Ae, ze.assertBooleanLiteralTypeAnnotation = Cn, ze.assertBooleanTypeAnnotation = rs, ze.assertBreakStatement = f, ze.assertCallExpression = m, ze.assertCatchClause = y, ze.assertClass = $p, ze.assertClassAccessorProperty = zr, ze.assertClassBody = Ot, ze.assertClassDeclaration = Me, ze.assertClassExpression = je, ze.assertClassImplements = sr, ze.assertClassMethod = Ze, ze.assertClassPrivateMethod = wr, ze.assertClassPrivateProperty = yn, ze.assertClassProperty = Tr, ze.assertCompletionStatement = H, ze.assertConditional = ye, ze.assertConditionalExpression = _, ze.assertContinueStatement = N, ze.assertDebuggerStatement = A, ze.assertDecimalLiteral = gs, ze.assertDeclaration = Xy, ze.assertDeclareClass = Tn, ze.assertDeclareExportAllDeclaration = Jn, ze.assertDeclareExportDeclaration = ni, ze.assertDeclareFunction = Ei, ze.assertDeclareInterface = Mn, ze.assertDeclareModule = $i, ze.assertDeclareModuleExports = ln, ze.assertDeclareOpaqueType = ns, ze.assertDeclareTypeAlias = ri, ze.assertDeclareVariable = Xr, ze.assertDeclaredPredicate = pi, ze.assertDecorator = vi, ze.assertDirective = l, ze.assertDirectiveLiteral = c, ze.assertDoExpression = Gi, ze.assertDoWhileStatement = C, ze.assertEmptyStatement = O, ze.assertEmptyTypeAnnotation = hi, ze.assertEnumBody = _g, ze.assertEnumBooleanBody = Rn, ze.assertEnumBooleanMember = bo, ze.assertEnumDeclaration = wn, ze.assertEnumDefaultedMember = Ps, ze.assertEnumMember = xg, ze.assertEnumNumberBody = Di, ze.assertEnumNumberMember = En, ze.assertEnumStringBody = cs, ze.assertEnumStringMember = us, ze.assertEnumSymbolBody = Fn, ze.assertExistsTypeAnnotation = kn, ze.assertExportAllDeclaration = me, ze.assertExportDeclaration = dg, ze.assertExportDefaultDeclaration = ue, ze.assertExportDefaultSpecifier = Os, ze.assertExportNamedDeclaration = be, ze.assertExportNamespaceSpecifier = Qt, ze.assertExportSpecifier = re, ze.assertExpression = Ft, ze.assertExpressionStatement = S, ze.assertExpressionWrapper = Xt, ze.assertFile = P, ze.assertFlow = mg, ze.assertFlowBaseAnnotation = gg, ze.assertFlowDeclaration = bg, ze.assertFlowPredicate = vg, ze.assertFlowType = yg, ze.assertFor = Zr, ze.assertForInStatement = E, ze.assertForOfStatement = Se, ze.assertForStatement = j, ze.assertForXStatement = $n, ze.assertFunction = ro, ze.assertFunctionDeclaration = F, ze.assertFunctionExpression = k, ze.assertFunctionParameter = Zy, ze.assertFunctionParent = Yy, ze.assertFunctionTypeAnnotation = ii, ze.assertFunctionTypeParam = Oi, ze.assertGenericTypeAnnotation = fi, ze.assertIdentifier = q, ze.assertIfStatement = ae, ze.assertImmutable = ng, ze.assertImport = Nt, ze.assertImportAttribute = _n, ze.assertImportDeclaration = Je, ze.assertImportDefaultSpecifier = X, ze.assertImportExpression = ke, ze.assertImportNamespaceSpecifier = M, ze.assertImportOrExportDeclaration = ug, ze.assertImportSpecifier = R, ze.assertIndexedAccessType = Gt, ze.assertInferredPredicate = is, ze.assertInterfaceDeclaration = Vi, ze.assertInterfaceExtends = Ui, ze.assertInterfaceTypeAnnotation = Sr, ze.assertInterpreterDirective = o, ze.assertIntersectionTypeAnnotation = Ss, ze.assertJSX = wg, ze.assertJSXAttribute = ds, ze.assertJSXClosingElement = ps, ze.assertJSXClosingFragment = ms, ze.assertJSXElement = Ys, ze.assertJSXEmptyExpression = Wi, ze.assertJSXExpressionContainer = Cs, ze.assertJSXFragment = hs, ze.assertJSXIdentifier = Hi, ze.assertJSXMemberExpression = Pi, ze.assertJSXNamespacedName = fs, ze.assertJSXOpeningElement = vo, ze.assertJSXOpeningFragment = Is, ze.assertJSXSpreadAttribute = bi, ze.assertJSXSpreadChild = ks, ze.assertJSXText = Js, ze.assertLVal = eg, ze.assertLabeledStatement = se, ze.assertLiteral = rg, ze.assertLogicalExpression = Fe, ze.assertLoop = Ke, ze.assertMemberExpression = ve, ze.assertMetaProperty = tt, ze.assertMethod = sg, ze.assertMiscellaneous = Sg, ze.assertMixedTypeAnnotation = ss, ze.assertModuleDeclaration = v, ze.assertModuleExpression = on, ze.assertModuleSpecifier = pg, ze.assertNewExpression = _e, ze.assertNoop = Ki, ze.assertNullLiteral = pe, ze.assertNullLiteralTypeAnnotation = pn, ze.assertNullableTypeAnnotation = gn, ze.assertNumberLiteral = Cg, ze.assertNumberLiteralTypeAnnotation = Ws, ze.assertNumberTypeAnnotation = os, ze.assertNumericLiteral = K, ze.assertObjectExpression = J, ze.assertObjectMember = og, ze.assertObjectMethod = ge, ze.assertObjectPattern = dt, ze.assertObjectProperty = de, ze.assertObjectTypeAnnotation = Hs, ze.assertObjectTypeCallProperty = Bn, ze.assertObjectTypeIndexer = Ln, ze.assertObjectTypeInternalSlot = Ur, ze.assertObjectTypeProperty = mi, ze.assertObjectTypeSpreadProperty = Ni, ze.assertOpaqueType = In, ze.assertOptionalCallExpression = yr, ze.assertOptionalIndexedAccessType = gi, ze.assertOptionalMemberExpression = or, ze.assertParenthesizedExpression = Pe, ze.assertPattern = cg, ze.assertPatternLike = Qy, ze.assertPipelineBareFunction = Ds, ze.assertPipelinePrimaryTopicReference = Yi, ze.assertPipelineTopicExpression = On, ze.assertPlaceholder = an, ze.assertPrivate = hg, ze.assertPrivateName = Br, ze.assertProgram = Z, ze.assertProperty = ag, ze.assertPureish = Jy, ze.assertQualifiedTypeIdentifier = si, ze.assertRecordExpression = ys, ze.assertRegExpLiteral = qe, ze.assertRegexLiteral = kg, ze.assertRestElement = Y, ze.assertRestProperty = Ig, ze.assertReturnStatement = V, ze.assertScopable = mr, ze.assertSequenceExpression = te, ze.assertSpreadElement = oe, ze.assertSpreadProperty = Og, ze.assertStandardized = nr, ze.assertStatement = z, ze.assertStaticBlock = dn, ze.assertStringLiteral = L, ze.assertStringLiteralTypeAnnotation = Ts, ze.assertStringTypeAnnotation = oi, ze.assertSuper = xe, ze.assertSwitchCase = Ue, ze.assertSwitchStatement = Re, ze.assertSymbolTypeAnnotation = Es, ze.assertTSAnyKeyword = at, ze.assertTSArrayType = Zn, ze.assertTSAsExpression = it, ze.assertTSBaseType = Pg, ze.assertTSBigIntKeyword = Lt, ze.assertTSBooleanKeyword = At, ze.assertTSCallSignatureDeclaration = D, ze.assertTSConditionalType = Ee, ze.assertTSConstructSignatureDeclaration = le, ze.assertTSConstructorType = Ls, ze.assertTSDeclareFunction = a, ze.assertTSDeclareMethod = d, ze.assertTSEntityName = tg, ze.assertTSEnumBody = st, ze.assertTSEnumDeclaration = ft, ze.assertTSEnumMember = ht, ze.assertTSExportAssignment = Rt, ze.assertTSExpressionWithTypeArguments = U, ze.assertTSExternalModuleReference = Tt, ze.assertTSFunctionType = Bs, ze.assertTSImportEqualsDeclaration = Et, ze.assertTSImportType = vt, ze.assertTSIndexSignature = Ye, ze.assertTSIndexedAccessType = Xe, ze.assertTSInferType = De, ze.assertTSInstantiationExpression = Ne, ze.assertTSInterfaceBody = he, ze.assertTSInterfaceDeclaration = ee, ze.assertTSIntersectionType = fe, ze.assertTSIntrinsicKeyword = $t, ze.assertTSLiteralType = B, ze.assertTSMappedType = b, ze.assertTSMethodSignature = $e, ze.assertTSModuleBlock = gt, ze.assertTSModuleDeclaration = yt, ze.assertTSNamedTupleMember = W, ze.assertTSNamespaceExportDeclaration = jt, ze.assertTSNeverKeyword = Jt, ze.assertTSNonNullExpression = It, ze.assertTSNullKeyword = Er, ze.assertTSNumberKeyword = Wr, ze.assertTSObjectKeyword =
|
|
20535
|
+
}), ze.assertAccessor = fg, ze.assertAnyTypeAnnotation = Yr, ze.assertArgumentPlaceholder = Xs, ze.assertArrayExpression = n, ze.assertArrayPattern = et, ze.assertArrayTypeAnnotation = er, ze.assertArrowFunctionExpression = Dt, ze.assertAssignmentExpression = i, ze.assertAssignmentPattern = nt, ze.assertAwaitExpression = xt, ze.assertBigIntLiteral = Mt, ze.assertBinary = hr, ze.assertBinaryExpression = s, ze.assertBindExpression = _o, ze.assertBlock = Or, ze.assertBlockParent = xr, ze.assertBlockStatement = p, ze.assertBooleanLiteral = Ae, ze.assertBooleanLiteralTypeAnnotation = Cn, ze.assertBooleanTypeAnnotation = rs, ze.assertBreakStatement = f, ze.assertCallExpression = m, ze.assertCatchClause = y, ze.assertClass = $p, ze.assertClassAccessorProperty = zr, ze.assertClassBody = Ot, ze.assertClassDeclaration = Me, ze.assertClassExpression = je, ze.assertClassImplements = sr, ze.assertClassMethod = Ze, ze.assertClassPrivateMethod = wr, ze.assertClassPrivateProperty = yn, ze.assertClassProperty = Tr, ze.assertCompletionStatement = H, ze.assertConditional = ye, ze.assertConditionalExpression = _, ze.assertContinueStatement = N, ze.assertDebuggerStatement = A, ze.assertDecimalLiteral = gs, ze.assertDeclaration = Xy, ze.assertDeclareClass = Tn, ze.assertDeclareExportAllDeclaration = Jn, ze.assertDeclareExportDeclaration = ni, ze.assertDeclareFunction = Ei, ze.assertDeclareInterface = Mn, ze.assertDeclareModule = $i, ze.assertDeclareModuleExports = ln, ze.assertDeclareOpaqueType = ns, ze.assertDeclareTypeAlias = ri, ze.assertDeclareVariable = Xr, ze.assertDeclaredPredicate = pi, ze.assertDecorator = vi, ze.assertDirective = l, ze.assertDirectiveLiteral = c, ze.assertDoExpression = Gi, ze.assertDoWhileStatement = C, ze.assertEmptyStatement = O, ze.assertEmptyTypeAnnotation = hi, ze.assertEnumBody = _g, ze.assertEnumBooleanBody = Rn, ze.assertEnumBooleanMember = bo, ze.assertEnumDeclaration = wn, ze.assertEnumDefaultedMember = Ps, ze.assertEnumMember = xg, ze.assertEnumNumberBody = Di, ze.assertEnumNumberMember = En, ze.assertEnumStringBody = cs, ze.assertEnumStringMember = us, ze.assertEnumSymbolBody = Fn, ze.assertExistsTypeAnnotation = kn, ze.assertExportAllDeclaration = me, ze.assertExportDeclaration = dg, ze.assertExportDefaultDeclaration = ue, ze.assertExportDefaultSpecifier = Os, ze.assertExportNamedDeclaration = be, ze.assertExportNamespaceSpecifier = Qt, ze.assertExportSpecifier = re, ze.assertExpression = Ft, ze.assertExpressionStatement = S, ze.assertExpressionWrapper = Xt, ze.assertFile = P, ze.assertFlow = mg, ze.assertFlowBaseAnnotation = gg, ze.assertFlowDeclaration = bg, ze.assertFlowPredicate = vg, ze.assertFlowType = yg, ze.assertFor = Zr, ze.assertForInStatement = E, ze.assertForOfStatement = Se, ze.assertForStatement = j, ze.assertForXStatement = $n, ze.assertFunction = ro, ze.assertFunctionDeclaration = F, ze.assertFunctionExpression = k, ze.assertFunctionParameter = Zy, ze.assertFunctionParent = Yy, ze.assertFunctionTypeAnnotation = ii, ze.assertFunctionTypeParam = Oi, ze.assertGenericTypeAnnotation = fi, ze.assertIdentifier = q, ze.assertIfStatement = ae, ze.assertImmutable = ng, ze.assertImport = Nt, ze.assertImportAttribute = _n, ze.assertImportDeclaration = Je, ze.assertImportDefaultSpecifier = X, ze.assertImportExpression = ke, ze.assertImportNamespaceSpecifier = M, ze.assertImportOrExportDeclaration = ug, ze.assertImportSpecifier = R, ze.assertIndexedAccessType = Gt, ze.assertInferredPredicate = is, ze.assertInterfaceDeclaration = Vi, ze.assertInterfaceExtends = Ui, ze.assertInterfaceTypeAnnotation = Sr, ze.assertInterpreterDirective = o, ze.assertIntersectionTypeAnnotation = Ss, ze.assertJSX = wg, ze.assertJSXAttribute = ds, ze.assertJSXClosingElement = ps, ze.assertJSXClosingFragment = ms, ze.assertJSXElement = Ys, ze.assertJSXEmptyExpression = Wi, ze.assertJSXExpressionContainer = Cs, ze.assertJSXFragment = hs, ze.assertJSXIdentifier = Hi, ze.assertJSXMemberExpression = Pi, ze.assertJSXNamespacedName = fs, ze.assertJSXOpeningElement = vo, ze.assertJSXOpeningFragment = Is, ze.assertJSXSpreadAttribute = bi, ze.assertJSXSpreadChild = ks, ze.assertJSXText = Js, ze.assertLVal = eg, ze.assertLabeledStatement = se, ze.assertLiteral = rg, ze.assertLogicalExpression = Fe, ze.assertLoop = Ke, ze.assertMemberExpression = ve, ze.assertMetaProperty = tt, ze.assertMethod = sg, ze.assertMiscellaneous = Sg, ze.assertMixedTypeAnnotation = ss, ze.assertModuleDeclaration = v, ze.assertModuleExpression = on, ze.assertModuleSpecifier = pg, ze.assertNewExpression = _e, ze.assertNoop = Ki, ze.assertNullLiteral = pe, ze.assertNullLiteralTypeAnnotation = pn, ze.assertNullableTypeAnnotation = gn, ze.assertNumberLiteral = Cg, ze.assertNumberLiteralTypeAnnotation = Ws, ze.assertNumberTypeAnnotation = os, ze.assertNumericLiteral = K, ze.assertObjectExpression = J, ze.assertObjectMember = og, ze.assertObjectMethod = ge, ze.assertObjectPattern = dt, ze.assertObjectProperty = de, ze.assertObjectTypeAnnotation = Hs, ze.assertObjectTypeCallProperty = Bn, ze.assertObjectTypeIndexer = Ln, ze.assertObjectTypeInternalSlot = Ur, ze.assertObjectTypeProperty = mi, ze.assertObjectTypeSpreadProperty = Ni, ze.assertOpaqueType = In, ze.assertOptionalCallExpression = yr, ze.assertOptionalIndexedAccessType = gi, ze.assertOptionalMemberExpression = or, ze.assertParenthesizedExpression = Pe, ze.assertPattern = cg, ze.assertPatternLike = Qy, ze.assertPipelineBareFunction = Ds, ze.assertPipelinePrimaryTopicReference = Yi, ze.assertPipelineTopicExpression = On, ze.assertPlaceholder = an, ze.assertPrivate = hg, ze.assertPrivateName = Br, ze.assertProgram = Z, ze.assertProperty = ag, ze.assertPureish = Jy, ze.assertQualifiedTypeIdentifier = si, ze.assertRecordExpression = ys, ze.assertRegExpLiteral = qe, ze.assertRegexLiteral = kg, ze.assertRestElement = Y, ze.assertRestProperty = Ig, ze.assertReturnStatement = V, ze.assertScopable = mr, ze.assertSequenceExpression = te, ze.assertSpreadElement = oe, ze.assertSpreadProperty = Og, ze.assertStandardized = nr, ze.assertStatement = z, ze.assertStaticBlock = dn, ze.assertStringLiteral = L, ze.assertStringLiteralTypeAnnotation = Ts, ze.assertStringTypeAnnotation = oi, ze.assertSuper = xe, ze.assertSwitchCase = Ue, ze.assertSwitchStatement = Re, ze.assertSymbolTypeAnnotation = Es, ze.assertTSAnyKeyword = at, ze.assertTSArrayType = Zn, ze.assertTSAsExpression = it, ze.assertTSBaseType = Pg, ze.assertTSBigIntKeyword = Lt, ze.assertTSBooleanKeyword = At, ze.assertTSCallSignatureDeclaration = D, ze.assertTSConditionalType = Ee, ze.assertTSConstructSignatureDeclaration = le, ze.assertTSConstructorType = Ls, ze.assertTSDeclareFunction = a, ze.assertTSDeclareMethod = d, ze.assertTSEntityName = tg, ze.assertTSEnumBody = st, ze.assertTSEnumDeclaration = ft, ze.assertTSEnumMember = ht, ze.assertTSExportAssignment = Rt, ze.assertTSExpressionWithTypeArguments = U, ze.assertTSExternalModuleReference = Tt, ze.assertTSFunctionType = Bs, ze.assertTSImportEqualsDeclaration = Et, ze.assertTSImportType = vt, ze.assertTSIndexSignature = Ye, ze.assertTSIndexedAccessType = Xe, ze.assertTSInferType = De, ze.assertTSInstantiationExpression = Ne, ze.assertTSInterfaceBody = he, ze.assertTSInterfaceDeclaration = ee, ze.assertTSIntersectionType = fe, ze.assertTSIntrinsicKeyword = $t, ze.assertTSLiteralType = B, ze.assertTSMappedType = b, ze.assertTSMethodSignature = $e, ze.assertTSModuleBlock = gt, ze.assertTSModuleDeclaration = yt, ze.assertTSNamedTupleMember = W, ze.assertTSNamespaceExportDeclaration = jt, ze.assertTSNeverKeyword = Jt, ze.assertTSNonNullExpression = It, ze.assertTSNullKeyword = Er, ze.assertTSNumberKeyword = Wr, ze.assertTSObjectKeyword = dr, ze.assertTSOptionalType = x, ze.assertTSParameterProperty = u, ze.assertTSParenthesizedType = We, ze.assertTSPropertySignature = we, ze.assertTSQualifiedName = g, ze.assertTSRestType = I, ze.assertTSSatisfiesExpression = mt, ze.assertTSStringKeyword = kr, ze.assertTSSymbolKeyword = ai, ze.assertTSTemplateLiteralType = T, ze.assertTSThisType = bs, ze.assertTSTupleType = w, ze.assertTSType = Ag, ze.assertTSTypeAliasDeclaration = Te, ze.assertTSTypeAnnotation = Wt, ze.assertTSTypeAssertion = ot, ze.assertTSTypeElement = Eg, ze.assertTSTypeLiteral = Ji, ze.assertTSTypeOperator = ct, ze.assertTSTypeParameter = zt, ze.assertTSTypeParameterDeclaration = tr, ze.assertTSTypeParameterInstantiation = Ut, ze.assertTSTypePredicate = eo, ze.assertTSTypeQuery = to, ze.assertTSTypeReference = Qs, ze.assertTSUndefinedKeyword = qn, ze.assertTSUnionType = ne, ze.assertTSUnknownKeyword = Zs, ze.assertTSVoidKeyword = Ms, ze.assertTaggedTemplateExpression = Q, ze.assertTemplateElement = Ce, ze.assertTemplateLiteral = pt, ze.assertTerminatorless = $, ze.assertThisExpression = Be, ze.assertThisTypeAnnotation = Xn, ze.assertThrowStatement = Qe, ze.assertTopicReference = jn, ze.assertTryStatement = ut, ze.assertTupleExpression = Ns, ze.assertTupleTypeAnnotation = Ir, ze.assertTypeAlias = Gs, ze.assertTypeAnnotation = as, ze.assertTypeCastExpression = xn, ze.assertTypeParameter = Ai, ze.assertTypeParameterDeclaration = zi, ze.assertTypeParameterInstantiation = yi, ze.assertTypeScript = Tg, ze.assertTypeofTypeAnnotation = Ks, ze.assertUnaryExpression = _t, ze.assertUnaryLike = lg, ze.assertUnionTypeAnnotation = ls, ze.assertUpdateExpression = Pt, ze.assertUserWhitespacable = ig, ze.assertV8IntrinsicIdentifier = Mi, ze.assertVariableDeclaration = St, ze.assertVariableDeclarator = kt, ze.assertVariance = As, ze.assertVoidPattern = ie, ze.assertVoidTypeAnnotation = sn, ze.assertWhile = wt, ze.assertWhileStatement = rt, ze.assertWithStatement = Ge, ze.assertYieldExpression = Ie;
|
|
20521
20536
|
var t = Sp(), e = wp();
|
|
20522
20537
|
function r(h, G, T_) {
|
|
20523
20538
|
if (!(0, t.default)(h, G, T_))
|
|
@@ -21129,7 +21144,7 @@ function x5() {
|
|
|
21129
21144
|
function Wr(h, G) {
|
|
21130
21145
|
r("TSNumberKeyword", h, G);
|
|
21131
21146
|
}
|
|
21132
|
-
function
|
|
21147
|
+
function dr(h, G) {
|
|
21133
21148
|
r("TSObjectKeyword", h, G);
|
|
21134
21149
|
}
|
|
21135
21150
|
function kr(h, G) {
|
|
@@ -24967,18 +24982,18 @@ function $m() {
|
|
|
24967
24982
|
const kr = this.lookahead();
|
|
24968
24983
|
kr.type !== 14 && kr.type !== 17 && (this.next(), $t = !0);
|
|
24969
24984
|
}
|
|
24970
|
-
const
|
|
24985
|
+
const dr = this.flowParseVariance();
|
|
24971
24986
|
if (this.eat(0))
|
|
24972
|
-
Jt != null && this.unexpected(Jt), this.eat(0) ? (
|
|
24987
|
+
Jt != null && this.unexpected(Jt), this.eat(0) ? (dr && this.unexpected(dr.loc.start), $e.internalSlots.push(this.flowParseObjectTypeInternalSlot(Wr, $t))) : $e.indexers.push(this.flowParseObjectTypeIndexer(Wr, $t, dr));
|
|
24973
24988
|
else if (this.match(10) || this.match(47))
|
|
24974
|
-
Jt != null && this.unexpected(Jt),
|
|
24989
|
+
Jt != null && this.unexpected(Jt), dr && this.unexpected(dr.loc.start), $e.callProperties.push(this.flowParseObjectTypeCallProperty(Wr, $t));
|
|
24975
24990
|
else {
|
|
24976
24991
|
let kr = "init";
|
|
24977
24992
|
if (this.isContextual(99) || this.isContextual(104)) {
|
|
24978
24993
|
const qn = this.lookahead();
|
|
24979
24994
|
St(qn.type) && (kr = this.state.value, this.next());
|
|
24980
24995
|
}
|
|
24981
|
-
const ai = this.flowParseObjectTypeProperty(Wr, $t, Jt,
|
|
24996
|
+
const ai = this.flowParseObjectTypeProperty(Wr, $t, Jt, dr, kr, g, le ?? !at);
|
|
24982
24997
|
ai === null ? (At = !0, Er = this.state.lastTokStartLoc) : $e.properties.push(ai);
|
|
24983
24998
|
}
|
|
24984
24999
|
this.flowObjectTypeSemicolon(), Er && !this.match(8) && !this.match(9) && this.raise(er.UnexpectedExplicitInexactInObject, Er);
|
|
@@ -27051,9 +27066,9 @@ function $m() {
|
|
|
27051
27066
|
const at = u, At = g === 16 ? Ur.hex : Ur.decBinOct, Lt = g === 16 ? Bn.hex : g === 10 ? Bn.dec : g === 8 ? Bn.oct : Bn.bin;
|
|
27052
27067
|
let $t = !1, Jt = 0;
|
|
27053
27068
|
for (let Er = 0, Wr = D ?? 1 / 0; Er < Wr; ++Er) {
|
|
27054
|
-
const
|
|
27069
|
+
const dr = ie.charCodeAt(u);
|
|
27055
27070
|
let kr;
|
|
27056
|
-
if (
|
|
27071
|
+
if (dr === 95 && we !== "bail") {
|
|
27057
27072
|
const ai = ie.charCodeAt(u - 1), qn = ie.charCodeAt(u + 1);
|
|
27058
27073
|
if (we) {
|
|
27059
27074
|
if (Number.isNaN(qn) || !Lt(qn) || At.has(ai) || At.has(qn)) {
|
|
@@ -27073,7 +27088,7 @@ function $m() {
|
|
|
27073
27088
|
++u;
|
|
27074
27089
|
continue;
|
|
27075
27090
|
}
|
|
27076
|
-
if (
|
|
27091
|
+
if (dr >= 97 ? kr = dr - 97 + 10 : dr >= 65 ? kr = dr - 65 + 10 : Hs(dr) ? kr = dr - 48 : kr = 1 / 0, kr >= g) {
|
|
27077
27092
|
if (kr <= 9 && Ye)
|
|
27078
27093
|
return {
|
|
27079
27094
|
n: null,
|
|
@@ -28422,9 +28437,9 @@ function $m() {
|
|
|
28422
28437
|
if (Ye === "Identifier") {
|
|
28423
28438
|
this.checkIdentifier(u, d, D);
|
|
28424
28439
|
const {
|
|
28425
|
-
name:
|
|
28440
|
+
name: dr
|
|
28426
28441
|
} = u;
|
|
28427
|
-
g && (g.has(
|
|
28442
|
+
g && (g.has(dr) ? this.raise(S.ParamDupe, u) : g.add(dr));
|
|
28428
28443
|
return;
|
|
28429
28444
|
} else Ye === "VoidPattern" && a.type === "CatchClause" && this.raise(S.VoidPatternCatchClauseParam, u);
|
|
28430
28445
|
const At = Fn(u);
|
|
@@ -28432,8 +28447,8 @@ function $m() {
|
|
|
28432
28447
|
const Lt = this.isValidLVal(Ye, we, !(le || ($e = u.extra) != null && $e.parenthesized) && a.type === "AssignmentExpression", d);
|
|
28433
28448
|
if (Lt === !0) return;
|
|
28434
28449
|
if (Lt === !1) {
|
|
28435
|
-
const
|
|
28436
|
-
this.raise(
|
|
28450
|
+
const dr = d === 64 ? S.InvalidLhs : S.InvalidLhsBinding;
|
|
28451
|
+
this.raise(dr, u, {
|
|
28437
28452
|
ancestor: a
|
|
28438
28453
|
});
|
|
28439
28454
|
return;
|
|
@@ -28444,8 +28459,8 @@ function $m() {
|
|
|
28444
28459
|
type: Ye
|
|
28445
28460
|
} : a, Wr = u[$t];
|
|
28446
28461
|
if (Array.isArray(Wr))
|
|
28447
|
-
for (const
|
|
28448
|
-
|
|
28462
|
+
for (const dr of Wr)
|
|
28463
|
+
dr && this.checkLVal(dr, Er, d, g, D, Jt, !0);
|
|
28449
28464
|
else Wr && this.checkLVal(Wr, Er, d, g, D, Jt, we);
|
|
28450
28465
|
}
|
|
28451
28466
|
checkIdentifier(u, a, d = !1) {
|
|
@@ -29799,8 +29814,8 @@ function $m() {
|
|
|
29799
29814
|
const $t = this.tryParse((Jt) => {
|
|
29800
29815
|
var Er, Wr;
|
|
29801
29816
|
Lt = this.tsParseTypeParameters(this.tsParseConstModifier);
|
|
29802
|
-
const
|
|
29803
|
-
return (
|
|
29817
|
+
const dr = super.parseMaybeAssign(a, d);
|
|
29818
|
+
return (dr.type !== "ArrowFunctionExpression" || (Er = dr.extra) != null && Er.parenthesized) && Jt(), ((Wr = Lt) == null ? void 0 : Wr.params.length) !== 0 && this.resetStartLocationFromNode(dr, Lt), dr.typeParameters = Lt, dr;
|
|
29804
29819
|
}, Ye);
|
|
29805
29820
|
if (!$t.error && !$t.aborted)
|
|
29806
29821
|
return Lt && this.reportReservedArrowTypeParam(Lt), $t.node;
|
|
@@ -30062,7 +30077,7 @@ function $m() {
|
|
|
30062
30077
|
a[Lt] = Ye ? "type" : "value", at && this.eatContextual(93) && (a[le] = d ? this.parseIdentifier() : this.parseModuleExportName()), a[le] || (a[le] = this.cloneIdentifier(a[D])), d && this.checkIdentifier(a[le], Ye ? 4098 : 4096);
|
|
30063
30078
|
}
|
|
30064
30079
|
fillOptionalPropertiesForTSESLint(a) {
|
|
30065
|
-
var d, g, D, le, we, $e, Ye, at, At, Lt, $t, Jt, Er, Wr,
|
|
30080
|
+
var d, g, D, le, we, $e, Ye, at, At, Lt, $t, Jt, Er, Wr, dr, kr, ai, qn, Zs, Ms, bs, Bs, Ls, Qs, eo, to, Ji, Zn, w, x, I, W, ne, fe, Ee, De, We, ct, Xe, b, T, B, U, ee, he, Te, Ne, it;
|
|
30066
30081
|
switch (a.type) {
|
|
30067
30082
|
case "ExpressionStatement":
|
|
30068
30083
|
(d = a.directive) != null || (a.directive = void 0);
|
|
@@ -30094,7 +30109,7 @@ function $m() {
|
|
|
30094
30109
|
case "TSPropertySignature":
|
|
30095
30110
|
(Wr = a.optional) != null || (a.optional = !1);
|
|
30096
30111
|
case "TSIndexSignature":
|
|
30097
|
-
(
|
|
30112
|
+
(dr = a.accessibility) != null || (a.accessibility = void 0), (kr = a.readonly) != null || (a.readonly = !1), (ai = a.static) != null || (a.static = !1);
|
|
30098
30113
|
return;
|
|
30099
30114
|
case "TSAbstractPropertyDefinition":
|
|
30100
30115
|
case "PropertyDefinition":
|
|
@@ -32084,8 +32099,8 @@ function $m() {
|
|
|
32084
32099
|
const D = a, le = a, we = a, $e = a, Ye = a, at = D, At = D;
|
|
32085
32100
|
if (a.static = g, this.parsePropertyNamePrefixOperator(a), this.eat(55)) {
|
|
32086
32101
|
at.kind = "method";
|
|
32087
|
-
const
|
|
32088
|
-
if (this.parseClassElementName(at), this.parsePostMemberNameModifiers(at),
|
|
32102
|
+
const dr = this.match(139);
|
|
32103
|
+
if (this.parseClassElementName(at), this.parsePostMemberNameModifiers(at), dr) {
|
|
32089
32104
|
this.pushClassPrivateMethod(u, le, !0, !1);
|
|
32090
32105
|
return;
|
|
32091
32106
|
}
|
|
@@ -32098,25 +32113,25 @@ function $m() {
|
|
|
32098
32113
|
this.pushClassPrivateMethod(u, le, !1, !1);
|
|
32099
32114
|
return;
|
|
32100
32115
|
}
|
|
32101
|
-
const
|
|
32116
|
+
const dr = this.isNonstaticConstructor(D);
|
|
32102
32117
|
let kr = !1;
|
|
32103
|
-
|
|
32118
|
+
dr && (D.kind = "constructor", d.hadConstructor && !this.hasPlugin("typescript") && this.raise(S.DuplicateConstructor, $t), dr && this.hasPlugin("typescript") && a.override && this.raise(S.OverrideOnConstructor, $t), d.hadConstructor = !0, kr = d.hadSuperClass), this.pushClassMethod(u, D, !1, !1, dr, kr);
|
|
32104
32119
|
} else if (this.isClassProperty())
|
|
32105
32120
|
Er ? this.pushClassPrivateProperty(u, $e) : this.pushClassProperty(u, we);
|
|
32106
32121
|
else if (Jt === "async" && !this.isLineTerminator()) {
|
|
32107
32122
|
this.resetPreviousNodeTrailingComments($t);
|
|
32108
|
-
const
|
|
32123
|
+
const dr = this.eat(55);
|
|
32109
32124
|
At.optional && this.unexpected(Wr), at.kind = "method";
|
|
32110
32125
|
const kr = this.match(139);
|
|
32111
|
-
this.parseClassElementName(at), this.parsePostMemberNameModifiers(At), kr ? this.pushClassPrivateMethod(u, le,
|
|
32126
|
+
this.parseClassElementName(at), this.parsePostMemberNameModifiers(At), kr ? this.pushClassPrivateMethod(u, le, dr, !0) : (this.isNonstaticConstructor(D) && this.raise(S.ConstructorIsAsync, D.key), this.pushClassMethod(u, D, dr, !0, !1, !1));
|
|
32112
32127
|
} else if ((Jt === "get" || Jt === "set") && !(this.match(55) && this.isLineTerminator())) {
|
|
32113
32128
|
this.resetPreviousNodeTrailingComments($t), at.kind = Jt;
|
|
32114
|
-
const
|
|
32115
|
-
this.parseClassElementName(D),
|
|
32129
|
+
const dr = this.match(139);
|
|
32130
|
+
this.parseClassElementName(D), dr ? this.pushClassPrivateMethod(u, le, !1, !1) : (this.isNonstaticConstructor(D) && this.raise(S.ConstructorIsAccessor, D.key), this.pushClassMethod(u, D, !1, !1, !1, !1)), this.checkGetterSetterParams(D);
|
|
32116
32131
|
} else if (Jt === "accessor" && !this.isLineTerminator()) {
|
|
32117
32132
|
this.expectPlugin("decoratorAutoAccessors"), this.resetPreviousNodeTrailingComments($t);
|
|
32118
|
-
const
|
|
32119
|
-
this.parseClassElementName(we), this.pushClassAccessorProperty(u, Ye,
|
|
32133
|
+
const dr = this.match(139);
|
|
32134
|
+
this.parseClassElementName(we), this.pushClassAccessorProperty(u, Ye, dr);
|
|
32120
32135
|
} else this.isLineTerminator() ? Er ? this.pushClassPrivateProperty(u, $e) : this.pushClassProperty(u, we) : this.unexpected();
|
|
32121
32136
|
}
|
|
32122
32137
|
parseClassElementName(u) {
|
|
@@ -66442,7 +66457,7 @@ class I9 {
|
|
|
66442
66457
|
}
|
|
66443
66458
|
function qE(t) {
|
|
66444
66459
|
return new SharedWorker(
|
|
66445
|
-
"" + new URL("assets/shared-worker-
|
|
66460
|
+
"" + new URL("assets/shared-worker-C1R_rVKh.js", import.meta.url).href,
|
|
66446
66461
|
{
|
|
66447
66462
|
name: t == null ? void 0 : t.name
|
|
66448
66463
|
}
|
|
@@ -68347,7 +68362,7 @@ class cF {
|
|
|
68347
68362
|
}
|
|
68348
68363
|
}
|
|
68349
68364
|
const fI = Yt("I18n"), Ht = "zh-CN", Cr = ["en-US"], YE = {
|
|
68350
|
-
"en-US": async () => (await import("./en-US-
|
|
68365
|
+
"en-US": async () => (await import("./en-US-Dx9A0kbR.js")).default
|
|
68351
68366
|
}, { getLocale: wv, setLocale: hI } = Z9({
|
|
68352
68367
|
sourceLocale: Ht,
|
|
68353
68368
|
targetLocales: Cr,
|
|
@@ -70150,10 +70165,10 @@ class qi {
|
|
|
70150
70165
|
const gr = Object.freeze({
|
|
70151
70166
|
status: "aborted"
|
|
70152
70167
|
}), Zc = (t) => ({ status: "dirty", value: t }), ts = (t) => ({ status: "valid", value: t }), Ev = (t) => t.status === "aborted", Av = (t) => t.status === "dirty", Zl = (t) => t.status === "valid", ep = (t) => typeof Promise < "u" && t instanceof Promise;
|
|
70153
|
-
var
|
|
70168
|
+
var ur;
|
|
70154
70169
|
(function(t) {
|
|
70155
70170
|
t.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, t.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
70156
|
-
})(
|
|
70171
|
+
})(ur || (ur = {}));
|
|
70157
70172
|
class Wo {
|
|
70158
70173
|
constructor(e, r, n, i) {
|
|
70159
70174
|
this._cachedPath = [], this.parent = e, this.data = r, this._path = n, this._key = i;
|
|
@@ -70602,7 +70617,7 @@ class Co extends qr {
|
|
|
70602
70617
|
return this.refinement((i) => e.test(i), {
|
|
70603
70618
|
validation: r,
|
|
70604
70619
|
code: Vt.invalid_string,
|
|
70605
|
-
...
|
|
70620
|
+
...ur.errToObj(n)
|
|
70606
70621
|
});
|
|
70607
70622
|
}
|
|
70608
70623
|
_addCheck(e) {
|
|
@@ -70612,46 +70627,46 @@ class Co extends qr {
|
|
|
70612
70627
|
});
|
|
70613
70628
|
}
|
|
70614
70629
|
email(e) {
|
|
70615
|
-
return this._addCheck({ kind: "email", ...
|
|
70630
|
+
return this._addCheck({ kind: "email", ...ur.errToObj(e) });
|
|
70616
70631
|
}
|
|
70617
70632
|
url(e) {
|
|
70618
|
-
return this._addCheck({ kind: "url", ...
|
|
70633
|
+
return this._addCheck({ kind: "url", ...ur.errToObj(e) });
|
|
70619
70634
|
}
|
|
70620
70635
|
emoji(e) {
|
|
70621
|
-
return this._addCheck({ kind: "emoji", ...
|
|
70636
|
+
return this._addCheck({ kind: "emoji", ...ur.errToObj(e) });
|
|
70622
70637
|
}
|
|
70623
70638
|
uuid(e) {
|
|
70624
|
-
return this._addCheck({ kind: "uuid", ...
|
|
70639
|
+
return this._addCheck({ kind: "uuid", ...ur.errToObj(e) });
|
|
70625
70640
|
}
|
|
70626
70641
|
nanoid(e) {
|
|
70627
|
-
return this._addCheck({ kind: "nanoid", ...
|
|
70642
|
+
return this._addCheck({ kind: "nanoid", ...ur.errToObj(e) });
|
|
70628
70643
|
}
|
|
70629
70644
|
cuid(e) {
|
|
70630
|
-
return this._addCheck({ kind: "cuid", ...
|
|
70645
|
+
return this._addCheck({ kind: "cuid", ...ur.errToObj(e) });
|
|
70631
70646
|
}
|
|
70632
70647
|
cuid2(e) {
|
|
70633
|
-
return this._addCheck({ kind: "cuid2", ...
|
|
70648
|
+
return this._addCheck({ kind: "cuid2", ...ur.errToObj(e) });
|
|
70634
70649
|
}
|
|
70635
70650
|
ulid(e) {
|
|
70636
|
-
return this._addCheck({ kind: "ulid", ...
|
|
70651
|
+
return this._addCheck({ kind: "ulid", ...ur.errToObj(e) });
|
|
70637
70652
|
}
|
|
70638
70653
|
base64(e) {
|
|
70639
|
-
return this._addCheck({ kind: "base64", ...
|
|
70654
|
+
return this._addCheck({ kind: "base64", ...ur.errToObj(e) });
|
|
70640
70655
|
}
|
|
70641
70656
|
base64url(e) {
|
|
70642
70657
|
return this._addCheck({
|
|
70643
70658
|
kind: "base64url",
|
|
70644
|
-
...
|
|
70659
|
+
...ur.errToObj(e)
|
|
70645
70660
|
});
|
|
70646
70661
|
}
|
|
70647
70662
|
jwt(e) {
|
|
70648
|
-
return this._addCheck({ kind: "jwt", ...
|
|
70663
|
+
return this._addCheck({ kind: "jwt", ...ur.errToObj(e) });
|
|
70649
70664
|
}
|
|
70650
70665
|
ip(e) {
|
|
70651
|
-
return this._addCheck({ kind: "ip", ...
|
|
70666
|
+
return this._addCheck({ kind: "ip", ...ur.errToObj(e) });
|
|
70652
70667
|
}
|
|
70653
70668
|
cidr(e) {
|
|
70654
|
-
return this._addCheck({ kind: "cidr", ...
|
|
70669
|
+
return this._addCheck({ kind: "cidr", ...ur.errToObj(e) });
|
|
70655
70670
|
}
|
|
70656
70671
|
datetime(e) {
|
|
70657
70672
|
return typeof e == "string" ? this._addCheck({
|
|
@@ -70665,7 +70680,7 @@ class Co extends qr {
|
|
|
70665
70680
|
precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
|
|
70666
70681
|
offset: (e == null ? void 0 : e.offset) ?? !1,
|
|
70667
70682
|
local: (e == null ? void 0 : e.local) ?? !1,
|
|
70668
|
-
...
|
|
70683
|
+
...ur.errToObj(e == null ? void 0 : e.message)
|
|
70669
70684
|
});
|
|
70670
70685
|
}
|
|
70671
70686
|
date(e) {
|
|
@@ -70679,17 +70694,17 @@ class Co extends qr {
|
|
|
70679
70694
|
}) : this._addCheck({
|
|
70680
70695
|
kind: "time",
|
|
70681
70696
|
precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
|
|
70682
|
-
...
|
|
70697
|
+
...ur.errToObj(e == null ? void 0 : e.message)
|
|
70683
70698
|
});
|
|
70684
70699
|
}
|
|
70685
70700
|
duration(e) {
|
|
70686
|
-
return this._addCheck({ kind: "duration", ...
|
|
70701
|
+
return this._addCheck({ kind: "duration", ...ur.errToObj(e) });
|
|
70687
70702
|
}
|
|
70688
70703
|
regex(e, r) {
|
|
70689
70704
|
return this._addCheck({
|
|
70690
70705
|
kind: "regex",
|
|
70691
70706
|
regex: e,
|
|
70692
|
-
...
|
|
70707
|
+
...ur.errToObj(r)
|
|
70693
70708
|
});
|
|
70694
70709
|
}
|
|
70695
70710
|
includes(e, r) {
|
|
@@ -70697,49 +70712,49 @@ class Co extends qr {
|
|
|
70697
70712
|
kind: "includes",
|
|
70698
70713
|
value: e,
|
|
70699
70714
|
position: r == null ? void 0 : r.position,
|
|
70700
|
-
...
|
|
70715
|
+
...ur.errToObj(r == null ? void 0 : r.message)
|
|
70701
70716
|
});
|
|
70702
70717
|
}
|
|
70703
70718
|
startsWith(e, r) {
|
|
70704
70719
|
return this._addCheck({
|
|
70705
70720
|
kind: "startsWith",
|
|
70706
70721
|
value: e,
|
|
70707
|
-
...
|
|
70722
|
+
...ur.errToObj(r)
|
|
70708
70723
|
});
|
|
70709
70724
|
}
|
|
70710
70725
|
endsWith(e, r) {
|
|
70711
70726
|
return this._addCheck({
|
|
70712
70727
|
kind: "endsWith",
|
|
70713
70728
|
value: e,
|
|
70714
|
-
...
|
|
70729
|
+
...ur.errToObj(r)
|
|
70715
70730
|
});
|
|
70716
70731
|
}
|
|
70717
70732
|
min(e, r) {
|
|
70718
70733
|
return this._addCheck({
|
|
70719
70734
|
kind: "min",
|
|
70720
70735
|
value: e,
|
|
70721
|
-
...
|
|
70736
|
+
...ur.errToObj(r)
|
|
70722
70737
|
});
|
|
70723
70738
|
}
|
|
70724
70739
|
max(e, r) {
|
|
70725
70740
|
return this._addCheck({
|
|
70726
70741
|
kind: "max",
|
|
70727
70742
|
value: e,
|
|
70728
|
-
...
|
|
70743
|
+
...ur.errToObj(r)
|
|
70729
70744
|
});
|
|
70730
70745
|
}
|
|
70731
70746
|
length(e, r) {
|
|
70732
70747
|
return this._addCheck({
|
|
70733
70748
|
kind: "length",
|
|
70734
70749
|
value: e,
|
|
70735
|
-
...
|
|
70750
|
+
...ur.errToObj(r)
|
|
70736
70751
|
});
|
|
70737
70752
|
}
|
|
70738
70753
|
/**
|
|
70739
70754
|
* Equivalent to `.min(1)`
|
|
70740
70755
|
*/
|
|
70741
70756
|
nonempty(e) {
|
|
70742
|
-
return this.min(1,
|
|
70757
|
+
return this.min(1, ur.errToObj(e));
|
|
70743
70758
|
}
|
|
70744
70759
|
trim() {
|
|
70745
70760
|
return new Co({
|
|
@@ -70876,16 +70891,16 @@ class Qa extends qr {
|
|
|
70876
70891
|
return { status: i.value, value: e.data };
|
|
70877
70892
|
}
|
|
70878
70893
|
gte(e, r) {
|
|
70879
|
-
return this.setLimit("min", e, !0,
|
|
70894
|
+
return this.setLimit("min", e, !0, ur.toString(r));
|
|
70880
70895
|
}
|
|
70881
70896
|
gt(e, r) {
|
|
70882
|
-
return this.setLimit("min", e, !1,
|
|
70897
|
+
return this.setLimit("min", e, !1, ur.toString(r));
|
|
70883
70898
|
}
|
|
70884
70899
|
lte(e, r) {
|
|
70885
|
-
return this.setLimit("max", e, !0,
|
|
70900
|
+
return this.setLimit("max", e, !0, ur.toString(r));
|
|
70886
70901
|
}
|
|
70887
70902
|
lt(e, r) {
|
|
70888
|
-
return this.setLimit("max", e, !1,
|
|
70903
|
+
return this.setLimit("max", e, !1, ur.toString(r));
|
|
70889
70904
|
}
|
|
70890
70905
|
setLimit(e, r, n, i) {
|
|
70891
70906
|
return new Qa({
|
|
@@ -70896,7 +70911,7 @@ class Qa extends qr {
|
|
|
70896
70911
|
kind: e,
|
|
70897
70912
|
value: r,
|
|
70898
70913
|
inclusive: n,
|
|
70899
|
-
message:
|
|
70914
|
+
message: ur.toString(i)
|
|
70900
70915
|
}
|
|
70901
70916
|
]
|
|
70902
70917
|
});
|
|
@@ -70910,7 +70925,7 @@ class Qa extends qr {
|
|
|
70910
70925
|
int(e) {
|
|
70911
70926
|
return this._addCheck({
|
|
70912
70927
|
kind: "int",
|
|
70913
|
-
message:
|
|
70928
|
+
message: ur.toString(e)
|
|
70914
70929
|
});
|
|
70915
70930
|
}
|
|
70916
70931
|
positive(e) {
|
|
@@ -70918,7 +70933,7 @@ class Qa extends qr {
|
|
|
70918
70933
|
kind: "min",
|
|
70919
70934
|
value: 0,
|
|
70920
70935
|
inclusive: !1,
|
|
70921
|
-
message:
|
|
70936
|
+
message: ur.toString(e)
|
|
70922
70937
|
});
|
|
70923
70938
|
}
|
|
70924
70939
|
negative(e) {
|
|
@@ -70926,7 +70941,7 @@ class Qa extends qr {
|
|
|
70926
70941
|
kind: "max",
|
|
70927
70942
|
value: 0,
|
|
70928
70943
|
inclusive: !1,
|
|
70929
|
-
message:
|
|
70944
|
+
message: ur.toString(e)
|
|
70930
70945
|
});
|
|
70931
70946
|
}
|
|
70932
70947
|
nonpositive(e) {
|
|
@@ -70934,7 +70949,7 @@ class Qa extends qr {
|
|
|
70934
70949
|
kind: "max",
|
|
70935
70950
|
value: 0,
|
|
70936
70951
|
inclusive: !0,
|
|
70937
|
-
message:
|
|
70952
|
+
message: ur.toString(e)
|
|
70938
70953
|
});
|
|
70939
70954
|
}
|
|
70940
70955
|
nonnegative(e) {
|
|
@@ -70942,20 +70957,20 @@ class Qa extends qr {
|
|
|
70942
70957
|
kind: "min",
|
|
70943
70958
|
value: 0,
|
|
70944
70959
|
inclusive: !0,
|
|
70945
|
-
message:
|
|
70960
|
+
message: ur.toString(e)
|
|
70946
70961
|
});
|
|
70947
70962
|
}
|
|
70948
70963
|
multipleOf(e, r) {
|
|
70949
70964
|
return this._addCheck({
|
|
70950
70965
|
kind: "multipleOf",
|
|
70951
70966
|
value: e,
|
|
70952
|
-
message:
|
|
70967
|
+
message: ur.toString(r)
|
|
70953
70968
|
});
|
|
70954
70969
|
}
|
|
70955
70970
|
finite(e) {
|
|
70956
70971
|
return this._addCheck({
|
|
70957
70972
|
kind: "finite",
|
|
70958
|
-
message:
|
|
70973
|
+
message: ur.toString(e)
|
|
70959
70974
|
});
|
|
70960
70975
|
}
|
|
70961
70976
|
safe(e) {
|
|
@@ -70963,12 +70978,12 @@ class Qa extends qr {
|
|
|
70963
70978
|
kind: "min",
|
|
70964
70979
|
inclusive: !0,
|
|
70965
70980
|
value: Number.MIN_SAFE_INTEGER,
|
|
70966
|
-
message:
|
|
70981
|
+
message: ur.toString(e)
|
|
70967
70982
|
})._addCheck({
|
|
70968
70983
|
kind: "max",
|
|
70969
70984
|
inclusive: !0,
|
|
70970
70985
|
value: Number.MAX_SAFE_INTEGER,
|
|
70971
|
-
message:
|
|
70986
|
+
message: ur.toString(e)
|
|
70972
70987
|
});
|
|
70973
70988
|
}
|
|
70974
70989
|
get minValue() {
|
|
@@ -71046,16 +71061,16 @@ class el extends qr {
|
|
|
71046
71061
|
}), gr;
|
|
71047
71062
|
}
|
|
71048
71063
|
gte(e, r) {
|
|
71049
|
-
return this.setLimit("min", e, !0,
|
|
71064
|
+
return this.setLimit("min", e, !0, ur.toString(r));
|
|
71050
71065
|
}
|
|
71051
71066
|
gt(e, r) {
|
|
71052
|
-
return this.setLimit("min", e, !1,
|
|
71067
|
+
return this.setLimit("min", e, !1, ur.toString(r));
|
|
71053
71068
|
}
|
|
71054
71069
|
lte(e, r) {
|
|
71055
|
-
return this.setLimit("max", e, !0,
|
|
71070
|
+
return this.setLimit("max", e, !0, ur.toString(r));
|
|
71056
71071
|
}
|
|
71057
71072
|
lt(e, r) {
|
|
71058
|
-
return this.setLimit("max", e, !1,
|
|
71073
|
+
return this.setLimit("max", e, !1, ur.toString(r));
|
|
71059
71074
|
}
|
|
71060
71075
|
setLimit(e, r, n, i) {
|
|
71061
71076
|
return new el({
|
|
@@ -71066,7 +71081,7 @@ class el extends qr {
|
|
|
71066
71081
|
kind: e,
|
|
71067
71082
|
value: r,
|
|
71068
71083
|
inclusive: n,
|
|
71069
|
-
message:
|
|
71084
|
+
message: ur.toString(i)
|
|
71070
71085
|
}
|
|
71071
71086
|
]
|
|
71072
71087
|
});
|
|
@@ -71082,7 +71097,7 @@ class el extends qr {
|
|
|
71082
71097
|
kind: "min",
|
|
71083
71098
|
value: BigInt(0),
|
|
71084
71099
|
inclusive: !1,
|
|
71085
|
-
message:
|
|
71100
|
+
message: ur.toString(e)
|
|
71086
71101
|
});
|
|
71087
71102
|
}
|
|
71088
71103
|
negative(e) {
|
|
@@ -71090,7 +71105,7 @@ class el extends qr {
|
|
|
71090
71105
|
kind: "max",
|
|
71091
71106
|
value: BigInt(0),
|
|
71092
71107
|
inclusive: !1,
|
|
71093
|
-
message:
|
|
71108
|
+
message: ur.toString(e)
|
|
71094
71109
|
});
|
|
71095
71110
|
}
|
|
71096
71111
|
nonpositive(e) {
|
|
@@ -71098,7 +71113,7 @@ class el extends qr {
|
|
|
71098
71113
|
kind: "max",
|
|
71099
71114
|
value: BigInt(0),
|
|
71100
71115
|
inclusive: !0,
|
|
71101
|
-
message:
|
|
71116
|
+
message: ur.toString(e)
|
|
71102
71117
|
});
|
|
71103
71118
|
}
|
|
71104
71119
|
nonnegative(e) {
|
|
@@ -71106,14 +71121,14 @@ class el extends qr {
|
|
|
71106
71121
|
kind: "min",
|
|
71107
71122
|
value: BigInt(0),
|
|
71108
71123
|
inclusive: !0,
|
|
71109
|
-
message:
|
|
71124
|
+
message: ur.toString(e)
|
|
71110
71125
|
});
|
|
71111
71126
|
}
|
|
71112
71127
|
multipleOf(e, r) {
|
|
71113
71128
|
return this._addCheck({
|
|
71114
71129
|
kind: "multipleOf",
|
|
71115
71130
|
value: e,
|
|
71116
|
-
message:
|
|
71131
|
+
message: ur.toString(r)
|
|
71117
71132
|
});
|
|
71118
71133
|
}
|
|
71119
71134
|
get minValue() {
|
|
@@ -71202,14 +71217,14 @@ class Ql extends qr {
|
|
|
71202
71217
|
return this._addCheck({
|
|
71203
71218
|
kind: "min",
|
|
71204
71219
|
value: e.getTime(),
|
|
71205
|
-
message:
|
|
71220
|
+
message: ur.toString(r)
|
|
71206
71221
|
});
|
|
71207
71222
|
}
|
|
71208
71223
|
max(e, r) {
|
|
71209
71224
|
return this._addCheck({
|
|
71210
71225
|
kind: "max",
|
|
71211
71226
|
value: e.getTime(),
|
|
71212
|
-
message:
|
|
71227
|
+
message: ur.toString(r)
|
|
71213
71228
|
});
|
|
71214
71229
|
}
|
|
71215
71230
|
get minDate() {
|
|
@@ -71383,19 +71398,19 @@ class Io extends qr {
|
|
|
71383
71398
|
min(e, r) {
|
|
71384
71399
|
return new Io({
|
|
71385
71400
|
...this._def,
|
|
71386
|
-
minLength: { value: e, message:
|
|
71401
|
+
minLength: { value: e, message: ur.toString(r) }
|
|
71387
71402
|
});
|
|
71388
71403
|
}
|
|
71389
71404
|
max(e, r) {
|
|
71390
71405
|
return new Io({
|
|
71391
71406
|
...this._def,
|
|
71392
|
-
maxLength: { value: e, message:
|
|
71407
|
+
maxLength: { value: e, message: ur.toString(r) }
|
|
71393
71408
|
});
|
|
71394
71409
|
}
|
|
71395
71410
|
length(e, r) {
|
|
71396
71411
|
return new Io({
|
|
71397
71412
|
...this._def,
|
|
71398
|
-
exactLength: { value: e, message:
|
|
71413
|
+
exactLength: { value: e, message: ur.toString(r) }
|
|
71399
71414
|
});
|
|
71400
71415
|
}
|
|
71401
71416
|
nonempty(e) {
|
|
@@ -71503,7 +71518,7 @@ class Pn extends qr {
|
|
|
71503
71518
|
return this._def.shape();
|
|
71504
71519
|
}
|
|
71505
71520
|
strict(e) {
|
|
71506
|
-
return
|
|
71521
|
+
return ur.errToObj, new Pn({
|
|
71507
71522
|
...this._def,
|
|
71508
71523
|
unknownKeys: "strict",
|
|
71509
71524
|
...e !== void 0 ? {
|
|
@@ -71511,7 +71526,7 @@ class Pn extends qr {
|
|
|
71511
71526
|
var s, o;
|
|
71512
71527
|
const i = ((o = (s = this._def).errorMap) == null ? void 0 : o.call(s, r, n).message) ?? n.defaultError;
|
|
71513
71528
|
return r.code === "unrecognized_keys" ? {
|
|
71514
|
-
message:
|
|
71529
|
+
message: ur.errToObj(e).message ?? i
|
|
71515
71530
|
} : {
|
|
71516
71531
|
message: i
|
|
71517
71532
|
};
|
|
@@ -72094,13 +72109,13 @@ class ec extends qr {
|
|
|
72094
72109
|
min(e, r) {
|
|
72095
72110
|
return new ec({
|
|
72096
72111
|
...this._def,
|
|
72097
|
-
minSize: { value: e, message:
|
|
72112
|
+
minSize: { value: e, message: ur.toString(r) }
|
|
72098
72113
|
});
|
|
72099
72114
|
}
|
|
72100
72115
|
max(e, r) {
|
|
72101
72116
|
return new ec({
|
|
72102
72117
|
...this._def,
|
|
72103
|
-
maxSize: { value: e, message:
|
|
72118
|
+
maxSize: { value: e, message: ur.toString(r) }
|
|
72104
72119
|
});
|
|
72105
72120
|
}
|
|
72106
72121
|
size(e, r) {
|
|
@@ -78448,7 +78463,7 @@ let ws = class extends pr {
|
|
|
78448
78463
|
const [e, r, n] = await Promise.all([
|
|
78449
78464
|
import("./marked.esm-Dch69AxC.js"),
|
|
78450
78465
|
import("./purify.es-C-6FFqDW.js"),
|
|
78451
|
-
import("./highlight-languages-
|
|
78466
|
+
import("./highlight-languages-D5wLkdCY.js")
|
|
78452
78467
|
]);
|
|
78453
78468
|
return {
|
|
78454
78469
|
marked: e.marked,
|
|
@@ -81793,7 +81808,7 @@ let ul = class extends pr {
|
|
|
81793
81808
|
const [e, r, n] = await Promise.all([
|
|
81794
81809
|
import("./marked.esm-Dch69AxC.js"),
|
|
81795
81810
|
import("./purify.es-C-6FFqDW.js"),
|
|
81796
|
-
import("./highlight-languages-
|
|
81811
|
+
import("./highlight-languages-D5wLkdCY.js")
|
|
81797
81812
|
]);
|
|
81798
81813
|
return {
|
|
81799
81814
|
marked: e.marked,
|
|
@@ -92565,7 +92580,7 @@ function DW(t) {
|
|
|
92565
92580
|
}
|
|
92566
92581
|
let Db = null, Mb = null, Bb = null;
|
|
92567
92582
|
async function MW() {
|
|
92568
|
-
return Db || (Db = (await import("./marked.esm-Dch69AxC.js")).marked), Mb || (Mb = (await import("./purify.es-C-6FFqDW.js")).default), Bb || (Bb = (await import("./highlight-languages-
|
|
92583
|
+
return Db || (Db = (await import("./marked.esm-Dch69AxC.js")).marked), Mb || (Mb = (await import("./purify.es-C-6FFqDW.js")).default), Bb || (Bb = (await import("./highlight-languages-D5wLkdCY.js")).default), { marked: Db, DOMPurify: Mb, hljs: Bb };
|
|
92569
92584
|
}
|
|
92570
92585
|
function BW(t, e) {
|
|
92571
92586
|
return t.replace(
|