@flamingo-stack/openframe-frontend-core 0.0.721 → 0.0.723

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 (154) hide show
  1. package/dist/assets/index.cjs +0 -6
  2. package/dist/assets/index.d.ts +0 -1
  3. package/dist/assets/index.d.ts.map +1 -1
  4. package/dist/assets/index.js +1 -5
  5. package/dist/{chunk-I2254QN6.cjs → chunk-2MC4DRSC.cjs} +3 -3
  6. package/dist/{chunk-UXU7Y5BH.js → chunk-2VOPQJNR.js} +3 -3
  7. package/dist/{chunk-QYS4YVEP.cjs → chunk-3RIKO2O2.cjs} +31 -31
  8. package/dist/{chunk-KFOAV77K.js → chunk-5D2K7TFT.js} +1 -1
  9. package/dist/{chunk-GGBYZKMS.cjs → chunk-6QTGLBJH.cjs} +5 -5
  10. package/dist/{chunk-5QXE5HMV.js → chunk-7JXCLUU7.js} +3 -3
  11. package/dist/{chunk-LAXKEBDD.js → chunk-A7JPMNHF.js} +7 -7
  12. package/dist/{chunk-7Z5FMQYR.cjs → chunk-ABSWD4PQ.cjs} +14 -14
  13. package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
  14. package/dist/{chunk-S63QBBT7.js → chunk-F6JAGSKV.js} +5 -5
  15. package/dist/{chunk-QLTXT562.cjs → chunk-FDWYBJYD.cjs} +6 -6
  16. package/dist/{chunk-2P2M27EW.js → chunk-G6YNPBWV.js} +2219 -2202
  17. package/dist/{chunk-QQCFPMAA.js → chunk-GRDJR2Q7.js} +1 -1
  18. package/dist/{chunk-O5EHOJZD.cjs → chunk-GYUFKNOQ.cjs} +7 -7
  19. package/dist/{chunk-OKE5BIQH.cjs → chunk-HP4UUBJC.cjs} +8 -8
  20. package/dist/{chunk-HXB7SEYG.js → chunk-IIBTYCEN.js} +7 -16
  21. package/dist/{chunk-GCK75D7F.cjs → chunk-JENNI7XU.cjs} +56 -31
  22. package/dist/{chunk-ZLUFEWZZ.js → chunk-JL7AHSFE.js} +6 -6
  23. package/dist/{chunk-JDBZ4ZHU.js → chunk-KS3YLYVL.js} +2 -2
  24. package/dist/{chunk-6AJIOW3S.cjs → chunk-KSADTFNZ.cjs} +37 -37
  25. package/dist/{chunk-D2DH6VZL.cjs → chunk-KSZRALRL.cjs} +3 -3
  26. package/dist/{chunk-RJMWJAJO.cjs → chunk-KY4WQYYG.cjs} +19 -19
  27. package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
  28. package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
  29. package/dist/{chunk-UZTOI6FJ.cjs → chunk-MWLVYYRX.cjs} +619 -602
  30. package/dist/{chunk-44Q6MV7C.js → chunk-N4VCU6XP.js} +1 -1
  31. package/dist/{chunk-F7ORKKEF.cjs → chunk-NESUUHPV.cjs} +83 -83
  32. package/dist/{chunk-BYVVE7HP.cjs → chunk-NFABAOMD.cjs} +34 -36
  33. package/dist/{chunk-3R32ZNA2.cjs → chunk-OHC2MPUO.cjs} +35 -35
  34. package/dist/{chunk-RCI3PALX.js → chunk-OVG6MV3X.js} +6 -6
  35. package/dist/{chunk-HJMSNOBT.cjs → chunk-OWRD2GZU.cjs} +258 -267
  36. package/dist/{chunk-VFICDEYJ.cjs → chunk-P7MDECYI.cjs} +41 -41
  37. package/dist/{chunk-NPSJE7J3.js → chunk-PKS2QQJU.js} +29 -4
  38. package/dist/{chunk-57UTI7ZH.js → chunk-QBXEF7D5.js} +4 -4
  39. package/dist/{chunk-74N742ZG.js → chunk-SBCJFJ6Q.js} +4 -4
  40. package/dist/{chunk-XXO52RZR.cjs → chunk-TDSLKKX7.cjs} +18 -18
  41. package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
  42. package/dist/{chunk-GYAXV3MZ.js → chunk-UYMTAFHG.js} +4 -6
  43. package/dist/{chunk-XE2K53GH.cjs → chunk-VGXAZEQP.cjs} +17 -17
  44. package/dist/{chunk-3LY7V3RF.js → chunk-VIFVSFYY.js} +2 -2
  45. package/dist/{chunk-LODMNSQY.cjs → chunk-WSMOTZRJ.cjs} +11 -11
  46. package/dist/{chunk-CO3FOZIH.js → chunk-WVA7SCLY.js} +1 -1
  47. package/dist/{chunk-ZZEKXGFS.js → chunk-WY4SLTMZ.js} +2 -2
  48. package/dist/{chunk-NJ5TBTJG.js → chunk-XTG7W75B.js} +5 -5
  49. package/dist/{chunk-NMPVK53I.cjs → chunk-Y5H3M7OM.cjs} +23 -23
  50. package/dist/{chunk-E6SMMMKV.js → chunk-YGIUWQEN.js} +9 -9
  51. package/dist/{chunk-RQZQHLNS.cjs → chunk-YQOJOW2Z.cjs} +66 -66
  52. package/dist/{chunk-LGKMR7NZ.js → chunk-YUSA7IPD.js} +3 -3
  53. package/dist/{cloud-tenants-HZHKRUIW.cjs → cloud-tenants-3TVX7U23.cjs} +10 -10
  54. package/dist/{cloud-tenants-Q4TCJS5Y.js → cloud-tenants-N6KV2T7X.js} +9 -9
  55. package/dist/components/case-studies/index.cjs +23 -23
  56. package/dist/components/case-studies/index.js +10 -10
  57. package/dist/components/chat/index.cjs +7 -7
  58. package/dist/components/chat/index.js +6 -6
  59. package/dist/components/contact/index.cjs +11 -11
  60. package/dist/components/contact/index.js +10 -10
  61. package/dist/components/docs/index.cjs +14 -14
  62. package/dist/components/docs/index.js +13 -13
  63. package/dist/components/embeds/index.cjs +11 -11
  64. package/dist/components/embeds/index.js +10 -10
  65. package/dist/components/faq/index.cjs +11 -11
  66. package/dist/components/faq/index.js +10 -10
  67. package/dist/components/features/index.cjs +10 -10
  68. package/dist/components/features/index.js +9 -9
  69. package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
  70. package/dist/components/help-center-pages/download-apps-page.d.ts +19 -6
  71. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
  72. package/dist/components/help-center-pages/index.cjs +170 -151
  73. package/dist/components/help-center-pages/index.d.ts +1 -1
  74. package/dist/components/help-center-pages/index.d.ts.map +1 -1
  75. package/dist/components/help-center-pages/index.js +88 -69
  76. package/dist/components/help-center-pages/trust-center-page.d.ts +34 -1
  77. package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
  78. package/dist/components/help-center-pages/trust-center-sections.d.ts +1 -1
  79. package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
  80. package/dist/components/index.cjs +66 -64
  81. package/dist/components/index.js +23 -21
  82. package/dist/components/meeting-scheduler/index.cjs +47 -47
  83. package/dist/components/meeting-scheduler/index.js +9 -9
  84. package/dist/components/navigation/index.cjs +13 -13
  85. package/dist/components/navigation/index.js +12 -12
  86. package/dist/components/onboarding-guides/index.cjs +13 -13
  87. package/dist/components/onboarding-guides/index.js +12 -12
  88. package/dist/components/product-demo/index.cjs +8 -8
  89. package/dist/components/product-demo/index.js +8 -8
  90. package/dist/components/related-content/index.cjs +5 -5
  91. package/dist/components/related-content/index.js +4 -4
  92. package/dist/components/tickets/index.cjs +14 -14
  93. package/dist/components/tickets/index.js +13 -13
  94. package/dist/components/ui/data-attribution.d.ts +3 -1
  95. package/dist/components/ui/data-attribution.d.ts.map +1 -1
  96. package/dist/components/ui/download-button.d.ts +19 -0
  97. package/dist/components/ui/download-button.d.ts.map +1 -0
  98. package/dist/components/ui/index.cjs +12 -10
  99. package/dist/components/ui/index.d.ts +1 -0
  100. package/dist/components/ui/index.d.ts.map +1 -1
  101. package/dist/components/ui/index.js +11 -9
  102. package/dist/components/ui/mobile-app-qr.d.ts +13 -15
  103. package/dist/components/ui/mobile-app-qr.d.ts.map +1 -1
  104. package/dist/{devices-NOUGVTES.js → devices-275UZZUS.js} +9 -9
  105. package/dist/{devices-6XHUFIC6.cjs → devices-MAALZ7DX.cjs} +11 -11
  106. package/dist/index.cjs +19 -19
  107. package/dist/index.js +23 -23
  108. package/dist/{knowledge-2YTUXQ2Z.js → knowledge-THXC2KC3.js} +9 -9
  109. package/dist/{knowledge-ANEKPMO2.cjs → knowledge-YMMULPPK.cjs} +11 -11
  110. package/dist/{logs-WVQIONUT.js → logs-GM2XBHYT.js} +9 -9
  111. package/dist/{logs-U3IB3HUM.cjs → logs-IBUKQOHS.cjs} +18 -18
  112. package/dist/{policies-UFRN2EQF.cjs → policies-J5GJXD6G.cjs} +14 -14
  113. package/dist/{policies-66EGDW2H.js → policies-NKMRK6RR.js} +9 -9
  114. package/dist/{remote-session-6WEUJZDC.js → remote-session-WCLR47RN.js} +4 -4
  115. package/dist/{remote-session-A75X5NPC.cjs → remote-session-Z2YCUPHU.cjs} +6 -6
  116. package/dist/{software-update-3ZD3MXF3.js → software-update-EKKMKDWI.js} +9 -9
  117. package/dist/{software-update-2MHKL76D.cjs → software-update-JHC4T4SE.cjs} +14 -14
  118. package/dist/{tickets-board-IFWMIZ35.cjs → tickets-board-R5OQSEEC.cjs} +8 -8
  119. package/dist/{tickets-board-MYXG3V72.js → tickets-board-U3RF3AO4.js} +3 -3
  120. package/dist/types/downloads.d.ts +16 -0
  121. package/dist/types/downloads.d.ts.map +1 -1
  122. package/dist/types/index.cjs +27 -2
  123. package/dist/types/index.js +25 -3
  124. package/dist/types/trust-center.d.ts +19 -2
  125. package/dist/types/trust-center.d.ts.map +1 -1
  126. package/dist/utils/format.d.ts +11 -0
  127. package/dist/utils/format.d.ts.map +1 -1
  128. package/dist/utils/index.cjs +4 -9
  129. package/dist/utils/index.d.ts +1 -1
  130. package/dist/utils/index.d.ts.map +1 -1
  131. package/dist/utils/index.js +4 -7
  132. package/dist/utils/mobile-app.cjs +0 -9
  133. package/dist/utils/mobile-app.d.ts +8 -25
  134. package/dist/utils/mobile-app.d.ts.map +1 -1
  135. package/dist/utils/mobile-app.js +1 -7
  136. package/package.json +1 -1
  137. package/src/assets/index.ts +0 -1
  138. package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
  139. package/src/components/help-center-pages/download-apps-page.tsx +53 -29
  140. package/src/components/help-center-pages/index.ts +1 -1
  141. package/src/components/help-center-pages/trust-center-page.tsx +50 -29
  142. package/src/components/help-center-pages/trust-center-sections.tsx +2 -2
  143. package/src/components/ui/data-attribution.tsx +19 -6
  144. package/src/components/ui/download-button.tsx +34 -0
  145. package/src/components/ui/index.ts +1 -0
  146. package/src/components/ui/mobile-app-qr.tsx +17 -22
  147. package/src/types/downloads.ts +17 -0
  148. package/src/types/trust-center.ts +52 -4
  149. package/src/utils/format.ts +15 -0
  150. package/src/utils/index.ts +1 -1
  151. package/src/utils/mobile-app.ts +8 -31
  152. package/dist/assets/mobile-app-qr.d.ts +0 -17
  153. package/dist/assets/mobile-app-qr.d.ts.map +0 -1
  154. package/src/assets/mobile-app-qr.ts +0 -19
@@ -1,7 +1,7 @@
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 _chunkD2DH6VZLcjs = require('./chunk-D2DH6VZL.cjs');
4
+ var _chunkKSZRALRLcjs = require('./chunk-KSZRALRL.cjs');
5
5
 
6
6
 
7
7
 
@@ -12,7 +12,7 @@ var _chunkD2DH6VZLcjs = require('./chunk-D2DH6VZL.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
15
+ var _chunkMWLVYYRXcjs = require('./chunk-MWLVYYRX.cjs');
16
16
 
17
17
 
18
18
 
@@ -28,18 +28,18 @@ var _chunkB4NCVYEQcjs = require('./chunk-B4NCVYEQ.cjs');
28
28
 
29
29
 
30
30
 
31
- var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
31
+ var _chunkOWRD2GZUcjs = require('./chunk-OWRD2GZU.cjs');
32
32
 
33
33
 
34
34
  var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
35
35
 
36
36
 
37
37
 
38
- var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
38
+ var _chunkJENNI7XUcjs = require('./chunk-JENNI7XU.cjs');
39
39
 
40
40
 
41
41
 
42
- var _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
42
+ var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
43
43
 
44
44
 
45
45
  var _chunkAAYNCJMWcjs = require('./chunk-AAYNCJMW.cjs');
@@ -121,7 +121,7 @@ function RowGlyph({ link, box, glyph }) {
121
121
  {
122
122
  "aria-hidden": "true",
123
123
  className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
124
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
124
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
125
125
  }
126
126
  );
127
127
  }
@@ -134,7 +134,7 @@ function RowGlyph({ link, box, glyph }) {
134
134
  "flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
135
135
  box
136
136
  ),
137
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
137
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
138
138
  }
139
139
  );
140
140
  }
@@ -147,7 +147,7 @@ function NavItemRow({
147
147
  className
148
148
  }) {
149
149
  const label = navLinkLabel(link);
150
- const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
150
+ const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
151
151
  const singleLine = !link.description && !link.builtOn;
152
152
  const rowClassName = _chunk3ATAYP36cjs.cn.call(void 0,
153
153
  ROW_CLASSES[variant],
@@ -164,7 +164,7 @@ function NavItemRow({
164
164
  ] });
165
165
  } else if (variant === "side") {
166
166
  children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
167
- link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
167
+ link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
168
168
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
169
169
  counter
170
170
  ] });
@@ -268,7 +268,7 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
268
268
  !!_optionalChain([menu, 'access', _10 => _10.features, 'optionalAccess', _11 => _11.length]) && // One row of cards, as many as the bar's width holds: a card that
269
269
  // would wrap lands on a zero-height row, where its cell clips it.
270
270
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid min-w-0 flex-[3] auto-rows-[0px] grid-cols-[repeat(auto-fit,minmax(240px,1fr))] grid-rows-[minmax(0,1fr)] gap-x-[var(--spacing-system-mf)]", children: menu.features.map((feature) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 min-w-0 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
271
- _chunkGCK75D7Fcjs.CaseStudyCard,
271
+ _chunkJENNI7XUcjs.CaseStudyCard,
272
272
  {
273
273
  size: "menu",
274
274
  study: feature.study,
@@ -385,7 +385,7 @@ function TopNavigation({
385
385
 
386
386
  var TOP_ITEM_CLASS = "relative inline-flex h-10 items-center gap-1.5 whitespace-nowrap rounded-md px-3.5 text-ods-text-secondary transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary";
387
387
  var TOP_ITEM_CURRENT_CLASS = "rounded-b-none bg-gradient-to-b from-transparent to-ods-accent/10 text-ods-text-primary after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-ods-accent";
388
- var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
388
+ var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
389
389
  function SiteHeader({
390
390
  nav,
391
391
  pathname,
@@ -535,7 +535,7 @@ function SiteHeader({
535
535
  leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
536
536
  leading,
537
537
  mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
538
- _chunkUZTOI6FJcjs.HeaderButton,
538
+ _chunkMWLVYYRXcjs.HeaderButton,
539
539
  {
540
540
  className: "border-r border-ods-border lg:hidden",
541
541
  onClick: mobile.onToggle,
@@ -561,7 +561,7 @@ function SiteHeader({
561
561
  centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
562
562
  cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
563
563
  mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
564
- _chunkHJMSNOBTcjs.MingoAiButton,
564
+ _chunkOWRD2GZUcjs.MingoAiButton,
565
565
  {
566
566
  source: mingo.source,
567
567
  icon: mingo.icon,
@@ -663,7 +663,7 @@ function MobileNavSheetBody({
663
663
  ] }),
664
664
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
665
665
  askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
666
- _chunkHJMSNOBTcjs.MingoAiButton,
666
+ _chunkOWRD2GZUcjs.MingoAiButton,
667
667
  {
668
668
  variant: "field",
669
669
  source: askAI.source,
@@ -841,7 +841,7 @@ function SiteFooter({
841
841
  const columns = nav.footerColumns;
842
842
  const accordion = columns.length > ACCORDION_OVER;
843
843
  const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
844
- _chunkUZTOI6FJcjs.SocialIconRow,
844
+ _chunkMWLVYYRXcjs.SocialIconRow,
845
845
  {
846
846
  compact: true,
847
847
  links: nav.brand.social.map((link) => ({
@@ -944,7 +944,7 @@ var _framermotion = require('framer-motion');
944
944
 
945
945
  function SlidingSidebar({ config }) {
946
946
  const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
947
- const mounted = _chunkHJMSNOBTcjs.useIsHydrated.call(void 0, );
947
+ const mounted = _chunkOWRD2GZUcjs.useIsHydrated.call(void 0, );
948
948
  const headerHeight = _chunkK2JUJ37Dcjs.useHeaderHeight.call(void 0, );
949
949
  const asideRef = _react.useRef.call(void 0, null);
950
950
  const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
@@ -1076,7 +1076,7 @@ function SlidingSidebar({ config }) {
1076
1076
  duration: 0.3,
1077
1077
  ease: [0.4, 0, 0.2, 1]
1078
1078
  },
1079
- className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkHJMSNOBTcjs.OVERLAY_BACKDROP_CLASS),
1079
+ className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkOWRD2GZUcjs.OVERLAY_BACKDROP_CLASS),
1080
1080
  onClick: () => config.onClose()
1081
1081
  }
1082
1082
  ) }),
@@ -1152,7 +1152,7 @@ function NavigationSidebarHeader({ minimized }) {
1152
1152
 
1153
1153
  function NavigationItemBadge({ label, compact = false, className, ...rest }) {
1154
1154
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1155
- _chunkF5BPGWGTcjs.Tag,
1155
+ _chunkTKFTWM3Vcjs.Tag,
1156
1156
  {
1157
1157
  as: "span",
1158
1158
  label,
@@ -1217,7 +1217,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
1217
1217
  _react.cloneElement.call(void 0, item.icon, {
1218
1218
  color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
1219
1219
  }),
1220
- hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.UnreadDot, { size: "fixed" })
1220
+ hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.UnreadDot, { size: "fixed" })
1221
1221
  ] }),
1222
1222
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1223
1223
  "span",
@@ -1318,7 +1318,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
1318
1318
  setTabletFor(isTablet);
1319
1319
  if (isTablet) setTabletMinimized(true);
1320
1320
  }
1321
- const hydrated = _chunkHJMSNOBTcjs.useIsHydrated.call(void 0, );
1321
+ const hydrated = _chunkOWRD2GZUcjs.useIsHydrated.call(void 0, );
1322
1322
  const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
1323
1323
  const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
1324
1324
  const isOverlayOpen = isTablet && !minimized;
@@ -1510,7 +1510,7 @@ function HeaderGlobalSearch({
1510
1510
  "form",
1511
1511
  {
1512
1512
  onSubmit: handleSubmit,
1513
- ..._chunkHJMSNOBTcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
1513
+ ..._chunkOWRD2GZUcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
1514
1514
  className: _chunk3ATAYP36cjs.cn.call(void 0,
1515
1515
  "flex h-full flex-1 items-center gap-2 px-3",
1516
1516
  // Transparent so the cell inherits the bar's background
@@ -1643,16 +1643,16 @@ function HeaderOrganizationFilter({
1643
1643
  // src/components/navigation/ticket-alerts-button.tsx
1644
1644
 
1645
1645
  function TicketAlertsButton({ href, onNavigate, disabled, className }) {
1646
- const live = _chunkD2DH6VZLcjs.useOptionalTicketLive.call(void 0, );
1646
+ const live = _chunkKSZRALRLcjs.useOptionalTicketLive.call(void 0, );
1647
1647
  if (!live || !live.authed || live.unreadTotal === 0) return null;
1648
1648
  const targetId = live.nextUnreadTicketId;
1649
- const target = targetId ? _chunkHJMSNOBTcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
1649
+ const target = targetId ? _chunkOWRD2GZUcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
1650
1650
  const handleClick = () => {
1651
1651
  if (onNavigate) onNavigate(target);
1652
1652
  else window.location.assign(target);
1653
1653
  };
1654
1654
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1655
- _chunkUZTOI6FJcjs.HeaderButton,
1655
+ _chunkMWLVYYRXcjs.HeaderButton,
1656
1656
  {
1657
1657
  icon: (
1658
1658
  // Glyph inherits HeaderButton's standard cell coloring (secondary at
@@ -1662,7 +1662,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
1662
1662
  // existing while updates are unread — never by tinting the glyph.
1663
1663
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
1664
1664
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
1665
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.UnreadCountBadge, { count: live.unreadTotal })
1665
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.UnreadCountBadge, { count: live.unreadTotal })
1666
1666
  ] })
1667
1667
  ),
1668
1668
  "aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
@@ -1738,7 +1738,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1738
1738
  leading: (
1739
1739
  // Mobile: Burger Menu Button
1740
1740
  !isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1741
- _chunkUZTOI6FJcjs.HeaderButton,
1741
+ _chunkMWLVYYRXcjs.HeaderButton,
1742
1742
  {
1743
1743
  onClick: onToggleMobileMenu,
1744
1744
  isActive: isMobileMenuOpen,
@@ -1764,7 +1764,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1764
1764
  center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
1765
1765
  sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1766
1766
  showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1767
- _chunkUZTOI6FJcjs.HeaderButton,
1767
+ _chunkMWLVYYRXcjs.HeaderButton,
1768
1768
  {
1769
1769
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.SearchIcon, { className: "h-6 w-6" }),
1770
1770
  "aria-label": "Search",
@@ -1781,7 +1781,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1781
1781
  className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
1782
1782
  }
1783
1783
  ),
1784
- showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
1784
+ showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
1785
1785
  showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1786
1786
  NotificationsHeaderButton,
1787
1787
  {
@@ -1801,10 +1801,10 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1801
1801
  ),
1802
1802
  isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenu, { children: [
1803
1803
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1804
- _chunkUZTOI6FJcjs.HeaderButton,
1804
+ _chunkMWLVYYRXcjs.HeaderButton,
1805
1805
  {
1806
1806
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1807
- _chunkF5BPGWGTcjs.SquareAvatar,
1807
+ _chunkTKFTWM3Vcjs.SquareAvatar,
1808
1808
  {
1809
1809
  src: userAvatarUrl || void 0,
1810
1810
  alt: userName || "User",
@@ -1830,7 +1830,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1830
1830
  children: [
1831
1831
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
1832
1832
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1833
- _chunkF5BPGWGTcjs.SquareAvatar,
1833
+ _chunkTKFTWM3Vcjs.SquareAvatar,
1834
1834
  {
1835
1835
  src: userAvatarUrl || void 0,
1836
1836
  alt: userName || "User",
@@ -1886,12 +1886,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1886
1886
  );
1887
1887
  });
1888
1888
  function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
1889
- const ctx = _chunkUZTOI6FJcjs.useOptionalNotifications.call(void 0, );
1889
+ const ctx = _chunkMWLVYYRXcjs.useOptionalNotifications.call(void 0, );
1890
1890
  const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _52 => _52.unreadCount]), () => ( fallbackUnreadCount))) > 0;
1891
1891
  const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _53 => _53.isOpen]), () => ( false));
1892
1892
  const onClick = _optionalChain([ctx, 'optionalAccess', _54 => _54.toggle]);
1893
1893
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1894
- _chunkUZTOI6FJcjs.HeaderButton,
1894
+ _chunkMWLVYYRXcjs.HeaderButton,
1895
1895
  {
1896
1896
  icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.BellIcon, { className: "h-6 w-6" }),
1897
1897
  showUnreadDot: !isActive && hasUnread,
@@ -2408,7 +2408,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
2408
2408
  {
2409
2409
  className: _chunk3ATAYP36cjs.cn.call(void 0,
2410
2410
  "absolute inset-0 z-[100] md:hidden",
2411
- _chunkHJMSNOBTcjs.OVERLAY_BACKDROP_CLASS,
2411
+ _chunkOWRD2GZUcjs.OVERLAY_BACKDROP_CLASS,
2412
2412
  "transition-all duration-300 motion-reduce:transition-none",
2413
2413
  isOpen ? "opacity-100" : "pointer-events-none opacity-0"
2414
2414
  ),
@@ -2449,7 +2449,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
2449
2449
  "aria-disabled": disabled || void 0,
2450
2450
  children: [
2451
2451
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2452
- _chunkF5BPGWGTcjs.SquareAvatar,
2452
+ _chunkTKFTWM3Vcjs.SquareAvatar,
2453
2453
  {
2454
2454
  src: user.userAvatarUrl || void 0,
2455
2455
  alt: user.userName || "User",
@@ -2564,7 +2564,7 @@ function AppLayout({
2564
2564
  }),
2565
2565
  []
2566
2566
  );
2567
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
2567
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
2568
2568
  topBar,
2569
2569
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
2570
2570
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
@@ -2588,7 +2588,7 @@ function AppLayout({
2588
2588
  disabled
2589
2589
  }
2590
2590
  ),
2591
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.NotificationDrawer, {}),
2591
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.NotificationDrawer, {}),
2592
2592
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2593
2593
  "div",
2594
2594
  {
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
5
+ var _chunkOWRD2GZUcjs = require('./chunk-OWRD2GZU.cjs');
6
6
 
7
7
 
8
8
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -42,7 +42,7 @@ function isSummaryData(value) {
42
42
  }
43
43
  function TicketLiveProvider({ children, enabled = true }) {
44
44
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
45
- const identity = _chunkHJMSNOBTcjs.useChatIdentity.call(void 0, enabled);
45
+ const identity = _chunkOWRD2GZUcjs.useChatIdentity.call(void 0, enabled);
46
46
  const queryClient = _reactquery.useQueryClient.call(void 0, );
47
47
  const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
48
48
  const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
@@ -158,7 +158,7 @@ function TicketLiveProvider({ children, enabled = true }) {
158
158
  _react2.default.useEffect(() => {
159
159
  if (!streamEnabled) return void 0;
160
160
  if (typeof window === "undefined") return void 0;
161
- subscriptionRef.current = _chunkHJMSNOBTcjs.createSseSubscription.call(void 0, {
161
+ subscriptionRef.current = _chunkOWRD2GZUcjs.createSseSubscription.call(void 0, {
162
162
  url: streamUrl,
163
163
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
164
164
  onStatusChange: (status) => handlersRef.current.onStatus(status),
@@ -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 _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
4
+ var _chunkMWLVYYRXcjs = require('./chunk-MWLVYYRX.cjs');
5
5
 
6
6
 
7
- var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
7
+ var _chunkNFABAOMDcjs = require('./chunk-NFABAOMD.cjs');
8
8
 
9
9
 
10
10
  var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
@@ -18,7 +18,7 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
21
+ var _chunkOWRD2GZUcjs = require('./chunk-OWRD2GZU.cjs');
22
22
 
23
23
 
24
24
 
@@ -38,7 +38,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
41
+ var _chunkJENNI7XUcjs = require('./chunk-JENNI7XU.cjs');
42
42
 
43
43
 
44
44
  var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
@@ -70,7 +70,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
70
70
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
71
71
  "div",
72
72
  {
73
- id: _chunkHJMSNOBTcjs.faqItemAnchor.call(void 0, item.id),
73
+ id: _chunkOWRD2GZUcjs.faqItemAnchor.call(void 0, item.id),
74
74
  className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
75
75
  children: [
76
76
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -128,29 +128,29 @@ var DEFAULT_ASK_CARD = {
128
128
  var PICK_ROOT_MARGIN = "600px";
129
129
  var fillAssistant = (text, name) => text.split("{assistant}").join(name);
130
130
  function faqAskCardShown(assistant) {
131
- return _chunkHJMSNOBTcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
131
+ return _chunkOWRD2GZUcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
132
132
  }
133
133
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
134
134
  const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
135
135
  const { ref, inView } = _chunkK2JUJ37Dcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
136
136
  const [reached, setReached] = _react.useState.call(void 0, false);
137
137
  if (inView && !reached) setReached(true);
138
- const shownElsewhere = _chunkHJMSNOBTcjs.useShownAskPromptIds.call(void 0, );
138
+ const shownElsewhere = _chunkOWRD2GZUcjs.useShownAskPromptIds.call(void 0, );
139
139
  const excluded = exclude === void 0 ? shownElsewhere : exclude;
140
- const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( _optionalChain([assistant, 'optionalAccess', _2 => _2.askCard, 'optionalAccess', _3 => _3.count]))), () => ( _chunkHJMSNOBTcjs.ASK_PROMPTS_DEFAULT_COUNT));
141
- const { prompts, isLoading, supported } = _chunkHJMSNOBTcjs.useAskPrompts.call(void 0, {
140
+ const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( _optionalChain([assistant, 'optionalAccess', _2 => _2.askCard, 'optionalAccess', _3 => _3.count]))), () => ( _chunkOWRD2GZUcjs.ASK_PROMPTS_DEFAULT_COUNT));
141
+ const { prompts, isLoading, supported } = _chunkOWRD2GZUcjs.useAskPrompts.call(void 0, {
142
142
  topic,
143
143
  count: slots,
144
144
  exclude: _nullishCoalesce(excluded, () => ( void 0)),
145
145
  enabled: reached && excluded !== null
146
146
  });
147
- const open = _chunkHJMSNOBTcjs.useAssistantOpen.call(void 0, topic, onOpen);
147
+ const open = _chunkOWRD2GZUcjs.useAssistantOpen.call(void 0, topic, onOpen);
148
148
  const scoped = _react.useMemo.call(void 0, () => assistant ? { ...assistant, open } : null, [assistant, open]);
149
149
  if (!faqAskCardShown(assistant) || !assistant.name) return null;
150
150
  const name = assistant.name;
151
151
  const cardDescription = _nullishCoalesce(_nullishCoalesce(description, () => ( _optionalChain([assistant, 'access', _4 => _4.askCard, 'optionalAccess', _5 => _5.description]))), () => ( DEFAULT_ASK_CARD.description));
152
152
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEWPR7662cjs.AssistantRuntimeContext.Provider, { value: scoped, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
153
- _chunkHJMSNOBTcjs.AskCard,
153
+ _chunkOWRD2GZUcjs.AskCard,
154
154
  {
155
155
  title: fillAssistant(_nullishCoalesce(_nullishCoalesce(title, () => ( _optionalChain([assistant, 'access', _6 => _6.askCard, 'optionalAccess', _7 => _7.title]))), () => ( DEFAULT_ASK_CARD.title)), name),
156
156
  description: cardDescription ? fillAssistant(cardDescription, name) : void 0,
@@ -196,7 +196,7 @@ function buildFaqJsonLdFromFaqs(faqs, opts = {}) {
196
196
 
197
197
  var DEFAULT_HEADING_TEXT = "Frequently Asked Questions";
198
198
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "") {
199
- return _chunkGCK75D7Fcjs.buildSuggestionUrl.call(void 0, "/api/faqs", { apiBaseUrl, entityType, entityId, count: minResults });
199
+ return _chunkJENNI7XUcjs.buildSuggestionUrl.call(void 0, "/api/faqs", { apiBaseUrl, entityType, entityId, count: minResults });
200
200
  }
201
201
  function groupFaqsBySection(faqs) {
202
202
  const byName = /* @__PURE__ */ new Map();
@@ -211,7 +211,7 @@ function groupFaqsBySection(faqs) {
211
211
  }
212
212
  let group = byName.get(name);
213
213
  if (!group) {
214
- group = { section: name, slug: _chunkHJMSNOBTcjs.faqSectionSlug.call(void 0, name), items: [] };
214
+ group = { section: name, slug: _chunkOWRD2GZUcjs.faqSectionSlug.call(void 0, name), items: [] };
215
215
  byName.set(name, group);
216
216
  }
217
217
  group.items.push(item);
@@ -266,7 +266,7 @@ function GroupedFaqList({
266
266
  }, [slugKey]);
267
267
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
268
268
  _react.useEffect.call(void 0, () => {
269
- const refresh = () => setHashTarget(_chunkHJMSNOBTcjs.parseFaqHash.call(void 0, window.location.hash));
269
+ const refresh = () => setHashTarget(_chunkOWRD2GZUcjs.parseFaqHash.call(void 0, window.location.hash));
270
270
  refresh();
271
271
  window.addEventListener("hashchange", refresh);
272
272
  return () => window.removeEventListener("hashchange", refresh);
@@ -316,7 +316,7 @@ function GroupedFaqList({
316
316
  const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
317
317
  const key = groupKey(group);
318
318
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
319
- group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkGCK75D7Fcjs.SECTION_HEADING_CLASS, children: group.section }),
319
+ group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkJENNI7XUcjs.SECTION_HEADING_CLASS, children: group.section }),
320
320
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
321
321
  FaqAccordion,
322
322
  {
@@ -372,10 +372,10 @@ function FaqSection({
372
372
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
373
373
  [initialFaqs]
374
374
  );
375
- const { data, isLoading, error } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, url, { initialData });
375
+ const { data, isLoading, error } = _chunkJENNI7XUcjs.useSelfFetch.call(void 0, url, { initialData });
376
376
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([data, 'optionalAccess', _23 => _23.faqs]), () => ( [])), [_optionalChain([data, 'optionalAccess', _24 => _24.faqs])]);
377
377
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
378
- const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkGCK75D7Fcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
378
+ const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkJENNI7XUcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
379
379
  if (error) return null;
380
380
  if (!isLoading && faqs.length === 0) return null;
381
381
  if (isLoading && faqs.length === 0) {
@@ -426,7 +426,7 @@ function FaqDocumentPage({
426
426
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _25 => _25.label]), () => ( "Back to home")),
427
427
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _26 => _26.href]), () => ( "/")))
428
428
  };
429
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
429
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
430
430
  FaqSection,
431
431
  {
432
432
  initialFaqs,
@@ -440,7 +440,7 @@ function FaqDocumentPage({
440
440
  ask
441
441
  }
442
442
  ) });
443
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
443
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
444
444
  }
445
445
 
446
446
 
@@ -768,6 +768,9 @@ function formatWebinarTimeMeta(at, opts) {
768
768
  const time = formatProgramTimeRange(at, { startAt: opts.startAt, withZoneLabel: opts.withZoneLabel });
769
769
  return [time, duration].filter(Boolean).join(" \xB7 ");
770
770
  }
771
+ function formatUrlForDisplay(url, options = {}) {
772
+ return url.replace(options.keepWww ? /^https?:\/\//i : /^https?:\/\/(www\.)?/i, "").replace(/[?#].*$/, "").replace(/\/$/, "");
773
+ }
771
774
 
772
775
  // src/components/ui/square-avatar.tsx
773
776
  import { memo, forwardRef } from "react";
@@ -927,5 +930,6 @@ export {
927
930
  formatBioText,
928
931
  formatProgramTimeRange,
929
932
  formatWebinarTimeMeta,
933
+ formatUrlForDisplay,
930
934
  SquareAvatar
931
935
  };
@@ -1,7 +1,7 @@
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 _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
4
+ var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
5
5
 
6
6
 
7
7
  var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
@@ -89,7 +89,7 @@ function AvatarStack({
89
89
  "aria-label": `${label}: ${names}${unnamed > 0 ? ` and ${unnamed} more` : ""}`,
90
90
  children: [
91
91
  visible.map((person, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
92
- _chunkF5BPGWGTcjs.SquareAvatar,
92
+ _chunkTKFTWM3Vcjs.SquareAvatar,
93
93
  {
94
94
  variant: "round",
95
95
  size,