@flamingo-stack/openframe-frontend-core 0.0.750 → 0.0.752
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-OFO75R2O.cjs → chunk-35RU25PJ.cjs} +130 -130
- package/dist/{chunk-ALPRQ3ZX.cjs → chunk-3GG3QAPT.cjs} +15 -15
- package/dist/{chunk-7RCTOWBA.cjs → chunk-4OTCQEP3.cjs} +28 -28
- package/dist/{chunk-XJ3J4UIS.cjs → chunk-4PEG4JTM.cjs} +19 -19
- package/dist/{chunk-3TELPOVH.cjs → chunk-7OEVVMAU.cjs} +2 -2
- package/dist/{chunk-CNUZLOVA.cjs → chunk-7WEGXNNS.cjs} +40 -40
- package/dist/{chunk-C6LPOYDM.cjs → chunk-AG4HR6Z6.cjs} +8 -8
- package/dist/{chunk-V3UJ6NDR.cjs → chunk-EM4OEWCM.cjs} +171 -171
- package/dist/{chunk-HOEVD6EN.cjs → chunk-EUQJ7QHW.cjs} +4 -4
- package/dist/{chunk-FP6HAJQV.cjs → chunk-G44V3UGE.cjs} +105 -105
- package/dist/{chunk-2YXOD2KL.cjs → chunk-H3RYUTND.cjs} +5 -0
- package/dist/{chunk-JPUTILTV.cjs → chunk-IPVJAML5.cjs} +94 -94
- package/dist/{chunk-KVSEWACW.cjs → chunk-J5G4CF2V.cjs} +28 -28
- package/dist/{chunk-2J2OBP4N.cjs → chunk-JI6NRWCC.cjs} +21 -21
- package/dist/{chunk-4O2KYY4K.cjs → chunk-KBJSZFBZ.cjs} +3 -3
- package/dist/{chunk-G7SBHMRR.cjs → chunk-KHKPLOU4.cjs} +69 -39
- package/dist/{chunk-45YRDD7W.cjs → chunk-KUVYVAS2.cjs} +22 -22
- package/dist/{chunk-UGCRLRCT.cjs → chunk-NO5UJLLQ.cjs} +2 -5
- package/dist/{chunk-WZX26ODJ.cjs → chunk-OXCGQV6B.cjs} +152 -133
- package/dist/{chunk-FHT7SMA7.cjs → chunk-OXEAN3EQ.cjs} +47 -47
- package/dist/{chunk-E3KFEOFA.cjs → chunk-P4ODFQGA.cjs} +7 -7
- package/dist/{chunk-AW6GP3JK.cjs → chunk-RDH63XXW.cjs} +83 -83
- package/dist/{chunk-CLAJIQ7E.cjs → chunk-U2AE4UG7.cjs} +19 -19
- package/dist/{chunk-6KEJQR6L.cjs → chunk-VD3XBUQR.cjs} +797 -797
- package/dist/{chunk-4FWURR3W.cjs → chunk-VUWPLQBY.cjs} +2 -2
- package/dist/{chunk-YL62VAHC.cjs → chunk-WQCLN27R.cjs} +6 -6
- package/dist/{chunk-GVETSV7H.cjs → chunk-XADJG35G.cjs} +48 -48
- package/dist/{chunk-BO6ZOAPB.cjs → chunk-Y6PVZRYL.cjs} +12 -12
- package/dist/{chunk-DGEB5GUZ.cjs → chunk-ZVOXBSDP.cjs} +2 -2
- package/dist/{chunk-34TWK3JE.cjs → chunk-ZYRRRKSZ.cjs} +3 -3
- package/dist/{cloud-tenants-E4JSG3GH.cjs → cloud-tenants-WAOMZZQ2.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts +7 -5
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.js +33 -14
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/types/api.types.d.ts +27 -8
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/chat/types/network.types.d.ts +2 -1
- package/dist/components/chat/types/network.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +123 -123
- package/dist/components/index.cjs +64 -64
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -5
- package/dist/components/loading/unified-skeleton.d.ts +2 -0
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +5 -0
- package/dist/components/meeting-scheduler/index.cjs +79 -79
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/file-manager/index.cjs +30 -30
- package/dist/components/ui/index.cjs +13 -13
- package/dist/{devices-AVRQGB2N.cjs → devices-VFEPXW2N.cjs} +14 -14
- package/dist/{embeddable-chat-SNYQSMS7.cjs → embeddable-chat-BYQBABDV.cjs} +74 -74
- package/dist/hooks/index.cjs +3 -3
- package/dist/index.cjs +17 -17
- package/dist/{knowledge-S3CNISQH.cjs → knowledge-4TE7AWZX.cjs} +14 -14
- package/dist/{logs-WDLOKDXT.cjs → logs-3B2P3JXN.cjs} +21 -21
- package/dist/nats/index.cjs +2 -2
- package/dist/nats/nats.d.ts +33 -7
- package/dist/nats/nats.d.ts.map +1 -1
- package/dist/nats/nats.js +41 -11
- package/dist/{policies-STML7NEZ.cjs → policies-DVI6V22X.cjs} +17 -17
- package/dist/{remote-session-ZKP2W3IS.cjs → remote-session-57DGC4X3.cjs} +6 -6
- package/dist/{scripts-HO53VYGX.cjs → scripts-JJ2BVYQ5.cjs} +20 -20
- package/dist/{software-update-4VTK7LWQ.cjs → software-update-BN23RATE.cjs} +17 -17
- package/dist/{tickets-board-BNW4AYFL.cjs → tickets-board-EP6L3BSV.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/hooks/use-jetstream-dialog-subscription.ts +59 -23
- package/src/components/chat/types/api.types.ts +27 -8
- package/src/components/chat/types/network.types.ts +2 -1
- package/src/components/loading/loading-region.tsx +4 -9
- package/src/components/loading/unified-skeleton.tsx +13 -0
- package/src/nats/nats.ts +91 -20
|
@@ -315,7 +315,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
var
|
|
318
|
+
var _chunk35RU25PJcjs = require('./chunk-35RU25PJ.cjs');
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
var _chunkL2IQESTQcjs = require('./chunk-L2IQESTQ.cjs');
|
|
@@ -359,7 +359,7 @@ var _chunkK6VWTUCHcjs = require('./chunk-K6VWTUCH.cjs');
|
|
|
359
359
|
var _chunkZ74QE57Tcjs = require('./chunk-Z74QE57T.cjs');
|
|
360
360
|
|
|
361
361
|
|
|
362
|
-
var
|
|
362
|
+
var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
|
|
363
363
|
|
|
364
364
|
|
|
365
365
|
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
@@ -370,7 +370,7 @@ var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
|
370
370
|
|
|
371
371
|
|
|
372
372
|
|
|
373
|
-
var
|
|
373
|
+
var _chunkKHKPLOU4cjs = require('./chunk-KHKPLOU4.cjs');
|
|
374
374
|
|
|
375
375
|
|
|
376
376
|
var _chunkRB6BSE3Ocjs = require('./chunk-RB6BSE3O.cjs');
|
|
@@ -379,7 +379,7 @@ var _chunkRB6BSE3Ocjs = require('./chunk-RB6BSE3O.cjs');
|
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
|
|
382
|
-
var
|
|
382
|
+
var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
|
|
383
383
|
|
|
384
384
|
|
|
385
385
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -3923,12 +3923,12 @@ function MspOrganizationCardSkeleton({ className }) {
|
|
|
3923
3923
|
className
|
|
3924
3924
|
),
|
|
3925
3925
|
children: [
|
|
3926
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3926
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-12 shrink-0 rounded-md" }),
|
|
3927
3927
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center gap-2 self-stretch", children: [
|
|
3928
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3929
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3928
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-3/5 rounded-md" }),
|
|
3929
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-2/5 rounded-md" })
|
|
3930
3930
|
] }),
|
|
3931
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3931
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-12 shrink-0 rounded-md" })
|
|
3932
3932
|
]
|
|
3933
3933
|
}
|
|
3934
3934
|
);
|
|
@@ -4028,10 +4028,10 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4028
4028
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: cardClasses, children: [
|
|
4029
4029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 px-4 py-3", children: [
|
|
4030
4030
|
isLoading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4031
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4031
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-16 shrink-0 rounded-full" }),
|
|
4032
4032
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
4033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4034
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4033
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-40" }),
|
|
4034
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-28" })
|
|
4035
4035
|
] })
|
|
4036
4036
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4037
4037
|
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,
|
|
@@ -4199,7 +4199,7 @@ function ContextItemsSkeleton({ count }) {
|
|
|
4199
4199
|
"div",
|
|
4200
4200
|
{
|
|
4201
4201
|
className: "flex items-center border-b border-ods-border bg-ods-bg py-3 pl-4 pr-2 last:border-b-0",
|
|
4202
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4202
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-1/2" })
|
|
4203
4203
|
},
|
|
4204
4204
|
`ctx-skeleton-${i}`
|
|
4205
4205
|
)) });
|
|
@@ -4251,7 +4251,7 @@ function ContextItemsList({
|
|
|
4251
4251
|
);
|
|
4252
4252
|
}),
|
|
4253
4253
|
loadingMore && // `contents`: the rows stay the list's own rows; the region only adds the one announcement.
|
|
4254
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4254
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading more items", className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextItemsSkeleton, { count: 3 }) })
|
|
4255
4255
|
]
|
|
4256
4256
|
}
|
|
4257
4257
|
);
|
|
@@ -4506,7 +4506,7 @@ function ChatContextPicker({
|
|
|
4506
4506
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4507
4507
|
_react.Suspense,
|
|
4508
4508
|
{
|
|
4509
|
-
fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4509
|
+
fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading items", className: "max-h-[340px] overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextItemsSkeleton, { count: ITEMS_SKELETON_ROWS }) }),
|
|
4510
4510
|
children: config.renderItems({
|
|
4511
4511
|
type: activeType.type,
|
|
4512
4512
|
query: debouncedQuery,
|
|
@@ -5209,11 +5209,11 @@ function ChatMessageSkeleton({
|
|
|
5209
5209
|
const lines = Math.max(1, bodyLines);
|
|
5210
5210
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "relative py-[var(--spacing-system-s)]", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
5211
5211
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
5212
|
-
showAvatar && !isUser && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5212
|
+
showAvatar && !isUser && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-8 flex-shrink-0 rounded-full" }),
|
|
5213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-32 rounded" }),
|
|
5214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "ml-auto h-4 w-14 rounded" })
|
|
5215
5215
|
] }),
|
|
5216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-2 pt-[var(--spacing-system-xxs)]", children: Array.from({ length: lines }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-2 pt-[var(--spacing-system-xxs)]", children: Array.from({ length: lines }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "h-4 rounded", bodyLineWidth(i, lines)) }, i)) })
|
|
5217
5217
|
] }) });
|
|
5218
5218
|
}
|
|
5219
5219
|
function ChatMessageListSkeleton({
|
|
@@ -5230,7 +5230,7 @@ function ChatMessageListSkeleton({
|
|
|
5230
5230
|
id: index,
|
|
5231
5231
|
isUser: index % 3 === 0
|
|
5232
5232
|
}));
|
|
5233
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5233
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading messages", announce: region, className: "relative flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5234
5234
|
"div",
|
|
5235
5235
|
{
|
|
5236
5236
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -5907,7 +5907,7 @@ function renderQuickActionIcon(icon) {
|
|
|
5907
5907
|
if (!spec.name && !spec.url) return void 0;
|
|
5908
5908
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
5909
5909
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
5910
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5910
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
5911
5911
|
}
|
|
5912
5912
|
function composeChipLabel(label, lozenge) {
|
|
5913
5913
|
if (!lozenge) return label;
|
|
@@ -5946,11 +5946,11 @@ function QuickActionChipSkeleton({
|
|
|
5946
5946
|
variant: "outline",
|
|
5947
5947
|
size: question ? "sentence" : size,
|
|
5948
5948
|
className: _chunk3ATAYP36cjs.cn.call(void 0, question && "max-w-full", className),
|
|
5949
|
-
icon: icon && !question ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5949
|
+
icon: icon && !question ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: size === "large" ? "block size-5" : "block size-4" }) : void 0,
|
|
5950
5950
|
label: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
5951
|
-
lozenge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5951
|
+
lozenge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: "mr-2 inline-block h-[16px] w-[26px] translate-y-[2px]" }),
|
|
5952
5952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5953
|
-
|
|
5953
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
5954
5954
|
{
|
|
5955
5955
|
as: "span",
|
|
5956
5956
|
"aria-hidden": true,
|
|
@@ -6581,7 +6581,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6581
6581
|
|
|
6582
6582
|
[Attached: ${safeName}](${url})`;
|
|
6583
6583
|
}
|
|
6584
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6584
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunk35RU25PJcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6585
6585
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6586
6586
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6587
6587
|
"gm"
|
|
@@ -7281,16 +7281,16 @@ function MingoOnboardingCardSkeleton({
|
|
|
7281
7281
|
),
|
|
7282
7282
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
7283
7283
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
7284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 shrink-0 rounded-sm" }),
|
|
7285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "h-3.5 rounded-sm", titleWidth) }),
|
|
7286
7286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1" }),
|
|
7287
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7287
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "h-3.5 shrink-0 rounded-sm", slashWidth) })
|
|
7288
7288
|
] }),
|
|
7289
7289
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
7290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7291
|
-
descriptionLines === 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3.5 w-full rounded-sm" }),
|
|
7291
|
+
descriptionLines === 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3.5 w-[70%] rounded-sm" }) : null
|
|
7292
7292
|
] }),
|
|
7293
|
-
hasChips ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-[var(--spacing-system-xs)] flex flex-wrap items-center gap-[var(--spacing-system-xxs)]", children: chipWidths.map((w, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7293
|
+
hasChips ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-[var(--spacing-system-xs)] flex flex-wrap items-center gap-[var(--spacing-system-xxs)]", children: chipWidths.map((w, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "h-7 rounded-md", w) }, i)) }) : null
|
|
7294
7294
|
] })
|
|
7295
7295
|
}
|
|
7296
7296
|
);
|
|
@@ -7305,7 +7305,7 @@ var ROW_VARIANTS = [
|
|
|
7305
7305
|
];
|
|
7306
7306
|
function MingoOnboardingListSkeleton({ region = true, rows = 6, className }) {
|
|
7307
7307
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7308
|
-
|
|
7308
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
7309
7309
|
{
|
|
7310
7310
|
label: "Loading slash commands",
|
|
7311
7311
|
announce: region,
|
|
@@ -7556,18 +7556,18 @@ function MingoChatHistorySkeleton({
|
|
|
7556
7556
|
["w-1/2", "w-2/3"]
|
|
7557
7557
|
];
|
|
7558
7558
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7559
|
-
|
|
7559
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
7560
7560
|
{
|
|
7561
7561
|
label: "Loading conversations",
|
|
7562
7562
|
announce: region,
|
|
7563
7563
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] overflow-hidden", className),
|
|
7564
7564
|
children: groups.map((widths, g) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
7565
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7565
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-16 rounded" }),
|
|
7566
7566
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden rounded-md border border-ods-border", children: widths.map((w, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7567
7567
|
"div",
|
|
7568
7568
|
{
|
|
7569
7569
|
className: "flex h-12 items-center border-b border-ods-border bg-ods-bg px-[var(--spacing-system-s)] last:border-b-0",
|
|
7570
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7570
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "h-4 rounded", w) })
|
|
7571
7571
|
},
|
|
7572
7572
|
i
|
|
7573
7573
|
)) })
|
|
@@ -7858,11 +7858,11 @@ function GuideWelcome({
|
|
|
7858
7858
|
icon && (icon.name || icon.url) ? (
|
|
7859
7859
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
7860
7860
|
// match the default Mingo mark (48px).
|
|
7861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
7862
7862
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVO7FALWcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7863
7863
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7864
7864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
7865
|
-
subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle }) : subtitleLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7865
|
+
subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle }) : subtitleLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-3/4 max-w-80 rounded-sm" }) }) : null
|
|
7866
7866
|
] })
|
|
7867
7867
|
] }),
|
|
7868
7868
|
children
|
|
@@ -8078,7 +8078,7 @@ function MingoArchiveList({
|
|
|
8078
8078
|
dialog.id
|
|
8079
8079
|
)),
|
|
8080
8080
|
hasMore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-px shrink-0", "aria-hidden": true })
|
|
8081
|
-
] }) : isLoading ? Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8081
|
+
] }) : isLoading ? Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { "aria-hidden": true, className: "h-10 shrink-0 rounded-md" }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8082
8082
|
ChatListEmptyState,
|
|
8083
8083
|
{
|
|
8084
8084
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKFICYKQQcjs.BoxArchiveIcon, { size: 24 }),
|
|
@@ -8382,7 +8382,7 @@ function MingoChatRail({
|
|
|
8382
8382
|
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
8383
8383
|
] });
|
|
8384
8384
|
} else if (isLoadingHistory) {
|
|
8385
|
-
list = Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8385
|
+
list = Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { "aria-hidden": true, className: "h-10 shrink-0 rounded-md" }, i));
|
|
8386
8386
|
} else if (dialogs.length === 0 && !draftTitle) {
|
|
8387
8387
|
list = hasSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "px-[var(--spacing-system-xs)] py-[var(--spacing-system-s)] text-ods-text-secondary text-h6", children: "No chats found" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8388
8388
|
ChatListEmptyState,
|
|
@@ -9397,9 +9397,9 @@ function BreakdownRow({
|
|
|
9397
9397
|
ModelDisplay.displayName = "ModelDisplay";
|
|
9398
9398
|
var ModelDisplaySkeleton = _react2.default.forwardRef(
|
|
9399
9399
|
({ className, showTokens = false, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1 text-h6", className), ...props, children: [
|
|
9400
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9402
|
-
showTokens && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-4 shrink-0 rounded-sm" }),
|
|
9401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-24" }),
|
|
9402
|
+
showTokens && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "ml-auto h-3 w-32" })
|
|
9403
9403
|
] })
|
|
9404
9404
|
);
|
|
9405
9405
|
ModelDisplaySkeleton.displayName = "ModelDisplaySkeleton";
|
|
@@ -9615,16 +9615,16 @@ function useChatPanel() {
|
|
|
9615
9615
|
|
|
9616
9616
|
// src/components/chat/utils/execute-navigation.ts
|
|
9617
9617
|
function isForeignOriginHref(href) {
|
|
9618
|
-
return /^https?:\/\//i.test(href) && !
|
|
9618
|
+
return /^https?:\/\//i.test(href) && !_chunk35RU25PJcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9619
9619
|
}
|
|
9620
9620
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9621
|
-
const isNewTab = runtime ?
|
|
9621
|
+
const isNewTab = runtime ? _chunk35RU25PJcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9622
9622
|
if (isNewTab) {
|
|
9623
9623
|
if (_optionalChain([runtime, 'optionalAccess', _202 => _202.navigation, 'access', _203 => _203.openExternal])) runtime.navigation.openExternal(href);
|
|
9624
|
-
else window.open(href, "_blank",
|
|
9624
|
+
else window.open(href, "_blank", _chunk35RU25PJcjs.NEW_TAB_FEATURES);
|
|
9625
9625
|
return;
|
|
9626
9626
|
}
|
|
9627
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9627
|
+
const target = isForeignOriginHref(href) ? href : _chunk35RU25PJcjs.stripSameOriginToPath.call(void 0, href);
|
|
9628
9628
|
if (target.includes("#") && _chunkCSJO7ZGNcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9629
9629
|
return;
|
|
9630
9630
|
}
|
|
@@ -9675,8 +9675,8 @@ function useNavLinkViaRuntime({
|
|
|
9675
9675
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9676
9676
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9677
9677
|
const panel = useChatPanel();
|
|
9678
|
-
const resolvedHref =
|
|
9679
|
-
const isNewTab =
|
|
9678
|
+
const resolvedHref = _chunk35RU25PJcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9679
|
+
const isNewTab = _chunk35RU25PJcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9680
9680
|
const onClick = (e) => {
|
|
9681
9681
|
_optionalChain([onClickProp, 'optionalCall', _207 => _207(e)]);
|
|
9682
9682
|
if (e.defaultPrevented) return;
|
|
@@ -9690,7 +9690,7 @@ function useNavLinkViaRuntime({
|
|
|
9690
9690
|
});
|
|
9691
9691
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _208 => _208.closeChat])) panel.closeChat();
|
|
9692
9692
|
};
|
|
9693
|
-
const attrs =
|
|
9693
|
+
const attrs = _chunk35RU25PJcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9694
9694
|
return {
|
|
9695
9695
|
href: resolvedHref,
|
|
9696
9696
|
...attrs,
|
|
@@ -9837,7 +9837,7 @@ function UserDisplay({
|
|
|
9837
9837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9838
9838
|
_chunkJHQNUWFMcjs.SquareAvatar,
|
|
9839
9839
|
{
|
|
9840
|
-
src: avatarUrl ?
|
|
9840
|
+
src: avatarUrl ? _chunk35RU25PJcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
9841
9841
|
fallback: name,
|
|
9842
9842
|
alt: name,
|
|
9843
9843
|
sizePx: size,
|
|
@@ -10287,7 +10287,7 @@ function CardsStrip(props) {
|
|
|
10287
10287
|
},
|
|
10288
10288
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
10289
10289
|
children: [
|
|
10290
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10290
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk35RU25PJcjs.SECTION_HEADING_CLASS} break-words`, children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
10291
10291
|
headerSlot,
|
|
10292
10292
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
10293
10293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10439,7 +10439,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
10439
10439
|
|
|
10440
10440
|
function VideoBitesStrip({
|
|
10441
10441
|
bites,
|
|
10442
|
-
title =
|
|
10442
|
+
title = _chunk35RU25PJcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10443
10443
|
showTitle = true,
|
|
10444
10444
|
filterPublished = true,
|
|
10445
10445
|
profile = null,
|
|
@@ -10452,7 +10452,7 @@ function VideoBitesStrip({
|
|
|
10452
10452
|
cardHeightMobile = 300,
|
|
10453
10453
|
showChevrons = true,
|
|
10454
10454
|
onBiteNavigate,
|
|
10455
|
-
sortComparator =
|
|
10455
|
+
sortComparator = _chunk35RU25PJcjs.sortBitesByCreatedAtDesc,
|
|
10456
10456
|
className
|
|
10457
10457
|
}) {
|
|
10458
10458
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -10618,7 +10618,7 @@ function VideoBiteCard({
|
|
|
10618
10618
|
},
|
|
10619
10619
|
children: [
|
|
10620
10620
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10621
|
-
|
|
10621
|
+
_chunk35RU25PJcjs.VideoHoverPreviewSurface,
|
|
10622
10622
|
{
|
|
10623
10623
|
url: bite.url,
|
|
10624
10624
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10689,7 +10689,7 @@ function EntityVideoSection({
|
|
|
10689
10689
|
title = "Video",
|
|
10690
10690
|
videoSummary,
|
|
10691
10691
|
videoBites,
|
|
10692
|
-
bitesTitle =
|
|
10692
|
+
bitesTitle = _chunk35RU25PJcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10693
10693
|
filterPublishedBites = true,
|
|
10694
10694
|
bitesProfile = null,
|
|
10695
10695
|
bitesHref,
|
|
@@ -10735,7 +10735,7 @@ function EntityVideoSection({
|
|
|
10735
10735
|
)
|
|
10736
10736
|
] }),
|
|
10737
10737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10738
|
-
|
|
10738
|
+
_chunk35RU25PJcjs.Video,
|
|
10739
10739
|
{
|
|
10740
10740
|
kind: fullVideoKind,
|
|
10741
10741
|
url: fullVideoUrl,
|
|
@@ -10747,7 +10747,7 @@ function EntityVideoSection({
|
|
|
10747
10747
|
}
|
|
10748
10748
|
) }),
|
|
10749
10749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10750
|
-
|
|
10750
|
+
_chunk35RU25PJcjs.Video,
|
|
10751
10751
|
{
|
|
10752
10752
|
url: highlightVideoUrl,
|
|
10753
10753
|
poster: highlightVideoThumbnail,
|
|
@@ -10756,7 +10756,7 @@ function EntityVideoSection({
|
|
|
10756
10756
|
}
|
|
10757
10757
|
) })
|
|
10758
10758
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10759
|
-
|
|
10759
|
+
_chunk35RU25PJcjs.Video,
|
|
10760
10760
|
{
|
|
10761
10761
|
kind: fullVideoKind,
|
|
10762
10762
|
url: fullVideoUrl,
|
|
@@ -10767,7 +10767,7 @@ function EntityVideoSection({
|
|
|
10767
10767
|
priority
|
|
10768
10768
|
}
|
|
10769
10769
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10770
|
-
|
|
10770
|
+
_chunk35RU25PJcjs.Video,
|
|
10771
10771
|
{
|
|
10772
10772
|
url: highlightVideoUrl,
|
|
10773
10773
|
poster: highlightVideoThumbnail,
|
|
@@ -10777,7 +10777,7 @@ function EntityVideoSection({
|
|
|
10777
10777
|
}
|
|
10778
10778
|
) : null),
|
|
10779
10779
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10780
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk35RU25PJcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10781
10781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
|
|
10782
10782
|
] }),
|
|
10783
10783
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10839,33 +10839,33 @@ function designDocPeople(doc) {
|
|
|
10839
10839
|
return people;
|
|
10840
10840
|
}
|
|
10841
10841
|
function designDocMetaLine(doc) {
|
|
10842
|
-
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10842
|
+
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunk35RU25PJcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10843
10843
|
}
|
|
10844
10844
|
function DesignDocCardSkeleton() {
|
|
10845
10845
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10846
10846
|
"div",
|
|
10847
10847
|
{
|
|
10848
10848
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10849
|
-
|
|
10849
|
+
_chunk35RU25PJcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
10850
10850
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
10851
10851
|
),
|
|
10852
10852
|
children: [
|
|
10853
10853
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
10854
10854
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
10855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
10856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-1/3" })
|
|
10857
10857
|
] }),
|
|
10858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, { className: "hidden w-24 md:block" })
|
|
10859
10859
|
] }),
|
|
10860
10860
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[72px] flex-col justify-center gap-2", children: [
|
|
10861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10862
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, {}),
|
|
10862
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, {}),
|
|
10863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
10864
10864
|
] }),
|
|
10865
10865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
10866
10866
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
10867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10868
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
10868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Avatar, { size: "sm" })
|
|
10869
10869
|
] })
|
|
10870
10870
|
]
|
|
10871
10871
|
}
|
|
@@ -10874,7 +10874,7 @@ function DesignDocCardSkeleton() {
|
|
|
10874
10874
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
10875
10875
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
10876
10876
|
const people = designDocPeople(doc);
|
|
10877
|
-
const link =
|
|
10877
|
+
const link = _chunk35RU25PJcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
10878
10878
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
10879
10879
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
10880
10880
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -10882,7 +10882,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10882
10882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
10883
10883
|
] }),
|
|
10884
10884
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10885
|
-
|
|
10885
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
10886
10886
|
{
|
|
10887
10887
|
text: readiness.label,
|
|
10888
10888
|
colorScheme: readiness.scheme,
|
|
@@ -10892,7 +10892,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10892
10892
|
}
|
|
10893
10893
|
)
|
|
10894
10894
|
] }),
|
|
10895
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10895
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
10896
10896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
10897
10897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
10898
10898
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
@@ -10901,7 +10901,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10901
10901
|
] })
|
|
10902
10902
|
] });
|
|
10903
10903
|
const outer = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10904
|
-
|
|
10904
|
+
_chunk35RU25PJcjs.CONTENT_CARD_FRAME_CLASS,
|
|
10905
10905
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
10906
10906
|
className
|
|
10907
10907
|
);
|
|
@@ -11045,26 +11045,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11045
11045
|
metaParts.push(
|
|
11046
11046
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11047
11047
|
);
|
|
11048
|
-
const href =
|
|
11048
|
+
const href = _chunk35RU25PJcjs.safeHref.call(void 0, item.url);
|
|
11049
11049
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11051
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11052
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11051
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11052
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk35RU25PJcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11053
11053
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11054
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11055
11055
|
] }),
|
|
11056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11057
11057
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11058
11058
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11059
11059
|
] }, i)) }) }),
|
|
11060
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11060
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_SUMMARY, children: _chunk35RU25PJcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11061
11061
|
] }),
|
|
11062
11062
|
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
|
|
11063
11063
|
] });
|
|
11064
11064
|
if (anchorProps) {
|
|
11065
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11065
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk35RU25PJcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11066
11066
|
}
|
|
11067
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11067
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk35RU25PJcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk35RU25PJcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11068
11068
|
}
|
|
11069
11069
|
function GitHubActivityCardSkeleton({
|
|
11070
11070
|
variant = "compact",
|
|
@@ -11073,22 +11073,22 @@ function GitHubActivityCardSkeleton({
|
|
|
11073
11073
|
if (variant === "row") {
|
|
11074
11074
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11075
11075
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
|
|
11076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11077
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
|
|
11077
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-16 rounded" })
|
|
11078
11078
|
] }),
|
|
11079
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11080
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-2/3 flex-1 rounded" }),
|
|
11080
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-40 shrink-0 rounded" }),
|
|
11081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-20 shrink-0 rounded" })
|
|
11082
11082
|
] });
|
|
11083
11083
|
}
|
|
11084
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11085
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11086
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11087
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11088
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11089
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11084
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk35RU25PJcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11085
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk35RU25PJcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11086
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11087
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-2/3 rounded" }) }),
|
|
11088
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-1/2 rounded" }) }),
|
|
11089
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_SUMMARY, children: _chunk35RU25PJcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11090
11090
|
] }),
|
|
11091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-3.5 rounded" }) })
|
|
11092
11092
|
] });
|
|
11093
11093
|
}
|
|
11094
11094
|
|
|
@@ -11098,29 +11098,29 @@ function GitHubActivityCardSkeleton({
|
|
|
11098
11098
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
11099
11099
|
const goalsCount = _optionalChain([campaign, 'access', _245 => _245.goals, 'optionalAccess', _246 => _246.length]) || 0;
|
|
11100
11100
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11101
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11102
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11104
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11105
|
-
campaign.start_date ?
|
|
11101
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
11102
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
11104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
11105
|
+
campaign.start_date ? _chunk35RU25PJcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
11106
11106
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
11107
11107
|
"Marketing campaign"
|
|
11108
11108
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
11109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunk35RU25PJcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11110
11110
|
] })
|
|
11111
11111
|
] });
|
|
11112
11112
|
if (anchorProps) {
|
|
11113
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11113
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk35RU25PJcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
11114
11114
|
}
|
|
11115
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
11115
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk35RU25PJcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
11116
11116
|
}
|
|
11117
11117
|
function CampaignCardAdminSkeleton({ className }) {
|
|
11118
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11120
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11121
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11122
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11118
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk35RU25PJcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11119
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk35RU25PJcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11120
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11121
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-3/5 rounded" }) }),
|
|
11122
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-1/2 rounded" }) }),
|
|
11123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-11/12 rounded" }) })
|
|
11124
11124
|
] })
|
|
11125
11125
|
] });
|
|
11126
11126
|
}
|
|
@@ -11211,7 +11211,7 @@ function VendorIcon({
|
|
|
11211
11211
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11212
11212
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
11213
11213
|
{
|
|
11214
|
-
src:
|
|
11214
|
+
src: _chunk35RU25PJcjs.getProxiedImageUrl2.call(void 0, logoUrl) || logoUrl,
|
|
11215
11215
|
alt: `${vendor.title} logo`,
|
|
11216
11216
|
width,
|
|
11217
11217
|
height,
|
|
@@ -11241,8 +11241,8 @@ function useChatCardItem(type, id) {
|
|
|
11241
11241
|
const res = await _chunkDGFDBPO7cjs.embedAuthedFetch.call(void 0, url);
|
|
11242
11242
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11243
11243
|
const data = await res.json();
|
|
11244
|
-
const items =
|
|
11245
|
-
const match = items.find((it) =>
|
|
11244
|
+
const items = _chunk35RU25PJcjs.extractCardItems.call(void 0, type, data);
|
|
11245
|
+
const match = items.find((it) => _chunk35RU25PJcjs.extractItemId.call(void 0, type, it) === id);
|
|
11246
11246
|
return _nullishCoalesce(match, () => ( null));
|
|
11247
11247
|
},
|
|
11248
11248
|
enabled: !!url && id.length > 0,
|
|
@@ -11316,12 +11316,12 @@ function MingoInfoCardSkeleton({ className }) {
|
|
|
11316
11316
|
className
|
|
11317
11317
|
),
|
|
11318
11318
|
children: [
|
|
11319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block size-10 shrink-0 rounded-md border border-ods-border" }),
|
|
11320
11320
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1.5", children: [
|
|
11321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-4 w-1/2 rounded" }),
|
|
11322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-3 w-3/4 rounded" })
|
|
11323
11323
|
] }),
|
|
11324
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11324
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-5 w-16 shrink-0 rounded" })
|
|
11325
11325
|
]
|
|
11326
11326
|
}
|
|
11327
11327
|
);
|
|
@@ -11444,7 +11444,7 @@ function resolveFetchedCardHref({
|
|
|
11444
11444
|
composeContentUrl
|
|
11445
11445
|
}) {
|
|
11446
11446
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11447
|
-
const canonicalType =
|
|
11447
|
+
const canonicalType = _chunk35RU25PJcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11448
11448
|
return composeContentUrl({
|
|
11449
11449
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11450
11450
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11494,16 +11494,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11494
11494
|
if (docTarget) {
|
|
11495
11495
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11496
11496
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11497
|
-
href = _nullishCoalesce(
|
|
11497
|
+
href = _nullishCoalesce(_chunk35RU25PJcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11498
11498
|
targetPlatform = docTarget.platform;
|
|
11499
11499
|
} else if (ctx.chipBasePlatform) {
|
|
11500
11500
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11501
|
-
href = _nullishCoalesce(
|
|
11501
|
+
href = _nullishCoalesce(_chunk35RU25PJcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11502
11502
|
targetPlatform = ctx.chipBasePlatform;
|
|
11503
11503
|
} else if (ctx.baseRoute) {
|
|
11504
11504
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11505
11505
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11506
|
-
href = _nullishCoalesce(
|
|
11506
|
+
href = _nullishCoalesce(_chunk35RU25PJcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11507
11507
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11508
11508
|
}
|
|
11509
11509
|
}
|
|
@@ -11512,15 +11512,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11512
11512
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11513
11513
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11514
11514
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11515
|
-
type:
|
|
11515
|
+
type: _chunk35RU25PJcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11516
11516
|
identifier: idValue,
|
|
11517
11517
|
externalUrl: row.externalUrl,
|
|
11518
11518
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11519
11519
|
});
|
|
11520
|
-
href = composed.href ? _nullishCoalesce(
|
|
11520
|
+
href = composed.href ? _nullishCoalesce(_chunk35RU25PJcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11521
11521
|
targetPlatform = composed.targetPlatform;
|
|
11522
11522
|
} else if (row.externalUrl) {
|
|
11523
|
-
href = _nullishCoalesce(
|
|
11523
|
+
href = _nullishCoalesce(_chunk35RU25PJcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11524
11524
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11525
11525
|
}
|
|
11526
11526
|
const documentType = row.documentType;
|
|
@@ -11587,7 +11587,7 @@ function resolveCardDestination({
|
|
|
11587
11587
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _260 => _260.fallbackHref, 'optionalCall', _261 => _261(item)]), () => ( null)),
|
|
11588
11588
|
allowComposed: !entry.noComposedHref
|
|
11589
11589
|
});
|
|
11590
|
-
const url = choice ? _nullishCoalesce(
|
|
11590
|
+
const url = choice ? _nullishCoalesce(_chunk35RU25PJcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11591
11591
|
if (choice && url) {
|
|
11592
11592
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11593
11593
|
}
|
|
@@ -11600,11 +11600,11 @@ function resolveCardDestination({
|
|
|
11600
11600
|
|
|
11601
11601
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11602
11602
|
const label = entityLabel || "Item";
|
|
11603
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11604
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11605
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11606
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11607
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11603
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunk35RU25PJcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11604
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk35RU25PJcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11605
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk35RU25PJcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11606
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk35RU25PJcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk35RU25PJcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11607
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk35RU25PJcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11608
11608
|
label,
|
|
11609
11609
|
" deleted",
|
|
11610
11610
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11659,7 +11659,7 @@ function GitHubChatCard({
|
|
|
11659
11659
|
description,
|
|
11660
11660
|
icon: githubKindIcon(kind),
|
|
11661
11661
|
status,
|
|
11662
|
-
anchorProps:
|
|
11662
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11663
11663
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11664
11664
|
menuAriaLabel: "Activity actions"
|
|
11665
11665
|
}
|
|
@@ -11806,7 +11806,7 @@ function HubspotTicketChatCard({
|
|
|
11806
11806
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11807
11807
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
11808
11808
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
11809
|
-
anchorProps:
|
|
11809
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11810
11810
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11811
11811
|
label: "Open Ticket Details",
|
|
11812
11812
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -11829,7 +11829,7 @@ function FaqChatCard({
|
|
|
11829
11829
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11830
11830
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
11831
11831
|
status: { label: statusLabel, variant: "grey" },
|
|
11832
|
-
anchorProps:
|
|
11832
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11833
11833
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11834
11834
|
menuAriaLabel: "FAQ actions"
|
|
11835
11835
|
}
|
|
@@ -11849,7 +11849,7 @@ function SlackChatCard({
|
|
|
11849
11849
|
title,
|
|
11850
11850
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11851
11851
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
11852
|
-
anchorProps:
|
|
11852
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11853
11853
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11854
11854
|
menuAriaLabel: "Message actions"
|
|
11855
11855
|
}
|
|
@@ -11867,7 +11867,7 @@ function GlyphChatCard({
|
|
|
11867
11867
|
title: chatRef.title,
|
|
11868
11868
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11869
11869
|
icon,
|
|
11870
|
-
anchorProps:
|
|
11870
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11871
11871
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11872
11872
|
menuAriaLabel: "Card actions"
|
|
11873
11873
|
}
|
|
@@ -11885,20 +11885,20 @@ function TrustCenterChatCard({
|
|
|
11885
11885
|
}) {
|
|
11886
11886
|
const raw2 = _optionalChain([item, 'optionalAccess', _285 => _285.frameworks]);
|
|
11887
11887
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
11888
|
-
const summary =
|
|
11888
|
+
const summary = _chunk35RU25PJcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11889
11889
|
const leadFramework = frameworks[0];
|
|
11890
11890
|
const lead = leadFramework ? {
|
|
11891
|
-
label:
|
|
11892
|
-
color:
|
|
11891
|
+
label: _chunk35RU25PJcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11892
|
+
color: _chunk35RU25PJcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11893
11893
|
} : void 0;
|
|
11894
11894
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11895
11895
|
MingoInfoCard,
|
|
11896
11896
|
{
|
|
11897
|
-
title:
|
|
11898
|
-
description: summary ||
|
|
11897
|
+
title: _chunk35RU25PJcjs.TRUST_CENTER_TITLE,
|
|
11898
|
+
description: summary || _chunk35RU25PJcjs.TRUST_CENTER_TAGLINE,
|
|
11899
11899
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11900
11900
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11901
|
-
anchorProps:
|
|
11901
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11902
11902
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11903
11903
|
label: "View trust center",
|
|
11904
11904
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -11920,7 +11920,7 @@ function DataRoomDocChatCard({
|
|
|
11920
11920
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11921
11921
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
11922
11922
|
status: { label: badgeText, variant: "grey" },
|
|
11923
|
-
anchorProps:
|
|
11923
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11924
11924
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11925
11925
|
menuAriaLabel: "Document actions"
|
|
11926
11926
|
}
|
|
@@ -11939,7 +11939,7 @@ function GenericFinancialChatCard({
|
|
|
11939
11939
|
title: chatRef.title,
|
|
11940
11940
|
description: subtitle,
|
|
11941
11941
|
icon,
|
|
11942
|
-
anchorProps:
|
|
11942
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11943
11943
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11944
11944
|
menuAriaLabel: "Document actions"
|
|
11945
11945
|
}
|
|
@@ -12025,7 +12025,7 @@ function CampaignChatCard({
|
|
|
12025
12025
|
}) {
|
|
12026
12026
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _291 => _291.goals])) ? item.goals.length : 0;
|
|
12027
12027
|
const meta = [
|
|
12028
|
-
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ?
|
|
12028
|
+
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ? _chunk35RU25PJcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12029
12029
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12030
12030
|
"Marketing campaign"
|
|
12031
12031
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12064,7 +12064,7 @@ function EntityMingoCard({
|
|
|
12064
12064
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12065
12065
|
icon: fallbackIcon,
|
|
12066
12066
|
status,
|
|
12067
|
-
anchorProps:
|
|
12067
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12068
12068
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12069
12069
|
menuAriaLabel
|
|
12070
12070
|
}
|
|
@@ -12076,7 +12076,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12076
12076
|
function statusPill(status) {
|
|
12077
12077
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12078
12078
|
if (!s) return void 0;
|
|
12079
|
-
const scheme =
|
|
12079
|
+
const scheme = _chunk35RU25PJcjs.getStatusColorScheme.call(void 0, s);
|
|
12080
12080
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12081
12081
|
return { label: s, variant };
|
|
12082
12082
|
}
|
|
@@ -12167,7 +12167,7 @@ function DesignDocChatCard({
|
|
|
12167
12167
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12168
12168
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12169
12169
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12170
|
-
anchorProps:
|
|
12170
|
+
anchorProps: _chunk35RU25PJcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12171
12171
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12172
12172
|
menuAriaLabel: "Design doc actions"
|
|
12173
12173
|
}
|
|
@@ -12185,7 +12185,7 @@ function InvestorUpdateChatCard({
|
|
|
12185
12185
|
EntityMingoCard,
|
|
12186
12186
|
{
|
|
12187
12187
|
title,
|
|
12188
|
-
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) ||
|
|
12188
|
+
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) || _chunk35RU25PJcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _324 => _324.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_end]), () => ( null))) || void 0,
|
|
12189
12189
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _326 => _326.featured_image]), ogPlaceholder),
|
|
12190
12190
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12191
12191
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12229,7 +12229,7 @@ function ProgramChatCard({
|
|
|
12229
12229
|
discuss
|
|
12230
12230
|
}) {
|
|
12231
12231
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
|
|
12232
|
-
const { line: meta } =
|
|
12232
|
+
const { line: meta } = _chunk35RU25PJcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunk35RU25PJcjs.programMetaFormatters.call(void 0, _chunk35RU25PJcjs.PROGRAM_META_RENDERERS));
|
|
12233
12233
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12234
12234
|
EntityMingoCard,
|
|
12235
12235
|
{
|
|
@@ -12255,7 +12255,7 @@ function RoadmapChatCard({
|
|
|
12255
12255
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _336 => _336.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12256
12256
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _337 => _337.customItemId]) != null;
|
|
12257
12257
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
|
|
12258
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12258
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12259
12259
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12260
12260
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12261
12261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12321,11 +12321,11 @@ function refText(ref, key) {
|
|
|
12321
12321
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12322
12322
|
}
|
|
12323
12323
|
function VendorGlyph({ title, logoUrl }) {
|
|
12324
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12324
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12325
12325
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12326
12326
|
}
|
|
12327
12327
|
function SitePageGlyph({ iconName }) {
|
|
12328
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12328
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12329
12329
|
}
|
|
12330
12330
|
var GITHUB_CARD_CONFIGS = {
|
|
12331
12331
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12442,7 +12442,7 @@ function programRegistryEntries() {
|
|
|
12442
12442
|
label: cfg.label,
|
|
12443
12443
|
contentRefType: cfg.contentRefType,
|
|
12444
12444
|
bareInline: true,
|
|
12445
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12445
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
12446
12446
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12447
12447
|
ProgramChatCard,
|
|
12448
12448
|
{
|
|
@@ -12483,7 +12483,7 @@ function roadmapRegistryEntries() {
|
|
|
12483
12483
|
bareInline: true,
|
|
12484
12484
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12485
12485
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12486
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12486
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
12487
12487
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12488
12488
|
RoadmapChatCard,
|
|
12489
12489
|
{
|
|
@@ -12541,12 +12541,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12541
12541
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12542
12542
|
// single matched row. Destination is the public page unless the host
|
|
12543
12543
|
// re-homes the type (`composeContentUrl` override).
|
|
12544
|
-
[
|
|
12544
|
+
[_chunk35RU25PJcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12545
12545
|
label: "Trust center",
|
|
12546
12546
|
bareInline: true,
|
|
12547
|
-
contentRefType:
|
|
12547
|
+
contentRefType: _chunk35RU25PJcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12548
12548
|
noComposedHref: true,
|
|
12549
|
-
fallbackHref: () =>
|
|
12549
|
+
fallbackHref: () => _chunk35RU25PJcjs.TRUST_CENTER_PAGE_PATH,
|
|
12550
12550
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
12551
12551
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12552
12552
|
},
|
|
@@ -12572,7 +12572,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12572
12572
|
label: "Blog post",
|
|
12573
12573
|
contentRefType: "blog_post_existing",
|
|
12574
12574
|
bareInline: true,
|
|
12575
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12575
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.BlogCardSkeleton, { size: "sm" }),
|
|
12576
12576
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12577
12577
|
BlogChatCard,
|
|
12578
12578
|
{
|
|
@@ -12589,7 +12589,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12589
12589
|
label: "Case study",
|
|
12590
12590
|
contentRefType: "case_study",
|
|
12591
12591
|
bareInline: true,
|
|
12592
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12592
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
12593
12593
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12594
12594
|
CaseStudyChatCard,
|
|
12595
12595
|
{
|
|
@@ -12614,7 +12614,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12614
12614
|
label: "Customer interview",
|
|
12615
12615
|
contentRefType: "customer_interview",
|
|
12616
12616
|
bareInline: true,
|
|
12617
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12617
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
12618
12618
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12619
12619
|
CustomerInterviewChatCard,
|
|
12620
12620
|
{
|
|
@@ -12630,9 +12630,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12630
12630
|
label: "Product release",
|
|
12631
12631
|
contentRefType: "product_release",
|
|
12632
12632
|
bareInline: true,
|
|
12633
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12633
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
12634
12634
|
render: (item, chatRef, opts) => {
|
|
12635
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => (
|
|
12635
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => ( _chunk35RU25PJcjs.defaultBuildProductReleaseCardProps));
|
|
12636
12636
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12637
12637
|
ProductReleaseChatCard,
|
|
12638
12638
|
{
|
|
@@ -12650,7 +12650,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12650
12650
|
label: "Investor update",
|
|
12651
12651
|
contentRefType: "investor_update",
|
|
12652
12652
|
bareInline: true,
|
|
12653
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12653
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
12654
12654
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12655
12655
|
InvestorUpdateChatCard,
|
|
12656
12656
|
{
|
|
@@ -12668,7 +12668,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12668
12668
|
bareInline: true,
|
|
12669
12669
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12670
12670
|
displayAction: true,
|
|
12671
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12671
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
12672
12672
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12673
12673
|
OnboardingGuideChatCard,
|
|
12674
12674
|
{
|
|
@@ -12741,7 +12741,7 @@ function ChatCardLoader({
|
|
|
12741
12741
|
entry: fetchEntry,
|
|
12742
12742
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12743
12743
|
composeContentUrl: runtime.composeContentUrl,
|
|
12744
|
-
resolveHref: (href) =>
|
|
12744
|
+
resolveHref: (href) => _chunk35RU25PJcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12745
12745
|
});
|
|
12746
12746
|
const hrefResolvedChatRef = {
|
|
12747
12747
|
...chatRef,
|
|
@@ -12752,7 +12752,7 @@ function ChatCardLoader({
|
|
|
12752
12752
|
};
|
|
12753
12753
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12754
12754
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12755
|
-
const isNewTab =
|
|
12755
|
+
const isNewTab = _chunk35RU25PJcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12756
12756
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12757
12757
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12758
12758
|
const discuss = discussFn ? {
|
|
@@ -13219,7 +13219,7 @@ function useNatsDialogSubscription({
|
|
|
13219
13219
|
_react.useEffect.call(void 0, () => {
|
|
13220
13220
|
if (!enabled || !wsUrl) {
|
|
13221
13221
|
if (currentWsUrlRef.current && clientRef.current) {
|
|
13222
|
-
|
|
13222
|
+
_chunkKHKPLOU4cjs.releaseClient.call(void 0, currentWsUrlRef.current);
|
|
13223
13223
|
clientRef.current = null;
|
|
13224
13224
|
currentWsUrlRef.current = "";
|
|
13225
13225
|
setIsConnected(false);
|
|
@@ -13230,13 +13230,13 @@ function useNatsDialogSubscription({
|
|
|
13230
13230
|
return void 0;
|
|
13231
13231
|
}
|
|
13232
13232
|
if (currentWsUrlRef.current && currentWsUrlRef.current !== wsUrl && clientRef.current) {
|
|
13233
|
-
|
|
13233
|
+
_chunkKHKPLOU4cjs.releaseClient.call(void 0, currentWsUrlRef.current);
|
|
13234
13234
|
clientRef.current = null;
|
|
13235
13235
|
setIsConnected(false);
|
|
13236
13236
|
}
|
|
13237
13237
|
currentWsUrlRef.current = wsUrl;
|
|
13238
13238
|
const cfg = clientConfigRef.current;
|
|
13239
|
-
const sharedConn =
|
|
13239
|
+
const sharedConn = _chunkKHKPLOU4cjs.acquireClient.call(void 0, wsUrl, {
|
|
13240
13240
|
name: _nullishCoalesce(cfg.name, () => ( "openframe-frontend")),
|
|
13241
13241
|
user: _nullishCoalesce(cfg.user, () => ( "machine")),
|
|
13242
13242
|
pass: _nullishCoalesce(cfg.pass, () => ( ""))
|
|
@@ -13257,7 +13257,7 @@ function useNatsDialogSubscription({
|
|
|
13257
13257
|
abortControllerRef.current = null;
|
|
13258
13258
|
};
|
|
13259
13259
|
const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
|
|
13260
|
-
const lifecycle =
|
|
13260
|
+
const lifecycle = _chunkKHKPLOU4cjs.startConnectionLifecycle.call(void 0, {
|
|
13261
13261
|
conn: sharedConn,
|
|
13262
13262
|
wsUrl,
|
|
13263
13263
|
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _413 => _413.current, 'optionalCall', _414 => _414()]),
|
|
@@ -13291,7 +13291,7 @@ function useNatsDialogSubscription({
|
|
|
13291
13291
|
setIsSubscribed(false);
|
|
13292
13292
|
tearDownSubscriptions();
|
|
13293
13293
|
if (clientRef.current && currentWsUrlRef.current) {
|
|
13294
|
-
|
|
13294
|
+
_chunkKHKPLOU4cjs.releaseClient.call(void 0, currentWsUrlRef.current);
|
|
13295
13295
|
clientRef.current = null;
|
|
13296
13296
|
currentWsUrlRef.current = "";
|
|
13297
13297
|
}
|
|
@@ -13832,7 +13832,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13832
13832
|
return () => root.removeEventListener("click", onClick);
|
|
13833
13833
|
}, [viewUrlPrefix]);
|
|
13834
13834
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13835
|
-
|
|
13835
|
+
_chunk35RU25PJcjs.ImageGalleryModal,
|
|
13836
13836
|
{
|
|
13837
13837
|
images: state.images,
|
|
13838
13838
|
isOpen: state.isOpen,
|
|
@@ -15010,7 +15010,7 @@ function nullableText(value) {
|
|
|
15010
15010
|
}
|
|
15011
15011
|
function httpsUrl(value) {
|
|
15012
15012
|
const candidate = text(value);
|
|
15013
|
-
if (!candidate ||
|
|
15013
|
+
if (!candidate || _chunk35RU25PJcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15014
15014
|
try {
|
|
15015
15015
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15016
15016
|
} catch (e19) {
|