@mottosports/motto-video-player 1.0.1-rc.42 → 1.0.1-rc.44
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 +6 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1151,15 +1151,14 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
const isMacOS = /Mac OS X|Macintosh/.test(userAgent);
|
|
1153
1153
|
const isWindows = /Windows/.test(userAgent);
|
|
1154
|
-
|
|
1155
|
-
return isMacOS || isWindows || isAndroid;
|
|
1154
|
+
return isMacOS || isWindows;
|
|
1156
1155
|
};
|
|
1157
1156
|
|
|
1158
1157
|
// src/hooks/useShakaPlayer.ts
|
|
1159
1158
|
import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
|
|
1160
1159
|
|
|
1161
1160
|
// package.json
|
|
1162
|
-
var version = "1.0.1-rc.
|
|
1161
|
+
var version = "1.0.1-rc.44";
|
|
1163
1162
|
|
|
1164
1163
|
// src/utils/licenseCache.ts
|
|
1165
1164
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -4580,13 +4579,12 @@ function PreEvent({
|
|
|
4580
4579
|
const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
|
|
4581
4580
|
return /* @__PURE__ */ jsxs8("div", { className: "grid grid-flow-col gap-5 text-center auto-cols-max", children: [
|
|
4582
4581
|
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
|
|
4583
|
-
/* @__PURE__ */ jsx10("span", { className: "
|
|
4582
|
+
/* @__PURE__ */ jsx10("span", { className: "font-mono text-5xl", children: /* @__PURE__ */ jsx10(
|
|
4584
4583
|
"span",
|
|
4585
4584
|
{
|
|
4586
|
-
style: { "--value": days },
|
|
4587
4585
|
"aria-live": "polite",
|
|
4588
4586
|
"aria-label": days.toString(),
|
|
4589
|
-
children: days
|
|
4587
|
+
children: days.toString()
|
|
4590
4588
|
}
|
|
4591
4589
|
) }),
|
|
4592
4590
|
/* @__PURE__ */ jsx10("span", { className: "text-sm uppercase tracking-widest mt-1", children: t("DAYS") })
|
|
@@ -4930,13 +4928,12 @@ function PreCreativeWork({
|
|
|
4930
4928
|
const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
|
|
4931
4929
|
return /* @__PURE__ */ jsxs9("div", { className: "grid grid-flow-col gap-5 text-center auto-cols-max", children: [
|
|
4932
4930
|
/* @__PURE__ */ jsxs9("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
|
|
4933
|
-
/* @__PURE__ */ jsx11("span", { className: "
|
|
4931
|
+
/* @__PURE__ */ jsx11("span", { className: "font-mono text-5xl", children: /* @__PURE__ */ jsx11(
|
|
4934
4932
|
"span",
|
|
4935
4933
|
{
|
|
4936
|
-
style: { "--value": days },
|
|
4937
4934
|
"aria-live": "polite",
|
|
4938
4935
|
"aria-label": days.toString(),
|
|
4939
|
-
children: days
|
|
4936
|
+
children: days.toString()
|
|
4940
4937
|
}
|
|
4941
4938
|
) }),
|
|
4942
4939
|
/* @__PURE__ */ jsx11("span", { className: "text-sm uppercase tracking-widest mt-1", children: t("DAYS") })
|