@entropic-bond/crud-panel 4.2.1 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,8 +71,8 @@ function $t(r, t, i) {
71
71
  return c[6] = c[6] & 15 | 64, c[8] = c[8] & 63 | 128, Nt(c);
72
72
  }
73
73
  var xt = Object.defineProperty, Yt = (r, t, i, f) => {
74
- for (var c = void 0, v = r.length - 1, S; v >= 0; v--)
75
- (S = r[v]) && (c = S(t, i, c) || c);
74
+ for (var c = void 0, g = r.length - 1, S; g >= 0; g--)
75
+ (S = r[g]) && (c = S(t, i, c) || c);
76
76
  return c && xt(t, i, c), c;
77
77
  }, Y;
78
78
  const Tt = (Y = class {
@@ -263,7 +263,7 @@ const Tt = (Y = class {
263
263
  if (!this.className) throw new Error("You should register this class prior to streaming it.");
264
264
  return this._persistentProperties.forEach((i) => {
265
265
  const f = this[i.name], c = this.removeUnderscore(i);
266
- f != null && (i.isReference ? t[c] = this.toReferenceObj(i, r) : t[c] = this.toDeepObj(f, r), i.searchableArray && (t[Y.searchableArrayNameFor(c)] = f.map((v) => v.id)));
266
+ f != null && (i.isReference ? t[c] = this.toReferenceObj(i, r) : t[c] = this.toDeepObj(f, r), i.searchableArray && (t[Y.searchableArrayNameFor(c)] = f.map((g) => g.id)));
267
267
  }), t.__className = this.className, t;
268
268
  }
269
269
  static searchableArrayNameFor(r) {
@@ -311,12 +311,12 @@ const Tt = (Y = class {
311
311
  var i;
312
312
  const f = this[r.name];
313
313
  return Array.isArray(f) ? f.map((c) => {
314
- var v;
315
- return r.isPureReference || this.pushDocument(t, Y.collectionPath(c, r), c), this.buildRefObject(c, Y.collectionPath(c, r), (v = r.cachedPropsConfig) == null ? void 0 : v.cachedProps);
314
+ var g;
315
+ return r.isPureReference || this.pushDocument(t, Y.collectionPath(c, r), c), this.buildRefObject(c, Y.collectionPath(c, r), (g = r.cachedPropsConfig) == null ? void 0 : g.cachedProps);
316
316
  }) : (r.isPureReference || this.pushDocument(t, Y.collectionPath(f, r), f), this.buildRefObject(f, Y.collectionPath(f, r), (i = r.cachedPropsConfig) == null ? void 0 : i.cachedProps));
317
317
  }
318
318
  buildRefObject(r, t, i) {
319
- const f = i == null ? void 0 : i.reduce((c, v) => (r[v] !== void 0 && (c[v] = r[v]), c), {});
319
+ const f = i == null ? void 0 : i.reduce((c, g) => (r[g] !== void 0 && (c[g] = r[g]), c), {});
320
320
  return {
321
321
  id: r.id,
322
322
  __className: r.className || r.__className,
@@ -426,8 +426,8 @@ function It(r, t) {
426
426
  };
427
427
  }
428
428
  var qt = (r, t, i, f) => {
429
- for (var c = t, v = r.length - 1, S; v >= 0; v--)
430
- (S = r[v]) && (c = S(c) || c);
429
+ for (var c = t, g = r.length - 1, S; g >= 0; g--)
430
+ (S = r[g]) && (c = S(c) || c);
431
431
  return c;
432
432
  };
433
433
  let nt = class extends ze {
@@ -482,8 +482,8 @@ nt = qt([
482
482
  It("MockCloudStorage", () => new nt())
483
483
  ], nt);
484
484
  var Lt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, Ye = (r, t, i, f) => {
485
- for (var c = f > 1 ? void 0 : f ? Wt(t, i) : t, v = r.length - 1, S; v >= 0; v--)
486
- (S = r[v]) && (c = (f ? S(t, i, c) : S(c)) || c);
485
+ for (var c = f > 1 ? void 0 : f ? Wt(t, i) : t, g = r.length - 1, S; g >= 0; g--)
486
+ (S = r[g]) && (c = (f ? S(t, i, c) : S(c)) || c);
487
487
  return f && c && Lt(t, i, c), c;
488
488
  };
489
489
  let ke = class extends St {
@@ -556,7 +556,7 @@ function zt(r, t = "-") {
556
556
  const i = r.slice(1).replace(/( |[A-Z])/g, (f) => f === " " ? "-" : t + f[0].toLowerCase());
557
557
  return r[0].toLocaleLowerCase() + i.replace(/--/g, "-");
558
558
  }
559
- class Bt {
559
+ class Vt {
560
560
  constructor() {
561
561
  this._debug = !1, this._stages = {}, this._onProgress = new Je();
562
562
  }
@@ -569,7 +569,7 @@ class Bt {
569
569
  }
570
570
  pushStage(t) {
571
571
  this._stages[t.name] = t;
572
- const i = Object.values(this._stages).reduce((f, c, v, S) => f + c.progress / c.total / S.length, 0);
572
+ const i = Object.values(this._stages).reduce((f, c, g, S) => f + c.progress / c.total / S.length, 0);
573
573
  this._onProgress.notify({
574
574
  busy: i < 1,
575
575
  overallProgress: i,
@@ -586,18 +586,18 @@ class Bt {
586
586
  return this._debug;
587
587
  }
588
588
  }
589
- const Ne = class Ne {
589
+ const we = class we {
590
590
  constructor(t) {
591
- this.progressController = new Bt(), this.onChangeHdl = new Je(), this.onErrorHdl = new Je(), this.validator = {}, this.setDocument(t || this.createDocument());
591
+ this.progressController = new Vt(), this.onChangeHdl = new Je(), this.onErrorHdl = new Je(), this.validator = {}, this.setDocument(t || this.createDocument());
592
592
  }
593
593
  allRequiredPropertiesFilled() {
594
- return this.nonFilledRequiredProperties.length <= 0;
594
+ return this.nonFilledRequiredProperties.length <= 0 && this.validateGlobal();
595
595
  }
596
596
  get nonFilledRequiredProperties() {
597
597
  return this.requiredProperties.filter((t) => this.validateProp(t));
598
598
  }
599
599
  get requiredProperties() {
600
- if (!this.document) throw new Error(Ne.errorMessages.missedDocument);
600
+ if (!this.document) throw new Error(we.errorMessages.missedDocument);
601
601
  const t = this.document.getPersistentProperties().filter((f) => this.document.isRequired(f.name)).map((f) => f.name);
602
602
  return [...new Set(t.concat(Object.keys(this.validator)))];
603
603
  }
@@ -610,21 +610,36 @@ const Ne = class Ne {
610
610
  removeValidator(t) {
611
611
  delete this.validator[t];
612
612
  }
613
+ addGlobalValidator(t, i) {
614
+ this.globalValidator = {
615
+ func: t,
616
+ errorMessage: i
617
+ };
618
+ }
619
+ removeGlobalValidator() {
620
+ this.globalValidator = void 0;
621
+ }
613
622
  failedValidationError(t) {
614
- var i;
615
- return (i = this.validator[t]) == null ? void 0 : i.errorMessage;
623
+ var f, c, g;
624
+ if (t) return (f = this.validator[t]) == null ? void 0 : f.errorMessage;
625
+ const i = this.nonFilledRequiredProperties[0];
626
+ return i ? (c = this.validator[i]) == null ? void 0 : c.errorMessage : (g = this.globalValidator) == null ? void 0 : g.errorMessage;
616
627
  }
617
628
  validateProp(t) {
618
- if (!this.document) throw new Error(Ne.errorMessages.missedDocument);
629
+ if (!this.document) throw new Error(we.errorMessages.missedDocument);
619
630
  const i = this.document[t];
620
631
  return this.validator[t] ? !this.validator[t].func(i) : !this.document.isPropValueValid(t);
621
632
  }
633
+ validateGlobal() {
634
+ if (!this.document) throw new Error(we.errorMessages.missedDocument);
635
+ return this.globalValidator ? this.globalValidator.func(this.document) : !0;
636
+ }
622
637
  storeDoc() {
623
- if (!this.document) throw new Error(Ne.errorMessages.missedDocument);
638
+ if (!this.document) throw new Error(we.errorMessages.missedDocument);
624
639
  return this.model.save(this.document);
625
640
  }
626
641
  deleteDoc() {
627
- if (!this.document) throw new Error(Ne.errorMessages.missedDocument);
642
+ if (!this.document) throw new Error(we.errorMessages.missedDocument);
628
643
  return this.model.delete(this.document.id);
629
644
  }
630
645
  /**
@@ -769,10 +784,10 @@ const Ne = class Ne {
769
784
  return this.onErrorHdl.subscribersCount === 0;
770
785
  }
771
786
  };
772
- Ne.errorMessages = {
787
+ we.errorMessages = {
773
788
  missedDocument: "No document to save"
774
789
  };
775
- let _t = Ne;
790
+ let Et = we;
776
791
  var Qe = { exports: {} }, Ie = {};
777
792
  /**
778
793
  * @license React
@@ -783,24 +798,24 @@ var Qe = { exports: {} }, Ie = {};
783
798
  * This source code is licensed under the MIT license found in the
784
799
  * LICENSE file in the root directory of this source tree.
785
800
  */
786
- var Et;
787
- function Vt() {
788
- if (Et) return Ie;
789
- Et = 1;
801
+ var _t;
802
+ function Bt() {
803
+ if (_t) return Ie;
804
+ _t = 1;
790
805
  var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
791
- function i(f, c, v) {
806
+ function i(f, c, g) {
792
807
  var S = null;
793
- if (v !== void 0 && (S = "" + v), c.key !== void 0 && (S = "" + c.key), "key" in c) {
794
- v = {};
808
+ if (g !== void 0 && (S = "" + g), c.key !== void 0 && (S = "" + c.key), "key" in c) {
809
+ g = {};
795
810
  for (var M in c)
796
- M !== "key" && (v[M] = c[M]);
797
- } else v = c;
798
- return c = v.ref, {
811
+ M !== "key" && (g[M] = c[M]);
812
+ } else g = c;
813
+ return c = g.ref, {
799
814
  $$typeof: r,
800
815
  type: f,
801
816
  key: S,
802
817
  ref: c !== void 0 ? c : null,
803
- props: v
818
+ props: g
804
819
  };
805
820
  }
806
821
  return Ie.Fragment = t, Ie.jsx = i, Ie.jsxs = i, Ie;
@@ -819,7 +834,7 @@ var bt;
819
834
  function Ft() {
820
835
  if (bt) return R;
821
836
  bt = 1;
822
- var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), S = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), B = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), ee = Symbol.iterator;
837
+ var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), g = Symbol.for("react.consumer"), S = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), V = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), ee = Symbol.iterator;
823
838
  function de(s) {
824
839
  return s === null || typeof s != "object" ? null : (s = ee && s[ee] || s["@@iterator"], typeof s == "function" ? s : null);
825
840
  }
@@ -834,37 +849,37 @@ function Ft() {
834
849
  enqueueSetState: function() {
835
850
  }
836
851
  }, ue = Object.assign, te = {};
837
- function V(s, a, E) {
838
- this.props = s, this.context = a, this.refs = te, this.updater = E || ie;
852
+ function B(s, a, _) {
853
+ this.props = s, this.context = a, this.refs = te, this.updater = _ || ie;
839
854
  }
840
- V.prototype.isReactComponent = {}, V.prototype.setState = function(s, a) {
855
+ B.prototype.isReactComponent = {}, B.prototype.setState = function(s, a) {
841
856
  if (typeof s != "object" && typeof s != "function" && s != null)
842
857
  throw Error(
843
858
  "takes an object of state variables to update or a function which returns an object of state variables."
844
859
  );
845
860
  this.updater.enqueueSetState(this, s, a, "setState");
846
- }, V.prototype.forceUpdate = function(s) {
861
+ }, B.prototype.forceUpdate = function(s) {
847
862
  this.updater.enqueueForceUpdate(this, s, "forceUpdate");
848
863
  };
849
864
  function ae() {
850
865
  }
851
- ae.prototype = V.prototype;
852
- function re(s, a, E) {
853
- this.props = s, this.context = a, this.refs = te, this.updater = E || ie;
866
+ ae.prototype = B.prototype;
867
+ function re(s, a, _) {
868
+ this.props = s, this.context = a, this.refs = te, this.updater = _ || ie;
854
869
  }
855
870
  var he = re.prototype = new ae();
856
- he.constructor = re, ue(he, V.prototype), he.isPureReactComponent = !0;
871
+ he.constructor = re, ue(he, B.prototype), he.isPureReactComponent = !0;
857
872
  var pe = Array.isArray, k = { H: null, A: null, T: null, S: null }, oe = Object.prototype.hasOwnProperty;
858
- function me(s, a, E, y, w, A) {
859
- return E = A.ref, {
873
+ function me(s, a, _, y, w, A) {
874
+ return _ = A.ref, {
860
875
  $$typeof: r,
861
876
  type: s,
862
877
  key: a,
863
- ref: E !== void 0 ? E : null,
878
+ ref: _ !== void 0 ? _ : null,
864
879
  props: A
865
880
  };
866
881
  }
867
- function we(s, a) {
882
+ function Ce(s, a) {
868
883
  return me(
869
884
  s.type,
870
885
  a,
@@ -877,15 +892,15 @@ function Ft() {
877
892
  function L(s) {
878
893
  return typeof s == "object" && s !== null && s.$$typeof === r;
879
894
  }
880
- function Ce(s) {
895
+ function Re(s) {
881
896
  var a = { "=": "=0", ":": "=2" };
882
- return "$" + s.replace(/[=:]/g, function(E) {
883
- return a[E];
897
+ return "$" + s.replace(/[=:]/g, function(_) {
898
+ return a[_];
884
899
  });
885
900
  }
886
901
  var ge = /\/+/g;
887
902
  function ce(s, a) {
888
- return typeof s == "object" && s !== null && s.key != null ? Ce("" + s.key) : a.toString(36);
903
+ return typeof s == "object" && s !== null && s.key != null ? Re("" + s.key) : a.toString(36);
889
904
  }
890
905
  function ne() {
891
906
  }
@@ -912,7 +927,7 @@ function Ft() {
912
927
  }
913
928
  throw s;
914
929
  }
915
- function K(s, a, E, y, w) {
930
+ function K(s, a, _, y, w) {
916
931
  var A = typeof s;
917
932
  (A === "undefined" || A === "boolean") && (s = null);
918
933
  var b = !1;
@@ -934,18 +949,18 @@ function Ft() {
934
949
  return b = s._init, K(
935
950
  b(s._payload),
936
951
  a,
937
- E,
952
+ _,
938
953
  y,
939
954
  w
940
955
  );
941
956
  }
942
957
  }
943
958
  if (b)
944
- return w = w(s), b = y === "" ? "." + ce(s, 0) : y, pe(w) ? (E = "", b != null && (E = b.replace(ge, "$&/") + "/"), K(w, a, E, "", function(ye) {
959
+ return w = w(s), b = y === "" ? "." + ce(s, 0) : y, pe(w) ? (_ = "", b != null && (_ = b.replace(ge, "$&/") + "/"), K(w, a, _, "", function(ye) {
945
960
  return ye;
946
- })) : w != null && (L(w) && (w = we(
961
+ })) : w != null && (L(w) && (w = Ce(
947
962
  w,
948
- E + (w.key == null || s && s.key === w.key ? "" : ("" + w.key).replace(
963
+ _ + (w.key == null || s && s.key === w.key ? "" : ("" + w.key).replace(
949
964
  ge,
950
965
  "$&/"
951
966
  ) + "/") + b
@@ -957,7 +972,7 @@ function Ft() {
957
972
  y = s[D], A = W + ce(y, D), b += K(
958
973
  y,
959
974
  a,
960
- E,
975
+ _,
961
976
  A,
962
977
  w
963
978
  );
@@ -966,7 +981,7 @@ function Ft() {
966
981
  y = y.value, A = W + ce(y, D++), b += K(
967
982
  y,
968
983
  a,
969
- E,
984
+ _,
970
985
  A,
971
986
  w
972
987
  );
@@ -975,7 +990,7 @@ function Ft() {
975
990
  return K(
976
991
  ve(s),
977
992
  a,
978
- E,
993
+ _,
979
994
  y,
980
995
  w
981
996
  );
@@ -985,22 +1000,22 @@ function Ft() {
985
1000
  }
986
1001
  return b;
987
1002
  }
988
- function F(s, a, E) {
1003
+ function F(s, a, _) {
989
1004
  if (s == null) return s;
990
1005
  var y = [], w = 0;
991
1006
  return K(s, y, "", "", function(A) {
992
- return a.call(E, A, w++);
1007
+ return a.call(_, A, w++);
993
1008
  }), y;
994
1009
  }
995
1010
  function le(s) {
996
1011
  if (s._status === -1) {
997
1012
  var a = s._result;
998
1013
  a = a(), a.then(
999
- function(E) {
1000
- (s._status === 0 || s._status === -1) && (s._status = 1, s._result = E);
1014
+ function(_) {
1015
+ (s._status === 0 || s._status === -1) && (s._status = 1, s._result = _);
1001
1016
  },
1002
- function(E) {
1003
- (s._status === 0 || s._status === -1) && (s._status = 2, s._result = E);
1017
+ function(_) {
1018
+ (s._status === 0 || s._status === -1) && (s._status = 2, s._result = _);
1004
1019
  }
1005
1020
  ), s._status === -1 && (s._status = 0, s._result = a);
1006
1021
  }
@@ -1026,13 +1041,13 @@ function Ft() {
1026
1041
  }
1027
1042
  return R.Children = {
1028
1043
  map: F,
1029
- forEach: function(s, a, E) {
1044
+ forEach: function(s, a, _) {
1030
1045
  F(
1031
1046
  s,
1032
1047
  function() {
1033
1048
  a.apply(this, arguments);
1034
1049
  },
1035
- E
1050
+ _
1036
1051
  );
1037
1052
  },
1038
1053
  count: function(s) {
@@ -1053,13 +1068,13 @@ function Ft() {
1053
1068
  );
1054
1069
  return s;
1055
1070
  }
1056
- }, R.Component = V, R.Fragment = i, R.Profiler = c, R.PureComponent = re, R.StrictMode = f, R.Suspense = I, R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = k, R.act = function() {
1071
+ }, R.Component = B, R.Fragment = i, R.Profiler = c, R.PureComponent = re, R.StrictMode = f, R.Suspense = I, R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = k, R.act = function() {
1057
1072
  throw Error("act(...) is not supported in production builds of React.");
1058
1073
  }, R.cache = function(s) {
1059
1074
  return function() {
1060
1075
  return s.apply(null, arguments);
1061
1076
  };
1062
- }, R.cloneElement = function(s, a, E) {
1077
+ }, R.cloneElement = function(s, a, _) {
1063
1078
  if (s == null)
1064
1079
  throw Error(
1065
1080
  "The argument must be a React element, but you passed " + s + "."
@@ -1069,7 +1084,7 @@ function Ft() {
1069
1084
  for (b in a.ref !== void 0 && (A = void 0), a.key !== void 0 && (w = "" + a.key), a)
1070
1085
  !oe.call(a, b) || b === "key" || b === "__self" || b === "__source" || b === "ref" && a.ref === void 0 || (y[b] = a[b]);
1071
1086
  var b = arguments.length - 2;
1072
- if (b === 1) y.children = E;
1087
+ if (b === 1) y.children = _;
1073
1088
  else if (1 < b) {
1074
1089
  for (var W = Array(b), D = 0; D < b; D++)
1075
1090
  W[D] = arguments[D + 2];
@@ -1085,16 +1100,16 @@ function Ft() {
1085
1100
  Provider: null,
1086
1101
  Consumer: null
1087
1102
  }, s.Provider = s, s.Consumer = {
1088
- $$typeof: v,
1103
+ $$typeof: g,
1089
1104
  _context: s
1090
1105
  }, s;
1091
- }, R.createElement = function(s, a, E) {
1106
+ }, R.createElement = function(s, a, _) {
1092
1107
  var y, w = {}, A = null;
1093
1108
  if (a != null)
1094
1109
  for (y in a.key !== void 0 && (A = "" + a.key), a)
1095
1110
  oe.call(a, y) && y !== "key" && y !== "__self" && y !== "__source" && (w[y] = a[y]);
1096
1111
  var b = arguments.length - 2;
1097
- if (b === 1) w.children = E;
1112
+ if (b === 1) w.children = _;
1098
1113
  else if (1 < b) {
1099
1114
  for (var W = Array(b), D = 0; D < b; D++)
1100
1115
  W[D] = arguments[D + 2];
@@ -1116,16 +1131,16 @@ function Ft() {
1116
1131
  };
1117
1132
  }, R.memo = function(s, a) {
1118
1133
  return {
1119
- $$typeof: B,
1134
+ $$typeof: V,
1120
1135
  type: s,
1121
1136
  compare: a === void 0 ? null : a
1122
1137
  };
1123
1138
  }, R.startTransition = function(s) {
1124
- var a = k.T, E = {};
1125
- k.T = E;
1139
+ var a = k.T, _ = {};
1140
+ k.T = _;
1126
1141
  try {
1127
1142
  var y = s(), w = k.S;
1128
- w !== null && w(E, y), typeof y == "object" && y !== null && typeof y.then == "function" && y.then(j, De);
1143
+ w !== null && w(_, y), typeof y == "object" && y !== null && typeof y.then == "function" && y.then(j, De);
1129
1144
  } catch (A) {
1130
1145
  De(A);
1131
1146
  } finally {
@@ -1135,8 +1150,8 @@ function Ft() {
1135
1150
  return k.H.useCacheRefresh();
1136
1151
  }, R.use = function(s) {
1137
1152
  return k.H.use(s);
1138
- }, R.useActionState = function(s, a, E) {
1139
- return k.H.useActionState(s, a, E);
1153
+ }, R.useActionState = function(s, a, _) {
1154
+ return k.H.useActionState(s, a, _);
1140
1155
  }, R.useCallback = function(s, a) {
1141
1156
  return k.H.useCallback(s, a);
1142
1157
  }, R.useContext = function(s) {
@@ -1148,8 +1163,8 @@ function Ft() {
1148
1163
  return k.H.useEffect(s, a);
1149
1164
  }, R.useId = function() {
1150
1165
  return k.H.useId();
1151
- }, R.useImperativeHandle = function(s, a, E) {
1152
- return k.H.useImperativeHandle(s, a, E);
1166
+ }, R.useImperativeHandle = function(s, a, _) {
1167
+ return k.H.useImperativeHandle(s, a, _);
1153
1168
  }, R.useInsertionEffect = function(s, a) {
1154
1169
  return k.H.useInsertionEffect(s, a);
1155
1170
  }, R.useLayoutEffect = function(s, a) {
@@ -1158,17 +1173,17 @@ function Ft() {
1158
1173
  return k.H.useMemo(s, a);
1159
1174
  }, R.useOptimistic = function(s, a) {
1160
1175
  return k.H.useOptimistic(s, a);
1161
- }, R.useReducer = function(s, a, E) {
1162
- return k.H.useReducer(s, a, E);
1176
+ }, R.useReducer = function(s, a, _) {
1177
+ return k.H.useReducer(s, a, _);
1163
1178
  }, R.useRef = function(s) {
1164
1179
  return k.H.useRef(s);
1165
1180
  }, R.useState = function(s) {
1166
1181
  return k.H.useState(s);
1167
- }, R.useSyncExternalStore = function(s, a, E) {
1182
+ }, R.useSyncExternalStore = function(s, a, _) {
1168
1183
  return k.H.useSyncExternalStore(
1169
1184
  s,
1170
1185
  a,
1171
- E
1186
+ _
1172
1187
  );
1173
1188
  }, R.useTransition = function() {
1174
1189
  return k.H.useTransition();
@@ -1190,7 +1205,7 @@ function Gt() {
1190
1205
  return wt || (wt = 1, function(r, t) {
1191
1206
  process.env.NODE_ENV !== "production" && function() {
1192
1207
  function i(e, n) {
1193
- Object.defineProperty(v.prototype, e, {
1208
+ Object.defineProperty(g.prototype, e, {
1194
1209
  get: function() {
1195
1210
  console.warn(
1196
1211
  "%s(...) is deprecated in plain JavaScript React classes. %s",
@@ -1212,7 +1227,7 @@ function Gt() {
1212
1227
  e
1213
1228
  ), Ue[u] = !0);
1214
1229
  }
1215
- function v(e, n, u) {
1230
+ function g(e, n, u) {
1216
1231
  this.props = e, this.context = n, this.refs = h, this.updater = u || o;
1217
1232
  }
1218
1233
  function S() {
@@ -1223,7 +1238,7 @@ function Gt() {
1223
1238
  function I(e) {
1224
1239
  return "" + e;
1225
1240
  }
1226
- function B(e) {
1241
+ function V(e) {
1227
1242
  try {
1228
1243
  I(e);
1229
1244
  var n = !1;
@@ -1254,25 +1269,25 @@ function Gt() {
1254
1269
  return "Profiler";
1255
1270
  case ye:
1256
1271
  return "StrictMode";
1257
- case _e:
1272
+ case Ee:
1258
1273
  return "Suspense";
1259
- case Se:
1274
+ case je:
1260
1275
  return "SuspenseList";
1261
1276
  }
1262
1277
  if (typeof e == "object")
1263
1278
  switch (typeof e.tag == "number" && console.error(
1264
1279
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
1265
1280
  ), e.$$typeof) {
1266
- case Oe:
1281
+ case Te:
1267
1282
  return (e.displayName || "Context") + ".Provider";
1268
- case Re:
1283
+ case Oe:
1269
1284
  return (e._context.displayName || "Context") + ".Consumer";
1270
- case Te:
1285
+ case Se:
1271
1286
  var n = e.render;
1272
1287
  return e = e.displayName, e || (e = n.displayName || n.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
1273
- case je:
1288
+ case Pe:
1274
1289
  return n = e.displayName || null, n !== null ? n : q(e.type) || "Memo";
1275
- case Ee:
1290
+ case _e:
1276
1291
  n = e._payload, e = e._init;
1277
1292
  try {
1278
1293
  return q(e(n));
@@ -1282,13 +1297,13 @@ function Gt() {
1282
1297
  return null;
1283
1298
  }
1284
1299
  function ee(e) {
1285
- return typeof e == "string" || typeof e == "function" || e === D || e === Me || e === ye || e === _e || e === Se || e === Be || typeof e == "object" && e !== null && (e.$$typeof === Ee || e.$$typeof === je || e.$$typeof === Oe || e.$$typeof === Re || e.$$typeof === Te || e.$$typeof === H || e.getModuleId !== void 0);
1300
+ return typeof e == "string" || typeof e == "function" || e === D || e === Me || e === ye || e === Ee || e === je || e === Ve || typeof e == "object" && e !== null && (e.$$typeof === _e || e.$$typeof === Pe || e.$$typeof === Te || e.$$typeof === Oe || e.$$typeof === Se || e.$$typeof === H || e.getModuleId !== void 0);
1286
1301
  }
1287
1302
  function de() {
1288
1303
  }
1289
1304
  function ie() {
1290
1305
  if (G === 0) {
1291
- be = console.log, Z = console.info, Pe = console.warn, Q = console.error, st = console.group, it = console.groupCollapsed, ut = console.groupEnd;
1306
+ be = console.log, Z = console.info, Ae = console.warn, Q = console.error, st = console.group, it = console.groupCollapsed, ut = console.groupEnd;
1292
1307
  var e = {
1293
1308
  configurable: !0,
1294
1309
  enumerable: !0,
@@ -1313,7 +1328,7 @@ function Gt() {
1313
1328
  Object.defineProperties(console, {
1314
1329
  log: d({}, e, { value: be }),
1315
1330
  info: d({}, e, { value: Z }),
1316
- warn: d({}, e, { value: Pe }),
1331
+ warn: d({}, e, { value: Ae }),
1317
1332
  error: d({}, e, { value: Q }),
1318
1333
  group: d({}, e, { value: st }),
1319
1334
  groupCollapsed: d({}, e, { value: it }),
@@ -1336,13 +1351,13 @@ function Gt() {
1336
1351
  return `
1337
1352
  ` + Ze + e + at;
1338
1353
  }
1339
- function V(e, n) {
1354
+ function B(e, n) {
1340
1355
  if (!e || et) return "";
1341
1356
  var u = tt.get(e);
1342
1357
  if (u !== void 0) return u;
1343
1358
  et = !0, u = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
1344
1359
  var l = null;
1345
- l = _.H, _.H = null, ie();
1360
+ l = E.H, E.H = null, ie();
1346
1361
  try {
1347
1362
  var p = {
1348
1363
  DetermineComponentFrameRoot: function() {
@@ -1387,11 +1402,11 @@ function Gt() {
1387
1402
  }
1388
1403
  };
1389
1404
  p.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
1390
- var g = Object.getOwnPropertyDescriptor(
1405
+ var v = Object.getOwnPropertyDescriptor(
1391
1406
  p.DetermineComponentFrameRoot,
1392
1407
  "name"
1393
1408
  );
1394
- g && g.configurable && Object.defineProperty(
1409
+ v && v.configurable && Object.defineProperty(
1395
1410
  p.DetermineComponentFrameRoot,
1396
1411
  "name",
1397
1412
  { value: "DetermineComponentFrameRoot" }
@@ -1401,35 +1416,35 @@ function Gt() {
1401
1416
  var $ = P.split(`
1402
1417
  `), z = T.split(`
1403
1418
  `);
1404
- for (m = g = 0; g < $.length && !$[g].includes(
1419
+ for (m = v = 0; v < $.length && !$[v].includes(
1405
1420
  "DetermineComponentFrameRoot"
1406
1421
  ); )
1407
- g++;
1422
+ v++;
1408
1423
  for (; m < z.length && !z[m].includes(
1409
1424
  "DetermineComponentFrameRoot"
1410
1425
  ); )
1411
1426
  m++;
1412
- if (g === $.length || m === z.length)
1413
- for (g = $.length - 1, m = z.length - 1; 1 <= g && 0 <= m && $[g] !== z[m]; )
1427
+ if (v === $.length || m === z.length)
1428
+ for (v = $.length - 1, m = z.length - 1; 1 <= v && 0 <= m && $[v] !== z[m]; )
1414
1429
  m--;
1415
- for (; 1 <= g && 0 <= m; g--, m--)
1416
- if ($[g] !== z[m]) {
1417
- if (g !== 1 || m !== 1)
1430
+ for (; 1 <= v && 0 <= m; v--, m--)
1431
+ if ($[v] !== z[m]) {
1432
+ if (v !== 1 || m !== 1)
1418
1433
  do
1419
- if (g--, m--, 0 > m || $[g] !== z[m]) {
1420
- var Ae = `
1421
- ` + $[g].replace(
1434
+ if (v--, m--, 0 > m || $[v] !== z[m]) {
1435
+ var Ne = `
1436
+ ` + $[v].replace(
1422
1437
  " at new ",
1423
1438
  " at "
1424
1439
  );
1425
- return e.displayName && Ae.includes("<anonymous>") && (Ae = Ae.replace("<anonymous>", e.displayName)), typeof e == "function" && tt.set(e, Ae), Ae;
1440
+ return e.displayName && Ne.includes("<anonymous>") && (Ne = Ne.replace("<anonymous>", e.displayName)), typeof e == "function" && tt.set(e, Ne), Ne;
1426
1441
  }
1427
- while (1 <= g && 0 <= m);
1442
+ while (1 <= v && 0 <= m);
1428
1443
  break;
1429
1444
  }
1430
1445
  }
1431
1446
  } finally {
1432
- et = !1, _.H = l, ue(), Error.prepareStackTrace = u;
1447
+ et = !1, E.H = l, ue(), Error.prepareStackTrace = u;
1433
1448
  }
1434
1449
  return $ = ($ = e ? e.displayName || e.name : "") ? te($) : "", typeof e == "function" && tt.set(e, $), $;
1435
1450
  }
@@ -1437,25 +1452,25 @@ function Gt() {
1437
1452
  if (e == null) return "";
1438
1453
  if (typeof e == "function") {
1439
1454
  var n = e.prototype;
1440
- return V(
1455
+ return B(
1441
1456
  e,
1442
1457
  !(!n || !n.isReactComponent)
1443
1458
  );
1444
1459
  }
1445
1460
  if (typeof e == "string") return te(e);
1446
1461
  switch (e) {
1447
- case _e:
1462
+ case Ee:
1448
1463
  return te("Suspense");
1449
- case Se:
1464
+ case je:
1450
1465
  return te("SuspenseList");
1451
1466
  }
1452
1467
  if (typeof e == "object")
1453
1468
  switch (e.$$typeof) {
1454
- case Te:
1455
- return e = V(e.render, !1), e;
1456
- case je:
1469
+ case Se:
1470
+ return e = B(e.render, !1), e;
1471
+ case Pe:
1457
1472
  return ae(e.type);
1458
- case Ee:
1473
+ case _e:
1459
1474
  n = e._payload, e = e._init;
1460
1475
  try {
1461
1476
  return ae(e(n));
@@ -1465,7 +1480,7 @@ function Gt() {
1465
1480
  return "";
1466
1481
  }
1467
1482
  function re() {
1468
- var e = _.A;
1483
+ var e = E.A;
1469
1484
  return e === null ? null : e.getOwner();
1470
1485
  }
1471
1486
  function he(e) {
@@ -1493,12 +1508,12 @@ function Gt() {
1493
1508
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
1494
1509
  )), e = this.props.ref, e !== void 0 ? e : null;
1495
1510
  }
1496
- function oe(e, n, u, l, p, g) {
1497
- return u = g.ref, e = {
1511
+ function oe(e, n, u, l, p, v) {
1512
+ return u = v.ref, e = {
1498
1513
  $$typeof: b,
1499
1514
  type: e,
1500
1515
  key: n,
1501
- props: g,
1516
+ props: v,
1502
1517
  _owner: p
1503
1518
  }, (u !== void 0 ? u : null) !== null ? Object.defineProperty(e, "ref", {
1504
1519
  enumerable: !1,
@@ -1525,37 +1540,37 @@ function Gt() {
1525
1540
  e.props
1526
1541
  ), n._store.validated = e._store.validated, n;
1527
1542
  }
1528
- function we(e, n) {
1543
+ function Ce(e, n) {
1529
1544
  if (typeof e == "object" && e && e.$$typeof !== At) {
1530
1545
  if (N(e))
1531
1546
  for (var u = 0; u < e.length; u++) {
1532
1547
  var l = e[u];
1533
- L(l) && Ce(l, n);
1548
+ L(l) && Re(l, n);
1534
1549
  }
1535
1550
  else if (L(e))
1536
1551
  e._store && (e._store.validated = 1);
1537
1552
  else if (u = f(e), typeof u == "function" && u !== e.entries && (u = u.call(e), u !== e))
1538
1553
  for (; !(e = u.next()).done; )
1539
- L(e.value) && Ce(e.value, n);
1554
+ L(e.value) && Re(e.value, n);
1540
1555
  }
1541
1556
  }
1542
1557
  function L(e) {
1543
1558
  return typeof e == "object" && e !== null && e.$$typeof === b;
1544
1559
  }
1545
- function Ce(e, n) {
1560
+ function Re(e, n) {
1546
1561
  if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, n = ge(n), !dt[n])) {
1547
1562
  dt[n] = !0;
1548
1563
  var u = "";
1549
1564
  e && e._owner != null && e._owner !== re() && (u = null, typeof e._owner.tag == "number" ? u = q(e._owner.type) : typeof e._owner.name == "string" && (u = e._owner.name), u = " It was passed a child from " + u + ".");
1550
- var l = _.getCurrentStack;
1551
- _.getCurrentStack = function() {
1565
+ var l = E.getCurrentStack;
1566
+ E.getCurrentStack = function() {
1552
1567
  var p = ae(e.type);
1553
1568
  return l && (p += l() || ""), p;
1554
1569
  }, console.error(
1555
1570
  'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
1556
1571
  n,
1557
1572
  u
1558
- ), _.getCurrentStack = l;
1573
+ ), E.getCurrentStack = l;
1559
1574
  }
1560
1575
  }
1561
1576
  function ge(e) {
@@ -1573,7 +1588,7 @@ Check the top-level render call using <` + e + ">."), n;
1573
1588
  });
1574
1589
  }
1575
1590
  function ne(e, n) {
1576
- return typeof e == "object" && e !== null && e.key != null ? (B(e.key), ce("" + e.key)) : n.toString(36);
1591
+ return typeof e == "object" && e !== null && e.key != null ? (V(e.key), ce("" + e.key)) : n.toString(36);
1577
1592
  }
1578
1593
  function ve() {
1579
1594
  }
@@ -1601,12 +1616,12 @@ Check the top-level render call using <` + e + ">."), n;
1601
1616
  throw e;
1602
1617
  }
1603
1618
  function F(e, n, u, l, p) {
1604
- var g = typeof e;
1605
- (g === "undefined" || g === "boolean") && (e = null);
1619
+ var v = typeof e;
1620
+ (v === "undefined" || v === "boolean") && (e = null);
1606
1621
  var m = !1;
1607
1622
  if (e === null) m = !0;
1608
1623
  else
1609
- switch (g) {
1624
+ switch (v) {
1610
1625
  case "bigint":
1611
1626
  case "string":
1612
1627
  case "number":
@@ -1618,7 +1633,7 @@ Check the top-level render call using <` + e + ">."), n;
1618
1633
  case W:
1619
1634
  m = !0;
1620
1635
  break;
1621
- case Ee:
1636
+ case _e:
1622
1637
  return m = e._init, F(
1623
1638
  m(e._payload),
1624
1639
  n,
@@ -1633,7 +1648,7 @@ Check the top-level render call using <` + e + ">."), n;
1633
1648
  var P = l === "" ? "." + ne(m, 0) : l;
1634
1649
  return N(p) ? (u = "", P != null && (u = P.replace(pt, "$&/") + "/"), F(p, n, u, "", function($) {
1635
1650
  return $;
1636
- })) : p != null && (L(p) && (p.key != null && (m && m.key === p.key || B(p.key)), u = me(
1651
+ })) : p != null && (L(p) && (p.key != null && (m && m.key === p.key || V(p.key)), u = me(
1637
1652
  p,
1638
1653
  u + (p.key == null || m && m.key === p.key ? "" : ("" + p.key).replace(
1639
1654
  pt,
@@ -1643,25 +1658,25 @@ Check the top-level render call using <` + e + ">."), n;
1643
1658
  }
1644
1659
  if (m = 0, P = l === "" ? "." : l + ":", N(e))
1645
1660
  for (var T = 0; T < e.length; T++)
1646
- l = e[T], g = P + ne(l, T), m += F(
1661
+ l = e[T], v = P + ne(l, T), m += F(
1647
1662
  l,
1648
1663
  n,
1649
1664
  u,
1650
- g,
1665
+ v,
1651
1666
  p
1652
1667
  );
1653
1668
  else if (T = f(e), typeof T == "function")
1654
1669
  for (T === e.entries && (ht || console.warn(
1655
1670
  "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
1656
1671
  ), ht = !0), e = T.call(e), T = 0; !(l = e.next()).done; )
1657
- l = l.value, g = P + ne(l, T++), m += F(
1672
+ l = l.value, v = P + ne(l, T++), m += F(
1658
1673
  l,
1659
1674
  n,
1660
1675
  u,
1661
- g,
1676
+ v,
1662
1677
  p
1663
1678
  );
1664
- else if (g === "object") {
1679
+ else if (v === "object") {
1665
1680
  if (typeof e.then == "function")
1666
1681
  return F(
1667
1682
  K(e),
@@ -1679,8 +1694,8 @@ Check the top-level render call using <` + e + ">."), n;
1679
1694
  function le(e, n, u) {
1680
1695
  if (e == null) return e;
1681
1696
  var l = [], p = 0;
1682
- return F(e, l, "", "", function(g) {
1683
- return n.call(u, g, p++);
1697
+ return F(e, l, "", "", function(v) {
1698
+ return n.call(u, v, p++);
1684
1699
  }), l;
1685
1700
  }
1686
1701
  function De(e) {
@@ -1714,7 +1729,7 @@ Your code should look like:
1714
1729
  throw e._result;
1715
1730
  }
1716
1731
  function j() {
1717
- var e = _.H;
1732
+ var e = E.H;
1718
1733
  return e === null && console.error(
1719
1734
  `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1720
1735
  1. You might have mismatching versions of React and the renderer (such as React DOM)
@@ -1726,15 +1741,15 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1726
1741
  function s() {
1727
1742
  }
1728
1743
  function a(e) {
1729
- if (Ve === null)
1744
+ if (Be === null)
1730
1745
  try {
1731
1746
  var n = ("require" + Math.random()).slice(0, 7);
1732
- Ve = (r && r[n]).call(
1747
+ Be = (r && r[n]).call(
1733
1748
  r,
1734
1749
  "timers"
1735
1750
  ).setImmediate;
1736
1751
  } catch {
1737
- Ve = function(l) {
1752
+ Be = function(l) {
1738
1753
  gt === !1 && (gt = !0, typeof MessageChannel > "u" && console.error(
1739
1754
  "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
1740
1755
  ));
@@ -1742,9 +1757,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1742
1757
  p.port1.onmessage = l, p.port2.postMessage(void 0);
1743
1758
  };
1744
1759
  }
1745
- return Ve(e);
1760
+ return Be(e);
1746
1761
  }
1747
- function E(e) {
1762
+ function _(e) {
1748
1763
  return 1 < e.length && typeof AggregateError == "function" ? new AggregateError(e) : e[0];
1749
1764
  }
1750
1765
  function y(e, n) {
@@ -1753,7 +1768,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1753
1768
  ), Fe = n;
1754
1769
  }
1755
1770
  function w(e, n, u) {
1756
- var l = _.actQueue;
1771
+ var l = E.actQueue;
1757
1772
  if (l !== null)
1758
1773
  if (l.length !== 0)
1759
1774
  try {
@@ -1762,10 +1777,10 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1762
1777
  });
1763
1778
  return;
1764
1779
  } catch (p) {
1765
- _.thrownErrors.push(p);
1780
+ E.thrownErrors.push(p);
1766
1781
  }
1767
- else _.actQueue = null;
1768
- 0 < _.thrownErrors.length ? (l = E(_.thrownErrors), _.thrownErrors.length = 0, u(l)) : n(e);
1782
+ else E.actQueue = null;
1783
+ 0 < E.thrownErrors.length ? (l = _(E.thrownErrors), E.thrownErrors.length = 0, u(l)) : n(e);
1769
1784
  }
1770
1785
  function A(e) {
1771
1786
  if (!rt) {
@@ -1775,10 +1790,10 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1775
1790
  for (; n < e.length; n++) {
1776
1791
  var u = e[n];
1777
1792
  do {
1778
- _.didUsePromise = !1;
1793
+ E.didUsePromise = !1;
1779
1794
  var l = u(!1);
1780
1795
  if (l !== null) {
1781
- if (_.didUsePromise) {
1796
+ if (E.didUsePromise) {
1782
1797
  e[n] = u, e.splice(0, n);
1783
1798
  return;
1784
1799
  }
@@ -1788,14 +1803,14 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1788
1803
  }
1789
1804
  e.length = 0;
1790
1805
  } catch (p) {
1791
- e.splice(0, n + 1), _.thrownErrors.push(p);
1806
+ e.splice(0, n + 1), E.thrownErrors.push(p);
1792
1807
  } finally {
1793
1808
  rt = !1;
1794
1809
  }
1795
1810
  }
1796
1811
  }
1797
1812
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1798
- var b = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), D = Symbol.for("react.fragment"), ye = Symbol.for("react.strict_mode"), Me = Symbol.for("react.profiler"), Re = Symbol.for("react.consumer"), Oe = Symbol.for("react.context"), Te = Symbol.for("react.forward_ref"), _e = Symbol.for("react.suspense"), Se = Symbol.for("react.suspense_list"), je = Symbol.for("react.memo"), Ee = Symbol.for("react.lazy"), Be = Symbol.for("react.offscreen"), He = Symbol.iterator, Ue = {}, o = {
1813
+ var b = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), D = Symbol.for("react.fragment"), ye = Symbol.for("react.strict_mode"), Me = Symbol.for("react.profiler"), Oe = Symbol.for("react.consumer"), Te = Symbol.for("react.context"), Se = Symbol.for("react.forward_ref"), Ee = Symbol.for("react.suspense"), je = Symbol.for("react.suspense_list"), Pe = Symbol.for("react.memo"), _e = Symbol.for("react.lazy"), Ve = Symbol.for("react.offscreen"), He = Symbol.iterator, Ue = {}, o = {
1799
1814
  isMounted: function() {
1800
1815
  return !1;
1801
1816
  },
@@ -1809,13 +1824,13 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1809
1824
  c(e, "setState");
1810
1825
  }
1811
1826
  }, d = Object.assign, h = {};
1812
- Object.freeze(h), v.prototype.isReactComponent = {}, v.prototype.setState = function(e, n) {
1827
+ Object.freeze(h), g.prototype.isReactComponent = {}, g.prototype.setState = function(e, n) {
1813
1828
  if (typeof e != "object" && typeof e != "function" && e != null)
1814
1829
  throw Error(
1815
1830
  "takes an object of state variables to update or a function which returns an object of state variables."
1816
1831
  );
1817
1832
  this.updater.enqueueSetState(this, e, n, "setState");
1818
- }, v.prototype.forceUpdate = function(e) {
1833
+ }, g.prototype.forceUpdate = function(e) {
1819
1834
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
1820
1835
  };
1821
1836
  var O = {
@@ -1830,8 +1845,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1830
1845
  }, x;
1831
1846
  for (x in O)
1832
1847
  O.hasOwnProperty(x) && i(x, O[x]);
1833
- S.prototype = v.prototype, O = M.prototype = new S(), O.constructor = M, d(O, v.prototype), O.isPureReactComponent = !0;
1834
- var N = Array.isArray, C = Symbol.for("react.client.reference"), _ = {
1848
+ S.prototype = g.prototype, O = M.prototype = new S(), O.constructor = M, d(O, g.prototype), O.isPureReactComponent = !0;
1849
+ var N = Array.isArray, C = Symbol.for("react.client.reference"), E = {
1835
1850
  H: null,
1836
1851
  A: null,
1837
1852
  T: null,
@@ -1842,7 +1857,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1842
1857
  didUsePromise: !1,
1843
1858
  thrownErrors: [],
1844
1859
  getCurrentStack: null
1845
- }, J = Object.prototype.hasOwnProperty, H = Symbol.for("react.client.reference"), G = 0, be, Z, Pe, Q, st, it, ut;
1860
+ }, J = Object.prototype.hasOwnProperty, H = Symbol.for("react.client.reference"), G = 0, be, Z, Ae, Q, st, it, ut;
1846
1861
  de.__reactDisabledLog = !0;
1847
1862
  var Ze, at, et = !1, tt = new (typeof WeakMap == "function" ? WeakMap : Map)(), At = Symbol.for("react.client.reference"), ct, lt, ft = {}, dt = {}, ht = !1, pt = /\/+/g, mt = typeof reportError == "function" ? reportError : function(e) {
1848
1863
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
@@ -1858,7 +1873,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1858
1873
  return;
1859
1874
  }
1860
1875
  console.error(e);
1861
- }, gt = !1, Ve = null, Fe = 0, Ge = !1, rt = !1, vt = typeof queueMicrotask == "function" ? function(e) {
1876
+ }, gt = !1, Be = null, Fe = 0, Ge = !1, rt = !1, vt = typeof queueMicrotask == "function" ? function(e) {
1862
1877
  queueMicrotask(function() {
1863
1878
  return queueMicrotask(e);
1864
1879
  });
@@ -1892,19 +1907,19 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1892
1907
  );
1893
1908
  return e;
1894
1909
  }
1895
- }, t.Component = v, t.Fragment = D, t.Profiler = Me, t.PureComponent = M, t.StrictMode = ye, t.Suspense = _e, t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = _, t.act = function(e) {
1896
- var n = _.actQueue, u = Fe;
1910
+ }, t.Component = g, t.Fragment = D, t.Profiler = Me, t.PureComponent = M, t.StrictMode = ye, t.Suspense = Ee, t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = E, t.act = function(e) {
1911
+ var n = E.actQueue, u = Fe;
1897
1912
  Fe++;
1898
- var l = _.actQueue = n !== null ? n : [], p = !1;
1913
+ var l = E.actQueue = n !== null ? n : [], p = !1;
1899
1914
  try {
1900
- var g = e();
1915
+ var v = e();
1901
1916
  } catch (T) {
1902
- _.thrownErrors.push(T);
1917
+ E.thrownErrors.push(T);
1903
1918
  }
1904
- if (0 < _.thrownErrors.length)
1905
- throw y(n, u), e = E(_.thrownErrors), _.thrownErrors.length = 0, e;
1906
- if (g !== null && typeof g == "object" && typeof g.then == "function") {
1907
- var m = g;
1919
+ if (0 < E.thrownErrors.length)
1920
+ throw y(n, u), e = _(E.thrownErrors), E.thrownErrors.length = 0, e;
1921
+ if (v !== null && typeof v == "object" && typeof v.then == "function") {
1922
+ var m = v;
1908
1923
  return vt(function() {
1909
1924
  p || Ge || (Ge = !0, console.error(
1910
1925
  "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
@@ -1923,35 +1938,35 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1923
1938
  );
1924
1939
  });
1925
1940
  } catch (se) {
1926
- _.thrownErrors.push(se);
1941
+ E.thrownErrors.push(se);
1927
1942
  }
1928
- if (0 < _.thrownErrors.length) {
1929
- var Ae = E(
1930
- _.thrownErrors
1943
+ if (0 < E.thrownErrors.length) {
1944
+ var Ne = _(
1945
+ E.thrownErrors
1931
1946
  );
1932
- _.thrownErrors.length = 0, $(Ae);
1947
+ E.thrownErrors.length = 0, $(Ne);
1933
1948
  }
1934
1949
  } else T(z);
1935
1950
  },
1936
1951
  function(z) {
1937
- y(n, u), 0 < _.thrownErrors.length && (z = E(
1938
- _.thrownErrors
1939
- ), _.thrownErrors.length = 0), $(z);
1952
+ y(n, u), 0 < E.thrownErrors.length && (z = _(
1953
+ E.thrownErrors
1954
+ ), E.thrownErrors.length = 0), $(z);
1940
1955
  }
1941
1956
  );
1942
1957
  }
1943
1958
  };
1944
1959
  }
1945
- var P = g;
1960
+ var P = v;
1946
1961
  if (y(n, u), u === 0 && (A(l), l.length !== 0 && vt(function() {
1947
1962
  p || Ge || (Ge = !0, console.error(
1948
1963
  "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
1949
1964
  ));
1950
- }), _.actQueue = null), 0 < _.thrownErrors.length)
1951
- throw e = E(_.thrownErrors), _.thrownErrors.length = 0, e;
1965
+ }), E.actQueue = null), 0 < E.thrownErrors.length)
1966
+ throw e = _(E.thrownErrors), E.thrownErrors.length = 0, e;
1952
1967
  return {
1953
1968
  then: function(T, $) {
1954
- p = !0, u === 0 ? (_.actQueue = l, a(function() {
1969
+ p = !0, u === 0 ? (E.actQueue = l, a(function() {
1955
1970
  return w(
1956
1971
  P,
1957
1972
  T,
@@ -1969,7 +1984,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1969
1984
  throw Error(
1970
1985
  "The argument must be a React element, but you passed " + e + "."
1971
1986
  );
1972
- var l = d({}, e.props), p = e.key, g = e._owner;
1987
+ var l = d({}, e.props), p = e.key, v = e._owner;
1973
1988
  if (n != null) {
1974
1989
  var m;
1975
1990
  e: {
@@ -1982,7 +1997,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1982
1997
  }
1983
1998
  m = n.ref !== void 0;
1984
1999
  }
1985
- m && (g = re()), he(n) && (B(n.key), p = "" + n.key);
2000
+ m && (v = re()), he(n) && (V(n.key), p = "" + n.key);
1986
2001
  for (P in n)
1987
2002
  !J.call(n, P) || P === "key" || P === "__self" || P === "__source" || P === "ref" && n.ref === void 0 || (l[P] = n[P]);
1988
2003
  }
@@ -1994,25 +2009,25 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1994
2009
  m[T] = arguments[T + 2];
1995
2010
  l.children = m;
1996
2011
  }
1997
- for (l = oe(e.type, p, void 0, void 0, g, l), p = 2; p < arguments.length; p++)
1998
- we(arguments[p], l.type);
2012
+ for (l = oe(e.type, p, void 0, void 0, v, l), p = 2; p < arguments.length; p++)
2013
+ Ce(arguments[p], l.type);
1999
2014
  return l;
2000
2015
  }, t.createContext = function(e) {
2001
2016
  return e = {
2002
- $$typeof: Oe,
2017
+ $$typeof: Te,
2003
2018
  _currentValue: e,
2004
2019
  _currentValue2: e,
2005
2020
  _threadCount: 0,
2006
2021
  Provider: null,
2007
2022
  Consumer: null
2008
2023
  }, e.Provider = e, e.Consumer = {
2009
- $$typeof: Re,
2024
+ $$typeof: Oe,
2010
2025
  _context: e
2011
2026
  }, e._currentRenderer = null, e._currentRenderer2 = null, e;
2012
2027
  }, t.createElement = function(e, n, u) {
2013
2028
  if (ee(e))
2014
2029
  for (var l = 2; l < arguments.length; l++)
2015
- we(arguments[l], e);
2030
+ Ce(arguments[l], e);
2016
2031
  else {
2017
2032
  if (l = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null) var p = "null";
2018
2033
  else
@@ -2023,12 +2038,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2023
2038
  l
2024
2039
  );
2025
2040
  }
2026
- var g;
2041
+ var v;
2027
2042
  if (l = {}, p = null, n != null)
2028
- for (g in lt || !("__self" in n) || "key" in n || (lt = !0, console.warn(
2043
+ for (v in lt || !("__self" in n) || "key" in n || (lt = !0, console.warn(
2029
2044
  "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
2030
- )), he(n) && (B(n.key), p = "" + n.key), n)
2031
- J.call(n, g) && g !== "key" && g !== "__self" && g !== "__source" && (l[g] = n[g]);
2045
+ )), he(n) && (V(n.key), p = "" + n.key), n)
2046
+ J.call(n, v) && v !== "key" && v !== "__self" && v !== "__source" && (l[v] = n[v]);
2032
2047
  var m = arguments.length - 2;
2033
2048
  if (m === 1) l.children = u;
2034
2049
  else if (1 < m) {
@@ -2037,8 +2052,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2037
2052
  Object.freeze && Object.freeze(P), l.children = P;
2038
2053
  }
2039
2054
  if (e && e.defaultProps)
2040
- for (g in m = e.defaultProps, m)
2041
- l[g] === void 0 && (l[g] = m[g]);
2055
+ for (v in m = e.defaultProps, m)
2056
+ l[v] === void 0 && (l[v] = m[v]);
2042
2057
  return p && pe(
2043
2058
  l,
2044
2059
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
@@ -2047,7 +2062,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2047
2062
  var e = { current: null };
2048
2063
  return Object.seal(e), e;
2049
2064
  }, t.forwardRef = function(e) {
2050
- e != null && e.$$typeof === je ? console.error(
2065
+ e != null && e.$$typeof === Pe ? console.error(
2051
2066
  "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
2052
2067
  ) : typeof e != "function" ? console.error(
2053
2068
  "forwardRef requires a render function but was given %s.",
@@ -2058,7 +2073,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2058
2073
  ), e != null && e.defaultProps != null && console.error(
2059
2074
  "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
2060
2075
  );
2061
- var n = { $$typeof: Te, render: e }, u;
2076
+ var n = { $$typeof: Se, render: e }, u;
2062
2077
  return Object.defineProperty(n, "displayName", {
2063
2078
  enumerable: !1,
2064
2079
  configurable: !0,
@@ -2071,7 +2086,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2071
2086
  }), n;
2072
2087
  }, t.isValidElement = L, t.lazy = function(e) {
2073
2088
  return {
2074
- $$typeof: Ee,
2089
+ $$typeof: _e,
2075
2090
  _payload: { _status: -1, _result: e },
2076
2091
  _init: De
2077
2092
  };
@@ -2080,7 +2095,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2080
2095
  "memo: The first argument must be a component. Instead received: %s",
2081
2096
  e === null ? "null" : typeof e
2082
2097
  ), n = {
2083
- $$typeof: je,
2098
+ $$typeof: Pe,
2084
2099
  type: e,
2085
2100
  compare: n === void 0 ? null : n
2086
2101
  };
@@ -2096,17 +2111,17 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2096
2111
  }
2097
2112
  }), n;
2098
2113
  }, t.startTransition = function(e) {
2099
- var n = _.T, u = {};
2100
- _.T = u, u._updatedFibers = /* @__PURE__ */ new Set();
2114
+ var n = E.T, u = {};
2115
+ E.T = u, u._updatedFibers = /* @__PURE__ */ new Set();
2101
2116
  try {
2102
- var l = e(), p = _.S;
2117
+ var l = e(), p = E.S;
2103
2118
  p !== null && p(u, l), typeof l == "object" && l !== null && typeof l.then == "function" && l.then(s, mt);
2104
- } catch (g) {
2105
- mt(g);
2119
+ } catch (v) {
2120
+ mt(v);
2106
2121
  } finally {
2107
2122
  n === null && u._updatedFibers && (e = u._updatedFibers.size, u._updatedFibers.clear(), 10 < e && console.warn(
2108
2123
  "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
2109
- )), _.T = n;
2124
+ )), E.T = n;
2110
2125
  }
2111
2126
  }, t.unstable_useCacheRefresh = function() {
2112
2127
  return j().useCacheRefresh();
@@ -2122,7 +2137,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
2122
2137
  return j().useCallback(e, n);
2123
2138
  }, t.useContext = function(e) {
2124
2139
  var n = j();
2125
- return e.$$typeof === Re && console.error(
2140
+ return e.$$typeof === Oe && console.error(
2126
2141
  "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
2127
2142
  ), n.useContext(e);
2128
2143
  }, t.useDebugValue = function(e, n) {
@@ -2187,7 +2202,7 @@ function Kt() {
2187
2202
  return "Fragment";
2188
2203
  case k:
2189
2204
  return "Portal";
2190
- case we:
2205
+ case Ce:
2191
2206
  return "Profiler";
2192
2207
  case me:
2193
2208
  return "StrictMode";
@@ -2200,7 +2215,7 @@ function Kt() {
2200
2215
  switch (typeof o.tag == "number" && console.error(
2201
2216
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
2202
2217
  ), o.$$typeof) {
2203
- case Ce:
2218
+ case Re:
2204
2219
  return (o.displayName || "Context") + ".Provider";
2205
2220
  case L:
2206
2221
  return (o._context.displayName || "Context") + ".Consumer";
@@ -2242,7 +2257,7 @@ function Kt() {
2242
2257
  }
2243
2258
  function c() {
2244
2259
  if (w === 0) {
2245
- A = console.log, b = console.info, W = console.warn, D = console.error, ye = console.group, Me = console.groupCollapsed, Re = console.groupEnd;
2260
+ A = console.log, b = console.info, W = console.warn, D = console.error, ye = console.group, Me = console.groupCollapsed, Oe = console.groupEnd;
2246
2261
  var o = {
2247
2262
  configurable: !0,
2248
2263
  enumerable: !0,
@@ -2261,7 +2276,7 @@ function Kt() {
2261
2276
  }
2262
2277
  w++;
2263
2278
  }
2264
- function v() {
2279
+ function g() {
2265
2280
  if (w--, w === 0) {
2266
2281
  var o = { configurable: !0, enumerable: !0, writable: !0 };
2267
2282
  Object.defineProperties(console, {
@@ -2271,7 +2286,7 @@ function Kt() {
2271
2286
  error: a({}, o, { value: D }),
2272
2287
  group: a({}, o, { value: ye }),
2273
2288
  groupCollapsed: a({}, o, { value: Me }),
2274
- groupEnd: a({}, o, { value: Re })
2289
+ groupEnd: a({}, o, { value: Oe })
2275
2290
  });
2276
2291
  }
2277
2292
  0 > w && console.error(
@@ -2279,22 +2294,22 @@ function Kt() {
2279
2294
  );
2280
2295
  }
2281
2296
  function S(o) {
2282
- if (Oe === void 0)
2297
+ if (Te === void 0)
2283
2298
  try {
2284
2299
  throw Error();
2285
2300
  } catch (h) {
2286
2301
  var d = h.stack.trim().match(/\n( *(at )?)/);
2287
- Oe = d && d[1] || "", Te = -1 < h.stack.indexOf(`
2302
+ Te = d && d[1] || "", Se = -1 < h.stack.indexOf(`
2288
2303
  at`) ? " (<anonymous>)" : -1 < h.stack.indexOf("@") ? "@unknown:0:0" : "";
2289
2304
  }
2290
2305
  return `
2291
- ` + Oe + o + Te;
2306
+ ` + Te + o + Se;
2292
2307
  }
2293
2308
  function M(o, d) {
2294
- if (!o || _e) return "";
2295
- var h = Se.get(o);
2309
+ if (!o || Ee) return "";
2310
+ var h = je.get(o);
2296
2311
  if (h !== void 0) return h;
2297
- _e = !0, h = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
2312
+ Ee = !0, h = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
2298
2313
  var O = null;
2299
2314
  O = j.H, j.H = null, c();
2300
2315
  try {
@@ -2313,14 +2328,14 @@ function Kt() {
2313
2328
  try {
2314
2329
  Reflect.construct(Z, []);
2315
2330
  } catch (Q) {
2316
- var Pe = Q;
2331
+ var Ae = Q;
2317
2332
  }
2318
2333
  Reflect.construct(o, [], Z);
2319
2334
  } else {
2320
2335
  try {
2321
2336
  Z.call();
2322
2337
  } catch (Q) {
2323
- Pe = Q;
2338
+ Ae = Q;
2324
2339
  }
2325
2340
  o.call(Z.prototype);
2326
2341
  }
@@ -2328,14 +2343,14 @@ function Kt() {
2328
2343
  try {
2329
2344
  throw Error();
2330
2345
  } catch (Q) {
2331
- Pe = Q;
2346
+ Ae = Q;
2332
2347
  }
2333
2348
  (Z = o()) && typeof Z.catch == "function" && Z.catch(function() {
2334
2349
  });
2335
2350
  }
2336
2351
  } catch (Q) {
2337
- if (Q && Pe && typeof Q.stack == "string")
2338
- return [Q.stack, Pe.stack];
2352
+ if (Q && Ae && typeof Q.stack == "string")
2353
+ return [Q.stack, Ae.stack];
2339
2354
  }
2340
2355
  return [null, null];
2341
2356
  }
@@ -2350,9 +2365,9 @@ function Kt() {
2350
2365
  "name",
2351
2366
  { value: "DetermineComponentFrameRoot" }
2352
2367
  );
2353
- var C = x.DetermineComponentFrameRoot(), _ = C[0], J = C[1];
2354
- if (_ && J) {
2355
- var H = _.split(`
2368
+ var C = x.DetermineComponentFrameRoot(), E = C[0], J = C[1];
2369
+ if (E && J) {
2370
+ var H = E.split(`
2356
2371
  `), G = J.split(`
2357
2372
  `);
2358
2373
  for (C = N = 0; N < H.length && !H[N].includes(
@@ -2376,16 +2391,16 @@ function Kt() {
2376
2391
  " at new ",
2377
2392
  " at "
2378
2393
  );
2379
- return o.displayName && be.includes("<anonymous>") && (be = be.replace("<anonymous>", o.displayName)), typeof o == "function" && Se.set(o, be), be;
2394
+ return o.displayName && be.includes("<anonymous>") && (be = be.replace("<anonymous>", o.displayName)), typeof o == "function" && je.set(o, be), be;
2380
2395
  }
2381
2396
  while (1 <= N && 0 <= C);
2382
2397
  break;
2383
2398
  }
2384
2399
  }
2385
2400
  } finally {
2386
- _e = !1, j.H = O, v(), Error.prepareStackTrace = h;
2401
+ Ee = !1, j.H = O, g(), Error.prepareStackTrace = h;
2387
2402
  }
2388
- return H = (H = o ? o.displayName || o.name : "") ? S(H) : "", typeof o == "function" && Se.set(o, H), H;
2403
+ return H = (H = o ? o.displayName || o.name : "") ? S(H) : "", typeof o == "function" && je.set(o, H), H;
2389
2404
  }
2390
2405
  function I(o) {
2391
2406
  if (o == null) return "";
@@ -2418,7 +2433,7 @@ function Kt() {
2418
2433
  }
2419
2434
  return "";
2420
2435
  }
2421
- function B() {
2436
+ function V() {
2422
2437
  var o = j.A;
2423
2438
  return o === null ? null : o.getOwner();
2424
2439
  }
@@ -2431,7 +2446,7 @@ function Kt() {
2431
2446
  }
2432
2447
  function ee(o, d) {
2433
2448
  function h() {
2434
- Ee || (Ee = !0, console.error(
2449
+ _e || (_e = !0, console.error(
2435
2450
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
2436
2451
  d
2437
2452
  ));
@@ -2443,7 +2458,7 @@ function Kt() {
2443
2458
  }
2444
2459
  function de() {
2445
2460
  var o = r(this.type);
2446
- return Be[o] || (Be[o] = !0, console.error(
2461
+ return Ve[o] || (Ve[o] = !0, console.error(
2447
2462
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
2448
2463
  )), o = this.props.ref, o !== void 0 ? o : null;
2449
2464
  }
@@ -2470,7 +2485,7 @@ function Kt() {
2470
2485
  }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
2471
2486
  }
2472
2487
  function ue(o, d, h, O, x, N) {
2473
- if (typeof o == "string" || typeof o == "function" || o === oe || o === we || o === me || o === ce || o === ne || o === F || typeof o == "object" && o !== null && (o.$$typeof === K || o.$$typeof === ve || o.$$typeof === Ce || o.$$typeof === L || o.$$typeof === ge || o.$$typeof === E || o.getModuleId !== void 0)) {
2488
+ if (typeof o == "string" || typeof o == "function" || o === oe || o === Ce || o === me || o === ce || o === ne || o === F || typeof o == "object" && o !== null && (o.$$typeof === K || o.$$typeof === ve || o.$$typeof === Re || o.$$typeof === L || o.$$typeof === ge || o.$$typeof === _ || o.getModuleId !== void 0)) {
2474
2489
  var C = d.children;
2475
2490
  if (C !== void 0)
2476
2491
  if (O)
@@ -2491,10 +2506,10 @@ function Kt() {
2491
2506
  );
2492
2507
  if (s.call(d, "key")) {
2493
2508
  C = r(o);
2494
- var _ = Object.keys(d).filter(function(H) {
2509
+ var E = Object.keys(d).filter(function(H) {
2495
2510
  return H !== "key";
2496
2511
  });
2497
- O = 0 < _.length ? "{key: someKey, " + _.join(": ..., ") + ": ...}" : "{key: someKey}", He[C + O] || (_ = 0 < _.length ? "{" + _.join(": ..., ") + ": ...}" : "{}", console.error(
2512
+ O = 0 < E.length ? "{key: someKey, " + E.join(": ..., ") + ": ...}" : "{key: someKey}", He[C + O] || (E = 0 < E.length ? "{" + E.join(": ..., ") + ": ...}" : "{}", console.error(
2498
2513
  `A props object containing a "key" prop is being spread into JSX:
2499
2514
  let props = %s;
2500
2515
  <%s {...props} />
@@ -2503,7 +2518,7 @@ React keys must be passed directly to JSX without using spread:
2503
2518
  <%s key={someKey} {...props} />`,
2504
2519
  O,
2505
2520
  C,
2506
- _,
2521
+ E,
2507
2522
  C
2508
2523
  ), He[C + O] = !0);
2509
2524
  }
@@ -2515,30 +2530,30 @@ React keys must be passed directly to JSX without using spread:
2515
2530
  return C && ee(
2516
2531
  h,
2517
2532
  typeof o == "function" ? o.displayName || o.name || "Unknown" : o
2518
- ), ie(o, C, N, x, B(), h);
2533
+ ), ie(o, C, N, x, V(), h);
2519
2534
  }
2520
2535
  function te(o, d) {
2521
- if (typeof o == "object" && o && o.$$typeof !== je) {
2536
+ if (typeof o == "object" && o && o.$$typeof !== Pe) {
2522
2537
  if (y(o))
2523
2538
  for (var h = 0; h < o.length; h++) {
2524
2539
  var O = o[h];
2525
- V(O) && ae(O, d);
2540
+ B(O) && ae(O, d);
2526
2541
  }
2527
- else if (V(o))
2542
+ else if (B(o))
2528
2543
  o._store && (o._store.validated = 1);
2529
2544
  else if (o === null || typeof o != "object" ? h = null : (h = le && o[le] || o["@@iterator"], h = typeof h == "function" ? h : null), typeof h == "function" && h !== o.entries && (h = h.call(o), h !== o))
2530
2545
  for (; !(o = h.next()).done; )
2531
- V(o.value) && ae(o.value, d);
2546
+ B(o.value) && ae(o.value, d);
2532
2547
  }
2533
2548
  }
2534
- function V(o) {
2549
+ function B(o) {
2535
2550
  return typeof o == "object" && o !== null && o.$$typeof === pe;
2536
2551
  }
2537
2552
  function ae(o, d) {
2538
2553
  if (o._store && !o._store.validated && o.key == null && (o._store.validated = 1, d = re(d), !Ue[d])) {
2539
2554
  Ue[d] = !0;
2540
2555
  var h = "";
2541
- o && o._owner != null && o._owner !== B() && (h = null, typeof o._owner.tag == "number" ? h = r(o._owner.type) : typeof o._owner.name == "string" && (h = o._owner.name), h = " It was passed a child from " + h + ".");
2556
+ o && o._owner != null && o._owner !== V() && (h = null, typeof o._owner.tag == "number" ? h = r(o._owner.type) : typeof o._owner.name == "string" && (h = o._owner.name), h = " It was passed a child from " + h + ".");
2542
2557
  var O = j.getCurrentStack;
2543
2558
  j.getCurrentStack = function() {
2544
2559
  var x = I(o.type);
@@ -2551,16 +2566,16 @@ React keys must be passed directly to JSX without using spread:
2551
2566
  }
2552
2567
  }
2553
2568
  function re(o) {
2554
- var d = "", h = B();
2569
+ var d = "", h = V();
2555
2570
  return h && (h = r(h.type)) && (d = `
2556
2571
 
2557
2572
  Check the render method of \`` + h + "`."), d || (o = r(o)) && (d = `
2558
2573
 
2559
2574
  Check the top-level render call using <` + o + ">."), d;
2560
2575
  }
2561
- var he = Pt(), pe = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), oe = Symbol.for("react.fragment"), me = Symbol.for("react.strict_mode"), we = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), Ce = Symbol.for("react.context"), ge = Symbol.for("react.forward_ref"), ce = Symbol.for("react.suspense"), ne = Symbol.for("react.suspense_list"), ve = Symbol.for("react.memo"), K = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), le = Symbol.iterator, De = Symbol.for("react.client.reference"), j = he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, s = Object.prototype.hasOwnProperty, a = Object.assign, E = Symbol.for("react.client.reference"), y = Array.isArray, w = 0, A, b, W, D, ye, Me, Re;
2576
+ var he = Pt(), pe = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), oe = Symbol.for("react.fragment"), me = Symbol.for("react.strict_mode"), Ce = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), Re = Symbol.for("react.context"), ge = Symbol.for("react.forward_ref"), ce = Symbol.for("react.suspense"), ne = Symbol.for("react.suspense_list"), ve = Symbol.for("react.memo"), K = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), le = Symbol.iterator, De = Symbol.for("react.client.reference"), j = he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, s = Object.prototype.hasOwnProperty, a = Object.assign, _ = Symbol.for("react.client.reference"), y = Array.isArray, w = 0, A, b, W, D, ye, Me, Oe;
2562
2577
  f.__reactDisabledLog = !0;
2563
- var Oe, Te, _e = !1, Se = new (typeof WeakMap == "function" ? WeakMap : Map)(), je = Symbol.for("react.client.reference"), Ee, Be = {}, He = {}, Ue = {};
2578
+ var Te, Se, Ee = !1, je = new (typeof WeakMap == "function" ? WeakMap : Map)(), Pe = Symbol.for("react.client.reference"), _e, Ve = {}, He = {}, Ue = {};
2564
2579
  qe.Fragment = oe, qe.jsx = function(o, d, h, O, x) {
2565
2580
  return ue(o, d, h, !1, O, x);
2566
2581
  }, qe.jsxs = function(o, d, h, O, x) {
@@ -2570,7 +2585,7 @@ Check the top-level render call using <` + o + ">."), d;
2570
2585
  }
2571
2586
  var Ot;
2572
2587
  function Qt() {
2573
- return Ot || (Ot = 1, process.env.NODE_ENV === "production" ? Qe.exports = Vt() : Qe.exports = Kt()), Qe.exports;
2588
+ return Ot || (Ot = 1, process.env.NODE_ENV === "production" ? Qe.exports = Bt() : Qe.exports = Kt()), Qe.exports;
2574
2589
  }
2575
2590
  var X = Qt(), Le = Pt();
2576
2591
  class Xt extends Le.Component {
@@ -2617,11 +2632,11 @@ class Xt extends Le.Component {
2617
2632
  });
2618
2633
  }
2619
2634
  invokeContentViewChild(t) {
2620
- const { children: i, layout: f, controller: c } = this.props, { mode: v } = this.state, S = f !== "formAndItems";
2635
+ const { children: i, layout: f, controller: c } = this.props, { mode: g } = this.state, S = f !== "formAndItems";
2621
2636
  if (!c.document) return;
2622
2637
  const M = {
2623
2638
  controller: c,
2624
- submitButtonCaption: v == 2 ? t == null ? void 0 : t.updateButtonLabel : t == null ? void 0 : t.addButtonLabel,
2639
+ submitButtonCaption: g == 2 ? t == null ? void 0 : t.updateButtonLabel : t == null ? void 0 : t.addButtonLabel,
2625
2640
  onSubmit: (I) => this.storeDocument(I),
2626
2641
  onCancel: S ? () => this.setState({
2627
2642
  mode: 0
@@ -2633,20 +2648,20 @@ class Xt extends Le.Component {
2633
2648
  invokeDetailViewChild(t) {
2634
2649
  const { children: i, controller: f } = this.props, c = {
2635
2650
  document: t,
2636
- onSelect: (v) => this.editDocument(v),
2637
- onDelete: (v) => f.setDocument(v).deleteDocument()
2651
+ onSelect: (g) => this.editDocument(g),
2652
+ onDelete: (g) => f.setDocument(g).deleteDocument()
2638
2653
  };
2639
2654
  return typeof i[1] == "function" ? Le.cloneElement(i[1](c), { key: t.id }) : Le.cloneElement(i[1], { key: t.id, ...c });
2640
2655
  }
2641
2656
  render() {
2642
2657
  var ie;
2643
- const { mode: t, documents: i } = this.state, { className: f, cardAddButton: c, controller: v } = this.props, S = zt((ie = v.document) == null ? void 0 : ie.className);
2658
+ const { mode: t, documents: i } = this.state, { className: f, cardAddButton: c, controller: g } = this.props, S = zt((ie = g.document) == null ? void 0 : ie.className);
2644
2659
  let M = this.props.labels || {};
2645
2660
  const I = this.props.layout || "itemsAlways";
2646
- typeof M == "function" && (M = M(v));
2647
- const { addNewDocumentLabel: B, singularDocumentInCollectionCaption: q, documentsInCollectionCaption: ee, noDocumentsFoundLabel: de } = M;
2661
+ typeof M == "function" && (M = M(g));
2662
+ const { addNewDocumentLabel: V, singularDocumentInCollectionCaption: q, documentsInCollectionCaption: ee, noDocumentsFoundLabel: de } = M;
2648
2663
  return /* @__PURE__ */ X.jsxs("div", { className: `crud-panel ${S} ${f || ""}`, children: [
2649
- t === 0 && I !== "formAndItems" && !c && /* @__PURE__ */ X.jsx("div", { className: "header", children: this.props.header ? typeof this.props.header == "function" ? this.props.header(v, () => this.newDocument(), M) : this.props.header : /* @__PURE__ */ X.jsx("button", { onClick: () => this.newDocument(), children: B }) }),
2664
+ t === 0 && I !== "formAndItems" && !c && /* @__PURE__ */ X.jsx("div", { className: "header", children: this.props.header ? typeof this.props.header == "function" ? this.props.header(g, () => this.newDocument(), M) : this.props.header : /* @__PURE__ */ X.jsx("button", { onClick: () => this.newDocument(), children: V }) }),
2650
2665
  (I === "formAndItems" || t === 1 || t === 2) && /* @__PURE__ */ X.jsx("div", { className: "content-panel", children: this.invokeContentViewChild(M) }),
2651
2666
  (I === "itemsAlways" || I === "formAndItems" || t === 0) && /* @__PURE__ */ X.jsxs("div", { className: "collection-panel", children: [
2652
2667
  (i == null ? void 0 : i.length) > 0 && /* @__PURE__ */ X.jsx("h3", { children: i.length > 1 ? ee : q || ee }),
@@ -2658,19 +2673,19 @@ class Xt extends Le.Component {
2658
2673
  onClick: () => this.newDocument(),
2659
2674
  children: [
2660
2675
  /* @__PURE__ */ X.jsx("div", { className: "button-element", children: c }),
2661
- /* @__PURE__ */ X.jsx("div", { className: "add-label", children: B })
2676
+ /* @__PURE__ */ X.jsx("div", { className: "add-label", children: V })
2662
2677
  ]
2663
2678
  }
2664
2679
  ),
2665
2680
  i != null && i.length ? i.map((ue) => this.invokeDetailViewChild(ue)) : /* @__PURE__ */ X.jsx("p", { children: de })
2666
2681
  ] })
2667
2682
  ] }),
2668
- /* @__PURE__ */ X.jsx("div", { className: "footer", children: this.props.footer && typeof this.props.footer == "function" ? this.props.footer(v, () => this.newDocument(), M) : this.props.footer })
2683
+ /* @__PURE__ */ X.jsx("div", { className: "footer", children: this.props.footer && typeof this.props.footer == "function" ? this.props.footer(g, () => this.newDocument(), M) : this.props.footer })
2669
2684
  ] });
2670
2685
  }
2671
2686
  }
2672
2687
  export {
2673
- _t as CrudController,
2688
+ Et as CrudController,
2674
2689
  Xt as CrudPanel
2675
2690
  };
2676
2691
  //# sourceMappingURL=entropic-bond-crud-panel.js.map