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

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 (56) hide show
  1. package/dist/{chunk-L5CKY5WA.cjs → chunk-24OYQQZC.cjs} +13 -13
  2. package/dist/{chunk-F67SEXCW.cjs → chunk-2AZAJ7RK.cjs} +39 -39
  3. package/dist/{chunk-6SJYFUGD.cjs → chunk-2MF547RG.cjs} +22 -22
  4. package/dist/{chunk-VAGZJRYV.cjs → chunk-2YB4X5WT.cjs} +4 -4
  5. package/dist/{chunk-SWEPHSIP.cjs → chunk-3V27UHSH.cjs} +4 -4
  6. package/dist/{chunk-EQBJHJS7.cjs → chunk-6HY2NH7D.cjs} +2 -2
  7. package/dist/{chunk-5YJWT5ZQ.cjs → chunk-AMVI5VXM.cjs} +68 -68
  8. package/dist/{chunk-PMX6QNNN.cjs → chunk-BDYI6HBT.cjs} +12 -12
  9. package/dist/{chunk-VISK6LKE.cjs → chunk-DDXQGTWB.cjs} +2 -2
  10. package/dist/{chunk-IQQ3SLUK.cjs → chunk-F65RSJVV.cjs} +17 -17
  11. package/dist/{chunk-36GYLB3Z.cjs → chunk-IXZNBDXT.cjs} +11 -11
  12. package/dist/{chunk-KWZ62LPZ.cjs → chunk-KM2TVQCH.cjs} +98 -98
  13. package/dist/{chunk-ODF3KCRK.cjs → chunk-L55XLH5A.cjs} +29 -29
  14. package/dist/{chunk-TOPGBOCN.cjs → chunk-LNCBN4BL.cjs} +2 -2
  15. package/dist/{chunk-FHTTRWAK.cjs → chunk-MWH5ZTMB.cjs} +77 -77
  16. package/dist/{chunk-Y3EBUFX4.cjs → chunk-MYHS4W2H.cjs} +1 -1
  17. package/dist/{chunk-BTVO676B.cjs → chunk-NWZSYG4S.cjs} +74 -74
  18. package/dist/{chunk-TUXPFF4P.cjs → chunk-OJLZ7PGO.cjs} +28 -28
  19. package/dist/{chunk-4LFB4YY3.cjs → chunk-OTZQP53Y.cjs} +3 -3
  20. package/dist/{chunk-3XLDYEQD.cjs → chunk-UM6HFGTI.cjs} +51 -51
  21. package/dist/{chunk-USMR73ND.cjs → chunk-WAQPW4CB.cjs} +4 -4
  22. package/dist/{chunk-42JGOJCB.cjs → chunk-XN6LXMH5.cjs} +166 -166
  23. package/dist/{chunk-TF2XYDH3.cjs → chunk-XT5WEHFM.cjs} +3 -3
  24. package/dist/{chunk-VDXBACD3.cjs → chunk-YFTQ2ALU.cjs} +37 -37
  25. package/dist/{chunk-5AOKXXHV.cjs → chunk-Z5KX56TK.cjs} +4 -4
  26. package/dist/{cloud-tenants-ISGAMTJD.cjs → cloud-tenants-QFE6QMR5.cjs} +7 -7
  27. package/dist/components/case-studies/index.cjs +23 -23
  28. package/dist/components/chat/index.cjs +5 -5
  29. package/dist/components/contact/index.cjs +8 -8
  30. package/dist/components/docs/index.cjs +11 -11
  31. package/dist/components/embeds/index.cjs +8 -8
  32. package/dist/components/faq/index.cjs +9 -9
  33. package/dist/components/features/index.cjs +7 -7
  34. package/dist/components/features/use-file-playback.d.ts +6 -4
  35. package/dist/components/features/use-file-playback.d.ts.map +1 -1
  36. package/dist/components/features/use-file-playback.js +16 -7
  37. package/dist/components/help-center-pages/index.cjs +83 -83
  38. package/dist/components/index.cjs +55 -55
  39. package/dist/components/meeting-scheduler/index.cjs +37 -37
  40. package/dist/components/navigation/index.cjs +10 -10
  41. package/dist/components/onboarding-guides/index.cjs +10 -10
  42. package/dist/components/product-demo/index.cjs +16 -16
  43. package/dist/components/related-content/index.cjs +5 -5
  44. package/dist/components/tickets/index.cjs +13 -13
  45. package/dist/components/ui/index.cjs +7 -7
  46. package/dist/{devices-AHJX6ACJ.cjs → devices-SFJDLXSW.cjs} +8 -8
  47. package/dist/{embeddable-chat-DI7ZZTBP.cjs → embeddable-chat-XZUWAK4W.cjs} +73 -73
  48. package/dist/index.cjs +11 -11
  49. package/dist/{knowledge-FH5GVRVP.cjs → knowledge-SAK3ZGCO.cjs} +8 -8
  50. package/dist/{logs-JBIHHLUQ.cjs → logs-CYBGMFA5.cjs} +15 -15
  51. package/dist/{policies-XLJ2ABY5.cjs → policies-XXDOICWF.cjs} +11 -11
  52. package/dist/{scripts-CQLXM7PP.cjs → scripts-C5T2AQPA.cjs} +12 -12
  53. package/dist/{software-update-7NYZ7L76.cjs → software-update-XU5AI4TP.cjs} +10 -10
  54. package/dist/{video-file-player-4TXA7BZF.cjs → video-file-player-6ZFOZFER.cjs} +16 -7
  55. package/package.json +1 -1
  56. package/src/components/features/use-file-playback.ts +33 -14
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
4
+ var _chunkXN6LXMH5cjs = require('./chunk-XN6LXMH5.cjs');
5
5
 
6
6
 
7
7
  var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
48
48
  ] });
49
49
  }
50
50
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51
- _chunk42JGOJCBcjs.EmbedViewerFrame,
51
+ _chunkXN6LXMH5cjs.EmbedViewerFrame,
52
52
  {
53
53
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
54
54
  title: displayName,
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
83
83
  ] });
84
84
  }
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
86
- _chunk42JGOJCBcjs.EmbedViewerFrame,
86
+ _chunkXN6LXMH5cjs.EmbedViewerFrame,
87
87
  {
88
88
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
89
89
  title: displayName,
@@ -1,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 _chunkTOPGBOCNcjs = require('./chunk-TOPGBOCN.cjs');
4
+ var _chunkLNCBN4BLcjs = require('./chunk-LNCBN4BL.cjs');
5
5
 
6
6
 
7
7
 
@@ -16,7 +16,7 @@ var _chunkTOPGBOCNcjs = require('./chunk-TOPGBOCN.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkTUXPFF4Pcjs = require('./chunk-TUXPFF4P.cjs');
19
+ var _chunkOJLZ7PGOcjs = require('./chunk-OJLZ7PGO.cjs');
20
20
 
21
21
 
22
22
 
@@ -40,7 +40,7 @@ var _chunkTUXPFF4Pcjs = require('./chunk-TUXPFF4P.cjs');
40
40
 
41
41
 
42
42
 
43
- var _chunkY3EBUFX4cjs = require('./chunk-Y3EBUFX4.cjs');
43
+ var _chunkMYHS4W2Hcjs = require('./chunk-MYHS4W2H.cjs');
44
44
 
45
45
 
46
46
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
@@ -453,7 +453,7 @@ function programEntry(configKey) {
453
453
  // Hosts are drawn only for a type whose cards show them (its config's `cardShowsHosts`): elsewhere a record may
454
454
  // have none.
455
455
  skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
456
- _chunkY3EBUFX4cjs.ProgramCardSkeleton,
456
+ _chunkMYHS4W2Hcjs.ProgramCardSkeleton,
457
457
  {
458
458
  size: size === "sm" ? "sm" : "default",
459
459
  media: configKey === "event" ? EVENT_CARD_SKELETON_MEDIA : 0,
@@ -465,7 +465,7 @@ function programEntry(configKey) {
465
465
  const config = _optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.programConfigs, 'optionalAccess', _7 => _7[configKey]]);
466
466
  if (!config) return null;
467
467
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
468
- _chunkY3EBUFX4cjs.ProgramCard,
468
+ _chunkMYHS4W2Hcjs.ProgramCard,
469
469
  {
470
470
  config,
471
471
  item,
@@ -483,10 +483,10 @@ function programEntry(configKey) {
483
483
  }
484
484
  function roadmapEntry(cardType) {
485
485
  return cardEntry({
486
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3EBUFX4cjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
486
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
487
487
  decode: decodeRoadmapRow,
488
488
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
489
- _chunkY3EBUFX4cjs.RoadmapCard,
489
+ _chunkMYHS4W2Hcjs.RoadmapCard,
490
490
  {
491
491
  item,
492
492
  href: ctx.href,
@@ -503,10 +503,10 @@ function roadmapEntry(cardType) {
503
503
  }
504
504
  var RELATED_CARD_REGISTRY = {
505
505
  blog_post_existing: cardEntry({
506
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3EBUFX4cjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
506
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
507
507
  decode: decodeBlogRow,
508
508
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
509
- _chunkY3EBUFX4cjs.BlogCard,
509
+ _chunkMYHS4W2Hcjs.BlogCard,
510
510
  {
511
511
  post,
512
512
  size: ctx.legacySize,
@@ -519,10 +519,10 @@ var RELATED_CARD_REGISTRY = {
519
519
  )
520
520
  }),
521
521
  case_study: cardEntry({
522
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3EBUFX4cjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
522
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
523
523
  decode: decodeCaseStudyRow,
524
524
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
525
- _chunkY3EBUFX4cjs.CaseStudyCard,
525
+ _chunkMYHS4W2Hcjs.CaseStudyCard,
526
526
  {
527
527
  study,
528
528
  size: ctx.legacySize,
@@ -534,10 +534,10 @@ var RELATED_CARD_REGISTRY = {
534
534
  )
535
535
  }),
536
536
  customer_interview: cardEntry({
537
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3EBUFX4cjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
537
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
538
538
  decode: decodeCustomerInterviewRow,
539
539
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
540
- _chunkY3EBUFX4cjs.CustomerInterviewCard,
540
+ _chunkMYHS4W2Hcjs.CustomerInterviewCard,
541
541
  {
542
542
  interview,
543
543
  size: ctx.legacySize,
@@ -555,13 +555,13 @@ var RELATED_CARD_REGISTRY = {
555
555
  * record, and the three props the rail sets itself are read off it.
556
556
  */
557
557
  product_release: cardEntry({
558
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3EBUFX4cjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
558
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
559
559
  decode: asRecord,
560
560
  render: (release, ctx) => {
561
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _8 => _8.extras, 'optionalAccess', _9 => _9.buildProductReleaseCardProps]), () => ( _chunkY3EBUFX4cjs.buildProductReleaseCardProps));
561
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _8 => _8.extras, 'optionalAccess', _9 => _9.buildProductReleaseCardProps]), () => ( _chunkMYHS4W2Hcjs.buildProductReleaseCardProps));
562
562
  const releaseProps = buildReleaseProps(release);
563
563
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
564
- _chunkTUXPFF4Pcjs.ProductReleaseCard,
564
+ _chunkOJLZ7PGOcjs.ProductReleaseCard,
565
565
  {
566
566
  size: ctx.size === "sm" ? "sm" : "lg",
567
567
  title: str(release, "title"),
@@ -577,10 +577,10 @@ var RELATED_CARD_REGISTRY = {
577
577
  webinar: programEntry("webinar"),
578
578
  event: programEntry("event"),
579
579
  investor_update: cardEntry({
580
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3EBUFX4cjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
580
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
581
581
  decode: decodeInvestorUpdateRow,
582
582
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
583
- _chunkY3EBUFX4cjs.InvestorUpdateCard,
583
+ _chunkMYHS4W2Hcjs.InvestorUpdateCard,
584
584
  {
585
585
  update,
586
586
  size: ctx.legacySize,
@@ -595,10 +595,10 @@ var RELATED_CARD_REGISTRY = {
595
595
  * step-numbered 'default' variant is for the guide detail page's "More in
596
596
  * section" rail, not this full-width row. */
597
597
  onboarding_guide: cardEntry({
598
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3EBUFX4cjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog", published: false }),
598
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog", published: false }),
599
599
  decode: decodeOnboardingGuideRow,
600
600
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
601
- _chunkY3EBUFX4cjs.OnboardingGuideCard,
601
+ _chunkMYHS4W2Hcjs.OnboardingGuideCard,
602
602
  {
603
603
  guide,
604
604
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -615,10 +615,10 @@ var RELATED_CARD_REGISTRY = {
615
615
  * href: an object with `href: undefined` is still truthy and would wrap the
616
616
  * card in a dead <a>. */
617
617
  what_i_shipped: cardEntry({
618
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUXPFF4Pcjs.WhatIShippedCardSkeleton, {}),
618
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJLZ7PGOcjs.WhatIShippedCardSkeleton, {}),
619
619
  decode: decodeEmployeeEntryRow,
620
620
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
621
- _chunkTUXPFF4Pcjs.WhatIShippedCard,
621
+ _chunkOJLZ7PGOcjs.WhatIShippedCard,
622
622
  {
623
623
  entry,
624
624
  placeholderUrl: ctx.placeholderUrl,
@@ -628,10 +628,10 @@ var RELATED_CARD_REGISTRY = {
628
628
  }),
629
629
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
630
630
  how_i_work: cardEntry({
631
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUXPFF4Pcjs.HowIWorkCardSkeleton, {}),
631
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJLZ7PGOcjs.HowIWorkCardSkeleton, {}),
632
632
  decode: decodeEmployeeEntryRow,
633
633
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
634
- _chunkTUXPFF4Pcjs.HowIWorkCard,
634
+ _chunkOJLZ7PGOcjs.HowIWorkCard,
635
635
  {
636
636
  entry,
637
637
  placeholderUrl: ctx.placeholderUrl,
@@ -641,10 +641,10 @@ var RELATED_CARD_REGISTRY = {
641
641
  }),
642
642
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
643
643
  ai_prompt: cardEntry({
644
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUXPFF4Pcjs.AiPromptCardSkeleton, {}),
644
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJLZ7PGOcjs.AiPromptCardSkeleton, {}),
645
645
  decode: decodeEmployeeEntryRow,
646
646
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
647
- _chunkTUXPFF4Pcjs.AiPromptCard,
647
+ _chunkOJLZ7PGOcjs.AiPromptCard,
648
648
  {
649
649
  entry,
650
650
  placeholderUrl: ctx.placeholderUrl,
@@ -665,7 +665,7 @@ function DefaultLinkPropsProvider({
665
665
  children
666
666
  }) {
667
667
  if (!href) return children(null);
668
- const newTab = _chunkY3EBUFX4cjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
668
+ const newTab = _chunkMYHS4W2Hcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
669
669
  return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
670
670
  }
671
671
  function defaultResolveHref(ref) {
@@ -727,9 +727,9 @@ function useGroupItems(type, refs, buildUrl, seedRows) {
727
727
  () => seedRows && url !== null ? /* @__PURE__ */ new Map([[url, [...seedRows]]]) : /* @__PURE__ */ new Map()
728
728
  );
729
729
  const cached = url !== null ? pages.get(url) : void 0;
730
- const { data, dataUrl, error } = _chunkTUXPFF4Pcjs.useSelfFetch.call(void 0, cached ? null : url);
730
+ const { data, dataUrl, error } = _chunkOJLZ7PGOcjs.useSelfFetch.call(void 0, cached ? null : url);
731
731
  if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
732
- setPages(new Map(pages).set(dataUrl, _chunkY3EBUFX4cjs.extractItems.call(void 0, data)));
732
+ setPages(new Map(pages).set(dataUrl, _chunkMYHS4W2Hcjs.extractItems.call(void 0, data)));
733
733
  }
734
734
  if (url === null) return { items: null, isLoading: false };
735
735
  return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
@@ -738,7 +738,7 @@ function gridClassFor(columns) {
738
738
  return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
739
739
  }
740
740
  function resolveGroupConfig(type) {
741
- return _nullishCoalesce(_chunkTUXPFF4Pcjs.CONTENT_REF_GROUPS[type], () => ( {
741
+ return _nullishCoalesce(_chunkOJLZ7PGOcjs.CONTENT_REF_GROUPS[type], () => ( {
742
742
  label: type,
743
743
  order: 999,
744
744
  layout: "grid",
@@ -751,15 +751,15 @@ var GROUP_HEADING_CLASS = "font-semibold text-ods-text-secondary text-h5";
751
751
  var RAIL_CLASS = "flex flex-col gap-8";
752
752
  var UNKNOWN_TYPE_CARD = "blog_post_existing";
753
753
  function GroupHeading({ type }) {
754
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunkTUXPFF4Pcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
754
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunkOJLZ7PGOcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
755
755
  }
756
756
  function orderRailTypes(types, entityType) {
757
- let ordered = _chunkTUXPFF4Pcjs.orderContentRefTypes.call(void 0, types);
757
+ let ordered = _chunkOJLZ7PGOcjs.orderContentRefTypes.call(void 0, types);
758
758
  if (entityType) {
759
- const canonicalEntityType = _chunkY3EBUFX4cjs.canonicalContentRefType.call(void 0, entityType);
760
- const sameType = ordered.filter((t) => _chunkY3EBUFX4cjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
759
+ const canonicalEntityType = _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, entityType);
760
+ const sameType = ordered.filter((t) => _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
761
761
  if (sameType.length > 0) {
762
- ordered = [...sameType, ...ordered.filter((t) => _chunkY3EBUFX4cjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
762
+ ordered = [...sameType, ...ordered.filter((t) => _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
763
763
  }
764
764
  }
765
765
  return ordered;
@@ -788,10 +788,10 @@ function ContentGroup({
788
788
  setPagedRefsKey(refsKey);
789
789
  setPage(1);
790
790
  }
791
- const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunkTUXPFF4Pcjs.GROUP_PAGE_SIZE);
792
- const pageRefs = refs.slice((page - 1) * _chunkTUXPFF4Pcjs.GROUP_PAGE_SIZE, page * _chunkTUXPFF4Pcjs.GROUP_PAGE_SIZE);
791
+ const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunkOJLZ7PGOcjs.GROUP_PAGE_SIZE);
792
+ const pageRefs = refs.slice((page - 1) * _chunkOJLZ7PGOcjs.GROUP_PAGE_SIZE, page * _chunkOJLZ7PGOcjs.GROUP_PAGE_SIZE);
793
793
  const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl, seedRows);
794
- const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTOPGBOCNcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
794
+ const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLNCBN4BLcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
795
795
  _react.useEffect.call(void 0, () => {
796
796
  onLoadingChange(type, isLoading);
797
797
  return () => onLoadingChange(type, false);
@@ -809,7 +809,7 @@ function ContentGroup({
809
809
  }
810
810
  if (!items) return null;
811
811
  const rowKey = (it) => {
812
- const extracted = _chunkY3EBUFX4cjs.extractItemId.call(void 0, type, it);
812
+ const extracted = _chunkMYHS4W2Hcjs.extractItemId.call(void 0, type, it);
813
813
  if (extracted !== null) return extracted;
814
814
  return String(typeof it === "object" && it !== null ? it.id : void 0);
815
815
  };
@@ -880,11 +880,11 @@ function RelatedContentSection({
880
880
  types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
881
881
  excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
882
882
  };
883
- const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkTUXPFF4Pcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
883
+ const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkOJLZ7PGOcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
884
884
  apiBaseUrl,
885
885
  extraParams: { authorId, ...typeFilterParams }
886
886
  }) : null;
887
- const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkTUXPFF4Pcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
887
+ const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkOJLZ7PGOcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
888
888
  apiBaseUrl,
889
889
  entityType,
890
890
  entityId,
@@ -901,7 +901,7 @@ function RelatedContentSection({
901
901
  () => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
902
902
  [initialItems, suggestionsDisabled]
903
903
  );
904
- const { data, isLoading } = _chunkTUXPFF4Pcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
904
+ const { data, isLoading } = _chunkOJLZ7PGOcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
905
905
  const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
906
906
  const [loadingTypes, setLoadingTypes] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
907
907
  const onGroupLoadingChange = _react.useCallback.call(void 0, (type, loading) => {
@@ -914,7 +914,7 @@ function RelatedContentSection({
914
914
  });
915
915
  }, []);
916
916
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
917
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkY3EBUFX4cjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
917
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkMYHS4W2Hcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
918
918
  [buildListUrl2, apiBaseUrl]
919
919
  );
920
920
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _13 => _13.refs]))), () => ( []));
@@ -938,7 +938,7 @@ function RelatedContentSection({
938
938
  }
939
939
  if (!showWhenEmpty) return null;
940
940
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
941
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkY3EBUFX4cjs.accentSentenceMarks.call(void 0, title) }),
941
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkMYHS4W2Hcjs.accentSentenceMarks.call(void 0, title) }),
942
942
  _nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
943
943
  ] });
944
944
  }
@@ -964,7 +964,7 @@ function RelatedContentSection({
964
964
  );
965
965
  }
966
966
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
967
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkY3EBUFX4cjs.accentSentenceMarks.call(void 0, title) }),
967
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkMYHS4W2Hcjs.accentSentenceMarks.call(void 0, title) }),
968
968
  orderedTypes.map((type, groupIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
969
969
  ContentGroup,
970
970
  {
@@ -995,24 +995,24 @@ function RelatedContentSectionSkeleton({
995
995
  adminCampaignCard,
996
996
  extras
997
997
  }) {
998
- const canonicalEntityType = entityType ? _chunkY3EBUFX4cjs.canonicalContentRefType.call(void 0, entityType) : null;
998
+ const canonicalEntityType = entityType ? _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, entityType) : null;
999
999
  const unknownGroup = types.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: GROUP_CLASS, "aria-hidden": true, "data-loading-item": true, children: [
1000
1000
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
1001
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunkTUXPFF4Pcjs.GROUP_PAGE_SIZE }, (_, i) => (
1001
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunkOJLZ7PGOcjs.GROUP_PAGE_SIZE }, (_, i) => (
1002
1002
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
1003
1003
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: renderSkeletonForType(UNKNOWN_TYPE_CARD, "default", adminCampaignCard, extras) }, i)
1004
1004
  )) })
1005
1005
  ] }) : null;
1006
1006
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { as: "section", label: "Loading related content", className: RAIL_CLASS, children: [
1007
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkY3EBUFX4cjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
1007
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkMYHS4W2Hcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
1008
1008
  unknownGroup,
1009
1009
  orderRailTypes(new Set(types), entityType).map((type) => {
1010
1010
  const config = resolveGroupConfig(type);
1011
- const sameType = canonicalEntityType !== null && _chunkY3EBUFX4cjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
1011
+ const sameType = canonicalEntityType !== null && _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
1012
1012
  const isList = config.layout === "list";
1013
1013
  const count = Math.min(
1014
- _chunkTUXPFF4Pcjs.GROUP_PAGE_SIZE,
1015
- _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunkTUXPFF4Pcjs.GROUP_PAGE_SIZE))
1014
+ _chunkOJLZ7PGOcjs.GROUP_PAGE_SIZE,
1015
+ _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunkOJLZ7PGOcjs.GROUP_PAGE_SIZE))
1016
1016
  );
1017
1017
  const cards = Array.from({ length: count }, (_, i) => (
1018
1018
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
@@ -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 _chunkBTVO676Bcjs = require('./chunk-BTVO676B.cjs');
4
+ var _chunkNWZSYG4Scjs = require('./chunk-NWZSYG4S.cjs');
5
5
 
6
6
 
7
- var _chunkKWZ62LPZcjs = require('./chunk-KWZ62LPZ.cjs');
7
+ var _chunkKM2TVQCHcjs = require('./chunk-KM2TVQCH.cjs');
8
8
 
9
9
 
10
10
  var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
@@ -44,7 +44,7 @@ function isSummaryData(value) {
44
44
  }
45
45
  function TicketLiveProvider({ children, enabled = true }) {
46
46
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
47
- const identity = _chunkKWZ62LPZcjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunkKM2TVQCHcjs.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 = _chunkBTVO676Bcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkNWZSYG4Scjs.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),