@flamingo-stack/openframe-frontend-core 0.0.798 → 0.0.800

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 (79) hide show
  1. package/dist/{chunk-TJQGKIXB.cjs → chunk-3C6JR5Z5.cjs} +32 -32
  2. package/dist/{chunk-C2UZWRU5.cjs → chunk-5LTKE6D3.cjs} +16 -16
  3. package/dist/{chunk-FO3N6HDS.cjs → chunk-5PDOKPBF.cjs} +13 -13
  4. package/dist/{chunk-BWTCULUN.cjs → chunk-CDLOQCJC.cjs} +4 -4
  5. package/dist/{chunk-2M6HS23A.cjs → chunk-CM2UGR4I.cjs} +30 -30
  6. package/dist/{chunk-NK2FSEWD.cjs → chunk-DUSCG2EO.cjs} +4 -4
  7. package/dist/{chunk-FIKIPO4F.cjs → chunk-FAUVDMH4.cjs} +1 -1
  8. package/dist/{chunk-VUHPWSAE.cjs → chunk-FCT7VKWG.cjs} +25 -25
  9. package/dist/{chunk-SDV335EO.cjs → chunk-FFRFKWTZ.cjs} +4 -4
  10. package/dist/{chunk-XJD7IZR2.cjs → chunk-FS4TVAE7.cjs} +48 -48
  11. package/dist/{chunk-5IU64YEA.cjs → chunk-IX2D26OR.cjs} +39 -39
  12. package/dist/{chunk-ZXRAYCNB.cjs → chunk-KH5DRO4V.cjs} +3 -3
  13. package/dist/{chunk-AVAE5B2A.cjs → chunk-KVGWOJCX.cjs} +2 -2
  14. package/dist/{chunk-6YCUP6JJ.cjs → chunk-LTOSJI6B.cjs} +14 -14
  15. package/dist/{chunk-ND7ECICK.cjs → chunk-OEEFUB25.cjs} +70 -45
  16. package/dist/{chunk-EYE5FLHZ.cjs → chunk-OGUBSDU5.cjs} +11 -11
  17. package/dist/{chunk-6F2UHDCB.cjs → chunk-OUKKLSME.cjs} +3 -3
  18. package/dist/{chunk-W25OB2R6.cjs → chunk-PQNRSUQ6.cjs} +11 -11
  19. package/dist/{chunk-W5ZQDEDT.cjs → chunk-PZVBTLLQ.cjs} +147 -131
  20. package/dist/{chunk-PTQVGWJE.cjs → chunk-S7CBD6KF.cjs} +61 -61
  21. package/dist/{chunk-O6KQ64RI.cjs → chunk-UYGXJ5SQ.cjs} +2 -2
  22. package/dist/{chunk-WUBTAN27.cjs → chunk-WWWCFNKI.cjs} +68 -68
  23. package/dist/{chunk-KFDAL6NA.cjs → chunk-XAJPXPQ6.cjs} +2 -2
  24. package/dist/{chunk-ZOK4OWMJ.cjs → chunk-Y5XHMEBB.cjs} +2 -2
  25. package/dist/{chunk-T5OCU3EL.cjs → chunk-ZPVFFPQM.cjs} +4 -4
  26. package/dist/{cloud-tenants-XGL3DYSG.cjs → cloud-tenants-S3BDIJHM.cjs} +6 -6
  27. package/dist/components/case-studies/index.cjs +20 -20
  28. package/dist/components/chat/index.cjs +5 -5
  29. package/dist/components/contact/index.cjs +7 -7
  30. package/dist/components/docs/index.cjs +10 -10
  31. package/dist/components/embeds/index.cjs +7 -7
  32. package/dist/components/faq/index.cjs +8 -8
  33. package/dist/components/features/index.cjs +6 -6
  34. package/dist/components/help-center-pages/index.cjs +82 -82
  35. package/dist/components/index.cjs +52 -52
  36. package/dist/components/layout/page-heading.js +1 -1
  37. package/dist/components/loading/loading-fallback.d.ts +27 -3
  38. package/dist/components/loading/loading-fallback.d.ts.map +1 -1
  39. package/dist/components/loading/loading-fallback.js +17 -9
  40. package/dist/components/meeting-scheduler/index.cjs +38 -38
  41. package/dist/components/navigation/index.cjs +9 -9
  42. package/dist/components/onboarding-guides/index.cjs +9 -9
  43. package/dist/components/product-demo/index.cjs +15 -15
  44. package/dist/components/related-content/index.cjs +5 -5
  45. package/dist/components/tickets/index.cjs +13 -13
  46. package/dist/components/ui/fade-preview.d.ts.map +1 -1
  47. package/dist/components/ui/fade-preview.js +9 -2
  48. package/dist/components/ui/index.cjs +6 -6
  49. package/dist/components/ui/index.d.ts +1 -1
  50. package/dist/components/ui/index.d.ts.map +1 -1
  51. package/dist/components/ui/index.js +9 -1
  52. package/dist/components/ui/markdown-editor.d.ts.map +1 -1
  53. package/dist/components/ui/trendline.d.ts +1 -1
  54. package/dist/components/ui/trendline.d.ts.map +1 -1
  55. package/dist/components/ui/trendline.js +11 -2
  56. package/dist/{devices-U2NQYDI7.cjs → devices-C6OOVBJK.cjs} +7 -7
  57. package/dist/{embeddable-chat-MPJLN4C6.cjs → embeddable-chat-2EBDLEVA.cjs} +62 -62
  58. package/dist/index.cjs +10 -10
  59. package/dist/{knowledge-BUY6TSK6.cjs → knowledge-YA5SFLQP.cjs} +7 -7
  60. package/dist/loading-standard/engine.d.mts +22 -4
  61. package/dist/loading-standard/engine.d.mts.map +1 -1
  62. package/dist/loading-standard/rule-examples.d.mts.map +1 -1
  63. package/dist/{logs-FUPQ7XYE.cjs → logs-LQX2CNVB.cjs} +14 -14
  64. package/dist/{policies-NASADYBK.cjs → policies-LWAUO6NR.cjs} +10 -10
  65. package/dist/{scripts-BGLTDQKV.cjs → scripts-W46RQ64X.cjs} +11 -11
  66. package/dist/{software-update-QDIZ32KU.cjs → software-update-OVR26DUF.cjs} +9 -9
  67. package/dist/utils/index.cjs +16 -1
  68. package/dist/utils/markdown-to-plain.d.ts.map +1 -1
  69. package/dist/utils/markdown-to-plain.js +16 -1
  70. package/package.json +1 -1
  71. package/src/components/layout/page-heading.tsx +3 -1
  72. package/src/components/loading/loading-fallback.tsx +52 -12
  73. package/src/components/ui/fade-preview.tsx +13 -2
  74. package/src/components/ui/index.ts +13 -1
  75. package/src/components/ui/markdown-editor.tsx +1 -0
  76. package/src/components/ui/trendline.tsx +27 -10
  77. package/src/loading-standard/engine.mjs +170 -14
  78. package/src/loading-standard/rule-examples.mjs +50 -0
  79. package/src/utils/markdown-to-plain.ts +23 -4
@@ -6,7 +6,7 @@ var _chunkBWR5ACK3cjs = require('./chunk-BWR5ACK3.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkVUHPWSAEcjs = require('./chunk-VUHPWSAE.cjs');
9
+ var _chunkFCT7VKWGcjs = require('./chunk-FCT7VKWG.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -47,7 +47,7 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
47
47
 
48
48
 
49
49
 
50
- var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
50
+ var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
51
51
 
52
52
 
53
53
  var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.cjs');
@@ -169,31 +169,31 @@ CveLink.displayName = "CveLink";
169
169
  // src/components/platform/ShellTypeBadge.tsx
170
170
 
171
171
  var shellIconMap = {
172
- [_chunkVUHPWSAEcjs.ShellTypeValues.POWERSHELL]: {
172
+ [_chunkFCT7VKWGcjs.ShellTypeValues.POWERSHELL]: {
173
173
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
174
174
  props: { size: 16, className: "text-ods-text-secondary" }
175
175
  },
176
- [_chunkVUHPWSAEcjs.ShellTypeValues.CMD]: {
176
+ [_chunkFCT7VKWGcjs.ShellTypeValues.CMD]: {
177
177
  icon: _chunkUXUYT4WKcjs.CmdIcon,
178
178
  props: { size: 16, color: "var(--color-text-secondary)" }
179
179
  },
180
- [_chunkVUHPWSAEcjs.ShellTypeValues.BASH]: {
180
+ [_chunkFCT7VKWGcjs.ShellTypeValues.BASH]: {
181
181
  icon: _chunk5OG5ZTNMcjs.BashIcon,
182
182
  props: { size: 16, color: "var(--color-text-secondary)" }
183
183
  },
184
- [_chunkVUHPWSAEcjs.ShellTypeValues.PYTHON]: {
184
+ [_chunkFCT7VKWGcjs.ShellTypeValues.PYTHON]: {
185
185
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
186
186
  props: { size: 16, className: "text-ods-text-secondary" }
187
187
  },
188
- [_chunkVUHPWSAEcjs.ShellTypeValues.NUSHELL]: {
188
+ [_chunkFCT7VKWGcjs.ShellTypeValues.NUSHELL]: {
189
189
  icon: _chunkG37H4CBTcjs.NushellIcon,
190
190
  props: { size: 16, color: "var(--color-text-secondary)" }
191
191
  },
192
- [_chunkVUHPWSAEcjs.ShellTypeValues.DENO]: {
192
+ [_chunkFCT7VKWGcjs.ShellTypeValues.DENO]: {
193
193
  icon: _chunkHUL6SF5Acjs.DenoIcon,
194
194
  props: { size: 16, color: "var(--color-text-secondary)" }
195
195
  },
196
- [_chunkVUHPWSAEcjs.ShellTypeValues.SHELL]: {
196
+ [_chunkFCT7VKWGcjs.ShellTypeValues.SHELL]: {
197
197
  icon: _chunk6RMATQNNcjs.ShellIcon,
198
198
  props: { size: 16, color: "var(--color-text-secondary)" }
199
199
  }
@@ -204,7 +204,7 @@ var defaultIconConfig = {
204
204
  };
205
205
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
206
206
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
207
- const label = _chunkVUHPWSAEcjs.getShellLabel.call(void 0, normalizedType);
207
+ const label = _chunkFCT7VKWGcjs.getShellLabel.call(void 0, normalizedType);
208
208
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
209
209
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
210
210
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -220,7 +220,7 @@ function formatSupportedPlatforms(platforms) {
220
220
  if (!platforms || platforms.length === 0) {
221
221
  return "All Platforms";
222
222
  }
223
- return platforms.map((platform) => _chunkVUHPWSAEcjs.getOSLabel.call(void 0, platform)).join(", ");
223
+ return platforms.map((platform) => _chunkFCT7VKWGcjs.getOSLabel.call(void 0, platform)).join(", ");
224
224
  }
225
225
  function InfoCell({ label, value, avatar, className }) {
226
226
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -240,7 +240,7 @@ var ScriptInfoSection = ({
240
240
  author,
241
241
  className
242
242
  }) => {
243
- const shellLabel = _chunkVUHPWSAEcjs.getShellLabel.call(void 0, shellType);
243
+ const shellLabel = _chunkFCT7VKWGcjs.getShellLabel.call(void 0, shellType);
244
244
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
245
245
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
246
246
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
@@ -288,7 +288,7 @@ function OnboardingStepCard({
288
288
  onSkip();
289
289
  };
290
290
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
291
- _chunkFIKIPO4Fcjs.InteractiveCard,
291
+ _chunkFAUVDMH4cjs.InteractiveCard,
292
292
  {
293
293
  clickable: false,
294
294
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
@@ -443,7 +443,7 @@ function OnboardingWalkthrough({
443
443
  const isAllComplete = allStepsComplete(steps);
444
444
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full space-y-4", className), children: [
445
445
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
446
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkFIKIPO4Fcjs.SECTION_HEADING_CLASS, children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
446
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkFAUVDMH4cjs.SECTION_HEADING_CLASS, children: _chunkFAUVDMH4cjs.accentSentenceMarks.call(void 0, title) }),
447
447
  isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[48px] w-full rounded-[6px] md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
448
448
  ] }),
449
449
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -292,7 +292,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
292
292
 
293
293
 
294
294
 
295
- var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
295
+ var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
296
296
 
297
297
 
298
298
 
@@ -393,6 +393,8 @@ var _chunkAHBTZ7DNcjs = require('./chunk-AHBTZ7DN.cjs');
393
393
 
394
394
 
395
395
 
396
+
397
+
396
398
  var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
397
399
 
398
400
 
@@ -564,6 +566,21 @@ function stripInlineMarkdown(s) {
564
566
  }
565
567
  var NOT_PROSE = /* @__PURE__ */ new Set(["pre", "img"]);
566
568
  var TABLE_SECTIONS = /* @__PURE__ */ new Set(["thead", "tbody", "tfoot"]);
569
+ var element = (tagName, children) => ({
570
+ type: "element",
571
+ tagName,
572
+ properties: {},
573
+ children
574
+ });
575
+ var sectionsBreak;
576
+ function toTextBreaksBetweenSections() {
577
+ if (sectionsBreak === void 0) {
578
+ const row = (text2) => element("tr", [element("td", [{ type: "text", value: text2 }])]);
579
+ const table = element("table", [element("thead", [row("a")]), element("tbody", [row("b")])]);
580
+ sectionsBreak = _hastutiltotext.toText.call(void 0, { type: "root", children: [table] }).includes("\n");
581
+ }
582
+ return sectionsBreak;
583
+ }
567
584
  function htmlTree(markdown) {
568
585
  const mdast = _mdastutilfrommarkdown.fromMarkdown.call(void 0, markdown, { extensions: [_micromarkextensiongfm.gfm.call(void 0, )], mdastExtensions: [_mdastutilgfm.gfmFromMarkdown.call(void 0, )] });
569
586
  _mdastutilnewlinetobreak.newlineToBreak.call(void 0, mdast);
@@ -576,7 +593,7 @@ function proseTree(markdown) {
576
593
  parent.children.splice(index, 1);
577
594
  return [_unistutilvisit.SKIP, index];
578
595
  }
579
- if (TABLE_SECTIONS.has(node.tagName) && parent && index !== void 0) {
596
+ if (TABLE_SECTIONS.has(node.tagName) && parent && index !== void 0 && !toTextBreaksBetweenSections()) {
580
597
  const followedBySection = parent.children.slice(index + 1).some((sibling) => sibling.type === "element" && TABLE_SECTIONS.has(sibling.tagName));
581
598
  const rows = node.children.filter(
582
599
  (child) => child.type === "element" && child.tagName === "tr"
@@ -4375,15 +4392,23 @@ function LoadingSuspense({
4375
4392
  as,
4376
4393
  className,
4377
4394
  fallback,
4395
+ live = false,
4396
+ gated = false,
4397
+ bare = false,
4378
4398
  children
4379
4399
  }) {
4380
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4381
- _react.Suspense,
4382
- {
4383
- fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LoadingFallback, { label, status, as, className, children: _nullishCoalesce(fallback, () => ( children)) }),
4384
- children
4385
- }
4386
- );
4400
+ const view = _nullishCoalesce(fallback, () => ( children));
4401
+ const waiting = live ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LiveWait, { label, status, children: view }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LoadingFallback, { label, status, as, className, children: view });
4402
+ const boundary = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: waiting, children });
4403
+ if (bare) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingWhen, { loading: gated, children: gated ? view : boundary });
4404
+ return gated ? waiting : boundary;
4405
+ }
4406
+ function LiveWait({ label, status = true, children }) {
4407
+ const outer = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
4408
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4409
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingWhen, { loading: true, children }),
4410
+ status && !outer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingStatus, { label: _nullishCoalesce(label, () => ( "Loading the page")) })
4411
+ ] });
4387
4412
  }
4388
4413
 
4389
4414
  // src/components/chat/context-items-list.tsx
@@ -6699,7 +6724,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
6699
6724
 
6700
6725
  [Attached: ${safeName}](${url})`;
6701
6726
  }
6702
- var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkFIKIPO4Fcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
6727
+ var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkFAUVDMH4cjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
6703
6728
  var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
6704
6729
  `^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
6705
6730
  "gm"
@@ -9604,10 +9629,10 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
9604
9629
  const isNewTab = runtime ? _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
9605
9630
  if (isNewTab) {
9606
9631
  if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
9607
- else window.open(href, "_blank", _chunkFIKIPO4Fcjs.NEW_TAB_FEATURES);
9632
+ else window.open(href, "_blank", _chunkFAUVDMH4cjs.NEW_TAB_FEATURES);
9608
9633
  return;
9609
9634
  }
9610
- const target = isForeignOriginHref(href) ? href : _chunkFIKIPO4Fcjs.stripSameOriginToPath.call(void 0, href);
9635
+ const target = isForeignOriginHref(href) ? href : _chunkFAUVDMH4cjs.stripSameOriginToPath.call(void 0, href);
9611
9636
  if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
9612
9637
  return;
9613
9638
  }
@@ -9658,7 +9683,7 @@ function useNavLinkViaRuntime({
9658
9683
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
9659
9684
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
9660
9685
  const panel = useChatPanel();
9661
- const resolvedHref = _chunkFIKIPO4Fcjs.resolveHrefForRuntime.call(void 0, href, runtime);
9686
+ const resolvedHref = _chunkFAUVDMH4cjs.resolveHrefForRuntime.call(void 0, href, runtime);
9662
9687
  const isNewTab = _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
9663
9688
  const onClick = (e) => {
9664
9689
  _optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
@@ -9818,7 +9843,7 @@ function UserDisplay({
9818
9843
  compact = false,
9819
9844
  className
9820
9845
  }) {
9821
- const avatarSrc = _chunkFIKIPO4Fcjs.useProxiedImageUrl.call(void 0, avatarUrl);
9846
+ const avatarSrc = _chunkFAUVDMH4cjs.useProxiedImageUrl.call(void 0, avatarUrl);
9822
9847
  if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
9823
9848
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9824
9849
  UserDisplaySkeleton,
@@ -10286,7 +10311,7 @@ function CardsStrip(props) {
10286
10311
  }
10287
10312
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
10288
10313
  };
10289
- const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFIKIPO4Fcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) });
10314
+ const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFAUVDMH4cjs.SECTION_HEADING_CLASS} break-words`, children: _chunkFAUVDMH4cjs.accentSentenceMarks.call(void 0, title) });
10290
10315
  if (items.length === 0) {
10291
10316
  if (!inScope || !skeleton) return null;
10292
10317
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
@@ -10868,7 +10893,7 @@ function EntityVideoSection({
10868
10893
  }
10869
10894
  ) : null),
10870
10895
  videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
10871
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFIKIPO4Fcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
10896
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFAUVDMH4cjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
10872
10897
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
10873
10898
  ] }),
10874
10899
  videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -10940,7 +10965,7 @@ function designDocPeople(doc) {
10940
10965
  return people;
10941
10966
  }
10942
10967
  function designDocMetaLine(doc) {
10943
- return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkFIKIPO4Fcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
10968
+ return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkFAUVDMH4cjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
10944
10969
  }
10945
10970
  var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
10946
10971
  var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
@@ -11271,7 +11296,7 @@ function VendorIcon({
11271
11296
  }) {
11272
11297
  const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
11273
11298
  const logoUrl = getVendorLogo(vendor);
11274
- const logoSrc = _chunkFIKIPO4Fcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
11299
+ const logoSrc = _chunkFAUVDMH4cjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
11275
11300
  const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
11276
11301
  const containerClasses = _chunk7JWFMAQBcjs.cn.call(void 0,
11277
11302
  sizeClasses[size],
@@ -11315,8 +11340,8 @@ function useChatCardItem(type, id) {
11315
11340
  const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
11316
11341
  if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
11317
11342
  const data = await res.json();
11318
- const items = _chunkFIKIPO4Fcjs.extractCardItems.call(void 0, type, data);
11319
- const match = items.find((it) => _chunkFIKIPO4Fcjs.extractItemId.call(void 0, type, it) === id);
11343
+ const items = _chunkFAUVDMH4cjs.extractCardItems.call(void 0, type, data);
11344
+ const match = items.find((it) => _chunkFAUVDMH4cjs.extractItemId.call(void 0, type, it) === id);
11320
11345
  return _nullishCoalesce(match, () => ( null));
11321
11346
  },
11322
11347
  enabled: !!url && id.length > 0,
@@ -11522,7 +11547,7 @@ function resolveFetchedCardHref({
11522
11547
  composeContentUrl
11523
11548
  }) {
11524
11549
  if (!composeContentUrl || !contentRefType || !id) return null;
11525
- const canonicalType = _chunkFIKIPO4Fcjs.canonicalContentRefType.call(void 0, contentRefType);
11550
+ const canonicalType = _chunkFAUVDMH4cjs.canonicalContentRefType.call(void 0, contentRefType);
11526
11551
  return composeContentUrl({
11527
11552
  // The card registry keys some entries by the legacy rail vocabulary
11528
11553
  // (`blog_post_existing`) because that is what `buildListUrl` expects.
@@ -11590,7 +11615,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
11590
11615
  // Canonical vocabulary only — a rail-vocab alias would miss the host's
11591
11616
  // `hostedTypes` / `overrides` and fall through to the seam's default
11592
11617
  // `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
11593
- type: _chunkFIKIPO4Fcjs.canonicalContentRefType.call(void 0, row.documentType),
11618
+ type: _chunkFAUVDMH4cjs.canonicalContentRefType.call(void 0, row.documentType),
11594
11619
  identifier: idValue,
11595
11620
  externalUrl: row.externalUrl,
11596
11621
  targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
@@ -11963,17 +11988,17 @@ function TrustCenterChatCard({
11963
11988
  }) {
11964
11989
  const raw2 = _optionalChain([item, 'optionalAccess', _286 => _286.frameworks]);
11965
11990
  const frameworks = Array.isArray(raw2) ? raw2 : [];
11966
- const summary = _chunkFIKIPO4Fcjs.trustFrameworksSummary.call(void 0, frameworks);
11991
+ const summary = _chunkFAUVDMH4cjs.trustFrameworksSummary.call(void 0, frameworks);
11967
11992
  const leadFramework = frameworks[0];
11968
11993
  const lead = leadFramework ? {
11969
- label: _chunkFIKIPO4Fcjs.trustFrameworkBadge.call(void 0, leadFramework),
11970
- color: _chunkFIKIPO4Fcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
11994
+ label: _chunkFAUVDMH4cjs.trustFrameworkBadge.call(void 0, leadFramework),
11995
+ color: _chunkFAUVDMH4cjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
11971
11996
  } : void 0;
11972
11997
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11973
11998
  MingoInfoCard,
11974
11999
  {
11975
- title: _chunkFIKIPO4Fcjs.TRUST_CENTER_TITLE,
11976
- description: summary || _chunkFIKIPO4Fcjs.TRUST_CENTER_TAGLINE,
12000
+ title: _chunkFAUVDMH4cjs.TRUST_CENTER_TITLE,
12001
+ description: summary || _chunkFAUVDMH4cjs.TRUST_CENTER_TAGLINE,
11977
12002
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
11978
12003
  status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
11979
12004
  anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
@@ -12103,7 +12128,7 @@ function CampaignChatCard({
12103
12128
  }) {
12104
12129
  const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _292 => _292.goals])) ? item.goals.length : 0;
12105
12130
  const meta = [
12106
- _optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkFIKIPO4Fcjs.formatDateShort.call(void 0, item.start_date) : null,
12131
+ _optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkFAUVDMH4cjs.formatDateShort.call(void 0, item.start_date) : null,
12107
12132
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
12108
12133
  "Marketing campaign"
12109
12134
  ].filter(Boolean).join(" \xB7 ");
@@ -12154,7 +12179,7 @@ function entityCover(image, ogPlaceholder) {
12154
12179
  function statusPill(status) {
12155
12180
  const s = typeof status === "string" ? status.trim() : "";
12156
12181
  if (!s) return void 0;
12157
- const scheme = _chunkFIKIPO4Fcjs.getStatusColorScheme.call(void 0, s);
12182
+ const scheme = _chunkFAUVDMH4cjs.getStatusColorScheme.call(void 0, s);
12158
12183
  const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
12159
12184
  return { label: s, variant };
12160
12185
  }
@@ -12263,7 +12288,7 @@ function InvestorUpdateChatCard({
12263
12288
  EntityMingoCard,
12264
12289
  {
12265
12290
  title,
12266
- description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkFIKIPO4Fcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
12291
+ description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkFAUVDMH4cjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
12267
12292
  cover: entityCover(_optionalChain([item, 'optionalAccess', _327 => _327.featured_image]), ogPlaceholder),
12268
12293
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
12269
12294
  status: { label: "Investor update", variant: "grey" },
@@ -12307,7 +12332,7 @@ function ProgramChatCard({
12307
12332
  discuss
12308
12333
  }) {
12309
12334
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
12310
- const { line: meta } = _chunkFIKIPO4Fcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkFIKIPO4Fcjs.programMetaFormatters.call(void 0, _chunkFIKIPO4Fcjs.PROGRAM_META_RENDERERS));
12335
+ const { line: meta } = _chunkFAUVDMH4cjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkFAUVDMH4cjs.programMetaFormatters.call(void 0, _chunkFAUVDMH4cjs.PROGRAM_META_RENDERERS));
12311
12336
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12312
12337
  EntityMingoCard,
12313
12338
  {
@@ -12333,7 +12358,7 @@ function RoadmapChatCard({
12333
12358
  const logoUrl = typeof _optionalChain([item, 'optionalAccess', _337 => _337.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
12334
12359
  const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]) != null;
12335
12360
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
12336
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
12361
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
12337
12362
  // Contained (not full-bleed) so the integration logo keeps its aspect
12338
12363
  // ratio inside the bordered icon box — matches RoadmapCard.
12339
12364
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUXHXLJQcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
@@ -12520,7 +12545,7 @@ function programRegistryEntries() {
12520
12545
  label: cfg.label,
12521
12546
  contentRefType: cfg.contentRefType,
12522
12547
  bareInline: true,
12523
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.ProgramCard, { loading: true, size: "sm" }),
12548
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.ProgramCard, { loading: true, size: "sm" }),
12524
12549
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12525
12550
  ProgramChatCard,
12526
12551
  {
@@ -12561,7 +12586,7 @@ function roadmapRegistryEntries() {
12561
12586
  bareInline: true,
12562
12587
  ...cfg.noComposedHref ? { noComposedHref: true } : {},
12563
12588
  ...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
12564
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.RoadmapCard, { loading: true, size: "sm" }),
12589
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.RoadmapCard, { loading: true, size: "sm" }),
12565
12590
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12566
12591
  RoadmapChatCard,
12567
12592
  {
@@ -12619,12 +12644,12 @@ var CHAT_CARD_REGISTRY = {
12619
12644
  // projection route; `extractCardItems` turns its object payload into the
12620
12645
  // single matched row. Destination is the public page unless the host
12621
12646
  // re-homes the type (`composeContentUrl` override).
12622
- [_chunkFIKIPO4Fcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
12647
+ [_chunkFAUVDMH4cjs.TRUST_CENTER_DOCUMENT_TYPE]: {
12623
12648
  label: "Trust center",
12624
12649
  bareInline: true,
12625
- contentRefType: _chunkFIKIPO4Fcjs.TRUST_CENTER_DOCUMENT_TYPE,
12650
+ contentRefType: _chunkFAUVDMH4cjs.TRUST_CENTER_DOCUMENT_TYPE,
12626
12651
  noComposedHref: true,
12627
- fallbackHref: () => _chunkFIKIPO4Fcjs.TRUST_CENTER_PAGE_PATH,
12652
+ fallbackHref: () => _chunkFAUVDMH4cjs.TRUST_CENTER_PAGE_PATH,
12628
12653
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
12629
12654
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
12630
12655
  },
@@ -12650,7 +12675,7 @@ var CHAT_CARD_REGISTRY = {
12650
12675
  label: "Blog post",
12651
12676
  contentRefType: "blog_post_existing",
12652
12677
  bareInline: true,
12653
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.BlogCard, { loading: true, size: "sm" }),
12678
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.BlogCard, { loading: true, size: "sm" }),
12654
12679
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12655
12680
  BlogChatCard,
12656
12681
  {
@@ -12692,7 +12717,7 @@ var CHAT_CARD_REGISTRY = {
12692
12717
  label: "Customer interview",
12693
12718
  contentRefType: "customer_interview",
12694
12719
  bareInline: true,
12695
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
12720
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.CustomerInterviewCard, { loading: true, size: "sm" }),
12696
12721
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12697
12722
  CustomerInterviewChatCard,
12698
12723
  {
@@ -12708,9 +12733,9 @@ var CHAT_CARD_REGISTRY = {
12708
12733
  label: "Product release",
12709
12734
  contentRefType: "product_release",
12710
12735
  bareInline: true,
12711
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.ProductReleaseCard, { loading: true, size: "sm" }),
12736
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.ProductReleaseCard, { loading: true, size: "sm" }),
12712
12737
  render: (item, chatRef, opts) => {
12713
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkFIKIPO4Fcjs.defaultBuildProductReleaseCardProps));
12738
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkFAUVDMH4cjs.defaultBuildProductReleaseCardProps));
12714
12739
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12715
12740
  ProductReleaseChatCard,
12716
12741
  {
@@ -12728,7 +12753,7 @@ var CHAT_CARD_REGISTRY = {
12728
12753
  label: "Investor update",
12729
12754
  contentRefType: "investor_update",
12730
12755
  bareInline: true,
12731
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
12756
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.InvestorUpdateCard, { loading: true, size: "sm" }),
12732
12757
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12733
12758
  InvestorUpdateChatCard,
12734
12759
  {
@@ -12746,7 +12771,7 @@ var CHAT_CARD_REGISTRY = {
12746
12771
  bareInline: true,
12747
12772
  // "Display" affordance (verbatim guide body) instead of "Ask".
12748
12773
  displayAction: true,
12749
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
12774
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.OnboardingGuideCard, { loading: true, size: "sm" }),
12750
12775
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12751
12776
  OnboardingGuideChatCard,
12752
12777
  {
@@ -12819,7 +12844,7 @@ function ChatCardLoader({
12819
12844
  entry: fetchEntry,
12820
12845
  ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
12821
12846
  composeContentUrl: runtime.composeContentUrl,
12822
- resolveHref: (href) => _chunkFIKIPO4Fcjs.resolveHrefForRuntime.call(void 0, href, runtime)
12847
+ resolveHref: (href) => _chunkFAUVDMH4cjs.resolveHrefForRuntime.call(void 0, href, runtime)
12823
12848
  });
12824
12849
  const hrefResolvedChatRef = {
12825
12850
  ...chatRef,
@@ -13910,7 +13935,7 @@ function useChatAttachmentImageGallery() {
13910
13935
  return () => root.removeEventListener("click", onClick);
13911
13936
  }, [viewUrlPrefix]);
13912
13937
  const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13913
- _chunkFIKIPO4Fcjs.ImageGalleryModal,
13938
+ _chunkFAUVDMH4cjs.ImageGalleryModal,
13914
13939
  {
13915
13940
  images: state.images,
13916
13941
  isOpen: state.isOpen,
@@ -1,13 +1,13 @@
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 _chunkW5ZQDEDTcjs = require('./chunk-W5ZQDEDT.cjs');
4
+ var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkND7ECICKcjs = require('./chunk-ND7ECICK.cjs');
10
+ var _chunkOEEFUB25cjs = require('./chunk-OEEFUB25.cjs');
11
11
 
12
12
 
13
13
  var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
@@ -18,7 +18,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
21
+ var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
22
22
 
23
23
 
24
24
  var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.cjs');
@@ -42,7 +42,7 @@ var _jsxruntime = require('react/jsx-runtime');
42
42
  function DocSearchResultRow({ result, isHighlighted }) {
43
43
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
44
44
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
45
- const { Icon: SourceIcon, label: iconLabel } = _chunkND7ECICKcjs.resolveSourceIcon.call(void 0, {
45
+ const { Icon: SourceIcon, label: iconLabel } = _chunkOEEFUB25cjs.resolveSourceIcon.call(void 0, {
46
46
  sourceRepo,
47
47
  documentType: docType
48
48
  });
@@ -72,7 +72,7 @@ function DocSearchBar({
72
72
  renderResult
73
73
  }) {
74
74
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
75
- _chunkW5ZQDEDTcjs.SearchInput,
75
+ _chunkPZVBTLLQcjs.SearchInput,
76
76
  {
77
77
  placeholder,
78
78
  value: query,
@@ -122,7 +122,7 @@ function mapDocSearchResults(docs) {
122
122
  results.push({
123
123
  id: `group-${entry.repo}`,
124
124
  // Same table label and count as the chat's grouped chip: one owner each.
125
- title: `${_chunkND7ECICKcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkND7ECICKcjs.recordCountLabel.call(void 0, rows.length)}`,
125
+ title: `${_chunkOEEFUB25cjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkOEEFUB25cjs.recordCountLabel.call(void 0, rows.length)}`,
126
126
  path: rows[0].path,
127
127
  type: "file",
128
128
  metadata: {
@@ -314,31 +314,31 @@ function useDocSearch(config) {
314
314
  case "navigate-same-tab": {
315
315
  if (wantsNewTab) {
316
316
  setKeepOpen(true);
317
- window.open(action.href, "_blank", _chunkFIKIPO4Fcjs.NEW_TAB_FEATURES);
317
+ window.open(action.href, "_blank", _chunkFAUVDMH4cjs.NEW_TAB_FEATURES);
318
318
  return;
319
319
  }
320
320
  setKeepOpen(false);
321
321
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
322
322
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
323
- router.push(_chunkFIKIPO4Fcjs.stripSameOriginToPath.call(void 0, action.href));
323
+ router.push(_chunkFAUVDMH4cjs.stripSameOriginToPath.call(void 0, action.href));
324
324
  return;
325
325
  }
326
326
  case "navigate-new-tab":
327
327
  setKeepOpen(true);
328
328
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
329
329
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
330
- _chunkFIKIPO4Fcjs.resolveExternalNavigation.call(void 0, {
330
+ _chunkFAUVDMH4cjs.resolveExternalNavigation.call(void 0, {
331
331
  href: action.href,
332
332
  targetPlatform,
333
333
  runtime
334
334
  }).open();
335
335
  return;
336
336
  }
337
- window.open(action.href, "_blank", _chunkFIKIPO4Fcjs.NEW_TAB_FEATURES);
337
+ window.open(action.href, "_blank", _chunkFAUVDMH4cjs.NEW_TAB_FEATURES);
338
338
  return;
339
339
  case "ask-ai":
340
340
  setKeepOpen(false);
341
- window.dispatchEvent(new CustomEvent(_chunkND7ECICKcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
341
+ window.dispatchEvent(new CustomEvent(_chunkOEEFUB25cjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
342
342
  return;
343
343
  case "route":
344
344
  setKeepOpen(false);
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkW5ZQDEDTcjs = require('./chunk-W5ZQDEDT.cjs');
4
+ var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.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
- _chunkW5ZQDEDTcjs.EmbedViewerFrame,
51
+ _chunkPZVBTLLQcjs.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
- _chunkW5ZQDEDTcjs.EmbedViewerFrame,
86
+ _chunkPZVBTLLQcjs.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,