strapi-plugin-comments 3.1.3 → 3.2.0

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.
Files changed (43) hide show
  1. package/dist/_chunks/{en-Cbt6CXo1.mjs → en-Y06L5Ws_.mjs} +4 -2
  2. package/dist/_chunks/en-nurIIakL.js +1 -0
  3. package/dist/_chunks/{fr-CztE_B7U.mjs → fr-Cv2agoba.mjs} +3 -1
  4. package/dist/_chunks/{fr-C4_v32Lz.js → fr-JAoXWyAN.js} +1 -1
  5. package/dist/_chunks/index-5LPolIUr.js +1 -0
  6. package/dist/_chunks/index-BHaPiDDi.js +5 -0
  7. package/dist/_chunks/{index-Cd0Ba7aa.mjs → index-Bu69cWq9.mjs} +119 -120
  8. package/dist/_chunks/index-CaQhYHpU.js +44 -0
  9. package/dist/_chunks/index-D1CAoT0G.mjs +5704 -0
  10. package/dist/_chunks/index-DCg7dWuW.mjs +119 -0
  11. package/dist/_chunks/{index-DLzwPdb9.js → index-DV3FvCxv.js} +44 -44
  12. package/dist/_chunks/{index-DNqB_KDi.mjs → index-rxGUTZN1.mjs} +7100 -7039
  13. package/dist/_chunks/{pl-D2JXVqZi.js → pl-DUaDM2d3.js} +1 -1
  14. package/dist/_chunks/{pl-DBv6tBP6.mjs → pl-a5516Yys.mjs} +3 -1
  15. package/dist/_chunks/{pt-BR-CCBBpLDV.js → pt-BR-BXuFBSgm.js} +1 -1
  16. package/dist/_chunks/{pt-BR-VqNYQ17j.mjs → pt-BR-DwEywOda.mjs} +3 -1
  17. package/dist/_chunks/{ru-DHi8VpMQ.mjs → ru-72L1_BWN.mjs} +3 -1
  18. package/dist/_chunks/{ru-DUiPYaBn.js → ru-B7jFc-n7.js} +1 -1
  19. package/dist/_chunks/{tr-D_0EQ9aV.js → tr-B2Tw9kcB.js} +1 -1
  20. package/dist/_chunks/{tr-ZRzw4I-8.mjs → tr-Ca93Ai2h.mjs} +3 -1
  21. package/dist/_chunks/{zh-Hans-D1xXhhCe.js → zh-Hans-Cp3JcN8q.js} +1 -1
  22. package/dist/_chunks/{zh-Hans-Bz2wrwoC.mjs → zh-Hans-DXLzMysj.mjs} +3 -1
  23. package/dist/admin/index.js +1 -1
  24. package/dist/admin/index.mjs +4 -2
  25. package/dist/admin/src/components/SortableTh/index.d.ts +3 -2
  26. package/dist/admin/src/components/StatusBadge/index.d.ts +5 -1
  27. package/dist/admin/src/pages/Discover/index.d.ts +1 -5
  28. package/dist/admin/src/translations/en.d.ts +2 -0
  29. package/dist/admin/src/translations/fr.d.ts +2 -0
  30. package/dist/admin/src/translations/pl.d.ts +2 -0
  31. package/dist/admin/src/translations/pt-BR.d.ts +2 -0
  32. package/dist/admin/src/translations/ru.d.ts +2 -0
  33. package/dist/admin/src/translations/tr.d.ts +2 -0
  34. package/dist/admin/src/translations/zh-Hans.d.ts +2 -0
  35. package/dist/server/index.js +65 -59
  36. package/dist/server/index.mjs +1822 -1750
  37. package/package.json +9 -7
  38. package/dist/_chunks/en-DalOPLjA.js +0 -1
  39. package/dist/_chunks/index-BL18_3Ha.js +0 -2228
  40. package/dist/_chunks/index-BUf3iTvC.mjs +0 -38818
  41. package/dist/_chunks/index-BmKmka7n.js +0 -18
  42. package/dist/_chunks/index-CN6R_-01.js +0 -1
  43. package/dist/_chunks/index-EseY88Mr.mjs +0 -2010
@@ -1,2010 +0,0 @@
1
- import { ad as Kt, ae as Qt, af as Pr, ag as rt, p as Jt, ah as Xt, ai as Or, l as $r, aj as Zt, ak as ee, al as V, F as en, am as rn, T as tn, e as wr } from "./index-BUf3iTvC.mjs";
2
- import * as oe from "react";
3
- import { useState as rr, useEffect as nn, useMemo as tt, createContext as an } from "react";
4
- import { jsx as C, jsxs as Ee } from "react/jsx-runtime";
5
- import { useQuery as on, QueryClientProvider as ln, QueryClient as un } from "@tanstack/react-query";
6
- import { getFetchClient as cn, useRBAC as fn } from "@strapi/strapi/admin";
7
- import { z as o } from "zod";
8
- const sn = () => {
9
- const r = () => window.matchMedia("(prefers-color-scheme: dark)").matches, [e, t] = rr();
10
- return nn(() => {
11
- const a = r() ? "dark" : "light", i = window.localStorage?.STRAPI_THEME;
12
- t(i === "system" ? a : i);
13
- }, []), {
14
- theme: e === "dark" ? Kt : Qt,
15
- themeName: e
16
- };
17
- };
18
- var tr = { exports: {} }, S = {};
19
- /** @license React v16.13.1
20
- * react-is.production.min.js
21
- *
22
- * Copyright (c) Facebook, Inc. and its affiliates.
23
- *
24
- * This source code is licensed under the MIT license found in the
25
- * LICENSE file in the root directory of this source tree.
26
- */
27
- var Rr;
28
- function pn() {
29
- if (Rr) return S;
30
- Rr = 1;
31
- var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, a = r ? Symbol.for("react.strict_mode") : 60108, i = r ? Symbol.for("react.profiler") : 60114, u = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, c = r ? Symbol.for("react.async_mode") : 60111, f = r ? Symbol.for("react.concurrent_mode") : 60111, y = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, m = r ? Symbol.for("react.suspense_list") : 60120, h = r ? Symbol.for("react.memo") : 60115, v = r ? Symbol.for("react.lazy") : 60116, $ = r ? Symbol.for("react.block") : 60121, _ = r ? Symbol.for("react.fundamental") : 60117, b = r ? Symbol.for("react.responder") : 60118, x = r ? Symbol.for("react.scope") : 60119;
32
- function P(s) {
33
- if (typeof s == "object" && s !== null) {
34
- var F = s.$$typeof;
35
- switch (F) {
36
- case e:
37
- switch (s = s.type, s) {
38
- case c:
39
- case f:
40
- case n:
41
- case i:
42
- case a:
43
- case d:
44
- return s;
45
- default:
46
- switch (s = s && s.$$typeof, s) {
47
- case l:
48
- case y:
49
- case v:
50
- case h:
51
- case u:
52
- return s;
53
- default:
54
- return F;
55
- }
56
- }
57
- case t:
58
- return F;
59
- }
60
- }
61
- }
62
- function O(s) {
63
- return P(s) === f;
64
- }
65
- return S.AsyncMode = c, S.ConcurrentMode = f, S.ContextConsumer = l, S.ContextProvider = u, S.Element = e, S.ForwardRef = y, S.Fragment = n, S.Lazy = v, S.Memo = h, S.Portal = t, S.Profiler = i, S.StrictMode = a, S.Suspense = d, S.isAsyncMode = function(s) {
66
- return O(s) || P(s) === c;
67
- }, S.isConcurrentMode = O, S.isContextConsumer = function(s) {
68
- return P(s) === l;
69
- }, S.isContextProvider = function(s) {
70
- return P(s) === u;
71
- }, S.isElement = function(s) {
72
- return typeof s == "object" && s !== null && s.$$typeof === e;
73
- }, S.isForwardRef = function(s) {
74
- return P(s) === y;
75
- }, S.isFragment = function(s) {
76
- return P(s) === n;
77
- }, S.isLazy = function(s) {
78
- return P(s) === v;
79
- }, S.isMemo = function(s) {
80
- return P(s) === h;
81
- }, S.isPortal = function(s) {
82
- return P(s) === t;
83
- }, S.isProfiler = function(s) {
84
- return P(s) === i;
85
- }, S.isStrictMode = function(s) {
86
- return P(s) === a;
87
- }, S.isSuspense = function(s) {
88
- return P(s) === d;
89
- }, S.isValidElementType = function(s) {
90
- return typeof s == "string" || typeof s == "function" || s === n || s === f || s === i || s === a || s === d || s === m || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === h || s.$$typeof === u || s.$$typeof === l || s.$$typeof === y || s.$$typeof === _ || s.$$typeof === b || s.$$typeof === x || s.$$typeof === $);
91
- }, S.typeOf = P, S;
92
- }
93
- var E = {};
94
- /** @license React v16.13.1
95
- * react-is.development.js
96
- *
97
- * Copyright (c) Facebook, Inc. and its affiliates.
98
- *
99
- * This source code is licensed under the MIT license found in the
100
- * LICENSE file in the root directory of this source tree.
101
- */
102
- var Tr;
103
- function yn() {
104
- return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && function() {
105
- var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, a = r ? Symbol.for("react.strict_mode") : 60108, i = r ? Symbol.for("react.profiler") : 60114, u = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, c = r ? Symbol.for("react.async_mode") : 60111, f = r ? Symbol.for("react.concurrent_mode") : 60111, y = r ? Symbol.for("react.forward_ref") : 60112, d = r ? Symbol.for("react.suspense") : 60113, m = r ? Symbol.for("react.suspense_list") : 60120, h = r ? Symbol.for("react.memo") : 60115, v = r ? Symbol.for("react.lazy") : 60116, $ = r ? Symbol.for("react.block") : 60121, _ = r ? Symbol.for("react.fundamental") : 60117, b = r ? Symbol.for("react.responder") : 60118, x = r ? Symbol.for("react.scope") : 60119;
106
- function P(p) {
107
- return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
108
- p === n || p === f || p === i || p === a || p === d || p === m || typeof p == "object" && p !== null && (p.$$typeof === v || p.$$typeof === h || p.$$typeof === u || p.$$typeof === l || p.$$typeof === y || p.$$typeof === _ || p.$$typeof === b || p.$$typeof === x || p.$$typeof === $);
109
- }
110
- function O(p) {
111
- if (typeof p == "object" && p !== null) {
112
- var De = p.$$typeof;
113
- switch (De) {
114
- case e:
115
- var Se = p.type;
116
- switch (Se) {
117
- case c:
118
- case f:
119
- case n:
120
- case i:
121
- case a:
122
- case d:
123
- return Se;
124
- default:
125
- var Ar = Se && Se.$$typeof;
126
- switch (Ar) {
127
- case l:
128
- case y:
129
- case v:
130
- case h:
131
- case u:
132
- return Ar;
133
- default:
134
- return De;
135
- }
136
- }
137
- case t:
138
- return De;
139
- }
140
- }
141
- }
142
- var s = c, F = f, B = l, M = u, W = e, q = y, K = n, I = v, N = h, G = t, Z = i, j = a, Dt = d, Sr = !1;
143
- function Lt(p) {
144
- return Sr || (Sr = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Er(p) || O(p) === c;
145
- }
146
- function Er(p) {
147
- return O(p) === f;
148
- }
149
- function Bt(p) {
150
- return O(p) === l;
151
- }
152
- function Ut(p) {
153
- return O(p) === u;
154
- }
155
- function kt(p) {
156
- return typeof p == "object" && p !== null && p.$$typeof === e;
157
- }
158
- function Wt(p) {
159
- return O(p) === y;
160
- }
161
- function qt(p) {
162
- return O(p) === n;
163
- }
164
- function Gt(p) {
165
- return O(p) === v;
166
- }
167
- function jt(p) {
168
- return O(p) === h;
169
- }
170
- function Vt(p) {
171
- return O(p) === t;
172
- }
173
- function zt(p) {
174
- return O(p) === i;
175
- }
176
- function Ht(p) {
177
- return O(p) === a;
178
- }
179
- function Yt(p) {
180
- return O(p) === d;
181
- }
182
- E.AsyncMode = s, E.ConcurrentMode = F, E.ContextConsumer = B, E.ContextProvider = M, E.Element = W, E.ForwardRef = q, E.Fragment = K, E.Lazy = I, E.Memo = N, E.Portal = G, E.Profiler = Z, E.StrictMode = j, E.Suspense = Dt, E.isAsyncMode = Lt, E.isConcurrentMode = Er, E.isContextConsumer = Bt, E.isContextProvider = Ut, E.isElement = kt, E.isForwardRef = Wt, E.isFragment = qt, E.isLazy = Gt, E.isMemo = jt, E.isPortal = Vt, E.isProfiler = zt, E.isStrictMode = Ht, E.isSuspense = Yt, E.isValidElementType = P, E.typeOf = O;
183
- }()), E;
184
- }
185
- process.env.NODE_ENV === "production" ? tr.exports = pn() : tr.exports = yn();
186
- var dn = tr.exports, nt = dn, mn = {
187
- $$typeof: !0,
188
- render: !0,
189
- defaultProps: !0,
190
- displayName: !0,
191
- propTypes: !0
192
- }, vn = {
193
- $$typeof: !0,
194
- compare: !0,
195
- defaultProps: !0,
196
- displayName: !0,
197
- propTypes: !0,
198
- type: !0
199
- }, at = {};
200
- at[nt.ForwardRef] = mn;
201
- at[nt.Memo] = vn;
202
- function gn(r, e, t) {
203
- if (t === void 0 && (t = Error), !r)
204
- throw new t(e);
205
- }
206
- var hn = function(r) {
207
- process.env.NODE_ENV !== "production" && console.error(r);
208
- }, bn = function(r) {
209
- process.env.NODE_ENV !== "production" && console.warn(r);
210
- }, Sn = {
211
- formats: {},
212
- messages: {},
213
- timeZone: void 0,
214
- defaultLocale: "en",
215
- defaultFormats: {},
216
- fallbackOnEmptyString: !0,
217
- onError: hn,
218
- onWarn: bn
219
- };
220
- function En(r) {
221
- gn(r, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
222
- }
223
- Pr(Pr({}, Sn), { textComponent: oe.Fragment });
224
- var pr = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = oe.createContext(null)) : oe.createContext(null);
225
- pr.Consumer;
226
- pr.Provider;
227
- var An = pr;
228
- function yr() {
229
- var r = oe.useContext(An);
230
- return En(r), r;
231
- }
232
- var nr;
233
- (function(r) {
234
- r.formatDate = "FormattedDate", r.formatTime = "FormattedTime", r.formatNumber = "FormattedNumber", r.formatList = "FormattedList", r.formatDisplayName = "FormattedDisplayName";
235
- })(nr || (nr = {}));
236
- var ar;
237
- (function(r) {
238
- r.formatDate = "FormattedDateParts", r.formatTime = "FormattedTimeParts", r.formatNumber = "FormattedNumberParts", r.formatList = "FormattedListParts";
239
- })(ar || (ar = {}));
240
- function ot(r) {
241
- var e = function(t) {
242
- var n = yr(), a = t.value, i = t.children, u = rt(t, ["value", "children"]), l = typeof a == "string" ? new Date(a || 0) : a, c = r === "formatDate" ? n.formatDateToParts(l, u) : n.formatTimeToParts(l, u);
243
- return i(c);
244
- };
245
- return e.displayName = ar[r], e;
246
- }
247
- function ve(r) {
248
- var e = function(t) {
249
- var n = yr(), a = t.value, i = t.children, u = rt(
250
- t,
251
- ["value", "children"]
252
- ), l = n[r](a, u);
253
- if (typeof i == "function")
254
- return i(l);
255
- var c = n.textComponent || oe.Fragment;
256
- return oe.createElement(c, null, l);
257
- };
258
- return e.displayName = nr[r], e;
259
- }
260
- ve("formatDate");
261
- ve("formatTime");
262
- ve("formatNumber");
263
- ve("formatList");
264
- ve("formatDisplayName");
265
- ot("formatDate");
266
- ot("formatTime");
267
- const Hi = (r, e = "", t = !0) => {
268
- const { formatMessage: n } = yr();
269
- let a = "";
270
- return typeof r == "string" ? a = r : a = r?.id.toString() || a, n(
271
- {
272
- id: `${t ? Jt : "app.components"}.${a}`,
273
- defaultMessage: e
274
- },
275
- typeof r == "string" ? void 0 : r?.props
276
- );
277
- }, it = {
278
- PENDING: "PENDING",
279
- APPROVED: "APPROVED",
280
- REJECTED: "REJECTED"
281
- }, Yi = {
282
- ...it,
283
- BLOCKED: "BLOCKED",
284
- OPEN: "OPEN",
285
- RESOLVED: "RESOLVED"
286
- };
287
- var Pn = /* @__PURE__ */ ((r) => (r.BAD_LANGUAGE = "BAD_LANGUAGE", r.DISCRIMINATION = "DISCRIMINATION", r.OTHER = "OTHER", r))(Pn || {});
288
- const z = {
289
- ...it,
290
- BLOCKED: "BLOCKED",
291
- OPEN: "OPEN",
292
- REMOVED: "REMOVED",
293
- TO_REVIEW: "TO_REVIEW",
294
- UNKNOWN: "UNKNOWN"
295
- };
296
- var ce = TypeError;
297
- const On = {}, $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
298
- __proto__: null,
299
- default: On
300
- }, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ Xt($n);
301
- var dr = typeof Map == "function" && Map.prototype, Le = Object.getOwnPropertyDescriptor && dr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = dr && Le && typeof Le.get == "function" ? Le.get : null, Cr = dr && Map.prototype.forEach, mr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Te = mr && Be && typeof Be.get == "function" ? Be.get : null, _r = mr && Set.prototype.forEach, Rn = typeof WeakMap == "function" && WeakMap.prototype, se = Rn ? WeakMap.prototype.has : null, Tn = typeof WeakSet == "function" && WeakSet.prototype, pe = Tn ? WeakSet.prototype.has : null, Cn = typeof WeakRef == "function" && WeakRef.prototype, xr = Cn ? WeakRef.prototype.deref : null, _n = Boolean.prototype.valueOf, xn = Object.prototype.toString, In = Function.prototype.toString, Nn = String.prototype.match, vr = String.prototype.slice, H = String.prototype.replace, Fn = String.prototype.toUpperCase, Ir = String.prototype.toLowerCase, lt = RegExp.prototype.test, Nr = Array.prototype.concat, L = Array.prototype.join, Mn = Array.prototype.slice, Fr = Math.floor, or = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ue = Object.getOwnPropertySymbols, ir = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ie = typeof Symbol == "function" && typeof Symbol.iterator == "object", ye = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ie || !0) ? Symbol.toStringTag : null, ut = Object.prototype.propertyIsEnumerable, Mr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
302
- return r.__proto__;
303
- } : null);
304
- function Dr(r, e) {
305
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || lt.call(/e/, e))
306
- return e;
307
- var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
308
- if (typeof r == "number") {
309
- var n = r < 0 ? -Fr(-r) : Fr(r);
310
- if (n !== r) {
311
- var a = String(n), i = vr.call(e, a.length + 1);
312
- return H.call(a, t, "$&_") + "." + H.call(H.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
313
- }
314
- }
315
- return H.call(e, t, "$&_");
316
- }
317
- var lr = wn, Lr = lr.custom, Br = st(Lr) ? Lr : null, ct = {
318
- __proto__: null,
319
- double: '"',
320
- single: "'"
321
- }, Dn = {
322
- __proto__: null,
323
- double: /(["\\])/g,
324
- single: /(['\\])/g
325
- }, Ie = function r(e, t, n, a) {
326
- var i = t || {};
327
- if (U(i, "quoteStyle") && !U(ct, i.quoteStyle))
328
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
329
- if (U(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
330
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
331
- var u = U(i, "customInspect") ? i.customInspect : !0;
332
- if (typeof u != "boolean" && u !== "symbol")
333
- throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
334
- if (U(i, "indent") && i.indent !== null && i.indent !== " " && !(parseInt(i.indent, 10) === i.indent && i.indent > 0))
335
- throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
336
- if (U(i, "numericSeparator") && typeof i.numericSeparator != "boolean")
337
- throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
338
- var l = i.numericSeparator;
339
- if (typeof e > "u")
340
- return "undefined";
341
- if (e === null)
342
- return "null";
343
- if (typeof e == "boolean")
344
- return e ? "true" : "false";
345
- if (typeof e == "string")
346
- return yt(e, i);
347
- if (typeof e == "number") {
348
- if (e === 0)
349
- return 1 / 0 / e > 0 ? "0" : "-0";
350
- var c = String(e);
351
- return l ? Dr(e, c) : c;
352
- }
353
- if (typeof e == "bigint") {
354
- var f = String(e) + "n";
355
- return l ? Dr(e, f) : f;
356
- }
357
- var y = typeof i.depth > "u" ? 5 : i.depth;
358
- if (typeof n > "u" && (n = 0), n >= y && y > 0 && typeof e == "object")
359
- return ur(e) ? "[Array]" : "[Object]";
360
- var d = ea(i, n);
361
- if (typeof a > "u")
362
- a = [];
363
- else if (pt(a, e) >= 0)
364
- return "[Circular]";
365
- function m(N, G, Z) {
366
- if (G && (a = Mn.call(a), a.push(G)), Z) {
367
- var j = {
368
- depth: i.depth
369
- };
370
- return U(i, "quoteStyle") && (j.quoteStyle = i.quoteStyle), r(N, j, n + 1, a);
371
- }
372
- return r(N, i, n + 1, a);
373
- }
374
- if (typeof e == "function" && !Ur(e)) {
375
- var h = Vn(e), v = Ae(e, m);
376
- return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + L.call(v, ", ") + " }" : "");
377
- }
378
- if (st(e)) {
379
- var $ = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ir.call(e);
380
- return typeof e == "object" && !ie ? fe($) : $;
381
- }
382
- if (Jn(e)) {
383
- for (var _ = "<" + Ir.call(String(e.nodeName)), b = e.attributes || [], x = 0; x < b.length; x++)
384
- _ += " " + b[x].name + "=" + ft(Ln(b[x].value), "double", i);
385
- return _ += ">", e.childNodes && e.childNodes.length && (_ += "..."), _ += "</" + Ir.call(String(e.nodeName)) + ">", _;
386
- }
387
- if (ur(e)) {
388
- if (e.length === 0)
389
- return "[]";
390
- var P = Ae(e, m);
391
- return d && !Zn(P) ? "[" + cr(P, d) + "]" : "[ " + L.call(P, ", ") + " ]";
392
- }
393
- if (Un(e)) {
394
- var O = Ae(e, m);
395
- return !("cause" in Error.prototype) && "cause" in e && !ut.call(e, "cause") ? "{ [" + String(e) + "] " + L.call(Nr.call("[cause]: " + m(e.cause), O), ", ") + " }" : O.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + L.call(O, ", ") + " }";
396
- }
397
- if (typeof e == "object" && u) {
398
- if (Br && typeof e[Br] == "function" && lr)
399
- return lr(e, { depth: y - n });
400
- if (u !== "symbol" && typeof e.inspect == "function")
401
- return e.inspect();
402
- }
403
- if (zn(e)) {
404
- var s = [];
405
- return Cr && Cr.call(e, function(N, G) {
406
- s.push(m(G, e, !0) + " => " + m(N, e));
407
- }), kr("Map", Re.call(e), s, d);
408
- }
409
- if (Kn(e)) {
410
- var F = [];
411
- return _r && _r.call(e, function(N) {
412
- F.push(m(N, e));
413
- }), kr("Set", Te.call(e), F, d);
414
- }
415
- if (Hn(e))
416
- return ke("WeakMap");
417
- if (Qn(e))
418
- return ke("WeakSet");
419
- if (Yn(e))
420
- return ke("WeakRef");
421
- if (Wn(e))
422
- return fe(m(Number(e)));
423
- if (Gn(e))
424
- return fe(m(or.call(e)));
425
- if (qn(e))
426
- return fe(_n.call(e));
427
- if (kn(e))
428
- return fe(m(String(e)));
429
- if (typeof window < "u" && e === window)
430
- return "{ [object Window] }";
431
- if (typeof globalThis < "u" && e === globalThis || typeof Or < "u" && e === Or)
432
- return "{ [object globalThis] }";
433
- if (!Bn(e) && !Ur(e)) {
434
- var B = Ae(e, m), M = Mr ? Mr(e) === Object.prototype : e instanceof Object || e.constructor === Object, W = e instanceof Object ? "" : "null prototype", q = !M && ye && Object(e) === e && ye in e ? vr.call(Y(e), 8, -1) : W ? "Object" : "", K = M || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", I = K + (q || W ? "[" + L.call(Nr.call([], q || [], W || []), ": ") + "] " : "");
435
- return B.length === 0 ? I + "{}" : d ? I + "{" + cr(B, d) + "}" : I + "{ " + L.call(B, ", ") + " }";
436
- }
437
- return String(e);
438
- };
439
- function ft(r, e, t) {
440
- var n = t.quoteStyle || e, a = ct[n];
441
- return a + r + a;
442
- }
443
- function Ln(r) {
444
- return H.call(String(r), /"/g, "&quot;");
445
- }
446
- function X(r) {
447
- return !ye || !(typeof r == "object" && (ye in r || typeof r[ye] < "u"));
448
- }
449
- function ur(r) {
450
- return Y(r) === "[object Array]" && X(r);
451
- }
452
- function Bn(r) {
453
- return Y(r) === "[object Date]" && X(r);
454
- }
455
- function Ur(r) {
456
- return Y(r) === "[object RegExp]" && X(r);
457
- }
458
- function Un(r) {
459
- return Y(r) === "[object Error]" && X(r);
460
- }
461
- function kn(r) {
462
- return Y(r) === "[object String]" && X(r);
463
- }
464
- function Wn(r) {
465
- return Y(r) === "[object Number]" && X(r);
466
- }
467
- function qn(r) {
468
- return Y(r) === "[object Boolean]" && X(r);
469
- }
470
- function st(r) {
471
- if (ie)
472
- return r && typeof r == "object" && r instanceof Symbol;
473
- if (typeof r == "symbol")
474
- return !0;
475
- if (!r || typeof r != "object" || !ir)
476
- return !1;
477
- try {
478
- return ir.call(r), !0;
479
- } catch {
480
- }
481
- return !1;
482
- }
483
- function Gn(r) {
484
- if (!r || typeof r != "object" || !or)
485
- return !1;
486
- try {
487
- return or.call(r), !0;
488
- } catch {
489
- }
490
- return !1;
491
- }
492
- var jn = Object.prototype.hasOwnProperty || function(r) {
493
- return r in this;
494
- };
495
- function U(r, e) {
496
- return jn.call(r, e);
497
- }
498
- function Y(r) {
499
- return xn.call(r);
500
- }
501
- function Vn(r) {
502
- if (r.name)
503
- return r.name;
504
- var e = Nn.call(In.call(r), /^function\s*([\w$]+)/);
505
- return e ? e[1] : null;
506
- }
507
- function pt(r, e) {
508
- if (r.indexOf)
509
- return r.indexOf(e);
510
- for (var t = 0, n = r.length; t < n; t++)
511
- if (r[t] === e)
512
- return t;
513
- return -1;
514
- }
515
- function zn(r) {
516
- if (!Re || !r || typeof r != "object")
517
- return !1;
518
- try {
519
- Re.call(r);
520
- try {
521
- Te.call(r);
522
- } catch {
523
- return !0;
524
- }
525
- return r instanceof Map;
526
- } catch {
527
- }
528
- return !1;
529
- }
530
- function Hn(r) {
531
- if (!se || !r || typeof r != "object")
532
- return !1;
533
- try {
534
- se.call(r, se);
535
- try {
536
- pe.call(r, pe);
537
- } catch {
538
- return !0;
539
- }
540
- return r instanceof WeakMap;
541
- } catch {
542
- }
543
- return !1;
544
- }
545
- function Yn(r) {
546
- if (!xr || !r || typeof r != "object")
547
- return !1;
548
- try {
549
- return xr.call(r), !0;
550
- } catch {
551
- }
552
- return !1;
553
- }
554
- function Kn(r) {
555
- if (!Te || !r || typeof r != "object")
556
- return !1;
557
- try {
558
- Te.call(r);
559
- try {
560
- Re.call(r);
561
- } catch {
562
- return !0;
563
- }
564
- return r instanceof Set;
565
- } catch {
566
- }
567
- return !1;
568
- }
569
- function Qn(r) {
570
- if (!pe || !r || typeof r != "object")
571
- return !1;
572
- try {
573
- pe.call(r, pe);
574
- try {
575
- se.call(r, se);
576
- } catch {
577
- return !0;
578
- }
579
- return r instanceof WeakSet;
580
- } catch {
581
- }
582
- return !1;
583
- }
584
- function Jn(r) {
585
- return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
586
- }
587
- function yt(r, e) {
588
- if (r.length > e.maxStringLength) {
589
- var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
590
- return yt(vr.call(r, 0, e.maxStringLength), e) + n;
591
- }
592
- var a = Dn[e.quoteStyle || "single"];
593
- a.lastIndex = 0;
594
- var i = H.call(H.call(r, a, "\\$1"), /[\x00-\x1f]/g, Xn);
595
- return ft(i, "single", e);
596
- }
597
- function Xn(r) {
598
- var e = r.charCodeAt(0), t = {
599
- 8: "b",
600
- 9: "t",
601
- 10: "n",
602
- 12: "f",
603
- 13: "r"
604
- }[e];
605
- return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Fn.call(e.toString(16));
606
- }
607
- function fe(r) {
608
- return "Object(" + r + ")";
609
- }
610
- function ke(r) {
611
- return r + " { ? }";
612
- }
613
- function kr(r, e, t, n) {
614
- var a = n ? cr(t, n) : L.call(t, ", ");
615
- return r + " (" + e + ") {" + a + "}";
616
- }
617
- function Zn(r) {
618
- for (var e = 0; e < r.length; e++)
619
- if (pt(r[e], `
620
- `) >= 0)
621
- return !1;
622
- return !0;
623
- }
624
- function ea(r, e) {
625
- var t;
626
- if (r.indent === " ")
627
- t = " ";
628
- else if (typeof r.indent == "number" && r.indent > 0)
629
- t = L.call(Array(r.indent + 1), " ");
630
- else
631
- return null;
632
- return {
633
- base: t,
634
- prev: L.call(Array(e + 1), t)
635
- };
636
- }
637
- function cr(r, e) {
638
- if (r.length === 0)
639
- return "";
640
- var t = `
641
- ` + e.prev + e.base;
642
- return t + L.call(r, "," + t) + `
643
- ` + e.prev;
644
- }
645
- function Ae(r, e) {
646
- var t = ur(r), n = [];
647
- if (t) {
648
- n.length = r.length;
649
- for (var a = 0; a < r.length; a++)
650
- n[a] = U(r, a) ? e(r[a], r) : "";
651
- }
652
- var i = typeof Ue == "function" ? Ue(r) : [], u;
653
- if (ie) {
654
- u = {};
655
- for (var l = 0; l < i.length; l++)
656
- u["$" + i[l]] = i[l];
657
- }
658
- for (var c in r)
659
- U(r, c) && (t && String(Number(c)) === c && c < r.length || ie && u["$" + c] instanceof Symbol || (lt.call(/[^\w$]/, c) ? n.push(e(c, r) + ": " + e(r[c], r)) : n.push(c + ": " + e(r[c], r))));
660
- if (typeof Ue == "function")
661
- for (var f = 0; f < i.length; f++)
662
- ut.call(r, i[f]) && n.push("[" + e(i[f]) + "]: " + e(r[i[f]], r));
663
- return n;
664
- }
665
- var ra = Ie, ta = ce, Ne = function(r, e, t) {
666
- for (var n = r, a; (a = n.next) != null; n = a)
667
- if (a.key === e)
668
- return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
669
- r.next, r.next = a), a;
670
- }, na = function(r, e) {
671
- if (r) {
672
- var t = Ne(r, e);
673
- return t && t.value;
674
- }
675
- }, aa = function(r, e, t) {
676
- var n = Ne(r, e);
677
- n ? n.value = t : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
678
- {
679
- // eslint-disable-line no-param-reassign, no-extra-parens
680
- key: e,
681
- next: r.next,
682
- value: t
683
- };
684
- }, oa = function(r, e) {
685
- return r ? !!Ne(r, e) : !1;
686
- }, ia = function(r, e) {
687
- if (r)
688
- return Ne(r, e, !0);
689
- }, la = function() {
690
- var e, t = {
691
- assert: function(n) {
692
- if (!t.has(n))
693
- throw new ta("Side channel does not contain " + ra(n));
694
- },
695
- delete: function(n) {
696
- var a = e && e.next, i = ia(e, n);
697
- return i && a && a === i && (e = void 0), !!i;
698
- },
699
- get: function(n) {
700
- return na(e, n);
701
- },
702
- has: function(n) {
703
- return oa(e, n);
704
- },
705
- set: function(n, a) {
706
- e || (e = {
707
- next: void 0
708
- }), aa(
709
- /** @type {NonNullable<typeof $o>} */
710
- e,
711
- n,
712
- a
713
- );
714
- }
715
- };
716
- return t;
717
- }, dt = Object, ua = Error, ca = EvalError, fa = RangeError, sa = ReferenceError, pa = SyntaxError, ya = URIError, da = Math.abs, ma = Math.floor, va = Math.max, ga = Math.min, ha = Math.pow, ba = Math.round, Sa = Number.isNaN || function(e) {
718
- return e !== e;
719
- }, Ea = Sa, Aa = function(e) {
720
- return Ea(e) || e === 0 ? e : e < 0 ? -1 : 1;
721
- }, Pa = Object.getOwnPropertyDescriptor, Oe = Pa;
722
- if (Oe)
723
- try {
724
- Oe([], "length");
725
- } catch {
726
- Oe = null;
727
- }
728
- var mt = Oe, $e = Object.defineProperty || !1;
729
- if ($e)
730
- try {
731
- $e({}, "a", { value: 1 });
732
- } catch {
733
- $e = !1;
734
- }
735
- var Oa = $e, We, Wr;
736
- function $a() {
737
- return Wr || (Wr = 1, We = function() {
738
- if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
739
- return !1;
740
- if (typeof Symbol.iterator == "symbol")
741
- return !0;
742
- var e = {}, t = Symbol("test"), n = Object(t);
743
- if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]")
744
- return !1;
745
- var a = 42;
746
- e[t] = a;
747
- for (var i in e)
748
- return !1;
749
- if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
750
- return !1;
751
- var u = Object.getOwnPropertySymbols(e);
752
- if (u.length !== 1 || u[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t))
753
- return !1;
754
- if (typeof Object.getOwnPropertyDescriptor == "function") {
755
- var l = (
756
- /** @type {PropertyDescriptor} */
757
- Object.getOwnPropertyDescriptor(e, t)
758
- );
759
- if (l.value !== a || l.enumerable !== !0)
760
- return !1;
761
- }
762
- return !0;
763
- }), We;
764
- }
765
- var qe, qr;
766
- function wa() {
767
- if (qr) return qe;
768
- qr = 1;
769
- var r = typeof Symbol < "u" && Symbol, e = $a();
770
- return qe = function() {
771
- return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
772
- }, qe;
773
- }
774
- var Ge, Gr;
775
- function vt() {
776
- return Gr || (Gr = 1, Ge = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ge;
777
- }
778
- var je, jr;
779
- function gt() {
780
- if (jr) return je;
781
- jr = 1;
782
- var r = dt;
783
- return je = r.getPrototypeOf || null, je;
784
- }
785
- var Ra = "Function.prototype.bind called on incompatible ", Ta = Object.prototype.toString, Ca = Math.max, _a = "[object Function]", Vr = function(e, t) {
786
- for (var n = [], a = 0; a < e.length; a += 1)
787
- n[a] = e[a];
788
- for (var i = 0; i < t.length; i += 1)
789
- n[i + e.length] = t[i];
790
- return n;
791
- }, xa = function(e, t) {
792
- for (var n = [], a = t, i = 0; a < e.length; a += 1, i += 1)
793
- n[i] = e[a];
794
- return n;
795
- }, Ia = function(r, e) {
796
- for (var t = "", n = 0; n < r.length; n += 1)
797
- t += r[n], n + 1 < r.length && (t += e);
798
- return t;
799
- }, Na = function(e) {
800
- var t = this;
801
- if (typeof t != "function" || Ta.apply(t) !== _a)
802
- throw new TypeError(Ra + t);
803
- for (var n = xa(arguments, 1), a, i = function() {
804
- if (this instanceof a) {
805
- var y = t.apply(
806
- this,
807
- Vr(n, arguments)
808
- );
809
- return Object(y) === y ? y : this;
810
- }
811
- return t.apply(
812
- e,
813
- Vr(n, arguments)
814
- );
815
- }, u = Ca(0, t.length - n.length), l = [], c = 0; c < u; c++)
816
- l[c] = "$" + c;
817
- if (a = Function("binder", "return function (" + Ia(l, ",") + "){ return binder.apply(this,arguments); }")(i), t.prototype) {
818
- var f = function() {
819
- };
820
- f.prototype = t.prototype, a.prototype = new f(), f.prototype = null;
821
- }
822
- return a;
823
- }, Fa = Na, Fe = Function.prototype.bind || Fa, gr = Function.prototype.call, Ve, zr;
824
- function ht() {
825
- return zr || (zr = 1, Ve = Function.prototype.apply), Ve;
826
- }
827
- var Ma = typeof Reflect < "u" && Reflect && Reflect.apply, Da = Fe, La = ht(), Ba = gr, Ua = Ma, ka = Ua || Da.call(Ba, La), Wa = Fe, qa = ce, Ga = gr, ja = ka, bt = function(e) {
828
- if (e.length < 1 || typeof e[0] != "function")
829
- throw new qa("a function is required");
830
- return ja(Wa, Ga, e);
831
- }, ze, Hr;
832
- function Va() {
833
- if (Hr) return ze;
834
- Hr = 1;
835
- var r = bt, e = mt, t;
836
- try {
837
- t = /** @type {{ __proto__?: typeof Array.prototype }} */
838
- [].__proto__ === Array.prototype;
839
- } catch (u) {
840
- if (!u || typeof u != "object" || !("code" in u) || u.code !== "ERR_PROTO_ACCESS")
841
- throw u;
842
- }
843
- var n = !!t && e && e(
844
- Object.prototype,
845
- /** @type {keyof typeof Object.prototype} */
846
- "__proto__"
847
- ), a = Object, i = a.getPrototypeOf;
848
- return ze = n && typeof n.get == "function" ? r([n.get]) : typeof i == "function" ? (
849
- /** @type {import('./get')} */
850
- function(l) {
851
- return i(l == null ? l : a(l));
852
- }
853
- ) : !1, ze;
854
- }
855
- var He, Yr;
856
- function za() {
857
- if (Yr) return He;
858
- Yr = 1;
859
- var r = vt(), e = gt(), t = Va();
860
- return He = r ? function(a) {
861
- return r(a);
862
- } : e ? function(a) {
863
- if (!a || typeof a != "object" && typeof a != "function")
864
- throw new TypeError("getProto: not an object");
865
- return e(a);
866
- } : t ? function(a) {
867
- return t(a);
868
- } : null, He;
869
- }
870
- var Ye, Kr;
871
- function Ha() {
872
- if (Kr) return Ye;
873
- Kr = 1;
874
- var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Fe;
875
- return Ye = t.call(r, e), Ye;
876
- }
877
- var g, Ya = dt, Ka = ua, Qa = ca, Ja = fa, Xa = sa, le = pa, ae = ce, Za = ya, eo = da, ro = ma, to = va, no = ga, ao = ha, oo = ba, io = Aa, St = Function, Ke = function(r) {
878
- try {
879
- return St('"use strict"; return (' + r + ").constructor;")();
880
- } catch {
881
- }
882
- }, me = mt, lo = Oa, Qe = function() {
883
- throw new ae();
884
- }, uo = me ? function() {
885
- try {
886
- return arguments.callee, Qe;
887
- } catch {
888
- try {
889
- return me(arguments, "callee").get;
890
- } catch {
891
- return Qe;
892
- }
893
- }
894
- }() : Qe, re = wa()(), R = za(), co = gt(), fo = vt(), Et = ht(), ge = gr, ne = {}, so = typeof Uint8Array > "u" || !R ? g : R(Uint8Array), J = {
895
- __proto__: null,
896
- "%AggregateError%": typeof AggregateError > "u" ? g : AggregateError,
897
- "%Array%": Array,
898
- "%ArrayBuffer%": typeof ArrayBuffer > "u" ? g : ArrayBuffer,
899
- "%ArrayIteratorPrototype%": re && R ? R([][Symbol.iterator]()) : g,
900
- "%AsyncFromSyncIteratorPrototype%": g,
901
- "%AsyncFunction%": ne,
902
- "%AsyncGenerator%": ne,
903
- "%AsyncGeneratorFunction%": ne,
904
- "%AsyncIteratorPrototype%": ne,
905
- "%Atomics%": typeof Atomics > "u" ? g : Atomics,
906
- "%BigInt%": typeof BigInt > "u" ? g : BigInt,
907
- "%BigInt64Array%": typeof BigInt64Array > "u" ? g : BigInt64Array,
908
- "%BigUint64Array%": typeof BigUint64Array > "u" ? g : BigUint64Array,
909
- "%Boolean%": Boolean,
910
- "%DataView%": typeof DataView > "u" ? g : DataView,
911
- "%Date%": Date,
912
- "%decodeURI%": decodeURI,
913
- "%decodeURIComponent%": decodeURIComponent,
914
- "%encodeURI%": encodeURI,
915
- "%encodeURIComponent%": encodeURIComponent,
916
- "%Error%": Ka,
917
- "%eval%": eval,
918
- // eslint-disable-line no-eval
919
- "%EvalError%": Qa,
920
- "%Float16Array%": typeof Float16Array > "u" ? g : Float16Array,
921
- "%Float32Array%": typeof Float32Array > "u" ? g : Float32Array,
922
- "%Float64Array%": typeof Float64Array > "u" ? g : Float64Array,
923
- "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? g : FinalizationRegistry,
924
- "%Function%": St,
925
- "%GeneratorFunction%": ne,
926
- "%Int8Array%": typeof Int8Array > "u" ? g : Int8Array,
927
- "%Int16Array%": typeof Int16Array > "u" ? g : Int16Array,
928
- "%Int32Array%": typeof Int32Array > "u" ? g : Int32Array,
929
- "%isFinite%": isFinite,
930
- "%isNaN%": isNaN,
931
- "%IteratorPrototype%": re && R ? R(R([][Symbol.iterator]())) : g,
932
- "%JSON%": typeof JSON == "object" ? JSON : g,
933
- "%Map%": typeof Map > "u" ? g : Map,
934
- "%MapIteratorPrototype%": typeof Map > "u" || !re || !R ? g : R((/* @__PURE__ */ new Map())[Symbol.iterator]()),
935
- "%Math%": Math,
936
- "%Number%": Number,
937
- "%Object%": Ya,
938
- "%Object.getOwnPropertyDescriptor%": me,
939
- "%parseFloat%": parseFloat,
940
- "%parseInt%": parseInt,
941
- "%Promise%": typeof Promise > "u" ? g : Promise,
942
- "%Proxy%": typeof Proxy > "u" ? g : Proxy,
943
- "%RangeError%": Ja,
944
- "%ReferenceError%": Xa,
945
- "%Reflect%": typeof Reflect > "u" ? g : Reflect,
946
- "%RegExp%": RegExp,
947
- "%Set%": typeof Set > "u" ? g : Set,
948
- "%SetIteratorPrototype%": typeof Set > "u" || !re || !R ? g : R((/* @__PURE__ */ new Set())[Symbol.iterator]()),
949
- "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? g : SharedArrayBuffer,
950
- "%String%": String,
951
- "%StringIteratorPrototype%": re && R ? R(""[Symbol.iterator]()) : g,
952
- "%Symbol%": re ? Symbol : g,
953
- "%SyntaxError%": le,
954
- "%ThrowTypeError%": uo,
955
- "%TypedArray%": so,
956
- "%TypeError%": ae,
957
- "%Uint8Array%": typeof Uint8Array > "u" ? g : Uint8Array,
958
- "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? g : Uint8ClampedArray,
959
- "%Uint16Array%": typeof Uint16Array > "u" ? g : Uint16Array,
960
- "%Uint32Array%": typeof Uint32Array > "u" ? g : Uint32Array,
961
- "%URIError%": Za,
962
- "%WeakMap%": typeof WeakMap > "u" ? g : WeakMap,
963
- "%WeakRef%": typeof WeakRef > "u" ? g : WeakRef,
964
- "%WeakSet%": typeof WeakSet > "u" ? g : WeakSet,
965
- "%Function.prototype.call%": ge,
966
- "%Function.prototype.apply%": Et,
967
- "%Object.defineProperty%": lo,
968
- "%Object.getPrototypeOf%": co,
969
- "%Math.abs%": eo,
970
- "%Math.floor%": ro,
971
- "%Math.max%": to,
972
- "%Math.min%": no,
973
- "%Math.pow%": ao,
974
- "%Math.round%": oo,
975
- "%Math.sign%": io,
976
- "%Reflect.getPrototypeOf%": fo
977
- };
978
- if (R)
979
- try {
980
- null.error;
981
- } catch (r) {
982
- var po = R(R(r));
983
- J["%Error.prototype%"] = po;
984
- }
985
- var yo = function r(e) {
986
- var t;
987
- if (e === "%AsyncFunction%")
988
- t = Ke("async function () {}");
989
- else if (e === "%GeneratorFunction%")
990
- t = Ke("function* () {}");
991
- else if (e === "%AsyncGeneratorFunction%")
992
- t = Ke("async function* () {}");
993
- else if (e === "%AsyncGenerator%") {
994
- var n = r("%AsyncGeneratorFunction%");
995
- n && (t = n.prototype);
996
- } else if (e === "%AsyncIteratorPrototype%") {
997
- var a = r("%AsyncGenerator%");
998
- a && R && (t = R(a.prototype));
999
- }
1000
- return J[e] = t, t;
1001
- }, Qr = {
1002
- __proto__: null,
1003
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
1004
- "%ArrayPrototype%": ["Array", "prototype"],
1005
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
1006
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
1007
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
1008
- "%ArrayProto_values%": ["Array", "prototype", "values"],
1009
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
1010
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
1011
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
1012
- "%BooleanPrototype%": ["Boolean", "prototype"],
1013
- "%DataViewPrototype%": ["DataView", "prototype"],
1014
- "%DatePrototype%": ["Date", "prototype"],
1015
- "%ErrorPrototype%": ["Error", "prototype"],
1016
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
1017
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
1018
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
1019
- "%FunctionPrototype%": ["Function", "prototype"],
1020
- "%Generator%": ["GeneratorFunction", "prototype"],
1021
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
1022
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
1023
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
1024
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
1025
- "%JSONParse%": ["JSON", "parse"],
1026
- "%JSONStringify%": ["JSON", "stringify"],
1027
- "%MapPrototype%": ["Map", "prototype"],
1028
- "%NumberPrototype%": ["Number", "prototype"],
1029
- "%ObjectPrototype%": ["Object", "prototype"],
1030
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
1031
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
1032
- "%PromisePrototype%": ["Promise", "prototype"],
1033
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
1034
- "%Promise_all%": ["Promise", "all"],
1035
- "%Promise_reject%": ["Promise", "reject"],
1036
- "%Promise_resolve%": ["Promise", "resolve"],
1037
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
1038
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
1039
- "%RegExpPrototype%": ["RegExp", "prototype"],
1040
- "%SetPrototype%": ["Set", "prototype"],
1041
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
1042
- "%StringPrototype%": ["String", "prototype"],
1043
- "%SymbolPrototype%": ["Symbol", "prototype"],
1044
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
1045
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
1046
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
1047
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
1048
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
1049
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
1050
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
1051
- "%URIErrorPrototype%": ["URIError", "prototype"],
1052
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
1053
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
1054
- }, he = Fe, Ce = Ha(), mo = he.call(ge, Array.prototype.concat), vo = he.call(Et, Array.prototype.splice), Jr = he.call(ge, String.prototype.replace), _e = he.call(ge, String.prototype.slice), go = he.call(ge, RegExp.prototype.exec), ho = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, bo = /\\(\\)?/g, So = function(e) {
1055
- var t = _e(e, 0, 1), n = _e(e, -1);
1056
- if (t === "%" && n !== "%")
1057
- throw new le("invalid intrinsic syntax, expected closing `%`");
1058
- if (n === "%" && t !== "%")
1059
- throw new le("invalid intrinsic syntax, expected opening `%`");
1060
- var a = [];
1061
- return Jr(e, ho, function(i, u, l, c) {
1062
- a[a.length] = l ? Jr(c, bo, "$1") : u || i;
1063
- }), a;
1064
- }, Eo = function(e, t) {
1065
- var n = e, a;
1066
- if (Ce(Qr, n) && (a = Qr[n], n = "%" + a[0] + "%"), Ce(J, n)) {
1067
- var i = J[n];
1068
- if (i === ne && (i = yo(n)), typeof i > "u" && !t)
1069
- throw new ae("intrinsic " + e + " exists, but is not available. Please file an issue!");
1070
- return {
1071
- alias: a,
1072
- name: n,
1073
- value: i
1074
- };
1075
- }
1076
- throw new le("intrinsic " + e + " does not exist!");
1077
- }, hr = function(e, t) {
1078
- if (typeof e != "string" || e.length === 0)
1079
- throw new ae("intrinsic name must be a non-empty string");
1080
- if (arguments.length > 1 && typeof t != "boolean")
1081
- throw new ae('"allowMissing" argument must be a boolean');
1082
- if (go(/^%?[^%]*%?$/, e) === null)
1083
- throw new le("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
1084
- var n = So(e), a = n.length > 0 ? n[0] : "", i = Eo("%" + a + "%", t), u = i.name, l = i.value, c = !1, f = i.alias;
1085
- f && (a = f[0], vo(n, mo([0, 1], f)));
1086
- for (var y = 1, d = !0; y < n.length; y += 1) {
1087
- var m = n[y], h = _e(m, 0, 1), v = _e(m, -1);
1088
- if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
1089
- throw new le("property names with quotes must have matching quotes");
1090
- if ((m === "constructor" || !d) && (c = !0), a += "." + m, u = "%" + a + "%", Ce(J, u))
1091
- l = J[u];
1092
- else if (l != null) {
1093
- if (!(m in l)) {
1094
- if (!t)
1095
- throw new ae("base intrinsic for " + e + " exists, but the property is not available.");
1096
- return;
1097
- }
1098
- if (me && y + 1 >= n.length) {
1099
- var $ = me(l, m);
1100
- d = !!$, d && "get" in $ && !("originalValue" in $.get) ? l = $.get : l = l[m];
1101
- } else
1102
- d = Ce(l, m), l = l[m];
1103
- d && !c && (J[u] = l);
1104
- }
1105
- }
1106
- return l;
1107
- }, At = hr, Pt = bt, Ao = Pt([At("%String.prototype.indexOf%")]), Ot = function(e, t) {
1108
- var n = (
1109
- /** @type {(this: unknown, ...args: unknown[]) => unknown} */
1110
- At(e, !!t)
1111
- );
1112
- return typeof n == "function" && Ao(e, ".prototype.") > -1 ? Pt(
1113
- /** @type {const} */
1114
- [n]
1115
- ) : n;
1116
- }, Po = hr, be = Ot, Oo = Ie, $o = ce, Xr = Po("%Map%", !0), wo = be("Map.prototype.get", !0), Ro = be("Map.prototype.set", !0), To = be("Map.prototype.has", !0), Co = be("Map.prototype.delete", !0), _o = be("Map.prototype.size", !0), $t = !!Xr && /** @type {Exclude<import('.'), false>} */
1117
- function() {
1118
- var e, t = {
1119
- assert: function(n) {
1120
- if (!t.has(n))
1121
- throw new $o("Side channel does not contain " + Oo(n));
1122
- },
1123
- delete: function(n) {
1124
- if (e) {
1125
- var a = Co(e, n);
1126
- return _o(e) === 0 && (e = void 0), a;
1127
- }
1128
- return !1;
1129
- },
1130
- get: function(n) {
1131
- if (e)
1132
- return wo(e, n);
1133
- },
1134
- has: function(n) {
1135
- return e ? To(e, n) : !1;
1136
- },
1137
- set: function(n, a) {
1138
- e || (e = new Xr()), Ro(e, n, a);
1139
- }
1140
- };
1141
- return t;
1142
- }, xo = hr, Me = Ot, Io = Ie, Pe = $t, No = ce, te = xo("%WeakMap%", !0), Fo = Me("WeakMap.prototype.get", !0), Mo = Me("WeakMap.prototype.set", !0), Do = Me("WeakMap.prototype.has", !0), Lo = Me("WeakMap.prototype.delete", !0), Bo = te ? (
1143
- /** @type {Exclude<import('.'), false>} */
1144
- function() {
1145
- var e, t, n = {
1146
- assert: function(a) {
1147
- if (!n.has(a))
1148
- throw new No("Side channel does not contain " + Io(a));
1149
- },
1150
- delete: function(a) {
1151
- if (te && a && (typeof a == "object" || typeof a == "function")) {
1152
- if (e)
1153
- return Lo(e, a);
1154
- } else if (Pe && t)
1155
- return t.delete(a);
1156
- return !1;
1157
- },
1158
- get: function(a) {
1159
- return te && a && (typeof a == "object" || typeof a == "function") && e ? Fo(e, a) : t && t.get(a);
1160
- },
1161
- has: function(a) {
1162
- return te && a && (typeof a == "object" || typeof a == "function") && e ? Do(e, a) : !!t && t.has(a);
1163
- },
1164
- set: function(a, i) {
1165
- te && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new te()), Mo(e, a, i)) : Pe && (t || (t = Pe()), t.set(a, i));
1166
- }
1167
- };
1168
- return n;
1169
- }
1170
- ) : Pe, Uo = ce, ko = Ie, Wo = la, qo = $t, Go = Bo, jo = Go || qo || Wo, Vo = function() {
1171
- var e, t = {
1172
- assert: function(n) {
1173
- if (!t.has(n))
1174
- throw new Uo("Side channel does not contain " + ko(n));
1175
- },
1176
- delete: function(n) {
1177
- return !!e && e.delete(n);
1178
- },
1179
- get: function(n) {
1180
- return e && e.get(n);
1181
- },
1182
- has: function(n) {
1183
- return !!e && e.has(n);
1184
- },
1185
- set: function(n, a) {
1186
- e || (e = jo()), e.set(n, a);
1187
- }
1188
- };
1189
- return t;
1190
- }, zo = String.prototype.replace, Ho = /%20/g, Je = {
1191
- RFC1738: "RFC1738",
1192
- RFC3986: "RFC3986"
1193
- }, br = {
1194
- default: Je.RFC3986,
1195
- formatters: {
1196
- RFC1738: function(r) {
1197
- return zo.call(r, Ho, "+");
1198
- },
1199
- RFC3986: function(r) {
1200
- return String(r);
1201
- }
1202
- },
1203
- RFC1738: Je.RFC1738,
1204
- RFC3986: Je.RFC3986
1205
- }, Yo = br, Xe = Object.prototype.hasOwnProperty, Q = Array.isArray, D = function() {
1206
- for (var r = [], e = 0; e < 256; ++e)
1207
- r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
1208
- return r;
1209
- }(), Ko = function(e) {
1210
- for (; e.length > 1; ) {
1211
- var t = e.pop(), n = t.obj[t.prop];
1212
- if (Q(n)) {
1213
- for (var a = [], i = 0; i < n.length; ++i)
1214
- typeof n[i] < "u" && a.push(n[i]);
1215
- t.obj[t.prop] = a;
1216
- }
1217
- }
1218
- }, wt = function(e, t) {
1219
- for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = 0; a < e.length; ++a)
1220
- typeof e[a] < "u" && (n[a] = e[a]);
1221
- return n;
1222
- }, Qo = function r(e, t, n) {
1223
- if (!t)
1224
- return e;
1225
- if (typeof t != "object") {
1226
- if (Q(e))
1227
- e.push(t);
1228
- else if (e && typeof e == "object")
1229
- (n && (n.plainObjects || n.allowPrototypes) || !Xe.call(Object.prototype, t)) && (e[t] = !0);
1230
- else
1231
- return [e, t];
1232
- return e;
1233
- }
1234
- if (!e || typeof e != "object")
1235
- return [e].concat(t);
1236
- var a = e;
1237
- return Q(e) && !Q(t) && (a = wt(e, n)), Q(e) && Q(t) ? (t.forEach(function(i, u) {
1238
- if (Xe.call(e, u)) {
1239
- var l = e[u];
1240
- l && typeof l == "object" && i && typeof i == "object" ? e[u] = r(l, i, n) : e.push(i);
1241
- } else
1242
- e[u] = i;
1243
- }), e) : Object.keys(t).reduce(function(i, u) {
1244
- var l = t[u];
1245
- return Xe.call(i, u) ? i[u] = r(i[u], l, n) : i[u] = l, i;
1246
- }, a);
1247
- }, Jo = function(e, t) {
1248
- return Object.keys(t).reduce(function(n, a) {
1249
- return n[a] = t[a], n;
1250
- }, e);
1251
- }, Xo = function(r, e, t) {
1252
- var n = r.replace(/\+/g, " ");
1253
- if (t === "iso-8859-1")
1254
- return n.replace(/%[0-9a-f]{2}/gi, unescape);
1255
- try {
1256
- return decodeURIComponent(n);
1257
- } catch {
1258
- return n;
1259
- }
1260
- }, Zo = function(e, t, n, a, i) {
1261
- if (e.length === 0)
1262
- return e;
1263
- var u = e;
1264
- if (typeof e == "symbol" ? u = Symbol.prototype.toString.call(e) : typeof e != "string" && (u = String(e)), n === "iso-8859-1")
1265
- return escape(u).replace(/%u[0-9a-f]{4}/gi, function(y) {
1266
- return "%26%23" + parseInt(y.slice(2), 16) + "%3B";
1267
- });
1268
- for (var l = "", c = 0; c < u.length; ++c) {
1269
- var f = u.charCodeAt(c);
1270
- if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || i === Yo.RFC1738 && (f === 40 || f === 41)) {
1271
- l += u.charAt(c);
1272
- continue;
1273
- }
1274
- if (f < 128) {
1275
- l = l + D[f];
1276
- continue;
1277
- }
1278
- if (f < 2048) {
1279
- l = l + (D[192 | f >> 6] + D[128 | f & 63]);
1280
- continue;
1281
- }
1282
- if (f < 55296 || f >= 57344) {
1283
- l = l + (D[224 | f >> 12] + D[128 | f >> 6 & 63] + D[128 | f & 63]);
1284
- continue;
1285
- }
1286
- c += 1, f = 65536 + ((f & 1023) << 10 | u.charCodeAt(c) & 1023), l += D[240 | f >> 18] + D[128 | f >> 12 & 63] + D[128 | f >> 6 & 63] + D[128 | f & 63];
1287
- }
1288
- return l;
1289
- }, ei = function(e) {
1290
- for (var t = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < t.length; ++a)
1291
- for (var i = t[a], u = i.obj[i.prop], l = Object.keys(u), c = 0; c < l.length; ++c) {
1292
- var f = l[c], y = u[f];
1293
- typeof y == "object" && y !== null && n.indexOf(y) === -1 && (t.push({ obj: u, prop: f }), n.push(y));
1294
- }
1295
- return Ko(t), e;
1296
- }, ri = function(e) {
1297
- return Object.prototype.toString.call(e) === "[object RegExp]";
1298
- }, ti = function(e) {
1299
- return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1300
- }, ni = function(e, t) {
1301
- return [].concat(e, t);
1302
- }, ai = function(e, t) {
1303
- if (Q(e)) {
1304
- for (var n = [], a = 0; a < e.length; a += 1)
1305
- n.push(t(e[a]));
1306
- return n;
1307
- }
1308
- return t(e);
1309
- }, Rt = {
1310
- arrayToObject: wt,
1311
- assign: Jo,
1312
- combine: ni,
1313
- compact: ei,
1314
- decode: Xo,
1315
- encode: Zo,
1316
- isBuffer: ti,
1317
- isRegExp: ri,
1318
- maybeMap: ai,
1319
- merge: Qo
1320
- }, Tt = Vo, we = Rt, de = br, oi = Object.prototype.hasOwnProperty, Zr = {
1321
- brackets: function(e) {
1322
- return e + "[]";
1323
- },
1324
- comma: "comma",
1325
- indices: function(e, t) {
1326
- return e + "[" + t + "]";
1327
- },
1328
- repeat: function(e) {
1329
- return e;
1330
- }
1331
- }, k = Array.isArray, ii = Array.prototype.push, Ct = function(r, e) {
1332
- ii.apply(r, k(e) ? e : [e]);
1333
- }, li = Date.prototype.toISOString, et = de.default, T = {
1334
- addQueryPrefix: !1,
1335
- allowDots: !1,
1336
- charset: "utf-8",
1337
- charsetSentinel: !1,
1338
- delimiter: "&",
1339
- encode: !0,
1340
- encoder: we.encode,
1341
- encodeValuesOnly: !1,
1342
- format: et,
1343
- formatter: de.formatters[et],
1344
- // deprecated
1345
- indices: !1,
1346
- serializeDate: function(e) {
1347
- return li.call(e);
1348
- },
1349
- skipNulls: !1,
1350
- strictNullHandling: !1
1351
- }, ui = function(e) {
1352
- return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1353
- }, Ze = {}, ci = function r(e, t, n, a, i, u, l, c, f, y, d, m, h, v, $, _) {
1354
- for (var b = e, x = _, P = 0, O = !1; (x = x.get(Ze)) !== void 0 && !O; ) {
1355
- var s = x.get(e);
1356
- if (P += 1, typeof s < "u") {
1357
- if (s === P)
1358
- throw new RangeError("Cyclic object value");
1359
- O = !0;
1360
- }
1361
- typeof x.get(Ze) > "u" && (P = 0);
1362
- }
1363
- if (typeof c == "function" ? b = c(t, b) : b instanceof Date ? b = d(b) : n === "comma" && k(b) && (b = we.maybeMap(b, function(j) {
1364
- return j instanceof Date ? d(j) : j;
1365
- })), b === null) {
1366
- if (i)
1367
- return l && !v ? l(t, T.encoder, $, "key", m) : t;
1368
- b = "";
1369
- }
1370
- if (ui(b) || we.isBuffer(b)) {
1371
- if (l) {
1372
- var F = v ? t : l(t, T.encoder, $, "key", m);
1373
- return [h(F) + "=" + h(l(b, T.encoder, $, "value", m))];
1374
- }
1375
- return [h(t) + "=" + h(String(b))];
1376
- }
1377
- var B = [];
1378
- if (typeof b > "u")
1379
- return B;
1380
- var M;
1381
- if (n === "comma" && k(b))
1382
- v && l && (b = we.maybeMap(b, l)), M = [{ value: b.length > 0 ? b.join(",") || null : void 0 }];
1383
- else if (k(c))
1384
- M = c;
1385
- else {
1386
- var W = Object.keys(b);
1387
- M = f ? W.sort(f) : W;
1388
- }
1389
- for (var q = a && k(b) && b.length === 1 ? t + "[]" : t, K = 0; K < M.length; ++K) {
1390
- var I = M[K], N = typeof I == "object" && typeof I.value < "u" ? I.value : b[I];
1391
- if (!(u && N === null)) {
1392
- var G = k(b) ? typeof n == "function" ? n(q, I) : q : q + (y ? "." + I : "[" + I + "]");
1393
- _.set(e, P);
1394
- var Z = Tt();
1395
- Z.set(Ze, _), Ct(B, r(
1396
- N,
1397
- G,
1398
- n,
1399
- a,
1400
- i,
1401
- u,
1402
- n === "comma" && v && k(b) ? null : l,
1403
- c,
1404
- f,
1405
- y,
1406
- d,
1407
- m,
1408
- h,
1409
- v,
1410
- $,
1411
- Z
1412
- ));
1413
- }
1414
- }
1415
- return B;
1416
- }, fi = function(e) {
1417
- if (!e)
1418
- return T;
1419
- if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
1420
- throw new TypeError("Encoder has to be a function.");
1421
- var t = e.charset || T.charset;
1422
- if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1423
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1424
- var n = de.default;
1425
- if (typeof e.format < "u") {
1426
- if (!oi.call(de.formatters, e.format))
1427
- throw new TypeError("Unknown format option provided.");
1428
- n = e.format;
1429
- }
1430
- var a = de.formatters[n], i = T.filter;
1431
- return (typeof e.filter == "function" || k(e.filter)) && (i = e.filter), {
1432
- addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : T.addQueryPrefix,
1433
- allowDots: typeof e.allowDots > "u" ? T.allowDots : !!e.allowDots,
1434
- charset: t,
1435
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : T.charsetSentinel,
1436
- delimiter: typeof e.delimiter > "u" ? T.delimiter : e.delimiter,
1437
- encode: typeof e.encode == "boolean" ? e.encode : T.encode,
1438
- encoder: typeof e.encoder == "function" ? e.encoder : T.encoder,
1439
- encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : T.encodeValuesOnly,
1440
- filter: i,
1441
- format: n,
1442
- formatter: a,
1443
- serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : T.serializeDate,
1444
- skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : T.skipNulls,
1445
- sort: typeof e.sort == "function" ? e.sort : null,
1446
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : T.strictNullHandling
1447
- };
1448
- }, si = function(r, e) {
1449
- var t = r, n = fi(e), a, i;
1450
- typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : k(n.filter) && (i = n.filter, a = i);
1451
- var u = [];
1452
- if (typeof t != "object" || t === null)
1453
- return "";
1454
- var l;
1455
- e && e.arrayFormat in Zr ? l = e.arrayFormat : e && "indices" in e ? l = e.indices ? "indices" : "repeat" : l = "indices";
1456
- var c = Zr[l];
1457
- if (e && "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1458
- throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1459
- var f = c === "comma" && e && e.commaRoundTrip;
1460
- a || (a = Object.keys(t)), n.sort && a.sort(n.sort);
1461
- for (var y = Tt(), d = 0; d < a.length; ++d) {
1462
- var m = a[d];
1463
- n.skipNulls && t[m] === null || Ct(u, ci(
1464
- t[m],
1465
- m,
1466
- c,
1467
- f,
1468
- n.strictNullHandling,
1469
- n.skipNulls,
1470
- n.encode ? n.encoder : null,
1471
- n.filter,
1472
- n.sort,
1473
- n.allowDots,
1474
- n.serializeDate,
1475
- n.format,
1476
- n.formatter,
1477
- n.encodeValuesOnly,
1478
- n.charset,
1479
- y
1480
- ));
1481
- }
1482
- var h = u.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
1483
- return n.charsetSentinel && (n.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), h.length > 0 ? v + h : "";
1484
- }, ue = Rt, fr = Object.prototype.hasOwnProperty, pi = Array.isArray, w = {
1485
- allowDots: !1,
1486
- allowPrototypes: !1,
1487
- allowSparse: !1,
1488
- arrayLimit: 20,
1489
- charset: "utf-8",
1490
- charsetSentinel: !1,
1491
- comma: !1,
1492
- decoder: ue.decode,
1493
- delimiter: "&",
1494
- depth: 5,
1495
- ignoreQueryPrefix: !1,
1496
- interpretNumericEntities: !1,
1497
- parameterLimit: 1e3,
1498
- parseArrays: !0,
1499
- plainObjects: !1,
1500
- strictNullHandling: !1
1501
- }, yi = function(r) {
1502
- return r.replace(/&#(\d+);/g, function(e, t) {
1503
- return String.fromCharCode(parseInt(t, 10));
1504
- });
1505
- }, _t = function(r, e) {
1506
- return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
1507
- }, di = "utf8=%26%2310003%3B", mi = "utf8=%E2%9C%93", vi = function(e, t) {
1508
- var n = {}, a = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e, i = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, u = a.split(t.delimiter, i), l = -1, c, f = t.charset;
1509
- if (t.charsetSentinel)
1510
- for (c = 0; c < u.length; ++c)
1511
- u[c].indexOf("utf8=") === 0 && (u[c] === mi ? f = "utf-8" : u[c] === di && (f = "iso-8859-1"), l = c, c = u.length);
1512
- for (c = 0; c < u.length; ++c)
1513
- if (c !== l) {
1514
- var y = u[c], d = y.indexOf("]="), m = d === -1 ? y.indexOf("=") : d + 1, h, v;
1515
- m === -1 ? (h = t.decoder(y, w.decoder, f, "key"), v = t.strictNullHandling ? null : "") : (h = t.decoder(y.slice(0, m), w.decoder, f, "key"), v = ue.maybeMap(
1516
- _t(y.slice(m + 1), t),
1517
- function($) {
1518
- return t.decoder($, w.decoder, f, "value");
1519
- }
1520
- )), v && t.interpretNumericEntities && f === "iso-8859-1" && (v = yi(v)), y.indexOf("[]=") > -1 && (v = pi(v) ? [v] : v), fr.call(n, h) ? n[h] = ue.combine(n[h], v) : n[h] = v;
1521
- }
1522
- return n;
1523
- }, gi = function(r, e, t, n) {
1524
- for (var a = n ? e : _t(e, t), i = r.length - 1; i >= 0; --i) {
1525
- var u, l = r[i];
1526
- if (l === "[]" && t.parseArrays)
1527
- u = [].concat(a);
1528
- else {
1529
- u = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1530
- var c = l.charAt(0) === "[" && l.charAt(l.length - 1) === "]" ? l.slice(1, -1) : l, f = parseInt(c, 10);
1531
- !t.parseArrays && c === "" ? u = { 0: a } : !isNaN(f) && l !== c && String(f) === c && f >= 0 && t.parseArrays && f <= t.arrayLimit ? (u = [], u[f] = a) : c !== "__proto__" && (u[c] = a);
1532
- }
1533
- a = u;
1534
- }
1535
- return a;
1536
- }, hi = function(e, t, n, a) {
1537
- if (e) {
1538
- var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, u = /(\[[^[\]]*])/, l = /(\[[^[\]]*])/g, c = n.depth > 0 && u.exec(i), f = c ? i.slice(0, c.index) : i, y = [];
1539
- if (f) {
1540
- if (!n.plainObjects && fr.call(Object.prototype, f) && !n.allowPrototypes)
1541
- return;
1542
- y.push(f);
1543
- }
1544
- for (var d = 0; n.depth > 0 && (c = l.exec(i)) !== null && d < n.depth; ) {
1545
- if (d += 1, !n.plainObjects && fr.call(Object.prototype, c[1].slice(1, -1)) && !n.allowPrototypes)
1546
- return;
1547
- y.push(c[1]);
1548
- }
1549
- return c && y.push("[" + i.slice(c.index) + "]"), gi(y, t, n, a);
1550
- }
1551
- }, bi = function(e) {
1552
- if (!e)
1553
- return w;
1554
- if (e.decoder !== null && e.decoder !== void 0 && typeof e.decoder != "function")
1555
- throw new TypeError("Decoder has to be a function.");
1556
- if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1557
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1558
- var t = typeof e.charset > "u" ? w.charset : e.charset;
1559
- return {
1560
- allowDots: typeof e.allowDots > "u" ? w.allowDots : !!e.allowDots,
1561
- allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : w.allowPrototypes,
1562
- allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : w.allowSparse,
1563
- arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : w.arrayLimit,
1564
- charset: t,
1565
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : w.charsetSentinel,
1566
- comma: typeof e.comma == "boolean" ? e.comma : w.comma,
1567
- decoder: typeof e.decoder == "function" ? e.decoder : w.decoder,
1568
- delimiter: typeof e.delimiter == "string" || ue.isRegExp(e.delimiter) ? e.delimiter : w.delimiter,
1569
- // eslint-disable-next-line no-implicit-coercion, no-extra-parens
1570
- depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : w.depth,
1571
- ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
1572
- interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : w.interpretNumericEntities,
1573
- parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : w.parameterLimit,
1574
- parseArrays: e.parseArrays !== !1,
1575
- plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : w.plainObjects,
1576
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : w.strictNullHandling
1577
- };
1578
- }, Si = function(r, e) {
1579
- var t = bi(e);
1580
- if (r === "" || r === null || typeof r > "u")
1581
- return t.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1582
- for (var n = typeof r == "string" ? vi(r, t) : r, a = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = Object.keys(n), u = 0; u < i.length; ++u) {
1583
- var l = i[u], c = hi(l, n[l], t, typeof r == "string");
1584
- a = ue.merge(a, c, t);
1585
- }
1586
- return t.allowSparse === !0 ? a : ue.compact(a);
1587
- }, Ei = si, Ai = Si, Pi = br, er = {
1588
- formats: Pi,
1589
- parse: Ai,
1590
- stringify: Ei
1591
- };
1592
- const Oi = o.object({
1593
- entryLabel: o.record(o.array(o.string())),
1594
- approvalFlow: o.array(o.string()),
1595
- blockedAuthorProps: o.array(o.string()),
1596
- reportReasons: o.record(o.string()),
1597
- regex: o.object({
1598
- uid: o.string(),
1599
- relatedUid: o.string(),
1600
- email: o.string(),
1601
- sorting: o.string()
1602
- }),
1603
- enabledCollections: o.array(o.string()),
1604
- moderatorRoles: o.array(o.string()),
1605
- isGQLPluginEnabled: o.boolean(),
1606
- badWords: o.boolean().nullable().optional(),
1607
- gql: o.object({
1608
- auth: o.boolean().nullable()
1609
- }).optional(),
1610
- client: o.object({
1611
- url: o.string().nullable(),
1612
- contactEmail: o.string().nullable()
1613
- }).default({ url: null, contactEmail: null })
1614
- }), xt = o.intersection(
1615
- o.object({
1616
- id: o.number(),
1617
- uid: o.string(),
1618
- documentId: o.string(),
1619
- createdAt: o.string(),
1620
- updatedAt: o.string(),
1621
- publishedAt: o.string().nullable(),
1622
- locale: o.string().nullable().optional()
1623
- }),
1624
- o.record(o.unknown())
1625
- ), $i = o.object({
1626
- id: o.union([o.number(), o.string()]).optional().nullable(),
1627
- name: o.string().optional().nullable(),
1628
- email: o.string().optional().nullable(),
1629
- avatar: o.union([
1630
- o.object({
1631
- url: o.string()
1632
- }),
1633
- o.object({
1634
- url: o.string(),
1635
- formats: o.object({
1636
- thumbnail: o.object({
1637
- url: o.string()
1638
- }).nullable()
1639
- })
1640
- }),
1641
- o.string()
1642
- ]).nullable().optional()
1643
- }), It = o.union([
1644
- o.literal(z.PENDING),
1645
- o.literal(z.APPROVED),
1646
- o.literal(z.REJECTED),
1647
- o.literal(z.BLOCKED),
1648
- o.literal(z.OPEN),
1649
- o.literal(z.REMOVED),
1650
- o.literal(z.TO_REVIEW),
1651
- o.literal(z.UNKNOWN)
1652
- ]), wi = o.object({
1653
- id: o.number(),
1654
- reason: o.string().optional().nullable(),
1655
- content: o.string(),
1656
- resolved: o.boolean(),
1657
- createdAt: o.string(),
1658
- updatedAt: o.string().nullable()
1659
- }), xe = o.object({
1660
- id: o.number(),
1661
- content: o.string(),
1662
- blocked: o.boolean().nullable(),
1663
- blockedThread: o.boolean().nullable(),
1664
- blockReason: o.string().nullable(),
1665
- isAdminComment: o.boolean().nullable(),
1666
- removed: o.boolean().nullable(),
1667
- approvalStatus: It.nullable(),
1668
- createdAt: o.string(),
1669
- updatedAt: o.string(),
1670
- reports: o.array(wi).nullable().optional(),
1671
- author: $i.nullable().optional(),
1672
- gotThread: o.boolean().nullable().optional(),
1673
- threadFirstItemId: o.number().nullable().optional()
1674
- }), Nt = o.object({
1675
- page: o.number(),
1676
- pageSize: o.number(),
1677
- pageCount: o.number(),
1678
- total: o.number()
1679
- });
1680
- function sr() {
1681
- return xe.extend({
1682
- related: xt.optional(),
1683
- documentId: o.string(),
1684
- threadOf: o.lazy(
1685
- () => xe.merge(o.object({ related: o.string(), threadOf: Ft.nullable().optional(), documentId: o.string().optional() }))
1686
- ).nullable().optional()
1687
- });
1688
- }
1689
- const Ft = sr(), Ri = o.object({
1690
- pagination: Nt,
1691
- result: o.array(Ft)
1692
- }), Ti = o.object({
1693
- entity: xt,
1694
- selected: xe.merge(
1695
- o.object({
1696
- related: o.string(),
1697
- threadOf: sr().omit({ related: !0 }).merge(o.object({ related: o.string() })).nullable().optional()
1698
- })
1699
- ).nullable(),
1700
- level: o.array(sr().omit({ threadOf: !0, related: !0 }))
1701
- }), Mt = o.object({
1702
- apiID: o.string(),
1703
- uid: o.string(),
1704
- schema: o.object({
1705
- attributes: o.record(o.object({ type: o.union([o.literal("string"), o.string()]) })),
1706
- collectionName: o.string(),
1707
- description: o.string(),
1708
- displayName: o.string(),
1709
- draftAndPublish: o.boolean(),
1710
- kind: o.string(),
1711
- pluralName: o.string(),
1712
- singularName: o.string(),
1713
- visible: o.boolean()
1714
- })
1715
- }), Ci = o.object({
1716
- data: Mt
1717
- }), _i = o.object({
1718
- data: o.array(Mt)
1719
- }), xi = o.object({
1720
- author: o.unknown(),
1721
- content: o.string(),
1722
- id: o.number(),
1723
- approvalStatus: It.nullable().optional(),
1724
- reason: o.string().optional().nullable(),
1725
- reports: o.array(o.unknown()),
1726
- resolved: o.boolean().optional(),
1727
- updatedAt: o.string().nullable(),
1728
- createdAt: o.string(),
1729
- related: xe
1730
- }), Ii = o.object({
1731
- pagination: Nt,
1732
- result: o.array(xi)
1733
- }), Ni = o.object({
1734
- id: o.number(),
1735
- documentId: o.string(),
1736
- name: o.string(),
1737
- code: o.string(),
1738
- description: o.string(),
1739
- createdAt: o.string(),
1740
- updatedAt: o.string(),
1741
- publishedAt: o.string(),
1742
- locale: o.string().nullable(),
1743
- usersCount: o.number()
1744
- }), Fi = o.object({
1745
- data: o.array(
1746
- Ni
1747
- )
1748
- }), Mi = o.object({
1749
- data: o.object({
1750
- id: o.number(),
1751
- documentId: o.string(),
1752
- firstname: o.string(),
1753
- lastname: o.string().nullable(),
1754
- username: o.string().nullable(),
1755
- email: o.string(),
1756
- isActive: o.boolean(),
1757
- blocked: o.boolean(),
1758
- preferedLanguage: o.string().nullable(),
1759
- createdAt: o.string(),
1760
- updatedAt: o.string(),
1761
- publishedAt: o.string(),
1762
- locale: o.null(),
1763
- roles: o.array(
1764
- o.object({
1765
- id: o.number(),
1766
- name: o.string(),
1767
- description: o.string(),
1768
- code: o.string()
1769
- })
1770
- )
1771
- })
1772
- }), A = "comments", Di = $r.once((r) => ({
1773
- config: {
1774
- getKey() {
1775
- return [A, "config"];
1776
- },
1777
- async query() {
1778
- const e = await r.get(`/${A}/settings/config`);
1779
- return Oi.parseAsync(e.data);
1780
- }
1781
- },
1782
- contentTypeBuilder: {
1783
- single: {
1784
- getKey(e, t) {
1785
- return [A, "moderate", "content-type", t, e];
1786
- },
1787
- async query(e) {
1788
- const t = await r.get(`/content-type-builder/content-types/${e}`);
1789
- return Ci.parseAsync(t.data).then((n) => n.data);
1790
- }
1791
- },
1792
- all: {
1793
- getKey() {
1794
- return [A, "moderate", "content-types"];
1795
- },
1796
- async query() {
1797
- const e = await r.get("/content-type-builder/content-types");
1798
- return _i.parseAsync(e.data).then((t) => t.data);
1799
- }
1800
- }
1801
- },
1802
- roles: {
1803
- getKey() {
1804
- return [A, "moderate", "roles"];
1805
- },
1806
- async query() {
1807
- const e = await r.get("/admin/roles");
1808
- return Fi.parseAsync(e.data).then((t) => t.data);
1809
- }
1810
- },
1811
- user: {
1812
- getKey() {
1813
- return [A, "moderate", "user"];
1814
- },
1815
- async query() {
1816
- const e = await r.get("/admin/users/me");
1817
- return Mi.parseAsync(e.data).then((t) => t.data);
1818
- }
1819
- },
1820
- comments: {
1821
- findAll: {
1822
- getKey(e) {
1823
- return [A, "moderate", "all", e ? JSON.stringify(e) : void 0].filter(Boolean);
1824
- },
1825
- async query(e) {
1826
- const t = await r.get(`/${A}/moderate/all?${er.stringify(e, { encode: !1 })}`);
1827
- return Ri.parseAsync(t.data);
1828
- }
1829
- },
1830
- findOne: {
1831
- getKey(e, t) {
1832
- return [A, "details", e?.toString(), t ? JSON.stringify(t) : void 0].filter(Boolean);
1833
- },
1834
- async query(e, t) {
1835
- const n = $r.isEmpty(t) ? "" : `?${er.stringify(t, { encode: !1 })}`, a = await r.get(`/${A}/moderate/single/${e}${n}`);
1836
- return Ti.parseAsync(a.data);
1837
- }
1838
- },
1839
- approve(e) {
1840
- return r.put(`/${A}/moderate/single/${e}/approve`);
1841
- },
1842
- reject(e) {
1843
- return r.put(`/${A}/moderate/single/${e}/reject`);
1844
- },
1845
- block(e) {
1846
- return r.put(`/${A}/moderate/single/${e}/block`);
1847
- },
1848
- unblock(e) {
1849
- return r.put(`/${A}/moderate/single/${e}/unblock`);
1850
- },
1851
- blockThread(e) {
1852
- return r.put(`/${A}/moderate/thread/${e}/block`);
1853
- },
1854
- unBlockThread(e) {
1855
- return r.put(`/${A}/moderate/thread/${e}/unblock`);
1856
- },
1857
- delete(e) {
1858
- return r.del(`/${A}/moderate/single/${e}/delete`);
1859
- },
1860
- postComment({ id: e, content: t, author: n }) {
1861
- return r.post(`/${A}/moderate/thread/${e}/postComment`, { content: t, author: n });
1862
- },
1863
- updateComment({ id: e, content: t }) {
1864
- return r.put(`/${A}/moderate/single/${e}/update`, { content: t });
1865
- }
1866
- },
1867
- reports: {
1868
- findAll: {
1869
- getKey(e) {
1870
- return [A, "moderate", "reports", e ? JSON.stringify(e) : void 0].filter(Boolean);
1871
- },
1872
- async query(e) {
1873
- const t = await r.get(`/${A}/moderate/reports${e ? `?${er.stringify(e, { encode: !1 })}` : ""}`);
1874
- return Ii.parseAsync(t.data);
1875
- }
1876
- },
1877
- resolve({ id: e, reportId: t }) {
1878
- return r.put(`/${A}/moderate/single/${e}/report/${t}/resolve`);
1879
- },
1880
- resolveMultipleReports({ reportIds: e }) {
1881
- return r.put(`/${A}/moderate/multiple/report/resolve`, { reportIds: e });
1882
- },
1883
- resolveCommentMultipleReports({ id: e, reportIds: t }) {
1884
- return r.put(`/${A}/moderate/single/${e}/report/resolve`, { reportIds: t });
1885
- },
1886
- resolveAllAbuseReportsForComment(e) {
1887
- return r.put(`/${A}/moderate/all/${e}/report/resolve`);
1888
- },
1889
- resolveAllAbuseReportsForThread(e) {
1890
- return r.put(`/${A}/moderate/thread/${e}/report/resolve-thread`);
1891
- }
1892
- },
1893
- settings: {
1894
- update(e) {
1895
- return r.put(`/${A}/settings/config`, e);
1896
- },
1897
- restore() {
1898
- return r.del(`/${A}/settings/config`);
1899
- },
1900
- restart() {
1901
- return r.post(`/${A}/settings/restart`);
1902
- }
1903
- }
1904
- })), Li = () => {
1905
- const r = cn();
1906
- return tt(() => Di(r), [r]);
1907
- }, Bi = an(null), Ui = ({ children: r }) => {
1908
- const e = Li(), { data: t } = on({
1909
- queryKey: e.user.getKey(),
1910
- queryFn: e.user.query
1911
- });
1912
- return t ? /* @__PURE__ */ C(Bi.Provider, { value: t, children: r }) : null;
1913
- }, ki = new un({
1914
- defaultOptions: {
1915
- queries: {
1916
- retry: !1,
1917
- refetchOnWindowFocus: !1
1918
- }
1919
- }
1920
- }), Ki = ({ children: r }) => {
1921
- const { theme: e } = sn();
1922
- return /* @__PURE__ */ C(ln, { client: ki, children: /* @__PURE__ */ C(Zt, { theme: e, children: /* @__PURE__ */ C(Ui, { children: r }) }) });
1923
- }, Qi = () => {
1924
- const r = tt(
1925
- () => ({
1926
- access: ee.access,
1927
- moderate: ee.moderate,
1928
- accessReports: ee.reports,
1929
- reviewReports: ee.reportsReview,
1930
- settings: ee.settings,
1931
- settingsChange: ee.settingsChange
1932
- }),
1933
- []
1934
- ), {
1935
- isLoading: e,
1936
- allowedActions: {
1937
- canCommentsModerate: t,
1938
- canCommentsRead: n,
1939
- canReportsRead: a,
1940
- canSettingsChange: i,
1941
- canSettingsRead: u,
1942
- canReportsReview: l
1943
- }
1944
- } = fn(r);
1945
- return {
1946
- isLoadingForPermissions: e,
1947
- canAccess: n || a || u,
1948
- canModerate: t,
1949
- canAccessReports: a,
1950
- canReviewReports: l,
1951
- canSettings: u,
1952
- canSettingsChange: i
1953
- };
1954
- }, Ji = ({
1955
- title: r,
1956
- onConfirm: e,
1957
- Trigger: t,
1958
- labelConfirm: n,
1959
- iconConfirm: a,
1960
- labelCancel: i,
1961
- children: u
1962
- }) => {
1963
- const [l, c] = rr(!1), [f, y] = rr(!1), d = () => c((h) => !h), m = async () => {
1964
- y(!0), await e(), y(!1), d();
1965
- };
1966
- return /* @__PURE__ */ Ee(V.Root, { open: l, children: [
1967
- /* @__PURE__ */ C(V.Trigger, { children: /* @__PURE__ */ C(t, { onClick: d }) }),
1968
- /* @__PURE__ */ Ee(V.Content, { children: [
1969
- /* @__PURE__ */ C(V.Header, { children: r }),
1970
- /* @__PURE__ */ C(V.Body, { children: /* @__PURE__ */ Ee(en, { justifyContent: "center", direction: "column", children: [
1971
- /* @__PURE__ */ C(rn, { fill: "danger500", stroke: "danger500", height: "24", width: "24" }),
1972
- /* @__PURE__ */ C(tn, { id: "confirm-description", children: u })
1973
- ] }) }),
1974
- /* @__PURE__ */ Ee(V.Footer, { children: [
1975
- /* @__PURE__ */ C(V.Cancel, { children: /* @__PURE__ */ C(
1976
- wr,
1977
- {
1978
- onClick: d,
1979
- disabled: f,
1980
- variant: "tertiary",
1981
- children: i || "Cancel"
1982
- }
1983
- ) }),
1984
- /* @__PURE__ */ C(V.Action, { children: /* @__PURE__ */ C(
1985
- wr,
1986
- {
1987
- onClick: m,
1988
- variant: "danger-light",
1989
- loading: f,
1990
- disabled: f,
1991
- startIcon: a,
1992
- children: n
1993
- }
1994
- ) })
1995
- ] })
1996
- ] })
1997
- ] });
1998
- };
1999
- export {
2000
- z as C,
2001
- Yi as R,
2002
- Bi as U,
2003
- Qi as a,
2004
- yr as b,
2005
- Pn as c,
2006
- Ji as d,
2007
- Ki as e,
2008
- Hi as g,
2009
- Li as u
2010
- };