@flamingo-stack/openframe-frontend-core 0.0.642-2204.6308.1 → 0.0.642
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-EIZAYFJG.cjs → chunk-2NRLRRMR.cjs} +2 -1
- package/dist/chunk-2NRLRRMR.cjs.map +1 -0
- package/dist/{chunk-QCBDRVPP.cjs → chunk-2Z5FPHOL.cjs} +20 -20
- package/dist/{chunk-QCBDRVPP.cjs.map → chunk-2Z5FPHOL.cjs.map} +1 -1
- package/dist/{chunk-KQ3GWJTV.js → chunk-3I6XHQUD.js} +7 -2
- package/dist/{chunk-KQ3GWJTV.js.map → chunk-3I6XHQUD.js.map} +1 -1
- package/dist/{chunk-QOOZ2XYR.js → chunk-3IPL6G7S.js} +2 -1
- package/dist/{chunk-QOOZ2XYR.js.map → chunk-3IPL6G7S.js.map} +1 -1
- package/dist/{chunk-TDI5TPLV.js → chunk-3LXJEXPH.js} +2 -2
- package/dist/{chunk-JZDWYATY.js → chunk-6GY6DFIH.js} +6 -6
- package/dist/{chunk-HQHGPQGL.js → chunk-6NHLZORM.js} +6 -6
- package/dist/{chunk-ICBCUOWB.cjs → chunk-EW3MSJOE.cjs} +33 -33
- package/dist/{chunk-ICBCUOWB.cjs.map → chunk-EW3MSJOE.cjs.map} +1 -1
- package/dist/{chunk-U7BPVYBA.cjs → chunk-FRCUUK5X.cjs} +3 -3
- package/dist/{chunk-U7BPVYBA.cjs.map → chunk-FRCUUK5X.cjs.map} +1 -1
- package/dist/{chunk-P3KGQ5I5.cjs → chunk-GEIHTN6J.cjs} +10 -10
- package/dist/{chunk-P3KGQ5I5.cjs.map → chunk-GEIHTN6J.cjs.map} +1 -1
- package/dist/{chunk-B5UDLUAY.js → chunk-HW7BLVQH.js} +4 -4
- package/dist/{chunk-MQF6L2YR.js → chunk-J4RZVLLQ.js} +5 -5
- package/dist/{chunk-GAMXLFVO.cjs → chunk-M4PJVFBF.cjs} +11 -11
- package/dist/{chunk-GAMXLFVO.cjs.map → chunk-M4PJVFBF.cjs.map} +1 -1
- package/dist/{chunk-TIZA2HM6.js → chunk-M7QROULE.js} +5 -5
- package/dist/{chunk-6OAKIE7E.js → chunk-MJ424FEC.js} +2 -2
- package/dist/{chunk-BZVPQBTJ.cjs → chunk-N5C5P2LM.cjs} +22 -22
- package/dist/{chunk-BZVPQBTJ.cjs.map → chunk-N5C5P2LM.cjs.map} +1 -1
- package/dist/{chunk-RZFQJRBA.cjs → chunk-O4LL7RQV.cjs} +199 -199
- package/dist/{chunk-RZFQJRBA.cjs.map → chunk-O4LL7RQV.cjs.map} +1 -1
- package/dist/{chunk-5CEQO3VK.cjs → chunk-OOOOC5O5.cjs} +29 -29
- package/dist/{chunk-5CEQO3VK.cjs.map → chunk-OOOOC5O5.cjs.map} +1 -1
- package/dist/{chunk-4DQZ2TOA.js → chunk-ORFJVMAL.js} +3 -3
- package/dist/{chunk-YQTVZX4Q.cjs → chunk-OYI3K5R6.cjs} +6 -6
- package/dist/{chunk-YQTVZX4Q.cjs.map → chunk-OYI3K5R6.cjs.map} +1 -1
- package/dist/{chunk-T7YPVVRY.js → chunk-POPL3W2S.js} +3 -3
- package/dist/{chunk-VVARNDTE.cjs → chunk-QY25ZP2V.cjs} +28 -28
- package/dist/{chunk-VVARNDTE.cjs.map → chunk-QY25ZP2V.cjs.map} +1 -1
- package/dist/{chunk-IUC6DXSH.js → chunk-S254VEDE.js} +3 -3
- package/dist/{chunk-MVCMQ4FE.js → chunk-SDGMLXIP.js} +3 -3
- package/dist/{chunk-ZQPC5K6H.cjs → chunk-SE6YRE3R.cjs} +32 -32
- package/dist/{chunk-ZQPC5K6H.cjs.map → chunk-SE6YRE3R.cjs.map} +1 -1
- package/dist/{chunk-N3NPUKSB.js → chunk-UFBWNVZZ.js} +7 -7
- package/dist/{chunk-BYJHTHP7.cjs → chunk-VHB3I6F3.cjs} +150 -145
- package/dist/chunk-VHB3I6F3.cjs.map +1 -0
- package/dist/{chunk-3G7MMZIU.cjs → chunk-VKPTN5MT.cjs} +6 -6
- package/dist/{chunk-3G7MMZIU.cjs.map → chunk-VKPTN5MT.cjs.map} +1 -1
- package/dist/{chunk-J7G22DOL.cjs → chunk-WL3PNUNY.cjs} +81 -81
- package/dist/{chunk-J7G22DOL.cjs.map → chunk-WL3PNUNY.cjs.map} +1 -1
- package/dist/{chunk-3DFAGD5C.cjs → chunk-XFLJC2WR.cjs} +59 -59
- package/dist/{chunk-3DFAGD5C.cjs.map → chunk-XFLJC2WR.cjs.map} +1 -1
- package/dist/{chunk-FKXA5M2O.js → chunk-XWGHLSAL.js} +4 -4
- package/dist/{chunk-LFCA7Q6N.cjs → chunk-YE3TFNW6.cjs} +5 -5
- package/dist/{chunk-LFCA7Q6N.cjs.map → chunk-YE3TFNW6.cjs.map} +1 -1
- package/dist/{chunk-CJQENU3P.js → chunk-YM6L3WM5.js} +3 -3
- package/dist/{chunk-7BVIL6SO.cjs → chunk-YRSRP4U3.cjs} +15 -15
- package/dist/{chunk-7BVIL6SO.cjs.map → chunk-YRSRP4U3.cjs.map} +1 -1
- package/dist/{chunk-TUPJGQ42.js → chunk-ZAIYD3MZ.js} +3 -3
- package/dist/{chunk-VISEICVF.js → chunk-ZGPJ3NVF.js} +3 -3
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +53 -53
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/index.cjs +8 -8
- package/dist/index.js +7 -7
- package/dist/utils/index.cjs +3 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +3 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +5 -1
- package/src/utils/__tests__/list-url.test.ts +2 -1
- package/src/utils/list-url.ts +1 -0
- package/src/utils/source-icons.ts +3 -0
- package/dist/chunk-BYJHTHP7.cjs.map +0 -1
- package/dist/chunk-EIZAYFJG.cjs.map +0 -1
- /package/dist/{chunk-TDI5TPLV.js.map → chunk-3LXJEXPH.js.map} +0 -0
- /package/dist/{chunk-JZDWYATY.js.map → chunk-6GY6DFIH.js.map} +0 -0
- /package/dist/{chunk-HQHGPQGL.js.map → chunk-6NHLZORM.js.map} +0 -0
- /package/dist/{chunk-B5UDLUAY.js.map → chunk-HW7BLVQH.js.map} +0 -0
- /package/dist/{chunk-MQF6L2YR.js.map → chunk-J4RZVLLQ.js.map} +0 -0
- /package/dist/{chunk-TIZA2HM6.js.map → chunk-M7QROULE.js.map} +0 -0
- /package/dist/{chunk-6OAKIE7E.js.map → chunk-MJ424FEC.js.map} +0 -0
- /package/dist/{chunk-4DQZ2TOA.js.map → chunk-ORFJVMAL.js.map} +0 -0
- /package/dist/{chunk-T7YPVVRY.js.map → chunk-POPL3W2S.js.map} +0 -0
- /package/dist/{chunk-IUC6DXSH.js.map → chunk-S254VEDE.js.map} +0 -0
- /package/dist/{chunk-MVCMQ4FE.js.map → chunk-SDGMLXIP.js.map} +0 -0
- /package/dist/{chunk-N3NPUKSB.js.map → chunk-UFBWNVZZ.js.map} +0 -0
- /package/dist/{chunk-FKXA5M2O.js.map → chunk-XWGHLSAL.js.map} +0 -0
- /package/dist/{chunk-CJQENU3P.js.map → chunk-YM6L3WM5.js.map} +0 -0
- /package/dist/{chunk-TUPJGQ42.js.map → chunk-ZAIYD3MZ.js.map} +0 -0
- /package/dist/{chunk-VISEICVF.js.map → chunk-ZGPJ3NVF.js.map} +0 -0
|
@@ -171,7 +171,7 @@ var _chunkYRTMAXLEcjs = require('./chunk-YRTMAXLE.cjs');
|
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
var
|
|
174
|
+
var _chunk2NRLRRMRcjs = require('./chunk-2NRLRRMR.cjs');
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -4789,7 +4789,7 @@ function MspOrganizationCard({
|
|
|
4789
4789
|
className
|
|
4790
4790
|
),
|
|
4791
4791
|
children: [
|
|
4792
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4793
4793
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4794
4794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4795
4795
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -4922,7 +4922,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4922
4922
|
] })
|
|
4923
4923
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4924
4924
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4925
|
-
|
|
4925
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
4926
4926
|
{
|
|
4927
4927
|
src: userAvatar,
|
|
4928
4928
|
alt: userName,
|
|
@@ -7306,7 +7306,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7306
7306
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7307
7307
|
// no filled pill — the icon carries its own brand accent.
|
|
7308
7308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7309
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7309
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { ...avatarProps })),
|
|
7310
7310
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7311
7311
|
"span",
|
|
7312
7312
|
{
|
|
@@ -8102,7 +8102,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8102
8102
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8103
8103
|
function useProxiedImageUrl(url) {
|
|
8104
8104
|
const r = _chunkUPKZU6QUcjs.useRequiredChatRuntime.call(void 0, );
|
|
8105
|
-
return _nullishCoalesce(
|
|
8105
|
+
return _nullishCoalesce(_chunk2NRLRRMRcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8106
8106
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8107
8107
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8108
8108
|
directHttps: true
|
|
@@ -8128,7 +8128,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8128
8128
|
height: 40,
|
|
8129
8129
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8130
8130
|
}
|
|
8131
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children:
|
|
8131
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children: _chunk2NRLRRMRcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8132
8132
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8133
8133
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8134
8134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-body text-[14px] font-bold leading-[1.33] tracking-[-0.02em] text-ods-text-primary md:text-[15px]", children: displayName }),
|
|
@@ -9432,7 +9432,7 @@ function MingoChatHistoryRow({
|
|
|
9432
9432
|
hasMenu && (menuOpen ? "pointer-events-none opacity-0" : "md:group-hover/row:pointer-events-none md:group-hover/row:opacity-0 md:peer-[:focus-within]/menu:pointer-events-none md:peer-[:focus-within]/menu:opacity-0")
|
|
9433
9433
|
),
|
|
9434
9434
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9435
|
-
|
|
9435
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
9436
9436
|
{
|
|
9437
9437
|
variant: "round",
|
|
9438
9438
|
sizePx: 24,
|
|
@@ -10573,7 +10573,7 @@ function ChatPanelHeader({
|
|
|
10573
10573
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10574
10574
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10575
10575
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10576
|
-
|
|
10576
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
10577
10577
|
{
|
|
10578
10578
|
variant: "round",
|
|
10579
10579
|
sizePx: 32,
|
|
@@ -10787,8 +10787,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10787
10787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10788
10788
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10789
10789
|
status === "sniffing" && "Checking\u2026",
|
|
10790
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10791
|
-
status === "ready" &&
|
|
10790
|
+
status === "uploading" && `${progress}% \xB7 ${_chunk2NRLRRMRcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10791
|
+
status === "ready" && _chunk2NRLRRMRcjs.formatFileSize.call(void 0, file.size),
|
|
10792
10792
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10793
10793
|
] })
|
|
10794
10794
|
] }),
|
|
@@ -11585,10 +11585,10 @@ function resolveExternalNavigation(args) {
|
|
|
11585
11585
|
|
|
11586
11586
|
// src/components/chat/utils/execute-navigation.ts
|
|
11587
11587
|
function isForeignOriginHref(href) {
|
|
11588
|
-
return /^https?:\/\//i.test(href) && !
|
|
11588
|
+
return /^https?:\/\//i.test(href) && !_chunk2NRLRRMRcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11589
11589
|
}
|
|
11590
11590
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11591
|
-
const isNewTab = runtime ?
|
|
11591
|
+
const isNewTab = runtime ? _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11592
11592
|
if (isNewTab) {
|
|
11593
11593
|
if (_optionalChain([runtime, 'optionalAccess', _204 => _204.navigation, 'access', _205 => _205.openExternal])) runtime.navigation.openExternal(href);
|
|
11594
11594
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11647,7 +11647,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11647
11647
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11648
11648
|
const panel = useChatPanel();
|
|
11649
11649
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11650
|
-
const isNewTab =
|
|
11650
|
+
const isNewTab = _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11651
11651
|
const onClick = (e) => {
|
|
11652
11652
|
const handled = executeNavigation({
|
|
11653
11653
|
event: e,
|
|
@@ -11659,7 +11659,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11659
11659
|
});
|
|
11660
11660
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
11661
11661
|
};
|
|
11662
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11662
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunk2NRLRRMRcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11663
11663
|
}
|
|
11664
11664
|
|
|
11665
11665
|
// src/components/chat/source-action-button.tsx
|
|
@@ -12962,9 +12962,9 @@ function UserDisplay({
|
|
|
12962
12962
|
}) {
|
|
12963
12963
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
12964
12964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12965
|
-
|
|
12965
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
12966
12966
|
{
|
|
12967
|
-
src: avatarUrl ?
|
|
12967
|
+
src: avatarUrl ? _chunk2NRLRRMRcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12968
12968
|
fallback: name,
|
|
12969
12969
|
alt: name,
|
|
12970
12970
|
sizePx: size2,
|
|
@@ -13464,7 +13464,7 @@ function VideoHoverPreviewSurface({
|
|
|
13464
13464
|
return () => io.disconnect();
|
|
13465
13465
|
}, [gateControlled]);
|
|
13466
13466
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13467
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13467
|
+
const { src: posterSrc, onError: onPosterError } = _chunk2NRLRRMRcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13468
13468
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13469
13469
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootElRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13470
13470
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13582,7 +13582,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13582
13582
|
|
|
13583
13583
|
function VideoBitesStrip({
|
|
13584
13584
|
bites,
|
|
13585
|
-
title =
|
|
13585
|
+
title = _chunk2NRLRRMRcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13586
13586
|
showTitle = true,
|
|
13587
13587
|
filterPublished = true,
|
|
13588
13588
|
profile = null,
|
|
@@ -13595,7 +13595,7 @@ function VideoBitesStrip({
|
|
|
13595
13595
|
cardHeightMobile = 300,
|
|
13596
13596
|
showChevrons = true,
|
|
13597
13597
|
onBiteNavigate,
|
|
13598
|
-
sortComparator =
|
|
13598
|
+
sortComparator = _chunk2NRLRRMRcjs.sortBitesByCreatedAtDesc,
|
|
13599
13599
|
className
|
|
13600
13600
|
}) {
|
|
13601
13601
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13820,7 +13820,7 @@ function EntityVideoSection({
|
|
|
13820
13820
|
title = "Video",
|
|
13821
13821
|
videoSummary,
|
|
13822
13822
|
videoBites,
|
|
13823
|
-
bitesTitle =
|
|
13823
|
+
bitesTitle = _chunk2NRLRRMRcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13824
13824
|
filterPublishedBites = true,
|
|
13825
13825
|
bitesProfile = null,
|
|
13826
13826
|
bitesHref,
|
|
@@ -14059,7 +14059,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
14059
14059
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
14060
14060
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
14061
14061
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
14062
|
-
const dateText =
|
|
14062
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14063
14063
|
const idLabel = formatActivityId(item.id, kind);
|
|
14064
14064
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
14065
14065
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14093,26 +14093,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14093
14093
|
metaParts.push(
|
|
14094
14094
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14095
14095
|
);
|
|
14096
|
-
const href =
|
|
14096
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14097
14097
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14098
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14099
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14100
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14099
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14100
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14101
14101
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14103
14103
|
] }),
|
|
14104
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14105
14105
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14106
14106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14107
14107
|
] }, i)) }) }),
|
|
14108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14109
14109
|
] }),
|
|
14110
14110
|
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
|
|
14111
14111
|
] });
|
|
14112
14112
|
if (anchorProps) {
|
|
14113
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14113
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14114
14114
|
}
|
|
14115
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14115
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14116
14116
|
}
|
|
14117
14117
|
function GitHubActivityCardSkeleton({
|
|
14118
14118
|
variant = "compact",
|
|
@@ -14129,12 +14129,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14129
14129
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14130
14130
|
] });
|
|
14131
14131
|
}
|
|
14132
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14133
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14134
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14132
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14133
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14134
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14137
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14138
14138
|
] }),
|
|
14139
14139
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14140
14140
|
] });
|
|
@@ -14158,7 +14158,7 @@ function parseChannelFromUrl(url) {
|
|
|
14158
14158
|
}
|
|
14159
14159
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14160
14160
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14161
|
-
const dateText =
|
|
14161
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14162
14162
|
if (variant === "row") {
|
|
14163
14163
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14164
14164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14184,23 +14184,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14184
14184
|
metaParts.push(
|
|
14185
14185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14186
14186
|
);
|
|
14187
|
-
const href =
|
|
14187
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14188
14188
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14189
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14190
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14190
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14194
14194
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14195
14195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14196
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14196
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14197
14197
|
] }),
|
|
14198
14198
|
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
|
|
14199
14199
|
] });
|
|
14200
14200
|
if (anchorProps) {
|
|
14201
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14201
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14202
14202
|
}
|
|
14203
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14203
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14204
14204
|
}
|
|
14205
14205
|
function SlackMessageCardSkeleton({
|
|
14206
14206
|
variant = "compact",
|
|
@@ -14215,12 +14215,12 @@ function SlackMessageCardSkeleton({
|
|
|
14215
14215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14216
14216
|
] });
|
|
14217
14217
|
}
|
|
14218
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14219
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14220
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14221
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14218
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14220
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14221
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14223
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14224
14224
|
] }),
|
|
14225
14225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14226
14226
|
] });
|
|
@@ -14251,12 +14251,12 @@ function statusScheme(status) {
|
|
|
14251
14251
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14252
14252
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14253
14253
|
const priorityText = formatToken(item.priority);
|
|
14254
|
-
const dateText =
|
|
14254
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14255
14255
|
if (variant === "row") {
|
|
14256
14256
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14257
14257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14258
14258
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
14259
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14259
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14260
14260
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14261
14261
|
] });
|
|
14262
14262
|
}
|
|
@@ -14270,13 +14270,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14270
14270
|
metaParts.push(
|
|
14271
14271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14272
14272
|
);
|
|
14273
|
-
const href =
|
|
14273
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14274
14274
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14275
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14275
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14276
14276
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14277
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14277
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14278
14278
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14279
|
-
|
|
14279
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
14280
14280
|
{
|
|
14281
14281
|
text: priorityText,
|
|
14282
14282
|
variant: "button",
|
|
@@ -14285,7 +14285,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14285
14285
|
}
|
|
14286
14286
|
) : null,
|
|
14287
14287
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14288
|
-
|
|
14288
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
14289
14289
|
{
|
|
14290
14290
|
text: statusText,
|
|
14291
14291
|
variant: "button",
|
|
@@ -14299,7 +14299,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14299
14299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14300
14300
|
] }) : null,
|
|
14301
14301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
14302
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14302
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14303
14303
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14304
14304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14305
14305
|
] }, i)) }) }) : null
|
|
@@ -14307,9 +14307,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14307
14307
|
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
|
|
14308
14308
|
] });
|
|
14309
14309
|
if (anchorProps) {
|
|
14310
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14310
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14311
14311
|
}
|
|
14312
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14312
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14313
14313
|
}
|
|
14314
14314
|
function HubspotTicketCardSkeleton({
|
|
14315
14315
|
variant = "compact",
|
|
@@ -14323,8 +14323,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14323
14323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14324
14324
|
] });
|
|
14325
14325
|
}
|
|
14326
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14327
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14326
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14327
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14328
14328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14329
14329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14330
14330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14337,7 +14337,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14337
14337
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14338
14338
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14339
14339
|
] }),
|
|
14340
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14340
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14341
14341
|
] }),
|
|
14342
14342
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14343
14343
|
] });
|
|
@@ -14348,10 +14348,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14348
14348
|
|
|
14349
14349
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14350
14350
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14351
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14351
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14352
14352
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14353
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14355
14355
|
] }),
|
|
14356
14356
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
14357
14357
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14362,13 +14362,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14362
14362
|
_optionalChain([anchorProps, 'optionalAccess', _344 => _344.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
|
|
14363
14363
|
] });
|
|
14364
14364
|
if (!anchorProps) {
|
|
14365
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14365
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14366
14366
|
}
|
|
14367
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14367
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14368
14368
|
}
|
|
14369
14369
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14370
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14371
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14370
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14371
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14372
14372
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14373
14373
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14374
14374
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14389,29 +14389,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14389
14389
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14390
14390
|
const goalsCount = _optionalChain([campaign, 'access', _345 => _345.goals, 'optionalAccess', _346 => _346.length]) || 0;
|
|
14391
14391
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14393
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14395
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14396
|
-
campaign.start_date ?
|
|
14392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14393
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14396
|
+
campaign.start_date ? _chunk2NRLRRMRcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14397
14397
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14398
14398
|
"Marketing campaign"
|
|
14399
14399
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14400
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14401
14401
|
] })
|
|
14402
14402
|
] });
|
|
14403
14403
|
if (anchorProps) {
|
|
14404
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14404
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14405
14405
|
}
|
|
14406
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14406
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14407
14407
|
}
|
|
14408
14408
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14409
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14410
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14411
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14412
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14409
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14410
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14411
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14415
14415
|
] })
|
|
14416
14416
|
] });
|
|
14417
14417
|
}
|
|
@@ -14420,14 +14420,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14420
14420
|
|
|
14421
14421
|
|
|
14422
14422
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14423
|
-
const href =
|
|
14424
|
-
const dateText =
|
|
14423
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14424
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14425
14425
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14426
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14426
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14427
14427
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14428
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14428
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14429
14429
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14430
|
-
|
|
14430
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
14431
14431
|
{
|
|
14432
14432
|
text: item.badge.text,
|
|
14433
14433
|
variant: "button",
|
|
@@ -14445,18 +14445,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14445
14445
|
] }),
|
|
14446
14446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14447
14447
|
] }, i)) }) : null,
|
|
14448
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14448
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14449
14449
|
] }),
|
|
14450
14450
|
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
|
|
14451
14451
|
] });
|
|
14452
14452
|
if (anchorProps) {
|
|
14453
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14453
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14454
14454
|
}
|
|
14455
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14455
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14456
14456
|
}
|
|
14457
14457
|
function GenericEntityCardSkeleton({ className }) {
|
|
14458
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14459
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14458
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14459
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14460
14460
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14461
14461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14462
14462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14505,8 +14505,8 @@ function useChatCardItem(type, id) {
|
|
|
14505
14505
|
const res = await _chunkEHAYNUOLcjs.embedAuthedFetch.call(void 0, url);
|
|
14506
14506
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14507
14507
|
const data = await res.json();
|
|
14508
|
-
const items =
|
|
14509
|
-
const match = items.find((it) =>
|
|
14508
|
+
const items = _chunk2NRLRRMRcjs.extractItems.call(void 0, data);
|
|
14509
|
+
const match = items.find((it) => _chunk2NRLRRMRcjs.extractItemId.call(void 0, type, it) === id);
|
|
14510
14510
|
return _nullishCoalesce(match, () => ( null));
|
|
14511
14511
|
},
|
|
14512
14512
|
enabled: !!url && id.length > 0,
|
|
@@ -14539,7 +14539,7 @@ function useChatCardItem(type, id) {
|
|
|
14539
14539
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14540
14540
|
if (imageSrc) {
|
|
14541
14541
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children:
|
|
14542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: _chunk2NRLRRMRcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
14543
14543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14544
14544
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14545
14545
|
{
|
|
@@ -14697,7 +14697,7 @@ function resolveFetchedCardHref({
|
|
|
14697
14697
|
composeContentUrl
|
|
14698
14698
|
}) {
|
|
14699
14699
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14700
|
-
const canonicalType =
|
|
14700
|
+
const canonicalType = _chunk2NRLRRMRcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14701
14701
|
return composeContentUrl({
|
|
14702
14702
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14703
14703
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14756,6 +14756,7 @@ var SOURCE_ICON_NAMES = {
|
|
|
14756
14756
|
"ai-prompts": "message-square",
|
|
14757
14757
|
// Product-hub internal
|
|
14758
14758
|
"design-docs": "file-text",
|
|
14759
|
+
"openframe-tenants": "openframe",
|
|
14759
14760
|
"prospect-calls": "phone"
|
|
14760
14761
|
};
|
|
14761
14762
|
function getSourceIconName(tableId) {
|
|
@@ -14812,6 +14813,7 @@ var SOURCE_LABELS_BY_TABLE = {
|
|
|
14812
14813
|
"ai-prompts": "Squawkbox",
|
|
14813
14814
|
// Product-hub internal
|
|
14814
14815
|
"design-docs": "Design Docs",
|
|
14816
|
+
"openframe-tenants": "OpenFrame Tenants",
|
|
14815
14817
|
"prospect-calls": "Prospect calls"
|
|
14816
14818
|
};
|
|
14817
14819
|
function getSourceLabel(tableId) {
|
|
@@ -14861,6 +14863,7 @@ var DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = {
|
|
|
14861
14863
|
ai_prompt: "ai-prompts",
|
|
14862
14864
|
// Product-hub internal
|
|
14863
14865
|
design_doc: "design-docs",
|
|
14866
|
+
openframe_tenant: "openframe-tenants",
|
|
14864
14867
|
prospect_call: "prospect-calls"
|
|
14865
14868
|
};
|
|
14866
14869
|
function defaultTableIdForDocumentType(documentType) {
|
|
@@ -14904,16 +14907,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14904
14907
|
if (docTarget) {
|
|
14905
14908
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14906
14909
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14907
|
-
href = _nullishCoalesce(
|
|
14910
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14908
14911
|
targetPlatform = docTarget.platform;
|
|
14909
14912
|
} else if (ctx.chipBasePlatform) {
|
|
14910
14913
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14911
|
-
href = _nullishCoalesce(
|
|
14914
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14912
14915
|
targetPlatform = ctx.chipBasePlatform;
|
|
14913
14916
|
} else if (ctx.baseRoute) {
|
|
14914
14917
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14915
14918
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14916
|
-
href = _nullishCoalesce(
|
|
14919
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14917
14920
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14918
14921
|
}
|
|
14919
14922
|
}
|
|
@@ -14922,15 +14925,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14922
14925
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14923
14926
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14924
14927
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14925
|
-
type:
|
|
14928
|
+
type: _chunk2NRLRRMRcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14926
14929
|
identifier: idValue,
|
|
14927
14930
|
externalUrl: row.externalUrl,
|
|
14928
14931
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14929
14932
|
});
|
|
14930
|
-
href = composed.href ? _nullishCoalesce(
|
|
14933
|
+
href = composed.href ? _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14931
14934
|
targetPlatform = composed.targetPlatform;
|
|
14932
14935
|
} else if (row.externalUrl) {
|
|
14933
|
-
href = _nullishCoalesce(
|
|
14936
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14934
14937
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14935
14938
|
}
|
|
14936
14939
|
const documentType = row.documentType;
|
|
@@ -14965,11 +14968,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
14965
14968
|
|
|
14966
14969
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
14967
14970
|
const label = entityLabel || "Item";
|
|
14968
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
14969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14970
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
14971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14971
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
14973
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
14975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
14973
14976
|
label,
|
|
14974
14977
|
" deleted",
|
|
14975
14978
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15015,7 +15018,7 @@ function GitHubChatCard({
|
|
|
15015
15018
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
15016
15019
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
15017
15020
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
15018
|
-
const dateText =
|
|
15021
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
15019
15022
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
15020
15023
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15021
15024
|
MingoInfoCard,
|
|
@@ -15024,7 +15027,7 @@ function GitHubChatCard({
|
|
|
15024
15027
|
description,
|
|
15025
15028
|
icon: githubKindIcon(kind),
|
|
15026
15029
|
status,
|
|
15027
|
-
anchorProps:
|
|
15030
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15028
15031
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15029
15032
|
menuAriaLabel: "Activity actions"
|
|
15030
15033
|
}
|
|
@@ -15171,7 +15174,7 @@ function HubspotTicketChatCard({
|
|
|
15171
15174
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15172
15175
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 24 }),
|
|
15173
15176
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15174
|
-
anchorProps:
|
|
15177
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15175
15178
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15176
15179
|
label: "Open Ticket Details",
|
|
15177
15180
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 20 })
|
|
@@ -15194,7 +15197,7 @@ function FaqChatCard({
|
|
|
15194
15197
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15195
15198
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 24 }),
|
|
15196
15199
|
status: { label: statusLabel, variant: "grey" },
|
|
15197
|
-
anchorProps:
|
|
15200
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15198
15201
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15199
15202
|
menuAriaLabel: "FAQ actions"
|
|
15200
15203
|
}
|
|
@@ -15214,7 +15217,7 @@ function SlackChatCard({
|
|
|
15214
15217
|
title,
|
|
15215
15218
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15216
15219
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15217
|
-
anchorProps:
|
|
15220
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15218
15221
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15219
15222
|
menuAriaLabel: "Message actions"
|
|
15220
15223
|
}
|
|
@@ -15232,7 +15235,7 @@ function GlyphChatCard({
|
|
|
15232
15235
|
title: chatRef.title,
|
|
15233
15236
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15234
15237
|
icon,
|
|
15235
|
-
anchorProps:
|
|
15238
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15236
15239
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15237
15240
|
menuAriaLabel: "Card actions"
|
|
15238
15241
|
}
|
|
@@ -15251,7 +15254,7 @@ function DataRoomDocChatCard({
|
|
|
15251
15254
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15252
15255
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }),
|
|
15253
15256
|
status: { label: badgeText, variant: "grey" },
|
|
15254
|
-
anchorProps:
|
|
15257
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15255
15258
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15256
15259
|
menuAriaLabel: "Document actions"
|
|
15257
15260
|
}
|
|
@@ -15270,7 +15273,7 @@ function GenericFinancialChatCard({
|
|
|
15270
15273
|
title: chatRef.title,
|
|
15271
15274
|
description: subtitle,
|
|
15272
15275
|
icon,
|
|
15273
|
-
anchorProps:
|
|
15276
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15274
15277
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15275
15278
|
menuAriaLabel: "Document actions"
|
|
15276
15279
|
}
|
|
@@ -15356,7 +15359,7 @@ function CampaignChatCard({
|
|
|
15356
15359
|
}) {
|
|
15357
15360
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _378 => _378.goals])) ? item.goals.length : 0;
|
|
15358
15361
|
const meta = [
|
|
15359
|
-
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ?
|
|
15362
|
+
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ? _chunk2NRLRRMRcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15360
15363
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15361
15364
|
"Marketing campaign"
|
|
15362
15365
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15395,7 +15398,7 @@ function EntityMingoCard({
|
|
|
15395
15398
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15396
15399
|
icon: fallbackIcon,
|
|
15397
15400
|
status,
|
|
15398
|
-
anchorProps:
|
|
15401
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15399
15402
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15400
15403
|
menuAriaLabel
|
|
15401
15404
|
}
|
|
@@ -15407,7 +15410,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15407
15410
|
function statusPill(status) {
|
|
15408
15411
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15409
15412
|
if (!s) return void 0;
|
|
15410
|
-
const scheme =
|
|
15413
|
+
const scheme = _chunk2NRLRRMRcjs.getStatusColorScheme.call(void 0, s);
|
|
15411
15414
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15412
15415
|
return { label: s, variant };
|
|
15413
15416
|
}
|
|
@@ -15494,7 +15497,7 @@ function InvestorUpdateChatCard({
|
|
|
15494
15497
|
EntityMingoCard,
|
|
15495
15498
|
{
|
|
15496
15499
|
title,
|
|
15497
|
-
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) ||
|
|
15500
|
+
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) || _chunk2NRLRRMRcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _410 => _410.period_end]), () => ( null))) || void 0,
|
|
15498
15501
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15499
15502
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PresentationLineIcon, { size: 24 }),
|
|
15500
15503
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15541,15 +15544,15 @@ function ProgramChatCard({
|
|
|
15541
15544
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15542
15545
|
let typeMeta;
|
|
15543
15546
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
15544
|
-
typeMeta =
|
|
15547
|
+
typeMeta = _chunk2NRLRRMRcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
15545
15548
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _420 => _420.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
15546
15549
|
typeMeta = item.location_name;
|
|
15547
15550
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _421 => _421.start_at])) {
|
|
15548
|
-
const time =
|
|
15549
|
-
const dur =
|
|
15551
|
+
const time = _chunk2NRLRRMRcjs.formatTimeWithTimezone.call(void 0, item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
15552
|
+
const dur = _chunk2NRLRRMRcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
15550
15553
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
15551
15554
|
}
|
|
15552
|
-
const itemDate =
|
|
15555
|
+
const itemDate = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _422 => _422.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
15553
15556
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
15554
15557
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15555
15558
|
EntityMingoCard,
|
|
@@ -15576,7 +15579,7 @@ function RoadmapChatCard({
|
|
|
15576
15579
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15577
15580
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15578
15581
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MapIcon, { size: 24 });
|
|
15579
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15582
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15580
15583
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15581
15584
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15582
15585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15645,8 +15648,10 @@ var GITHUB_CARD_CONFIGS = {
|
|
|
15645
15648
|
github_pr_review: { label: "GitHub review", kind: "pr_review" },
|
|
15646
15649
|
github_pr_review_public: { label: "GitHub review (public)", kind: "pr_review" }
|
|
15647
15650
|
};
|
|
15651
|
+
var OpenFrameGlyph = resolveIcon("openframe");
|
|
15648
15652
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
15649
15653
|
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }) },
|
|
15654
|
+
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OpenFrameGlyph, { size: 24 }) },
|
|
15650
15655
|
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CallIcon, { size: 24 }), media: true }
|
|
15651
15656
|
};
|
|
15652
15657
|
function refGlyphRegistryEntries() {
|
|
@@ -15721,7 +15726,7 @@ function programRegistryEntries() {
|
|
|
15721
15726
|
label: cfg.label,
|
|
15722
15727
|
contentRefType: cfg.contentRefType,
|
|
15723
15728
|
bareInline: true,
|
|
15724
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15729
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15725
15730
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15726
15731
|
ProgramChatCard,
|
|
15727
15732
|
{
|
|
@@ -15762,7 +15767,7 @@ function roadmapRegistryEntries() {
|
|
|
15762
15767
|
bareInline: true,
|
|
15763
15768
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15764
15769
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15765
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15770
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15766
15771
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15767
15772
|
RoadmapChatCard,
|
|
15768
15773
|
{
|
|
@@ -15838,7 +15843,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15838
15843
|
label: "Blog post",
|
|
15839
15844
|
contentRefType: "blog_post_existing",
|
|
15840
15845
|
bareInline: true,
|
|
15841
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15846
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.BlogCardSkeleton, { size: "sm" }),
|
|
15842
15847
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15843
15848
|
BlogChatCard,
|
|
15844
15849
|
{
|
|
@@ -15855,7 +15860,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15855
15860
|
label: "Case study",
|
|
15856
15861
|
contentRefType: "case_study",
|
|
15857
15862
|
bareInline: true,
|
|
15858
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15863
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
15859
15864
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15860
15865
|
CaseStudyChatCard,
|
|
15861
15866
|
{
|
|
@@ -15871,7 +15876,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15871
15876
|
label: "Customer interview",
|
|
15872
15877
|
contentRefType: "customer_interview",
|
|
15873
15878
|
bareInline: true,
|
|
15874
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15879
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
15875
15880
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15876
15881
|
CustomerInterviewChatCard,
|
|
15877
15882
|
{
|
|
@@ -15887,9 +15892,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15887
15892
|
label: "Product release",
|
|
15888
15893
|
contentRefType: "product_release",
|
|
15889
15894
|
bareInline: true,
|
|
15890
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15895
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
15891
15896
|
render: (item, chatRef, opts) => {
|
|
15892
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => (
|
|
15897
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => ( _chunk2NRLRRMRcjs.defaultBuildProductReleaseCardProps));
|
|
15893
15898
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15894
15899
|
ProductReleaseChatCard,
|
|
15895
15900
|
{
|
|
@@ -15907,7 +15912,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15907
15912
|
label: "Investor update",
|
|
15908
15913
|
contentRefType: "investor_update",
|
|
15909
15914
|
bareInline: true,
|
|
15910
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15915
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
15911
15916
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15912
15917
|
InvestorUpdateChatCard,
|
|
15913
15918
|
{
|
|
@@ -15925,7 +15930,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15925
15930
|
bareInline: true,
|
|
15926
15931
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
15927
15932
|
displayAction: true,
|
|
15928
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15933
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
15929
15934
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15930
15935
|
OnboardingGuideChatCard,
|
|
15931
15936
|
{
|
|
@@ -16025,13 +16030,13 @@ function ChatCardLoader({
|
|
|
16025
16030
|
}) : null;
|
|
16026
16031
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
16027
16032
|
...resolvedChatRef,
|
|
16028
|
-
url:
|
|
16033
|
+
url: _chunk2NRLRRMRcjs.safeHref.call(void 0, hrefChoice.href),
|
|
16029
16034
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
16030
16035
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
16031
16036
|
} : resolvedChatRef;
|
|
16032
16037
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16033
16038
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16034
|
-
const isNewTab =
|
|
16039
|
+
const isNewTab = _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16035
16040
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16036
16041
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16037
16042
|
const discuss = discussFn ? {
|
|
@@ -17525,7 +17530,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17525
17530
|
return () => root.removeEventListener("click", onClick);
|
|
17526
17531
|
}, [viewUrlPrefix]);
|
|
17527
17532
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17528
|
-
|
|
17533
|
+
_chunk2NRLRRMRcjs.ImageGalleryModal,
|
|
17529
17534
|
{
|
|
17530
17535
|
images: state.images,
|
|
17531
17536
|
isOpen: state.isOpen,
|
|
@@ -24329,7 +24334,7 @@ function SourceChip({
|
|
|
24329
24334
|
const Icon = cta.icon;
|
|
24330
24335
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24331
24336
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24332
|
-
const decideTab = (href, targetPlatform) =>
|
|
24337
|
+
const decideTab = (href, targetPlatform) => _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24333
24338
|
if (src.items && src.items.length > 0) {
|
|
24334
24339
|
const dropdownItems = src.items.map((item) => {
|
|
24335
24340
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24418,7 +24423,7 @@ function SourceChip({
|
|
|
24418
24423
|
"a",
|
|
24419
24424
|
{
|
|
24420
24425
|
href: resolvedHref,
|
|
24421
|
-
...
|
|
24426
|
+
..._chunk2NRLRRMRcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24422
24427
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24423
24428
|
className: chipClass,
|
|
24424
24429
|
children: chipBody(src.name)
|
|
@@ -24434,7 +24439,7 @@ function SourceChip({
|
|
|
24434
24439
|
"a",
|
|
24435
24440
|
{
|
|
24436
24441
|
href: resolvedHref,
|
|
24437
|
-
...
|
|
24442
|
+
..._chunk2NRLRRMRcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24438
24443
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24439
24444
|
className: chipClass,
|
|
24440
24445
|
title: displayName,
|
|
@@ -25230,7 +25235,7 @@ function EmbeddableChatInner({
|
|
|
25230
25235
|
headerAvatar ? (
|
|
25231
25236
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
25232
25237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25233
|
-
|
|
25238
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
25234
25239
|
{
|
|
25235
25240
|
variant: "round",
|
|
25236
25241
|
sizePx: 32,
|
|
@@ -25949,4 +25954,4 @@ function EmbeddableChatInner({
|
|
|
25949
25954
|
|
|
25950
25955
|
|
|
25951
25956
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat;
|
|
25952
|
-
//# sourceMappingURL=chunk-
|
|
25957
|
+
//# sourceMappingURL=chunk-VHB3I6F3.cjs.map
|