@opensite/ui 3.1.1 → 3.1.2
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/cta-video-background-hero.cjs +16 -6
- package/dist/cta-video-background-hero.d.cts +12 -4
- package/dist/cta-video-background-hero.d.ts +12 -4
- package/dist/cta-video-background-hero.js +16 -6
- package/dist/hero-conversion-video-play.cjs +8 -3
- package/dist/hero-conversion-video-play.d.cts +8 -4
- package/dist/hero-conversion-video-play.d.ts +8 -4
- package/dist/hero-conversion-video-play.js +8 -3
- package/dist/hero-creative-studio-stacked.cjs +10 -4
- package/dist/hero-creative-studio-stacked.d.cts +12 -4
- package/dist/hero-creative-studio-stacked.d.ts +12 -4
- package/dist/hero-creative-studio-stacked.js +10 -4
- package/dist/hero-mentorship-video-split.cjs +13 -6
- package/dist/hero-mentorship-video-split.d.cts +12 -8
- package/dist/hero-mentorship-video-split.d.ts +12 -8
- package/dist/hero-mentorship-video-split.js +13 -6
- package/dist/hero-presentation-platform-video.cjs +8 -3
- package/dist/hero-presentation-platform-video.d.cts +11 -6
- package/dist/hero-presentation-platform-video.d.ts +11 -6
- package/dist/hero-presentation-platform-video.js +8 -3
- package/dist/hero-productivity-launcher-video.cjs +8 -3
- package/dist/hero-productivity-launcher-video.d.cts +11 -6
- package/dist/hero-productivity-launcher-video.d.ts +11 -6
- package/dist/hero-productivity-launcher-video.js +8 -3
- package/dist/hero-software-growth-video-dialog.cjs +10 -4
- package/dist/hero-software-growth-video-dialog.d.cts +14 -3
- package/dist/hero-software-growth-video-dialog.d.ts +14 -3
- package/dist/hero-software-growth-video-dialog.js +10 -4
- package/dist/hero-video-background-dark.cjs +8 -3
- package/dist/hero-video-background-dark.d.cts +9 -5
- package/dist/hero-video-background-dark.d.ts +9 -5
- package/dist/hero-video-background-dark.js +8 -3
- package/dist/{hero-video-dialog-gradient-CLamMYZP.d.ts → hero-video-dialog-gradient-DBQ2Iqe3.d.ts} +14 -3
- package/dist/{hero-video-dialog-gradient-DOlgSdif.d.cts → hero-video-dialog-gradient-z-muf_Dc.d.cts} +14 -3
- package/dist/hero-video-dialog-gradient.cjs +10 -4
- package/dist/hero-video-dialog-gradient.d.cts +1 -1
- package/dist/hero-video-dialog-gradient.d.ts +1 -1
- package/dist/hero-video-dialog-gradient.js +10 -4
- package/dist/hero-video-overlay-stars.cjs +8 -3
- package/dist/hero-video-overlay-stars.d.cts +9 -5
- package/dist/hero-video-overlay-stars.d.ts +9 -5
- package/dist/hero-video-overlay-stars.js +8 -3
- package/dist/registry.cjs +99 -39
- package/dist/registry.js +99 -39
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -12540,6 +12540,8 @@ function CtaVideoBackgroundHero({
|
|
|
12540
12540
|
description,
|
|
12541
12541
|
actions,
|
|
12542
12542
|
actionsSlot,
|
|
12543
|
+
modalVideo,
|
|
12544
|
+
backgroundVideo,
|
|
12543
12545
|
modalVideoUrl,
|
|
12544
12546
|
backgroundVideoUrl,
|
|
12545
12547
|
modalSlot,
|
|
@@ -12646,15 +12648,19 @@ function CtaVideoBackgroundHero({
|
|
|
12646
12648
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 20 })
|
|
12647
12649
|
}
|
|
12648
12650
|
),
|
|
12649
|
-
modalVideoUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12651
|
+
(modalVideo || modalVideoUrl) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12650
12652
|
video.Video,
|
|
12651
12653
|
{
|
|
12652
|
-
src: modalVideoUrl,
|
|
12654
|
+
src: modalVideo?.video?.src || modalVideoUrl,
|
|
12655
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
12656
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
12657
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
12653
12658
|
controls: true,
|
|
12654
12659
|
autoPlay: true,
|
|
12655
12660
|
skinClasses: skinClasses || void 0,
|
|
12656
12661
|
skinStyle: skinStyle || void 0,
|
|
12657
|
-
className: "h-full w-full rounded-lg"
|
|
12662
|
+
className: "h-full w-full rounded-lg",
|
|
12663
|
+
...modalVideo?.video
|
|
12658
12664
|
}
|
|
12659
12665
|
)
|
|
12660
12666
|
]
|
|
@@ -12681,16 +12687,20 @@ function CtaVideoBackgroundHero({
|
|
|
12681
12687
|
videoWrapperClassName
|
|
12682
12688
|
),
|
|
12683
12689
|
children: [
|
|
12684
|
-
backgroundVideoUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12690
|
+
(backgroundVideo || backgroundVideoUrl) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12685
12691
|
video.Video,
|
|
12686
12692
|
{
|
|
12687
|
-
src: backgroundVideoUrl,
|
|
12693
|
+
src: backgroundVideo?.video?.src || backgroundVideoUrl,
|
|
12694
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
12695
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
12696
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
12688
12697
|
autoPlay: true,
|
|
12689
12698
|
loop: true,
|
|
12690
12699
|
muted: true,
|
|
12691
12700
|
playsInline: true,
|
|
12692
12701
|
controls: false,
|
|
12693
|
-
className: "absolute inset-0 h-full w-full object-cover"
|
|
12702
|
+
className: "absolute inset-0 h-full w-full object-cover",
|
|
12703
|
+
...backgroundVideo?.video
|
|
12694
12704
|
}
|
|
12695
12705
|
),
|
|
12696
12706
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -52575,6 +52585,7 @@ function HeroVideoBackgroundDark({
|
|
|
52575
52585
|
actions,
|
|
52576
52586
|
actionsSlot,
|
|
52577
52587
|
actionsClassName,
|
|
52588
|
+
backgroundVideo,
|
|
52578
52589
|
videoSrc,
|
|
52579
52590
|
videoSlot,
|
|
52580
52591
|
background,
|
|
@@ -52595,18 +52606,22 @@ function HeroVideoBackgroundDark({
|
|
|
52595
52606
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52596
52607
|
video.Video,
|
|
52597
52608
|
{
|
|
52598
|
-
src: videoSrc,
|
|
52609
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
52610
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
52611
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
52612
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
52599
52613
|
loop: true,
|
|
52600
52614
|
playsInline: true,
|
|
52601
52615
|
autoPlay: true,
|
|
52602
52616
|
muted: true,
|
|
52603
52617
|
controls: false,
|
|
52604
|
-
className: "absolute top-0 left-0 size-full object-cover"
|
|
52618
|
+
className: "absolute top-0 left-0 size-full object-cover",
|
|
52619
|
+
...backgroundVideo?.video
|
|
52605
52620
|
}
|
|
52606
52621
|
),
|
|
52607
52622
|
/* @__PURE__ */ jsxRuntime.jsx(GradientOverlay, { intensity: videoOverlayIntensity })
|
|
52608
52623
|
] });
|
|
52609
|
-
}, [videoSlot, videoSrc, videoOverlayIntensity]);
|
|
52624
|
+
}, [videoSlot, backgroundVideo, videoSrc, videoOverlayIntensity]);
|
|
52610
52625
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
52611
52626
|
Section,
|
|
52612
52627
|
{
|
|
@@ -54398,6 +54413,7 @@ function HeroPresentationPlatformVideo({
|
|
|
54398
54413
|
actions,
|
|
54399
54414
|
actionsSlot,
|
|
54400
54415
|
actionsClassName,
|
|
54416
|
+
backgroundVideo,
|
|
54401
54417
|
videoSrc,
|
|
54402
54418
|
videoSlot,
|
|
54403
54419
|
background,
|
|
@@ -54466,7 +54482,10 @@ function HeroPresentationPlatformVideo({
|
|
|
54466
54482
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
54467
54483
|
video.Video,
|
|
54468
54484
|
{
|
|
54469
|
-
src: videoSrc,
|
|
54485
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
54486
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
54487
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
54488
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
54470
54489
|
autoPlay: true,
|
|
54471
54490
|
loop: true,
|
|
54472
54491
|
muted: true,
|
|
@@ -54474,12 +54493,13 @@ function HeroPresentationPlatformVideo({
|
|
|
54474
54493
|
controls: false,
|
|
54475
54494
|
"data-wf-ignore": "true",
|
|
54476
54495
|
"data-object-fit": "cover",
|
|
54477
|
-
className: "h-full w-full rounded-tl-xl object-cover"
|
|
54496
|
+
className: "h-full w-full rounded-tl-xl object-cover",
|
|
54497
|
+
...backgroundVideo?.video
|
|
54478
54498
|
}
|
|
54479
54499
|
)
|
|
54480
54500
|
}
|
|
54481
54501
|
);
|
|
54482
|
-
}, [videoSlot, videoSrc, videoClassName]);
|
|
54502
|
+
}, [videoSlot, backgroundVideo, videoSrc, videoClassName]);
|
|
54483
54503
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
54484
54504
|
Section,
|
|
54485
54505
|
{
|
|
@@ -55094,6 +55114,8 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55094
55114
|
actions,
|
|
55095
55115
|
showcaseImages,
|
|
55096
55116
|
showcaseImagesSlot,
|
|
55117
|
+
modalVideo,
|
|
55118
|
+
videoDialogTitle,
|
|
55097
55119
|
videoDialog,
|
|
55098
55120
|
onVideoClick,
|
|
55099
55121
|
background,
|
|
@@ -55211,7 +55233,7 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55211
55233
|
}
|
|
55212
55234
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
|
|
55213
55235
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col md:flex-row flex-wrap gap-4", children: [
|
|
55214
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
55236
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
55215
55237
|
ActionComponent,
|
|
55216
55238
|
{
|
|
55217
55239
|
action: {
|
|
@@ -55234,7 +55256,7 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55234
55256
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
55235
55257
|
),
|
|
55236
55258
|
children: [
|
|
55237
|
-
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
55259
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
55238
55260
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
55239
55261
|
"div",
|
|
55240
55262
|
{
|
|
@@ -55242,12 +55264,16 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55242
55264
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
55243
55265
|
video.Video,
|
|
55244
55266
|
{
|
|
55245
|
-
src: videoDialog?.videoUrl,
|
|
55267
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
55268
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
55269
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
55270
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
55246
55271
|
controls: true,
|
|
55247
55272
|
autoPlay: true,
|
|
55248
55273
|
skinClasses: skinClasses || void 0,
|
|
55249
55274
|
skinStyle: skinStyle || void 0,
|
|
55250
|
-
className: "h-full w-full rounded-lg"
|
|
55275
|
+
className: "h-full w-full rounded-lg",
|
|
55276
|
+
...modalVideo?.video
|
|
55251
55277
|
}
|
|
55252
55278
|
)
|
|
55253
55279
|
}
|
|
@@ -55262,6 +55288,7 @@ function HeroConversionVideoPlay({
|
|
|
55262
55288
|
description,
|
|
55263
55289
|
primaryAction,
|
|
55264
55290
|
videoButtonLabel = "Play Video",
|
|
55291
|
+
modalVideo,
|
|
55265
55292
|
videoUrl,
|
|
55266
55293
|
videoDialogTitle,
|
|
55267
55294
|
actionsSlot,
|
|
@@ -55319,7 +55346,7 @@ function HeroConversionVideoPlay({
|
|
|
55319
55346
|
}
|
|
55320
55347
|
);
|
|
55321
55348
|
})(),
|
|
55322
|
-
videoUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
55349
|
+
(modalVideo || videoUrl) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
55323
55350
|
pressable.Pressable,
|
|
55324
55351
|
{
|
|
55325
55352
|
onClick: () => setIsVideoOpen(true),
|
|
@@ -55432,12 +55459,16 @@ function HeroConversionVideoPlay({
|
|
|
55432
55459
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
55433
55460
|
video.Video,
|
|
55434
55461
|
{
|
|
55435
|
-
src: videoUrl,
|
|
55462
|
+
src: modalVideo?.video?.src || videoUrl,
|
|
55463
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
55464
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
55465
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
55436
55466
|
controls: true,
|
|
55437
55467
|
autoPlay: true,
|
|
55438
55468
|
skinClasses: skinClasses || void 0,
|
|
55439
55469
|
skinStyle: skinStyle || void 0,
|
|
55440
|
-
className: "h-full w-full rounded-lg"
|
|
55470
|
+
className: "h-full w-full rounded-lg",
|
|
55471
|
+
...modalVideo?.video
|
|
55441
55472
|
}
|
|
55442
55473
|
) })
|
|
55443
55474
|
] }) })
|
|
@@ -55601,6 +55632,7 @@ function HeroVideoOverlayStars({
|
|
|
55601
55632
|
contentClassName,
|
|
55602
55633
|
className,
|
|
55603
55634
|
headingClassName,
|
|
55635
|
+
backgroundVideo,
|
|
55604
55636
|
videoSrc,
|
|
55605
55637
|
videoSlot
|
|
55606
55638
|
}) {
|
|
@@ -55618,16 +55650,20 @@ function HeroVideoOverlayStars({
|
|
|
55618
55650
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 size-full before:absolute brightness-50", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
55619
55651
|
video.Video,
|
|
55620
55652
|
{
|
|
55621
|
-
src: videoSrc,
|
|
55653
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
55654
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
55655
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
55656
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
55622
55657
|
muted: true,
|
|
55623
55658
|
autoPlay: true,
|
|
55624
55659
|
loop: true,
|
|
55625
55660
|
playsInline: true,
|
|
55626
55661
|
controls: false,
|
|
55627
|
-
className: "size-full object-cover object-center"
|
|
55662
|
+
className: "size-full object-cover object-center",
|
|
55663
|
+
...backgroundVideo?.video
|
|
55628
55664
|
}
|
|
55629
55665
|
) });
|
|
55630
|
-
}, [videoSlot, videoSrc]);
|
|
55666
|
+
}, [videoSlot, backgroundVideo, videoSrc]);
|
|
55631
55667
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
55632
55668
|
Section,
|
|
55633
55669
|
{
|
|
@@ -55697,6 +55733,7 @@ function HeroProductivityLauncherVideo({
|
|
|
55697
55733
|
actionsSlot,
|
|
55698
55734
|
versionInfo,
|
|
55699
55735
|
versionInfoSlot,
|
|
55736
|
+
backgroundVideo,
|
|
55700
55737
|
videoSrc,
|
|
55701
55738
|
videoSlot,
|
|
55702
55739
|
background,
|
|
@@ -55751,16 +55788,20 @@ function HeroProductivityLauncherVideo({
|
|
|
55751
55788
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 z-10 h-full w-full inset-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
55752
55789
|
video.Video,
|
|
55753
55790
|
{
|
|
55754
|
-
src: videoSrc,
|
|
55791
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
55792
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
55793
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
55794
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
55755
55795
|
loop: true,
|
|
55756
55796
|
muted: true,
|
|
55757
55797
|
autoPlay: true,
|
|
55758
55798
|
playsInline: true,
|
|
55759
55799
|
controls: false,
|
|
55760
|
-
className: "block size-full object-cover object-center brightness-50"
|
|
55800
|
+
className: "block size-full object-cover object-center brightness-50",
|
|
55801
|
+
...backgroundVideo?.video
|
|
55761
55802
|
}
|
|
55762
55803
|
) });
|
|
55763
|
-
}, [videoSlot, videoSrc]);
|
|
55804
|
+
}, [videoSlot, backgroundVideo, videoSrc]);
|
|
55764
55805
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
55765
55806
|
Section,
|
|
55766
55807
|
{
|
|
@@ -57061,6 +57102,8 @@ function HeroVideoDialogGradient({
|
|
|
57061
57102
|
videoAction,
|
|
57062
57103
|
image,
|
|
57063
57104
|
imageSlot,
|
|
57105
|
+
modalVideo,
|
|
57106
|
+
videoDialogTitle,
|
|
57064
57107
|
videoDialog,
|
|
57065
57108
|
background,
|
|
57066
57109
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -57150,7 +57193,7 @@ function HeroVideoDialogGradient({
|
|
|
57150
57193
|
actionsClassName
|
|
57151
57194
|
),
|
|
57152
57195
|
children: [
|
|
57153
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57196
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57154
57197
|
ActionComponent,
|
|
57155
57198
|
{
|
|
57156
57199
|
action: {
|
|
@@ -57175,7 +57218,7 @@ function HeroVideoDialogGradient({
|
|
|
57175
57218
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
57176
57219
|
),
|
|
57177
57220
|
children: [
|
|
57178
|
-
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
57221
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
57179
57222
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
57180
57223
|
"div",
|
|
57181
57224
|
{
|
|
@@ -57183,12 +57226,16 @@ function HeroVideoDialogGradient({
|
|
|
57183
57226
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
57184
57227
|
video.Video,
|
|
57185
57228
|
{
|
|
57186
|
-
src: videoDialog?.videoUrl,
|
|
57229
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
57230
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
57231
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
57232
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
57187
57233
|
controls: true,
|
|
57188
57234
|
autoPlay: true,
|
|
57189
57235
|
skinClasses: skinClasses || void 0,
|
|
57190
57236
|
skinStyle: skinStyle || void 0,
|
|
57191
|
-
className: "h-full w-full rounded-lg"
|
|
57237
|
+
className: "h-full w-full rounded-lg",
|
|
57238
|
+
...modalVideo?.video
|
|
57192
57239
|
}
|
|
57193
57240
|
)
|
|
57194
57241
|
}
|
|
@@ -58055,6 +58102,7 @@ function HeroMentorshipVideoSplit({
|
|
|
58055
58102
|
action,
|
|
58056
58103
|
actionSlot,
|
|
58057
58104
|
videoLabel,
|
|
58105
|
+
modalVideo,
|
|
58058
58106
|
videoThumbnail,
|
|
58059
58107
|
videoUrl,
|
|
58060
58108
|
videoTitle,
|
|
@@ -58101,7 +58149,8 @@ function HeroMentorshipVideoSplit({
|
|
|
58101
58149
|
}, [actionSlot, action]);
|
|
58102
58150
|
const renderVideoSection = React30.useMemo(() => {
|
|
58103
58151
|
if (videoSlot) return videoSlot;
|
|
58104
|
-
|
|
58152
|
+
const thumbnail = modalVideo?.image || videoThumbnail;
|
|
58153
|
+
if (!thumbnail) return null;
|
|
58105
58154
|
const aspectRatio = videoAspectRatio === "vertical" ? 9 / 16 : 16 / 9;
|
|
58106
58155
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
58107
58156
|
videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold uppercase opacity-75", children: videoLabel }) : videoLabel),
|
|
@@ -58119,11 +58168,11 @@ function HeroMentorshipVideoSplit({
|
|
|
58119
58168
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
58120
58169
|
img.Img,
|
|
58121
58170
|
{
|
|
58122
|
-
src:
|
|
58123
|
-
alt:
|
|
58171
|
+
src: thumbnail.src,
|
|
58172
|
+
alt: thumbnail.alt,
|
|
58124
58173
|
className: cn(
|
|
58125
58174
|
"absolute inset-0 h-full w-full object-cover",
|
|
58126
|
-
|
|
58175
|
+
thumbnail.className
|
|
58127
58176
|
),
|
|
58128
58177
|
optixFlowConfig
|
|
58129
58178
|
}
|
|
@@ -58142,6 +58191,7 @@ function HeroMentorshipVideoSplit({
|
|
|
58142
58191
|
] });
|
|
58143
58192
|
}, [
|
|
58144
58193
|
videoSlot,
|
|
58194
|
+
modalVideo,
|
|
58145
58195
|
videoThumbnail,
|
|
58146
58196
|
videoLabel,
|
|
58147
58197
|
videoAspectRatio,
|
|
@@ -58239,12 +58289,16 @@ function HeroMentorshipVideoSplit({
|
|
|
58239
58289
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
58240
58290
|
video.Video,
|
|
58241
58291
|
{
|
|
58242
|
-
src: videoUrl,
|
|
58292
|
+
src: modalVideo?.video?.src || videoUrl,
|
|
58293
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
58294
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
58295
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
58243
58296
|
controls: true,
|
|
58244
58297
|
autoPlay: true,
|
|
58245
58298
|
skinClasses: skinClasses || void 0,
|
|
58246
58299
|
skinStyle: skinStyle || void 0,
|
|
58247
|
-
className: "h-full w-full rounded-lg"
|
|
58300
|
+
className: "h-full w-full rounded-lg",
|
|
58301
|
+
...modalVideo?.video
|
|
58248
58302
|
}
|
|
58249
58303
|
)
|
|
58250
58304
|
}
|
|
@@ -58949,6 +59003,8 @@ function HeroCreativeStudioStacked({
|
|
|
58949
59003
|
patternClassName,
|
|
58950
59004
|
actions,
|
|
58951
59005
|
onVideoClick,
|
|
59006
|
+
modalVideo,
|
|
59007
|
+
videoDialogTitle,
|
|
58952
59008
|
videoDialog,
|
|
58953
59009
|
images,
|
|
58954
59010
|
imagesSlot,
|
|
@@ -59108,7 +59164,7 @@ function HeroCreativeStudioStacked({
|
|
|
59108
59164
|
actionsClassName
|
|
59109
59165
|
),
|
|
59110
59166
|
children: [
|
|
59111
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
59167
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
59112
59168
|
ActionComponent,
|
|
59113
59169
|
{
|
|
59114
59170
|
action: {
|
|
@@ -59133,7 +59189,7 @@ function HeroCreativeStudioStacked({
|
|
|
59133
59189
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
59134
59190
|
),
|
|
59135
59191
|
children: [
|
|
59136
|
-
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
59192
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
59137
59193
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
59138
59194
|
"div",
|
|
59139
59195
|
{
|
|
@@ -59141,12 +59197,16 @@ function HeroCreativeStudioStacked({
|
|
|
59141
59197
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
59142
59198
|
video.Video,
|
|
59143
59199
|
{
|
|
59144
|
-
src: videoDialog?.videoUrl,
|
|
59200
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
59201
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
59202
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
59203
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
59145
59204
|
controls: true,
|
|
59146
59205
|
autoPlay: true,
|
|
59147
59206
|
skinClasses: skinClasses || void 0,
|
|
59148
59207
|
skinStyle: skinStyle || void 0,
|
|
59149
|
-
className: "h-full w-full rounded-lg"
|
|
59208
|
+
className: "h-full w-full rounded-lg",
|
|
59209
|
+
...modalVideo?.video
|
|
59150
59210
|
}
|
|
59151
59211
|
)
|
|
59152
59212
|
}
|