@chaibuilder/sdk 1.1.18 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddBlocks-57-vroWk.cjs +1 -0
- package/dist/AddBlocks-QvCc-oag.js +225 -0
- package/dist/BrandingOptions-arKT1zCy.cjs +1 -0
- package/dist/{BrandingOptions-zFJ28xmJ.js → BrandingOptions-mZXO7thQ.js} +27 -25
- package/dist/{CanvasArea-vTV3O27-.js → CanvasArea-59Gm0EZx.js} +581 -598
- package/dist/CanvasArea-jRg53jrS.cjs +59 -0
- package/dist/CurrentPage-MLObvs0K.cjs +1 -0
- package/dist/{CurrentPage-Ay7X9h9y.js → CurrentPage-YPI5QTjk.js} +17 -14
- package/dist/Functions-7jnEwJyw.js +15 -0
- package/dist/Functions-N3yhPYKY.cjs +1 -0
- package/dist/{Layers-CWnzKXMo.js → Layers-no2keK4N.js} +149 -146
- package/dist/Layers-x_mWeT_q.cjs +1 -0
- package/dist/MODIFIERS-2FeVfZQ9.cjs +1 -0
- package/dist/{MODIFIERS-MLfpKQY1.js → MODIFIERS-RiXS5Mn1.js} +7 -13
- package/dist/MarkAsGlobalBlock-S2BhHTsK.cjs +1 -0
- package/dist/{MarkAsGlobalBlock-uhj0kGZo.js → MarkAsGlobalBlock-SPWd6Flk.js} +9 -7
- package/dist/{PagesPanel-ALbBHaO3.js → PagesPanel-Q08uN4X3.js} +12 -9
- package/dist/PagesPanel-pOIuFPOA.cjs +1 -0
- package/dist/ProjectPanel-4bN_GyNm.cjs +1 -0
- package/dist/{ProjectPanel-tIDarI9R.js → ProjectPanel-zzYV9yrV.js} +25 -22
- package/dist/{Settings-5uDMY9SU.js → Settings-28A7R61i.js} +334 -331
- package/dist/Settings-KlTtgu3w.cjs +1 -0
- package/dist/{SidePanels-D6U95ur1.js → SidePanels--ZK6Iqou.js} +80 -77
- package/dist/SidePanels-eJBA_cUu.cjs +1 -0
- package/dist/{Topbar-_-1HX-EE.js → Topbar-ks1ckGLz.js} +15 -13
- package/dist/Topbar-u5XKdWgQ.cjs +1 -0
- package/dist/{UnsplashImages-mqK09h8E.js → UnsplashImages-8vJPuqrF.js} +25 -23
- package/dist/UnsplashImages-V8oKEHfi.cjs +1 -0
- package/dist/{UploadImages-IDkkRuhx.js → UploadImages-6N6UrjLo.js} +26 -24
- package/dist/UploadImages-eHYxwWAp.cjs +1 -0
- package/dist/_commonjsHelpers-UyOWmZb0.js +8 -0
- package/dist/_commonjsHelpers-wDK0ZLPo.cjs +1 -0
- package/dist/{add-page-modal-C1UGoRkw.js → add-page-modal-EHIYTW4T.js} +27 -24
- package/dist/add-page-modal-OvNXLGf0.cjs +1 -0
- package/dist/{confirm-alert-ea5xpncD.js → confirm-alert-biqvaLT-.js} +9 -7
- package/dist/confirm-alert-f3DYO5Hj.cjs +1 -0
- package/dist/controls-Dy1qa8Dc.cjs +1 -0
- package/dist/controls-XPXGHKht.js +182 -0
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +10 -1
- package/dist/core.js +60 -57
- package/dist/delete-page-modal-U4yiuhx0.cjs +1 -0
- package/dist/{delete-page-modal-0GxR128b.js → delete-page-modal-qZJCk_JH.js} +15 -12
- package/dist/email-blocks.cjs +1 -0
- package/dist/email-blocks.d.ts +3 -0
- package/dist/email-blocks.js +35 -0
- package/dist/{form-irY39wvJ.js → form-Moz_psOw.js} +16 -16
- package/dist/form-lJhy9DEC.cjs +1 -0
- package/dist/functions-Ox_svtKm.cjs +1 -0
- package/dist/functions-xIebp8Aw.js +23 -0
- package/dist/html-to-json-dfALTAdG.cjs +1 -0
- package/dist/{html-to-json-wmbV9eZP.js → html-to-json-xKBERAI1.js} +47 -46
- package/dist/index-IIJ_o44s.cjs +1 -0
- package/dist/{index-qEix1meh.js → index-QEchoZ98.js} +8 -8
- package/dist/{index-0OqmBgqo.js → index-_OgCuSUz.js} +528 -533
- package/dist/{index-npVo1wi3.cjs → index-hMoPNZVn.cjs} +2 -2
- package/dist/{jsx-runtime-NV737rRe.js → jsx-runtime-WbnYoNE9.js} +1 -1
- package/dist/{jsx-runtime-WUGKV8jN.cjs → jsx-runtime-Z_BpKhVy.cjs} +7 -7
- package/dist/lib.cjs +2 -2
- package/dist/lib.d.ts +1 -1
- package/dist/lib.js +47 -44
- package/dist/page-viewer-WhM1FSU0.cjs +1 -0
- package/dist/{page-viewer-mgnZt6nO.js → page-viewer-zFLkUu2I.js} +17 -14
- package/dist/{project-general-setting-M52W-vUp.js → project-general-setting-MWGOOurD.js} +16 -13
- package/dist/project-general-setting-y8daY7V9.cjs +1 -0
- package/dist/project-seo-setting-9JGBPzcA.cjs +1 -0
- package/dist/{project-seo-setting-EhqUcTKy.js → project-seo-setting-dXclexQW.js} +15 -13
- package/dist/render.cjs +1 -1
- package/dist/render.d.ts +1 -1
- package/dist/render.js +50 -49
- package/dist/server.cjs +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +11 -11
- package/dist/single-page-detail--xPv74bX.cjs +1 -0
- package/dist/{single-page-detail-61UDUgWG.js → single-page-detail-C48IPzbd.js} +77 -74
- package/dist/studio.cjs +1 -1
- package/dist/studio.js +11 -8
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +3 -3
- package/dist/ui.js +144 -142
- package/dist/useAddBlockByDrop-_nd8yZBa.cjs +1 -0
- package/dist/useAddBlockByDrop-uPXvrg4G.js +20 -0
- package/dist/{utils-XsPKXMVo.js → utils-AvyFzbPC.js} +26 -35
- package/dist/utils-PTxFk6qT.cjs +1 -0
- package/dist/web-blocks.cjs +9 -0
- package/dist/web-blocks.d.ts +3 -0
- package/dist/web-blocks.js +1033 -0
- package/package.json +5 -2
- package/dist/AddBlocks-sKF4ti68.js +0 -222
- package/dist/AddBlocks-yPovJXtD.cjs +0 -1
- package/dist/BrandingOptions-TRVyCvVq.cjs +0 -1
- package/dist/CanvasArea-xxqOiENt.cjs +0 -59
- package/dist/CurrentPage-ju6otPNk.cjs +0 -1
- package/dist/Layers-d9OU0HRE.cjs +0 -1
- package/dist/MODIFIERS-WFzDQfiT.cjs +0 -1
- package/dist/MarkAsGlobalBlock-CDmEHNx7.cjs +0 -1
- package/dist/PagesPanel-F9Cdi4Pf.cjs +0 -1
- package/dist/ProjectPanel-T49RUDyt.cjs +0 -1
- package/dist/Settings-eZnusNbR.cjs +0 -1
- package/dist/SidePanels-BVM5JwGC.cjs +0 -1
- package/dist/Topbar-gQxbcPtG.cjs +0 -1
- package/dist/UnsplashImages-PNp5fYCc.cjs +0 -1
- package/dist/UploadImages-BoSSsLtD.cjs +0 -1
- package/dist/add-page-modal-HP1yv9yJ.cjs +0 -1
- package/dist/confirm-alert-dHRDZrA1.cjs +0 -1
- package/dist/controls-QnyBNkXG.cjs +0 -36
- package/dist/controls-kEuiMMDf.js +0 -4600
- package/dist/delete-page-modal-yOgfPcHr.cjs +0 -1
- package/dist/form-6qGAOYI3.cjs +0 -1
- package/dist/functions-86L6n983.js +0 -23
- package/dist/functions-Jr7gX_RX.cjs +0 -1
- package/dist/html-to-json-AqLy6ye-.cjs +0 -1
- package/dist/index-d55M5MRz.cjs +0 -1
- package/dist/lodash-2us0VT8I.cjs +0 -36
- package/dist/lodash-3gkdNK5u.js +0 -4538
- package/dist/page-viewer-G2YIKVSt.cjs +0 -1
- package/dist/project-general-setting-sinIiBKe.cjs +0 -1
- package/dist/project-seo-setting-N0OnBCvh.cjs +0 -1
- package/dist/single-page-detail-oa-yTXhQ.cjs +0 -1
- package/dist/useAddBlockByDrop-5QW86HjG.js +0 -20
- package/dist/useAddBlockByDrop-Ckzuvu-s.cjs +0 -1
- package/dist/utils-37UXq2O5.cjs +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { j as a } from "./jsx-runtime-
|
|
1
|
+
import { j as a } from "./jsx-runtime-WbnYoNE9.js";
|
|
2
2
|
import * as m from "react";
|
|
3
|
-
import et, { createContext as Os, useContext as zs, useRef as
|
|
3
|
+
import et, { createContext as Os, useContext as zs, useRef as Cr, createElement as _r, useReducer as Vs, useEffect as je, useDebugValue as $s, useCallback as A, useMemo as Fs, useState as De, Suspense as vt } from "react";
|
|
4
4
|
import * as zt from "@radix-ui/react-toggle";
|
|
5
5
|
import { cva as be } from "class-variance-authority";
|
|
6
|
-
import {
|
|
6
|
+
import { c as Pe, a as c } from "./utils-AvyFzbPC.js";
|
|
7
7
|
import * as He from "@radix-ui/react-switch";
|
|
8
|
-
import { Slot as
|
|
8
|
+
import { Slot as Gs } from "@radix-ui/react-slot";
|
|
9
9
|
import * as pe from "@radix-ui/react-accordion";
|
|
10
|
-
import { ChevronDownIcon as
|
|
10
|
+
import { ChevronDownIcon as Ws, Cross2Icon as tt, ChevronRightIcon as st, CheckIcon as Ee, DotFilledIcon as ot, CaretSortIcon as Us, MagnifyingGlassIcon as Hs } from "@radix-ui/react-icons";
|
|
11
11
|
import * as F from "@radix-ui/react-alert-dialog";
|
|
12
12
|
import * as B from "@radix-ui/react-dialog";
|
|
13
13
|
import * as Vt from "@radix-ui/react-label";
|
|
@@ -23,14 +23,15 @@ import * as $t from "@radix-ui/react-separator";
|
|
|
23
23
|
import * as q from "@radix-ui/react-toast";
|
|
24
24
|
import { Command as U } from "cmdk";
|
|
25
25
|
import * as T from "@radix-ui/react-context-menu";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
26
|
+
import qs, { IconPickerItem as Ks } from "react-icons-picker";
|
|
27
|
+
import Js from "react-dom";
|
|
28
|
+
import { flatten as Y, filter as I, omit as at, isEmpty as oe, isString as Ys, find as se, map as V, each as le, get as E, set as fe, has as nt, includes as $, isUndefined as Lr, without as Ft, forIn as Gt, findIndex as Be, last as Qs, first as ee, startsWith as Wt, isNull as qe, pick as wt, sortBy as Nt, isObject as Xs } from "lodash-es";
|
|
29
|
+
import Zs from "react-quill";
|
|
30
30
|
import { atom as y, useAtom as R, useAtomValue as L, useSetAtom as de } from "jotai";
|
|
31
31
|
import Ut from "flat-to-nested";
|
|
32
|
+
import { g as ce, a as eo } from "./Functions-7jnEwJyw.js";
|
|
32
33
|
import to, { excludeAction as so, ActionCreators as Ve } from "redux-undo";
|
|
33
|
-
import { a as ge, I as Ht, S as Ke, B as Je } from "./MODIFIERS-
|
|
34
|
+
import { a as ge, I as Ht, S as Ke, B as Je } from "./MODIFIERS-RiXS5Mn1.js";
|
|
34
35
|
import { useChaiBlocks as oo } from "@chaibuilder/runtime";
|
|
35
36
|
import { useThrottledCallback as ao } from "@react-hookz/web";
|
|
36
37
|
import "react-i18next";
|
|
@@ -392,7 +393,7 @@ function xo(e, t) {
|
|
|
392
393
|
[s, e]
|
|
393
394
|
);
|
|
394
395
|
}
|
|
395
|
-
function
|
|
396
|
+
function qr(e, t) {
|
|
396
397
|
return [
|
|
397
398
|
bo(e, t),
|
|
398
399
|
// We do wrong type assertion here, which results in throwing an error.
|
|
@@ -509,7 +510,7 @@ function ko(e, t) {
|
|
|
509
510
|
t || wo
|
|
510
511
|
);
|
|
511
512
|
}
|
|
512
|
-
function
|
|
513
|
+
function Kr(e) {
|
|
513
514
|
const t = Symbol(), s = Z(t);
|
|
514
515
|
(rt ? "production" : void 0) !== "production" && (s.debugPrivate = !0);
|
|
515
516
|
const o = Z(
|
|
@@ -600,7 +601,7 @@ const it = y(null);
|
|
|
600
601
|
it.debugLabel = "chaiBuilderPropsAtom";
|
|
601
602
|
const Co = y({});
|
|
602
603
|
Co.debugLabel = "chaiExternalDataAtom";
|
|
603
|
-
const
|
|
604
|
+
const Jr = () => !1, _o = (e) => {
|
|
604
605
|
const t = e.replace(ge, "").split(",");
|
|
605
606
|
return { baseClasses: t[0], classes: t[1] };
|
|
606
607
|
};
|
|
@@ -618,15 +619,15 @@ function Yt(e, t, s) {
|
|
|
618
619
|
for (let r = 0; r < o.length; r++) {
|
|
619
620
|
const i = Qt(o[r]);
|
|
620
621
|
if (Object.keys(i).length > 0 && Object.keys(i).forEach((u) => {
|
|
621
|
-
o[r][u] = `slot:${
|
|
622
|
+
o[r][u] = `slot:${ce()}`;
|
|
622
623
|
}), I(e, { _parent: o[r]._id }).length > 0) {
|
|
623
|
-
const u =
|
|
624
|
+
const u = ce();
|
|
624
625
|
n.push({ ...o[r], oldId: o[r]._id, _id: u, _parent: s }), n.push(Y(Yt(e, o[r]._id, u)));
|
|
625
626
|
} else
|
|
626
627
|
n.push({
|
|
627
628
|
...o[r],
|
|
628
629
|
oldId: o[r]._id,
|
|
629
|
-
_id:
|
|
630
|
+
_id: ce(),
|
|
630
631
|
_parent: s
|
|
631
632
|
});
|
|
632
633
|
}
|
|
@@ -639,11 +640,11 @@ function Ro(e) {
|
|
|
639
640
|
const Qt = (e) => {
|
|
640
641
|
const t = {};
|
|
641
642
|
return Object.keys(e).forEach((s) => {
|
|
642
|
-
|
|
643
|
+
Ys(e[s]) && e[s].startsWith("slot") && (t[s] = e[s].replace("slot:", ""));
|
|
643
644
|
}), t;
|
|
644
645
|
}, Po = (e, t, s = null) => {
|
|
645
646
|
let o = se(e, { _id: t });
|
|
646
|
-
o = { ...o, oldId: o._id, _id:
|
|
647
|
+
o = { ...o, oldId: o._id, _id: ce() }, s && (o = { ...o, _parent: s });
|
|
647
648
|
const n = [o];
|
|
648
649
|
I(e, { _parent: t }).length > 0 && n.push(Y(Yt(e, t, o._id)));
|
|
649
650
|
const r = Y(n);
|
|
@@ -705,8 +706,6 @@ const Io = y("");
|
|
|
705
706
|
Io.debugLabel = "builderActivePageAtom";
|
|
706
707
|
const Mo = y(-1);
|
|
707
708
|
Mo.debugLabel = "destinationDropIndexAtom";
|
|
708
|
-
const Do = y(!1);
|
|
709
|
-
Do.debugLabel = "addBlocksModalAtom";
|
|
710
709
|
const Zt = y([]);
|
|
711
710
|
Zt.debugLabel = "buildingBlocksAtom";
|
|
712
711
|
const es = y((e) => {
|
|
@@ -717,7 +716,7 @@ es.debugLabel = "globalBlocksAtom";
|
|
|
717
716
|
const K = () => {
|
|
718
717
|
const [, e] = R(Oe);
|
|
719
718
|
return e;
|
|
720
|
-
},
|
|
719
|
+
}, Yr = () => {
|
|
721
720
|
const e = K(), t = L(Xt), s = A(
|
|
722
721
|
(o) => {
|
|
723
722
|
const n = Jt(o);
|
|
@@ -726,7 +725,7 @@ const K = () => {
|
|
|
726
725
|
[e]
|
|
727
726
|
);
|
|
728
727
|
return [t, s];
|
|
729
|
-
},
|
|
728
|
+
}, Qr = () => {
|
|
730
729
|
const e = K();
|
|
731
730
|
return [A(
|
|
732
731
|
(s) => {
|
|
@@ -734,11 +733,11 @@ const K = () => {
|
|
|
734
733
|
},
|
|
735
734
|
[e]
|
|
736
735
|
)];
|
|
737
|
-
},
|
|
736
|
+
}, Do = (e) => ["Box", "Slot", "Form", "Link", "Paragraph", "Heading", "List", "ListItem", "Table", "TableCell"].includes(e), Xr = (e) => !["Slot"].includes(e), Zr = (e) => !["Slot"].includes(e);
|
|
738
737
|
function Ye(e, t) {
|
|
739
|
-
return e === "Slot" || t === "List" && e !== "ListItem" || t === "Row" && e !== "Column" || t === "Heading" && !$(["Span", "Text"], e) || t === "Paragraph" && !$(["Span", "Text"], e) ? !1 :
|
|
738
|
+
return e === "Slot" || t === "List" && e !== "ListItem" || t === "Row" && e !== "Column" || t === "Heading" && !$(["Span", "Text"], e) || t === "Paragraph" && !$(["Span", "Text"], e) ? !1 : Do(t);
|
|
740
739
|
}
|
|
741
|
-
const
|
|
740
|
+
const ei = (e, { dragSource: t, dropTarget: s }) => {
|
|
742
741
|
const o = E(t, "data._type", ""), n = E(s, "data._type", "");
|
|
743
742
|
return o === "Slot" || E(t, "id") && E(t, "id") === E(s, "id") ? !1 : oe(n) ? !0 : Ye(o, n);
|
|
744
743
|
}, ct = y([]);
|
|
@@ -759,11 +758,11 @@ const ut = y((e) => {
|
|
|
759
758
|
};
|
|
760
759
|
});
|
|
761
760
|
ut.debugLabel = "selectedBlockAtom";
|
|
762
|
-
const
|
|
763
|
-
const t = e(dt), s = V(t,
|
|
761
|
+
const Eo = (e) => E(e, "parent", null), Lo = y((e) => {
|
|
762
|
+
const t = e(dt), s = V(t, Eo);
|
|
764
763
|
return I(e(Q), (o) => $(s, o._id));
|
|
765
764
|
});
|
|
766
|
-
|
|
765
|
+
Lo.debugLabel = "selectedBlocksParentsAtom";
|
|
767
766
|
const ts = y(() => !1);
|
|
768
767
|
ts.debugLabel = "selectedBlockFlexChildAtom";
|
|
769
768
|
const ss = y(() => !1);
|
|
@@ -772,10 +771,10 @@ const mt = y("");
|
|
|
772
771
|
mt.debugLabel = "styleStateAtom";
|
|
773
772
|
const os = Ae("styleBreakpoint", "xs");
|
|
774
773
|
os.debugLabel = "styleBreakpointAtom";
|
|
775
|
-
const
|
|
774
|
+
const ti = () => ({
|
|
776
775
|
flexChild: L(ts),
|
|
777
776
|
gridChild: L(ss)
|
|
778
|
-
}),
|
|
777
|
+
}), si = () => L(ut);
|
|
779
778
|
const Ce = () => {
|
|
780
779
|
const [e, t] = R(ct), s = A(
|
|
781
780
|
(o) => {
|
|
@@ -850,9 +849,9 @@ const Ce = () => {
|
|
|
850
849
|
}, as = (e) => {
|
|
851
850
|
const t = {};
|
|
852
851
|
return Object.keys(e).forEach((s) => {
|
|
853
|
-
t[s] =
|
|
852
|
+
t[s] = zo(e[s]);
|
|
854
853
|
}), t;
|
|
855
|
-
},
|
|
854
|
+
}, Oo = (e) => {
|
|
856
855
|
if (oe(e.default))
|
|
857
856
|
return [];
|
|
858
857
|
const { itemProperties: t } = e;
|
|
@@ -862,24 +861,24 @@ const Ce = () => {
|
|
|
862
861
|
nt(t, r) && E(t[r], "i18n", !1) && (o[r] = Ht);
|
|
863
862
|
}), o;
|
|
864
863
|
});
|
|
865
|
-
},
|
|
864
|
+
}, zo = (e) => {
|
|
866
865
|
switch (e.type) {
|
|
867
866
|
case "styles":
|
|
868
867
|
return e.default;
|
|
869
868
|
case "slot":
|
|
870
|
-
return `${Ke}${
|
|
869
|
+
return `${Ke}${ce()}`;
|
|
871
870
|
case "singular":
|
|
872
871
|
const { i18n: t, schema: s } = e;
|
|
873
872
|
return t ? Ht : E(s, "default", "");
|
|
874
873
|
case "model":
|
|
875
874
|
return as(e.properties);
|
|
876
875
|
case "list":
|
|
877
|
-
return
|
|
876
|
+
return Oo(e);
|
|
878
877
|
default:
|
|
879
878
|
return "";
|
|
880
879
|
}
|
|
881
880
|
};
|
|
882
|
-
const
|
|
881
|
+
const Vo = () => L(Q);
|
|
883
882
|
function Pt(e, t, s, o, n) {
|
|
884
883
|
if (s !== null) {
|
|
885
884
|
const p = Be(e, { _parent: t }), l = (p === -1 ? 0 : p) + s;
|
|
@@ -891,17 +890,17 @@ function Pt(e, t, s, o, n) {
|
|
|
891
890
|
}
|
|
892
891
|
let r = Be(e, { _id: t });
|
|
893
892
|
const i = I(e, { _parent: t });
|
|
894
|
-
oe(i) || (r = Be(e, { _id:
|
|
893
|
+
oe(i) || (r = Be(e, { _id: Qs(i)._id }));
|
|
895
894
|
const u = r + 1;
|
|
896
895
|
return e.splice(u, 0, ...o), e;
|
|
897
896
|
}
|
|
898
|
-
const
|
|
899
|
-
const e = K(), t =
|
|
897
|
+
const oi = () => {
|
|
898
|
+
const e = K(), t = Vo(), [, s] = Ce(), o = A(
|
|
900
899
|
(r, i, u) => {
|
|
901
900
|
var w;
|
|
902
901
|
for (let k = 0; k < r.length; k++) {
|
|
903
902
|
const { _id: D } = r[k];
|
|
904
|
-
r[k]._id =
|
|
903
|
+
r[k]._id = ce();
|
|
905
904
|
const W = I(r, { _parent: D });
|
|
906
905
|
for (let G = 0; G < W.length; G++)
|
|
907
906
|
W[G]._parent = r[k]._id;
|
|
@@ -923,7 +922,7 @@ const ai = () => {
|
|
|
923
922
|
const G = r.blocks;
|
|
924
923
|
return o(G, i, u);
|
|
925
924
|
}
|
|
926
|
-
const p =
|
|
925
|
+
const p = ce(), l = as(r.props), b = [];
|
|
927
926
|
Gt(l, (G, ae) => {
|
|
928
927
|
if (Wt(G, Ke)) {
|
|
929
928
|
const he = G.replace(Ke, "");
|
|
@@ -962,7 +961,7 @@ const ai = () => {
|
|
|
962
961
|
xl: 1280,
|
|
963
962
|
"2xl": 1536
|
|
964
963
|
}, It = ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
965
|
-
function
|
|
964
|
+
function $o(e, t) {
|
|
966
965
|
if (t === null)
|
|
967
966
|
return "baseClasses";
|
|
968
967
|
const s = t.mq;
|
|
@@ -983,7 +982,7 @@ function Fo(e, t) {
|
|
|
983
982
|
return o;
|
|
984
983
|
}
|
|
985
984
|
const Mt = [];
|
|
986
|
-
function
|
|
985
|
+
function Fo(e = "", t = "", s = []) {
|
|
987
986
|
e = e.trim().replace(/ +/g, "");
|
|
988
987
|
let o = I(
|
|
989
988
|
V(e.split(" "), Pe),
|
|
@@ -994,12 +993,12 @@ function Go(e = "", t = "", s = []) {
|
|
|
994
993
|
(l) => !$(Mt, l.property)
|
|
995
994
|
);
|
|
996
995
|
const r = [], i = [];
|
|
997
|
-
|
|
996
|
+
le(s, (l) => {
|
|
998
997
|
const b = Pe(l), w = se(o, wt(b, ["dark", "mq", "mod", "property"]));
|
|
999
998
|
if (w && (o = I(
|
|
1000
999
|
o,
|
|
1001
1000
|
(k) => k.fullCls !== (w == null ? void 0 : w.fullCls)
|
|
1002
|
-
)), r.push(b), b.mq === "xs" && !b.dark && b.mod === "" && (n = I(n, (k) => k.property !== b.property)),
|
|
1001
|
+
)), r.push(b), b.mq === "xs" && !b.dark && b.mod === "" && (n = I(n, (k) => k.property !== b.property)), $o(o, b) === "baseClasses" && !$(Mt, b.property)) {
|
|
1003
1002
|
const k = se(n, wt(b, ["property"]));
|
|
1004
1003
|
w && (n = I(
|
|
1005
1004
|
n,
|
|
@@ -1022,10 +1021,10 @@ function Go(e = "", t = "", s = []) {
|
|
|
1022
1021
|
}
|
|
1023
1022
|
const _e = y([]);
|
|
1024
1023
|
_e.debugLabel = "selectedStylingBlocksAtom";
|
|
1025
|
-
const ns = () => R(_e),
|
|
1024
|
+
const ns = () => R(_e), Go = (e) => {
|
|
1026
1025
|
const t = e.replace(ge, "").split(",");
|
|
1027
1026
|
return { baseClasses: t[0], classes: t[1] };
|
|
1028
|
-
},
|
|
1027
|
+
}, Wo = y(null, (e, t, { blockIds: s, newClasses: o, dispatch: n }) => {
|
|
1029
1028
|
const r = I(
|
|
1030
1029
|
e(lt),
|
|
1031
1030
|
(u) => (
|
|
@@ -1033,18 +1032,18 @@ const ns = () => R(_e), Wo = (e) => {
|
|
|
1033
1032
|
s.includes(e(u)._id)
|
|
1034
1033
|
)
|
|
1035
1034
|
), i = ee(e(_e));
|
|
1036
|
-
|
|
1037
|
-
const p = e(u), l = E(p, i.prop, `${ge},`), { baseClasses: b, classes: w } =
|
|
1035
|
+
le(r, (u) => {
|
|
1036
|
+
const p = e(u), l = E(p, i.prop, `${ge},`), { baseClasses: b, classes: w } = Go(l);
|
|
1038
1037
|
n({
|
|
1039
1038
|
type: "update_props_realtime",
|
|
1040
1039
|
payload: {
|
|
1041
1040
|
ids: [p._id],
|
|
1042
|
-
props: { [i.prop]: `${ge}${
|
|
1041
|
+
props: { [i.prop]: `${ge}${Fo(w, b, o)}` }
|
|
1043
1042
|
}
|
|
1044
1043
|
});
|
|
1045
1044
|
});
|
|
1046
|
-
}),
|
|
1047
|
-
const e = K(), t = de(
|
|
1045
|
+
}), ai = () => {
|
|
1046
|
+
const e = K(), t = de(Wo);
|
|
1048
1047
|
return A(
|
|
1049
1048
|
(s, o, n) => {
|
|
1050
1049
|
t({ blockIds: s, newClasses: o, dispatch: e }), n && setTimeout(() => e({ type: "create_snapshot" }), 500);
|
|
@@ -1052,22 +1051,22 @@ const ns = () => R(_e), Wo = (e) => {
|
|
|
1052
1051
|
[e, t]
|
|
1053
1052
|
);
|
|
1054
1053
|
}, Dt = () => {
|
|
1055
|
-
},
|
|
1054
|
+
}, Uo = () => {
|
|
1056
1055
|
const e = oo(), t = L(es), s = () => {
|
|
1057
1056
|
Dt();
|
|
1058
1057
|
}, o = A(() => Dt(), []);
|
|
1059
1058
|
return [e, t, s, o];
|
|
1060
|
-
},
|
|
1061
|
-
const [e, t] = R(
|
|
1059
|
+
}, Ho = y(!1), qo = () => {
|
|
1060
|
+
const [e, t] = R(Ho);
|
|
1062
1061
|
return [e, t];
|
|
1063
|
-
},
|
|
1064
|
-
const [e, t] = R(
|
|
1062
|
+
}, Ko = y(Je), Jo = () => {
|
|
1063
|
+
const [e, t] = R(Ko);
|
|
1065
1064
|
return [
|
|
1066
|
-
|
|
1065
|
+
Xs(e) ? { ...Je, ...e } : Je,
|
|
1067
1066
|
t
|
|
1068
1067
|
];
|
|
1069
|
-
},
|
|
1070
|
-
function
|
|
1068
|
+
}, Yo = y(null), Qo = () => ({ currentPage: L(Yo) }), rs = new Ut({});
|
|
1069
|
+
function Xo(e) {
|
|
1071
1070
|
let t = rs.convert(e);
|
|
1072
1071
|
return t = !t.type && t.children && t.children.length ? t.children : oe(t) ? [] : [t], t;
|
|
1073
1072
|
}
|
|
@@ -1093,11 +1092,11 @@ function ft(e, t = !1) {
|
|
|
1093
1092
|
}
|
|
1094
1093
|
function is(e) {
|
|
1095
1094
|
let t = [], s = I(e, { type: "GlobalBlock" });
|
|
1096
|
-
return s.length > 0 && (s = V(s, ls),
|
|
1097
|
-
t = [...t, ...
|
|
1095
|
+
return s.length > 0 && (s = V(s, ls), le(s, (o) => {
|
|
1096
|
+
t = [...t, ...Zo(o)];
|
|
1098
1097
|
})), t;
|
|
1099
1098
|
}
|
|
1100
|
-
function
|
|
1099
|
+
function Zo(e) {
|
|
1101
1100
|
let t = [];
|
|
1102
1101
|
const s = E(ee(e), "parent", null);
|
|
1103
1102
|
fe(ee(e), "parent", null);
|
|
@@ -1115,20 +1114,20 @@ function ls(e) {
|
|
|
1115
1114
|
}
|
|
1116
1115
|
const cs = (e) => JSON.parse(JSON.stringify(e));
|
|
1117
1116
|
let Qe = [];
|
|
1118
|
-
function
|
|
1117
|
+
function ea(e) {
|
|
1119
1118
|
Qe = e;
|
|
1120
|
-
const t =
|
|
1119
|
+
const t = Xo(cs(e));
|
|
1121
1120
|
ft(t);
|
|
1122
1121
|
const s = pt(t, null), o = is(s), n = {};
|
|
1123
|
-
return
|
|
1122
|
+
return le(o, (r) => fe(n, ee(r).blockId, r)), [s, n];
|
|
1124
1123
|
}
|
|
1125
1124
|
const ds = () => {
|
|
1126
|
-
const [e] =
|
|
1125
|
+
const [e] = Jo(), { currentPage: t } = Qo(), s = L(Q);
|
|
1127
1126
|
return A(() => {
|
|
1128
1127
|
const o = V(
|
|
1129
1128
|
s,
|
|
1130
1129
|
(i) => at(i, ["expanded", "order", "title", "siblings", "tempClasses"])
|
|
1131
|
-
), [n = [], r = []] =
|
|
1130
|
+
), [n = [], r = []] = ea(o);
|
|
1132
1131
|
return {
|
|
1133
1132
|
currentPage: t,
|
|
1134
1133
|
blocks: n,
|
|
@@ -1140,43 +1139,41 @@ const ds = () => {
|
|
|
1140
1139
|
return E(s, e, t);
|
|
1141
1140
|
}, us = y(!1);
|
|
1142
1141
|
us.debugLabel = "readOnlyModeAtom";
|
|
1143
|
-
const
|
|
1144
|
-
|
|
1145
|
-
const
|
|
1146
|
-
|
|
1142
|
+
const ta = y(!1);
|
|
1143
|
+
ta.debugLabel = "advanceStylingOpenAtom";
|
|
1144
|
+
const sa = y("online");
|
|
1145
|
+
sa.debugLabel = "networkModeAtom";
|
|
1146
|
+
const oa = y(!1);
|
|
1147
|
+
oa.debugLabel = "codeEditorOpenAtom";
|
|
1147
1148
|
const aa = y(!1);
|
|
1148
|
-
aa.debugLabel = "
|
|
1149
|
-
const na = y(
|
|
1150
|
-
na.debugLabel = "
|
|
1149
|
+
aa.debugLabel = "editLayerNameAtom";
|
|
1150
|
+
const na = y("");
|
|
1151
|
+
na.debugLabel = "activeLanguageAtom";
|
|
1151
1152
|
const ra = y("");
|
|
1152
|
-
ra.debugLabel = "
|
|
1153
|
-
const ia = y(
|
|
1154
|
-
ia.debugLabel = "
|
|
1155
|
-
const la = y(
|
|
1156
|
-
la.debugLabel = "
|
|
1157
|
-
const ca = y("
|
|
1158
|
-
ca.debugLabel = "
|
|
1159
|
-
const da = y(!1);
|
|
1160
|
-
da.debugLabel = "addBlockOffCanvasAtom";
|
|
1161
|
-
const ua = y("");
|
|
1162
|
-
ua.debugLabel = "showPredefinedBlockCategoryAtom";
|
|
1153
|
+
ra.debugLabel = "primaryLanguageAtom";
|
|
1154
|
+
const ia = y(null);
|
|
1155
|
+
ia.debugLabel = "canvasIframeAtom";
|
|
1156
|
+
const la = y("layers");
|
|
1157
|
+
la.debugLabel = "activePanelAtom";
|
|
1158
|
+
const ca = y("");
|
|
1159
|
+
ca.debugLabel = "showPredefinedBlockCategoryAtom";
|
|
1163
1160
|
const ze = y({ undoCount: 0, redoCount: 0 });
|
|
1164
1161
|
ze.debugLabel = "historyStatesAtom";
|
|
1162
|
+
const da = y("");
|
|
1163
|
+
da.debugLabel = "inlineEditingActiveAtom";
|
|
1164
|
+
const ua = y(!1);
|
|
1165
|
+
ua.debugLabel = "draggingFlagAtom";
|
|
1165
1166
|
const ma = y("");
|
|
1166
|
-
ma.debugLabel = "
|
|
1167
|
-
const pa = y(!1);
|
|
1168
|
-
pa.debugLabel = "draggingFlagAtom";
|
|
1169
|
-
const fa = y("");
|
|
1170
|
-
fa.debugLabel = "draggedBlockIdAtom";
|
|
1167
|
+
ma.debugLabel = "draggedBlockIdAtom";
|
|
1171
1168
|
const ms = y([]);
|
|
1172
1169
|
ms.debugLabel = "dataProvidersAtom";
|
|
1173
|
-
const
|
|
1170
|
+
const pa = () => R(ms), gt = y("SAVED");
|
|
1174
1171
|
gt.debugLabel = "pageSyncStateAtom";
|
|
1175
|
-
const
|
|
1172
|
+
const ni = () => {
|
|
1176
1173
|
const [e, t] = R(gt), s = ve("onSaveBlocks", async () => {
|
|
1177
1174
|
}), o = ve("onSavePage", async () => {
|
|
1178
1175
|
}), n = ve("onSyncStatusChange", () => {
|
|
1179
|
-
}), r = ds(), i = de(ze), { undoCount: u, redoCount: p } = bt(), [l] =
|
|
1176
|
+
}), r = ds(), i = de(ze), { undoCount: u, redoCount: p } = bt(), [l] = pa();
|
|
1180
1177
|
return { savePage: ao(
|
|
1181
1178
|
async () => {
|
|
1182
1179
|
t("SAVING"), n("SAVING");
|
|
@@ -1190,7 +1187,7 @@ const ri = () => {
|
|
|
1190
1187
|
// save only every 5 seconds
|
|
1191
1188
|
), syncState: e, setSyncState: t };
|
|
1192
1189
|
}, bt = () => {
|
|
1193
|
-
const e = L(Oe), [{ undoCount: t, redoCount: s }] = R(ze), o = K(), [n] =
|
|
1190
|
+
const e = L(Oe), [{ undoCount: t, redoCount: s }] = R(ze), o = K(), [n] = qo(), [, r] = Ce(), [, i] = ns(), [u, p] = R(gt), l = ve("onSyncStatusChange", () => {
|
|
1194
1191
|
}), b = A(() => {
|
|
1195
1192
|
o({ type: "create_snapshot" });
|
|
1196
1193
|
}, [o]);
|
|
@@ -1214,15 +1211,15 @@ const ri = () => {
|
|
|
1214
1211
|
},
|
|
1215
1212
|
createSnapshot: b
|
|
1216
1213
|
};
|
|
1217
|
-
},
|
|
1214
|
+
}, fa = () => R(os), ps = Ae("canvasWidth", 800), fs = y((e) => {
|
|
1218
1215
|
const t = e(ps);
|
|
1219
|
-
return
|
|
1220
|
-
}),
|
|
1221
|
-
const [e, t] = R(ps), s = L(fs), [o, n] =
|
|
1216
|
+
return eo(t).toLowerCase();
|
|
1217
|
+
}), ri = () => {
|
|
1218
|
+
const [e, t] = R(ps), s = L(fs), [o, n] = fa();
|
|
1222
1219
|
return je(() => {
|
|
1223
1220
|
o !== "xs" && n(s);
|
|
1224
1221
|
}, [s, o, n]), [e, s, t];
|
|
1225
|
-
},
|
|
1222
|
+
}, ga = Ae("canvasZoom", 100), ii = () => R(ga), gs = y([]), ba = () => {
|
|
1226
1223
|
const [e, t] = R(gs), s = de(xt), o = A(
|
|
1227
1224
|
(n) => {
|
|
1228
1225
|
t(n), s([]);
|
|
@@ -1230,7 +1227,7 @@ const ri = () => {
|
|
|
1230
1227
|
[t, s]
|
|
1231
1228
|
);
|
|
1232
1229
|
return [e, o];
|
|
1233
|
-
}, xt = y([]),
|
|
1230
|
+
}, xt = y([]), li = () => {
|
|
1234
1231
|
const [e, t] = R(xt), s = de(gs), o = A(
|
|
1235
1232
|
(n) => {
|
|
1236
1233
|
t(n), s([]);
|
|
@@ -1238,42 +1235,42 @@ const ri = () => {
|
|
|
1238
1235
|
[t, s]
|
|
1239
1236
|
);
|
|
1240
1237
|
return [e, o];
|
|
1241
|
-
}, bs = Ae("darkMode", !1),
|
|
1238
|
+
}, bs = Ae("darkMode", !1), ci = () => {
|
|
1242
1239
|
const [e, t] = R(bs);
|
|
1243
1240
|
return [e, t];
|
|
1244
|
-
},
|
|
1245
|
-
const [e, t] = R(
|
|
1241
|
+
}, xa = y(!1), di = () => {
|
|
1242
|
+
const [e, t] = R(xa);
|
|
1246
1243
|
return [e, t];
|
|
1247
|
-
},
|
|
1244
|
+
}, ha = () => {
|
|
1248
1245
|
const e = K(), t = L(Q), [, s] = Ce();
|
|
1249
1246
|
return A(
|
|
1250
1247
|
(o, n = null) => {
|
|
1251
1248
|
const r = [];
|
|
1252
|
-
|
|
1249
|
+
le(o, (i) => {
|
|
1253
1250
|
const p = Po(t, i, n === i ? null : n);
|
|
1254
1251
|
r.push(E(p, "0._id", "")), e({ type: "add_duplicate_blocks", payload: p });
|
|
1255
1252
|
}), s(r), e({ type: "create_snapshot" });
|
|
1256
1253
|
},
|
|
1257
1254
|
[t, s, e]
|
|
1258
1255
|
);
|
|
1259
|
-
},
|
|
1260
|
-
const [e, t] = R(
|
|
1256
|
+
}, ya = y([]), ui = () => {
|
|
1257
|
+
const [e, t] = R(ya), s = A(
|
|
1261
1258
|
(o) => {
|
|
1262
1259
|
t((n) => $(n, o) ? Ft(n, o) : [...n, o]);
|
|
1263
1260
|
},
|
|
1264
1261
|
[t]
|
|
1265
1262
|
);
|
|
1266
1263
|
return [e, t, s];
|
|
1267
|
-
},
|
|
1268
|
-
const e = L(Q), t = K(), s = ds(), [, , o] =
|
|
1264
|
+
}, va = y(""), wa = () => R(va), mi = () => {
|
|
1265
|
+
const e = L(Q), t = K(), s = ds(), [, , o] = Uo();
|
|
1269
1266
|
return A(
|
|
1270
1267
|
async (n, r) => {
|
|
1271
|
-
const i =
|
|
1268
|
+
const i = ce(16), u = V(e, (p) => (p._id === n && (p._globalBlockId = i, p._name = r), p));
|
|
1272
1269
|
t({ type: "set_page_blocks", payload: u }), o();
|
|
1273
1270
|
},
|
|
1274
1271
|
[e, t, s, o]
|
|
1275
1272
|
);
|
|
1276
|
-
},
|
|
1273
|
+
}, pi = () => ({}), Na = () => {
|
|
1277
1274
|
const e = L(Q), t = K();
|
|
1278
1275
|
return A(
|
|
1279
1276
|
(s, o) => {
|
|
@@ -1282,8 +1279,8 @@ const ri = () => {
|
|
|
1282
1279
|
},
|
|
1283
1280
|
[e, t]
|
|
1284
1281
|
);
|
|
1285
|
-
},
|
|
1286
|
-
const e = L(xt), [t, s] =
|
|
1282
|
+
}, fi = () => {
|
|
1283
|
+
const e = L(xt), [t, s] = ba(), o = ha(), n = Na();
|
|
1287
1284
|
return {
|
|
1288
1285
|
canPaste: Fs(
|
|
1289
1286
|
() => t.length > 0 || e.length > 0,
|
|
@@ -1296,8 +1293,8 @@ const ri = () => {
|
|
|
1296
1293
|
[t, e, o, n, s]
|
|
1297
1294
|
)
|
|
1298
1295
|
};
|
|
1299
|
-
},
|
|
1300
|
-
const e = L(
|
|
1296
|
+
}, ka = y(""), gi = () => {
|
|
1297
|
+
const e = L(ka), t = A(() => {
|
|
1301
1298
|
}, []), s = A(() => {
|
|
1302
1299
|
}, []), o = A(() => {
|
|
1303
1300
|
}, []);
|
|
@@ -1305,7 +1302,7 @@ const ri = () => {
|
|
|
1305
1302
|
}, xs = (e, t) => {
|
|
1306
1303
|
const s = [], o = I(e, (n) => $(t, n._id) || $(t, n._parent) ? (s.push(n._id), !1) : !0);
|
|
1307
1304
|
return oe(s) ? o : xs(o, s);
|
|
1308
|
-
},
|
|
1305
|
+
}, bi = () => {
|
|
1309
1306
|
const e = K(), t = L(Q), [s, o] = Ce();
|
|
1310
1307
|
return A(
|
|
1311
1308
|
(n) => {
|
|
@@ -1315,7 +1312,7 @@ const ri = () => {
|
|
|
1315
1312
|
},
|
|
1316
1313
|
[t, o, e, s]
|
|
1317
1314
|
);
|
|
1318
|
-
},
|
|
1315
|
+
}, Sa = y(null, (e, t, { blockIds: s, fullClasses: o, dispatch: n }) => {
|
|
1319
1316
|
const r = ee(e(_e)), i = I(
|
|
1320
1317
|
e(lt),
|
|
1321
1318
|
(u) => (
|
|
@@ -1323,15 +1320,15 @@ const ri = () => {
|
|
|
1323
1320
|
s.includes(e(u)._id)
|
|
1324
1321
|
)
|
|
1325
1322
|
);
|
|
1326
|
-
|
|
1323
|
+
le(i, (u) => {
|
|
1327
1324
|
const p = e(u), l = o;
|
|
1328
1325
|
let { classes: b, baseClasses: w } = _o(E(p, r.prop, "styles:,"));
|
|
1329
|
-
|
|
1326
|
+
le(l, (k) => {
|
|
1330
1327
|
const D = new RegExp(`(^| )${k.replace("[", "\\[").replace("]", "\\]")}($| )`, "g");
|
|
1331
1328
|
b = b.replace(D, " ").replace(/ +/g, " ").trim();
|
|
1332
1329
|
const W = ee(k.split(":"));
|
|
1333
1330
|
$(["2xl", "xl", "lg", "md", "sm"], W) && l.push(k.split(":").pop().trim());
|
|
1334
|
-
}),
|
|
1331
|
+
}), le(l, (k) => {
|
|
1335
1332
|
const D = new RegExp(`(^| )${k.replace("[", "\\[").replace("]", "\\]")}($| )`, "g");
|
|
1336
1333
|
w = w.replace(D, " ").replace(/ +/g, " ").trim();
|
|
1337
1334
|
}), n({
|
|
@@ -1344,8 +1341,8 @@ const ri = () => {
|
|
|
1344
1341
|
}
|
|
1345
1342
|
});
|
|
1346
1343
|
});
|
|
1347
|
-
}),
|
|
1348
|
-
const e = K(), t = de(
|
|
1344
|
+
}), xi = () => {
|
|
1345
|
+
const e = K(), t = de(Sa);
|
|
1349
1346
|
return A(
|
|
1350
1347
|
(s, o) => {
|
|
1351
1348
|
t({ blockIds: s, fullClasses: o, dispatch: e }), setTimeout(() => e({ type: "create_snapshot" }));
|
|
@@ -1358,11 +1355,11 @@ const ri = () => {
|
|
|
1358
1355
|
return [];
|
|
1359
1356
|
const n = E(s, t.prop, `${ge},`).replace(ge, "").split(",").join(" ");
|
|
1360
1357
|
return I(V(n.trim().split(" "), Pe), (r) => !qe(r));
|
|
1361
|
-
}),
|
|
1362
|
-
const t = e(fs), s = e(mt), o = e(bs), n =
|
|
1358
|
+
}), hi = () => L(hs), Et = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, ja = y((e) => {
|
|
1359
|
+
const t = e(fs), s = e(mt), o = e(bs), n = Aa(t);
|
|
1363
1360
|
let r = I(e(hs), { mod: s });
|
|
1364
1361
|
return Wt(s, "_") || (r = I(r, (i) => n.includes(i.mq))), r = r.sort((i, u) => Et[i.mq] - Et[u.mq]), o || (r = I(r, { dark: !1 })), r;
|
|
1365
|
-
}),
|
|
1362
|
+
}), Aa = (e) => {
|
|
1366
1363
|
let t = [];
|
|
1367
1364
|
switch (e) {
|
|
1368
1365
|
case "xs":
|
|
@@ -1388,12 +1385,12 @@ const ri = () => {
|
|
|
1388
1385
|
break;
|
|
1389
1386
|
}
|
|
1390
1387
|
return t;
|
|
1391
|
-
},
|
|
1388
|
+
}, yi = () => L(ja), vi = () => R(mt), ys = y(null, (e, t, { blockIds: s, props: o, dispatch: n }) => {
|
|
1392
1389
|
n({
|
|
1393
1390
|
type: "update_props_realtime",
|
|
1394
1391
|
payload: { ids: s, props: o }
|
|
1395
1392
|
});
|
|
1396
|
-
}),
|
|
1393
|
+
}), wi = () => {
|
|
1397
1394
|
const { createSnapshot: e } = bt(), t = K(), s = de(ys);
|
|
1398
1395
|
return A(
|
|
1399
1396
|
(o, n) => {
|
|
@@ -1401,7 +1398,7 @@ const ri = () => {
|
|
|
1401
1398
|
},
|
|
1402
1399
|
[e, t, s]
|
|
1403
1400
|
);
|
|
1404
|
-
},
|
|
1401
|
+
}, Ni = () => {
|
|
1405
1402
|
const e = K(), t = de(ys);
|
|
1406
1403
|
return A(
|
|
1407
1404
|
(s, o) => {
|
|
@@ -1414,8 +1411,8 @@ const ri = () => {
|
|
|
1414
1411
|
props: {},
|
|
1415
1412
|
modalProps: {},
|
|
1416
1413
|
backdropClose: !0
|
|
1417
|
-
},
|
|
1418
|
-
const [e, t] = R(
|
|
1414
|
+
}, Ca = y(vs), ki = () => {
|
|
1415
|
+
const [e, t] = R(Ca), s = A(
|
|
1419
1416
|
(n, r = {}, i = {}) => {
|
|
1420
1417
|
t({ name: n, props: r, modalProps: i });
|
|
1421
1418
|
},
|
|
@@ -1432,31 +1429,31 @@ const ri = () => {
|
|
|
1432
1429
|
openModal: s,
|
|
1433
1430
|
closeModal: o
|
|
1434
1431
|
};
|
|
1435
|
-
},
|
|
1436
|
-
const [e, t] = R(
|
|
1432
|
+
}, Si = () => L(us), _a = y(""), Ba = y(null), ji = () => R(_a), Ai = () => R(Ba), Ra = Ae("selectedBreakpoints", ["XS", "MD", "XL"]), Ci = () => {
|
|
1433
|
+
const [e, t] = R(Ra);
|
|
1437
1434
|
return [e, t];
|
|
1438
|
-
},
|
|
1439
|
-
const e = de(ze), { clear: t } = bt(), [, s] = Ce(), [, o] =
|
|
1435
|
+
}, _i = () => {
|
|
1436
|
+
const e = de(ze), { clear: t } = bt(), [, s] = Ce(), [, o] = wa(), [, n] = ns();
|
|
1440
1437
|
return () => {
|
|
1441
1438
|
s([]), n([]), o(""), t(), e({ undoCount: 0, redoCount: 0 });
|
|
1442
1439
|
};
|
|
1443
|
-
},
|
|
1444
|
-
const [e, t] = R(
|
|
1440
|
+
}, Pa = y({ en: {} }), Bi = () => {
|
|
1441
|
+
const [e, t] = R(Pa), s = A(
|
|
1445
1442
|
(o, n, r) => {
|
|
1446
1443
|
fe(e, `${o}.${n}`, r), t(e);
|
|
1447
1444
|
},
|
|
1448
1445
|
[e, t]
|
|
1449
1446
|
);
|
|
1450
1447
|
return [e, s];
|
|
1451
|
-
},
|
|
1448
|
+
}, Ri = (e, t) => {
|
|
1452
1449
|
const [s] = R(it);
|
|
1453
1450
|
return E(s, e, t);
|
|
1454
|
-
},
|
|
1455
|
-
const [e, t] = De(!1), [s, o] = R(
|
|
1451
|
+
}, Ta = y([]), Pi = () => {
|
|
1452
|
+
const [e, t] = De(!1), [s, o] = R(Ta), n = ve("getUILibraryBlocks", () => []);
|
|
1456
1453
|
return je(() => {
|
|
1457
1454
|
(async () => s.length > 0 || (t(!0), o(await n()), t(!1)))();
|
|
1458
1455
|
}, []), { data: s, isLoading: e };
|
|
1459
|
-
},
|
|
1456
|
+
}, Ia = be(
|
|
1460
1457
|
"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",
|
|
1461
1458
|
{
|
|
1462
1459
|
variants: {
|
|
@@ -1475,9 +1472,9 @@ const ri = () => {
|
|
|
1475
1472
|
size: "default"
|
|
1476
1473
|
}
|
|
1477
1474
|
}
|
|
1478
|
-
),
|
|
1479
|
-
|
|
1480
|
-
const
|
|
1475
|
+
), Ma = m.forwardRef(({ className: e, variant: t, size: s, ...o }, n) => /* @__PURE__ */ a.jsx(zt.Root, { ref: n, className: c(Ia({ variant: t, size: s, className: e })), ...o }));
|
|
1476
|
+
Ma.displayName = zt.Root.displayName;
|
|
1477
|
+
const Da = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1481
1478
|
He.Root,
|
|
1482
1479
|
{
|
|
1483
1480
|
className: c(
|
|
@@ -1496,7 +1493,7 @@ const La = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1496
1493
|
)
|
|
1497
1494
|
}
|
|
1498
1495
|
));
|
|
1499
|
-
|
|
1496
|
+
Da.displayName = He.Root.displayName;
|
|
1500
1497
|
const ht = be(
|
|
1501
1498
|
"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",
|
|
1502
1499
|
{
|
|
@@ -1521,16 +1518,16 @@ const ht = be(
|
|
|
1521
1518
|
size: "default"
|
|
1522
1519
|
}
|
|
1523
1520
|
}
|
|
1524
|
-
),
|
|
1521
|
+
), Ea = m.forwardRef(
|
|
1525
1522
|
({ className: e, variant: t, size: s, asChild: o = !1, ...n }, r) => {
|
|
1526
|
-
const i = o ?
|
|
1523
|
+
const i = o ? Gs : "button";
|
|
1527
1524
|
return /* @__PURE__ */ a.jsx(i, { className: c(ht({ variant: t, size: s, className: e })), ref: r, ...n });
|
|
1528
1525
|
}
|
|
1529
1526
|
);
|
|
1530
|
-
|
|
1531
|
-
const
|
|
1532
|
-
|
|
1533
|
-
const
|
|
1527
|
+
Ea.displayName = "Button";
|
|
1528
|
+
const Ti = pe.Root, La = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(pe.Item, { ref: s, className: c("border-b", e), ...t }));
|
|
1529
|
+
La.displayName = "AccordionItem";
|
|
1530
|
+
const Oa = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(pe.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
|
|
1534
1531
|
pe.Trigger,
|
|
1535
1532
|
{
|
|
1536
1533
|
ref: o,
|
|
@@ -1541,12 +1538,12 @@ const Va = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1541
1538
|
...s,
|
|
1542
1539
|
children: [
|
|
1543
1540
|
t,
|
|
1544
|
-
/* @__PURE__ */ a.jsx(
|
|
1541
|
+
/* @__PURE__ */ a.jsx(Ws, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
1545
1542
|
]
|
|
1546
1543
|
}
|
|
1547
1544
|
) }));
|
|
1548
|
-
|
|
1549
|
-
const
|
|
1545
|
+
Oa.displayName = pe.Trigger.displayName;
|
|
1546
|
+
const za = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1550
1547
|
pe.Content,
|
|
1551
1548
|
{
|
|
1552
1549
|
ref: o,
|
|
@@ -1558,8 +1555,8 @@ const $a = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1558
1555
|
children: /* @__PURE__ */ a.jsx("div", { className: "pb-4 pt-0", children: t })
|
|
1559
1556
|
}
|
|
1560
1557
|
));
|
|
1561
|
-
|
|
1562
|
-
const
|
|
1558
|
+
za.displayName = pe.Content.displayName;
|
|
1559
|
+
const Va = be(
|
|
1563
1560
|
"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",
|
|
1564
1561
|
{
|
|
1565
1562
|
variants: {
|
|
@@ -1572,17 +1569,17 @@ const Fa = be(
|
|
|
1572
1569
|
variant: "default"
|
|
1573
1570
|
}
|
|
1574
1571
|
}
|
|
1575
|
-
),
|
|
1576
|
-
|
|
1577
|
-
const
|
|
1572
|
+
), $a = m.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx("div", { ref: o, role: "alert", className: c(Va({ variant: t }), e), ...s }));
|
|
1573
|
+
$a.displayName = "Alert";
|
|
1574
|
+
const Fa = m.forwardRef(
|
|
1578
1575
|
({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("h5", { ref: s, className: c("mb-1 font-medium leading-none tracking-tight", e), ...t })
|
|
1579
1576
|
);
|
|
1580
|
-
|
|
1581
|
-
const
|
|
1577
|
+
Fa.displayName = "AlertTitle";
|
|
1578
|
+
const Ga = m.forwardRef(
|
|
1582
1579
|
({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: c("text-sm [&_p]:leading-relaxed", e), ...t })
|
|
1583
1580
|
);
|
|
1584
|
-
|
|
1585
|
-
const
|
|
1581
|
+
Ga.displayName = "AlertDescription";
|
|
1582
|
+
const Wa = be(
|
|
1586
1583
|
"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",
|
|
1587
1584
|
{
|
|
1588
1585
|
variants: {
|
|
@@ -1597,7 +1594,7 @@ const Ha = be(
|
|
|
1597
1594
|
variant: "default"
|
|
1598
1595
|
}
|
|
1599
1596
|
}
|
|
1600
|
-
),
|
|
1597
|
+
), Ii = ({ className: e, variant: t, ...s }) => /* @__PURE__ */ a.jsx("div", { className: c(Wa({ variant: t }), e), ...s }), Mi = F.Root, Di = F.Trigger, ws = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(F.Portal, { className: c(e), ...t });
|
|
1601
1598
|
ws.displayName = F.Portal.displayName;
|
|
1602
1599
|
const Ns = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1603
1600
|
F.Overlay,
|
|
@@ -1611,7 +1608,7 @@ const Ns = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1611
1608
|
}
|
|
1612
1609
|
));
|
|
1613
1610
|
Ns.displayName = F.Overlay.displayName;
|
|
1614
|
-
const
|
|
1611
|
+
const Ua = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(ws, { children: [
|
|
1615
1612
|
/* @__PURE__ */ a.jsx(Ns, {}),
|
|
1616
1613
|
/* @__PURE__ */ a.jsx(
|
|
1617
1614
|
F.Content,
|
|
@@ -1625,18 +1622,18 @@ const qa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs(ws
|
|
|
1625
1622
|
}
|
|
1626
1623
|
)
|
|
1627
1624
|
] }));
|
|
1628
|
-
|
|
1629
|
-
const
|
|
1630
|
-
|
|
1631
|
-
const
|
|
1632
|
-
|
|
1633
|
-
const
|
|
1634
|
-
|
|
1635
|
-
const
|
|
1636
|
-
|
|
1637
|
-
const
|
|
1638
|
-
|
|
1639
|
-
const
|
|
1625
|
+
Ua.displayName = F.Content.displayName;
|
|
1626
|
+
const Ha = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
1627
|
+
Ha.displayName = "AlertDialogHeader";
|
|
1628
|
+
const qa = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
1629
|
+
qa.displayName = "AlertDialogFooter";
|
|
1630
|
+
const Ka = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(F.Title, { ref: s, className: c("text-lg font-semibold", e), ...t }));
|
|
1631
|
+
Ka.displayName = F.Title.displayName;
|
|
1632
|
+
const Ja = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(F.Description, { ref: s, className: c("text-sm text-muted-foreground", e), ...t }));
|
|
1633
|
+
Ja.displayName = F.Description.displayName;
|
|
1634
|
+
const Ya = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(F.Action, { ref: s, className: c(ht(), e), ...t }));
|
|
1635
|
+
Ya.displayName = F.Action.displayName;
|
|
1636
|
+
const Qa = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1640
1637
|
F.Cancel,
|
|
1641
1638
|
{
|
|
1642
1639
|
ref: s,
|
|
@@ -1644,8 +1641,8 @@ const Za = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1644
1641
|
...t
|
|
1645
1642
|
}
|
|
1646
1643
|
));
|
|
1647
|
-
|
|
1648
|
-
const ks = B.Root,
|
|
1644
|
+
Qa.displayName = F.Cancel.displayName;
|
|
1645
|
+
const ks = B.Root, Xa = B.Trigger, Ss = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(B.Portal, { className: c(e), ...t });
|
|
1649
1646
|
Ss.displayName = B.Portal.displayName;
|
|
1650
1647
|
const js = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1651
1648
|
B.Overlay,
|
|
@@ -1681,11 +1678,11 @@ const yt = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1681
1678
|
)
|
|
1682
1679
|
] }));
|
|
1683
1680
|
yt.displayName = B.Content.displayName;
|
|
1684
|
-
const
|
|
1685
|
-
|
|
1686
|
-
const
|
|
1687
|
-
|
|
1688
|
-
const
|
|
1681
|
+
const Za = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
1682
|
+
Za.displayName = "DialogHeader";
|
|
1683
|
+
const en = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
1684
|
+
en.displayName = "DialogFooter";
|
|
1685
|
+
const tn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1689
1686
|
B.Title,
|
|
1690
1687
|
{
|
|
1691
1688
|
ref: s,
|
|
@@ -1693,32 +1690,32 @@ const on = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1693
1690
|
...t
|
|
1694
1691
|
}
|
|
1695
1692
|
));
|
|
1696
|
-
|
|
1697
|
-
const
|
|
1698
|
-
|
|
1699
|
-
const
|
|
1700
|
-
|
|
1701
|
-
const
|
|
1693
|
+
tn.displayName = B.Title.displayName;
|
|
1694
|
+
const sn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Description, { ref: s, className: c("text-sm text-muted-foreground", e), ...t }));
|
|
1695
|
+
sn.displayName = B.Description.displayName;
|
|
1696
|
+
const on = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: c("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
|
|
1697
|
+
on.displayName = "Card";
|
|
1698
|
+
const an = m.forwardRef(
|
|
1702
1699
|
({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: c("flex flex-col space-y-1.5 p-6", e), ...t })
|
|
1703
1700
|
);
|
|
1704
|
-
|
|
1705
|
-
const
|
|
1701
|
+
an.displayName = "CardHeader";
|
|
1702
|
+
const nn = m.forwardRef(
|
|
1706
1703
|
({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("h3", { ref: s, className: c("font-semibold leading-none tracking-tight", e), ...t })
|
|
1707
1704
|
);
|
|
1708
|
-
|
|
1709
|
-
const
|
|
1705
|
+
nn.displayName = "CardTitle";
|
|
1706
|
+
const rn = m.forwardRef(
|
|
1710
1707
|
({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("p", { ref: s, className: c("text-sm text-muted-foreground", e), ...t })
|
|
1711
1708
|
);
|
|
1712
|
-
|
|
1713
|
-
const
|
|
1709
|
+
rn.displayName = "CardDescription";
|
|
1710
|
+
const ln = m.forwardRef(
|
|
1714
1711
|
({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: c("p-6 pt-0", e), ...t })
|
|
1715
1712
|
);
|
|
1716
|
-
|
|
1717
|
-
const
|
|
1713
|
+
ln.displayName = "CardContent";
|
|
1714
|
+
const cn = m.forwardRef(
|
|
1718
1715
|
({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: c(" flex items-center p-6 pt-0", e), ...t })
|
|
1719
1716
|
);
|
|
1720
|
-
|
|
1721
|
-
const
|
|
1717
|
+
cn.displayName = "CardFooter";
|
|
1718
|
+
const dn = m.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1722
1719
|
"input",
|
|
1723
1720
|
{
|
|
1724
1721
|
type: t,
|
|
@@ -1730,10 +1727,10 @@ const mn = m.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */
|
|
|
1730
1727
|
...s
|
|
1731
1728
|
}
|
|
1732
1729
|
));
|
|
1733
|
-
|
|
1734
|
-
const
|
|
1735
|
-
|
|
1736
|
-
const
|
|
1730
|
+
dn.displayName = "Input";
|
|
1731
|
+
const un = be("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), mn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Vt.Root, { ref: s, className: c(un(), e), ...t }));
|
|
1732
|
+
mn.displayName = Vt.Root.displayName;
|
|
1733
|
+
const pn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1737
1734
|
"textarea",
|
|
1738
1735
|
{
|
|
1739
1736
|
className: c(
|
|
@@ -1744,13 +1741,13 @@ const gn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1744
1741
|
...t
|
|
1745
1742
|
}
|
|
1746
1743
|
));
|
|
1747
|
-
|
|
1748
|
-
const
|
|
1744
|
+
pn.displayName = "Textarea";
|
|
1745
|
+
const fn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(me.Root, { ref: o, className: c("relative overflow-hidden", e), ...s, children: [
|
|
1749
1746
|
/* @__PURE__ */ a.jsx(me.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
|
|
1750
1747
|
/* @__PURE__ */ a.jsx(As, {}),
|
|
1751
1748
|
/* @__PURE__ */ a.jsx(me.Corner, {})
|
|
1752
1749
|
] }));
|
|
1753
|
-
|
|
1750
|
+
fn.displayName = me.Root.displayName;
|
|
1754
1751
|
const As = m.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1755
1752
|
me.ScrollAreaScrollbar,
|
|
1756
1753
|
{
|
|
@@ -1767,7 +1764,7 @@ const As = m.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o)
|
|
|
1767
1764
|
}
|
|
1768
1765
|
));
|
|
1769
1766
|
As.displayName = me.ScrollAreaScrollbar.displayName;
|
|
1770
|
-
const
|
|
1767
|
+
const gn = xe.Root, Cs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1771
1768
|
xe.List,
|
|
1772
1769
|
{
|
|
1773
1770
|
ref: s,
|
|
@@ -1803,7 +1800,7 @@ const Ze = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1803
1800
|
}
|
|
1804
1801
|
));
|
|
1805
1802
|
Ze.displayName = xe.Content.displayName;
|
|
1806
|
-
const
|
|
1803
|
+
const Ei = we.Portal, Li = we.Provider, Oi = we.Root, zi = we.Trigger, bn = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1807
1804
|
we.Content,
|
|
1808
1805
|
{
|
|
1809
1806
|
ref: o,
|
|
@@ -1815,8 +1812,8 @@ const Li = we.Portal, Oi = we.Provider, zi = we.Root, Vi = we.Trigger, hn = m.fo
|
|
|
1815
1812
|
...s
|
|
1816
1813
|
}
|
|
1817
1814
|
));
|
|
1818
|
-
|
|
1819
|
-
const
|
|
1815
|
+
bn.displayName = we.Content.displayName;
|
|
1816
|
+
const Vi = Se.Root, $i = Se.Trigger, xn = m.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(Se.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
1820
1817
|
Se.Content,
|
|
1821
1818
|
{
|
|
1822
1819
|
ref: n,
|
|
@@ -1829,8 +1826,8 @@ const $i = Se.Root, Fi = Se.Trigger, yn = m.forwardRef(({ className: e, align: t
|
|
|
1829
1826
|
...o
|
|
1830
1827
|
}
|
|
1831
1828
|
) }));
|
|
1832
|
-
|
|
1833
|
-
const
|
|
1829
|
+
xn.displayName = Se.Content.displayName;
|
|
1830
|
+
const Fi = C.Menu, Gi = C.Group, Wi = C.Portal, Ui = C.Sub, Hi = C.RadioGroup, hn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1834
1831
|
C.Root,
|
|
1835
1832
|
{
|
|
1836
1833
|
ref: s,
|
|
@@ -1838,8 +1835,8 @@ const Gi = C.Menu, Wi = C.Group, Ui = C.Portal, Hi = C.Sub, qi = C.RadioGroup, v
|
|
|
1838
1835
|
...t
|
|
1839
1836
|
}
|
|
1840
1837
|
));
|
|
1841
|
-
|
|
1842
|
-
const
|
|
1838
|
+
hn.displayName = C.Root.displayName;
|
|
1839
|
+
const yn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1843
1840
|
C.Trigger,
|
|
1844
1841
|
{
|
|
1845
1842
|
ref: s,
|
|
@@ -1850,8 +1847,8 @@ const wn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1850
1847
|
...t
|
|
1851
1848
|
}
|
|
1852
1849
|
));
|
|
1853
|
-
|
|
1854
|
-
const
|
|
1850
|
+
yn.displayName = C.Trigger.displayName;
|
|
1851
|
+
const vn = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
1855
1852
|
C.SubTrigger,
|
|
1856
1853
|
{
|
|
1857
1854
|
ref: n,
|
|
@@ -1867,8 +1864,8 @@ const Nn = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /*
|
|
|
1867
1864
|
]
|
|
1868
1865
|
}
|
|
1869
1866
|
));
|
|
1870
|
-
|
|
1871
|
-
const
|
|
1867
|
+
vn.displayName = C.SubTrigger.displayName;
|
|
1868
|
+
const wn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1872
1869
|
C.SubContent,
|
|
1873
1870
|
{
|
|
1874
1871
|
ref: s,
|
|
@@ -1879,8 +1876,8 @@ const kn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1879
1876
|
...t
|
|
1880
1877
|
}
|
|
1881
1878
|
));
|
|
1882
|
-
|
|
1883
|
-
const
|
|
1879
|
+
wn.displayName = C.SubContent.displayName;
|
|
1880
|
+
const Nn = m.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4, sideOffset: o = 8, ...n }, r) => /* @__PURE__ */ a.jsx(C.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
1884
1881
|
C.Content,
|
|
1885
1882
|
{
|
|
1886
1883
|
ref: r,
|
|
@@ -1894,8 +1891,8 @@ const Sn = m.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4
|
|
|
1894
1891
|
...n
|
|
1895
1892
|
}
|
|
1896
1893
|
) }));
|
|
1897
|
-
|
|
1898
|
-
const
|
|
1894
|
+
Nn.displayName = C.Content.displayName;
|
|
1895
|
+
const kn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1899
1896
|
C.Item,
|
|
1900
1897
|
{
|
|
1901
1898
|
ref: o,
|
|
@@ -1907,8 +1904,8 @@ const jn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
|
|
|
1907
1904
|
...s
|
|
1908
1905
|
}
|
|
1909
1906
|
));
|
|
1910
|
-
|
|
1911
|
-
const
|
|
1907
|
+
kn.displayName = C.Item.displayName;
|
|
1908
|
+
const Sn = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
1912
1909
|
C.CheckboxItem,
|
|
1913
1910
|
{
|
|
1914
1911
|
ref: n,
|
|
@@ -1924,8 +1921,8 @@ const An = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
|
|
|
1924
1921
|
]
|
|
1925
1922
|
}
|
|
1926
1923
|
));
|
|
1927
|
-
|
|
1928
|
-
const
|
|
1924
|
+
Sn.displayName = C.CheckboxItem.displayName;
|
|
1925
|
+
const jn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
|
|
1929
1926
|
C.RadioItem,
|
|
1930
1927
|
{
|
|
1931
1928
|
ref: o,
|
|
@@ -1940,8 +1937,8 @@ const Cn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1940
1937
|
]
|
|
1941
1938
|
}
|
|
1942
1939
|
));
|
|
1943
|
-
|
|
1944
|
-
const
|
|
1940
|
+
jn.displayName = C.RadioItem.displayName;
|
|
1941
|
+
const An = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1945
1942
|
C.Label,
|
|
1946
1943
|
{
|
|
1947
1944
|
ref: o,
|
|
@@ -1949,12 +1946,12 @@ const _n = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
|
|
|
1949
1946
|
...s
|
|
1950
1947
|
}
|
|
1951
1948
|
));
|
|
1952
|
-
|
|
1953
|
-
const
|
|
1954
|
-
|
|
1955
|
-
const
|
|
1956
|
-
|
|
1957
|
-
const
|
|
1949
|
+
An.displayName = C.Label.displayName;
|
|
1950
|
+
const Cn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(C.Separator, { ref: s, className: c("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
1951
|
+
Cn.displayName = C.Separator.displayName;
|
|
1952
|
+
const _n = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: c("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
1953
|
+
_n.displayname = "MenubarShortcut";
|
|
1954
|
+
const qi = Le.Root, Ki = Le.Trigger, Bn = m.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(
|
|
1958
1955
|
Le.Content,
|
|
1959
1956
|
{
|
|
1960
1957
|
ref: n,
|
|
@@ -1967,8 +1964,8 @@ const Ki = Le.Root, Ji = Le.Trigger, Pn = m.forwardRef(({ className: e, align: t
|
|
|
1967
1964
|
...o
|
|
1968
1965
|
}
|
|
1969
1966
|
));
|
|
1970
|
-
|
|
1971
|
-
const
|
|
1967
|
+
Bn.displayName = Le.Content.displayName;
|
|
1968
|
+
const Ji = O.Root, Yi = O.Group, Qi = O.Value, Rn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
|
|
1972
1969
|
O.Trigger,
|
|
1973
1970
|
{
|
|
1974
1971
|
ref: o,
|
|
@@ -1979,12 +1976,12 @@ const Yi = O.Root, Qi = O.Group, Xi = O.Value, Tn = m.forwardRef(({ className: e
|
|
|
1979
1976
|
...s,
|
|
1980
1977
|
children: [
|
|
1981
1978
|
t,
|
|
1982
|
-
/* @__PURE__ */ a.jsx(O.Icon, { asChild: !0, children: /* @__PURE__ */ a.jsx(
|
|
1979
|
+
/* @__PURE__ */ a.jsx(O.Icon, { asChild: !0, children: /* @__PURE__ */ a.jsx(Us, { className: "h-4 w-4 opacity-50" }) })
|
|
1983
1980
|
]
|
|
1984
1981
|
}
|
|
1985
1982
|
));
|
|
1986
|
-
|
|
1987
|
-
const
|
|
1983
|
+
Rn.displayName = O.Trigger.displayName;
|
|
1984
|
+
const Pn = m.forwardRef(({ className: e, children: t, position: s = "popper", ...o }, n) => /* @__PURE__ */ a.jsx(O.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
1988
1985
|
O.Content,
|
|
1989
1986
|
{
|
|
1990
1987
|
ref: n,
|
|
@@ -2007,10 +2004,10 @@ const In = m.forwardRef(({ className: e, children: t, position: s = "popper", ..
|
|
|
2007
2004
|
)
|
|
2008
2005
|
}
|
|
2009
2006
|
) }));
|
|
2010
|
-
|
|
2011
|
-
const
|
|
2012
|
-
|
|
2013
|
-
const
|
|
2007
|
+
Pn.displayName = O.Content.displayName;
|
|
2008
|
+
const Tn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(O.Label, { ref: s, className: c("px-2 py-1.5 text-sm font-semibold", e), ...t }));
|
|
2009
|
+
Tn.displayName = O.Label.displayName;
|
|
2010
|
+
const In = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
|
|
2014
2011
|
O.Item,
|
|
2015
2012
|
{
|
|
2016
2013
|
ref: o,
|
|
@@ -2025,10 +2022,10 @@ const Dn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
2025
2022
|
]
|
|
2026
2023
|
}
|
|
2027
2024
|
));
|
|
2028
|
-
|
|
2029
|
-
const
|
|
2030
|
-
|
|
2031
|
-
const
|
|
2025
|
+
In.displayName = O.Item.displayName;
|
|
2026
|
+
const Mn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(O.Separator, { ref: s, className: c("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
2027
|
+
Mn.displayName = O.Separator.displayName;
|
|
2028
|
+
const Xi = B.Root, Zi = B.Trigger, el = B.Close, _s = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(B.Portal, { className: c(e), ...t });
|
|
2032
2029
|
_s.displayName = B.Portal.displayName;
|
|
2033
2030
|
const Bs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2034
2031
|
B.Overlay,
|
|
@@ -2042,7 +2039,7 @@ const Bs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2042
2039
|
}
|
|
2043
2040
|
));
|
|
2044
2041
|
Bs.displayName = B.Overlay.displayName;
|
|
2045
|
-
const
|
|
2042
|
+
const Dn = be(
|
|
2046
2043
|
"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",
|
|
2047
2044
|
{
|
|
2048
2045
|
variants: {
|
|
@@ -2057,10 +2054,10 @@ const Ln = be(
|
|
|
2057
2054
|
side: "right"
|
|
2058
2055
|
}
|
|
2059
2056
|
}
|
|
2060
|
-
),
|
|
2057
|
+
), En = m.forwardRef(
|
|
2061
2058
|
({ side: e = "right", className: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(_s, { children: [
|
|
2062
2059
|
/* @__PURE__ */ a.jsx(Bs, {}),
|
|
2063
|
-
/* @__PURE__ */ a.jsxs(B.Content, { ref: n, className: c(
|
|
2060
|
+
/* @__PURE__ */ a.jsxs(B.Content, { ref: n, className: c(Dn({ side: e }), t), ...o, children: [
|
|
2064
2061
|
s,
|
|
2065
2062
|
/* @__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: [
|
|
2066
2063
|
/* @__PURE__ */ a.jsx(tt, { className: "h-4 w-4" }),
|
|
@@ -2069,16 +2066,16 @@ const Ln = be(
|
|
|
2069
2066
|
] })
|
|
2070
2067
|
] })
|
|
2071
2068
|
);
|
|
2072
|
-
|
|
2073
|
-
const
|
|
2074
|
-
|
|
2075
|
-
const
|
|
2076
|
-
|
|
2077
|
-
const
|
|
2078
|
-
|
|
2079
|
-
const
|
|
2080
|
-
|
|
2081
|
-
const
|
|
2069
|
+
En.displayName = B.Content.displayName;
|
|
2070
|
+
const Ln = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
2071
|
+
Ln.displayName = "SheetHeader";
|
|
2072
|
+
const On = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
2073
|
+
On.displayName = "SheetFooter";
|
|
2074
|
+
const zn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Title, { ref: s, className: c("text-lg font-semibold text-foreground", e), ...t }));
|
|
2075
|
+
zn.displayName = B.Title.displayName;
|
|
2076
|
+
const Vn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(B.Description, { ref: s, className: c("text-sm text-muted-foreground", e), ...t }));
|
|
2077
|
+
Vn.displayName = B.Description.displayName;
|
|
2078
|
+
const tl = P.Root, sl = P.Trigger, ol = P.Group, al = P.Portal, nl = P.Sub, rl = P.RadioGroup, $n = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2082
2079
|
P.SubTrigger,
|
|
2083
2080
|
{
|
|
2084
2081
|
ref: n,
|
|
@@ -2094,8 +2091,8 @@ const sl = P.Root, ol = P.Trigger, al = P.Group, nl = P.Portal, rl = P.Sub, il =
|
|
|
2094
2091
|
]
|
|
2095
2092
|
}
|
|
2096
2093
|
));
|
|
2097
|
-
|
|
2098
|
-
const
|
|
2094
|
+
$n.displayName = P.SubTrigger.displayName;
|
|
2095
|
+
const Fn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2099
2096
|
P.SubContent,
|
|
2100
2097
|
{
|
|
2101
2098
|
ref: s,
|
|
@@ -2106,8 +2103,8 @@ const Wn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2106
2103
|
...t
|
|
2107
2104
|
}
|
|
2108
2105
|
));
|
|
2109
|
-
|
|
2110
|
-
const
|
|
2106
|
+
Fn.displayName = P.SubContent.displayName;
|
|
2107
|
+
const Gn = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(P.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
2111
2108
|
P.Content,
|
|
2112
2109
|
{
|
|
2113
2110
|
ref: o,
|
|
@@ -2120,8 +2117,8 @@ const Un = m.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__
|
|
|
2120
2117
|
...s
|
|
2121
2118
|
}
|
|
2122
2119
|
) }));
|
|
2123
|
-
|
|
2124
|
-
const
|
|
2120
|
+
Gn.displayName = P.Content.displayName;
|
|
2121
|
+
const Wn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
2125
2122
|
P.Item,
|
|
2126
2123
|
{
|
|
2127
2124
|
ref: o,
|
|
@@ -2133,8 +2130,8 @@ const Hn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
|
|
|
2133
2130
|
...s
|
|
2134
2131
|
}
|
|
2135
2132
|
));
|
|
2136
|
-
|
|
2137
|
-
const
|
|
2133
|
+
Wn.displayName = P.Item.displayName;
|
|
2134
|
+
const Un = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2138
2135
|
P.CheckboxItem,
|
|
2139
2136
|
{
|
|
2140
2137
|
ref: n,
|
|
@@ -2150,8 +2147,8 @@ const qn = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
|
|
|
2150
2147
|
]
|
|
2151
2148
|
}
|
|
2152
2149
|
));
|
|
2153
|
-
|
|
2154
|
-
const
|
|
2150
|
+
Un.displayName = P.CheckboxItem.displayName;
|
|
2151
|
+
const Hn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
|
|
2155
2152
|
P.RadioItem,
|
|
2156
2153
|
{
|
|
2157
2154
|
ref: o,
|
|
@@ -2166,8 +2163,8 @@ const Kn = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
2166
2163
|
]
|
|
2167
2164
|
}
|
|
2168
2165
|
));
|
|
2169
|
-
|
|
2170
|
-
const
|
|
2166
|
+
Hn.displayName = P.RadioItem.displayName;
|
|
2167
|
+
const qn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
2171
2168
|
P.Label,
|
|
2172
2169
|
{
|
|
2173
2170
|
ref: o,
|
|
@@ -2175,12 +2172,12 @@ const Jn = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
|
|
|
2175
2172
|
...s
|
|
2176
2173
|
}
|
|
2177
2174
|
));
|
|
2178
|
-
|
|
2179
|
-
const
|
|
2180
|
-
|
|
2181
|
-
const
|
|
2182
|
-
|
|
2183
|
-
const
|
|
2175
|
+
qn.displayName = P.Label.displayName;
|
|
2176
|
+
const Kn = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(P.Separator, { ref: s, className: c("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
2177
|
+
Kn.displayName = P.Separator.displayName;
|
|
2178
|
+
const Jn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: c("ml-auto text-xs tracking-widest opacity-60", e), ...t });
|
|
2179
|
+
Jn.displayName = "DropdownMenuShortcut";
|
|
2180
|
+
const Yn = m.forwardRef(({ className: e, orientation: t = "horizontal", decorative: s = !0, ...o }, n) => /* @__PURE__ */ a.jsx(
|
|
2184
2181
|
$t.Root,
|
|
2185
2182
|
{
|
|
2186
2183
|
ref: n,
|
|
@@ -2190,10 +2187,10 @@ const Xn = m.forwardRef(({ className: e, orientation: t = "horizontal", decorati
|
|
|
2190
2187
|
...o
|
|
2191
2188
|
}
|
|
2192
2189
|
));
|
|
2193
|
-
|
|
2194
|
-
const
|
|
2190
|
+
Yn.displayName = $t.Root.displayName;
|
|
2191
|
+
const Qn = 1, Xn = 1e6;
|
|
2195
2192
|
let We = 0;
|
|
2196
|
-
function
|
|
2193
|
+
function Zn() {
|
|
2197
2194
|
return We = (We + 1) % Number.MAX_VALUE, We.toString();
|
|
2198
2195
|
}
|
|
2199
2196
|
const Ue = /* @__PURE__ */ new Map(), Lt = (e) => {
|
|
@@ -2204,14 +2201,14 @@ const Ue = /* @__PURE__ */ new Map(), Lt = (e) => {
|
|
|
2204
2201
|
type: "REMOVE_TOAST",
|
|
2205
2202
|
toastId: e
|
|
2206
2203
|
});
|
|
2207
|
-
},
|
|
2204
|
+
}, Xn);
|
|
2208
2205
|
Ue.set(e, t);
|
|
2209
|
-
},
|
|
2206
|
+
}, er = (e, t) => {
|
|
2210
2207
|
switch (t.type) {
|
|
2211
2208
|
case "ADD_TOAST":
|
|
2212
2209
|
return {
|
|
2213
2210
|
...e,
|
|
2214
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
2211
|
+
toasts: [t.toast, ...e.toasts].slice(0, Qn)
|
|
2215
2212
|
};
|
|
2216
2213
|
case "UPDATE_TOAST":
|
|
2217
2214
|
return {
|
|
@@ -2244,12 +2241,12 @@ const Ue = /* @__PURE__ */ new Map(), Lt = (e) => {
|
|
|
2244
2241
|
}, Te = [];
|
|
2245
2242
|
let Ie = { toasts: [] };
|
|
2246
2243
|
function ke(e) {
|
|
2247
|
-
Ie =
|
|
2244
|
+
Ie = er(Ie, e), Te.forEach((t) => {
|
|
2248
2245
|
t(Ie);
|
|
2249
2246
|
});
|
|
2250
2247
|
}
|
|
2251
|
-
function
|
|
2252
|
-
const t =
|
|
2248
|
+
function tr({ ...e }) {
|
|
2249
|
+
const t = Zn(), s = (n) => ke({
|
|
2253
2250
|
type: "UPDATE_TOAST",
|
|
2254
2251
|
toast: { ...n, id: t }
|
|
2255
2252
|
}), o = () => ke({ type: "DISMISS_TOAST", toastId: t });
|
|
@@ -2269,18 +2266,18 @@ function or({ ...e }) {
|
|
|
2269
2266
|
update: s
|
|
2270
2267
|
};
|
|
2271
2268
|
}
|
|
2272
|
-
function
|
|
2269
|
+
function sr() {
|
|
2273
2270
|
const [e, t] = m.useState(Ie);
|
|
2274
2271
|
return m.useEffect(() => (Te.push(t), () => {
|
|
2275
2272
|
const s = Te.indexOf(t);
|
|
2276
2273
|
s > -1 && Te.splice(s, 1);
|
|
2277
2274
|
}), [e]), {
|
|
2278
2275
|
...e,
|
|
2279
|
-
toast:
|
|
2276
|
+
toast: tr,
|
|
2280
2277
|
dismiss: (s) => ke({ type: "DISMISS_TOAST", toastId: s })
|
|
2281
2278
|
};
|
|
2282
2279
|
}
|
|
2283
|
-
const
|
|
2280
|
+
const or = q.Provider, Rs = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2284
2281
|
q.Viewport,
|
|
2285
2282
|
{
|
|
2286
2283
|
ref: s,
|
|
@@ -2292,7 +2289,7 @@ const nr = q.Provider, Rs = m.forwardRef(({ className: e, ...t }, s) => /* @__PU
|
|
|
2292
2289
|
}
|
|
2293
2290
|
));
|
|
2294
2291
|
Rs.displayName = q.Viewport.displayName;
|
|
2295
|
-
const
|
|
2292
|
+
const ar = be(
|
|
2296
2293
|
"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",
|
|
2297
2294
|
{
|
|
2298
2295
|
variants: {
|
|
@@ -2305,9 +2302,9 @@ const rr = be(
|
|
|
2305
2302
|
variant: "default"
|
|
2306
2303
|
}
|
|
2307
2304
|
}
|
|
2308
|
-
), Ps = m.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx(q.Root, { ref: o, className: c(
|
|
2305
|
+
), Ps = m.forwardRef(({ className: e, variant: t, ...s }, o) => /* @__PURE__ */ a.jsx(q.Root, { ref: o, className: c(ar({ variant: t }), e), ...s }));
|
|
2309
2306
|
Ps.displayName = q.Root.displayName;
|
|
2310
|
-
const
|
|
2307
|
+
const nr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2311
2308
|
q.Action,
|
|
2312
2309
|
{
|
|
2313
2310
|
ref: s,
|
|
@@ -2318,7 +2315,7 @@ const ir = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2318
2315
|
...t
|
|
2319
2316
|
}
|
|
2320
2317
|
));
|
|
2321
|
-
|
|
2318
|
+
nr.displayName = q.Action.displayName;
|
|
2322
2319
|
const Ts = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2323
2320
|
q.Close,
|
|
2324
2321
|
{
|
|
@@ -2337,9 +2334,9 @@ const Is = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(q.T
|
|
|
2337
2334
|
Is.displayName = q.Title.displayName;
|
|
2338
2335
|
const Ms = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(q.Description, { ref: s, className: c("text-sm opacity-90", e), ...t }));
|
|
2339
2336
|
Ms.displayName = q.Description.displayName;
|
|
2340
|
-
function
|
|
2341
|
-
const { toasts: e } =
|
|
2342
|
-
return /* @__PURE__ */ a.jsxs(
|
|
2337
|
+
function il() {
|
|
2338
|
+
const { toasts: e } = sr();
|
|
2339
|
+
return /* @__PURE__ */ a.jsxs(or, { children: [
|
|
2343
2340
|
e.map(({ id: t, title: s, description: o, action: n, ...r }) => /* @__PURE__ */ a.jsxs(Ps, { ...r, children: [
|
|
2344
2341
|
/* @__PURE__ */ a.jsxs("div", { className: "grid gap-1", children: [
|
|
2345
2342
|
s && /* @__PURE__ */ a.jsx(Is, { children: s }),
|
|
@@ -2351,7 +2348,7 @@ function ll() {
|
|
|
2351
2348
|
/* @__PURE__ */ a.jsx(Rs, {})
|
|
2352
2349
|
] });
|
|
2353
2350
|
}
|
|
2354
|
-
const
|
|
2351
|
+
const ll = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("animate-pulse rounded-md bg-primary/10", e), ...t }), Ds = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2355
2352
|
U,
|
|
2356
2353
|
{
|
|
2357
2354
|
ref: s,
|
|
@@ -2363,8 +2360,8 @@ const cl = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className:
|
|
|
2363
2360
|
}
|
|
2364
2361
|
));
|
|
2365
2362
|
Ds.displayName = U.displayName;
|
|
2366
|
-
const
|
|
2367
|
-
/* @__PURE__ */ a.jsx(
|
|
2363
|
+
const cl = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(ks, { ...t, children: /* @__PURE__ */ a.jsx(yt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(Ds, { 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 }) }) }), rr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
2364
|
+
/* @__PURE__ */ a.jsx(Hs, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
2368
2365
|
/* @__PURE__ */ a.jsx(
|
|
2369
2366
|
U.Input,
|
|
2370
2367
|
{
|
|
@@ -2377,8 +2374,8 @@ const dl = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(ks, { ...t, children
|
|
|
2377
2374
|
}
|
|
2378
2375
|
)
|
|
2379
2376
|
] }));
|
|
2380
|
-
|
|
2381
|
-
const
|
|
2377
|
+
rr.displayName = U.Input.displayName;
|
|
2378
|
+
const ir = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2382
2379
|
U.List,
|
|
2383
2380
|
{
|
|
2384
2381
|
ref: s,
|
|
@@ -2386,10 +2383,10 @@ const cr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2386
2383
|
...t
|
|
2387
2384
|
}
|
|
2388
2385
|
));
|
|
2389
|
-
|
|
2390
|
-
const
|
|
2391
|
-
|
|
2392
|
-
const
|
|
2386
|
+
ir.displayName = U.List.displayName;
|
|
2387
|
+
const lr = m.forwardRef((e, t) => /* @__PURE__ */ a.jsx(U.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
|
|
2388
|
+
lr.displayName = U.Empty.displayName;
|
|
2389
|
+
const cr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2393
2390
|
U.Group,
|
|
2394
2391
|
{
|
|
2395
2392
|
ref: s,
|
|
@@ -2400,10 +2397,10 @@ const ur = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2400
2397
|
...t
|
|
2401
2398
|
}
|
|
2402
2399
|
));
|
|
2403
|
-
|
|
2404
|
-
const
|
|
2405
|
-
|
|
2406
|
-
const
|
|
2400
|
+
cr.displayName = U.Group.displayName;
|
|
2401
|
+
const dr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Separator, { ref: s, className: c("-mx-1 h-px bg-border", e), ...t }));
|
|
2402
|
+
dr.displayName = U.Separator.displayName;
|
|
2403
|
+
const ur = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2407
2404
|
U.Item,
|
|
2408
2405
|
{
|
|
2409
2406
|
ref: s,
|
|
@@ -2414,10 +2411,10 @@ const pr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2414
2411
|
...t
|
|
2415
2412
|
}
|
|
2416
2413
|
));
|
|
2417
|
-
|
|
2418
|
-
const
|
|
2419
|
-
|
|
2420
|
-
const
|
|
2414
|
+
ur.displayName = U.Item.displayName;
|
|
2415
|
+
const mr = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: c("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
2416
|
+
mr.displayName = "CommandShortcut";
|
|
2417
|
+
const dl = T.Root, ul = T.Trigger, ml = T.Group, pl = T.Portal, fl = T.Sub, gl = T.RadioGroup, pr = m.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2421
2418
|
T.SubTrigger,
|
|
2422
2419
|
{
|
|
2423
2420
|
ref: n,
|
|
@@ -2433,8 +2430,8 @@ const ul = T.Root, ml = T.Trigger, pl = T.Group, fl = T.Portal, gl = T.Sub, bl =
|
|
|
2433
2430
|
]
|
|
2434
2431
|
}
|
|
2435
2432
|
));
|
|
2436
|
-
|
|
2437
|
-
const
|
|
2433
|
+
pr.displayName = T.SubTrigger.displayName;
|
|
2434
|
+
const fr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2438
2435
|
T.SubContent,
|
|
2439
2436
|
{
|
|
2440
2437
|
ref: s,
|
|
@@ -2445,8 +2442,8 @@ const br = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2445
2442
|
...t
|
|
2446
2443
|
}
|
|
2447
2444
|
));
|
|
2448
|
-
|
|
2449
|
-
const
|
|
2445
|
+
fr.displayName = T.SubContent.displayName;
|
|
2446
|
+
const gr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
2450
2447
|
T.Content,
|
|
2451
2448
|
{
|
|
2452
2449
|
ref: s,
|
|
@@ -2457,8 +2454,8 @@ const xr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.P
|
|
|
2457
2454
|
...t
|
|
2458
2455
|
}
|
|
2459
2456
|
) }));
|
|
2460
|
-
|
|
2461
|
-
const
|
|
2457
|
+
gr.displayName = T.Content.displayName;
|
|
2458
|
+
const br = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
2462
2459
|
T.Item,
|
|
2463
2460
|
{
|
|
2464
2461
|
ref: o,
|
|
@@ -2470,8 +2467,8 @@ const hr = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
|
|
|
2470
2467
|
...s
|
|
2471
2468
|
}
|
|
2472
2469
|
));
|
|
2473
|
-
|
|
2474
|
-
const
|
|
2470
|
+
br.displayName = T.Item.displayName;
|
|
2471
|
+
const xr = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2475
2472
|
T.CheckboxItem,
|
|
2476
2473
|
{
|
|
2477
2474
|
ref: n,
|
|
@@ -2487,8 +2484,8 @@ const yr = m.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
|
|
|
2487
2484
|
]
|
|
2488
2485
|
}
|
|
2489
2486
|
));
|
|
2490
|
-
|
|
2491
|
-
const
|
|
2487
|
+
xr.displayName = T.CheckboxItem.displayName;
|
|
2488
|
+
const hr = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
|
|
2492
2489
|
T.RadioItem,
|
|
2493
2490
|
{
|
|
2494
2491
|
ref: o,
|
|
@@ -2503,8 +2500,8 @@ const vr = m.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
2503
2500
|
]
|
|
2504
2501
|
}
|
|
2505
2502
|
));
|
|
2506
|
-
|
|
2507
|
-
const
|
|
2503
|
+
hr.displayName = T.RadioItem.displayName;
|
|
2504
|
+
const yr = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
2508
2505
|
T.Label,
|
|
2509
2506
|
{
|
|
2510
2507
|
ref: o,
|
|
@@ -2512,15 +2509,15 @@ const wr = m.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
|
|
|
2512
2509
|
...s
|
|
2513
2510
|
}
|
|
2514
2511
|
));
|
|
2515
|
-
|
|
2516
|
-
const
|
|
2517
|
-
|
|
2518
|
-
const
|
|
2519
|
-
|
|
2520
|
-
const
|
|
2512
|
+
yr.displayName = T.Label.displayName;
|
|
2513
|
+
const vr = m.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(T.Separator, { ref: s, className: c("-mx-1 my-1 h-px bg-border", e), ...t }));
|
|
2514
|
+
vr.displayName = T.Separator.displayName;
|
|
2515
|
+
const wr = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: c("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
2516
|
+
wr.displayName = "ContextMenuShortcut";
|
|
2517
|
+
const Nr = (e) => {
|
|
2521
2518
|
try {
|
|
2522
2519
|
const t = document.getElementById("icon-picker-field"), s = document.createElement("div");
|
|
2523
|
-
|
|
2520
|
+
Js.render(/* @__PURE__ */ a.jsx(Ks, { value: e }), s), t.appendChild(s), s.hidden = !0;
|
|
2524
2521
|
let o = s.innerHTML;
|
|
2525
2522
|
setTimeout(() => t.removeChild(s), 1e3);
|
|
2526
2523
|
const r = new DOMParser().parseFromString(o, "image/svg+xml"), i = r.querySelector("svg");
|
|
@@ -2528,10 +2525,10 @@ const Sr = (e) => {
|
|
|
2528
2525
|
} catch {
|
|
2529
2526
|
return "";
|
|
2530
2527
|
}
|
|
2531
|
-
},
|
|
2528
|
+
}, bl = ({ value: e, onChange: t, onBlur: s, id: o }) => {
|
|
2532
2529
|
const n = (r) => {
|
|
2533
2530
|
t("<svg />");
|
|
2534
|
-
const i =
|
|
2531
|
+
const i = Nr(r);
|
|
2535
2532
|
t(i), s(o, i);
|
|
2536
2533
|
};
|
|
2537
2534
|
return /* @__PURE__ */ a.jsxs("div", { className: "mt-1 flex h-20 items-center gap-x-2", id: "icon-picker-field", children: [
|
|
@@ -2544,7 +2541,7 @@ const Sr = (e) => {
|
|
|
2544
2541
|
}
|
|
2545
2542
|
),
|
|
2546
2543
|
/* @__PURE__ */ a.jsx(
|
|
2547
|
-
|
|
2544
|
+
qs,
|
|
2548
2545
|
{
|
|
2549
2546
|
value: e ? "BiSolidGrid" : null,
|
|
2550
2547
|
onChange: n,
|
|
@@ -2580,7 +2577,7 @@ const Sr = (e) => {
|
|
|
2580
2577
|
}
|
|
2581
2578
|
)
|
|
2582
2579
|
] });
|
|
2583
|
-
},
|
|
2580
|
+
}, kr = et.lazy(() => import("./UnsplashImages-8vJPuqrF.js")), Sr = et.lazy(() => import("./UploadImages-6N6UrjLo.js")), Es = ({
|
|
2584
2581
|
isModalView: e = !1,
|
|
2585
2582
|
onSelect: t = () => {
|
|
2586
2583
|
}
|
|
@@ -2588,15 +2585,15 @@ const Sr = (e) => {
|
|
|
2588
2585
|
const [s, o] = De("upload");
|
|
2589
2586
|
return /* @__PURE__ */ a.jsxs("div", { className: "flex h-full flex-col", children: [
|
|
2590
2587
|
/* @__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" }) }),
|
|
2591
|
-
/* @__PURE__ */ a.jsxs(
|
|
2588
|
+
/* @__PURE__ */ a.jsxs(gn, { value: s, onValueChange: (n) => o(n), className: "flex h-full w-full flex-col py-2", children: [
|
|
2592
2589
|
/* @__PURE__ */ a.jsxs(Cs, { className: "w-full", children: [
|
|
2593
2590
|
/* @__PURE__ */ a.jsx(Xe, { value: "upload", className: "w-1/2", children: "Upload" }),
|
|
2594
2591
|
/* @__PURE__ */ a.jsx(Xe, { value: "unsplash", className: "w-1/2", children: "Unsplash" })
|
|
2595
2592
|
] }),
|
|
2596
|
-
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(
|
|
2593
|
+
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(kr, { 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(Sr, { isModalView: e, onSelect: t }) }) })
|
|
2597
2594
|
] })
|
|
2598
2595
|
] });
|
|
2599
|
-
},
|
|
2596
|
+
}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2600
2597
|
__proto__: null,
|
|
2601
2598
|
default: Es
|
|
2602
2599
|
}, Symbol.toStringTag, { value: "Module" })), Ot = ({ children: e, onSelect: t }) => {
|
|
@@ -2604,10 +2601,10 @@ const Sr = (e) => {
|
|
|
2604
2601
|
t.call(void 0, ...r), o(!1);
|
|
2605
2602
|
};
|
|
2606
2603
|
return /* @__PURE__ */ a.jsxs(ks, { open: s, onOpenChange: (r) => o(r), children: [
|
|
2607
|
-
/* @__PURE__ */ a.jsx(
|
|
2604
|
+
/* @__PURE__ */ a.jsx(Xa, { asChild: !0, children: e }),
|
|
2608
2605
|
/* @__PURE__ */ a.jsx(yt, { className: "flex h-3/4 max-w-5xl", children: /* @__PURE__ */ a.jsx("div", { className: "h-full w-full", children: /* @__PURE__ */ a.jsx(Es, { isModalView: !0, onSelect: n }) }) })
|
|
2609
2606
|
] });
|
|
2610
|
-
},
|
|
2607
|
+
}, hl = ({ value: e, onChange: t, id: s, onBlur: o }) => /* @__PURE__ */ a.jsxs("div", { className: "mt-1.5 flex items-center gap-x-3", children: [
|
|
2611
2608
|
e ? /* @__PURE__ */ a.jsx("img", { src: e, className: "h-20 w-20 overflow-hidden rounded-md border object-cover", alt: "" }) : /* @__PURE__ */ a.jsx(Ot, { 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" }) }),
|
|
2612
2609
|
/* @__PURE__ */ a.jsxs("div", { className: "flex w-3/5 flex-col", children: [
|
|
2613
2610
|
/* @__PURE__ */ a.jsx(Ot, { 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 || !oe(e) ? "Replace Image" : "Choose Image" }) }),
|
|
@@ -2624,7 +2621,7 @@ const Sr = (e) => {
|
|
|
2624
2621
|
}
|
|
2625
2622
|
)
|
|
2626
2623
|
] })
|
|
2627
|
-
] }),
|
|
2624
|
+
] }), yl = ({ id: e, placeholder: t, value: s, onChange: o, onBlur: n }) => {
|
|
2628
2625
|
const r = {
|
|
2629
2626
|
toolbar: [
|
|
2630
2627
|
["bold", "italic", "underline", "strike", "blockquote"],
|
|
@@ -2648,7 +2645,7 @@ const Sr = (e) => {
|
|
|
2648
2645
|
"image"
|
|
2649
2646
|
];
|
|
2650
2647
|
return typeof window > "u" ? null : /* @__PURE__ */ a.jsx(
|
|
2651
|
-
|
|
2648
|
+
Zs,
|
|
2652
2649
|
{
|
|
2653
2650
|
id: e,
|
|
2654
2651
|
value: s,
|
|
@@ -2660,7 +2657,7 @@ const Sr = (e) => {
|
|
|
2660
2657
|
className: "mt-1 rounded-md"
|
|
2661
2658
|
}
|
|
2662
2659
|
);
|
|
2663
|
-
},
|
|
2660
|
+
}, vl = ({ schema: e, formData: t, onChange: s }) => {
|
|
2664
2661
|
const [o, n] = De([]), r = ve("getPages", () => []), { type: i = "page", href: u = "", target: p = "self" } = t;
|
|
2665
2662
|
return je(() => {
|
|
2666
2663
|
(async () => {
|
|
@@ -2715,221 +2712,219 @@ const Sr = (e) => {
|
|
|
2715
2712
|
] });
|
|
2716
2713
|
};
|
|
2717
2714
|
export {
|
|
2718
|
-
|
|
2715
|
+
mi as $,
|
|
2719
2716
|
ms as A,
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2717
|
+
Ea as B,
|
|
2718
|
+
il as C,
|
|
2719
|
+
Mi as D,
|
|
2720
|
+
Di as E,
|
|
2721
|
+
Ua as F,
|
|
2722
|
+
Ha as G,
|
|
2723
|
+
Ka as H,
|
|
2724
|
+
Ja as I,
|
|
2725
|
+
qa as J,
|
|
2726
|
+
Qa as K,
|
|
2727
|
+
Ri as L,
|
|
2728
|
+
Si as M,
|
|
2729
|
+
ki as N,
|
|
2730
|
+
oi as O,
|
|
2731
|
+
ai as P,
|
|
2732
|
+
Uo as Q,
|
|
2733
|
+
ri as R,
|
|
2734
|
+
ll as S,
|
|
2735
|
+
Li as T,
|
|
2736
|
+
ii as U,
|
|
2737
|
+
Qo as V,
|
|
2738
|
+
ci as W,
|
|
2739
|
+
di as X,
|
|
2743
2740
|
ds as Y,
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2741
|
+
ui as Z,
|
|
2742
|
+
wa as _,
|
|
2743
|
+
qr as a,
|
|
2744
|
+
Vi as a$,
|
|
2745
|
+
pi as a0,
|
|
2746
|
+
gi as a1,
|
|
2747
|
+
Bi as a2,
|
|
2748
|
+
xi as a3,
|
|
2749
|
+
yi as a4,
|
|
2750
|
+
hi as a5,
|
|
2751
|
+
si as a6,
|
|
2752
|
+
fa as a7,
|
|
2753
|
+
Pi as a8,
|
|
2754
|
+
vi as a9,
|
|
2755
|
+
Yi as aA,
|
|
2756
|
+
Tn as aB,
|
|
2757
|
+
Oi as aC,
|
|
2761
2758
|
zi as aD,
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2759
|
+
Ma as aE,
|
|
2760
|
+
bn as aF,
|
|
2761
|
+
Yn as aG,
|
|
2762
|
+
mn as aH,
|
|
2763
|
+
Da as aI,
|
|
2764
|
+
qi as aJ,
|
|
2768
2765
|
Ki as aK,
|
|
2769
|
-
|
|
2770
|
-
|
|
2766
|
+
Bn as aL,
|
|
2767
|
+
tl as aM,
|
|
2771
2768
|
sl as aN,
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2769
|
+
Gn as aO,
|
|
2770
|
+
qn as aP,
|
|
2771
|
+
Kn as aQ,
|
|
2772
|
+
Un as aR,
|
|
2773
|
+
ua as aS,
|
|
2774
|
+
da as aT,
|
|
2775
|
+
aa as aU,
|
|
2776
|
+
ma as aV,
|
|
2777
|
+
Xr as aW,
|
|
2781
2778
|
Zr as aX,
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2779
|
+
Do as aY,
|
|
2780
|
+
sa as aZ,
|
|
2781
|
+
ia as a_,
|
|
2782
|
+
Yr as aa,
|
|
2783
|
+
wi as ab,
|
|
2784
|
+
Ni as ac,
|
|
2785
|
+
ti as ad,
|
|
2786
|
+
Vo as ae,
|
|
2787
|
+
ji as af,
|
|
2788
|
+
ni as ag,
|
|
2789
|
+
Ai as ah,
|
|
2790
|
+
Ci as ai,
|
|
2794
2791
|
ns as aj,
|
|
2795
2792
|
ks as ak,
|
|
2796
2793
|
yt as al,
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2794
|
+
Za as am,
|
|
2795
|
+
tn as an,
|
|
2796
|
+
sn as ao,
|
|
2797
|
+
Ya as ap,
|
|
2798
|
+
Ji as aq,
|
|
2799
|
+
Rn as ar,
|
|
2800
|
+
Qi as as,
|
|
2801
|
+
Pn as at,
|
|
2802
|
+
In as au,
|
|
2803
|
+
la as av,
|
|
2804
|
+
gn as aw,
|
|
2805
|
+
Cs as ax,
|
|
2806
|
+
Xe as ay,
|
|
2807
|
+
Ze as az,
|
|
2811
2808
|
Z as b,
|
|
2812
|
-
|
|
2809
|
+
Zi as b$,
|
|
2813
2810
|
$i as b0,
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2811
|
+
xn as b1,
|
|
2812
|
+
Ds as b2,
|
|
2813
|
+
rr as b3,
|
|
2814
|
+
ir as b4,
|
|
2815
|
+
lr as b5,
|
|
2816
|
+
cr as b6,
|
|
2820
2817
|
ur as b7,
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2818
|
+
en as b8,
|
|
2819
|
+
Xa as b9,
|
|
2820
|
+
ul as bA,
|
|
2821
|
+
ei as bB,
|
|
2822
|
+
Ia as bC,
|
|
2823
|
+
ht as bD,
|
|
2824
|
+
Ga as bE,
|
|
2825
|
+
Ii as bF,
|
|
2826
|
+
Wa as bG,
|
|
2827
|
+
nn as bH,
|
|
2828
|
+
As as bI,
|
|
2829
|
+
hn as bJ,
|
|
2830
|
+
Fi as bK,
|
|
2831
|
+
yn as bL,
|
|
2832
|
+
Nn as bM,
|
|
2833
|
+
kn as bN,
|
|
2834
|
+
Cn as bO,
|
|
2835
|
+
An as bP,
|
|
2836
|
+
Sn as bQ,
|
|
2837
|
+
Hi as bR,
|
|
2838
|
+
jn as bS,
|
|
2839
|
+
Wi as bT,
|
|
2840
|
+
wn as bU,
|
|
2841
|
+
vn as bV,
|
|
2842
|
+
Gi as bW,
|
|
2843
|
+
Ui as bX,
|
|
2844
|
+
_n as bY,
|
|
2845
|
+
Mn as bZ,
|
|
2846
|
+
Xi as b_,
|
|
2847
|
+
Rt as ba,
|
|
2848
|
+
Bt as bb,
|
|
2849
|
+
yl as bc,
|
|
2850
|
+
bl as bd,
|
|
2851
|
+
hl as be,
|
|
2852
|
+
vl as bf,
|
|
2853
|
+
Ti as bg,
|
|
2854
|
+
La as bh,
|
|
2855
|
+
Oa as bi,
|
|
2856
|
+
za as bj,
|
|
2857
|
+
dn as bk,
|
|
2858
|
+
Ei as bl,
|
|
2859
|
+
ta as bm,
|
|
2860
|
+
fn as bn,
|
|
2861
|
+
on as bo,
|
|
2862
|
+
an as bp,
|
|
2863
|
+
rn as bq,
|
|
2864
|
+
ln as br,
|
|
2865
|
+
pn as bs,
|
|
2866
|
+
cn as bt,
|
|
2867
|
+
$a as bu,
|
|
2868
|
+
Fa as bv,
|
|
2869
|
+
ca as bw,
|
|
2870
|
+
br as bx,
|
|
2871
|
+
gr as by,
|
|
2872
|
+
dl as bz,
|
|
2876
2873
|
co as c,
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2874
|
+
el as c0,
|
|
2875
|
+
En as c1,
|
|
2876
|
+
Ln as c2,
|
|
2880
2877
|
On as c3,
|
|
2881
2878
|
zn as c4,
|
|
2882
2879
|
Vn as c5,
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2880
|
+
Wn as c6,
|
|
2881
|
+
Hn as c7,
|
|
2882
|
+
Jn as c8,
|
|
2883
|
+
ol as c9,
|
|
2884
|
+
al as ca,
|
|
2885
|
+
nl as cb,
|
|
2886
|
+
Fn as cc,
|
|
2887
|
+
$n as cd,
|
|
2888
|
+
rl as ce,
|
|
2889
|
+
er as cf,
|
|
2890
|
+
sr as cg,
|
|
2891
|
+
tr as ch,
|
|
2892
|
+
cl as ci,
|
|
2893
|
+
mr as cj,
|
|
2894
|
+
dr as ck,
|
|
2895
|
+
xr as cl,
|
|
2896
|
+
hr as cm,
|
|
2900
2897
|
yr as cn,
|
|
2901
2898
|
vr as co,
|
|
2902
2899
|
wr as cp,
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
bl as cx,
|
|
2911
|
-
hl as cy,
|
|
2900
|
+
ml as cq,
|
|
2901
|
+
pl as cr,
|
|
2902
|
+
fl as cs,
|
|
2903
|
+
fr as ct,
|
|
2904
|
+
pr as cu,
|
|
2905
|
+
gl as cv,
|
|
2906
|
+
xl as cw,
|
|
2912
2907
|
xo as d,
|
|
2913
2908
|
bo as e,
|
|
2914
2909
|
Ae as f,
|
|
2915
|
-
|
|
2916
|
-
|
|
2910
|
+
Kr as g,
|
|
2911
|
+
qo as h,
|
|
2917
2912
|
ve as i,
|
|
2918
2913
|
Ce as j,
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2914
|
+
li as k,
|
|
2915
|
+
bi as l,
|
|
2916
|
+
ha as m,
|
|
2917
|
+
ba as n,
|
|
2918
|
+
fi as o,
|
|
2924
2919
|
bt as p,
|
|
2925
2920
|
Q as q,
|
|
2926
2921
|
Co as r,
|
|
2927
|
-
|
|
2922
|
+
pa as s,
|
|
2928
2923
|
gt as t,
|
|
2929
2924
|
qt as u,
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2925
|
+
Jr as v,
|
|
2926
|
+
Qr as w,
|
|
2927
|
+
Jo as x,
|
|
2928
|
+
_i as y,
|
|
2934
2929
|
it as z
|
|
2935
2930
|
};
|