@spash/frontlib 1.1.0-beta.2 → 1.1.0-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/main.js +87 -87
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { pushScopeId as b0, popScopeId as T0, defineComponent as Fe, nextTick as mh, openBlock as ee, createBlock as qe, createElementBlock as ye, normalizeClass as Ue, renderSlot as Wt, normalizeProps as R0, guardReactiveProps as I0, withScopeId as w0, resolveComponent as _e, normalizeStyle as Kt, withKeys as O0, createElementVNode as $, Fragment as Jt, createCommentVNode as
|
|
1
|
+
import { pushScopeId as b0, popScopeId as T0, defineComponent as Fe, nextTick as mh, openBlock as ee, createBlock as qe, createElementBlock as ye, normalizeClass as Ue, renderSlot as Wt, normalizeProps as R0, guardReactiveProps as I0, withScopeId as w0, resolveComponent as _e, normalizeStyle as Kt, withKeys as O0, createElementVNode as $, Fragment as Jt, createCommentVNode as rt, withCtx as it, createVNode as Xe, ref as ve, createApp as L0, h as an, mergeProps as jr, toDisplayString as tt, getCurrentInstance as ls, inject as ph, onMounted as cn, onUnmounted as Ni, shallowRef as fu, computed as Ie, onBeforeMount as k0, watch as Yt, effectScope as P0, isRef as hu, Text as F0, toRefs as Ct, Transition as M0, unref as de, createStaticVNode as Bi, resolveDynamicComponent as Vi, Teleport as Ns, getCurrentScope as D0, onScopeDispose as U0, toRef as N0, readonly as B0, customRef as V0, reactive as Sl, useCssVars as gh, renderList as vs, createTextVNode as Ft, withDirectives as Dr, vModelText as G0, resolveDirective as z0, TransitionGroup as j0, vShow as Bs, provide as La, withModifiers as H0, onUpdated as vh, onBeforeUnmount as K0 } from "vue";
|
|
2
2
|
const W0 = ["top", "right", "bottom", "left"], mc = ["start", "end"], pc = /* @__PURE__ */ W0.reduce((n, e) => n.concat(e, e + "-" + mc[0], e + "-" + mc[1]), []), Si = Math.min, ts = Math.max, q0 = {
|
|
3
3
|
left: "right",
|
|
4
4
|
right: "left",
|
|
@@ -1758,8 +1758,8 @@ function Lv(n, e, t, r, s, i) {
|
|
|
1758
1758
|
n.handleResize ? (ee(), qe(o, {
|
|
1759
1759
|
key: 0,
|
|
1760
1760
|
onNotify: e[1] || (e[1] = (a) => n.$emit("resize", a))
|
|
1761
|
-
})) :
|
|
1762
|
-
], 64)) :
|
|
1761
|
+
})) : rt("", !0)
|
|
1762
|
+
], 64)) : rt("", !0)
|
|
1763
1763
|
], 512),
|
|
1764
1764
|
$("div", {
|
|
1765
1765
|
ref: "arrow",
|
|
@@ -6112,7 +6112,7 @@ const UA = /* @__PURE__ */ Fe({
|
|
|
6112
6112
|
onAfterEnter: u[1] || (u[1] = (c) => r("after-enter"))
|
|
6113
6113
|
}, {
|
|
6114
6114
|
default: it(() => [
|
|
6115
|
-
o.value ? Wt(l.$slots, "default", { key: 0 }) :
|
|
6115
|
+
o.value ? Wt(l.$slots, "default", { key: 0 }) : rt("", !0)
|
|
6116
6116
|
]),
|
|
6117
6117
|
_: 3
|
|
6118
6118
|
}, 8, ["name", "duration"]));
|
|
@@ -6173,7 +6173,7 @@ const pd = {
|
|
|
6173
6173
|
indeterminate: "",
|
|
6174
6174
|
size: "32"
|
|
6175
6175
|
}, null, 8, ["color"])
|
|
6176
|
-
])) :
|
|
6176
|
+
])) : rt("", !0),
|
|
6177
6177
|
u.loading ? (ee(), ye("div", GA, [
|
|
6178
6178
|
Wt(u.$slots, "default")
|
|
6179
6179
|
])) : Wt(u.$slots, "default", { key: 2 })
|
|
@@ -6308,7 +6308,7 @@ const pd = {
|
|
|
6308
6308
|
}, tt(de(s)[a.value].title), 3),
|
|
6309
6309
|
A[1] || (A[1] = $("div", { class: "mt-2 w-32 h-3 bg-primary" }, null, -1))
|
|
6310
6310
|
])
|
|
6311
|
-
])) :
|
|
6311
|
+
])) : rt("", !0)
|
|
6312
6312
|
]),
|
|
6313
6313
|
_: 1
|
|
6314
6314
|
}),
|
|
@@ -6322,7 +6322,7 @@ const pd = {
|
|
|
6322
6322
|
src: de(s)[a.value].imageSrc,
|
|
6323
6323
|
class: Ue(["absolute", [de(s)[a.value].imageClasses]]),
|
|
6324
6324
|
style: Kt([de(s)[a.value].imageStyles])
|
|
6325
|
-
}, null, 14, YA)) :
|
|
6325
|
+
}, null, 14, YA)) : rt("", !0)
|
|
6326
6326
|
]),
|
|
6327
6327
|
_: 1
|
|
6328
6328
|
}),
|
|
@@ -6341,7 +6341,7 @@ const pd = {
|
|
|
6341
6341
|
onEnded: g,
|
|
6342
6342
|
onClick: A[0] || (A[0] = (I) => r("click-video"))
|
|
6343
6343
|
}, null, 40, _A)
|
|
6344
|
-
])) :
|
|
6344
|
+
])) : rt("", !0)
|
|
6345
6345
|
]),
|
|
6346
6346
|
_: 1
|
|
6347
6347
|
})
|
|
@@ -6581,7 +6581,7 @@ const hE = ["onClick"], mE = { class: "h-full" }, pE = { class: "flex items-end"
|
|
|
6581
6581
|
I.key === de(o) && u.value === "end" ? (ee(), qe(A, {
|
|
6582
6582
|
key: 0,
|
|
6583
6583
|
class: "w-12 h-12 text-text"
|
|
6584
|
-
})) :
|
|
6584
|
+
})) : rt("", !0)
|
|
6585
6585
|
]),
|
|
6586
6586
|
_: 2
|
|
6587
6587
|
}, 1024)
|
|
@@ -6605,10 +6605,10 @@ const hE = ["onClick"], mE = { class: "h-full" }, pE = { class: "flex items-end"
|
|
|
6605
6605
|
Ft(tt(I.descriptions[0]) + " ", 1),
|
|
6606
6606
|
v[0] || (v[0] = $("br", null, null, -1)),
|
|
6607
6607
|
Ft(" " + tt(I.descriptions[1]), 1)
|
|
6608
|
-
])) :
|
|
6608
|
+
])) : rt("", !0)
|
|
6609
6609
|
]),
|
|
6610
6610
|
_: 2
|
|
6611
|
-
}, 1024)) :
|
|
6611
|
+
}, 1024)) : rt("", !0)
|
|
6612
6612
|
], 2)
|
|
6613
6613
|
]),
|
|
6614
6614
|
I.key === de(o) && u.value === "end" ? (ee(), qe(Im, {
|
|
@@ -6621,7 +6621,7 @@ const hE = ["onClick"], mE = { class: "h-full" }, pE = { class: "flex items-end"
|
|
|
6621
6621
|
Ft(tt(de(s)("commons.choose")), 1)
|
|
6622
6622
|
]),
|
|
6623
6623
|
_: 2
|
|
6624
|
-
}, 1032, ["color", "onClick"])) :
|
|
6624
|
+
}, 1032, ["color", "onClick"])) : rt("", !0)
|
|
6625
6625
|
])
|
|
6626
6626
|
], 6)
|
|
6627
6627
|
], 14, hE))), 256))
|
|
@@ -6827,7 +6827,7 @@ const hE = ["onClick"], mE = { class: "h-full" }, pE = { class: "flex items-end"
|
|
|
6827
6827
|
}), (g, v) => {
|
|
6828
6828
|
const A = _e("SpashIconChevronDown"), C = _e("SpashDropdown"), I = z0("close-popper");
|
|
6829
6829
|
return ee(), ye("div", wE, [
|
|
6830
|
-
g.label ? (ee(), ye("label", OE, tt(g.label), 1)) :
|
|
6830
|
+
g.label ? (ee(), ye("label", OE, tt(g.label), 1)) : rt("", !0),
|
|
6831
6831
|
Xe(C, {
|
|
6832
6832
|
disabled: g.disabled,
|
|
6833
6833
|
onHide: h,
|
|
@@ -6838,7 +6838,7 @@ const hE = ["onClick"], mE = { class: "h-full" }, pE = { class: "flex items-end"
|
|
|
6838
6838
|
class: "max-h-64 overflow-auto",
|
|
6839
6839
|
style: Kt([{ width: a.value }])
|
|
6840
6840
|
}, [
|
|
6841
|
-
g.options.length ?
|
|
6841
|
+
g.options.length ? rt("", !0) : (ee(), ye("li", FE, tt(g.emptyMessage), 1)),
|
|
6842
6842
|
(ee(!0), ye(Jt, null, vs(g.options, (b) => Dr((ee(), ye("li", {
|
|
6843
6843
|
key: b[g.itemKey],
|
|
6844
6844
|
class: Ue([[c(b[g.itemKey]) ? "text-red-500" : ""], "flex items-center py-4 cursor-pointer rounded-t-lg text-sm p-6 hover:text-red-500 hover:bg-red-100 font-medium"]),
|
|
@@ -7524,7 +7524,7 @@ const km = /* @__PURE__ */ je(hC, [["render", mC]]), pC = {
|
|
|
7524
7524
|
]),
|
|
7525
7525
|
e.showBlur ? (ee(), ye("defs", xC, t[0] || (t[0] = [
|
|
7526
7526
|
Bi('<filter id="a" x=".827" y="8.716" width="130.659" height="130.562" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="15"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 0.196078 0 0 0 0 0.294118 0 0 0 0.62 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_4587_32262"></feBlend><feBlend in="SourceGraphic" in2="effect1_dropShadow_4587_32262" result="shape"></feBlend></filter><filter id="b" x="72.27" y=".886" width="69.838" height="68.5" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="10"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 0.196078 0 0 0 0 0.294118 0 0 0 0.57 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_4587_32262"></feBlend><feBlend in="SourceGraphic" in2="effect1_dropShadow_4587_32262" result="shape"></feBlend></filter><filter id="c" x="69.389" y="74.942" width="75.792" height="75.741" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="10"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 0.196078 0 0 0 0 0.294118 0 0 0 0.57 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_4587_32262"></feBlend><feBlend in="SourceGraphic" in2="effect1_dropShadow_4587_32262" result="shape"></feBlend></filter>', 3)
|
|
7527
|
-
]))) :
|
|
7527
|
+
]))) : rt("", !0)
|
|
7528
7528
|
], 2));
|
|
7529
7529
|
}
|
|
7530
7530
|
}), CC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -7615,13 +7615,13 @@ const km = /* @__PURE__ */ je(hC, [["render", mC]]), pC = {
|
|
|
7615
7615
|
Wt(l.$slots, "default")
|
|
7616
7616
|
]),
|
|
7617
7617
|
_: 3
|
|
7618
|
-
}, 16, ["class", "style"])) :
|
|
7618
|
+
}, 16, ["class", "style"])) : rt("", !0)
|
|
7619
7619
|
]),
|
|
7620
7620
|
_: 3
|
|
7621
7621
|
}, 8, ["name"])
|
|
7622
7622
|
], 2)
|
|
7623
7623
|
])
|
|
7624
|
-
], 2)) :
|
|
7624
|
+
], 2)) : rt("", !0)
|
|
7625
7625
|
]);
|
|
7626
7626
|
};
|
|
7627
7627
|
}
|
|
@@ -8036,7 +8036,7 @@ const pb = () => {
|
|
|
8036
8036
|
]));
|
|
8037
8037
|
}
|
|
8038
8038
|
}), Eb = /* @__PURE__ */ je(Ab, [["__scopeId", "data-v-881f5b87"]]);
|
|
8039
|
-
var
|
|
8039
|
+
var nt = /* @__PURE__ */ ((n) => (n.buzz = "buzz", n.layer = "layer", n.draw = "draw", n.field2D = "field2D", n.resumeAuto = "resumeAuto", n.filterPlayers = "filterPlayers", n))(nt || {}), ks = /* @__PURE__ */ ((n) => (n.fullscreen = "fullscreen", n.readingSpeed = "reading-speed", n.videoTimecode = "video-timecode", n.playPause = "play-pause", n.changeTimecode = "change-timecode", n))(ks || {}), _n = /* @__PURE__ */ ((n) => (n.black = "--color-black", n.white = "--color-white", n.red = "--color-red-500", n.yellow = "--color-yellow-500", n.green = "--color-green-500", n.blue = "--color-blue-500", n))(_n || {}), jn = /* @__PURE__ */ ((n) => (n.PLAY = "PLAY", n.PAUSE = "PAUSE", n))(jn || {});
|
|
8040
8040
|
const xb = { class: "flex flex-col gap-12 w-full" }, Sb = ["onClick"], Cb = /* @__PURE__ */ Fe({
|
|
8041
8041
|
__name: "SpashVideoCameras",
|
|
8042
8042
|
props: {
|
|
@@ -25195,7 +25195,7 @@ const W3 = /* @__PURE__ */ Fe({
|
|
|
25195
25195
|
C[0] || (C[0] = (B) => o.value = B),
|
|
25196
25196
|
c
|
|
25197
25197
|
]
|
|
25198
|
-
}, null, 8, ["modelValue"])) :
|
|
25198
|
+
}, null, 8, ["modelValue"])) : rt("", !0),
|
|
25199
25199
|
(b = de(s)) != null && b.includes(de(ks).changeTimecode) ? (ee(), qe(_3, {
|
|
25200
25200
|
key: 1,
|
|
25201
25201
|
modelValue: a.value,
|
|
@@ -25203,14 +25203,14 @@ const W3 = /* @__PURE__ */ Fe({
|
|
|
25203
25203
|
C[1] || (C[1] = (B) => a.value = B),
|
|
25204
25204
|
d
|
|
25205
25205
|
]
|
|
25206
|
-
}, null, 8, ["modelValue"])) :
|
|
25206
|
+
}, null, 8, ["modelValue"])) : rt("", !0),
|
|
25207
25207
|
(L = de(s)) != null && L.includes(de(ks).videoTimecode) ? (ee(), qe(r5, {
|
|
25208
25208
|
key: 2,
|
|
25209
25209
|
"video-timecode": A.videoTimecode,
|
|
25210
25210
|
"video-timecode-total": A.videoTimecodeTotal,
|
|
25211
25211
|
"onUpdate:timecode": h,
|
|
25212
25212
|
"onClick:timecode": p
|
|
25213
|
-
}, null, 8, ["video-timecode", "video-timecode-total"])) :
|
|
25213
|
+
}, null, 8, ["video-timecode", "video-timecode-total"])) : rt("", !0),
|
|
25214
25214
|
(O = de(s)) != null && O.includes(de(ks).readingSpeed) ? (ee(), qe($3, {
|
|
25215
25215
|
key: 3,
|
|
25216
25216
|
modelValue: l.value,
|
|
@@ -25218,7 +25218,7 @@ const W3 = /* @__PURE__ */ Fe({
|
|
|
25218
25218
|
C[2] || (C[2] = (B) => l.value = B),
|
|
25219
25219
|
g
|
|
25220
25220
|
]
|
|
25221
|
-
}, null, 8, ["modelValue"])) :
|
|
25221
|
+
}, null, 8, ["modelValue"])) : rt("", !0),
|
|
25222
25222
|
(N = de(s)) != null && N.includes(de(ks).fullscreen) ? (ee(), qe(s5, {
|
|
25223
25223
|
key: 4,
|
|
25224
25224
|
modelValue: u.value,
|
|
@@ -25226,7 +25226,7 @@ const W3 = /* @__PURE__ */ Fe({
|
|
|
25226
25226
|
C[3] || (C[3] = (B) => u.value = B),
|
|
25227
25227
|
v
|
|
25228
25228
|
]
|
|
25229
|
-
}, null, 8, ["modelValue"])) :
|
|
25229
|
+
}, null, 8, ["modelValue"])) : rt("", !0)
|
|
25230
25230
|
]);
|
|
25231
25231
|
};
|
|
25232
25232
|
}
|
|
@@ -25244,10 +25244,10 @@ const W3 = /* @__PURE__ */ Fe({
|
|
|
25244
25244
|
const A = Ie(() => ({
|
|
25245
25245
|
transform: `translate(calc(-50% + ${g.value}px), calc(-50% + ${v.value}px)) scale(${l.value})`
|
|
25246
25246
|
})), C = (G) => {
|
|
25247
|
-
s.value && (G.touches.length === 2 ?
|
|
25247
|
+
s.value && (G.touches.length === 2 ? d.value = O(G.touches) : G.touches.length === 1 && l.value > 1 && (c.value = !0, h.value = G.touches[0].clientX, p.value = G.touches[0].clientY));
|
|
25248
25248
|
}, I = (G) => {
|
|
25249
25249
|
if (!(!s.value || !o.value)) {
|
|
25250
|
-
if (G.
|
|
25250
|
+
if (G.touches.length === 2) {
|
|
25251
25251
|
const _ = O(G.touches), Z = _ - d.value;
|
|
25252
25252
|
if (Math.abs(Z) > 8) {
|
|
25253
25253
|
const J = N(G.touches), le = Z > 0 ? 1.015 : 0.985;
|
|
@@ -25262,7 +25262,7 @@ const W3 = /* @__PURE__ */ Fe({
|
|
|
25262
25262
|
}, b = (G) => {
|
|
25263
25263
|
s.value && G.touches.length < 2 && (c.value = !1);
|
|
25264
25264
|
}, L = (G) => {
|
|
25265
|
-
if (!s.value || !i.value ||
|
|
25265
|
+
if (!s.value || !i.value || !a.value) return;
|
|
25266
25266
|
const _ = a.value.getBoundingClientRect(), Z = {
|
|
25267
25267
|
x: G.clientX - _.left,
|
|
25268
25268
|
y: G.clientY - _.top
|
|
@@ -25306,10 +25306,10 @@ const W3 = /* @__PURE__ */ Fe({
|
|
|
25306
25306
|
ref_key: "videoContainer",
|
|
25307
25307
|
ref: a,
|
|
25308
25308
|
class: "relative touch-none h-full z-2 overflow-hidden",
|
|
25309
|
-
|
|
25310
|
-
|
|
25311
|
-
|
|
25312
|
-
|
|
25309
|
+
onTouchstartPassive: C,
|
|
25310
|
+
onTouchmovePassive: I,
|
|
25311
|
+
onTouchendPassive: b,
|
|
25312
|
+
onWheelPassive: L
|
|
25313
25313
|
}, [
|
|
25314
25314
|
$("div", {
|
|
25315
25315
|
class: "absolute top-1/2 left-1/2 object-fill transition-transform duration-100 ease-out origin-center w-full h-full",
|
|
@@ -25586,7 +25586,7 @@ const p5 = {
|
|
|
25586
25586
|
key: 0,
|
|
25587
25587
|
class: Ue(["w-full h-full text-white flex items-center justify-center bg-black bg-opacity-70 text-4xl font-bold", [ue.spashMode === "landscape" ? "" : "min-h-[600px]"]]),
|
|
25588
25588
|
style: { padding: "0 300px" }
|
|
25589
|
-
}, tt(ue.$t("components.SpashVideo.SpashVideoPlayer.videoError")), 3)) :
|
|
25589
|
+
}, tt(ue.$t("components.SpashVideo.SpashVideoPlayer.videoError")), 3)) : rt("", !0),
|
|
25590
25590
|
x[1] || (x[1] = $("div", { id: "spash-video-layer-option" }, null, -1)),
|
|
25591
25591
|
x[2] || (x[2] = $("div", { id: "spash-video-draw-option" }, null, -1))
|
|
25592
25592
|
]),
|
|
@@ -25610,7 +25610,7 @@ const p5 = {
|
|
|
25610
25610
|
"onUpdate:fullscreen": Z,
|
|
25611
25611
|
"onClick:timecode": J,
|
|
25612
25612
|
"onControls:loaded": se
|
|
25613
|
-
}, null, 8, ["controlsEnabled", "style", "video-timecode", "video-timecode-total", "class", "has-buzz-enabled"])) :
|
|
25613
|
+
}, null, 8, ["controlsEnabled", "style", "video-timecode", "video-timecode-total", "class", "has-buzz-enabled"])) : rt("", !0)
|
|
25614
25614
|
]),
|
|
25615
25615
|
_: 1
|
|
25616
25616
|
}),
|
|
@@ -25620,7 +25620,7 @@ const p5 = {
|
|
|
25620
25620
|
indeterminate: "",
|
|
25621
25621
|
size: "64"
|
|
25622
25622
|
})
|
|
25623
|
-
])) :
|
|
25623
|
+
])) : rt("", !0)
|
|
25624
25624
|
], 2);
|
|
25625
25625
|
};
|
|
25626
25626
|
}
|
|
@@ -25748,13 +25748,13 @@ const U5 = /* @__PURE__ */ je(F5, [["render", D5]]), N5 = { class: "relative min
|
|
|
25748
25748
|
alt: de(a).alt
|
|
25749
25749
|
}, null, 8, B5),
|
|
25750
25750
|
$("p", V5, tt(u.value), 1),
|
|
25751
|
-
de(t).type === "goal" ? (ee(), ye("p", G5, tt(c.value), 1)) :
|
|
25752
|
-
de(t).type === "game" ? (ee(), ye("p", z5, tt((b = de(t)) == null ? void 0 : b.currentScoreHome[(I = de(t)) == null ? void 0 : I.currentSet]) + " - " + tt((O = de(t)) == null ? void 0 : O.currentScoreAway[(L = de(t)) == null ? void 0 : L.currentSet]), 1)) :
|
|
25751
|
+
de(t).type === "goal" ? (ee(), ye("p", G5, tt(c.value), 1)) : rt("", !0),
|
|
25752
|
+
de(t).type === "game" ? (ee(), ye("p", z5, tt((b = de(t)) == null ? void 0 : b.currentScoreHome[(I = de(t)) == null ? void 0 : I.currentSet]) + " - " + tt((O = de(t)) == null ? void 0 : O.currentScoreAway[(L = de(t)) == null ? void 0 : L.currentSet]), 1)) : rt("", !0),
|
|
25753
25753
|
de(t).type === "new_set" ? (ee(), ye("div", j5, [
|
|
25754
25754
|
$("p", H5, tt(((N = de(t)) == null ? void 0 : N.currentSet) + 1), 1),
|
|
25755
25755
|
Xe(v, { class: "w-8 h-8 mx-2" }),
|
|
25756
25756
|
$("p", K5, tt(((B = de(t)) == null ? void 0 : B.currentSet) + 2), 1)
|
|
25757
|
-
])) :
|
|
25757
|
+
])) : rt("", !0),
|
|
25758
25758
|
Xe(C, {
|
|
25759
25759
|
size: "sm",
|
|
25760
25760
|
color: h.value.color,
|
|
@@ -25766,7 +25766,7 @@ const U5 = /* @__PURE__ */ je(F5, [["render", D5]]), N5 = { class: "relative min
|
|
|
25766
25766
|
class: "w-5 h-5",
|
|
25767
25767
|
"animation-active": !1
|
|
25768
25768
|
})
|
|
25769
|
-
])) :
|
|
25769
|
+
])) : rt("", !0),
|
|
25770
25770
|
$("div", {
|
|
25771
25771
|
class: Ue({ "mt-1": de(t).aiCalculated })
|
|
25772
25772
|
}, tt(h.value.title), 3)
|
|
@@ -25951,7 +25951,7 @@ const U5 = /* @__PURE__ */ je(F5, [["render", D5]]), N5 = { class: "relative min
|
|
|
25951
25951
|
"item-key": "id",
|
|
25952
25952
|
"item-value": "name",
|
|
25953
25953
|
multiple: ""
|
|
25954
|
-
}, null, 8, ["modelValue", "options"])) :
|
|
25954
|
+
}, null, 8, ["modelValue", "options"])) : rt("", !0),
|
|
25955
25955
|
de(l) ? (ee(), qe(Ns, {
|
|
25956
25956
|
key: 1,
|
|
25957
25957
|
to: "#spash-video-resume-auto"
|
|
@@ -25966,7 +25966,7 @@ const U5 = /* @__PURE__ */ je(F5, [["render", D5]]), N5 = { class: "relative min
|
|
|
25966
25966
|
"true-label": de(u)("commons.on"),
|
|
25967
25967
|
"false-label": de(u)("commons.off")
|
|
25968
25968
|
}, null, 8, ["modelValue", "label", "true-label", "false-label"])
|
|
25969
|
-
])) :
|
|
25969
|
+
])) : rt("", !0),
|
|
25970
25970
|
Xe(oe, {
|
|
25971
25971
|
class: "flex items-center gap-4 font-medium",
|
|
25972
25972
|
size: "sm",
|
|
@@ -26255,43 +26255,43 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26255
26255
|
return ((ge = (oe = (se = i.value) == null ? void 0 : se.field) == null ? void 0 : oe.sport) == null ? void 0 : ge.racketSport) || !1;
|
|
26256
26256
|
}), C = ve(o.value), I = fu([
|
|
26257
26257
|
{
|
|
26258
|
-
key:
|
|
26258
|
+
key: nt.buzz,
|
|
26259
26259
|
icon: E5,
|
|
26260
26260
|
iconClass: "w-14 h-14",
|
|
26261
|
-
display: a.value.includes(
|
|
26261
|
+
display: a.value.includes(nt.buzz),
|
|
26262
26262
|
disabled: !1,
|
|
26263
26263
|
onClick: () => {
|
|
26264
|
-
j(
|
|
26264
|
+
j(nt.buzz);
|
|
26265
26265
|
}
|
|
26266
26266
|
},
|
|
26267
26267
|
{
|
|
26268
|
-
key:
|
|
26268
|
+
key: nt.field2D,
|
|
26269
26269
|
icon: A.value ? b5 : w5,
|
|
26270
26270
|
iconClass: "w-14 h-14",
|
|
26271
|
-
display: a.value.includes(
|
|
26271
|
+
display: a.value.includes(nt.field2D),
|
|
26272
26272
|
disabled: !1,
|
|
26273
26273
|
onClick: () => {
|
|
26274
|
-
j(
|
|
26274
|
+
j(nt.field2D);
|
|
26275
26275
|
}
|
|
26276
26276
|
},
|
|
26277
26277
|
{
|
|
26278
|
-
key:
|
|
26278
|
+
key: nt.layer,
|
|
26279
26279
|
icon: P5,
|
|
26280
26280
|
iconClass: "w-12 h-12",
|
|
26281
|
-
display: a.value.includes(
|
|
26281
|
+
display: a.value.includes(nt.layer),
|
|
26282
26282
|
disabled: !v.value,
|
|
26283
26283
|
onClick: () => {
|
|
26284
|
-
v.value && j(
|
|
26284
|
+
v.value && j(nt.layer);
|
|
26285
26285
|
}
|
|
26286
26286
|
},
|
|
26287
26287
|
{
|
|
26288
|
-
key:
|
|
26288
|
+
key: nt.draw,
|
|
26289
26289
|
icon: U5,
|
|
26290
26290
|
iconClass: "w-10 h-10",
|
|
26291
|
-
display: a.value.includes(
|
|
26291
|
+
display: a.value.includes(nt.draw),
|
|
26292
26292
|
disabled: !1,
|
|
26293
26293
|
onClick: () => {
|
|
26294
|
-
j(
|
|
26294
|
+
j(nt.draw);
|
|
26295
26295
|
}
|
|
26296
26296
|
}
|
|
26297
26297
|
]), b = ve(null), L = ve(null), O = ve(_n.red), N = Ie(() => I.value.filter((se) => se.display)), B = Ie(() => {
|
|
@@ -26301,14 +26301,14 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26301
26301
|
var se;
|
|
26302
26302
|
return ((se = b.value) == null ? void 0 : se.enableNext) || !1;
|
|
26303
26303
|
}), j = (se) => {
|
|
26304
|
-
C.value.includes(se) ? [
|
|
26305
|
-
(ge) => ge !==
|
|
26304
|
+
C.value.includes(se) ? [nt.field2D, nt.draw].includes(se) ? C.value = C.value.filter(
|
|
26305
|
+
(ge) => ge !== nt.field2D && ge !== nt.draw
|
|
26306
26306
|
) : C.value = C.value.filter(
|
|
26307
26307
|
(ge) => ge !== se
|
|
26308
|
-
) : (C.value = [...C.value, se], se ===
|
|
26308
|
+
) : (C.value = [...C.value, se], se === nt.field2D && (C.value = [
|
|
26309
26309
|
...C.value,
|
|
26310
26310
|
se,
|
|
26311
|
-
|
|
26311
|
+
nt.draw
|
|
26312
26312
|
])), s("update:optionsSelected", C.value);
|
|
26313
26313
|
}, G = ({ width: se, height: oe }) => {
|
|
26314
26314
|
var ge;
|
|
@@ -26333,7 +26333,7 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26333
26333
|
g.value = !0;
|
|
26334
26334
|
}), Yt(d, () => {
|
|
26335
26335
|
I.value.forEach((se) => {
|
|
26336
|
-
se.key ===
|
|
26336
|
+
se.key === nt.layer && (se.disabled = !v.value, se.disabled && C.value.includes(nt.layer) && j(nt.layer));
|
|
26337
26337
|
});
|
|
26338
26338
|
}), Yt(o, (se) => {
|
|
26339
26339
|
C.value = se;
|
|
@@ -26363,12 +26363,12 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26363
26363
|
(ee(), qe(Vi(ue.icon), {
|
|
26364
26364
|
class: Ue([ue.iconClass])
|
|
26365
26365
|
}, null, 8, ["class"])),
|
|
26366
|
-
ue.key === de(
|
|
26366
|
+
ue.key === de(nt).draw ? (ee(), qe(ge, {
|
|
26367
26367
|
key: 0,
|
|
26368
26368
|
name: "slide-left"
|
|
26369
26369
|
}, {
|
|
26370
26370
|
default: it(() => [
|
|
26371
|
-
C.value.includes(de(
|
|
26371
|
+
C.value.includes(de(nt).draw) ? (ee(), qe(o2, {
|
|
26372
26372
|
key: 0,
|
|
26373
26373
|
color: O.value,
|
|
26374
26374
|
"onUpdate:color": oe[0] || (oe[0] = (x) => O.value = x),
|
|
@@ -26380,15 +26380,15 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26380
26380
|
"onDraw:prev": J,
|
|
26381
26381
|
"onDraw:next": le,
|
|
26382
26382
|
"onDraw:delete": ae
|
|
26383
|
-
}, null, 8, ["color", "total-strokes", "enable-next", "onClose"])) :
|
|
26383
|
+
}, null, 8, ["color", "total-strokes", "enable-next", "onClose"])) : rt("", !0)
|
|
26384
26384
|
]),
|
|
26385
26385
|
_: 2
|
|
26386
|
-
}, 1024)) :
|
|
26386
|
+
}, 1024)) : rt("", !0)
|
|
26387
26387
|
], 10, p2))), 128))
|
|
26388
26388
|
])
|
|
26389
26389
|
], 2),
|
|
26390
26390
|
(ee(), qe(Ns, { to: "body" }, [
|
|
26391
|
-
de(a).includes(de(
|
|
26391
|
+
de(a).includes(de(nt).buzz) ? (ee(), qe(ge, {
|
|
26392
26392
|
key: 0,
|
|
26393
26393
|
name: "slide-up"
|
|
26394
26394
|
}, {
|
|
@@ -26401,63 +26401,63 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26401
26401
|
timecode: de(h),
|
|
26402
26402
|
"session-event-types": se.sessionEventTypes,
|
|
26403
26403
|
"navigate-back": se.navigateBack,
|
|
26404
|
-
"has-resume-auto": de(a).includes(de(
|
|
26405
|
-
"has-filter-players": de(a).includes(de(
|
|
26404
|
+
"has-resume-auto": de(a).includes(de(nt).resumeAuto) && se.isLoadedControls,
|
|
26405
|
+
"has-filter-players": de(a).includes(de(nt).filterPlayers) && se.isLoadedControls,
|
|
26406
26406
|
"onUpdate:timecode": oe[2] || (oe[2] = (ue) => se.$emit("update:timecode", ue)),
|
|
26407
|
-
onClose: oe[3] || (oe[3] = (ue) => j(de(
|
|
26407
|
+
onClose: oe[3] || (oe[3] = (ue) => j(de(nt).buzz))
|
|
26408
26408
|
}, null, 8, ["session", "events", "timecode", "session-event-types", "navigate-back", "has-resume-auto", "has-filter-players"]), [
|
|
26409
|
-
[Bs, C.value.includes(de(
|
|
26409
|
+
[Bs, C.value.includes(de(nt).buzz)]
|
|
26410
26410
|
])
|
|
26411
26411
|
]),
|
|
26412
26412
|
_: 1
|
|
26413
|
-
})) :
|
|
26413
|
+
})) : rt("", !0)
|
|
26414
26414
|
])),
|
|
26415
|
-
de(a).includes(de(
|
|
26415
|
+
de(a).includes(de(nt).field2D) ? (ee(), qe(ge, { key: 0 }, {
|
|
26416
26416
|
default: it(() => [
|
|
26417
|
-
C.value.includes(de(
|
|
26417
|
+
C.value.includes(de(nt).field2D) ? (ee(), qe(f2, {
|
|
26418
26418
|
key: 0,
|
|
26419
26419
|
"is-racket-sport": A.value
|
|
26420
|
-
}, null, 8, ["is-racket-sport"])) :
|
|
26420
|
+
}, null, 8, ["is-racket-sport"])) : rt("", !0)
|
|
26421
26421
|
]),
|
|
26422
26422
|
_: 1
|
|
26423
|
-
})) :
|
|
26423
|
+
})) : rt("", !0),
|
|
26424
26424
|
g.value ? (ee(), qe(Ns, {
|
|
26425
26425
|
key: 1,
|
|
26426
26426
|
to: "#spash-video-layer-option"
|
|
26427
26427
|
}, [
|
|
26428
|
-
de(a).includes(de(
|
|
26428
|
+
de(a).includes(de(nt).layer) ? (ee(), qe(ge, { key: 0 }, {
|
|
26429
26429
|
default: it(() => [
|
|
26430
26430
|
Dr(Xe(h2, {
|
|
26431
26431
|
ref_key: "spashVideoOptionsLayerEl",
|
|
26432
26432
|
ref: L,
|
|
26433
26433
|
field: de(c)
|
|
26434
26434
|
}, null, 8, ["field"]), [
|
|
26435
|
-
[Bs, C.value.includes(de(
|
|
26435
|
+
[Bs, C.value.includes(de(nt).layer)]
|
|
26436
26436
|
])
|
|
26437
26437
|
]),
|
|
26438
26438
|
_: 1
|
|
26439
|
-
})) :
|
|
26440
|
-
])) :
|
|
26439
|
+
})) : rt("", !0)
|
|
26440
|
+
])) : rt("", !0),
|
|
26441
26441
|
g.value ? (ee(), qe(Ns, {
|
|
26442
26442
|
key: 2,
|
|
26443
26443
|
to: "#spash-video-draw-option"
|
|
26444
26444
|
}, [
|
|
26445
|
-
de(a).includes(de(
|
|
26445
|
+
de(a).includes(de(nt).draw) ? (ee(), qe(ge, { key: 0 }, {
|
|
26446
26446
|
default: it(() => [
|
|
26447
26447
|
Dr(Xe(e2, {
|
|
26448
26448
|
ref_key: "spashVideoOptionsDrawEl",
|
|
26449
26449
|
ref: b,
|
|
26450
26450
|
color: O.value,
|
|
26451
|
-
"is-open": C.value.includes(de(
|
|
26452
|
-
"is-open-field2d": C.value.includes(de(
|
|
26451
|
+
"is-open": C.value.includes(de(nt).draw),
|
|
26452
|
+
"is-open-field2d": C.value.includes(de(nt).field2D),
|
|
26453
26453
|
"spash-mode": se.spashMode
|
|
26454
26454
|
}, null, 8, ["color", "is-open", "is-open-field2d", "spash-mode"]), [
|
|
26455
|
-
[Bs, C.value.includes(de(
|
|
26455
|
+
[Bs, C.value.includes(de(nt).draw)]
|
|
26456
26456
|
])
|
|
26457
26457
|
]),
|
|
26458
26458
|
_: 1
|
|
26459
|
-
})) :
|
|
26460
|
-
])) :
|
|
26459
|
+
})) : rt("", !0)
|
|
26460
|
+
])) : rt("", !0)
|
|
26461
26461
|
]);
|
|
26462
26462
|
};
|
|
26463
26463
|
}
|
|
@@ -26493,9 +26493,9 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26493
26493
|
for (let ge = 0; ge < i.value.field.camerasTotal; ge++)
|
|
26494
26494
|
oe = [...oe, `/data/ngtv_sessions/${i.value.reference}/video${ge}.m3u8`];
|
|
26495
26495
|
return oe;
|
|
26496
|
-
}), O = Ie(() => L.value[c.value - 1]), N = Ie(() => a.value.includes(
|
|
26496
|
+
}), O = Ie(() => L.value[c.value - 1]), N = Ie(() => a.value.includes(nt.buzz)), B = Ie(
|
|
26497
26497
|
() => i.value.ngtvSessionEvents.filter((oe) => !oe.type.includes("FastestHit"))
|
|
26498
|
-
), q = Ie(() => a.value.
|
|
26498
|
+
), q = Ie(() => a.value.includes(nt.draw)), j = (oe) => {
|
|
26499
26499
|
var ge, ue, x;
|
|
26500
26500
|
(ge = d.value) == null || ge.createCanvas({ width: +oe.width, height: +oe.height }), (ue = u.value) == null || ue.setControlWidth(`${+oe.width}px`), (x = d.value) == null || x.createLayerContainer({ width: +oe.width, height: +oe.height }), h.value = !0;
|
|
26501
26501
|
}, G = (oe) => {
|
|
@@ -26513,9 +26513,9 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26513
26513
|
}, ae = () => {
|
|
26514
26514
|
I.value = !0;
|
|
26515
26515
|
}, se = () => {
|
|
26516
|
-
|
|
26516
|
+
q.value && s(
|
|
26517
26517
|
"update:optionsSelected",
|
|
26518
|
-
a.value.filter((
|
|
26518
|
+
a.value.filter((oe) => oe !== "draw")
|
|
26519
26519
|
);
|
|
26520
26520
|
};
|
|
26521
26521
|
return Yt(
|
|
@@ -26537,13 +26537,13 @@ const e2 = /* @__PURE__ */ Fe({
|
|
|
26537
26537
|
$("div", jr({
|
|
26538
26538
|
class: ["flex", [
|
|
26539
26539
|
`video-mode-${oe.spashMode}`,
|
|
26540
|
-
oe.fullWidth && !g.value.includes(de(
|
|
26540
|
+
oe.fullWidth && !g.value.includes(de(nt).field2D) && !v.value ? "relative" : "",
|
|
26541
26541
|
v.value ? "absolute left-0 top-0 z-5 w-full" : "",
|
|
26542
26542
|
oe.spashMode === "landscape" ? "h-full" : "w-full min-h-[600px]",
|
|
26543
26543
|
oe.extraClasses
|
|
26544
26544
|
]]
|
|
26545
26545
|
}, oe.$attrs), [
|
|
26546
|
-
v.value ?
|
|
26546
|
+
v.value ? rt("", !0) : (ee(), qe(Cb, {
|
|
26547
26547
|
key: 0,
|
|
26548
26548
|
"cameras-total": C.value,
|
|
26549
26549
|
"full-width": oe.fullWidth,
|
|
@@ -38326,7 +38326,7 @@ export {
|
|
|
38326
38326
|
B9 as Plugin,
|
|
38327
38327
|
E9 as SessionStatus,
|
|
38328
38328
|
ks as SpashVideoControls,
|
|
38329
|
-
|
|
38329
|
+
nt as SpashVideoOptions,
|
|
38330
38330
|
V9 as default,
|
|
38331
38331
|
O9 as useAdServer,
|
|
38332
38332
|
L9 as useAxios,
|