@flamingo-stack/openframe-frontend-core 0.0.812 → 0.0.814

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 (144) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/case-study-card-NLT2JVI7.cjs +23 -0
  3. package/dist/{chunk-5QLDHPPU.cjs → chunk-25HBH4J6.cjs} +15 -15
  4. package/dist/{chunk-WFJDKP2Q.cjs → chunk-2H7XPKKT.cjs} +37 -37
  5. package/dist/{chunk-LKQ33CMY.cjs → chunk-2XCORRJV.cjs} +3 -3
  6. package/dist/{chunk-JTIGKLKJ.cjs → chunk-2XLPRW7V.cjs} +23 -23
  7. package/dist/{chunk-4WIJI4AK.cjs → chunk-3TOWCFIK.cjs} +20 -26
  8. package/dist/{chunk-KUXHXLJQ.cjs → chunk-3V5JWG27.cjs} +5 -5
  9. package/dist/{chunk-CUDJP7R7.cjs → chunk-467T3LCG.cjs} +63 -63
  10. package/dist/{chunk-COTJLBOS.cjs → chunk-4PMD3JUC.cjs} +19 -19
  11. package/dist/{chunk-YR74H7Z3.cjs → chunk-5SZ4ILU3.cjs} +7 -7
  12. package/dist/{chunk-7JWFMAQB.cjs → chunk-63A4GZMB.cjs} +18 -2
  13. package/dist/{chunk-ZD6SZLO2.cjs → chunk-6CZVQ72C.cjs} +3 -3
  14. package/dist/{chunk-PQ76VC2P.cjs → chunk-7ERD34HQ.cjs} +1073 -825
  15. package/dist/{chunk-VEN6MGNX.cjs → chunk-7O7EX7HQ.cjs} +45 -45
  16. package/dist/{chunk-FCFLZPID.cjs → chunk-AYMKG55T.cjs} +51 -51
  17. package/dist/{chunk-U2MHQBL4.cjs → chunk-BOS7OIC4.cjs} +30 -30
  18. package/dist/{chunk-NEDFRRLM.cjs → chunk-CVPHODOE.cjs} +171 -171
  19. package/dist/{chunk-JMRO7CK2.cjs → chunk-D23VVC3K.cjs} +45 -45
  20. package/dist/{chunk-D2EPUQ35.cjs → chunk-E5VF3IXO.cjs} +4 -4
  21. package/dist/{chunk-SFUNXMY3.cjs → chunk-EHANO6UE.cjs} +16 -16
  22. package/dist/{chunk-4ZTGCCNI.cjs → chunk-F4ZJRMMM.cjs} +20 -20
  23. package/dist/{chunk-AHBTZ7DN.cjs → chunk-FCZAUK4D.cjs} +52 -50
  24. package/dist/{chunk-RSLLS6C4.cjs → chunk-G2B6EA4J.cjs} +62 -62
  25. package/dist/{chunk-XB7VPJNY.cjs → chunk-G5CCYMCU.cjs} +3 -3
  26. package/dist/{chunk-VT2ACO3Z.cjs → chunk-GAR2IIU6.cjs} +349 -349
  27. package/dist/{chunk-743MM5B6.cjs → chunk-HM7VCQSX.cjs} +10 -10
  28. package/dist/{chunk-DA2TWDGJ.cjs → chunk-IBYT5I7K.cjs} +13 -13
  29. package/dist/{chunk-D322VUSH.cjs → chunk-IDEOLXY6.cjs} +2050 -2078
  30. package/dist/{chunk-VYLBW6ZV.cjs → chunk-IJCSQFLD.cjs} +209 -209
  31. package/dist/{chunk-XZKYU57A.cjs → chunk-IKB6AZPV.cjs} +8 -8
  32. package/dist/{chunk-VPYGK4AV.cjs → chunk-ILV243HM.cjs} +31 -31
  33. package/dist/{chunk-TS4PKCG3.cjs → chunk-JOKOQOLJ.cjs} +22 -22
  34. package/dist/{chunk-TCMUVY3M.cjs → chunk-KINBPFAC.cjs} +199 -199
  35. package/dist/{chunk-2IZHRVKD.cjs → chunk-KNGULKOU.cjs} +46 -46
  36. package/dist/{chunk-JMAKYJ3Q.cjs → chunk-LUR2ED43.cjs} +6 -6
  37. package/dist/{chunk-EPMAMFQE.cjs → chunk-M6VLEXN3.cjs} +119 -119
  38. package/dist/{chunk-GD47ZGOU.cjs → chunk-N3MBQRCQ.cjs} +3 -3
  39. package/dist/{chunk-ZFUNSXSH.cjs → chunk-NONMZ5WJ.cjs} +5 -5
  40. package/dist/{chunk-E64HJMY6.cjs → chunk-OBQ5WUNG.cjs} +67 -67
  41. package/dist/{chunk-6LZ4BI7Z.cjs → chunk-PAI4A3UM.cjs} +60 -60
  42. package/dist/{chunk-4IU462LR.cjs → chunk-QDDBOCG3.cjs} +2 -2
  43. package/dist/{chunk-5DBW6ERF.cjs → chunk-QOAA7ZHB.cjs} +2 -2
  44. package/dist/{chunk-7Q2PFKU3.cjs → chunk-QQT23JJ7.cjs} +4 -4
  45. package/dist/{chunk-4SZKJPQJ.cjs → chunk-RD66AGUI.cjs} +6 -6
  46. package/dist/{chunk-NL3G642U.cjs → chunk-S3QXLD4X.cjs} +10 -10
  47. package/dist/{chunk-7RM4NM2C.cjs → chunk-SWF6TNZ3.cjs} +14 -14
  48. package/dist/{chunk-P4B6PVSG.cjs → chunk-USUVHAQ7.cjs} +7 -7
  49. package/dist/{chunk-K7IX2NAG.cjs → chunk-UTRRECPV.cjs} +110 -110
  50. package/dist/{chunk-7HNZHENA.cjs → chunk-WJPEDREU.cjs} +13 -13
  51. package/dist/{chunk-SC3I3YWM.cjs → chunk-Y6MJMPHV.cjs} +126 -126
  52. package/dist/{chunk-OKI5KSUV.cjs → chunk-ZNZ6453J.cjs} +44 -44
  53. package/dist/{chunk-7TBXHZLB.cjs → chunk-ZRDVFADQ.cjs} +61 -61
  54. package/dist/{cloud-tenants-CW3I7AIM.cjs → cloud-tenants-JSH6AQMZ.cjs} +32 -32
  55. package/dist/components/calendar.cjs +10 -10
  56. package/dist/components/case-studies/index.cjs +52 -52
  57. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  58. package/dist/components/chat/chat-message-enhanced.js +8 -1
  59. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  60. package/dist/components/chat/embeddable-chat.js +34 -2
  61. package/dist/components/chat/entity-cards/chat-card-disclosure.d.ts +93 -0
  62. package/dist/components/chat/entity-cards/chat-card-disclosure.d.ts.map +1 -0
  63. package/dist/components/chat/entity-cards/chat-card-disclosure.js +126 -0
  64. package/dist/components/chat/entity-cards/dispatch.d.ts +5 -0
  65. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  66. package/dist/components/chat/entity-cards/dispatch.js +82 -55
  67. package/dist/components/chat/entity-cards/index.d.ts +1 -0
  68. package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
  69. package/dist/components/chat/entity-cards/index.js +14 -0
  70. package/dist/components/chat/index.cjs +42 -26
  71. package/dist/components/chat/index.d.ts +1 -0
  72. package/dist/components/chat/index.d.ts.map +1 -1
  73. package/dist/components/chat/index.js +3 -0
  74. package/dist/components/chat/inline-app-link-chip.d.ts +35 -0
  75. package/dist/components/chat/inline-app-link-chip.d.ts.map +1 -0
  76. package/dist/components/chat/inline-app-link-chip.js +37 -0
  77. package/dist/components/chat/source-action-button.d.ts +15 -1
  78. package/dist/components/chat/source-action-button.d.ts.map +1 -1
  79. package/dist/components/chat/source-action-button.js +40 -2
  80. package/dist/components/contact/index.cjs +33 -33
  81. package/dist/components/docs/index.cjs +36 -36
  82. package/dist/components/embeds/index.cjs +33 -33
  83. package/dist/components/faq/index.cjs +34 -34
  84. package/dist/components/features/index.cjs +32 -32
  85. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts.map +1 -1
  86. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +4 -2
  87. package/dist/components/features/select-button.js +1 -1
  88. package/dist/components/help-center-pages/index.cjs +165 -165
  89. package/dist/components/index.cjs +238 -220
  90. package/dist/components/meeting-scheduler/index.cjs +196 -196
  91. package/dist/components/navigation/index.cjs +35 -35
  92. package/dist/components/onboarding-guides/index.cjs +35 -35
  93. package/dist/components/platform/ScriptArguments.d.ts +2 -0
  94. package/dist/components/platform/ScriptArguments.d.ts.map +1 -1
  95. package/dist/components/platform/ScriptArguments.js +3 -2
  96. package/dist/components/product-demo/index.cjs +45 -45
  97. package/dist/components/related-content/index.cjs +17 -17
  98. package/dist/components/tickets/index.cjs +39 -39
  99. package/dist/components/ui/button/button-styles.d.ts +8 -0
  100. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  101. package/dist/components/ui/button/button-styles.js +8 -1
  102. package/dist/components/ui/button/button.d.ts.map +1 -1
  103. package/dist/components/ui/button/button.js +6 -4
  104. package/dist/components/ui/button/split-button.d.ts.map +1 -1
  105. package/dist/components/ui/button/split-button.js +3 -2
  106. package/dist/components/ui/checkbox-block.d.ts.map +1 -1
  107. package/dist/components/ui/checkbox-block.js +3 -1
  108. package/dist/components/ui/file-manager/index.cjs +55 -55
  109. package/dist/components/ui/index.cjs +52 -34
  110. package/dist/components/ui/input-styles.d.ts +2 -0
  111. package/dist/components/ui/input-styles.d.ts.map +1 -1
  112. package/dist/components/ui/input-styles.js +2 -0
  113. package/dist/{devices-KKRAB4Q2.cjs → devices-OCEOO6OW.cjs} +33 -33
  114. package/dist/embed-shims/index.cjs +4 -4
  115. package/dist/embed-shims/next-image.cjs +4 -4
  116. package/dist/{embeddable-chat-5UO66U4F.cjs → embeddable-chat-YRKMPFDY.cjs} +150 -117
  117. package/dist/hooks/index.cjs +10 -10
  118. package/dist/index.cjs +68 -50
  119. package/dist/{knowledge-Z2PTGBA3.cjs → knowledge-3GEE4LPY.cjs} +33 -33
  120. package/dist/{logs-6T5VK2TY.cjs → logs-7GGUZSDB.cjs} +41 -41
  121. package/dist/{policies-JPIC5YDE.cjs → policies-S74WTNL4.cjs} +36 -36
  122. package/dist/{remote-session-VBVUMIUP.cjs → remote-session-BQMTIQTU.cjs} +17 -17
  123. package/dist/{scripts-BSYJJFBQ.cjs → scripts-G4QAT4NZ.cjs} +39 -39
  124. package/dist/{software-update-KVEYYORC.cjs → software-update-IYHJABLP.cjs} +36 -36
  125. package/dist/{tickets-board-YRZ54JJS.cjs → tickets-board-TRXOX77R.cjs} +17 -17
  126. package/dist/{video-file-player-4QMVTOBE.cjs → video-file-player-IAMWBKEQ.cjs} +14 -14
  127. package/package.json +1 -1
  128. package/src/components/chat/chat-message-enhanced.tsx +24 -1
  129. package/src/components/chat/embeddable-chat.tsx +61 -1
  130. package/src/components/chat/entity-cards/chat-card-disclosure.tsx +233 -0
  131. package/src/components/chat/entity-cards/dispatch.tsx +104 -63
  132. package/src/components/chat/entity-cards/index.ts +9 -0
  133. package/src/components/chat/index.ts +1 -0
  134. package/src/components/chat/inline-app-link-chip.tsx +79 -0
  135. package/src/components/chat/source-action-button.tsx +53 -2
  136. package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +4 -2
  137. package/src/components/features/select-button.tsx +1 -1
  138. package/src/components/platform/ScriptArguments.tsx +8 -1
  139. package/src/components/ui/button/button-styles.ts +18 -1
  140. package/src/components/ui/button/button.tsx +7 -4
  141. package/src/components/ui/button/split-button.tsx +3 -2
  142. package/src/components/ui/checkbox-block.tsx +3 -1
  143. package/src/components/ui/input-styles.ts +2 -0
  144. package/dist/case-study-card-3XLKCGLV.cjs +0 -23
@@ -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 _chunkCOTJLBOScjs = require('./chunk-COTJLBOS.cjs');
4
+ var _chunk4PMD3JUCcjs = require('./chunk-4PMD3JUC.cjs');
5
5
 
6
6
 
7
7
 
@@ -12,7 +12,7 @@ var _chunkCOTJLBOScjs = require('./chunk-COTJLBOS.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunk4ZTGCCNIcjs = require('./chunk-4ZTGCCNI.cjs');
15
+ var _chunkF4ZJRMMMcjs = require('./chunk-F4ZJRMMM.cjs');
16
16
 
17
17
 
18
18
 
@@ -27,23 +27,23 @@ var _chunk4ZTGCCNIcjs = require('./chunk-4ZTGCCNI.cjs');
27
27
 
28
28
 
29
29
 
30
- var _chunkVT2ACO3Zcjs = require('./chunk-VT2ACO3Z.cjs');
30
+ var _chunkGAR2IIU6cjs = require('./chunk-GAR2IIU6.cjs');
31
31
 
32
32
 
33
33
 
34
- var _chunkSC3I3YWMcjs = require('./chunk-SC3I3YWM.cjs');
34
+ var _chunkY6MJMPHVcjs = require('./chunk-Y6MJMPHV.cjs');
35
35
 
36
36
 
37
37
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
38
38
 
39
39
 
40
- var _chunkLKQ33CMYcjs = require('./chunk-LKQ33CMY.cjs');
40
+ var _chunk2XCORRJVcjs = require('./chunk-2XCORRJV.cjs');
41
41
 
42
42
 
43
- var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
43
+ var _chunk3TOWCFIKcjs = require('./chunk-3TOWCFIK.cjs');
44
44
 
45
45
 
46
- var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
46
+ var _chunk63A4GZMBcjs = require('./chunk-63A4GZMB.cjs');
47
47
 
48
48
  // src/components/related-content/related-content-section.tsx
49
49
  var _react = require('react');
@@ -443,13 +443,13 @@ function programEntry(configKey) {
443
443
  return cardEntry({
444
444
  // The gallery and hosts rows are drawn only for a type whose cards show them (its config's `cardShowsGallery`,
445
445
  // `cardShowsHosts`), as `ProgramCard` decides in a scope: elsewhere a record may have none.
446
- skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVT2ACO3Zcjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
446
+ skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
447
447
  decode: decodeProgramRow,
448
448
  render: (item, ctx) => {
449
449
  const config = _optionalChain([ctx, 'access', _4 => _4.extras, 'optionalAccess', _5 => _5.programConfigs, 'optionalAccess', _6 => _6[configKey]]);
450
450
  if (!config) return null;
451
451
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
452
- _chunkVT2ACO3Zcjs.ProgramCard,
452
+ _chunkGAR2IIU6cjs.ProgramCard,
453
453
  {
454
454
  config,
455
455
  item,
@@ -467,10 +467,10 @@ function programEntry(configKey) {
467
467
  }
468
468
  function roadmapEntry(cardType) {
469
469
  return cardEntry({
470
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVT2ACO3Zcjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
470
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
471
471
  decode: decodeRoadmapRow,
472
472
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
473
- _chunkVT2ACO3Zcjs.RoadmapCard,
473
+ _chunkGAR2IIU6cjs.RoadmapCard,
474
474
  {
475
475
  item,
476
476
  href: ctx.href,
@@ -487,10 +487,10 @@ function roadmapEntry(cardType) {
487
487
  }
488
488
  var RELATED_CARD_REGISTRY = {
489
489
  blog_post_existing: cardEntry({
490
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVT2ACO3Zcjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
490
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
491
491
  decode: decodeBlogRow,
492
492
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
493
- _chunkVT2ACO3Zcjs.BlogCard,
493
+ _chunkGAR2IIU6cjs.BlogCard,
494
494
  {
495
495
  post,
496
496
  size: ctx.legacySize,
@@ -503,10 +503,10 @@ var RELATED_CARD_REGISTRY = {
503
503
  )
504
504
  }),
505
505
  case_study: cardEntry({
506
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSC3I3YWMcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
506
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
507
507
  decode: decodeCaseStudyRow,
508
508
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
509
- _chunkSC3I3YWMcjs.CaseStudyCard,
509
+ _chunkY6MJMPHVcjs.CaseStudyCard,
510
510
  {
511
511
  study,
512
512
  size: ctx.legacySize,
@@ -518,10 +518,10 @@ var RELATED_CARD_REGISTRY = {
518
518
  )
519
519
  }),
520
520
  customer_interview: cardEntry({
521
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVT2ACO3Zcjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
521
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
522
522
  decode: decodeCustomerInterviewRow,
523
523
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
524
- _chunkVT2ACO3Zcjs.CustomerInterviewCard,
524
+ _chunkGAR2IIU6cjs.CustomerInterviewCard,
525
525
  {
526
526
  interview,
527
527
  size: ctx.legacySize,
@@ -539,13 +539,13 @@ var RELATED_CARD_REGISTRY = {
539
539
  * record, and the three props the rail sets itself are read off it.
540
540
  */
541
541
  product_release: cardEntry({
542
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVT2ACO3Zcjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
542
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
543
543
  decode: asRecord,
544
544
  render: (release, ctx) => {
545
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunkVT2ACO3Zcjs.buildProductReleaseCardProps));
545
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunkGAR2IIU6cjs.buildProductReleaseCardProps));
546
546
  const releaseProps = buildReleaseProps(release);
547
547
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
548
- _chunkVT2ACO3Zcjs.ProductReleaseCard,
548
+ _chunkGAR2IIU6cjs.ProductReleaseCard,
549
549
  {
550
550
  size: ctx.size === "sm" ? "sm" : "lg",
551
551
  title: str(release, "title"),
@@ -561,10 +561,10 @@ var RELATED_CARD_REGISTRY = {
561
561
  webinar: programEntry("webinar"),
562
562
  event: programEntry("event"),
563
563
  investor_update: cardEntry({
564
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVT2ACO3Zcjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
564
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
565
565
  decode: decodeInvestorUpdateRow,
566
566
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
567
- _chunkVT2ACO3Zcjs.InvestorUpdateCard,
567
+ _chunkGAR2IIU6cjs.InvestorUpdateCard,
568
568
  {
569
569
  update,
570
570
  size: ctx.legacySize,
@@ -579,10 +579,10 @@ var RELATED_CARD_REGISTRY = {
579
579
  * step-numbered 'default' variant is for the guide detail page's "More in
580
580
  * section" rail, not this full-width row. */
581
581
  onboarding_guide: cardEntry({
582
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVT2ACO3Zcjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
582
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAR2IIU6cjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
583
583
  decode: decodeOnboardingGuideRow,
584
584
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
585
- _chunkVT2ACO3Zcjs.OnboardingGuideCard,
585
+ _chunkGAR2IIU6cjs.OnboardingGuideCard,
586
586
  {
587
587
  guide,
588
588
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -599,10 +599,10 @@ var RELATED_CARD_REGISTRY = {
599
599
  * href: an object with `href: undefined` is still truthy and would wrap the
600
600
  * card in a dead <a>. */
601
601
  what_i_shipped: cardEntry({
602
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZTGCCNIcjs.WhatIShippedCard, { loading: true }),
602
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF4ZJRMMMcjs.WhatIShippedCard, { loading: true }),
603
603
  decode: decodeEmployeeEntryRow,
604
604
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
605
- _chunk4ZTGCCNIcjs.WhatIShippedCard,
605
+ _chunkF4ZJRMMMcjs.WhatIShippedCard,
606
606
  {
607
607
  entry,
608
608
  placeholderUrl: ctx.placeholderUrl,
@@ -612,10 +612,10 @@ var RELATED_CARD_REGISTRY = {
612
612
  }),
613
613
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
614
614
  how_i_work: cardEntry({
615
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZTGCCNIcjs.HowIWorkCard, { loading: true }),
615
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF4ZJRMMMcjs.HowIWorkCard, { loading: true }),
616
616
  decode: decodeEmployeeEntryRow,
617
617
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
618
- _chunk4ZTGCCNIcjs.HowIWorkCard,
618
+ _chunkF4ZJRMMMcjs.HowIWorkCard,
619
619
  {
620
620
  entry,
621
621
  placeholderUrl: ctx.placeholderUrl,
@@ -625,10 +625,10 @@ var RELATED_CARD_REGISTRY = {
625
625
  }),
626
626
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
627
627
  ai_prompt: cardEntry({
628
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZTGCCNIcjs.AiPromptCard, { loading: true }),
628
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF4ZJRMMMcjs.AiPromptCard, { loading: true }),
629
629
  decode: decodeEmployeeEntryRow,
630
630
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
631
- _chunk4ZTGCCNIcjs.AiPromptCard,
631
+ _chunkF4ZJRMMMcjs.AiPromptCard,
632
632
  {
633
633
  entry,
634
634
  placeholderUrl: ctx.placeholderUrl,
@@ -649,7 +649,7 @@ function DefaultLinkPropsProvider({
649
649
  children
650
650
  }) {
651
651
  if (!href) return children(null);
652
- const newTab = _chunkSC3I3YWMcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
652
+ const newTab = _chunkY6MJMPHVcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
653
653
  return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
654
654
  }
655
655
  function defaultResolveHref(ref) {
@@ -711,9 +711,9 @@ function useGroupItems(type, refs, buildUrl, seedRows) {
711
711
  () => seedRows && url !== null ? /* @__PURE__ */ new Map([[url, [...seedRows]]]) : /* @__PURE__ */ new Map()
712
712
  );
713
713
  const cached = url !== null ? pages.get(url) : void 0;
714
- const { data, dataUrl, error } = _chunk4ZTGCCNIcjs.useSelfFetch.call(void 0, cached ? null : url);
714
+ const { data, dataUrl, error } = _chunkF4ZJRMMMcjs.useSelfFetch.call(void 0, cached ? null : url);
715
715
  if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
716
- setPages(new Map(pages).set(dataUrl, _chunkVT2ACO3Zcjs.extractItems.call(void 0, data)));
716
+ setPages(new Map(pages).set(dataUrl, _chunkGAR2IIU6cjs.extractItems.call(void 0, data)));
717
717
  }
718
718
  if (url === null) return { items: null, isLoading: false };
719
719
  return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
@@ -722,7 +722,7 @@ function gridClassFor(columns) {
722
722
  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";
723
723
  }
724
724
  function resolveGroupConfig(type) {
725
- return _nullishCoalesce(_chunk4ZTGCCNIcjs.CONTENT_REF_GROUPS[type], () => ( {
725
+ return _nullishCoalesce(_chunkF4ZJRMMMcjs.CONTENT_REF_GROUPS[type], () => ( {
726
726
  label: type,
727
727
  order: 999,
728
728
  layout: "grid",
@@ -735,15 +735,15 @@ var GROUP_HEADING_CLASS = "font-semibold text-ods-text-secondary text-h5";
735
735
  var RAIL_CLASS = "flex flex-col gap-8";
736
736
  var UNKNOWN_TYPE_CARD = "blog_post_existing";
737
737
  function GroupHeading({ type }) {
738
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunk4ZTGCCNIcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
738
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunkF4ZJRMMMcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
739
739
  }
740
740
  function orderRailTypes(types, entityType) {
741
- let ordered = _chunk4ZTGCCNIcjs.orderContentRefTypes.call(void 0, types);
741
+ let ordered = _chunkF4ZJRMMMcjs.orderContentRefTypes.call(void 0, types);
742
742
  if (entityType) {
743
- const canonicalEntityType = _chunkVT2ACO3Zcjs.canonicalContentRefType.call(void 0, entityType);
744
- const sameType = ordered.filter((t) => _chunkVT2ACO3Zcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
743
+ const canonicalEntityType = _chunkGAR2IIU6cjs.canonicalContentRefType.call(void 0, entityType);
744
+ const sameType = ordered.filter((t) => _chunkGAR2IIU6cjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
745
745
  if (sameType.length > 0) {
746
- ordered = [...sameType, ...ordered.filter((t) => _chunkVT2ACO3Zcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
746
+ ordered = [...sameType, ...ordered.filter((t) => _chunkGAR2IIU6cjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
747
747
  }
748
748
  }
749
749
  return ordered;
@@ -772,10 +772,10 @@ function ContentGroup({
772
772
  setPagedRefsKey(refsKey);
773
773
  setPage(1);
774
774
  }
775
- const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunk4ZTGCCNIcjs.GROUP_PAGE_SIZE);
776
- const pageRefs = refs.slice((page - 1) * _chunk4ZTGCCNIcjs.GROUP_PAGE_SIZE, page * _chunk4ZTGCCNIcjs.GROUP_PAGE_SIZE);
775
+ const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunkF4ZJRMMMcjs.GROUP_PAGE_SIZE);
776
+ const pageRefs = refs.slice((page - 1) * _chunkF4ZJRMMMcjs.GROUP_PAGE_SIZE, page * _chunkF4ZJRMMMcjs.GROUP_PAGE_SIZE);
777
777
  const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl, seedRows);
778
- const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOTJLBOScjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
778
+ const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4PMD3JUCcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
779
779
  _react.useEffect.call(void 0, () => {
780
780
  onLoadingChange(type, isLoading);
781
781
  return () => onLoadingChange(type, false);
@@ -784,7 +784,7 @@ function ContentGroup({
784
784
  const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: renderSkeletonForType(type, cardSize, adminCampaignCard, extras) }, r.id));
785
785
  return (
786
786
  // The rail announces for every group (`announce={false}`): one rail, one "loading".
787
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { announce: false, className: GROUP_CLASS, "data-loading-item": true, children: [
787
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { announce: false, className: GROUP_CLASS, "data-loading-item": true, children: [
788
788
  heading,
789
789
  isListLayout ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GROUP_LIST_CLASS, children: skeletons }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: skeletons }),
790
790
  groupPagination
@@ -793,7 +793,7 @@ function ContentGroup({
793
793
  }
794
794
  if (!items) return null;
795
795
  const rowKey = (it) => {
796
- const extracted = _chunkVT2ACO3Zcjs.extractItemId.call(void 0, type, it);
796
+ const extracted = _chunkGAR2IIU6cjs.extractItemId.call(void 0, type, it);
797
797
  if (extracted !== null) return extracted;
798
798
  return String(typeof it === "object" && it !== null ? it.id : void 0);
799
799
  };
@@ -864,11 +864,11 @@ function RelatedContentSection({
864
864
  types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
865
865
  excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
866
866
  };
867
- const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunk4ZTGCCNIcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
867
+ const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkF4ZJRMMMcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
868
868
  apiBaseUrl,
869
869
  extraParams: { authorId, ...typeFilterParams }
870
870
  }) : null;
871
- const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunk4ZTGCCNIcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
871
+ const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkF4ZJRMMMcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
872
872
  apiBaseUrl,
873
873
  entityType,
874
874
  entityId,
@@ -885,8 +885,8 @@ function RelatedContentSection({
885
885
  () => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
886
886
  [initialItems, suggestionsDisabled]
887
887
  );
888
- const { data, isLoading } = _chunk4ZTGCCNIcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
889
- const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
888
+ const { data, isLoading } = _chunkF4ZJRMMMcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
889
+ const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
890
890
  const [loadingTypes, setLoadingTypes] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
891
891
  const onGroupLoadingChange = _react.useCallback.call(void 0, (type, loading) => {
892
892
  setLoadingTypes((prev) => {
@@ -898,7 +898,7 @@ function RelatedContentSection({
898
898
  });
899
899
  }, []);
900
900
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
901
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkVT2ACO3Zcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
901
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkGAR2IIU6cjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
902
902
  [buildListUrl2, apiBaseUrl]
903
903
  );
904
904
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _12 => _12.refs]))), () => ( []));
@@ -922,7 +922,7 @@ function RelatedContentSection({
922
922
  }
923
923
  if (!showWhenEmpty) return null;
924
924
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
925
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkVT2ACO3Zcjs.accentSentenceMarks.call(void 0, title) }),
925
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkGAR2IIU6cjs.accentSentenceMarks.call(void 0, title) }),
926
926
  _nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
927
927
  ] });
928
928
  }
@@ -947,8 +947,8 @@ function RelatedContentSection({
947
947
  }
948
948
  );
949
949
  }
950
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
951
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkVT2ACO3Zcjs.accentSentenceMarks.call(void 0, title) }),
950
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
951
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkGAR2IIU6cjs.accentSentenceMarks.call(void 0, title) }),
952
952
  orderedTypes.map((type, groupIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
953
953
  ContentGroup,
954
954
  {
@@ -979,24 +979,24 @@ function RelatedContentSectionSkeleton({
979
979
  adminCampaignCard,
980
980
  extras
981
981
  }) {
982
- const canonicalEntityType = entityType ? _chunkVT2ACO3Zcjs.canonicalContentRefType.call(void 0, entityType) : null;
982
+ const canonicalEntityType = entityType ? _chunkGAR2IIU6cjs.canonicalContentRefType.call(void 0, entityType) : null;
983
983
  const unknownGroup = types.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: GROUP_CLASS, "aria-hidden": true, "data-loading-item": true, children: [
984
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
985
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunk4ZTGCCNIcjs.GROUP_PAGE_SIZE }, (_, i) => (
984
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
985
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunkF4ZJRMMMcjs.GROUP_PAGE_SIZE }, (_, i) => (
986
986
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
987
987
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: renderSkeletonForType(UNKNOWN_TYPE_CARD, "default", adminCampaignCard, extras) }, i)
988
988
  )) })
989
989
  ] }) : null;
990
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { as: "section", label: "Loading related content", className: RAIL_CLASS, children: [
991
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkVT2ACO3Zcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
990
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { as: "section", label: "Loading related content", className: RAIL_CLASS, children: [
991
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkGAR2IIU6cjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
992
992
  unknownGroup,
993
993
  orderRailTypes(new Set(types), entityType).map((type) => {
994
994
  const config = resolveGroupConfig(type);
995
- const sameType = canonicalEntityType !== null && _chunkVT2ACO3Zcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
995
+ const sameType = canonicalEntityType !== null && _chunkGAR2IIU6cjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
996
996
  const isList = config.layout === "list";
997
997
  const count = Math.min(
998
- _chunk4ZTGCCNIcjs.GROUP_PAGE_SIZE,
999
- _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunk4ZTGCCNIcjs.GROUP_PAGE_SIZE))
998
+ _chunkF4ZJRMMMcjs.GROUP_PAGE_SIZE,
999
+ _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunkF4ZJRMMMcjs.GROUP_PAGE_SIZE))
1000
1000
  );
1001
1001
  const cards = Array.from({ length: count }, (_, i) => (
1002
1002
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk5DBW6ERFcjs = require('./chunk-5DBW6ERF.cjs');
4
+ var _chunkQOAA7ZHBcjs = require('./chunk-QOAA7ZHB.cjs');
5
5
 
6
6
  // src/components/tool-icon.tsx
7
7
  var _react = require('react');
@@ -12,7 +12,7 @@ function toolIcon(toolType) {
12
12
  const words = toolType.toLowerCase().split("_").filter(Boolean);
13
13
  let icon = null;
14
14
  for (let count = words.length; count >= 1 && !icon; count -= 1) {
15
- icon = _chunk5DBW6ERFcjs.findIcon.call(void 0, `${words.slice(0, count).join("-")}-logo-grey`);
15
+ icon = _chunkQOAA7ZHBcjs.findIcon.call(void 0, `${words.slice(0, count).join("-")}-logo-grey`);
16
16
  }
17
17
  TOOL_ICONS.set(toolType, icon);
18
18
  return icon;
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
4
+ var _chunk63A4GZMBcjs = require('./chunk-63A4GZMB.cjs');
5
5
 
6
6
  // src/styles/image-sizes.ts
7
7
  var IMAGE_WIDTHS = [640, 828, 1200, 1920];
@@ -589,7 +589,7 @@ function getDynamicIcon(iconName, size = "md", className) {
589
589
  return _react.createElement.call(void 0, NamedIcon, { icon: GLOBE, className: SIZE_CLASSES[size] });
590
590
  }
591
591
  const sizeClass = SIZE_CLASSES[size];
592
- const finalClassName = _chunk7JWFMAQBcjs.cn.call(void 0, sizeClass, className);
592
+ const finalClassName = _chunk63A4GZMBcjs.cn.call(void 0, sizeClass, className);
593
593
  const canonicalKey = normalizeIconKey(iconName);
594
594
  if (Object.prototype.hasOwnProperty.call(ICON_REGISTRY, canonicalKey)) {
595
595
  const colorConfig = ICON_COLORS[canonicalKey] || {};
@@ -8,7 +8,7 @@ var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunk5DBW6ERFcjs = require('./chunk-5DBW6ERF.cjs');
11
+ var _chunkQOAA7ZHBcjs = require('./chunk-QOAA7ZHB.cjs');
12
12
 
13
13
  // src/utils/color-analysis.ts
14
14
  var DESIGN_PALETTE = [
@@ -243,13 +243,13 @@ function getSemanticColor(semanticName, platform) {
243
243
  }
244
244
  function getPlatformConfig(platform) {
245
245
  const currentPlatform = platform || getCurrentPlatform();
246
- const isDarkTheme = _chunk5DBW6ERFcjs.PLATFORM_THEME === "dark";
246
+ const isDarkTheme = _chunkQOAA7ZHBcjs.PLATFORM_THEME === "dark";
247
247
  return {
248
248
  platform: currentPlatform,
249
- accentColor: _chunk5DBW6ERFcjs.getPlatformAccentColor.call(void 0, currentPlatform),
249
+ accentColor: _chunkQOAA7ZHBcjs.getPlatformAccentColor.call(void 0, currentPlatform),
250
250
  isDarkTheme,
251
251
  isLightTheme: !isDarkTheme,
252
- brandName: _chunk5DBW6ERFcjs.getPlatformDisplayName.call(void 0, currentPlatform)
252
+ brandName: _chunkQOAA7ZHBcjs.getPlatformDisplayName.call(void 0, currentPlatform)
253
253
  };
254
254
  }
255
255
  function usePlatformColors(platform) {
@@ -1,20 +1,20 @@
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 _chunk5DBW6ERFcjs = require('./chunk-5DBW6ERF.cjs');
4
+ var _chunkQOAA7ZHBcjs = require('./chunk-QOAA7ZHB.cjs');
5
5
 
6
6
 
7
- var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
7
+ var _chunk3V5JWG27cjs = require('./chunk-3V5JWG27.cjs');
8
8
 
9
9
 
10
10
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
11
11
 
12
12
 
13
- var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
13
+ var _chunk63A4GZMBcjs = require('./chunk-63A4GZMB.cjs');
14
14
 
15
15
  // src/hooks/ui/use-image-edge-color.ts
16
16
  var _react = require('react');
17
- var EDGE_SAMPLE_WIDTH = _chunk5DBW6ERFcjs.IMAGE_FIXED_WIDTHS[2];
17
+ var EDGE_SAMPLE_WIDTH = _chunkQOAA7ZHBcjs.IMAGE_FIXED_WIDTHS[2];
18
18
  function extractEdgeColor(img) {
19
19
  const canvas = document.createElement("canvas");
20
20
  const ctx = canvas.getContext("2d");
@@ -70,7 +70,7 @@ function extractEdgeColor(img) {
70
70
  return `rgb(${r}, ${g}, ${b})`;
71
71
  }
72
72
  function useImageEdgeColor(givenUrl, fallback = "#000000") {
73
- const imageUrl = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) ? null : givenUrl;
73
+ const imageUrl = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) ? null : givenUrl;
74
74
  const [color, setColor] = _react.useState.call(void 0, fallback);
75
75
  const [resetFor, setResetFor] = _react.useState.call(void 0, { imageUrl, fallback });
76
76
  if (resetFor.imageUrl !== imageUrl || resetFor.fallback !== fallback) {
@@ -90,7 +90,7 @@ function useImageEdgeColor(givenUrl, fallback = "#000000") {
90
90
  setColor(fallback);
91
91
  }
92
92
  };
93
- const sampleUrl = _chunkKUXHXLJQcjs.resizedImageUrl.call(void 0, imageUrl, EDGE_SAMPLE_WIDTH);
93
+ const sampleUrl = _chunk3V5JWG27cjs.resizedImageUrl.call(void 0, imageUrl, EDGE_SAMPLE_WIDTH);
94
94
  let triedOriginal = sampleUrl === imageUrl;
95
95
  img.onerror = () => {
96
96
  if (cancelled) return;
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
2
2
 
3
3
 
4
- var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
4
+ var _chunk63A4GZMBcjs = require('./chunk-63A4GZMB.cjs');
5
5
 
6
6
  // src/components/ui/portal-container.tsx
7
7
  var _react = require('react');
@@ -33,7 +33,7 @@ var DropdownMenuSubTrigger = _react.forwardRef.call(void 0, ({ className, inset,
33
33
  DropdownMenuPrimitive.SubTrigger,
34
34
  {
35
35
  ref,
36
- className: _chunk7JWFMAQBcjs.cn.call(void 0,
36
+ className: _chunk63A4GZMBcjs.cn.call(void 0,
37
37
  "flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 outline-none text-h6 hover:bg-ods-bg-hover focus:bg-ods-bg-hover data-[state=open]:bg-ods-bg-hover [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
38
38
  inset && "pl-8",
39
39
  className
@@ -57,7 +57,7 @@ var DropdownMenuSubContent = _react.forwardRef.call(void 0, ({ className, collis
57
57
  collisionBoundary: resolvedBoundary,
58
58
  collisionPadding: _nullishCoalesce(collisionPadding, () => ( (resolvedBoundary ? COLLISION_PADDING_PX : void 0))),
59
59
  hideWhenDetached: _nullishCoalesce(hideWhenDetached, () => ( (resolvedBoundary ? true : void 0))),
60
- className: _chunk7JWFMAQBcjs.cn.call(void 0,
60
+ className: _chunk63A4GZMBcjs.cn.call(void 0,
61
61
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-ods-border bg-ods-card p-1 text-ods-text-primary shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
62
62
  className
63
63
  ),
@@ -78,7 +78,7 @@ var DropdownMenuContent = _react.forwardRef.call(void 0, ({ className, sideOffse
78
78
  collisionBoundary: resolvedBoundary,
79
79
  collisionPadding: _nullishCoalesce(collisionPadding, () => ( (resolvedBoundary ? COLLISION_PADDING_PX : void 0))),
80
80
  hideWhenDetached: _nullishCoalesce(hideWhenDetached, () => ( (resolvedBoundary ? true : void 0))),
81
- className: _chunk7JWFMAQBcjs.cn.call(void 0,
81
+ className: _chunk63A4GZMBcjs.cn.call(void 0,
82
82
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-ods-border bg-ods-card p-1 text-ods-text-primary shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
83
83
  className
84
84
  ),
@@ -91,7 +91,7 @@ var DropdownMenuItem = _react.forwardRef.call(void 0, ({ className, inset, ...pr
91
91
  DropdownMenuPrimitive.Item,
92
92
  {
93
93
  ref,
94
- className: _chunk7JWFMAQBcjs.cn.call(void 0,
94
+ className: _chunk63A4GZMBcjs.cn.call(void 0,
95
95
  "relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-ods-text-primary outline-none transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
96
96
  inset && "pl-8",
97
97
  className
@@ -104,7 +104,7 @@ var DropdownMenuCheckboxItem = _react.forwardRef.call(void 0, ({ className, chil
104
104
  DropdownMenuPrimitive.CheckboxItem,
105
105
  {
106
106
  ref,
107
- className: _chunk7JWFMAQBcjs.cn.call(void 0,
107
+ className: _chunk63A4GZMBcjs.cn.call(void 0,
108
108
  "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-ods-text-primary outline-none transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
109
109
  className
110
110
  ),
@@ -121,7 +121,7 @@ var DropdownMenuRadioItem = _react.forwardRef.call(void 0, ({ className, childre
121
121
  DropdownMenuPrimitive.RadioItem,
122
122
  {
123
123
  ref,
124
- className: _chunk7JWFMAQBcjs.cn.call(void 0,
124
+ className: _chunk63A4GZMBcjs.cn.call(void 0,
125
125
  "relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-ods-text-primary outline-none transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
126
126
  className
127
127
  ),
@@ -137,15 +137,15 @@ var DropdownMenuLabel = _react.forwardRef.call(void 0, ({ className, inset, ...p
137
137
  DropdownMenuPrimitive.Label,
138
138
  {
139
139
  ref,
140
- className: _chunk7JWFMAQBcjs.cn.call(void 0, "px-2 py-1.5 font-semibold text-ods-text-secondary text-h6", inset && "pl-8", className),
140
+ className: _chunk63A4GZMBcjs.cn.call(void 0, "px-2 py-1.5 font-semibold text-ods-text-secondary text-h6", inset && "pl-8", className),
141
141
  ...props
142
142
  }
143
143
  ));
144
144
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
145
- var DropdownMenuSeparator = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Separator, { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "-mx-1 my-1 h-px bg-ods-border", className), ...props }));
145
+ var DropdownMenuSeparator = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive.Separator, { ref, className: _chunk63A4GZMBcjs.cn.call(void 0, "-mx-1 my-1 h-px bg-ods-border", className), ...props }));
146
146
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
147
147
  var DropdownMenuShortcut = ({ className, ...props }) => {
148
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "ml-auto text-ods-text-secondary opacity-60 text-h6", className), ...props });
148
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "ml-auto text-ods-text-secondary opacity-60 text-h6", className), ...props });
149
149
  };
150
150
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
151
151