@flamingo-stack/openframe-frontend-core 0.0.816 → 0.0.818

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 (203) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{case-study-card-NLT2JVI7.cjs → case-study-card-IZBMHA6R.cjs} +3 -3
  3. package/dist/{chunk-VDXI26G7.cjs → chunk-4XASD2TL.cjs} +81 -78
  4. package/dist/{chunk-5TUR7O7H.cjs → chunk-5AIOYEXW.cjs} +90 -90
  5. package/dist/{chunk-RYJJHSHV.cjs → chunk-5VRSUEC5.cjs} +23 -23
  6. package/dist/{chunk-633NTKO2.cjs → chunk-6QT5K5I5.cjs} +31 -53
  7. package/dist/{chunk-CNTBGJA7.cjs → chunk-A34UNP5V.cjs} +65 -1
  8. package/dist/{chunk-3ELDGEM2.cjs → chunk-AE22KOW3.cjs} +87 -84
  9. package/dist/{chunk-EJCUAADF.cjs → chunk-BD42NMCT.cjs} +4 -4
  10. package/dist/{chunk-7NYWHEQM.cjs → chunk-DGAX5WG2.cjs} +15 -15
  11. package/dist/{chunk-L7W4455K.cjs → chunk-DL4HWYIB.cjs} +3 -3
  12. package/dist/chunk-DVHSYPDB.cjs +471 -0
  13. package/dist/{chunk-GAR2IIU6.cjs → chunk-IM366HS6.cjs} +105 -157
  14. package/dist/{chunk-7ERD34HQ.cjs → chunk-IQCHV7Z2.cjs} +571 -823
  15. package/dist/{chunk-3E4FIJAM.cjs → chunk-JTBJB4JF.cjs} +15 -15
  16. package/dist/{chunk-PAI4A3UM.cjs → chunk-K5IICQNF.cjs} +61 -54
  17. package/dist/{chunk-JOKOQOLJ.cjs → chunk-LUID2IB3.cjs} +2 -2
  18. package/dist/{chunk-JOOZTRXQ.cjs → chunk-NEXMK6OP.cjs} +4 -4
  19. package/dist/{chunk-4PMD3JUC.cjs → chunk-NPNZAAOB.cjs} +2 -2
  20. package/dist/{chunk-JH65CEO4.cjs → chunk-NWIEZUM7.cjs} +36 -36
  21. package/dist/{chunk-HM7VCQSX.cjs → chunk-SBFBNOKU.cjs} +4 -4
  22. package/dist/{chunk-7O7EX7HQ.cjs → chunk-T266OITJ.cjs} +28 -20
  23. package/dist/{chunk-SWBLTIN4.cjs → chunk-U2THWP25.cjs} +54 -52
  24. package/dist/{chunk-F4ZJRMMM.cjs → chunk-UDLDXVY4.cjs} +8 -8
  25. package/dist/{chunk-Y6MJMPHV.cjs → chunk-UEULXVW2.cjs} +32 -84
  26. package/dist/{chunk-O6VWD2SB.cjs → chunk-VGZXB3SY.cjs} +3 -3
  27. package/dist/{chunk-ZAWHRYJZ.cjs → chunk-VRXDTRIY.cjs} +45 -45
  28. package/dist/{chunk-EB7YAUER.cjs → chunk-YHPUD4PM.cjs} +19 -19
  29. package/dist/{chunk-FUEK43FL.cjs → chunk-YMPPE322.cjs} +206 -200
  30. package/dist/{chunk-IKB6AZPV.cjs → chunk-ZECG6GU5.cjs} +2 -2
  31. package/dist/{chunk-53JJLHJM.cjs → chunk-ZWAVMZIF.cjs} +20 -20
  32. package/dist/{cloud-tenants-SRTX2FZC.cjs → cloud-tenants-V6EV4OGK.cjs} +11 -11
  33. package/dist/components/announcement-bar.d.ts.map +1 -1
  34. package/dist/components/announcement-bar.js +5 -5
  35. package/dist/components/case-studies/index.cjs +26 -26
  36. package/dist/components/chat/chat-markdown-link.d.ts +15 -0
  37. package/dist/components/chat/chat-markdown-link.d.ts.map +1 -0
  38. package/dist/components/chat/chat-markdown-link.js +22 -0
  39. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  40. package/dist/components/chat/chat-message-enhanced.js +3 -9
  41. package/dist/components/chat/embeddable-chat.d.ts +4 -8
  42. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  43. package/dist/components/chat/embeddable-chat.js +31 -125
  44. package/dist/components/chat/entity-cards/chat-card-disclosure.d.ts.map +1 -1
  45. package/dist/components/chat/entity-cards/chat-card-disclosure.js +8 -11
  46. package/dist/components/chat/entity-cards/dispatch.d.ts +8 -15
  47. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  48. package/dist/components/chat/entity-cards/dispatch.js +22 -40
  49. package/dist/components/chat/entity-cards/github-activity-card.d.ts +1 -1
  50. package/dist/components/chat/entity-cards/use-entity-card-link.d.ts +3 -2
  51. package/dist/components/chat/entity-cards/use-entity-card-link.d.ts.map +1 -1
  52. package/dist/components/chat/entity-cards/use-entity-card-link.js +6 -4
  53. package/dist/components/chat/index.cjs +28 -21
  54. package/dist/components/chat/index.d.ts +2 -2
  55. package/dist/components/chat/index.d.ts.map +1 -1
  56. package/dist/components/chat/index.js +4 -3
  57. package/dist/components/chat/{inline-app-link-chip.d.ts → inline-chip.d.ts} +1 -14
  58. package/dist/components/chat/inline-chip.d.ts.map +1 -0
  59. package/dist/components/chat/inline-chip.js +27 -0
  60. package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +45 -11
  61. package/dist/components/chat/nav-link-anchor-via-runtime.d.ts.map +1 -1
  62. package/dist/components/chat/nav-link-anchor-via-runtime.js +32 -24
  63. package/dist/components/chat/source-action-button.d.ts +12 -3
  64. package/dist/components/chat/source-action-button.d.ts.map +1 -1
  65. package/dist/components/chat/source-action-button.js +41 -26
  66. package/dist/components/chat/types/component.types.d.ts +1 -1
  67. package/dist/components/chat/types/entities/data-room-doc.d.ts +0 -12
  68. package/dist/components/chat/types/entities/data-room-doc.d.ts.map +1 -1
  69. package/dist/components/chat/types/message.types.d.ts +1 -1
  70. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  71. package/dist/components/chat/utils/chat-nav-resolution.d.ts +1 -6
  72. package/dist/components/chat/utils/chat-nav-resolution.d.ts.map +1 -1
  73. package/dist/components/chat/utils/chat-nav-resolution.js +2 -3
  74. package/dist/components/chat/utils/decide-new-tab.d.ts +0 -3
  75. package/dist/components/chat/utils/decide-new-tab.d.ts.map +1 -1
  76. package/dist/components/chat/utils/decide-new-tab.js +0 -1
  77. package/dist/components/chat/utils/execute-navigation.d.ts +36 -34
  78. package/dist/components/chat/utils/execute-navigation.d.ts.map +1 -1
  79. package/dist/components/chat/utils/execute-navigation.js +23 -19
  80. package/dist/components/chat/utils/index.d.ts +5 -5
  81. package/dist/components/chat/utils/index.d.ts.map +1 -1
  82. package/dist/components/chat/utils/index.js +14 -6
  83. package/dist/components/chat/utils/nav-anchor-props.d.ts +35 -8
  84. package/dist/components/chat/utils/nav-anchor-props.d.ts.map +1 -1
  85. package/dist/components/chat/utils/nav-anchor-props.js +14 -5
  86. package/dist/components/chat/utils/new-tab-rel.d.ts +15 -0
  87. package/dist/components/chat/utils/new-tab-rel.d.ts.map +1 -0
  88. package/dist/components/chat/utils/new-tab-rel.js +25 -0
  89. package/dist/components/chat/utils/source-row-cta.d.ts +9 -48
  90. package/dist/components/chat/utils/source-row-cta.d.ts.map +1 -1
  91. package/dist/components/chat/utils/source-row-cta.js +7 -32
  92. package/dist/components/contact/index.cjs +12 -12
  93. package/dist/components/docs/index.cjs +15 -15
  94. package/dist/components/embeds/index.cjs +12 -12
  95. package/dist/components/faq/index.cjs +13 -13
  96. package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
  97. package/dist/components/features/devices/devices-table-columns.js +4 -1
  98. package/dist/components/features/index.cjs +11 -11
  99. package/dist/components/help-center-pages/index.cjs +105 -105
  100. package/dist/components/index.cjs +91 -83
  101. package/dist/components/meeting-scheduler/index.cjs +50 -50
  102. package/dist/components/navigation/app-header.d.ts +1 -4
  103. package/dist/components/navigation/app-header.d.ts.map +1 -1
  104. package/dist/components/navigation/app-header.js +0 -2
  105. package/dist/components/navigation/index.cjs +14 -14
  106. package/dist/components/navigation/ticket-alerts-button.d.ts +1 -4
  107. package/dist/components/navigation/ticket-alerts-button.d.ts.map +1 -1
  108. package/dist/components/navigation/ticket-alerts-button.js +5 -5
  109. package/dist/components/onboarding-guides/index.cjs +14 -14
  110. package/dist/components/product-demo/index.cjs +20 -20
  111. package/dist/components/related-content/card-registry.d.ts +1 -1
  112. package/dist/components/related-content/index.cjs +7 -7
  113. package/dist/components/related-content/related-content-section.d.ts +3 -3
  114. package/dist/components/related-content/related-content-section.d.ts.map +1 -1
  115. package/dist/components/related-content/related-content-section.js +5 -3
  116. package/dist/components/shared/doc-search/resolve-search-result-action.d.ts +10 -3
  117. package/dist/components/shared/doc-search/resolve-search-result-action.d.ts.map +1 -1
  118. package/dist/components/shared/doc-search/resolve-search-result-action.js +8 -17
  119. package/dist/components/shared/doc-search/use-doc-search.d.ts.map +1 -1
  120. package/dist/components/shared/doc-search/use-doc-search.js +15 -27
  121. package/dist/components/shared/product-release/product-release-card.d.ts +2 -2
  122. package/dist/components/shared/product-release/product-releases-view.d.ts.map +1 -1
  123. package/dist/components/shared/product-release/product-releases-view.js +1 -3
  124. package/dist/components/tickets/index.cjs +18 -18
  125. package/dist/components/tickets/ticket-detail-drawer.d.ts.map +1 -1
  126. package/dist/components/tickets/ticket-detail-drawer.js +6 -3
  127. package/dist/components/tickets/types.d.ts +1 -1
  128. package/dist/components/ui/button/button.d.ts +1 -1
  129. package/dist/components/ui/hover-dropdown.d.ts +2 -2
  130. package/dist/components/ui/index.cjs +31 -23
  131. package/dist/components/ui/service-card.d.ts.map +1 -1
  132. package/dist/components/ui/service-card.js +4 -1
  133. package/dist/components/vendor-display-button.d.ts.map +1 -1
  134. package/dist/components/vendor-display-button.js +4 -1
  135. package/dist/contexts/chat-runtime-context.d.ts +14 -25
  136. package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
  137. package/dist/{devices-DL4YU64N.cjs → devices-6KZAJAAS.cjs} +12 -12
  138. package/dist/{embeddable-chat-YRKMPFDY.cjs → embeddable-chat-5IHA5SUZ.cjs} +95 -193
  139. package/dist/hooks/index.cjs +5 -5
  140. package/dist/hooks/use-contact-submission.d.ts.map +1 -1
  141. package/dist/hooks/use-contact-submission.js +11 -8
  142. package/dist/index.cjs +40 -34
  143. package/dist/{knowledge-VQW5JL2Z.cjs → knowledge-I7FDQQYJ.cjs} +12 -12
  144. package/dist/{logs-IY3WBLMW.cjs → logs-Q7PAVJUG.cjs} +19 -19
  145. package/dist/{policies-IXWTWMJO.cjs → policies-C3DW5CHS.cjs} +15 -15
  146. package/dist/{scripts-D5CLO5EG.cjs → scripts-BET663HD.cjs} +16 -16
  147. package/dist/{software-update-ULNP6CKJ.cjs → software-update-W7ZQXEPK.cjs} +14 -14
  148. package/dist/utils/index.cjs +116 -89
  149. package/dist/utils/open-in-new-tab.d.ts +2 -1
  150. package/dist/utils/open-in-new-tab.d.ts.map +1 -1
  151. package/dist/utils/open-in-new-tab.js +2 -1
  152. package/dist/utils/scroll-into-view.d.ts +1 -1
  153. package/dist/utils/source-grouping.d.ts +2 -2
  154. package/eslint-config/base.js +11 -0
  155. package/eslint-config/navigation.js +142 -0
  156. package/package.json +1 -1
  157. package/src/components/announcement-bar.tsx +8 -6
  158. package/src/components/chat/chat-markdown-link.tsx +42 -0
  159. package/src/components/chat/chat-message-enhanced.tsx +10 -36
  160. package/src/components/chat/embeddable-chat.tsx +66 -173
  161. package/src/components/chat/entity-cards/chat-card-disclosure.tsx +9 -13
  162. package/src/components/chat/entity-cards/data-room-doc-card.tsx +1 -1
  163. package/src/components/chat/entity-cards/dispatch.tsx +51 -66
  164. package/src/components/chat/entity-cards/github-activity-card.tsx +1 -1
  165. package/src/components/chat/entity-cards/use-entity-card-link.ts +11 -16
  166. package/src/components/chat/index.ts +3 -1
  167. package/src/components/chat/{inline-app-link-chip.tsx → inline-chip.tsx} +1 -27
  168. package/src/components/chat/nav-link-anchor-via-runtime.tsx +73 -33
  169. package/src/components/chat/source-action-button.tsx +57 -33
  170. package/src/components/chat/types/component.types.ts +1 -1
  171. package/src/components/chat/types/entities/data-room-doc.ts +0 -12
  172. package/src/components/chat/types/message.types.ts +1 -1
  173. package/src/components/chat/utils/chat-nav-resolution.ts +3 -8
  174. package/src/components/chat/utils/decide-new-tab.ts +0 -3
  175. package/src/components/chat/utils/execute-navigation.ts +58 -58
  176. package/src/components/chat/utils/index.ts +13 -6
  177. package/src/components/chat/utils/nav-anchor-props.ts +56 -9
  178. package/src/components/chat/utils/new-tab-rel.ts +39 -0
  179. package/src/components/chat/utils/source-row-cta.ts +21 -102
  180. package/src/components/features/devices/devices-table-columns.tsx +4 -1
  181. package/src/components/navigation/app-header.tsx +0 -5
  182. package/src/components/navigation/ticket-alerts-button.tsx +7 -8
  183. package/src/components/related-content/card-registry.tsx +1 -1
  184. package/src/components/related-content/related-content-section.tsx +10 -10
  185. package/src/components/shared/doc-search/resolve-search-result-action.ts +19 -33
  186. package/src/components/shared/doc-search/use-doc-search.ts +21 -44
  187. package/src/components/shared/product-release/product-release-card.tsx +4 -4
  188. package/src/components/shared/product-release/product-releases-view.tsx +2 -5
  189. package/src/components/tickets/ticket-detail-drawer.tsx +7 -4
  190. package/src/components/tickets/types.ts +1 -1
  191. package/src/components/ui/button/button.tsx +2 -2
  192. package/src/components/ui/hover-dropdown.tsx +2 -2
  193. package/src/components/ui/service-card.tsx +4 -1
  194. package/src/components/vendor-display-button.tsx +5 -2
  195. package/src/contexts/chat-runtime-context.tsx +18 -23
  196. package/src/hooks/use-contact-submission.ts +13 -8
  197. package/src/utils/index.ts +1 -1
  198. package/src/utils/open-in-new-tab.ts +4 -2
  199. package/src/utils/scroll-into-view.ts +1 -1
  200. package/src/utils/source-grouping.ts +2 -2
  201. package/dist/chunk-RD66AGUI.cjs +0 -156
  202. package/dist/components/chat/inline-app-link-chip.d.ts.map +0 -1
  203. package/dist/components/chat/inline-app-link-chip.js +0 -37
@@ -1,50 +1,50 @@
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 _chunkJOKOQOLJcjs = require('./chunk-JOKOQOLJ.cjs');
4
+ var _chunkLUID2IB3cjs = require('./chunk-LUID2IB3.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk633NTKO2cjs = require('./chunk-633NTKO2.cjs');
8
+ var _chunk6QT5K5I5cjs = require('./chunk-6QT5K5I5.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkFUEK43FLcjs = require('./chunk-FUEK43FL.cjs');
15
+ var _chunkYMPPE322cjs = require('./chunk-YMPPE322.cjs');
16
16
 
17
17
 
18
18
  var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
19
19
 
20
20
 
21
- var _chunkVDXI26G7cjs = require('./chunk-VDXI26G7.cjs');
22
21
 
22
+ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
23
23
 
24
24
 
25
+ var _chunk4XASD2TLcjs = require('./chunk-4XASD2TL.cjs');
25
26
 
26
27
 
27
- var _chunk7ERD34HQcjs = require('./chunk-7ERD34HQ.cjs');
28
28
 
29
29
 
30
- var _chunk6CZVQ72Ccjs = require('./chunk-6CZVQ72C.cjs');
31
30
 
31
+ var _chunkIQCHV7Z2cjs = require('./chunk-IQCHV7Z2.cjs');
32
32
 
33
33
 
34
- var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
34
+ var _chunk6CZVQ72Ccjs = require('./chunk-6CZVQ72C.cjs');
35
35
 
36
36
 
37
- var _chunkF4ZJRMMMcjs = require('./chunk-F4ZJRMMM.cjs');
37
+ var _chunkUDLDXVY4cjs = require('./chunk-UDLDXVY4.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkGAR2IIU6cjs = require('./chunk-GAR2IIU6.cjs');
41
+ var _chunkIM366HS6cjs = require('./chunk-IM366HS6.cjs');
42
42
 
43
43
 
44
- var _chunkY6MJMPHVcjs = require('./chunk-Y6MJMPHV.cjs');
44
+ var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
45
45
 
46
46
 
47
- var _chunkRD66AGUIcjs = require('./chunk-RD66AGUI.cjs');
47
+ var _chunkDVHSYPDBcjs = require('./chunk-DVHSYPDB.cjs');
48
48
 
49
49
 
50
50
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -75,7 +75,7 @@ function OnboardingCatalogSectionsSkeleton() {
75
75
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }),
76
76
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-3" }) })
77
77
  ] }),
78
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.OnboardingGuideCard, { loading: true, size: "catalog" }) }) }) })
78
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIM366HS6cjs.OnboardingGuideCard, { loading: true, size: "catalog" }) }) }) })
79
79
  ] }) });
80
80
  }
81
81
  function OnboardingGuidesCatalogView({
@@ -96,10 +96,10 @@ function OnboardingGuidesCatalogView({
96
96
  const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
97
97
  const activeSection = sectionValue || "all";
98
98
  const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
99
- const guidesRes = _chunkF4ZJRMMMcjs.useSelfFetch.call(void 0,
99
+ const guidesRes = _chunkUDLDXVY4cjs.useSelfFetch.call(void 0,
100
100
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
101
101
  );
102
- const sectionsRes = _chunkF4ZJRMMMcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
102
+ const sectionsRes = _chunkUDLDXVY4cjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
103
103
  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])]);
104
104
  const sections = _react.useMemo.call(void 0,
105
105
  () => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
@@ -143,25 +143,25 @@ function OnboardingGuidesCatalogView({
143
143
  });
144
144
  };
145
145
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
146
- const docSearch = _chunk633NTKO2cjs.useDocSearch.call(void 0, {
146
+ const docSearch = _chunk6QT5K5I5cjs.useDocSearch.call(void 0, {
147
147
  source,
148
148
  baseRoute: basePath,
149
149
  onNavigate: (path) => router.push(path),
150
150
  tableIds: ["onboarding-guides"]
151
151
  });
152
152
  const defaultRenderCard = (guide) => {
153
- const cta = _chunkVDXI26G7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
153
+ const cta = _chunk4XASD2TLcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
154
154
  type: "onboarding_guide",
155
155
  slug: guide.slug,
156
156
  basePath,
157
157
  platforms: guide.onboarding_guide_platforms
158
158
  });
159
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
159
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIM366HS6cjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
160
160
  };
161
161
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
162
162
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
163
163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
164
- _chunk633NTKO2cjs.DocSearchBar,
164
+ _chunk6QT5K5I5cjs.DocSearchBar,
165
165
  {
166
166
  placeholder: "Search onboarding guides, releases, case studies\u2026",
167
167
  query: docSearch.query,
@@ -173,7 +173,7 @@ function OnboardingGuidesCatalogView({
173
173
  }
174
174
  ),
175
175
  (loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
176
- _chunkFUEK43FLcjs.FilterPillRow,
176
+ _chunkYMPPE322cjs.FilterPillRow,
177
177
  {
178
178
  label: "Section",
179
179
  selectedValue: activeSection,
@@ -184,7 +184,7 @@ function OnboardingGuidesCatalogView({
184
184
  )
185
185
  ] });
186
186
  if (!loading && selfFetch && guidesRes.error) {
187
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFUEK43FLcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
188
188
  }
189
189
  const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
190
190
  preControls,
@@ -200,7 +200,7 @@ function OnboardingGuidesCatalogView({
200
200
  )
201
201
  ] });
202
202
  if (!loading) return view;
203
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7ERD34HQcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
203
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
204
204
  }
205
205
  function OnboardingCatalogSections({
206
206
  grouped,
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
304
304
  slug,
305
305
  guideEndpoint,
306
306
  related = [],
307
- MarkdownRenderer = _chunkFUEK43FLcjs.RichMarkdownRenderer,
307
+ MarkdownRenderer = _chunkYMPPE322cjs.RichMarkdownRenderer,
308
308
  renderRelatedCard,
309
309
  backHref,
310
310
  backLabel = "Back to Getting Started",
@@ -314,9 +314,9 @@ function OnboardingGuideDetailView({
314
314
  }) {
315
315
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
316
316
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
317
- const captions = _chunk7ERD34HQcjs.useCaptions.call(void 0, );
317
+ const captions = _chunkIQCHV7Z2cjs.useCaptions.call(void 0, );
318
318
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
319
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFUEK43FLcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
319
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
320
320
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
321
321
  const scoped = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
322
322
  const {
@@ -324,7 +324,7 @@ function OnboardingGuideDetailView({
324
324
  isLoading,
325
325
  error,
326
326
  reload
327
- } = _chunkF4ZJRMMMcjs.useSelfFetch.call(void 0, scoped ? null : url, {
327
+ } = _chunkUDLDXVY4cjs.useSelfFetch.call(void 0, scoped ? null : url, {
328
328
  initialData
329
329
  });
330
330
  const { ref: videoWarmupRef } = _chunk6CZVQ72Ccjs.useVideoWarmup.call(void 0, {
@@ -334,27 +334,27 @@ function OnboardingGuideDetailView({
334
334
  const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
335
335
  const loading = scoped || !guide && isLoading;
336
336
  if (!loading && (error || !guide)) {
337
- return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFUEK43FLcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
337
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.LoadError, { message: "Guide not found.", onRetry: reload }));
338
338
  }
339
339
  const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
340
340
  const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
341
341
  const videoPoster = view.main_video_thumbnail || view.featured_image || view.og_image_url || // `buildOgPlaceholderUrl` always returns a usable string (relative route at
342
342
  // worst), so it's the terminal fallback — no trailing `|| undefined` needed.
343
- _chunkRD66AGUIcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
343
+ _chunkDVHSYPDBcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
344
344
  const defaultRenderRelatedCard = (g) => {
345
- const cta = _chunkVDXI26G7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
345
+ const cta = _chunk4XASD2TLcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
346
346
  type: "onboarding_guide",
347
347
  slug: g.slug,
348
348
  basePath,
349
349
  platforms: g.onboarding_guide_platforms
350
350
  });
351
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
351
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIM366HS6cjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
352
352
  };
353
353
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
354
354
  const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIJCSQFLDcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
355
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFUEK43FLcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
355
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMPPE322cjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
356
356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
357
- _chunkGAR2IIU6cjs.EntityAuthorCard,
357
+ _chunkIM366HS6cjs.EntityAuthorCard,
358
358
  {
359
359
  author: view.author,
360
360
  authorHref,
@@ -370,7 +370,7 @@ function OnboardingGuideDetailView({
370
370
  ),
371
371
  !loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
372
372
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
373
- _chunk7ERD34HQcjs.EntityVideoSection,
373
+ _chunkIQCHV7Z2cjs.EntityVideoSection,
374
374
  {
375
375
  mainVideoUrl: view.main_video_url,
376
376
  youtubeUrl: view.youtube_url || void 0,
@@ -387,17 +387,17 @@ function OnboardingGuideDetailView({
387
387
  ) }),
388
388
  (loading || view.content) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BODY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: _nullishCoalesce(view.content, () => ( "")) }) }),
389
389
  loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
390
- _chunk7ERD34HQcjs.VideoBitesStrip,
390
+ _chunkIQCHV7Z2cjs.VideoBitesStrip,
391
391
  {
392
392
  bites: _nullishCoalesce(view.video_bites, () => ( [])),
393
393
  filterPublished: true,
394
394
  showTitle: false,
395
- profile: _chunkY6MJMPHVcjs.toStripProfile.call(void 0, view.author),
395
+ profile: _chunkUEULXVW2cjs.toStripProfile.call(void 0, view.author),
396
396
  href: `/onboarding-guides/${view.slug}`
397
397
  }
398
398
  ) }),
399
399
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
400
- _chunkJOKOQOLJcjs.ArticleAuthorByline,
400
+ _chunkLUID2IB3cjs.ArticleAuthorByline,
401
401
  {
402
402
  author: _nullishCoalesce(_optionalChain([view, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
403
403
  avatar: _optionalChain([view, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
@@ -410,7 +410,7 @@ function OnboardingGuideDetailView({
410
410
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RelatedGuides, { section: view.section, related, renderCard: renderRelatedCardFn }),
411
411
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: relatedContent }, "related-content")
412
412
  ] });
413
- return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7ERD34HQcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
413
+ return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
414
414
  }
415
415
 
416
416
  // src/components/onboarding-guides/hooks/use-onboarding-guides.ts
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk4PMD3JUCcjs = require('./chunk-4PMD3JUC.cjs');
4
+ var _chunkNPNZAAOBcjs = require('./chunk-NPNZAAOB.cjs');
5
5
 
6
6
 
7
7
 
@@ -184,14 +184,14 @@ function UnifiedPagination({
184
184
  }, 0);
185
185
  };
186
186
  if (loading) {
187
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4PMD3JUCcjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPNZAAOBcjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
188
188
  }
189
189
  if (totalPages <= 1) {
190
- return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4PMD3JUCcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
190
+ return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPNZAAOBcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
191
191
  } }) }) }) : null;
192
192
  }
193
193
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
194
- _chunk4PMD3JUCcjs.Pagination,
194
+ _chunkNPNZAAOBcjs.Pagination,
195
195
  {
196
196
  currentPage,
197
197
  totalPages,
@@ -5,6 +5,10 @@ var _chunkAPOMNC7Hcjs = require('./chunk-APOMNC7H.cjs');
5
5
 
6
6
 
7
7
 
8
+ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
9
+
10
+
11
+
8
12
  var _chunkMZ4KBSH7cjs = require('./chunk-MZ4KBSH7.cjs');
9
13
 
10
14
 
@@ -38,7 +42,8 @@ var _chunkNONMZ5WJcjs = require('./chunk-NONMZ5WJ.cjs');
38
42
 
39
43
 
40
44
 
41
- var _chunkCNTBGJA7cjs = require('./chunk-CNTBGJA7.cjs');
45
+
46
+ var _chunkA34UNP5Vcjs = require('./chunk-A34UNP5V.cjs');
42
47
 
43
48
 
44
49
  var _chunkQDDBOCG3cjs = require('./chunk-QDDBOCG3.cjs');
@@ -47,10 +52,6 @@ var _chunkQDDBOCG3cjs = require('./chunk-QDDBOCG3.cjs');
47
52
  var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
48
53
 
49
54
 
50
-
51
- var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
52
-
53
-
54
55
  var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
55
56
 
56
57
 
@@ -63,10 +64,16 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
63
64
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
64
65
 
65
66
 
67
+ var _chunkDVHSYPDBcjs = require('./chunk-DVHSYPDB.cjs');
68
+
69
+
66
70
 
67
71
  var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
68
72
 
69
73
 
74
+ var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
75
+
76
+
70
77
  var _chunkFCZAUK4Dcjs = require('./chunk-FCZAUK4D.cjs');
71
78
 
72
79
 
@@ -418,7 +425,7 @@ function useSearch(config) {
418
425
  searchFnRef.current = searchFn;
419
426
  mapResultRef.current = mapResult;
420
427
  });
421
- const debouncedQuery = _chunkCNTBGJA7cjs.useDebounce.call(void 0, query, debounceMs);
428
+ const debouncedQuery = _chunkA34UNP5Vcjs.useDebounce.call(void 0, query, debounceMs);
422
429
  const clearResults = _react.useCallback.call(void 0, () => {
423
430
  setResults(NO_RESULTS);
424
431
  setError(null);
@@ -1147,7 +1154,7 @@ var useToast = () => ({
1147
1154
  function useContactSubmission(options = {}) {
1148
1155
  const { userId, successRedirectUrl, successToastMessage, onSuccess } = options;
1149
1156
  const { toast: toast2 } = useToast();
1150
- const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
1157
+ const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
1151
1158
  const { contactUrl } = _chunkMZ4KBSH7cjs.useRequiredEndpointsRuntime.call(void 0, );
1152
1159
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
1153
1160
  const [isSuccess, setIsSuccess] = _react.useState.call(void 0, false);
@@ -1194,14 +1201,15 @@ function useContactSubmission(options = {}) {
1194
1201
  console.log("\u{1F680} Contact submission successful, redirecting to:", successRedirectUrl);
1195
1202
  const timer = setTimeout(() => {
1196
1203
  console.log("\u{1F3AF} Performing redirect now to:", successRedirectUrl);
1197
- if (successRedirectUrl.startsWith("http")) {
1198
- window.location.href = successRedirectUrl;
1199
- } else {
1200
- router.push(successRedirectUrl);
1201
- }
1204
+ _chunkA34UNP5Vcjs.executeNavigationImperative.call(void 0, {
1205
+ runtime,
1206
+ href: successRedirectUrl,
1207
+ openIn: "same-tab",
1208
+ hostRoute: _chunkDVHSYPDBcjs.isRelativeHref.call(void 0, successRedirectUrl)
1209
+ });
1202
1210
  }, 1500);
1203
1211
  return () => clearTimeout(timer);
1204
- }, [isSuccess, successRedirectUrl, router]);
1212
+ }, [isSuccess, successRedirectUrl, runtime]);
1205
1213
  _react.useEffect.call(void 0, () => {
1206
1214
  if (isSuccess && onSuccess) {
1207
1215
  onSuccess();
@@ -2577,7 +2585,7 @@ function useScenarioPlayer({
2577
2585
  startAtEnd = false,
2578
2586
  emptyFirstStep = true
2579
2587
  }) {
2580
- const auto = _chunkCNTBGJA7cjs.useAutoplay.call(void 0, enabled);
2588
+ const auto = _chunkA34UNP5Vcjs.useAutoplay.call(void 0, enabled);
2581
2589
  const { reducedMotion, held, holdProps, release } = auto;
2582
2590
  const [scenario, setScenario] = _react.useState.call(void 0, initialScenario);
2583
2591
  const [rawStep, setRawStep] = _react.useState.call(void 0, startAtEnd ? Number.MAX_SAFE_INTEGER : 0);
@@ -2707,7 +2715,7 @@ function useClaudeMirrorSrc(url) {
2707
2715
 
2708
2716
  // src/hooks/use-location-hash.ts
2709
2717
 
2710
- var HASH_EVENTS = ["hashchange", "popstate", _chunkCNTBGJA7cjs.LOCATION_HASH_SYNC_EVENT];
2718
+ var HASH_EVENTS = ["hashchange", "popstate", _chunkA34UNP5Vcjs.LOCATION_HASH_SYNC_EVENT];
2711
2719
  function subscribe(onChange) {
2712
2720
  for (const event of HASH_EVENTS) window.addEventListener(event, onChange);
2713
2721
  return () => {
@@ -2715,7 +2723,7 @@ function subscribe(onChange) {
2715
2723
  };
2716
2724
  }
2717
2725
  function readHash() {
2718
- const raw = _chunkCNTBGJA7cjs.normalizeHashFragment.call(void 0, window.location.hash).replace(/^#/, "");
2726
+ const raw = _chunkA34UNP5Vcjs.normalizeHashFragment.call(void 0, window.location.hash).replace(/^#/, "");
2719
2727
  try {
2720
2728
  return decodeURIComponent(raw);
2721
2729
  } catch (e7) {
@@ -2742,16 +2750,16 @@ function useScrollToHash(readyDep = true, options) {
2742
2750
  }
2743
2751
  };
2744
2752
  const tryScrollToHash = () => {
2745
- if (_chunkCNTBGJA7cjs.isScrollSyncedHash.call(void 0, )) return;
2746
- const hash = _chunkCNTBGJA7cjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
2753
+ if (_chunkA34UNP5Vcjs.isScrollSyncedHash.call(void 0, )) return;
2754
+ const hash = _chunkA34UNP5Vcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
2747
2755
  if (!hash) return;
2748
2756
  cancelPoll();
2749
2757
  let frames = 0;
2750
2758
  const tick = () => {
2751
- const el = _chunkCNTBGJA7cjs.getHashTargetElement.call(void 0, hash);
2759
+ const el = _chunkA34UNP5Vcjs.getHashTargetElement.call(void 0, hash);
2752
2760
  if (el) {
2753
2761
  rafId = null;
2754
- _chunkCNTBGJA7cjs.scrollElementIntoView.call(void 0, el, { headerOffset });
2762
+ _chunkA34UNP5Vcjs.scrollElementIntoView.call(void 0, el, { headerOffset });
2755
2763
  return;
2756
2764
  }
2757
2765
  if (frames++ < MAX_POLL_FRAMES) {