suada-components 1.3.0 → 1.4.0
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/components/{DailyMotion-BRR94A6R.js → DailyMotion-QLITiLX6.js} +1 -1
- package/dist/components/{DailyMotion-fTfJbAKR.esm.js → DailyMotion-dJVL9e3H.esm.js} +1 -1
- package/dist/components/{Facebook-BYAo-2rH.js → Facebook-DUSQsxT0.js} +1 -1
- package/dist/components/{Facebook-g8siL1GN.esm.js → Facebook-oiv7CRN4.esm.js} +1 -1
- package/dist/components/{FilePlayer--e_TvukB.esm.js → FilePlayer-B0iX_VuG.esm.js} +1 -1
- package/dist/components/{FilePlayer-CBlW9Z-Z.js → FilePlayer-YziZ0BSF.js} +1 -1
- package/dist/components/{Kaltura-CgG6fwG2.esm.js → Kaltura-D84ZFqY1.esm.js} +1 -1
- package/dist/components/{Kaltura-Cw4p4d7w.js → Kaltura-uXGe7isE.js} +1 -1
- package/dist/components/{Mixcloud-1pcndu_p.esm.js → Mixcloud-BTbWN-a0.esm.js} +1 -1
- package/dist/components/{Mixcloud-FU7dfnB-.js → Mixcloud-D7KPYi8f.js} +1 -1
- package/dist/components/{Mux-CFgk1TgE.js → Mux-DRlgrJfr.js} +1 -1
- package/dist/components/{Mux-bOE4IGCQ.esm.js → Mux-s9nPEsa_.esm.js} +1 -1
- package/dist/components/{Preview-CFFnVBFk.js → Preview-C-BGR8lx.js} +1 -1
- package/dist/components/{Preview-ZZ8yCxMr.esm.js → Preview-rhSMz_hY.esm.js} +1 -1
- package/dist/components/{SoundCloud-BsdovEa4.js → SoundCloud-B00ur_Qj.js} +1 -1
- package/dist/components/{SoundCloud-1OvUzexh.esm.js → SoundCloud-DrNeCiTx.esm.js} +1 -1
- package/dist/components/{Streamable-C18bUmk1.js → Streamable-B-JUOMxP.js} +1 -1
- package/dist/components/{Streamable-DkZbzMhq.esm.js → Streamable-Dffnss84.esm.js} +1 -1
- package/dist/components/{Twitch-BwMnK2K5.js → Twitch-DSAnP3JT.js} +1 -1
- package/dist/components/{Twitch-CAR5VDqo.esm.js → Twitch-DvucdzzS.esm.js} +1 -1
- package/dist/components/VideoPlayer/Controls/Controls.js +12 -11
- package/dist/components/VideoPlayer/Controls/Controls.js.map +1 -1
- package/dist/components/VideoPlayer/Controls/Controls.styles.d.ts +1 -0
- package/dist/components/VideoPlayer/Controls/Controls.styles.js +8 -7
- package/dist/components/VideoPlayer/Controls/Controls.styles.js.map +1 -1
- package/dist/components/{Vidyard-Dj__VHEu.esm.js → Vidyard--Qb_wLtp.esm.js} +1 -1
- package/dist/components/{Vidyard-DjdEjiba.js → Vidyard-BFd5mrx4.js} +1 -1
- package/dist/components/{Vimeo-B2sdU2eb.js → Vimeo-CIc5nmCA.js} +1 -1
- package/dist/components/{Vimeo-B6eklZts.esm.js → Vimeo-CR7Tdpoi.esm.js} +1 -1
- package/dist/components/{Wistia-D8WmgJRA.js → Wistia-CH6tXv5E.js} +1 -1
- package/dist/components/{Wistia-T3lTN9f9.esm.js → Wistia-QMqy-uQw.esm.js} +1 -1
- package/dist/components/{YouTube-DpQU6ZH9.js → YouTube-kg1XVxyv.js} +1 -1
- package/dist/components/{YouTube-DvS99YSi.esm.js → YouTube-yMeWWl4H.esm.js} +1 -1
- package/dist/components/components/VideoPlayer/Controls/Controls.styles.d.ts +1 -0
- package/dist/components/{index-C_u0zRwP.esm.js → index-7zJZUuRi.esm.js} +101 -69
- package/dist/components/{index-D4JJ3W7g.js → index-CDSxMyXo.js} +101 -69
- package/dist/components/index.esm.js +1 -1
- package/dist/icons/VolumeUpIcon.js +2 -2
- package/dist/icons/VolumeUpIcon.js.map +1 -1
- package/dist/icons/components/VideoPlayer/Controls/Controls.styles.d.ts +1 -0
- package/dist/icons/index.esm.js +3 -6
- package/package.json +1 -1
|
@@ -32375,7 +32375,7 @@ var CourseStatusContainer = dt.div(templateObject_13$2 || (templateObject_13$2 =
|
|
|
32375
32375
|
var $status = _a.$status;
|
|
32376
32376
|
return !$status ? '#EA382A' : '#00905E';
|
|
32377
32377
|
});
|
|
32378
|
-
dt.div(templateObject_14$
|
|
32378
|
+
dt.div(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
|
|
32379
32379
|
var TooltipContent = dt.div(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"])));
|
|
32380
32380
|
var StyledCardBottomContainer = dt.div(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"], ["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
|
|
32381
32381
|
var StyledActionsContainer = dt.div(templateObject_17$1 || (templateObject_17$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
|
|
@@ -32426,7 +32426,7 @@ var GridItem = dt.div(templateObject_32 || (templateObject_32 = __makeTemplateOb
|
|
|
32426
32426
|
var $isFromUser = _a.$isFromUser;
|
|
32427
32427
|
return $isFromUser && "\n figure {\n position: relative;\n &:after {\n content: 'View Analytics';\n position: absolute;\n top: 0;\n opacity: 0;\n color: #06c68f;\n left: 0;\n font-size: 24px;\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.9);\n width: 100%;\n height: 100%;\n transition: opacity 0.3s ease;\n z-index: 10;\n }\n }\n\n &:hover {\n figure {\n &:after {\n opacity: 1;\n }\n }\n }\n " || '';
|
|
32428
32428
|
});
|
|
32429
|
-
var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$
|
|
32429
|
+
var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
|
|
32430
32430
|
|
|
32431
32431
|
var TooltipHeight$1 = function TooltipHeight(_a) {
|
|
32432
32432
|
var text = _a.text,
|
|
@@ -37676,7 +37676,7 @@ var VolumeUpIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
37676
37676
|
_b = _a.fill,
|
|
37677
37677
|
fill = _b === void 0 ? '#68707A' : _b,
|
|
37678
37678
|
props = __rest(_a, ["className", "onClick", "fill"]);
|
|
37679
|
-
return jsxRuntimeExports.
|
|
37679
|
+
return jsxRuntimeExports.jsx("svg", __assign({
|
|
37680
37680
|
ref: ref,
|
|
37681
37681
|
width: '24',
|
|
37682
37682
|
height: '24',
|
|
@@ -37686,13 +37686,10 @@ var VolumeUpIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
37686
37686
|
className: className,
|
|
37687
37687
|
onClick: onClick
|
|
37688
37688
|
}, props, {
|
|
37689
|
-
children:
|
|
37690
|
-
d: 'M0 0h24v24H0V0z',
|
|
37691
|
-
fill: 'none'
|
|
37692
|
-
}), jsxRuntimeExports.jsx("path", {
|
|
37689
|
+
children: jsxRuntimeExports.jsx("path", {
|
|
37693
37690
|
d: 'M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z',
|
|
37694
37691
|
fill: fill
|
|
37695
|
-
})
|
|
37692
|
+
})
|
|
37696
37693
|
}));
|
|
37697
37694
|
});
|
|
37698
37695
|
VolumeUpIcon.displayName = 'VolumeUpIcon';
|
|
@@ -42819,7 +42816,7 @@ var CancelButton = dt.div(templateObject_13$1 || (templateObject_13$1 = __makeTe
|
|
|
42819
42816
|
var top = _a.top;
|
|
42820
42817
|
return top || '5px';
|
|
42821
42818
|
});
|
|
42822
|
-
var InputFileContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"], ["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"])));
|
|
42819
|
+
var InputFileContainer = dt.div(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"], ["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"])));
|
|
42823
42820
|
var UploadInput = dt.input(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"], ["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"])));
|
|
42824
42821
|
dt.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"], ["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"])));
|
|
42825
42822
|
var ImagePlaceholder = dt.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n\n img {\n position: relative;\n border: 1px solid #08c694;\n width: 100%;\n height: ", "px;\n object-fit: cover;\n top: 2px;\n }\n"], ["\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n\n img {\n position: relative;\n border: 1px solid #08c694;\n width: 100%;\n height: ", "px;\n object-fit: cover;\n top: 2px;\n }\n"])), function (_a) {
|
|
@@ -42843,7 +42840,7 @@ var Title = dt.h2(templateObject_24 || (templateObject_24 = __makeTemplateObject
|
|
|
42843
42840
|
var $required = _a.$required;
|
|
42844
42841
|
return $required ? "\n &::after {\n content: '*';\n color: red;\n margin-left: 3px;\n }\n " : '';
|
|
42845
42842
|
});
|
|
42846
|
-
var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24;
|
|
42843
|
+
var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24;
|
|
42847
42844
|
|
|
42848
42845
|
var InsertDriveFile = {};
|
|
42849
42846
|
|
|
@@ -81399,7 +81396,7 @@ function requirePlayers () {
|
|
|
81399
81396
|
canPlay: import_patterns.canPlay.youtube,
|
|
81400
81397
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81401
81398
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
81402
|
-
'./YouTube-
|
|
81399
|
+
'./YouTube-yMeWWl4H.esm.js'
|
|
81403
81400
|
).then(function (n) { return n.Y; }))
|
|
81404
81401
|
},
|
|
81405
81402
|
{
|
|
@@ -81408,7 +81405,7 @@ function requirePlayers () {
|
|
|
81408
81405
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
81409
81406
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81410
81407
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
81411
|
-
'./SoundCloud-
|
|
81408
|
+
'./SoundCloud-DrNeCiTx.esm.js'
|
|
81412
81409
|
).then(function (n) { return n.S; }))
|
|
81413
81410
|
},
|
|
81414
81411
|
{
|
|
@@ -81417,7 +81414,7 @@ function requirePlayers () {
|
|
|
81417
81414
|
canPlay: import_patterns.canPlay.vimeo,
|
|
81418
81415
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81419
81416
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
81420
|
-
'./Vimeo-
|
|
81417
|
+
'./Vimeo-CR7Tdpoi.esm.js'
|
|
81421
81418
|
).then(function (n) { return n.V; }))
|
|
81422
81419
|
},
|
|
81423
81420
|
{
|
|
@@ -81426,7 +81423,7 @@ function requirePlayers () {
|
|
|
81426
81423
|
canPlay: import_patterns.canPlay.mux,
|
|
81427
81424
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81428
81425
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
81429
|
-
'./Mux-
|
|
81426
|
+
'./Mux-s9nPEsa_.esm.js'
|
|
81430
81427
|
).then(function (n) { return n.M; }))
|
|
81431
81428
|
},
|
|
81432
81429
|
{
|
|
@@ -81435,7 +81432,7 @@ function requirePlayers () {
|
|
|
81435
81432
|
canPlay: import_patterns.canPlay.facebook,
|
|
81436
81433
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81437
81434
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
81438
|
-
'./Facebook-
|
|
81435
|
+
'./Facebook-oiv7CRN4.esm.js'
|
|
81439
81436
|
).then(function (n) { return n.F; }))
|
|
81440
81437
|
},
|
|
81441
81438
|
{
|
|
@@ -81444,7 +81441,7 @@ function requirePlayers () {
|
|
|
81444
81441
|
canPlay: import_patterns.canPlay.streamable,
|
|
81445
81442
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81446
81443
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
81447
|
-
'./Streamable-
|
|
81444
|
+
'./Streamable-Dffnss84.esm.js'
|
|
81448
81445
|
).then(function (n) { return n.S; }))
|
|
81449
81446
|
},
|
|
81450
81447
|
{
|
|
@@ -81453,7 +81450,7 @@ function requirePlayers () {
|
|
|
81453
81450
|
canPlay: import_patterns.canPlay.wistia,
|
|
81454
81451
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81455
81452
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
81456
|
-
'./Wistia-
|
|
81453
|
+
'./Wistia-QMqy-uQw.esm.js'
|
|
81457
81454
|
).then(function (n) { return n.W; }))
|
|
81458
81455
|
},
|
|
81459
81456
|
{
|
|
@@ -81462,7 +81459,7 @@ function requirePlayers () {
|
|
|
81462
81459
|
canPlay: import_patterns.canPlay.twitch,
|
|
81463
81460
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81464
81461
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
81465
|
-
'./Twitch-
|
|
81462
|
+
'./Twitch-DvucdzzS.esm.js'
|
|
81466
81463
|
).then(function (n) { return n.T; }))
|
|
81467
81464
|
},
|
|
81468
81465
|
{
|
|
@@ -81471,7 +81468,7 @@ function requirePlayers () {
|
|
|
81471
81468
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
81472
81469
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81473
81470
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
81474
|
-
'./DailyMotion-
|
|
81471
|
+
'./DailyMotion-dJVL9e3H.esm.js'
|
|
81475
81472
|
).then(function (n) { return n.D; }))
|
|
81476
81473
|
},
|
|
81477
81474
|
{
|
|
@@ -81480,7 +81477,7 @@ function requirePlayers () {
|
|
|
81480
81477
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
81481
81478
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81482
81479
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
81483
|
-
'./Mixcloud-
|
|
81480
|
+
'./Mixcloud-BTbWN-a0.esm.js'
|
|
81484
81481
|
).then(function (n) { return n.M; }))
|
|
81485
81482
|
},
|
|
81486
81483
|
{
|
|
@@ -81489,7 +81486,7 @@ function requirePlayers () {
|
|
|
81489
81486
|
canPlay: import_patterns.canPlay.vidyard,
|
|
81490
81487
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81491
81488
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
81492
|
-
'./Vidyard
|
|
81489
|
+
'./Vidyard--Qb_wLtp.esm.js'
|
|
81493
81490
|
).then(function (n) { return n.V; }))
|
|
81494
81491
|
},
|
|
81495
81492
|
{
|
|
@@ -81498,7 +81495,7 @@ function requirePlayers () {
|
|
|
81498
81495
|
canPlay: import_patterns.canPlay.kaltura,
|
|
81499
81496
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81500
81497
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
81501
|
-
'./Kaltura-
|
|
81498
|
+
'./Kaltura-D84ZFqY1.esm.js'
|
|
81502
81499
|
).then(function (n) { return n.K; }))
|
|
81503
81500
|
},
|
|
81504
81501
|
{
|
|
@@ -81510,7 +81507,7 @@ function requirePlayers () {
|
|
|
81510
81507
|
},
|
|
81511
81508
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81512
81509
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
81513
|
-
'./FilePlayer
|
|
81510
|
+
'./FilePlayer-B0iX_VuG.esm.js'
|
|
81514
81511
|
).then(function (n) { return n.F; }))
|
|
81515
81512
|
}
|
|
81516
81513
|
];
|
|
@@ -82331,7 +82328,7 @@ function requireReactPlayer () {
|
|
|
82331
82328
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
82332
82329
|
const Preview = (0, import_utils.lazy)(() => import(
|
|
82333
82330
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
82334
|
-
'./Preview-
|
|
82331
|
+
'./Preview-rhSMz_hY.esm.js'
|
|
82335
82332
|
).then(function (n) { return n.P; }));
|
|
82336
82333
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
82337
82334
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -82587,16 +82584,17 @@ var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __
|
|
|
82587
82584
|
});
|
|
82588
82585
|
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n"])));
|
|
82589
82586
|
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
82590
|
-
var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color:
|
|
82587
|
+
var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"])), {
|
|
82591
82588
|
fontStyle: 'descriptor'
|
|
82592
82589
|
});
|
|
82593
|
-
var StyledHeartIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > svg > path {\n fill:
|
|
82590
|
+
var StyledHeartIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82594
82591
|
var StyledDownloadIconContainer = dt.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82595
|
-
var StyledSubtitlesIconContainer = dt.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
82596
|
-
var StyledFullscreenIconContainer = dt.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
|
|
82597
|
-
var StyledVolumeIconContainer = dt.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
|
|
82598
|
-
var StyledPlayPauseIconContainer = dt.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
|
|
82599
|
-
var
|
|
82592
|
+
var StyledSubtitlesIconContainer = dt.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82593
|
+
var StyledFullscreenIconContainer = dt.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82594
|
+
var StyledVolumeIconContainer = dt.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82595
|
+
var StyledPlayPauseIconContainer = dt.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82596
|
+
var StyledRewindIconContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82597
|
+
var templateObject_1$8, templateObject_2$6, templateObject_3$3, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
|
|
82600
82598
|
|
|
82601
82599
|
var PLAYBACK_SPEED_LIST = [{
|
|
82602
82600
|
label: 'playback_speed.2x',
|
|
@@ -82874,18 +82872,34 @@ var Controls = function Controls(_a) {
|
|
|
82874
82872
|
onChange: seekHandler,
|
|
82875
82873
|
onMouseUp: seekMouseUpHandler
|
|
82876
82874
|
}), jsxRuntimeExports.jsxs(StyledControllerLeft, {
|
|
82877
|
-
children: [jsxRuntimeExports.jsx(
|
|
82878
|
-
|
|
82879
|
-
children:
|
|
82880
|
-
|
|
82881
|
-
|
|
82882
|
-
|
|
82883
|
-
|
|
82884
|
-
|
|
82875
|
+
children: [jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82876
|
+
title: playing ? 'Pause' : 'Play',
|
|
82877
|
+
children: jsxRuntimeExports.jsx(StyledPlayPauseIconContainer, {
|
|
82878
|
+
onClick: playPauseHandler,
|
|
82879
|
+
children: playing ? jsxRuntimeExports.jsx(PauseIcon, {}) : jsxRuntimeExports.jsx(PlayIcon, {})
|
|
82880
|
+
})
|
|
82881
|
+
}), jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82882
|
+
title: "Rewind 10 seconds",
|
|
82883
|
+
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82884
|
+
children: jsxRuntimeExports.jsx(RewindIcon, {
|
|
82885
|
+
onClick: rewindHandler
|
|
82886
|
+
})
|
|
82887
|
+
})
|
|
82888
|
+
}), jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82889
|
+
title: "Forward 10 seconds",
|
|
82890
|
+
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82891
|
+
children: jsxRuntimeExports.jsx(RewindIcon, {
|
|
82892
|
+
forward: true,
|
|
82893
|
+
onClick: handleFastForward
|
|
82894
|
+
})
|
|
82895
|
+
})
|
|
82885
82896
|
}), jsxRuntimeExports.jsxs(StyledVolumeWrapper, {
|
|
82886
|
-
children: [jsxRuntimeExports.jsx(
|
|
82887
|
-
|
|
82888
|
-
children:
|
|
82897
|
+
children: [jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82898
|
+
title: muted ? 'Unmute' : 'Mute',
|
|
82899
|
+
children: jsxRuntimeExports.jsx(StyledVolumeIconContainer, {
|
|
82900
|
+
onClick: muteHandler,
|
|
82901
|
+
children: muted ? jsxRuntimeExports.jsx(VolumeMuteIcon, {}) : jsxRuntimeExports.jsx(VolumeUpIcon, {})
|
|
82902
|
+
})
|
|
82889
82903
|
}), jsxRuntimeExports.jsx(StyledVolumeSlider, {
|
|
82890
82904
|
type: 'range',
|
|
82891
82905
|
value: volume * 100,
|
|
@@ -82895,27 +82909,39 @@ var Controls = function Controls(_a) {
|
|
|
82895
82909
|
children: [formatCurrentTime, " /", formatDuration]
|
|
82896
82910
|
})]
|
|
82897
82911
|
}), jsxRuntimeExports.jsxs(StyledControllerRight, {
|
|
82898
|
-
children: [handleSkipBackward && jsxRuntimeExports.jsx(
|
|
82899
|
-
|
|
82900
|
-
|
|
82901
|
-
|
|
82902
|
-
|
|
82903
|
-
|
|
82904
|
-
|
|
82905
|
-
|
|
82906
|
-
onClick: function onClick() {
|
|
82907
|
-
if (!isNextVideo) return;
|
|
82908
|
-
handleSkipForward();
|
|
82909
|
-
},
|
|
82910
|
-
className: isNextVideo ? '' : 'skip-icon-disabled'
|
|
82911
|
-
}), showFavorite && jsxRuntimeExports.jsx(StyledHeartIconContainer, {
|
|
82912
|
-
children: jsxRuntimeExports.jsx(HeartIcon, {
|
|
82913
|
-
active: isFavorite,
|
|
82914
|
-
onClick: toggleIsFavorite
|
|
82912
|
+
children: [handleSkipBackward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82913
|
+
title: "Previous video",
|
|
82914
|
+
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82915
|
+
onClick: function onClick() {
|
|
82916
|
+
if (!isPreviousVideo) return;
|
|
82917
|
+
handleSkipBackward();
|
|
82918
|
+
},
|
|
82919
|
+
className: isPreviousVideo ? '' : 'skip-icon-disabled'
|
|
82915
82920
|
})
|
|
82916
|
-
}),
|
|
82917
|
-
|
|
82918
|
-
|
|
82921
|
+
}), handleSkipForward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82922
|
+
title: "Next video",
|
|
82923
|
+
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82924
|
+
forward: true,
|
|
82925
|
+
onClick: function onClick() {
|
|
82926
|
+
if (!isNextVideo) return;
|
|
82927
|
+
handleSkipForward();
|
|
82928
|
+
},
|
|
82929
|
+
className: isNextVideo ? '' : 'skip-icon-disabled'
|
|
82930
|
+
})
|
|
82931
|
+
}), showFavorite && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82932
|
+
title: isFavorite ? 'Remove from favorites' : 'Add to favorites',
|
|
82933
|
+
children: jsxRuntimeExports.jsx(StyledHeartIconContainer, {
|
|
82934
|
+
children: jsxRuntimeExports.jsx(HeartIcon, {
|
|
82935
|
+
active: isFavorite,
|
|
82936
|
+
onClick: toggleIsFavorite
|
|
82937
|
+
})
|
|
82938
|
+
})
|
|
82939
|
+
}), showDownload && downloadUrl && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82940
|
+
title: "Download video",
|
|
82941
|
+
children: jsxRuntimeExports.jsx(StyledDownloadIconContainer, {
|
|
82942
|
+
children: jsxRuntimeExports.jsx(DownloadIcon, {
|
|
82943
|
+
onClick: handleDownloadClick
|
|
82944
|
+
})
|
|
82919
82945
|
})
|
|
82920
82946
|
}), jsxRuntimeExports.jsx(PlaybackSpeedMenu, {
|
|
82921
82947
|
playbackSpeed: playbackRate,
|
|
@@ -82933,14 +82959,20 @@ var Controls = function Controls(_a) {
|
|
|
82933
82959
|
right: '8px',
|
|
82934
82960
|
left: 'auto'
|
|
82935
82961
|
}
|
|
82936
|
-
}), subtitle && jsxRuntimeExports.jsx(
|
|
82937
|
-
|
|
82938
|
-
|
|
82939
|
-
|
|
82962
|
+
}), subtitle && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82963
|
+
title: isSubtitlesChecked ? 'Hide subtitles' : 'Show subtitles',
|
|
82964
|
+
children: jsxRuntimeExports.jsx(StyledSubtitlesIconContainer, {
|
|
82965
|
+
children: jsxRuntimeExports.jsx(SubtitlesIcon, {
|
|
82966
|
+
active: isSubtitlesChecked,
|
|
82967
|
+
onClick: toggleSubtitlesCheck
|
|
82968
|
+
})
|
|
82969
|
+
})
|
|
82970
|
+
}), jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82971
|
+
title: isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen',
|
|
82972
|
+
children: jsxRuntimeExports.jsx(StyledFullscreenIconContainer, {
|
|
82973
|
+
onClick: handleFullScreen,
|
|
82974
|
+
children: isFullscreen ? jsxRuntimeExports.jsx(MinimizeIcon, {}) : jsxRuntimeExports.jsx(MaximizeIcon, {})
|
|
82940
82975
|
})
|
|
82941
|
-
}), jsxRuntimeExports.jsx(StyledFullscreenIconContainer, {
|
|
82942
|
-
onClick: handleFullScreen,
|
|
82943
|
-
children: isFullscreen ? jsxRuntimeExports.jsx(MinimizeIcon, {}) : jsxRuntimeExports.jsx(MaximizeIcon, {})
|
|
82944
82976
|
})]
|
|
82945
82977
|
})]
|
|
82946
82978
|
});
|