@flamingo-stack/openframe-frontend-core 0.0.812 → 0.0.813
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/case-study-card-NLT2JVI7.cjs +23 -0
- package/dist/{chunk-5QLDHPPU.cjs → chunk-25HBH4J6.cjs} +15 -15
- package/dist/{chunk-JMAKYJ3Q.cjs → chunk-2WD7XGWA.cjs} +6 -6
- package/dist/{chunk-LKQ33CMY.cjs → chunk-2XCORRJV.cjs} +3 -3
- package/dist/{chunk-JTIGKLKJ.cjs → chunk-2XLPRW7V.cjs} +23 -23
- package/dist/{chunk-4WIJI4AK.cjs → chunk-3TOWCFIK.cjs} +20 -26
- package/dist/{chunk-KUXHXLJQ.cjs → chunk-3V5JWG27.cjs} +5 -5
- package/dist/{chunk-CUDJP7R7.cjs → chunk-467T3LCG.cjs} +63 -63
- package/dist/{chunk-COTJLBOS.cjs → chunk-4PMD3JUC.cjs} +19 -19
- package/dist/{chunk-7HNZHENA.cjs → chunk-5M5JVVSL.cjs} +13 -13
- package/dist/{chunk-PQ76VC2P.cjs → chunk-5RBL7A2Y.cjs} +544 -544
- package/dist/{chunk-YR74H7Z3.cjs → chunk-5SZ4ILU3.cjs} +7 -7
- package/dist/{chunk-TCMUVY3M.cjs → chunk-5V3CNLCB.cjs} +199 -199
- package/dist/{chunk-7JWFMAQB.cjs → chunk-63A4GZMB.cjs} +18 -2
- package/dist/{chunk-ZD6SZLO2.cjs → chunk-6CZVQ72C.cjs} +3 -3
- package/dist/{chunk-NEDFRRLM.cjs → chunk-7BJ22OH2.cjs} +171 -171
- package/dist/{chunk-VEN6MGNX.cjs → chunk-7O7EX7HQ.cjs} +45 -45
- package/dist/{chunk-U2MHQBL4.cjs → chunk-BOS7OIC4.cjs} +30 -30
- package/dist/{chunk-SFUNXMY3.cjs → chunk-EHANO6UE.cjs} +16 -16
- package/dist/{chunk-RSLLS6C4.cjs → chunk-EJQRX6S5.cjs} +62 -62
- package/dist/{chunk-4ZTGCCNI.cjs → chunk-F4ZJRMMM.cjs} +20 -20
- package/dist/{chunk-AHBTZ7DN.cjs → chunk-FCZAUK4D.cjs} +52 -50
- package/dist/{chunk-VPYGK4AV.cjs → chunk-FTGXZHLO.cjs} +31 -31
- package/dist/{chunk-K7IX2NAG.cjs → chunk-G2AN67DP.cjs} +110 -110
- package/dist/{chunk-VT2ACO3Z.cjs → chunk-GAR2IIU6.cjs} +349 -349
- package/dist/{chunk-EPMAMFQE.cjs → chunk-GNGXHIBC.cjs} +119 -119
- package/dist/{chunk-WFJDKP2Q.cjs → chunk-GTOT4ZQV.cjs} +37 -37
- package/dist/{chunk-743MM5B6.cjs → chunk-HM7VCQSX.cjs} +10 -10
- package/dist/{chunk-VYLBW6ZV.cjs → chunk-IJCSQFLD.cjs} +209 -209
- package/dist/{chunk-XZKYU57A.cjs → chunk-IKB6AZPV.cjs} +8 -8
- package/dist/{chunk-FCFLZPID.cjs → chunk-JFA3VHXC.cjs} +51 -51
- package/dist/{chunk-TS4PKCG3.cjs → chunk-JOKOQOLJ.cjs} +22 -22
- package/dist/{chunk-D322VUSH.cjs → chunk-MBU45QUB.cjs} +2050 -2045
- package/dist/{chunk-DA2TWDGJ.cjs → chunk-MUH7X7ZA.cjs} +13 -13
- package/dist/{chunk-GD47ZGOU.cjs → chunk-N3MBQRCQ.cjs} +3 -3
- package/dist/{chunk-ZFUNSXSH.cjs → chunk-NONMZ5WJ.cjs} +5 -5
- package/dist/{chunk-E64HJMY6.cjs → chunk-OBQ5WUNG.cjs} +67 -67
- package/dist/{chunk-OKI5KSUV.cjs → chunk-OGHG6REG.cjs} +44 -44
- package/dist/{chunk-6LZ4BI7Z.cjs → chunk-PAI4A3UM.cjs} +60 -60
- package/dist/{chunk-JMRO7CK2.cjs → chunk-PXR27MXW.cjs} +45 -45
- package/dist/{chunk-4IU462LR.cjs → chunk-QDDBOCG3.cjs} +2 -2
- package/dist/{chunk-5DBW6ERF.cjs → chunk-QOAA7ZHB.cjs} +2 -2
- package/dist/{chunk-7Q2PFKU3.cjs → chunk-QQT23JJ7.cjs} +4 -4
- package/dist/{chunk-4SZKJPQJ.cjs → chunk-RD66AGUI.cjs} +6 -6
- package/dist/{chunk-NL3G642U.cjs → chunk-S3QXLD4X.cjs} +10 -10
- package/dist/{chunk-7RM4NM2C.cjs → chunk-SWF6TNZ3.cjs} +14 -14
- package/dist/{chunk-D2EPUQ35.cjs → chunk-TOBROYSJ.cjs} +4 -4
- package/dist/{chunk-P4B6PVSG.cjs → chunk-USUVHAQ7.cjs} +7 -7
- package/dist/{chunk-2IZHRVKD.cjs → chunk-WKODIG3L.cjs} +46 -46
- package/dist/{chunk-XB7VPJNY.cjs → chunk-XWCZSEW7.cjs} +3 -3
- package/dist/{chunk-SC3I3YWM.cjs → chunk-Y6MJMPHV.cjs} +126 -126
- package/dist/{chunk-7TBXHZLB.cjs → chunk-ZRDVFADQ.cjs} +61 -61
- package/dist/{cloud-tenants-CW3I7AIM.cjs → cloud-tenants-ODZVCP5X.cjs} +32 -32
- package/dist/components/calendar.cjs +10 -10
- package/dist/components/case-studies/index.cjs +52 -52
- package/dist/components/chat/index.cjs +26 -26
- package/dist/components/contact/index.cjs +33 -33
- package/dist/components/docs/index.cjs +36 -36
- package/dist/components/embeds/index.cjs +33 -33
- package/dist/components/faq/index.cjs +34 -34
- package/dist/components/features/index.cjs +32 -32
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +4 -2
- package/dist/components/features/select-button.js +1 -1
- package/dist/components/help-center-pages/index.cjs +165 -165
- package/dist/components/index.cjs +220 -218
- package/dist/components/meeting-scheduler/index.cjs +196 -196
- package/dist/components/navigation/index.cjs +35 -35
- package/dist/components/onboarding-guides/index.cjs +35 -35
- package/dist/components/platform/ScriptArguments.d.ts +2 -0
- package/dist/components/platform/ScriptArguments.d.ts.map +1 -1
- package/dist/components/platform/ScriptArguments.js +3 -2
- package/dist/components/product-demo/index.cjs +45 -45
- package/dist/components/related-content/index.cjs +17 -17
- package/dist/components/tickets/index.cjs +39 -39
- package/dist/components/ui/button/button-styles.d.ts +8 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button-styles.js +8 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/button.js +6 -4
- package/dist/components/ui/button/split-button.d.ts.map +1 -1
- package/dist/components/ui/button/split-button.js +3 -2
- package/dist/components/ui/checkbox-block.d.ts.map +1 -1
- package/dist/components/ui/checkbox-block.js +3 -1
- package/dist/components/ui/file-manager/index.cjs +55 -55
- package/dist/components/ui/index.cjs +34 -32
- package/dist/components/ui/input-styles.d.ts +2 -0
- package/dist/components/ui/input-styles.d.ts.map +1 -1
- package/dist/components/ui/input-styles.js +2 -0
- package/dist/{devices-KKRAB4Q2.cjs → devices-GWBR7MJD.cjs} +33 -33
- package/dist/embed-shims/index.cjs +4 -4
- package/dist/embed-shims/next-image.cjs +4 -4
- package/dist/{embeddable-chat-5UO66U4F.cjs → embeddable-chat-4RLUXHDH.cjs} +115 -115
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +50 -48
- package/dist/{knowledge-Z2PTGBA3.cjs → knowledge-ZNRITHW5.cjs} +33 -33
- package/dist/{logs-6T5VK2TY.cjs → logs-QN5H5JT6.cjs} +41 -41
- package/dist/{policies-JPIC5YDE.cjs → policies-SCUYEYGJ.cjs} +36 -36
- package/dist/{remote-session-VBVUMIUP.cjs → remote-session-BQMTIQTU.cjs} +17 -17
- package/dist/{scripts-BSYJJFBQ.cjs → scripts-BP7UTAG5.cjs} +39 -39
- package/dist/{software-update-KVEYYORC.cjs → software-update-O4BQJCJ4.cjs} +36 -36
- package/dist/{tickets-board-YRZ54JJS.cjs → tickets-board-TRXOX77R.cjs} +17 -17
- package/dist/{video-file-player-4QMVTOBE.cjs → video-file-player-IAMWBKEQ.cjs} +14 -14
- package/package.json +1 -1
- package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +4 -2
- package/src/components/features/select-button.tsx +1 -1
- package/src/components/platform/ScriptArguments.tsx +8 -1
- package/src/components/ui/button/button-styles.ts +18 -1
- package/src/components/ui/button/button.tsx +7 -4
- package/src/components/ui/button/split-button.tsx +3 -2
- package/src/components/ui/checkbox-block.tsx +3 -1
- package/src/components/ui/input-styles.ts +2 -0
- package/dist/case-study-card-3XLKCGLV.cjs +0 -23
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkY6MJMPHVcjs = require('./chunk-Y6MJMPHV.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkUSUVHAQ7cjs = require('./chunk-USUVHAQ7.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunk25HBH4J6cjs = require('./chunk-25HBH4J6.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ var _chunk5QLDHPPUcjs = require('./chunk-5QLDHPPU.cjs');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var
|
|
45
|
+
var _chunkBOS7OIC4cjs = require('./chunk-BOS7OIC4.cjs');
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
var _chunk32ASZMTVcjs = require('./chunk-32ASZMTV.cjs');
|
|
@@ -57,7 +57,7 @@ var _chunk6VOOPMP5cjs = require('./chunk-6VOOPMP5.cjs');
|
|
|
57
57
|
var _chunkORO54HDFcjs = require('./chunk-ORO54HDF.cjs');
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkRD66AGUIcjs = require('./chunk-RD66AGUI.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
var _chunkMG3HJIGGcjs = require('./chunk-MG3HJIGG.cjs');
|
|
@@ -67,10 +67,10 @@ var _chunkMG3HJIGGcjs = require('./chunk-MG3HJIGG.cjs');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunkQOAA7ZHBcjs = require('./chunk-QOAA7ZHB.cjs');
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
var
|
|
73
|
+
var _chunk3V5JWG27cjs = require('./chunk-3V5JWG27.cjs');
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
@@ -85,15 +85,15 @@ var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
var _chunk3TOWCFIKcjs = require('./chunk-3TOWCFIK.cjs');
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
var
|
|
91
|
+
var _chunkFCZAUK4Dcjs = require('./chunk-FCZAUK4D.cjs');
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
var
|
|
96
|
+
var _chunk63A4GZMBcjs = require('./chunk-63A4GZMB.cjs');
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -141,7 +141,7 @@ var InteractiveCard = _react2.default.forwardRef(
|
|
|
141
141
|
"div",
|
|
142
142
|
{
|
|
143
143
|
ref,
|
|
144
|
-
className:
|
|
144
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
145
145
|
"transition-all",
|
|
146
146
|
isClickable && [
|
|
147
147
|
"cursor-pointer",
|
|
@@ -199,7 +199,7 @@ var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, classNa
|
|
|
199
199
|
"div",
|
|
200
200
|
{
|
|
201
201
|
ref,
|
|
202
|
-
className:
|
|
202
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
203
203
|
"relative z-10 mx-4 flex max-h-[90vh] w-full max-w-md flex-col overflow-hidden rounded-lg border border-ods-border bg-ods-card shadow-xl",
|
|
204
204
|
className
|
|
205
205
|
),
|
|
@@ -213,13 +213,13 @@ var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, classNa
|
|
|
213
213
|
);
|
|
214
214
|
});
|
|
215
215
|
Modal.displayName = "Modal";
|
|
216
|
-
var ModalContent = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className:
|
|
216
|
+
var ModalContent = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk63A4GZMBcjs.cn.call(void 0, "min-h-0 flex-1 overflow-y-auto", className), children }));
|
|
217
217
|
ModalContent.displayName = "ModalContent";
|
|
218
|
-
var ModalHeader = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className:
|
|
218
|
+
var ModalHeader = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border px-6 py-4", className), children }));
|
|
219
219
|
ModalHeader.displayName = "ModalHeader";
|
|
220
|
-
var ModalTitle = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { ref, className:
|
|
220
|
+
var ModalTitle = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { ref, className: _chunk63A4GZMBcjs.cn.call(void 0, "font-semibold text-ods-text-primary", className), children }));
|
|
221
221
|
ModalTitle.displayName = "ModalTitle";
|
|
222
|
-
var ModalFooter = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className:
|
|
222
|
+
var ModalFooter = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk63A4GZMBcjs.cn.call(void 0, "flex shrink-0 justify-end gap-3 px-6 py-4", className), children }));
|
|
223
223
|
ModalFooter.displayName = "ModalFooter";
|
|
224
224
|
|
|
225
225
|
// src/components/ui/image-gallery-modal.tsx
|
|
@@ -272,7 +272,7 @@ function ImageGalleryModal({ images, isOpen, onClose, initialIndex = 0 }) {
|
|
|
272
272
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Modal, { isOpen, onClose, className: "max-w-[95vw]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex items-center justify-center rounded-lg bg-black", children: [
|
|
273
273
|
images.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
274
274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute left-4 top-1/2 z-[10000] -translate-y-1/2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
|
-
|
|
275
|
+
_chunkFCZAUK4Dcjs.Button,
|
|
276
276
|
{
|
|
277
277
|
variant: "transparent",
|
|
278
278
|
size: "small-legacy",
|
|
@@ -283,7 +283,7 @@ function ImageGalleryModal({ images, isOpen, onClose, initialIndex = 0 }) {
|
|
|
283
283
|
}
|
|
284
284
|
) }),
|
|
285
285
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute right-4 top-1/2 z-[10000] -translate-y-1/2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
286
|
-
|
|
286
|
+
_chunkFCZAUK4Dcjs.Button,
|
|
287
287
|
{
|
|
288
288
|
variant: "transparent",
|
|
289
289
|
size: "small-legacy",
|
|
@@ -295,13 +295,13 @@ function ImageGalleryModal({ images, isOpen, onClose, initialIndex = 0 }) {
|
|
|
295
295
|
) })
|
|
296
296
|
] }),
|
|
297
297
|
images[selectedImageIndex] && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex h-[90vh] w-[90vw] max-w-none items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
298
|
-
|
|
298
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
299
299
|
{
|
|
300
300
|
src: images[selectedImageIndex],
|
|
301
301
|
alt: `Screenshot ${selectedImageIndex + 1}`,
|
|
302
302
|
fill: true,
|
|
303
303
|
className: "object-contain",
|
|
304
|
-
sizes:
|
|
304
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.full,
|
|
305
305
|
priority: true,
|
|
306
306
|
unoptimized: true,
|
|
307
307
|
onError: (e) => {
|
|
@@ -405,7 +405,7 @@ function escapeRegExp(value) {
|
|
|
405
405
|
function formatDayHead(dateString, style) {
|
|
406
406
|
const ymd = splitYmd(dateString);
|
|
407
407
|
if (!ymd) return dateString;
|
|
408
|
-
return
|
|
408
|
+
return _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, ymd.join("-"), null, style) || dateString;
|
|
409
409
|
}
|
|
410
410
|
function splitYmd(dateString) {
|
|
411
411
|
const head = dateString.split("T")[0];
|
|
@@ -852,9 +852,9 @@ function programMetaFormatters(fmt, opts = {}) {
|
|
|
852
852
|
|
|
853
853
|
// src/utils/program-meta-renderers.ts
|
|
854
854
|
var PROGRAM_META_RENDERERS = {
|
|
855
|
-
date:
|
|
856
|
-
duration:
|
|
857
|
-
webinarMeta:
|
|
855
|
+
date: _chunkBOS7OIC4cjs.formatProgramDate,
|
|
856
|
+
duration: _chunkBOS7OIC4cjs.formatDurationCompact,
|
|
857
|
+
webinarMeta: _chunkBOS7OIC4cjs.formatWebinarTimeMeta
|
|
858
858
|
};
|
|
859
859
|
|
|
860
860
|
// src/components/chat/utils/chat-nav-resolution.ts
|
|
@@ -932,15 +932,15 @@ function EntityMetadataValueCell({
|
|
|
932
932
|
uppercase = true,
|
|
933
933
|
optional = false
|
|
934
934
|
}) {
|
|
935
|
-
if (
|
|
936
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
935
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityMetadataValueCellSkeleton, { label, className });
|
|
936
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, VALUE_CELL_CLASS, className), "data-loading-optional": optional || void 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CELL_STACK_CLASS, children: [
|
|
937
937
|
typeof value === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: VALUE_TEXT_CLASS, children: uppercase ? value.toLocaleUpperCase() : value }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: VALUE_NODE_CLASS, children: value }),
|
|
938
938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: LABEL_TEXT_CLASS, children: label })
|
|
939
939
|
] }) });
|
|
940
940
|
}
|
|
941
941
|
function EntityMetadataValueCellSkeleton({ label, className }) {
|
|
942
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: VALUE_TEXT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
942
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, VALUE_CELL_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CELL_STACK_CLASS, children: [
|
|
943
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: VALUE_TEXT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "inherit", className: "w-24" }) }),
|
|
944
944
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: LABEL_TEXT_CLASS, children: label })
|
|
945
945
|
] }) });
|
|
946
946
|
}
|
|
@@ -951,17 +951,17 @@ function EntityMetadataAuthorCell({
|
|
|
951
951
|
className,
|
|
952
952
|
loading: loadingProp
|
|
953
953
|
}) {
|
|
954
|
-
const loading =
|
|
954
|
+
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp || !author;
|
|
955
955
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityMetadataAuthorCellSkeleton, { className });
|
|
956
956
|
const trimmedName = typeof author.full_name === "string" ? author.full_name.trim() : "";
|
|
957
957
|
const fullName = trimmedName || "Unknown Author";
|
|
958
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
958
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, AUTHOR_CELL_CLASS, className), children: [
|
|
959
959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
960
|
-
|
|
960
|
+
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
961
961
|
{
|
|
962
962
|
src: author.avatar_url || "",
|
|
963
963
|
alt: fullName,
|
|
964
|
-
fallback:
|
|
964
|
+
fallback: _chunkBOS7OIC4cjs.nameInitials.call(void 0, fullName, ""),
|
|
965
965
|
size: AUTHOR_AVATAR_SIZE,
|
|
966
966
|
variant: "round"
|
|
967
967
|
}
|
|
@@ -973,11 +973,11 @@ function EntityMetadataAuthorCell({
|
|
|
973
973
|
] });
|
|
974
974
|
}
|
|
975
975
|
function EntityMetadataAuthorCellSkeleton({ className }) {
|
|
976
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
976
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, AUTHOR_CELL_CLASS, className), children: [
|
|
977
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { variant: "circular", className: _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0", _chunk3TOWCFIKcjs.AVATAR_SIZE[AUTHOR_AVATAR_SIZE]) }),
|
|
978
978
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: AUTHOR_TEXT_CLASS, children: [
|
|
979
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
980
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
979
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", className: "w-32" }),
|
|
980
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-20" })
|
|
981
981
|
] })
|
|
982
982
|
] });
|
|
983
983
|
}
|
|
@@ -988,7 +988,7 @@ function EntityAuthorCardSkeleton({
|
|
|
988
988
|
className
|
|
989
989
|
}) {
|
|
990
990
|
const totalCells = extraCellLabels.length + optionalCells + (publishedLabel === null ? 0 : 1) + 1;
|
|
991
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
991
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, GRID_FRAME_CLASS, gridColsClass(totalCells), className), children: [
|
|
992
992
|
extraCellLabels.map((label, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityMetadataValueCellSkeleton, { label, className: CELL_DIVIDER_CLASS }, `${label}-${i}`)),
|
|
993
993
|
publishedLabel !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityMetadataValueCellSkeleton, { label: publishedLabel, className: CELL_DIVIDER_CLASS }),
|
|
994
994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityMetadataAuthorCellSkeleton, {})
|
|
@@ -1005,7 +1005,7 @@ function EntityAuthorCard({
|
|
|
1005
1005
|
className,
|
|
1006
1006
|
loading: loadingProp
|
|
1007
1007
|
}) {
|
|
1008
|
-
const loading =
|
|
1008
|
+
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
1009
1009
|
if (loading) {
|
|
1010
1010
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1011
1011
|
EntityAuthorCardSkeleton,
|
|
@@ -1020,12 +1020,12 @@ function EntityAuthorCard({
|
|
|
1020
1020
|
const hasAuthor = !!_optionalChain([author, 'optionalAccess', _15 => _15.full_name]);
|
|
1021
1021
|
if (!hasAuthor && !renderEmptyAuthor) return null;
|
|
1022
1022
|
const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
|
|
1023
|
-
const formatted = publishedAt ?
|
|
1023
|
+
const formatted = publishedAt ? _chunkBOS7OIC4cjs.formatDate.call(void 0, publishedAt) : "";
|
|
1024
1024
|
const dateLabel = formatted === "Invalid Date" ? "" : formatted;
|
|
1025
1025
|
const showDateCell = !!dateLabel;
|
|
1026
1026
|
const extras = _nullishCoalesce(extraCells, () => ( []));
|
|
1027
1027
|
const totalCells = extras.length + (showDateCell ? 1 : 0) + 1;
|
|
1028
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
1028
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, GRID_FRAME_CLASS, gridColsClass(totalCells), className), children: [
|
|
1029
1029
|
extras.map((cell, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1030
1030
|
EntityMetadataValueCell,
|
|
1031
1031
|
{
|
|
@@ -1055,13 +1055,13 @@ function EntityAuthorCard({
|
|
|
1055
1055
|
function BlogImagePlaceholder({ imageUrl, title, className = "" }) {
|
|
1056
1056
|
if (!imageUrl) return null;
|
|
1057
1057
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `relative block h-full w-full overflow-hidden bg-ods-bg ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1058
|
-
|
|
1058
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
1059
1059
|
{
|
|
1060
1060
|
src: imageUrl,
|
|
1061
1061
|
alt: `Cover image for ${title}`,
|
|
1062
1062
|
className: "object-contain",
|
|
1063
1063
|
fill: true,
|
|
1064
|
-
sizes:
|
|
1064
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.card,
|
|
1065
1065
|
unoptimized: true,
|
|
1066
1066
|
loading: "lazy",
|
|
1067
1067
|
onError: (e) => {
|
|
@@ -1093,7 +1093,7 @@ var sizeClasses = {
|
|
|
1093
1093
|
};
|
|
1094
1094
|
var PLATFORM_BADGE_FRAME_CLASS = "inline-flex items-center rounded-full border";
|
|
1095
1095
|
function PlatformBadge({ platform, size = "sm", showLabel = true, className, loading }) {
|
|
1096
|
-
const inScope =
|
|
1096
|
+
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
1097
1097
|
if (loading || inScope && !platform) {
|
|
1098
1098
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlatformBadgeSkeleton, { size, showLabel, className });
|
|
1099
1099
|
}
|
|
@@ -1101,11 +1101,11 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className, loa
|
|
|
1101
1101
|
return null;
|
|
1102
1102
|
}
|
|
1103
1103
|
const sizes = sizeClasses[size];
|
|
1104
|
-
const colors =
|
|
1104
|
+
const colors = _chunkQOAA7ZHBcjs.getPlatformBrandClasses.call(void 0, platform.name);
|
|
1105
1105
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1106
1106
|
"div",
|
|
1107
1107
|
{
|
|
1108
|
-
className:
|
|
1108
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1109
1109
|
PLATFORM_BADGE_FRAME_CLASS,
|
|
1110
1110
|
sizes.container,
|
|
1111
1111
|
colors.accentBgSoft,
|
|
@@ -1115,7 +1115,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className, loa
|
|
|
1115
1115
|
className
|
|
1116
1116
|
),
|
|
1117
1117
|
children: [
|
|
1118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOAA7ZHBcjs.PlatformMark, { platform: platform.name, className: sizes.icon }),
|
|
1119
1119
|
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: sizes.text, children: platform.display_name || platform.name })
|
|
1120
1120
|
]
|
|
1121
1121
|
}
|
|
@@ -1133,10 +1133,10 @@ function PlatformBadgeSkeleton({
|
|
|
1133
1133
|
}) {
|
|
1134
1134
|
const box = PLATFORM_BADGE_SKELETON_SIZE[size];
|
|
1135
1135
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1136
|
-
|
|
1136
|
+
_chunk3TOWCFIKcjs.UnifiedSkeleton,
|
|
1137
1137
|
{
|
|
1138
1138
|
as: "span",
|
|
1139
|
-
className:
|
|
1139
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1140
1140
|
"inline-block rounded-full align-middle text-h6",
|
|
1141
1141
|
box.height,
|
|
1142
1142
|
showLabel ? box.width : box.iconOnly,
|
|
@@ -1150,7 +1150,7 @@ function PlatformBadgeSkeleton({
|
|
|
1150
1150
|
|
|
1151
1151
|
|
|
1152
1152
|
var ADMIN_CARD_FRAME = "flex h-full flex-col";
|
|
1153
|
-
var ADMIN_CARD_COVER = `relative ${
|
|
1153
|
+
var ADMIN_CARD_COVER = `relative ${_chunk3TOWCFIKcjs.MEDIA_ASPECT.photo} w-full shrink-0 overflow-hidden`;
|
|
1154
1154
|
var ADMIN_CARD_BODY = "flex flex-1 flex-col gap-3 p-5";
|
|
1155
1155
|
var ADMIN_CARD_BADGES = "flex flex-wrap items-center gap-2";
|
|
1156
1156
|
var ADMIN_CARD_BADGES_RESERVED = "min-h-7";
|
|
@@ -1175,22 +1175,22 @@ function AdminContentCard({
|
|
|
1175
1175
|
const [loadedUrl, setLoadedUrl] = _react.useState.call(void 0, null);
|
|
1176
1176
|
const displayUrl = imageUrl && !imageError ? imageUrl : placeholderUrl;
|
|
1177
1177
|
const imageLoaded = Boolean(displayUrl) && loadedUrl === displayUrl;
|
|
1178
|
-
const imageBgColor =
|
|
1179
|
-
const inScope =
|
|
1178
|
+
const imageBgColor = _chunkRD66AGUIcjs.useImageEdgeColor.call(void 0, displayUrl || null, "transparent");
|
|
1179
|
+
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
1180
1180
|
if (inScope || loading) {
|
|
1181
1181
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AdminContentCardSkeleton, { className, subtitleRow, actions: actions || false });
|
|
1182
1182
|
}
|
|
1183
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className:
|
|
1183
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_FRAME_CLASS, ADMIN_CARD_FRAME, className), children: [
|
|
1184
1184
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ADMIN_CARD_COVER, style: { backgroundColor: imageBgColor }, children: displayUrl ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1185
|
-
!imageLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1185
|
+
!imageLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "absolute inset-0 h-full rounded-none" }),
|
|
1186
1186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1187
|
-
|
|
1187
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
1188
1188
|
{
|
|
1189
1189
|
src: displayUrl,
|
|
1190
1190
|
alt: title,
|
|
1191
1191
|
fill: true,
|
|
1192
|
-
sizes:
|
|
1193
|
-
className:
|
|
1192
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.card,
|
|
1193
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1194
1194
|
"object-contain object-center",
|
|
1195
1195
|
"transition-transform duration-500 ease-out",
|
|
1196
1196
|
"group-hover:scale-[1.03]",
|
|
@@ -1203,10 +1203,10 @@ function AdminContentCard({
|
|
|
1203
1203
|
)
|
|
1204
1204
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-ods-bg" }) }),
|
|
1205
1205
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ADMIN_CARD_BODY, children: [
|
|
1206
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className:
|
|
1207
|
-
(subtitle || reserveRows && subtitleRow) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className:
|
|
1208
|
-
(summary || reserveRows) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className:
|
|
1209
|
-
(Number(_optionalChain([platforms, 'optionalAccess', _16 => _16.length])) > 0 || badges || reserveRows) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
1206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _chunk63A4GZMBcjs.cn.call(void 0, "line-clamp-2 break-words text-ods-text-primary text-h3", reserveRows && "min-h-[2lh]"), children: title }),
|
|
1207
|
+
(subtitle || reserveRows && subtitleRow) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk63A4GZMBcjs.cn.call(void 0, "truncate text-ods-text-secondary text-h6", reserveRows && "min-h-[1lh]"), children: subtitle }),
|
|
1208
|
+
(summary || reserveRows) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk63A4GZMBcjs.cn.call(void 0, "line-clamp-2 text-ods-text-secondary text-h6", reserveRows && "min-h-[2lh]"), children: summary }),
|
|
1209
|
+
(Number(_optionalChain([platforms, 'optionalAccess', _16 => _16.length])) > 0 || badges || reserveRows) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CARD_BADGES, reserveRows && ADMIN_CARD_BADGES_RESERVED), children: [
|
|
1210
1210
|
_optionalChain([platforms, 'optionalAccess', _17 => _17.map, 'call', _18 => _18((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1211
1211
|
PlatformBadge,
|
|
1212
1212
|
{
|
|
@@ -1217,7 +1217,7 @@ function AdminContentCard({
|
|
|
1217
1217
|
))]),
|
|
1218
1218
|
badges
|
|
1219
1219
|
] }),
|
|
1220
|
-
(meta || reserveRows) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
1220
|
+
(meta || reserveRows) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CARD_META, reserveRows && "min-h-[1lh]"), children: meta }),
|
|
1221
1221
|
actions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ADMIN_CARD_ACTIONS, children: actions })
|
|
1222
1222
|
] })
|
|
1223
1223
|
] });
|
|
@@ -1227,22 +1227,22 @@ function AdminContentCardSkeleton({
|
|
|
1227
1227
|
actions = true,
|
|
1228
1228
|
subtitleRow = true
|
|
1229
1229
|
}) {
|
|
1230
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
1231
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1230
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, ADMIN_CARD_FRAME, className), "aria-hidden": true, children: [
|
|
1231
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CARD_COVER, "rounded-none") }),
|
|
1232
1232
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ADMIN_CARD_BODY, children: [
|
|
1233
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1234
|
-
subtitleRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1235
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1236
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
1233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-full" }),
|
|
1234
|
+
subtitleRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" }),
|
|
1235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", lines: 2, className: "w-full" }),
|
|
1236
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CARD_BADGES, ADMIN_CARD_BADGES_RESERVED), children: [
|
|
1237
1237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlatformBadge, { loading: true, size: "xs" }),
|
|
1238
1238
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlatformBadge, { loading: true, size: "xs" })
|
|
1239
1239
|
] }),
|
|
1240
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ADMIN_CARD_META, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ADMIN_CARD_META, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-32" }) }),
|
|
1241
1241
|
actions === true ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ADMIN_CARD_ACTIONS, children: [
|
|
1242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.InteractiveSkeleton.Button, { size: "small-legacy" }),
|
|
1243
1243
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[var(--spacing-system-xsf)]", children: [
|
|
1244
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1245
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.InteractiveSkeleton.Button, { size: "small-legacy", className: "w-20" }),
|
|
1245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.InteractiveSkeleton.Button, { size: "small-legacy", className: "w-20" })
|
|
1246
1246
|
] })
|
|
1247
1247
|
] }) : actions ? (
|
|
1248
1248
|
// The caller's own controls, drawn as they are but never focused while the card is a skeleton.
|
|
@@ -1289,7 +1289,7 @@ var SENTENCE_MARK = /([.:?!]+)(?=\s|$)/g;
|
|
|
1289
1289
|
var ONLY_MARKS = /^\s*[.:?!]+\s*$/;
|
|
1290
1290
|
function headingAccentClass(platform, tone = "accent") {
|
|
1291
1291
|
if (!platform) return "text-ods-accent";
|
|
1292
|
-
const classes =
|
|
1292
|
+
const classes = _chunkQOAA7ZHBcjs.getPlatformBrandClasses.call(void 0, platform);
|
|
1293
1293
|
return tone === "secondary" ? classes.secondaryText : classes.accentText;
|
|
1294
1294
|
}
|
|
1295
1295
|
function accentSentenceMarks(node, platform, tone = "accent") {
|
|
@@ -1423,12 +1423,12 @@ function SectionHeadingSkeleton({
|
|
|
1423
1423
|
const introLines = typeof intro === "number" ? intro : intro === true ? 2 : 0;
|
|
1424
1424
|
const stack = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: level === "section" ? `${layout.stack} w-full` : layout.stack, "aria-hidden": true, children: [
|
|
1425
1425
|
eyebrow ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionEyebrow, { platform, tone, children: eyebrow }) : null,
|
|
1426
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.heading, children: titleLines ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1427
|
-
introByBreakpoint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.intro, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.heading, children: titleLines ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLinesByBreakpointSkeleton, { lines: titleLines }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", className: titleWidth }) }),
|
|
1427
|
+
introByBreakpoint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.intro, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLinesByBreakpointSkeleton, { lines: introByBreakpoint }) }) : null,
|
|
1428
1428
|
introLines > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.intro, children: Array.from({ length: introLines }, (_, i) => (
|
|
1429
1429
|
// biome-ignore lint/suspicious/noArrayIndexKey: skeleton lines never reorder
|
|
1430
1430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1431
|
-
|
|
1431
|
+
_chunk3TOWCFIKcjs.TextLineSkeleton,
|
|
1432
1432
|
{
|
|
1433
1433
|
type: "inherit",
|
|
1434
1434
|
className: i === introLines - 1 && introLines > 1 ? "w-2/3" : "w-full"
|
|
@@ -1457,7 +1457,7 @@ function SectionHeadingSkeleton({
|
|
|
1457
1457
|
var RELEASE_CARD_LG_FRAME_CLASS = "flex flex-col gap-4 p-6";
|
|
1458
1458
|
var RELEASE_CARD_HERO_CLASS = "flex flex-col gap-4 content-md:flex-row content-md:gap-6";
|
|
1459
1459
|
var RELEASE_CARD_COVER_COLUMN_CLASS = "w-full flex-shrink-0 content-md:w-[256px]";
|
|
1460
|
-
var RELEASE_CARD_COVER_BOX_CLASS = `relative ${
|
|
1460
|
+
var RELEASE_CARD_COVER_BOX_CLASS = `relative ${_chunk3TOWCFIKcjs.MEDIA_ASPECT.og} w-full overflow-hidden rounded-lg`;
|
|
1461
1461
|
var RELEASE_CARD_TEXT_COLUMN_CLASS = "flex min-w-0 flex-1 flex-col";
|
|
1462
1462
|
var RELEASE_CARD_VERSION_ROW_CLASS = "mb-3 flex items-center gap-3";
|
|
1463
1463
|
var RELEASE_CARD_VERSION_CLASS = "truncate font-semibold text-ods-text-primary text-code";
|
|
@@ -1477,19 +1477,19 @@ var RELEASE_CARD_CELL_LABELS = ["Type", "Status", "Released"];
|
|
|
1477
1477
|
|
|
1478
1478
|
function ProductReleaseCardSkeleton({ className, size = "lg" }) {
|
|
1479
1479
|
if (size === "lg") {
|
|
1480
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
1480
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, RELEASE_CARD_LG_FRAME_CLASS, className), "aria-hidden": true, children: [
|
|
1481
1481
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_HERO_CLASS, children: [
|
|
1482
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_COVER_COLUMN_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_COVER_COLUMN_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: RELEASE_CARD_COVER_BOX_CLASS }) }),
|
|
1483
1483
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_TEXT_COLUMN_CLASS, children: [
|
|
1484
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_VERSION_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: RELEASE_CARD_VERSION_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1485
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_TITLE_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className:
|
|
1486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_SUMMARY_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: RELEASE_CARD_SUMMARY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1484
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_VERSION_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: RELEASE_CARD_VERSION_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-16" }) }) }),
|
|
1485
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_TITLE_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _chunk63A4GZMBcjs.cn.call(void 0, RELEASE_CARD_TITLE_CLASS, "w-full"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", lines: 2, className: "w-3/4" }) }) }),
|
|
1486
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_SUMMARY_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: RELEASE_CARD_SUMMARY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", lines: 3, className: "w-full" }) }) })
|
|
1487
1487
|
] })
|
|
1488
1488
|
] }),
|
|
1489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_CHANGELOG_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-loading-item": true, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_CHANGELOG_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-loading-item": true, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }) }),
|
|
1490
1490
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_GRID_CLASS, children: [
|
|
1491
|
-
RELEASE_CARD_CELL_LABELS.map((label, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
1492
|
-
i === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1491
|
+
RELEASE_CARD_CELL_LABELS.map((label, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, RELEASE_CARD_CELL_CLASS, RELEASE_CARD_CELL_DIVIDER_CLASS), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_CELL_STACK_CLASS, children: [
|
|
1492
|
+
i === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.StatusBadge, { loading: true, text: "", variant: "card", className: "justify-self-start" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
|
|
1493
1493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: RELEASE_CARD_CELL_LABEL_CLASS, children: label })
|
|
1494
1494
|
] }) }, label)),
|
|
1495
1495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityMetadataAuthorCell, { loading: true })
|
|
@@ -1500,20 +1500,20 @@ function ProductReleaseCardSkeleton({ className, size = "lg" }) {
|
|
|
1500
1500
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1501
1501
|
"span",
|
|
1502
1502
|
{
|
|
1503
|
-
className:
|
|
1503
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1504
1504
|
"my-1.5 flex w-full items-start gap-3",
|
|
1505
1505
|
"rounded-lg border border-ods-border bg-ods-card p-2",
|
|
1506
1506
|
className
|
|
1507
1507
|
),
|
|
1508
1508
|
children: [
|
|
1509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "block aspect-square h-14 w-14 shrink-0 self-start rounded-md" }),
|
|
1510
1510
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-h-14 min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
1511
1511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex h-5 min-w-0 items-center gap-2", children: [
|
|
1512
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1513
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-3/5 rounded" }),
|
|
1513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "h-4 w-12 shrink-0 rounded" })
|
|
1514
1514
|
] }),
|
|
1515
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1516
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1515
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-1/3 rounded" }) }),
|
|
1516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-11/12 rounded" }) })
|
|
1517
1517
|
] })
|
|
1518
1518
|
]
|
|
1519
1519
|
}
|
|
@@ -1525,7 +1525,7 @@ function ProductReleaseCardSkeleton({ className, size = "lg" }) {
|
|
|
1525
1525
|
// src/components/shared/product-release/product-release-card.tsx
|
|
1526
1526
|
|
|
1527
1527
|
function ProductReleaseCard(props) {
|
|
1528
|
-
if (
|
|
1528
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
1529
1529
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: _nullishCoalesce(props.size, () => ( "lg")), className: props.className });
|
|
1530
1530
|
}
|
|
1531
1531
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LoadedProductReleaseCard, { ...props });
|
|
@@ -1571,8 +1571,8 @@ function LoadedProductReleaseCard({
|
|
|
1571
1571
|
const effectiveAuthor = _optionalChain([author, 'optionalAccess', _23 => _23.full_name]) ? author : { full_name: "\u2014", avatar_url: null, job_title: "Unknown" };
|
|
1572
1572
|
const dividerClass = RELEASE_CARD_CELL_DIVIDER_CLASS;
|
|
1573
1573
|
const interactive = !!anchorProps || !!onClick;
|
|
1574
|
-
const frameClass =
|
|
1575
|
-
interactive ?
|
|
1574
|
+
const frameClass = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1575
|
+
interactive ? _chunkY6MJMPHVcjs.CONTENT_CARD_FRAME_CLASS : _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
1576
1576
|
RELEASE_CARD_LG_FRAME_CLASS,
|
|
1577
1577
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-offset-2 focus-visible:ring-offset-ods-bg",
|
|
1578
1578
|
"no-underline",
|
|
@@ -1580,19 +1580,19 @@ function LoadedProductReleaseCard({
|
|
|
1580
1580
|
);
|
|
1581
1581
|
const innerLayout = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1582
1582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_HERO_CLASS, children: [
|
|
1583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_COVER_COLUMN_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
1583
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_COVER_COLUMN_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, RELEASE_CARD_COVER_BOX_CLASS, "bg-ods-bg"), children: [
|
|
1584
1584
|
coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1585
|
-
|
|
1585
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
1586
1586
|
{
|
|
1587
1587
|
src: coverImage,
|
|
1588
1588
|
alt: title,
|
|
1589
1589
|
fill: true,
|
|
1590
|
-
sizes:
|
|
1590
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.aside,
|
|
1591
1591
|
className: "object-cover",
|
|
1592
1592
|
unoptimized: true
|
|
1593
1593
|
}
|
|
1594
1594
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Package, { className: "h-8 w-8" }) }),
|
|
1595
|
-
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1595
|
+
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "md" })
|
|
1596
1596
|
] }) }),
|
|
1597
1597
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_TEXT_COLUMN_CLASS, children: [
|
|
1598
1598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: RELEASE_CARD_VERSION_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: RELEASE_CARD_VERSION_CLASS, children: [
|
|
@@ -1629,9 +1629,9 @@ function LoadedProductReleaseCard({
|
|
|
1629
1629
|
] })
|
|
1630
1630
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-loading-item": true, className: "text-ods-text-secondary", children: "No changelog entries yet" }) }),
|
|
1631
1631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_GRID_CLASS, children: [
|
|
1632
|
-
valueCells.map((cell, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
1632
|
+
valueCells.map((cell, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, RELEASE_CARD_CELL_CLASS, dividerClass), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: RELEASE_CARD_CELL_STACK_CLASS, children: [
|
|
1633
1633
|
cell.colorScheme ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1634
|
-
|
|
1634
|
+
_chunkY6MJMPHVcjs.StatusBadge,
|
|
1635
1635
|
{
|
|
1636
1636
|
text: cell.value,
|
|
1637
1637
|
variant: "card",
|
|
@@ -1642,7 +1642,7 @@ function LoadedProductReleaseCard({
|
|
|
1642
1642
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1643
1643
|
"p",
|
|
1644
1644
|
{
|
|
1645
|
-
className:
|
|
1645
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1646
1646
|
"text-h4",
|
|
1647
1647
|
// Em-dash placeholder reads as secondary text;
|
|
1648
1648
|
// populated values stay primary.
|
|
@@ -1655,7 +1655,7 @@ function LoadedProductReleaseCard({
|
|
|
1655
1655
|
] }) }, `${cell.label}-${i}`)),
|
|
1656
1656
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
1657
1657
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1658
|
-
|
|
1658
|
+
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
1659
1659
|
{
|
|
1660
1660
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
1661
1661
|
alt: effectiveAuthor.full_name,
|
|
@@ -1695,7 +1695,7 @@ function LoadedProductReleaseCard({
|
|
|
1695
1695
|
}
|
|
1696
1696
|
};
|
|
1697
1697
|
const isInteractive = !!anchorProps || !!onClick;
|
|
1698
|
-
const outerClassName =
|
|
1698
|
+
const outerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1699
1699
|
// The base frame (`my-1.5 flex … no-underline`) mirrors the
|
|
1700
1700
|
// hub's `COMPACT_CARD_OUTER` in `components/shared/compact-
|
|
1701
1701
|
// card/compact-card-classes.ts` byte-for-byte. The OSS lib
|
|
@@ -1716,17 +1716,17 @@ function LoadedProductReleaseCard({
|
|
|
1716
1716
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1717
1717
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative flex aspect-square h-14 w-14 shrink-0 items-center justify-center self-start overflow-hidden rounded-md bg-ods-bg text-ods-accent", children: [
|
|
1718
1718
|
coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1719
|
-
|
|
1719
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
1720
1720
|
{
|
|
1721
1721
|
src: coverImage,
|
|
1722
1722
|
alt: title,
|
|
1723
1723
|
fill: true,
|
|
1724
|
-
sizes:
|
|
1724
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "tile"),
|
|
1725
1725
|
className: "object-contain",
|
|
1726
1726
|
unoptimized: true
|
|
1727
1727
|
}
|
|
1728
1728
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Package, { className: "h-5 w-5" }),
|
|
1729
|
-
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1729
|
+
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "sm" })
|
|
1730
1730
|
] }),
|
|
1731
1731
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-h-14 min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
1732
1732
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex h-5 min-w-0 items-center gap-2", children: [
|
|
@@ -1809,14 +1809,14 @@ function buildProductReleaseCardProps(item) {
|
|
|
1809
1809
|
|
|
1810
1810
|
|
|
1811
1811
|
var BLOG_CARD_FRAME = "flex h-full flex-col";
|
|
1812
|
-
var BLOG_CARD_COVER = `relative ${
|
|
1812
|
+
var BLOG_CARD_COVER = `relative ${_chunk3TOWCFIKcjs.MEDIA_ASPECT.og} w-full overflow-hidden`;
|
|
1813
1813
|
var BLOG_CARD_BODY = "flex flex-grow flex-col p-4";
|
|
1814
|
-
var BLOG_CARD_TITLE_ROW = `mb-3 flex items-center text-h3 ${
|
|
1815
|
-
var BLOG_CARD_SUMMARY_ROW = `mb-3 flex items-center text-h6 ${
|
|
1814
|
+
var BLOG_CARD_TITLE_ROW = `mb-3 flex items-center text-h3 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[2]}`;
|
|
1815
|
+
var BLOG_CARD_SUMMARY_ROW = `mb-3 flex items-center text-h6 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[2]}`;
|
|
1816
1816
|
var BLOG_CARD_BYLINE = "mt-auto flex items-center justify-between gap-2 text-ods-text-secondary text-h6";
|
|
1817
1817
|
var BLOG_CARD_BYLINE_PERSON = "flex min-w-0 items-center gap-2";
|
|
1818
1818
|
var BLOG_CARD_VIEWS = "flex shrink-0 items-center gap-1";
|
|
1819
|
-
var BLOG_CARD_AVATAR = `${
|
|
1819
|
+
var BLOG_CARD_AVATAR = `${_chunk3TOWCFIKcjs.AVATAR_SIZE.sm} shrink-0 rounded-full object-cover`;
|
|
1820
1820
|
var BLOG_POST_TYPE_LABEL = "Blog Post";
|
|
1821
1821
|
function BlogCardSkeleton({
|
|
1822
1822
|
size = "default",
|
|
@@ -1825,7 +1825,7 @@ function BlogCardSkeleton({
|
|
|
1825
1825
|
}) {
|
|
1826
1826
|
if (size === "portrait") {
|
|
1827
1827
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1828
|
-
|
|
1828
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
1829
1829
|
{
|
|
1830
1830
|
loading: true,
|
|
1831
1831
|
href: "",
|
|
@@ -1837,28 +1837,28 @@ function BlogCardSkeleton({
|
|
|
1837
1837
|
);
|
|
1838
1838
|
}
|
|
1839
1839
|
if (size === "sm") {
|
|
1840
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1840
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.CompactCardSkeleton, { className });
|
|
1841
1841
|
}
|
|
1842
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className:
|
|
1843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1842
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, BLOG_CARD_FRAME, className), "aria-hidden": true, children: [
|
|
1843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: _chunk63A4GZMBcjs.cn.call(void 0, BLOG_CARD_COVER, "rounded-none") }),
|
|
1844
1844
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: BLOG_CARD_BODY, children: [
|
|
1845
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BLOG_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1846
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BLOG_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1845
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BLOG_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-full" }) }),
|
|
1846
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BLOG_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", lines: 2, className: "w-full" }) }),
|
|
1847
1847
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: BLOG_CARD_BYLINE, children: [
|
|
1848
1848
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: BLOG_CARD_BYLINE_PERSON, children: [
|
|
1849
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1850
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1849
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.MediaSkeleton.Avatar, { size: "sm", className: BLOG_CARD_AVATAR }),
|
|
1850
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-40" })
|
|
1851
1851
|
] }),
|
|
1852
1852
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: BLOG_CARD_VIEWS, children: [
|
|
1853
1853
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Eye, { className: "h-4 w-4 shrink-0" }),
|
|
1854
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1854
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-8" })
|
|
1855
1855
|
] })
|
|
1856
1856
|
] })
|
|
1857
1857
|
] })
|
|
1858
1858
|
] });
|
|
1859
1859
|
}
|
|
1860
1860
|
function BlogCard(props) {
|
|
1861
|
-
if (
|
|
1861
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
1862
1862
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BlogCardSkeleton, { size: props.size, showTypeBadge: props.showTypeBadge, className: props.className });
|
|
1863
1863
|
}
|
|
1864
1864
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LoadedBlogCard, { ...props });
|
|
@@ -1876,52 +1876,52 @@ function LoadedBlogCard({
|
|
|
1876
1876
|
hasEmbeddedVideo = false,
|
|
1877
1877
|
priority = false
|
|
1878
1878
|
}) {
|
|
1879
|
-
const { target, rel } =
|
|
1879
|
+
const { target, rel } = _chunkY6MJMPHVcjs.useEntityCardLink.call(void 0, {
|
|
1880
1880
|
href,
|
|
1881
1881
|
targetPlatform,
|
|
1882
1882
|
target: targetProp,
|
|
1883
1883
|
rel: relProp
|
|
1884
1884
|
});
|
|
1885
|
-
const placeholderUrl =
|
|
1885
|
+
const placeholderUrl = _chunkY6MJMPHVcjs.useEntityCardPlaceholder.call(void 0, {
|
|
1886
1886
|
title: post.title,
|
|
1887
1887
|
placeholderUrl: placeholderUrlProp,
|
|
1888
1888
|
aspect: size === "sm" ? "square" : "wide"
|
|
1889
1889
|
});
|
|
1890
|
-
const { src: displayImage, onError: onImageError } =
|
|
1890
|
+
const { src: displayImage, onError: onImageError } = _chunkY6MJMPHVcjs.useCoverImageFallback.call(void 0, post.featured_image, placeholderUrl);
|
|
1891
1891
|
if (size === "sm") {
|
|
1892
|
-
const dateStr2 = post.published_at ?
|
|
1892
|
+
const dateStr2 = post.published_at ? _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
1893
1893
|
const firstCategory = _optionalChain([post, 'access', _32 => _32.categories, 'optionalAccess', _33 => _33.find, 'call', _34 => _34((c) => c && c.name), 'optionalAccess', _35 => _35.name]);
|
|
1894
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className:
|
|
1895
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
1896
|
-
|
|
1894
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_OUTER, className), children: [
|
|
1895
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1896
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
1897
1897
|
{
|
|
1898
1898
|
src: displayImage,
|
|
1899
1899
|
alt: post.title,
|
|
1900
1900
|
fill: true,
|
|
1901
|
-
sizes:
|
|
1901
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "tile"),
|
|
1902
1902
|
className: "object-contain",
|
|
1903
1903
|
unoptimized: true,
|
|
1904
1904
|
onError: onImageError
|
|
1905
1905
|
}
|
|
1906
1906
|
) : null }),
|
|
1907
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
1908
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
1909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
1910
|
-
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1907
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
1908
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE_ROW, "gap-1.5"), children: [
|
|
1909
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE, "font-body"), children: post.title }),
|
|
1910
|
+
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.StatusBadge, { text: "Video", variant: "button", colorScheme: "cyan", className: "shrink-0" }) : null
|
|
1911
1911
|
] }),
|
|
1912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
1912
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
1913
1913
|
dateStr2,
|
|
1914
1914
|
dateStr2 && firstCategory ? " \xB7 " : "",
|
|
1915
1915
|
_nullishCoalesce(firstCategory, () => ( "Blog Post"))
|
|
1916
1916
|
] }) }),
|
|
1917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
1917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUMMARY, children: post.summary || _chunkY6MJMPHVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
1918
1918
|
] })
|
|
1919
1919
|
] });
|
|
1920
1920
|
}
|
|
1921
1921
|
if (size === "portrait") {
|
|
1922
|
-
const dateStr2 = post.published_at ?
|
|
1922
|
+
const dateStr2 = post.published_at ? _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
1923
1923
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1924
|
-
|
|
1924
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
1925
1925
|
{
|
|
1926
1926
|
href,
|
|
1927
1927
|
target,
|
|
@@ -1940,17 +1940,17 @@ function LoadedBlogCard({
|
|
|
1940
1940
|
}
|
|
1941
1941
|
);
|
|
1942
1942
|
}
|
|
1943
|
-
const dateStr = post.published_at ?
|
|
1944
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className:
|
|
1945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
1946
|
-
|
|
1943
|
+
const dateStr = post.published_at ? _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
1944
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_FRAME_CLASS, BLOG_CARD_FRAME, className), role: "article", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: "flex h-full flex-col focus:outline-none", children: [
|
|
1945
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, BLOG_CARD_COVER, "bg-ods-bg"), children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1946
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
1947
1947
|
{
|
|
1948
1948
|
src: displayImage,
|
|
1949
1949
|
alt: post.title,
|
|
1950
1950
|
fill: true,
|
|
1951
1951
|
priority,
|
|
1952
|
-
className:
|
|
1953
|
-
sizes:
|
|
1952
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, "object-cover object-center", "duration-400 transition-all ease-out", "hover:scale-[1.02]"),
|
|
1953
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.card,
|
|
1954
1954
|
unoptimized: true,
|
|
1955
1955
|
onError: onImageError
|
|
1956
1956
|
}
|
|
@@ -1959,7 +1959,7 @@ function LoadedBlogCard({
|
|
|
1959
1959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BLOG_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1960
1960
|
"h3",
|
|
1961
1961
|
{
|
|
1962
|
-
className:
|
|
1962
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1963
1963
|
"text-ods-text-primary text-h3",
|
|
1964
1964
|
"line-clamp-2",
|
|
1965
1965
|
"transition-colors duration-300 ease-out",
|
|
@@ -1968,16 +1968,16 @@ function LoadedBlogCard({
|
|
|
1968
1968
|
children: post.title
|
|
1969
1969
|
}
|
|
1970
1970
|
) }),
|
|
1971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BLOG_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className:
|
|
1971
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BLOG_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-primary text-h6", "line-clamp-2"), children: post.summary || "" }) }),
|
|
1972
1972
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: BLOG_CARD_BYLINE, children: [
|
|
1973
1973
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: BLOG_CARD_BYLINE_PERSON, children: [
|
|
1974
1974
|
post.author_avatar ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1975
|
-
|
|
1975
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
1976
1976
|
{
|
|
1977
1977
|
src: post.author_avatar,
|
|
1978
1978
|
alt: post.author_name || "",
|
|
1979
|
-
width:
|
|
1980
|
-
height:
|
|
1979
|
+
width: _chunk3TOWCFIKcjs.AVATAR_SIZE_PX.sm,
|
|
1980
|
+
height: _chunk3TOWCFIKcjs.AVATAR_SIZE_PX.sm,
|
|
1981
1981
|
className: BLOG_CARD_AVATAR,
|
|
1982
1982
|
unoptimized: true
|
|
1983
1983
|
}
|
|
@@ -2010,7 +2010,7 @@ function LoadedBlogCard({
|
|
|
2010
2010
|
|
|
2011
2011
|
|
|
2012
2012
|
var INTERVIEW_CARD_BODY = "flex flex-col gap-6 p-6";
|
|
2013
|
-
var INTERVIEW_CARD_COVER = `relative ${
|
|
2013
|
+
var INTERVIEW_CARD_COVER = `relative ${_chunk3TOWCFIKcjs.MEDIA_ASPECT.og} w-full shrink-0 overflow-hidden rounded-sm`;
|
|
2014
2014
|
var INTERVIEW_CARD_PERSON_ZONE = "mt-auto flex h-[60px] shrink-0 items-center";
|
|
2015
2015
|
var INTERVIEW_CARD_PERSON_ROW = "flex w-full min-w-0 items-center gap-3";
|
|
2016
2016
|
var INTERVIEW_CARD_PERSON_TEXT = "min-w-0 flex-1";
|
|
@@ -2022,7 +2022,7 @@ function CustomerInterviewCardSkeleton({
|
|
|
2022
2022
|
}) {
|
|
2023
2023
|
if (size === "portrait") {
|
|
2024
2024
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2025
|
-
|
|
2025
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
2026
2026
|
{
|
|
2027
2027
|
loading: true,
|
|
2028
2028
|
href: "",
|
|
@@ -2034,23 +2034,23 @@ function CustomerInterviewCardSkeleton({
|
|
|
2034
2034
|
);
|
|
2035
2035
|
}
|
|
2036
2036
|
if (size === "sm") {
|
|
2037
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2037
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.CompactCardSkeleton, { className });
|
|
2038
2038
|
}
|
|
2039
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2040
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2041
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2039
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "block h-full", className), "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkY6MJMPHVcjs.Card, { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, INTERVIEW_CARD_BODY), children: [
|
|
2040
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: _chunk63A4GZMBcjs.cn.call(void 0, INTERVIEW_CARD_COVER, "rounded-sm") }),
|
|
2041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-full" }) }),
|
|
2042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", lines: 3, className: "w-full" }) }),
|
|
2043
2043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: INTERVIEW_CARD_PERSON_ZONE, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: INTERVIEW_CARD_PERSON_ROW, children: [
|
|
2044
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2044
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.MediaSkeleton.Avatar, { size: "md", className: "shrink-0" }),
|
|
2045
2045
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: INTERVIEW_CARD_PERSON_TEXT, children: [
|
|
2046
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2047
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-2/3" }),
|
|
2047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
2048
2048
|
] })
|
|
2049
2049
|
] }) })
|
|
2050
2050
|
] }) });
|
|
2051
2051
|
}
|
|
2052
2052
|
function CustomerInterviewCard(props) {
|
|
2053
|
-
if (
|
|
2053
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
2054
2054
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2055
2055
|
CustomerInterviewCardSkeleton,
|
|
2056
2056
|
{
|
|
@@ -2073,45 +2073,45 @@ function LoadedCustomerInterviewCard({
|
|
|
2073
2073
|
showTypeBadge = true,
|
|
2074
2074
|
className
|
|
2075
2075
|
}) {
|
|
2076
|
-
const { target, rel } =
|
|
2076
|
+
const { target, rel } = _chunkY6MJMPHVcjs.useEntityCardLink.call(void 0, {
|
|
2077
2077
|
href,
|
|
2078
2078
|
targetPlatform,
|
|
2079
2079
|
target: targetProp,
|
|
2080
2080
|
rel: relProp
|
|
2081
2081
|
});
|
|
2082
|
-
const placeholderUrl =
|
|
2082
|
+
const placeholderUrl = _chunkY6MJMPHVcjs.useEntityCardPlaceholder.call(void 0, {
|
|
2083
2083
|
title: interview.title,
|
|
2084
2084
|
placeholderUrl: placeholderUrlProp,
|
|
2085
2085
|
aspect: size === "sm" ? "square" : "wide"
|
|
2086
2086
|
});
|
|
2087
2087
|
const thumbnailUrl = interview.featured_image || placeholderUrl || null;
|
|
2088
2088
|
if (size === "sm") {
|
|
2089
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className:
|
|
2090
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
2089
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_OUTER, className), children: [
|
|
2090
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
2091
2091
|
thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2092
|
-
|
|
2092
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2093
2093
|
{
|
|
2094
2094
|
src: thumbnailUrl,
|
|
2095
2095
|
alt: interview.title,
|
|
2096
2096
|
className: "object-contain",
|
|
2097
2097
|
fill: true,
|
|
2098
|
-
sizes:
|
|
2098
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "tile"),
|
|
2099
2099
|
unoptimized: true,
|
|
2100
|
-
onError:
|
|
2100
|
+
onError: _chunkY6MJMPHVcjs.hideOnError
|
|
2101
2101
|
}
|
|
2102
2102
|
) : null,
|
|
2103
2103
|
interview.main_video_url ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-loading-optional": true, className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-ods-text-on-dark" }) }) : null
|
|
2104
2104
|
] }),
|
|
2105
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
2106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2105
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
2106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE, children: interview.title }) }),
|
|
2107
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access', _36 => _36.user, 'optionalAccess', _37 => _37.full_name]), _optionalChain([interview, 'access', _38 => _38.msp, 'optionalAccess', _39 => _39.name])].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
|
|
2108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUMMARY, children: interview.video_summary || _chunkY6MJMPHVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
2109
2109
|
] })
|
|
2110
2110
|
] });
|
|
2111
2111
|
}
|
|
2112
2112
|
if (size === "portrait") {
|
|
2113
2113
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2114
|
-
|
|
2114
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
2115
2115
|
{
|
|
2116
2116
|
href,
|
|
2117
2117
|
target,
|
|
@@ -2131,18 +2131,18 @@ function LoadedCustomerInterviewCard({
|
|
|
2131
2131
|
}
|
|
2132
2132
|
);
|
|
2133
2133
|
}
|
|
2134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className:
|
|
2135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2134
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk63A4GZMBcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkY6MJMPHVcjs.Card, { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_FRAME_CLASS, INTERVIEW_CARD_BODY), children: [
|
|
2135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, INTERVIEW_CARD_COVER, "bg-ods-bg"), children: thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2136
2136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2137
|
-
|
|
2137
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2138
2138
|
{
|
|
2139
2139
|
src: thumbnailUrl,
|
|
2140
2140
|
alt: interview.title,
|
|
2141
2141
|
className: "object-cover",
|
|
2142
2142
|
fill: true,
|
|
2143
|
-
sizes:
|
|
2143
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.card,
|
|
2144
2144
|
unoptimized: true,
|
|
2145
|
-
onError:
|
|
2145
|
+
onError: _chunkY6MJMPHVcjs.hideOnError
|
|
2146
2146
|
}
|
|
2147
2147
|
),
|
|
2148
2148
|
interview.main_video_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-optional": true, className: "absolute inset-0 flex items-center justify-center bg-black/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent/90", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-8 w-8 text-ods-text-on-accent" }) }) })
|
|
@@ -2152,13 +2152,13 @@ function LoadedCustomerInterviewCard({
|
|
|
2152
2152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: INTERVIEW_CARD_PERSON_ZONE, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: INTERVIEW_CARD_PERSON_ROW, children: [
|
|
2153
2153
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative h-12 w-12 shrink-0", children: [
|
|
2154
2154
|
_optionalChain([interview, 'access', _48 => _48.user, 'optionalAccess', _49 => _49.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2155
|
-
|
|
2155
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2156
2156
|
{
|
|
2157
2157
|
src: interview.user.avatar_url,
|
|
2158
2158
|
alt: _optionalChain([interview, 'access', _50 => _50.user, 'optionalAccess', _51 => _51.full_name]) || "Customer",
|
|
2159
2159
|
className: "h-12 w-12 rounded-full border border-ods-border bg-ods-bg object-cover",
|
|
2160
|
-
width:
|
|
2161
|
-
height:
|
|
2160
|
+
width: _chunk3TOWCFIKcjs.AVATAR_SIZE_PX.lg,
|
|
2161
|
+
height: _chunk3TOWCFIKcjs.AVATAR_SIZE_PX.lg,
|
|
2162
2162
|
unoptimized: true
|
|
2163
2163
|
}
|
|
2164
2164
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: (_optionalChain([interview, 'access', _52 => _52.user, 'optionalAccess', _53 => _53.full_name]) || "A").charAt(0).toUpperCase() }) }),
|
|
@@ -2168,13 +2168,13 @@ function LoadedCustomerInterviewCard({
|
|
|
2168
2168
|
"data-loading-optional": true,
|
|
2169
2169
|
className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg",
|
|
2170
2170
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2171
|
-
|
|
2171
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2172
2172
|
{
|
|
2173
2173
|
src: interview.msp.icon_url,
|
|
2174
2174
|
alt: interview.msp.name || "MSP",
|
|
2175
2175
|
className: "h-full w-full object-cover",
|
|
2176
|
-
width:
|
|
2177
|
-
height:
|
|
2176
|
+
width: _chunk3TOWCFIKcjs.AVATAR_SIZE_PX.xs,
|
|
2177
|
+
height: _chunk3TOWCFIKcjs.AVATAR_SIZE_PX.xs,
|
|
2178
2178
|
unoptimized: true
|
|
2179
2179
|
}
|
|
2180
2180
|
)
|
|
@@ -2199,7 +2199,7 @@ function LoadedCustomerInterviewCard({
|
|
|
2199
2199
|
// src/components/chat/types/entities/investor-update.ts
|
|
2200
2200
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
2201
2201
|
if (!start && !end) return "";
|
|
2202
|
-
const fmt = (d) =>
|
|
2202
|
+
const fmt = (d) => _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, d, null, _optionalChain([options, 'optionalAccess', _62 => _62.monthFormat]) === "long" ? "monthYear" : "monthYearShort") || "?";
|
|
2203
2203
|
const s = start ? fmt(start) : "?";
|
|
2204
2204
|
const e = end ? fmt(end) : "?";
|
|
2205
2205
|
return `${s} - ${e}`;
|
|
@@ -2216,7 +2216,7 @@ function InvestorUpdateCardSkeleton({
|
|
|
2216
2216
|
}) {
|
|
2217
2217
|
if (size === "portrait") {
|
|
2218
2218
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2219
|
-
|
|
2219
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
2220
2220
|
{
|
|
2221
2221
|
loading: true,
|
|
2222
2222
|
href: "",
|
|
@@ -2232,7 +2232,7 @@ function InvestorUpdateCardSkeleton({
|
|
|
2232
2232
|
}
|
|
2233
2233
|
if (size === "sm") {
|
|
2234
2234
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2235
|
-
|
|
2235
|
+
_chunkY6MJMPHVcjs.CompactCardSkeleton,
|
|
2236
2236
|
{
|
|
2237
2237
|
titleWidth: "w-1/2",
|
|
2238
2238
|
titleBadges: ["w-8"],
|
|
@@ -2244,7 +2244,7 @@ function InvestorUpdateCardSkeleton({
|
|
|
2244
2244
|
return null;
|
|
2245
2245
|
}
|
|
2246
2246
|
function InvestorUpdateCard(props) {
|
|
2247
|
-
if (
|
|
2247
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
2248
2248
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InvestorUpdateCardSkeleton, { size: props.size, showTypeBadge: props.showTypeBadge, className: props.className });
|
|
2249
2249
|
}
|
|
2250
2250
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LoadedInvestorUpdateCard, { ...props });
|
|
@@ -2260,13 +2260,13 @@ function LoadedInvestorUpdateCard({
|
|
|
2260
2260
|
showTypeBadge = true,
|
|
2261
2261
|
className
|
|
2262
2262
|
}) {
|
|
2263
|
-
const { target, rel } =
|
|
2263
|
+
const { target, rel } = _chunkY6MJMPHVcjs.useEntityCardLink.call(void 0, {
|
|
2264
2264
|
href,
|
|
2265
2265
|
targetPlatform,
|
|
2266
2266
|
target: targetProp,
|
|
2267
2267
|
rel: relProp
|
|
2268
2268
|
});
|
|
2269
|
-
const placeholderUrl =
|
|
2269
|
+
const placeholderUrl = _chunkY6MJMPHVcjs.useEntityCardPlaceholder.call(void 0, {
|
|
2270
2270
|
title: _nullishCoalesce(update.title, () => ( `Update #${_nullishCoalesce(update.update_number, () => ( ""))}`)),
|
|
2271
2271
|
placeholderUrl: placeholderUrlProp,
|
|
2272
2272
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -2274,15 +2274,15 @@ function LoadedInvestorUpdateCard({
|
|
|
2274
2274
|
const coverImage = update.featured_image || placeholderUrl || null;
|
|
2275
2275
|
if (size === "sm") {
|
|
2276
2276
|
const periodText = formatInvestorUpdatePeriod(update.period_start, update.period_end);
|
|
2277
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: `${
|
|
2278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2279
|
-
|
|
2277
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
2278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2279
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2280
2280
|
{
|
|
2281
2281
|
src: coverImage,
|
|
2282
2282
|
alt: _nullishCoalesce(update.title, () => ( "Investor update")),
|
|
2283
2283
|
className: "object-contain",
|
|
2284
2284
|
fill: true,
|
|
2285
|
-
sizes:
|
|
2285
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "tile"),
|
|
2286
2286
|
unoptimized: true,
|
|
2287
2287
|
onError: (e) => {
|
|
2288
2288
|
const img = e.currentTarget;
|
|
@@ -2290,23 +2290,23 @@ function LoadedInvestorUpdateCard({
|
|
|
2290
2290
|
}
|
|
2291
2291
|
}
|
|
2292
2292
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Calendar, { className: "h-4 w-4" }) }) }),
|
|
2293
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
2294
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
2295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
2293
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
2294
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
2295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_TITLE} min-w-0`, children: update.title || `Update #${_nullishCoalesce(update.update_number, () => ( "?"))}` }),
|
|
2296
2296
|
update.update_number ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "shrink-0 rounded bg-ods-accent/10 px-1.5 py-0.5 text-ods-accent text-h6", children: [
|
|
2297
2297
|
"#",
|
|
2298
2298
|
update.update_number
|
|
2299
2299
|
] }) : null
|
|
2300
2300
|
] }),
|
|
2301
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2302
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2301
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUBTITLE, children: periodText || "Investor update" }) }),
|
|
2302
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUMMARY, children: (update.strategic_update || update.content || "").slice(0, 120) || _chunkY6MJMPHVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
2303
2303
|
] })
|
|
2304
2304
|
] });
|
|
2305
2305
|
}
|
|
2306
2306
|
if (size === "portrait") {
|
|
2307
2307
|
const periodText = formatInvestorUpdatePeriod(update.period_start, update.period_end);
|
|
2308
2308
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2309
|
-
|
|
2309
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
2310
2310
|
{
|
|
2311
2311
|
href,
|
|
2312
2312
|
target,
|
|
@@ -2350,10 +2350,10 @@ function stripMarkdownPreview(text) {
|
|
|
2350
2350
|
var CATALOG_BODY = "flex flex-col gap-4 p-6";
|
|
2351
2351
|
var CATALOG_ROW = "flex flex-col gap-4 md:flex-row md:gap-6";
|
|
2352
2352
|
var CATALOG_COVER_COL = "w-full flex-shrink-0 md:w-[256px]";
|
|
2353
|
-
var CATALOG_COVER = `relative ${
|
|
2353
|
+
var CATALOG_COVER = `relative ${_chunk3TOWCFIKcjs.MEDIA_ASPECT.og} w-full overflow-hidden rounded-lg`;
|
|
2354
2354
|
var CATALOG_TEXT = "flex min-w-0 flex-1 flex-col";
|
|
2355
|
-
var CATALOG_TITLE_ROW = `mb-3 flex items-start text-h2 ${
|
|
2356
|
-
var CATALOG_SUMMARY_ROW = `text-h6 ${
|
|
2355
|
+
var CATALOG_TITLE_ROW = `mb-3 flex items-start text-h2 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[2]}`;
|
|
2356
|
+
var CATALOG_SUMMARY_ROW = `text-h6 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[2]}`;
|
|
2357
2357
|
var CATALOG_EXTRA_CELL_LABELS = ["Section"];
|
|
2358
2358
|
var HORIZONTAL_SIZE_TOKENS = {
|
|
2359
2359
|
default: {
|
|
@@ -2371,7 +2371,7 @@ function OnboardingGuideCardSkeleton({
|
|
|
2371
2371
|
}) {
|
|
2372
2372
|
if (size === "portrait") {
|
|
2373
2373
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2374
|
-
|
|
2374
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
2375
2375
|
{
|
|
2376
2376
|
loading: true,
|
|
2377
2377
|
href: "",
|
|
@@ -2383,15 +2383,15 @@ function OnboardingGuideCardSkeleton({
|
|
|
2383
2383
|
);
|
|
2384
2384
|
}
|
|
2385
2385
|
if (size === "catalog") {
|
|
2386
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2386
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, "block", className), "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_BODY, children: [
|
|
2387
2387
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_ROW, children: [
|
|
2388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_COVER_COL, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_COVER_COL, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: CATALOG_COVER }) }),
|
|
2389
2389
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_TEXT, children: [
|
|
2390
2390
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_TITLE_ROW, children: [
|
|
2391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h2", lines: 2, className: "w-3/4 lg:hidden" }),
|
|
2392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h2", className: "hidden w-3/4 lg:flex" })
|
|
2393
2393
|
] }),
|
|
2394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", lines: 2, className: "w-full" }) })
|
|
2395
2395
|
] })
|
|
2396
2396
|
] }),
|
|
2397
2397
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2406,26 +2406,26 @@ function OnboardingGuideCardSkeleton({
|
|
|
2406
2406
|
] }) });
|
|
2407
2407
|
}
|
|
2408
2408
|
if (size === "sm") {
|
|
2409
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2409
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.CompactCardSkeleton, { trailingIcon: true, className });
|
|
2410
2410
|
}
|
|
2411
2411
|
const t = HORIZONTAL_SIZE_TOKENS.default;
|
|
2412
2412
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2413
2413
|
"span",
|
|
2414
2414
|
{
|
|
2415
|
-
className:
|
|
2415
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, `flex items-start gap-3 rounded-md border border-ods-border bg-ods-card ${t.padding}`, className),
|
|
2416
2416
|
children: [
|
|
2417
2417
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `inline-flex shrink-0 items-center justify-center rounded-full bg-ods-bg ${t.step}` }),
|
|
2418
2418
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
2419
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "block h-4 w-2/3 rounded" }),
|
|
2420
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "block h-3 w-1/3 rounded" }),
|
|
2421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: "block h-3 w-full rounded" })
|
|
2422
2422
|
] })
|
|
2423
2423
|
]
|
|
2424
2424
|
}
|
|
2425
2425
|
);
|
|
2426
2426
|
}
|
|
2427
2427
|
function OnboardingGuideCard(props) {
|
|
2428
|
-
if (
|
|
2428
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
2429
2429
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2430
2430
|
OnboardingGuideCardSkeleton,
|
|
2431
2431
|
{
|
|
@@ -2449,13 +2449,13 @@ function LoadedOnboardingGuideCard({
|
|
|
2449
2449
|
showTypeBadge = true,
|
|
2450
2450
|
className
|
|
2451
2451
|
}) {
|
|
2452
|
-
const { target, rel } =
|
|
2452
|
+
const { target, rel } = _chunkY6MJMPHVcjs.useEntityCardLink.call(void 0, {
|
|
2453
2453
|
href,
|
|
2454
2454
|
targetPlatform,
|
|
2455
2455
|
target: targetProp,
|
|
2456
2456
|
rel: relProp
|
|
2457
2457
|
});
|
|
2458
|
-
const placeholderUrl =
|
|
2458
|
+
const placeholderUrl = _chunkY6MJMPHVcjs.useEntityCardPlaceholder.call(void 0, {
|
|
2459
2459
|
title: guide.title,
|
|
2460
2460
|
placeholderUrl: placeholderUrlProp,
|
|
2461
2461
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -2463,7 +2463,7 @@ function LoadedOnboardingGuideCard({
|
|
|
2463
2463
|
if (size === "portrait") {
|
|
2464
2464
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
2465
2465
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2466
|
-
|
|
2466
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
2467
2467
|
{
|
|
2468
2468
|
href,
|
|
2469
2469
|
target,
|
|
@@ -2482,7 +2482,7 @@ function LoadedOnboardingGuideCard({
|
|
|
2482
2482
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
2483
2483
|
const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
|
|
2484
2484
|
const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
|
|
2485
|
-
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ?
|
|
2485
|
+
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? _chunkBOS7OIC4cjs.formatDurationMMSS.call(void 0, Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
|
|
2486
2486
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2487
2487
|
_chunkV45KLJQPcjs.next_link_default,
|
|
2488
2488
|
{
|
|
@@ -2490,17 +2490,17 @@ function LoadedOnboardingGuideCard({
|
|
|
2490
2490
|
target,
|
|
2491
2491
|
rel,
|
|
2492
2492
|
prefetch: false,
|
|
2493
|
-
className:
|
|
2493
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_FRAME_CLASS, "block no-underline", className),
|
|
2494
2494
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_BODY, children: [
|
|
2495
2495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_ROW, children: [
|
|
2496
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_COVER_COL, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
2496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_COVER_COL, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, CATALOG_COVER, "bg-ods-bg"), children: [
|
|
2497
2497
|
coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2498
|
-
|
|
2498
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2499
2499
|
{
|
|
2500
2500
|
src: coverImage,
|
|
2501
2501
|
alt: guide.title,
|
|
2502
2502
|
fill: true,
|
|
2503
|
-
sizes:
|
|
2503
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.panel,
|
|
2504
2504
|
className: "object-cover",
|
|
2505
2505
|
unoptimized: true
|
|
2506
2506
|
}
|
|
@@ -2512,7 +2512,7 @@ function LoadedOnboardingGuideCard({
|
|
|
2512
2512
|
className: "absolute inset-0"
|
|
2513
2513
|
}
|
|
2514
2514
|
),
|
|
2515
|
-
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2515
|
+
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "md" }),
|
|
2516
2516
|
durationLabel && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "absolute bottom-2 right-2 inline-flex items-center gap-1 rounded bg-black/60 px-2 py-1 text-ods-text-on-dark text-code", children: [
|
|
2517
2517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "h-3 w-3" }),
|
|
2518
2518
|
durationLabel
|
|
@@ -2558,26 +2558,26 @@ function LoadedOnboardingGuideCard({
|
|
|
2558
2558
|
target,
|
|
2559
2559
|
rel,
|
|
2560
2560
|
prefetch: false,
|
|
2561
|
-
className:
|
|
2561
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_OUTER, "group", className),
|
|
2562
2562
|
children: [
|
|
2563
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
2563
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
2564
2564
|
compactCover ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2565
|
-
|
|
2565
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2566
2566
|
{
|
|
2567
2567
|
src: compactCover,
|
|
2568
2568
|
alt: guide.title,
|
|
2569
2569
|
fill: true,
|
|
2570
|
-
sizes:
|
|
2570
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "tile"),
|
|
2571
2571
|
className: "object-contain",
|
|
2572
2572
|
unoptimized: true
|
|
2573
2573
|
}
|
|
2574
2574
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.GraduationCap, { className: "h-4 w-4" }) }),
|
|
2575
|
-
hasVideoCover && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2575
|
+
hasVideoCover && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "sm" })
|
|
2576
2576
|
] }),
|
|
2577
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
2578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2577
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
2578
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE, "font-heading"), children: guide.title }) }),
|
|
2579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
|
|
2580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUMMARY, children: summary2 || _chunkY6MJMPHVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
2581
2581
|
] }),
|
|
2582
2582
|
/* @__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" }) })
|
|
2583
2583
|
]
|
|
@@ -2593,7 +2593,7 @@ function LoadedOnboardingGuideCard({
|
|
|
2593
2593
|
target,
|
|
2594
2594
|
rel,
|
|
2595
2595
|
prefetch: false,
|
|
2596
|
-
className:
|
|
2596
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
2597
2597
|
`flex items-start gap-3 rounded-md border border-ods-border bg-ods-card transition-colors hover:border-ods-accent ${t.padding}`,
|
|
2598
2598
|
className
|
|
2599
2599
|
),
|
|
@@ -2632,23 +2632,23 @@ function RoadmapVoteButton({
|
|
|
2632
2632
|
className
|
|
2633
2633
|
}) {
|
|
2634
2634
|
const Icon = voteType === "up" ? _chunkOOYBIS7Dcjs.ThumbsUpClassicIcon : _chunk32ASZMTVcjs.ThumbsDownClassicIcon;
|
|
2635
|
-
const loading =
|
|
2635
|
+
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
2636
2636
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2637
|
-
|
|
2637
|
+
_chunkFCZAUK4Dcjs.Button,
|
|
2638
2638
|
{
|
|
2639
2639
|
variant: "outline",
|
|
2640
2640
|
onClick,
|
|
2641
2641
|
disabled,
|
|
2642
2642
|
...loading ? { tabIndex: -1, "aria-hidden": true } : {},
|
|
2643
2643
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-5 w-5", color }),
|
|
2644
|
-
className:
|
|
2644
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
2645
2645
|
className,
|
|
2646
2646
|
"flex h-full items-center justify-center gap-[2px] border-0 border-ods-border bg-ods-bg p-[12px]",
|
|
2647
2647
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
2648
2648
|
"transition-all hover:bg-ods-border",
|
|
2649
2649
|
isActive && "bg-ods-border"
|
|
2650
2650
|
),
|
|
2651
|
-
children: showCount && (loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2651
|
+
children: showCount && (loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "h6", className: "inline-block w-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6", children: count }))
|
|
2652
2652
|
}
|
|
2653
2653
|
);
|
|
2654
2654
|
}
|
|
@@ -2712,21 +2712,21 @@ function TaskTypeIcon({ customItemId, className = "h-5 w-5" }) {
|
|
|
2712
2712
|
|
|
2713
2713
|
|
|
2714
2714
|
|
|
2715
|
-
var ROADMAP_COMPACT_SLOT = `${
|
|
2715
|
+
var ROADMAP_COMPACT_SLOT = `${_chunk3TOWCFIKcjs.MEDIA_ASPECT.square} ${_chunk3TOWCFIKcjs.TILE_SIZE.xl} shrink-0 self-start overflow-hidden rounded-md border border-ods-border p-1.5`;
|
|
2716
2716
|
var ROADMAP_CARD_BODY = "flex h-full scroll-mt-24 flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
2717
2717
|
var ROADMAP_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
2718
|
-
var ROADMAP_CARD_ICON_BOX = `flex ${
|
|
2718
|
+
var ROADMAP_CARD_ICON_BOX = `flex ${_chunk3TOWCFIKcjs.TILE_SIZE.feature} flex-shrink-0 items-center justify-center rounded-lg`;
|
|
2719
2719
|
var ROADMAP_CARD_HEADING = "flex min-w-0 flex-1 flex-col";
|
|
2720
|
-
var ROADMAP_CARD_TITLE_ROW = `flex items-center text-h3 ${
|
|
2721
|
-
var ROADMAP_CARD_META_ROW = `flex items-center text-h5 ${
|
|
2722
|
-
var ROADMAP_CARD_SUMMARY_ROW = `flex items-center text-h4 ${
|
|
2720
|
+
var ROADMAP_CARD_TITLE_ROW = `flex items-center text-h3 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[2]}`;
|
|
2721
|
+
var ROADMAP_CARD_META_ROW = `flex items-center text-h5 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[1]}`;
|
|
2722
|
+
var ROADMAP_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunk3TOWCFIKcjs.TEXT_LINES_MIN[3]}`;
|
|
2723
2723
|
var ROADMAP_CARD_FOOTER = "flex w-full items-center justify-between";
|
|
2724
2724
|
var ROADMAP_CARD_VOTES = "flex h-[48px] overflow-hidden rounded-[6px]";
|
|
2725
2725
|
var ROADMAP_CARD_FOOTER_END = "flex min-w-0 items-center gap-2";
|
|
2726
2726
|
var ROADMAP_VISIBILITY_LABEL = { public: "Public", internal: "Team only" };
|
|
2727
2727
|
function RoadmapVisibilityTag({ isPublic }) {
|
|
2728
2728
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2729
|
-
|
|
2729
|
+
_chunkBOS7OIC4cjs.Tag,
|
|
2730
2730
|
{
|
|
2731
2731
|
"data-loading-optional": true,
|
|
2732
2732
|
variant: "outline",
|
|
@@ -2742,7 +2742,7 @@ function RoadmapCardSkeleton({
|
|
|
2742
2742
|
}) {
|
|
2743
2743
|
if (size === "sm") {
|
|
2744
2744
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2745
|
-
|
|
2745
|
+
_chunkY6MJMPHVcjs.CompactCardSkeleton,
|
|
2746
2746
|
{
|
|
2747
2747
|
slotClassName: ROADMAP_COMPACT_SLOT,
|
|
2748
2748
|
titleWidth: "w-1/2",
|
|
@@ -2756,19 +2756,19 @@ function RoadmapCardSkeleton({
|
|
|
2756
2756
|
}
|
|
2757
2757
|
);
|
|
2758
2758
|
}
|
|
2759
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
2759
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, ROADMAP_CARD_BODY, className), "aria-hidden": true, children: [
|
|
2760
2760
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROADMAP_CARD_HEADER, children: [
|
|
2761
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: ROADMAP_CARD_ICON_BOX }),
|
|
2762
2762
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROADMAP_CARD_HEADING, children: [
|
|
2763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-3/4" }) }),
|
|
2764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h5", className: "w-1/3" }) })
|
|
2765
2765
|
] }),
|
|
2766
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2766
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.StatusBadge, { loading: true, text: "" }) })
|
|
2767
2767
|
] }),
|
|
2768
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2768
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.StatusBadge, { loading: true, text: "" }) }),
|
|
2769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
|
|
2770
2770
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
2771
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_FOOTER, children: votes && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2771
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_FOOTER, children: votes && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: _chunk63A4GZMBcjs.cn.call(void 0, ROADMAP_CARD_VOTES, "w-32") }) })
|
|
2772
2772
|
] });
|
|
2773
2773
|
}
|
|
2774
2774
|
function assigneePeople(assignees) {
|
|
@@ -2779,7 +2779,7 @@ function assigneePeople(assignees) {
|
|
|
2779
2779
|
}));
|
|
2780
2780
|
}
|
|
2781
2781
|
function RoadmapCard(props) {
|
|
2782
|
-
if (
|
|
2782
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
2783
2783
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapCardSkeleton, { size: props.size, votes: !!props.onVote, className: props.className });
|
|
2784
2784
|
}
|
|
2785
2785
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LoadedRoadmapCard, { ...props });
|
|
@@ -2801,7 +2801,7 @@ function LoadedRoadmapCard({
|
|
|
2801
2801
|
const logoUrl = item.icon && item.icon.startsWith("http") ? item.icon : null;
|
|
2802
2802
|
const iconSrc = useProxiedImageUrl(logoUrl) || null;
|
|
2803
2803
|
if (size === "sm") {
|
|
2804
|
-
const compactHref =
|
|
2804
|
+
const compactHref = _chunkY6MJMPHVcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
2805
2805
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
2806
2806
|
const hasFigma = !!item.figmaUrl;
|
|
2807
2807
|
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _73 => _73.screenshots, 'optionalAccess', _74 => _74.length]), () => ( 0))) > 0;
|
|
@@ -2811,26 +2811,26 @@ function LoadedRoadmapCard({
|
|
|
2811
2811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2812
2812
|
"span",
|
|
2813
2813
|
{
|
|
2814
|
-
className:
|
|
2814
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, ROADMAP_COMPACT_SLOT, "flex items-center justify-center bg-ods-bg text-ods-accent"),
|
|
2815
2815
|
title: _nullishCoalesce(typeLabel, () => ( void 0)),
|
|
2816
2816
|
children: useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: item.customItemId, className: "h-6 w-6" }) : iconSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2817
|
-
|
|
2817
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2818
2818
|
{
|
|
2819
2819
|
src: iconSrc,
|
|
2820
2820
|
alt: `${item.title} logo`,
|
|
2821
|
-
width:
|
|
2822
|
-
height:
|
|
2821
|
+
width: _chunkQOAA7ZHBcjs.IMAGE_FIXED_PX.logo,
|
|
2822
|
+
height: _chunkQOAA7ZHBcjs.IMAGE_FIXED_PX.logo,
|
|
2823
2823
|
unoptimized: true,
|
|
2824
2824
|
className: "h-8 w-8 object-contain"
|
|
2825
2825
|
}
|
|
2826
2826
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-secondary text-h6", children: _optionalChain([item, 'access', _75 => _75.title, 'optionalAccess', _76 => _76.substring, 'call', _77 => _77(0, 2)]) || "??" })
|
|
2827
2827
|
}
|
|
2828
2828
|
),
|
|
2829
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
2830
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
2831
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
2829
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
2830
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
2831
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_TITLE} min-w-0`, children: item.title }),
|
|
2832
2832
|
item.status && item.status.trim().length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2833
|
-
|
|
2833
|
+
_chunkY6MJMPHVcjs.StatusBadge,
|
|
2834
2834
|
{
|
|
2835
2835
|
text: item.status.toUpperCase(),
|
|
2836
2836
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -2840,7 +2840,7 @@ function LoadedRoadmapCard({
|
|
|
2840
2840
|
}
|
|
2841
2841
|
) : null
|
|
2842
2842
|
] }),
|
|
2843
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
2843
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX} gap-2 text-ods-text-secondary`, children: [
|
|
2844
2844
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-h6", children: (() => {
|
|
2845
2845
|
const parts = [item.quarter, item.targetVersion ? `${item.targetVersion} version` : null].filter(
|
|
2846
2846
|
Boolean
|
|
@@ -2876,25 +2876,25 @@ function LoadedRoadmapCard({
|
|
|
2876
2876
|
]
|
|
2877
2877
|
}
|
|
2878
2878
|
) : null,
|
|
2879
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2879
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk25HBH4J6cjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
|
|
2880
2880
|
] }),
|
|
2881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
2881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunkY6MJMPHVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
2882
2882
|
] })
|
|
2883
2883
|
] });
|
|
2884
2884
|
if (!compactHref) {
|
|
2885
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
2885
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
2886
2886
|
}
|
|
2887
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href: compactHref, target, rel, className: `${
|
|
2887
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href: compactHref, target, rel, className: `${_chunkY6MJMPHVcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
2888
2888
|
}
|
|
2889
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { id, className:
|
|
2889
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { id, className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_FRAME_CLASS, ROADMAP_CARD_BODY, className), children: [
|
|
2890
2890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROADMAP_CARD_HEADER, children: [
|
|
2891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2892
|
-
|
|
2891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, ROADMAP_CARD_ICON_BOX, "border border-ods-border bg-ods-bg"), children: iconSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2892
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
2893
2893
|
{
|
|
2894
2894
|
src: iconSrc,
|
|
2895
2895
|
alt: `${item.title} logo`,
|
|
2896
|
-
width:
|
|
2897
|
-
height:
|
|
2896
|
+
width: _chunkQOAA7ZHBcjs.IMAGE_FIXED_PX.logoLg,
|
|
2897
|
+
height: _chunkQOAA7ZHBcjs.IMAGE_FIXED_PX.logoLg,
|
|
2898
2898
|
unoptimized: true,
|
|
2899
2899
|
className: "object-contain p-1"
|
|
2900
2900
|
}
|
|
@@ -2908,7 +2908,7 @@ function LoadedRoadmapCard({
|
|
|
2908
2908
|
] }) })
|
|
2909
2909
|
] }),
|
|
2910
2910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2911
|
-
|
|
2911
|
+
_chunkY6MJMPHVcjs.StatusBadge,
|
|
2912
2912
|
{
|
|
2913
2913
|
text: item.status.toUpperCase(),
|
|
2914
2914
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -2917,7 +2917,7 @@ function LoadedRoadmapCard({
|
|
|
2917
2917
|
) })
|
|
2918
2918
|
] }),
|
|
2919
2919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2920
|
-
|
|
2920
|
+
_chunkY6MJMPHVcjs.StatusBadge,
|
|
2921
2921
|
{
|
|
2922
2922
|
text: item.status.toUpperCase(),
|
|
2923
2923
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -2927,7 +2927,7 @@ function LoadedRoadmapCard({
|
|
|
2927
2927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROADMAP_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: item.description || "" }) }),
|
|
2928
2928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
2929
2929
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROADMAP_CARD_FOOTER, children: [
|
|
2930
|
-
onVote && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
2930
|
+
onVote && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, ROADMAP_CARD_VOTES, "border border-ods-border bg-ods-card"), children: [
|
|
2931
2931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2932
2932
|
RoadmapVoteButton,
|
|
2933
2933
|
{
|
|
@@ -2955,9 +2955,9 @@ function LoadedRoadmapCard({
|
|
|
2955
2955
|
] }),
|
|
2956
2956
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROADMAP_CARD_FOOTER_END, children: [
|
|
2957
2957
|
typeof item.isPublic === "boolean" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapVisibilityTag, { isPublic: item.isPublic }) : null,
|
|
2958
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2958
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk25HBH4J6cjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
|
|
2959
2959
|
item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2960
|
-
|
|
2960
|
+
_chunkFCZAUK4Dcjs.Button,
|
|
2961
2961
|
{
|
|
2962
2962
|
variant: "outline",
|
|
2963
2963
|
size: "small-legacy",
|
|
@@ -2966,9 +2966,9 @@ function LoadedRoadmapCard({
|
|
|
2966
2966
|
}
|
|
2967
2967
|
),
|
|
2968
2968
|
(() => {
|
|
2969
|
-
const figmaSafe =
|
|
2969
|
+
const figmaSafe = _chunkY6MJMPHVcjs.safeHref.call(void 0, item.figmaUrl);
|
|
2970
2970
|
return figmaSafe ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2971
|
-
|
|
2971
|
+
_chunkFCZAUK4Dcjs.Button,
|
|
2972
2972
|
{
|
|
2973
2973
|
variant: "outline",
|
|
2974
2974
|
size: "small-legacy",
|
|
@@ -2979,10 +2979,10 @@ function LoadedRoadmapCard({
|
|
|
2979
2979
|
) : null;
|
|
2980
2980
|
})(),
|
|
2981
2981
|
item.targetVersion && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2982
|
-
|
|
2982
|
+
_chunkY6MJMPHVcjs.StatusBadge,
|
|
2983
2983
|
{
|
|
2984
2984
|
"data-loading-optional": true,
|
|
2985
|
-
gen:
|
|
2985
|
+
gen: _chunkY6MJMPHVcjs.generationTierFromLabel.call(void 0, item.targetVersion),
|
|
2986
2986
|
text: item.targetVersion
|
|
2987
2987
|
}
|
|
2988
2988
|
)
|
|
@@ -3003,11 +3003,11 @@ function LoadedRoadmapCard({
|
|
|
3003
3003
|
|
|
3004
3004
|
|
|
3005
3005
|
|
|
3006
|
-
var EDITORIAL_FRAME =
|
|
3006
|
+
var EDITORIAL_FRAME = _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS;
|
|
3007
3007
|
var EDITORIAL_ROW_GRID = "grid grid-cols-[88px_minmax(0,1fr)] items-center gap-[var(--spacing-system-m)] p-[var(--spacing-system-m)] sm:grid-cols-[120px_minmax(0,1fr)] sm:gap-[var(--spacing-system-l)]";
|
|
3008
|
-
var EDITORIAL_ROW_THUMB = `relative block ${
|
|
3008
|
+
var EDITORIAL_ROW_THUMB = `relative block ${_chunk3TOWCFIKcjs.MEDIA_ASPECT.square} w-full overflow-hidden rounded-md`;
|
|
3009
3009
|
var EDITORIAL_ROW_TEXT = "flex min-w-0 flex-col gap-[var(--spacing-system-xs)]";
|
|
3010
|
-
var EDITORIAL_FEATURE_COVER = `relative block ${
|
|
3010
|
+
var EDITORIAL_FEATURE_COVER = `relative block ${_chunk3TOWCFIKcjs.MEDIA_ASPECT.video} w-full overflow-hidden`;
|
|
3011
3011
|
var EDITORIAL_FEATURE_BODY = "flex flex-col gap-[var(--spacing-system-s)] p-[var(--spacing-system-l)]";
|
|
3012
3012
|
var EDITORIAL_META_ROW = "flex h-[1lh] min-w-0 items-center gap-x-[var(--spacing-system-s)] overflow-hidden whitespace-nowrap text-h6";
|
|
3013
3013
|
var EDITORIAL_PERSON_ROW = "flex h-8 min-w-0 items-center gap-[var(--spacing-system-s)]";
|
|
@@ -3029,7 +3029,7 @@ var PROGRAM_CARD_SKELETON_MEDIA = 4;
|
|
|
3029
3029
|
var EDITORIAL_PERSON_AVATAR = { variant: "round", size: "sm" };
|
|
3030
3030
|
var programActionLabel = (singular) => `View ${singular.toLowerCase()}`;
|
|
3031
3031
|
function ProgramActionButton({ label, href, newTab }) {
|
|
3032
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3032
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", href, openInNewTab: newTab, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowRight, { className: "h-5 w-5" }), children: label });
|
|
3033
3033
|
}
|
|
3034
3034
|
function ProgramCardSkeleton({
|
|
3035
3035
|
size = "default",
|
|
@@ -3042,58 +3042,58 @@ function ProgramCardSkeleton({
|
|
|
3042
3042
|
className
|
|
3043
3043
|
}) {
|
|
3044
3044
|
if (size === "portrait")
|
|
3045
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3045
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.EntityPortraitCard, { loading: true, href: "", imageAlt: "", title: "", typeLabel, className });
|
|
3046
3046
|
if (size === "row") {
|
|
3047
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3048
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3047
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, EDITORIAL_FRAME, EDITORIAL_ROW_GRID, className), children: [
|
|
3048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: EDITORIAL_ROW_THUMB }),
|
|
3049
3049
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: EDITORIAL_ROW_TEXT, children: [
|
|
3050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3051
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3052
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "h3", lines: 2, className: "w-full" }),
|
|
3051
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "inherit", className: "w-40" }) }),
|
|
3052
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "h6", lines: 2, className: "w-full" })
|
|
3053
3053
|
] })
|
|
3054
3054
|
] });
|
|
3055
3055
|
}
|
|
3056
3056
|
if (size === "feature") {
|
|
3057
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3058
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3057
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, EDITORIAL_FRAME, "flex flex-col", className), children: [
|
|
3058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { as: "span", className: _chunk63A4GZMBcjs.cn.call(void 0, EDITORIAL_FEATURE_COVER, "rounded-none") }),
|
|
3059
3059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: EDITORIAL_FEATURE_BODY, children: [
|
|
3060
|
-
eyebrow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3063
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3060
|
+
eyebrow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "h5", className: "w-28" }),
|
|
3061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "h3", lines: 2, className: "w-full" }),
|
|
3062
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "inherit", className: "w-40" }) }),
|
|
3063
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "h4", lines: 3, className: "w-full" }),
|
|
3064
3064
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: [
|
|
3065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3066
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3065
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.SquareAvatar, { loading: true, ...EDITORIAL_PERSON_AVATAR, className: "shrink-0" }),
|
|
3066
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "h6", className: "w-40" })
|
|
3067
3067
|
] })
|
|
3068
3068
|
] })
|
|
3069
3069
|
] });
|
|
3070
3070
|
}
|
|
3071
3071
|
if (size === "sm") {
|
|
3072
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3072
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.CompactCardSkeleton, { trailingIcon: true, className });
|
|
3073
3073
|
}
|
|
3074
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
3074
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DEFAULT_BODY, className), children: [
|
|
3075
3075
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
3076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: DEFAULT_COVER_FRAME }),
|
|
3077
3077
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_TEXT, children: [
|
|
3078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TITLE, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TITLE, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "inherit", lines: 2, className: "w-3/4" }) }),
|
|
3079
3079
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_META_ROW, children: [
|
|
3080
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3080
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "inherit", className: "w-32" }),
|
|
3081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "inherit", className: "w-40" })
|
|
3082
3082
|
] }),
|
|
3083
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_DESCRIPTION, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3084
|
-
tags && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_DESCRIPTION, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { as: "span", type: "inherit", lines: 3, className: "w-full" }) }),
|
|
3084
|
+
tags && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: DEFAULT_SKELETON_TAGS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.Tag, { loading: true, as: "span", label: "", variant: "outline", "data-loading-item": true }) }) })
|
|
3085
3085
|
] }),
|
|
3086
|
-
hosts > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_HOSTS_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3086
|
+
hosts > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_HOSTS_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: hosts, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.SquareAvatar, { loading: true, variant: "round", size: "sm", "data-loading-item": true }) }) })
|
|
3087
3087
|
] }),
|
|
3088
|
-
media > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_GALLERY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3088
|
+
media > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_GALLERY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: media, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: DEFAULT_GALLERY_THUMB, "data-loading-item": true }) }) }),
|
|
3089
3089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_FOOTER, children: actionLabel ? (
|
|
3090
3090
|
// The action's words are copy: the real button, not a control while it loads.
|
|
3091
3091
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: true, "aria-hidden": true, className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProgramActionButton, { label: actionLabel }) })
|
|
3092
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3092
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.InteractiveSkeleton.Button, { size: "default", className: "w-40" }) })
|
|
3093
3093
|
] });
|
|
3094
3094
|
}
|
|
3095
3095
|
function ProgramCard(props) {
|
|
3096
|
-
if (
|
|
3096
|
+
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
3097
3097
|
const { config, size = "default", showTypeBadge = true, eyebrow, className } = props;
|
|
3098
3098
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3099
3099
|
ProgramCardSkeleton,
|
|
@@ -3154,17 +3154,17 @@ function MediaGallery({ images, title, optional }) {
|
|
|
3154
3154
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", "data-loading-optional": optional || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_GALLERY_ROW, style: { width: "max-content" }, children: images.map((mediaItem, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3155
3155
|
"div",
|
|
3156
3156
|
{
|
|
3157
|
-
className:
|
|
3157
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, DEFAULT_GALLERY_THUMB, "group/thumb cursor-pointer"),
|
|
3158
3158
|
onClick: (e) => openImageModal(index, e),
|
|
3159
3159
|
"data-loading-item": true,
|
|
3160
3160
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3161
|
-
|
|
3161
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
3162
3162
|
{
|
|
3163
3163
|
src: mediaItem.media_url,
|
|
3164
3164
|
alt: `${title} photo ${index + 1}`,
|
|
3165
3165
|
fill: true,
|
|
3166
3166
|
className: "object-cover transition-transform duration-200 group-hover/thumb:scale-105",
|
|
3167
|
-
sizes:
|
|
3167
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "preview"),
|
|
3168
3168
|
loading: "lazy",
|
|
3169
3169
|
unoptimized: true
|
|
3170
3170
|
}
|
|
@@ -3199,7 +3199,7 @@ function ProgramEditorialCard({
|
|
|
3199
3199
|
priority,
|
|
3200
3200
|
className
|
|
3201
3201
|
}) {
|
|
3202
|
-
const edgeColor =
|
|
3202
|
+
const edgeColor = _chunkRD66AGUIcjs.useImageEdgeColor.call(void 0, feature ? cover : null, "transparent");
|
|
3203
3203
|
const meta = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: EDITORIAL_META_ROW, children: [
|
|
3204
3204
|
date && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-flamingo-pink", children: date }),
|
|
3205
3205
|
[typeMeta, feature ? null : _optionalChain([profile, 'optionalAccess', _83 => _83.name])].filter((part) => !!part).map((part) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-s)] text-ods-text-secondary", children: [
|
|
@@ -3208,21 +3208,21 @@ function ProgramEditorialCard({
|
|
|
3208
3208
|
] }, part))
|
|
3209
3209
|
] });
|
|
3210
3210
|
if (!feature) {
|
|
3211
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3212
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3211
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkY6MJMPHVcjs.ContentCardFrame, { as: "a", href, target, rel, className: _chunk63A4GZMBcjs.cn.call(void 0, EDITORIAL_ROW_GRID, className), children: [
|
|
3212
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, EDITORIAL_ROW_THUMB, "bg-ods-bg"), children: [
|
|
3213
3213
|
cover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3214
|
-
|
|
3214
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
3215
3215
|
{
|
|
3216
3216
|
src: cover,
|
|
3217
3217
|
alt: "",
|
|
3218
3218
|
fill: true,
|
|
3219
|
-
sizes:
|
|
3219
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "feature"),
|
|
3220
3220
|
className: "object-cover",
|
|
3221
3221
|
priority,
|
|
3222
3222
|
unoptimized: true
|
|
3223
3223
|
}
|
|
3224
3224
|
),
|
|
3225
|
-
playable && cover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3225
|
+
playable && cover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "md" })
|
|
3226
3226
|
] }),
|
|
3227
3227
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: EDITORIAL_ROW_TEXT, children: [
|
|
3228
3228
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3", children: title }),
|
|
@@ -3231,26 +3231,26 @@ function ProgramEditorialCard({
|
|
|
3231
3231
|
] })
|
|
3232
3232
|
] });
|
|
3233
3233
|
}
|
|
3234
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3234
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkY6MJMPHVcjs.ContentCardFrame, { as: "a", href, target, rel, className: _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
3235
3235
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3236
3236
|
"span",
|
|
3237
3237
|
{
|
|
3238
|
-
className:
|
|
3238
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, EDITORIAL_FEATURE_COVER, "transition-colors duration-300"),
|
|
3239
3239
|
style: { backgroundColor: edgeColor },
|
|
3240
3240
|
children: [
|
|
3241
3241
|
cover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3242
|
-
|
|
3242
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
3243
3243
|
{
|
|
3244
3244
|
src: cover,
|
|
3245
3245
|
alt: "",
|
|
3246
3246
|
fill: true,
|
|
3247
|
-
sizes:
|
|
3247
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.column,
|
|
3248
3248
|
className: "object-contain",
|
|
3249
3249
|
priority,
|
|
3250
3250
|
unoptimized: true
|
|
3251
3251
|
}
|
|
3252
3252
|
),
|
|
3253
|
-
playable && cover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3253
|
+
playable && cover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "lg" })
|
|
3254
3254
|
]
|
|
3255
3255
|
}
|
|
3256
3256
|
),
|
|
@@ -3261,7 +3261,7 @@ function ProgramEditorialCard({
|
|
|
3261
3261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-3 min-h-[3lh] text-ods-text-secondary text-h4", children: description }),
|
|
3262
3262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: profile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3263
3263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3264
|
-
|
|
3264
|
+
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
3265
3265
|
{
|
|
3266
3266
|
...EDITORIAL_PERSON_AVATAR,
|
|
3267
3267
|
src: profile.avatarUrl || void 0,
|
|
@@ -3299,13 +3299,13 @@ function LoadedProgramCard({
|
|
|
3299
3299
|
priority,
|
|
3300
3300
|
className
|
|
3301
3301
|
}) {
|
|
3302
|
-
const { target, rel } =
|
|
3302
|
+
const { target, rel } = _chunkY6MJMPHVcjs.useEntityCardLink.call(void 0, {
|
|
3303
3303
|
href,
|
|
3304
3304
|
targetPlatform,
|
|
3305
3305
|
target: targetProp,
|
|
3306
3306
|
rel: relProp
|
|
3307
3307
|
});
|
|
3308
|
-
const placeholderUrl =
|
|
3308
|
+
const placeholderUrl = _chunkY6MJMPHVcjs.useEntityCardPlaceholder.call(void 0, {
|
|
3309
3309
|
title: item.title,
|
|
3310
3310
|
placeholderUrl: placeholderUrlProp,
|
|
3311
3311
|
aspect: size === "sm" || size === "row" ? "square" : "wide"
|
|
@@ -3322,12 +3322,12 @@ function LoadedProgramCard({
|
|
|
3322
3322
|
// Compact densities join plain strings, so the zone rides inline here; the
|
|
3323
3323
|
// default density below renders it as its own styled span instead.
|
|
3324
3324
|
} = programMetaLine(item, config.type, programMetaFormatters(PROGRAM_META_RENDERERS));
|
|
3325
|
-
const compactDate =
|
|
3325
|
+
const compactDate = _chunkBOS7OIC4cjs.formatProgramDate.call(void 0, zonedDate, "medium");
|
|
3326
3326
|
if (size === "portrait") {
|
|
3327
|
-
const profile =
|
|
3327
|
+
const profile = _chunkY6MJMPHVcjs.programItemToStripProfile.call(void 0, item);
|
|
3328
3328
|
const dateMeta = compactMetaLine;
|
|
3329
3329
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3330
|
-
|
|
3330
|
+
_chunkY6MJMPHVcjs.EntityPortraitCard,
|
|
3331
3331
|
{
|
|
3332
3332
|
href,
|
|
3333
3333
|
target,
|
|
@@ -3356,9 +3356,9 @@ function LoadedProgramCard({
|
|
|
3356
3356
|
description: item.description,
|
|
3357
3357
|
cover: coverImage || placeholderUrl || null,
|
|
3358
3358
|
eyebrow,
|
|
3359
|
-
date:
|
|
3359
|
+
date: _chunkBOS7OIC4cjs.formatProgramDate.call(void 0, zonedDate, "weekday"),
|
|
3360
3360
|
typeMeta: compactTypeMetaValue,
|
|
3361
|
-
profile:
|
|
3361
|
+
profile: _chunkY6MJMPHVcjs.programItemToStripProfile.call(void 0, item),
|
|
3362
3362
|
playable: isPlayable,
|
|
3363
3363
|
priority,
|
|
3364
3364
|
className
|
|
@@ -3372,31 +3372,31 @@ function LoadedProgramCard({
|
|
|
3372
3372
|
const subtitleParts = [itemDate, typeMeta, _optionalChain([config, 'access', _84 => _84.labels, 'optionalAccess', _85 => _85.singular])].filter(
|
|
3373
3373
|
(s) => typeof s === "string" && s.length > 0
|
|
3374
3374
|
);
|
|
3375
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className:
|
|
3376
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3375
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_OUTER, "group", className), children: [
|
|
3376
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
3377
3377
|
compactCover ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3378
|
-
|
|
3378
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
3379
3379
|
{
|
|
3380
3380
|
src: compactCover,
|
|
3381
3381
|
alt: item.title,
|
|
3382
3382
|
fill: true,
|
|
3383
|
-
sizes:
|
|
3383
|
+
sizes: _chunkQOAA7ZHBcjs.fixedImageSlot.call(void 0, "tile"),
|
|
3384
3384
|
className: "object-contain",
|
|
3385
3385
|
priority,
|
|
3386
3386
|
unoptimized: true
|
|
3387
3387
|
}
|
|
3388
3388
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Play, { className: "h-4 w-4" }) : config.type === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "h-4 w-4" }) }),
|
|
3389
|
-
isPlayable && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3389
|
+
isPlayable && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "sm" })
|
|
3390
3390
|
] }),
|
|
3391
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3391
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkY6MJMPHVcjs.COMPACT_CARD_TITLE, "font-heading"), children: item.title }) }),
|
|
3393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
|
|
3394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkY6MJMPHVcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunkY6MJMPHVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
3395
3395
|
] }),
|
|
3396
3396
|
/* @__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" }) })
|
|
3397
3397
|
] });
|
|
3398
3398
|
}
|
|
3399
|
-
const dateFormat =
|
|
3399
|
+
const dateFormat = _chunkBOS7OIC4cjs.formatProgramDate.call(void 0, zonedDate, "weekday");
|
|
3400
3400
|
const { typeMeta: defaultTypeMeta, audience: defaultAudience } = programMetaLine(
|
|
3401
3401
|
item,
|
|
3402
3402
|
config.type,
|
|
@@ -3427,22 +3427,22 @@ function LoadedProgramCard({
|
|
|
3427
3427
|
return null;
|
|
3428
3428
|
};
|
|
3429
3429
|
const endAt = "end_at" in item && typeof item.end_at === "string" ? item.end_at : null;
|
|
3430
|
-
const dateLabel = _nullishCoalesce(
|
|
3430
|
+
const dateLabel = _nullishCoalesce(_chunkBOS7OIC4cjs.formatProgramDateRange.call(void 0, zonedDate, endAt), () => ( dateFormat));
|
|
3431
3431
|
const cardHeader = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
3432
3432
|
coverImage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_COVER_FRAME, children: [
|
|
3433
3433
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3434
|
-
|
|
3434
|
+
_chunk3V5JWG27cjs.next_image_default,
|
|
3435
3435
|
{
|
|
3436
3436
|
src: coverImage,
|
|
3437
3437
|
alt: item.title,
|
|
3438
3438
|
fill: true,
|
|
3439
|
-
sizes:
|
|
3439
|
+
sizes: _chunkQOAA7ZHBcjs.IMAGE_SLOT.panel,
|
|
3440
3440
|
className: "object-cover",
|
|
3441
3441
|
priority,
|
|
3442
3442
|
unoptimized: true
|
|
3443
3443
|
}
|
|
3444
3444
|
),
|
|
3445
|
-
isPlayable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3445
|
+
isPlayable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUSUVHAQ7cjs.CardHoverPlay, { size: "md" })
|
|
3446
3446
|
] }),
|
|
3447
3447
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_TEXT, children: [
|
|
3448
3448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: DEFAULT_TITLE, children: item.title }),
|
|
@@ -3458,12 +3458,12 @@ function LoadedProgramCard({
|
|
|
3458
3458
|
] }),
|
|
3459
3459
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: DEFAULT_DESCRIPTION, children: item.description }),
|
|
3460
3460
|
tags.length > 0 && // Only some records carry tags: the loading card leaves the row out.
|
|
3461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, "data-loading-optional": true, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, "data-loading-optional": true, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.Tag, { as: "span", label: tag, variant: "outline", "data-loading-item": true }, tag)) })
|
|
3462
3462
|
] }),
|
|
3463
3463
|
hosts.length > 0 && // A type whose cards always show hosts (`cardShowsHosts`) draws them while loading; elsewhere only some
|
|
3464
3464
|
// records have hosts, so the row is record-dependent.
|
|
3465
3465
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_HOSTS_ROW, "data-loading-optional": config.cardShowsHosts ? void 0 : true, children: hosts.map((host, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3466
|
-
|
|
3466
|
+
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
3467
3467
|
{
|
|
3468
3468
|
variant: "round",
|
|
3469
3469
|
src: host.avatar || void 0,
|
|
@@ -3475,10 +3475,10 @@ function LoadedProgramCard({
|
|
|
3475
3475
|
`${item.id}-host-${index}`
|
|
3476
3476
|
)) })
|
|
3477
3477
|
] });
|
|
3478
|
-
const cardFrameClass =
|
|
3478
|
+
const cardFrameClass = _chunk63A4GZMBcjs.cn.call(void 0, DEFAULT_BODY, className);
|
|
3479
3479
|
const actionLabel = programActionLabel(config.labels.singular);
|
|
3480
3480
|
if (wholeCardClickable) {
|
|
3481
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3481
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkY6MJMPHVcjs.ContentCardFrame, { as: "a", href, target, rel, className: cardFrameClass, children: [
|
|
3482
3482
|
cardHeader,
|
|
3483
3483
|
images.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MediaGallery, { images, title: item.title, optional: !config.cardShowsGallery }),
|
|
3484
3484
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_FOOTER, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -3494,7 +3494,7 @@ function LoadedProgramCard({
|
|
|
3494
3494
|
) })
|
|
3495
3495
|
] });
|
|
3496
3496
|
}
|
|
3497
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3497
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkY6MJMPHVcjs.ContentCardFrame, { as: "div", className: cardFrameClass, children: [
|
|
3498
3498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: "block", children: cardHeader }),
|
|
3499
3499
|
images.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MediaGallery, { images, title: item.title, optional: !config.cardShowsGallery }),
|
|
3500
3500
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_FOOTER, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProgramActionButton, { label: actionLabel, href, newTab: target === "_blank" }) })
|