@flamingo-stack/openframe-frontend-core 0.0.704-snapshot.20261006133653 → 0.0.704

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 (73) hide show
  1. package/dist/{chunk-3256UJXS.cjs → chunk-262YQFOS.cjs} +24 -24
  2. package/dist/{chunk-PPEZGUL7.js → chunk-2G546OND.js} +5 -5
  3. package/dist/{chunk-IZHZMBIX.js → chunk-2JDVL7UV.js} +1 -3
  4. package/dist/{chunk-M6HTJTFH.cjs → chunk-4DQMTBMK.cjs} +11 -11
  5. package/dist/{chunk-5EFZO5EB.js → chunk-4KGXLVCF.js} +3 -3
  6. package/dist/{chunk-64HOMVYC.js → chunk-5QJDM6UV.js} +3 -3
  7. package/dist/{chunk-PFC2HWQA.js → chunk-6WQIUQUC.js} +5 -5
  8. package/dist/{chunk-QC7Q3XCE.cjs → chunk-7JIL3WOH.cjs} +14 -14
  9. package/dist/{chunk-4S7TJYRQ.js → chunk-7LFIKJX2.js} +2 -2
  10. package/dist/{chunk-7ZYIC7NA.cjs → chunk-AMYY3PNL.cjs} +42 -42
  11. package/dist/{chunk-TYWLNCNH.cjs → chunk-C3BWIU7R.cjs} +5 -1
  12. package/dist/{chunk-SAAZEWUR.cjs → chunk-C7XGRLT5.cjs} +6 -6
  13. package/dist/{chunk-VMAZCLX4.js → chunk-ERCV6HHJ.js} +4 -4
  14. package/dist/{chunk-NJDHFC55.js → chunk-FXENTYE5.js} +1 -1
  15. package/dist/{chunk-7GHB2IK6.cjs → chunk-HFJW24JJ.cjs} +79 -79
  16. package/dist/{chunk-A6WVQKOZ.js → chunk-HJAYVKWQ.js} +6 -6
  17. package/dist/{chunk-POZ7F77D.js → chunk-I7DFUQMN.js} +6 -5
  18. package/dist/{chunk-MKXO4Q5P.js → chunk-IHU5ANUY.js} +1 -1
  19. package/dist/{chunk-JKEEFQOX.cjs → chunk-IZGDG5X6.cjs} +32 -32
  20. package/dist/{chunk-IFUQVZF4.js → chunk-JEYRXT5L.js} +7 -7
  21. package/dist/{chunk-ZQZFIE2K.cjs → chunk-L3IC42IF.cjs} +18 -17
  22. package/dist/{chunk-XBWE423R.cjs → chunk-LDPEQGKT.cjs} +52 -54
  23. package/dist/{chunk-P23CRLU4.cjs → chunk-LTSTC3N5.cjs} +379 -379
  24. package/dist/{chunk-2QEUFXNS.cjs → chunk-MGGGBHYD.cjs} +10 -10
  25. package/dist/{chunk-UBP5RNGK.cjs → chunk-MI3JUJ75.cjs} +21 -21
  26. package/dist/{chunk-IXPUM3AW.cjs → chunk-N3TO7JV3.cjs} +49 -49
  27. package/dist/{chunk-OSNIZNVH.js → chunk-NRLJUBCS.js} +2 -2
  28. package/dist/{chunk-OUHMD6EU.js → chunk-QVSFBSWV.js} +4 -4
  29. package/dist/{chunk-BH6PJP66.cjs → chunk-SYXQLETR.cjs} +9 -9
  30. package/dist/{chunk-V3H26CNS.cjs → chunk-UK62YTH6.cjs} +2 -2
  31. package/dist/{chunk-VYWMEL5F.js → chunk-VTASHWER.js} +3 -3
  32. package/dist/{chunk-PDWVPI3S.js → chunk-WUJNYGO2.js} +4 -0
  33. package/dist/{chunk-MV4HYG3B.js → chunk-XATTBO5X.js} +1 -1
  34. package/dist/{chunk-F7Y2ZS5U.cjs → chunk-XIFOBQRQ.cjs} +4 -4
  35. package/dist/{chunk-ACV4DFQ3.cjs → chunk-XJKZ4IKT.cjs} +4 -4
  36. package/dist/{chunk-IKCQK67U.js → chunk-ZQFZSFQI.js} +2 -2
  37. package/dist/components/case-studies/index.cjs +17 -17
  38. package/dist/components/case-studies/index.js +5 -5
  39. package/dist/components/chat/chat-input.d.ts.map +1 -1
  40. package/dist/components/chat/index.cjs +3 -3
  41. package/dist/components/chat/index.js +2 -2
  42. package/dist/components/contact/index.cjs +6 -6
  43. package/dist/components/contact/index.js +5 -5
  44. package/dist/components/docs/index.cjs +9 -9
  45. package/dist/components/docs/index.js +8 -8
  46. package/dist/components/embeds/index.cjs +6 -6
  47. package/dist/components/embeds/index.js +5 -5
  48. package/dist/components/faq/index.cjs +6 -6
  49. package/dist/components/faq/index.js +5 -5
  50. package/dist/components/features/index.cjs +5 -5
  51. package/dist/components/features/index.js +4 -4
  52. package/dist/components/help-center-pages/index.cjs +81 -81
  53. package/dist/components/help-center-pages/index.js +16 -16
  54. package/dist/components/index.cjs +47 -47
  55. package/dist/components/index.js +15 -15
  56. package/dist/components/meeting-scheduler/index.cjs +32 -32
  57. package/dist/components/meeting-scheduler/index.js +4 -4
  58. package/dist/components/navigation/index.cjs +8 -8
  59. package/dist/components/navigation/index.js +7 -7
  60. package/dist/components/onboarding-guides/index.cjs +8 -8
  61. package/dist/components/onboarding-guides/index.js +7 -7
  62. package/dist/components/tickets/index.cjs +9 -9
  63. package/dist/components/tickets/index.js +8 -8
  64. package/dist/components/ui/index.cjs +5 -5
  65. package/dist/components/ui/index.js +4 -4
  66. package/dist/hooks/index.cjs +3 -3
  67. package/dist/hooks/index.js +2 -2
  68. package/dist/index.cjs +10 -10
  69. package/dist/index.js +8 -8
  70. package/package.json +1 -1
  71. package/src/components/chat/chat-input.tsx +1 -5
  72. package/src/components/platform/SoftwareSourceBadge.tsx +1 -1
  73. package/src/styles/app-globals.css +0 -13
@@ -21,7 +21,7 @@
21
21
 
22
22
 
23
23
 
24
- var _chunkTYWLNCNHcjs = require('./chunk-TYWLNCNH.cjs');
24
+ var _chunkC3BWIU7Rcjs = require('./chunk-C3BWIU7R.cjs');
25
25
 
26
26
 
27
27
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -540,7 +540,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
540
540
  onClick: onToggle,
541
541
  className: "flex w-full cursor-pointer items-start gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left",
542
542
  children: [
543
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTYWLNCNHcjs.ToolIcon, { toolType, size: 16 }) }),
543
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC3BWIU7Rcjs.ToolIcon, { toolType, size: 16 }) }),
544
544
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
545
545
  "div",
546
546
  {
@@ -1167,14 +1167,14 @@ function buildHeadingIdMap(content, sectionIds) {
1167
1167
  for (const section of sectionIds) {
1168
1168
  sectionIdMap.set(section.title, section.id);
1169
1169
  sectionIdMap.set(section.title.toLowerCase(), section.id);
1170
- sectionIdMap.set(_chunkTYWLNCNHcjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
1170
+ sectionIdMap.set(_chunkC3BWIU7Rcjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
1171
1171
  }
1172
1172
  }
1173
- const dedupe = _chunkTYWLNCNHcjs.createHeadingIdDeduper.call(void 0, );
1173
+ const dedupe = _chunkC3BWIU7Rcjs.createHeadingIdDeduper.call(void 0, );
1174
1174
  const map = /* @__PURE__ */ new Map();
1175
1175
  let sectionOrdinal = 0;
1176
1176
  let headingOrdinal = 0;
1177
- for (const { line, level, text: rawText } of _chunkTYWLNCNHcjs.scanHeadings.call(void 0, content)) {
1177
+ for (const { line, level, text: rawText } of _chunkC3BWIU7Rcjs.scanHeadings.call(void 0, content)) {
1178
1178
  const text2 = stripInlineMarkdown(rawText).trim();
1179
1179
  headingOrdinal++;
1180
1180
  if (level <= EXTRACTOR_MAX_LEVEL) sectionOrdinal++;
@@ -1183,8 +1183,8 @@ function buildHeadingIdMap(content, sectionIds) {
1183
1183
  for (const variation of [
1184
1184
  text2,
1185
1185
  text2.toLowerCase(),
1186
- _chunkTYWLNCNHcjs.stripHeadingEmojis.call(void 0, text2),
1187
- _chunkTYWLNCNHcjs.stripHeadingEmojis.call(void 0, text2).toLowerCase()
1186
+ _chunkC3BWIU7Rcjs.stripHeadingEmojis.call(void 0, text2),
1187
+ _chunkC3BWIU7Rcjs.stripHeadingEmojis.call(void 0, text2).toLowerCase()
1188
1188
  ]) {
1189
1189
  const id = sectionIdMap.get(variation);
1190
1190
  if (id) {
@@ -1194,7 +1194,7 @@ function buildHeadingIdMap(content, sectionIds) {
1194
1194
  }
1195
1195
  }
1196
1196
  if (assigned === void 0) {
1197
- const baseId = _chunkTYWLNCNHcjs.slugifyHeadingText.call(void 0, text2);
1197
+ const baseId = _chunkC3BWIU7Rcjs.slugifyHeadingText.call(void 0, text2);
1198
1198
  assigned = dedupe(
1199
1199
  baseId || (level <= EXTRACTOR_MAX_LEVEL ? `section-${sectionOrdinal}` : `heading-${headingOrdinal}`)
1200
1200
  );
@@ -1696,7 +1696,7 @@ function buildBaseComponents({
1696
1696
  const mapped = useHeadingId(node);
1697
1697
  const taken = useAssignedHeadingIds();
1698
1698
  const explicit = typeof _optionalChain([node, 'optionalAccess', _53 => _53.properties, 'optionalAccess', _54 => _54.id]) === "string" && node.properties.id !== "" ? node.properties.id : void 0;
1699
- const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(_chunkTYWLNCNHcjs.slugifyHeadingText.call(void 0, extractText(children)), taken)));
1699
+ const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(_chunkC3BWIU7Rcjs.slugifyHeadingText.call(void 0, extractText(children)), taken)));
1700
1700
  const EffectiveTag = Tag2 === "h1" && demoteMarkdownH1ToH2 ? "h2" : Tag2;
1701
1701
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EffectiveTag, { id: id || void 0, className: headingClassName, children });
1702
1702
  }
@@ -1771,10 +1771,10 @@ function buildBaseComponents({
1771
1771
  const handleAnchorClick = (e) => {
1772
1772
  if (inPageAnchorId === null) return;
1773
1773
  if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0) return;
1774
- const target = _chunkTYWLNCNHcjs.getHashTargetElement.call(void 0, inPageAnchorId);
1774
+ const target = _chunkC3BWIU7Rcjs.getHashTargetElement.call(void 0, inPageAnchorId);
1775
1775
  if (!_optionalChain([target, 'optionalAccess', _55 => _55.id])) return;
1776
1776
  e.preventDefault();
1777
- _chunkTYWLNCNHcjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkTYWLNCNHcjs.HUB_HEADER_OFFSET_PX });
1777
+ _chunkC3BWIU7Rcjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkC3BWIU7Rcjs.HUB_HEADER_OFFSET_PX });
1778
1778
  };
1779
1779
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1780
1780
  "a",
@@ -2314,7 +2314,7 @@ function findInlineCodeRanges(source) {
2314
2314
  while (pos <= len) {
2315
2315
  let end = source.indexOf("\n", pos);
2316
2316
  if (end === -1) end = len;
2317
- const blank = _chunkTYWLNCNHcjs.isBlankLine.call(void 0, source.slice(pos, end));
2317
+ const blank = _chunkC3BWIU7Rcjs.isBlankLine.call(void 0, source.slice(pos, end));
2318
2318
  if (blank && segStart !== -1) break;
2319
2319
  if (!blank) {
2320
2320
  if (segStart === -1) segStart = pos;
@@ -2396,7 +2396,7 @@ function toMaskLines(source) {
2396
2396
  return out;
2397
2397
  }
2398
2398
  function blankFencedRegions(masked, lines) {
2399
- const fences = _chunkTYWLNCNHcjs.createFenceTracker.call(void 0, );
2399
+ const fences = _chunkC3BWIU7Rcjs.createFenceTracker.call(void 0, );
2400
2400
  const ranges = [];
2401
2401
  let openStart = null;
2402
2402
  let lastEnd = 0;
@@ -2435,7 +2435,7 @@ function blankIndentedCode(masked, lines) {
2435
2435
  const listContentCols = [];
2436
2436
  const ranges = [];
2437
2437
  for (const line of lines) {
2438
- if (_chunkTYWLNCNHcjs.isBlankLine.call(void 0, line.content)) continue;
2438
+ if (_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, line.content)) continue;
2439
2439
  const indent = leadingIndent(line.content);
2440
2440
  const top = listContentCols.length ? listContentCols[listContentCols.length - 1] : 0;
2441
2441
  if (indent >= top + 4) {
@@ -2526,7 +2526,7 @@ function contPrefixLen(c) {
2526
2526
  function findLabelClose(lines, i, from) {
2527
2527
  for (let j = i; j < lines.length; j++) {
2528
2528
  const c = stripCr(lines[j].content);
2529
- if (j > i && _chunkTYWLNCNHcjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
2529
+ if (j > i && _chunkC3BWIU7Rcjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
2530
2530
  for (let q = j === i ? from : contPrefixLen(c); q < c.length; q = skipEscaped(c, q)) {
2531
2531
  if (c[q] === "[") return { stoppedAt: j };
2532
2532
  if (c[q] !== "]") continue;
@@ -2544,7 +2544,7 @@ function blankLinkDefinitions(masked, lines) {
2544
2544
  let k = from;
2545
2545
  for (; k < lines.length; k++) {
2546
2546
  const c = stripCr(lines[k].content);
2547
- if (_chunkTYWLNCNHcjs.isBlankLine.call(void 0, c)) break;
2547
+ if (_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, c)) break;
2548
2548
  blankLine(lines[k]);
2549
2549
  if (stop(c)) {
2550
2550
  k++;
@@ -2587,7 +2587,7 @@ function blankLinkDefinitions(masked, lines) {
2587
2587
  const k = j + 1;
2588
2588
  if (k >= lines.length) break;
2589
2589
  const c = stripCr(lines[k].content);
2590
- if (_chunkTYWLNCNHcjs.isBlankLine.call(void 0, c)) break;
2590
+ if (_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, c)) break;
2591
2591
  const at = contPrefixLen(c);
2592
2592
  const next = tail.k === "needDest" ? parseDefTail(c, at) : parseTitleTail(c, skipSpaces(c, at));
2593
2593
  if (next.k === "decline") break;
@@ -2657,7 +2657,7 @@ function blankUnreferencedFootnotes(masked, lines, folded) {
2657
2657
  let sawBlank = false;
2658
2658
  for (let k = i + 1; k < lines.length; k++) {
2659
2659
  const c = text2(lines[k]);
2660
- if (_chunkTYWLNCNHcjs.isBlankLine.call(void 0, c)) {
2660
+ if (_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, c)) {
2661
2661
  sawBlank = true;
2662
2662
  continue;
2663
2663
  }
@@ -2757,7 +2757,7 @@ function paragraphEnd(s, from) {
2757
2757
  lineStart += 1;
2758
2758
  const next = s.indexOf("\n", lineStart);
2759
2759
  const line = s.slice(lineStart, next === -1 ? s.length : next);
2760
- if (_chunkTYWLNCNHcjs.isBlankLine.call(void 0, line)) return lineStart;
2760
+ if (_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, line)) return lineStart;
2761
2761
  if (next === -1) break;
2762
2762
  lineStart = next;
2763
2763
  }
@@ -2911,7 +2911,7 @@ function blankListItemCode(masked, lines, depth = 0) {
2911
2911
  run = [];
2912
2912
  };
2913
2913
  for (const line of lines) {
2914
- if (_chunkTYWLNCNHcjs.isBlankLine.call(void 0, line.content)) {
2914
+ if (_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, line.content)) {
2915
2915
  if (run.length > 0) run.push({ ...line, content: "" });
2916
2916
  continue;
2917
2917
  }
@@ -3136,7 +3136,7 @@ function htmlBlockStartKind(line, inParagraph) {
3136
3136
  function computeHtmlBlockRanges(text2) {
3137
3137
  if (text2.indexOf("<") === -1) return [];
3138
3138
  const ranges = [];
3139
- const fences = _chunkTYWLNCNHcjs.createFenceTracker.call(void 0, );
3139
+ const fences = _chunkC3BWIU7Rcjs.createFenceTracker.call(void 0, );
3140
3140
  let kind = null;
3141
3141
  let start = 0;
3142
3142
  let lastEnd = 0;
@@ -3151,9 +3151,9 @@ function computeHtmlBlockRanges(text2) {
3151
3151
  const expanded = expandTabs(line);
3152
3152
  const norm = stripContainerPrefix(expanded, listContentCol);
3153
3153
  if (norm.openedListCol >= 0) listContentCol = norm.openedListCol;
3154
- else if (!_chunkTYWLNCNHcjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
3155
- const normBlank = _chunkTYWLNCNHcjs.isBlankLine.call(void 0, norm.text);
3156
- const blank = openPrefixLen > 0 ? _chunkTYWLNCNHcjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkTYWLNCNHcjs.isBlankLine.call(void 0, line);
3154
+ else if (!_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
3155
+ const normBlank = _chunkC3BWIU7Rcjs.isBlankLine.call(void 0, norm.text);
3156
+ const blank = openPrefixLen > 0 ? _chunkC3BWIU7Rcjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkC3BWIU7Rcjs.isBlankLine.call(void 0, line);
3157
3157
  if (kind !== null) {
3158
3158
  if (kind >= 6) {
3159
3159
  if (blank) {
@@ -3307,7 +3307,7 @@ var ScanState = class {
3307
3307
  * `FENCE_RE` plus its own open/close state machine, cross-referenced by a
3308
3308
  * comment) is precisely the drift that produced the `~~~` bug.
3309
3309
  */
3310
- this.fences = _chunkTYWLNCNHcjs.createFenceTracker.call(void 0, );
3310
+ this.fences = _chunkC3BWIU7Rcjs.createFenceTracker.call(void 0, );
3311
3311
  /** Depth of currently open raw HTML block containers. */
3312
3312
  this.htmlDepth = 0;
3313
3313
  /** Raw-block tag name of a start tag still waiting for its `>`, or null. */
@@ -3380,7 +3380,7 @@ function splitStreamingBlocks(content) {
3380
3380
  const isListOrQuote = (line) => /^\s{0,3}(?:[-+*]\s|\d{1,9}[.)]\s|>)/.test(line);
3381
3381
  const firstNonBlank = (arr) => {
3382
3382
  for (const line of arr) {
3383
- if (!_chunkTYWLNCNHcjs.isBlankLine.call(void 0, line)) return line;
3383
+ if (!_chunkC3BWIU7Rcjs.isBlankLine.call(void 0, line)) return line;
3384
3384
  }
3385
3385
  return void 0;
3386
3386
  };
@@ -3390,10 +3390,10 @@ function splitStreamingBlocks(content) {
3390
3390
  state.scanLine(line);
3391
3391
  if (state.htmlMark() !== markBefore || state.htmlLatched()) currentTouchedHtml = true;
3392
3392
  current.push(line);
3393
- const isBlank = _chunkTYWLNCNHcjs.isBlankLine.call(void 0, line);
3393
+ const isBlank = _chunkC3BWIU7Rcjs.isBlankLine.call(void 0, line);
3394
3394
  if (!isBlank || state.fences.openChar() !== null || state.htmlBlocksCut()) continue;
3395
3395
  let j = i + 1;
3396
- while (j < lines.length && _chunkTYWLNCNHcjs.isBlankLine.call(void 0, lines[j])) j++;
3396
+ while (j < lines.length && _chunkC3BWIU7Rcjs.isBlankLine.call(void 0, lines[j])) j++;
3397
3397
  if (j >= lines.length) continue;
3398
3398
  const next = lines[j];
3399
3399
  if (/^\s/.test(next)) continue;
@@ -3401,7 +3401,7 @@ function splitStreamingBlocks(content) {
3401
3401
  if (isListOrQuote(next) && unitOpener !== void 0 && isListOrQuote(unitOpener)) {
3402
3402
  continue;
3403
3403
  }
3404
- if (current.every(_chunkTYWLNCNHcjs.isBlankLine)) continue;
3404
+ if (current.every(_chunkC3BWIU7Rcjs.isBlankLine)) continue;
3405
3405
  units.push(current);
3406
3406
  unitTouchedHtml.push(currentTouchedHtml);
3407
3407
  current = [];
@@ -4223,7 +4223,7 @@ function hexToRgb2(hex) {
4223
4223
  return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
4224
4224
  }
4225
4225
  function rgbToHex(r, g, b) {
4226
- const to = (n) => _chunkTYWLNCNHcjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
4226
+ const to = (n) => _chunkC3BWIU7Rcjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
4227
4227
  return `#${to(r)}${to(g)}${to(b)}`;
4228
4228
  }
4229
4229
  var HOVER_DARKEN_STEP = 10;
@@ -4257,8 +4257,8 @@ function rgbToHsl(r, g, b) {
4257
4257
  return { h: Math.round(h), s: Math.round(s * 100), l: Math.round(l * 100) };
4258
4258
  }
4259
4259
  function hslToRgb(h, s, l) {
4260
- const sn = _chunkTYWLNCNHcjs.clamp.call(void 0, s, 0, 100) / 100;
4261
- const ln = _chunkTYWLNCNHcjs.clamp.call(void 0, l, 0, 100) / 100;
4260
+ const sn = _chunkC3BWIU7Rcjs.clamp.call(void 0, s, 0, 100) / 100;
4261
+ const ln = _chunkC3BWIU7Rcjs.clamp.call(void 0, l, 0, 100) / 100;
4262
4262
  const hn = (h % 360 + 360) % 360;
4263
4263
  if (sn === 0) {
4264
4264
  const v = Math.round(ln * 255);
@@ -6306,7 +6306,6 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
6306
6306
  isEmpty && !showPreview && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6307
6307
  "span",
6308
6308
  {
6309
- "data-editor-ghost": true,
6310
6309
  className: _chunk3ATAYP36cjs.cn.call(void 0,
6311
6310
  // One line, clipped with an ellipsis (Figma 954:28455): the
6312
6311
  // disabled copy is a sentence, and the panel's narrowest
@@ -6322,7 +6321,6 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
6322
6321
  showPreview && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6323
6322
  "p",
6324
6323
  {
6325
- "data-editor-ghost": true,
6326
6324
  className: _chunk3ATAYP36cjs.cn.call(void 0,
6327
6325
  "pointer-events-none absolute inset-x-0 top-0 m-0 select-none truncate text-ods-text-secondary text-h4",
6328
6326
  hasChips && "!leading-9"
@@ -7104,7 +7102,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
7104
7102
  const statusTone = isExecuting ? "working" : message.success === false ? "error" : "success";
7105
7103
  const statusLabel = _optionalChain([message, 'access', _129 => _129.statusLabel, 'optionalAccess', _130 => _130.trim, 'call', _131 => _131()]) || (isExecuting ? "Working on it" : message.success === false ? "Failed" : "Done");
7106
7104
  const headerContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
7107
- !isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTYWLNCNHcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
7105
+ !isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC3BWIU7Rcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
7108
7106
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7109
7107
  "div",
7110
7108
  {
@@ -8616,7 +8614,7 @@ function MarqueeWallFades({
8616
8614
  }) });
8617
8615
  }
8618
8616
  function CloneCopy({ className, style, children }) {
8619
- const ref = _chunkTYWLNCNHcjs.useSuppressCloneFocus.call(void 0, true);
8617
+ const ref = _chunkC3BWIU7Rcjs.useSuppressCloneFocus.call(void 0, true);
8620
8618
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "aria-hidden": true, "data-marquee-copy": "clone", className, style, children });
8621
8619
  }
8622
8620
  function MarqueeWall({
@@ -8670,15 +8668,15 @@ function MarqueeWall({
8670
8668
  ro.observe(copy);
8671
8669
  return () => ro.disconnect();
8672
8670
  }, [measure, marqueeMounted]);
8673
- const { ref: observe, inView: nearViewport } = _chunkTYWLNCNHcjs.useInView.call(void 0, {
8674
- rootMargin: _chunkTYWLNCNHcjs.NEAR_VIEWPORT_ROOT_MARGIN,
8671
+ const { ref: observe, inView: nearViewport } = _chunkC3BWIU7Rcjs.useInView.call(void 0, {
8672
+ rootMargin: _chunkC3BWIU7Rcjs.NEAR_VIEWPORT_ROOT_MARGIN,
8675
8673
  initial: true
8676
8674
  });
8677
8675
  _react.useEffect.call(void 0, () => {
8678
8676
  observe(containerRef.current);
8679
8677
  return () => observe(null);
8680
8678
  }, [observe]);
8681
- const autoplay = _chunkTYWLNCNHcjs.useAutoplay.call(void 0, nearViewport);
8679
+ const autoplay = _chunkC3BWIU7Rcjs.useAutoplay.call(void 0, nearViewport);
8682
8680
  const pointerInsideRef = _react.useRef.call(void 0, false);
8683
8681
  const clearPointerInside = _react.useCallback.call(void 0, () => {
8684
8682
  pointerInsideRef.current = false;
@@ -8691,7 +8689,7 @@ function MarqueeWall({
8691
8689
  if (e.pointerType === "touch") return;
8692
8690
  pointerInsideRef.current = false;
8693
8691
  }, []);
8694
- _chunkTYWLNCNHcjs.useResetOnPageHidden.call(void 0, clearPointerInside);
8692
+ _chunkC3BWIU7Rcjs.useResetOnPageHidden.call(void 0, clearPointerInside);
8695
8693
  const draggingRef = _react.useRef.call(void 0, false);
8696
8694
  const dragSuppressUntilRef = _react.useRef.call(void 0, 0);
8697
8695
  const applyTransform = _react.useCallback.call(void 0,
@@ -8744,7 +8742,7 @@ function MarqueeWall({
8744
8742
  if (!sync) return void 0;
8745
8743
  return sync.register(member);
8746
8744
  }, [sync, member]);
8747
- const { posRef, wrap } = _chunkTYWLNCNHcjs.useMarqueeEngine.call(void 0, {
8745
+ const { posRef, wrap } = _chunkC3BWIU7Rcjs.useMarqueeEngine.call(void 0, {
8748
8746
  active: marqueeActive && autoplay.playing && isDriver,
8749
8747
  speed,
8750
8748
  isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current,
@@ -10280,7 +10278,7 @@ function ChatHeaderSearchField({
10280
10278
  className
10281
10279
  }) {
10282
10280
  const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
10283
- const debounced = _chunkTYWLNCNHcjs.useDebounce.call(void 0, value, 300);
10281
+ const debounced = _chunkC3BWIU7Rcjs.useDebounce.call(void 0, value, 300);
10284
10282
  const lastEmitted = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
10285
10283
  const [exiting, setExiting] = _react.useState.call(void 0, false);
10286
10284
  const collapsedRef = _react.useRef.call(void 0, false);
@@ -12443,7 +12441,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
12443
12441
  return;
12444
12442
  }
12445
12443
  const target = isForeignOriginHref(href) ? href : stripSameOriginToPath(href);
12446
- if (target.includes("#") && _chunkTYWLNCNHcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkTYWLNCNHcjs.STICKY_HEADER_OFFSET_PX })) {
12444
+ if (target.includes("#") && _chunkC3BWIU7Rcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkC3BWIU7Rcjs.STICKY_HEADER_OFFSET_PX })) {
12447
12445
  return;
12448
12446
  }
12449
12447
  const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _243 => _243.navigation, 'access', _244 => _244.navigate, 'optionalCall', _245 => _245({ href, path, targetPlatform })]), () => ( false));
@@ -12766,7 +12764,7 @@ function useVideoWarmup({
12766
12764
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
12767
12765
  const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _259 => _259.endpoints, 'access', _260 => _260.supabaseStorageOrigin])));
12768
12766
  useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
12769
- const { ref, isNear } = _chunkTYWLNCNHcjs.useNearViewport.call(void 0, nearMargin);
12767
+ const { ref, isNear } = _chunkC3BWIU7Rcjs.useNearViewport.call(void 0, nearMargin);
12770
12768
  _react.useEffect.call(void 0, () => {
12771
12769
  if (!isNear || !videoUrl || !resolvedOrigin) return void 0;
12772
12770
  if (saveDataEnabled()) return void 0;
@@ -12962,7 +12960,7 @@ var VIDEO_YOUTUBE_FACADE_KEYS = [
12962
12960
  ];
12963
12961
  var pickYouTube = (props) => pickForwardedKeys(props, VIDEO_YOUTUBE_FACADE_KEYS);
12964
12962
  function Video2(props) {
12965
- const { ref: nearRef, isNear } = _chunkTYWLNCNHcjs.useNearViewport.call(void 0, );
12963
+ const { ref: nearRef, isNear } = _chunkC3BWIU7Rcjs.useNearViewport.call(void 0, );
12966
12964
  const url = props.url;
12967
12965
  if (!url) return null;
12968
12966
  const effectiveKind = resolveKind(props, url);
@@ -13804,7 +13802,7 @@ function ManagedCell({
13804
13802
  }) {
13805
13803
  const hintedWidth = _react2.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
13806
13804
  const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
13807
- const cloneRef = _chunkTYWLNCNHcjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
13805
+ const cloneRef = _chunkC3BWIU7Rcjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
13808
13806
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13809
13807
  "div",
13810
13808
  {
@@ -13920,12 +13918,12 @@ function CardsStrip(props) {
13920
13918
  }, [measure, items.length, marqueeActive, isMobile]);
13921
13919
  const chevronSuppressUntilRef = _react.useRef.call(void 0, 0);
13922
13920
  const userScrollSuppressUntilRef = _react.useRef.call(void 0, 0);
13923
- const { ref: observe, inView: nearViewport } = _chunkTYWLNCNHcjs.useInView.call(void 0, { rootMargin: "200px", initial: true });
13921
+ const { ref: observe, inView: nearViewport } = _chunkC3BWIU7Rcjs.useInView.call(void 0, { rootMargin: "200px", initial: true });
13924
13922
  _react.useEffect.call(void 0, () => {
13925
13923
  observe(wrapperRef.current);
13926
13924
  return () => observe(null);
13927
13925
  }, [observe]);
13928
- const autoplay = _chunkTYWLNCNHcjs.useAutoplay.call(void 0, nearViewport);
13926
+ const autoplay = _chunkC3BWIU7Rcjs.useAutoplay.call(void 0, nearViewport);
13929
13927
  const [activeKey, setActiveKey] = _react.useState.call(void 0, null);
13930
13928
  const activeKeyRef = _react.useRef.call(void 0, null);
13931
13929
  const activate = _react.useCallback.call(void 0, (key) => {
@@ -13972,7 +13970,7 @@ function CardsStrip(props) {
13972
13970
  const current = activeKeyRef.current;
13973
13971
  if (current !== null) deactivate(current);
13974
13972
  }, [deactivate]);
13975
- _chunkTYWLNCNHcjs.useResetOnPageHidden.call(void 0, clearHover);
13973
+ _chunkC3BWIU7Rcjs.useResetOnPageHidden.call(void 0, clearHover);
13976
13974
  const syncHoverIfScrolled = _react.useCallback.call(void 0, () => {
13977
13975
  const scroller = scrollerRef.current;
13978
13976
  if (!scroller) return;
@@ -13993,7 +13991,7 @@ function CardsStrip(props) {
13993
13991
  },
13994
13992
  [reverse, seamBuffer]
13995
13993
  );
13996
- const { posRef: marqueePosRef, glideBy } = _chunkTYWLNCNHcjs.useMarqueeEngine.call(void 0, {
13994
+ const { posRef: marqueePosRef, glideBy } = _chunkC3BWIU7Rcjs.useMarqueeEngine.call(void 0, {
13997
13995
  // Viewport gates `active` (the rAF fully stops off-screen — a paused
13998
13996
  // engine would keep scheduling frames forever), same treatment as
13999
13997
  // <MarqueeWall>; the envelope persists, so re-entry resumes at cruise.
@@ -14035,7 +14033,7 @@ function CardsStrip(props) {
14035
14033
  return next;
14036
14034
  });
14037
14035
  },
14038
- { rootMargin: _chunkTYWLNCNHcjs.NEAR_VIEWPORT_ROOT_MARGIN }
14036
+ { rootMargin: _chunkC3BWIU7Rcjs.NEAR_VIEWPORT_ROOT_MARGIN }
14039
14037
  );
14040
14038
  cardObserverRef.current = io;
14041
14039
  cardElIdxRef.current.forEach((_idx, el) => {
@@ -14258,7 +14256,7 @@ function VideoHoverPreviewSurface({
14258
14256
  const el = rootElRef.current;
14259
14257
  if (!el || typeof IntersectionObserver === "undefined") return void 0;
14260
14258
  const io = new IntersectionObserver((entries) => setIsNear(_nullishCoalesce(_optionalChain([entries, 'access', _367 => _367[0], 'optionalAccess', _368 => _368.isIntersecting]), () => ( false))), {
14261
- rootMargin: _chunkTYWLNCNHcjs.NEAR_VIEWPORT_ROOT_MARGIN
14259
+ rootMargin: _chunkC3BWIU7Rcjs.NEAR_VIEWPORT_ROOT_MARGIN
14262
14260
  });
14263
14261
  io.observe(el);
14264
14262
  return () => io.disconnect();
@@ -25077,7 +25075,7 @@ function useResizablePanelSize({
25077
25075
  const clampSize = _react.useCallback.call(void 0,
25078
25076
  (value) => {
25079
25077
  const ceiling = available > 0 ? Math.min(maxSize, available - reserve) : maxSize;
25080
- return _chunkTYWLNCNHcjs.clamp.call(void 0, value, minSize, Math.max(minSize, ceiling));
25078
+ return _chunkC3BWIU7Rcjs.clamp.call(void 0, value, minSize, Math.max(minSize, ceiling));
25081
25079
  },
25082
25080
  [available, reserve, minSize, maxSize]
25083
25081
  );
@@ -25353,7 +25351,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
25353
25351
  }, ref) => {
25354
25352
  const resolvedSide = _nullishCoalesce(side, () => ( "right"));
25355
25353
  const isHorizontal = HORIZONTAL_SIDES2.has(resolvedSide);
25356
- const headerHeight = _chunkTYWLNCNHcjs.useHeaderHeight.call(void 0, );
25354
+ const headerHeight = _chunkC3BWIU7Rcjs.useHeaderHeight.call(void 0, );
25357
25355
  const [isMobile, setIsMobile] = _react.useState.call(void 0, false);
25358
25356
  _react.useEffect.call(void 0, () => {
25359
25357
  if (typeof window === "undefined") return void 0;