@evercam/ui 0.0.21 → 0.0.22-beta.1
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/attributes.json +20 -0
- package/dist/index.mjs +312 -302
- 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/ERow.vue.d.ts +6 -0
- package/dist/src/components/EVideoPlayer.vue.d.ts +2 -5
- package/dist/src/index.d.ts +8 -4
- package/dist/style.css +1 -1
- package/dist/styles.css +128 -0
- package/dist/tags.json +5 -0
- package/dist/web-types.json +46 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import U 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 || {}),
|
|
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 || {}), j = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(j || {});
|
|
3
3
|
const $e = U.extend({
|
|
4
4
|
name: "EBadge",
|
|
5
5
|
props: {
|
|
@@ -9,7 +9,7 @@ const $e = U.extend({
|
|
|
9
9
|
},
|
|
10
10
|
color: {
|
|
11
11
|
type: String,
|
|
12
|
-
default:
|
|
12
|
+
default: j.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
|
+
[j.error]: "e-bg-rose-500 e-text-white",
|
|
23
|
+
[j.info]: "e-bg-cyan-500 e-text-white",
|
|
24
|
+
[j.warning]: "e-bg-amber-500 e-text-white",
|
|
25
|
+
[j.primary]: "e-bg-sky-500 e-text-white",
|
|
26
|
+
[j.default]: "e-bg-slate-300 e-text-white",
|
|
27
|
+
[j.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[j.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,
|
|
@@ -50,20 +50,20 @@ const $e = U.extend({
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
|
-
function W(e, t, r,
|
|
53
|
+
function W(e, t, r, o, s, l, i, v) {
|
|
54
54
|
var a = typeof e == "function" ? e.options : e;
|
|
55
|
-
t && (a.render = t, a.staticRenderFns = r, a._compiled = !0),
|
|
55
|
+
t && (a.render = t, a.staticRenderFns = r, a._compiled = !0), o && (a.functional = !0), l && (a._scopeId = "data-v-" + l);
|
|
56
56
|
var n;
|
|
57
57
|
if (i ? (n = function(d) {
|
|
58
58
|
d = d || // cached call
|
|
59
59
|
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
60
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !d && typeof __VUE_SSR_CONTEXT__ != "undefined" && (d = __VUE_SSR_CONTEXT__),
|
|
61
|
-
}, a._ssrRegister = n) :
|
|
62
|
-
|
|
60
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !d && typeof __VUE_SSR_CONTEXT__ != "undefined" && (d = __VUE_SSR_CONTEXT__), s && s.call(this, d), d && d._registeredComponents && d._registeredComponents.add(i);
|
|
61
|
+
}, a._ssrRegister = n) : s && (n = v ? function() {
|
|
62
|
+
s.call(
|
|
63
63
|
this,
|
|
64
64
|
(a.functional ? this.parent : this).$root.$options.shadowRoot
|
|
65
65
|
);
|
|
66
|
-
} :
|
|
66
|
+
} : s), n)
|
|
67
67
|
if (a.functional) {
|
|
68
68
|
a._injectStyles = n;
|
|
69
69
|
var p = a.render;
|
|
@@ -108,7 +108,7 @@ const ae = Ae.exports, Fe = U.extend({
|
|
|
108
108
|
},
|
|
109
109
|
badgeColor: {
|
|
110
110
|
type: String,
|
|
111
|
-
default:
|
|
111
|
+
default: j.error
|
|
112
112
|
},
|
|
113
113
|
badgeText: {
|
|
114
114
|
type: String,
|
|
@@ -162,10 +162,10 @@ var ze = function() {
|
|
|
162
162
|
null
|
|
163
163
|
);
|
|
164
164
|
const Le = Te.exports;
|
|
165
|
-
function
|
|
165
|
+
function je(e) {
|
|
166
166
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
167
167
|
}
|
|
168
|
-
var
|
|
168
|
+
var se = {}, oe = {}, J = {};
|
|
169
169
|
(function(e) {
|
|
170
170
|
Object.defineProperty(e, "__esModule", {
|
|
171
171
|
value: !0
|
|
@@ -179,16 +179,16 @@ var oe = {}, se = {}, J = {};
|
|
|
179
179
|
if (r = `${r}`, r === "0")
|
|
180
180
|
return "0";
|
|
181
181
|
if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))
|
|
182
|
-
return r.replace(/^[+-]?/, (
|
|
183
|
-
let
|
|
182
|
+
return r.replace(/^[+-]?/, (s) => s === "-" ? "" : "-");
|
|
183
|
+
let o = [
|
|
184
184
|
"var",
|
|
185
185
|
"calc",
|
|
186
186
|
"min",
|
|
187
187
|
"max",
|
|
188
188
|
"clamp"
|
|
189
189
|
];
|
|
190
|
-
for (const
|
|
191
|
-
if (r.includes(`${
|
|
190
|
+
for (const s of o)
|
|
191
|
+
if (r.includes(`${s}(`))
|
|
192
192
|
return `calc(${r} * -1)`;
|
|
193
193
|
}
|
|
194
194
|
})(J);
|
|
@@ -390,9 +390,9 @@ var ue = {};
|
|
|
390
390
|
return t;
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
|
-
function t(r,
|
|
394
|
-
return r === void 0 ?
|
|
395
|
-
...new Set(
|
|
393
|
+
function t(r, o) {
|
|
394
|
+
return r === void 0 ? o : Array.isArray(r) ? r : [
|
|
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
398
|
})(ue);
|
|
@@ -418,23 +418,23 @@ var de = ee.exports;
|
|
|
418
418
|
return i;
|
|
419
419
|
},
|
|
420
420
|
default: function() {
|
|
421
|
-
return
|
|
421
|
+
return v;
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
const r = /* @__PURE__ */
|
|
425
|
-
function
|
|
424
|
+
const r = /* @__PURE__ */ o(de);
|
|
425
|
+
function o(a) {
|
|
426
426
|
return a && a.__esModule ? a : {
|
|
427
427
|
default: a
|
|
428
428
|
};
|
|
429
429
|
}
|
|
430
|
-
let
|
|
430
|
+
let s = /* @__PURE__ */ new Set();
|
|
431
431
|
function l(a, n, p) {
|
|
432
|
-
typeof process != "undefined" && process.env.JEST_WORKER_ID || p &&
|
|
432
|
+
typeof process != "undefined" && process.env.JEST_WORKER_ID || p && s.has(p) || (p && s.add(p), console.warn(""), n.forEach((g) => console.warn(a, "-", g)));
|
|
433
433
|
}
|
|
434
434
|
function i(a) {
|
|
435
435
|
return r.default.dim(a);
|
|
436
436
|
}
|
|
437
|
-
const
|
|
437
|
+
const v = {
|
|
438
438
|
info(a, n) {
|
|
439
439
|
l(r.default.bold(r.default.cyan("info")), ...Array.isArray(a) ? [
|
|
440
440
|
a
|
|
@@ -467,7 +467,7 @@ var de = ee.exports;
|
|
|
467
467
|
}), Object.defineProperty(e, "default", {
|
|
468
468
|
enumerable: !0,
|
|
469
469
|
get: function() {
|
|
470
|
-
return
|
|
470
|
+
return s;
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
473
|
const t = /* @__PURE__ */ r(I);
|
|
@@ -476,13 +476,13 @@ var de = ee.exports;
|
|
|
476
476
|
default: l
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function o({ version: l, from: i, to: v }) {
|
|
480
480
|
t.default.warn(`${i}-color-renamed`, [
|
|
481
|
-
`As of Tailwind CSS ${l}, \`${i}\` has been renamed to \`${
|
|
481
|
+
`As of Tailwind CSS ${l}, \`${i}\` has been renamed to \`${v}\`.`,
|
|
482
482
|
"Update your configuration file to silence this warning."
|
|
483
483
|
]);
|
|
484
484
|
}
|
|
485
|
-
const
|
|
485
|
+
const s = {
|
|
486
486
|
inherit: "inherit",
|
|
487
487
|
current: "currentColor",
|
|
488
488
|
transparent: "transparent",
|
|
@@ -775,35 +775,35 @@ var de = ee.exports;
|
|
|
775
775
|
950: "#4c0519"
|
|
776
776
|
},
|
|
777
777
|
get lightBlue() {
|
|
778
|
-
return
|
|
778
|
+
return o({
|
|
779
779
|
version: "v2.2",
|
|
780
780
|
from: "lightBlue",
|
|
781
781
|
to: "sky"
|
|
782
782
|
}), this.sky;
|
|
783
783
|
},
|
|
784
784
|
get warmGray() {
|
|
785
|
-
return
|
|
785
|
+
return o({
|
|
786
786
|
version: "v3.0",
|
|
787
787
|
from: "warmGray",
|
|
788
788
|
to: "stone"
|
|
789
789
|
}), this.stone;
|
|
790
790
|
},
|
|
791
791
|
get trueGray() {
|
|
792
|
-
return
|
|
792
|
+
return o({
|
|
793
793
|
version: "v3.0",
|
|
794
794
|
from: "trueGray",
|
|
795
795
|
to: "neutral"
|
|
796
796
|
}), this.neutral;
|
|
797
797
|
},
|
|
798
798
|
get coolGray() {
|
|
799
|
-
return
|
|
799
|
+
return o({
|
|
800
800
|
version: "v3.0",
|
|
801
801
|
from: "coolGray",
|
|
802
802
|
to: "gray"
|
|
803
803
|
}), this.gray;
|
|
804
804
|
},
|
|
805
805
|
get blueGray() {
|
|
806
|
-
return
|
|
806
|
+
return o({
|
|
807
807
|
version: "v3.0",
|
|
808
808
|
from: "blueGray",
|
|
809
809
|
to: "slate"
|
|
@@ -821,15 +821,15 @@ var fe = {};
|
|
|
821
821
|
return t;
|
|
822
822
|
}
|
|
823
823
|
});
|
|
824
|
-
function t(r, ...
|
|
825
|
-
for (let i of
|
|
826
|
-
for (let
|
|
827
|
-
var
|
|
828
|
-
!(r == null || (
|
|
824
|
+
function t(r, ...o) {
|
|
825
|
+
for (let i of o) {
|
|
826
|
+
for (let v in i) {
|
|
827
|
+
var s;
|
|
828
|
+
!(r == null || (s = r.hasOwnProperty) === null || s === void 0) && s.call(r, v) || (r[v] = i[v]);
|
|
829
829
|
}
|
|
830
|
-
for (let
|
|
830
|
+
for (let v of Object.getOwnPropertySymbols(i)) {
|
|
831
831
|
var l;
|
|
832
|
-
!(r == null || (l = r.hasOwnProperty) === null || l === void 0) && l.call(r,
|
|
832
|
+
!(r == null || (l = r.hasOwnProperty) === null || l === void 0) && l.call(r, v) || (r[v] = i[v]);
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
835
|
return r;
|
|
@@ -848,8 +848,8 @@ var pe = {};
|
|
|
848
848
|
function t(r) {
|
|
849
849
|
if (Array.isArray(r))
|
|
850
850
|
return r;
|
|
851
|
-
let
|
|
852
|
-
if (
|
|
851
|
+
let o = r.split("[").length - 1, s = r.split("]").length - 1;
|
|
852
|
+
if (o !== s)
|
|
853
853
|
throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
|
|
854
854
|
return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
855
855
|
}
|
|
@@ -868,7 +868,7 @@ var me = {}, q = {};
|
|
|
868
868
|
}
|
|
869
869
|
t(e, {
|
|
870
870
|
flagEnabled: function() {
|
|
871
|
-
return
|
|
871
|
+
return v;
|
|
872
872
|
},
|
|
873
873
|
issueFlagNotices: function() {
|
|
874
874
|
return n;
|
|
@@ -877,8 +877,8 @@ var me = {}, q = {};
|
|
|
877
877
|
return p;
|
|
878
878
|
}
|
|
879
879
|
});
|
|
880
|
-
const r = /* @__PURE__ */
|
|
881
|
-
function
|
|
880
|
+
const r = /* @__PURE__ */ s(de), o = /* @__PURE__ */ s(I);
|
|
881
|
+
function s(g) {
|
|
882
882
|
return g && g.__esModule ? g : {
|
|
883
883
|
default: g
|
|
884
884
|
};
|
|
@@ -904,7 +904,7 @@ var me = {}, q = {};
|
|
|
904
904
|
"generalizedModifiers"
|
|
905
905
|
]
|
|
906
906
|
};
|
|
907
|
-
function
|
|
907
|
+
function v(g, d) {
|
|
908
908
|
if (i.future.includes(d)) {
|
|
909
909
|
var C, h, P;
|
|
910
910
|
return g.future === "all" || ((P = (h = g == null || (C = g.future) === null || C === void 0 ? void 0 : C[d]) !== null && h !== void 0 ? h : l[d]) !== null && P !== void 0 ? P : !1);
|
|
@@ -924,7 +924,7 @@ var me = {}, q = {};
|
|
|
924
924
|
function n(g) {
|
|
925
925
|
if (process.env.JEST_WORKER_ID === void 0 && a(g).length > 0) {
|
|
926
926
|
let d = a(g).map((C) => r.default.yellow(C)).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."
|
|
930
930
|
]);
|
|
@@ -941,23 +941,23 @@ var me = {}, q = {};
|
|
|
941
941
|
return l;
|
|
942
942
|
}
|
|
943
943
|
});
|
|
944
|
-
const t = q, r = /* @__PURE__ */
|
|
945
|
-
function
|
|
944
|
+
const t = q, r = /* @__PURE__ */ s(I);
|
|
945
|
+
function o(i) {
|
|
946
946
|
if (typeof WeakMap != "function")
|
|
947
947
|
return null;
|
|
948
|
-
var
|
|
949
|
-
return (
|
|
950
|
-
return n ? a :
|
|
948
|
+
var v = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
|
|
949
|
+
return (o = function(n) {
|
|
950
|
+
return n ? a : v;
|
|
951
951
|
})(i);
|
|
952
952
|
}
|
|
953
|
-
function
|
|
954
|
-
if (!
|
|
953
|
+
function s(i, v) {
|
|
954
|
+
if (!v && i && i.__esModule)
|
|
955
955
|
return i;
|
|
956
956
|
if (i === null || typeof i != "object" && typeof i != "function")
|
|
957
957
|
return {
|
|
958
958
|
default: i
|
|
959
959
|
};
|
|
960
|
-
var a =
|
|
960
|
+
var a = o(v);
|
|
961
961
|
if (a && a.has(i))
|
|
962
962
|
return a.get(i);
|
|
963
963
|
var n = {}, p = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -1094,8 +1094,8 @@ var ge = {};
|
|
|
1094
1094
|
function t(r) {
|
|
1095
1095
|
if (Object.prototype.toString.call(r) !== "[object Object]")
|
|
1096
1096
|
return !1;
|
|
1097
|
-
const
|
|
1098
|
-
return
|
|
1097
|
+
const o = Object.getPrototypeOf(r);
|
|
1098
|
+
return o === null || o === Object.prototype;
|
|
1099
1099
|
}
|
|
1100
1100
|
})(ge);
|
|
1101
1101
|
var he = {};
|
|
@@ -1109,13 +1109,13 @@ var he = {};
|
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
1111
|
function t(r) {
|
|
1112
|
-
return Array.isArray(r) ? r.map((
|
|
1113
|
-
|
|
1114
|
-
t(
|
|
1112
|
+
return Array.isArray(r) ? r.map((o) => t(o)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([o, s]) => [
|
|
1113
|
+
o,
|
|
1114
|
+
t(s)
|
|
1115
1115
|
])) : r;
|
|
1116
1116
|
}
|
|
1117
1117
|
})(he);
|
|
1118
|
-
var
|
|
1118
|
+
var ye = {}, ve = {};
|
|
1119
1119
|
(function(e) {
|
|
1120
1120
|
Object.defineProperty(e, "__esModule", {
|
|
1121
1121
|
value: !0
|
|
@@ -1128,7 +1128,7 @@ var ve = {}, ye = {};
|
|
|
1128
1128
|
function t(r) {
|
|
1129
1129
|
return r.replace(/\\,/g, "\\2c ");
|
|
1130
1130
|
}
|
|
1131
|
-
})(
|
|
1131
|
+
})(ve);
|
|
1132
1132
|
var te = {}, re = {}, be = {};
|
|
1133
1133
|
(function(e) {
|
|
1134
1134
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -1901,13 +1901,13 @@ var te = {}, re = {}, be = {};
|
|
|
1901
1901
|
return C;
|
|
1902
1902
|
}
|
|
1903
1903
|
});
|
|
1904
|
-
const r = /* @__PURE__ */
|
|
1905
|
-
function
|
|
1904
|
+
const r = /* @__PURE__ */ o(be);
|
|
1905
|
+
function o(h) {
|
|
1906
1906
|
return h && h.__esModule ? h : {
|
|
1907
1907
|
default: h
|
|
1908
1908
|
};
|
|
1909
1909
|
}
|
|
1910
|
-
let
|
|
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
1911
|
function d(h, { loose: P = !1 } = {}) {
|
|
1912
1912
|
var O, z;
|
|
1913
1913
|
if (typeof h != "string")
|
|
@@ -1925,9 +1925,9 @@ var te = {}, re = {}, be = {};
|
|
|
1925
1925
|
if (h in r.default)
|
|
1926
1926
|
return {
|
|
1927
1927
|
mode: "rgb",
|
|
1928
|
-
color: r.default[h].map((
|
|
1928
|
+
color: r.default[h].map((R) => R.toString())
|
|
1929
1929
|
};
|
|
1930
|
-
let M = h.replace(l, (
|
|
1930
|
+
let M = h.replace(l, (R, B, V, m, k) => [
|
|
1931
1931
|
"#",
|
|
1932
1932
|
B,
|
|
1933
1933
|
B,
|
|
@@ -1936,7 +1936,7 @@ var te = {}, re = {}, be = {};
|
|
|
1936
1936
|
m,
|
|
1937
1937
|
m,
|
|
1938
1938
|
k ? k + k : ""
|
|
1939
|
-
].join("")).match(
|
|
1939
|
+
].join("")).match(s);
|
|
1940
1940
|
if (M !== null)
|
|
1941
1941
|
return {
|
|
1942
1942
|
mode: "rgb",
|
|
@@ -1944,7 +1944,7 @@ var te = {}, re = {}, be = {};
|
|
|
1944
1944
|
parseInt(M[1], 16),
|
|
1945
1945
|
parseInt(M[2], 16),
|
|
1946
1946
|
parseInt(M[3], 16)
|
|
1947
|
-
].map((
|
|
1947
|
+
].map((R) => R.toString()),
|
|
1948
1948
|
alpha: M[4] ? (parseInt(M[4], 16) / 255).toString() : void 0
|
|
1949
1949
|
};
|
|
1950
1950
|
var A;
|
|
@@ -1955,14 +1955,14 @@ var te = {}, re = {}, be = {};
|
|
|
1955
1955
|
T[2],
|
|
1956
1956
|
T[3],
|
|
1957
1957
|
T[4]
|
|
1958
|
-
].filter(Boolean).map((
|
|
1958
|
+
].filter(Boolean).map((R) => R.toString());
|
|
1959
1959
|
return L.length === 2 && L[0].startsWith("var(") ? {
|
|
1960
1960
|
mode: T[1],
|
|
1961
1961
|
color: [
|
|
1962
1962
|
L[0]
|
|
1963
1963
|
],
|
|
1964
1964
|
alpha: L[1]
|
|
1965
|
-
} : !P && L.length !== 3 || L.length < 3 && !L.some((
|
|
1965
|
+
} : !P && L.length !== 3 || L.length < 3 && !L.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
|
|
1966
1966
|
mode: T[1],
|
|
1967
1967
|
color: L,
|
|
1968
1968
|
alpha: (O = T[5]) === null || O === void 0 || (z = O.toString) === null || z === void 0 ? void 0 : z.call(O)
|
|
@@ -1978,22 +1978,22 @@ var te = {}, re = {}, be = {};
|
|
|
1978
1978
|
value: !0
|
|
1979
1979
|
});
|
|
1980
1980
|
function t(l, i) {
|
|
1981
|
-
for (var
|
|
1982
|
-
Object.defineProperty(l,
|
|
1981
|
+
for (var v in i)
|
|
1982
|
+
Object.defineProperty(l, v, {
|
|
1983
1983
|
enumerable: !0,
|
|
1984
|
-
get: i[
|
|
1984
|
+
get: i[v]
|
|
1985
1985
|
});
|
|
1986
1986
|
}
|
|
1987
1987
|
t(e, {
|
|
1988
1988
|
withAlphaValue: function() {
|
|
1989
|
-
return
|
|
1989
|
+
return o;
|
|
1990
1990
|
},
|
|
1991
1991
|
default: function() {
|
|
1992
|
-
return
|
|
1992
|
+
return s;
|
|
1993
1993
|
}
|
|
1994
1994
|
});
|
|
1995
1995
|
const r = re;
|
|
1996
|
-
function
|
|
1996
|
+
function o(l, i, v) {
|
|
1997
1997
|
if (typeof l == "function")
|
|
1998
1998
|
return l({
|
|
1999
1999
|
opacityValue: i
|
|
@@ -2001,21 +2001,21 @@ var te = {}, re = {}, be = {};
|
|
|
2001
2001
|
let a = (0, r.parseColor)(l, {
|
|
2002
2002
|
loose: !0
|
|
2003
2003
|
});
|
|
2004
|
-
return a === null ?
|
|
2004
|
+
return a === null ? v : (0, r.formatColor)({
|
|
2005
2005
|
...a,
|
|
2006
2006
|
alpha: i
|
|
2007
2007
|
});
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function s({ color: l, property: i, variable: v }) {
|
|
2010
2010
|
let a = [].concat(i);
|
|
2011
2011
|
if (typeof l == "function")
|
|
2012
2012
|
return {
|
|
2013
|
-
[
|
|
2013
|
+
[v]: "1",
|
|
2014
2014
|
...Object.fromEntries(a.map((p) => [
|
|
2015
2015
|
p,
|
|
2016
2016
|
l({
|
|
2017
|
-
opacityVariable:
|
|
2018
|
-
opacityValue: `var(${
|
|
2017
|
+
opacityVariable: v,
|
|
2018
|
+
opacityValue: `var(${v})`
|
|
2019
2019
|
})
|
|
2020
2020
|
]))
|
|
2021
2021
|
};
|
|
@@ -2027,12 +2027,12 @@ var te = {}, re = {}, be = {};
|
|
|
2027
2027
|
p,
|
|
2028
2028
|
l
|
|
2029
2029
|
])) : {
|
|
2030
|
-
[
|
|
2030
|
+
[v]: "1",
|
|
2031
2031
|
...Object.fromEntries(a.map((p) => [
|
|
2032
2032
|
p,
|
|
2033
2033
|
(0, r.formatColor)({
|
|
2034
2034
|
...n,
|
|
2035
|
-
alpha: `var(${
|
|
2035
|
+
alpha: `var(${v})`
|
|
2036
2036
|
})
|
|
2037
2037
|
]))
|
|
2038
2038
|
};
|
|
@@ -2048,11 +2048,11 @@ var ne = {}, xe = {}, G = {};
|
|
|
2048
2048
|
return t;
|
|
2049
2049
|
}
|
|
2050
2050
|
});
|
|
2051
|
-
function t(r,
|
|
2052
|
-
let
|
|
2051
|
+
function t(r, o) {
|
|
2052
|
+
let s = [], l = [], i = 0, v = !1;
|
|
2053
2053
|
for (let a = 0; a < r.length; a++) {
|
|
2054
2054
|
let n = r[a];
|
|
2055
|
-
|
|
2055
|
+
s.length === 0 && n === o[0] && !v && (o.length === 1 || r.slice(a, a + o.length) === o) && (l.push(r.slice(i, a)), i = a + o.length), v ? v = !1 : n === "\\" && (v = !0), n === "(" || n === "[" || n === "{" ? s.push(n) : (n === ")" && s[s.length - 1] === "(" || n === "]" && s[s.length - 1] === "[" || n === "}" && s[s.length - 1] === "{") && s.pop();
|
|
2056
2056
|
}
|
|
2057
2057
|
return l.push(r.slice(i)), l;
|
|
2058
2058
|
}
|
|
@@ -2073,28 +2073,28 @@ var ne = {}, xe = {}, G = {};
|
|
|
2073
2073
|
return i;
|
|
2074
2074
|
},
|
|
2075
2075
|
formatBoxShadowValue: function() {
|
|
2076
|
-
return
|
|
2076
|
+
return v;
|
|
2077
2077
|
}
|
|
2078
2078
|
});
|
|
2079
2079
|
const r = G;
|
|
2080
|
-
let
|
|
2080
|
+
let o = /* @__PURE__ */ new Set([
|
|
2081
2081
|
"inset",
|
|
2082
2082
|
"inherit",
|
|
2083
2083
|
"initial",
|
|
2084
2084
|
"revert",
|
|
2085
2085
|
"unset"
|
|
2086
|
-
]),
|
|
2086
|
+
]), s = /\ +(?![^(]*\))/g, l = /^-?(\d+|\.\d+)(.*?)$/g;
|
|
2087
2087
|
function i(a) {
|
|
2088
2088
|
return (0, r.splitAtTopLevelOnly)(a, ",").map((p) => {
|
|
2089
2089
|
let g = p.trim(), d = {
|
|
2090
2090
|
raw: g
|
|
2091
|
-
}, C = g.split(
|
|
2091
|
+
}, C = g.split(s), h = /* @__PURE__ */ new Set();
|
|
2092
2092
|
for (let P of C)
|
|
2093
|
-
l.lastIndex = 0, !h.has("KEYWORD") &&
|
|
2093
|
+
l.lastIndex = 0, !h.has("KEYWORD") && o.has(P) ? (d.keyword = P, h.add("KEYWORD")) : l.test(P) ? h.has("X") ? h.has("Y") ? h.has("BLUR") ? h.has("SPREAD") || (d.spread = P, h.add("SPREAD")) : (d.blur = P, h.add("BLUR")) : (d.y = P, h.add("Y")) : (d.x = P, h.add("X")) : d.color ? (d.unknown || (d.unknown = []), d.unknown.push(P)) : d.color = P;
|
|
2094
2094
|
return d.valid = d.x !== void 0 && d.y !== void 0, d;
|
|
2095
2095
|
});
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function v(a) {
|
|
2098
2098
|
return a.map((n) => n.valid ? [
|
|
2099
2099
|
n.keyword,
|
|
2100
2100
|
n.x,
|
|
@@ -2163,7 +2163,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2163
2163
|
return S;
|
|
2164
2164
|
}
|
|
2165
2165
|
});
|
|
2166
|
-
const r = re,
|
|
2166
|
+
const r = re, o = xe, s = G;
|
|
2167
2167
|
let l = [
|
|
2168
2168
|
"min",
|
|
2169
2169
|
"max",
|
|
@@ -2173,14 +2173,14 @@ var ne = {}, xe = {}, G = {};
|
|
|
2173
2173
|
function i(u) {
|
|
2174
2174
|
return l.some((x) => new RegExp(`^${x}\\(.*\\)`).test(u));
|
|
2175
2175
|
}
|
|
2176
|
-
const
|
|
2176
|
+
const v = "--tw-placeholder", a = new RegExp(v, "g");
|
|
2177
2177
|
function n(u, x = !0) {
|
|
2178
2178
|
return u.startsWith("--") ? `var(${u})` : u.includes("url(") ? u.split(/(url\(.*?\))/g).filter(Boolean).map((E) => /^url\(.*?\)$/.test(E) ? E : n(E, !1)).join("") : (u = u.replace(/([^\\])_+/g, (E, $) => $ + " ".repeat(E.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
2182
|
let E = [];
|
|
2183
|
-
return x.replace(/var\((--.+?)[,)]/g, ($, H) => (E.push(H), $.replace(H,
|
|
2183
|
+
return x.replace(/var\((--.+?)[,)]/g, ($, H) => (E.push(H), $.replace(H, v))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(a, () => E.shift());
|
|
2184
2184
|
});
|
|
2185
2185
|
}
|
|
2186
2186
|
function g(u) {
|
|
@@ -2237,7 +2237,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2237
2237
|
return z.has(u);
|
|
2238
2238
|
}
|
|
2239
2239
|
function A(u) {
|
|
2240
|
-
let x = (0,
|
|
2240
|
+
let x = (0, o.parseBoxShadowValue)(n(u));
|
|
2241
2241
|
for (let E of x)
|
|
2242
2242
|
if (!E.valid)
|
|
2243
2243
|
return !1;
|
|
@@ -2245,20 +2245,20 @@ var ne = {}, xe = {}, G = {};
|
|
|
2245
2245
|
}
|
|
2246
2246
|
function T(u) {
|
|
2247
2247
|
let x = 0;
|
|
2248
|
-
return (0,
|
|
2248
|
+
return (0, s.splitAtTopLevelOnly)(u, "_").every(($) => ($ = n($), $.startsWith("var(") ? !0 : (0, r.parseColor)($, {
|
|
2249
2249
|
loose: !0
|
|
2250
2250
|
}) !== null ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2251
2251
|
}
|
|
2252
2252
|
function L(u) {
|
|
2253
2253
|
let x = 0;
|
|
2254
|
-
return (0,
|
|
2254
|
+
return (0, s.splitAtTopLevelOnly)(u, ",").every(($) => ($ = n($), $.startsWith("var(") ? !0 : g($) || B($) || [
|
|
2255
2255
|
"element(",
|
|
2256
2256
|
"image(",
|
|
2257
2257
|
"cross-fade(",
|
|
2258
2258
|
"image-set("
|
|
2259
2259
|
].some((H) => $.startsWith(H)) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2260
2260
|
}
|
|
2261
|
-
let
|
|
2261
|
+
let R = /* @__PURE__ */ new Set([
|
|
2262
2262
|
"conic-gradient",
|
|
2263
2263
|
"linear-gradient",
|
|
2264
2264
|
"radial-gradient",
|
|
@@ -2268,7 +2268,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2268
2268
|
]);
|
|
2269
2269
|
function B(u) {
|
|
2270
2270
|
u = n(u);
|
|
2271
|
-
for (let x of
|
|
2271
|
+
for (let x of R)
|
|
2272
2272
|
if (u.startsWith(`${x}(`))
|
|
2273
2273
|
return !0;
|
|
2274
2274
|
return !1;
|
|
@@ -2282,11 +2282,11 @@ var ne = {}, xe = {}, G = {};
|
|
|
2282
2282
|
]);
|
|
2283
2283
|
function m(u) {
|
|
2284
2284
|
let x = 0;
|
|
2285
|
-
return (0,
|
|
2285
|
+
return (0, s.splitAtTopLevelOnly)(u, "_").every(($) => ($ = n($), $.startsWith("var(") ? !0 : V.has($) || O($) || C($) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2286
2286
|
}
|
|
2287
2287
|
function k(u) {
|
|
2288
2288
|
let x = 0;
|
|
2289
|
-
return (0,
|
|
2289
|
+
return (0, s.splitAtTopLevelOnly)(u, ",").every(($) => ($ = n($), $.startsWith("var(") ? !0 : $.includes(" ") && !/(['"])([^"']+)\1/g.test($) || /^\d/g.test($) ? !1 : (x++, !0))) ? x > 0 : !1;
|
|
2290
2290
|
}
|
|
2291
2291
|
let _ = /* @__PURE__ */ new Set([
|
|
2292
2292
|
"serif",
|
|
@@ -2306,7 +2306,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2306
2306
|
function c(u) {
|
|
2307
2307
|
return _.has(u);
|
|
2308
2308
|
}
|
|
2309
|
-
let
|
|
2309
|
+
let y = /* @__PURE__ */ new Set([
|
|
2310
2310
|
"xx-small",
|
|
2311
2311
|
"x-small",
|
|
2312
2312
|
"small",
|
|
@@ -2317,7 +2317,7 @@ var ne = {}, xe = {}, G = {};
|
|
|
2317
2317
|
"xxx-large"
|
|
2318
2318
|
]);
|
|
2319
2319
|
function b(u) {
|
|
2320
|
-
return
|
|
2320
|
+
return y.has(u);
|
|
2321
2321
|
}
|
|
2322
2322
|
let f = /* @__PURE__ */ new Set([
|
|
2323
2323
|
"larger",
|
|
@@ -2334,18 +2334,18 @@ var _e = {};
|
|
|
2334
2334
|
}), Object.defineProperty(e, "backgroundSize", {
|
|
2335
2335
|
enumerable: !0,
|
|
2336
2336
|
get: function() {
|
|
2337
|
-
return
|
|
2337
|
+
return o;
|
|
2338
2338
|
}
|
|
2339
2339
|
});
|
|
2340
2340
|
const t = ne, r = G;
|
|
2341
|
-
function s
|
|
2341
|
+
function o(s) {
|
|
2342
2342
|
let l = [
|
|
2343
2343
|
"cover",
|
|
2344
2344
|
"contain"
|
|
2345
2345
|
];
|
|
2346
|
-
return (0, r.splitAtTopLevelOnly)(
|
|
2347
|
-
let
|
|
2348
|
-
return
|
|
2346
|
+
return (0, r.splitAtTopLevelOnly)(s, ",").every((i) => {
|
|
2347
|
+
let v = (0, r.splitAtTopLevelOnly)(i, "_").filter(Boolean);
|
|
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
|
})(_e);
|
|
@@ -2386,7 +2386,7 @@ var _e = {};
|
|
|
2386
2386
|
return V;
|
|
2387
2387
|
}
|
|
2388
2388
|
});
|
|
2389
|
-
const r = /* @__PURE__ */ a(
|
|
2389
|
+
const r = /* @__PURE__ */ a(ve), o = te, s = ne, l = /* @__PURE__ */ a(J), i = _e, v = q;
|
|
2390
2390
|
function a(m) {
|
|
2391
2391
|
return m && m.__esModule ? m : {
|
|
2392
2392
|
default: m
|
|
@@ -2402,21 +2402,21 @@ var _e = {};
|
|
|
2402
2402
|
return;
|
|
2403
2403
|
let _ = m.slice(1, -1);
|
|
2404
2404
|
if (k(_))
|
|
2405
|
-
return (0,
|
|
2405
|
+
return (0, s.normalize)(_);
|
|
2406
2406
|
}
|
|
2407
2407
|
function g(m, k = {}, _) {
|
|
2408
2408
|
let c = k[m];
|
|
2409
2409
|
if (c !== void 0)
|
|
2410
2410
|
return (0, l.default)(c);
|
|
2411
2411
|
if (C(m)) {
|
|
2412
|
-
let
|
|
2413
|
-
return
|
|
2412
|
+
let y = p(m, _);
|
|
2413
|
+
return y === void 0 ? void 0 : (0, l.default)(y);
|
|
2414
2414
|
}
|
|
2415
2415
|
}
|
|
2416
2416
|
function d(m, k = {}, { validate: _ = () => !0 } = {}) {
|
|
2417
2417
|
var c;
|
|
2418
|
-
let
|
|
2419
|
-
return
|
|
2418
|
+
let y = (c = k.values) === null || c === void 0 ? void 0 : c[m];
|
|
2419
|
+
return y !== void 0 ? y : k.supportsNegativeValues && m.startsWith("-") ? g(m.slice(1), k.values, _) : p(m, _);
|
|
2420
2420
|
}
|
|
2421
2421
|
function C(m) {
|
|
2422
2422
|
return m.startsWith("[") && m.endsWith("]");
|
|
@@ -2442,22 +2442,22 @@ var _e = {};
|
|
|
2442
2442
|
return m;
|
|
2443
2443
|
}
|
|
2444
2444
|
function O(m) {
|
|
2445
|
-
return (0,
|
|
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
|
-
var
|
|
2451
|
-
return P((
|
|
2450
|
+
var y;
|
|
2451
|
+
return P((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
2455
|
var S, u, x, E;
|
|
2456
2456
|
let $ = (E = (S = k.values) === null || S === void 0 ? void 0 : S[b]) !== null && E !== void 0 ? E : C(b) ? b.slice(1, -1) : void 0;
|
|
2457
|
-
return $ === void 0 ? void 0 : ($ = P($), C(f) ? (0,
|
|
2457
|
+
return $ === void 0 ? void 0 : ($ = P($), C(f) ? (0, o.withAlphaValue)($, O(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)($, _.theme.opacity[f]));
|
|
2458
2458
|
}
|
|
2459
2459
|
return d(m, k, {
|
|
2460
|
-
validate:
|
|
2460
|
+
validate: s.color
|
|
2461
2461
|
});
|
|
2462
2462
|
}
|
|
2463
2463
|
function M(m, k = {}) {
|
|
@@ -2472,22 +2472,22 @@ var _e = {};
|
|
|
2472
2472
|
let T = {
|
|
2473
2473
|
any: d,
|
|
2474
2474
|
color: z,
|
|
2475
|
-
url: A(
|
|
2476
|
-
image: A(
|
|
2477
|
-
length: A(
|
|
2478
|
-
percentage: A(
|
|
2479
|
-
position: A(
|
|
2475
|
+
url: A(s.url),
|
|
2476
|
+
image: A(s.image),
|
|
2477
|
+
length: A(s.length),
|
|
2478
|
+
percentage: A(s.percentage),
|
|
2479
|
+
position: A(s.position),
|
|
2480
2480
|
lookup: M,
|
|
2481
|
-
"generic-name": A(
|
|
2482
|
-
"family-name": A(
|
|
2483
|
-
number: A(
|
|
2484
|
-
"line-width": A(
|
|
2485
|
-
"absolute-size": A(
|
|
2486
|
-
"relative-size": A(
|
|
2487
|
-
shadow: A(
|
|
2481
|
+
"generic-name": A(s.genericName),
|
|
2482
|
+
"family-name": A(s.familyName),
|
|
2483
|
+
number: A(s.number),
|
|
2484
|
+
"line-width": A(s.lineWidth),
|
|
2485
|
+
"absolute-size": A(s.absoluteSize),
|
|
2486
|
+
"relative-size": A(s.relativeSize),
|
|
2487
|
+
shadow: A(s.shadow),
|
|
2488
2488
|
size: A(i.backgroundSize)
|
|
2489
2489
|
}, L = Object.keys(T);
|
|
2490
|
-
function
|
|
2490
|
+
function R(m, k) {
|
|
2491
2491
|
let _ = m.indexOf(k);
|
|
2492
2492
|
return _ === -1 ? [
|
|
2493
2493
|
void 0,
|
|
@@ -2511,7 +2511,7 @@ var _e = {};
|
|
|
2511
2511
|
];
|
|
2512
2512
|
}
|
|
2513
2513
|
if (C(k)) {
|
|
2514
|
-
let b = k.slice(1, -1), [f, S] =
|
|
2514
|
+
let b = k.slice(1, -1), [f, S] = R(b, ":");
|
|
2515
2515
|
if (!/^[\w-_]+$/g.test(f))
|
|
2516
2516
|
S = b;
|
|
2517
2517
|
else if (f !== void 0 && !L.includes(f))
|
|
@@ -2523,14 +2523,14 @@ var _e = {};
|
|
|
2523
2523
|
null
|
|
2524
2524
|
];
|
|
2525
2525
|
}
|
|
2526
|
-
let
|
|
2527
|
-
for (let b of
|
|
2526
|
+
let y = V(m, k, _, c);
|
|
2527
|
+
for (let b of y)
|
|
2528
2528
|
return b;
|
|
2529
2529
|
return [];
|
|
2530
2530
|
}
|
|
2531
2531
|
function* V(m, k, _, c) {
|
|
2532
|
-
let
|
|
2533
|
-
if (
|
|
2532
|
+
let y = (0, v.flagEnabled)(c, "generalizedModifiers"), [b, f] = h(k);
|
|
2533
|
+
if (y && _.modifiers != null && (_.modifiers === "any" || typeof _.modifiers == "object" && (f && C(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
2535
|
let E = (x = (u = _.modifiers) === null || u === void 0 ? void 0 : u[f]) !== null && x !== void 0 ? x : null;
|
|
2536
2536
|
E !== null ? f = E : C(f) && (f = O(f));
|
|
@@ -2546,7 +2546,7 @@ var _e = {};
|
|
|
2546
2546
|
]);
|
|
2547
2547
|
}
|
|
2548
2548
|
}
|
|
2549
|
-
})(
|
|
2549
|
+
})(ye);
|
|
2550
2550
|
var we = {};
|
|
2551
2551
|
(function(e) {
|
|
2552
2552
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -2570,7 +2570,7 @@ var we = {};
|
|
|
2570
2570
|
return _;
|
|
2571
2571
|
}
|
|
2572
2572
|
});
|
|
2573
|
-
const t = /* @__PURE__ */ C(J), r = /* @__PURE__ */ C(le),
|
|
2573
|
+
const t = /* @__PURE__ */ C(J), r = /* @__PURE__ */ C(le), o = /* @__PURE__ */ C(ue), s = /* @__PURE__ */ C(Q), l = fe, i = pe, v = me, a = /* @__PURE__ */ C(ge), n = he, p = ye, g = te, d = /* @__PURE__ */ C(we);
|
|
2574
2574
|
function C(c) {
|
|
2575
2575
|
return c && c.__esModule ? c : {
|
|
2576
2576
|
default: c
|
|
@@ -2579,9 +2579,9 @@ var we = {};
|
|
|
2579
2579
|
function h(c) {
|
|
2580
2580
|
return typeof c == "function";
|
|
2581
2581
|
}
|
|
2582
|
-
function P(c, ...
|
|
2583
|
-
let b =
|
|
2584
|
-
for (let f of
|
|
2582
|
+
function P(c, ...y) {
|
|
2583
|
+
let b = y.pop();
|
|
2584
|
+
for (let f of y)
|
|
2585
2585
|
for (let S in f) {
|
|
2586
2586
|
let u = b(c[S], f[S]);
|
|
2587
2587
|
u === void 0 ? (0, a.default)(c[S]) && (0, a.default)(f[S]) ? c[S] = P({}, c[S], f[S], b) : c[S] = f[S] : c[S] = u;
|
|
@@ -2589,25 +2589,25 @@ var we = {};
|
|
|
2589
2589
|
return c;
|
|
2590
2590
|
}
|
|
2591
2591
|
const O = {
|
|
2592
|
-
colors:
|
|
2592
|
+
colors: s.default,
|
|
2593
2593
|
negative(c) {
|
|
2594
|
-
return Object.keys(c).filter((
|
|
2594
|
+
return Object.keys(c).filter((y) => c[y] !== "0").reduce((y, b) => {
|
|
2595
2595
|
let f = (0, t.default)(c[b]);
|
|
2596
|
-
return f !== void 0 && (
|
|
2596
|
+
return f !== void 0 && (y[`-${b}`] = f), y;
|
|
2597
2597
|
}, {});
|
|
2598
2598
|
},
|
|
2599
2599
|
breakpoints(c) {
|
|
2600
|
-
return Object.keys(c).filter((
|
|
2601
|
-
...
|
|
2600
|
+
return Object.keys(c).filter((y) => typeof c[y] == "string").reduce((y, b) => ({
|
|
2601
|
+
...y,
|
|
2602
2602
|
[`screen-${b}`]: c[b]
|
|
2603
2603
|
}), {});
|
|
2604
2604
|
}
|
|
2605
2605
|
};
|
|
2606
|
-
function z(c, ...
|
|
2607
|
-
return h(c) ? c(...
|
|
2606
|
+
function z(c, ...y) {
|
|
2607
|
+
return h(c) ? c(...y) : c;
|
|
2608
2608
|
}
|
|
2609
2609
|
function M(c) {
|
|
2610
|
-
return c.reduce((
|
|
2610
|
+
return c.reduce((y, { extend: b }) => P(y, b, (f, S) => f === void 0 ? [
|
|
2611
2611
|
S
|
|
2612
2612
|
] : Array.isArray(f) ? [
|
|
2613
2613
|
S,
|
|
@@ -2619,32 +2619,32 @@ var we = {};
|
|
|
2619
2619
|
}
|
|
2620
2620
|
function A(c) {
|
|
2621
2621
|
return {
|
|
2622
|
-
...c.reduce((
|
|
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
2625
|
extend: M(c)
|
|
2626
2626
|
};
|
|
2627
2627
|
}
|
|
2628
|
-
function T(c,
|
|
2628
|
+
function T(c, y) {
|
|
2629
2629
|
if (Array.isArray(c) && (0, a.default)(c[0]))
|
|
2630
|
-
return c.concat(
|
|
2631
|
-
if (Array.isArray(
|
|
2630
|
+
return c.concat(y);
|
|
2631
|
+
if (Array.isArray(y) && (0, a.default)(y[0]) && (0, a.default)(c))
|
|
2632
2632
|
return [
|
|
2633
2633
|
c,
|
|
2634
|
-
...
|
|
2634
|
+
...y
|
|
2635
2635
|
];
|
|
2636
|
-
if (Array.isArray(
|
|
2637
|
-
return
|
|
2636
|
+
if (Array.isArray(y))
|
|
2637
|
+
return y;
|
|
2638
2638
|
}
|
|
2639
|
-
function L({ extend: c, ...
|
|
2640
|
-
return P(
|
|
2639
|
+
function L({ extend: c, ...y }) {
|
|
2640
|
+
return P(y, c, (b, f) => !h(b) && !f.some(h) ? P({}, b, ...f, T) : (S, u) => P({}, ...[
|
|
2641
2641
|
b,
|
|
2642
2642
|
...f
|
|
2643
2643
|
].map((x) => z(x, S, u)), T));
|
|
2644
2644
|
}
|
|
2645
|
-
function*
|
|
2646
|
-
let
|
|
2647
|
-
if (
|
|
2645
|
+
function* R(c) {
|
|
2646
|
+
let y = (0, i.toPath)(c);
|
|
2647
|
+
if (y.length === 0 || (yield y, Array.isArray(c)))
|
|
2648
2648
|
return;
|
|
2649
2649
|
let b = /^(.*?)\s*\/\s*([^/]+)$/, f = c.match(b);
|
|
2650
2650
|
if (f !== null) {
|
|
@@ -2653,11 +2653,11 @@ var we = {};
|
|
|
2653
2653
|
}
|
|
2654
2654
|
}
|
|
2655
2655
|
function B(c) {
|
|
2656
|
-
const
|
|
2657
|
-
for (const S of
|
|
2656
|
+
const y = (b, f) => {
|
|
2657
|
+
for (const S of R(b)) {
|
|
2658
2658
|
let u = 0, x = c;
|
|
2659
2659
|
for (; x != null && u < S.length; )
|
|
2660
|
-
x = x[S[u++]], x = h(x) && (S.alpha === void 0 || u <= S.length - 1) ? x(
|
|
2660
|
+
x = x[S[u++]], x = h(x) && (S.alpha === void 0 || u <= S.length - 1) ? x(y, O) : x;
|
|
2661
2661
|
if (x !== void 0) {
|
|
2662
2662
|
if (S.alpha !== void 0) {
|
|
2663
2663
|
let E = (0, p.parseColorFormat)(x);
|
|
@@ -2668,16 +2668,16 @@ var we = {};
|
|
|
2668
2668
|
}
|
|
2669
2669
|
return f;
|
|
2670
2670
|
};
|
|
2671
|
-
return Object.assign(
|
|
2672
|
-
theme:
|
|
2671
|
+
return Object.assign(y, {
|
|
2672
|
+
theme: y,
|
|
2673
2673
|
...O
|
|
2674
|
-
}), Object.keys(c).reduce((b, f) => (b[f] = h(c[f]) ? c[f](
|
|
2674
|
+
}), Object.keys(c).reduce((b, f) => (b[f] = h(c[f]) ? c[f](y, O) : c[f], b), {});
|
|
2675
2675
|
}
|
|
2676
2676
|
function V(c) {
|
|
2677
|
-
let
|
|
2677
|
+
let y = [];
|
|
2678
2678
|
return c.forEach((b) => {
|
|
2679
|
-
|
|
2680
|
-
...
|
|
2679
|
+
y = [
|
|
2680
|
+
...y,
|
|
2681
2681
|
b
|
|
2682
2682
|
];
|
|
2683
2683
|
var f;
|
|
@@ -2685,21 +2685,21 @@ var we = {};
|
|
|
2685
2685
|
S.length !== 0 && S.forEach((u) => {
|
|
2686
2686
|
u.__isOptionsFunction && (u = u());
|
|
2687
2687
|
var x;
|
|
2688
|
-
|
|
2689
|
-
...
|
|
2688
|
+
y = [
|
|
2689
|
+
...y,
|
|
2690
2690
|
...V([
|
|
2691
2691
|
(x = u == null ? void 0 : u.config) !== null && x !== void 0 ? x : {}
|
|
2692
2692
|
])
|
|
2693
2693
|
];
|
|
2694
2694
|
});
|
|
2695
|
-
}),
|
|
2695
|
+
}), y;
|
|
2696
2696
|
}
|
|
2697
2697
|
function m(c) {
|
|
2698
2698
|
return [
|
|
2699
2699
|
...c
|
|
2700
2700
|
].reduceRight((b, f) => h(f) ? f({
|
|
2701
2701
|
corePlugins: b
|
|
2702
|
-
}) : (0,
|
|
2702
|
+
}) : (0, o.default)(f, b), r.default);
|
|
2703
2703
|
}
|
|
2704
2704
|
function k(c) {
|
|
2705
2705
|
return [
|
|
@@ -2710,7 +2710,7 @@ var we = {};
|
|
|
2710
2710
|
], []);
|
|
2711
2711
|
}
|
|
2712
2712
|
function _(c) {
|
|
2713
|
-
let
|
|
2713
|
+
let y = [
|
|
2714
2714
|
...V(c),
|
|
2715
2715
|
{
|
|
2716
2716
|
prefix: "",
|
|
@@ -2719,14 +2719,14 @@ var we = {};
|
|
|
2719
2719
|
}
|
|
2720
2720
|
];
|
|
2721
2721
|
var b, f;
|
|
2722
|
-
return (0,
|
|
2723
|
-
theme: B(L(A(
|
|
2724
|
-
corePlugins: m(
|
|
2722
|
+
return (0, v.normalizeConfig)((0, l.defaults)({
|
|
2723
|
+
theme: B(L(A(y.map((S) => (b = S == null ? void 0 : S.theme) !== null && b !== void 0 ? b : {})))),
|
|
2724
|
+
corePlugins: m(y.map((S) => S.corePlugins)),
|
|
2725
2725
|
plugins: k(c.map((S) => (f = S == null ? void 0 : S.plugins) !== null && f !== void 0 ? f : []))
|
|
2726
|
-
}, ...
|
|
2726
|
+
}, ...y));
|
|
2727
2727
|
}
|
|
2728
|
-
})(
|
|
2729
|
-
var Ce = {},
|
|
2728
|
+
})(oe);
|
|
2729
|
+
var Ce = {}, De = {
|
|
2730
2730
|
content: [],
|
|
2731
2731
|
presets: [],
|
|
2732
2732
|
darkMode: "media",
|
|
@@ -3723,20 +3723,20 @@ var Ce = {}, Re = {
|
|
|
3723
3723
|
}), Object.defineProperty(e, "default", {
|
|
3724
3724
|
enumerable: !0,
|
|
3725
3725
|
get: function() {
|
|
3726
|
-
return
|
|
3726
|
+
return s;
|
|
3727
3727
|
}
|
|
3728
3728
|
});
|
|
3729
|
-
const t = /* @__PURE__ */
|
|
3730
|
-
function
|
|
3729
|
+
const t = /* @__PURE__ */ o(De), r = q;
|
|
3730
|
+
function o(l) {
|
|
3731
3731
|
return l && l.__esModule ? l : {
|
|
3732
3732
|
default: l
|
|
3733
3733
|
};
|
|
3734
3734
|
}
|
|
3735
|
-
function
|
|
3735
|
+
function s(l) {
|
|
3736
3736
|
var i;
|
|
3737
|
-
const
|
|
3737
|
+
const v = ((i = l == null ? void 0 : l.presets) !== null && i !== void 0 ? i : [
|
|
3738
3738
|
t.default
|
|
3739
|
-
]).slice().reverse().flatMap((p) =>
|
|
3739
|
+
]).slice().reverse().flatMap((p) => s(p instanceof Function ? p() : p)), a = {
|
|
3740
3740
|
// Add experimental configs here...
|
|
3741
3741
|
respectDefaultRingColorOpacity: {
|
|
3742
3742
|
theme: {
|
|
@@ -3760,7 +3760,7 @@ var Ce = {}, Re = {
|
|
|
3760
3760
|
return [
|
|
3761
3761
|
l,
|
|
3762
3762
|
...n,
|
|
3763
|
-
...
|
|
3763
|
+
...v
|
|
3764
3764
|
];
|
|
3765
3765
|
}
|
|
3766
3766
|
})(Ce);
|
|
@@ -3770,28 +3770,28 @@ var Ce = {}, Re = {
|
|
|
3770
3770
|
}), Object.defineProperty(e, "default", {
|
|
3771
3771
|
enumerable: !0,
|
|
3772
3772
|
get: function() {
|
|
3773
|
-
return
|
|
3773
|
+
return s;
|
|
3774
3774
|
}
|
|
3775
3775
|
});
|
|
3776
|
-
const t = /* @__PURE__ */
|
|
3777
|
-
function
|
|
3776
|
+
const t = /* @__PURE__ */ o(oe), r = /* @__PURE__ */ o(Ce);
|
|
3777
|
+
function o(l) {
|
|
3778
3778
|
return l && l.__esModule ? l : {
|
|
3779
3779
|
default: l
|
|
3780
3780
|
};
|
|
3781
3781
|
}
|
|
3782
|
-
function
|
|
3782
|
+
function s(...l) {
|
|
3783
3783
|
let [, ...i] = (0, r.default)(l[0]);
|
|
3784
3784
|
return (0, t.default)([
|
|
3785
3785
|
...l,
|
|
3786
3786
|
...i
|
|
3787
3787
|
]);
|
|
3788
3788
|
}
|
|
3789
|
-
})(
|
|
3790
|
-
let X =
|
|
3791
|
-
var
|
|
3792
|
-
const Ve = /* @__PURE__ */
|
|
3793
|
-
let
|
|
3794
|
-
var N = (
|
|
3789
|
+
})(se);
|
|
3790
|
+
let X = se;
|
|
3791
|
+
var Re = (X.__esModule ? X : { default: X }).default;
|
|
3792
|
+
const Ve = /* @__PURE__ */ je(Re);
|
|
3793
|
+
let Y = Q;
|
|
3794
|
+
var N = (Y.__esModule ? Y : { default: Y }).default;
|
|
3795
3795
|
const Ne = {
|
|
3796
3796
|
50: "#FCE3E4",
|
|
3797
3797
|
100: "#F9CDCE",
|
|
@@ -3803,7 +3803,7 @@ const Ne = {
|
|
|
3803
3803
|
700: "#770D11",
|
|
3804
3804
|
800: "#4E090B",
|
|
3805
3805
|
900: "#290506"
|
|
3806
|
-
},
|
|
3806
|
+
}, D = {
|
|
3807
3807
|
onprimary: N.white,
|
|
3808
3808
|
warning: N.amber,
|
|
3809
3809
|
error: N.rose,
|
|
@@ -3812,27 +3812,27 @@ const Ne = {
|
|
|
3812
3812
|
primary: N.sky,
|
|
3813
3813
|
brand: Ne
|
|
3814
3814
|
}, Be = {
|
|
3815
|
-
...
|
|
3815
|
+
...D,
|
|
3816
3816
|
// Warning
|
|
3817
|
-
warning:
|
|
3818
|
-
"warning-darken":
|
|
3819
|
-
"warning-lighten":
|
|
3817
|
+
warning: D.warning[500],
|
|
3818
|
+
"warning-darken": D.warning[600],
|
|
3819
|
+
"warning-lighten": D.warning[400],
|
|
3820
3820
|
// Success
|
|
3821
|
-
success:
|
|
3822
|
-
"success-darken":
|
|
3823
|
-
"success-lighten":
|
|
3821
|
+
success: D.success[500],
|
|
3822
|
+
"success-darken": D.success[600],
|
|
3823
|
+
"success-lighten": D.success[400],
|
|
3824
3824
|
// Error
|
|
3825
|
-
error:
|
|
3826
|
-
"error-darken":
|
|
3827
|
-
"error-lighten":
|
|
3825
|
+
error: D.error[500],
|
|
3826
|
+
"error-darken": D.error[600],
|
|
3827
|
+
"error-lighten": D.error[400],
|
|
3828
3828
|
// Info
|
|
3829
|
-
info:
|
|
3830
|
-
"info-darken":
|
|
3831
|
-
"info-lighten":
|
|
3829
|
+
info: D.info[500],
|
|
3830
|
+
"info-darken": D.info[600],
|
|
3831
|
+
"info-lighten": D.info[400],
|
|
3832
3832
|
// Primary
|
|
3833
|
-
primary:
|
|
3834
|
-
"primary-darken":
|
|
3835
|
-
"primary-lighten":
|
|
3833
|
+
primary: D.primary[500],
|
|
3834
|
+
"primary-darken": D.primary[600],
|
|
3835
|
+
"primary-lighten": D.primary[400],
|
|
3836
3836
|
// Surfaces
|
|
3837
3837
|
onsurface: N.slate[500],
|
|
3838
3838
|
onbackground: N.slate[700],
|
|
@@ -3907,7 +3907,8 @@ const Ne = {
|
|
|
3907
3907
|
pattern: /e-self-(start|center|end|baseline|stretch)/
|
|
3908
3908
|
},
|
|
3909
3909
|
{
|
|
3910
|
-
pattern: /e-justify-(around|between|center|end|evenly|normal|start|stretch)
|
|
3910
|
+
pattern: /e-justify-(around|between|center|end|evenly|normal|start|stretch)/,
|
|
3911
|
+
variants: ["lg", "md", "sm", "xs", "xl"]
|
|
3911
3912
|
},
|
|
3912
3913
|
{
|
|
3913
3914
|
pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
|
|
@@ -3943,12 +3944,12 @@ const Ne = {
|
|
|
3943
3944
|
w["8xl"],
|
|
3944
3945
|
w["9xl"]
|
|
3945
3946
|
], wt = [
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3947
|
+
j.warning,
|
|
3948
|
+
j.error,
|
|
3949
|
+
j.info,
|
|
3950
|
+
j.success,
|
|
3951
|
+
j.primary,
|
|
3952
|
+
j.default
|
|
3952
3953
|
], Ct = [
|
|
3953
3954
|
"play",
|
|
3954
3955
|
"pause",
|
|
@@ -3969,7 +3970,7 @@ const Ne = {
|
|
|
3969
3970
|
},
|
|
3970
3971
|
color: {
|
|
3971
3972
|
type: String,
|
|
3972
|
-
default:
|
|
3973
|
+
default: j.default
|
|
3973
3974
|
},
|
|
3974
3975
|
size: {
|
|
3975
3976
|
type: String,
|
|
@@ -3984,8 +3985,8 @@ const Ne = {
|
|
|
3984
3985
|
}), {});
|
|
3985
3986
|
},
|
|
3986
3987
|
iconClasses() {
|
|
3987
|
-
var
|
|
3988
|
-
const e = this.sizes[this.size] || this.sizes[w.sm], t = `${((
|
|
3988
|
+
var o, s;
|
|
3989
|
+
const e = this.sizes[this.size] || this.sizes[w.sm], t = `${((s = (o = this.icon) == null ? void 0 : o.split(" ")) == null ? void 0 : s.length) > 1 ? this.icon : `fa fa-${this.icon}`}`;
|
|
3989
3990
|
return [
|
|
3990
3991
|
"e-inline-flex e-items-center e-justify-center e-rounded-full",
|
|
3991
3992
|
this.color,
|
|
@@ -3998,7 +3999,7 @@ const Ne = {
|
|
|
3998
3999
|
var Ge = function() {
|
|
3999
4000
|
var t = this, r = t._self._c;
|
|
4000
4001
|
return r("div", { staticClass: "e-icon" }, [r("i", { class: t.iconClasses })]);
|
|
4001
|
-
}, Xe = [],
|
|
4002
|
+
}, Xe = [], Ye = /* @__PURE__ */ W(
|
|
4002
4003
|
qe,
|
|
4003
4004
|
Ge,
|
|
4004
4005
|
Xe,
|
|
@@ -4008,7 +4009,7 @@ var Ge = function() {
|
|
|
4008
4009
|
null,
|
|
4009
4010
|
null
|
|
4010
4011
|
);
|
|
4011
|
-
const
|
|
4012
|
+
const Ke = Ye.exports, Ze = U.extend({
|
|
4012
4013
|
name: "ESpinner",
|
|
4013
4014
|
props: {
|
|
4014
4015
|
dark: {
|
|
@@ -4100,18 +4101,48 @@ const ke = et.exports, tt = U.extend({
|
|
|
4100
4101
|
type: String,
|
|
4101
4102
|
default: void 0
|
|
4102
4103
|
},
|
|
4104
|
+
justifyXs: {
|
|
4105
|
+
type: String,
|
|
4106
|
+
default: void 0
|
|
4107
|
+
},
|
|
4108
|
+
justifySm: {
|
|
4109
|
+
type: String,
|
|
4110
|
+
default: void 0
|
|
4111
|
+
},
|
|
4112
|
+
justifyMd: {
|
|
4113
|
+
type: String,
|
|
4114
|
+
default: void 0
|
|
4115
|
+
},
|
|
4116
|
+
justifyLg: {
|
|
4117
|
+
type: String,
|
|
4118
|
+
default: void 0
|
|
4119
|
+
},
|
|
4120
|
+
justifyXl: {
|
|
4121
|
+
type: String,
|
|
4122
|
+
default: void 0
|
|
4123
|
+
},
|
|
4103
4124
|
noGutters: {
|
|
4104
4125
|
type: Boolean,
|
|
4105
4126
|
default: !1
|
|
4106
4127
|
}
|
|
4107
4128
|
},
|
|
4108
4129
|
computed: {
|
|
4130
|
+
justifyClasses() {
|
|
4131
|
+
return {
|
|
4132
|
+
[`e-justify-${this.justify}`]: !!this.justify,
|
|
4133
|
+
[`xs:e-justify-${this.justifySm}`]: !!this.justifySm,
|
|
4134
|
+
[`sm:e-justify-${this.justifySm}`]: !!this.justifySm,
|
|
4135
|
+
[`md:e-justify-${this.justifyMd}`]: !!this.justifyMd,
|
|
4136
|
+
[`lg:e-justify-${this.justifyLg}`]: !!this.justifyLg,
|
|
4137
|
+
[`xl:e-justify-${this.justifyXl}`]: !!this.justifyXl
|
|
4138
|
+
};
|
|
4139
|
+
},
|
|
4109
4140
|
rowClasses() {
|
|
4110
4141
|
return {
|
|
4111
4142
|
...this.align ? { [`e-items-${this.align}`]: !0 } : {},
|
|
4112
4143
|
...this.alignContent ? { [`e-content-${this.alignContent}`]: !0 } : {},
|
|
4113
|
-
...this.
|
|
4114
|
-
...this.
|
|
4144
|
+
...this.noGutters ? { "e-row--no-gutters": !0 } : {},
|
|
4145
|
+
...this.justifyClasses
|
|
4115
4146
|
};
|
|
4116
4147
|
}
|
|
4117
4148
|
}
|
|
@@ -4129,7 +4160,7 @@ var rt = function() {
|
|
|
4129
4160
|
null,
|
|
4130
4161
|
null
|
|
4131
4162
|
);
|
|
4132
|
-
const at = it.exports,
|
|
4163
|
+
const at = it.exports, st = U.extend({
|
|
4133
4164
|
props: {
|
|
4134
4165
|
alignSelf: {
|
|
4135
4166
|
type: String,
|
|
@@ -4233,12 +4264,12 @@ const at = it.exports, ot = U.extend({
|
|
|
4233
4264
|
}
|
|
4234
4265
|
}
|
|
4235
4266
|
});
|
|
4236
|
-
var
|
|
4267
|
+
var ot = function() {
|
|
4237
4268
|
var t = this, r = t._self._c;
|
|
4238
4269
|
return r("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
|
|
4239
4270
|
}, lt = [], ut = /* @__PURE__ */ W(
|
|
4240
|
-
ot,
|
|
4241
4271
|
st,
|
|
4272
|
+
ot,
|
|
4242
4273
|
lt,
|
|
4243
4274
|
!1,
|
|
4244
4275
|
null,
|
|
@@ -4248,8 +4279,7 @@ var st = function() {
|
|
|
4248
4279
|
);
|
|
4249
4280
|
const ct = ut.exports;
|
|
4250
4281
|
function Pe() {
|
|
4251
|
-
|
|
4252
|
-
return !!(e.fullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || e.msFullscreenElement);
|
|
4282
|
+
return !!(document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement);
|
|
4253
4283
|
}
|
|
4254
4284
|
function dt(e) {
|
|
4255
4285
|
if (Pe())
|
|
@@ -4275,7 +4305,7 @@ function ft() {
|
|
|
4275
4305
|
if (document.msExitFullscreen)
|
|
4276
4306
|
return document.msExitFullscreen();
|
|
4277
4307
|
}
|
|
4278
|
-
const
|
|
4308
|
+
const K = new Intl.NumberFormat(void 0, {
|
|
4279
4309
|
minimumIntegerDigits: 2
|
|
4280
4310
|
}), pt = [
|
|
4281
4311
|
"play",
|
|
@@ -4289,15 +4319,14 @@ const Y = new Intl.NumberFormat(void 0, {
|
|
|
4289
4319
|
"canplaythrough",
|
|
4290
4320
|
"statechanged"
|
|
4291
4321
|
], Z = (e) => {
|
|
4292
|
-
const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60,
|
|
4293
|
-
return
|
|
4322
|
+
const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60, o = Math.floor(e / 3600);
|
|
4323
|
+
return o === 0 ? `${r}:${K.format(t)}` : `${o}:${K.format(
|
|
4294
4324
|
r
|
|
4295
|
-
)}:${
|
|
4325
|
+
)}:${K.format(t)}`;
|
|
4296
4326
|
}, mt = U.extend({
|
|
4297
4327
|
name: "VideoPlayer",
|
|
4298
4328
|
components: {
|
|
4299
4329
|
ESpinner: ke
|
|
4300
|
-
// VideoTrack
|
|
4301
4330
|
},
|
|
4302
4331
|
props: {
|
|
4303
4332
|
sources: {
|
|
@@ -4315,7 +4344,6 @@ const Y = new Intl.NumberFormat(void 0, {
|
|
|
4315
4344
|
},
|
|
4316
4345
|
data() {
|
|
4317
4346
|
return {
|
|
4318
|
-
isSeeking: !1,
|
|
4319
4347
|
playing: !1,
|
|
4320
4348
|
percentagePlayed: 0,
|
|
4321
4349
|
videoMuted: !1,
|
|
@@ -4389,11 +4417,11 @@ const Y = new Intl.NumberFormat(void 0, {
|
|
|
4389
4417
|
const t = this.$refs.player, r = this.$refs.timelineContainer;
|
|
4390
4418
|
t.addEventListener(
|
|
4391
4419
|
e,
|
|
4392
|
-
(
|
|
4420
|
+
(o) => {
|
|
4393
4421
|
e === "loadeddata" && (this.videoLength = Z(t.duration)), e === "timeupdate" && (this.percentagePlayed = t.currentTime / t.duration * 100, r.style.setProperty(
|
|
4394
4422
|
"--progress-position",
|
|
4395
4423
|
this.percentagePlayed.toString()
|
|
4396
|
-
)), this.$emit(e, { event:
|
|
4424
|
+
)), this.$emit(e, { event: o, player: this });
|
|
4397
4425
|
},
|
|
4398
4426
|
!0
|
|
4399
4427
|
);
|
|
@@ -4401,12 +4429,6 @@ const Y = new Intl.NumberFormat(void 0, {
|
|
|
4401
4429
|
handleFullscreenChange() {
|
|
4402
4430
|
document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement || window.innerWidth == screen.width && window.innerHeight == screen.height ? this.isFullscreen = !0 : this.isFullscreen = !1;
|
|
4403
4431
|
},
|
|
4404
|
-
seeking() {
|
|
4405
|
-
this.seeking = !0;
|
|
4406
|
-
},
|
|
4407
|
-
seeked() {
|
|
4408
|
-
this.seeking = !1;
|
|
4409
|
-
},
|
|
4410
4432
|
isLooped() {
|
|
4411
4433
|
return this.$refs.player.loop;
|
|
4412
4434
|
},
|
|
@@ -4447,21 +4469,6 @@ const Y = new Intl.NumberFormat(void 0, {
|
|
|
4447
4469
|
convertTimeToDuration(e) {
|
|
4448
4470
|
return [parseInt(e / 60 % 60, 10), parseInt(e % 60, 10)].join(":").replace(/\b(\d)\b/g, "0$1");
|
|
4449
4471
|
},
|
|
4450
|
-
// buffering() {
|
|
4451
|
-
// const playerRef = this.$refs.player as HTMLVideoElement
|
|
4452
|
-
// const timelineContainer = this.$refs.timelineContainer as HTMLDivElement
|
|
4453
|
-
// const bufferEnd = playerRef.buffered.end(playerRef.buffered.length - 1)
|
|
4454
|
-
// const duration = playerRef.duration
|
|
4455
|
-
// if (duration > 0) {
|
|
4456
|
-
// const value = (bufferEnd / duration) * 100
|
|
4457
|
-
// console.log({ bufferedValue: value })
|
|
4458
|
-
// this.bufferingValue = value
|
|
4459
|
-
// timelineContainer.style.setProperty(
|
|
4460
|
-
// "--preview-position",
|
|
4461
|
-
// value.toString()
|
|
4462
|
-
// )
|
|
4463
|
-
// }
|
|
4464
|
-
// },
|
|
4465
4472
|
mute() {
|
|
4466
4473
|
if (this.$refs.player) {
|
|
4467
4474
|
const e = this.$refs.player;
|
|
@@ -4515,29 +4522,29 @@ const Y = new Intl.NumberFormat(void 0, {
|
|
|
4515
4522
|
},
|
|
4516
4523
|
handleTimelineUpdate(e) {
|
|
4517
4524
|
const t = this.$refs.player;
|
|
4518
|
-
if (document.body.contains(t))
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
)
|
|
4527
|
-
|
|
4525
|
+
if (!document.body.contains(t))
|
|
4526
|
+
return;
|
|
4527
|
+
const r = this.$refs.timelineContainer, o = r.getBoundingClientRect(), s = Math.min(Math.max(0, e.x - o.x), o.width) / o.width;
|
|
4528
|
+
r.style.setProperty(
|
|
4529
|
+
"--preview-position",
|
|
4530
|
+
s.toString()
|
|
4531
|
+
), this.isScrubbing && (e.preventDefault(), r.style.setProperty(
|
|
4532
|
+
"--progress-position",
|
|
4533
|
+
s.toString()
|
|
4534
|
+
));
|
|
4528
4535
|
},
|
|
4529
4536
|
skip(e = 5) {
|
|
4530
4537
|
const t = this.$refs.player;
|
|
4531
4538
|
t.currentTime += e;
|
|
4532
4539
|
},
|
|
4533
4540
|
async toggleScrubbing(e) {
|
|
4534
|
-
const t = this.$refs.timelineContainer, r = this.$refs.videoContainer,
|
|
4535
|
-
if (
|
|
4536
|
-
const
|
|
4541
|
+
const t = this.$refs.timelineContainer, r = this.$refs.videoContainer, o = this.$refs.player;
|
|
4542
|
+
if (o) {
|
|
4543
|
+
const s = t.getBoundingClientRect(), l = Math.min(Math.max(0, e.x - s.x), s.width) / s.width;
|
|
4537
4544
|
if (this.isScrubbing = (e.buttons & 1) === 1, r.classList.toggle("scrubbing", this.isScrubbing), this.isScrubbing)
|
|
4538
|
-
this.wasPaused =
|
|
4539
|
-
else if (this.realtime = l * this.videoDuration,
|
|
4540
|
-
const i =
|
|
4545
|
+
this.wasPaused = o.paused, await o.pause(), this.handleTimelineUpdate(e);
|
|
4546
|
+
else if (this.realtime = l * this.videoDuration, o.currentTime = l * this.videoDuration, !this.wasPaused) {
|
|
4547
|
+
const i = o.play();
|
|
4541
4548
|
i !== void 0 && i.then(() => this.handleTimelineUpdate(e)).catch(console.error);
|
|
4542
4549
|
}
|
|
4543
4550
|
}
|
|
@@ -4585,36 +4592,36 @@ const Y = new Intl.NumberFormat(void 0, {
|
|
|
4585
4592
|
});
|
|
4586
4593
|
var gt = function() {
|
|
4587
4594
|
var t = this, r = t._self._c;
|
|
4588
|
-
return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [t.hasMultipleSources ? r("video", t._g(t._b({ ref: "player", attrs: { controls: !1, preload: "auto", volume: t.volume }, 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.sources, function(
|
|
4589
|
-
return r("source", { key:
|
|
4595
|
+
return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [t.hasMultipleSources ? r("video", t._g(t._b({ ref: "player", attrs: { controls: !1, preload: "auto", volume: t.volume }, 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.sources, function(o) {
|
|
4596
|
+
return r("source", { key: o.src, attrs: { src: o.src, type: o.type } });
|
|
4590
4597
|
}), 0) : r("video", t._g(t._b({ ref: "player", attrs: { src: t.sources, controls: !1, preload: "auto", volume: t.volume }, on: { ended: t.handleEnded, click: t.togglePlay, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners)), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { size: "9xl", opacity: "0.6", dark: !0 } })], 1) : t._e(), t.withControls ? t._e() : t._t("controls", function() {
|
|
4591
|
-
return [r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn", attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }, [t.playing ? r("svg", { staticClass: "pause-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M14,19H18V5H14M6,19H10V5H6V19Z" } })]) : r("svg", { staticClass: "play-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M8,5.14V19.14L19,12.14L8,5.14Z" } })])]), r("button", { staticClass: "fsBtn fa fa-fast-backward", on: { click: function(
|
|
4598
|
+
return [r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn", attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }, [t.playing ? r("svg", { staticClass: "pause-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M14,19H18V5H14M6,19H10V5H6V19Z" } })]) : r("svg", { staticClass: "play-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M8,5.14V19.14L19,12.14L8,5.14Z" } })])]), r("button", { staticClass: "fsBtn fa fa-fast-backward", on: { click: function(o) {
|
|
4592
4599
|
return t.skip(-5);
|
|
4593
|
-
} } }), r("button", { staticClass: "fsBtn fa fa-fast-forward", on: { click: function(
|
|
4600
|
+
} } }), r("button", { staticClass: "fsBtn fa fa-fast-forward", on: { click: function(o) {
|
|
4594
4601
|
return t.skip(5);
|
|
4595
4602
|
} } }), r("div", { staticClass: "volume-container" }, [r("button", { ref: "muteBtn", staticClass: "mute-btn", attrs: { title: t.videoMuted ? "Unmute" : "Mute" }, on: { click: t.toggleMute } }, [t.volume > 0.5 && !t.videoMuted ? r("svg", { staticClass: "volume-high-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z" } })]) : t._e(), t.volume <= 0.5 && !t.videoMuted ? r("svg", { staticClass: "volume-low-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M5,9V15H9L14,20V4L9,9M18.5,12C18.5,10.23 17.5,8.71 16,7.97V16C17.5,15.29 18.5,13.76 18.5,12Z" } })]) : t._e(), t.videoMuted ? r("svg", { staticClass: "volume-muted-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z" } })]) : t._e()]), 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: "speedBtn", staticClass: "speed-btn wide-btn", on: { click: t.changePlaybackSpeed } }, [t._v(" " + t._s(t.playbackRate) + " ")]), r("button", { ref: "miniPlayerBtn", staticClass: "mini-player-btn", attrs: { title: "Picture in picture" }, on: { click: t.toggleMiniPlayerMode } }, [r("svg", { staticClass: "picture-on-picture", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zm-10-7h9v6h-9z" } })])]), r("button", { ref: "fullScreenBtn", staticClass: "full-screen-btn", on: { click: t.toggleFullscreenMode } }, [t.isFullscreen ? r("svg", { staticClass: "close", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" } })]) : r("svg", { staticClass: "open", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" } })])])])])];
|
|
4596
4603
|
}, { isFullscreen: t.isFullscreen, play: t.play, pause: t.pause, muted: t.videoMuted, togglePlay: t.togglePlay, toggleFullscreenMode: t.toggleFullscreenMode, playing: t.playing, handleTimeUpdate: t.handleTimeUpdate, percentagePlayed: t.percentagePlayed, seekToPercentage: t.seekToPercentage, currentTime: t.currentTime, duration: t.videoLength, convertTimeToDuration: t.convertTimeToDuration, videoMuted: t.videoMuted, toggleMute: t.toggleMute, volume: t.volume, handleVolumeChange: t.handleVolumeChange, toggleMiniPlayerMode: t.toggleMiniPlayerMode, skip: t.skip, playbackRate: t.playbackRate, changePlaybackSpeed: t.changePlaybackSpeed }, t.videoOptions)], 2);
|
|
4597
4604
|
}, ht = [function() {
|
|
4598
4605
|
var e = this, t = e._self._c;
|
|
4599
4606
|
return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
|
|
4600
|
-
}],
|
|
4607
|
+
}], yt = /* @__PURE__ */ W(
|
|
4601
4608
|
mt,
|
|
4602
4609
|
gt,
|
|
4603
4610
|
ht,
|
|
4604
4611
|
!1,
|
|
4605
4612
|
null,
|
|
4606
|
-
"
|
|
4613
|
+
"428638d2",
|
|
4607
4614
|
null,
|
|
4608
4615
|
null
|
|
4609
4616
|
);
|
|
4610
|
-
const
|
|
4617
|
+
const vt = yt.exports, ie = {
|
|
4611
4618
|
EAvatar: Le,
|
|
4612
4619
|
EBadge: ae,
|
|
4613
|
-
EIcon:
|
|
4620
|
+
EIcon: Ke,
|
|
4614
4621
|
ESpinner: ke,
|
|
4615
4622
|
ERow: at,
|
|
4616
4623
|
ECol: ct,
|
|
4617
|
-
EVideoPlayer:
|
|
4624
|
+
EVideoPlayer: vt
|
|
4618
4625
|
}, St = {
|
|
4619
4626
|
install(e) {
|
|
4620
4627
|
Object.keys(ie).forEach((t) => {
|
|
@@ -4626,21 +4633,24 @@ export {
|
|
|
4626
4633
|
_t as AvatarSizes,
|
|
4627
4634
|
wt as BadgeColors,
|
|
4628
4635
|
xt as BadgeSizes,
|
|
4629
|
-
|
|
4636
|
+
j as BaseColor,
|
|
4630
4637
|
He as Colors,
|
|
4631
4638
|
Le as EAvatar,
|
|
4632
4639
|
ae as EBadge,
|
|
4633
4640
|
ct as ECol,
|
|
4634
|
-
|
|
4641
|
+
Ke as EIcon,
|
|
4635
4642
|
at as ERow,
|
|
4636
4643
|
ke as ESpinner,
|
|
4637
4644
|
Ct as EVENTS,
|
|
4638
|
-
|
|
4645
|
+
vt as EVideoPlayer,
|
|
4639
4646
|
Ie as IconSizes,
|
|
4640
4647
|
w as Size,
|
|
4641
4648
|
We as TextSizes,
|
|
4642
4649
|
ie as components,
|
|
4643
4650
|
St as default,
|
|
4644
|
-
|
|
4651
|
+
ft as exitFullScreen,
|
|
4652
|
+
Se as fullConfig,
|
|
4653
|
+
Pe as isFullScreen,
|
|
4654
|
+
dt as makeFullScreen
|
|
4645
4655
|
};
|
|
4646
4656
|
//# sourceMappingURL=index.mjs.map
|