@levo-so/studio 0.1.80 → 0.1.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/{BillingStep-BEQv34t2.js → BillingStep-DcZbhRY9.js} +1 -1
  2. package/dist/{MessageCard-CRDamYvO.js → MessageCard-B-uaKUq5.js} +1 -1
  3. package/dist/components/LoginForm/AuthMethodRenderer.d.ts +1 -0
  4. package/dist/components/LoginForm/AuthMethodRenderer.d.ts.map +1 -1
  5. package/dist/components/LoginForm/MagicLinkAuthForm.d.ts +1 -0
  6. package/dist/components/LoginForm/MagicLinkAuthForm.d.ts.map +1 -1
  7. package/dist/components/LoginForm/OtpAuthForm.d.ts +5 -1
  8. package/dist/components/LoginForm/OtpAuthForm.d.ts.map +1 -1
  9. package/dist/components/LoginForm/WhatsAppAuthForm.d.ts +5 -1
  10. package/dist/components/LoginForm/WhatsAppAuthForm.d.ts.map +1 -1
  11. package/dist/components/LoginForm/index.d.ts +1 -0
  12. package/dist/components/LoginForm/index.d.ts.map +1 -1
  13. package/dist/components/accessCard/LoginCard/index.d.ts.map +1 -1
  14. package/dist/components/accessCard/PendingApprovalCard/index.d.ts +11 -0
  15. package/dist/components/accessCard/PendingApprovalCard/index.d.ts.map +1 -0
  16. package/dist/components/withBlockProps.d.ts.map +1 -1
  17. package/dist/constants/authentication.d.ts +4 -0
  18. package/dist/constants/authentication.d.ts.map +1 -1
  19. package/dist/contentEngine/head_code.d.ts.map +1 -1
  20. package/dist/core/LevoBlock.d.ts +2 -2
  21. package/dist/core/LevoBlock.d.ts.map +1 -1
  22. package/dist/core/LevoPage.d.ts +2 -0
  23. package/dist/core/LevoPage.d.ts.map +1 -1
  24. package/dist/elements/forum/ForumPost.d.ts +3 -2
  25. package/dist/elements/forum/ForumPost.d.ts.map +1 -1
  26. package/dist/elements/forum/comments/Comments.d.ts.map +1 -1
  27. package/dist/elements/forum/utility/index.d.ts +2 -2
  28. package/dist/elements/forum/utility/index.d.ts.map +1 -1
  29. package/dist/{index-BEAsxxm1.js → index-BM9B_-Oa.js} +2 -2
  30. package/dist/{index-DNVhz-wO.js → index-Btn2IEPB.js} +1 -1
  31. package/dist/{index-CWWCoArW.js → index-CjQJ_4Xf.js} +2 -2
  32. package/dist/{index-nHEycEE9.js → index-D6LjzTKx.js} +2 -2
  33. package/dist/{index-DFWJOU6m.js → index-DvqlCYn2.js} +345 -321
  34. package/dist/index-ekxl-RSq.js +43 -0
  35. package/dist/index-qvImrx6Q.js +83 -0
  36. package/dist/index-vtvLeTPv.js +793 -0
  37. package/dist/index.js +111 -109
  38. package/dist/interfaces/block.d.ts +1 -1
  39. package/dist/interfaces/block.d.ts.map +1 -1
  40. package/dist/interfaces/sites.d.ts +1 -0
  41. package/dist/interfaces/sites.d.ts.map +1 -1
  42. package/dist/pixel/propertyMap.d.ts +1 -1
  43. package/dist/pixel/propertyMap.d.ts.map +1 -1
  44. package/dist/studio.css +1 -1
  45. package/package.json +14 -8
  46. package/dist/index-FmZgz8ql.js +0 -35
  47. package/dist/index-xFzpnJIa.js +0 -766
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { jsxs as d, jsx as n, Fragment as W } from "react/jsx-runtime";
3
- import { getLevoError as Y, FORUM_POST_STATUS as Je, COMMENT_STATUS as Ot, FORUM_POST_KIND as gt, LevoError as Xe, FieldInterfaces as We } from "@levo-so/core";
3
+ import { getLevoError as Y, COMMENT_STATUS as Ot, FORUM_POST_STATUS as Je, FORUM_POST_KIND as gt, LevoError as Xe, FieldInterfaces as We } from "@levo-so/core";
4
4
  import { getInitialValues as ga } from "@levo-so/react-collection";
5
5
  import { useFormikContext as $n, useFormik as Dn, FormikProvider as ha } from "formik";
6
6
  import * as He from "react";
7
- import q, { useRef as he, useCallback as de, useSyncExternalStore as ba, useEffect as D, Fragment as ya, useState as w, createContext as _t, useContext as wt, useMemo as z, Suspense as ve, lazy as me, memo as Nt, forwardRef as xe, useLayoutEffect as va } from "react";
7
+ import q, { useRef as he, useCallback as de, useSyncExternalStore as ba, useEffect as D, Fragment as ya, useState as w, useContext as _t, createContext as wt, useMemo as z, Suspense as ve, lazy as me, memo as Nt, forwardRef as xe, useLayoutEffect as va } from "react";
8
8
  import { useDebouncedCallback as zn } from "use-debounce";
9
9
  import { useLevo as ne, LevoInsightsBlock as xa, Spinner as _a, LevoInsightsPage as wa, cn as v, errorHandler as ze } from "@levo-so/react";
10
10
  import Na from "react-select";
11
- import { ChevronDown as Kt, ArrowLeft as Fn, ArrowRight as Ca, XIcon as Ct, X as jn, Check as Wn, Link2 as ka, Info as Sa, BadgeCheck as Un, MoreVertical as Ea, Edit as Ta, Trash2 as Vn, MessageCircleMore as Hn, Share2 as La, ExternalLink as Ia, ArrowBigUp as qn, ArrowBigDown as Gn, CheckCircle as Kn, Flag as Xn, Clock as rt, Archive as Zn, EyeOff as Yn, Send as Aa, AlertCircle as Pa, Loader2 as Oa, Lock as Jn, Search as vt, User as Ra, LogOut as Ma, Download as Ba, ChevronLeftIcon as Qn, ChevronRightIcon as er, ChevronDownIcon as $a, SearchX as Da, FileText as za, CheckIcon as Fa, Tag as ja } from "lucide-react";
11
+ import { ChevronDown as Kt, ArrowRight as Ca, ArrowLeft as Fn, XIcon as Ct, X as jn, Check as Wn, Link2 as ka, Info as Sa, MessageCircleMore as Un, Share2 as Ea, BadgeCheck as Vn, MoreVertical as Ta, Edit as La, Trash2 as Hn, ExternalLink as Ia, EyeOff as qn, Clock as rt, Flag as Gn, Archive as Kn, ArrowBigUp as Xn, ArrowBigDown as Zn, CheckCircle as Yn, Send as Aa, AlertCircle as Pa, Loader2 as Oa, Lock as Jn, Search as vt, User as Ra, LogOut as Ma, Download as Ba, ChevronLeftIcon as Qn, ChevronRightIcon as er, ChevronDownIcon as $a, SearchX as Da, FileText as za, CheckIcon as Fa, Tag as ja } from "lucide-react";
12
12
  import { Accordion as tt, Tooltip as qe, Dialog as Se, Popover as et, Tabs as kt, Portal as Xt, Avatar as at } from "radix-ui";
13
13
  import { useRazorpay as tr } from "react-razorpay";
14
14
  import { BiLoaderAlt as Wa } from "react-icons/bi";
@@ -16,17 +16,17 @@ import * as Ua from "motion/react-m";
16
16
  import { motion as Qe, AnimatePresence as Va, LazyMotion as Ha, domAnimation as qa, animate as Ga, scroll as Ka } from "motion/react";
17
17
  import Z from "dayjs";
18
18
  import { EmbeddedCheckoutProvider as Xa, EmbeddedCheckout as Za } from "@stripe/react-stripe-js";
19
- import { rgb as St, oklch as ot, parse as st, formatRgb as nr, wcagContrast as Ya } from "culori";
19
+ import { wcagContrast as Ya, parse as ot, oklch as st, rgb as St, formatRgb as nr } from "culori";
20
+ import { convertHtmlToBlogJSON as Ja, BlogContentRenderer as Qa } from "@levo.external/rich-text-editor/blog-renderer";
20
21
  import it from "html-react-parser";
21
- import { deepmerge as Ja } from "deepmerge-ts";
22
- import { DayPicker as Qa } from "react-day-picker";
23
- import { convertHtmlToBlogJSON as eo, BlogContentRenderer as to } from "@levo.external/rich-text-editor/blog-renderer";
22
+ import eo from "isomorphic-dompurify";
23
+ import { DayPicker as to } from "react-day-picker";
24
24
  import no from "embla-carousel-auto-scroll";
25
25
  import ro from "embla-carousel-autoplay";
26
26
  import ao from "embla-carousel-react";
27
27
  import Zt from "dayjs/plugin/relativeTime";
28
28
  import rr from "dayjs/plugin/updateLocale";
29
- import oo from "isomorphic-dompurify";
29
+ import { deepmerge as oo } from "deepmerge-ts";
30
30
  const so = {
31
31
  Box: {
32
32
  field_interface: "BoxWidget"
@@ -49,7 +49,7 @@ const so = {
49
49
  Typography: {
50
50
  field_interface: "TypographyWidget"
51
51
  }
52
- }, bc = (e) => {
52
+ }, yc = (e) => {
53
53
  const t = [], r = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set(), o = /elementKey=(?:{`([^`]+)`}|{["']([^"']+)["']}|["']([^"']+)["'])/g;
54
54
  let i;
55
55
  for (; (i = o.exec(e)) !== null; ) {
@@ -102,7 +102,7 @@ const so = {
102
102
  ...r,
103
103
  field_interface: "TextWidget"
104
104
  };
105
- }, or = (e) => e.split(/(?=[A-Z])|[-_.]/).map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join(" ").trim(), yc = (e) => e.split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join("").replace(/[-_\s]+/g, ""), ht = {
105
+ }, or = (e) => e.split(/(?=[A-Z])|[-_.]/).map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join(" ").trim(), vc = (e) => e.split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join("").replace(/[-_\s]+/g, ""), ht = {
106
106
  HeadingWidget: [
107
107
  "Secure Your Financial Future",
108
108
  "Investment Solutions That Work",
@@ -136,7 +136,7 @@ const so = {
136
136
  }
137
137
  }
138
138
  ]
139
- }, bt = (e) => e[Math.floor(Math.random() * e.length)] ?? "", vc = (e) => {
139
+ }, bt = (e) => e[Math.floor(Math.random() * e.length)] ?? "", xc = (e) => {
140
140
  const t = {};
141
141
  function r(a) {
142
142
  switch (a.field_interface) {
@@ -1078,7 +1078,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1078
1078
  g: e.g / 255,
1079
1079
  b: e.b / 255,
1080
1080
  alpha: e.a ?? 1
1081
- }), a = ot(r);
1081
+ }), a = st(r);
1082
1082
  return a ? {
1083
1083
  l: a.l,
1084
1084
  // Lightness
@@ -1094,15 +1094,15 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1094
1094
  if (typeof e == "string") return e;
1095
1095
  const { l: t, c: r, h: a, alpha: o = 1 } = e, i = Math.round(t * 1e4) / 1e4, s = Math.round(r * 1e4) / 1e4, c = Math.round(a * 1e4) / 1e4, l = Math.round(o * 1e4) / 1e4;
1096
1096
  return o < 1 ? `oklch(${i} ${s} ${c} / ${l})` : `oklch(${i} ${s} ${c})`;
1097
- }, xc = (e) => {
1097
+ }, _c = (e) => {
1098
1098
  const t = So(e);
1099
1099
  return ee(t);
1100
- }, _c = (e) => {
1100
+ }, wc = (e) => {
1101
1101
  const t = "rgb(0, 0, 0)";
1102
1102
  if (typeof e != "string")
1103
1103
  return console.log(`Invalid OKLCH string: ${e}. Must be a string. Using default color.`), t;
1104
1104
  try {
1105
- const r = st(e);
1105
+ const r = ot(e);
1106
1106
  if (!r)
1107
1107
  return console.log(
1108
1108
  `Invalid OKLCH string format: ${e}. Unable to parse color. Using default color.`
@@ -1117,22 +1117,22 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1117
1117
  } catch (r) {
1118
1118
  return console.log(`Error converting OKLCH string ${e} to RGBA:`, r), t;
1119
1119
  }
1120
- }, wc = (e) => {
1120
+ }, Nc = (e) => {
1121
1121
  try {
1122
- const t = st(e);
1122
+ const t = ot(e);
1123
1123
  return t !== void 0 && t.mode === "oklch";
1124
1124
  } catch {
1125
1125
  return !1;
1126
1126
  }
1127
- }, Nc = (e) => {
1127
+ }, Cc = (e) => {
1128
1128
  const t = { l: 0, c: 0, h: 0, alpha: 1 };
1129
1129
  if (typeof e != "string")
1130
1130
  return console.log(`Invalid hex color: ${e}. Must be a string. Using default color.`), t;
1131
1131
  try {
1132
- const r = st(e);
1132
+ const r = ot(e);
1133
1133
  if (!r)
1134
1134
  return console.log(`Failed to parse hex color: ${e}. Using default color.`), t;
1135
- const a = ot(r);
1135
+ const a = st(r);
1136
1136
  return a ? {
1137
1137
  l: a.l,
1138
1138
  c: a.c,
@@ -1142,12 +1142,12 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1142
1142
  } catch (r) {
1143
1143
  return console.log(`Error converting hex ${e} to OKLCH:`, r), t;
1144
1144
  }
1145
- }, Cc = (e) => {
1145
+ }, kc = (e) => {
1146
1146
  const t = { l: 0, c: 0, h: 0, alpha: 1 };
1147
1147
  if (typeof e != "string")
1148
1148
  return console.log(`Invalid OKLCH string: ${e}. Must be a string. Using default color.`), t;
1149
1149
  try {
1150
- const r = st(e);
1150
+ const r = ot(e);
1151
1151
  if (!r)
1152
1152
  return console.log(
1153
1153
  `Invalid OKLCH string format: ${e}. Unable to parse color. Using default color.`
@@ -1156,7 +1156,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1156
1156
  return console.log(
1157
1157
  `Invalid OKLCH string: ${e}. Parsed color is not in OKLCH format. Using default color.`
1158
1158
  ), t;
1159
- const a = ot(r);
1159
+ const a = st(r);
1160
1160
  return a ? {
1161
1161
  l: a.l,
1162
1162
  c: a.c,
@@ -1168,12 +1168,12 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1168
1168
  } catch (r) {
1169
1169
  return console.log(`Error parsing OKLCH string ${e}:`, r), t;
1170
1170
  }
1171
- }, kc = (e) => {
1171
+ }, Sc = (e) => {
1172
1172
  const t = "rgba(0, 0, 0, 1)";
1173
1173
  if (!e)
1174
1174
  return t;
1175
1175
  try {
1176
- const r = ot({
1176
+ const r = st({
1177
1177
  mode: "oklch",
1178
1178
  l: e.l,
1179
1179
  c: e.c,
@@ -1197,11 +1197,11 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1197
1197
  try {
1198
1198
  let r;
1199
1199
  if (typeof e == "string") {
1200
- if (r = st(e), !r)
1200
+ if (r = ot(e), !r)
1201
1201
  return console.log(
1202
1202
  `Invalid OKLCH string format: ${e}. Unable to parse color. Using default color.`
1203
1203
  ), e.startsWith("#") ? e : t;
1204
- } else if (r = ot({
1204
+ } else if (r = st({
1205
1205
  mode: "oklch",
1206
1206
  l: e.l,
1207
1207
  c: e.c,
@@ -1220,10 +1220,10 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
1220
1220
  } catch (r) {
1221
1221
  return console.log("Error converting OKLCH to hexcode:", r), t;
1222
1222
  }
1223
- }, Sc = (e, t) => {
1223
+ }, Ec = (e, t) => {
1224
1224
  const r = ee(e), a = ee(t);
1225
1225
  return Ya(r, a);
1226
- }, Ec = (e) => {
1226
+ }, Tc = (e) => {
1227
1227
  let { l: t, c: r, h: a, alpha: o = 1 } = e;
1228
1228
  t = Math.max(0, Math.min(1, t)), r = Math.max(0, Math.min(0.4, r)), a = (a % 360 + 360) % 360;
1229
1229
  let i = r;
@@ -2365,7 +2365,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
2365
2365
  pageID: r,
2366
2366
  device: a
2367
2367
  }) => {
2368
- const o = Ja(Bo, e ?? {}), { fonts: i, fontUrl: s, fontTags: c } = $o(o), l = Fo(o), f = {
2368
+ const o = oo(Bo, e ?? {}), { fonts: i, fontUrl: s, fontTags: c } = $o(o), l = Fo(o), f = {
2369
2369
  theme: Object.entries(l).map(([p, g]) => `${p}:${g}`).join(";"),
2370
2370
  default: Wo(o, a),
2371
2371
  blocks: jo(t)
@@ -2400,7 +2400,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
2400
2400
  pageTheme: o,
2401
2401
  blocks: e?.blocks
2402
2402
  }).html;
2403
- const c = a?.meta_title && a.meta_title !== "" ? a.meta_title : e?.title && t?.name ? `${e.title} | ${t.name}` : e.title || t.name, l = a?.meta_description && a.meta_description !== "" ? a.meta_description : e?.description && e.description !== "" ? e.description : t.description || t.name, u = t?.domain ? `https://${t?.domain}${r}` : r, f = a?.og_title && a.og_title !== "" ? a.og_title : a?.meta_title && a.meta_title !== "" ? a.meta_title : e?.title && t?.name ? `${e.title} | ${t.name}` : e.title || t.name, m = a?.og_description && a.og_description !== "" ? a.og_description : a?.meta_description && a.meta_description !== "" ? a.meta_description : e?.description && e.description !== "" ? e.description : t.description || t.name, p = t?.domain ? `https://${t?.domain}${i}` : i, g = t?.name || "Website", h = a?.og_image?.location, b = e?.kind === "blog.page" ? "article" : "website", y = (e?.language || "en").replace("-", "_"), x = a?.disable_indexing ? "noindex, nofollow" : "all", _ = t?.icon?.location ?? "https://app.levo.so/favicon.ico", T = t?.icon?.srcset, I = t?.theme?.colors?.brand?.main ? Eo(t?.theme?.colors?.brand?.main) : "#ffffff", S = (t?.settings?.head_code ?? "") + `
2403
+ const c = a?.meta_title && a.meta_title !== "" ? a.meta_title : e?.title && t?.name ? `${e.title} | ${t.name}` : e.title || t.name, l = a?.meta_description && a.meta_description !== "" ? a.meta_description : e?.description && e.description !== "" ? e.description : t.description || t.name, u = t?.domain ? `https://${t?.domain}${r}` : r, f = a?.og_title && a.og_title !== "" ? a.og_title : a?.meta_title && a.meta_title !== "" ? a.meta_title : e?.title && t?.name ? `${e.title} | ${t.name}` : e.title || t.name, m = a?.og_description && a.og_description !== "" ? a.og_description : a?.meta_description && a.meta_description !== "" ? a.meta_description : e?.description && e.description !== "" ? e.description : t.description || t.name, p = t?.domain ? `https://${t?.domain}${i}` : i, g = t?.name || "Website", h = a?.og_image?.location ? a.og_image.location : a?.use_thumbnail_as_og_image && e?.thumbnail_url ? e.thumbnail_url : null, b = e?.kind === "blog.page" ? "article" : "website", y = (e?.language || "en").replace("-", "_"), x = a?.disable_indexing ? "noindex, nofollow" : "all", _ = t?.icon?.location ?? "https://app.levo.so/favicon.ico", T = t?.icon?.srcset, I = t?.theme?.colors?.brand?.main ? Eo(t?.theme?.colors?.brand?.main) : "#ffffff", S = (t?.settings?.head_code ?? "") + `
2404
2404
  ` + (e?.settings?.head_code ?? ""), L = e?.settings?.structured_data_json;
2405
2405
  let C = `
2406
2406
  <title>${Q(c)}</title>
@@ -2519,7 +2519,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
2519
2519
  }
2520
2520
  }), null;
2521
2521
  }
2522
- }, Tc = async ({
2522
+ }, Lc = async ({
2523
2523
  levoClient: e,
2524
2524
  source: t,
2525
2525
  cookies: r,
@@ -2748,7 +2748,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
2748
2748
  ...t,
2749
2749
  styles: {}
2750
2750
  }))
2751
- }, Lc = async ({
2751
+ }, Ic = async ({
2752
2752
  levoClient: e,
2753
2753
  pageData: t,
2754
2754
  site: r,
@@ -2822,7 +2822,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
2822
2822
  notFound: l,
2823
2823
  headCode: h
2824
2824
  };
2825
- }, Ic = async ({
2825
+ }, Ac = async ({
2826
2826
  levoClient: e,
2827
2827
  workspace: t,
2828
2828
  url: r,
@@ -2861,7 +2861,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
2861
2861
  l.message
2862
2862
  ), null;
2863
2863
  }
2864
- }, fr = _t({
2864
+ }, fr = wt({
2865
2865
  isLoggedIn: !1,
2866
2866
  account: null,
2867
2867
  workspace: null,
@@ -2970,7 +2970,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
2970
2970
  children: e
2971
2971
  }
2972
2972
  );
2973
- }, re = () => wt(fr), pr = _t({
2973
+ }, re = () => _t(fr), pr = wt({
2974
2974
  workspace_id: "",
2975
2975
  pageSource: []
2976
2976
  }), Zo = ({ children: e, value: t }) => {
@@ -3001,7 +3001,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
3001
3001
  ]
3002
3002
  );
3003
3003
  return /* @__PURE__ */ n(pr.Provider, { value: o, children: e });
3004
- }, Et = () => wt(pr), Yo = ({ children: e, strict: t }) => /* @__PURE__ */ n(Ha, { features: qa, strict: t, children: e }), Ac = (e) => {
3004
+ }, Et = () => _t(pr), Yo = ({ children: e, strict: t }) => /* @__PURE__ */ n(Ha, { features: qa, strict: t, children: e }), Pc = (e) => {
3005
3005
  const t = ne(), {
3006
3006
  blockData: r,
3007
3007
  parsedBlockData: a,
@@ -3057,7 +3057,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
3057
3057
  data: a?.content?.[e],
3058
3058
  meta: h?.content?.meta
3059
3059
  };
3060
- }, Pc = (e) => {
3060
+ }, Oc = (e) => {
3061
3061
  const t = ne(), { parsedBlockData: r, blockContext: a, workspace_id: o } = Et(), i = r?.source?.find((b) => b.field_key === e), s = {
3062
3062
  page: 1,
3063
3063
  ...i?.params?.query
@@ -3094,7 +3094,7 @@ const ko = (e, t) => e ? e.replace(/\{([\w.-]+)\}/g, (r, a) => {
3094
3094
  loading: u,
3095
3095
  response: m?.content
3096
3096
  };
3097
- }, Oc = (e) => {
3097
+ }, Rc = (e) => {
3098
3098
  const { pageContext: t, pageSource: r } = Et(), a = r?.find((o) => o.module === e)?.identifier;
3099
3099
  return a ? t?.[a] : {};
3100
3100
  }, we = {
@@ -3200,13 +3200,16 @@ class je {
3200
3200
  return this.blocks;
3201
3201
  }
3202
3202
  }
3203
- const Rc = je.getInstance(), gr = q.memo(
3203
+ const Mc = je.getInstance(), gr = q.memo(
3204
3204
  ({ block_key: e, block_version: t, blocks: r, ...a }) => {
3205
3205
  const o = q.useMemo(
3206
3206
  () => `${e}:${t}`,
3207
3207
  [e, t]
3208
3208
  ), i = r[o];
3209
- return i ? /* @__PURE__ */ n(i, { block_key: e, block_version: t, ...a }) : (console.error(`[LevoBlock.tsx] Block Not Found - ${o}`), null);
3209
+ if (!i)
3210
+ return console.error(`[LevoBlock.tsx] Block Not Found - ${o}`), null;
3211
+ const { settings: s, source: c, ...l } = a;
3212
+ return /* @__PURE__ */ n(i, { ...l });
3210
3213
  }
3211
3214
  );
3212
3215
  gr.displayName = "BlockSelector";
@@ -3262,7 +3265,7 @@ const Qt = q.memo(
3262
3265
  )
3263
3266
  );
3264
3267
  Qt.displayName = "LevoBlock";
3265
- const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
3268
+ const Jo = me(() => import("./index-CjQJ_4Xf.js")), hr = wt({
3266
3269
  availableModals: ["login"],
3267
3270
  openModals: {
3268
3271
  key: null
@@ -3288,9 +3291,9 @@ const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
3288
3291
  ) }),
3289
3292
  e
3290
3293
  ] });
3291
- }, Oe = () => wt(hr), es = "_loadingContainer_1d4on_1", ts = {
3294
+ }, Oe = () => _t(hr), es = "_loadingContainer_1d4on_1", ts = {
3292
3295
  loadingContainer: es
3293
- }, ns = me(() => import("./index-FmZgz8ql.js")), rs = me(() => import("./index-BEAsxxm1.js")), as = me(() => import("./MessageCard-CRDamYvO.js")), xn = {
3296
+ }, ns = me(() => import("./index-ekxl-RSq.js")), rs = me(() => import("./index-BM9B_-Oa.js")), as = me(() => import("./MessageCard-B-uaKUq5.js")), xn = {
3294
3297
  "authentication.NOT_LOGGED_IN": ({ logo: e, siteName: t, page: r }) => /* @__PURE__ */ n(ve, { fallback: /* @__PURE__ */ n("div", {}), children: /* @__PURE__ */ n(ns, { logo: e, siteName: t, page: r }) }),
3295
3298
  "gating.ENTRY_NOT_FOUND": ({ logo: e, siteName: t, accessResponse: r, page: a, onSuccess: o }) => /* @__PURE__ */ n(ve, { fallback: /* @__PURE__ */ n("div", {}), children: /* @__PURE__ */ n(
3296
3299
  rs,
@@ -3392,20 +3395,24 @@ const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
3392
3395
  blocks: o,
3393
3396
  site: i,
3394
3397
  workspace: s,
3395
- authOverride: c
3396
- }) => /* @__PURE__ */ n(ve, { fallback: /* @__PURE__ */ n("center", { className: "flex h-screen w-full items-center justify-center" }), children: /* @__PURE__ */ n(Yo, { strict: !0, children: /* @__PURE__ */ n(Xo, { workspace: s, authOverride: c, children: /* @__PURE__ */ n(Qo, { siteName: i?.name, children: /* @__PURE__ */ n(
3397
- ss,
3398
- {
3399
- authOverride: c,
3400
- pageData: e,
3401
- parsedPageData: t,
3402
- isBuilder: r,
3403
- context: a,
3404
- blocks: o,
3405
- site: i,
3406
- workspace: s
3407
- }
3408
- ) }) }) }) }), ls = ({ blocks: e, studioData: t, site: r, workspace_id: a }) => {
3398
+ authOverride: c,
3399
+ enableSuspense: l
3400
+ }) => {
3401
+ const u = /* @__PURE__ */ n(Yo, { strict: !0, children: /* @__PURE__ */ n(Xo, { workspace: s, authOverride: c, children: /* @__PURE__ */ n(Qo, { siteName: i?.name, children: /* @__PURE__ */ n(
3402
+ ss,
3403
+ {
3404
+ authOverride: c,
3405
+ pageData: e,
3406
+ parsedPageData: t,
3407
+ isBuilder: r,
3408
+ context: a,
3409
+ blocks: o,
3410
+ site: i,
3411
+ workspace: s
3412
+ }
3413
+ ) }) }) });
3414
+ return r || l ? /* @__PURE__ */ n(ve, { fallback: /* @__PURE__ */ n("center", { className: "flex h-screen w-full items-center justify-center" }), children: u }) : u;
3415
+ }, ls = ({ blocks: e, studioData: t, site: r, workspace_id: a }) => {
3409
3416
  const o = z(() => crypto.randomUUID(), []), i = t ? Jt({
3410
3417
  pageTheme: r.theme,
3411
3418
  blocks: [t.blockData]
@@ -3471,7 +3478,7 @@ const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
3471
3478
  }
3472
3479
  )
3473
3480
  ] }) : null;
3474
- }, Mc = ({ blocks: e }) => {
3481
+ }, Bc = ({ blocks: e }) => {
3475
3482
  const [t, r] = w(null), [a, o] = w({}), [i, s] = w(null), c = de((l) => {
3476
3483
  const { data: u } = l, { type: f, payload: m } = u;
3477
3484
  switch (f) {
@@ -3562,13 +3569,13 @@ const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
3562
3569
  y: 0,
3563
3570
  skewX: 0,
3564
3571
  skewY: 0
3565
- }, Bc = {
3572
+ }, $c = {
3566
3573
  type: "spring",
3567
3574
  duration: 0.5,
3568
3575
  delay: 0,
3569
3576
  bounce: 0.25,
3570
3577
  ease: "easeOut"
3571
- }, $c = {
3578
+ }, Dc = {
3572
3579
  once: !0,
3573
3580
  amount: "some",
3574
3581
  margin: "0px 0px -150px 0px"
@@ -3636,7 +3643,7 @@ const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
3636
3643
  className: s,
3637
3644
  style: c
3638
3645
  };
3639
- }, [e, t, r, a, o, i]), Dc = {
3646
+ }, [e, t, r, a, o, i]), zc = {
3640
3647
  id: "7074716021398640563",
3641
3648
  workspace_id: "WZZKMUBH",
3642
3649
  // identifier: "_id",
@@ -4535,7 +4542,7 @@ const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
4535
4542
  } : void 0,
4536
4543
  [y?.entry]
4537
4544
  );
4538
- return s ? y && Object.keys(y).length > 0 ? /* @__PURE__ */ n(Cn, { config: m || {}, children: /* @__PURE__ */ n(
4545
+ return !s || m?.enabled === !1 ? null : y && Object.keys(y).length > 0 ? /* @__PURE__ */ n(Cn, { config: m || {}, children: /* @__PURE__ */ n(
4539
4546
  hs,
4540
4547
  {
4541
4548
  MotionComponent: t,
@@ -4546,7 +4553,7 @@ const Jo = me(() => import("./index-CWWCoArW.js")), hr = _t({
4546
4553
  exit: y.exit,
4547
4554
  children: o
4548
4555
  }
4549
- ) }) : /* @__PURE__ */ n(Cn, { config: m || {}, children: /* @__PURE__ */ n(e, { ...b, children: o }) }) : null;
4556
+ ) }) : /* @__PURE__ */ n(Cn, { config: m || {}, children: /* @__PURE__ */ n(e, { ...b, children: o }) });
4550
4557
  };
4551
4558
  return r.displayName = `withBlockProps(${e.displayName || e.name || "Component"})`, Nt(r);
4552
4559
  }, bs = "_accordionItem_ol1j4_1", ys = "_accordionHeader_ol1j4_10", vs = "_accordionTrigger_ol1j4_14", xs = "_accordionContent_ol1j4_21", _s = "_accordionChevron_ol1j4_33", ws = "_accordionContentText_ol1j4_41", Ue = {
@@ -4643,7 +4650,7 @@ function xr({
4643
4650
  ) });
4644
4651
  }
4645
4652
  xr.displayName = "BaseAccordionContent";
4646
- const zc = G(br), Fc = G(yr), jc = G(vr), Wc = G(xr), _r = ({
4653
+ const Fc = G(br), jc = G(yr), Wc = G(vr), Uc = G(xr), _r = ({
4647
4654
  className: e,
4648
4655
  content: t,
4649
4656
  config: r,
@@ -4653,9 +4660,9 @@ const zc = G(br), Fc = G(yr), jc = G(vr), Wc = G(xr), _r = ({
4653
4660
  ref: s,
4654
4661
  ...c
4655
4662
  }) => {
4656
- const l = z(() => t ? eo(t) : null, [t]);
4663
+ const l = z(() => t ? Ja(t) : null, [t]);
4657
4664
  return l ? /* @__PURE__ */ n(
4658
- to,
4665
+ Qa,
4659
4666
  {
4660
4667
  ref: s,
4661
4668
  content: l,
@@ -4667,7 +4674,7 @@ const zc = G(br), Fc = G(yr), jc = G(vr), Wc = G(xr), _r = ({
4667
4674
  ) : null;
4668
4675
  };
4669
4676
  _r.displayName = "BaseBlogContent";
4670
- const Uc = G(_r), en = ({ backgroundVideo: e }) => e?.media?.location ? /* @__PURE__ */ d(W, { children: [
4677
+ const Vc = G(_r), en = ({ backgroundVideo: e }) => e?.media?.location ? /* @__PURE__ */ d(W, { children: [
4671
4678
  /* @__PURE__ */ n(
4672
4679
  "video",
4673
4680
  {
@@ -4716,7 +4723,7 @@ const Uc = G(_r), en = ({ backgroundVideo: e }) => e?.media?.location ? /* @__PU
4716
4723
  )
4717
4724
  );
4718
4725
  wr.displayName = "BaseBox";
4719
- const Vc = G(wr), Nr = xe(
4726
+ const Hc = G(wr), Nr = xe(
4720
4727
  ({
4721
4728
  className: e,
4722
4729
  config: t,
@@ -5452,7 +5459,7 @@ const Hs = G(kr), Pr = xe(
5452
5459
  )
5453
5460
  );
5454
5461
  Pr.displayName = "BaseContainer";
5455
- const Hc = G(Pr), qs = me(
5462
+ const qc = G(Pr), qs = me(
5456
5463
  () => import("@levo-so/react-collection").then((e) => ({
5457
5464
  default: e.CollectionForm
5458
5465
  }))
@@ -5483,16 +5490,16 @@ const Hc = G(Pr), qs = me(
5483
5490
  onSubmit: s,
5484
5491
  isLoading: c
5485
5492
  }
5486
- ) }) }), qc = G(Gs), Ks = me(
5493
+ ) }) }), Gc = G(Gs), Ks = me(
5487
5494
  () => import("@levo-so/react-collection").then((e) => ({
5488
5495
  default: e.CollectionFormRenderer
5489
5496
  }))
5490
5497
  ), Xs = me(
5491
- () => import("./index-nHEycEE9.js").then((e) => ({
5498
+ () => import("./index-D6LjzTKx.js").then((e) => ({
5492
5499
  default: e.BookingCard
5493
5500
  }))
5494
5501
  ), Zs = me(
5495
- () => import("./BillingStep-BEQv34t2.js").then((e) => ({
5502
+ () => import("./BillingStep-DcZbhRY9.js").then((e) => ({
5496
5503
  default: e.BillingStep
5497
5504
  }))
5498
5505
  ), Ys = ({ elementKey: e, generatedClassName: t, config: r, className: a, initialValues: o, theme: i }) => {
@@ -5578,7 +5585,7 @@ const Hc = G(Pr), qs = me(
5578
5585
  onSuccess: b
5579
5586
  }
5580
5587
  ) }) });
5581
- }, Gc = G(Ys);
5588
+ }, Kc = G(Ys);
5582
5589
  function M({ className: e, ...t }) {
5583
5590
  return /* @__PURE__ */ n(
5584
5591
  "div",
@@ -5589,7 +5596,7 @@ function M({ className: e, ...t }) {
5589
5596
  }
5590
5597
  );
5591
5598
  }
5592
- const Kc = ({
5599
+ const Xc = ({
5593
5600
  forumKey: e,
5594
5601
  selectedCategories: t,
5595
5602
  onCategoryToggle: r,
@@ -5634,7 +5641,7 @@ const Kc = ({
5634
5641
  h._id
5635
5642
  );
5636
5643
  }) });
5637
- }, Or = _t(void 0), Xc = ({
5644
+ }, Or = wt(void 0), Zc = ({
5638
5645
  children: e,
5639
5646
  forum: t,
5640
5647
  isMember: r,
@@ -5667,7 +5674,7 @@ const Kc = ({
5667
5674
  children: e
5668
5675
  }
5669
5676
  ), Ge = () => {
5670
- const e = wt(Or);
5677
+ const e = _t(Or);
5671
5678
  return e === void 0 ? {
5672
5679
  forum: null,
5673
5680
  isMember: !1,
@@ -6172,7 +6179,7 @@ const gi = (e) => {
6172
6179
  } catch {
6173
6180
  return "";
6174
6181
  }
6175
- }, hi = ({ post: e, isRenderedSolo: t, forumKey: r, postDetailPageBaseURL: a, onEditClick: o, onPostUpdated: i }) => {
6182
+ }, hi = ({ post: e, isRenderedSolo: t, forumKey: r, postListingPageURL: a, onEditClick: o, onPostUpdated: i }) => {
6176
6183
  const { account: s } = re(), { fetch: c, logger: l } = ne(), [u, f] = w(!1), [m, p] = w(!1), [g, h] = w(!1), [b, y] = w(!1), x = z(() => !!(e?.organization && e?.organization?.badge_granted_at), [e]), _ = z(() => {
6177
6184
  const A = e?.organization?.name?.split(" ") || [];
6178
6185
  return A?.length > 1 ? A?.map(($) => $?.charAt(0)?.toUpperCase())?.join("") : A?.at(0)?.slice(0, 2)?.toUpperCase();
@@ -6197,7 +6204,7 @@ const gi = (e) => {
6197
6204
  media: e?.created_by?.profile_picture ?? null,
6198
6205
  alt: [e.created_by?.first_name, e.created_by?.last_name].filter(Boolean)?.join(" ") ?? ""
6199
6206
  } : null, [e?.created_by, e?.organization, x]), L = () => {
6200
- window && typeof window < "u" && window.history.back();
6207
+ window && typeof window < "u" && (a ? window.location.href = a : window.history.back());
6201
6208
  }, C = z(() => e?.created_by?._id === s?._id, [e?.created_by?._id, s?._id]), k = async () => {
6202
6209
  if (!(!r || !e?._id)) {
6203
6210
  p(!0);
@@ -6245,7 +6252,7 @@ const gi = (e) => {
6245
6252
  /* @__PURE__ */ d("div", { className: "flex items-center gap-1", children: [
6246
6253
  /* @__PURE__ */ d("div", { className: "flex items-center gap-1", children: [
6247
6254
  /* @__PURE__ */ n("p", { className: "cursor-pointer font-semibold text-sm text-text-1", children: x ? e?.organization?.name ?? "-" : [e.created_by?.first_name, e.created_by?.last_name].filter(Boolean).join(" ") || e.created_by?.username }),
6248
- x && /* @__PURE__ */ n(Un, { size: 18, fill: "#1d9bf0", stroke: "white" })
6255
+ x && /* @__PURE__ */ n(Vn, { size: 18, fill: "#1d9bf0", stroke: "white" })
6249
6256
  ] }),
6250
6257
  /* @__PURE__ */ d("p", { className: "text-text-2 text-xs", children: [
6251
6258
  "• ",
@@ -6264,7 +6271,7 @@ const gi = (e) => {
6264
6271
  A.preventDefault(), A.stopPropagation(), h(!0);
6265
6272
  },
6266
6273
  className: "flex h-8 w-8 cursor-pointer items-center justify-center rounded text-gray-600 hover:bg-gray-100",
6267
- children: /* @__PURE__ */ n(Ea, { size: 20 })
6274
+ children: /* @__PURE__ */ n(Ta, { size: 20 })
6268
6275
  }
6269
6276
  ) }),
6270
6277
  /* @__PURE__ */ d(
@@ -6284,7 +6291,7 @@ const gi = (e) => {
6284
6291
  },
6285
6292
  className: "flex w-full cursor-pointer items-center gap-2 rounded-md px-3 py-2 text-left text-gray-700 text-sm hover:bg-gray-100",
6286
6293
  children: [
6287
- /* @__PURE__ */ n(Ta, { size: 16 }),
6294
+ /* @__PURE__ */ n(La, { size: 16 }),
6288
6295
  /* @__PURE__ */ n("span", { children: "Edit Post Body" })
6289
6296
  ]
6290
6297
  }
@@ -6298,7 +6305,7 @@ const gi = (e) => {
6298
6305
  },
6299
6306
  className: "flex w-full cursor-pointer items-center gap-2 rounded-md px-3 py-2 text-left text-red-600 text-sm hover:bg-red-50",
6300
6307
  children: [
6301
- /* @__PURE__ */ n(Vn, { size: 16 }),
6308
+ /* @__PURE__ */ n(Hn, { size: 16 }),
6302
6309
  /* @__PURE__ */ n("span", { children: "Delete" })
6303
6310
  ]
6304
6311
  }
@@ -6423,7 +6430,7 @@ const gi = (e) => {
6423
6430
  ),
6424
6431
  onClick: y,
6425
6432
  disabled: c || !b,
6426
- children: /* @__PURE__ */ n(qn, { size: 18, fill: u ? "currentColor" : "none" })
6433
+ children: /* @__PURE__ */ n(Xn, { size: 18, fill: u ? "currentColor" : "none" })
6427
6434
  }
6428
6435
  ),
6429
6436
  /* @__PURE__ */ n("span", { className: v("font-semibold text-sm"), children: g }),
@@ -6441,20 +6448,28 @@ const gi = (e) => {
6441
6448
  ),
6442
6449
  onClick: x,
6443
6450
  disabled: c || !b,
6444
- children: /* @__PURE__ */ n(Gn, { size: 18, fill: m ? "currentColor" : "none" })
6451
+ children: /* @__PURE__ */ n(Zn, { size: 18, fill: m ? "currentColor" : "none" })
6445
6452
  }
6446
6453
  )
6447
6454
  ] });
6448
- }, _i = ({ post: e, postDetailPageBaseURL: t, isRenderedSolo: r = !1, actionsLoadingState: a, forumKey: o }) => {
6455
+ }, _i = ({
6456
+ post: e,
6457
+ postDetailPageURLPattern: t,
6458
+ isRenderedSolo: r = !1,
6459
+ actionsLoadingState: a,
6460
+ forumKey: o
6461
+ }) => {
6449
6462
  const i = async (c) => {
6450
6463
  c.stopPropagation(), c.preventDefault();
6451
- const l = {
6464
+ const l = t?.replace(/\{[^}]+\}/g, e?.slug), u = {
6452
6465
  title: e?.title,
6453
- url: `${t ?? ""}/${e?.slug}`
6466
+ url: l
6454
6467
  };
6455
- navigator.share && navigator.canShare(l) && navigator?.share(l);
6468
+ navigator.share && navigator.canShare(u) && navigator?.share(u);
6456
6469
  }, s = (c) => {
6457
- c.stopPropagation(), c.preventDefault(), r || (window.location.href = `${t}/${e?.slug}`);
6470
+ c.stopPropagation(), c.preventDefault();
6471
+ const l = t?.replace(/\{[^}]+\}/g, e?.slug);
6472
+ !r && l && (window.location.href = l);
6458
6473
  };
6459
6474
  return /* @__PURE__ */ n("div", { className: v("mt-0"), children: /* @__PURE__ */ n("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-4", children: [
6460
6475
  a?.engagements ? /* @__PURE__ */ n(M, { className: "h-7.5 w-17 rounded-lg" }) : /* @__PURE__ */ n(xi, { post: e, forumKey: o }),
@@ -6464,13 +6479,13 @@ const gi = (e) => {
6464
6479
  className: v("cursor-pointer gap-1.5", r && "cursor-default"),
6465
6480
  onClick: s,
6466
6481
  children: [
6467
- /* @__PURE__ */ n(Hn, { size: 20 }),
6482
+ /* @__PURE__ */ n(Un, { size: 20 }),
6468
6483
  /* @__PURE__ */ n("span", { className: "", children: e.comments_count })
6469
6484
  ]
6470
6485
  }
6471
6486
  ),
6472
6487
  a?.share ? /* @__PURE__ */ n(M, { className: "h-7.5 w-20 rounded-lg" }) : /* @__PURE__ */ d(nt, { className: "cursor-pointer", onClick: i, children: [
6473
- /* @__PURE__ */ n(La, { size: 16 }),
6488
+ /* @__PURE__ */ n(Ea, { size: 16 }),
6474
6489
  /* @__PURE__ */ n("span", { className: "", children: "Share" })
6475
6490
  ] })
6476
6491
  ] }) }) });
@@ -6614,7 +6629,7 @@ const gi = (e) => {
6614
6629
  children: e?.label
6615
6630
  }
6616
6631
  ),
6617
- s && /* @__PURE__ */ n(Kn, { size: 18, className: "text-blue-500" })
6632
+ s && /* @__PURE__ */ n(Yn, { size: 18, className: "text-blue-500" })
6618
6633
  ] }),
6619
6634
  (c || i) && /* @__PURE__ */ d("span", { className: "font-bold text-gray-800 text-sm", children: [
6620
6635
  u ?? 0,
@@ -6710,14 +6725,14 @@ const gi = (e) => {
6710
6725
  // };
6711
6726
  case Je.unpublished:
6712
6727
  return {
6713
- icon: /* @__PURE__ */ n(Yn, { size: 14 }),
6728
+ icon: /* @__PURE__ */ n(qn, { size: 14 }),
6714
6729
  label: "Unpublished",
6715
6730
  tooltip: "This post has been removed from public visibility by moderator or owner",
6716
6731
  className: "bg-gray-100 text-gray-700 border-gray-300"
6717
6732
  };
6718
6733
  case Je.archived:
6719
6734
  return {
6720
- icon: /* @__PURE__ */ n(Zn, { size: 14 }),
6735
+ icon: /* @__PURE__ */ n(Kn, { size: 14 }),
6721
6736
  label: "Archived",
6722
6737
  tooltip: "This post has been archived and no more activity is allowed",
6723
6738
  className: "bg-gray-100 text-gray-700 border-gray-300"
@@ -6731,7 +6746,7 @@ const gi = (e) => {
6731
6746
  };
6732
6747
  case Je.flagged:
6733
6748
  return {
6734
- icon: /* @__PURE__ */ n(Xn, { size: 14 }),
6749
+ icon: /* @__PURE__ */ n(Gn, { size: 14 }),
6735
6750
  label: "Flagged",
6736
6751
  tooltip: "This post has been flagged by AI and is awaiting manual moderation",
6737
6752
  className: "bg-red-100 text-red-700 border-red-300"
@@ -6787,14 +6802,14 @@ const gi = (e) => {
6787
6802
  // };
6788
6803
  case Je.archived:
6789
6804
  return {
6790
- icon: /* @__PURE__ */ n(Zn, { size: 14 }),
6805
+ icon: /* @__PURE__ */ n(Kn, { size: 14 }),
6791
6806
  label: "Archived",
6792
6807
  tooltip: "This post has been archived and no more activity is allowed",
6793
6808
  className: "bg-gray-100 text-gray-700 border-gray-300"
6794
6809
  };
6795
6810
  case Ot.flagged:
6796
6811
  return {
6797
- icon: /* @__PURE__ */ n(Xn, { size: 14 }),
6812
+ icon: /* @__PURE__ */ n(Gn, { size: 14 }),
6798
6813
  label: "Flagged",
6799
6814
  tooltip: "This comment has been flagged by AI",
6800
6815
  className: "bg-red-100 text-red-700 border-red-300"
@@ -6808,7 +6823,7 @@ const gi = (e) => {
6808
6823
  };
6809
6824
  case Ot.unpublished:
6810
6825
  return {
6811
- icon: /* @__PURE__ */ n(Yn, { size: 14 }),
6826
+ icon: /* @__PURE__ */ n(qn, { size: 14 }),
6812
6827
  label: "Unpublished",
6813
6828
  tooltip: "This comment has been removed from public visibility by moderator or owner",
6814
6829
  className: "bg-gray-100 text-gray-700 border-gray-300"
@@ -7153,7 +7168,7 @@ const Bi = ({ comment: e, avatarStyles: t }) => {
7153
7168
  return /* @__PURE__ */ d("div", { className: "flex items-center gap-x-1.5", children: [
7154
7169
  /* @__PURE__ */ d("div", { className: "flex items-center gap-1", children: [
7155
7170
  /* @__PURE__ */ n("p", { className: "font-semibold text-text-1 text-xs", children: a }),
7156
- t && /* @__PURE__ */ n(Un, { size: 18, fill: "#1d9bf0", stroke: "white" })
7171
+ t && /* @__PURE__ */ n(Vn, { size: 18, fill: "#1d9bf0", stroke: "white" })
7157
7172
  ] }),
7158
7173
  /* @__PURE__ */ n(
7159
7174
  "div",
@@ -7167,7 +7182,7 @@ const Bi = ({ comment: e, avatarStyles: t }) => {
7167
7182
  /* @__PURE__ */ n("p", { className: "text-text-2 text-xs", children: r })
7168
7183
  ] });
7169
7184
  }, Di = ({ replyCount: e, ...t }) => /* @__PURE__ */ d(nt, { className: "cursor-pointer bg-white", ...t, children: [
7170
- /* @__PURE__ */ n(Hn, { size: 16 }),
7185
+ /* @__PURE__ */ n(Un, { size: 16 }),
7171
7186
  /* @__PURE__ */ n("span", { className: "text-xs", children: e })
7172
7187
  ] }), zi = ({ comment: e, forumKey: t, userEngagementHashMap: r, setUserEngagementHashMap: a }) => {
7173
7188
  const { fetch: o, logger: i } = ne(), { isLoggedIn: s } = re(), { openModal: c } = Oe(), { canInteractWithComments: l } = Ge(), u = r?.[e?._id], [f, m] = w(!1), [p, g] = w(!!u?.upvoted_at), [h, b] = w(!!u?.downvoted_at), [y, x] = w(
@@ -7259,7 +7274,7 @@ const Bi = ({ comment: e, avatarStyles: t }) => {
7259
7274
  ),
7260
7275
  onClick: T,
7261
7276
  disabled: f || !_,
7262
- children: /* @__PURE__ */ n(qn, { size: 18, fill: p ? "currentColor" : "none" })
7277
+ children: /* @__PURE__ */ n(Xn, { size: 18, fill: p ? "currentColor" : "none" })
7263
7278
  }
7264
7279
  ),
7265
7280
  /* @__PURE__ */ n("span", { className: v("font-semibold text-sm"), children: y }),
@@ -7273,7 +7288,7 @@ const Bi = ({ comment: e, avatarStyles: t }) => {
7273
7288
  ),
7274
7289
  onClick: I,
7275
7290
  disabled: f || !_,
7276
- children: /* @__PURE__ */ n(Gn, { size: 18, fill: h ? "currentColor" : "none" })
7291
+ children: /* @__PURE__ */ n(Zn, { size: 18, fill: h ? "currentColor" : "none" })
7277
7292
  }
7278
7293
  )
7279
7294
  ] });
@@ -7518,7 +7533,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7518
7533
  /* @__PURE__ */ n(M, { className: "h-8 w-16" })
7519
7534
  ] })
7520
7535
  ] })
7521
- ] }), Zc = ({ forumKey: e, post: t, onCommentCountChange: r }) => {
7536
+ ] }), Yc = ({ forumKey: e, post: t, onCommentCountChange: r }) => {
7522
7537
  const { fetch: a, logger: o } = ne(), [i, s] = w(!0), [c, l] = w(!1), [u, f] = w([]), [m, p] = w(1), [g, h] = w(!1), [b, y] = w("desc"), [x, _] = w(!1), T = he(null), [I, S] = w(t?.comments_count ?? 0), [L, C] = w({}), k = async (N = 1, E = b) => {
7523
7538
  try {
7524
7539
  const O = N === 1;
@@ -7585,6 +7600,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7585
7600
  /* @__PURE__ */ d(
7586
7601
  "button",
7587
7602
  {
7603
+ type: "button",
7588
7604
  onClick: () => _(!x),
7589
7605
  className: "flex items-center gap-1.5 font-semibold text-sm text-text-1 transition-colors hover:text-text-1",
7590
7606
  children: [
@@ -7602,6 +7618,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7602
7618
  x && /* @__PURE__ */ n("div", { className: "absolute top-full right-0 z-10 mt-2 flex min-w-[140px] flex-col gap-y-1 rounded-lg border border-gray-200 bg-white p-2 shadow-md", children: X.map((N) => /* @__PURE__ */ n(
7603
7619
  "button",
7604
7620
  {
7621
+ type: "button",
7605
7622
  onClick: () => K(N.value),
7606
7623
  className: `w-full rounded-md px-3 py-2 text-left font-medium text-sm transition-colors ${b === N.value ? "bg-brand text-brand-foreground" : "text-gray-700 hover:bg-gray-50"}`,
7607
7624
  children: N.label
@@ -7635,6 +7652,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7635
7652
  g && !c && /* @__PURE__ */ n("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ n(
7636
7653
  "button",
7637
7654
  {
7655
+ type: "button",
7638
7656
  onClick: A,
7639
7657
  className: "cursor-pointer rounded-lg border border-gray-300 px-6 py-2.5 font-medium text-sm text-text-2 transition-all duration-200 hover:bg-gray-50",
7640
7658
  children: "Load More Comments"
@@ -7667,7 +7685,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7667
7685
  ),
7668
7686
  /* @__PURE__ */ n(ut, { className: v("bg-brand text-brand-foreground"), children: r })
7669
7687
  ] }) : null;
7670
- }, Yc = ({ forumKey: e, onPostCreated: t }) => {
7688
+ }, Jc = ({ forumKey: e, onPostCreated: t }) => {
7671
7689
  const { forum: r, isMember: a, isLoadingMembership: o, isInviteOnly: i } = Ge(), { isAuthLoaded: s, isLoggedIn: c, account: l } = re(), [u, f] = w(!1), m = (g) => {
7672
7690
  t?.(g), f(!1);
7673
7691
  }, p = z(() => {
@@ -7738,31 +7756,32 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7738
7756
  return null;
7739
7757
  }
7740
7758
  }, Vi = () => /* @__PURE__ */ d("div", { className: "flex flex-col items-center justify-center gap-2 rounded-lg border border-[#E5E5E5] bg-gray-50/60 p-8", children: [
7741
- /* @__PURE__ */ n("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-gray-200", children: /* @__PURE__ */ n(Vn, { size: 24, className: "text-text-1" }) }),
7759
+ /* @__PURE__ */ n("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-gray-200", children: /* @__PURE__ */ n(Hn, { size: 24, className: "text-text-1" }) }),
7742
7760
  /* @__PURE__ */ n("p", { className: "font-medium text-sm text-text-1", children: "This post has been deleted" })
7743
- ] }), Jc = ({
7761
+ ] }), Qc = ({
7744
7762
  post: e,
7745
7763
  isRenderedSolo: t = !1,
7746
- postDetailPageBaseURL: r,
7747
- actionsLoadingState: a,
7748
- forumKey: o,
7749
- wrapperStyles: i
7764
+ postDetailPageURLPattern: r,
7765
+ postListingPageURL: a,
7766
+ actionsLoadingState: o,
7767
+ forumKey: i,
7768
+ wrapperStyles: s
7750
7769
  }) => {
7751
- const [s, c] = w(e);
7770
+ const [c, l] = w(e);
7752
7771
  return D(() => {
7753
- c(e);
7754
- }, [e]), e?.kind === "poll" ? null : s?.deleted_at ? /* @__PURE__ */ n(Vi, {}) : /* @__PURE__ */ n(
7772
+ l(e);
7773
+ }, [e]), e?.kind === "poll" ? null : c?.deleted_at ? /* @__PURE__ */ n(Vi, {}) : /* @__PURE__ */ n(
7755
7774
  Hi,
7756
7775
  {
7757
7776
  post: e,
7758
- postDetailPageBaseURL: t ? null : r,
7777
+ postDetailPageURLPattern: t ? null : r,
7759
7778
  children: /* @__PURE__ */ d(
7760
7779
  "div",
7761
7780
  {
7762
7781
  className: v(
7763
7782
  "flex flex-col gap-3 rounded-lg border border-[#E5E5E5] bg-white p-3",
7764
7783
  t && "border-none px-0 py-0",
7765
- i
7784
+ s
7766
7785
  ),
7767
7786
  children: [
7768
7787
  /* @__PURE__ */ n(
@@ -7770,10 +7789,10 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7770
7789
  {
7771
7790
  post: e,
7772
7791
  isRenderedSolo: t,
7773
- forumKey: o,
7774
- postDetailPageBaseURL: r,
7775
- onPostUpdated: (l) => {
7776
- c(l);
7792
+ forumKey: i,
7793
+ postListingPageURL: a,
7794
+ onPostUpdated: (u) => {
7795
+ l(u);
7777
7796
  }
7778
7797
  }
7779
7798
  ),
@@ -7781,7 +7800,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7781
7800
  /* @__PURE__ */ n(bi, { post: e }),
7782
7801
  /* @__PURE__ */ d("div", { className: "space-y-2", children: [
7783
7802
  /* @__PURE__ */ n(yi, { post: e }),
7784
- /* @__PURE__ */ n(vi, { post: s })
7803
+ /* @__PURE__ */ n(vi, { post: c })
7785
7804
  ] })
7786
7805
  ] }),
7787
7806
  /* @__PURE__ */ n(Ui, { post: e }),
@@ -7789,10 +7808,10 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7789
7808
  _i,
7790
7809
  {
7791
7810
  post: e,
7792
- forumKey: o || "",
7811
+ forumKey: i || "",
7793
7812
  isRenderedSolo: t,
7794
- postDetailPageBaseURL: r,
7795
- actionsLoadingState: a
7813
+ postDetailPageURLPattern: r,
7814
+ actionsLoadingState: o
7796
7815
  }
7797
7816
  )
7798
7817
  ]
@@ -7800,11 +7819,14 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7800
7819
  )
7801
7820
  }
7802
7821
  );
7803
- }, Hi = ({ post: e, children: t, postDetailPageBaseURL: r }) => {
7822
+ }, Hi = ({ post: e, children: t, postDetailPageURLPattern: r }) => {
7804
7823
  const a = (o) => {
7805
7824
  if (!r) return;
7806
7825
  const i = o.target;
7807
- i.closest("button") || i.closest("a") || i.closest("[data-prevent-post-navigation]") || (window.location.href = `${r}/${e?.slug}`);
7826
+ if (i.closest("button") || i.closest("a") || i.closest("[data-prevent-post-navigation]"))
7827
+ return;
7828
+ const s = r.replace(/\{[^}]+\}/g, e?.slug);
7829
+ window.location.href = s;
7808
7830
  };
7809
7831
  return r ? /* @__PURE__ */ n("div", { onClick: a, className: "cursor-pointer", children: t }) : /* @__PURE__ */ n(W, { children: t });
7810
7832
  }, Vr = ({
@@ -7897,7 +7919,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7897
7919
  /* @__PURE__ */ n(M, { className: "h-8 w-16" })
7898
7920
  ] })
7899
7921
  ] })
7900
- ] }), Qc = ({
7922
+ ] }), ed = ({
7901
7923
  communityName: e = "this community",
7902
7924
  className: t
7903
7925
  }) => {
@@ -7958,7 +7980,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7958
7980
  h()
7959
7981
  ] }) })
7960
7982
  ] });
7961
- }, ed = ({
7983
+ }, td = ({
7962
7984
  communityName: e = "this community",
7963
7985
  className: t
7964
7986
  }) => /* @__PURE__ */ d("div", { className: v("flex flex-col items-center gap-3", t), children: [
@@ -7969,7 +7991,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7969
7991
  e,
7970
7992
  " is pending approval. You'll be notified once the admins review your request."
7971
7993
  ] })
7972
- ] }), td = ({ opacity: e = 1 }) => /* @__PURE__ */ d(
7994
+ ] }), nd = ({ opacity: e = 1 }) => /* @__PURE__ */ d(
7973
7995
  "div",
7974
7996
  {
7975
7997
  className: "flex flex-col gap-3 rounded-lg border border-[#E5E5E5] bg-white p-3",
@@ -7997,7 +8019,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
7997
8019
  ] })
7998
8020
  ]
7999
8021
  }
8000
- ), nd = ({
8022
+ ), rd = ({
8001
8023
  isOpen: e,
8002
8024
  communityName: t = "this community",
8003
8025
  className: r
@@ -8061,7 +8083,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
8061
8083
  ] })
8062
8084
  }
8063
8085
  ) });
8064
- }, rd = ({ inputStyles: e, ...t }) => /* @__PURE__ */ n(
8086
+ }, ad = ({ inputStyles: e, ...t }) => /* @__PURE__ */ n(
8065
8087
  Ee,
8066
8088
  {
8067
8089
  inputStyles: v(
@@ -8100,7 +8122,7 @@ const Pn = ({ wrapperStyles: e }) => /* @__PURE__ */ d("div", { className: "col-
8100
8122
  }
8101
8123
  );
8102
8124
  Hr.displayName = "BaseHeading";
8103
- const ad = G(Hr), qr = xe(
8125
+ const od = G(Hr), qr = xe(
8104
8126
  ({ className: e, elementKey: t, generatedClassName: r, content: a, styles: o, ...i }, s) => /* @__PURE__ */ n(
8105
8127
  "div",
8106
8128
  {
@@ -8114,7 +8136,7 @@ const ad = G(Hr), qr = xe(
8114
8136
  )
8115
8137
  );
8116
8138
  qr.displayName = "BaseIframe";
8117
- const od = G(qr), Gr = xe(
8139
+ const sd = G(qr), Gr = xe(
8118
8140
  ({
8119
8141
  className: e,
8120
8142
  image: t,
@@ -8150,7 +8172,7 @@ const od = G(qr), Gr = xe(
8150
8172
  }
8151
8173
  );
8152
8174
  Gr.displayName = "BaseImage";
8153
- const sd = G(Gr), Kr = xe(
8175
+ const id = G(Gr), Kr = xe(
8154
8176
  ({ children: e, className: t, config: r, content: a, styles: o, elementKey: i, generatedClassName: s, ...c }, l) => {
8155
8177
  const u = r?.action?.type === "external_link" ? r?.action?.value : r?.action?.type === "email" ? `mailto:${r?.action?.value}` : r?.action?.type === "phone" ? `tel:${r?.action?.value}` : "#";
8156
8178
  return /* @__PURE__ */ n(
@@ -8168,7 +8190,7 @@ const sd = G(Gr), Kr = xe(
8168
8190
  }
8169
8191
  );
8170
8192
  Kr.displayName = "BaseLink";
8171
- const id = G(Kr), Xr = xe(
8193
+ const ld = G(Kr), Xr = xe(
8172
8194
  ({
8173
8195
  className: e,
8174
8196
  media: t,
@@ -8234,7 +8256,7 @@ const id = G(Kr), Xr = xe(
8234
8256
  }
8235
8257
  );
8236
8258
  Xr.displayName = "BaseMedia";
8237
- const ld = G(Xr), Zr = [
8259
+ const cd = G(Xr), Zr = [
8238
8260
  // Minimal Category
8239
8261
  {
8240
8262
  id: "subtle-grid",
@@ -8351,10 +8373,10 @@ const ld = G(Xr), Zr = [
8351
8373
  }, Gi = new Map(
8352
8374
  Zr.map((e) => [e.id, e])
8353
8375
  );
8354
- function cd(e) {
8376
+ function dd(e) {
8355
8377
  return Zr.filter((t) => t.category === e);
8356
8378
  }
8357
- function dd() {
8379
+ function ud() {
8358
8380
  return Object.keys(qi);
8359
8381
  }
8360
8382
  const Ki = (e) => Gi.get(e) || null, Xi = (e) => {
@@ -8391,7 +8413,7 @@ const Ki = (e) => Gi.get(e) || null, Xi = (e) => {
8391
8413
  "pink"
8392
8414
  ];
8393
8415
  return t.test(e) || r.test(e) || a.test(e) || o.test(e) || i.test(e) || s.includes(e.toLowerCase());
8394
- }, ud = (e) => {
8416
+ }, md = (e) => {
8395
8417
  const t = {
8396
8418
  type: e.type,
8397
8419
  colors: e.colors ? { ...e.colors } : void 0,
@@ -8522,7 +8544,7 @@ const ea = xe(
8522
8544
  )
8523
8545
  );
8524
8546
  ea.displayName = "BaseSection";
8525
- const md = G(ea), fd = kt.Root;
8547
+ const fd = G(ea), pd = kt.Root;
8526
8548
  function ta({
8527
8549
  className: e,
8528
8550
  elementKey: t,
@@ -8602,11 +8624,11 @@ function ra({
8602
8624
  );
8603
8625
  }
8604
8626
  ra.displayName = "BaseTabsContent";
8605
- const pd = G(ta), gd = G(na), hd = G(ra), rl = "_TypographyBaseStyles_wqur5_1", al = {
8627
+ const gd = G(ta), hd = G(na), bd = G(ra), rl = "_TypographyBaseStyles_wqur5_1", al = {
8606
8628
  TypographyBaseStyles: rl
8607
8629
  }, aa = xe(
8608
8630
  ({ children: e, className: t, content: r, config: a, styles: o, elementKey: i, generatedClassName: s, ...c }, l) => {
8609
- const u = oo.sanitize(e || r);
8631
+ const u = eo.sanitize(e || r);
8610
8632
  return /* @__PURE__ */ n(
8611
8633
  "div",
8612
8634
  {
@@ -8626,7 +8648,7 @@ const pd = G(ta), gd = G(na), hd = G(ra), rl = "_TypographyBaseStyles_wqur5_1",
8626
8648
  }
8627
8649
  );
8628
8650
  aa.displayName = "BaseTypography";
8629
- const bd = G(aa), ol = () => {
8651
+ const yd = G(aa), ol = () => {
8630
8652
  const { membership: e, logger: t } = ne(), { isLoggedIn: r, isAuthLoading: a, setAuthState: o } = re(), i = async (p, g) => {
8631
8653
  const { email: h, phone: b, medium: y } = p, x = h || b;
8632
8654
  if (!x)
@@ -8823,7 +8845,7 @@ const bd = G(aa), ol = () => {
8823
8845
  ] }) : /* @__PURE__ */ n(Ae, { elementKey: `${e}_loginButton`, onClick: l, children: "Login" })
8824
8846
  }
8825
8847
  );
8826
- }, yd = G(xl), _l = ({
8848
+ }, vd = G(xl), _l = ({
8827
8849
  booking: e,
8828
8850
  summary: t,
8829
8851
  onClose: r
@@ -8837,7 +8859,7 @@ const bd = G(aa), ol = () => {
8837
8859
  }).format(l);
8838
8860
  }, o = (s) => s ? Z(s).format("D MMMM YYYY, h:mm A") : null, i = e.unit_amount === 0;
8839
8861
  return /* @__PURE__ */ d("div", { className: "flex flex-col items-center gap-4", children: [
8840
- /* @__PURE__ */ n("div", { className: "flex size-16 items-center justify-center rounded-full bg-green-100", children: /* @__PURE__ */ n(Kn, { className: "size-8 text-green-600" }) }),
8862
+ /* @__PURE__ */ n("div", { className: "flex size-16 items-center justify-center rounded-full bg-green-100", children: /* @__PURE__ */ n(Yn, { className: "size-8 text-green-600" }) }),
8841
8863
  /* @__PURE__ */ d("div", { className: "text-center", children: [
8842
8864
  /* @__PURE__ */ n("p", { className: "font-semibold text-lg", children: i ? "Booking Confirmed!" : "Payment Successful!" }),
8843
8865
  /* @__PURE__ */ n("p", { className: "mt-1 text-gray-600 text-sm", children: i ? "Your booking has been confirmed." : "Your payment has been received and booking is confirmed." })
@@ -9023,7 +9045,7 @@ const bd = G(aa), ol = () => {
9023
9045
  }
9024
9046
  )
9025
9047
  ] });
9026
- }, vd = ({ isOpen: e, onClose: t, contentId: r, collectionKey: a }) => {
9048
+ }, xd = ({ isOpen: e, onClose: t, contentId: r, collectionKey: a }) => {
9027
9049
  const o = ne(), { workspace: i } = re(), { Razorpay: s } = tr(), {
9028
9050
  stripePromise: c,
9029
9051
  config: l,
@@ -9186,7 +9208,7 @@ function ct({ className: e, ...t }) {
9186
9208
  }
9187
9209
  );
9188
9210
  }
9189
- function xd({
9211
+ function _d({
9190
9212
  className: e,
9191
9213
  isActive: t,
9192
9214
  ...r
@@ -9216,7 +9238,7 @@ function dt({
9216
9238
  }
9217
9239
  );
9218
9240
  }
9219
- function _d({
9241
+ function wd({
9220
9242
  className: e,
9221
9243
  isActive: t,
9222
9244
  ...r
@@ -9272,7 +9294,7 @@ function Nl({ className: e, ...t }) {
9272
9294
  }
9273
9295
  );
9274
9296
  }
9275
- const wd = ({
9297
+ const Nd = ({
9276
9298
  className: e,
9277
9299
  classNames: t,
9278
9300
  showOutsideDays: r = !0,
@@ -9281,7 +9303,7 @@ const wd = ({
9281
9303
  components: i,
9282
9304
  ...s
9283
9305
  }) => /* @__PURE__ */ n(
9284
- Qa,
9306
+ to,
9285
9307
  {
9286
9308
  showOutsideDays: r,
9287
9309
  className: v(
@@ -9568,7 +9590,7 @@ const kl = {
9568
9590
  ]
9569
9591
  }
9570
9592
  ) });
9571
- }, Nd = ({
9593
+ }, Cd = ({
9572
9594
  variant: e = "default",
9573
9595
  hideKeyboardKey: t = !1
9574
9596
  }) => {
@@ -9806,7 +9828,7 @@ const kl = {
9806
9828
  field_interface: "TextWidget",
9807
9829
  options: {},
9808
9830
  label: "Search"
9809
- }, Cd = ({ schema: e, query: t, setQuery: r, enableSearch: a = !0, selectedFields: o }) => {
9831
+ }, kd = ({ schema: e, query: t, setQuery: r, enableSearch: a = !0, selectedFields: o }) => {
9810
9832
  const i = z(() => {
9811
9833
  const f = e?.sections?.flatMap((m) => m?.fields)?.filter((m) => Wt.includes(m?.field_interface))?.filter((m) => o?.includes(m?.key));
9812
9834
  return a ? [Mn, ...f] : f;
@@ -10538,7 +10560,7 @@ const jl = async (e, t, r) => {
10538
10560
  } catch (a) {
10539
10561
  console.log(a);
10540
10562
  }
10541
- }, kd = ({
10563
+ }, Sd = ({
10542
10564
  eventID: e,
10543
10565
  title: t,
10544
10566
  external: r,
@@ -10860,10 +10882,10 @@ const jl = async (e, t, r) => {
10860
10882
  label: "LinkedIn",
10861
10883
  category: "alternate"
10862
10884
  }
10863
- ], Sd = [
10885
+ ], Ed = [
10864
10886
  ...ia,
10865
10887
  ...la
10866
- ], Wl = ia.map((e) => e.value), Ul = la.map((e) => e.value), Ed = (e) => Wl.includes(e), Td = (e) => Ul.includes(e), Ld = ["element", "group"], Vl = [
10888
+ ], Wl = ia.map((e) => e.value), Ul = la.map((e) => e.value), Td = (e) => Wl.includes(e), Ld = (e) => Ul.includes(e), Vl = "membership.account.ACCOUNT_PENDING_APPROVAL", Id = (e) => e ? e === Vl || e.includes("ACCOUNT_PENDING_APPROVAL") : !1, Ad = ["element", "group"], Hl = [
10867
10889
  // Elements
10868
10890
  "BoxWidget",
10869
10891
  "ButtonWidget",
@@ -10897,17 +10919,17 @@ const jl = async (e, t, r) => {
10897
10919
  "DateWidget",
10898
10920
  "ArrayWidget",
10899
10921
  "RecordWidget"
10900
- ], Id = Vl.reduce(
10922
+ ], Pd = Hl.reduce(
10901
10923
  (e, t) => (e[t] = t, e),
10902
10924
  {}
10903
- ), Ad = [
10925
+ ), Od = [
10904
10926
  "collection",
10905
10927
  "event",
10906
10928
  "blog",
10907
10929
  "community",
10908
10930
  "context",
10909
10931
  "form"
10910
- ], Pd = [
10932
+ ], Rd = [
10911
10933
  "linkedin",
10912
10934
  "google",
10913
10935
  "oauth",
@@ -10918,183 +10940,185 @@ const jl = async (e, t, r) => {
10918
10940
  "password"
10919
10941
  ];
10920
10942
  export {
10921
- Bc as $,
10943
+ ed as $,
10922
10944
  Ul as A,
10923
10945
  ue as B,
10924
- Rr as C,
10946
+ ea as C,
10925
10947
  Tt as D,
10926
- Br as E,
10927
- ei as F,
10928
- Nd as G,
10929
- wd as H,
10930
- Cd as I,
10931
- Ee as J,
10932
- On as K,
10933
- sn as L,
10934
- se as M,
10935
- Qr as N,
10936
- Zr as O,
10937
- Co as P,
10938
- dd as Q,
10939
- cd as R,
10948
+ aa as E,
10949
+ xl as F,
10950
+ Zo as G,
10951
+ Od as H,
10952
+ je as I,
10953
+ Vc as J,
10954
+ _l as K,
10955
+ xd as L,
10956
+ wl as M,
10957
+ Hc as N,
10958
+ Ae as O,
10959
+ Nd as P,
10960
+ Hs as Q,
10961
+ Sr as R,
10940
10962
  sa as S,
10941
- Js as T,
10942
- qi as U,
10943
- Gi as V,
10944
- Zi as W,
10945
- ud as X,
10946
- kd as Y,
10947
- qt as Z,
10948
- wn as _,
10963
+ Ir as T,
10964
+ Ar as U,
10965
+ Er as V,
10966
+ Lr as W,
10967
+ Tr as X,
10968
+ Xc as Y,
10969
+ Pi as Z,
10970
+ Yc as _,
10949
10971
  oa as a,
10950
- bi as a$,
10951
- $c as a0,
10952
- ia as a1,
10953
- la as a2,
10954
- Sd as a3,
10955
- Wl as a4,
10956
- Ed as a5,
10957
- Td as a6,
10958
- ke as a7,
10959
- Ht as a8,
10960
- Ko as a9,
10961
- Vc as aA,
10962
- Ae as aB,
10963
- Vs as aC,
10964
- Hs as aD,
10965
- Sr as aE,
10966
- Er as aF,
10967
- Tr as aG,
10968
- Lr as aH,
10969
- Ir as aI,
10970
- Ar as aJ,
10971
- Pr as aK,
10972
- Hc as aL,
10973
- qc as aM,
10974
- Gc as aN,
10975
- Kc as aO,
10976
- Zc as aP,
10977
- Yc as aQ,
10978
- Jc as aR,
10979
- Hi as aS,
10980
- Qc as aT,
10981
- jt as aU,
10982
- Vr as aV,
10983
- ed as aW,
10984
- nd as aX,
10985
- td as aY,
10986
- rd as aZ,
10987
- hi as a_,
10988
- mr as aa,
10989
- Lc as ab,
10990
- Ic as ac,
10991
- xt as ad,
10992
- Tc as ae,
10993
- $o as af,
10994
- Do as ag,
10995
- zo as ah,
10996
- Fo as ai,
10997
- Wo as aj,
10998
- Jt as ak,
10999
- Ac as al,
11000
- Pc as am,
11001
- Oc as an,
11002
- Xc as ao,
11003
- Ge as ap,
11004
- je as aq,
11005
- Rc as ar,
10972
+ Hl as a$,
10973
+ qc as a0,
10974
+ Jc as a1,
10975
+ te as a2,
10976
+ wn as a3,
10977
+ Bo as a4,
10978
+ $c as a5,
10979
+ Dc as a6,
10980
+ qt as a7,
10981
+ zc as a8,
10982
+ Gc as a9,
10983
+ ia as aA,
10984
+ Wl as aB,
10985
+ td as aC,
10986
+ an as aD,
10987
+ nn as aE,
10988
+ rn as aF,
10989
+ _i as aG,
10990
+ bi as aH,
10991
+ vi as aI,
10992
+ Ni as aJ,
10993
+ hi as aK,
10994
+ wi as aL,
10995
+ Hi as aM,
10996
+ Ti as aN,
10997
+ Ii as aO,
10998
+ yi as aP,
10999
+ rd as aQ,
11000
+ Co as aR,
11001
+ Sd as aS,
11002
+ jt as aT,
11003
+ nd as aU,
11004
+ ad as aV,
11005
+ fd as aW,
11006
+ Br as aX,
11007
+ M as aY,
11008
+ nt as aZ,
11009
+ Bc as a_,
11010
+ Kc as aa,
11011
+ Ee as ab,
11012
+ sn as ac,
11013
+ Qc as ad,
11014
+ Zc as ae,
11015
+ Cd as af,
11016
+ od as ag,
11017
+ Rd as ah,
11018
+ Ns as ai,
11019
+ sd as aj,
11020
+ id as ak,
11021
+ jr as al,
11022
+ kd as am,
11023
+ Vr as an,
11024
+ On as ao,
11025
+ Nl as ap,
11026
+ Ad as aq,
11027
+ Yo as ar,
11006
11028
  Qt as as,
11007
11029
  is as at,
11008
- zc as au,
11009
- Fc as av,
11010
- jc as aw,
11011
- Wc as ax,
11012
- _r as ay,
11013
- Uc as az,
11030
+ ld as au,
11031
+ se as av,
11032
+ cd as aw,
11033
+ Vl as ax,
11034
+ qi as ay,
11035
+ Gi as az,
11014
11036
  Oe as b,
11015
- yi as b0,
11016
- vi as b1,
11017
- nt as b2,
11018
- _i as b3,
11019
- wi as b4,
11020
- Ni as b5,
11021
- Ti as b6,
11022
- Ii as b7,
11023
- Pi as b8,
11024
- Hr as b9,
11025
- Xo as bA,
11026
- Zo as bB,
11027
- Et as bC,
11028
- Yo as bD,
11029
- Bo as bE,
11030
- Dc as bF,
11031
- cs as bG,
11032
- $t as bH,
11033
- ds as bI,
11034
- Nn as bJ,
11035
- us as bK,
11036
- ms as bL,
11037
- fs as bM,
11038
- ps as bN,
11039
- So as bO,
11040
- ee as bP,
11041
- xc as bQ,
11042
- _c as bR,
11043
- wc as bS,
11044
- Nc as bT,
11045
- Cc as bU,
11046
- kc as bV,
11047
- Eo as bW,
11048
- Sc as bX,
11049
- Ec as bY,
11050
- ad as ba,
11051
- Ns as bb,
11052
- od as bc,
11053
- sd as bd,
11054
- id as be,
11055
- ld as bf,
11056
- nn as bg,
11057
- rn as bh,
11058
- an as bi,
11059
- ea as bj,
11060
- md as bk,
11061
- fd as bl,
11062
- pd as bm,
11063
- gd as bn,
11064
- hd as bo,
11065
- aa as bp,
11066
- bd as bq,
11067
- xl as br,
11068
- yd as bs,
11069
- Ld as bt,
11070
- Vl as bu,
11071
- Id as bv,
11072
- Ad as bw,
11073
- Pd as bx,
11074
- Bt as by,
11075
- Ao as bz,
11037
+ Pd as b0,
11038
+ bd as b1,
11039
+ gd as b2,
11040
+ pd as b3,
11041
+ hd as b4,
11042
+ Js as b5,
11043
+ Mr as b6,
11044
+ ei as b7,
11045
+ Rr as b8,
11046
+ Qs as b9,
11047
+ Td as bA,
11048
+ Nc as bB,
11049
+ Do as bC,
11050
+ zo as bD,
11051
+ wc as bE,
11052
+ Eo as bF,
11053
+ Sc as bG,
11054
+ ee as bH,
11055
+ us as bI,
11056
+ kc as bJ,
11057
+ mr as bK,
11058
+ $o as bL,
11059
+ Jt as bM,
11060
+ Ht as bN,
11061
+ ke as bO,
11062
+ So as bP,
11063
+ _c as bQ,
11064
+ md as bR,
11065
+ Nn as bS,
11066
+ Et as bT,
11067
+ ps as bU,
11068
+ Pc as bV,
11069
+ Oc as bW,
11070
+ Vs as bX,
11071
+ Ge as bY,
11072
+ fs as bZ,
11073
+ Rc as b_,
11074
+ yd as ba,
11075
+ vd as bb,
11076
+ Mc as bc,
11077
+ Bt as bd,
11078
+ vc as be,
11079
+ Ao as bf,
11080
+ Lc as bg,
11081
+ xt as bh,
11082
+ cs as bi,
11083
+ Tc as bj,
11084
+ xc as bk,
11085
+ yc as bl,
11086
+ Wo as bm,
11087
+ Fo as bn,
11088
+ ms as bo,
11089
+ ud as bp,
11090
+ Zi as bq,
11091
+ Ic as br,
11092
+ $t as bs,
11093
+ Ac as bt,
11094
+ Ko as bu,
11095
+ dd as bv,
11096
+ Ec as bw,
11097
+ Cc as bx,
11098
+ Ld as by,
11099
+ ds as bz,
11076
11100
  Lt as c,
11077
11101
  $r as d,
11078
11102
  mi as e,
11079
11103
  yt as f,
11080
11104
  ol as g,
11081
- bc as h,
11082
- yc as i,
11083
- vc as j,
11084
- te as k,
11085
- Mc as l,
11086
- _l as m,
11087
- vd as n,
11088
- wl as o,
11105
+ la as h,
11106
+ Id as i,
11107
+ Uc as j,
11108
+ jc as k,
11109
+ Fc as l,
11110
+ Wc as m,
11111
+ Xo as n,
11112
+ Ed as o,
11089
11113
  ct as p,
11090
- xd as q,
11091
- dt as r,
11114
+ wd as q,
11115
+ ut as r,
11092
11116
  _d as s,
11093
- ut as t,
11117
+ dt as t,
11094
11118
  re as u,
11095
- jr as v,
11096
- Nl as w,
11097
- M as x,
11098
- Qs as y,
11099
- Mr as z
11119
+ Zr as v,
11120
+ Qr as w,
11121
+ _r as x,
11122
+ Pr as y,
11123
+ Hr as z
11100
11124
  };