@levo-so/site-runtime 0.3.19 → 0.3.21
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/BillingStep-ByiYjJ0S.js +251 -0
- package/BookingCard-DdwLHVGw.js +816 -0
- package/CollectionLabel-CmUFfc_7.js +35 -0
- package/DateTimeWidget-Bk2tk_CT.js +254 -0
- package/{KBChatWidget-GRi6sLpp.js → KBChatWidget-BXRRgelS.js} +223 -223
- package/PhoneWidget-FWE3jD_L.js +97 -0
- package/{Popover-C29yJ7rz.js → Popover-MSrVDAzg.js} +7 -7
- package/PopupBody-DWM55Zh5-B3ysApDM.js +158 -0
- package/PopupDialog-DwAAJ8JS-DkxjZaJL.js +260 -0
- package/PopupRenderer-BVtV4b9I-Dot4Syse.js +207 -0
- package/{RichTextWidget-DfakML79.js → RichTextWidget-KnIKESAD.js} +189 -190
- package/{RteThemeProvider-BQmfSXSl.js → RteThemeProvider-DtTXGcCT.js} +2 -3
- package/Sonner-BsE4Y_t4.js +21 -0
- package/blog-content.js +71 -72
- package/dist-BVFCdirT.js +4471 -0
- package/dist-DEXGyFeH.js +376 -0
- package/index.d.ts +21 -11
- package/index.js +1702 -1390
- package/{themeVars.cssm-ByhhC2Jm.js → inlineBaseTheme-DcNdMEYp.js} +35 -5
- package/{inlineCollectionTheme-CWcMCUti.js → inlineCollectionTheme-DjXuH3bK.js} +1 -1
- package/{inlineRteTheme-CRPtkNXy.js → inlineRteTheme-BYGIJM7P.js} +1 -1
- package/{kbChat-a2dXSeRc.js → kbChat-eFsau7hG.js} +27 -27
- package/package.json +23 -23
- package/{pillChrome-CEpWGNZB.js → pillChrome-Dy3ApFI5.js} +5 -5
- package/popups.js +1 -1
- package/{react-Cj_U6VZQ.js → react-CENbCy5d.js} +6 -5
- package/script.esm-D4nvz3-k.js +62 -0
- package/script.esm-uVCZU25S.js +62 -0
- package/start.js +1 -1
- package/styles.css +1 -1
- package/theme.cssm-iXnQwMCp.js +238 -0
- package/CollectionField-C-6a1ud4.js +0 -270
- package/CollectionInput-BJ__qcbk.js +0 -147
- package/DateTimeWidget-U3lD0q1q.js +0 -255
- package/Dialog-dT7y641z.js +0 -130
- package/LevoProvider-Bsjkcwc8.js +0 -20
- package/PhoneWidget-DQQa4bL6.js +0 -99
- package/PopupBody-BI-MJqmd-DgTQEzda.js +0 -159
- package/PopupRenderer-D66Gx63H-Cd9xJv33.js +0 -388
- package/ThemeProvider-DutrjSTF.js +0 -116
- package/Tooltip-CQB0LyxK.js +0 -67
- package/VerifyButton-BUT70lgz.js +0 -192
- package/createThemeExtension-4AUn51iJ.js +0 -15
- package/dist-6AIgW_iB.js +0 -79
- package/dist-CEdznbFW.js +0 -3668
- package/inlineBaseTheme-BB9e6h5f.js +0 -9
- package/popupState-JmpeKzgM-D_77LiAa.js +0 -229
- package/react-B9yvlbH0.js +0 -74
- package/theme.cssm-DUzmx76l.js +0 -4
- package/usePopupRedirect-CAAdcpaW-Ddjyf4KK.js +0 -82
- /package/{content.cssm-XdMsTGIB.js → content.cssm-D_LSloGW.js} +0 -0
- /package/{es-ByBbirnH.js → es-CK20DkgT.js} +0 -0
- /package/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/{routes-CyKmkoRM.js → routes-DO1BLfh9.js} +0 -0
- /package/{rteTheme.cssm-W4gTOijw.js → rteTheme.cssm-BRxusHY4.js} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./rteTheme.cssm-W4gTOijw.js";
|
|
1
|
+
import { p as e, t } from "./theme.cssm-iXnQwMCp.js";
|
|
2
|
+
import { t as n } from "./rteTheme.cssm-BRxusHY4.js";
|
|
4
3
|
import { c as r } from "react/compiler-runtime";
|
|
5
4
|
import i from "clsx";
|
|
6
5
|
import { jsx as a } from "react/jsx-runtime";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import { toast as e } from "sonner";
|
|
4
|
+
//#region ../react/dist/components/Sonner.js
|
|
5
|
+
var t = (t, n = "Error", r = {}) => {
|
|
6
|
+
e.error(n, {
|
|
7
|
+
description: t,
|
|
8
|
+
duration: 4e3,
|
|
9
|
+
position: "bottom-right",
|
|
10
|
+
...r
|
|
11
|
+
});
|
|
12
|
+
}, n = (t, n = "Success", r = {}) => {
|
|
13
|
+
r?.id && e.dismiss(r?.id), e.success(n, {
|
|
14
|
+
description: t,
|
|
15
|
+
duration: 4e3,
|
|
16
|
+
position: "bottom-right",
|
|
17
|
+
...r
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { t as n, n as t };
|
package/blog-content.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t } from "./
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as E } from "./RteThemeProvider-BQmfSXSl.js";
|
|
2
|
+
import { i as e } from "./dist-BVFCdirT.js";
|
|
3
|
+
import { a as t, t as n } from "./inlineBaseTheme-DcNdMEYp.js";
|
|
4
|
+
import { t as r } from "./dist-DEXGyFeH.js";
|
|
5
|
+
import { _ as i, a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x } from "./react-CENbCy5d.js";
|
|
6
|
+
import { i as S, n as C, r as w, t as T } from "./content.cssm-D_LSloGW.js";
|
|
7
|
+
import { t as E } from "./RteThemeProvider-DtTXGcCT.js";
|
|
9
8
|
import { getLevoError as ee } from "@levo-so/core";
|
|
10
9
|
import { c as D } from "react/compiler-runtime";
|
|
11
|
-
import O, {
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
10
|
+
import O, { createContext as te, use as ne, useContext as re, useEffect as ie, useState as k } from "react";
|
|
11
|
+
import ae, { clsx as oe } from "clsx";
|
|
12
|
+
import { Fragment as se, jsx as A, jsxs as j } from "react/jsx-runtime";
|
|
13
|
+
import { createRuntimeFn as ce } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
15
14
|
import { Extension as M, InputRule as le, Node as N, createAtomBlockMarkdownSpec as ue, isNodeSelection as de, mergeAttributes as P, nodePasteRule as fe } from "@tiptap/core";
|
|
16
15
|
import { NodeSelection as F, Selection as pe, TextSelection as I } from "@tiptap/pm/state";
|
|
17
16
|
import { Blockquote as me } from "@tiptap/extension-blockquote";
|
|
@@ -33,7 +32,7 @@ import { Typography as Le } from "@tiptap/extension-typography";
|
|
|
33
32
|
import { UniqueID as Re } from "@tiptap/extension-unique-id";
|
|
34
33
|
//#region ../../libraries/blog-renderer/dist/views/BookmarkView.cssm.js
|
|
35
34
|
var ze = "_2zpuyk0", Be = "_2zpuyk1", Ve = "_2zpuyk2", He = "_2zpuyk3", Ue = "_2zpuyk4", We = "_2zpuyk6 _2zpuyk5", Ge = "_2zpuyk7 _2zpuyk5", Ke = "_2zpuyk9", L = "_2zpuyka", qe = "_2zpuykb", Je = (e) => {
|
|
36
|
-
let n = D(30), { blogId: r, postId: i, workspaceId: a, interactive: o } = e, s = o === void 0 ? !0 : o, { blog: c, workspace: l, logger: u } = t(), d = a ?? l, [f, p] =
|
|
35
|
+
let n = D(30), { blogId: r, postId: i, workspaceId: a, interactive: o } = e, s = o === void 0 ? !0 : o, { blog: c, workspace: l, logger: u } = t(), d = a ?? l, [f, p] = k(!0), [m, h] = k(null), g, _;
|
|
37
36
|
if (n[0] !== c || n[1] !== r || n[2] !== u || n[3] !== i || n[4] !== d ? (g = () => {
|
|
38
37
|
if (!r || !i) {
|
|
39
38
|
p(!1);
|
|
@@ -57,11 +56,11 @@ var ze = "_2zpuyk0", Be = "_2zpuyk1", Ve = "_2zpuyk2", He = "_2zpuyk3", Ue = "_2
|
|
|
57
56
|
i,
|
|
58
57
|
d,
|
|
59
58
|
u
|
|
60
|
-
], n[0] = c, n[1] = r, n[2] = u, n[3] = i, n[4] = d, n[5] = g, n[6] = _) : (g = n[5], _ = n[6]),
|
|
59
|
+
], n[0] = c, n[1] = r, n[2] = u, n[3] = i, n[4] = d, n[5] = g, n[6] = _) : (g = n[5], _ = n[6]), ie(g, _), f) {
|
|
61
60
|
let e;
|
|
62
|
-
n[7] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
61
|
+
n[7] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ A("div", { className: Ge }), n[7] = e) : e = n[7];
|
|
63
62
|
let t;
|
|
64
|
-
n[8] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */
|
|
63
|
+
n[8] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ A("div", {
|
|
65
64
|
className: L,
|
|
66
65
|
style: {
|
|
67
66
|
height: "1rem",
|
|
@@ -69,28 +68,28 @@ var ze = "_2zpuyk0", Be = "_2zpuyk1", Ve = "_2zpuyk2", He = "_2zpuyk3", Ue = "_2
|
|
|
69
68
|
}
|
|
70
69
|
}), n[8] = t) : t = n[8];
|
|
71
70
|
let r;
|
|
72
|
-
n[9] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */
|
|
71
|
+
n[9] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ A("div", {
|
|
73
72
|
className: L,
|
|
74
73
|
style: { width: "100%" }
|
|
75
74
|
}), n[9] = r) : r = n[9];
|
|
76
75
|
let i;
|
|
77
|
-
n[10] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */
|
|
76
|
+
n[10] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ A("div", {
|
|
78
77
|
className: L,
|
|
79
78
|
style: { width: "92%" }
|
|
80
79
|
}), n[10] = i) : i = n[10];
|
|
81
80
|
let a;
|
|
82
|
-
return n[11] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
81
|
+
return n[11] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ A("div", {
|
|
83
82
|
className: ze,
|
|
84
|
-
children: /* @__PURE__ */
|
|
83
|
+
children: /* @__PURE__ */ j("div", {
|
|
85
84
|
className: `${Be} ${Ke}`,
|
|
86
|
-
children: [e, /* @__PURE__ */
|
|
85
|
+
children: [e, /* @__PURE__ */ j("div", {
|
|
87
86
|
className: Ve,
|
|
88
|
-
children: [t, /* @__PURE__ */
|
|
87
|
+
children: [t, /* @__PURE__ */ j("div", {
|
|
89
88
|
className: qe,
|
|
90
89
|
children: [
|
|
91
90
|
r,
|
|
92
91
|
i,
|
|
93
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ A("div", {
|
|
94
93
|
className: L,
|
|
95
94
|
style: { width: "60%" }
|
|
96
95
|
})
|
|
@@ -104,31 +103,31 @@ var ze = "_2zpuyk0", Be = "_2zpuyk1", Ve = "_2zpuyk2", He = "_2zpuyk3", Ue = "_2
|
|
|
104
103
|
let v = m.cover_image?.location, y = m.canonical_url || void 0, b = s ? y : void 0, x;
|
|
105
104
|
n[12] === s ? x = n[13] : (x = s ? void 0 : { pointerEvents: "none" }, n[12] = s, n[13] = x);
|
|
106
105
|
let S = s ? void 0 : -1, C;
|
|
107
|
-
n[14] !== v || n[15] !== m.title ? (C = v ? /* @__PURE__ */
|
|
106
|
+
n[14] !== v || n[15] !== m.title ? (C = v ? /* @__PURE__ */ A("img", {
|
|
108
107
|
className: We,
|
|
109
108
|
src: v,
|
|
110
109
|
alt: m.title,
|
|
111
110
|
loading: "lazy"
|
|
112
|
-
}) : /* @__PURE__ */
|
|
111
|
+
}) : /* @__PURE__ */ A("div", { className: Ge }), n[14] = v, n[15] = m.title, n[16] = C) : C = n[16];
|
|
113
112
|
let w;
|
|
114
|
-
n[17] === m.title ? w = n[18] : (w = /* @__PURE__ */
|
|
113
|
+
n[17] === m.title ? w = n[18] : (w = /* @__PURE__ */ A("h3", {
|
|
115
114
|
className: He,
|
|
116
115
|
children: m.title
|
|
117
116
|
}), n[17] = m.title, n[18] = w);
|
|
118
117
|
let T;
|
|
119
|
-
n[19] === m.summary ? T = n[20] : (T = m.summary ? /* @__PURE__ */
|
|
118
|
+
n[19] === m.summary ? T = n[20] : (T = m.summary ? /* @__PURE__ */ A("p", {
|
|
120
119
|
className: Ue,
|
|
121
120
|
children: m.summary
|
|
122
121
|
}) : null, n[19] = m.summary, n[20] = T);
|
|
123
122
|
let E;
|
|
124
|
-
n[21] !== w || n[22] !== T ? (E = /* @__PURE__ */
|
|
123
|
+
n[21] !== w || n[22] !== T ? (E = /* @__PURE__ */ j("div", {
|
|
125
124
|
className: Ve,
|
|
126
125
|
children: [w, T]
|
|
127
126
|
}), n[21] = w, n[22] = T, n[23] = E) : E = n[23];
|
|
128
127
|
let O;
|
|
129
|
-
return n[24] !== E || n[25] !== b || n[26] !== x || n[27] !== S || n[28] !== C ? (O = /* @__PURE__ */
|
|
128
|
+
return n[24] !== E || n[25] !== b || n[26] !== x || n[27] !== S || n[28] !== C ? (O = /* @__PURE__ */ A("div", {
|
|
130
129
|
className: ze,
|
|
131
|
-
children: /* @__PURE__ */
|
|
130
|
+
children: /* @__PURE__ */ j("a", {
|
|
132
131
|
className: Be,
|
|
133
132
|
href: b,
|
|
134
133
|
target: "_blank",
|
|
@@ -142,7 +141,7 @@ var ze = "_2zpuyk0", Be = "_2zpuyk1", Ve = "_2zpuyk2", He = "_2zpuyk3", Ue = "_2
|
|
|
142
141
|
let t = D(3), { node: n } = e, r = n?.attrs?.blogId, i = n?.attrs?.postId;
|
|
143
142
|
if (!r || !i) return null;
|
|
144
143
|
let a;
|
|
145
|
-
return t[0] !== r || t[1] !== i ? (a = /* @__PURE__ */
|
|
144
|
+
return t[0] !== r || t[1] !== i ? (a = /* @__PURE__ */ A(Je, {
|
|
146
145
|
blogId: r,
|
|
147
146
|
postId: i
|
|
148
147
|
}), t[0] = r, t[1] = i, t[2] = a) : a = t[2], a;
|
|
@@ -522,7 +521,7 @@ var ze = "_2zpuyk0", Be = "_2zpuyk1", Ve = "_2zpuyk2", He = "_2zpuyk3", Ue = "_2
|
|
|
522
521
|
unsetCallout: () => ({ commands: e }) => e.lift(this.name)
|
|
523
522
|
};
|
|
524
523
|
}
|
|
525
|
-
}), at = _e.configure({ defaultLanguage: null }), ot = "_10e5beq0", st =
|
|
524
|
+
}), at = _e.configure({ defaultLanguage: null }), ot = "_10e5beq0", st = ce({
|
|
526
525
|
defaultClassName: "_10e5beq1",
|
|
527
526
|
variantClassNames: { layout: {
|
|
528
527
|
"sidebar-left": "_10e5beq2",
|
|
@@ -1231,7 +1230,7 @@ var Rt = M.create({
|
|
|
1231
1230
|
let t = D(10), { label: n, href: r, target: i, actionType: a, onActivate: o } = e, s = n || "Button";
|
|
1232
1231
|
if (tt(a) === "button") {
|
|
1233
1232
|
let e;
|
|
1234
|
-
return t[0] !== o || t[1] !== s ? (e = /* @__PURE__ */
|
|
1233
|
+
return t[0] !== o || t[1] !== s ? (e = /* @__PURE__ */ A("button", {
|
|
1235
1234
|
className: R,
|
|
1236
1235
|
type: "button",
|
|
1237
1236
|
onClick: o,
|
|
@@ -1241,7 +1240,7 @@ var Rt = M.create({
|
|
|
1241
1240
|
let c = i === "_blank" ? "_blank" : "_self", l;
|
|
1242
1241
|
t[3] === r ? l = t[4] : (l = nt(r), t[3] = r, t[4] = l);
|
|
1243
1242
|
let u = l, d = c === "_blank" ? "noopener noreferrer" : void 0, f;
|
|
1244
|
-
return t[5] !== u || t[6] !== c || t[7] !== d || t[8] !== s ? (f = /* @__PURE__ */
|
|
1243
|
+
return t[5] !== u || t[6] !== c || t[7] !== d || t[8] !== s ? (f = /* @__PURE__ */ A("a", {
|
|
1245
1244
|
className: R,
|
|
1246
1245
|
href: u,
|
|
1247
1246
|
target: c,
|
|
@@ -1254,7 +1253,7 @@ var Rt = M.create({
|
|
|
1254
1253
|
let a = i, { openPopup: o } = r(), s = a.popupId, c;
|
|
1255
1254
|
t[2] !== o || t[3] !== s ? (c = s ? () => o(s) : void 0, t[2] = o, t[3] = s, t[4] = c) : c = t[4];
|
|
1256
1255
|
let l;
|
|
1257
|
-
t[5] !== a.actionType || t[6] !== a.href || t[7] !== a.label || t[8] !== a.target || t[9] !== c ? (l = /* @__PURE__ */
|
|
1256
|
+
t[5] !== a.actionType || t[6] !== a.href || t[7] !== a.label || t[8] !== a.target || t[9] !== c ? (l = /* @__PURE__ */ A(Jt, {
|
|
1258
1257
|
label: a.label,
|
|
1259
1258
|
href: a.href,
|
|
1260
1259
|
target: a.target,
|
|
@@ -1262,7 +1261,7 @@ var Rt = M.create({
|
|
|
1262
1261
|
onActivate: c
|
|
1263
1262
|
}), t[5] = a.actionType, t[6] = a.href, t[7] = a.label, t[8] = a.target, t[9] = c, t[10] = l) : l = t[10];
|
|
1264
1263
|
let u;
|
|
1265
|
-
return t[11] !== a.align || t[12] !== a.size || t[13] !== a.variant || t[14] !== l ? (u = /* @__PURE__ */
|
|
1264
|
+
return t[11] !== a.align || t[12] !== a.size || t[13] !== a.variant || t[14] !== l ? (u = /* @__PURE__ */ A("div", {
|
|
1266
1265
|
"data-type": "button",
|
|
1267
1266
|
"data-variant": a.variant,
|
|
1268
1267
|
"data-size": a.size,
|
|
@@ -1275,7 +1274,7 @@ var Rt = M.create({
|
|
|
1275
1274
|
if (e.type === "text") return e.value;
|
|
1276
1275
|
if (e.type === "element") {
|
|
1277
1276
|
let { className: n, ...r } = e.properties || {};
|
|
1278
|
-
return
|
|
1277
|
+
return O.createElement(e.tagName, {
|
|
1279
1278
|
key: t,
|
|
1280
1279
|
...r,
|
|
1281
1280
|
className: Array.isArray(n) ? n.join(" ") : n
|
|
@@ -1298,15 +1297,15 @@ var Rt = M.create({
|
|
|
1298
1297
|
}
|
|
1299
1298
|
return "";
|
|
1300
1299
|
}, Qt = ({ node: e, children: t }) => {
|
|
1301
|
-
let n =
|
|
1302
|
-
if (!i) return /* @__PURE__ */
|
|
1300
|
+
let n = ne(Xt()), r = e?.attrs?.language, i = $(e);
|
|
1301
|
+
if (!i) return /* @__PURE__ */ A("pre", { children: /* @__PURE__ */ A("code", { children: t }) });
|
|
1303
1302
|
let a;
|
|
1304
1303
|
try {
|
|
1305
1304
|
a = r && n.registered(r) ? n.highlight(r, i) : n.highlightAuto(i);
|
|
1306
1305
|
} catch {
|
|
1307
|
-
return /* @__PURE__ */
|
|
1306
|
+
return /* @__PURE__ */ A("pre", { children: /* @__PURE__ */ A("code", { children: i }) });
|
|
1308
1307
|
}
|
|
1309
|
-
return !a || !a.children || a.children.length === 0 ? /* @__PURE__ */
|
|
1308
|
+
return !a || !a.children || a.children.length === 0 ? /* @__PURE__ */ A("pre", { children: /* @__PURE__ */ A("code", { children: i }) }) : /* @__PURE__ */ A("pre", { children: /* @__PURE__ */ A("code", {
|
|
1310
1309
|
className: r ? `language-${r}` : "",
|
|
1311
1310
|
children: a.children.map((e, t) => Zt(e, `code-${t}`))
|
|
1312
1311
|
}) });
|
|
@@ -1314,24 +1313,24 @@ var Rt = M.create({
|
|
|
1314
1313
|
let t = D(9), n;
|
|
1315
1314
|
t[0] === e.node ? n = t[1] : (n = $(e.node), t[0] = e.node, t[1] = n);
|
|
1316
1315
|
let r = n, i;
|
|
1317
|
-
t[2] === r ? i = t[3] : (i = /* @__PURE__ */
|
|
1316
|
+
t[2] === r ? i = t[3] : (i = /* @__PURE__ */ A("pre", { children: /* @__PURE__ */ A("code", { children: r }) }), t[2] = r, t[3] = i);
|
|
1318
1317
|
let a;
|
|
1319
|
-
t[4] === e ? a = t[5] : (a = /* @__PURE__ */
|
|
1318
|
+
t[4] === e ? a = t[5] : (a = /* @__PURE__ */ A(Qt, { ...e }), t[4] = e, t[5] = a);
|
|
1320
1319
|
let o;
|
|
1321
|
-
return t[6] !== i || t[7] !== a ? (o = /* @__PURE__ */
|
|
1320
|
+
return t[6] !== i || t[7] !== a ? (o = /* @__PURE__ */ A(O.Suspense, {
|
|
1322
1321
|
fallback: i,
|
|
1323
1322
|
children: a
|
|
1324
1323
|
}), t[6] = i, t[7] = a, t[8] = o) : o = t[8], o;
|
|
1325
|
-
}, en =
|
|
1324
|
+
}, en = te({
|
|
1326
1325
|
open: !1,
|
|
1327
1326
|
toggle: () => {}
|
|
1328
1327
|
}), tn = (e) => {
|
|
1329
|
-
let t = D(15), { node: n, children: r } = e, [i, a] =
|
|
1328
|
+
let t = D(15), { node: n, children: r } = e, [i, a] = k(!!n.attrs?.open), o;
|
|
1330
1329
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (o = () => a(an), t[0] = o) : o = t[0];
|
|
1331
1330
|
let s = o, c = i && "is-open", l;
|
|
1332
|
-
t[1] === c ? l = t[2] : (l =
|
|
1331
|
+
t[1] === c ? l = t[2] : (l = oe("details", c), t[1] = c, t[2] = l);
|
|
1333
1332
|
let u;
|
|
1334
|
-
t[3] === i ? u = t[4] : (u = /* @__PURE__ */
|
|
1333
|
+
t[3] === i ? u = t[4] : (u = /* @__PURE__ */ A("button", {
|
|
1335
1334
|
type: "button",
|
|
1336
1335
|
"aria-expanded": i,
|
|
1337
1336
|
onClick: s
|
|
@@ -1342,23 +1341,23 @@ var Rt = M.create({
|
|
|
1342
1341
|
toggle: s
|
|
1343
1342
|
}, t[5] = i, t[6] = d);
|
|
1344
1343
|
let f;
|
|
1345
|
-
t[7] !== r || t[8] !== d ? (f = /* @__PURE__ */
|
|
1344
|
+
t[7] !== r || t[8] !== d ? (f = /* @__PURE__ */ A("div", { children: /* @__PURE__ */ A(en.Provider, {
|
|
1346
1345
|
value: d,
|
|
1347
1346
|
children: r
|
|
1348
1347
|
}) }), t[7] = r, t[8] = d, t[9] = f) : f = t[9];
|
|
1349
1348
|
let p;
|
|
1350
|
-
return t[10] !== i || t[11] !== l || t[12] !== u || t[13] !== f ? (p = /* @__PURE__ */
|
|
1349
|
+
return t[10] !== i || t[11] !== l || t[12] !== u || t[13] !== f ? (p = /* @__PURE__ */ j("div", {
|
|
1351
1350
|
className: l,
|
|
1352
1351
|
"data-open": i,
|
|
1353
1352
|
children: [u, f]
|
|
1354
1353
|
}), t[10] = i, t[11] = l, t[12] = u, t[13] = f, t[14] = p) : p = t[14], p;
|
|
1355
1354
|
}, nn = (e) => {
|
|
1356
|
-
let t = D(7), { children: n } = e, { open: r, toggle: i } =
|
|
1355
|
+
let t = D(7), { children: n } = e, { open: r, toggle: i } = re(en), a;
|
|
1357
1356
|
t[0] === i ? a = t[1] : (a = (e) => {
|
|
1358
1357
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), i());
|
|
1359
1358
|
}, t[0] = i, t[1] = a);
|
|
1360
1359
|
let o;
|
|
1361
|
-
return t[2] !== n || t[3] !== r || t[4] !== a || t[5] !== i ? (o = /* @__PURE__ */
|
|
1360
|
+
return t[2] !== n || t[3] !== r || t[4] !== a || t[5] !== i ? (o = /* @__PURE__ */ A("summary", {
|
|
1362
1361
|
role: "button",
|
|
1363
1362
|
tabIndex: 0,
|
|
1364
1363
|
"aria-expanded": r,
|
|
@@ -1367,10 +1366,10 @@ var Rt = M.create({
|
|
|
1367
1366
|
children: n
|
|
1368
1367
|
}), t[2] = n, t[3] = r, t[4] = a, t[5] = i, t[6] = o) : o = t[6], o;
|
|
1369
1368
|
}, rn = (e) => {
|
|
1370
|
-
let t = D(5), { children: n } = e, { open: r } =
|
|
1369
|
+
let t = D(5), { children: n } = e, { open: r } = re(en), i;
|
|
1371
1370
|
t[0] === r ? i = t[1] : (i = r ? {} : { hidden: !0 }, t[0] = r, t[1] = i);
|
|
1372
1371
|
let a;
|
|
1373
|
-
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */
|
|
1372
|
+
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ A("div", {
|
|
1374
1373
|
"data-type": "detailsContent",
|
|
1375
1374
|
...i,
|
|
1376
1375
|
children: n
|
|
@@ -1385,7 +1384,7 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1385
1384
|
let t = D(15), { node: n, children: r, imageRef: i, imageProps: a, caption: o } = e, s = n.attrs, { src: c, alt: l, srcset: u, showCaption: d } = s, f = s["data-link-href"], p = n.content.childCount > 0, m = o === void 0 ? r : o, h = (d || p) && m != null;
|
|
1386
1385
|
if (!c) return null;
|
|
1387
1386
|
let g = l || "", _ = u || void 0, v;
|
|
1388
|
-
t[0] !== a || t[1] !== i || t[2] !== c || t[3] !== g || t[4] !== _ ? (v = /* @__PURE__ */
|
|
1387
|
+
t[0] !== a || t[1] !== i || t[2] !== c || t[3] !== g || t[4] !== _ ? (v = /* @__PURE__ */ A("img", {
|
|
1389
1388
|
ref: i,
|
|
1390
1389
|
src: c,
|
|
1391
1390
|
alt: g,
|
|
@@ -1395,19 +1394,19 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1395
1394
|
...a
|
|
1396
1395
|
}), t[0] = a, t[1] = i, t[2] = c, t[3] = g, t[4] = _, t[5] = v) : v = t[5];
|
|
1397
1396
|
let y = v, b;
|
|
1398
|
-
t[6] !== y || t[7] !== f ? (b = f ? /* @__PURE__ */
|
|
1397
|
+
t[6] !== y || t[7] !== f ? (b = f ? /* @__PURE__ */ A("a", {
|
|
1399
1398
|
href: f,
|
|
1400
1399
|
target: "_blank",
|
|
1401
1400
|
rel: "noopener noreferrer",
|
|
1402
1401
|
children: y
|
|
1403
1402
|
}) : y, t[6] = y, t[7] = f, t[8] = b) : b = t[8];
|
|
1404
1403
|
let x;
|
|
1405
|
-
t[9] !== m || t[10] !== h ? (x = h && /* @__PURE__ */
|
|
1406
|
-
className:
|
|
1404
|
+
t[9] !== m || t[10] !== h ? (x = h && /* @__PURE__ */ A("div", {
|
|
1405
|
+
className: oe("figcaption", "_10kj0ro3"),
|
|
1407
1406
|
children: m
|
|
1408
1407
|
}), t[9] = m, t[10] = h, t[11] = x) : x = t[11];
|
|
1409
1408
|
let S;
|
|
1410
|
-
return t[12] !== b || t[13] !== x ? (S = /* @__PURE__ */
|
|
1409
|
+
return t[12] !== b || t[13] !== x ? (S = /* @__PURE__ */ j(se, { children: [b, x] }), t[12] = b, t[13] = x, t[14] = S) : S = t[14], S;
|
|
1411
1410
|
}, dn = (e) => {
|
|
1412
1411
|
let t = D(13), { node: n, children: r } = e, i = n.attrs, a = i["data-align"];
|
|
1413
1412
|
if (!i.src) return null;
|
|
@@ -1416,18 +1415,18 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1416
1415
|
let s;
|
|
1417
1416
|
t[2] === o ? s = t[3] : (s = { width: o }, t[2] = o, t[3] = s);
|
|
1418
1417
|
let c;
|
|
1419
|
-
t[4] !== r || t[5] !== n ? (c = /* @__PURE__ */
|
|
1418
|
+
t[4] !== r || t[5] !== n ? (c = /* @__PURE__ */ A(un, {
|
|
1420
1419
|
node: n,
|
|
1421
1420
|
children: r
|
|
1422
1421
|
}), t[4] = r, t[5] = n, t[6] = c) : c = t[6];
|
|
1423
1422
|
let l;
|
|
1424
|
-
t[7] !== s || t[8] !== c ? (l = /* @__PURE__ */
|
|
1423
|
+
t[7] !== s || t[8] !== c ? (l = /* @__PURE__ */ A("div", {
|
|
1425
1424
|
className: sn,
|
|
1426
1425
|
style: s,
|
|
1427
1426
|
children: c
|
|
1428
1427
|
}), t[7] = s, t[8] = c, t[9] = l) : l = t[9];
|
|
1429
1428
|
let u;
|
|
1430
|
-
return t[10] !== a || t[11] !== l ? (u = /* @__PURE__ */
|
|
1429
|
+
return t[10] !== a || t[11] !== l ? (u = /* @__PURE__ */ A("div", {
|
|
1431
1430
|
"data-align": a,
|
|
1432
1431
|
className: on,
|
|
1433
1432
|
children: l
|
|
@@ -1446,7 +1445,7 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1446
1445
|
let d;
|
|
1447
1446
|
n[2] === s ? d = n[3] : (d = { style: s ? { pointerEvents: "none" } : {} }, n[2] = s, n[3] = d);
|
|
1448
1447
|
let f;
|
|
1449
|
-
return n[4] !== r || n[5] !== s || n[6] !== c || n[7] !== d || n[8] !== i ? (f = /* @__PURE__ */
|
|
1448
|
+
return n[4] !== r || n[5] !== s || n[6] !== c || n[7] !== d || n[8] !== i ? (f = /* @__PURE__ */ A(e, {
|
|
1450
1449
|
collection_id: r,
|
|
1451
1450
|
formVariant: c,
|
|
1452
1451
|
submitButtonConfig: l,
|
|
@@ -1460,9 +1459,9 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1460
1459
|
let n = D(4), { node: r } = e, i = r?.attrs?.collectionId, a = r?.attrs?.variant, { workspace: o } = t();
|
|
1461
1460
|
if (!i || !o) return null;
|
|
1462
1461
|
let s;
|
|
1463
|
-
return n[0] !== i || n[1] !== a || n[2] !== o ? (s = /* @__PURE__ */
|
|
1462
|
+
return n[0] !== i || n[1] !== a || n[2] !== o ? (s = /* @__PURE__ */ A("div", {
|
|
1464
1463
|
className: fn,
|
|
1465
|
-
children: /* @__PURE__ */
|
|
1464
|
+
children: /* @__PURE__ */ A(pn, {
|
|
1466
1465
|
collectionId: i,
|
|
1467
1466
|
workspaceId: o,
|
|
1468
1467
|
variant: a
|
|
@@ -1474,7 +1473,7 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1474
1473
|
let i = r["data-align"] ?? "center", a;
|
|
1475
1474
|
t[0] === r.width ? a = t[1] : (a = B(r.width) ? { width: mt(r.width) } : void 0, t[0] = r.width, t[1] = a);
|
|
1476
1475
|
let o = r["data-id"] ?? void 0, s = r["data-mimetype"] ?? void 0, c = r.muted || r.autoplay, l;
|
|
1477
|
-
t[2] !== r.autoplay || t[3] !== r.controls || t[4] !== r.loop || t[5] !== r.src || t[6] !== o || t[7] !== s || t[8] !== c ? (l = /* @__PURE__ */
|
|
1476
|
+
t[2] !== r.autoplay || t[3] !== r.controls || t[4] !== r.loop || t[5] !== r.src || t[6] !== o || t[7] !== s || t[8] !== c ? (l = /* @__PURE__ */ A("video", {
|
|
1478
1477
|
src: r.src,
|
|
1479
1478
|
"data-id": o,
|
|
1480
1479
|
"data-mimetype": s,
|
|
@@ -1486,13 +1485,13 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1486
1485
|
preload: "metadata"
|
|
1487
1486
|
}), t[2] = r.autoplay, t[3] = r.controls, t[4] = r.loop, t[5] = r.src, t[6] = o, t[7] = s, t[8] = c, t[9] = l) : l = t[9];
|
|
1488
1487
|
let u;
|
|
1489
|
-
return t[10] !== i || t[11] !== a || t[12] !== l ? (u = /* @__PURE__ */
|
|
1488
|
+
return t[10] !== i || t[11] !== a || t[12] !== l ? (u = /* @__PURE__ */ A("div", {
|
|
1490
1489
|
"data-type": "videoBlock",
|
|
1491
1490
|
"data-align": i,
|
|
1492
1491
|
style: a,
|
|
1493
1492
|
children: l
|
|
1494
1493
|
}), t[10] = i, t[11] = a, t[12] = l, t[13] = u) : u = t[13], u;
|
|
1495
|
-
}, gn = /^((?:https?:)?\/\/)?((?:www|m|music)\.)?((?:youtube\.com|youtu\.be|youtube-nocookie\.com))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/, _n = /^((?:https?:)?\/\/)?((?:www|m|music)\.)?((?:youtube\.com|youtu\.be|youtube-nocookie\.com))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/g, vn = (e) => e.match(gn), yn = (e, t) => t ? "https://www.youtube-nocookie.com/embed/videoseries?list=" : e ? "https://www.youtube-nocookie.com/embed/" : "https://www.youtube.com/embed/", bn = (e) => {
|
|
1494
|
+
}, gn = /^((?:https?:)?\/\/)?((?:www|m|music)\.)?((?:youtube\.com|youtu\.be|youtube-nocookie\.com))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/, _n = /^((?:https?:)?\/\/)?((?:www|m|music)\.)?((?:youtube\.com|youtu\.be|youtube-nocookie\.com))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/g, vn = (e) => e ? e.match(gn) : null, yn = (e, t) => t ? "https://www.youtube-nocookie.com/embed/videoseries?list=" : e ? "https://www.youtube-nocookie.com/embed/" : "https://www.youtube.com/embed/", bn = (e) => {
|
|
1496
1495
|
let { url: t, allowFullscreen: n, autoplay: r, ccLanguage: i, ccLoadPolicy: a, controls: o, disableKBcontrols: s, enableIFrameApi: c, endTime: l, interfaceLanguage: u, ivLoadPolicy: d, loop: f, modestBranding: p, nocookie: m, origin: h, playlist: g, progressBarColor: _, startAt: v, rel: y } = e;
|
|
1497
1496
|
if (!vn(t)) return null;
|
|
1498
1497
|
if (t.includes("/embed/")) return t;
|
|
@@ -1500,7 +1499,7 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1500
1499
|
let e = t.split("/").pop();
|
|
1501
1500
|
return e ? `${yn(m)}${e}` : null;
|
|
1502
1501
|
}
|
|
1503
|
-
let b = /(?:(v|list)
|
|
1502
|
+
let b = /(?:(v|list)=|\/(?:shorts|live)\/)([-\w]+)/gm.exec(t);
|
|
1504
1503
|
if (!b || !b[2]) return null;
|
|
1505
1504
|
let x = `${yn(m, b[1] === "list")}${b[2]}`, S = [];
|
|
1506
1505
|
return n === !1 && S.push("fs=0"), r && S.push("autoplay=1"), i && S.push(`cc_lang_pref=${i}`), a && S.push("cc_load_policy=1"), o || S.push("controls=0"), s && S.push("disablekb=1"), c && S.push("enablejsapi=1"), l && S.push(`end=${l}`), u && S.push(`hl=${u}`), d && S.push(`iv_load_policy=${d}`), f && S.push("loop=1"), p && S.push("modestbranding=1"), h && S.push(`origin=${h}`), g && S.push(`playlist=${g}`), v && S.push(`start=${v}`), _ && S.push(`color=${_}`), y !== void 0 && S.push(`rel=${y}`), S.length && (x += `${b[1] === "list" ? "&" : "?"}${S.join("&")}`), x;
|
|
@@ -1770,16 +1769,16 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1770
1769
|
} }
|
|
1771
1770
|
}), t[6] = r, t[7] = s);
|
|
1772
1771
|
let c = s, l;
|
|
1773
|
-
t[8] === n ? l = t[9] : (l =
|
|
1772
|
+
t[8] === n ? l = t[9] : (l = ae(T, n), t[8] = n, t[9] = l);
|
|
1774
1773
|
let u;
|
|
1775
|
-
t[10] !== c || t[11] !== i || t[12] !== a || t[13] !== l ? (u = /* @__PURE__ */
|
|
1774
|
+
t[10] !== c || t[11] !== i || t[12] !== a || t[13] !== l ? (u = /* @__PURE__ */ A("div", {
|
|
1776
1775
|
ref: i,
|
|
1777
1776
|
className: l,
|
|
1778
1777
|
...a,
|
|
1779
1778
|
children: c
|
|
1780
1779
|
}), t[10] = c, t[11] = i, t[12] = a, t[13] = l, t[14] = u) : u = t[14];
|
|
1781
1780
|
let d;
|
|
1782
|
-
return t[15] !== u || t[16] !== o ? (d = /* @__PURE__ */
|
|
1781
|
+
return t[15] !== u || t[16] !== o ? (d = /* @__PURE__ */ A(E, {
|
|
1783
1782
|
theme: o,
|
|
1784
1783
|
children: u
|
|
1785
1784
|
}), t[15] = u, t[16] = o, t[17] = d) : d = t[17], d;
|
|
@@ -1791,7 +1790,7 @@ var on = "_10kj0ro0", sn = "_10kj0ro1", cn = "_10kj0ro2", ln = (e) => e ? typeof
|
|
|
1791
1790
|
return t.json ? t.json : typeof t.html == "string" ? t.html.trim() ? En(t.html) : null : t.type === "doc" ? t : null;
|
|
1792
1791
|
}, kn = ({ content: e, ...t }) => {
|
|
1793
1792
|
let n = On(e);
|
|
1794
|
-
return n ? /* @__PURE__ */
|
|
1793
|
+
return n ? /* @__PURE__ */ A(Dn, {
|
|
1795
1794
|
content: n,
|
|
1796
1795
|
...t
|
|
1797
1796
|
}) : null;
|