@flamingo-stack/openframe-frontend-core 0.0.750 → 0.0.751

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 (60) hide show
  1. package/dist/{chunk-45YRDD7W.cjs → chunk-4WNBVNGP.cjs} +13 -13
  2. package/dist/{chunk-4O2KYY4K.cjs → chunk-53I4YHRT.cjs} +3 -3
  3. package/dist/{chunk-HOEVD6EN.cjs → chunk-5P7WBA2U.cjs} +4 -4
  4. package/dist/{chunk-CNUZLOVA.cjs → chunk-5WC535NJ.cjs} +17 -17
  5. package/dist/{chunk-BO6ZOAPB.cjs → chunk-77IKUBSH.cjs} +6 -6
  6. package/dist/{chunk-E3KFEOFA.cjs → chunk-CVBHB4OZ.cjs} +4 -4
  7. package/dist/{chunk-JPUTILTV.cjs → chunk-ESRA7NUI.cjs} +41 -41
  8. package/dist/{chunk-2J2OBP4N.cjs → chunk-H52GKJ36.cjs} +9 -9
  9. package/dist/{chunk-G7SBHMRR.cjs → chunk-KHKPLOU4.cjs} +69 -39
  10. package/dist/{chunk-6KEJQR6L.cjs → chunk-LIGDPFDM.cjs} +131 -131
  11. package/dist/{chunk-YL62VAHC.cjs → chunk-MJFTWHV6.cjs} +4 -4
  12. package/dist/{chunk-AW6GP3JK.cjs → chunk-MU7FFN6M.cjs} +34 -34
  13. package/dist/{chunk-7RCTOWBA.cjs → chunk-NOUROZYH.cjs} +13 -13
  14. package/dist/{chunk-KVSEWACW.cjs → chunk-QOONZMSQ.cjs} +9 -9
  15. package/dist/{chunk-FP6HAJQV.cjs → chunk-RVLQHSID.cjs} +70 -70
  16. package/dist/{chunk-GVETSV7H.cjs → chunk-SDOCZTST.cjs} +32 -32
  17. package/dist/{chunk-V3UJ6NDR.cjs → chunk-TPH4SRR2.cjs} +6 -6
  18. package/dist/{chunk-4FWURR3W.cjs → chunk-VUWPLQBY.cjs} +2 -2
  19. package/dist/{chunk-WZX26ODJ.cjs → chunk-X4LAMJHD.cjs} +54 -35
  20. package/dist/{cloud-tenants-E4JSG3GH.cjs → cloud-tenants-JDPC2DYF.cjs} +6 -6
  21. package/dist/components/case-studies/index.cjs +16 -16
  22. package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts +7 -5
  23. package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts.map +1 -1
  24. package/dist/components/chat/hooks/use-jetstream-dialog-subscription.js +33 -14
  25. package/dist/components/chat/index.cjs +4 -4
  26. package/dist/components/chat/types/api.types.d.ts +27 -8
  27. package/dist/components/chat/types/api.types.d.ts.map +1 -1
  28. package/dist/components/chat/types/network.types.d.ts +2 -1
  29. package/dist/components/chat/types/network.types.d.ts.map +1 -1
  30. package/dist/components/contact/index.cjs +7 -7
  31. package/dist/components/docs/index.cjs +10 -10
  32. package/dist/components/embeds/index.cjs +7 -7
  33. package/dist/components/faq/index.cjs +8 -8
  34. package/dist/components/features/index.cjs +6 -6
  35. package/dist/components/help-center-pages/index.cjs +67 -67
  36. package/dist/components/index.cjs +39 -39
  37. package/dist/components/meeting-scheduler/index.cjs +29 -29
  38. package/dist/components/navigation/index.cjs +9 -9
  39. package/dist/components/onboarding-guides/index.cjs +8 -8
  40. package/dist/components/product-demo/index.cjs +7 -7
  41. package/dist/components/tickets/index.cjs +11 -11
  42. package/dist/components/ui/index.cjs +6 -6
  43. package/dist/{devices-AVRQGB2N.cjs → devices-ADQWD37J.cjs} +7 -7
  44. package/dist/{embeddable-chat-SNYQSMS7.cjs → embeddable-chat-7YF2JMPS.cjs} +65 -65
  45. package/dist/hooks/index.cjs +3 -3
  46. package/dist/index.cjs +10 -10
  47. package/dist/{knowledge-S3CNISQH.cjs → knowledge-TNS64EGK.cjs} +7 -7
  48. package/dist/{logs-WDLOKDXT.cjs → logs-754MDDE4.cjs} +14 -14
  49. package/dist/nats/index.cjs +2 -2
  50. package/dist/nats/nats.d.ts +33 -7
  51. package/dist/nats/nats.d.ts.map +1 -1
  52. package/dist/nats/nats.js +41 -11
  53. package/dist/{policies-STML7NEZ.cjs → policies-Q23DPIH6.cjs} +10 -10
  54. package/dist/{scripts-HO53VYGX.cjs → scripts-DCYLK2RZ.cjs} +11 -11
  55. package/dist/{software-update-4VTK7LWQ.cjs → software-update-XCMGUIER.cjs} +9 -9
  56. package/package.json +1 -1
  57. package/src/components/chat/hooks/use-jetstream-dialog-subscription.ts +59 -23
  58. package/src/components/chat/types/api.types.ts +27 -8
  59. package/src/components/chat/types/network.types.ts +2 -1
  60. package/src/nats/nats.ts +91 -20
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunk4FWURR3Wcjs = require('./chunk-4FWURR3W.cjs');
4
+ var _chunkVUWPLQBYcjs = require('./chunk-VUWPLQBY.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkWZX26ODJcjs = require('./chunk-WZX26ODJ.cjs');
9
+ var _chunkX4LAMJHDcjs = require('./chunk-X4LAMJHD.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -165,31 +165,31 @@ CveLink.displayName = "CveLink";
165
165
  // src/components/platform/ShellTypeBadge.tsx
166
166
 
167
167
  var shellIconMap = {
168
- [_chunkWZX26ODJcjs.ShellTypeValues.POWERSHELL]: {
168
+ [_chunkX4LAMJHDcjs.ShellTypeValues.POWERSHELL]: {
169
169
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
170
170
  props: { size: 16, className: "text-ods-text-secondary" }
171
171
  },
172
- [_chunkWZX26ODJcjs.ShellTypeValues.CMD]: {
172
+ [_chunkX4LAMJHDcjs.ShellTypeValues.CMD]: {
173
173
  icon: _chunkUXUYT4WKcjs.CmdIcon,
174
174
  props: { size: 16, color: "var(--color-text-secondary)" }
175
175
  },
176
- [_chunkWZX26ODJcjs.ShellTypeValues.BASH]: {
176
+ [_chunkX4LAMJHDcjs.ShellTypeValues.BASH]: {
177
177
  icon: _chunk5OG5ZTNMcjs.BashIcon,
178
178
  props: { size: 16, color: "var(--color-text-secondary)" }
179
179
  },
180
- [_chunkWZX26ODJcjs.ShellTypeValues.PYTHON]: {
180
+ [_chunkX4LAMJHDcjs.ShellTypeValues.PYTHON]: {
181
181
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
182
182
  props: { size: 16, className: "text-ods-text-secondary" }
183
183
  },
184
- [_chunkWZX26ODJcjs.ShellTypeValues.NUSHELL]: {
184
+ [_chunkX4LAMJHDcjs.ShellTypeValues.NUSHELL]: {
185
185
  icon: _chunkG37H4CBTcjs.NushellIcon,
186
186
  props: { size: 16, color: "var(--color-text-secondary)" }
187
187
  },
188
- [_chunkWZX26ODJcjs.ShellTypeValues.DENO]: {
188
+ [_chunkX4LAMJHDcjs.ShellTypeValues.DENO]: {
189
189
  icon: _chunkHUL6SF5Acjs.DenoIcon,
190
190
  props: { size: 16, color: "var(--color-text-secondary)" }
191
191
  },
192
- [_chunkWZX26ODJcjs.ShellTypeValues.SHELL]: {
192
+ [_chunkX4LAMJHDcjs.ShellTypeValues.SHELL]: {
193
193
  icon: _chunk6RMATQNNcjs.ShellIcon,
194
194
  props: { size: 16, color: "var(--color-text-secondary)" }
195
195
  }
@@ -200,7 +200,7 @@ var defaultIconConfig = {
200
200
  };
201
201
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
202
202
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
203
- const label = _chunkWZX26ODJcjs.getShellLabel.call(void 0, normalizedType);
203
+ const label = _chunkX4LAMJHDcjs.getShellLabel.call(void 0, normalizedType);
204
204
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
205
205
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
206
206
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -216,7 +216,7 @@ function formatSupportedPlatforms(platforms) {
216
216
  if (!platforms || platforms.length === 0) {
217
217
  return "All Platforms";
218
218
  }
219
- return platforms.map((platform) => _chunkWZX26ODJcjs.getOSLabel.call(void 0, platform)).join(", ");
219
+ return platforms.map((platform) => _chunkX4LAMJHDcjs.getOSLabel.call(void 0, platform)).join(", ");
220
220
  }
221
221
  function InfoCell({ label, value, avatar, className }) {
222
222
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -236,7 +236,7 @@ var ScriptInfoSection = ({
236
236
  author,
237
237
  className
238
238
  }) => {
239
- const shellLabel = _chunkWZX26ODJcjs.getShellLabel.call(void 0, shellType);
239
+ const shellLabel = _chunkX4LAMJHDcjs.getShellLabel.call(void 0, shellType);
240
240
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
241
241
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
242
242
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
@@ -356,7 +356,7 @@ function OnboardingWalkthrough({
356
356
  isStepSkipped,
357
357
  allStepsComplete,
358
358
  markMultipleComplete
359
- } = _chunk4FWURR3Wcjs.useOnboardingState.call(void 0, storageKey);
359
+ } = _chunkVUWPLQBYcjs.useOnboardingState.call(void 0, storageKey);
360
360
  const hasAutoMarkedRef = _react.useRef.call(void 0, false);
361
361
  const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
362
362
  const lastCompletionStatusRef = _react.useRef.call(void 0, null);
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk6KEJQR6Lcjs = require('./chunk-6KEJQR6L.cjs');
4
+ var _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
5
5
 
6
6
 
7
7
  var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
48
48
  ] });
49
49
  }
50
50
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51
- _chunk6KEJQR6Lcjs.EmbedViewerFrame,
51
+ _chunkLIGDPFDMcjs.EmbedViewerFrame,
52
52
  {
53
53
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
54
54
  title: displayName,
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
83
83
  ] });
84
84
  }
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
86
- _chunk6KEJQR6Lcjs.EmbedViewerFrame,
86
+ _chunkLIGDPFDMcjs.EmbedViewerFrame,
87
87
  {
88
88
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
89
89
  title: displayName,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkWZX26ODJcjs = require('./chunk-WZX26ODJ.cjs');
4
+ var _chunkX4LAMJHDcjs = require('./chunk-X4LAMJHD.cjs');
5
5
 
6
6
 
7
- var _chunkV3UJ6NDRcjs = require('./chunk-V3UJ6NDR.cjs');
7
+ var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
8
8
 
9
9
 
10
10
  var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
@@ -44,7 +44,7 @@ function isSummaryData(value) {
44
44
  }
45
45
  function TicketLiveProvider({ children, enabled = true }) {
46
46
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
47
- const identity = _chunkV3UJ6NDRcjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunkTPH4SRR2cjs.useChatIdentity.call(void 0, enabled);
48
48
  const queryClient = _reactquery.useQueryClient.call(void 0, );
49
49
  const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
50
50
  const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
160
160
  _react2.default.useEffect(() => {
161
161
  if (!streamEnabled) return void 0;
162
162
  if (typeof window === "undefined") return void 0;
163
- subscriptionRef.current = _chunkWZX26ODJcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkX4LAMJHDcjs.createSseSubscription.call(void 0, {
164
164
  url: streamUrl,
165
165
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
166
166
  onStatusChange: (status) => handlersRef.current.onStatus(status),
@@ -6,25 +6,25 @@ var _chunkCLAJIQ7Ecjs = require('./chunk-CLAJIQ7E.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkBO6ZOAPBcjs = require('./chunk-BO6ZOAPB.cjs');
9
+ var _chunk77IKUBSHcjs = require('./chunk-77IKUBSH.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- var _chunk6KEJQR6Lcjs = require('./chunk-6KEJQR6L.cjs');
16
+ var _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
17
17
 
18
18
 
19
19
  var _chunkALPRQ3ZXcjs = require('./chunk-ALPRQ3ZX.cjs');
20
20
 
21
21
 
22
- var _chunkWZX26ODJcjs = require('./chunk-WZX26ODJ.cjs');
22
+ var _chunkX4LAMJHDcjs = require('./chunk-X4LAMJHD.cjs');
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkV3UJ6NDRcjs = require('./chunk-V3UJ6NDR.cjs');
27
+ var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
28
28
 
29
29
 
30
30
  var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
@@ -146,14 +146,14 @@ function OnboardingGuidesCatalogView({
146
146
  });
147
147
  };
148
148
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
149
- const docSearch = _chunkBO6ZOAPBcjs.useDocSearch.call(void 0, {
149
+ const docSearch = _chunk77IKUBSHcjs.useDocSearch.call(void 0, {
150
150
  source,
151
151
  baseRoute: basePath,
152
152
  onNavigate: (path) => router.push(path),
153
153
  tableIds: ["onboarding-guides"]
154
154
  });
155
155
  const defaultRenderCard = (guide) => {
156
- const cta = _chunkWZX26ODJcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
156
+ const cta = _chunkX4LAMJHDcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
157
157
  type: "onboarding_guide",
158
158
  slug: guide.slug,
159
159
  basePath,
@@ -164,7 +164,7 @@ function OnboardingGuidesCatalogView({
164
164
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
165
165
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
166
166
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
167
- _chunkBO6ZOAPBcjs.DocSearchBar,
167
+ _chunk77IKUBSHcjs.DocSearchBar,
168
168
  {
169
169
  placeholder: "Search onboarding guides, releases, case studies\u2026",
170
170
  query: docSearch.query,
@@ -176,7 +176,7 @@ function OnboardingGuidesCatalogView({
176
176
  }
177
177
  ),
178
178
  sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
179
- _chunk6KEJQR6Lcjs.FilterPillRow,
179
+ _chunkLIGDPFDMcjs.FilterPillRow,
180
180
  {
181
181
  label: "Section",
182
182
  selectedValue: activeSection,
@@ -186,7 +186,7 @@ function OnboardingGuidesCatalogView({
186
186
  )
187
187
  ] });
188
188
  if (selfFetch && guidesRes.error) {
189
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6KEJQR6Lcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
189
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLIGDPFDMcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
190
190
  }
191
191
  if (selfFetch && guidesRes.data == null && isLoading) {
192
192
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
@@ -218,7 +218,7 @@ function OnboardingGuideDetailView({
218
218
  slug,
219
219
  guideEndpoint,
220
220
  related = [],
221
- MarkdownRenderer = _chunk6KEJQR6Lcjs.RichMarkdownRenderer,
221
+ MarkdownRenderer = _chunkLIGDPFDMcjs.RichMarkdownRenderer,
222
222
  renderRelatedCard,
223
223
  backHref,
224
224
  backLabel = "Back to Getting Started",
@@ -228,9 +228,9 @@ function OnboardingGuideDetailView({
228
228
  }) {
229
229
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
230
230
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
231
- const captions = _chunkV3UJ6NDRcjs.useCaptions.call(void 0, );
231
+ const captions = _chunkTPH4SRR2cjs.useCaptions.call(void 0, );
232
232
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
233
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6KEJQR6Lcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
233
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLIGDPFDMcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
234
234
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
235
235
  const { data: guide, isLoading, error, reload } = _chunkXJ3J4UIScjs.useSelfFetch.call(void 0, url, { initialData });
236
236
  const { ref: videoWarmupRef } = _chunk3RFQPQ7Zcjs.useVideoWarmup.call(void 0, {
@@ -238,7 +238,7 @@ function OnboardingGuideDetailView({
238
238
  supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
239
239
  });
240
240
  if (error || !guide && !isLoading) {
241
- return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6KEJQR6Lcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
241
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLIGDPFDMcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
242
242
  }
243
243
  if (!guide) {
244
244
  return renderShell(
@@ -252,7 +252,7 @@ function OnboardingGuideDetailView({
252
252
  // worst), so it's the terminal fallback — no trailing `|| undefined` needed.
253
253
  _chunkI5MSCD57cjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
254
254
  const defaultRenderRelatedCard = (g) => {
255
- const cta = _chunkWZX26ODJcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
255
+ const cta = _chunkX4LAMJHDcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
256
256
  type: "onboarding_guide",
257
257
  slug: g.slug,
258
258
  basePath,
@@ -270,7 +270,7 @@ function OnboardingGuideDetailView({
270
270
  titleWrap: true,
271
271
  backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
272
272
  children: [
273
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6KEJQR6Lcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
273
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLIGDPFDMcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
274
274
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
275
275
  _chunkOFO75R2Ocjs.EntityAuthorCard,
276
276
  {
@@ -287,7 +287,7 @@ function OnboardingGuideDetailView({
287
287
  }
288
288
  ),
289
289
  (guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
290
- _chunkV3UJ6NDRcjs.EntityVideoSection,
290
+ _chunkTPH4SRR2cjs.EntityVideoSection,
291
291
  {
292
292
  mainVideoUrl: guide.main_video_url,
293
293
  youtubeUrl: guide.youtube_url || void 0,
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
304
304
  ) }),
305
305
  guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
306
306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
307
- _chunkV3UJ6NDRcjs.VideoBitesStrip,
307
+ _chunkTPH4SRR2cjs.VideoBitesStrip,
308
308
  {
309
309
  bites: _nullishCoalesce(guide.video_bites, () => ( [])),
310
310
  filterPublished: true,
@@ -1,13 +1,13 @@
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 _chunk6KEJQR6Lcjs = require('./chunk-6KEJQR6L.cjs');
4
+ var _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkV3UJ6NDRcjs = require('./chunk-V3UJ6NDR.cjs');
10
+ var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
11
11
 
12
12
 
13
13
  var _chunkCSJO7ZGNcjs = require('./chunk-CSJO7ZGN.cjs');
@@ -40,7 +40,7 @@ var _jsxruntime = require('react/jsx-runtime');
40
40
  function DocSearchResultRow({ result, isHighlighted }) {
41
41
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
42
42
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
43
- const { Icon: SourceIcon, label: iconLabel } = _chunkV3UJ6NDRcjs.resolveSourceIcon.call(void 0, {
43
+ const { Icon: SourceIcon, label: iconLabel } = _chunkTPH4SRR2cjs.resolveSourceIcon.call(void 0, {
44
44
  sourceRepo,
45
45
  documentType: docType
46
46
  });
@@ -70,7 +70,7 @@ function DocSearchBar({
70
70
  renderResult
71
71
  }) {
72
72
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
73
- _chunk6KEJQR6Lcjs.SearchInput,
73
+ _chunkLIGDPFDMcjs.SearchInput,
74
74
  {
75
75
  placeholder,
76
76
  value: query,
@@ -120,7 +120,7 @@ function mapDocSearchResults(docs) {
120
120
  results.push({
121
121
  id: `group-${entry.repo}`,
122
122
  // Same table label and count as the chat's grouped chip: one owner each.
123
- title: `${_chunkV3UJ6NDRcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkV3UJ6NDRcjs.recordCountLabel.call(void 0, rows.length)}`,
123
+ title: `${_chunkTPH4SRR2cjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkTPH4SRR2cjs.recordCountLabel.call(void 0, rows.length)}`,
124
124
  path: rows[0].path,
125
125
  type: "file",
126
126
  metadata: {
@@ -336,7 +336,7 @@ function useDocSearch(config) {
336
336
  return;
337
337
  case "ask-ai":
338
338
  setKeepOpen(false);
339
- window.dispatchEvent(new CustomEvent(_chunkV3UJ6NDRcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
339
+ window.dispatchEvent(new CustomEvent(_chunkTPH4SRR2cjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
340
340
  return;
341
341
  case "route":
342
342
  setKeepOpen(false);
@@ -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 _chunkWZX26ODJcjs = require('./chunk-WZX26ODJ.cjs');
4
+ var _chunkX4LAMJHDcjs = require('./chunk-X4LAMJHD.cjs');
5
5
 
6
6
 
7
- var _chunkV3UJ6NDRcjs = require('./chunk-V3UJ6NDR.cjs');
7
+ var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
8
8
 
9
9
 
10
10
 
@@ -50,7 +50,7 @@ function HorizontalSectionNav({
50
50
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
51
51
  brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
52
52
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
53
- _chunkV3UJ6NDRcjs.ScrollShadow,
53
+ _chunkTPH4SRR2cjs.ScrollShadow,
54
54
  {
55
55
  axis: "horizontal",
56
56
  className: "min-w-0 flex-1",
@@ -335,7 +335,7 @@ function useScrollSpy(sections, options = {}) {
335
335
  // src/components/navigation/multi-level-navigation.tsx
336
336
  var _lucidereact = require('lucide-react');
337
337
 
338
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunkWZX26ODJcjs.DEFAULT_FOLDER_INDEX_FILE;
338
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkX4LAMJHDcjs.DEFAULT_FOLDER_INDEX_FILE;
339
339
  function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
340
340
  const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
341
341
  if (selectedPath === node.path) {