@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.721
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/assets/index.cjs +6 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +5 -1
- package/dist/assets/mobile-app-qr.d.ts +17 -0
- package/dist/assets/mobile-app-qr.d.ts.map +1 -0
- package/dist/{chunk-7IOU6BJE.js → chunk-2P2M27EW.js} +2393 -2367
- package/dist/{chunk-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
- package/dist/{chunk-LO3KCLEF.js → chunk-3LY7V3RF.js} +3 -3
- package/dist/{chunk-6BLN5WDS.cjs → chunk-3R32ZNA2.cjs} +40 -40
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-XW3Q623Q.js → chunk-44Q6MV7C.js} +2 -2
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
- package/dist/{chunk-TORERAXD.js → chunk-57UTI7ZH.js} +6 -6
- package/dist/{chunk-K2BYVPGR.js → chunk-5QXE5HMV.js} +4 -4
- package/dist/{chunk-QF464PPL.cjs → chunk-6AJIOW3S.cjs} +57 -57
- package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-6W46LVK4.js → chunk-74N742ZG.js} +6 -6
- package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-VF2CJXZ2.cjs → chunk-BYVVE7HP.cjs} +58 -58
- package/dist/{chunk-AZRI4XBP.js → chunk-CO3FOZIH.js} +1 -1
- package/dist/{chunk-XSM46FHD.cjs → chunk-D2DH6VZL.cjs} +3 -3
- package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-VBHGJFA3.js → chunk-E6SMMMKV.js} +12 -12
- package/dist/{chunk-DHNJSQGX.cjs → chunk-F7ORKKEF.cjs} +103 -103
- package/dist/{chunk-RFUOIQSG.cjs → chunk-GCK75D7F.cjs} +9 -9
- package/dist/{chunk-ZHD3F2TH.cjs → chunk-GGBYZKMS.cjs} +11 -11
- package/dist/{chunk-YK3X74SF.js → chunk-GYAXV3MZ.js} +3 -3
- package/dist/{chunk-RDP5UZXQ.cjs → chunk-HJMSNOBT.cjs} +344 -323
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-PXAKSPLZ.js → chunk-HXB7SEYG.js} +27 -6
- package/dist/{chunk-HTS46FFY.cjs → chunk-I2254QN6.cjs} +16 -16
- package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
- package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
- package/dist/{chunk-Q5327DXK.js → chunk-LAXKEBDD.js} +10 -10
- package/dist/{chunk-O3MKJU6A.js → chunk-LGKMR7NZ.js} +4 -4
- package/dist/{chunk-5XDCCQ4A.cjs → chunk-LODMNSQY.cjs} +13 -13
- package/dist/{chunk-V6B2FBZK.js → chunk-NJ5TBTJG.js} +7 -7
- package/dist/{chunk-HFEYEPOG.cjs → chunk-NMPVK53I.cjs} +29 -29
- package/dist/{chunk-GANIUMRU.js → chunk-NPSJE7J3.js} +1 -1
- package/dist/{chunk-IL3ZWNM2.cjs → chunk-O5EHOJZD.cjs} +4 -4
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
- package/dist/{chunk-RZQGIWK3.cjs → chunk-QLTXT562.cjs} +2 -2
- package/dist/{chunk-PSMJYZMV.js → chunk-QQCFPMAA.js} +2 -2
- package/dist/{chunk-7LPR4RZ3.cjs → chunk-QYS4YVEP.cjs} +31 -31
- package/dist/{chunk-VYVPII4W.js → chunk-RCI3PALX.js} +6 -6
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-2C72EWQR.cjs → chunk-RJMWJAJO.cjs} +26 -26
- package/dist/{chunk-ISCZ6UNF.cjs → chunk-RQZQHLNS.cjs} +73 -73
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-7HYEQKN6.js → chunk-S63QBBT7.js} +5 -5
- package/dist/{chunk-B5LNX4GZ.js → chunk-UXU7Y5BH.js} +2 -2
- package/dist/{chunk-DYDDAA6O.cjs → chunk-UZTOI6FJ.cjs} +766 -740
- package/dist/{chunk-EVMM3JE6.cjs → chunk-VFICDEYJ.cjs} +43 -43
- package/dist/{chunk-DOPOHO6H.cjs → chunk-XE2K53GH.cjs} +18 -18
- package/dist/{chunk-UWJMDFDO.cjs → chunk-XXO52RZR.cjs} +26 -26
- package/dist/{chunk-VYZCKY5K.js → chunk-ZLUFEWZZ.js} +7 -7
- package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
- package/dist/{chunk-ZPHOQDAE.js → chunk-ZZEKXGFS.js} +1 -1
- package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-HZHKRUIW.cjs} +13 -13
- package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-Q4TCJS5Y.js} +12 -12
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +27 -27
- package/dist/components/case-studies/index.js +13 -13
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/index.js +7 -7
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/contact/index.js +13 -13
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/docs/index.js +16 -16
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/embeds/index.js +13 -13
- package/dist/components/faq/index.cjs +14 -14
- package/dist/components/faq/index.js +13 -13
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/features/index.js +12 -12
- package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +329 -114
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +243 -28
- package/dist/components/index.cjs +81 -79
- package/dist/components/index.js +28 -26
- package/dist/components/meeting-scheduler/index.cjs +51 -51
- package/dist/components/meeting-scheduler/index.js +14 -14
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/navigation/index.js +15 -15
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.js +15 -15
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +18 -18
- package/dist/components/tickets/index.js +17 -17
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +15 -13
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +14 -12
- package/dist/components/ui/mobile-app-qr.d.ts +23 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/{devices-7Q2EUM7B.cjs → devices-6XHUFIC6.cjs} +14 -14
- package/dist/{devices-U3Y4IIW4.js → devices-NOUGVTES.js} +12 -12
- package/dist/hooks/index.cjs +9 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -2
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +57 -17
- package/dist/index.js +56 -16
- package/dist/{knowledge-NST53EXE.js → knowledge-2YTUXQ2Z.js} +12 -12
- package/dist/{knowledge-UYIZ74MA.cjs → knowledge-ANEKPMO2.cjs} +14 -14
- package/dist/{logs-HTH7X7KV.cjs → logs-U3IB3HUM.cjs} +22 -22
- package/dist/{logs-JVTRG232.js → logs-WVQIONUT.js} +12 -12
- package/dist/{policies-DTXTRK56.js → policies-66EGDW2H.js} +12 -12
- package/dist/{policies-MXK2HB4W.cjs → policies-UFRN2EQF.cjs} +17 -17
- package/dist/{remote-session-LAJZKQBN.js → remote-session-6WEUJZDC.js} +4 -4
- package/dist/{remote-session-SKKF4PBV.cjs → remote-session-A75X5NPC.cjs} +6 -6
- package/dist/{software-update-P6BSM6HX.cjs → software-update-2MHKL76D.cjs} +17 -17
- package/dist/{software-update-6RHMPM3W.js → software-update-3ZD3MXF3.js} +12 -12
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
- package/dist/types/downloads.d.ts +67 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/index.cjs +20 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +16 -1
- package/dist/utils/mobile-app.cjs +46 -0
- package/dist/utils/mobile-app.d.ts +40 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +40 -0
- package/package.json +7 -1
- package/src/assets/index.ts +1 -0
- package/src/assets/mobile-app-qr.ts +19 -0
- package/src/components/help-center-pages/download-apps-page.tsx +364 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +40 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +82 -0
- package/src/types/index.ts +1 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/mobile-app.ts +57 -0
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkOKE5BIQHcjs = require('./chunk-OKE5BIQH.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -34,7 +34,7 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkQLTXT562cjs = require('./chunk-QLTXT562.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -43,7 +43,7 @@ var _chunkRZQGIWK3cjs = require('./chunk-RZQGIWK3.cjs');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkRUZIICXTcjs = require('./chunk-RUZIICXT.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -66,7 +66,8 @@ var _chunkFFT56TYBcjs = require('./chunk-FFT56TYB.cjs');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
|
|
70
|
+
var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
|
|
70
71
|
|
|
71
72
|
|
|
72
73
|
|
|
@@ -139,7 +140,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
139
140
|
|
|
140
141
|
|
|
141
142
|
|
|
142
|
-
var
|
|
143
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
143
144
|
|
|
144
145
|
|
|
145
146
|
var _chunkAL2GUHAJcjs = require('./chunk-AL2GUHAJ.cjs');
|
|
@@ -292,7 +293,7 @@ var _chunkXXBLN4BPcjs = require('./chunk-XXBLN4BP.cjs');
|
|
|
292
293
|
var _chunk4GFNWALLcjs = require('./chunk-4GFNWALL.cjs');
|
|
293
294
|
|
|
294
295
|
|
|
295
|
-
var
|
|
296
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
296
297
|
|
|
297
298
|
|
|
298
299
|
|
|
@@ -313,7 +314,7 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
313
314
|
|
|
314
315
|
// src/components/chat/chat-appearance-context.tsx
|
|
315
316
|
|
|
316
|
-
var ChatAppearanceContext = _react.createContext.call(void 0,
|
|
317
|
+
var ChatAppearanceContext = _react.createContext.call(void 0, _chunkQLTXT562cjs.CHAT_APPEARANCE.CLASSIC);
|
|
317
318
|
function useChatAppearance() {
|
|
318
319
|
return _react.useContext.call(void 0, ChatAppearanceContext);
|
|
319
320
|
}
|
|
@@ -351,7 +352,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
351
352
|
...props
|
|
352
353
|
}, ref) => {
|
|
353
354
|
const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
|
|
354
|
-
const isV2 = useChatAppearance() ===
|
|
355
|
+
const isV2 = useChatAppearance() === _chunkQLTXT562cjs.CHAT_APPEARANCE.V2;
|
|
355
356
|
const handleApprove = async () => {
|
|
356
357
|
setIsProcessing(true);
|
|
357
358
|
try {
|
|
@@ -374,7 +375,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
374
375
|
{
|
|
375
376
|
ref,
|
|
376
377
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
377
|
-
|
|
378
|
+
_chunkOKE5BIQHcjs.CHAT_BLOCK_CLASS,
|
|
378
379
|
// v2: the thread owns the space below the card.
|
|
379
380
|
!isV2 && "mb-[var(--spacing-system-xsf)]",
|
|
380
381
|
className
|
|
@@ -382,10 +383,10 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
382
383
|
...props,
|
|
383
384
|
children: [
|
|
384
385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full whitespace-pre-line break-words text-ods-text-primary text-h4", children: _optionalChain([data, 'access', _4 => _4.explanation, 'optionalAccess', _5 => _5.trim, 'call', _6 => _6()]) || "Approval required" }),
|
|
385
|
-
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
386
|
+
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ApprovalWaitingLine, {}),
|
|
386
387
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
387
388
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
-
|
|
389
|
+
_chunkHQIOMFJHcjs.Button,
|
|
389
390
|
{
|
|
390
391
|
size: "small-legacy",
|
|
391
392
|
variant: "accent",
|
|
@@ -400,7 +401,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
400
401
|
}
|
|
401
402
|
),
|
|
402
403
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
403
|
-
|
|
404
|
+
_chunkHQIOMFJHcjs.Button,
|
|
404
405
|
{
|
|
405
406
|
size: "small-legacy",
|
|
406
407
|
variant: "outline",
|
|
@@ -414,17 +415,17 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
414
415
|
children: "Reject"
|
|
415
416
|
}
|
|
416
417
|
)
|
|
417
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
418
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
|
|
418
419
|
]
|
|
419
420
|
}
|
|
420
421
|
);
|
|
421
422
|
}
|
|
422
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]",
|
|
423
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", _chunkOKE5BIQHcjs.CHAT_BLOCK_CLASS, className), ...props, children: [
|
|
423
424
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalCardBody, { data }),
|
|
424
|
-
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
425
|
+
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ApprovalWaitingLine, {}),
|
|
425
426
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
426
427
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
427
|
-
|
|
428
|
+
_chunkHQIOMFJHcjs.Button,
|
|
428
429
|
{
|
|
429
430
|
size: "small-legacy",
|
|
430
431
|
variant: "accent",
|
|
@@ -439,7 +440,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
439
440
|
}
|
|
440
441
|
),
|
|
441
442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
442
|
-
|
|
443
|
+
_chunkHQIOMFJHcjs.Button,
|
|
443
444
|
{
|
|
444
445
|
size: "small-legacy",
|
|
445
446
|
variant: "outline",
|
|
@@ -453,7 +454,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
453
454
|
children: "Reject"
|
|
454
455
|
}
|
|
455
456
|
)
|
|
456
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
457
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
|
|
457
458
|
] });
|
|
458
459
|
}
|
|
459
460
|
);
|
|
@@ -486,7 +487,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
|
|
|
486
487
|
|
|
487
488
|
var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
488
489
|
({ className, icon, leading, title, body, timestamp, ...props }, ref) => {
|
|
489
|
-
const isV2 = useChatAppearance() ===
|
|
490
|
+
const isV2 = useChatAppearance() === _chunkQLTXT562cjs.CHAT_APPEARANCE.V2;
|
|
490
491
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
491
492
|
"div",
|
|
492
493
|
{
|
|
@@ -502,7 +503,7 @@ var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
|
502
503
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
503
504
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start", children: [
|
|
504
505
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h4", title, children: title }),
|
|
505
|
-
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children:
|
|
506
|
+
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children: _chunkQLTXT562cjs.formatTime.call(void 0, timestamp) })
|
|
506
507
|
] }),
|
|
507
508
|
body != null && body !== "" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full break-words text-ods-text-secondary text-h4", children: body })
|
|
508
509
|
] })
|
|
@@ -715,14 +716,14 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
715
716
|
for (const section of sectionIds) {
|
|
716
717
|
sectionIdMap.set(section.title, section.id);
|
|
717
718
|
sectionIdMap.set(section.title.toLowerCase(), section.id);
|
|
718
|
-
sectionIdMap.set(
|
|
719
|
+
sectionIdMap.set(_chunkK2JUJ37Dcjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
|
-
const dedupe =
|
|
722
|
+
const dedupe = _chunkK2JUJ37Dcjs.createHeadingIdDeduper.call(void 0, );
|
|
722
723
|
const map = /* @__PURE__ */ new Map();
|
|
723
724
|
let sectionOrdinal = 0;
|
|
724
725
|
let headingOrdinal = 0;
|
|
725
|
-
for (const { line, level, text: rawText } of
|
|
726
|
+
for (const { line, level, text: rawText } of _chunkK2JUJ37Dcjs.scanHeadings.call(void 0, content)) {
|
|
726
727
|
const text2 = stripInlineMarkdown(rawText).trim();
|
|
727
728
|
headingOrdinal++;
|
|
728
729
|
if (level <= EXTRACTOR_MAX_LEVEL) sectionOrdinal++;
|
|
@@ -731,8 +732,8 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
731
732
|
for (const variation of [
|
|
732
733
|
text2,
|
|
733
734
|
text2.toLowerCase(),
|
|
734
|
-
|
|
735
|
-
|
|
735
|
+
_chunkK2JUJ37Dcjs.stripHeadingEmojis.call(void 0, text2),
|
|
736
|
+
_chunkK2JUJ37Dcjs.stripHeadingEmojis.call(void 0, text2).toLowerCase()
|
|
736
737
|
]) {
|
|
737
738
|
const id = sectionIdMap.get(variation);
|
|
738
739
|
if (id) {
|
|
@@ -742,7 +743,7 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
742
743
|
}
|
|
743
744
|
}
|
|
744
745
|
if (assigned === void 0) {
|
|
745
|
-
const baseId =
|
|
746
|
+
const baseId = _chunkK2JUJ37Dcjs.slugifyHeadingText.call(void 0, text2);
|
|
746
747
|
assigned = dedupe(
|
|
747
748
|
baseId || (level <= EXTRACTOR_MAX_LEVEL ? `section-${sectionOrdinal}` : `heading-${headingOrdinal}`)
|
|
748
749
|
);
|
|
@@ -1092,7 +1093,7 @@ var MermaidDiagram = ({
|
|
|
1092
1093
|
"aria-label": "Diagram zoom",
|
|
1093
1094
|
children: [
|
|
1094
1095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1095
|
-
|
|
1096
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1096
1097
|
{
|
|
1097
1098
|
variant: "outline",
|
|
1098
1099
|
size: "icon-sm",
|
|
@@ -1104,7 +1105,7 @@ var MermaidDiagram = ({
|
|
|
1104
1105
|
}
|
|
1105
1106
|
),
|
|
1106
1107
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1107
|
-
|
|
1108
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1108
1109
|
{
|
|
1109
1110
|
variant: "outline",
|
|
1110
1111
|
size: "compact",
|
|
@@ -1119,7 +1120,7 @@ var MermaidDiagram = ({
|
|
|
1119
1120
|
}
|
|
1120
1121
|
),
|
|
1121
1122
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1122
|
-
|
|
1123
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1123
1124
|
{
|
|
1124
1125
|
variant: "outline",
|
|
1125
1126
|
size: "icon-sm",
|
|
@@ -1131,7 +1132,7 @@ var MermaidDiagram = ({
|
|
|
1131
1132
|
}
|
|
1132
1133
|
),
|
|
1133
1134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1134
|
-
|
|
1135
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1135
1136
|
{
|
|
1136
1137
|
variant: "outline",
|
|
1137
1138
|
size: "icon-sm",
|
|
@@ -1244,7 +1245,7 @@ function buildBaseComponents({
|
|
|
1244
1245
|
const mapped = useHeadingId(node);
|
|
1245
1246
|
const taken = useAssignedHeadingIds();
|
|
1246
1247
|
const explicit = typeof _optionalChain([node, 'optionalAccess', _39 => _39.properties, 'optionalAccess', _40 => _40.id]) === "string" && node.properties.id !== "" ? node.properties.id : void 0;
|
|
1247
|
-
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(
|
|
1248
|
+
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(_chunkK2JUJ37Dcjs.slugifyHeadingText.call(void 0, extractText(children)), taken)));
|
|
1248
1249
|
const EffectiveTag = Tag2 === "h1" && demoteMarkdownH1ToH2 ? "h2" : Tag2;
|
|
1249
1250
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EffectiveTag, { id: id || void 0, className: headingClassName, children });
|
|
1250
1251
|
}
|
|
@@ -1319,10 +1320,10 @@ function buildBaseComponents({
|
|
|
1319
1320
|
const handleAnchorClick = (e) => {
|
|
1320
1321
|
if (inPageAnchorId === null) return;
|
|
1321
1322
|
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0) return;
|
|
1322
|
-
const target =
|
|
1323
|
+
const target = _chunkK2JUJ37Dcjs.getHashTargetElement.call(void 0, inPageAnchorId);
|
|
1323
1324
|
if (!_optionalChain([target, 'optionalAccess', _41 => _41.id])) return;
|
|
1324
1325
|
e.preventDefault();
|
|
1325
|
-
|
|
1326
|
+
_chunkK2JUJ37Dcjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkK2JUJ37Dcjs.HUB_HEADER_OFFSET_PX });
|
|
1326
1327
|
};
|
|
1327
1328
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1328
1329
|
"a",
|
|
@@ -1862,7 +1863,7 @@ function findInlineCodeRanges(source) {
|
|
|
1862
1863
|
while (pos <= len) {
|
|
1863
1864
|
let end = source.indexOf("\n", pos);
|
|
1864
1865
|
if (end === -1) end = len;
|
|
1865
|
-
const blank =
|
|
1866
|
+
const blank = _chunkK2JUJ37Dcjs.isBlankLine.call(void 0, source.slice(pos, end));
|
|
1866
1867
|
if (blank && segStart !== -1) break;
|
|
1867
1868
|
if (!blank) {
|
|
1868
1869
|
if (segStart === -1) segStart = pos;
|
|
@@ -1944,7 +1945,7 @@ function toMaskLines(source) {
|
|
|
1944
1945
|
return out;
|
|
1945
1946
|
}
|
|
1946
1947
|
function blankFencedRegions(masked, lines) {
|
|
1947
|
-
const fences =
|
|
1948
|
+
const fences = _chunkK2JUJ37Dcjs.createFenceTracker.call(void 0, );
|
|
1948
1949
|
const ranges = [];
|
|
1949
1950
|
let openStart = null;
|
|
1950
1951
|
let lastEnd = 0;
|
|
@@ -1983,7 +1984,7 @@ function blankIndentedCode(masked, lines) {
|
|
|
1983
1984
|
const listContentCols = [];
|
|
1984
1985
|
const ranges = [];
|
|
1985
1986
|
for (const line of lines) {
|
|
1986
|
-
if (
|
|
1987
|
+
if (_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, line.content)) continue;
|
|
1987
1988
|
const indent = leadingIndent(line.content);
|
|
1988
1989
|
const top = listContentCols.length ? listContentCols[listContentCols.length - 1] : 0;
|
|
1989
1990
|
if (indent >= top + 4) {
|
|
@@ -2074,7 +2075,7 @@ function contPrefixLen(c) {
|
|
|
2074
2075
|
function findLabelClose(lines, i, from) {
|
|
2075
2076
|
for (let j = i; j < lines.length; j++) {
|
|
2076
2077
|
const c = stripCr(lines[j].content);
|
|
2077
|
-
if (j > i &&
|
|
2078
|
+
if (j > i && _chunkK2JUJ37Dcjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
|
|
2078
2079
|
for (let q = j === i ? from : contPrefixLen(c); q < c.length; q = skipEscaped(c, q)) {
|
|
2079
2080
|
if (c[q] === "[") return { stoppedAt: j };
|
|
2080
2081
|
if (c[q] !== "]") continue;
|
|
@@ -2092,7 +2093,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2092
2093
|
let k = from;
|
|
2093
2094
|
for (; k < lines.length; k++) {
|
|
2094
2095
|
const c = stripCr(lines[k].content);
|
|
2095
|
-
if (
|
|
2096
|
+
if (_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, c)) break;
|
|
2096
2097
|
blankLine(lines[k]);
|
|
2097
2098
|
if (stop(c)) {
|
|
2098
2099
|
k++;
|
|
@@ -2135,7 +2136,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2135
2136
|
const k = j + 1;
|
|
2136
2137
|
if (k >= lines.length) break;
|
|
2137
2138
|
const c = stripCr(lines[k].content);
|
|
2138
|
-
if (
|
|
2139
|
+
if (_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, c)) break;
|
|
2139
2140
|
const at = contPrefixLen(c);
|
|
2140
2141
|
const next = tail.k === "needDest" ? parseDefTail(c, at) : parseTitleTail(c, skipSpaces(c, at));
|
|
2141
2142
|
if (next.k === "decline") break;
|
|
@@ -2205,7 +2206,7 @@ function blankUnreferencedFootnotes(masked, lines, folded) {
|
|
|
2205
2206
|
let sawBlank = false;
|
|
2206
2207
|
for (let k = i + 1; k < lines.length; k++) {
|
|
2207
2208
|
const c = text2(lines[k]);
|
|
2208
|
-
if (
|
|
2209
|
+
if (_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, c)) {
|
|
2209
2210
|
sawBlank = true;
|
|
2210
2211
|
continue;
|
|
2211
2212
|
}
|
|
@@ -2305,7 +2306,7 @@ function paragraphEnd(s, from) {
|
|
|
2305
2306
|
lineStart += 1;
|
|
2306
2307
|
const next = s.indexOf("\n", lineStart);
|
|
2307
2308
|
const line = s.slice(lineStart, next === -1 ? s.length : next);
|
|
2308
|
-
if (
|
|
2309
|
+
if (_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, line)) return lineStart;
|
|
2309
2310
|
if (next === -1) break;
|
|
2310
2311
|
lineStart = next;
|
|
2311
2312
|
}
|
|
@@ -2459,7 +2460,7 @@ function blankListItemCode(masked, lines, depth = 0) {
|
|
|
2459
2460
|
run = [];
|
|
2460
2461
|
};
|
|
2461
2462
|
for (const line of lines) {
|
|
2462
|
-
if (
|
|
2463
|
+
if (_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, line.content)) {
|
|
2463
2464
|
if (run.length > 0) run.push({ ...line, content: "" });
|
|
2464
2465
|
continue;
|
|
2465
2466
|
}
|
|
@@ -2684,7 +2685,7 @@ function htmlBlockStartKind(line, inParagraph) {
|
|
|
2684
2685
|
function computeHtmlBlockRanges(text2) {
|
|
2685
2686
|
if (text2.indexOf("<") === -1) return [];
|
|
2686
2687
|
const ranges = [];
|
|
2687
|
-
const fences =
|
|
2688
|
+
const fences = _chunkK2JUJ37Dcjs.createFenceTracker.call(void 0, );
|
|
2688
2689
|
let kind = null;
|
|
2689
2690
|
let start = 0;
|
|
2690
2691
|
let lastEnd = 0;
|
|
@@ -2699,9 +2700,9 @@ function computeHtmlBlockRanges(text2) {
|
|
|
2699
2700
|
const expanded = expandTabs(line);
|
|
2700
2701
|
const norm = stripContainerPrefix(expanded, listContentCol);
|
|
2701
2702
|
if (norm.openedListCol >= 0) listContentCol = norm.openedListCol;
|
|
2702
|
-
else if (!
|
|
2703
|
-
const normBlank =
|
|
2704
|
-
const blank = openPrefixLen > 0 ?
|
|
2703
|
+
else if (!_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
|
|
2704
|
+
const normBlank = _chunkK2JUJ37Dcjs.isBlankLine.call(void 0, norm.text);
|
|
2705
|
+
const blank = openPrefixLen > 0 ? _chunkK2JUJ37Dcjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkK2JUJ37Dcjs.isBlankLine.call(void 0, line);
|
|
2705
2706
|
if (kind !== null) {
|
|
2706
2707
|
if (kind >= 6) {
|
|
2707
2708
|
if (blank) {
|
|
@@ -2855,7 +2856,7 @@ var ScanState = class {
|
|
|
2855
2856
|
* `FENCE_RE` plus its own open/close state machine, cross-referenced by a
|
|
2856
2857
|
* comment) is precisely the drift that produced the `~~~` bug.
|
|
2857
2858
|
*/
|
|
2858
|
-
this.fences =
|
|
2859
|
+
this.fences = _chunkK2JUJ37Dcjs.createFenceTracker.call(void 0, );
|
|
2859
2860
|
/** Depth of currently open raw HTML block containers. */
|
|
2860
2861
|
this.htmlDepth = 0;
|
|
2861
2862
|
/** Raw-block tag name of a start tag still waiting for its `>`, or null. */
|
|
@@ -2928,7 +2929,7 @@ function splitStreamingBlocks(content) {
|
|
|
2928
2929
|
const isListOrQuote = (line) => /^\s{0,3}(?:[-+*]\s|\d{1,9}[.)]\s|>)/.test(line);
|
|
2929
2930
|
const firstNonBlank = (arr) => {
|
|
2930
2931
|
for (const line of arr) {
|
|
2931
|
-
if (!
|
|
2932
|
+
if (!_chunkK2JUJ37Dcjs.isBlankLine.call(void 0, line)) return line;
|
|
2932
2933
|
}
|
|
2933
2934
|
return void 0;
|
|
2934
2935
|
};
|
|
@@ -2938,10 +2939,10 @@ function splitStreamingBlocks(content) {
|
|
|
2938
2939
|
state.scanLine(line);
|
|
2939
2940
|
if (state.htmlMark() !== markBefore || state.htmlLatched()) currentTouchedHtml = true;
|
|
2940
2941
|
current.push(line);
|
|
2941
|
-
const isBlank =
|
|
2942
|
+
const isBlank = _chunkK2JUJ37Dcjs.isBlankLine.call(void 0, line);
|
|
2942
2943
|
if (!isBlank || state.fences.openChar() !== null || state.htmlBlocksCut()) continue;
|
|
2943
2944
|
let j = i + 1;
|
|
2944
|
-
while (j < lines.length &&
|
|
2945
|
+
while (j < lines.length && _chunkK2JUJ37Dcjs.isBlankLine.call(void 0, lines[j])) j++;
|
|
2945
2946
|
if (j >= lines.length) continue;
|
|
2946
2947
|
const next = lines[j];
|
|
2947
2948
|
if (/^\s/.test(next)) continue;
|
|
@@ -2949,7 +2950,7 @@ function splitStreamingBlocks(content) {
|
|
|
2949
2950
|
if (isListOrQuote(next) && unitOpener !== void 0 && isListOrQuote(unitOpener)) {
|
|
2950
2951
|
continue;
|
|
2951
2952
|
}
|
|
2952
|
-
if (current.every(
|
|
2953
|
+
if (current.every(_chunkK2JUJ37Dcjs.isBlankLine)) continue;
|
|
2953
2954
|
units.push(current);
|
|
2954
2955
|
unitTouchedHtml.push(currentTouchedHtml);
|
|
2955
2956
|
current = [];
|
|
@@ -3254,7 +3255,7 @@ var thoughtMdClasses = [
|
|
|
3254
3255
|
var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
3255
3256
|
({ className, text: text2, isStreaming = false, ...props }, ref) => {
|
|
3256
3257
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
3257
|
-
const { innerRef, isOverflowing, containerStyle } =
|
|
3258
|
+
const { innerRef, isOverflowing, containerStyle } = _chunkOKE5BIQHcjs.useCollapsible.call(void 0, {
|
|
3258
3259
|
expanded,
|
|
3259
3260
|
collapsedHeight: 19,
|
|
3260
3261
|
disableTransition: isStreaming
|
|
@@ -3269,7 +3270,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3269
3270
|
setExpanded(!expanded);
|
|
3270
3271
|
}
|
|
3271
3272
|
};
|
|
3272
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
3273
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkOKE5BIQHcjs.CHAT_BLOCK_FRAME_CLASS, "p-1.5", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3273
3274
|
"div",
|
|
3274
3275
|
{
|
|
3275
3276
|
role: "button",
|
|
@@ -3287,7 +3288,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3287
3288
|
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
3288
3289
|
] }),
|
|
3289
3290
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: _chunk3ATAYP36cjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SimpleMarkdownRenderer, { content: text2, textSize: "compact" }) }) }),
|
|
3290
|
-
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3291
|
+
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ExpandChevron, { expanded }) })
|
|
3291
3292
|
]
|
|
3292
3293
|
}
|
|
3293
3294
|
) });
|
|
@@ -3408,9 +3409,9 @@ var iconTint = {
|
|
|
3408
3409
|
var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
3409
3410
|
({ className, title, details, type = "error", ...props }, ref) => {
|
|
3410
3411
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
3411
|
-
const { innerRef, containerStyle } =
|
|
3412
|
+
const { innerRef, containerStyle } = _chunkOKE5BIQHcjs.useCollapsible.call(void 0, { expanded });
|
|
3412
3413
|
const hasDetails = Boolean(details);
|
|
3413
|
-
const isV2 = useChatAppearance() ===
|
|
3414
|
+
const isV2 = useChatAppearance() === _chunkQLTXT562cjs.CHAT_APPEARANCE.V2;
|
|
3414
3415
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3415
3416
|
"div",
|
|
3416
3417
|
{
|
|
@@ -3447,7 +3448,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
3447
3448
|
children: title
|
|
3448
3449
|
}
|
|
3449
3450
|
),
|
|
3450
|
-
hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3451
|
+
hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ExpandChevron, { expanded })
|
|
3451
3452
|
]
|
|
3452
3453
|
}
|
|
3453
3454
|
),
|
|
@@ -3532,7 +3533,7 @@ function MspOrganizationCard({
|
|
|
3532
3533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Your IT is managed by" }),
|
|
3533
3534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: _nullishCoalesce(title, () => ( name)) })
|
|
3534
3535
|
] }),
|
|
3535
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3536
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { asChild: true, variant: "outline", size: "icon-sm", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "icon-sm", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ExternalLinkIcon, {}) }) : null
|
|
3536
3537
|
]
|
|
3537
3538
|
}
|
|
3538
3539
|
);
|
|
@@ -3553,7 +3554,7 @@ function MspOrganizationCard({
|
|
|
3553
3554
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
3554
3555
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
3555
3556
|
] }),
|
|
3556
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3557
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { asChild: true, variant: "outline", size: "icon", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "icon", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ExternalLinkIcon, {}) }) : null
|
|
3557
3558
|
]
|
|
3558
3559
|
}
|
|
3559
3560
|
);
|
|
@@ -3661,7 +3662,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3661
3662
|
...props,
|
|
3662
3663
|
children: [
|
|
3663
3664
|
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3664
|
-
|
|
3665
|
+
_chunkHQIOMFJHcjs.Button,
|
|
3665
3666
|
{
|
|
3666
3667
|
onClick: onBack,
|
|
3667
3668
|
variant: "transparent",
|
|
@@ -3701,7 +3702,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3701
3702
|
] }),
|
|
3702
3703
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
3703
3704
|
showNewChat && onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3704
|
-
|
|
3705
|
+
_chunkHQIOMFJHcjs.Button,
|
|
3705
3706
|
{
|
|
3706
3707
|
onClick: onNewChat,
|
|
3707
3708
|
variant: "transparent",
|
|
@@ -3712,7 +3713,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3712
3713
|
}
|
|
3713
3714
|
),
|
|
3714
3715
|
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3715
|
-
|
|
3716
|
+
_chunkHQIOMFJHcjs.Button,
|
|
3716
3717
|
{
|
|
3717
3718
|
onClick: onClose,
|
|
3718
3719
|
variant: "transparent",
|
|
@@ -3757,9 +3758,9 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3757
3758
|
)
|
|
3758
3759
|
] }),
|
|
3759
3760
|
(ticketInfo.status || ticketInfo.statusName) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3760
|
-
|
|
3761
|
+
_chunkOKE5BIQHcjs.TicketStatusTag,
|
|
3761
3762
|
{
|
|
3762
|
-
...
|
|
3763
|
+
..._chunkOKE5BIQHcjs.resolveStatusTagProps.call(void 0, {
|
|
3763
3764
|
status: ticketInfo.status,
|
|
3764
3765
|
statusKind: ticketInfo.statusKind,
|
|
3765
3766
|
statusName: ticketInfo.statusName,
|
|
@@ -4338,11 +4339,11 @@ var remarkStripCitations = () => {
|
|
|
4338
4339
|
// src/components/chat/tool-execution-display.tsx
|
|
4339
4340
|
|
|
4340
4341
|
|
|
4341
|
-
var COMMAND_BODY_KEYS = new Set(
|
|
4342
|
+
var COMMAND_BODY_KEYS = new Set(_chunkOKE5BIQHcjs.COMMAND_BODY_ARG_KEYS);
|
|
4342
4343
|
var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
4343
4344
|
({ className, message, assistantType, variant = "admin", ...props }, ref) => {
|
|
4344
4345
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
4345
|
-
const { innerRef, containerStyle } =
|
|
4346
|
+
const { innerRef, containerStyle } = _chunkOKE5BIQHcjs.useCollapsible.call(void 0, { expanded });
|
|
4346
4347
|
const isClient = assistantType === "fae";
|
|
4347
4348
|
const isClientView = variant === "client";
|
|
4348
4349
|
const isExecuting = message.type === "EXECUTING_TOOL";
|
|
@@ -4384,7 +4385,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4384
4385
|
}
|
|
4385
4386
|
),
|
|
4386
4387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: renderStatusIcon() }),
|
|
4387
|
-
!isStaticRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4388
|
+
!isStaticRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ExpandChevron, { expanded }) })
|
|
4388
4389
|
] });
|
|
4389
4390
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4390
4391
|
"div",
|
|
@@ -4394,7 +4395,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4394
4395
|
// The command running block keeps its bordered box in both chats
|
|
4395
4396
|
// (Figma 1972-6109). CLIENT (Fae) only drops the tool icon below.
|
|
4396
4397
|
"flex w-full flex-col overflow-hidden",
|
|
4397
|
-
|
|
4398
|
+
_chunkOKE5BIQHcjs.CHAT_BLOCK_FRAME_CLASS,
|
|
4398
4399
|
className
|
|
4399
4400
|
),
|
|
4400
4401
|
...props,
|
|
@@ -4405,7 +4406,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4405
4406
|
// It reads as a card: what was done, then one status line under it.
|
|
4406
4407
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left", children: [
|
|
4407
4408
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 whitespace-pre-wrap break-words text-ods-text-primary text-h4", children: previewText }),
|
|
4408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.StatusLine, { tone: statusTone, label: statusLabel })
|
|
4409
4410
|
] })
|
|
4410
4411
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4411
4412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4418,9 +4419,9 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4418
4419
|
}
|
|
4419
4420
|
),
|
|
4420
4421
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: hasBody && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start gap-0 border-t border-ods-border p-[var(--spacing-system-sf)] text-h6", children: [
|
|
4421
|
-
argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4422
|
+
argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.ArgRow, { argKey: key, value }, key)),
|
|
4422
4423
|
hasResult && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4423
|
-
|
|
4424
|
+
_chunkOKE5BIQHcjs.ResultBlock,
|
|
4424
4425
|
{
|
|
4425
4426
|
result: message.result,
|
|
4426
4427
|
className: argEntries.length > 0 ? "mt-[var(--spacing-system-xsf)]" : void 0
|
|
@@ -4452,8 +4453,8 @@ ToolExecutionDisplay.displayName = "ToolExecutionDisplay";
|
|
|
4452
4453
|
var MENTION_MARKER_REGEX = /(^|[^\w@])@[a-zA-Z]+:([A-Za-z0-9_.+/=-]*[A-Za-z0-9_+/=])/g;
|
|
4453
4454
|
var CARD_MARKER_REGEX = createCardMarkerScanner();
|
|
4454
4455
|
function formatMessageTimestamp(timestamp) {
|
|
4455
|
-
const time =
|
|
4456
|
-
return
|
|
4456
|
+
const time = _chunkQLTXT562cjs.formatTime.call(void 0, timestamp);
|
|
4457
|
+
return _chunkOKE5BIQHcjs.isToday.call(void 0, timestamp) ? time : `${_chunkQLTXT562cjs.formatDate.call(void 0, timestamp)} ${time}`;
|
|
4457
4458
|
}
|
|
4458
4459
|
function normalizeContent(content) {
|
|
4459
4460
|
if (typeof content === "string") {
|
|
@@ -4507,7 +4508,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
4507
4508
|
const isError = role === "error";
|
|
4508
4509
|
const inheritedAppearance = useChatAppearance();
|
|
4509
4510
|
const appearance = _nullishCoalesce(appearanceProp, () => ( inheritedAppearance));
|
|
4510
|
-
const isV2 = appearance ===
|
|
4511
|
+
const isV2 = appearance === _chunkQLTXT562cjs.CHAT_APPEARANCE.V2;
|
|
4511
4512
|
const authorType = _nullishCoalesce(authorTypeProp, () => ( (isUser ? "user" : assistantType === "mingo" ? "mingo" : "fae")));
|
|
4512
4513
|
const hasMarkerSupport = !!renderEntityCard;
|
|
4513
4514
|
const segments = _react.useMemo.call(void 0, () => normalizeContent(content), [content]);
|
|
@@ -4772,7 +4773,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
4772
4773
|
);
|
|
4773
4774
|
} else if (segment.type === "approval_batch") {
|
|
4774
4775
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4775
|
-
|
|
4776
|
+
_chunkOKE5BIQHcjs.ApprovalBatchMessage,
|
|
4776
4777
|
{
|
|
4777
4778
|
data: segment.data,
|
|
4778
4779
|
status: segment.status,
|
|
@@ -5031,7 +5032,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5031
5032
|
contentClassName,
|
|
5032
5033
|
assistantType,
|
|
5033
5034
|
approvalVariant,
|
|
5034
|
-
appearance =
|
|
5035
|
+
appearance = _chunkQLTXT562cjs.CHAT_APPEARANCE.CLASSIC,
|
|
5035
5036
|
assistantIcon,
|
|
5036
5037
|
pendingApprovals,
|
|
5037
5038
|
hasNextPage,
|
|
@@ -5381,7 +5382,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5381
5382
|
const lastSegment = _optionalChain([lastSegments, 'optionalAccess', _116 => _116[lastSegments.length - 1]]);
|
|
5382
5383
|
const isPausedOnApproval = !!lastSegment && (lastSegment.type === "approval_request" || lastSegment.type === "approval_batch" || lastSegment.type === "escalation_offer") && (lastSegment.status === void 0 || lastSegment.status === "pending");
|
|
5383
5384
|
const showStreamingLoader = isTyping && !isPausedOnApproval && !(pendingApprovals && pendingApprovals.length > 0);
|
|
5384
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5385
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.OverlayOpenRegistryProvider, { onOpenChange: handleOverlayOpenChange, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: [
|
|
5385
5386
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
5386
5387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5387
5388
|
"div",
|
|
@@ -5530,7 +5531,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
5530
5531
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
5531
5532
|
function useProxiedImageUrl(url) {
|
|
5532
5533
|
const r = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
5533
|
-
return _nullishCoalesce(
|
|
5534
|
+
return _nullishCoalesce(_chunkGCK75D7Fcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
5534
5535
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
5535
5536
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
5536
5537
|
directHttps: true
|
|
@@ -5607,7 +5608,7 @@ function renderQuickActionIcon(icon) {
|
|
|
5607
5608
|
if (!spec.name && !spec.url) return void 0;
|
|
5608
5609
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
5609
5610
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
5610
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5611
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
5611
5612
|
}
|
|
5612
5613
|
function composeChipLabel(label, lozenge) {
|
|
5613
5614
|
if (!lozenge) return label;
|
|
@@ -6399,6 +6400,21 @@ function isOSPlatform(deviceOS, targetPlatform) {
|
|
|
6399
6400
|
return platformId === targetPlatform;
|
|
6400
6401
|
}
|
|
6401
6402
|
|
|
6403
|
+
// src/utils/mobile-app.ts
|
|
6404
|
+
var DOWNLOAD_PAGE_PATH = "/download";
|
|
6405
|
+
var DOWNLOAD_PAGE_STORE_PARAM = "store";
|
|
6406
|
+
var MOBILE_APP_INSTALL_URL = `https://www.flamingo.run${DOWNLOAD_PAGE_PATH}?${DOWNLOAD_PAGE_STORE_PARAM}=1`;
|
|
6407
|
+
var MOBILE_APP_INSTALL_HOST_PATH = MOBILE_APP_INSTALL_URL.replace(/^https:\/\/(www\.)?/, "").replace(
|
|
6408
|
+
/\?.*$/,
|
|
6409
|
+
""
|
|
6410
|
+
);
|
|
6411
|
+
function resolveMobileStoreUrl(links, userAgent, maxTouchPoints) {
|
|
6412
|
+
const os = _chunkK2JUJ37Dcjs.detectVisitorOs.call(void 0, userAgent, { maxTouchPoints });
|
|
6413
|
+
if (os === "ios") return links.appStoreUrl;
|
|
6414
|
+
if (os === "android") return links.googlePlayUrl;
|
|
6415
|
+
return null;
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6402
6418
|
// src/utils/country-phone-utils.ts
|
|
6403
6419
|
var _libphonenumberjs = require('libphonenumber-js');
|
|
6404
6420
|
var PRIORITY_CODES = ["US", "CA", "GB", "AU"];
|
|
@@ -7523,7 +7539,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
7523
7539
|
|
|
7524
7540
|
[Attached: ${safeName}](${url})`;
|
|
7525
7541
|
}
|
|
7526
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
7542
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkGCK75D7Fcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
7527
7543
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
7528
7544
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
7529
7545
|
"gm"
|
|
@@ -7998,7 +8014,7 @@ function lastPathSegment(url) {
|
|
|
7998
8014
|
function makeComposeContentUrl(opts) {
|
|
7999
8015
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
8000
8016
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
8001
|
-
const type =
|
|
8017
|
+
const type = _chunkGCK75D7Fcjs.canonicalContentRefType.call(void 0, rawType);
|
|
8002
8018
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
8003
8019
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
8004
8020
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -8176,8 +8192,8 @@ var DEFAULT_OPTIONS = {
|
|
|
8176
8192
|
function extractSections(markdown, options = {}) {
|
|
8177
8193
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
8178
8194
|
const sections = [];
|
|
8179
|
-
const dedupe =
|
|
8180
|
-
const scanned =
|
|
8195
|
+
const dedupe = _chunkK2JUJ37Dcjs.createHeadingIdDeduper.call(void 0, );
|
|
8196
|
+
const scanned = _chunkK2JUJ37Dcjs.scanHeadings.call(void 0, markdown, {
|
|
8181
8197
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
8182
8198
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
8183
8199
|
});
|
|
@@ -8187,7 +8203,7 @@ function extractSections(markdown, options = {}) {
|
|
|
8187
8203
|
if (opts.stripFormattingMarkers) {
|
|
8188
8204
|
title = stripInlineMarkdown(title).trim();
|
|
8189
8205
|
}
|
|
8190
|
-
const baseId =
|
|
8206
|
+
const baseId = _chunkK2JUJ37Dcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkK2JUJ37Dcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
8191
8207
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
8192
8208
|
sections.push({
|
|
8193
8209
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -8476,10 +8492,10 @@ function MingoAiButton({
|
|
|
8476
8492
|
onClick,
|
|
8477
8493
|
...props
|
|
8478
8494
|
}) {
|
|
8479
|
-
const visitor =
|
|
8495
|
+
const visitor = _chunkK2JUJ37Dcjs.useVisitorOs.call(void 0, );
|
|
8480
8496
|
const field = variant === "field";
|
|
8481
8497
|
const inPage = variant === "button";
|
|
8482
|
-
const commandKey = visitor.known &&
|
|
8498
|
+
const commandKey = visitor.known && _chunkK2JUJ37Dcjs.usesCommandKey.call(void 0, visitor.os);
|
|
8483
8499
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
8484
8500
|
const label = _nullishCoalesce(labelProp, () => ( _optionalChain([assistant, 'optionalAccess', _220 => _220.name])));
|
|
8485
8501
|
const icon = _nullishCoalesce(iconProp, () => ( _optionalChain([assistant, 'optionalAccess', _221 => _221.icon])));
|
|
@@ -8503,7 +8519,7 @@ function MingoAiButton({
|
|
|
8503
8519
|
}, [shortcutHint, commandKey]);
|
|
8504
8520
|
if (!label) return null;
|
|
8505
8521
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8506
|
-
|
|
8522
|
+
_chunkHQIOMFJHcjs.Button,
|
|
8507
8523
|
{
|
|
8508
8524
|
...props,
|
|
8509
8525
|
type: "button",
|
|
@@ -8581,7 +8597,7 @@ function MingoAiButton({
|
|
|
8581
8597
|
"relative h-6 min-w-9 items-center justify-center rounded border border-ods-border px-[var(--spacing-system-xxs)] text-h6",
|
|
8582
8598
|
inPage ? "inline-flex" : "hidden lg:inline-flex"
|
|
8583
8599
|
),
|
|
8584
|
-
children: visitor.known ?
|
|
8600
|
+
children: visitor.known ? _chunkK2JUJ37Dcjs.shortcutLabel.call(void 0, visitor.os, "K") : ""
|
|
8585
8601
|
}
|
|
8586
8602
|
)
|
|
8587
8603
|
]
|
|
@@ -8859,7 +8875,7 @@ function useAskPrompts({
|
|
|
8859
8875
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
8860
8876
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
8861
8877
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
8862
|
-
const { data, isLoading } =
|
|
8878
|
+
const { data, isLoading } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, url);
|
|
8863
8879
|
return { prompts: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _228 => _228.prompts]), () => ( [])), isLoading: !!base && (!enabled || isLoading), supported: !!base };
|
|
8864
8880
|
}
|
|
8865
8881
|
function useAssistantOpen(topic, onOpen) {
|
|
@@ -9091,7 +9107,7 @@ function MarqueeWallFades({
|
|
|
9091
9107
|
}) });
|
|
9092
9108
|
}
|
|
9093
9109
|
function CloneCopy({ className, style, children }) {
|
|
9094
|
-
const ref =
|
|
9110
|
+
const ref = _chunkK2JUJ37Dcjs.useSuppressCloneFocus.call(void 0, true);
|
|
9095
9111
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "aria-hidden": true, "data-marquee-copy": "clone", className, style, children });
|
|
9096
9112
|
}
|
|
9097
9113
|
function MarqueeWall({
|
|
@@ -9145,7 +9161,7 @@ function MarqueeWall({
|
|
|
9145
9161
|
ro.observe(copy);
|
|
9146
9162
|
return () => ro.disconnect();
|
|
9147
9163
|
}, [measure, marqueeMounted]);
|
|
9148
|
-
const { ref: observe, inView: nearViewport } =
|
|
9164
|
+
const { ref: observe, inView: nearViewport } = _chunkK2JUJ37Dcjs.useInView.call(void 0, {
|
|
9149
9165
|
rootMargin: _chunk7GRPR7XAcjs.NEAR_VIEWPORT_ROOT_MARGIN,
|
|
9150
9166
|
initial: true
|
|
9151
9167
|
});
|
|
@@ -9153,7 +9169,7 @@ function MarqueeWall({
|
|
|
9153
9169
|
observe(containerRef.current);
|
|
9154
9170
|
return () => observe(null);
|
|
9155
9171
|
}, [observe]);
|
|
9156
|
-
const autoplay =
|
|
9172
|
+
const autoplay = _chunkK2JUJ37Dcjs.useAutoplay.call(void 0, nearViewport);
|
|
9157
9173
|
const pointerInsideRef = _react.useRef.call(void 0, false);
|
|
9158
9174
|
const clearPointerInside = _react.useCallback.call(void 0, () => {
|
|
9159
9175
|
pointerInsideRef.current = false;
|
|
@@ -9166,7 +9182,7 @@ function MarqueeWall({
|
|
|
9166
9182
|
if (e.pointerType === "touch") return;
|
|
9167
9183
|
pointerInsideRef.current = false;
|
|
9168
9184
|
}, []);
|
|
9169
|
-
|
|
9185
|
+
_chunkK2JUJ37Dcjs.useResetOnPageHidden.call(void 0, clearPointerInside);
|
|
9170
9186
|
const draggingRef = _react.useRef.call(void 0, false);
|
|
9171
9187
|
const dragSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
9172
9188
|
const applyTransform = _react.useCallback.call(void 0,
|
|
@@ -9219,7 +9235,7 @@ function MarqueeWall({
|
|
|
9219
9235
|
if (!sync) return void 0;
|
|
9220
9236
|
return sync.register(member);
|
|
9221
9237
|
}, [sync, member]);
|
|
9222
|
-
const { posRef, wrap } =
|
|
9238
|
+
const { posRef, wrap } = _chunkK2JUJ37Dcjs.useMarqueeEngine.call(void 0, {
|
|
9223
9239
|
active: marqueeActive && autoplay.playing && isDriver,
|
|
9224
9240
|
speed,
|
|
9225
9241
|
isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current,
|
|
@@ -9594,13 +9610,13 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
9594
9610
|
);
|
|
9595
9611
|
}
|
|
9596
9612
|
if (!ticket) return null;
|
|
9597
|
-
const statusTagProps =
|
|
9613
|
+
const statusTagProps = _chunkOKE5BIQHcjs.resolveStatusTagProps.call(void 0, {
|
|
9598
9614
|
status: ticket.status,
|
|
9599
9615
|
statusKind: ticket.statusKind,
|
|
9600
9616
|
statusName: ticket.statusLabel,
|
|
9601
9617
|
statusColor: ticket.statusColor
|
|
9602
9618
|
});
|
|
9603
|
-
const isResolved = ticket.statusKind === "RESOLVED" ||
|
|
9619
|
+
const isResolved = ticket.statusKind === "RESOLVED" || _chunkOKE5BIQHcjs.resolveTicketStatus.call(void 0, ticket.status) === "RESOLVED";
|
|
9604
9620
|
const composedSubtitle = [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ");
|
|
9605
9621
|
const subtitle = _nullishCoalesce(ticket.subtitle, () => ( (ticket.unread ? UNREAD_NOTICE : composedSubtitle)));
|
|
9606
9622
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -9651,7 +9667,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
9651
9667
|
className: "hidden shrink-0 sm:inline-flex"
|
|
9652
9668
|
}
|
|
9653
9669
|
),
|
|
9654
|
-
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9670
|
+
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.TicketStatusTag, { ...statusTagProps }),
|
|
9655
9671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9656
9672
|
"div",
|
|
9657
9673
|
{
|
|
@@ -9945,7 +9961,7 @@ function MingoChatHistoryRow({
|
|
|
9945
9961
|
menuOpen ? "opacity-100" : "opacity-0 focus-within:opacity-100 group-hover/row:opacity-100"
|
|
9946
9962
|
),
|
|
9947
9963
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9948
|
-
|
|
9964
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
9949
9965
|
{
|
|
9950
9966
|
triggerAriaLabel: "Chat actions",
|
|
9951
9967
|
groups: [{ items: menuItems }],
|
|
@@ -9953,7 +9969,7 @@ function MingoChatHistoryRow({
|
|
|
9953
9969
|
onOpenChange: setMenuOpen,
|
|
9954
9970
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
9955
9971
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9956
|
-
|
|
9972
|
+
_chunkHQIOMFJHcjs.Button,
|
|
9957
9973
|
{
|
|
9958
9974
|
variant: "transparent",
|
|
9959
9975
|
size: "icon",
|
|
@@ -10175,7 +10191,7 @@ function MingoWelcome({
|
|
|
10175
10191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
10176
10192
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-body-sm text-ods-text-secondary", children: "Something went wrong reaching the server. Check your connection and try again." })
|
|
10177
10193
|
] }),
|
|
10178
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10194
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
10179
10195
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
10180
10196
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10181
10197
|
"div",
|
|
@@ -10314,7 +10330,7 @@ function GuideWelcome({
|
|
|
10314
10330
|
icon && (icon.name || icon.url) ? (
|
|
10315
10331
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
10316
10332
|
// match the default Mingo mark (48px).
|
|
10317
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10333
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
10318
10334
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10319
10335
|
_chunkLLSUVPQCcjs.MingoIcon,
|
|
10320
10336
|
{
|
|
@@ -10369,8 +10385,8 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
10369
10385
|
children: [
|
|
10370
10386
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CompassIcon, { size: 16, className: "shrink-0 text-ods-text-on-accent" }),
|
|
10371
10387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "flex-1 truncate uppercase text-ods-text-on-accent text-h5", children: label }),
|
|
10372
|
-
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10373
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10388
|
+
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { children: [
|
|
10389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10374
10390
|
"button",
|
|
10375
10391
|
{
|
|
10376
10392
|
type: "button",
|
|
@@ -10379,7 +10395,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
10379
10395
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.QuestionCircleIcon, { size: 16 })
|
|
10380
10396
|
}
|
|
10381
10397
|
) }),
|
|
10382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10398
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { side: "bottom", align: "end", className: "max-w-[280px] normal-case text-h6", children: tooltip })
|
|
10383
10399
|
] }) })
|
|
10384
10400
|
]
|
|
10385
10401
|
}
|
|
@@ -10527,7 +10543,7 @@ function MingoArchiveList({
|
|
|
10527
10543
|
title: dialog.title || "Untitled Chat",
|
|
10528
10544
|
onClick: () => _optionalChain([onSelectDialog, 'optionalCall', _265 => _265(dialog.id)]),
|
|
10529
10545
|
trailing: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
10530
|
-
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
10546
|
+
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkOKE5BIQHcjs.formatRelativeTime.call(void 0, dialog.timestamp) }),
|
|
10531
10547
|
dialog.owner && (dialog.owner.name || dialog.owner.avatarUrl) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10532
10548
|
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
10533
10549
|
{
|
|
@@ -10624,7 +10640,7 @@ function MingoChatHeader({
|
|
|
10624
10640
|
] }),
|
|
10625
10641
|
onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
10626
10642
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10627
|
-
|
|
10643
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
10628
10644
|
{
|
|
10629
10645
|
triggerAriaLabel: "Chat actions",
|
|
10630
10646
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -10651,7 +10667,7 @@ function ChatHeaderSearchField({
|
|
|
10651
10667
|
className
|
|
10652
10668
|
}) {
|
|
10653
10669
|
const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10654
|
-
const debounced =
|
|
10670
|
+
const debounced = _chunkK2JUJ37Dcjs.useDebounce.call(void 0, value, 300);
|
|
10655
10671
|
const lastEmitted = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10656
10672
|
const [exiting, setExiting] = _react.useState.call(void 0, false);
|
|
10657
10673
|
const collapsedRef = _react.useRef.call(void 0, false);
|
|
@@ -10847,7 +10863,7 @@ function MingoChatRail({
|
|
|
10847
10863
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
10848
10864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
10849
10865
|
] }),
|
|
10850
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10866
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
10851
10867
|
] });
|
|
10852
10868
|
} else if (isLoadingHistory) {
|
|
10853
10869
|
list = Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 shrink-0 animate-pulse rounded-md bg-ods-skeleton", "aria-hidden": true }, i));
|
|
@@ -10900,7 +10916,7 @@ function MingoChatRail({
|
|
|
10900
10916
|
}
|
|
10901
10917
|
),
|
|
10902
10918
|
onExpand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10903
|
-
|
|
10919
|
+
_chunkHQIOMFJHcjs.Button,
|
|
10904
10920
|
{
|
|
10905
10921
|
variant: "transparent",
|
|
10906
10922
|
size: "icon",
|
|
@@ -10914,13 +10930,13 @@ function MingoChatRail({
|
|
|
10914
10930
|
items,
|
|
10915
10931
|
sectionLabel: "Your Current Chats",
|
|
10916
10932
|
sectionActions: listMenu.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10917
|
-
|
|
10933
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
10918
10934
|
{
|
|
10919
10935
|
triggerAriaLabel: "Chat list options",
|
|
10920
10936
|
groups: [{ items: listMenu }],
|
|
10921
10937
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
10922
10938
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10923
|
-
|
|
10939
|
+
_chunkHQIOMFJHcjs.Button,
|
|
10924
10940
|
{
|
|
10925
10941
|
variant: "transparent",
|
|
10926
10942
|
size: "icon",
|
|
@@ -10977,7 +10993,7 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems }) {
|
|
|
10977
10993
|
menuOpen ? "opacity-100" : "opacity-0 focus-within:opacity-100 group-hover/row:opacity-100"
|
|
10978
10994
|
),
|
|
10979
10995
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10980
|
-
|
|
10996
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
10981
10997
|
{
|
|
10982
10998
|
triggerAriaLabel: `Actions for ${title}`,
|
|
10983
10999
|
groups: [{ items: menuItems }],
|
|
@@ -10985,7 +11001,7 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems }) {
|
|
|
10985
11001
|
onOpenChange: setMenuOpen,
|
|
10986
11002
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
10987
11003
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10988
|
-
|
|
11004
|
+
_chunkHQIOMFJHcjs.Button,
|
|
10989
11005
|
{
|
|
10990
11006
|
variant: "transparent",
|
|
10991
11007
|
size: "icon",
|
|
@@ -11013,7 +11029,7 @@ function TabSelector({
|
|
|
11013
11029
|
scrollable = false,
|
|
11014
11030
|
className
|
|
11015
11031
|
}) {
|
|
11016
|
-
const flush =
|
|
11032
|
+
const flush = _chunkRUZIICXTcjs.useIsInActionsMenuHeader.call(void 0, );
|
|
11017
11033
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11018
11034
|
"div",
|
|
11019
11035
|
{
|
|
@@ -11100,7 +11116,7 @@ function MingoHistoryRail({
|
|
|
11100
11116
|
),
|
|
11101
11117
|
children: [
|
|
11102
11118
|
onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11103
|
-
|
|
11119
|
+
_chunkHQIOMFJHcjs.Button,
|
|
11104
11120
|
{
|
|
11105
11121
|
variant: "outline",
|
|
11106
11122
|
fullWidth: true,
|
|
@@ -11128,7 +11144,7 @@ function MingoHistoryRail({
|
|
|
11128
11144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
11129
11145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
11130
11146
|
] }),
|
|
11131
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11147
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
11132
11148
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11133
11149
|
MingoChatHistory,
|
|
11134
11150
|
{
|
|
@@ -11178,8 +11194,8 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
11178
11194
|
const save = () => {
|
|
11179
11195
|
if (canSave) onSave(name.trim());
|
|
11180
11196
|
};
|
|
11181
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11197
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
11198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Rename Chat" }) }),
|
|
11183
11199
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
11184
11200
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "rename-chat-input", className: "text-ods-text-primary text-h4", children: "Chat Name" }),
|
|
11185
11201
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11196,27 +11212,27 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
11196
11212
|
}
|
|
11197
11213
|
)
|
|
11198
11214
|
] }),
|
|
11199
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11215
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.ModalFooter, { children: [
|
|
11200
11216
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
11201
11217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: save, disabled: !canSave, className: saveBtn, children: "Save" })
|
|
11202
11218
|
] })
|
|
11203
11219
|
] });
|
|
11204
11220
|
}
|
|
11205
11221
|
function ArchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
11206
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11222
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
11223
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Archive Chat" }) }),
|
|
11208
11224
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be hidden from your current chats." }),
|
|
11209
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11225
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.ModalFooter, { children: [
|
|
11210
11226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
11211
11227
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onConfirm, className: dangerBtn, children: "Archive Chat" })
|
|
11212
11228
|
] })
|
|
11213
11229
|
] });
|
|
11214
11230
|
}
|
|
11215
11231
|
function UnarchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
11216
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11232
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
11233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Unarchive Chat" }) }),
|
|
11218
11234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be moved back to your current chats." }),
|
|
11219
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11235
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.ModalFooter, { children: [
|
|
11220
11236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
11221
11237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onConfirm, className: saveBtn, children: "Unarchive Chat" })
|
|
11222
11238
|
] })
|
|
@@ -11298,18 +11314,18 @@ function ChatPanelHeaderMobile({
|
|
|
11298
11314
|
className
|
|
11299
11315
|
),
|
|
11300
11316
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
|
|
11301
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11317
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Chevron02LeftIcon, {}) }),
|
|
11302
11318
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
11303
11319
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-ods-text-primary text-h2", title, children: title }) }),
|
|
11304
11320
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11305
|
-
|
|
11321
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
11306
11322
|
{
|
|
11307
11323
|
groups: [{ items: menuItems }],
|
|
11308
11324
|
triggerAriaLabel: "Chat actions",
|
|
11309
11325
|
triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
|
|
11310
11326
|
}
|
|
11311
11327
|
),
|
|
11312
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11328
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkIcon, {}) })
|
|
11313
11329
|
] })
|
|
11314
11330
|
] })
|
|
11315
11331
|
}
|
|
@@ -11405,7 +11421,7 @@ function ChatPanelHeader({
|
|
|
11405
11421
|
] }),
|
|
11406
11422
|
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
11407
11423
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11408
|
-
|
|
11424
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
11409
11425
|
{
|
|
11410
11426
|
triggerAriaLabel: "Chat actions",
|
|
11411
11427
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -11477,7 +11493,7 @@ function ChatAttachmentAddButton({
|
|
|
11477
11493
|
}
|
|
11478
11494
|
),
|
|
11479
11495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11480
|
-
|
|
11496
|
+
_chunkHQIOMFJHcjs.Button,
|
|
11481
11497
|
{
|
|
11482
11498
|
type: "button",
|
|
11483
11499
|
variant: "transparent",
|
|
@@ -11556,7 +11572,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
|
|
|
11556
11572
|
] })
|
|
11557
11573
|
] }),
|
|
11558
11574
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11559
|
-
|
|
11575
|
+
_chunkHQIOMFJHcjs.Button,
|
|
11560
11576
|
{
|
|
11561
11577
|
type: "button",
|
|
11562
11578
|
variant: "transparent",
|
|
@@ -11801,7 +11817,7 @@ var ModelDisplay = _react2.default.forwardRef(
|
|
|
11801
11817
|
}, ref) => {
|
|
11802
11818
|
const icon = getProviderIcon(provider);
|
|
11803
11819
|
const name = displayName || modelName;
|
|
11804
|
-
const isV2 = useChatAppearance() ===
|
|
11820
|
+
const isV2 = useChatAppearance() === _chunkQLTXT562cjs.CHAT_APPEARANCE.V2;
|
|
11805
11821
|
const formatCount = (count) => isV2 ? count.toLocaleString("en-US") : formatTokenCount(count);
|
|
11806
11822
|
const inline = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1 text-ods-text-secondary", "text-h6", className), ...props, children: [
|
|
11807
11823
|
icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center", children: icon }),
|
|
@@ -11929,7 +11945,7 @@ function ChatComposer({
|
|
|
11929
11945
|
}, [entityTypes]);
|
|
11930
11946
|
const resolveContextIcon = _react.useCallback.call(void 0, (item) => iconByType.get(item.type), [iconByType]);
|
|
11931
11947
|
const inputNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11932
|
-
|
|
11948
|
+
_chunkQLTXT562cjs.ChatInput,
|
|
11933
11949
|
{
|
|
11934
11950
|
ref: inputRef,
|
|
11935
11951
|
onSend,
|
|
@@ -12129,7 +12145,7 @@ var ChatSidebarSkeleton = _react.forwardRef.call(void 0,
|
|
|
12129
12145
|
...props,
|
|
12130
12146
|
children: [
|
|
12131
12147
|
showNewChatButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center border-b border-ods-border bg-ods-card px-4 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12132
|
-
|
|
12148
|
+
_chunkHQIOMFJHcjs.Button,
|
|
12133
12149
|
{
|
|
12134
12150
|
variant: "transparent",
|
|
12135
12151
|
disabled: true,
|
|
@@ -12244,7 +12260,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
12244
12260
|
...props,
|
|
12245
12261
|
children: [
|
|
12246
12262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center border-b border-ods-border bg-ods-card px-4 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12247
|
-
|
|
12263
|
+
_chunkHQIOMFJHcjs.Button,
|
|
12248
12264
|
{
|
|
12249
12265
|
onClick: onNewChat,
|
|
12250
12266
|
variant: "transparent",
|
|
@@ -12445,7 +12461,7 @@ function OnboardingCarousel({
|
|
|
12445
12461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", role: "group", "aria-label": "Choose step", children: steps.map((step, i) => {
|
|
12446
12462
|
const isCurrent = i === index;
|
|
12447
12463
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12448
|
-
|
|
12464
|
+
_chunkHQIOMFJHcjs.Button,
|
|
12449
12465
|
{
|
|
12450
12466
|
variant: "transparent",
|
|
12451
12467
|
"aria-current": isCurrent ? "step" : void 0,
|
|
@@ -12468,7 +12484,7 @@ function OnboardingCarousel({
|
|
|
12468
12484
|
] }),
|
|
12469
12485
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center justify-center gap-[var(--spacing-system-m)]", children: [
|
|
12470
12486
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12471
|
-
|
|
12487
|
+
_chunkHQIOMFJHcjs.Button,
|
|
12472
12488
|
{
|
|
12473
12489
|
variant: "outline",
|
|
12474
12490
|
className: "w-[200px]",
|
|
@@ -12477,7 +12493,7 @@ function OnboardingCarousel({
|
|
|
12477
12493
|
children: previousLabel
|
|
12478
12494
|
}
|
|
12479
12495
|
),
|
|
12480
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "accent", className: "w-[200px]", onClick: isLast ? onComplete : () => goTo(index + 1), children: isLast ? completeLabel : nextLabel })
|
|
12481
12497
|
] })
|
|
12482
12498
|
]
|
|
12483
12499
|
}
|
|
@@ -12540,17 +12556,17 @@ function resolveExternalNavigation(args) {
|
|
|
12540
12556
|
|
|
12541
12557
|
// src/components/chat/utils/execute-navigation.ts
|
|
12542
12558
|
function isForeignOriginHref(href) {
|
|
12543
|
-
return /^https?:\/\//i.test(href) && !
|
|
12559
|
+
return /^https?:\/\//i.test(href) && !_chunkGCK75D7Fcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
12544
12560
|
}
|
|
12545
12561
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
12546
|
-
const isNewTab = runtime ?
|
|
12562
|
+
const isNewTab = runtime ? _chunkGCK75D7Fcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
12547
12563
|
if (isNewTab) {
|
|
12548
12564
|
if (_optionalChain([runtime, 'optionalAccess', _297 => _297.navigation, 'access', _298 => _298.openExternal])) runtime.navigation.openExternal(href);
|
|
12549
12565
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
12550
12566
|
return;
|
|
12551
12567
|
}
|
|
12552
12568
|
const target = isForeignOriginHref(href) ? href : stripSameOriginToPath(href);
|
|
12553
|
-
if (target.includes("#") &&
|
|
12569
|
+
if (target.includes("#") && _chunkK2JUJ37Dcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX })) {
|
|
12554
12570
|
return;
|
|
12555
12571
|
}
|
|
12556
12572
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _299 => _299.navigation, 'access', _300 => _300.navigate, 'optionalCall', _301 => _301({ href, path, targetPlatform })]), () => ( false));
|
|
@@ -12601,7 +12617,7 @@ function useNavLinkViaRuntime({
|
|
|
12601
12617
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
12602
12618
|
const panel = useChatPanel();
|
|
12603
12619
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
12604
|
-
const isNewTab =
|
|
12620
|
+
const isNewTab = _chunkGCK75D7Fcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
12605
12621
|
const onClick = (e) => {
|
|
12606
12622
|
_optionalChain([onClickProp, 'optionalCall', _302 => _302(e)]);
|
|
12607
12623
|
if (e.defaultPrevented) return;
|
|
@@ -12615,7 +12631,7 @@ function useNavLinkViaRuntime({
|
|
|
12615
12631
|
});
|
|
12616
12632
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _303 => _303.closeChat])) panel.closeChat();
|
|
12617
12633
|
};
|
|
12618
|
-
const attrs =
|
|
12634
|
+
const attrs = _chunkGCK75D7Fcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
12619
12635
|
return {
|
|
12620
12636
|
href: resolvedHref,
|
|
12621
12637
|
...attrs,
|
|
@@ -12678,7 +12694,7 @@ function SourceActionButton({
|
|
|
12678
12694
|
const IconComponent = isDisplay ? _lucidereact.FileText : _lucidereact.MessageSquare;
|
|
12679
12695
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: styles.iconSize });
|
|
12680
12696
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12681
|
-
|
|
12697
|
+
_chunkHQIOMFJHcjs.Button,
|
|
12682
12698
|
{
|
|
12683
12699
|
variant: "transparent",
|
|
12684
12700
|
size: styles.size,
|
|
@@ -12819,7 +12835,7 @@ function UserDisplay({
|
|
|
12819
12835
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12820
12836
|
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
12821
12837
|
{
|
|
12822
|
-
src: avatarUrl ?
|
|
12838
|
+
src: avatarUrl ? _chunkGCK75D7Fcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12823
12839
|
fallback: name,
|
|
12824
12840
|
alt: name,
|
|
12825
12841
|
sizePx: size,
|
|
@@ -12927,7 +12943,7 @@ function ManagedCell({
|
|
|
12927
12943
|
}) {
|
|
12928
12944
|
const hintedWidth = _react2.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
|
|
12929
12945
|
const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
|
|
12930
|
-
const cloneRef =
|
|
12946
|
+
const cloneRef = _chunkK2JUJ37Dcjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
|
|
12931
12947
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12932
12948
|
"div",
|
|
12933
12949
|
{
|
|
@@ -13043,12 +13059,12 @@ function CardsStrip(props) {
|
|
|
13043
13059
|
}, [measure, items.length, marqueeActive, isMobile]);
|
|
13044
13060
|
const chevronSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
13045
13061
|
const userScrollSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
13046
|
-
const { ref: observe, inView: nearViewport } =
|
|
13062
|
+
const { ref: observe, inView: nearViewport } = _chunkK2JUJ37Dcjs.useInView.call(void 0, { rootMargin: "200px", initial: true });
|
|
13047
13063
|
_react.useEffect.call(void 0, () => {
|
|
13048
13064
|
observe(wrapperRef.current);
|
|
13049
13065
|
return () => observe(null);
|
|
13050
13066
|
}, [observe]);
|
|
13051
|
-
const autoplay =
|
|
13067
|
+
const autoplay = _chunkK2JUJ37Dcjs.useAutoplay.call(void 0, nearViewport);
|
|
13052
13068
|
const [activeKey, setActiveKey] = _react.useState.call(void 0, null);
|
|
13053
13069
|
const activeKeyRef = _react.useRef.call(void 0, null);
|
|
13054
13070
|
const activate = _react.useCallback.call(void 0, (key) => {
|
|
@@ -13095,7 +13111,7 @@ function CardsStrip(props) {
|
|
|
13095
13111
|
const current = activeKeyRef.current;
|
|
13096
13112
|
if (current !== null) deactivate(current);
|
|
13097
13113
|
}, [deactivate]);
|
|
13098
|
-
|
|
13114
|
+
_chunkK2JUJ37Dcjs.useResetOnPageHidden.call(void 0, clearHover);
|
|
13099
13115
|
const syncHoverIfScrolled = _react.useCallback.call(void 0, () => {
|
|
13100
13116
|
const scroller = scrollerRef.current;
|
|
13101
13117
|
if (!scroller) return;
|
|
@@ -13116,7 +13132,7 @@ function CardsStrip(props) {
|
|
|
13116
13132
|
},
|
|
13117
13133
|
[reverse, seamBuffer]
|
|
13118
13134
|
);
|
|
13119
|
-
const { posRef: marqueePosRef, glideBy } =
|
|
13135
|
+
const { posRef: marqueePosRef, glideBy } = _chunkK2JUJ37Dcjs.useMarqueeEngine.call(void 0, {
|
|
13120
13136
|
// Viewport gates `active` (the rAF fully stops off-screen — a paused
|
|
13121
13137
|
// engine would keep scheduling frames forever), same treatment as
|
|
13122
13138
|
// <MarqueeWall>; the envelope persists, so re-entry resumes at cruise.
|
|
@@ -13265,7 +13281,7 @@ function CardsStrip(props) {
|
|
|
13265
13281
|
},
|
|
13266
13282
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
13267
13283
|
children: [
|
|
13268
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
13284
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkGCK75D7Fcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkGCK75D7Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
13269
13285
|
headerSlot,
|
|
13270
13286
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
13271
13287
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13316,7 +13332,7 @@ function CardsStrip(props) {
|
|
|
13316
13332
|
),
|
|
13317
13333
|
showChevrons && overflows && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13318
13334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13319
|
-
|
|
13335
|
+
_chunkHQIOMFJHcjs.Button,
|
|
13320
13336
|
{
|
|
13321
13337
|
type: "button",
|
|
13322
13338
|
variant: "outline",
|
|
@@ -13329,7 +13345,7 @@ function CardsStrip(props) {
|
|
|
13329
13345
|
}
|
|
13330
13346
|
),
|
|
13331
13347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13332
|
-
|
|
13348
|
+
_chunkHQIOMFJHcjs.Button,
|
|
13333
13349
|
{
|
|
13334
13350
|
type: "button",
|
|
13335
13351
|
variant: "outline",
|
|
@@ -13416,7 +13432,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13416
13432
|
|
|
13417
13433
|
function VideoBitesStrip({
|
|
13418
13434
|
bites,
|
|
13419
|
-
title =
|
|
13435
|
+
title = _chunkGCK75D7Fcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13420
13436
|
showTitle = true,
|
|
13421
13437
|
filterPublished = true,
|
|
13422
13438
|
profile = null,
|
|
@@ -13429,14 +13445,14 @@ function VideoBitesStrip({
|
|
|
13429
13445
|
cardHeightMobile = 300,
|
|
13430
13446
|
showChevrons = true,
|
|
13431
13447
|
onBiteNavigate,
|
|
13432
|
-
sortComparator =
|
|
13448
|
+
sortComparator = _chunkGCK75D7Fcjs.sortBitesByCreatedAtDesc,
|
|
13433
13449
|
className
|
|
13434
13450
|
}) {
|
|
13435
13451
|
const items = _react.useMemo.call(void 0, () => {
|
|
13436
13452
|
const filtered = filterPublished ? bites.filter((b) => b.published) : [...bites];
|
|
13437
13453
|
return filtered.sort(sortComparator);
|
|
13438
13454
|
}, [bites, filterPublished, sortComparator]);
|
|
13439
|
-
const warmup =
|
|
13455
|
+
const warmup = _chunkGCK75D7Fcjs.useVideoWarmup.call(void 0, { videoUrl: _optionalChain([items, 'access', _326 => _326[0], 'optionalAccess', _327 => _327.url]) || null });
|
|
13440
13456
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13441
13457
|
CardsStrip,
|
|
13442
13458
|
{
|
|
@@ -13583,7 +13599,7 @@ function VideoBiteCard({
|
|
|
13583
13599
|
style: { aspectRatio: cssAspect, ...height !== void 0 ? { height, maxWidth: STRIP_CELL_MAX_WIDTH } : {} },
|
|
13584
13600
|
children: [
|
|
13585
13601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13586
|
-
|
|
13602
|
+
_chunkGCK75D7Fcjs.VideoHoverPreviewSurface,
|
|
13587
13603
|
{
|
|
13588
13604
|
url: bite.url,
|
|
13589
13605
|
posterUrl: bite.thumbnail_url,
|
|
@@ -13654,7 +13670,7 @@ function EntityVideoSection({
|
|
|
13654
13670
|
title = "Video",
|
|
13655
13671
|
videoSummary,
|
|
13656
13672
|
videoBites,
|
|
13657
|
-
bitesTitle =
|
|
13673
|
+
bitesTitle = _chunkGCK75D7Fcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13658
13674
|
filterPublishedBites = true,
|
|
13659
13675
|
bitesProfile = null,
|
|
13660
13676
|
bitesHref,
|
|
@@ -13701,7 +13717,7 @@ function EntityVideoSection({
|
|
|
13701
13717
|
)
|
|
13702
13718
|
] }),
|
|
13703
13719
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13704
|
-
|
|
13720
|
+
_chunkGCK75D7Fcjs.Video,
|
|
13705
13721
|
{
|
|
13706
13722
|
kind: fullVideoKind,
|
|
13707
13723
|
url: fullVideoUrl,
|
|
@@ -13714,7 +13730,7 @@ function EntityVideoSection({
|
|
|
13714
13730
|
}
|
|
13715
13731
|
) }),
|
|
13716
13732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13717
|
-
|
|
13733
|
+
_chunkGCK75D7Fcjs.Video,
|
|
13718
13734
|
{
|
|
13719
13735
|
url: highlightVideoUrl,
|
|
13720
13736
|
poster: highlightVideoThumbnail,
|
|
@@ -13723,7 +13739,7 @@ function EntityVideoSection({
|
|
|
13723
13739
|
}
|
|
13724
13740
|
) })
|
|
13725
13741
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13726
|
-
|
|
13742
|
+
_chunkGCK75D7Fcjs.Video,
|
|
13727
13743
|
{
|
|
13728
13744
|
kind: fullVideoKind,
|
|
13729
13745
|
url: fullVideoUrl,
|
|
@@ -13735,7 +13751,7 @@ function EntityVideoSection({
|
|
|
13735
13751
|
priority
|
|
13736
13752
|
}
|
|
13737
13753
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13738
|
-
|
|
13754
|
+
_chunkGCK75D7Fcjs.Video,
|
|
13739
13755
|
{
|
|
13740
13756
|
url: highlightVideoUrl,
|
|
13741
13757
|
poster: highlightVideoThumbnail,
|
|
@@ -13745,7 +13761,7 @@ function EntityVideoSection({
|
|
|
13745
13761
|
}
|
|
13746
13762
|
) : null),
|
|
13747
13763
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
13748
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
13764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkGCK75D7Fcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
13749
13765
|
/* @__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 }) })
|
|
13750
13766
|
] }),
|
|
13751
13767
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14005,14 +14021,14 @@ function designDocPeople(doc) {
|
|
|
14005
14021
|
return people;
|
|
14006
14022
|
}
|
|
14007
14023
|
function designDocMetaLine(doc) {
|
|
14008
|
-
return [_optionalChain([doc, 'access', _338 => _338.author, 'optionalAccess', _339 => _339.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
14024
|
+
return [_optionalChain([doc, 'access', _338 => _338.author, 'optionalAccess', _339 => _339.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkGCK75D7Fcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
14009
14025
|
}
|
|
14010
14026
|
function DesignDocCardSkeleton() {
|
|
14011
14027
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14012
14028
|
"div",
|
|
14013
14029
|
{
|
|
14014
14030
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
14015
|
-
|
|
14031
|
+
_chunkGCK75D7Fcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
14016
14032
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
14017
14033
|
),
|
|
14018
14034
|
role: "status",
|
|
@@ -14042,7 +14058,7 @@ function DesignDocCardSkeleton() {
|
|
|
14042
14058
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
14043
14059
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
14044
14060
|
const people = designDocPeople(doc);
|
|
14045
|
-
const link =
|
|
14061
|
+
const link = _chunkGCK75D7Fcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
14046
14062
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14047
14063
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
14048
14064
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -14050,7 +14066,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14050
14066
|
/* @__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) }) })
|
|
14051
14067
|
] }),
|
|
14052
14068
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14053
|
-
|
|
14069
|
+
_chunkGCK75D7Fcjs.StatusBadge,
|
|
14054
14070
|
{
|
|
14055
14071
|
text: readiness.label,
|
|
14056
14072
|
colorScheme: readiness.scheme,
|
|
@@ -14060,7 +14076,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14060
14076
|
}
|
|
14061
14077
|
)
|
|
14062
14078
|
] }),
|
|
14063
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
14064
14080
|
/* @__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 || "" }) }),
|
|
14065
14081
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
14066
14082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
@@ -14069,7 +14085,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14069
14085
|
] })
|
|
14070
14086
|
] });
|
|
14071
14087
|
const outer = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
14072
|
-
|
|
14088
|
+
_chunkGCK75D7Fcjs.CONTENT_CARD_FRAME_CLASS,
|
|
14073
14089
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
14074
14090
|
className
|
|
14075
14091
|
);
|
|
@@ -14213,26 +14229,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14213
14229
|
metaParts.push(
|
|
14214
14230
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14215
14231
|
);
|
|
14216
|
-
const href =
|
|
14232
|
+
const href = _chunkGCK75D7Fcjs.safeHref.call(void 0, item.url);
|
|
14217
14233
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14219
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14220
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14235
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14236
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14221
14237
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14238
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14223
14239
|
] }),
|
|
14224
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14225
14241
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14226
14242
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14227
14243
|
] }, i)) }) }),
|
|
14228
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SUMMARY, children: _chunkGCK75D7Fcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14229
14245
|
] }),
|
|
14230
14246
|
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
|
|
14231
14247
|
] });
|
|
14232
14248
|
if (anchorProps) {
|
|
14233
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14249
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14234
14250
|
}
|
|
14235
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14251
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14236
14252
|
}
|
|
14237
14253
|
function GitHubActivityCardSkeleton({
|
|
14238
14254
|
variant = "compact",
|
|
@@ -14249,12 +14265,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14249
14265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14250
14266
|
] });
|
|
14251
14267
|
}
|
|
14252
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14254
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14268
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14270
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14272
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14273
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SUMMARY, children: _chunkGCK75D7Fcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14258
14274
|
] }),
|
|
14259
14275
|
/* @__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" }) })
|
|
14260
14276
|
] });
|
|
@@ -14304,23 +14320,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14304
14320
|
metaParts.push(
|
|
14305
14321
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14306
14322
|
);
|
|
14307
|
-
const href =
|
|
14323
|
+
const href = _chunkGCK75D7Fcjs.safeHref.call(void 0, item.url);
|
|
14308
14324
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14310
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14311
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14312
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14313
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14326
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14327
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkGCK75D7Fcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14314
14330
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14315
14331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14316
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14332
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SUMMARY, children: _chunkGCK75D7Fcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14317
14333
|
] }),
|
|
14318
14334
|
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
|
|
14319
14335
|
] });
|
|
14320
14336
|
if (anchorProps) {
|
|
14321
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14337
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14322
14338
|
}
|
|
14323
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14339
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14324
14340
|
}
|
|
14325
14341
|
function SlackMessageCardSkeleton({
|
|
14326
14342
|
variant = "compact",
|
|
@@ -14335,12 +14351,12 @@ function SlackMessageCardSkeleton({
|
|
|
14335
14351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14336
14352
|
] });
|
|
14337
14353
|
}
|
|
14338
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14339
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14340
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14354
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14356
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14359
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14344
14360
|
] }),
|
|
14345
14361
|
/* @__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" }) })
|
|
14346
14362
|
] });
|
|
@@ -14376,7 +14392,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14376
14392
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14377
14393
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14378
14394
|
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,
|
|
14379
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14395
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14380
14396
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14381
14397
|
] });
|
|
14382
14398
|
}
|
|
@@ -14390,13 +14406,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14390
14406
|
metaParts.push(
|
|
14391
14407
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14392
14408
|
);
|
|
14393
|
-
const href =
|
|
14409
|
+
const href = _chunkGCK75D7Fcjs.safeHref.call(void 0, item.url);
|
|
14394
14410
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14395
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14411
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14396
14412
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14398
14414
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14399
|
-
|
|
14415
|
+
_chunkGCK75D7Fcjs.StatusBadge,
|
|
14400
14416
|
{
|
|
14401
14417
|
text: priorityText,
|
|
14402
14418
|
variant: "button",
|
|
@@ -14405,7 +14421,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14405
14421
|
}
|
|
14406
14422
|
) : null,
|
|
14407
14423
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14408
|
-
|
|
14424
|
+
_chunkGCK75D7Fcjs.StatusBadge,
|
|
14409
14425
|
{
|
|
14410
14426
|
text: statusText,
|
|
14411
14427
|
variant: "button",
|
|
@@ -14419,7 +14435,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14419
14435
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14420
14436
|
] }) : null,
|
|
14421
14437
|
/* @__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." }) }) }),
|
|
14422
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14438
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14423
14439
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14424
14440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14425
14441
|
] }, i)) }) }) : null
|
|
@@ -14427,9 +14443,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14427
14443
|
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
|
|
14428
14444
|
] });
|
|
14429
14445
|
if (anchorProps) {
|
|
14430
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14446
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14431
14447
|
}
|
|
14432
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14448
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14433
14449
|
}
|
|
14434
14450
|
function HubspotTicketCardSkeleton({
|
|
14435
14451
|
variant = "compact",
|
|
@@ -14443,8 +14459,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14443
14459
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14444
14460
|
] });
|
|
14445
14461
|
}
|
|
14446
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14447
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14462
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14463
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14448
14464
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14449
14465
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14450
14466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14457,7 +14473,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14457
14473
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14458
14474
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14459
14475
|
] }),
|
|
14460
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14476
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14461
14477
|
] }),
|
|
14462
14478
|
/* @__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" }) })
|
|
14463
14479
|
] });
|
|
@@ -14468,10 +14484,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14468
14484
|
|
|
14469
14485
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14470
14486
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14471
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14487
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14472
14488
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14474
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14475
14491
|
] }),
|
|
14476
14492
|
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: [
|
|
14477
14493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14482,13 +14498,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14482
14498
|
_optionalChain([anchorProps, 'optionalAccess', _340 => _340.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
|
|
14483
14499
|
] });
|
|
14484
14500
|
if (!anchorProps) {
|
|
14485
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14501
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14486
14502
|
}
|
|
14487
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14503
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14488
14504
|
}
|
|
14489
14505
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14490
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14491
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14506
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14507
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14492
14508
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14493
14509
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14494
14510
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14509,29 +14525,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14509
14525
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14510
14526
|
const goalsCount = _optionalChain([campaign, 'access', _341 => _341.goals, 'optionalAccess', _342 => _342.length]) || 0;
|
|
14511
14527
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14512
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14513
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14514
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14515
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14516
|
-
campaign.start_date ?
|
|
14528
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14529
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14530
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14532
|
+
campaign.start_date ? _chunkGCK75D7Fcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14517
14533
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14518
14534
|
"Marketing campaign"
|
|
14519
14535
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkGCK75D7Fcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14521
14537
|
] })
|
|
14522
14538
|
] });
|
|
14523
14539
|
if (anchorProps) {
|
|
14524
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14540
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14525
14541
|
}
|
|
14526
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14542
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14527
14543
|
}
|
|
14528
14544
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14529
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14530
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14531
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14533
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14534
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14545
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14546
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14547
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14548
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14535
14551
|
] })
|
|
14536
14552
|
] });
|
|
14537
14553
|
}
|
|
@@ -14540,14 +14556,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14540
14556
|
|
|
14541
14557
|
|
|
14542
14558
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14543
|
-
const href =
|
|
14559
|
+
const href = _chunkGCK75D7Fcjs.safeHref.call(void 0, item.url);
|
|
14544
14560
|
const dateText = _chunkF5BPGWGTcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14545
14561
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14546
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14562
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14547
14563
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14548
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14564
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14549
14565
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14550
|
-
|
|
14566
|
+
_chunkGCK75D7Fcjs.StatusBadge,
|
|
14551
14567
|
{
|
|
14552
14568
|
text: item.badge.text,
|
|
14553
14569
|
variant: "button",
|
|
@@ -14565,18 +14581,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14565
14581
|
] }),
|
|
14566
14582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14567
14583
|
] }, i)) }) : null,
|
|
14568
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14584
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14569
14585
|
] }),
|
|
14570
14586
|
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
|
|
14571
14587
|
] });
|
|
14572
14588
|
if (anchorProps) {
|
|
14573
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14589
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14574
14590
|
}
|
|
14575
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14591
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14576
14592
|
}
|
|
14577
14593
|
function GenericEntityCardSkeleton({ className }) {
|
|
14578
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14579
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14594
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14595
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14580
14596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14581
14597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14582
14598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14678,7 +14694,7 @@ function VendorIcon({
|
|
|
14678
14694
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14679
14695
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
14680
14696
|
{
|
|
14681
|
-
src:
|
|
14697
|
+
src: _chunkGCK75D7Fcjs.getProxiedImageUrl2.call(void 0, logoUrl) || logoUrl,
|
|
14682
14698
|
alt: `${vendor.title} logo`,
|
|
14683
14699
|
width,
|
|
14684
14700
|
height,
|
|
@@ -14708,8 +14724,8 @@ function useChatCardItem(type, id) {
|
|
|
14708
14724
|
const res = await _chunkULWVKHSIcjs.embedAuthedFetch.call(void 0, url);
|
|
14709
14725
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14710
14726
|
const data = await res.json();
|
|
14711
|
-
const items =
|
|
14712
|
-
const match = items.find((it) =>
|
|
14727
|
+
const items = _chunkGCK75D7Fcjs.extractCardItems.call(void 0, type, data);
|
|
14728
|
+
const match = items.find((it) => _chunkGCK75D7Fcjs.extractItemId.call(void 0, type, it) === id);
|
|
14713
14729
|
return _nullishCoalesce(match, () => ( null));
|
|
14714
14730
|
},
|
|
14715
14731
|
enabled: !!url && id.length > 0,
|
|
@@ -14828,7 +14844,7 @@ function MingoInfoCard({
|
|
|
14828
14844
|
children: [
|
|
14829
14845
|
isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: _chunk3ATAYP36cjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
|
|
14830
14846
|
hasMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14831
|
-
|
|
14847
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
14832
14848
|
{
|
|
14833
14849
|
groups: menuGroups,
|
|
14834
14850
|
triggerAriaLabel: menuAriaLabel,
|
|
@@ -14900,7 +14916,7 @@ function resolveFetchedCardHref({
|
|
|
14900
14916
|
composeContentUrl
|
|
14901
14917
|
}) {
|
|
14902
14918
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14903
|
-
const canonicalType =
|
|
14919
|
+
const canonicalType = _chunkGCK75D7Fcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14904
14920
|
return composeContentUrl({
|
|
14905
14921
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14906
14922
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14950,16 +14966,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14950
14966
|
if (docTarget) {
|
|
14951
14967
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14952
14968
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14953
|
-
href = _nullishCoalesce(
|
|
14969
|
+
href = _nullishCoalesce(_chunkGCK75D7Fcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14954
14970
|
targetPlatform = docTarget.platform;
|
|
14955
14971
|
} else if (ctx.chipBasePlatform) {
|
|
14956
14972
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14957
|
-
href = _nullishCoalesce(
|
|
14973
|
+
href = _nullishCoalesce(_chunkGCK75D7Fcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14958
14974
|
targetPlatform = ctx.chipBasePlatform;
|
|
14959
14975
|
} else if (ctx.baseRoute) {
|
|
14960
14976
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14961
14977
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14962
|
-
href = _nullishCoalesce(
|
|
14978
|
+
href = _nullishCoalesce(_chunkGCK75D7Fcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14963
14979
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14964
14980
|
}
|
|
14965
14981
|
}
|
|
@@ -14968,15 +14984,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14968
14984
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14969
14985
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14970
14986
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14971
|
-
type:
|
|
14987
|
+
type: _chunkGCK75D7Fcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14972
14988
|
identifier: idValue,
|
|
14973
14989
|
externalUrl: row.externalUrl,
|
|
14974
14990
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14975
14991
|
});
|
|
14976
|
-
href = composed.href ? _nullishCoalesce(
|
|
14992
|
+
href = composed.href ? _nullishCoalesce(_chunkGCK75D7Fcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14977
14993
|
targetPlatform = composed.targetPlatform;
|
|
14978
14994
|
} else if (row.externalUrl) {
|
|
14979
|
-
href = _nullishCoalesce(
|
|
14995
|
+
href = _nullishCoalesce(_chunkGCK75D7Fcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14980
14996
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14981
14997
|
}
|
|
14982
14998
|
const documentType = row.documentType;
|
|
@@ -15043,7 +15059,7 @@ function resolveCardDestination({
|
|
|
15043
15059
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _356 => _356.fallbackHref, 'optionalCall', _357 => _357(item)]), () => ( null)),
|
|
15044
15060
|
allowComposed: !entry.noComposedHref
|
|
15045
15061
|
});
|
|
15046
|
-
const url = choice ? _nullishCoalesce(
|
|
15062
|
+
const url = choice ? _nullishCoalesce(_chunkGCK75D7Fcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
15047
15063
|
if (choice && url) {
|
|
15048
15064
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
15049
15065
|
}
|
|
@@ -15056,11 +15072,11 @@ function resolveCardDestination({
|
|
|
15056
15072
|
|
|
15057
15073
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
15058
15074
|
const label = entityLabel || "Item";
|
|
15059
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
15060
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15061
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
15062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15063
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15075
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
15077
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkGCK75D7Fcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
15079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkGCK75D7Fcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
15064
15080
|
label,
|
|
15065
15081
|
" deleted",
|
|
15066
15082
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15115,7 +15131,7 @@ function GitHubChatCard({
|
|
|
15115
15131
|
description,
|
|
15116
15132
|
icon: githubKindIcon(kind),
|
|
15117
15133
|
status,
|
|
15118
|
-
anchorProps:
|
|
15134
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15119
15135
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15120
15136
|
menuAriaLabel: "Activity actions"
|
|
15121
15137
|
}
|
|
@@ -15262,7 +15278,7 @@ function HubspotTicketChatCard({
|
|
|
15262
15278
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15263
15279
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TagIcon, { size: 24 }),
|
|
15264
15280
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15265
|
-
anchorProps:
|
|
15281
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15266
15282
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15267
15283
|
label: "Open Ticket Details",
|
|
15268
15284
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TagIcon, { size: 20 })
|
|
@@ -15285,7 +15301,7 @@ function FaqChatCard({
|
|
|
15285
15301
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15286
15302
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.QuestionCircleIcon, { size: 24 }),
|
|
15287
15303
|
status: { label: statusLabel, variant: "grey" },
|
|
15288
|
-
anchorProps:
|
|
15304
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15289
15305
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15290
15306
|
menuAriaLabel: "FAQ actions"
|
|
15291
15307
|
}
|
|
@@ -15305,7 +15321,7 @@ function SlackChatCard({
|
|
|
15305
15321
|
title,
|
|
15306
15322
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15307
15323
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15308
|
-
anchorProps:
|
|
15324
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15309
15325
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15310
15326
|
menuAriaLabel: "Message actions"
|
|
15311
15327
|
}
|
|
@@ -15323,7 +15339,7 @@ function GlyphChatCard({
|
|
|
15323
15339
|
title: chatRef.title,
|
|
15324
15340
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15325
15341
|
icon,
|
|
15326
|
-
anchorProps:
|
|
15342
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15327
15343
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15328
15344
|
menuAriaLabel: "Card actions"
|
|
15329
15345
|
}
|
|
@@ -15341,20 +15357,20 @@ function TrustCenterChatCard({
|
|
|
15341
15357
|
}) {
|
|
15342
15358
|
const raw = _optionalChain([item, 'optionalAccess', _381 => _381.frameworks]);
|
|
15343
15359
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
15344
|
-
const summary =
|
|
15360
|
+
const summary = _chunkGCK75D7Fcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
15345
15361
|
const leadFramework = frameworks[0];
|
|
15346
15362
|
const lead = leadFramework ? {
|
|
15347
|
-
label:
|
|
15348
|
-
color:
|
|
15363
|
+
label: _chunkGCK75D7Fcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
15364
|
+
color: _chunkGCK75D7Fcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
15349
15365
|
} : void 0;
|
|
15350
15366
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15351
15367
|
MingoInfoCard,
|
|
15352
15368
|
{
|
|
15353
|
-
title:
|
|
15354
|
-
description: summary ||
|
|
15369
|
+
title: _chunkGCK75D7Fcjs.TRUST_CENTER_TITLE,
|
|
15370
|
+
description: summary || _chunkGCK75D7Fcjs.TRUST_CENTER_TAGLINE,
|
|
15355
15371
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ShieldCheckIcon, { size: 24 }),
|
|
15356
15372
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
15357
|
-
anchorProps:
|
|
15373
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15358
15374
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15359
15375
|
label: "View trust center",
|
|
15360
15376
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -15376,7 +15392,7 @@ function DataRoomDocChatCard({
|
|
|
15376
15392
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15377
15393
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileContentIcon, { size: 24 }),
|
|
15378
15394
|
status: { label: badgeText, variant: "grey" },
|
|
15379
|
-
anchorProps:
|
|
15395
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15380
15396
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15381
15397
|
menuAriaLabel: "Document actions"
|
|
15382
15398
|
}
|
|
@@ -15395,7 +15411,7 @@ function GenericFinancialChatCard({
|
|
|
15395
15411
|
title: chatRef.title,
|
|
15396
15412
|
description: subtitle,
|
|
15397
15413
|
icon,
|
|
15398
|
-
anchorProps:
|
|
15414
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15399
15415
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15400
15416
|
menuAriaLabel: "Document actions"
|
|
15401
15417
|
}
|
|
@@ -15481,7 +15497,7 @@ function CampaignChatCard({
|
|
|
15481
15497
|
}) {
|
|
15482
15498
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _387 => _387.goals])) ? item.goals.length : 0;
|
|
15483
15499
|
const meta = [
|
|
15484
|
-
_optionalChain([item, 'optionalAccess', _388 => _388.start_date]) ?
|
|
15500
|
+
_optionalChain([item, 'optionalAccess', _388 => _388.start_date]) ? _chunkGCK75D7Fcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15485
15501
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15486
15502
|
"Marketing campaign"
|
|
15487
15503
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15520,7 +15536,7 @@ function EntityMingoCard({
|
|
|
15520
15536
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15521
15537
|
icon: fallbackIcon,
|
|
15522
15538
|
status,
|
|
15523
|
-
anchorProps:
|
|
15539
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15524
15540
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15525
15541
|
menuAriaLabel
|
|
15526
15542
|
}
|
|
@@ -15532,7 +15548,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15532
15548
|
function statusPill(status) {
|
|
15533
15549
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15534
15550
|
if (!s) return void 0;
|
|
15535
|
-
const scheme =
|
|
15551
|
+
const scheme = _chunkGCK75D7Fcjs.getStatusColorScheme.call(void 0, s);
|
|
15536
15552
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15537
15553
|
return { label: s, variant };
|
|
15538
15554
|
}
|
|
@@ -15623,7 +15639,7 @@ function DesignDocChatCard({
|
|
|
15623
15639
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
15624
15640
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileContentIcon, { size: 24 }),
|
|
15625
15641
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
15626
|
-
anchorProps:
|
|
15642
|
+
anchorProps: _chunkGCK75D7Fcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
15627
15643
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
15628
15644
|
menuAriaLabel: "Design doc actions"
|
|
15629
15645
|
}
|
|
@@ -15641,7 +15657,7 @@ function InvestorUpdateChatCard({
|
|
|
15641
15657
|
EntityMingoCard,
|
|
15642
15658
|
{
|
|
15643
15659
|
title,
|
|
15644
|
-
description: _optionalChain([item, 'optionalAccess', _418 => _418.strategic_update]) || _optionalChain([item, 'optionalAccess', _419 => _419.content]) ||
|
|
15660
|
+
description: _optionalChain([item, 'optionalAccess', _418 => _418.strategic_update]) || _optionalChain([item, 'optionalAccess', _419 => _419.content]) || _chunkGCK75D7Fcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _420 => _420.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _421 => _421.period_end]), () => ( null))) || void 0,
|
|
15645
15661
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _422 => _422.featured_image]), ogPlaceholder),
|
|
15646
15662
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PresentationLineIcon, { size: 24 }),
|
|
15647
15663
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15685,7 +15701,7 @@ function ProgramChatCard({
|
|
|
15685
15701
|
discuss
|
|
15686
15702
|
}) {
|
|
15687
15703
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MicrophoneIcon, { size: 24 });
|
|
15688
|
-
const { line: meta } =
|
|
15704
|
+
const { line: meta } = _chunkGCK75D7Fcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkGCK75D7Fcjs.programMetaFormatters.call(void 0, _chunkGCK75D7Fcjs.PROGRAM_META_RENDERERS));
|
|
15689
15705
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15690
15706
|
EntityMingoCard,
|
|
15691
15707
|
{
|
|
@@ -15711,7 +15727,7 @@ function RoadmapChatCard({
|
|
|
15711
15727
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _432 => _432.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15712
15728
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _433 => _433.customItemId]) != null;
|
|
15713
15729
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MapIcon, { size: 24 });
|
|
15714
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15730
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _434 => _434.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15715
15731
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15716
15732
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15717
15733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGHIV4L6cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15777,11 +15793,11 @@ function refText(ref, key) {
|
|
|
15777
15793
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
15778
15794
|
}
|
|
15779
15795
|
function VendorGlyph({ title, logoUrl }) {
|
|
15780
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15796
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
15781
15797
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
15782
15798
|
}
|
|
15783
15799
|
function SitePageGlyph({ iconName }) {
|
|
15784
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15800
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
15785
15801
|
}
|
|
15786
15802
|
var GITHUB_CARD_CONFIGS = {
|
|
15787
15803
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -15899,7 +15915,7 @@ function programRegistryEntries() {
|
|
|
15899
15915
|
label: cfg.label,
|
|
15900
15916
|
contentRefType: cfg.contentRefType,
|
|
15901
15917
|
bareInline: true,
|
|
15902
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15918
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15903
15919
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15904
15920
|
ProgramChatCard,
|
|
15905
15921
|
{
|
|
@@ -15940,7 +15956,7 @@ function roadmapRegistryEntries() {
|
|
|
15940
15956
|
bareInline: true,
|
|
15941
15957
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15942
15958
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15943
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15959
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15944
15960
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15945
15961
|
RoadmapChatCard,
|
|
15946
15962
|
{
|
|
@@ -15998,12 +16014,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15998
16014
|
// projection route; `extractCardItems` turns its object payload into the
|
|
15999
16015
|
// single matched row. Destination is the public page unless the host
|
|
16000
16016
|
// re-homes the type (`composeContentUrl` override).
|
|
16001
|
-
[
|
|
16017
|
+
[_chunkGCK75D7Fcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
16002
16018
|
label: "Trust center",
|
|
16003
16019
|
bareInline: true,
|
|
16004
|
-
contentRefType:
|
|
16020
|
+
contentRefType: _chunkGCK75D7Fcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
16005
16021
|
noComposedHref: true,
|
|
16006
|
-
fallbackHref: () =>
|
|
16022
|
+
fallbackHref: () => _chunkGCK75D7Fcjs.TRUST_CENTER_PAGE_PATH,
|
|
16007
16023
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
16008
16024
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
16009
16025
|
},
|
|
@@ -16029,7 +16045,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16029
16045
|
label: "Blog post",
|
|
16030
16046
|
contentRefType: "blog_post_existing",
|
|
16031
16047
|
bareInline: true,
|
|
16032
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16048
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.BlogCardSkeleton, { size: "sm" }),
|
|
16033
16049
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16034
16050
|
BlogChatCard,
|
|
16035
16051
|
{
|
|
@@ -16046,7 +16062,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16046
16062
|
label: "Case study",
|
|
16047
16063
|
contentRefType: "case_study",
|
|
16048
16064
|
bareInline: true,
|
|
16049
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16065
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
16050
16066
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16051
16067
|
CaseStudyChatCard,
|
|
16052
16068
|
{
|
|
@@ -16071,7 +16087,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16071
16087
|
label: "Customer interview",
|
|
16072
16088
|
contentRefType: "customer_interview",
|
|
16073
16089
|
bareInline: true,
|
|
16074
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16090
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
16075
16091
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16076
16092
|
CustomerInterviewChatCard,
|
|
16077
16093
|
{
|
|
@@ -16087,9 +16103,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16087
16103
|
label: "Product release",
|
|
16088
16104
|
contentRefType: "product_release",
|
|
16089
16105
|
bareInline: true,
|
|
16090
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16106
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
16091
16107
|
render: (item, chatRef, opts) => {
|
|
16092
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _475 => _475.extras, 'optionalAccess', _476 => _476.buildProductReleaseCardProps]), () => (
|
|
16108
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _475 => _475.extras, 'optionalAccess', _476 => _476.buildProductReleaseCardProps]), () => ( _chunkGCK75D7Fcjs.defaultBuildProductReleaseCardProps));
|
|
16093
16109
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16094
16110
|
ProductReleaseChatCard,
|
|
16095
16111
|
{
|
|
@@ -16107,7 +16123,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16107
16123
|
label: "Investor update",
|
|
16108
16124
|
contentRefType: "investor_update",
|
|
16109
16125
|
bareInline: true,
|
|
16110
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16126
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
16111
16127
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16112
16128
|
InvestorUpdateChatCard,
|
|
16113
16129
|
{
|
|
@@ -16125,7 +16141,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16125
16141
|
bareInline: true,
|
|
16126
16142
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
16127
16143
|
displayAction: true,
|
|
16128
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16144
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
16129
16145
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16130
16146
|
OnboardingGuideChatCard,
|
|
16131
16147
|
{
|
|
@@ -16209,7 +16225,7 @@ function ChatCardLoader({
|
|
|
16209
16225
|
};
|
|
16210
16226
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16211
16227
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16212
|
-
const isNewTab =
|
|
16228
|
+
const isNewTab = _chunkGCK75D7Fcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16213
16229
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16214
16230
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16215
16231
|
const discuss = discussFn ? {
|
|
@@ -16345,12 +16361,12 @@ function makeBatchDedupKey(item) {
|
|
|
16345
16361
|
return `${item.messageType}:${seq}:${type}:${text2}:${integratedToolType}:${toolFunction}:${approvalRequestId}`;
|
|
16346
16362
|
}
|
|
16347
16363
|
function getChatTypeMessageType(chatType) {
|
|
16348
|
-
return chatType ===
|
|
16364
|
+
return chatType === _chunkQLTXT562cjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
|
|
16349
16365
|
}
|
|
16350
16366
|
function useChunkCatchup({
|
|
16351
16367
|
dialogId,
|
|
16352
16368
|
onChunkReceived,
|
|
16353
|
-
chatTypes = [
|
|
16369
|
+
chatTypes = [_chunkQLTXT562cjs.CHAT_TYPE.CLIENT],
|
|
16354
16370
|
fetchChunks
|
|
16355
16371
|
}) {
|
|
16356
16372
|
const processedSequenceKeys = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
@@ -17648,7 +17664,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17648
17664
|
return () => root.removeEventListener("click", onClick);
|
|
17649
17665
|
}, [viewUrlPrefix]);
|
|
17650
17666
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17651
|
-
|
|
17667
|
+
_chunkGCK75D7Fcjs.ImageGalleryModal,
|
|
17652
17668
|
{
|
|
17653
17669
|
images: state.images,
|
|
17654
17670
|
isOpen: state.isOpen,
|
|
@@ -18388,7 +18404,7 @@ function nullableText(value) {
|
|
|
18388
18404
|
}
|
|
18389
18405
|
function httpsUrl(value) {
|
|
18390
18406
|
const candidate = text(value);
|
|
18391
|
-
if (!candidate ||
|
|
18407
|
+
if (!candidate || _chunkGCK75D7Fcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
18392
18408
|
try {
|
|
18393
18409
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
18394
18410
|
} catch (e43) {
|
|
@@ -19752,7 +19768,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
19752
19768
|
const status = approvalStatuses[requestId] || "pending";
|
|
19753
19769
|
if (!displayInline(approvalType)) {
|
|
19754
19770
|
const required = _nullishCoalesce(toolCalls.find((c) => c.requiresApproval), () => ( toolCalls[0]));
|
|
19755
|
-
const summary = required ?
|
|
19771
|
+
const summary = required ? _chunkOKE5BIQHcjs.getCommandText.call(void 0, required) : `Batch of ${toolCalls.length} tool calls`;
|
|
19756
19772
|
pendingEscalated.set(requestId, {
|
|
19757
19773
|
command: summary,
|
|
19758
19774
|
explanation: _optionalChain([required, 'optionalAccess', _634 => _634.toolExplanation]),
|
|
@@ -19785,7 +19801,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
19785
19801
|
if (!call.requiresApproval) continue;
|
|
19786
19802
|
segments = accumulator.addApprovalRequest(
|
|
19787
19803
|
requestId,
|
|
19788
|
-
|
|
19804
|
+
_chunkOKE5BIQHcjs.getCommandText.call(void 0, call),
|
|
19789
19805
|
call.toolExplanation,
|
|
19790
19806
|
approvalType,
|
|
19791
19807
|
status,
|
|
@@ -19864,7 +19880,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
19864
19880
|
if (!call.requiresApproval) continue;
|
|
19865
19881
|
segments = accumulator.addApprovalRequest(
|
|
19866
19882
|
requestId,
|
|
19867
|
-
|
|
19883
|
+
_chunkOKE5BIQHcjs.getCommandText.call(void 0, call),
|
|
19868
19884
|
call.toolExplanation,
|
|
19869
19885
|
escalatedData.approvalType,
|
|
19870
19886
|
status
|
|
@@ -22024,12 +22040,12 @@ function extractIncompleteTailState(messages) {
|
|
|
22024
22040
|
|
|
22025
22041
|
// src/components/chat/utils/process-historical-messages.ts
|
|
22026
22042
|
function getOwnerDisplayName(owner) {
|
|
22027
|
-
if (_optionalChain([owner, 'optionalAccess', _711 => _711.type]) ===
|
|
22043
|
+
if (_optionalChain([owner, 'optionalAccess', _711 => _711.type]) === _chunkQLTXT562cjs.OWNER_TYPE.ADMIN && owner.user) {
|
|
22028
22044
|
const { firstName, lastName } = owner.user;
|
|
22029
22045
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
22030
22046
|
if (name) return name;
|
|
22031
22047
|
}
|
|
22032
|
-
return _optionalChain([owner, 'optionalAccess', _712 => _712.type]) ===
|
|
22048
|
+
return _optionalChain([owner, 'optionalAccess', _712 => _712.type]) === _chunkQLTXT562cjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
22033
22049
|
}
|
|
22034
22050
|
function getOwnerAvatar(owner) {
|
|
22035
22051
|
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _713 => _713.user, 'optionalAccess', _714 => _714.image, 'optionalAccess', _715 => _715.imageUrl]), () => ( void 0));
|
|
@@ -22292,7 +22308,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
|
|
|
22292
22308
|
if (!call.requiresApproval) continue;
|
|
22293
22309
|
accumulator.addApprovalRequest(
|
|
22294
22310
|
event.requestId,
|
|
22295
|
-
|
|
22311
|
+
_chunkOKE5BIQHcjs.getCommandText.call(void 0, call),
|
|
22296
22312
|
call.toolExplanation,
|
|
22297
22313
|
approvalType,
|
|
22298
22314
|
status,
|
|
@@ -22353,7 +22369,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
|
|
|
22353
22369
|
if (!call.requiresApproval) continue;
|
|
22354
22370
|
accumulator.addApprovalRequest(
|
|
22355
22371
|
requestId,
|
|
22356
|
-
|
|
22372
|
+
_chunkOKE5BIQHcjs.getCommandText.call(void 0, call),
|
|
22357
22373
|
call.toolExplanation,
|
|
22358
22374
|
escalatedData.approvalType,
|
|
22359
22375
|
status
|
|
@@ -22461,10 +22477,10 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
22461
22477
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
22462
22478
|
return;
|
|
22463
22479
|
}
|
|
22464
|
-
const isUserMessage = _optionalChain([msg, 'access', _728 => _728.owner, 'optionalAccess', _729 => _729.type]) ===
|
|
22480
|
+
const isUserMessage = _optionalChain([msg, 'access', _728 => _728.owner, 'optionalAccess', _729 => _729.type]) === _chunkQLTXT562cjs.OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _730 => _730.owner, 'optionalAccess', _731 => _731.type]) === _chunkQLTXT562cjs.OWNER_TYPE.ADMIN;
|
|
22465
22481
|
if (isUserMessage) {
|
|
22466
22482
|
flushAssistantMessage();
|
|
22467
|
-
const userAuthorType = _optionalChain([msg, 'access', _732 => _732.owner, 'optionalAccess', _733 => _733.type]) ===
|
|
22483
|
+
const userAuthorType = _optionalChain([msg, 'access', _732 => _732.owner, 'optionalAccess', _733 => _733.type]) === _chunkQLTXT562cjs.OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
22468
22484
|
messageDataArray.forEach((data) => {
|
|
22469
22485
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
22470
22486
|
const rawContext = data.contextItems;
|
|
@@ -22515,7 +22531,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
22515
22531
|
});
|
|
22516
22532
|
const nextMsg = messages[index + 1];
|
|
22517
22533
|
const isLastMessage = index === messages.length - 1;
|
|
22518
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _736 => _736.owner, 'optionalAccess', _737 => _737.type]) ===
|
|
22534
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _736 => _736.owner, 'optionalAccess', _737 => _737.type]) === _chunkQLTXT562cjs.OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _738 => _738.owner, 'optionalAccess', _739 => _739.type]) === _chunkQLTXT562cjs.OWNER_TYPE.ADMIN);
|
|
22519
22535
|
if (isLastMessage || nextIsFromUser) {
|
|
22520
22536
|
flushAssistantMessage();
|
|
22521
22537
|
}
|
|
@@ -23923,7 +23939,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
23923
23939
|
}, ref) => {
|
|
23924
23940
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
23925
23941
|
const isHorizontal = HORIZONTAL_SIDES2.has(resolvedSide);
|
|
23926
|
-
const headerHeight =
|
|
23942
|
+
const headerHeight = _chunkK2JUJ37Dcjs.useHeaderHeight.call(void 0, );
|
|
23927
23943
|
const [isMobile, setIsMobile] = _react.useState.call(void 0, false);
|
|
23928
23944
|
_react.useEffect.call(void 0, () => {
|
|
23929
23945
|
if (typeof window === "undefined") return void 0;
|
|
@@ -24505,7 +24521,7 @@ function SourceChip({
|
|
|
24505
24521
|
const Icon = cta.icon;
|
|
24506
24522
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24507
24523
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24508
|
-
const decideTab = (href, targetPlatform) =>
|
|
24524
|
+
const decideTab = (href, targetPlatform) => _chunkGCK75D7Fcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24509
24525
|
if (src.items && src.items.length > 0) {
|
|
24510
24526
|
const dropdownItems = src.items.map((item) => {
|
|
24511
24527
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24598,7 +24614,7 @@ function SourceChip({
|
|
|
24598
24614
|
"a",
|
|
24599
24615
|
{
|
|
24600
24616
|
href: resolvedHref,
|
|
24601
|
-
...
|
|
24617
|
+
..._chunkGCK75D7Fcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24602
24618
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24603
24619
|
className: chipClass,
|
|
24604
24620
|
children: chipBody(src.name)
|
|
@@ -24614,7 +24630,7 @@ function SourceChip({
|
|
|
24614
24630
|
"a",
|
|
24615
24631
|
{
|
|
24616
24632
|
href: resolvedHref,
|
|
24617
|
-
...
|
|
24633
|
+
..._chunkGCK75D7Fcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24618
24634
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24619
24635
|
className: chipClass,
|
|
24620
24636
|
title: displayName,
|
|
@@ -24726,7 +24742,7 @@ function EmbeddableChatInner({
|
|
|
24726
24742
|
defaultActiveMode,
|
|
24727
24743
|
shell = "drawer",
|
|
24728
24744
|
closable = true,
|
|
24729
|
-
appearance =
|
|
24745
|
+
appearance = _chunkQLTXT562cjs.CHAT_APPEARANCE.CLASSIC,
|
|
24730
24746
|
onCollapse,
|
|
24731
24747
|
collapseTo = "list",
|
|
24732
24748
|
onExpand,
|
|
@@ -24744,7 +24760,7 @@ function EmbeddableChatInner({
|
|
|
24744
24760
|
handleRef
|
|
24745
24761
|
}) {
|
|
24746
24762
|
const shellLess = shell !== "drawer";
|
|
24747
|
-
const isV2 = appearance ===
|
|
24763
|
+
const isV2 = appearance === _chunkQLTXT562cjs.CHAT_APPEARANCE.V2;
|
|
24748
24764
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
24749
24765
|
const source = _nullishCoalesce(runtime.source, () => ( ""));
|
|
24750
24766
|
const commandsUrl = runtime.endpoints.commandsUrl;
|
|
@@ -25064,7 +25080,7 @@ function EmbeddableChatInner({
|
|
|
25064
25080
|
[askAbout, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
|
|
25065
25081
|
);
|
|
25066
25082
|
const mingoAssistantIcon = _react.useMemo.call(void 0,
|
|
25067
|
-
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25083
|
+
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.MingoIcon, { className: "h-6 w-6", cornerColor: "var(--ods-flamingo-cyan-base)" }),
|
|
25068
25084
|
[effectiveAssistantIcon]
|
|
25069
25085
|
);
|
|
25070
25086
|
const [timestampCache] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
@@ -25619,7 +25635,7 @@ function EmbeddableChatInner({
|
|
|
25619
25635
|
] }),
|
|
25620
25636
|
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
25621
25637
|
headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25622
|
-
|
|
25638
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
25623
25639
|
{
|
|
25624
25640
|
triggerAriaLabel: "Chat actions",
|
|
25625
25641
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -25845,7 +25861,7 @@ function EmbeddableChatInner({
|
|
|
25845
25861
|
onClick: () => dispatchSlashCommandAction(action.id, cmdId, chatInputRef)
|
|
25846
25862
|
}));
|
|
25847
25863
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25848
|
-
|
|
25864
|
+
_chunkQLTXT562cjs.MingoOnboardingCard,
|
|
25849
25865
|
{
|
|
25850
25866
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16 }),
|
|
25851
25867
|
title: label,
|
|
@@ -25975,7 +25991,7 @@ function EmbeddableChatInner({
|
|
|
25975
25991
|
"aria-hidden": isOpen,
|
|
25976
25992
|
className: `pointer-events-none sticky bottom-0 z-[9990] h-0 ${isOpen ? "opacity-0" : "opacity-100"}`,
|
|
25977
25993
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-4 right-4 md:bottom-6 md:right-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25978
|
-
|
|
25994
|
+
_chunkHQIOMFJHcjs.Button,
|
|
25979
25995
|
{
|
|
25980
25996
|
onClick: handleOpen,
|
|
25981
25997
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.MingoIcon, { className: "h-5 w-5", color: "currentColor" }),
|
|
@@ -26012,7 +26028,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
26012
26028
|
triggerClassName: "inline-flex shrink-0 items-center",
|
|
26013
26029
|
className: "text-h6",
|
|
26014
26030
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26015
|
-
|
|
26031
|
+
_chunkHQIOMFJHcjs.Button,
|
|
26016
26032
|
{
|
|
26017
26033
|
type: "button",
|
|
26018
26034
|
variant: "transparent",
|
|
@@ -26183,13 +26199,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
26183
26199
|
setStatus("Cleared. Requests use the session again.");
|
|
26184
26200
|
};
|
|
26185
26201
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
26186
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26202
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGCK75D7Fcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
26187
26203
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "flex flex-col gap-[var(--spacing-system-sf)] sm:flex-row sm:items-start sm:justify-between", children: [
|
|
26188
26204
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
26189
26205
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
26190
26206
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
26191
26207
|
] }),
|
|
26192
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26208
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
26193
26209
|
] }),
|
|
26194
26210
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26195
26211
|
Section,
|
|
@@ -26277,8 +26293,8 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
26277
26293
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center justify-between gap-[var(--spacing-system-sf)]", children: [
|
|
26278
26294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: status }),
|
|
26279
26295
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[var(--spacing-system-xsf)]", children: [
|
|
26280
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26281
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26296
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", onClick: clear, disabled: !activeEmail && !secret && !email, children: "Clear" }),
|
|
26297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { onClick: save, disabled: !canSave, children: "Save" })
|
|
26282
26298
|
] })
|
|
26283
26299
|
] })
|
|
26284
26300
|
] }) });
|
|
@@ -26767,4 +26783,9 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
26767
26783
|
|
|
26768
26784
|
|
|
26769
26785
|
|
|
26770
|
-
exports.InfoHint = InfoHint; exports.Field = Field; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.useResizablePanelSize = useResizablePanelSize; exports.PanelResizeHandle = PanelResizeHandle; 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.FullscreenSwitchController = FullscreenSwitchController; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.HoverDropdown = HoverDropdown; exports.ChatAppearanceContext = ChatAppearanceContext; exports.useChatAppearance = useChatAppearance; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; 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.SystemEventMessage = SystemEventMessage; 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.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.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.TRIAL_DAYS = TRIAL_DAYS; exports.TRIAL_LABELS = TRIAL_LABELS; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.getCountryByName = getCountryByName; exports.getFlagFromCountryName = getFlagFromCountryName; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.COMPLIANCE_STANDARDS = COMPLIANCE_STANDARDS; exports.complianceStandardForName = complianceStandardForName; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; 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.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; 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.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.clickupTaskUrl = clickupTaskUrl; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.ENTITY_QUOTES_TITLE = ENTITY_QUOTES_TITLE; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.openInNewTab = openInNewTab; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.copyrightLine = copyrightLine; exports.isValidPathPattern = isValidPathPattern; exports.matchesPathPattern = matchesPathPattern; exports.pathMatchesAny = pathMatchesAny; exports.ASK_AI_OPEN_EVENT = ASK_AI_OPEN_EVENT; exports.openAskAi = openAskAi; exports.MingoAiButton = MingoAiButton; exports.AskPrompts = AskPrompts; exports.AskCard = AskCard; exports.ASK_PROMPTS_DEFAULT_COUNT = ASK_PROMPTS_DEFAULT_COUNT; exports.buildAskPromptsUrl = buildAskPromptsUrl; exports.assistantAvailable = assistantAvailable; exports.useAskPrompts = useAskPrompts; exports.useAssistantOpen = useAssistantOpen; exports.useShownAskPrompts = useShownAskPrompts; exports.useShownAskPromptIds = useShownAskPromptIds; exports.AssistantAskPrompts = AssistantAskPrompts; 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.ChatListEmptyState = ChatListEmptyState; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.ChatNavSidebar = ChatNavSidebar; exports.ChatListItem = ChatListItem; exports.MingoArchiveList = MingoArchiveList; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.MingoChatHeader = MingoChatHeader; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.MingoChatRail = MingoChatRail; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatPanelHeader = ChatPanelHeader; 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.ChatTopNavigation = ChatTopNavigation; exports.OnboardingCarousel = OnboardingCarousel; 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.useNavLinkViaRuntime = useNavLinkViaRuntime; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; 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.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; 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.getVendorLogo = getVendorLogo; exports.VendorIcon = VendorIcon; exports.useChatCardItem = useChatCardItem; exports.readFetchedCardTitle = readFetchedCardTitle; exports.readFetchedCardPath = readFetchedCardPath; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.resolveCardDestination = resolveCardDestination; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; 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.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.buildDiscussPrompt = buildDiscussPrompt; 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.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.MINGO_V2_RAIL_WIDTH = MINGO_V2_RAIL_WIDTH; exports.MINGO_V2_SPLIT_WIDTH = MINGO_V2_SPLIT_WIDTH; exports.EmbeddableChat = EmbeddableChat; exports.ProxyCredentialsPanel = ProxyCredentialsPanel;
|
|
26786
|
+
|
|
26787
|
+
|
|
26788
|
+
|
|
26789
|
+
|
|
26790
|
+
|
|
26791
|
+
exports.InfoHint = InfoHint; exports.Field = Field; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.useResizablePanelSize = useResizablePanelSize; exports.PanelResizeHandle = PanelResizeHandle; 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.FullscreenSwitchController = FullscreenSwitchController; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.DOWNLOAD_PAGE_PATH = DOWNLOAD_PAGE_PATH; exports.DOWNLOAD_PAGE_STORE_PARAM = DOWNLOAD_PAGE_STORE_PARAM; exports.MOBILE_APP_INSTALL_URL = MOBILE_APP_INSTALL_URL; exports.MOBILE_APP_INSTALL_HOST_PATH = MOBILE_APP_INSTALL_HOST_PATH; exports.resolveMobileStoreUrl = resolveMobileStoreUrl; exports.HoverDropdown = HoverDropdown; exports.ChatAppearanceContext = ChatAppearanceContext; exports.useChatAppearance = useChatAppearance; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; 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.SystemEventMessage = SystemEventMessage; 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.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.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.TRIAL_DAYS = TRIAL_DAYS; exports.TRIAL_LABELS = TRIAL_LABELS; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.getCountryByName = getCountryByName; exports.getFlagFromCountryName = getFlagFromCountryName; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.COMPLIANCE_STANDARDS = COMPLIANCE_STANDARDS; exports.complianceStandardForName = complianceStandardForName; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; 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.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; 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.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.clickupTaskUrl = clickupTaskUrl; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.ENTITY_QUOTES_TITLE = ENTITY_QUOTES_TITLE; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.openInNewTab = openInNewTab; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.copyrightLine = copyrightLine; exports.isValidPathPattern = isValidPathPattern; exports.matchesPathPattern = matchesPathPattern; exports.pathMatchesAny = pathMatchesAny; exports.ASK_AI_OPEN_EVENT = ASK_AI_OPEN_EVENT; exports.openAskAi = openAskAi; exports.MingoAiButton = MingoAiButton; exports.AskPrompts = AskPrompts; exports.AskCard = AskCard; exports.ASK_PROMPTS_DEFAULT_COUNT = ASK_PROMPTS_DEFAULT_COUNT; exports.buildAskPromptsUrl = buildAskPromptsUrl; exports.assistantAvailable = assistantAvailable; exports.useAskPrompts = useAskPrompts; exports.useAssistantOpen = useAssistantOpen; exports.useShownAskPrompts = useShownAskPrompts; exports.useShownAskPromptIds = useShownAskPromptIds; exports.AssistantAskPrompts = AssistantAskPrompts; 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.ChatListEmptyState = ChatListEmptyState; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.ChatNavSidebar = ChatNavSidebar; exports.ChatListItem = ChatListItem; exports.MingoArchiveList = MingoArchiveList; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.MingoChatHeader = MingoChatHeader; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.MingoChatRail = MingoChatRail; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatPanelHeader = ChatPanelHeader; 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.ChatTopNavigation = ChatTopNavigation; exports.OnboardingCarousel = OnboardingCarousel; 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.useNavLinkViaRuntime = useNavLinkViaRuntime; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; 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.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; 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.getVendorLogo = getVendorLogo; exports.VendorIcon = VendorIcon; exports.useChatCardItem = useChatCardItem; exports.readFetchedCardTitle = readFetchedCardTitle; exports.readFetchedCardPath = readFetchedCardPath; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.resolveCardDestination = resolveCardDestination; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; 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.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.buildDiscussPrompt = buildDiscussPrompt; 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.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.MINGO_V2_RAIL_WIDTH = MINGO_V2_RAIL_WIDTH; exports.MINGO_V2_SPLIT_WIDTH = MINGO_V2_SPLIT_WIDTH; exports.EmbeddableChat = EmbeddableChat; exports.ProxyCredentialsPanel = ProxyCredentialsPanel;
|