@ninesstudios/whiteboard 0.0.5 → 0.0.7

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,16 +1,16 @@
1
1
  import * as We from "react";
2
- import pe, { useContext as hn, useRef as ze, useCallback as ee, useDebugValue as $n, createContext as Fn, useState as ne, useEffect as we, forwardRef as Xn, useImperativeHandle as Bn } from "react";
3
- import { unstable_batchedUpdates as Un } from "react-dom";
2
+ import pe, { useContext as yn, useRef as ze, useCallback as ee, useDebugValue as Bn, createContext as Un, useState as ne, useEffect as we, forwardRef as gn, useImperativeHandle as qn } from "react";
3
+ import { unstable_batchedUpdates as Hn } from "react-dom";
4
4
  var Tt = { exports: {} }, ft = {};
5
5
  /*
6
6
  object-assign
7
7
  (c) Sindre Sorhus
8
8
  @license MIT
9
9
  */
10
- var Bt, _r;
11
- function pn() {
12
- if (_r) return Bt;
13
- _r = 1;
10
+ var Bt, Or;
11
+ function mn() {
12
+ if (Or) return Bt;
13
+ Or = 1;
14
14
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
15
15
  function n(a) {
16
16
  if (a == null)
@@ -24,24 +24,24 @@ function pn() {
24
24
  var a = new String("abc");
25
25
  if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
26
26
  return !1;
27
- for (var u = {}, h = 0; h < 10; h++)
28
- u["_" + String.fromCharCode(h)] = h;
29
- var p = Object.getOwnPropertyNames(u).map(function(f) {
30
- return u[f];
27
+ for (var f = {}, h = 0; h < 10; h++)
28
+ f["_" + String.fromCharCode(h)] = h;
29
+ var p = Object.getOwnPropertyNames(f).map(function(u) {
30
+ return f[u];
31
31
  });
32
32
  if (p.join("") !== "0123456789")
33
33
  return !1;
34
34
  var l = {};
35
- return "abcdefghijklmnopqrst".split("").forEach(function(f) {
36
- l[f] = f;
35
+ return "abcdefghijklmnopqrst".split("").forEach(function(u) {
36
+ l[u] = u;
37
37
  }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
38
38
  } catch {
39
39
  return !1;
40
40
  }
41
41
  }
42
- return Bt = o() ? Object.assign : function(a, u) {
43
- for (var h, p = n(a), l, f = 1; f < arguments.length; f++) {
44
- h = Object(arguments[f]);
42
+ return Bt = o() ? Object.assign : function(a, f) {
43
+ for (var h, p = n(a), l, u = 1; u < arguments.length; u++) {
44
+ h = Object(arguments[u]);
45
45
  for (var g in h)
46
46
  t.call(h, g) && (p[g] = h[g]);
47
47
  if (e) {
@@ -61,24 +61,24 @@ function pn() {
61
61
  * This source code is licensed under the MIT license found in the
62
62
  * LICENSE file in the root directory of this source tree.
63
63
  */
64
- var Or;
65
- function qn() {
66
- if (Or) return ft;
67
- Or = 1, pn();
64
+ var jr;
65
+ function Gn() {
66
+ if (jr) return ft;
67
+ jr = 1, mn();
68
68
  var e = pe, t = 60103;
69
69
  if (ft.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
70
70
  var r = Symbol.for;
71
71
  t = r("react.element"), ft.Fragment = r("react.fragment");
72
72
  }
73
73
  var n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = Object.prototype.hasOwnProperty, a = { key: !0, ref: !0, __self: !0, __source: !0 };
74
- function u(h, p, l) {
75
- var f, g = {}, m = null, x = null;
74
+ function f(h, p, l) {
75
+ var u, g = {}, m = null, x = null;
76
76
  l !== void 0 && (m = "" + l), p.key !== void 0 && (m = "" + p.key), p.ref !== void 0 && (x = p.ref);
77
- for (f in p) o.call(p, f) && !a.hasOwnProperty(f) && (g[f] = p[f]);
78
- if (h && h.defaultProps) for (f in p = h.defaultProps, p) g[f] === void 0 && (g[f] = p[f]);
77
+ for (u in p) o.call(p, u) && !a.hasOwnProperty(u) && (g[u] = p[u]);
78
+ if (h && h.defaultProps) for (u in p = h.defaultProps, p) g[u] === void 0 && (g[u] = p[u]);
79
79
  return { $$typeof: t, type: h, key: m, ref: x, props: g, _owner: n.current };
80
80
  }
81
- return ft.jsx = u, ft.jsxs = u, ft;
81
+ return ft.jsx = f, ft.jsxs = f, ft;
82
82
  }
83
83
  var Ut = {};
84
84
  /** @license React v17.0.2
@@ -89,16 +89,16 @@ var Ut = {};
89
89
  * This source code is licensed under the MIT license found in the
90
90
  * LICENSE file in the root directory of this source tree.
91
91
  */
92
- var jr;
93
- function Hn() {
94
- return jr || (jr = 1, (function(e) {
92
+ var Pr;
93
+ function Kn() {
94
+ return Pr || (Pr = 1, (function(e) {
95
95
  process.env.NODE_ENV !== "production" && (function() {
96
- var t = pe, r = pn(), n = 60103, o = 60106;
96
+ var t = pe, r = mn(), n = 60103, o = 60106;
97
97
  e.Fragment = 60107;
98
- var a = 60108, u = 60114, h = 60109, p = 60110, l = 60112, f = 60113, g = 60120, m = 60115, x = 60116, y = 60121, d = 60122, S = 60117, T = 60129, M = 60131;
98
+ var a = 60108, f = 60114, h = 60109, p = 60110, l = 60112, u = 60113, g = 60120, m = 60115, x = 60116, y = 60121, d = 60122, S = 60117, T = 60129, M = 60131;
99
99
  if (typeof Symbol == "function" && Symbol.for) {
100
100
  var R = Symbol.for;
101
- n = R("react.element"), o = R("react.portal"), e.Fragment = R("react.fragment"), a = R("react.strict_mode"), u = R("react.profiler"), h = R("react.provider"), p = R("react.context"), l = R("react.forward_ref"), f = R("react.suspense"), g = R("react.suspense_list"), m = R("react.memo"), x = R("react.lazy"), y = R("react.block"), d = R("react.server.block"), S = R("react.fundamental"), R("react.scope"), R("react.opaque.id"), T = R("react.debug_trace_mode"), R("react.offscreen"), M = R("react.legacy_hidden");
101
+ n = R("react.element"), o = R("react.portal"), e.Fragment = R("react.fragment"), a = R("react.strict_mode"), f = R("react.profiler"), h = R("react.provider"), p = R("react.context"), l = R("react.forward_ref"), u = R("react.suspense"), g = R("react.suspense_list"), m = R("react.memo"), x = R("react.lazy"), y = R("react.block"), d = R("react.server.block"), S = R("react.fundamental"), R("react.scope"), R("react.opaque.id"), T = R("react.debug_trace_mode"), R("react.offscreen"), M = R("react.legacy_hidden");
102
102
  }
103
103
  var N = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
104
104
  function k(i) {
@@ -127,7 +127,7 @@ function Hn() {
127
127
  }
128
128
  var G = !1;
129
129
  function K(i) {
130
- return !!(typeof i == "string" || typeof i == "function" || i === e.Fragment || i === u || i === T || i === a || i === f || i === g || i === M || G || typeof i == "object" && i !== null && (i.$$typeof === x || i.$$typeof === m || i.$$typeof === h || i.$$typeof === p || i.$$typeof === l || i.$$typeof === S || i.$$typeof === y || i[0] === d));
130
+ return !!(typeof i == "string" || typeof i == "function" || i === e.Fragment || i === f || i === T || i === a || i === u || i === g || i === M || G || typeof i == "object" && i !== null && (i.$$typeof === x || i.$$typeof === m || i.$$typeof === h || i.$$typeof === p || i.$$typeof === l || i.$$typeof === S || i.$$typeof === y || i[0] === d));
131
131
  }
132
132
  function se(i, v, _) {
133
133
  var A = v.displayName || v.name || "";
@@ -148,11 +148,11 @@ function Hn() {
148
148
  return "Fragment";
149
149
  case o:
150
150
  return "Portal";
151
- case u:
151
+ case f:
152
152
  return "Profiler";
153
153
  case a:
154
154
  return "StrictMode";
155
- case f:
155
+ case u:
156
156
  return "Suspense";
157
157
  case g:
158
158
  return "SuspenseList";
@@ -263,7 +263,7 @@ function Hn() {
263
263
  var Oe = typeof WeakMap == "function" ? WeakMap : Map;
264
264
  ce = new Oe();
265
265
  }
266
- function D(i, v) {
266
+ function I(i, v) {
267
267
  if (!i || de)
268
268
  return "";
269
269
  {
@@ -289,29 +289,29 @@ function Hn() {
289
289
  }), typeof Reflect == "object" && Reflect.construct) {
290
290
  try {
291
291
  Reflect.construct(L, []);
292
- } catch (De) {
293
- A = De;
292
+ } catch (Ie) {
293
+ A = Ie;
294
294
  }
295
295
  Reflect.construct(i, [], L);
296
296
  } else {
297
297
  try {
298
298
  L.call();
299
- } catch (De) {
300
- A = De;
299
+ } catch (Ie) {
300
+ A = Ie;
301
301
  }
302
302
  i.call(L.prototype);
303
303
  }
304
304
  } else {
305
305
  try {
306
306
  throw Error();
307
- } catch (De) {
308
- A = De;
307
+ } catch (Ie) {
308
+ A = Ie;
309
309
  }
310
310
  i();
311
311
  }
312
- } catch (De) {
313
- if (De && A && typeof De.stack == "string") {
314
- for (var z = De.stack.split(`
312
+ } catch (Ie) {
313
+ if (Ie && A && typeof Ie.stack == "string") {
314
+ for (var z = Ie.stack.split(`
315
315
  `), q = A.stack.split(`
316
316
  `), $ = z.length - 1, H = q.length - 1; $ >= 1 && H >= 0 && z[$] !== q[H]; )
317
317
  H--;
@@ -331,13 +331,13 @@ function Hn() {
331
331
  } finally {
332
332
  de = !1, ge.current = V, Ve(), Error.prepareStackTrace = W;
333
333
  }
334
- var ut = i ? i.displayName || i.name : "", Cr = ut ? _e(ut) : "";
335
- return typeof i == "function" && ce.set(i, Cr), Cr;
334
+ var ut = i ? i.displayName || i.name : "", _r = ut ? _e(ut) : "";
335
+ return typeof i == "function" && ce.set(i, _r), _r;
336
336
  }
337
337
  function le(i, v, _) {
338
- return D(i, !1);
338
+ return I(i, !1);
339
339
  }
340
- function I(i) {
340
+ function D(i) {
341
341
  var v = i.prototype;
342
342
  return !!(v && v.isReactComponent);
343
343
  }
@@ -345,11 +345,11 @@ function Hn() {
345
345
  if (i == null)
346
346
  return "";
347
347
  if (typeof i == "function")
348
- return D(i, I(i));
348
+ return I(i, D(i));
349
349
  if (typeof i == "string")
350
350
  return _e(i);
351
351
  switch (i) {
352
- case f:
352
+ case u:
353
353
  return _e("Suspense");
354
354
  case g:
355
355
  return _e("SuspenseList");
@@ -644,11 +644,11 @@ Check the top-level render call using <` + _ + ">.");
644
644
  })();
645
645
  })(Ut)), Ut;
646
646
  }
647
- var Pr;
648
- function Gn() {
649
- return Pr || (Pr = 1, process.env.NODE_ENV === "production" ? Tt.exports = qn() : Tt.exports = Hn()), Tt.exports;
647
+ var Rr;
648
+ function Jn() {
649
+ return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? Tt.exports = Gn() : Tt.exports = Kn()), Tt.exports;
650
650
  }
651
- var w = Gn(), Mt = { exports: {} }, qt = {};
651
+ var w = Jn(), Mt = { exports: {} }, qt = {};
652
652
  /**
653
653
  * @license React
654
654
  * use-sync-external-store-shim.production.js
@@ -658,15 +658,15 @@ var w = Gn(), Mt = { exports: {} }, qt = {};
658
658
  * This source code is licensed under the MIT license found in the
659
659
  * LICENSE file in the root directory of this source tree.
660
660
  */
661
- var Rr;
662
- function Kn() {
663
- if (Rr) return qt;
664
- Rr = 1;
661
+ var Tr;
662
+ function Zn() {
663
+ if (Tr) return qt;
664
+ Tr = 1;
665
665
  var e = pe;
666
666
  function t(g, m) {
667
667
  return g === m && (g !== 0 || 1 / g === 1 / m) || g !== g && m !== m;
668
668
  }
669
- var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, o = e.useEffect, a = e.useLayoutEffect, u = e.useDebugValue;
669
+ var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, o = e.useEffect, a = e.useLayoutEffect, f = e.useDebugValue;
670
670
  function h(g, m) {
671
671
  var x = m(), y = n({ inst: { value: x, getSnapshot: m } }), d = y[0].inst, S = y[1];
672
672
  return a(
@@ -681,7 +681,7 @@ function Kn() {
681
681
  });
682
682
  },
683
683
  [g]
684
- ), u(x), x;
684
+ ), f(x), x;
685
685
  }
686
686
  function p(g) {
687
687
  var m = g.getSnapshot;
@@ -696,8 +696,8 @@ function Kn() {
696
696
  function l(g, m) {
697
697
  return m();
698
698
  }
699
- var f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : h;
700
- return qt.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, qt;
699
+ var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : h;
700
+ return qt.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, qt;
701
701
  }
702
702
  var Ht = {};
703
703
  /**
@@ -709,14 +709,14 @@ var Ht = {};
709
709
  * This source code is licensed under the MIT license found in the
710
710
  * LICENSE file in the root directory of this source tree.
711
711
  */
712
- var Tr;
713
- function Jn() {
714
- return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && (function() {
712
+ var Mr;
713
+ function Qn() {
714
+ return Mr || (Mr = 1, process.env.NODE_ENV !== "production" && (function() {
715
715
  function e(x, y) {
716
716
  return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
717
717
  }
718
718
  function t(x, y) {
719
- f || o.startTransition === void 0 || (f = !0, console.error(
719
+ u || o.startTransition === void 0 || (u = !0, console.error(
720
720
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
721
721
  ));
722
722
  var d = y();
@@ -726,7 +726,7 @@ function Jn() {
726
726
  "The result of getSnapshot should be cached to avoid an infinite loop"
727
727
  ), g = !0);
728
728
  }
729
- S = u({
729
+ S = f({
730
730
  inst: { value: d, getSnapshot: y }
731
731
  });
732
732
  var T = S[0].inst, M = S[1];
@@ -758,13 +758,13 @@ function Jn() {
758
758
  return y();
759
759
  }
760
760
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
761
- var o = pe, a = typeof Object.is == "function" ? Object.is : e, u = o.useState, h = o.useEffect, p = o.useLayoutEffect, l = o.useDebugValue, f = !1, g = !1, m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : t;
761
+ var o = pe, a = typeof Object.is == "function" ? Object.is : e, f = o.useState, h = o.useEffect, p = o.useLayoutEffect, l = o.useDebugValue, u = !1, g = !1, m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : t;
762
762
  Ht.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : m, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
763
763
  })()), Ht;
764
764
  }
765
- var Mr;
765
+ var kr;
766
766
  function pr() {
767
- return Mr || (Mr = 1, process.env.NODE_ENV === "production" ? Mt.exports = Kn() : Mt.exports = Jn()), Mt.exports;
767
+ return kr || (kr = 1, process.env.NODE_ENV === "production" ? Mt.exports = Zn() : Mt.exports = Qn()), Mt.exports;
768
768
  }
769
769
  pr();
770
770
  var kt = { exports: {} }, Gt = {};
@@ -777,16 +777,16 @@ var kt = { exports: {} }, Gt = {};
777
777
  * This source code is licensed under the MIT license found in the
778
778
  * LICENSE file in the root directory of this source tree.
779
779
  */
780
- var kr;
781
- function Zn() {
782
- if (kr) return Gt;
783
- kr = 1;
780
+ var Nr;
781
+ function eo() {
782
+ if (Nr) return Gt;
783
+ Nr = 1;
784
784
  var e = pe, t = pr();
785
- function r(l, f) {
786
- return l === f && (l !== 0 || 1 / l === 1 / f) || l !== l && f !== f;
785
+ function r(l, u) {
786
+ return l === u && (l !== 0 || 1 / l === 1 / u) || l !== l && u !== u;
787
787
  }
788
- var n = typeof Object.is == "function" ? Object.is : r, o = t.useSyncExternalStore, a = e.useRef, u = e.useEffect, h = e.useMemo, p = e.useDebugValue;
789
- return Gt.useSyncExternalStoreWithSelector = function(l, f, g, m, x) {
788
+ var n = typeof Object.is == "function" ? Object.is : r, o = t.useSyncExternalStore, a = e.useRef, f = e.useEffect, h = e.useMemo, p = e.useDebugValue;
789
+ return Gt.useSyncExternalStoreWithSelector = function(l, u, g, m, x) {
790
790
  var y = a(null);
791
791
  if (y.current === null) {
792
792
  var d = { hasValue: !1, value: null };
@@ -810,17 +810,17 @@ function Zn() {
810
810
  var M = !1, R, N, c = g === void 0 ? null : g;
811
811
  return [
812
812
  function() {
813
- return T(f());
813
+ return T(u());
814
814
  },
815
815
  c === null ? void 0 : function() {
816
816
  return T(c());
817
817
  }
818
818
  ];
819
819
  },
820
- [f, g, m, x]
820
+ [u, g, m, x]
821
821
  );
822
822
  var S = o(l, y[0], y[1]);
823
- return u(
823
+ return f(
824
824
  function() {
825
825
  d.hasValue = !0, d.value = S;
826
826
  },
@@ -838,15 +838,15 @@ var Kt = {};
838
838
  * This source code is licensed under the MIT license found in the
839
839
  * LICENSE file in the root directory of this source tree.
840
840
  */
841
- var Nr;
842
- function Qn() {
843
- return Nr || (Nr = 1, process.env.NODE_ENV !== "production" && (function() {
844
- function e(l, f) {
845
- return l === f && (l !== 0 || 1 / l === 1 / f) || l !== l && f !== f;
841
+ var Ar;
842
+ function to() {
843
+ return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && (function() {
844
+ function e(l, u) {
845
+ return l === u && (l !== 0 || 1 / l === 1 / u) || l !== l && u !== u;
846
846
  }
847
847
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
848
- var t = pe, r = pr(), n = typeof Object.is == "function" ? Object.is : e, o = r.useSyncExternalStore, a = t.useRef, u = t.useEffect, h = t.useMemo, p = t.useDebugValue;
849
- Kt.useSyncExternalStoreWithSelector = function(l, f, g, m, x) {
848
+ var t = pe, r = pr(), n = typeof Object.is == "function" ? Object.is : e, o = r.useSyncExternalStore, a = t.useRef, f = t.useEffect, h = t.useMemo, p = t.useDebugValue;
849
+ Kt.useSyncExternalStoreWithSelector = function(l, u, g, m, x) {
850
850
  var y = a(null);
851
851
  if (y.current === null) {
852
852
  var d = { hasValue: !1, value: null };
@@ -871,17 +871,17 @@ function Qn() {
871
871
  var M = !1, R, N, c = g === void 0 ? null : g;
872
872
  return [
873
873
  function() {
874
- return T(f());
874
+ return T(u());
875
875
  },
876
876
  c === null ? void 0 : function() {
877
877
  return T(c());
878
878
  }
879
879
  ];
880
880
  },
881
- [f, g, m, x]
881
+ [u, g, m, x]
882
882
  );
883
883
  var S = o(l, y[0], y[1]);
884
- return u(
884
+ return f(
885
885
  function() {
886
886
  d.hasValue = !0, d.value = S;
887
887
  },
@@ -890,48 +890,48 @@ function Qn() {
890
890
  }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
891
891
  })()), Kt;
892
892
  }
893
- var Ar;
894
- function eo() {
895
- return Ar || (Ar = 1, process.env.NODE_ENV === "production" ? kt.exports = Zn() : kt.exports = Qn()), kt.exports;
893
+ var Ir;
894
+ function ro() {
895
+ return Ir || (Ir = 1, process.env.NODE_ENV === "production" ? kt.exports = eo() : kt.exports = to()), kt.exports;
896
896
  }
897
- var to = eo();
898
- function ro(e) {
897
+ var no = ro();
898
+ function oo(e) {
899
899
  e();
900
900
  }
901
- let vn = ro;
902
- const no = (e) => vn = e, oo = () => vn, Dr = Symbol.for("react-redux-context"), Ir = typeof globalThis < "u" ? globalThis : (
901
+ let bn = oo;
902
+ const io = (e) => bn = e, ao = () => bn, Dr = Symbol.for("react-redux-context"), zr = typeof globalThis < "u" ? globalThis : (
903
903
  /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
904
904
  {}
905
905
  );
906
- function io() {
906
+ function so() {
907
907
  var e;
908
908
  if (!We.createContext) return {};
909
- const t = (e = Ir[Dr]) != null ? e : Ir[Dr] = /* @__PURE__ */ new Map();
909
+ const t = (e = zr[Dr]) != null ? e : zr[Dr] = /* @__PURE__ */ new Map();
910
910
  let r = t.get(We.createContext);
911
911
  return r || (r = We.createContext(null), process.env.NODE_ENV !== "production" && (r.displayName = "ReactRedux"), t.set(We.createContext, r)), r;
912
912
  }
913
- const qe = /* @__PURE__ */ io();
913
+ const qe = /* @__PURE__ */ so();
914
914
  function vr(e = qe) {
915
915
  return function() {
916
- const r = hn(e);
916
+ const r = yn(e);
917
917
  if (process.env.NODE_ENV !== "production" && !r)
918
918
  throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");
919
919
  return r;
920
920
  };
921
921
  }
922
- const yn = /* @__PURE__ */ vr(), ao = () => {
922
+ const wn = /* @__PURE__ */ vr(), co = () => {
923
923
  throw new Error("uSES not initialized!");
924
924
  };
925
- let gn = ao;
926
- const so = (e) => {
927
- gn = e;
928
- }, co = (e, t) => e === t;
929
- function lo(e = qe) {
930
- const t = e === qe ? yn : vr(e);
925
+ let xn = co;
926
+ const lo = (e) => {
927
+ xn = e;
928
+ }, uo = (e, t) => e === t;
929
+ function fo(e = qe) {
930
+ const t = e === qe ? wn : vr(e);
931
931
  return function(n, o = {}) {
932
932
  const {
933
- equalityFn: a = co,
934
- stabilityCheck: u = void 0,
933
+ equalityFn: a = uo,
934
+ stabilityCheck: f = void 0,
935
935
  noopCheck: h = void 0
936
936
  } = typeof o == "function" ? {
937
937
  equalityFn: o
@@ -947,14 +947,14 @@ function lo(e = qe) {
947
947
  const {
948
948
  store: p,
949
949
  subscription: l,
950
- getServerState: f,
950
+ getServerState: u,
951
951
  stabilityCheck: g,
952
952
  noopCheck: m
953
953
  } = t(), x = ze(!0), y = ee({
954
954
  [n.name](S) {
955
955
  const T = n(S);
956
956
  if (process.env.NODE_ENV !== "production") {
957
- const M = typeof u > "u" ? g : u;
957
+ const M = typeof f > "u" ? g : f;
958
958
  if (M === "always" || M === "once" && x.current) {
959
959
  const N = n(S);
960
960
  if (!a(T, N)) {
@@ -994,11 +994,11 @@ Selectors that return the entire state are almost certainly a mistake, as they w
994
994
  }
995
995
  return T;
996
996
  }
997
- }[n.name], [n, g, u]), d = gn(l.addNestedSub, p.getState, f || p.getState, y, a);
998
- return $n(d), d;
997
+ }[n.name], [n, g, f]), d = xn(l.addNestedSub, p.getState, u || p.getState, y, a);
998
+ return Bn(d), d;
999
999
  };
1000
1000
  }
1001
- const ae = /* @__PURE__ */ lo();
1001
+ const ae = /* @__PURE__ */ fo();
1002
1002
  var Nt = { exports: {} }, F = {};
1003
1003
  /** @license React v16.13.1
1004
1004
  * react-is.production.min.js
@@ -1008,11 +1008,11 @@ var Nt = { exports: {} }, F = {};
1008
1008
  * This source code is licensed under the MIT license found in the
1009
1009
  * LICENSE file in the root directory of this source tree.
1010
1010
  */
1011
- var zr;
1012
- function uo() {
1013
- if (zr) return F;
1014
- zr = 1;
1015
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, h = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
1011
+ var Wr;
1012
+ function ho() {
1013
+ if (Wr) return F;
1014
+ Wr = 1;
1015
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, f = e ? Symbol.for("react.provider") : 60109, h = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
1016
1016
  function R(c) {
1017
1017
  if (typeof c == "object" && c !== null) {
1018
1018
  var k = c.$$typeof;
@@ -1029,10 +1029,10 @@ function uo() {
1029
1029
  default:
1030
1030
  switch (c = c && c.$$typeof, c) {
1031
1031
  case h:
1032
- case f:
1032
+ case u:
1033
1033
  case y:
1034
1034
  case x:
1035
- case u:
1035
+ case f:
1036
1036
  return c;
1037
1037
  default:
1038
1038
  return k;
@@ -1046,16 +1046,16 @@ function uo() {
1046
1046
  function N(c) {
1047
1047
  return R(c) === l;
1048
1048
  }
1049
- return F.AsyncMode = p, F.ConcurrentMode = l, F.ContextConsumer = h, F.ContextProvider = u, F.Element = t, F.ForwardRef = f, F.Fragment = n, F.Lazy = y, F.Memo = x, F.Portal = r, F.Profiler = a, F.StrictMode = o, F.Suspense = g, F.isAsyncMode = function(c) {
1049
+ return F.AsyncMode = p, F.ConcurrentMode = l, F.ContextConsumer = h, F.ContextProvider = f, F.Element = t, F.ForwardRef = u, F.Fragment = n, F.Lazy = y, F.Memo = x, F.Portal = r, F.Profiler = a, F.StrictMode = o, F.Suspense = g, F.isAsyncMode = function(c) {
1050
1050
  return N(c) || R(c) === p;
1051
1051
  }, F.isConcurrentMode = N, F.isContextConsumer = function(c) {
1052
1052
  return R(c) === h;
1053
1053
  }, F.isContextProvider = function(c) {
1054
- return R(c) === u;
1054
+ return R(c) === f;
1055
1055
  }, F.isElement = function(c) {
1056
1056
  return typeof c == "object" && c !== null && c.$$typeof === t;
1057
1057
  }, F.isForwardRef = function(c) {
1058
- return R(c) === f;
1058
+ return R(c) === u;
1059
1059
  }, F.isFragment = function(c) {
1060
1060
  return R(c) === n;
1061
1061
  }, F.isLazy = function(c) {
@@ -1071,7 +1071,7 @@ function uo() {
1071
1071
  }, F.isSuspense = function(c) {
1072
1072
  return R(c) === g;
1073
1073
  }, F.isValidElementType = function(c) {
1074
- return typeof c == "string" || typeof c == "function" || c === n || c === l || c === a || c === o || c === g || c === m || typeof c == "object" && c !== null && (c.$$typeof === y || c.$$typeof === x || c.$$typeof === u || c.$$typeof === h || c.$$typeof === f || c.$$typeof === S || c.$$typeof === T || c.$$typeof === M || c.$$typeof === d);
1074
+ return typeof c == "string" || typeof c == "function" || c === n || c === l || c === a || c === o || c === g || c === m || typeof c == "object" && c !== null && (c.$$typeof === y || c.$$typeof === x || c.$$typeof === f || c.$$typeof === h || c.$$typeof === u || c.$$typeof === S || c.$$typeof === T || c.$$typeof === M || c.$$typeof === d);
1075
1075
  }, F.typeOf = R, F;
1076
1076
  }
1077
1077
  var X = {};
@@ -1083,36 +1083,36 @@ var X = {};
1083
1083
  * This source code is licensed under the MIT license found in the
1084
1084
  * LICENSE file in the root directory of this source tree.
1085
1085
  */
1086
- var Wr;
1087
- function fo() {
1088
- return Wr || (Wr = 1, process.env.NODE_ENV !== "production" && (function() {
1089
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, h = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
1090
- function R(D) {
1091
- return typeof D == "string" || typeof D == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1092
- D === n || D === l || D === a || D === o || D === g || D === m || typeof D == "object" && D !== null && (D.$$typeof === y || D.$$typeof === x || D.$$typeof === u || D.$$typeof === h || D.$$typeof === f || D.$$typeof === S || D.$$typeof === T || D.$$typeof === M || D.$$typeof === d);
1086
+ var Lr;
1087
+ function po() {
1088
+ return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && (function() {
1089
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, f = e ? Symbol.for("react.provider") : 60109, h = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
1090
+ function R(I) {
1091
+ return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1092
+ I === n || I === l || I === a || I === o || I === g || I === m || typeof I == "object" && I !== null && (I.$$typeof === y || I.$$typeof === x || I.$$typeof === f || I.$$typeof === h || I.$$typeof === u || I.$$typeof === S || I.$$typeof === T || I.$$typeof === M || I.$$typeof === d);
1093
1093
  }
1094
- function N(D) {
1095
- if (typeof D == "object" && D !== null) {
1096
- var le = D.$$typeof;
1094
+ function N(I) {
1095
+ if (typeof I == "object" && I !== null) {
1096
+ var le = I.$$typeof;
1097
1097
  switch (le) {
1098
1098
  case t:
1099
- var I = D.type;
1100
- switch (I) {
1099
+ var D = I.type;
1100
+ switch (D) {
1101
1101
  case p:
1102
1102
  case l:
1103
1103
  case n:
1104
1104
  case a:
1105
1105
  case o:
1106
1106
  case g:
1107
- return I;
1107
+ return D;
1108
1108
  default:
1109
- var ue = I && I.$$typeof;
1109
+ var ue = D && D.$$typeof;
1110
1110
  switch (ue) {
1111
1111
  case h:
1112
- case f:
1112
+ case u:
1113
1113
  case y:
1114
1114
  case x:
1115
- case u:
1115
+ case f:
1116
1116
  return ue;
1117
1117
  default:
1118
1118
  return le;
@@ -1123,58 +1123,58 @@ function fo() {
1123
1123
  }
1124
1124
  }
1125
1125
  }
1126
- var c = p, k = l, O = h, Y = u, Q = t, G = f, K = n, se = y, J = x, te = r, fe = a, Re = o, Se = g, ye = !1;
1127
- function xe(D) {
1128
- return ye || (ye = !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.")), Ee(D) || N(D) === p;
1126
+ var c = p, k = l, O = h, Y = f, Q = t, G = u, K = n, se = y, J = x, te = r, fe = a, Re = o, Se = g, ye = !1;
1127
+ function xe(I) {
1128
+ return ye || (ye = !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.")), Ee(I) || N(I) === p;
1129
1129
  }
1130
- function Ee(D) {
1131
- return N(D) === l;
1130
+ function Ee(I) {
1131
+ return N(I) === l;
1132
1132
  }
1133
- function Te(D) {
1134
- return N(D) === h;
1133
+ function Te(I) {
1134
+ return N(I) === h;
1135
1135
  }
1136
- function Ye(D) {
1137
- return N(D) === u;
1136
+ function Ye(I) {
1137
+ return N(I) === f;
1138
1138
  }
1139
- function Me(D) {
1140
- return typeof D == "object" && D !== null && D.$$typeof === t;
1139
+ function Me(I) {
1140
+ return typeof I == "object" && I !== null && I.$$typeof === t;
1141
1141
  }
1142
- function Ge(D) {
1143
- return N(D) === f;
1142
+ function Ge(I) {
1143
+ return N(I) === u;
1144
1144
  }
1145
- function Ve(D) {
1146
- return N(D) === n;
1145
+ function Ve(I) {
1146
+ return N(I) === n;
1147
1147
  }
1148
- function ge(D) {
1149
- return N(D) === y;
1148
+ function ge(I) {
1149
+ return N(I) === y;
1150
1150
  }
1151
- function Ce(D) {
1152
- return N(D) === x;
1151
+ function Ce(I) {
1152
+ return N(I) === x;
1153
1153
  }
1154
- function _e(D) {
1155
- return N(D) === r;
1154
+ function _e(I) {
1155
+ return N(I) === r;
1156
1156
  }
1157
- function de(D) {
1158
- return N(D) === a;
1157
+ function de(I) {
1158
+ return N(I) === a;
1159
1159
  }
1160
- function ce(D) {
1161
- return N(D) === o;
1160
+ function ce(I) {
1161
+ return N(I) === o;
1162
1162
  }
1163
- function Oe(D) {
1164
- return N(D) === g;
1163
+ function Oe(I) {
1164
+ return N(I) === g;
1165
1165
  }
1166
1166
  X.AsyncMode = c, X.ConcurrentMode = k, X.ContextConsumer = O, X.ContextProvider = Y, X.Element = Q, X.ForwardRef = G, X.Fragment = K, X.Lazy = se, X.Memo = J, X.Portal = te, X.Profiler = fe, X.StrictMode = Re, X.Suspense = Se, X.isAsyncMode = xe, X.isConcurrentMode = Ee, X.isContextConsumer = Te, X.isContextProvider = Ye, X.isElement = Me, X.isForwardRef = Ge, X.isFragment = Ve, X.isLazy = ge, X.isMemo = Ce, X.isPortal = _e, X.isProfiler = de, X.isStrictMode = ce, X.isSuspense = Oe, X.isValidElementType = R, X.typeOf = N;
1167
1167
  })()), X;
1168
1168
  }
1169
- var Lr;
1170
- function ho() {
1171
- return Lr || (Lr = 1, process.env.NODE_ENV === "production" ? Nt.exports = uo() : Nt.exports = fo()), Nt.exports;
1169
+ var Yr;
1170
+ function vo() {
1171
+ return Yr || (Yr = 1, process.env.NODE_ENV === "production" ? Nt.exports = ho() : Nt.exports = po()), Nt.exports;
1172
1172
  }
1173
- var Jt, Yr;
1174
- function po() {
1175
- if (Yr) return Jt;
1176
- Yr = 1;
1177
- var e = ho(), t = {
1173
+ var Jt, Vr;
1174
+ function yo() {
1175
+ if (Vr) return Jt;
1176
+ Vr = 1;
1177
+ var e = vo(), t = {
1178
1178
  childContextTypes: !0,
1179
1179
  contextType: !0,
1180
1180
  contextTypes: !0,
@@ -1209,10 +1209,10 @@ function po() {
1209
1209
  type: !0
1210
1210
  }, a = {};
1211
1211
  a[e.ForwardRef] = n, a[e.Memo] = o;
1212
- function u(y) {
1212
+ function f(y) {
1213
1213
  return e.isMemo(y) ? o : a[y.$$typeof] || t;
1214
1214
  }
1215
- var h = Object.defineProperty, p = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, f = Object.getOwnPropertyDescriptor, g = Object.getPrototypeOf, m = Object.prototype;
1215
+ var h = Object.defineProperty, p = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, g = Object.getPrototypeOf, m = Object.prototype;
1216
1216
  function x(y, d, S) {
1217
1217
  if (typeof d != "string") {
1218
1218
  if (m) {
@@ -1221,10 +1221,10 @@ function po() {
1221
1221
  }
1222
1222
  var M = p(d);
1223
1223
  l && (M = M.concat(l(d)));
1224
- for (var R = u(y), N = u(d), c = 0; c < M.length; ++c) {
1224
+ for (var R = f(y), N = f(d), c = 0; c < M.length; ++c) {
1225
1225
  var k = M[c];
1226
1226
  if (!r[k] && !(S && S[k]) && !(N && N[k]) && !(R && R[k])) {
1227
- var O = f(d, k);
1227
+ var O = u(d, k);
1228
1228
  try {
1229
1229
  h(y, k, O);
1230
1230
  } catch {
@@ -1236,7 +1236,7 @@ function po() {
1236
1236
  }
1237
1237
  return Jt = x, Jt;
1238
1238
  }
1239
- po();
1239
+ yo();
1240
1240
  var At = { exports: {} }, B = {};
1241
1241
  /**
1242
1242
  * @license React
@@ -1247,11 +1247,11 @@ var At = { exports: {} }, B = {};
1247
1247
  * This source code is licensed under the MIT license found in the
1248
1248
  * LICENSE file in the root directory of this source tree.
1249
1249
  */
1250
- var Vr;
1251
- function vo() {
1252
- if (Vr) return B;
1253
- Vr = 1;
1254
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), y;
1250
+ var $r;
1251
+ function go() {
1252
+ if ($r) return B;
1253
+ $r = 1;
1254
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), y;
1255
1255
  y = Symbol.for("react.module.reference");
1256
1256
  function d(S) {
1257
1257
  if (typeof S == "object" && S !== null) {
@@ -1263,12 +1263,12 @@ function vo() {
1263
1263
  case o:
1264
1264
  case n:
1265
1265
  case l:
1266
- case f:
1266
+ case u:
1267
1267
  return S;
1268
1268
  default:
1269
1269
  switch (S = S && S.$$typeof, S) {
1270
1270
  case h:
1271
- case u:
1271
+ case f:
1272
1272
  case p:
1273
1273
  case m:
1274
1274
  case g:
@@ -1283,12 +1283,12 @@ function vo() {
1283
1283
  }
1284
1284
  }
1285
1285
  }
1286
- return B.ContextConsumer = u, B.ContextProvider = a, B.Element = e, B.ForwardRef = p, B.Fragment = r, B.Lazy = m, B.Memo = g, B.Portal = t, B.Profiler = o, B.StrictMode = n, B.Suspense = l, B.SuspenseList = f, B.isAsyncMode = function() {
1286
+ return B.ContextConsumer = f, B.ContextProvider = a, B.Element = e, B.ForwardRef = p, B.Fragment = r, B.Lazy = m, B.Memo = g, B.Portal = t, B.Profiler = o, B.StrictMode = n, B.Suspense = l, B.SuspenseList = u, B.isAsyncMode = function() {
1287
1287
  return !1;
1288
1288
  }, B.isConcurrentMode = function() {
1289
1289
  return !1;
1290
1290
  }, B.isContextConsumer = function(S) {
1291
- return d(S) === u;
1291
+ return d(S) === f;
1292
1292
  }, B.isContextProvider = function(S) {
1293
1293
  return d(S) === a;
1294
1294
  }, B.isElement = function(S) {
@@ -1310,9 +1310,9 @@ function vo() {
1310
1310
  }, B.isSuspense = function(S) {
1311
1311
  return d(S) === l;
1312
1312
  }, B.isSuspenseList = function(S) {
1313
- return d(S) === f;
1313
+ return d(S) === u;
1314
1314
  }, B.isValidElementType = function(S) {
1315
- return typeof S == "string" || typeof S == "function" || S === r || S === o || S === n || S === l || S === f || S === x || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === a || S.$$typeof === u || S.$$typeof === p || S.$$typeof === y || S.getModuleId !== void 0);
1315
+ return typeof S == "string" || typeof S == "function" || S === r || S === o || S === n || S === l || S === u || S === x || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === a || S.$$typeof === f || S.$$typeof === p || S.$$typeof === y || S.getModuleId !== void 0);
1316
1316
  }, B.typeOf = d, B;
1317
1317
  }
1318
1318
  var U = {};
@@ -1325,36 +1325,36 @@ var U = {};
1325
1325
  * This source code is licensed under the MIT license found in the
1326
1326
  * LICENSE file in the root directory of this source tree.
1327
1327
  */
1328
- var $r;
1329
- function yo() {
1330
- return $r || ($r = 1, process.env.NODE_ENV !== "production" && (function() {
1331
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), y = !1, d = !1, S = !1, T = !1, M = !1, R;
1328
+ var Fr;
1329
+ function mo() {
1330
+ return Fr || (Fr = 1, process.env.NODE_ENV !== "production" && (function() {
1331
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), y = !1, d = !1, S = !1, T = !1, M = !1, R;
1332
1332
  R = Symbol.for("react.module.reference");
1333
- function N(I) {
1334
- return !!(typeof I == "string" || typeof I == "function" || I === r || I === o || M || I === n || I === l || I === f || T || I === x || y || d || S || typeof I == "object" && I !== null && (I.$$typeof === m || I.$$typeof === g || I.$$typeof === a || I.$$typeof === u || I.$$typeof === p || // This needs to include all possible module reference object
1333
+ function N(D) {
1334
+ return !!(typeof D == "string" || typeof D == "function" || D === r || D === o || M || D === n || D === l || D === u || T || D === x || y || d || S || typeof D == "object" && D !== null && (D.$$typeof === m || D.$$typeof === g || D.$$typeof === a || D.$$typeof === f || D.$$typeof === p || // This needs to include all possible module reference object
1335
1335
  // types supported by any Flight configuration anywhere since
1336
1336
  // we don't know which Flight build this will end up being used
1337
1337
  // with.
1338
- I.$$typeof === R || I.getModuleId !== void 0));
1338
+ D.$$typeof === R || D.getModuleId !== void 0));
1339
1339
  }
1340
- function c(I) {
1341
- if (typeof I == "object" && I !== null) {
1342
- var ue = I.$$typeof;
1340
+ function c(D) {
1341
+ if (typeof D == "object" && D !== null) {
1342
+ var ue = D.$$typeof;
1343
1343
  switch (ue) {
1344
1344
  case e:
1345
- var me = I.type;
1345
+ var me = D.type;
1346
1346
  switch (me) {
1347
1347
  case r:
1348
1348
  case o:
1349
1349
  case n:
1350
1350
  case l:
1351
- case f:
1351
+ case u:
1352
1352
  return me;
1353
1353
  default:
1354
1354
  var je = me && me.$$typeof;
1355
1355
  switch (je) {
1356
1356
  case h:
1357
- case u:
1357
+ case f:
1358
1358
  case p:
1359
1359
  case m:
1360
1360
  case g:
@@ -1369,59 +1369,59 @@ function yo() {
1369
1369
  }
1370
1370
  }
1371
1371
  }
1372
- var k = u, O = a, Y = e, Q = p, G = r, K = m, se = g, J = t, te = o, fe = n, Re = l, Se = f, ye = !1, xe = !1;
1373
- function Ee(I) {
1372
+ var k = f, O = a, Y = e, Q = p, G = r, K = m, se = g, J = t, te = o, fe = n, Re = l, Se = u, ye = !1, xe = !1;
1373
+ function Ee(D) {
1374
1374
  return ye || (ye = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1375
1375
  }
1376
- function Te(I) {
1376
+ function Te(D) {
1377
1377
  return xe || (xe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1378
1378
  }
1379
- function Ye(I) {
1380
- return c(I) === u;
1379
+ function Ye(D) {
1380
+ return c(D) === f;
1381
1381
  }
1382
- function Me(I) {
1383
- return c(I) === a;
1382
+ function Me(D) {
1383
+ return c(D) === a;
1384
1384
  }
1385
- function Ge(I) {
1386
- return typeof I == "object" && I !== null && I.$$typeof === e;
1385
+ function Ge(D) {
1386
+ return typeof D == "object" && D !== null && D.$$typeof === e;
1387
1387
  }
1388
- function Ve(I) {
1389
- return c(I) === p;
1388
+ function Ve(D) {
1389
+ return c(D) === p;
1390
1390
  }
1391
- function ge(I) {
1392
- return c(I) === r;
1391
+ function ge(D) {
1392
+ return c(D) === r;
1393
1393
  }
1394
- function Ce(I) {
1395
- return c(I) === m;
1394
+ function Ce(D) {
1395
+ return c(D) === m;
1396
1396
  }
1397
- function _e(I) {
1398
- return c(I) === g;
1397
+ function _e(D) {
1398
+ return c(D) === g;
1399
1399
  }
1400
- function de(I) {
1401
- return c(I) === t;
1400
+ function de(D) {
1401
+ return c(D) === t;
1402
1402
  }
1403
- function ce(I) {
1404
- return c(I) === o;
1403
+ function ce(D) {
1404
+ return c(D) === o;
1405
1405
  }
1406
- function Oe(I) {
1407
- return c(I) === n;
1406
+ function Oe(D) {
1407
+ return c(D) === n;
1408
1408
  }
1409
- function D(I) {
1410
- return c(I) === l;
1409
+ function I(D) {
1410
+ return c(D) === l;
1411
1411
  }
1412
- function le(I) {
1413
- return c(I) === f;
1412
+ function le(D) {
1413
+ return c(D) === u;
1414
1414
  }
1415
- U.ContextConsumer = k, U.ContextProvider = O, U.Element = Y, U.ForwardRef = Q, U.Fragment = G, U.Lazy = K, U.Memo = se, U.Portal = J, U.Profiler = te, U.StrictMode = fe, U.Suspense = Re, U.SuspenseList = Se, U.isAsyncMode = Ee, U.isConcurrentMode = Te, U.isContextConsumer = Ye, U.isContextProvider = Me, U.isElement = Ge, U.isForwardRef = Ve, U.isFragment = ge, U.isLazy = Ce, U.isMemo = _e, U.isPortal = de, U.isProfiler = ce, U.isStrictMode = Oe, U.isSuspense = D, U.isSuspenseList = le, U.isValidElementType = N, U.typeOf = c;
1415
+ U.ContextConsumer = k, U.ContextProvider = O, U.Element = Y, U.ForwardRef = Q, U.Fragment = G, U.Lazy = K, U.Memo = se, U.Portal = J, U.Profiler = te, U.StrictMode = fe, U.Suspense = Re, U.SuspenseList = Se, U.isAsyncMode = Ee, U.isConcurrentMode = Te, U.isContextConsumer = Ye, U.isContextProvider = Me, U.isElement = Ge, U.isForwardRef = Ve, U.isFragment = ge, U.isLazy = Ce, U.isMemo = _e, U.isPortal = de, U.isProfiler = ce, U.isStrictMode = Oe, U.isSuspense = I, U.isSuspenseList = le, U.isValidElementType = N, U.typeOf = c;
1416
1416
  })()), U;
1417
1417
  }
1418
- var Fr;
1419
- function go() {
1420
- return Fr || (Fr = 1, process.env.NODE_ENV === "production" ? At.exports = vo() : At.exports = yo()), At.exports;
1418
+ var Xr;
1419
+ function bo() {
1420
+ return Xr || (Xr = 1, process.env.NODE_ENV === "production" ? At.exports = go() : At.exports = mo()), At.exports;
1421
1421
  }
1422
- go();
1423
- function mo() {
1424
- const e = oo();
1422
+ bo();
1423
+ function wo() {
1424
+ const e = ao();
1425
1425
  let t = null, r = null;
1426
1426
  return {
1427
1427
  clear() {
@@ -1452,15 +1452,15 @@ function mo() {
1452
1452
  }
1453
1453
  };
1454
1454
  }
1455
- const Xr = {
1455
+ const Br = {
1456
1456
  notify() {
1457
1457
  },
1458
1458
  get: () => []
1459
1459
  };
1460
- function bo(e, t) {
1461
- let r, n = Xr, o = 0, a = !1;
1462
- function u(d) {
1463
- f();
1460
+ function xo(e, t) {
1461
+ let r, n = Br, o = 0, a = !1;
1462
+ function f(d) {
1463
+ u();
1464
1464
  const S = n.subscribe(d);
1465
1465
  let T = !1;
1466
1466
  return () => {
@@ -1476,20 +1476,20 @@ function bo(e, t) {
1476
1476
  function l() {
1477
1477
  return a;
1478
1478
  }
1479
- function f() {
1480
- o++, r || (r = e.subscribe(p), n = mo());
1479
+ function u() {
1480
+ o++, r || (r = e.subscribe(p), n = wo());
1481
1481
  }
1482
1482
  function g() {
1483
- o--, r && o === 0 && (r(), r = void 0, n.clear(), n = Xr);
1483
+ o--, r && o === 0 && (r(), r = void 0, n.clear(), n = Br);
1484
1484
  }
1485
1485
  function m() {
1486
- a || (a = !0, f());
1486
+ a || (a = !0, u());
1487
1487
  }
1488
1488
  function x() {
1489
1489
  a && (a = !1, g());
1490
1490
  }
1491
1491
  const y = {
1492
- addNestedSub: u,
1492
+ addNestedSub: f,
1493
1493
  notifyNestedSubs: h,
1494
1494
  handleChangeWrapper: p,
1495
1495
  isSubscribed: l,
@@ -1499,8 +1499,8 @@ function bo(e, t) {
1499
1499
  };
1500
1500
  return y;
1501
1501
  }
1502
- const wo = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", xo = wo ? We.useLayoutEffect : We.useEffect;
1503
- function Eo({
1502
+ const Eo = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", So = Eo ? We.useLayoutEffect : We.useEffect;
1503
+ function Co({
1504
1504
  store: e,
1505
1505
  context: t,
1506
1506
  children: r,
@@ -1508,8 +1508,8 @@ function Eo({
1508
1508
  stabilityCheck: o = "once",
1509
1509
  noopCheck: a = "once"
1510
1510
  }) {
1511
- const u = We.useMemo(() => {
1512
- const l = bo(e);
1511
+ const f = We.useMemo(() => {
1512
+ const l = xo(e);
1513
1513
  return {
1514
1514
  store: e,
1515
1515
  subscription: l,
@@ -1518,23 +1518,23 @@ function Eo({
1518
1518
  noopCheck: a
1519
1519
  };
1520
1520
  }, [e, n, o, a]), h = We.useMemo(() => e.getState(), [e]);
1521
- xo(() => {
1521
+ So(() => {
1522
1522
  const {
1523
1523
  subscription: l
1524
- } = u;
1524
+ } = f;
1525
1525
  return l.onStateChange = l.notifyNestedSubs, l.trySubscribe(), h !== e.getState() && l.notifyNestedSubs(), () => {
1526
1526
  l.tryUnsubscribe(), l.onStateChange = void 0;
1527
1527
  };
1528
- }, [u, h]);
1528
+ }, [f, h]);
1529
1529
  const p = t || qe;
1530
1530
  return /* @__PURE__ */ We.createElement(p.Provider, {
1531
- value: u
1531
+ value: f
1532
1532
  }, r);
1533
1533
  }
1534
- function mn(e = qe) {
1534
+ function En(e = qe) {
1535
1535
  const t = (
1536
1536
  // @ts-ignore
1537
- e === qe ? yn : (
1537
+ e === qe ? wn : (
1538
1538
  // @ts-ignore
1539
1539
  vr(e)
1540
1540
  )
@@ -1546,20 +1546,20 @@ function mn(e = qe) {
1546
1546
  return n;
1547
1547
  };
1548
1548
  }
1549
- const So = /* @__PURE__ */ mn();
1550
- function Co(e = qe) {
1549
+ const _o = /* @__PURE__ */ En();
1550
+ function Oo(e = qe) {
1551
1551
  const t = (
1552
1552
  // @ts-ignore
1553
- e === qe ? So : mn(e)
1553
+ e === qe ? _o : En(e)
1554
1554
  );
1555
1555
  return function() {
1556
1556
  return t().dispatch;
1557
1557
  };
1558
1558
  }
1559
- const yr = /* @__PURE__ */ Co();
1560
- so(to.useSyncExternalStoreWithSelector);
1561
- no(Un);
1562
- const _o = {
1559
+ const yr = /* @__PURE__ */ Oo();
1560
+ lo(no.useSyncExternalStoreWithSelector);
1561
+ io(Hn);
1562
+ const jo = {
1563
1563
  en: {
1564
1564
  // Toolbar tooltips
1565
1565
  pointer: "Pointer",
@@ -1632,20 +1632,20 @@ const _o = {
1632
1632
  english: "İngilizce",
1633
1633
  turkish: "Türkçe"
1634
1634
  }
1635
- }, bn = Fn(), wn = "whiteboard-language", Oo = () => (navigator.language || navigator.userLanguage).startsWith("tr") ? "tr" : "en", jo = () => {
1636
- const e = localStorage.getItem(wn);
1637
- return e && (e === "en" || e === "tr") ? e : Oo();
1638
- }, Po = ({ children: e }) => {
1639
- const [t, r] = ne(jo);
1635
+ }, Sn = Un(), Cn = "whiteboard-language", Po = () => (navigator.language || navigator.userLanguage).startsWith("tr") ? "tr" : "en", Ro = () => {
1636
+ const e = localStorage.getItem(Cn);
1637
+ return e && (e === "en" || e === "tr") ? e : Po();
1638
+ }, To = ({ children: e }) => {
1639
+ const [t, r] = ne(Ro);
1640
1640
  we(() => {
1641
- localStorage.setItem(wn, t);
1641
+ localStorage.setItem(Cn, t);
1642
1642
  }, [t]);
1643
- const n = (a) => _o[t][a] || a, o = (a) => {
1643
+ const n = (a) => jo[t][a] || a, o = (a) => {
1644
1644
  (a === "en" || a === "tr") && r(a);
1645
1645
  };
1646
- return /* @__PURE__ */ w.jsx(bn.Provider, { value: { language: t, t: n, changeLanguage: o }, children: e });
1647
- }, xn = () => {
1648
- const e = hn(bn);
1646
+ return /* @__PURE__ */ w.jsx(Sn.Provider, { value: { language: t, t: n, changeLanguage: o }, children: e });
1647
+ }, _n = () => {
1648
+ const e = yn(Sn);
1649
1649
  if (!e)
1650
1650
  throw new Error("useLanguage must be used within a LanguageProvider");
1651
1651
  return e;
@@ -1653,11 +1653,11 @@ const _o = {
1653
1653
  function oe(e) {
1654
1654
  for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n];
1655
1655
  if (process.env.NODE_ENV !== "production") {
1656
- var o = zo[e], a = o ? typeof o == "function" ? o.apply(null, r) : o : "unknown error nr: " + e;
1656
+ var o = Lo[e], a = o ? typeof o == "function" ? o.apply(null, r) : o : "unknown error nr: " + e;
1657
1657
  throw Error("[Immer] " + a);
1658
1658
  }
1659
- throw Error("[Immer] minified error nr: " + e + (r.length ? " " + r.map((function(u) {
1660
- return "'" + u + "'";
1659
+ throw Error("[Immer] minified error nr: " + e + (r.length ? " " + r.map((function(f) {
1660
+ return "'" + f + "'";
1661
1661
  })).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
1662
1662
  }
1663
1663
  function He(e) {
@@ -1670,8 +1670,8 @@ function Le(e) {
1670
1670
  var n = Object.getPrototypeOf(r);
1671
1671
  if (n === null) return !0;
1672
1672
  var o = Object.hasOwnProperty.call(n, "constructor") && n.constructor;
1673
- return o === Object || typeof o == "function" && Function.toString.call(o) === Wo;
1674
- })(e) || Array.isArray(e) || !!e[Jr] || !!(!((t = e.constructor) === null || t === void 0) && t[Jr]) || gr(e) || mr(e));
1673
+ return o === Object || typeof o == "function" && Function.toString.call(o) === Yo;
1674
+ })(e) || Array.isArray(e) || !!e[Zr] || !!(!((t = e.constructor) === null || t === void 0) && t[Zr]) || gr(e) || mr(e));
1675
1675
  }
1676
1676
  function tt(e, t, r) {
1677
1677
  r === void 0 && (r = !1), yt(e) === 0 ? (r ? Object.keys : ht)(e).forEach((function(n) {
@@ -1687,28 +1687,28 @@ function yt(e) {
1687
1687
  function dt(e, t) {
1688
1688
  return yt(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
1689
1689
  }
1690
- function Ro(e, t) {
1690
+ function Mo(e, t) {
1691
1691
  return yt(e) === 2 ? e.get(t) : e[t];
1692
1692
  }
1693
- function En(e, t, r) {
1693
+ function On(e, t, r) {
1694
1694
  var n = yt(e);
1695
1695
  n === 2 ? e.set(t, r) : n === 3 ? e.add(r) : e[t] = r;
1696
1696
  }
1697
- function Sn(e, t) {
1697
+ function jn(e, t) {
1698
1698
  return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
1699
1699
  }
1700
1700
  function gr(e) {
1701
- return Do && e instanceof Map;
1701
+ return zo && e instanceof Map;
1702
1702
  }
1703
1703
  function mr(e) {
1704
- return Io && e instanceof Set;
1704
+ return Wo && e instanceof Set;
1705
1705
  }
1706
1706
  function Fe(e) {
1707
1707
  return e.o || e.t;
1708
1708
  }
1709
1709
  function br(e) {
1710
1710
  if (Array.isArray(e)) return Array.prototype.slice.call(e);
1711
- var t = _n(e);
1711
+ var t = Rn(e);
1712
1712
  delete t[Z];
1713
1713
  for (var r = ht(t), n = 0; n < r.length; n++) {
1714
1714
  var o = r[n], a = t[o];
@@ -1717,11 +1717,11 @@ function br(e) {
1717
1717
  return Object.create(Object.getPrototypeOf(e), t);
1718
1718
  }
1719
1719
  function wr(e, t) {
1720
- return t === void 0 && (t = !1), xr(e) || He(e) || !Le(e) || (yt(e) > 1 && (e.set = e.add = e.clear = e.delete = To), Object.freeze(e), t && tt(e, (function(r, n) {
1720
+ return t === void 0 && (t = !1), xr(e) || He(e) || !Le(e) || (yt(e) > 1 && (e.set = e.add = e.clear = e.delete = ko), Object.freeze(e), t && tt(e, (function(r, n) {
1721
1721
  return wr(n, !0);
1722
1722
  }), !0)), e;
1723
1723
  }
1724
- function To() {
1724
+ function ko() {
1725
1725
  oe(2);
1726
1726
  }
1727
1727
  function xr(e) {
@@ -1731,7 +1731,7 @@ function Pe(e) {
1731
1731
  var t = lr[e];
1732
1732
  return t || oe(18, e), t;
1733
1733
  }
1734
- function Mo(e, t) {
1734
+ function No(e, t) {
1735
1735
  lr[e] || (lr[e] = t);
1736
1736
  }
1737
1737
  function ar() {
@@ -1741,46 +1741,46 @@ function Zt(e, t) {
1741
1741
  t && (Pe("Patches"), e.u = [], e.s = [], e.v = t);
1742
1742
  }
1743
1743
  function zt(e) {
1744
- sr(e), e.p.forEach(ko), e.p = null;
1744
+ sr(e), e.p.forEach(Ao), e.p = null;
1745
1745
  }
1746
1746
  function sr(e) {
1747
1747
  e === pt && (pt = e.l);
1748
1748
  }
1749
- function Br(e) {
1749
+ function Ur(e) {
1750
1750
  return pt = { p: [], l: pt, h: e, m: !0, _: 0 };
1751
1751
  }
1752
- function ko(e) {
1752
+ function Ao(e) {
1753
1753
  var t = e[Z];
1754
1754
  t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
1755
1755
  }
1756
1756
  function Qt(e, t) {
1757
1757
  t._ = t.p.length;
1758
1758
  var r = t.p[0], n = e !== void 0 && e !== r;
1759
- return t.h.O || Pe("ES5").S(t, e, n), n ? (r[Z].P && (zt(t), oe(4)), Le(e) && (e = Wt(t, e), t.l || Lt(t, e)), t.u && Pe("Patches").M(r[Z].t, e, t.u, t.s)) : e = Wt(t, r, []), zt(t), t.u && t.v(t.u, t.s), e !== Cn ? e : void 0;
1759
+ return t.h.O || Pe("ES5").S(t, e, n), n ? (r[Z].P && (zt(t), oe(4)), Le(e) && (e = Wt(t, e), t.l || Lt(t, e)), t.u && Pe("Patches").M(r[Z].t, e, t.u, t.s)) : e = Wt(t, r, []), zt(t), t.u && t.v(t.u, t.s), e !== Pn ? e : void 0;
1760
1760
  }
1761
1761
  function Wt(e, t, r) {
1762
1762
  if (xr(t)) return t;
1763
1763
  var n = t[Z];
1764
1764
  if (!n) return tt(t, (function(h, p) {
1765
- return Ur(e, n, t, h, p, r);
1765
+ return qr(e, n, t, h, p, r);
1766
1766
  }), !0), t;
1767
1767
  if (n.A !== e) return t;
1768
1768
  if (!n.P) return Lt(e, n.t, !0), n.t;
1769
1769
  if (!n.I) {
1770
1770
  n.I = !0, n.A._--;
1771
- var o = n.i === 4 || n.i === 5 ? n.o = br(n.k) : n.o, a = o, u = !1;
1772
- n.i === 3 && (a = new Set(o), o.clear(), u = !0), tt(a, (function(h, p) {
1773
- return Ur(e, n, o, h, p, r, u);
1771
+ var o = n.i === 4 || n.i === 5 ? n.o = br(n.k) : n.o, a = o, f = !1;
1772
+ n.i === 3 && (a = new Set(o), o.clear(), f = !0), tt(a, (function(h, p) {
1773
+ return qr(e, n, o, h, p, r, f);
1774
1774
  })), Lt(e, o, !1), r && e.u && Pe("Patches").N(n, r, e.u, e.s);
1775
1775
  }
1776
1776
  return n.o;
1777
1777
  }
1778
- function Ur(e, t, r, n, o, a, u) {
1778
+ function qr(e, t, r, n, o, a, f) {
1779
1779
  if (process.env.NODE_ENV !== "production" && o === r && oe(5), He(o)) {
1780
1780
  var h = Wt(e, o, a && t && t.i !== 3 && !dt(t.R, n) ? a.concat(n) : void 0);
1781
- if (En(r, n, h), !He(h)) return;
1781
+ if (On(r, n, h), !He(h)) return;
1782
1782
  e.m = !1;
1783
- } else u && r.add(o);
1783
+ } else f && r.add(o);
1784
1784
  if (Le(o) && !xr(o)) {
1785
1785
  if (!e.h.D && e._ < 1) return;
1786
1786
  Wt(e, o), t && t.A.l || Lt(e, o);
@@ -1793,7 +1793,7 @@ function er(e, t) {
1793
1793
  var r = e[Z];
1794
1794
  return (r ? Fe(r) : e)[t];
1795
1795
  }
1796
- function qr(e, t) {
1796
+ function Hr(e, t) {
1797
1797
  if (t in e) for (var r = Object.getPrototypeOf(e); r; ) {
1798
1798
  var n = Object.getOwnPropertyDescriptor(r, t);
1799
1799
  if (n) return n;
@@ -1808,27 +1808,27 @@ function tr(e) {
1808
1808
  }
1809
1809
  function cr(e, t, r) {
1810
1810
  var n = gr(t) ? Pe("MapSet").F(t, r) : mr(t) ? Pe("MapSet").T(t, r) : e.O ? (function(o, a) {
1811
- var u = Array.isArray(o), h = { i: u ? 1 : 0, A: a ? a.A : ar(), P: !1, I: !1, R: {}, l: a, t: o, k: null, o: null, j: null, C: !1 }, p = h, l = xt;
1812
- u && (p = [h], l = bt);
1813
- var f = Proxy.revocable(p, l), g = f.revoke, m = f.proxy;
1811
+ var f = Array.isArray(o), h = { i: f ? 1 : 0, A: a ? a.A : ar(), P: !1, I: !1, R: {}, l: a, t: o, k: null, o: null, j: null, C: !1 }, p = h, l = xt;
1812
+ f && (p = [h], l = bt);
1813
+ var u = Proxy.revocable(p, l), g = u.revoke, m = u.proxy;
1814
1814
  return h.k = m, h.j = g, m;
1815
1815
  })(t, r) : Pe("ES5").J(t, r);
1816
1816
  return (r ? r.A : ar()).p.push(n), n;
1817
1817
  }
1818
- function No(e) {
1818
+ function Io(e) {
1819
1819
  return He(e) || oe(22, e), (function t(r) {
1820
1820
  if (!Le(r)) return r;
1821
1821
  var n, o = r[Z], a = yt(r);
1822
1822
  if (o) {
1823
1823
  if (!o.P && (o.i < 4 || !Pe("ES5").K(o))) return o.t;
1824
- o.I = !0, n = Hr(r, a), o.I = !1;
1825
- } else n = Hr(r, a);
1826
- return tt(n, (function(u, h) {
1827
- o && Ro(o.t, u) === h || En(n, u, t(h));
1824
+ o.I = !0, n = Gr(r, a), o.I = !1;
1825
+ } else n = Gr(r, a);
1826
+ return tt(n, (function(f, h) {
1827
+ o && Mo(o.t, f) === h || On(n, f, t(h));
1828
1828
  })), a === 3 ? new Set(n) : n;
1829
1829
  })(e);
1830
1830
  }
1831
- function Hr(e, t) {
1831
+ function Gr(e, t) {
1832
1832
  switch (t) {
1833
1833
  case 2:
1834
1834
  return new Map(e);
@@ -1837,20 +1837,20 @@ function Hr(e, t) {
1837
1837
  }
1838
1838
  return br(e);
1839
1839
  }
1840
- function Ao() {
1841
- function e(u, h) {
1842
- var p = a[u];
1843
- return p ? p.enumerable = h : a[u] = p = { configurable: !0, enumerable: h, get: function() {
1840
+ function Do() {
1841
+ function e(f, h) {
1842
+ var p = a[f];
1843
+ return p ? p.enumerable = h : a[f] = p = { configurable: !0, enumerable: h, get: function() {
1844
1844
  var l = this[Z];
1845
- return process.env.NODE_ENV !== "production" && o(l), xt.get(l, u);
1845
+ return process.env.NODE_ENV !== "production" && o(l), xt.get(l, f);
1846
1846
  }, set: function(l) {
1847
- var f = this[Z];
1848
- process.env.NODE_ENV !== "production" && o(f), xt.set(f, u, l);
1847
+ var u = this[Z];
1848
+ process.env.NODE_ENV !== "production" && o(u), xt.set(u, f, l);
1849
1849
  } }, p;
1850
1850
  }
1851
- function t(u) {
1852
- for (var h = u.length - 1; h >= 0; h--) {
1853
- var p = u[h][Z];
1851
+ function t(f) {
1852
+ for (var h = f.length - 1; h >= 0; h--) {
1853
+ var p = f[h][Z];
1854
1854
  if (!p.P) switch (p.i) {
1855
1855
  case 5:
1856
1856
  n(p) && Xe(p);
@@ -1860,50 +1860,50 @@ function Ao() {
1860
1860
  }
1861
1861
  }
1862
1862
  }
1863
- function r(u) {
1864
- for (var h = u.t, p = u.k, l = ht(p), f = l.length - 1; f >= 0; f--) {
1865
- var g = l[f];
1863
+ function r(f) {
1864
+ for (var h = f.t, p = f.k, l = ht(p), u = l.length - 1; u >= 0; u--) {
1865
+ var g = l[u];
1866
1866
  if (g !== Z) {
1867
1867
  var m = h[g];
1868
1868
  if (m === void 0 && !dt(h, g)) return !0;
1869
1869
  var x = p[g], y = x && x[Z];
1870
- if (y ? y.t !== m : !Sn(x, m)) return !0;
1870
+ if (y ? y.t !== m : !jn(x, m)) return !0;
1871
1871
  }
1872
1872
  }
1873
1873
  var d = !!h[Z];
1874
1874
  return l.length !== ht(h).length + (d ? 0 : 1);
1875
1875
  }
1876
- function n(u) {
1877
- var h = u.k;
1878
- if (h.length !== u.t.length) return !0;
1876
+ function n(f) {
1877
+ var h = f.k;
1878
+ if (h.length !== f.t.length) return !0;
1879
1879
  var p = Object.getOwnPropertyDescriptor(h, h.length - 1);
1880
1880
  if (p && !p.get) return !0;
1881
1881
  for (var l = 0; l < h.length; l++) if (!h.hasOwnProperty(l)) return !0;
1882
1882
  return !1;
1883
1883
  }
1884
- function o(u) {
1885
- u.g && oe(3, JSON.stringify(Fe(u)));
1884
+ function o(f) {
1885
+ f.g && oe(3, JSON.stringify(Fe(f)));
1886
1886
  }
1887
1887
  var a = {};
1888
- Mo("ES5", { J: function(u, h) {
1889
- var p = Array.isArray(u), l = (function(g, m) {
1888
+ No("ES5", { J: function(f, h) {
1889
+ var p = Array.isArray(f), l = (function(g, m) {
1890
1890
  if (g) {
1891
1891
  for (var x = Array(m.length), y = 0; y < m.length; y++) Object.defineProperty(x, "" + y, e(y, !0));
1892
1892
  return x;
1893
1893
  }
1894
- var d = _n(m);
1894
+ var d = Rn(m);
1895
1895
  delete d[Z];
1896
1896
  for (var S = ht(d), T = 0; T < S.length; T++) {
1897
1897
  var M = S[T];
1898
1898
  d[M] = e(M, g || !!d[M].enumerable);
1899
1899
  }
1900
1900
  return Object.create(Object.getPrototypeOf(m), d);
1901
- })(p, u), f = { i: p ? 5 : 4, A: h ? h.A : ar(), P: !1, I: !1, R: {}, l: h, t: u, k: l, o: null, g: !1, C: !1 };
1902
- return Object.defineProperty(l, Z, { value: f, writable: !0 }), l;
1903
- }, S: function(u, h, p) {
1904
- p ? He(h) && h[Z].A === u && t(u.p) : (u.u && (function l(f) {
1905
- if (f && typeof f == "object") {
1906
- var g = f[Z];
1901
+ })(p, f), u = { i: p ? 5 : 4, A: h ? h.A : ar(), P: !1, I: !1, R: {}, l: h, t: f, k: l, o: null, g: !1, C: !1 };
1902
+ return Object.defineProperty(l, Z, { value: u, writable: !0 }), l;
1903
+ }, S: function(f, h, p) {
1904
+ p ? He(h) && h[Z].A === f && t(f.p) : (f.u && (function l(u) {
1905
+ if (u && typeof u == "object") {
1906
+ var g = u[Z];
1907
1907
  if (g) {
1908
1908
  var m = g.t, x = g.k, y = g.R, d = g.i;
1909
1909
  if (d === 4) tt(x, (function(N) {
@@ -1918,12 +1918,12 @@ function Ao() {
1918
1918
  }
1919
1919
  }
1920
1920
  }
1921
- })(u.p[0]), t(u.p));
1922
- }, K: function(u) {
1923
- return u.i === 4 ? r(u) : n(u);
1921
+ })(f.p[0]), t(f.p));
1922
+ }, K: function(f) {
1923
+ return f.i === 4 ? r(f) : n(f);
1924
1924
  } });
1925
1925
  }
1926
- var Gr, pt, Er = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Do = typeof Map < "u", Io = typeof Set < "u", Kr = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", Cn = Er ? Symbol.for("immer-nothing") : ((Gr = {})["immer-nothing"] = !0, Gr), Jr = Er ? Symbol.for("immer-draftable") : "__$immer_draftable", Z = Er ? Symbol.for("immer-state") : "__$immer_state", zo = { 0: "Illegal state", 1: "Immer drafts cannot have computed properties", 2: "This object has been frozen and should not be mutated", 3: function(e) {
1926
+ var Kr, pt, Er = typeof Symbol < "u" && typeof Symbol("x") == "symbol", zo = typeof Map < "u", Wo = typeof Set < "u", Jr = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", Pn = Er ? Symbol.for("immer-nothing") : ((Kr = {})["immer-nothing"] = !0, Kr), Zr = Er ? Symbol.for("immer-draftable") : "__$immer_draftable", Z = Er ? Symbol.for("immer-state") : "__$immer_state", Lo = { 0: "Illegal state", 1: "Immer drafts cannot have computed properties", 2: "This object has been frozen and should not be mutated", 3: function(e) {
1927
1927
  return "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " + e;
1928
1928
  }, 4: "An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.", 5: "Immer forbids circular references", 6: "The first or second argument to `produce` must be a function", 7: "The third argument to `produce` must be a function or undefined", 8: "First argument to `createDraft` must be a plain object, an array, or an immerable object", 9: "First argument to `finishDraft` must be a draft returned by `createDraft`", 10: "The given draft is already finalized", 11: "Object.defineProperty() cannot be used on an Immer draft", 12: "Object.setPrototypeOf() cannot be used on an Immer draft", 13: "Immer only supports deleting array indices", 14: "Immer only supports setting array indices and the 'length' property", 15: function(e) {
1929
1929
  return "Cannot apply patch, path doesn't resolve: " + e;
@@ -1937,9 +1937,9 @@ var Gr, pt, Er = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Do = typ
1937
1937
  return "'current' expects a draft, got: " + e;
1938
1938
  }, 23: function(e) {
1939
1939
  return "'original' expects a draft, got: " + e;
1940
- }, 24: "Patching reserved attributes like __proto__, prototype and constructor is not allowed" }, Wo = "" + Object.prototype.constructor, ht = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols !== void 0 ? function(e) {
1940
+ }, 24: "Patching reserved attributes like __proto__, prototype and constructor is not allowed" }, Yo = "" + Object.prototype.constructor, ht = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols !== void 0 ? function(e) {
1941
1941
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
1942
- } : Object.getOwnPropertyNames, _n = Object.getOwnPropertyDescriptors || function(e) {
1942
+ } : Object.getOwnPropertyNames, Rn = Object.getOwnPropertyDescriptors || function(e) {
1943
1943
  var t = {};
1944
1944
  return ht(e).forEach((function(r) {
1945
1945
  t[r] = Object.getOwnPropertyDescriptor(e, r);
@@ -1947,8 +1947,8 @@ var Gr, pt, Er = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Do = typ
1947
1947
  }, lr = {}, xt = { get: function(e, t) {
1948
1948
  if (t === Z) return e;
1949
1949
  var r = Fe(e);
1950
- if (!dt(r, t)) return (function(o, a, u) {
1951
- var h, p = qr(a, u);
1950
+ if (!dt(r, t)) return (function(o, a, f) {
1951
+ var h, p = Hr(a, f);
1952
1952
  return p ? "value" in p ? p.value : (h = p.get) === null || h === void 0 ? void 0 : h.call(o.k) : void 0;
1953
1953
  })(e, r, t);
1954
1954
  var n = r[t];
@@ -1958,12 +1958,12 @@ var Gr, pt, Er = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Do = typ
1958
1958
  }, ownKeys: function(e) {
1959
1959
  return Reflect.ownKeys(Fe(e));
1960
1960
  }, set: function(e, t, r) {
1961
- var n = qr(Fe(e), t);
1961
+ var n = Hr(Fe(e), t);
1962
1962
  if (n != null && n.set) return n.set.call(e.k, r), !0;
1963
1963
  if (!e.P) {
1964
1964
  var o = er(Fe(e), t), a = o == null ? void 0 : o[Z];
1965
1965
  if (a && a.t === r) return e.o[t] = r, e.R[t] = !1, !0;
1966
- if (Sn(r, o) && (r !== void 0 || dt(e.t, t))) return !0;
1966
+ if (jn(r, o) && (r !== void 0 || dt(e.t, t))) return !0;
1967
1967
  tr(e), Xe(e);
1968
1968
  }
1969
1969
  return e.o[t] === r && (r !== void 0 || t in e.o) || Number.isNaN(r) && Number.isNaN(e.o[t]) || (e.o[t] = r, e.R[t] = !0), !0;
@@ -1988,10 +1988,10 @@ tt(xt, (function(e, t) {
1988
1988
  }, bt.set = function(e, t, r) {
1989
1989
  return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && oe(14), xt.set.call(this, e[0], t, r, e[0]);
1990
1990
  };
1991
- var Lo = (function() {
1991
+ var Vo = (function() {
1992
1992
  function e(r) {
1993
1993
  var n = this;
1994
- this.O = Kr, this.D = !0, this.produce = function(o, a, u) {
1994
+ this.O = Jr, this.D = !0, this.produce = function(o, a, f) {
1995
1995
  if (typeof o == "function" && typeof a != "function") {
1996
1996
  var h = a;
1997
1997
  a = o;
@@ -2007,46 +2007,46 @@ var Lo = (function() {
2007
2007
  };
2008
2008
  }
2009
2009
  var l;
2010
- if (typeof a != "function" && oe(6), u !== void 0 && typeof u != "function" && oe(7), Le(o)) {
2011
- var f = Br(n), g = cr(n, o, void 0), m = !0;
2010
+ if (typeof a != "function" && oe(6), f !== void 0 && typeof f != "function" && oe(7), Le(o)) {
2011
+ var u = Ur(n), g = cr(n, o, void 0), m = !0;
2012
2012
  try {
2013
2013
  l = a(g), m = !1;
2014
2014
  } finally {
2015
- m ? zt(f) : sr(f);
2015
+ m ? zt(u) : sr(u);
2016
2016
  }
2017
2017
  return typeof Promise < "u" && l instanceof Promise ? l.then((function(d) {
2018
- return Zt(f, u), Qt(d, f);
2018
+ return Zt(u, f), Qt(d, u);
2019
2019
  }), (function(d) {
2020
- throw zt(f), d;
2021
- })) : (Zt(f, u), Qt(l, f));
2020
+ throw zt(u), d;
2021
+ })) : (Zt(u, f), Qt(l, u));
2022
2022
  }
2023
2023
  if (!o || typeof o != "object") {
2024
- if ((l = a(o)) === void 0 && (l = o), l === Cn && (l = void 0), n.D && wr(l, !0), u) {
2024
+ if ((l = a(o)) === void 0 && (l = o), l === Pn && (l = void 0), n.D && wr(l, !0), f) {
2025
2025
  var x = [], y = [];
2026
- Pe("Patches").M(o, l, x, y), u(x, y);
2026
+ Pe("Patches").M(o, l, x, y), f(x, y);
2027
2027
  }
2028
2028
  return l;
2029
2029
  }
2030
2030
  oe(21, o);
2031
2031
  }, this.produceWithPatches = function(o, a) {
2032
2032
  if (typeof o == "function") return function(l) {
2033
- for (var f = arguments.length, g = Array(f > 1 ? f - 1 : 0), m = 1; m < f; m++) g[m - 1] = arguments[m];
2033
+ for (var u = arguments.length, g = Array(u > 1 ? u - 1 : 0), m = 1; m < u; m++) g[m - 1] = arguments[m];
2034
2034
  return n.produceWithPatches(l, (function(x) {
2035
2035
  return o.apply(void 0, [x].concat(g));
2036
2036
  }));
2037
2037
  };
2038
- var u, h, p = n.produce(o, a, (function(l, f) {
2039
- u = l, h = f;
2038
+ var f, h, p = n.produce(o, a, (function(l, u) {
2039
+ f = l, h = u;
2040
2040
  }));
2041
2041
  return typeof Promise < "u" && p instanceof Promise ? p.then((function(l) {
2042
- return [l, u, h];
2043
- })) : [p, u, h];
2042
+ return [l, f, h];
2043
+ })) : [p, f, h];
2044
2044
  }, typeof (r == null ? void 0 : r.useProxies) == "boolean" && this.setUseProxies(r.useProxies), typeof (r == null ? void 0 : r.autoFreeze) == "boolean" && this.setAutoFreeze(r.autoFreeze);
2045
2045
  }
2046
2046
  var t = e.prototype;
2047
2047
  return t.createDraft = function(r) {
2048
- Le(r) || oe(8), He(r) && (r = No(r));
2049
- var n = Br(this), o = cr(this, r, void 0);
2048
+ Le(r) || oe(8), He(r) && (r = Io(r));
2049
+ var n = Ur(this), o = cr(this, r, void 0);
2050
2050
  return o[Z].C = !0, sr(n), o;
2051
2051
  }, t.finishDraft = function(r, n) {
2052
2052
  var o = r && r[Z];
@@ -2056,7 +2056,7 @@ var Lo = (function() {
2056
2056
  }, t.setAutoFreeze = function(r) {
2057
2057
  this.D = r;
2058
2058
  }, t.setUseProxies = function(r) {
2059
- r && !Kr && oe(20), this.O = r;
2059
+ r && !Jr && oe(20), this.O = r;
2060
2060
  }, t.applyPatches = function(r, n) {
2061
2061
  var o;
2062
2062
  for (o = n.length - 1; o >= 0; o--) {
@@ -2067,12 +2067,12 @@ var Lo = (function() {
2067
2067
  }
2068
2068
  }
2069
2069
  o > -1 && (n = n.slice(o + 1));
2070
- var u = Pe("Patches").$;
2071
- return He(r) ? u(r, n) : this.produce(r, (function(h) {
2072
- return u(h, n);
2070
+ var f = Pe("Patches").$;
2071
+ return He(r) ? f(r, n) : this.produce(r, (function(h) {
2072
+ return f(h, n);
2073
2073
  }));
2074
2074
  }, e;
2075
- })(), ve = new Lo(), On = ve.produce;
2075
+ })(), ve = new Vo(), Tn = ve.produce;
2076
2076
  ve.produceWithPatches.bind(ve);
2077
2077
  ve.setAutoFreeze.bind(ve);
2078
2078
  ve.setUseProxies.bind(ve);
@@ -2087,7 +2087,7 @@ function Et(e) {
2087
2087
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2088
2088
  }, Et(e);
2089
2089
  }
2090
- function Yo(e, t) {
2090
+ function $o(e, t) {
2091
2091
  if (Et(e) != "object" || !e) return e;
2092
2092
  var r = e[Symbol.toPrimitive];
2093
2093
  if (r !== void 0) {
@@ -2097,19 +2097,19 @@ function Yo(e, t) {
2097
2097
  }
2098
2098
  return (t === "string" ? String : Number)(e);
2099
2099
  }
2100
- function Vo(e) {
2101
- var t = Yo(e, "string");
2100
+ function Fo(e) {
2101
+ var t = $o(e, "string");
2102
2102
  return Et(t) == "symbol" ? t : t + "";
2103
2103
  }
2104
- function $o(e, t, r) {
2105
- return (t = Vo(t)) in e ? Object.defineProperty(e, t, {
2104
+ function Xo(e, t, r) {
2105
+ return (t = Fo(t)) in e ? Object.defineProperty(e, t, {
2106
2106
  value: r,
2107
2107
  enumerable: !0,
2108
2108
  configurable: !0,
2109
2109
  writable: !0
2110
2110
  }) : e[t] = r, e;
2111
2111
  }
2112
- function Zr(e, t) {
2112
+ function Qr(e, t) {
2113
2113
  var r = Object.keys(e);
2114
2114
  if (Object.getOwnPropertySymbols) {
2115
2115
  var n = Object.getOwnPropertySymbols(e);
@@ -2119,12 +2119,12 @@ function Zr(e, t) {
2119
2119
  }
2120
2120
  return r;
2121
2121
  }
2122
- function Qr(e) {
2122
+ function en(e) {
2123
2123
  for (var t = 1; t < arguments.length; t++) {
2124
2124
  var r = arguments[t] != null ? arguments[t] : {};
2125
- t % 2 ? Zr(Object(r), !0).forEach(function(n) {
2126
- $o(e, n, r[n]);
2127
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Zr(Object(r)).forEach(function(n) {
2125
+ t % 2 ? Qr(Object(r), !0).forEach(function(n) {
2126
+ Xo(e, n, r[n]);
2127
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Qr(Object(r)).forEach(function(n) {
2128
2128
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
2129
2129
  });
2130
2130
  }
@@ -2133,7 +2133,7 @@ function Qr(e) {
2133
2133
  function ie(e) {
2134
2134
  return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
2135
2135
  }
2136
- var en = (function() {
2136
+ var tn = (function() {
2137
2137
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
2138
2138
  })(), rr = function() {
2139
2139
  return Math.random().toString(36).substring(7).split("").join(".");
@@ -2144,13 +2144,13 @@ var en = (function() {
2144
2144
  return "@@redux/PROBE_UNKNOWN_ACTION" + rr();
2145
2145
  }
2146
2146
  };
2147
- function jn(e) {
2147
+ function Mn(e) {
2148
2148
  if (typeof e != "object" || e === null) return !1;
2149
2149
  for (var t = e; Object.getPrototypeOf(t) !== null; )
2150
2150
  t = Object.getPrototypeOf(t);
2151
2151
  return Object.getPrototypeOf(e) === t;
2152
2152
  }
2153
- function Fo(e) {
2153
+ function Bo(e) {
2154
2154
  if (e === void 0) return "undefined";
2155
2155
  if (e === null) return "null";
2156
2156
  var t = typeof e;
@@ -2163,9 +2163,9 @@ function Fo(e) {
2163
2163
  return t;
2164
2164
  }
2165
2165
  if (Array.isArray(e)) return "array";
2166
- if (Uo(e)) return "date";
2167
- if (Bo(e)) return "error";
2168
- var r = Xo(e);
2166
+ if (Ho(e)) return "date";
2167
+ if (qo(e)) return "error";
2168
+ var r = Uo(e);
2169
2169
  switch (r) {
2170
2170
  case "Symbol":
2171
2171
  case "Promise":
@@ -2177,35 +2177,35 @@ function Fo(e) {
2177
2177
  }
2178
2178
  return t.slice(8, -1).toLowerCase().replace(/\s/g, "");
2179
2179
  }
2180
- function Xo(e) {
2180
+ function Uo(e) {
2181
2181
  return typeof e.constructor == "function" ? e.constructor.name : null;
2182
2182
  }
2183
- function Bo(e) {
2183
+ function qo(e) {
2184
2184
  return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
2185
2185
  }
2186
- function Uo(e) {
2186
+ function Ho(e) {
2187
2187
  return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
2188
2188
  }
2189
2189
  function Qe(e) {
2190
2190
  var t = typeof e;
2191
- return process.env.NODE_ENV !== "production" && (t = Fo(e)), t;
2191
+ return process.env.NODE_ENV !== "production" && (t = Bo(e)), t;
2192
2192
  }
2193
- function Pn(e, t, r) {
2193
+ function kn(e, t, r) {
2194
2194
  var n;
2195
2195
  if (typeof t == "function" && typeof r == "function" || typeof r == "function" && typeof arguments[3] == "function")
2196
2196
  throw new Error(process.env.NODE_ENV === "production" ? ie(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
2197
2197
  if (typeof t == "function" && typeof r > "u" && (r = t, t = void 0), typeof r < "u") {
2198
2198
  if (typeof r != "function")
2199
2199
  throw new Error(process.env.NODE_ENV === "production" ? ie(1) : "Expected the enhancer to be a function. Instead, received: '" + Qe(r) + "'");
2200
- return r(Pn)(e, t);
2200
+ return r(kn)(e, t);
2201
2201
  }
2202
2202
  if (typeof e != "function")
2203
2203
  throw new Error(process.env.NODE_ENV === "production" ? ie(2) : "Expected the root reducer to be a function. Instead, received: '" + Qe(e) + "'");
2204
- var o = e, a = t, u = [], h = u, p = !1;
2204
+ var o = e, a = t, f = [], h = f, p = !1;
2205
2205
  function l() {
2206
- h === u && (h = u.slice());
2206
+ h === f && (h = f.slice());
2207
2207
  }
2208
- function f() {
2208
+ function u() {
2209
2209
  if (p)
2210
2210
  throw new Error(process.env.NODE_ENV === "production" ? ie(3) : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
2211
2211
  return a;
@@ -2222,12 +2222,12 @@ function Pn(e, t, r) {
2222
2222
  throw new Error(process.env.NODE_ENV === "production" ? ie(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
2223
2223
  S = !1, l();
2224
2224
  var M = h.indexOf(d);
2225
- h.splice(M, 1), u = null;
2225
+ h.splice(M, 1), f = null;
2226
2226
  }
2227
2227
  };
2228
2228
  }
2229
2229
  function m(d) {
2230
- if (!jn(d))
2230
+ if (!Mn(d))
2231
2231
  throw new Error(process.env.NODE_ENV === "production" ? ie(7) : "Actions must be plain objects. Instead, the actual type was: '" + Qe(d) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
2232
2232
  if (typeof d.type > "u")
2233
2233
  throw new Error(process.env.NODE_ENV === "production" ? ie(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
@@ -2238,7 +2238,7 @@ function Pn(e, t, r) {
2238
2238
  } finally {
2239
2239
  p = !1;
2240
2240
  }
2241
- for (var S = u = h, T = 0; T < S.length; T++) {
2241
+ for (var S = f = h, T = 0; T < S.length; T++) {
2242
2242
  var M = S[T];
2243
2243
  M();
2244
2244
  }
@@ -2266,7 +2266,7 @@ function Pn(e, t, r) {
2266
2266
  if (typeof M != "object" || M === null)
2267
2267
  throw new Error(process.env.NODE_ENV === "production" ? ie(11) : "Expected the observer to be an object. Instead, received: '" + Qe(M) + "'");
2268
2268
  function R() {
2269
- M.next && M.next(f());
2269
+ M.next && M.next(u());
2270
2270
  }
2271
2271
  R();
2272
2272
  var N = S(R);
@@ -2274,7 +2274,7 @@ function Pn(e, t, r) {
2274
2274
  unsubscribe: N
2275
2275
  };
2276
2276
  }
2277
- }, d[en] = function() {
2277
+ }, d[tn] = function() {
2278
2278
  return this;
2279
2279
  }, d;
2280
2280
  }
@@ -2283,32 +2283,32 @@ function Pn(e, t, r) {
2283
2283
  }), n = {
2284
2284
  dispatch: m,
2285
2285
  subscribe: g,
2286
- getState: f,
2286
+ getState: u,
2287
2287
  replaceReducer: x
2288
- }, n[en] = y, n;
2288
+ }, n[tn] = y, n;
2289
2289
  }
2290
- function tn(e) {
2290
+ function rn(e) {
2291
2291
  typeof console < "u" && typeof console.error == "function" && console.error(e);
2292
2292
  try {
2293
2293
  throw new Error(e);
2294
2294
  } catch {
2295
2295
  }
2296
2296
  }
2297
- function qo(e, t, r, n) {
2297
+ function Go(e, t, r, n) {
2298
2298
  var o = Object.keys(t), a = r && r.type === et.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
2299
2299
  if (o.length === 0)
2300
2300
  return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
2301
- if (!jn(e))
2301
+ if (!Mn(e))
2302
2302
  return "The " + a + ' has unexpected type of "' + Qe(e) + '". Expected argument to be an object with the following ' + ('keys: "' + o.join('", "') + '"');
2303
- var u = Object.keys(e).filter(function(h) {
2303
+ var f = Object.keys(e).filter(function(h) {
2304
2304
  return !t.hasOwnProperty(h) && !n[h];
2305
2305
  });
2306
- if (u.forEach(function(h) {
2306
+ if (f.forEach(function(h) {
2307
2307
  n[h] = !0;
2308
- }), !(r && r.type === et.REPLACE) && u.length > 0)
2309
- return "Unexpected " + (u.length > 1 ? "keys" : "key") + " " + ('"' + u.join('", "') + '" found in ' + a + ". ") + "Expected to find one of the known reducer keys instead: " + ('"' + o.join('", "') + '". Unexpected keys will be ignored.');
2308
+ }), !(r && r.type === et.REPLACE) && f.length > 0)
2309
+ return "Unexpected " + (f.length > 1 ? "keys" : "key") + " " + ('"' + f.join('", "') + '" found in ' + a + ". ") + "Expected to find one of the known reducer keys instead: " + ('"' + o.join('", "') + '". Unexpected keys will be ignored.');
2310
2310
  }
2311
- function Ho(e) {
2311
+ function Ko(e) {
2312
2312
  Object.keys(e).forEach(function(t) {
2313
2313
  var r = e[t], n = r(void 0, {
2314
2314
  type: et.INIT
@@ -2321,30 +2321,30 @@ function Ho(e) {
2321
2321
  throw new Error(process.env.NODE_ENV === "production" ? ie(13) : 'The slice reducer for key "' + t + '" returned undefined when probed with a random type. ' + ("Don't try to handle '" + et.INIT + `' or other actions in "redux/*" `) + "namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.");
2322
2322
  });
2323
2323
  }
2324
- function Go(e) {
2324
+ function Jo(e) {
2325
2325
  for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) {
2326
2326
  var o = t[n];
2327
- process.env.NODE_ENV !== "production" && typeof e[o] > "u" && tn('No reducer provided for key "' + o + '"'), typeof e[o] == "function" && (r[o] = e[o]);
2327
+ process.env.NODE_ENV !== "production" && typeof e[o] > "u" && rn('No reducer provided for key "' + o + '"'), typeof e[o] == "function" && (r[o] = e[o]);
2328
2328
  }
2329
- var a = Object.keys(r), u;
2330
- process.env.NODE_ENV !== "production" && (u = {});
2329
+ var a = Object.keys(r), f;
2330
+ process.env.NODE_ENV !== "production" && (f = {});
2331
2331
  var h;
2332
2332
  try {
2333
- Ho(r);
2333
+ Ko(r);
2334
2334
  } catch (p) {
2335
2335
  h = p;
2336
2336
  }
2337
- return function(l, f) {
2337
+ return function(l, u) {
2338
2338
  if (l === void 0 && (l = {}), h)
2339
2339
  throw h;
2340
2340
  if (process.env.NODE_ENV !== "production") {
2341
- var g = qo(l, r, f, u);
2342
- g && tn(g);
2341
+ var g = Go(l, r, u, f);
2342
+ g && rn(g);
2343
2343
  }
2344
2344
  for (var m = !1, x = {}, y = 0; y < a.length; y++) {
2345
- var d = a[y], S = r[d], T = l[d], M = S(T, f);
2345
+ var d = a[y], S = r[d], T = l[d], M = S(T, u);
2346
2346
  if (typeof M > "u") {
2347
- var R = f && f.type;
2347
+ var R = u && u.type;
2348
2348
  throw new Error(process.env.NODE_ENV === "production" ? ie(14) : "When called with an action of type " + (R ? '"' + String(R) + '"' : "(unknown type)") + ', the slice reducer for key "' + d + '" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.');
2349
2349
  }
2350
2350
  x[d] = M, m = m || M !== T;
@@ -2363,41 +2363,41 @@ function Yt() {
2363
2363
  };
2364
2364
  });
2365
2365
  }
2366
- function Ko() {
2366
+ function Zo() {
2367
2367
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
2368
2368
  t[r] = arguments[r];
2369
2369
  return function(n) {
2370
2370
  return function() {
2371
2371
  var o = n.apply(void 0, arguments), a = function() {
2372
2372
  throw new Error(process.env.NODE_ENV === "production" ? ie(15) : "Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.");
2373
- }, u = {
2373
+ }, f = {
2374
2374
  getState: o.getState,
2375
2375
  dispatch: function() {
2376
2376
  return a.apply(void 0, arguments);
2377
2377
  }
2378
2378
  }, h = t.map(function(p) {
2379
- return p(u);
2379
+ return p(f);
2380
2380
  });
2381
- return a = Yt.apply(void 0, h)(o.dispatch), Qr(Qr({}, o), {}, {
2381
+ return a = Yt.apply(void 0, h)(o.dispatch), en(en({}, o), {}, {
2382
2382
  dispatch: a
2383
2383
  });
2384
2384
  };
2385
2385
  };
2386
2386
  }
2387
- function Rn(e) {
2387
+ function Nn(e) {
2388
2388
  var t = function(n) {
2389
2389
  var o = n.dispatch, a = n.getState;
2390
- return function(u) {
2390
+ return function(f) {
2391
2391
  return function(h) {
2392
- return typeof h == "function" ? h(o, a, e) : u(h);
2392
+ return typeof h == "function" ? h(o, a, e) : f(h);
2393
2393
  };
2394
2394
  };
2395
2395
  };
2396
2396
  return t;
2397
2397
  }
2398
- var ur = Rn();
2399
- ur.withExtraArgument = Rn;
2400
- var Tn = /* @__PURE__ */ (function() {
2398
+ var ur = Nn();
2399
+ ur.withExtraArgument = Nn;
2400
+ var An = /* @__PURE__ */ (function() {
2401
2401
  var e = function(t, r) {
2402
2402
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, o) {
2403
2403
  n.__proto__ = o;
@@ -2414,17 +2414,17 @@ var Tn = /* @__PURE__ */ (function() {
2414
2414
  }
2415
2415
  t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
2416
2416
  };
2417
- })(), Jo = function(e, t) {
2417
+ })(), Qo = function(e, t) {
2418
2418
  var r = { label: 0, sent: function() {
2419
2419
  if (a[0] & 1) throw a[1];
2420
2420
  return a[1];
2421
- }, trys: [], ops: [] }, n, o, a, u;
2422
- return u = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (u[Symbol.iterator] = function() {
2421
+ }, trys: [], ops: [] }, n, o, a, f;
2422
+ return f = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (f[Symbol.iterator] = function() {
2423
2423
  return this;
2424
- }), u;
2424
+ }), f;
2425
2425
  function h(l) {
2426
- return function(f) {
2427
- return p([l, f]);
2426
+ return function(u) {
2427
+ return p([l, u]);
2428
2428
  };
2429
2429
  }
2430
2430
  function p(l) {
@@ -2465,8 +2465,8 @@ var Tn = /* @__PURE__ */ (function() {
2465
2465
  continue;
2466
2466
  }
2467
2467
  l = t.call(e, r);
2468
- } catch (f) {
2469
- l = [6, f], o = 0;
2468
+ } catch (u) {
2469
+ l = [6, u], o = 0;
2470
2470
  } finally {
2471
2471
  n = a = 0;
2472
2472
  }
@@ -2477,20 +2477,20 @@ var Tn = /* @__PURE__ */ (function() {
2477
2477
  for (var r = 0, n = t.length, o = e.length; r < n; r++, o++)
2478
2478
  e[o] = t[r];
2479
2479
  return e;
2480
- }, Zo = Object.defineProperty, Qo = Object.defineProperties, ei = Object.getOwnPropertyDescriptors, rn = Object.getOwnPropertySymbols, ti = Object.prototype.hasOwnProperty, ri = Object.prototype.propertyIsEnumerable, nn = function(e, t, r) {
2481
- return t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
2480
+ }, ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, nn = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, on = function(e, t, r) {
2481
+ return t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
2482
2482
  }, Be = function(e, t) {
2483
2483
  for (var r in t || (t = {}))
2484
- ti.call(t, r) && nn(e, r, t[r]);
2485
- if (rn)
2486
- for (var n = 0, o = rn(t); n < o.length; n++) {
2484
+ ni.call(t, r) && on(e, r, t[r]);
2485
+ if (nn)
2486
+ for (var n = 0, o = nn(t); n < o.length; n++) {
2487
2487
  var r = o[n];
2488
- ri.call(t, r) && nn(e, r, t[r]);
2488
+ oi.call(t, r) && on(e, r, t[r]);
2489
2489
  }
2490
2490
  return e;
2491
2491
  }, nr = function(e, t) {
2492
- return Qo(e, ei(t));
2493
- }, ni = function(e, t, r) {
2492
+ return ti(e, ri(t));
2493
+ }, ii = function(e, t, r) {
2494
2494
  return new Promise(function(n, o) {
2495
2495
  var a = function(p) {
2496
2496
  try {
@@ -2498,22 +2498,22 @@ var Tn = /* @__PURE__ */ (function() {
2498
2498
  } catch (l) {
2499
2499
  o(l);
2500
2500
  }
2501
- }, u = function(p) {
2501
+ }, f = function(p) {
2502
2502
  try {
2503
2503
  h(r.throw(p));
2504
2504
  } catch (l) {
2505
2505
  o(l);
2506
2506
  }
2507
2507
  }, h = function(p) {
2508
- return p.done ? n(p.value) : Promise.resolve(p.value).then(a, u);
2508
+ return p.done ? n(p.value) : Promise.resolve(p.value).then(a, f);
2509
2509
  };
2510
2510
  h((r = r.apply(e, t)).next());
2511
2511
  });
2512
- }, oi = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
2512
+ }, ai = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
2513
2513
  if (arguments.length !== 0)
2514
2514
  return typeof arguments[0] == "object" ? Yt : Yt.apply(null, arguments);
2515
2515
  };
2516
- function Mn(e) {
2516
+ function In(e) {
2517
2517
  if (typeof e != "object" || e === null)
2518
2518
  return !1;
2519
2519
  var t = Object.getPrototypeOf(e);
@@ -2523,7 +2523,7 @@ function Mn(e) {
2523
2523
  r = Object.getPrototypeOf(r);
2524
2524
  return t === r;
2525
2525
  }
2526
- var ii = function(e) {
2526
+ var si = function(e) {
2527
2527
  return e && typeof e.match == "function";
2528
2528
  };
2529
2529
  function Ue(e, t) {
@@ -2547,15 +2547,15 @@ function Ue(e, t) {
2547
2547
  return n.type === e;
2548
2548
  }, r;
2549
2549
  }
2550
- function ai(e) {
2551
- return typeof e == "function" && "type" in e && ii(e);
2550
+ function ci(e) {
2551
+ return typeof e == "function" && "type" in e && si(e);
2552
2552
  }
2553
- function si(e) {
2553
+ function li(e) {
2554
2554
  var t = e ? ("" + e).split("/") : [], r = t[t.length - 1] || "actionCreator";
2555
2555
  return 'Detected an action creator with type "' + (e || "unknown") + `" being dispatched.
2556
2556
  Make sure you're calling the action creator before dispatching, i.e. \`dispatch(` + r + "())` instead of `dispatch(" + r + ")`. This is necessary even if the action has no payload.";
2557
2557
  }
2558
- function ci(e) {
2558
+ function ui(e) {
2559
2559
  if (e === void 0 && (e = {}), process.env.NODE_ENV === "production")
2560
2560
  return function() {
2561
2561
  return function(n) {
@@ -2564,16 +2564,16 @@ function ci(e) {
2564
2564
  };
2565
2565
  };
2566
2566
  };
2567
- var t = e.isActionCreator, r = t === void 0 ? ai : t;
2567
+ var t = e.isActionCreator, r = t === void 0 ? ci : t;
2568
2568
  return function() {
2569
2569
  return function(n) {
2570
2570
  return function(o) {
2571
- return r(o) && console.warn(si(o.type)), n(o);
2571
+ return r(o) && console.warn(li(o.type)), n(o);
2572
2572
  };
2573
2573
  };
2574
2574
  };
2575
2575
  }
2576
- function kn(e, t) {
2576
+ function Dn(e, t) {
2577
2577
  var r = 0;
2578
2578
  return {
2579
2579
  measureTime: function(n) {
@@ -2592,10 +2592,10 @@ It is disabled in production builds, so you don't need to worry about that.`);
2592
2592
  }
2593
2593
  };
2594
2594
  }
2595
- var li = (
2595
+ var fi = (
2596
2596
  /** @class */
2597
2597
  (function(e) {
2598
- Tn(t, e);
2598
+ An(t, e);
2599
2599
  function t() {
2600
2600
  for (var r = [], n = 0; n < arguments.length; n++)
2601
2601
  r[n] = arguments[n];
@@ -2618,10 +2618,10 @@ var li = (
2618
2618
  return r.length === 1 && Array.isArray(r[0]) ? new (t.bind.apply(t, vt([void 0], r[0].concat(this))))() : new (t.bind.apply(t, vt([void 0], r.concat(this))))();
2619
2619
  }, t;
2620
2620
  })(Array)
2621
- ), ui = (
2621
+ ), di = (
2622
2622
  /** @class */
2623
2623
  (function(e) {
2624
- Tn(t, e);
2624
+ An(t, e);
2625
2625
  function t() {
2626
2626
  for (var r = [], n = 0; n < arguments.length; n++)
2627
2627
  r[n] = arguments[n];
@@ -2646,75 +2646,75 @@ var li = (
2646
2646
  })(Array)
2647
2647
  );
2648
2648
  function fr(e) {
2649
- return Le(e) ? On(e, function() {
2649
+ return Le(e) ? Tn(e, function() {
2650
2650
  }) : e;
2651
2651
  }
2652
- var fi = process.env.NODE_ENV === "production", on = "Invariant failed";
2653
- function an(e, t) {
2652
+ var hi = process.env.NODE_ENV === "production", an = "Invariant failed";
2653
+ function sn(e, t) {
2654
2654
  if (!e)
2655
- throw fi ? new Error(on) : new Error(on + ": " + (t || ""));
2655
+ throw hi ? new Error(an) : new Error(an + ": " + (t || ""));
2656
2656
  }
2657
- function di(e, t, r, n) {
2658
- return JSON.stringify(e, hi(t, n), r);
2657
+ function pi(e, t, r, n) {
2658
+ return JSON.stringify(e, vi(t, n), r);
2659
2659
  }
2660
- function hi(e, t) {
2660
+ function vi(e, t) {
2661
2661
  var r = [], n = [];
2662
2662
  return t || (t = function(o, a) {
2663
2663
  return r[0] === a ? "[Circular ~]" : "[Circular ~." + n.slice(0, r.indexOf(a)).join(".") + "]";
2664
2664
  }), function(o, a) {
2665
2665
  if (r.length > 0) {
2666
- var u = r.indexOf(this);
2667
- ~u ? r.splice(u + 1) : r.push(this), ~u ? n.splice(u, 1 / 0, o) : n.push(o), ~r.indexOf(a) && (a = t.call(this, o, a));
2666
+ var f = r.indexOf(this);
2667
+ ~f ? r.splice(f + 1) : r.push(this), ~f ? n.splice(f, 1 / 0, o) : n.push(o), ~r.indexOf(a) && (a = t.call(this, o, a));
2668
2668
  } else
2669
2669
  r.push(a);
2670
2670
  return e == null ? a : e.call(this, o, a);
2671
2671
  };
2672
2672
  }
2673
- function pi(e) {
2673
+ function yi(e) {
2674
2674
  return typeof e != "object" || e == null || Object.isFrozen(e);
2675
2675
  }
2676
- function vi(e, t, r) {
2677
- var n = Nn(e, t, r);
2676
+ function gi(e, t, r) {
2677
+ var n = zn(e, t, r);
2678
2678
  return {
2679
2679
  detectMutations: function() {
2680
- return An(e, t, n, r);
2680
+ return Wn(e, t, n, r);
2681
2681
  }
2682
2682
  };
2683
2683
  }
2684
- function Nn(e, t, r, n, o) {
2684
+ function zn(e, t, r, n, o) {
2685
2685
  t === void 0 && (t = []), n === void 0 && (n = ""), o === void 0 && (o = /* @__PURE__ */ new Set());
2686
2686
  var a = { value: r };
2687
2687
  if (!e(r) && !o.has(r)) {
2688
2688
  o.add(r), a.children = {};
2689
- for (var u in r) {
2690
- var h = n ? n + "." + u : u;
2691
- t.length && t.indexOf(h) !== -1 || (a.children[u] = Nn(e, t, r[u], h));
2689
+ for (var f in r) {
2690
+ var h = n ? n + "." + f : f;
2691
+ t.length && t.indexOf(h) !== -1 || (a.children[f] = zn(e, t, r[f], h));
2692
2692
  }
2693
2693
  }
2694
2694
  return a;
2695
2695
  }
2696
- function An(e, t, r, n, o, a) {
2696
+ function Wn(e, t, r, n, o, a) {
2697
2697
  t === void 0 && (t = []), o === void 0 && (o = !1), a === void 0 && (a = "");
2698
- var u = r ? r.value : void 0, h = u === n;
2698
+ var f = r ? r.value : void 0, h = f === n;
2699
2699
  if (o && !h && !Number.isNaN(n))
2700
2700
  return { wasMutated: !0, path: a };
2701
- if (e(u) || e(n))
2701
+ if (e(f) || e(n))
2702
2702
  return { wasMutated: !1 };
2703
2703
  var p = {};
2704
2704
  for (var l in r.children)
2705
2705
  p[l] = !0;
2706
2706
  for (var l in n)
2707
2707
  p[l] = !0;
2708
- var f = t.length > 0, g = function(x) {
2708
+ var u = t.length > 0, g = function(x) {
2709
2709
  var y = a ? a + "." + x : x;
2710
- if (f) {
2710
+ if (u) {
2711
2711
  var d = t.some(function(T) {
2712
2712
  return T instanceof RegExp ? T.test(y) : y === T;
2713
2713
  });
2714
2714
  if (d)
2715
2715
  return "continue";
2716
2716
  }
2717
- var S = An(e, t, r.children[x], n[x], h, y);
2717
+ var S = Wn(e, t, r.children[x], n[x], h, y);
2718
2718
  if (S.wasMutated)
2719
2719
  return { value: S };
2720
2720
  };
@@ -2725,7 +2725,7 @@ function An(e, t, r, n, o, a) {
2725
2725
  }
2726
2726
  return { wasMutated: !1 };
2727
2727
  }
2728
- function yi(e) {
2728
+ function mi(e) {
2729
2729
  if (e === void 0 && (e = {}), process.env.NODE_ENV === "production")
2730
2730
  return function() {
2731
2731
  return function(p) {
@@ -2734,32 +2734,32 @@ function yi(e) {
2734
2734
  };
2735
2735
  };
2736
2736
  };
2737
- var t = e.isImmutable, r = t === void 0 ? pi : t, n = e.ignoredPaths, o = e.warnAfter, a = o === void 0 ? 32 : o, u = e.ignore;
2738
- n = n || u;
2739
- var h = vi.bind(null, r, n);
2737
+ var t = e.isImmutable, r = t === void 0 ? yi : t, n = e.ignoredPaths, o = e.warnAfter, a = o === void 0 ? 32 : o, f = e.ignore;
2738
+ n = n || f;
2739
+ var h = gi.bind(null, r, n);
2740
2740
  return function(p) {
2741
- var l = p.getState, f = l(), g = h(f), m;
2741
+ var l = p.getState, u = l(), g = h(u), m;
2742
2742
  return function(x) {
2743
2743
  return function(y) {
2744
- var d = kn(a, "ImmutableStateInvariantMiddleware");
2744
+ var d = Dn(a, "ImmutableStateInvariantMiddleware");
2745
2745
  d.measureTime(function() {
2746
- f = l(), m = g.detectMutations(), g = h(f), an(!m.wasMutated, "A state mutation was detected between dispatches, in the path '" + (m.path || "") + "'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)");
2746
+ u = l(), m = g.detectMutations(), g = h(u), sn(!m.wasMutated, "A state mutation was detected between dispatches, in the path '" + (m.path || "") + "'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)");
2747
2747
  });
2748
2748
  var S = x(y);
2749
2749
  return d.measureTime(function() {
2750
- f = l(), m = g.detectMutations(), g = h(f), m.wasMutated && an(!m.wasMutated, "A state mutation was detected inside a dispatch, in the path: " + (m.path || "") + ". Take a look at the reducer(s) handling the action " + di(y) + ". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)");
2750
+ u = l(), m = g.detectMutations(), g = h(u), m.wasMutated && sn(!m.wasMutated, "A state mutation was detected inside a dispatch, in the path: " + (m.path || "") + ". Take a look at the reducer(s) handling the action " + pi(y) + ". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)");
2751
2751
  }), d.warnIfExceeded(), S;
2752
2752
  };
2753
2753
  };
2754
2754
  };
2755
2755
  }
2756
- function Dn(e) {
2756
+ function Ln(e) {
2757
2757
  var t = typeof e;
2758
- return e == null || t === "string" || t === "boolean" || t === "number" || Array.isArray(e) || Mn(e);
2758
+ return e == null || t === "string" || t === "boolean" || t === "number" || Array.isArray(e) || In(e);
2759
2759
  }
2760
2760
  function dr(e, t, r, n, o, a) {
2761
- t === void 0 && (t = ""), r === void 0 && (r = Dn), o === void 0 && (o = []);
2762
- var u;
2761
+ t === void 0 && (t = ""), r === void 0 && (r = Ln), o === void 0 && (o = []);
2762
+ var f;
2763
2763
  if (!r(e))
2764
2764
  return {
2765
2765
  keyPath: t || "<root>",
@@ -2781,26 +2781,26 @@ function dr(e, t, r, n, o, a) {
2781
2781
  keyPath: M,
2782
2782
  value: T
2783
2783
  } };
2784
- if (typeof T == "object" && (u = dr(T, M, r, n, o, a), u))
2785
- return { value: u };
2786
- }, f = 0, g = h; f < g.length; f++) {
2787
- var m = g[f], x = m[0], y = m[1], d = l(x, y);
2784
+ if (typeof T == "object" && (f = dr(T, M, r, n, o, a), f))
2785
+ return { value: f };
2786
+ }, u = 0, g = h; u < g.length; u++) {
2787
+ var m = g[u], x = m[0], y = m[1], d = l(x, y);
2788
2788
  if (typeof d == "object")
2789
2789
  return d.value;
2790
2790
  }
2791
- return a && In(e) && a.add(e), !1;
2791
+ return a && Yn(e) && a.add(e), !1;
2792
2792
  }
2793
- function In(e) {
2793
+ function Yn(e) {
2794
2794
  if (!Object.isFrozen(e))
2795
2795
  return !1;
2796
2796
  for (var t = 0, r = Object.values(e); t < r.length; t++) {
2797
2797
  var n = r[t];
2798
- if (!(typeof n != "object" || n === null) && !In(n))
2798
+ if (!(typeof n != "object" || n === null) && !Yn(n))
2799
2799
  return !1;
2800
2800
  }
2801
2801
  return !0;
2802
2802
  }
2803
- function gi(e) {
2803
+ function bi(e) {
2804
2804
  if (e === void 0 && (e = {}), process.env.NODE_ENV === "production")
2805
2805
  return function() {
2806
2806
  return function(R) {
@@ -2809,11 +2809,11 @@ function gi(e) {
2809
2809
  };
2810
2810
  };
2811
2811
  };
2812
- var t = e.isSerializable, r = t === void 0 ? Dn : t, n = e.getEntries, o = e.ignoredActions, a = o === void 0 ? [] : o, u = e.ignoredActionPaths, h = u === void 0 ? ["meta.arg", "meta.baseQueryMeta"] : u, p = e.ignoredPaths, l = p === void 0 ? [] : p, f = e.warnAfter, g = f === void 0 ? 32 : f, m = e.ignoreState, x = m === void 0 ? !1 : m, y = e.ignoreActions, d = y === void 0 ? !1 : y, S = e.disableCache, T = S === void 0 ? !1 : S, M = !T && WeakSet ? /* @__PURE__ */ new WeakSet() : void 0;
2812
+ var t = e.isSerializable, r = t === void 0 ? Ln : t, n = e.getEntries, o = e.ignoredActions, a = o === void 0 ? [] : o, f = e.ignoredActionPaths, h = f === void 0 ? ["meta.arg", "meta.baseQueryMeta"] : f, p = e.ignoredPaths, l = p === void 0 ? [] : p, u = e.warnAfter, g = u === void 0 ? 32 : u, m = e.ignoreState, x = m === void 0 ? !1 : m, y = e.ignoreActions, d = y === void 0 ? !1 : y, S = e.disableCache, T = S === void 0 ? !1 : S, M = !T && WeakSet ? /* @__PURE__ */ new WeakSet() : void 0;
2813
2813
  return function(R) {
2814
2814
  return function(N) {
2815
2815
  return function(c) {
2816
- var k = N(c), O = kn(g, "SerializableStateInvariantMiddleware");
2816
+ var k = N(c), O = Dn(g, "SerializableStateInvariantMiddleware");
2817
2817
  return !d && !(a.length && a.indexOf(c.type) !== -1) && O.measureTime(function() {
2818
2818
  var Y = dr(c, "", r, n, h, M);
2819
2819
  if (Y) {
@@ -2836,61 +2836,61 @@ Take a look at the reducer(s) handling this action type: ` + c.type + `.
2836
2836
  };
2837
2837
  };
2838
2838
  }
2839
- function Dt(e) {
2839
+ function It(e) {
2840
2840
  return typeof e == "boolean";
2841
2841
  }
2842
- function mi() {
2842
+ function wi() {
2843
2843
  return function(t) {
2844
- return bi(t);
2844
+ return xi(t);
2845
2845
  };
2846
2846
  }
2847
- function bi(e) {
2847
+ function xi(e) {
2848
2848
  e === void 0 && (e = {});
2849
- var t = e.thunk, r = t === void 0 ? !0 : t, n = e.immutableCheck, o = n === void 0 ? !0 : n, a = e.serializableCheck, u = a === void 0 ? !0 : a, h = e.actionCreatorCheck, p = h === void 0 ? !0 : h, l = new li();
2850
- if (r && (Dt(r) ? l.push(ur) : l.push(ur.withExtraArgument(r.extraArgument))), process.env.NODE_ENV !== "production") {
2849
+ var t = e.thunk, r = t === void 0 ? !0 : t, n = e.immutableCheck, o = n === void 0 ? !0 : n, a = e.serializableCheck, f = a === void 0 ? !0 : a, h = e.actionCreatorCheck, p = h === void 0 ? !0 : h, l = new fi();
2850
+ if (r && (It(r) ? l.push(ur) : l.push(ur.withExtraArgument(r.extraArgument))), process.env.NODE_ENV !== "production") {
2851
2851
  if (o) {
2852
- var f = {};
2853
- Dt(o) || (f = o), l.unshift(yi(f));
2852
+ var u = {};
2853
+ It(o) || (u = o), l.unshift(mi(u));
2854
2854
  }
2855
- if (u) {
2855
+ if (f) {
2856
2856
  var g = {};
2857
- Dt(u) || (g = u), l.push(gi(g));
2857
+ It(f) || (g = f), l.push(bi(g));
2858
2858
  }
2859
2859
  if (p) {
2860
2860
  var m = {};
2861
- Dt(p) || (m = p), l.unshift(ci(m));
2861
+ It(p) || (m = p), l.unshift(ui(m));
2862
2862
  }
2863
2863
  }
2864
2864
  return l;
2865
2865
  }
2866
2866
  var or = process.env.NODE_ENV === "production";
2867
- function wi(e) {
2868
- var t = mi(), r = e || {}, n = r.reducer, o = n === void 0 ? void 0 : n, a = r.middleware, u = a === void 0 ? t() : a, h = r.devTools, p = h === void 0 ? !0 : h, l = r.preloadedState, f = l === void 0 ? void 0 : l, g = r.enhancers, m = g === void 0 ? void 0 : g, x;
2867
+ function Ei(e) {
2868
+ var t = wi(), r = e || {}, n = r.reducer, o = n === void 0 ? void 0 : n, a = r.middleware, f = a === void 0 ? t() : a, h = r.devTools, p = h === void 0 ? !0 : h, l = r.preloadedState, u = l === void 0 ? void 0 : l, g = r.enhancers, m = g === void 0 ? void 0 : g, x;
2869
2869
  if (typeof o == "function")
2870
2870
  x = o;
2871
- else if (Mn(o))
2872
- x = Go(o);
2871
+ else if (In(o))
2872
+ x = Jo(o);
2873
2873
  else
2874
2874
  throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');
2875
- var y = u;
2875
+ var y = f;
2876
2876
  if (typeof y == "function" && (y = y(t), !or && !Array.isArray(y)))
2877
2877
  throw new Error("when using a middleware builder function, an array of middleware must be returned");
2878
2878
  if (!or && y.some(function(N) {
2879
2879
  return typeof N != "function";
2880
2880
  }))
2881
2881
  throw new Error("each middleware provided to configureStore must be a function");
2882
- var d = Ko.apply(void 0, y), S = Yt;
2883
- p && (S = oi(Be({
2882
+ var d = Zo.apply(void 0, y), S = Yt;
2883
+ p && (S = ai(Be({
2884
2884
  trace: !or
2885
2885
  }, typeof p == "object" && p)));
2886
- var T = new ui(d), M = T;
2886
+ var T = new di(d), M = T;
2887
2887
  Array.isArray(m) ? M = vt([d], m) : typeof m == "function" && (M = m(T));
2888
2888
  var R = S.apply(void 0, M);
2889
- return Pn(x, f, R);
2889
+ return kn(x, u, R);
2890
2890
  }
2891
- function zn(e) {
2891
+ function Vn(e) {
2892
2892
  var t = {}, r = [], n, o = {
2893
- addCase: function(a, u) {
2893
+ addCase: function(a, f) {
2894
2894
  if (process.env.NODE_ENV !== "production") {
2895
2895
  if (r.length > 0)
2896
2896
  throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");
@@ -2902,12 +2902,12 @@ function zn(e) {
2902
2902
  throw new Error("`builder.addCase` cannot be called with an empty action type");
2903
2903
  if (h in t)
2904
2904
  throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");
2905
- return t[h] = u, o;
2905
+ return t[h] = f, o;
2906
2906
  },
2907
- addMatcher: function(a, u) {
2907
+ addMatcher: function(a, f) {
2908
2908
  if (process.env.NODE_ENV !== "production" && n)
2909
2909
  throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");
2910
- return r.push({ matcher: a, reducer: u }), o;
2910
+ return r.push({ matcher: a, reducer: f }), o;
2911
2911
  },
2912
2912
  addDefaultCase: function(a) {
2913
2913
  if (process.env.NODE_ENV !== "production" && n)
@@ -2917,14 +2917,14 @@ function zn(e) {
2917
2917
  };
2918
2918
  return e(o), [t, r, n];
2919
2919
  }
2920
- function xi(e) {
2920
+ function Si(e) {
2921
2921
  return typeof e == "function";
2922
2922
  }
2923
- var sn = !1;
2924
- function Ei(e, t, r, n) {
2925
- r === void 0 && (r = []), process.env.NODE_ENV !== "production" && typeof t == "object" && (sn || (sn = !0, console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer")));
2926
- var o = typeof t == "function" ? zn(t) : [t, r, n], a = o[0], u = o[1], h = o[2], p;
2927
- if (xi(e))
2923
+ var cn = !1;
2924
+ function Ci(e, t, r, n) {
2925
+ r === void 0 && (r = []), process.env.NODE_ENV !== "production" && typeof t == "object" && (cn || (cn = !0, console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer")));
2926
+ var o = typeof t == "function" ? Vn(t) : [t, r, n], a = o[0], f = o[1], h = o[2], p;
2927
+ if (Si(e))
2928
2928
  p = function() {
2929
2929
  return fr(e());
2930
2930
  };
@@ -2934,11 +2934,11 @@ function Ei(e, t, r, n) {
2934
2934
  return l;
2935
2935
  };
2936
2936
  }
2937
- function f(g, m) {
2937
+ function u(g, m) {
2938
2938
  g === void 0 && (g = p());
2939
2939
  var x = vt([
2940
2940
  a[m.type]
2941
- ], u.filter(function(y) {
2941
+ ], f.filter(function(y) {
2942
2942
  var d = y.matcher;
2943
2943
  return d(m);
2944
2944
  }).map(function(y) {
@@ -2954,7 +2954,7 @@ function Ei(e, t, r, n) {
2954
2954
  return T === void 0 ? y : T;
2955
2955
  } else {
2956
2956
  if (Le(y))
2957
- return On(y, function(M) {
2957
+ return Tn(y, function(M) {
2958
2958
  return d(M, m);
2959
2959
  });
2960
2960
  var T = d(y, m);
@@ -2968,24 +2968,24 @@ function Ei(e, t, r, n) {
2968
2968
  return y;
2969
2969
  }, g);
2970
2970
  }
2971
- return f.getInitialState = p, f;
2971
+ return u.getInitialState = p, u;
2972
2972
  }
2973
- var cn = !1;
2974
- function Si(e, t) {
2973
+ var ln = !1;
2974
+ function _i(e, t) {
2975
2975
  return e + "/" + t;
2976
2976
  }
2977
- function Ci(e) {
2977
+ function Oi(e) {
2978
2978
  var t = e.name;
2979
2979
  typeof process < "u" && process.env.NODE_ENV === "development" && e.initialState === void 0 && console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");
2980
- var r = typeof e.initialState == "function" ? e.initialState : fr(e.initialState), n = e.reducers || {}, o = Object.keys(n), a = {}, u = {}, h = {};
2981
- o.forEach(function(f) {
2982
- var g = n[f], m = Si(t, f), x, y;
2983
- "reducer" in g ? (x = g.reducer, y = g.prepare) : x = g, a[f] = x, u[m] = x, h[f] = y ? Ue(m, y) : Ue(m);
2980
+ var r = typeof e.initialState == "function" ? e.initialState : fr(e.initialState), n = e.reducers || {}, o = Object.keys(n), a = {}, f = {}, h = {};
2981
+ o.forEach(function(u) {
2982
+ var g = n[u], m = _i(t, u), x, y;
2983
+ "reducer" in g ? (x = g.reducer, y = g.prepare) : x = g, a[u] = x, f[m] = x, h[u] = y ? Ue(m, y) : Ue(m);
2984
2984
  });
2985
2985
  function p() {
2986
- process.env.NODE_ENV !== "production" && typeof e.extraReducers == "object" && (cn || (cn = !0, console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice")));
2987
- var f = typeof e.extraReducers == "function" ? zn(e.extraReducers) : [e.extraReducers], g = f[0], m = g === void 0 ? {} : g, x = f[1], y = x === void 0 ? [] : x, d = f[2], S = d === void 0 ? void 0 : d, T = Be(Be({}, m), u);
2988
- return Ei(r, function(M) {
2986
+ process.env.NODE_ENV !== "production" && typeof e.extraReducers == "object" && (ln || (ln = !0, console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice")));
2987
+ var u = typeof e.extraReducers == "function" ? Vn(e.extraReducers) : [e.extraReducers], g = u[0], m = g === void 0 ? {} : g, x = u[1], y = x === void 0 ? [] : x, d = u[2], S = d === void 0 ? void 0 : d, T = Be(Be({}, m), f);
2988
+ return Ci(r, function(M) {
2989
2989
  for (var R in T)
2990
2990
  M.addCase(R, T[R]);
2991
2991
  for (var N = 0, c = y; N < c.length; N++) {
@@ -2998,8 +2998,8 @@ function Ci(e) {
2998
2998
  var l;
2999
2999
  return {
3000
3000
  name: t,
3001
- reducer: function(f, g) {
3002
- return l || (l = p()), l(f, g);
3001
+ reducer: function(u, g) {
3002
+ return l || (l = p()), l(u, g);
3003
3003
  },
3004
3004
  actions: h,
3005
3005
  caseReducers: a,
@@ -3008,12 +3008,12 @@ function Ci(e) {
3008
3008
  }
3009
3009
  };
3010
3010
  }
3011
- var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi = function(e) {
3011
+ var ji = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Pi = function(e) {
3012
3012
  e === void 0 && (e = 21);
3013
3013
  for (var t = "", r = e; r--; )
3014
- t += _i[Math.random() * 64 | 0];
3014
+ t += ji[Math.random() * 64 | 0];
3015
3015
  return t;
3016
- }, ji = [
3016
+ }, Ri = [
3017
3017
  "name",
3018
3018
  "message",
3019
3019
  "stack",
@@ -3026,7 +3026,7 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3026
3026
  }
3027
3027
  return e;
3028
3028
  })()
3029
- ), ln = (
3029
+ ), un = (
3030
3030
  /** @class */
3031
3031
  /* @__PURE__ */ (function() {
3032
3032
  function e(t, r) {
@@ -3034,9 +3034,9 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3034
3034
  }
3035
3035
  return e;
3036
3036
  })()
3037
- ), Pi = function(e) {
3037
+ ), Ti = function(e) {
3038
3038
  if (typeof e == "object" && e !== null) {
3039
- for (var t = {}, r = 0, n = ji; r < n.length; r++) {
3039
+ for (var t = {}, r = 0, n = Ri; r < n.length; r++) {
3040
3040
  var o = n[r];
3041
3041
  typeof e[o] == "string" && (t[o] = e[o]);
3042
3042
  }
@@ -3046,41 +3046,41 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3046
3046
  };
3047
3047
  (function() {
3048
3048
  function e(t, r, n) {
3049
- var o = Ue(t + "/fulfilled", function(f, g, m, x) {
3049
+ var o = Ue(t + "/fulfilled", function(u, g, m, x) {
3050
3050
  return {
3051
- payload: f,
3051
+ payload: u,
3052
3052
  meta: nr(Be({}, x || {}), {
3053
3053
  arg: m,
3054
3054
  requestId: g,
3055
3055
  requestStatus: "fulfilled"
3056
3056
  })
3057
3057
  };
3058
- }), a = Ue(t + "/pending", function(f, g, m) {
3058
+ }), a = Ue(t + "/pending", function(u, g, m) {
3059
3059
  return {
3060
3060
  payload: void 0,
3061
3061
  meta: nr(Be({}, m || {}), {
3062
3062
  arg: g,
3063
- requestId: f,
3063
+ requestId: u,
3064
3064
  requestStatus: "pending"
3065
3065
  })
3066
3066
  };
3067
- }), u = Ue(t + "/rejected", function(f, g, m, x, y) {
3067
+ }), f = Ue(t + "/rejected", function(u, g, m, x, y) {
3068
3068
  return {
3069
3069
  payload: x,
3070
- error: (n && n.serializeError || Pi)(f || "Rejected"),
3070
+ error: (n && n.serializeError || Ti)(u || "Rejected"),
3071
3071
  meta: nr(Be({}, y || {}), {
3072
3072
  arg: m,
3073
3073
  requestId: g,
3074
3074
  rejectedWithValue: !!x,
3075
3075
  requestStatus: "rejected",
3076
- aborted: (f == null ? void 0 : f.name) === "AbortError",
3077
- condition: (f == null ? void 0 : f.name) === "ConditionError"
3076
+ aborted: (u == null ? void 0 : u.name) === "AbortError",
3077
+ condition: (u == null ? void 0 : u.name) === "ConditionError"
3078
3078
  })
3079
3079
  };
3080
3080
  }), h = !1, p = typeof AbortController < "u" ? AbortController : (
3081
3081
  /** @class */
3082
3082
  (function() {
3083
- function f() {
3083
+ function u() {
3084
3084
  this.signal = {
3085
3085
  aborted: !1,
3086
3086
  addEventListener: function() {
@@ -3097,24 +3097,24 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3097
3097
  }
3098
3098
  };
3099
3099
  }
3100
- return f.prototype.abort = function() {
3100
+ return u.prototype.abort = function() {
3101
3101
  process.env.NODE_ENV !== "production" && (h || (h = !0, console.info("This platform does not implement AbortController. \nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'.")));
3102
- }, f;
3102
+ }, u;
3103
3103
  })()
3104
3104
  );
3105
- function l(f) {
3105
+ function l(u) {
3106
3106
  return function(g, m, x) {
3107
- var y = n != null && n.idGenerator ? n.idGenerator(f) : Oi(), d = new p(), S;
3107
+ var y = n != null && n.idGenerator ? n.idGenerator(u) : Pi(), d = new p(), S;
3108
3108
  function T(R) {
3109
3109
  S = R, d.abort();
3110
3110
  }
3111
3111
  var M = (function() {
3112
- return ni(this, null, function() {
3112
+ return ii(this, null, function() {
3113
3113
  var R, N, c, k, O, Y, Q;
3114
- return Jo(this, function(G) {
3114
+ return Qo(this, function(G) {
3115
3115
  switch (G.label) {
3116
3116
  case 0:
3117
- return G.trys.push([0, 4, , 5]), k = (R = n == null ? void 0 : n.condition) == null ? void 0 : R.call(n, f, { getState: m, extra: x }), Ti(k) ? [4, k] : [3, 2];
3117
+ return G.trys.push([0, 4, , 5]), k = (R = n == null ? void 0 : n.condition) == null ? void 0 : R.call(n, u, { getState: m, extra: x }), ki(k) ? [4, k] : [3, 2];
3118
3118
  case 1:
3119
3119
  k = G.sent(), G.label = 2;
3120
3120
  case 2:
@@ -3130,9 +3130,9 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3130
3130
  message: S || "Aborted"
3131
3131
  });
3132
3132
  });
3133
- }), g(a(y, f, (N = n == null ? void 0 : n.getPendingMeta) == null ? void 0 : N.call(n, { requestId: y, arg: f }, { getState: m, extra: x }))), [4, Promise.race([
3133
+ }), g(a(y, u, (N = n == null ? void 0 : n.getPendingMeta) == null ? void 0 : N.call(n, { requestId: y, arg: u }, { getState: m, extra: x }))), [4, Promise.race([
3134
3134
  O,
3135
- Promise.resolve(r(f, {
3135
+ Promise.resolve(r(u, {
3136
3136
  dispatch: g,
3137
3137
  getState: m,
3138
3138
  extra: x,
@@ -3143,20 +3143,20 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3143
3143
  return new ir(K, se);
3144
3144
  },
3145
3145
  fulfillWithValue: function(K, se) {
3146
- return new ln(K, se);
3146
+ return new un(K, se);
3147
3147
  }
3148
3148
  })).then(function(K) {
3149
3149
  if (K instanceof ir)
3150
3150
  throw K;
3151
- return K instanceof ln ? o(K.payload, y, f, K.meta) : o(K, y, f);
3151
+ return K instanceof un ? o(K.payload, y, u, K.meta) : o(K, y, u);
3152
3152
  })
3153
3153
  ])];
3154
3154
  case 3:
3155
3155
  return c = G.sent(), [3, 5];
3156
3156
  case 4:
3157
- return Y = G.sent(), c = Y instanceof ir ? u(null, y, f, Y.payload, Y.meta) : u(Y, y, f), [3, 5];
3157
+ return Y = G.sent(), c = Y instanceof ir ? f(null, y, u, Y.payload, Y.meta) : f(Y, y, u), [3, 5];
3158
3158
  case 5:
3159
- return Q = n && !n.dispatchConditionRejection && u.match(c) && c.meta.condition, Q || g(c), [2, c];
3159
+ return Q = n && !n.dispatchConditionRejection && f.match(c) && c.meta.condition, Q || g(c), [2, c];
3160
3160
  }
3161
3161
  });
3162
3162
  });
@@ -3164,16 +3164,16 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3164
3164
  return Object.assign(M, {
3165
3165
  abort: T,
3166
3166
  requestId: y,
3167
- arg: f,
3167
+ arg: u,
3168
3168
  unwrap: function() {
3169
- return M.then(Ri);
3169
+ return M.then(Mi);
3170
3170
  }
3171
3171
  });
3172
3172
  };
3173
3173
  }
3174
3174
  return Object.assign(l, {
3175
3175
  pending: a,
3176
- rejected: u,
3176
+ rejected: f,
3177
3177
  fulfilled: o,
3178
3178
  typePrefix: t
3179
3179
  });
@@ -3182,24 +3182,36 @@ var _i = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Oi
3182
3182
  return e;
3183
3183
  }, e;
3184
3184
  })();
3185
- function Ri(e) {
3185
+ function Mi(e) {
3186
3186
  if (e.meta && e.meta.rejectedWithValue)
3187
3187
  throw e.payload;
3188
3188
  if (e.error)
3189
3189
  throw e.error;
3190
3190
  return e.payload;
3191
3191
  }
3192
- function Ti(e) {
3192
+ function ki(e) {
3193
3193
  return e !== null && typeof e == "object" && typeof e.then == "function";
3194
3194
  }
3195
3195
  var Sr = "listenerMiddleware";
3196
3196
  Ue(Sr + "/add");
3197
3197
  Ue(Sr + "/removeAll");
3198
3198
  Ue(Sr + "/remove");
3199
- var un;
3199
+ var fn;
3200
3200
  typeof queueMicrotask == "function" && queueMicrotask.bind(typeof window < "u" ? window : typeof global < "u" ? global : globalThis);
3201
- Ao();
3202
- const Mi = {
3201
+ Do();
3202
+ function Ni(e) {
3203
+ const t = [], r = /* @__PURE__ */ new Set();
3204
+ for (const n of e) {
3205
+ const o = n == null ? void 0 : n.id;
3206
+ if (o == null) {
3207
+ t.push(n);
3208
+ continue;
3209
+ }
3210
+ r.has(o) || (r.add(o), t.push(n));
3211
+ }
3212
+ return t;
3213
+ }
3214
+ const Ai = {
3203
3215
  grid: {
3204
3216
  size: 20,
3205
3217
  color: "#ccc",
@@ -3282,9 +3294,9 @@ const Mi = {
3282
3294
  isLocked: !0,
3283
3295
  text: "Whiteboard drawing is only for moderator"
3284
3296
  }
3285
- }, Wn = Ci({
3297
+ }, Cr = Oi({
3286
3298
  name: "whiteboard",
3287
- initialState: Mi,
3299
+ initialState: Ai,
3288
3300
  reducers: {
3289
3301
  toggleGrid(e) {
3290
3302
  e.grid.enabled = !e.grid.enabled;
@@ -3303,7 +3315,8 @@ const Mi = {
3303
3315
  e.toolProperties[r] && (e.toolProperties[r][n] = o);
3304
3316
  },
3305
3317
  addElement(e, t) {
3306
- e.elements.push(t.payload);
3318
+ const r = t.payload, n = r == null ? void 0 : r.id;
3319
+ n != null && e.elements.some((a) => (a == null ? void 0 : a.id) === n) || e.elements.push(r);
3307
3320
  },
3308
3321
  updateElement(e, t) {
3309
3322
  const { id: r, updates: n } = t.payload, o = e.elements.findIndex((a) => a.id === r);
@@ -3319,6 +3332,10 @@ const Mi = {
3319
3332
  clearElements(e) {
3320
3333
  e.elements = [];
3321
3334
  },
3335
+ setElements(e, t) {
3336
+ const r = Array.isArray(t.payload) ? t.payload : [];
3337
+ e.elements = Ni(r), e.selectedElementId = null;
3338
+ },
3322
3339
  setPan(e, t) {
3323
3340
  e.viewport.panX = t.payload.x, e.viewport.panY = t.payload.y;
3324
3341
  },
@@ -3348,16 +3365,16 @@ const Mi = {
3348
3365
  e.viewport.panX = 0, e.viewport.panY = 0, e.viewport.zoom = 1;
3349
3366
  return;
3350
3367
  }
3351
- let u = 1 / 0, h = 1 / 0, p = -1 / 0, l = -1 / 0;
3368
+ let f = 1 / 0, h = 1 / 0, p = -1 / 0, l = -1 / 0;
3352
3369
  a.forEach((c) => {
3353
- c.type === "rectangle" ? (u = Math.min(u, c.x), h = Math.min(h, c.y), p = Math.max(p, c.x + c.width), l = Math.max(l, c.y + c.height)) : c.type === "circle" ? (u = Math.min(u, c.centerX - c.radius), h = Math.min(h, c.centerY - c.radius), p = Math.max(p, c.centerX + c.radius), l = Math.max(l, c.centerY + c.radius)) : c.type === "pencil" && c.points.length > 0 ? c.points.forEach((k) => {
3354
- u = Math.min(u, k.x), h = Math.min(h, k.y), p = Math.max(p, k.x), l = Math.max(l, k.y);
3355
- }) : c.type === "triangle" || c.type === "diamond" || c.type === "hexagon" || c.type === "octagon" ? (u = Math.min(u, c.x), h = Math.min(h, c.y), p = Math.max(p, c.x + c.width), l = Math.max(l, c.y + c.height)) : c.type === "star" || c.type === "heart" ? (u = Math.min(u, c.centerX - c.size), h = Math.min(h, c.centerY - c.size), p = Math.max(p, c.centerX + c.size), l = Math.max(l, c.centerY + c.size)) : c.type === "arrow" && (u = Math.min(u, c.startX, c.endX), h = Math.min(h, c.startY, c.endY), p = Math.max(p, c.startX, c.endX), l = Math.max(l, c.startY, c.endY));
3370
+ c.type === "rectangle" ? (f = Math.min(f, c.x), h = Math.min(h, c.y), p = Math.max(p, c.x + c.width), l = Math.max(l, c.y + c.height)) : c.type === "circle" ? (f = Math.min(f, c.centerX - c.radius), h = Math.min(h, c.centerY - c.radius), p = Math.max(p, c.centerX + c.radius), l = Math.max(l, c.centerY + c.radius)) : c.type === "pencil" && c.points.length > 0 ? c.points.forEach((k) => {
3371
+ f = Math.min(f, k.x), h = Math.min(h, k.y), p = Math.max(p, k.x), l = Math.max(l, k.y);
3372
+ }) : c.type === "triangle" || c.type === "diamond" || c.type === "hexagon" || c.type === "octagon" ? (f = Math.min(f, c.x), h = Math.min(h, c.y), p = Math.max(p, c.x + c.width), l = Math.max(l, c.y + c.height)) : c.type === "star" || c.type === "heart" ? (f = Math.min(f, c.centerX - c.size), h = Math.min(h, c.centerY - c.size), p = Math.max(p, c.centerX + c.size), l = Math.max(l, c.centerY + c.size)) : c.type === "arrow" && (f = Math.min(f, c.startX, c.endX), h = Math.min(h, c.startY, c.endY), p = Math.max(p, c.startX, c.endX), l = Math.max(l, c.startY, c.endY));
3356
3373
  });
3357
- const f = p - u, g = l - h;
3358
- if (f <= 0 || g <= 0)
3374
+ const u = p - f, g = l - h;
3375
+ if (u <= 0 || g <= 0)
3359
3376
  return;
3360
- const m = r - o * 2, x = n - o * 2, y = m / f, d = x / g, S = Math.min(y, d, 5), T = (u + p) / 2, M = (h + l) / 2, R = r / 2 - T * S, N = n / 2 - M * S;
3377
+ const m = r - o * 2, x = n - o * 2, y = m / u, d = x / g, S = Math.min(y, d, 5), T = (f + p) / 2, M = (h + l) / 2, R = r / 2 - T * S, N = n / 2 - M * S;
3361
3378
  e.viewport.zoom = Math.max(0.1, S), e.viewport.panX = R, e.viewport.panY = N;
3362
3379
  },
3363
3380
  setLocked(e, t) {
@@ -3371,47 +3388,80 @@ const Mi = {
3371
3388
  }
3372
3389
  }
3373
3390
  }), {
3374
- setSelectedTool: Ie,
3375
- setToolProperty: ki,
3391
+ toggleGrid: Ma,
3392
+ setGridSize: ka,
3393
+ setGridColor: Na,
3394
+ setSelectedTool: De,
3395
+ setToolProperty: Ii,
3376
3396
  addElement: be,
3377
- updateElement: It,
3378
- removeElement: Ni,
3397
+ updateElement: Dt,
3398
+ removeElement: Di,
3379
3399
  setSelectedElement: wt,
3380
- setPan: Ai,
3381
- setZoom: Di,
3382
- fitToView: Ii,
3383
- bringToFront: zi,
3384
- sendToBack: Wi,
3385
- setLocked: Ln,
3386
- setWatermarkEnabled: Li,
3387
- setWatermarkText: Yi
3388
- } = Wn.actions, Vi = Wn.reducer;
3400
+ clearElements: dn,
3401
+ setElements: hn,
3402
+ setPan: zi,
3403
+ setZoom: Wi,
3404
+ resetViewport: Aa,
3405
+ fitToView: Li,
3406
+ bringToFront: Yi,
3407
+ sendToBack: Vi,
3408
+ setLocked: $n,
3409
+ setWatermarkEnabled: $i,
3410
+ setWatermarkText: Fi
3411
+ } = Cr.actions, Ia = Cr.actions, Xi = Cr.reducer;
3389
3412
  let hr = null;
3390
- const $i = (e) => {
3413
+ const Bi = /* @__PURE__ */ new Set([
3414
+ "rectangle",
3415
+ "circle",
3416
+ "pencil",
3417
+ "triangle",
3418
+ "diamond",
3419
+ "star",
3420
+ "heart",
3421
+ "hexagon",
3422
+ "octagon",
3423
+ "arrow",
3424
+ "text"
3425
+ ]), Ui = (e) => {
3426
+ var t, r;
3427
+ if (!e || typeof e.type != "string" || e.type.startsWith("@@redux/")) return !1;
3428
+ if (e.type === "whiteboard/addElement") {
3429
+ const n = (t = e == null ? void 0 : e.payload) == null ? void 0 : t.type;
3430
+ return typeof n == "string" && Bi.has(n);
3431
+ }
3432
+ if (e.type === "whiteboard/removeElement" || e.type === "whiteboard/clearElements") return !0;
3433
+ if (e.type === "whiteboard/updateElement") {
3434
+ const n = (r = e == null ? void 0 : e.payload) == null ? void 0 : r.updates;
3435
+ if (!n || typeof n != "object") return !1;
3436
+ const o = (a) => Object.prototype.hasOwnProperty.call(n, a);
3437
+ return !!(o("text") || o("fontSize") || o("fontColor") || o("x") || o("y") || o("centerX") || o("centerY") || o("startX") || o("startY") || o("endX") || o("endY") || o("points"));
3438
+ }
3439
+ return !1;
3440
+ }, qi = (e) => {
3391
3441
  hr = e;
3392
- }, Fi = (e) => (t) => (r) => {
3442
+ }, Hi = (e) => (t) => (r) => {
3393
3443
  var o;
3394
3444
  const n = t(r);
3395
- return !((o = r.meta) != null && o.fromRemote) && hr && hr(r), n;
3396
- }, Xi = wi({
3445
+ return !((o = r.meta) != null && o.fromRemote) && hr && Ui(r) && hr(r), n;
3446
+ }, Gi = Ei({
3397
3447
  reducer: {
3398
- whiteboard: Vi
3448
+ whiteboard: Xi
3399
3449
  },
3400
- middleware: (e) => e().concat(Fi)
3401
- }), Bi = () => {
3450
+ middleware: (e) => e().concat(Hi)
3451
+ }), Ki = () => {
3402
3452
  const e = ae((t) => t.whiteboard.watermark);
3403
3453
  return /* @__PURE__ */ w.jsx("a", { href: e.url, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ w.jsx("div", { className: "wb-watermark", children: e.text }) });
3404
3454
  };
3405
- var Yn = {
3455
+ var Fn = {
3406
3456
  color: void 0,
3407
3457
  size: void 0,
3408
3458
  className: void 0,
3409
3459
  style: void 0,
3410
3460
  attr: void 0
3411
- }, fn = pe.createContext && /* @__PURE__ */ pe.createContext(Yn), Ui = ["attr", "size", "title"];
3412
- function qi(e, t) {
3461
+ }, pn = pe.createContext && /* @__PURE__ */ pe.createContext(Fn), Ji = ["attr", "size", "title"];
3462
+ function Zi(e, t) {
3413
3463
  if (e == null) return {};
3414
- var r = Hi(e, t), n, o;
3464
+ var r = Qi(e, t), n, o;
3415
3465
  if (Object.getOwnPropertySymbols) {
3416
3466
  var a = Object.getOwnPropertySymbols(e);
3417
3467
  for (o = 0; o < a.length; o++)
@@ -3419,7 +3469,7 @@ function qi(e, t) {
3419
3469
  }
3420
3470
  return r;
3421
3471
  }
3422
- function Hi(e, t) {
3472
+ function Qi(e, t) {
3423
3473
  if (e == null) return {};
3424
3474
  var r = {};
3425
3475
  for (var n in e)
@@ -3439,7 +3489,7 @@ function Vt() {
3439
3489
  return e;
3440
3490
  }, Vt.apply(this, arguments);
3441
3491
  }
3442
- function dn(e, t) {
3492
+ function vn(e, t) {
3443
3493
  var r = Object.keys(e);
3444
3494
  if (Object.getOwnPropertySymbols) {
3445
3495
  var n = Object.getOwnPropertySymbols(e);
@@ -3452,22 +3502,22 @@ function dn(e, t) {
3452
3502
  function $t(e) {
3453
3503
  for (var t = 1; t < arguments.length; t++) {
3454
3504
  var r = arguments[t] != null ? arguments[t] : {};
3455
- t % 2 ? dn(Object(r), !0).forEach(function(n) {
3456
- Gi(e, n, r[n]);
3457
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : dn(Object(r)).forEach(function(n) {
3505
+ t % 2 ? vn(Object(r), !0).forEach(function(n) {
3506
+ ea(e, n, r[n]);
3507
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : vn(Object(r)).forEach(function(n) {
3458
3508
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3459
3509
  });
3460
3510
  }
3461
3511
  return e;
3462
3512
  }
3463
- function Gi(e, t, r) {
3464
- return t = Ki(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3513
+ function ea(e, t, r) {
3514
+ return t = ta(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3465
3515
  }
3466
- function Ki(e) {
3467
- var t = Ji(e, "string");
3516
+ function ta(e) {
3517
+ var t = ra(e, "string");
3468
3518
  return typeof t == "symbol" ? t : t + "";
3469
3519
  }
3470
- function Ji(e, t) {
3520
+ function ra(e, t) {
3471
3521
  if (typeof e != "object" || !e) return e;
3472
3522
  var r = e[Symbol.toPrimitive];
3473
3523
  if (r !== void 0) {
@@ -3477,28 +3527,28 @@ function Ji(e, t) {
3477
3527
  }
3478
3528
  return (t === "string" ? String : Number)(e);
3479
3529
  }
3480
- function Vn(e) {
3530
+ function Xn(e) {
3481
3531
  return e && e.map((t, r) => /* @__PURE__ */ pe.createElement(t.tag, $t({
3482
3532
  key: r
3483
- }, t.attr), Vn(t.child)));
3533
+ }, t.attr), Xn(t.child)));
3484
3534
  }
3485
3535
  function re(e) {
3486
- return (t) => /* @__PURE__ */ pe.createElement(Zi, Vt({
3536
+ return (t) => /* @__PURE__ */ pe.createElement(na, Vt({
3487
3537
  attr: $t({}, e.attr)
3488
- }, t), Vn(e.child));
3538
+ }, t), Xn(e.child));
3489
3539
  }
3490
- function Zi(e) {
3540
+ function na(e) {
3491
3541
  var t = (r) => {
3492
3542
  var {
3493
3543
  attr: n,
3494
3544
  size: o,
3495
3545
  title: a
3496
- } = e, u = qi(e, Ui), h = o || r.size || "1em", p;
3546
+ } = e, f = Zi(e, Ji), h = o || r.size || "1em", p;
3497
3547
  return r.className && (p = r.className), e.className && (p = (p ? p + " " : "") + e.className), /* @__PURE__ */ pe.createElement("svg", Vt({
3498
3548
  stroke: "currentColor",
3499
3549
  fill: "currentColor",
3500
3550
  strokeWidth: "0"
3501
- }, r.attr, n, u, {
3551
+ }, r.attr, n, f, {
3502
3552
  className: p,
3503
3553
  style: $t($t({
3504
3554
  color: e.color || r.color
@@ -3508,48 +3558,48 @@ function Zi(e) {
3508
3558
  xmlns: "http://www.w3.org/2000/svg"
3509
3559
  }), a && /* @__PURE__ */ pe.createElement("title", null, a), e.children);
3510
3560
  };
3511
- return fn !== void 0 ? /* @__PURE__ */ pe.createElement(fn.Consumer, null, (r) => t(r)) : t(Yn);
3561
+ return pn !== void 0 ? /* @__PURE__ */ pe.createElement(pn.Consumer, null, (r) => t(r)) : t(Fn);
3512
3562
  }
3513
- function Qi(e) {
3563
+ function oa(e) {
3514
3564
  return re({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z" }, child: [] }] })(e);
3515
3565
  }
3516
- function ea(e) {
3566
+ function ia(e) {
3517
3567
  return re({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z" }, child: [] }] })(e);
3518
3568
  }
3519
- function ta(e) {
3569
+ function aa(e) {
3520
3570
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z" }, child: [] }] })(e);
3521
3571
  }
3522
- function ra(e) {
3572
+ function sa(e) {
3523
3573
  return re({ attr: { viewBox: "0 0 496 512" }, child: [{ tag: "path", attr: { d: "M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z" }, child: [] }] })(e);
3524
3574
  }
3525
- function na(e) {
3575
+ function ca(e) {
3526
3576
  return re({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z" }, child: [] }] })(e);
3527
3577
  }
3528
- function oa(e) {
3578
+ function la(e) {
3529
3579
  return re({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z" }, child: [] }] })(e);
3530
3580
  }
3531
- function ia(e) {
3581
+ function ua(e) {
3532
3582
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z" }, child: [] }] })(e);
3533
3583
  }
3534
- function aa(e) {
3584
+ function fa(e) {
3535
3585
  return re({ attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30.277 5.443l284.412 292.542c11.472 11.179 3.007 31.141-12.5 31.141z" }, child: [] }] })(e);
3536
3586
  }
3537
- function sa(e) {
3587
+ function da(e) {
3538
3588
  return re({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z" }, child: [] }] })(e);
3539
3589
  }
3540
- function ca(e) {
3590
+ function ha(e) {
3541
3591
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(e);
3542
3592
  }
3543
- function la(e) {
3593
+ function pa(e) {
3544
3594
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z" }, child: [] }] })(e);
3545
3595
  }
3546
- function ua(e) {
3596
+ function va(e) {
3547
3597
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z" }, child: [] }] })(e);
3548
3598
  }
3549
- function fa(e) {
3599
+ function ya(e) {
3550
3600
  return re({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(e);
3551
3601
  }
3552
- const da = ({ text: e }) => /* @__PURE__ */ w.jsxs(
3602
+ const ga = ({ text: e }) => /* @__PURE__ */ w.jsxs(
3553
3603
  "div",
3554
3604
  {
3555
3605
  style: {
@@ -3572,39 +3622,39 @@ const da = ({ text: e }) => /* @__PURE__ */ w.jsxs(
3572
3622
  fontWeight: "500"
3573
3623
  },
3574
3624
  children: [
3575
- /* @__PURE__ */ w.jsx(ia, {}),
3625
+ /* @__PURE__ */ w.jsx(ua, {}),
3576
3626
  /* @__PURE__ */ w.jsx("span", { children: e || "Locked" })
3577
3627
  ]
3578
3628
  }
3579
3629
  );
3580
- function ha(e) {
3630
+ function ma(e) {
3581
3631
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z" }, child: [] }] })(e);
3582
3632
  }
3583
- function pa(e) {
3633
+ function ba(e) {
3584
3634
  return re({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M284.3 11.7c-15.6-15.6-40.9-15.6-56.6 0l-216 216c-15.6 15.6-15.6 40.9 0 56.6l216 216c15.6 15.6 40.9 15.6 56.6 0l216-216c15.6-15.6 15.6-40.9 0-56.6l-216-216z" }, child: [] }] })(e);
3585
3635
  }
3586
- function va(e) {
3636
+ function wa(e) {
3587
3637
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z" }, child: [] }] })(e);
3588
3638
  }
3589
- function ya(e) {
3639
+ function xa(e) {
3590
3640
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z" }, child: [] }] })(e);
3591
3641
  }
3592
- function ga(e) {
3642
+ function Ea(e) {
3593
3643
  return re({ attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l128 0 0 352c0 17.7 14.3 32 32 32s32-14.3 32-32l0-352 128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 32 32 32z" }, child: [] }] })(e);
3594
3644
  }
3595
- function ma(e) {
3645
+ function Sa(e) {
3596
3646
  return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 144c0-44.2 35.8-80 80-80c31.9 0 59.4 18.6 72.3 45.7c7.6 16 26.7 22.8 42.6 15.2s22.8-26.7 15.2-42.6C331 33.7 281.5 0 224 0C144.5 0 80 64.5 80 144l0 48-16 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-192c0-35.3-28.7-64-64-64l-240 0 0-48z" }, child: [] }] })(e);
3597
3647
  }
3598
- function ba(e) {
3648
+ function Ca(e) {
3599
3649
  return re({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M8.5.134a1 1 0 0 0-1 0l-6 3.577a1 1 0 0 0-.5.866v6.846a1 1 0 0 0 .5.866l6 3.577a1 1 0 0 0 1 0l6-3.577a1 1 0 0 0 .5-.866V4.577a1 1 0 0 0-.5-.866z" }, child: [] }] })(e);
3600
3650
  }
3601
- function wa(e) {
3651
+ function _a(e) {
3602
3652
  return re({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M11.107 0a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146A.5.5 0 0 1 4.893 0z" }, child: [] }] })(e);
3603
3653
  }
3604
- const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3605
- const n = yr(), { t: o, language: a, changeLanguage: u } = xn(), h = ae(
3654
+ const Oa = ({ onExport: e, onFitToView: t, mode: r }) => {
3655
+ const n = yr(), { t: o, language: a, changeLanguage: f } = _n(), h = ae(
3606
3656
  (k) => k.whiteboard.toolbar.selectedTool
3607
- ), p = ae((k) => k.whiteboard.lock.isLocked), [l, f] = ne(!1), [g, m] = ne(!1), x = ze(null), y = ze(null), d = ze(null), S = ze(null), T = ze(null), M = (k) => {
3657
+ ), p = ae((k) => k.whiteboard.lock.isLocked), [l, u] = ne(!1), [g, m] = ne(!1), x = ze(null), y = ze(null), d = ze(null), S = ze(null), T = ze(null), M = (k) => {
3608
3658
  const O = k.target.files[0];
3609
3659
  if (!O) return;
3610
3660
  const Y = new FileReader();
@@ -3622,51 +3672,51 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3622
3672
  height: G.height,
3623
3673
  src: Q.target.result
3624
3674
  })
3625
- ), n(Ie("pointer")), n(wt(K));
3675
+ ), n(De("pointer")), n(wt(K));
3626
3676
  }, G.src = Q.target.result;
3627
3677
  }, Y.readAsDataURL(O), k.target.value = "";
3628
3678
  };
3629
3679
  we(() => {
3630
3680
  const k = (O) => {
3631
- x.current && !x.current.contains(O.target) && y.current && !y.current.contains(O.target) && f(!1), S.current && !S.current.contains(O.target) && d.current && !d.current.contains(O.target) && m(!1);
3681
+ x.current && !x.current.contains(O.target) && y.current && !y.current.contains(O.target) && u(!1), S.current && !S.current.contains(O.target) && d.current && !d.current.contains(O.target) && m(!1);
3632
3682
  };
3633
3683
  return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
3634
3684
  }, []);
3635
3685
  const R = [
3636
3686
  {
3637
3687
  name: "triangle",
3638
- icon: /* @__PURE__ */ w.jsx(ca, { style: { transform: "rotate(-30deg)" } })
3688
+ icon: /* @__PURE__ */ w.jsx(ha, { style: { transform: "rotate(-30deg)" } })
3639
3689
  },
3640
- { name: "diamond", icon: /* @__PURE__ */ w.jsx(pa, {}) },
3641
- { name: "star", icon: /* @__PURE__ */ w.jsx(fa, {}) },
3642
- { name: "heart", icon: /* @__PURE__ */ w.jsx(na, {}) },
3643
- { name: "hexagon", icon: /* @__PURE__ */ w.jsx(ba, {}) },
3644
- { name: "octagon", icon: /* @__PURE__ */ w.jsx(wa, {}) },
3645
- { name: "arrow", icon: /* @__PURE__ */ w.jsx(ha, {}) }
3690
+ { name: "diamond", icon: /* @__PURE__ */ w.jsx(ba, {}) },
3691
+ { name: "star", icon: /* @__PURE__ */ w.jsx(ya, {}) },
3692
+ { name: "heart", icon: /* @__PURE__ */ w.jsx(ca, {}) },
3693
+ { name: "hexagon", icon: /* @__PURE__ */ w.jsx(Ca, {}) },
3694
+ { name: "octagon", icon: /* @__PURE__ */ w.jsx(_a, {}) },
3695
+ { name: "arrow", icon: /* @__PURE__ */ w.jsx(ma, {}) }
3646
3696
  ], N = (k) => {
3647
- n(Ie(k)), f(!1);
3697
+ n(De(k)), u(!1);
3648
3698
  }, c = (k) => {
3649
- u(k), m(!1);
3699
+ f(k), m(!1);
3650
3700
  };
3651
3701
  return /* @__PURE__ */ w.jsxs("div", { className: "wb-toolbar", children: [
3652
3702
  /* @__PURE__ */ w.jsx(
3653
3703
  "button",
3654
3704
  {
3655
3705
  className: h === "pointer" ? "wb-active" : "",
3656
- onClick: () => n(Ie("pointer")),
3706
+ onClick: () => n(De("pointer")),
3657
3707
  title: o("pointer"),
3658
3708
  disabled: p,
3659
- children: /* @__PURE__ */ w.jsx(aa, {})
3709
+ children: /* @__PURE__ */ w.jsx(fa, {})
3660
3710
  }
3661
3711
  ),
3662
3712
  /* @__PURE__ */ w.jsx(
3663
3713
  "button",
3664
3714
  {
3665
3715
  className: h === "text" ? "wb-active" : "",
3666
- onClick: () => n(Ie("text")),
3716
+ onClick: () => n(De("text")),
3667
3717
  title: o("text"),
3668
3718
  disabled: p,
3669
- children: /* @__PURE__ */ w.jsx(ga, {})
3719
+ children: /* @__PURE__ */ w.jsx(Ea, {})
3670
3720
  }
3671
3721
  ),
3672
3722
  /* @__PURE__ */ w.jsx(
@@ -3678,7 +3728,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3678
3728
  },
3679
3729
  title: o("image"),
3680
3730
  disabled: p,
3681
- children: /* @__PURE__ */ w.jsx(oa, {})
3731
+ children: /* @__PURE__ */ w.jsx(la, {})
3682
3732
  }
3683
3733
  ),
3684
3734
  /* @__PURE__ */ w.jsx(
@@ -3695,30 +3745,30 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3695
3745
  "button",
3696
3746
  {
3697
3747
  className: h === "pencil" ? "wb-active" : "",
3698
- onClick: () => n(Ie("pencil")),
3748
+ onClick: () => n(De("pencil")),
3699
3749
  title: o("pencil"),
3700
3750
  disabled: p,
3701
- children: /* @__PURE__ */ w.jsx(sa, {})
3751
+ children: /* @__PURE__ */ w.jsx(da, {})
3702
3752
  }
3703
3753
  ),
3704
3754
  /* @__PURE__ */ w.jsx(
3705
3755
  "button",
3706
3756
  {
3707
3757
  className: h === "rectangle" ? "wb-active" : "",
3708
- onClick: () => n(Ie("rectangle")),
3758
+ onClick: () => n(De("rectangle")),
3709
3759
  title: o("rectangle"),
3710
3760
  disabled: p,
3711
- children: /* @__PURE__ */ w.jsx(ua, {})
3761
+ children: /* @__PURE__ */ w.jsx(va, {})
3712
3762
  }
3713
3763
  ),
3714
3764
  /* @__PURE__ */ w.jsx(
3715
3765
  "button",
3716
3766
  {
3717
3767
  className: h === "circle" ? "wb-active" : "",
3718
- onClick: () => n(Ie("circle")),
3768
+ onClick: () => n(De("circle")),
3719
3769
  title: o("circle"),
3720
3770
  disabled: p,
3721
- children: /* @__PURE__ */ w.jsx(Qi, {})
3771
+ children: /* @__PURE__ */ w.jsx(oa, {})
3722
3772
  }
3723
3773
  ),
3724
3774
  /* @__PURE__ */ w.jsxs("div", { className: "wb-ellipsis-container", children: [
@@ -3727,10 +3777,10 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3727
3777
  {
3728
3778
  ref: y,
3729
3779
  className: R.some((k) => k.name === h) ? "wb-active" : "",
3730
- onClick: () => f(!l),
3780
+ onClick: () => u(!l),
3731
3781
  title: o("moreShapes"),
3732
3782
  disabled: p,
3733
- children: /* @__PURE__ */ w.jsx(va, {})
3783
+ children: /* @__PURE__ */ w.jsx(wa, {})
3734
3784
  }
3735
3785
  ),
3736
3786
  l && /* @__PURE__ */ w.jsxs("div", { className: "wb-shapes-popup", ref: x, children: [
@@ -3751,14 +3801,14 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3751
3801
  "button",
3752
3802
  {
3753
3803
  className: h === "eraser" ? "wb-active" : "",
3754
- onClick: () => n(Ie("eraser")),
3804
+ onClick: () => n(De("eraser")),
3755
3805
  title: o("eraser"),
3756
3806
  disabled: p,
3757
- children: /* @__PURE__ */ w.jsx(ea, {})
3807
+ children: /* @__PURE__ */ w.jsx(ia, {})
3758
3808
  }
3759
3809
  ),
3760
- /* @__PURE__ */ w.jsx("button", { onClick: t, title: o("fitToView"), children: /* @__PURE__ */ w.jsx(ta, {}) }),
3761
- /* @__PURE__ */ w.jsx("button", { onClick: e, title: o("exportAsPng"), children: /* @__PURE__ */ w.jsx(la, {}) }),
3810
+ /* @__PURE__ */ w.jsx("button", { onClick: t, title: o("fitToView"), children: /* @__PURE__ */ w.jsx(aa, {}) }),
3811
+ /* @__PURE__ */ w.jsx("button", { onClick: e, title: o("exportAsPng"), children: /* @__PURE__ */ w.jsx(pa, {}) }),
3762
3812
  /* @__PURE__ */ w.jsxs("div", { className: "wb-language-container", children: [
3763
3813
  /* @__PURE__ */ w.jsx(
3764
3814
  "button",
@@ -3766,7 +3816,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3766
3816
  ref: d,
3767
3817
  onClick: () => m(!g),
3768
3818
  title: o("language"),
3769
- children: /* @__PURE__ */ w.jsx(ra, {})
3819
+ children: /* @__PURE__ */ w.jsx(sa, {})
3770
3820
  }
3771
3821
  ),
3772
3822
  g && /* @__PURE__ */ w.jsxs("div", { className: "wb-language-popup", ref: S, children: [
@@ -3800,32 +3850,32 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3800
3850
  r === "moderator" && /* @__PURE__ */ w.jsx(
3801
3851
  "button",
3802
3852
  {
3803
- onClick: () => n(Ln(!p)),
3853
+ onClick: () => n($n(!p)),
3804
3854
  title: p ? "Unlock" : "Lock",
3805
3855
  style: { color: p ? "red" : "inherit" },
3806
- children: p ? /* @__PURE__ */ w.jsx(ya, {}) : /* @__PURE__ */ w.jsx(ma, {})
3856
+ children: p ? /* @__PURE__ */ w.jsx(xa, {}) : /* @__PURE__ */ w.jsx(Sa, {})
3807
3857
  }
3808
3858
  )
3809
3859
  ] });
3810
- }, Ea = () => {
3811
- const e = yr(), { t } = xn(), r = ae(
3860
+ }, ja = () => {
3861
+ const e = yr(), { t } = _n(), r = ae(
3812
3862
  (g) => g.whiteboard.toolbar.selectedTool
3813
3863
  ), n = ae(
3814
3864
  (g) => g.whiteboard.toolProperties
3815
3865
  ), o = ae(
3816
3866
  (g) => g.whiteboard.selectedElementId
3817
- ), a = ae((g) => g.whiteboard.elements), u = o ? a.find((g) => g.id === o) : null, h = (g, m, x) => {
3818
- e(ki({ tool: g, property: m, value: x }));
3867
+ ), a = ae((g) => g.whiteboard.elements), f = o ? a.find((g) => g.id === o) : null, h = (g, m, x) => {
3868
+ e(Ii({ tool: g, property: m, value: x }));
3819
3869
  }, p = (g, m) => {
3820
3870
  o && e(
3821
- It({ id: o, updates: { [g]: m } })
3871
+ Dt({ id: o, updates: { [g]: m } })
3822
3872
  );
3823
3873
  }, l = () => {
3824
- o && e(zi(o));
3825
- }, f = () => {
3826
- o && e(Wi(o));
3874
+ o && e(Yi(o));
3875
+ }, u = () => {
3876
+ o && e(Vi(o));
3827
3877
  };
3828
- if (r === "pointer" && u && u.type === "text")
3878
+ if (r === "pointer" && f && f.type === "text")
3829
3879
  return /* @__PURE__ */ w.jsxs("div", { className: "wb-prop-tools", children: [
3830
3880
  /* @__PURE__ */ w.jsxs("div", { className: "wb-prop-tool-item", children: [
3831
3881
  /* @__PURE__ */ w.jsx("span", { children: t("fontSize") }),
@@ -3833,7 +3883,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3833
3883
  "select",
3834
3884
  {
3835
3885
  className: "font-size-selector",
3836
- value: u.fontSize || 16,
3886
+ value: f.fontSize || 16,
3837
3887
  onChange: (g) => p("fontSize", parseInt(g.target.value)),
3838
3888
  children: [
3839
3889
  /* @__PURE__ */ w.jsx("option", { value: "12", children: "12 px" }),
@@ -3855,7 +3905,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3855
3905
  "input",
3856
3906
  {
3857
3907
  type: "color",
3858
- value: u.fontColor || "#000000",
3908
+ value: f.fontColor || "#000000",
3859
3909
  onChange: (g) => p("fontColor", g.target.value)
3860
3910
  }
3861
3911
  )
@@ -3889,7 +3939,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3889
3939
  ]
3890
3940
  }
3891
3941
  ) }),
3892
- /* @__PURE__ */ w.jsx("button", { onClick: f, title: t("sendToBack"), children: /* @__PURE__ */ w.jsxs(
3942
+ /* @__PURE__ */ w.jsx("button", { onClick: u, title: t("sendToBack"), children: /* @__PURE__ */ w.jsxs(
3893
3943
  "svg",
3894
3944
  {
3895
3945
  width: "18",
@@ -3918,7 +3968,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3918
3968
  ] })
3919
3969
  ] })
3920
3970
  ] });
3921
- if (r === "pointer" && u) {
3971
+ if (r === "pointer" && f) {
3922
3972
  const g = [
3923
3973
  "rectangle",
3924
3974
  "circle",
@@ -3929,7 +3979,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3929
3979
  "hexagon",
3930
3980
  "octagon",
3931
3981
  "arrow"
3932
- ].includes(u.type), m = u.type === "pencil";
3982
+ ].includes(f.type), m = f.type === "pencil";
3933
3983
  return /* @__PURE__ */ w.jsxs("div", { className: "wb-prop-tools", children: [
3934
3984
  g && /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
3935
3985
  /* @__PURE__ */ w.jsxs("div", { className: "wb-prop-tool-item", children: [
@@ -3938,7 +3988,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3938
3988
  "input",
3939
3989
  {
3940
3990
  type: "color",
3941
- value: u.strokeColor,
3991
+ value: f.strokeColor,
3942
3992
  onChange: (x) => p("strokeColor", x.target.value)
3943
3993
  }
3944
3994
  )
@@ -3949,7 +3999,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3949
3999
  "input",
3950
4000
  {
3951
4001
  type: "color",
3952
- value: u.fillColor,
4002
+ value: f.fillColor,
3953
4003
  onChange: (x) => p("fillColor", x.target.value)
3954
4004
  }
3955
4005
  )
@@ -3960,7 +4010,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3960
4010
  "select",
3961
4011
  {
3962
4012
  className: "stroke-width-selector",
3963
- value: u.lineWidth,
4013
+ value: f.lineWidth,
3964
4014
  onChange: (x) => p(
3965
4015
  "lineWidth",
3966
4016
  parseInt(x.target.value)
@@ -3982,7 +4032,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3982
4032
  "input",
3983
4033
  {
3984
4034
  type: "color",
3985
- value: u.strokeColor,
4035
+ value: f.strokeColor,
3986
4036
  onChange: (x) => p("strokeColor", x.target.value)
3987
4037
  }
3988
4038
  )
@@ -3993,7 +4043,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
3993
4043
  "select",
3994
4044
  {
3995
4045
  className: "brush-size-selector",
3996
- value: u.lineWidth,
4046
+ value: f.lineWidth,
3997
4047
  onChange: (x) => p(
3998
4048
  "lineWidth",
3999
4049
  parseInt(x.target.value)
@@ -4038,7 +4088,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4038
4088
  ]
4039
4089
  }
4040
4090
  ) }),
4041
- /* @__PURE__ */ w.jsx("button", { onClick: f, title: t("sendToBack"), children: /* @__PURE__ */ w.jsxs(
4091
+ /* @__PURE__ */ w.jsx("button", { onClick: u, title: t("sendToBack"), children: /* @__PURE__ */ w.jsxs(
4042
4092
  "svg",
4043
4093
  {
4044
4094
  width: "18",
@@ -4193,40 +4243,74 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4193
4243
  ] })
4194
4244
  ] })
4195
4245
  ] });
4196
- }, Sa = Xn(({ onAction: e, watermark: t, isLocked: r, lockText: n, onLockChange: o, isWatermarkEnabled: a, watermarkText: u, mode: h }, p) => {
4246
+ }, Pa = gn(({ onAction: e, watermark: t, isLocked: r, lockText: n, onLockChange: o, isWatermarkEnabled: a, watermarkText: f, mode: h }, p) => {
4197
4247
  var Rt;
4198
- const l = ze(null), f = yr(), g = ae((s) => s.whiteboard.grid), m = ae(
4248
+ const l = ze(null), u = yr(), g = ae((s) => s.whiteboard.grid), m = ae(
4199
4249
  (s) => s.whiteboard.toolbar.selectedTool
4200
4250
  ), x = ae((s) => s.whiteboard.elements), y = ae((s) => s.whiteboard.viewport), d = ae(
4201
4251
  (s) => s.whiteboard.toolProperties
4202
4252
  ), S = ae(
4203
4253
  (s) => s.whiteboard.selectedElementId
4204
- ), T = ae((s) => s.whiteboard.lock), M = T.isLocked, [R, N] = ne(!1), [c, k] = ne({ x: 0, y: 0 }), [O, Y] = ne({ x: 0, y: 0 }), [Q, G] = ne([]), [K, se] = ne(!1), [J, te] = ne({ x: 0, y: 0 }), [fe, Re] = ne(!1), [Se, ye] = ne(!1), [xe, Ee] = ne(!1), [Te, Ye] = ne({ x: 0, y: 0 }), [Me, Ge] = ne({ y: 0, initialZoom: 1 }), [Ve, ge] = ne(!1), [Ce, _e] = ne({ x: 0, y: 0 }), [de, ce] = ne(""), [Oe, D] = ne(null);
4254
+ ), T = ae((s) => s.whiteboard.lock), M = T.isLocked, [R, N] = ne(!1), [c, k] = ne({ x: 0, y: 0 }), [O, Y] = ne({ x: 0, y: 0 }), [Q, G] = ne([]), [K, se] = ne(!1), [J, te] = ne({ x: 0, y: 0 }), [fe, Re] = ne(!1), [Se, ye] = ne(!1), [xe, Ee] = ne(!1), [Te, Ye] = ne({ x: 0, y: 0 }), [Me, Ge] = ne({ y: 0, initialZoom: 1 }), [Ve, ge] = ne(!1), [Ce, _e] = ne({ x: 0, y: 0 }), [de, ce] = ne(""), [Oe, I] = ne(null);
4205
4255
  we(() => {
4206
- e && $i(e);
4207
- }, [e]), Bn(p, () => ({
4256
+ e && qi(e);
4257
+ }, [e]), qn(p, () => ({
4208
4258
  canvas: l.current,
4209
4259
  applyAction: (s) => {
4210
- f({
4260
+ u({
4211
4261
  ...s,
4212
4262
  meta: {
4213
4263
  ...s.meta,
4214
4264
  fromRemote: !0
4215
4265
  }
4216
4266
  });
4267
+ },
4268
+ getElems: () => x,
4269
+ getElements: () => x,
4270
+ setElems: (s) => {
4271
+ u({
4272
+ ...hn(s),
4273
+ meta: {
4274
+ fromRemote: !0
4275
+ }
4276
+ });
4277
+ },
4278
+ setElements: (s) => {
4279
+ u({
4280
+ ...hn(s),
4281
+ meta: {
4282
+ fromRemote: !0
4283
+ }
4284
+ });
4285
+ },
4286
+ clearElems: () => {
4287
+ u({
4288
+ ...dn(),
4289
+ meta: {
4290
+ fromRemote: !0
4291
+ }
4292
+ });
4293
+ },
4294
+ clearElements: () => {
4295
+ u({
4296
+ ...dn(),
4297
+ meta: {
4298
+ fromRemote: !0
4299
+ }
4300
+ });
4217
4301
  }
4218
4302
  })), we(() => {
4219
- r !== void 0 && r !== M && f(Ln(r));
4220
- }, [r, M, f]), we(() => {
4303
+ r !== void 0 && r !== M && u($n(r));
4304
+ }, [r, M, u]), we(() => {
4221
4305
  o && o(M);
4222
4306
  }, [M, o]);
4223
4307
  const le = ae((s) => s.whiteboard.watermark);
4224
4308
  we(() => {
4225
- a !== void 0 && a !== le.visible && f(Li(a));
4226
- }, [a, le.visible, f]), we(() => {
4227
- u !== void 0 && u !== le.text && f(Yi(u));
4228
- }, [u, le.text, f]);
4229
- const I = ee(
4309
+ a !== void 0 && a !== le.visible && u($i(a));
4310
+ }, [a, le.visible, u]), we(() => {
4311
+ f !== void 0 && f !== le.text && u(Fi(f));
4312
+ }, [f, le.text, u]);
4313
+ const D = ee(
4230
4314
  (s, b, C) => {
4231
4315
  const E = s.canvas, j = E.width, P = E.height, i = Math.floor(-y.panX / y.zoom / b) * b, v = Math.floor(-y.panY / y.zoom / b) * b, _ = Math.ceil(
4232
4316
  (j / y.zoom - y.panX / y.zoom) / b
@@ -4466,14 +4550,14 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4466
4550
  j.download = `whiteboard-${Date.now()}.png`, j.href = E, j.click();
4467
4551
  }, [y, x, at]), mt = ee(() => {
4468
4552
  const s = l.current;
4469
- s && f(
4470
- Ii({
4553
+ s && u(
4554
+ Li({
4471
4555
  canvasWidth: s.width,
4472
4556
  canvasHeight: s.height,
4473
4557
  padding: 50
4474
4558
  })
4475
4559
  );
4476
- }, [f]), st = ee(
4560
+ }, [u]), st = ee(
4477
4561
  (s, b) => {
4478
4562
  for (let C = x.length - 1; C >= 0; C--) {
4479
4563
  const E = x[C];
@@ -4590,12 +4674,12 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4590
4674
  const s = l.current;
4591
4675
  if (!s) return;
4592
4676
  const b = s.getContext("2d");
4593
- b.clearRect(0, 0, s.width, s.height), b.save(), b.translate(y.panX, y.panY), b.scale(y.zoom, y.zoom), g.enabled && I(b, g.size, g.color), x.forEach((C) => {
4677
+ b.clearRect(0, 0, s.width, s.height), b.save(), b.translate(y.panX, y.panY), b.scale(y.zoom, y.zoom), g.enabled && D(b, g.size, g.color), x.forEach((C) => {
4594
4678
  at(b, C), C.id === S && ct(b, C);
4595
4679
  }), b.restore();
4596
4680
  }, [
4597
4681
  g,
4598
- I,
4682
+ D,
4599
4683
  x,
4600
4684
  at,
4601
4685
  S,
@@ -4785,7 +4869,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4785
4869
  if (m === "pointer") {
4786
4870
  const v = st(P, i);
4787
4871
  if (v)
4788
- if (f(wt(v.id)), se(!0), v.type === "rectangle")
4872
+ if (u(wt(v.id)), se(!0), v.type === "rectangle")
4789
4873
  te({ x: P - v.x, y: i - v.y });
4790
4874
  else if (v.type === "circle")
4791
4875
  te({
@@ -4803,10 +4887,10 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4803
4887
  y: i - v.startY
4804
4888
  }) : v.type === "image" && te({ x: P - v.x, y: i - v.y });
4805
4889
  else
4806
- f(wt(null)), N(!0), k({ x: P, y: i }), Y({ x: P, y: i });
4890
+ u(wt(null)), N(!0), k({ x: P, y: i }), Y({ x: P, y: i });
4807
4891
  } else if (m === "text") {
4808
4892
  const v = Date.now().toString();
4809
- f(
4893
+ u(
4810
4894
  be({
4811
4895
  id: v,
4812
4896
  type: "text",
@@ -4816,17 +4900,17 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4816
4900
  fontSize: d.text.fontSize,
4817
4901
  fontColor: d.text.fontColor
4818
4902
  })
4819
- ), f(Ie("pointer")), f(wt(v));
4903
+ ), u(De("pointer")), u(wt(v));
4820
4904
  } else if (m === "eraser") {
4821
4905
  const v = st(P, i);
4822
- v && f(Ni(v.id));
4906
+ v && u(Di(v.id));
4823
4907
  } else
4824
- f(wt(null)), N(!0), k({ x: P, y: i }), Y({ x: P, y: i }), m === "pencil" && G([{ x: P, y: i }]);
4908
+ u(wt(null)), N(!0), k({ x: P, y: i }), Y({ x: P, y: i }), m === "pencil" && G([{ x: P, y: i }]);
4825
4909
  }, _t = (s) => {
4826
4910
  const C = l.current.getBoundingClientRect(), E = s.clientX - C.left, j = s.clientY - C.top;
4827
4911
  if (Se) {
4828
- f(
4829
- Ai({
4912
+ u(
4913
+ zi({
4830
4914
  x: E - Te.x,
4831
4915
  y: j - Te.y
4832
4916
  })
@@ -4835,7 +4919,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4835
4919
  }
4836
4920
  if (xe) {
4837
4921
  const v = Me.y - j, A = Me.initialZoom * (1 + v * 5e-3);
4838
- f(Di(A));
4922
+ u(Wi(A));
4839
4923
  return;
4840
4924
  }
4841
4925
  const { x: P, y: i } = lt(E, j);
@@ -4890,7 +4974,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4890
4974
  x: P - J.x,
4891
4975
  y: i - J.y
4892
4976
  });
4893
- f(It({ id: S, updates: _ }));
4977
+ u(Dt({ id: S, updates: _ }));
4894
4978
  return;
4895
4979
  }
4896
4980
  R && (Y({ x: P, y: i }), m === "pencil" && G((v) => [...v, { x: P, y: i }]));
@@ -4908,7 +4992,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4908
4992
  he();
4909
4993
  else if (m === "rectangle") {
4910
4994
  const s = Math.min(c.x, O.x), b = Math.min(c.y, O.y), C = Math.abs(O.x - c.x), E = Math.abs(O.y - c.y);
4911
- C > 0 && E > 0 && f(
4995
+ C > 0 && E > 0 && u(
4912
4996
  be({
4913
4997
  id: Date.now().toString(),
4914
4998
  type: "rectangle",
@@ -4925,7 +5009,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4925
5009
  const s = c.x, b = c.y, C = Math.sqrt(
4926
5010
  Math.pow(O.x - c.x, 2) + Math.pow(O.y - c.y, 2)
4927
5011
  );
4928
- C > 0 && f(
5012
+ C > 0 && u(
4929
5013
  be({
4930
5014
  id: Date.now().toString(),
4931
5015
  type: "circle",
@@ -4938,7 +5022,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4938
5022
  })
4939
5023
  );
4940
5024
  } else if (m === "pencil")
4941
- Q.length > 1 && f(
5025
+ Q.length > 1 && u(
4942
5026
  be({
4943
5027
  id: Date.now().toString(),
4944
5028
  type: "pencil",
@@ -4949,7 +5033,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4949
5033
  ), G([]);
4950
5034
  else if (m === "triangle") {
4951
5035
  const s = Math.min(c.x, O.x), b = Math.min(c.y, O.y), C = Math.abs(O.x - c.x), E = Math.abs(O.y - c.y);
4952
- C > 0 && E > 0 && f(
5036
+ C > 0 && E > 0 && u(
4953
5037
  be({
4954
5038
  id: Date.now().toString(),
4955
5039
  type: "triangle",
@@ -4964,7 +5048,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4964
5048
  );
4965
5049
  } else if (m === "diamond") {
4966
5050
  const s = Math.min(c.x, O.x), b = Math.min(c.y, O.y), C = Math.abs(O.x - c.x), E = Math.abs(O.y - c.y);
4967
- C > 0 && E > 0 && f(
5051
+ C > 0 && E > 0 && u(
4968
5052
  be({
4969
5053
  id: Date.now().toString(),
4970
5054
  type: "diamond",
@@ -4981,7 +5065,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4981
5065
  const s = c.x, b = c.y, C = Math.sqrt(
4982
5066
  Math.pow(O.x - c.x, 2) + Math.pow(O.y - c.y, 2)
4983
5067
  );
4984
- C > 0 && f(
5068
+ C > 0 && u(
4985
5069
  be({
4986
5070
  id: Date.now().toString(),
4987
5071
  type: "star",
@@ -4997,7 +5081,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
4997
5081
  const s = c.x, b = c.y, C = Math.sqrt(
4998
5082
  Math.pow(O.x - c.x, 2) + Math.pow(O.y - c.y, 2)
4999
5083
  );
5000
- C > 0 && f(
5084
+ C > 0 && u(
5001
5085
  be({
5002
5086
  id: Date.now().toString(),
5003
5087
  type: "heart",
@@ -5011,7 +5095,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
5011
5095
  );
5012
5096
  } else if (m === "hexagon") {
5013
5097
  const s = Math.min(c.x, O.x), b = Math.min(c.y, O.y), C = Math.abs(O.x - c.x), E = Math.abs(O.y - c.y);
5014
- C > 0 && E > 0 && f(
5098
+ C > 0 && E > 0 && u(
5015
5099
  be({
5016
5100
  id: Date.now().toString(),
5017
5101
  type: "hexagon",
@@ -5026,7 +5110,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
5026
5110
  );
5027
5111
  } else if (m === "octagon") {
5028
5112
  const s = Math.min(c.x, O.x), b = Math.min(c.y, O.y), C = Math.abs(O.x - c.x), E = Math.abs(O.y - c.y);
5029
- C > 0 && E > 0 && f(
5113
+ C > 0 && E > 0 && u(
5030
5114
  be({
5031
5115
  id: Date.now().toString(),
5032
5116
  type: "octagon",
@@ -5041,7 +5125,7 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
5041
5125
  );
5042
5126
  } else if (m === "arrow") {
5043
5127
  const s = O.x - c.x, b = O.y - c.y;
5044
- Math.sqrt(s * s + b * b) > 5 && f(
5128
+ Math.sqrt(s * s + b * b) > 5 && u(
5045
5129
  be({
5046
5130
  id: Date.now().toString(),
5047
5131
  type: "arrow",
@@ -5071,13 +5155,13 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
5071
5155
  onMouseLeave: Ot,
5072
5156
  onDoubleClick: (s) => {
5073
5157
  const C = l.current.getBoundingClientRect(), E = s.clientX - C.left, j = s.clientY - C.top, { x: P, y: i } = lt(E, j), v = st(P, i);
5074
- v && v.type === "text" && (D(v.id), _e({ x: v.x, y: v.y }), ce(v.text), ge(!0));
5158
+ v && v.type === "text" && (I(v.id), _e({ x: v.x, y: v.y }), ce(v.text), ge(!0));
5075
5159
  },
5076
5160
  onContextMenu: jt,
5077
5161
  style: { cursor: Pt() }
5078
5162
  }
5079
5163
  ),
5080
- M && /* @__PURE__ */ w.jsx(da, { text: n || ((Rt = t == null ? void 0 : t.lock) == null ? void 0 : Rt.text) || T.text }),
5164
+ M && /* @__PURE__ */ w.jsx(ga, { text: n || ((Rt = t == null ? void 0 : t.lock) == null ? void 0 : Rt.text) || T.text }),
5081
5165
  Ve && /* @__PURE__ */ w.jsx(
5082
5166
  "input",
5083
5167
  {
@@ -5085,20 +5169,20 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
5085
5169
  value: de,
5086
5170
  onChange: (s) => ce(s.target.value),
5087
5171
  onKeyDown: (s) => {
5088
- s.key === "Enter" && de.trim() ? (Oe && f(
5089
- It({
5172
+ s.key === "Enter" && de.trim() ? (Oe && u(
5173
+ Dt({
5090
5174
  id: Oe,
5091
5175
  updates: { text: de }
5092
5176
  })
5093
- ), ge(!1), ce(""), D(null)) : s.key === "Escape" && (ge(!1), ce(""), D(null));
5177
+ ), ge(!1), ce(""), I(null)) : s.key === "Escape" && (ge(!1), ce(""), I(null));
5094
5178
  },
5095
5179
  onBlur: () => {
5096
- de.trim() && Oe && f(
5097
- It({
5180
+ de.trim() && Oe && u(
5181
+ Dt({
5098
5182
  id: Oe,
5099
5183
  updates: { text: de }
5100
5184
  })
5101
- ), ge(!1), ce(""), D(null);
5185
+ ), ge(!1), ce(""), I(null);
5102
5186
  },
5103
5187
  onMouseDown: (s) => s.stopPropagation(),
5104
5188
  autoFocus: !0,
@@ -5119,14 +5203,15 @@ const xa = ({ onExport: e, onFitToView: t, mode: r }) => {
5119
5203
  }
5120
5204
  }
5121
5205
  ),
5122
- /* @__PURE__ */ w.jsx(xa, { onExport: Ft, onFitToView: mt, mode: h }),
5123
- /* @__PURE__ */ w.jsx(Ea, {}),
5124
- le.visible && /* @__PURE__ */ w.jsx(Bi, {})
5206
+ /* @__PURE__ */ w.jsx(Oa, { onExport: Ft, onFitToView: mt, mode: h }),
5207
+ /* @__PURE__ */ w.jsx(ja, {}),
5208
+ le.visible && /* @__PURE__ */ w.jsx(Ki, {})
5125
5209
  ] });
5126
- }), Oa = (e) => /* @__PURE__ */ w.jsx(Eo, { store: Xi, children: /* @__PURE__ */ w.jsx(Po, { children: /* @__PURE__ */ w.jsx(Sa, { ...e }) }) });
5210
+ }), Da = gn((e, t) => /* @__PURE__ */ w.jsx(Co, { store: Gi, children: /* @__PURE__ */ w.jsx(To, { children: /* @__PURE__ */ w.jsx(Pa, { ref: t, ...e }) }) }));
5127
5211
  export {
5128
- Sa as WhiteboardComponent,
5129
- Oa as default,
5130
- Xi as store,
5131
- Vi as whiteboardReducer
5212
+ Pa as WhiteboardComponent,
5213
+ Da as default,
5214
+ Gi as store,
5215
+ Ia as whiteboardActions,
5216
+ Xi as whiteboardReducer
5132
5217
  };