@mendmania/ui-name
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -1,16 +0,16 @@ | ||
import { openBlock as e, createElementBlock as n, normalizeProps as G, guardReactiveProps as Q, renderSlot as $, mergeProps as L, useAttrs as X, computed as S, toRefs as T, unref as s, createElementVNode as i, toDisplayString as v, createCommentVNode as d, normalizeStyle as B, pushScopeId as Y, popScopeId as ee, Fragment as k, renderList as J, createBlock as h, withCtx as w, resolveDynamicComponent as F, markRaw as V, resolveComponent as E, normalizeClass as C, createTextVNode as z, createVNode as M, defineAsyncComponent as de, ref as I, withKeys as fe, Transition as _e, nextTick as pe, useCssVars as me, onMounted as ve, onUnmounted as ye, TransitionGroup as ge, withDirectives as he, vShow as be } from "vue"; | ||
const j = (t, o) => { | ||
const l = t.__vccOpts || t; | ||
for (const [r, a] of o) | ||
l[r] = a; | ||
return l; | ||
import { openBlock as e, createElementBlock as s, normalizeProps as G, guardReactiveProps as Q, renderSlot as k, mergeProps as L, useAttrs as X, computed as S, toRefs as M, unref as t, createElementVNode as i, toDisplayString as v, createCommentVNode as d, normalizeStyle as B, pushScopeId as Y, popScopeId as ee, Fragment as $, renderList as q, createBlock as g, withCtx as w, resolveDynamicComponent as R, markRaw as V, resolveComponent as E, normalizeClass as C, createTextVNode as H, createVNode as J, defineAsyncComponent as de, ref as I, withKeys as fe, Transition as _e, nextTick as me, useCssVars as pe, onMounted as ve, onUnmounted as ye, TransitionGroup as he, withDirectives as ge, vShow as be } from "vue"; | ||
const j = (l, r) => { | ||
const o = l.__vccOpts || l; | ||
for (const [n, a] of r) | ||
o[n] = a; | ||
return o; | ||
}, we = {}; | ||
function $e(t, o) { | ||
return e(), n("button", G(Q(t.$attrs)), [ | ||
$(t.$slots, "default") | ||
function ke(l, r) { | ||
return e(), s("button", G(Q(l.$attrs)), [ | ||
k(l.$slots, "default") | ||
], 16); | ||
} | ||
const Ls = /* @__PURE__ */ j(we, [["render", $e]]), ke = {}; | ||
function xe(t, o) { | ||
return e(), n("input", L(t.$attrs, { | ||
const Ll = /* @__PURE__ */ j(we, [["render", ke]]), $e = {}; | ||
function xe(l, r) { | ||
return e(), s("input", L(l.$attrs, { | ||
type: "text", | ||
@@ -20,13 +20,13 @@ "aria-label": "Filter projects" | ||
} | ||
const js = /* @__PURE__ */ j(ke, [["render", xe]]); | ||
const Se = (t) => (Y("data-v-dfc1ec80"), t = t(), ee(), t), Ce = { | ||
const jl = /* @__PURE__ */ j($e, [["render", xe]]); | ||
const Se = (l) => (Y("data-v-dfc1ec80"), l = l(), ee(), l), Ce = { | ||
key: 0, | ||
class: "relative max-w-[230px]" | ||
}, Le = { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, je = { class: "flex" }, Ie = { class: "flex ml-auto absolute right-0" }, Je = { | ||
}, Le = { class: "absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2" }, je = { class: "flex" }, Ie = { class: "flex ml-auto absolute right-0" }, qe = { | ||
key: 0, | ||
class: "py-0.5 px-1 rounded text-white bg-black/50 mx-1" | ||
}, qe = /* @__PURE__ */ Se(() => /* @__PURE__ */ i("div", { class: "flex w-full mt-auto" }, null, -1)), Me = { class: "flex" }, Te = { class: "flex ml-auto" }, Oe = { | ||
}, Je = /* @__PURE__ */ Se(() => /* @__PURE__ */ i("div", { class: "flex w-full mt-auto" }, null, -1)), Me = { class: "flex" }, Te = { class: "flex ml-auto" }, Be = { | ||
key: 1, | ||
class: "pt-3 flex gap-5 text-xs text-cyan infobox" | ||
}, Be = { key: 0 }, He = { key: 1 }, Ee = { key: 2 }, ze = { | ||
}, Oe = { key: 0 }, Ee = { key: 1 }, He = { key: 2 }, ze = { | ||
inheritAttrs: !1, | ||
@@ -101,39 +101,39 @@ customOptions: {} | ||
}, | ||
setup(t) { | ||
const o = t, l = X(), r = S(() => l.order ? `flex-${l.order}` : "flex-col"), { showAuthor: a, showViews: u, showDate: f } = T(o), p = S( | ||
setup(l) { | ||
const r = l, o = X(), n = S(() => o.order ? `flex-${o.order}` : "flex-col"), { showAuthor: a, showViews: u, showDate: f } = M(r), _ = S( | ||
() => a.value || u.value || f.value | ||
); | ||
return (c, _) => (e(), n("div", L({ class: "inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, c.$attrs, { class: s(r) }), [ | ||
t.showThumbnail ? (e(), n("div", Ce, [ | ||
return (c, m) => (e(), s("div", L({ class: "inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, c.$attrs, { class: t(n) }), [ | ||
l.showThumbnail ? (e(), s("div", Ce, [ | ||
i("div", Le, [ | ||
i("div", je, [ | ||
$(c.$slots, "top_left", {}, void 0, !0), | ||
k(c.$slots, "top_left", {}, void 0, !0), | ||
i("div", Ie, [ | ||
$(c.$slots, "top_right", {}, void 0, !0), | ||
t.showTimeDuration ? (e(), n("span", Je, v(t.timeDuration), 1)) : d("", !0) | ||
k(c.$slots, "top_right", {}, void 0, !0), | ||
l.showTimeDuration ? (e(), s("span", qe, v(l.timeDuration), 1)) : d("", !0) | ||
]) | ||
]), | ||
qe, | ||
Je, | ||
i("div", Me, [ | ||
$(c.$slots, "bottom_left", { class: "flex" }, void 0, !0), | ||
k(c.$slots, "bottom_left", { class: "flex" }, void 0, !0), | ||
i("div", Te, [ | ||
$(c.$slots, "bottom_right", {}, void 0, !0) | ||
k(c.$slots, "bottom_right", {}, void 0, !0) | ||
]) | ||
]) | ||
]), | ||
$(c.$slots, "image", {}, void 0, !0) | ||
k(c.$slots, "image", {}, void 0, !0) | ||
])) : d("", !0), | ||
s(p) || t.showTitle ? (e(), n("div", { | ||
t(_) || l.showTitle ? (e(), s("div", { | ||
key: 1, | ||
style: B(t.detailsStyle), | ||
style: B(l.detailsStyle), | ||
class: "p-1 box-border" | ||
}, [ | ||
t.showTitle ? (e(), n("div", { | ||
l.showTitle ? (e(), s("div", { | ||
key: 0, | ||
style: B(t.titleStyle) | ||
}, v(t.title), 5)) : d("", !0), | ||
s(p) ? (e(), n("div", Oe, [ | ||
s(a) ? (e(), n("span", Be, v(t.author), 1)) : d("", !0), | ||
s(u) ? (e(), n("span", He, v(t.views), 1)) : d("", !0), | ||
s(f) ? (e(), n("span", Ee, v(t.date), 1)) : d("", !0) | ||
style: B(l.titleStyle) | ||
}, v(l.title), 5)) : d("", !0), | ||
t(_) ? (e(), s("div", Be, [ | ||
t(a) ? (e(), s("span", Oe, v(l.author), 1)) : d("", !0), | ||
t(u) ? (e(), s("span", Ee, v(l.views), 1)) : d("", !0), | ||
t(f) ? (e(), s("span", He, v(l.date), 1)) : d("", !0) | ||
])) : d("", !0) | ||
@@ -143,4 +143,4 @@ ], 4)) : d("", !0) | ||
} | ||
}), Is = /* @__PURE__ */ j(Ae, [["__scopeId", "data-v-dfc1ec80"]]); | ||
const Pe = (t) => (Y("data-v-b6261246"), t = t(), ee(), t), De = { | ||
}), Il = /* @__PURE__ */ j(Ae, [["__scopeId", "data-v-dfc1ec80"]]); | ||
const Pe = (l) => (Y("data-v-b6261246"), l = l(), ee(), l), De = { | ||
key: 0, | ||
@@ -219,21 +219,21 @@ class: "relative" | ||
}, | ||
setup(t) { | ||
const o = t, l = X(), r = S(() => l.order ? `flex-${l.order}` : "flex-col"), { showAuthor: a, showViews: u, showDate: f } = T(o), p = S( | ||
setup(l) { | ||
const r = l, o = X(), n = S(() => o.order ? `flex-${o.order}` : "flex-col"), { showAuthor: a, showViews: u, showDate: f } = M(r), _ = S( | ||
() => a.value || u.value || f.value | ||
); | ||
return (c, _) => (e(), n("div", L({ class: "jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, c.$attrs, { class: s(r) }), [ | ||
t.showThumbnail ? (e(), n("div", De, [ | ||
return (c, m) => (e(), s("div", L({ class: "jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full" }, c.$attrs, { class: t(n) }), [ | ||
l.showThumbnail ? (e(), s("div", De, [ | ||
Re, | ||
$(c.$slots, "image", {}, void 0, !0) | ||
k(c.$slots, "image", {}, void 0, !0) | ||
])) : d("", !0), | ||
s(p) || t.showTitle ? (e(), n("div", { | ||
t(_) || l.showTitle ? (e(), s("div", { | ||
key: 1, | ||
style: B(t.detailsStyle), | ||
style: B(l.detailsStyle), | ||
class: "p-1 box-border" | ||
}, [ | ||
t.showTitle ? (e(), n("div", Fe)) : d("", !0), | ||
s(p) ? (e(), n("div", Ne, [ | ||
s(a) ? (e(), n("span", Ve)) : d("", !0), | ||
s(u) ? (e(), n("span", Ze)) : d("", !0), | ||
s(f) ? (e(), n("span", Ue)) : d("", !0) | ||
l.showTitle ? (e(), s("div", Fe)) : d("", !0), | ||
t(_) ? (e(), s("div", Ne, [ | ||
t(a) ? (e(), s("span", Ve)) : d("", !0), | ||
t(u) ? (e(), s("span", Ze)) : d("", !0), | ||
t(f) ? (e(), s("span", Ue)) : d("", !0) | ||
])) : d("", !0) | ||
@@ -243,9 +243,9 @@ ], 4)) : d("", !0) | ||
} | ||
}), Js = /* @__PURE__ */ j(We, [["__scopeId", "data-v-b6261246"]]), Ge = {}; | ||
function Qe(t, o) { | ||
return e(), n("span", L({ class: "rounded py-0.5 px-1 flex items-center justify-center" }, t.$attrs), [ | ||
$(t.$slots, "default") | ||
}), ql = /* @__PURE__ */ j(We, [["__scopeId", "data-v-b6261246"]]), Ge = {}; | ||
function Qe(l, r) { | ||
return e(), s("span", L({ class: "rounded py-0.5 px-1 flex items-center justify-center" }, l.$attrs), [ | ||
k(l.$slots, "default") | ||
], 16); | ||
} | ||
const qs = /* @__PURE__ */ j(Ge, [["render", Qe]]), Xe = ["src", "alt"], K = { | ||
const Jl = /* @__PURE__ */ j(Ge, [["render", Qe]]), Xe = ["src", "alt"], K = { | ||
__name: "JImage", | ||
@@ -263,8 +263,8 @@ props: { | ||
}, | ||
setup(t) { | ||
return (o, l) => (e(), n("img", L({ | ||
src: t.imageSrc, | ||
alt: t.alt, | ||
setup(l) { | ||
return (r, o) => (e(), s("img", L({ | ||
src: l.imageSrc, | ||
alt: l.alt, | ||
class: "w-full" | ||
}, o.$attrs), null, 16, Xe)); | ||
}, r.$attrs), null, 16, Xe)); | ||
} | ||
@@ -281,9 +281,9 @@ }; | ||
}, | ||
setup(t) { | ||
return (o, l) => (e(), n("div", L({ | ||
setup(l) { | ||
return (r, o) => (e(), s("div", L({ | ||
src: "", | ||
class: "jimage-sceleton w-full" | ||
}, o.$attrs), null, 16)); | ||
}, r.$attrs), null, 16)); | ||
} | ||
}, Ms = /* @__PURE__ */ j(Ye, [["__scopeId", "data-v-4e30e0b0"]]), Ts = { | ||
}, Ml = /* @__PURE__ */ j(Ye, [["__scopeId", "data-v-4e30e0b0"]]), Tl = { | ||
__name: "JFooter", | ||
@@ -297,9 +297,9 @@ props: { | ||
}, | ||
setup(t) { | ||
function o(l) { | ||
return l === "label" ? V(et) : l === "menu" ? V(rt) : V(ct); | ||
setup(l) { | ||
function r(o) { | ||
return o === "label" ? V(et) : o === "menu" ? V(rt) : V(ct); | ||
} | ||
return (l, r) => (e(), n("div", L(l.$attrs, { class: "j-footer w-full flex flex-wrap gap-4" }), [ | ||
$(l.$slots, "default", {}, () => [ | ||
(e(!0), n(k, null, J(t.children, (a) => (e(), h(s(vt), { | ||
return (o, n) => (e(), s("div", L(o.$attrs, { class: "j-footer w-full flex flex-wrap gap-4" }), [ | ||
k(o.$slots, "default", {}, () => [ | ||
(e(!0), s($, null, q(l.children, (a) => (e(), g(t(vt), { | ||
key: a.id, | ||
@@ -310,3 +310,3 @@ "x-alignment": a.props.xAlignment, | ||
default: w(() => [ | ||
(e(!0), n(k, null, J(a.children, (u) => (e(), h(s(yt), { | ||
(e(!0), s($, null, q(a.children, (u) => (e(), g(t(yt), { | ||
key: u.id, | ||
@@ -316,3 +316,3 @@ columns: u.props.columns | ||
default: w(() => [ | ||
(e(!0), n(k, null, J(u.children, (f) => (e(), h(F(o(f.type)), { | ||
(e(!0), s($, null, q(u.children, (f) => (e(), g(R(r(f.type)), { | ||
key: f.id, | ||
@@ -344,8 +344,8 @@ data: f.props, | ||
}, | ||
setup(t) { | ||
const o = t, { text: l } = o.data; | ||
return (r, a) => (e(), n("div", L(r.$attrs, { class: "p-4" }), v(s(l)), 17)); | ||
setup(l) { | ||
const r = l, { text: o } = r.data; | ||
return (n, a) => (e(), s("div", L(n.$attrs, { class: "p-4" }), v(t(o)), 17)); | ||
} | ||
}; | ||
const tt = { class: "menu-item pr-3" }, st = ["href"], nt = { key: 2 }, lt = { | ||
const tt = { class: "menu-item pr-3" }, lt = ["href"], st = { key: 2 }, nt = { | ||
__name: "JFooterMenuItem", | ||
@@ -363,11 +363,11 @@ props: { | ||
}, | ||
setup(t) { | ||
const o = t, { menu: l, orientation: r } = o; | ||
setup(l) { | ||
const r = l, { menu: o, orientation: n } = r; | ||
return (a, u) => { | ||
const f = E("RouterLink"), p = E("JFooterMenuItem", !0); | ||
return e(), n("ol", { | ||
class: C(["flex flex-wrap gap-4 text-sm px-3", s(r) === "horizontal" ? "flex-row" : "flex-col"]) | ||
const f = E("RouterLink"), _ = E("JFooterMenuItem", !0); | ||
return e(), s("ol", { | ||
class: C(["flex flex-wrap gap-4 text-sm px-3", t(n) === "horizontal" ? "flex-row" : "flex-col"]) | ||
}, [ | ||
(e(!0), n(k, null, J(s(l), (c) => (e(), n("li", tt, [ | ||
c.itemTypeId === 1 ? (e(), h(f, { | ||
(e(!0), s($, null, q(t(o), (c) => (e(), s("li", tt, [ | ||
c.itemTypeId === 1 ? (e(), g(f, { | ||
key: 0, | ||
@@ -378,6 +378,6 @@ to: c.url, | ||
default: w(() => [ | ||
z(v(c.navigationLabel), 1) | ||
H(v(c.navigationLabel), 1) | ||
]), | ||
_: 2 | ||
}, 1032, ["to"])) : c.itemTypeId === 2 ? (e(), n("a", { | ||
}, 1032, ["to"])) : c.itemTypeId === 2 ? (e(), s("a", { | ||
key: 1, | ||
@@ -387,7 +387,7 @@ target: "_blank", | ||
class: "cursor-pointer item" | ||
}, v(c.navigationLabel), 9, st)) : (e(), n("div", nt, v(c.navigationLabel), 1)), | ||
c.childItems ? (e(), h(p, { | ||
}, v(c.navigationLabel), 9, lt)) : (e(), s("div", st, v(c.navigationLabel), 1)), | ||
c.childItems ? (e(), g(_, { | ||
key: 3, | ||
menu: c.childItems, | ||
orientation: s(r) | ||
orientation: t(n) | ||
}, null, 8, ["menu", "orientation"])) : d("", !0) | ||
@@ -423,11 +423,11 @@ ]))), 256)) | ||
}, | ||
setup(t) { | ||
const o = t, { title: l, menu: r, orientation: a } = o.data; | ||
return (u, f) => (e(), n("div", L(u.$attrs, { class: "p-4 j-footer-menu" }), [ | ||
s(l) ? (e(), n("div", at, [ | ||
i("h5", null, v(s(l)), 1) | ||
setup(l) { | ||
const r = l, { title: o, menu: n, orientation: a } = r.data; | ||
return (u, f) => (e(), s("div", L(u.$attrs, { class: "p-4 j-footer-menu" }), [ | ||
t(o) ? (e(), s("div", at, [ | ||
i("h5", null, v(t(o)), 1) | ||
])) : d("", !0), | ||
M(lt, { | ||
menu: s(r).items, | ||
orientation: s(a) | ||
J(nt, { | ||
menu: t(n).items, | ||
orientation: t(a) | ||
}, null, 8, ["menu", "orientation"]) | ||
@@ -449,20 +449,20 @@ ], 16)); | ||
}, | ||
setup(t) { | ||
const o = t, { image: l, altText: r, clickable: a, link: u, title: f } = T(o.data); | ||
return (p, c) => (e(), n("div", it, [ | ||
z(v(s(f)) + " ", 1), | ||
s(a) ? (e(), n("a", { | ||
setup(l) { | ||
const r = l, { image: o, altText: n, clickable: a, link: u, title: f } = M(r.data); | ||
return (_, c) => (e(), s("div", it, [ | ||
H(v(t(f)) + " ", 1), | ||
t(a) ? (e(), s("a", { | ||
key: 0, | ||
class: "cursor-pointer", | ||
target: "_blank", | ||
href: `https://${s(u)}` | ||
href: `https://${t(u)}` | ||
}, [ | ||
M(s(K), { | ||
"image-src": s(l), | ||
alt: s(r) | ||
J(t(K), { | ||
"image-src": t(o), | ||
alt: t(n) | ||
}, null, 8, ["image-src", "alt"]) | ||
], 8, ut)) : (e(), h(s(K), { | ||
], 8, ut)) : (e(), g(t(K), { | ||
key: 1, | ||
"image-src": s(l), | ||
alt: s(r) | ||
"image-src": t(o), | ||
alt: t(n) | ||
}, null, 8, ["image-src", "alt"])) | ||
@@ -478,9 +478,9 @@ ])); | ||
]) | ||
], -1), pt = [ | ||
], -1), mt = [ | ||
_t | ||
]; | ||
function mt(t, o) { | ||
return e(), n("div", ft, pt); | ||
function pt(l, r) { | ||
return e(), s("div", ft, mt); | ||
} | ||
const Os = /* @__PURE__ */ j(dt, [["render", mt]]), vt = { | ||
const Bl = /* @__PURE__ */ j(dt, [["render", pt]]), vt = { | ||
__name: "JRow", | ||
@@ -509,8 +509,8 @@ props: { | ||
}, | ||
setup(t) { | ||
const o = t, l = { | ||
setup(l) { | ||
const r = l, o = { | ||
left: "justify-start", | ||
right: "justify-end", | ||
center: "justify-center" | ||
}, r = { | ||
}, n = { | ||
top: "items-start", | ||
@@ -520,9 +520,9 @@ bottom: "items-end", | ||
}, a = S(() => { | ||
const { xAlignment: u, yAlignment: f } = o; | ||
return `${u ? l[u] : ""}${f ? " " + r[f] : ""}`; | ||
const { xAlignment: u, yAlignment: f } = r; | ||
return `${u ? o[u] : ""}${f ? " " + n[f] : ""}`; | ||
}); | ||
return (u, f) => (e(), n("div", { | ||
class: C(["j-row w-full relative flex flex-wrap", [s(a), t.isContainer ? "container mx-auto" : null]]) | ||
return (u, f) => (e(), s("div", { | ||
class: C(["j-row w-full relative flex flex-wrap", [t(a), l.isContainer ? "container mx-auto" : null]]) | ||
}, [ | ||
$(u.$slots, "default") | ||
k(u.$slots, "default") | ||
], 2)); | ||
@@ -538,4 +538,4 @@ } | ||
}, | ||
setup(t) { | ||
const o = { | ||
setup(l) { | ||
const r = { | ||
1: "basis-1/12", | ||
@@ -554,12 +554,12 @@ 2: "basis-2/12", | ||
}; | ||
return (l, r) => (e(), n("div", { | ||
class: C(["j-column flex flex-col", o[t.columns]]) | ||
return (o, n) => (e(), s("div", { | ||
class: C(["j-column flex flex-col", r[l.columns]]) | ||
}, [ | ||
$(l.$slots, "default") | ||
k(o.$slots, "default") | ||
], 2)); | ||
} | ||
}, gt = (t, o) => { | ||
const l = t[o]; | ||
return l ? typeof l == "function" ? l() : Promise.resolve(l) : new Promise((r, a) => { | ||
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(a.bind(null, new Error("Unknown variable dynamic import: " + o))); | ||
}, ht = (l, r) => { | ||
const o = l[r]; | ||
return o ? typeof o == "function" ? o() : Promise.resolve(o) : new Promise((n, a) => { | ||
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(a.bind(null, new Error("Unknown variable dynamic import: " + r))); | ||
}); | ||
@@ -583,4 +583,4 @@ }, W = { | ||
emits: ["customEvent"], | ||
setup(t, { emit: o }) { | ||
const l = { | ||
setup(l, { emit: r }) { | ||
const o = { | ||
language: "Language", | ||
@@ -591,19 +591,19 @@ notifications: "Notifications", | ||
}; | ||
function r(u) { | ||
function n(u) { | ||
return de( | ||
() => gt(/* @__PURE__ */ Object.assign({ "./JHeader.vue": () => Promise.resolve().then(() => Vt), "./JHeaderLanguage.vue": () => import("./JHeaderLanguage.3f96c986.mjs"), "./JHeaderLogo.vue": () => Promise.resolve().then(() => Et), "./JHeaderMenu.vue": () => Promise.resolve().then(() => Dt), "./JHeaderMenuItems.vue": () => Promise.resolve().then(() => Tt), "./JHeaderNotifications.vue": () => import("./JHeaderNotifications.caf11f9c.mjs"), "./JHeaderProfile.vue": () => import("./JHeaderProfile.59998e42.mjs"), "./JHeaderSceleton.vue": () => Promise.resolve().then(() => Xt), "./JHeaderSearch.vue": () => import("./JHeaderSearch.15aed92c.mjs"), "./JHeaderSubMenuItem.vue": () => Promise.resolve().then(() => jt) }), `./JHeader${l[u]}.vue`) | ||
() => ht(/* @__PURE__ */ Object.assign({ "./JHeader.vue": () => Promise.resolve().then(() => Vt), "./JHeaderLanguage.vue": () => import("./JHeaderLanguage.3f96c986.mjs"), "./JHeaderLogo.vue": () => Promise.resolve().then(() => Ht), "./JHeaderMenu.vue": () => Promise.resolve().then(() => Dt), "./JHeaderMenuItems.vue": () => Promise.resolve().then(() => Tt), "./JHeaderNotifications.vue": () => import("./JHeaderNotifications.caf11f9c.mjs"), "./JHeaderProfile.vue": () => import("./JHeaderProfile.59998e42.mjs"), "./JHeaderSceleton.vue": () => Promise.resolve().then(() => Xt), "./JHeaderSearch.vue": () => import("./JHeaderSearch.15aed92c.mjs"), "./JHeaderSubMenuItem.vue": () => Promise.resolve().then(() => jt) }), `./JHeader${o[u]}.vue`) | ||
); | ||
} | ||
function a(u) { | ||
o("customEvent", u); | ||
r("customEvent", u); | ||
} | ||
return (u, f) => (e(), n("div", null, [ | ||
(e(!0), n(k, null, J(t.actions, (p) => (e(), h(F(r(p)), { | ||
key: `action-${p}`, | ||
style: B(t.iconsStyle), | ||
return (u, f) => (e(), s("div", null, [ | ||
(e(!0), s($, null, q(l.actions, (_) => (e(), g(R(n(_)), { | ||
key: `action-${_}`, | ||
style: B(l.iconsStyle), | ||
onCustomEvent: a, | ||
icon: t.iconsStyle ? { | ||
...t.settings[p].iconSettings, | ||
size: t.iconsStyle.size | ||
} : t.settings[p].iconSettings | ||
icon: l.iconsStyle ? { | ||
...l.settings[_].iconSettings, | ||
size: l.iconsStyle.size | ||
} : l.settings[_].iconSettings | ||
}, null, 40, ["style", "icon"]))), 128)) | ||
@@ -613,3 +613,3 @@ ])); | ||
}; | ||
const ht = { class: "j-submenu-wrapper submenu-parent" }, bt = { class: "menu-wrapper" }, wt = ["value", "onKeydown"], $t = { | ||
const gt = { class: "j-submenu-wrapper submenu-parent" }, bt = { class: "menu-wrapper" }, wt = ["value", "onKeydown"], kt = { | ||
xmlns: "http://www.w3.org/2000/svg", | ||
@@ -620,3 +620,3 @@ width: "14", | ||
fill: "none" | ||
}, kt = ["fill"], xt = { | ||
}, $t = ["fill"], xt = { | ||
key: 0, | ||
@@ -657,34 +657,34 @@ class: "row-menu-item p-3" | ||
}, | ||
setup(t) { | ||
const o = t, { parentLevel: l, firstLevel: r } = T(o), a = I(!1), u = (_) => { | ||
a.value ? p() : f(); | ||
}, f = (_) => { | ||
setup(l) { | ||
const r = l, { parentLevel: o, firstLevel: n } = M(r), a = I(!1), u = (m) => { | ||
a.value ? _() : f(); | ||
}, f = (m) => { | ||
a.value = !0; | ||
}, p = () => { | ||
}, _ = () => { | ||
a.value = !1; | ||
}, c = (_, m, x) => { | ||
if (m.relatedTarget && document.querySelector(`.menu-level-${m.relatedTarget.value}`) !== document.querySelector(`.menu-level-${_}`) && pe(() => { | ||
document.querySelector(`.menu-level-${_}`).focus(), document.querySelector(`.menu-level-${_}`).blur(); | ||
}), !x && !m.relatedTarget) { | ||
document.querySelector(`.menu-level-${_}`).focus(), document.querySelector(`.menu-level-${_}`).blur(); | ||
}, c = (m, p, x) => { | ||
if (p.relatedTarget && document.querySelector(`.menu-level-${p.relatedTarget.value}`) !== document.querySelector(`.menu-level-${m}`) && me(() => { | ||
document.querySelector(`.menu-level-${m}`).focus(), document.querySelector(`.menu-level-${m}`).blur(); | ||
}), !x && !p.relatedTarget) { | ||
document.querySelector(`.menu-level-${m}`).focus(), document.querySelector(`.menu-level-${m}`).blur(); | ||
return; | ||
} | ||
(!m.relatedTarget || !m.relatedTarget.classList.contains("menu-related")) && p(); | ||
(!p.relatedTarget || !p.relatedTarget.classList.contains("menu-related")) && _(); | ||
}; | ||
return (_, m) => { | ||
return (m, p) => { | ||
const x = E("RouterLink"), b = E("JHeaderSubMenuItem", !0); | ||
return e(), n("div", ht, [ | ||
return e(), s("div", gt, [ | ||
i("div", bt, [ | ||
i("button", { | ||
class: C(["icon menu-btn icon-holder flex items-center justify-between menu-related", [s(r) ? null : "p-3 level-hover", `menu-level-${s(l)}`]]), | ||
value: s(l), | ||
onKeydown: fe(p, ["esc"]), | ||
onBlur: m[0] || (m[0] = (y) => c(s(l), y, s(r))), | ||
onClick: m[1] || (m[1] = (y) => u(s(l))) | ||
class: C(["icon menu-btn icon-holder flex items-center justify-between menu-related", [t(n) ? null : "p-3 level-hover", `menu-level-${t(o)}`]]), | ||
value: t(o), | ||
onKeydown: fe(_, ["esc"]), | ||
onBlur: p[0] || (p[0] = (y) => c(t(o), y, t(n))), | ||
onClick: p[1] || (p[1] = (y) => u(t(o))) | ||
}, [ | ||
z(v(t.label) + " ", 1), | ||
H(v(l.label) + " ", 1), | ||
i("span", { | ||
class: C(["dropdown-icon ml-3", a.value ? s(r) ? "active" : "half-active" : null]) | ||
class: C(["dropdown-icon ml-3", a.value ? t(n) ? "active" : "half-active" : null]) | ||
}, [ | ||
(e(), n("svg", $t, [ | ||
(e(), s("svg", kt, [ | ||
i("path", { | ||
@@ -694,21 +694,21 @@ "fill-rule": "evenodd", | ||
d: "M0.46967 4.80895C0.762563 5.08789 1.23744 5.08789 1.53033 4.80895L4 2.45688L6.46967 4.80895C6.76256 5.08789 7.23744 5.08789 7.53033 4.80895C7.82322 4.53 7.82322 4.07774 7.53033 3.79879L4.88388 1.27837C4.39573 0.81346 3.60427 0.81346 3.11612 1.27837L0.46967 3.79879C0.176777 4.07774 0.176777 4.53 0.46967 4.80895Z", | ||
fill: s(r) ? "white" : "#333" | ||
}, null, 8, kt) | ||
fill: t(n) ? "white" : "#333" | ||
}, null, 8, $t) | ||
])) | ||
], 2) | ||
], 42, wt), | ||
M(_e, { name: "fade" }, { | ||
J(_e, { name: "fade" }, { | ||
default: w(() => [ | ||
a.value ? (e(), n("div", { | ||
a.value ? (e(), s("div", { | ||
key: 0, | ||
class: C(["j-submenu-dropdown-wrapper flex flex-col", s(r) ? null : "multilevel"]) | ||
class: C(["j-submenu-dropdown-wrapper flex flex-col", t(n) ? null : "multilevel"]) | ||
}, [ | ||
(e(!0), n(k, null, J(t.childItems, (y) => (e(), n(k, null, [ | ||
y.childItems.length ? (e(), h(b, { | ||
(e(!0), s($, null, q(l.childItems, (y) => (e(), s($, null, [ | ||
y.childItems.length ? (e(), g(b, { | ||
key: 1, | ||
label: y.navigationLabel, | ||
childItems: y.childItems, | ||
"parent-level": s(l) | ||
}, null, 8, ["label", "childItems", "parent-level"])) : (e(), n(k, { key: 0 }, [ | ||
y.itemTypeId === 3 ? (e(), n("div", xt, v(y.navigationLabel), 1)) : y.itemTypeId === 1 ? (e(), h(x, { | ||
"parent-level": t(o) | ||
}, null, 8, ["label", "childItems", "parent-level"])) : (e(), s($, { key: 0 }, [ | ||
y.itemTypeId === 3 ? (e(), s("div", xt, v(y.navigationLabel), 1)) : y.itemTypeId === 1 ? (e(), g(x, { | ||
key: 1, | ||
@@ -721,3 +721,3 @@ to: y.url | ||
_: 2 | ||
}, 1032, ["to"])) : y.itemTypeId === 2 ? (e(), n("a", { | ||
}, 1032, ["to"])) : y.itemTypeId === 2 ? (e(), s("a", { | ||
key: 2, | ||
@@ -727,3 +727,3 @@ class: "cursor-pointer item p-3 row-menu-item", | ||
target: "_blank" | ||
}, v(y.navigationLabel), 9, Ct)) : y.itemTypeId === 4 ? (e(), n("div", Lt, v(y.navigationLabel), 1)) : d("", !0) | ||
}, v(y.navigationLabel), 9, Ct)) : y.itemTypeId === 4 ? (e(), s("div", Lt, v(y.navigationLabel), 1)) : d("", !0) | ||
], 64)) | ||
@@ -743,3 +743,3 @@ ], 64))), 256)) | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const It = ["href"], Jt = { key: 2 }, qt = { key: 3 }, Mt = { | ||
const It = ["href"], qt = { key: 2 }, Jt = { key: 3 }, Mt = { | ||
__name: "JHeaderMenuItems", | ||
@@ -752,11 +752,11 @@ props: { | ||
}, | ||
setup(t) { | ||
return I(!1), (o, l) => { | ||
const r = E("RouterLink"); | ||
return e(), n("ul", G(Q(o.$attrs)), [ | ||
(e(!0), n(k, null, J(t.menuItems, (a, u) => (e(), n("li", { | ||
setup(l) { | ||
return I(!1), (r, o) => { | ||
const n = E("RouterLink"); | ||
return e(), s("ul", G(Q(r.$attrs)), [ | ||
(e(!0), s($, null, q(l.menuItems, (a, u) => (e(), s("li", { | ||
key: "menu-item-" + a.id, | ||
class: C(["menu-item", "parent-level-" + u]) | ||
}, [ | ||
a.childItems.length ? (e(), h(te, { | ||
a.childItems.length ? (e(), g(te, { | ||
key: 1, | ||
@@ -767,4 +767,4 @@ label: a.navigationLabel, | ||
"parent-level": u | ||
}, null, 8, ["label", "childItems", "parent-level"])) : (e(), n(k, { key: 0 }, [ | ||
a.itemTypeId === 1 ? (e(), h(r, { | ||
}, null, 8, ["label", "childItems", "parent-level"])) : (e(), s($, { key: 0 }, [ | ||
a.itemTypeId === 1 ? (e(), g(n, { | ||
key: 0, | ||
@@ -774,6 +774,6 @@ to: a.url | ||
default: w(() => [ | ||
z(v(a.navigationLabel) + "-2 ", 1) | ||
H(v(a.navigationLabel) + "-2 ", 1) | ||
]), | ||
_: 2 | ||
}, 1032, ["to"])) : a.itemTypeId === 2 ? (e(), n("a", { | ||
}, 1032, ["to"])) : a.itemTypeId === 2 ? (e(), s("a", { | ||
key: 1, | ||
@@ -783,3 +783,3 @@ class: "cursor-pointer item", | ||
target: "_blank" | ||
}, v(a.navigationLabel) + "-2 ", 9, It)) : a.itemTypeId === 3 ? (e(), n("div", Jt, v(a.navigationLabel) + "-3 ", 1)) : a.itemTypeId === 4 ? (e(), n("div", qt, v(a.navigationLabel) + "-4 ", 1)) : d("", !0) | ||
}, v(a.navigationLabel) + "-2 ", 9, It)) : a.itemTypeId === 3 ? (e(), s("div", qt, v(a.navigationLabel) + "-3 ", 1)) : a.itemTypeId === 4 ? (e(), s("div", Jt, v(a.navigationLabel) + "-4 ", 1)) : d("", !0) | ||
], 64)) | ||
@@ -794,3 +794,3 @@ ], 2))), 128)) | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const Ot = { class: "logo flex" }, Bt = ["src"], Ht = { | ||
const Bt = { class: "logo flex" }, Ot = ["src"], Et = { | ||
__name: "JHeaderLogo", | ||
@@ -803,7 +803,7 @@ props: { | ||
}, | ||
setup(t) { | ||
return (o, l) => { | ||
const r = E("RouterLink"); | ||
return e(), n("div", Ot, [ | ||
M(r, { | ||
setup(l) { | ||
return (r, o) => { | ||
const n = E("RouterLink"); | ||
return e(), s("div", Bt, [ | ||
J(n, { | ||
class: "w-full m-auto pointer", | ||
@@ -814,6 +814,6 @@ to: "/" | ||
i("img", { | ||
src: t.imageSrc, | ||
src: l.imageSrc, | ||
alt: "logo", | ||
class: "" | ||
}, null, 8, Bt) | ||
}, null, 8, Ot) | ||
]), | ||
@@ -825,5 +825,5 @@ _: 1 | ||
} | ||
}, se = /* @__PURE__ */ j(Ht, [["__scopeId", "data-v-447a9ef4"]]), Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, le = /* @__PURE__ */ j(Et, [["__scopeId", "data-v-447a9ef4"]]), Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
default: se | ||
default: le | ||
}, Symbol.toStringTag, { value: "Module" })), zt = { | ||
@@ -841,3 +841,3 @@ style: { fill: "currentColor" }, | ||
At | ||
], ne = { | ||
], se = { | ||
__name: "JHeaderMenu", | ||
@@ -850,6 +850,6 @@ props: { | ||
}, | ||
setup(t) { | ||
return (o, l) => (e(), n("div", null, [ | ||
setup(l) { | ||
return (r, o) => (e(), s("div", null, [ | ||
i("a", null, [ | ||
(e(), n("svg", zt, Pt)) | ||
(e(), s("svg", zt, Pt)) | ||
]) | ||
@@ -860,3 +860,3 @@ ])); | ||
__proto__: null, | ||
default: ne | ||
default: se | ||
}, Symbol.toStringTag, { value: "Module" })), Rt = { | ||
@@ -897,48 +897,48 @@ key: 1, | ||
emits: ["customEvent"], | ||
setup(t, { emit: o }) { | ||
const l = t, { breakpoint: r, components: a, settings: u } = l, f = S(() => r === "mobile"), p = S(() => r === "desktop"), c = S(() => a.menu), _ = S(() => a.logo), m = S(() => Object.entries(a).filter(([b, y]) => y && b !== "logo" && b !== "menu").map((b) => b[0])); | ||
setup(l, { emit: r }) { | ||
const o = l, { breakpoint: n, components: a, settings: u } = o, f = S(() => n === "mobile"), _ = S(() => n === "desktop"), c = S(() => a.menu), m = S(() => a.logo), p = S(() => Object.entries(a).filter(([b, y]) => y && b !== "logo" && b !== "menu").map((b) => b[0])); | ||
function x(b) { | ||
o("customEvent", b); | ||
r("customEvent", b); | ||
} | ||
return (b, y) => (e(), n("div", L(b.$attrs, { | ||
key: `header-${s(r)}`, | ||
return (b, y) => (e(), s("div", L(b.$attrs, { | ||
key: `header-${t(n)}`, | ||
class: "j-header w-full relative z-10" | ||
}), [ | ||
i("nav", L({ class: "w-full h-full flex container mx-auto gap-4 justify-between items-center py-2 px-2" }, b.$attrs), [ | ||
s(_) ? (e(), h(se, { | ||
t(m) ? (e(), g(le, { | ||
key: 0, | ||
"image-src": s(u).logo.source | ||
"image-src": t(u).logo.source | ||
}, null, 8, ["image-src"])) : d("", !0), | ||
s(c) && s(p) ? (e(), n("div", Rt, [ | ||
M(Z, { | ||
t(c) && t(_) ? (e(), s("div", Rt, [ | ||
J(Z, { | ||
class: "flex flex-row items-center gap-6 text-sm", | ||
"menu-items": t.menuItems || s(u).menu.menuItems, | ||
style: B(t.menuStyle) | ||
"menu-items": l.menuItems || t(u).menu.menuItems, | ||
style: B(l.menuStyle) | ||
}, null, 8, ["menu-items", "style"]) | ||
])) : d("", !0), | ||
s(f) ? d("", !0) : (e(), h(W, { | ||
t(f) ? d("", !0) : (e(), g(W, { | ||
key: 2, | ||
class: "actions flex ml-auto gap-x-4", | ||
onCustomEvent: x, | ||
settings: s(u), | ||
actions: s(m), | ||
"icons-style": t.iconsStyle | ||
settings: t(u), | ||
actions: t(p), | ||
"icons-style": l.iconsStyle | ||
}, null, 8, ["settings", "actions", "icons-style"])), | ||
s(c) && !s(p) ? (e(), h(ne, { | ||
t(c) && !t(_) ? (e(), g(se, { | ||
key: 3, | ||
"is-mobile": s(f) | ||
"is-mobile": t(f) | ||
}, null, 8, ["is-mobile"])) : d("", !0) | ||
], 16), | ||
s(c) && !s(p) ? (e(), n("div", Ft, [ | ||
M(Z, { | ||
t(c) && !t(_) ? (e(), s("div", Ft, [ | ||
J(Z, { | ||
class: "flex flex-col gap-y-7 items-center py-10 px-2 text-sm", | ||
"menu-items": t.menuItems || s(u).menu.menuItems, | ||
style: B(t.menuStyle) | ||
"menu-items": l.menuItems || t(u).menu.menuItems, | ||
style: B(l.menuStyle) | ||
}, null, 8, ["menu-items", "style"]), | ||
s(f) && s(m).length ? (e(), h(W, { | ||
t(f) && t(p).length ? (e(), g(W, { | ||
key: 0, | ||
class: "actions py-10 border-t border-gray-500 flex justify-center ml-auto gap-x-4", | ||
settings: s(u), | ||
actions: s(m), | ||
"icons-style": t.iconsStyle | ||
settings: t(u), | ||
actions: t(p), | ||
"icons-style": l.iconsStyle | ||
}, null, 8, ["settings", "actions", "icons-style"])) : d("", !0) | ||
@@ -957,4 +957,4 @@ ])) : d("", !0) | ||
]; | ||
function Gt(t, o) { | ||
return e(), n("div", Ut, Wt); | ||
function Gt(l, r) { | ||
return e(), s("div", Ut, Wt); | ||
} | ||
@@ -965,18 +965,18 @@ const Qt = /* @__PURE__ */ j(Zt, [["render", Gt]]), Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const Yt = ["src", "alt"], es = { class: "slider-content flex container mx-auto items-end py-10" }, ts = { class: "w-1/2 text-white mb-20" }, ss = { | ||
const Yt = ["src", "alt"], el = { class: "slider-content flex container mx-auto items-end py-10" }, tl = { class: "w-1/2 text-white mb-20" }, ll = { | ||
key: 0, | ||
class: "j-title font-bold text-4xl pt-2 pl-2" | ||
}, ns = { | ||
}, sl = { | ||
key: 1, | ||
class: "j-description text-lg pt-2 pl-2" | ||
}, ls = { | ||
}, nl = { | ||
key: 2, | ||
class: "j-tag font-semibold text-base pt-2 pl-2" | ||
}, as = { | ||
}, al = { | ||
key: 3, | ||
class: "p-3" | ||
}, os = { | ||
}, ol = { | ||
key: 4, | ||
class: "j-tag font-semibold text-base pl-2 d-flex items-center" | ||
}, rs = { class: "overlay-actions container mx-auto flex items-end mb-10" }, is = { | ||
}, rl = { class: "overlay-actions container mx-auto flex items-end mb-10" }, il = { | ||
__name: "JBanner", | ||
@@ -999,30 +999,34 @@ props: { | ||
}, | ||
setup(t) { | ||
const o = t, { data: l, customWrapper: r, hasOverlay: a } = T(o); | ||
return (u, f) => (e(), n("div", { | ||
class: C(["j-banner", s(a) ? "overlay" : null]) | ||
emits: ["customClickEvent"], | ||
setup(l, { emit: r }) { | ||
const o = l, { data: n, customWrapper: a, hasOverlay: u } = M(o); | ||
function f(_) { | ||
r("customClickEvent", _); | ||
} | ||
return (_, c) => (e(), s("div", { | ||
class: C(["j-banner", t(u) ? "overlay" : null]) | ||
}, [ | ||
(e(), h(F(s(r)), { | ||
to: s(l).imgTo ? s(l).imgTo : "/not-set" | ||
(e(), g(R(t(a)), { | ||
to: t(n).imgTo ? t(n).imgTo : "/not-set" | ||
}, { | ||
default: w(() => [ | ||
i("img", { | ||
src: s(l).img, | ||
src: t(n).img, | ||
class: "j-banner-img", | ||
alt: s(l).alt | ||
alt: t(n).alt | ||
}, null, 8, Yt), | ||
i("div", es, [ | ||
i("div", ts, [ | ||
s(l).title ? (e(), n("h1", ss, v(s(l).title), 1)) : d("", !0), | ||
s(l).description ? (e(), n("p", ns, v(s(l).description), 1)) : d("", !0), | ||
s(l).tags ? (e(), n("h4", ls, v(s(l).tags) + ". ", 1)) : d("", !0), | ||
s(l).action ? (e(), n("button", as, v(s(l).action), 1)) : d("", !0), | ||
s(l).text ? (e(), n("h4", os, [ | ||
z(" M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: "), | ||
(e(), h(F(s(r)), { | ||
i("div", el, [ | ||
i("div", tl, [ | ||
t(n).title ? (e(), s("h1", ll, v(t(n).title), 1)) : d("", !0), | ||
t(n).description ? (e(), s("p", sl, v(t(n).description), 1)) : d("", !0), | ||
t(n).tags ? (e(), s("h4", nl, v(t(n).tags) + ". ", 1)) : d("", !0), | ||
t(n).action ? (e(), s("button", al, v(t(n).action), 1)) : d("", !0), | ||
t(n).text ? (e(), s("h4", ol, [ | ||
H(" M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: "), | ||
(e(), g(R(t(a)), { | ||
class: "text-red-600", | ||
to: s(l).textTo ? s(l).textTo : "/not-set" | ||
to: t(n).textTo ? t(n).textTo : "/not-set" | ||
}, { | ||
default: w(() => [ | ||
z(v(s(l).text), 1) | ||
H(v(t(n).text), 1) | ||
]), | ||
@@ -1037,4 +1041,11 @@ _: 1 | ||
}, 8, ["to"])), | ||
i("div", rs, [ | ||
$(u.$slots, "user-engagements") | ||
i("div", rl, [ | ||
t(n).userEngagements ? (e(), g(t(xl), { | ||
key: 0, | ||
subscribe: t(n).userEngagements.subscribe, | ||
like: t(n).userEngagements.like, | ||
dislike: t(n).userEngagements.dislike, | ||
watchLater: t(n).userEngagements.watchLater, | ||
onCustomClickEvent: f | ||
}, null, 8, ["subscribe", "like", "dislike", "watchLater"])) : d("", !0) | ||
]) | ||
@@ -1044,3 +1055,160 @@ ], 2)); | ||
}; | ||
const R = { | ||
const ul = { | ||
key: 0, | ||
class: "slider-tracker slider-tracker container mx-auto absolute left-0 right-0" | ||
}, cl = { class: "slider-indicators" }, dl = ["onClick"], fl = { | ||
style: { fill: "#fff" }, | ||
viewBox: "0,0,24,24", | ||
width: 30, | ||
height: 30, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, _l = /* @__PURE__ */ i("path", { | ||
"fill-rule": "evenodd", | ||
"clip-rule": "evenodd", | ||
d: "M15.424 5.576a.6.6 0 010 .848L9.85 12l5.575 5.576a.6.6 0 01-.848.848L8.15 12l6.425-6.424a.6.6 0 01.848 0z" | ||
}, null, -1), ml = [ | ||
_l | ||
], pl = { | ||
style: { fill: "#fff" }, | ||
viewBox: "0,0,24,24", | ||
width: 30, | ||
height: 30, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, vl = /* @__PURE__ */ i("path", { | ||
"fill-rule": "evenodd", | ||
"clip-rule": "evenodd", | ||
d: "M8.576 5.576a.6.6 0 000 .848L14.15 12l-5.575 5.576a.6.6 0 10.848.848L15.85 12 9.424 5.576a.6.6 0 00-.848 0z" | ||
}, null, -1), yl = [ | ||
vl | ||
], Ol = { | ||
__name: "JSlider", | ||
props: { | ||
slides: { | ||
type: Array, | ||
required: !0 | ||
}, | ||
autoSlide: { | ||
type: Boolean, | ||
required: !1, | ||
default: !1 | ||
}, | ||
scrollInterval: { | ||
type: [Number, String], | ||
required: !1, | ||
default: !1 | ||
}, | ||
activeSlide: { | ||
type: Number, | ||
required: !1, | ||
default: 0 | ||
}, | ||
animationTime: { | ||
type: String, | ||
required: !1, | ||
default: ".6s" | ||
}, | ||
showIndicators: { | ||
type: Boolean, | ||
required: !1, | ||
default: !0 | ||
}, | ||
customWrapper: { | ||
type: String, | ||
required: !1, | ||
default: "RouterLink" | ||
} | ||
}, | ||
emits: ["customClickEvent"], | ||
setup(l, { emit: r }) { | ||
const o = l; | ||
pe((h) => ({ | ||
"7d76257c": m.value | ||
})); | ||
const { slides: n, autoSlide: a, scrollInterval: u, showIndicators: f, customWrapper: _ } = M(o), c = I(o.activeSlide), m = I(o.animationTime), p = I(U(n.value, c.value)), x = I(null), b = I(!1), y = I(""), A = I(!1), O = I(null); | ||
function U(h, T) { | ||
return (T % h.length + h.length) % h.length; | ||
} | ||
const ne = S(() => n.value.map((h, T) => (T === p.value ? h.active = !0 : h.active = !1, h))); | ||
function P(h, T = -1) { | ||
b.value || (b.value = !0, y.value = h, T === -1 ? c.value += h === "slide-left" ? 1 : -1 : c.value = T, p.value = U(n.value, c.value), h === "slide-right" ? p.value + 1 === n.value.length ? x.value = "flex-row-reverse" : x.value = "justify-end" : h === "slide-left" && (p.value === 0 ? x.value = "flex-row-reverse justify-end" : x.value = "")); | ||
} | ||
const ae = () => P("slide-right"), F = () => P("slide-left"); | ||
function oe() { | ||
b.value = !1; | ||
} | ||
ve(() => { | ||
!a.value || (O.value = setInterval(() => { | ||
A.value || F(); | ||
}, u.value * 1e3)); | ||
}), ye(() => { | ||
clearInterval(O.value); | ||
}); | ||
function re(h) { | ||
h !== p.value && (p.value < h ? P("slide-left", h) : P("slide-right", h)); | ||
} | ||
const ie = () => { | ||
!a.value || (A.value = !0, clearInterval(O.value), O.value = null); | ||
}, ue = () => { | ||
!a.value || (A.value = !1, !O.value && (O.value = setInterval(() => { | ||
A.value || F(); | ||
}, u.value * 1e3))); | ||
}, ce = (h) => { | ||
console.log("JSLIDER------->customClickEvent", h), r("customClickEvent", h); | ||
}; | ||
return (h, T) => (e(), s("div", { | ||
class: "j-slider", | ||
onMouseover: ie, | ||
onMouseleave: ue | ||
}, [ | ||
J(he, { | ||
name: "slide", | ||
onAfterEnter: oe, | ||
tag: "div", | ||
class: C(["j-slider-wrapper", [y.value, x.value]]) | ||
}, { | ||
default: w(() => [ | ||
(e(!0), s($, null, q(t(ne), (N, z) => ge((e(), s("div", { | ||
key: z, | ||
class: "slide-page" | ||
}, [ | ||
J(il, { | ||
data: N, | ||
"has-overlay": !0, | ||
onCustomClickEvent: ce | ||
}, null, 8, ["data"]) | ||
])), [ | ||
[be, N.active] | ||
])), 128)) | ||
]), | ||
_: 1 | ||
}, 8, ["class"]), | ||
t(f) ? (e(), s("div", ul, [ | ||
i("ol", cl, [ | ||
(e(!0), s($, null, q(t(n), (N, z) => (e(), s("li", { | ||
class: C(["slide-indicator", p.value === z ? "active" : null]), | ||
onClick: (Sl) => re(z), | ||
key: z | ||
}, null, 10, dl))), 128)) | ||
]) | ||
])) : d("", !0), | ||
i("button", { | ||
class: "button-slide button-slide-left", | ||
onClick: ae | ||
}, [ | ||
i("span", null, [ | ||
(e(), s("svg", fl, ml)) | ||
]) | ||
]), | ||
i("button", { | ||
class: "button-slide button-slide-right", | ||
onClick: F | ||
}, [ | ||
i("span", null, [ | ||
(e(), s("svg", pl, yl)) | ||
]) | ||
]) | ||
], 32)); | ||
} | ||
}; | ||
const D = { | ||
__name: "JButton", | ||
@@ -1077,29 +1245,49 @@ props: { | ||
default: !1 | ||
}, | ||
outlined: { | ||
type: Boolean, | ||
required: !1, | ||
default: !1 | ||
}, | ||
hovered: { | ||
type: Boolean, | ||
required: !1, | ||
default: !1 | ||
}, | ||
selected: { | ||
type: Boolean, | ||
required: !1, | ||
default: !1 | ||
}, | ||
loading: { | ||
type: Boolean, | ||
required: !1, | ||
default: !1 | ||
} | ||
}, | ||
emits: ["customClickEvent"], | ||
setup(t, { emit: o }) { | ||
const l = t, { variant: r, active: a, full: u, transparent: f, rounded: p } = T(l); | ||
function c(_) { | ||
o("customClickEvent", _); | ||
setup(l, { emit: r }) { | ||
const o = l, { variant: n, active: a, full: u, transparent: f, rounded: _ } = M(o); | ||
function c(m) { | ||
r("customClickEvent", m); | ||
} | ||
return (_, m) => (e(), n("button", { | ||
class: C(["j-button", [s(r), { | ||
"j-is-rounded": s(p), | ||
"j-is-loading": _.loading, | ||
"j-is-outlined": _.outlined, | ||
"j-is-fullwidth": s(u), | ||
"j-is-circle": t.circle, | ||
"j-is-transparent": s(f), | ||
"j-is-active": s(a), | ||
"j-is-hovered": _.hovered, | ||
"j-is-selected": _.selected | ||
return (m, p) => (e(), s("button", { | ||
class: C(["j-button", [t(n), { | ||
"j-is-rounded": t(_), | ||
"j-is-loading": l.loading, | ||
"j-is-outlined": l.outlined, | ||
"j-is-fullwidth": t(u), | ||
"j-is-circle": l.circle, | ||
"j-is-transparent": t(f), | ||
"j-is-active": t(a), | ||
"j-is-hovered": l.hovered, | ||
"j-is-selected": l.selected | ||
}]]), | ||
onClick: c | ||
}, [ | ||
$(_.$slots, "default") | ||
k(m.$slots, "default") | ||
], 2)); | ||
} | ||
}; | ||
const us = { class: "user-engagements flex mt-3" }, cs = /* @__PURE__ */ i("span", null, [ | ||
const hl = { class: "user-engagements flex mt-3" }, gl = /* @__PURE__ */ i("span", null, [ | ||
/* @__PURE__ */ i("svg", { | ||
@@ -1119,3 +1307,3 @@ width: "16", | ||
]) | ||
], -1), ds = /* @__PURE__ */ i("p", { class: "ml-1" }, "FAVORITE", -1), fs = /* @__PURE__ */ i("span", null, [ | ||
], -1), bl = /* @__PURE__ */ i("p", { class: "ml-1" }, "FAVORITE", -1), wl = /* @__PURE__ */ i("span", null, [ | ||
/* @__PURE__ */ i("svg", { | ||
@@ -1135,3 +1323,3 @@ width: "16", | ||
]) | ||
], -1), _s = /* @__PURE__ */ i("span", null, [ | ||
], -1), kl = /* @__PURE__ */ i("span", null, [ | ||
/* @__PURE__ */ i("svg", { | ||
@@ -1151,3 +1339,3 @@ width: "16", | ||
]) | ||
], -1), ps = /* @__PURE__ */ i("span", null, [ | ||
], -1), $l = /* @__PURE__ */ i("span", null, [ | ||
/* @__PURE__ */ i("svg", { | ||
@@ -1167,3 +1355,3 @@ width: "16", | ||
]) | ||
], -1), ms = { | ||
], -1), xl = { | ||
__name: "JUserEngagements", | ||
@@ -1193,11 +1381,11 @@ props: { | ||
emits: ["customClickEvent"], | ||
setup(t, { emit: o }) { | ||
const l = t, { subscribe: r, like: a, dislike: u, watchLater: f } = T(l), p = (c) => { | ||
console.log("onUserEngagementClick", c), o("customClickEvent", c); | ||
setup(l, { emit: r }) { | ||
const o = l, { subscribe: n, like: a, dislike: u, watchLater: f } = M(o), _ = (c) => { | ||
console.log("onUserEngagementClick", c), r("customClickEvent", c); | ||
}; | ||
return (c, _) => (e(), n("div", us, [ | ||
s(r) ? (e(), h(R, { | ||
return (c, m) => (e(), s("div", hl, [ | ||
t(n) ? (e(), g(D, { | ||
key: 0, | ||
"icon-name": "favorite", | ||
onClick: _[0] || (_[0] = (m) => p("subscribe")), | ||
onClick: m[0] || (m[0] = (p) => _("subscribe")), | ||
variant: "primary", | ||
@@ -1208,10 +1396,10 @@ active: !1, | ||
default: w(() => [ | ||
cs, | ||
ds | ||
gl, | ||
bl | ||
]), | ||
_: 1 | ||
})) : d("", !0), | ||
s(f) ? (e(), h(R, { | ||
t(f) ? (e(), g(D, { | ||
key: 1, | ||
onClick: _[1] || (_[1] = (m) => p("watchLater")), | ||
onClick: m[1] || (m[1] = (p) => _("watchLater")), | ||
"icon-name": "favorite", | ||
@@ -1223,9 +1411,9 @@ variant: "primary", | ||
default: w(() => [ | ||
fs | ||
wl | ||
]), | ||
_: 1 | ||
})) : d("", !0), | ||
s(a) ? (e(), h(R, { | ||
t(a) ? (e(), g(D, { | ||
key: 2, | ||
onClick: _[2] || (_[2] = (m) => p("like")), | ||
onClick: m[2] || (m[2] = (p) => _("like")), | ||
"icon-name": "favorite", | ||
@@ -1237,9 +1425,9 @@ variant: "primary", | ||
default: w(() => [ | ||
_s | ||
kl | ||
]), | ||
_: 1 | ||
})) : d("", !0), | ||
s(u) ? (e(), h(R, { | ||
t(u) ? (e(), g(D, { | ||
key: 3, | ||
onClick: _[3] || (_[3] = (m) => p("dislike")), | ||
onClick: m[3] || (m[3] = (p) => _("dislike")), | ||
"icon-name": "favorite", | ||
@@ -1251,3 +1439,3 @@ variant: "primary", | ||
default: w(() => [ | ||
ps | ||
$l | ||
]), | ||
@@ -1259,191 +1447,23 @@ _: 1 | ||
}; | ||
const vs = { | ||
key: 0, | ||
class: "slider-tracker slider-tracker container mx-auto absolute left-0 right-0" | ||
}, ys = { class: "slider-indicators" }, gs = ["onClick"], hs = { | ||
style: { fill: "#fff" }, | ||
viewBox: "0,0,24,24", | ||
width: 30, | ||
height: 30, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, bs = /* @__PURE__ */ i("path", { | ||
"fill-rule": "evenodd", | ||
"clip-rule": "evenodd", | ||
d: "M15.424 5.576a.6.6 0 010 .848L9.85 12l5.575 5.576a.6.6 0 01-.848.848L8.15 12l6.425-6.424a.6.6 0 01.848 0z" | ||
}, null, -1), ws = [ | ||
bs | ||
], $s = { | ||
style: { fill: "#fff" }, | ||
viewBox: "0,0,24,24", | ||
width: 30, | ||
height: 30, | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, ks = /* @__PURE__ */ i("path", { | ||
"fill-rule": "evenodd", | ||
"clip-rule": "evenodd", | ||
d: "M8.576 5.576a.6.6 0 000 .848L14.15 12l-5.575 5.576a.6.6 0 10.848.848L15.85 12 9.424 5.576a.6.6 0 00-.848 0z" | ||
}, null, -1), xs = [ | ||
ks | ||
], Bs = { | ||
__name: "JSlider", | ||
props: { | ||
slides: { | ||
type: Array, | ||
required: !0 | ||
}, | ||
autoSlide: { | ||
type: Boolean, | ||
required: !1, | ||
default: !1 | ||
}, | ||
scrollInterval: { | ||
type: [Number, String], | ||
required: !1, | ||
default: !1 | ||
}, | ||
activeSlide: { | ||
type: Number, | ||
required: !1, | ||
default: 0 | ||
}, | ||
animationTime: { | ||
type: String, | ||
required: !1, | ||
default: ".6s" | ||
}, | ||
showIndicators: { | ||
type: Boolean, | ||
required: !1, | ||
default: !0 | ||
}, | ||
customWrapper: { | ||
type: String, | ||
required: !1, | ||
default: "RouterLink" | ||
} | ||
}, | ||
emits: ["customClickEvent"], | ||
setup(t, { emit: o }) { | ||
const l = t; | ||
me((g) => ({ | ||
"2cab1146": _.value | ||
})); | ||
const { slides: r, autoSlide: a, scrollInterval: u, showIndicators: f, customWrapper: p } = T(l), c = I(l.activeSlide), _ = I(l.animationTime), m = I(U(r.value, c.value)), x = I(null), b = I(!1), y = I(""), P = I(!1), H = I(null); | ||
function U(g, O) { | ||
return (O % g.length + g.length) % g.length; | ||
} | ||
const le = S(() => r.value.map((g, O) => (O === m.value ? g.active = !0 : g.active = !1, g))); | ||
function D(g, O = -1) { | ||
b.value || (b.value = !0, y.value = g, O === -1 ? c.value += g === "slide-left" ? 1 : -1 : c.value = O, m.value = U(r.value, c.value), g === "slide-right" ? m.value + 1 === r.value.length ? x.value = "flex-row-reverse" : x.value = "justify-end" : g === "slide-left" && (m.value === 0 ? x.value = "flex-row-reverse justify-end" : x.value = "")); | ||
} | ||
const ae = () => D("slide-right"), N = () => D("slide-left"); | ||
function oe() { | ||
b.value = !1; | ||
} | ||
ve(() => { | ||
!a.value || (H.value = setInterval(() => { | ||
P.value || N(); | ||
}, u.value * 1e3)); | ||
}), ye(() => { | ||
clearInterval(H.value); | ||
}); | ||
function re(g) { | ||
g !== m.value && (m.value < g ? D("slide-left", g) : D("slide-right", g)); | ||
} | ||
const ie = () => { | ||
!a.value || (P.value = !0, clearInterval(H.value), H.value = null); | ||
}, ue = () => { | ||
!a.value || (P.value = !1, !H.value && (H.value = setInterval(() => { | ||
P.value || N(); | ||
}, u.value * 1e3))); | ||
}, ce = (g) => { | ||
console.log("JSLIDER------->customClickEvent", g), o("customClickEvent", g); | ||
}; | ||
return (g, O) => (e(), n("div", { | ||
class: "j-slider", | ||
onMouseover: ie, | ||
onMouseleave: ue | ||
}, [ | ||
M(ge, { | ||
name: "slide", | ||
onAfterEnter: oe, | ||
tag: "div", | ||
class: C(["j-slider-wrapper", [y.value, x.value]]) | ||
}, { | ||
default: w(() => [ | ||
(e(!0), n(k, null, J(s(le), (q, A) => he((e(), n("div", { | ||
key: A, | ||
class: "slide-page" | ||
}, [ | ||
M(is, { | ||
data: q, | ||
"has-overlay": !0 | ||
}, { | ||
"user-engagements": w(() => [ | ||
q.userEngagements ? (e(), h(ms, { | ||
key: 0, | ||
subscribe: q.userEngagements.subscribe, | ||
like: q.userEngagements.like, | ||
dislike: q.userEngagements.dislike, | ||
watchLater: q.userEngagements.watchLater, | ||
onCustomClickEvent: ce | ||
}, null, 8, ["subscribe", "like", "dislike", "watchLater"])) : d("", !0) | ||
]), | ||
_: 2 | ||
}, 1032, ["data"]) | ||
])), [ | ||
[be, q.active] | ||
])), 128)) | ||
]), | ||
_: 1 | ||
}, 8, ["class"]), | ||
s(f) ? (e(), n("div", vs, [ | ||
i("ol", ys, [ | ||
(e(!0), n(k, null, J(s(r), (q, A) => (e(), n("li", { | ||
class: C(["slide-indicator", m.value === A ? "active" : null]), | ||
onClick: (Ss) => re(A), | ||
key: A | ||
}, null, 10, gs))), 128)) | ||
]) | ||
])) : d("", !0), | ||
i("button", { | ||
class: "button-slide button-slide-left", | ||
onClick: ae | ||
}, [ | ||
i("span", null, [ | ||
(e(), n("svg", hs, ws)) | ||
]) | ||
]), | ||
i("button", { | ||
class: "button-slide button-slide-right", | ||
onClick: N | ||
}, [ | ||
i("span", null, [ | ||
(e(), n("svg", $s, xs)) | ||
]) | ||
]) | ||
], 32)); | ||
} | ||
}; | ||
export { | ||
qs as JBadge, | ||
is as JBanner, | ||
R as JButton, | ||
Is as JCard, | ||
Js as JCardSceleton, | ||
Jl as JBadge, | ||
il as JBanner, | ||
D as JButton, | ||
Il as JCard, | ||
ql as JCardSceleton, | ||
yt as JCol, | ||
Ts as JFooter, | ||
Tl as JFooter, | ||
ct as JFooterImage, | ||
et as JFooterLabel, | ||
rt as JFooterMenu, | ||
Os as JFooterSceleton, | ||
Bl as JFooterSceleton, | ||
Nt as JHeader, | ||
Qt as JHeaderSceleton, | ||
K as JImage, | ||
Ms as JImageSceleton, | ||
Ml as JImageSceleton, | ||
vt as JRow, | ||
Bs as JSlider, | ||
ms as JUserEngagements, | ||
js as MInput, | ||
Ls as VButton | ||
Ol as JSlider, | ||
xl as JUserEngagements, | ||
jl as MInput, | ||
Ll as VButton | ||
}; |
@@ -1,1 +0,1 @@ | ||
(function(f,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(f=typeof globalThis<"u"?globalThis:f||self,e(f.MyLib={},f.Vue))})(this,function(f,e){"use strict";const Tn="",h=(t,a)=>{const n=t.__vccOpts||t;for(const[l,o]of a)n[l]=o;return n},F={};function A(t,a){return e.openBlock(),e.createElementBlock("button",e.normalizeProps(e.guardReactiveProps(t.$attrs)),[e.renderSlot(t.$slots,"default")],16)}const R=h(F,[["render",A]]),K={};function Z(t,a){return e.openBlock(),e.createElementBlock("input",e.mergeProps(t.$attrs,{type:"text","aria-label":"Filter projects"}),null,16)}const U=h(K,[["render",Z]]),Dn="",W=t=>(e.pushScopeId("data-v-dfc1ec80"),t=t(),e.popScopeId(),t),G={key:0,class:"relative max-w-[230px]"},Q={class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},X={class:"flex"},Y={class:"flex ml-auto absolute right-0"},v={key:0,class:"py-0.5 px-1 rounded text-white bg-black/50 mx-1"},ee=W(()=>e.createElementVNode("div",{class:"flex w-full mt-auto"},null,-1)),te={class:"flex"},ne={class:"flex ml-auto"},oe={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},le={key:0},re={key:1},ae={key:2},se=h(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCard",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},timeDuration:{type:String,required:!1,default:"03:11"},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const a=t,n=e.useAttrs(),l=e.computed(()=>n.order?`flex-${n.order}`:"flex-col"),{showAuthor:o,showViews:r,showDate:s}=e.toRefs(a),i=e.computed(()=>o.value||r.value||s.value);return(d,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},d.$attrs,{class:e.unref(l)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",Q,[e.createElementVNode("div",X,[e.renderSlot(d.$slots,"top_left",{},void 0,!0),e.createElementVNode("div",Y,[e.renderSlot(d.$slots,"top_right",{},void 0,!0),t.showTimeDuration?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(t.timeDuration),1)):e.createCommentVNode("",!0)])]),ee,e.createElementVNode("div",te,[e.renderSlot(d.$slots,"bottom_left",{class:"flex"},void 0,!0),e.createElementVNode("div",ne,[e.renderSlot(d.$slots,"bottom_right",{},void 0,!0)])])]),e.renderSlot(d.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(i)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.titleStyle)},e.toDisplayString(t.title),5)):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createElementBlock("div",oe,[e.unref(o)?(e.openBlock(),e.createElementBlock("span",le,e.toDisplayString(t.author),1)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(t.views),1)):e.createCommentVNode("",!0),e.unref(s)?(e.openBlock(),e.createElementBlock("span",ae,e.toDisplayString(t.date),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-dfc1ec80"]]),Pn="",ce=t=>(e.pushScopeId("data-v-b6261246"),t=t(),e.popScopeId(),t),ie={key:0,class:"relative"},de=ce(()=>e.createElementVNode("div",{class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},null,-1)),me={key:0,class:"jcard-sceleton-title"},fe={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},pe={key:0},_e={key:1},ue={key:2},he=h(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCardSceleton",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const a=t,n=e.useAttrs(),l=e.computed(()=>n.order?`flex-${n.order}`:"flex-col"),{showAuthor:o,showViews:r,showDate:s}=e.toRefs(a),i=e.computed(()=>o.value||r.value||s.value);return(d,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},d.$attrs,{class:e.unref(l)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",ie,[de,e.renderSlot(d.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(i)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",me)):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createElementBlock("div",fe,[e.unref(o)?(e.openBlock(),e.createElementBlock("span",pe)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",_e)):e.createCommentVNode("",!0),e.unref(s)?(e.openBlock(),e.createElementBlock("span",ue)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-b6261246"]]),ge={};function ke(t,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps({class:"rounded py-0.5 px-1 flex items-center justify-center"},t.$attrs),[e.renderSlot(t.$slots,"default")],16)}const ye=h(ge,[["render",ke]]),Be=["src","alt"],x={__name:"JImage",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"},alt:{type:String,required:!0}},setup(t){return(a,n)=>(e.openBlock(),e.createElementBlock("img",e.mergeProps({src:t.imageSrc,alt:t.alt,class:"w-full"},a.$attrs),null,16,Be))}},Rn="",Ee=h({__name:"JImageSceleton",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(a,n)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({src:"",class:"jimage-sceleton w-full"},a.$attrs),null,16))}},[["__scopeId","data-v-4e30e0b0"]]),we={__name:"JFooter",props:{children:{type:Array,required:!0,default:[]}},setup(t){function a(n){return n==="label"?e.markRaw(V):n==="menu"?e.markRaw(N):e.markRaw(j)}return(n,l)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(n.$attrs,{class:"j-footer w-full flex flex-wrap gap-4"}),[e.renderSlot(n.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,o=>(e.openBlock(),e.createBlock(e.unref(L),{key:o.id,"x-alignment":o.props.xAlignment,"y-alignment":o.props.yAlignment},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.children,r=>(e.openBlock(),e.createBlock(e.unref(J),{key:r.id,columns:r.props.columns},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.children,s=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(s.type)),{key:s.id,data:s.props,style:e.normalizeStyle(s.style)},null,8,["data","style"]))),128))]),_:2},1032,["columns"]))),128))]),_:2},1032,["x-alignment","y-alignment"]))),128))])],16))}},V={__name:"JFooterLabel",props:{data:{type:Object,default:{text:{type:String,default:""}}}},setup(t){const a=t,{text:n}=a.data;return(l,o)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(l.$attrs,{class:"p-4"}),e.toDisplayString(e.unref(n)),17))}},Zn="",be={class:"menu-item pr-3"},Ce=["href"],xe={key:2},$e={__name:"JFooterMenuItem",props:{menu:{type:Array,required:!1,default:[]},orientation:{type:String,default:"vertical"}},setup(t){const a=t,{menu:n,orientation:l}=a;return(o,r)=>{const s=e.resolveComponent("RouterLink"),i=e.resolveComponent("JFooterMenuItem",!0);return e.openBlock(),e.createElementBlock("ol",{class:e.normalizeClass(["flex flex-wrap gap-4 text-sm px-3",e.unref(l)==="horizontal"?"flex-row":"flex-col"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),d=>(e.openBlock(),e.createElementBlock("li",be,[d.itemTypeId===1?(e.openBlock(),e.createBlock(s,{key:0,to:d.url,class:"cursor-pointer item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.navigationLabel),1)]),_:2},1032,["to"])):d.itemTypeId===2?(e.openBlock(),e.createElementBlock("a",{key:1,target:"_blank",href:d.url,class:"cursor-pointer item"},e.toDisplayString(d.navigationLabel),9,Ce)):(e.openBlock(),e.createElementBlock("div",xe,e.toDisplayString(d.navigationLabel),1)),d.childItems?(e.openBlock(),e.createBlock(i,{key:3,menu:d.childItems,orientation:e.unref(l)},null,8,["menu","orientation"])):e.createCommentVNode("",!0)]))),256))],2)}}},Un="",Se={key:0,class:"mb-6"},N=h({__name:"JFooterMenu",props:{data:{type:Object,default:{title:{type:String,default:""},menu:{type:Array,default:[]},orientation:{type:String,default:"vertical"}}}},setup(t){const a=t,{title:n,menu:l,orientation:o}=a.data;return(r,s)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(r.$attrs,{class:"p-4 j-footer-menu"}),[e.unref(n)?(e.openBlock(),e.createElementBlock("div",Se,[e.createElementVNode("h5",null,e.toDisplayString(e.unref(n)),1)])):e.createCommentVNode("",!0),e.createVNode($e,{menu:e.unref(l).items,orientation:e.unref(o)},null,8,["menu","orientation"])],16))}},[["__scopeId","data-v-b1508e83"]]),Ve={class:"j-footer"},Ne=["href"],j={__name:"JFooterImage",props:{data:{type:Object,default:{image:{type:String,default:""}}}},setup(t){const a=t,{image:n,altText:l,clickable:o,link:r,title:s}=e.toRefs(a.data);return(i,d)=>(e.openBlock(),e.createElementBlock("div",Ve,[e.createTextVNode(e.toDisplayString(e.unref(s))+" ",1),e.unref(o)?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cursor-pointer",target:"_blank",href:`https://${e.unref(r)}`},[e.createVNode(e.unref(x),{"image-src":e.unref(n),alt:e.unref(l)},null,8,["image-src","alt"])],8,Ne)):(e.openBlock(),e.createBlock(e.unref(x),{key:1,"image-src":e.unref(n),alt:e.unref(l)},null,8,["image-src","alt"]))]))}},Gn="",je={},Le={class:"j-footer-sceleton w-full"},Je=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"}),e.createElementVNode("div",{class:"content"},[e.createElementVNode("h2"),e.createElementVNode("p")])],-1)];function ze(t,a){return e.openBlock(),e.createElementBlock("div",Le,Je)}const Ie=h(je,[["render",ze]]),L={__name:"JRow",props:{alignment:{type:Object,default:{horizontal:null,vertical:null}},xAlignment:{type:[String,null],default:null},yAlignment:{type:[String,null],default:null},isContainer:{type:Boolean,required:!1,default:!1}},setup(t){const a=t,n={left:"justify-start",right:"justify-end",center:"justify-center"},l={top:"items-start",bottom:"items-end",center:"items-center"},o=e.computed(()=>{const{xAlignment:r,yAlignment:s}=a;return`${r?n[r]:""}${s?" "+l[s]:""}`});return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-row w-full relative flex flex-wrap",[e.unref(o),t.isContainer?"container mx-auto":null]])},[e.renderSlot(r.$slots,"default")],2))}},J={__name:"JCol",props:{columns:{type:[String,Number],default:null}},setup(t){const a={1:"basis-1/12",2:"basis-2/12",3:"basis-3/12",4:"basis-4/12",5:"basis-5/12",6:"basis-6/12",7:"basis-7/12",8:"basis-8/12",9:"basis-9/12",10:"basis-10/12",11:"basis-11/12",12:"basis-full"};return(n,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-column flex flex-col",a[t.columns]])},[e.renderSlot(n.$slots,"default")],2))}},Me=(t,a)=>{const n=t[a];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((l,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+a)))})},z={__name:"JHeaderActions",props:{settings:{type:Object,required:!0},actions:{type:Array,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:a}){const n={language:"Language",notifications:"Notifications",profile:"Profile",search:"Search"};function l(r){return e.defineAsyncComponent(()=>Me(Object.assign({"./JHeader.vue":()=>Promise.resolve().then(()=>lt),"./JHeaderLanguage.vue":()=>Promise.resolve().then(()=>Pt),"./JHeaderLogo.vue":()=>Promise.resolve().then(()=>Ye),"./JHeaderMenu.vue":()=>Promise.resolve().then(()=>tt),"./JHeaderMenuItems.vue":()=>Promise.resolve().then(()=>Ge),"./JHeaderNotifications.vue":()=>Promise.resolve().then(()=>tn),"./JHeaderProfile.vue":()=>Promise.resolve().then(()=>_n),"./JHeaderSceleton.vue":()=>Promise.resolve().then(()=>it),"./JHeaderSearch.vue":()=>Promise.resolve().then(()=>Nn),"./JHeaderSubMenuItem.vue":()=>Promise.resolve().then(()=>Ke)}),`./JHeader${n[r]}.vue`))}function o(r){a("customEvent",r)}return(r,s)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,i=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l(i)),{key:`action-${i}`,style:e.normalizeStyle(t.iconsStyle),onCustomEvent:o,icon:t.iconsStyle?{...t.settings[i].iconSettings,size:t.iconsStyle.size}:t.settings[i].iconSettings},null,40,["style","icon"]))),128))]))}},Xn="",qe={class:"j-submenu-wrapper submenu-parent"},Te={class:"menu-wrapper"},De=["value","onKeydown"],Oe={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 8 6",fill:"none"},He=["fill"],Pe={key:0,class:"row-menu-item p-3"},Fe={class:"j-language-item flex items-center text-sm font-medium cursor-pointer whitespace-pre p-3 row-menu-item",value:"1"},Ae=["href"],Re={key:3,class:"p-3 row-menu-item"},I={__name:"JHeaderSubMenuItem",props:{label:{type:String,default:{color:"#FFF",size:"18",name:""}},childItems:{type:Array,required:!1,default:"RouterLink"},firstLevel:{type:Boolean,required:!1,default:!1},parentLevel:{type:[Number],required:!1,default:"none"}},setup(t){const a=t,{parentLevel:n,firstLevel:l}=e.toRefs(a),o=e.ref(!1),r=c=>{o.value?i():s()},s=c=>{o.value=!0},i=()=>{o.value=!1},d=(c,m,g)=>{if(m.relatedTarget&&document.querySelector(`.menu-level-${m.relatedTarget.value}`)!==document.querySelector(`.menu-level-${c}`)&&e.nextTick(()=>{document.querySelector(`.menu-level-${c}`).focus(),document.querySelector(`.menu-level-${c}`).blur()}),!g&&!m.relatedTarget){document.querySelector(`.menu-level-${c}`).focus(),document.querySelector(`.menu-level-${c}`).blur();return}(!m.relatedTarget||!m.relatedTarget.classList.contains("menu-related"))&&i()};return(c,m)=>{const g=e.resolveComponent("RouterLink"),u=e.resolveComponent("JHeaderSubMenuItem",!0);return e.openBlock(),e.createElementBlock("div",qe,[e.createElementVNode("div",Te,[e.createElementVNode("button",{class:e.normalizeClass(["icon menu-btn icon-holder flex items-center justify-between menu-related",[e.unref(l)?null:"p-3 level-hover",`menu-level-${e.unref(n)}`]]),value:e.unref(n),onKeydown:e.withKeys(i,["esc"]),onBlur:m[0]||(m[0]=p=>d(e.unref(n),p,e.unref(l))),onClick:m[1]||(m[1]=p=>r(e.unref(n)))},[e.createTextVNode(e.toDisplayString(t.label)+" ",1),e.createElementVNode("span",{class:e.normalizeClass(["dropdown-icon ml-3",o.value?e.unref(l)?"active":"half-active":null])},[(e.openBlock(),e.createElementBlock("svg",Oe,[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.46967 4.80895C0.762563 5.08789 1.23744 5.08789 1.53033 4.80895L4 2.45688L6.46967 4.80895C6.76256 5.08789 7.23744 5.08789 7.53033 4.80895C7.82322 4.53 7.82322 4.07774 7.53033 3.79879L4.88388 1.27837C4.39573 0.81346 3.60427 0.81346 3.11612 1.27837L0.46967 3.79879C0.176777 4.07774 0.176777 4.53 0.46967 4.80895Z",fill:e.unref(l)?"white":"#333"},null,8,He)]))],2)],42,De),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["j-submenu-dropdown-wrapper flex flex-col",e.unref(l)?null:"multilevel"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.childItems,p=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[p.childItems.length?(e.openBlock(),e.createBlock(u,{key:1,label:p.navigationLabel,childItems:p.childItems,"parent-level":e.unref(n)},null,8,["label","childItems","parent-level"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[p.itemTypeId===3?(e.openBlock(),e.createElementBlock("div",Pe,e.toDisplayString(p.navigationLabel),1)):p.itemTypeId===1?(e.openBlock(),e.createBlock(g,{key:1,to:p.url},{default:e.withCtx(()=>[e.createElementVNode("li",Fe,e.toDisplayString(p.navigationLabel),1)]),_:2},1032,["to"])):p.itemTypeId===2?(e.openBlock(),e.createElementBlock("a",{key:2,class:"cursor-pointer item p-3 row-menu-item",href:p.url,target:"_blank"},e.toDisplayString(p.navigationLabel),9,Ae)):p.itemTypeId===4?(e.openBlock(),e.createElementBlock("div",Re,e.toDisplayString(p.navigationLabel),1)):e.createCommentVNode("",!0)],64))],64))),256))],2)):e.createCommentVNode("",!0)]),_:1})])])}}},Ke=Object.freeze(Object.defineProperty({__proto__:null,default:I},Symbol.toStringTag,{value:"Module"})),Yn="",Ze=["href"],Ue={key:2},We={key:3},$=h({__name:"JHeaderMenuItems",props:{menuItems:{type:Array,required:!0}},setup(t){return e.ref(!1),(a,n)=>{const l=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock("ul",e.normalizeProps(e.guardReactiveProps(a.$attrs)),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.menuItems,(o,r)=>(e.openBlock(),e.createElementBlock("li",{key:"menu-item-"+o.id,class:e.normalizeClass(["menu-item","parent-level-"+r])},[o.childItems.length?(e.openBlock(),e.createBlock(I,{key:1,label:o.navigationLabel,childItems:o.childItems,firstLevel:"","parent-level":r},null,8,["label","childItems","parent-level"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.itemTypeId===1?(e.openBlock(),e.createBlock(l,{key:0,to:o.url},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.navigationLabel)+"-2 ",1)]),_:2},1032,["to"])):o.itemTypeId===2?(e.openBlock(),e.createElementBlock("a",{key:1,class:"cursor-pointer item",href:o.url,target:"_blank"},e.toDisplayString(o.navigationLabel)+"-2 ",9,Ze)):o.itemTypeId===3?(e.openBlock(),e.createElementBlock("div",Ue,e.toDisplayString(o.navigationLabel)+"-3 ",1)):o.itemTypeId===4?(e.openBlock(),e.createElementBlock("div",We,e.toDisplayString(o.navigationLabel)+"-4 ",1)):e.createCommentVNode("",!0)],64))],2))),128))],16)}}},[["__scopeId","data-v-1453c279"]]),Ge=Object.freeze(Object.defineProperty({__proto__:null,default:$},Symbol.toStringTag,{value:"Module"})),eo="",Qe={class:"logo flex"},Xe=["src"],M=h({__name:"JHeaderLogo",props:{imageSrc:{type:String,required:!0}},setup(t){return(a,n)=>{const l=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock("div",Qe,[e.createVNode(l,{class:"w-full m-auto pointer",to:"/"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:t.imageSrc,alt:"logo",class:""},null,8,Xe)]),_:1})])}}},[["__scopeId","data-v-447a9ef4"]]),Ye=Object.freeze(Object.defineProperty({__proto__:null,default:M},Symbol.toStringTag,{value:"Module"})),ve={style:{fill:"currentColor"},viewBox:"0,0,24,24",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg"},et=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.6 18.2a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 12a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 5.8a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6z"},null,-1)],q={__name:"JHeaderMenu",props:{isMobile:{type:Boolean,required:!0}},setup(t){return(a,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("a",null,[(e.openBlock(),e.createElementBlock("svg",ve,et))])]))}},tt=Object.freeze(Object.defineProperty({__proto__:null,default:q},Symbol.toStringTag,{value:"Module"})),nt={key:1,class:"flex-1"},ot={key:0,class:"flex-1"},T={__name:"JHeader",props:{menuItems:{type:Array,default:null},settings:{type:Object,required:!0},components:{type:Object,required:!0},breakpoint:{type:String,required:!0},menuStyle:{type:Object,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:a}){const n=t,{breakpoint:l,components:o,settings:r}=n,s=e.computed(()=>l==="mobile"),i=e.computed(()=>l==="desktop"),d=e.computed(()=>o.menu),c=e.computed(()=>o.logo),m=e.computed(()=>Object.entries(o).filter(([u,p])=>p&&u!=="logo"&&u!=="menu").map(u=>u[0]));function g(u){a("customEvent",u)}return(u,p)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(u.$attrs,{key:`header-${e.unref(l)}`,class:"j-header w-full relative z-10"}),[e.createElementVNode("nav",e.mergeProps({class:"w-full h-full flex container mx-auto gap-4 justify-between items-center py-2 px-2"},u.$attrs),[e.unref(c)?(e.openBlock(),e.createBlock(M,{key:0,"image-src":e.unref(r).logo.source},null,8,["image-src"])):e.createCommentVNode("",!0),e.unref(d)&&e.unref(i)?(e.openBlock(),e.createElementBlock("div",nt,[e.createVNode($,{class:"flex flex-row items-center gap-6 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"])])):e.createCommentVNode("",!0),e.unref(s)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(z,{key:2,class:"actions flex ml-auto gap-x-4",onCustomEvent:g,settings:e.unref(r),actions:e.unref(m),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])),e.unref(d)&&!e.unref(i)?(e.openBlock(),e.createBlock(q,{key:3,"is-mobile":e.unref(s)},null,8,["is-mobile"])):e.createCommentVNode("",!0)],16),e.unref(d)&&!e.unref(i)?(e.openBlock(),e.createElementBlock("div",ot,[e.createVNode($,{class:"flex flex-col gap-y-7 items-center py-10 px-2 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"]),e.unref(s)&&e.unref(m).length?(e.openBlock(),e.createBlock(z,{key:0,class:"actions py-10 border-t border-gray-500 flex justify-center ml-auto gap-x-4",settings:e.unref(r),actions:e.unref(m),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],16))}},lt=Object.freeze(Object.defineProperty({__proto__:null,default:T},Symbol.toStringTag,{value:"Module"})),oo="",rt={},at={class:"j-header-sceleton w-full"},st=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"})],-1)];function ct(t,a){return e.openBlock(),e.createElementBlock("div",at,st)}const D=h(rt,[["render",ct]]),it=Object.freeze(Object.defineProperty({__proto__:null,default:D},Symbol.toStringTag,{value:"Module"})),ro="",dt=["src","alt"],mt={class:"slider-content flex container mx-auto items-end py-10"},ft={class:"w-1/2 text-white mb-20"},pt={key:0,class:"j-title font-bold text-4xl pt-2 pl-2"},_t={key:1,class:"j-description text-lg pt-2 pl-2"},ut={key:2,class:"j-tag font-semibold text-base pt-2 pl-2"},ht={key:3,class:"p-3"},gt={key:4,class:"j-tag font-semibold text-base pl-2 d-flex items-center"},kt={class:"overlay-actions container mx-auto flex items-end mb-10"},O={__name:"JBanner",props:{data:{type:Object,required:!0},hasOverlay:{type:Boolean,required:!1,default:!1},customWrapper:{type:String,required:!1,default:"RouterLink"}},setup(t){const a=t,{data:n,customWrapper:l,hasOverlay:o}=e.toRefs(a);return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-banner",e.unref(o)?"overlay":null])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:e.unref(n).imgTo?e.unref(n).imgTo:"/not-set"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref(n).img,class:"j-banner-img",alt:e.unref(n).alt},null,8,dt),e.createElementVNode("div",mt,[e.createElementVNode("div",ft,[e.unref(n).title?(e.openBlock(),e.createElementBlock("h1",pt,e.toDisplayString(e.unref(n).title),1)):e.createCommentVNode("",!0),e.unref(n).description?(e.openBlock(),e.createElementBlock("p",_t,e.toDisplayString(e.unref(n).description),1)):e.createCommentVNode("",!0),e.unref(n).tags?(e.openBlock(),e.createElementBlock("h4",ut,e.toDisplayString(e.unref(n).tags)+". ",1)):e.createCommentVNode("",!0),e.unref(n).action?(e.openBlock(),e.createElementBlock("button",ht,e.toDisplayString(e.unref(n).action),1)):e.createCommentVNode("",!0),e.unref(n).text?(e.openBlock(),e.createElementBlock("h4",gt,[e.createTextVNode(" M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: "),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{class:"text-red-600",to:e.unref(n).textTo?e.unref(n).textTo:"/not-set"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).text),1)]),_:1},8,["to"]))])):e.createCommentVNode("",!0)])])]),_:1},8,["to"])),e.createElementVNode("div",kt,[e.renderSlot(r.$slots,"user-engagements")])],2))}},ao="",E={__name:"JButton",props:{variant:{type:String,required:!1,default:"primary"},active:{type:Boolean,required:!1,default:!1},full:{type:Boolean,required:!1,default:!1},circle:{type:Boolean,required:!1,default:!1},transparent:{type:Boolean,required:!1,default:!1},rounded:{type:Boolean,required:!1,default:!1}},emits:["customClickEvent"],setup(t,{emit:a}){const n=t,{variant:l,active:o,full:r,transparent:s,rounded:i}=e.toRefs(n);function d(c){a("customClickEvent",c)}return(c,m)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["j-button",[e.unref(l),{"j-is-rounded":e.unref(i),"j-is-loading":c.loading,"j-is-outlined":c.outlined,"j-is-fullwidth":e.unref(r),"j-is-circle":t.circle,"j-is-transparent":e.unref(s),"j-is-active":e.unref(o),"j-is-hovered":c.hovered,"j-is-selected":c.selected}]]),onClick:d},[e.renderSlot(c.$slots,"default")],2))}},so="",yt={class:"user-engagements flex mt-3"},Bt=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),Et=e.createElementVNode("p",{class:"ml-1"},"FAVORITE",-1),wt=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),bt=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),Ct=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),H={__name:"JUserEngagements",props:{subscribe:{type:Boolean,required:!1,default:!1},like:{type:Boolean,required:!1,default:!1},dislike:{type:Boolean,required:!1,default:!1},watchLater:{type:Boolean,required:!1,default:!1}},emits:["customClickEvent"],setup(t,{emit:a}){const n=t,{subscribe:l,like:o,dislike:r,watchLater:s}=e.toRefs(n),i=d=>{console.log("onUserEngagementClick",d),a("customClickEvent",d)};return(d,c)=>(e.openBlock(),e.createElementBlock("div",yt,[e.unref(l)?(e.openBlock(),e.createBlock(E,{key:0,"icon-name":"favorite",onClick:c[0]||(c[0]=m=>i("subscribe")),variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[Bt,Et]),_:1})):e.createCommentVNode("",!0),e.unref(s)?(e.openBlock(),e.createBlock(E,{key:1,onClick:c[1]||(c[1]=m=>i("watchLater")),"icon-name":"favorite",variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[wt]),_:1})):e.createCommentVNode("",!0),e.unref(o)?(e.openBlock(),e.createBlock(E,{key:2,onClick:c[2]||(c[2]=m=>i("like")),"icon-name":"favorite",variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[bt]),_:1})):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createBlock(E,{key:3,onClick:c[3]||(c[3]=m=>i("dislike")),"icon-name":"favorite",variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[Ct]),_:1})):e.createCommentVNode("",!0)]))}},co="",xt={key:0,class:"slider-tracker slider-tracker container mx-auto absolute left-0 right-0"},$t={class:"slider-indicators"},St=["onClick"],Vt={style:{fill:"#fff"},viewBox:"0,0,24,24",width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},Nt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.424 5.576a.6.6 0 010 .848L9.85 12l5.575 5.576a.6.6 0 01-.848.848L8.15 12l6.425-6.424a.6.6 0 01.848 0z"},null,-1)],jt={style:{fill:"#fff"},viewBox:"0,0,24,24",width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},Lt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.576 5.576a.6.6 0 000 .848L14.15 12l-5.575 5.576a.6.6 0 10.848.848L15.85 12 9.424 5.576a.6.6 0 00-.848 0z"},null,-1)],Jt={__name:"JSlider",props:{slides:{type:Array,required:!0},autoSlide:{type:Boolean,required:!1,default:!1},scrollInterval:{type:[Number,String],required:!1,default:!1},activeSlide:{type:Number,required:!1,default:0},animationTime:{type:String,required:!1,default:".6s"},showIndicators:{type:Boolean,required:!1,default:!0},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customClickEvent"],setup(t,{emit:a}){const n=t;e.useCssVars(_=>({"2cab1146":c.value}));const{slides:l,autoSlide:o,scrollInterval:r,showIndicators:s,customWrapper:i}=e.toRefs(n),d=e.ref(n.activeSlide),c=e.ref(n.animationTime),m=e.ref(P(l.value,d.value)),g=e.ref(null),u=e.ref(!1),p=e.ref(""),b=e.ref(!1),B=e.ref(null);function P(_,y){return(y%_.length+_.length)%_.length}const jn=e.computed(()=>l.value.map((_,y)=>(y===m.value?_.active=!0:_.active=!1,_)));function C(_,y=-1){u.value||(u.value=!0,p.value=_,y===-1?d.value+=_==="slide-left"?1:-1:d.value=y,m.value=P(l.value,d.value),_==="slide-right"?m.value+1===l.value.length?g.value="flex-row-reverse":g.value="justify-end":_==="slide-left"&&(m.value===0?g.value="flex-row-reverse justify-end":g.value=""))}const Ln=()=>C("slide-right"),S=()=>C("slide-left");function Jn(){u.value=!1}e.onMounted(()=>{!o.value||(B.value=setInterval(()=>{b.value||S()},r.value*1e3))}),e.onUnmounted(()=>{clearInterval(B.value)});function zn(_){_!==m.value&&(m.value<_?C("slide-left",_):C("slide-right",_))}const In=()=>{!o.value||(b.value=!0,clearInterval(B.value),B.value=null)},Mn=()=>{!o.value||(b.value=!1,!B.value&&(B.value=setInterval(()=>{b.value||S()},r.value*1e3)))},qn=_=>{console.log("JSLIDER------->customClickEvent",_),a("customClickEvent",_)};return(_,y)=>(e.openBlock(),e.createElementBlock("div",{class:"j-slider",onMouseover:In,onMouseleave:Mn},[e.createVNode(e.TransitionGroup,{name:"slide",onAfterEnter:Jn,tag:"div",class:e.normalizeClass(["j-slider-wrapper",[p.value,g.value]])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(jn),(k,w)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:w,class:"slide-page"},[e.createVNode(O,{data:k,"has-overlay":!0},{"user-engagements":e.withCtx(()=>[k.userEngagements?(e.openBlock(),e.createBlock(H,{key:0,subscribe:k.userEngagements.subscribe,like:k.userEngagements.like,dislike:k.userEngagements.dislike,watchLater:k.userEngagements.watchLater,onCustomClickEvent:qn},null,8,["subscribe","like","dislike","watchLater"])):e.createCommentVNode("",!0)]),_:2},1032,["data"])])),[[e.vShow,k.active]])),128))]),_:1},8,["class"]),e.unref(s)?(e.openBlock(),e.createElementBlock("div",xt,[e.createElementVNode("ol",$t,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(k,w)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["slide-indicator",m.value===w?"active":null]),onClick:Eo=>zn(w),key:w},null,10,St))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"button-slide button-slide-left",onClick:Ln},[e.createElementVNode("span",null,[(e.openBlock(),e.createElementBlock("svg",Vt,Nt))])]),e.createElementVNode("button",{class:"button-slide button-slide-right",onClick:S},[e.createElementVNode("span",null,[(e.openBlock(),e.createElementBlock("svg",jt,Lt))])])],32))}},zt={class:"j-language flex"},It=["onKeydown"],Mt=["width","height"],qt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.383 12.505l.199-.199a14.88 14.88 0 003.147-5.541l.054-.176h1.85a.616.616 0 100-1.232h-5.43V4.244a.614.614 0 10-1.228 0v1.113H3.54a.61.61 0 100 1.219h9.14l-.116.332a13.892 13.892 0 01-2.788 4.714l-.186.207-.186-.207a13.905 13.905 0 01-1.796-2.506.581.581 0 00-.503-.304c-.409 0-.646.41-.466.735a15.082 15.082 0 001.988 2.786l.16.177-3.945 3.898a.612.612 0 10.862.868L9.59 13.39l1.926 1.926a.602.602 0 10.848-.854l-1.98-1.957zM14.706 17.812h4.448l.836 2.228a.559.559 0 101.046-.392l-3.173-8.463a.996.996 0 00-1.866 0l-3.173 8.463a.559.559 0 101.046.392l.836-2.228zm.46-1.228l1.764-4.706 1.764 4.706h-3.528z"},null,-1)],Tt={key:0,class:"j-language-dropdown-wrapper"},Dt=e.createElementVNode("span",null,null,-1),Ot=e.createElementVNode("span",null,null,-1),Ht=e.createElementVNode("span",null,null,-1),Pt=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderLanguage",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:a}){const n=e.ref(!1),l=()=>{n.value=!n.value},o=()=>{n.value=!1};function r(s){a("customEvent",{type:"search-option-click",event:s})}return(s,i)=>(e.openBlock(),e.createElementBlock("div",zt,[e.createElementVNode("div",{class:e.normalizeClass(["language-wrapper",n.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(o,["esc"]),onBlur:o,onClick:l},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},qt,8,Mt))],40,It),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",Tt,[e.createElementVNode("li",{class:"j-language-item flex items-center text-xs font-normal cursor-pointer",onClick:r,value:"1"},[Dt,e.createTextVNode(" English ")]),e.createElementVNode("li",{class:"j-language-item flex items-center text-xs font-normal cursor-pointer",onClick:r,value:"2"},[Ot,e.createTextVNode(" Shqip ")]),e.createElementVNode("li",{class:"j-language-item flex items-center text-xs font-normal cursor-pointer",onClick:r,value:"3"},[Ht,e.createTextVNode(" Czech ")])])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),Ft={class:"j-notification flex"},At=["onKeydown"],Rt=["width","height"],Kt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.867 5.6a3.587 3.587 0 00-3.584 3.455l-.083 2.24a7.885 7.885 0 01-1.926 4.862c1.267.104 3.391.243 5.726.243 2.334 0 4.397-.139 5.617-.243a8.509 8.509 0 01-1.944-4.677l-.233-2.612A3.587 3.587 0 0011.867 5.6zM7.083 9.01a4.787 4.787 0 019.552-.249l.233 2.613a7.312 7.312 0 001.812 4.179c.558.629.22 1.694-.69 1.776A68.766 68.766 0 0112 17.6c-2.61 0-4.957-.17-6.176-.277-.89-.078-1.224-1.133-.65-1.74a6.688 6.688 0 001.827-4.332l.082-2.24zM14.6 19a.6.6 0 01-.6.6h-4a.6.6 0 110-1.2h4a.6.6 0 01.6.6z"},null,-1)],Zt={key:0,class:"notification-suggestion-wrapper"},Ut=e.createElementVNode("div",{class:"notification-wrapper-title flex mb-1 justify-between"},[e.createElementVNode("div",{class:"title-name font-semibold text-sm"}," Notification "),e.createElementVNode("div",{class:"title-action font-normal text-xs pointer"}," Mark all as read ")],-1),Wt=["value"],Gt={class:"flex m-0"},Qt={class:"suggestion-img-holder new"},Xt=["src"],Yt={class:"basis-full px-2"},vt={class:"notification-text text-left text-sm font-normal"},en={class:"notification-date flex justify-start text-xs text-gray-600 leading-4"},tn=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderNotifications",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:a}){const n=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],l=e.ref(!1),o=()=>{l.value=!l.value},r=()=>{l.value=!1};function s(i){a("customEvent",{type:"search-option-click",event:i})}return(i,d)=>(e.openBlock(),e.createElementBlock("div",Ft,[e.createElementVNode("div",{class:e.normalizeClass(["notification-wrapper",l.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(r,["esc"]),onBlur:r,onClick:o},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},Kt,8,Rt))],40,At),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",Zt,[Ut,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(n,c=>e.createElementVNode("li",{class:"notification-list-item mb-3 leading-4",onClick:s,value:c.source},[e.createElementVNode("div",Gt,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:c.source},{default:e.withCtx(()=>[e.createElementVNode("div",Qt,[e.createElementVNode("img",{src:c.img},null,8,Xt)]),e.createElementVNode("div",Yt,[e.createElementVNode("div",null,[e.createElementVNode("h5",vt,e.toDisplayString(c.text),1),e.createElementVNode("p",en,e.toDisplayString(c.date),1)])])]),_:2},1032,["to"]))])],8,Wt)),64))])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),nn={class:"j-profile flex"},on=["onKeydown"],ln=["width","height"],rn=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 4.6c-1.848 0-3.3 1.427-3.3 3.133s1.452 3.133 3.3 3.133c1.848 0 3.3-1.427 3.3-3.133S13.848 4.6 12 4.6zM7.5 7.733C7.5 5.315 9.54 3.4 12 3.4s4.5 1.915 4.5 4.333-2.04 4.333-4.5 4.333-4.5-1.915-4.5-4.333zm1.9 6.999c-1.847 0-3.3 1.427-3.3 3.135V18a1.4 1.4 0 001.4 1.4h9a1.4 1.4 0 001.4-1.4v-.133c0-1.708-1.453-3.135-3.3-3.135H9.4zm-4.5 3.135c0-2.419 2.04-4.335 4.5-4.335h5.2c2.46 0 4.5 1.916 4.5 4.335V18a2.6 2.6 0 01-2.6 2.6h-9A2.6 2.6 0 014.9 18v-.133z"},null,-1)],an={key:0,class:"j-profile-dropdown-wrapper"},sn=e.createElementVNode("div",{class:"profile-details flex items-center"},[e.createElementVNode("span",{class:"profile-image"}),e.createElementVNode("h1",{class:"text-sm text-medium truncate"},"Mendim's Account dsadadadasda")],-1),cn=e.createElementVNode("span",null,null,-1),dn=e.createElementVNode("span",null,null,-1),mn=e.createElementVNode("span",null,null,-1),fn=e.createElementVNode("span",null,null,-1),pn=e.createElementVNode("span",null,null,-1),_n=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderProfile",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:a}){const n=e.ref(!1),l=()=>{n.value=!n.value},o=()=>{n.value=!1};function r(s){a("customEvent",{type:"search-option-click",event:s})}return(s,i)=>(e.openBlock(),e.createElementBlock("div",nn,[e.createElementVNode("div",{class:e.normalizeClass(["profile-wrapper",n.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(o,["esc"]),onBlur:o,onClick:l},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},rn,8,ln))],40,on),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",an,[sn,e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"1"},[cn,e.createTextVNode(" Saved videos ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"2"},[dn,e.createTextVNode(" Subscriptions ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"3"},[mn,e.createTextVNode(" Billing History ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"4"},[fn,e.createTextVNode(" Help Center ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"5"},[pn,e.createTextVNode(" Sign out ")])])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),ko="",un={class:"j-search flex"},hn=["onKeydown"],gn={key:0,class:"search-suggestion-wrapper"},kn=e.createElementVNode("div",{class:"flex justify-start font-bold text-sm mb-1"}," Video ",-1),yn=["value"],Bn={class:"flex m-0"},En={class:"suggestion-img-holder"},wn=["src"],bn={class:"basis-full px-2"},Cn={class:"text-left text-xs font-semibold"},xn={class:"flex justify-start text-xs text-gray-600"},$n={class:"icon flex items-center justify-center"},Sn=["width","height"],Vn=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3911 15.4518C13.1902 16.4202 11.6628 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 11.6628 16.4202 13.1902 15.4518 14.3911L20.5303 19.4697C20.8232 19.7626 20.8232 20.2374 20.5303 20.5303C20.2374 20.8232 19.7626 20.8232 19.4697 20.5303L14.3911 15.4518ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"currentColor"},null,-1)],Nn=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderSearch",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:a}){const n=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],l=e.ref(null),o=()=>{l.value=!1};function r(i){l.value=!0,a("customEvent",{type:"search-input-change",event:i})}function s(i){a("customEvent",{type:"search-option-click",event:i})}return(i,d)=>(e.openBlock(),e.createElementBlock("div",un,[e.createElementVNode("div",{class:e.normalizeClass(["search-input",l.value?"active":null])},[e.createElementVNode("input",{type:"text",onInput:r,onKeydown:e.withKeys(o,["esc"]),onBlur:o,placeholder:"Search video or show"},null,40,hn),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",gn,[kn,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(n,c=>e.createElementVNode("li",{class:"mb-3",onClick:s,value:c.source},[e.createElementVNode("div",Bn,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:c.source},{default:e.withCtx(()=>[e.createElementVNode("div",En,[e.createElementVNode("img",{src:c.img},null,8,wn)]),e.createElementVNode("div",bn,[e.createElementVNode("div",null,[e.createElementVNode("h5",Cn,e.toDisplayString(c.text),1),e.createElementVNode("p",xn,e.toDisplayString(c.date),1)])])]),_:2},1032,["to"]))])],8,yn)),64))])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",$n,[(e.openBlock(),e.createElementBlock("svg",{width:t.icon.size,height:t.icon.size,viewBox:"0 0 24 24",fill:"none"},Vn,8,Sn))])],2)]))}}},Symbol.toStringTag,{value:"Module"}));f.JBadge=ye,f.JBanner=O,f.JButton=E,f.JCard=se,f.JCardSceleton=he,f.JCol=J,f.JFooter=we,f.JFooterImage=j,f.JFooterLabel=V,f.JFooterMenu=N,f.JFooterSceleton=Ie,f.JHeader=T,f.JHeaderSceleton=D,f.JImage=x,f.JImageSceleton=Ee,f.JRow=L,f.JSlider=Jt,f.JUserEngagements=H,f.MInput=U,f.VButton=R,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); | ||
(function(f,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(f=typeof globalThis<"u"?globalThis:f||self,e(f.MyLib={},f.Vue))})(this,function(f,e){"use strict";const Tn="",h=(t,a)=>{const o=t.__vccOpts||t;for(const[n,l]of a)o[n]=l;return o},F={};function A(t,a){return e.openBlock(),e.createElementBlock("button",e.normalizeProps(e.guardReactiveProps(t.$attrs)),[e.renderSlot(t.$slots,"default")],16)}const R=h(F,[["render",A]]),K={};function Z(t,a){return e.openBlock(),e.createElementBlock("input",e.mergeProps(t.$attrs,{type:"text","aria-label":"Filter projects"}),null,16)}const U=h(K,[["render",Z]]),Dn="",W=t=>(e.pushScopeId("data-v-dfc1ec80"),t=t(),e.popScopeId(),t),G={key:0,class:"relative max-w-[230px]"},Q={class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},X={class:"flex"},Y={class:"flex ml-auto absolute right-0"},v={key:0,class:"py-0.5 px-1 rounded text-white bg-black/50 mx-1"},ee=W(()=>e.createElementVNode("div",{class:"flex w-full mt-auto"},null,-1)),te={class:"flex"},ne={class:"flex ml-auto"},oe={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},le={key:0},re={key:1},ae={key:2},se=h(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCard",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},timeDuration:{type:String,required:!1,default:"03:11"},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const a=t,o=e.useAttrs(),n=e.computed(()=>o.order?`flex-${o.order}`:"flex-col"),{showAuthor:l,showViews:r,showDate:s}=e.toRefs(a),c=e.computed(()=>l.value||r.value||s.value);return(i,d)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},i.$attrs,{class:e.unref(n)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",Q,[e.createElementVNode("div",X,[e.renderSlot(i.$slots,"top_left",{},void 0,!0),e.createElementVNode("div",Y,[e.renderSlot(i.$slots,"top_right",{},void 0,!0),t.showTimeDuration?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(t.timeDuration),1)):e.createCommentVNode("",!0)])]),ee,e.createElementVNode("div",te,[e.renderSlot(i.$slots,"bottom_left",{class:"flex"},void 0,!0),e.createElementVNode("div",ne,[e.renderSlot(i.$slots,"bottom_right",{},void 0,!0)])])]),e.renderSlot(i.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(c)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.titleStyle)},e.toDisplayString(t.title),5)):e.createCommentVNode("",!0),e.unref(c)?(e.openBlock(),e.createElementBlock("div",oe,[e.unref(l)?(e.openBlock(),e.createElementBlock("span",le,e.toDisplayString(t.author),1)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(t.views),1)):e.createCommentVNode("",!0),e.unref(s)?(e.openBlock(),e.createElementBlock("span",ae,e.toDisplayString(t.date),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-dfc1ec80"]]),Pn="",ce=t=>(e.pushScopeId("data-v-b6261246"),t=t(),e.popScopeId(),t),ie={key:0,class:"relative"},de=ce(()=>e.createElementVNode("div",{class:"absolute z-1 top-0 left-0 flex flex-col w-full h-full p-2"},null,-1)),me={key:0,class:"jcard-sceleton-title"},fe={key:1,class:"pt-3 flex gap-5 text-xs text-cyan infobox"},pe={key:0},_e={key:1},ue={key:2},he=h(Object.assign({inheritAttrs:!1,customOptions:{}},{__name:"JCardSceleton",props:{titleStyle:{type:Object,required:!1},showTitle:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Zm\u011Bny v programu dopravy vzork\u016F z Marsu"},showAuthor:{type:Boolean,required:!1,default:!1},author:{type:String,required:!1,default:"Mendim Arifaj"},showViews:{type:Boolean,required:!1,default:!1},views:{type:String,required:!1,default:"100K views"},showDate:{type:Boolean,required:!1,default:!1},date:{type:String,required:!1,default:"28/02/1996"},showTimeDuration:{type:Boolean,required:!1,default:!1},showThumbnail:{type:Boolean,required:!1,default:!1},detailsStyle:{type:Object,required:!1}},setup(t){const a=t,o=e.useAttrs(),n=e.computed(()=>o.order?`flex-${o.order}`:"flex-col"),{showAuthor:l,showViews:r,showDate:s}=e.toRefs(a),c=e.computed(()=>l.value||r.value||s.value);return(i,d)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"jcard-sceleton inline-flex gap-3 border border-dashed border-gray-600 rounded p-4 w-full"},i.$attrs,{class:e.unref(n)}),[t.showThumbnail?(e.openBlock(),e.createElementBlock("div",ie,[de,e.renderSlot(i.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),e.unref(c)||t.showTitle?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(t.detailsStyle),class:"p-1 box-border"},[t.showTitle?(e.openBlock(),e.createElementBlock("div",me)):e.createCommentVNode("",!0),e.unref(c)?(e.openBlock(),e.createElementBlock("div",fe,[e.unref(l)?(e.openBlock(),e.createElementBlock("span",pe)):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("span",_e)):e.createCommentVNode("",!0),e.unref(s)?(e.openBlock(),e.createElementBlock("span",ue)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],16))}}),[["__scopeId","data-v-b6261246"]]),ke={};function ge(t,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps({class:"rounded py-0.5 px-1 flex items-center justify-center"},t.$attrs),[e.renderSlot(t.$slots,"default")],16)}const ye=h(ke,[["render",ge]]),Be=["src","alt"],x={__name:"JImage",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"},alt:{type:String,required:!0}},setup(t){return(a,o)=>(e.openBlock(),e.createElementBlock("img",e.mergeProps({src:t.imageSrc,alt:t.alt,class:"w-full"},a.$attrs),null,16,Be))}},Rn="",Ee=h({__name:"JImageSceleton",props:{imageSrc:{type:String,required:!1,default:"https://ub1doy938d.gjirafa.net/media/zxgzzz/thumbnails/standart.jpg"}},setup(t){return(a,o)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({src:"",class:"jimage-sceleton w-full"},a.$attrs),null,16))}},[["__scopeId","data-v-4e30e0b0"]]),we={__name:"JFooter",props:{children:{type:Array,required:!0,default:[]}},setup(t){function a(o){return o==="label"?e.markRaw(V):o==="menu"?e.markRaw(N):e.markRaw(j)}return(o,n)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(o.$attrs,{class:"j-footer w-full flex flex-wrap gap-4"}),[e.renderSlot(o.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,l=>(e.openBlock(),e.createBlock(e.unref(L),{key:l.id,"x-alignment":l.props.xAlignment,"y-alignment":l.props.yAlignment},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.children,r=>(e.openBlock(),e.createBlock(e.unref(J),{key:r.id,columns:r.props.columns},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.children,s=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(s.type)),{key:s.id,data:s.props,style:e.normalizeStyle(s.style)},null,8,["data","style"]))),128))]),_:2},1032,["columns"]))),128))]),_:2},1032,["x-alignment","y-alignment"]))),128))])],16))}},V={__name:"JFooterLabel",props:{data:{type:Object,default:{text:{type:String,default:""}}}},setup(t){const a=t,{text:o}=a.data;return(n,l)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(n.$attrs,{class:"p-4"}),e.toDisplayString(e.unref(o)),17))}},Zn="",Ce={class:"menu-item pr-3"},xe=["href"],be={key:2},$e={__name:"JFooterMenuItem",props:{menu:{type:Array,required:!1,default:[]},orientation:{type:String,default:"vertical"}},setup(t){const a=t,{menu:o,orientation:n}=a;return(l,r)=>{const s=e.resolveComponent("RouterLink"),c=e.resolveComponent("JFooterMenuItem",!0);return e.openBlock(),e.createElementBlock("ol",{class:e.normalizeClass(["flex flex-wrap gap-4 text-sm px-3",e.unref(n)==="horizontal"?"flex-row":"flex-col"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),i=>(e.openBlock(),e.createElementBlock("li",Ce,[i.itemTypeId===1?(e.openBlock(),e.createBlock(s,{key:0,to:i.url,class:"cursor-pointer item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.navigationLabel),1)]),_:2},1032,["to"])):i.itemTypeId===2?(e.openBlock(),e.createElementBlock("a",{key:1,target:"_blank",href:i.url,class:"cursor-pointer item"},e.toDisplayString(i.navigationLabel),9,xe)):(e.openBlock(),e.createElementBlock("div",be,e.toDisplayString(i.navigationLabel),1)),i.childItems?(e.openBlock(),e.createBlock(c,{key:3,menu:i.childItems,orientation:e.unref(n)},null,8,["menu","orientation"])):e.createCommentVNode("",!0)]))),256))],2)}}},Un="",Se={key:0,class:"mb-6"},N=h({__name:"JFooterMenu",props:{data:{type:Object,default:{title:{type:String,default:""},menu:{type:Array,default:[]},orientation:{type:String,default:"vertical"}}}},setup(t){const a=t,{title:o,menu:n,orientation:l}=a.data;return(r,s)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(r.$attrs,{class:"p-4 j-footer-menu"}),[e.unref(o)?(e.openBlock(),e.createElementBlock("div",Se,[e.createElementVNode("h5",null,e.toDisplayString(e.unref(o)),1)])):e.createCommentVNode("",!0),e.createVNode($e,{menu:e.unref(n).items,orientation:e.unref(l)},null,8,["menu","orientation"])],16))}},[["__scopeId","data-v-b1508e83"]]),Ve={class:"j-footer"},Ne=["href"],j={__name:"JFooterImage",props:{data:{type:Object,default:{image:{type:String,default:""}}}},setup(t){const a=t,{image:o,altText:n,clickable:l,link:r,title:s}=e.toRefs(a.data);return(c,i)=>(e.openBlock(),e.createElementBlock("div",Ve,[e.createTextVNode(e.toDisplayString(e.unref(s))+" ",1),e.unref(l)?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cursor-pointer",target:"_blank",href:`https://${e.unref(r)}`},[e.createVNode(e.unref(x),{"image-src":e.unref(o),alt:e.unref(n)},null,8,["image-src","alt"])],8,Ne)):(e.openBlock(),e.createBlock(e.unref(x),{key:1,"image-src":e.unref(o),alt:e.unref(n)},null,8,["image-src","alt"]))]))}},Gn="",je={},Le={class:"j-footer-sceleton w-full"},Je=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"}),e.createElementVNode("div",{class:"content"},[e.createElementVNode("h2"),e.createElementVNode("p")])],-1)];function ze(t,a){return e.openBlock(),e.createElementBlock("div",Le,Je)}const Ie=h(je,[["render",ze]]),L={__name:"JRow",props:{alignment:{type:Object,default:{horizontal:null,vertical:null}},xAlignment:{type:[String,null],default:null},yAlignment:{type:[String,null],default:null},isContainer:{type:Boolean,required:!1,default:!1}},setup(t){const a=t,o={left:"justify-start",right:"justify-end",center:"justify-center"},n={top:"items-start",bottom:"items-end",center:"items-center"},l=e.computed(()=>{const{xAlignment:r,yAlignment:s}=a;return`${r?o[r]:""}${s?" "+n[s]:""}`});return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-row w-full relative flex flex-wrap",[e.unref(l),t.isContainer?"container mx-auto":null]])},[e.renderSlot(r.$slots,"default")],2))}},J={__name:"JCol",props:{columns:{type:[String,Number],default:null}},setup(t){const a={1:"basis-1/12",2:"basis-2/12",3:"basis-3/12",4:"basis-4/12",5:"basis-5/12",6:"basis-6/12",7:"basis-7/12",8:"basis-8/12",9:"basis-9/12",10:"basis-10/12",11:"basis-11/12",12:"basis-full"};return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-column flex flex-col",a[t.columns]])},[e.renderSlot(o.$slots,"default")],2))}},Me=(t,a)=>{const o=t[a];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((n,l)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(l.bind(null,new Error("Unknown variable dynamic import: "+a)))})},z={__name:"JHeaderActions",props:{settings:{type:Object,required:!0},actions:{type:Array,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:a}){const o={language:"Language",notifications:"Notifications",profile:"Profile",search:"Search"};function n(r){return e.defineAsyncComponent(()=>Me(Object.assign({"./JHeader.vue":()=>Promise.resolve().then(()=>lt),"./JHeaderLanguage.vue":()=>Promise.resolve().then(()=>Pt),"./JHeaderLogo.vue":()=>Promise.resolve().then(()=>Ye),"./JHeaderMenu.vue":()=>Promise.resolve().then(()=>tt),"./JHeaderMenuItems.vue":()=>Promise.resolve().then(()=>Ge),"./JHeaderNotifications.vue":()=>Promise.resolve().then(()=>tn),"./JHeaderProfile.vue":()=>Promise.resolve().then(()=>_n),"./JHeaderSceleton.vue":()=>Promise.resolve().then(()=>it),"./JHeaderSearch.vue":()=>Promise.resolve().then(()=>Nn),"./JHeaderSubMenuItem.vue":()=>Promise.resolve().then(()=>Ke)}),`./JHeader${o[r]}.vue`))}function l(r){a("customEvent",r)}return(r,s)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,c=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n(c)),{key:`action-${c}`,style:e.normalizeStyle(t.iconsStyle),onCustomEvent:l,icon:t.iconsStyle?{...t.settings[c].iconSettings,size:t.iconsStyle.size}:t.settings[c].iconSettings},null,40,["style","icon"]))),128))]))}},Xn="",qe={class:"j-submenu-wrapper submenu-parent"},Te={class:"menu-wrapper"},De=["value","onKeydown"],Oe={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 8 6",fill:"none"},He=["fill"],Pe={key:0,class:"row-menu-item p-3"},Fe={class:"j-language-item flex items-center text-sm font-medium cursor-pointer whitespace-pre p-3 row-menu-item",value:"1"},Ae=["href"],Re={key:3,class:"p-3 row-menu-item"},I={__name:"JHeaderSubMenuItem",props:{label:{type:String,default:{color:"#FFF",size:"18",name:""}},childItems:{type:Array,required:!1,default:"RouterLink"},firstLevel:{type:Boolean,required:!1,default:!1},parentLevel:{type:[Number],required:!1,default:"none"}},setup(t){const a=t,{parentLevel:o,firstLevel:n}=e.toRefs(a),l=e.ref(!1),r=d=>{l.value?c():s()},s=d=>{l.value=!0},c=()=>{l.value=!1},i=(d,m,k)=>{if(m.relatedTarget&&document.querySelector(`.menu-level-${m.relatedTarget.value}`)!==document.querySelector(`.menu-level-${d}`)&&e.nextTick(()=>{document.querySelector(`.menu-level-${d}`).focus(),document.querySelector(`.menu-level-${d}`).blur()}),!k&&!m.relatedTarget){document.querySelector(`.menu-level-${d}`).focus(),document.querySelector(`.menu-level-${d}`).blur();return}(!m.relatedTarget||!m.relatedTarget.classList.contains("menu-related"))&&c()};return(d,m)=>{const k=e.resolveComponent("RouterLink"),u=e.resolveComponent("JHeaderSubMenuItem",!0);return e.openBlock(),e.createElementBlock("div",qe,[e.createElementVNode("div",Te,[e.createElementVNode("button",{class:e.normalizeClass(["icon menu-btn icon-holder flex items-center justify-between menu-related",[e.unref(n)?null:"p-3 level-hover",`menu-level-${e.unref(o)}`]]),value:e.unref(o),onKeydown:e.withKeys(c,["esc"]),onBlur:m[0]||(m[0]=p=>i(e.unref(o),p,e.unref(n))),onClick:m[1]||(m[1]=p=>r(e.unref(o)))},[e.createTextVNode(e.toDisplayString(t.label)+" ",1),e.createElementVNode("span",{class:e.normalizeClass(["dropdown-icon ml-3",l.value?e.unref(n)?"active":"half-active":null])},[(e.openBlock(),e.createElementBlock("svg",Oe,[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.46967 4.80895C0.762563 5.08789 1.23744 5.08789 1.53033 4.80895L4 2.45688L6.46967 4.80895C6.76256 5.08789 7.23744 5.08789 7.53033 4.80895C7.82322 4.53 7.82322 4.07774 7.53033 3.79879L4.88388 1.27837C4.39573 0.81346 3.60427 0.81346 3.11612 1.27837L0.46967 3.79879C0.176777 4.07774 0.176777 4.53 0.46967 4.80895Z",fill:e.unref(n)?"white":"#333"},null,8,He)]))],2)],42,De),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["j-submenu-dropdown-wrapper flex flex-col",e.unref(n)?null:"multilevel"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.childItems,p=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[p.childItems.length?(e.openBlock(),e.createBlock(u,{key:1,label:p.navigationLabel,childItems:p.childItems,"parent-level":e.unref(o)},null,8,["label","childItems","parent-level"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[p.itemTypeId===3?(e.openBlock(),e.createElementBlock("div",Pe,e.toDisplayString(p.navigationLabel),1)):p.itemTypeId===1?(e.openBlock(),e.createBlock(k,{key:1,to:p.url},{default:e.withCtx(()=>[e.createElementVNode("li",Fe,e.toDisplayString(p.navigationLabel),1)]),_:2},1032,["to"])):p.itemTypeId===2?(e.openBlock(),e.createElementBlock("a",{key:2,class:"cursor-pointer item p-3 row-menu-item",href:p.url,target:"_blank"},e.toDisplayString(p.navigationLabel),9,Ae)):p.itemTypeId===4?(e.openBlock(),e.createElementBlock("div",Re,e.toDisplayString(p.navigationLabel),1)):e.createCommentVNode("",!0)],64))],64))),256))],2)):e.createCommentVNode("",!0)]),_:1})])])}}},Ke=Object.freeze(Object.defineProperty({__proto__:null,default:I},Symbol.toStringTag,{value:"Module"})),Yn="",Ze=["href"],Ue={key:2},We={key:3},b=h({__name:"JHeaderMenuItems",props:{menuItems:{type:Array,required:!0}},setup(t){return e.ref(!1),(a,o)=>{const n=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock("ul",e.normalizeProps(e.guardReactiveProps(a.$attrs)),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.menuItems,(l,r)=>(e.openBlock(),e.createElementBlock("li",{key:"menu-item-"+l.id,class:e.normalizeClass(["menu-item","parent-level-"+r])},[l.childItems.length?(e.openBlock(),e.createBlock(I,{key:1,label:l.navigationLabel,childItems:l.childItems,firstLevel:"","parent-level":r},null,8,["label","childItems","parent-level"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.itemTypeId===1?(e.openBlock(),e.createBlock(n,{key:0,to:l.url},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.navigationLabel)+"-2 ",1)]),_:2},1032,["to"])):l.itemTypeId===2?(e.openBlock(),e.createElementBlock("a",{key:1,class:"cursor-pointer item",href:l.url,target:"_blank"},e.toDisplayString(l.navigationLabel)+"-2 ",9,Ze)):l.itemTypeId===3?(e.openBlock(),e.createElementBlock("div",Ue,e.toDisplayString(l.navigationLabel)+"-3 ",1)):l.itemTypeId===4?(e.openBlock(),e.createElementBlock("div",We,e.toDisplayString(l.navigationLabel)+"-4 ",1)):e.createCommentVNode("",!0)],64))],2))),128))],16)}}},[["__scopeId","data-v-1453c279"]]),Ge=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"})),eo="",Qe={class:"logo flex"},Xe=["src"],M=h({__name:"JHeaderLogo",props:{imageSrc:{type:String,required:!0}},setup(t){return(a,o)=>{const n=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock("div",Qe,[e.createVNode(n,{class:"w-full m-auto pointer",to:"/"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:t.imageSrc,alt:"logo",class:""},null,8,Xe)]),_:1})])}}},[["__scopeId","data-v-447a9ef4"]]),Ye=Object.freeze(Object.defineProperty({__proto__:null,default:M},Symbol.toStringTag,{value:"Module"})),ve={style:{fill:"currentColor"},viewBox:"0,0,24,24",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg"},et=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.6 18.2a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 12a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6zM20.6 5.8a.6.6 0 01-.6.6H4a.6.6 0 110-1.2h16a.6.6 0 01.6.6z"},null,-1)],q={__name:"JHeaderMenu",props:{isMobile:{type:Boolean,required:!0}},setup(t){return(a,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("a",null,[(e.openBlock(),e.createElementBlock("svg",ve,et))])]))}},tt=Object.freeze(Object.defineProperty({__proto__:null,default:q},Symbol.toStringTag,{value:"Module"})),nt={key:1,class:"flex-1"},ot={key:0,class:"flex-1"},T={__name:"JHeader",props:{menuItems:{type:Array,default:null},settings:{type:Object,required:!0},components:{type:Object,required:!0},breakpoint:{type:String,required:!0},menuStyle:{type:Object,required:!0},iconsStyle:{type:Object,required:!0}},emits:["customEvent"],setup(t,{emit:a}){const o=t,{breakpoint:n,components:l,settings:r}=o,s=e.computed(()=>n==="mobile"),c=e.computed(()=>n==="desktop"),i=e.computed(()=>l.menu),d=e.computed(()=>l.logo),m=e.computed(()=>Object.entries(l).filter(([u,p])=>p&&u!=="logo"&&u!=="menu").map(u=>u[0]));function k(u){a("customEvent",u)}return(u,p)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(u.$attrs,{key:`header-${e.unref(n)}`,class:"j-header w-full relative z-10"}),[e.createElementVNode("nav",e.mergeProps({class:"w-full h-full flex container mx-auto gap-4 justify-between items-center py-2 px-2"},u.$attrs),[e.unref(d)?(e.openBlock(),e.createBlock(M,{key:0,"image-src":e.unref(r).logo.source},null,8,["image-src"])):e.createCommentVNode("",!0),e.unref(i)&&e.unref(c)?(e.openBlock(),e.createElementBlock("div",nt,[e.createVNode(b,{class:"flex flex-row items-center gap-6 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"])])):e.createCommentVNode("",!0),e.unref(s)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(z,{key:2,class:"actions flex ml-auto gap-x-4",onCustomEvent:k,settings:e.unref(r),actions:e.unref(m),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])),e.unref(i)&&!e.unref(c)?(e.openBlock(),e.createBlock(q,{key:3,"is-mobile":e.unref(s)},null,8,["is-mobile"])):e.createCommentVNode("",!0)],16),e.unref(i)&&!e.unref(c)?(e.openBlock(),e.createElementBlock("div",ot,[e.createVNode(b,{class:"flex flex-col gap-y-7 items-center py-10 px-2 text-sm","menu-items":t.menuItems||e.unref(r).menu.menuItems,style:e.normalizeStyle(t.menuStyle)},null,8,["menu-items","style"]),e.unref(s)&&e.unref(m).length?(e.openBlock(),e.createBlock(z,{key:0,class:"actions py-10 border-t border-gray-500 flex justify-center ml-auto gap-x-4",settings:e.unref(r),actions:e.unref(m),"icons-style":t.iconsStyle},null,8,["settings","actions","icons-style"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],16))}},lt=Object.freeze(Object.defineProperty({__proto__:null,default:T},Symbol.toStringTag,{value:"Module"})),oo="",rt={},at={class:"j-header-sceleton w-full"},st=[e.createElementVNode("div",{class:"card w-full is-loading"},[e.createElementVNode("div",{class:"image"})],-1)];function ct(t,a){return e.openBlock(),e.createElementBlock("div",at,st)}const D=h(rt,[["render",ct]]),it=Object.freeze(Object.defineProperty({__proto__:null,default:D},Symbol.toStringTag,{value:"Module"})),ro="",dt=["src","alt"],mt={class:"slider-content flex container mx-auto items-end py-10"},ft={class:"w-1/2 text-white mb-20"},pt={key:0,class:"j-title font-bold text-4xl pt-2 pl-2"},_t={key:1,class:"j-description text-lg pt-2 pl-2"},ut={key:2,class:"j-tag font-semibold text-base pt-2 pl-2"},ht={key:3,class:"p-3"},kt={key:4,class:"j-tag font-semibold text-base pl-2 d-flex items-center"},gt={class:"overlay-actions container mx-auto flex items-end mb-10"},O={__name:"JBanner",props:{data:{type:Object,required:!0},hasOverlay:{type:Boolean,required:!1,default:!1},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customClickEvent"],setup(t,{emit:a}){const o=t,{data:n,customWrapper:l,hasOverlay:r}=e.toRefs(o);function s(c){a("customClickEvent",c)}return(c,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["j-banner",e.unref(r)?"overlay":null])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:e.unref(n).imgTo?e.unref(n).imgTo:"/not-set"},{default:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref(n).img,class:"j-banner-img",alt:e.unref(n).alt},null,8,dt),e.createElementVNode("div",mt,[e.createElementVNode("div",ft,[e.unref(n).title?(e.openBlock(),e.createElementBlock("h1",pt,e.toDisplayString(e.unref(n).title),1)):e.createCommentVNode("",!0),e.unref(n).description?(e.openBlock(),e.createElementBlock("p",_t,e.toDisplayString(e.unref(n).description),1)):e.createCommentVNode("",!0),e.unref(n).tags?(e.openBlock(),e.createElementBlock("h4",ut,e.toDisplayString(e.unref(n).tags)+". ",1)):e.createCommentVNode("",!0),e.unref(n).action?(e.openBlock(),e.createElementBlock("button",ht,e.toDisplayString(e.unref(n).action),1)):e.createCommentVNode("",!0),e.unref(n).text?(e.openBlock(),e.createElementBlock("h4",kt,[e.createTextVNode(" M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: M\xE1te n\xE1pady a/nebo kol\xE1\u017Ee pro Ud\xE1losti Lu\u010Fka Sta\u0148ka? Pi\u0161te n\xE1m na email: "),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{class:"text-red-600",to:e.unref(n).textTo?e.unref(n).textTo:"/not-set"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).text),1)]),_:1},8,["to"]))])):e.createCommentVNode("",!0)])])]),_:1},8,["to"])),e.createElementVNode("div",gt,[e.unref(n).userEngagements?(e.openBlock(),e.createBlock(e.unref(H),{key:0,subscribe:e.unref(n).userEngagements.subscribe,like:e.unref(n).userEngagements.like,dislike:e.unref(n).userEngagements.dislike,watchLater:e.unref(n).userEngagements.watchLater,onCustomClickEvent:s},null,8,["subscribe","like","dislike","watchLater"])):e.createCommentVNode("",!0)])],2))}},ao="",yt={key:0,class:"slider-tracker slider-tracker container mx-auto absolute left-0 right-0"},Bt={class:"slider-indicators"},Et=["onClick"],wt={style:{fill:"#fff"},viewBox:"0,0,24,24",width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},Ct=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.424 5.576a.6.6 0 010 .848L9.85 12l5.575 5.576a.6.6 0 01-.848.848L8.15 12l6.425-6.424a.6.6 0 01.848 0z"},null,-1)],xt={style:{fill:"#fff"},viewBox:"0,0,24,24",width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},bt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.576 5.576a.6.6 0 000 .848L14.15 12l-5.575 5.576a.6.6 0 10.848.848L15.85 12 9.424 5.576a.6.6 0 00-.848 0z"},null,-1)],$t={__name:"JSlider",props:{slides:{type:Array,required:!0},autoSlide:{type:Boolean,required:!1,default:!1},scrollInterval:{type:[Number,String],required:!1,default:!1},activeSlide:{type:Number,required:!1,default:0},animationTime:{type:String,required:!1,default:".6s"},showIndicators:{type:Boolean,required:!1,default:!0},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customClickEvent"],setup(t,{emit:a}){const o=t;e.useCssVars(_=>({"7d76257c":d.value}));const{slides:n,autoSlide:l,scrollInterval:r,showIndicators:s,customWrapper:c}=e.toRefs(o),i=e.ref(o.activeSlide),d=e.ref(o.animationTime),m=e.ref(P(n.value,i.value)),k=e.ref(null),u=e.ref(!1),p=e.ref(""),w=e.ref(!1),y=e.ref(null);function P(_,g){return(g%_.length+_.length)%_.length}const jn=e.computed(()=>n.value.map((_,g)=>(g===m.value?_.active=!0:_.active=!1,_)));function C(_,g=-1){u.value||(u.value=!0,p.value=_,g===-1?i.value+=_==="slide-left"?1:-1:i.value=g,m.value=P(n.value,i.value),_==="slide-right"?m.value+1===n.value.length?k.value="flex-row-reverse":k.value="justify-end":_==="slide-left"&&(m.value===0?k.value="flex-row-reverse justify-end":k.value=""))}const Ln=()=>C("slide-right"),$=()=>C("slide-left");function Jn(){u.value=!1}e.onMounted(()=>{!l.value||(y.value=setInterval(()=>{w.value||$()},r.value*1e3))}),e.onUnmounted(()=>{clearInterval(y.value)});function zn(_){_!==m.value&&(m.value<_?C("slide-left",_):C("slide-right",_))}const In=()=>{!l.value||(w.value=!0,clearInterval(y.value),y.value=null)},Mn=()=>{!l.value||(w.value=!1,!y.value&&(y.value=setInterval(()=>{w.value||$()},r.value*1e3)))},qn=_=>{console.log("JSLIDER------->customClickEvent",_),a("customClickEvent",_)};return(_,g)=>(e.openBlock(),e.createElementBlock("div",{class:"j-slider",onMouseover:In,onMouseleave:Mn},[e.createVNode(e.TransitionGroup,{name:"slide",onAfterEnter:Jn,tag:"div",class:e.normalizeClass(["j-slider-wrapper",[p.value,k.value]])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(jn),(S,E)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:E,class:"slide-page"},[e.createVNode(O,{data:S,"has-overlay":!0,onCustomClickEvent:qn},null,8,["data"])])),[[e.vShow,S.active]])),128))]),_:1},8,["class"]),e.unref(s)?(e.openBlock(),e.createElementBlock("div",yt,[e.createElementVNode("ol",Bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),(S,E)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["slide-indicator",m.value===E?"active":null]),onClick:Eo=>zn(E),key:E},null,10,Et))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"button-slide button-slide-left",onClick:Ln},[e.createElementVNode("span",null,[(e.openBlock(),e.createElementBlock("svg",wt,Ct))])]),e.createElementVNode("button",{class:"button-slide button-slide-right",onClick:$},[e.createElementVNode("span",null,[(e.openBlock(),e.createElementBlock("svg",xt,bt))])])],32))}},io="",B={__name:"JButton",props:{variant:{type:String,required:!1,default:"primary"},active:{type:Boolean,required:!1,default:!1},full:{type:Boolean,required:!1,default:!1},circle:{type:Boolean,required:!1,default:!1},transparent:{type:Boolean,required:!1,default:!1},rounded:{type:Boolean,required:!1,default:!1},outlined:{type:Boolean,required:!1,default:!1},hovered:{type:Boolean,required:!1,default:!1},selected:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1}},emits:["customClickEvent"],setup(t,{emit:a}){const o=t,{variant:n,active:l,full:r,transparent:s,rounded:c}=e.toRefs(o);function i(d){a("customClickEvent",d)}return(d,m)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["j-button",[e.unref(n),{"j-is-rounded":e.unref(c),"j-is-loading":t.loading,"j-is-outlined":t.outlined,"j-is-fullwidth":e.unref(r),"j-is-circle":t.circle,"j-is-transparent":e.unref(s),"j-is-active":e.unref(l),"j-is-hovered":t.hovered,"j-is-selected":t.selected}]]),onClick:i},[e.renderSlot(d.$slots,"default")],2))}},mo="",St={class:"user-engagements flex mt-3"},Vt=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),Nt=e.createElementVNode("p",{class:"ml-1"},"FAVORITE",-1),jt=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),Lt=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),Jt=e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 4.31533L7.02255 3.08913C5.84186 1.60796 3.87501 1.60161 2.65979 2.78742C1.44674 3.97111 1.44674 5.87726 2.65978 7.06096L8 12.2719L13.3402 7.06096C14.5533 5.87726 14.5533 3.9711 13.3402 2.78741C12.125 1.60161 10.1581 1.60796 8.97745 3.08913L8 4.31533ZM7.09204 1.44521C5.4312 0.264383 3.21997 0.494285 1.7868 1.89277C0.0710693 3.56698 0.0710678 6.28139 1.78679 7.9556L7.418 13.4505C7.74171 13.7664 8.25828 13.7664 8.58199 13.4505L14.2132 7.9556C15.9289 6.28139 15.9289 3.56697 14.2132 1.89277C12.78 0.494278 10.5688 0.264381 8.90795 1.44521C8.58052 1.67801 8.27447 1.96564 8 2.30997C7.72552 1.96564 7.41948 1.67801 7.09204 1.44521Z",fill:"#ffffff"})])],-1),H={__name:"JUserEngagements",props:{subscribe:{type:Boolean,required:!1,default:!1},like:{type:Boolean,required:!1,default:!1},dislike:{type:Boolean,required:!1,default:!1},watchLater:{type:Boolean,required:!1,default:!1}},emits:["customClickEvent"],setup(t,{emit:a}){const o=t,{subscribe:n,like:l,dislike:r,watchLater:s}=e.toRefs(o),c=i=>{console.log("onUserEngagementClick",i),a("customClickEvent",i)};return(i,d)=>(e.openBlock(),e.createElementBlock("div",St,[e.unref(n)?(e.openBlock(),e.createBlock(B,{key:0,"icon-name":"favorite",onClick:d[0]||(d[0]=m=>c("subscribe")),variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[Vt,Nt]),_:1})):e.createCommentVNode("",!0),e.unref(s)?(e.openBlock(),e.createBlock(B,{key:1,onClick:d[1]||(d[1]=m=>c("watchLater")),"icon-name":"favorite",variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[jt]),_:1})):e.createCommentVNode("",!0),e.unref(l)?(e.openBlock(),e.createBlock(B,{key:2,onClick:d[2]||(d[2]=m=>c("like")),"icon-name":"favorite",variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[Lt]),_:1})):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createBlock(B,{key:3,onClick:d[3]||(d[3]=m=>c("dislike")),"icon-name":"favorite",variant:"primary",active:!1,class:"mb-1 mr-2"},{default:e.withCtx(()=>[Jt]),_:1})):e.createCommentVNode("",!0)]))}},zt={class:"j-language flex"},It=["onKeydown"],Mt=["width","height"],qt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.383 12.505l.199-.199a14.88 14.88 0 003.147-5.541l.054-.176h1.85a.616.616 0 100-1.232h-5.43V4.244a.614.614 0 10-1.228 0v1.113H3.54a.61.61 0 100 1.219h9.14l-.116.332a13.892 13.892 0 01-2.788 4.714l-.186.207-.186-.207a13.905 13.905 0 01-1.796-2.506.581.581 0 00-.503-.304c-.409 0-.646.41-.466.735a15.082 15.082 0 001.988 2.786l.16.177-3.945 3.898a.612.612 0 10.862.868L9.59 13.39l1.926 1.926a.602.602 0 10.848-.854l-1.98-1.957zM14.706 17.812h4.448l.836 2.228a.559.559 0 101.046-.392l-3.173-8.463a.996.996 0 00-1.866 0l-3.173 8.463a.559.559 0 101.046.392l.836-2.228zm.46-1.228l1.764-4.706 1.764 4.706h-3.528z"},null,-1)],Tt={key:0,class:"j-language-dropdown-wrapper"},Dt=e.createElementVNode("span",null,null,-1),Ot=e.createElementVNode("span",null,null,-1),Ht=e.createElementVNode("span",null,null,-1),Pt=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderLanguage",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:a}){const o=e.ref(!1),n=()=>{o.value=!o.value},l=()=>{o.value=!1};function r(s){a("customEvent",{type:"search-option-click",event:s})}return(s,c)=>(e.openBlock(),e.createElementBlock("div",zt,[e.createElementVNode("div",{class:e.normalizeClass(["language-wrapper",o.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(l,["esc"]),onBlur:l,onClick:n},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},qt,8,Mt))],40,It),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",Tt,[e.createElementVNode("li",{class:"j-language-item flex items-center text-xs font-normal cursor-pointer",onClick:r,value:"1"},[Dt,e.createTextVNode(" English ")]),e.createElementVNode("li",{class:"j-language-item flex items-center text-xs font-normal cursor-pointer",onClick:r,value:"2"},[Ot,e.createTextVNode(" Shqip ")]),e.createElementVNode("li",{class:"j-language-item flex items-center text-xs font-normal cursor-pointer",onClick:r,value:"3"},[Ht,e.createTextVNode(" Czech ")])])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),Ft={class:"j-notification flex"},At=["onKeydown"],Rt=["width","height"],Kt=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.867 5.6a3.587 3.587 0 00-3.584 3.455l-.083 2.24a7.885 7.885 0 01-1.926 4.862c1.267.104 3.391.243 5.726.243 2.334 0 4.397-.139 5.617-.243a8.509 8.509 0 01-1.944-4.677l-.233-2.612A3.587 3.587 0 0011.867 5.6zM7.083 9.01a4.787 4.787 0 019.552-.249l.233 2.613a7.312 7.312 0 001.812 4.179c.558.629.22 1.694-.69 1.776A68.766 68.766 0 0112 17.6c-2.61 0-4.957-.17-6.176-.277-.89-.078-1.224-1.133-.65-1.74a6.688 6.688 0 001.827-4.332l.082-2.24zM14.6 19a.6.6 0 01-.6.6h-4a.6.6 0 110-1.2h4a.6.6 0 01.6.6z"},null,-1)],Zt={key:0,class:"notification-suggestion-wrapper"},Ut=e.createElementVNode("div",{class:"notification-wrapper-title flex mb-1 justify-between"},[e.createElementVNode("div",{class:"title-name font-semibold text-sm"}," Notification "),e.createElementVNode("div",{class:"title-action font-normal text-xs pointer"}," Mark all as read ")],-1),Wt=["value"],Gt={class:"flex m-0"},Qt={class:"suggestion-img-holder new"},Xt=["src"],Yt={class:"basis-full px-2"},vt={class:"notification-text text-left text-sm font-normal"},en={class:"notification-date flex justify-start text-xs text-gray-600 leading-4"},tn=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderNotifications",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:a}){const o=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],n=e.ref(!1),l=()=>{n.value=!n.value},r=()=>{n.value=!1};function s(c){a("customEvent",{type:"search-option-click",event:c})}return(c,i)=>(e.openBlock(),e.createElementBlock("div",Ft,[e.createElementVNode("div",{class:e.normalizeClass(["notification-wrapper",n.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(r,["esc"]),onBlur:r,onClick:l},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},Kt,8,Rt))],40,At),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",Zt,[Ut,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,d=>e.createElementVNode("li",{class:"notification-list-item mb-3 leading-4",onClick:s,value:d.source},[e.createElementVNode("div",Gt,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:d.source},{default:e.withCtx(()=>[e.createElementVNode("div",Qt,[e.createElementVNode("img",{src:d.img},null,8,Xt)]),e.createElementVNode("div",Yt,[e.createElementVNode("div",null,[e.createElementVNode("h5",vt,e.toDisplayString(d.text),1),e.createElementVNode("p",en,e.toDisplayString(d.date),1)])])]),_:2},1032,["to"]))])],8,Wt)),64))])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),nn={class:"j-profile flex"},on=["onKeydown"],ln=["width","height"],rn=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 4.6c-1.848 0-3.3 1.427-3.3 3.133s1.452 3.133 3.3 3.133c1.848 0 3.3-1.427 3.3-3.133S13.848 4.6 12 4.6zM7.5 7.733C7.5 5.315 9.54 3.4 12 3.4s4.5 1.915 4.5 4.333-2.04 4.333-4.5 4.333-4.5-1.915-4.5-4.333zm1.9 6.999c-1.847 0-3.3 1.427-3.3 3.135V18a1.4 1.4 0 001.4 1.4h9a1.4 1.4 0 001.4-1.4v-.133c0-1.708-1.453-3.135-3.3-3.135H9.4zm-4.5 3.135c0-2.419 2.04-4.335 4.5-4.335h5.2c2.46 0 4.5 1.916 4.5 4.335V18a2.6 2.6 0 01-2.6 2.6h-9A2.6 2.6 0 014.9 18v-.133z"},null,-1)],an={key:0,class:"j-profile-dropdown-wrapper"},sn=e.createElementVNode("div",{class:"profile-details flex items-center"},[e.createElementVNode("span",{class:"profile-image"}),e.createElementVNode("h1",{class:"text-sm text-medium truncate"},"Mendim's Account dsadadadasda")],-1),cn=e.createElementVNode("span",null,null,-1),dn=e.createElementVNode("span",null,null,-1),mn=e.createElementVNode("span",null,null,-1),fn=e.createElementVNode("span",null,null,-1),pn=e.createElementVNode("span",null,null,-1),_n=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderProfile",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}}},emits:["customEvent"],setup(t,{emit:a}){const o=e.ref(!1),n=()=>{o.value=!o.value},l=()=>{o.value=!1};function r(s){a("customEvent",{type:"search-option-click",event:s})}return(s,c)=>(e.openBlock(),e.createElementBlock("div",nn,[e.createElementVNode("div",{class:e.normalizeClass(["profile-wrapper",o.value?"active":null])},[e.createElementVNode("button",{class:"icon icon-holder flex items-center justify-center",onKeydown:e.withKeys(l,["esc"]),onBlur:l,onClick:n},[(e.openBlock(),e.createElementBlock("svg",{style:{fill:"currentColor"},viewBox:"0,0,24,24",width:t.icon.size,height:t.icon.size,xmlns:"http://www.w3.org/2000/svg"},rn,8,ln))],40,on),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",an,[sn,e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"1"},[cn,e.createTextVNode(" Saved videos ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"2"},[dn,e.createTextVNode(" Subscriptions ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"3"},[mn,e.createTextVNode(" Billing History ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"4"},[fn,e.createTextVNode(" Help Center ")]),e.createElementVNode("li",{class:"j-profile-list flex items-center text-xs font-medium cursor-pointer",onClick:r,value:"5"},[pn,e.createTextVNode(" Sign out ")])])):e.createCommentVNode("",!0)]),_:1})],2)]))}}},Symbol.toStringTag,{value:"Module"})),go="",un={class:"j-search flex"},hn=["onKeydown"],kn={key:0,class:"search-suggestion-wrapper"},gn=e.createElementVNode("div",{class:"flex justify-start font-bold text-sm mb-1"}," Video ",-1),yn=["value"],Bn={class:"flex m-0"},En={class:"suggestion-img-holder"},wn=["src"],Cn={class:"basis-full px-2"},xn={class:"text-left text-xs font-semibold"},bn={class:"flex justify-start text-xs text-gray-600"},$n={class:"icon flex items-center justify-center"},Sn=["width","height"],Vn=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3911 15.4518C13.1902 16.4202 11.6628 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 11.6628 16.4202 13.1902 15.4518 14.3911L20.5303 19.4697C20.8232 19.7626 20.8232 20.2374 20.5303 20.5303C20.2374 20.8232 19.7626 20.8232 19.4697 20.5303L14.3911 15.4518ZM15.5 10C15.5 13.0376 13.0376 15.5 10 15.5C6.96243 15.5 4.5 13.0376 4.5 10C4.5 6.96243 6.96243 4.5 10 4.5C13.0376 4.5 15.5 6.96243 15.5 10Z",fill:"currentColor"},null,-1)],Nn=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"JHeaderSearch",props:{icon:{type:Object,default:{color:"#FFF",size:"18",name:""}},customWrapper:{type:String,required:!1,default:"RouterLink"}},emits:["customEvent"],setup(t,{emit:a}){const o=[{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"},{img:"https://cdn.vpplayer.tech/agmipnzv/encode/vjsnkirh/thumbnails/standart.jpg",source:"/video-1",text:"Vojt\u011Bch Dyk o \u017Eivotn\xEDch cyklech a zparchant\u011Bl\xE9 dob\u011B: Ml\u010Del jsem, proto\u017Ee",date:"23/12/2022"}],n=e.ref(null),l=()=>{n.value=!1};function r(c){n.value=!0,a("customEvent",{type:"search-input-change",event:c})}function s(c){a("customEvent",{type:"search-option-click",event:c})}return(c,i)=>(e.openBlock(),e.createElementBlock("div",un,[e.createElementVNode("div",{class:e.normalizeClass(["search-input",n.value?"active":null])},[e.createElementVNode("input",{type:"text",onInput:r,onKeydown:e.withKeys(l,["esc"]),onBlur:l,placeholder:"Search video or show"},null,40,hn),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",kn,[gn,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,d=>e.createElementVNode("li",{class:"mb-3",onClick:s,value:d.source},[e.createElementVNode("div",Bn,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.customWrapper),{class:"flex",to:d.source},{default:e.withCtx(()=>[e.createElementVNode("div",En,[e.createElementVNode("img",{src:d.img},null,8,wn)]),e.createElementVNode("div",Cn,[e.createElementVNode("div",null,[e.createElementVNode("h5",xn,e.toDisplayString(d.text),1),e.createElementVNode("p",bn,e.toDisplayString(d.date),1)])])]),_:2},1032,["to"]))])],8,yn)),64))])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",$n,[(e.openBlock(),e.createElementBlock("svg",{width:t.icon.size,height:t.icon.size,viewBox:"0 0 24 24",fill:"none"},Vn,8,Sn))])],2)]))}}},Symbol.toStringTag,{value:"Module"}));f.JBadge=ye,f.JBanner=O,f.JButton=B,f.JCard=se,f.JCardSceleton=he,f.JCol=J,f.JFooter=we,f.JFooterImage=j,f.JFooterLabel=V,f.JFooterMenu=N,f.JFooterSceleton=Ie,f.JHeader=T,f.JHeaderSceleton=D,f.JImage=x,f.JImageSceleton=Ee,f.JRow=L,f.JSlider=$t,f.JUserEngagements=H,f.MInput=U,f.VButton=R,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"scripts": { | ||
@@ -17,0 +17,0 @@ "dev": "vite", |
Sorry, the diff of this file is not supported yet
125299
2095