suada-components 1.18.1 → 1.20.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.
Files changed (71) hide show
  1. package/dist/{DailyMotion-CltB9Fwx.esm.js → DailyMotion-BLFAoBjg.esm.js} +1 -1
  2. package/dist/{DailyMotion-CU-mEwwt.js → DailyMotion-C4jYmkvx.js} +1 -1
  3. package/dist/{components/Facebook-D96yZ-Wv.js → Facebook--OIPCKLV.js} +1 -1
  4. package/dist/{components/Facebook-DDWWEbeK.esm.js → Facebook-D4aqTR_u.esm.js} +1 -1
  5. package/dist/{FilePlayer-BkFHURpZ.js → FilePlayer-8sGf_JAf.js} +1 -1
  6. package/dist/{FilePlayer-15mK_T2y.esm.js → FilePlayer-CneTu0el.esm.js} +1 -1
  7. package/dist/{Kaltura-CZC5JjxC.js → Kaltura-BprRnirx.js} +1 -1
  8. package/dist/{components/Kaltura-Btn1U8Zf.esm.js → Kaltura-Cn7PzjsF.esm.js} +1 -1
  9. package/dist/{Mixcloud-C2W41_xU.esm.js → Mixcloud-BCPdfe2X.esm.js} +1 -1
  10. package/dist/{components/Mixcloud-BlY20QI9.js → Mixcloud-CgLgU1Fc.js} +1 -1
  11. package/dist/{components/Mux-BU7bD4pe.esm.js → Mux-Ccp4w4M-.esm.js} +1 -1
  12. package/dist/{Mux-B7VqwEAU.js → Mux-DYFL-j5a.js} +1 -1
  13. package/dist/{components/Preview-DsGgU4H5.esm.js → Preview-DSXHvRO2.esm.js} +1 -1
  14. package/dist/{Preview-D7VLiRWL.js → Preview-oUz9COHv.js} +1 -1
  15. package/dist/{SoundCloud-BuJ6yNTP.esm.js → SoundCloud-9VX-Z7vz.esm.js} +1 -1
  16. package/dist/{SoundCloud-CczyZgu_.js → SoundCloud-B_SpPAKN.js} +1 -1
  17. package/dist/{components/Streamable-B602PXxI.esm.js → Streamable-B072M6wX.esm.js} +1 -1
  18. package/dist/{Streamable-D4JFFtoC.js → Streamable-DVdNDaFn.js} +1 -1
  19. package/dist/{components/Twitch-BHVmZejB.js → Twitch-BJNa92-u.js} +1 -1
  20. package/dist/{Twitch-DvrY7N_t.esm.js → Twitch-E7ie2Uhy.esm.js} +1 -1
  21. package/dist/{components/Vidyard-CN_G9dre.esm.js → Vidyard-DLiYqJli.esm.js} +1 -1
  22. package/dist/{components/Vidyard-ClFsw8nL.js → Vidyard-_V_d7bw0.js} +1 -1
  23. package/dist/{Vimeo-CFofcECV.js → Vimeo-hnYq-kPy.js} +1 -1
  24. package/dist/{components/Vimeo-vOGC9mBk.esm.js → Vimeo-iFgsCgGo.esm.js} +1 -1
  25. package/dist/{components/Wistia-BNx386Rg.esm.js → Wistia-D_w-vbDC.esm.js} +1 -1
  26. package/dist/{Wistia-B2cvtDql.js → Wistia-UwhTbZ-1.js} +1 -1
  27. package/dist/{YouTube-CL56XD1_.js → YouTube-5xM6iQwB.js} +1 -1
  28. package/dist/{components/YouTube-CQ70BkZw.esm.js → YouTube-CPhYQEkl.esm.js} +1 -1
  29. package/dist/components/{DailyMotion-Cigxd-Jz.esm.js → DailyMotion-DWpcl8z8.esm.js} +1 -1
  30. package/dist/components/{DailyMotion-Dc8Jt5rL.js → DailyMotion-ncf2EGzH.js} +1 -1
  31. package/dist/{Facebook-C5bsXWOw.esm.js → components/Facebook-DW4sCJ25.esm.js} +1 -1
  32. package/dist/{Facebook-1PeZXckV.js → components/Facebook-F1hTNyHn.js} +1 -1
  33. package/dist/components/{FilePlayer-B60YEygK.js → FilePlayer-BIUb9xkU.js} +1 -1
  34. package/dist/components/{FilePlayer-B3meC4EP.esm.js → FilePlayer-CInlN9-9.esm.js} +1 -1
  35. package/dist/{Kaltura-DMRyYkly.esm.js → components/Kaltura-BLEfYwcO.esm.js} +1 -1
  36. package/dist/components/{Kaltura-DK-h5jtl.js → Kaltura-UmW08K7Z.js} +1 -1
  37. package/dist/components/{Mixcloud-D3hCVvRi.esm.js → Mixcloud-CBWX9OlC.esm.js} +1 -1
  38. package/dist/{Mixcloud-CobFyox1.js → components/Mixcloud-CQ_ABR83.js} +1 -1
  39. package/dist/components/{Mux-Bp6MFxPb.js → Mux-CJzLFb5n.js} +1 -1
  40. package/dist/{Mux-CR4kJZz1.esm.js → components/Mux-fVVwHTdP.esm.js} +1 -1
  41. package/dist/components/{Preview-Ipafps1S.js → Preview-BFqTVez2.js} +1 -1
  42. package/dist/{Preview-ChyEERBP.esm.js → components/Preview-Bur7AltA.esm.js} +1 -1
  43. package/dist/components/{SoundCloud-CLTAypO_.js → SoundCloud-BhXPdJiG.js} +1 -1
  44. package/dist/components/{SoundCloud-Cezo6lfg.esm.js → SoundCloud-CwSX1HSQ.esm.js} +1 -1
  45. package/dist/components/{Streamable-BYw1N66m.js → Streamable-B2K7lHBF.js} +1 -1
  46. package/dist/{Streamable-CjvpmkOH.esm.js → components/Streamable-DyF17zKD.esm.js} +1 -1
  47. package/dist/{Twitch-B1vASMAw.js → components/Twitch-Ci9mpiwN.js} +1 -1
  48. package/dist/components/{Twitch-tLysm9DK.esm.js → Twitch-D7Jkv6yP.esm.js} +1 -1
  49. package/dist/components/VideoPlayer/Player.interface.d.ts +7 -0
  50. package/dist/components/VideoPlayer/Player.styles.d.ts +6 -0
  51. package/dist/{Vidyard-CZtc16q9.esm.js → components/Vidyard-B9H_2-k5.esm.js} +1 -1
  52. package/dist/{Vidyard-s3lK5PSZ.js → components/Vidyard-CS8k2GVk.js} +1 -1
  53. package/dist/{Vimeo-BWyRDwE0.esm.js → components/Vimeo-B99859at.esm.js} +1 -1
  54. package/dist/components/{Vimeo-D3_12JJC.js → Vimeo-DvGEL0c6.js} +1 -1
  55. package/dist/components/{Wistia-DyxKLkXI.js → Wistia-BuZhl_AZ.js} +1 -1
  56. package/dist/{Wistia-sSsycsJH.esm.js → components/Wistia-QRXurXF5.esm.js} +1 -1
  57. package/dist/{YouTube-B6EhYDWl.esm.js → components/YouTube-B4zxb1pq.esm.js} +1 -1
  58. package/dist/components/{YouTube-aCsy9GCc.js → YouTube-DAIEadSc.js} +1 -1
  59. package/dist/components/components/VideoPlayer/Player.interface.d.ts +7 -0
  60. package/dist/components/components/VideoPlayer/Player.styles.d.ts +6 -0
  61. package/dist/components/{index-BIuwQ7Ul.js → index-MyuG3QrE.js} +269 -77
  62. package/dist/components/{index-WnDl7x-R.esm.js → index-de31WudA.esm.js} +269 -77
  63. package/dist/components/index.esm.js +1 -1
  64. package/dist/components/index.js +1 -1
  65. package/dist/icons/components/VideoPlayer/Player.interface.d.ts +7 -0
  66. package/dist/icons/components/VideoPlayer/Player.styles.d.ts +6 -0
  67. package/dist/{index-c5_4-PQZ.js → index-BG54T_ot.js} +269 -77
  68. package/dist/{index-D2OcKIp8.esm.js → index-DaQssQT2.esm.js} +269 -77
  69. package/dist/index.esm.js +1 -1
  70. package/dist/index.js +1 -1
  71. package/package.json +1 -1
@@ -29978,7 +29978,7 @@ var RecordVoiceOverOutlined$1 = createSvgIcon$1( /*#__PURE__*/jsx$1("path", {
29978
29978
  d: "M9 13c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 8c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m-6 4c.22-.72 3.31-2 6-2 2.7 0 5.8 1.29 6 2zM15.08 7.05c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14"
29979
29979
  }), 'RecordVoiceOverOutlined');
29980
29980
 
29981
- var _templateObject$q, _templateObject2$k, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$8, _templateObject7$6, _templateObject8$6, _templateObject9$5, _templateObject10$4, _templateObject11$4, _templateObject12$4, _templateObject13$3, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32;
29981
+ var _templateObject$q, _templateObject2$k, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$8, _templateObject7$6, _templateObject8$6, _templateObject9$5, _templateObject10$4, _templateObject11$4, _templateObject12$4, _templateObject13$3, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32;
29982
29982
  // CourseLayout
29983
29983
  dt.span(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral$1([""])));
29984
29984
  var GridItemContentHeader = dt.header(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral$1(["\n display: flex;\n justify-content: space-between;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
@@ -30011,10 +30011,10 @@ var CourseStatusContainer = dt.div(_templateObject13$3 || (_templateObject13$3 =
30011
30011
  var $status = _ref6.$status;
30012
30012
  return !$status ? '#EA382A' : '#00905E';
30013
30013
  });
30014
- dt.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
30015
- var TooltipContent = dt.div(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteral$1(["\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"])));
30016
- var StyledCardBottomContainer = dt.div(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteral$1(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
30017
- var StyledActionsContainer = dt.div(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
30014
+ dt.div(_templateObject14$3 || (_templateObject14$3 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
30015
+ var TooltipContent = dt.div(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteral$1(["\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"])));
30016
+ var StyledCardBottomContainer = dt.div(_templateObject16$3 || (_templateObject16$3 = _taggedTemplateLiteral$1(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
30017
+ var StyledActionsContainer = dt.div(_templateObject17$3 || (_templateObject17$3 = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
30018
30018
  var StyledActionItem = dt.span(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n height: 14px;\n cursor: ", ";\n color: ", ";\n font-size: 14px;\n padding-bottom: 10px;\n width: 100%;\n justify-content: center;\n gap: 8px;\n padding: 12px 4px;\n svg path {\n fill: ", ";\n width: 16px;\n height: 16px;\n }\n svg {\n width: 16px;\n height: 16px;\n }\n &:hover {\n color: ", ";\n svg path {\n fill: ", ";\n }\n }\n"])), function (_ref7) {
30019
30019
  var disabled = _ref7.disabled;
30020
30020
  return disabled ? 'default' : 'pointer';
@@ -40657,7 +40657,7 @@ function requireCancel () {
40657
40657
  var CancelExports = /*@__PURE__*/ requireCancel();
40658
40658
  var CancelIcon = /*@__PURE__*/getDefaultExportFromCjs(CancelExports);
40659
40659
 
40660
- var _templateObject$k, _templateObject2$f, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$4, _templateObject8$4, _templateObject9$3, _templateObject10$3, _templateObject11$3, _templateObject12$3, _templateObject13$2, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
40660
+ var _templateObject$k, _templateObject2$f, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$4, _templateObject8$4, _templateObject9$3, _templateObject10$3, _templateObject11$3, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
40661
40661
  dt.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral$1(["\n position: relative;\n cursor: pointer;\n overflow: hidden;\n padding: 10px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n height: 100%;\n transition: border 0.2s ease;\n\n .image_wrapper {\n position: relative;\n padding-top: 10px;\n width: 100px;\n height: 100px;\n border-radius: 4px;\n svg {\n position: absolute;\n right: -11px;\n top: 0px;\n }\n img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n }\n\n .video_wrapper {\n padding: 5px 10px;\n background: #eee;\n margin-top: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n svg {\n color: red;\n }\n }\n\n .file_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n svg {\n font-size: 20px;\n color: red;\n margin-left: 10px;\n }\n }\n\n label {\n cursor: pointer;\n display: flex;\n .MuiSvgIcon-fontSizeLarge {\n font-size: 5.1875rem;\n }\n\n svg {\n transform: scale(0.8);\n transition: transform 0.2s ease;\n }\n }\n input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &.full {\n display: flex;\n align-items: center;\n justify-content: center;\n\n header {\n margin-right: 15px;\n }\n\n label {\n align-items: center;\n justify-content: center;\n width: 100%;\n }\n\n label svg {\n transform: scale(1);\n }\n }\n\n &.uploaded {\n border: 1px solid rgba(0, 0, 0, 0.3);\n\n header {\n color: rgba(0, 0, 0, 0.74);\n }\n\n label svg {\n transform: scale(1);\n }\n }\n"])));
40662
40662
  dt.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral$1(["\n position: absolute;\n z-index: 2;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: #fff;\n border-radius: 4px;\n"])));
40663
40663
  dt.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n padding: 0 30px;\n > div {\n width: 100%;\n text-align: center;\n }\n"])));
@@ -40678,9 +40678,9 @@ var CancelButton = dt.div(_templateObject11$3 || (_templateObject11$3 = _taggedT
40678
40678
  });
40679
40679
  var InputFileContainer = dt.div(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteral$1(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\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"])));
40680
40680
  var UploadInput = dt.input(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteral$1(["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"])));
40681
- dt.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteral$1(["\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"])));
40682
- var ImagePlaceholder = dt.div(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteral$1(["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"])));
40683
- var InputLabel = dt.label(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref3) {
40681
+ dt.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteral$1(["\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"])));
40682
+ var ImagePlaceholder = dt.div(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteral$1(["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"])));
40683
+ var InputLabel = dt.label(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref3) {
40684
40684
  var theme = _ref3.theme;
40685
40685
  var _a;
40686
40686
  var primaryColor = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary;
@@ -40689,7 +40689,7 @@ var InputLabel = dt.label(_templateObject16$1 || (_templateObject16$1 = _taggedT
40689
40689
  return 'var(--primary-color, #06c68f)';
40690
40690
  });
40691
40691
  // UploaderButton
40692
- dt.label(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 4px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n"])), function (_ref4) {
40692
+ dt.label(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 4px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n"])), function (_ref4) {
40693
40693
  var theme = _ref4.theme;
40694
40694
  var _a;
40695
40695
  var primaryColor = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary;
@@ -76967,7 +76967,7 @@ function requirePlayers () {
76967
76967
  canPlay: import_patterns.canPlay.youtube,
76968
76968
  lazyPlayer: (0, import_utils.lazy)(() => import(
76969
76969
  /* webpackChunkName: 'reactPlayerYouTube' */
76970
- './YouTube-CQ70BkZw.esm.js'
76970
+ './YouTube-B4zxb1pq.esm.js'
76971
76971
  ).then(function (n) { return n.Y; }))
76972
76972
  },
76973
76973
  {
@@ -76976,7 +76976,7 @@ function requirePlayers () {
76976
76976
  canPlay: import_patterns.canPlay.soundcloud,
76977
76977
  lazyPlayer: (0, import_utils.lazy)(() => import(
76978
76978
  /* webpackChunkName: 'reactPlayerSoundCloud' */
76979
- './SoundCloud-Cezo6lfg.esm.js'
76979
+ './SoundCloud-CwSX1HSQ.esm.js'
76980
76980
  ).then(function (n) { return n.S; }))
76981
76981
  },
76982
76982
  {
@@ -76985,7 +76985,7 @@ function requirePlayers () {
76985
76985
  canPlay: import_patterns.canPlay.vimeo,
76986
76986
  lazyPlayer: (0, import_utils.lazy)(() => import(
76987
76987
  /* webpackChunkName: 'reactPlayerVimeo' */
76988
- './Vimeo-vOGC9mBk.esm.js'
76988
+ './Vimeo-B99859at.esm.js'
76989
76989
  ).then(function (n) { return n.V; }))
76990
76990
  },
76991
76991
  {
@@ -76994,7 +76994,7 @@ function requirePlayers () {
76994
76994
  canPlay: import_patterns.canPlay.mux,
76995
76995
  lazyPlayer: (0, import_utils.lazy)(() => import(
76996
76996
  /* webpackChunkName: 'reactPlayerMux' */
76997
- './Mux-BU7bD4pe.esm.js'
76997
+ './Mux-fVVwHTdP.esm.js'
76998
76998
  ).then(function (n) { return n.M; }))
76999
76999
  },
77000
77000
  {
@@ -77003,7 +77003,7 @@ function requirePlayers () {
77003
77003
  canPlay: import_patterns.canPlay.facebook,
77004
77004
  lazyPlayer: (0, import_utils.lazy)(() => import(
77005
77005
  /* webpackChunkName: 'reactPlayerFacebook' */
77006
- './Facebook-DDWWEbeK.esm.js'
77006
+ './Facebook-DW4sCJ25.esm.js'
77007
77007
  ).then(function (n) { return n.F; }))
77008
77008
  },
77009
77009
  {
@@ -77012,7 +77012,7 @@ function requirePlayers () {
77012
77012
  canPlay: import_patterns.canPlay.streamable,
77013
77013
  lazyPlayer: (0, import_utils.lazy)(() => import(
77014
77014
  /* webpackChunkName: 'reactPlayerStreamable' */
77015
- './Streamable-B602PXxI.esm.js'
77015
+ './Streamable-DyF17zKD.esm.js'
77016
77016
  ).then(function (n) { return n.S; }))
77017
77017
  },
77018
77018
  {
@@ -77021,7 +77021,7 @@ function requirePlayers () {
77021
77021
  canPlay: import_patterns.canPlay.wistia,
77022
77022
  lazyPlayer: (0, import_utils.lazy)(() => import(
77023
77023
  /* webpackChunkName: 'reactPlayerWistia' */
77024
- './Wistia-BNx386Rg.esm.js'
77024
+ './Wistia-QRXurXF5.esm.js'
77025
77025
  ).then(function (n) { return n.W; }))
77026
77026
  },
77027
77027
  {
@@ -77030,7 +77030,7 @@ function requirePlayers () {
77030
77030
  canPlay: import_patterns.canPlay.twitch,
77031
77031
  lazyPlayer: (0, import_utils.lazy)(() => import(
77032
77032
  /* webpackChunkName: 'reactPlayerTwitch' */
77033
- './Twitch-tLysm9DK.esm.js'
77033
+ './Twitch-D7Jkv6yP.esm.js'
77034
77034
  ).then(function (n) { return n.T; }))
77035
77035
  },
77036
77036
  {
@@ -77039,7 +77039,7 @@ function requirePlayers () {
77039
77039
  canPlay: import_patterns.canPlay.dailymotion,
77040
77040
  lazyPlayer: (0, import_utils.lazy)(() => import(
77041
77041
  /* webpackChunkName: 'reactPlayerDailyMotion' */
77042
- './DailyMotion-Cigxd-Jz.esm.js'
77042
+ './DailyMotion-DWpcl8z8.esm.js'
77043
77043
  ).then(function (n) { return n.D; }))
77044
77044
  },
77045
77045
  {
@@ -77048,7 +77048,7 @@ function requirePlayers () {
77048
77048
  canPlay: import_patterns.canPlay.mixcloud,
77049
77049
  lazyPlayer: (0, import_utils.lazy)(() => import(
77050
77050
  /* webpackChunkName: 'reactPlayerMixcloud' */
77051
- './Mixcloud-D3hCVvRi.esm.js'
77051
+ './Mixcloud-CBWX9OlC.esm.js'
77052
77052
  ).then(function (n) { return n.M; }))
77053
77053
  },
77054
77054
  {
@@ -77057,7 +77057,7 @@ function requirePlayers () {
77057
77057
  canPlay: import_patterns.canPlay.vidyard,
77058
77058
  lazyPlayer: (0, import_utils.lazy)(() => import(
77059
77059
  /* webpackChunkName: 'reactPlayerVidyard' */
77060
- './Vidyard-CN_G9dre.esm.js'
77060
+ './Vidyard-B9H_2-k5.esm.js'
77061
77061
  ).then(function (n) { return n.V; }))
77062
77062
  },
77063
77063
  {
@@ -77066,7 +77066,7 @@ function requirePlayers () {
77066
77066
  canPlay: import_patterns.canPlay.kaltura,
77067
77067
  lazyPlayer: (0, import_utils.lazy)(() => import(
77068
77068
  /* webpackChunkName: 'reactPlayerKaltura' */
77069
- './Kaltura-Btn1U8Zf.esm.js'
77069
+ './Kaltura-BLEfYwcO.esm.js'
77070
77070
  ).then(function (n) { return n.K; }))
77071
77071
  },
77072
77072
  {
@@ -77078,7 +77078,7 @@ function requirePlayers () {
77078
77078
  },
77079
77079
  lazyPlayer: (0, import_utils.lazy)(() => import(
77080
77080
  /* webpackChunkName: 'reactPlayerFilePlayer' */
77081
- './FilePlayer-B3meC4EP.esm.js'
77081
+ './FilePlayer-CInlN9-9.esm.js'
77082
77082
  ).then(function (n) { return n.F; }))
77083
77083
  }
77084
77084
  ];
@@ -77899,7 +77899,7 @@ function requireReactPlayer () {
77899
77899
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
77900
77900
  const Preview = (0, import_utils.lazy)(() => import(
77901
77901
  /* webpackChunkName: 'reactPlayerPreview' */
77902
- './Preview-DsGgU4H5.esm.js'
77902
+ './Preview-Bur7AltA.esm.js'
77903
77903
  ).then(function (n) { return n.P; }));
77904
77904
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
77905
77905
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -78108,7 +78108,7 @@ function requireLib () {
78108
78108
  var libExports = /*@__PURE__*/ requireLib();
78109
78109
  var ReactPlayer = /*@__PURE__*/getDefaultExportFromCjs(libExports);
78110
78110
 
78111
- var _templateObject$a, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$2, _templateObject13$1;
78111
+ var _templateObject$a, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$2, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1;
78112
78112
  var StyledVideoPlayerWrapper = dt.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral$1(["\n cursor: pointer;\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > .react-player {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n border-radius: 8px;\n height: 50%;\n\n & > video {\n height: fit-content;\n width: 100%;\n object-fit: contain;\n border-radius: 8px;\n background-color: var(--neutral-colors-dark);\n }\n }\n"])));
78113
78113
  var StyledWrapper = dt.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral$1(["\n position: relative;\n z-index: 1;\n width: 100%;\n border-radius: 8px;\n overflow: hidden;\n\n &::before {\n content: '';\n display: block;\n padding-top: 56.25%;\n }\n\n & > ", " {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n"])), StyledVideoPlayerWrapper);
78114
78114
  var StyledPlayerLoader = dt.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral$1(["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background: #e7e9ed;\n display: flex;\n align-items: center;\n top: 0;\n bottom: 0;\n margin: auto 0;\n color: var(--neutral-colors-light);\n justify-content: center;\n z-index: 5;\n"])));
@@ -78119,6 +78119,19 @@ var StyledSubtitles = dt.div(_templateObject7$2 || (_templateObject7$2 = _tagged
78119
78119
  var $controls = _ref.$controls;
78120
78120
  return $controls ? '60px' : '10px';
78121
78121
  });
78122
+ var StyledKeyboardIndicatorContainer = dt.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n z-index: 110;\n pointer-events: none;\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: 88px;\n min-height: 72px;\n padding: 14px 18px;\n border-radius: 12px;\n background: rgba(2, 2, 16, 0.62);\n color: #fff;\n backdrop-filter: blur(4px);\n"])), function (_ref2) {
78123
+ var $position = _ref2.$position;
78124
+ if ($position === 'center') {
78125
+ return "\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n ";
78126
+ }
78127
+ if ($position === 'left') {
78128
+ return "\n top: 50%;\n left: 24px;\n transform: translateY(-50%);\n ";
78129
+ }
78130
+ return "\n top: 50%;\n right: 24px;\n transform: translateY(-50%);\n ";
78131
+ });
78132
+ var StyledKeyboardSeekContainer = dt.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 16px;\n font-weight: 700;\n line-height: 1;\n"])));
78133
+ var StyledKeyboardVolumeContainer = dt.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n"])));
78134
+ var StyledKeyboardVolumeLabel = dt.span(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral$1(["\n font-size: 14px;\n font-weight: 700;\n line-height: 1;\n"])));
78122
78135
  var HLS_SUBTITLE_STYLES = "\n /* Hide native HLS subtitles completely - comprehensive approach */\n video::cue {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::-webkit-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::cue-region {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::-webkit-media-text-track-container {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n /* Target ReactPlayer specifically */\n .react-player video::cue {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .react-player video::-webkit-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .react-player video::cue-region {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .react-player video::-webkit-media-text-track-container {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n /* Additional selectors for different browsers */\n video::-moz-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::-ms-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n /* Hide any subtitle overlays */\n .react-player video + div[style*=\"position: absolute\"] {\n display: none !important;\n }\n \n /* Target HLS video player specifically */\n .hls-video-player::cue {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .hls-video-player::-webkit-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .hls-video-player::-webkit-media-text-track-container {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .hls-video-player::cue-region {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n";
78123
78136
  var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
78124
78137
  var addSubtitleStyles = function addSubtitleStyles() {
@@ -78141,14 +78154,14 @@ var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
78141
78154
  };
78142
78155
  };
78143
78156
  // Notes functionality styles
78144
- var StyledNoteMarkersOverlay = dt.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 45px;\n left: 5px;\n right: 5px;\n height: 6px;\n z-index: ", ";\n opacity: 0;\n transition: opacity 0.3s ease;\n pointer-events: none;\n overflow: visible;\n\n ", "\n\n ", "\n\n &.controls-visible {\n opacity: 1 !important;\n }\n"])), function (props) {
78157
+ var StyledNoteMarkersOverlay = dt.div(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 45px;\n left: 5px;\n right: 5px;\n height: 6px;\n z-index: ", ";\n opacity: 0;\n transition: opacity 0.3s ease;\n pointer-events: none;\n overflow: visible;\n\n ", "\n\n ", "\n\n &.controls-visible {\n opacity: 1 !important;\n }\n"])), function (props) {
78145
78158
  return props.$isFullscreen ? 2147483646 : 15;
78146
78159
  }, function (props) {
78147
78160
  return props.$isFullscreen ? "\n position: absolute;\n left: 5px;\n right: 5px;\n bottom: 42px;\n top: auto;\n height: 6px;\n z-index: 2147483646;\n width: 100%;\n opacity: 1;\n visibility: visible;\n " : '';
78148
78161
  }, function (props) {
78149
78162
  return !props.$isFullscreen ? "\n ".concat(StyledWrapper, ":hover & {\n opacity: 1 !important;\n }\n ") : '';
78150
78163
  });
78151
- var StyledNoteMarker = dt.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n left: 0;\n right: 0;\n bottom: -3px;\n width: ", ";\n height: ", ";\n background-color: #ffd700;\n border-radius: 50%;\n cursor: pointer;\n pointer-events: auto;\n border: 2px solid #fff;\n box-shadow: ", ";\n transition: all 0.2s ease;\n z-index: ", ";\n\n &:hover {\n transform: translateX(-50%) scale(1.2);\n background-color: #ffed4e;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);\n }\n"])), function (props) {
78164
+ var StyledNoteMarker = dt.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n left: 0;\n right: 0;\n bottom: -3px;\n width: ", ";\n height: ", ";\n background-color: #ffd700;\n border-radius: 50%;\n cursor: pointer;\n pointer-events: auto;\n border: 2px solid #fff;\n box-shadow: ", ";\n transition: all 0.2s ease;\n z-index: ", ";\n\n &:hover {\n transform: translateX(-50%) scale(1.2);\n background-color: #ffed4e;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);\n }\n"])), function (props) {
78152
78165
  return props.$isFullscreen ? "top: auto; bottom: 0; transform: translateX(-50%);" : "bottom: -3px; transform: translateX(-50%);";
78153
78166
  }, function (props) {
78154
78167
  return props.$isFullscreen ? '12px' : '10px';
@@ -78159,12 +78172,12 @@ var StyledNoteMarker = dt.div(_templateObject9$2 || (_templateObject9$2 = _tagge
78159
78172
  }, function (props) {
78160
78173
  return props.$isFullscreen ? 2147483647 : 20;
78161
78174
  });
78162
- var StyledNoteTooltip = dt.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 20px;\n left: 50%;\n transform: translateX(-50%);\n background: rgba(0, 0, 0, 0.9);\n color: white;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n white-space: nowrap;\n max-width: 200px;\n text-overflow: ellipsis;\n overflow: hidden;\n pointer-events: none;\n z-index: 2147483647;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n border: 4px solid transparent;\n border-top-color: rgba(0, 0, 0, 0.9);\n }\n"])));
78163
- var StyledNoteTime = dt.div(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral$1(["\n font-size: 10px;\n opacity: 0.8;\n margin-top: 2px;\n"])));
78164
- dt.div(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: ", ";\n pointer-events: none;\n"])), function (props) {
78175
+ var StyledNoteTooltip = dt.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 20px;\n left: 50%;\n transform: translateX(-50%);\n background: rgba(0, 0, 0, 0.9);\n color: white;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n white-space: nowrap;\n max-width: 200px;\n text-overflow: ellipsis;\n overflow: hidden;\n pointer-events: none;\n z-index: 2147483647;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n border: 4px solid transparent;\n border-top-color: rgba(0, 0, 0, 0.9);\n }\n"])));
78176
+ var StyledNoteTime = dt.div(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteral$1(["\n font-size: 10px;\n opacity: 0.8;\n margin-top: 2px;\n"])));
78177
+ dt.div(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: ", ";\n pointer-events: none;\n"])), function (props) {
78165
78178
  return props.$isFullscreen ? 2147483646 : 999;
78166
78179
  });
78167
- var StyledNoteModal = dt.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 70px;\n background: white;\n border-radius: 16px;\n box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n border: 1px solid #e2e8f0;\n z-index: ", ";\n width: 320px;\n height: 270px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n\n ", "\n\n &::after,\n &::before {\n content: '';\n position: absolute;\n top: 100%;\n transform: translateX(-50%);\n border: 8px solid transparent;\n }\n\n &::after {\n border-top-color: white;\n z-index: 2;\n }\n\n &::before {\n border-top-color: #e2e8f0;\n z-index: 1;\n margin-top: 1px;\n }\n"])), function (props) {
78180
+ var StyledNoteModal = dt.div(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 70px;\n background: white;\n border-radius: 16px;\n box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n border: 1px solid #e2e8f0;\n z-index: ", ";\n width: 320px;\n height: 270px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n\n ", "\n\n &::after,\n &::before {\n content: '';\n position: absolute;\n top: 100%;\n transform: translateX(-50%);\n border: 8px solid transparent;\n }\n\n &::after {\n border-top-color: white;\n z-index: 2;\n }\n\n &::before {\n border-top-color: #e2e8f0;\n z-index: 1;\n margin-top: 1px;\n }\n"])), function (props) {
78168
78181
  return props.$isFullscreen ? 2147483647 : 1000;
78169
78182
  }, function (props) {
78170
78183
  var position = props.$position || 50;
@@ -84795,9 +84808,14 @@ function usePlayerControls(_ref) {
84795
84808
  _useState14 = _slicedToArray$1(_useState13, 2),
84796
84809
  currentSubtitle = _useState14[0],
84797
84810
  setCurrentSubtitle = _useState14[1];
84811
+ var _useState15 = useState(null),
84812
+ _useState16 = _slicedToArray$1(_useState15, 2),
84813
+ keyboardIndicator = _useState16[0],
84814
+ setKeyboardIndicator = _useState16[1];
84798
84815
  var lastSubtitleIndexRef = useRef(null);
84799
84816
  var lastPlaybackTimeRef = useRef(0);
84800
84817
  var lastCallTimeRef = useRef(Date.now());
84818
+ var keyboardIndicatorTimeoutRef = useRef(null);
84801
84819
  // Use PiP context instead of local state
84802
84820
  var _usePiP = usePiP(),
84803
84821
  isPiPActive = _usePiP.isPiPActive,
@@ -84877,6 +84895,23 @@ function usePlayerControls(_ref) {
84877
84895
  useEffect(function () {
84878
84896
  setStartPlayed(false);
84879
84897
  }, [url]);
84898
+ useEffect(function () {
84899
+ var _a;
84900
+ var activeElement = document.activeElement;
84901
+ var isEditableTarget = activeElement instanceof HTMLInputElement || activeElement instanceof HTMLTextAreaElement || activeElement instanceof HTMLElement && activeElement.isContentEditable;
84902
+ if (!isEditableTarget) {
84903
+ (_a = playerContainerRef.current) === null || _a === void 0 ? void 0 : _a.focus({
84904
+ preventScroll: true
84905
+ });
84906
+ }
84907
+ }, [url]);
84908
+ useEffect(function () {
84909
+ return function () {
84910
+ if (keyboardIndicatorTimeoutRef.current) {
84911
+ window.clearTimeout(keyboardIndicatorTimeoutRef.current);
84912
+ }
84913
+ };
84914
+ }, []);
84880
84915
  // Cleanup effect to handle component unmounting while in PiP mode
84881
84916
  useEffect(function () {
84882
84917
  var currentVideoPlayerRef = videoPlayerRef.current;
@@ -85138,21 +85173,51 @@ function usePlayerControls(_ref) {
85138
85173
  enterPiP(videoElement, pipVideoState);
85139
85174
  }
85140
85175
  };
85176
+ var showKeyboardIndicator = useCallback(function (indicator) {
85177
+ setKeyboardIndicator(indicator);
85178
+ if (keyboardIndicatorTimeoutRef.current) {
85179
+ window.clearTimeout(keyboardIndicatorTimeoutRef.current);
85180
+ }
85181
+ keyboardIndicatorTimeoutRef.current = window.setTimeout(function () {
85182
+ setKeyboardIndicator(null);
85183
+ }, 900);
85184
+ }, []);
85141
85185
  var handleKeyDown = useCallback(function (event) {
85142
85186
  if ('code' in event) {
85143
85187
  switch (event.code) {
85144
85188
  case 'ArrowLeft':
85145
85189
  event.preventDefault();
85146
- rewindHandler();
85190
+ if (videoPlayerRef.current) {
85191
+ var current = videoPlayerRef.current.getCurrentTime();
85192
+ videoPlayerRef.current.seekTo(Math.max(current - 15, 0));
85193
+ }
85194
+ showKeyboardIndicator({
85195
+ type: 'seek-backward',
85196
+ position: 'left'
85197
+ });
85147
85198
  break;
85148
85199
  case 'ArrowRight':
85149
85200
  event.preventDefault();
85150
- handleFastForward();
85201
+ if (videoPlayerRef.current) {
85202
+ var _current = videoPlayerRef.current.getCurrentTime();
85203
+ var _duration = videoPlayerRef.current.getDuration();
85204
+ var nextTime = _current + 15;
85205
+ videoPlayerRef.current.seekTo(_duration ? Math.min(nextTime, _duration) : nextTime);
85206
+ }
85207
+ showKeyboardIndicator({
85208
+ type: 'seek-forward',
85209
+ position: 'right'
85210
+ });
85151
85211
  break;
85152
85212
  case 'ArrowUp':
85153
85213
  event.preventDefault();
85154
85214
  setVideoState(function (prev) {
85155
85215
  var newVolume = Math.min(prev.volume + 0.1, 1);
85216
+ showKeyboardIndicator({
85217
+ type: 'volume-up',
85218
+ position: 'center',
85219
+ volume: newVolume
85220
+ });
85156
85221
  return _objectSpread2$1(_objectSpread2$1({}, prev), {}, {
85157
85222
  volume: newVolume,
85158
85223
  muted: newVolume === 0,
@@ -85164,6 +85229,11 @@ function usePlayerControls(_ref) {
85164
85229
  event.preventDefault();
85165
85230
  setVideoState(function (prev) {
85166
85231
  var newVolume = Math.max(prev.volume - 0.1, 0);
85232
+ showKeyboardIndicator({
85233
+ type: 'volume-down',
85234
+ position: 'center',
85235
+ volume: newVolume
85236
+ });
85167
85237
  return _objectSpread2$1(_objectSpread2$1({}, prev), {}, {
85168
85238
  volume: newVolume,
85169
85239
  muted: newVolume === 0,
@@ -85173,7 +85243,7 @@ function usePlayerControls(_ref) {
85173
85243
  break;
85174
85244
  }
85175
85245
  }
85176
- }, [rewindHandler, handleFastForward, setVideoState]);
85246
+ }, [setVideoState, showKeyboardIndicator]);
85177
85247
  var handleSpaceKeyDown = useCallback(function (event) {
85178
85248
  if ('code' in event) {
85179
85249
  switch (event.code) {
@@ -85232,6 +85302,7 @@ function usePlayerControls(_ref) {
85232
85302
  isControlsActive: isControlsActive,
85233
85303
  currentSubtitle: currentSubtitle,
85234
85304
  setCurrentSubtitle: setCurrentSubtitle,
85305
+ keyboardIndicator: keyboardIndicator,
85235
85306
  playing: isPlaying
85236
85307
  };
85237
85308
  }
@@ -85401,28 +85472,138 @@ var NoteEditModal = function NoteEditModal(_ref) {
85401
85472
 
85402
85473
  var MAX_FULLSCREEN_Z_INDEX = 2147483646;
85403
85474
  var MAX_FULLSCREEN_MARKER_Z_INDEX = 2147483647;
85404
- var VideoPlayer = function VideoPlayer(_ref) {
85405
- var customStyles = _ref.customStyles,
85406
- _ref$startTime = _ref.startTime,
85407
- startTime = _ref$startTime === void 0 ? 0 : _ref$startTime,
85408
- loading = _ref.loading,
85409
- setLoading = _ref.setLoading,
85410
- handleTrackProgress = _ref.handleTrackProgress,
85411
- url = _ref.url,
85412
- subtitleUrl = _ref.subtitle,
85413
- handleNextVideo = _ref.handleNextVideo,
85414
- handlePreviousVideo = _ref.handlePreviousVideo,
85415
- isNextVideo = _ref.isNextVideo,
85416
- isPreviousVideo = _ref.isPreviousVideo,
85417
- isPlaying = _ref.isPlaying,
85418
- setIsPlaying = _ref.setIsPlaying,
85419
- _ref$shouldPlayerBeFo = _ref.shouldPlayerBeFocusedOnSpaceClick,
85420
- shouldPlayerBeFocusedOnSpaceClick = _ref$shouldPlayerBeFo === void 0 ? false : _ref$shouldPlayerBeFo,
85421
- showFavorite = _ref.showFavorite,
85422
- _ref$isFavorite = _ref.isFavorite,
85423
- isFavorite = _ref$isFavorite === void 0 ? false : _ref$isFavorite,
85424
- _ref$toggleFavorite = _ref.toggleFavorite,
85425
- toggleFavorite = _ref$toggleFavorite === void 0 ? /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
85475
+ var VolumeIndicatorIcon = function VolumeIndicatorIcon(_ref) {
85476
+ var _ref$volume = _ref.volume,
85477
+ volume = _ref$volume === void 0 ? 0 : _ref$volume,
85478
+ isVolumeDown = _ref.isVolumeDown;
85479
+ var percent = Math.round(volume * 100);
85480
+ var isMuted = percent === 0;
85481
+ var isLow = percent > 0 && percent <= 30;
85482
+ var isMedium = percent > 30 && percent <= 70;
85483
+ var isHigh = percent > 70;
85484
+ return jsxs("svg", {
85485
+ width: '44',
85486
+ height: '44',
85487
+ viewBox: '0 0 24 24',
85488
+ fill: 'none',
85489
+ "aria-hidden": true,
85490
+ children: [jsx$1("path", {
85491
+ d: 'M3 9V15H7L12 20V4L7 9H3Z',
85492
+ fill: 'white'
85493
+ }), isMuted && jsx$1("path", {
85494
+ d: 'M14 9L20 15M20 9L14 15',
85495
+ stroke: 'white',
85496
+ strokeWidth: '2',
85497
+ strokeLinecap: 'round'
85498
+ }), (isLow || isMedium || isHigh) && jsx$1("path", {
85499
+ d: 'M15.8 12C15.8 11.08 15.27 10.28 14.5 9.9V14.1C15.27 13.72 15.8 12.92 15.8 12Z',
85500
+ fill: 'white'
85501
+ }), (isMedium || isHigh) && jsx$1("path", {
85502
+ d: 'M17.8 12C17.8 10.23 16.78 8.7 15.3 7.98V9.6C16.1 10.14 16.6 11.02 16.6 12C16.6 12.98 16.1 13.86 15.3 14.4V16.02C16.78 15.3 17.8 13.77 17.8 12Z',
85503
+ fill: 'white'
85504
+ }), isHigh && jsx$1("path", {
85505
+ d: 'M14.6 5.4V7.05C16.97 7.83 18.7 9.72 18.7 12C18.7 14.28 16.97 16.17 14.6 16.95V18.6C17.86 17.79 20.2 15.18 20.2 12C20.2 8.82 17.86 6.21 14.6 5.4Z',
85506
+ fill: 'white'
85507
+ }), isVolumeDown ? jsxs(Fragment, {
85508
+ children: [jsx$1("path", {
85509
+ d: 'M9 12H15',
85510
+ stroke: 'white',
85511
+ strokeWidth: '2',
85512
+ strokeLinecap: 'round'
85513
+ }), jsx$1("path", {
85514
+ d: 'M17.6 9.4L20 12L17.6 14.6',
85515
+ stroke: 'white',
85516
+ strokeWidth: '1.6',
85517
+ strokeLinecap: 'round'
85518
+ })]
85519
+ }) : jsxs(Fragment, {
85520
+ children: [jsx$1("path", {
85521
+ d: 'M9 12H15',
85522
+ stroke: 'white',
85523
+ strokeWidth: '2',
85524
+ strokeLinecap: 'round'
85525
+ }), jsx$1("path", {
85526
+ d: 'M12 9V15',
85527
+ stroke: 'white',
85528
+ strokeWidth: '2',
85529
+ strokeLinecap: 'round'
85530
+ }), jsx$1("path", {
85531
+ d: 'M17.6 14.6L20 12L17.6 9.4',
85532
+ stroke: 'white',
85533
+ strokeWidth: '1.6',
85534
+ strokeLinecap: 'round'
85535
+ })]
85536
+ })]
85537
+ });
85538
+ };
85539
+ var KeyboardIndicator = function KeyboardIndicator(_ref2) {
85540
+ var indicator = _ref2.indicator;
85541
+ var _a;
85542
+ if (!indicator) return null;
85543
+ return jsxs(StyledKeyboardIndicatorContainer, {
85544
+ "$position": indicator.position,
85545
+ children: [(indicator.type === 'volume-up' || indicator.type === 'volume-down') && jsxs(StyledKeyboardVolumeContainer, {
85546
+ children: [jsx$1(VolumeIndicatorIcon, {
85547
+ volume: indicator.volume,
85548
+ isVolumeDown: indicator.type === 'volume-down'
85549
+ }), jsxs(StyledKeyboardVolumeLabel, {
85550
+ children: [Math.round(((_a = indicator.volume) !== null && _a !== void 0 ? _a : 0) * 100), "%"]
85551
+ })]
85552
+ }), indicator.type === 'seek-backward' && jsxs(StyledKeyboardSeekContainer, {
85553
+ children: [jsxs("svg", {
85554
+ width: '34',
85555
+ height: '34',
85556
+ viewBox: '0 0 24 24',
85557
+ fill: 'white',
85558
+ "aria-hidden": true,
85559
+ children: [jsx$1("path", {
85560
+ d: 'M15.7 6.3A1 1 0 0 1 17 7.9L12.9 12L17 16.1A1 1 0 1 1 15.6 17.5L10.8 12.7A1 1 0 0 1 10.8 11.3L15.7 6.3Z'
85561
+ }), jsx$1("path", {
85562
+ d: 'M11.4 6.3A1 1 0 0 1 12.8 7.7L8.5 12L12.8 16.3A1 1 0 0 1 11.4 17.7L6.4 12.7A1 1 0 0 1 6.4 11.3L11.4 6.3Z'
85563
+ })]
85564
+ }), jsx$1("span", {
85565
+ children: "-15s"
85566
+ })]
85567
+ }), indicator.type === 'seek-forward' && jsxs(StyledKeyboardSeekContainer, {
85568
+ children: [jsx$1("span", {
85569
+ children: "+15s"
85570
+ }), jsxs("svg", {
85571
+ width: '34',
85572
+ height: '34',
85573
+ viewBox: '0 0 24 24',
85574
+ fill: 'white',
85575
+ "aria-hidden": true,
85576
+ children: [jsx$1("path", {
85577
+ d: 'M8.3 6.3A1 1 0 0 0 7 7.9L11.1 12L7 16.1A1 1 0 1 0 8.4 17.5L13.2 12.7A1 1 0 0 0 13.2 11.3L8.3 6.3Z'
85578
+ }), jsx$1("path", {
85579
+ d: 'M12.6 6.3A1 1 0 0 0 11.2 7.7L15.5 12L11.2 16.3A1 1 0 0 0 12.6 17.7L17.6 12.7A1 1 0 0 0 17.6 11.3L12.6 6.3Z'
85580
+ })]
85581
+ })]
85582
+ })]
85583
+ });
85584
+ };
85585
+ var VideoPlayer = function VideoPlayer(_ref3) {
85586
+ var customStyles = _ref3.customStyles,
85587
+ _ref3$startTime = _ref3.startTime,
85588
+ startTime = _ref3$startTime === void 0 ? 0 : _ref3$startTime,
85589
+ loading = _ref3.loading,
85590
+ setLoading = _ref3.setLoading,
85591
+ handleTrackProgress = _ref3.handleTrackProgress,
85592
+ url = _ref3.url,
85593
+ subtitleUrl = _ref3.subtitle,
85594
+ handleNextVideo = _ref3.handleNextVideo,
85595
+ handlePreviousVideo = _ref3.handlePreviousVideo,
85596
+ isNextVideo = _ref3.isNextVideo,
85597
+ isPreviousVideo = _ref3.isPreviousVideo,
85598
+ isPlaying = _ref3.isPlaying,
85599
+ setIsPlaying = _ref3.setIsPlaying,
85600
+ _ref3$shouldPlayerBeF = _ref3.shouldPlayerBeFocusedOnSpaceClick,
85601
+ shouldPlayerBeFocusedOnSpaceClick = _ref3$shouldPlayerBeF === void 0 ? false : _ref3$shouldPlayerBeF,
85602
+ showFavorite = _ref3.showFavorite,
85603
+ _ref3$isFavorite = _ref3.isFavorite,
85604
+ isFavorite = _ref3$isFavorite === void 0 ? false : _ref3$isFavorite,
85605
+ _ref3$toggleFavorite = _ref3.toggleFavorite,
85606
+ toggleFavorite = _ref3$toggleFavorite === void 0 ? /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
85426
85607
  return _regeneratorRuntime().wrap(function _callee$(_context) {
85427
85608
  while (1) switch (_context.prev = _context.next) {
85428
85609
  case 0:
@@ -85430,22 +85611,22 @@ var VideoPlayer = function VideoPlayer(_ref) {
85430
85611
  return _context.stop();
85431
85612
  }
85432
85613
  }, _callee);
85433
- })) : _ref$toggleFavorite,
85434
- showDownload = _ref.showDownload,
85435
- downloadUrl = _ref.downloadUrl,
85436
- downloadFileName = _ref.downloadFileName,
85437
- onDownload = _ref.onDownload,
85438
- _ref$showPictureInPic = _ref.showPictureInPicture,
85439
- showPictureInPicture = _ref$showPictureInPic === void 0 ? true : _ref$showPictureInPic,
85440
- notes = _ref.notes,
85441
- videoDuration = _ref.videoDuration,
85442
- onNoteClick = _ref.onNoteClick,
85443
- editingNote = _ref.editingNote,
85444
- onNoteEdit = _ref.onNoteEdit,
85445
- onNoteSave = _ref.onNoteSave,
85446
- onNoteDelete = _ref.onNoteDelete,
85447
- onNoteCancelEdit = _ref.onNoteCancelEdit,
85448
- onAddNote = _ref.onAddNote;
85614
+ })) : _ref3$toggleFavorite,
85615
+ showDownload = _ref3.showDownload,
85616
+ downloadUrl = _ref3.downloadUrl,
85617
+ downloadFileName = _ref3.downloadFileName,
85618
+ onDownload = _ref3.onDownload,
85619
+ _ref3$showPictureInPi = _ref3.showPictureInPicture,
85620
+ showPictureInPicture = _ref3$showPictureInPi === void 0 ? true : _ref3$showPictureInPi,
85621
+ notes = _ref3.notes,
85622
+ videoDuration = _ref3.videoDuration,
85623
+ onNoteClick = _ref3.onNoteClick,
85624
+ editingNote = _ref3.editingNote,
85625
+ onNoteEdit = _ref3.onNoteEdit,
85626
+ onNoteSave = _ref3.onNoteSave,
85627
+ onNoteDelete = _ref3.onNoteDelete,
85628
+ onNoteCancelEdit = _ref3.onNoteCancelEdit,
85629
+ onAddNote = _ref3.onAddNote;
85449
85630
  var _a, _b, _c;
85450
85631
  var videoRef = useRef(null);
85451
85632
  var overlayRef = useRef(null);
@@ -85513,7 +85694,8 @@ var VideoPlayer = function VideoPlayer(_ref) {
85513
85694
  isPiPActive = _usePlayerControls.isPiPActive,
85514
85695
  isControlsActive = _usePlayerControls.isControlsActive,
85515
85696
  currentSubtitle = _usePlayerControls.currentSubtitle,
85516
- setCurrentSubtitle = _usePlayerControls.setCurrentSubtitle;
85697
+ setCurrentSubtitle = _usePlayerControls.setCurrentSubtitle,
85698
+ keyboardIndicator = _usePlayerControls.keyboardIndicator;
85517
85699
  // Initialize PiP state on component mount/URL change
85518
85700
  useEffect(function () {
85519
85701
  // Sync PiP state with actual browser state on mount and URL changes
@@ -85573,7 +85755,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85573
85755
  }
85574
85756
  }, [onNoteClick, onNoteEdit]);
85575
85757
  var handleSaveNote = /*#__PURE__*/function () {
85576
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
85758
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
85577
85759
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
85578
85760
  while (1) switch (_context2.prev = _context2.next) {
85579
85761
  case 0:
@@ -85605,7 +85787,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85605
85787
  }, _callee2);
85606
85788
  }));
85607
85789
  return function handleSaveNote() {
85608
- return _ref3.apply(this, arguments);
85790
+ return _ref5.apply(this, arguments);
85609
85791
  };
85610
85792
  }();
85611
85793
  var handleCancelEdit = function handleCancelEdit() {
@@ -85618,7 +85800,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85618
85800
  }
85619
85801
  };
85620
85802
  var handleDeleteNote = /*#__PURE__*/function () {
85621
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
85803
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
85622
85804
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
85623
85805
  while (1) switch (_context3.prev = _context3.next) {
85624
85806
  case 0:
@@ -85643,7 +85825,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85643
85825
  }, _callee3);
85644
85826
  }));
85645
85827
  return function handleDeleteNote() {
85646
- return _ref4.apply(this, arguments);
85828
+ return _ref6.apply(this, arguments);
85647
85829
  };
85648
85830
  }();
85649
85831
  // Sync editing state when external editing note changes
@@ -85775,10 +85957,18 @@ var VideoPlayer = function VideoPlayer(_ref) {
85775
85957
  videoRef.current = videoElement;
85776
85958
  }
85777
85959
  };
85960
+ var handleWrapperInteraction = function handleWrapperInteraction() {
85961
+ var _a;
85962
+ (_a = playerContainerRef.current) === null || _a === void 0 ? void 0 : _a.focus({
85963
+ preventScroll: true
85964
+ });
85965
+ };
85778
85966
  return jsxs(StyledWrapper, {
85779
85967
  ref: playerContainerRef,
85780
85968
  tabIndex: 0,
85781
85969
  onMouseMove: mouseMoveHandler,
85970
+ onMouseDown: handleWrapperInteraction,
85971
+ onTouchStart: handleWrapperInteraction,
85782
85972
  style: customStyles,
85783
85973
  onClick: function onClick(e) {
85784
85974
  return e.stopPropagation();
@@ -85835,6 +86025,8 @@ var VideoPlayer = function VideoPlayer(_ref) {
85835
86025
  }), isSubtitlesChecked && currentSubtitle && jsx$1(StyledSubtitles, {
85836
86026
  "$controls": isControlsActive,
85837
86027
  children: currentSubtitle
86028
+ }), jsx$1(KeyboardIndicator, {
86029
+ indicator: keyboardIndicator
85838
86030
  })]
85839
86031
  }), jsx$1(StyledControlsContainer, {
85840
86032
  ref: controlRef,