@chaibuilder/pages 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{B4MFY5CR-CJ_zQjzE.cjs → B4MFY5CR-0MVmdo7C.cjs} +1 -1
- package/dist/{B4MFY5CR-94OKrKm9.js → B4MFY5CR-B0gjiEA3.js} +1 -1
- package/dist/{HO4MOOFI-CRSNiC7G.js → HO4MOOFI-CIV6iAkb.js} +2 -2
- package/dist/{HO4MOOFI-BHGee8_h.cjs → HO4MOOFI-r2V7_ve4.cjs} +1 -1
- package/dist/{HUY7CZI3-DfVfYgpJ.js → HUY7CZI3-Chau07Me.js} +2 -2
- package/dist/{HUY7CZI3-DpGRfHvo.cjs → HUY7CZI3-D-0djGVi.cjs} +1 -1
- package/dist/asset-metadata-editor-r5vYHUfm.js +108 -0
- package/dist/asset-metadata-editor-zw9u1BB9.cjs +1 -0
- package/dist/digital-asset-manager-BopT8BhD.cjs +1 -0
- package/dist/digital-asset-manager-CBaY202W.js +481 -0
- package/dist/{index-Dq_xGZ55.js → index-CSVDtkP9.js} +160 -158
- package/dist/{index-Dhwd3gtU.cjs → index-Cv2dcnN-.cjs} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.d.ts +17 -6
- package/dist/server.js +84 -65
- package/package.json +3 -2
- package/dist/asset-metadata-editor-CEFwXx62.js +0 -91
- package/dist/asset-metadata-editor-YXDey62L.cjs +0 -1
- package/dist/digital-asset-manager-B3G7kQ5a.cjs +0 -1
- package/dist/digital-asset-manager-DS4mu-dP.js +0 -462
|
@@ -7,10 +7,10 @@ import { jsx as r, jsxs as u, Fragment as be } from "react/jsx-runtime";
|
|
|
7
7
|
import { get as te, isEmpty as me, reverse as Ra, sortBy as Oa, each as Ba, find as fe, set as Ma, has as nn, startsWith as Rt, isEqual as is, map as Fe, toLower as Dt, trim as Fa, filter as Te, startCase as It, groupBy as qa, compact as Nn, includes as Mt, concat as Zs, endsWith as Js, orderBy as mn, first as Ha, uniq as Ka, debounce as Va, pick as er, keys as ja, pickBy as $a, isArray as za, cloneDeep as Wa, isString as Ds } from "lodash-es";
|
|
8
8
|
import { useAtom as Dn, atom as ls } from "jotai";
|
|
9
9
|
import * as ce from "react";
|
|
10
|
-
import tr, { useMemo as W, useCallback as _e, useState as P, useEffect as we, useRef as
|
|
10
|
+
import tr, { useMemo as W, useCallback as _e, useState as P, useEffect as we, useRef as ut, Suspense as Ya, lazy as Qa } from "react";
|
|
11
11
|
import { useQueryClient as Se, useQuery as Ne, useMutation as Ae, onlineManager as nr, QueryClient as Xa, QueryClientProvider as Za } from "@tanstack/react-query";
|
|
12
12
|
import { toast as j } from "sonner";
|
|
13
|
-
import { useLanguages as
|
|
13
|
+
import { useLanguages as dt, useUpdateBlocksPropsRealtime as sr, PERMISSIONS as Ja, usePartailBlocksStore as ei, usePermissions as sn, useLibraryBlocks as ti, useTheme as ni, mergeClasses as si, useSavePage as rr, useRightPanel as ri, useBlocksStore as ai, getBlocksFromHTML as ii, useTranslation as li, useSidebarActivePanel as oi, registerChaiSidebarPanel as zn, registerChaiTopBar as ci, registerChaiMediaManager as ui, registerChaiSaveToLibrary as di, ChaiBuilderEditor as hi } from "@chaibuilder/sdk";
|
|
14
14
|
import { Card as os, CardHeader as cs, CardTitle as us, CardContent as ds, CardFooter as hs, Button as _, AlertDialog as ar, AlertDialogTrigger as ir, AlertDialogContent as lr, AlertDialogHeader as or, AlertDialogTitle as cr, AlertDialogDescription as ur, AlertDialogFooter as dr, AlertDialogCancel as hr, AlertDialogAction as mr, Popover as fr, PopoverTrigger as gr, PopoverContent as pr, Input as ye, Label as X, Dialog as He, DialogContent as Ke, DialogHeader as Ve, DialogTitle as je, DialogDescription as Ye, Alert as yr, DialogFooter as et, DropdownMenu as rn, DropdownMenuTrigger as an, DropdownMenuContent as ln, DropdownMenuItem as De, Textarea as Gt, Select as mi, SelectTrigger as fi, SelectValue as gi, SelectContent as pi, SelectItem as yi, Badge as qn, Sheet as vr, SheetContent as Er, SheetHeader as br, SheetTitle as wr, Separator as vi, TooltipProvider as Sr, Tooltip as ms, SheetTrigger as Ei, TooltipTrigger as fs, ScrollArea as bi, TooltipContent as gs, Skeleton as fn, DropdownMenuSeparator as wi, CardDescription as Si, Command as Ni, CommandInput as Ai, CommandList as xi, CommandEmpty as Ti, CommandGroup as Ci, CommandItem as Gs, AlertDescription as Pi, Accordion as _i, AccordionItem as gn, AccordionTrigger as pn, AccordionContent as yn, HoverCard as Ii, HoverCardTrigger as ki, HoverCardContent as Li } from "@chaibuilder/sdk/ui";
|
|
15
15
|
import { LockIcon as Nr, UserIcon as Di, AlertTriangleIcon as Gi, Trash2 as Ar, Plus as ps, ImageIcon as xr, X as Tr, AlertCircle as Cr, StarIcon as Ui, MoreHorizontal as ys, PencilIcon as Ri, Power as Pr, TrashIcon as Oi, Tag as Bi, File as on, Search as Mi, StarsIcon as Fi, Globe as qi, Pencil as Hi, Trash as vs, SquareLibrary as Us, Logs as Ki, Loader as _r, Languages as Vi, ChevronDown as Ir, Star as ji, History as Rs, ArrowUpRight as $i, Clock as zi, Undo2 as kr, CloudOff as Wi, Edit as Yi, Save as Lr, GlobeIcon as Qi, Eye as Dr, Palette as Xi, CheckCircle as Zi, Send as Os, Rocket as Bs, Settings as Ji, ExternalLink as el, EyeOff as tl, Loader2 as Gr, LanguagesIcon as nl, DatabaseIcon as sl, ChevronLeft as rl, ChevronRight as al, User as il } from "lucide-react";
|
|
16
16
|
import { format as Gn, formatDistanceToNow as ll } from "date-fns";
|
|
@@ -252,7 +252,7 @@ const qe = {
|
|
|
252
252
|
DELETE_ASSET: "DELETE_ASSET",
|
|
253
253
|
UPDATE_ASSET: "UPDATE_ASSET",
|
|
254
254
|
GET_ASSETS: "GET_ASSETS"
|
|
255
|
-
},
|
|
255
|
+
}, Ie = "chaibuilder", Es = async (e, t, n = {}) => await fetch(e, {
|
|
256
256
|
method: "POST",
|
|
257
257
|
headers: {
|
|
258
258
|
"Content-Type": "application/json",
|
|
@@ -401,7 +401,7 @@ const El = vl("__chai_user", null), st = () => {
|
|
|
401
401
|
if (i.ok) {
|
|
402
402
|
const l = await i.json();
|
|
403
403
|
t(l), a.invalidateQueries({
|
|
404
|
-
queryKey: [
|
|
404
|
+
queryKey: [Ie],
|
|
405
405
|
refetchType: "all"
|
|
406
406
|
});
|
|
407
407
|
} else
|
|
@@ -411,7 +411,7 @@ const El = vl("__chai_user", null), st = () => {
|
|
|
411
411
|
enabled: !1
|
|
412
412
|
});
|
|
413
413
|
}, Wu = () => {
|
|
414
|
-
const { user: e } = st(), t =
|
|
414
|
+
const { user: e } = st(), t = rt("onSessionExpired"), n = W(
|
|
415
415
|
() => e == null ? void 0 : e.accessToken,
|
|
416
416
|
[e == null ? void 0 : e.accessToken]
|
|
417
417
|
);
|
|
@@ -472,9 +472,9 @@ const El = vl("__chai_user", null), st = () => {
|
|
|
472
472
|
const e = Q(), t = Se(), n = $();
|
|
473
473
|
return Ae({
|
|
474
474
|
mutationFn: async (s) => n(e, { action: I.RELEASE_LOCK, data: s }),
|
|
475
|
-
onSuccess: (
|
|
475
|
+
onSuccess: () => {
|
|
476
476
|
t.invalidateQueries({
|
|
477
|
-
queryKey: [I.GET_DRAFT_PAGE
|
|
477
|
+
queryKey: [Ie, I.GET_DRAFT_PAGE]
|
|
478
478
|
});
|
|
479
479
|
}
|
|
480
480
|
});
|
|
@@ -527,17 +527,17 @@ function Ue() {
|
|
|
527
527
|
}, []), [e, t];
|
|
528
528
|
}
|
|
529
529
|
const Sl = ls({}), Or = () => Dn(Sl), Nl = () => {
|
|
530
|
-
const [e] = Ue(), t = e.get("page"), n =
|
|
530
|
+
const [e] = Ue(), t = e.get("page"), n = ut(""), { mutate: s } = Ur();
|
|
531
531
|
we(() => {
|
|
532
532
|
!me(n.current) && t !== n.current && s({ id: n.current }), n.current = t;
|
|
533
533
|
}, [t, s, n]);
|
|
534
|
-
},
|
|
534
|
+
}, rt = (e, t) => {
|
|
535
535
|
const [n] = Or();
|
|
536
536
|
return te(n, e, t);
|
|
537
|
-
}, Q = () =>
|
|
537
|
+
}, Q = () => rt("apiUrl", "/chai/api"), Un = () => rt("usersApiUrl", "/chai/users"), Yu = () => rt("assetsApiUrl", "/chai/assets"), cn = () => {
|
|
538
538
|
const e = Q(), [t] = Ue(), n = t.get("page"), s = $();
|
|
539
539
|
return Ne({
|
|
540
|
-
queryKey: [
|
|
540
|
+
queryKey: [Ie, I.GET_LANGUAGE_PAGES, n],
|
|
541
541
|
initialData: [],
|
|
542
542
|
queryFn: async () => {
|
|
543
543
|
if (!n) return null;
|
|
@@ -564,7 +564,7 @@ const Sl = ls({}), Or = () => Dn(Sl), Nl = () => {
|
|
|
564
564
|
})
|
|
565
565
|
});
|
|
566
566
|
}, Br = (e) => {
|
|
567
|
-
const { fallbackLang: t } =
|
|
567
|
+
const { fallbackLang: t } = dt(), { data: n } = un(), { data: s, isFetching: a } = cn(), i = W(() => {
|
|
568
568
|
const l = { [t]: !0 };
|
|
569
569
|
return Ba(te(n, "languages"), (o) => {
|
|
570
570
|
const c = fe(s, { lang: o });
|
|
@@ -587,7 +587,7 @@ const Sl = ls({}), Or = () => Dn(Sl), Nl = () => {
|
|
|
587
587
|
}, Rn = () => {
|
|
588
588
|
const e = $(), t = Q();
|
|
589
589
|
return Ne({
|
|
590
|
-
queryKey: [
|
|
590
|
+
queryKey: [Ie, I.GET_WEBSITE_PAGES],
|
|
591
591
|
staleTime: 1e3 * 60 * 5,
|
|
592
592
|
queryFn: async () => e(t, { action: I.GET_WEBSITE_PAGES }) || []
|
|
593
593
|
});
|
|
@@ -600,7 +600,7 @@ const Sl = ls({}), Or = () => Dn(Sl), Nl = () => {
|
|
|
600
600
|
}, dn = (e) => {
|
|
601
601
|
const t = Un(), n = $();
|
|
602
602
|
return Ne({
|
|
603
|
-
queryKey: [
|
|
603
|
+
queryKey: [Ie, "chaiUserInfo", e],
|
|
604
604
|
queryFn: async () => await n(t, {
|
|
605
605
|
action: I.GET_CHAI_USER,
|
|
606
606
|
data: { userId: e }
|
|
@@ -617,7 +617,7 @@ const Sl = ls({}), Or = () => Dn(Sl), Nl = () => {
|
|
|
617
617
|
}, Mr = () => {
|
|
618
618
|
const [e] = Ue(), t = e.get("page"), n = Q(), { setAiContext: s } = bs(), { setCurrentEditor: a } = hn(), [, i] = ws(), l = $();
|
|
619
619
|
return Ne({
|
|
620
|
-
queryKey: [
|
|
620
|
+
queryKey: [Ie, I.GET_DRAFT_PAGE, t],
|
|
621
621
|
staleTime: 1 / 0,
|
|
622
622
|
gcTime: 1 / 0,
|
|
623
623
|
queryFn: async () => {
|
|
@@ -638,7 +638,7 @@ const Sl = ls({}), Or = () => Dn(Sl), Nl = () => {
|
|
|
638
638
|
}) => {
|
|
639
639
|
const n = Q(), s = $();
|
|
640
640
|
return Ne({
|
|
641
|
-
queryKey: [
|
|
641
|
+
queryKey: [Ie, I.GET_BUILDER_PAGE_DATA, e, t],
|
|
642
642
|
initialData: {},
|
|
643
643
|
queryFn: async () => s(n, {
|
|
644
644
|
action: I.GET_BUILDER_PAGE_DATA,
|
|
@@ -731,7 +731,7 @@ const Cl = () => {
|
|
|
731
731
|
}
|
|
732
732
|
);
|
|
733
733
|
}, Pl = () => {
|
|
734
|
-
const [e, t] = Ue(), n = e.get("lang"), s = Br(n), { setSelectedLang: a } =
|
|
734
|
+
const [e, t] = Ue(), n = e.get("lang"), s = Br(n), { setSelectedLang: a } = dt(), i = () => {
|
|
735
735
|
const o = new URLSearchParams(window.location.search);
|
|
736
736
|
o.delete("lang");
|
|
737
737
|
const c = o.toString(), h = `${window.location.pathname}${c ? `?${c}` : ""}`;
|
|
@@ -782,7 +782,7 @@ const Cl = () => {
|
|
|
782
782
|
}, Il = (e) => {
|
|
783
783
|
const t = Q(), n = $();
|
|
784
784
|
return Ne({
|
|
785
|
-
queryKey: [
|
|
785
|
+
queryKey: [Ie, "uiBlockDetails", e],
|
|
786
786
|
enabled: !!e,
|
|
787
787
|
// Only run query if blockId is provided
|
|
788
788
|
queryFn: async () => {
|
|
@@ -931,7 +931,7 @@ const Cl = () => {
|
|
|
931
931
|
isLoading: a,
|
|
932
932
|
error: i
|
|
933
933
|
} = Ne({
|
|
934
|
-
queryKey: [
|
|
934
|
+
queryKey: [Ie, "library-groups"],
|
|
935
935
|
queryFn: async () => {
|
|
936
936
|
try {
|
|
937
937
|
return await t(e, {
|
|
@@ -968,7 +968,7 @@ const Cl = () => {
|
|
|
968
968
|
isCreating: o
|
|
969
969
|
};
|
|
970
970
|
}, Ul = ({ value: e, onChange: t }) => {
|
|
971
|
-
const [n, s] = P(!1), [a, i] = P(""), l =
|
|
971
|
+
const [n, s] = P(!1), [a, i] = P(""), l = ut(null), { groups: o } = Gl(), [c, h] = P([
|
|
972
972
|
{ id: "hero", name: "Hero" },
|
|
973
973
|
{ id: "feature", name: "Feature" },
|
|
974
974
|
{ id: "footer", name: "Footer" },
|
|
@@ -1071,7 +1071,7 @@ const Cl = () => {
|
|
|
1071
1071
|
)
|
|
1072
1072
|
] });
|
|
1073
1073
|
}, Rl = 1 * 1024 * 1024, Ol = ({ value: e, onChange: t }) => {
|
|
1074
|
-
const [n, s] = P(!1), a =
|
|
1074
|
+
const [n, s] = P(!1), a = ut(null), i = _e(
|
|
1075
1075
|
(c) => {
|
|
1076
1076
|
var g;
|
|
1077
1077
|
const h = (g = c.target.files) == null ? void 0 : g[0];
|
|
@@ -1378,15 +1378,15 @@ const Cl = () => {
|
|
|
1378
1378
|
SLUG_CHANGE_SUCCESS: "Slug changed successfully."
|
|
1379
1379
|
}, Ml = {
|
|
1380
1380
|
SLUG_ALREADY_USED: "This slug is already in use. Please choose a different one."
|
|
1381
|
-
},
|
|
1381
|
+
}, ke = () => {
|
|
1382
1382
|
const e = Q(), t = $();
|
|
1383
1383
|
return Ne({
|
|
1384
|
-
queryKey: [
|
|
1384
|
+
queryKey: [Ie, I.GET_PAGE_TYPES],
|
|
1385
1385
|
initialData: [],
|
|
1386
1386
|
queryFn: async () => t(e, { action: I.GET_PAGE_TYPES })
|
|
1387
1387
|
});
|
|
1388
1388
|
}, Fl = (e) => {
|
|
1389
|
-
const { data: t } =
|
|
1389
|
+
const { data: t } = ke();
|
|
1390
1390
|
return W(
|
|
1391
1391
|
() => t == null ? void 0 : t.find((n) => n.key === e),
|
|
1392
1392
|
[t, e]
|
|
@@ -1409,7 +1409,7 @@ const Cl = () => {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
});
|
|
1411
1411
|
}, qr = () => {
|
|
1412
|
-
const e = Q(), t = Se(), n = $(), { data: s } =
|
|
1412
|
+
const e = Q(), t = Se(), n = $(), { data: s } = ke();
|
|
1413
1413
|
return Ae({
|
|
1414
1414
|
mutationFn: async (a) => (a.template && console.log("Creating page from template:", a.template), n(e, { action: I.CREATE_PAGE, data: a })),
|
|
1415
1415
|
onSuccess: (a, i) => {
|
|
@@ -1433,7 +1433,7 @@ const Cl = () => {
|
|
|
1433
1433
|
}
|
|
1434
1434
|
});
|
|
1435
1435
|
}, Ss = () => {
|
|
1436
|
-
const e = Q(), t = Se(), n = $(), { data: s } =
|
|
1436
|
+
const e = Q(), t = Se(), n = $(), { data: s } = ke();
|
|
1437
1437
|
return Ae({
|
|
1438
1438
|
mutationFn: async (a) => await n(e, {
|
|
1439
1439
|
action: I.UPDATE_PAGE,
|
|
@@ -1457,7 +1457,7 @@ const Cl = () => {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
});
|
|
1459
1459
|
}, Hl = () => {
|
|
1460
|
-
const e = Q(), t = Se(), n = $(), { data: s } =
|
|
1460
|
+
const e = Q(), t = Se(), n = $(), { data: s } = ke();
|
|
1461
1461
|
return Ae({
|
|
1462
1462
|
mutationFn: async (a) => n(e, {
|
|
1463
1463
|
action: I.DELETE_PAGE,
|
|
@@ -1487,7 +1487,7 @@ const Cl = () => {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
});
|
|
1489
1489
|
}, Kl = () => {
|
|
1490
|
-
const e = Q(), t = Se(), n = $(), { data: s } =
|
|
1490
|
+
const e = Q(), t = Se(), n = $(), { data: s } = ke();
|
|
1491
1491
|
return Ae({
|
|
1492
1492
|
mutationFn: async (a) => n(e, {
|
|
1493
1493
|
action: I.TAKE_OFFLINE,
|
|
@@ -1832,7 +1832,7 @@ var As = {};
|
|
|
1832
1832
|
} else if (m.shape === "circle")
|
|
1833
1833
|
f.ellipse ? f.ellipse(m.x, m.y, Math.abs(H - C) * m.ovalScalar, Math.abs(K - D) * m.ovalScalar, Math.PI / 10 * m.wobble, 0, 2 * Math.PI) : q(f, m.x, m.y, Math.abs(H - C) * m.ovalScalar, Math.abs(K - D) * m.ovalScalar, Math.PI / 10 * m.wobble, 0, 2 * Math.PI);
|
|
1834
1834
|
else if (m.shape === "star")
|
|
1835
|
-
for (var Y = Math.PI / 2 * 3, Le = 4 * m.scalar, Be = 8 * m.scalar, Me = m.x, Xe = m.y,
|
|
1835
|
+
for (var Y = Math.PI / 2 * 3, Le = 4 * m.scalar, Be = 8 * m.scalar, Me = m.x, Xe = m.y, at = 5, $e = Math.PI / at; at--; )
|
|
1836
1836
|
Me = m.x + Math.cos(Y) * Be, Xe = m.y + Math.sin(Y) * Be, f.lineTo(Me, Xe), Y += $e, Me = m.x + Math.cos(Y) * Le, Xe = m.y + Math.sin(Y) * Le, f.lineTo(Me, Xe), Y += $e;
|
|
1837
1837
|
else
|
|
1838
1838
|
f.moveTo(Math.floor(m.x), Math.floor(m.y)), f.lineTo(Math.floor(m.wobbleX), Math.floor(D)), f.lineTo(Math.floor(H), Math.floor(K)), f.lineTo(Math.floor(C), Math.floor(m.wobbleY));
|
|
@@ -1864,13 +1864,13 @@ var As = {};
|
|
|
1864
1864
|
function he(f, m) {
|
|
1865
1865
|
var N = !f, C = !!v(m || {}, "resize"), D = !1, H = v(m, "disableForReducedMotion", Boolean), K = i && !!v(m || {}, "useWorker"), L = K ? w() : null, V = N ? J : ie, le = f && L ? !!f.__confetti_initialized : !1, ge = typeof matchMedia == "function" && matchMedia("(prefers-reduced-motion)").matches, oe;
|
|
1866
1866
|
function pe(Y, Le, Be) {
|
|
1867
|
-
for (var Me = v(Y, "particleCount", x), Xe = v(Y, "angle", Number),
|
|
1867
|
+
for (var Me = v(Y, "particleCount", x), Xe = v(Y, "angle", Number), at = v(Y, "spread", Number), $e = v(Y, "startVelocity", Number), Pa = v(Y, "decay", Number), _a = v(Y, "gravity", Number), Ia = v(Y, "drift", Number), Cs = v(Y, "colors", b), ka = v(Y, "ticks", Number), Ps = v(Y, "shapes"), La = v(Y, "scalar"), Da = !!v(Y, "flat"), _s = U(Y), Is = Me, Fn = [], Ga = f.width * _s.x, Ua = f.height * _s.y; Is--; )
|
|
1868
1868
|
Fn.push(
|
|
1869
1869
|
A({
|
|
1870
1870
|
x: Ga,
|
|
1871
1871
|
y: Ua,
|
|
1872
1872
|
angle: Xe,
|
|
1873
|
-
spread:
|
|
1873
|
+
spread: at,
|
|
1874
1874
|
startVelocity: $e,
|
|
1875
1875
|
color: Cs[Is % Cs.length],
|
|
1876
1876
|
shape: Ps[G(0, Ps.length)],
|
|
@@ -1914,10 +1914,10 @@ var As = {};
|
|
|
1914
1914
|
}
|
|
1915
1915
|
Me.width = Me.height = null;
|
|
1916
1916
|
}
|
|
1917
|
-
function
|
|
1917
|
+
function at() {
|
|
1918
1918
|
oe = null, C && (D = !1, t.removeEventListener("resize", Xe)), N && f && (document.body.contains(f) && document.body.removeChild(f), f = null, le = !1);
|
|
1919
1919
|
}
|
|
1920
|
-
return C && !D && (D = !0, t.addEventListener("resize", Xe, !1)), L ? L.fire(Y, Me,
|
|
1920
|
+
return C && !D && (D = !0, t.addEventListener("resize", Xe, !1)), L ? L.fire(Y, Me, at) : pe(Y, Me, at);
|
|
1921
1921
|
}
|
|
1922
1922
|
return xe.reset = function() {
|
|
1923
1923
|
L && L.reset(), oe && oe.reset();
|
|
@@ -2049,7 +2049,7 @@ const Wl = {
|
|
|
2049
2049
|
page: e,
|
|
2050
2050
|
onClose: t
|
|
2051
2051
|
}) => {
|
|
2052
|
-
const [n, s] = P(e.slug || ""), { mutate: a, isPending: i } = $l(), { data: l } =
|
|
2052
|
+
const [n, s] = P(e.slug || ""), { mutate: a, isPending: i } = $l(), { data: l } = ke(), o = fe(l, { key: e == null ? void 0 : e.pageType }), c = (g) => {
|
|
2053
2053
|
if (g.preventDefault(), !(e != null && e.primaryPage) && Object.keys(qe).some((y) => n === `/${y}` || Rt(n, `/${y}/`))) {
|
|
2054
2054
|
j.error("Error", {
|
|
2055
2055
|
description: "Slugs cannot start with a language code for primary page"
|
|
@@ -2126,7 +2126,7 @@ function Hr({
|
|
|
2126
2126
|
page: e,
|
|
2127
2127
|
onClose: t
|
|
2128
2128
|
}) {
|
|
2129
|
-
const [, n] = Ue(), { mutate: s, isPending: a } = Hl(), { data: i } =
|
|
2129
|
+
const [, n] = Ue(), { mutate: s, isPending: a } = Hl(), { data: i } = ke(), l = () => {
|
|
2130
2130
|
s(e, {
|
|
2131
2131
|
onSuccess: () => {
|
|
2132
2132
|
e != null && e.primaryPage || (window.history.replaceState(null, "", "/"), n(new URLSearchParams({})), window.dispatchEvent(new PopStateEvent("popstate"))), t();
|
|
@@ -2209,7 +2209,7 @@ const Oe = ({
|
|
|
2209
2209
|
onClose: t,
|
|
2210
2210
|
languages: n
|
|
2211
2211
|
}) => {
|
|
2212
|
-
const { data: s } = Re(), { data: a } =
|
|
2212
|
+
const { data: s } = Re(), { data: a } = ke(), [i, l] = P(e.name || ""), [o, c] = P(e.edit ? e.lang : ""), [h, g] = P(e.edit ? e.slug : ""), { mutate: d, isPending: w } = qr(), { mutate: y, isPending: p } = Ss(), S = W(
|
|
2213
2213
|
() => a == null ? void 0 : a.find(
|
|
2214
2214
|
(E) => E.key === e.pageType
|
|
2215
2215
|
),
|
|
@@ -2301,7 +2301,7 @@ const Oe = ({
|
|
|
2301
2301
|
] })
|
|
2302
2302
|
] }) });
|
|
2303
2303
|
}, Zl = () => {
|
|
2304
|
-
const [e, t] = P(null), { selectedLang: n, fallbackLang: s, setSelectedLang: a } =
|
|
2304
|
+
const [e, t] = P(null), { selectedLang: n, fallbackLang: s, setSelectedLang: a } = dt(), { data: i, isFetching: l } = cn(), { data: o } = Re(), [c, h] = P(null), [g, d] = P(null), [w, y] = P(null), { data: p } = un(), S = Te(
|
|
2305
2305
|
te(p, "languages") || ["en"],
|
|
2306
2306
|
(v) => !fe(i, { lang: v }) && v !== te(p, "fallbackLang")
|
|
2307
2307
|
);
|
|
@@ -2587,13 +2587,13 @@ const eo = ({
|
|
|
2587
2587
|
}, to = () => {
|
|
2588
2588
|
const e = Q(), t = $();
|
|
2589
2589
|
return Ne({
|
|
2590
|
-
queryKey: [
|
|
2590
|
+
queryKey: [Ie, I.GET_LIBRARIES],
|
|
2591
2591
|
queryFn: async () => await t(e, { action: I.GET_LIBRARIES }) || []
|
|
2592
2592
|
});
|
|
2593
2593
|
}, no = (e) => {
|
|
2594
2594
|
const t = Q(), n = $();
|
|
2595
2595
|
return Ne({
|
|
2596
|
-
queryKey: [
|
|
2596
|
+
queryKey: [Ie, I.GET_TEMPLATES_BY_TYPE, e],
|
|
2597
2597
|
enabled: !!e,
|
|
2598
2598
|
queryFn: async () => {
|
|
2599
2599
|
const s = await n(t, {
|
|
@@ -2898,7 +2898,7 @@ const ao = ({
|
|
|
2898
2898
|
addEditPage: e,
|
|
2899
2899
|
setAddEditPage: t
|
|
2900
2900
|
}) => {
|
|
2901
|
-
const { data: n } =
|
|
2901
|
+
const { data: n } = ke(), s = !!(e != null && e.id);
|
|
2902
2902
|
return /* @__PURE__ */ r(He, { open: !!e, onOpenChange: () => t(void 0), children: /* @__PURE__ */ u(Ke, { className: "sm:max-w-[425px]", children: [
|
|
2903
2903
|
/* @__PURE__ */ u(Ve, { children: [
|
|
2904
2904
|
/* @__PURE__ */ u(je, { children: [
|
|
@@ -2920,7 +2920,7 @@ const ao = ({
|
|
|
2920
2920
|
page: e,
|
|
2921
2921
|
onClose: t
|
|
2922
2922
|
}) => {
|
|
2923
|
-
const [n, s] = P(!1), [a, i] = P(""), [l, o] = P(""), [c, h] = P(!1), g =
|
|
2923
|
+
const [n, s] = P(!1), [a, i] = P(""), [l, o] = P(""), [c, h] = P(!1), g = ut(null), d = Vl(), { data: w } = ke(), y = w == null ? void 0 : w.find(
|
|
2924
2924
|
(E) => E.key === e.pageType
|
|
2925
2925
|
), p = (y == null ? void 0 : y.name) || It(e.pageType), S = _e(
|
|
2926
2926
|
(E) => {
|
|
@@ -3131,7 +3131,7 @@ const ao = ({
|
|
|
3131
3131
|
setMarkAsTemplate: o,
|
|
3132
3132
|
setUnmarkAsTemplate: c
|
|
3133
3133
|
}) => {
|
|
3134
|
-
const { data: h } =
|
|
3134
|
+
const { data: h } = ke(), { hasPermission: g } = sn(), d = W(
|
|
3135
3135
|
() => fe(h, { key: t.pageType }),
|
|
3136
3136
|
[h, t.pageType]
|
|
3137
3137
|
), w = te(t, "slug", "").replace(e, "") || "/", y = !g(ue.EDIT_PAGE) && !g(ue.DELETE_PAGE) && !g(ue.UNPUBLISH_PAGE), p = W(() => !!t.isTemplate, [t.isTemplate]), S = W(
|
|
@@ -3262,7 +3262,7 @@ const ao = ({
|
|
|
3262
3262
|
}
|
|
3263
3263
|
);
|
|
3264
3264
|
}, co = ({ close: e }) => {
|
|
3265
|
-
const [, t] = P([]), [n, s] = P(""), [a, i] = P(null), [l, o] = P(null), [c, h] = P(null), [g, d] = P(null), [w, y] = P(null), { data: p, isFetching: S } = Rn(), [v, x] = P(""), { hasPermission: G } = sn(), [E, b] = Ue(), T = E.get("page"), { data: U } =
|
|
3265
|
+
const [, t] = P([]), [n, s] = P(""), [a, i] = P(null), [l, o] = P(null), [c, h] = P(null), [g, d] = P(null), [w, y] = P(null), { data: p, isFetching: S } = Rn(), [v, x] = P(""), { hasPermission: G } = sn(), [E, b] = Ue(), T = E.get("page"), { data: U } = ke(), J = _e(
|
|
3266
3266
|
(A) => {
|
|
3267
3267
|
var M;
|
|
3268
3268
|
return (M = fe(U, { key: A })) == null ? void 0 : M.hasSlug;
|
|
@@ -3457,7 +3457,7 @@ const ao = ({
|
|
|
3457
3457
|
)
|
|
3458
3458
|
] });
|
|
3459
3459
|
}, uo = () => {
|
|
3460
|
-
const e =
|
|
3460
|
+
const e = rt("logo", null);
|
|
3461
3461
|
return e ? /* @__PURE__ */ r("div", { className: "w-full max-h-9 overflow-hidden pr-2", children: tr.createElement(e, {}) }) : null;
|
|
3462
3462
|
}, ho = () => {
|
|
3463
3463
|
const [e] = Ue(), t = e.get("page"), { data: n, isFetching: s } = Re(), [a, i] = P(!1), l = !!t && !me(n), o = !t || !s && me(n) || a;
|
|
@@ -3504,7 +3504,7 @@ const ao = ({
|
|
|
3504
3504
|
)
|
|
3505
3505
|
] });
|
|
3506
3506
|
}, mo = () => {
|
|
3507
|
-
const { fallbackLang: e, languages: t, selectedLang: n, setSelectedLang: s } =
|
|
3507
|
+
const { fallbackLang: e, languages: t, selectedLang: n, setSelectedLang: s } = dt(), a = me(n) ? e : n, [, i] = Ue();
|
|
3508
3508
|
we(() => {
|
|
3509
3509
|
const p = new URLSearchParams(window.location.search), S = p.get("lang");
|
|
3510
3510
|
S && (t.includes(S) ? s(S) : (p.delete("lang"), i(p), s("")));
|
|
@@ -3616,7 +3616,7 @@ function fo() {
|
|
|
3616
3616
|
function go(e) {
|
|
3617
3617
|
const t = Q(), n = $();
|
|
3618
3618
|
return Ne({
|
|
3619
|
-
queryKey: [
|
|
3619
|
+
queryKey: [Ie, "revisions", e],
|
|
3620
3620
|
queryFn: async () => await n(t, {
|
|
3621
3621
|
action: I.GET_PAGE_REVISIONS,
|
|
3622
3622
|
data: { pageId: e }
|
|
@@ -3991,7 +3991,7 @@ function Ao({
|
|
|
3991
3991
|
const xo = () => {
|
|
3992
3992
|
const e = Q(), t = $();
|
|
3993
3993
|
return Ne({
|
|
3994
|
-
queryKey: [
|
|
3994
|
+
queryKey: [Ie, I.GET_CHANGES],
|
|
3995
3995
|
queryFn: async () => t(e, { action: I.GET_CHANGES })
|
|
3996
3996
|
});
|
|
3997
3997
|
}, To = ({ currentEditor: e }) => {
|
|
@@ -4002,7 +4002,7 @@ function Co({
|
|
|
4002
4002
|
showModal: e = !1,
|
|
4003
4003
|
onClose: t = () => console.log("Cancelled")
|
|
4004
4004
|
}) {
|
|
4005
|
-
const [n, s] = P([]), { data: a, isFetching: i } = xo(), { data: l } =
|
|
4005
|
+
const [n, s] = P([]), { data: a, isFetching: i } = xo(), { data: l } = ke(), o = _e(
|
|
4006
4006
|
(b) => {
|
|
4007
4007
|
var T;
|
|
4008
4008
|
return (T = fe(l, { key: b })) == null ? void 0 : T.hasSlug;
|
|
@@ -4188,7 +4188,7 @@ const Po = () => {
|
|
|
4188
4188
|
});
|
|
4189
4189
|
};
|
|
4190
4190
|
function _o({ onClose: e }) {
|
|
4191
|
-
const { data: t, isFetching: n } = Po(), { mutateAsync: s, isPending: a } = wl(), i =
|
|
4191
|
+
const { data: t, isFetching: n } = Po(), { mutateAsync: s, isPending: a } = wl(), i = rt("settingComponent", null), l = Va(async (o) => (await s({ data: o }), !0), 300);
|
|
4192
4192
|
return i ? /* @__PURE__ */ r(He, { open: !0, onOpenChange: e, children: /* @__PURE__ */ u(Ke, { className: "w-full", children: [
|
|
4193
4193
|
/* @__PURE__ */ r(Ve, { children: /* @__PURE__ */ r(je, { children: "Website Settings" }) }),
|
|
4194
4194
|
n ? /* @__PURE__ */ u("div", { className: "w-full space-y-3 py-4", children: [
|
|
@@ -4217,7 +4217,7 @@ function Vr({
|
|
|
4217
4217
|
] }) });
|
|
4218
4218
|
}
|
|
4219
4219
|
const Io = () => {
|
|
4220
|
-
const { selectedLang: e } =
|
|
4220
|
+
const { selectedLang: e } = dt(), t = rt("getPreviewUrl", async (g) => g), [n, s] = P(""), { data: a, isFetching: i } = Re(), { data: l } = cn(), { data: o } = ke(), c = W(
|
|
4221
4221
|
() => {
|
|
4222
4222
|
var g;
|
|
4223
4223
|
return (g = l == null ? void 0 : l.find((d) => (d == null ? void 0 : d.lang) === e)) == null ? void 0 : g.slug;
|
|
@@ -4420,7 +4420,7 @@ const Io = () => {
|
|
|
4420
4420
|
)
|
|
4421
4421
|
] });
|
|
4422
4422
|
}, Go = () => {
|
|
4423
|
-
const e =
|
|
4423
|
+
const e = rt("settingComponent", null), [t, n] = P(!1);
|
|
4424
4424
|
return e ? /* @__PURE__ */ u(be, { children: [
|
|
4425
4425
|
/* @__PURE__ */ r(Vr, { content: B.WEBSITEDATA, children: /* @__PURE__ */ r(
|
|
4426
4426
|
_,
|
|
@@ -4436,7 +4436,7 @@ const Io = () => {
|
|
|
4436
4436
|
/* @__PURE__ */ r("div", { className: "w-px h-4 bg-gray-200 dark:bg-gray-700" })
|
|
4437
4437
|
] }) : null;
|
|
4438
4438
|
}, Uo = () => {
|
|
4439
|
-
const { data: e } = Re(), t = e && (e == null ? void 0 : e.online), { data: n } =
|
|
4439
|
+
const { data: e } = Re(), t = e && (e == null ? void 0 : e.online), { data: n } = ke();
|
|
4440
4440
|
return _e(
|
|
4441
4441
|
(a) => {
|
|
4442
4442
|
var i;
|
|
@@ -4513,7 +4513,7 @@ const Oo = () => /* @__PURE__ */ u("div", { className: "flex px-2 h-full items-c
|
|
|
4513
4513
|
}, qo = () => {
|
|
4514
4514
|
const e = Q(), t = $();
|
|
4515
4515
|
return Ne({
|
|
4516
|
-
queryKey: [
|
|
4516
|
+
queryKey: [Ie, "uiLibraries"],
|
|
4517
4517
|
initialData: [],
|
|
4518
4518
|
queryFn: async () => (await t(e, { action: "GET_LIBRARIES" })).map((s) => ({
|
|
4519
4519
|
...s
|
|
@@ -4522,7 +4522,7 @@ const Oo = () => /* @__PURE__ */ u("div", { className: "flex px-2 h-full items-c
|
|
|
4522
4522
|
}, Ho = () => {
|
|
4523
4523
|
const e = Un(), t = $(), { user: n } = st(), s = n == null ? void 0 : n.id;
|
|
4524
4524
|
return Ne({
|
|
4525
|
-
queryKey: [
|
|
4525
|
+
queryKey: [Ie, "permissions", s],
|
|
4526
4526
|
queryFn: () => t(e, {
|
|
4527
4527
|
action: I.GET_ROLE_AND_PERMISSIONS,
|
|
4528
4528
|
data: { userId: s }
|
|
@@ -4745,7 +4745,7 @@ const Oo = () => /* @__PURE__ */ u("div", { className: "flex px-2 h-full items-c
|
|
|
4745
4745
|
] }) });
|
|
4746
4746
|
};
|
|
4747
4747
|
let Wn = jo;
|
|
4748
|
-
const $o = () => W(() => Wn, [Wn]),
|
|
4748
|
+
const $o = () => W(() => Wn, [Wn]), Qu = (e) => {
|
|
4749
4749
|
Wn = e;
|
|
4750
4750
|
}, zo = () => {
|
|
4751
4751
|
const { setUser: e } = st(), t = $o();
|
|
@@ -4862,7 +4862,7 @@ function Ze({
|
|
|
4862
4862
|
] });
|
|
4863
4863
|
}
|
|
4864
4864
|
const Qo = () => {
|
|
4865
|
-
const { selectedLang: e } =
|
|
4865
|
+
const { selectedLang: e } = dt(), { data: t, isFetching: n } = cn();
|
|
4866
4866
|
return { data: W(() => fe(t, { lang: e || "" }) || {}, [t, e]), isFetching: n };
|
|
4867
4867
|
}, Xo = (e, t) => {
|
|
4868
4868
|
const n = e.selectionStart || 0, s = e.selectionEnd || 0, a = e.value, i = a.substring(0, n), l = a.substring(s);
|
|
@@ -4883,10 +4883,10 @@ const Qo = () => {
|
|
|
4883
4883
|
newCursorPos: y
|
|
4884
4884
|
};
|
|
4885
4885
|
}, $r = () => {
|
|
4886
|
-
const { t: e } = li(), { selectedLang: t, fallbackLang: n, languages: s } =
|
|
4886
|
+
const { t: e } = li(), { selectedLang: t, fallbackLang: n, languages: s } = dt(), [, a] = oi(), { data: i } = Re(), { data: l } = Fr({
|
|
4887
4887
|
lang: t || n,
|
|
4888
4888
|
pageType: i == null ? void 0 : i.pageType
|
|
4889
|
-
}), { data: o, isFetching: c } = Qo(), h = o == null ? void 0 : o.seo, g =
|
|
4889
|
+
}), { data: o, isFetching: c } = Qo(), h = o == null ? void 0 : o.seo, g = ut(
|
|
4890
4890
|
null
|
|
4891
4891
|
), [d, w] = P({
|
|
4892
4892
|
title: "",
|
|
@@ -4901,7 +4901,7 @@ const Qo = () => {
|
|
|
4901
4901
|
searchDescription: "",
|
|
4902
4902
|
jsonLD: "",
|
|
4903
4903
|
...h
|
|
4904
|
-
}), y =
|
|
4904
|
+
}), y = ut({ initial: d, updated: d }), p = t.length ? t : n, { mutate: S, isPending: v } = Ss(), x = v, { hasPermission: G } = sn(), E = G(ue.EDIT_SEO);
|
|
4905
4905
|
we(() => {
|
|
4906
4906
|
!c && h && w({
|
|
4907
4907
|
title: "",
|
|
@@ -5416,7 +5416,7 @@ var rc = (e, t) => e === t, Cn = Symbol("solid-proxy"), Wr = typeof Proxy == "fu
|
|
|
5416
5416
|
context: null,
|
|
5417
5417
|
owner: null
|
|
5418
5418
|
}, Kn = {}, Z = null, Vn = null, ac = null, re = null, Pe = null, Je = null, On = 0;
|
|
5419
|
-
function
|
|
5419
|
+
function ot(e, t) {
|
|
5420
5420
|
const n = re, s = Z, a = e.length === 0, i = t === void 0 ? s : t, l = a ? Xr : {
|
|
5421
5421
|
owned: null,
|
|
5422
5422
|
cleanups: null,
|
|
@@ -5444,7 +5444,7 @@ function ic(e, t, n) {
|
|
|
5444
5444
|
const s = Bn(e, t, !0, tt);
|
|
5445
5445
|
Lt(s);
|
|
5446
5446
|
}
|
|
5447
|
-
function
|
|
5447
|
+
function ct(e, t, n) {
|
|
5448
5448
|
const s = Bn(e, t, !1, tt);
|
|
5449
5449
|
Lt(s);
|
|
5450
5450
|
}
|
|
@@ -5543,7 +5543,7 @@ function oc(e, t, n) {
|
|
|
5543
5543
|
}
|
|
5544
5544
|
];
|
|
5545
5545
|
}
|
|
5546
|
-
function
|
|
5546
|
+
function Xu(e) {
|
|
5547
5547
|
return We(e, !1);
|
|
5548
5548
|
}
|
|
5549
5549
|
function Ce(e) {
|
|
@@ -5557,7 +5557,7 @@ function Ce(e) {
|
|
|
5557
5557
|
re = t;
|
|
5558
5558
|
}
|
|
5559
5559
|
}
|
|
5560
|
-
function
|
|
5560
|
+
function Zu(e, t, n) {
|
|
5561
5561
|
const s = Array.isArray(e);
|
|
5562
5562
|
let a, i = n && n.defer;
|
|
5563
5563
|
return (l) => {
|
|
@@ -5602,11 +5602,11 @@ function dc(e) {
|
|
|
5602
5602
|
return We(e, !1), re = Z = null, s ? s.done : void 0;
|
|
5603
5603
|
});
|
|
5604
5604
|
}
|
|
5605
|
-
var [hc,
|
|
5606
|
-
function
|
|
5605
|
+
var [hc, Ju] = /* @__PURE__ */ ve(!1);
|
|
5606
|
+
function ed() {
|
|
5607
5607
|
return [hc, dc];
|
|
5608
5608
|
}
|
|
5609
|
-
function
|
|
5609
|
+
function td(e, t) {
|
|
5610
5610
|
const n = Symbol("context");
|
|
5611
5611
|
return {
|
|
5612
5612
|
id: n,
|
|
@@ -5614,7 +5614,7 @@ function ed(e, t) {
|
|
|
5614
5614
|
defaultValue: e
|
|
5615
5615
|
};
|
|
5616
5616
|
}
|
|
5617
|
-
function
|
|
5617
|
+
function nd(e) {
|
|
5618
5618
|
let t;
|
|
5619
5619
|
return Z && Z.context && (t = Z.context[e.id]) !== void 0 ? t : e.defaultValue;
|
|
5620
5620
|
}
|
|
@@ -5814,7 +5814,7 @@ function Qn(e) {
|
|
|
5814
5814
|
function yc(e, t) {
|
|
5815
5815
|
return function(s) {
|
|
5816
5816
|
let a;
|
|
5817
|
-
return
|
|
5817
|
+
return ct(
|
|
5818
5818
|
() => a = Ce(() => (Z.context = {
|
|
5819
5819
|
...Z.context,
|
|
5820
5820
|
[e]: s.value
|
|
@@ -5835,10 +5835,10 @@ function vc(e, t, n = {}) {
|
|
|
5835
5835
|
return c[Yr], Ce(() => {
|
|
5836
5836
|
let y, p, S, v, x, G, E, b, T;
|
|
5837
5837
|
if (h === 0)
|
|
5838
|
-
l !== 0 && (Ln(i), i = [], s = [], a = [], l = 0, o && (o = [])), n.fallback && (s = [Xn], a[0] =
|
|
5838
|
+
l !== 0 && (Ln(i), i = [], s = [], a = [], l = 0, o && (o = [])), n.fallback && (s = [Xn], a[0] = ot((U) => (i[0] = U, n.fallback())), l = 1);
|
|
5839
5839
|
else if (l === 0) {
|
|
5840
5840
|
for (a = new Array(h), d = 0; d < h; d++)
|
|
5841
|
-
s[d] = c[d], a[d] =
|
|
5841
|
+
s[d] = c[d], a[d] = ot(w);
|
|
5842
5842
|
l = h;
|
|
5843
5843
|
} else {
|
|
5844
5844
|
for (S = new Array(h), v = new Array(h), o && (x = new Array(h)), G = 0, E = Math.min(l, h); G < E && s[G] === c[G]; G++)
|
|
@@ -5850,7 +5850,7 @@ function vc(e, t, n = {}) {
|
|
|
5850
5850
|
for (g = G; g <= E; g++)
|
|
5851
5851
|
T = s[g], d = y.get(T), d !== void 0 && d !== -1 ? (S[d] = a[g], v[d] = i[g], o && (x[d] = o[g]), d = p[d], y.set(T, d)) : i[g]();
|
|
5852
5852
|
for (d = G; d < h; d++)
|
|
5853
|
-
d in S ? (a[d] = S[d], i[d] = v[d], o && (o[d] = x[d], o[d](d))) : a[d] =
|
|
5853
|
+
d in S ? (a[d] = S[d], i[d] = v[d], o && (o[d] = x[d], o[d](d))) : a[d] = ot(w);
|
|
5854
5854
|
a = a.slice(0, l = h), s = c.slice(0);
|
|
5855
5855
|
}
|
|
5856
5856
|
return a;
|
|
@@ -5870,9 +5870,9 @@ function Ec(e, t, n = {}) {
|
|
|
5870
5870
|
const h = e() || [], g = h.length;
|
|
5871
5871
|
return h[Yr], Ce(() => {
|
|
5872
5872
|
if (g === 0)
|
|
5873
|
-
return o !== 0 && (Ln(i), i = [], s = [], a = [], o = 0, l = []), n.fallback && (s = [Xn], a[0] =
|
|
5873
|
+
return o !== 0 && (Ln(i), i = [], s = [], a = [], o = 0, l = []), n.fallback && (s = [Xn], a[0] = ot((w) => (i[0] = w, n.fallback())), o = 1), a;
|
|
5874
5874
|
for (s[0] === Xn && (i[0](), i = [], s = [], a = [], o = 0), c = 0; c < g; c++)
|
|
5875
|
-
c < s.length && s[c] !== h[c] ? l[c](() => h[c]) : c >= s.length && (a[c] =
|
|
5875
|
+
c < s.length && s[c] !== h[c] ? l[c](() => h[c]) : c >= s.length && (a[c] = ot(d));
|
|
5876
5876
|
for (; c < s.length; c++)
|
|
5877
5877
|
i[c]();
|
|
5878
5878
|
return o = l.length = i.length = g, s = h.slice(0), a = a.slice(0, o);
|
|
@@ -6056,23 +6056,23 @@ function ia(e) {
|
|
|
6056
6056
|
return s.preload = () => n || ((n = e()).then((a) => t = () => a.default), n), s;
|
|
6057
6057
|
}
|
|
6058
6058
|
var Sc = 0;
|
|
6059
|
-
function
|
|
6059
|
+
function sd() {
|
|
6060
6060
|
return O.context ? O.getNextContextId() : `cl-${Sc++}`;
|
|
6061
6061
|
}
|
|
6062
6062
|
var la = (e) => `Stale read from <${e}>.`;
|
|
6063
|
-
function
|
|
6063
|
+
function rd(e) {
|
|
6064
6064
|
const t = "fallback" in e && {
|
|
6065
6065
|
fallback: () => e.fallback
|
|
6066
6066
|
};
|
|
6067
6067
|
return Ge(vc(() => e.each, e.children, t || void 0));
|
|
6068
6068
|
}
|
|
6069
|
-
function
|
|
6069
|
+
function ad(e) {
|
|
6070
6070
|
const t = "fallback" in e && {
|
|
6071
6071
|
fallback: () => e.fallback
|
|
6072
6072
|
};
|
|
6073
6073
|
return Ge(Ec(() => e.each, e.children, t || void 0));
|
|
6074
6074
|
}
|
|
6075
|
-
function
|
|
6075
|
+
function id(e) {
|
|
6076
6076
|
const t = e.keyed, n = Ge(() => e.when, void 0, {
|
|
6077
6077
|
equals: (s, a) => t ? s === a : !s == !a
|
|
6078
6078
|
});
|
|
@@ -6097,7 +6097,7 @@ function ad(e) {
|
|
|
6097
6097
|
void 0
|
|
6098
6098
|
);
|
|
6099
6099
|
}
|
|
6100
|
-
function
|
|
6100
|
+
function ld(e) {
|
|
6101
6101
|
let t = !1;
|
|
6102
6102
|
const n = (i, l) => (t ? i[1] === l[1] : !i[1] == !l[1]) && i[2] === l[2], s = Jr(() => e.children), a = Ge(
|
|
6103
6103
|
() => {
|
|
@@ -6135,7 +6135,7 @@ function id(e) {
|
|
|
6135
6135
|
void 0
|
|
6136
6136
|
);
|
|
6137
6137
|
}
|
|
6138
|
-
function
|
|
6138
|
+
function od(e) {
|
|
6139
6139
|
return e;
|
|
6140
6140
|
}
|
|
6141
6141
|
var Nc = [
|
|
@@ -6363,13 +6363,13 @@ function Lc(e, t, n) {
|
|
|
6363
6363
|
var Ot = "_$DX_DELEGATE";
|
|
6364
6364
|
function oa(e, t, n, s = {}) {
|
|
6365
6365
|
let a;
|
|
6366
|
-
return
|
|
6366
|
+
return ot((i) => {
|
|
6367
6367
|
a = i, t === document ? e() : es(t, e(), t.firstChild ? null : void 0, n);
|
|
6368
6368
|
}, s.owner), () => {
|
|
6369
6369
|
a(), t.textContent = "";
|
|
6370
6370
|
};
|
|
6371
6371
|
}
|
|
6372
|
-
function
|
|
6372
|
+
function cd(e, t, n) {
|
|
6373
6373
|
let s;
|
|
6374
6374
|
const a = () => {
|
|
6375
6375
|
const l = document.createElement("template");
|
|
@@ -6384,7 +6384,7 @@ function Dc(e, t = window.document) {
|
|
|
6384
6384
|
n.has(i) || (n.add(i), t.addEventListener(i, ca));
|
|
6385
6385
|
}
|
|
6386
6386
|
}
|
|
6387
|
-
function
|
|
6387
|
+
function ud(e = window.document) {
|
|
6388
6388
|
if (e[Ot]) {
|
|
6389
6389
|
for (let t of e[Ot].keys())
|
|
6390
6390
|
e.removeEventListener(t, ca);
|
|
@@ -6441,9 +6441,9 @@ function Mc(e, t, n) {
|
|
|
6441
6441
|
}
|
|
6442
6442
|
function Fc(e, t = {}, n, s) {
|
|
6443
6443
|
const a = {};
|
|
6444
|
-
return s ||
|
|
6444
|
+
return s || ct(
|
|
6445
6445
|
() => a.children = Ht(e, t.children, a.children)
|
|
6446
|
-
),
|
|
6446
|
+
), ct(() => typeof t.ref == "function" && qc(t.ref, e)), ct(() => Hc(e, t, n, !0, a, !0)), a;
|
|
6447
6447
|
}
|
|
6448
6448
|
function qc(e, t, n) {
|
|
6449
6449
|
return Ce(() => e(t, n));
|
|
@@ -6451,7 +6451,7 @@ function qc(e, t, n) {
|
|
|
6451
6451
|
function es(e, t, n, s) {
|
|
6452
6452
|
if (n !== void 0 && !s && (s = []), typeof t != "function")
|
|
6453
6453
|
return Ht(e, t, s, n);
|
|
6454
|
-
|
|
6454
|
+
ct((a) => Ht(e, t(), a, n), s);
|
|
6455
6455
|
}
|
|
6456
6456
|
function Hc(e, t, n, s, a = {}, i = !1) {
|
|
6457
6457
|
t || (t = {});
|
|
@@ -6591,7 +6591,7 @@ function Ht(e, t, n, s, a) {
|
|
|
6591
6591
|
n = mt(e, n, s);
|
|
6592
6592
|
} else {
|
|
6593
6593
|
if (l === "function")
|
|
6594
|
-
return
|
|
6594
|
+
return ct(() => {
|
|
6595
6595
|
let c = t();
|
|
6596
6596
|
for (; typeof c == "function"; )
|
|
6597
6597
|
c = c();
|
|
@@ -6600,7 +6600,7 @@ function Ht(e, t, n, s, a) {
|
|
|
6600
6600
|
if (Array.isArray(t)) {
|
|
6601
6601
|
const c = [], h = n && Array.isArray(n);
|
|
6602
6602
|
if (ts(c, t, n, a))
|
|
6603
|
-
return
|
|
6603
|
+
return ct(() => n = Ht(e, c, n, s, !0)), () => n;
|
|
6604
6604
|
if (i) {
|
|
6605
6605
|
if (!c.length)
|
|
6606
6606
|
return n;
|
|
@@ -6688,7 +6688,7 @@ var $c = "http://www.w3.org/2000/svg";
|
|
|
6688
6688
|
function ua(e, t = !1) {
|
|
6689
6689
|
return t ? document.createElementNS($c, e) : document.createElement(e);
|
|
6690
6690
|
}
|
|
6691
|
-
function
|
|
6691
|
+
function dd(e) {
|
|
6692
6692
|
const { useShadow: t } = e, n = document.createTextNode(""), s = () => e.mount || document.body, a = Hs();
|
|
6693
6693
|
let i, l = !!O.context;
|
|
6694
6694
|
return Zr(
|
|
@@ -6697,7 +6697,7 @@ function ud(e) {
|
|
|
6697
6697
|
const o = s();
|
|
6698
6698
|
if (o instanceof HTMLHeadElement) {
|
|
6699
6699
|
const [c, h] = ve(!1), g = () => h(!0);
|
|
6700
|
-
|
|
6700
|
+
ot((d) => es(o, () => c() ? d() : i(), null)), Ft(g);
|
|
6701
6701
|
} else {
|
|
6702
6702
|
const c = ua(e.isSVG ? "g" : "div", e.isSVG), h = t && c.attachShadow ? c.attachShadow({
|
|
6703
6703
|
mode: "open"
|
|
@@ -6716,7 +6716,7 @@ function ud(e) {
|
|
|
6716
6716
|
}
|
|
6717
6717
|
), n;
|
|
6718
6718
|
}
|
|
6719
|
-
function
|
|
6719
|
+
function hd(e) {
|
|
6720
6720
|
const [t, n] = wc(e, ["component"]), s = Ge(() => t.component);
|
|
6721
6721
|
return Ge(() => {
|
|
6722
6722
|
const a = s();
|
|
@@ -7230,42 +7230,42 @@ ae.registerClass = ae.defaultInstance.registerClass.bind(ae.defaultInstance);
|
|
|
7230
7230
|
ae.registerSymbol = ae.defaultInstance.registerSymbol.bind(ae.defaultInstance);
|
|
7231
7231
|
ae.registerCustom = ae.defaultInstance.registerCustom.bind(ae.defaultInstance);
|
|
7232
7232
|
ae.allowErrorProps = ae.defaultInstance.allowErrorProps.bind(ae.defaultInstance);
|
|
7233
|
-
var Su = ae.serialize,
|
|
7234
|
-
function
|
|
7233
|
+
var Su = ae.serialize, md = ae.stringify;
|
|
7234
|
+
function fd(e) {
|
|
7235
7235
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
|
7236
7236
|
}
|
|
7237
|
-
function
|
|
7237
|
+
function gd(e, t) {
|
|
7238
7238
|
return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
|
|
7239
7239
|
}
|
|
7240
|
-
function
|
|
7240
|
+
function pd({
|
|
7241
7241
|
queryState: e,
|
|
7242
7242
|
observerCount: t,
|
|
7243
7243
|
isStale: n
|
|
7244
7244
|
}) {
|
|
7245
7245
|
return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : n ? "yellow" : "green" : "gray";
|
|
7246
7246
|
}
|
|
7247
|
-
function
|
|
7247
|
+
function yd({
|
|
7248
7248
|
status: e,
|
|
7249
7249
|
isPaused: t
|
|
7250
7250
|
}) {
|
|
7251
7251
|
return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
|
|
7252
7252
|
}
|
|
7253
|
-
function
|
|
7253
|
+
function vd(e) {
|
|
7254
7254
|
return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
|
|
7255
7255
|
}
|
|
7256
|
-
var
|
|
7256
|
+
var Ed = (e, t = !1) => {
|
|
7257
7257
|
const {
|
|
7258
7258
|
json: n
|
|
7259
7259
|
} = Su(e);
|
|
7260
7260
|
return JSON.stringify(n, null, t ? 2 : void 0);
|
|
7261
|
-
}, En = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Nu = (e, t) => e.queryHash.localeCompare(t.queryHash), xa = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Au = (e, t) => En(e) === En(t) ? xa(e, t) : En(e) > En(t) ? 1 : -1,
|
|
7261
|
+
}, En = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Nu = (e, t) => e.queryHash.localeCompare(t.queryHash), xa = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Au = (e, t) => En(e) === En(t) ? xa(e, t) : En(e) > En(t) ? 1 : -1, bd = {
|
|
7262
7262
|
status: Au,
|
|
7263
7263
|
"query hash": Nu,
|
|
7264
7264
|
"last updated": xa
|
|
7265
|
-
}, bn = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Ta = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, xu = (e, t) => bn(e) === bn(t) ? Ta(e, t) : bn(e) > bn(t) ? 1 : -1,
|
|
7265
|
+
}, bn = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Ta = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, xu = (e, t) => bn(e) === bn(t) ? Ta(e, t) : bn(e) > bn(t) ? 1 : -1, wd = {
|
|
7266
7266
|
status: xu,
|
|
7267
7267
|
"last updated": Ta
|
|
7268
|
-
},
|
|
7268
|
+
}, Sd = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), Nd = () => {
|
|
7269
7269
|
const [e, t] = ve("dark");
|
|
7270
7270
|
return cc(() => {
|
|
7271
7271
|
const n = window.matchMedia("(prefers-color-scheme: dark)");
|
|
@@ -7340,13 +7340,13 @@ var vd = (e, t = !1) => {
|
|
|
7340
7340
|
return;
|
|
7341
7341
|
const s = document.createElement("style"), a = document.createTextNode("");
|
|
7342
7342
|
s.appendChild(a), s.id = "_goober", s.setAttribute("nonce", e), t ? t.appendChild(s) : document.head.appendChild(s);
|
|
7343
|
-
}, gt, $t, zt, Wt,
|
|
7343
|
+
}, gt, $t, zt, Wt, it, Yt, pt, yt, vt, Et, bt, wt, Qt, Qs, Tu = (Qs = class {
|
|
7344
7344
|
constructor(e) {
|
|
7345
7345
|
se(this, gt);
|
|
7346
7346
|
se(this, $t);
|
|
7347
7347
|
se(this, zt);
|
|
7348
7348
|
se(this, Wt);
|
|
7349
|
-
se(this,
|
|
7349
|
+
se(this, it, !1);
|
|
7350
7350
|
se(this, Yt);
|
|
7351
7351
|
se(this, pt);
|
|
7352
7352
|
se(this, yt);
|
|
@@ -7385,12 +7385,12 @@ var vd = (e, t = !1) => {
|
|
|
7385
7385
|
R(this, gt)[1](e);
|
|
7386
7386
|
}
|
|
7387
7387
|
mount(e) {
|
|
7388
|
-
if (R(this,
|
|
7388
|
+
if (R(this, it))
|
|
7389
7389
|
throw new Error("Devtools is already mounted");
|
|
7390
7390
|
const t = oa(() => {
|
|
7391
7391
|
const n = this, [s] = R(this, yt), [a] = R(this, vt), [i] = R(this, Et), [l] = R(this, bt), [o] = R(this, gt);
|
|
7392
7392
|
let c;
|
|
7393
|
-
return R(this, wt) ? c = R(this, wt) : (c = ia(() => import("./HO4MOOFI-
|
|
7393
|
+
return R(this, wt) ? c = R(this, wt) : (c = ia(() => import("./HO4MOOFI-CIV6iAkb.js")), ee(this, wt, c)), Ca(R(this, Yt), R(this, pt)), ra(c, aa({
|
|
7394
7394
|
get queryFlavor() {
|
|
7395
7395
|
return R(n, zt);
|
|
7396
7396
|
},
|
|
@@ -7421,21 +7421,21 @@ var vd = (e, t = !1) => {
|
|
|
7421
7421
|
}
|
|
7422
7422
|
}));
|
|
7423
7423
|
}, e);
|
|
7424
|
-
ee(this,
|
|
7424
|
+
ee(this, it, !0), ee(this, Qt, t);
|
|
7425
7425
|
}
|
|
7426
7426
|
unmount() {
|
|
7427
7427
|
var e;
|
|
7428
|
-
if (!R(this,
|
|
7428
|
+
if (!R(this, it))
|
|
7429
7429
|
throw new Error("Devtools is not mounted");
|
|
7430
|
-
(e = R(this, Qt)) == null || e.call(this), ee(this,
|
|
7430
|
+
(e = R(this, Qt)) == null || e.call(this), ee(this, it, !1);
|
|
7431
7431
|
}
|
|
7432
|
-
}, gt = new WeakMap(), $t = new WeakMap(), zt = new WeakMap(), Wt = new WeakMap(),
|
|
7432
|
+
}, gt = new WeakMap(), $t = new WeakMap(), zt = new WeakMap(), Wt = new WeakMap(), it = new WeakMap(), Yt = new WeakMap(), pt = new WeakMap(), yt = new WeakMap(), vt = new WeakMap(), Et = new WeakMap(), bt = new WeakMap(), wt = new WeakMap(), Qt = new WeakMap(), Qs), St, Xt, Zt, Jt, lt, en, Nt, At, xt, Tt, Ct, Pt, _t, tn, Xs, Cu = (Xs = class {
|
|
7433
7433
|
constructor(e) {
|
|
7434
7434
|
se(this, St);
|
|
7435
7435
|
se(this, Xt);
|
|
7436
7436
|
se(this, Zt);
|
|
7437
7437
|
se(this, Jt);
|
|
7438
|
-
se(this,
|
|
7438
|
+
se(this, lt, !1);
|
|
7439
7439
|
se(this, en);
|
|
7440
7440
|
se(this, Nt);
|
|
7441
7441
|
se(this, At);
|
|
@@ -7479,12 +7479,12 @@ var vd = (e, t = !1) => {
|
|
|
7479
7479
|
R(this, Pt)[1](() => e);
|
|
7480
7480
|
}
|
|
7481
7481
|
mount(e) {
|
|
7482
|
-
if (R(this,
|
|
7482
|
+
if (R(this, lt))
|
|
7483
7483
|
throw new Error("Devtools is already mounted");
|
|
7484
7484
|
const t = oa(() => {
|
|
7485
7485
|
const n = this, [s] = R(this, At), [a] = R(this, xt), [i] = R(this, Tt), [l] = R(this, Ct), [o] = R(this, St), [c] = R(this, Pt);
|
|
7486
7486
|
let h;
|
|
7487
|
-
return R(this, _t) ? h = R(this, _t) : (h = ia(() => import("./HUY7CZI3-
|
|
7487
|
+
return R(this, _t) ? h = R(this, _t) : (h = ia(() => import("./HUY7CZI3-Chau07Me.js")), ee(this, _t, h)), Ca(R(this, en), R(this, Nt)), ra(h, aa({
|
|
7488
7488
|
get queryFlavor() {
|
|
7489
7489
|
return R(n, Zt);
|
|
7490
7490
|
},
|
|
@@ -7518,15 +7518,15 @@ var vd = (e, t = !1) => {
|
|
|
7518
7518
|
}
|
|
7519
7519
|
}));
|
|
7520
7520
|
}, e);
|
|
7521
|
-
ee(this,
|
|
7521
|
+
ee(this, lt, !0), ee(this, tn, t);
|
|
7522
7522
|
}
|
|
7523
7523
|
unmount() {
|
|
7524
7524
|
var e;
|
|
7525
|
-
if (!R(this,
|
|
7525
|
+
if (!R(this, lt))
|
|
7526
7526
|
throw new Error("Devtools is not mounted");
|
|
7527
|
-
(e = R(this, tn)) == null || e.call(this), ee(this,
|
|
7527
|
+
(e = R(this, tn)) == null || e.call(this), ee(this, lt, !1);
|
|
7528
7528
|
}
|
|
7529
|
-
}, St = new WeakMap(), Xt = new WeakMap(), Zt = new WeakMap(), Jt = new WeakMap(),
|
|
7529
|
+
}, St = new WeakMap(), Xt = new WeakMap(), Zt = new WeakMap(), Jt = new WeakMap(), lt = new WeakMap(), en = new WeakMap(), Nt = new WeakMap(), At = new WeakMap(), xt = new WeakMap(), Tt = new WeakMap(), Ct = new WeakMap(), Pt = new WeakMap(), _t = new WeakMap(), tn = new WeakMap(), Xs);
|
|
7530
7530
|
function Pu(e) {
|
|
7531
7531
|
const t = Se(e.client), n = ce.useRef(null), {
|
|
7532
7532
|
buttonPosition: s,
|
|
@@ -7602,7 +7602,7 @@ var Iu = process.env.NODE_ENV !== "development" ? function() {
|
|
|
7602
7602
|
} : Pu;
|
|
7603
7603
|
process.env.NODE_ENV;
|
|
7604
7604
|
const ku = Qa(
|
|
7605
|
-
() => import("./digital-asset-manager-
|
|
7605
|
+
() => import("./digital-asset-manager-CBaY202W.js")
|
|
7606
7606
|
);
|
|
7607
7607
|
ul();
|
|
7608
7608
|
ec();
|
|
@@ -7611,12 +7611,12 @@ ui(ku);
|
|
|
7611
7611
|
di(Bl);
|
|
7612
7612
|
zn("user-info", sc);
|
|
7613
7613
|
const Lu = (e) => {
|
|
7614
|
-
const t =
|
|
7614
|
+
const t = ut([]), [n] = Ue(), s = n.get("page"), a = n.get("lang"), { data: i } = Re(), {
|
|
7615
7615
|
data: l = {
|
|
7616
7616
|
role: "",
|
|
7617
7617
|
permissions: null
|
|
7618
7618
|
}
|
|
7619
|
-
} = Ho(), { data: o } = qo(), { data: c, isFetching: h } = Mr(), { blocks: g } = Fo(c), { data: d } = un(), { data: w } =
|
|
7619
|
+
} = Ho(), { data: o } = qo(), { data: c, isFetching: h } = Mr(), { blocks: g } = Fo(c), { data: d } = un(), { data: w } = ke(), { mutateAsync: y } = Rr(), p = Bo(), { getUILibraryBlock: S, getUILibraryBlocks: v, onSave: x } = Ko(), { getPartialBlocks: G, getPartialBlockBlocks: E } = Vo(), { aiContext: b, setAiContext: T } = bs(), { mutateAsync: U } = ql(), [J, ie] = P(!1), k = W(
|
|
7620
7620
|
() => (d == null ? void 0 : d.fallbackLang) || "en",
|
|
7621
7621
|
[d]
|
|
7622
7622
|
), { data: q } = Fr({
|
|
@@ -7701,12 +7701,13 @@ const Lu = (e) => {
|
|
|
7701
7701
|
refetchOnReconnect: !1
|
|
7702
7702
|
}
|
|
7703
7703
|
}
|
|
7704
|
-
}),
|
|
7704
|
+
}), Ad = (e) => {
|
|
7705
7705
|
const { isLoggedIn: t } = st(), [, n] = Or(), [s, a] = P(!1);
|
|
7706
7706
|
return we(() => (n(
|
|
7707
7707
|
er(e, [
|
|
7708
7708
|
"apiUrl",
|
|
7709
7709
|
"usersApiUrl",
|
|
7710
|
+
"assetsApiUrl",
|
|
7710
7711
|
"getPreviewUrl",
|
|
7711
7712
|
"logo",
|
|
7712
7713
|
"settingComponent",
|
|
@@ -7727,65 +7728,66 @@ if (typeof window > "u")
|
|
|
7727
7728
|
throw new Error("@chaibuilder/pages is not available on the server");
|
|
7728
7729
|
export {
|
|
7729
7730
|
Yr as $,
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7731
|
+
Ed as A,
|
|
7732
|
+
Xu as B,
|
|
7733
|
+
ud as C,
|
|
7734
|
+
hd as D,
|
|
7734
7735
|
Ce as E,
|
|
7735
|
-
|
|
7736
|
+
rd as F,
|
|
7736
7737
|
ic as G,
|
|
7737
7738
|
Su as H,
|
|
7738
|
-
|
|
7739
|
+
ad as I,
|
|
7739
7740
|
wn as J,
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7741
|
+
Sd as K,
|
|
7742
|
+
gd as L,
|
|
7743
|
+
fd as M,
|
|
7744
|
+
ot as N,
|
|
7744
7745
|
Oc as O,
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7746
|
+
dd as P,
|
|
7747
|
+
md as Q,
|
|
7748
|
+
od as R,
|
|
7749
|
+
id as S,
|
|
7750
|
+
ld as T,
|
|
7750
7751
|
Sn as U,
|
|
7751
|
-
|
|
7752
|
-
|
|
7752
|
+
ed as V,
|
|
7753
|
+
Yu as W,
|
|
7753
7754
|
$ as X,
|
|
7754
7755
|
I as Y,
|
|
7755
|
-
|
|
7756
|
-
|
|
7756
|
+
Ie as Z,
|
|
7757
|
+
Ad as _,
|
|
7757
7758
|
ra as a,
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7759
|
+
Oe as a0,
|
|
7760
|
+
Qu as a1,
|
|
7761
|
+
Re as a2,
|
|
7762
|
+
cn as a3,
|
|
7763
|
+
Rn as a4,
|
|
7764
|
+
un as a5,
|
|
7765
|
+
Ho as a6,
|
|
7766
|
+
Wu as a7,
|
|
7767
|
+
dn as a8,
|
|
7766
7768
|
ve as b,
|
|
7767
7769
|
Ge as c,
|
|
7768
7770
|
Dc as d,
|
|
7769
7771
|
Zr as e,
|
|
7770
7772
|
aa as f,
|
|
7771
|
-
|
|
7773
|
+
Nd as g,
|
|
7772
7774
|
wc as h,
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
+
td as i,
|
|
7776
|
+
ct as j,
|
|
7775
7777
|
Jn as k,
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
+
sd as l,
|
|
7779
|
+
wd as m,
|
|
7778
7780
|
Ft as n,
|
|
7779
|
-
|
|
7781
|
+
Zu as o,
|
|
7780
7782
|
cc as p,
|
|
7781
7783
|
qc as q,
|
|
7782
7784
|
es as r,
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7785
|
+
bd as s,
|
|
7786
|
+
cd as t,
|
|
7787
|
+
nd as u,
|
|
7786
7788
|
Rc as v,
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
+
pd as w,
|
|
7790
|
+
yd as x,
|
|
7789
7791
|
Fc as y,
|
|
7790
|
-
|
|
7792
|
+
vd as z
|
|
7791
7793
|
};
|