@mottosports/motto-video-player 1.0.1-rc.75 → 1.0.1-rc.76

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/index.js CHANGED
@@ -490,7 +490,7 @@ var supportsWidevinePersistentLicenses = () => {
490
490
  var import_mux_data_shakaplayer = __toESM(require("@mux/mux-data-shakaplayer"));
491
491
 
492
492
  // package.json
493
- var version = "1.0.1-rc.75";
493
+ var version = "1.0.1-rc.76";
494
494
 
495
495
  // src/utils/licenseCache.ts
496
496
  var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
@@ -2029,7 +2029,7 @@ var useAdEvents = (playerRef, handlers) => {
2029
2029
  // src/components/Loading.tsx
2030
2030
  var import_tailwind_merge = require("tailwind-merge");
2031
2031
  var import_jsx_runtime4 = require("react/jsx-runtime");
2032
- var Loading = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
2032
+ var Loading = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2033
2033
  "div",
2034
2034
  {
2035
2035
  className: (0, import_tailwind_merge.twMerge)(
@@ -2037,38 +2037,35 @@ var Loading = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
2037
2037
  className
2038
2038
  ),
2039
2039
  role: "status",
2040
- children: [
2041
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "shaka-spinner-container flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2042
- "svg",
2043
- {
2044
- className: "shaka-spinner-svg animate-spin h-12 w-12",
2045
- viewBox: "0 0 64 64",
2046
- xmlns: "http://www.w3.org/2000/svg",
2047
- children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2048
- "circle",
2049
- {
2050
- className: "shaka-spinner-path",
2051
- cx: "32",
2052
- cy: "32",
2053
- r: "28",
2054
- strokeWidth: "4",
2055
- strokeLinecap: "round",
2056
- stroke: "currentColor",
2057
- fill: "none",
2058
- strokeDasharray: "176",
2059
- strokeDashoffset: "120"
2060
- }
2061
- )
2062
- }
2063
- ) }),
2064
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "sr-only", children: "Loading..." })
2065
- ]
2040
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: " flex justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2041
+ "svg",
2042
+ {
2043
+ className: "shaka-spinner-svg animate-spin h-12 w-12",
2044
+ viewBox: "0 0 64 64",
2045
+ xmlns: "http://www.w3.org/2000/svg",
2046
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2047
+ "circle",
2048
+ {
2049
+ className: "shaka-spinner-path",
2050
+ cx: "32",
2051
+ cy: "32",
2052
+ r: "28",
2053
+ strokeWidth: "4",
2054
+ strokeLinecap: "round",
2055
+ stroke: "currentColor",
2056
+ fill: "none",
2057
+ strokeDasharray: "176",
2058
+ strokeDashoffset: "120"
2059
+ }
2060
+ )
2061
+ }
2062
+ ) })
2066
2063
  }
2067
2064
  );
2068
2065
 
2069
2066
  // src/components/ErrorScreen.tsx
2070
2067
  var import_jsx_runtime5 = require("react/jsx-runtime");
2071
- var ErrorScreen = ({ title, description }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "w-full h-full md:rounded-2xl! aspect-video bg-black", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "bg-[#151515] text-white w-full h-full flex justify-stretch items-center", children: [
2068
+ var ErrorScreen = ({ title, description }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "w-full h-full md:rounded-2xl! aspect-video bg-black flex", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "bg-[#151515] text-white w-full h-full flex justify-center items-center", children: [
2072
2069
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2073
2070
  "svg",
2074
2071
  {
@@ -3383,7 +3380,7 @@ function PreEvent({
3383
3380
  const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
3384
3381
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "grid grid-flow-col gap-1 md:gap-5 text-center auto-cols-max", children: [
3385
3382
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3386
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "font-mono text-lg md:text-5xl leading-none", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3383
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "font-mono text-lg md:text-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3387
3384
  "span",
3388
3385
  {
3389
3386
  "aria-live": "polite",