@flamingo-stack/openframe-frontend-core 0.0.721 → 0.0.722

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 (134) hide show
  1. package/dist/assets/index.cjs +0 -6
  2. package/dist/assets/index.d.ts +0 -1
  3. package/dist/assets/index.d.ts.map +1 -1
  4. package/dist/assets/index.js +1 -5
  5. package/dist/{chunk-KFOAV77K.js → chunk-5D2K7TFT.js} +1 -1
  6. package/dist/{chunk-NMPVK53I.cjs → chunk-5K6YKRP5.cjs} +23 -23
  7. package/dist/{chunk-S63QBBT7.js → chunk-65C4WHG4.js} +5 -5
  8. package/dist/{chunk-XE2K53GH.cjs → chunk-6HRQLM6T.cjs} +17 -17
  9. package/dist/{chunk-NPSJE7J3.js → chunk-7UZ2JZJY.js} +2 -2
  10. package/dist/{chunk-7Z5FMQYR.cjs → chunk-ABSWD4PQ.cjs} +14 -14
  11. package/dist/{chunk-RCI3PALX.js → chunk-AWWLEYAU.js} +6 -6
  12. package/dist/{chunk-NJ5TBTJG.js → chunk-BCU6UUNQ.js} +5 -5
  13. package/dist/{chunk-3LY7V3RF.js → chunk-BUDZWXRG.js} +2 -2
  14. package/dist/{chunk-UZTOI6FJ.cjs → chunk-DWSBTGKT.cjs} +590 -598
  15. package/dist/{chunk-QQCFPMAA.js → chunk-DX3W7DPC.js} +1 -1
  16. package/dist/{chunk-HXB7SEYG.js → chunk-E7NIZXDT.js} +7 -16
  17. package/dist/{chunk-74N742ZG.js → chunk-ETQVXIYW.js} +4 -4
  18. package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
  19. package/dist/{chunk-LAXKEBDD.js → chunk-F33RMJOL.js} +7 -7
  20. package/dist/{chunk-QLTXT562.cjs → chunk-FDWYBJYD.cjs} +6 -6
  21. package/dist/{chunk-6AJIOW3S.cjs → chunk-GAFK3WNT.cjs} +37 -37
  22. package/dist/{chunk-3R32ZNA2.cjs → chunk-GYSTZD6X.cjs} +35 -35
  23. package/dist/{chunk-57UTI7ZH.js → chunk-HA2ASGJM.js} +4 -4
  24. package/dist/{chunk-OKE5BIQH.cjs → chunk-HP4UUBJC.cjs} +8 -8
  25. package/dist/{chunk-CO3FOZIH.js → chunk-I3UUMRO7.js} +1 -1
  26. package/dist/{chunk-ZLUFEWZZ.js → chunk-IF72N4PE.js} +6 -6
  27. package/dist/{chunk-GCK75D7F.cjs → chunk-IITZ6JSC.cjs} +28 -28
  28. package/dist/{chunk-QYS4YVEP.cjs → chunk-JQ55FFIK.cjs} +31 -31
  29. package/dist/{chunk-2P2M27EW.js → chunk-KBPGSPXQ.js} +13 -21
  30. package/dist/{chunk-JDBZ4ZHU.js → chunk-KS3YLYVL.js} +2 -2
  31. package/dist/{chunk-RJMWJAJO.cjs → chunk-KWBH63GV.cjs} +19 -19
  32. package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
  33. package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
  34. package/dist/{chunk-XXO52RZR.cjs → chunk-MJ4SXOG2.cjs} +18 -18
  35. package/dist/{chunk-BYVVE7HP.cjs → chunk-NFABAOMD.cjs} +34 -36
  36. package/dist/{chunk-UXU7Y5BH.js → chunk-NMGWNUKB.js} +3 -3
  37. package/dist/{chunk-HJMSNOBT.cjs → chunk-P7Y626YJ.cjs} +258 -267
  38. package/dist/{chunk-RQZQHLNS.cjs → chunk-RVQV6J5K.cjs} +66 -66
  39. package/dist/{chunk-E6SMMMKV.js → chunk-SZ3CBFSH.js} +9 -9
  40. package/dist/{chunk-LGKMR7NZ.js → chunk-SZF7ENIW.js} +3 -3
  41. package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
  42. package/dist/{chunk-GYAXV3MZ.js → chunk-UYMTAFHG.js} +4 -6
  43. package/dist/{chunk-F7ORKKEF.cjs → chunk-VC7COEWF.cjs} +83 -83
  44. package/dist/{chunk-44Q6MV7C.js → chunk-VSYQJCNR.js} +1 -1
  45. package/dist/{chunk-O5EHOJZD.cjs → chunk-VU7RU3LL.cjs} +7 -7
  46. package/dist/{chunk-D2DH6VZL.cjs → chunk-VV5INIQB.cjs} +3 -3
  47. package/dist/{chunk-I2254QN6.cjs → chunk-VYHCN5NU.cjs} +3 -3
  48. package/dist/{chunk-ZZEKXGFS.js → chunk-WY4SLTMZ.js} +2 -2
  49. package/dist/{chunk-LODMNSQY.cjs → chunk-XJYAUIOL.cjs} +11 -11
  50. package/dist/{chunk-GGBYZKMS.cjs → chunk-XR7NVJXS.cjs} +5 -5
  51. package/dist/{chunk-VFICDEYJ.cjs → chunk-ZHC6MDGF.cjs} +41 -41
  52. package/dist/{chunk-5QXE5HMV.js → chunk-ZMHP4Y6M.js} +3 -3
  53. package/dist/{cloud-tenants-Q4TCJS5Y.js → cloud-tenants-4Z36KWSX.js} +9 -9
  54. package/dist/{cloud-tenants-HZHKRUIW.cjs → cloud-tenants-5NIC5VXK.cjs} +10 -10
  55. package/dist/components/case-studies/index.cjs +23 -23
  56. package/dist/components/case-studies/index.js +10 -10
  57. package/dist/components/chat/index.cjs +7 -7
  58. package/dist/components/chat/index.js +6 -6
  59. package/dist/components/contact/index.cjs +11 -11
  60. package/dist/components/contact/index.js +10 -10
  61. package/dist/components/docs/index.cjs +14 -14
  62. package/dist/components/docs/index.js +13 -13
  63. package/dist/components/embeds/index.cjs +11 -11
  64. package/dist/components/embeds/index.js +10 -10
  65. package/dist/components/faq/index.cjs +11 -11
  66. package/dist/components/faq/index.js +10 -10
  67. package/dist/components/features/index.cjs +10 -10
  68. package/dist/components/features/index.js +9 -9
  69. package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
  70. package/dist/components/help-center-pages/download-apps-page.d.ts +19 -6
  71. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
  72. package/dist/components/help-center-pages/index.cjs +145 -130
  73. package/dist/components/help-center-pages/index.d.ts +1 -1
  74. package/dist/components/help-center-pages/index.d.ts.map +1 -1
  75. package/dist/components/help-center-pages/index.js +59 -44
  76. package/dist/components/index.cjs +64 -64
  77. package/dist/components/index.js +21 -21
  78. package/dist/components/meeting-scheduler/index.cjs +47 -47
  79. package/dist/components/meeting-scheduler/index.js +9 -9
  80. package/dist/components/navigation/index.cjs +13 -13
  81. package/dist/components/navigation/index.js +12 -12
  82. package/dist/components/onboarding-guides/index.cjs +13 -13
  83. package/dist/components/onboarding-guides/index.js +12 -12
  84. package/dist/components/product-demo/index.cjs +8 -8
  85. package/dist/components/product-demo/index.js +8 -8
  86. package/dist/components/related-content/index.cjs +5 -5
  87. package/dist/components/related-content/index.js +4 -4
  88. package/dist/components/tickets/index.cjs +14 -14
  89. package/dist/components/tickets/index.js +13 -13
  90. package/dist/components/ui/index.cjs +10 -10
  91. package/dist/components/ui/index.js +9 -9
  92. package/dist/components/ui/mobile-app-qr.d.ts +13 -15
  93. package/dist/components/ui/mobile-app-qr.d.ts.map +1 -1
  94. package/dist/{devices-NOUGVTES.js → devices-2TK3LAKM.js} +9 -9
  95. package/dist/{devices-6XHUFIC6.cjs → devices-7IKT72DK.cjs} +11 -11
  96. package/dist/index.cjs +16 -24
  97. package/dist/index.js +15 -23
  98. package/dist/{knowledge-2YTUXQ2Z.js → knowledge-3GJ4MU3V.js} +9 -9
  99. package/dist/{knowledge-ANEKPMO2.cjs → knowledge-HYSEV35H.cjs} +11 -11
  100. package/dist/{logs-WVQIONUT.js → logs-TATVM62H.js} +9 -9
  101. package/dist/{logs-U3IB3HUM.cjs → logs-ZX3NADQC.cjs} +18 -18
  102. package/dist/{policies-UFRN2EQF.cjs → policies-J4FSDKPI.cjs} +14 -14
  103. package/dist/{policies-66EGDW2H.js → policies-MRRKLF4Q.js} +9 -9
  104. package/dist/{remote-session-6WEUJZDC.js → remote-session-WCLR47RN.js} +4 -4
  105. package/dist/{remote-session-A75X5NPC.cjs → remote-session-Z2YCUPHU.cjs} +6 -6
  106. package/dist/{software-update-2MHKL76D.cjs → software-update-CXUBWYD2.cjs} +14 -14
  107. package/dist/{software-update-3ZD3MXF3.js → software-update-KM46WUVQ.js} +9 -9
  108. package/dist/{tickets-board-IFWMIZ35.cjs → tickets-board-R5OQSEEC.cjs} +8 -8
  109. package/dist/{tickets-board-MYXG3V72.js → tickets-board-U3RF3AO4.js} +3 -3
  110. package/dist/types/downloads.d.ts +16 -0
  111. package/dist/types/downloads.d.ts.map +1 -1
  112. package/dist/utils/format.d.ts +11 -0
  113. package/dist/utils/format.d.ts.map +1 -1
  114. package/dist/utils/index.cjs +4 -9
  115. package/dist/utils/index.d.ts +1 -1
  116. package/dist/utils/index.d.ts.map +1 -1
  117. package/dist/utils/index.js +4 -7
  118. package/dist/utils/mobile-app.cjs +0 -9
  119. package/dist/utils/mobile-app.d.ts +8 -25
  120. package/dist/utils/mobile-app.d.ts.map +1 -1
  121. package/dist/utils/mobile-app.js +1 -7
  122. package/package.json +1 -1
  123. package/src/assets/index.ts +0 -1
  124. package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
  125. package/src/components/help-center-pages/download-apps-page.tsx +53 -29
  126. package/src/components/help-center-pages/index.ts +1 -1
  127. package/src/components/ui/mobile-app-qr.tsx +17 -22
  128. package/src/types/downloads.ts +17 -0
  129. package/src/utils/format.ts +15 -0
  130. package/src/utils/index.ts +1 -1
  131. package/src/utils/mobile-app.ts +8 -31
  132. package/dist/assets/mobile-app-qr.d.ts +0 -17
  133. package/dist/assets/mobile-app-qr.d.ts.map +0 -1
  134. package/src/assets/mobile-app-qr.ts +0 -19
@@ -2,27 +2,27 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkO5EHOJZDcjs = require('./chunk-O5EHOJZD.cjs');
5
+ var _chunkVU7RU3LLcjs = require('./chunk-VU7RU3LL.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkLODMNSQYcjs = require('./chunk-LODMNSQY.cjs');
9
+ var _chunkXJYAUIOLcjs = require('./chunk-XJYAUIOL.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
16
+ var _chunkDWSBTGKTcjs = require('./chunk-DWSBTGKT.cjs');
17
17
 
18
18
 
19
- var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
19
+ var _chunkNFABAOMDcjs = require('./chunk-NFABAOMD.cjs');
20
20
 
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
25
+ var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
26
26
 
27
27
 
28
28
 
@@ -34,7 +34,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
37
+ var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
38
38
 
39
39
 
40
40
  var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.cjs');
@@ -62,7 +62,7 @@ function OnboardingGuidesCatalogSkeleton() {
62
62
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-6 w-40 rounded bg-ods-border/70" }),
63
63
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-8 rounded-full bg-ods-text-secondary/20" })
64
64
  ] }),
65
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
65
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
66
66
  ] }, sectionIdx)) })
67
67
  ] });
68
68
  }
@@ -86,10 +86,10 @@ function OnboardingGuidesCatalogView({
86
86
  const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
87
87
  const activeSection = sectionValue || "all";
88
88
  const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
89
- const guidesRes = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0,
89
+ const guidesRes = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0,
90
90
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
91
91
  );
92
- const sectionsRes = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
92
+ const sectionsRes = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
93
93
  const guides = _react.useMemo.call(void 0, () => _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( [])), [initialGuides, _optionalChain([guidesRes, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.data])]);
94
94
  const sections = _react.useMemo.call(void 0,
95
95
  () => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
@@ -132,25 +132,25 @@ function OnboardingGuidesCatalogView({
132
132
  });
133
133
  };
134
134
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
135
- const docSearch = _chunkLODMNSQYcjs.useDocSearch.call(void 0, {
135
+ const docSearch = _chunkXJYAUIOLcjs.useDocSearch.call(void 0, {
136
136
  source,
137
137
  baseRoute: basePath,
138
138
  onNavigate: (path) => router.push(path),
139
139
  tableIds: ["onboarding-guides"]
140
140
  });
141
141
  const defaultRenderCard = (guide) => {
142
- const cta = _chunkHJMSNOBTcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
142
+ const cta = _chunkP7Y626YJcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
143
143
  type: "onboarding_guide",
144
144
  slug: guide.slug,
145
145
  basePath,
146
146
  platforms: guide.onboarding_guide_platforms
147
147
  });
148
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
148
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
149
149
  };
150
150
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
151
151
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
152
152
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
153
- _chunkLODMNSQYcjs.DocSearchBar,
153
+ _chunkXJYAUIOLcjs.DocSearchBar,
154
154
  {
155
155
  placeholder: "Search onboarding guides, releases, case studies\u2026",
156
156
  query: docSearch.query,
@@ -162,7 +162,7 @@ function OnboardingGuidesCatalogView({
162
162
  }
163
163
  ),
164
164
  sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
165
- _chunkUZTOI6FJcjs.FilterPillRow,
165
+ _chunkDWSBTGKTcjs.FilterPillRow,
166
166
  {
167
167
  label: "Section",
168
168
  selectedValue: activeSection,
@@ -172,7 +172,7 @@ function OnboardingGuidesCatalogView({
172
172
  )
173
173
  ] });
174
174
  if (selfFetch && guidesRes.error) {
175
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
175
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
176
176
  }
177
177
  if (selfFetch && guidesRes.data == null && isLoading) {
178
178
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
@@ -204,7 +204,7 @@ function OnboardingGuideDetailView({
204
204
  slug,
205
205
  guideEndpoint,
206
206
  related = [],
207
- MarkdownRenderer = _chunkUZTOI6FJcjs.RichMarkdownRenderer,
207
+ MarkdownRenderer = _chunkDWSBTGKTcjs.RichMarkdownRenderer,
208
208
  renderRelatedCard,
209
209
  backHref,
210
210
  backLabel = "Back to Getting Started",
@@ -214,23 +214,23 @@ function OnboardingGuideDetailView({
214
214
  }) {
215
215
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
216
216
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
217
- const captions = _chunkHJMSNOBTcjs.useCaptions.call(void 0, );
217
+ const captions = _chunkP7Y626YJcjs.useCaptions.call(void 0, );
218
218
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
219
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
219
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
220
220
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
221
- const { data: guide, isLoading, error, reload } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, url, { initialData });
222
- const { ref: videoWarmupRef } = _chunkGCK75D7Fcjs.useVideoWarmup.call(void 0, {
221
+ const { data: guide, isLoading, error, reload } = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0, url, { initialData });
222
+ const { ref: videoWarmupRef } = _chunkIITZ6JSCcjs.useVideoWarmup.call(void 0, {
223
223
  videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
224
224
  supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
225
225
  });
226
226
  if (error || !guide && !isLoading) {
227
- return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
227
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
228
228
  }
229
229
  if (!guide) {
230
230
  return renderShell(
231
231
  // Match the loaded page's top offset (TitleBlock's
232
232
  // `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
233
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkO5EHOJZDcjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
233
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVU7RU3LLcjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
234
234
  );
235
235
  }
236
236
  const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
@@ -238,27 +238,27 @@ function OnboardingGuideDetailView({
238
238
  // worst), so it's the terminal fallback — no trailing `|| undefined` needed.
239
239
  _chunk7GRPR7XAcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
240
240
  const defaultRenderRelatedCard = (g) => {
241
- const cta = _chunkHJMSNOBTcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
241
+ const cta = _chunkP7Y626YJcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
242
242
  type: "onboarding_guide",
243
243
  slug: g.slug,
244
244
  basePath,
245
245
  platforms: g.onboarding_guide_platforms
246
246
  });
247
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
247
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
248
248
  };
249
249
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
250
250
  return renderShell(
251
251
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
252
- _chunkBYVVE7HPcjs.PageLayout,
252
+ _chunkNFABAOMDcjs.PageLayout,
253
253
  {
254
254
  title: guide.title,
255
255
  titleSize: "h1",
256
256
  titleWrap: true,
257
257
  backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
258
258
  children: [
259
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
259
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
260
260
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
261
- _chunkGCK75D7Fcjs.EntityAuthorCard,
261
+ _chunkIITZ6JSCcjs.EntityAuthorCard,
262
262
  {
263
263
  author: guide.author,
264
264
  authorHref,
@@ -273,7 +273,7 @@ function OnboardingGuideDetailView({
273
273
  }
274
274
  ),
275
275
  (guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
276
- _chunkHJMSNOBTcjs.EntityVideoSection,
276
+ _chunkP7Y626YJcjs.EntityVideoSection,
277
277
  {
278
278
  mainVideoUrl: guide.main_video_url,
279
279
  youtubeUrl: guide.youtube_url || void 0,
@@ -291,17 +291,17 @@ function OnboardingGuideDetailView({
291
291
  ) }),
292
292
  guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
293
293
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
294
- _chunkHJMSNOBTcjs.VideoBitesStrip,
294
+ _chunkP7Y626YJcjs.VideoBitesStrip,
295
295
  {
296
296
  bites: _nullishCoalesce(guide.video_bites, () => ( [])),
297
297
  filterPublished: true,
298
298
  showTitle: false,
299
- profile: _chunkGCK75D7Fcjs.toStripProfile.call(void 0, guide.author),
299
+ profile: _chunkIITZ6JSCcjs.toStripProfile.call(void 0, guide.author),
300
300
  href: `/onboarding-guides/${guide.slug}`
301
301
  }
302
302
  ),
303
303
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
304
- _chunkO5EHOJZDcjs.ArticleAuthorByline,
304
+ _chunkVU7RU3LLcjs.ArticleAuthorByline,
305
305
  {
306
306
  author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
307
307
  avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
@@ -5,7 +5,7 @@ import {
5
5
  autoScrollAncestors,
6
6
  autoScrollBothWays,
7
7
  holdMoveDragEffect
8
- } from "./chunk-JDBZ4ZHU.js";
8
+ } from "./chunk-KS3YLYVL.js";
9
9
  import {
10
10
  dynamic
11
11
  } from "./chunk-4JPLYOS6.js";
@@ -24,7 +24,7 @@ import {
24
24
  SelectTrigger,
25
25
  SelectValue,
26
26
  TruncateText
27
- } from "./chunk-GYAXV3MZ.js";
27
+ } from "./chunk-UYMTAFHG.js";
28
28
  import {
29
29
  dotColorByVariant,
30
30
  progressColorByVariant,
@@ -65,7 +65,6 @@ import {
65
65
  HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
66
66
  InfoHint,
67
67
  InteractiveSkeleton,
68
- MOBILE_APP_INSTALL_URL,
69
68
  MarkdownEngine,
70
69
  MarqueeWall,
71
70
  MediaSkeleton,
@@ -115,7 +114,7 @@ import {
115
114
  useResizablePanelSize,
116
115
  useScrollFade,
117
116
  validatePhoneNumber
118
- } from "./chunk-HXB7SEYG.js";
117
+ } from "./chunk-E7NIZXDT.js";
119
118
  import {
120
119
  ApprovalBatchMessage,
121
120
  ApprovalStatusTag,
@@ -132,7 +131,7 @@ import {
132
131
  rgbToHex,
133
132
  rgbToHsl,
134
133
  useCollapsible
135
- } from "./chunk-KFOAV77K.js";
134
+ } from "./chunk-5D2K7TFT.js";
136
135
  import {
137
136
  APPROVAL_STATUS,
138
137
  ChatTypingIndicator,
@@ -144,7 +143,7 @@ import {
144
143
  ModalTwoColumn,
145
144
  formatDate as formatDate2,
146
145
  formatTime
147
- } from "./chunk-ZZEKXGFS.js";
146
+ } from "./chunk-WY4SLTMZ.js";
148
147
  import {
149
148
  ActionsMenuDropdown,
150
149
  Tooltip,
@@ -187,10 +186,10 @@ import {
187
186
  fileMediaType,
188
187
  isVideoMedia,
189
188
  mediaNameKey
190
- } from "./chunk-NPSJE7J3.js";
189
+ } from "./chunk-7UZ2JZJY.js";
191
190
  import {
192
191
  AvatarStack
193
- } from "./chunk-742BGXNX.js";
192
+ } from "./chunk-EWED6ISQ.js";
194
193
  import {
195
194
  FloatingTooltip,
196
195
  SquareAvatar,
@@ -201,7 +200,7 @@ import {
201
200
  formatDateWithTimezone,
202
201
  formatLargeNumber,
203
202
  personFirstName
204
- } from "./chunk-IYVFSLWJ.js";
203
+ } from "./chunk-KZQO5EJQ.js";
205
204
  import {
206
205
  next_image_default
207
206
  } from "./chunk-FBZMAPWO.js";
@@ -8071,23 +8070,18 @@ function StoreBadgeLinks({ appStoreUrl, googlePlayUrl, openInNewTab: openInNewTa
8071
8070
  ] });
8072
8071
  }
8073
8072
 
8074
- // src/assets/mobile-app-qr.ts
8075
- var MOBILE_APP_QR_VIEWBOX_SIZE = 37;
8076
- var MOBILE_APP_QR_PATH = "M4 4.5h7m2 0h2m2 0h1m2 0h1m2 0h2m1 0h7M4 5.5h1m5 0h1m2 0h2m2 0h3m6 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m1 0h3m1 0h1m1 0h3m2 0h1m2 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m1 0h1m1 0h1m1 0h6m2 0h1m1 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h3m1 0h1m1 0h1m1 0h5m1 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m1 0h2m1 0h1m1 0h3m4 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h7M12 11.5h1m2 0h2m5 0h3M4 12.5h1m1 0h5m3 0h1m1 0h8m2 0h5M4 13.5h4m4 0h2m2 0h1m3 0h4m1 0h4m3 0h1M6 14.5h1m3 0h3m1 0h1m3 0h4m2 0h1M4 15.5h1m2 0h3m2 0h2m1 0h2m1 0h1m1 0h1m2 0h5m1 0h1m1 0h1M4 16.5h1m4 0h2m1 0h2m1 0h1m1 0h1m2 0h2m1 0h1m5 0h2M16 17.5h3m3 0h5m1 0h1m3 0h1M5 18.5h1m3 0h2m1 0h1m5 0h2m4 0h1m1 0h2m1 0h2M4 19.5h6m1 0h1m3 0h1m2 0h3m1 0h4m1 0h2m2 0h1M8 20.5h1m1 0h1m2 0h2m1 0h2m1 0h1m1 0h1m5 0h1m1 0h2M4 21.5h1m1 0h2m7 0h1m2 0h1m1 0h9m1 0h1m1 0h1M4 22.5h1m3 0h3m2 0h1m1 0h2m2 0h3m3 0h1m1 0h1m2 0h1M4 23.5h1m6 0h4m3 0h2m3 0h2m2 0h2m2 0h1M4 24.5h1m2 0h4m4 0h1m3 0h1m1 0h1m1 0h6m1 0h3M12 25.5h6m2 0h1m3 0h1m3 0h5M4 26.5h7m3 0h8m1 0h2m1 0h1m1 0h3M4 27.5h1m5 0h1m1 0h2m1 0h3m2 0h1m2 0h2m3 0h1M4 28.5h1m1 0h3m1 0h1m1 0h2m2 0h1m1 0h1m2 0h1m2 0h5m1 0h3M4 29.5h1m1 0h3m1 0h1m1 0h2m1 0h2m3 0h4m3 0h1m1 0h4M4 30.5h1m1 0h3m1 0h1m1 0h1m3 0h4m1 0h1m2 0h8M4 31.5h1m5 0h1m4 0h1m1 0h1m1 0h2m1 0h1m1 0h1m1 0h2m1 0h1m1 0h1M4 32.5h7m1 0h1m2 0h2m4 0h1m1 0h1m3 0h4";
8077
-
8078
8073
  // src/components/ui/mobile-app-qr.tsx
8079
8074
  import { jsx as jsx68 } from "react/jsx-runtime";
8080
- function MobileAppQr({ className }) {
8075
+ function MobileAppQr({ install, className }) {
8081
8076
  return /* @__PURE__ */ jsx68(
8082
8077
  "svg",
8083
8078
  {
8084
- viewBox: `0 0 ${MOBILE_APP_QR_VIEWBOX_SIZE} ${MOBILE_APP_QR_VIEWBOX_SIZE}`,
8085
- fill: "none",
8079
+ viewBox: `0 0 ${install.qrViewBoxSize} ${install.qrViewBoxSize}`,
8086
8080
  shapeRendering: "crispEdges",
8087
8081
  role: "img",
8088
- "aria-label": `QR code for ${MOBILE_APP_INSTALL_URL}`,
8089
- className: cn("h-[120px] w-[120px] text-ods-bg", className),
8090
- children: /* @__PURE__ */ jsx68("path", { stroke: "currentColor", d: MOBILE_APP_QR_PATH })
8082
+ "aria-label": `QR code for ${install.url}`,
8083
+ className: cn("h-[120px] w-[120px] text-ods-accent", className),
8084
+ children: /* @__PURE__ */ jsx68("path", { fill: "currentColor", d: install.qrPath })
8091
8085
  }
8092
8086
  );
8093
8087
  }
@@ -31241,8 +31235,6 @@ export {
31241
31235
  AppStoreBadge,
31242
31236
  GooglePlayBadge,
31243
31237
  StoreBadgeLinks,
31244
- MOBILE_APP_QR_VIEWBOX_SIZE,
31245
- MOBILE_APP_QR_PATH,
31246
31238
  MobileAppQr,
31247
31239
  StatusIndicator,
31248
31240
  ErrorState,
@@ -12,7 +12,7 @@ import {
12
12
  getReadableTextColor,
13
13
  resolveTicketStatus,
14
14
  useCollapsible
15
- } from "./chunk-KFOAV77K.js";
15
+ } from "./chunk-5D2K7TFT.js";
16
16
  import {
17
17
  Tooltip,
18
18
  TooltipContent,
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  SquareAvatar,
27
27
  Tag
28
- } from "./chunk-IYVFSLWJ.js";
28
+ } from "./chunk-KZQO5EJQ.js";
29
29
  import {
30
30
  useIsomorphicLayoutEffect,
31
31
  useMediaQuery
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
4
+ var _chunkDWSBTGKTcjs = require('./chunk-DWSBTGKT.cjs');
5
5
 
6
6
 
7
- var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
7
+ var _chunkNFABAOMDcjs = require('./chunk-NFABAOMD.cjs');
8
8
 
9
9
 
10
10
  var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
@@ -18,7 +18,7 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
21
+ var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
22
22
 
23
23
 
24
24
 
@@ -38,7 +38,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
41
+ var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
42
42
 
43
43
 
44
44
  var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
@@ -70,7 +70,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
70
70
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
71
71
  "div",
72
72
  {
73
- id: _chunkHJMSNOBTcjs.faqItemAnchor.call(void 0, item.id),
73
+ id: _chunkP7Y626YJcjs.faqItemAnchor.call(void 0, item.id),
74
74
  className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
75
75
  children: [
76
76
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -128,29 +128,29 @@ var DEFAULT_ASK_CARD = {
128
128
  var PICK_ROOT_MARGIN = "600px";
129
129
  var fillAssistant = (text, name) => text.split("{assistant}").join(name);
130
130
  function faqAskCardShown(assistant) {
131
- return _chunkHJMSNOBTcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
131
+ return _chunkP7Y626YJcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
132
132
  }
133
133
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
134
134
  const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
135
135
  const { ref, inView } = _chunkK2JUJ37Dcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
136
136
  const [reached, setReached] = _react.useState.call(void 0, false);
137
137
  if (inView && !reached) setReached(true);
138
- const shownElsewhere = _chunkHJMSNOBTcjs.useShownAskPromptIds.call(void 0, );
138
+ const shownElsewhere = _chunkP7Y626YJcjs.useShownAskPromptIds.call(void 0, );
139
139
  const excluded = exclude === void 0 ? shownElsewhere : exclude;
140
- const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( _optionalChain([assistant, 'optionalAccess', _2 => _2.askCard, 'optionalAccess', _3 => _3.count]))), () => ( _chunkHJMSNOBTcjs.ASK_PROMPTS_DEFAULT_COUNT));
141
- const { prompts, isLoading, supported } = _chunkHJMSNOBTcjs.useAskPrompts.call(void 0, {
140
+ const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( _optionalChain([assistant, 'optionalAccess', _2 => _2.askCard, 'optionalAccess', _3 => _3.count]))), () => ( _chunkP7Y626YJcjs.ASK_PROMPTS_DEFAULT_COUNT));
141
+ const { prompts, isLoading, supported } = _chunkP7Y626YJcjs.useAskPrompts.call(void 0, {
142
142
  topic,
143
143
  count: slots,
144
144
  exclude: _nullishCoalesce(excluded, () => ( void 0)),
145
145
  enabled: reached && excluded !== null
146
146
  });
147
- const open = _chunkHJMSNOBTcjs.useAssistantOpen.call(void 0, topic, onOpen);
147
+ const open = _chunkP7Y626YJcjs.useAssistantOpen.call(void 0, topic, onOpen);
148
148
  const scoped = _react.useMemo.call(void 0, () => assistant ? { ...assistant, open } : null, [assistant, open]);
149
149
  if (!faqAskCardShown(assistant) || !assistant.name) return null;
150
150
  const name = assistant.name;
151
151
  const cardDescription = _nullishCoalesce(_nullishCoalesce(description, () => ( _optionalChain([assistant, 'access', _4 => _4.askCard, 'optionalAccess', _5 => _5.description]))), () => ( DEFAULT_ASK_CARD.description));
152
152
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEWPR7662cjs.AssistantRuntimeContext.Provider, { value: scoped, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
153
- _chunkHJMSNOBTcjs.AskCard,
153
+ _chunkP7Y626YJcjs.AskCard,
154
154
  {
155
155
  title: fillAssistant(_nullishCoalesce(_nullishCoalesce(title, () => ( _optionalChain([assistant, 'access', _6 => _6.askCard, 'optionalAccess', _7 => _7.title]))), () => ( DEFAULT_ASK_CARD.title)), name),
156
156
  description: cardDescription ? fillAssistant(cardDescription, name) : void 0,
@@ -196,7 +196,7 @@ function buildFaqJsonLdFromFaqs(faqs, opts = {}) {
196
196
 
197
197
  var DEFAULT_HEADING_TEXT = "Frequently Asked Questions";
198
198
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "") {
199
- return _chunkGCK75D7Fcjs.buildSuggestionUrl.call(void 0, "/api/faqs", { apiBaseUrl, entityType, entityId, count: minResults });
199
+ return _chunkIITZ6JSCcjs.buildSuggestionUrl.call(void 0, "/api/faqs", { apiBaseUrl, entityType, entityId, count: minResults });
200
200
  }
201
201
  function groupFaqsBySection(faqs) {
202
202
  const byName = /* @__PURE__ */ new Map();
@@ -211,7 +211,7 @@ function groupFaqsBySection(faqs) {
211
211
  }
212
212
  let group = byName.get(name);
213
213
  if (!group) {
214
- group = { section: name, slug: _chunkHJMSNOBTcjs.faqSectionSlug.call(void 0, name), items: [] };
214
+ group = { section: name, slug: _chunkP7Y626YJcjs.faqSectionSlug.call(void 0, name), items: [] };
215
215
  byName.set(name, group);
216
216
  }
217
217
  group.items.push(item);
@@ -266,7 +266,7 @@ function GroupedFaqList({
266
266
  }, [slugKey]);
267
267
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
268
268
  _react.useEffect.call(void 0, () => {
269
- const refresh = () => setHashTarget(_chunkHJMSNOBTcjs.parseFaqHash.call(void 0, window.location.hash));
269
+ const refresh = () => setHashTarget(_chunkP7Y626YJcjs.parseFaqHash.call(void 0, window.location.hash));
270
270
  refresh();
271
271
  window.addEventListener("hashchange", refresh);
272
272
  return () => window.removeEventListener("hashchange", refresh);
@@ -316,7 +316,7 @@ function GroupedFaqList({
316
316
  const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
317
317
  const key = groupKey(group);
318
318
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
319
- group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkGCK75D7Fcjs.SECTION_HEADING_CLASS, children: group.section }),
319
+ group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: group.section }),
320
320
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
321
321
  FaqAccordion,
322
322
  {
@@ -372,10 +372,10 @@ function FaqSection({
372
372
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
373
373
  [initialFaqs]
374
374
  );
375
- const { data, isLoading, error } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, url, { initialData });
375
+ const { data, isLoading, error } = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0, url, { initialData });
376
376
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([data, 'optionalAccess', _23 => _23.faqs]), () => ( [])), [_optionalChain([data, 'optionalAccess', _24 => _24.faqs])]);
377
377
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
378
- const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkGCK75D7Fcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
378
+ const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
379
379
  if (error) return null;
380
380
  if (!isLoading && faqs.length === 0) return null;
381
381
  if (isLoading && faqs.length === 0) {
@@ -426,7 +426,7 @@ function FaqDocumentPage({
426
426
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _25 => _25.label]), () => ( "Back to home")),
427
427
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _26 => _26.href]), () => ( "/")))
428
428
  };
429
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
429
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
430
430
  FaqSection,
431
431
  {
432
432
  initialFaqs,
@@ -440,7 +440,7 @@ function FaqDocumentPage({
440
440
  ask
441
441
  }
442
442
  ) });
443
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
443
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
444
444
  }
445
445
 
446
446
 
@@ -768,6 +768,9 @@ function formatWebinarTimeMeta(at, opts) {
768
768
  const time = formatProgramTimeRange(at, { startAt: opts.startAt, withZoneLabel: opts.withZoneLabel });
769
769
  return [time, duration].filter(Boolean).join(" \xB7 ");
770
770
  }
771
+ function formatUrlForDisplay(url, options = {}) {
772
+ return url.replace(options.keepWww ? /^https?:\/\//i : /^https?:\/\/(www\.)?/i, "").replace(/[?#].*$/, "").replace(/\/$/, "");
773
+ }
771
774
 
772
775
  // src/components/ui/square-avatar.tsx
773
776
  import { memo, forwardRef } from "react";
@@ -927,5 +930,6 @@ export {
927
930
  formatBioText,
928
931
  formatProgramTimeRange,
929
932
  formatWebinarTimeMeta,
933
+ formatUrlForDisplay,
930
934
  SquareAvatar
931
935
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
4
+ var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
5
5
 
6
6
 
7
7
  var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
@@ -89,7 +89,7 @@ function AvatarStack({
89
89
  "aria-label": `${label}: ${names}${unnamed > 0 ? ` and ${unnamed} more` : ""}`,
90
90
  children: [
91
91
  visible.map((person, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
92
- _chunkF5BPGWGTcjs.SquareAvatar,
92
+ _chunkTKFTWM3Vcjs.SquareAvatar,
93
93
  {
94
94
  variant: "round",
95
95
  size,