@evercam/ui 0.0.45-beta.5 → 0.0.45-beta.7
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/README.md +47 -47
- package/dist/index.mjs +260 -256
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/styles.css +3214 -3211
- package/dist/web-types.json +1 -1
- package/package.json +76 -76
package/dist/index.mjs
CHANGED
|
@@ -52,14 +52,14 @@ const et = q.extend({
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
function I(e, t, r,
|
|
55
|
+
function I(e, t, r, n, a, o, i, c) {
|
|
56
56
|
var l = typeof e == "function" ? e.options : e;
|
|
57
|
-
t && (l.render = t, l.staticRenderFns = r, l._compiled = !0),
|
|
57
|
+
t && (l.render = t, l.staticRenderFns = r, l._compiled = !0), n && (l.functional = !0), o && (l._scopeId = "data-v-" + o);
|
|
58
58
|
var s;
|
|
59
|
-
if (
|
|
59
|
+
if (i ? (s = function(h) {
|
|
60
60
|
h = h || // cached call
|
|
61
61
|
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
62
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !h && typeof __VUE_SSR_CONTEXT__ != "undefined" && (h = __VUE_SSR_CONTEXT__), a && a.call(this, h), h && h._registeredComponents && h._registeredComponents.add(
|
|
62
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !h && typeof __VUE_SSR_CONTEXT__ != "undefined" && (h = __VUE_SSR_CONTEXT__), a && a.call(this, h), h && h._registeredComponents && h._registeredComponents.add(i);
|
|
63
63
|
}, l._ssrRegister = s) : a && (s = c ? function() {
|
|
64
64
|
a.call(
|
|
65
65
|
this,
|
|
@@ -182,14 +182,14 @@ var Ae = {}, Me = {}, fe = {};
|
|
|
182
182
|
return "0";
|
|
183
183
|
if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))
|
|
184
184
|
return r.replace(/^[+-]?/, (a) => a === "-" ? "" : "-");
|
|
185
|
-
let
|
|
185
|
+
let n = [
|
|
186
186
|
"var",
|
|
187
187
|
"calc",
|
|
188
188
|
"min",
|
|
189
189
|
"max",
|
|
190
190
|
"clamp"
|
|
191
191
|
];
|
|
192
|
-
for (const a of
|
|
192
|
+
for (const a of n)
|
|
193
193
|
if (r.includes(`${a}(`))
|
|
194
194
|
return `calc(${r} * -1)`;
|
|
195
195
|
}
|
|
@@ -392,9 +392,9 @@ var Pe = {};
|
|
|
392
392
|
return t;
|
|
393
393
|
}
|
|
394
394
|
});
|
|
395
|
-
function t(r,
|
|
396
|
-
return r === void 0 ?
|
|
397
|
-
...new Set(
|
|
395
|
+
function t(r, n) {
|
|
396
|
+
return r === void 0 ? n : Array.isArray(r) ? r : [
|
|
397
|
+
...new Set(n.filter((o) => r !== !1 && r[o] !== !1).concat(Object.keys(r).filter((o) => r[o] !== !1)))
|
|
398
398
|
];
|
|
399
399
|
}
|
|
400
400
|
})(Pe);
|
|
@@ -417,14 +417,14 @@ var Ge = me.exports;
|
|
|
417
417
|
}
|
|
418
418
|
t(e, {
|
|
419
419
|
dim: function() {
|
|
420
|
-
return
|
|
420
|
+
return i;
|
|
421
421
|
},
|
|
422
422
|
default: function() {
|
|
423
423
|
return c;
|
|
424
424
|
}
|
|
425
425
|
});
|
|
426
|
-
const r = /* @__PURE__ */
|
|
427
|
-
function
|
|
426
|
+
const r = /* @__PURE__ */ n(Ge);
|
|
427
|
+
function n(l) {
|
|
428
428
|
return l && l.__esModule ? l : {
|
|
429
429
|
default: l
|
|
430
430
|
};
|
|
@@ -433,7 +433,7 @@ var Ge = me.exports;
|
|
|
433
433
|
function o(l, s, d) {
|
|
434
434
|
typeof process != "undefined" && process.env.JEST_WORKER_ID || d && a.has(d) || (d && a.add(d), console.warn(""), s.forEach((v) => console.warn(l, "-", v)));
|
|
435
435
|
}
|
|
436
|
-
function
|
|
436
|
+
function i(l) {
|
|
437
437
|
return r.default.dim(l);
|
|
438
438
|
}
|
|
439
439
|
const c = {
|
|
@@ -478,9 +478,9 @@ var Ge = me.exports;
|
|
|
478
478
|
default: o
|
|
479
479
|
};
|
|
480
480
|
}
|
|
481
|
-
function
|
|
482
|
-
t.default.warn(`${
|
|
483
|
-
`As of Tailwind CSS ${o}, \`${
|
|
481
|
+
function n({ version: o, from: i, to: c }) {
|
|
482
|
+
t.default.warn(`${i}-color-renamed`, [
|
|
483
|
+
`As of Tailwind CSS ${o}, \`${i}\` has been renamed to \`${c}\`.`,
|
|
484
484
|
"Update your configuration file to silence this warning."
|
|
485
485
|
]);
|
|
486
486
|
}
|
|
@@ -777,35 +777,35 @@ var Ge = me.exports;
|
|
|
777
777
|
950: "#4c0519"
|
|
778
778
|
},
|
|
779
779
|
get lightBlue() {
|
|
780
|
-
return
|
|
780
|
+
return n({
|
|
781
781
|
version: "v2.2",
|
|
782
782
|
from: "lightBlue",
|
|
783
783
|
to: "sky"
|
|
784
784
|
}), this.sky;
|
|
785
785
|
},
|
|
786
786
|
get warmGray() {
|
|
787
|
-
return
|
|
787
|
+
return n({
|
|
788
788
|
version: "v3.0",
|
|
789
789
|
from: "warmGray",
|
|
790
790
|
to: "stone"
|
|
791
791
|
}), this.stone;
|
|
792
792
|
},
|
|
793
793
|
get trueGray() {
|
|
794
|
-
return
|
|
794
|
+
return n({
|
|
795
795
|
version: "v3.0",
|
|
796
796
|
from: "trueGray",
|
|
797
797
|
to: "neutral"
|
|
798
798
|
}), this.neutral;
|
|
799
799
|
},
|
|
800
800
|
get coolGray() {
|
|
801
|
-
return
|
|
801
|
+
return n({
|
|
802
802
|
version: "v3.0",
|
|
803
803
|
from: "coolGray",
|
|
804
804
|
to: "gray"
|
|
805
805
|
}), this.gray;
|
|
806
806
|
},
|
|
807
807
|
get blueGray() {
|
|
808
|
-
return
|
|
808
|
+
return n({
|
|
809
809
|
version: "v3.0",
|
|
810
810
|
from: "blueGray",
|
|
811
811
|
to: "slate"
|
|
@@ -823,15 +823,15 @@ var He = {};
|
|
|
823
823
|
return t;
|
|
824
824
|
}
|
|
825
825
|
});
|
|
826
|
-
function t(r, ...
|
|
827
|
-
for (let
|
|
828
|
-
for (let c in
|
|
826
|
+
function t(r, ...n) {
|
|
827
|
+
for (let i of n) {
|
|
828
|
+
for (let c in i) {
|
|
829
829
|
var a;
|
|
830
|
-
!(r == null || (a = r.hasOwnProperty) === null || a === void 0) && a.call(r, c) || (r[c] =
|
|
830
|
+
!(r == null || (a = r.hasOwnProperty) === null || a === void 0) && a.call(r, c) || (r[c] = i[c]);
|
|
831
831
|
}
|
|
832
|
-
for (let c of Object.getOwnPropertySymbols(
|
|
832
|
+
for (let c of Object.getOwnPropertySymbols(i)) {
|
|
833
833
|
var o;
|
|
834
|
-
!(r == null || (o = r.hasOwnProperty) === null || o === void 0) && o.call(r, c) || (r[c] =
|
|
834
|
+
!(r == null || (o = r.hasOwnProperty) === null || o === void 0) && o.call(r, c) || (r[c] = i[c]);
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
837
|
return r;
|
|
@@ -850,8 +850,8 @@ var je = {};
|
|
|
850
850
|
function t(r) {
|
|
851
851
|
if (Array.isArray(r))
|
|
852
852
|
return r;
|
|
853
|
-
let
|
|
854
|
-
if (
|
|
853
|
+
let n = r.split("[").length - 1, a = r.split("]").length - 1;
|
|
854
|
+
if (n !== a)
|
|
855
855
|
throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
|
|
856
856
|
return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
857
857
|
}
|
|
@@ -879,7 +879,7 @@ var Be = {}, ie = {};
|
|
|
879
879
|
return d;
|
|
880
880
|
}
|
|
881
881
|
});
|
|
882
|
-
const r = /* @__PURE__ */ a(Ge),
|
|
882
|
+
const r = /* @__PURE__ */ a(Ge), n = /* @__PURE__ */ a(re);
|
|
883
883
|
function a(v) {
|
|
884
884
|
return v && v.__esModule ? v : {
|
|
885
885
|
default: v
|
|
@@ -894,7 +894,7 @@ var Be = {}, ie = {};
|
|
|
894
894
|
get relativeContentPathsByDefault() {
|
|
895
895
|
return !1;
|
|
896
896
|
}
|
|
897
|
-
},
|
|
897
|
+
}, i = {
|
|
898
898
|
future: [
|
|
899
899
|
"hoverOnlyWhenSupported",
|
|
900
900
|
"respectDefaultRingColorOpacity",
|
|
@@ -907,11 +907,11 @@ var Be = {}, ie = {};
|
|
|
907
907
|
]
|
|
908
908
|
};
|
|
909
909
|
function c(v, h) {
|
|
910
|
-
if (
|
|
910
|
+
if (i.future.includes(h)) {
|
|
911
911
|
var E, y, k;
|
|
912
912
|
return v.future === "all" || ((k = (y = v == null || (E = v.future) === null || E === void 0 ? void 0 : E[h]) !== null && y !== void 0 ? y : o[h]) !== null && k !== void 0 ? k : !1);
|
|
913
913
|
}
|
|
914
|
-
if (
|
|
914
|
+
if (i.experimental.includes(h)) {
|
|
915
915
|
var F, P, L;
|
|
916
916
|
return v.experimental === "all" || ((L = (P = v == null || (F = v.experimental) === null || F === void 0 ? void 0 : F[h]) !== null && P !== void 0 ? P : o[h]) !== null && L !== void 0 ? L : !1);
|
|
917
917
|
}
|
|
@@ -919,20 +919,20 @@ var Be = {}, ie = {};
|
|
|
919
919
|
}
|
|
920
920
|
function l(v) {
|
|
921
921
|
if (v.experimental === "all")
|
|
922
|
-
return
|
|
922
|
+
return i.experimental;
|
|
923
923
|
var h;
|
|
924
|
-
return Object.keys((h = v == null ? void 0 : v.experimental) !== null && h !== void 0 ? h : {}).filter((E) =>
|
|
924
|
+
return Object.keys((h = v == null ? void 0 : v.experimental) !== null && h !== void 0 ? h : {}).filter((E) => i.experimental.includes(E) && v.experimental[E]);
|
|
925
925
|
}
|
|
926
926
|
function s(v) {
|
|
927
927
|
if (process.env.JEST_WORKER_ID === void 0 && l(v).length > 0) {
|
|
928
928
|
let h = l(v).map((E) => r.default.yellow(E)).join(", ");
|
|
929
|
-
|
|
929
|
+
n.default.warn("experimental-flags-enabled", [
|
|
930
930
|
`You have enabled experimental features: ${h}`,
|
|
931
931
|
"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
|
|
932
932
|
]);
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
|
-
const d =
|
|
935
|
+
const d = i;
|
|
936
936
|
})(ie);
|
|
937
937
|
(function(e) {
|
|
938
938
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -944,62 +944,62 @@ var Be = {}, ie = {};
|
|
|
944
944
|
}
|
|
945
945
|
});
|
|
946
946
|
const t = ie, r = /* @__PURE__ */ a(re);
|
|
947
|
-
function i
|
|
947
|
+
function n(i) {
|
|
948
948
|
if (typeof WeakMap != "function")
|
|
949
949
|
return null;
|
|
950
950
|
var c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap();
|
|
951
|
-
return (
|
|
951
|
+
return (n = function(s) {
|
|
952
952
|
return s ? l : c;
|
|
953
|
-
})(
|
|
953
|
+
})(i);
|
|
954
954
|
}
|
|
955
|
-
function a(
|
|
956
|
-
if (!c &&
|
|
957
|
-
return
|
|
958
|
-
if (
|
|
955
|
+
function a(i, c) {
|
|
956
|
+
if (!c && i && i.__esModule)
|
|
957
|
+
return i;
|
|
958
|
+
if (i === null || typeof i != "object" && typeof i != "function")
|
|
959
959
|
return {
|
|
960
|
-
default:
|
|
960
|
+
default: i
|
|
961
961
|
};
|
|
962
|
-
var l =
|
|
963
|
-
if (l && l.has(
|
|
964
|
-
return l.get(
|
|
962
|
+
var l = n(c);
|
|
963
|
+
if (l && l.has(i))
|
|
964
|
+
return l.get(i);
|
|
965
965
|
var s = {}, d = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
966
|
-
for (var v in
|
|
967
|
-
if (v !== "default" && Object.prototype.hasOwnProperty.call(
|
|
968
|
-
var h = d ? Object.getOwnPropertyDescriptor(
|
|
969
|
-
h && (h.get || h.set) ? Object.defineProperty(s, v, h) : s[v] =
|
|
966
|
+
for (var v in i)
|
|
967
|
+
if (v !== "default" && Object.prototype.hasOwnProperty.call(i, v)) {
|
|
968
|
+
var h = d ? Object.getOwnPropertyDescriptor(i, v) : null;
|
|
969
|
+
h && (h.get || h.set) ? Object.defineProperty(s, v, h) : s[v] = i[v];
|
|
970
970
|
}
|
|
971
|
-
return s.default =
|
|
971
|
+
return s.default = i, l && l.set(i, s), s;
|
|
972
972
|
}
|
|
973
|
-
function o(
|
|
973
|
+
function o(i) {
|
|
974
974
|
if ((() => {
|
|
975
|
-
if (
|
|
975
|
+
if (i.purge || !i.content || !Array.isArray(i.content) && !(typeof i.content == "object" && i.content !== null))
|
|
976
976
|
return !1;
|
|
977
|
-
if (Array.isArray(
|
|
978
|
-
return
|
|
979
|
-
if (typeof
|
|
980
|
-
if (Object.keys(
|
|
977
|
+
if (Array.isArray(i.content))
|
|
978
|
+
return i.content.every((s) => typeof s == "string" ? !0 : !(typeof (s == null ? void 0 : s.raw) != "string" || s != null && s.extension && typeof (s == null ? void 0 : s.extension) != "string"));
|
|
979
|
+
if (typeof i.content == "object" && i.content !== null) {
|
|
980
|
+
if (Object.keys(i.content).some((s) => ![
|
|
981
981
|
"files",
|
|
982
982
|
"relative",
|
|
983
983
|
"extract",
|
|
984
984
|
"transform"
|
|
985
985
|
].includes(s)))
|
|
986
986
|
return !1;
|
|
987
|
-
if (Array.isArray(
|
|
988
|
-
if (!
|
|
987
|
+
if (Array.isArray(i.content.files)) {
|
|
988
|
+
if (!i.content.files.every((s) => typeof s == "string" ? !0 : !(typeof (s == null ? void 0 : s.raw) != "string" || s != null && s.extension && typeof (s == null ? void 0 : s.extension) != "string")))
|
|
989
989
|
return !1;
|
|
990
|
-
if (typeof
|
|
991
|
-
for (let s of Object.values(
|
|
990
|
+
if (typeof i.content.extract == "object") {
|
|
991
|
+
for (let s of Object.values(i.content.extract))
|
|
992
992
|
if (typeof s != "function")
|
|
993
993
|
return !1;
|
|
994
|
-
} else if (!(
|
|
994
|
+
} else if (!(i.content.extract === void 0 || typeof i.content.extract == "function"))
|
|
995
995
|
return !1;
|
|
996
|
-
if (typeof
|
|
997
|
-
for (let s of Object.values(
|
|
996
|
+
if (typeof i.content.transform == "object") {
|
|
997
|
+
for (let s of Object.values(i.content.transform))
|
|
998
998
|
if (typeof s != "function")
|
|
999
999
|
return !1;
|
|
1000
|
-
} else if (!(
|
|
1000
|
+
} else if (!(i.content.transform === void 0 || typeof i.content.transform == "function"))
|
|
1001
1001
|
return !1;
|
|
1002
|
-
if (typeof
|
|
1002
|
+
if (typeof i.content.relative != "boolean" && typeof i.content.relative != "undefined")
|
|
1003
1003
|
return !1;
|
|
1004
1004
|
}
|
|
1005
1005
|
return !0;
|
|
@@ -1009,12 +1009,12 @@ var Be = {}, ie = {};
|
|
|
1009
1009
|
"The `purge`/`content` options have changed in Tailwind CSS v3.0.",
|
|
1010
1010
|
"Update your configuration file to eliminate this warning.",
|
|
1011
1011
|
"https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"
|
|
1012
|
-
]),
|
|
1012
|
+
]), i.safelist = (() => {
|
|
1013
1013
|
var s;
|
|
1014
|
-
let { content: d, purge: v, safelist: h } =
|
|
1014
|
+
let { content: d, purge: v, safelist: h } = i;
|
|
1015
1015
|
return Array.isArray(h) ? h : Array.isArray(d == null ? void 0 : d.safelist) ? d.safelist : Array.isArray(v == null ? void 0 : v.safelist) ? v.safelist : Array.isArray(v == null || (s = v.options) === null || s === void 0 ? void 0 : s.safelist) ? v.options.safelist : [];
|
|
1016
|
-
})(),
|
|
1017
|
-
let { blocklist: s } =
|
|
1016
|
+
})(), i.blocklist = (() => {
|
|
1017
|
+
let { blocklist: s } = i;
|
|
1018
1018
|
if (Array.isArray(s)) {
|
|
1019
1019
|
if (s.every((d) => typeof d == "string"))
|
|
1020
1020
|
return s;
|
|
@@ -1024,35 +1024,35 @@ var Be = {}, ie = {};
|
|
|
1024
1024
|
]);
|
|
1025
1025
|
}
|
|
1026
1026
|
return [];
|
|
1027
|
-
})(), typeof
|
|
1027
|
+
})(), typeof i.prefix == "function")
|
|
1028
1028
|
r.default.warn("prefix-function", [
|
|
1029
1029
|
"As of Tailwind CSS v3.0, `prefix` cannot be a function.",
|
|
1030
1030
|
"Update `prefix` in your configuration to be a string to eliminate this warning.",
|
|
1031
1031
|
"https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"
|
|
1032
|
-
]),
|
|
1032
|
+
]), i.prefix = "";
|
|
1033
1033
|
else {
|
|
1034
1034
|
var l;
|
|
1035
|
-
|
|
1035
|
+
i.prefix = (l = i.prefix) !== null && l !== void 0 ? l : "";
|
|
1036
1036
|
}
|
|
1037
|
-
|
|
1037
|
+
i.content = {
|
|
1038
1038
|
relative: (() => {
|
|
1039
|
-
let { content: s } =
|
|
1040
|
-
return s != null && s.relative ? s.relative : (0, t.flagEnabled)(
|
|
1039
|
+
let { content: s } = i;
|
|
1040
|
+
return s != null && s.relative ? s.relative : (0, t.flagEnabled)(i, "relativeContentPathsByDefault");
|
|
1041
1041
|
})(),
|
|
1042
1042
|
files: (() => {
|
|
1043
|
-
let { content: s, purge: d } =
|
|
1043
|
+
let { content: s, purge: d } = i;
|
|
1044
1044
|
return Array.isArray(d) ? d : Array.isArray(d == null ? void 0 : d.content) ? d.content : Array.isArray(s) ? s : Array.isArray(s == null ? void 0 : s.content) ? s.content : Array.isArray(s == null ? void 0 : s.files) ? s.files : [];
|
|
1045
1045
|
})(),
|
|
1046
1046
|
extract: (() => {
|
|
1047
1047
|
let s = (() => {
|
|
1048
1048
|
var h, E, y, k, F, P, L, M, G, H;
|
|
1049
|
-
return !((h =
|
|
1049
|
+
return !((h = i.purge) === null || h === void 0) && h.extract ? i.purge.extract : !((E = i.content) === null || E === void 0) && E.extract ? i.content.extract : !((y = i.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((F = i.content) === null || F === void 0 || (P = F.extract) === null || P === void 0) && P.DEFAULT ? i.content.extract.DEFAULT : !((L = i.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? i.purge.options.extractors : !((G = i.content) === null || G === void 0 || (H = G.options) === null || H === void 0) && H.extractors ? i.content.options.extractors : {};
|
|
1050
1050
|
})(), d = {}, v = (() => {
|
|
1051
1051
|
var h, E, y, k;
|
|
1052
|
-
if (!((h =
|
|
1053
|
-
return
|
|
1054
|
-
if (!((y =
|
|
1055
|
-
return
|
|
1052
|
+
if (!((h = i.purge) === null || h === void 0 || (E = h.options) === null || E === void 0) && E.defaultExtractor)
|
|
1053
|
+
return i.purge.options.defaultExtractor;
|
|
1054
|
+
if (!((y = i.content) === null || y === void 0 || (k = y.options) === null || k === void 0) && k.defaultExtractor)
|
|
1055
|
+
return i.content.options.defaultExtractor;
|
|
1056
1056
|
})();
|
|
1057
1057
|
if (v !== void 0 && (d.DEFAULT = v), typeof s == "function")
|
|
1058
1058
|
d.DEFAULT = s;
|
|
@@ -1067,12 +1067,12 @@ var Be = {}, ie = {};
|
|
|
1067
1067
|
transform: (() => {
|
|
1068
1068
|
let s = (() => {
|
|
1069
1069
|
var v, h, E, y, k, F;
|
|
1070
|
-
return !((v =
|
|
1070
|
+
return !((v = i.purge) === null || v === void 0) && v.transform ? i.purge.transform : !((h = i.content) === null || h === void 0) && h.transform ? i.content.transform : !((E = i.purge) === null || E === void 0 || (y = E.transform) === null || y === void 0) && y.DEFAULT ? i.purge.transform.DEFAULT : !((k = i.content) === null || k === void 0 || (F = k.transform) === null || F === void 0) && F.DEFAULT ? i.content.transform.DEFAULT : {};
|
|
1071
1071
|
})(), d = {};
|
|
1072
1072
|
return typeof s == "function" && (d.DEFAULT = s), typeof s == "object" && s !== null && Object.assign(d, s), d;
|
|
1073
1073
|
})()
|
|
1074
1074
|
};
|
|
1075
|
-
for (let s of
|
|
1075
|
+
for (let s of i.content.files)
|
|
1076
1076
|
if (typeof s == "string" && /{([^,]*?)}/g.test(s)) {
|
|
1077
1077
|
r.default.warn("invalid-glob-braces", [
|
|
1078
1078
|
`The glob pattern ${(0, r.dim)(s)} in your Tailwind CSS configuration is invalid.`,
|
|
@@ -1080,7 +1080,7 @@ var Be = {}, ie = {};
|
|
|
1080
1080
|
]);
|
|
1081
1081
|
break;
|
|
1082
1082
|
}
|
|
1083
|
-
return
|
|
1083
|
+
return i;
|
|
1084
1084
|
}
|
|
1085
1085
|
})(Be);
|
|
1086
1086
|
var We = {};
|
|
@@ -1096,8 +1096,8 @@ var We = {};
|
|
|
1096
1096
|
function t(r) {
|
|
1097
1097
|
if (Object.prototype.toString.call(r) !== "[object Object]")
|
|
1098
1098
|
return !1;
|
|
1099
|
-
const
|
|
1100
|
-
return
|
|
1099
|
+
const n = Object.getPrototypeOf(r);
|
|
1100
|
+
return n === null || n === Object.prototype;
|
|
1101
1101
|
}
|
|
1102
1102
|
})(We);
|
|
1103
1103
|
var Re = {};
|
|
@@ -1111,8 +1111,8 @@ var Re = {};
|
|
|
1111
1111
|
}
|
|
1112
1112
|
});
|
|
1113
1113
|
function t(r) {
|
|
1114
|
-
return Array.isArray(r) ? r.map((
|
|
1115
|
-
|
|
1114
|
+
return Array.isArray(r) ? r.map((n) => t(n)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([n, a]) => [
|
|
1115
|
+
n,
|
|
1116
1116
|
t(a)
|
|
1117
1117
|
])) : r;
|
|
1118
1118
|
}
|
|
@@ -1903,13 +1903,13 @@ var pe = {}, ge = {}, Ie = {};
|
|
|
1903
1903
|
return E;
|
|
1904
1904
|
}
|
|
1905
1905
|
});
|
|
1906
|
-
const r = /* @__PURE__ */
|
|
1907
|
-
function
|
|
1906
|
+
const r = /* @__PURE__ */ n(Ie);
|
|
1907
|
+
function n(y) {
|
|
1908
1908
|
return y && y.__esModule ? y : {
|
|
1909
1909
|
default: y
|
|
1910
1910
|
};
|
|
1911
1911
|
}
|
|
1912
|
-
let a = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, o = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,
|
|
1912
|
+
let a = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, o = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, i = /(?:\d+|\d*\.\d+)%?/, c = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, s = /var\(--(?:[^ )]*?)\)/, d = new RegExp(`^(rgba?)\\(\\s*(${i.source}|${s.source})(?:${c.source}(${i.source}|${s.source}))?(?:${c.source}(${i.source}|${s.source}))?(?:${l.source}(${i.source}|${s.source}))?\\s*\\)$`), v = new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${s.source})(?:${c.source}(${i.source}|${s.source}))?(?:${c.source}(${i.source}|${s.source}))?(?:${l.source}(${i.source}|${s.source}))?\\s*\\)$`);
|
|
1913
1913
|
function h(y, { loose: k = !1 } = {}) {
|
|
1914
1914
|
var F, P;
|
|
1915
1915
|
if (typeof y != "string")
|
|
@@ -1979,37 +1979,37 @@ var pe = {}, ge = {}, Ie = {};
|
|
|
1979
1979
|
Object.defineProperty(e, "__esModule", {
|
|
1980
1980
|
value: !0
|
|
1981
1981
|
});
|
|
1982
|
-
function t(o,
|
|
1983
|
-
for (var c in
|
|
1982
|
+
function t(o, i) {
|
|
1983
|
+
for (var c in i)
|
|
1984
1984
|
Object.defineProperty(o, c, {
|
|
1985
1985
|
enumerable: !0,
|
|
1986
|
-
get:
|
|
1986
|
+
get: i[c]
|
|
1987
1987
|
});
|
|
1988
1988
|
}
|
|
1989
1989
|
t(e, {
|
|
1990
1990
|
withAlphaValue: function() {
|
|
1991
|
-
return
|
|
1991
|
+
return n;
|
|
1992
1992
|
},
|
|
1993
1993
|
default: function() {
|
|
1994
1994
|
return a;
|
|
1995
1995
|
}
|
|
1996
1996
|
});
|
|
1997
1997
|
const r = ge;
|
|
1998
|
-
function
|
|
1998
|
+
function n(o, i, c) {
|
|
1999
1999
|
if (typeof o == "function")
|
|
2000
2000
|
return o({
|
|
2001
|
-
opacityValue:
|
|
2001
|
+
opacityValue: i
|
|
2002
2002
|
});
|
|
2003
2003
|
let l = (0, r.parseColor)(o, {
|
|
2004
2004
|
loose: !0
|
|
2005
2005
|
});
|
|
2006
2006
|
return l === null ? c : (0, r.formatColor)({
|
|
2007
2007
|
...l,
|
|
2008
|
-
alpha:
|
|
2008
|
+
alpha: i
|
|
2009
2009
|
});
|
|
2010
2010
|
}
|
|
2011
|
-
function a({ color: o, property:
|
|
2012
|
-
let l = [].concat(
|
|
2011
|
+
function a({ color: o, property: i, variable: c }) {
|
|
2012
|
+
let l = [].concat(i);
|
|
2013
2013
|
if (typeof o == "function")
|
|
2014
2014
|
return {
|
|
2015
2015
|
[c]: "1",
|
|
@@ -2050,13 +2050,13 @@ var ve = {}, Ve = {}, ne = {};
|
|
|
2050
2050
|
return t;
|
|
2051
2051
|
}
|
|
2052
2052
|
});
|
|
2053
|
-
function t(r,
|
|
2054
|
-
let a = [], o = [],
|
|
2053
|
+
function t(r, n) {
|
|
2054
|
+
let a = [], o = [], i = 0, c = !1;
|
|
2055
2055
|
for (let l = 0; l < r.length; l++) {
|
|
2056
2056
|
let s = r[l];
|
|
2057
|
-
a.length === 0 && s ===
|
|
2057
|
+
a.length === 0 && s === n[0] && !c && (n.length === 1 || r.slice(l, l + n.length) === n) && (o.push(r.slice(i, l)), i = l + n.length), c ? c = !1 : s === "\\" && (c = !0), s === "(" || s === "[" || s === "{" ? a.push(s) : (s === ")" && a[a.length - 1] === "(" || s === "]" && a[a.length - 1] === "[" || s === "}" && a[a.length - 1] === "{") && a.pop();
|
|
2058
2058
|
}
|
|
2059
|
-
return o.push(r.slice(
|
|
2059
|
+
return o.push(r.slice(i)), o;
|
|
2060
2060
|
}
|
|
2061
2061
|
})(ne);
|
|
2062
2062
|
(function(e) {
|
|
@@ -2072,27 +2072,27 @@ var ve = {}, Ve = {}, ne = {};
|
|
|
2072
2072
|
}
|
|
2073
2073
|
t(e, {
|
|
2074
2074
|
parseBoxShadowValue: function() {
|
|
2075
|
-
return
|
|
2075
|
+
return i;
|
|
2076
2076
|
},
|
|
2077
2077
|
formatBoxShadowValue: function() {
|
|
2078
2078
|
return c;
|
|
2079
2079
|
}
|
|
2080
2080
|
});
|
|
2081
2081
|
const r = ne;
|
|
2082
|
-
let
|
|
2082
|
+
let n = /* @__PURE__ */ new Set([
|
|
2083
2083
|
"inset",
|
|
2084
2084
|
"inherit",
|
|
2085
2085
|
"initial",
|
|
2086
2086
|
"revert",
|
|
2087
2087
|
"unset"
|
|
2088
2088
|
]), a = /\ +(?![^(]*\))/g, o = /^-?(\d+|\.\d+)(.*?)$/g;
|
|
2089
|
-
function
|
|
2089
|
+
function i(l) {
|
|
2090
2090
|
return (0, r.splitAtTopLevelOnly)(l, ",").map((d) => {
|
|
2091
2091
|
let v = d.trim(), h = {
|
|
2092
2092
|
raw: v
|
|
2093
2093
|
}, E = v.split(a), y = /* @__PURE__ */ new Set();
|
|
2094
2094
|
for (let k of E)
|
|
2095
|
-
o.lastIndex = 0, !y.has("KEYWORD") &&
|
|
2095
|
+
o.lastIndex = 0, !y.has("KEYWORD") && n.has(k) ? (h.keyword = k, y.add("KEYWORD")) : o.test(k) ? y.has("X") ? y.has("Y") ? y.has("BLUR") ? y.has("SPREAD") || (h.spread = k, y.add("SPREAD")) : (h.blur = k, y.add("BLUR")) : (h.y = k, y.add("Y")) : (h.x = k, y.add("X")) : h.color ? (h.unknown || (h.unknown = []), h.unknown.push(k)) : h.color = k;
|
|
2096
2096
|
return h.valid = h.x !== void 0 && h.y !== void 0, h;
|
|
2097
2097
|
});
|
|
2098
2098
|
}
|
|
@@ -2165,14 +2165,14 @@ var ve = {}, Ve = {}, ne = {};
|
|
|
2165
2165
|
return $;
|
|
2166
2166
|
}
|
|
2167
2167
|
});
|
|
2168
|
-
const r = ge,
|
|
2168
|
+
const r = ge, n = Ve, a = ne;
|
|
2169
2169
|
let o = [
|
|
2170
2170
|
"min",
|
|
2171
2171
|
"max",
|
|
2172
2172
|
"clamp",
|
|
2173
2173
|
"calc"
|
|
2174
2174
|
];
|
|
2175
|
-
function
|
|
2175
|
+
function i(f) {
|
|
2176
2176
|
return o.some((_) => new RegExp(`^${_}\\(.*\\)`).test(f));
|
|
2177
2177
|
}
|
|
2178
2178
|
const c = "--tw-placeholder", l = new RegExp(c, "g");
|
|
@@ -2189,10 +2189,10 @@ var ve = {}, Ve = {}, ne = {};
|
|
|
2189
2189
|
return f.startsWith("url(");
|
|
2190
2190
|
}
|
|
2191
2191
|
function h(f) {
|
|
2192
|
-
return !isNaN(Number(f)) ||
|
|
2192
|
+
return !isNaN(Number(f)) || i(f);
|
|
2193
2193
|
}
|
|
2194
2194
|
function E(f) {
|
|
2195
|
-
return f.endsWith("%") && h(f.slice(0, -1)) ||
|
|
2195
|
+
return f.endsWith("%") && h(f.slice(0, -1)) || i(f);
|
|
2196
2196
|
}
|
|
2197
2197
|
let k = `(?:${[
|
|
2198
2198
|
"cm",
|
|
@@ -2228,7 +2228,7 @@ var ve = {}, Ve = {}, ne = {};
|
|
|
2228
2228
|
"cqmax"
|
|
2229
2229
|
].join("|")})`;
|
|
2230
2230
|
function F(f) {
|
|
2231
|
-
return f === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(f) ||
|
|
2231
|
+
return f === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(f) || i(f);
|
|
2232
2232
|
}
|
|
2233
2233
|
let P = /* @__PURE__ */ new Set([
|
|
2234
2234
|
"thin",
|
|
@@ -2239,7 +2239,7 @@ var ve = {}, Ve = {}, ne = {};
|
|
|
2239
2239
|
return P.has(f);
|
|
2240
2240
|
}
|
|
2241
2241
|
function M(f) {
|
|
2242
|
-
let _ = (0,
|
|
2242
|
+
let _ = (0, n.parseBoxShadowValue)(s(f));
|
|
2243
2243
|
for (let A of _)
|
|
2244
2244
|
if (!A.valid)
|
|
2245
2245
|
return !1;
|
|
@@ -2336,17 +2336,17 @@ var qe = {};
|
|
|
2336
2336
|
}), Object.defineProperty(e, "backgroundSize", {
|
|
2337
2337
|
enumerable: !0,
|
|
2338
2338
|
get: function() {
|
|
2339
|
-
return
|
|
2339
|
+
return n;
|
|
2340
2340
|
}
|
|
2341
2341
|
});
|
|
2342
2342
|
const t = ve, r = ne;
|
|
2343
|
-
function
|
|
2343
|
+
function n(a) {
|
|
2344
2344
|
let o = [
|
|
2345
2345
|
"cover",
|
|
2346
2346
|
"contain"
|
|
2347
2347
|
];
|
|
2348
|
-
return (0, r.splitAtTopLevelOnly)(a, ",").every((
|
|
2349
|
-
let c = (0, r.splitAtTopLevelOnly)(
|
|
2348
|
+
return (0, r.splitAtTopLevelOnly)(a, ",").every((i) => {
|
|
2349
|
+
let c = (0, r.splitAtTopLevelOnly)(i, "_").filter(Boolean);
|
|
2350
2350
|
return c.length === 1 && o.includes(c[0]) ? !0 : c.length !== 1 && c.length !== 2 ? !1 : c.every((l) => (0, t.length)(l) || (0, t.percentage)(l) || l === "auto");
|
|
2351
2351
|
});
|
|
2352
2352
|
}
|
|
@@ -2388,7 +2388,7 @@ var qe = {};
|
|
|
2388
2388
|
return R;
|
|
2389
2389
|
}
|
|
2390
2390
|
});
|
|
2391
|
-
const r = /* @__PURE__ */ l(Ne),
|
|
2391
|
+
const r = /* @__PURE__ */ l(Ne), n = pe, a = ve, o = /* @__PURE__ */ l(fe), i = qe, c = ie;
|
|
2392
2392
|
function l(g) {
|
|
2393
2393
|
return g && g.__esModule ? g : {
|
|
2394
2394
|
default: g
|
|
@@ -2456,7 +2456,7 @@ var qe = {};
|
|
|
2456
2456
|
if (p !== void 0) {
|
|
2457
2457
|
var $, f, _, A;
|
|
2458
2458
|
let O = (A = ($ = D.values) === null || $ === void 0 ? void 0 : $[x]) !== null && A !== void 0 ? A : E(x) ? x.slice(1, -1) : void 0;
|
|
2459
|
-
return O === void 0 ? void 0 : (O = k(O), E(p) ? (0,
|
|
2459
|
+
return O === void 0 ? void 0 : (O = k(O), E(p) ? (0, n.withAlphaValue)(O, F(p)) : ((f = C.theme) === null || f === void 0 || (_ = f.opacity) === null || _ === void 0 ? void 0 : _[p]) === void 0 ? void 0 : (0, n.withAlphaValue)(O, C.theme.opacity[p]));
|
|
2460
2460
|
}
|
|
2461
2461
|
return h(g, D, {
|
|
2462
2462
|
validate: a.color
|
|
@@ -2487,7 +2487,7 @@ var qe = {};
|
|
|
2487
2487
|
"absolute-size": M(a.absoluteSize),
|
|
2488
2488
|
"relative-size": M(a.relativeSize),
|
|
2489
2489
|
shadow: M(a.shadow),
|
|
2490
|
-
size: M(
|
|
2490
|
+
size: M(i.backgroundSize)
|
|
2491
2491
|
}, H = Object.keys(G);
|
|
2492
2492
|
function W(g, D) {
|
|
2493
2493
|
let C = g.indexOf(D);
|
|
@@ -2572,7 +2572,7 @@ var Xe = {};
|
|
|
2572
2572
|
return C;
|
|
2573
2573
|
}
|
|
2574
2574
|
});
|
|
2575
|
-
const t = /* @__PURE__ */ E(fe), r = /* @__PURE__ */ E(ze),
|
|
2575
|
+
const t = /* @__PURE__ */ E(fe), r = /* @__PURE__ */ E(ze), n = /* @__PURE__ */ E(Pe), a = /* @__PURE__ */ E(he), o = He, i = je, c = Be, l = /* @__PURE__ */ E(We), s = Re, d = Ue, v = pe, h = /* @__PURE__ */ E(Xe);
|
|
2576
2576
|
function E(m) {
|
|
2577
2577
|
return m && m.__esModule ? m : {
|
|
2578
2578
|
default: m
|
|
@@ -2645,12 +2645,12 @@ var Xe = {};
|
|
|
2645
2645
|
].map((_) => P(_, $, f)), G));
|
|
2646
2646
|
}
|
|
2647
2647
|
function* W(m) {
|
|
2648
|
-
let b = (0,
|
|
2648
|
+
let b = (0, i.toPath)(m);
|
|
2649
2649
|
if (b.length === 0 || (yield b, Array.isArray(m)))
|
|
2650
2650
|
return;
|
|
2651
2651
|
let x = /^(.*?)\s*\/\s*([^/]+)$/, p = m.match(x);
|
|
2652
2652
|
if (p !== null) {
|
|
2653
|
-
let [, $, f] = p, _ = (0,
|
|
2653
|
+
let [, $, f] = p, _ = (0, i.toPath)($);
|
|
2654
2654
|
_.alpha = f, yield _;
|
|
2655
2655
|
}
|
|
2656
2656
|
}
|
|
@@ -2701,7 +2701,7 @@ var Xe = {};
|
|
|
2701
2701
|
...m
|
|
2702
2702
|
].reduceRight((x, p) => y(p) ? p({
|
|
2703
2703
|
corePlugins: x
|
|
2704
|
-
}) : (0,
|
|
2704
|
+
}) : (0, n.default)(p, x), r.default);
|
|
2705
2705
|
}
|
|
2706
2706
|
function D(m) {
|
|
2707
2707
|
return [
|
|
@@ -3728,15 +3728,15 @@ var Ye = {}, ct = {
|
|
|
3728
3728
|
return a;
|
|
3729
3729
|
}
|
|
3730
3730
|
});
|
|
3731
|
-
const t = /* @__PURE__ */
|
|
3732
|
-
function
|
|
3731
|
+
const t = /* @__PURE__ */ n(ct), r = ie;
|
|
3732
|
+
function n(o) {
|
|
3733
3733
|
return o && o.__esModule ? o : {
|
|
3734
3734
|
default: o
|
|
3735
3735
|
};
|
|
3736
3736
|
}
|
|
3737
3737
|
function a(o) {
|
|
3738
|
-
var
|
|
3739
|
-
const c = ((
|
|
3738
|
+
var i;
|
|
3739
|
+
const c = ((i = o == null ? void 0 : o.presets) !== null && i !== void 0 ? i : [
|
|
3740
3740
|
t.default
|
|
3741
3741
|
]).slice().reverse().flatMap((d) => a(d instanceof Function ? d() : d)), l = {
|
|
3742
3742
|
// Add experimental configs here...
|
|
@@ -3775,17 +3775,17 @@ var Ye = {}, ct = {
|
|
|
3775
3775
|
return a;
|
|
3776
3776
|
}
|
|
3777
3777
|
});
|
|
3778
|
-
const t = /* @__PURE__ */
|
|
3779
|
-
function
|
|
3778
|
+
const t = /* @__PURE__ */ n(Me), r = /* @__PURE__ */ n(Ye);
|
|
3779
|
+
function n(o) {
|
|
3780
3780
|
return o && o.__esModule ? o : {
|
|
3781
3781
|
default: o
|
|
3782
3782
|
};
|
|
3783
3783
|
}
|
|
3784
3784
|
function a(...o) {
|
|
3785
|
-
let [, ...
|
|
3785
|
+
let [, ...i] = (0, r.default)(o[0]);
|
|
3786
3786
|
return (0, t.default)([
|
|
3787
3787
|
...o,
|
|
3788
|
-
...
|
|
3788
|
+
...i
|
|
3789
3789
|
]);
|
|
3790
3790
|
}
|
|
3791
3791
|
})(Ae);
|
|
@@ -3987,8 +3987,8 @@ const ht = {
|
|
|
3987
3987
|
}), {});
|
|
3988
3988
|
},
|
|
3989
3989
|
iconClasses() {
|
|
3990
|
-
var
|
|
3991
|
-
const e = this.sizes[this.size] || this.sizes[T.sm], t = `${((a = (
|
|
3990
|
+
var n, a;
|
|
3991
|
+
const e = this.sizes[this.size] || this.sizes[T.sm], t = `${((a = (n = this.icon) == null ? void 0 : n.split(" ")) == null ? void 0 : a.length) > 1 ? this.icon : `fa fa-${this.icon}`}`;
|
|
3992
3992
|
return [
|
|
3993
3993
|
"e-inline-flex e-items-center e-justify-center e-rounded-full",
|
|
3994
3994
|
this.color,
|
|
@@ -4085,7 +4085,7 @@ var Tt = function() {
|
|
|
4085
4085
|
Et,
|
|
4086
4086
|
!1,
|
|
4087
4087
|
null,
|
|
4088
|
-
"
|
|
4088
|
+
"f6962f4a",
|
|
4089
4089
|
null,
|
|
4090
4090
|
null
|
|
4091
4091
|
);
|
|
@@ -4322,8 +4322,8 @@ const oe = new Intl.NumberFormat(void 0, {
|
|
|
4322
4322
|
"statechanged",
|
|
4323
4323
|
"error"
|
|
4324
4324
|
], J = (e) => {
|
|
4325
|
-
const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60,
|
|
4326
|
-
return
|
|
4325
|
+
const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60, n = Math.floor(e / 3600);
|
|
4326
|
+
return n === 0 ? `${r}:${oe.format(t)}` : `${n}:${oe.format(
|
|
4327
4327
|
r
|
|
4328
4328
|
)}:${oe.format(t)}`;
|
|
4329
4329
|
}, Bt = q.extend({
|
|
@@ -4398,11 +4398,11 @@ const oe = new Intl.NumberFormat(void 0, {
|
|
|
4398
4398
|
const t = this.$refs.player, r = this.$refs.timelineContainer;
|
|
4399
4399
|
t.addEventListener(
|
|
4400
4400
|
e,
|
|
4401
|
-
(
|
|
4401
|
+
(n) => {
|
|
4402
4402
|
e === "loadeddata" && (this.videoLength = J(t.duration)), e === "timeupdate" && (this.percentagePlayed = t.currentTime / t.duration * 100, r.style.setProperty(
|
|
4403
4403
|
"--progress-position",
|
|
4404
4404
|
this.percentagePlayed.toString()
|
|
4405
|
-
)), this.$emit(e, { event:
|
|
4405
|
+
)), this.$emit(e, { event: n, player: this });
|
|
4406
4406
|
},
|
|
4407
4407
|
!0
|
|
4408
4408
|
);
|
|
@@ -4411,11 +4411,11 @@ const oe = new Intl.NumberFormat(void 0, {
|
|
|
4411
4411
|
const t = this.$refs.player, r = this.$refs.timelineContainer;
|
|
4412
4412
|
t.addEventListener(
|
|
4413
4413
|
e,
|
|
4414
|
-
(
|
|
4414
|
+
(n) => {
|
|
4415
4415
|
e === "loadeddata" && (this.videoLength = J(t.duration)), e === "timeupdate" && (this.percentagePlayed = t.currentTime / t.duration * 100, r.style.setProperty(
|
|
4416
4416
|
"--progress-position",
|
|
4417
4417
|
this.percentagePlayed.toString()
|
|
4418
|
-
)), this.$emit(e, { event:
|
|
4418
|
+
)), this.$emit(e, { event: n, player: this });
|
|
4419
4419
|
},
|
|
4420
4420
|
!0
|
|
4421
4421
|
);
|
|
@@ -4531,7 +4531,7 @@ const oe = new Intl.NumberFormat(void 0, {
|
|
|
4531
4531
|
const t = this.$refs.player;
|
|
4532
4532
|
if (!document.body.contains(t))
|
|
4533
4533
|
return;
|
|
4534
|
-
const r = this.$refs.timelineContainer,
|
|
4534
|
+
const r = this.$refs.timelineContainer, n = r.getBoundingClientRect(), a = Math.min(Math.max(0, e.x - n.x), n.width) / n.width;
|
|
4535
4535
|
r.style.setProperty(
|
|
4536
4536
|
"--preview-position",
|
|
4537
4537
|
a.toString()
|
|
@@ -4545,18 +4545,18 @@ const oe = new Intl.NumberFormat(void 0, {
|
|
|
4545
4545
|
t.currentTime += e;
|
|
4546
4546
|
},
|
|
4547
4547
|
async toggleScrubbing(e) {
|
|
4548
|
-
const t = this.$refs.timelineContainer, r = this.$refs.videoContainer,
|
|
4549
|
-
if (!
|
|
4548
|
+
const t = this.$refs.timelineContainer, r = this.$refs.videoContainer, n = this.$refs.player;
|
|
4549
|
+
if (!n)
|
|
4550
4550
|
return;
|
|
4551
4551
|
const a = t.getBoundingClientRect(), o = Math.min(Math.max(0, e.x - a.x), a.width) / a.width;
|
|
4552
4552
|
if (this.isScrubbing = (e.buttons & 1) === 1, r.classList.toggle("scrubbing", this.isScrubbing), this.isScrubbing) {
|
|
4553
|
-
this.wasPaused =
|
|
4553
|
+
this.wasPaused = n.paused, await n.pause(), this.handleTimelineUpdate(e);
|
|
4554
4554
|
return;
|
|
4555
4555
|
}
|
|
4556
|
-
if (this.realtime = o * this.videoDuration,
|
|
4556
|
+
if (this.realtime = o * this.videoDuration, n.currentTime = o * this.videoDuration, this.wasPaused)
|
|
4557
4557
|
return;
|
|
4558
|
-
const
|
|
4559
|
-
|
|
4558
|
+
const i = n.play();
|
|
4559
|
+
i !== void 0 && i.then(() => this.handleTimelineUpdate(e)).catch(console.error);
|
|
4560
4560
|
},
|
|
4561
4561
|
handleKeyDown(e) {
|
|
4562
4562
|
var r;
|
|
@@ -4583,8 +4583,8 @@ const oe = new Intl.NumberFormat(void 0, {
|
|
|
4583
4583
|
});
|
|
4584
4584
|
var Wt = function() {
|
|
4585
4585
|
var t = this, r = t._self._c;
|
|
4586
|
-
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.sourceItems, function(
|
|
4587
|
-
return r("source", t._g({ key:
|
|
4586
|
+
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.sourceItems, function(n) {
|
|
4587
|
+
return r("source", t._g({ key: n.src, attrs: { src: n.src, type: n.type }, on: { error: t.handle404Error } }, t.videoListeners));
|
|
4588
4588
|
}), 0), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { size: "9xl", opacity: "0.6", dark: !0 } })], 1) : t._e(), t.isError ? r("div", { staticClass: "spinner-container e-gap-3" }, [r("i", { staticClass: "fa-solid fa-video-slash fa-2xl e-align-middle" }), r("span", [t._v("This video file cannot be played.")])]) : t._e(), r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-lg fa-solid", class: {
|
|
4589
4589
|
"fa-play": !t.playing,
|
|
4590
4590
|
"fa-pause": t.playing
|
|
@@ -4601,28 +4601,28 @@ var Wt = function() {
|
|
|
4601
4601
|
Rt,
|
|
4602
4602
|
!1,
|
|
4603
4603
|
null,
|
|
4604
|
-
"
|
|
4604
|
+
"1f364495",
|
|
4605
4605
|
null,
|
|
4606
4606
|
null
|
|
4607
4607
|
);
|
|
4608
4608
|
const Nt = Ut.exports, te = (e) => {
|
|
4609
|
-
const t = u.utcFormat("%_d")(e),
|
|
4609
|
+
const t = u.utcFormat("%_d")(e), n = {
|
|
4610
4610
|
1: "st",
|
|
4611
4611
|
2: "nd",
|
|
4612
4612
|
3: "rd"
|
|
4613
4613
|
}[t.charAt(1)] || "th";
|
|
4614
|
-
return `${t}${
|
|
4614
|
+
return `${t}${n}`;
|
|
4615
4615
|
}, be = (e) => new Date(
|
|
4616
4616
|
Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate() + 1)
|
|
4617
4617
|
).getUTCDate() === 1 ? "" : u.utcFormat("%-d")(e), X = (e) => ["0", " 0", "00"].includes(u.utcFormat("%H")(e)) ? "" : `${u.utcFormat("%H")(e)}h`, V = (e) => {
|
|
4618
4618
|
const t = u.utcFormat("%H:%M")(e);
|
|
4619
4619
|
return t === "00:00" ? "" : t;
|
|
4620
4620
|
}, le = (e) => u.utcFormat("%M:%S")(e), xe = (e) => `${u.utcFormat("%Hh%Mm")(e)}`, de = (e) => {
|
|
4621
|
-
const t = V(e), r = te(e),
|
|
4622
|
-
return t || `${
|
|
4621
|
+
const t = V(e), r = te(e), n = u.utcFormat("%B")(e);
|
|
4622
|
+
return t || `${n} ${r}`;
|
|
4623
4623
|
}, ue = (e) => {
|
|
4624
|
-
const t = V(e), r = Number.parseInt(u.utcFormat("%H")(e)),
|
|
4625
|
-
return t && r % 6 === 0 ? `${a} ${
|
|
4624
|
+
const t = V(e), r = Number.parseInt(u.utcFormat("%H")(e)), n = te(e), a = u.utcFormat("%B")(e);
|
|
4625
|
+
return t && r % 6 === 0 ? `${a} ${n} ${t}` : de(e);
|
|
4626
4626
|
}, Y = (e) => (t) => {
|
|
4627
4627
|
const r = u.utcFormat("%H")(t);
|
|
4628
4628
|
return !(u.utcFormat("%M")(t) === "00" && Number.parseInt(r) % e === 0);
|
|
@@ -4630,8 +4630,8 @@ const Nt = Ut.exports, te = (e) => {
|
|
|
4630
4630
|
const r = u.utcFormat("%M")(t);
|
|
4631
4631
|
return Number.parseInt(r) % e !== 0;
|
|
4632
4632
|
}, _e = (e) => (t) => {
|
|
4633
|
-
const r = u.utcFormat("%M")(t),
|
|
4634
|
-
return Number.parseInt(r) % e !== 0 && Number.parseInt(
|
|
4633
|
+
const r = u.utcFormat("%M")(t), n = u.utcFormat("%S")(t);
|
|
4634
|
+
return Number.parseInt(r) % e !== 0 && Number.parseInt(n) === 0;
|
|
4635
4635
|
}, S = {
|
|
4636
4636
|
_10_seconds: 25e-6,
|
|
4637
4637
|
_20_seconds: 1e-4,
|
|
@@ -4691,8 +4691,8 @@ const It = {
|
|
|
4691
4691
|
precision: S._2_hours,
|
|
4692
4692
|
interval: u.utcHour.every(6),
|
|
4693
4693
|
format: (e) => {
|
|
4694
|
-
const t = V(e), r = te(e),
|
|
4695
|
-
return t || `${
|
|
4694
|
+
const t = V(e), r = te(e), n = u.utcFormat("%B")(e);
|
|
4695
|
+
return t || `${n} ${r}`;
|
|
4696
4696
|
}
|
|
4697
4697
|
},
|
|
4698
4698
|
{
|
|
@@ -4907,8 +4907,8 @@ const It = {
|
|
|
4907
4907
|
e.getUTCFullYear(),
|
|
4908
4908
|
e.getUTCMonth() + 1,
|
|
4909
4909
|
0
|
|
4910
|
-
).getUTCDate(),
|
|
4911
|
-
return t ===
|
|
4910
|
+
).getUTCDate(), n = Math.ceil(r / 5);
|
|
4911
|
+
return t === n || t === 2 * n || t === 3 * n || t === 4 * n;
|
|
4912
4912
|
}),
|
|
4913
4913
|
format: ""
|
|
4914
4914
|
},
|
|
@@ -4919,8 +4919,8 @@ const It = {
|
|
|
4919
4919
|
e.getUTCFullYear(),
|
|
4920
4920
|
e.getUTCMonth() + 1,
|
|
4921
4921
|
0
|
|
4922
|
-
).getUTCDate(),
|
|
4923
|
-
return t ===
|
|
4922
|
+
).getUTCDate(), n = Math.ceil(r / 4);
|
|
4923
|
+
return t === n || t === 2 * n || t === 3 * n;
|
|
4924
4924
|
}),
|
|
4925
4925
|
format: ""
|
|
4926
4926
|
},
|
|
@@ -4931,8 +4931,8 @@ const It = {
|
|
|
4931
4931
|
e.getUTCFullYear(),
|
|
4932
4932
|
e.getUTCMonth() + 1,
|
|
4933
4933
|
0
|
|
4934
|
-
).getUTCDate(),
|
|
4935
|
-
return t ===
|
|
4934
|
+
).getUTCDate(), n = Math.ceil(r / 2);
|
|
4935
|
+
return t === n;
|
|
4936
4936
|
}),
|
|
4937
4937
|
format: ""
|
|
4938
4938
|
},
|
|
@@ -4954,12 +4954,12 @@ const It = {
|
|
|
4954
4954
|
console.error("Invalid callback function provided to v-resize-observer");
|
|
4955
4955
|
return;
|
|
4956
4956
|
}
|
|
4957
|
-
const
|
|
4957
|
+
const n = new ResizeObserver(
|
|
4958
4958
|
(a) => {
|
|
4959
4959
|
a[0] && r(a[0]);
|
|
4960
4960
|
}
|
|
4961
4961
|
);
|
|
4962
|
-
|
|
4962
|
+
n.observe(e), e.__resizeObserver__ = n;
|
|
4963
4963
|
},
|
|
4964
4964
|
unbind(e) {
|
|
4965
4965
|
e.__resizeObserver__ && (e.__resizeObserver__.disconnect(), delete e.__resizeObserver__);
|
|
@@ -5141,9 +5141,9 @@ const It = {
|
|
|
5141
5141
|
labelRectWidth() {
|
|
5142
5142
|
return Object.values(
|
|
5143
5143
|
this.eventsGroups
|
|
5144
|
-
).reduce((r,
|
|
5144
|
+
).reduce((r, n) => {
|
|
5145
5145
|
var a;
|
|
5146
|
-
return Math.max(r, (a =
|
|
5146
|
+
return Math.max(r, (a = n.label) == null ? void 0 : a.length);
|
|
5147
5147
|
}, 0) * 7.5 + 5;
|
|
5148
5148
|
},
|
|
5149
5149
|
combinedXAxesHeight() {
|
|
@@ -5151,8 +5151,8 @@ const It = {
|
|
|
5151
5151
|
return this.axisHeight * e;
|
|
5152
5152
|
},
|
|
5153
5153
|
timelineHeight() {
|
|
5154
|
-
const e = Object.keys(this.barGroups).length, t = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, r = this.eventGroupPadding * (e - 1),
|
|
5155
|
-
return this.combinedXAxesHeight + t +
|
|
5154
|
+
const e = Object.keys(this.barGroups).length, t = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, r = this.eventGroupPadding * (e - 1), n = this.barChartHeight * e;
|
|
5155
|
+
return this.combinedXAxesHeight + t + n + r;
|
|
5156
5156
|
},
|
|
5157
5157
|
filteredEventsGroups() {
|
|
5158
5158
|
const e = Object.entries(this.eventsGroups).filter(
|
|
@@ -5258,10 +5258,10 @@ const It = {
|
|
|
5258
5258
|
const e = this.svg.append("defs");
|
|
5259
5259
|
Object.entries(this.filteredEventsGroups).forEach(
|
|
5260
5260
|
([t, r]) => {
|
|
5261
|
-
const { color:
|
|
5262
|
-
if (o.append("stop").attr("offset", "0%").attr("stop-color",
|
|
5263
|
-
const
|
|
5264
|
-
|
|
5261
|
+
const { color: n, chartType: a } = r, o = e.append("linearGradient").attr("id", `${Q.loadingGradient}-${t}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
5262
|
+
if (o.append("stop").attr("offset", "0%").attr("stop-color", n).attr("stop-opacity", "0"), o.append("stop").attr("offset", "50%").attr("stop-color", n).attr("stop-opacity", "0.6"), o.append("stop").attr("offset", "100%").attr("stop-color", n).attr("stop-opacity", "0"), a === "lineGraph") {
|
|
5263
|
+
const i = e.append("linearGradient").attr("id", `${Q.areaGradient}-${t}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
|
|
5264
|
+
i.append("stop").attr("offset", "0%").style("stop-color", n).style("stop-opacity", 0.3), i.append("stop").attr("offset", "38%").style("stop-color", n).style("stop-opacity", 0);
|
|
5265
5265
|
}
|
|
5266
5266
|
}
|
|
5267
5267
|
);
|
|
@@ -5271,15 +5271,15 @@ const It = {
|
|
|
5271
5271
|
this.utcOffset = K.parseZone(e).utcOffset();
|
|
5272
5272
|
},
|
|
5273
5273
|
initTimeScale(e, t) {
|
|
5274
|
-
const r = e || this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate,
|
|
5275
|
-
this.timeScale = u.scaleTime().domain([this.tzStringToDate(r), this.tzStringToDate(
|
|
5274
|
+
const r = e || this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, n = t || this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate;
|
|
5275
|
+
this.timeScale = u.scaleTime().domain([this.tzStringToDate(r), this.tzStringToDate(n)]).range([0, this.timeline.offsetWidth]), this.initialTimeScale = this.timeScale.copy(), this.updateCurrentTimeScaleDensity();
|
|
5276
5276
|
},
|
|
5277
5277
|
initXAxes() {
|
|
5278
5278
|
let e = 0;
|
|
5279
5279
|
const t = 5;
|
|
5280
5280
|
for (const r in this.xAxesConfig) {
|
|
5281
|
-
const
|
|
5282
|
-
this.xAxes[r] =
|
|
5281
|
+
const n = this.createAxis(r);
|
|
5282
|
+
this.xAxes[r] = n, this.svg.append("g").classed(w.xAxis, !0).classed(`${w.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(n), this.translateTicksText(r), e += this.axisHeight;
|
|
5283
5283
|
}
|
|
5284
5284
|
},
|
|
5285
5285
|
initYScale() {
|
|
@@ -5321,10 +5321,10 @@ const It = {
|
|
|
5321
5321
|
if (this.visibleFrom && this.visibleFrom.getTime() === e.getTime() && this.visibleTo && this.visibleTo.getTime() === t.getTime())
|
|
5322
5322
|
return;
|
|
5323
5323
|
this.visibleFrom = e, this.visibleTo = t;
|
|
5324
|
-
const r = this.dateToTzString(this.visibleFrom),
|
|
5324
|
+
const r = this.dateToTzString(this.visibleFrom), n = this.dateToTzString(this.visibleTo);
|
|
5325
5325
|
this.$emit("visible-interval-change", {
|
|
5326
5326
|
fromDate: r,
|
|
5327
|
-
toDate:
|
|
5327
|
+
toDate: n,
|
|
5328
5328
|
transform: this.transformDiff
|
|
5329
5329
|
});
|
|
5330
5330
|
},
|
|
@@ -5373,12 +5373,13 @@ const It = {
|
|
|
5373
5373
|
const t = e.offsetX, r = this.timeScale.invert(t);
|
|
5374
5374
|
this.hoveredTimestamp = this.dateToTzString(r), this.isHoveringTimeline = !0, this.$emit("hovered-timestamp", this.hoveredTimestamp), this.cursor.style.left = t + "px", this.tooltip && (this.eventTooltipStyle = {
|
|
5375
5375
|
left: `${t}px`,
|
|
5376
|
-
bottom: `${this.timeline.getBoundingClientRect().height}px
|
|
5376
|
+
bottom: `${this.timeline.getBoundingClientRect().height}px`,
|
|
5377
|
+
zIndex: 100
|
|
5377
5378
|
}, this.repositionSelectedTimestampCursor());
|
|
5378
5379
|
},
|
|
5379
5380
|
handleClick(e) {
|
|
5380
|
-
const t = e.offsetX, r = this.timeScale.invert(t),
|
|
5381
|
-
this.$emit("date-clicked",
|
|
5381
|
+
const t = e.offsetX, r = this.timeScale.invert(t), n = this.dateToTzString(r);
|
|
5382
|
+
this.$emit("date-clicked", n), this.isHoveringEvent && this.$emit("event-clicked", {
|
|
5382
5383
|
event: this.hoveredEvent,
|
|
5383
5384
|
type: this.hoveredEventType
|
|
5384
5385
|
});
|
|
@@ -5386,9 +5387,9 @@ const It = {
|
|
|
5386
5387
|
handleLineMouseOver(e, t, r) {
|
|
5387
5388
|
this.hoveredCounts = Object.entries(
|
|
5388
5389
|
this.countsByTimestamp[`${t.timestamp}`]
|
|
5389
|
-
).reduce((
|
|
5390
|
-
const [o,
|
|
5391
|
-
return [...
|
|
5390
|
+
).reduce((n, a) => {
|
|
5391
|
+
const [o, i] = a;
|
|
5392
|
+
return [...n, { type: o, count: i }];
|
|
5392
5393
|
}, []), this.hoveredEvent = t, this.isHoveringEvent = !0, this.$emit("event-mouseover", {
|
|
5393
5394
|
eventData: t,
|
|
5394
5395
|
eventType: r,
|
|
@@ -5430,8 +5431,8 @@ const It = {
|
|
|
5430
5431
|
scale: r,
|
|
5431
5432
|
translation: e.transform.x - this.lastTransform.x
|
|
5432
5433
|
}, this.lastTransform = { ...e.transform };
|
|
5433
|
-
for (const
|
|
5434
|
-
this.rescaleAxis(
|
|
5434
|
+
for (const n in this.xAxes)
|
|
5435
|
+
this.rescaleAxis(n, t), this.translateTicksText(n);
|
|
5435
5436
|
this.updateBarCharts(), this.updateLineGraphs(), this.updateLineGraphHoverZones(), this.repositionSelectedTimestampCursor(), this.emitVisibleInterval(), this.emitCurtainChange();
|
|
5436
5437
|
},
|
|
5437
5438
|
emitCurtainChange() {
|
|
@@ -5442,12 +5443,12 @@ const It = {
|
|
|
5442
5443
|
});
|
|
5443
5444
|
},
|
|
5444
5445
|
calculateDateRangeFromCurtains() {
|
|
5445
|
-
const e = this.timeline.offsetWidth, t = this.timeScale.domain(), r = t[1].getTime() - t[0].getTime(),
|
|
5446
|
-
return { startDate: o, endDate:
|
|
5446
|
+
const e = this.timeline.offsetWidth, t = this.timeScale.domain(), r = t[1].getTime() - t[0].getTime(), n = (this.leftCurtainWidth - this.curtainHandleWidth * 2) / e * r, a = (this.rightCurtainWidth + this.curtainHandleWidth * 2) / e * r, o = new Date(t[0].getTime() + n), i = new Date(t[1].getTime() - a);
|
|
5447
|
+
return { startDate: o, endDate: i };
|
|
5447
5448
|
},
|
|
5448
5449
|
updateCurtainsOnResize(e) {
|
|
5449
|
-
const { startDate: t, endDate: r } = this.calculateDateRangeFromCurtains(),
|
|
5450
|
-
this.leftCurtainWidth = o / a * e, this.rightCurtainWidth =
|
|
5450
|
+
const { startDate: t, endDate: r } = this.calculateDateRangeFromCurtains(), n = this.timeScale.domain(), a = n[1].getTime() - n[0].getTime(), o = t.getTime() - n[0].getTime(), i = n[1].getTime() - r.getTime();
|
|
5451
|
+
this.leftCurtainWidth = o / a * e, this.rightCurtainWidth = i / a * e, this.svg.select(`.${w.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${w.curtain}--right`).attr(
|
|
5451
5452
|
"x",
|
|
5452
5453
|
e - this.rightCurtainWidth + this.curtainHandleWidth * 2
|
|
5453
5454
|
).attr("width", this.rightCurtainWidth);
|
|
@@ -5471,21 +5472,21 @@ const It = {
|
|
|
5471
5472
|
const t = this.timeline.offsetWidth, r = Math.min(
|
|
5472
5473
|
this.timeline.offsetWidth - e.x,
|
|
5473
5474
|
this.timeline.offsetWidth - this.leftCurtainWidth
|
|
5474
|
-
),
|
|
5475
|
-
this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${w.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x",
|
|
5475
|
+
), n = t - r;
|
|
5476
|
+
this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${w.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
|
|
5476
5477
|
},
|
|
5477
5478
|
zoomToStartAndEndDates() {
|
|
5478
|
-
const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, t = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, r = this.tzStringToDate(e),
|
|
5479
|
-
this.timeScale = u.scaleTime().domain(o).range(
|
|
5479
|
+
const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, t = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, r = this.tzStringToDate(e), n = this.tzStringToDate(t), a = this.timeline.offsetWidth, o = [r, n], i = [0, a];
|
|
5480
|
+
this.timeScale = u.scaleTime().domain(o).range(i), this.initialTimeScale = this.timeScale.copy(), this.updateCurrentTimeScaleDensity();
|
|
5480
5481
|
for (const c in this.xAxes)
|
|
5481
5482
|
this.rescaleAxis(c, this.timeScale), this.translateTicksText(c);
|
|
5482
5483
|
this.updateBarCharts(), this.updateLineGraphs(), this.updateLineGraphHoverZones(), this.repositionSelectedTimestampCursor();
|
|
5483
5484
|
},
|
|
5484
5485
|
rescaleAxis(e, t) {
|
|
5485
|
-
const r = this.xAxes[e],
|
|
5486
|
+
const r = this.xAxes[e], n = this.getAxisTicksConfig(
|
|
5486
5487
|
this.xAxesConfig[e]
|
|
5487
5488
|
);
|
|
5488
|
-
r.scale(t).ticks(
|
|
5489
|
+
r.scale(t).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${w.xAxis}-${e}`).call(r);
|
|
5489
5490
|
},
|
|
5490
5491
|
translateTicksText(e) {
|
|
5491
5492
|
this.svg.select(`.${w.xAxis}-${e}`).selectAll(".tick text").each(function() {
|
|
@@ -5515,8 +5516,8 @@ const It = {
|
|
|
5515
5516
|
}), this.svg.selectAll(
|
|
5516
5517
|
`.${w.lineGraphHoverZone}-${e}`
|
|
5517
5518
|
).each(function(r) {
|
|
5518
|
-
const
|
|
5519
|
-
u.select(this).attr("x",
|
|
5519
|
+
const n = t.timeScale(t.tzStringToDate(r.timestamp).getTime()) - 15;
|
|
5520
|
+
u.select(this).attr("x", n).attr("y", 0).attr("width", 30).attr("height", t.lineGraphChartHeight);
|
|
5520
5521
|
});
|
|
5521
5522
|
});
|
|
5522
5523
|
},
|
|
@@ -5527,8 +5528,8 @@ const It = {
|
|
|
5527
5528
|
if (!e)
|
|
5528
5529
|
return 0;
|
|
5529
5530
|
if (e.startDate && e.endDate) {
|
|
5530
|
-
const t = new Date(e.startDate), r = new Date(e.endDate),
|
|
5531
|
-
return Math.max(
|
|
5531
|
+
const t = new Date(e.startDate), r = new Date(e.endDate), n = this.timeScale(r) - this.timeScale(t);
|
|
5532
|
+
return Math.max(n, this.rectMinWidth);
|
|
5532
5533
|
} else {
|
|
5533
5534
|
const t = 1 / (this.currentTimeScaleDensity * 3600);
|
|
5534
5535
|
return Math.max(t, this.rectMinWidth);
|
|
@@ -5552,29 +5553,29 @@ const It = {
|
|
|
5552
5553
|
},
|
|
5553
5554
|
drawLineGraphEventsGroups() {
|
|
5554
5555
|
const e = this.combinedXAxesHeight, t = this.normalizeEvents ? this.normalizedLineGraphGroups : this.lineGraphGroups;
|
|
5555
|
-
Object.entries(t).forEach(([r,
|
|
5556
|
+
Object.entries(t).forEach(([r, n]) => {
|
|
5556
5557
|
const a = this.svg.append("g").classed(
|
|
5557
5558
|
`${w.lineGraphGroup} ${w.lineGraphGroup}-${r}`,
|
|
5558
5559
|
!0
|
|
5559
|
-
).attr("transform", `translate(0,${e})`), { color: o, events:
|
|
5560
|
+
).attr("transform", `translate(0,${e})`), { color: o, events: i } = n;
|
|
5560
5561
|
this.drawLineGraph({
|
|
5561
|
-
events:
|
|
5562
|
+
events: i,
|
|
5562
5563
|
gElement: a,
|
|
5563
5564
|
color: o,
|
|
5564
5565
|
type: r
|
|
5565
5566
|
}), this.drawLineGraphHoverZones({
|
|
5566
|
-
events:
|
|
5567
|
+
events: i,
|
|
5567
5568
|
gElement: a,
|
|
5568
5569
|
color: o,
|
|
5569
5570
|
type: r
|
|
5570
5571
|
});
|
|
5571
5572
|
}), Object.entries(this.lineGraphGroups).forEach(
|
|
5572
|
-
([r,
|
|
5573
|
-
const { color: o, isLoading:
|
|
5573
|
+
([r, n], a) => {
|
|
5574
|
+
const { color: o, isLoading: i, label: c } = n, l = this.lineGraphChartHeight - this.barChartHeight * (a + 1), s = e + this.lineGraphChartHeight - this.barChartHeight, d = this.svg.append("g").classed(`${w.lineGraphGroup}-label`, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
|
|
5574
5575
|
this.drawProgressIndicator({
|
|
5575
5576
|
type: r,
|
|
5576
5577
|
color: o,
|
|
5577
|
-
isLoading:
|
|
5578
|
+
isLoading: i,
|
|
5578
5579
|
yPosition: s
|
|
5579
5580
|
}), this.drawTextLabel({
|
|
5580
5581
|
color: o,
|
|
@@ -5589,32 +5590,32 @@ const It = {
|
|
|
5589
5590
|
events: e,
|
|
5590
5591
|
gElement: t,
|
|
5591
5592
|
color: r,
|
|
5592
|
-
type:
|
|
5593
|
+
type: n
|
|
5593
5594
|
}) {
|
|
5594
5595
|
const a = u.area().x((o) => this.timeScale(this.tzStringToDate(o.timestamp))).y0(this.timelineHeight).y1((o) => this.yScale(o.count)).curve(u.curveMonotoneX);
|
|
5595
|
-
t.append("path").datum(e).classed(`${w.lineGraphPath}-${
|
|
5596
|
+
t.append("path").datum(e).classed(`${w.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Q.areaGradient}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (o) => a(o));
|
|
5596
5597
|
},
|
|
5597
5598
|
drawLineGraphHoverZones({
|
|
5598
5599
|
events: e,
|
|
5599
5600
|
gElement: t,
|
|
5600
5601
|
color: r,
|
|
5601
|
-
type:
|
|
5602
|
+
type: n
|
|
5602
5603
|
}) {
|
|
5603
5604
|
e.forEach((a) => {
|
|
5604
5605
|
const o = `${a.timestamp}`;
|
|
5605
5606
|
this.countsByTimestamp[o] = {
|
|
5606
5607
|
...this.countsByTimestamp[o] || {},
|
|
5607
|
-
[
|
|
5608
|
+
[n]: a.count
|
|
5608
5609
|
};
|
|
5609
|
-
const
|
|
5610
|
-
`${w.lineGraphDot} ${w.lineGraphDot}-${
|
|
5610
|
+
const i = t.append("circle").classed(
|
|
5611
|
+
`${w.lineGraphDot} ${w.lineGraphDot}-${n}`,
|
|
5611
5612
|
!0
|
|
5612
5613
|
).attr("cx", this.timeScale(this.tzStringToDate(a.timestamp))).attr("cy", this.yScale(a.count)).attr("r", 1.5).attr("fill", r).attr("stroke-width", 0).datum(a);
|
|
5613
5614
|
this.dotsByTimestamp[o] = [
|
|
5614
5615
|
...this.dotsByTimestamp[o] || [],
|
|
5615
|
-
|
|
5616
|
-
], t.append("rect").classed(`${w.lineGraphHoverZone}-${
|
|
5617
|
-
this.handleLineMouseOver(c, a,
|
|
5616
|
+
i
|
|
5617
|
+
], t.append("rect").classed(`${w.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(a.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.lineGraphChartHeight).attr("fill", "transparent").datum(a).on("mouseover", (c) => {
|
|
5618
|
+
this.handleLineMouseOver(c, a, n), this.dotsByTimestamp[o].forEach(
|
|
5618
5619
|
(l) => l.classed(`${w.lineGraphDot}--active`, !0)
|
|
5619
5620
|
);
|
|
5620
5621
|
}).on("mouseout", () => {
|
|
@@ -5626,26 +5627,26 @@ const It = {
|
|
|
5626
5627
|
},
|
|
5627
5628
|
drawBarEventsGroups() {
|
|
5628
5629
|
Object.entries(this.barGroups).forEach(([e, t], r) => {
|
|
5629
|
-
const { color:
|
|
5630
|
+
const { color: n, label: a, events: o, isLoading: i } = t, c = r === 0 ? 0 : this.eventGroupPadding, l = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, s = r * (this.barChartHeight + c) + this.combinedXAxesHeight + l;
|
|
5630
5631
|
this.drawProgressIndicator({
|
|
5631
5632
|
yPosition: s,
|
|
5632
5633
|
type: e,
|
|
5633
|
-
color:
|
|
5634
|
-
isLoading:
|
|
5634
|
+
color: n,
|
|
5635
|
+
isLoading: i
|
|
5635
5636
|
});
|
|
5636
|
-
const d = this.svg.append("g").attr("data-color",
|
|
5637
|
+
const d = this.svg.append("g").attr("data-color", n).classed(w.eventGroup, !0).classed(`${w.eventGroup}-${e}`, !0);
|
|
5637
5638
|
this.drawBackground({
|
|
5638
|
-
color:
|
|
5639
|
+
color: n,
|
|
5639
5640
|
gElement: d,
|
|
5640
5641
|
yPosition: s
|
|
5641
5642
|
}), this.drawBars({
|
|
5642
5643
|
events: o,
|
|
5643
|
-
color:
|
|
5644
|
+
color: n,
|
|
5644
5645
|
gElement: d,
|
|
5645
5646
|
yPosition: s,
|
|
5646
5647
|
type: e
|
|
5647
5648
|
}), this.drawTextLabel({
|
|
5648
|
-
color:
|
|
5649
|
+
color: n,
|
|
5649
5650
|
label: a,
|
|
5650
5651
|
gElement: d,
|
|
5651
5652
|
yPosition: s
|
|
@@ -5673,12 +5674,12 @@ const It = {
|
|
|
5673
5674
|
events: e,
|
|
5674
5675
|
gElement: t,
|
|
5675
5676
|
yPosition: r,
|
|
5676
|
-
color:
|
|
5677
|
+
color: n,
|
|
5677
5678
|
type: a
|
|
5678
5679
|
}) {
|
|
5679
5680
|
const o = this;
|
|
5680
|
-
t.selectAll(w.eventRect).data(e).enter().append("rect").classed(w.eventRect, !0).attr("x", this.getEventRectX).attr("y", r).attr("ry", 1.5).attr("rx", 1.5).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").style("fill", i).on("mouseover", function(
|
|
5681
|
-
u.select(this).classed(`${w.eventRect}--hovered`, !0), o.handleBarMouseOver(
|
|
5681
|
+
t.selectAll(w.eventRect).data(e).enter().append("rect").classed(w.eventRect, !0).attr("x", this.getEventRectX).attr("y", r).attr("ry", 1.5).attr("rx", 1.5).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").style("fill", (i) => i.color || n).on("mouseover", function(i, c) {
|
|
5682
|
+
u.select(this).classed(`${w.eventRect}--hovered`, !0), o.handleBarMouseOver(i, c, a);
|
|
5682
5683
|
}).on("mouseout", function() {
|
|
5683
5684
|
u.select(this).classed(`${w.eventRect}--hovered`, !1), o.handleBarMouseOut();
|
|
5684
5685
|
});
|
|
@@ -5687,7 +5688,7 @@ const It = {
|
|
|
5687
5688
|
gElement: e,
|
|
5688
5689
|
yPosition: t,
|
|
5689
5690
|
color: r,
|
|
5690
|
-
label:
|
|
5691
|
+
label: n
|
|
5691
5692
|
}) {
|
|
5692
5693
|
if (!this.showLabels)
|
|
5693
5694
|
return;
|
|
@@ -5698,7 +5699,7 @@ const It = {
|
|
|
5698
5699
|
h: this.barChartHeight,
|
|
5699
5700
|
radius: 3
|
|
5700
5701
|
};
|
|
5701
|
-
e.append("rect").attr("class", w.labelBg).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.dark ? "#131a29" : "white"), e.append("rect").attr("class", w.labelBgFill).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), e.append("text").attr("class", w.labelText).attr("data-color", r).attr("x", 5).attr("y", t + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 500).style("stroke-linejoin", "round").style("paint-order", "stroke").style("fill", this.getTextFillColor(r)).text(
|
|
5702
|
+
e.append("rect").attr("class", w.labelBg).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.dark ? "#131a29" : "white"), e.append("rect").attr("class", w.labelBgFill).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), e.append("text").attr("class", w.labelText).attr("data-color", r).attr("x", 5).attr("y", t + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 500).style("stroke-linejoin", "round").style("paint-order", "stroke").style("fill", this.getTextFillColor(r)).text(n);
|
|
5702
5703
|
},
|
|
5703
5704
|
getTextFillColor(e) {
|
|
5704
5705
|
var t, r;
|
|
@@ -5725,42 +5726,42 @@ const It = {
|
|
|
5725
5726
|
fillTimeGaps(e) {
|
|
5726
5727
|
if (e.length <= 1)
|
|
5727
5728
|
return e;
|
|
5728
|
-
const t = (
|
|
5729
|
-
(
|
|
5729
|
+
const t = (i) => new Date(i), r = (i) => t(i).getTime(), n = (i, c) => new Date(i.getTime() + c), a = e.map(
|
|
5730
|
+
(i, c) => c === 0 ? 1 / 0 : r(i.timestamp) - r(e[c - 1].timestamp)
|
|
5730
5731
|
).reduce(
|
|
5731
|
-
(
|
|
5732
|
+
(i, c) => Math.min(i, c),
|
|
5732
5733
|
1 / 0
|
|
5733
5734
|
);
|
|
5734
5735
|
let o = e.flatMap(
|
|
5735
|
-
(
|
|
5736
|
+
(i, c) => {
|
|
5736
5737
|
const l = e[c + 1];
|
|
5737
5738
|
if (!l)
|
|
5738
5739
|
if (this.flattenLineGraphEnds) {
|
|
5739
|
-
const v =
|
|
5740
|
-
t(
|
|
5740
|
+
const v = n(
|
|
5741
|
+
t(i.timestamp),
|
|
5741
5742
|
a
|
|
5742
5743
|
);
|
|
5743
5744
|
return [
|
|
5744
|
-
|
|
5745
|
+
i,
|
|
5745
5746
|
{ timestamp: v.toISOString(), count: 0 }
|
|
5746
5747
|
];
|
|
5747
5748
|
} else
|
|
5748
|
-
return [
|
|
5749
|
-
const s = t(
|
|
5749
|
+
return [i];
|
|
5750
|
+
const s = t(i.timestamp), d = t(l.timestamp);
|
|
5750
5751
|
if (d.getTime() - s.getTime() > a) {
|
|
5751
|
-
const v =
|
|
5752
|
+
const v = n(d, -a), h = n(s, a);
|
|
5752
5753
|
return [
|
|
5753
|
-
|
|
5754
|
+
i,
|
|
5754
5755
|
{ timestamp: h.toISOString(), count: 0 },
|
|
5755
5756
|
{ timestamp: v.toISOString(), count: 0 },
|
|
5756
5757
|
l
|
|
5757
5758
|
];
|
|
5758
5759
|
} else
|
|
5759
|
-
return [
|
|
5760
|
+
return [i, l];
|
|
5760
5761
|
}
|
|
5761
5762
|
);
|
|
5762
5763
|
return this.flattenLineGraphEnds && (o = [
|
|
5763
|
-
{ timestamp:
|
|
5764
|
+
{ timestamp: n(
|
|
5764
5765
|
t(e[0].timestamp),
|
|
5765
5766
|
-a
|
|
5766
5767
|
).toISOString(), count: 0 },
|
|
@@ -5769,7 +5770,7 @@ const It = {
|
|
|
5769
5770
|
},
|
|
5770
5771
|
getNormalizedEvents(e) {
|
|
5771
5772
|
return this.placeholderLineChartGroup.map((t) => e.find(
|
|
5772
|
-
(
|
|
5773
|
+
(n) => n.timestamp === t.timestamp
|
|
5773
5774
|
) || t);
|
|
5774
5775
|
}
|
|
5775
5776
|
}
|
|
@@ -5783,9 +5784,9 @@ var Xt = function() {
|
|
|
5783
5784
|
!isInteractingWithCurtain &&
|
|
5784
5785
|
!cursorTimestamp
|
|
5785
5786
|
` }], staticClass: "e-timeline__tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.tooltipSlot }, [t._v(" " + t._s(t.hoveredTimestamp) + " ")])];
|
|
5786
|
-
}, { timestamp: t.hoveredTimestamp, active: t.isHoveringTimeline && !t.isInteractingWithCurtain && !t.cursorTimestamp })], 2), r("div", { ref: "eventPreviewTooltip", staticClass: "e-absolute", style: t.eventTooltipStyle }, [t._t("eventTooltip", function() {
|
|
5787
|
-
return [t.showEventTooltip && (t.hoveredEvent || t.hoveredCounts.length) ? r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringEvent && !t.isInteractingWithCurtain, expression: "isHoveringEvent && !isInteractingWithCurtain" }], staticClass: "e-timeline__event-tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.eventTooltipSlot }, [t.hoveredCounts.length ? r("div", [r("strong", [t._v("Timestamp")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " "), t._l(t.hoveredCounts, function(
|
|
5788
|
-
return r("div", { key: a }, [r("strong", [t._v(t._s(
|
|
5787
|
+
}, { timestamp: t.hoveredTimestamp, active: t.isHoveringTimeline && !t.isInteractingWithCurtain && !t.cursorTimestamp })], 2), r("div", { ref: "eventPreviewTooltip", staticClass: "e-absolute e-z-50", style: t.eventTooltipStyle }, [t._t("eventTooltip", function() {
|
|
5788
|
+
return [t.showEventTooltip && (t.hoveredEvent || t.hoveredCounts.length) ? r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringEvent && !t.isInteractingWithCurtain, expression: "isHoveringEvent && !isInteractingWithCurtain" }], staticClass: "e-timeline__event-tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.eventTooltipSlot }, [t.hoveredCounts.length ? r("div", [r("strong", [t._v("Timestamp")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " "), t._l(t.hoveredCounts, function(n, a) {
|
|
5789
|
+
return r("div", { key: a }, [r("strong", [t._v(t._s(n.type) + " Count")]), t._v(": " + t._s(n.count) + " ")]);
|
|
5789
5790
|
})], 2) : t.hoveredEvent ? r("div", [t.hoveredEvent.timestamp ? r("div", [r("strong", [t._v("Event time")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " ")]) : t._e(), t.hoveredEvent.startDate ? r("div", [r("strong", [t._v("From")]), t._v(":" + t._s(t.hoveredEvent.startDate) + " ")]) : t._e(), t.hoveredEvent.endDate ? r("div", [r("strong", [t._v("To")]), t._v(":" + t._s(t.hoveredEvent.endDate) + " ")]) : t._e()]) : t._e()]) : t._e()];
|
|
5790
5791
|
}, { event: t.hoveredEvent, counts: t.hoveredCounts, active: t.isHoveringEvent && !t.isInteractingWithCurtain, type: t.hoveredEventType })], 2)]);
|
|
5791
5792
|
}, Yt = [], Zt = /* @__PURE__ */ I(
|
|
@@ -5822,7 +5823,10 @@ const Kt = Zt.exports, Jt = {
|
|
|
5822
5823
|
computed: {
|
|
5823
5824
|
videoId() {
|
|
5824
5825
|
if (this.platform === "youtube") {
|
|
5825
|
-
const e =
|
|
5826
|
+
const e = (
|
|
5827
|
+
// eslint-disable-next-line no-useless-escape
|
|
5828
|
+
/^.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#\&\?]*).*/
|
|
5829
|
+
), t = this.videoUrl.match(e);
|
|
5826
5830
|
return t && t[1].length === 11 ? t[1] : void 0;
|
|
5827
5831
|
} else if (this.platform === "vimeo") {
|
|
5828
5832
|
const e = this.videoUrl.match(/vimeo\.com\/(\d+)/);
|
|
@@ -5858,7 +5862,7 @@ var Qt = function() {
|
|
|
5858
5862
|
er,
|
|
5859
5863
|
!1,
|
|
5860
5864
|
null,
|
|
5861
|
-
"
|
|
5865
|
+
"58e374b8",
|
|
5862
5866
|
null,
|
|
5863
5867
|
null
|
|
5864
5868
|
);
|