@flamingo-stack/openframe-frontend-core 0.0.840 → 0.0.842
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.
- package/dist/build/route-styles.cjs +3 -1
- package/dist/build/style-sources.cjs +15 -2
- package/dist/build/style-sources.d.ts +3 -0
- package/dist/{case-study-card-TK7ZCNLM.cjs → case-study-card-VN3JBNF5.cjs} +3 -3
- package/dist/{chunk-RSJYTQEA.cjs → chunk-23DVVS4I.cjs} +104 -104
- package/dist/{chunk-GMK4JGC2.cjs → chunk-2HRQU4ZL.cjs} +44 -44
- package/dist/{chunk-HXTZZE3R.cjs → chunk-3ONBCAD2.cjs} +59 -59
- package/dist/{chunk-DGY5KEPY.cjs → chunk-4ASUUB3A.cjs} +83 -83
- package/dist/{chunk-WCOSGDGA.cjs → chunk-4R4HAFXI.cjs} +2 -2
- package/dist/{chunk-INBFKUZA.cjs → chunk-5CPEMPNP.cjs} +15 -15
- package/dist/{chunk-CCRXBFNL.cjs → chunk-6HFTSVVC.cjs} +8 -8
- package/dist/{chunk-FHI4I3TQ.cjs → chunk-6M764K5Z.cjs} +12 -12
- package/dist/{chunk-275AQ6LC.cjs → chunk-7UZYI4GV.cjs} +4 -4
- package/dist/{chunk-SOCCHWDK.cjs → chunk-BHOVF4KP.cjs} +2 -2
- package/dist/{chunk-WVNUCKB7.cjs → chunk-CNMXP77I.cjs} +4 -4
- package/dist/{chunk-Q6WUHYOG.cjs → chunk-CQQRGM6D.cjs} +85 -85
- package/dist/{chunk-TD4CC4KV.cjs → chunk-EUEPGHY4.cjs} +6 -6
- package/dist/{chunk-DYDQLS2R.cjs → chunk-GQJXOX5S.cjs} +213 -213
- package/dist/{chunk-AT6D7BAZ.cjs → chunk-IVM35OAW.cjs} +3 -3
- package/dist/{chunk-JM2XA7VY.cjs → chunk-IVS23CAK.cjs} +15 -15
- package/dist/{chunk-ZAO5SYBJ.cjs → chunk-MWQOM2EI.cjs} +4 -4
- package/dist/{chunk-WI7EXAZT.cjs → chunk-NMLNZCK2.cjs} +2 -2
- package/dist/{chunk-APNONOHY.cjs → chunk-PZNWIJRZ.cjs} +13 -10
- package/dist/{chunk-MYAPG3FQ.cjs → chunk-QPJUQ5YU.cjs} +21 -21
- package/dist/{chunk-VBH2RCFM.cjs → chunk-RAFWT3WG.cjs} +78 -78
- package/dist/{chunk-JUEAZCD6.cjs → chunk-RSZZTB5T.cjs} +54 -54
- package/dist/{chunk-7WKRMJI6.cjs → chunk-SC36S7DJ.cjs} +2 -2
- package/dist/{chunk-UZPYYHF5.cjs → chunk-SOTTMZ6U.cjs} +19 -19
- package/dist/{chunk-E7M54JWW.cjs → chunk-SSSI2RBV.cjs} +14 -14
- package/dist/{chunk-Z35PL3UR.cjs → chunk-WOYARKPQ.cjs} +34 -34
- package/dist/{chunk-EV6BPF47.cjs → chunk-WPMJUYW3.cjs} +143 -143
- package/dist/{chunk-FRL2ZN4O.cjs → chunk-XCVH5BCZ.cjs} +6 -6
- package/dist/{chunk-IELPVUPR.cjs → chunk-YNKXXDOI.cjs} +23 -23
- package/dist/{chunk-GUKFMMDZ.cjs → chunk-ZOWAYKDN.cjs} +3 -3
- package/dist/{cloud-tenants-PV63RZ73.cjs → cloud-tenants-U6Y2UZVF.cjs} +11 -11
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/contact/index.cjs +12 -12
- package/dist/components/docs/index.cjs +15 -15
- package/dist/components/embeds/index.cjs +12 -12
- package/dist/components/faq/index.cjs +13 -13
- package/dist/components/features/index.cjs +11 -11
- package/dist/components/help-center-pages/index.cjs +105 -105
- package/dist/components/index.cjs +65 -65
- package/dist/components/meeting-scheduler/index.cjs +50 -50
- package/dist/components/navigation/index.cjs +14 -14
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/product-demo/index.cjs +20 -20
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +18 -18
- package/dist/components/ui/index.cjs +11 -11
- package/dist/{devices-VECG5JNC.cjs → devices-HB4GEMJH.cjs} +12 -12
- package/dist/{embeddable-chat-VRYAQQF6.cjs → embeddable-chat-C6DUH2JL.cjs} +78 -78
- package/dist/hooks/index.cjs +4 -4
- package/dist/index.cjs +15 -15
- package/dist/{knowledge-YJSDJIXT.cjs → knowledge-I53Z6DV7.cjs} +12 -12
- package/dist/{logs-42JG3NZ5.cjs → logs-SFLAZIQG.cjs} +18 -18
- package/dist/platform-domains.cjs +14 -10
- package/dist/platform-domains.d.ts +12 -7
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +14 -10
- package/dist/{policies-D4QNVJ26.cjs → policies-EIAGQO6T.cjs} +15 -15
- package/dist/{scripts-4VFYBXBE.cjs → scripts-SNJ4UVRF.cjs} +16 -16
- package/dist/{software-update-OSDZQ5CP.cjs → software-update-AZFRUC5N.cjs} +14 -14
- package/dist/utils/index.cjs +13 -10
- package/package.json +1 -1
- package/src/platform-domains.ts +28 -20
|
@@ -272,7 +272,7 @@ var _chunk7WT2C5YYcjs = require('./chunk-7WT2C5YY.cjs');
|
|
|
272
272
|
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
var
|
|
275
|
+
var _chunkXCVH5BCZcjs = require('./chunk-XCVH5BCZ.cjs');
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
|
|
@@ -321,7 +321,7 @@ var _chunkIX2E3AN7cjs = require('./chunk-IX2E3AN7.cjs');
|
|
|
321
321
|
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
var
|
|
324
|
+
var _chunk23DVVS4Icjs = require('./chunk-23DVVS4I.cjs');
|
|
325
325
|
|
|
326
326
|
|
|
327
327
|
var _chunk5GBLXY5Fcjs = require('./chunk-5GBLXY5F.cjs');
|
|
@@ -359,7 +359,7 @@ var _chunkNFNSPLGCcjs = require('./chunk-NFNSPLGC.cjs');
|
|
|
359
359
|
|
|
360
360
|
|
|
361
361
|
|
|
362
|
-
var
|
|
362
|
+
var _chunkEUEPGHY4cjs = require('./chunk-EUEPGHY4.cjs');
|
|
363
363
|
|
|
364
364
|
|
|
365
365
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
@@ -376,7 +376,7 @@ var _chunkYSDB6HGQcjs = require('./chunk-YSDB6HGQ.cjs');
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
|
|
379
|
-
var
|
|
379
|
+
var _chunkPZNWIJRZcjs = require('./chunk-PZNWIJRZ.cjs');
|
|
380
380
|
|
|
381
381
|
|
|
382
382
|
|
|
@@ -713,14 +713,14 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
713
713
|
for (const section of sectionIds) {
|
|
714
714
|
sectionIdMap.set(section.title, section.id);
|
|
715
715
|
sectionIdMap.set(section.title.toLowerCase(), section.id);
|
|
716
|
-
sectionIdMap.set(
|
|
716
|
+
sectionIdMap.set(_chunkXCVH5BCZcjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
|
-
const dedupe =
|
|
719
|
+
const dedupe = _chunkXCVH5BCZcjs.createHeadingIdDeduper.call(void 0, );
|
|
720
720
|
const map = /* @__PURE__ */ new Map();
|
|
721
721
|
let sectionOrdinal = 0;
|
|
722
722
|
let headingOrdinal = 0;
|
|
723
|
-
for (const { line, level, text: rawText } of
|
|
723
|
+
for (const { line, level, text: rawText } of _chunkXCVH5BCZcjs.scanHeadings.call(void 0, content)) {
|
|
724
724
|
const text2 = stripInlineMarkdown(rawText).trim();
|
|
725
725
|
headingOrdinal++;
|
|
726
726
|
if (level <= EXTRACTOR_MAX_LEVEL) sectionOrdinal++;
|
|
@@ -729,8 +729,8 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
729
729
|
for (const variation of [
|
|
730
730
|
text2,
|
|
731
731
|
text2.toLowerCase(),
|
|
732
|
-
|
|
733
|
-
|
|
732
|
+
_chunkXCVH5BCZcjs.stripHeadingEmojis.call(void 0, text2),
|
|
733
|
+
_chunkXCVH5BCZcjs.stripHeadingEmojis.call(void 0, text2).toLowerCase()
|
|
734
734
|
]) {
|
|
735
735
|
const id = sectionIdMap.get(variation);
|
|
736
736
|
if (id) {
|
|
@@ -740,7 +740,7 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
740
740
|
}
|
|
741
741
|
}
|
|
742
742
|
if (assigned === void 0) {
|
|
743
|
-
const baseId =
|
|
743
|
+
const baseId = _chunkXCVH5BCZcjs.slugifyHeadingText.call(void 0, text2);
|
|
744
744
|
assigned = dedupe(
|
|
745
745
|
baseId || (level <= EXTRACTOR_MAX_LEVEL ? `section-${sectionOrdinal}` : `heading-${headingOrdinal}`)
|
|
746
746
|
);
|
|
@@ -1355,7 +1355,7 @@ function buildBaseComponents({
|
|
|
1355
1355
|
const mapped = useHeadingId(node);
|
|
1356
1356
|
const taken = useAssignedHeadingIds();
|
|
1357
1357
|
const explicit = typeof _optionalChain([node, 'optionalAccess', _27 => _27.properties, 'optionalAccess', _28 => _28.id]) === "string" && node.properties.id !== "" ? node.properties.id : void 0;
|
|
1358
|
-
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(
|
|
1358
|
+
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(_chunkXCVH5BCZcjs.slugifyHeadingText.call(void 0, extractText(children)), taken)));
|
|
1359
1359
|
const EffectiveTag = Tag2 === "h1" && demoteMarkdownH1ToH2 ? "h2" : Tag2;
|
|
1360
1360
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EffectiveTag, { id: id || void 0, className: headingClassName, children });
|
|
1361
1361
|
}
|
|
@@ -1427,10 +1427,10 @@ function buildBaseComponents({
|
|
|
1427
1427
|
const handleAnchorClick = (e) => {
|
|
1428
1428
|
if (inPageAnchorId === null) return;
|
|
1429
1429
|
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0) return;
|
|
1430
|
-
const target =
|
|
1430
|
+
const target = _chunkXCVH5BCZcjs.getHashTargetElement.call(void 0, inPageAnchorId);
|
|
1431
1431
|
if (!_optionalChain([target, 'optionalAccess', _29 => _29.id])) return;
|
|
1432
1432
|
e.preventDefault();
|
|
1433
|
-
|
|
1433
|
+
_chunkXCVH5BCZcjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkXCVH5BCZcjs.HUB_HEADER_OFFSET_PX });
|
|
1434
1434
|
};
|
|
1435
1435
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1436
1436
|
_chunkV45KLJQPcjs.next_link_default,
|
|
@@ -2039,7 +2039,7 @@ function findInlineCodeRanges(source) {
|
|
|
2039
2039
|
while (pos <= len) {
|
|
2040
2040
|
let end = source.indexOf("\n", pos);
|
|
2041
2041
|
if (end === -1) end = len;
|
|
2042
|
-
const blank =
|
|
2042
|
+
const blank = _chunkXCVH5BCZcjs.isBlankLine.call(void 0, source.slice(pos, end));
|
|
2043
2043
|
if (blank && segStart !== -1) break;
|
|
2044
2044
|
if (!blank) {
|
|
2045
2045
|
if (segStart === -1) segStart = pos;
|
|
@@ -2121,7 +2121,7 @@ function toMaskLines(source) {
|
|
|
2121
2121
|
return out;
|
|
2122
2122
|
}
|
|
2123
2123
|
function blankFencedRegions(masked, lines) {
|
|
2124
|
-
const fences =
|
|
2124
|
+
const fences = _chunkXCVH5BCZcjs.createFenceTracker.call(void 0, );
|
|
2125
2125
|
const ranges = [];
|
|
2126
2126
|
let openStart = null;
|
|
2127
2127
|
let lastEnd = 0;
|
|
@@ -2160,7 +2160,7 @@ function blankIndentedCode(masked, lines) {
|
|
|
2160
2160
|
const listContentCols = [];
|
|
2161
2161
|
const ranges = [];
|
|
2162
2162
|
for (const line of lines) {
|
|
2163
|
-
if (
|
|
2163
|
+
if (_chunkXCVH5BCZcjs.isBlankLine.call(void 0, line.content)) continue;
|
|
2164
2164
|
const indent = leadingIndent(line.content);
|
|
2165
2165
|
const top = listContentCols.length ? listContentCols[listContentCols.length - 1] : 0;
|
|
2166
2166
|
if (indent >= top + 4) {
|
|
@@ -2251,7 +2251,7 @@ function contPrefixLen(c) {
|
|
|
2251
2251
|
function findLabelClose(lines, i, from) {
|
|
2252
2252
|
for (let j = i; j < lines.length; j++) {
|
|
2253
2253
|
const c = stripCr(lines[j].content);
|
|
2254
|
-
if (j > i &&
|
|
2254
|
+
if (j > i && _chunkXCVH5BCZcjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
|
|
2255
2255
|
for (let q = j === i ? from : contPrefixLen(c); q < c.length; q = skipEscaped(c, q)) {
|
|
2256
2256
|
if (c[q] === "[") return { stoppedAt: j };
|
|
2257
2257
|
if (c[q] !== "]") continue;
|
|
@@ -2269,7 +2269,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2269
2269
|
let k = from;
|
|
2270
2270
|
for (; k < lines.length; k++) {
|
|
2271
2271
|
const c = stripCr(lines[k].content);
|
|
2272
|
-
if (
|
|
2272
|
+
if (_chunkXCVH5BCZcjs.isBlankLine.call(void 0, c)) break;
|
|
2273
2273
|
blankLine(lines[k]);
|
|
2274
2274
|
if (stop(c)) {
|
|
2275
2275
|
k++;
|
|
@@ -2312,7 +2312,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2312
2312
|
const k = j + 1;
|
|
2313
2313
|
if (k >= lines.length) break;
|
|
2314
2314
|
const c = stripCr(lines[k].content);
|
|
2315
|
-
if (
|
|
2315
|
+
if (_chunkXCVH5BCZcjs.isBlankLine.call(void 0, c)) break;
|
|
2316
2316
|
const at = contPrefixLen(c);
|
|
2317
2317
|
const next = tail.k === "needDest" ? parseDefTail(c, at) : parseTitleTail(c, skipSpaces(c, at));
|
|
2318
2318
|
if (next.k === "decline") break;
|
|
@@ -2382,7 +2382,7 @@ function blankUnreferencedFootnotes(masked, lines, folded) {
|
|
|
2382
2382
|
let sawBlank = false;
|
|
2383
2383
|
for (let k = i + 1; k < lines.length; k++) {
|
|
2384
2384
|
const c = text2(lines[k]);
|
|
2385
|
-
if (
|
|
2385
|
+
if (_chunkXCVH5BCZcjs.isBlankLine.call(void 0, c)) {
|
|
2386
2386
|
sawBlank = true;
|
|
2387
2387
|
continue;
|
|
2388
2388
|
}
|
|
@@ -2482,7 +2482,7 @@ function paragraphEnd(s, from) {
|
|
|
2482
2482
|
lineStart += 1;
|
|
2483
2483
|
const next = s.indexOf("\n", lineStart);
|
|
2484
2484
|
const line = s.slice(lineStart, next === -1 ? s.length : next);
|
|
2485
|
-
if (
|
|
2485
|
+
if (_chunkXCVH5BCZcjs.isBlankLine.call(void 0, line)) return lineStart;
|
|
2486
2486
|
if (next === -1) break;
|
|
2487
2487
|
lineStart = next;
|
|
2488
2488
|
}
|
|
@@ -2636,7 +2636,7 @@ function blankListItemCode(masked, lines, depth = 0) {
|
|
|
2636
2636
|
run = [];
|
|
2637
2637
|
};
|
|
2638
2638
|
for (const line of lines) {
|
|
2639
|
-
if (
|
|
2639
|
+
if (_chunkXCVH5BCZcjs.isBlankLine.call(void 0, line.content)) {
|
|
2640
2640
|
if (run.length > 0) run.push({ ...line, content: "" });
|
|
2641
2641
|
continue;
|
|
2642
2642
|
}
|
|
@@ -2861,7 +2861,7 @@ function htmlBlockStartKind(line, inParagraph) {
|
|
|
2861
2861
|
function computeHtmlBlockRanges(text2) {
|
|
2862
2862
|
if (text2.indexOf("<") === -1) return [];
|
|
2863
2863
|
const ranges = [];
|
|
2864
|
-
const fences =
|
|
2864
|
+
const fences = _chunkXCVH5BCZcjs.createFenceTracker.call(void 0, );
|
|
2865
2865
|
let kind = null;
|
|
2866
2866
|
let start = 0;
|
|
2867
2867
|
let lastEnd = 0;
|
|
@@ -2876,9 +2876,9 @@ function computeHtmlBlockRanges(text2) {
|
|
|
2876
2876
|
const expanded = expandTabs(line);
|
|
2877
2877
|
const norm = stripContainerPrefix(expanded, listContentCol);
|
|
2878
2878
|
if (norm.openedListCol >= 0) listContentCol = norm.openedListCol;
|
|
2879
|
-
else if (!
|
|
2880
|
-
const normBlank =
|
|
2881
|
-
const blank = openPrefixLen > 0 ?
|
|
2879
|
+
else if (!_chunkXCVH5BCZcjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
|
|
2880
|
+
const normBlank = _chunkXCVH5BCZcjs.isBlankLine.call(void 0, norm.text);
|
|
2881
|
+
const blank = openPrefixLen > 0 ? _chunkXCVH5BCZcjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkXCVH5BCZcjs.isBlankLine.call(void 0, line);
|
|
2882
2882
|
if (kind !== null) {
|
|
2883
2883
|
if (kind >= 6) {
|
|
2884
2884
|
if (blank) {
|
|
@@ -3032,7 +3032,7 @@ var ScanState = class {
|
|
|
3032
3032
|
* `FENCE_RE` plus its own open/close state machine, cross-referenced by a
|
|
3033
3033
|
* comment) is precisely the drift that produced the `~~~` bug.
|
|
3034
3034
|
*/
|
|
3035
|
-
this.fences =
|
|
3035
|
+
this.fences = _chunkXCVH5BCZcjs.createFenceTracker.call(void 0, );
|
|
3036
3036
|
/** Depth of currently open raw HTML block containers. */
|
|
3037
3037
|
this.htmlDepth = 0;
|
|
3038
3038
|
/** Raw-block tag name of a start tag still waiting for its `>`, or null. */
|
|
@@ -3105,7 +3105,7 @@ function splitStreamingBlocks(content) {
|
|
|
3105
3105
|
const isListOrQuote = (line) => /^\s{0,3}(?:[-+*]\s|\d{1,9}[.)]\s|>)/.test(line);
|
|
3106
3106
|
const firstNonBlank = (arr) => {
|
|
3107
3107
|
for (const line of arr) {
|
|
3108
|
-
if (!
|
|
3108
|
+
if (!_chunkXCVH5BCZcjs.isBlankLine.call(void 0, line)) return line;
|
|
3109
3109
|
}
|
|
3110
3110
|
return void 0;
|
|
3111
3111
|
};
|
|
@@ -3115,10 +3115,10 @@ function splitStreamingBlocks(content) {
|
|
|
3115
3115
|
state.scanLine(line);
|
|
3116
3116
|
if (state.htmlMark() !== markBefore || state.htmlLatched()) currentTouchedHtml = true;
|
|
3117
3117
|
current.push(line);
|
|
3118
|
-
const isBlank =
|
|
3118
|
+
const isBlank = _chunkXCVH5BCZcjs.isBlankLine.call(void 0, line);
|
|
3119
3119
|
if (!isBlank || state.fences.openChar() !== null || state.htmlBlocksCut()) continue;
|
|
3120
3120
|
let j = i + 1;
|
|
3121
|
-
while (j < lines.length &&
|
|
3121
|
+
while (j < lines.length && _chunkXCVH5BCZcjs.isBlankLine.call(void 0, lines[j])) j++;
|
|
3122
3122
|
if (j >= lines.length) continue;
|
|
3123
3123
|
const next = lines[j];
|
|
3124
3124
|
if (/^\s/.test(next)) continue;
|
|
@@ -3126,7 +3126,7 @@ function splitStreamingBlocks(content) {
|
|
|
3126
3126
|
if (isListOrQuote(next) && unitOpener !== void 0 && isListOrQuote(unitOpener)) {
|
|
3127
3127
|
continue;
|
|
3128
3128
|
}
|
|
3129
|
-
if (current.every(
|
|
3129
|
+
if (current.every(_chunkXCVH5BCZcjs.isBlankLine)) continue;
|
|
3130
3130
|
units.push(current);
|
|
3131
3131
|
unitTouchedHtml.push(currentTouchedHtml);
|
|
3132
3132
|
current = [];
|
|
@@ -3965,7 +3965,7 @@ function nullableText(value) {
|
|
|
3965
3965
|
}
|
|
3966
3966
|
function httpsUrl(value) {
|
|
3967
3967
|
const candidate = text(value);
|
|
3968
|
-
if (!candidate ||
|
|
3968
|
+
if (!candidate || _chunkEUEPGHY4cjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
3969
3969
|
try {
|
|
3970
3970
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
3971
3971
|
} catch (e4) {
|
|
@@ -4744,7 +4744,7 @@ function renderQuickActionIcon(icon) {
|
|
|
4744
4744
|
if (!spec.name && !spec.url) return void 0;
|
|
4745
4745
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
4746
4746
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
4747
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4747
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
4748
4748
|
}
|
|
4749
4749
|
function composeChipLabel(label, lozenge) {
|
|
4750
4750
|
if (!lozenge) return label;
|
|
@@ -6011,7 +6011,7 @@ function ChatMarkdownLink({
|
|
|
6011
6011
|
...anchorProps
|
|
6012
6012
|
}) {
|
|
6013
6013
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
6014
|
-
if (!runtime ||
|
|
6014
|
+
if (!runtime || _chunkPZNWIJRZcjs.navLinkTarget.call(void 0, runtime, href).isNewTab) {
|
|
6015
6015
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Anchor2, { href, className, ...anchorProps, children });
|
|
6016
6016
|
}
|
|
6017
6017
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Anchor2, { href, ...anchorProps, className: "no-underline", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InlineChip, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRD4RFX3Kcjs.BrowserWindowIcon, {}), label: children, className: "hover:bg-ods-bg-hover" }) });
|
|
@@ -7549,7 +7549,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
7549
7549
|
|
|
7550
7550
|
[Attached: ${safeName}](${url})`;
|
|
7551
7551
|
}
|
|
7552
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
7552
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunk23DVVS4Icjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
7553
7553
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
7554
7554
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
7555
7555
|
"gm"
|
|
@@ -7813,7 +7813,7 @@ function MarqueeWallFades({
|
|
|
7813
7813
|
}) });
|
|
7814
7814
|
}
|
|
7815
7815
|
function CloneCopy({ className, style, children }) {
|
|
7816
|
-
const ref =
|
|
7816
|
+
const ref = _chunkXCVH5BCZcjs.useSuppressCloneFocus.call(void 0, true);
|
|
7817
7817
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "aria-hidden": true, "data-marquee-copy": "clone", className, style, children });
|
|
7818
7818
|
}
|
|
7819
7819
|
function MarqueeWall({
|
|
@@ -7867,7 +7867,7 @@ function MarqueeWall({
|
|
|
7867
7867
|
ro.observe(copy);
|
|
7868
7868
|
return () => ro.disconnect();
|
|
7869
7869
|
}, [measure, marqueeMounted]);
|
|
7870
|
-
const { ref: observe, inView: nearViewport } =
|
|
7870
|
+
const { ref: observe, inView: nearViewport } = _chunkXCVH5BCZcjs.useInView.call(void 0, {
|
|
7871
7871
|
rootMargin: _chunkNTPX5GXIcjs.NEAR_VIEWPORT_ROOT_MARGIN,
|
|
7872
7872
|
initial: true
|
|
7873
7873
|
});
|
|
@@ -7875,7 +7875,7 @@ function MarqueeWall({
|
|
|
7875
7875
|
observe(containerRef.current);
|
|
7876
7876
|
return () => observe(null);
|
|
7877
7877
|
}, [observe]);
|
|
7878
|
-
const autoplay =
|
|
7878
|
+
const autoplay = _chunkXCVH5BCZcjs.useAutoplay.call(void 0, nearViewport);
|
|
7879
7879
|
const pointerInsideRef = _react.useRef.call(void 0, false);
|
|
7880
7880
|
const clearPointerInside = _react.useCallback.call(void 0, () => {
|
|
7881
7881
|
pointerInsideRef.current = false;
|
|
@@ -7888,7 +7888,7 @@ function MarqueeWall({
|
|
|
7888
7888
|
if (e.pointerType === "touch") return;
|
|
7889
7889
|
pointerInsideRef.current = false;
|
|
7890
7890
|
}, []);
|
|
7891
|
-
|
|
7891
|
+
_chunkXCVH5BCZcjs.useResetOnPageHidden.call(void 0, clearPointerInside);
|
|
7892
7892
|
const draggingRef = _react.useRef.call(void 0, false);
|
|
7893
7893
|
const dragSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
7894
7894
|
const applyTransform = _react.useCallback.call(void 0,
|
|
@@ -7941,7 +7941,7 @@ function MarqueeWall({
|
|
|
7941
7941
|
if (!sync) return void 0;
|
|
7942
7942
|
return sync.register(member);
|
|
7943
7943
|
}, [sync, member]);
|
|
7944
|
-
const { posRef, wrap } =
|
|
7944
|
+
const { posRef, wrap } = _chunkXCVH5BCZcjs.useMarqueeEngine.call(void 0, {
|
|
7945
7945
|
active: marqueeActive && autoplay.playing && isDriver,
|
|
7946
7946
|
speed,
|
|
7947
7947
|
isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current,
|
|
@@ -9040,7 +9040,7 @@ function GuideWelcome({
|
|
|
9040
9040
|
icon && (icon.name || icon.url) ? (
|
|
9041
9041
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
9042
9042
|
// match the default Mingo mark (48px).
|
|
9043
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9043
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
9044
9044
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LDL3UZEcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
9045
9045
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
9046
9046
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -9314,7 +9314,7 @@ function ChatHeaderSearchField({
|
|
|
9314
9314
|
className
|
|
9315
9315
|
}) {
|
|
9316
9316
|
const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
9317
|
-
const debounced =
|
|
9317
|
+
const debounced = _chunkXCVH5BCZcjs.useDebounce.call(void 0, value, 300);
|
|
9318
9318
|
const lastEmitted = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
9319
9319
|
const [exiting, setExiting] = _react.useState.call(void 0, false);
|
|
9320
9320
|
const collapsedRef = _react.useRef.call(void 0, false);
|
|
@@ -9471,7 +9471,7 @@ function SearchInput({
|
|
|
9471
9471
|
}) {
|
|
9472
9472
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
9473
9473
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
9474
|
-
const debouncedValue =
|
|
9474
|
+
const debouncedValue = _chunkXCVH5BCZcjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
9475
9475
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
9476
9476
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
9477
9477
|
const keyboardPadding = _chunkFW7RKWPYcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
@@ -9944,7 +9944,7 @@ function MingoChatHistorySection({
|
|
|
9944
9944
|
className
|
|
9945
9945
|
}) {
|
|
9946
9946
|
const captionId = _react.useId.call(void 0, );
|
|
9947
|
-
const visitor =
|
|
9947
|
+
const visitor = _chunkXCVH5BCZcjs.useVisitorOs.call(void 0, );
|
|
9948
9948
|
const [searchOpen, setSearchOpen] = _reactusecontrollablestate.useControllableState.call(void 0, {
|
|
9949
9949
|
prop: searchOpenProp,
|
|
9950
9950
|
defaultProp: false,
|
|
@@ -9952,7 +9952,7 @@ function MingoChatHistorySection({
|
|
|
9952
9952
|
});
|
|
9953
9953
|
const hasSearch = !!_optionalChain([searchQuery, 'optionalAccess', _216 => _216.trim, 'call', _217 => _217()]);
|
|
9954
9954
|
const showSearch = searchOpen && !!onSearchChange;
|
|
9955
|
-
const shortcut = visitor.known ?
|
|
9955
|
+
const shortcut = visitor.known ? _chunkXCVH5BCZcjs.shortcutLabel.call(void 0, visitor.os, "K") : null;
|
|
9956
9956
|
const listProps = {
|
|
9957
9957
|
dialogs,
|
|
9958
9958
|
activeDialogId,
|
|
@@ -10017,7 +10017,7 @@ function MingoChatHistorySection({
|
|
|
10017
10017
|
variant: "transparent",
|
|
10018
10018
|
size: "icon",
|
|
10019
10019
|
"aria-label": "Search chats",
|
|
10020
|
-
"aria-keyshortcuts": shortcut ?
|
|
10020
|
+
"aria-keyshortcuts": shortcut ? _chunkXCVH5BCZcjs.usesCommandKey.call(void 0, visitor.os) ? "Meta+K" : "Control+K" : void 0,
|
|
10021
10021
|
onClick: () => setSearchOpen(true),
|
|
10022
10022
|
className: ICON_BUTTON_CLASS,
|
|
10023
10023
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { size: 20 })
|
|
@@ -10118,7 +10118,7 @@ function MingoChatSearchModal({
|
|
|
10118
10118
|
}
|
|
10119
10119
|
function SearchModalContent({ initialValue, onSearchChange, onClose, children }) {
|
|
10120
10120
|
const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10121
|
-
const debounced =
|
|
10121
|
+
const debounced = _chunkXCVH5BCZcjs.useDebounce.call(void 0, value, 300);
|
|
10122
10122
|
const lastSent = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10123
10123
|
const fieldRef = _react.useRef.call(void 0, null);
|
|
10124
10124
|
const send = (term) => {
|
|
@@ -11692,7 +11692,7 @@ function ChatArchivePage(props) {
|
|
|
11692
11692
|
|
|
11693
11693
|
|
|
11694
11694
|
function useNavLinkTarget(href, targetPlatform, openIn) {
|
|
11695
|
-
return
|
|
11695
|
+
return _chunkPZNWIJRZcjs.navLinkTarget.call(void 0, _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, ), href, targetPlatform, { openIn });
|
|
11696
11696
|
}
|
|
11697
11697
|
function useNavLinkViaRuntime({
|
|
11698
11698
|
href,
|
|
@@ -11708,22 +11708,22 @@ function useNavLinkViaRuntime({
|
|
|
11708
11708
|
const onClick = (e) => {
|
|
11709
11709
|
_optionalChain([onClickProp, 'optionalCall', _249 => _249(e)]);
|
|
11710
11710
|
if (e.defaultPrevented) return;
|
|
11711
|
-
const handled =
|
|
11711
|
+
const handled = _chunkXCVH5BCZcjs.executeNavigation.call(void 0, { event: e, runtime, href: resolvedHref, path, targetPlatform, openIn });
|
|
11712
11712
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _250 => _250.closeChat])) panel.closeChat();
|
|
11713
11713
|
};
|
|
11714
|
-
return { href: resolvedHref, ...
|
|
11714
|
+
return { href: resolvedHref, ..._chunkPZNWIJRZcjs.newTabAnchorAttrs.call(void 0, isNewTab, resolvedHref, targetPlatform), onClick };
|
|
11715
11715
|
}
|
|
11716
11716
|
function useNavigateViaRuntime() {
|
|
11717
11717
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
11718
11718
|
return _react.useCallback.call(void 0,
|
|
11719
11719
|
({ href, path, targetPlatform, openIn, modifierEvent }) => {
|
|
11720
11720
|
if (!href) return;
|
|
11721
|
-
if (modifierEvent &&
|
|
11721
|
+
if (modifierEvent && _chunkPZNWIJRZcjs.isModifierClick.call(void 0, modifierEvent)) {
|
|
11722
11722
|
const button = _nullishCoalesce(modifierEvent.button, () => ( 0));
|
|
11723
|
-
if (button === 0 || button === 1)
|
|
11723
|
+
if (button === 0 || button === 1) _chunkXCVH5BCZcjs.executeNewTabNavigation.call(void 0, { runtime, href, targetPlatform });
|
|
11724
11724
|
return;
|
|
11725
11725
|
}
|
|
11726
|
-
|
|
11726
|
+
_chunkXCVH5BCZcjs.executeNavigationImperative.call(void 0, { runtime, href, path, targetPlatform, openIn });
|
|
11727
11727
|
},
|
|
11728
11728
|
[runtime]
|
|
11729
11729
|
);
|
|
@@ -11913,7 +11913,7 @@ function UserDisplay({
|
|
|
11913
11913
|
compact = false,
|
|
11914
11914
|
className
|
|
11915
11915
|
}) {
|
|
11916
|
-
const avatarSrc =
|
|
11916
|
+
const avatarSrc = _chunk23DVVS4Icjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
11917
11917
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) {
|
|
11918
11918
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11919
11919
|
UserDisplaySkeleton,
|
|
@@ -12053,7 +12053,7 @@ function ManagedCell({
|
|
|
12053
12053
|
}) {
|
|
12054
12054
|
const hintedWidth = _react2.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
|
|
12055
12055
|
const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
|
|
12056
|
-
const cloneRef =
|
|
12056
|
+
const cloneRef = _chunkXCVH5BCZcjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
|
|
12057
12057
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12058
12058
|
"div",
|
|
12059
12059
|
{
|
|
@@ -12171,12 +12171,12 @@ function CardsStrip(props) {
|
|
|
12171
12171
|
}, [measure, items.length, marqueeActive, isMobile]);
|
|
12172
12172
|
const chevronSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
12173
12173
|
const userScrollSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
12174
|
-
const { ref: observe, inView: nearViewport } =
|
|
12174
|
+
const { ref: observe, inView: nearViewport } = _chunkXCVH5BCZcjs.useInView.call(void 0, { rootMargin: "200px", initial: true });
|
|
12175
12175
|
_react.useEffect.call(void 0, () => {
|
|
12176
12176
|
observe(wrapperRef.current);
|
|
12177
12177
|
return () => observe(null);
|
|
12178
12178
|
}, [observe]);
|
|
12179
|
-
const autoplay =
|
|
12179
|
+
const autoplay = _chunkXCVH5BCZcjs.useAutoplay.call(void 0, nearViewport);
|
|
12180
12180
|
const [activeKey, setActiveKey] = _react.useState.call(void 0, null);
|
|
12181
12181
|
const activeKeyRef = _react.useRef.call(void 0, null);
|
|
12182
12182
|
const activate = _react.useCallback.call(void 0, (key) => {
|
|
@@ -12223,7 +12223,7 @@ function CardsStrip(props) {
|
|
|
12223
12223
|
const current = activeKeyRef.current;
|
|
12224
12224
|
if (current !== null) deactivate(current);
|
|
12225
12225
|
}, [deactivate]);
|
|
12226
|
-
|
|
12226
|
+
_chunkXCVH5BCZcjs.useResetOnPageHidden.call(void 0, clearHover);
|
|
12227
12227
|
const syncHoverIfScrolled = _react.useCallback.call(void 0, () => {
|
|
12228
12228
|
const scroller = scrollerRef.current;
|
|
12229
12229
|
if (!scroller) return;
|
|
@@ -12244,7 +12244,7 @@ function CardsStrip(props) {
|
|
|
12244
12244
|
},
|
|
12245
12245
|
[reverse, seamBuffer]
|
|
12246
12246
|
);
|
|
12247
|
-
const { posRef: marqueePosRef, glideBy } =
|
|
12247
|
+
const { posRef: marqueePosRef, glideBy } = _chunkXCVH5BCZcjs.useMarqueeEngine.call(void 0, {
|
|
12248
12248
|
// Viewport gates `active` (the rAF fully stops off-screen — a paused
|
|
12249
12249
|
// engine would keep scheduling frames forever), same treatment as
|
|
12250
12250
|
// <MarqueeWall>; the envelope persists, so re-entry resumes at cruise.
|
|
@@ -12381,7 +12381,7 @@ function CardsStrip(props) {
|
|
|
12381
12381
|
}
|
|
12382
12382
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
12383
12383
|
};
|
|
12384
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
12384
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk23DVVS4Icjs.SECTION_HEADING_CLASS} break-words`, children: _chunk23DVVS4Icjs.accentSentenceMarks.call(void 0, title) });
|
|
12385
12385
|
if (items.length === 0) {
|
|
12386
12386
|
if (!inScope || !skeleton) return null;
|
|
12387
12387
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -12571,7 +12571,7 @@ var VIDEO_BITES_SKELETON_COUNT = Math.ceil(
|
|
|
12571
12571
|
);
|
|
12572
12572
|
function VideoBitesStrip({
|
|
12573
12573
|
bites,
|
|
12574
|
-
title =
|
|
12574
|
+
title = _chunkEUEPGHY4cjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
12575
12575
|
showTitle = true,
|
|
12576
12576
|
filterPublished = true,
|
|
12577
12577
|
profile = null,
|
|
@@ -12584,7 +12584,7 @@ function VideoBitesStrip({
|
|
|
12584
12584
|
cardHeightMobile = VIDEO_BITES_CARD_HEIGHT_MOBILE_PX,
|
|
12585
12585
|
showChevrons = true,
|
|
12586
12586
|
onBiteNavigate,
|
|
12587
|
-
sortComparator =
|
|
12587
|
+
sortComparator = _chunkEUEPGHY4cjs.sortBitesByCreatedAtDesc,
|
|
12588
12588
|
skeletonCount,
|
|
12589
12589
|
className
|
|
12590
12590
|
}) {
|
|
@@ -12682,7 +12682,7 @@ function VideoBiteCardSkeleton({ aspect = "9:16", height, heightMobile, classNam
|
|
|
12682
12682
|
function VideoBitesStripSkeleton({
|
|
12683
12683
|
count = VIDEO_BITES_SKELETON_COUNT,
|
|
12684
12684
|
aspect = "9:16",
|
|
12685
|
-
title =
|
|
12685
|
+
title = _chunkEUEPGHY4cjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
12686
12686
|
showTitle = true,
|
|
12687
12687
|
headerSlot,
|
|
12688
12688
|
cardHeightDesktop = VIDEO_BITES_CARD_HEIGHT_DESKTOP_PX,
|
|
@@ -12814,7 +12814,7 @@ function VideoBiteCard({
|
|
|
12814
12814
|
style: biteMediaStyle(cssAspect, height, heightMobile),
|
|
12815
12815
|
children: [
|
|
12816
12816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12817
|
-
|
|
12817
|
+
_chunkEUEPGHY4cjs.VideoHoverPreviewSurface,
|
|
12818
12818
|
{
|
|
12819
12819
|
url: bite.url,
|
|
12820
12820
|
posterUrl: bite.thumbnail_url,
|
|
@@ -12886,7 +12886,7 @@ function EntityVideoSection({
|
|
|
12886
12886
|
title = "Video",
|
|
12887
12887
|
videoSummary,
|
|
12888
12888
|
videoBites,
|
|
12889
|
-
bitesTitle =
|
|
12889
|
+
bitesTitle = _chunkEUEPGHY4cjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
12890
12890
|
filterPublishedBites = true,
|
|
12891
12891
|
bitesProfile = null,
|
|
12892
12892
|
bitesHref,
|
|
@@ -12921,7 +12921,7 @@ function EntityVideoSection({
|
|
|
12921
12921
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
12922
12922
|
] }),
|
|
12923
12923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12924
|
-
|
|
12924
|
+
_chunkEUEPGHY4cjs.Video,
|
|
12925
12925
|
{
|
|
12926
12926
|
kind: fullVideoKind,
|
|
12927
12927
|
url: fullVideoUrl,
|
|
@@ -12933,7 +12933,7 @@ function EntityVideoSection({
|
|
|
12933
12933
|
}
|
|
12934
12934
|
) }),
|
|
12935
12935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12936
|
-
|
|
12936
|
+
_chunkEUEPGHY4cjs.Video,
|
|
12937
12937
|
{
|
|
12938
12938
|
url: highlightVideoUrl,
|
|
12939
12939
|
poster: highlightVideoThumbnail,
|
|
@@ -12942,7 +12942,7 @@ function EntityVideoSection({
|
|
|
12942
12942
|
}
|
|
12943
12943
|
) })
|
|
12944
12944
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12945
|
-
|
|
12945
|
+
_chunkEUEPGHY4cjs.Video,
|
|
12946
12946
|
{
|
|
12947
12947
|
kind: fullVideoKind,
|
|
12948
12948
|
url: fullVideoUrl,
|
|
@@ -12953,7 +12953,7 @@ function EntityVideoSection({
|
|
|
12953
12953
|
priority
|
|
12954
12954
|
}
|
|
12955
12955
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12956
|
-
|
|
12956
|
+
_chunkEUEPGHY4cjs.Video,
|
|
12957
12957
|
{
|
|
12958
12958
|
url: highlightVideoUrl,
|
|
12959
12959
|
poster: highlightVideoThumbnail,
|
|
@@ -12963,7 +12963,7 @@ function EntityVideoSection({
|
|
|
12963
12963
|
}
|
|
12964
12964
|
) : null),
|
|
12965
12965
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
12966
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
12966
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk23DVVS4Icjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
12967
12967
|
/* @__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 }) })
|
|
12968
12968
|
] }),
|
|
12969
12969
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12982,13 +12982,13 @@ function EntityVideoSection({
|
|
|
12982
12982
|
] });
|
|
12983
12983
|
}
|
|
12984
12984
|
function EntityVideoSectionSkeleton({ tabs = false, className }) {
|
|
12985
|
-
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12985
|
+
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.Video, { loading: true, url: "", layout: "centered", className });
|
|
12986
12986
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: "full-video", className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), "aria-hidden": true, inert: true, children: [
|
|
12987
12987
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: VIDEO_TAB_LIST_CLASS, children: [
|
|
12988
12988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "full-video", className: VIDEO_TAB_TRIGGER_CLASS, children: FULL_VIDEO_TAB_LABEL }),
|
|
12989
12989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
12990
12990
|
] }),
|
|
12991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.Video, { loading: true, url: "", layout: "centered" }) })
|
|
12992
12992
|
] });
|
|
12993
12993
|
}
|
|
12994
12994
|
|
|
@@ -13146,7 +13146,7 @@ function designDocPeople(doc) {
|
|
|
13146
13146
|
return people;
|
|
13147
13147
|
}
|
|
13148
13148
|
function designDocMetaLine(doc) {
|
|
13149
|
-
return [_optionalChain([doc, 'access', _296 => _296.author, 'optionalAccess', _297 => _297.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
13149
|
+
return [_optionalChain([doc, 'access', _296 => _296.author, 'optionalAccess', _297 => _297.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunk23DVVS4Icjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
13150
13150
|
}
|
|
13151
13151
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
13152
13152
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -13156,15 +13156,15 @@ var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunk3TOWCFIKcjs.TE
|
|
|
13156
13156
|
var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[3]}`;
|
|
13157
13157
|
var DESIGN_DOC_CARD_FOOTER = "flex w-full items-center justify-between gap-2";
|
|
13158
13158
|
function DesignDocCardSkeleton({ className } = {}) {
|
|
13159
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
13159
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkEUEPGHY4cjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
|
|
13160
13160
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
13161
13161
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
|
|
13162
13162
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-3/4" }) }),
|
|
13163
13163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h5", className: "w-1/3" }) })
|
|
13164
13164
|
] }),
|
|
13165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.StatusBadge, { loading: true, text: "", variant: "button", className: "hidden md:inline-flex" })
|
|
13166
13166
|
] }),
|
|
13167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.StatusBadge, { loading: true, text: "", variant: "button" }) }),
|
|
13168
13168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
|
|
13169
13169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
13170
13170
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -13176,7 +13176,7 @@ function DesignDocCardSkeleton({ className } = {}) {
|
|
|
13176
13176
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
13177
13177
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
13178
13178
|
const people = designDocPeople(doc);
|
|
13179
|
-
const link =
|
|
13179
|
+
const link = _chunkEUEPGHY4cjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
13180
13180
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
|
|
13181
13181
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13182
13182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
@@ -13185,7 +13185,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
13185
13185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
13186
13186
|
] }),
|
|
13187
13187
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13188
|
-
|
|
13188
|
+
_chunkEUEPGHY4cjs.StatusBadge,
|
|
13189
13189
|
{
|
|
13190
13190
|
text: readiness.label,
|
|
13191
13191
|
colorScheme: readiness.scheme,
|
|
@@ -13195,7 +13195,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
13195
13195
|
}
|
|
13196
13196
|
)
|
|
13197
13197
|
] }),
|
|
13198
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
13199
13199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
13200
13200
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
13201
13201
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -13203,7 +13203,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
13203
13203
|
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GBLXY5Fcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
13204
13204
|
] })
|
|
13205
13205
|
] });
|
|
13206
|
-
const outer = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
13206
|
+
const outer = _chunk63A4GZMBcjs.cn.call(void 0, _chunkEUEPGHY4cjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
|
|
13207
13207
|
return link ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href: link, target, rel, className: outer, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: outer, children: body });
|
|
13208
13208
|
}
|
|
13209
13209
|
|
|
@@ -13345,26 +13345,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
13345
13345
|
metaParts.push(
|
|
13346
13346
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
13347
13347
|
);
|
|
13348
|
-
const href =
|
|
13348
|
+
const href = _chunkEUEPGHY4cjs.safeHref.call(void 0, item.url);
|
|
13349
13349
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13351
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
13352
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
13350
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
13351
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
13352
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
13353
13353
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
13354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
13355
13355
|
] }),
|
|
13356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13356
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
13357
13357
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
13358
13358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
13359
13359
|
] }, i)) }) }),
|
|
13360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13360
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_SUMMARY, children: _chunkEUEPGHY4cjs.COMPACT_CARD_ROW_FILLER }) })
|
|
13361
13361
|
] }),
|
|
13362
13362
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
13363
13363
|
] });
|
|
13364
13364
|
if (anchorProps) {
|
|
13365
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
13365
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
13366
13366
|
}
|
|
13367
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
13367
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
13368
13368
|
}
|
|
13369
13369
|
function GitHubActivityCardSkeleton({
|
|
13370
13370
|
variant = "compact",
|
|
@@ -13372,7 +13372,7 @@ function GitHubActivityCardSkeleton({
|
|
|
13372
13372
|
}) {
|
|
13373
13373
|
if (variant === "row") {
|
|
13374
13374
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13375
|
-
|
|
13375
|
+
_chunkEUEPGHY4cjs.ActivityRowSkeleton,
|
|
13376
13376
|
{
|
|
13377
13377
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
|
|
13378
13378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
|
|
@@ -13383,7 +13383,7 @@ function GitHubActivityCardSkeleton({
|
|
|
13383
13383
|
}
|
|
13384
13384
|
);
|
|
13385
13385
|
}
|
|
13386
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13386
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
|
|
13387
13387
|
}
|
|
13388
13388
|
|
|
13389
13389
|
// src/utils/url-fix.ts
|
|
@@ -13439,7 +13439,7 @@ function VendorIcon({
|
|
|
13439
13439
|
...props
|
|
13440
13440
|
}) {
|
|
13441
13441
|
const logoUrl = getVendorLogo(vendor);
|
|
13442
|
-
const logoSrc =
|
|
13442
|
+
const logoSrc = _chunk23DVVS4Icjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
13443
13443
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13444
13444
|
_chunkNFNSPLGCcjs.SquareAvatar,
|
|
13445
13445
|
{
|
|
@@ -13473,8 +13473,8 @@ function useChatCardItem(type, id) {
|
|
|
13473
13473
|
const res = await _chunkGI3MMBP3cjs.embedAuthedFetch.call(void 0, url);
|
|
13474
13474
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
13475
13475
|
const data = await res.json();
|
|
13476
|
-
const items =
|
|
13477
|
-
const match = items.find((it) =>
|
|
13476
|
+
const items = _chunk23DVVS4Icjs.extractCardItems.call(void 0, type, data);
|
|
13477
|
+
const match = items.find((it) => _chunk23DVVS4Icjs.extractItemId.call(void 0, type, it) === id);
|
|
13478
13478
|
return _nullishCoalesce(match, () => ( null));
|
|
13479
13479
|
},
|
|
13480
13480
|
enabled: !!url && id.length > 0,
|
|
@@ -13680,7 +13680,7 @@ function resolveFetchedCardHref({
|
|
|
13680
13680
|
composeContentUrl
|
|
13681
13681
|
}) {
|
|
13682
13682
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
13683
|
-
const canonicalType =
|
|
13683
|
+
const canonicalType = _chunk23DVVS4Icjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
13684
13684
|
return composeContentUrl({
|
|
13685
13685
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
13686
13686
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -13723,16 +13723,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
13723
13723
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
13724
13724
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
13725
13725
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
13726
|
-
type:
|
|
13726
|
+
type: _chunk23DVVS4Icjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
13727
13727
|
identifier: idValue,
|
|
13728
13728
|
...docPath ? { slug: docPath } : {},
|
|
13729
13729
|
externalUrl: _nullishCoalesce(row.externalUrl, () => ( null)),
|
|
13730
13730
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
13731
13731
|
});
|
|
13732
|
-
href = composed.href ? _nullishCoalesce(
|
|
13732
|
+
href = composed.href ? _nullishCoalesce(_chunkEUEPGHY4cjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
13733
13733
|
targetPlatform = composed.targetPlatform;
|
|
13734
13734
|
} else if (row.externalUrl) {
|
|
13735
|
-
href = _nullishCoalesce(
|
|
13735
|
+
href = _nullishCoalesce(_chunkEUEPGHY4cjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
13736
13736
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
13737
13737
|
}
|
|
13738
13738
|
const documentType = row.documentType;
|
|
@@ -13799,7 +13799,7 @@ function resolveCardDestination({
|
|
|
13799
13799
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _306 => _306.fallbackHref, 'optionalCall', _307 => _307(item)]), () => ( null)),
|
|
13800
13800
|
allowComposed: !entry.noComposedHref
|
|
13801
13801
|
});
|
|
13802
|
-
const url = choice ? _nullishCoalesce(
|
|
13802
|
+
const url = choice ? _nullishCoalesce(_chunkEUEPGHY4cjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
13803
13803
|
if (choice && url) {
|
|
13804
13804
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
13805
13805
|
}
|
|
@@ -13812,11 +13812,11 @@ function resolveCardDestination({
|
|
|
13812
13812
|
|
|
13813
13813
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
13814
13814
|
const label = entityLabel || "Item";
|
|
13815
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
13816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
13817
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
13818
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
13819
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
13815
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
13816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
13817
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
13818
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
13819
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
13820
13820
|
label,
|
|
13821
13821
|
" deleted",
|
|
13822
13822
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -13871,7 +13871,7 @@ function GitHubChatCard({
|
|
|
13871
13871
|
description,
|
|
13872
13872
|
icon: githubKindIcon(kind),
|
|
13873
13873
|
status,
|
|
13874
|
-
anchorProps:
|
|
13874
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
13875
13875
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
13876
13876
|
menuAriaLabel: "Activity actions"
|
|
13877
13877
|
}
|
|
@@ -13994,7 +13994,7 @@ function HubspotTicketChatCard({
|
|
|
13994
13994
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
13995
13995
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
13996
13996
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
13997
|
-
anchorProps:
|
|
13997
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
13998
13998
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
13999
13999
|
label: "Open Ticket Details",
|
|
14000
14000
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -14017,7 +14017,7 @@ function FaqChatCard({
|
|
|
14017
14017
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14018
14018
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
14019
14019
|
status: { label: statusLabel, variant: "grey" },
|
|
14020
|
-
anchorProps:
|
|
14020
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
14021
14021
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14022
14022
|
menuAriaLabel: "FAQ actions"
|
|
14023
14023
|
}
|
|
@@ -14037,7 +14037,7 @@ function SlackChatCard({
|
|
|
14037
14037
|
title,
|
|
14038
14038
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14039
14039
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
14040
|
-
anchorProps:
|
|
14040
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
14041
14041
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14042
14042
|
menuAriaLabel: "Message actions"
|
|
14043
14043
|
}
|
|
@@ -14055,7 +14055,7 @@ function GlyphChatCard({
|
|
|
14055
14055
|
title: chatRef.title,
|
|
14056
14056
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14057
14057
|
icon,
|
|
14058
|
-
anchorProps:
|
|
14058
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
14059
14059
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14060
14060
|
menuAriaLabel: "Card actions"
|
|
14061
14061
|
}
|
|
@@ -14073,20 +14073,20 @@ function TrustCenterChatCard({
|
|
|
14073
14073
|
}) {
|
|
14074
14074
|
const raw2 = _optionalChain([item, 'optionalAccess', _321 => _321.frameworks]);
|
|
14075
14075
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
14076
|
-
const summary =
|
|
14076
|
+
const summary = _chunk23DVVS4Icjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
14077
14077
|
const leadFramework = frameworks[0];
|
|
14078
14078
|
const lead = leadFramework ? {
|
|
14079
|
-
label:
|
|
14080
|
-
color:
|
|
14079
|
+
label: _chunk23DVVS4Icjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
14080
|
+
color: _chunk23DVVS4Icjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
14081
14081
|
} : void 0;
|
|
14082
14082
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14083
14083
|
MingoInfoCard,
|
|
14084
14084
|
{
|
|
14085
|
-
title:
|
|
14086
|
-
description: summary ||
|
|
14085
|
+
title: _chunk23DVVS4Icjs.TRUST_CENTER_TITLE,
|
|
14086
|
+
description: summary || _chunk23DVVS4Icjs.TRUST_CENTER_TAGLINE,
|
|
14087
14087
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
14088
14088
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
14089
|
-
anchorProps:
|
|
14089
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
14090
14090
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
14091
14091
|
label: "View trust center",
|
|
14092
14092
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -14108,7 +14108,7 @@ function DataRoomDocChatCard({
|
|
|
14108
14108
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14109
14109
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
14110
14110
|
status: { label: badgeText, variant: "grey" },
|
|
14111
|
-
anchorProps:
|
|
14111
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
14112
14112
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14113
14113
|
menuAriaLabel: "Document actions"
|
|
14114
14114
|
}
|
|
@@ -14127,7 +14127,7 @@ function GenericFinancialChatCard({
|
|
|
14127
14127
|
title: chatRef.title,
|
|
14128
14128
|
description: subtitle,
|
|
14129
14129
|
icon,
|
|
14130
|
-
anchorProps:
|
|
14130
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
14131
14131
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14132
14132
|
menuAriaLabel: "Document actions"
|
|
14133
14133
|
}
|
|
@@ -14218,7 +14218,7 @@ function CampaignChatCard({
|
|
|
14218
14218
|
}) {
|
|
14219
14219
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _327 => _327.goals])) ? item.goals.length : 0;
|
|
14220
14220
|
const meta = [
|
|
14221
|
-
_optionalChain([item, 'optionalAccess', _328 => _328.start_date]) ?
|
|
14221
|
+
_optionalChain([item, 'optionalAccess', _328 => _328.start_date]) ? _chunk23DVVS4Icjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
14222
14222
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14223
14223
|
"Marketing campaign"
|
|
14224
14224
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -14257,7 +14257,7 @@ function EntityMingoCard({
|
|
|
14257
14257
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
14258
14258
|
icon: fallbackIcon,
|
|
14259
14259
|
status,
|
|
14260
|
-
anchorProps:
|
|
14260
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
14261
14261
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
14262
14262
|
menuAriaLabel
|
|
14263
14263
|
}
|
|
@@ -14269,7 +14269,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
14269
14269
|
function statusPill(status) {
|
|
14270
14270
|
const s = typeof status === "string" ? status.trim() : "";
|
|
14271
14271
|
if (!s) return void 0;
|
|
14272
|
-
const scheme =
|
|
14272
|
+
const scheme = _chunk23DVVS4Icjs.getStatusColorScheme.call(void 0, s);
|
|
14273
14273
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
14274
14274
|
return { label: s, variant };
|
|
14275
14275
|
}
|
|
@@ -14360,7 +14360,7 @@ function DesignDocChatCard({
|
|
|
14360
14360
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
14361
14361
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
14362
14362
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
14363
|
-
anchorProps:
|
|
14363
|
+
anchorProps: _chunkPZNWIJRZcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab, displayRef.targetPlatform),
|
|
14364
14364
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
14365
14365
|
menuAriaLabel: "Design doc actions"
|
|
14366
14366
|
}
|
|
@@ -14378,7 +14378,7 @@ function InvestorUpdateChatCard({
|
|
|
14378
14378
|
EntityMingoCard,
|
|
14379
14379
|
{
|
|
14380
14380
|
title,
|
|
14381
|
-
description: _optionalChain([item, 'optionalAccess', _358 => _358.strategic_update]) || _optionalChain([item, 'optionalAccess', _359 => _359.content]) ||
|
|
14381
|
+
description: _optionalChain([item, 'optionalAccess', _358 => _358.strategic_update]) || _optionalChain([item, 'optionalAccess', _359 => _359.content]) || _chunk23DVVS4Icjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _360 => _360.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _361 => _361.period_end]), () => ( null))) || void 0,
|
|
14382
14382
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _362 => _362.featured_image]), ogPlaceholder),
|
|
14383
14383
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
14384
14384
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -14422,7 +14422,7 @@ function ProgramChatCard({
|
|
|
14422
14422
|
discuss
|
|
14423
14423
|
}) {
|
|
14424
14424
|
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 });
|
|
14425
|
-
const { line: meta } =
|
|
14425
|
+
const { line: meta } = _chunk23DVVS4Icjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunk23DVVS4Icjs.programMetaFormatters.call(void 0, _chunk23DVVS4Icjs.PROGRAM_META_RENDERERS));
|
|
14426
14426
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14427
14427
|
EntityMingoCard,
|
|
14428
14428
|
{
|
|
@@ -14448,7 +14448,7 @@ function RoadmapChatCard({
|
|
|
14448
14448
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _372 => _372.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
14449
14449
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _373 => _373.customItemId]) != null;
|
|
14450
14450
|
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 });
|
|
14451
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14451
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _374 => _374.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
14452
14452
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
14453
14453
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
14454
14454
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14524,11 +14524,11 @@ function refText(ref, key) {
|
|
|
14524
14524
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
14525
14525
|
}
|
|
14526
14526
|
function VendorGlyph({ title, logoUrl }) {
|
|
14527
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14527
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
14528
14528
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
14529
14529
|
}
|
|
14530
14530
|
function SitePageGlyph({ iconName }) {
|
|
14531
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14531
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
14532
14532
|
}
|
|
14533
14533
|
var GITHUB_CARD_CONFIGS = {
|
|
14534
14534
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -14656,7 +14656,7 @@ function programRegistryEntries() {
|
|
|
14656
14656
|
contentRefType: cfg.contentRefType,
|
|
14657
14657
|
bareInline: true,
|
|
14658
14658
|
disclosure: cfg.disclosure,
|
|
14659
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14659
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.ProgramCard, { loading: true, size: "sm" }),
|
|
14660
14660
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14661
14661
|
ProgramChatCard,
|
|
14662
14662
|
{
|
|
@@ -14697,7 +14697,7 @@ function roadmapRegistryEntries() {
|
|
|
14697
14697
|
bareInline: true,
|
|
14698
14698
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
14699
14699
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
14700
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14700
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
14701
14701
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14702
14702
|
RoadmapChatCard,
|
|
14703
14703
|
{
|
|
@@ -14755,12 +14755,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
14755
14755
|
// projection route; `extractCardItems` turns its object payload into the
|
|
14756
14756
|
// single matched row. Destination is the public page unless the host
|
|
14757
14757
|
// re-homes the type (`composeContentUrl` override).
|
|
14758
|
-
[
|
|
14758
|
+
[_chunk23DVVS4Icjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
14759
14759
|
label: "Trust center",
|
|
14760
14760
|
bareInline: true,
|
|
14761
|
-
contentRefType:
|
|
14761
|
+
contentRefType: _chunk23DVVS4Icjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
14762
14762
|
noComposedHref: true,
|
|
14763
|
-
fallbackHref: () =>
|
|
14763
|
+
fallbackHref: () => _chunk23DVVS4Icjs.TRUST_CENTER_PAGE_PATH,
|
|
14764
14764
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
14765
14765
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
14766
14766
|
},
|
|
@@ -14786,7 +14786,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
14786
14786
|
label: "Blog post",
|
|
14787
14787
|
contentRefType: "blog_post_existing",
|
|
14788
14788
|
bareInline: true,
|
|
14789
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14789
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.BlogCard, { loading: true, size: "sm" }),
|
|
14790
14790
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14791
14791
|
BlogChatCard,
|
|
14792
14792
|
{
|
|
@@ -14804,7 +14804,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
14804
14804
|
label: "Case study",
|
|
14805
14805
|
contentRefType: "case_study",
|
|
14806
14806
|
bareInline: true,
|
|
14807
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14807
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.CaseStudyCard, { loading: true, size: "sm" }),
|
|
14808
14808
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14809
14809
|
CaseStudyChatCard,
|
|
14810
14810
|
{
|
|
@@ -14830,7 +14830,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
14830
14830
|
label: "Customer interview",
|
|
14831
14831
|
contentRefType: "customer_interview",
|
|
14832
14832
|
bareInline: true,
|
|
14833
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14833
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
14834
14834
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14835
14835
|
CustomerInterviewChatCard,
|
|
14836
14836
|
{
|
|
@@ -14847,9 +14847,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
14847
14847
|
label: "Product release",
|
|
14848
14848
|
contentRefType: "product_release",
|
|
14849
14849
|
bareInline: true,
|
|
14850
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14850
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
14851
14851
|
render: (item, chatRef, opts) => {
|
|
14852
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _415 => _415.extras, 'optionalAccess', _416 => _416.buildProductReleaseCardProps]), () => (
|
|
14852
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _415 => _415.extras, 'optionalAccess', _416 => _416.buildProductReleaseCardProps]), () => ( _chunk23DVVS4Icjs.defaultBuildProductReleaseCardProps));
|
|
14853
14853
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14854
14854
|
ProductReleaseChatCard,
|
|
14855
14855
|
{
|
|
@@ -14868,7 +14868,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
14868
14868
|
label: "Investor update",
|
|
14869
14869
|
contentRefType: "investor_update",
|
|
14870
14870
|
bareInline: true,
|
|
14871
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14871
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
14872
14872
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14873
14873
|
InvestorUpdateChatCard,
|
|
14874
14874
|
{
|
|
@@ -14887,7 +14887,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
14887
14887
|
bareInline: true,
|
|
14888
14888
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
14889
14889
|
displayAction: true,
|
|
14890
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14890
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
14891
14891
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14892
14892
|
OnboardingGuideChatCard,
|
|
14893
14893
|
{
|
|
@@ -14931,7 +14931,7 @@ function ChatCardNavWrap({
|
|
|
14931
14931
|
if (!_optionalChain([host, 'optionalAccess', _428 => _428.contains, 'call', _429 => _429(targetEl)])) return;
|
|
14932
14932
|
if (_optionalChain([targetEl, 'optionalAccess', _430 => _430.closest, 'optionalCall', _431 => _431("button")])) return;
|
|
14933
14933
|
if (!_optionalChain([targetEl, 'optionalAccess', _432 => _432.closest, 'optionalCall', _433 => _433("a")])) return;
|
|
14934
|
-
const handled =
|
|
14934
|
+
const handled = _chunkXCVH5BCZcjs.executeNavigation.call(void 0, { event: e, runtime, href, path, targetPlatform, hostRoute });
|
|
14935
14935
|
if (!handled) return;
|
|
14936
14936
|
e.stopPropagation();
|
|
14937
14937
|
if (!isNewTab && _optionalChain([panel, 'optionalAccess', _434 => _434.closeChat])) panel.closeChat();
|
|
@@ -14969,7 +14969,7 @@ function ChatCardLoader({ chatRef, onDiscuss, onDisplay, extras }) {
|
|
|
14969
14969
|
entry: fetchEntry,
|
|
14970
14970
|
ctx: sourceRowCtxFromRuntime(runtime),
|
|
14971
14971
|
composeContentUrl: runtime.composeContentUrl,
|
|
14972
|
-
resolveHref: (href) =>
|
|
14972
|
+
resolveHref: (href) => _chunkPZNWIJRZcjs.navLinkTarget.call(void 0, runtime, href).href
|
|
14973
14973
|
});
|
|
14974
14974
|
const hrefResolvedChatRef = {
|
|
14975
14975
|
...chatRef,
|
|
@@ -14980,8 +14980,8 @@ function ChatCardLoader({ chatRef, onDiscuss, onDisplay, extras }) {
|
|
|
14980
14980
|
};
|
|
14981
14981
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
14982
14982
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
14983
|
-
const hostRoute = (destination.source === "composed" || destination.source === "hostOverride") && !!finalChatRef.url &&
|
|
14984
|
-
const isNewTab = finalChatRef.url ?
|
|
14983
|
+
const hostRoute = (destination.source === "composed" || destination.source === "hostOverride") && !!finalChatRef.url && _chunkPZNWIJRZcjs.isRelativeHref.call(void 0, finalChatRef.url);
|
|
14984
|
+
const isNewTab = finalChatRef.url ? _chunkPZNWIJRZcjs.navLinkTarget.call(void 0, runtime, finalChatRef.url, finalChatRef.targetPlatform, { hostRoute }).isNewTab : false;
|
|
14985
14985
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
14986
14986
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
14987
14987
|
const discuss = discussFn ? {
|
|
@@ -16064,7 +16064,7 @@ function useChatAttachmentImageGallery() {
|
|
|
16064
16064
|
return () => root.removeEventListener("click", onClick);
|
|
16065
16065
|
}, [viewUrlPrefix]);
|
|
16066
16066
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16067
|
-
|
|
16067
|
+
_chunk23DVVS4Icjs.ImageGalleryModal,
|
|
16068
16068
|
{
|
|
16069
16069
|
images: state.images,
|
|
16070
16070
|
isOpen: state.isOpen,
|