@evercam/ui 0.0.22-beta.1 → 0.0.23
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.mjs +402 -385
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/EVideoPlayer.vue.d.ts +8 -6
- package/dist/src/index.d.ts +7 -5
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
var w = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(w || {}),
|
|
3
|
-
const
|
|
1
|
+
import V from "vue";
|
|
2
|
+
var w = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(w || {}), L = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(L || {});
|
|
3
|
+
const Pe = V.extend({
|
|
4
4
|
name: "EBadge",
|
|
5
5
|
props: {
|
|
6
6
|
text: {
|
|
@@ -9,7 +9,7 @@ const $e = U.extend({
|
|
|
9
9
|
},
|
|
10
10
|
color: {
|
|
11
11
|
type: String,
|
|
12
|
-
default:
|
|
12
|
+
default: L.default
|
|
13
13
|
},
|
|
14
14
|
size: {
|
|
15
15
|
type: String,
|
|
@@ -19,12 +19,12 @@ const $e = U.extend({
|
|
|
19
19
|
data() {
|
|
20
20
|
return {
|
|
21
21
|
colors: {
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
22
|
+
[L.error]: "e-bg-rose-500 e-text-white",
|
|
23
|
+
[L.info]: "e-bg-cyan-500 e-text-white",
|
|
24
|
+
[L.warning]: "e-bg-amber-500 e-text-white",
|
|
25
|
+
[L.primary]: "e-bg-sky-500 e-text-white",
|
|
26
|
+
[L.default]: "e-bg-slate-300 e-text-white",
|
|
27
|
+
[L.success]: "e-bg-lime-500 e-text-white"
|
|
28
28
|
},
|
|
29
29
|
sizes: {
|
|
30
30
|
[w.dot]: "e-w-2 e-h-2",
|
|
@@ -38,7 +38,7 @@ const $e = U.extend({
|
|
|
38
38
|
},
|
|
39
39
|
computed: {
|
|
40
40
|
badgeClasses() {
|
|
41
|
-
const e = this.colors[this.color] || this.colors[
|
|
41
|
+
const e = this.colors[this.color] || this.colors[L.default], t = this.sizes[this.size] || this.sizes[w.md];
|
|
42
42
|
return [
|
|
43
43
|
"e-flex e-items-center e-justify-center e-rounded-full",
|
|
44
44
|
e,
|
|
@@ -67,8 +67,8 @@ function W(e, t, r, o, s, l, i, v) {
|
|
|
67
67
|
if (a.functional) {
|
|
68
68
|
a._injectStyles = n;
|
|
69
69
|
var p = a.render;
|
|
70
|
-
a.render = function(
|
|
71
|
-
return n.call(h), p(
|
|
70
|
+
a.render = function(S, h) {
|
|
71
|
+
return n.call(h), p(S, h);
|
|
72
72
|
};
|
|
73
73
|
} else {
|
|
74
74
|
var g = a.beforeCreate;
|
|
@@ -82,20 +82,20 @@ function W(e, t, r, o, s, l, i, v) {
|
|
|
82
82
|
var Oe = function() {
|
|
83
83
|
var t = this, r = t._self._c;
|
|
84
84
|
return r("span", { staticClass: "e-badge", class: t.badgeClasses }, [t.showText ? r("span", [t._v(t._s(t.text))]) : t._e()]);
|
|
85
|
-
},
|
|
86
|
-
|
|
85
|
+
}, Ae = [], Fe = /* @__PURE__ */ W(
|
|
86
|
+
Pe,
|
|
87
87
|
Oe,
|
|
88
|
-
|
|
88
|
+
Ae,
|
|
89
89
|
!1,
|
|
90
90
|
null,
|
|
91
91
|
null,
|
|
92
92
|
null,
|
|
93
93
|
null
|
|
94
94
|
);
|
|
95
|
-
const
|
|
95
|
+
const se = Fe.exports, ze = V.extend({
|
|
96
96
|
name: "EAvatar",
|
|
97
97
|
components: {
|
|
98
|
-
Badge:
|
|
98
|
+
Badge: se
|
|
99
99
|
},
|
|
100
100
|
props: {
|
|
101
101
|
size: {
|
|
@@ -108,7 +108,7 @@ const ae = Ae.exports, Fe = U.extend({
|
|
|
108
108
|
},
|
|
109
109
|
badgeColor: {
|
|
110
110
|
type: String,
|
|
111
|
-
default:
|
|
111
|
+
default: L.error
|
|
112
112
|
},
|
|
113
113
|
badgeText: {
|
|
114
114
|
type: String,
|
|
@@ -144,28 +144,28 @@ const ae = Ae.exports, Fe = U.extend({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
|
-
var
|
|
147
|
+
var Te = function() {
|
|
148
148
|
var t = this, r = t._self._c;
|
|
149
149
|
return r("div", { staticClass: "e-avatar e-relative", class: t.avatarClasses }, [t._t("default", function() {
|
|
150
150
|
return [t.image ? r("img", { staticClass: "e-avatar__image e-w-full e-h-full e-object-cover e-rounded-full", attrs: { src: t.image } }) : t._e()];
|
|
151
151
|
}), t.showBadge ? r("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [t._t("badge", function() {
|
|
152
152
|
return [r("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
|
|
153
153
|
})], 2) : t._e()], 2);
|
|
154
|
-
},
|
|
155
|
-
Fe,
|
|
154
|
+
}, je = [], Me = /* @__PURE__ */ W(
|
|
156
155
|
ze,
|
|
157
|
-
|
|
156
|
+
Te,
|
|
157
|
+
je,
|
|
158
158
|
!1,
|
|
159
159
|
null,
|
|
160
160
|
null,
|
|
161
161
|
null,
|
|
162
162
|
null
|
|
163
163
|
);
|
|
164
|
-
const Le =
|
|
165
|
-
function
|
|
164
|
+
const Le = Me.exports;
|
|
165
|
+
function De(e) {
|
|
166
166
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
167
167
|
}
|
|
168
|
-
var
|
|
168
|
+
var oe = {}, le = {}, Z = {};
|
|
169
169
|
(function(e) {
|
|
170
170
|
Object.defineProperty(e, "__esModule", {
|
|
171
171
|
value: !0
|
|
@@ -191,8 +191,8 @@ var se = {}, oe = {}, J = {};
|
|
|
191
191
|
if (r.includes(`${s}(`))
|
|
192
192
|
return `calc(${r} * -1)`;
|
|
193
193
|
}
|
|
194
|
-
})(
|
|
195
|
-
var
|
|
194
|
+
})(Z);
|
|
195
|
+
var ue = {};
|
|
196
196
|
(function(e) {
|
|
197
197
|
Object.defineProperty(e, "__esModule", {
|
|
198
198
|
value: !0
|
|
@@ -379,8 +379,8 @@ var le = {};
|
|
|
379
379
|
"willChange",
|
|
380
380
|
"content"
|
|
381
381
|
];
|
|
382
|
-
})(
|
|
383
|
-
var
|
|
382
|
+
})(ue);
|
|
383
|
+
var ce = {};
|
|
384
384
|
(function(e) {
|
|
385
385
|
Object.defineProperty(e, "__esModule", {
|
|
386
386
|
value: !0
|
|
@@ -395,13 +395,13 @@ var ue = {};
|
|
|
395
395
|
...new Set(o.filter((l) => r !== !1 && r[l] !== !1).concat(Object.keys(r).filter((l) => r[l] !== !1)))
|
|
396
396
|
];
|
|
397
397
|
}
|
|
398
|
-
})(
|
|
399
|
-
var Q = {},
|
|
398
|
+
})(ce);
|
|
399
|
+
var Q = {}, H = {}, ee = { exports: {} }, F = String, de = function() {
|
|
400
400
|
return { isColorSupported: !1, reset: F, bold: F, dim: F, italic: F, underline: F, inverse: F, hidden: F, strikethrough: F, black: F, red: F, green: F, yellow: F, blue: F, magenta: F, cyan: F, white: F, gray: F, bgBlack: F, bgRed: F, bgGreen: F, bgYellow: F, bgBlue: F, bgMagenta: F, bgCyan: F, bgWhite: F };
|
|
401
401
|
};
|
|
402
|
-
ee.exports =
|
|
403
|
-
ee.exports.createColors =
|
|
404
|
-
var
|
|
402
|
+
ee.exports = de();
|
|
403
|
+
ee.exports.createColors = de;
|
|
404
|
+
var fe = ee.exports;
|
|
405
405
|
(function(e) {
|
|
406
406
|
Object.defineProperty(e, "__esModule", {
|
|
407
407
|
value: !0
|
|
@@ -421,7 +421,7 @@ var de = ee.exports;
|
|
|
421
421
|
return v;
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
const r = /* @__PURE__ */ o(
|
|
424
|
+
const r = /* @__PURE__ */ o(fe);
|
|
425
425
|
function o(a) {
|
|
426
426
|
return a && a.__esModule ? a : {
|
|
427
427
|
default: a
|
|
@@ -460,7 +460,7 @@ var de = ee.exports;
|
|
|
460
460
|
]);
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
|
-
})(
|
|
463
|
+
})(H);
|
|
464
464
|
(function(e) {
|
|
465
465
|
Object.defineProperty(e, "__esModule", {
|
|
466
466
|
value: !0
|
|
@@ -470,7 +470,7 @@ var de = ee.exports;
|
|
|
470
470
|
return s;
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
|
-
const t = /* @__PURE__ */ r(
|
|
473
|
+
const t = /* @__PURE__ */ r(H);
|
|
474
474
|
function r(l) {
|
|
475
475
|
return l && l.__esModule ? l : {
|
|
476
476
|
default: l
|
|
@@ -811,7 +811,7 @@ var de = ee.exports;
|
|
|
811
811
|
}
|
|
812
812
|
};
|
|
813
813
|
})(Q);
|
|
814
|
-
var
|
|
814
|
+
var pe = {};
|
|
815
815
|
(function(e) {
|
|
816
816
|
Object.defineProperty(e, "__esModule", {
|
|
817
817
|
value: !0
|
|
@@ -834,8 +834,8 @@ var fe = {};
|
|
|
834
834
|
}
|
|
835
835
|
return r;
|
|
836
836
|
}
|
|
837
|
-
})(
|
|
838
|
-
var
|
|
837
|
+
})(pe);
|
|
838
|
+
var me = {};
|
|
839
839
|
(function(e) {
|
|
840
840
|
Object.defineProperty(e, "__esModule", {
|
|
841
841
|
value: !0
|
|
@@ -853,17 +853,17 @@ var pe = {};
|
|
|
853
853
|
throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
|
|
854
854
|
return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
855
855
|
}
|
|
856
|
-
})(
|
|
857
|
-
var
|
|
856
|
+
})(me);
|
|
857
|
+
var ge = {}, G = {};
|
|
858
858
|
(function(e) {
|
|
859
859
|
Object.defineProperty(e, "__esModule", {
|
|
860
860
|
value: !0
|
|
861
861
|
});
|
|
862
862
|
function t(g, d) {
|
|
863
|
-
for (var
|
|
864
|
-
Object.defineProperty(g,
|
|
863
|
+
for (var S in d)
|
|
864
|
+
Object.defineProperty(g, S, {
|
|
865
865
|
enumerable: !0,
|
|
866
|
-
get: d[
|
|
866
|
+
get: d[S]
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
869
|
t(e, {
|
|
@@ -877,7 +877,7 @@ var me = {}, q = {};
|
|
|
877
877
|
return p;
|
|
878
878
|
}
|
|
879
879
|
});
|
|
880
|
-
const r = /* @__PURE__ */ s(
|
|
880
|
+
const r = /* @__PURE__ */ s(fe), o = /* @__PURE__ */ s(H);
|
|
881
881
|
function s(g) {
|
|
882
882
|
return g && g.__esModule ? g : {
|
|
883
883
|
default: g
|
|
@@ -906,12 +906,12 @@ var me = {}, q = {};
|
|
|
906
906
|
};
|
|
907
907
|
function v(g, d) {
|
|
908
908
|
if (i.future.includes(d)) {
|
|
909
|
-
var
|
|
910
|
-
return g.future === "all" || ((
|
|
909
|
+
var S, h, $;
|
|
910
|
+
return g.future === "all" || (($ = (h = g == null || (S = g.future) === null || S === void 0 ? void 0 : S[d]) !== null && h !== void 0 ? h : l[d]) !== null && $ !== void 0 ? $ : !1);
|
|
911
911
|
}
|
|
912
912
|
if (i.experimental.includes(d)) {
|
|
913
|
-
var
|
|
914
|
-
return g.experimental === "all" || ((
|
|
913
|
+
var P, z, T;
|
|
914
|
+
return g.experimental === "all" || ((T = (z = g == null || (P = g.experimental) === null || P === void 0 ? void 0 : P[d]) !== null && z !== void 0 ? z : l[d]) !== null && T !== void 0 ? T : !1);
|
|
915
915
|
}
|
|
916
916
|
return !1;
|
|
917
917
|
}
|
|
@@ -919,11 +919,11 @@ var me = {}, q = {};
|
|
|
919
919
|
if (g.experimental === "all")
|
|
920
920
|
return i.experimental;
|
|
921
921
|
var d;
|
|
922
|
-
return Object.keys((d = g == null ? void 0 : g.experimental) !== null && d !== void 0 ? d : {}).filter((
|
|
922
|
+
return Object.keys((d = g == null ? void 0 : g.experimental) !== null && d !== void 0 ? d : {}).filter((S) => i.experimental.includes(S) && g.experimental[S]);
|
|
923
923
|
}
|
|
924
924
|
function n(g) {
|
|
925
925
|
if (process.env.JEST_WORKER_ID === void 0 && a(g).length > 0) {
|
|
926
|
-
let d = a(g).map((
|
|
926
|
+
let d = a(g).map((S) => r.default.yellow(S)).join(", ");
|
|
927
927
|
o.default.warn("experimental-flags-enabled", [
|
|
928
928
|
`You have enabled experimental features: ${d}`,
|
|
929
929
|
"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
|
|
@@ -931,7 +931,7 @@ var me = {}, q = {};
|
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
const p = i;
|
|
934
|
-
})(
|
|
934
|
+
})(G);
|
|
935
935
|
(function(e) {
|
|
936
936
|
Object.defineProperty(e, "__esModule", {
|
|
937
937
|
value: !0
|
|
@@ -941,7 +941,7 @@ var me = {}, q = {};
|
|
|
941
941
|
return l;
|
|
942
942
|
}
|
|
943
943
|
});
|
|
944
|
-
const t =
|
|
944
|
+
const t = G, r = /* @__PURE__ */ s(H);
|
|
945
945
|
function o(i) {
|
|
946
946
|
if (typeof WeakMap != "function")
|
|
947
947
|
return null;
|
|
@@ -1043,29 +1043,29 @@ var me = {}, q = {};
|
|
|
1043
1043
|
})(),
|
|
1044
1044
|
extract: (() => {
|
|
1045
1045
|
let n = (() => {
|
|
1046
|
-
var d,
|
|
1047
|
-
return !((d = i.purge) === null || d === void 0) && d.extract ? i.purge.extract : !((
|
|
1046
|
+
var d, S, h, $, P, z, T, A, j, M;
|
|
1047
|
+
return !((d = i.purge) === null || d === void 0) && d.extract ? i.purge.extract : !((S = i.content) === null || S === void 0) && S.extract ? i.content.extract : !((h = i.purge) === null || h === void 0 || ($ = h.extract) === null || $ === void 0) && $.DEFAULT ? i.purge.extract.DEFAULT : !((P = i.content) === null || P === void 0 || (z = P.extract) === null || z === void 0) && z.DEFAULT ? i.content.extract.DEFAULT : !((T = i.purge) === null || T === void 0 || (A = T.options) === null || A === void 0) && A.extractors ? i.purge.options.extractors : !((j = i.content) === null || j === void 0 || (M = j.options) === null || M === void 0) && M.extractors ? i.content.options.extractors : {};
|
|
1048
1048
|
})(), p = {}, g = (() => {
|
|
1049
|
-
var d,
|
|
1050
|
-
if (!((d = i.purge) === null || d === void 0 || (
|
|
1049
|
+
var d, S, h, $;
|
|
1050
|
+
if (!((d = i.purge) === null || d === void 0 || (S = d.options) === null || S === void 0) && S.defaultExtractor)
|
|
1051
1051
|
return i.purge.options.defaultExtractor;
|
|
1052
|
-
if (!((h = i.content) === null || h === void 0 || (
|
|
1052
|
+
if (!((h = i.content) === null || h === void 0 || ($ = h.options) === null || $ === void 0) && $.defaultExtractor)
|
|
1053
1053
|
return i.content.options.defaultExtractor;
|
|
1054
1054
|
})();
|
|
1055
1055
|
if (g !== void 0 && (p.DEFAULT = g), typeof n == "function")
|
|
1056
1056
|
p.DEFAULT = n;
|
|
1057
1057
|
else if (Array.isArray(n))
|
|
1058
|
-
for (let { extensions: d, extractor:
|
|
1058
|
+
for (let { extensions: d, extractor: S } of n != null ? n : [])
|
|
1059
1059
|
for (let h of d)
|
|
1060
|
-
p[h] =
|
|
1060
|
+
p[h] = S;
|
|
1061
1061
|
else
|
|
1062
1062
|
typeof n == "object" && n !== null && Object.assign(p, n);
|
|
1063
1063
|
return p;
|
|
1064
1064
|
})(),
|
|
1065
1065
|
transform: (() => {
|
|
1066
1066
|
let n = (() => {
|
|
1067
|
-
var g, d,
|
|
1068
|
-
return !((g = i.purge) === null || g === void 0) && g.transform ? i.purge.transform : !((d = i.content) === null || d === void 0) && d.transform ? i.content.transform : !((
|
|
1067
|
+
var g, d, S, h, $, P;
|
|
1068
|
+
return !((g = i.purge) === null || g === void 0) && g.transform ? i.purge.transform : !((d = i.content) === null || d === void 0) && d.transform ? i.content.transform : !((S = i.purge) === null || S === void 0 || (h = S.transform) === null || h === void 0) && h.DEFAULT ? i.purge.transform.DEFAULT : !(($ = i.content) === null || $ === void 0 || (P = $.transform) === null || P === void 0) && P.DEFAULT ? i.content.transform.DEFAULT : {};
|
|
1069
1069
|
})(), p = {};
|
|
1070
1070
|
return typeof n == "function" && (p.DEFAULT = n), typeof n == "object" && n !== null && Object.assign(p, n), p;
|
|
1071
1071
|
})()
|
|
@@ -1080,8 +1080,8 @@ var me = {}, q = {};
|
|
|
1080
1080
|
}
|
|
1081
1081
|
return i;
|
|
1082
1082
|
}
|
|
1083
|
-
})(
|
|
1084
|
-
var
|
|
1083
|
+
})(ge);
|
|
1084
|
+
var he = {};
|
|
1085
1085
|
(function(e) {
|
|
1086
1086
|
Object.defineProperty(e, "__esModule", {
|
|
1087
1087
|
value: !0
|
|
@@ -1097,8 +1097,8 @@ var ge = {};
|
|
|
1097
1097
|
const o = Object.getPrototypeOf(r);
|
|
1098
1098
|
return o === null || o === Object.prototype;
|
|
1099
1099
|
}
|
|
1100
|
-
})(
|
|
1101
|
-
var
|
|
1100
|
+
})(he);
|
|
1101
|
+
var ye = {};
|
|
1102
1102
|
(function(e) {
|
|
1103
1103
|
Object.defineProperty(e, "__esModule", {
|
|
1104
1104
|
value: !0
|
|
@@ -1114,8 +1114,8 @@ var he = {};
|
|
|
1114
1114
|
t(s)
|
|
1115
1115
|
])) : r;
|
|
1116
1116
|
}
|
|
1117
|
-
})(
|
|
1118
|
-
var
|
|
1117
|
+
})(ye);
|
|
1118
|
+
var ve = {}, be = {};
|
|
1119
1119
|
(function(e) {
|
|
1120
1120
|
Object.defineProperty(e, "__esModule", {
|
|
1121
1121
|
value: !0
|
|
@@ -1128,8 +1128,8 @@ var ye = {}, ve = {};
|
|
|
1128
1128
|
function t(r) {
|
|
1129
1129
|
return r.replace(/\\,/g, "\\2c ");
|
|
1130
1130
|
}
|
|
1131
|
-
})(
|
|
1132
|
-
var te = {}, re = {},
|
|
1131
|
+
})(be);
|
|
1132
|
+
var te = {}, re = {}, xe = {};
|
|
1133
1133
|
(function(e) {
|
|
1134
1134
|
Object.defineProperty(e, "__esModule", {
|
|
1135
1135
|
value: !0
|
|
@@ -1881,16 +1881,16 @@ var te = {}, re = {}, be = {};
|
|
|
1881
1881
|
50
|
|
1882
1882
|
]
|
|
1883
1883
|
};
|
|
1884
|
-
})(
|
|
1884
|
+
})(xe);
|
|
1885
1885
|
(function(e) {
|
|
1886
1886
|
Object.defineProperty(e, "__esModule", {
|
|
1887
1887
|
value: !0
|
|
1888
1888
|
});
|
|
1889
|
-
function t(h,
|
|
1890
|
-
for (var
|
|
1891
|
-
Object.defineProperty(h,
|
|
1889
|
+
function t(h, $) {
|
|
1890
|
+
for (var P in $)
|
|
1891
|
+
Object.defineProperty(h, P, {
|
|
1892
1892
|
enumerable: !0,
|
|
1893
|
-
get: P
|
|
1893
|
+
get: $[P]
|
|
1894
1894
|
});
|
|
1895
1895
|
}
|
|
1896
1896
|
t(e, {
|
|
@@ -1898,18 +1898,18 @@ var te = {}, re = {}, be = {};
|
|
|
1898
1898
|
return d;
|
|
1899
1899
|
},
|
|
1900
1900
|
formatColor: function() {
|
|
1901
|
-
return
|
|
1901
|
+
return S;
|
|
1902
1902
|
}
|
|
1903
1903
|
});
|
|
1904
|
-
const r = /* @__PURE__ */ o(
|
|
1904
|
+
const r = /* @__PURE__ */ o(xe);
|
|
1905
1905
|
function o(h) {
|
|
1906
1906
|
return h && h.__esModule ? h : {
|
|
1907
1907
|
default: h
|
|
1908
1908
|
};
|
|
1909
1909
|
}
|
|
1910
1910
|
let s = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, l = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, i = /(?:\d+|\d*\.\d+)%?/, v = /(?:\s*,\s*|\s+)/, a = /\s*[,/]\s*/, n = /var\(--(?:[^ )]*?)\)/, p = new RegExp(`^(rgba?)\\(\\s*(${i.source}|${n.source})(?:${v.source}(${i.source}|${n.source}))?(?:${v.source}(${i.source}|${n.source}))?(?:${a.source}(${i.source}|${n.source}))?\\s*\\)$`), g = new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${n.source})(?:${v.source}(${i.source}|${n.source}))?(?:${v.source}(${i.source}|${n.source}))?(?:${a.source}(${i.source}|${n.source}))?\\s*\\)$`);
|
|
1911
|
-
function d(h, { loose:
|
|
1912
|
-
var
|
|
1911
|
+
function d(h, { loose: $ = !1 } = {}) {
|
|
1912
|
+
var P, z;
|
|
1913
1913
|
if (typeof h != "string")
|
|
1914
1914
|
return null;
|
|
1915
1915
|
if (h = h.trim(), h === "transparent")
|
|
@@ -1927,50 +1927,50 @@ var te = {}, re = {}, be = {};
|
|
|
1927
1927
|
mode: "rgb",
|
|
1928
1928
|
color: r.default[h].map((R) => R.toString())
|
|
1929
1929
|
};
|
|
1930
|
-
let
|
|
1930
|
+
let T = h.replace(l, (R, B, N, m, k) => [
|
|
1931
1931
|
"#",
|
|
1932
1932
|
B,
|
|
1933
1933
|
B,
|
|
1934
|
-
|
|
1935
|
-
|
|
1934
|
+
N,
|
|
1935
|
+
N,
|
|
1936
1936
|
m,
|
|
1937
1937
|
m,
|
|
1938
1938
|
k ? k + k : ""
|
|
1939
1939
|
].join("")).match(s);
|
|
1940
|
-
if (
|
|
1940
|
+
if (T !== null)
|
|
1941
1941
|
return {
|
|
1942
1942
|
mode: "rgb",
|
|
1943
1943
|
color: [
|
|
1944
|
-
parseInt(
|
|
1945
|
-
parseInt(
|
|
1946
|
-
parseInt(
|
|
1944
|
+
parseInt(T[1], 16),
|
|
1945
|
+
parseInt(T[2], 16),
|
|
1946
|
+
parseInt(T[3], 16)
|
|
1947
1947
|
].map((R) => R.toString()),
|
|
1948
|
-
alpha:
|
|
1948
|
+
alpha: T[4] ? (parseInt(T[4], 16) / 255).toString() : void 0
|
|
1949
1949
|
};
|
|
1950
1950
|
var A;
|
|
1951
|
-
let
|
|
1952
|
-
if (
|
|
1951
|
+
let j = (A = h.match(p)) !== null && A !== void 0 ? A : h.match(g);
|
|
1952
|
+
if (j === null)
|
|
1953
1953
|
return null;
|
|
1954
|
-
let
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1954
|
+
let M = [
|
|
1955
|
+
j[2],
|
|
1956
|
+
j[3],
|
|
1957
|
+
j[4]
|
|
1958
1958
|
].filter(Boolean).map((R) => R.toString());
|
|
1959
|
-
return
|
|
1960
|
-
mode:
|
|
1959
|
+
return M.length === 2 && M[0].startsWith("var(") ? {
|
|
1960
|
+
mode: j[1],
|
|
1961
1961
|
color: [
|
|
1962
|
-
|
|
1962
|
+
M[0]
|
|
1963
1963
|
],
|
|
1964
|
-
alpha:
|
|
1965
|
-
} :
|
|
1966
|
-
mode:
|
|
1967
|
-
color:
|
|
1968
|
-
alpha: (
|
|
1964
|
+
alpha: M[1]
|
|
1965
|
+
} : !$ && M.length !== 3 || M.length < 3 && !M.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
|
|
1966
|
+
mode: j[1],
|
|
1967
|
+
color: M,
|
|
1968
|
+
alpha: (P = j[5]) === null || P === void 0 || (z = P.toString) === null || z === void 0 ? void 0 : z.call(P)
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
1971
|
-
function
|
|
1972
|
-
let z =
|
|
1973
|
-
return h === "rgba" || h === "hsla" ? `${h}(${
|
|
1971
|
+
function S({ mode: h, color: $, alpha: P }) {
|
|
1972
|
+
let z = P !== void 0;
|
|
1973
|
+
return h === "rgba" || h === "hsla" ? `${h}(${$.join(", ")}${z ? `, ${P}` : ""})` : `${h}(${$.join(" ")}${z ? ` / ${P}` : ""})`;
|
|
1974
1974
|
}
|
|
1975
1975
|
})(re);
|
|
1976
1976
|
(function(e) {
|
|
@@ -2038,7 +2038,7 @@ var te = {}, re = {}, be = {};
|
|
|
2038
2038
|
};
|
|
2039
2039
|
}
|
|
2040
2040
|
})(te);
|
|
2041
|
-
var ne = {},
|
|
2041
|
+
var ne = {}, _e = {}, X = {};
|
|
2042
2042
|
(function(e) {
|
|
2043
2043
|
Object.defineProperty(e, "__esModule", {
|
|
2044
2044
|
value: !0
|
|
@@ -2056,7 +2056,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2056
2056
|
}
|
|
2057
2057
|
return l.push(r.slice(i)), l;
|
|
2058
2058
|
}
|
|
2059
|
-
})(
|
|
2059
|
+
})(X);
|
|
2060
2060
|
(function(e) {
|
|
2061
2061
|
Object.defineProperty(e, "__esModule", {
|
|
2062
2062
|
value: !0
|
|
@@ -2076,7 +2076,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2076
2076
|
return v;
|
|
2077
2077
|
}
|
|
2078
2078
|
});
|
|
2079
|
-
const r =
|
|
2079
|
+
const r = X;
|
|
2080
2080
|
let o = /* @__PURE__ */ new Set([
|
|
2081
2081
|
"inset",
|
|
2082
2082
|
"inherit",
|
|
@@ -2088,9 +2088,9 @@ var ne = {}, xe = {}, G = {};
|
|
|
2088
2088
|
return (0, r.splitAtTopLevelOnly)(a, ",").map((p) => {
|
|
2089
2089
|
let g = p.trim(), d = {
|
|
2090
2090
|
raw: g
|
|
2091
|
-
},
|
|
2092
|
-
for (let
|
|
2093
|
-
l.lastIndex = 0, !h.has("KEYWORD") && o.has(
|
|
2091
|
+
}, S = g.split(s), h = /* @__PURE__ */ new Set();
|
|
2092
|
+
for (let $ of S)
|
|
2093
|
+
l.lastIndex = 0, !h.has("KEYWORD") && o.has($) ? (d.keyword = $, h.add("KEYWORD")) : l.test($) ? h.has("X") ? h.has("Y") ? h.has("BLUR") ? h.has("SPREAD") || (d.spread = $, h.add("SPREAD")) : (d.blur = $, h.add("BLUR")) : (d.y = $, h.add("Y")) : (d.x = $, h.add("X")) : d.color ? (d.unknown || (d.unknown = []), d.unknown.push($)) : d.color = $;
|
|
2094
2094
|
return d.valid = d.x !== void 0 && d.y !== void 0, d;
|
|
2095
2095
|
});
|
|
2096
2096
|
}
|
|
@@ -2104,16 +2104,16 @@ var ne = {}, xe = {}, G = {};
|
|
|
2104
2104
|
n.color
|
|
2105
2105
|
].filter(Boolean).join(" ") : n.raw).join(", ");
|
|
2106
2106
|
}
|
|
2107
|
-
})(
|
|
2107
|
+
})(_e);
|
|
2108
2108
|
(function(e) {
|
|
2109
2109
|
Object.defineProperty(e, "__esModule", {
|
|
2110
2110
|
value: !0
|
|
2111
2111
|
});
|
|
2112
2112
|
function t(u, x) {
|
|
2113
|
-
for (var
|
|
2114
|
-
Object.defineProperty(u,
|
|
2113
|
+
for (var O in x)
|
|
2114
|
+
Object.defineProperty(u, O, {
|
|
2115
2115
|
enumerable: !0,
|
|
2116
|
-
get: x[
|
|
2116
|
+
get: x[O]
|
|
2117
2117
|
});
|
|
2118
2118
|
}
|
|
2119
2119
|
t(e, {
|
|
@@ -2127,22 +2127,22 @@ var ne = {}, xe = {}, G = {};
|
|
|
2127
2127
|
return d;
|
|
2128
2128
|
},
|
|
2129
2129
|
percentage: function() {
|
|
2130
|
-
return
|
|
2130
|
+
return S;
|
|
2131
2131
|
},
|
|
2132
2132
|
length: function() {
|
|
2133
|
-
return
|
|
2133
|
+
return P;
|
|
2134
2134
|
},
|
|
2135
2135
|
lineWidth: function() {
|
|
2136
|
-
return
|
|
2136
|
+
return T;
|
|
2137
2137
|
},
|
|
2138
2138
|
shadow: function() {
|
|
2139
2139
|
return A;
|
|
2140
2140
|
},
|
|
2141
2141
|
color: function() {
|
|
2142
|
-
return
|
|
2142
|
+
return j;
|
|
2143
2143
|
},
|
|
2144
2144
|
image: function() {
|
|
2145
|
-
return
|
|
2145
|
+
return M;
|
|
2146
2146
|
},
|
|
2147
2147
|
gradient: function() {
|
|
2148
2148
|
return B;
|
|
@@ -2160,10 +2160,10 @@ var ne = {}, xe = {}, G = {};
|
|
|
2160
2160
|
return b;
|
|
2161
2161
|
},
|
|
2162
2162
|
relativeSize: function() {
|
|
2163
|
-
return
|
|
2163
|
+
return C;
|
|
2164
2164
|
}
|
|
2165
2165
|
});
|
|
2166
|
-
const r = re, o =
|
|
2166
|
+
const r = re, o = _e, s = X;
|
|
2167
2167
|
let l = [
|
|
2168
2168
|
"min",
|
|
2169
2169
|
"max",
|
|
@@ -2175,12 +2175,12 @@ var ne = {}, xe = {}, G = {};
|
|
|
2175
2175
|
}
|
|
2176
2176
|
const v = "--tw-placeholder", a = new RegExp(v, "g");
|
|
2177
2177
|
function n(u, x = !0) {
|
|
2178
|
-
return u.startsWith("--") ? `var(${u})` : u.includes("url(") ? u.split(/(url\(.*?\))/g).filter(Boolean).map((
|
|
2178
|
+
return u.startsWith("--") ? `var(${u})` : u.includes("url(") ? u.split(/(url\(.*?\))/g).filter(Boolean).map((O) => /^url\(.*?\)$/.test(O) ? O : n(O, !1)).join("") : (u = u.replace(/([^\\])_+/g, (O, E) => E + " ".repeat(O.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), x && (u = u.trim()), u = p(u), u);
|
|
2179
2179
|
}
|
|
2180
2180
|
function p(u) {
|
|
2181
2181
|
return u.replace(/(calc|min|max|clamp)\(.+\)/g, (x) => {
|
|
2182
|
-
let
|
|
2183
|
-
return x.replace(/var\((--.+?)[,)]/g, (
|
|
2182
|
+
let O = [];
|
|
2183
|
+
return x.replace(/var\((--.+?)[,)]/g, (E, I) => (O.push(I), E.replace(I, v))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(a, () => O.shift());
|
|
2184
2184
|
});
|
|
2185
2185
|
}
|
|
2186
2186
|
function g(u) {
|
|
@@ -2189,10 +2189,10 @@ var ne = {}, xe = {}, G = {};
|
|
|
2189
2189
|
function d(u) {
|
|
2190
2190
|
return !isNaN(Number(u)) || i(u);
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2192
|
+
function S(u) {
|
|
2193
2193
|
return u.endsWith("%") && d(u.slice(0, -1)) || i(u);
|
|
2194
2194
|
}
|
|
2195
|
-
let
|
|
2195
|
+
let $ = `(?:${[
|
|
2196
2196
|
"cm",
|
|
2197
2197
|
"mm",
|
|
2198
2198
|
"Q",
|
|
@@ -2225,38 +2225,38 @@ var ne = {}, xe = {}, G = {};
|
|
|
2225
2225
|
"cqmin",
|
|
2226
2226
|
"cqmax"
|
|
2227
2227
|
].join("|")})`;
|
|
2228
|
-
function
|
|
2229
|
-
return u === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${
|
|
2228
|
+
function P(u) {
|
|
2229
|
+
return u === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${$}$`).test(u) || i(u);
|
|
2230
2230
|
}
|
|
2231
2231
|
let z = /* @__PURE__ */ new Set([
|
|
2232
2232
|
"thin",
|
|
2233
2233
|
"medium",
|
|
2234
2234
|
"thick"
|
|
2235
2235
|
]);
|
|
2236
|
-
function
|
|
2236
|
+
function T(u) {
|
|
2237
2237
|
return z.has(u);
|
|
2238
2238
|
}
|
|
2239
2239
|
function A(u) {
|
|
2240
2240
|
let x = (0, o.parseBoxShadowValue)(n(u));
|
|
2241
|
-
for (let
|
|
2242
|
-
if (!
|
|
2241
|
+
for (let O of x)
|
|
2242
|
+
if (!O.valid)
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
return !0;
|
|
2245
2245
|
}
|
|
2246
|
-
function
|
|
2246
|
+
function j(u) {
|
|
2247
2247
|
let x = 0;
|
|
2248
|
-
return (0, s.splitAtTopLevelOnly)(u, "_").every((
|
|
2248
|
+
return (0, s.splitAtTopLevelOnly)(u, "_").every((E) => (E = n(E), E.startsWith("var(") ? !0 : (0, r.parseColor)(E, {
|
|
2249
2249
|
loose: !0
|
|
2250
2250
|
}) !== null ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2251
2251
|
}
|
|
2252
|
-
function
|
|
2252
|
+
function M(u) {
|
|
2253
2253
|
let x = 0;
|
|
2254
|
-
return (0, s.splitAtTopLevelOnly)(u, ",").every((
|
|
2254
|
+
return (0, s.splitAtTopLevelOnly)(u, ",").every((E) => (E = n(E), E.startsWith("var(") ? !0 : g(E) || B(E) || [
|
|
2255
2255
|
"element(",
|
|
2256
2256
|
"image(",
|
|
2257
2257
|
"cross-fade(",
|
|
2258
2258
|
"image-set("
|
|
2259
|
-
].some((
|
|
2259
|
+
].some((I) => E.startsWith(I)) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2260
2260
|
}
|
|
2261
2261
|
let R = /* @__PURE__ */ new Set([
|
|
2262
2262
|
"conic-gradient",
|
|
@@ -2273,7 +2273,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2273
2273
|
return !0;
|
|
2274
2274
|
return !1;
|
|
2275
2275
|
}
|
|
2276
|
-
let
|
|
2276
|
+
let N = /* @__PURE__ */ new Set([
|
|
2277
2277
|
"center",
|
|
2278
2278
|
"top",
|
|
2279
2279
|
"right",
|
|
@@ -2282,11 +2282,11 @@ var ne = {}, xe = {}, G = {};
|
|
|
2282
2282
|
]);
|
|
2283
2283
|
function m(u) {
|
|
2284
2284
|
let x = 0;
|
|
2285
|
-
return (0, s.splitAtTopLevelOnly)(u, "_").every((
|
|
2285
|
+
return (0, s.splitAtTopLevelOnly)(u, "_").every((E) => (E = n(E), E.startsWith("var(") ? !0 : N.has(E) || P(E) || S(E) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2286
2286
|
}
|
|
2287
2287
|
function k(u) {
|
|
2288
2288
|
let x = 0;
|
|
2289
|
-
return (0, s.splitAtTopLevelOnly)(u, ",").every((
|
|
2289
|
+
return (0, s.splitAtTopLevelOnly)(u, ",").every((E) => (E = n(E), E.startsWith("var(") ? !0 : E.includes(" ") && !/(['"])([^"']+)\1/g.test(E) || /^\d/g.test(E) ? !1 : (x++, !0))) ? x > 0 : !1;
|
|
2290
2290
|
}
|
|
2291
2291
|
let _ = /* @__PURE__ */ new Set([
|
|
2292
2292
|
"serif",
|
|
@@ -2323,11 +2323,11 @@ var ne = {}, xe = {}, G = {};
|
|
|
2323
2323
|
"larger",
|
|
2324
2324
|
"smaller"
|
|
2325
2325
|
]);
|
|
2326
|
-
function
|
|
2326
|
+
function C(u) {
|
|
2327
2327
|
return f.has(u);
|
|
2328
2328
|
}
|
|
2329
2329
|
})(ne);
|
|
2330
|
-
var
|
|
2330
|
+
var we = {};
|
|
2331
2331
|
(function(e) {
|
|
2332
2332
|
Object.defineProperty(e, "__esModule", {
|
|
2333
2333
|
value: !0
|
|
@@ -2337,7 +2337,7 @@ var _e = {};
|
|
|
2337
2337
|
return o;
|
|
2338
2338
|
}
|
|
2339
2339
|
});
|
|
2340
|
-
const t = ne, r =
|
|
2340
|
+
const t = ne, r = X;
|
|
2341
2341
|
function o(s) {
|
|
2342
2342
|
let l = [
|
|
2343
2343
|
"cover",
|
|
@@ -2348,7 +2348,7 @@ var _e = {};
|
|
|
2348
2348
|
return v.length === 1 && l.includes(v[0]) ? !0 : v.length !== 1 && v.length !== 2 ? !1 : v.every((a) => (0, t.length)(a) || (0, t.percentage)(a) || a === "auto");
|
|
2349
2349
|
});
|
|
2350
2350
|
}
|
|
2351
|
-
})(
|
|
2351
|
+
})(we);
|
|
2352
2352
|
(function(e) {
|
|
2353
2353
|
Object.defineProperty(e, "__esModule", {
|
|
2354
2354
|
value: !0
|
|
@@ -2368,25 +2368,25 @@ var _e = {};
|
|
|
2368
2368
|
return d;
|
|
2369
2369
|
},
|
|
2370
2370
|
parseColorFormat: function() {
|
|
2371
|
-
return
|
|
2371
|
+
return $;
|
|
2372
2372
|
},
|
|
2373
2373
|
asColor: function() {
|
|
2374
2374
|
return z;
|
|
2375
2375
|
},
|
|
2376
2376
|
asLookupValue: function() {
|
|
2377
|
-
return
|
|
2377
|
+
return T;
|
|
2378
2378
|
},
|
|
2379
2379
|
typeMap: function() {
|
|
2380
|
-
return
|
|
2380
|
+
return j;
|
|
2381
2381
|
},
|
|
2382
2382
|
coerceValue: function() {
|
|
2383
2383
|
return B;
|
|
2384
2384
|
},
|
|
2385
2385
|
getMatchingTypes: function() {
|
|
2386
|
-
return
|
|
2386
|
+
return N;
|
|
2387
2387
|
}
|
|
2388
2388
|
});
|
|
2389
|
-
const r = /* @__PURE__ */ a(
|
|
2389
|
+
const r = /* @__PURE__ */ a(be), o = te, s = ne, l = /* @__PURE__ */ a(Z), i = we, v = G;
|
|
2390
2390
|
function a(m) {
|
|
2391
2391
|
return m && m.__esModule ? m : {
|
|
2392
2392
|
default: m
|
|
@@ -2398,7 +2398,7 @@ var _e = {};
|
|
|
2398
2398
|
});
|
|
2399
2399
|
}
|
|
2400
2400
|
function p(m, k) {
|
|
2401
|
-
if (!
|
|
2401
|
+
if (!S(m))
|
|
2402
2402
|
return;
|
|
2403
2403
|
let _ = m.slice(1, -1);
|
|
2404
2404
|
if (k(_))
|
|
@@ -2408,7 +2408,7 @@ var _e = {};
|
|
|
2408
2408
|
let c = k[m];
|
|
2409
2409
|
if (c !== void 0)
|
|
2410
2410
|
return (0, l.default)(c);
|
|
2411
|
-
if (
|
|
2411
|
+
if (S(m)) {
|
|
2412
2412
|
let y = p(m, _);
|
|
2413
2413
|
return y === void 0 ? void 0 : (0, l.default)(y);
|
|
2414
2414
|
}
|
|
@@ -2418,7 +2418,7 @@ var _e = {};
|
|
|
2418
2418
|
let y = (c = k.values) === null || c === void 0 ? void 0 : c[m];
|
|
2419
2419
|
return y !== void 0 ? y : k.supportsNegativeValues && m.startsWith("-") ? g(m.slice(1), k.values, _) : p(m, _);
|
|
2420
2420
|
}
|
|
2421
|
-
function
|
|
2421
|
+
function S(m) {
|
|
2422
2422
|
return m.startsWith("[") && m.endsWith("]");
|
|
2423
2423
|
}
|
|
2424
2424
|
function h(m) {
|
|
@@ -2426,7 +2426,7 @@ var _e = {};
|
|
|
2426
2426
|
return k === -1 || k === m.length - 1 ? [
|
|
2427
2427
|
m,
|
|
2428
2428
|
void 0
|
|
2429
|
-
] :
|
|
2429
|
+
] : S(m) && !m.includes("]/[") ? [
|
|
2430
2430
|
m,
|
|
2431
2431
|
void 0
|
|
2432
2432
|
] : [
|
|
@@ -2434,33 +2434,33 @@ var _e = {};
|
|
|
2434
2434
|
m.slice(k + 1)
|
|
2435
2435
|
];
|
|
2436
2436
|
}
|
|
2437
|
-
function
|
|
2437
|
+
function $(m) {
|
|
2438
2438
|
if (typeof m == "string" && m.includes("<alpha-value>")) {
|
|
2439
2439
|
let k = m;
|
|
2440
2440
|
return ({ opacityValue: _ = 1 }) => k.replace("<alpha-value>", _);
|
|
2441
2441
|
}
|
|
2442
2442
|
return m;
|
|
2443
2443
|
}
|
|
2444
|
-
function
|
|
2444
|
+
function P(m) {
|
|
2445
2445
|
return (0, s.normalize)(m.slice(1, -1));
|
|
2446
2446
|
}
|
|
2447
2447
|
function z(m, k = {}, { tailwindConfig: _ = {} } = {}) {
|
|
2448
2448
|
var c;
|
|
2449
2449
|
if (((c = k.values) === null || c === void 0 ? void 0 : c[m]) !== void 0) {
|
|
2450
2450
|
var y;
|
|
2451
|
-
return
|
|
2451
|
+
return $((y = k.values) === null || y === void 0 ? void 0 : y[m]);
|
|
2452
2452
|
}
|
|
2453
2453
|
let [b, f] = h(m);
|
|
2454
2454
|
if (f !== void 0) {
|
|
2455
|
-
var
|
|
2456
|
-
let
|
|
2457
|
-
return
|
|
2455
|
+
var C, u, x, O;
|
|
2456
|
+
let E = (O = (C = k.values) === null || C === void 0 ? void 0 : C[b]) !== null && O !== void 0 ? O : S(b) ? b.slice(1, -1) : void 0;
|
|
2457
|
+
return E === void 0 ? void 0 : (E = $(E), S(f) ? (0, o.withAlphaValue)(E, P(f)) : ((u = _.theme) === null || u === void 0 || (x = u.opacity) === null || x === void 0 ? void 0 : x[f]) === void 0 ? void 0 : (0, o.withAlphaValue)(E, _.theme.opacity[f]));
|
|
2458
2458
|
}
|
|
2459
2459
|
return d(m, k, {
|
|
2460
2460
|
validate: s.color
|
|
2461
2461
|
});
|
|
2462
2462
|
}
|
|
2463
|
-
function
|
|
2463
|
+
function T(m, k = {}) {
|
|
2464
2464
|
var _;
|
|
2465
2465
|
return (_ = k.values) === null || _ === void 0 ? void 0 : _[m];
|
|
2466
2466
|
}
|
|
@@ -2469,7 +2469,7 @@ var _e = {};
|
|
|
2469
2469
|
validate: m
|
|
2470
2470
|
});
|
|
2471
2471
|
}
|
|
2472
|
-
let
|
|
2472
|
+
let j = {
|
|
2473
2473
|
any: d,
|
|
2474
2474
|
color: z,
|
|
2475
2475
|
url: A(s.url),
|
|
@@ -2477,7 +2477,7 @@ var _e = {};
|
|
|
2477
2477
|
length: A(s.length),
|
|
2478
2478
|
percentage: A(s.percentage),
|
|
2479
2479
|
position: A(s.position),
|
|
2480
|
-
lookup:
|
|
2480
|
+
lookup: T,
|
|
2481
2481
|
"generic-name": A(s.genericName),
|
|
2482
2482
|
"family-name": A(s.familyName),
|
|
2483
2483
|
number: A(s.number),
|
|
@@ -2486,7 +2486,7 @@ var _e = {};
|
|
|
2486
2486
|
"relative-size": A(s.relativeSize),
|
|
2487
2487
|
shadow: A(s.shadow),
|
|
2488
2488
|
size: A(i.backgroundSize)
|
|
2489
|
-
},
|
|
2489
|
+
}, M = Object.keys(j);
|
|
2490
2490
|
function R(m, k) {
|
|
2491
2491
|
let _ = m.indexOf(k);
|
|
2492
2492
|
return _ === -1 ? [
|
|
@@ -2500,7 +2500,7 @@ var _e = {};
|
|
|
2500
2500
|
function B(m, k, _, c) {
|
|
2501
2501
|
if (_.values && k in _.values)
|
|
2502
2502
|
for (let { type: b } of m != null ? m : []) {
|
|
2503
|
-
let f =
|
|
2503
|
+
let f = j[b](k, _, {
|
|
2504
2504
|
tailwindConfig: c
|
|
2505
2505
|
});
|
|
2506
2506
|
if (f !== void 0)
|
|
@@ -2510,44 +2510,44 @@ var _e = {};
|
|
|
2510
2510
|
null
|
|
2511
2511
|
];
|
|
2512
2512
|
}
|
|
2513
|
-
if (
|
|
2514
|
-
let b = k.slice(1, -1), [f,
|
|
2513
|
+
if (S(k)) {
|
|
2514
|
+
let b = k.slice(1, -1), [f, C] = R(b, ":");
|
|
2515
2515
|
if (!/^[\w-_]+$/g.test(f))
|
|
2516
|
-
|
|
2517
|
-
else if (f !== void 0 && !
|
|
2516
|
+
C = b;
|
|
2517
|
+
else if (f !== void 0 && !M.includes(f))
|
|
2518
2518
|
return [];
|
|
2519
|
-
if (
|
|
2519
|
+
if (C.length > 0 && M.includes(f))
|
|
2520
2520
|
return [
|
|
2521
|
-
d(`[${
|
|
2521
|
+
d(`[${C}]`, _),
|
|
2522
2522
|
f,
|
|
2523
2523
|
null
|
|
2524
2524
|
];
|
|
2525
2525
|
}
|
|
2526
|
-
let y =
|
|
2526
|
+
let y = N(m, k, _, c);
|
|
2527
2527
|
for (let b of y)
|
|
2528
2528
|
return b;
|
|
2529
2529
|
return [];
|
|
2530
2530
|
}
|
|
2531
|
-
function*
|
|
2531
|
+
function* N(m, k, _, c) {
|
|
2532
2532
|
let y = (0, v.flagEnabled)(c, "generalizedModifiers"), [b, f] = h(k);
|
|
2533
|
-
if (y && _.modifiers != null && (_.modifiers === "any" || typeof _.modifiers == "object" && (f &&
|
|
2533
|
+
if (y && _.modifiers != null && (_.modifiers === "any" || typeof _.modifiers == "object" && (f && S(f) || f in _.modifiers)) || (b = k, f = void 0), f !== void 0 && b === "" && (b = "DEFAULT"), f !== void 0 && typeof _.modifiers == "object") {
|
|
2534
2534
|
var u, x;
|
|
2535
|
-
let
|
|
2536
|
-
|
|
2535
|
+
let O = (x = (u = _.modifiers) === null || u === void 0 ? void 0 : u[f]) !== null && x !== void 0 ? x : null;
|
|
2536
|
+
O !== null ? f = O : S(f) && (f = P(f));
|
|
2537
2537
|
}
|
|
2538
|
-
for (let { type:
|
|
2539
|
-
let
|
|
2538
|
+
for (let { type: O } of m != null ? m : []) {
|
|
2539
|
+
let E = j[O](b, _, {
|
|
2540
2540
|
tailwindConfig: c
|
|
2541
2541
|
});
|
|
2542
|
-
|
|
2543
|
-
$,
|
|
2542
|
+
E !== void 0 && (yield [
|
|
2544
2543
|
E,
|
|
2544
|
+
O,
|
|
2545
2545
|
f != null ? f : null
|
|
2546
2546
|
]);
|
|
2547
2547
|
}
|
|
2548
2548
|
}
|
|
2549
|
-
})(
|
|
2550
|
-
var
|
|
2549
|
+
})(ve);
|
|
2550
|
+
var Se = {};
|
|
2551
2551
|
(function(e) {
|
|
2552
2552
|
Object.defineProperty(e, "__esModule", {
|
|
2553
2553
|
value: !0
|
|
@@ -2560,7 +2560,7 @@ var we = {};
|
|
|
2560
2560
|
function t(r) {
|
|
2561
2561
|
return typeof r == "function" ? r({}) : r;
|
|
2562
2562
|
}
|
|
2563
|
-
})(
|
|
2563
|
+
})(Se);
|
|
2564
2564
|
(function(e) {
|
|
2565
2565
|
Object.defineProperty(e, "__esModule", {
|
|
2566
2566
|
value: !0
|
|
@@ -2570,8 +2570,8 @@ var we = {};
|
|
|
2570
2570
|
return _;
|
|
2571
2571
|
}
|
|
2572
2572
|
});
|
|
2573
|
-
const t = /* @__PURE__ */
|
|
2574
|
-
function
|
|
2573
|
+
const t = /* @__PURE__ */ S(Z), r = /* @__PURE__ */ S(ue), o = /* @__PURE__ */ S(ce), s = /* @__PURE__ */ S(Q), l = pe, i = me, v = ge, a = /* @__PURE__ */ S(he), n = ye, p = ve, g = te, d = /* @__PURE__ */ S(Se);
|
|
2574
|
+
function S(c) {
|
|
2575
2575
|
return c && c.__esModule ? c : {
|
|
2576
2576
|
default: c
|
|
2577
2577
|
};
|
|
@@ -2579,16 +2579,16 @@ var we = {};
|
|
|
2579
2579
|
function h(c) {
|
|
2580
2580
|
return typeof c == "function";
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function $(c, ...y) {
|
|
2583
2583
|
let b = y.pop();
|
|
2584
2584
|
for (let f of y)
|
|
2585
|
-
for (let
|
|
2586
|
-
let u = b(c[
|
|
2587
|
-
u === void 0 ? (0, a.default)(c[
|
|
2585
|
+
for (let C in f) {
|
|
2586
|
+
let u = b(c[C], f[C]);
|
|
2587
|
+
u === void 0 ? (0, a.default)(c[C]) && (0, a.default)(f[C]) ? c[C] = $({}, c[C], f[C], b) : c[C] = f[C] : c[C] = u;
|
|
2588
2588
|
}
|
|
2589
2589
|
return c;
|
|
2590
2590
|
}
|
|
2591
|
-
const
|
|
2591
|
+
const P = {
|
|
2592
2592
|
colors: s.default,
|
|
2593
2593
|
negative(c) {
|
|
2594
2594
|
return Object.keys(c).filter((y) => c[y] !== "0").reduce((y, b) => {
|
|
@@ -2606,14 +2606,14 @@ var we = {};
|
|
|
2606
2606
|
function z(c, ...y) {
|
|
2607
2607
|
return h(c) ? c(...y) : c;
|
|
2608
2608
|
}
|
|
2609
|
-
function
|
|
2610
|
-
return c.reduce((y, { extend: b }) =>
|
|
2611
|
-
|
|
2609
|
+
function T(c) {
|
|
2610
|
+
return c.reduce((y, { extend: b }) => $(y, b, (f, C) => f === void 0 ? [
|
|
2611
|
+
C
|
|
2612
2612
|
] : Array.isArray(f) ? [
|
|
2613
|
-
|
|
2613
|
+
C,
|
|
2614
2614
|
...f
|
|
2615
2615
|
] : [
|
|
2616
|
-
|
|
2616
|
+
C,
|
|
2617
2617
|
f
|
|
2618
2618
|
]), {});
|
|
2619
2619
|
}
|
|
@@ -2622,10 +2622,10 @@ var we = {};
|
|
|
2622
2622
|
...c.reduce((y, b) => (0, l.defaults)(y, b), {}),
|
|
2623
2623
|
// In order to resolve n config objects, we combine all of their `extend` properties
|
|
2624
2624
|
// into arrays instead of objects so they aren't overridden.
|
|
2625
|
-
extend:
|
|
2625
|
+
extend: T(c)
|
|
2626
2626
|
};
|
|
2627
2627
|
}
|
|
2628
|
-
function
|
|
2628
|
+
function j(c, y) {
|
|
2629
2629
|
if (Array.isArray(c) && (0, a.default)(c[0]))
|
|
2630
2630
|
return c.concat(y);
|
|
2631
2631
|
if (Array.isArray(y) && (0, a.default)(y[0]) && (0, a.default)(c))
|
|
@@ -2636,11 +2636,11 @@ var we = {};
|
|
|
2636
2636
|
if (Array.isArray(y))
|
|
2637
2637
|
return y;
|
|
2638
2638
|
}
|
|
2639
|
-
function
|
|
2640
|
-
return
|
|
2639
|
+
function M({ extend: c, ...y }) {
|
|
2640
|
+
return $(y, c, (b, f) => !h(b) && !f.some(h) ? $({}, b, ...f, j) : (C, u) => $({}, ...[
|
|
2641
2641
|
b,
|
|
2642
2642
|
...f
|
|
2643
|
-
].map((x) => z(x,
|
|
2643
|
+
].map((x) => z(x, C, u)), j));
|
|
2644
2644
|
}
|
|
2645
2645
|
function* R(c) {
|
|
2646
2646
|
let y = (0, i.toPath)(c);
|
|
@@ -2648,20 +2648,20 @@ var we = {};
|
|
|
2648
2648
|
return;
|
|
2649
2649
|
let b = /^(.*?)\s*\/\s*([^/]+)$/, f = c.match(b);
|
|
2650
2650
|
if (f !== null) {
|
|
2651
|
-
let [,
|
|
2651
|
+
let [, C, u] = f, x = (0, i.toPath)(C);
|
|
2652
2652
|
x.alpha = u, yield x;
|
|
2653
2653
|
}
|
|
2654
2654
|
}
|
|
2655
2655
|
function B(c) {
|
|
2656
2656
|
const y = (b, f) => {
|
|
2657
|
-
for (const
|
|
2657
|
+
for (const C of R(b)) {
|
|
2658
2658
|
let u = 0, x = c;
|
|
2659
|
-
for (; x != null && u <
|
|
2660
|
-
x = x[
|
|
2659
|
+
for (; x != null && u < C.length; )
|
|
2660
|
+
x = x[C[u++]], x = h(x) && (C.alpha === void 0 || u <= C.length - 1) ? x(y, P) : x;
|
|
2661
2661
|
if (x !== void 0) {
|
|
2662
|
-
if (
|
|
2663
|
-
let
|
|
2664
|
-
return (0, g.withAlphaValue)(
|
|
2662
|
+
if (C.alpha !== void 0) {
|
|
2663
|
+
let O = (0, p.parseColorFormat)(x);
|
|
2664
|
+
return (0, g.withAlphaValue)(O, C.alpha, (0, d.default)(O));
|
|
2665
2665
|
}
|
|
2666
2666
|
return (0, a.default)(x) ? (0, n.cloneDeep)(x) : x;
|
|
2667
2667
|
}
|
|
@@ -2670,10 +2670,10 @@ var we = {};
|
|
|
2670
2670
|
};
|
|
2671
2671
|
return Object.assign(y, {
|
|
2672
2672
|
theme: y,
|
|
2673
|
-
...
|
|
2674
|
-
}), Object.keys(c).reduce((b, f) => (b[f] = h(c[f]) ? c[f](y,
|
|
2673
|
+
...P
|
|
2674
|
+
}), Object.keys(c).reduce((b, f) => (b[f] = h(c[f]) ? c[f](y, P) : c[f], b), {});
|
|
2675
2675
|
}
|
|
2676
|
-
function
|
|
2676
|
+
function N(c) {
|
|
2677
2677
|
let y = [];
|
|
2678
2678
|
return c.forEach((b) => {
|
|
2679
2679
|
y = [
|
|
@@ -2681,13 +2681,13 @@ var we = {};
|
|
|
2681
2681
|
b
|
|
2682
2682
|
];
|
|
2683
2683
|
var f;
|
|
2684
|
-
const
|
|
2685
|
-
|
|
2684
|
+
const C = (f = b == null ? void 0 : b.plugins) !== null && f !== void 0 ? f : [];
|
|
2685
|
+
C.length !== 0 && C.forEach((u) => {
|
|
2686
2686
|
u.__isOptionsFunction && (u = u());
|
|
2687
2687
|
var x;
|
|
2688
2688
|
y = [
|
|
2689
2689
|
...y,
|
|
2690
|
-
...
|
|
2690
|
+
...N([
|
|
2691
2691
|
(x = u == null ? void 0 : u.config) !== null && x !== void 0 ? x : {}
|
|
2692
2692
|
])
|
|
2693
2693
|
];
|
|
@@ -2711,7 +2711,7 @@ var we = {};
|
|
|
2711
2711
|
}
|
|
2712
2712
|
function _(c) {
|
|
2713
2713
|
let y = [
|
|
2714
|
-
...
|
|
2714
|
+
...N(c),
|
|
2715
2715
|
{
|
|
2716
2716
|
prefix: "",
|
|
2717
2717
|
important: !1,
|
|
@@ -2720,13 +2720,13 @@ var we = {};
|
|
|
2720
2720
|
];
|
|
2721
2721
|
var b, f;
|
|
2722
2722
|
return (0, v.normalizeConfig)((0, l.defaults)({
|
|
2723
|
-
theme: B(
|
|
2724
|
-
corePlugins: m(y.map((
|
|
2725
|
-
plugins: k(c.map((
|
|
2723
|
+
theme: B(M(A(y.map((C) => (b = C == null ? void 0 : C.theme) !== null && b !== void 0 ? b : {})))),
|
|
2724
|
+
corePlugins: m(y.map((C) => C.corePlugins)),
|
|
2725
|
+
plugins: k(c.map((C) => (f = C == null ? void 0 : C.plugins) !== null && f !== void 0 ? f : []))
|
|
2726
2726
|
}, ...y));
|
|
2727
2727
|
}
|
|
2728
|
-
})(
|
|
2729
|
-
var Ce = {},
|
|
2728
|
+
})(le);
|
|
2729
|
+
var Ce = {}, Re = {
|
|
2730
2730
|
content: [],
|
|
2731
2731
|
presets: [],
|
|
2732
2732
|
darkMode: "media",
|
|
@@ -3726,7 +3726,7 @@ var Ce = {}, De = {
|
|
|
3726
3726
|
return s;
|
|
3727
3727
|
}
|
|
3728
3728
|
});
|
|
3729
|
-
const t = /* @__PURE__ */ o(
|
|
3729
|
+
const t = /* @__PURE__ */ o(Re), r = G;
|
|
3730
3730
|
function o(l) {
|
|
3731
3731
|
return l && l.__esModule ? l : {
|
|
3732
3732
|
default: l
|
|
@@ -3773,7 +3773,7 @@ var Ce = {}, De = {
|
|
|
3773
3773
|
return s;
|
|
3774
3774
|
}
|
|
3775
3775
|
});
|
|
3776
|
-
const t = /* @__PURE__ */ o(
|
|
3776
|
+
const t = /* @__PURE__ */ o(le), r = /* @__PURE__ */ o(Ce);
|
|
3777
3777
|
function o(l) {
|
|
3778
3778
|
return l && l.__esModule ? l : {
|
|
3779
3779
|
default: l
|
|
@@ -3786,13 +3786,13 @@ var Ce = {}, De = {
|
|
|
3786
3786
|
...i
|
|
3787
3787
|
]);
|
|
3788
3788
|
}
|
|
3789
|
-
})(
|
|
3790
|
-
let
|
|
3791
|
-
var
|
|
3792
|
-
const
|
|
3793
|
-
let
|
|
3794
|
-
var
|
|
3795
|
-
const
|
|
3789
|
+
})(oe);
|
|
3790
|
+
let Y = oe;
|
|
3791
|
+
var Ne = (Y.__esModule ? Y : { default: Y }).default;
|
|
3792
|
+
const Ue = /* @__PURE__ */ De(Ne);
|
|
3793
|
+
let K = Q;
|
|
3794
|
+
var U = (K.__esModule ? K : { default: K }).default;
|
|
3795
|
+
const Be = {
|
|
3796
3796
|
50: "#FCE3E4",
|
|
3797
3797
|
100: "#F9CDCE",
|
|
3798
3798
|
200: "#F39699",
|
|
@@ -3804,14 +3804,14 @@ const Ne = {
|
|
|
3804
3804
|
800: "#4E090B",
|
|
3805
3805
|
900: "#290506"
|
|
3806
3806
|
}, D = {
|
|
3807
|
-
onprimary:
|
|
3808
|
-
warning:
|
|
3809
|
-
error:
|
|
3810
|
-
info:
|
|
3811
|
-
success:
|
|
3812
|
-
primary:
|
|
3813
|
-
brand:
|
|
3814
|
-
},
|
|
3807
|
+
onprimary: U.white,
|
|
3808
|
+
warning: U.amber,
|
|
3809
|
+
error: U.rose,
|
|
3810
|
+
info: U.cyan,
|
|
3811
|
+
success: U.lime,
|
|
3812
|
+
primary: U.sky,
|
|
3813
|
+
brand: Be
|
|
3814
|
+
}, Ve = {
|
|
3815
3815
|
...D,
|
|
3816
3816
|
// Warning
|
|
3817
3817
|
warning: D.warning[500],
|
|
@@ -3834,11 +3834,11 @@ const Ne = {
|
|
|
3834
3834
|
"primary-darken": D.primary[600],
|
|
3835
3835
|
"primary-lighten": D.primary[400],
|
|
3836
3836
|
// Surfaces
|
|
3837
|
-
onsurface:
|
|
3838
|
-
onbackground:
|
|
3839
|
-
surface:
|
|
3840
|
-
background:
|
|
3841
|
-
},
|
|
3837
|
+
onsurface: U.slate[500],
|
|
3838
|
+
onbackground: U.slate[700],
|
|
3839
|
+
surface: U.slate[50],
|
|
3840
|
+
background: U.white
|
|
3841
|
+
}, We = {
|
|
3842
3842
|
prefix: "e-",
|
|
3843
3843
|
corePlugins: {
|
|
3844
3844
|
preflight: !1
|
|
@@ -3846,7 +3846,7 @@ const Ne = {
|
|
|
3846
3846
|
content: ["./src/**/*.{html,js,vue,ts}"],
|
|
3847
3847
|
theme: {
|
|
3848
3848
|
extend: {
|
|
3849
|
-
colors:
|
|
3849
|
+
colors: Ve,
|
|
3850
3850
|
maxWidth: {
|
|
3851
3851
|
"1/12": "8.333333333%",
|
|
3852
3852
|
"2/12": "16.666666666%",
|
|
@@ -3914,7 +3914,7 @@ const Ne = {
|
|
|
3914
3914
|
pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
|
|
3915
3915
|
}
|
|
3916
3916
|
]
|
|
3917
|
-
},
|
|
3917
|
+
}, ke = Ue(We), Ie = ke.theme.fontSize, qe = ke.theme.colors, xt = [
|
|
3918
3918
|
w.dot,
|
|
3919
3919
|
w.xs,
|
|
3920
3920
|
w.sm,
|
|
@@ -3928,7 +3928,7 @@ const Ne = {
|
|
|
3928
3928
|
w.lg,
|
|
3929
3929
|
w.xl,
|
|
3930
3930
|
w["2xl"]
|
|
3931
|
-
],
|
|
3931
|
+
], He = [
|
|
3932
3932
|
w.xs,
|
|
3933
3933
|
w.sm,
|
|
3934
3934
|
w.md,
|
|
@@ -3944,13 +3944,13 @@ const Ne = {
|
|
|
3944
3944
|
w["8xl"],
|
|
3945
3945
|
w["9xl"]
|
|
3946
3946
|
], wt = [
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
],
|
|
3947
|
+
L.warning,
|
|
3948
|
+
L.error,
|
|
3949
|
+
L.info,
|
|
3950
|
+
L.success,
|
|
3951
|
+
L.primary,
|
|
3952
|
+
L.default
|
|
3953
|
+
], St = [
|
|
3954
3954
|
"play",
|
|
3955
3955
|
"pause",
|
|
3956
3956
|
"ended",
|
|
@@ -3961,7 +3961,7 @@ const Ne = {
|
|
|
3961
3961
|
"canplay",
|
|
3962
3962
|
"canplaythrough",
|
|
3963
3963
|
"statechanged"
|
|
3964
|
-
],
|
|
3964
|
+
], Ge = V.extend({
|
|
3965
3965
|
name: "EIcon",
|
|
3966
3966
|
props: {
|
|
3967
3967
|
icon: {
|
|
@@ -3970,7 +3970,7 @@ const Ne = {
|
|
|
3970
3970
|
},
|
|
3971
3971
|
color: {
|
|
3972
3972
|
type: String,
|
|
3973
|
-
default:
|
|
3973
|
+
default: L.default
|
|
3974
3974
|
},
|
|
3975
3975
|
size: {
|
|
3976
3976
|
type: String,
|
|
@@ -3979,7 +3979,7 @@ const Ne = {
|
|
|
3979
3979
|
},
|
|
3980
3980
|
computed: {
|
|
3981
3981
|
sizes() {
|
|
3982
|
-
return
|
|
3982
|
+
return He.reduce((e, t) => ({
|
|
3983
3983
|
...e,
|
|
3984
3984
|
[t]: `e-text-${t}`
|
|
3985
3985
|
}), {});
|
|
@@ -3996,20 +3996,20 @@ const Ne = {
|
|
|
3996
3996
|
}
|
|
3997
3997
|
}
|
|
3998
3998
|
});
|
|
3999
|
-
var
|
|
3999
|
+
var Xe = function() {
|
|
4000
4000
|
var t = this, r = t._self._c;
|
|
4001
4001
|
return r("div", { staticClass: "e-icon" }, [r("i", { class: t.iconClasses })]);
|
|
4002
|
-
},
|
|
4003
|
-
qe,
|
|
4002
|
+
}, Ye = [], Ke = /* @__PURE__ */ W(
|
|
4004
4003
|
Ge,
|
|
4005
4004
|
Xe,
|
|
4005
|
+
Ye,
|
|
4006
4006
|
!1,
|
|
4007
4007
|
null,
|
|
4008
4008
|
null,
|
|
4009
4009
|
null,
|
|
4010
4010
|
null
|
|
4011
4011
|
);
|
|
4012
|
-
const
|
|
4012
|
+
const Je = Ke.exports, Ze = V.extend({
|
|
4013
4013
|
name: "ESpinner",
|
|
4014
4014
|
props: {
|
|
4015
4015
|
dark: {
|
|
@@ -4035,8 +4035,8 @@ const Ke = Ye.exports, Ze = U.extend({
|
|
|
4035
4035
|
},
|
|
4036
4036
|
data() {
|
|
4037
4037
|
return {
|
|
4038
|
-
sizes:
|
|
4039
|
-
colors:
|
|
4038
|
+
sizes: Ie,
|
|
4039
|
+
colors: qe
|
|
4040
4040
|
};
|
|
4041
4041
|
},
|
|
4042
4042
|
computed: {
|
|
@@ -4071,23 +4071,23 @@ const Ke = Ye.exports, Ze = U.extend({
|
|
|
4071
4071
|
}
|
|
4072
4072
|
}
|
|
4073
4073
|
});
|
|
4074
|
-
var
|
|
4074
|
+
var Qe = function() {
|
|
4075
4075
|
var t = this, r = t._self._c;
|
|
4076
4076
|
return r("svg", { staticClass: "e-spinner e-block", class: {
|
|
4077
4077
|
"e-spinner--dark": t.dark,
|
|
4078
4078
|
"e-spinner--grey": !t.color
|
|
4079
4079
|
}, style: { opacity: t.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: t.computedSize, height: t.computedSize } }, [r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
|
|
4080
|
-
},
|
|
4080
|
+
}, et = [], tt = /* @__PURE__ */ W(
|
|
4081
4081
|
Ze,
|
|
4082
|
-
Je,
|
|
4083
4082
|
Qe,
|
|
4083
|
+
et,
|
|
4084
4084
|
!1,
|
|
4085
4085
|
null,
|
|
4086
4086
|
"f6962f4a",
|
|
4087
4087
|
null,
|
|
4088
4088
|
null
|
|
4089
4089
|
);
|
|
4090
|
-
const
|
|
4090
|
+
const $e = tt.exports, rt = V.extend({
|
|
4091
4091
|
props: {
|
|
4092
4092
|
align: {
|
|
4093
4093
|
type: String,
|
|
@@ -4147,20 +4147,20 @@ const ke = et.exports, tt = U.extend({
|
|
|
4147
4147
|
}
|
|
4148
4148
|
}
|
|
4149
4149
|
});
|
|
4150
|
-
var
|
|
4150
|
+
var nt = function() {
|
|
4151
4151
|
var t = this, r = t._self._c;
|
|
4152
4152
|
return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
|
|
4153
|
-
},
|
|
4154
|
-
tt,
|
|
4153
|
+
}, it = [], at = /* @__PURE__ */ W(
|
|
4155
4154
|
rt,
|
|
4156
4155
|
nt,
|
|
4156
|
+
it,
|
|
4157
4157
|
!1,
|
|
4158
4158
|
null,
|
|
4159
4159
|
null,
|
|
4160
4160
|
null,
|
|
4161
4161
|
null
|
|
4162
4162
|
);
|
|
4163
|
-
const
|
|
4163
|
+
const st = at.exports, ot = V.extend({
|
|
4164
4164
|
props: {
|
|
4165
4165
|
alignSelf: {
|
|
4166
4166
|
type: String,
|
|
@@ -4264,25 +4264,25 @@ const at = it.exports, st = U.extend({
|
|
|
4264
4264
|
}
|
|
4265
4265
|
}
|
|
4266
4266
|
});
|
|
4267
|
-
var
|
|
4267
|
+
var lt = function() {
|
|
4268
4268
|
var t = this, r = t._self._c;
|
|
4269
4269
|
return r("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
|
|
4270
|
-
},
|
|
4271
|
-
st,
|
|
4270
|
+
}, ut = [], ct = /* @__PURE__ */ W(
|
|
4272
4271
|
ot,
|
|
4273
4272
|
lt,
|
|
4273
|
+
ut,
|
|
4274
4274
|
!1,
|
|
4275
4275
|
null,
|
|
4276
4276
|
null,
|
|
4277
4277
|
null,
|
|
4278
4278
|
null
|
|
4279
4279
|
);
|
|
4280
|
-
const
|
|
4281
|
-
function
|
|
4280
|
+
const dt = ct.exports;
|
|
4281
|
+
function Ee() {
|
|
4282
4282
|
return !!(document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement);
|
|
4283
4283
|
}
|
|
4284
|
-
function
|
|
4285
|
-
if (
|
|
4284
|
+
function ft(e) {
|
|
4285
|
+
if (Ee())
|
|
4286
4286
|
return new Promise((t) => t());
|
|
4287
4287
|
if (e.requestFullscreen)
|
|
4288
4288
|
return e == null ? void 0 : e.requestFullscreen();
|
|
@@ -4293,8 +4293,8 @@ function dt(e) {
|
|
|
4293
4293
|
if (e.msRequestFullscreen)
|
|
4294
4294
|
return e == null ? void 0 : e.msRequestFullscreen();
|
|
4295
4295
|
}
|
|
4296
|
-
function
|
|
4297
|
-
if (
|
|
4296
|
+
function pt() {
|
|
4297
|
+
if (!Ee())
|
|
4298
4298
|
return new Promise((e) => e());
|
|
4299
4299
|
if (document.exitFullscreen)
|
|
4300
4300
|
return document.exitFullscreen();
|
|
@@ -4305,9 +4305,9 @@ function ft() {
|
|
|
4305
4305
|
if (document.msExitFullscreen)
|
|
4306
4306
|
return document.msExitFullscreen();
|
|
4307
4307
|
}
|
|
4308
|
-
const
|
|
4308
|
+
const J = new Intl.NumberFormat(void 0, {
|
|
4309
4309
|
minimumIntegerDigits: 2
|
|
4310
|
-
}),
|
|
4310
|
+
}), ie = [
|
|
4311
4311
|
"play",
|
|
4312
4312
|
"pause",
|
|
4313
4313
|
"ended",
|
|
@@ -4318,15 +4318,15 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4318
4318
|
"canplay",
|
|
4319
4319
|
"canplaythrough",
|
|
4320
4320
|
"statechanged"
|
|
4321
|
-
],
|
|
4321
|
+
], q = (e) => {
|
|
4322
4322
|
const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60, o = Math.floor(e / 3600);
|
|
4323
|
-
return o === 0 ? `${r}:${
|
|
4323
|
+
return o === 0 ? `${r}:${J.format(t)}` : `${o}:${J.format(
|
|
4324
4324
|
r
|
|
4325
|
-
)}:${
|
|
4326
|
-
}, mt =
|
|
4325
|
+
)}:${J.format(t)}`;
|
|
4326
|
+
}, mt = V.extend({
|
|
4327
4327
|
name: "VideoPlayer",
|
|
4328
4328
|
components: {
|
|
4329
|
-
ESpinner:
|
|
4329
|
+
ESpinner: $e
|
|
4330
4330
|
},
|
|
4331
4331
|
props: {
|
|
4332
4332
|
sources: {
|
|
@@ -4357,9 +4357,7 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4357
4357
|
volume: 1,
|
|
4358
4358
|
isFullscreen: !1,
|
|
4359
4359
|
isFinished: !1,
|
|
4360
|
-
isLoading: !0
|
|
4361
|
-
playbackRate: "1x",
|
|
4362
|
-
isMiniPlayerMode: !1
|
|
4360
|
+
isLoading: !0
|
|
4363
4361
|
};
|
|
4364
4362
|
},
|
|
4365
4363
|
computed: {
|
|
@@ -4371,54 +4369,32 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4371
4369
|
},
|
|
4372
4370
|
withControls() {
|
|
4373
4371
|
const e = this.videoOptions;
|
|
4374
|
-
return
|
|
4372
|
+
return (e == null ? void 0 : e.controls) === !1 ? "hide" : "";
|
|
4375
4373
|
}
|
|
4376
4374
|
},
|
|
4377
4375
|
mounted() {
|
|
4378
|
-
this.bindEvents();
|
|
4379
|
-
const e = this.$refs.player;
|
|
4380
|
-
e && e.muted && this.setMuted(!0), e && document.addEventListener("mouseup", (t) => {
|
|
4381
|
-
this.isScrubbing && this.toggleScrubbing(t);
|
|
4382
|
-
}), window.addEventListener("keydown", this.handleKeyDown), document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled ? (document.addEventListener("fullscreenchange", this.handleFullscreenChange), document.addEventListener(
|
|
4383
|
-
"webkitfullscreenchange",
|
|
4384
|
-
this.handleFullscreenChange
|
|
4385
|
-
), document.addEventListener(
|
|
4386
|
-
"mozfullscreenchange",
|
|
4387
|
-
this.handleFullscreenChange
|
|
4388
|
-
), document.addEventListener(
|
|
4389
|
-
"MSFullscreenChange",
|
|
4390
|
-
this.handleFullscreenChange
|
|
4391
|
-
)) : console.log("Fullscreen API is not supported in this browser.");
|
|
4376
|
+
this.bindEvents(), this.initializePlayer(), this.initializeFullscreenListeners();
|
|
4392
4377
|
},
|
|
4393
4378
|
destroyed() {
|
|
4394
|
-
|
|
4395
|
-
this.isScrubbing && this.toggleScrubbing(e);
|
|
4396
|
-
}), document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled ? (document.removeEventListener(
|
|
4397
|
-
"fullscreenchange",
|
|
4398
|
-
this.handleFullscreenChange
|
|
4399
|
-
), document.removeEventListener(
|
|
4400
|
-
"webkitfullscreenchange",
|
|
4401
|
-
this.handleFullscreenChange
|
|
4402
|
-
), document.removeEventListener(
|
|
4403
|
-
"mozfullscreenchange",
|
|
4404
|
-
this.handleFullscreenChange
|
|
4405
|
-
), document.removeEventListener(
|
|
4406
|
-
"MSFullscreenChange",
|
|
4407
|
-
this.handleFullscreenChange
|
|
4408
|
-
)) : console.log("Fullscreen API is not supported in this browser.");
|
|
4379
|
+
this.unbindEvents(), this.destroyPlayer(), this.removeFullscreenListeners();
|
|
4409
4380
|
},
|
|
4410
4381
|
methods: {
|
|
4411
4382
|
bindEvents() {
|
|
4412
|
-
|
|
4383
|
+
ie.forEach((e) => {
|
|
4413
4384
|
this.bindVideoEvent(e);
|
|
4414
4385
|
});
|
|
4415
4386
|
},
|
|
4387
|
+
unbindEvents() {
|
|
4388
|
+
ie.forEach((e) => {
|
|
4389
|
+
this.unbindVideoEvent(e);
|
|
4390
|
+
});
|
|
4391
|
+
},
|
|
4416
4392
|
bindVideoEvent(e) {
|
|
4417
4393
|
const t = this.$refs.player, r = this.$refs.timelineContainer;
|
|
4418
4394
|
t.addEventListener(
|
|
4419
4395
|
e,
|
|
4420
4396
|
(o) => {
|
|
4421
|
-
e === "loadeddata" && (this.videoLength =
|
|
4397
|
+
e === "loadeddata" && (this.videoLength = q(t.duration)), e === "timeupdate" && (this.percentagePlayed = t.currentTime / t.duration * 100, r.style.setProperty(
|
|
4422
4398
|
"--progress-position",
|
|
4423
4399
|
this.percentagePlayed.toString()
|
|
4424
4400
|
)), this.$emit(e, { event: o, player: this });
|
|
@@ -4426,6 +4402,60 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4426
4402
|
!0
|
|
4427
4403
|
);
|
|
4428
4404
|
},
|
|
4405
|
+
unbindVideoEvent(e) {
|
|
4406
|
+
const t = this.$refs.player, r = this.$refs.timelineContainer;
|
|
4407
|
+
t.addEventListener(
|
|
4408
|
+
e,
|
|
4409
|
+
(o) => {
|
|
4410
|
+
e === "loadeddata" && (this.videoLength = q(t.duration)), e === "timeupdate" && (this.percentagePlayed = t.currentTime / t.duration * 100, r.style.setProperty(
|
|
4411
|
+
"--progress-position",
|
|
4412
|
+
this.percentagePlayed.toString()
|
|
4413
|
+
)), this.$emit(e, { event: o, player: this });
|
|
4414
|
+
},
|
|
4415
|
+
!0
|
|
4416
|
+
);
|
|
4417
|
+
},
|
|
4418
|
+
initializePlayer() {
|
|
4419
|
+
const e = this.$refs.player;
|
|
4420
|
+
e && e.muted && this.setMuted(!0), e && document.addEventListener("mouseup", (t) => {
|
|
4421
|
+
this.isScrubbing && this.toggleScrubbing(t);
|
|
4422
|
+
}), document.addEventListener("keydown", this.handleKeyDown);
|
|
4423
|
+
},
|
|
4424
|
+
destroyPlayer() {
|
|
4425
|
+
window.removeEventListener("keydown", this.handleKeyDown), document.removeEventListener("mouseup", (e) => {
|
|
4426
|
+
this.isScrubbing && this.toggleScrubbing(e);
|
|
4427
|
+
});
|
|
4428
|
+
},
|
|
4429
|
+
removeFullscreenListeners() {
|
|
4430
|
+
document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled ? (document.removeEventListener(
|
|
4431
|
+
"fullscreenchange",
|
|
4432
|
+
this.handleFullscreenChange
|
|
4433
|
+
), document.removeEventListener(
|
|
4434
|
+
"webkitfullscreenchange",
|
|
4435
|
+
this.handleFullscreenChange
|
|
4436
|
+
), document.removeEventListener(
|
|
4437
|
+
"mozfullscreenchange",
|
|
4438
|
+
this.handleFullscreenChange
|
|
4439
|
+
), document.removeEventListener(
|
|
4440
|
+
"MSFullscreenChange",
|
|
4441
|
+
this.handleFullscreenChange
|
|
4442
|
+
)) : console.log("Fullscreen API is not supported in this browser.");
|
|
4443
|
+
},
|
|
4444
|
+
initializeFullscreenListeners() {
|
|
4445
|
+
document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled ? (document.addEventListener(
|
|
4446
|
+
"fullscreenchange",
|
|
4447
|
+
this.handleFullscreenChange
|
|
4448
|
+
), document.addEventListener(
|
|
4449
|
+
"webkitfullscreenchange",
|
|
4450
|
+
this.handleFullscreenChange
|
|
4451
|
+
), document.addEventListener(
|
|
4452
|
+
"mozfullscreenchange",
|
|
4453
|
+
this.handleFullscreenChange
|
|
4454
|
+
), document.addEventListener(
|
|
4455
|
+
"MSFullscreenChange",
|
|
4456
|
+
this.handleFullscreenChange
|
|
4457
|
+
)) : console.log("Fullscreen API is not supported in this browser.");
|
|
4458
|
+
},
|
|
4429
4459
|
handleFullscreenChange() {
|
|
4430
4460
|
document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement || window.innerWidth == screen.width && window.innerHeight == screen.height ? this.isFullscreen = !0 : this.isFullscreen = !1;
|
|
4431
4461
|
},
|
|
@@ -4488,31 +4518,27 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4488
4518
|
this.videoMuted = e;
|
|
4489
4519
|
},
|
|
4490
4520
|
closeFullscreenMode() {
|
|
4491
|
-
document.fullscreenElement && (
|
|
4521
|
+
document.fullscreenElement && (pt().then(() => {
|
|
4492
4522
|
this.isFullscreen = !1, console.log("Exited fullscreen");
|
|
4493
4523
|
}), this.isFullscreen = !1);
|
|
4494
4524
|
},
|
|
4495
4525
|
openFullscreenMode() {
|
|
4496
4526
|
const e = this.$refs.videoContainer;
|
|
4497
|
-
e && (
|
|
4527
|
+
e && (ft(e).then(() => {
|
|
4498
4528
|
this.isFullscreen = !0;
|
|
4499
4529
|
}), this.isFullscreen = !0);
|
|
4500
4530
|
},
|
|
4501
4531
|
toggleFullscreenMode() {
|
|
4502
4532
|
this.isFullscreen ? this.closeFullscreenMode() : this.openFullscreenMode();
|
|
4503
4533
|
},
|
|
4504
|
-
toggleMiniPlayerMode() {
|
|
4505
|
-
const e = this.$refs.player;
|
|
4506
|
-
this.isMiniPlayerMode ? (document.exitPictureInPicture(), this.isMiniPlayerMode = !1) : (e.requestPictureInPicture(), this.isMiniPlayerMode = !0);
|
|
4507
|
-
},
|
|
4508
4534
|
getDuration() {
|
|
4509
4535
|
const e = this.$refs.player;
|
|
4510
|
-
this.videoLength =
|
|
4536
|
+
this.videoLength = q(e.duration), this.videoDuration = e.duration;
|
|
4511
4537
|
},
|
|
4512
4538
|
handleTimeUpdate() {
|
|
4513
4539
|
const e = this.$refs.player, t = this.$refs.timelineContainer;
|
|
4514
4540
|
if (e && t) {
|
|
4515
|
-
this.currentTime =
|
|
4541
|
+
this.currentTime = q(e.currentTime), this.realtime = e.currentTime;
|
|
4516
4542
|
const r = Number(this.realtime) / Number(this.videoDuration);
|
|
4517
4543
|
t.style.setProperty(
|
|
4518
4544
|
"--progress-position",
|
|
@@ -4539,20 +4565,17 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4539
4565
|
},
|
|
4540
4566
|
async toggleScrubbing(e) {
|
|
4541
4567
|
const t = this.$refs.timelineContainer, r = this.$refs.videoContainer, o = this.$refs.player;
|
|
4542
|
-
if (o)
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
i !== void 0 && i.then(() => this.handleTimelineUpdate(e)).catch(console.error);
|
|
4549
|
-
}
|
|
4568
|
+
if (!o)
|
|
4569
|
+
return;
|
|
4570
|
+
const s = t.getBoundingClientRect(), l = Math.min(Math.max(0, e.x - s.x), s.width) / s.width;
|
|
4571
|
+
if (this.isScrubbing = (e.buttons & 1) === 1, r.classList.toggle("scrubbing", this.isScrubbing), this.isScrubbing) {
|
|
4572
|
+
this.wasPaused = o.paused, await o.pause(), this.handleTimelineUpdate(e);
|
|
4573
|
+
return;
|
|
4550
4574
|
}
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
const
|
|
4554
|
-
|
|
4555
|
-
t > 2 && (t = 0.25), this.$refs.player && (e.playbackRate = t), this.playbackRate = `${t}x`;
|
|
4575
|
+
if (this.realtime = l * this.videoDuration, o.currentTime = l * this.videoDuration, this.wasPaused)
|
|
4576
|
+
return;
|
|
4577
|
+
const i = o.play();
|
|
4578
|
+
i !== void 0 && i.then(() => this.handleTimelineUpdate(e)).catch(console.error);
|
|
4556
4579
|
},
|
|
4557
4580
|
handleKeyDown(e) {
|
|
4558
4581
|
var r;
|
|
@@ -4562,6 +4585,7 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4562
4585
|
case " ":
|
|
4563
4586
|
if (t === "button")
|
|
4564
4587
|
return;
|
|
4588
|
+
this.togglePlay();
|
|
4565
4589
|
break;
|
|
4566
4590
|
case "k":
|
|
4567
4591
|
this.togglePlay();
|
|
@@ -4572,35 +4596,28 @@ const K = new Intl.NumberFormat(void 0, {
|
|
|
4572
4596
|
case "f":
|
|
4573
4597
|
this.openFullscreenMode(), this.isFullscreen = !0;
|
|
4574
4598
|
break;
|
|
4575
|
-
case "i":
|
|
4576
|
-
this.toggleMiniPlayerMode();
|
|
4577
|
-
break;
|
|
4578
4599
|
case "m":
|
|
4579
4600
|
this.toggleMute();
|
|
4580
4601
|
break;
|
|
4581
|
-
case "arrowleft":
|
|
4582
|
-
case "j":
|
|
4583
|
-
this.skip(-5);
|
|
4584
|
-
break;
|
|
4585
|
-
case "arrowright":
|
|
4586
|
-
case "l":
|
|
4587
|
-
this.skip(5);
|
|
4588
|
-
break;
|
|
4589
4602
|
}
|
|
4590
4603
|
}
|
|
4591
4604
|
}
|
|
4592
4605
|
});
|
|
4593
4606
|
var gt = function() {
|
|
4594
4607
|
var t = this, r = t._self._c;
|
|
4595
|
-
return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [
|
|
4608
|
+
return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [r("video", t._g(t._b({ ref: "player", attrs: { controls: !1, preload: "auto" }, on: { ended: t.handleEnded, click: t.togglePlay, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners), t._l(t.hasMultipleSources ? t.sources : [{ src: t.sources }], function(o) {
|
|
4596
4609
|
return r("source", { key: o.src, attrs: { src: o.src, type: o.type } });
|
|
4597
|
-
}), 0)
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4610
|
+
}), 0), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { size: "9xl", opacity: "0.6", dark: !0 } })], 1) : t._e(), r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-sm fa-solid", class: {
|
|
4611
|
+
"fa-play": !t.playing,
|
|
4612
|
+
"fa-pause": t.playing
|
|
4613
|
+
}, attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }), r("div", { staticClass: "volume-container" }, [r("button", { ref: "muteBtn", staticClass: "mute-btn fa-solid", class: {
|
|
4614
|
+
"fa-volume": t.volume > 0.5 && !t.videoMuted,
|
|
4615
|
+
"fa-volume-low": t.volume <= 0.5 && !t.videoMuted,
|
|
4616
|
+
"fa-volume-slash": t.videoMuted
|
|
4617
|
+
}, attrs: { title: t.videoMuted ? "Unmute" : "Mute" }, on: { click: t.toggleMute } }), r("input", { ref: "volumeSlider", staticClass: "volume-slider", attrs: { type: "range", min: "0", max: "1", step: "any" }, domProps: { value: t.volume }, on: { input: t.handleVolumeChange } })]), r("div", { staticClass: "duration-container" }, [r("div", { ref: "currentTimeElem", staticClass: "current-time" }, [t._v(" " + t._s(t.currentTime) + " ")]), t._v(" / "), r("div", { ref: "totalTimeElem", staticClass: "total-time" }, [t._v(t._s(t.videoLength))])]), r("div", { ref: "timelineContainer", staticClass: "timeline-container", on: { mousemove: t.handleTimelineUpdate, mousedown: t.toggleScrubbing } }, [t._m(0)]), r("button", { ref: "fullScreenBtn", staticClass: "full-screen-btn fa-solid", class: {
|
|
4618
|
+
"fa-expand": !t.isFullscreen,
|
|
4619
|
+
"fa-compress": t.isFullscreen
|
|
4620
|
+
}, on: { click: t.toggleFullscreenMode } })])])]);
|
|
4604
4621
|
}, ht = [function() {
|
|
4605
4622
|
var e = this, t = e._self._c;
|
|
4606
4623
|
return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
|
|
@@ -4610,22 +4627,22 @@ var gt = function() {
|
|
|
4610
4627
|
ht,
|
|
4611
4628
|
!1,
|
|
4612
4629
|
null,
|
|
4613
|
-
"
|
|
4630
|
+
"631af8ea",
|
|
4614
4631
|
null,
|
|
4615
4632
|
null
|
|
4616
4633
|
);
|
|
4617
|
-
const vt = yt.exports,
|
|
4634
|
+
const vt = yt.exports, ae = {
|
|
4618
4635
|
EAvatar: Le,
|
|
4619
|
-
EBadge:
|
|
4620
|
-
EIcon:
|
|
4621
|
-
ESpinner:
|
|
4622
|
-
ERow:
|
|
4623
|
-
ECol:
|
|
4636
|
+
EBadge: se,
|
|
4637
|
+
EIcon: Je,
|
|
4638
|
+
ESpinner: $e,
|
|
4639
|
+
ERow: st,
|
|
4640
|
+
ECol: dt,
|
|
4624
4641
|
EVideoPlayer: vt
|
|
4625
|
-
},
|
|
4642
|
+
}, Ct = {
|
|
4626
4643
|
install(e) {
|
|
4627
|
-
Object.keys(
|
|
4628
|
-
e.component(t,
|
|
4644
|
+
Object.keys(ae).forEach((t) => {
|
|
4645
|
+
e.component(t, ae[t]);
|
|
4629
4646
|
});
|
|
4630
4647
|
}
|
|
4631
4648
|
};
|
|
@@ -4633,24 +4650,24 @@ export {
|
|
|
4633
4650
|
_t as AvatarSizes,
|
|
4634
4651
|
wt as BadgeColors,
|
|
4635
4652
|
xt as BadgeSizes,
|
|
4636
|
-
|
|
4637
|
-
|
|
4653
|
+
L as BaseColor,
|
|
4654
|
+
qe as Colors,
|
|
4638
4655
|
Le as EAvatar,
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4656
|
+
se as EBadge,
|
|
4657
|
+
dt as ECol,
|
|
4658
|
+
Je as EIcon,
|
|
4659
|
+
st as ERow,
|
|
4660
|
+
$e as ESpinner,
|
|
4661
|
+
St as EVENTS,
|
|
4645
4662
|
vt as EVideoPlayer,
|
|
4646
|
-
|
|
4663
|
+
He as IconSizes,
|
|
4647
4664
|
w as Size,
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4665
|
+
Ie as TextSizes,
|
|
4666
|
+
ae as components,
|
|
4667
|
+
Ct as default,
|
|
4668
|
+
pt as exitFullScreen,
|
|
4669
|
+
ke as fullConfig,
|
|
4670
|
+
Ee as isFullScreen,
|
|
4671
|
+
ft as makeFullScreen
|
|
4655
4672
|
};
|
|
4656
4673
|
//# sourceMappingURL=index.mjs.map
|