suada-components 1.13.0 → 1.13.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.
Files changed (67) hide show
  1. package/dist/{DailyMotion-rqvGdm5_.js → DailyMotion-CS9GCkTI.js} +1 -1
  2. package/dist/{DailyMotion-Bys1n-xZ.esm.js → DailyMotion-DI5M6lNJ.esm.js} +1 -1
  3. package/dist/{components/Facebook-RVHHgA5E.esm.js → Facebook-B8hUIcH1.esm.js} +1 -1
  4. package/dist/{components/Facebook-DNmFNtTf.js → Facebook-WZKzPxQA.js} +1 -1
  5. package/dist/{FilePlayer-CYsQqMHR.esm.js → FilePlayer-ByNThmsf.esm.js} +1 -1
  6. package/dist/{FilePlayer-NhUi3or4.js → FilePlayer-D5XNWJfG.js} +1 -1
  7. package/dist/{components/Kaltura-CIE5wbWU.js → Kaltura-DdAjTROo.js} +1 -1
  8. package/dist/{components/Kaltura-kNe6Ek7K.esm.js → Kaltura-nAbMc-xu.esm.js} +1 -1
  9. package/dist/{components/Mixcloud-C7cSKEiW.js → Mixcloud-CihEiIWW.js} +1 -1
  10. package/dist/{components/Mixcloud-CvZFmwIB.esm.js → Mixcloud-D2tTlx6z.esm.js} +1 -1
  11. package/dist/{Mux-Yu4pAY6F.js → Mux-CT4npRfe.js} +1 -1
  12. package/dist/{components/Mux-Cfij2A1m.esm.js → Mux-DiN_sil8.esm.js} +1 -1
  13. package/dist/{components/Preview-Cj7eqGUC.js → Preview-DuuuynYu.js} +1 -1
  14. package/dist/{components/Preview-DFy5DGQd.esm.js → Preview-ka1qX1lV.esm.js} +1 -1
  15. package/dist/{components/SoundCloud-C4Kr3GdH.esm.js → SoundCloud-B6XKOCEd.esm.js} +1 -1
  16. package/dist/{components/SoundCloud-Dz5Va4Sn.js → SoundCloud-DTCuHEo9.js} +1 -1
  17. package/dist/{Streamable-CpQ7HaT9.js → Streamable-DMdFzZsD.js} +1 -1
  18. package/dist/{Streamable-BFPH1Ay2.esm.js → Streamable-nWYYA9Us.esm.js} +1 -1
  19. package/dist/{Twitch-BegfuXOf.esm.js → Twitch-9tzjRUZ_.esm.js} +1 -1
  20. package/dist/{Twitch-CteD03cv.js → Twitch-BWFNOUYx.js} +1 -1
  21. package/dist/{components/Vidyard-Cl1hincn.esm.js → Vidyard-CetOA3MN.esm.js} +1 -1
  22. package/dist/{components/Vidyard-D69CCdr8.js → Vidyard-DnqGJbh3.js} +1 -1
  23. package/dist/{components/Vimeo-B8Zq3xHR.js → Vimeo-BTWNsd7F.js} +1 -1
  24. package/dist/{components/Vimeo-CBDnOBOs.esm.js → Vimeo-C185oopP.esm.js} +1 -1
  25. package/dist/{components/Wistia-CALzuLtg.js → Wistia-BhquWkTU.js} +1 -1
  26. package/dist/{Wistia-B5F8g1pu.esm.js → Wistia-UX_r_D-s.esm.js} +1 -1
  27. package/dist/{components/YouTube-DlCOWEFH.js → YouTube-BL4m67X7.js} +1 -1
  28. package/dist/{YouTube-NL6O4kMy.esm.js → YouTube-BuCkzhVH.esm.js} +1 -1
  29. package/dist/components/{DailyMotion-Dp9YcaoI.js → DailyMotion-DjolLn_R.js} +1 -1
  30. package/dist/components/{DailyMotion-B06Y9gB8.esm.js → DailyMotion-poenrk29.esm.js} +1 -1
  31. package/dist/{Facebook-Du7Urgfo.esm.js → components/Facebook-DSeXbtjl.esm.js} +1 -1
  32. package/dist/{Facebook-CVbYp6LF.js → components/Facebook-DT-2VqK5.js} +1 -1
  33. package/dist/components/{FilePlayer-Dplr9W8L.js → FilePlayer-3U15OIRQ.js} +1 -1
  34. package/dist/components/{FilePlayer-BsAsuM8Z.esm.js → FilePlayer-DA0Ta71F.esm.js} +1 -1
  35. package/dist/{Kaltura-CRLyMQmW.esm.js → components/Kaltura-DYKbD12M.esm.js} +1 -1
  36. package/dist/{Kaltura-DN53t0W_.js → components/Kaltura-Du7yhtII.js} +1 -1
  37. package/dist/{Mixcloud-BZrD_WhU.js → components/Mixcloud-CsEgx0EA.js} +1 -1
  38. package/dist/{Mixcloud-CApcy-p4.esm.js → components/Mixcloud-ZtLdb7vr.esm.js} +1 -1
  39. package/dist/components/{Mux-Cw46iEnq.js → Mux-DN-wUxLw.js} +1 -1
  40. package/dist/{Mux-CYo5hsMF.esm.js → components/Mux-lWO-V0Kp.esm.js} +1 -1
  41. package/dist/{Preview-KVBrFdcl.js → components/Preview-Bv-PD_Ms.js} +1 -1
  42. package/dist/{Preview-DYEQj4cO.esm.js → components/Preview-EvXt4tTU.esm.js} +1 -1
  43. package/dist/{SoundCloud-Dy-Mg4dB.js → components/SoundCloud-BwHgzQKY.js} +1 -1
  44. package/dist/{SoundCloud-BOW9E_4d.esm.js → components/SoundCloud-D7Sn6Dd-.esm.js} +1 -1
  45. package/dist/components/{Streamable-BP7XU-Ko.esm.js → Streamable-BD4rbAjK.esm.js} +1 -1
  46. package/dist/components/{Streamable-CZItltpU.js → Streamable-njrpZ8KX.js} +1 -1
  47. package/dist/components/{Twitch-DZiKXJyd.js → Twitch-BeD1uFSI.js} +1 -1
  48. package/dist/components/{Twitch-_G_70MRv.esm.js → Twitch-C_-mWqaG.esm.js} +1 -1
  49. package/dist/{Vidyard-CYr_jnw0.esm.js → components/Vidyard-BPfP-qtP.esm.js} +1 -1
  50. package/dist/{Vidyard-iSFePais.js → components/Vidyard-BthbcK81.js} +1 -1
  51. package/dist/{Vimeo-Dzu25HN1.js → components/Vimeo-CnIXezkL.js} +1 -1
  52. package/dist/{Vimeo-CEVfMX_a.esm.js → components/Vimeo-q2BdOMrA.esm.js} +1 -1
  53. package/dist/components/{Wistia-Ckyb-ABO.esm.js → Wistia-Di0jiDm_.esm.js} +1 -1
  54. package/dist/{Wistia-DpJndHpA.js → components/Wistia-tm4bEFFt.js} +1 -1
  55. package/dist/{YouTube-BcG5IOYb.js → components/YouTube-Dkip2GLR.js} +1 -1
  56. package/dist/components/{YouTube-IjMfOKhk.esm.js → YouTube-TomEF3aP.esm.js} +1 -1
  57. package/dist/components/{index-BRfX5q8V.esm.js → index-CbPCmqe8.esm.js} +108 -58
  58. package/dist/components/{index-C7dTUfOU.js → index-Cermzsm7.js} +108 -58
  59. package/dist/components/index.esm.js +1 -1
  60. package/dist/components/index.js +1 -1
  61. package/dist/icons/index.esm.js +2 -2
  62. package/dist/icons/index.js +2 -2
  63. package/dist/{index-BGQSv5Xq.esm.js → index-B6VZs5bJ.esm.js} +108 -58
  64. package/dist/{index-MQnfNlyR.js → index-BUbz8ILm.js} +108 -58
  65. package/dist/index.esm.js +1 -1
  66. package/dist/index.js +1 -1
  67. package/package.json +1 -1
@@ -463,6 +463,15 @@ function _toPropertyKey(t) {
463
463
  var i = _toPrimitive(t, "string");
464
464
  return "symbol" == typeof i ? i : i + "";
465
465
  }
466
+ function _typeof$2(o) {
467
+ "@babel/helpers - typeof";
468
+
469
+ return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
470
+ return typeof o;
471
+ } : function (o) {
472
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
473
+ }, _typeof$2(o);
474
+ }
466
475
  function _unsupportedIterableToArray$1(r, a) {
467
476
  if (r) {
468
477
  if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
@@ -34982,7 +34991,7 @@ var CheckBoxIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
34982
34991
  var className = _ref.className,
34983
34992
  onClick = _ref.onClick,
34984
34993
  _ref$fill = _ref.fill,
34985
- fill = _ref$fill === void 0 ? '#68707A' : _ref$fill,
34994
+ fill = _ref$fill === void 0 ? 'currentColor' : _ref$fill,
34986
34995
  props = _objectWithoutProperties$1(_ref, _excluded$Q);
34987
34996
  return jsxs("svg", _objectSpread2$1(_objectSpread2$1({
34988
34997
  ref: ref,
@@ -35566,7 +35575,7 @@ var CheckBoxOutlineBlankIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
35566
35575
  var className = _ref.className,
35567
35576
  onClick = _ref.onClick,
35568
35577
  _ref$fill = _ref.fill,
35569
- fill = _ref$fill === void 0 ? '#68707A' : _ref$fill,
35578
+ fill = _ref$fill === void 0 ? 'currentColor' : _ref$fill,
35570
35579
  props = _objectWithoutProperties$1(_ref, _excluded$v);
35571
35580
  return jsxs("svg", _objectSpread2$1(_objectSpread2$1({
35572
35581
  ref: ref,
@@ -76882,7 +76891,7 @@ function requirePlayers () {
76882
76891
  canPlay: import_patterns.canPlay.youtube,
76883
76892
  lazyPlayer: (0, import_utils.lazy)(() => import(
76884
76893
  /* webpackChunkName: 'reactPlayerYouTube' */
76885
- './YouTube-NL6O4kMy.esm.js'
76894
+ './YouTube-BuCkzhVH.esm.js'
76886
76895
  ).then(function (n) { return n.Y; }))
76887
76896
  },
76888
76897
  {
@@ -76891,7 +76900,7 @@ function requirePlayers () {
76891
76900
  canPlay: import_patterns.canPlay.soundcloud,
76892
76901
  lazyPlayer: (0, import_utils.lazy)(() => import(
76893
76902
  /* webpackChunkName: 'reactPlayerSoundCloud' */
76894
- './SoundCloud-BOW9E_4d.esm.js'
76903
+ './SoundCloud-B6XKOCEd.esm.js'
76895
76904
  ).then(function (n) { return n.S; }))
76896
76905
  },
76897
76906
  {
@@ -76900,7 +76909,7 @@ function requirePlayers () {
76900
76909
  canPlay: import_patterns.canPlay.vimeo,
76901
76910
  lazyPlayer: (0, import_utils.lazy)(() => import(
76902
76911
  /* webpackChunkName: 'reactPlayerVimeo' */
76903
- './Vimeo-CEVfMX_a.esm.js'
76912
+ './Vimeo-C185oopP.esm.js'
76904
76913
  ).then(function (n) { return n.V; }))
76905
76914
  },
76906
76915
  {
@@ -76909,7 +76918,7 @@ function requirePlayers () {
76909
76918
  canPlay: import_patterns.canPlay.mux,
76910
76919
  lazyPlayer: (0, import_utils.lazy)(() => import(
76911
76920
  /* webpackChunkName: 'reactPlayerMux' */
76912
- './Mux-CYo5hsMF.esm.js'
76921
+ './Mux-DiN_sil8.esm.js'
76913
76922
  ).then(function (n) { return n.M; }))
76914
76923
  },
76915
76924
  {
@@ -76918,7 +76927,7 @@ function requirePlayers () {
76918
76927
  canPlay: import_patterns.canPlay.facebook,
76919
76928
  lazyPlayer: (0, import_utils.lazy)(() => import(
76920
76929
  /* webpackChunkName: 'reactPlayerFacebook' */
76921
- './Facebook-Du7Urgfo.esm.js'
76930
+ './Facebook-B8hUIcH1.esm.js'
76922
76931
  ).then(function (n) { return n.F; }))
76923
76932
  },
76924
76933
  {
@@ -76927,7 +76936,7 @@ function requirePlayers () {
76927
76936
  canPlay: import_patterns.canPlay.streamable,
76928
76937
  lazyPlayer: (0, import_utils.lazy)(() => import(
76929
76938
  /* webpackChunkName: 'reactPlayerStreamable' */
76930
- './Streamable-BFPH1Ay2.esm.js'
76939
+ './Streamable-nWYYA9Us.esm.js'
76931
76940
  ).then(function (n) { return n.S; }))
76932
76941
  },
76933
76942
  {
@@ -76936,7 +76945,7 @@ function requirePlayers () {
76936
76945
  canPlay: import_patterns.canPlay.wistia,
76937
76946
  lazyPlayer: (0, import_utils.lazy)(() => import(
76938
76947
  /* webpackChunkName: 'reactPlayerWistia' */
76939
- './Wistia-B5F8g1pu.esm.js'
76948
+ './Wistia-UX_r_D-s.esm.js'
76940
76949
  ).then(function (n) { return n.W; }))
76941
76950
  },
76942
76951
  {
@@ -76945,7 +76954,7 @@ function requirePlayers () {
76945
76954
  canPlay: import_patterns.canPlay.twitch,
76946
76955
  lazyPlayer: (0, import_utils.lazy)(() => import(
76947
76956
  /* webpackChunkName: 'reactPlayerTwitch' */
76948
- './Twitch-BegfuXOf.esm.js'
76957
+ './Twitch-9tzjRUZ_.esm.js'
76949
76958
  ).then(function (n) { return n.T; }))
76950
76959
  },
76951
76960
  {
@@ -76954,7 +76963,7 @@ function requirePlayers () {
76954
76963
  canPlay: import_patterns.canPlay.dailymotion,
76955
76964
  lazyPlayer: (0, import_utils.lazy)(() => import(
76956
76965
  /* webpackChunkName: 'reactPlayerDailyMotion' */
76957
- './DailyMotion-Bys1n-xZ.esm.js'
76966
+ './DailyMotion-DI5M6lNJ.esm.js'
76958
76967
  ).then(function (n) { return n.D; }))
76959
76968
  },
76960
76969
  {
@@ -76963,7 +76972,7 @@ function requirePlayers () {
76963
76972
  canPlay: import_patterns.canPlay.mixcloud,
76964
76973
  lazyPlayer: (0, import_utils.lazy)(() => import(
76965
76974
  /* webpackChunkName: 'reactPlayerMixcloud' */
76966
- './Mixcloud-CApcy-p4.esm.js'
76975
+ './Mixcloud-D2tTlx6z.esm.js'
76967
76976
  ).then(function (n) { return n.M; }))
76968
76977
  },
76969
76978
  {
@@ -76972,7 +76981,7 @@ function requirePlayers () {
76972
76981
  canPlay: import_patterns.canPlay.vidyard,
76973
76982
  lazyPlayer: (0, import_utils.lazy)(() => import(
76974
76983
  /* webpackChunkName: 'reactPlayerVidyard' */
76975
- './Vidyard-CYr_jnw0.esm.js'
76984
+ './Vidyard-CetOA3MN.esm.js'
76976
76985
  ).then(function (n) { return n.V; }))
76977
76986
  },
76978
76987
  {
@@ -76981,7 +76990,7 @@ function requirePlayers () {
76981
76990
  canPlay: import_patterns.canPlay.kaltura,
76982
76991
  lazyPlayer: (0, import_utils.lazy)(() => import(
76983
76992
  /* webpackChunkName: 'reactPlayerKaltura' */
76984
- './Kaltura-CRLyMQmW.esm.js'
76993
+ './Kaltura-nAbMc-xu.esm.js'
76985
76994
  ).then(function (n) { return n.K; }))
76986
76995
  },
76987
76996
  {
@@ -76993,7 +77002,7 @@ function requirePlayers () {
76993
77002
  },
76994
77003
  lazyPlayer: (0, import_utils.lazy)(() => import(
76995
77004
  /* webpackChunkName: 'reactPlayerFilePlayer' */
76996
- './FilePlayer-CYsQqMHR.esm.js'
77005
+ './FilePlayer-ByNThmsf.esm.js'
76997
77006
  ).then(function (n) { return n.F; }))
76998
77007
  }
76999
77008
  ];
@@ -77814,7 +77823,7 @@ function requireReactPlayer () {
77814
77823
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
77815
77824
  const Preview = (0, import_utils.lazy)(() => import(
77816
77825
  /* webpackChunkName: 'reactPlayerPreview' */
77817
- './Preview-DYEQj4cO.esm.js'
77826
+ './Preview-ka1qX1lV.esm.js'
77818
77827
  ).then(function (n) { return n.P; }));
77819
77828
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
77820
77829
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -78057,83 +78066,90 @@ var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
78057
78066
  };
78058
78067
 
78059
78068
  var _templateObject$8, _templateObject2$6, _templateObject3$3, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
78060
- var StyledControls = dt.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n /* Responsive padding adjustments */\n @media screen and (max-width: 768px) {\n padding: 8px 12px;\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n padding: 6px 8px;\n gap: 8px;\n }\n\n svg {\n cursor: pointer;\n transition: transform 0.2s ease, fill 0.2s ease;\n\n /* Desktop and large screens */\n @media screen and (min-width: 1501px) {\n width: 24px;\n height: 24px;\n }\n\n /* Medium to large screens */\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n /* Small to medium screens */\n @media screen and (max-width: 1000px) {\n width: 18px;\n height: 18px;\n }\n\n /* Tablet screens */\n @media screen and (max-width: 768px) {\n width: 20px;\n height: 20px;\n }\n\n /* Mobile screens */\n @media screen and (max-width: 480px) {\n width: 18px;\n height: 18px;\n }\n\n /* Very small mobile screens */\n @media screen and (max-width: 320px) {\n width: 16px;\n height: 16px;\n }\n\n &:hover {\n transform: scale(1.1);\n \n path {\n fill: ", ";\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), function (_ref) {
78069
+ var StyledControls = dt.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n /* Responsive padding adjustments */\n @media screen and (max-width: 768px) {\n padding: 8px 12px;\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n padding: 6px 8px;\n gap: 8px;\n }\n\n svg {\n cursor: pointer;\n transition: transform 0.2s ease, fill 0.2s ease;\n\n /* Desktop and large screens */\n @media screen and (min-width: 1501px) {\n width: 24px;\n height: 24px;\n }\n\n /* Medium to large screens */\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n /* Small to medium screens */\n @media screen and (max-width: 1000px) {\n width: 18px;\n height: 18px;\n }\n\n /* Tablet screens */\n @media screen and (max-width: 768px) {\n width: 20px;\n height: 20px;\n }\n\n /* Mobile screens */\n @media screen and (max-width: 480px) {\n width: 18px;\n height: 18px;\n }\n\n /* Very small mobile screens */\n @media screen and (max-width: 320px) {\n width: 16px;\n height: 16px;\n }\n\n &:hover {\n transform: scale(1.1);\n \n path {\n fill: ", " !important;\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), function (_ref) {
78061
78070
  var theme = _ref.theme;
78062
- var _a, _b, _c;
78071
+ var _a, _b;
78063
78072
  // Handle different theme structures
78064
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78065
- return theme.colors.primary.main;
78073
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78074
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78066
78075
  }
78067
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78068
- return theme.colors.primary;
78076
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78077
+ return theme.colors.primary; // suada-students structure
78069
78078
  }
78070
- return 'var(--brand-colors-accent)';
78079
+ return 'var(--brand-colors-accent, #08C694)'; // fallback
78071
78080
  }, {
78072
78081
  fontStyle: 'descriptor'
78073
78082
  });
78074
78083
  var StyledSlider = dt.input(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral$1(["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n /* Enhanced mobile touch target */\n @media (hover: none) and (pointer: coarse) {\n height: 4px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n border: none;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n /* Enhance visibility on focus for accessibility */\n &:focus {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"])), function (_ref2) {
78075
78084
  var value = _ref2.value,
78076
78085
  theme = _ref2.theme;
78077
- var _a, _b, _c;
78086
+ var _a, _b;
78078
78087
  // Handle different theme structures
78079
78088
  var primaryColor = 'var(--brand-colors-accent)';
78080
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78081
- primaryColor = theme.colors.primary.main;
78082
- } else if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78083
- primaryColor = theme.colors.primary;
78089
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78090
+ primaryColor = theme.colors.primary.main || '#08C694'; // suada-components structure
78091
+ } else if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78092
+ primaryColor = theme.colors.primary; // suada-students structure
78084
78093
  }
78085
78094
  return "linear-gradient(\n to right,\n ".concat(primaryColor, " 0%,\n ").concat(primaryColor, " ").concat(value, "%,\n var(--level-dark-200) ").concat(value, "%,\n var(--level-dark-200) 100%\n )");
78086
78095
  }, function (_ref3) {
78087
78096
  var theme = _ref3.theme;
78088
78097
  var _a, _b;
78089
- return ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) || 'var(--brand-colors-accent)';
78098
+ // Handle different theme structures
78099
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78100
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78101
+ }
78102
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78103
+ return theme.colors.primary; // suada-students structure
78104
+ }
78105
+ return 'var(--brand-colors-accent)'; // fallback
78090
78106
  }, function (_ref4) {
78091
78107
  var theme = _ref4.theme;
78092
- var _a, _b, _c;
78108
+ var _a, _b;
78093
78109
  // Handle different theme structures
78094
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78095
- return theme.colors.primary.main;
78110
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78111
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78096
78112
  }
78097
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78098
- return theme.colors.primary;
78113
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78114
+ return theme.colors.primary; // suada-students structure
78099
78115
  }
78100
- return 'var(--brand-colors-accent)';
78116
+ return 'var(--brand-colors-accent)'; // fallback
78101
78117
  });
78102
78118
  var StyledVolumeWrapper = dt.div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral$1(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n & > svg {\n cursor: pointer;\n }\n\n & > input {\n display: none;\n }\n\n &:hover > input {\n display: block;\n }\n\n /* Always show volume slider on touch devices */\n @media (hover: none) and (pointer: coarse) {\n & > input {\n display: block;\n }\n }\n\n /* Hide volume slider on very small screens */\n @media screen and (max-width: 320px) {\n & > input {\n display: none !important;\n }\n }\n"])));
78103
78119
  var StyledVolumeSlider = dt.input(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral$1(["\n width: 100px;\n height: 4px;\n border-radius: 5px;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n\n /* Responsive width adjustments */\n @media screen and (max-width: 768px) {\n width: 80px;\n }\n\n @media screen and (max-width: 480px) {\n width: 60px;\n }\n\n @media screen and (max-width: 320px) {\n width: 50px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n border: none;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n"])), function (_ref5) {
78104
78120
  var value = _ref5.value,
78105
78121
  theme = _ref5.theme;
78106
- var _a, _b, _c;
78122
+ var _a, _b;
78107
78123
  // Handle different theme structures
78108
78124
  var primaryColor = 'var(--neutral-colors-light)';
78109
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78110
- primaryColor = theme.colors.primary.main;
78111
- } else if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78112
- primaryColor = theme.colors.primary;
78125
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78126
+ primaryColor = theme.colors.primary.main || '#08C694'; // suada-components structure
78127
+ } else if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78128
+ primaryColor = theme.colors.primary; // suada-students structure
78113
78129
  }
78114
78130
  return "linear-gradient(\n to right,\n ".concat(primaryColor, " 0%,\n ").concat(primaryColor, " ").concat(value, "%,\n var(--level-grey-500) ").concat(value, "%,\n var(--level-grey-500) 100%\n )");
78115
78131
  }, function (_ref6) {
78116
78132
  var theme = _ref6.theme;
78117
- var _a, _b, _c;
78133
+ var _a, _b;
78118
78134
  // Handle different theme structures
78119
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78120
- return theme.colors.primary.main;
78135
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78136
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78121
78137
  }
78122
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78123
- return theme.colors.primary;
78138
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78139
+ return theme.colors.primary; // suada-students structure
78124
78140
  }
78125
- return 'var(--neutral-colors-light)';
78141
+ return 'var(--neutral-colors-light)'; // fallback
78126
78142
  }, function (_ref7) {
78127
78143
  var theme = _ref7.theme;
78128
- var _a, _b, _c;
78144
+ var _a, _b;
78129
78145
  // Handle different theme structures
78130
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78131
- return theme.colors.primary.main;
78146
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78147
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78132
78148
  }
78133
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78134
- return theme.colors.primary;
78149
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78150
+ return theme.colors.primary; // suada-students structure
78135
78151
  }
78136
- return 'var(--neutral-colors-light)';
78152
+ return 'var(--neutral-colors-light)'; // fallback
78137
78153
  });
78138
78154
  var StyledControllerLeft = dt.div(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n \n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n /* Hide rewind/forward controls on very small screens */\n @media screen and (max-width: 480px) {\n .rewind-control,\n .forward-control {\n display: none;\n }\n }\n"])));
78139
78155
  var StyledControllerRight = dt.div(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n \n /* Hide less essential controls on mobile */\n .skip-control,\n .favorite-control,\n .download-control {\n display: none;\n }\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
@@ -78141,17 +78157,51 @@ var StyledTimeTrack = dt.div(_templateObject7 || (_templateObject7 = _taggedTemp
78141
78157
  fontStyle: 'descriptor'
78142
78158
  });
78143
78159
  // Base styles for icon containers
78144
- var BaseIconContainer = dt.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n min-width: 24px;\n min-height: 24px;\n border-radius: 4px;\n transition: background-color 0.2s ease, transform 0.1s ease;\n\n /* Enhanced touch targets for mobile */\n @media (hover: none) and (pointer: coarse) {\n min-width: 32px;\n min-height: 32px;\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n \n & > svg > path {\n fill: ", " !important;\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n /* Focus styles for accessibility */\n &:focus-visible {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"])), function (props) {
78145
- var _a, _b, _c;
78146
- return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || '#08C694';
78160
+ var BaseIconContainer = dt.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n min-width: 24px;\n min-height: 24px;\n border-radius: 4px;\n transition: background-color 0.2s ease, transform 0.1s ease;\n\n /* Enhanced touch targets for mobile */\n @media (hover: none) and (pointer: coarse) {\n min-width: 32px;\n min-height: 32px;\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n \n & > svg > path {\n fill: ", " !important;\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n /* Focus styles for accessibility */\n &:focus-visible {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"])), function (_ref8) {
78161
+ var theme = _ref8.theme;
78162
+ var _a, _b;
78163
+ // Handle different theme structures
78164
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78165
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78166
+ }
78167
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78168
+ return theme.colors.primary; // suada-students structure
78169
+ }
78170
+ return 'var(--video-player-primary-color, #08C694)'; // fallback
78147
78171
  });
78148
78172
  var StyledHeartIconContainer = dt(BaseIconContainer)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78149
78173
  var StyledDownloadIconContainer = dt(BaseIconContainer)(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral$1(["\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 @media screen and (max-width: 768px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 480px) {\n width: 18px !important;\n height: 18px !important;\n }\n }\n"])));
78150
78174
  var StyledSubtitlesIconContainer = dt(BaseIconContainer)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78151
78175
  var StyledFullscreenIconContainer = dt(BaseIconContainer)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78152
- var StyledPictureInPictureIconContainer = dt(BaseIconContainer)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral$1(["\n &.pip-active {\n background-color: rgba(8, 198, 148, 0.2);\n \n & > svg > path {\n fill: ", " !important;\n }\n }\n"])), function (props) {
78153
- var _a, _b, _c;
78154
- return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || '#08C694';
78176
+ var StyledPictureInPictureIconContainer = dt(BaseIconContainer)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral$1(["\n &.pip-active {\n background-color: ", ";\n \n & > svg > path {\n fill: ", " !important;\n }\n }\n"])), function (_ref9) {
78177
+ var theme = _ref9.theme;
78178
+ var _a, _b;
78179
+ // Handle different theme structures for background color (with opacity)
78180
+ var primaryColor;
78181
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78182
+ primaryColor = theme.colors.primary.main || '#08C694'; // suada-components structure
78183
+ } else if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78184
+ primaryColor = theme.colors.primary; // suada-students structure
78185
+ } else {
78186
+ primaryColor = '#08C694'; // fallback
78187
+ }
78188
+ // Convert hex to rgba with opacity
78189
+ var hex = primaryColor.replace('#', '');
78190
+ var r = parseInt(hex.substr(0, 2), 16);
78191
+ var g = parseInt(hex.substr(2, 2), 16);
78192
+ var b = parseInt(hex.substr(4, 2), 16);
78193
+ return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", 0.2)");
78194
+ }, function (_ref10) {
78195
+ var theme = _ref10.theme;
78196
+ var _a, _b;
78197
+ // Handle different theme structures
78198
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78199
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78200
+ }
78201
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78202
+ return theme.colors.primary; // suada-students structure
78203
+ }
78204
+ return 'var(--video-player-primary-color, #08C694)'; // fallback
78155
78205
  });
78156
78206
  var StyledVolumeIconContainer = dt(BaseIconContainer)(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78157
78207
  var StyledPlayPauseIconContainer = dt(BaseIconContainer)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));