@evercam/ui 0.0.45-beta.3 → 0.0.45-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +406 -338
- 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/EVideoEmbed.vue.d.ts +45 -0
- package/dist/src/index.d.ts +45 -1
- package/dist/style.css +1 -1
- package/dist/web-types.json +11 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import q from "vue";
|
|
2
2
|
import * as u from "d3";
|
|
3
3
|
import K from "moment-timezone";
|
|
4
4
|
var T = /* @__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))(T || {}), 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 || {}), ee = /* @__PURE__ */ ((e) => (e.overview = "overview", e.detailed = "detailed", e.detailedBackground = "detailedBackground", e))(ee || {});
|
|
5
|
-
const et =
|
|
5
|
+
const et = q.extend({
|
|
6
6
|
name: "EBadge",
|
|
7
7
|
props: {
|
|
8
8
|
text: {
|
|
@@ -52,14 +52,14 @@ const et = V.extend({
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
function
|
|
55
|
+
function I(e, t, r, i, a, o, n, 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), i && (l.functional = !0), o && (l._scopeId = "data-v-" + o);
|
|
58
58
|
var s;
|
|
59
|
-
if (
|
|
59
|
+
if (n ? (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(n);
|
|
63
63
|
}, l._ssrRegister = s) : a && (s = c ? function() {
|
|
64
64
|
a.call(
|
|
65
65
|
this,
|
|
@@ -84,7 +84,7 @@ function q(e, t, r, n, a, o, i, c) {
|
|
|
84
84
|
var tt = function() {
|
|
85
85
|
var t = this, r = t._self._c;
|
|
86
86
|
return r("span", { staticClass: "e-badge", class: t.badgeClasses }, [t.showText ? r("span", [t._v(t._s(t.text))]) : t._e()]);
|
|
87
|
-
}, rt = [],
|
|
87
|
+
}, rt = [], it = /* @__PURE__ */ I(
|
|
88
88
|
et,
|
|
89
89
|
tt,
|
|
90
90
|
rt,
|
|
@@ -94,10 +94,10 @@ var tt = function() {
|
|
|
94
94
|
null,
|
|
95
95
|
null
|
|
96
96
|
);
|
|
97
|
-
const
|
|
97
|
+
const Fe = it.exports, nt = q.extend({
|
|
98
98
|
name: "EAvatar",
|
|
99
99
|
components: {
|
|
100
|
-
Badge:
|
|
100
|
+
Badge: Fe
|
|
101
101
|
},
|
|
102
102
|
props: {
|
|
103
103
|
size: {
|
|
@@ -153,8 +153,8 @@ var st = function() {
|
|
|
153
153
|
}), t.showBadge ? r("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [t._t("badge", function() {
|
|
154
154
|
return [r("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
|
|
155
155
|
})], 2) : t._e()], 2);
|
|
156
|
-
}, at = [], ot = /* @__PURE__ */
|
|
157
|
-
|
|
156
|
+
}, at = [], ot = /* @__PURE__ */ I(
|
|
157
|
+
nt,
|
|
158
158
|
st,
|
|
159
159
|
at,
|
|
160
160
|
!1,
|
|
@@ -167,7 +167,7 @@ const lt = ot.exports;
|
|
|
167
167
|
function ut(e) {
|
|
168
168
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Ae = {}, Me = {}, fe = {};
|
|
171
171
|
(function(e) {
|
|
172
172
|
Object.defineProperty(e, "__esModule", {
|
|
173
173
|
value: !0
|
|
@@ -182,14 +182,14 @@ var Fe = {}, 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 i = [
|
|
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 i)
|
|
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, i) {
|
|
396
|
+
return r === void 0 ? i : Array.isArray(r) ? r : [
|
|
397
|
+
...new Set(i.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 n;
|
|
421
421
|
},
|
|
422
422
|
default: function() {
|
|
423
423
|
return c;
|
|
424
424
|
}
|
|
425
425
|
});
|
|
426
|
-
const r = /* @__PURE__ */
|
|
427
|
-
function
|
|
426
|
+
const r = /* @__PURE__ */ i(Ge);
|
|
427
|
+
function i(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 n(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 i({ version: o, from: n, to: c }) {
|
|
482
|
+
t.default.warn(`${n}-color-renamed`, [
|
|
483
|
+
`As of Tailwind CSS ${o}, \`${n}\` 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 i({
|
|
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 i({
|
|
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 i({
|
|
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 i({
|
|
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 i({
|
|
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, ...i) {
|
|
827
|
+
for (let n of i) {
|
|
828
|
+
for (let c in n) {
|
|
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] = n[c]);
|
|
831
831
|
}
|
|
832
|
-
for (let c of Object.getOwnPropertySymbols(
|
|
832
|
+
for (let c of Object.getOwnPropertySymbols(n)) {
|
|
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] = n[c]);
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
837
|
return r;
|
|
@@ -850,13 +850,13 @@ var je = {};
|
|
|
850
850
|
function t(r) {
|
|
851
851
|
if (Array.isArray(r))
|
|
852
852
|
return r;
|
|
853
|
-
let
|
|
854
|
-
if (
|
|
853
|
+
let i = r.split("[").length - 1, a = r.split("]").length - 1;
|
|
854
|
+
if (i !== a)
|
|
855
855
|
throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
|
|
856
856
|
return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
857
857
|
}
|
|
858
858
|
})(je);
|
|
859
|
-
var Be = {},
|
|
859
|
+
var Be = {}, ie = {};
|
|
860
860
|
(function(e) {
|
|
861
861
|
Object.defineProperty(e, "__esModule", {
|
|
862
862
|
value: !0
|
|
@@ -879,7 +879,7 @@ var Be = {}, ne = {};
|
|
|
879
879
|
return d;
|
|
880
880
|
}
|
|
881
881
|
});
|
|
882
|
-
const r = /* @__PURE__ */ a(Ge),
|
|
882
|
+
const r = /* @__PURE__ */ a(Ge), i = /* @__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 = {}, ne = {};
|
|
|
894
894
|
get relativeContentPathsByDefault() {
|
|
895
895
|
return !1;
|
|
896
896
|
}
|
|
897
|
-
},
|
|
897
|
+
}, n = {
|
|
898
898
|
future: [
|
|
899
899
|
"hoverOnlyWhenSupported",
|
|
900
900
|
"respectDefaultRingColorOpacity",
|
|
@@ -907,33 +907,33 @@ var Be = {}, ne = {};
|
|
|
907
907
|
]
|
|
908
908
|
};
|
|
909
909
|
function c(v, h) {
|
|
910
|
-
if (
|
|
910
|
+
if (n.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 (
|
|
915
|
-
var
|
|
916
|
-
return v.experimental === "all" || ((L = (P = v == null || (
|
|
914
|
+
if (n.experimental.includes(h)) {
|
|
915
|
+
var F, P, L;
|
|
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
|
}
|
|
918
918
|
return !1;
|
|
919
919
|
}
|
|
920
920
|
function l(v) {
|
|
921
921
|
if (v.experimental === "all")
|
|
922
|
-
return
|
|
922
|
+
return n.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) => n.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
|
+
i.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 =
|
|
936
|
-
})(
|
|
935
|
+
const d = n;
|
|
936
|
+
})(ie);
|
|
937
937
|
(function(e) {
|
|
938
938
|
Object.defineProperty(e, "__esModule", {
|
|
939
939
|
value: !0
|
|
@@ -943,63 +943,63 @@ var Be = {}, ne = {};
|
|
|
943
943
|
return o;
|
|
944
944
|
}
|
|
945
945
|
});
|
|
946
|
-
const t =
|
|
947
|
-
function n
|
|
946
|
+
const t = ie, r = /* @__PURE__ */ a(re);
|
|
947
|
+
function i(n) {
|
|
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 (i = function(s) {
|
|
952
952
|
return s ? l : c;
|
|
953
|
-
})(
|
|
953
|
+
})(n);
|
|
954
954
|
}
|
|
955
|
-
function a(
|
|
956
|
-
if (!c &&
|
|
957
|
-
return
|
|
958
|
-
if (
|
|
955
|
+
function a(n, c) {
|
|
956
|
+
if (!c && n && n.__esModule)
|
|
957
|
+
return n;
|
|
958
|
+
if (n === null || typeof n != "object" && typeof n != "function")
|
|
959
959
|
return {
|
|
960
|
-
default:
|
|
960
|
+
default: n
|
|
961
961
|
};
|
|
962
|
-
var l =
|
|
963
|
-
if (l && l.has(
|
|
964
|
-
return l.get(
|
|
962
|
+
var l = i(c);
|
|
963
|
+
if (l && l.has(n))
|
|
964
|
+
return l.get(n);
|
|
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 n)
|
|
967
|
+
if (v !== "default" && Object.prototype.hasOwnProperty.call(n, v)) {
|
|
968
|
+
var h = d ? Object.getOwnPropertyDescriptor(n, v) : null;
|
|
969
|
+
h && (h.get || h.set) ? Object.defineProperty(s, v, h) : s[v] = n[v];
|
|
970
970
|
}
|
|
971
|
-
return s.default =
|
|
971
|
+
return s.default = n, l && l.set(n, s), s;
|
|
972
972
|
}
|
|
973
|
-
function o(
|
|
973
|
+
function o(n) {
|
|
974
974
|
if ((() => {
|
|
975
|
-
if (
|
|
975
|
+
if (n.purge || !n.content || !Array.isArray(n.content) && !(typeof n.content == "object" && n.content !== null))
|
|
976
976
|
return !1;
|
|
977
|
-
if (Array.isArray(
|
|
978
|
-
return
|
|
979
|
-
if (typeof
|
|
980
|
-
if (Object.keys(
|
|
977
|
+
if (Array.isArray(n.content))
|
|
978
|
+
return n.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 n.content == "object" && n.content !== null) {
|
|
980
|
+
if (Object.keys(n.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(n.content.files)) {
|
|
988
|
+
if (!n.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 n.content.extract == "object") {
|
|
991
|
+
for (let s of Object.values(n.content.extract))
|
|
992
992
|
if (typeof s != "function")
|
|
993
993
|
return !1;
|
|
994
|
-
} else if (!(
|
|
994
|
+
} else if (!(n.content.extract === void 0 || typeof n.content.extract == "function"))
|
|
995
995
|
return !1;
|
|
996
|
-
if (typeof
|
|
997
|
-
for (let s of Object.values(
|
|
996
|
+
if (typeof n.content.transform == "object") {
|
|
997
|
+
for (let s of Object.values(n.content.transform))
|
|
998
998
|
if (typeof s != "function")
|
|
999
999
|
return !1;
|
|
1000
|
-
} else if (!(
|
|
1000
|
+
} else if (!(n.content.transform === void 0 || typeof n.content.transform == "function"))
|
|
1001
1001
|
return !1;
|
|
1002
|
-
if (typeof
|
|
1002
|
+
if (typeof n.content.relative != "boolean" && typeof n.content.relative != "undefined")
|
|
1003
1003
|
return !1;
|
|
1004
1004
|
}
|
|
1005
1005
|
return !0;
|
|
@@ -1009,12 +1009,12 @@ var Be = {}, ne = {};
|
|
|
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
|
+
]), n.safelist = (() => {
|
|
1013
1013
|
var s;
|
|
1014
|
-
let { content: d, purge: v, safelist: h } =
|
|
1014
|
+
let { content: d, purge: v, safelist: h } = n;
|
|
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
|
+
})(), n.blocklist = (() => {
|
|
1017
|
+
let { blocklist: s } = n;
|
|
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 = {}, ne = {};
|
|
|
1024
1024
|
]);
|
|
1025
1025
|
}
|
|
1026
1026
|
return [];
|
|
1027
|
-
})(), typeof
|
|
1027
|
+
})(), typeof n.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
|
+
]), n.prefix = "";
|
|
1033
1033
|
else {
|
|
1034
1034
|
var l;
|
|
1035
|
-
|
|
1035
|
+
n.prefix = (l = n.prefix) !== null && l !== void 0 ? l : "";
|
|
1036
1036
|
}
|
|
1037
|
-
|
|
1037
|
+
n.content = {
|
|
1038
1038
|
relative: (() => {
|
|
1039
|
-
let { content: s } =
|
|
1040
|
-
return s != null && s.relative ? s.relative : (0, t.flagEnabled)(
|
|
1039
|
+
let { content: s } = n;
|
|
1040
|
+
return s != null && s.relative ? s.relative : (0, t.flagEnabled)(n, "relativeContentPathsByDefault");
|
|
1041
1041
|
})(),
|
|
1042
1042
|
files: (() => {
|
|
1043
|
-
let { content: s, purge: d } =
|
|
1043
|
+
let { content: s, purge: d } = n;
|
|
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
|
-
var h, E, y, k,
|
|
1049
|
-
return !((h =
|
|
1048
|
+
var h, E, y, k, F, P, L, M, G, H;
|
|
1049
|
+
return !((h = n.purge) === null || h === void 0) && h.extract ? n.purge.extract : !((E = n.content) === null || E === void 0) && E.extract ? n.content.extract : !((y = n.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? n.purge.extract.DEFAULT : !((F = n.content) === null || F === void 0 || (P = F.extract) === null || P === void 0) && P.DEFAULT ? n.content.extract.DEFAULT : !((L = n.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? n.purge.options.extractors : !((G = n.content) === null || G === void 0 || (H = G.options) === null || H === void 0) && H.extractors ? n.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 = n.purge) === null || h === void 0 || (E = h.options) === null || E === void 0) && E.defaultExtractor)
|
|
1053
|
+
return n.purge.options.defaultExtractor;
|
|
1054
|
+
if (!((y = n.content) === null || y === void 0 || (k = y.options) === null || k === void 0) && k.defaultExtractor)
|
|
1055
|
+
return n.content.options.defaultExtractor;
|
|
1056
1056
|
})();
|
|
1057
1057
|
if (v !== void 0 && (d.DEFAULT = v), typeof s == "function")
|
|
1058
1058
|
d.DEFAULT = s;
|
|
@@ -1066,13 +1066,13 @@ var Be = {}, ne = {};
|
|
|
1066
1066
|
})(),
|
|
1067
1067
|
transform: (() => {
|
|
1068
1068
|
let s = (() => {
|
|
1069
|
-
var v, h, E, y, k,
|
|
1070
|
-
return !((v =
|
|
1069
|
+
var v, h, E, y, k, F;
|
|
1070
|
+
return !((v = n.purge) === null || v === void 0) && v.transform ? n.purge.transform : !((h = n.content) === null || h === void 0) && h.transform ? n.content.transform : !((E = n.purge) === null || E === void 0 || (y = E.transform) === null || y === void 0) && y.DEFAULT ? n.purge.transform.DEFAULT : !((k = n.content) === null || k === void 0 || (F = k.transform) === null || F === void 0) && F.DEFAULT ? n.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 n.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 = {}, ne = {};
|
|
|
1080
1080
|
]);
|
|
1081
1081
|
break;
|
|
1082
1082
|
}
|
|
1083
|
-
return
|
|
1083
|
+
return n;
|
|
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 i = Object.getPrototypeOf(r);
|
|
1100
|
+
return i === null || i === 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((i) => t(i)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([i, a]) => [
|
|
1115
|
+
i,
|
|
1116
1116
|
t(a)
|
|
1117
1117
|
])) : r;
|
|
1118
1118
|
}
|
|
@@ -1889,10 +1889,10 @@ var pe = {}, ge = {}, Ie = {};
|
|
|
1889
1889
|
value: !0
|
|
1890
1890
|
});
|
|
1891
1891
|
function t(y, k) {
|
|
1892
|
-
for (var
|
|
1893
|
-
Object.defineProperty(y,
|
|
1892
|
+
for (var F in k)
|
|
1893
|
+
Object.defineProperty(y, F, {
|
|
1894
1894
|
enumerable: !0,
|
|
1895
|
-
get: k[
|
|
1895
|
+
get: k[F]
|
|
1896
1896
|
});
|
|
1897
1897
|
}
|
|
1898
1898
|
t(e, {
|
|
@@ -1903,15 +1903,15 @@ var pe = {}, ge = {}, Ie = {};
|
|
|
1903
1903
|
return E;
|
|
1904
1904
|
}
|
|
1905
1905
|
});
|
|
1906
|
-
const r = /* @__PURE__ */
|
|
1907
|
-
function
|
|
1906
|
+
const r = /* @__PURE__ */ i(Ie);
|
|
1907
|
+
function i(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, n = /(?:\d+|\d*\.\d+)%?/, c = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, s = /var\(--(?:[^ )]*?)\)/, d = new RegExp(`^(rgba?)\\(\\s*(${n.source}|${s.source})(?:${c.source}(${n.source}|${s.source}))?(?:${c.source}(${n.source}|${s.source}))?(?:${l.source}(${n.source}|${s.source}))?\\s*\\)$`), v = new RegExp(`^(hsla?)\\(\\s*((?:${n.source})(?:deg|rad|grad|turn)?|${s.source})(?:${c.source}(${n.source}|${s.source}))?(?:${c.source}(${n.source}|${s.source}))?(?:${l.source}(${n.source}|${s.source}))?\\s*\\)$`);
|
|
1913
1913
|
function h(y, { loose: k = !1 } = {}) {
|
|
1914
|
-
var
|
|
1914
|
+
var F, P;
|
|
1915
1915
|
if (typeof y != "string")
|
|
1916
1916
|
return null;
|
|
1917
1917
|
if (y = y.trim(), y === "transparent")
|
|
@@ -1967,49 +1967,49 @@ var pe = {}, ge = {}, Ie = {};
|
|
|
1967
1967
|
} : !k && H.length !== 3 || H.length < 3 && !H.some((W) => /^var\(.*?\)$/.test(W)) ? null : {
|
|
1968
1968
|
mode: G[1],
|
|
1969
1969
|
color: H,
|
|
1970
|
-
alpha: (
|
|
1970
|
+
alpha: (F = G[5]) === null || F === void 0 || (P = F.toString) === null || P === void 0 ? void 0 : P.call(F)
|
|
1971
1971
|
};
|
|
1972
1972
|
}
|
|
1973
|
-
function E({ mode: y, color: k, alpha:
|
|
1974
|
-
let P =
|
|
1975
|
-
return y === "rgba" || y === "hsla" ? `${y}(${k.join(", ")}${P ? `, ${
|
|
1973
|
+
function E({ mode: y, color: k, alpha: F }) {
|
|
1974
|
+
let P = F !== void 0;
|
|
1975
|
+
return y === "rgba" || y === "hsla" ? `${y}(${k.join(", ")}${P ? `, ${F}` : ""})` : `${y}(${k.join(" ")}${P ? ` / ${F}` : ""})`;
|
|
1976
1976
|
}
|
|
1977
1977
|
})(ge);
|
|
1978
1978
|
(function(e) {
|
|
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, n) {
|
|
1983
|
+
for (var c in n)
|
|
1984
1984
|
Object.defineProperty(o, c, {
|
|
1985
1985
|
enumerable: !0,
|
|
1986
|
-
get:
|
|
1986
|
+
get: n[c]
|
|
1987
1987
|
});
|
|
1988
1988
|
}
|
|
1989
1989
|
t(e, {
|
|
1990
1990
|
withAlphaValue: function() {
|
|
1991
|
-
return
|
|
1991
|
+
return i;
|
|
1992
1992
|
},
|
|
1993
1993
|
default: function() {
|
|
1994
1994
|
return a;
|
|
1995
1995
|
}
|
|
1996
1996
|
});
|
|
1997
1997
|
const r = ge;
|
|
1998
|
-
function
|
|
1998
|
+
function i(o, n, c) {
|
|
1999
1999
|
if (typeof o == "function")
|
|
2000
2000
|
return o({
|
|
2001
|
-
opacityValue:
|
|
2001
|
+
opacityValue: n
|
|
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: n
|
|
2009
2009
|
});
|
|
2010
2010
|
}
|
|
2011
|
-
function a({ color: o, property:
|
|
2012
|
-
let l = [].concat(
|
|
2011
|
+
function a({ color: o, property: n, variable: c }) {
|
|
2012
|
+
let l = [].concat(n);
|
|
2013
2013
|
if (typeof o == "function")
|
|
2014
2014
|
return {
|
|
2015
2015
|
[c]: "1",
|
|
@@ -2040,7 +2040,7 @@ var pe = {}, ge = {}, Ie = {};
|
|
|
2040
2040
|
};
|
|
2041
2041
|
}
|
|
2042
2042
|
})(pe);
|
|
2043
|
-
var ve = {}, Ve = {},
|
|
2043
|
+
var ve = {}, Ve = {}, ne = {};
|
|
2044
2044
|
(function(e) {
|
|
2045
2045
|
Object.defineProperty(e, "__esModule", {
|
|
2046
2046
|
value: !0
|
|
@@ -2050,15 +2050,15 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2050
2050
|
return t;
|
|
2051
2051
|
}
|
|
2052
2052
|
});
|
|
2053
|
-
function t(r,
|
|
2054
|
-
let a = [], o = [],
|
|
2053
|
+
function t(r, i) {
|
|
2054
|
+
let a = [], o = [], n = 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 === i[0] && !c && (i.length === 1 || r.slice(l, l + i.length) === i) && (o.push(r.slice(n, l)), n = l + i.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(n)), o;
|
|
2060
2060
|
}
|
|
2061
|
-
})(
|
|
2061
|
+
})(ne);
|
|
2062
2062
|
(function(e) {
|
|
2063
2063
|
Object.defineProperty(e, "__esModule", {
|
|
2064
2064
|
value: !0
|
|
@@ -2072,27 +2072,27 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2072
2072
|
}
|
|
2073
2073
|
t(e, {
|
|
2074
2074
|
parseBoxShadowValue: function() {
|
|
2075
|
-
return
|
|
2075
|
+
return n;
|
|
2076
2076
|
},
|
|
2077
2077
|
formatBoxShadowValue: function() {
|
|
2078
2078
|
return c;
|
|
2079
2079
|
}
|
|
2080
2080
|
});
|
|
2081
|
-
const r =
|
|
2082
|
-
let
|
|
2081
|
+
const r = ne;
|
|
2082
|
+
let i = /* @__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 n(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") && i.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
|
}
|
|
@@ -2112,10 +2112,10 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2112
2112
|
value: !0
|
|
2113
2113
|
});
|
|
2114
2114
|
function t(f, _) {
|
|
2115
|
-
for (var
|
|
2116
|
-
Object.defineProperty(f,
|
|
2115
|
+
for (var A in _)
|
|
2116
|
+
Object.defineProperty(f, A, {
|
|
2117
2117
|
enumerable: !0,
|
|
2118
|
-
get: _[
|
|
2118
|
+
get: _[A]
|
|
2119
2119
|
});
|
|
2120
2120
|
}
|
|
2121
2121
|
t(e, {
|
|
@@ -2132,7 +2132,7 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2132
2132
|
return E;
|
|
2133
2133
|
},
|
|
2134
2134
|
length: function() {
|
|
2135
|
-
return
|
|
2135
|
+
return F;
|
|
2136
2136
|
},
|
|
2137
2137
|
lineWidth: function() {
|
|
2138
2138
|
return L;
|
|
@@ -2165,34 +2165,34 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2165
2165
|
return $;
|
|
2166
2166
|
}
|
|
2167
2167
|
});
|
|
2168
|
-
const r = ge,
|
|
2168
|
+
const r = ge, i = 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 n(f) {
|
|
2176
2176
|
return o.some((_) => new RegExp(`^${_}\\(.*\\)`).test(f));
|
|
2177
2177
|
}
|
|
2178
2178
|
const c = "--tw-placeholder", l = new RegExp(c, "g");
|
|
2179
2179
|
function s(f, _ = !0) {
|
|
2180
|
-
return f.startsWith("--") ? `var(${f})` : f.includes("url(") ? f.split(/(url\(.*?\))/g).filter(Boolean).map((
|
|
2180
|
+
return f.startsWith("--") ? `var(${f})` : f.includes("url(") ? f.split(/(url\(.*?\))/g).filter(Boolean).map((A) => /^url\(.*?\)$/.test(A) ? A : s(A, !1)).join("") : (f = f.replace(/([^\\])_+/g, (A, O) => O + " ".repeat(A.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), _ && (f = f.trim()), f = d(f), f);
|
|
2181
2181
|
}
|
|
2182
2182
|
function d(f) {
|
|
2183
2183
|
return f.replace(/(calc|min|max|clamp)\(.+\)/g, (_) => {
|
|
2184
|
-
let
|
|
2185
|
-
return _.replace(/var\((--.+?)[,)]/g, (O, Z) => (
|
|
2184
|
+
let A = [];
|
|
2185
|
+
return _.replace(/var\((--.+?)[,)]/g, (O, Z) => (A.push(Z), O.replace(Z, c))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => A.shift());
|
|
2186
2186
|
});
|
|
2187
2187
|
}
|
|
2188
2188
|
function v(f) {
|
|
2189
2189
|
return f.startsWith("url(");
|
|
2190
2190
|
}
|
|
2191
2191
|
function h(f) {
|
|
2192
|
-
return !isNaN(Number(f)) ||
|
|
2192
|
+
return !isNaN(Number(f)) || n(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)) || n(f);
|
|
2196
2196
|
}
|
|
2197
2197
|
let k = `(?:${[
|
|
2198
2198
|
"cm",
|
|
@@ -2227,8 +2227,8 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2227
2227
|
"cqmin",
|
|
2228
2228
|
"cqmax"
|
|
2229
2229
|
].join("|")})`;
|
|
2230
|
-
function
|
|
2231
|
-
return f === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(f) ||
|
|
2230
|
+
function F(f) {
|
|
2231
|
+
return f === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(f) || n(f);
|
|
2232
2232
|
}
|
|
2233
2233
|
let P = /* @__PURE__ */ new Set([
|
|
2234
2234
|
"thin",
|
|
@@ -2239,9 +2239,9 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2239
2239
|
return P.has(f);
|
|
2240
2240
|
}
|
|
2241
2241
|
function M(f) {
|
|
2242
|
-
let _ = (0,
|
|
2243
|
-
for (let
|
|
2244
|
-
if (!
|
|
2242
|
+
let _ = (0, i.parseBoxShadowValue)(s(f));
|
|
2243
|
+
for (let A of _)
|
|
2244
|
+
if (!A.valid)
|
|
2245
2245
|
return !1;
|
|
2246
2246
|
return !0;
|
|
2247
2247
|
}
|
|
@@ -2284,7 +2284,7 @@ var ve = {}, Ve = {}, ie = {};
|
|
|
2284
2284
|
]);
|
|
2285
2285
|
function g(f) {
|
|
2286
2286
|
let _ = 0;
|
|
2287
|
-
return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : R.has(O) ||
|
|
2287
|
+
return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : R.has(O) || F(O) || E(O) ? (_++, !0) : !1)) ? _ > 0 : !1;
|
|
2288
2288
|
}
|
|
2289
2289
|
function D(f) {
|
|
2290
2290
|
let _ = 0;
|
|
@@ -2336,17 +2336,17 @@ var qe = {};
|
|
|
2336
2336
|
}), Object.defineProperty(e, "backgroundSize", {
|
|
2337
2337
|
enumerable: !0,
|
|
2338
2338
|
get: function() {
|
|
2339
|
-
return
|
|
2339
|
+
return i;
|
|
2340
2340
|
}
|
|
2341
2341
|
});
|
|
2342
|
-
const t = ve, r =
|
|
2343
|
-
function
|
|
2342
|
+
const t = ve, r = ne;
|
|
2343
|
+
function i(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((n) => {
|
|
2349
|
+
let c = (0, r.splitAtTopLevelOnly)(n, "_").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), i = pe, a = ve, o = /* @__PURE__ */ l(fe), n = qe, c = ie;
|
|
2392
2392
|
function l(g) {
|
|
2393
2393
|
return g && g.__esModule ? g : {
|
|
2394
2394
|
default: g
|
|
@@ -2443,7 +2443,7 @@ var qe = {};
|
|
|
2443
2443
|
}
|
|
2444
2444
|
return g;
|
|
2445
2445
|
}
|
|
2446
|
-
function
|
|
2446
|
+
function F(g) {
|
|
2447
2447
|
return (0, a.normalize)(g.slice(1, -1));
|
|
2448
2448
|
}
|
|
2449
2449
|
function P(g, D = {}, { tailwindConfig: C = {} } = {}) {
|
|
@@ -2454,9 +2454,9 @@ var qe = {};
|
|
|
2454
2454
|
}
|
|
2455
2455
|
let [x, p] = y(g);
|
|
2456
2456
|
if (p !== void 0) {
|
|
2457
|
-
var $, f, _,
|
|
2458
|
-
let O = (
|
|
2459
|
-
return O === void 0 ? void 0 : (O = k(O), E(p) ? (0,
|
|
2457
|
+
var $, f, _, A;
|
|
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, i.withAlphaValue)(O, F(p)) : ((f = C.theme) === null || f === void 0 || (_ = f.opacity) === null || _ === void 0 ? void 0 : _[p]) === void 0 ? void 0 : (0, i.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(n.backgroundSize)
|
|
2491
2491
|
}, H = Object.keys(G);
|
|
2492
2492
|
function W(g, D) {
|
|
2493
2493
|
let C = g.indexOf(D);
|
|
@@ -2534,16 +2534,16 @@ var qe = {};
|
|
|
2534
2534
|
let b = (0, c.flagEnabled)(m, "generalizedModifiers"), [x, p] = y(D);
|
|
2535
2535
|
if (b && C.modifiers != null && (C.modifiers === "any" || typeof C.modifiers == "object" && (p && E(p) || p in C.modifiers)) || (x = D, p = void 0), p !== void 0 && x === "" && (x = "DEFAULT"), p !== void 0 && typeof C.modifiers == "object") {
|
|
2536
2536
|
var f, _;
|
|
2537
|
-
let
|
|
2538
|
-
|
|
2537
|
+
let A = (_ = (f = C.modifiers) === null || f === void 0 ? void 0 : f[p]) !== null && _ !== void 0 ? _ : null;
|
|
2538
|
+
A !== null ? p = A : E(p) && (p = F(p));
|
|
2539
2539
|
}
|
|
2540
|
-
for (let { type:
|
|
2541
|
-
let O = G[
|
|
2540
|
+
for (let { type: A } of g != null ? g : []) {
|
|
2541
|
+
let O = G[A](x, C, {
|
|
2542
2542
|
tailwindConfig: m
|
|
2543
2543
|
});
|
|
2544
2544
|
O !== void 0 && (yield [
|
|
2545
2545
|
O,
|
|
2546
|
-
|
|
2546
|
+
A,
|
|
2547
2547
|
p != null ? p : null
|
|
2548
2548
|
]);
|
|
2549
2549
|
}
|
|
@@ -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), i = /* @__PURE__ */ E(Pe), a = /* @__PURE__ */ E(he), o = He, n = 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
|
|
@@ -2590,7 +2590,7 @@ var Xe = {};
|
|
|
2590
2590
|
}
|
|
2591
2591
|
return m;
|
|
2592
2592
|
}
|
|
2593
|
-
const
|
|
2593
|
+
const F = {
|
|
2594
2594
|
colors: a.default,
|
|
2595
2595
|
negative(m) {
|
|
2596
2596
|
return Object.keys(m).filter((b) => m[b] !== "0").reduce((b, x) => {
|
|
@@ -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, n.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, n.toPath)($);
|
|
2654
2654
|
_.alpha = f, yield _;
|
|
2655
2655
|
}
|
|
2656
2656
|
}
|
|
@@ -2659,11 +2659,11 @@ var Xe = {};
|
|
|
2659
2659
|
for (const $ of W(x)) {
|
|
2660
2660
|
let f = 0, _ = m;
|
|
2661
2661
|
for (; _ != null && f < $.length; )
|
|
2662
|
-
_ = _[$[f++]], _ = y(_) && ($.alpha === void 0 || f <= $.length - 1) ? _(b,
|
|
2662
|
+
_ = _[$[f++]], _ = y(_) && ($.alpha === void 0 || f <= $.length - 1) ? _(b, F) : _;
|
|
2663
2663
|
if (_ !== void 0) {
|
|
2664
2664
|
if ($.alpha !== void 0) {
|
|
2665
|
-
let
|
|
2666
|
-
return (0, v.withAlphaValue)(
|
|
2665
|
+
let A = (0, d.parseColorFormat)(_);
|
|
2666
|
+
return (0, v.withAlphaValue)(A, $.alpha, (0, h.default)(A));
|
|
2667
2667
|
}
|
|
2668
2668
|
return (0, l.default)(_) ? (0, s.cloneDeep)(_) : _;
|
|
2669
2669
|
}
|
|
@@ -2672,8 +2672,8 @@ var Xe = {};
|
|
|
2672
2672
|
};
|
|
2673
2673
|
return Object.assign(b, {
|
|
2674
2674
|
theme: b,
|
|
2675
|
-
...
|
|
2676
|
-
}), Object.keys(m).reduce((x, p) => (x[p] = y(m[p]) ? m[p](b,
|
|
2675
|
+
...F
|
|
2676
|
+
}), Object.keys(m).reduce((x, p) => (x[p] = y(m[p]) ? m[p](b, F) : m[p], x), {});
|
|
2677
2677
|
}
|
|
2678
2678
|
function R(m) {
|
|
2679
2679
|
let b = [];
|
|
@@ -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, i.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__ */ i(ct), r = ie;
|
|
3732
|
+
function i(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 n;
|
|
3739
|
+
const c = ((n = o == null ? void 0 : o.presets) !== null && n !== void 0 ? n : [
|
|
3740
3740
|
t.default
|
|
3741
3741
|
]).slice().reverse().flatMap((d) => a(d instanceof Function ? d() : d)), l = {
|
|
3742
3742
|
// Add experimental configs here...
|
|
@@ -3775,21 +3775,21 @@ var Ye = {}, ct = {
|
|
|
3775
3775
|
return a;
|
|
3776
3776
|
}
|
|
3777
3777
|
});
|
|
3778
|
-
const t = /* @__PURE__ */
|
|
3779
|
-
function
|
|
3778
|
+
const t = /* @__PURE__ */ i(Me), r = /* @__PURE__ */ i(Ye);
|
|
3779
|
+
function i(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 [, ...n] = (0, r.default)(o[0]);
|
|
3786
3786
|
return (0, t.default)([
|
|
3787
3787
|
...o,
|
|
3788
|
-
...
|
|
3788
|
+
...n
|
|
3789
3789
|
]);
|
|
3790
3790
|
}
|
|
3791
|
-
})(
|
|
3792
|
-
let se =
|
|
3791
|
+
})(Ae);
|
|
3792
|
+
let se = Ae;
|
|
3793
3793
|
var dt = (se.__esModule ? se : { default: se }).default;
|
|
3794
3794
|
const ft = /* @__PURE__ */ ut(dt);
|
|
3795
3795
|
let ae = he;
|
|
@@ -3916,14 +3916,14 @@ const ht = {
|
|
|
3916
3916
|
pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
|
|
3917
3917
|
}
|
|
3918
3918
|
]
|
|
3919
|
-
}, Ze = ft(pt), gt = Ze.theme.fontSize, vt = Ze.theme.colors,
|
|
3919
|
+
}, Ze = ft(pt), gt = Ze.theme.fontSize, vt = Ze.theme.colors, sr = [
|
|
3920
3920
|
T.dot,
|
|
3921
3921
|
T.xs,
|
|
3922
3922
|
T.sm,
|
|
3923
3923
|
T.md,
|
|
3924
3924
|
T.lg,
|
|
3925
3925
|
T.xl
|
|
3926
|
-
],
|
|
3926
|
+
], ar = [
|
|
3927
3927
|
T.xs,
|
|
3928
3928
|
T.sm,
|
|
3929
3929
|
T.md,
|
|
@@ -3945,14 +3945,14 @@ const ht = {
|
|
|
3945
3945
|
T["7xl"],
|
|
3946
3946
|
T["8xl"],
|
|
3947
3947
|
T["9xl"]
|
|
3948
|
-
],
|
|
3948
|
+
], or = [
|
|
3949
3949
|
j.warning,
|
|
3950
3950
|
j.error,
|
|
3951
3951
|
j.info,
|
|
3952
3952
|
j.success,
|
|
3953
3953
|
j.primary,
|
|
3954
3954
|
j.default
|
|
3955
|
-
],
|
|
3955
|
+
], lr = [
|
|
3956
3956
|
"play",
|
|
3957
3957
|
"pause",
|
|
3958
3958
|
"ended",
|
|
@@ -3963,7 +3963,7 @@ const ht = {
|
|
|
3963
3963
|
"canplay",
|
|
3964
3964
|
"canplaythrough",
|
|
3965
3965
|
"statechanged"
|
|
3966
|
-
], bt =
|
|
3966
|
+
], bt = q.extend({
|
|
3967
3967
|
name: "EIcon",
|
|
3968
3968
|
props: {
|
|
3969
3969
|
icon: {
|
|
@@ -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 i, a;
|
|
3991
|
+
const e = this.sizes[this.size] || this.sizes[T.sm], t = `${((a = (i = this.icon) == null ? void 0 : i.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,
|
|
@@ -4001,7 +4001,7 @@ const ht = {
|
|
|
4001
4001
|
var xt = function() {
|
|
4002
4002
|
var t = this, r = t._self._c;
|
|
4003
4003
|
return r("div", { staticClass: "e-icon" }, [r("i", { class: t.iconClasses })]);
|
|
4004
|
-
}, _t = [], wt = /* @__PURE__ */
|
|
4004
|
+
}, _t = [], wt = /* @__PURE__ */ I(
|
|
4005
4005
|
bt,
|
|
4006
4006
|
xt,
|
|
4007
4007
|
_t,
|
|
@@ -4011,7 +4011,7 @@ var xt = function() {
|
|
|
4011
4011
|
null,
|
|
4012
4012
|
null
|
|
4013
4013
|
);
|
|
4014
|
-
const Ct = wt.exports, St =
|
|
4014
|
+
const Ct = wt.exports, St = q.extend({
|
|
4015
4015
|
name: "ESpinner",
|
|
4016
4016
|
props: {
|
|
4017
4017
|
dark: {
|
|
@@ -4079,7 +4079,7 @@ var Tt = function() {
|
|
|
4079
4079
|
"e-spinner--dark": t.dark,
|
|
4080
4080
|
"e-spinner--grey": !t.color
|
|
4081
4081
|
}, style: { opacity: t.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: t.computedSize, height: t.computedSize } }, [r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
|
|
4082
|
-
}, Et = [], $t = /* @__PURE__ */
|
|
4082
|
+
}, Et = [], $t = /* @__PURE__ */ I(
|
|
4083
4083
|
St,
|
|
4084
4084
|
Tt,
|
|
4085
4085
|
Et,
|
|
@@ -4089,7 +4089,7 @@ var Tt = function() {
|
|
|
4089
4089
|
null,
|
|
4090
4090
|
null
|
|
4091
4091
|
);
|
|
4092
|
-
const Ke = $t.exports, Dt =
|
|
4092
|
+
const Ke = $t.exports, Dt = q.extend({
|
|
4093
4093
|
props: {
|
|
4094
4094
|
align: {
|
|
4095
4095
|
type: String,
|
|
@@ -4152,7 +4152,7 @@ const Ke = $t.exports, Dt = V.extend({
|
|
|
4152
4152
|
var kt = function() {
|
|
4153
4153
|
var t = this, r = t._self._c;
|
|
4154
4154
|
return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
|
|
4155
|
-
}, Ot = [],
|
|
4155
|
+
}, Ot = [], Ft = /* @__PURE__ */ I(
|
|
4156
4156
|
Dt,
|
|
4157
4157
|
kt,
|
|
4158
4158
|
Ot,
|
|
@@ -4162,7 +4162,7 @@ var kt = function() {
|
|
|
4162
4162
|
null,
|
|
4163
4163
|
null
|
|
4164
4164
|
);
|
|
4165
|
-
const
|
|
4165
|
+
const At = Ft.exports, Mt = q.extend({
|
|
4166
4166
|
props: {
|
|
4167
4167
|
alignSelf: {
|
|
4168
4168
|
type: String,
|
|
@@ -4269,7 +4269,7 @@ const Ft = At.exports, Mt = V.extend({
|
|
|
4269
4269
|
var zt = function() {
|
|
4270
4270
|
var t = this, r = t._self._c;
|
|
4271
4271
|
return r("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
|
|
4272
|
-
}, Pt = [], Lt = /* @__PURE__ */
|
|
4272
|
+
}, Pt = [], Lt = /* @__PURE__ */ I(
|
|
4273
4273
|
Mt,
|
|
4274
4274
|
zt,
|
|
4275
4275
|
Pt,
|
|
@@ -4322,11 +4322,11 @@ 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, i = Math.floor(e / 3600);
|
|
4326
|
+
return i === 0 ? `${r}:${oe.format(t)}` : `${i}:${oe.format(
|
|
4327
4327
|
r
|
|
4328
4328
|
)}:${oe.format(t)}`;
|
|
4329
|
-
}, Bt =
|
|
4329
|
+
}, Bt = q.extend({
|
|
4330
4330
|
name: "VideoPlayer",
|
|
4331
4331
|
components: {
|
|
4332
4332
|
ESpinner: Ke
|
|
@@ -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
|
+
(i) => {
|
|
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: i, 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
|
+
(i) => {
|
|
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: i, 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, i = r.getBoundingClientRect(), a = Math.min(Math.max(0, e.x - i.x), i.width) / i.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, i = this.$refs.player;
|
|
4549
|
+
if (!i)
|
|
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 = i.paused, await i.pause(), this.handleTimelineUpdate(e);
|
|
4554
4554
|
return;
|
|
4555
4555
|
}
|
|
4556
|
-
if (this.realtime = o * this.videoDuration,
|
|
4556
|
+
if (this.realtime = o * this.videoDuration, i.currentTime = o * this.videoDuration, this.wasPaused)
|
|
4557
4557
|
return;
|
|
4558
|
-
const
|
|
4559
|
-
|
|
4558
|
+
const n = i.play();
|
|
4559
|
+
n !== void 0 && n.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(i) {
|
|
4587
|
+
return r("source", t._g({ key: i.src, attrs: { src: i.src, type: i.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
|
|
@@ -4595,7 +4595,7 @@ var Wt = function() {
|
|
|
4595
4595
|
}, Rt = [function() {
|
|
4596
4596
|
var e = this, t = e._self._c;
|
|
4597
4597
|
return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
|
|
4598
|
-
}], Ut = /* @__PURE__ */
|
|
4598
|
+
}], Ut = /* @__PURE__ */ I(
|
|
4599
4599
|
Bt,
|
|
4600
4600
|
Wt,
|
|
4601
4601
|
Rt,
|
|
@@ -4606,23 +4606,23 @@ var Wt = function() {
|
|
|
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), i = {
|
|
4610
4610
|
1: "st",
|
|
4611
4611
|
2: "nd",
|
|
4612
4612
|
3: "rd"
|
|
4613
4613
|
}[t.charAt(1)] || "th";
|
|
4614
|
-
return `${t}${
|
|
4614
|
+
return `${t}${i}`;
|
|
4615
4615
|
}, be = (e) => new Date(
|
|
4616
4616
|
Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate() + 1)
|
|
4617
|
-
).getUTCDate() === 1 ? "" : u.utcFormat("%-d")(e), X = (e) => ["0", " 0", "00"].includes(u.utcFormat("%H")(e)) ? "" : `${u.utcFormat("%H")(e)}h`,
|
|
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 =
|
|
4622
|
-
return t || `${
|
|
4621
|
+
const t = V(e), r = te(e), i = u.utcFormat("%B")(e);
|
|
4622
|
+
return t || `${i} ${r}`;
|
|
4623
4623
|
}, ue = (e) => {
|
|
4624
|
-
const t =
|
|
4625
|
-
return t && r % 6 === 0 ? `${a} ${
|
|
4624
|
+
const t = V(e), r = Number.parseInt(u.utcFormat("%H")(e)), i = te(e), a = u.utcFormat("%B")(e);
|
|
4625
|
+
return t && r % 6 === 0 ? `${a} ${i} ${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), i = u.utcFormat("%S")(t);
|
|
4634
|
+
return Number.parseInt(r) % e !== 0 && Number.parseInt(i) === 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 =
|
|
4695
|
-
return t || `${
|
|
4694
|
+
const t = V(e), r = te(e), i = u.utcFormat("%B")(e);
|
|
4695
|
+
return t || `${i} ${r}`;
|
|
4696
4696
|
}
|
|
4697
4697
|
},
|
|
4698
4698
|
{
|
|
@@ -4741,27 +4741,27 @@ const It = {
|
|
|
4741
4741
|
{
|
|
4742
4742
|
precision: S._1_minute,
|
|
4743
4743
|
interval: u.utcMinute.filter(ce(5)),
|
|
4744
|
-
format:
|
|
4744
|
+
format: V
|
|
4745
4745
|
},
|
|
4746
4746
|
{
|
|
4747
4747
|
precision: S._2_minutes,
|
|
4748
4748
|
interval: (Te = u.utcMinute.every(2)) == null ? void 0 : Te.filter(ce(10)),
|
|
4749
|
-
format:
|
|
4749
|
+
format: V
|
|
4750
4750
|
},
|
|
4751
4751
|
{
|
|
4752
4752
|
precision: S._5_minutes,
|
|
4753
4753
|
interval: (Ee = u.utcMinute.every(5)) == null ? void 0 : Ee.filter(ce(20)),
|
|
4754
|
-
format:
|
|
4754
|
+
format: V
|
|
4755
4755
|
},
|
|
4756
4756
|
{
|
|
4757
4757
|
precision: S._15_minutes,
|
|
4758
4758
|
interval: ($e = u.utcMinute.every(15)) == null ? void 0 : $e.filter(Y(1)),
|
|
4759
|
-
format:
|
|
4759
|
+
format: V
|
|
4760
4760
|
},
|
|
4761
4761
|
{
|
|
4762
4762
|
precision: S._30_minutes,
|
|
4763
4763
|
interval: (De = u.utcMinute.every(30)) == null ? void 0 : De.filter(Y(2)),
|
|
4764
|
-
format:
|
|
4764
|
+
format: V
|
|
4765
4765
|
},
|
|
4766
4766
|
{
|
|
4767
4767
|
precision: S._1_hour,
|
|
@@ -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(), i = Math.ceil(r / 5);
|
|
4911
|
+
return t === i || t === 2 * i || t === 3 * i || t === 4 * i;
|
|
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(), i = Math.ceil(r / 4);
|
|
4923
|
+
return t === i || t === 2 * i || t === 3 * i;
|
|
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(), i = Math.ceil(r / 2);
|
|
4935
|
+
return t === i;
|
|
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 i = new ResizeObserver(
|
|
4958
4958
|
(a) => {
|
|
4959
4959
|
a[0] && r(a[0]);
|
|
4960
4960
|
}
|
|
4961
4961
|
);
|
|
4962
|
-
|
|
4962
|
+
i.observe(e), e.__resizeObserver__ = i;
|
|
4963
4963
|
},
|
|
4964
4964
|
unbind(e) {
|
|
4965
4965
|
e.__resizeObserver__ && (e.__resizeObserver__.disconnect(), delete e.__resizeObserver__);
|
|
@@ -4987,7 +4987,7 @@ const It = {
|
|
|
4987
4987
|
}, Q = {
|
|
4988
4988
|
areaGradient: "area-gradient",
|
|
4989
4989
|
loadingGradient: "loading-gradient"
|
|
4990
|
-
}, qt =
|
|
4990
|
+
}, qt = q.extend({
|
|
4991
4991
|
name: "ETimeline",
|
|
4992
4992
|
directives: {
|
|
4993
4993
|
resizeObserver: Qe
|
|
@@ -5141,9 +5141,9 @@ const It = {
|
|
|
5141
5141
|
labelRectWidth() {
|
|
5142
5142
|
return Object.values(
|
|
5143
5143
|
this.eventsGroups
|
|
5144
|
-
).reduce((r,
|
|
5144
|
+
).reduce((r, i) => {
|
|
5145
5145
|
var a;
|
|
5146
|
-
return Math.max(r, (a =
|
|
5146
|
+
return Math.max(r, (a = i.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), i = this.barChartHeight * e;
|
|
5155
|
+
return this.combinedXAxesHeight + t + i + 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: i, 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", i).attr("stop-opacity", "0"), o.append("stop").attr("offset", "50%").attr("stop-color", i).attr("stop-opacity", "0.6"), o.append("stop").attr("offset", "100%").attr("stop-color", i).attr("stop-opacity", "0"), a === "lineGraph") {
|
|
5263
|
+
const n = e.append("linearGradient").attr("id", `${Q.areaGradient}-${t}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
|
|
5264
|
+
n.append("stop").attr("offset", "0%").style("stop-color", i).style("stop-opacity", 0.3), n.append("stop").attr("offset", "38%").style("stop-color", i).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, i = t || this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate;
|
|
5275
|
+
this.timeScale = u.scaleTime().domain([this.tzStringToDate(r), this.tzStringToDate(i)]).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 i = this.createAxis(r);
|
|
5282
|
+
this.xAxes[r] = i, this.svg.append("g").classed(w.xAxis, !0).classed(`${w.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(i), 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), i = this.dateToTzString(this.visibleTo);
|
|
5325
5325
|
this.$emit("visible-interval-change", {
|
|
5326
5326
|
fromDate: r,
|
|
5327
|
-
toDate:
|
|
5327
|
+
toDate: i,
|
|
5328
5328
|
transform: this.transformDiff
|
|
5329
5329
|
});
|
|
5330
5330
|
},
|
|
@@ -5377,8 +5377,8 @@ const It = {
|
|
|
5377
5377
|
}, this.repositionSelectedTimestampCursor());
|
|
5378
5378
|
},
|
|
5379
5379
|
handleClick(e) {
|
|
5380
|
-
const t = e.offsetX, r = this.timeScale.invert(t),
|
|
5381
|
-
this.$emit("date-clicked",
|
|
5380
|
+
const t = e.offsetX, r = this.timeScale.invert(t), i = this.dateToTzString(r);
|
|
5381
|
+
this.$emit("date-clicked", i), this.isHoveringEvent && this.$emit("event-clicked", {
|
|
5382
5382
|
event: this.hoveredEvent,
|
|
5383
5383
|
type: this.hoveredEventType
|
|
5384
5384
|
});
|
|
@@ -5386,9 +5386,9 @@ const It = {
|
|
|
5386
5386
|
handleLineMouseOver(e, t, r) {
|
|
5387
5387
|
this.hoveredCounts = Object.entries(
|
|
5388
5388
|
this.countsByTimestamp[`${t.timestamp}`]
|
|
5389
|
-
).reduce((
|
|
5390
|
-
const [o,
|
|
5391
|
-
return [...
|
|
5389
|
+
).reduce((i, a) => {
|
|
5390
|
+
const [o, n] = a;
|
|
5391
|
+
return [...i, { type: o, count: n }];
|
|
5392
5392
|
}, []), this.hoveredEvent = t, this.isHoveringEvent = !0, this.$emit("event-mouseover", {
|
|
5393
5393
|
eventData: t,
|
|
5394
5394
|
eventType: r,
|
|
@@ -5430,8 +5430,8 @@ const It = {
|
|
|
5430
5430
|
scale: r,
|
|
5431
5431
|
translation: e.transform.x - this.lastTransform.x
|
|
5432
5432
|
}, this.lastTransform = { ...e.transform };
|
|
5433
|
-
for (const
|
|
5434
|
-
this.rescaleAxis(
|
|
5433
|
+
for (const i in this.xAxes)
|
|
5434
|
+
this.rescaleAxis(i, t), this.translateTicksText(i);
|
|
5435
5435
|
this.updateBarCharts(), this.updateLineGraphs(), this.updateLineGraphHoverZones(), this.repositionSelectedTimestampCursor(), this.emitVisibleInterval(), this.emitCurtainChange();
|
|
5436
5436
|
},
|
|
5437
5437
|
emitCurtainChange() {
|
|
@@ -5442,12 +5442,12 @@ const It = {
|
|
|
5442
5442
|
});
|
|
5443
5443
|
},
|
|
5444
5444
|
calculateDateRangeFromCurtains() {
|
|
5445
|
-
const e = this.timeline.offsetWidth, t = this.timeScale.domain(), r = t[1].getTime() - t[0].getTime(),
|
|
5446
|
-
return { startDate: o, endDate:
|
|
5445
|
+
const e = this.timeline.offsetWidth, t = this.timeScale.domain(), r = t[1].getTime() - t[0].getTime(), i = (this.leftCurtainWidth - this.curtainHandleWidth * 2) / e * r, a = (this.rightCurtainWidth + this.curtainHandleWidth * 2) / e * r, o = new Date(t[0].getTime() + i), n = new Date(t[1].getTime() - a);
|
|
5446
|
+
return { startDate: o, endDate: n };
|
|
5447
5447
|
},
|
|
5448
5448
|
updateCurtainsOnResize(e) {
|
|
5449
|
-
const { startDate: t, endDate: r } = this.calculateDateRangeFromCurtains(),
|
|
5450
|
-
this.leftCurtainWidth = o / a * e, this.rightCurtainWidth =
|
|
5449
|
+
const { startDate: t, endDate: r } = this.calculateDateRangeFromCurtains(), i = this.timeScale.domain(), a = i[1].getTime() - i[0].getTime(), o = t.getTime() - i[0].getTime(), n = i[1].getTime() - r.getTime();
|
|
5450
|
+
this.leftCurtainWidth = o / a * e, this.rightCurtainWidth = n / a * e, this.svg.select(`.${w.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${w.curtain}--right`).attr(
|
|
5451
5451
|
"x",
|
|
5452
5452
|
e - this.rightCurtainWidth + this.curtainHandleWidth * 2
|
|
5453
5453
|
).attr("width", this.rightCurtainWidth);
|
|
@@ -5471,21 +5471,21 @@ const It = {
|
|
|
5471
5471
|
const t = this.timeline.offsetWidth, r = Math.min(
|
|
5472
5472
|
this.timeline.offsetWidth - e.x,
|
|
5473
5473
|
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",
|
|
5474
|
+
), i = t - r;
|
|
5475
|
+
this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${w.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", i), this.emitCurtainChange();
|
|
5476
5476
|
},
|
|
5477
5477
|
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(
|
|
5478
|
+
const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, t = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, r = this.tzStringToDate(e), i = this.tzStringToDate(t), a = this.timeline.offsetWidth, o = [r, i], n = [0, a];
|
|
5479
|
+
this.timeScale = u.scaleTime().domain(o).range(n), this.initialTimeScale = this.timeScale.copy(), this.updateCurrentTimeScaleDensity();
|
|
5480
5480
|
for (const c in this.xAxes)
|
|
5481
5481
|
this.rescaleAxis(c, this.timeScale), this.translateTicksText(c);
|
|
5482
5482
|
this.updateBarCharts(), this.updateLineGraphs(), this.updateLineGraphHoverZones(), this.repositionSelectedTimestampCursor();
|
|
5483
5483
|
},
|
|
5484
5484
|
rescaleAxis(e, t) {
|
|
5485
|
-
const r = this.xAxes[e],
|
|
5485
|
+
const r = this.xAxes[e], i = this.getAxisTicksConfig(
|
|
5486
5486
|
this.xAxesConfig[e]
|
|
5487
5487
|
);
|
|
5488
|
-
r.scale(t).ticks(
|
|
5488
|
+
r.scale(t).ticks(i.interval).tickFormat(i.formatFn).tickSizeOuter(0), this.svg.select(`.${w.xAxis}-${e}`).call(r);
|
|
5489
5489
|
},
|
|
5490
5490
|
translateTicksText(e) {
|
|
5491
5491
|
this.svg.select(`.${w.xAxis}-${e}`).selectAll(".tick text").each(function() {
|
|
@@ -5515,8 +5515,8 @@ const It = {
|
|
|
5515
5515
|
}), this.svg.selectAll(
|
|
5516
5516
|
`.${w.lineGraphHoverZone}-${e}`
|
|
5517
5517
|
).each(function(r) {
|
|
5518
|
-
const
|
|
5519
|
-
u.select(this).attr("x",
|
|
5518
|
+
const i = t.timeScale(t.tzStringToDate(r.timestamp).getTime()) - 15;
|
|
5519
|
+
u.select(this).attr("x", i).attr("y", 0).attr("width", 30).attr("height", t.lineGraphChartHeight);
|
|
5520
5520
|
});
|
|
5521
5521
|
});
|
|
5522
5522
|
},
|
|
@@ -5527,8 +5527,8 @@ const It = {
|
|
|
5527
5527
|
if (!e)
|
|
5528
5528
|
return 0;
|
|
5529
5529
|
if (e.startDate && e.endDate) {
|
|
5530
|
-
const t = new Date(e.startDate), r = new Date(e.endDate),
|
|
5531
|
-
return Math.max(
|
|
5530
|
+
const t = new Date(e.startDate), r = new Date(e.endDate), i = this.timeScale(r) - this.timeScale(t);
|
|
5531
|
+
return Math.max(i, this.rectMinWidth);
|
|
5532
5532
|
} else {
|
|
5533
5533
|
const t = 1 / (this.currentTimeScaleDensity * 3600);
|
|
5534
5534
|
return Math.max(t, this.rectMinWidth);
|
|
@@ -5552,29 +5552,29 @@ const It = {
|
|
|
5552
5552
|
},
|
|
5553
5553
|
drawLineGraphEventsGroups() {
|
|
5554
5554
|
const e = this.combinedXAxesHeight, t = this.normalizeEvents ? this.normalizedLineGraphGroups : this.lineGraphGroups;
|
|
5555
|
-
Object.entries(t).forEach(([r,
|
|
5555
|
+
Object.entries(t).forEach(([r, i]) => {
|
|
5556
5556
|
const a = this.svg.append("g").classed(
|
|
5557
5557
|
`${w.lineGraphGroup} ${w.lineGraphGroup}-${r}`,
|
|
5558
5558
|
!0
|
|
5559
|
-
).attr("transform", `translate(0,${e})`), { color: o, events:
|
|
5559
|
+
).attr("transform", `translate(0,${e})`), { color: o, events: n } = i;
|
|
5560
5560
|
this.drawLineGraph({
|
|
5561
|
-
events:
|
|
5561
|
+
events: n,
|
|
5562
5562
|
gElement: a,
|
|
5563
5563
|
color: o,
|
|
5564
5564
|
type: r
|
|
5565
5565
|
}), this.drawLineGraphHoverZones({
|
|
5566
|
-
events:
|
|
5566
|
+
events: n,
|
|
5567
5567
|
gElement: a,
|
|
5568
5568
|
color: o,
|
|
5569
5569
|
type: r
|
|
5570
5570
|
});
|
|
5571
5571
|
}), Object.entries(this.lineGraphGroups).forEach(
|
|
5572
|
-
([r,
|
|
5573
|
-
const { color: o, isLoading:
|
|
5572
|
+
([r, i], a) => {
|
|
5573
|
+
const { color: o, isLoading: n, label: c } = i, 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
5574
|
this.drawProgressIndicator({
|
|
5575
5575
|
type: r,
|
|
5576
5576
|
color: o,
|
|
5577
|
-
isLoading:
|
|
5577
|
+
isLoading: n,
|
|
5578
5578
|
yPosition: s
|
|
5579
5579
|
}), this.drawTextLabel({
|
|
5580
5580
|
color: o,
|
|
@@ -5589,32 +5589,32 @@ const It = {
|
|
|
5589
5589
|
events: e,
|
|
5590
5590
|
gElement: t,
|
|
5591
5591
|
color: r,
|
|
5592
|
-
type:
|
|
5592
|
+
type: i
|
|
5593
5593
|
}) {
|
|
5594
5594
|
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}-${
|
|
5595
|
+
t.append("path").datum(e).classed(`${w.lineGraphPath}-${i}`, !0).attr("fill", `url(#${Q.areaGradient}-${i})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (o) => a(o));
|
|
5596
5596
|
},
|
|
5597
5597
|
drawLineGraphHoverZones({
|
|
5598
5598
|
events: e,
|
|
5599
5599
|
gElement: t,
|
|
5600
5600
|
color: r,
|
|
5601
|
-
type:
|
|
5601
|
+
type: i
|
|
5602
5602
|
}) {
|
|
5603
5603
|
e.forEach((a) => {
|
|
5604
5604
|
const o = `${a.timestamp}`;
|
|
5605
5605
|
this.countsByTimestamp[o] = {
|
|
5606
5606
|
...this.countsByTimestamp[o] || {},
|
|
5607
|
-
[
|
|
5607
|
+
[i]: a.count
|
|
5608
5608
|
};
|
|
5609
|
-
const
|
|
5610
|
-
`${w.lineGraphDot} ${w.lineGraphDot}-${
|
|
5609
|
+
const n = t.append("circle").classed(
|
|
5610
|
+
`${w.lineGraphDot} ${w.lineGraphDot}-${i}`,
|
|
5611
5611
|
!0
|
|
5612
5612
|
).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
5613
|
this.dotsByTimestamp[o] = [
|
|
5614
5614
|
...this.dotsByTimestamp[o] || [],
|
|
5615
|
-
|
|
5616
|
-
], t.append("rect").classed(`${w.lineGraphHoverZone}-${
|
|
5617
|
-
this.handleLineMouseOver(c, a,
|
|
5615
|
+
n
|
|
5616
|
+
], t.append("rect").classed(`${w.lineGraphHoverZone}-${i}`, !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) => {
|
|
5617
|
+
this.handleLineMouseOver(c, a, i), this.dotsByTimestamp[o].forEach(
|
|
5618
5618
|
(l) => l.classed(`${w.lineGraphDot}--active`, !0)
|
|
5619
5619
|
);
|
|
5620
5620
|
}).on("mouseout", () => {
|
|
@@ -5626,26 +5626,26 @@ const It = {
|
|
|
5626
5626
|
},
|
|
5627
5627
|
drawBarEventsGroups() {
|
|
5628
5628
|
Object.entries(this.barGroups).forEach(([e, t], r) => {
|
|
5629
|
-
const { color:
|
|
5629
|
+
const { color: i, label: a, events: o, isLoading: n } = t, c = r === 0 ? 0 : this.eventGroupPadding, l = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, s = r * (this.barChartHeight + c) + this.combinedXAxesHeight + l;
|
|
5630
5630
|
this.drawProgressIndicator({
|
|
5631
5631
|
yPosition: s,
|
|
5632
5632
|
type: e,
|
|
5633
|
-
color:
|
|
5634
|
-
isLoading:
|
|
5633
|
+
color: i,
|
|
5634
|
+
isLoading: n
|
|
5635
5635
|
});
|
|
5636
|
-
const d = this.svg.append("g").attr("data-color",
|
|
5636
|
+
const d = this.svg.append("g").attr("data-color", i).classed(w.eventGroup, !0).classed(`${w.eventGroup}-${e}`, !0);
|
|
5637
5637
|
this.drawBackground({
|
|
5638
|
-
color:
|
|
5638
|
+
color: i,
|
|
5639
5639
|
gElement: d,
|
|
5640
5640
|
yPosition: s
|
|
5641
5641
|
}), this.drawBars({
|
|
5642
5642
|
events: o,
|
|
5643
|
-
color:
|
|
5643
|
+
color: i,
|
|
5644
5644
|
gElement: d,
|
|
5645
5645
|
yPosition: s,
|
|
5646
5646
|
type: e
|
|
5647
5647
|
}), this.drawTextLabel({
|
|
5648
|
-
color:
|
|
5648
|
+
color: i,
|
|
5649
5649
|
label: a,
|
|
5650
5650
|
gElement: d,
|
|
5651
5651
|
yPosition: s
|
|
@@ -5673,12 +5673,12 @@ const It = {
|
|
|
5673
5673
|
events: e,
|
|
5674
5674
|
gElement: t,
|
|
5675
5675
|
yPosition: r,
|
|
5676
|
-
color:
|
|
5676
|
+
color: i,
|
|
5677
5677
|
type: a
|
|
5678
5678
|
}) {
|
|
5679
5679
|
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",
|
|
5681
|
-
u.select(this).classed(`${w.eventRect}--hovered`, !0), o.handleBarMouseOver(
|
|
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(n, c) {
|
|
5681
|
+
u.select(this).classed(`${w.eventRect}--hovered`, !0), o.handleBarMouseOver(n, c, a);
|
|
5682
5682
|
}).on("mouseout", function() {
|
|
5683
5683
|
u.select(this).classed(`${w.eventRect}--hovered`, !1), o.handleBarMouseOut();
|
|
5684
5684
|
});
|
|
@@ -5687,7 +5687,7 @@ const It = {
|
|
|
5687
5687
|
gElement: e,
|
|
5688
5688
|
yPosition: t,
|
|
5689
5689
|
color: r,
|
|
5690
|
-
label:
|
|
5690
|
+
label: i
|
|
5691
5691
|
}) {
|
|
5692
5692
|
if (!this.showLabels)
|
|
5693
5693
|
return;
|
|
@@ -5698,7 +5698,7 @@ const It = {
|
|
|
5698
5698
|
h: this.barChartHeight,
|
|
5699
5699
|
radius: 3
|
|
5700
5700
|
};
|
|
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(
|
|
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(i);
|
|
5702
5702
|
},
|
|
5703
5703
|
getTextFillColor(e) {
|
|
5704
5704
|
var t, r;
|
|
@@ -5725,42 +5725,42 @@ const It = {
|
|
|
5725
5725
|
fillTimeGaps(e) {
|
|
5726
5726
|
if (e.length <= 1)
|
|
5727
5727
|
return e;
|
|
5728
|
-
const t = (
|
|
5729
|
-
(
|
|
5728
|
+
const t = (n) => new Date(n), r = (n) => t(n).getTime(), i = (n, c) => new Date(n.getTime() + c), a = e.map(
|
|
5729
|
+
(n, c) => c === 0 ? 1 / 0 : r(n.timestamp) - r(e[c - 1].timestamp)
|
|
5730
5730
|
).reduce(
|
|
5731
|
-
(
|
|
5731
|
+
(n, c) => Math.min(n, c),
|
|
5732
5732
|
1 / 0
|
|
5733
5733
|
);
|
|
5734
5734
|
let o = e.flatMap(
|
|
5735
|
-
(
|
|
5735
|
+
(n, c) => {
|
|
5736
5736
|
const l = e[c + 1];
|
|
5737
5737
|
if (!l)
|
|
5738
5738
|
if (this.flattenLineGraphEnds) {
|
|
5739
|
-
const v =
|
|
5740
|
-
t(
|
|
5739
|
+
const v = i(
|
|
5740
|
+
t(n.timestamp),
|
|
5741
5741
|
a
|
|
5742
5742
|
);
|
|
5743
5743
|
return [
|
|
5744
|
-
|
|
5744
|
+
n,
|
|
5745
5745
|
{ timestamp: v.toISOString(), count: 0 }
|
|
5746
5746
|
];
|
|
5747
5747
|
} else
|
|
5748
|
-
return [
|
|
5749
|
-
const s = t(
|
|
5748
|
+
return [n];
|
|
5749
|
+
const s = t(n.timestamp), d = t(l.timestamp);
|
|
5750
5750
|
if (d.getTime() - s.getTime() > a) {
|
|
5751
|
-
const v =
|
|
5751
|
+
const v = i(d, -a), h = i(s, a);
|
|
5752
5752
|
return [
|
|
5753
|
-
|
|
5753
|
+
n,
|
|
5754
5754
|
{ timestamp: h.toISOString(), count: 0 },
|
|
5755
5755
|
{ timestamp: v.toISOString(), count: 0 },
|
|
5756
5756
|
l
|
|
5757
5757
|
];
|
|
5758
5758
|
} else
|
|
5759
|
-
return [
|
|
5759
|
+
return [n, l];
|
|
5760
5760
|
}
|
|
5761
5761
|
);
|
|
5762
5762
|
return this.flattenLineGraphEnds && (o = [
|
|
5763
|
-
{ timestamp:
|
|
5763
|
+
{ timestamp: i(
|
|
5764
5764
|
t(e[0].timestamp),
|
|
5765
5765
|
-a
|
|
5766
5766
|
).toISOString(), count: 0 },
|
|
@@ -5769,7 +5769,7 @@ const It = {
|
|
|
5769
5769
|
},
|
|
5770
5770
|
getNormalizedEvents(e) {
|
|
5771
5771
|
return this.placeholderLineChartGroup.map((t) => e.find(
|
|
5772
|
-
(
|
|
5772
|
+
(i) => i.timestamp === t.timestamp
|
|
5773
5773
|
) || t);
|
|
5774
5774
|
}
|
|
5775
5775
|
}
|
|
@@ -5784,11 +5784,11 @@ var Xt = function() {
|
|
|
5784
5784
|
!cursorTimestamp
|
|
5785
5785
|
` }], 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
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
|
+
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(i, a) {
|
|
5788
|
+
return r("div", { key: a }, [r("strong", [t._v(t._s(i.type) + " Count")]), t._v(": " + t._s(i.count) + " ")]);
|
|
5789
5789
|
})], 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
5790
|
}, { event: t.hoveredEvent, counts: t.hoveredCounts, active: t.isHoveringEvent && !t.isInteractingWithCurtain, type: t.hoveredEventType })], 2)]);
|
|
5791
|
-
}, Yt = [], Zt = /* @__PURE__ */
|
|
5791
|
+
}, Yt = [], Zt = /* @__PURE__ */ I(
|
|
5792
5792
|
qt,
|
|
5793
5793
|
Xt,
|
|
5794
5794
|
Yt,
|
|
@@ -5798,16 +5798,83 @@ var Xt = function() {
|
|
|
5798
5798
|
null,
|
|
5799
5799
|
null
|
|
5800
5800
|
);
|
|
5801
|
-
const Kt = Zt.exports,
|
|
5801
|
+
const Kt = Zt.exports, Jt = {
|
|
5802
|
+
name: "EVideoEmbed",
|
|
5803
|
+
props: {
|
|
5804
|
+
videoUrl: {
|
|
5805
|
+
type: String,
|
|
5806
|
+
required: !0
|
|
5807
|
+
},
|
|
5808
|
+
platform: {
|
|
5809
|
+
type: String,
|
|
5810
|
+
required: !0,
|
|
5811
|
+
validator: (e) => ["youtube", "vimeo"].includes(e)
|
|
5812
|
+
},
|
|
5813
|
+
iframeListeners: {
|
|
5814
|
+
type: Object,
|
|
5815
|
+
default: () => ({})
|
|
5816
|
+
},
|
|
5817
|
+
iframeOptions: {
|
|
5818
|
+
type: Object,
|
|
5819
|
+
default: () => ({})
|
|
5820
|
+
}
|
|
5821
|
+
},
|
|
5822
|
+
computed: {
|
|
5823
|
+
videoId() {
|
|
5824
|
+
if (this.platform !== "youtube" && this.platform === "vimeo") {
|
|
5825
|
+
const e = this.videoUrl.match(/vimeo\.com\/(\d+)/);
|
|
5826
|
+
return e ? e[1] : void 0;
|
|
5827
|
+
}
|
|
5828
|
+
},
|
|
5829
|
+
embedUrl() {
|
|
5830
|
+
var e;
|
|
5831
|
+
if (console.log({
|
|
5832
|
+
videoId: this.videoId,
|
|
5833
|
+
videoUrl: this.videoUrl,
|
|
5834
|
+
platform: this.platform,
|
|
5835
|
+
iframeOptions: this.iframeOptions
|
|
5836
|
+
}), this.platform === "youtube") {
|
|
5837
|
+
const t = new URLSearchParams({
|
|
5838
|
+
quality: "1080p",
|
|
5839
|
+
...this.iframeOptions
|
|
5840
|
+
});
|
|
5841
|
+
return `https://www.youtube.com/embed/${this.videoUrl}?${t.toString()}`;
|
|
5842
|
+
} else if (this.platform === "vimeo" && this.videoId) {
|
|
5843
|
+
const t = (e = this.videoUrl.split("/").pop()) == null ? void 0 : e.split("?")[0], r = new URLSearchParams({
|
|
5844
|
+
h: t || "",
|
|
5845
|
+
quality: "1080p",
|
|
5846
|
+
...this.iframeOptions
|
|
5847
|
+
});
|
|
5848
|
+
return `https://player.vimeo.com/video/${this.videoId}?${r.toString()}`;
|
|
5849
|
+
}
|
|
5850
|
+
return "";
|
|
5851
|
+
}
|
|
5852
|
+
}
|
|
5853
|
+
};
|
|
5854
|
+
var Qt = function() {
|
|
5855
|
+
var t = this, r = t._self._c;
|
|
5856
|
+
return r("div", { staticClass: "video-embed" }, [r("iframe", t._g(t._b({ staticStyle: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%" }, attrs: { src: t.embedUrl, frameborder: "0", allowfullscreen: "", allow: "autoplay; fullscreen; picture-in-picture" } }, "iframe", t.iframeOptions, !1), t.iframeListeners))]);
|
|
5857
|
+
}, er = [], tr = /* @__PURE__ */ I(
|
|
5858
|
+
Jt,
|
|
5859
|
+
Qt,
|
|
5860
|
+
er,
|
|
5861
|
+
!1,
|
|
5862
|
+
null,
|
|
5863
|
+
"1d88170a",
|
|
5864
|
+
null,
|
|
5865
|
+
null
|
|
5866
|
+
);
|
|
5867
|
+
const rr = tr.exports, we = {
|
|
5802
5868
|
EAvatar: lt,
|
|
5803
|
-
EBadge:
|
|
5869
|
+
EBadge: Fe,
|
|
5804
5870
|
EIcon: Ct,
|
|
5805
5871
|
ESpinner: Ke,
|
|
5806
|
-
ERow:
|
|
5872
|
+
ERow: At,
|
|
5807
5873
|
ECol: Gt,
|
|
5808
5874
|
EVideoPlayer: Nt,
|
|
5809
|
-
ETimeline: Kt
|
|
5810
|
-
|
|
5875
|
+
ETimeline: Kt,
|
|
5876
|
+
EVideoEmbed: rr
|
|
5877
|
+
}, ur = {
|
|
5811
5878
|
install(e) {
|
|
5812
5879
|
Object.keys(we).forEach((t) => {
|
|
5813
5880
|
e.component(t, we[t]);
|
|
@@ -5817,20 +5884,21 @@ const Kt = Zt.exports, we = {
|
|
|
5817
5884
|
}
|
|
5818
5885
|
};
|
|
5819
5886
|
export {
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5887
|
+
ar as AvatarSizes,
|
|
5888
|
+
or as BadgeColors,
|
|
5889
|
+
sr as BadgeSizes,
|
|
5823
5890
|
j as BaseColor,
|
|
5824
5891
|
vt as Colors,
|
|
5825
5892
|
Vt as DirectivesMap,
|
|
5826
5893
|
lt as EAvatar,
|
|
5827
|
-
|
|
5894
|
+
Fe as EBadge,
|
|
5828
5895
|
Gt as ECol,
|
|
5829
5896
|
Ct as EIcon,
|
|
5830
|
-
|
|
5897
|
+
At as ERow,
|
|
5831
5898
|
Ke as ESpinner,
|
|
5832
5899
|
Kt as ETimeline,
|
|
5833
|
-
|
|
5900
|
+
lr as EVENTS,
|
|
5901
|
+
rr as EVideoEmbed,
|
|
5834
5902
|
Nt as EVideoPlayer,
|
|
5835
5903
|
yt as IconSizes,
|
|
5836
5904
|
Qe as ResizeObserverDirective,
|
|
@@ -5838,7 +5906,7 @@ export {
|
|
|
5838
5906
|
gt as TextSizes,
|
|
5839
5907
|
ee as TimelineAxis,
|
|
5840
5908
|
we as components,
|
|
5841
|
-
|
|
5909
|
+
ur as default,
|
|
5842
5910
|
jt as exitFullScreen,
|
|
5843
5911
|
Ze as fullConfig,
|
|
5844
5912
|
Je as isFullScreen,
|