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

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 (106) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-FHT7SMA7.cjs → chunk-35BJY5RR.cjs} +47 -47
  3. package/dist/{chunk-ALPRQ3ZX.cjs → chunk-3GG3QAPT.cjs} +15 -15
  4. package/dist/{chunk-34TWK3JE.cjs → chunk-5E6JHOGX.cjs} +3 -3
  5. package/dist/{chunk-OFO75R2O.cjs → chunk-7Z4EQOIX.cjs} +174 -174
  6. package/dist/{chunk-C6LPOYDM.cjs → chunk-AG4HR6Z6.cjs} +8 -8
  7. package/dist/{chunk-XJ3J4UIS.cjs → chunk-B27XV2TC.cjs} +19 -19
  8. package/dist/{chunk-MJFTWHV6.cjs → chunk-C6JHDRK3.cjs} +6 -6
  9. package/dist/{chunk-2YXOD2KL.cjs → chunk-H3RYUTND.cjs} +5 -0
  10. package/dist/{chunk-53I4YHRT.cjs → chunk-ITQZK3UT.cjs} +3 -3
  11. package/dist/{chunk-H52GKJ36.cjs → chunk-J3E5UN2O.cjs} +19 -19
  12. package/dist/{chunk-5WC535NJ.cjs → chunk-JLAYELWS.cjs} +40 -40
  13. package/dist/{chunk-UGCRLRCT.cjs → chunk-NO5UJLLQ.cjs} +2 -5
  14. package/dist/{chunk-5P7WBA2U.cjs → chunk-QXQHCX2R.cjs} +4 -4
  15. package/dist/{chunk-ESRA7NUI.cjs → chunk-R45NJ5ZA.cjs} +90 -90
  16. package/dist/{chunk-CVBHB4OZ.cjs → chunk-RGYLC3US.cjs} +7 -7
  17. package/dist/{chunk-TPH4SRR2.cjs → chunk-SDF5UUTE.cjs} +800 -659
  18. package/dist/{chunk-3TELPOVH.cjs → chunk-T4BBZ5ST.cjs} +2 -2
  19. package/dist/{chunk-CLAJIQ7E.cjs → chunk-UNRNLSG4.cjs} +19 -19
  20. package/dist/{chunk-NOUROZYH.cjs → chunk-UVTJT5BK.cjs} +24 -24
  21. package/dist/{chunk-77IKUBSH.cjs → chunk-W77VPNBJ.cjs} +12 -12
  22. package/dist/{chunk-DGEB5GUZ.cjs → chunk-WBOHLXFC.cjs} +2 -2
  23. package/dist/{chunk-X4LAMJHD.cjs → chunk-WIT36ZTN.cjs} +113 -113
  24. package/dist/{chunk-QOONZMSQ.cjs → chunk-XSOGT6DF.cjs} +28 -28
  25. package/dist/{chunk-LIGDPFDM.cjs → chunk-XW6WSW36.cjs} +771 -771
  26. package/dist/{chunk-4WNBVNGP.cjs → chunk-Y7AZCDLZ.cjs} +20 -20
  27. package/dist/{chunk-SDOCZTST.cjs → chunk-Z6TUOE6L.cjs} +41 -41
  28. package/dist/{chunk-RVLQHSID.cjs → chunk-ZGADZHLD.cjs} +101 -101
  29. package/dist/{chunk-MU7FFN6M.cjs → chunk-ZJ77IOMY.cjs} +83 -83
  30. package/dist/{cloud-tenants-JDPC2DYF.cjs → cloud-tenants-7LTS4DAP.cjs} +11 -11
  31. package/dist/components/case-studies/index.cjs +24 -24
  32. package/dist/components/chat/chat-dialog-menu-items.js +6 -6
  33. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  34. package/dist/components/chat/chat-message-enhanced.js +3 -0
  35. package/dist/components/chat/chat-panel-context.d.ts +3 -0
  36. package/dist/components/chat/chat-panel-context.d.ts.map +1 -1
  37. package/dist/components/chat/embeddable-chat.d.ts +20 -0
  38. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  39. package/dist/components/chat/embeddable-chat.js +78 -8
  40. package/dist/components/chat/hooks/index.d.ts +1 -0
  41. package/dist/components/chat/hooks/index.d.ts.map +1 -1
  42. package/dist/components/chat/hooks/index.js +1 -0
  43. package/dist/components/chat/hooks/use-what-to-ask.d.ts +69 -0
  44. package/dist/components/chat/hooks/use-what-to-ask.d.ts.map +1 -0
  45. package/dist/components/chat/hooks/use-what-to-ask.js +106 -0
  46. package/dist/components/chat/index.cjs +15 -7
  47. package/dist/components/chat/index.d.ts +1 -0
  48. package/dist/components/chat/index.d.ts.map +1 -1
  49. package/dist/components/chat/index.js +1 -0
  50. package/dist/components/chat/mingo-chat-header.d.ts +4 -2
  51. package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
  52. package/dist/components/chat/mingo-chat-header.js +7 -2
  53. package/dist/components/chat/suggestions-display.d.ts +11 -0
  54. package/dist/components/chat/suggestions-display.d.ts.map +1 -0
  55. package/dist/components/chat/suggestions-display.js +27 -0
  56. package/dist/components/chat/types/message.types.d.ts +27 -1
  57. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  58. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
  59. package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
  60. package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
  61. package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
  62. package/dist/components/contact/index.cjs +12 -12
  63. package/dist/components/docs/index.cjs +15 -15
  64. package/dist/components/embeds/index.cjs +12 -12
  65. package/dist/components/faq/index.cjs +13 -13
  66. package/dist/components/features/index.cjs +11 -11
  67. package/dist/components/help-center-pages/index.cjs +112 -112
  68. package/dist/components/index.cjs +69 -61
  69. package/dist/components/loading/loading-region.d.ts.map +1 -1
  70. package/dist/components/loading/loading-region.js +2 -5
  71. package/dist/components/loading/unified-skeleton.d.ts +2 -0
  72. package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
  73. package/dist/components/loading/unified-skeleton.js +5 -0
  74. package/dist/components/meeting-scheduler/index.cjs +72 -72
  75. package/dist/components/navigation/index.cjs +14 -14
  76. package/dist/components/onboarding-guides/index.cjs +14 -14
  77. package/dist/components/product-demo/index.cjs +12 -12
  78. package/dist/components/related-content/index.cjs +7 -7
  79. package/dist/components/tickets/index.cjs +17 -17
  80. package/dist/components/ui/file-manager/index.cjs +30 -30
  81. package/dist/components/ui/index.cjs +19 -11
  82. package/dist/{devices-ADQWD37J.cjs → devices-CGDJAYRB.cjs} +12 -12
  83. package/dist/{embeddable-chat-7YF2JMPS.cjs → embeddable-chat-CMEHSDV7.cjs} +165 -93
  84. package/dist/index.cjs +23 -15
  85. package/dist/{knowledge-TNS64EGK.cjs → knowledge-X5I4QJKV.cjs} +12 -12
  86. package/dist/{logs-754MDDE4.cjs → logs-GDGIRJFI.cjs} +19 -19
  87. package/dist/{policies-Q23DPIH6.cjs → policies-2UOCENDX.cjs} +15 -15
  88. package/dist/{remote-session-ZKP2W3IS.cjs → remote-session-57DGC4X3.cjs} +6 -6
  89. package/dist/{scripts-DCYLK2RZ.cjs → scripts-AS4GEG6L.cjs} +18 -18
  90. package/dist/{software-update-XCMGUIER.cjs → software-update-ADPUFMFY.cjs} +15 -15
  91. package/dist/{tickets-board-BNW4AYFL.cjs → tickets-board-EP6L3BSV.cjs} +7 -7
  92. package/package.json +1 -1
  93. package/src/components/chat/chat-dialog-menu-items.tsx +6 -6
  94. package/src/components/chat/chat-message-enhanced.tsx +3 -0
  95. package/src/components/chat/chat-panel-context.tsx +3 -0
  96. package/src/components/chat/embeddable-chat.tsx +132 -9
  97. package/src/components/chat/hooks/index.ts +1 -0
  98. package/src/components/chat/hooks/use-what-to-ask.ts +203 -0
  99. package/src/components/chat/index.ts +1 -0
  100. package/src/components/chat/mingo-chat-header.tsx +11 -4
  101. package/src/components/chat/suggestions-display.tsx +41 -0
  102. package/src/components/chat/types/message.types.ts +31 -1
  103. package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
  104. package/src/components/chat/utils/message-segment-accumulator.ts +4 -0
  105. package/src/components/loading/loading-region.tsx +4 -9
  106. package/src/components/loading/unified-skeleton.tsx +13 -0
@@ -88,7 +88,7 @@ var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
88
88
  var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
89
89
 
90
90
 
91
- var _chunk2YXOD2KLcjs = require('./chunk-2YXOD2KL.cjs');
91
+ var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
92
92
 
93
93
 
94
94
  var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
@@ -806,20 +806,20 @@ var TicketCardSkeleton = _react.forwardRef.call(void 0,
806
806
  children: [
807
807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
808
808
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
809
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center text-h3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-4 w-3/4" }) }),
809
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center text-h3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4" }) }),
810
810
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-h6", children: [
811
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "size-4 shrink-0 rounded-sm" }),
812
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-3 w-1/2" })
811
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 shrink-0 rounded-sm" }),
812
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-1/2" })
813
813
  ] })
814
814
  ] }),
815
815
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
816
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "size-4 rounded-sm" }),
817
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "size-8 rounded-full" })
816
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 rounded-sm" }),
817
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-8 rounded-full" })
818
818
  ] })
819
819
  ] }),
820
820
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 items-center gap-[var(--spacing-system-xxs)]", children: [
821
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-8 w-16 rounded-md" }),
822
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-8 w-12 rounded-md" })
821
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-16 rounded-md" }),
822
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-12 rounded-md" })
823
823
  ] })
824
824
  ]
825
825
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkOFO75R2Ocjs = require('./chunk-OFO75R2O.cjs');
6
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
7
7
 
8
8
 
9
9
 
@@ -16,13 +16,13 @@ var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
16
16
  var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
17
17
 
18
18
 
19
- var _chunkUGCRLRCTcjs = require('./chunk-UGCRLRCT.cjs');
19
+ var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
20
20
 
21
21
 
22
22
  var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
23
23
 
24
24
 
25
- var _chunk2YXOD2KLcjs = require('./chunk-2YXOD2KL.cjs');
25
+ var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
26
26
 
27
27
 
28
28
  var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
@@ -57,7 +57,7 @@ function pickBadgePaletteColor({
57
57
  var _jsxruntime = require('react/jsx-runtime');
58
58
  function PaletteBadge({ text, color, className, variant = "button" }) {
59
59
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
60
- _chunkOFO75R2Ocjs.StatusBadge,
60
+ _chunk7Z4EQOIXcjs.StatusBadge,
61
61
  {
62
62
  text,
63
63
  colorScheme: isBadgePaletteKey(color) ? color : "default",
@@ -147,21 +147,21 @@ function AdminContentCardSkeleton({
147
147
  className
148
148
  ),
149
149
  children: [
150
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "aspect-[3/2] w-full shrink-0" }),
150
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "aspect-[3/2] w-full shrink-0" }),
151
151
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col gap-[var(--spacing-system-sf)] p-5", children: [
152
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-[2lh] w-full rounded text-h3" }),
153
- subtitleRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-[1lh] w-1/2 rounded text-h6" }),
154
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-[2lh] w-full rounded text-h6" }),
152
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[2lh] w-full rounded text-h3" }),
153
+ subtitleRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[1lh] w-1/2 rounded text-h6" }),
154
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[2lh] w-full rounded text-h6" }),
155
155
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-7 items-center gap-[var(--spacing-system-xsf)]", children: [
156
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-5 w-20 rounded-full" }),
157
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-5 w-24 rounded-full" })
156
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-20 rounded-full" }),
157
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-24 rounded-full" })
158
158
  ] }),
159
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-[1lh] w-32 rounded text-h6" }),
159
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[1lh] w-32 rounded text-h6" }),
160
160
  actions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-auto flex items-center justify-between border-t border-ods-border pt-[var(--spacing-system-sf)]", children: [
161
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
161
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
162
162
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[var(--spacing-system-xsf)]", children: [
163
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-10 w-20 rounded" }),
164
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-10 w-20 rounded" })
163
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-20 rounded" }),
164
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-20 rounded" })
165
165
  ] })
166
166
  ] })
167
167
  ] })
@@ -177,7 +177,7 @@ function AdminContentCardGridSkeleton({
177
177
  region = true
178
178
  }) {
179
179
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
180
- _chunkUGCRLRCTcjs.LoadingRegion,
180
+ _chunkNO5UJLLQcjs.LoadingRegion,
181
181
  {
182
182
  label,
183
183
  announce: region,
@@ -238,7 +238,7 @@ var STATUS_BADGE_SCHEME = {
238
238
  abandoned: "default"
239
239
  };
240
240
  function EmployeeEntryBadge({ children }) {
241
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFO75R2Ocjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
241
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
242
242
  }
243
243
  function EmployeeEntryCard({
244
244
  entry,
@@ -251,7 +251,7 @@ function EmployeeEntryCard({
251
251
  className
252
252
  }) {
253
253
  const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
254
- _chunkOFO75R2Ocjs.AdminContentCard,
254
+ _chunk7Z4EQOIXcjs.AdminContentCard,
255
255
  {
256
256
  imageUrl: entry.featured_image || entry.main_video_thumbnail,
257
257
  placeholderUrl,
@@ -259,7 +259,7 @@ function EmployeeEntryCard({
259
259
  summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
260
260
  badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
261
261
  entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
262
- _chunkOFO75R2Ocjs.StatusBadge,
262
+ _chunk7Z4EQOIXcjs.StatusBadge,
263
263
  {
264
264
  text: entry.status,
265
265
  colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
@@ -274,7 +274,7 @@ function EmployeeEntryCard({
274
274
  _optionalChain([entry, 'access', _8 => _8.author, 'optionalAccess', _9 => _9.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
275
275
  _chunkHOTM4UM6cjs.next_image_default,
276
276
  {
277
- src: _nullishCoalesce(_chunkOFO75R2Ocjs.getProxiedImageUrl2.call(void 0, entry.author.avatar_url), () => ( entry.author.avatar_url)),
277
+ src: _nullishCoalesce(_chunk7Z4EQOIXcjs.getProxiedImageUrl2.call(void 0, entry.author.avatar_url), () => ( entry.author.avatar_url)),
278
278
  alt: "",
279
279
  className: "h-[1lh] w-[1lh] shrink-0 rounded-full object-cover",
280
280
  width: 20,
@@ -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 _chunkH52GKJ36cjs = require('./chunk-H52GKJ36.cjs');
4
+ var _chunkJ3E5UN2Ocjs = require('./chunk-J3E5UN2O.cjs');
5
5
 
6
6
 
7
- var _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
7
+ var _chunkXW6WSW36cjs = require('./chunk-XW6WSW36.cjs');
8
8
 
9
9
 
10
- var _chunkALPRQ3ZXcjs = require('./chunk-ALPRQ3ZX.cjs');
10
+ var _chunk3GG3QAPTcjs = require('./chunk-3GG3QAPT.cjs');
11
11
 
12
12
 
13
13
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -34,8 +34,8 @@ function FaqDocumentPage({
34
34
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
35
35
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
36
36
  };
37
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38
- _chunkH52GKJ36cjs.FaqSection,
37
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38
+ _chunkJ3E5UN2Ocjs.FaqSection,
39
39
  {
40
40
  initialFaqs,
41
41
  heading: null,
@@ -49,7 +49,7 @@ function FaqDocumentPage({
49
49
  ask
50
50
  }
51
51
  ) });
52
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLIGDPFDMcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
52
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
53
53
  }
54
54
 
55
55
 
@@ -31,6 +31,9 @@ function UnifiedSkeleton({
31
31
  rectangular: "h-4"
32
32
  };
33
33
  const sizedByAspect = /(?:^|\s)aspect-/.test(_nullishCoalesce(className, () => ( "")));
34
+ const setsDisplay = /(?:^|\s)(?:inline-block|inline-flex|inline-grid|inline|block|flex|grid|contents|hidden)(?=\s|$)/.test(
35
+ _nullishCoalesce(className, () => ( ""))
36
+ );
34
37
  const style = {
35
38
  width,
36
39
  height
@@ -39,6 +42,8 @@ function UnifiedSkeleton({
39
42
  Tag,
40
43
  {
41
44
  className: _chunk3ATAYP36cjs.cn.call(void 0,
45
+ // An inline span ignores width and height: without a display of its own the bar draws at 0×0.
46
+ Tag === "span" && !setsDisplay && "inline-block max-w-full align-middle",
42
47
  animate ? SKELETON_SURFACE_CLASS : "bg-ods-skeleton",
43
48
  variantClasses[variant],
44
49
  !height && !style.height && !sizedByAspect && defaultHeights[variant],
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
4
+ var _chunkXW6WSW36cjs = require('./chunk-XW6WSW36.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
- _chunkLIGDPFDMcjs.EmbedViewerFrame,
51
+ _chunkXW6WSW36cjs.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
- _chunkLIGDPFDMcjs.EmbedViewerFrame,
86
+ _chunkXW6WSW36cjs.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,
@@ -5,12 +5,12 @@ var _chunkVUWPLQBYcjs = require('./chunk-VUWPLQBY.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkX4LAMJHDcjs = require('./chunk-X4LAMJHD.cjs');
8
+ var _chunkWIT36ZTNcjs = require('./chunk-WIT36ZTN.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
13
+ var _chunkSDF5UUTEcjs = require('./chunk-SDF5UUTE.cjs');
14
14
 
15
15
 
16
16
 
@@ -25,22 +25,22 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunkXJ3J4UIScjs = require('./chunk-XJ3J4UIS.cjs');
28
+ var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
29
29
 
30
30
 
31
- var _chunkOFO75R2Ocjs = require('./chunk-OFO75R2O.cjs');
31
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
32
32
 
33
33
 
34
34
  var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
35
35
 
36
36
 
37
- var _chunkUGCRLRCTcjs = require('./chunk-UGCRLRCT.cjs');
37
+ var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
38
38
 
39
39
 
40
40
  var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
41
41
 
42
42
 
43
- var _chunk2YXOD2KLcjs = require('./chunk-2YXOD2KL.cjs');
43
+ var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
44
44
 
45
45
 
46
46
  var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
@@ -63,7 +63,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
63
63
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
64
64
  "div",
65
65
  {
66
- id: _chunkTPH4SRR2cjs.faqItemAnchor.call(void 0, item.id),
66
+ id: _chunkSDF5UUTEcjs.faqItemAnchor.call(void 0, item.id),
67
67
  className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
68
68
  children: [
69
69
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -116,14 +116,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
116
116
 
117
117
  var PICK_ROOT_MARGIN = "600px";
118
118
  function faqAskCardShown(assistant) {
119
- return _chunkX4LAMJHDcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
119
+ return _chunkWIT36ZTNcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
120
120
  }
121
121
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
122
122
  const { ref, inView } = _chunkCSJO7ZGNcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
123
123
  const [reached, setReached] = _react.useState.call(void 0, false);
124
124
  if (inView && !reached) setReached(true);
125
125
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
126
- _chunkX4LAMJHDcjs.AssistantAskPrompts,
126
+ _chunkWIT36ZTNcjs.AssistantAskPrompts,
127
127
  {
128
128
  variant: "card",
129
129
  topic,
@@ -176,7 +176,7 @@ function pageFaqProps(faq) {
176
176
  }
177
177
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
178
178
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
179
- return _chunkXJ3J4UIScjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
179
+ return _chunkB27XV2TCcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
180
180
  apiBaseUrl,
181
181
  entityType,
182
182
  entityId,
@@ -197,7 +197,7 @@ function groupFaqsBySection(faqs) {
197
197
  }
198
198
  let group = byName.get(name);
199
199
  if (!group) {
200
- group = { section: name, slug: _chunkTPH4SRR2cjs.faqSectionSlug.call(void 0, name), items: [] };
200
+ group = { section: name, slug: _chunkSDF5UUTEcjs.faqSectionSlug.call(void 0, name), items: [] };
201
201
  byName.set(name, group);
202
202
  }
203
203
  group.items.push(item);
@@ -252,7 +252,7 @@ function GroupedFaqList({
252
252
  }, [slugKey]);
253
253
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
254
254
  _react.useEffect.call(void 0, () => {
255
- const refresh = () => setHashTarget(_chunkTPH4SRR2cjs.parseFaqHash.call(void 0, window.location.hash));
255
+ const refresh = () => setHashTarget(_chunkSDF5UUTEcjs.parseFaqHash.call(void 0, window.location.hash));
256
256
  refresh();
257
257
  window.addEventListener("hashchange", refresh);
258
258
  return () => window.removeEventListener("hashchange", refresh);
@@ -302,7 +302,7 @@ function GroupedFaqList({
302
302
  const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
303
303
  const key = groupKey(group);
304
304
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
305
- group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkOFO75R2Ocjs.SECTION_HEADING_CLASS, children: group.section }),
305
+ group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunk7Z4EQOIXcjs.SECTION_HEADING_CLASS, children: group.section }),
306
306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
307
307
  FaqAccordion,
308
308
  {
@@ -331,11 +331,11 @@ function GroupedFaqList({
331
331
  function FaqSkeleton({
332
332
  region = true
333
333
  } = {}) {
334
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUGCRLRCTcjs.LoadingRegion, { label: "Loading questions", announce: region, className: "space-y-8", children: [
335
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-12 w-2/3 rounded content-md:h-14" }),
334
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading questions", announce: region, className: "space-y-8", children: [
335
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-2/3 rounded content-md:h-14" }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full divide-y divide-ods-border overflow-hidden rounded-md border border-ods-border bg-transparent", children: Array.from({ length: 8 }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-6 px-6 py-4 content-md:gap-10", children: [
337
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-6 w-5/6 rounded" }),
338
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "size-6 rounded" })
337
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-5/6 rounded" }),
338
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-6 rounded" })
339
339
  ] }, idx)) })
340
340
  ] });
341
341
  }
@@ -363,11 +363,11 @@ function FaqSection({
363
363
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
364
364
  [initialFaqs]
365
365
  );
366
- const { data, dataUrl, isLoading, error } = _chunkXJ3J4UIScjs.useSelfFetch.call(void 0, url, { initialData });
366
+ const { data, dataUrl, isLoading, error } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, url, { initialData });
367
367
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
368
368
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
369
369
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
370
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkOFO75R2Ocjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
370
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk7Z4EQOIXcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
371
371
  const headingNode = showTopic && topic ? (
372
372
  // The host's heading may arrive from a server component, still streaming: React cannot check such a
373
373
  // node when it sits in a list of siblings and warns about a missing key. So it is the ONLY child of its
@@ -2,29 +2,29 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkCLAJIQ7Ecjs = require('./chunk-CLAJIQ7E.cjs');
5
+ var _chunkUNRNLSG4cjs = require('./chunk-UNRNLSG4.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunk77IKUBSHcjs = require('./chunk-77IKUBSH.cjs');
9
+ var _chunkW77VPNBJcjs = require('./chunk-W77VPNBJ.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- var _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
16
+ var _chunkXW6WSW36cjs = require('./chunk-XW6WSW36.cjs');
17
17
 
18
18
 
19
- var _chunkALPRQ3ZXcjs = require('./chunk-ALPRQ3ZX.cjs');
19
+ var _chunk3GG3QAPTcjs = require('./chunk-3GG3QAPT.cjs');
20
20
 
21
21
 
22
- var _chunkX4LAMJHDcjs = require('./chunk-X4LAMJHD.cjs');
22
+ var _chunkWIT36ZTNcjs = require('./chunk-WIT36ZTN.cjs');
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
27
+ var _chunkSDF5UUTEcjs = require('./chunk-SDF5UUTE.cjs');
28
28
 
29
29
 
30
30
  var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
@@ -34,13 +34,13 @@ var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
34
34
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
35
35
 
36
36
 
37
- var _chunkXJ3J4UIScjs = require('./chunk-XJ3J4UIS.cjs');
37
+ var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
38
38
 
39
39
 
40
40
 
41
41
 
42
42
 
43
- var _chunkOFO75R2Ocjs = require('./chunk-OFO75R2O.cjs');
43
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
44
44
 
45
45
 
46
46
  var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
@@ -49,10 +49,10 @@ var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
49
49
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
50
50
 
51
51
 
52
- var _chunkUGCRLRCTcjs = require('./chunk-UGCRLRCT.cjs');
52
+ var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
53
53
 
54
54
 
55
- var _chunk2YXOD2KLcjs = require('./chunk-2YXOD2KL.cjs');
55
+ var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
56
56
 
57
57
  // src/components/onboarding-guides/onboarding-guides-catalog-view.tsx
58
58
  var _lucidereact = require('lucide-react');
@@ -63,20 +63,20 @@ var _jsxruntime = require('react/jsx-runtime');
63
63
  function OnboardingGuidesCatalogSkeleton({
64
64
  region = true
65
65
  } = {}) {
66
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUGCRLRCTcjs.LoadingRegion, { label: "Loading onboarding guides", announce: region, className: "flex w-full flex-col gap-10", children: [
66
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading onboarding guides", announce: region, className: "flex w-full flex-col gap-10", children: [
67
67
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
68
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-12 w-full rounded-md" }),
68
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-full rounded-md" }),
69
69
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
70
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-4 w-14 rounded" }),
71
- [0, 1, 2, 3].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded-md" }, i))
70
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-14 rounded" }),
71
+ [0, 1, 2, 3].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded-md" }, i))
72
72
  ] })
73
73
  ] }),
74
74
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: [4, 3, 3].map((cardCount, sectionIdx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: "space-y-4", children: [
75
75
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 tracking-[-0.36px] text-ods-text-primary text-h3", children: [
76
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-6 w-40 rounded" }),
77
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-5 w-8 rounded-full" })
76
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-40 rounded" }),
77
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-8 rounded-full" })
78
78
  ] }),
79
- /* @__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, _chunkOFO75R2Ocjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
79
+ /* @__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, _chunk7Z4EQOIXcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
80
80
  ] }, sectionIdx)) })
81
81
  ] });
82
82
  }
@@ -100,10 +100,10 @@ function OnboardingGuidesCatalogView({
100
100
  const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
101
101
  const activeSection = sectionValue || "all";
102
102
  const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
103
- const guidesRes = _chunkXJ3J4UIScjs.useSelfFetch.call(void 0,
103
+ const guidesRes = _chunkB27XV2TCcjs.useSelfFetch.call(void 0,
104
104
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
105
105
  );
106
- const sectionsRes = _chunkXJ3J4UIScjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
106
+ const sectionsRes = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
107
107
  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])]);
108
108
  const sections = _react.useMemo.call(void 0,
109
109
  () => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
@@ -146,25 +146,25 @@ function OnboardingGuidesCatalogView({
146
146
  });
147
147
  };
148
148
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
149
- const docSearch = _chunk77IKUBSHcjs.useDocSearch.call(void 0, {
149
+ const docSearch = _chunkW77VPNBJcjs.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 = _chunkX4LAMJHDcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
156
+ const cta = _chunkWIT36ZTNcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
157
157
  type: "onboarding_guide",
158
158
  slug: guide.slug,
159
159
  basePath,
160
160
  platforms: guide.onboarding_guide_platforms
161
161
  });
162
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFO75R2Ocjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
162
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
163
163
  };
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
- _chunk77IKUBSHcjs.DocSearchBar,
167
+ _chunkW77VPNBJcjs.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
- _chunkLIGDPFDMcjs.FilterPillRow,
179
+ _chunkXW6WSW36cjs.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, _chunkLIGDPFDMcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
189
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.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 = _chunkLIGDPFDMcjs.RichMarkdownRenderer,
221
+ MarkdownRenderer = _chunkXW6WSW36cjs.RichMarkdownRenderer,
222
222
  renderRelatedCard,
223
223
  backHref,
224
224
  backLabel = "Back to Getting Started",
@@ -228,23 +228,23 @@ function OnboardingGuideDetailView({
228
228
  }) {
229
229
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
230
230
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
231
- const captions = _chunkTPH4SRR2cjs.useCaptions.call(void 0, );
231
+ const captions = _chunkSDF5UUTEcjs.useCaptions.call(void 0, );
232
232
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
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 });
233
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.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
- const { data: guide, isLoading, error, reload } = _chunkXJ3J4UIScjs.useSelfFetch.call(void 0, url, { initialData });
235
+ const { data: guide, isLoading, error, reload } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, url, { initialData });
236
236
  const { ref: videoWarmupRef } = _chunk3RFQPQ7Zcjs.useVideoWarmup.call(void 0, {
237
237
  videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
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, _chunkLIGDPFDMcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
241
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.LoadError, { message: "Guide not found.", onRetry: reload }));
242
242
  }
243
243
  if (!guide) {
244
244
  return renderShell(
245
245
  // Match the loaded page's top offset (TitleBlock's
246
246
  // `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
247
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCLAJIQ7Ecjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
247
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNRNLSG4cjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
248
248
  );
249
249
  }
250
250
  const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
@@ -252,27 +252,27 @@ 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 = _chunkX4LAMJHDcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
255
+ const cta = _chunkWIT36ZTNcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
256
256
  type: "onboarding_guide",
257
257
  slug: g.slug,
258
258
  basePath,
259
259
  platforms: g.onboarding_guide_platforms
260
260
  });
261
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFO75R2Ocjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
261
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
262
262
  };
263
263
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
264
264
  return renderShell(
265
265
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
266
- _chunkALPRQ3ZXcjs.PageLayout,
266
+ _chunk3GG3QAPTcjs.PageLayout,
267
267
  {
268
268
  title: guide.title,
269
269
  titleSize: "h1",
270
270
  titleWrap: true,
271
271
  backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
272
272
  children: [
273
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLIGDPFDMcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
273
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
274
274
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
275
- _chunkOFO75R2Ocjs.EntityAuthorCard,
275
+ _chunk7Z4EQOIXcjs.EntityAuthorCard,
276
276
  {
277
277
  author: guide.author,
278
278
  authorHref,
@@ -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
- _chunkTPH4SRR2cjs.EntityVideoSection,
290
+ _chunkSDF5UUTEcjs.EntityVideoSection,
291
291
  {
292
292
  mainVideoUrl: guide.main_video_url,
293
293
  youtubeUrl: guide.youtube_url || void 0,
@@ -304,17 +304,17 @@ 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
- _chunkTPH4SRR2cjs.VideoBitesStrip,
307
+ _chunkSDF5UUTEcjs.VideoBitesStrip,
308
308
  {
309
309
  bites: _nullishCoalesce(guide.video_bites, () => ( [])),
310
310
  filterPublished: true,
311
311
  showTitle: false,
312
- profile: _chunkOFO75R2Ocjs.toStripProfile.call(void 0, guide.author),
312
+ profile: _chunk7Z4EQOIXcjs.toStripProfile.call(void 0, guide.author),
313
313
  href: `/onboarding-guides/${guide.slug}`
314
314
  }
315
315
  ),
316
316
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
317
- _chunkCLAJIQ7Ecjs.ArticleAuthorByline,
317
+ _chunkUNRNLSG4cjs.ArticleAuthorByline,
318
318
  {
319
319
  author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
320
320
  avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
@@ -11,11 +11,8 @@ function LoadingRegion({
11
11
  children,
12
12
  ...props
13
13
  }) {
14
- if (!announce) {
15
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { className, ...props, children });
16
- }
17
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tag, { "aria-busy": "true", className, ...props, children: [
18
- status && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "status", "aria-live": "polite", className: "sr-only", children: label }),
14
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tag, { "aria-busy": announce ? "true" : void 0, className, ...props, children: [
15
+ announce && status && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "status", "aria-live": "polite", className: "sr-only", children: label }),
19
16
  children
20
17
  ] });
21
18
  }