@flamingo-stack/openframe-frontend-core 0.0.718 → 0.0.720

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 (175) hide show
  1. package/dist/{chunk-MIQLUUVF.cjs → chunk-2C72EWQR.cjs} +93 -29
  2. package/dist/{chunk-IWCPXJEE.js → chunk-3HZ6XSZC.js} +2 -4
  3. package/dist/{chunk-ZXCZYMN4.cjs → chunk-4SIZCHVZ.cjs} +13 -15
  4. package/dist/{chunk-BOTM373R.cjs → chunk-5XDCCQ4A.cjs} +15 -15
  5. package/dist/{chunk-DXCBOZVT.cjs → chunk-6BLN5WDS.cjs} +41 -41
  6. package/dist/{chunk-DCD5WZUF.js → chunk-6W46LVK4.js} +5 -5
  7. package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
  8. package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
  9. package/dist/{chunk-45F7PXUI.js → chunk-7HYEQKN6.js} +6 -6
  10. package/dist/{chunk-N2PF5CFX.js → chunk-7IOU6BJE.js} +12 -11
  11. package/dist/{chunk-BWIN42ZA.cjs → chunk-7LPR4RZ3.cjs} +34 -36
  12. package/dist/chunk-AFTRPEXO.js +13 -0
  13. package/dist/{chunk-JPD4NXH6.js → chunk-AZRI4XBP.js} +1 -1
  14. package/dist/{chunk-4QFWGLZO.js → chunk-B2N4YX66.js} +1 -1
  15. package/dist/{chunk-QXZCLQNV.js → chunk-B5LNX4GZ.js} +2 -2
  16. package/dist/{chunk-GN4A7PMB.cjs → chunk-DHNJSQGX.cjs} +91 -91
  17. package/dist/{chunk-NDZ5ZXOQ.cjs → chunk-DOPOHO6H.cjs} +20 -20
  18. package/dist/{chunk-Z3CVSPO3.cjs → chunk-DYDDAA6O.cjs} +519 -518
  19. package/dist/{chunk-2RKFMUNW.cjs → chunk-EVMM3JE6.cjs} +64 -63
  20. package/dist/chunk-EWPR7662.cjs +13 -0
  21. package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
  22. package/dist/{chunk-TTVOLEUS.js → chunk-GANIUMRU.js} +89 -2
  23. package/dist/{chunk-S2FUFMLW.cjs → chunk-HFEYEPOG.cjs} +27 -27
  24. package/dist/{chunk-LE5WKGJV.cjs → chunk-HTS46FFY.cjs} +3 -3
  25. package/dist/{chunk-6A43ZDWV.cjs → chunk-IL3ZWNM2.cjs} +4 -4
  26. package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
  27. package/dist/{chunk-YC5COB5V.cjs → chunk-ISCZ6UNF.cjs} +85 -89
  28. package/dist/{chunk-XGHGGBM3.js → chunk-K2BYVPGR.js} +3 -3
  29. package/dist/{chunk-HWVUR735.cjs → chunk-KSGMZHVV.cjs} +2 -2
  30. package/dist/{chunk-SGFTTJKO.js → chunk-LO3KCLEF.js} +1 -1
  31. package/dist/{chunk-MA4Q5RBP.cjs → chunk-NYSMDM4J.cjs} +2 -2
  32. package/dist/{chunk-67QBMN4R.js → chunk-O3MKJU6A.js} +6 -6
  33. package/dist/{chunk-APJZBDQN.js → chunk-PSMJYZMV.js} +27 -26
  34. package/dist/{chunk-JH2SIWPQ.js → chunk-PXAKSPLZ.js} +1586 -1263
  35. package/dist/{chunk-TBCZCRQ5.js → chunk-Q5327DXK.js} +13 -17
  36. package/dist/{chunk-EZC2F5OT.cjs → chunk-QF464PPL.cjs} +39 -39
  37. package/dist/{chunk-UWQWMGJ7.cjs → chunk-RDP5UZXQ.cjs} +888 -565
  38. package/dist/{chunk-ETYLOZOB.cjs → chunk-RFUOIQSG.cjs} +100 -13
  39. package/dist/{chunk-DC4RTYWK.cjs → chunk-RZQGIWK3.cjs} +3 -3
  40. package/dist/{chunk-PQ6HBLZ7.js → chunk-TORERAXD.js} +105 -41
  41. package/dist/{chunk-6YPTUHM7.js → chunk-URW23QUM.js} +1 -1
  42. package/dist/{chunk-QBCDSTLE.cjs → chunk-UWJMDFDO.cjs} +18 -18
  43. package/dist/{chunk-YEMCCYIF.js → chunk-V6B2FBZK.js} +5 -5
  44. package/dist/{chunk-JIWMBIVZ.js → chunk-VBHGJFA3.js} +10 -10
  45. package/dist/{chunk-Z5UWW3Z2.cjs → chunk-VF2CJXZ2.cjs} +81 -65
  46. package/dist/{chunk-DEZDMTBM.js → chunk-VYVPII4W.js} +8 -10
  47. package/dist/{chunk-MM7MCIXL.js → chunk-VYZCKY5K.js} +9 -9
  48. package/dist/{chunk-E7YCPY7K.cjs → chunk-XSM46FHD.cjs} +3 -3
  49. package/dist/{chunk-NZ5BHDFZ.js → chunk-XW3Q623Q.js} +1 -1
  50. package/dist/{chunk-LOYPRJWA.js → chunk-YK3X74SF.js} +67 -51
  51. package/dist/{chunk-WALCXC7J.cjs → chunk-ZHD3F2TH.cjs} +3 -3
  52. package/dist/{chunk-KBJJQFYU.js → chunk-ZPHOQDAE.js} +1 -1
  53. package/dist/{cloud-tenants-TAKOWXLD.js → cloud-tenants-RKQRSDNE.js} +9 -9
  54. package/dist/{cloud-tenants-PFDF7O5U.cjs → cloud-tenants-UQZASXUB.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/ask-prompts.d.ts +10 -2
  58. package/dist/components/chat/ask-prompts.d.ts.map +1 -1
  59. package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
  60. package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
  61. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  62. package/dist/components/chat/hooks/index.d.ts +1 -0
  63. package/dist/components/chat/hooks/index.d.ts.map +1 -1
  64. package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
  65. package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
  66. package/dist/components/chat/index.cjs +23 -6
  67. package/dist/components/chat/index.d.ts +1 -0
  68. package/dist/components/chat/index.d.ts.map +1 -1
  69. package/dist/components/chat/index.js +22 -5
  70. package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
  71. package/dist/components/contact/index.cjs +11 -11
  72. package/dist/components/contact/index.js +10 -10
  73. package/dist/components/docs/index.cjs +14 -14
  74. package/dist/components/docs/index.js +13 -13
  75. package/dist/components/embeds/index.cjs +11 -11
  76. package/dist/components/embeds/index.js +10 -10
  77. package/dist/components/faq/faq-ask-card.d.ts +44 -0
  78. package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
  79. package/dist/components/faq/faq-document-page.d.ts +5 -1
  80. package/dist/components/faq/faq-document-page.d.ts.map +1 -1
  81. package/dist/components/faq/faq-section.d.ts +18 -5
  82. package/dist/components/faq/faq-section.d.ts.map +1 -1
  83. package/dist/components/faq/index.cjs +13 -12
  84. package/dist/components/faq/index.d.ts +1 -0
  85. package/dist/components/faq/index.d.ts.map +1 -1
  86. package/dist/components/faq/index.js +12 -11
  87. package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
  88. package/dist/components/features/index.cjs +10 -10
  89. package/dist/components/features/index.js +9 -9
  90. package/dist/components/features/remote-session/remote-desktop-view.d.ts +6 -2
  91. package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
  92. package/dist/components/help-center-pages/index.cjs +104 -105
  93. package/dist/components/help-center-pages/index.js +28 -29
  94. package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
  95. package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
  96. package/dist/components/index.cjs +109 -197
  97. package/dist/components/index.js +228 -316
  98. package/dist/components/meeting-scheduler/index.cjs +50 -51
  99. package/dist/components/meeting-scheduler/index.js +12 -13
  100. package/dist/components/navigation/index.cjs +13 -13
  101. package/dist/components/navigation/index.js +12 -12
  102. package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
  103. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
  104. package/dist/components/onboarding-guides/index.cjs +13 -14
  105. package/dist/components/onboarding-guides/index.js +12 -13
  106. package/dist/components/product-demo/index.cjs +7 -7
  107. package/dist/components/product-demo/index.js +7 -7
  108. package/dist/components/related-content/index.cjs +5 -7
  109. package/dist/components/related-content/index.js +4 -6
  110. package/dist/components/related-content/related-content-section.d.ts +6 -6
  111. package/dist/components/related-content/related-content-section.d.ts.map +1 -1
  112. package/dist/components/tickets/index.cjs +15 -15
  113. package/dist/components/tickets/index.js +14 -14
  114. package/dist/components/ui/index.cjs +26 -10
  115. package/dist/components/ui/index.js +25 -9
  116. package/dist/contexts/assistant-runtime-context.d.ts +74 -0
  117. package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
  118. package/dist/contexts/index.cjs +7 -1
  119. package/dist/contexts/index.d.ts +1 -0
  120. package/dist/contexts/index.d.ts.map +1 -1
  121. package/dist/contexts/index.js +6 -0
  122. package/dist/{devices-KRCGZMGA.cjs → devices-7Q2EUM7B.cjs} +11 -11
  123. package/dist/{devices-LHEX7O5T.js → devices-U3Y4IIW4.js} +9 -9
  124. package/dist/hooks/index.cjs +3 -4
  125. package/dist/hooks/index.js +2 -3
  126. package/dist/hooks/use-self-fetch.d.ts +3 -0
  127. package/dist/hooks/use-self-fetch.d.ts.map +1 -1
  128. package/dist/index.cjs +34 -14
  129. package/dist/index.js +33 -13
  130. package/dist/{knowledge-RZSFNR33.js → knowledge-NST53EXE.js} +9 -9
  131. package/dist/{knowledge-KLVPVEYZ.cjs → knowledge-UYIZ74MA.cjs} +11 -11
  132. package/dist/{logs-OX3XTVL2.cjs → logs-HTH7X7KV.cjs} +18 -18
  133. package/dist/{logs-E5DOV5JO.js → logs-JVTRG232.js} +9 -9
  134. package/dist/{policies-MC2S4S5G.js → policies-DTXTRK56.js} +9 -9
  135. package/dist/{policies-FOSCIZGK.cjs → policies-MXK2HB4W.cjs} +14 -14
  136. package/dist/{remote-session-JQ2BPIE3.js → remote-session-LAJZKQBN.js} +3 -3
  137. package/dist/{remote-session-DRFE5XZE.cjs → remote-session-SKKF4PBV.cjs} +5 -5
  138. package/dist/{software-update-D4OEIH65.js → software-update-6RHMPM3W.js} +9 -9
  139. package/dist/{software-update-HOBSTWVO.cjs → software-update-P6BSM6HX.cjs} +14 -14
  140. package/dist/utils/index.cjs +26 -2
  141. package/dist/utils/index.d.ts +1 -0
  142. package/dist/utils/index.d.ts.map +1 -1
  143. package/dist/utils/index.js +25 -3
  144. package/dist/utils/list-url.d.ts.map +1 -1
  145. package/dist/utils/source-icons.d.ts.map +1 -1
  146. package/dist/utils/trial.d.ts +18 -0
  147. package/dist/utils/trial.d.ts.map +1 -0
  148. package/package.json +1 -1
  149. package/src/components/chat/ask-prompts.tsx +25 -3
  150. package/src/components/chat/assistant-ask-prompts.tsx +78 -0
  151. package/src/components/chat/entity-cards/dispatch.tsx +38 -4
  152. package/src/components/chat/hooks/index.ts +12 -0
  153. package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
  154. package/src/components/chat/index.ts +1 -0
  155. package/src/components/chat/utils/icon-library.tsx +6 -0
  156. package/src/components/faq/faq-ask-card.tsx +115 -0
  157. package/src/components/faq/faq-document-page.tsx +6 -1
  158. package/src/components/faq/faq-section.tsx +27 -5
  159. package/src/components/faq/index.ts +1 -0
  160. package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
  161. package/src/components/features/remote-session/remote-desktop-view.tsx +86 -63
  162. package/src/components/help-center-pages/trust-center-page.tsx +5 -2
  163. package/src/components/navigation/mingo-ai-button.tsx +27 -6
  164. package/src/components/related-content/related-content-section.tsx +46 -47
  165. package/src/contexts/assistant-runtime-context.tsx +84 -0
  166. package/src/contexts/index.ts +9 -0
  167. package/src/hooks/use-self-fetch.ts +7 -0
  168. package/src/utils/index.ts +1 -0
  169. package/src/utils/list-url.ts +4 -0
  170. package/src/utils/source-icons.ts +10 -2
  171. package/src/utils/trial.ts +19 -0
  172. package/dist/chunk-AUMKE74M.cjs +0 -16
  173. package/dist/chunk-G3GRYDMS.js +0 -16
  174. package/dist/chunk-GEDY7HQI.cjs +0 -85
  175. package/dist/chunk-YBQQNDC7.js +0 -85
@@ -2,30 +2,27 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk6A43ZDWVcjs = require('./chunk-6A43ZDWV.cjs');
5
+ var _chunkIL3ZWNM2cjs = require('./chunk-IL3ZWNM2.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkBOTM373Rcjs = require('./chunk-BOTM373R.cjs');
9
+ var _chunk5XDCCQ4Acjs = require('./chunk-5XDCCQ4A.cjs');
10
10
 
11
11
 
12
- var _chunkGEDY7HQIcjs = require('./chunk-GEDY7HQI.cjs');
13
12
 
14
13
 
15
14
 
16
15
 
16
+ var _chunkDYDDAA6Ocjs = require('./chunk-DYDDAA6O.cjs');
17
17
 
18
18
 
19
- var _chunkZ3CVSPO3cjs = require('./chunk-Z3CVSPO3.cjs');
19
+ var _chunkVF2CJXZ2cjs = require('./chunk-VF2CJXZ2.cjs');
20
20
 
21
21
 
22
- var _chunkZ5UWW3Z2cjs = require('./chunk-Z5UWW3Z2.cjs');
23
22
 
24
23
 
25
24
 
26
-
27
-
28
- var _chunkUWQWMGJ7cjs = require('./chunk-UWQWMGJ7.cjs');
25
+ var _chunkRDP5UZXQcjs = require('./chunk-RDP5UZXQ.cjs');
29
26
 
30
27
 
31
28
 
@@ -36,10 +33,11 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
36
33
 
37
34
 
38
35
 
39
- var _chunkETYLOZOBcjs = require('./chunk-ETYLOZOB.cjs');
36
+
37
+ var _chunkRFUOIQSGcjs = require('./chunk-RFUOIQSG.cjs');
40
38
 
41
39
 
42
- var _chunkAECTRMGQcjs = require('./chunk-AECTRMGQ.cjs');
40
+ var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.cjs');
43
41
 
44
42
 
45
43
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -64,7 +62,7 @@ function OnboardingGuidesCatalogSkeleton() {
64
62
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-6 w-40 rounded bg-ods-border/70" }),
65
63
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-8 rounded-full bg-ods-text-secondary/20" })
66
64
  ] }),
67
- /* @__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, _chunkETYLOZOBcjs.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, _chunkRFUOIQSGcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
68
66
  ] }, sectionIdx)) })
69
67
  ] });
70
68
  }
@@ -88,10 +86,10 @@ function OnboardingGuidesCatalogView({
88
86
  const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
89
87
  const activeSection = sectionValue || "all";
90
88
  const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
91
- const guidesRes = _chunkGEDY7HQIcjs.useSelfFetch.call(void 0,
89
+ const guidesRes = _chunkRFUOIQSGcjs.useSelfFetch.call(void 0,
92
90
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
93
91
  );
94
- const sectionsRes = _chunkGEDY7HQIcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
92
+ const sectionsRes = _chunkRFUOIQSGcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
95
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])]);
96
94
  const sections = _react.useMemo.call(void 0,
97
95
  () => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
@@ -134,25 +132,25 @@ function OnboardingGuidesCatalogView({
134
132
  });
135
133
  };
136
134
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
137
- const docSearch = _chunkBOTM373Rcjs.useDocSearch.call(void 0, {
135
+ const docSearch = _chunk5XDCCQ4Acjs.useDocSearch.call(void 0, {
138
136
  source,
139
137
  baseRoute: basePath,
140
138
  onNavigate: (path) => router.push(path),
141
139
  tableIds: ["onboarding-guides"]
142
140
  });
143
141
  const defaultRenderCard = (guide) => {
144
- const cta = _chunkUWQWMGJ7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
142
+ const cta = _chunkRDP5UZXQcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
145
143
  type: "onboarding_guide",
146
144
  slug: guide.slug,
147
145
  basePath,
148
146
  platforms: guide.onboarding_guide_platforms
149
147
  });
150
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
148
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
151
149
  };
152
150
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
153
151
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
154
152
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
155
- _chunkBOTM373Rcjs.DocSearchBar,
153
+ _chunk5XDCCQ4Acjs.DocSearchBar,
156
154
  {
157
155
  placeholder: "Search onboarding guides, releases, case studies\u2026",
158
156
  query: docSearch.query,
@@ -164,7 +162,7 @@ function OnboardingGuidesCatalogView({
164
162
  }
165
163
  ),
166
164
  sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
167
- _chunkZ3CVSPO3cjs.FilterPillRow,
165
+ _chunkDYDDAA6Ocjs.FilterPillRow,
168
166
  {
169
167
  label: "Section",
170
168
  selectedValue: activeSection,
@@ -174,7 +172,7 @@ function OnboardingGuidesCatalogView({
174
172
  )
175
173
  ] });
176
174
  if (selfFetch && guidesRes.error) {
177
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ3CVSPO3cjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
175
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
178
176
  }
179
177
  if (selfFetch && guidesRes.data == null && isLoading) {
180
178
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
@@ -206,7 +204,7 @@ function OnboardingGuideDetailView({
206
204
  slug,
207
205
  guideEndpoint,
208
206
  related = [],
209
- MarkdownRenderer = _chunkZ3CVSPO3cjs.RichMarkdownRenderer,
207
+ MarkdownRenderer = _chunkDYDDAA6Ocjs.RichMarkdownRenderer,
210
208
  renderRelatedCard,
211
209
  backHref,
212
210
  backLabel = "Back to Getting Started",
@@ -216,51 +214,51 @@ function OnboardingGuideDetailView({
216
214
  }) {
217
215
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
218
216
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
219
- const captions = _chunkUWQWMGJ7cjs.useCaptions.call(void 0, );
217
+ const captions = _chunkRDP5UZXQcjs.useCaptions.call(void 0, );
220
218
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
221
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ3CVSPO3cjs.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, _chunkDYDDAA6Ocjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
222
220
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
223
- const { data: guide, isLoading, error, reload } = _chunkGEDY7HQIcjs.useSelfFetch.call(void 0, url, { initialData });
224
- const { ref: videoWarmupRef } = _chunkETYLOZOBcjs.useVideoWarmup.call(void 0, {
221
+ const { data: guide, isLoading, error, reload } = _chunkRFUOIQSGcjs.useSelfFetch.call(void 0, url, { initialData });
222
+ const { ref: videoWarmupRef } = _chunkRFUOIQSGcjs.useVideoWarmup.call(void 0, {
225
223
  videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
226
224
  supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
227
225
  });
228
226
  if (error || !guide && !isLoading) {
229
- return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ3CVSPO3cjs.LoadError, { message: "Guide not found.", onRetry: reload }));
227
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.LoadError, { message: "Guide not found.", onRetry: reload }));
230
228
  }
231
229
  if (!guide) {
232
230
  return renderShell(
233
231
  // Match the loaded page's top offset (TitleBlock's
234
232
  // `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
235
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6A43ZDWVcjs.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, _chunkIL3ZWNM2cjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
236
234
  );
237
235
  }
238
236
  const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
239
237
  const videoPoster = guide.main_video_thumbnail || guide.featured_image || guide.og_image_url || // `buildOgPlaceholderUrl` always returns a usable string (relative route at
240
238
  // worst), so it's the terminal fallback — no trailing `|| undefined` needed.
241
- _chunkAECTRMGQcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
239
+ _chunk7GRPR7XAcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
242
240
  const defaultRenderRelatedCard = (g) => {
243
- const cta = _chunkUWQWMGJ7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
241
+ const cta = _chunkRDP5UZXQcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
244
242
  type: "onboarding_guide",
245
243
  slug: g.slug,
246
244
  basePath,
247
245
  platforms: g.onboarding_guide_platforms
248
246
  });
249
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
247
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
250
248
  };
251
249
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
252
250
  return renderShell(
253
251
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
254
- _chunkZ5UWW3Z2cjs.PageLayout,
252
+ _chunkVF2CJXZ2cjs.PageLayout,
255
253
  {
256
254
  title: guide.title,
257
255
  titleSize: "h1",
258
256
  titleWrap: true,
259
257
  backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
260
258
  children: [
261
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ3CVSPO3cjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
259
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
262
260
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
263
- _chunkETYLOZOBcjs.EntityAuthorCard,
261
+ _chunkRFUOIQSGcjs.EntityAuthorCard,
264
262
  {
265
263
  author: guide.author,
266
264
  authorHref,
@@ -275,7 +273,7 @@ function OnboardingGuideDetailView({
275
273
  }
276
274
  ),
277
275
  (guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
278
- _chunkUWQWMGJ7cjs.EntityVideoSection,
276
+ _chunkRDP5UZXQcjs.EntityVideoSection,
279
277
  {
280
278
  mainVideoUrl: guide.main_video_url,
281
279
  youtubeUrl: guide.youtube_url || void 0,
@@ -293,17 +291,17 @@ function OnboardingGuideDetailView({
293
291
  ) }),
294
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 }) }),
295
293
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
296
- _chunkUWQWMGJ7cjs.VideoBitesStrip,
294
+ _chunkRDP5UZXQcjs.VideoBitesStrip,
297
295
  {
298
296
  bites: _nullishCoalesce(guide.video_bites, () => ( [])),
299
297
  filterPublished: true,
300
298
  showTitle: false,
301
- profile: _chunkETYLOZOBcjs.toStripProfile.call(void 0, guide.author),
299
+ profile: _chunkRFUOIQSGcjs.toStripProfile.call(void 0, guide.author),
302
300
  href: `/onboarding-guides/${guide.slug}`
303
301
  }
304
302
  ),
305
303
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
306
- _chunk6A43ZDWVcjs.ArticleAuthorByline,
304
+ _chunkIL3ZWNM2cjs.ArticleAuthorByline,
307
305
  {
308
306
  author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
309
307
  avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
@@ -0,0 +1,13 @@
1
+ "use client";
2
+
3
+ // src/contexts/assistant-runtime-context.tsx
4
+ import { createContext, useContext } from "react";
5
+ var AssistantRuntimeContext = createContext(null);
6
+ function useAssistantRuntime() {
7
+ return useContext(AssistantRuntimeContext);
8
+ }
9
+
10
+ export {
11
+ AssistantRuntimeContext,
12
+ useAssistantRuntime
13
+ };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  createSseSubscription,
4
4
  useChatIdentity
5
- } from "./chunk-JH2SIWPQ.js";
5
+ } from "./chunk-PXAKSPLZ.js";
6
6
  import {
7
7
  useChatRuntime
8
8
  } from "./chunk-E4ABZWTJ.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  UnifiedPagination
4
- } from "./chunk-6YPTUHM7.js";
4
+ } from "./chunk-URW23QUM.js";
5
5
  import {
6
6
  cn
7
7
  } from "./chunk-7RXWKTAP.js";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  PageLayout
4
- } from "./chunk-LOYPRJWA.js";
4
+ } from "./chunk-YK3X74SF.js";
5
5
  import {
6
6
  getProxiedImageUrl
7
- } from "./chunk-TTVOLEUS.js";
7
+ } from "./chunk-GANIUMRU.js";
8
8
  import {
9
9
  formatBioText,
10
10
  formatDateWithTimezone