strapi-plugin-comments 3.0.8 → 3.0.10

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 (67) hide show
  1. package/README.md +1 -1
  2. package/dist/_chunks/{en-DCsHR-ue.mjs → en-BtJqEJGe.mjs} +2 -0
  3. package/dist/_chunks/en-CNvRvaLL.js +1 -0
  4. package/dist/_chunks/fr-Bh0tVDIQ.js +1 -0
  5. package/dist/_chunks/{fr-DC9DGoT1.mjs → fr-n-k7Rsq9.mjs} +106 -55
  6. package/dist/_chunks/index-3aTvO9o4.js +2221 -0
  7. package/dist/_chunks/{index-Dz0m9-CE.mjs → index-B3sOw8of.mjs} +11781 -11717
  8. package/dist/_chunks/{index-B5PjDM8c.js → index-BkeaCrYD.js} +1 -1
  9. package/dist/_chunks/{index-C9SDOq14.mjs → index-BmZpl8oj.mjs} +8398 -8287
  10. package/dist/_chunks/{index-C06AHjYM.js → index-C1iG6Vvf.js} +44 -44
  11. package/dist/_chunks/index-CdurBq-v.js +18 -0
  12. package/dist/_chunks/{index-BS9J96Lh.mjs → index-CzOGwAt4.mjs} +466 -462
  13. package/dist/_chunks/{index-iv4k-YuD.mjs → index-DG6A3YTl.mjs} +20 -20
  14. package/dist/_chunks/pl-DoXe0BV9.js +1 -0
  15. package/dist/_chunks/{pl-DZiVsGIg.mjs → pl-_wkGtdQj.mjs} +2 -0
  16. package/dist/_chunks/{pt-BR-CW4ugNZj.mjs → pt-BR-Bx1qSZ0Z.mjs} +2 -0
  17. package/dist/_chunks/pt-BR-CLvbSGaH.js +1 -0
  18. package/dist/_chunks/{ru-CfKjYq3M.mjs → ru-BuUj7OWH.mjs} +2 -0
  19. package/dist/_chunks/ru-eLIDfsd3.js +1 -0
  20. package/dist/_chunks/tr-BX-_IBUR.js +1 -0
  21. package/dist/_chunks/{tr-BQR2hK7S.mjs → tr-CloK8CbW.mjs} +2 -0
  22. package/dist/_chunks/zh-Hans-DusBjCtd.js +1 -0
  23. package/dist/_chunks/{zh-Hans-lNqOn5JS.mjs → zh-Hans-Isi-yCnI.mjs} +2 -0
  24. package/dist/admin/index.js +1 -1
  25. package/dist/admin/index.mjs +1 -1
  26. package/dist/admin/src/api/schemas.d.ts +21 -21
  27. package/dist/admin/src/components/ActionButton/index.d.ts +4 -2
  28. package/dist/admin/src/components/CommentStatusFilters/index.d.ts +6 -0
  29. package/dist/admin/src/components/DiscussionThreadItem/DiscussionThreadItemFooter.d.ts +1 -1
  30. package/dist/admin/src/components/DiscussionThreadItem/index.d.ts +2 -2
  31. package/dist/admin/src/components/IconButtonGroup/index.d.ts +5 -2
  32. package/dist/admin/src/components/StatusBadge/index.d.ts +1 -1
  33. package/dist/admin/src/components/Wysiwyg/EditorLayout.d.ts +1 -1
  34. package/dist/admin/src/components/Wysiwyg/WysiwygStyles.d.ts +4 -4
  35. package/dist/admin/src/hooks/useCommentsAll.d.ts +2 -2
  36. package/dist/admin/src/translations/en.d.ts +2 -0
  37. package/dist/admin/src/translations/fr.d.ts +52 -0
  38. package/dist/admin/src/translations/pl.d.ts +2 -0
  39. package/dist/admin/src/translations/pt-BR.d.ts +2 -0
  40. package/dist/admin/src/translations/ru.d.ts +2 -0
  41. package/dist/admin/src/translations/tr.d.ts +2 -0
  42. package/dist/admin/src/translations/zh-Hans.d.ts +2 -0
  43. package/dist/server/index.js +31 -31
  44. package/dist/server/index.mjs +1290 -1264
  45. package/dist/server/src/@types/controllers.d.ts +1 -0
  46. package/dist/server/src/controllers/index.d.ts +66 -0
  47. package/dist/server/src/graphql/getResolversConfig.d.ts +4 -4
  48. package/dist/server/src/index.d.ts +572 -1
  49. package/dist/server/src/services/admin/admin.service.d.ts +68 -1
  50. package/dist/server/src/services/admin/utils.d.ts +1 -8
  51. package/dist/server/src/services/client.service.d.ts +67 -0
  52. package/dist/server/src/services/common.service.d.ts +1 -0
  53. package/dist/server/src/services/index.d.ts +506 -1
  54. package/dist/server/src/validators/api/controllers/admin.controller.validator.d.ts +1504 -6
  55. package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +66 -0
  56. package/dist/server/src/validators/repositories/comment.validator.d.ts +57 -57
  57. package/dist/server/src/validators/utils.d.ts +1238 -4
  58. package/package.json +14 -14
  59. package/dist/_chunks/en-CgUbWvmQ.js +0 -1
  60. package/dist/_chunks/fr-BXfxIXq1.js +0 -1
  61. package/dist/_chunks/index-BGCzzYSK.js +0 -2175
  62. package/dist/_chunks/index-Chf4p7eV.js +0 -18
  63. package/dist/_chunks/pl-Bl4yP3sZ.js +0 -1
  64. package/dist/_chunks/pt-BR-D9T5g0JT.js +0 -1
  65. package/dist/_chunks/ru-DIZ4pV4l.js +0 -1
  66. package/dist/_chunks/tr-Dl2hdLCx.js +0 -1
  67. package/dist/_chunks/zh-Hans-BZhnqfei.js +0 -1
@@ -1,16 +1,16 @@
1
- import { jsx as _, jsxs as Ee } from "react/jsx-runtime";
2
- import { ab as tn, ac as $r, l as wr, ad as nn, ae as it, af as on, ag as ee, ah as Rr, ai as lt, p as an, aj as V, F as ln, ak as un, T as cn, e as Cr } from "./index-Dz0m9-CE.mjs";
1
+ import { jsx as _, jsxs as Ae } from "react/jsx-runtime";
2
+ import { ab as tn, ac as $r, l as wr, ad as nn, ae as it, af as an, ag as ee, ah as Rr, ai as lt, p as on, aj as V, F as ln, ak as un, T as cn, e as Cr } from "./index-B3sOw8of.mjs";
3
3
  import { useQuery as fn, QueryClientProvider as sn, QueryClient as pn } from "@tanstack/react-query";
4
- import * as ae from "react";
4
+ import * as oe from "react";
5
5
  import { useMemo as ut, createContext as yn, useState as Tr } from "react";
6
6
  import { getFetchClient as dn, useRBAC as mn } from "@strapi/strapi/admin";
7
- import { z as a } from "zod";
7
+ import { z as o } from "zod";
8
8
  var ce = TypeError;
9
9
  const vn = {}, gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10
10
  __proto__: null,
11
11
  default: vn
12
12
  }, Symbol.toStringTag, { value: "Module" })), hn = /* @__PURE__ */ tn(gn);
13
- 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, _r = dr && Map.prototype.forEach, mr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ce = mr && Be && typeof Be.get == "function" ? Be.get : null, Ir = mr && Set.prototype.forEach, Sn = typeof WeakMap == "function" && WeakMap.prototype, se = Sn ? WeakMap.prototype.has : null, bn = typeof WeakSet == "function" && WeakSet.prototype, pe = bn ? WeakSet.prototype.has : null, En = typeof WeakRef == "function" && WeakRef.prototype, Nr = En ? WeakRef.prototype.deref : null, An = Boolean.prototype.valueOf, On = Object.prototype.toString, Pn = Function.prototype.toString, $n = String.prototype.match, vr = String.prototype.slice, H = String.prototype.replace, wn = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, ct = RegExp.prototype.test, Fr = Array.prototype.concat, L = Array.prototype.join, Rn = Array.prototype.slice, Mr = Math.floor, or = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ue = Object.getOwnPropertySymbols, ar = 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, ft = Object.prototype.propertyIsEnumerable, Dr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
13
+ 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, _r = dr && Map.prototype.forEach, mr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ce = mr && Be && typeof Be.get == "function" ? Be.get : null, Ir = mr && Set.prototype.forEach, Sn = typeof WeakMap == "function" && WeakMap.prototype, se = Sn ? WeakMap.prototype.has : null, bn = typeof WeakSet == "function" && WeakSet.prototype, pe = bn ? WeakSet.prototype.has : null, An = typeof WeakRef == "function" && WeakRef.prototype, Nr = An ? WeakRef.prototype.deref : null, En = Boolean.prototype.valueOf, On = Object.prototype.toString, Pn = Function.prototype.toString, $n = String.prototype.match, vr = String.prototype.slice, H = String.prototype.replace, wn = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, ct = RegExp.prototype.test, Fr = Array.prototype.concat, L = Array.prototype.join, Rn = Array.prototype.slice, Mr = Math.floor, ar = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ue = Object.getOwnPropertySymbols, or = 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, ft = Object.prototype.propertyIsEnumerable, Dr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
14
14
  return r.__proto__;
15
15
  } : null);
16
16
  function Lr(r, e) {
@@ -20,8 +20,8 @@ function Lr(r, e) {
20
20
  if (typeof r == "number") {
21
21
  var n = r < 0 ? -Mr(-r) : Mr(r);
22
22
  if (n !== r) {
23
- var o = String(n), i = vr.call(e, o.length + 1);
24
- return H.call(o, t, "$&_") + "." + H.call(H.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
23
+ var a = String(n), i = vr.call(e, a.length + 1);
24
+ return H.call(a, t, "$&_") + "." + H.call(H.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
25
25
  }
26
26
  }
27
27
  return H.call(e, t, "$&_");
@@ -34,7 +34,7 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
34
34
  __proto__: null,
35
35
  double: /(["\\])/g,
36
36
  single: /(['\\])/g
37
- }, Ne = function r(e, t, n, o) {
37
+ }, Ne = function r(e, t, n, a) {
38
38
  var i = t || {};
39
39
  if (U(i, "quoteStyle") && !U(st, i.quoteStyle))
40
40
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -70,25 +70,25 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
70
70
  if (typeof n > "u" && (n = 0), n >= p && p > 0 && typeof e == "object")
71
71
  return lr(e) ? "[Array]" : "[Object]";
72
72
  var y = zn(i, n);
73
- if (typeof o > "u")
74
- o = [];
75
- else if (dt(o, e) >= 0)
73
+ if (typeof a > "u")
74
+ a = [];
75
+ else if (dt(a, e) >= 0)
76
76
  return "[Circular]";
77
77
  function m(x, G, Z) {
78
- if (G && (o = Rn.call(o), o.push(G)), Z) {
78
+ if (G && (a = Rn.call(a), a.push(G)), Z) {
79
79
  var j = {
80
80
  depth: i.depth
81
81
  };
82
- return U(i, "quoteStyle") && (j.quoteStyle = i.quoteStyle), r(x, j, n + 1, o);
82
+ return U(i, "quoteStyle") && (j.quoteStyle = i.quoteStyle), r(x, j, n + 1, a);
83
83
  }
84
- return r(x, i, n + 1, o);
84
+ return r(x, i, n + 1, a);
85
85
  }
86
86
  if (typeof e == "function" && !qr(e)) {
87
- var h = Ln(e), v = Ae(e, m);
87
+ var h = Ln(e), v = Ee(e, m);
88
88
  return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + L.call(v, ", ") + " }" : "");
89
89
  }
90
90
  if (yt(e)) {
91
- var P = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ar.call(e);
91
+ var P = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : or.call(e);
92
92
  return typeof e == "object" && !ie ? fe(P) : P;
93
93
  }
94
94
  if (Gn(e)) {
@@ -99,11 +99,11 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
99
99
  if (lr(e)) {
100
100
  if (e.length === 0)
101
101
  return "[]";
102
- var O = Ae(e, m);
102
+ var O = Ee(e, m);
103
103
  return y && !Vn(O) ? "[" + ur(O, y) + "]" : "[ " + L.call(O, ", ") + " ]";
104
104
  }
105
105
  if (In(e)) {
106
- var $ = Ae(e, m);
106
+ var $ = Ee(e, m);
107
107
  return !("cause" in Error.prototype) && "cause" in e && !ft.call(e, "cause") ? "{ [" + String(e) + "] " + L.call(Fr.call("[cause]: " + m(e.cause), $), ", ") + " }" : $.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + L.call($, ", ") + " }";
108
108
  }
109
109
  if (typeof e == "object" && c) {
@@ -133,9 +133,9 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
133
133
  if (xn(e))
134
134
  return fe(m(Number(e)));
135
135
  if (Mn(e))
136
- return fe(m(or.call(e)));
136
+ return fe(m(ar.call(e)));
137
137
  if (Fn(e))
138
- return fe(An.call(e));
138
+ return fe(En.call(e));
139
139
  if (Nn(e))
140
140
  return fe(m(String(e)));
141
141
  if (typeof window < "u" && e === window)
@@ -143,14 +143,14 @@ var ir = hn, Br = ir.custom, Ur = yt(Br) ? Br : null, st = {
143
143
  if (typeof globalThis < "u" && e === globalThis || typeof $r < "u" && e === $r)
144
144
  return "{ [object globalThis] }";
145
145
  if (!_n(e) && !qr(e)) {
146
- var B = Ae(e, m), M = Dr ? Dr(e) === Object.prototype : e instanceof Object || e.constructor === Object, W = e instanceof Object ? "" : "null prototype", k = !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 + " " : "", N = K + (k || W ? "[" + L.call(Fr.call([], k || [], W || []), ": ") + "] " : "");
146
+ var B = Ee(e, m), M = Dr ? Dr(e) === Object.prototype : e instanceof Object || e.constructor === Object, W = e instanceof Object ? "" : "null prototype", k = !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 + " " : "", N = K + (k || W ? "[" + L.call(Fr.call([], k || [], W || []), ": ") + "] " : "");
147
147
  return B.length === 0 ? N + "{}" : y ? N + "{" + ur(B, y) + "}" : N + "{ " + L.call(B, ", ") + " }";
148
148
  }
149
149
  return String(e);
150
150
  };
151
151
  function pt(r, e, t) {
152
- var n = t.quoteStyle || e, o = st[n];
153
- return o + r + o;
152
+ var n = t.quoteStyle || e, a = st[n];
153
+ return a + r + a;
154
154
  }
155
155
  function Tn(r) {
156
156
  return H.call(String(r), /"/g, "&quot;");
@@ -184,19 +184,19 @@ function yt(r) {
184
184
  return r && typeof r == "object" && r instanceof Symbol;
185
185
  if (typeof r == "symbol")
186
186
  return !0;
187
- if (!r || typeof r != "object" || !ar)
187
+ if (!r || typeof r != "object" || !or)
188
188
  return !1;
189
189
  try {
190
- return ar.call(r), !0;
190
+ return or.call(r), !0;
191
191
  } catch {
192
192
  }
193
193
  return !1;
194
194
  }
195
195
  function Mn(r) {
196
- if (!r || typeof r != "object" || !or)
196
+ if (!r || typeof r != "object" || !ar)
197
197
  return !1;
198
198
  try {
199
- return or.call(r), !0;
199
+ return ar.call(r), !0;
200
200
  } catch {
201
201
  }
202
202
  return !1;
@@ -301,9 +301,9 @@ function mt(r, e) {
301
301
  var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
302
302
  return mt(vr.call(r, 0, e.maxStringLength), e) + n;
303
303
  }
304
- var o = Cn[e.quoteStyle || "single"];
305
- o.lastIndex = 0;
306
- var i = H.call(H.call(r, o, "\\$1"), /[\x00-\x1f]/g, jn);
304
+ var a = Cn[e.quoteStyle || "single"];
305
+ a.lastIndex = 0;
306
+ var i = H.call(H.call(r, a, "\\$1"), /[\x00-\x1f]/g, jn);
307
307
  return pt(i, "single", e);
308
308
  }
309
309
  function jn(r) {
@@ -323,8 +323,8 @@ function qe(r) {
323
323
  return r + " { ? }";
324
324
  }
325
325
  function Wr(r, e, t, n) {
326
- var o = n ? ur(t, n) : L.call(t, ", ");
327
- return r + " (" + e + ") {" + o + "}";
326
+ var a = n ? ur(t, n) : L.call(t, ", ");
327
+ return r + " (" + e + ") {" + a + "}";
328
328
  }
329
329
  function Vn(r) {
330
330
  for (var e = 0; e < r.length; e++)
@@ -354,12 +354,12 @@ function ur(r, e) {
354
354
  return t + L.call(r, "," + t) + `
355
355
  ` + e.prev;
356
356
  }
357
- function Ae(r, e) {
357
+ function Ee(r, e) {
358
358
  var t = lr(r), n = [];
359
359
  if (t) {
360
360
  n.length = r.length;
361
- for (var o = 0; o < r.length; o++)
362
- n[o] = U(r, o) ? e(r[o], r) : "";
361
+ for (var a = 0; a < r.length; a++)
362
+ n[a] = U(r, a) ? e(r[a], r) : "";
363
363
  }
364
364
  var i = typeof Ue == "function" ? Ue(r) : [], c;
365
365
  if (ie) {
@@ -375,10 +375,10 @@ function Ae(r, e) {
375
375
  return n;
376
376
  }
377
377
  var Hn = Ne, Yn = ce, xe = function(r, e, t) {
378
- for (var n = r, o; (o = n.next) != null; n = o)
379
- if (o.key === e)
380
- return n.next = o.next, t || (o.next = /** @type {NonNullable<typeof list.next>} */
381
- r.next, r.next = o), o;
378
+ for (var n = r, a; (a = n.next) != null; n = a)
379
+ if (a.key === e)
380
+ return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
381
+ r.next, r.next = a), a;
382
382
  }, Kn = function(r, e) {
383
383
  if (r) {
384
384
  var t = xe(r, e);
@@ -405,8 +405,8 @@ var Hn = Ne, Yn = ce, xe = function(r, e, t) {
405
405
  throw new Yn("Side channel does not contain " + Hn(n));
406
406
  },
407
407
  delete: function(n) {
408
- var o = e && e.next, i = Xn(e, n);
409
- return i && o && o === i && (e = void 0), !!i;
408
+ var a = e && e.next, i = Xn(e, n);
409
+ return i && a && a === i && (e = void 0), !!i;
410
410
  },
411
411
  get: function(n) {
412
412
  return Kn(e, n);
@@ -414,23 +414,23 @@ var Hn = Ne, Yn = ce, xe = function(r, e, t) {
414
414
  has: function(n) {
415
415
  return Jn(e, n);
416
416
  },
417
- set: function(n, o) {
417
+ set: function(n, a) {
418
418
  e || (e = {
419
419
  next: void 0
420
420
  }), Qn(
421
421
  /** @type {NonNullable<typeof $o>} */
422
422
  e,
423
423
  n,
424
- o
424
+ a
425
425
  );
426
426
  }
427
427
  };
428
428
  return t;
429
- }, vt = Object, eo = Error, ro = EvalError, to = RangeError, no = ReferenceError, oo = SyntaxError, ao = URIError, io = Math.abs, lo = Math.floor, uo = Math.max, co = Math.min, fo = Math.pow, so = Math.round, po = Number.isNaN || function(e) {
429
+ }, vt = Object, ea = Error, ra = EvalError, ta = RangeError, na = ReferenceError, aa = SyntaxError, oa = URIError, ia = Math.abs, la = Math.floor, ua = Math.max, ca = Math.min, fa = Math.pow, sa = Math.round, pa = Number.isNaN || function(e) {
430
430
  return e !== e;
431
- }, yo = po, mo = function(e) {
432
- return yo(e) || e === 0 ? e : e < 0 ? -1 : 1;
433
- }, vo = Object.getOwnPropertyDescriptor, Pe = vo;
431
+ }, ya = pa, da = function(e) {
432
+ return ya(e) || e === 0 ? e : e < 0 ? -1 : 1;
433
+ }, ma = Object.getOwnPropertyDescriptor, Pe = ma;
434
434
  if (Pe)
435
435
  try {
436
436
  Pe([], "length");
@@ -444,8 +444,8 @@ if ($e)
444
444
  } catch {
445
445
  $e = !1;
446
446
  }
447
- var go = $e, We, kr;
448
- function ho() {
447
+ var va = $e, We, kr;
448
+ function ga() {
449
449
  return kr || (kr = 1, We = function() {
450
450
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
451
451
  return !1;
@@ -454,8 +454,8 @@ function ho() {
454
454
  var e = {}, t = Symbol("test"), n = Object(t);
455
455
  if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]")
456
456
  return !1;
457
- var o = 42;
458
- e[t] = o;
457
+ var a = 42;
458
+ e[t] = a;
459
459
  for (var i in e)
460
460
  return !1;
461
461
  if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
@@ -468,17 +468,17 @@ function ho() {
468
468
  /** @type {PropertyDescriptor} */
469
469
  Object.getOwnPropertyDescriptor(e, t)
470
470
  );
471
- if (l.value !== o || l.enumerable !== !0)
471
+ if (l.value !== a || l.enumerable !== !0)
472
472
  return !1;
473
473
  }
474
474
  return !0;
475
475
  }), We;
476
476
  }
477
477
  var ke, Gr;
478
- function So() {
478
+ function ha() {
479
479
  if (Gr) return ke;
480
480
  Gr = 1;
481
- var r = typeof Symbol < "u" && Symbol, e = ho();
481
+ var r = typeof Symbol < "u" && Symbol, e = ga();
482
482
  return ke = function() {
483
483
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
484
484
  }, ke;
@@ -495,10 +495,10 @@ function St() {
495
495
  return je = r.getPrototypeOf || null, je;
496
496
  }
497
497
  var Ve, zr;
498
- function bo() {
498
+ function Sa() {
499
499
  if (zr) return Ve;
500
500
  zr = 1;
501
- var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", o = function(f, u) {
501
+ var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", a = function(f, u) {
502
502
  for (var p = [], y = 0; y < f.length; y += 1)
503
503
  p[y] = f[y];
504
504
  for (var m = 0; m < u.length; m += 1)
@@ -521,13 +521,13 @@ function bo() {
521
521
  if (this instanceof y) {
522
522
  var g = u.apply(
523
523
  this,
524
- o(p, arguments)
524
+ a(p, arguments)
525
525
  );
526
526
  return Object(g) === g ? g : this;
527
527
  }
528
528
  return u.apply(
529
529
  f,
530
- o(p, arguments)
530
+ a(p, arguments)
531
531
  );
532
532
  }, h = t(0, u.length - p.length), v = [], P = 0; P < h; P++)
533
533
  v[P] = "$" + P;
@@ -543,7 +543,7 @@ var ze, Hr;
543
543
  function Fe() {
544
544
  if (Hr) return ze;
545
545
  Hr = 1;
546
- var r = bo();
546
+ var r = Sa();
547
547
  return ze = Function.prototype.bind || r, ze;
548
548
  }
549
549
  var He, Yr;
@@ -554,15 +554,15 @@ var Ye, Kr;
554
554
  function bt() {
555
555
  return Kr || (Kr = 1, Ye = Function.prototype.apply), Ye;
556
556
  }
557
- var Eo = typeof Reflect < "u" && Reflect && Reflect.apply, Ao = Fe(), Oo = bt(), Po = gr(), $o = Eo, wo = $o || Ao.call(Po, Oo), Ro = Fe(), Co = ce, To = gr(), _o = wo, Et = function(e) {
557
+ var ba = typeof Reflect < "u" && Reflect && Reflect.apply, Aa = Fe(), Ea = bt(), Oa = gr(), Pa = ba, $a = Pa || Aa.call(Oa, Ea), wa = Fe(), Ra = ce, Ca = gr(), Ta = $a, At = function(e) {
558
558
  if (e.length < 1 || typeof e[0] != "function")
559
- throw new Co("a function is required");
560
- return _o(Ro, To, e);
559
+ throw new Ra("a function is required");
560
+ return Ta(wa, Ca, e);
561
561
  }, Ke, Qr;
562
- function Io() {
562
+ function _a() {
563
563
  if (Qr) return Ke;
564
564
  Qr = 1;
565
- var r = Et, e = gt, t;
565
+ var r = At, e = gt, t;
566
566
  try {
567
567
  t = /** @type {{ __proto__?: typeof Array.prototype }} */
568
568
  [].__proto__ === Array.prototype;
@@ -574,44 +574,44 @@ function Io() {
574
574
  Object.prototype,
575
575
  /** @type {keyof typeof Object.prototype} */
576
576
  "__proto__"
577
- ), o = Object, i = o.getPrototypeOf;
577
+ ), a = Object, i = a.getPrototypeOf;
578
578
  return Ke = n && typeof n.get == "function" ? r([n.get]) : typeof i == "function" ? (
579
579
  /** @type {import('./get')} */
580
580
  function(l) {
581
- return i(l == null ? l : o(l));
581
+ return i(l == null ? l : a(l));
582
582
  }
583
583
  ) : !1, Ke;
584
584
  }
585
585
  var Qe, Jr;
586
- function No() {
586
+ function Ia() {
587
587
  if (Jr) return Qe;
588
588
  Jr = 1;
589
- var r = ht(), e = St(), t = Io();
590
- return Qe = r ? function(o) {
591
- return r(o);
592
- } : e ? function(o) {
593
- if (!o || typeof o != "object" && typeof o != "function")
589
+ var r = ht(), e = St(), t = _a();
590
+ return Qe = r ? function(a) {
591
+ return r(a);
592
+ } : e ? function(a) {
593
+ if (!a || typeof a != "object" && typeof a != "function")
594
594
  throw new TypeError("getProto: not an object");
595
- return e(o);
596
- } : t ? function(o) {
597
- return t(o);
595
+ return e(a);
596
+ } : t ? function(a) {
597
+ return t(a);
598
598
  } : null, Qe;
599
599
  }
600
600
  var Je, Xr;
601
- function xo() {
601
+ function Na() {
602
602
  if (Xr) return Je;
603
603
  Xr = 1;
604
604
  var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Fe();
605
605
  return Je = t.call(r, e), Je;
606
606
  }
607
- var S, Fo = vt, Mo = eo, Do = ro, Lo = to, Bo = no, le = oo, oe = ce, Uo = ao, qo = io, Wo = lo, ko = uo, Go = co, jo = fo, Vo = so, zo = mo, At = Function, Xe = function(r) {
607
+ var S, xa = vt, Fa = ea, Ma = ra, Da = ta, La = na, le = aa, ae = ce, Ba = oa, Ua = ia, qa = la, Wa = ua, ka = ca, Ga = fa, ja = sa, Va = da, Et = Function, Xe = function(r) {
608
608
  try {
609
- return At('"use strict"; return (' + r + ").constructor;")();
609
+ return Et('"use strict"; return (' + r + ").constructor;")();
610
610
  } catch {
611
611
  }
612
- }, me = gt, Ho = go, Ze = function() {
613
- throw new oe();
614
- }, Yo = me ? function() {
612
+ }, me = gt, za = va, Ze = function() {
613
+ throw new ae();
614
+ }, Ha = me ? function() {
615
615
  try {
616
616
  return arguments.callee, Ze;
617
617
  } catch {
@@ -621,7 +621,7 @@ var S, Fo = vt, Mo = eo, Do = ro, Lo = to, Bo = no, le = oo, oe = ce, Uo = ao, q
621
621
  return Ze;
622
622
  }
623
623
  }
624
- }() : Ze, re = So()(), R = No(), Ko = St(), Qo = ht(), Ot = bt(), ve = gr(), ne = {}, Jo = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
624
+ }() : Ze, re = ha()(), R = Ia(), Ya = St(), Ka = ht(), Ot = bt(), ve = gr(), ne = {}, Qa = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
625
625
  __proto__: null,
626
626
  "%AggregateError%": typeof AggregateError > "u" ? S : AggregateError,
627
627
  "%Array%": Array,
@@ -643,14 +643,15 @@ var S, Fo = vt, Mo = eo, Do = ro, Lo = to, Bo = no, le = oo, oe = ce, Uo = ao, q
643
643
  "%decodeURIComponent%": decodeURIComponent,
644
644
  "%encodeURI%": encodeURI,
645
645
  "%encodeURIComponent%": encodeURIComponent,
646
- "%Error%": Mo,
646
+ "%Error%": Fa,
647
647
  "%eval%": eval,
648
648
  // eslint-disable-line no-eval
649
- "%EvalError%": Do,
649
+ "%EvalError%": Ma,
650
+ "%Float16Array%": typeof Float16Array > "u" ? S : Float16Array,
650
651
  "%Float32Array%": typeof Float32Array > "u" ? S : Float32Array,
651
652
  "%Float64Array%": typeof Float64Array > "u" ? S : Float64Array,
652
653
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? S : FinalizationRegistry,
653
- "%Function%": At,
654
+ "%Function%": Et,
654
655
  "%GeneratorFunction%": ne,
655
656
  "%Int8Array%": typeof Int8Array > "u" ? S : Int8Array,
656
657
  "%Int16Array%": typeof Int16Array > "u" ? S : Int16Array,
@@ -663,14 +664,14 @@ var S, Fo = vt, Mo = eo, Do = ro, Lo = to, Bo = no, le = oo, oe = ce, Uo = ao, q
663
664
  "%MapIteratorPrototype%": typeof Map > "u" || !re || !R ? S : R((/* @__PURE__ */ new Map())[Symbol.iterator]()),
664
665
  "%Math%": Math,
665
666
  "%Number%": Number,
666
- "%Object%": Fo,
667
+ "%Object%": xa,
667
668
  "%Object.getOwnPropertyDescriptor%": me,
668
669
  "%parseFloat%": parseFloat,
669
670
  "%parseInt%": parseInt,
670
671
  "%Promise%": typeof Promise > "u" ? S : Promise,
671
672
  "%Proxy%": typeof Proxy > "u" ? S : Proxy,
672
- "%RangeError%": Lo,
673
- "%ReferenceError%": Bo,
673
+ "%RangeError%": Da,
674
+ "%ReferenceError%": La,
674
675
  "%Reflect%": typeof Reflect > "u" ? S : Reflect,
675
676
  "%RegExp%": RegExp,
676
677
  "%Set%": typeof Set > "u" ? S : Set,
@@ -680,38 +681,38 @@ var S, Fo = vt, Mo = eo, Do = ro, Lo = to, Bo = no, le = oo, oe = ce, Uo = ao, q
680
681
  "%StringIteratorPrototype%": re && R ? R(""[Symbol.iterator]()) : S,
681
682
  "%Symbol%": re ? Symbol : S,
682
683
  "%SyntaxError%": le,
683
- "%ThrowTypeError%": Yo,
684
- "%TypedArray%": Jo,
685
- "%TypeError%": oe,
684
+ "%ThrowTypeError%": Ha,
685
+ "%TypedArray%": Qa,
686
+ "%TypeError%": ae,
686
687
  "%Uint8Array%": typeof Uint8Array > "u" ? S : Uint8Array,
687
688
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? S : Uint8ClampedArray,
688
689
  "%Uint16Array%": typeof Uint16Array > "u" ? S : Uint16Array,
689
690
  "%Uint32Array%": typeof Uint32Array > "u" ? S : Uint32Array,
690
- "%URIError%": Uo,
691
+ "%URIError%": Ba,
691
692
  "%WeakMap%": typeof WeakMap > "u" ? S : WeakMap,
692
693
  "%WeakRef%": typeof WeakRef > "u" ? S : WeakRef,
693
694
  "%WeakSet%": typeof WeakSet > "u" ? S : WeakSet,
694
695
  "%Function.prototype.call%": ve,
695
696
  "%Function.prototype.apply%": Ot,
696
- "%Object.defineProperty%": Ho,
697
- "%Object.getPrototypeOf%": Ko,
698
- "%Math.abs%": qo,
699
- "%Math.floor%": Wo,
700
- "%Math.max%": ko,
701
- "%Math.min%": Go,
702
- "%Math.pow%": jo,
703
- "%Math.round%": Vo,
704
- "%Math.sign%": zo,
705
- "%Reflect.getPrototypeOf%": Qo
697
+ "%Object.defineProperty%": za,
698
+ "%Object.getPrototypeOf%": Ya,
699
+ "%Math.abs%": Ua,
700
+ "%Math.floor%": qa,
701
+ "%Math.max%": Wa,
702
+ "%Math.min%": ka,
703
+ "%Math.pow%": Ga,
704
+ "%Math.round%": ja,
705
+ "%Math.sign%": Va,
706
+ "%Reflect.getPrototypeOf%": Ka
706
707
  };
707
708
  if (R)
708
709
  try {
709
710
  null.error;
710
711
  } catch (r) {
711
- var Xo = R(R(r));
712
- J["%Error.prototype%"] = Xo;
712
+ var Ja = R(R(r));
713
+ J["%Error.prototype%"] = Ja;
713
714
  }
714
- var Zo = function r(e) {
715
+ var Xa = function r(e) {
715
716
  var t;
716
717
  if (e === "%AsyncFunction%")
717
718
  t = Xe("async function () {}");
@@ -723,8 +724,8 @@ var Zo = function r(e) {
723
724
  var n = r("%AsyncGeneratorFunction%");
724
725
  n && (t = n.prototype);
725
726
  } else if (e === "%AsyncIteratorPrototype%") {
726
- var o = r("%AsyncGenerator%");
727
- o && R && (t = R(o.prototype));
727
+ var a = r("%AsyncGenerator%");
728
+ a && R && (t = R(a.prototype));
728
729
  }
729
730
  return J[e] = t, t;
730
731
  }, Zr = {
@@ -780,24 +781,24 @@ var Zo = function r(e) {
780
781
  "%URIErrorPrototype%": ["URIError", "prototype"],
781
782
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
782
783
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
783
- }, ge = Fe(), Te = xo(), ea = ge.call(ve, Array.prototype.concat), ra = ge.call(Ot, Array.prototype.splice), et = ge.call(ve, String.prototype.replace), _e = ge.call(ve, String.prototype.slice), ta = ge.call(ve, RegExp.prototype.exec), na = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, oa = /\\(\\)?/g, aa = function(e) {
784
+ }, ge = Fe(), Te = Na(), Za = ge.call(ve, Array.prototype.concat), eo = ge.call(Ot, Array.prototype.splice), et = ge.call(ve, String.prototype.replace), _e = ge.call(ve, String.prototype.slice), ro = ge.call(ve, RegExp.prototype.exec), to = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, no = /\\(\\)?/g, ao = function(e) {
784
785
  var t = _e(e, 0, 1), n = _e(e, -1);
785
786
  if (t === "%" && n !== "%")
786
787
  throw new le("invalid intrinsic syntax, expected closing `%`");
787
788
  if (n === "%" && t !== "%")
788
789
  throw new le("invalid intrinsic syntax, expected opening `%`");
789
- var o = [];
790
- return et(e, na, function(i, c, l, f) {
791
- o[o.length] = l ? et(f, oa, "$1") : c || i;
792
- }), o;
793
- }, ia = function(e, t) {
794
- var n = e, o;
795
- if (Te(Zr, n) && (o = Zr[n], n = "%" + o[0] + "%"), Te(J, n)) {
790
+ var a = [];
791
+ return et(e, to, function(i, c, l, f) {
792
+ a[a.length] = l ? et(f, no, "$1") : c || i;
793
+ }), a;
794
+ }, oo = function(e, t) {
795
+ var n = e, a;
796
+ if (Te(Zr, n) && (a = Zr[n], n = "%" + a[0] + "%"), Te(J, n)) {
796
797
  var i = J[n];
797
- if (i === ne && (i = Zo(n)), typeof i > "u" && !t)
798
- throw new oe("intrinsic " + e + " exists, but is not available. Please file an issue!");
798
+ if (i === ne && (i = Xa(n)), typeof i > "u" && !t)
799
+ throw new ae("intrinsic " + e + " exists, but is not available. Please file an issue!");
799
800
  return {
800
- alias: o,
801
+ alias: a,
801
802
  name: n,
802
803
  value: i
803
804
  };
@@ -805,23 +806,23 @@ var Zo = function r(e) {
805
806
  throw new le("intrinsic " + e + " does not exist!");
806
807
  }, hr = function(e, t) {
807
808
  if (typeof e != "string" || e.length === 0)
808
- throw new oe("intrinsic name must be a non-empty string");
809
+ throw new ae("intrinsic name must be a non-empty string");
809
810
  if (arguments.length > 1 && typeof t != "boolean")
810
- throw new oe('"allowMissing" argument must be a boolean');
811
- if (ta(/^%?[^%]*%?$/, e) === null)
811
+ throw new ae('"allowMissing" argument must be a boolean');
812
+ if (ro(/^%?[^%]*%?$/, e) === null)
812
813
  throw new le("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
813
- var n = aa(e), o = n.length > 0 ? n[0] : "", i = ia("%" + o + "%", t), c = i.name, l = i.value, f = !1, u = i.alias;
814
- u && (o = u[0], ra(n, ea([0, 1], u)));
814
+ var n = ao(e), a = n.length > 0 ? n[0] : "", i = oo("%" + a + "%", t), c = i.name, l = i.value, f = !1, u = i.alias;
815
+ u && (a = u[0], eo(n, Za([0, 1], u)));
815
816
  for (var p = 1, y = !0; p < n.length; p += 1) {
816
817
  var m = n[p], h = _e(m, 0, 1), v = _e(m, -1);
817
818
  if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
818
819
  throw new le("property names with quotes must have matching quotes");
819
- if ((m === "constructor" || !y) && (f = !0), o += "." + m, c = "%" + o + "%", Te(J, c))
820
+ if ((m === "constructor" || !y) && (f = !0), a += "." + m, c = "%" + a + "%", Te(J, c))
820
821
  l = J[c];
821
822
  else if (l != null) {
822
823
  if (!(m in l)) {
823
824
  if (!t)
824
- throw new oe("base intrinsic for " + e + " exists, but the property is not available.");
825
+ throw new ae("base intrinsic for " + e + " exists, but the property is not available.");
825
826
  return;
826
827
  }
827
828
  if (me && p + 1 >= n.length) {
@@ -833,71 +834,74 @@ var Zo = function r(e) {
833
834
  }
834
835
  }
835
836
  return l;
836
- }, Pt = hr, $t = Et, la = $t([Pt("%String.prototype.indexOf%")]), wt = function(e, t) {
837
+ }, Pt = hr, $t = At, io = $t([Pt("%String.prototype.indexOf%")]), wt = function(e, t) {
837
838
  var n = (
838
- /** @type {Parameters<typeof callBindBasic>[0][0]} */
839
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
839
840
  Pt(e, !!t)
840
841
  );
841
- return typeof n == "function" && la(e, ".prototype.") > -1 ? $t([n]) : n;
842
- }, ua = hr, he = wt, ca = Ne, fa = ce, rt = ua("%Map%", !0), sa = he("Map.prototype.get", !0), pa = he("Map.prototype.set", !0), ya = he("Map.prototype.has", !0), da = he("Map.prototype.delete", !0), ma = he("Map.prototype.size", !0), Rt = !!rt && /** @type {Exclude<import('.'), false>} */
842
+ return typeof n == "function" && io(e, ".prototype.") > -1 ? $t(
843
+ /** @type {const} */
844
+ [n]
845
+ ) : n;
846
+ }, lo = hr, he = wt, uo = Ne, co = ce, rt = lo("%Map%", !0), fo = he("Map.prototype.get", !0), so = he("Map.prototype.set", !0), po = he("Map.prototype.has", !0), yo = he("Map.prototype.delete", !0), mo = he("Map.prototype.size", !0), Rt = !!rt && /** @type {Exclude<import('.'), false>} */
843
847
  function() {
844
848
  var e, t = {
845
849
  assert: function(n) {
846
850
  if (!t.has(n))
847
- throw new fa("Side channel does not contain " + ca(n));
851
+ throw new co("Side channel does not contain " + uo(n));
848
852
  },
849
853
  delete: function(n) {
850
854
  if (e) {
851
- var o = da(e, n);
852
- return ma(e) === 0 && (e = void 0), o;
855
+ var a = yo(e, n);
856
+ return mo(e) === 0 && (e = void 0), a;
853
857
  }
854
858
  return !1;
855
859
  },
856
860
  get: function(n) {
857
861
  if (e)
858
- return sa(e, n);
862
+ return fo(e, n);
859
863
  },
860
864
  has: function(n) {
861
- return e ? ya(e, n) : !1;
865
+ return e ? po(e, n) : !1;
862
866
  },
863
- set: function(n, o) {
864
- e || (e = new rt()), pa(e, n, o);
867
+ set: function(n, a) {
868
+ e || (e = new rt()), so(e, n, a);
865
869
  }
866
870
  };
867
871
  return t;
868
- }, va = hr, Me = wt, ga = Ne, Oe = Rt, ha = ce, te = va("%WeakMap%", !0), Sa = Me("WeakMap.prototype.get", !0), ba = Me("WeakMap.prototype.set", !0), Ea = Me("WeakMap.prototype.has", !0), Aa = Me("WeakMap.prototype.delete", !0), Oa = te ? (
872
+ }, vo = hr, Me = wt, go = Ne, Oe = Rt, ho = ce, te = vo("%WeakMap%", !0), So = Me("WeakMap.prototype.get", !0), bo = Me("WeakMap.prototype.set", !0), Ao = Me("WeakMap.prototype.has", !0), Eo = Me("WeakMap.prototype.delete", !0), Oo = te ? (
869
873
  /** @type {Exclude<import('.'), false>} */
870
874
  function() {
871
875
  var e, t, n = {
872
- assert: function(o) {
873
- if (!n.has(o))
874
- throw new ha("Side channel does not contain " + ga(o));
876
+ assert: function(a) {
877
+ if (!n.has(a))
878
+ throw new ho("Side channel does not contain " + go(a));
875
879
  },
876
- delete: function(o) {
877
- if (te && o && (typeof o == "object" || typeof o == "function")) {
880
+ delete: function(a) {
881
+ if (te && a && (typeof a == "object" || typeof a == "function")) {
878
882
  if (e)
879
- return Aa(e, o);
883
+ return Eo(e, a);
880
884
  } else if (Oe && t)
881
- return t.delete(o);
885
+ return t.delete(a);
882
886
  return !1;
883
887
  },
884
- get: function(o) {
885
- return te && o && (typeof o == "object" || typeof o == "function") && e ? Sa(e, o) : t && t.get(o);
888
+ get: function(a) {
889
+ return te && a && (typeof a == "object" || typeof a == "function") && e ? So(e, a) : t && t.get(a);
886
890
  },
887
- has: function(o) {
888
- return te && o && (typeof o == "object" || typeof o == "function") && e ? Ea(e, o) : !!t && t.has(o);
891
+ has: function(a) {
892
+ return te && a && (typeof a == "object" || typeof a == "function") && e ? Ao(e, a) : !!t && t.has(a);
889
893
  },
890
- set: function(o, i) {
891
- te && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new te()), ba(e, o, i)) : Oe && (t || (t = Oe()), t.set(o, i));
894
+ set: function(a, i) {
895
+ te && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new te()), bo(e, a, i)) : Oe && (t || (t = Oe()), t.set(a, i));
892
896
  }
893
897
  };
894
898
  return n;
895
899
  }
896
- ) : Oe, Pa = ce, $a = Ne, wa = Zn, Ra = Rt, Ca = Oa, Ta = Ca || Ra || wa, _a = function() {
900
+ ) : Oe, Po = ce, $o = Ne, wo = Zn, Ro = Rt, Co = Oo, To = Co || Ro || wo, _o = function() {
897
901
  var e, t = {
898
902
  assert: function(n) {
899
903
  if (!t.has(n))
900
- throw new Pa("Side channel does not contain " + $a(n));
904
+ throw new Po("Side channel does not contain " + $o(n));
901
905
  },
902
906
  delete: function(n) {
903
907
  return !!e && e.delete(n);
@@ -908,19 +912,19 @@ function() {
908
912
  has: function(n) {
909
913
  return !!e && e.has(n);
910
914
  },
911
- set: function(n, o) {
912
- e || (e = Ta()), e.set(n, o);
915
+ set: function(n, a) {
916
+ e || (e = To()), e.set(n, a);
913
917
  }
914
918
  };
915
919
  return t;
916
- }, Ia = String.prototype.replace, Na = /%20/g, er = {
920
+ }, Io = String.prototype.replace, No = /%20/g, er = {
917
921
  RFC1738: "RFC1738",
918
922
  RFC3986: "RFC3986"
919
923
  }, Sr = {
920
924
  default: er.RFC3986,
921
925
  formatters: {
922
926
  RFC1738: function(r) {
923
- return Ia.call(r, Na, "+");
927
+ return Io.call(r, No, "+");
924
928
  },
925
929
  RFC3986: function(r) {
926
930
  return String(r);
@@ -928,24 +932,24 @@ function() {
928
932
  },
929
933
  RFC1738: er.RFC1738,
930
934
  RFC3986: er.RFC3986
931
- }, xa = Sr, rr = Object.prototype.hasOwnProperty, Q = Array.isArray, D = function() {
935
+ }, xo = Sr, rr = Object.prototype.hasOwnProperty, Q = Array.isArray, D = function() {
932
936
  for (var r = [], e = 0; e < 256; ++e)
933
937
  r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
934
938
  return r;
935
- }(), Fa = function(e) {
939
+ }(), Fo = function(e) {
936
940
  for (; e.length > 1; ) {
937
941
  var t = e.pop(), n = t.obj[t.prop];
938
942
  if (Q(n)) {
939
- for (var o = [], i = 0; i < n.length; ++i)
940
- typeof n[i] < "u" && o.push(n[i]);
941
- t.obj[t.prop] = o;
943
+ for (var a = [], i = 0; i < n.length; ++i)
944
+ typeof n[i] < "u" && a.push(n[i]);
945
+ t.obj[t.prop] = a;
942
946
  }
943
947
  }
944
948
  }, Ct = function(e, t) {
945
- for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
946
- typeof e[o] < "u" && (n[o] = e[o]);
949
+ for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = 0; a < e.length; ++a)
950
+ typeof e[a] < "u" && (n[a] = e[a]);
947
951
  return n;
948
- }, Ma = function r(e, t, n) {
952
+ }, Mo = function r(e, t, n) {
949
953
  if (!t)
950
954
  return e;
951
955
  if (typeof t != "object") {
@@ -959,8 +963,8 @@ function() {
959
963
  }
960
964
  if (!e || typeof e != "object")
961
965
  return [e].concat(t);
962
- var o = e;
963
- return Q(e) && !Q(t) && (o = Ct(e, n)), Q(e) && Q(t) ? (t.forEach(function(i, c) {
966
+ var a = e;
967
+ return Q(e) && !Q(t) && (a = Ct(e, n)), Q(e) && Q(t) ? (t.forEach(function(i, c) {
964
968
  if (rr.call(e, c)) {
965
969
  var l = e[c];
966
970
  l && typeof l == "object" && i && typeof i == "object" ? e[c] = r(l, i, n) : e.push(i);
@@ -969,12 +973,12 @@ function() {
969
973
  }), e) : Object.keys(t).reduce(function(i, c) {
970
974
  var l = t[c];
971
975
  return rr.call(i, c) ? i[c] = r(i[c], l, n) : i[c] = l, i;
972
- }, o);
973
- }, Da = function(e, t) {
974
- return Object.keys(t).reduce(function(n, o) {
975
- return n[o] = t[o], n;
976
+ }, a);
977
+ }, Do = function(e, t) {
978
+ return Object.keys(t).reduce(function(n, a) {
979
+ return n[a] = t[a], n;
976
980
  }, e);
977
- }, La = function(r, e, t) {
981
+ }, Lo = function(r, e, t) {
978
982
  var n = r.replace(/\+/g, " ");
979
983
  if (t === "iso-8859-1")
980
984
  return n.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -983,7 +987,7 @@ function() {
983
987
  } catch {
984
988
  return n;
985
989
  }
986
- }, Ba = function(e, t, n, o, i) {
990
+ }, Bo = function(e, t, n, a, i) {
987
991
  if (e.length === 0)
988
992
  return e;
989
993
  var c = e;
@@ -993,7 +997,7 @@ function() {
993
997
  });
994
998
  for (var l = "", f = 0; f < c.length; ++f) {
995
999
  var u = c.charCodeAt(f);
996
- if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || i === xa.RFC1738 && (u === 40 || u === 41)) {
1000
+ if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || i === xo.RFC1738 && (u === 40 || u === 41)) {
997
1001
  l += c.charAt(f);
998
1002
  continue;
999
1003
  }
@@ -1012,38 +1016,38 @@ function() {
1012
1016
  f += 1, u = 65536 + ((u & 1023) << 10 | c.charCodeAt(f) & 1023), l += D[240 | u >> 18] + D[128 | u >> 12 & 63] + D[128 | u >> 6 & 63] + D[128 | u & 63];
1013
1017
  }
1014
1018
  return l;
1015
- }, Ua = function(e) {
1016
- for (var t = [{ obj: { o: e }, prop: "o" }], n = [], o = 0; o < t.length; ++o)
1017
- for (var i = t[o], c = i.obj[i.prop], l = Object.keys(c), f = 0; f < l.length; ++f) {
1019
+ }, Uo = function(e) {
1020
+ for (var t = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < t.length; ++a)
1021
+ for (var i = t[a], c = i.obj[i.prop], l = Object.keys(c), f = 0; f < l.length; ++f) {
1018
1022
  var u = l[f], p = c[u];
1019
1023
  typeof p == "object" && p !== null && n.indexOf(p) === -1 && (t.push({ obj: c, prop: u }), n.push(p));
1020
1024
  }
1021
- return Fa(t), e;
1022
- }, qa = function(e) {
1025
+ return Fo(t), e;
1026
+ }, qo = function(e) {
1023
1027
  return Object.prototype.toString.call(e) === "[object RegExp]";
1024
- }, Wa = function(e) {
1028
+ }, Wo = function(e) {
1025
1029
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1026
- }, ka = function(e, t) {
1030
+ }, ko = function(e, t) {
1027
1031
  return [].concat(e, t);
1028
- }, Ga = function(e, t) {
1032
+ }, Go = function(e, t) {
1029
1033
  if (Q(e)) {
1030
- for (var n = [], o = 0; o < e.length; o += 1)
1031
- n.push(t(e[o]));
1034
+ for (var n = [], a = 0; a < e.length; a += 1)
1035
+ n.push(t(e[a]));
1032
1036
  return n;
1033
1037
  }
1034
1038
  return t(e);
1035
1039
  }, Tt = {
1036
1040
  arrayToObject: Ct,
1037
- assign: Da,
1038
- combine: ka,
1039
- compact: Ua,
1040
- decode: La,
1041
- encode: Ba,
1042
- isBuffer: Wa,
1043
- isRegExp: qa,
1044
- maybeMap: Ga,
1045
- merge: Ma
1046
- }, _t = _a, we = Tt, de = Sr, ja = Object.prototype.hasOwnProperty, tt = {
1041
+ assign: Do,
1042
+ combine: ko,
1043
+ compact: Uo,
1044
+ decode: Lo,
1045
+ encode: Bo,
1046
+ isBuffer: Wo,
1047
+ isRegExp: qo,
1048
+ maybeMap: Go,
1049
+ merge: Mo
1050
+ }, _t = _o, we = Tt, de = Sr, jo = Object.prototype.hasOwnProperty, tt = {
1047
1051
  brackets: function(e) {
1048
1052
  return e + "[]";
1049
1053
  },
@@ -1054,9 +1058,9 @@ function() {
1054
1058
  repeat: function(e) {
1055
1059
  return e;
1056
1060
  }
1057
- }, q = Array.isArray, Va = Array.prototype.push, It = function(r, e) {
1058
- Va.apply(r, q(e) ? e : [e]);
1059
- }, za = Date.prototype.toISOString, nt = de.default, T = {
1061
+ }, q = Array.isArray, Vo = Array.prototype.push, It = function(r, e) {
1062
+ Vo.apply(r, q(e) ? e : [e]);
1063
+ }, zo = Date.prototype.toISOString, nt = de.default, T = {
1060
1064
  addQueryPrefix: !1,
1061
1065
  allowDots: !1,
1062
1066
  charset: "utf-8",
@@ -1070,13 +1074,13 @@ function() {
1070
1074
  // deprecated
1071
1075
  indices: !1,
1072
1076
  serializeDate: function(e) {
1073
- return za.call(e);
1077
+ return zo.call(e);
1074
1078
  },
1075
1079
  skipNulls: !1,
1076
1080
  strictNullHandling: !1
1077
- }, Ha = function(e) {
1081
+ }, Ho = function(e) {
1078
1082
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1079
- }, tr = {}, Ya = function r(e, t, n, o, i, c, l, f, u, p, y, m, h, v, P, C) {
1083
+ }, tr = {}, Yo = function r(e, t, n, a, i, c, l, f, u, p, y, m, h, v, P, C) {
1080
1084
  for (var g = e, I = C, O = 0, $ = !1; (I = I.get(tr)) !== void 0 && !$; ) {
1081
1085
  var s = I.get(e);
1082
1086
  if (O += 1, typeof s < "u") {
@@ -1093,7 +1097,7 @@ function() {
1093
1097
  return l && !v ? l(t, T.encoder, P, "key", m) : t;
1094
1098
  g = "";
1095
1099
  }
1096
- if (Ha(g) || we.isBuffer(g)) {
1100
+ if (Ho(g) || we.isBuffer(g)) {
1097
1101
  if (l) {
1098
1102
  var F = v ? t : l(t, T.encoder, P, "key", m);
1099
1103
  return [h(F) + "=" + h(l(g, T.encoder, P, "value", m))];
@@ -1112,7 +1116,7 @@ function() {
1112
1116
  var W = Object.keys(g);
1113
1117
  M = u ? W.sort(u) : W;
1114
1118
  }
1115
- for (var k = o && q(g) && g.length === 1 ? t + "[]" : t, K = 0; K < M.length; ++K) {
1119
+ for (var k = a && q(g) && g.length === 1 ? t + "[]" : t, K = 0; K < M.length; ++K) {
1116
1120
  var N = M[K], x = typeof N == "object" && typeof N.value < "u" ? N.value : g[N];
1117
1121
  if (!(c && x === null)) {
1118
1122
  var G = q(g) ? typeof n == "function" ? n(k, N) : k : k + (p ? "." + N : "[" + N + "]");
@@ -1122,7 +1126,7 @@ function() {
1122
1126
  x,
1123
1127
  G,
1124
1128
  n,
1125
- o,
1129
+ a,
1126
1130
  i,
1127
1131
  c,
1128
1132
  n === "comma" && v && q(g) ? null : l,
@@ -1139,7 +1143,7 @@ function() {
1139
1143
  }
1140
1144
  }
1141
1145
  return B;
1142
- }, Ka = function(e) {
1146
+ }, Ko = function(e) {
1143
1147
  if (!e)
1144
1148
  return T;
1145
1149
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
@@ -1149,11 +1153,11 @@ function() {
1149
1153
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1150
1154
  var n = de.default;
1151
1155
  if (typeof e.format < "u") {
1152
- if (!ja.call(de.formatters, e.format))
1156
+ if (!jo.call(de.formatters, e.format))
1153
1157
  throw new TypeError("Unknown format option provided.");
1154
1158
  n = e.format;
1155
1159
  }
1156
- var o = de.formatters[n], i = T.filter;
1160
+ var a = de.formatters[n], i = T.filter;
1157
1161
  return (typeof e.filter == "function" || q(e.filter)) && (i = e.filter), {
1158
1162
  addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : T.addQueryPrefix,
1159
1163
  allowDots: typeof e.allowDots > "u" ? T.allowDots : !!e.allowDots,
@@ -1165,15 +1169,15 @@ function() {
1165
1169
  encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : T.encodeValuesOnly,
1166
1170
  filter: i,
1167
1171
  format: n,
1168
- formatter: o,
1172
+ formatter: a,
1169
1173
  serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : T.serializeDate,
1170
1174
  skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : T.skipNulls,
1171
1175
  sort: typeof e.sort == "function" ? e.sort : null,
1172
1176
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : T.strictNullHandling
1173
1177
  };
1174
- }, Qa = function(r, e) {
1175
- var t = r, n = Ka(e), o, i;
1176
- typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : q(n.filter) && (i = n.filter, o = i);
1178
+ }, Qo = function(r, e) {
1179
+ var t = r, n = Ko(e), a, i;
1180
+ typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : q(n.filter) && (i = n.filter, a = i);
1177
1181
  var c = [];
1178
1182
  if (typeof t != "object" || t === null)
1179
1183
  return "";
@@ -1183,10 +1187,10 @@ function() {
1183
1187
  if (e && "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1184
1188
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1185
1189
  var u = f === "comma" && e && e.commaRoundTrip;
1186
- o || (o = Object.keys(t)), n.sort && o.sort(n.sort);
1187
- for (var p = _t(), y = 0; y < o.length; ++y) {
1188
- var m = o[y];
1189
- n.skipNulls && t[m] === null || It(c, Ya(
1190
+ a || (a = Object.keys(t)), n.sort && a.sort(n.sort);
1191
+ for (var p = _t(), y = 0; y < a.length; ++y) {
1192
+ var m = a[y];
1193
+ n.skipNulls && t[m] === null || It(c, Yo(
1190
1194
  t[m],
1191
1195
  m,
1192
1196
  f,
@@ -1207,7 +1211,7 @@ function() {
1207
1211
  }
1208
1212
  var h = c.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
1209
1213
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), h.length > 0 ? v + h : "";
1210
- }, ue = Tt, cr = Object.prototype.hasOwnProperty, Ja = Array.isArray, w = {
1214
+ }, ue = Tt, cr = Object.prototype.hasOwnProperty, Jo = Array.isArray, w = {
1211
1215
  allowDots: !1,
1212
1216
  allowPrototypes: !1,
1213
1217
  allowSparse: !1,
@@ -1224,17 +1228,17 @@ function() {
1224
1228
  parseArrays: !0,
1225
1229
  plainObjects: !1,
1226
1230
  strictNullHandling: !1
1227
- }, Xa = function(r) {
1231
+ }, Xo = function(r) {
1228
1232
  return r.replace(/&#(\d+);/g, function(e, t) {
1229
1233
  return String.fromCharCode(parseInt(t, 10));
1230
1234
  });
1231
1235
  }, Nt = function(r, e) {
1232
1236
  return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
1233
- }, Za = "utf8=%26%2310003%3B", ei = "utf8=%E2%9C%93", ri = function(e, t) {
1234
- var n = {}, o = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e, i = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, c = o.split(t.delimiter, i), l = -1, f, u = t.charset;
1237
+ }, Zo = "utf8=%26%2310003%3B", ei = "utf8=%E2%9C%93", ri = function(e, t) {
1238
+ var n = {}, a = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e, i = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, c = a.split(t.delimiter, i), l = -1, f, u = t.charset;
1235
1239
  if (t.charsetSentinel)
1236
1240
  for (f = 0; f < c.length; ++f)
1237
- c[f].indexOf("utf8=") === 0 && (c[f] === ei ? u = "utf-8" : c[f] === Za && (u = "iso-8859-1"), l = f, f = c.length);
1241
+ c[f].indexOf("utf8=") === 0 && (c[f] === ei ? u = "utf-8" : c[f] === Zo && (u = "iso-8859-1"), l = f, f = c.length);
1238
1242
  for (f = 0; f < c.length; ++f)
1239
1243
  if (f !== l) {
1240
1244
  var p = c[f], y = p.indexOf("]="), m = y === -1 ? p.indexOf("=") : y + 1, h, v;
@@ -1243,23 +1247,23 @@ function() {
1243
1247
  function(P) {
1244
1248
  return t.decoder(P, w.decoder, u, "value");
1245
1249
  }
1246
- )), v && t.interpretNumericEntities && u === "iso-8859-1" && (v = Xa(v)), p.indexOf("[]=") > -1 && (v = Ja(v) ? [v] : v), cr.call(n, h) ? n[h] = ue.combine(n[h], v) : n[h] = v;
1250
+ )), v && t.interpretNumericEntities && u === "iso-8859-1" && (v = Xo(v)), p.indexOf("[]=") > -1 && (v = Jo(v) ? [v] : v), cr.call(n, h) ? n[h] = ue.combine(n[h], v) : n[h] = v;
1247
1251
  }
1248
1252
  return n;
1249
1253
  }, ti = function(r, e, t, n) {
1250
- for (var o = n ? e : Nt(e, t), i = r.length - 1; i >= 0; --i) {
1254
+ for (var a = n ? e : Nt(e, t), i = r.length - 1; i >= 0; --i) {
1251
1255
  var c, l = r[i];
1252
1256
  if (l === "[]" && t.parseArrays)
1253
- c = [].concat(o);
1257
+ c = [].concat(a);
1254
1258
  else {
1255
1259
  c = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1256
1260
  var f = l.charAt(0) === "[" && l.charAt(l.length - 1) === "]" ? l.slice(1, -1) : l, u = parseInt(f, 10);
1257
- !t.parseArrays && f === "" ? c = { 0: o } : !isNaN(u) && l !== f && String(u) === f && u >= 0 && t.parseArrays && u <= t.arrayLimit ? (c = [], c[u] = o) : f !== "__proto__" && (c[f] = o);
1261
+ !t.parseArrays && f === "" ? c = { 0: a } : !isNaN(u) && l !== f && String(u) === f && u >= 0 && t.parseArrays && u <= t.arrayLimit ? (c = [], c[u] = a) : f !== "__proto__" && (c[f] = a);
1258
1262
  }
1259
- o = c;
1263
+ a = c;
1260
1264
  }
1261
- return o;
1262
- }, ni = function(e, t, n, o) {
1265
+ return a;
1266
+ }, ni = function(e, t, n, a) {
1263
1267
  if (e) {
1264
1268
  var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, c = /(\[[^[\]]*])/, l = /(\[[^[\]]*])/g, f = n.depth > 0 && c.exec(i), u = f ? i.slice(0, f.index) : i, p = [];
1265
1269
  if (u) {
@@ -1272,9 +1276,9 @@ function() {
1272
1276
  return;
1273
1277
  p.push(f[1]);
1274
1278
  }
1275
- return f && p.push("[" + i.slice(f.index) + "]"), ti(p, t, n, o);
1279
+ return f && p.push("[" + i.slice(f.index) + "]"), ti(p, t, n, a);
1276
1280
  }
1277
- }, oi = function(e) {
1281
+ }, ai = function(e) {
1278
1282
  if (!e)
1279
1283
  return w;
1280
1284
  if (e.decoder !== null && e.decoder !== void 0 && typeof e.decoder != "function")
@@ -1301,16 +1305,16 @@ function() {
1301
1305
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : w.plainObjects,
1302
1306
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : w.strictNullHandling
1303
1307
  };
1304
- }, ai = function(r, e) {
1305
- var t = oi(e);
1308
+ }, oi = function(r, e) {
1309
+ var t = ai(e);
1306
1310
  if (r === "" || r === null || typeof r > "u")
1307
1311
  return t.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1308
- for (var n = typeof r == "string" ? ri(r, t) : r, o = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = Object.keys(n), c = 0; c < i.length; ++c) {
1312
+ for (var n = typeof r == "string" ? ri(r, t) : r, a = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = Object.keys(n), c = 0; c < i.length; ++c) {
1309
1313
  var l = i[c], f = ni(l, n[l], t, typeof r == "string");
1310
- o = ue.merge(o, f, t);
1314
+ a = ue.merge(a, f, t);
1311
1315
  }
1312
- return t.allowSparse === !0 ? o : ue.compact(o);
1313
- }, ii = Qa, li = ai, ui = Sr, nr = {
1316
+ return t.allowSparse === !0 ? a : ue.compact(a);
1317
+ }, ii = Qo, li = oi, ui = Sr, nr = {
1314
1318
  formats: ui,
1315
1319
  parse: li,
1316
1320
  stringify: ii
@@ -1333,208 +1337,208 @@ const z = {
1333
1337
  REMOVED: "REMOVED",
1334
1338
  TO_REVIEW: "TO_REVIEW",
1335
1339
  UNKNOWN: "UNKNOWN"
1336
- }, fi = a.object({
1337
- entryLabel: a.record(a.array(a.string())),
1338
- approvalFlow: a.array(a.string()),
1339
- blockedAuthorProps: a.array(a.string()),
1340
- reportReasons: a.object({
1341
- BAD_LANGUAGE: a.literal("BAD_LANGUAGE"),
1342
- DISCRIMINATION: a.literal("DISCRIMINATION"),
1343
- OTHER: a.literal("OTHER")
1340
+ }, fi = o.object({
1341
+ entryLabel: o.record(o.array(o.string())),
1342
+ approvalFlow: o.array(o.string()),
1343
+ blockedAuthorProps: o.array(o.string()),
1344
+ reportReasons: o.object({
1345
+ BAD_LANGUAGE: o.literal("BAD_LANGUAGE"),
1346
+ DISCRIMINATION: o.literal("DISCRIMINATION"),
1347
+ OTHER: o.literal("OTHER")
1344
1348
  }),
1345
- regex: a.object({
1346
- uid: a.string(),
1347
- relatedUid: a.string(),
1348
- email: a.string(),
1349
- sorting: a.string()
1349
+ regex: o.object({
1350
+ uid: o.string(),
1351
+ relatedUid: o.string(),
1352
+ email: o.string(),
1353
+ sorting: o.string()
1350
1354
  }),
1351
- enabledCollections: a.array(a.string()),
1352
- moderatorRoles: a.array(a.string()),
1353
- isGQLPluginEnabled: a.boolean(),
1354
- badWords: a.boolean().nullable().optional(),
1355
- gql: a.object({
1356
- auth: a.boolean().nullable()
1355
+ enabledCollections: o.array(o.string()),
1356
+ moderatorRoles: o.array(o.string()),
1357
+ isGQLPluginEnabled: o.boolean(),
1358
+ badWords: o.boolean().nullable().optional(),
1359
+ gql: o.object({
1360
+ auth: o.boolean().nullable()
1357
1361
  }).optional(),
1358
- client: a.object({
1359
- url: a.string().nullable(),
1360
- contactEmail: a.string().nullable()
1362
+ client: o.object({
1363
+ url: o.string().nullable(),
1364
+ contactEmail: o.string().nullable()
1361
1365
  }).default({ url: null, contactEmail: null })
1362
- }), Ft = a.intersection(
1363
- a.object({
1364
- id: a.number(),
1365
- uid: a.string(),
1366
- documentId: a.string(),
1367
- createdAt: a.string(),
1368
- updatedAt: a.string(),
1369
- publishedAt: a.string().nullable(),
1370
- locale: a.string().nullable().optional()
1366
+ }), Ft = o.intersection(
1367
+ o.object({
1368
+ id: o.number(),
1369
+ uid: o.string(),
1370
+ documentId: o.string(),
1371
+ createdAt: o.string(),
1372
+ updatedAt: o.string(),
1373
+ publishedAt: o.string().nullable(),
1374
+ locale: o.string().nullable().optional()
1371
1375
  }),
1372
- a.record(a.unknown())
1373
- ), si = a.object({
1374
- id: a.union([a.number(), a.string()]),
1375
- name: a.string().optional().nullable(),
1376
- email: a.string(),
1377
- avatar: a.union([
1378
- a.object({
1379
- url: a.string()
1376
+ o.record(o.unknown())
1377
+ ), si = o.object({
1378
+ id: o.union([o.number(), o.string()]),
1379
+ name: o.string().optional().nullable(),
1380
+ email: o.string(),
1381
+ avatar: o.union([
1382
+ o.object({
1383
+ url: o.string()
1380
1384
  }),
1381
- a.object({
1382
- url: a.string(),
1383
- formats: a.object({
1384
- thumbnail: a.object({
1385
- url: a.string()
1385
+ o.object({
1386
+ url: o.string(),
1387
+ formats: o.object({
1388
+ thumbnail: o.object({
1389
+ url: o.string()
1386
1390
  }).nullable()
1387
1391
  })
1388
1392
  }),
1389
- a.string()
1393
+ o.string()
1390
1394
  ]).nullable().optional()
1391
- }), Mt = a.union([
1392
- a.literal(z.PENDING),
1393
- a.literal(z.APPROVED),
1394
- a.literal(z.REJECTED),
1395
- a.literal(z.BLOCKED),
1396
- a.literal(z.OPEN),
1397
- a.literal(z.REMOVED),
1398
- a.literal(z.TO_REVIEW),
1399
- a.literal(z.UNKNOWN)
1400
- ]), Dt = a.union([
1401
- a.literal("BAD_LANGUAGE"),
1402
- a.literal("DISCRIMINATION"),
1403
- a.literal("OTHER")
1404
- ]), pi = a.object({
1405
- id: a.number(),
1395
+ }), Mt = o.union([
1396
+ o.literal(z.PENDING),
1397
+ o.literal(z.APPROVED),
1398
+ o.literal(z.REJECTED),
1399
+ o.literal(z.BLOCKED),
1400
+ o.literal(z.OPEN),
1401
+ o.literal(z.REMOVED),
1402
+ o.literal(z.TO_REVIEW),
1403
+ o.literal(z.UNKNOWN)
1404
+ ]), Dt = o.union([
1405
+ o.literal("BAD_LANGUAGE"),
1406
+ o.literal("DISCRIMINATION"),
1407
+ o.literal("OTHER")
1408
+ ]), pi = o.object({
1409
+ id: o.number(),
1406
1410
  reason: Dt,
1407
- content: a.string(),
1408
- resolved: a.boolean(),
1409
- createdAt: a.string(),
1410
- updatedAt: a.string().nullable()
1411
- }), Ie = a.object({
1412
- id: a.number(),
1413
- content: a.string(),
1414
- blocked: a.boolean().nullable(),
1415
- blockedThread: a.boolean().nullable(),
1416
- blockReason: a.string().nullable(),
1417
- isAdminComment: a.boolean().nullable(),
1418
- removed: a.boolean().nullable(),
1411
+ content: o.string(),
1412
+ resolved: o.boolean(),
1413
+ createdAt: o.string(),
1414
+ updatedAt: o.string().nullable()
1415
+ }), Ie = o.object({
1416
+ id: o.number(),
1417
+ content: o.string(),
1418
+ blocked: o.boolean().nullable(),
1419
+ blockedThread: o.boolean().nullable(),
1420
+ blockReason: o.string().nullable(),
1421
+ isAdminComment: o.boolean().nullable(),
1422
+ removed: o.boolean().nullable(),
1419
1423
  approvalStatus: Mt.nullable(),
1420
- createdAt: a.string(),
1421
- updatedAt: a.string(),
1422
- reports: a.array(pi).nullable().optional(),
1424
+ createdAt: o.string(),
1425
+ updatedAt: o.string(),
1426
+ reports: o.array(pi).nullable().optional(),
1423
1427
  author: si,
1424
- gotThread: a.boolean().nullable().optional(),
1425
- threadFirstItemId: a.number().nullable().optional()
1426
- }), Lt = a.object({
1427
- page: a.number(),
1428
- pageSize: a.number(),
1429
- pageCount: a.number(),
1430
- total: a.number()
1428
+ gotThread: o.boolean().nullable().optional(),
1429
+ threadFirstItemId: o.number().nullable().optional()
1430
+ }), Lt = o.object({
1431
+ page: o.number(),
1432
+ pageSize: o.number(),
1433
+ pageCount: o.number(),
1434
+ total: o.number()
1431
1435
  });
1432
1436
  function fr() {
1433
1437
  return Ie.extend({
1434
- related: Ft,
1435
- documentId: a.string(),
1436
- threadOf: a.lazy(
1437
- () => Ie.merge(a.object({ related: a.string(), threadOf: Bt.nullable().optional(), documentId: a.string().optional() }))
1438
+ related: Ft.optional(),
1439
+ documentId: o.string(),
1440
+ threadOf: o.lazy(
1441
+ () => Ie.merge(o.object({ related: o.string(), threadOf: Bt.nullable().optional(), documentId: o.string().optional() }))
1438
1442
  ).nullable().optional()
1439
1443
  });
1440
1444
  }
1441
- const Bt = fr(), yi = a.object({
1445
+ const Bt = fr(), yi = o.object({
1442
1446
  pagination: Lt,
1443
- result: a.array(Bt)
1444
- }), di = a.object({
1447
+ result: o.array(Bt)
1448
+ }), di = o.object({
1445
1449
  entity: Ft,
1446
1450
  selected: Ie.merge(
1447
- a.object({
1448
- related: a.string(),
1449
- threadOf: fr().omit({ related: !0 }).merge(a.object({ related: a.string() })).nullable().optional()
1451
+ o.object({
1452
+ related: o.string(),
1453
+ threadOf: fr().omit({ related: !0 }).merge(o.object({ related: o.string() })).nullable().optional()
1450
1454
  })
1451
1455
  ).nullable(),
1452
- level: a.array(fr().omit({ threadOf: !0, related: !0 }))
1453
- }), Ut = a.object({
1454
- apiID: a.string(),
1455
- uid: a.string(),
1456
- schema: a.object({
1457
- attributes: a.record(a.object({ type: a.union([a.literal("string"), a.string()]) })),
1458
- collectionName: a.string(),
1459
- description: a.string(),
1460
- displayName: a.string(),
1461
- draftAndPublish: a.boolean(),
1462
- kind: a.string(),
1463
- pluralName: a.string(),
1464
- singularName: a.string(),
1465
- visible: a.boolean()
1456
+ level: o.array(fr().omit({ threadOf: !0, related: !0 }))
1457
+ }), Ut = o.object({
1458
+ apiID: o.string(),
1459
+ uid: o.string(),
1460
+ schema: o.object({
1461
+ attributes: o.record(o.object({ type: o.union([o.literal("string"), o.string()]) })),
1462
+ collectionName: o.string(),
1463
+ description: o.string(),
1464
+ displayName: o.string(),
1465
+ draftAndPublish: o.boolean(),
1466
+ kind: o.string(),
1467
+ pluralName: o.string(),
1468
+ singularName: o.string(),
1469
+ visible: o.boolean()
1466
1470
  })
1467
- }), mi = a.object({
1471
+ }), mi = o.object({
1468
1472
  data: Ut
1469
- }), vi = a.object({
1470
- data: a.array(Ut)
1471
- }), gi = a.object({
1472
- author: a.unknown(),
1473
- content: a.string(),
1474
- id: a.number(),
1473
+ }), vi = o.object({
1474
+ data: o.array(Ut)
1475
+ }), gi = o.object({
1476
+ author: o.unknown(),
1477
+ content: o.string(),
1478
+ id: o.number(),
1475
1479
  approvalStatus: Mt.nullable().optional(),
1476
1480
  reason: Dt,
1477
- reports: a.array(a.unknown()),
1478
- resolved: a.boolean().optional(),
1479
- updatedAt: a.string().nullable(),
1480
- createdAt: a.string(),
1481
+ reports: o.array(o.unknown()),
1482
+ resolved: o.boolean().optional(),
1483
+ updatedAt: o.string().nullable(),
1484
+ createdAt: o.string(),
1481
1485
  related: Ie
1482
- }), hi = a.object({
1486
+ }), hi = o.object({
1483
1487
  pagination: Lt,
1484
- result: a.array(gi)
1485
- }), Si = a.object({
1486
- id: a.number(),
1487
- documentId: a.string(),
1488
- name: a.string(),
1489
- code: a.string(),
1490
- description: a.string(),
1491
- createdAt: a.string(),
1492
- updatedAt: a.string(),
1493
- publishedAt: a.string(),
1494
- locale: a.string().nullable(),
1495
- usersCount: a.number()
1496
- }), bi = a.object({
1497
- data: a.array(
1488
+ result: o.array(gi)
1489
+ }), Si = o.object({
1490
+ id: o.number(),
1491
+ documentId: o.string(),
1492
+ name: o.string(),
1493
+ code: o.string(),
1494
+ description: o.string(),
1495
+ createdAt: o.string(),
1496
+ updatedAt: o.string(),
1497
+ publishedAt: o.string(),
1498
+ locale: o.string().nullable(),
1499
+ usersCount: o.number()
1500
+ }), bi = o.object({
1501
+ data: o.array(
1498
1502
  Si
1499
1503
  )
1500
- }), Ei = a.object({
1501
- data: a.object({
1502
- id: a.number(),
1503
- documentId: a.string(),
1504
- firstname: a.string(),
1505
- lastname: a.string(),
1506
- username: a.string().nullable(),
1507
- email: a.string(),
1508
- isActive: a.boolean(),
1509
- blocked: a.boolean(),
1510
- preferedLanguage: a.string().nullable(),
1511
- createdAt: a.string(),
1512
- updatedAt: a.string(),
1513
- publishedAt: a.string(),
1514
- locale: a.null(),
1515
- roles: a.array(
1516
- a.object({
1517
- id: a.number(),
1518
- name: a.string(),
1519
- description: a.string(),
1520
- code: a.string()
1504
+ }), Ai = o.object({
1505
+ data: o.object({
1506
+ id: o.number(),
1507
+ documentId: o.string(),
1508
+ firstname: o.string(),
1509
+ lastname: o.string(),
1510
+ username: o.string().nullable(),
1511
+ email: o.string(),
1512
+ isActive: o.boolean(),
1513
+ blocked: o.boolean(),
1514
+ preferedLanguage: o.string().nullable(),
1515
+ createdAt: o.string(),
1516
+ updatedAt: o.string(),
1517
+ publishedAt: o.string(),
1518
+ locale: o.null(),
1519
+ roles: o.array(
1520
+ o.object({
1521
+ id: o.number(),
1522
+ name: o.string(),
1523
+ description: o.string(),
1524
+ code: o.string()
1521
1525
  })
1522
1526
  )
1523
1527
  })
1524
- }), A = "comments", Ai = wr.once((r) => ({
1528
+ }), E = "comments", Ei = wr.once((r) => ({
1525
1529
  config: {
1526
1530
  getKey() {
1527
- return [A, "config"];
1531
+ return [E, "config"];
1528
1532
  },
1529
1533
  async query() {
1530
- const e = await r.get(`/${A}/settings/config`);
1534
+ const e = await r.get(`/${E}/settings/config`);
1531
1535
  return fi.parseAsync(e.data);
1532
1536
  }
1533
1537
  },
1534
1538
  contentTypeBuilder: {
1535
1539
  single: {
1536
1540
  getKey(e, t) {
1537
- return [A, "moderate", "content-type", t, e];
1541
+ return [E, "moderate", "content-type", t, e];
1538
1542
  },
1539
1543
  async query(e) {
1540
1544
  const t = await r.get(`/content-type-builder/content-types/${e}`);
@@ -1543,7 +1547,7 @@ const Bt = fr(), yi = a.object({
1543
1547
  },
1544
1548
  all: {
1545
1549
  getKey() {
1546
- return [A, "moderate", "content-types"];
1550
+ return [E, "moderate", "content-types"];
1547
1551
  },
1548
1552
  async query() {
1549
1553
  const e = await r.get("/content-type-builder/content-types");
@@ -1553,7 +1557,7 @@ const Bt = fr(), yi = a.object({
1553
1557
  },
1554
1558
  roles: {
1555
1559
  getKey() {
1556
- return [A, "moderate", "roles"];
1560
+ return [E, "moderate", "roles"];
1557
1561
  },
1558
1562
  async query() {
1559
1563
  const e = await r.get("/admin/roles");
@@ -1562,100 +1566,100 @@ const Bt = fr(), yi = a.object({
1562
1566
  },
1563
1567
  user: {
1564
1568
  getKey() {
1565
- return [A, "moderate", "user"];
1569
+ return [E, "moderate", "user"];
1566
1570
  },
1567
1571
  async query() {
1568
1572
  const e = await r.get("/admin/users/me");
1569
- return Ei.parseAsync(e.data).then((t) => t.data);
1573
+ return Ai.parseAsync(e.data).then((t) => t.data);
1570
1574
  }
1571
1575
  },
1572
1576
  comments: {
1573
1577
  findAll: {
1574
1578
  getKey(e) {
1575
- return [A, "moderate", "all", e ? JSON.stringify(e) : void 0].filter(Boolean);
1579
+ return [E, "moderate", "all", e ? JSON.stringify(e) : void 0].filter(Boolean);
1576
1580
  },
1577
1581
  async query(e) {
1578
- const t = await r.get(`/${A}/moderate/all?${nr.stringify(e, { encode: !1 })}`);
1582
+ const t = await r.get(`/${E}/moderate/all?${nr.stringify(e, { encode: !1 })}`);
1579
1583
  return yi.parseAsync(t.data);
1580
1584
  }
1581
1585
  },
1582
1586
  findOne: {
1583
1587
  getKey(e, t) {
1584
- return [A, "details", e?.toString(), t ? JSON.stringify(t) : void 0].filter(Boolean);
1588
+ return [E, "details", e?.toString(), t ? JSON.stringify(t) : void 0].filter(Boolean);
1585
1589
  },
1586
1590
  async query(e, t) {
1587
- const n = wr.isEmpty(t) ? "" : `?${nr.stringify(t, { encode: !1 })}`, o = await r.get(`/${A}/moderate/single/${e}${n}`);
1588
- return di.parseAsync(o.data);
1591
+ const n = wr.isEmpty(t) ? "" : `?${nr.stringify(t, { encode: !1 })}`, a = await r.get(`/${E}/moderate/single/${e}${n}`);
1592
+ return di.parseAsync(a.data);
1589
1593
  }
1590
1594
  },
1591
1595
  approve(e) {
1592
- return r.put(`/${A}/moderate/single/${e}/approve`);
1596
+ return r.put(`/${E}/moderate/single/${e}/approve`);
1593
1597
  },
1594
1598
  reject(e) {
1595
- return r.put(`/${A}/moderate/single/${e}/reject`);
1599
+ return r.put(`/${E}/moderate/single/${e}/reject`);
1596
1600
  },
1597
1601
  block(e) {
1598
- return r.put(`/${A}/moderate/single/${e}/block`);
1602
+ return r.put(`/${E}/moderate/single/${e}/block`);
1599
1603
  },
1600
1604
  unblock(e) {
1601
- return r.put(`/${A}/moderate/single/${e}/unblock`);
1605
+ return r.put(`/${E}/moderate/single/${e}/unblock`);
1602
1606
  },
1603
1607
  blockThread(e) {
1604
- return r.put(`/${A}/moderate/thread/${e}/block`);
1608
+ return r.put(`/${E}/moderate/thread/${e}/block`);
1605
1609
  },
1606
1610
  unBlockThread(e) {
1607
- return r.put(`/${A}/moderate/thread/${e}/unblock`);
1611
+ return r.put(`/${E}/moderate/thread/${e}/unblock`);
1608
1612
  },
1609
1613
  delete(e) {
1610
- return r.del(`/${A}/moderate/single/${e}/delete`);
1614
+ return r.del(`/${E}/moderate/single/${e}/delete`);
1611
1615
  },
1612
1616
  postComment({ id: e, content: t, author: n }) {
1613
- return r.post(`/${A}/moderate/thread/${e}/postComment`, { content: t, author: n });
1617
+ return r.post(`/${E}/moderate/thread/${e}/postComment`, { content: t, author: n });
1614
1618
  },
1615
1619
  updateComment({ id: e, content: t }) {
1616
- return r.put(`/${A}/moderate/single/${e}/update`, { content: t });
1620
+ return r.put(`/${E}/moderate/single/${e}/update`, { content: t });
1617
1621
  }
1618
1622
  },
1619
1623
  reports: {
1620
1624
  findAll: {
1621
1625
  getKey(e) {
1622
- return [A, "moderate", "reports", e ? JSON.stringify(e) : void 0].filter(Boolean);
1626
+ return [E, "moderate", "reports", e ? JSON.stringify(e) : void 0].filter(Boolean);
1623
1627
  },
1624
1628
  async query(e) {
1625
- const t = await r.get(`/${A}/moderate/reports${e ? `?${nr.stringify(e, { encode: !1 })}` : ""}`);
1629
+ const t = await r.get(`/${E}/moderate/reports${e ? `?${nr.stringify(e, { encode: !1 })}` : ""}`);
1626
1630
  return hi.parseAsync(t.data);
1627
1631
  }
1628
1632
  },
1629
1633
  resolve({ id: e, reportId: t }) {
1630
- return r.put(`/${A}/moderate/single/${e}/report/${t}/resolve`);
1634
+ return r.put(`/${E}/moderate/single/${e}/report/${t}/resolve`);
1631
1635
  },
1632
1636
  resolveMultipleReports({ reportIds: e }) {
1633
- return r.put(`/${A}/moderate/multiple/report/resolve`, { reportIds: e });
1637
+ return r.put(`/${E}/moderate/multiple/report/resolve`, { reportIds: e });
1634
1638
  },
1635
1639
  resolveCommentMultipleReports({ id: e, reportIds: t }) {
1636
- return r.put(`/${A}/moderate/single/${e}/report/resolve`, { reportIds: t });
1640
+ return r.put(`/${E}/moderate/single/${e}/report/resolve`, { reportIds: t });
1637
1641
  },
1638
1642
  resolveAllAbuseReportsForComment(e) {
1639
- return r.put(`/${A}/moderate/all/${e}/report/resolve`);
1643
+ return r.put(`/${E}/moderate/all/${e}/report/resolve`);
1640
1644
  },
1641
1645
  resolveAllAbuseReportsForThread(e) {
1642
- return r.put(`/${A}/moderate/thread/${e}/report/resolve-thread`);
1646
+ return r.put(`/${E}/moderate/thread/${e}/report/resolve-thread`);
1643
1647
  }
1644
1648
  },
1645
1649
  settings: {
1646
1650
  update(e) {
1647
- return r.put(`/${A}/settings/config`, e);
1651
+ return r.put(`/${E}/settings/config`, e);
1648
1652
  },
1649
1653
  restore() {
1650
- return r.del(`/${A}/settings/config`);
1654
+ return r.del(`/${E}/settings/config`);
1651
1655
  },
1652
1656
  restart() {
1653
- return r.post(`/${A}/settings/restart`);
1657
+ return r.post(`/${E}/settings/restart`);
1654
1658
  }
1655
1659
  }
1656
1660
  })), Oi = () => {
1657
1661
  const r = dn();
1658
- return ut(() => Ai(r), [r]);
1662
+ return ut(() => Ei(r), [r]);
1659
1663
  }, Pi = yn(null), $i = ({ children: r }) => {
1660
1664
  const e = Oi(), { data: t } = fn({
1661
1665
  queryKey: e.user.getKey(),
@@ -1664,7 +1668,7 @@ const Bt = fr(), yi = a.object({
1664
1668
  return t ? /* @__PURE__ */ _(Pi.Provider, { value: t, children: r }) : null;
1665
1669
  };
1666
1670
  console.log("!!darkTheme", !!it);
1667
- console.log("!!lightTheme", !!on);
1671
+ console.log("!!lightTheme", !!an);
1668
1672
  const wi = new pn({
1669
1673
  defaultOptions: {
1670
1674
  queries: {
@@ -1688,7 +1692,7 @@ const wi = new pn({
1688
1692
  allowedActions: {
1689
1693
  canCommentsModerate: t,
1690
1694
  canCommentsRead: n,
1691
- canReportsRead: o,
1695
+ canReportsRead: a,
1692
1696
  canSettingsChange: i,
1693
1697
  canSettingsRead: c,
1694
1698
  canReportsReview: l
@@ -1696,9 +1700,9 @@ const wi = new pn({
1696
1700
  } = mn(r);
1697
1701
  return {
1698
1702
  isLoadingForPermissions: e,
1699
- canAccess: n || o || c,
1703
+ canAccess: n || a || c,
1700
1704
  canModerate: t,
1701
- canAccessReports: o,
1705
+ canAccessReports: a,
1702
1706
  canReviewReports: l,
1703
1707
  canSettings: c,
1704
1708
  canSettingsChange: i
@@ -1713,11 +1717,11 @@ var sr = { exports: {} }, b = {};
1713
1717
  * This source code is licensed under the MIT license found in the
1714
1718
  * LICENSE file in the root directory of this source tree.
1715
1719
  */
1716
- var ot;
1720
+ var at;
1717
1721
  function Ri() {
1718
- if (ot) return b;
1719
- ot = 1;
1720
- 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, o = r ? Symbol.for("react.strict_mode") : 60108, i = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, u = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, y = 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, P = r ? Symbol.for("react.block") : 60121, C = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1722
+ if (at) return b;
1723
+ at = 1;
1724
+ 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, c = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, u = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, y = 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, P = r ? Symbol.for("react.block") : 60121, C = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1721
1725
  function O(s) {
1722
1726
  if (typeof s == "object" && s !== null) {
1723
1727
  var F = s.$$typeof;
@@ -1728,7 +1732,7 @@ function Ri() {
1728
1732
  case u:
1729
1733
  case n:
1730
1734
  case i:
1731
- case o:
1735
+ case a:
1732
1736
  case y:
1733
1737
  return s;
1734
1738
  default:
@@ -1751,7 +1755,7 @@ function Ri() {
1751
1755
  function $(s) {
1752
1756
  return O(s) === u;
1753
1757
  }
1754
- return b.AsyncMode = f, b.ConcurrentMode = u, b.ContextConsumer = l, b.ContextProvider = c, b.Element = e, b.ForwardRef = p, b.Fragment = n, b.Lazy = v, b.Memo = h, b.Portal = t, b.Profiler = i, b.StrictMode = o, b.Suspense = y, b.isAsyncMode = function(s) {
1758
+ return b.AsyncMode = f, b.ConcurrentMode = u, b.ContextConsumer = l, b.ContextProvider = c, b.Element = e, b.ForwardRef = p, b.Fragment = n, b.Lazy = v, b.Memo = h, b.Portal = t, b.Profiler = i, b.StrictMode = a, b.Suspense = y, b.isAsyncMode = function(s) {
1755
1759
  return $(s) || O(s) === f;
1756
1760
  }, b.isConcurrentMode = $, b.isContextConsumer = function(s) {
1757
1761
  return O(s) === l;
@@ -1772,14 +1776,14 @@ function Ri() {
1772
1776
  }, b.isProfiler = function(s) {
1773
1777
  return O(s) === i;
1774
1778
  }, b.isStrictMode = function(s) {
1775
- return O(s) === o;
1779
+ return O(s) === a;
1776
1780
  }, b.isSuspense = function(s) {
1777
1781
  return O(s) === y;
1778
1782
  }, b.isValidElementType = function(s) {
1779
- return typeof s == "string" || typeof s == "function" || s === n || s === u || s === i || s === o || s === y || s === m || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === h || s.$$typeof === c || s.$$typeof === l || s.$$typeof === p || s.$$typeof === C || s.$$typeof === g || s.$$typeof === I || s.$$typeof === P);
1783
+ return typeof s == "string" || typeof s == "function" || s === n || s === u || s === i || s === a || s === y || s === m || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === h || s.$$typeof === c || s.$$typeof === l || s.$$typeof === p || s.$$typeof === C || s.$$typeof === g || s.$$typeof === I || s.$$typeof === P);
1780
1784
  }, b.typeOf = O, b;
1781
1785
  }
1782
- var E = {};
1786
+ var A = {};
1783
1787
  /** @license React v16.13.1
1784
1788
  * react-is.development.js
1785
1789
  *
@@ -1788,13 +1792,13 @@ var E = {};
1788
1792
  * This source code is licensed under the MIT license found in the
1789
1793
  * LICENSE file in the root directory of this source tree.
1790
1794
  */
1791
- var at;
1795
+ var ot;
1792
1796
  function Ci() {
1793
- return at || (at = 1, process.env.NODE_ENV !== "production" && function() {
1794
- 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, o = r ? Symbol.for("react.strict_mode") : 60108, i = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, u = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, y = 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, P = r ? Symbol.for("react.block") : 60121, C = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1797
+ return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
1798
+ 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, c = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, u = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, y = 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, P = r ? Symbol.for("react.block") : 60121, C = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1795
1799
  function O(d) {
1796
1800
  return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1797
- d === n || d === u || d === i || d === o || d === y || d === m || typeof d == "object" && d !== null && (d.$$typeof === v || d.$$typeof === h || d.$$typeof === c || d.$$typeof === l || d.$$typeof === p || d.$$typeof === C || d.$$typeof === g || d.$$typeof === I || d.$$typeof === P);
1801
+ d === n || d === u || d === i || d === a || d === y || d === m || typeof d == "object" && d !== null && (d.$$typeof === v || d.$$typeof === h || d.$$typeof === c || d.$$typeof === l || d.$$typeof === p || d.$$typeof === C || d.$$typeof === g || d.$$typeof === I || d.$$typeof === P);
1798
1802
  }
1799
1803
  function $(d) {
1800
1804
  if (typeof d == "object" && d !== null) {
@@ -1807,7 +1811,7 @@ function Ci() {
1807
1811
  case u:
1808
1812
  case n:
1809
1813
  case i:
1810
- case o:
1814
+ case a:
1811
1815
  case y:
1812
1816
  return be;
1813
1817
  default:
@@ -1828,9 +1832,9 @@ function Ci() {
1828
1832
  }
1829
1833
  }
1830
1834
  }
1831
- var s = f, F = u, B = l, M = c, W = e, k = p, K = n, N = v, x = h, G = t, Z = i, j = o, Gt = y, Ar = !1;
1835
+ var s = f, F = u, B = l, M = c, W = e, k = p, K = n, N = v, x = h, G = t, Z = i, j = a, Gt = y, Er = !1;
1832
1836
  function jt(d) {
1833
- return Ar || (Ar = !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.")), Or(d) || $(d) === f;
1837
+ return Er || (Er = !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.")), Or(d) || $(d) === f;
1834
1838
  }
1835
1839
  function Or(d) {
1836
1840
  return $(d) === u;
@@ -1863,13 +1867,13 @@ function Ci() {
1863
1867
  return $(d) === i;
1864
1868
  }
1865
1869
  function en(d) {
1866
- return $(d) === o;
1870
+ return $(d) === a;
1867
1871
  }
1868
1872
  function rn(d) {
1869
1873
  return $(d) === y;
1870
1874
  }
1871
- E.AsyncMode = s, E.ConcurrentMode = F, E.ContextConsumer = B, E.ContextProvider = M, E.Element = W, E.ForwardRef = k, E.Fragment = K, E.Lazy = N, E.Memo = x, E.Portal = G, E.Profiler = Z, E.StrictMode = j, E.Suspense = Gt, E.isAsyncMode = jt, E.isConcurrentMode = Or, E.isContextConsumer = Vt, E.isContextProvider = zt, E.isElement = Ht, E.isForwardRef = Yt, E.isFragment = Kt, E.isLazy = Qt, E.isMemo = Jt, E.isPortal = Xt, E.isProfiler = Zt, E.isStrictMode = en, E.isSuspense = rn, E.isValidElementType = O, E.typeOf = $;
1872
- }()), E;
1875
+ A.AsyncMode = s, A.ConcurrentMode = F, A.ContextConsumer = B, A.ContextProvider = M, A.Element = W, A.ForwardRef = k, A.Fragment = K, A.Lazy = N, A.Memo = x, A.Portal = G, A.Profiler = Z, A.StrictMode = j, A.Suspense = Gt, A.isAsyncMode = jt, A.isConcurrentMode = Or, A.isContextConsumer = Vt, A.isContextProvider = zt, A.isElement = Ht, A.isForwardRef = Yt, A.isFragment = Kt, A.isLazy = Qt, A.isMemo = Jt, A.isPortal = Xt, A.isProfiler = Zt, A.isStrictMode = en, A.isSuspense = rn, A.isValidElementType = O, A.typeOf = $;
1876
+ }()), A;
1873
1877
  }
1874
1878
  process.env.NODE_ENV === "production" ? sr.exports = Ri() : sr.exports = Ci();
1875
1879
  var Ti = sr.exports, qt = Ti, _i = {
@@ -1909,13 +1913,13 @@ var xi = function(r) {
1909
1913
  function Di(r) {
1910
1914
  Ni(r, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
1911
1915
  }
1912
- Rr(Rr({}, Mi), { textComponent: ae.Fragment });
1913
- var br = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = ae.createContext(null)) : ae.createContext(null);
1916
+ Rr(Rr({}, Mi), { textComponent: oe.Fragment });
1917
+ var br = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = oe.createContext(null)) : oe.createContext(null);
1914
1918
  br.Consumer;
1915
1919
  br.Provider;
1916
1920
  var Li = br;
1917
- function Er() {
1918
- var r = ae.useContext(Li);
1921
+ function Ar() {
1922
+ var r = oe.useContext(Li);
1919
1923
  return Di(r), r;
1920
1924
  }
1921
1925
  var pr;
@@ -1928,21 +1932,21 @@ var yr;
1928
1932
  })(yr || (yr = {}));
1929
1933
  function kt(r) {
1930
1934
  var e = function(t) {
1931
- var n = Er(), o = t.value, i = t.children, c = lt(t, ["value", "children"]), l = typeof o == "string" ? new Date(o || 0) : o, f = r === "formatDate" ? n.formatDateToParts(l, c) : n.formatTimeToParts(l, c);
1935
+ var n = Ar(), a = t.value, i = t.children, c = lt(t, ["value", "children"]), l = typeof a == "string" ? new Date(a || 0) : a, f = r === "formatDate" ? n.formatDateToParts(l, c) : n.formatTimeToParts(l, c);
1932
1936
  return i(f);
1933
1937
  };
1934
1938
  return e.displayName = yr[r], e;
1935
1939
  }
1936
1940
  function Se(r) {
1937
1941
  var e = function(t) {
1938
- var n = Er(), o = t.value, i = t.children, c = lt(
1942
+ var n = Ar(), a = t.value, i = t.children, c = lt(
1939
1943
  t,
1940
1944
  ["value", "children"]
1941
- ), l = n[r](o, c);
1945
+ ), l = n[r](a, c);
1942
1946
  if (typeof i == "function")
1943
1947
  return i(l);
1944
- var f = n.textComponent || ae.Fragment;
1945
- return ae.createElement(f, null, l);
1948
+ var f = n.textComponent || oe.Fragment;
1949
+ return oe.createElement(f, null, l);
1946
1950
  };
1947
1951
  return e.displayName = pr[r], e;
1948
1952
  }
@@ -1954,11 +1958,11 @@ Se("formatDisplayName");
1954
1958
  kt("formatDate");
1955
1959
  kt("formatTime");
1956
1960
  const Hi = (r, e = "", t = !0) => {
1957
- const { formatMessage: n } = Er();
1958
- let o = "";
1959
- return typeof r == "string" ? o = r : o = r?.id.toString() || o, n(
1961
+ const { formatMessage: n } = Ar();
1962
+ let a = "";
1963
+ return typeof r == "string" ? a = r : a = r?.id.toString() || a, n(
1960
1964
  {
1961
- id: `${t ? an : "app.components"}.${o}`,
1965
+ id: `${t ? on : "app.components"}.${a}`,
1962
1966
  defaultMessage: e
1963
1967
  },
1964
1968
  typeof r == "string" ? void 0 : r?.props
@@ -1968,22 +1972,22 @@ const Hi = (r, e = "", t = !0) => {
1968
1972
  onConfirm: e,
1969
1973
  Trigger: t,
1970
1974
  labelConfirm: n,
1971
- iconConfirm: o,
1975
+ iconConfirm: a,
1972
1976
  labelCancel: i,
1973
1977
  children: c
1974
1978
  }) => {
1975
1979
  const [l, f] = Tr(!1), [u, p] = Tr(!1), y = () => f((h) => !h), m = async () => {
1976
1980
  p(!0), await e(), p(!1), y();
1977
1981
  };
1978
- return /* @__PURE__ */ Ee(V.Root, { open: l, children: [
1982
+ return /* @__PURE__ */ Ae(V.Root, { open: l, children: [
1979
1983
  /* @__PURE__ */ _(V.Trigger, { children: /* @__PURE__ */ _(t, { onClick: y }) }),
1980
- /* @__PURE__ */ Ee(V.Content, { children: [
1984
+ /* @__PURE__ */ Ae(V.Content, { children: [
1981
1985
  /* @__PURE__ */ _(V.Header, { children: r }),
1982
- /* @__PURE__ */ _(V.Body, { children: /* @__PURE__ */ Ee(ln, { justifyContent: "center", direction: "column", children: [
1986
+ /* @__PURE__ */ _(V.Body, { children: /* @__PURE__ */ Ae(ln, { justifyContent: "center", direction: "column", children: [
1983
1987
  /* @__PURE__ */ _(un, { fill: "danger500", stroke: "danger500", height: "24", width: "24" }),
1984
1988
  /* @__PURE__ */ _(cn, { id: "confirm-description", children: c })
1985
1989
  ] }) }),
1986
- /* @__PURE__ */ Ee(V.Footer, { children: [
1990
+ /* @__PURE__ */ Ae(V.Footer, { children: [
1987
1991
  /* @__PURE__ */ _(V.Cancel, { children: /* @__PURE__ */ _(
1988
1992
  Cr,
1989
1993
  {
@@ -2000,7 +2004,7 @@ const Hi = (r, e = "", t = !0) => {
2000
2004
  variant: "danger-light",
2001
2005
  loading: u,
2002
2006
  disabled: u,
2003
- startIcon: o,
2007
+ startIcon: a,
2004
2008
  children: n
2005
2009
  }
2006
2010
  ) })
@@ -2013,7 +2017,7 @@ export {
2013
2017
  ji as R,
2014
2018
  Pi as U,
2015
2019
  zi as a,
2016
- Er as b,
2020
+ Ar as b,
2017
2021
  ci as c,
2018
2022
  Yi as d,
2019
2023
  Vi as e,