strapi-plugin-comments 3.0.12 → 3.0.14

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as _, jsxs as Ee } from "react/jsx-runtime";
2
- import { ab as rn, ac as tn, ad as nn, ae as wr, l as Rr, af as an, ag as ee, ah as Tr, ai as it, p as on, aj as V, F as ln, ak as un, T as cn, e as Cr } from "./index-CpBNh6Rx.mjs";
2
+ import { ab as rn, ac as tn, ad as nn, ae as wr, l as Rr, af as an, ag as ee, ah as Tr, ai as it, p as on, aj as V, F as ln, ak as un, T as cn, e as Cr } from "./index-B_ImEGPI.mjs";
3
3
  import { useQuery as fn, QueryClientProvider as sn, QueryClient as pn } from "@tanstack/react-query";
4
4
  import * as oe from "react";
5
5
  import { useState as ar, useEffect as yn, useMemo as lt, createContext as dn } from "react";
@@ -20,7 +20,7 @@ const hn = {}, Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
20
20
  __proto__: null,
21
21
  default: hn
22
22
  }, Symbol.toStringTag, { value: "Module" })), bn = /* @__PURE__ */ nn(Sn);
23
- var mr = typeof Map == "function" && Map.prototype, Le = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = mr && Le && typeof Le.get == "function" ? Le.get : null, _r = mr && Map.prototype.forEach, vr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && vr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Te = vr && Be && typeof Be.get == "function" ? Be.get : null, Ir = vr && Set.prototype.forEach, En = typeof WeakMap == "function" && WeakMap.prototype, se = En ? WeakMap.prototype.has : null, An = typeof WeakSet == "function" && WeakSet.prototype, pe = An ? WeakSet.prototype.has : null, On = typeof WeakRef == "function" && WeakRef.prototype, Nr = On ? WeakRef.prototype.deref : null, Pn = Boolean.prototype.valueOf, $n = Object.prototype.toString, wn = Function.prototype.toString, Rn = String.prototype.match, gr = String.prototype.slice, H = String.prototype.replace, Tn = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, ut = RegExp.prototype.test, Fr = Array.prototype.concat, L = Array.prototype.join, Cn = Array.prototype.slice, Mr = 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, ct = Object.prototype.propertyIsEnumerable, Dr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
23
+ var mr = typeof Map == "function" && Map.prototype, Le = Object.getOwnPropertyDescriptor && mr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = mr && Le && typeof Le.get == "function" ? Le.get : null, _r = mr && Map.prototype.forEach, vr = typeof Set == "function" && Set.prototype, Be = Object.getOwnPropertyDescriptor && vr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Te = vr && Be && typeof Be.get == "function" ? Be.get : null, Ir = vr && Set.prototype.forEach, En = typeof WeakMap == "function" && WeakMap.prototype, se = En ? WeakMap.prototype.has : null, An = typeof WeakSet == "function" && WeakSet.prototype, pe = An ? WeakSet.prototype.has : null, Pn = typeof WeakRef == "function" && WeakRef.prototype, xr = Pn ? WeakRef.prototype.deref : null, On = Boolean.prototype.valueOf, $n = Object.prototype.toString, wn = Function.prototype.toString, Rn = String.prototype.match, gr = String.prototype.slice, H = String.prototype.replace, Tn = String.prototype.toUpperCase, Nr = String.prototype.toLowerCase, ut = RegExp.prototype.test, Fr = Array.prototype.concat, L = Array.prototype.join, Cn = Array.prototype.slice, Mr = 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, ct = Object.prototype.propertyIsEnumerable, Dr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
24
24
  return r.__proto__;
25
25
  } : null);
26
26
  function Lr(r, e) {
@@ -44,7 +44,7 @@ var lr = bn, Br = lr.custom, Ur = pt(Br) ? Br : null, ft = {
44
44
  __proto__: null,
45
45
  double: /(["\\])/g,
46
46
  single: /(['\\])/g
47
- }, Ne = function r(e, t, n, a) {
47
+ }, xe = function r(e, t, n, a) {
48
48
  var i = t || {};
49
49
  if (U(i, "quoteStyle") && !U(ft, i.quoteStyle))
50
50
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -84,35 +84,35 @@ var lr = bn, Br = lr.custom, Ur = pt(Br) ? Br : null, ft = {
84
84
  a = [];
85
85
  else if (yt(a, e) >= 0)
86
86
  return "[Circular]";
87
- function m(x, G, Z) {
87
+ function m(N, G, Z) {
88
88
  if (G && (a = Cn.call(a), a.push(G)), Z) {
89
89
  var j = {
90
90
  depth: i.depth
91
91
  };
92
- return U(i, "quoteStyle") && (j.quoteStyle = i.quoteStyle), r(x, j, n + 1, a);
92
+ return U(i, "quoteStyle") && (j.quoteStyle = i.quoteStyle), r(N, j, n + 1, a);
93
93
  }
94
- return r(x, i, n + 1, a);
94
+ return r(N, i, n + 1, a);
95
95
  }
96
96
  if (typeof e == "function" && !kr(e)) {
97
97
  var h = Un(e), v = Ae(e, m);
98
98
  return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + L.call(v, ", ") + " }" : "");
99
99
  }
100
100
  if (pt(e)) {
101
- var P = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ir.call(e);
102
- return typeof e == "object" && !ie ? fe(P) : P;
101
+ var O = ie ? H.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ir.call(e);
102
+ return typeof e == "object" && !ie ? fe(O) : O;
103
103
  }
104
104
  if (Vn(e)) {
105
- for (var T = "<" + xr.call(String(e.nodeName)), g = e.attributes || [], I = 0; I < g.length; I++)
105
+ for (var T = "<" + Nr.call(String(e.nodeName)), g = e.attributes || [], I = 0; I < g.length; I++)
106
106
  T += " " + g[I].name + "=" + st(In(g[I].value), "double", i);
107
- return T += ">", e.childNodes && e.childNodes.length && (T += "..."), T += "</" + xr.call(String(e.nodeName)) + ">", T;
107
+ return T += ">", e.childNodes && e.childNodes.length && (T += "..."), T += "</" + Nr.call(String(e.nodeName)) + ">", T;
108
108
  }
109
109
  if (ur(e)) {
110
110
  if (e.length === 0)
111
111
  return "[]";
112
- var O = Ae(e, m);
113
- return y && !Hn(O) ? "[" + cr(O, y) + "]" : "[ " + L.call(O, ", ") + " ]";
112
+ var P = Ae(e, m);
113
+ return y && !Hn(P) ? "[" + cr(P, y) + "]" : "[ " + L.call(P, ", ") + " ]";
114
114
  }
115
- if (xn(e)) {
115
+ if (Nn(e)) {
116
116
  var $ = Ae(e, m);
117
117
  return !("cause" in Error.prototype) && "cause" in e && !ct.call(e, "cause") ? "{ [" + String(e) + "] " + L.call(Fr.call("[cause]: " + m(e.cause), $), ", ") + " }" : $.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + L.call($, ", ") + " }";
118
118
  }
@@ -124,14 +124,14 @@ var lr = bn, Br = lr.custom, Ur = pt(Br) ? Br : null, ft = {
124
124
  }
125
125
  if (kn(e)) {
126
126
  var s = [];
127
- return _r && _r.call(e, function(x, G) {
128
- s.push(m(G, e, !0) + " => " + m(x, e));
127
+ return _r && _r.call(e, function(N, G) {
128
+ s.push(m(G, e, !0) + " => " + m(N, e));
129
129
  }), qr("Map", Re.call(e), s, y);
130
130
  }
131
131
  if (Gn(e)) {
132
132
  var F = [];
133
- return Ir && Ir.call(e, function(x) {
134
- F.push(m(x, e));
133
+ return Ir && Ir.call(e, function(N) {
134
+ F.push(m(N, e));
135
135
  }), qr("Set", Te.call(e), F, y);
136
136
  }
137
137
  if (qn(e))
@@ -145,16 +145,16 @@ var lr = bn, Br = lr.custom, Ur = pt(Br) ? Br : null, ft = {
145
145
  if (Ln(e))
146
146
  return fe(m(or.call(e)));
147
147
  if (Dn(e))
148
- return fe(Pn.call(e));
148
+ return fe(On.call(e));
149
149
  if (Fn(e))
150
150
  return fe(m(String(e)));
151
151
  if (typeof window < "u" && e === window)
152
152
  return "{ [object Window] }";
153
153
  if (typeof globalThis < "u" && e === globalThis || typeof wr < "u" && e === wr)
154
154
  return "{ [object globalThis] }";
155
- if (!Nn(e) && !kr(e)) {
156
- var B = Ae(e, m), M = Dr ? Dr(e) === Object.prototype : e instanceof Object || e.constructor === Object, q = e instanceof Object ? "" : "null prototype", W = !M && ye && Object(e) === e && ye in e ? gr.call(Y(e), 8, -1) : q ? "Object" : "", K = M || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = K + (W || q ? "[" + L.call(Fr.call([], W || [], q || []), ": ") + "] " : "");
157
- return B.length === 0 ? N + "{}" : y ? N + "{" + cr(B, y) + "}" : N + "{ " + L.call(B, ", ") + " }";
155
+ if (!xn(e) && !kr(e)) {
156
+ var B = Ae(e, m), M = Dr ? Dr(e) === Object.prototype : e instanceof Object || e.constructor === Object, q = e instanceof Object ? "" : "null prototype", W = !M && ye && Object(e) === e && ye in e ? gr.call(Y(e), 8, -1) : q ? "Object" : "", K = M || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", x = K + (W || q ? "[" + L.call(Fr.call([], W || [], q || []), ": ") + "] " : "");
157
+ return B.length === 0 ? x + "{}" : y ? x + "{" + cr(B, y) + "}" : x + "{ " + L.call(B, ", ") + " }";
158
158
  }
159
159
  return String(e);
160
160
  };
@@ -171,13 +171,13 @@ function X(r) {
171
171
  function ur(r) {
172
172
  return Y(r) === "[object Array]" && X(r);
173
173
  }
174
- function Nn(r) {
174
+ function xn(r) {
175
175
  return Y(r) === "[object Date]" && X(r);
176
176
  }
177
177
  function kr(r) {
178
178
  return Y(r) === "[object RegExp]" && X(r);
179
179
  }
180
- function xn(r) {
180
+ function Nn(r) {
181
181
  return Y(r) === "[object Error]" && X(r);
182
182
  }
183
183
  function Fn(r) {
@@ -265,10 +265,10 @@ function qn(r) {
265
265
  return !1;
266
266
  }
267
267
  function Wn(r) {
268
- if (!Nr || !r || typeof r != "object")
268
+ if (!xr || !r || typeof r != "object")
269
269
  return !1;
270
270
  try {
271
- return Nr.call(r), !0;
271
+ return xr.call(r), !0;
272
272
  } catch {
273
273
  }
274
274
  return !1;
@@ -384,18 +384,18 @@ function Ae(r, e) {
384
384
  ct.call(r, i[u]) && n.push("[" + e(i[u]) + "]: " + e(r[i[u]], r));
385
385
  return n;
386
386
  }
387
- var Kn = Ne, Qn = ce, xe = function(r, e, t) {
387
+ var Kn = xe, Qn = ce, Ne = function(r, e, t) {
388
388
  for (var n = r, a; (a = n.next) != null; n = a)
389
389
  if (a.key === e)
390
390
  return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
391
391
  r.next, r.next = a), a;
392
392
  }, Jn = function(r, e) {
393
393
  if (r) {
394
- var t = xe(r, e);
394
+ var t = Ne(r, e);
395
395
  return t && t.value;
396
396
  }
397
397
  }, Xn = function(r, e, t) {
398
- var n = xe(r, e);
398
+ var n = Ne(r, e);
399
399
  n ? n.value = t : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
400
400
  {
401
401
  // eslint-disable-line no-param-reassign, no-extra-parens
@@ -404,10 +404,10 @@ var Kn = Ne, Qn = ce, xe = function(r, e, t) {
404
404
  value: t
405
405
  };
406
406
  }, Zn = function(r, e) {
407
- return r ? !!xe(r, e) : !1;
407
+ return r ? !!Ne(r, e) : !1;
408
408
  }, ea = function(r, e) {
409
409
  if (r)
410
- return xe(r, e, !0);
410
+ return Ne(r, e, !0);
411
411
  }, ra = function() {
412
412
  var e, t = {
413
413
  assert: function(n) {
@@ -440,14 +440,14 @@ var Kn = Ne, Qn = ce, xe = function(r, e, t) {
440
440
  return e !== e;
441
441
  }, ma = da, va = function(e) {
442
442
  return ma(e) || e === 0 ? e : e < 0 ? -1 : 1;
443
- }, ga = Object.getOwnPropertyDescriptor, Pe = ga;
444
- if (Pe)
443
+ }, ga = Object.getOwnPropertyDescriptor, Oe = ga;
444
+ if (Oe)
445
445
  try {
446
- Pe([], "length");
446
+ Oe([], "length");
447
447
  } catch {
448
- Pe = null;
448
+ Oe = null;
449
449
  }
450
- var vt = Pe, $e = Object.defineProperty || !1;
450
+ var vt = Oe, $e = Object.defineProperty || !1;
451
451
  if ($e)
452
452
  try {
453
453
  $e({}, "a", { value: 1 });
@@ -539,8 +539,8 @@ function Ea() {
539
539
  f,
540
540
  a(p, arguments)
541
541
  );
542
- }, h = t(0, u.length - p.length), v = [], P = 0; P < h; P++)
543
- v[P] = "$" + P;
542
+ }, h = t(0, u.length - p.length), v = [], O = 0; O < h; O++)
543
+ v[O] = "$" + O;
544
544
  if (y = Function("binder", "return function (" + c(v, ",") + "){ return binder.apply(this,arguments); }")(m), u.prototype) {
545
545
  var T = function() {
546
546
  };
@@ -564,12 +564,12 @@ var Ye, Kr;
564
564
  function St() {
565
565
  return Kr || (Kr = 1, Ye = Function.prototype.apply), Ye;
566
566
  }
567
- var Aa = typeof Reflect < "u" && Reflect && Reflect.apply, Oa = Fe(), Pa = St(), $a = hr(), wa = Aa, Ra = wa || Oa.call($a, Pa), Ta = Fe(), Ca = ce, _a = hr(), Ia = Ra, bt = function(e) {
567
+ var Aa = typeof Reflect < "u" && Reflect && Reflect.apply, Pa = Fe(), Oa = St(), $a = hr(), wa = Aa, Ra = wa || Pa.call($a, Oa), Ta = Fe(), Ca = ce, _a = hr(), Ia = Ra, bt = function(e) {
568
568
  if (e.length < 1 || typeof e[0] != "function")
569
569
  throw new Ca("a function is required");
570
570
  return Ia(Ta, _a, e);
571
571
  }, Ke, Qr;
572
- function Na() {
572
+ function xa() {
573
573
  if (Qr) return Ke;
574
574
  Qr = 1;
575
575
  var r = bt, e = vt, t;
@@ -593,10 +593,10 @@ function Na() {
593
593
  ) : !1, Ke;
594
594
  }
595
595
  var Qe, Jr;
596
- function xa() {
596
+ function Na() {
597
597
  if (Jr) return Qe;
598
598
  Jr = 1;
599
- var r = gt(), e = ht(), t = Na();
599
+ var r = gt(), e = ht(), t = xa();
600
600
  return Qe = r ? function(a) {
601
601
  return r(a);
602
602
  } : e ? function(a) {
@@ -631,7 +631,7 @@ var S, Ma = mt, Da = ta, La = na, Ba = aa, Ua = oa, le = ia, ae = ce, ka = la, q
631
631
  return Ze;
632
632
  }
633
633
  }
634
- }() : Ze, re = ba()(), R = xa(), Qa = ht(), Ja = gt(), At = St(), ve = hr(), ne = {}, Xa = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
634
+ }() : Ze, re = ba()(), R = Na(), Qa = ht(), Ja = gt(), At = St(), ve = hr(), ne = {}, Xa = typeof Uint8Array > "u" || !R ? S : R(Uint8Array), J = {
635
635
  __proto__: null,
636
636
  "%AggregateError%": typeof AggregateError > "u" ? S : AggregateError,
637
637
  "%Array%": Array,
@@ -836,24 +836,24 @@ var eo = function r(e) {
836
836
  return;
837
837
  }
838
838
  if (me && p + 1 >= n.length) {
839
- var P = me(l, m);
840
- y = !!P, y && "get" in P && !("originalValue" in P.get) ? l = P.get : l = l[m];
839
+ var O = me(l, m);
840
+ y = !!O, y && "get" in O && !("originalValue" in O.get) ? l = O.get : l = l[m];
841
841
  } else
842
842
  y = Ce(l, m), l = l[m];
843
843
  y && !f && (J[c] = l);
844
844
  }
845
845
  }
846
846
  return l;
847
- }, Ot = Sr, Pt = bt, uo = Pt([Ot("%String.prototype.indexOf%")]), $t = function(e, t) {
847
+ }, Pt = Sr, Ot = bt, uo = Ot([Pt("%String.prototype.indexOf%")]), $t = function(e, t) {
848
848
  var n = (
849
849
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
850
- Ot(e, !!t)
850
+ Pt(e, !!t)
851
851
  );
852
- return typeof n == "function" && uo(e, ".prototype.") > -1 ? Pt(
852
+ return typeof n == "function" && uo(e, ".prototype.") > -1 ? Ot(
853
853
  /** @type {const} */
854
854
  [n]
855
855
  ) : n;
856
- }, co = Sr, he = $t, fo = Ne, so = ce, rt = co("%Map%", !0), po = he("Map.prototype.get", !0), yo = he("Map.prototype.set", !0), mo = he("Map.prototype.has", !0), vo = he("Map.prototype.delete", !0), go = he("Map.prototype.size", !0), wt = !!rt && /** @type {Exclude<import('.'), false>} */
856
+ }, co = Sr, he = $t, fo = xe, so = ce, rt = co("%Map%", !0), po = he("Map.prototype.get", !0), yo = he("Map.prototype.set", !0), mo = he("Map.prototype.has", !0), vo = he("Map.prototype.delete", !0), go = he("Map.prototype.size", !0), wt = !!rt && /** @type {Exclude<import('.'), false>} */
857
857
  function() {
858
858
  var e, t = {
859
859
  assert: function(n) {
@@ -879,7 +879,7 @@ function() {
879
879
  }
880
880
  };
881
881
  return t;
882
- }, ho = Sr, Me = $t, So = Ne, Oe = wt, bo = ce, te = ho("%WeakMap%", !0), Eo = Me("WeakMap.prototype.get", !0), Ao = Me("WeakMap.prototype.set", !0), Oo = Me("WeakMap.prototype.has", !0), Po = Me("WeakMap.prototype.delete", !0), $o = te ? (
882
+ }, ho = Sr, Me = $t, So = xe, Pe = wt, bo = ce, te = ho("%WeakMap%", !0), Eo = Me("WeakMap.prototype.get", !0), Ao = Me("WeakMap.prototype.set", !0), Po = Me("WeakMap.prototype.has", !0), Oo = Me("WeakMap.prototype.delete", !0), $o = te ? (
883
883
  /** @type {Exclude<import('.'), false>} */
884
884
  function() {
885
885
  var e, t, n = {
@@ -890,8 +890,8 @@ function() {
890
890
  delete: function(a) {
891
891
  if (te && a && (typeof a == "object" || typeof a == "function")) {
892
892
  if (e)
893
- return Po(e, a);
894
- } else if (Oe && t)
893
+ return Oo(e, a);
894
+ } else if (Pe && t)
895
895
  return t.delete(a);
896
896
  return !1;
897
897
  },
@@ -899,15 +899,15 @@ function() {
899
899
  return te && a && (typeof a == "object" || typeof a == "function") && e ? Eo(e, a) : t && t.get(a);
900
900
  },
901
901
  has: function(a) {
902
- return te && a && (typeof a == "object" || typeof a == "function") && e ? Oo(e, a) : !!t && t.has(a);
902
+ return te && a && (typeof a == "object" || typeof a == "function") && e ? Po(e, a) : !!t && t.has(a);
903
903
  },
904
904
  set: function(a, i) {
905
- te && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new te()), Ao(e, a, i)) : Oe && (t || (t = Oe()), t.set(a, i));
905
+ te && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new te()), Ao(e, a, i)) : Pe && (t || (t = Pe()), t.set(a, i));
906
906
  }
907
907
  };
908
908
  return n;
909
909
  }
910
- ) : Oe, wo = ce, Ro = Ne, To = ra, Co = wt, _o = $o, Io = _o || Co || To, No = function() {
910
+ ) : Pe, wo = ce, Ro = xe, To = ra, Co = wt, _o = $o, Io = _o || Co || To, xo = function() {
911
911
  var e, t = {
912
912
  assert: function(n) {
913
913
  if (!t.has(n))
@@ -927,14 +927,14 @@ function() {
927
927
  }
928
928
  };
929
929
  return t;
930
- }, xo = String.prototype.replace, Fo = /%20/g, er = {
930
+ }, No = String.prototype.replace, Fo = /%20/g, er = {
931
931
  RFC1738: "RFC1738",
932
932
  RFC3986: "RFC3986"
933
933
  }, br = {
934
934
  default: er.RFC3986,
935
935
  formatters: {
936
936
  RFC1738: function(r) {
937
- return xo.call(r, Fo, "+");
937
+ return No.call(r, Fo, "+");
938
938
  },
939
939
  RFC3986: function(r) {
940
940
  return String(r);
@@ -1057,7 +1057,7 @@ function() {
1057
1057
  isRegExp: Wo,
1058
1058
  maybeMap: Vo,
1059
1059
  merge: Lo
1060
- }, Ct = No, we = Tt, de = br, zo = Object.prototype.hasOwnProperty, tt = {
1060
+ }, Ct = xo, we = Tt, de = br, zo = Object.prototype.hasOwnProperty, tt = {
1061
1061
  brackets: function(e) {
1062
1062
  return e + "[]";
1063
1063
  },
@@ -1090,27 +1090,27 @@ function() {
1090
1090
  strictNullHandling: !1
1091
1091
  }, Ko = function(e) {
1092
1092
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1093
- }, tr = {}, Qo = function r(e, t, n, a, i, c, l, f, u, p, y, m, h, v, P, T) {
1094
- for (var g = e, I = T, O = 0, $ = !1; (I = I.get(tr)) !== void 0 && !$; ) {
1093
+ }, tr = {}, Qo = function r(e, t, n, a, i, c, l, f, u, p, y, m, h, v, O, T) {
1094
+ for (var g = e, I = T, P = 0, $ = !1; (I = I.get(tr)) !== void 0 && !$; ) {
1095
1095
  var s = I.get(e);
1096
- if (O += 1, typeof s < "u") {
1097
- if (s === O)
1096
+ if (P += 1, typeof s < "u") {
1097
+ if (s === P)
1098
1098
  throw new RangeError("Cyclic object value");
1099
1099
  $ = !0;
1100
1100
  }
1101
- typeof I.get(tr) > "u" && (O = 0);
1101
+ typeof I.get(tr) > "u" && (P = 0);
1102
1102
  }
1103
1103
  if (typeof f == "function" ? g = f(t, g) : g instanceof Date ? g = y(g) : n === "comma" && k(g) && (g = we.maybeMap(g, function(j) {
1104
1104
  return j instanceof Date ? y(j) : j;
1105
1105
  })), g === null) {
1106
1106
  if (i)
1107
- return l && !v ? l(t, C.encoder, P, "key", m) : t;
1107
+ return l && !v ? l(t, C.encoder, O, "key", m) : t;
1108
1108
  g = "";
1109
1109
  }
1110
1110
  if (Ko(g) || we.isBuffer(g)) {
1111
1111
  if (l) {
1112
- var F = v ? t : l(t, C.encoder, P, "key", m);
1113
- return [h(F) + "=" + h(l(g, C.encoder, P, "value", m))];
1112
+ var F = v ? t : l(t, C.encoder, O, "key", m);
1113
+ return [h(F) + "=" + h(l(g, C.encoder, O, "value", m))];
1114
1114
  }
1115
1115
  return [h(t) + "=" + h(String(g))];
1116
1116
  }
@@ -1127,13 +1127,13 @@ function() {
1127
1127
  M = u ? q.sort(u) : q;
1128
1128
  }
1129
1129
  for (var W = a && k(g) && g.length === 1 ? t + "[]" : t, K = 0; K < M.length; ++K) {
1130
- var N = M[K], x = typeof N == "object" && typeof N.value < "u" ? N.value : g[N];
1131
- if (!(c && x === null)) {
1132
- var G = k(g) ? typeof n == "function" ? n(W, N) : W : W + (p ? "." + N : "[" + N + "]");
1133
- T.set(e, O);
1130
+ var x = M[K], N = typeof x == "object" && typeof x.value < "u" ? x.value : g[x];
1131
+ if (!(c && N === null)) {
1132
+ var G = k(g) ? typeof n == "function" ? n(W, x) : W : W + (p ? "." + x : "[" + x + "]");
1133
+ T.set(e, P);
1134
1134
  var Z = Ct();
1135
1135
  Z.set(tr, T), _t(B, r(
1136
- x,
1136
+ N,
1137
1137
  G,
1138
1138
  n,
1139
1139
  a,
@@ -1147,7 +1147,7 @@ function() {
1147
1147
  m,
1148
1148
  h,
1149
1149
  v,
1150
- P,
1150
+ O,
1151
1151
  Z
1152
1152
  ));
1153
1153
  }
@@ -1254,8 +1254,8 @@ function() {
1254
1254
  var p = c[f], y = p.indexOf("]="), m = y === -1 ? p.indexOf("=") : y + 1, h, v;
1255
1255
  m === -1 ? (h = t.decoder(p, w.decoder, u, "key"), v = t.strictNullHandling ? null : "") : (h = t.decoder(p.slice(0, m), w.decoder, u, "key"), v = ue.maybeMap(
1256
1256
  It(p.slice(m + 1), t),
1257
- function(P) {
1258
- return t.decoder(P, w.decoder, u, "value");
1257
+ function(O) {
1258
+ return t.decoder(O, w.decoder, u, "value");
1259
1259
  }
1260
1260
  )), v && t.interpretNumericEntities && u === "iso-8859-1" && (v = ei(v)), p.indexOf("[]=") > -1 && (v = Zo(v) ? [v] : v), fr.call(n, h) ? n[h] = ue.combine(n[h], v) : n[h] = v;
1261
1261
  }
@@ -1329,19 +1329,19 @@ function() {
1329
1329
  parse: ci,
1330
1330
  stringify: ui
1331
1331
  };
1332
- const Nt = {
1332
+ const xt = {
1333
1333
  PENDING: "PENDING",
1334
1334
  APPROVED: "APPROVED",
1335
1335
  REJECTED: "REJECTED"
1336
1336
  }, zi = {
1337
- ...Nt,
1337
+ ...xt,
1338
1338
  BLOCKED: "BLOCKED",
1339
1339
  OPEN: "OPEN",
1340
1340
  RESOLVED: "RESOLVED"
1341
1341
  };
1342
1342
  var si = /* @__PURE__ */ ((r) => (r.BAD_LANGUAGE = "BAD_LANGUAGE", r.DISCRIMINATION = "DISCRIMINATION", r.OTHER = "OTHER", r))(si || {});
1343
1343
  const z = {
1344
- ...Nt,
1344
+ ...xt,
1345
1345
  BLOCKED: "BLOCKED",
1346
1346
  OPEN: "OPEN",
1347
1347
  REMOVED: "REMOVED",
@@ -1351,11 +1351,7 @@ const z = {
1351
1351
  entryLabel: o.record(o.array(o.string())),
1352
1352
  approvalFlow: o.array(o.string()),
1353
1353
  blockedAuthorProps: o.array(o.string()),
1354
- reportReasons: o.object({
1355
- BAD_LANGUAGE: o.literal("BAD_LANGUAGE"),
1356
- DISCRIMINATION: o.literal("DISCRIMINATION"),
1357
- OTHER: o.literal("OTHER")
1358
- }),
1354
+ reportReasons: o.record(o.string()),
1359
1355
  regex: o.object({
1360
1356
  uid: o.string(),
1361
1357
  relatedUid: o.string(),
@@ -1373,7 +1369,7 @@ const z = {
1373
1369
  url: o.string().nullable(),
1374
1370
  contactEmail: o.string().nullable()
1375
1371
  }).default({ url: null, contactEmail: null })
1376
- }), xt = o.intersection(
1372
+ }), Nt = o.intersection(
1377
1373
  o.object({
1378
1374
  id: o.number(),
1379
1375
  uid: o.string(),
@@ -1445,7 +1441,7 @@ const z = {
1445
1441
  });
1446
1442
  function sr() {
1447
1443
  return Ie.extend({
1448
- related: xt.optional(),
1444
+ related: Nt.optional(),
1449
1445
  documentId: o.string(),
1450
1446
  threadOf: o.lazy(
1451
1447
  () => Ie.merge(o.object({ related: o.string(), threadOf: Lt.nullable().optional(), documentId: o.string().optional() }))
@@ -1456,7 +1452,7 @@ const Lt = sr(), mi = o.object({
1456
1452
  pagination: Dt,
1457
1453
  result: o.array(Lt)
1458
1454
  }), vi = o.object({
1459
- entity: xt,
1455
+ entity: Nt,
1460
1456
  selected: Ie.merge(
1461
1457
  o.object({
1462
1458
  related: o.string(),
@@ -1511,7 +1507,7 @@ const Lt = sr(), mi = o.object({
1511
1507
  data: o.array(
1512
1508
  Ei
1513
1509
  )
1514
- }), Oi = o.object({
1510
+ }), Pi = o.object({
1515
1511
  data: o.object({
1516
1512
  id: o.number(),
1517
1513
  documentId: o.string(),
@@ -1535,7 +1531,7 @@ const Lt = sr(), mi = o.object({
1535
1531
  })
1536
1532
  )
1537
1533
  })
1538
- }), A = "comments", Pi = Rr.once((r) => ({
1534
+ }), A = "comments", Oi = Rr.once((r) => ({
1539
1535
  config: {
1540
1536
  getKey() {
1541
1537
  return [A, "config"];
@@ -1580,7 +1576,7 @@ const Lt = sr(), mi = o.object({
1580
1576
  },
1581
1577
  async query() {
1582
1578
  const e = await r.get("/admin/users/me");
1583
- return Oi.parseAsync(e.data).then((t) => t.data);
1579
+ return Pi.parseAsync(e.data).then((t) => t.data);
1584
1580
  }
1585
1581
  },
1586
1582
  comments: {
@@ -1669,7 +1665,7 @@ const Lt = sr(), mi = o.object({
1669
1665
  }
1670
1666
  })), $i = () => {
1671
1667
  const r = mn();
1672
- return lt(() => Pi(r), [r]);
1668
+ return lt(() => Oi(r), [r]);
1673
1669
  }, wi = dn(null), Ri = ({ children: r }) => {
1674
1670
  const e = $i(), { data: t } = fn({
1675
1671
  queryKey: e.user.getKey(),
@@ -1731,8 +1727,8 @@ var at;
1731
1727
  function Ci() {
1732
1728
  if (at) return b;
1733
1729
  at = 1;
1734
- 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, T = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1735
- function O(s) {
1730
+ 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, O = r ? Symbol.for("react.block") : 60121, T = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1731
+ function P(s) {
1736
1732
  if (typeof s == "object" && s !== null) {
1737
1733
  var F = s.$$typeof;
1738
1734
  switch (F) {
@@ -1763,35 +1759,35 @@ function Ci() {
1763
1759
  }
1764
1760
  }
1765
1761
  function $(s) {
1766
- return O(s) === u;
1762
+ return P(s) === u;
1767
1763
  }
1768
1764
  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) {
1769
- return $(s) || O(s) === f;
1765
+ return $(s) || P(s) === f;
1770
1766
  }, b.isConcurrentMode = $, b.isContextConsumer = function(s) {
1771
- return O(s) === l;
1767
+ return P(s) === l;
1772
1768
  }, b.isContextProvider = function(s) {
1773
- return O(s) === c;
1769
+ return P(s) === c;
1774
1770
  }, b.isElement = function(s) {
1775
1771
  return typeof s == "object" && s !== null && s.$$typeof === e;
1776
1772
  }, b.isForwardRef = function(s) {
1777
- return O(s) === p;
1773
+ return P(s) === p;
1778
1774
  }, b.isFragment = function(s) {
1779
- return O(s) === n;
1775
+ return P(s) === n;
1780
1776
  }, b.isLazy = function(s) {
1781
- return O(s) === v;
1777
+ return P(s) === v;
1782
1778
  }, b.isMemo = function(s) {
1783
- return O(s) === h;
1779
+ return P(s) === h;
1784
1780
  }, b.isPortal = function(s) {
1785
- return O(s) === t;
1781
+ return P(s) === t;
1786
1782
  }, b.isProfiler = function(s) {
1787
- return O(s) === i;
1783
+ return P(s) === i;
1788
1784
  }, b.isStrictMode = function(s) {
1789
- return O(s) === a;
1785
+ return P(s) === a;
1790
1786
  }, b.isSuspense = function(s) {
1791
- return O(s) === y;
1787
+ return P(s) === y;
1792
1788
  }, b.isValidElementType = function(s) {
1793
- 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 === T || s.$$typeof === g || s.$$typeof === I || s.$$typeof === P);
1794
- }, b.typeOf = O, b;
1789
+ 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 === T || s.$$typeof === g || s.$$typeof === I || s.$$typeof === O);
1790
+ }, b.typeOf = P, b;
1795
1791
  }
1796
1792
  var E = {};
1797
1793
  /** @license React v16.13.1
@@ -1805,10 +1801,10 @@ var E = {};
1805
1801
  var ot;
1806
1802
  function _i() {
1807
1803
  return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
1808
- 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, T = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1809
- function O(d) {
1804
+ 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, O = r ? Symbol.for("react.block") : 60121, T = r ? Symbol.for("react.fundamental") : 60117, g = r ? Symbol.for("react.responder") : 60118, I = r ? Symbol.for("react.scope") : 60119;
1805
+ function P(d) {
1810
1806
  return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1811
- 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 === T || d.$$typeof === g || d.$$typeof === I || d.$$typeof === P);
1807
+ 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 === T || d.$$typeof === g || d.$$typeof === I || d.$$typeof === O);
1812
1808
  }
1813
1809
  function $(d) {
1814
1810
  if (typeof d == "object" && d !== null) {
@@ -1842,11 +1838,11 @@ function _i() {
1842
1838
  }
1843
1839
  }
1844
1840
  }
1845
- var s = f, F = u, B = l, M = c, q = e, W = p, K = n, N = v, x = h, G = t, Z = i, j = a, Wt = y, Or = !1;
1841
+ var s = f, F = u, B = l, M = c, q = e, W = p, K = n, x = v, N = h, G = t, Z = i, j = a, Wt = y, Pr = !1;
1846
1842
  function Gt(d) {
1847
- return Or || (Or = !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.")), Pr(d) || $(d) === f;
1843
+ return Pr || (Pr = !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;
1848
1844
  }
1849
- function Pr(d) {
1845
+ function Or(d) {
1850
1846
  return $(d) === u;
1851
1847
  }
1852
1848
  function jt(d) {
@@ -1882,17 +1878,17 @@ function _i() {
1882
1878
  function en(d) {
1883
1879
  return $(d) === y;
1884
1880
  }
1885
- E.AsyncMode = s, E.ConcurrentMode = F, E.ContextConsumer = B, E.ContextProvider = M, E.Element = q, E.ForwardRef = W, E.Fragment = K, E.Lazy = N, E.Memo = x, E.Portal = G, E.Profiler = Z, E.StrictMode = j, E.Suspense = Wt, E.isAsyncMode = Gt, E.isConcurrentMode = Pr, E.isContextConsumer = jt, E.isContextProvider = Vt, E.isElement = zt, E.isForwardRef = Ht, E.isFragment = Yt, E.isLazy = Kt, E.isMemo = Qt, E.isPortal = Jt, E.isProfiler = Xt, E.isStrictMode = Zt, E.isSuspense = en, E.isValidElementType = O, E.typeOf = $;
1881
+ E.AsyncMode = s, E.ConcurrentMode = F, E.ContextConsumer = B, E.ContextProvider = M, E.Element = q, E.ForwardRef = W, E.Fragment = K, E.Lazy = x, E.Memo = N, E.Portal = G, E.Profiler = Z, E.StrictMode = j, E.Suspense = Wt, E.isAsyncMode = Gt, E.isConcurrentMode = Or, E.isContextConsumer = jt, E.isContextProvider = Vt, E.isElement = zt, E.isForwardRef = Ht, E.isFragment = Yt, E.isLazy = Kt, E.isMemo = Qt, E.isPortal = Jt, E.isProfiler = Xt, E.isStrictMode = Zt, E.isSuspense = en, E.isValidElementType = P, E.typeOf = $;
1886
1882
  }()), E;
1887
1883
  }
1888
1884
  process.env.NODE_ENV === "production" ? pr.exports = Ci() : pr.exports = _i();
1889
- var Ii = pr.exports, Ut = Ii, Ni = {
1885
+ var Ii = pr.exports, Ut = Ii, xi = {
1890
1886
  $$typeof: !0,
1891
1887
  render: !0,
1892
1888
  defaultProps: !0,
1893
1889
  displayName: !0,
1894
1890
  propTypes: !0
1895
- }, xi = {
1891
+ }, Ni = {
1896
1892
  $$typeof: !0,
1897
1893
  compare: !0,
1898
1894
  defaultProps: !0,
@@ -1900,8 +1896,8 @@ var Ii = pr.exports, Ut = Ii, Ni = {
1900
1896
  propTypes: !0,
1901
1897
  type: !0
1902
1898
  }, kt = {};
1903
- kt[Ut.ForwardRef] = Ni;
1904
- kt[Ut.Memo] = xi;
1899
+ kt[Ut.ForwardRef] = xi;
1900
+ kt[Ut.Memo] = Ni;
1905
1901
  function Fi(r, e, t) {
1906
1902
  if (t === void 0 && (t = Error), !r)
1907
1903
  throw new t(e);