@flamingo-stack/openframe-frontend-core 0.0.624 → 0.0.626-2169.6173.1

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 (125) hide show
  1. package/dist/{chunk-56CBPVCF.js → chunk-2CCIF5QV.js} +4 -4
  2. package/dist/{chunk-DY4XQFGC.cjs → chunk-34GEH24Y.cjs} +10 -10
  3. package/dist/{chunk-DY4XQFGC.cjs.map → chunk-34GEH24Y.cjs.map} +1 -1
  4. package/dist/{chunk-IUMRVY4I.cjs → chunk-3LKJ6JWZ.cjs} +28 -28
  5. package/dist/{chunk-IUMRVY4I.cjs.map → chunk-3LKJ6JWZ.cjs.map} +1 -1
  6. package/dist/{chunk-JEMBYNOG.cjs → chunk-3POP5WWC.cjs} +6 -6
  7. package/dist/{chunk-JEMBYNOG.cjs.map → chunk-3POP5WWC.cjs.map} +1 -1
  8. package/dist/{chunk-AO6CJFQU.cjs → chunk-63F2UQDW.cjs} +15 -15
  9. package/dist/{chunk-AO6CJFQU.cjs.map → chunk-63F2UQDW.cjs.map} +1 -1
  10. package/dist/{chunk-EW6PYGB3.js → chunk-BVCWBA2U.js} +7 -6
  11. package/dist/chunk-BVCWBA2U.js.map +1 -0
  12. package/dist/{chunk-5JOKGJSG.cjs → chunk-CPO5KPW6.cjs} +6 -6
  13. package/dist/{chunk-5JOKGJSG.cjs.map → chunk-CPO5KPW6.cjs.map} +1 -1
  14. package/dist/{chunk-CP4YNYQA.js → chunk-DLZFFGQ7.js} +3 -3
  15. package/dist/{chunk-YWFMYZ4G.js → chunk-DZ7CEES3.js} +2 -2
  16. package/dist/{chunk-WKDNZXJK.cjs → chunk-E7YNDGRN.cjs} +81 -81
  17. package/dist/{chunk-WKDNZXJK.cjs.map → chunk-E7YNDGRN.cjs.map} +1 -1
  18. package/dist/{chunk-ISXADEGT.cjs → chunk-ESSHEVZQ.cjs} +32 -32
  19. package/dist/{chunk-ISXADEGT.cjs.map → chunk-ESSHEVZQ.cjs.map} +1 -1
  20. package/dist/{chunk-GRZHXAX6.js → chunk-F4TAUCHQ.js} +2 -2
  21. package/dist/{chunk-Q6QF35QE.js → chunk-H7KQM3VI.js} +6 -6
  22. package/dist/{chunk-D3IW3CSH.cjs → chunk-HTIDXF43.cjs} +5 -5
  23. package/dist/{chunk-D3IW3CSH.cjs.map → chunk-HTIDXF43.cjs.map} +1 -1
  24. package/dist/{chunk-RFUYCKBZ.js → chunk-IJYP2DMW.js} +628 -564
  25. package/dist/chunk-IJYP2DMW.js.map +1 -0
  26. package/dist/{chunk-HAYYFOUU.js → chunk-IZG3VYDV.js} +3 -3
  27. package/dist/{chunk-KKD35GSD.js → chunk-KK7YEVTQ.js} +3 -3
  28. package/dist/{chunk-NOQDSRSK.cjs → chunk-L54LFB6V.cjs} +11 -11
  29. package/dist/{chunk-NOQDSRSK.cjs.map → chunk-L54LFB6V.cjs.map} +1 -1
  30. package/dist/{chunk-BC4GLCNE.cjs → chunk-LJ7KMQRM.cjs} +29 -29
  31. package/dist/{chunk-BC4GLCNE.cjs.map → chunk-LJ7KMQRM.cjs.map} +1 -1
  32. package/dist/{chunk-C4Y3TEKO.cjs → chunk-MSVEZB5D.cjs} +210 -146
  33. package/dist/chunk-MSVEZB5D.cjs.map +1 -0
  34. package/dist/{chunk-KEHI5NAD.js → chunk-MZWSJPDZ.js} +3 -3
  35. package/dist/{chunk-YBEAX6QC.js → chunk-NLVBO3IR.js} +5 -5
  36. package/dist/{chunk-OKMMP5PU.cjs → chunk-NZJNXGU2.cjs} +198 -198
  37. package/dist/{chunk-OKMMP5PU.cjs.map → chunk-NZJNXGU2.cjs.map} +1 -1
  38. package/dist/{chunk-ZYPB57IM.js → chunk-P7KIFYZI.js} +3 -3
  39. package/dist/{chunk-MP2K44EK.cjs → chunk-Q5XGBLT5.cjs} +7 -6
  40. package/dist/chunk-Q5XGBLT5.cjs.map +1 -0
  41. package/dist/{chunk-N3CTSPDZ.cjs → chunk-QJ6BCSFQ.cjs} +3 -3
  42. package/dist/{chunk-N3CTSPDZ.cjs.map → chunk-QJ6BCSFQ.cjs.map} +1 -1
  43. package/dist/{chunk-ZZECM2I2.cjs → chunk-QPQCQWAW.cjs} +20 -20
  44. package/dist/{chunk-ZZECM2I2.cjs.map → chunk-QPQCQWAW.cjs.map} +1 -1
  45. package/dist/{chunk-F2G5BTBR.js → chunk-QR2FJE2C.js} +7 -7
  46. package/dist/{chunk-WSEDVYDY.js → chunk-RGMUA4XB.js} +5 -5
  47. package/dist/{chunk-QHH2GXHS.js → chunk-RQQAPCOU.js} +3 -3
  48. package/dist/{chunk-JT4FL2DK.js → chunk-RVK3CL5S.js} +6 -6
  49. package/dist/{chunk-OYP7ZNHW.cjs → chunk-S43SLJIN.cjs} +22 -22
  50. package/dist/{chunk-OYP7ZNHW.cjs.map → chunk-S43SLJIN.cjs.map} +1 -1
  51. package/dist/{chunk-DPFMA6JD.cjs → chunk-VOBOO7EF.cjs} +59 -59
  52. package/dist/{chunk-DPFMA6JD.cjs.map → chunk-VOBOO7EF.cjs.map} +1 -1
  53. package/dist/{chunk-NULR47FR.js → chunk-WEDSYUSR.js} +4 -4
  54. package/dist/{chunk-TTSGX6AB.cjs → chunk-Z42VU7HF.cjs} +33 -33
  55. package/dist/{chunk-TTSGX6AB.cjs.map → chunk-Z42VU7HF.cjs.map} +1 -1
  56. package/dist/{chunk-LDR3QNOT.js → chunk-ZIEYC6ZB.js} +3 -3
  57. package/dist/components/case-studies/index.cjs +10 -10
  58. package/dist/components/case-studies/index.js +4 -4
  59. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +48 -0
  60. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -0
  61. package/dist/components/chat/entity-cards/admin-content-card.d.ts +8 -1
  62. package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
  63. package/dist/components/chat/entity-cards/index.d.ts +1 -0
  64. package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
  65. package/dist/components/chat/index.cjs +9 -3
  66. package/dist/components/chat/index.cjs.map +1 -1
  67. package/dist/components/chat/index.js +8 -2
  68. package/dist/components/contact/index.cjs +5 -5
  69. package/dist/components/contact/index.js +4 -4
  70. package/dist/components/docs/index.cjs +8 -8
  71. package/dist/components/docs/index.js +7 -7
  72. package/dist/components/embeds/index.cjs +5 -5
  73. package/dist/components/embeds/index.js +4 -4
  74. package/dist/components/faq/index.cjs +5 -5
  75. package/dist/components/faq/index.js +4 -4
  76. package/dist/components/features/index.cjs +4 -4
  77. package/dist/components/features/index.js +3 -3
  78. package/dist/components/help-center-pages/index.cjs +24 -24
  79. package/dist/components/help-center-pages/index.js +15 -15
  80. package/dist/components/index.cjs +59 -53
  81. package/dist/components/index.cjs.map +1 -1
  82. package/dist/components/index.js +21 -15
  83. package/dist/components/index.js.map +1 -1
  84. package/dist/components/meeting-scheduler/index.cjs +34 -34
  85. package/dist/components/meeting-scheduler/index.js +3 -3
  86. package/dist/components/navigation/index.cjs +7 -7
  87. package/dist/components/navigation/index.js +6 -6
  88. package/dist/components/onboarding-guides/index.cjs +7 -7
  89. package/dist/components/onboarding-guides/index.js +6 -6
  90. package/dist/components/related-content/index.cjs +3 -3
  91. package/dist/components/related-content/index.js +2 -2
  92. package/dist/components/tickets/index.cjs +8 -8
  93. package/dist/components/tickets/index.js +7 -7
  94. package/dist/components/ui/index.cjs +10 -4
  95. package/dist/components/ui/index.cjs.map +1 -1
  96. package/dist/components/ui/index.js +9 -3
  97. package/dist/index.cjs +14 -8
  98. package/dist/index.cjs.map +1 -1
  99. package/dist/index.js +13 -7
  100. package/dist/index.js.map +1 -1
  101. package/package.json +1 -1
  102. package/src/components/chat/entity-cards/__tests__/admin-content-card-grid.test.tsx +71 -0
  103. package/src/components/chat/entity-cards/admin-content-card-grid.tsx +130 -0
  104. package/src/components/chat/entity-cards/admin-content-card.tsx +24 -6
  105. package/src/components/chat/entity-cards/index.ts +6 -0
  106. package/dist/chunk-C4Y3TEKO.cjs.map +0 -1
  107. package/dist/chunk-EW6PYGB3.js.map +0 -1
  108. package/dist/chunk-MP2K44EK.cjs.map +0 -1
  109. package/dist/chunk-RFUYCKBZ.js.map +0 -1
  110. /package/dist/{chunk-56CBPVCF.js.map → chunk-2CCIF5QV.js.map} +0 -0
  111. /package/dist/{chunk-CP4YNYQA.js.map → chunk-DLZFFGQ7.js.map} +0 -0
  112. /package/dist/{chunk-YWFMYZ4G.js.map → chunk-DZ7CEES3.js.map} +0 -0
  113. /package/dist/{chunk-GRZHXAX6.js.map → chunk-F4TAUCHQ.js.map} +0 -0
  114. /package/dist/{chunk-Q6QF35QE.js.map → chunk-H7KQM3VI.js.map} +0 -0
  115. /package/dist/{chunk-HAYYFOUU.js.map → chunk-IZG3VYDV.js.map} +0 -0
  116. /package/dist/{chunk-KKD35GSD.js.map → chunk-KK7YEVTQ.js.map} +0 -0
  117. /package/dist/{chunk-KEHI5NAD.js.map → chunk-MZWSJPDZ.js.map} +0 -0
  118. /package/dist/{chunk-YBEAX6QC.js.map → chunk-NLVBO3IR.js.map} +0 -0
  119. /package/dist/{chunk-ZYPB57IM.js.map → chunk-P7KIFYZI.js.map} +0 -0
  120. /package/dist/{chunk-F2G5BTBR.js.map → chunk-QR2FJE2C.js.map} +0 -0
  121. /package/dist/{chunk-WSEDVYDY.js.map → chunk-RGMUA4XB.js.map} +0 -0
  122. /package/dist/{chunk-QHH2GXHS.js.map → chunk-RQQAPCOU.js.map} +0 -0
  123. /package/dist/{chunk-JT4FL2DK.js.map → chunk-RVK3CL5S.js.map} +0 -0
  124. /package/dist/{chunk-NULR47FR.js.map → chunk-WEDSYUSR.js.map} +0 -0
  125. /package/dist/{chunk-LDR3QNOT.js.map → chunk-ZIEYC6ZB.js.map} +0 -0
@@ -41,7 +41,7 @@ var _chunkCCWI3622cjs = require('./chunk-CCWI3622.cjs');
41
41
 
42
42
 
43
43
 
44
- var _chunkMP2K44EKcjs = require('./chunk-MP2K44EK.cjs');
44
+ var _chunkQ5XGBLT5cjs = require('./chunk-Q5XGBLT5.cjs');
45
45
 
46
46
  // src/components/related-content/related-content-section.tsx
47
47
  var _react = require('react');
@@ -418,13 +418,13 @@ function cardEntry(definition) {
418
418
  }
419
419
  function programEntry(configKey) {
420
420
  return cardEntry({
421
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
421
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
422
422
  decode: decodeProgramRow,
423
423
  render: (item, ctx) => {
424
424
  const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
425
425
  if (!config) return null;
426
426
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
427
- _chunkMP2K44EKcjs.ProgramCard,
427
+ _chunkQ5XGBLT5cjs.ProgramCard,
428
428
  {
429
429
  config,
430
430
  item,
@@ -440,10 +440,10 @@ function programEntry(configKey) {
440
440
  }
441
441
  function roadmapEntry(cardType) {
442
442
  return cardEntry({
443
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
443
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
444
444
  decode: decodeRoadmapRow,
445
445
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
446
- _chunkMP2K44EKcjs.RoadmapCard,
446
+ _chunkQ5XGBLT5cjs.RoadmapCard,
447
447
  {
448
448
  item,
449
449
  href: ctx.href,
@@ -460,10 +460,10 @@ function roadmapEntry(cardType) {
460
460
  }
461
461
  var RELATED_CARD_REGISTRY = {
462
462
  blog_post_existing: cardEntry({
463
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
463
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
464
464
  decode: decodeBlogRow,
465
465
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
466
- _chunkMP2K44EKcjs.BlogCard,
466
+ _chunkQ5XGBLT5cjs.BlogCard,
467
467
  {
468
468
  post,
469
469
  size: ctx.legacySize,
@@ -475,10 +475,10 @@ var RELATED_CARD_REGISTRY = {
475
475
  )
476
476
  }),
477
477
  case_study: cardEntry({
478
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
478
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
479
479
  decode: decodeCaseStudyRow,
480
480
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
481
- _chunkMP2K44EKcjs.CaseStudyCard,
481
+ _chunkQ5XGBLT5cjs.CaseStudyCard,
482
482
  {
483
483
  study,
484
484
  size: ctx.legacySize,
@@ -490,10 +490,10 @@ var RELATED_CARD_REGISTRY = {
490
490
  )
491
491
  }),
492
492
  customer_interview: cardEntry({
493
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
493
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
494
494
  decode: decodeCustomerInterviewRow,
495
495
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
496
- _chunkMP2K44EKcjs.CustomerInterviewCard,
496
+ _chunkQ5XGBLT5cjs.CustomerInterviewCard,
497
497
  {
498
498
  interview,
499
499
  size: ctx.legacySize,
@@ -511,13 +511,13 @@ var RELATED_CARD_REGISTRY = {
511
511
  * record, and the three props the rail sets itself are read off it.
512
512
  */
513
513
  product_release: cardEntry({
514
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
514
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
515
515
  decode: asRecord,
516
516
  render: (release, ctx) => {
517
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkMP2K44EKcjs.buildProductReleaseCardProps));
517
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkQ5XGBLT5cjs.buildProductReleaseCardProps));
518
518
  const releaseProps = buildReleaseProps(release);
519
519
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
520
- _chunkMP2K44EKcjs.ProductReleaseCard,
520
+ _chunkQ5XGBLT5cjs.ProductReleaseCard,
521
521
  {
522
522
  size: ctx.size === "sm" ? "sm" : "lg",
523
523
  title: str(release, "title"),
@@ -533,10 +533,10 @@ var RELATED_CARD_REGISTRY = {
533
533
  webinar: programEntry("webinar"),
534
534
  event: programEntry("event"),
535
535
  investor_update: cardEntry({
536
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
536
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
537
537
  decode: decodeInvestorUpdateRow,
538
538
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
539
- _chunkMP2K44EKcjs.InvestorUpdateCard,
539
+ _chunkQ5XGBLT5cjs.InvestorUpdateCard,
540
540
  {
541
541
  update,
542
542
  size: ctx.legacySize,
@@ -551,10 +551,10 @@ var RELATED_CARD_REGISTRY = {
551
551
  * step-numbered 'default' variant is for the guide detail page's "More in
552
552
  * section" rail, not this full-width row. */
553
553
  onboarding_guide: cardEntry({
554
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
554
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
555
555
  decode: decodeOnboardingGuideRow,
556
556
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
557
- _chunkMP2K44EKcjs.OnboardingGuideCard,
557
+ _chunkQ5XGBLT5cjs.OnboardingGuideCard,
558
558
  {
559
559
  guide,
560
560
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -571,10 +571,10 @@ var RELATED_CARD_REGISTRY = {
571
571
  * href: an object with `href: undefined` is still truthy and would wrap the
572
572
  * card in a dead <a>. */
573
573
  what_i_shipped: cardEntry({
574
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.WhatIShippedCardSkeleton, {}),
574
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.WhatIShippedCardSkeleton, {}),
575
575
  decode: decodeEmployeeEntryRow,
576
576
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
577
- _chunkMP2K44EKcjs.WhatIShippedCard,
577
+ _chunkQ5XGBLT5cjs.WhatIShippedCard,
578
578
  {
579
579
  entry,
580
580
  placeholderUrl: ctx.placeholderUrl,
@@ -584,10 +584,10 @@ var RELATED_CARD_REGISTRY = {
584
584
  }),
585
585
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
586
586
  how_i_work: cardEntry({
587
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.HowIWorkCardSkeleton, {}),
587
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.HowIWorkCardSkeleton, {}),
588
588
  decode: decodeEmployeeEntryRow,
589
589
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
590
- _chunkMP2K44EKcjs.HowIWorkCard,
590
+ _chunkQ5XGBLT5cjs.HowIWorkCard,
591
591
  {
592
592
  entry,
593
593
  placeholderUrl: ctx.placeholderUrl,
@@ -597,10 +597,10 @@ var RELATED_CARD_REGISTRY = {
597
597
  }),
598
598
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
599
599
  ai_prompt: cardEntry({
600
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.AiPromptCardSkeleton, {}),
600
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.AiPromptCardSkeleton, {}),
601
601
  decode: decodeEmployeeEntryRow,
602
602
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
603
- _chunkMP2K44EKcjs.AiPromptCard,
603
+ _chunkQ5XGBLT5cjs.AiPromptCard,
604
604
  {
605
605
  entry,
606
606
  placeholderUrl: ctx.placeholderUrl,
@@ -621,7 +621,7 @@ function DefaultLinkPropsProvider({
621
621
  children
622
622
  }) {
623
623
  if (!href) return children(null);
624
- const newTab = _chunkMP2K44EKcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
624
+ const newTab = _chunkQ5XGBLT5cjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
625
625
  return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
626
626
  }
627
627
  function defaultResolveHref(ref) {
@@ -678,7 +678,7 @@ function useGroupItems(type, refs, buildUrl) {
678
678
  const ids = refs.map((r) => r.id);
679
679
  const url = ids.length > 0 ? buildUrl(type, ids) : null;
680
680
  const { data, isLoading } = _chunk3IXDZI3Rcjs.useSelfFetch.call(void 0, url);
681
- const items = data != null ? _chunkMP2K44EKcjs.extractItems.call(void 0, data) : null;
681
+ const items = data != null ? _chunkQ5XGBLT5cjs.extractItems.call(void 0, data) : null;
682
682
  return { items, isLoading };
683
683
  }
684
684
  function gridClassFor(columns) {
@@ -730,7 +730,7 @@ function ContentGroup({
730
730
  }
731
731
  if (!items || items.length === 0) return null;
732
732
  const rowKey = (it) => {
733
- const extracted = _chunkMP2K44EKcjs.extractItemId.call(void 0, type, it);
733
+ const extracted = _chunkQ5XGBLT5cjs.extractItemId.call(void 0, type, it);
734
734
  if (extracted !== null) return extracted;
735
735
  return String(typeof it === "object" && it !== null ? it.id : void 0);
736
736
  };
@@ -821,7 +821,7 @@ function RelatedContentSection({
821
821
  );
822
822
  const { data, isLoading } = _chunk3IXDZI3Rcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
823
823
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
824
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkMP2K44EKcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
824
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkQ5XGBLT5cjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
825
825
  [buildListUrl2, apiBaseUrl]
826
826
  );
827
827
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
@@ -848,10 +848,10 @@ function RelatedContentSection({
848
848
  }
849
849
  let orderedTypes = _chunkYB6RCW77cjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
850
850
  if (entityType) {
851
- const canonicalEntityType = _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, entityType);
852
- const sameType = orderedTypes.filter((t) => _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
851
+ const canonicalEntityType = _chunkQ5XGBLT5cjs.canonicalContentRefType.call(void 0, entityType);
852
+ const sameType = orderedTypes.filter((t) => _chunkQ5XGBLT5cjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
853
853
  if (sameType.length > 0) {
854
- orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
854
+ orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkQ5XGBLT5cjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
855
855
  }
856
856
  }
857
857
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
@@ -878,4 +878,4 @@ function RelatedContentSection({
878
878
 
879
879
 
880
880
  exports.GROUP_PAGE_SIZE = GROUP_PAGE_SIZE; exports.RelatedContentSection = RelatedContentSection;
881
- //# sourceMappingURL=chunk-ISXADEGT.cjs.map
881
+ //# sourceMappingURL=chunk-ESSHEVZQ.cjs.map