/*! UIkit 3.5.3 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */
! function(t, e) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define("uikit", e) : (t = t || self).UIkit = e()
}(this, function() {
"use strict";
var t = Object.prototype,
i = t.hasOwnProperty;
function l(t, e) {
return i.call(t, e)
}
var e = {},
n = /([a-z\d])([A-Z])/g;
function d(t) {
return t in e || (e[t] = t.replace(n, "$1-$2").toLowerCase()), e[t]
}
var r = /-(\w)/g;
function f(t) {
return t.replace(r, o)
}
function o(t, e) {
return e ? e.toUpperCase() : ""
}
function p(t) {
return t.length ? o(0, t.charAt(0)) + t.slice(1) : ""
}
var s = String.prototype,
a = s.startsWith || function(t) {
return 0 === this.lastIndexOf(t, 0)
};
function w(t, e) {
return a.call(t, e)
}
var h = s.endsWith || function(t) {
return this.substr(-t.length) === t
};
function u(t, e) {
return h.call(t, e)
}
function c(t, e) {
return !!~this.indexOf(t, e)
}
var m = Array.prototype,
g = s.includes || c,
v = m.includes || c;
function b(t, e) {
return t && (D(t) ? g : v).call(t, e)
}
var x = m.findIndex || function(t) {
for (var e = arguments, i = 0; i < this.length; i++)
if (t.call(e[1], this[i], i, this)) return i;
return -1
};
function y(t, e) {
return x.call(t, e)
}
var k = Array.isArray;
function $(t) {
return "function" == typeof t
}
function I(t) {
return null !== t && "object" == typeof t
}
var S = t.toString;
function T(t) {
return "[object Object]" === S.call(t)
}
function E(t) {
return I(t) && t === t.window
}
function _(t) {
return I(t) && 9 === t.nodeType
}
function C(t) {
return I(t) && !!t.jquery
}
function A(t) {
return I(t) && 1 <= t.nodeType
}
function M(t) {
return I(t) && 1 === t.nodeType
}
function N(t) {
return S.call(t).match(/^\[object (NodeList|HTMLCollection)\]$/)
}
function z(t) {
return "boolean" == typeof t
}
function D(t) {
return "string" == typeof t
}
function B(t) {
return "number" == typeof t
}
function P(t) {
return B(t) || D(t) && !isNaN(t - parseFloat(t))
}
function O(t) {
return !(k(t) ? t.length : I(t) && Object.keys(t).length)
}
function H(t) {
return void 0 === t
}
function L(t) {
return z(t) ? t : "true" === t || "1" === t || "" === t || "false" !== t && "0" !== t && t
}
function F(t) {
var e = Number(t);
return !isNaN(e) && e
}
function j(t) {
return parseFloat(t) || 0
}
function W(t) {
return A(t) ? t : N(t) || C(t) ? t[0] : k(t) ? W(t[0]) : null
}
function V(t) {
return A(t) ? [t] : N(t) ? m.slice.call(t) : k(t) ? t.map(W).filter(Boolean) : C(t) ? t.toArray() : []
}
function R(t) {
return E(t) ? t : (t = W(t)) ? (_(t) ? t : t.ownerDocument).defaultView : window
}
function q(t) {
return k(t) ? t : D(t) ? t.split(/,(?![^(]*\))/).map(function(t) {
return P(t) ? F(t) : L(t.trim())
}) : [t]
}
function U(t) {
return t ? u(t, "ms") ? j(t) : 1e3 * j(t) : 0
}
function Y(t, i) {
return t === i || I(t) && I(i) && Object.keys(t).length === Object.keys(i).length && J(t, function(t, e) {
return t === i[e]
})
}
function X(t, e, i) {
return t.replace(new RegExp(e + "|" + i, "g"), function(t) {
return t === e ? i : e
})
}
var G = Object.assign || function(t) {
for (var e = [], i = arguments.length - 1; 0 < i--;) e[i] = arguments[i + 1];
t = Object(t);
for (var n = 0; n < e.length; n++) {
var r = e[n];
if (null !== r)
for (var o in r) l(r, o) && (t[o] = r[o])
}
return t
};
function K(t) {
return t[t.length - 1]
}
function J(t, e) {
for (var i in t)
if (!1 === e(t[i], i)) return !1;
return !0
}
function Z(t, r) {
return t.sort(function(t, e) {
var i = t[r];
void 0 === i && (i = 0);
var n = e[r];
return void 0 === n && (n = 0), n < i ? 1 : i < n ? -1 : 0
})
}
function Q(t, i) {
var n = new Set;
return t.filter(function(t) {
var e = t[i];
return !n.has(e) && (n.add(e) || !0)
})
}
function tt(t, e, i) {
return void 0 === e && (e = 0), void 0 === i && (i = 1), Math.min(Math.max(F(t) || 0, e), i)
}
function et() {}
function it(t, e) {
return t.left < e.right && t.right > e.left && t.top < e.bottom && t.bottom > e.top
}
function nt(t, e) {
return t.x <= e.right && t.x >= e.left && t.y <= e.bottom && t.y >= e.top
}
var rt = {
ratio: function(t, e, i) {
var n = "width" === e ? "height" : "width",
r = {};
return r[n] = t[e] ? Math.round(i * t[n] / t[e]) : t[n], r[e] = i, r
},
contain: function(i, n) {
var r = this;
return J(i = G({}, i), function(t, e) {
return i = i[e] > n[e] ? r.ratio(i, e, n[e]) : i
}), i
},
cover: function(i, n) {
var r = this;
return J(i = this.contain(i, n), function(t, e) {
return i = i[e] < n[e] ? r.ratio(i, e, n[e]) : i
}), i
}
};
function ot(t, e, i) {
if (I(e))
for (var n in e) ot(t, n, e[n]);
else {
if (H(i)) return (t = W(t)) && t.getAttribute(e);
V(t).forEach(function(t) {
$(i) && (i = i.call(t, ot(t, e))), null === i ? at(t, e) : t.setAttribute(e, i)
})
}
}
function st(t, e) {
return V(t).some(function(t) {
return t.hasAttribute(e)
})
}
function at(t, e) {
t = V(t), e.split(" ").forEach(function(e) {
return t.forEach(function(t) {
return t.hasAttribute(e) && t.removeAttribute(e)
})
})
}
function ht(t, e) {
for (var i = 0, n = [e, "data-" + e]; i < n.length; i++)
if (st(t, n[i])) return ot(t, n[i])
}
var ut = "undefined" != typeof window,
ct = ut && /msie|trident/i.test(window.navigator.userAgent),
lt = ut && "rtl" === ot(document.documentElement, "dir"),
dt = ut && "ontouchstart" in window,
ft = ut && window.PointerEvent,
pt = ut && (dt || window.DocumentTouch && document instanceof DocumentTouch || navigator.maxTouchPoints),
mt = ft ? "pointerdown" : dt ? "touchstart" : "mousedown",
gt = ft ? "pointermove" : dt ? "touchmove" : "mousemove",
vt = ft ? "pointerup" : dt ? "touchend" : "mouseup",
wt = ft ? "pointerenter" : dt ? "" : "mouseenter",
bt = ft ? "pointerleave" : dt ? "" : "mouseleave",
xt = ft ? "pointercancel" : "touchcancel";
function yt(t, e) {
return W(t) || It(t, $t(t, e))
}
function kt(t, e) {
var i = V(t);
return i.length && i || St(t, $t(t, e))
}
function $t(t, e) {
return void 0 === e && (e = document), Ct(t) || _(e) ? e : e.ownerDocument
}
function It(t, e) {
return W(Tt(t, e, "querySelector"))
}
function St(t, e) {
return V(Tt(t, e, "querySelectorAll"))
}
function Tt(t, s, e) {
if (void 0 === s && (s = document), !t || !D(t)) return null;
var a;
Ct(t = t.replace(_t, "$1 *")) && (a = [], t = t.match(At).map(function(t) {
return t.replace(/,$/, "").trim()
}).map(function(t, e) {
var i, n, r, o = s;
return "!" === t[0] && (i = t.substr(1).trim().split(" "), o = Bt(Pt(s), i[0]), t = i.slice(1).join(" ").trim()), "-" === t[0] && (n = t.substr(1).trim().split(" "), r = (o || s).previousElementSibling, o = zt(r, t.substr(1)) ? r : null, t = n.slice(1).join(" ")), o ? (o.id || (o.id = "uk-" + Date.now() + e, a.push(function() {
return at(o, "id")
})), "#" + Ht(o.id) + " " + t) : null
}).filter(Boolean).join(","), s = document);
try {
return s[e](t)
} catch (t) {
return null
} finally {
a && a.forEach(function(t) {
return t()
})
}
}
var Et = /(^|[^\\],)\s*[!>+~-]/,
_t = /([!>+~-])(?=\s+[!>+~-]|\s*$)/g;
function Ct(t) {
return D(t) && t.match(Et)
}
var At = /.*?[^\\](?:,|$)/g;
var Mt = ut ? Element.prototype : {},
Nt = Mt.matches || Mt.webkitMatchesSelector || Mt.msMatchesSelector || et;
function zt(t, e) {
return V(t).some(function(t) {
return Nt.call(t, e)
})
}
var Dt = Mt.closest || function(t) {
var e = this;
do {
if (zt(e, t)) return e
} while (e = Pt(e))
};
function Bt(t, e) {
return w(e, ">") && (e = e.slice(1)), M(t) ? Dt.call(t, e) : V(t).map(function(t) {
return Bt(t, e)
}).filter(Boolean)
}
function Pt(t) {
return (t = W(t)) && M(t.parentNode) && t.parentNode
}
var Ot = ut && window.CSS && CSS.escape || function(t) {
return t.replace(/([^\x7f-\uFFFF\w-])/g, function(t) {
return "\\" + t
})
};
function Ht(t) {
return D(t) ? Ot.call(null, t) : ""
}
var Lt = {
area: !0,
base: !0,
br: !0,
col: !0,
embed: !0,
hr: !0,
img: !0,
input: !0,
keygen: !0,
link: !0,
menuitem: !0,
meta: !0,
param: !0,
source: !0,
track: !0,
wbr: !0
};
function Ft(t) {
return V(t).some(function(t) {
return Lt[t.tagName.toLowerCase()]
})
}
function jt(t) {
return V(t).some(function(t) {
return t.offsetWidth || t.offsetHeight || t.getClientRects().length
})
}
var Wt = "input,select,textarea,button";
function Vt(t) {
return V(t).some(function(t) {
return zt(t, Wt)
})
}
function Rt(t, e) {
return V(t).filter(function(t) {
return zt(t, e)
})
}
function qt(t, e) {
return D(e) ? zt(t, e) || !!Bt(t, e) : t === e || (_(e) ? e.documentElement : W(e)).contains(W(t))
}
function Ut(t, e) {
for (var i = []; t = Pt(t);) e && !zt(t, e) || i.push(t);
return i
}
function Yt(t, e) {
var i = (t = W(t)) ? V(t.children) : [];
return e ? Rt(i, e) : i
}
function Xt() {
for (var t = [], e = arguments.length; e--;) t[e] = arguments[e];
var i, n, r = Qt(t),
o = r[0],
s = r[1],
a = r[2],
h = r[3],
u = r[4],
o = ne(o);
return 1 < h.length && (i = h, h = function(t) {
return k(t.detail) ? i.apply(void 0, [t].concat(t.detail)) : i(t)
}), u && u.self && (n = h, h = function(t) {
if (t.target === t.currentTarget || t.target === t.current) return n.call(null, t)
}), a && (h = function(t, n, r) {
var o = this;
return function(i) {
t.forEach(function(t) {
var e = ">" === n[0] ? St(n, t).reverse().filter(function(t) {
return qt(i.target, t)
})[0] : Bt(i.target, n);
e && (i.delegate = t, i.current = e, r.call(o, i))
})
}
}(o, a, h)), u = te(u), s.split(" ").forEach(function(e) {
return o.forEach(function(t) {
return t.addEventListener(e, h, u)
})
}),
function() {
return Gt(o, s, h, u)
}
}
function Gt(t, e, i, n) {
void 0 === n && (n = !1), n = te(n), t = ne(t), e.split(" ").forEach(function(e) {
return t.forEach(function(t) {
return t.removeEventListener(e, i, n)
})
})
}
function Kt() {
for (var t = [], e = arguments.length; e--;) t[e] = arguments[e];
var i = Qt(t),
n = i[0],
r = i[1],
o = i[2],
s = i[3],
a = i[4],
h = i[5],
u = Xt(n, r, o, function(t) {
var e = !h || h(t);
e && (u(), s(t, e))
}, a);
return u
}
function Jt(t, i, n) {
return ne(t).reduce(function(t, e) {
return t && e.dispatchEvent(Zt(i, !0, !0, n))
}, !0)
}
function Zt(t, e, i, n) {
var r;
return void 0 === e && (e = !0), void 0 === i && (i = !1), D(t) && ((r = document.createEvent("CustomEvent")).initCustomEvent(t, e, i, n), t = r), t
}
function Qt(t) {
return $(t[2]) && t.splice(2, 0, !1), t
}
function te(t) {
return t && ct && !z(t) ? !!t.capture : t
}
function ee(t) {
return t && "addEventListener" in t
}
function ie(t) {
return ee(t) ? t : W(t)
}
function ne(t) {
return k(t) ? t.map(ie).filter(Boolean) : D(t) ? St(t) : ee(t) ? [t] : V(t)
}
function re(t) {
return "touch" === t.pointerType || !!t.touches
}
function oe(t) {
var e = t.touches,
i = t.changedTouches,
n = e && e[0] || i && i[0] || t;
return {
x: n.clientX,
y: n.clientY
}
}
function se() {
var i = this;
this.promise = new ae(function(t, e) {
i.reject = e, i.resolve = t
})
}
var ae = ut && window.Promise || ce,
he = 2,
ue = ut && window.setImmediate || setTimeout;
function ce(t) {
this.state = he, this.value = void 0, this.deferred = [];
var e = this;
try {
t(function(t) {
e.resolve(t)
}, function(t) {
e.reject(t)
})
} catch (t) {
e.reject(t)
}
}
ce.reject = function(i) {
return new ce(function(t, e) {
e(i)
})
}, ce.resolve = function(i) {
return new ce(function(t, e) {
t(i)
})
}, ce.all = function(o) {
return new ce(function(i, t) {
var n = [],
r = 0;
0 === o.length && i(n);
for (var e = 0; e < o.length; e += 1) ce.resolve(o[e]).then(function(e) {
return function(t) {
n[e] = t, (r += 1) === o.length && i(n)
}
}(e), t)
})
}, ce.race = function(n) {
return new ce(function(t, e) {
for (var i = 0; i < n.length; i += 1) ce.resolve(n[i]).then(t, e)
})
};
var le = ce.prototype;
function de(s, a) {
return new ae(function(t, e) {
var i = G({
data: null,
method: "GET",
headers: {},
xhr: new XMLHttpRequest,
beforeSend: et,
responseType: ""
}, a);
i.beforeSend(i);
var n = i.xhr;
for (var r in i)
if (r in n) try {
n[r] = i[r]
} catch (t) {}
for (var o in n.open(i.method.toUpperCase(), s), i.headers) n.setRequestHeader(o, i.headers[o]);
Xt(n, "load", function() {
0 === n.status || 200 <= n.status && n.status < 300 || 304 === n.status ? t(n) : e(G(Error(n.statusText), {
xhr: n,
status: n.status
}))
}), Xt(n, "error", function() {
return e(G(Error("Network Error"), {
xhr: n
}))
}), Xt(n, "timeout", function() {
return e(G(Error("Network Timeout"), {
xhr: n
}))
}), n.send(i.data)
})
}
function fe(n, r, o) {
return new ae(function(t, e) {
var i = new Image;
i.onerror = e, i.onload = function() {
return t(i)
}, o && (i.sizes = o), r && (i.srcset = r), i.src = n
})
}
function pe(t) {
var e;
"loading" === document.readyState ? e = Xt(document, "DOMContentLoaded", function() {
e(), t()
}) : t()
}
function me(t, e) {
return e ? V(t).indexOf(W(e)) : Yt(Pt(t)).indexOf(t)
}
function ge(t, e, i, n) {
void 0 === i && (i = 0), void 0 === n && (n = !1);
var r = (e = V(e)).length;
return t = P(t) ? F(t) : "next" === t ? i + 1 : "previous" === t ? i - 1 : me(e, t), n ? tt(t, 0, r - 1) : (t %= r) < 0 ? t + r : t
}
function ve(t) {
return (t = Me(t)).innerHTML = "", t
}
function we(t, e) {
return t = Me(t), H(e) ? t.innerHTML : be(t.hasChildNodes() ? ve(t) : t, e)
}
function be(e, t) {
return e = Me(e), ke(t, function(t) {
return e.appendChild(t)
})
}
function xe(e, t) {
return e = Me(e), ke(t, function(t) {
return e.parentNode.insertBefore(t, e)
})
}
function ye(e, t) {
return e = Me(e), ke(t, function(t) {
return e.nextSibling ? xe(e.nextSibling, t) : be(e.parentNode, t)
})
}
function ke(t, e) {
return (t = D(t) ? Ce(t) : t) ? "length" in t ? V(t).map(e) : e(t) : null
}
function $e(t) {
V(t).map(function(t) {
return t.parentNode && t.parentNode.removeChild(t)
})
}
function Ie(t, e) {
for (e = W(xe(t, e)); e.firstChild;) e = e.firstChild;
return be(e, t), e
}
function Se(t, e) {
return V(V(t).map(function(t) {
return t.hasChildNodes ? Ie(V(t.childNodes), e) : be(t, e)
}))
}
function Te(t) {
V(t).map(Pt).filter(function(t, e, i) {
return i.indexOf(t) === e
}).forEach(function(t) {
xe(t, t.childNodes), $e(t)
})
}
le.resolve = function(t) {
var e = this;
if (e.state === he) {
if (t === e) throw new TypeError("Promise settled with itself.");
var i = !1;
try {
var n = t && t.then;
if (null !== t && I(t) && $(n)) return void n.call(t, function(t) {
i || e.resolve(t), i = !0
}, function(t) {
i || e.reject(t), i = !0
})
} catch (t) {
return void(i || e.reject(t))
}
e.state = 0, e.value = t, e.notify()
}
}, le.reject = function(t) {
var e = this;
if (e.state === he) {
if (t === e) throw new TypeError("Promise settled with itself.");
e.state = 1, e.value = t, e.notify()
}
}, le.notify = function() {
var o = this;
ue(function() {
if (o.state !== he)
for (; o.deferred.length;) {
var t = o.deferred.shift(),
e = t[0],
i = t[1],
n = t[2],
r = t[3];
try {
0 === o.state ? $(e) ? n(e.call(void 0, o.value)) : n(o.value) : 1 === o.state && ($(i) ? n(i.call(void 0, o.value)) : r(o.value))
} catch (t) {
r(t)
}
}
})
}, le.then = function(i, n) {
var r = this;
return new ce(function(t, e) {
r.deferred.push([i, n, t, e]), r.notify()
})
}, le.catch = function(t) {
return this.then(void 0, t)
};
var Ee = /^\s*<(\w+|!)[^>]*>/,
_e = /^<(\w+)\s*\/?>(?:<\/\1>)?$/;
function Ce(t) {
var e = _e.exec(t);
if (e) return document.createElement(e[1]);
var i = document.createElement("div");
return Ee.test(t) ? i.insertAdjacentHTML("beforeend", t.trim()) : i.textContent = t, 1 < i.childNodes.length ? V(i.childNodes) : i.firstChild
}
function Ae(t, e) {
if (M(t))
for (e(t), t = t.firstElementChild; t;) {
var i = t.nextElementSibling;
Ae(t, e), t = i
}
}
function Me(t, e) {
return D(t) ? ze(t) ? W(Ce(t)) : It(t, e) : W(t)
}
function Ne(t, e) {
return D(t) ? ze(t) ? V(Ce(t)) : St(t, e) : V(t)
}
function ze(t) {
return "<" === t[0] || t.match(/^\s*)
}
function De(t) {
for (var e = [], i = arguments.length - 1; 0 < i--;) e[i] = arguments[i + 1];
Fe(t, e, "add")
}
function Be(t) {
for (var e = [], i = arguments.length - 1; 0 < i--;) e[i] = arguments[i + 1];
Fe(t, e, "remove")
}
function Pe(t, e) {
ot(t, "class", function(t) {
return (t || "").replace(new RegExp("\\b" + e + "\\b", "g"), "")
})
}
function Oe(t) {
for (var e = [], i = arguments.length - 1; 0 < i--;) e[i] = arguments[i + 1];
e[0] && Be(t, e[0]), e[1] && De(t, e[1])
}
function He(t, e) {
return e && V(t).some(function(t) {
return t.classList.contains(e.split(" ")[0])
})
}
function Le(t) {
for (var n, r = [], e = arguments.length - 1; 0 < e--;) r[e] = arguments[e + 1];
r.length && (n = D(K(r = je(r))) ? [] : r.pop(), r = r.filter(Boolean), V(t).forEach(function(t) {
for (var e = t.classList, i = 0; i < r.length; i++) We.Force ? e.toggle.apply(e, [r[i]].concat(n)) : e[(H(n) ? !e.contains(r[i]) : n) ? "add" : "remove"](r[i])
}))
}
function Fe(t, i, n) {
(i = je(i).filter(Boolean)).length && V(t).forEach(function(t) {
var e = t.classList;
We.Multiple ? e[n].apply(e, i) : i.forEach(function(t) {
return e[n](t)
})
})
}
function je(t) {
return t.reduce(function(t, e) {
return t.concat.call(t, D(e) && b(e, " ") ? e.trim().split(" ") : e)
}, [])
}
var We = {
get Multiple() {
return this.get("_multiple")
},
get Force() {
return this.get("_force")
},
get: function(t) {
var e;
return l(this, t) || ((e = document.createElement("_").classList).add("a", "b"), e.toggle("c", !1), this._multiple = e.contains("b"), this._force = !e.contains("c")), this[t]
}
},
Ve = {
"animation-iteration-count": !0,
"column-count": !0,
"fill-opacity": !0,
"flex-grow": !0,
"flex-shrink": !0,
"font-weight": !0,
"line-height": !0,
opacity: !0,
order: !0,
orphans: !0,
"stroke-dasharray": !0,
"stroke-dashoffset": !0,
widows: !0,
"z-index": !0,
zoom: !0
};
function Re(t, e, r) {
return V(t).map(function(i) {
if (D(e)) {
if (e = Ke(e), H(r)) return Ue(i, e);
r || B(r) ? i.style[e] = P(r) && !Ve[e] ? r + "px" : r : i.style.removeProperty(e)
} else {
if (k(e)) {
var n = qe(i);
return e.reduce(function(t, e) {
return t[e] = n[Ke(e)], t
}, {})
}
I(e) && J(e, function(t, e) {
return Re(i, e, t)
})
}
return i
})[0]
}
function qe(t, e) {
return (t = W(t)).ownerDocument.defaultView.getComputedStyle(t, e)
}
function Ue(t, e, i) {
return qe(t, i)[e]
}
var Ye = {};
function Xe(t) {
var e, i = document.documentElement;
return ct ? (t in Ye || (De(e = be(i, document.createElement("div")), "uk-" + t), Ye[t] = Ue(e, "content", ":before").replace(/^["'](.*)["']$/, "$1"), $e(e)), Ye[t]) : qe(i).getPropertyValue("--uk-" + t)
}
var Ge = {};
function Ke(t) {
return Ge[t] || (Ge[t] = function(t) {
t = d(t);
var e = document.documentElement.style;
if (t in e) return t;
var i, n = Je.length;
for (; n--;)
if ((i = "-" + Je[n] + "-" + t) in e) return i
}(t) || t)
}
var Je = ["webkit", "moz", "ms"];
function Ze(t, s, a, h) {
return void 0 === a && (a = 400), void 0 === h && (h = "linear"), ae.all(V(t).map(function(o) {
return new ae(function(i, n) {
for (var t in s) {
var e = Re(o, t);
"" === e && Re(o, t, e)
}
var r = setTimeout(function() {
return Jt(o, "transitionend")
}, a);
Kt(o, "transitionend transitioncanceled", function(t) {
var e = t.type;
clearTimeout(r), Be(o, "uk-transition"), Re(o, {
transitionProperty: "",
transitionDuration: "",
transitionTimingFunction: ""
}), ("transitioncanceled" === e ? n : i)()
}, {
self: !0
}), De(o, "uk-transition"), Re(o, G({
transitionProperty: Object.keys(s).map(Ke).join(","),
transitionDuration: a + "ms",
transitionTimingFunction: h
}, s))
})
}))
}
var Qe = {
start: Ze,
stop: function(t) {
return Jt(t, "transitionend"), ae.resolve()
},
cancel: function(t) {
Jt(t, "transitioncanceled")
},
inProgress: function(t) {
return He(t, "uk-transition")
}
},
ti = "uk-animation-";
function ei(t, e, s, a, h) {
return void 0 === s && (s = 200), ae.all(V(t).map(function(o) {
return new ae(function(i, n) {
Jt(o, "animationcancel");
var r = setTimeout(function() {
return Jt(o, "animationend")
}, s);
Kt(o, "animationend animationcancel", function(t) {
var e = t.type;
clearTimeout(r), ("animationcancel" === e ? n : i)(), Re(o, "animationDuration", ""), Pe(o, ti + "\\S*")
}, {
self: !0
}), Re(o, "animationDuration", s + "ms"), De(o, e, ti + (h ? "leave" : "enter")), w(e, ti) && De(o, a && "uk-transform-origin-" + a, h && ti + "reverse")
})
}))
}
var ii = new RegExp(ti + "(enter|leave)"),
ni = { in: ei,
out: function(t, e, i, n) {
return ei(t, e, i, n, !0)
},
inProgress: function(t) {
return ii.test(ot(t, "class"))
},
cancel: function(t) {
Jt(t, "animationcancel")
}
},
ri = {
width: ["x", "left", "right"],
height: ["y", "top", "bottom"]
};
function oi(t, e, c, l, d, i, n, r) {
c = mi(c), l = mi(l);
var f = {
element: c,
target: l
};
if (!t || !e) return f;
var o, p = ai(t),
m = ai(e),
g = m;
return pi(g, c, p, -1), pi(g, l, m, 1), d = gi(d, p.width, p.height), i = gi(i, m.width, m.height), d.x += i.x, d.y += i.y, g.left += d.x, g.top += d.y, n && (o = [ai(R(t))], r && o.unshift(ai(r)), J(ri, function(t, s) {
var a = t[0],
h = t[1],
u = t[2];
!0 !== n && !b(n, a) || o.some(function(n) {
var t = c[a] === h ? -p[s] : c[a] === u ? p[s] : 0,
e = l[a] === h ? m[s] : l[a] === u ? -m[s] : 0;
if (g[h] < n[h] || g[h] + p[s] > n[u]) {
var i = p[s] / 2,
r = "center" === l[a] ? -m[s] / 2 : 0;
return "center" === c[a] && (o(i, r) || o(-i, -r)) || o(t, e)
}
function o(e, t) {
var i = (g[h] + e + t - 2 * d[a]).toFixed(4);
if (i >= n[h] && i + p[s] <= n[u]) return g[h] = i, ["element", "target"].forEach(function(t) {
f[t][a] = e ? f[t][a] === ri[s][1] ? ri[s][2] : ri[s][1] : f[t][a]
}), !0
}
})
})), si(t, g), f
}
function si(i, n) {
if (!n) return ai(i);
var r = si(i),
o = Re(i, "position");
["left", "top"].forEach(function(t) {
var e;
t in n && (e = Re(i, t), Re(i, t, n[t] - r[t] + j("absolute" === o && "auto" === e ? hi(i)[t] : e)))
})
}
function ai(t) {
if (!t) return {};
var e, i, n = R(t),
r = n.pageYOffset,
o = n.pageXOffset;
if (E(t)) {
var s = t.innerHeight,
a = t.innerWidth;
return {
top: r,
left: o,
height: s,
width: a,
bottom: r + s,
right: o + a
}
}
jt(t) || "none" !== Re(t, "display") || (e = ot(t, "style"), i = ot(t, "hidden"), ot(t, {
style: (e || "") + ";display:block !important;",
hidden: null
}));
var h = (t = W(t)).getBoundingClientRect();
return H(e) || ot(t, {
style: e,
hidden: i
}), {
height: h.height,
width: h.width,
top: h.top + r,
left: h.left + o,
bottom: h.bottom + r,
right: h.right + o
}
}
function hi(t, e) {
e = e || W(t).offsetParent || R(t).document.documentElement;
var i = si(t),
n = si(e);
return {
top: i.top - n.top - j(Re(e, "borderTopWidth")),
left: i.left - n.left - j(Re(e, "borderLeftWidth"))
}
}
function ui(t) {
var e = [0, 0];
t = W(t);
do {
if (e[0] += t.offsetTop, e[1] += t.offsetLeft, "fixed" === Re(t, "position")) {
var i = R(t);
return e[0] += i.pageYOffset, e[1] += i.pageXOffset, e
}
} while (t = t.offsetParent);
return e
}
var ci = di("height"),
li = di("width");
function di(n) {
var r = p(n);
return function(t, e) {
if (H(e)) {
if (E(t)) return t["inner" + r];
if (_(t)) {
var i = t.documentElement;
return Math.max(i["offset" + r], i["scroll" + r])
}
return (e = "auto" === (e = Re(t = W(t), n)) ? t["offset" + r] : j(e) || 0) - fi(t, n)
}
Re(t, n, e || 0 === e ? +e + fi(t, n) + "px" : "")
}
}
function fi(i, t, e) {
return void 0 === e && (e = "border-box"), Re(i, "boxSizing") === e ? ri[t].slice(1).map(p).reduce(function(t, e) {
return t + j(Re(i, "padding" + e)) + j(Re(i, "border" + e + "Width"))
}, 0) : 0
}
function pi(o, s, a, h) {
J(ri, function(t, e) {
var i = t[0],
n = t[1],
r = t[2];
s[i] === r ? o[n] += a[e] * h : "center" === s[i] && (o[n] += a[e] * h / 2)
})
}
function mi(t) {
var e = /left|center|right/,
i = /top|center|bottom/;
return 1 === (t = (t || "").split(" ")).length && (t = e.test(t[0]) ? t.concat("center") : i.test(t[0]) ? ["center"].concat(t) : ["center", "center"]), {
x: e.test(t[0]) ? t[0] : "center",
y: i.test(t[1]) ? t[1] : "center"
}
}
function gi(t, e, i) {
var n = (t || "").split(" "),
r = n[0],
o = n[1];
return {
x: r ? j(r) * (u(r, "%") ? e / 100 : 1) : 0,
y: o ? j(o) * (u(o, "%") ? i / 100 : 1) : 0
}
}
function vi(t) {
switch (t) {
case "left":
return "right";
case "right":
return "left";
case "top":
return "bottom";
case "bottom":
return "top";
default:
return t
}
}
function wi(t, e, i) {
return void 0 === e && (e = "width"), void 0 === i && (i = window), P(t) ? +t : u(t, "vh") ? bi(ci(R(i)), t) : u(t, "vw") ? bi(li(R(i)), t) : u(t, "%") ? bi(ai(i)[e], t) : j(t)
}
function bi(t, e) {
return t * j(e) / 100
}
var xi = {
reads: [],
writes: [],
read: function(t) {
return this.reads.push(t), $i(), t
},
write: function(t) {
return this.writes.push(t), $i(), t
},
clear: function(t) {
return Si(this.reads, t) || Si(this.writes, t)
},
flush: yi
};
function yi(t) {
void 0 === t && (t = 1), Ii(xi.reads), Ii(xi.writes.splice(0, xi.writes.length)), xi.scheduled = !1, (xi.reads.length || xi.writes.length) && $i(t + 1)
}
var ki = 5;
function $i(t) {
if (!xi.scheduled) {
if (xi.scheduled = !0, ki < t) throw new Error("Maximum recursion limit reached.");
t ? ae.resolve().then(function() {
return yi(t)
}) : requestAnimationFrame(function() {
return yi()
})
}
}
function Ii(t) {
for (var e; e = t.shift();) e()
}
function Si(t, e) {
var i = t.indexOf(e);
return !!~i && !!t.splice(i, 1)
}
function Ti() {}
Ti.prototype = {
positions: [],
init: function() {
var e, t = this;
this.positions = [], this.unbind = Xt(document, "mousemove", function(t) {
return e = oe(t)
}), this.interval = setInterval(function() {
e && (t.positions.push(e), 5 < t.positions.length && t.positions.shift())
}, 50)
},
cancel: function() {
this.unbind && this.unbind(), this.interval && clearInterval(this.interval)
},
movesTo: function(t) {
if (this.positions.length < 2) return !1;
var i = t.getBoundingClientRect(),
e = i.left,
n = i.right,
r = i.top,
o = i.bottom,
s = this.positions[0],
a = K(this.positions),
h = [s, a];
return !nt(a, i) && [
[{
x: e,
y: r
}, {
x: n,
y: o
}],
[{
x: e,
y: o
}, {
x: n,
y: r
}]
].some(function(t) {
var e = function(t, e) {
var i = t[0],
n = i.x,
r = i.y,
o = t[1],
s = o.x,
a = o.y,
h = e[0],
u = h.x,
c = h.y,
l = e[1],
d = l.x,
f = l.y,
p = (f - c) * (s - n) - (d - u) * (a - r);
if (0 == p) return !1;
var m = ((d - u) * (r - c) - (f - c) * (n - u)) / p;
if (m < 0) return !1;
return {
x: n + m * (s - n),
y: r + m * (a - r)
}
}(h, t);
return e && nt(e, i)
})
}
};
var Ei = {};
function _i(t, e, i) {
return Ei.computed($(t) ? t.call(i, i) : t, $(e) ? e.call(i, i) : e)
}
function Ci(t, e) {
return t = t && !k(t) ? [t] : t, e ? t ? t.concat(e) : k(e) ? e : [e] : t
}
function Ai(e, i, n) {
var r = {};
if ($(i) && (i = i.options), i.extends && (e = Ai(e, i.extends, n)), i.mixins)
for (var t = 0, o = i.mixins.length; t < o; t++) e = Ai(e, i.mixins[t], n);
for (var s in e) h(s);
for (var a in i) l(e, a) || h(a);
function h(t) {
r[t] = (Ei[t] || function(t, e) {
return H(e) ? t : e
})(e[t], i[t], n)
}
return r
}
function Mi(t, e) {
var i;
void 0 === e && (e = []);
try {
return t ? w(t, "{") ? JSON.parse(t) : e.length && !b(t, ":") ? ((i = {})[e[0]] = t, i) : t.split(";").reduce(function(t, e) {
var i = e.split(/:(.*)/),
n = i[0],
r = i[1];
return n && !H(r) && (t[n.trim()] = r.trim()), t
}, {}) : {}
} catch (t) {
return {}
}
}
Ei.events = Ei.created = Ei.beforeConnect = Ei.connected = Ei.beforeDisconnect = Ei.disconnected = Ei.destroy = Ci, Ei.args = function(t, e) {
return !1 !== e && Ci(e || t)
}, Ei.update = function(t, e) {
return Z(Ci(t, $(e) ? {
read: e
} : e), "order")
}, Ei.props = function(t, e) {
return k(e) && (e = e.reduce(function(t, e) {
return t[e] = String, t
}, {})), Ei.methods(t, e)
}, Ei.computed = Ei.methods = function(t, e) {
return e ? t ? G({}, t, e) : e : t
}, Ei.data = function(e, i, t) {
return t ? _i(e, i, t) : i ? e ? function(t) {
return _i(e, i, t)
} : i : e
};
function Ni(t) {
this.id = ++zi, this.el = W(t)
}
var zi = 0;
function Di(t, e) {
try {
t.contentWindow.postMessage(JSON.stringify(G({
event: "command"
}, e)), "*")
} catch (t) {}
}
function Bi(h, u, c) {
if (void 0 === u && (u = 0), void 0 === c && (c = 0), !jt(h)) return !1;
var l = ji(h);
return l.every(function(t, e) {
var i = si(l[e + 1] || h),
n = si(Fi(t)),
r = n.top,
o = n.left,
s = n.bottom,
a = n.right;
return it(i, {
top: r - u,
left: o - c,
bottom: s + u,
right: a + c
})
})
}
function Pi(t, e) {
(t = (E(t) || _(t) ? Wi : W)(t)).scrollTop = e
}
function Oi(t, e) {
void 0 === e && (e = {});
var c = e.offset;
if (void 0 === c && (c = 0), jt(t)) {
for (var l = ji(t).concat(t), i = ae.resolve(), n = function(u) {
i = i.then(function() {
return new ae(function(i) {
var t, n = l[u],
e = l[u + 1],
r = n.scrollTop,
o = Math.ceil(hi(e, Fi(n)).top - c),
s = (t = Math.abs(o), 40 * Math.pow(t, .375)),
a = Date.now(),
h = function() {
var t, e = (t = tt((Date.now() - a) / s), .5 * (1 - Math.cos(Math.PI * t)));
Pi(n, r + o * e), 1 != e ? requestAnimationFrame(h) : i()
};
h()
})
})
}, r = 0; r < l.length - 1; r++) n(r);
return i
}
}
function Hi(t, e) {
if (void 0 === e && (e = 0), !jt(t)) return 0;
var i = K(Li(t)),
n = i.scrollHeight,
r = i.scrollTop,
o = si(Fi(i)).height,
s = ui(t)[0] - r - ui(i)[0],
a = Math.min(o, s + r);
return tt(-1 * (s - a) / Math.min(si(t).height + e + a, n - (s + r), n - o))
}
function Li(t, e) {
void 0 === e && (e = /auto|scroll/);
var i = Wi(t),
n = Ut(t).filter(function(t) {
return t === i || e.test(Re(t, "overflow")) && t.scrollHeight > Math.round(si(t).height)
}).reverse();
return n.length ? n : [i]
}
function Fi(t) {
return t === Wi(t) ? window : t
}
function ji(t) {
return Li(t, /auto|scroll|hidden/)
}
function Wi(t) {
var e = R(t).document;
return e.scrollingElement || e.documentElement
}
Ni.prototype.isVideo = function() {
return this.isYoutube() || this.isVimeo() || this.isHTML5()
}, Ni.prototype.isHTML5 = function() {
return "VIDEO" === this.el.tagName
}, Ni.prototype.isIFrame = function() {
return "IFRAME" === this.el.tagName
}, Ni.prototype.isYoutube = function() {
return this.isIFrame() && !!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)
}, Ni.prototype.isVimeo = function() {
return this.isIFrame() && !!this.el.src.match(/vimeo\.com\/video\/.*/)
}, Ni.prototype.enableApi = function() {
var e = this;
if (this.ready) return this.ready;
var i, r = this.isYoutube(),
o = this.isVimeo();
return r || o ? this.ready = new ae(function(t) {
var n;
Kt(e.el, "load", function() {
var t;
r && (t = function() {
return Di(e.el, {
event: "listening",
id: e.id
})
}, i = setInterval(t, 100), t())
}), n = function(t) {
return r && t.id === e.id && "onReady" === t.event || o && Number(t.player_id) === e.id
}, new ae(function(i) {
return Kt(window, "message", function(t, e) {
return i(e)
}, !1, function(t) {
var e = t.data;
if (e && D(e)) {
try {
e = JSON.parse(e)
} catch (t) {
return
}
return e && n(e)
}
})
}).then(function() {
t(), i && clearInterval(i)
}), ot(e.el, "src", e.el.src + (b(e.el.src, "?") ? "&" : "?") + (r ? "enablejsapi=1" : "api=1&player_id=" + e.id))
}) : ae.resolve()
}, Ni.prototype.play = function() {
var t = this;
if (this.isVideo())
if (this.isIFrame()) this.enableApi().then(function() {
return Di(t.el, {
func: "playVideo",
method: "play"
})
});
else if (this.isHTML5()) try {
var e = this.el.play();
e && e.catch(et)
} catch (t) {}
}, Ni.prototype.pause = function() {
var t = this;
this.isVideo() && (this.isIFrame() ? this.enableApi().then(function() {
return Di(t.el, {
func: "pauseVideo",
method: "pause"
})
}) : this.isHTML5() && this.el.pause())
}, Ni.prototype.mute = function() {
var t = this;
this.isVideo() && (this.isIFrame() ? this.enableApi().then(function() {
return Di(t.el, {
func: "mute",
method: "setVolume",
value: 0
})
}) : this.isHTML5() && (this.el.muted = !0, ot(this.el, "muted", "")))
};
var Vi = ut && window.IntersectionObserver || function() {
function t(e, t) {
var i = this;
void 0 === t && (t = {});
var n = t.rootMargin;
void 0 === n && (n = "0 0"), this.targets = [];
var r, o = (n || "0 0").split(" ").map(j),
s = o[0],
a = o[1];
this.offsetTop = s, this.offsetLeft = a, this.apply = function() {
r = r || requestAnimationFrame(function() {
return setTimeout(function() {
var t = i.takeRecords();
t.length && e(t, i), r = !1
})
})
}, this.off = Xt(window, "scroll resize load", this.apply, {
passive: !0,
capture: !0
})
}
return t.prototype.takeRecords = function() {
var i = this;
return this.targets.filter(function(t) {
var e = Bi(t.target, i.offsetTop, i.offsetLeft);
if (null === t.isIntersecting || e ^ t.isIntersecting) return t.isIntersecting = e, !0
})
}, t.prototype.observe = function(t) {
this.targets.push({
target: t,
isIntersecting: null
}), this.apply()
}, t.prototype.disconnect = function() {
this.targets = [], this.off()
}, t
}();
function Ri(t) {
return !(!w(t, "uk-") && !w(t, "data-uk-")) && f(t.replace("data-uk-", "").replace("uk-", ""))
}
function qi(t) {
this._init(t)
}
var Ui, Yi, Xi, Gi, Ki, Ji, Zi, Qi, tn;
function en(t, e) {
if (t)
for (var i in t) t[i]._connected && t[i]._callUpdate(e)
}
function nn(t, e) {
var i = {},
n = t.args;
void 0 === n && (n = []);
var r = t.props;
void 0 === r && (r = {});
var o = t.el;
if (!r) return i;
for (var s in r) {
var a = d(s),
h = ht(o, a);
H(h) || (h = r[s] === Boolean && "" === h || on(r[s], h), ("target" !== a || h && !w(h, "_")) && (i[s] = h))
}
var u = Mi(ht(o, e), n);
for (var c in u) {
var l = f(c);
void 0 !== r[l] && (i[l] = on(r[l], u[c]))
}
return i
}
function rn(e, i, n) {
T(i) || (i = {
name: n,
handler: i
});
var t = i.name,
r = i.el,
o = i.handler,
s = i.capture,
a = i.passive,
h = i.delegate,
u = i.filter,
c = i.self,
r = $(r) ? r.call(e) : r || e.$el;
k(r) ? r.forEach(function(t) {
return rn(e, G({}, i, {
el: t
}), n)
}) : !r || u && !u.call(e) || e._events.push(Xt(r, t, h ? D(h) ? h : h.call(e) : null, D(o) ? e[o] : o.bind(e), {
passive: a,
capture: s,
self: c
}))
}
function on(t, e) {
return t === Boolean ? L(e) : t === Number ? F(e) : "list" === t ? q(e) : t ? t(e) : e
}
qi.util = Object.freeze({
__proto__: null,
ajax: de,
getImage: fe,
transition: Ze,
Transition: Qe,
animate: ei,
Animation: ni,
attr: ot,
hasAttr: st,
removeAttr: at,
data: ht,
addClass: De,
removeClass: Be,
removeClasses: Pe,
replaceClass: Oe,
hasClass: He,
toggleClass: Le,
positionAt: oi,
offset: si,
position: hi,
offsetPosition: ui,
height: ci,
width: li,
boxModelAdjust: fi,
flipPosition: vi,
toPx: wi,
ready: pe,
index: me,
getIndex: ge,
empty: ve,
html: we,
prepend: function(e, t) {
return (e = Me(e)).hasChildNodes() ? ke(t, function(t) {
return e.insertBefore(t, e.firstChild)
}) : be(e, t)
},
append: be,
before: xe,
after: ye,
remove: $e,
wrapAll: Ie,
wrapInner: Se,
unwrap: Te,
fragment: Ce,
apply: Ae,
$: Me,
$$: Ne,
inBrowser: ut,
isIE: ct,
isRtl: lt,
hasTouch: pt,
pointerDown: mt,
pointerMove: gt,
pointerUp: vt,
pointerEnter: wt,
pointerLeave: bt,
pointerCancel: xt,
on: Xt,
off: Gt,
once: Kt,
trigger: Jt,
createEvent: Zt,
toEventTargets: ne,
isTouch: re,
getEventPos: oe,
fastdom: xi,
isVoidElement: Ft,
isVisible: jt,
selInput: Wt,
isInput: Vt,
filter: Rt,
within: qt,
parents: Ut,
children: Yt,
hasOwn: l,
hyphenate: d,
camelize: f,
ucfirst: p,
startsWith: w,
endsWith: u,
includes: b,
findIndex: y,
isArray: k,
isFunction: $,
isObject: I,
isPlainObject: T,
isWindow: E,
isDocument: _,
isJQuery: C,
isNode: A,
isElement: M,
isNodeCollection: N,
isBoolean: z,
isString: D,
isNumber: B,
isNumeric: P,
isEmpty: O,
isUndefined: H,
toBoolean: L,
toNumber: F,
toFloat: j,
toNode: W,
toNodes: V,
toWindow: R,
toList: q,
toMs: U,
isEqual: Y,
swap: X,
assign: G,
last: K,
each: J,
sortBy: Z,
uniqueBy: Q,
clamp: tt,
noop: et,
intersectRect: it,
pointInRect: nt,
Dimensions: rt,
MouseTracker: Ti,
mergeOptions: Ai,
parseOptions: Mi,
Player: Ni,
Promise: ae,
Deferred: se,
IntersectionObserver: Vi,
query: yt,
queryAll: kt,
find: It,
findAll: St,
matches: zt,
closest: Bt,
parent: Pt,
escape: Ht,
css: Re,
getStyles: qe,
getStyle: Ue,
getCssVar: Xe,
propName: Ke,
isInView: Bi,
scrollTop: Pi,
scrollIntoView: Oi,
scrolledOver: Hi,
scrollParents: Li,
getViewport: Fi
}), qi.data = "__uikit__", qi.prefix = "uk-", qi.options = {}, qi.version = "3.5.3", Xi = (Ui = qi).data, Ui.use = function(t) {
if (!t.installed) return t.call(null, this), t.installed = !0, this
}, Ui.mixin = function(t, e) {
(e = (D(e) ? Ui.component(e) : e) || this).options = Ai(e.options, t)
}, Ui.extend = function(t) {
t = t || {};
function e(t) {
this._init(t)
}
return ((e.prototype = Object.create(this.prototype)).constructor = e).options = Ai(this.options, t), e.super = this, e.extend = this.extend, e
}, Ui.update = function(t, e) {
Ut(t = t ? W(t) : document.body).reverse().forEach(function(t) {
return en(t[Xi], e)
}), Ae(t, function(t) {
return en(t[Xi], e)
})
}, Object.defineProperty(Ui, "container", {
get: function() {
return Yi || document.body
},
set: function(t) {
Yi = Me(t)
}
}), (Gi = qi).prototype._callHook = function(t) {
var e = this,
i = this.$options[t];
i && i.forEach(function(t) {
return t.call(e)
})
}, Gi.prototype._callConnected = function() {
this._connected || (this._data = {}, this._computeds = {}, this._frames = {
reads: {},
writes: {}
}, this._initProps(), this._callHook("beforeConnect"), this._connected = !0, this._initEvents(), this._initObserver(), this._callHook("connected"), this._callUpdate())
}, Gi.prototype._callDisconnected = function() {
this._connected && (this._callHook("beforeDisconnect"), this._observer && (this._observer.disconnect(), this._observer = null), this._unbindEvents(), this._callHook("disconnected"), this._connected = !1)
}, Gi.prototype._callUpdate = function(t) {
var o = this;
void 0 === t && (t = "update");
var s = t.type || t;
b(["update", "resize"], s) && this._callWatches();
var e = this.$options.update,
i = this._frames,
a = i.reads,
h = i.writes;
e && e.forEach(function(t, e) {
var i = t.read,
n = t.write,
r = t.events;
"update" !== s && !b(r, s) || (i && !b(xi.reads, a[e]) && (a[e] = xi.read(function() {
var t = o._connected && i.call(o, o._data, s);
!1 === t && n ? xi.clear(h[e]) : T(t) && G(o._data, t)
})), n && !b(xi.writes, h[e]) && (h[e] = xi.write(function() {
return o._connected && n.call(o, o._data, s)
})))
})
}, Gi.prototype._callWatches = function() {
var h, u = this,
c = this._frames;
c._watch || (h = !l(c, "_watch"), c._watch = xi.read(function() {
if (u._connected) {
var t = u.$options.computed,
e = u._computeds;
for (var i in t) {
var n = l(e, i),
r = e[i];
delete e[i];
var o = t[i],
s = o.watch,
a = o.immediate;
s && (h && a || n && !Y(r, u[i])) && s.call(u, u[i], r)
}
c._watch = null
}
}))
}, Ji = 0, (Ki = qi).prototype._init = function(t) {
(t = t || {}).data = function(t, e) {
var i = t.data,
n = (t.el, e.args),
r = e.props;
void 0 === r && (r = {});
if (i = k(i) ? O(n) ? void 0 : i.slice(0, n.length).reduce(function(t, e, i) {
return T(e) ? G(t, e) : t[n[i]] = e, t
}, {}) : i)
for (var o in i) H(i[o]) ? delete i[o] : i[o] = r[o] ? on(r[o], i[o]) : i[o];
return i
}(t, this.constructor.options), this.$options = Ai(this.constructor.options, t, this), this.$el = null, this.$props = {}, this._uid = Ji++, this._initData(), this._initMethods(), this._initComputeds(), this._callHook("created"), t.el && this.$mount(t.el)
}, Ki.prototype._initData = function() {
var t = this.$options.data;
for (var e in void 0 === t && (t = {}), t) this.$props[e] = this[e] = t[e]
}, Ki.prototype._initMethods = function() {
var t = this.$options.methods;
if (t)
for (var e in t) this[e] = t[e].bind(this)
}, Ki.prototype._initComputeds = function() {
var t = this.$options.computed;
if (this._computeds = {}, t)
for (var e in t) ! function(n, r, o) {
Object.defineProperty(n, r, {
enumerable: !0,
get: function() {
var t = n._computeds,
e = n.$props,
i = n.$el;
return l(t, r) || (t[r] = (o.get || o).call(n, e, i)), t[r]
},
set: function(t) {
var e = n._computeds;
e[r] = o.set ? o.set.call(n, t) : t, H(e[r]) && delete e[r]
}
})
}(this, e, t[e])
}, Ki.prototype._initProps = function(t) {
var e;
for (e in t = t || nn(this.$options, this.$name)) H(t[e]) || (this.$props[e] = t[e]);
var i = [this.$options.computed, this.$options.methods];
for (e in this.$props) e in t && function(t, e) {
return t.every(function(t) {
return !t || !l(t, e)
})
}(i, e) && (this[e] = this.$props[e])
}, Ki.prototype._initEvents = function() {
var i = this;
this._events = [];
var t = this.$options.events;
t && t.forEach(function(t) {
if (l(t, "handler")) rn(i, t);
else
for (var e in t) rn(i, t[e], e)
})
}, Ki.prototype._unbindEvents = function() {
this._events.forEach(function(t) {
return t()
}), delete this._events
}, Ki.prototype._initObserver = function() {
var t, n = this,
e = this.$options,
r = e.attrs,
i = e.props,
o = e.el;
!this._observer && i && !1 !== r && (r = k(r) ? r : Object.keys(i), this._observer = new MutationObserver(function(t) {
var i = nn(n.$options, n.$name);
t.some(function(t) {
var e = t.attributeName.replace("data-", "");
return (e === n.$name ? r : [f(e)]).some(function(t) {
return !H(i[t]) && i[t] !== n.$props[t]
})
}) && n.$reset()
}), t = r.map(d).concat(this.$name), this._observer.observe(o, {
attributes: !0,
attributeFilter: t.concat(t.map(function(t) {
return "data-" + t
}))
}))
}, Qi = (Zi = qi).data, tn = {}, Zi.component = function(s, t) {
var e = d(s);
if (s = f(e), !t) return T(tn[s]) && (tn[s] = Zi.extend(tn[s])), tn[s];
Zi[s] = function(t, i) {
for (var e = arguments.length, n = Array(e); e--;) n[e] = arguments[e];
var r = Zi.component(s);
return r.options.functional ? new r({
data: T(t) ? t : [].concat(n)
}) : t ? Ne(t).map(o)[0] : o(t);
function o(t) {
var e = Zi.getComponent(t, s);
if (e) {
if (!i) return e;
e.$destroy()
}
return new r({
el: t,
data: i
})
}
};
var i = T(t) ? G({}, t) : t.options;
return i.name = s, i.install && i.install(Zi, i, s), Zi._initialized && !i.functional && xi.read(function() {
return Zi[s]("[uk-" + e + "],[data-uk-" + e + "]")
}), tn[s] = T(t) ? i : t
}, Zi.getComponents = function(t) {
return t && t[Qi] || {}
}, Zi.getComponent = function(t, e) {
return Zi.getComponents(t)[e]
}, Zi.connect = function(t) {
if (t[Qi])
for (var e in t[Qi]) t[Qi][e]._callConnected();
for (var i = 0; i < t.attributes.length; i++) {
var n = Ri(t.attributes[i].name);
n && n in tn && Zi[n](t)
}
}, Zi.disconnect = function(t) {
for (var e in t[Qi]) t[Qi][e]._callDisconnected()
},
function(n) {
var r = n.data;
n.prototype.$create = function(t, e, i) {
return n[t](e, i)
}, n.prototype.$mount = function(t) {
var e = this.$options.name;
t[r] || (t[r] = {}), t[r][e] || ((t[r][e] = this).$el = this.$options.el = this.$options.el || t, qt(t, document) && this._callConnected())
}, n.prototype.$reset = function() {
this._callDisconnected(), this._callConnected()
}, n.prototype.$destroy = function(t) {
void 0 === t && (t = !1);
var e = this.$options,
i = e.el,
n = e.name;
i && this._callDisconnected(), this._callHook("destroy"), i && i[r] && (delete i[r][n], O(i[r]) || delete i[r], t && $e(this.$el))
}, n.prototype.$emit = function(t) {
this._callUpdate(t)
}, n.prototype.$update = function(t, e) {
void 0 === t && (t = this.$el), n.update(t, e)
}, n.prototype.$getComponent = n.getComponent;
var e = {};
Object.defineProperties(n.prototype, {
$container: Object.getOwnPropertyDescriptor(n, "container"),
$name: {
get: function() {
var t = this.$options.name;
return e[t] || (e[t] = n.prefix + d(t)), e[t]
}
}
})
}(qi);
var sn = {
connected: function() {
He(this.$el, this.$name) || De(this.$el, this.$name)
}
},
an = {
props: {
cls: Boolean,
animation: "list",
duration: Number,
origin: String,
transition: String
},
data: {
cls: !1,
animation: [!1],
duration: 200,
origin: !1,
transition: "linear",
initProps: {
overflow: "",
height: "",
paddingTop: "",
paddingBottom: "",
marginTop: "",
marginBottom: ""
},
hideProps: {
overflow: "hidden",
height: 0,
paddingTop: 0,
paddingBottom: 0,
marginTop: 0,
marginBottom: 0
}
},
computed: {
hasAnimation: function(t) {
return !!t.animation[0]
},
hasTransition: function(t) {
var e = t.animation;
return this.hasAnimation && !0 === e[0]
}
},
methods: {
toggleElement: function(t, i, n) {
var r = this;
return ae.all(V(t).map(function(e) {
return new ae(function(t) {
return r._toggleElement(e, i, n).then(t, et)
})
}))
},
isToggled: function(t) {
var e = V(t || this.$el);
return this.cls ? He(e, this.cls.split(" ")[0]) : !st(e, "hidden")
},
updateAria: function(t) {
!1 === this.cls && ot(t, "aria-hidden", !this.isToggled(t))
},
_toggleElement: function(t, e, i) {
var n = this;
if (e = z(e) ? e : ni.inProgress(t) ? He(t, "uk-animation-leave") : Qe.inProgress(t) ? "0px" === t.style.height : !this.isToggled(t), !Jt(t, "before" + (e ? "show" : "hide"), [this])) return ae.reject();
var o, r = ($(i) ? i : !1 !== i && this.hasAnimation ? this.hasTransition ? hn(this) : (o = this, function(t, e) {
ni.cancel(t);
var i = o.animation,
n = o.duration,
r = o._toggle;
return e ? (r(t, !0), ni.in(t, i[0], n, o.origin)) : ni.out(t, i[1] || i[0], n, o.origin).then(function() {
return r(t, !1)
})
}) : this._toggle)(t, e);
Jt(t, e ? "show" : "hide", [this]);
return (r || ae.resolve()).then(function() {
Jt(t, e ? "shown" : "hidden", [n]), n.$update(t)
})
},
_toggle: function(t, e) {
var i;
t && (e = Boolean(e), this.cls ? (i = b(this.cls, " ") || e !== He(t, this.cls)) && Le(t, this.cls, b(this.cls, " ") ? void 0 : e) : (i = e === st(t, "hidden")) && ot(t, "hidden", e ? null : ""), Ne("[autofocus]", t).some(function(t) {
return jt(t) ? t.focus() || !0 : t.blur()
}), this.updateAria(t), i && (Jt(t, "toggled", [this]), this.$update(t)))
}
}
};
function hn(t) {
var s = t.isToggled,
a = t.duration,
h = t.initProps,
u = t.hideProps,
c = t.transition,
l = t._toggle;
return function(t, e) {
var i = Qe.inProgress(t),
n = t.hasChildNodes ? j(Re(t.firstElementChild, "marginTop")) + j(Re(t.lastElementChild, "marginBottom")) : 0,
r = jt(t) ? ci(t) + (i ? 0 : n) : 0;
Qe.cancel(t), s(t) || l(t, !0), ci(t, ""), xi.flush();
var o = ci(t) + (i ? 0 : n);
return ci(t, r), (e ? Qe.start(t, G({}, h, {
overflow: "hidden",
height: o
}), Math.round(a * (1 - r / o)), c) : Qe.start(t, u, Math.round(a * (r / o)), c).then(function() {
return l(t, !1)
})).then(function() {
return Re(t, h)
})
}
}
var un = {
mixins: [sn, an],
props: {
targets: String,
active: null,
collapsible: Boolean,
multiple: Boolean,
toggle: String,
content: String,
transition: String,
offset: Number
},
data: {
targets: "> *",
active: !1,
animation: [!0],
collapsible: !0,
multiple: !1,
clsOpen: "uk-open",
toggle: "> .uk-accordion-title",
content: "> .uk-accordion-content",
transition: "ease",
offset: 0
},
computed: {
items: {
get: function(t, e) {
return Ne(t.targets, e)
},
watch: function(t, e) {
var i, n = this;
t.forEach(function(t) {
return cn(Me(n.content, t), !He(t, n.clsOpen))
}), e || He(t, this.clsOpen) || (i = !1 !== this.active && t[Number(this.active)] || !this.collapsible && t[0]) && this.toggle(i, !1)
},
immediate: !0
}
},
events: [{
name: "click",
delegate: function() {
return this.targets + " " + this.$props.toggle
},
handler: function(t) {
t.preventDefault(), this.toggle(me(Ne(this.targets + " " + this.$props.toggle, this.$el), t.current))
}
}],
methods: {
toggle: function(t, r) {
var o = this,
e = [this.items[ge(t, this.items)]],
i = Rt(this.items, "." + this.clsOpen);
this.multiple || b(i, e[0]) || (e = e.concat(i)), (this.collapsible || Rt(e, ":not(." + this.clsOpen + ")").length) && e.forEach(function(t) {
return o.toggleElement(t, !He(t, o.clsOpen), function(e, i) {
Le(e, o.clsOpen, i);
var n = Me((e._wrapper ? "> * " : "") + o.content, e);
if (!1 !== r && o.hasTransition) return e._wrapper || (e._wrapper = Ie(n, "
")), cn(n, !1), hn(o)(e._wrapper, i).then(function() {
var t;
cn(n, !i), delete e._wrapper, Te(n), i && (Bi(t = Me(o.$props.toggle, e)) || Oi(t, {
offset: o.offset
}))
});
cn(n, !i)
})
})
}
}
};
function cn(t, e) {
ot(t, "hidden", e ? "" : null)
}
var ln = {
mixins: [sn, an],
args: "animation",
props: {
close: String
},
data: {
animation: [!0],
selClose: ".uk-alert-close",
duration: 150,
hideProps: G({
opacity: 0
}, an.data.hideProps)
},
events: [{
name: "click",
delegate: function() {
return this.selClose
},
handler: function(t) {
t.preventDefault(), this.close()
}
}],
methods: {
close: function() {
var t = this;
this.toggleElement(this.$el).then(function() {
return t.$destroy(!0)
})
}
}
},
dn = {
args: "autoplay",
props: {
automute: Boolean,
autoplay: Boolean
},
data: {
automute: !1,
autoplay: !0
},
computed: {
inView: function(t) {
return "inview" === t.autoplay
}
},
connected: function() {
this.inView && !st(this.$el, "preload") && (this.$el.preload = "none"), this.player = new Ni(this.$el), this.automute && this.player.mute()
},
update: {
read: function() {
return !!this.player && {
visible: jt(this.$el) && "hidden" !== Re(this.$el, "visibility"),
inView: this.inView && Bi(this.$el)
}
},
write: function(t) {
var e = t.visible,
i = t.inView;
!e || this.inView && !i ? this.player.pause() : (!0 === this.autoplay || this.inView && i) && this.player.play()
},
events: ["resize", "scroll"]
}
},
fn = {
mixins: [sn, dn],
props: {
width: Number,
height: Number
},
data: {
automute: !0
},
update: {
read: function() {
var t = this.$el,
e = function(t) {
for (; t = Pt(t);)
if ("static" !== Re(t, "position")) return t
}(t) || t.parentNode,
i = e.offsetHeight,
n = e.offsetWidth,
r = rt.cover({
width: this.width || t.naturalWidth || t.videoWidth || t.clientWidth,
height: this.height || t.naturalHeight || t.videoHeight || t.clientHeight
}, {
width: n + (n % 2 ? 1 : 0),
height: i + (i % 2 ? 1 : 0)
});
return !(!r.width || !r.height) && r
},
write: function(t) {
var e = t.height,
i = t.width;
Re(this.$el, {
height: e,
width: i
})
},
events: ["resize"]
}
};
var pn, mn = {
props: {
pos: String,
offset: null,
flip: Boolean,
clsPos: String
},
data: {
pos: "bottom-" + (lt ? "right" : "left"),
flip: !0,
offset: !1,
clsPos: ""
},
computed: {
pos: function(t) {
var e = t.pos;
return (e + (b(e, "-") ? "" : "-center")).split("-")
},
dir: function() {
return this.pos[0]
},
align: function() {
return this.pos[1]
}
},
methods: {
positionAt: function(t, e, i) {
var n;
Pe(t, this.clsPos + "-(top|bottom|left|right)(-[a-z]+)?");
var r = this.offset,
o = this.getAxis();
P(r) || (r = (n = Me(r)) ? si(n)["x" === o ? "left" : "top"] - si(e)["x" === o ? "right" : "bottom"] : 0);
var s = oi(t, e, "x" === o ? vi(this.dir) + " " + this.align : this.align + " " + vi(this.dir), "x" === o ? this.dir + " " + this.align : this.align + " " + this.dir, "x" === o ? "" + ("left" === this.dir ? -r : r) : " " + ("top" === this.dir ? -r : r), null, this.flip, i).target,
a = s.x,
h = s.y;
this.dir = "x" === o ? a : h, this.align = "x" === o ? h : a, Le(t, this.clsPos + "-" + this.dir + "-" + this.align, !1 === this.offset)
},
getAxis: function() {
return "top" === this.dir || "bottom" === this.dir ? "y" : "x"
}
}
},
gn = {
mixins: [mn, an],
args: "pos",
props: {
mode: "list",
toggle: Boolean,
boundary: Boolean,
boundaryAlign: Boolean,
delayShow: Number,
delayHide: Number,
clsDrop: String
},
data: {
mode: ["click", "hover"],
toggle: "- *",
boundary: ut && window,
boundaryAlign: !1,
delayShow: 0,
delayHide: 800,
clsDrop: !1,
animation: ["uk-animation-fade"],
cls: "uk-open"
},
computed: {
boundary: function(t, e) {
return yt(t.boundary, e)
},
clsDrop: function(t) {
return t.clsDrop || "uk-" + this.$options.name
},
clsPos: function() {
return this.clsDrop
}
},
created: function() {
this.tracker = new Ti
},
connected: function() {
De(this.$el, this.clsDrop);
var t = this.$props.toggle;
this.toggle = t && this.$create("toggle", yt(t, this.$el), {
target: this.$el,
mode: this.mode
}), this.toggle || Jt(this.$el, "updatearia")
},
disconnected: function() {
this.isActive() && (pn = null)
},
events: [{
name: "click",
delegate: function() {
return "." + this.clsDrop + "-close"
},
handler: function(t) {
t.preventDefault(), this.hide(!1)
}
}, {
name: "click",
delegate: function() {
return 'a[href^="#"]'
},
handler: function(t) {
var e = t.defaultPrevented,
i = t.current.hash;
e || !i || qt(i, this.$el) || this.hide(!1)
}
}, {
name: "beforescroll",
handler: function() {
this.hide(!1)
}
}, {
name: "toggle",
self: !0,
handler: function(t, e) {
t.preventDefault(), this.isToggled() ? this.hide(!1) : this.show(e, !1)
}
}, {
name: "toggleshow",
self: !0,
handler: function(t, e) {
t.preventDefault(), this.show(e)
}
}, {
name: "togglehide",
self: !0,
handler: function(t) {
t.preventDefault(), this.hide()
}
}, {
name: wt,
filter: function() {
return b(this.mode, "hover")
},
handler: function(t) {
re(t) || this.clearTimers()
}
}, {
name: bt,
filter: function() {
return b(this.mode, "hover")
},
handler: function(t) {
re(t) || this.hide()
}
}, {
name: "toggled",
self: !0,
handler: function() {
this.isToggled() && (this.clearTimers(), this.position())
}
}, {
name: "show",
self: !0,
handler: function() {
var o = this;
(pn = this).tracker.init(), Jt(this.$el, "updatearia"), Kt(this.$el, "hide", Xt(document, mt, function(t) {
var r = t.target;
return !qt(r, o.$el) && Kt(document, vt + " " + xt + " scroll", function(t) {
var e = t.defaultPrevented,
i = t.type,
n = t.target;
e || i !== vt || r !== n || o.toggle && qt(r, o.toggle.$el) || o.hide(!1)
}, !0)
}), {
self: !0
}), Kt(this.$el, "hide", Xt(document, "keydown", function(t) {
27 === t.keyCode && (t.preventDefault(), o.hide(!1))
}), {
self: !0
})
}
}, {
name: "beforehide",
self: !0,
handler: function() {
this.clearTimers()
}
}, {
name: "hide",
handler: function(t) {
var e = t.target;
this.$el === e ? (pn = this.isActive() ? null : pn, Jt(this.$el, "updatearia"), this.tracker.cancel()) : pn = null === pn && qt(e, this.$el) && this.isToggled() ? this : pn
}
}, {
name: "updatearia",
self: !0,
handler: function(t, e) {
t.preventDefault(), this.updateAria(this.$el), (e || this.toggle) && (ot((e || this.toggle).$el, "aria-expanded", this.isToggled()), Le(this.toggle.$el, this.cls, this.isToggled()))
}
}],
update: {
write: function() {
this.isToggled() && !ni.inProgress(this.$el) && this.position()
},
events: ["resize"]
},
methods: {
show: function(t, e) {
var i, n = this;
if (void 0 === t && (t = this.toggle), void 0 === e && (e = !0), this.isToggled() && t && this.toggle && t.$el !== this.toggle.$el && this.hide(!1), this.toggle = t, this.clearTimers(), !this.isActive()) {
if (pn) {
if (e && pn.isDelaying) return void(this.showTimer = setTimeout(this.show, 10));
for (; pn && i !== pn && !qt(this.$el, pn.$el);)(i = pn).hide(!1)
}
this.showTimer = setTimeout(function() {
return !n.isToggled() && n.toggleElement(n.$el, !0)
}, e && this.delayShow || 0)
}
},
hide: function(t) {
var e = this;
void 0 === t && (t = !0);
function i() {
return e.toggleElement(e.$el, !1, !1)
}
var n, r;
this.clearTimers(), this.isDelaying = (n = this.$el, r = [], Ae(n, function(t) {
return "static" !== Re(t, "position") && r.push(t)
}), r.some(function(t) {
return e.tracker.movesTo(t)
})), t && this.isDelaying ? this.hideTimer = setTimeout(this.hide, 50) : t && this.delayHide ? this.hideTimer = setTimeout(i, this.delayHide) : i()
},
clearTimers: function() {
clearTimeout(this.showTimer), clearTimeout(this.hideTimer), this.showTimer = null, this.hideTimer = null, this.isDelaying = !1
},
isActive: function() {
return pn === this
},
position: function() {
Be(this.$el, this.clsDrop + "-stack"), Le(this.$el, this.clsDrop + "-boundary", this.boundaryAlign);
var t, e = si(this.boundary),
i = this.boundaryAlign ? e : si(this.toggle.$el);
"justify" === this.align ? (t = "y" === this.getAxis() ? "width" : "height", Re(this.$el, t, i[t])) : this.$el.offsetWidth > Math.max(e.right - i.left, i.right - e.left) && De(this.$el, this.clsDrop + "-stack"), this.positionAt(this.$el, this.boundaryAlign ? this.boundary : this.toggle.$el, this.boundary)
}
}
};
var vn = {
mixins: [sn],
args: "target",
props: {
target: Boolean
},
data: {
target: !1
},
computed: {
input: function(t, e) {
return Me(Wt, e)
},
state: function() {
return this.input.nextElementSibling
},
target: function(t, e) {
var i = t.target;
return i && (!0 === i && this.input.parentNode === e && this.input.nextElementSibling || yt(i, e))
}
},
update: function() {
var t, e, i, n = this.target,
r = this.input;
!n || n[e = Vt(n) ? "value" : "textContent"] !== (i = r.files && r.files[0] ? r.files[0].name : zt(r, "select") && (t = Ne("option", r).filter(function(t) {
return t.selected
})[0]) ? t.textContent : r.value) && (n[e] = i)
},
events: [{
name: "change",
handler: function() {
this.$update()
}
}, {
name: "reset",
el: function() {
return Bt(this.$el, "form")
},
handler: function() {
this.$update()
}
}]
},
wn = {
update: {
read: function(t) {
var e = Bi(this.$el);
if (!e || t.isInView === e) return !1;
t.isInView = e
},
write: function() {
this.$el.src = "" + this.$el.src
},
events: ["scroll", "resize"]
}
},
bn = {
props: {
margin: String,
firstColumn: Boolean
},
data: {
margin: "uk-margin-small-top",
firstColumn: "uk-first-column"
},
update: {
read: function() {
return {
columns: (t = this.$el.children, e = yn(t, "left", "right"), lt ? e.reverse() : e),
rows: xn(this.$el.children)
};
var t, e
},
write: function(t) {
var i = this,
n = t.columns;
t.rows.forEach(function(t, e) {
return t.forEach(function(t) {
Le(t, i.margin, 0 !== e), Le(t, i.firstColumn, b(n[0], t))
})
})
},
events: ["resize"]
}
};
function xn(t) {
return yn(t, "top", "bottom")
}
function yn(t, e, i) {
for (var n = [
[]
], r = 0; r < t.length; r++) {
var o = t[r];
if (jt(o))
for (var s = kn(o), a = n.length - 1; 0 <= a; a--) {
var h = n[a];
if (!h[0]) {
h.push(o);
break
}
var u = void 0,
u = h[0].offsetParent === o.offsetParent ? kn(h[0]) : (s = kn(o, !0), kn(h[0], !0));
if (s[e] >= u[i] - 1 && s[e] !== u[e]) {
n.push([o]);
break
}
if (s[i] - 1 > u[e] || s[e] === u[e]) {
h.push(o);
break
}
if (0 === a) {
n.unshift([o]);
break
}
}
}
return n
}
function kn(t, e) {
var i;
void 0 === e && (e = !1);
var n = t.offsetTop,
r = t.offsetLeft,
o = t.offsetHeight,
s = t.offsetWidth;
return e && (n = (i = ui(t))[0], r = i[1]), {
top: n,
left: r,
bottom: n + o,
right: r + s
}
}
var $n = {
extends: bn,
mixins: [sn],
name: "grid",
props: {
masonry: Boolean,
parallax: Number
},
data: {
margin: "uk-grid-margin",
clsStack: "uk-grid-stack",
masonry: !1,
parallax: 0
},
connected: function() {
this.masonry && De(this.$el, "uk-flex-top uk-flex-wrap-top")
},
update: [{
write: function(t) {
var e = t.columns;
Le(this.$el, this.clsStack, e.length < 2)
},
events: ["resize"]
}, {
read: function(t) {
var e = t.columns,
i = t.rows,
n = Yt(this.$el);
if (!n.length || !this.masonry && !this.parallax) return !1;
var r, o, s, a, h, u = n.some(Qe.inProgress),
c = !1,
l = e.map(function(t) {
return t.reduce(function(t, e) {
return t + e.offsetHeight
}, 0)
}),
d = (r = n, o = this.margin, j((s = r.filter(function(t) {
return He(t, o)
})[0]) ? Re(s, "marginTop") : Re(r[0], "paddingLeft")) * (i.length - 1)),
f = Math.max.apply(Math, l) + d;
this.masonry && (e = e.map(function(t) {
return Z(t, "offsetTop")
}), a = e, h = i.map(function(t) {
return Math.max.apply(Math, t.map(function(t) {
return t.offsetHeight
}))
}), c = a.map(function(i) {
var n = 0;
return i.map(function(t, e) {
return n += e ? h[e - 1] - i[e - 1].offsetHeight : 0
})
}));
var p = Math.abs(this.parallax);
return {
padding: p = p && l.reduce(function(t, e, i) {
return Math.max(t, e + d + (i % 2 ? p : p / 8) - f)
}, 0),
columns: e,
translates: c,
height: !u && (this.masonry ? f : "")
}
},
write: function(t) {
var e = t.height,
i = t.padding;
Re(this.$el, "paddingBottom", i || ""), !1 !== e && Re(this.$el, "height", e)
},
events: ["resize"]
}, {
read: function(t) {
var e = t.height;
return {
scrolled: !!this.parallax && Hi(this.$el, e ? e - ci(this.$el) : 0) * Math.abs(this.parallax)
}
},
write: function(t) {
var e = t.columns,
n = t.scrolled,
r = t.translates;
!1 === n && !r || e.forEach(function(t, i) {
return t.forEach(function(t, e) {
return Re(t, "transform", n || r ? "translateY(" + ((r && -r[i][e]) + (n ? i % 2 ? n : n / 8 : 0)) + "px)" : "")
})
})
},
events: ["scroll", "resize"]
}]
};
var In = ct ? {
props: {
selMinHeight: String
},
data: {
selMinHeight: !1,
forceHeight: !1
},
computed: {
elements: function(t, e) {
var i = t.selMinHeight;
return i ? Ne(i, e) : [e]
}
},
update: [{
read: function() {
Re(this.elements, "height", "")
},
order: -5,
events: ["resize"]
}, {
write: function() {
var i = this;
this.elements.forEach(function(t) {
var e = j(Re(t, "minHeight"));
e && (i.forceHeight || Math.round(e + fi(t, "height", "content-box")) >= t.offsetHeight) && Re(t, "height", e)
})
},
order: 5,
events: ["resize"]
}]
} : {},
Sn = {
mixins: [In],
args: "target",
props: {
target: String,
row: Boolean
},
data: {
target: "> *",
row: !0,
forceHeight: !0
},
computed: {
elements: function(t, e) {
return Ne(t.target, e)
}
},
update: {
read: function() {
return {
rows: (this.row ? xn(this.elements) : [this.elements]).map(Tn)
}
},
write: function(t) {
t.rows.forEach(function(t) {
var i = t.heights;
return t.elements.forEach(function(t, e) {
return Re(t, "minHeight", i[e])
})
})
},
events: ["resize"]
}
};
function Tn(t) {
var e;
if (t.length < 2) return {
heights: [""],
elements: t
};
var i = En(t),
n = i.heights,
r = i.max,
o = t.some(function(t) {
return t.style.minHeight
}),
s = t.some(function(t, e) {
return !t.style.minHeight && n[e] < r
});
return o && s && (Re(t, "minHeight", ""), e = En(t), n = e.heights, r = e.max), {
heights: n = t.map(function(t, e) {
return n[e] === r && j(t.style.minHeight).toFixed(2) !== r.toFixed(2) ? "" : r
}),
elements: t
}
}
function En(t) {
var e = t.map(function(t) {
return si(t).height - fi(t, "height", "content-box")
});
return {
heights: e,
max: Math.max.apply(null, e)
}
}
var _n = {
mixins: [In],
props: {
expand: Boolean,
offsetTop: Boolean,
offsetBottom: Boolean,
minHeight: Number
},
data: {
expand: !1,
offsetTop: !1,
offsetBottom: !1,
minHeight: 0
},
update: {
read: function(t) {
var e = t.minHeight;
if (!jt(this.$el)) return !1;
var i = "",
n = fi(this.$el, "height", "content-box");
if (this.expand) {
if (this.$el.dataset.heightExpand = "", Me("[data-height-expand]") !== this.$el) return !1;
i = ci(window) - (Cn(document.documentElement) - Cn(this.$el)) - n || ""
} else {
var r, i = "calc(100vh";
this.offsetTop && (i += 0 < (r = si(this.$el).top) && r < ci(window) / 2 ? " - " + r + "px" : ""), !0 === this.offsetBottom ? i += " - " + Cn(this.$el.nextElementSibling) + "px" : P(this.offsetBottom) ? i += " - " + this.offsetBottom + "vh" : this.offsetBottom && u(this.offsetBottom, "px") ? i += " - " + j(this.offsetBottom) + "px" : D(this.offsetBottom) && (i += " - " + Cn(yt(this.offsetBottom, this.$el)) + "px"), i += (n ? " - " + n + "px" : "") + ")"
}
return {
minHeight: i,
prev: e
}
},
write: function(t) {
var e = t.minHeight,
i = t.prev;
Re(this.$el, {
minHeight: e
}), e !== i && this.$update(this.$el, "resize"), this.minHeight && j(Re(this.$el, "minHeight")) < this.minHeight && Re(this.$el, "minHeight", this.minHeight)
},
events: ["resize"]
}
};
function Cn(t) {
return t && si(t).height || 0
}
var An = {
args: "src",
props: {
id: Boolean,
icon: String,
src: String,
style: String,
width: Number,
height: Number,
ratio: Number,
class: String,
strokeAnimation: Boolean,
focusable: Boolean,
attributes: "list"
},
data: {
ratio: 1,
include: ["style", "class", "focusable"],
class: "",
strokeAnimation: !1
},
beforeConnect: function() {
this.class += " uk-svg"
},
connected: function() {
var t, e = this;
!this.icon && b(this.src, "#") && (t = this.src.split("#"), this.src = t[0], this.icon = t[1]), this.svg = this.getSvg().then(function(t) {
return e.applyAttributes(t), e.svgEl = function(t, e) {
if (Ft(e) || "CANVAS" === e.tagName) {
ot(e, "hidden", !0);
var i = e.nextElementSibling;
return Bn(t, i) ? i : ye(e, t)
}
var n = e.lastElementChild;
return Bn(t, n) ? n : be(e, t)
}(t, e.$el)
}, et)
},
disconnected: function() {
var e = this;
Ft(this.$el) && ot(this.$el, "hidden", null), this.svg && this.svg.then(function(t) {
return (!e._connected || t !== e.svgEl) && $e(t)
}, et), this.svg = this.svgEl = null
},
update: {
read: function() {
return !!(this.strokeAnimation && this.svgEl && jt(this.svgEl))
},
write: function() {
var t, e;
t = this.svgEl, (e = Dn(t)) && t.style.setProperty("--uk-animation-stroke", e)
},
type: ["resize"]
},
methods: {
getSvg: function() {
var e = this;
return function(i) {
if (Mn[i]) return Mn[i];
return Mn[i] = new ae(function(e, t) {
i ? w(i, "data:") ? e(decodeURIComponent(i.split(",")[1])) : de(i).then(function(t) {
return e(t.response)
}, function() {
return t("SVG not found.")
}) : t()
})
}(this.src).then(function(t) {
return function(t, e) {
e && b(t, "
"
}
return zn[t][e]
}(t, e) || t);
return (t = Me(t.substr(t.indexOf("