@chaibuilder/sdk 1.2.18 → 1.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/{AddBlocks-uCdu9Xpr.js → AddBlocks-VIWJkaHJ.js} +24 -25
  2. package/dist/AddBlocks-X9eh8OWJ.cjs +1 -0
  3. package/dist/{BrandingOptions-JbHRN7V5.js → BrandingOptions-5ss0k1nb.js} +12 -13
  4. package/dist/BrandingOptions-PzPdafIT.cjs +1 -0
  5. package/dist/CanvasArea-TTGqlBKO.js +908 -0
  6. package/dist/CanvasArea-hoyr4dfb.cjs +55 -0
  7. package/dist/CurrentPage-EddxgHU-.cjs +1 -0
  8. package/dist/{CurrentPage-AlOLPG4o.js → CurrentPage-a3T2uy8Q.js} +10 -12
  9. package/dist/ListTree-kergCZrw.js +126 -0
  10. package/dist/ListTree-tADrgsqZ.cjs +1 -0
  11. package/dist/Outline-3IHYlOzF.cjs +1 -0
  12. package/dist/Outline-rNFJGkap.js +294 -0
  13. package/dist/{PagesPanel-VbSQHEu_.js → PagesPanel-0bL28ofN.js} +5 -7
  14. package/dist/PagesPanel-B33hWN11.cjs +1 -0
  15. package/dist/ProjectPanel-qtRTXNOP.cjs +1 -0
  16. package/dist/{ProjectPanel-fqux215P.js → ProjectPanel-sBRkUXnY.js} +15 -17
  17. package/dist/{Settings-IhWI1ice.js → Settings-HgGe1ANj.js} +587 -554
  18. package/dist/Settings-rXxS3RGM.cjs +1 -0
  19. package/dist/{SidePanels-lMCXrchR.js → SidePanels-R_g9rSjP.js} +132 -134
  20. package/dist/SidePanels-aAm-2A3s.cjs +1 -0
  21. package/dist/{Topbar-DYiisBtw.js → Topbar-AUTKpVHO.js} +3 -4
  22. package/dist/Topbar-cXtxVswU.cjs +1 -0
  23. package/dist/TypeIcon-ElNNPazl.cjs +1 -0
  24. package/dist/TypeIcon-qO96rNbV.js +69 -0
  25. package/dist/{UnsplashImages-lGLcqo4M.js → UnsplashImages-1RFHZIte.js} +13 -14
  26. package/dist/UnsplashImages-p34UJJWJ.cjs +1 -0
  27. package/dist/UploadImages-CLfyNo1i.cjs +1 -0
  28. package/dist/{UploadImages-06m6vjbL.js → UploadImages-G2orrhmZ.js} +8 -9
  29. package/dist/{add-page-modal-mEbIXSKX.js → add-page-modal-DUthvJNJ.js} +7 -9
  30. package/dist/add-page-modal-KCy_Khfe.cjs +1 -0
  31. package/dist/confirm-alert-T8vimDRx.cjs +1 -0
  32. package/dist/{confirm-alert-YETlIRpE.js → confirm-alert-nk2WQHud.js} +3 -4
  33. package/dist/{controls-Dy1qa8Dc.cjs → controls-KK2oLIa8.cjs} +1 -1
  34. package/dist/{controls-XPXGHKht.js → controls-OfJWSEqC.js} +29 -28
  35. package/dist/core.cjs +1 -1
  36. package/dist/core.d.ts +2 -1
  37. package/dist/core.js +45 -47
  38. package/dist/defaultTheme-7Lk2zq60.cjs +1 -0
  39. package/dist/{defaultTheme-s0cpA5Oy.js → defaultTheme-gunU_Fe5.js} +31 -33
  40. package/dist/{delete-page-modal-J_SmPWrw.js → delete-page-modal-WvWRQUgU.js} +8 -10
  41. package/dist/delete-page-modal-_pFjWLJn.cjs +1 -0
  42. package/dist/email-blocks.cjs +1 -1
  43. package/dist/email-blocks.js +81 -81
  44. package/dist/email.cjs +1 -1
  45. package/dist/email.d.ts +2 -0
  46. package/dist/email.js +4 -6
  47. package/dist/{form-Y0Vb4m04.cjs → form-YnnWtUGk.cjs} +1 -1
  48. package/dist/{form-2xJcQs_Y.js → form-kXQX4L2W.js} +1 -1
  49. package/dist/{index-627XtO9e.js → index--Pt4B5bv.js} +3 -3
  50. package/dist/index-DeHH1q_1.cjs +1 -0
  51. package/dist/{index-3TQsdso6.cjs → index-JqRQZLN5.cjs} +1 -1
  52. package/dist/{index-LF3KXx4u.js → index-QIbDWoML.js} +8308 -8162
  53. package/dist/{index-ZwpjuB-N.cjs → index-e5cgISUO.cjs} +51 -51
  54. package/dist/{index-ZBqiaKhx.js → index-la4rqGKN.js} +802 -794
  55. package/dist/lib.cjs +1 -1
  56. package/dist/lib.js +1 -1
  57. package/dist/page-viewer-6phtctz6.cjs +1 -0
  58. package/dist/{page-viewer-7u0SWWmO.js → page-viewer-s_lHBVfx.js} +6 -8
  59. package/dist/project-general-setting-SaNOMXEl.cjs +1 -0
  60. package/dist/{project-general-setting-SqC85J7F.js → project-general-setting-gj4A0X5W.js} +7 -9
  61. package/dist/{project-seo-setting-TlQherop.js → project-seo-setting-aCPg-IIc.js} +5 -6
  62. package/dist/project-seo-setting-bMDdgKRZ.cjs +1 -0
  63. package/dist/render.cjs +1 -1
  64. package/dist/render.d.ts +10 -0
  65. package/dist/render.js +164 -78
  66. package/dist/{single-page-detail-ClZYIdSO.js → single-page-detail-TP-cxVIT.js} +36 -38
  67. package/dist/single-page-detail-er8i2FIF.cjs +1 -0
  68. package/dist/studio.cjs +1 -1
  69. package/dist/studio.d.ts +2 -0
  70. package/dist/studio.js +4 -6
  71. package/dist/ui.cjs +1 -1
  72. package/dist/ui.d.ts +1 -1
  73. package/dist/ui.js +130 -131
  74. package/dist/{useAddBlockByDrop-E343zoB3.cjs → useAddBlockByDrop-LSV8adwE.cjs} +1 -1
  75. package/dist/{useAddBlockByDrop-sPX4lN-O.js → useAddBlockByDrop-_vczk5o_.js} +1 -1
  76. package/dist/web-blocks.cjs +1 -1
  77. package/dist/web-blocks.js +1 -1
  78. package/package.json +4 -14
  79. package/dist/AddBlocks-5Q5w5lPJ.cjs +0 -1
  80. package/dist/BrandingOptions-xrGQI1Kn.cjs +0 -1
  81. package/dist/CanvasArea-aWzbzB9p.js +0 -1403
  82. package/dist/CanvasArea-oUIvLfdq.cjs +0 -60
  83. package/dist/CurrentPage-atmd8UrZ.cjs +0 -1
  84. package/dist/Outline-oGoAdnBw.js +0 -355
  85. package/dist/Outline-uMUTwN-R.cjs +0 -1
  86. package/dist/PagesPanel-nN3QUwXp.cjs +0 -1
  87. package/dist/ProjectPanel-UIEFhref.cjs +0 -1
  88. package/dist/Settings-8qUW0Iow.cjs +0 -1
  89. package/dist/SidePanels-cOHgPE9y.cjs +0 -1
  90. package/dist/Topbar-vLD-rWl5.cjs +0 -1
  91. package/dist/UnsplashImages-1JWfKlBc.cjs +0 -1
  92. package/dist/UploadImages-T4MYMOhW.cjs +0 -1
  93. package/dist/add-page-modal-niwhffYL.cjs +0 -1
  94. package/dist/confirm-alert-ZpEIxh3X.cjs +0 -1
  95. package/dist/defaultTheme-1XwPZT2b.cjs +0 -1
  96. package/dist/delete-page-modal-sOqRlmKb.cjs +0 -1
  97. package/dist/index-T3wfa1kz.cjs +0 -1
  98. package/dist/page-viewer-6UDraUKW.cjs +0 -1
  99. package/dist/project-general-setting-AW5Vtmgx.cjs +0 -1
  100. package/dist/project-seo-setting-cWiNZcxW.cjs +0 -1
  101. package/dist/single-page-detail-kJUW6FE9.cjs +0 -1
@@ -1,44 +1,43 @@
1
1
  import * as m from "react";
2
- import tt, { createContext as Ms, useContext as Ds, useRef as vr, createElement as yr, useReducer as Es, useEffect as Ce, useDebugValue as Os, useCallback as L, useMemo as Ls, useState as _e, Suspense as vt } from "react";
3
- import { has as pe, get as F, flatten as ne, filter as M, omit as Oe, isEmpty as ve, isString as Et, find as te, map as R, each as ue, set as Se, includes as q, isUndefined as Nr, without as Ot, forIn as Lt, isObject as zs, first as Q, noop as Vs, keys as $s, startsWith as zt, isNull as qe, pick as yt, sortBy as wt } from "lodash-es";
4
- import { g as ce, a as Fs } from "./Functions-7jnEwJyw.js";
5
- import { getBlockComponent as Le } from "@chaibuilder/runtime";
6
- import { atom as w, useAtomValue as X, useAtom as D, useSetAtom as Be } from "jotai";
7
- import Vt from "flat-to-nested";
8
- import { a as me, I as $t, S as Ke, B as Je } from "./MODIFIERS-WQdaNvb8.js";
9
- import { g as Us } from "./_commonjsHelpers-UyOWmZb0.js";
10
- import { useThrottledCallback as Ws } from "@react-hookz/web";
2
+ import et, { createContext as Is, useContext as Ms, useRef as gr, createElement as br, useReducer as Ds, useEffect as Ae, useDebugValue as Es, useCallback as L, useMemo as Os, useState as Ce, Suspense as vt } from "react";
3
+ import { has as pe, get as F, flatten as ne, filter as M, isString as Et, find as te, map as R, omit as tt, each as ue, set as je, includes as q, isUndefined as hr, without as Ot, isEmpty as Ee, forIn as Lt, isObject as Ls, first as Q, noop as zs, keys as Vs, startsWith as zt, isNull as He, pick as yt, sortBy as wt } from "lodash-es";
4
+ import { g as ce, a as $s } from "./Functions-7jnEwJyw.js";
5
+ import { getBlockComponent as Oe } from "@chaibuilder/runtime";
6
+ import { atom as w, useAtomValue as X, useAtom as D, useSetAtom as _e } from "jotai";
7
+ import { a as me, I as Vt, S as qe, B as Ke } from "./MODIFIERS-WQdaNvb8.js";
8
+ import { g as Fs } from "./_commonjsHelpers-UyOWmZb0.js";
9
+ import { useThrottledCallback as Us } from "@react-hookz/web";
11
10
  import { j as a } from "./jsx-runtime-WbnYoNE9.js";
12
- import * as Ft from "@radix-ui/react-toggle";
11
+ import * as $t from "@radix-ui/react-toggle";
13
12
  import { cva as ge } from "class-variance-authority";
14
- import { a as d, c as Ie } from "./Class-3k8xjeiM.js";
15
- import * as Ye from "@radix-ui/react-switch";
16
- import { Slot as Gs } from "@radix-ui/react-slot";
13
+ import { a as d, c as Pe } from "./Class-3k8xjeiM.js";
14
+ import * as Je from "@radix-ui/react-switch";
15
+ import { Slot as Ws } from "@radix-ui/react-slot";
17
16
  import * as fe from "@radix-ui/react-accordion";
18
- import { ChevronDownIcon as Hs, Cross2Icon as st, ChevronRightIcon as ot, CheckIcon as ze, DotFilledIcon as nt, CaretSortIcon as qs, MagnifyingGlassIcon as Ks } from "@radix-ui/react-icons";
17
+ import { ChevronDownIcon as Gs, Cross2Icon as st, ChevronRightIcon as ot, CheckIcon as Le, DotFilledIcon as nt, CaretSortIcon as Hs, MagnifyingGlassIcon as qs } from "@radix-ui/react-icons";
19
18
  import * as U from "@radix-ui/react-alert-dialog";
20
19
  import * as B from "@radix-ui/react-dialog";
21
- import * as Ut from "@radix-ui/react-label";
20
+ import * as Ft from "@radix-ui/react-label";
22
21
  import * as de from "@radix-ui/react-scroll-area";
23
22
  import * as be from "@radix-ui/react-tabs";
24
- import * as ye from "@radix-ui/react-tooltip";
25
- import * as Ae from "@radix-ui/react-popover";
23
+ import * as ve from "@radix-ui/react-tooltip";
24
+ import * as Se from "@radix-ui/react-popover";
26
25
  import * as C from "@radix-ui/react-menubar";
27
- import * as Ve from "@radix-ui/react-hover-card";
26
+ import * as ze from "@radix-ui/react-hover-card";
28
27
  import * as z from "@radix-ui/react-select";
29
28
  import * as T from "@radix-ui/react-dropdown-menu";
30
- import * as Wt from "@radix-ui/react-separator";
29
+ import * as Ut from "@radix-ui/react-separator";
31
30
  import * as Y from "@radix-ui/react-toast";
32
31
  import { Command as K } from "cmdk";
33
32
  import * as P from "@radix-ui/react-context-menu";
34
- import Js, { IconPickerItem as Ys } from "react-icons-picker";
35
- import Qs from "react-dom";
36
- import Xs from "react-quill";
33
+ import Ks, { IconPickerItem as Js } from "react-icons-picker";
34
+ import Ys from "react-dom";
35
+ import Qs from "react-quill";
37
36
  import "react-i18next";
38
37
  var V = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
39
- let Zs = 0;
38
+ let Xs = 0;
40
39
  function oe(e, t) {
41
- const s = `atom${++Zs}`, o = {
40
+ const s = `atom${++Xs}`, o = {
42
41
  toString: () => s
43
42
  };
44
43
  return typeof e == "function" ? o.read = e : (o.init = e, o.read = (n) => n(o), o.write = (n, i, r) => i(
@@ -46,21 +45,21 @@ function oe(e, t) {
46
45
  typeof r == "function" ? r(n(o)) : r
47
46
  )), t && (o.write = t), o;
48
47
  }
49
- const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new WeakMap(), eo = (e, t) => {
50
- Ee.set(e, t), e.catch(() => {
51
- }).finally(() => Ee.delete(e));
48
+ const $e = (e) => "init" in e, Fe = (e) => !!e.write, De = /* @__PURE__ */ new WeakMap(), Zs = (e, t) => {
49
+ De.set(e, t), e.catch(() => {
50
+ }).finally(() => De.delete(e));
52
51
  }, Nt = (e, t) => {
53
- const s = Ee.get(e);
54
- s && (Ee.delete(e), s(t));
52
+ const s = De.get(e);
53
+ s && (De.delete(e), s(t));
55
54
  }, kt = (e, t) => {
56
55
  e.status = "fulfilled", e.value = t;
57
56
  }, jt = (e, t) => {
58
57
  e.status = "rejected", e.reason = t;
59
- }, to = (e) => typeof (e == null ? void 0 : e.then) == "function", Ne = (e, t) => "v" in e && "v" in t && Object.is(e.v, t.v), St = (e, t) => "e" in e && "e" in t && Object.is(e.e, t.e), he = (e) => "v" in e && e.v instanceof Promise, so = (e, t) => "v" in e && "v" in t && e.v.orig && e.v.orig === t.v.orig, Pe = (e) => {
58
+ }, eo = (e) => typeof (e == null ? void 0 : e.then) == "function", we = (e, t) => "v" in e && "v" in t && Object.is(e.v, t.v), St = (e, t) => "e" in e && "e" in t && Object.is(e.e, t.e), he = (e) => "v" in e && e.v instanceof Promise, to = (e, t) => "v" in e && "v" in t && e.v.orig && e.v.orig === t.v.orig, Te = (e) => {
60
59
  if ("e" in e)
61
60
  throw e.e;
62
61
  return e.v;
63
- }, oo = () => {
62
+ }, so = () => {
64
63
  const e = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new Map();
65
64
  let o, n, i;
66
65
  (V ? "production" : void 0) !== "production" && (o = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set());
@@ -82,16 +81,16 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
82
81
  d: (b == null ? void 0 : b.d) || /* @__PURE__ */ new Map(),
83
82
  v: g
84
83
  };
85
- if (v && p(u, y, v), b && Ne(b, y) && b.d === y.d)
84
+ if (v && p(u, y, v), b && we(b, y) && b.d === y.d)
86
85
  return b;
87
- if (b && he(b) && he(y) && so(b, y)) {
86
+ if (b && he(b) && he(y) && to(b, y)) {
88
87
  if (b.d === y.d)
89
88
  return b;
90
89
  y.v = b.v;
91
90
  }
92
91
  return c(u, y), y;
93
92
  }, f = (u, g, v, b) => {
94
- if (to(g)) {
93
+ if (eo(g)) {
95
94
  let y;
96
95
  const h = new Promise((j, E) => {
97
96
  let S = !1;
@@ -125,7 +124,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
125
124
  ), j(_));
126
125
  };
127
126
  });
128
- return h.orig = g, h.status = "pending", eo(h, (j) => {
127
+ return h.orig = g, h.status = "pending", Zs(h, (j) => {
129
128
  j && y(j), b == null || b();
130
129
  }), l(u, h, v);
131
130
  }
@@ -143,7 +142,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
143
142
  }), Array.from(g.d).every(([S, _]) => {
144
143
  const A = r(S);
145
144
  return S === u || A === _ || // TODO This is a hack, we should find a better solution.
146
- A && !he(A) && Ne(A, _);
145
+ A && !he(A) && we(A, _);
147
146
  })))
148
147
  return g;
149
148
  const v = /* @__PURE__ */ new Map();
@@ -152,13 +151,13 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
152
151
  if (S === u) {
153
152
  const A = r(S);
154
153
  if (A)
155
- return v.set(S, A), Pe(A);
156
- if (Fe(S))
154
+ return v.set(S, A), Te(A);
155
+ if ($e(S))
157
156
  return v.set(S, void 0), S.init;
158
157
  throw new Error("no atom init");
159
158
  }
160
159
  const _ = N(S);
161
- return v.set(S, _), Pe(_);
160
+ return v.set(S, _), Te(_);
162
161
  };
163
162
  let h, j;
164
163
  const E = {
@@ -166,7 +165,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
166
165
  return h || (h = new AbortController()), h.signal;
167
166
  },
168
167
  get setSelf() {
169
- return (V ? "production" : void 0) !== "production" && !Ue(u) && console.warn("setSelf function cannot be used with read-only atom"), !j && Ue(u) && (j = (...S) => {
168
+ return (V ? "production" : void 0) !== "production" && !Fe(u) && console.warn("setSelf function cannot be used with read-only atom"), !j && Fe(u) && (j = (...S) => {
170
169
  if ((V ? "production" : void 0) !== "production" && b && console.warn("setSelf function cannot be called in sync"), !b)
171
170
  return $(u, ...S);
172
171
  }), j;
@@ -185,7 +184,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
185
184
  } finally {
186
185
  b = !1;
187
186
  }
188
- }, k = (u) => Pe(N(u)), I = (u) => {
187
+ }, k = (u) => Te(N(u)), I = (u) => {
189
188
  let g = t.get(u);
190
189
  return g || (g = Z(u)), g;
191
190
  }, O = (u, g) => !g.l.size && (!g.t.size || g.t.size === 1 && g.t.has(u)), W = (u) => {
@@ -211,8 +210,8 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
211
210
  if (_ && v.set(E, --_), !_) {
212
211
  let A = !!((S = g.get(E)) != null && S.size);
213
212
  if (A) {
214
- const ee = r(E), Is = N(E);
215
- A = !ee || !Ne(ee, Is);
213
+ const ee = r(E), Ps = N(E);
214
+ A = !ee || !we(ee, Ps);
216
215
  }
217
216
  A || g.forEach((ee) => ee.delete(E));
218
217
  }
@@ -223,17 +222,17 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
223
222
  y(u);
224
223
  }, H = (u, ...g) => {
225
224
  let v = !0;
226
- const b = (j) => Pe(N(j)), y = (j, ...E) => {
225
+ const b = (j) => Te(N(j)), y = (j, ...E) => {
227
226
  let S;
228
227
  if (j === u) {
229
- if (!Fe(j))
228
+ if (!$e(j))
230
229
  throw new Error("atom not writable");
231
230
  const _ = r(j), A = f(j, E[0]);
232
- (!_ || !Ne(_, A)) && G(j);
231
+ (!_ || !we(_, A)) && G(j);
233
232
  } else
234
233
  S = H(j, ...E);
235
234
  if (!v) {
236
- const _ = ae();
235
+ const _ = re();
237
236
  (V ? "production" : void 0) !== "production" && n.forEach(
238
237
  (A) => A({ type: "async-write", flushed: _ })
239
238
  );
@@ -242,7 +241,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
242
241
  }, h = u.write(b, y, ...g);
243
242
  return v = !1, h;
244
243
  }, $ = (u, ...g) => {
245
- const v = H(u, ...g), b = ae();
244
+ const v = H(u, ...g), b = re();
246
245
  return (V ? "production" : void 0) !== "production" && n.forEach(
247
246
  (y) => y({ type: "write", flushed: b })
248
247
  ), v;
@@ -254,7 +253,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
254
253
  if (t.set(u, v), (V ? "production" : void 0) !== "production" && i.add(u), N(u).d.forEach((b, y) => {
255
254
  const h = t.get(y);
256
255
  h ? h.t.add(u) : y !== u && Z(y, u);
257
- }), N(u), Ue(u) && u.onMount) {
256
+ }), N(u), Fe(u) && u.onMount) {
258
257
  const b = u.onMount((...y) => $(u, ...y));
259
258
  b && (v.u = b);
260
259
  }
@@ -283,7 +282,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
283
282
  const h = t.get(y);
284
283
  h ? h.t.add(u) : t.has(u) && Z(y, u);
285
284
  });
286
- }, ae = () => {
285
+ }, re = () => {
287
286
  let u;
288
287
  for ((V ? "production" : void 0) !== "production" && (u = /* @__PURE__ */ new Set()); s.size; ) {
289
288
  const g = Array.from(s);
@@ -294,15 +293,15 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
294
293
  const h = t.get(v);
295
294
  h && !// TODO This seems pretty hacky. Hope to fix it.
296
295
  // Maybe we could `mountDependencies` in `setAtomState`?
297
- (b && !he(b) && (Ne(b, y) || St(b, y))) && (h.l.forEach((j) => j()), (V ? "production" : void 0) !== "production" && u.add(v));
296
+ (b && !he(b) && (we(b, y) || St(b, y))) && (h.l.forEach((j) => j()), (V ? "production" : void 0) !== "production" && u.add(v));
298
297
  } else
299
298
  (V ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
300
299
  });
301
300
  }
302
301
  if ((V ? "production" : void 0) !== "production")
303
302
  return o.forEach((g) => g("state")), u;
304
- }, re = (u, g) => {
305
- const v = I(u), b = ae(), y = v.l;
303
+ }, ie = (u, g) => {
304
+ const v = I(u), b = re(), y = v.l;
306
305
  return y.add(g), (V ? "production" : void 0) !== "production" && (o.forEach((h) => h("sub")), n.forEach(
307
306
  (h) => h({ type: "sub", flushed: b })
308
307
  )), () => {
@@ -312,7 +311,7 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
312
311
  return (V ? "production" : void 0) !== "production" ? {
313
312
  get: k,
314
313
  set: $,
315
- sub: re,
314
+ sub: ie,
316
315
  // store dev methods (these are tentative and subject to change without notice)
317
316
  dev_subscribe_store: (u, g) => g !== 2 ? (console.warn(
318
317
  "The current StoreListener revision is 2. The older ones are deprecated."
@@ -326,8 +325,8 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
326
325
  dev_get_mounted: (u) => t.get(u),
327
326
  dev_restore_atoms: (u) => {
328
327
  for (const [v, b] of u)
329
- Fe(v) && (f(v, b), G(v));
330
- const g = ae();
328
+ $e(v) && (f(v, b), G(v));
329
+ const g = re();
331
330
  n.forEach(
332
331
  (v) => v({ type: "restore", flushed: g })
333
332
  );
@@ -335,17 +334,17 @@ const Fe = (e) => "init" in e, Ue = (e) => !!e.write, Ee = /* @__PURE__ */ new W
335
334
  } : {
336
335
  get: k,
337
336
  set: $,
338
- sub: re
337
+ sub: ie
339
338
  };
340
339
  };
341
- let We;
342
- const no = () => (We || (We = oo()), We);
343
- var ao = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
344
- const ro = Ms(void 0), Gt = (e) => {
345
- const t = Ds(ro);
346
- return (e == null ? void 0 : e.store) || t || no();
340
+ let Ue;
341
+ const oo = () => (Ue || (Ue = so()), Ue);
342
+ var no = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
343
+ const ao = Is(void 0), Wt = (e) => {
344
+ const t = Ms(ao);
345
+ return (e == null ? void 0 : e.store) || t || oo();
347
346
  };
348
- const io = (e) => typeof (e == null ? void 0 : e.then) == "function", lo = tt.use || ((e) => {
347
+ const ro = (e) => typeof (e == null ? void 0 : e.then) == "function", io = et.use || ((e) => {
349
348
  if (e.status === "pending")
350
349
  throw e;
351
350
  if (e.status === "fulfilled")
@@ -359,8 +358,8 @@ const io = (e) => typeof (e == null ? void 0 : e.then) == "function", lo = tt.us
359
358
  }
360
359
  ), e);
361
360
  });
362
- function co(e, t) {
363
- const s = Gt(t), [[o, n, i], r] = Es(
361
+ function lo(e, t) {
362
+ const s = Wt(t), [[o, n, i], r] = Ds(
364
363
  (l) => {
365
364
  const f = s.get(e);
366
365
  return Object.is(l[0], f) && l[1] === s && l[2] === e ? l : [f, s, e];
@@ -371,7 +370,7 @@ function co(e, t) {
371
370
  let c = o;
372
371
  (n !== s || i !== e) && (r(), c = s.get(e));
373
372
  const p = t == null ? void 0 : t.delay;
374
- return Ce(() => {
373
+ return Ae(() => {
375
374
  const l = s.sub(e, () => {
376
375
  if (typeof p == "number") {
377
376
  setTimeout(r, p);
@@ -380,34 +379,34 @@ function co(e, t) {
380
379
  r();
381
380
  });
382
381
  return r(), l;
383
- }, [s, e, p]), Os(c), io(c) ? lo(c) : c;
382
+ }, [s, e, p]), Es(c), ro(c) ? io(c) : c;
384
383
  }
385
- function uo(e, t) {
386
- const s = Gt(t);
384
+ function co(e, t) {
385
+ const s = Wt(t);
387
386
  return L(
388
387
  (...n) => {
389
- if ((ao ? "production" : void 0) !== "production" && !("write" in e))
388
+ if ((no ? "production" : void 0) !== "production" && !("write" in e))
390
389
  throw new Error("not writable atom");
391
390
  return s.set(e, ...n);
392
391
  },
393
392
  [s, e]
394
393
  );
395
394
  }
396
- function Vr(e, t) {
395
+ function Dr(e, t) {
397
396
  return [
398
- co(e, t),
397
+ lo(e, t),
399
398
  // We do wrong type assertion here, which results in throwing an error.
400
- uo(e, t)
399
+ co(e, t)
401
400
  ];
402
401
  }
403
402
  var at = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
404
- const Ht = Symbol();
405
- const At = (e, t, s) => (t.has(s) ? t : t.set(s, e())).get(s), mo = /* @__PURE__ */ new WeakMap(), fo = (e, t, s) => {
406
- const o = At(() => /* @__PURE__ */ new WeakMap(), mo, t);
403
+ const Gt = Symbol();
404
+ const At = (e, t, s) => (t.has(s) ? t : t.set(s, e())).get(s), uo = /* @__PURE__ */ new WeakMap(), mo = (e, t, s) => {
405
+ const o = At(() => /* @__PURE__ */ new WeakMap(), uo, t);
407
406
  return At(e, o, s);
408
- }, po = {}, Ct = (e) => !!e.write, go = (e) => typeof e == "function";
409
- function bo(e, t) {
410
- return fo(
407
+ }, fo = {}, Ct = (e) => !!e.write, po = (e) => typeof e == "function";
408
+ function go(e, t) {
409
+ return mo(
411
410
  () => {
412
411
  const s = /* @__PURE__ */ new WeakMap(), o = (r, c) => {
413
412
  let p = s.get(r);
@@ -425,21 +424,21 @@ function bo(e, t) {
425
424
  const W = (H) => {
426
425
  const $ = H(n), Z = H(e), J = o(Z, $ == null ? void 0 : $.arr).keyList.indexOf(I);
427
426
  if (J < 0 || J >= Z.length) {
428
- const ae = r[o(r).keyList.indexOf(I)];
429
- if (ae)
430
- return ae;
427
+ const re = r[o(r).keyList.indexOf(I)];
428
+ if (re)
429
+ return re;
431
430
  throw new Error("splitAtom: index out of bounds for read");
432
431
  }
433
432
  return Z[J];
434
433
  }, G = (H, $, Z) => {
435
- const le = H(n), J = H(e), re = o(J, le == null ? void 0 : le.arr).keyList.indexOf(I);
436
- if (re < 0 || re >= J.length)
434
+ const le = H(n), J = H(e), ie = o(J, le == null ? void 0 : le.arr).keyList.indexOf(I);
435
+ if (ie < 0 || ie >= J.length)
437
436
  throw new Error("splitAtom: index out of bounds for write");
438
- const u = go(Z) ? Z(J[re]) : Z;
437
+ const u = po(Z) ? Z(J[ie]) : Z;
439
438
  $(e, [
440
- ...J.slice(0, re),
439
+ ...J.slice(0, ie),
441
440
  u,
442
- ...J.slice(re + 1)
441
+ ...J.slice(ie + 1)
443
442
  ]);
444
443
  };
445
444
  f[k] = Ct(e) ? oe(W, G) : oe(W);
@@ -500,10 +499,10 @@ function bo(e, t) {
500
499
  return i;
501
500
  },
502
501
  e,
503
- t || po
502
+ t || fo
504
503
  );
505
504
  }
506
- function $r(e) {
505
+ function Er(e) {
507
506
  const t = Symbol(), s = oe(t);
508
507
  (at ? "production" : void 0) !== "production" && (s.debugPrivate = !0);
509
508
  const o = oe(
@@ -512,7 +511,7 @@ function $r(e) {
512
511
  return r !== t ? r : e(n, i);
513
512
  },
514
513
  (n, i, r) => {
515
- if (r === Ht)
514
+ if (r === Gt)
516
515
  i(s, t);
517
516
  else if (typeof r == "function") {
518
517
  const c = n(o);
@@ -523,8 +522,8 @@ function $r(e) {
523
522
  );
524
523
  return o;
525
524
  }
526
- const xo = (e) => typeof (e == null ? void 0 : e.then) == "function";
527
- function ho(e) {
525
+ const bo = (e) => typeof (e == null ? void 0 : e.then) == "function";
526
+ function xo(e) {
528
527
  let t, s;
529
528
  const o = {
530
529
  getItem: (n, i) => {
@@ -540,7 +539,7 @@ function ho(e) {
540
539
  }
541
540
  return s;
542
541
  }, l = (c = (r = e()) == null ? void 0 : r.getItem(n)) != null ? c : null;
543
- return xo(l) ? l.then(p) : p(l);
542
+ return bo(l) ? l.then(p) : p(l);
544
543
  },
545
544
  setItem: (n, i) => {
546
545
  var r;
@@ -571,10 +570,10 @@ function ho(e) {
571
570
  };
572
571
  }), o;
573
572
  }
574
- const vo = ho(
573
+ const ho = xo(
575
574
  () => typeof window < "u" ? window.localStorage : void 0
576
575
  );
577
- function Re(e, t, s = vo, o) {
576
+ function Be(e, t, s = ho, o) {
578
577
  const n = o == null ? void 0 : o.unstable_getOnInit, i = oe(
579
578
  n ? s.getItem(e, t) : t
580
579
  );
@@ -586,37 +585,36 @@ function Re(e, t, s = vo, o) {
586
585
  (c) => c(i),
587
586
  (c, p, l) => {
588
587
  const f = typeof l == "function" ? l(c(i)) : l;
589
- return f === Ht ? (p(i, t), s.removeItem(e)) : f instanceof Promise ? f.then((x) => (p(i, x), s.setItem(e, x))) : (p(i, f), s.setItem(e, f));
588
+ return f === Gt ? (p(i, t), s.removeItem(e)) : f instanceof Promise ? f.then((x) => (p(i, x), s.setItem(e, x))) : (p(i, f), s.setItem(e, f));
590
589
  }
591
590
  );
592
591
  }
593
- const qt = w(null);
594
- qt.debugLabel = "chaiBuilderPropsAtom";
595
- const yo = w({});
596
- yo.debugLabel = "chaiExternalDataAtom";
597
- const Fr = () => !1, wo = (e) => {
592
+ const Ht = w(null);
593
+ Ht.debugLabel = "chaiBuilderPropsAtom";
594
+ const vo = w({});
595
+ vo.debugLabel = "chaiExternalDataAtom";
596
+ const Or = () => !1, yo = (e) => {
598
597
  const t = e.replace(me, "").split(",");
599
598
  return { baseClasses: t[0], classes: t[1] };
600
- }, Qe = (e, t) => {
599
+ }, Ye = (e, t) => {
601
600
  if (!e)
602
601
  return !0;
603
- const s = Le(e);
602
+ const s = Oe(e);
604
603
  return s && pe(s, "canAcceptBlock") ? s.canAcceptBlock(t) : !1;
605
- }, No = (e, t) => {
606
- const s = Le(t);
604
+ }, wo = (e, t) => {
605
+ const s = Oe(t);
607
606
  return s && pe(s, "canBeNested") ? s.canBeNested(e) : !0;
608
- }, Ur = (e) => {
609
- const t = Le(e);
607
+ }, Lr = (e) => {
608
+ const t = Oe(e);
610
609
  return t && pe(t, "canDuplicate") ? t.canDuplicate() : !0;
611
- }, Wr = (e) => {
612
- const t = Le(e);
610
+ }, zr = (e) => {
611
+ const t = Oe(e);
613
612
  return t && pe(t, "canDelete") ? t.canDelete() : !0;
614
- }, Gr = (e, { dragSource: t, dropTarget: s }) => {
613
+ }, Vr = (e, { dragSource: t, dropTarget: s }) => {
615
614
  const o = F(t, "data._type", ""), n = F(s, "data._type", "");
616
- return Qe(n, o);
615
+ return Ye(n, o);
617
616
  };
618
- const ko = new Vt({ children: "blockNodes" });
619
- function Kt(e, t, s) {
617
+ function qt(e, t, s) {
620
618
  const o = M(e, (i) => i._parent === t), n = [];
621
619
  for (let i = 0; i < o.length; i++) {
622
620
  const r = Jt(o[i]);
@@ -624,7 +622,7 @@ function Kt(e, t, s) {
624
622
  o[i][c] = `slot:${ce()}`;
625
623
  }), M(e, { _parent: o[i]._id }).length > 0) {
626
624
  const c = ce();
627
- n.push({ ...o[i], oldId: o[i]._id, _id: c, _parent: s }), n.push(ne(Kt(e, o[i]._id, c)));
625
+ n.push({ ...o[i], oldId: o[i]._id, _id: c, _parent: s }), n.push(ne(qt(e, o[i]._id, c)));
628
626
  } else
629
627
  n.push({
630
628
  ...o[i],
@@ -635,50 +633,64 @@ function Kt(e, t, s) {
635
633
  }
636
634
  return ne(n);
637
635
  }
638
- function jo(e) {
639
- let t = ko.convert(e.map((s) => Oe(s, ["settings"])));
640
- return t = !t.type && t.blockNodes ? t.blockNodes : ve(t) ? [] : [t], t;
636
+ function Kt(e) {
637
+ const t = {};
638
+ e.forEach((o) => {
639
+ t[o._id] = { ...o, children: [] };
640
+ });
641
+ const s = [];
642
+ return e.forEach((o) => {
643
+ if (o._parent) {
644
+ const n = t[o._parent];
645
+ n && n.children.push(t[o._id]);
646
+ } else
647
+ s.push(t[o._id]);
648
+ }), s;
641
649
  }
642
650
  const Jt = (e) => {
643
651
  const t = {};
644
652
  return Object.keys(e).forEach((s) => {
645
653
  Et(e[s]) && e[s].startsWith("slot") && (t[s] = e[s].replace("slot:", ""));
646
654
  }), t;
647
- }, So = (e, t, s = null) => {
655
+ }, No = (e, t, s = null) => {
648
656
  let o = te(e, { _id: t });
649
657
  o = { ...o, oldId: o._id, _id: ce() }, s && (o = { ...o, _parent: s });
650
658
  const n = [o];
651
- M(e, { _parent: t }).length > 0 && n.push(ne(Kt(e, t, o._id)));
659
+ M(e, { _parent: t }).length > 0 && n.push(ne(qt(e, t, o._id)));
652
660
  const i = ne(n);
653
661
  return R(i, (r) => {
654
662
  const c = r, p = Jt(c);
655
663
  return Object.keys(p).length > 0 && Object.keys(p).forEach((l) => {
656
664
  const f = te(i, { oldId: p[l].replace("slot:", "") });
657
665
  c[l] = `slot:${f._id}`;
658
- }), Oe(c, ["global", "oldId"]);
666
+ }), tt(c, ["global", "oldId"]);
659
667
  });
660
668
  };
661
- const ie = w([]);
662
- ie.debugLabel = "presentBlocksAtom";
663
- const rt = bo(ie);
669
+ const ae = w([]);
670
+ ae.debugLabel = "presentBlocksAtom";
671
+ const ko = w((e) => {
672
+ const t = e(ae);
673
+ return Kt([...t]);
674
+ });
675
+ ko.debugLabel = "treeDSBlocks";
676
+ ae.debugLabel = "presentBlocksAtom";
677
+ const rt = go(ae);
664
678
  rt.debugLabel = "pageBlocksAtomsAtom";
665
- const Ao = w((e) => jo(e(ie)));
666
- Ao.debugLabel = "pageBlocksTreeAtom";
667
- const Co = w("");
668
- Co.debugLabel = "builderActivePageAtom";
669
- const _o = w(-1);
670
- _o.debugLabel = "destinationDropIndexAtom";
679
+ const jo = w("");
680
+ jo.debugLabel = "builderActivePageAtom";
681
+ const So = w(-1);
682
+ So.debugLabel = "destinationDropIndexAtom";
671
683
  const Yt = w([]);
672
684
  Yt.debugLabel = "buildingBlocksAtom";
673
- const Bo = w((e) => {
685
+ const Ao = w((e) => {
674
686
  const t = e(Yt);
675
687
  return M(t, (s) => pe(s, "blockId"));
676
688
  });
677
- Bo.debugLabel = "globalBlocksAtom";
689
+ Ao.debugLabel = "globalBlocksAtom";
678
690
  const it = w([]);
679
691
  it.debugLabel = "selectedBlockIdsAtom";
680
692
  const lt = w((e) => {
681
- const t = e(ie), s = e(it);
693
+ const t = e(ae), s = e(it);
682
694
  return R(
683
695
  M(t, ({ _id: o }) => q(s, o)),
684
696
  (o) => ({ ...o })
@@ -693,24 +705,24 @@ const ct = w((e) => {
693
705
  };
694
706
  });
695
707
  ct.debugLabel = "selectedBlockAtom";
696
- const Ro = (e) => F(e, "parent", null), To = w((e) => {
697
- const t = e(lt), s = R(t, Ro);
698
- return M(e(ie), (o) => q(s, o._id));
708
+ const Co = (e) => F(e, "parent", null), _o = w((e) => {
709
+ const t = e(lt), s = R(t, Co);
710
+ return M(e(ae), (o) => q(s, o._id));
699
711
  });
700
- To.debugLabel = "selectedBlocksParentsAtom";
712
+ _o.debugLabel = "selectedBlocksParentsAtom";
701
713
  const Qt = w(() => !1);
702
714
  Qt.debugLabel = "selectedBlockFlexChildAtom";
703
715
  const Xt = w(() => !1);
704
716
  Xt.debugLabel = "selectedBlockGridChildAtom";
705
717
  const dt = w("");
706
718
  dt.debugLabel = "styleStateAtom";
707
- const Zt = Re("styleBreakpoint", "xs");
719
+ const Zt = Be("styleBreakpoint", "xs");
708
720
  Zt.debugLabel = "styleBreakpointAtom";
709
- const Hr = () => ({
721
+ const $r = () => ({
710
722
  flexChild: X(Qt),
711
723
  gridChild: X(Xt)
712
- }), qr = () => X(ct);
713
- const $e = () => {
724
+ }), Fr = () => X(ct);
725
+ const Ve = () => {
714
726
  const [e, t] = D(it), s = L(
715
727
  (o) => {
716
728
  t((n) => q(n, o) ? Ot(n, o) : [...n, o]);
@@ -776,7 +788,7 @@ const $e = () => {
776
788
  if (q(["slot", "styles"], p.type))
777
789
  return;
778
790
  const l = c;
779
- r.items.properties[l] = Bt(p), Se(r.items, "title", F(p, "itemTitle", `${i} item`));
791
+ r.items.properties[l] = Bt(p), je(r.items, "title", F(p, "itemTitle", `${i} item`));
780
792
  }), r;
781
793
  default:
782
794
  return {};
@@ -786,36 +798,36 @@ const $e = () => {
786
798
  return {};
787
799
  const t = {};
788
800
  return Object.keys(e).forEach((s) => {
789
- t[s] = Io(e[s]);
801
+ t[s] = Ro(e[s]);
790
802
  }), t;
791
- }, Po = (e) => {
792
- if (ve(e.default))
803
+ }, Bo = (e) => {
804
+ if (Ee(e.default))
793
805
  return [];
794
806
  const { itemProperties: t } = e;
795
807
  return R(e.default, (s) => {
796
808
  const o = { ...s };
797
809
  return Lt(s, (n, i) => {
798
- pe(t, i) && F(t[i], "i18n", !1) && (o[i] = $t);
810
+ pe(t, i) && F(t[i], "i18n", !1) && (o[i] = Vt);
799
811
  }), o;
800
812
  });
801
- }, Io = (e) => {
813
+ }, Ro = (e) => {
802
814
  switch (e.type) {
803
815
  case "styles":
804
816
  return e.default;
805
817
  case "slot":
806
- return `${Ke}${ce()}`;
818
+ return `${qe}${ce()}`;
807
819
  case "singular":
808
820
  const { i18n: t, schema: s } = e;
809
- return t ? $t : F(s, "default", "");
821
+ return t ? Vt : F(s, "default", "");
810
822
  case "model":
811
823
  return es(e.properties);
812
824
  case "list":
813
- return Po(e);
825
+ return Bo(e);
814
826
  default:
815
827
  return "";
816
828
  }
817
829
  };
818
- var ut = { exports: {} }, Kr = ut.exports;
830
+ var ut = { exports: {} }, Ur = ut.exports;
819
831
  (function(e) {
820
832
  (function() {
821
833
  "use strict";
@@ -920,17 +932,16 @@ var ut = { exports: {} }, Kr = ut.exports;
920
932
  e.exports ? e.exports = s : window.UndoManager = s;
921
933
  })();
922
934
  })(ut);
923
- var Mo = ut.exports;
924
- const Do = /* @__PURE__ */ Us(Mo), Eo = w(Je), Oo = w(null), ts = () => {
925
- const [e, t] = D(Eo);
935
+ var To = ut.exports;
936
+ const Po = /* @__PURE__ */ Fs(To), Io = w(Ke), Mo = w(null), ts = () => {
937
+ const [e, t] = D(Io);
926
938
  return [
927
- zs(e) ? { ...Je, ...e } : Je,
939
+ Ls(e) ? { ...Ke, ...e } : Ke,
928
940
  t
929
941
  ];
930
- }, Jr = () => D(Oo), Lo = w(null), zo = () => ({ currentPage: X(Lo) }), ss = new Vt({});
931
- function Vo(e) {
932
- let t = ss.convert(e);
933
- return t = !t.type && t.children && t.children.length ? t.children : ve(t) ? [] : [t], t;
942
+ }, Wr = () => D(Mo), Do = w(null), Eo = () => ({ currentPage: X(Do) });
943
+ function Oo(e) {
944
+ return Kt(e);
934
945
  }
935
946
  const mt = (e, t) => ne(
936
947
  e.map((s) => {
@@ -952,63 +963,62 @@ function ft(e, t = !1) {
952
963
  } : o.children && o.children.length && ft(o.children);
953
964
  }
954
965
  }
955
- function os(e) {
966
+ function ss(e) {
956
967
  let t = [], s = M(e, { type: "GlobalBlock" });
957
- return s.length > 0 && (s = R(s, ns), ue(s, (o) => {
958
- t = [...t, ...$o(o)];
968
+ return s.length > 0 && (s = R(s, os), ue(s, (o) => {
969
+ t = [...t, ...Lo(o)];
959
970
  })), t;
960
971
  }
961
- function $o(e) {
972
+ function Lo(e) {
962
973
  let t = [];
963
974
  const s = F(Q(e), "parent", null);
964
- Se(Q(e), "parent", null);
965
- const o = [ss.convert(as(e))];
975
+ je(Q(e), "parent", null);
976
+ const o = [flatToNestedInstance.convert(ns(e))];
966
977
  ft(o, !0);
967
978
  let n = mt(o, e[0]._id);
968
- return n = Se(n, "0.parent", s), t = [...t, n, ...os(n)], t;
979
+ return n = je(n, "0.parent", s), t = [...t, n, ...ss(n)], t;
969
980
  }
970
- function ns(e) {
971
- const t = te(Xe, { _id: e._id });
981
+ function os(e) {
982
+ const t = te(Qe, { _id: e._id });
972
983
  if (!t)
973
984
  return [];
974
- const s = [t], o = M(Xe, { _parent: e._id });
975
- return o.length ? ne([...s, ...ne(R(o, ns))]) : ne(s);
985
+ const s = [t], o = M(Qe, { _parent: e._id });
986
+ return o.length ? ne([...s, ...ne(R(o, os))]) : ne(s);
976
987
  }
977
- const as = (e) => JSON.parse(JSON.stringify(e));
978
- let Xe = [];
979
- function Fo(e) {
980
- Xe = e;
981
- const t = Vo(as(e));
988
+ const ns = (e) => JSON.parse(JSON.stringify(e));
989
+ let Qe = [];
990
+ function zo(e) {
991
+ Qe = e;
992
+ const t = Oo(ns(e));
982
993
  ft(t);
983
- const s = mt(t, null), o = os(s), n = {};
984
- return ue(o, (i) => Se(n, Q(i).blockId, i)), [s, n];
994
+ const s = mt(t, null), o = ss(s), n = {};
995
+ return ue(o, (i) => je(n, Q(i).blockId, i)), [s, n];
985
996
  }
986
- const Uo = () => {
987
- const [e] = ts(), { currentPage: t } = zo(), [s] = we();
997
+ const Vo = () => {
998
+ const [e] = ts(), { currentPage: t } = Eo(), [s] = ye();
988
999
  return L(() => {
989
1000
  const o = R(
990
1001
  s,
991
- (r) => Oe(r, ["expanded", "order", "title", "siblings", "tempClasses"])
992
- ), [n = [], i = []] = Fo(o);
1002
+ (i) => tt(i, ["expanded", "order", "title", "siblings", "tempClasses"])
1003
+ ), [n = []] = zo(o);
993
1004
  return {
994
1005
  currentPage: t,
995
- blocks: n,
996
- globalBlocks: i
1006
+ blocks: n
997
1007
  };
998
1008
  }, [e, t, s]);
999
- }, ke = (e, t = void 0) => {
1000
- const s = X(qt);
1009
+ }, Ne = (e, t = void 0) => {
1010
+ const s = X(Ht);
1001
1011
  return F(s, e, t);
1002
- }, rs = w([]);
1003
- rs.debugLabel = "dataProvidersAtom";
1004
- const Wo = () => D(rs), pt = w("SAVED");
1012
+ }, as = w([]);
1013
+ as.debugLabel = "dataProvidersAtom";
1014
+ const $o = () => D(as), pt = w("SAVED");
1005
1015
  pt.debugLabel = "pageSyncStateAtom";
1006
- const Yr = () => {
1007
- const [e, t] = D(pt), s = ke("onSavePage", async (l) => {
1008
- }), o = ke("onSave", async (l) => {
1009
- }), n = ke("onSyncStatusChange", (l) => {
1010
- }), i = Uo(), [r] = Wo(), [c] = ts();
1011
- return { savePage: Ws(
1016
+ const Gr = () => {
1017
+ const [e, t] = D(pt), s = Ne("onSavePage", async (l) => {
1018
+ }), o = Ne("onSave", async (l) => {
1019
+ }), n = Ne("onSyncStatusChange", (l) => {
1020
+ }), i = Vo(), [r] = $o(), [c] = ts();
1021
+ return { savePage: Us(
1012
1022
  async () => {
1013
1023
  t("SAVING"), n("SAVING");
1014
1024
  const l = i();
@@ -1020,12 +1030,12 @@ const Yr = () => {
1020
1030
  5e3
1021
1031
  // save only every 5 seconds
1022
1032
  ), syncState: e, setSyncState: t };
1023
- }, se = new Do();
1033
+ }, se = new Po();
1024
1034
  se.setLimit(50);
1025
- const is = () => {
1035
+ const rs = () => {
1026
1036
  const [, e] = D(pt);
1027
- return Ce(() => (se.setCallback(() => e("UNSAVED")), () => {
1028
- se.setCallback(Vs);
1037
+ return Ae(() => (se.setCallback(() => e("UNSAVED")), () => {
1038
+ se.setCallback(zs);
1029
1039
  }), []), {
1030
1040
  add: se.add,
1031
1041
  undo: se.undo,
@@ -1036,9 +1046,9 @@ const is = () => {
1036
1046
  };
1037
1047
  }, gt = (e, t) => {
1038
1048
  const s = [], o = M(e, (n) => q(t, n._id) || q(t, n._parent) ? (s.push(n._id), !1) : !0);
1039
- return ve(s) ? o : gt(o, s);
1040
- }, Qr = () => {
1041
- const [e] = we(), [t, s] = $e(), { setNewBlocks: o } = xe();
1049
+ return Ee(s) ? o : gt(o, s);
1050
+ }, Hr = () => {
1051
+ const [e] = ye(), [t, s] = Ve(), { setNewBlocks: o } = xe();
1042
1052
  return L(
1043
1053
  (n) => {
1044
1054
  var r;
@@ -1048,7 +1058,7 @@ const is = () => {
1048
1058
  [e, s, t]
1049
1059
  );
1050
1060
  };
1051
- function Go(e, t, s, o) {
1061
+ function Fo(e, t, s, o) {
1052
1062
  let n = e.filter((c) => !c._parent);
1053
1063
  s && (n = e.filter((c) => c._parent === s));
1054
1064
  const i = o !== void 0 ? o : n.length;
@@ -1063,14 +1073,14 @@ function Go(e, t, s, o) {
1063
1073
  }
1064
1074
  return !s && o !== void 0 && o >= n.length && (r = e.length), [...e.slice(0, r), ...t, ...e.slice(r)];
1065
1075
  }
1066
- const Ho = () => {
1067
- const [, e] = we();
1076
+ const Uo = () => {
1077
+ const [, e] = ye();
1068
1078
  return {
1069
1079
  setNewBlocks: (t) => {
1070
1080
  e(t);
1071
1081
  },
1072
1082
  addBlocks: (t, s, o) => {
1073
- e((n) => Go(n, t, s, o));
1083
+ e((n) => Fo(n, t, s, o));
1074
1084
  },
1075
1085
  removeBlocks: (t) => {
1076
1086
  e((s) => gt(s, t));
@@ -1081,20 +1091,20 @@ const Ho = () => {
1081
1091
  return s.map((n) => {
1082
1092
  if (o.includes(n._id)) {
1083
1093
  const i = te(t, { _id: n._id });
1084
- return { ...n, ...Oe(i, "_id") };
1094
+ return { ...n, ...tt(i, "_id") };
1085
1095
  }
1086
1096
  return n;
1087
1097
  });
1088
1098
  });
1089
1099
  }
1090
1100
  };
1091
- }, we = () => D(ie), xe = () => {
1092
- const { add: e } = is(), [t] = we(), {
1101
+ }, ye = () => D(ae), xe = () => {
1102
+ const { add: e } = rs(), [t] = ye(), {
1093
1103
  setNewBlocks: s,
1094
1104
  addBlocks: o,
1095
1105
  removeBlocks: n,
1096
1106
  updateBlocksProps: i
1097
- } = Ho();
1107
+ } = Uo();
1098
1108
  return {
1099
1109
  addBlocks: (x, N, k) => {
1100
1110
  o(x, N, k), e({
@@ -1115,7 +1125,7 @@ const Ho = () => {
1115
1125
  if (k)
1116
1126
  I = R(x, (O) => ({ _id: O, ...k }));
1117
1127
  else {
1118
- const O = $s(N);
1128
+ const O = Vs(N);
1119
1129
  I = R(x, (W) => {
1120
1130
  const G = t.find(($) => $._id === W), H = { _id: W };
1121
1131
  return ue(O, ($) => H[$] = G[$]), H;
@@ -1136,7 +1146,7 @@ const Ho = () => {
1136
1146
  });
1137
1147
  }
1138
1148
  };
1139
- }, qo = ge(
1149
+ }, Wo = ge(
1140
1150
  "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
1141
1151
  {
1142
1152
  variants: {
@@ -1155,10 +1165,10 @@ const Ho = () => {
1155
1165
  size: "default"
1156
1166
  }
1157
1167
  }
1158
- ), Ko = m.forwardRef(({ className: e, variant: t, size: s, ...o }, n) => /* @__PURE__ */ a.jsx(Ft.Root, { ref: n, className: d(qo({ variant: t, size: s, className: e })), ...o }));
1159
- Ko.displayName = Ft.Root.displayName;
1160
- const Jo = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1161
- Ye.Root,
1168
+ ), Go = m.forwardRef(({ className: e, variant: t, size: s, ...o }, n) => /* @__PURE__ */ a.jsx($t.Root, { ref: n, className: d(Wo({ variant: t, size: s, className: e })), ...o }));
1169
+ Go.displayName = $t.Root.displayName;
1170
+ const Ho = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1171
+ Je.Root,
1162
1172
  {
1163
1173
  className: d(
1164
1174
  "peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",
@@ -1167,7 +1177,7 @@ const Jo = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1167
1177
  ...t,
1168
1178
  ref: s,
1169
1179
  children: /* @__PURE__ */ a.jsx(
1170
- Ye.Thumb,
1180
+ Je.Thumb,
1171
1181
  {
1172
1182
  className: d(
1173
1183
  "pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950"
@@ -1176,7 +1186,7 @@ const Jo = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1176
1186
  )
1177
1187
  }
1178
1188
  ));
1179
- Jo.displayName = Ye.Root.displayName;
1189
+ Ho.displayName = Je.Root.displayName;
1180
1190
  const bt = ge(
1181
1191
  "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
1182
1192
  {
@@ -1201,16 +1211,16 @@ const bt = ge(
1201
1211
  size: "default"
1202
1212
  }
1203
1213
  }
1204
- ), Yo = m.forwardRef(
1214
+ ), qo = m.forwardRef(
1205
1215
  ({ className: e, variant: t, size: s, asChild: o = !1, ...n }, i) => {
1206
- const r = o ? Gs : "button";
1216
+ const r = o ? Ws : "button";
1207
1217
  return /* @__PURE__ */ a.jsx(r, { className: d(bt({ variant: t, size: s, className: e })), ref: i, ...n });
1208
1218
  }
1209
1219
  );
1210
- Yo.displayName = "Button";
1211
- const Xr = fe.Root, Qo = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(fe.Item, { ref: s, className: d("border-b", e), ...t }));
1212
- Qo.displayName = "AccordionItem";
1213
- const Xo = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(fe.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
1220
+ qo.displayName = "Button";
1221
+ const qr = fe.Root, Ko = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(fe.Item, { ref: s, className: d("border-b", e), ...t }));
1222
+ Ko.displayName = "AccordionItem";
1223
+ const Jo = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(fe.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
1214
1224
  fe.Trigger,
1215
1225
  {
1216
1226
  ref: o,
@@ -1221,12 +1231,12 @@ const Xo = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1221
1231
  ...s,
1222
1232
  children: [
1223
1233
  t,
1224
- /* @__PURE__ */ a.jsx(Hs, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
1234
+ /* @__PURE__ */ a.jsx(Gs, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
1225
1235
  ]
1226
1236
  }
1227
1237
  ) }));
1228
- Xo.displayName = fe.Trigger.displayName;
1229
- const Zo = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1238
+ Jo.displayName = fe.Trigger.displayName;
1239
+ const Yo = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1230
1240
  fe.Content,
1231
1241
  {
1232
1242
  ref: o,
@@ -1238,8 +1248,8 @@ const Zo = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1238
1248
  children: /* @__PURE__ */ a.jsx("div", { className: "pb-4 pt-0", children: t })
1239
1249
  }
1240
1250
  ));
1241
- Zo.displayName = fe.Content.displayName;
1242
- const en = ge(
1251
+ Yo.displayName = fe.Content.displayName;
1252
+ const Qo = ge(
1243
1253
  "relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
1244
1254
  {
1245
1255
  variants: {
@@ -1252,17 +1262,17 @@ const en = ge(
1252
1262
  variant: "default"
1253
1263
  }
1254
1264
  }
1255
- ), tn = m.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx("div", { ref: o, role: "alert", className: d(en({ variant: t }), e), ...s }));
1256
- tn.displayName = "Alert";
1257
- const sn = m.forwardRef(
1265
+ ), Xo = m.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx("div", { ref: o, role: "alert", className: d(Qo({ variant: t }), e), ...s }));
1266
+ Xo.displayName = "Alert";
1267
+ const Zo = m.forwardRef(
1258
1268
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("h5", { ref: s, className: d("mb-1 font-medium leading-none tracking-tight", e), ...t })
1259
1269
  );
1260
- sn.displayName = "AlertTitle";
1261
- const on = m.forwardRef(
1270
+ Zo.displayName = "AlertTitle";
1271
+ const en = m.forwardRef(
1262
1272
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("text-sm [&_p]:leading-relaxed", e), ...t })
1263
1273
  );
1264
- on.displayName = "AlertDescription";
1265
- const nn = ge(
1274
+ en.displayName = "AlertDescription";
1275
+ const tn = ge(
1266
1276
  "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
1267
1277
  {
1268
1278
  variants: {
@@ -1277,9 +1287,9 @@ const nn = ge(
1277
1287
  variant: "default"
1278
1288
  }
1279
1289
  }
1280
- ), Zr = ({ className: e, variant: t, ...s }) => /* @__PURE__ */ a.jsx("div", { className: d(nn({ variant: t }), e), ...s }), ei = U.Root, ti = U.Trigger, ls = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(U.Portal, { className: d(e), ...t });
1281
- ls.displayName = U.Portal.displayName;
1282
- const cs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1290
+ ), Kr = ({ className: e, variant: t, ...s }) => /* @__PURE__ */ a.jsx("div", { className: d(tn({ variant: t }), e), ...s }), Jr = U.Root, Yr = U.Trigger, is = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(U.Portal, { className: d(e), ...t });
1291
+ is.displayName = U.Portal.displayName;
1292
+ const ls = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1283
1293
  U.Overlay,
1284
1294
  {
1285
1295
  className: d(
@@ -1290,9 +1300,9 @@ const cs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1290
1300
  ref: s
1291
1301
  }
1292
1302
  ));
1293
- cs.displayName = U.Overlay.displayName;
1294
- const an = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(ls, { children: [
1295
- /* @__PURE__ */ a.jsx(cs, {}),
1303
+ ls.displayName = U.Overlay.displayName;
1304
+ const sn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(is, { children: [
1305
+ /* @__PURE__ */ a.jsx(ls, {}),
1296
1306
  /* @__PURE__ */ a.jsx(
1297
1307
  U.Content,
1298
1308
  {
@@ -1305,18 +1315,18 @@ const an = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(ls
1305
1315
  }
1306
1316
  )
1307
1317
  ] }));
1308
- an.displayName = U.Content.displayName;
1309
- const rn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
1310
- rn.displayName = "AlertDialogHeader";
1311
- const ln = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1312
- ln.displayName = "AlertDialogFooter";
1313
- const cn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Title, { ref: s, className: d("text-lg font-semibold", e), ...t }));
1314
- cn.displayName = U.Title.displayName;
1315
- const dn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1316
- dn.displayName = U.Description.displayName;
1317
- const un = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Action, { ref: s, className: d(bt(), e), ...t }));
1318
- un.displayName = U.Action.displayName;
1319
- const mn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1318
+ sn.displayName = U.Content.displayName;
1319
+ const on = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
1320
+ on.displayName = "AlertDialogHeader";
1321
+ const nn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1322
+ nn.displayName = "AlertDialogFooter";
1323
+ const an = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Title, { ref: s, className: d("text-lg font-semibold", e), ...t }));
1324
+ an.displayName = U.Title.displayName;
1325
+ const rn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1326
+ rn.displayName = U.Description.displayName;
1327
+ const ln = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Action, { ref: s, className: d(bt(), e), ...t }));
1328
+ ln.displayName = U.Action.displayName;
1329
+ const cn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1320
1330
  U.Cancel,
1321
1331
  {
1322
1332
  ref: s,
@@ -1324,10 +1334,10 @@ const mn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1324
1334
  ...t
1325
1335
  }
1326
1336
  ));
1327
- mn.displayName = U.Cancel.displayName;
1328
- const ds = B.Root, fn = B.Trigger, us = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(B.Portal, { className: d(e), ...t });
1329
- us.displayName = B.Portal.displayName;
1330
- const ms = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1337
+ cn.displayName = U.Cancel.displayName;
1338
+ const cs = B.Root, dn = B.Trigger, ds = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(B.Portal, { className: d(e), ...t });
1339
+ ds.displayName = B.Portal.displayName;
1340
+ const us = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1331
1341
  B.Overlay,
1332
1342
  {
1333
1343
  ref: s,
@@ -1338,9 +1348,9 @@ const ms = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1338
1348
  ...t
1339
1349
  }
1340
1350
  ));
1341
- ms.displayName = B.Overlay.displayName;
1342
- const xt = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(us, { children: [
1343
- /* @__PURE__ */ a.jsx(ms, {}),
1351
+ us.displayName = B.Overlay.displayName;
1352
+ const xt = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(ds, { children: [
1353
+ /* @__PURE__ */ a.jsx(us, {}),
1344
1354
  /* @__PURE__ */ a.jsxs(
1345
1355
  B.Content,
1346
1356
  {
@@ -1361,11 +1371,11 @@ const xt = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1361
1371
  )
1362
1372
  ] }));
1363
1373
  xt.displayName = B.Content.displayName;
1364
- const pn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
1365
- pn.displayName = "DialogHeader";
1366
- const gn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1367
- gn.displayName = "DialogFooter";
1368
- const bn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1374
+ const un = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
1375
+ un.displayName = "DialogHeader";
1376
+ const mn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1377
+ mn.displayName = "DialogFooter";
1378
+ const fn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1369
1379
  B.Title,
1370
1380
  {
1371
1381
  ref: s,
@@ -1373,32 +1383,32 @@ const bn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1373
1383
  ...t
1374
1384
  }
1375
1385
  ));
1376
- bn.displayName = B.Title.displayName;
1377
- const xn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1378
- xn.displayName = B.Description.displayName;
1379
- const hn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
1380
- hn.displayName = "Card";
1381
- const vn = m.forwardRef(
1386
+ fn.displayName = B.Title.displayName;
1387
+ const pn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1388
+ pn.displayName = B.Description.displayName;
1389
+ const gn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
1390
+ gn.displayName = "Card";
1391
+ const bn = m.forwardRef(
1382
1392
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("flex flex-col space-y-1.5 p-6", e), ...t })
1383
1393
  );
1384
- vn.displayName = "CardHeader";
1385
- const yn = m.forwardRef(
1394
+ bn.displayName = "CardHeader";
1395
+ const xn = m.forwardRef(
1386
1396
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("h3", { ref: s, className: d("font-semibold leading-none tracking-tight", e), ...t })
1387
1397
  );
1388
- yn.displayName = "CardTitle";
1389
- const wn = m.forwardRef(
1398
+ xn.displayName = "CardTitle";
1399
+ const hn = m.forwardRef(
1390
1400
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("p", { ref: s, className: d("text-sm text-muted-foreground", e), ...t })
1391
1401
  );
1392
- wn.displayName = "CardDescription";
1393
- const Nn = m.forwardRef(
1402
+ hn.displayName = "CardDescription";
1403
+ const vn = m.forwardRef(
1394
1404
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d("p-6 pt-0", e), ...t })
1395
1405
  );
1396
- Nn.displayName = "CardContent";
1397
- const kn = m.forwardRef(
1406
+ vn.displayName = "CardContent";
1407
+ const yn = m.forwardRef(
1398
1408
  ({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: d(" flex items-center p-6 pt-0", e), ...t })
1399
1409
  );
1400
- kn.displayName = "CardFooter";
1401
- const jn = m.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1410
+ yn.displayName = "CardFooter";
1411
+ const wn = m.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1402
1412
  "input",
1403
1413
  {
1404
1414
  type: t,
@@ -1410,10 +1420,10 @@ const jn = m.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */
1410
1420
  ...s
1411
1421
  }
1412
1422
  ));
1413
- jn.displayName = "Input";
1414
- const Sn = ge("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), An = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Ut.Root, { ref: s, className: d(Sn(), e), ...t }));
1415
- An.displayName = Ut.Root.displayName;
1416
- const Cn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1423
+ wn.displayName = "Input";
1424
+ const Nn = ge("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), kn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Ft.Root, { ref: s, className: d(Nn(), e), ...t }));
1425
+ kn.displayName = Ft.Root.displayName;
1426
+ const jn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1417
1427
  "textarea",
1418
1428
  {
1419
1429
  className: d(
@@ -1424,14 +1434,14 @@ const Cn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1424
1434
  ...t
1425
1435
  }
1426
1436
  ));
1427
- Cn.displayName = "Textarea";
1428
- const _n = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(de.Root, { ref: o, className: d("relative overflow-hidden", e), ...s, children: [
1437
+ jn.displayName = "Textarea";
1438
+ const Sn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(de.Root, { ref: o, className: d("relative overflow-hidden", e), ...s, children: [
1429
1439
  /* @__PURE__ */ a.jsx(de.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
1430
- /* @__PURE__ */ a.jsx(fs, {}),
1440
+ /* @__PURE__ */ a.jsx(ms, {}),
1431
1441
  /* @__PURE__ */ a.jsx(de.Corner, {})
1432
1442
  ] }));
1433
- _n.displayName = de.Root.displayName;
1434
- const fs = m.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o) => /* @__PURE__ */ a.jsx(
1443
+ Sn.displayName = de.Root.displayName;
1444
+ const ms = m.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o) => /* @__PURE__ */ a.jsx(
1435
1445
  de.ScrollAreaScrollbar,
1436
1446
  {
1437
1447
  ref: o,
@@ -1446,8 +1456,8 @@ const fs = m.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o)
1446
1456
  children: /* @__PURE__ */ a.jsx(de.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
1447
1457
  }
1448
1458
  ));
1449
- fs.displayName = de.ScrollAreaScrollbar.displayName;
1450
- const Bn = be.Root, ps = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1459
+ ms.displayName = de.ScrollAreaScrollbar.displayName;
1460
+ const An = be.Root, fs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1451
1461
  be.List,
1452
1462
  {
1453
1463
  ref: s,
@@ -1458,8 +1468,8 @@ const Bn = be.Root, ps = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE_
1458
1468
  ...t
1459
1469
  }
1460
1470
  ));
1461
- ps.displayName = be.List.displayName;
1462
- const Ze = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1471
+ fs.displayName = be.List.displayName;
1472
+ const Xe = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1463
1473
  be.Trigger,
1464
1474
  {
1465
1475
  ref: s,
@@ -1470,8 +1480,8 @@ const Ze = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1470
1480
  ...t
1471
1481
  }
1472
1482
  ));
1473
- Ze.displayName = be.Trigger.displayName;
1474
- const et = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1483
+ Xe.displayName = be.Trigger.displayName;
1484
+ const Ze = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1475
1485
  be.Content,
1476
1486
  {
1477
1487
  ref: s,
@@ -1482,9 +1492,9 @@ const et = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1482
1492
  ...t
1483
1493
  }
1484
1494
  ));
1485
- et.displayName = be.Content.displayName;
1486
- const si = ye.Portal, oi = ye.Provider, ni = ye.Root, ai = ye.Trigger, Rn = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(
1487
- ye.Content,
1495
+ Ze.displayName = be.Content.displayName;
1496
+ const Qr = ve.Portal, Xr = ve.Provider, Zr = ve.Root, ei = ve.Trigger, Cn = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(
1497
+ ve.Content,
1488
1498
  {
1489
1499
  ref: o,
1490
1500
  sideOffset: t,
@@ -1495,9 +1505,9 @@ const si = ye.Portal, oi = ye.Provider, ni = ye.Root, ai = ye.Trigger, Rn = m.fo
1495
1505
  ...s
1496
1506
  }
1497
1507
  ));
1498
- Rn.displayName = ye.Content.displayName;
1499
- const ri = Ae.Root, ii = Ae.Trigger, Tn = m.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(Ae.Portal, { children: /* @__PURE__ */ a.jsx(
1500
- Ae.Content,
1508
+ Cn.displayName = ve.Content.displayName;
1509
+ const ti = Se.Root, si = Se.Trigger, _n = m.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(Se.Portal, { children: /* @__PURE__ */ a.jsx(
1510
+ Se.Content,
1501
1511
  {
1502
1512
  ref: n,
1503
1513
  align: t,
@@ -1509,8 +1519,8 @@ const ri = Ae.Root, ii = Ae.Trigger, Tn = m.forwardRef(({ className: e, align: t
1509
1519
  ...o
1510
1520
  }
1511
1521
  ) }));
1512
- Tn.displayName = Ae.Content.displayName;
1513
- const li = C.Menu, ci = C.Group, di = C.Portal, ui = C.Sub, mi = C.RadioGroup, Pn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1522
+ _n.displayName = Se.Content.displayName;
1523
+ const oi = C.Menu, ni = C.Group, ai = C.Portal, ri = C.Sub, ii = C.RadioGroup, Bn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1514
1524
  C.Root,
1515
1525
  {
1516
1526
  ref: s,
@@ -1518,8 +1528,8 @@ const li = C.Menu, ci = C.Group, di = C.Portal, ui = C.Sub, mi = C.RadioGroup, P
1518
1528
  ...t
1519
1529
  }
1520
1530
  ));
1521
- Pn.displayName = C.Root.displayName;
1522
- const In = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1531
+ Bn.displayName = C.Root.displayName;
1532
+ const Rn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1523
1533
  C.Trigger,
1524
1534
  {
1525
1535
  ref: s,
@@ -1530,8 +1540,8 @@ const In = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1530
1540
  ...t
1531
1541
  }
1532
1542
  ));
1533
- In.displayName = C.Trigger.displayName;
1534
- const Mn = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1543
+ Rn.displayName = C.Trigger.displayName;
1544
+ const Tn = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1535
1545
  C.SubTrigger,
1536
1546
  {
1537
1547
  ref: n,
@@ -1547,8 +1557,8 @@ const Mn = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /*
1547
1557
  ]
1548
1558
  }
1549
1559
  ));
1550
- Mn.displayName = C.SubTrigger.displayName;
1551
- const Dn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1560
+ Tn.displayName = C.SubTrigger.displayName;
1561
+ const Pn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1552
1562
  C.SubContent,
1553
1563
  {
1554
1564
  ref: s,
@@ -1559,8 +1569,8 @@ const Dn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1559
1569
  ...t
1560
1570
  }
1561
1571
  ));
1562
- Dn.displayName = C.SubContent.displayName;
1563
- const En = m.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4, sideOffset: o = 8, ...n }, i) => /* @__PURE__ */ a.jsx(C.Portal, { children: /* @__PURE__ */ a.jsx(
1572
+ Pn.displayName = C.SubContent.displayName;
1573
+ const In = m.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4, sideOffset: o = 8, ...n }, i) => /* @__PURE__ */ a.jsx(C.Portal, { children: /* @__PURE__ */ a.jsx(
1564
1574
  C.Content,
1565
1575
  {
1566
1576
  ref: i,
@@ -1574,8 +1584,8 @@ const En = m.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4
1574
1584
  ...n
1575
1585
  }
1576
1586
  ) }));
1577
- En.displayName = C.Content.displayName;
1578
- const On = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1587
+ In.displayName = C.Content.displayName;
1588
+ const Mn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1579
1589
  C.Item,
1580
1590
  {
1581
1591
  ref: o,
@@ -1587,8 +1597,8 @@ const On = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
1587
1597
  ...s
1588
1598
  }
1589
1599
  ));
1590
- On.displayName = C.Item.displayName;
1591
- const Ln = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1600
+ Mn.displayName = C.Item.displayName;
1601
+ const Dn = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1592
1602
  C.CheckboxItem,
1593
1603
  {
1594
1604
  ref: n,
@@ -1599,13 +1609,13 @@ const Ln = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
1599
1609
  checked: s,
1600
1610
  ...o,
1601
1611
  children: [
1602
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(C.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ze, { className: "h-4 w-4" }) }) }),
1612
+ /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(C.ItemIndicator, { children: /* @__PURE__ */ a.jsx(Le, { className: "h-4 w-4" }) }) }),
1603
1613
  t
1604
1614
  ]
1605
1615
  }
1606
1616
  ));
1607
- Ln.displayName = C.CheckboxItem.displayName;
1608
- const zn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1617
+ Dn.displayName = C.CheckboxItem.displayName;
1618
+ const En = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1609
1619
  C.RadioItem,
1610
1620
  {
1611
1621
  ref: o,
@@ -1620,8 +1630,8 @@ const zn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1620
1630
  ]
1621
1631
  }
1622
1632
  ));
1623
- zn.displayName = C.RadioItem.displayName;
1624
- const Vn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1633
+ En.displayName = C.RadioItem.displayName;
1634
+ const On = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1625
1635
  C.Label,
1626
1636
  {
1627
1637
  ref: o,
@@ -1629,13 +1639,13 @@ const Vn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
1629
1639
  ...s
1630
1640
  }
1631
1641
  ));
1632
- Vn.displayName = C.Label.displayName;
1633
- const $n = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(C.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
1634
- $n.displayName = C.Separator.displayName;
1635
- const Fn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
1636
- Fn.displayname = "MenubarShortcut";
1637
- const fi = Ve.Root, pi = Ve.Trigger, Un = m.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(
1638
- Ve.Content,
1642
+ On.displayName = C.Label.displayName;
1643
+ const Ln = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(C.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
1644
+ Ln.displayName = C.Separator.displayName;
1645
+ const zn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
1646
+ zn.displayname = "MenubarShortcut";
1647
+ const li = ze.Root, ci = ze.Trigger, Vn = m.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(
1648
+ ze.Content,
1639
1649
  {
1640
1650
  ref: n,
1641
1651
  align: t,
@@ -1647,8 +1657,8 @@ const fi = Ve.Root, pi = Ve.Trigger, Un = m.forwardRef(({ className: e, align: t
1647
1657
  ...o
1648
1658
  }
1649
1659
  ));
1650
- Un.displayName = Ve.Content.displayName;
1651
- const gi = z.Root, bi = z.Group, xi = z.Value, Wn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1660
+ Vn.displayName = ze.Content.displayName;
1661
+ const di = z.Root, ui = z.Group, mi = z.Value, $n = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1652
1662
  z.Trigger,
1653
1663
  {
1654
1664
  ref: o,
@@ -1659,12 +1669,12 @@ const gi = z.Root, bi = z.Group, xi = z.Value, Wn = m.forwardRef(({ className: e
1659
1669
  ...s,
1660
1670
  children: [
1661
1671
  t,
1662
- /* @__PURE__ */ a.jsx(z.Icon, { asChild: !0, children: /* @__PURE__ */ a.jsx(qs, { className: "h-4 w-4 opacity-50" }) })
1672
+ /* @__PURE__ */ a.jsx(z.Icon, { asChild: !0, children: /* @__PURE__ */ a.jsx(Hs, { className: "h-4 w-4 opacity-50" }) })
1663
1673
  ]
1664
1674
  }
1665
1675
  ));
1666
- Wn.displayName = z.Trigger.displayName;
1667
- const Gn = m.forwardRef(({ className: e, children: t, position: s = "popper", ...o }, n) => /* @__PURE__ */ a.jsx(z.Portal, { children: /* @__PURE__ */ a.jsx(
1676
+ $n.displayName = z.Trigger.displayName;
1677
+ const Fn = m.forwardRef(({ className: e, children: t, position: s = "popper", ...o }, n) => /* @__PURE__ */ a.jsx(z.Portal, { children: /* @__PURE__ */ a.jsx(
1668
1678
  z.Content,
1669
1679
  {
1670
1680
  ref: n,
@@ -1687,10 +1697,10 @@ const Gn = m.forwardRef(({ className: e, children: t, position: s = "popper", ..
1687
1697
  )
1688
1698
  }
1689
1699
  ) }));
1690
- Gn.displayName = z.Content.displayName;
1691
- const Hn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(z.Label, { ref: s, className: d("px-2 py-1.5 text-sm font-semibold", e), ...t }));
1692
- Hn.displayName = z.Label.displayName;
1693
- const qn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1700
+ Fn.displayName = z.Content.displayName;
1701
+ const Un = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(z.Label, { ref: s, className: d("px-2 py-1.5 text-sm font-semibold", e), ...t }));
1702
+ Un.displayName = z.Label.displayName;
1703
+ const Wn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1694
1704
  z.Item,
1695
1705
  {
1696
1706
  ref: o,
@@ -1700,17 +1710,17 @@ const qn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1700
1710
  ),
1701
1711
  ...s,
1702
1712
  children: [
1703
- /* @__PURE__ */ a.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(z.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ze, { className: "h-4 w-4" }) }) }),
1713
+ /* @__PURE__ */ a.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(z.ItemIndicator, { children: /* @__PURE__ */ a.jsx(Le, { className: "h-4 w-4" }) }) }),
1704
1714
  /* @__PURE__ */ a.jsx(z.ItemText, { children: t })
1705
1715
  ]
1706
1716
  }
1707
1717
  ));
1708
- qn.displayName = z.Item.displayName;
1709
- const Kn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(z.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
1710
- Kn.displayName = z.Separator.displayName;
1711
- const hi = B.Root, vi = B.Trigger, yi = B.Close, gs = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(B.Portal, { className: d(e), ...t });
1712
- gs.displayName = B.Portal.displayName;
1713
- const bs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1718
+ Wn.displayName = z.Item.displayName;
1719
+ const Gn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(z.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
1720
+ Gn.displayName = z.Separator.displayName;
1721
+ const fi = B.Root, pi = B.Trigger, gi = B.Close, ps = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(B.Portal, { className: d(e), ...t });
1722
+ ps.displayName = B.Portal.displayName;
1723
+ const gs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1714
1724
  B.Overlay,
1715
1725
  {
1716
1726
  className: d(
@@ -1721,8 +1731,8 @@ const bs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1721
1731
  ref: s
1722
1732
  }
1723
1733
  ));
1724
- bs.displayName = B.Overlay.displayName;
1725
- const Jn = ge(
1734
+ gs.displayName = B.Overlay.displayName;
1735
+ const Hn = ge(
1726
1736
  "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
1727
1737
  {
1728
1738
  variants: {
@@ -1737,10 +1747,10 @@ const Jn = ge(
1737
1747
  side: "right"
1738
1748
  }
1739
1749
  }
1740
- ), Yn = m.forwardRef(
1741
- ({ side: e = "right", className: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(gs, { children: [
1742
- /* @__PURE__ */ a.jsx(bs, {}),
1743
- /* @__PURE__ */ a.jsxs(B.Content, { ref: n, className: d(Jn({ side: e }), t), ...o, children: [
1750
+ ), qn = m.forwardRef(
1751
+ ({ side: e = "right", className: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(ps, { children: [
1752
+ /* @__PURE__ */ a.jsx(gs, {}),
1753
+ /* @__PURE__ */ a.jsxs(B.Content, { ref: n, className: d(Hn({ side: e }), t), ...o, children: [
1744
1754
  s,
1745
1755
  /* @__PURE__ */ a.jsxs(B.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
1746
1756
  /* @__PURE__ */ a.jsx(st, { className: "h-4 w-4" }),
@@ -1749,16 +1759,16 @@ const Jn = ge(
1749
1759
  ] })
1750
1760
  ] })
1751
1761
  );
1752
- Yn.displayName = B.Content.displayName;
1753
- const Qn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
1754
- Qn.displayName = "SheetHeader";
1755
- const Xn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1756
- Xn.displayName = "SheetFooter";
1757
- const Zn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Title, { ref: s, className: d("text-lg font-semibold text-foreground", e), ...t }));
1758
- Zn.displayName = B.Title.displayName;
1759
- const ea = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1760
- ea.displayName = B.Description.displayName;
1761
- const wi = T.Root, Ni = T.Trigger, ki = T.Group, ji = T.Portal, Si = T.Sub, Ai = T.RadioGroup, ta = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1762
+ qn.displayName = B.Content.displayName;
1763
+ const Kn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
1764
+ Kn.displayName = "SheetHeader";
1765
+ const Jn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
1766
+ Jn.displayName = "SheetFooter";
1767
+ const Yn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Title, { ref: s, className: d("text-lg font-semibold text-foreground", e), ...t }));
1768
+ Yn.displayName = B.Title.displayName;
1769
+ const Qn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
1770
+ Qn.displayName = B.Description.displayName;
1771
+ const bi = T.Root, xi = T.Trigger, hi = T.Group, vi = T.Portal, yi = T.Sub, wi = T.RadioGroup, Xn = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1762
1772
  T.SubTrigger,
1763
1773
  {
1764
1774
  ref: n,
@@ -1774,8 +1784,8 @@ const wi = T.Root, Ni = T.Trigger, ki = T.Group, ji = T.Portal, Si = T.Sub, Ai =
1774
1784
  ]
1775
1785
  }
1776
1786
  ));
1777
- ta.displayName = T.SubTrigger.displayName;
1778
- const sa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1787
+ Xn.displayName = T.SubTrigger.displayName;
1788
+ const Zn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1779
1789
  T.SubContent,
1780
1790
  {
1781
1791
  ref: s,
@@ -1786,8 +1796,8 @@ const sa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1786
1796
  ...t
1787
1797
  }
1788
1798
  ));
1789
- sa.displayName = T.SubContent.displayName;
1790
- const oa = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(T.Portal, { children: /* @__PURE__ */ a.jsx(
1799
+ Zn.displayName = T.SubContent.displayName;
1800
+ const ea = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(T.Portal, { children: /* @__PURE__ */ a.jsx(
1791
1801
  T.Content,
1792
1802
  {
1793
1803
  ref: o,
@@ -1800,8 +1810,8 @@ const oa = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__
1800
1810
  ...s
1801
1811
  }
1802
1812
  ) }));
1803
- oa.displayName = T.Content.displayName;
1804
- const na = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1813
+ ea.displayName = T.Content.displayName;
1814
+ const ta = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1805
1815
  T.Item,
1806
1816
  {
1807
1817
  ref: o,
@@ -1813,8 +1823,8 @@ const na = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
1813
1823
  ...s
1814
1824
  }
1815
1825
  ));
1816
- na.displayName = T.Item.displayName;
1817
- const aa = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1826
+ ta.displayName = T.Item.displayName;
1827
+ const sa = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
1818
1828
  T.CheckboxItem,
1819
1829
  {
1820
1830
  ref: n,
@@ -1825,13 +1835,13 @@ const aa = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
1825
1835
  checked: s,
1826
1836
  ...o,
1827
1837
  children: [
1828
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(T.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ze, { className: "h-4 w-4" }) }) }),
1838
+ /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(T.ItemIndicator, { children: /* @__PURE__ */ a.jsx(Le, { className: "h-4 w-4" }) }) }),
1829
1839
  t
1830
1840
  ]
1831
1841
  }
1832
1842
  ));
1833
- aa.displayName = T.CheckboxItem.displayName;
1834
- const ra = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1843
+ sa.displayName = T.CheckboxItem.displayName;
1844
+ const oa = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
1835
1845
  T.RadioItem,
1836
1846
  {
1837
1847
  ref: o,
@@ -1846,8 +1856,8 @@ const ra = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
1846
1856
  ]
1847
1857
  }
1848
1858
  ));
1849
- ra.displayName = T.RadioItem.displayName;
1850
- const ia = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1859
+ oa.displayName = T.RadioItem.displayName;
1860
+ const na = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
1851
1861
  T.Label,
1852
1862
  {
1853
1863
  ref: o,
@@ -1855,13 +1865,13 @@ const ia = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
1855
1865
  ...s
1856
1866
  }
1857
1867
  ));
1858
- ia.displayName = T.Label.displayName;
1859
- const la = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
1860
- la.displayName = T.Separator.displayName;
1861
- const ca = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest opacity-60", e), ...t });
1862
- ca.displayName = "DropdownMenuShortcut";
1863
- const da = m.forwardRef(({ className: e, orientation: t = "horizontal", decorative: s = !0, ...o }, n) => /* @__PURE__ */ a.jsx(
1864
- Wt.Root,
1868
+ na.displayName = T.Label.displayName;
1869
+ const aa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
1870
+ aa.displayName = T.Separator.displayName;
1871
+ const ra = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest opacity-60", e), ...t });
1872
+ ra.displayName = "DropdownMenuShortcut";
1873
+ const ia = m.forwardRef(({ className: e, orientation: t = "horizontal", decorative: s = !0, ...o }, n) => /* @__PURE__ */ a.jsx(
1874
+ Ut.Root,
1865
1875
  {
1866
1876
  ref: n,
1867
1877
  decorative: s,
@@ -1870,28 +1880,28 @@ const da = m.forwardRef(({ className: e, orientation: t = "horizontal", decorati
1870
1880
  ...o
1871
1881
  }
1872
1882
  ));
1873
- da.displayName = Wt.Root.displayName;
1874
- const ua = 1, ma = 1e6;
1875
- let Ge = 0;
1876
- function fa() {
1877
- return Ge = (Ge + 1) % Number.MAX_VALUE, Ge.toString();
1883
+ ia.displayName = Ut.Root.displayName;
1884
+ const la = 1, ca = 1e6;
1885
+ let We = 0;
1886
+ function da() {
1887
+ return We = (We + 1) % Number.MAX_VALUE, We.toString();
1878
1888
  }
1879
- const He = /* @__PURE__ */ new Map(), Rt = (e) => {
1880
- if (He.has(e))
1889
+ const Ge = /* @__PURE__ */ new Map(), Rt = (e) => {
1890
+ if (Ge.has(e))
1881
1891
  return;
1882
1892
  const t = setTimeout(() => {
1883
- He.delete(e), je({
1893
+ Ge.delete(e), ke({
1884
1894
  type: "REMOVE_TOAST",
1885
1895
  toastId: e
1886
1896
  });
1887
- }, ma);
1888
- He.set(e, t);
1889
- }, pa = (e, t) => {
1897
+ }, ca);
1898
+ Ge.set(e, t);
1899
+ }, ua = (e, t) => {
1890
1900
  switch (t.type) {
1891
1901
  case "ADD_TOAST":
1892
1902
  return {
1893
1903
  ...e,
1894
- toasts: [t.toast, ...e.toasts].slice(0, ua)
1904
+ toasts: [t.toast, ...e.toasts].slice(0, la)
1895
1905
  };
1896
1906
  case "UPDATE_TOAST":
1897
1907
  return {
@@ -1921,19 +1931,19 @@ const He = /* @__PURE__ */ new Map(), Rt = (e) => {
1921
1931
  toasts: e.toasts.filter((s) => s.id !== t.toastId)
1922
1932
  };
1923
1933
  }
1924
- }, Me = [];
1925
- let De = { toasts: [] };
1926
- function je(e) {
1927
- De = pa(De, e), Me.forEach((t) => {
1928
- t(De);
1934
+ }, Ie = [];
1935
+ let Me = { toasts: [] };
1936
+ function ke(e) {
1937
+ Me = ua(Me, e), Ie.forEach((t) => {
1938
+ t(Me);
1929
1939
  });
1930
1940
  }
1931
- function ga({ ...e }) {
1932
- const t = fa(), s = (n) => je({
1941
+ function ma({ ...e }) {
1942
+ const t = da(), s = (n) => ke({
1933
1943
  type: "UPDATE_TOAST",
1934
1944
  toast: { ...n, id: t }
1935
- }), o = () => je({ type: "DISMISS_TOAST", toastId: t });
1936
- return je({
1945
+ }), o = () => ke({ type: "DISMISS_TOAST", toastId: t });
1946
+ return ke({
1937
1947
  type: "ADD_TOAST",
1938
1948
  toast: {
1939
1949
  ...e,
@@ -1949,18 +1959,18 @@ function ga({ ...e }) {
1949
1959
  update: s
1950
1960
  };
1951
1961
  }
1952
- function xs() {
1953
- const [e, t] = m.useState(De);
1954
- return m.useEffect(() => (Me.push(t), () => {
1955
- const s = Me.indexOf(t);
1956
- s > -1 && Me.splice(s, 1);
1962
+ function bs() {
1963
+ const [e, t] = m.useState(Me);
1964
+ return m.useEffect(() => (Ie.push(t), () => {
1965
+ const s = Ie.indexOf(t);
1966
+ s > -1 && Ie.splice(s, 1);
1957
1967
  }), [e]), {
1958
1968
  ...e,
1959
- toast: ga,
1960
- dismiss: (s) => je({ type: "DISMISS_TOAST", toastId: s })
1969
+ toast: ma,
1970
+ dismiss: (s) => ke({ type: "DISMISS_TOAST", toastId: s })
1961
1971
  };
1962
1972
  }
1963
- const ba = Y.Provider, hs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1973
+ const fa = Y.Provider, xs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1964
1974
  Y.Viewport,
1965
1975
  {
1966
1976
  ref: s,
@@ -1971,8 +1981,8 @@ const ba = Y.Provider, hs = m.forwardRef(({ className: e, ...t }, s) => /* @__PU
1971
1981
  ...t
1972
1982
  }
1973
1983
  ));
1974
- hs.displayName = Y.Viewport.displayName;
1975
- const xa = ge(
1984
+ xs.displayName = Y.Viewport.displayName;
1985
+ const pa = ge(
1976
1986
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
1977
1987
  {
1978
1988
  variants: {
@@ -1985,9 +1995,9 @@ const xa = ge(
1985
1995
  variant: "default"
1986
1996
  }
1987
1997
  }
1988
- ), vs = m.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx(Y.Root, { ref: o, className: d(xa({ variant: t }), e), ...s }));
1989
- vs.displayName = Y.Root.displayName;
1990
- const ha = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1998
+ ), hs = m.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx(Y.Root, { ref: o, className: d(pa({ variant: t }), e), ...s }));
1999
+ hs.displayName = Y.Root.displayName;
2000
+ const ga = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1991
2001
  Y.Action,
1992
2002
  {
1993
2003
  ref: s,
@@ -1998,8 +2008,8 @@ const ha = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
1998
2008
  ...t
1999
2009
  }
2000
2010
  ));
2001
- ha.displayName = Y.Action.displayName;
2002
- const ys = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2011
+ ga.displayName = Y.Action.displayName;
2012
+ const vs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2003
2013
  Y.Close,
2004
2014
  {
2005
2015
  ref: s,
@@ -2012,26 +2022,26 @@ const ys = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2012
2022
  children: /* @__PURE__ */ a.jsx(st, { className: "h-4 w-4" })
2013
2023
  }
2014
2024
  ));
2015
- ys.displayName = Y.Close.displayName;
2016
- const ws = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Y.Title, { ref: s, className: d("text-sm font-semibold [&+div]:text-xs", e), ...t }));
2017
- ws.displayName = Y.Title.displayName;
2018
- const Ns = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Y.Description, { ref: s, className: d("text-sm opacity-90", e), ...t }));
2019
- Ns.displayName = Y.Description.displayName;
2020
- function Ci() {
2021
- const { toasts: e } = xs();
2022
- return /* @__PURE__ */ a.jsxs(ba, { children: [
2023
- e.map(({ id: t, title: s, description: o, action: n, ...i }) => /* @__PURE__ */ a.jsxs(vs, { ...i, children: [
2025
+ vs.displayName = Y.Close.displayName;
2026
+ const ys = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Y.Title, { ref: s, className: d("text-sm font-semibold [&+div]:text-xs", e), ...t }));
2027
+ ys.displayName = Y.Title.displayName;
2028
+ const ws = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Y.Description, { ref: s, className: d("text-sm opacity-90", e), ...t }));
2029
+ ws.displayName = Y.Description.displayName;
2030
+ function Ni() {
2031
+ const { toasts: e } = bs();
2032
+ return /* @__PURE__ */ a.jsxs(fa, { children: [
2033
+ e.map(({ id: t, title: s, description: o, action: n, ...i }) => /* @__PURE__ */ a.jsxs(hs, { ...i, children: [
2024
2034
  /* @__PURE__ */ a.jsxs("div", { className: "grid gap-1", children: [
2025
- s && /* @__PURE__ */ a.jsx(ws, { children: s }),
2026
- o && /* @__PURE__ */ a.jsx(Ns, { children: o })
2035
+ s && /* @__PURE__ */ a.jsx(ys, { children: s }),
2036
+ o && /* @__PURE__ */ a.jsx(ws, { children: o })
2027
2037
  ] }),
2028
2038
  n,
2029
- /* @__PURE__ */ a.jsx(ys, {})
2039
+ /* @__PURE__ */ a.jsx(vs, {})
2030
2040
  ] }, t)),
2031
- /* @__PURE__ */ a.jsx(hs, {})
2041
+ /* @__PURE__ */ a.jsx(xs, {})
2032
2042
  ] });
2033
2043
  }
2034
- const _i = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("animate-pulse rounded-md bg-primary/10", e), ...t }), ks = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2044
+ const ki = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("animate-pulse rounded-md bg-primary/10", e), ...t }), Ns = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2035
2045
  K,
2036
2046
  {
2037
2047
  ref: s,
@@ -2042,9 +2052,9 @@ const _i = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className:
2042
2052
  ...t
2043
2053
  }
2044
2054
  ));
2045
- ks.displayName = K.displayName;
2046
- const Bi = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(ds, { ...t, children: /* @__PURE__ */ a.jsx(xt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(ks, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), va = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
2047
- /* @__PURE__ */ a.jsx(Ks, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
2055
+ Ns.displayName = K.displayName;
2056
+ const ji = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(cs, { ...t, children: /* @__PURE__ */ a.jsx(xt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(Ns, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), ba = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
2057
+ /* @__PURE__ */ a.jsx(qs, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
2048
2058
  /* @__PURE__ */ a.jsx(
2049
2059
  K.Input,
2050
2060
  {
@@ -2057,8 +2067,8 @@ const Bi = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(ds, { ...t, children
2057
2067
  }
2058
2068
  )
2059
2069
  ] }));
2060
- va.displayName = K.Input.displayName;
2061
- const ya = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2070
+ ba.displayName = K.Input.displayName;
2071
+ const xa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2062
2072
  K.List,
2063
2073
  {
2064
2074
  ref: s,
@@ -2066,10 +2076,10 @@ const ya = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2066
2076
  ...t
2067
2077
  }
2068
2078
  ));
2069
- ya.displayName = K.List.displayName;
2070
- const wa = m.forwardRef((e, t) => /* @__PURE__ */ a.jsx(K.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
2071
- wa.displayName = K.Empty.displayName;
2072
- const Na = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2079
+ xa.displayName = K.List.displayName;
2080
+ const ha = m.forwardRef((e, t) => /* @__PURE__ */ a.jsx(K.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
2081
+ ha.displayName = K.Empty.displayName;
2082
+ const va = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2073
2083
  K.Group,
2074
2084
  {
2075
2085
  ref: s,
@@ -2080,10 +2090,10 @@ const Na = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2080
2090
  ...t
2081
2091
  }
2082
2092
  ));
2083
- Na.displayName = K.Group.displayName;
2084
- const ka = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(K.Separator, { ref: s, className: d("-mx-1 h-px bg-border", e), ...t }));
2085
- ka.displayName = K.Separator.displayName;
2086
- const ja = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2093
+ va.displayName = K.Group.displayName;
2094
+ const ya = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(K.Separator, { ref: s, className: d("-mx-1 h-px bg-border", e), ...t }));
2095
+ ya.displayName = K.Separator.displayName;
2096
+ const wa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2087
2097
  K.Item,
2088
2098
  {
2089
2099
  ref: s,
@@ -2094,10 +2104,10 @@ const ja = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2094
2104
  ...t
2095
2105
  }
2096
2106
  ));
2097
- ja.displayName = K.Item.displayName;
2098
- const Sa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2099
- Sa.displayName = "CommandShortcut";
2100
- const Ri = P.Root, Ti = P.Trigger, Pi = P.Group, Ii = P.Portal, Mi = P.Sub, Di = P.RadioGroup, Aa = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2107
+ wa.displayName = K.Item.displayName;
2108
+ const Na = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2109
+ Na.displayName = "CommandShortcut";
2110
+ const Si = P.Root, Ai = P.Trigger, Ci = P.Group, _i = P.Portal, Bi = P.Sub, Ri = P.RadioGroup, ka = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2101
2111
  P.SubTrigger,
2102
2112
  {
2103
2113
  ref: n,
@@ -2113,8 +2123,8 @@ const Ri = P.Root, Ti = P.Trigger, Pi = P.Group, Ii = P.Portal, Mi = P.Sub, Di =
2113
2123
  ]
2114
2124
  }
2115
2125
  ));
2116
- Aa.displayName = P.SubTrigger.displayName;
2117
- const Ca = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2126
+ ka.displayName = P.SubTrigger.displayName;
2127
+ const ja = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2118
2128
  P.SubContent,
2119
2129
  {
2120
2130
  ref: s,
@@ -2125,8 +2135,8 @@ const Ca = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
2125
2135
  ...t
2126
2136
  }
2127
2137
  ));
2128
- Ca.displayName = P.SubContent.displayName;
2129
- const _a = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(P.Portal, { children: /* @__PURE__ */ a.jsx(
2138
+ ja.displayName = P.SubContent.displayName;
2139
+ const Sa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(P.Portal, { children: /* @__PURE__ */ a.jsx(
2130
2140
  P.Content,
2131
2141
  {
2132
2142
  ref: s,
@@ -2137,8 +2147,8 @@ const _a = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(P.P
2137
2147
  ...t
2138
2148
  }
2139
2149
  ) }));
2140
- _a.displayName = P.Content.displayName;
2141
- const Ba = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2150
+ Sa.displayName = P.Content.displayName;
2151
+ const Aa = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2142
2152
  P.Item,
2143
2153
  {
2144
2154
  ref: o,
@@ -2150,8 +2160,8 @@ const Ba = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2150
2160
  ...s
2151
2161
  }
2152
2162
  ));
2153
- Ba.displayName = P.Item.displayName;
2154
- const Ra = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2163
+ Aa.displayName = P.Item.displayName;
2164
+ const Ca = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
2155
2165
  P.CheckboxItem,
2156
2166
  {
2157
2167
  ref: n,
@@ -2162,13 +2172,13 @@ const Ra = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
2162
2172
  checked: s,
2163
2173
  ...o,
2164
2174
  children: [
2165
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(P.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ze, { className: "h-4 w-4" }) }) }),
2175
+ /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(P.ItemIndicator, { children: /* @__PURE__ */ a.jsx(Le, { className: "h-4 w-4" }) }) }),
2166
2176
  t
2167
2177
  ]
2168
2178
  }
2169
2179
  ));
2170
- Ra.displayName = P.CheckboxItem.displayName;
2171
- const Ta = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2180
+ Ca.displayName = P.CheckboxItem.displayName;
2181
+ const _a = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
2172
2182
  P.RadioItem,
2173
2183
  {
2174
2184
  ref: o,
@@ -2183,8 +2193,8 @@ const Ta = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
2183
2193
  ]
2184
2194
  }
2185
2195
  ));
2186
- Ta.displayName = P.RadioItem.displayName;
2187
- const Pa = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2196
+ _a.displayName = P.RadioItem.displayName;
2197
+ const Ba = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
2188
2198
  P.Label,
2189
2199
  {
2190
2200
  ref: o,
@@ -2192,15 +2202,15 @@ const Pa = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
2192
2202
  ...s
2193
2203
  }
2194
2204
  ));
2195
- Pa.displayName = P.Label.displayName;
2196
- const Ia = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(P.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-border", e), ...t }));
2197
- Ia.displayName = P.Separator.displayName;
2198
- const Ma = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2199
- Ma.displayName = "ContextMenuShortcut";
2200
- const Da = (e) => {
2205
+ Ba.displayName = P.Label.displayName;
2206
+ const Ra = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(P.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-border", e), ...t }));
2207
+ Ra.displayName = P.Separator.displayName;
2208
+ const Ta = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
2209
+ Ta.displayName = "ContextMenuShortcut";
2210
+ const Pa = (e) => {
2201
2211
  try {
2202
2212
  const t = document.getElementById("icon-picker-field"), s = document.createElement("div");
2203
- Qs.render(/* @__PURE__ */ a.jsx(Ys, { value: e }), s), t.appendChild(s), s.hidden = !0;
2213
+ Ys.render(/* @__PURE__ */ a.jsx(Js, { value: e }), s), t.appendChild(s), s.hidden = !0;
2204
2214
  let o = s.innerHTML;
2205
2215
  setTimeout(() => t.removeChild(s), 100);
2206
2216
  const i = new DOMParser().parseFromString(o, "image/svg+xml"), r = i.querySelector("svg");
@@ -2208,10 +2218,10 @@ const Da = (e) => {
2208
2218
  } catch (t) {
2209
2219
  return console.error(t), "";
2210
2220
  }
2211
- }, Ei = ({ value: e, onChange: t }) => {
2221
+ }, Ti = ({ value: e, onChange: t }) => {
2212
2222
  const s = (o) => {
2213
2223
  t("<svg />");
2214
- const n = Da(o);
2224
+ const n = Pa(o);
2215
2225
  t(n);
2216
2226
  };
2217
2227
  return /* @__PURE__ */ a.jsxs("div", { className: "mt-1 flex h-20 items-center gap-x-2", id: "icon-picker-field", children: [
@@ -2226,7 +2236,7 @@ const Da = (e) => {
2226
2236
  }
2227
2237
  ),
2228
2238
  /* @__PURE__ */ a.jsx(
2229
- Js,
2239
+ Ks,
2230
2240
  {
2231
2241
  value: e ? "BiSolidGrid" : null,
2232
2242
  onChange: s,
@@ -2262,37 +2272,37 @@ const Da = (e) => {
2262
2272
  }
2263
2273
  )
2264
2274
  ] });
2265
- }, Ea = tt.lazy(() => import("./UnsplashImages-lGLcqo4M.js")), Oa = tt.lazy(() => import("./UploadImages-06m6vjbL.js")), js = ({
2275
+ }, Ia = et.lazy(() => import("./UnsplashImages-1RFHZIte.js")), Ma = et.lazy(() => import("./UploadImages-G2orrhmZ.js")), ks = ({
2266
2276
  isModalView: e = !1,
2267
2277
  onSelect: t = () => {
2268
2278
  }
2269
2279
  }) => {
2270
- const [s, o] = _e("upload");
2280
+ const [s, o] = Ce("upload");
2271
2281
  return /* @__PURE__ */ a.jsxs("div", { className: "flex h-full flex-col", children: [
2272
2282
  /* @__PURE__ */ a.jsx("div", { className: "flex items-center justify-between rounded-md bg-background/30 p-1", children: /* @__PURE__ */ a.jsx("h1", { className: "px-1 font-semibold", children: e ? "Select or upload images" : "Images" }) }),
2273
- /* @__PURE__ */ a.jsxs(Bn, { value: s, onValueChange: (n) => o(n), className: "flex h-full w-full flex-col py-2", children: [
2274
- /* @__PURE__ */ a.jsxs(ps, { className: "w-full", children: [
2275
- /* @__PURE__ */ a.jsx(Ze, { value: "upload", className: "w-1/2", children: "Upload" }),
2276
- /* @__PURE__ */ a.jsx(Ze, { value: "unsplash", className: "w-1/2", children: "Unsplash" })
2283
+ /* @__PURE__ */ a.jsxs(An, { value: s, onValueChange: (n) => o(n), className: "flex h-full w-full flex-col py-2", children: [
2284
+ /* @__PURE__ */ a.jsxs(fs, { className: "w-full", children: [
2285
+ /* @__PURE__ */ a.jsx(Xe, { value: "upload", className: "w-1/2", children: "Upload" }),
2286
+ /* @__PURE__ */ a.jsx(Xe, { value: "unsplash", className: "w-1/2", children: "Unsplash" })
2277
2287
  ] }),
2278
- s === "unsplash" ? /* @__PURE__ */ a.jsx(et, { value: "unsplash", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(vt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Ea, { isModalView: e, onSelect: t }) }) }) : /* @__PURE__ */ a.jsx(et, { value: "upload", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(vt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Oa, { isModalView: e, onSelect: t }) }) })
2288
+ s === "unsplash" ? /* @__PURE__ */ a.jsx(Ze, { value: "unsplash", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(vt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Ia, { isModalView: e, onSelect: t }) }) }) : /* @__PURE__ */ a.jsx(Ze, { value: "upload", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(vt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Ma, { isModalView: e, onSelect: t }) }) })
2279
2289
  ] })
2280
2290
  ] });
2281
- }, Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2291
+ }, Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2282
2292
  __proto__: null,
2283
- default: js
2293
+ default: ks
2284
2294
  }, Symbol.toStringTag, { value: "Module" })), Tt = ({ children: e, onSelect: t }) => {
2285
- const [s, o] = _e(!1), n = (...i) => {
2295
+ const [s, o] = Ce(!1), n = (...i) => {
2286
2296
  t.call(void 0, ...i), o(!1);
2287
2297
  };
2288
- return /* @__PURE__ */ a.jsxs(ds, { open: s, onOpenChange: (i) => o(i), children: [
2289
- /* @__PURE__ */ a.jsx(fn, { asChild: !0, children: e }),
2290
- /* @__PURE__ */ a.jsx(xt, { className: "flex h-3/4 max-w-5xl", children: /* @__PURE__ */ a.jsx("div", { className: "h-full w-full", children: /* @__PURE__ */ a.jsx(js, { isModalView: !0, onSelect: n }) }) })
2298
+ return /* @__PURE__ */ a.jsxs(cs, { open: s, onOpenChange: (i) => o(i), children: [
2299
+ /* @__PURE__ */ a.jsx(dn, { asChild: !0, children: e }),
2300
+ /* @__PURE__ */ a.jsx(xt, { className: "flex h-3/4 max-w-5xl", children: /* @__PURE__ */ a.jsx("div", { className: "h-full w-full", children: /* @__PURE__ */ a.jsx(ks, { isModalView: !0, onSelect: n }) }) })
2291
2301
  ] });
2292
- }, Li = ({ value: e, onChange: t, id: s, onBlur: o }) => /* @__PURE__ */ a.jsxs("div", { className: "mt-1.5 flex items-center gap-x-3", children: [
2302
+ }, Ii = ({ value: e, onChange: t, id: s, onBlur: o }) => /* @__PURE__ */ a.jsxs("div", { className: "mt-1.5 flex items-center gap-x-3", children: [
2293
2303
  e ? /* @__PURE__ */ a.jsx("img", { src: e, className: "h-20 w-20 overflow-hidden rounded-md border object-cover", alt: "" }) : /* @__PURE__ */ a.jsx(Tt, { onSelect: t, children: /* @__PURE__ */ a.jsx("div", { className: "h-20 w-20 cursor-pointer rounded-md border bg-[radial-gradient(#AAA,transparent_1px)] duration-300 [background-size:10px_10px] hover:border-gray-400" }) }),
2294
2304
  /* @__PURE__ */ a.jsxs("div", { className: "flex w-3/5 flex-col", children: [
2295
- /* @__PURE__ */ a.jsx(Tt, { onSelect: t, children: /* @__PURE__ */ a.jsx("small", { className: "cursor-pointer rounded-full bg-gray-600 px-2 py-1 text-center text-xs text-white hover:bg-gray-500 dark:bg-gray-700", children: e || !ve(e) ? "Replace Image" : "Choose Image" }) }),
2305
+ /* @__PURE__ */ a.jsx(Tt, { onSelect: t, children: /* @__PURE__ */ a.jsx("small", { className: "cursor-pointer rounded-full bg-gray-600 px-2 py-1 text-center text-xs text-white hover:bg-gray-500 dark:bg-gray-700", children: e || !Ee(e) ? "Replace Image" : "Choose Image" }) }),
2296
2306
  /* @__PURE__ */ a.jsx("small", { className: "-pl-4 pt-2 text-center text-xs text-gray-600", children: "OR" }),
2297
2307
  /* @__PURE__ */ a.jsx(
2298
2308
  "input",
@@ -2306,7 +2316,7 @@ const Da = (e) => {
2306
2316
  }
2307
2317
  )
2308
2318
  ] })
2309
- ] }), zi = ({ id: e, placeholder: t, value: s, onChange: o, onBlur: n }) => {
2319
+ ] }), Mi = ({ id: e, placeholder: t, value: s, onChange: o, onBlur: n }) => {
2310
2320
  const i = {
2311
2321
  toolbar: [
2312
2322
  ["bold", "italic", "underline", "strike", "blockquote"],
@@ -2330,7 +2340,7 @@ const Da = (e) => {
2330
2340
  "image"
2331
2341
  ];
2332
2342
  return typeof window > "u" ? null : /* @__PURE__ */ a.jsx(
2333
- Xs,
2343
+ Qs,
2334
2344
  {
2335
2345
  id: e,
2336
2346
  value: s,
@@ -2342,9 +2352,9 @@ const Da = (e) => {
2342
2352
  className: "mt-1 rounded-md"
2343
2353
  }
2344
2354
  );
2345
- }, Vi = ({ schema: e, formData: t, onChange: s }) => {
2346
- const [o, n] = _e([]), i = ke("getPages", () => []), { type: r = "page", href: c = "", target: p = "self" } = t;
2347
- return Ce(() => {
2355
+ }, Di = ({ schema: e, formData: t, onChange: s }) => {
2356
+ const [o, n] = Ce([]), i = Ne("getPages", () => []), { type: r = "page", href: c = "", target: p = "self" } = t;
2357
+ return Ae(() => {
2348
2358
  (async () => {
2349
2359
  const l = await i();
2350
2360
  n(l || []);
@@ -2395,8 +2405,8 @@ const Da = (e) => {
2395
2405
  ] })
2396
2406
  ] })
2397
2407
  ] });
2398
- }, $i = () => {
2399
- const [e] = we(), [, t] = $e(), { addBlocks: s } = xe(), { toast: o } = xs(), n = L(
2408
+ }, Ei = () => {
2409
+ const [e] = ye(), [, t] = Ve(), { addBlocks: s } = xe(), { toast: o } = bs(), n = L(
2400
2410
  (r, c, p) => {
2401
2411
  var k;
2402
2412
  for (let I = 0; I < r.length; I++) {
@@ -2408,7 +2418,7 @@ const Da = (e) => {
2408
2418
  }
2409
2419
  const l = Q(r);
2410
2420
  let f, x;
2411
- return c && (f = te(e, { _id: c }), r[0]._parent = c, x = c), !(f ? Qe(f._type, l._type) : !0) && f && (r[0]._parent = f._parent, x = f._parent), s(r, x, p), t([(k = Q(r)) == null ? void 0 : k._id]), Q(r);
2421
+ return c && (f = te(e, { _id: c }), r[0]._parent = c, x = c), !(f ? Ye(f._type, l._type) : !0) && f && (r[0]._parent = f._parent, x = f._parent), s(r, x, p), t([(k = Q(r)) == null ? void 0 : k._id]), Q(r);
2412
2422
  },
2413
2423
  [e, t]
2414
2424
  );
@@ -2420,8 +2430,8 @@ const Da = (e) => {
2420
2430
  }
2421
2431
  const l = ce(), f = es(r.props), x = [];
2422
2432
  Lt(f, (G, H) => {
2423
- if (zt(G, Ke)) {
2424
- const $ = G.replace(Ke, "");
2433
+ if (zt(G, qe)) {
2434
+ const $ = G.replace(qe, "");
2425
2435
  x.push({
2426
2436
  _id: $,
2427
2437
  _type: "Slot",
@@ -2438,7 +2448,7 @@ const Da = (e) => {
2438
2448
  ...f
2439
2449
  };
2440
2450
  let k, I;
2441
- if (c && (k = te(e, { _id: c }), N._parent = c, I = c), !No(k == null ? void 0 : k._type, r.type)) {
2451
+ if (c && (k = te(e, { _id: c }), N._parent = c, I = c), !wo(k == null ? void 0 : k._type, r.type)) {
2442
2452
  o({
2443
2453
  variant: "destructive",
2444
2454
  title: "Error",
@@ -2446,7 +2456,7 @@ const Da = (e) => {
2446
2456
  }), t([]);
2447
2457
  return;
2448
2458
  }
2449
- !(k ? Qe(k._type, r.type) : !0) && k && (N._parent = k._parent, I = k._parent);
2459
+ !(k ? Ye(k._type, r.type) : !0) && k && (N._parent = k._parent, I = k._parent);
2450
2460
  const W = [N, ...x];
2451
2461
  return s(W, I, p), t([N._id]), N;
2452
2462
  },
@@ -2460,7 +2470,7 @@ const Da = (e) => {
2460
2470
  xl: 1280,
2461
2471
  "2xl": 1536
2462
2472
  }, It = ["xs", "sm", "md", "lg", "xl", "2xl"];
2463
- function La(e, t) {
2473
+ function Da(e, t) {
2464
2474
  if (t === null)
2465
2475
  return "baseClasses";
2466
2476
  const s = t.mq;
@@ -2481,23 +2491,23 @@ function La(e, t) {
2481
2491
  return o;
2482
2492
  }
2483
2493
  const Mt = [];
2484
- function za(e = "", t = "", s = []) {
2494
+ function Ea(e = "", t = "", s = []) {
2485
2495
  e = e.trim().replace(/ +/g, "");
2486
2496
  let o = M(
2487
- R(e.split(" "), Ie),
2488
- (l) => !qe(l)
2489
- ), n = M(R(t.split(" "), Ie), (l) => !qe(l));
2497
+ R(e.split(" "), Pe),
2498
+ (l) => !He(l)
2499
+ ), n = M(R(t.split(" "), Pe), (l) => !He(l));
2490
2500
  n = M(
2491
2501
  n,
2492
2502
  (l) => !q(Mt, l.property)
2493
2503
  );
2494
2504
  const i = [], r = [];
2495
2505
  ue(s, (l) => {
2496
- const f = Ie(l), x = te(o, yt(f, ["dark", "mq", "mod", "property"]));
2506
+ const f = Pe(l), x = te(o, yt(f, ["dark", "mq", "mod", "property"]));
2497
2507
  if (x && (o = M(
2498
2508
  o,
2499
2509
  (N) => N.fullCls !== (x == null ? void 0 : x.fullCls)
2500
- )), i.push(f), f.mq === "xs" && !f.dark && f.mod === "" && (n = M(n, (N) => N.property !== f.property)), La(o, f) === "baseClasses" && !q(Mt, f.property)) {
2510
+ )), i.push(f), f.mq === "xs" && !f.dark && f.mod === "" && (n = M(n, (N) => N.property !== f.property)), Da(o, f) === "baseClasses" && !q(Mt, f.property)) {
2501
2511
  const N = te(n, yt(f, ["property"]));
2502
2512
  x && (n = M(
2503
2513
  n,
@@ -2518,28 +2528,28 @@ function za(e = "", t = "", s = []) {
2518
2528
  "fullCls"
2519
2529
  ).join(" ").trim()},${c.trim()}`.trim().replace(/ +/g, "");
2520
2530
  }
2521
- const Te = w([]);
2522
- Te.debugLabel = "selectedStylingBlocksAtom";
2523
- const Va = () => D(Te), $a = (e) => {
2531
+ const Re = w([]);
2532
+ Re.debugLabel = "selectedStylingBlocksAtom";
2533
+ const Oa = () => D(Re), La = (e) => {
2524
2534
  const t = e.replace(me, "").split(",");
2525
2535
  return { baseClasses: t[0], classes: t[1] };
2526
- }, Fa = w(null, (e, t, { blockIds: s, newClasses: o }) => {
2536
+ }, za = w(null, (e, t, { blockIds: s, newClasses: o }) => {
2527
2537
  const n = M(
2528
2538
  e(rt),
2529
2539
  (r) => (
2530
2540
  // @ts-ignore
2531
2541
  s.includes(e(r)._id)
2532
2542
  )
2533
- ), i = Q(e(Te));
2543
+ ), i = Q(e(Re));
2534
2544
  return R(n, (r) => {
2535
- const c = e(r), p = F(c, i.prop, `${me},`), { baseClasses: l, classes: f } = $a(p);
2545
+ const c = e(r), p = F(c, i.prop, `${me},`), { baseClasses: l, classes: f } = La(p);
2536
2546
  return {
2537
2547
  ids: [c._id],
2538
- props: { [i.prop]: `${me}${za(f, l, o)}` }
2548
+ props: { [i.prop]: `${me}${Ea(f, l, o)}` }
2539
2549
  };
2540
2550
  });
2541
- }), Fi = () => {
2542
- const e = Be(Fa), { updateBlocks: t, updateBlocksRuntime: s } = xe();
2551
+ }), Oi = () => {
2552
+ const e = _e(za), { updateBlocks: t, updateBlocksRuntime: s } = xe();
2543
2553
  return L(
2544
2554
  (o, n, i = !1) => {
2545
2555
  const r = e({ blockIds: o, newClasses: n });
@@ -2551,35 +2561,35 @@ const Va = () => D(Te), $a = (e) => {
2551
2561
  },
2552
2562
  [e]
2553
2563
  );
2554
- }, Ua = () => D(Zt), Ss = Re("canvasWidth", 800), As = w((e) => {
2555
- const t = e(Ss);
2556
- return Fs(t).toLowerCase();
2557
- }), Ui = () => {
2558
- const [e, t] = D(Ss), s = X(As), [o, n] = Ua();
2559
- return Ce(() => {
2564
+ }, Va = () => D(Zt), js = Be("canvasWidth", 800), Ss = w((e) => {
2565
+ const t = e(js);
2566
+ return $s(t).toLowerCase();
2567
+ }), Li = () => {
2568
+ const [e, t] = D(js), s = X(Ss), [o, n] = Va();
2569
+ return Ae(() => {
2560
2570
  o !== "xs" && n(s);
2561
2571
  }, [s, o, n]), [e, s, t];
2562
- }, Wa = Re("canvasZoom", 100), Wi = () => D(Wa), Cs = w([]), Ga = () => {
2563
- const [e, t] = D(Cs), s = Be(ht), o = L(
2572
+ }, $a = Be("canvasZoom", 100), zi = () => D($a), As = w([]), Fa = () => {
2573
+ const [e, t] = D(As), s = _e(ht), o = L(
2564
2574
  (n) => {
2565
2575
  t(n), s([]);
2566
2576
  },
2567
2577
  [t, s]
2568
2578
  );
2569
2579
  return [e, o];
2570
- }, ht = w([]), Gi = () => {
2571
- const [e, t] = D(ht), s = Be(Cs), o = L(
2580
+ }, ht = w([]), Vi = () => {
2581
+ const [e, t] = D(ht), s = _e(As), o = L(
2572
2582
  (n) => {
2573
2583
  t(n), s([]);
2574
2584
  },
2575
2585
  [t, s]
2576
2586
  );
2577
2587
  return [e, o];
2578
- }, _s = Re("darkMode", !1), Hi = () => {
2579
- const [e, t] = D(_s);
2588
+ }, Cs = Be("darkMode", !1), $i = () => {
2589
+ const [e, t] = D(Cs);
2580
2590
  return [e, t];
2581
- }, Ha = () => {
2582
- const [e] = we(), [, t] = $e(), { addBlocks: s } = xe();
2591
+ }, Ua = () => {
2592
+ const [e] = ye(), [, t] = Ve(), { addBlocks: s } = xe();
2583
2593
  return L(
2584
2594
  (o, n = null) => {
2585
2595
  const i = [];
@@ -2589,49 +2599,49 @@ const Va = () => D(Te), $a = (e) => {
2589
2599
  const f = M(
2590
2600
  e,
2591
2601
  (N) => Et(n) ? N._parent === n : !c._parent
2592
- ).indexOf(c) + 1, x = So(e, r, n);
2602
+ ).indexOf(c) + 1, x = No(e, r, n);
2593
2603
  s(x, n, f), i.push(F(x, "0._id", ""));
2594
2604
  }), t(i);
2595
2605
  },
2596
2606
  [e, t]
2597
2607
  );
2598
- }, qa = w([]), qi = () => {
2599
- const [e, t] = D(qa), s = L(
2608
+ }, Wa = w([]), Fi = () => {
2609
+ const [e, t] = D(Wa), s = L(
2600
2610
  (o) => {
2601
2611
  t((n) => q(n, o) ? Ot(n, o) : [...n, o]);
2602
2612
  },
2603
2613
  [t]
2604
2614
  );
2605
2615
  return [e, t, s];
2606
- }, Ka = w(""), Ja = () => D(Ka), Ya = () => {
2607
- const e = X(ie);
2616
+ }, Ga = w(""), Ha = () => D(Ga), qa = () => {
2617
+ const e = X(ae);
2608
2618
  return L(
2609
2619
  (t, s) => {
2610
- const o = R(e, (n) => (q(t, F(n, "_id")) && Se(n, "_parent", s), n));
2620
+ const o = R(e, (n) => (q(t, F(n, "_id")) && je(n, "_parent", s), n));
2611
2621
  console.log("newBlocks", o);
2612
2622
  },
2613
2623
  [e]
2614
2624
  );
2615
- }, Ki = () => {
2625
+ }, Ui = () => {
2616
2626
  console.warn("usePasteBlocks is not implemented");
2617
- const e = X(ht), [t, s] = Ga(), o = Ha(), n = Ya();
2627
+ const e = X(ht), [t, s] = Fa(), o = Ua(), n = qa();
2618
2628
  return {
2619
- canPaste: Ls(
2629
+ canPaste: Os(
2620
2630
  () => t.length > 0 || e.length > 0,
2621
2631
  [e, t]
2622
2632
  ),
2623
2633
  pasteBlocks: L(
2624
2634
  (r) => {
2625
- ve(e) ? n(t, r) : o(e, r), s(() => []);
2635
+ Ee(e) ? n(t, r) : o(e, r), s(() => []);
2626
2636
  },
2627
2637
  [t, e, o, n, s]
2628
2638
  )
2629
2639
  };
2630
- }, Qa = w(!1), Ji = () => {
2631
- const [e, t] = D(Qa);
2640
+ }, Ka = w(!1), Wi = () => {
2641
+ const [e, t] = D(Ka);
2632
2642
  return [e, t];
2633
- }, Xa = w(null, (e, t, { blockIds: s, fullClasses: o }) => {
2634
- const n = Q(e(Te)), i = M(
2643
+ }, Ja = w(null, (e, t, { blockIds: s, fullClasses: o }) => {
2644
+ const n = Q(e(Re)), i = M(
2635
2645
  e(rt),
2636
2646
  (r) => (
2637
2647
  // @ts-ignore
@@ -2640,7 +2650,7 @@ const Va = () => D(Te), $a = (e) => {
2640
2650
  );
2641
2651
  return R(i, (r) => {
2642
2652
  const c = e(r), p = o;
2643
- let { classes: l, baseClasses: f } = wo(F(c, n.prop, "styles:,"));
2653
+ let { classes: l, baseClasses: f } = yo(F(c, n.prop, "styles:,"));
2644
2654
  return ue(p, (x) => {
2645
2655
  const N = new RegExp(`(^| )${x.replace("[", "\\[").replace("]", "\\]")}($| )`, "g");
2646
2656
  l = l.replace(N, " ").replace(/ +/g, " ").trim();
@@ -2656,8 +2666,8 @@ const Va = () => D(Te), $a = (e) => {
2656
2666
  }
2657
2667
  };
2658
2668
  });
2659
- }), Yi = () => {
2660
- const { updateBlocks: e } = xe(), t = Be(Xa);
2669
+ }), Gi = () => {
2670
+ const { updateBlocks: e } = xe(), t = _e(Ja);
2661
2671
  return L(
2662
2672
  (s, o) => {
2663
2673
  const n = t({ blockIds: s, fullClasses: o });
@@ -2665,17 +2675,17 @@ const Va = () => D(Te), $a = (e) => {
2665
2675
  },
2666
2676
  [t]
2667
2677
  );
2668
- }, Bs = w((e) => {
2669
- const t = Q(e(Te)), s = e(ct);
2678
+ }, _s = w((e) => {
2679
+ const t = Q(e(Re)), s = e(ct);
2670
2680
  if (!t || t.blockId !== F(s, "_id", null))
2671
2681
  return [];
2672
2682
  const n = F(s, t.prop, `${me},`).replace(me, "").split(",").join(" ");
2673
- return M(R(n.trim().split(" "), Ie), (i) => !qe(i));
2674
- }), Qi = () => X(Bs), Dt = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, Za = w((e) => {
2675
- const t = e(As), s = e(dt), o = e(_s), n = er(t);
2676
- let i = M(e(Bs), { mod: s });
2683
+ return M(R(n.trim().split(" "), Pe), (i) => !He(i));
2684
+ }), Hi = () => X(_s), Dt = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, Ya = w((e) => {
2685
+ const t = e(Ss), s = e(dt), o = e(Cs), n = Qa(t);
2686
+ let i = M(e(_s), { mod: s });
2677
2687
  return zt(s, "_") || (i = M(i, (r) => n.includes(r.mq))), i = i.sort((r, c) => Dt[r.mq] - Dt[c.mq]), o || (i = M(i, { dark: !1 })), i;
2678
- }), er = (e) => {
2688
+ }), Qa = (e) => {
2679
2689
  let t = [];
2680
2690
  switch (e) {
2681
2691
  case "xs":
@@ -2701,7 +2711,7 @@ const Va = () => D(Te), $a = (e) => {
2701
2711
  break;
2702
2712
  }
2703
2713
  return t;
2704
- }, Xi = () => X(Za), Zi = () => D(dt), el = () => {
2714
+ }, qi = () => X(Ya), Ki = () => D(dt), Ji = () => {
2705
2715
  const { updateBlocks: e } = xe();
2706
2716
  return L(
2707
2717
  (t, s, o) => {
@@ -2709,7 +2719,7 @@ const Va = () => D(Te), $a = (e) => {
2709
2719
  },
2710
2720
  [e]
2711
2721
  );
2712
- }, tl = () => {
2722
+ }, Yi = () => {
2713
2723
  const { updateBlocksRuntime: e } = xe();
2714
2724
  return L(
2715
2725
  (t, s) => {
@@ -2717,13 +2727,13 @@ const Va = () => D(Te), $a = (e) => {
2717
2727
  },
2718
2728
  [e]
2719
2729
  );
2720
- }, Rs = {
2730
+ }, Bs = {
2721
2731
  name: "",
2722
2732
  props: {},
2723
2733
  modalProps: {},
2724
2734
  backdropClose: !0
2725
- }, tr = w(Rs), sl = () => {
2726
- const [e, t] = D(tr), s = L(
2735
+ }, Xa = w(Bs), Qi = () => {
2736
+ const [e, t] = D(Xa), s = L(
2727
2737
  (n, i = {}, r = {}) => {
2728
2738
  t({ name: n, props: i, modalProps: r });
2729
2739
  },
@@ -2731,7 +2741,7 @@ const Va = () => D(Te), $a = (e) => {
2731
2741
  ), o = L(
2732
2742
  (...n) => {
2733
2743
  F(e, "props.onClose", () => {
2734
- })(...n), t(Rs);
2744
+ })(...n), t(Bs);
2735
2745
  },
2736
2746
  [t, e]
2737
2747
  );
@@ -2740,49 +2750,47 @@ const Va = () => D(Te), $a = (e) => {
2740
2750
  openModal: s,
2741
2751
  closeModal: o
2742
2752
  };
2743
- }, ol = () => (console.warn("useAllBlocks is deprecated, use useBlocksStore() instead"), X(ie)), Ts = w(!1);
2744
- Ts.debugLabel = "readOnlyModeAtom";
2745
- const sr = w(!1);
2746
- sr.debugLabel = "advanceStylingOpenAtom";
2747
- const or = w("online");
2748
- or.debugLabel = "networkModeAtom";
2749
- const nr = w(!1);
2750
- nr.debugLabel = "codeEditorOpenAtom";
2751
- const ar = w(!1);
2752
- ar.debugLabel = "editLayerNameAtom";
2753
+ }, Xi = () => (console.warn("useAllBlocks is deprecated, use useBlocksStore() instead"), X(ae)), Rs = w(!1);
2754
+ Rs.debugLabel = "readOnlyModeAtom";
2755
+ const Za = w("online");
2756
+ Za.debugLabel = "networkModeAtom";
2757
+ const er = w(!1);
2758
+ er.debugLabel = "codeEditorOpenAtom";
2759
+ const tr = w(!1);
2760
+ tr.debugLabel = "editLayerNameAtom";
2761
+ const sr = w("");
2762
+ sr.debugLabel = "activeLanguageAtom";
2763
+ const or = w("");
2764
+ or.debugLabel = "primaryLanguageAtom";
2765
+ const nr = w(null);
2766
+ nr.debugLabel = "canvasIframeAtom";
2767
+ const ar = w("outline");
2768
+ ar.debugLabel = "activePanelAtom";
2753
2769
  const rr = w("");
2754
- rr.debugLabel = "activeLanguageAtom";
2770
+ rr.debugLabel = "showPredefinedBlockCategoryAtom";
2771
+ const Ts = w({ undoCount: 0, redoCount: 0 });
2772
+ Ts.debugLabel = "historyStatesAtom";
2755
2773
  const ir = w("");
2756
- ir.debugLabel = "primaryLanguageAtom";
2757
- const lr = w(null);
2758
- lr.debugLabel = "canvasIframeAtom";
2759
- const cr = w("outline");
2760
- cr.debugLabel = "activePanelAtom";
2761
- const dr = w("");
2762
- dr.debugLabel = "showPredefinedBlockCategoryAtom";
2763
- const Ps = w({ undoCount: 0, redoCount: 0 });
2764
- Ps.debugLabel = "historyStatesAtom";
2765
- const ur = w("");
2766
- ur.debugLabel = "inlineEditingActiveAtom";
2767
- const mr = w(!1);
2768
- mr.debugLabel = "draggingFlagAtom";
2769
- const fr = w("");
2770
- fr.debugLabel = "draggedBlockIdAtom";
2771
- const nl = () => X(Ts), pr = w(""), gr = w(null), al = () => D(pr), rl = () => D(gr), br = Re("selectedBreakpoints", ["XS", "MD", "XL"]), il = () => {
2772
- const [e, t] = D(br);
2774
+ ir.debugLabel = "inlineEditingActiveAtom";
2775
+ const lr = w(!1);
2776
+ lr.debugLabel = "draggingFlagAtom";
2777
+ const cr = w("");
2778
+ cr.debugLabel = "draggedBlockIdAtom";
2779
+ const Zi = () => X(Rs), dr = w(""), ur = w(null), el = () => D(dr), tl = () => D(ur), mr = Be("selectedBreakpoints", ["XS", "MD", "XL"]), sl = () => {
2780
+ const [e, t] = D(mr);
2773
2781
  return [e, t];
2774
- }, ll = () => {
2775
- const e = Be(Ps), { clear: t } = is(), [, s] = $e(), [, o] = Ja(), [, n] = Va();
2782
+ }, ol = () => {
2783
+ const e = _e(Ts), { clear: t } = rs(), [, s] = Ve(), [, o] = Ha(), [, n] = Oa();
2776
2784
  return () => {
2777
2785
  s([]), n([]), o(""), t(), e({ undoCount: 0, redoCount: 0 });
2778
2786
  };
2779
- }, xr = w([]), cl = () => {
2780
- const [e, t] = _e(!1), [s, o] = D(xr), n = ke("getUILibraryBlocks", () => []);
2781
- return Ce(() => {
2787
+ }, fr = w([]), nl = () => {
2788
+ const [e, t] = Ce(!1), [s, o] = D(fr), n = Ne("getUILibraryBlocks", () => []);
2789
+ return Ae(() => {
2782
2790
  (async () => s.length > 0 || (t(!0), o(await n()), t(!1)))();
2783
2791
  }, []), { data: s, isLoading: e };
2784
- }, dl = () => {
2785
- const [e, t] = _e(null), s = L(async (o) => {
2792
+ }, al = () => {
2793
+ const [e, t] = Ce(null), s = L(async (o) => {
2786
2794
  if (!(navigator != null && navigator.clipboard))
2787
2795
  return console.warn("Clipboard not supported"), !1;
2788
2796
  try {
@@ -2794,213 +2802,213 @@ const nl = () => X(Ts), pr = w(""), gr = w(null), al = () => D(pr), rl = () => D
2794
2802
  return [e, s];
2795
2803
  };
2796
2804
  export {
2797
- Xi as $,
2798
- ei as A,
2799
- Yo as B,
2805
+ qi as $,
2806
+ Jr as A,
2807
+ qo as B,
2800
2808
  pt as C,
2801
- Fr as D,
2802
- we as E,
2809
+ Or as D,
2810
+ ye as E,
2803
2811
  ts as F,
2804
- qt as G,
2805
- rs as H,
2806
- Ci as I,
2807
- nl as J,
2808
- sl as K,
2809
- $i as L,
2810
- Fi as M,
2811
- Ui as N,
2812
- Wi as O,
2813
- Gi as P,
2814
- dl as Q,
2815
- zo as R,
2816
- _i as S,
2817
- oi as T,
2818
- Ga as U,
2819
- Hi as V,
2820
- Uo as W,
2821
- qi as X,
2822
- Ja as Y,
2823
- Ki as Z,
2824
- Yi as _,
2825
- ti as a,
2826
- wa as a$,
2827
- Qi as a0,
2828
- qr as a1,
2829
- Ua as a2,
2830
- cl as a3,
2831
- Zi as a4,
2832
- el as a5,
2833
- tl as a6,
2834
- Hr as a7,
2835
- ol as a8,
2836
- al as a9,
2837
- da as aA,
2838
- An as aB,
2839
- Jo as aC,
2840
- fi as aD,
2841
- pi as aE,
2842
- Un as aF,
2843
- wi as aG,
2844
- Ni as aH,
2845
- oa as aI,
2846
- ia as aJ,
2847
- la as aK,
2848
- aa as aL,
2812
+ Ht as G,
2813
+ as as H,
2814
+ Ni as I,
2815
+ Zi as J,
2816
+ Qi as K,
2817
+ Ei as L,
2818
+ Oi as M,
2819
+ Li as N,
2820
+ zi as O,
2821
+ Vi as P,
2822
+ al as Q,
2823
+ Eo as R,
2824
+ ki as S,
2825
+ Xr as T,
2826
+ Fa as U,
2827
+ $i as V,
2828
+ Vo as W,
2829
+ Fi as X,
2830
+ Ha as Y,
2831
+ Ui as Z,
2832
+ Gi as _,
2833
+ Yr as a,
2834
+ ha as a$,
2835
+ Hi as a0,
2836
+ Fr as a1,
2837
+ Va as a2,
2838
+ nl as a3,
2839
+ Ki as a4,
2840
+ Ji as a5,
2841
+ Yi as a6,
2842
+ $r as a7,
2843
+ Xi as a8,
2844
+ el as a9,
2845
+ ia as aA,
2846
+ kn as aB,
2847
+ Ho as aC,
2848
+ li as aD,
2849
+ ci as aE,
2850
+ Vn as aF,
2851
+ bi as aG,
2852
+ xi as aH,
2853
+ ea as aI,
2854
+ na as aJ,
2855
+ aa as aK,
2856
+ sa as aL,
2849
2857
  xe as aM,
2850
- mr as aN,
2851
- ur as aO,
2852
- ar as aP,
2853
- fr as aQ,
2854
- Ur as aR,
2855
- Wr as aS,
2856
- or as aT,
2857
- lr as aU,
2858
- ri as aV,
2859
- ii as aW,
2860
- Tn as aX,
2861
- ks as aY,
2862
- va as aZ,
2863
- ya as a_,
2864
- rl as aa,
2865
- il as ab,
2866
- Va as ac,
2867
- ds as ad,
2858
+ lr as aN,
2859
+ ir as aO,
2860
+ tr as aP,
2861
+ cr as aQ,
2862
+ Lr as aR,
2863
+ zr as aS,
2864
+ Za as aT,
2865
+ nr as aU,
2866
+ ti as aV,
2867
+ si as aW,
2868
+ _n as aX,
2869
+ Ns as aY,
2870
+ ba as aZ,
2871
+ xa as a_,
2872
+ tl as aa,
2873
+ sl as ab,
2874
+ Oa as ac,
2875
+ cs as ad,
2868
2876
  xt as ae,
2869
- pn as af,
2870
- bn as ag,
2871
- xn as ah,
2872
- un as ai,
2873
- gi as aj,
2874
- Wn as ak,
2875
- xi as al,
2876
- Gn as am,
2877
- qn as an,
2878
- fn as ao,
2879
- ni as ap,
2880
- ai as aq,
2881
- Rn as ar,
2882
- Zr as as,
2883
- cr as at,
2884
- Bn as au,
2885
- ps as av,
2886
- Ze as aw,
2887
- et as ax,
2888
- bi as ay,
2889
- Hn as az,
2890
- an as b,
2891
- ea as b$,
2892
- Na as b0,
2893
- ja as b1,
2894
- gn as b2,
2877
+ un as af,
2878
+ fn as ag,
2879
+ pn as ah,
2880
+ ln as ai,
2881
+ di as aj,
2882
+ $n as ak,
2883
+ mi as al,
2884
+ Fn as am,
2885
+ Wn as an,
2886
+ dn as ao,
2887
+ Zr as ap,
2888
+ ei as aq,
2889
+ Cn as ar,
2890
+ Kr as as,
2891
+ ar as at,
2892
+ An as au,
2893
+ fs as av,
2894
+ Xe as aw,
2895
+ Ze as ax,
2896
+ ui as ay,
2897
+ Un as az,
2898
+ sn as b,
2899
+ Kn as b$,
2900
+ va as b0,
2901
+ wa as b1,
2902
+ mn as b2,
2895
2903
  Bt as b3,
2896
2904
  _t as b4,
2897
- zi as b5,
2898
- Ei as b6,
2899
- Li as b7,
2900
- Vi as b8,
2901
- Xr as b9,
2902
- nn as bA,
2903
- yn as bB,
2904
- fs as bC,
2905
- Pn as bD,
2906
- li as bE,
2907
- In as bF,
2908
- En as bG,
2909
- On as bH,
2910
- $n as bI,
2911
- Vn as bJ,
2912
- Ln as bK,
2913
- mi as bL,
2914
- zn as bM,
2915
- di as bN,
2916
- Dn as bO,
2917
- Mn as bP,
2918
- ci as bQ,
2919
- ui as bR,
2920
- Fn as bS,
2921
- Kn as bT,
2922
- hi as bU,
2923
- vi as bV,
2924
- yi as bW,
2925
- Yn as bX,
2926
- Qn as bY,
2927
- Xn as bZ,
2928
- Zn as b_,
2929
- Qo as ba,
2930
- Xo as bb,
2931
- Zo as bc,
2932
- jn as bd,
2933
- si as be,
2934
- sr as bf,
2935
- _n as bg,
2936
- hn as bh,
2937
- vn as bi,
2938
- wn as bj,
2939
- Nn as bk,
2940
- Cn as bl,
2941
- kn as bm,
2942
- tn as bn,
2943
- sn as bo,
2944
- dr as bp,
2945
- Ba as bq,
2946
- _a as br,
2947
- Ri as bs,
2948
- Ti as bt,
2949
- Jr as bu,
2950
- Gr as bv,
2951
- Ko as bw,
2952
- qo as bx,
2953
- bt as by,
2954
- on as bz,
2955
- rn as c,
2956
- na as c0,
2957
- ra as c1,
2958
- ca as c2,
2959
- ki as c3,
2960
- ji as c4,
2961
- Si as c5,
2962
- sa as c6,
2963
- ta as c7,
2964
- Ai as c8,
2965
- pa as c9,
2966
- xs as ca,
2967
- ga as cb,
2968
- Bi as cc,
2969
- Sa as cd,
2970
- ka as ce,
2971
- Ra as cf,
2972
- Ta as cg,
2973
- Pa as ch,
2974
- Ia as ci,
2975
- Ma as cj,
2976
- Pi as ck,
2977
- Ii as cl,
2978
- Mi as cm,
2979
- Ca as cn,
2980
- Aa as co,
2981
- Di as cp,
2982
- Oi as cq,
2983
- cn as d,
2984
- dn as e,
2985
- ln as f,
2986
- mn as g,
2987
- ke as h,
2988
- Gt as i,
2989
- Vr as j,
2990
- oo as k,
2905
+ Mi as b5,
2906
+ Ti as b6,
2907
+ Ii as b7,
2908
+ Di as b8,
2909
+ qr as b9,
2910
+ Wo as bA,
2911
+ bt as bB,
2912
+ en as bC,
2913
+ tn as bD,
2914
+ xn as bE,
2915
+ ms as bF,
2916
+ Bn as bG,
2917
+ oi as bH,
2918
+ Rn as bI,
2919
+ In as bJ,
2920
+ Mn as bK,
2921
+ Ln as bL,
2922
+ On as bM,
2923
+ Dn as bN,
2924
+ ii as bO,
2925
+ En as bP,
2926
+ ai as bQ,
2927
+ Pn as bR,
2928
+ Tn as bS,
2929
+ ni as bT,
2930
+ ri as bU,
2931
+ zn as bV,
2932
+ Gn as bW,
2933
+ fi as bX,
2934
+ pi as bY,
2935
+ gi as bZ,
2936
+ qn as b_,
2937
+ Ko as ba,
2938
+ Jo as bb,
2939
+ Yo as bc,
2940
+ wn as bd,
2941
+ Qr as be,
2942
+ Sn as bf,
2943
+ hi as bg,
2944
+ ta as bh,
2945
+ ra as bi,
2946
+ gn as bj,
2947
+ bn as bk,
2948
+ hn as bl,
2949
+ vn as bm,
2950
+ jn as bn,
2951
+ yn as bo,
2952
+ Xo as bp,
2953
+ Zo as bq,
2954
+ rr as br,
2955
+ Aa as bs,
2956
+ Sa as bt,
2957
+ Si as bu,
2958
+ Ai as bv,
2959
+ Wr as bw,
2960
+ Vr as bx,
2961
+ ko as by,
2962
+ Go as bz,
2963
+ on as c,
2964
+ Jn as c0,
2965
+ Yn as c1,
2966
+ Qn as c2,
2967
+ oa as c3,
2968
+ vi as c4,
2969
+ yi as c5,
2970
+ Zn as c6,
2971
+ Xn as c7,
2972
+ wi as c8,
2973
+ ua as c9,
2974
+ bs as ca,
2975
+ ma as cb,
2976
+ ji as cc,
2977
+ Na as cd,
2978
+ ya as ce,
2979
+ Ca as cf,
2980
+ _a as cg,
2981
+ Ba as ch,
2982
+ Ra as ci,
2983
+ Ta as cj,
2984
+ Ci as ck,
2985
+ _i as cl,
2986
+ Bi as cm,
2987
+ ja as cn,
2988
+ ka as co,
2989
+ Ri as cp,
2990
+ Pi as cq,
2991
+ an as d,
2992
+ rn as e,
2993
+ nn as f,
2994
+ cn as g,
2995
+ Ne as h,
2996
+ Wt as i,
2997
+ Dr as j,
2998
+ so as k,
2991
2999
  oe as l,
2992
- uo as m,
2993
- co as n,
2994
- Re as o,
2995
- $r as p,
2996
- Ji as q,
2997
- $e as r,
2998
- Qr as s,
2999
- Ha as t,
3000
- ll as u,
3001
- is as v,
3002
- ie as w,
3003
- yo as x,
3004
- Wo as y,
3005
- Yr as z
3000
+ co as m,
3001
+ lo as n,
3002
+ Be as o,
3003
+ Er as p,
3004
+ Wi as q,
3005
+ Ve as r,
3006
+ Hr as s,
3007
+ Ua as t,
3008
+ ol as u,
3009
+ rs as v,
3010
+ ae as w,
3011
+ vo as x,
3012
+ $o as y,
3013
+ Gr as z
3006
3014
  };