@flamingo-stack/openframe-frontend-core 0.0.785 → 0.0.787
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/{chunk-GX6YLDAS.cjs → chunk-3UB47O7L.cjs} +2 -2
- package/dist/{chunk-3ITHC2Y4.cjs → chunk-3ZYZOK7Z.cjs} +4 -4
- package/dist/{chunk-FDPAD7GS.cjs → chunk-75IHI7JO.cjs} +11 -11
- package/dist/{chunk-G7COLTR6.cjs → chunk-BAM6JT53.cjs} +4 -4
- package/dist/{chunk-DGUZUOWN.cjs → chunk-CF6IERIA.cjs} +14 -14
- package/dist/{chunk-NVWROBPF.cjs → chunk-HF35SNRU.cjs} +450 -439
- package/dist/{chunk-BQDO7PU7.cjs → chunk-HQJ56PDG.cjs} +30 -30
- package/dist/{chunk-EOZ23WOY.cjs → chunk-HQY6KYUD.cjs} +1 -1
- package/dist/{chunk-WNKOWR3E.cjs → chunk-ICVLG6MM.cjs} +4 -4
- package/dist/{chunk-7W3NVU4V.cjs → chunk-JFYHFBJ7.cjs} +4 -4
- package/dist/{chunk-5PVYYZEK.cjs → chunk-K2JUZV3X.cjs} +2 -2
- package/dist/{chunk-7FCOQCAK.cjs → chunk-LGUHTN46.cjs} +39 -39
- package/dist/{chunk-WLHHXAT7.cjs → chunk-NR6YD7BL.cjs} +2 -2
- package/dist/{chunk-2PMLX52X.cjs → chunk-PZ5ZMKKB.cjs} +16 -16
- package/dist/{chunk-EQKMFQ5J.cjs → chunk-RGGV3YOP.cjs} +37 -37
- package/dist/{chunk-EIXFIGLX.cjs → chunk-U5Z6FOMI.cjs} +11 -11
- package/dist/{chunk-JZUBBNTT.cjs → chunk-UY2NXJFL.cjs} +61 -61
- package/dist/{chunk-OOSSOL7E.cjs → chunk-W5ANQT3I.cjs} +32 -32
- package/dist/{chunk-YCSX7MCG.cjs → chunk-WFMLODQ4.cjs} +25 -25
- package/dist/{chunk-NXUL4W7Q.cjs → chunk-WM6QMQDO.cjs} +3 -3
- package/dist/{chunk-FFW3IY5E.cjs → chunk-XQAKD5QY.cjs} +48 -48
- package/dist/{chunk-7QK4R7UU.cjs → chunk-Y5RXNEO2.cjs} +2 -2
- package/dist/{chunk-Q73MAT62.cjs → chunk-YNMGACZT.cjs} +3 -3
- package/dist/{chunk-55KZW2P2.cjs → chunk-YXNETOPJ.cjs} +13 -13
- package/dist/{chunk-LCPJNG5M.cjs → chunk-ZDP5WEFF.cjs} +68 -68
- package/dist/{cloud-tenants-TJSSGC5O.cjs → cloud-tenants-Y2GSQAMJ.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/entity-cards/program-card.js +1 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +82 -82
- package/dist/components/index.cjs +52 -52
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +15 -15
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-row.js +11 -0
- package/dist/components/ui/index.cjs +6 -6
- package/dist/{devices-RQ7OSCJZ.cjs → devices-E3QVSJ3T.cjs} +7 -7
- package/dist/{embeddable-chat-SYWOS6YZ.cjs → embeddable-chat-IH6X2KIS.cjs} +62 -62
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-5QKXKQ4Q.cjs → knowledge-A6AETFRT.cjs} +7 -7
- package/dist/{logs-GBKJZHMC.cjs → logs-GB6UWTM6.cjs} +14 -14
- package/dist/{policies-WAYKWIZM.cjs → policies-DGFI3VSQ.cjs} +10 -10
- package/dist/{scripts-L46FQYCQ.cjs → scripts-OV2PPYGS.cjs} +11 -11
- package/dist/{software-update-2HMC5XIV.cjs → software-update-LUR2BU2D.cjs} +9 -9
- package/package.json +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +6 -2
- package/src/components/ui/data-table/data-table-row.tsx +23 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJFYHFBJ7cjs = require('./chunk-JFYHFBJ7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkYXNETOPJcjs = require('./chunk-YXNETOPJ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,13 +15,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkHF35SNRUcjs = require('./chunk-HF35SNRU.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk2JDK4FWVcjs = require('./chunk-2JDK4FWV.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkWFMLODQ4cjs = require('./chunk-WFMLODQ4.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -30,7 +30,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkHQY6KYUDcjs = require('./chunk-HQY6KYUD.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
var _chunk3SENOTWTcjs = require('./chunk-3SENOTWT.cjs');
|
|
@@ -55,7 +55,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
55
55
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
56
56
|
if (isFiltered) {
|
|
57
57
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
58
|
-
|
|
58
|
+
_chunkJFYHFBJ7cjs.EmptyState,
|
|
59
59
|
{
|
|
60
60
|
type: "search",
|
|
61
61
|
title: filtered.title,
|
|
@@ -68,7 +68,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
68
68
|
}
|
|
69
69
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
70
70
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
71
|
-
|
|
71
|
+
_chunkJFYHFBJ7cjs.EmptyState,
|
|
72
72
|
{
|
|
73
73
|
type: "generic",
|
|
74
74
|
title: empty.title,
|
|
@@ -105,7 +105,7 @@ function PageDataSyncProvider({
|
|
|
105
105
|
function PageDataSyncRow({ inline = false }) {
|
|
106
106
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
107
107
|
if (!context) return null;
|
|
108
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHF35SNRUcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
109
109
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
110
110
|
}
|
|
111
111
|
function usePageDataSync(sync, loading) {
|
|
@@ -124,7 +124,7 @@ function usePageDataSync(sync, loading) {
|
|
|
124
124
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
125
125
|
|
|
126
126
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
127
|
-
const section =
|
|
127
|
+
const section = _chunkWFMLODQ4cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
128
128
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
129
129
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
130
130
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -162,11 +162,11 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
162
162
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
163
163
|
};
|
|
164
164
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncProvider, { stated: section.mirrored, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
165
|
-
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
+
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.SectionHeading, { title: section.hero.title, punctuation: ":", action: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, { inline: true }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, {}),
|
|
166
166
|
preControls,
|
|
167
167
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
168
168
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
169
|
-
|
|
169
|
+
_chunkHF35SNRUcjs.SearchInput,
|
|
170
170
|
{
|
|
171
171
|
showDropdown: false,
|
|
172
172
|
placeholder: search.placeholder,
|
|
@@ -176,7 +176,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunkHF35SNRUcjs.StatusFilterComponent,
|
|
180
180
|
{
|
|
181
181
|
selectedStatus: currentFilterValue,
|
|
182
182
|
onStatusChange: handleFilterChange,
|
|
@@ -201,7 +201,7 @@ function DevSectionPage({
|
|
|
201
201
|
shell = true
|
|
202
202
|
}) {
|
|
203
203
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
204
|
-
const section =
|
|
204
|
+
const section = _chunkWFMLODQ4cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
205
205
|
const backCfg = backButton === false ? void 0 : {
|
|
206
206
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
207
207
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -223,12 +223,12 @@ function DevSectionPage({
|
|
|
223
223
|
backButton: backCfg,
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
226
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXNETOPJcjs.FaqSection, { ..._chunkYXNETOPJcjs.pageFaqProps.call(void 0, faq) })
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
);
|
|
231
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHF35SNRUcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -290,7 +290,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
290
290
|
const taskType = item.taskType;
|
|
291
291
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
292
292
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
293
|
-
const statusBadgeScheme =
|
|
293
|
+
const statusBadgeScheme = _chunkHQY6KYUDcjs.getStatusColorScheme.call(void 0, item.status);
|
|
294
294
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
295
295
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
296
296
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_INNER_CLASS2, children: [
|
|
@@ -292,7 +292,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
|
|
295
|
-
var
|
|
295
|
+
var _chunkHQY6KYUDcjs = require('./chunk-HQY6KYUD.cjs');
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
@@ -6698,7 +6698,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6698
6698
|
|
|
6699
6699
|
[Attached: ${safeName}](${url})`;
|
|
6700
6700
|
}
|
|
6701
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6701
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkHQY6KYUDcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6702
6702
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6703
6703
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6704
6704
|
"gm"
|
|
@@ -9603,10 +9603,10 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
9603
9603
|
const isNewTab = runtime ? _chunk3SENOTWTcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9604
9604
|
if (isNewTab) {
|
|
9605
9605
|
if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
|
|
9606
|
-
else window.open(href, "_blank",
|
|
9606
|
+
else window.open(href, "_blank", _chunkHQY6KYUDcjs.NEW_TAB_FEATURES);
|
|
9607
9607
|
return;
|
|
9608
9608
|
}
|
|
9609
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9609
|
+
const target = isForeignOriginHref(href) ? href : _chunkHQY6KYUDcjs.stripSameOriginToPath.call(void 0, href);
|
|
9610
9610
|
if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9611
9611
|
return;
|
|
9612
9612
|
}
|
|
@@ -9657,7 +9657,7 @@ function useNavLinkViaRuntime({
|
|
|
9657
9657
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9658
9658
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9659
9659
|
const panel = useChatPanel();
|
|
9660
|
-
const resolvedHref =
|
|
9660
|
+
const resolvedHref = _chunkHQY6KYUDcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9661
9661
|
const isNewTab = _chunk3SENOTWTcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9662
9662
|
const onClick = (e) => {
|
|
9663
9663
|
_optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
|
|
@@ -9817,7 +9817,7 @@ function UserDisplay({
|
|
|
9817
9817
|
compact = false,
|
|
9818
9818
|
className
|
|
9819
9819
|
}) {
|
|
9820
|
-
const avatarSrc =
|
|
9820
|
+
const avatarSrc = _chunkHQY6KYUDcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9821
9821
|
if (_chunkNWNC22IZcjs.useLoadingScope.call(void 0, )) {
|
|
9822
9822
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9823
9823
|
UserDisplaySkeleton,
|
|
@@ -10282,7 +10282,7 @@ function CardsStrip(props) {
|
|
|
10282
10282
|
}
|
|
10283
10283
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10284
10284
|
};
|
|
10285
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10285
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkHQY6KYUDcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkHQY6KYUDcjs.accentSentenceMarks.call(void 0, title) });
|
|
10286
10286
|
if (items.length === 0) {
|
|
10287
10287
|
if (!inScope || !skeleton) return null;
|
|
10288
10288
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkNWNC22IZcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10864,7 +10864,7 @@ function EntityVideoSection({
|
|
|
10864
10864
|
}
|
|
10865
10865
|
) : null),
|
|
10866
10866
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkHQY6KYUDcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10868
10868
|
/* @__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 }) })
|
|
10869
10869
|
] }),
|
|
10870
10870
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10936,7 +10936,7 @@ function designDocPeople(doc) {
|
|
|
10936
10936
|
return people;
|
|
10937
10937
|
}
|
|
10938
10938
|
function designDocMetaLine(doc) {
|
|
10939
|
-
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10939
|
+
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkHQY6KYUDcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10940
10940
|
}
|
|
10941
10941
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
10942
10942
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11267,7 +11267,7 @@ function VendorIcon({
|
|
|
11267
11267
|
}) {
|
|
11268
11268
|
const loading = _chunkNWNC22IZcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
11269
11269
|
const logoUrl = getVendorLogo(vendor);
|
|
11270
|
-
const logoSrc =
|
|
11270
|
+
const logoSrc = _chunkHQY6KYUDcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11271
11271
|
const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
|
|
11272
11272
|
const containerClasses = _chunkNWNC22IZcjs.cn.call(void 0,
|
|
11273
11273
|
sizeClasses[size],
|
|
@@ -11311,8 +11311,8 @@ function useChatCardItem(type, id) {
|
|
|
11311
11311
|
const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
|
|
11312
11312
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11313
11313
|
const data = await res.json();
|
|
11314
|
-
const items =
|
|
11315
|
-
const match = items.find((it) =>
|
|
11314
|
+
const items = _chunkHQY6KYUDcjs.extractCardItems.call(void 0, type, data);
|
|
11315
|
+
const match = items.find((it) => _chunkHQY6KYUDcjs.extractItemId.call(void 0, type, it) === id);
|
|
11316
11316
|
return _nullishCoalesce(match, () => ( null));
|
|
11317
11317
|
},
|
|
11318
11318
|
enabled: !!url && id.length > 0,
|
|
@@ -11518,7 +11518,7 @@ function resolveFetchedCardHref({
|
|
|
11518
11518
|
composeContentUrl
|
|
11519
11519
|
}) {
|
|
11520
11520
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11521
|
-
const canonicalType =
|
|
11521
|
+
const canonicalType = _chunkHQY6KYUDcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11522
11522
|
return composeContentUrl({
|
|
11523
11523
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11524
11524
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11586,7 +11586,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11586
11586
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11587
11587
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11588
11588
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11589
|
-
type:
|
|
11589
|
+
type: _chunkHQY6KYUDcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11590
11590
|
identifier: idValue,
|
|
11591
11591
|
externalUrl: row.externalUrl,
|
|
11592
11592
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
@@ -11959,17 +11959,17 @@ function TrustCenterChatCard({
|
|
|
11959
11959
|
}) {
|
|
11960
11960
|
const raw2 = _optionalChain([item, 'optionalAccess', _286 => _286.frameworks]);
|
|
11961
11961
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
11962
|
-
const summary =
|
|
11962
|
+
const summary = _chunkHQY6KYUDcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11963
11963
|
const leadFramework = frameworks[0];
|
|
11964
11964
|
const lead = leadFramework ? {
|
|
11965
|
-
label:
|
|
11966
|
-
color:
|
|
11965
|
+
label: _chunkHQY6KYUDcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11966
|
+
color: _chunkHQY6KYUDcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11967
11967
|
} : void 0;
|
|
11968
11968
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11969
11969
|
MingoInfoCard,
|
|
11970
11970
|
{
|
|
11971
|
-
title:
|
|
11972
|
-
description: summary ||
|
|
11971
|
+
title: _chunkHQY6KYUDcjs.TRUST_CENTER_TITLE,
|
|
11972
|
+
description: summary || _chunkHQY6KYUDcjs.TRUST_CENTER_TAGLINE,
|
|
11973
11973
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11974
11974
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11975
11975
|
anchorProps: _chunk3SENOTWTcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
@@ -12099,7 +12099,7 @@ function CampaignChatCard({
|
|
|
12099
12099
|
}) {
|
|
12100
12100
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _292 => _292.goals])) ? item.goals.length : 0;
|
|
12101
12101
|
const meta = [
|
|
12102
|
-
_optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ?
|
|
12102
|
+
_optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkHQY6KYUDcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12103
12103
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12104
12104
|
"Marketing campaign"
|
|
12105
12105
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12150,7 +12150,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12150
12150
|
function statusPill(status) {
|
|
12151
12151
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12152
12152
|
if (!s) return void 0;
|
|
12153
|
-
const scheme =
|
|
12153
|
+
const scheme = _chunkHQY6KYUDcjs.getStatusColorScheme.call(void 0, s);
|
|
12154
12154
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12155
12155
|
return { label: s, variant };
|
|
12156
12156
|
}
|
|
@@ -12259,7 +12259,7 @@ function InvestorUpdateChatCard({
|
|
|
12259
12259
|
EntityMingoCard,
|
|
12260
12260
|
{
|
|
12261
12261
|
title,
|
|
12262
|
-
description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) ||
|
|
12262
|
+
description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkHQY6KYUDcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
|
|
12263
12263
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _327 => _327.featured_image]), ogPlaceholder),
|
|
12264
12264
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12265
12265
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12303,7 +12303,7 @@ function ProgramChatCard({
|
|
|
12303
12303
|
discuss
|
|
12304
12304
|
}) {
|
|
12305
12305
|
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 });
|
|
12306
|
-
const { line: meta } =
|
|
12306
|
+
const { line: meta } = _chunkHQY6KYUDcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkHQY6KYUDcjs.programMetaFormatters.call(void 0, _chunkHQY6KYUDcjs.PROGRAM_META_RENDERERS));
|
|
12307
12307
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12308
12308
|
EntityMingoCard,
|
|
12309
12309
|
{
|
|
@@ -12329,7 +12329,7 @@ function RoadmapChatCard({
|
|
|
12329
12329
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _337 => _337.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12330
12330
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]) != null;
|
|
12331
12331
|
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 });
|
|
12332
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12332
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12333
12333
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12334
12334
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12335
12335
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZHLORL3cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12516,7 +12516,7 @@ function programRegistryEntries() {
|
|
|
12516
12516
|
label: cfg.label,
|
|
12517
12517
|
contentRefType: cfg.contentRefType,
|
|
12518
12518
|
bareInline: true,
|
|
12519
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12519
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.ProgramCard, { loading: true, size: "sm" }),
|
|
12520
12520
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12521
12521
|
ProgramChatCard,
|
|
12522
12522
|
{
|
|
@@ -12557,7 +12557,7 @@ function roadmapRegistryEntries() {
|
|
|
12557
12557
|
bareInline: true,
|
|
12558
12558
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12559
12559
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12560
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12560
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
12561
12561
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12562
12562
|
RoadmapChatCard,
|
|
12563
12563
|
{
|
|
@@ -12615,12 +12615,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12615
12615
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12616
12616
|
// single matched row. Destination is the public page unless the host
|
|
12617
12617
|
// re-homes the type (`composeContentUrl` override).
|
|
12618
|
-
[
|
|
12618
|
+
[_chunkHQY6KYUDcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12619
12619
|
label: "Trust center",
|
|
12620
12620
|
bareInline: true,
|
|
12621
|
-
contentRefType:
|
|
12621
|
+
contentRefType: _chunkHQY6KYUDcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12622
12622
|
noComposedHref: true,
|
|
12623
|
-
fallbackHref: () =>
|
|
12623
|
+
fallbackHref: () => _chunkHQY6KYUDcjs.TRUST_CENTER_PAGE_PATH,
|
|
12624
12624
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
12625
12625
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12626
12626
|
},
|
|
@@ -12646,7 +12646,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12646
12646
|
label: "Blog post",
|
|
12647
12647
|
contentRefType: "blog_post_existing",
|
|
12648
12648
|
bareInline: true,
|
|
12649
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12649
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.BlogCard, { loading: true, size: "sm" }),
|
|
12650
12650
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12651
12651
|
BlogChatCard,
|
|
12652
12652
|
{
|
|
@@ -12688,7 +12688,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12688
12688
|
label: "Customer interview",
|
|
12689
12689
|
contentRefType: "customer_interview",
|
|
12690
12690
|
bareInline: true,
|
|
12691
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12691
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
12692
12692
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12693
12693
|
CustomerInterviewChatCard,
|
|
12694
12694
|
{
|
|
@@ -12704,9 +12704,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12704
12704
|
label: "Product release",
|
|
12705
12705
|
contentRefType: "product_release",
|
|
12706
12706
|
bareInline: true,
|
|
12707
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12707
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
12708
12708
|
render: (item, chatRef, opts) => {
|
|
12709
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => (
|
|
12709
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkHQY6KYUDcjs.defaultBuildProductReleaseCardProps));
|
|
12710
12710
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12711
12711
|
ProductReleaseChatCard,
|
|
12712
12712
|
{
|
|
@@ -12724,7 +12724,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12724
12724
|
label: "Investor update",
|
|
12725
12725
|
contentRefType: "investor_update",
|
|
12726
12726
|
bareInline: true,
|
|
12727
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12727
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
12728
12728
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12729
12729
|
InvestorUpdateChatCard,
|
|
12730
12730
|
{
|
|
@@ -12742,7 +12742,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12742
12742
|
bareInline: true,
|
|
12743
12743
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12744
12744
|
displayAction: true,
|
|
12745
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12745
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQY6KYUDcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
12746
12746
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12747
12747
|
OnboardingGuideChatCard,
|
|
12748
12748
|
{
|
|
@@ -12815,7 +12815,7 @@ function ChatCardLoader({
|
|
|
12815
12815
|
entry: fetchEntry,
|
|
12816
12816
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12817
12817
|
composeContentUrl: runtime.composeContentUrl,
|
|
12818
|
-
resolveHref: (href) =>
|
|
12818
|
+
resolveHref: (href) => _chunkHQY6KYUDcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12819
12819
|
});
|
|
12820
12820
|
const hrefResolvedChatRef = {
|
|
12821
12821
|
...chatRef,
|
|
@@ -13906,7 +13906,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13906
13906
|
return () => root.removeEventListener("click", onClick);
|
|
13907
13907
|
}, [viewUrlPrefix]);
|
|
13908
13908
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13909
|
-
|
|
13909
|
+
_chunkHQY6KYUDcjs.ImageGalleryModal,
|
|
13910
13910
|
{
|
|
13911
13911
|
images: state.images,
|
|
13912
13912
|
isOpen: state.isOpen,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHF35SNRUcjs = require('./chunk-HF35SNRU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkRGGV3YOPcjs = require('./chunk-RGGV3YOP.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
|
|
@@ -18,7 +18,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkHQY6KYUDcjs = require('./chunk-HQY6KYUD.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunk3SENOTWTcjs = require('./chunk-3SENOTWT.cjs');
|
|
@@ -42,7 +42,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
42
42
|
function DocSearchResultRow({ result, isHighlighted }) {
|
|
43
43
|
const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
|
|
44
44
|
const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
|
|
45
|
-
const { Icon: SourceIcon, label: iconLabel } =
|
|
45
|
+
const { Icon: SourceIcon, label: iconLabel } = _chunkRGGV3YOPcjs.resolveSourceIcon.call(void 0, {
|
|
46
46
|
sourceRepo,
|
|
47
47
|
documentType: docType
|
|
48
48
|
});
|
|
@@ -72,7 +72,7 @@ function DocSearchBar({
|
|
|
72
72
|
renderResult
|
|
73
73
|
}) {
|
|
74
74
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
-
|
|
75
|
+
_chunkHF35SNRUcjs.SearchInput,
|
|
76
76
|
{
|
|
77
77
|
placeholder,
|
|
78
78
|
value: query,
|
|
@@ -122,7 +122,7 @@ function mapDocSearchResults(docs) {
|
|
|
122
122
|
results.push({
|
|
123
123
|
id: `group-${entry.repo}`,
|
|
124
124
|
// Same table label and count as the chat's grouped chip: one owner each.
|
|
125
|
-
title: `${
|
|
125
|
+
title: `${_chunkRGGV3YOPcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkRGGV3YOPcjs.recordCountLabel.call(void 0, rows.length)}`,
|
|
126
126
|
path: rows[0].path,
|
|
127
127
|
type: "file",
|
|
128
128
|
metadata: {
|
|
@@ -314,31 +314,31 @@ function useDocSearch(config) {
|
|
|
314
314
|
case "navigate-same-tab": {
|
|
315
315
|
if (wantsNewTab) {
|
|
316
316
|
setKeepOpen(true);
|
|
317
|
-
window.open(action.href, "_blank",
|
|
317
|
+
window.open(action.href, "_blank", _chunkHQY6KYUDcjs.NEW_TAB_FEATURES);
|
|
318
318
|
return;
|
|
319
319
|
}
|
|
320
320
|
setKeepOpen(false);
|
|
321
321
|
const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
|
|
322
322
|
if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
|
|
323
|
-
router.push(
|
|
323
|
+
router.push(_chunkHQY6KYUDcjs.stripSameOriginToPath.call(void 0, action.href));
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
326
326
|
case "navigate-new-tab":
|
|
327
327
|
setKeepOpen(true);
|
|
328
328
|
if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
|
|
329
329
|
const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
|
|
330
|
-
|
|
330
|
+
_chunkHQY6KYUDcjs.resolveExternalNavigation.call(void 0, {
|
|
331
331
|
href: action.href,
|
|
332
332
|
targetPlatform,
|
|
333
333
|
runtime
|
|
334
334
|
}).open();
|
|
335
335
|
return;
|
|
336
336
|
}
|
|
337
|
-
window.open(action.href, "_blank",
|
|
337
|
+
window.open(action.href, "_blank", _chunkHQY6KYUDcjs.NEW_TAB_FEATURES);
|
|
338
338
|
return;
|
|
339
339
|
case "ask-ai":
|
|
340
340
|
setKeepOpen(false);
|
|
341
|
-
window.dispatchEvent(new CustomEvent(
|
|
341
|
+
window.dispatchEvent(new CustomEvent(_chunkRGGV3YOPcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
|
|
342
342
|
return;
|
|
343
343
|
case "route":
|
|
344
344
|
setKeepOpen(false);
|