@flamingo-stack/openframe-frontend-core 0.0.819 → 0.0.821

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 (63) hide show
  1. package/dist/{chunk-2T3HXLZD.cjs → chunk-2WHKEYDX.cjs} +55 -55
  2. package/dist/{chunk-K5IICQNF.cjs → chunk-2YUWBIZM.cjs} +46 -46
  3. package/dist/{chunk-MYIOOA4E.cjs → chunk-3SE34JVB.cjs} +2 -2
  4. package/dist/{chunk-2S6BUXYD.cjs → chunk-7DIWYZPQ.cjs} +3 -3
  5. package/dist/{chunk-I453QCEF.cjs → chunk-7QGK76LC.cjs} +131 -131
  6. package/dist/{chunk-WPHCVXES.cjs → chunk-BY2PLXYC.cjs} +13 -13
  7. package/dist/{chunk-2JFR6XVT.cjs → chunk-CA7X6CCJ.cjs} +32 -32
  8. package/dist/{chunk-CEXPWDT4.cjs → chunk-FTD3CZAS.cjs} +4 -4
  9. package/dist/{chunk-UDLDXVY4.cjs → chunk-GBILLSRM.cjs} +4 -4
  10. package/dist/{chunk-S2ZA4TMJ.cjs → chunk-GQHXJGA2.cjs} +11 -11
  11. package/dist/{chunk-A36XVWIQ.cjs → chunk-IS6BQSL6.cjs} +39 -39
  12. package/dist/{chunk-TDQRDQVU.cjs → chunk-LQF5F7LF.cjs} +4 -4
  13. package/dist/{chunk-IVQT5R6M.cjs → chunk-LWOXKF5P.cjs} +30 -30
  14. package/dist/{chunk-VSKR26MV.cjs → chunk-N2XHQVWX.cjs} +6 -6
  15. package/dist/{chunk-U3OICGCV.cjs → chunk-OEKVCVOS.cjs} +63 -63
  16. package/dist/{chunk-Q6QQSCUC.cjs → chunk-P2ZIQ72J.cjs} +13 -13
  17. package/dist/{chunk-IM366HS6.cjs → chunk-QCRJVO6Y.cjs} +78 -7
  18. package/dist/{chunk-7IQU54VE.cjs → chunk-QFNQSZ4H.cjs} +32 -97
  19. package/dist/{chunk-JOXJDNHN.cjs → chunk-RRLJ5PNL.cjs} +3 -3
  20. package/dist/{chunk-2W3W3ZV6.cjs → chunk-V26M75GV.cjs} +14 -14
  21. package/dist/{chunk-LUID2IB3.cjs → chunk-XEIZL3I3.cjs} +2 -2
  22. package/dist/{chunk-OTGYA5F7.cjs → chunk-YCE7A63X.cjs} +33 -33
  23. package/dist/{cloud-tenants-P5XJ5DPJ.cjs → cloud-tenants-M34P47GS.cjs} +6 -6
  24. package/dist/components/case-studies/index.cjs +20 -20
  25. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  26. package/dist/components/chat/embeddable-chat.js +5 -6
  27. package/dist/components/chat/index.cjs +5 -5
  28. package/dist/components/chat/utils/cited-sources.d.ts +9 -0
  29. package/dist/components/chat/utils/cited-sources.d.ts.map +1 -1
  30. package/dist/components/chat/utils/cited-sources.js +5 -0
  31. package/dist/components/contact/index.cjs +7 -7
  32. package/dist/components/docs/index.cjs +10 -10
  33. package/dist/components/embeds/index.cjs +7 -7
  34. package/dist/components/faq/index.cjs +8 -8
  35. package/dist/components/features/index.cjs +6 -6
  36. package/dist/components/help-center-pages/index.cjs +80 -80
  37. package/dist/components/index.cjs +48 -48
  38. package/dist/components/meeting-scheduler/index.cjs +31 -31
  39. package/dist/components/navigation/index.cjs +9 -9
  40. package/dist/components/onboarding-guides/index.cjs +9 -9
  41. package/dist/components/product-demo/index.cjs +15 -15
  42. package/dist/components/related-content/index.cjs +4 -4
  43. package/dist/components/tickets/index.cjs +11 -11
  44. package/dist/components/ui/index.cjs +6 -6
  45. package/dist/contexts/chat-runtime-context.d.ts +4 -3
  46. package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
  47. package/dist/{devices-BSIWSRZG.cjs → devices-SWFK4CPO.cjs} +7 -7
  48. package/dist/{embeddable-chat-5L2PKTW3.cjs → embeddable-chat-J6CKPKKM.cjs} +74 -71
  49. package/dist/index.cjs +17 -17
  50. package/dist/{knowledge-2F3IPK73.cjs → knowledge-N5FDIA33.cjs} +7 -7
  51. package/dist/{logs-U3OCJ2OC.cjs → logs-OEK7GMEB.cjs} +14 -14
  52. package/dist/{policies-L3KHKE2G.cjs → policies-Q7AS5AL6.cjs} +10 -10
  53. package/dist/{scripts-U4SLB5YC.cjs → scripts-3XWEDB2A.cjs} +11 -11
  54. package/dist/{software-update-QALYFCIO.cjs → software-update-6FOBLAOF.cjs} +9 -9
  55. package/dist/utils/image-proxy.d.ts +3 -2
  56. package/dist/utils/image-proxy.d.ts.map +1 -1
  57. package/dist/utils/image-proxy.js +11 -4
  58. package/dist/utils/index.cjs +68 -62
  59. package/package.json +1 -1
  60. package/src/components/chat/embeddable-chat.tsx +7 -8
  61. package/src/components/chat/utils/cited-sources.ts +10 -0
  62. package/src/contexts/chat-runtime-context.tsx +4 -3
  63. package/src/utils/image-proxy.ts +17 -6
@@ -5,12 +5,12 @@ var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
8
+ var _chunkQFNQSZ4Hcjs = require('./chunk-QFNQSZ4H.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
13
+ var _chunkYCE7A63Xcjs = require('./chunk-YCE7A63X.cjs');
14
14
 
15
15
 
16
16
 
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunkUDLDXVY4cjs = require('./chunk-UDLDXVY4.cjs');
28
+ var _chunkGBILLSRMcjs = require('./chunk-GBILLSRM.cjs');
29
29
 
30
30
 
31
- var _chunkIM366HS6cjs = require('./chunk-IM366HS6.cjs');
31
+ var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
32
32
 
33
33
 
34
34
  var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
74
74
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
75
75
  "div",
76
76
  {
77
- id: _chunkOTGYA5F7cjs.faqItemAnchor.call(void 0, item.id),
77
+ id: _chunkYCE7A63Xcjs.faqItemAnchor.call(void 0, item.id),
78
78
  className: _chunk63A4GZMBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
79
79
  "data-loading-item": true,
80
80
  children: [
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
140
140
 
141
141
  var PICK_ROOT_MARGIN = "600px";
142
142
  function faqAskCardShown(assistant) {
143
- return _chunk7IQU54VEcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
143
+ return _chunkQFNQSZ4Hcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
144
144
  }
145
145
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
146
146
  const { ref, inView } = _chunkA34UNP5Vcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
147
147
  const [reached, setReached] = _react.useState.call(void 0, false);
148
148
  if (inView && !reached) setReached(true);
149
149
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunk7IQU54VEcjs.AssistantAskPrompts,
150
+ _chunkQFNQSZ4Hcjs.AssistantAskPrompts,
151
151
  {
152
152
  variant: "card",
153
153
  topic,
@@ -207,7 +207,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
207
207
  var FAQ_NAV_SKELETON_PILLS = 8;
208
208
  var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
209
209
  var CATEGORY_SECTION_CLASS = "scroll-mt-24";
210
- var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkIM366HS6cjs.SECTION_HEADING_CLASS, "pb-4");
210
+ var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS, "pb-4");
211
211
  var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
212
212
  function FaqLayout({
213
213
  heading,
@@ -233,7 +233,7 @@ function FaqLayout({
233
233
  ] });
234
234
  }
235
235
  function faqHeadingNode(heading, showTopic, topic) {
236
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkIM366HS6cjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
236
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
237
237
  if (!(showTopic && topic)) return titleNode;
238
238
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
239
239
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
@@ -247,7 +247,7 @@ function pageFaqProps(faq) {
247
247
  }
248
248
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
249
249
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
250
- return _chunkUDLDXVY4cjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
250
+ return _chunkGBILLSRMcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
251
251
  apiBaseUrl,
252
252
  entityType,
253
253
  entityId,
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
268
268
  }
269
269
  let group = byName.get(name);
270
270
  if (!group) {
271
- group = { section: name, slug: _chunkOTGYA5F7cjs.faqSectionSlug.call(void 0, name), items: [] };
271
+ group = { section: name, slug: _chunkYCE7A63Xcjs.faqSectionSlug.call(void 0, name), items: [] };
272
272
  byName.set(name, group);
273
273
  }
274
274
  group.items.push(item);
@@ -324,7 +324,7 @@ function GroupedFaqList({
324
324
  }, [slugKey]);
325
325
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
326
326
  _react.useEffect.call(void 0, () => {
327
- const refresh = () => setHashTarget(_chunkOTGYA5F7cjs.parseFaqHash.call(void 0, window.location.hash));
327
+ const refresh = () => setHashTarget(_chunkYCE7A63Xcjs.parseFaqHash.call(void 0, window.location.hash));
328
328
  refresh();
329
329
  window.addEventListener("hashchange", refresh);
330
330
  return () => window.removeEventListener("hashchange", refresh);
@@ -425,7 +425,7 @@ function FaqSection({
425
425
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
426
426
  [initialFaqs]
427
427
  );
428
- const { data, dataUrl, isLoading, error } = _chunkUDLDXVY4cjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
428
+ const { data, dataUrl, isLoading, error } = _chunkGBILLSRMcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
429
429
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _14 => _14.faqs]) : void 0;
430
430
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
431
431
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkMYIOOA4Ecjs = require('./chunk-MYIOOA4E.cjs');
6
+ var _chunk3SE34JVBcjs = require('./chunk-3SE34JVB.cjs');
7
7
 
8
8
 
9
- var _chunkCEXPWDT4cjs = require('./chunk-CEXPWDT4.cjs');
9
+ var _chunkFTD3CZAScjs = require('./chunk-FTD3CZAS.cjs');
10
10
 
11
11
 
12
12
 
@@ -18,7 +18,7 @@ var _chunkCEXPWDT4cjs = require('./chunk-CEXPWDT4.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkI453QCEFcjs = require('./chunk-I453QCEF.cjs');
21
+ var _chunk7QGK76LCcjs = require('./chunk-7QGK76LC.cjs');
22
22
 
23
23
 
24
24
  var _chunkEHANO6UEcjs = require('./chunk-EHANO6UE.cjs');
@@ -39,11 +39,11 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
39
39
 
40
40
 
41
41
 
42
- var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
42
+ var _chunkQFNQSZ4Hcjs = require('./chunk-QFNQSZ4H.cjs');
43
43
 
44
44
 
45
45
 
46
- var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
46
+ var _chunkYCE7A63Xcjs = require('./chunk-YCE7A63X.cjs');
47
47
 
48
48
 
49
49
  var _chunkOBQ5WUNGcjs = require('./chunk-OBQ5WUNG.cjs');
@@ -199,7 +199,7 @@ function NavItemRow({
199
199
  className
200
200
  }) {
201
201
  const label = navLinkLabel(link);
202
- const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
202
+ const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
203
203
  const singleLine = !link.description && !link.builtOn;
204
204
  const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
205
205
  ROW_CLASSES[variant],
@@ -256,7 +256,7 @@ function loadFeatureCard() {
256
256
  }
257
257
  function subscribeToFeatureCard(listener) {
258
258
  featureCardListeners.add(listener);
259
- const cancel = _chunk7IQU54VEcjs.afterPageLoad.call(void 0, loadFeatureCard);
259
+ const cancel = _chunkQFNQSZ4Hcjs.afterPageLoad.call(void 0, loadFeatureCard);
260
260
  return () => {
261
261
  featureCardListeners.delete(listener);
262
262
  cancel();
@@ -621,7 +621,7 @@ function SiteHeader({
621
621
  leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
622
622
  leading,
623
623
  mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
624
- _chunkI453QCEFcjs.HeaderButton,
624
+ _chunk7QGK76LCcjs.HeaderButton,
625
625
  {
626
626
  className: "border-r border-ods-border lg:hidden",
627
627
  onClick: mobile.onToggle,
@@ -647,7 +647,7 @@ function SiteHeader({
647
647
  centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
648
648
  cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
649
649
  mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
650
- _chunk7IQU54VEcjs.MingoAiButton,
650
+ _chunkQFNQSZ4Hcjs.MingoAiButton,
651
651
  {
652
652
  source: mingo.source,
653
653
  icon: mingo.icon,
@@ -751,7 +751,7 @@ function MobileNavSheetBody({
751
751
  ] }),
752
752
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
753
753
  askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
754
- _chunk7IQU54VEcjs.MingoAiButton,
754
+ _chunkQFNQSZ4Hcjs.MingoAiButton,
755
755
  {
756
756
  variant: "field",
757
757
  source: askAI.source,
@@ -929,7 +929,7 @@ function SiteFooter({
929
929
  const columns = nav.footerColumns;
930
930
  const accordion = columns.length > ACCORDION_OVER;
931
931
  const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
932
- _chunkI453QCEFcjs.SocialIconRow,
932
+ _chunk7QGK76LCcjs.SocialIconRow,
933
933
  {
934
934
  compact: true,
935
935
  links: nav.brand.social.map((link) => ({
@@ -1032,7 +1032,7 @@ var _framermotion = require('framer-motion');
1032
1032
 
1033
1033
  function SlidingSidebar({ config }) {
1034
1034
  const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
1035
- const mounted = _chunkOTGYA5F7cjs.useIsHydrated.call(void 0, );
1035
+ const mounted = _chunkYCE7A63Xcjs.useIsHydrated.call(void 0, );
1036
1036
  const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
1037
1037
  const asideRef = _react.useRef.call(void 0, null);
1038
1038
  const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
@@ -1207,7 +1207,7 @@ function SlidingSidebar({ config }) {
1207
1207
  // src/components/navigation/page-section-bar.tsx
1208
1208
 
1209
1209
 
1210
- var SECTION_BAR_HEIGHT_PX = _chunkMYIOOA4Ecjs.STICKY_SECTION_NAV_HEIGHT_PX;
1210
+ var SECTION_BAR_HEIGHT_PX = _chunk3SE34JVBcjs.STICKY_SECTION_NAV_HEIGHT_PX;
1211
1211
  var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
1212
1212
  var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
1213
1213
  var PAGE_ANCHOR_GAP_PX = 16;
@@ -1235,21 +1235,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
1235
1235
  const sections = useRenderedSections(listed);
1236
1236
  const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
1237
1237
  const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
1238
- const { activeSection, handleSectionClick } = _chunkMYIOOA4Ecjs.useScrollSpy.call(void 0, sections, {
1238
+ const { activeSection, handleSectionClick } = _chunk3SE34JVBcjs.useScrollSpy.call(void 0, sections, {
1239
1239
  syncHash: true,
1240
1240
  aboveFirst: "none",
1241
1241
  headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
1242
1242
  });
1243
1243
  if (sections.length === 0 && !inScope) return null;
1244
1244
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1245
- _chunkI453QCEFcjs.PageContainer,
1245
+ _chunk7QGK76LCcjs.PageContainer,
1246
1246
  {
1247
1247
  as: "div",
1248
1248
  backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
1249
1249
  backgroundStyle: { top: headerBottom },
1250
1250
  contentPadding: SECTION_BAR_INSET_CLASS,
1251
1251
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1252
- _chunkMYIOOA4Ecjs.StickySectionNav,
1252
+ _chunk3SE34JVBcjs.StickySectionNav,
1253
1253
  {
1254
1254
  orientation: "horizontal",
1255
1255
  label,
@@ -1258,7 +1258,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
1258
1258
  onSectionClick: handleSectionClick,
1259
1259
  brand,
1260
1260
  action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1261
- _chunkOTGYA5F7cjs.NavLinkAnchorViaRuntime,
1261
+ _chunkYCE7A63Xcjs.NavLinkAnchorViaRuntime,
1262
1262
  {
1263
1263
  href: action.href,
1264
1264
  onClick: (event) => {
@@ -1345,7 +1345,7 @@ function LoadedNavigationSidebarItemButton({
1345
1345
  const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1346
1346
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
1347
1347
  _react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
1348
- hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.UnreadDot, { size: "fixed" })
1348
+ hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.UnreadDot, { size: "fixed" })
1349
1349
  ] }),
1350
1350
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1351
1351
  "span",
@@ -1455,7 +1455,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
1455
1455
  setTabletFor(isTablet);
1456
1456
  if (isTablet) setTabletMinimized(true);
1457
1457
  }
1458
- const hydrated = _chunkOTGYA5F7cjs.useIsHydrated.call(void 0, );
1458
+ const hydrated = _chunkYCE7A63Xcjs.useIsHydrated.call(void 0, );
1459
1459
  const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
1460
1460
  const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
1461
1461
  const isOverlayOpen = isTablet && !minimized;
@@ -1647,7 +1647,7 @@ function HeaderGlobalSearch({
1647
1647
  "form",
1648
1648
  {
1649
1649
  onSubmit: handleSubmit,
1650
- ..._chunk7IQU54VEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
1650
+ ..._chunkQFNQSZ4Hcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
1651
1651
  className: _chunk63A4GZMBcjs.cn.call(void 0,
1652
1652
  "flex h-full flex-1 items-center gap-2 px-3",
1653
1653
  // Transparent so the cell inherits the bar's background
@@ -1754,14 +1754,14 @@ function HeaderOrganizationFilter({
1754
1754
  // src/components/navigation/ticket-alerts-button.tsx
1755
1755
 
1756
1756
  function TicketAlertsButton({ href, disabled, className }) {
1757
- const live = _chunkCEXPWDT4cjs.useOptionalTicketLive.call(void 0, );
1757
+ const live = _chunkFTD3CZAScjs.useOptionalTicketLive.call(void 0, );
1758
1758
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
1759
1759
  if (!live || !live.authed || live.unreadTotal === 0) return null;
1760
1760
  const targetId = live.nextUnreadTicketId;
1761
- const target = targetId ? _chunk7IQU54VEcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
1761
+ const target = targetId ? _chunkQFNQSZ4Hcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
1762
1762
  const handleClick = () => _chunkA34UNP5Vcjs.executeNavigationImperative.call(void 0, { runtime, href: target });
1763
1763
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1764
- _chunkI453QCEFcjs.HeaderButton,
1764
+ _chunk7QGK76LCcjs.HeaderButton,
1765
1765
  {
1766
1766
  icon: (
1767
1767
  // Glyph inherits HeaderButton's standard cell coloring (secondary at
@@ -1771,7 +1771,7 @@ function TicketAlertsButton({ href, disabled, className }) {
1771
1771
  // existing while updates are unread — never by tinting the glyph.
1772
1772
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
1773
1773
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
1774
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.UnreadCountBadge, { count: live.unreadTotal })
1774
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.UnreadCountBadge, { count: live.unreadTotal })
1775
1775
  ] })
1776
1776
  ),
1777
1777
  "aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
@@ -1847,7 +1847,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1847
1847
  leading: (
1848
1848
  // Mobile: Burger Menu Button
1849
1849
  !isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1850
- _chunkI453QCEFcjs.HeaderButton,
1850
+ _chunk7QGK76LCcjs.HeaderButton,
1851
1851
  {
1852
1852
  onClick: onToggleMobileMenu,
1853
1853
  isActive: isMobileMenuOpen,
@@ -1873,7 +1873,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1873
1873
  center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
1874
1874
  sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1875
1875
  showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1876
- _chunkI453QCEFcjs.HeaderButton,
1876
+ _chunk7QGK76LCcjs.HeaderButton,
1877
1877
  {
1878
1878
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
1879
1879
  "aria-label": "Search",
@@ -1890,7 +1890,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1890
1890
  className: _chunk63A4GZMBcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
1891
1891
  }
1892
1892
  ),
1893
- showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
1893
+ showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
1894
1894
  showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1895
1895
  NotificationsHeaderButton,
1896
1896
  {
@@ -1909,7 +1909,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1909
1909
  ),
1910
1910
  isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
1911
1911
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1912
- _chunkI453QCEFcjs.HeaderButton,
1912
+ _chunk7QGK76LCcjs.HeaderButton,
1913
1913
  {
1914
1914
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1915
1915
  _chunkBOS7OIC4cjs.SquareAvatar,
@@ -1994,12 +1994,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
1994
1994
  );
1995
1995
  });
1996
1996
  function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
1997
- const ctx = _chunkI453QCEFcjs.useOptionalNotifications.call(void 0, );
1997
+ const ctx = _chunk7QGK76LCcjs.useOptionalNotifications.call(void 0, );
1998
1998
  const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
1999
1999
  const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
2000
2000
  const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
2001
2001
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2002
- _chunkI453QCEFcjs.HeaderButton,
2002
+ _chunk7QGK76LCcjs.HeaderButton,
2003
2003
  {
2004
2004
  icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
2005
2005
  showUnreadDot: !isActive && hasUnread,
@@ -2652,7 +2652,7 @@ function AppLayout({
2652
2652
  }),
2653
2653
  []
2654
2654
  );
2655
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
2655
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
2656
2656
  topBar,
2657
2657
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
2658
2658
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
@@ -2676,7 +2676,7 @@ function AppLayout({
2676
2676
  disabled
2677
2677
  }
2678
2678
  ),
2679
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.NotificationDrawer, {}),
2679
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.NotificationDrawer, {}),
2680
2680
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2681
2681
  "div",
2682
2682
  {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
4
+ var _chunkQFNQSZ4Hcjs = require('./chunk-QFNQSZ4H.cjs');
5
5
 
6
6
 
7
- var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
7
+ var _chunkYCE7A63Xcjs = require('./chunk-YCE7A63X.cjs');
8
8
 
9
9
 
10
10
  var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
@@ -44,7 +44,7 @@ function isSummaryData(value) {
44
44
  }
45
45
  function TicketLiveProvider({ children, enabled = true }) {
46
46
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
47
- const identity = _chunkOTGYA5F7cjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunkYCE7A63Xcjs.useChatIdentity.call(void 0, enabled);
48
48
  const queryClient = _reactquery.useQueryClient.call(void 0, );
49
49
  const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
50
50
  const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
160
160
  _react2.default.useEffect(() => {
161
161
  if (!streamEnabled) return void 0;
162
162
  if (typeof window === "undefined") return void 0;
163
- subscriptionRef.current = _chunk7IQU54VEcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkQFNQSZ4Hcjs.createSseSubscription.call(void 0, {
164
164
  url: streamUrl,
165
165
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
166
166
  onStatusChange: (status) => handlersRef.current.onStatus(status),
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIM366HS6cjs = require('./chunk-IM366HS6.cjs');
5
+ var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
6
6
 
7
7
 
8
8
  var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
@@ -150,7 +150,7 @@ function EmployeeEntryBadge({ children }) {
150
150
  function EmployeeEntryCard(props) {
151
151
  if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
152
152
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
153
- _chunkIM366HS6cjs.AdminContentCard,
153
+ _chunkQCRJVO6Ycjs.AdminContentCard,
154
154
  {
155
155
  loading: true,
156
156
  title: "",
@@ -172,9 +172,9 @@ function LoadedEmployeeEntryCard({
172
172
  anchorProps,
173
173
  className
174
174
  }) {
175
- const authorAvatar = _chunkIM366HS6cjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
175
+ const authorAvatar = _chunkQCRJVO6Ycjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
176
176
  const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
177
- _chunkIM366HS6cjs.AdminContentCard,
177
+ _chunkQCRJVO6Ycjs.AdminContentCard,
178
178
  {
179
179
  imageUrl: entry.featured_image || entry.main_video_thumbnail,
180
180
  placeholderUrl,
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkI453QCEFcjs = require('./chunk-I453QCEF.cjs');
5
+ var _chunk7QGK76LCcjs = require('./chunk-7QGK76LC.cjs');
6
6
 
7
7
 
8
8
 
@@ -17,16 +17,16 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
17
17
  var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
18
18
 
19
19
 
20
- var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
20
+ var _chunkQFNQSZ4Hcjs = require('./chunk-QFNQSZ4H.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
25
+ var _chunkYCE7A63Xcjs = require('./chunk-YCE7A63X.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkIM366HS6cjs = require('./chunk-IM366HS6.cjs');
29
+ var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
30
30
 
31
31
 
32
32
 
@@ -119,7 +119,7 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunkOTGYA5F7cjs.useChatAttachments.call(void 0, );
122
+ const attachments = _chunkYCE7A63Xcjs.useChatAttachments.call(void 0, );
123
123
  const builtInSubmission = _chunkT266OITJcjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
@@ -190,7 +190,7 @@ function ContactForm({
190
190
  className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
191
191
  children: [
192
192
  (title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
193
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkIM366HS6cjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkIM366HS6cjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkQCRJVO6Ycjs.accentSentenceMarks.call(void 0, title) }),
194
194
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
195
195
  ] }),
196
196
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -203,13 +203,13 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunk7IQU54VEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkQFNQSZ4Hcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
207
207
  children: [
208
208
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkI453QCEFcjs.Textarea,
337
+ _chunk7QGK76LCcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -349,7 +349,7 @@ function ContactForm({
349
349
  ] }),
350
350
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
351
351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
352
- _chunkOTGYA5F7cjs.ChatAttachmentChipStrip,
352
+ _chunkYCE7A63Xcjs.ChatAttachmentChipStrip,
353
353
  {
354
354
  attachments: attachments.attachments,
355
355
  onRemove: attachments.removeAttachment,
@@ -358,7 +358,7 @@ function ContactForm({
358
358
  ),
359
359
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
360
360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
361
- _chunkOTGYA5F7cjs.ChatAttachmentAddButton,
361
+ _chunkYCE7A63Xcjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,