@flamingo-stack/openframe-frontend-core 0.0.776 → 0.0.780

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 (94) hide show
  1. package/dist/case-study-card-WXMWYGSW.cjs +25 -0
  2. package/dist/{chunk-2MF547RG.cjs → chunk-2JO5HNEF.cjs} +28 -26
  3. package/dist/{chunk-DDXQGTWB.cjs → chunk-2W3VDE4D.cjs} +5 -5
  4. package/dist/{chunk-R3JX4MXD.cjs → chunk-3ZLPYEL5.cjs} +10 -10
  5. package/dist/{chunk-3V27UHSH.cjs → chunk-4BBOHZM3.cjs} +17 -17
  6. package/dist/{chunk-XT5WEHFM.cjs → chunk-4NRVV3KO.cjs} +3 -3
  7. package/dist/{chunk-DGFDBPO7.cjs → chunk-5GJM7VRR.cjs} +1 -94
  8. package/dist/{chunk-E64HPPRH.cjs → chunk-5PK22JP7.cjs} +50 -50
  9. package/dist/{chunk-57B5RUYD.cjs → chunk-64KBI5MI.cjs} +2 -2
  10. package/dist/{chunk-ASMNNSUQ.cjs → chunk-7PNRXJX2.cjs} +3 -3
  11. package/dist/{chunk-OTZQP53Y.cjs → chunk-AQXEM7GI.cjs} +8 -8
  12. package/dist/{chunk-VFZFCRAL.cjs → chunk-AQXKXZWB.cjs} +4 -4
  13. package/dist/{chunk-VFUMM6JC.cjs → chunk-BEMGJDXI.cjs} +2 -2
  14. package/dist/{chunk-HY6BCZH7.cjs → chunk-BNUZKBNV.cjs} +3 -3
  15. package/dist/{chunk-2YB4X5WT.cjs → chunk-DQALLDTZ.cjs} +6 -6
  16. package/dist/{chunk-MWH5ZTMB.cjs → chunk-F3BASIMT.cjs} +97 -95
  17. package/dist/{chunk-Z5KX56TK.cjs → chunk-HUPDPANN.cjs} +4 -4
  18. package/dist/{chunk-2AZAJ7RK.cjs → chunk-I4IC3BRC.cjs} +53 -53
  19. package/dist/{chunk-BDYI6HBT.cjs → chunk-IE3QCYBT.cjs} +18 -16
  20. package/dist/{chunk-UM6HFGTI.cjs → chunk-ILRQXZBA.cjs} +53 -51
  21. package/dist/{chunk-CZIMISAR.cjs → chunk-JB2SEF6Q.cjs} +7 -7
  22. package/dist/{chunk-AMVI5VXM.cjs → chunk-KA3VQ6X2.cjs} +91 -89
  23. package/dist/{chunk-LJT2KRE2.cjs → chunk-KLTUTZBO.cjs} +24 -24
  24. package/dist/{chunk-EHJE3UWZ.cjs → chunk-LBGAHB6X.cjs} +20 -20
  25. package/dist/{chunk-LNCBN4BL.cjs → chunk-MLX6Z7TU.cjs} +2 -2
  26. package/dist/chunk-OH5LAH3X.cjs +1456 -0
  27. package/dist/{chunk-XXJL5GY3.cjs → chunk-OJZBZH56.cjs} +3 -3
  28. package/dist/{chunk-IXZNBDXT.cjs → chunk-OMHQZXCD.cjs} +28 -28
  29. package/dist/{chunk-KM2TVQCH.cjs → chunk-OWQVDWTK.cjs} +259 -247
  30. package/dist/{chunk-YFTQ2ALU.cjs → chunk-PQBGSVZE.cjs} +116 -82
  31. package/dist/{chunk-OJLZ7PGO.cjs → chunk-QEFDGI3Z.cjs} +37 -35
  32. package/dist/{chunk-6HY2NH7D.cjs → chunk-QIQYD75I.cjs} +2 -2
  33. package/dist/{chunk-RB7VLVMD.cjs → chunk-R6BKQKIF.cjs} +9 -7
  34. package/dist/{chunk-V3W56L2D.cjs → chunk-SIDDZZKL.cjs} +38 -38
  35. package/dist/chunk-SZHDXXMK.cjs +102 -0
  36. package/dist/{chunk-5P4TDV7V.cjs → chunk-TUAATMUE.cjs} +5 -93
  37. package/dist/{chunk-F65RSJVV.cjs → chunk-TVDQMG7I.cjs} +23 -21
  38. package/dist/{chunk-XN6LXMH5.cjs → chunk-UPAE4IV5.cjs} +595 -591
  39. package/dist/chunk-V4FXUIMH.cjs +92 -0
  40. package/dist/{chunk-2JRSYWFP.cjs → chunk-VXAKQRV7.cjs} +5 -5
  41. package/dist/{chunk-L55XLH5A.cjs → chunk-WR7KJML6.cjs} +33 -31
  42. package/dist/{chunk-5QP3K2CE.cjs → chunk-XEYL6AFZ.cjs} +9 -9
  43. package/dist/{chunk-MYHS4W2H.cjs → chunk-YG72MEHY.cjs} +213 -1647
  44. package/dist/{chunk-WAQPW4CB.cjs → chunk-YNECNYQF.cjs} +6 -6
  45. package/dist/{chunk-NWZSYG4S.cjs → chunk-YWQ3VXPL.cjs} +114 -112
  46. package/dist/{chunk-24OYQQZC.cjs → chunk-ZGWS3NJR.cjs} +22 -22
  47. package/dist/{cloud-tenants-QFE6QMR5.cjs → cloud-tenants-2ZLGCSGK.cjs} +27 -24
  48. package/dist/components/case-studies/index.cjs +45 -41
  49. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  50. package/dist/components/chat/chat-message-enhanced.js +8 -4
  51. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  52. package/dist/components/chat/chat-message-list.js +2 -0
  53. package/dist/components/chat/index.cjs +21 -17
  54. package/dist/components/chat/types/component.types.d.ts +9 -0
  55. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  56. package/dist/components/contact/index.cjs +28 -25
  57. package/dist/components/docs/index.cjs +31 -28
  58. package/dist/components/embeds/index.cjs +28 -25
  59. package/dist/components/faq/index.cjs +29 -26
  60. package/dist/components/features/index.cjs +28 -24
  61. package/dist/components/features/video-hover-preview.d.ts.map +1 -1
  62. package/dist/components/features/video-hover-preview.js +2 -5
  63. package/dist/components/features/video.d.ts.map +1 -1
  64. package/dist/components/features/video.js +1 -44
  65. package/dist/components/help-center-pages/index.cjs +131 -127
  66. package/dist/components/index.cjs +94 -90
  67. package/dist/components/meeting-scheduler/index.cjs +95 -92
  68. package/dist/components/navigation/index.cjs +30 -27
  69. package/dist/components/navigation/nav-panel.d.ts.map +1 -1
  70. package/dist/components/navigation/nav-panel.js +47 -13
  71. package/dist/components/onboarding-guides/index.cjs +30 -27
  72. package/dist/components/product-demo/index.cjs +38 -35
  73. package/dist/components/related-content/index.cjs +15 -12
  74. package/dist/components/tickets/index.cjs +33 -30
  75. package/dist/components/ui/index.cjs +28 -24
  76. package/dist/{devices-SFJDLXSW.cjs → devices-UOBQFPV3.cjs} +28 -25
  77. package/dist/{embeddable-chat-XZUWAK4W.cjs → embeddable-chat-SFQWRUIV.cjs} +99 -95
  78. package/dist/hooks/index.cjs +12 -10
  79. package/dist/index.cjs +36 -30
  80. package/dist/{knowledge-SAK3ZGCO.cjs → knowledge-5K3LTHGB.cjs} +28 -25
  81. package/dist/{logs-CYBGMFA5.cjs → logs-WU3N6ESS.cjs} +35 -32
  82. package/dist/{policies-XXDOICWF.cjs → policies-2IYASCQO.cjs} +31 -28
  83. package/dist/{remote-session-TC3BZDBZ.cjs → remote-session-TGM2OTTV.cjs} +12 -10
  84. package/dist/{scripts-C5T2AQPA.cjs → scripts-IQBKOQEY.cjs} +34 -31
  85. package/dist/{software-update-XU5AI4TP.cjs → software-update-GJLDO5X5.cjs} +31 -28
  86. package/dist/{tickets-board-YT25IX3O.cjs → tickets-board-FB5AGLJD.cjs} +16 -14
  87. package/dist/{video-file-player-6ZFOZFER.cjs → video-file-player-SIJW5UWU.cjs} +3 -2
  88. package/package.json +1 -1
  89. package/src/components/chat/chat-message-enhanced.tsx +13 -4
  90. package/src/components/chat/chat-message-list.tsx +2 -0
  91. package/src/components/chat/types/component.types.ts +9 -0
  92. package/src/components/features/video-hover-preview.tsx +37 -46
  93. package/src/components/features/video.tsx +1 -61
  94. package/src/components/navigation/nav-panel.tsx +74 -14
@@ -0,0 +1,92 @@
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
+
3
+
4
+
5
+
6
+ var _chunkSZHDXXMKcjs = require('./chunk-SZHDXXMK.cjs');
7
+
8
+ // src/hooks/ui/use-media-query.ts
9
+ var _react = require('react');
10
+
11
+ // src/styles/layout-steps.ts
12
+ var LAYOUT_STEPS = {
13
+ sm: { viewport: 640, content: 640 },
14
+ md: { viewport: 800, content: 720 },
15
+ lg: { viewport: 1280, content: 1024 },
16
+ xl: { viewport: 1440, content: 1216 },
17
+ "2xl": { viewport: 1536, content: 1312 }
18
+ };
19
+
20
+ // src/hooks/ui/use-media-query.ts
21
+ function useMediaQuery(query) {
22
+ const [matches, setMatches] = _react.useState.call(void 0, void 0);
23
+ _chunkSZHDXXMKcjs.useIsomorphicLayoutEffect.call(void 0, () => {
24
+ const matchMedia = window.matchMedia(query);
25
+ const handleChange = () => {
26
+ setMatches(matchMedia.matches);
27
+ };
28
+ handleChange();
29
+ matchMedia.addEventListener("change", handleChange);
30
+ return () => {
31
+ matchMedia.removeEventListener("change", handleChange);
32
+ };
33
+ }, [query]);
34
+ return matches;
35
+ }
36
+ var breakpoints = {
37
+ md: `(min-width: ${LAYOUT_STEPS.md.viewport}px)`,
38
+ // Tablet
39
+ lg: `(min-width: ${LAYOUT_STEPS.lg.viewport}px)`
40
+ // Desktop
41
+ };
42
+ function useSmUp() {
43
+ return useMdUp();
44
+ }
45
+ function useMdUp() {
46
+ const matches = useMediaQuery(breakpoints.md);
47
+ return matches === void 0 ? void 0 : matches;
48
+ }
49
+ function useLgUp() {
50
+ const matches = useMediaQuery(breakpoints.lg);
51
+ return matches === void 0 ? void 0 : matches;
52
+ }
53
+
54
+ // src/hooks/ui/use-is-truncated.ts
55
+
56
+ function useIsTruncated(value, options) {
57
+ const multiline = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _ => _.multiline]), () => ( false));
58
+ const [element, setElement] = _react.useState.call(void 0, null);
59
+ const [isTruncated, setIsTruncated] = _react.useState.call(void 0, false);
60
+ const ref = _react.useCallback.call(void 0, (node) => setElement(node), []);
61
+ _react.useEffect.call(void 0, () => {
62
+ if (!element) return void 0;
63
+ const check = () => {
64
+ setIsTruncated(
65
+ multiline ? element.scrollHeight > element.clientHeight + 1 : element.scrollWidth > element.clientWidth + 1
66
+ );
67
+ };
68
+ check();
69
+ const observer = new ResizeObserver(check);
70
+ observer.observe(element);
71
+ return () => observer.disconnect();
72
+ }, [element, value, multiline]);
73
+ return { ref, isTruncated: element ? isTruncated : false };
74
+ }
75
+
76
+ // src/hooks/use-authed-image-src.ts
77
+ function useAuthedImageSrc(src) {
78
+ return _chunkSZHDXXMKcjs.useAuthedAssetSrc.call(void 0, src, "image/*");
79
+ }
80
+ var clearAuthedImageCache = _chunkSZHDXXMKcjs.clearAuthedAssetCache;
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+ exports.LAYOUT_STEPS = LAYOUT_STEPS; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useIsTruncated = useIsTruncated; exports.useAuthedImageSrc = useAuthedImageSrc; exports.clearAuthedImageCache = clearAuthedImageCache;
@@ -2,15 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5P4TDV7Vcjs = require('./chunk-5P4TDV7V.cjs');
5
+ var _chunkV4FXUIMHcjs = require('./chunk-V4FXUIMH.cjs');
6
6
 
7
7
 
8
- var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
8
+ var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
9
9
 
10
10
  // src/hooks/ui/use-drag-and-drop-enabled.ts
11
- var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunk5P4TDV7Vcjs.breakpoints.md}`;
11
+ var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunkV4FXUIMHcjs.breakpoints.md}`;
12
12
  function useDragAndDropEnabled() {
13
- return _nullishCoalesce(_chunk5P4TDV7Vcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
13
+ return _nullishCoalesce(_chunkV4FXUIMHcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
14
14
  }
15
15
 
16
16
  // src/hooks/ui/use-horizontal-scrollbar.ts
@@ -236,7 +236,7 @@ function useLocalStorage(key, initialValue, options) {
236
236
  });
237
237
  const validate = _optionalChain([options, 'optionalAccess', _ => _.validate]);
238
238
  const storage = _react.useMemo.call(void 0,
239
- () => _chunkDGFDBPO7cjs.createLocalStorageAdapter.call(void 0, { key, validate, logTag: `[useLocalStorage:${key}]` }),
239
+ () => _chunk5GJM7VRRcjs.createLocalStorageAdapter.call(void 0, { key, validate, logTag: `[useLocalStorage:${key}]` }),
240
240
  [key, validate]
241
241
  );
242
242
  const [storedValue, setStoredValue] = _react.useState.call(void 0, () => _nullishCoalesce(storage.load(), () => ( initialValue)));
@@ -1,29 +1,29 @@
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 _chunkDDXQGTWBcjs = require('./chunk-DDXQGTWB.cjs');
4
+ var _chunk2W3VDE4Dcjs = require('./chunk-2W3VDE4D.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkBDYI6HBTcjs = require('./chunk-BDYI6HBT.cjs');
8
+ var _chunkIE3QCYBTcjs = require('./chunk-IE3QCYBT.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkXN6LXMH5cjs = require('./chunk-XN6LXMH5.cjs');
15
+ var _chunkUPAE4IV5cjs = require('./chunk-UPAE4IV5.cjs');
16
16
 
17
17
 
18
- var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
18
+ var _chunkSIDDZZKLcjs = require('./chunk-SIDDZZKL.cjs');
19
19
 
20
20
 
21
- var _chunkNWZSYG4Scjs = require('./chunk-NWZSYG4S.cjs');
21
+ var _chunkYWQ3VXPLcjs = require('./chunk-YWQ3VXPL.cjs');
22
22
 
23
23
 
24
24
 
25
25
 
26
- var _chunkKM2TVQCHcjs = require('./chunk-KM2TVQCH.cjs');
26
+ var _chunkOWQVDWTKcjs = require('./chunk-OWQVDWTK.cjs');
27
27
 
28
28
 
29
29
  var _chunkKKAY6GPUcjs = require('./chunk-KKAY6GPU.cjs');
@@ -33,13 +33,15 @@ var _chunkKKAY6GPUcjs = require('./chunk-KKAY6GPU.cjs');
33
33
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
34
34
 
35
35
 
36
- var _chunkOJLZ7PGOcjs = require('./chunk-OJLZ7PGO.cjs');
36
+ var _chunkQEFDGI3Zcjs = require('./chunk-QEFDGI3Z.cjs');
37
37
 
38
38
 
39
39
 
40
40
 
41
+ var _chunkYG72MEHYcjs = require('./chunk-YG72MEHY.cjs');
41
42
 
42
- var _chunkMYHS4W2Hcjs = require('./chunk-MYHS4W2H.cjs');
43
+
44
+ var _chunkOH5LAH3Xcjs = require('./chunk-OH5LAH3X.cjs');
43
45
 
44
46
 
45
47
  var _chunk3LW5TD54cjs = require('./chunk-3LW5TD54.cjs');
@@ -80,7 +82,7 @@ function OnboardingCatalogSectionsSkeleton() {
80
82
  ] }),
81
83
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: Array.from({ length: ONBOARDING_CATALOG_SKELETON_CARDS }, (_, i) => (
82
84
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
83
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, i)
85
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, i)
84
86
  )) })
85
87
  ] }) });
86
88
  }
@@ -105,10 +107,10 @@ function OnboardingGuidesCatalogView({
105
107
  const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
106
108
  const activeSection = sectionValue || "all";
107
109
  const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
108
- const guidesRes = _chunkOJLZ7PGOcjs.useSelfFetch.call(void 0,
110
+ const guidesRes = _chunkQEFDGI3Zcjs.useSelfFetch.call(void 0,
109
111
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
110
112
  );
111
- const sectionsRes = _chunkOJLZ7PGOcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
113
+ const sectionsRes = _chunkQEFDGI3Zcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
112
114
  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])]);
113
115
  const sections = _react.useMemo.call(void 0,
114
116
  () => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
@@ -152,25 +154,25 @@ function OnboardingGuidesCatalogView({
152
154
  });
153
155
  };
154
156
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
155
- const docSearch = _chunkBDYI6HBTcjs.useDocSearch.call(void 0, {
157
+ const docSearch = _chunkIE3QCYBTcjs.useDocSearch.call(void 0, {
156
158
  source,
157
159
  baseRoute: basePath,
158
160
  onNavigate: (path) => router.push(path),
159
161
  tableIds: ["onboarding-guides"]
160
162
  });
161
163
  const defaultRenderCard = (guide) => {
162
- const cta = _chunkNWZSYG4Scjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
164
+ const cta = _chunkYWQ3VXPLcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
163
165
  type: "onboarding_guide",
164
166
  slug: guide.slug,
165
167
  basePath,
166
168
  platforms: guide.onboarding_guide_platforms
167
169
  });
168
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
170
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
169
171
  };
170
172
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
171
173
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
172
174
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
173
- _chunkBDYI6HBTcjs.DocSearchBar,
175
+ _chunkIE3QCYBTcjs.DocSearchBar,
174
176
  {
175
177
  placeholder: "Search onboarding guides, releases, case studies\u2026",
176
178
  query: docSearch.query,
@@ -182,7 +184,7 @@ function OnboardingGuidesCatalogView({
182
184
  }
183
185
  ),
184
186
  (loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
185
- _chunkXN6LXMH5cjs.FilterPillRow,
187
+ _chunkUPAE4IV5cjs.FilterPillRow,
186
188
  {
187
189
  label: "Section",
188
190
  selectedValue: activeSection,
@@ -193,7 +195,7 @@ function OnboardingGuidesCatalogView({
193
195
  )
194
196
  ] });
195
197
  if (!loading && selfFetch && guidesRes.error) {
196
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXN6LXMH5cjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
198
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPAE4IV5cjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
197
199
  }
198
200
  const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
199
201
  preControls,
@@ -313,7 +315,7 @@ function OnboardingGuideDetailView({
313
315
  slug,
314
316
  guideEndpoint,
315
317
  related = [],
316
- MarkdownRenderer = _chunkXN6LXMH5cjs.RichMarkdownRenderer,
318
+ MarkdownRenderer = _chunkUPAE4IV5cjs.RichMarkdownRenderer,
317
319
  renderRelatedCard,
318
320
  backHref,
319
321
  backLabel = "Back to Getting Started",
@@ -323,9 +325,9 @@ function OnboardingGuideDetailView({
323
325
  }) {
324
326
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
325
327
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
326
- const captions = _chunkKM2TVQCHcjs.useCaptions.call(void 0, );
328
+ const captions = _chunkOWQVDWTKcjs.useCaptions.call(void 0, );
327
329
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
328
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXN6LXMH5cjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
330
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPAE4IV5cjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
329
331
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
330
332
  const scoped = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
331
333
  const {
@@ -333,7 +335,7 @@ function OnboardingGuideDetailView({
333
335
  isLoading,
334
336
  error,
335
337
  reload
336
- } = _chunkOJLZ7PGOcjs.useSelfFetch.call(void 0, scoped ? null : url, {
338
+ } = _chunkQEFDGI3Zcjs.useSelfFetch.call(void 0, scoped ? null : url, {
337
339
  initialData
338
340
  });
339
341
  const { ref: videoWarmupRef } = _chunkKKAY6GPUcjs.useVideoWarmup.call(void 0, {
@@ -343,7 +345,7 @@ function OnboardingGuideDetailView({
343
345
  const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
344
346
  const loading = scoped || !guide && isLoading;
345
347
  if (!loading && (error || !guide)) {
346
- return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXN6LXMH5cjs.LoadError, { message: "Guide not found.", onRetry: reload }));
348
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPAE4IV5cjs.LoadError, { message: "Guide not found.", onRetry: reload }));
347
349
  }
348
350
  const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
349
351
  const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
@@ -351,19 +353,19 @@ function OnboardingGuideDetailView({
351
353
  // worst), so it's the terminal fallback — no trailing `|| undefined` needed.
352
354
  _chunk3LW5TD54cjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
353
355
  const defaultRenderRelatedCard = (g) => {
354
- const cta = _chunkNWZSYG4Scjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
356
+ const cta = _chunkYWQ3VXPLcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
355
357
  type: "onboarding_guide",
356
358
  slug: g.slug,
357
359
  basePath,
358
360
  platforms: g.onboarding_guide_platforms
359
361
  });
360
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
362
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
361
363
  };
362
364
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
363
- const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
364
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXN6LXMH5cjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
365
+ const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSIDDZZKLcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
366
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPAE4IV5cjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
365
367
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
366
- _chunkMYHS4W2Hcjs.EntityAuthorCard,
368
+ _chunkYG72MEHYcjs.EntityAuthorCard,
367
369
  {
368
370
  author: view.author,
369
371
  authorHref,
@@ -379,7 +381,7 @@ function OnboardingGuideDetailView({
379
381
  ),
380
382
  !loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
381
383
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
382
- _chunkKM2TVQCHcjs.EntityVideoSection,
384
+ _chunkOWQVDWTKcjs.EntityVideoSection,
383
385
  {
384
386
  mainVideoUrl: view.main_video_url,
385
387
  youtubeUrl: view.youtube_url || void 0,
@@ -396,17 +398,17 @@ function OnboardingGuideDetailView({
396
398
  ) }),
397
399
  (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, () => ( "")) }) }),
398
400
  loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
399
- _chunkKM2TVQCHcjs.VideoBitesStrip,
401
+ _chunkOWQVDWTKcjs.VideoBitesStrip,
400
402
  {
401
403
  bites: _nullishCoalesce(view.video_bites, () => ( [])),
402
404
  filterPublished: true,
403
405
  showTitle: false,
404
- profile: _chunkMYHS4W2Hcjs.toStripProfile.call(void 0, view.author),
406
+ profile: _chunkOH5LAH3Xcjs.toStripProfile.call(void 0, view.author),
405
407
  href: `/onboarding-guides/${view.slug}`
406
408
  }
407
409
  ) }),
408
410
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
409
- _chunkDDXQGTWBcjs.ArticleAuthorByline,
411
+ _chunk2W3VDE4Dcjs.ArticleAuthorByline,
410
412
  {
411
413
  author: _nullishCoalesce(_optionalChain([view, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
412
414
  avatar: _optionalChain([view, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
@@ -10,18 +10,18 @@ var _chunkUYHKZN5Dcjs = require('./chunk-UYHKZN5D.cjs');
10
10
  var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
11
11
 
12
12
 
13
- var _chunkVFUMM6JCcjs = require('./chunk-VFUMM6JC.cjs');
13
+ var _chunkBEMGJDXIcjs = require('./chunk-BEMGJDXI.cjs');
14
14
 
15
15
 
16
16
 
17
17
 
18
- var _chunkHY6BCZH7cjs = require('./chunk-HY6BCZH7.cjs');
18
+ var _chunkBNUZKBNVcjs = require('./chunk-BNUZKBNV.cjs');
19
19
 
20
20
 
21
- var _chunkVFZFCRALcjs = require('./chunk-VFZFCRAL.cjs');
21
+ var _chunkAQXKXZWBcjs = require('./chunk-AQXKXZWB.cjs');
22
22
 
23
23
 
24
- var _chunk5P4TDV7Vcjs = require('./chunk-5P4TDV7V.cjs');
24
+ var _chunkTUAATMUEcjs = require('./chunk-TUAATMUE.cjs');
25
25
 
26
26
 
27
27
 
@@ -222,7 +222,7 @@ var Modal = _react.forwardRef.call(void 0,
222
222
  ),
223
223
  role: "dialog",
224
224
  "aria-modal": "true",
225
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVFZFCRALcjs.ViewportBreakpoints, { children }) }) }) })
225
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAQXKXZWBcjs.ViewportBreakpoints, { children }) }) }) })
226
226
  }
227
227
  ),
228
228
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, className: "contents" })
@@ -452,7 +452,7 @@ function SlashCommandSuggestions({
452
452
  className
453
453
  ),
454
454
  children: commands.map((cmd, idx) => {
455
- const Icon = _chunk5P4TDV7Vcjs.resolveIcon.call(void 0, cmd.iconName);
455
+ const Icon = _chunkTUAATMUEcjs.resolveIcon.call(void 0, cmd.iconName);
456
456
  const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
457
457
  const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
458
458
  const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
@@ -548,7 +548,7 @@ function buildChipEl(token, label, icon) {
548
548
  span.className = "mx-0.5 inline-flex h-9 items-center select-none align-top";
549
549
  span.innerHTML = _server.renderToStaticMarkup.call(void 0,
550
550
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
551
- _chunkHY6BCZH7cjs.Tag,
551
+ _chunkBNUZKBNVcjs.Tag,
552
552
  {
553
553
  as: "span",
554
554
  variant: "badge",
@@ -936,7 +936,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
936
936
  className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
937
937
  children: [
938
938
  awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
939
- _chunkVFUMM6JCcjs.AvatarStack,
939
+ _chunkBEMGJDXIcjs.AvatarStack,
940
940
  {
941
941
  people: awaitingTeam,
942
942
  total: awaitingTeamCount,
@@ -1103,7 +1103,7 @@ ChatInput.displayName = "ChatInput";
1103
1103
 
1104
1104
  // src/utils/format-date.ts
1105
1105
  var INVALID_DATE_PLACEHOLDER = "\u2014";
1106
- var render = (input, fields) => _chunkHY6BCZH7cjs.formatDateWithTimezone.call(void 0, input, _chunkHY6BCZH7cjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
1106
+ var render = (input, fields) => _chunkBNUZKBNVcjs.formatDateWithTimezone.call(void 0, input, _chunkBNUZKBNVcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
1107
1107
  var formatDate = (input) => render(input, { dateStyle: "short" });
1108
1108
  var formatTime = (input) => render(input, { timeStyle: "short" });
1109
1109