xsg-player-sdk
Advanced tools
Comparing version
@@ -1,6 +0,6 @@ | ||
import { sharedConfig as O, createRenderEffect as x, untrack as Ge, createSignal as S, onMount as Ze, onCleanup as Fe, createMemo as k, createComponent as u, splitProps as et, createEffect as tt, mergeProps as nt, For as Ce, Switch as lt, Match as oe } from "solid-js"; | ||
import { DropdownMenu as b, ToggleButton as rt } from "@kobalte/core"; | ||
import { createElementBounds as He } from "@solid-primitives/bounds"; | ||
import { createIdleTimer as ot } from "@solid-primitives/idle"; | ||
const it = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], st = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...it]), at = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ct = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), { | ||
import { sharedConfig as B, createRenderEffect as C, untrack as me, createSignal as S, onMount as Fe, onCleanup as He, createMemo as A, createComponent as u, splitProps as We, createEffect as Se, mergeProps as et, For as Y, Show as tt, Switch as nt, Match as fe } from "solid-js"; | ||
import { DropdownMenu as p, ToggleButton as lt } from "@kobalte/core"; | ||
import { createElementBounds as Xe } from "@solid-primitives/bounds"; | ||
import { createIdleTimer as rt } from "@solid-primitives/idle"; | ||
const ot = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], it = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...ot]), st = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), at = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), { | ||
className: "class", | ||
@@ -33,11 +33,11 @@ htmlFor: "for" | ||
}); | ||
function dt(n, t) { | ||
function ct(n, t) { | ||
const e = ut[n]; | ||
return typeof e == "object" ? e[t] ? e.$ : void 0 : e; | ||
} | ||
const ft = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), ht = { | ||
const dt = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), ft = { | ||
xlink: "http://www.w3.org/1999/xlink", | ||
xml: "http://www.w3.org/XML/1998/namespace" | ||
}; | ||
function vt(n, t, e) { | ||
function ht(n, t, e) { | ||
let r = e.length, l = t.length, i = r, s = 0, o = 0, c = t[l - 1].nextSibling, d = null; | ||
@@ -52,5 +52,5 @@ for (; s < l || o < i; ) { | ||
if (l === s) { | ||
const h = i < r ? o ? e[o - 1].nextSibling : e[i - o] : c; | ||
const _ = i < r ? o ? e[o - 1].nextSibling : e[i - o] : c; | ||
for (; o < i; ) | ||
n.insertBefore(e[o++], h); | ||
n.insertBefore(e[o++], _); | ||
} else if (i === o) | ||
@@ -60,21 +60,21 @@ for (; s < l; ) | ||
else if (t[s] === e[i - 1] && e[o] === t[l - 1]) { | ||
const h = t[--l].nextSibling; | ||
n.insertBefore(e[o++], t[s++].nextSibling), n.insertBefore(e[--i], h), t[l] = e[i]; | ||
const _ = t[--l].nextSibling; | ||
n.insertBefore(e[o++], t[s++].nextSibling), n.insertBefore(e[--i], _), t[l] = e[i]; | ||
} else { | ||
if (!d) { | ||
d = /* @__PURE__ */ new Map(); | ||
let f = o; | ||
for (; f < i; ) | ||
d.set(e[f], f++); | ||
let h = o; | ||
for (; h < i; ) | ||
d.set(e[h], h++); | ||
} | ||
const h = d.get(t[s]); | ||
if (h != null) | ||
if (o < h && h < i) { | ||
let f = s, T = 1, D; | ||
for (; ++f < l && f < i && !((D = d.get(t[f])) == null || D !== h + T); ) | ||
T++; | ||
if (T > h - o) { | ||
const P = t[s]; | ||
for (; o < h; ) | ||
n.insertBefore(e[o++], P); | ||
const _ = d.get(t[s]); | ||
if (_ != null) | ||
if (o < _ && _ < i) { | ||
let h = s, E = 1, T; | ||
for (; ++h < l && h < i && !((T = d.get(t[h])) == null || T !== _ + E); ) | ||
E++; | ||
if (E > _ - o) { | ||
const V = t[s]; | ||
for (; o < _; ) | ||
n.insertBefore(e[o++], V); | ||
} else | ||
@@ -89,4 +89,4 @@ n.replaceChild(e[o++], t[s++]); | ||
} | ||
const Me = "_$DX_DELEGATE"; | ||
function w(n, t, e) { | ||
const Te = "_$DX_DELEGATE"; | ||
function x(n, t, e) { | ||
let r; | ||
@@ -96,22 +96,22 @@ const l = () => { | ||
return s.innerHTML = n, e ? s.content.firstChild.firstChild : s.content.firstChild; | ||
}, i = t ? () => (r || (r = l())).cloneNode(!0) : () => Ge(() => document.importNode(r || (r = l()), !0)); | ||
}, i = t ? () => (r || (r = l())).cloneNode(!0) : () => me(() => document.importNode(r || (r = l()), !0)); | ||
return i.cloneNode = i, i; | ||
} | ||
function J(n, t = window.document) { | ||
const e = t[Me] || (t[Me] = /* @__PURE__ */ new Set()); | ||
function oe(n, t = window.document) { | ||
const e = t[Te] || (t[Te] = /* @__PURE__ */ new Set()); | ||
for (let r = 0, l = n.length; r < l; r++) { | ||
const i = n[r]; | ||
e.has(i) || (e.add(i), t.addEventListener(i, yt)); | ||
e.has(i) || (e.add(i), t.addEventListener(i, pt)); | ||
} | ||
} | ||
function A(n, t, e) { | ||
function z(n, t, e) { | ||
e == null ? n.removeAttribute(t) : n.setAttribute(t, e); | ||
} | ||
function _t(n, t, e, r) { | ||
function vt(n, t, e, r) { | ||
r == null ? n.removeAttributeNS(t, e) : n.setAttributeNS(t, e, r); | ||
} | ||
function _(n, t) { | ||
function v(n, t) { | ||
t == null ? n.removeAttribute("class") : n.className = t; | ||
} | ||
function mt(n, t, e, r) { | ||
function _t(n, t, e, r) { | ||
if (r) | ||
@@ -125,3 +125,3 @@ Array.isArray(e) ? (n[`$$${t}`] = e[0], n[`$$${t}Data`] = e[1]) : n[`$$${t}`] = e; | ||
} | ||
function gt(n, t, e = {}) { | ||
function mt(n, t, e = {}) { | ||
const r = Object.keys(t || {}), l = Object.keys(e); | ||
@@ -131,13 +131,13 @@ let i, s; | ||
const o = l[i]; | ||
!o || o === "undefined" || t[o] || (Se(n, o, !1), delete e[o]); | ||
!o || o === "undefined" || t[o] || (De(n, o, !1), delete e[o]); | ||
} | ||
for (i = 0, s = r.length; i < s; i++) { | ||
const o = r[i], c = !!t[o]; | ||
!o || o === "undefined" || e[o] === c || !c || (Se(n, o, !0), e[o] = c); | ||
!o || o === "undefined" || e[o] === c || !c || (De(n, o, !0), e[o] = c); | ||
} | ||
return e; | ||
} | ||
function $t(n, t, e) { | ||
function gt(n, t, e) { | ||
if (!t) | ||
return e ? A(n, "style") : t; | ||
return e ? z(n, "style") : t; | ||
const r = n.style; | ||
@@ -154,15 +154,15 @@ if (typeof t == "string") | ||
} | ||
function Q(n, t = {}, e, r) { | ||
function le(n, t = {}, e, r) { | ||
const l = {}; | ||
return r || x(() => l.children = j(n, t.children, l.children)), x(() => t.ref && t.ref(n)), x(() => pt(n, t, e, !0, l, !0)), l; | ||
return r || C(() => l.children = G(n, t.children, l.children)), C(() => t.ref && t.ref(n)), C(() => $t(n, t, e, !0, l, !0)), l; | ||
} | ||
function Y(n, t, e) { | ||
return Ge(() => n(t, e)); | ||
function re(n, t, e) { | ||
return me(() => n(t, e)); | ||
} | ||
function E(n, t, e, r) { | ||
function b(n, t, e, r) { | ||
if (e !== void 0 && !r && (r = []), typeof t != "function") | ||
return j(n, t, r, e); | ||
x((l) => j(n, t(), l, e), r); | ||
return G(n, t, r, e); | ||
C((l) => G(n, t(), l, e), r); | ||
} | ||
function pt(n, t, e, r, l = {}, i = !1) { | ||
function $t(n, t, e, r, l = {}, i = !1) { | ||
t || (t = {}); | ||
@@ -173,11 +173,11 @@ for (const s in l) | ||
continue; | ||
l[s] = Te(n, s, null, l[s], e, i); | ||
l[s] = Ie(n, s, null, l[s], e, i); | ||
} | ||
for (const s in t) { | ||
if (s === "children") { | ||
r || j(n, t.children); | ||
r || G(n, t.children); | ||
continue; | ||
} | ||
const o = t[s]; | ||
l[s] = Te(n, s, o, l[s], e, i); | ||
l[s] = Ie(n, s, o, l[s], e, i); | ||
} | ||
@@ -188,3 +188,3 @@ } | ||
} | ||
function Se(n, t, e) { | ||
function De(n, t, e) { | ||
const r = t.trim().split(/\s+/); | ||
@@ -194,8 +194,8 @@ for (let l = 0, i = r.length; l < i; l++) | ||
} | ||
function Te(n, t, e, r, l, i) { | ||
let s, o, c, d, h; | ||
function Ie(n, t, e, r, l, i) { | ||
let s, o, c, d, _; | ||
if (t === "style") | ||
return $t(n, e, r); | ||
return gt(n, e, r); | ||
if (t === "classList") | ||
return gt(n, e, r); | ||
return mt(n, e, r); | ||
if (e === r) | ||
@@ -206,25 +206,25 @@ return r; | ||
else if (t.slice(0, 3) === "on:") { | ||
const f = t.slice(3); | ||
r && n.removeEventListener(f, r), e && n.addEventListener(f, e); | ||
const h = t.slice(3); | ||
r && n.removeEventListener(h, r), e && n.addEventListener(h, e); | ||
} else if (t.slice(0, 10) === "oncapture:") { | ||
const f = t.slice(10); | ||
r && n.removeEventListener(f, r, !0), e && n.addEventListener(f, e, !0); | ||
const h = t.slice(10); | ||
r && n.removeEventListener(h, r, !0), e && n.addEventListener(h, e, !0); | ||
} else if (t.slice(0, 2) === "on") { | ||
const f = t.slice(2).toLowerCase(), T = ft.has(f); | ||
if (!T && r) { | ||
const D = Array.isArray(r) ? r[0] : r; | ||
n.removeEventListener(f, D); | ||
const h = t.slice(2).toLowerCase(), E = dt.has(h); | ||
if (!E && r) { | ||
const T = Array.isArray(r) ? r[0] : r; | ||
n.removeEventListener(h, T); | ||
} | ||
(T || e) && (mt(n, f, e, T), T && J([f])); | ||
(E || e) && (_t(n, h, e, E), E && oe([h])); | ||
} else if (t.slice(0, 5) === "attr:") | ||
A(n, t.slice(5), e); | ||
else if ((h = t.slice(0, 5) === "prop:") || (c = at.has(t)) || !l && ((d = dt(t, n.tagName)) || (o = st.has(t))) || (s = n.nodeName.includes("-"))) | ||
h && (t = t.slice(5), o = !0), t === "class" || t === "className" ? _(n, e) : s && !o && !c ? n[wt(t)] = e : n[d || t] = e; | ||
z(n, t.slice(5), e); | ||
else if ((_ = t.slice(0, 5) === "prop:") || (c = st.has(t)) || !l && ((d = ct(t, n.tagName)) || (o = it.has(t))) || (s = n.nodeName.includes("-"))) | ||
_ && (t = t.slice(5), o = !0), t === "class" || t === "className" ? v(n, e) : s && !o && !c ? n[wt(t)] = e : n[d || t] = e; | ||
else { | ||
const f = l && t.indexOf(":") > -1 && ht[t.split(":")[0]]; | ||
f ? _t(n, f, t, e) : A(n, ct[t] || t, e); | ||
const h = l && t.indexOf(":") > -1 && ft[t.split(":")[0]]; | ||
h ? vt(n, h, t, e) : z(n, at[t] || t, e); | ||
} | ||
return e; | ||
} | ||
function yt(n) { | ||
function pt(n) { | ||
const t = `$$${n.type}`; | ||
@@ -240,3 +240,3 @@ let e = n.composedPath && n.composedPath()[0] || n.target; | ||
} | ||
}), O.registry && !O.done && (O.done = _$HY.done = !0); e; ) { | ||
}), B.registry && !B.done && (B.done = _$HY.done = !0); e; ) { | ||
const r = e[t]; | ||
@@ -251,4 +251,4 @@ if (r && !e.disabled) { | ||
} | ||
function j(n, t, e, r, l) { | ||
if (O.context) { | ||
function G(n, t, e, r, l) { | ||
if (B.context) { | ||
!e && (e = [...n.childNodes]); | ||
@@ -268,26 +268,26 @@ let o = []; | ||
if (n = s && e[0] && e[0].parentNode || n, i === "string" || i === "number") { | ||
if (O.context) | ||
if (B.context) | ||
return e; | ||
if (i === "number" && (t = t.toString()), s) { | ||
let o = e[0]; | ||
o && o.nodeType === 3 ? o.data = t : o = document.createTextNode(t), e = N(n, e, r, o); | ||
o && o.nodeType === 3 ? o.data = t : o = document.createTextNode(t), e = j(n, e, r, o); | ||
} else | ||
e !== "" && typeof e == "string" ? e = n.firstChild.data = t : e = n.textContent = t; | ||
} else if (t == null || i === "boolean") { | ||
if (O.context) | ||
if (B.context) | ||
return e; | ||
e = N(n, e, r); | ||
e = j(n, e, r); | ||
} else { | ||
if (i === "function") | ||
return x(() => { | ||
return C(() => { | ||
let o = t(); | ||
for (; typeof o == "function"; ) | ||
o = o(); | ||
e = j(n, o, e, r); | ||
e = G(n, o, e, r); | ||
}), () => e; | ||
if (Array.isArray(t)) { | ||
const o = [], c = e && Array.isArray(e); | ||
if (fe(o, t, e, l)) | ||
return x(() => e = j(n, o, e, r, !0)), () => e; | ||
if (O.context) { | ||
if (_e(o, t, e, l)) | ||
return C(() => e = G(n, o, e, r, !0)), () => e; | ||
if (B.context) { | ||
if (!o.length) | ||
@@ -300,14 +300,14 @@ return e; | ||
if (o.length === 0) { | ||
if (e = N(n, e, r), s) | ||
if (e = j(n, e, r), s) | ||
return e; | ||
} else | ||
c ? e.length === 0 ? De(n, o, r) : vt(n, e, o) : (e && N(n), De(n, o)); | ||
c ? e.length === 0 ? Pe(n, o, r) : ht(n, e, o) : (e && j(n), Pe(n, o)); | ||
e = o; | ||
} else if (t.nodeType) { | ||
if (O.context && t.parentNode) | ||
if (B.context && t.parentNode) | ||
return e = s ? [t] : t; | ||
if (Array.isArray(e)) { | ||
if (s) | ||
return e = N(n, e, r, t); | ||
N(n, e, null, t); | ||
return e = j(n, e, r, t); | ||
j(n, e, null, t); | ||
} else | ||
@@ -321,3 +321,3 @@ e == null || e === "" || !n.firstChild ? n.appendChild(t) : n.replaceChild(t, n.firstChild); | ||
} | ||
function fe(n, t, e, r) { | ||
function _e(n, t, e, r) { | ||
let l = !1; | ||
@@ -330,3 +330,3 @@ for (let i = 0, s = t.length; i < s; i++) { | ||
else if (Array.isArray(o)) | ||
l = fe(n, o, c) || l; | ||
l = _e(n, o, c) || l; | ||
else if (d === "function") | ||
@@ -336,8 +336,8 @@ if (r) { | ||
o = o(); | ||
l = fe(n, Array.isArray(o) ? o : [o], Array.isArray(c) ? c : [c]) || l; | ||
l = _e(n, Array.isArray(o) ? o : [o], Array.isArray(c) ? c : [c]) || l; | ||
} else | ||
n.push(o), l = !0; | ||
else { | ||
const h = String(o); | ||
c && c.nodeType === 3 && c.data === h ? n.push(c) : n.push(document.createTextNode(h)); | ||
const _ = String(o); | ||
c && c.nodeType === 3 && c.data === _ ? n.push(c) : n.push(document.createTextNode(_)); | ||
} | ||
@@ -347,7 +347,7 @@ } | ||
} | ||
function De(n, t, e = null) { | ||
function Pe(n, t, e = null) { | ||
for (let r = 0, l = t.length; r < l; r++) | ||
n.insertBefore(t[r], e); | ||
} | ||
function N(n, t, e, r) { | ||
function j(n, t, e, r) { | ||
if (e === void 0) | ||
@@ -370,12 +370,12 @@ return n.textContent = ""; | ||
} | ||
function Ie(n, t) { | ||
function Ae(n, t) { | ||
const e = Math.floor(n / 3600), r = Math.floor((n - e * 3600) / 60), l = Math.floor(n - e * 3600 - r * 60), i = String(r).padStart(2, "0"), s = String(l).padStart(2, "0"); | ||
return t != null && t / 3600 >= 1 ? `${String(e).padStart(2, "0")}:${i}:${s}` : `${i}:${s}`; | ||
} | ||
function Xe(n, t, e) { | ||
function Ue(n, t, e) { | ||
return Math.max(n, Math.min(t, e)); | ||
} | ||
var bt = "VolumeRocker_thumb__aiqwzx0", xt = "VolumeRocker_track__aiqwzx1", Lt = "VolumeRocker_trackFilled__aiqwzx2", Et = "VolumeRocker_volumeButton__aiqwzx4", Ct = "VolumeRocker_volumeRocker__aiqwzx3"; | ||
const Mt = /* @__PURE__ */ w('<div><button type="button"></button><div>'), Pe = /* @__PURE__ */ w("<div>"), St = /* @__PURE__ */ w('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 12V20H9.33333L16 26.6666V5.33331L9.33333 12H4ZM22 16C22 13.64 20.64 11.6133 18.6667 10.6266V21.36C20.64 20.3866 22 18.36 22 16ZM18.6667 4.30664V7.05331C22.52 8.19997 25.3333 11.7733 25.3333 16C25.3333 20.2266 22.52 23.8 18.6667 24.9466V27.6933C24.0133 26.48 28 21.7066 28 16C28 10.2933 24.0133 5.51997 18.6667 4.30664Z" fill="white">'), Tt = /* @__PURE__ */ w('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M24.667 16C24.667 13.64 23.307 11.6134 21.3337 10.6267V21.36C23.307 20.3867 24.667 18.36 24.667 16ZM6.66699 12V20H12.0003L18.667 26.6667V5.33337L12.0003 12H6.66699Z" fill="white">'), Dt = /* @__PURE__ */ w('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 16C22 13.64 20.64 11.6133 18.6667 10.6267V13.5733L21.9333 16.84C21.9733 16.5733 22 16.2933 22 16V16ZM25.3333 16C25.3333 17.2533 25.0667 18.4267 24.6133 19.52L26.6267 21.5333C27.5067 19.88 28 18 28 16C28 10.2933 24.0133 5.52 18.6667 4.30667V7.05333C22.52 8.2 25.3333 11.7733 25.3333 16ZM5.69333 4L4 5.69333L10.3067 12H4V20H9.33333L16 26.6667V17.6933L21.6667 23.36C20.7733 24.0533 19.7733 24.6 18.6667 24.9333V27.68C20.5067 27.2667 22.1733 26.4133 23.5867 25.2667L26.3067 28L28 26.3067L16 14.3067L5.69333 4ZM16 5.33333L13.2133 8.12L16 10.9067V5.33333Z" fill="white">'); | ||
function It({ | ||
var yt = "VolumeRocker_thumb__aiqwzx0", bt = "VolumeRocker_track__aiqwzx1", xt = "VolumeRocker_trackFilled__aiqwzx2", Ct = "VolumeRocker_volumeButton__aiqwzx4", Lt = "VolumeRocker_volumeRocker__aiqwzx3"; | ||
const Mt = /* @__PURE__ */ x('<div><button type="button"></button><div>'), Ve = /* @__PURE__ */ x("<div>"), Et = /* @__PURE__ */ x('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 12V20H9.33333L16 26.6666V5.33331L9.33333 12H4ZM22 16C22 13.64 20.64 11.6133 18.6667 10.6266V21.36C20.64 20.3866 22 18.36 22 16ZM18.6667 4.30664V7.05331C22.52 8.19997 25.3333 11.7733 25.3333 16C25.3333 20.2266 22.52 23.8 18.6667 24.9466V27.6933C24.0133 26.48 28 21.7066 28 16C28 10.2933 24.0133 5.51997 18.6667 4.30664Z" fill="white">'), St = /* @__PURE__ */ x('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M24.667 16C24.667 13.64 23.307 11.6134 21.3337 10.6267V21.36C23.307 20.3867 24.667 18.36 24.667 16ZM6.66699 12V20H12.0003L18.667 26.6667V5.33337L12.0003 12H6.66699Z" fill="white">'), Tt = /* @__PURE__ */ x('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 16C22 13.64 20.64 11.6133 18.6667 10.6267V13.5733L21.9333 16.84C21.9733 16.5733 22 16.2933 22 16V16ZM25.3333 16C25.3333 17.2533 25.0667 18.4267 24.6133 19.52L26.6267 21.5333C27.5067 19.88 28 18 28 16C28 10.2933 24.0133 5.52 18.6667 4.30667V7.05333C22.52 8.2 25.3333 11.7733 25.3333 16ZM5.69333 4L4 5.69333L10.3067 12H4V20H9.33333L16 26.6667V17.6933L21.6667 23.36C20.7733 24.0533 19.7733 24.6 18.6667 24.9333V27.68C20.5067 27.2667 22.1733 26.4133 23.5867 25.2667L26.3067 28L28 26.3067L16 14.3067L5.69333 4ZM16 5.33333L13.2133 8.12L16 10.9067V5.33333Z" fill="white">'); | ||
function Dt({ | ||
volume: n, | ||
@@ -388,69 +388,69 @@ setVolume: t, | ||
let [s, o] = S(); | ||
const c = He(s), d = 6, h = ($) => { | ||
const c = Xe(s), d = 6, _ = (g) => { | ||
if (!s) | ||
return; | ||
const I = c.width - d * 2 - 4, M = $ - c.left - d - 2; | ||
t(Xe(0, M / I * 100, 100) / 100); | ||
const D = c.width - d * 2 - 4, I = g - c.left - d - 2; | ||
t(Ue(0, I / D * 100, 100) / 100); | ||
}; | ||
function f($) { | ||
l() && h($.clientX); | ||
function h(g) { | ||
l() && _(g.clientX); | ||
} | ||
function T($) { | ||
l() && h($.touches[0].clientX); | ||
function E(g) { | ||
l() && _(g.touches[0].clientX); | ||
} | ||
function D($) { | ||
l() && (i(!1), h($.clientX)); | ||
function T(g) { | ||
l() && (i(!1), _(g.clientX)); | ||
} | ||
function P($) { | ||
function V(g) { | ||
i(!1); | ||
} | ||
function R() { | ||
function O() { | ||
i(!1); | ||
} | ||
function C() { | ||
function M() { | ||
i(!1); | ||
} | ||
Ze(() => { | ||
document.addEventListener("mousemove", f), document.addEventListener("mouseup", D), document.addEventListener("mouseleave", R), document.addEventListener("touchend", P), document.addEventListener("touchmove", T), document.addEventListener("touchcancel", C); | ||
}), Fe(() => { | ||
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", D), document.removeEventListener("mouseleave", R), document.removeEventListener("touchend", P), document.removeEventListener("touchmove", T), document.removeEventListener("touchcancel", C); | ||
Fe(() => { | ||
document.addEventListener("mousemove", h), document.addEventListener("mouseup", T), document.addEventListener("mouseleave", O), document.addEventListener("touchend", V), document.addEventListener("touchmove", E), document.addEventListener("touchcancel", M); | ||
}), He(() => { | ||
document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", T), document.removeEventListener("mouseleave", O), document.removeEventListener("touchend", V), document.removeEventListener("touchmove", E), document.removeEventListener("touchcancel", M); | ||
}); | ||
const V = () => n() === 0 || e() ? u(kt, {}) : n() <= 0.5 ? u(Vt, {}) : u(Pt, {}); | ||
const k = () => n() === 0 || e() ? u(At, {}) : n() <= 0.5 ? u(Pt, {}) : u(It, {}); | ||
return (() => { | ||
const $ = Mt(), I = $.firstChild, M = I.nextSibling; | ||
I.$$click = () => { | ||
const g = Mt(), D = g.firstChild, I = D.nextSibling; | ||
D.$$click = () => { | ||
n() === 0 ? t(0.5) : r(!e()); | ||
}, E(I, V), M.$$touchstart = (v) => { | ||
v.touches.length === 1 && (i(!0), h(v.touches[0].clientX)); | ||
}, M.$$mousedown = (v) => { | ||
i(!0), h(v.clientX); | ||
}, b(D, k), I.$$touchstart = (f) => { | ||
f.touches.length === 1 && (i(!0), _(f.touches[0].clientX)); | ||
}, I.$$mousedown = (f) => { | ||
i(!0), _(f.clientX); | ||
}; | ||
const p = o; | ||
return typeof p == "function" ? Y(p, M) : o = M, E(M, (() => { | ||
const v = k(() => !!c.width); | ||
return () => v() && (() => { | ||
const m = Pe(); | ||
return x((y) => { | ||
const L = Lt, z = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== y._v$4 && _(m, y._v$4 = L), z !== y._v$5 && ((y._v$5 = z) != null ? m.style.setProperty("width", z) : m.style.removeProperty("width")), y; | ||
const y = o; | ||
return typeof y == "function" ? re(y, I) : o = I, b(I, (() => { | ||
const f = A(() => !!c.width); | ||
return () => f() && (() => { | ||
const $ = Ve(); | ||
return C((w) => { | ||
const L = xt, P = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== w._v$4 && v($, w._v$4 = L), P !== w._v$5 && ((w._v$5 = P) != null ? $.style.setProperty("width", P) : $.style.removeProperty("width")), w; | ||
}, { | ||
_v$4: void 0, | ||
_v$5: void 0 | ||
}), m; | ||
}), $; | ||
})(); | ||
})(), null), E(M, (() => { | ||
const v = k(() => !!c.width); | ||
return () => v() && (() => { | ||
const m = Pe(); | ||
return x((y) => { | ||
const L = bt, z = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== y._v$6 && _(m, y._v$6 = L), z !== y._v$7 && ((y._v$7 = z) != null ? m.style.setProperty("left", z) : m.style.removeProperty("left")), y; | ||
})(), null), b(I, (() => { | ||
const f = A(() => !!c.width); | ||
return () => f() && (() => { | ||
const $ = Ve(); | ||
return C((w) => { | ||
const L = yt, P = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== w._v$6 && v($, w._v$6 = L), P !== w._v$7 && ((w._v$7 = P) != null ? $.style.setProperty("left", P) : $.style.removeProperty("left")), w; | ||
}, { | ||
_v$6: void 0, | ||
_v$7: void 0 | ||
}), m; | ||
}), $; | ||
})(); | ||
})(), null), x((v) => { | ||
const m = Ct, y = Et, L = xt; | ||
return m !== v._v$ && _($, v._v$ = m), y !== v._v$2 && _(I, v._v$2 = y), L !== v._v$3 && _(M, v._v$3 = L), v; | ||
})(), null), C((f) => { | ||
const $ = Lt, w = Ct, L = bt; | ||
return $ !== f._v$ && v(g, f._v$ = $), w !== f._v$2 && v(D, f._v$2 = w), L !== f._v$3 && v(I, f._v$3 = L), f; | ||
}, { | ||
@@ -460,18 +460,18 @@ _v$: void 0, | ||
_v$3: void 0 | ||
}), $; | ||
}), g; | ||
})(); | ||
} | ||
function It() { | ||
return Et(); | ||
} | ||
function Pt() { | ||
return St(); | ||
} | ||
function Vt() { | ||
function At() { | ||
return Tt(); | ||
} | ||
function kt() { | ||
return Dt(); | ||
} | ||
J(["click", "mousedown", "touchstart"]); | ||
var At = "Timeline_thumb__13evcqz3", zt = "Timeline_timeline__13evcqz0", Ot = "Timeline_timelineCurrentTime__13evcqz1", Rt = "Timeline_timelineDuration__13evcqz2", Bt = "Timeline_track__13evcqz4", Nt = "Timeline_trackFilled__13evcqz5"; | ||
const jt = /* @__PURE__ */ w("<div><div></div><div></div><div>"), Ve = /* @__PURE__ */ w("<div>"); | ||
function qt({ | ||
oe(["click", "mousedown", "touchstart"]); | ||
var Vt = "Timeline_thumb__13evcqz3", kt = "Timeline_timeline__13evcqz0", zt = "Timeline_timelineCurrentTime__13evcqz1", Ot = "Timeline_timelineDuration__13evcqz2", Rt = "Timeline_track__13evcqz4", Bt = "Timeline_trackFilled__13evcqz5"; | ||
const Nt = /* @__PURE__ */ x("<div><div></div><div></div><div>"), ke = /* @__PURE__ */ x("<div>"); | ||
function jt({ | ||
currentTime: n, | ||
@@ -483,63 +483,63 @@ setCurrentTime: t, | ||
let [i, s] = S(); | ||
const o = He(i), c = 6, d = (C) => { | ||
const V = o.width - c * 2, $ = C - o.left - c; | ||
t(Xe(0, $ / V * e(), e())); | ||
const o = Xe(i), c = 6, d = (M) => { | ||
const k = o.width - c * 2, g = M - o.left - c; | ||
t(Ue(0, g / k * e(), e())); | ||
}; | ||
function h(C) { | ||
r() && d(C.clientX); | ||
function _(M) { | ||
r() && d(M.clientX); | ||
} | ||
function f(C) { | ||
r() && d(C.touches[0].clientX); | ||
function h(M) { | ||
r() && d(M.touches[0].clientX); | ||
} | ||
function T(C) { | ||
r() && (l(!1), d(C.clientX)); | ||
function E(M) { | ||
r() && (l(!1), d(M.clientX)); | ||
} | ||
function D(C) { | ||
function T(M) { | ||
l(!1); | ||
} | ||
function P() { | ||
function V() { | ||
l(!1); | ||
} | ||
function R() { | ||
function O() { | ||
l(!1); | ||
} | ||
return Ze(() => { | ||
document.addEventListener("mousemove", h), document.addEventListener("mouseup", T), document.addEventListener("mouseleave", P), document.addEventListener("touchend", D), document.addEventListener("touchmove", f), document.addEventListener("touchcancel", R); | ||
}), Fe(() => { | ||
document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", T), document.removeEventListener("mouseleave", P), document.removeEventListener("touchend", D), document.removeEventListener("touchmove", f), document.removeEventListener("touchcancel", R); | ||
return Fe(() => { | ||
document.addEventListener("mousemove", _), document.addEventListener("mouseup", E), document.addEventListener("mouseleave", V), document.addEventListener("touchend", T), document.addEventListener("touchmove", h), document.addEventListener("touchcancel", O); | ||
}), He(() => { | ||
document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", E), document.removeEventListener("mouseleave", V), document.removeEventListener("touchend", T), document.removeEventListener("touchmove", h), document.removeEventListener("touchcancel", O); | ||
}), (() => { | ||
const C = jt(), V = C.firstChild, $ = V.nextSibling, I = $.nextSibling; | ||
E(V, () => Ie(n(), e())), $.$$touchstart = (p) => { | ||
p.touches.length === 1 && (l(!0), d(p.touches[0].clientX)); | ||
}, $.$$mousedown = (p) => { | ||
l(!0), d(p.clientX); | ||
const M = Nt(), k = M.firstChild, g = k.nextSibling, D = g.nextSibling; | ||
b(k, () => Ae(n(), e())), g.$$touchstart = (y) => { | ||
y.touches.length === 1 && (l(!0), d(y.touches[0].clientX)); | ||
}, g.$$mousedown = (y) => { | ||
l(!0), d(y.clientX); | ||
}; | ||
const M = s; | ||
return typeof M == "function" ? Y(M, $) : s = $, E($, (() => { | ||
const p = k(() => !!o.width); | ||
return () => p() && (() => { | ||
const v = Ve(); | ||
return x((m) => { | ||
const y = Nt, L = (o.width - c * 2) * n() / e() + "px"; | ||
return y !== m._v$5 && _(v, m._v$5 = y), L !== m._v$6 && ((m._v$6 = L) != null ? v.style.setProperty("width", L) : v.style.removeProperty("width")), m; | ||
const I = s; | ||
return typeof I == "function" ? re(I, g) : s = g, b(g, (() => { | ||
const y = A(() => !!o.width); | ||
return () => y() && (() => { | ||
const f = ke(); | ||
return C(($) => { | ||
const w = Bt, L = (o.width - c * 2) * n() / e() + "px"; | ||
return w !== $._v$5 && v(f, $._v$5 = w), L !== $._v$6 && (($._v$6 = L) != null ? f.style.setProperty("width", L) : f.style.removeProperty("width")), $; | ||
}, { | ||
_v$5: void 0, | ||
_v$6: void 0 | ||
}), v; | ||
}), f; | ||
})(); | ||
})(), null), E($, (() => { | ||
const p = k(() => !!o.width); | ||
return () => p() && (() => { | ||
const v = Ve(); | ||
return x((m) => { | ||
const y = At, L = (o.width - c * 2) * n() / e() - 3 + "px"; | ||
return y !== m._v$7 && _(v, m._v$7 = y), L !== m._v$8 && ((m._v$8 = L) != null ? v.style.setProperty("left", L) : v.style.removeProperty("left")), m; | ||
})(), null), b(g, (() => { | ||
const y = A(() => !!o.width); | ||
return () => y() && (() => { | ||
const f = ke(); | ||
return C(($) => { | ||
const w = Vt, L = (o.width - c * 2) * n() / e() - 3 + "px"; | ||
return w !== $._v$7 && v(f, $._v$7 = w), L !== $._v$8 && (($._v$8 = L) != null ? f.style.setProperty("left", L) : f.style.removeProperty("left")), $; | ||
}, { | ||
_v$7: void 0, | ||
_v$8: void 0 | ||
}), v; | ||
}), f; | ||
})(); | ||
})(), null), E(I, () => Ie(e(), e())), x((p) => { | ||
const v = zt, m = Ot, y = Bt, L = Rt; | ||
return v !== p._v$ && _(C, p._v$ = v), m !== p._v$2 && _(V, p._v$2 = m), y !== p._v$3 && _($, p._v$3 = y), L !== p._v$4 && _(I, p._v$4 = L), p; | ||
})(), null), b(D, () => Ae(e(), e())), C((y) => { | ||
const f = kt, $ = zt, w = Rt, L = Ot; | ||
return f !== y._v$ && v(M, y._v$ = f), $ !== y._v$2 && v(k, y._v$2 = $), w !== y._v$3 && v(g, y._v$3 = w), L !== y._v$4 && v(D, y._v$4 = L), y; | ||
}, { | ||
@@ -550,7 +550,7 @@ _v$: void 0, | ||
_v$4: void 0 | ||
}), C; | ||
}), M; | ||
})(); | ||
} | ||
J(["mousedown", "touchstart"]); | ||
function Gt(n, t) { | ||
oe(["mousedown", "touchstart"]); | ||
function qt(n, t) { | ||
if (typeof n != "object" || n === null) | ||
@@ -567,8 +567,8 @@ return n; | ||
} | ||
function Zt(n) { | ||
var t = Gt(n, "string"); | ||
function Gt(n) { | ||
var t = qt(n, "string"); | ||
return typeof t == "symbol" ? t : String(t); | ||
} | ||
function Ft(n, t, e) { | ||
return t = Zt(t), t in n ? Object.defineProperty(n, t, { | ||
function Zt(n, t, e) { | ||
return t = Gt(t), t in n ? Object.defineProperty(n, t, { | ||
value: e, | ||
@@ -580,3 +580,3 @@ enumerable: !0, | ||
} | ||
function ke(n, t) { | ||
function ze(n, t) { | ||
var e = Object.keys(n); | ||
@@ -591,8 +591,8 @@ if (Object.getOwnPropertySymbols) { | ||
} | ||
function Ae(n) { | ||
function Oe(n) { | ||
for (var t = 1; t < arguments.length; t++) { | ||
var e = arguments[t] != null ? arguments[t] : {}; | ||
t % 2 ? ke(Object(e), !0).forEach(function(r) { | ||
Ft(n, r, e[r]); | ||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : ke(Object(e)).forEach(function(r) { | ||
t % 2 ? ze(Object(e), !0).forEach(function(r) { | ||
Zt(n, r, e[r]); | ||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : ze(Object(e)).forEach(function(r) { | ||
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(e, r)); | ||
@@ -603,3 +603,3 @@ }); | ||
} | ||
var Ht = (n, t, e) => { | ||
var Ft = (n, t, e) => { | ||
for (var r of Object.keys(n)) { | ||
@@ -611,5 +611,5 @@ var l; | ||
return !0; | ||
}, he = (n) => { | ||
}, ge = (n) => { | ||
var t = (e) => { | ||
var r = n.defaultClassName, l = Ae(Ae({}, n.defaultVariants), e); | ||
var r = n.defaultClassName, l = Oe(Oe({}, n.defaultVariants), e); | ||
for (var i in l) { | ||
@@ -627,20 +627,20 @@ var s, o = (s = l[i]) !== null && s !== void 0 ? s : n.defaultVariants[i]; | ||
} | ||
for (var [h, f] of n.compoundVariants) | ||
Ht(h, l, n.defaultVariants) && (r += " " + f); | ||
for (var [_, h] of n.compoundVariants) | ||
Ft(_, l, n.defaultVariants) && (r += " " + h); | ||
return r; | ||
}; | ||
return t.variants = () => Object.keys(n.variantClassNames), t; | ||
}, Xt = "solid-player_IconButton__haigr1b", Ut = he({ defaultClassName: "solid-player_controls__haigr18 solid-player_controlsGroup__haigr17", variantClassNames: { idle: { true: "solid-player_controls_idle_true__haigr19" } }, defaultVariants: {}, compoundVariants: [] }), ie = "solid-player_controlsGroup__haigr17", Kt = he({ defaultClassName: "solid-player_overlay__haigr15", variantClassNames: { idle: { true: "solid-player_overlay_idle_true__haigr16" } }, defaultVariants: {}, compoundVariants: [] }), Qt = "solid-player_overlayButton__haigr14", Yt = "solid-player_overlayContent__haigr13", Jt = "solid-player_playback__haigr12", Wt = "solid-player_root__haigr10", U = "solid-player_simpleIconButton__haigr1c solid-player_IconButton__haigr1b", ze = "solid-player_simpleTextIconButton__haigr1d"; | ||
var Z = he({ defaultClassName: "", variantClassNames: { default: { currentcolor: "icons_fill_default_currentcolor__qoxnbj1", active: "icons_fill_default_active__qoxnbj2", transparent: "icons_fill_default_transparent__qoxnbj3", white: "icons_fill_default_white__qoxnbj4" }, hover: { currentcolor: "icons_fill_hover_currentcolor__qoxnbj5", active: "icons_fill_hover_active__qoxnbj6", transparent: "icons_fill_hover_transparent__qoxnbj7", white: "icons_fill_hover_white__qoxnbj8" } }, defaultVariants: { default: "currentcolor", hover: "currentcolor" }, compoundVariants: [] }), Ue = "icons_root__qoxnbj0"; | ||
const en = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><path d="M32.593 22.332a1.908 1.908 0 0 1 0 3.335l-11.333 6.3a1.908 1.908 0 0 1-2.834-1.674v-12.59a1.908 1.908 0 0 1 2.834-1.667Z">'), tn = () => (() => { | ||
const n = en(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling; | ||
return A(n, "class", Ue), x((l) => { | ||
const i = Z({ | ||
}, Ht = "solid-player_IconButton__haigr1b", Xt = ge({ defaultClassName: "solid-player_controls__haigr18 solid-player_controlsGroup__haigr17", variantClassNames: { idle: { true: "solid-player_controls_idle_true__haigr19" } }, defaultVariants: {}, compoundVariants: [] }), he = "solid-player_controlsGroup__haigr17", Ut = ge({ defaultClassName: "solid-player_overlay__haigr15", variantClassNames: { idle: { true: "solid-player_overlay_idle_true__haigr16" } }, defaultVariants: {}, compoundVariants: [] }), Kt = "solid-player_overlayButton__haigr14", Qt = "solid-player_overlayContent__haigr13", Yt = "solid-player_playback__haigr12", Jt = "solid-player_root__haigr10", J = "solid-player_simpleIconButton__haigr1c solid-player_IconButton__haigr1b", Re = "solid-player_simpleTextIconButton__haigr1d"; | ||
var X = ge({ defaultClassName: "", variantClassNames: { default: { currentcolor: "icons_fill_default_currentcolor__qoxnbj1", active: "icons_fill_default_active__qoxnbj2", transparent: "icons_fill_default_transparent__qoxnbj3", white: "icons_fill_default_white__qoxnbj4" }, hover: { currentcolor: "icons_fill_hover_currentcolor__qoxnbj5", active: "icons_fill_hover_active__qoxnbj6", transparent: "icons_fill_hover_transparent__qoxnbj7", white: "icons_fill_hover_white__qoxnbj8" } }, defaultVariants: { default: "currentcolor", hover: "currentcolor" }, compoundVariants: [] }), Ke = "icons_root__qoxnbj0"; | ||
const Wt = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><path d="M32.593 22.332a1.908 1.908 0 0 1 0 3.335l-11.333 6.3a1.908 1.908 0 0 1-2.834-1.674v-12.59a1.908 1.908 0 0 1 2.834-1.667Z">'), en = () => (() => { | ||
const n = Wt(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling; | ||
return z(n, "class", Ke), C((l) => { | ||
const i = X({ | ||
default: "transparent", | ||
hover: "active" | ||
}), s = Z({ | ||
}), s = X({ | ||
default: "active", | ||
hover: "white" | ||
}); | ||
return i !== l._v$ && A(e, "class", l._v$ = i), s !== l._v$2 && A(r, "class", l._v$2 = s), l; | ||
return i !== l._v$ && z(e, "class", l._v$ = i), s !== l._v$2 && z(r, "class", l._v$2 = s), l; | ||
}, { | ||
@@ -650,16 +650,16 @@ _v$: void 0, | ||
}), n; | ||
})(), nn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><rect width="3" height="16" rx="1" transform="translate(17 16)"></rect><rect width="3" height="16" rx="1" transform="translate(28 16)">'), ln = () => (() => { | ||
const n = nn(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling, l = r.nextSibling; | ||
return A(n, "class", Ue), x((i) => { | ||
const s = Z({ | ||
})(), tn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><rect width="3" height="16" rx="1" transform="translate(17 16)"></rect><rect width="3" height="16" rx="1" transform="translate(28 16)">'), nn = () => (() => { | ||
const n = tn(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling, l = r.nextSibling; | ||
return z(n, "class", Ke), C((i) => { | ||
const s = X({ | ||
default: "transparent", | ||
hover: "active" | ||
}), o = Z({ | ||
}), o = X({ | ||
default: "active", | ||
hover: "white" | ||
}), c = Z({ | ||
}), c = X({ | ||
default: "active", | ||
hover: "white" | ||
}); | ||
return s !== i._v$ && A(e, "class", i._v$ = s), o !== i._v$2 && A(r, "class", i._v$2 = o), c !== i._v$3 && A(l, "class", i._v$3 = c), i; | ||
return s !== i._v$ && z(e, "class", i._v$ = s), o !== i._v$2 && z(r, "class", i._v$2 = o), c !== i._v$3 && z(l, "class", i._v$3 = c), i; | ||
}, { | ||
@@ -670,8 +670,8 @@ _v$: void 0, | ||
}), n; | ||
})(), rn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40a15.889 15.889 0 0 1-11.312-4.687A15.9 15.9 0 0 1 8 24c0-.176 0-.34.008-.5h2c-.006.157-.009.324-.009.5a13.9 13.9 0 0 0 4.1 9.9 13.91 13.91 0 0 0 9.9 4.1 13.909 13.909 0 0 0 9.9-4.1 13.9 13.9 0 0 0 4.1-9.9 13.906 13.906 0 0 0-4.1-9.9 13.917 13.917 0 0 0-9.9-4.1 14.057 14.057 0 0 0-3.846.533l-.5-1.937a16.013 16.013 0 0 1 4.346-.6 15.9 15.9 0 0 1 11.315 4.687A15.9 15.9 0 0 1 40 24a15.9 15.9 0 0 1-4.686 11.313A15.9 15.9 0 0 1 24 40Z"></path><g><path d="m18 9.064 1.414-1.414 6.364 6.364-1.414 1.414z"></path><path d="M19.414 10.478 18 9.064 24.364 2.7l1.414 1.414z">'), on = () => rn(), sn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="#fff" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40.001a16 16 0 0 0 16-16c0-.176 0-.34-.008-.5h-2c.008.156.008.324.008.5a14 14 0 0 1-23.9 9.9 14 14 0 0 1 9.9-23.9 14.057 14.057 0 0 1 3.846.533l.5-1.937A16 16 0 1 0 24 40.001Z"></path><g><path d="m23.637 15.428-1.414-1.414 6.364-6.364L30 9.064z"></path><path d="M22.223 4.114 23.637 2.7l6.364 6.364-1.414 1.414z">'), an = () => sn(), cn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M18 32h-8v-2h8z"></path><path d="M30 16h8v2h-8z"></path><path d="M16 18v-8h2v8z"></path><path d="M32 30v8h-2v-8z"></path><path d="M18 30v8h-2v-8z"></path><path d="M30 18v-8h2v8z"></path><path d="M18 18h-8v-2h8z"></path><path d="M30 30h8v2h-8z">'), un = () => cn(), dn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M10 10h2v8h-2z"></path><path d="M38 38h-2v-8h2z"></path><path d="M38 10v2h-8v-2z"></path><path d="M10 38v-2h8v2z"></path><path d="M10 12v-2h8v2z"></path><path d="M38 36v2h-8v-2z"></path><path d="M36 10h2v8h-2z"></path><path d="M12 38h-2v-8h2z">'), fn = () => dn(), hn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-17a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3Z"></path><path fill="currentColor" d="m25.307 36.001.518-3.103 1.12-.39c.334-.116.667-.255.989-.41l1.069-.52 2.56 1.831 1.847-1.847-1.83-2.565.523-1.07a8.35 8.35 0 0 0 .4-.97l.385-1.133L36 25.306v-2.612l-3.112-.52-.386-1.13a8.42 8.42 0 0 0-.402-.975L31.58 19l1.828-2.56-1.846-1.847-2.56 1.827-1.067-.519a9.039 9.039 0 0 0-.988-.409l-1.123-.389L25.308 12h-2.614l-.516 3.103-1.123.389a8.929 8.929 0 0 0-.985.408l-1.069.521-2.563-1.83-1.846 1.847 1.834 2.564-.525 1.072c-.153.313-.29.642-.407.98l-.389 1.121-3.105.52v2.611l3.105.516.39 1.124c.115.334.252.665.408.986l.52 1.07-1.831 2.561 1.846 1.846L19 31.58l1.07.52c.318.153.65.291.988.409l1.122.389.515 3.104h2.613m-1.307-17a5.006 5.006 0 0 1 5.001 5c0 2.757-2.243 5-5.001 5-2.757 0-5-2.243-5-5s2.243-5 5-5m3.001 19H21l-.6-3.604a11.086 11.086 0 0 1-1.206-.5l-2.971 2.125-4.244-4.243 2.125-2.973a10.99 10.99 0 0 1-.5-1.206L10 27.001v-6l3.604-.603c.145-.417.314-.822.5-1.203l-2.125-2.972 4.244-4.244 2.971 2.123c.39-.19.796-.358 1.206-.5L21 10h6.001l.602 3.602c.409.142.814.31 1.206.5l2.97-2.12 4.242 4.24-2.122 2.973c.195.4.362.805.497 1.203l3.605.602v6.001l-3.605.6a10.3 10.3 0 0 1-.497 1.203l2.122 2.975-4.243 4.243-2.971-2.125c-.39.189-.795.357-1.204.5L27 38Zm-3.001-17c-1.654 0-3 1.345-3 3 0 1.654 1.346 3 3 3a3.005 3.005 0 0 0 3.001-3c0-1.655-1.347-3-3.001-3Z">'), vn = () => hn(), _n = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path fill="currentColor" d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-19a5.006 5.006 0 0 0-5 5 5.006 5.006 0 0 0 5 5 5.006 5.006 0 0 0 5-5 5.006 5.006 0 0 0-5-5Z">'), mn = () => _n(); | ||
var Oe = "DropdownMenu_Content__ptazat0", K = "DropdownMenu_GroupLabel__ptazat7", Re = "DropdownMenu_Item__ptazat1", Be = "DropdownMenu_ItemIcon__ptazat6", se = "DropdownMenu_ItemIndicator__ptazat3", Ne = "DropdownMenu_ItemLabel__ptazat4", je = "DropdownMenu_ItemValue__ptazat5", ae = "DropdownMenu_RadioGroup__ptazat8", ce = "DropdownMenu_RadioItem__ptazat2"; | ||
const gn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="7.071" height="11.314"><g fill="#fff"><path d="M7.071 5.657 5.657 7.071 0 1.414 1.414 0z" data-name="Rectangle 9"></path><path d="m5.657 4.242 1.414 1.414-5.657 5.657L0 9.9z" data-name="Rectangle 10">'), qe = (n) => (() => { | ||
const t = gn(); | ||
return Q(t, n, !0, !0), t; | ||
})(), $n = /* @__PURE__ */ w('<svg fill="currentColor" stroke-width="0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="overflow:visible;" height="1em" width="1em"><path d="m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z">'), ue = () => $n(), pn = /* @__PURE__ */ w("<span>ენა"), wn = /* @__PURE__ */ w("<span>eng"), yn = /* @__PURE__ */ w("<span>დაკვრის სისწრაფე"), bn = /* @__PURE__ */ w("<span>1X"), xn = /* @__PURE__ */ w('<div><video preload="metadata"></video><div><div><button></button><div><div></div><div><button></button><button></button><button></button></div><div><button>'), Ln = /* @__PURE__ */ w("<source>"), En = /* @__PURE__ */ w("<track>"), Cn = /* @__PURE__ */ w("<div>"), de = /* @__PURE__ */ w("<span>"), Mn = [{ | ||
})(), ln = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40a15.889 15.889 0 0 1-11.312-4.687A15.9 15.9 0 0 1 8 24c0-.176 0-.34.008-.5h2c-.006.157-.009.324-.009.5a13.9 13.9 0 0 0 4.1 9.9 13.91 13.91 0 0 0 9.9 4.1 13.909 13.909 0 0 0 9.9-4.1 13.9 13.9 0 0 0 4.1-9.9 13.906 13.906 0 0 0-4.1-9.9 13.917 13.917 0 0 0-9.9-4.1 14.057 14.057 0 0 0-3.846.533l-.5-1.937a16.013 16.013 0 0 1 4.346-.6 15.9 15.9 0 0 1 11.315 4.687A15.9 15.9 0 0 1 40 24a15.9 15.9 0 0 1-4.686 11.313A15.9 15.9 0 0 1 24 40Z"></path><g><path d="m18 9.064 1.414-1.414 6.364 6.364-1.414 1.414z"></path><path d="M19.414 10.478 18 9.064 24.364 2.7l1.414 1.414z">'), rn = () => ln(), on = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="#fff" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40.001a16 16 0 0 0 16-16c0-.176 0-.34-.008-.5h-2c.008.156.008.324.008.5a14 14 0 0 1-23.9 9.9 14 14 0 0 1 9.9-23.9 14.057 14.057 0 0 1 3.846.533l.5-1.937A16 16 0 1 0 24 40.001Z"></path><g><path d="m23.637 15.428-1.414-1.414 6.364-6.364L30 9.064z"></path><path d="M22.223 4.114 23.637 2.7l6.364 6.364-1.414 1.414z">'), sn = () => on(), an = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M18 32h-8v-2h8z"></path><path d="M30 16h8v2h-8z"></path><path d="M16 18v-8h2v8z"></path><path d="M32 30v8h-2v-8z"></path><path d="M18 30v8h-2v-8z"></path><path d="M30 18v-8h2v8z"></path><path d="M18 18h-8v-2h8z"></path><path d="M30 30h8v2h-8z">'), un = () => an(), cn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M10 10h2v8h-2z"></path><path d="M38 38h-2v-8h2z"></path><path d="M38 10v2h-8v-2z"></path><path d="M10 38v-2h8v2z"></path><path d="M10 12v-2h8v2z"></path><path d="M38 36v2h-8v-2z"></path><path d="M36 10h2v8h-2z"></path><path d="M12 38h-2v-8h2z">'), dn = () => cn(), fn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-17a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3Z"></path><path fill="currentColor" d="m25.307 36.001.518-3.103 1.12-.39c.334-.116.667-.255.989-.41l1.069-.52 2.56 1.831 1.847-1.847-1.83-2.565.523-1.07a8.35 8.35 0 0 0 .4-.97l.385-1.133L36 25.306v-2.612l-3.112-.52-.386-1.13a8.42 8.42 0 0 0-.402-.975L31.58 19l1.828-2.56-1.846-1.847-2.56 1.827-1.067-.519a9.039 9.039 0 0 0-.988-.409l-1.123-.389L25.308 12h-2.614l-.516 3.103-1.123.389a8.929 8.929 0 0 0-.985.408l-1.069.521-2.563-1.83-1.846 1.847 1.834 2.564-.525 1.072c-.153.313-.29.642-.407.98l-.389 1.121-3.105.52v2.611l3.105.516.39 1.124c.115.334.252.665.408.986l.52 1.07-1.831 2.561 1.846 1.846L19 31.58l1.07.52c.318.153.65.291.988.409l1.122.389.515 3.104h2.613m-1.307-17a5.006 5.006 0 0 1 5.001 5c0 2.757-2.243 5-5.001 5-2.757 0-5-2.243-5-5s2.243-5 5-5m3.001 19H21l-.6-3.604a11.086 11.086 0 0 1-1.206-.5l-2.971 2.125-4.244-4.243 2.125-2.973a10.99 10.99 0 0 1-.5-1.206L10 27.001v-6l3.604-.603c.145-.417.314-.822.5-1.203l-2.125-2.972 4.244-4.244 2.971 2.123c.39-.19.796-.358 1.206-.5L21 10h6.001l.602 3.602c.409.142.814.31 1.206.5l2.97-2.12 4.242 4.24-2.122 2.973c.195.4.362.805.497 1.203l3.605.602v6.001l-3.605.6a10.3 10.3 0 0 1-.497 1.203l2.122 2.975-4.243 4.243-2.971-2.125c-.39.189-.795.357-1.204.5L27 38Zm-3.001-17c-1.654 0-3 1.345-3 3 0 1.654 1.346 3 3 3a3.005 3.005 0 0 0 3.001-3c0-1.655-1.347-3-3.001-3Z">'), hn = () => fn(), vn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path fill="currentColor" d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-19a5.006 5.006 0 0 0-5 5 5.006 5.006 0 0 0 5 5 5.006 5.006 0 0 0 5-5 5.006 5.006 0 0 0-5-5Z">'), _n = () => vn(); | ||
var Be = "DropdownMenu_Content__ptazat0", W = "DropdownMenu_GroupLabel__ptazat7", Ne = "DropdownMenu_Item__ptazat1", je = "DropdownMenu_ItemIcon__ptazat6", ee = "DropdownMenu_ItemIndicator__ptazat3", qe = "DropdownMenu_ItemLabel__ptazat4", Ge = "DropdownMenu_ItemValue__ptazat5", ve = "DropdownMenu_RadioGroup__ptazat8", te = "DropdownMenu_RadioItem__ptazat2"; | ||
const mn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="7.071" height="11.314"><g fill="#fff"><path d="M7.071 5.657 5.657 7.071 0 1.414 1.414 0z" data-name="Rectangle 9"></path><path d="m5.657 4.242 1.414 1.414-5.657 5.657L0 9.9z" data-name="Rectangle 10">'), Ze = (n) => (() => { | ||
const t = mn(); | ||
return le(t, n, !0, !0), t; | ||
})(), gn = /* @__PURE__ */ x('<svg fill="currentColor" stroke-width="0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="overflow:visible;" height="1em" width="1em"><path d="m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z">'), ne = () => gn(), $n = /* @__PURE__ */ x("<span>ენა"), q = /* @__PURE__ */ x("<span>"), wn = /* @__PURE__ */ x("<span>დაკვრის სისწრაფე"), pn = /* @__PURE__ */ x('<div><video preload="metadata"></video><div><div><button></button><div><div></div><div><button></button><button></button><button></button></div><div><button>'), yn = /* @__PURE__ */ x("<source>"), bn = /* @__PURE__ */ x("<track>"), xn = /* @__PURE__ */ x("<div>"), Cn = [{ | ||
label: "0.25x", | ||
@@ -700,85 +700,73 @@ value: 0.25 | ||
value: 2 | ||
}], Sn = [{ | ||
label: "4k" | ||
}, { | ||
label: "1440p" | ||
}, { | ||
label: "1080p" | ||
}, { | ||
label: "720p" | ||
}, { | ||
label: "480p" | ||
}, { | ||
label: "360p" | ||
}, { | ||
label: "240p" | ||
}, { | ||
label: "144p" | ||
}, { | ||
label: "auto" | ||
}], Tn = [{ | ||
label: "GEO" | ||
}, { | ||
label: "ENG" | ||
}, { | ||
label: "UKR" | ||
}, { | ||
label: "FRE" | ||
}]; | ||
function kn(n) { | ||
const [t, e] = et(n, [ | ||
function Tn(n) { | ||
const [t, e] = We(n, [ | ||
// "seasons", | ||
// "episodes", | ||
// "languages", | ||
"languages", | ||
// "qualities", | ||
"sources", | ||
// "sources", | ||
"tracks" | ||
]); | ||
let r, l; | ||
const [i, s] = S(!1), [o, c] = S(1), [d, h] = S(0), [f, T] = S(0), [D, P] = S(!0), [R, C] = S(!1), [V, $] = S(!1); | ||
const [i, s] = S(!1), [o, c] = S(1), [d, _] = S(0), [h, E] = S(0), [T, V] = S(!0), [O, M] = S(!1); | ||
document.addEventListener("fullscreenchange", () => { | ||
$(document.fullscreenElement === r); | ||
M(document.fullscreenElement === r); | ||
}), document.addEventListener("fullscreenerror", () => { | ||
$(document.fullscreenElement === r); | ||
M(document.fullscreenElement === r); | ||
}); | ||
const { | ||
isIdle: I | ||
} = ot({ | ||
isIdle: k | ||
} = rt({ | ||
idleTimeout: 5e3 | ||
}); | ||
tt(() => { | ||
t.sources, t.tracks, l && (console.log("video.load()"), l.load(), C(!1), P(l.paused), s(l.muted), c(l.volume), h(l.currentTime)); | ||
}); | ||
const [M, p] = S("closed"), [v, m] = S("closed"), [y, L] = S("auto"), [z, Ke] = S("1x"), [Qe, Ye] = S("GEO"), [Je, We] = S(!1); | ||
return (() => { | ||
const F = xn(), q = F.firstChild, ve = q.nextSibling, W = ve.firstChild, ee = W.firstChild, te = ee.nextSibling, ne = te.firstChild, le = ne.nextSibling, H = le.firstChild, X = H.nextSibling, re = X.nextSibling, G = le.nextSibling, B = G.firstChild; | ||
return Y((a) => r = a, F), Y((a) => { | ||
}), [g, D] = S("closed"), [I, y] = S("closed"), [f, $] = S("1x"), [w, L] = S(n.languages[0].label), [P, Qe] = S("Auto"), [Ye, Je] = S(!1); | ||
return Se(() => { | ||
t.languages, t.tracks, w(), P(), l && (l.load(), me(() => { | ||
l.currentTime = d(), T() ? l.pause() : l.play(); | ||
}), s(l.muted), c(l.volume)); | ||
}), Se(() => { | ||
f(), l && (l.playbackRate = parseFloat(f())); | ||
}), (() => { | ||
const U = pn(), Z = U.firstChild, $e = Z.nextSibling, ie = $e.firstChild, se = ie.firstChild, ae = se.nextSibling, ue = ae.firstChild, ce = ue.nextSibling, K = ce.firstChild, Q = K.nextSibling, de = Q.nextSibling, F = ce.nextSibling, N = F.firstChild; | ||
return re((a) => r = a, U), re((a) => { | ||
l = a, l.addEventListener("play", () => { | ||
P(!1); | ||
}), l.addEventListener("playing", () => { | ||
C(!0); | ||
}), l.addEventListener("waiting", () => { | ||
C(!1); | ||
V(!1); | ||
}), l.addEventListener("pause", () => { | ||
C(!1), P(!0); | ||
V(!0); | ||
}), l.addEventListener("volumechange", () => { | ||
s(l.muted), c(l.volume); | ||
}), l.addEventListener("durationchange", () => { | ||
T(l.duration); | ||
E(l.duration); | ||
}), l.addEventListener("timeupdate", () => { | ||
h(l.currentTime); | ||
_(l.currentTime); | ||
}); | ||
}, q), Q(q, nt({ | ||
}, Z), le(Z, et({ | ||
get class() { | ||
return Jt; | ||
return Yt; | ||
} | ||
}, e), !1, !0), E(q, u(Ce, { | ||
}, e), !1, !0), b(Z, u(Y, { | ||
get each() { | ||
return t.sources; | ||
return t.languages; | ||
}, | ||
children: (a) => (() => { | ||
const g = Ln(); | ||
return Q(g, a, !1, !1), g; | ||
})() | ||
}), null), E(q, u(Ce, { | ||
children: (a) => u(Y, { | ||
get each() { | ||
return a.qualities; | ||
}, | ||
children: (m) => u(Y, { | ||
get each() { | ||
return m.sources; | ||
}, | ||
children: (R) => u(tt, { | ||
get when() { | ||
return A(() => a.label === w())() && (m.label === P() || P() === "Auto"); | ||
}, | ||
keyed: !0, | ||
get children() { | ||
const H = yn(); | ||
return le(H, R, !1, !1), H; | ||
} | ||
}) | ||
}) | ||
}) | ||
}), null), b(Z, u(Y, { | ||
get each() { | ||
@@ -788,70 +776,70 @@ return t.tracks; | ||
children: (a) => (() => { | ||
const g = En(); | ||
return Q(g, a, !1, !1), g; | ||
const m = bn(); | ||
return le(m, a, !1, !1), m; | ||
})() | ||
}), null), ee.$$click = () => D() ? l.play() : l.pause(), E(W, u(qt, { | ||
}), null), se.$$click = () => T() ? l.play() : l.pause(), b(ie, u(jt, { | ||
currentTime: d, | ||
duration: f, | ||
duration: h, | ||
setCurrentTime: (a) => { | ||
const g = h(a); | ||
return l.currentTime = g, g; | ||
const m = _(a); | ||
return l.currentTime = m, m; | ||
} | ||
}), te), E(ne, u(It, { | ||
}), ae), b(ue, u(Dt, { | ||
volume: o, | ||
setVolume: (a) => { | ||
const g = c(a); | ||
return l.volume = g, l.muted = !1, g; | ||
const m = c(a); | ||
return l.volume = m, l.muted = !1, m; | ||
}, | ||
muted: i, | ||
setMuted: (a) => { | ||
const g = s(a); | ||
return l.muted = g, g; | ||
const m = s(a); | ||
return l.muted = m, m; | ||
} | ||
})), H.$$click = () => { | ||
})), K.$$click = () => { | ||
l.currentTime = Math.floor(Math.max(0, Math.floor(d()) - 15)); | ||
}, E(H, u(on, {})), X.$$click = () => D() ? l.play() : l.pause(), E(X, (() => { | ||
const a = k(() => !!D()); | ||
return () => a() ? u(tn, {}) : u(ln, {}); | ||
})()), re.$$click = () => { | ||
l.currentTime = Math.floor(Math.min(f(), Math.floor(d()) + 15)); | ||
}, E(re, u(an, {})), E(G, u(b.Root, { | ||
}, b(K, u(rn, {})), Q.$$click = () => T() ? l.play() : l.pause(), b(Q, (() => { | ||
const a = A(() => !!T()); | ||
return () => a() ? u(en, {}) : u(nn, {}); | ||
})()), de.$$click = () => { | ||
l.currentTime = Math.floor(Math.min(h(), Math.floor(d()) + 15)); | ||
}, b(de, u(sn, {})), b(F, u(p.Root, { | ||
get open() { | ||
return M() !== "closed"; | ||
return g() !== "closed"; | ||
}, | ||
onOpenChange: (a) => p(a ? "main" : "closed"), | ||
onOpenChange: (a) => D(a ? "main" : "closed"), | ||
placement: "top", | ||
get children() { | ||
return [u(b.Trigger, { | ||
return [u(p.Trigger, { | ||
get class() { | ||
return U; | ||
return J; | ||
}, | ||
get children() { | ||
return k(() => M() !== "closed")() ? u(mn, {}) : u(vn, {}); | ||
return A(() => g() !== "closed")() ? u(_n, {}) : u(hn, {}); | ||
} | ||
}), u(b.Content, { | ||
}), u(p.Content, { | ||
get class() { | ||
return Oe; | ||
return Be; | ||
}, | ||
get children() { | ||
return u(lt, { | ||
return u(nt, { | ||
get fallback() { | ||
return Cn(); | ||
return xn(); | ||
}, | ||
get children() { | ||
return [u(oe, { | ||
return [u(fe, { | ||
get when() { | ||
return M() === "main"; | ||
return g() === "main"; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "პარამეტრები" | ||
}), u(b.Item, { | ||
onSelect: () => p("language"), | ||
}), u(p.Item, { | ||
onSelect: () => D("language"), | ||
get class() { | ||
return Re; | ||
return Ne; | ||
}, | ||
@@ -861,29 +849,29 @@ closeOnSelect: !1, | ||
return [(() => { | ||
const a = pn(); | ||
return x(() => _(a, Ne)), a; | ||
const a = $n(); | ||
return C(() => v(a, qe)), a; | ||
})(), (() => { | ||
const a = wn(); | ||
return x(() => _(a, je)), a; | ||
})(), u(qe, { | ||
const a = q(); | ||
return b(a, w), C(() => v(a, Ge)), a; | ||
})(), u(Ze, { | ||
get class() { | ||
return Be; | ||
return je; | ||
} | ||
})]; | ||
} | ||
}), u(b.Item, { | ||
}), u(p.Item, { | ||
get class() { | ||
return Re; | ||
return Ne; | ||
}, | ||
onSelect: () => p("speed"), | ||
onSelect: () => D("speed"), | ||
closeOnSelect: !1, | ||
get children() { | ||
return [(() => { | ||
const a = yn(); | ||
return x(() => _(a, Ne)), a; | ||
const a = wn(); | ||
return C(() => v(a, qe)), a; | ||
})(), (() => { | ||
const a = bn(); | ||
return x(() => _(a, je)), a; | ||
})(), u(qe, { | ||
const a = q(); | ||
return b(a, f), C(() => v(a, Ge)), a; | ||
})(), u(Ze, { | ||
get class() { | ||
return Be; | ||
return je; | ||
} | ||
@@ -896,24 +884,24 @@ })]; | ||
} | ||
}), u(oe, { | ||
}), u(fe, { | ||
get when() { | ||
return M() === "speed"; | ||
return g() === "speed"; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "დაკვრის სისწრაფე" | ||
}), u(b.RadioGroup, { | ||
}), u(p.RadioGroup, { | ||
get class() { | ||
return ae; | ||
return ve; | ||
}, | ||
get value() { | ||
return z(); | ||
return f(); | ||
}, | ||
onChange: Ke, | ||
onChange: $, | ||
get children() { | ||
return Mn.map((a) => u(b.RadioItem, { | ||
return Cn.map((a) => u(p.RadioItem, { | ||
get value() { | ||
@@ -923,13 +911,13 @@ return a.label; | ||
get class() { | ||
return ce; | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const g = de(); | ||
return E(g, u(b.ItemIndicator, { | ||
const m = q(); | ||
return b(m, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ue, {}); | ||
return u(ne, {}); | ||
} | ||
})), x(() => _(g, se)), g; | ||
})(), k(() => a.label)]; | ||
})), C(() => v(m, ee)), m; | ||
})(), A(() => a.label)]; | ||
} | ||
@@ -942,24 +930,24 @@ })); | ||
} | ||
}), u(oe, { | ||
}), u(fe, { | ||
get when() { | ||
return M() === "language"; | ||
return g() === "language"; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "ენა" | ||
}), u(b.RadioGroup, { | ||
}), u(p.RadioGroup, { | ||
get class() { | ||
return ae; | ||
return ve; | ||
}, | ||
get value() { | ||
return Qe(); | ||
return w(); | ||
}, | ||
onChange: Ye, | ||
onChange: L, | ||
get children() { | ||
return Tn.map((a) => u(b.RadioItem, { | ||
return n.languages.map((a) => u(p.RadioItem, { | ||
get value() { | ||
@@ -969,13 +957,13 @@ return a.label; | ||
get class() { | ||
return ce; | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const g = de(); | ||
return E(g, u(b.ItemIndicator, { | ||
const m = q(); | ||
return b(m, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ue, {}); | ||
return u(ne, {}); | ||
} | ||
})), x(() => _(g, se)), g; | ||
})(), k(() => a.label)]; | ||
})), C(() => v(m, ee)), m; | ||
})(), A(() => a.label)]; | ||
} | ||
@@ -994,53 +982,71 @@ })); | ||
} | ||
}), B), E(G, u(b.Root, { | ||
}), N), b(F, u(p.Root, { | ||
get open() { | ||
return v() !== "closed"; | ||
return I() !== "closed"; | ||
}, | ||
onOpenChange: (a) => m(a ? "main" : "closed"), | ||
onOpenChange: (a) => y(a ? "main" : "closed"), | ||
placement: "top", | ||
get children() { | ||
return [u(b.Trigger, { | ||
return [u(p.Trigger, { | ||
get class() { | ||
return ze; | ||
return Re; | ||
}, | ||
children: "4K" | ||
}), u(b.Content, { | ||
}), u(p.Content, { | ||
get class() { | ||
return Oe; | ||
return Be; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "ხარისხი" | ||
}), u(b.RadioGroup, { | ||
}), u(p.RadioGroup, { | ||
get class() { | ||
return ae; | ||
return ve; | ||
}, | ||
get value() { | ||
return y(); | ||
return P(); | ||
}, | ||
onChange: L, | ||
onChange: Qe, | ||
get children() { | ||
return Sn.map((a) => u(b.RadioItem, { | ||
get value() { | ||
return a.label; | ||
}, | ||
return [A(() => { | ||
var a; | ||
return (a = n.languages.find((m) => m.label === w())) == null ? void 0 : a.qualities.map((m) => u(p.RadioItem, { | ||
get value() { | ||
return m.label; | ||
}, | ||
get class() { | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const R = q(); | ||
return b(R, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ne, {}); | ||
} | ||
})), C(() => v(R, ee)), R; | ||
})(), A(() => m.label)]; | ||
} | ||
})); | ||
}), u(p.RadioItem, { | ||
value: "Auto", | ||
get class() { | ||
return ce; | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const g = de(); | ||
return E(g, u(b.ItemIndicator, { | ||
const a = q(); | ||
return b(a, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ue, {}); | ||
return u(ne, {}); | ||
} | ||
})), x(() => _(g, se)), g; | ||
})(), k(() => a.label)]; | ||
})), C(() => v(a, ee)), a; | ||
})(), "Auto"]; | ||
} | ||
})); | ||
})]; | ||
} | ||
@@ -1053,21 +1059,21 @@ })]; | ||
} | ||
}), B), E(G, u(rt.Root, { | ||
}), N), b(F, u(lt.Root, { | ||
get class() { | ||
return ze; | ||
return Re; | ||
}, | ||
get pressed() { | ||
return Je(); | ||
return Ye(); | ||
}, | ||
onChange: We, | ||
onChange: Je, | ||
children: "CC" | ||
}), B), B.$$click = () => V() ? document.exitFullscreen() : r.requestFullscreen(), E(B, (() => { | ||
const a = k(() => !!V()); | ||
return () => a() ? u(un, {}) : u(fn, {}); | ||
})()), x((a) => { | ||
const g = Wt, _e = Kt({ | ||
idle: I() | ||
}), me = Yt, ge = Qt, $e = Ut({ | ||
idle: I() | ||
}), pe = ie, we = ie, ye = U, be = Xt, xe = U, Le = ie, Ee = U; | ||
return g !== a._v$ && _(F, a._v$ = g), _e !== a._v$2 && _(ve, a._v$2 = _e), me !== a._v$3 && _(W, a._v$3 = me), ge !== a._v$4 && _(ee, a._v$4 = ge), $e !== a._v$5 && _(te, a._v$5 = $e), pe !== a._v$6 && _(ne, a._v$6 = pe), we !== a._v$7 && _(le, a._v$7 = we), ye !== a._v$8 && _(H, a._v$8 = ye), be !== a._v$9 && _(X, a._v$9 = be), xe !== a._v$10 && _(re, a._v$10 = xe), Le !== a._v$11 && _(G, a._v$11 = Le), Ee !== a._v$12 && _(B, a._v$12 = Ee), a; | ||
}), N), N.$$click = () => O() ? document.exitFullscreen() : r.requestFullscreen(), b(N, (() => { | ||
const a = A(() => !!O()); | ||
return () => a() ? u(un, {}) : u(dn, {}); | ||
})()), C((a) => { | ||
const m = Jt, R = Ut({ | ||
idle: k() | ||
}), H = Qt, we = Kt, pe = Xt({ | ||
idle: k() | ||
}), ye = he, be = he, xe = J, Ce = Ht, Le = J, Me = he, Ee = J; | ||
return m !== a._v$ && v(U, a._v$ = m), R !== a._v$2 && v($e, a._v$2 = R), H !== a._v$3 && v(ie, a._v$3 = H), we !== a._v$4 && v(se, a._v$4 = we), pe !== a._v$5 && v(ae, a._v$5 = pe), ye !== a._v$6 && v(ue, a._v$6 = ye), be !== a._v$7 && v(ce, a._v$7 = be), xe !== a._v$8 && v(K, a._v$8 = xe), Ce !== a._v$9 && v(Q, a._v$9 = Ce), Le !== a._v$10 && v(de, a._v$10 = Le), Me !== a._v$11 && v(F, a._v$11 = Me), Ee !== a._v$12 && v(N, a._v$12 = Ee), a; | ||
}, { | ||
@@ -1086,8 +1092,8 @@ _v$: void 0, | ||
_v$12: void 0 | ||
}), F; | ||
}), U; | ||
})(); | ||
} | ||
J(["click"]); | ||
oe(["click"]); | ||
export { | ||
kn as SolidPlayer | ||
Tn as SolidPlayer | ||
}; |
@@ -1,6 +0,6 @@ | ||
import { SolidPlayerSource, SolidPlayerTrack, SolidPlayerVideo } from "./types"; | ||
import { SolidPlayerLanguage, SolidPlayerTrack, SolidPlayerVideo } from "./types"; | ||
export interface Props extends SolidPlayerVideo { | ||
readonly sources?: readonly SolidPlayerSource[]; | ||
readonly languages: readonly SolidPlayerLanguage[]; | ||
readonly tracks?: readonly SolidPlayerTrack[]; | ||
} | ||
export declare function SolidPlayer(props: Props): import("solid-js").JSX.Element; |
@@ -24,15 +24,5 @@ export interface SolidPlayerSource { | ||
} | ||
export type SolidPlayerLanguage = SolidPlayerQuality | { | ||
export interface SolidPlayerLanguage { | ||
readonly label: string; | ||
readonly qualities: readonly SolidPlayerQuality[]; | ||
}; | ||
export type SolidPlayerEpisode = { | ||
readonly tracks?: readonly SolidPlayerTrack[]; | ||
} & ({ | ||
readonly label: string; | ||
readonly languages: readonly SolidPlayerLanguage[]; | ||
} | SolidPlayerLanguage); | ||
export type SolidPlayerSeason = SolidPlayerEpisode | { | ||
readonly label: string; | ||
readonly episodes: readonly SolidPlayerEpisode[]; | ||
}; | ||
} |
@@ -1,6 +0,6 @@ | ||
import { sharedConfig as O, createRenderEffect as x, untrack as Ge, createSignal as S, onMount as Ze, onCleanup as Fe, createMemo as k, createComponent as u, splitProps as et, createEffect as tt, mergeProps as nt, For as Ce, Switch as lt, Match as oe } from "solid-js"; | ||
import { DropdownMenu as b, ToggleButton as rt } from "@kobalte/core"; | ||
import { createElementBounds as He } from "@solid-primitives/bounds"; | ||
import { createIdleTimer as ot } from "@solid-primitives/idle"; | ||
const it = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], st = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...it]), at = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ct = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), { | ||
import { sharedConfig as B, createRenderEffect as C, untrack as me, createSignal as S, onMount as Fe, onCleanup as He, createMemo as A, createComponent as u, splitProps as We, createEffect as Se, mergeProps as et, For as Y, Show as tt, Switch as nt, Match as fe } from "solid-js"; | ||
import { DropdownMenu as p, ToggleButton as lt } from "@kobalte/core"; | ||
import { createElementBounds as Xe } from "@solid-primitives/bounds"; | ||
import { createIdleTimer as rt } from "@solid-primitives/idle"; | ||
const ot = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], it = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...ot]), st = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), at = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), { | ||
className: "class", | ||
@@ -33,11 +33,11 @@ htmlFor: "for" | ||
}); | ||
function dt(n, t) { | ||
function ct(n, t) { | ||
const e = ut[n]; | ||
return typeof e == "object" ? e[t] ? e.$ : void 0 : e; | ||
} | ||
const ft = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), ht = { | ||
const dt = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), ft = { | ||
xlink: "http://www.w3.org/1999/xlink", | ||
xml: "http://www.w3.org/XML/1998/namespace" | ||
}; | ||
function vt(n, t, e) { | ||
function ht(n, t, e) { | ||
let r = e.length, l = t.length, i = r, s = 0, o = 0, c = t[l - 1].nextSibling, d = null; | ||
@@ -52,5 +52,5 @@ for (; s < l || o < i; ) { | ||
if (l === s) { | ||
const h = i < r ? o ? e[o - 1].nextSibling : e[i - o] : c; | ||
const _ = i < r ? o ? e[o - 1].nextSibling : e[i - o] : c; | ||
for (; o < i; ) | ||
n.insertBefore(e[o++], h); | ||
n.insertBefore(e[o++], _); | ||
} else if (i === o) | ||
@@ -60,21 +60,21 @@ for (; s < l; ) | ||
else if (t[s] === e[i - 1] && e[o] === t[l - 1]) { | ||
const h = t[--l].nextSibling; | ||
n.insertBefore(e[o++], t[s++].nextSibling), n.insertBefore(e[--i], h), t[l] = e[i]; | ||
const _ = t[--l].nextSibling; | ||
n.insertBefore(e[o++], t[s++].nextSibling), n.insertBefore(e[--i], _), t[l] = e[i]; | ||
} else { | ||
if (!d) { | ||
d = /* @__PURE__ */ new Map(); | ||
let f = o; | ||
for (; f < i; ) | ||
d.set(e[f], f++); | ||
let h = o; | ||
for (; h < i; ) | ||
d.set(e[h], h++); | ||
} | ||
const h = d.get(t[s]); | ||
if (h != null) | ||
if (o < h && h < i) { | ||
let f = s, T = 1, D; | ||
for (; ++f < l && f < i && !((D = d.get(t[f])) == null || D !== h + T); ) | ||
T++; | ||
if (T > h - o) { | ||
const P = t[s]; | ||
for (; o < h; ) | ||
n.insertBefore(e[o++], P); | ||
const _ = d.get(t[s]); | ||
if (_ != null) | ||
if (o < _ && _ < i) { | ||
let h = s, E = 1, T; | ||
for (; ++h < l && h < i && !((T = d.get(t[h])) == null || T !== _ + E); ) | ||
E++; | ||
if (E > _ - o) { | ||
const V = t[s]; | ||
for (; o < _; ) | ||
n.insertBefore(e[o++], V); | ||
} else | ||
@@ -89,4 +89,4 @@ n.replaceChild(e[o++], t[s++]); | ||
} | ||
const Me = "_$DX_DELEGATE"; | ||
function w(n, t, e) { | ||
const Te = "_$DX_DELEGATE"; | ||
function x(n, t, e) { | ||
let r; | ||
@@ -96,22 +96,22 @@ const l = () => { | ||
return s.innerHTML = n, e ? s.content.firstChild.firstChild : s.content.firstChild; | ||
}, i = t ? () => (r || (r = l())).cloneNode(!0) : () => Ge(() => document.importNode(r || (r = l()), !0)); | ||
}, i = t ? () => (r || (r = l())).cloneNode(!0) : () => me(() => document.importNode(r || (r = l()), !0)); | ||
return i.cloneNode = i, i; | ||
} | ||
function J(n, t = window.document) { | ||
const e = t[Me] || (t[Me] = /* @__PURE__ */ new Set()); | ||
function oe(n, t = window.document) { | ||
const e = t[Te] || (t[Te] = /* @__PURE__ */ new Set()); | ||
for (let r = 0, l = n.length; r < l; r++) { | ||
const i = n[r]; | ||
e.has(i) || (e.add(i), t.addEventListener(i, yt)); | ||
e.has(i) || (e.add(i), t.addEventListener(i, pt)); | ||
} | ||
} | ||
function A(n, t, e) { | ||
function z(n, t, e) { | ||
e == null ? n.removeAttribute(t) : n.setAttribute(t, e); | ||
} | ||
function _t(n, t, e, r) { | ||
function vt(n, t, e, r) { | ||
r == null ? n.removeAttributeNS(t, e) : n.setAttributeNS(t, e, r); | ||
} | ||
function _(n, t) { | ||
function v(n, t) { | ||
t == null ? n.removeAttribute("class") : n.className = t; | ||
} | ||
function mt(n, t, e, r) { | ||
function _t(n, t, e, r) { | ||
if (r) | ||
@@ -125,3 +125,3 @@ Array.isArray(e) ? (n[`$$${t}`] = e[0], n[`$$${t}Data`] = e[1]) : n[`$$${t}`] = e; | ||
} | ||
function gt(n, t, e = {}) { | ||
function mt(n, t, e = {}) { | ||
const r = Object.keys(t || {}), l = Object.keys(e); | ||
@@ -131,13 +131,13 @@ let i, s; | ||
const o = l[i]; | ||
!o || o === "undefined" || t[o] || (Se(n, o, !1), delete e[o]); | ||
!o || o === "undefined" || t[o] || (De(n, o, !1), delete e[o]); | ||
} | ||
for (i = 0, s = r.length; i < s; i++) { | ||
const o = r[i], c = !!t[o]; | ||
!o || o === "undefined" || e[o] === c || !c || (Se(n, o, !0), e[o] = c); | ||
!o || o === "undefined" || e[o] === c || !c || (De(n, o, !0), e[o] = c); | ||
} | ||
return e; | ||
} | ||
function $t(n, t, e) { | ||
function gt(n, t, e) { | ||
if (!t) | ||
return e ? A(n, "style") : t; | ||
return e ? z(n, "style") : t; | ||
const r = n.style; | ||
@@ -154,15 +154,15 @@ if (typeof t == "string") | ||
} | ||
function Q(n, t = {}, e, r) { | ||
function le(n, t = {}, e, r) { | ||
const l = {}; | ||
return r || x(() => l.children = j(n, t.children, l.children)), x(() => t.ref && t.ref(n)), x(() => pt(n, t, e, !0, l, !0)), l; | ||
return r || C(() => l.children = G(n, t.children, l.children)), C(() => t.ref && t.ref(n)), C(() => $t(n, t, e, !0, l, !0)), l; | ||
} | ||
function Y(n, t, e) { | ||
return Ge(() => n(t, e)); | ||
function re(n, t, e) { | ||
return me(() => n(t, e)); | ||
} | ||
function E(n, t, e, r) { | ||
function b(n, t, e, r) { | ||
if (e !== void 0 && !r && (r = []), typeof t != "function") | ||
return j(n, t, r, e); | ||
x((l) => j(n, t(), l, e), r); | ||
return G(n, t, r, e); | ||
C((l) => G(n, t(), l, e), r); | ||
} | ||
function pt(n, t, e, r, l = {}, i = !1) { | ||
function $t(n, t, e, r, l = {}, i = !1) { | ||
t || (t = {}); | ||
@@ -173,11 +173,11 @@ for (const s in l) | ||
continue; | ||
l[s] = Te(n, s, null, l[s], e, i); | ||
l[s] = Ie(n, s, null, l[s], e, i); | ||
} | ||
for (const s in t) { | ||
if (s === "children") { | ||
r || j(n, t.children); | ||
r || G(n, t.children); | ||
continue; | ||
} | ||
const o = t[s]; | ||
l[s] = Te(n, s, o, l[s], e, i); | ||
l[s] = Ie(n, s, o, l[s], e, i); | ||
} | ||
@@ -188,3 +188,3 @@ } | ||
} | ||
function Se(n, t, e) { | ||
function De(n, t, e) { | ||
const r = t.trim().split(/\s+/); | ||
@@ -194,8 +194,8 @@ for (let l = 0, i = r.length; l < i; l++) | ||
} | ||
function Te(n, t, e, r, l, i) { | ||
let s, o, c, d, h; | ||
function Ie(n, t, e, r, l, i) { | ||
let s, o, c, d, _; | ||
if (t === "style") | ||
return $t(n, e, r); | ||
return gt(n, e, r); | ||
if (t === "classList") | ||
return gt(n, e, r); | ||
return mt(n, e, r); | ||
if (e === r) | ||
@@ -206,25 +206,25 @@ return r; | ||
else if (t.slice(0, 3) === "on:") { | ||
const f = t.slice(3); | ||
r && n.removeEventListener(f, r), e && n.addEventListener(f, e); | ||
const h = t.slice(3); | ||
r && n.removeEventListener(h, r), e && n.addEventListener(h, e); | ||
} else if (t.slice(0, 10) === "oncapture:") { | ||
const f = t.slice(10); | ||
r && n.removeEventListener(f, r, !0), e && n.addEventListener(f, e, !0); | ||
const h = t.slice(10); | ||
r && n.removeEventListener(h, r, !0), e && n.addEventListener(h, e, !0); | ||
} else if (t.slice(0, 2) === "on") { | ||
const f = t.slice(2).toLowerCase(), T = ft.has(f); | ||
if (!T && r) { | ||
const D = Array.isArray(r) ? r[0] : r; | ||
n.removeEventListener(f, D); | ||
const h = t.slice(2).toLowerCase(), E = dt.has(h); | ||
if (!E && r) { | ||
const T = Array.isArray(r) ? r[0] : r; | ||
n.removeEventListener(h, T); | ||
} | ||
(T || e) && (mt(n, f, e, T), T && J([f])); | ||
(E || e) && (_t(n, h, e, E), E && oe([h])); | ||
} else if (t.slice(0, 5) === "attr:") | ||
A(n, t.slice(5), e); | ||
else if ((h = t.slice(0, 5) === "prop:") || (c = at.has(t)) || !l && ((d = dt(t, n.tagName)) || (o = st.has(t))) || (s = n.nodeName.includes("-"))) | ||
h && (t = t.slice(5), o = !0), t === "class" || t === "className" ? _(n, e) : s && !o && !c ? n[wt(t)] = e : n[d || t] = e; | ||
z(n, t.slice(5), e); | ||
else if ((_ = t.slice(0, 5) === "prop:") || (c = st.has(t)) || !l && ((d = ct(t, n.tagName)) || (o = it.has(t))) || (s = n.nodeName.includes("-"))) | ||
_ && (t = t.slice(5), o = !0), t === "class" || t === "className" ? v(n, e) : s && !o && !c ? n[wt(t)] = e : n[d || t] = e; | ||
else { | ||
const f = l && t.indexOf(":") > -1 && ht[t.split(":")[0]]; | ||
f ? _t(n, f, t, e) : A(n, ct[t] || t, e); | ||
const h = l && t.indexOf(":") > -1 && ft[t.split(":")[0]]; | ||
h ? vt(n, h, t, e) : z(n, at[t] || t, e); | ||
} | ||
return e; | ||
} | ||
function yt(n) { | ||
function pt(n) { | ||
const t = `$$${n.type}`; | ||
@@ -240,3 +240,3 @@ let e = n.composedPath && n.composedPath()[0] || n.target; | ||
} | ||
}), O.registry && !O.done && (O.done = _$HY.done = !0); e; ) { | ||
}), B.registry && !B.done && (B.done = _$HY.done = !0); e; ) { | ||
const r = e[t]; | ||
@@ -251,4 +251,4 @@ if (r && !e.disabled) { | ||
} | ||
function j(n, t, e, r, l) { | ||
if (O.context) { | ||
function G(n, t, e, r, l) { | ||
if (B.context) { | ||
!e && (e = [...n.childNodes]); | ||
@@ -268,26 +268,26 @@ let o = []; | ||
if (n = s && e[0] && e[0].parentNode || n, i === "string" || i === "number") { | ||
if (O.context) | ||
if (B.context) | ||
return e; | ||
if (i === "number" && (t = t.toString()), s) { | ||
let o = e[0]; | ||
o && o.nodeType === 3 ? o.data = t : o = document.createTextNode(t), e = N(n, e, r, o); | ||
o && o.nodeType === 3 ? o.data = t : o = document.createTextNode(t), e = j(n, e, r, o); | ||
} else | ||
e !== "" && typeof e == "string" ? e = n.firstChild.data = t : e = n.textContent = t; | ||
} else if (t == null || i === "boolean") { | ||
if (O.context) | ||
if (B.context) | ||
return e; | ||
e = N(n, e, r); | ||
e = j(n, e, r); | ||
} else { | ||
if (i === "function") | ||
return x(() => { | ||
return C(() => { | ||
let o = t(); | ||
for (; typeof o == "function"; ) | ||
o = o(); | ||
e = j(n, o, e, r); | ||
e = G(n, o, e, r); | ||
}), () => e; | ||
if (Array.isArray(t)) { | ||
const o = [], c = e && Array.isArray(e); | ||
if (fe(o, t, e, l)) | ||
return x(() => e = j(n, o, e, r, !0)), () => e; | ||
if (O.context) { | ||
if (_e(o, t, e, l)) | ||
return C(() => e = G(n, o, e, r, !0)), () => e; | ||
if (B.context) { | ||
if (!o.length) | ||
@@ -300,14 +300,14 @@ return e; | ||
if (o.length === 0) { | ||
if (e = N(n, e, r), s) | ||
if (e = j(n, e, r), s) | ||
return e; | ||
} else | ||
c ? e.length === 0 ? De(n, o, r) : vt(n, e, o) : (e && N(n), De(n, o)); | ||
c ? e.length === 0 ? Pe(n, o, r) : ht(n, e, o) : (e && j(n), Pe(n, o)); | ||
e = o; | ||
} else if (t.nodeType) { | ||
if (O.context && t.parentNode) | ||
if (B.context && t.parentNode) | ||
return e = s ? [t] : t; | ||
if (Array.isArray(e)) { | ||
if (s) | ||
return e = N(n, e, r, t); | ||
N(n, e, null, t); | ||
return e = j(n, e, r, t); | ||
j(n, e, null, t); | ||
} else | ||
@@ -321,3 +321,3 @@ e == null || e === "" || !n.firstChild ? n.appendChild(t) : n.replaceChild(t, n.firstChild); | ||
} | ||
function fe(n, t, e, r) { | ||
function _e(n, t, e, r) { | ||
let l = !1; | ||
@@ -330,3 +330,3 @@ for (let i = 0, s = t.length; i < s; i++) { | ||
else if (Array.isArray(o)) | ||
l = fe(n, o, c) || l; | ||
l = _e(n, o, c) || l; | ||
else if (d === "function") | ||
@@ -336,8 +336,8 @@ if (r) { | ||
o = o(); | ||
l = fe(n, Array.isArray(o) ? o : [o], Array.isArray(c) ? c : [c]) || l; | ||
l = _e(n, Array.isArray(o) ? o : [o], Array.isArray(c) ? c : [c]) || l; | ||
} else | ||
n.push(o), l = !0; | ||
else { | ||
const h = String(o); | ||
c && c.nodeType === 3 && c.data === h ? n.push(c) : n.push(document.createTextNode(h)); | ||
const _ = String(o); | ||
c && c.nodeType === 3 && c.data === _ ? n.push(c) : n.push(document.createTextNode(_)); | ||
} | ||
@@ -347,7 +347,7 @@ } | ||
} | ||
function De(n, t, e = null) { | ||
function Pe(n, t, e = null) { | ||
for (let r = 0, l = t.length; r < l; r++) | ||
n.insertBefore(t[r], e); | ||
} | ||
function N(n, t, e, r) { | ||
function j(n, t, e, r) { | ||
if (e === void 0) | ||
@@ -370,12 +370,12 @@ return n.textContent = ""; | ||
} | ||
function Ie(n, t) { | ||
function Ae(n, t) { | ||
const e = Math.floor(n / 3600), r = Math.floor((n - e * 3600) / 60), l = Math.floor(n - e * 3600 - r * 60), i = String(r).padStart(2, "0"), s = String(l).padStart(2, "0"); | ||
return t != null && t / 3600 >= 1 ? `${String(e).padStart(2, "0")}:${i}:${s}` : `${i}:${s}`; | ||
} | ||
function Xe(n, t, e) { | ||
function Ue(n, t, e) { | ||
return Math.max(n, Math.min(t, e)); | ||
} | ||
var bt = "VolumeRocker_thumb__aiqwzx0", xt = "VolumeRocker_track__aiqwzx1", Lt = "VolumeRocker_trackFilled__aiqwzx2", Et = "VolumeRocker_volumeButton__aiqwzx4", Ct = "VolumeRocker_volumeRocker__aiqwzx3"; | ||
const Mt = /* @__PURE__ */ w('<div><button type="button"></button><div>'), Pe = /* @__PURE__ */ w("<div>"), St = /* @__PURE__ */ w('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 12V20H9.33333L16 26.6666V5.33331L9.33333 12H4ZM22 16C22 13.64 20.64 11.6133 18.6667 10.6266V21.36C20.64 20.3866 22 18.36 22 16ZM18.6667 4.30664V7.05331C22.52 8.19997 25.3333 11.7733 25.3333 16C25.3333 20.2266 22.52 23.8 18.6667 24.9466V27.6933C24.0133 26.48 28 21.7066 28 16C28 10.2933 24.0133 5.51997 18.6667 4.30664Z" fill="white">'), Tt = /* @__PURE__ */ w('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M24.667 16C24.667 13.64 23.307 11.6134 21.3337 10.6267V21.36C23.307 20.3867 24.667 18.36 24.667 16ZM6.66699 12V20H12.0003L18.667 26.6667V5.33337L12.0003 12H6.66699Z" fill="white">'), Dt = /* @__PURE__ */ w('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 16C22 13.64 20.64 11.6133 18.6667 10.6267V13.5733L21.9333 16.84C21.9733 16.5733 22 16.2933 22 16V16ZM25.3333 16C25.3333 17.2533 25.0667 18.4267 24.6133 19.52L26.6267 21.5333C27.5067 19.88 28 18 28 16C28 10.2933 24.0133 5.52 18.6667 4.30667V7.05333C22.52 8.2 25.3333 11.7733 25.3333 16ZM5.69333 4L4 5.69333L10.3067 12H4V20H9.33333L16 26.6667V17.6933L21.6667 23.36C20.7733 24.0533 19.7733 24.6 18.6667 24.9333V27.68C20.5067 27.2667 22.1733 26.4133 23.5867 25.2667L26.3067 28L28 26.3067L16 14.3067L5.69333 4ZM16 5.33333L13.2133 8.12L16 10.9067V5.33333Z" fill="white">'); | ||
function It({ | ||
var yt = "VolumeRocker_thumb__aiqwzx0", bt = "VolumeRocker_track__aiqwzx1", xt = "VolumeRocker_trackFilled__aiqwzx2", Ct = "VolumeRocker_volumeButton__aiqwzx4", Lt = "VolumeRocker_volumeRocker__aiqwzx3"; | ||
const Mt = /* @__PURE__ */ x('<div><button type="button"></button><div>'), Ve = /* @__PURE__ */ x("<div>"), Et = /* @__PURE__ */ x('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 12V20H9.33333L16 26.6666V5.33331L9.33333 12H4ZM22 16C22 13.64 20.64 11.6133 18.6667 10.6266V21.36C20.64 20.3866 22 18.36 22 16ZM18.6667 4.30664V7.05331C22.52 8.19997 25.3333 11.7733 25.3333 16C25.3333 20.2266 22.52 23.8 18.6667 24.9466V27.6933C24.0133 26.48 28 21.7066 28 16C28 10.2933 24.0133 5.51997 18.6667 4.30664Z" fill="white">'), St = /* @__PURE__ */ x('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M24.667 16C24.667 13.64 23.307 11.6134 21.3337 10.6267V21.36C23.307 20.3867 24.667 18.36 24.667 16ZM6.66699 12V20H12.0003L18.667 26.6667V5.33337L12.0003 12H6.66699Z" fill="white">'), Tt = /* @__PURE__ */ x('<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 16C22 13.64 20.64 11.6133 18.6667 10.6267V13.5733L21.9333 16.84C21.9733 16.5733 22 16.2933 22 16V16ZM25.3333 16C25.3333 17.2533 25.0667 18.4267 24.6133 19.52L26.6267 21.5333C27.5067 19.88 28 18 28 16C28 10.2933 24.0133 5.52 18.6667 4.30667V7.05333C22.52 8.2 25.3333 11.7733 25.3333 16ZM5.69333 4L4 5.69333L10.3067 12H4V20H9.33333L16 26.6667V17.6933L21.6667 23.36C20.7733 24.0533 19.7733 24.6 18.6667 24.9333V27.68C20.5067 27.2667 22.1733 26.4133 23.5867 25.2667L26.3067 28L28 26.3067L16 14.3067L5.69333 4ZM16 5.33333L13.2133 8.12L16 10.9067V5.33333Z" fill="white">'); | ||
function Dt({ | ||
volume: n, | ||
@@ -388,69 +388,69 @@ setVolume: t, | ||
let [s, o] = S(); | ||
const c = He(s), d = 6, h = ($) => { | ||
const c = Xe(s), d = 6, _ = (g) => { | ||
if (!s) | ||
return; | ||
const I = c.width - d * 2 - 4, M = $ - c.left - d - 2; | ||
t(Xe(0, M / I * 100, 100) / 100); | ||
const D = c.width - d * 2 - 4, I = g - c.left - d - 2; | ||
t(Ue(0, I / D * 100, 100) / 100); | ||
}; | ||
function f($) { | ||
l() && h($.clientX); | ||
function h(g) { | ||
l() && _(g.clientX); | ||
} | ||
function T($) { | ||
l() && h($.touches[0].clientX); | ||
function E(g) { | ||
l() && _(g.touches[0].clientX); | ||
} | ||
function D($) { | ||
l() && (i(!1), h($.clientX)); | ||
function T(g) { | ||
l() && (i(!1), _(g.clientX)); | ||
} | ||
function P($) { | ||
function V(g) { | ||
i(!1); | ||
} | ||
function R() { | ||
function O() { | ||
i(!1); | ||
} | ||
function C() { | ||
function M() { | ||
i(!1); | ||
} | ||
Ze(() => { | ||
document.addEventListener("mousemove", f), document.addEventListener("mouseup", D), document.addEventListener("mouseleave", R), document.addEventListener("touchend", P), document.addEventListener("touchmove", T), document.addEventListener("touchcancel", C); | ||
}), Fe(() => { | ||
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", D), document.removeEventListener("mouseleave", R), document.removeEventListener("touchend", P), document.removeEventListener("touchmove", T), document.removeEventListener("touchcancel", C); | ||
Fe(() => { | ||
document.addEventListener("mousemove", h), document.addEventListener("mouseup", T), document.addEventListener("mouseleave", O), document.addEventListener("touchend", V), document.addEventListener("touchmove", E), document.addEventListener("touchcancel", M); | ||
}), He(() => { | ||
document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", T), document.removeEventListener("mouseleave", O), document.removeEventListener("touchend", V), document.removeEventListener("touchmove", E), document.removeEventListener("touchcancel", M); | ||
}); | ||
const V = () => n() === 0 || e() ? u(kt, {}) : n() <= 0.5 ? u(Vt, {}) : u(Pt, {}); | ||
const k = () => n() === 0 || e() ? u(At, {}) : n() <= 0.5 ? u(Pt, {}) : u(It, {}); | ||
return (() => { | ||
const $ = Mt(), I = $.firstChild, M = I.nextSibling; | ||
I.$$click = () => { | ||
const g = Mt(), D = g.firstChild, I = D.nextSibling; | ||
D.$$click = () => { | ||
n() === 0 ? t(0.5) : r(!e()); | ||
}, E(I, V), M.$$touchstart = (v) => { | ||
v.touches.length === 1 && (i(!0), h(v.touches[0].clientX)); | ||
}, M.$$mousedown = (v) => { | ||
i(!0), h(v.clientX); | ||
}, b(D, k), I.$$touchstart = (f) => { | ||
f.touches.length === 1 && (i(!0), _(f.touches[0].clientX)); | ||
}, I.$$mousedown = (f) => { | ||
i(!0), _(f.clientX); | ||
}; | ||
const p = o; | ||
return typeof p == "function" ? Y(p, M) : o = M, E(M, (() => { | ||
const v = k(() => !!c.width); | ||
return () => v() && (() => { | ||
const m = Pe(); | ||
return x((y) => { | ||
const L = Lt, z = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== y._v$4 && _(m, y._v$4 = L), z !== y._v$5 && ((y._v$5 = z) != null ? m.style.setProperty("width", z) : m.style.removeProperty("width")), y; | ||
const y = o; | ||
return typeof y == "function" ? re(y, I) : o = I, b(I, (() => { | ||
const f = A(() => !!c.width); | ||
return () => f() && (() => { | ||
const $ = Ve(); | ||
return C((w) => { | ||
const L = xt, P = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== w._v$4 && v($, w._v$4 = L), P !== w._v$5 && ((w._v$5 = P) != null ? $.style.setProperty("width", P) : $.style.removeProperty("width")), w; | ||
}, { | ||
_v$4: void 0, | ||
_v$5: void 0 | ||
}), m; | ||
}), $; | ||
})(); | ||
})(), null), E(M, (() => { | ||
const v = k(() => !!c.width); | ||
return () => v() && (() => { | ||
const m = Pe(); | ||
return x((y) => { | ||
const L = bt, z = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== y._v$6 && _(m, y._v$6 = L), z !== y._v$7 && ((y._v$7 = z) != null ? m.style.setProperty("left", z) : m.style.removeProperty("left")), y; | ||
})(), null), b(I, (() => { | ||
const f = A(() => !!c.width); | ||
return () => f() && (() => { | ||
const $ = Ve(); | ||
return C((w) => { | ||
const L = yt, P = (c.width - d * 2) * (e() ? 0 : n()) + "px"; | ||
return L !== w._v$6 && v($, w._v$6 = L), P !== w._v$7 && ((w._v$7 = P) != null ? $.style.setProperty("left", P) : $.style.removeProperty("left")), w; | ||
}, { | ||
_v$6: void 0, | ||
_v$7: void 0 | ||
}), m; | ||
}), $; | ||
})(); | ||
})(), null), x((v) => { | ||
const m = Ct, y = Et, L = xt; | ||
return m !== v._v$ && _($, v._v$ = m), y !== v._v$2 && _(I, v._v$2 = y), L !== v._v$3 && _(M, v._v$3 = L), v; | ||
})(), null), C((f) => { | ||
const $ = Lt, w = Ct, L = bt; | ||
return $ !== f._v$ && v(g, f._v$ = $), w !== f._v$2 && v(D, f._v$2 = w), L !== f._v$3 && v(I, f._v$3 = L), f; | ||
}, { | ||
@@ -460,18 +460,18 @@ _v$: void 0, | ||
_v$3: void 0 | ||
}), $; | ||
}), g; | ||
})(); | ||
} | ||
function It() { | ||
return Et(); | ||
} | ||
function Pt() { | ||
return St(); | ||
} | ||
function Vt() { | ||
function At() { | ||
return Tt(); | ||
} | ||
function kt() { | ||
return Dt(); | ||
} | ||
J(["click", "mousedown", "touchstart"]); | ||
var At = "Timeline_thumb__13evcqz3", zt = "Timeline_timeline__13evcqz0", Ot = "Timeline_timelineCurrentTime__13evcqz1", Rt = "Timeline_timelineDuration__13evcqz2", Bt = "Timeline_track__13evcqz4", Nt = "Timeline_trackFilled__13evcqz5"; | ||
const jt = /* @__PURE__ */ w("<div><div></div><div></div><div>"), Ve = /* @__PURE__ */ w("<div>"); | ||
function qt({ | ||
oe(["click", "mousedown", "touchstart"]); | ||
var Vt = "Timeline_thumb__13evcqz3", kt = "Timeline_timeline__13evcqz0", zt = "Timeline_timelineCurrentTime__13evcqz1", Ot = "Timeline_timelineDuration__13evcqz2", Rt = "Timeline_track__13evcqz4", Bt = "Timeline_trackFilled__13evcqz5"; | ||
const Nt = /* @__PURE__ */ x("<div><div></div><div></div><div>"), ke = /* @__PURE__ */ x("<div>"); | ||
function jt({ | ||
currentTime: n, | ||
@@ -483,63 +483,63 @@ setCurrentTime: t, | ||
let [i, s] = S(); | ||
const o = He(i), c = 6, d = (C) => { | ||
const V = o.width - c * 2, $ = C - o.left - c; | ||
t(Xe(0, $ / V * e(), e())); | ||
const o = Xe(i), c = 6, d = (M) => { | ||
const k = o.width - c * 2, g = M - o.left - c; | ||
t(Ue(0, g / k * e(), e())); | ||
}; | ||
function h(C) { | ||
r() && d(C.clientX); | ||
function _(M) { | ||
r() && d(M.clientX); | ||
} | ||
function f(C) { | ||
r() && d(C.touches[0].clientX); | ||
function h(M) { | ||
r() && d(M.touches[0].clientX); | ||
} | ||
function T(C) { | ||
r() && (l(!1), d(C.clientX)); | ||
function E(M) { | ||
r() && (l(!1), d(M.clientX)); | ||
} | ||
function D(C) { | ||
function T(M) { | ||
l(!1); | ||
} | ||
function P() { | ||
function V() { | ||
l(!1); | ||
} | ||
function R() { | ||
function O() { | ||
l(!1); | ||
} | ||
return Ze(() => { | ||
document.addEventListener("mousemove", h), document.addEventListener("mouseup", T), document.addEventListener("mouseleave", P), document.addEventListener("touchend", D), document.addEventListener("touchmove", f), document.addEventListener("touchcancel", R); | ||
}), Fe(() => { | ||
document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", T), document.removeEventListener("mouseleave", P), document.removeEventListener("touchend", D), document.removeEventListener("touchmove", f), document.removeEventListener("touchcancel", R); | ||
return Fe(() => { | ||
document.addEventListener("mousemove", _), document.addEventListener("mouseup", E), document.addEventListener("mouseleave", V), document.addEventListener("touchend", T), document.addEventListener("touchmove", h), document.addEventListener("touchcancel", O); | ||
}), He(() => { | ||
document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", E), document.removeEventListener("mouseleave", V), document.removeEventListener("touchend", T), document.removeEventListener("touchmove", h), document.removeEventListener("touchcancel", O); | ||
}), (() => { | ||
const C = jt(), V = C.firstChild, $ = V.nextSibling, I = $.nextSibling; | ||
E(V, () => Ie(n(), e())), $.$$touchstart = (p) => { | ||
p.touches.length === 1 && (l(!0), d(p.touches[0].clientX)); | ||
}, $.$$mousedown = (p) => { | ||
l(!0), d(p.clientX); | ||
const M = Nt(), k = M.firstChild, g = k.nextSibling, D = g.nextSibling; | ||
b(k, () => Ae(n(), e())), g.$$touchstart = (y) => { | ||
y.touches.length === 1 && (l(!0), d(y.touches[0].clientX)); | ||
}, g.$$mousedown = (y) => { | ||
l(!0), d(y.clientX); | ||
}; | ||
const M = s; | ||
return typeof M == "function" ? Y(M, $) : s = $, E($, (() => { | ||
const p = k(() => !!o.width); | ||
return () => p() && (() => { | ||
const v = Ve(); | ||
return x((m) => { | ||
const y = Nt, L = (o.width - c * 2) * n() / e() + "px"; | ||
return y !== m._v$5 && _(v, m._v$5 = y), L !== m._v$6 && ((m._v$6 = L) != null ? v.style.setProperty("width", L) : v.style.removeProperty("width")), m; | ||
const I = s; | ||
return typeof I == "function" ? re(I, g) : s = g, b(g, (() => { | ||
const y = A(() => !!o.width); | ||
return () => y() && (() => { | ||
const f = ke(); | ||
return C(($) => { | ||
const w = Bt, L = (o.width - c * 2) * n() / e() + "px"; | ||
return w !== $._v$5 && v(f, $._v$5 = w), L !== $._v$6 && (($._v$6 = L) != null ? f.style.setProperty("width", L) : f.style.removeProperty("width")), $; | ||
}, { | ||
_v$5: void 0, | ||
_v$6: void 0 | ||
}), v; | ||
}), f; | ||
})(); | ||
})(), null), E($, (() => { | ||
const p = k(() => !!o.width); | ||
return () => p() && (() => { | ||
const v = Ve(); | ||
return x((m) => { | ||
const y = At, L = (o.width - c * 2) * n() / e() - 3 + "px"; | ||
return y !== m._v$7 && _(v, m._v$7 = y), L !== m._v$8 && ((m._v$8 = L) != null ? v.style.setProperty("left", L) : v.style.removeProperty("left")), m; | ||
})(), null), b(g, (() => { | ||
const y = A(() => !!o.width); | ||
return () => y() && (() => { | ||
const f = ke(); | ||
return C(($) => { | ||
const w = Vt, L = (o.width - c * 2) * n() / e() - 3 + "px"; | ||
return w !== $._v$7 && v(f, $._v$7 = w), L !== $._v$8 && (($._v$8 = L) != null ? f.style.setProperty("left", L) : f.style.removeProperty("left")), $; | ||
}, { | ||
_v$7: void 0, | ||
_v$8: void 0 | ||
}), v; | ||
}), f; | ||
})(); | ||
})(), null), E(I, () => Ie(e(), e())), x((p) => { | ||
const v = zt, m = Ot, y = Bt, L = Rt; | ||
return v !== p._v$ && _(C, p._v$ = v), m !== p._v$2 && _(V, p._v$2 = m), y !== p._v$3 && _($, p._v$3 = y), L !== p._v$4 && _(I, p._v$4 = L), p; | ||
})(), null), b(D, () => Ae(e(), e())), C((y) => { | ||
const f = kt, $ = zt, w = Rt, L = Ot; | ||
return f !== y._v$ && v(M, y._v$ = f), $ !== y._v$2 && v(k, y._v$2 = $), w !== y._v$3 && v(g, y._v$3 = w), L !== y._v$4 && v(D, y._v$4 = L), y; | ||
}, { | ||
@@ -550,7 +550,7 @@ _v$: void 0, | ||
_v$4: void 0 | ||
}), C; | ||
}), M; | ||
})(); | ||
} | ||
J(["mousedown", "touchstart"]); | ||
function Gt(n, t) { | ||
oe(["mousedown", "touchstart"]); | ||
function qt(n, t) { | ||
if (typeof n != "object" || n === null) | ||
@@ -567,8 +567,8 @@ return n; | ||
} | ||
function Zt(n) { | ||
var t = Gt(n, "string"); | ||
function Gt(n) { | ||
var t = qt(n, "string"); | ||
return typeof t == "symbol" ? t : String(t); | ||
} | ||
function Ft(n, t, e) { | ||
return t = Zt(t), t in n ? Object.defineProperty(n, t, { | ||
function Zt(n, t, e) { | ||
return t = Gt(t), t in n ? Object.defineProperty(n, t, { | ||
value: e, | ||
@@ -580,3 +580,3 @@ enumerable: !0, | ||
} | ||
function ke(n, t) { | ||
function ze(n, t) { | ||
var e = Object.keys(n); | ||
@@ -591,8 +591,8 @@ if (Object.getOwnPropertySymbols) { | ||
} | ||
function Ae(n) { | ||
function Oe(n) { | ||
for (var t = 1; t < arguments.length; t++) { | ||
var e = arguments[t] != null ? arguments[t] : {}; | ||
t % 2 ? ke(Object(e), !0).forEach(function(r) { | ||
Ft(n, r, e[r]); | ||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : ke(Object(e)).forEach(function(r) { | ||
t % 2 ? ze(Object(e), !0).forEach(function(r) { | ||
Zt(n, r, e[r]); | ||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : ze(Object(e)).forEach(function(r) { | ||
Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(e, r)); | ||
@@ -603,3 +603,3 @@ }); | ||
} | ||
var Ht = (n, t, e) => { | ||
var Ft = (n, t, e) => { | ||
for (var r of Object.keys(n)) { | ||
@@ -611,5 +611,5 @@ var l; | ||
return !0; | ||
}, he = (n) => { | ||
}, ge = (n) => { | ||
var t = (e) => { | ||
var r = n.defaultClassName, l = Ae(Ae({}, n.defaultVariants), e); | ||
var r = n.defaultClassName, l = Oe(Oe({}, n.defaultVariants), e); | ||
for (var i in l) { | ||
@@ -627,20 +627,20 @@ var s, o = (s = l[i]) !== null && s !== void 0 ? s : n.defaultVariants[i]; | ||
} | ||
for (var [h, f] of n.compoundVariants) | ||
Ht(h, l, n.defaultVariants) && (r += " " + f); | ||
for (var [_, h] of n.compoundVariants) | ||
Ft(_, l, n.defaultVariants) && (r += " " + h); | ||
return r; | ||
}; | ||
return t.variants = () => Object.keys(n.variantClassNames), t; | ||
}, Xt = "solid-player_IconButton__haigr1b", Ut = he({ defaultClassName: "solid-player_controls__haigr18 solid-player_controlsGroup__haigr17", variantClassNames: { idle: { true: "solid-player_controls_idle_true__haigr19" } }, defaultVariants: {}, compoundVariants: [] }), ie = "solid-player_controlsGroup__haigr17", Kt = he({ defaultClassName: "solid-player_overlay__haigr15", variantClassNames: { idle: { true: "solid-player_overlay_idle_true__haigr16" } }, defaultVariants: {}, compoundVariants: [] }), Qt = "solid-player_overlayButton__haigr14", Yt = "solid-player_overlayContent__haigr13", Jt = "solid-player_playback__haigr12", Wt = "solid-player_root__haigr10", U = "solid-player_simpleIconButton__haigr1c solid-player_IconButton__haigr1b", ze = "solid-player_simpleTextIconButton__haigr1d"; | ||
var Z = he({ defaultClassName: "", variantClassNames: { default: { currentcolor: "icons_fill_default_currentcolor__qoxnbj1", active: "icons_fill_default_active__qoxnbj2", transparent: "icons_fill_default_transparent__qoxnbj3", white: "icons_fill_default_white__qoxnbj4" }, hover: { currentcolor: "icons_fill_hover_currentcolor__qoxnbj5", active: "icons_fill_hover_active__qoxnbj6", transparent: "icons_fill_hover_transparent__qoxnbj7", white: "icons_fill_hover_white__qoxnbj8" } }, defaultVariants: { default: "currentcolor", hover: "currentcolor" }, compoundVariants: [] }), Ue = "icons_root__qoxnbj0"; | ||
const en = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><path d="M32.593 22.332a1.908 1.908 0 0 1 0 3.335l-11.333 6.3a1.908 1.908 0 0 1-2.834-1.674v-12.59a1.908 1.908 0 0 1 2.834-1.667Z">'), tn = () => (() => { | ||
const n = en(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling; | ||
return A(n, "class", Ue), x((l) => { | ||
const i = Z({ | ||
}, Ht = "solid-player_IconButton__haigr1b", Xt = ge({ defaultClassName: "solid-player_controls__haigr18 solid-player_controlsGroup__haigr17", variantClassNames: { idle: { true: "solid-player_controls_idle_true__haigr19" } }, defaultVariants: {}, compoundVariants: [] }), he = "solid-player_controlsGroup__haigr17", Ut = ge({ defaultClassName: "solid-player_overlay__haigr15", variantClassNames: { idle: { true: "solid-player_overlay_idle_true__haigr16" } }, defaultVariants: {}, compoundVariants: [] }), Kt = "solid-player_overlayButton__haigr14", Qt = "solid-player_overlayContent__haigr13", Yt = "solid-player_playback__haigr12", Jt = "solid-player_root__haigr10", J = "solid-player_simpleIconButton__haigr1c solid-player_IconButton__haigr1b", Re = "solid-player_simpleTextIconButton__haigr1d"; | ||
var X = ge({ defaultClassName: "", variantClassNames: { default: { currentcolor: "icons_fill_default_currentcolor__qoxnbj1", active: "icons_fill_default_active__qoxnbj2", transparent: "icons_fill_default_transparent__qoxnbj3", white: "icons_fill_default_white__qoxnbj4" }, hover: { currentcolor: "icons_fill_hover_currentcolor__qoxnbj5", active: "icons_fill_hover_active__qoxnbj6", transparent: "icons_fill_hover_transparent__qoxnbj7", white: "icons_fill_hover_white__qoxnbj8" } }, defaultVariants: { default: "currentcolor", hover: "currentcolor" }, compoundVariants: [] }), Ke = "icons_root__qoxnbj0"; | ||
const Wt = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><path d="M32.593 22.332a1.908 1.908 0 0 1 0 3.335l-11.333 6.3a1.908 1.908 0 0 1-2.834-1.674v-12.59a1.908 1.908 0 0 1 2.834-1.667Z">'), en = () => (() => { | ||
const n = Wt(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling; | ||
return z(n, "class", Ke), C((l) => { | ||
const i = X({ | ||
default: "transparent", | ||
hover: "active" | ||
}), s = Z({ | ||
}), s = X({ | ||
default: "active", | ||
hover: "white" | ||
}); | ||
return i !== l._v$ && A(e, "class", l._v$ = i), s !== l._v$2 && A(r, "class", l._v$2 = s), l; | ||
return i !== l._v$ && z(e, "class", l._v$ = i), s !== l._v$2 && z(r, "class", l._v$2 = s), l; | ||
}, { | ||
@@ -650,16 +650,16 @@ _v$: void 0, | ||
}), n; | ||
})(), nn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><rect width="3" height="16" rx="1" transform="translate(17 16)"></rect><rect width="3" height="16" rx="1" transform="translate(28 16)">'), ln = () => (() => { | ||
const n = nn(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling, l = r.nextSibling; | ||
return A(n, "class", Ue), x((i) => { | ||
const s = Z({ | ||
})(), tn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="#ce2027" stroke-width="2"><rect width="48" height="48" stroke="none" rx="8"></rect><rect width="46" height="46" x="1" y="1" rx="7"></rect></g><rect width="48" height="48" rx="8"></rect><rect width="3" height="16" rx="1" transform="translate(17 16)"></rect><rect width="3" height="16" rx="1" transform="translate(28 16)">'), nn = () => (() => { | ||
const n = tn(), t = n.firstChild, e = t.nextSibling, r = e.nextSibling, l = r.nextSibling; | ||
return z(n, "class", Ke), C((i) => { | ||
const s = X({ | ||
default: "transparent", | ||
hover: "active" | ||
}), o = Z({ | ||
}), o = X({ | ||
default: "active", | ||
hover: "white" | ||
}), c = Z({ | ||
}), c = X({ | ||
default: "active", | ||
hover: "white" | ||
}); | ||
return s !== i._v$ && A(e, "class", i._v$ = s), o !== i._v$2 && A(r, "class", i._v$2 = o), c !== i._v$3 && A(l, "class", i._v$3 = c), i; | ||
return s !== i._v$ && z(e, "class", i._v$ = s), o !== i._v$2 && z(r, "class", i._v$2 = o), c !== i._v$3 && z(l, "class", i._v$3 = c), i; | ||
}, { | ||
@@ -670,8 +670,8 @@ _v$: void 0, | ||
}), n; | ||
})(), rn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40a15.889 15.889 0 0 1-11.312-4.687A15.9 15.9 0 0 1 8 24c0-.176 0-.34.008-.5h2c-.006.157-.009.324-.009.5a13.9 13.9 0 0 0 4.1 9.9 13.91 13.91 0 0 0 9.9 4.1 13.909 13.909 0 0 0 9.9-4.1 13.9 13.9 0 0 0 4.1-9.9 13.906 13.906 0 0 0-4.1-9.9 13.917 13.917 0 0 0-9.9-4.1 14.057 14.057 0 0 0-3.846.533l-.5-1.937a16.013 16.013 0 0 1 4.346-.6 15.9 15.9 0 0 1 11.315 4.687A15.9 15.9 0 0 1 40 24a15.9 15.9 0 0 1-4.686 11.313A15.9 15.9 0 0 1 24 40Z"></path><g><path d="m18 9.064 1.414-1.414 6.364 6.364-1.414 1.414z"></path><path d="M19.414 10.478 18 9.064 24.364 2.7l1.414 1.414z">'), on = () => rn(), sn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="#fff" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40.001a16 16 0 0 0 16-16c0-.176 0-.34-.008-.5h-2c.008.156.008.324.008.5a14 14 0 0 1-23.9 9.9 14 14 0 0 1 9.9-23.9 14.057 14.057 0 0 1 3.846.533l.5-1.937A16 16 0 1 0 24 40.001Z"></path><g><path d="m23.637 15.428-1.414-1.414 6.364-6.364L30 9.064z"></path><path d="M22.223 4.114 23.637 2.7l6.364 6.364-1.414 1.414z">'), an = () => sn(), cn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M18 32h-8v-2h8z"></path><path d="M30 16h8v2h-8z"></path><path d="M16 18v-8h2v8z"></path><path d="M32 30v8h-2v-8z"></path><path d="M18 30v8h-2v-8z"></path><path d="M30 18v-8h2v8z"></path><path d="M18 18h-8v-2h8z"></path><path d="M30 30h8v2h-8z">'), un = () => cn(), dn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M10 10h2v8h-2z"></path><path d="M38 38h-2v-8h2z"></path><path d="M38 10v2h-8v-2z"></path><path d="M10 38v-2h8v2z"></path><path d="M10 12v-2h8v2z"></path><path d="M38 36v2h-8v-2z"></path><path d="M36 10h2v8h-2z"></path><path d="M12 38h-2v-8h2z">'), fn = () => dn(), hn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-17a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3Z"></path><path fill="currentColor" d="m25.307 36.001.518-3.103 1.12-.39c.334-.116.667-.255.989-.41l1.069-.52 2.56 1.831 1.847-1.847-1.83-2.565.523-1.07a8.35 8.35 0 0 0 .4-.97l.385-1.133L36 25.306v-2.612l-3.112-.52-.386-1.13a8.42 8.42 0 0 0-.402-.975L31.58 19l1.828-2.56-1.846-1.847-2.56 1.827-1.067-.519a9.039 9.039 0 0 0-.988-.409l-1.123-.389L25.308 12h-2.614l-.516 3.103-1.123.389a8.929 8.929 0 0 0-.985.408l-1.069.521-2.563-1.83-1.846 1.847 1.834 2.564-.525 1.072c-.153.313-.29.642-.407.98l-.389 1.121-3.105.52v2.611l3.105.516.39 1.124c.115.334.252.665.408.986l.52 1.07-1.831 2.561 1.846 1.846L19 31.58l1.07.52c.318.153.65.291.988.409l1.122.389.515 3.104h2.613m-1.307-17a5.006 5.006 0 0 1 5.001 5c0 2.757-2.243 5-5.001 5-2.757 0-5-2.243-5-5s2.243-5 5-5m3.001 19H21l-.6-3.604a11.086 11.086 0 0 1-1.206-.5l-2.971 2.125-4.244-4.243 2.125-2.973a10.99 10.99 0 0 1-.5-1.206L10 27.001v-6l3.604-.603c.145-.417.314-.822.5-1.203l-2.125-2.972 4.244-4.244 2.971 2.123c.39-.19.796-.358 1.206-.5L21 10h6.001l.602 3.602c.409.142.814.31 1.206.5l2.97-2.12 4.242 4.24-2.122 2.973c.195.4.362.805.497 1.203l3.605.602v6.001l-3.605.6a10.3 10.3 0 0 1-.497 1.203l2.122 2.975-4.243 4.243-2.971-2.125c-.39.189-.795.357-1.204.5L27 38Zm-3.001-17c-1.654 0-3 1.345-3 3 0 1.654 1.346 3 3 3a3.005 3.005 0 0 0 3.001-3c0-1.655-1.347-3-3.001-3Z">'), vn = () => hn(), _n = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path fill="currentColor" d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-19a5.006 5.006 0 0 0-5 5 5.006 5.006 0 0 0 5 5 5.006 5.006 0 0 0 5-5 5.006 5.006 0 0 0-5-5Z">'), mn = () => _n(); | ||
var Oe = "DropdownMenu_Content__ptazat0", K = "DropdownMenu_GroupLabel__ptazat7", Re = "DropdownMenu_Item__ptazat1", Be = "DropdownMenu_ItemIcon__ptazat6", se = "DropdownMenu_ItemIndicator__ptazat3", Ne = "DropdownMenu_ItemLabel__ptazat4", je = "DropdownMenu_ItemValue__ptazat5", ae = "DropdownMenu_RadioGroup__ptazat8", ce = "DropdownMenu_RadioItem__ptazat2"; | ||
const gn = /* @__PURE__ */ w('<svg xmlns="http://www.w3.org/2000/svg" width="7.071" height="11.314"><g fill="#fff"><path d="M7.071 5.657 5.657 7.071 0 1.414 1.414 0z" data-name="Rectangle 9"></path><path d="m5.657 4.242 1.414 1.414-5.657 5.657L0 9.9z" data-name="Rectangle 10">'), qe = (n) => (() => { | ||
const t = gn(); | ||
return Q(t, n, !0, !0), t; | ||
})(), $n = /* @__PURE__ */ w('<svg fill="currentColor" stroke-width="0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="overflow:visible;" height="1em" width="1em"><path d="m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z">'), ue = () => $n(), pn = /* @__PURE__ */ w("<span>ენა"), wn = /* @__PURE__ */ w("<span>eng"), yn = /* @__PURE__ */ w("<span>დაკვრის სისწრაფე"), bn = /* @__PURE__ */ w("<span>1X"), xn = /* @__PURE__ */ w('<div><video preload="metadata"></video><div><div><button></button><div><div></div><div><button></button><button></button><button></button></div><div><button>'), Ln = /* @__PURE__ */ w("<source>"), En = /* @__PURE__ */ w("<track>"), Cn = /* @__PURE__ */ w("<div>"), de = /* @__PURE__ */ w("<span>"), Mn = [{ | ||
})(), ln = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40a15.889 15.889 0 0 1-11.312-4.687A15.9 15.9 0 0 1 8 24c0-.176 0-.34.008-.5h2c-.006.157-.009.324-.009.5a13.9 13.9 0 0 0 4.1 9.9 13.91 13.91 0 0 0 9.9 4.1 13.909 13.909 0 0 0 9.9-4.1 13.9 13.9 0 0 0 4.1-9.9 13.906 13.906 0 0 0-4.1-9.9 13.917 13.917 0 0 0-9.9-4.1 14.057 14.057 0 0 0-3.846.533l-.5-1.937a16.013 16.013 0 0 1 4.346-.6 15.9 15.9 0 0 1 11.315 4.687A15.9 15.9 0 0 1 40 24a15.9 15.9 0 0 1-4.686 11.313A15.9 15.9 0 0 1 24 40Z"></path><g><path d="m18 9.064 1.414-1.414 6.364 6.364-1.414 1.414z"></path><path d="M19.414 10.478 18 9.064 24.364 2.7l1.414 1.414z">'), rn = () => ln(), on = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="#fff" opacity="0.5"><text font-family="gpbMtavruli-Regular, gpbMtavruli" font-size="12" transform="translate(15 16)"><tspan x="3" y="12">15</tspan></text><g><path d="M24 40.001a16 16 0 0 0 16-16c0-.176 0-.34-.008-.5h-2c.008.156.008.324.008.5a14 14 0 0 1-23.9 9.9 14 14 0 0 1 9.9-23.9 14.057 14.057 0 0 1 3.846.533l.5-1.937A16 16 0 1 0 24 40.001Z"></path><g><path d="m23.637 15.428-1.414-1.414 6.364-6.364L30 9.064z"></path><path d="M22.223 4.114 23.637 2.7l6.364 6.364-1.414 1.414z">'), sn = () => on(), an = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M18 32h-8v-2h8z"></path><path d="M30 16h8v2h-8z"></path><path d="M16 18v-8h2v8z"></path><path d="M32 30v8h-2v-8z"></path><path d="M18 30v8h-2v-8z"></path><path d="M30 18v-8h2v8z"></path><path d="M18 18h-8v-2h8z"></path><path d="M30 30h8v2h-8z">'), un = () => an(), cn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="currentColor"><path d="M10 10h2v8h-2z"></path><path d="M38 38h-2v-8h2z"></path><path d="M38 10v2h-8v-2z"></path><path d="M10 38v-2h8v2z"></path><path d="M10 12v-2h8v2z"></path><path d="M38 36v2h-8v-2z"></path><path d="M36 10h2v8h-2z"></path><path d="M12 38h-2v-8h2z">'), dn = () => cn(), fn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-17a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3Z"></path><path fill="currentColor" d="m25.307 36.001.518-3.103 1.12-.39c.334-.116.667-.255.989-.41l1.069-.52 2.56 1.831 1.847-1.847-1.83-2.565.523-1.07a8.35 8.35 0 0 0 .4-.97l.385-1.133L36 25.306v-2.612l-3.112-.52-.386-1.13a8.42 8.42 0 0 0-.402-.975L31.58 19l1.828-2.56-1.846-1.847-2.56 1.827-1.067-.519a9.039 9.039 0 0 0-.988-.409l-1.123-.389L25.308 12h-2.614l-.516 3.103-1.123.389a8.929 8.929 0 0 0-.985.408l-1.069.521-2.563-1.83-1.846 1.847 1.834 2.564-.525 1.072c-.153.313-.29.642-.407.98l-.389 1.121-3.105.52v2.611l3.105.516.39 1.124c.115.334.252.665.408.986l.52 1.07-1.831 2.561 1.846 1.846L19 31.58l1.07.52c.318.153.65.291.988.409l1.122.389.515 3.104h2.613m-1.307-17a5.006 5.006 0 0 1 5.001 5c0 2.757-2.243 5-5.001 5-2.757 0-5-2.243-5-5s2.243-5 5-5m3.001 19H21l-.6-3.604a11.086 11.086 0 0 1-1.206-.5l-2.971 2.125-4.244-4.243 2.125-2.973a10.99 10.99 0 0 1-.5-1.206L10 27.001v-6l3.604-.603c.145-.417.314-.822.5-1.203l-2.125-2.972 4.244-4.244 2.971 2.123c.39-.19.796-.358 1.206-.5L21 10h6.001l.602 3.602c.409.142.814.31 1.206.5l2.97-2.12 4.242 4.24-2.122 2.973c.195.4.362.805.497 1.203l3.605.602v6.001l-3.605.6a10.3 10.3 0 0 1-.497 1.203l2.122 2.975-4.243 4.243-2.971-2.125c-.39.189-.795.357-1.204.5L27 38Zm-3.001-17c-1.654 0-3 1.345-3 3 0 1.654 1.346 3 3 3a3.005 3.005 0 0 0 3.001-3c0-1.655-1.347-3-3.001-3Z">'), hn = () => fn(), vn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none"><path fill="currentColor" d="M27 37.999h-6l-.6-3.6a11.086 11.086 0 0 1-1.206-.5l-2.972 2.125-4.244-4.243 2.126-2.973a10.989 10.989 0 0 1-.5-1.206l-3.6-.6v-6l3.6-.6a10.8 10.8 0 0 1 .5-1.2l-2.126-2.972 4.244-4.244 2.972 2.123a10.924 10.924 0 0 1 1.206-.5l.6-3.6h6l.6 3.6a11.067 11.067 0 0 1 1.206.5l2.97-2.121 4.243 4.241-2.122 2.972a10.554 10.554 0 0 1 .5 1.2l3.6.6v6l-3.6.6a10.3 10.3 0 0 1-.5 1.2l2.122 2.975-4.243 4.243-2.972-2.125a11.267 11.267 0 0 1-1.2.5l-.6 3.6Zm-3-19a5.006 5.006 0 0 0-5 5 5.006 5.006 0 0 0 5 5 5.006 5.006 0 0 0 5-5 5.006 5.006 0 0 0-5-5Z">'), _n = () => vn(); | ||
var Be = "DropdownMenu_Content__ptazat0", W = "DropdownMenu_GroupLabel__ptazat7", Ne = "DropdownMenu_Item__ptazat1", je = "DropdownMenu_ItemIcon__ptazat6", ee = "DropdownMenu_ItemIndicator__ptazat3", qe = "DropdownMenu_ItemLabel__ptazat4", Ge = "DropdownMenu_ItemValue__ptazat5", ve = "DropdownMenu_RadioGroup__ptazat8", te = "DropdownMenu_RadioItem__ptazat2"; | ||
const mn = /* @__PURE__ */ x('<svg xmlns="http://www.w3.org/2000/svg" width="7.071" height="11.314"><g fill="#fff"><path d="M7.071 5.657 5.657 7.071 0 1.414 1.414 0z" data-name="Rectangle 9"></path><path d="m5.657 4.242 1.414 1.414-5.657 5.657L0 9.9z" data-name="Rectangle 10">'), Ze = (n) => (() => { | ||
const t = mn(); | ||
return le(t, n, !0, !0), t; | ||
})(), gn = /* @__PURE__ */ x('<svg fill="currentColor" stroke-width="0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="overflow:visible;" height="1em" width="1em"><path d="m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z">'), ne = () => gn(), $n = /* @__PURE__ */ x("<span>ენა"), q = /* @__PURE__ */ x("<span>"), wn = /* @__PURE__ */ x("<span>დაკვრის სისწრაფე"), pn = /* @__PURE__ */ x('<div><video preload="metadata"></video><div><div><button></button><div><div></div><div><button></button><button></button><button></button></div><div><button>'), yn = /* @__PURE__ */ x("<source>"), bn = /* @__PURE__ */ x("<track>"), xn = /* @__PURE__ */ x("<div>"), Cn = [{ | ||
label: "0.25x", | ||
@@ -700,85 +700,73 @@ value: 0.25 | ||
value: 2 | ||
}], Sn = [{ | ||
label: "4k" | ||
}, { | ||
label: "1440p" | ||
}, { | ||
label: "1080p" | ||
}, { | ||
label: "720p" | ||
}, { | ||
label: "480p" | ||
}, { | ||
label: "360p" | ||
}, { | ||
label: "240p" | ||
}, { | ||
label: "144p" | ||
}, { | ||
label: "auto" | ||
}], Tn = [{ | ||
label: "GEO" | ||
}, { | ||
label: "ENG" | ||
}, { | ||
label: "UKR" | ||
}, { | ||
label: "FRE" | ||
}]; | ||
function kn(n) { | ||
const [t, e] = et(n, [ | ||
function Tn(n) { | ||
const [t, e] = We(n, [ | ||
// "seasons", | ||
// "episodes", | ||
// "languages", | ||
"languages", | ||
// "qualities", | ||
"sources", | ||
// "sources", | ||
"tracks" | ||
]); | ||
let r, l; | ||
const [i, s] = S(!1), [o, c] = S(1), [d, h] = S(0), [f, T] = S(0), [D, P] = S(!0), [R, C] = S(!1), [V, $] = S(!1); | ||
const [i, s] = S(!1), [o, c] = S(1), [d, _] = S(0), [h, E] = S(0), [T, V] = S(!0), [O, M] = S(!1); | ||
document.addEventListener("fullscreenchange", () => { | ||
$(document.fullscreenElement === r); | ||
M(document.fullscreenElement === r); | ||
}), document.addEventListener("fullscreenerror", () => { | ||
$(document.fullscreenElement === r); | ||
M(document.fullscreenElement === r); | ||
}); | ||
const { | ||
isIdle: I | ||
} = ot({ | ||
isIdle: k | ||
} = rt({ | ||
idleTimeout: 5e3 | ||
}); | ||
tt(() => { | ||
t.sources, t.tracks, l && (console.log("video.load()"), l.load(), C(!1), P(l.paused), s(l.muted), c(l.volume), h(l.currentTime)); | ||
}); | ||
const [M, p] = S("closed"), [v, m] = S("closed"), [y, L] = S("auto"), [z, Ke] = S("1x"), [Qe, Ye] = S("GEO"), [Je, We] = S(!1); | ||
return (() => { | ||
const F = xn(), q = F.firstChild, ve = q.nextSibling, W = ve.firstChild, ee = W.firstChild, te = ee.nextSibling, ne = te.firstChild, le = ne.nextSibling, H = le.firstChild, X = H.nextSibling, re = X.nextSibling, G = le.nextSibling, B = G.firstChild; | ||
return Y((a) => r = a, F), Y((a) => { | ||
}), [g, D] = S("closed"), [I, y] = S("closed"), [f, $] = S("1x"), [w, L] = S(n.languages[0].label), [P, Qe] = S("Auto"), [Ye, Je] = S(!1); | ||
return Se(() => { | ||
t.languages, t.tracks, w(), P(), l && (l.load(), me(() => { | ||
l.currentTime = d(), T() ? l.pause() : l.play(); | ||
}), s(l.muted), c(l.volume)); | ||
}), Se(() => { | ||
f(), l && (l.playbackRate = parseFloat(f())); | ||
}), (() => { | ||
const U = pn(), Z = U.firstChild, $e = Z.nextSibling, ie = $e.firstChild, se = ie.firstChild, ae = se.nextSibling, ue = ae.firstChild, ce = ue.nextSibling, K = ce.firstChild, Q = K.nextSibling, de = Q.nextSibling, F = ce.nextSibling, N = F.firstChild; | ||
return re((a) => r = a, U), re((a) => { | ||
l = a, l.addEventListener("play", () => { | ||
P(!1); | ||
}), l.addEventListener("playing", () => { | ||
C(!0); | ||
}), l.addEventListener("waiting", () => { | ||
C(!1); | ||
V(!1); | ||
}), l.addEventListener("pause", () => { | ||
C(!1), P(!0); | ||
V(!0); | ||
}), l.addEventListener("volumechange", () => { | ||
s(l.muted), c(l.volume); | ||
}), l.addEventListener("durationchange", () => { | ||
T(l.duration); | ||
E(l.duration); | ||
}), l.addEventListener("timeupdate", () => { | ||
h(l.currentTime); | ||
_(l.currentTime); | ||
}); | ||
}, q), Q(q, nt({ | ||
}, Z), le(Z, et({ | ||
get class() { | ||
return Jt; | ||
return Yt; | ||
} | ||
}, e), !1, !0), E(q, u(Ce, { | ||
}, e), !1, !0), b(Z, u(Y, { | ||
get each() { | ||
return t.sources; | ||
return t.languages; | ||
}, | ||
children: (a) => (() => { | ||
const g = Ln(); | ||
return Q(g, a, !1, !1), g; | ||
})() | ||
}), null), E(q, u(Ce, { | ||
children: (a) => u(Y, { | ||
get each() { | ||
return a.qualities; | ||
}, | ||
children: (m) => u(Y, { | ||
get each() { | ||
return m.sources; | ||
}, | ||
children: (R) => u(tt, { | ||
get when() { | ||
return A(() => a.label === w())() && (m.label === P() || P() === "Auto"); | ||
}, | ||
keyed: !0, | ||
get children() { | ||
const H = yn(); | ||
return le(H, R, !1, !1), H; | ||
} | ||
}) | ||
}) | ||
}) | ||
}), null), b(Z, u(Y, { | ||
get each() { | ||
@@ -788,70 +776,70 @@ return t.tracks; | ||
children: (a) => (() => { | ||
const g = En(); | ||
return Q(g, a, !1, !1), g; | ||
const m = bn(); | ||
return le(m, a, !1, !1), m; | ||
})() | ||
}), null), ee.$$click = () => D() ? l.play() : l.pause(), E(W, u(qt, { | ||
}), null), se.$$click = () => T() ? l.play() : l.pause(), b(ie, u(jt, { | ||
currentTime: d, | ||
duration: f, | ||
duration: h, | ||
setCurrentTime: (a) => { | ||
const g = h(a); | ||
return l.currentTime = g, g; | ||
const m = _(a); | ||
return l.currentTime = m, m; | ||
} | ||
}), te), E(ne, u(It, { | ||
}), ae), b(ue, u(Dt, { | ||
volume: o, | ||
setVolume: (a) => { | ||
const g = c(a); | ||
return l.volume = g, l.muted = !1, g; | ||
const m = c(a); | ||
return l.volume = m, l.muted = !1, m; | ||
}, | ||
muted: i, | ||
setMuted: (a) => { | ||
const g = s(a); | ||
return l.muted = g, g; | ||
const m = s(a); | ||
return l.muted = m, m; | ||
} | ||
})), H.$$click = () => { | ||
})), K.$$click = () => { | ||
l.currentTime = Math.floor(Math.max(0, Math.floor(d()) - 15)); | ||
}, E(H, u(on, {})), X.$$click = () => D() ? l.play() : l.pause(), E(X, (() => { | ||
const a = k(() => !!D()); | ||
return () => a() ? u(tn, {}) : u(ln, {}); | ||
})()), re.$$click = () => { | ||
l.currentTime = Math.floor(Math.min(f(), Math.floor(d()) + 15)); | ||
}, E(re, u(an, {})), E(G, u(b.Root, { | ||
}, b(K, u(rn, {})), Q.$$click = () => T() ? l.play() : l.pause(), b(Q, (() => { | ||
const a = A(() => !!T()); | ||
return () => a() ? u(en, {}) : u(nn, {}); | ||
})()), de.$$click = () => { | ||
l.currentTime = Math.floor(Math.min(h(), Math.floor(d()) + 15)); | ||
}, b(de, u(sn, {})), b(F, u(p.Root, { | ||
get open() { | ||
return M() !== "closed"; | ||
return g() !== "closed"; | ||
}, | ||
onOpenChange: (a) => p(a ? "main" : "closed"), | ||
onOpenChange: (a) => D(a ? "main" : "closed"), | ||
placement: "top", | ||
get children() { | ||
return [u(b.Trigger, { | ||
return [u(p.Trigger, { | ||
get class() { | ||
return U; | ||
return J; | ||
}, | ||
get children() { | ||
return k(() => M() !== "closed")() ? u(mn, {}) : u(vn, {}); | ||
return A(() => g() !== "closed")() ? u(_n, {}) : u(hn, {}); | ||
} | ||
}), u(b.Content, { | ||
}), u(p.Content, { | ||
get class() { | ||
return Oe; | ||
return Be; | ||
}, | ||
get children() { | ||
return u(lt, { | ||
return u(nt, { | ||
get fallback() { | ||
return Cn(); | ||
return xn(); | ||
}, | ||
get children() { | ||
return [u(oe, { | ||
return [u(fe, { | ||
get when() { | ||
return M() === "main"; | ||
return g() === "main"; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "პარამეტრები" | ||
}), u(b.Item, { | ||
onSelect: () => p("language"), | ||
}), u(p.Item, { | ||
onSelect: () => D("language"), | ||
get class() { | ||
return Re; | ||
return Ne; | ||
}, | ||
@@ -861,29 +849,29 @@ closeOnSelect: !1, | ||
return [(() => { | ||
const a = pn(); | ||
return x(() => _(a, Ne)), a; | ||
const a = $n(); | ||
return C(() => v(a, qe)), a; | ||
})(), (() => { | ||
const a = wn(); | ||
return x(() => _(a, je)), a; | ||
})(), u(qe, { | ||
const a = q(); | ||
return b(a, w), C(() => v(a, Ge)), a; | ||
})(), u(Ze, { | ||
get class() { | ||
return Be; | ||
return je; | ||
} | ||
})]; | ||
} | ||
}), u(b.Item, { | ||
}), u(p.Item, { | ||
get class() { | ||
return Re; | ||
return Ne; | ||
}, | ||
onSelect: () => p("speed"), | ||
onSelect: () => D("speed"), | ||
closeOnSelect: !1, | ||
get children() { | ||
return [(() => { | ||
const a = yn(); | ||
return x(() => _(a, Ne)), a; | ||
const a = wn(); | ||
return C(() => v(a, qe)), a; | ||
})(), (() => { | ||
const a = bn(); | ||
return x(() => _(a, je)), a; | ||
})(), u(qe, { | ||
const a = q(); | ||
return b(a, f), C(() => v(a, Ge)), a; | ||
})(), u(Ze, { | ||
get class() { | ||
return Be; | ||
return je; | ||
} | ||
@@ -896,24 +884,24 @@ })]; | ||
} | ||
}), u(oe, { | ||
}), u(fe, { | ||
get when() { | ||
return M() === "speed"; | ||
return g() === "speed"; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "დაკვრის სისწრაფე" | ||
}), u(b.RadioGroup, { | ||
}), u(p.RadioGroup, { | ||
get class() { | ||
return ae; | ||
return ve; | ||
}, | ||
get value() { | ||
return z(); | ||
return f(); | ||
}, | ||
onChange: Ke, | ||
onChange: $, | ||
get children() { | ||
return Mn.map((a) => u(b.RadioItem, { | ||
return Cn.map((a) => u(p.RadioItem, { | ||
get value() { | ||
@@ -923,13 +911,13 @@ return a.label; | ||
get class() { | ||
return ce; | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const g = de(); | ||
return E(g, u(b.ItemIndicator, { | ||
const m = q(); | ||
return b(m, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ue, {}); | ||
return u(ne, {}); | ||
} | ||
})), x(() => _(g, se)), g; | ||
})(), k(() => a.label)]; | ||
})), C(() => v(m, ee)), m; | ||
})(), A(() => a.label)]; | ||
} | ||
@@ -942,24 +930,24 @@ })); | ||
} | ||
}), u(oe, { | ||
}), u(fe, { | ||
get when() { | ||
return M() === "language"; | ||
return g() === "language"; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "ენა" | ||
}), u(b.RadioGroup, { | ||
}), u(p.RadioGroup, { | ||
get class() { | ||
return ae; | ||
return ve; | ||
}, | ||
get value() { | ||
return Qe(); | ||
return w(); | ||
}, | ||
onChange: Ye, | ||
onChange: L, | ||
get children() { | ||
return Tn.map((a) => u(b.RadioItem, { | ||
return n.languages.map((a) => u(p.RadioItem, { | ||
get value() { | ||
@@ -969,13 +957,13 @@ return a.label; | ||
get class() { | ||
return ce; | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const g = de(); | ||
return E(g, u(b.ItemIndicator, { | ||
const m = q(); | ||
return b(m, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ue, {}); | ||
return u(ne, {}); | ||
} | ||
})), x(() => _(g, se)), g; | ||
})(), k(() => a.label)]; | ||
})), C(() => v(m, ee)), m; | ||
})(), A(() => a.label)]; | ||
} | ||
@@ -994,53 +982,71 @@ })); | ||
} | ||
}), B), E(G, u(b.Root, { | ||
}), N), b(F, u(p.Root, { | ||
get open() { | ||
return v() !== "closed"; | ||
return I() !== "closed"; | ||
}, | ||
onOpenChange: (a) => m(a ? "main" : "closed"), | ||
onOpenChange: (a) => y(a ? "main" : "closed"), | ||
placement: "top", | ||
get children() { | ||
return [u(b.Trigger, { | ||
return [u(p.Trigger, { | ||
get class() { | ||
return ze; | ||
return Re; | ||
}, | ||
children: "4K" | ||
}), u(b.Content, { | ||
}), u(p.Content, { | ||
get class() { | ||
return Oe; | ||
return Be; | ||
}, | ||
get children() { | ||
return u(b.Group, { | ||
return u(p.Group, { | ||
get children() { | ||
return [u(b.GroupLabel, { | ||
return [u(p.GroupLabel, { | ||
get class() { | ||
return K; | ||
return W; | ||
}, | ||
children: "ხარისხი" | ||
}), u(b.RadioGroup, { | ||
}), u(p.RadioGroup, { | ||
get class() { | ||
return ae; | ||
return ve; | ||
}, | ||
get value() { | ||
return y(); | ||
return P(); | ||
}, | ||
onChange: L, | ||
onChange: Qe, | ||
get children() { | ||
return Sn.map((a) => u(b.RadioItem, { | ||
get value() { | ||
return a.label; | ||
}, | ||
return [A(() => { | ||
var a; | ||
return (a = n.languages.find((m) => m.label === w())) == null ? void 0 : a.qualities.map((m) => u(p.RadioItem, { | ||
get value() { | ||
return m.label; | ||
}, | ||
get class() { | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const R = q(); | ||
return b(R, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ne, {}); | ||
} | ||
})), C(() => v(R, ee)), R; | ||
})(), A(() => m.label)]; | ||
} | ||
})); | ||
}), u(p.RadioItem, { | ||
value: "Auto", | ||
get class() { | ||
return ce; | ||
return te; | ||
}, | ||
get children() { | ||
return [(() => { | ||
const g = de(); | ||
return E(g, u(b.ItemIndicator, { | ||
const a = q(); | ||
return b(a, u(p.ItemIndicator, { | ||
get children() { | ||
return u(ue, {}); | ||
return u(ne, {}); | ||
} | ||
})), x(() => _(g, se)), g; | ||
})(), k(() => a.label)]; | ||
})), C(() => v(a, ee)), a; | ||
})(), "Auto"]; | ||
} | ||
})); | ||
})]; | ||
} | ||
@@ -1053,21 +1059,21 @@ })]; | ||
} | ||
}), B), E(G, u(rt.Root, { | ||
}), N), b(F, u(lt.Root, { | ||
get class() { | ||
return ze; | ||
return Re; | ||
}, | ||
get pressed() { | ||
return Je(); | ||
return Ye(); | ||
}, | ||
onChange: We, | ||
onChange: Je, | ||
children: "CC" | ||
}), B), B.$$click = () => V() ? document.exitFullscreen() : r.requestFullscreen(), E(B, (() => { | ||
const a = k(() => !!V()); | ||
return () => a() ? u(un, {}) : u(fn, {}); | ||
})()), x((a) => { | ||
const g = Wt, _e = Kt({ | ||
idle: I() | ||
}), me = Yt, ge = Qt, $e = Ut({ | ||
idle: I() | ||
}), pe = ie, we = ie, ye = U, be = Xt, xe = U, Le = ie, Ee = U; | ||
return g !== a._v$ && _(F, a._v$ = g), _e !== a._v$2 && _(ve, a._v$2 = _e), me !== a._v$3 && _(W, a._v$3 = me), ge !== a._v$4 && _(ee, a._v$4 = ge), $e !== a._v$5 && _(te, a._v$5 = $e), pe !== a._v$6 && _(ne, a._v$6 = pe), we !== a._v$7 && _(le, a._v$7 = we), ye !== a._v$8 && _(H, a._v$8 = ye), be !== a._v$9 && _(X, a._v$9 = be), xe !== a._v$10 && _(re, a._v$10 = xe), Le !== a._v$11 && _(G, a._v$11 = Le), Ee !== a._v$12 && _(B, a._v$12 = Ee), a; | ||
}), N), N.$$click = () => O() ? document.exitFullscreen() : r.requestFullscreen(), b(N, (() => { | ||
const a = A(() => !!O()); | ||
return () => a() ? u(un, {}) : u(dn, {}); | ||
})()), C((a) => { | ||
const m = Jt, R = Ut({ | ||
idle: k() | ||
}), H = Qt, we = Kt, pe = Xt({ | ||
idle: k() | ||
}), ye = he, be = he, xe = J, Ce = Ht, Le = J, Me = he, Ee = J; | ||
return m !== a._v$ && v(U, a._v$ = m), R !== a._v$2 && v($e, a._v$2 = R), H !== a._v$3 && v(ie, a._v$3 = H), we !== a._v$4 && v(se, a._v$4 = we), pe !== a._v$5 && v(ae, a._v$5 = pe), ye !== a._v$6 && v(ue, a._v$6 = ye), be !== a._v$7 && v(ce, a._v$7 = be), xe !== a._v$8 && v(K, a._v$8 = xe), Ce !== a._v$9 && v(Q, a._v$9 = Ce), Le !== a._v$10 && v(de, a._v$10 = Le), Me !== a._v$11 && v(F, a._v$11 = Me), Ee !== a._v$12 && v(N, a._v$12 = Ee), a; | ||
}, { | ||
@@ -1086,8 +1092,8 @@ _v$: void 0, | ||
_v$12: void 0 | ||
}), F; | ||
}), U; | ||
})(); | ||
} | ||
J(["click"]); | ||
oe(["click"]); | ||
export { | ||
kn as SolidPlayer | ||
Tn as SolidPlayer | ||
}; |
{ | ||
"name": "xsg-player-sdk", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "./dist", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
681476
0.2%2424
0.08%0
-100%