From f3ea4fd491fa25140ef15a1d9ecdc75917103269 Mon Sep 17 00:00:00 2001 From: trishanu-init Date: Sat, 18 Nov 2023 00:17:42 +0530 Subject: [PATCH 1/2] modified chapter.html and fixed broken links --- chapters/chapter.html | 22 +++++----------------- index.html | 4 ++-- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/chapters/chapter.html b/chapters/chapter.html index 2c7ec44f..9603a571 100644 --- a/chapters/chapter.html +++ b/chapters/chapter.html @@ -119,7 +119,7 @@ --> logoOS-CODE - - -
-
-
-
- -
-
    -
    -
    -
    -
    -
    + +
    @@ -298,7 +286,7 @@

    OS-CODE
    -

    College_Chapters

    +

    College Chapters


    @@ -313,7 +301,7 @@

    College_Chapters

    alt="bit" /> diff --git a/index.html b/index.html index 329ff8fc..f6e7931f 100644 --- a/index.html +++ b/index.html @@ -119,7 +119,7 @@ - --> From 2b468b6586271cb2d1951f909e046473af9179c7 Mon Sep 17 00:00:00 2001 From: trishanu-init Date: Fri, 17 Nov 2023 18:48:58 +0000 Subject: [PATCH 2/2] Prettified Code! --- chapters/js/vendors/bootstrap.bundle.min.js | 28 +- chapters/js/vendors/hammer.js | 8 +- chapters/js/vendors/jquery.easing.min.js | 24 +- .../js/vendors/jquery.magnific-popup.min.js | 16 +- chapters/js/vendors/jquery.min.js | 331 +++++++++--------- chapters/js/vendors/owl.carousel.min.js | 144 ++++---- chapters/js/vendors/swiper.min.js | 174 ++++----- vendor/aos/aos.js | 20 +- vendor/bootstrap/js/bootstrap.bundle.js | 20 +- vendor/bootstrap/js/bootstrap.bundle.min.js | 138 ++++---- vendor/bootstrap/js/bootstrap.esm.min.js | 56 +-- vendor/bootstrap/js/bootstrap.js | 8 +- vendor/bootstrap/js/bootstrap.min.js | 52 +-- vendor/glightbox/js/glightbox.js | 8 +- vendor/glightbox/js/glightbox.min.js | 32 +- vendor/isotope-layout/isotope.pkgd.min.js | 138 ++++---- vendor/purecounter/purecounter_vanilla.js | 28 +- vendor/swiper/swiper-bundle.min.js | 196 ++++++----- 18 files changed, 715 insertions(+), 706 deletions(-) diff --git a/chapters/js/vendors/bootstrap.bundle.min.js b/chapters/js/vendors/bootstrap.bundle.min.js index 1c17158f..6690ca04 100644 --- a/chapters/js/vendors/bootstrap.bundle.min.js +++ b/chapters/js/vendors/bootstrap.bundle.min.js @@ -7,8 +7,8 @@ "object" == typeof exports && "undefined" != typeof module ? e(exports, require("jquery")) : "function" == typeof define && define.amd - ? define(["exports", "jquery"], e) - : e((t.bootstrap = {}), t.jQuery); + ? define(["exports", "jquery"], e) + : e((t.bootstrap = {}), t.jQuery); })(this, function (t, e) { "use strict"; function i(t, e) { @@ -1029,8 +1029,8 @@ ? Lt(n) : n : t - ? t.ownerDocument.documentElement - : document.documentElement; + ? t.ownerDocument.documentElement + : document.documentElement; } function Pt(t) { return null !== t.parentNode ? Pt(t.parentNode) : t; @@ -1519,8 +1519,8 @@ return "" === t[t.length - 1] && -1 !== ["+", "-"].indexOf(e) ? ((t[t.length - 1] = e), (i = !0), t) : i - ? ((t[t.length - 1] += e), (i = !1), t) - : t.concat(e); + ? ((t[t.length - 1] += e), (i = !1), t) + : t.concat(e); }, []) .map(function (t) { return (function (t, e, n, i) { @@ -1613,10 +1613,10 @@ "left" === a ? ((o.top += l[0]), (o.left -= l[1])) : "right" === a - ? ((o.top += l[0]), (o.left += l[1])) - : "top" === a - ? ((o.left += l[0]), (o.top -= l[1])) - : "bottom" === a && ((o.left += l[0]), (o.top += l[1])), + ? ((o.top += l[0]), (o.left += l[1])) + : "top" === a + ? ((o.left += l[0]), (o.top -= l[1])) + : "bottom" === a && ((o.left += l[0]), (o.top += l[1])), (t.popper = o), t ); @@ -2355,10 +2355,10 @@ t.hasClass(De) ? ((e = Me), me(this._menu).hasClass(Oe) && (e = Re)) : t.hasClass(Ae) - ? (e = Fe) - : t.hasClass(Se) - ? (e = Ue) - : me(this._menu).hasClass(Oe) && (e = We), + ? (e = Fe) + : t.hasClass(Se) + ? (e = Ue) + : me(this._menu).hasClass(Oe) && (e = We), e ); }), diff --git a/chapters/js/vendors/hammer.js b/chapters/js/vendors/hammer.js index 0a60b51d..ccfe9b51 100644 --- a/chapters/js/vendors/hammer.js +++ b/chapters/js/vendors/hammer.js @@ -608,8 +608,8 @@ input.maxPointers = !session.prevInput ? input.pointers.length : input.pointers.length > session.prevInput.maxPointers - ? input.pointers.length - : session.prevInput.maxPointers; + ? input.pointers.length + : session.prevInput.maxPointers; computeIntervalInputData(session, input); @@ -2779,8 +2779,8 @@ typeof window !== "undefined" ? window : typeof self !== "undefined" - ? self - : {}; // jshint ignore:line + ? self + : {}; // jshint ignore:line freeGlobal.Hammer = Hammer; if (typeof define === "function" && define.amd) { diff --git a/chapters/js/vendors/jquery.easing.min.js b/chapters/js/vendors/jquery.easing.min.js index 64dcaaae..08388662 100644 --- a/chapters/js/vendors/jquery.easing.min.js +++ b/chapters/js/vendors/jquery.easing.min.js @@ -93,10 +93,10 @@ return x === 0 ? 0 : x === 1 - ? 1 - : x < 0.5 - ? pow(2, 20 * x - 10) / 2 - : (2 - pow(2, -20 * x + 10)) / 2; + ? 1 + : x < 0.5 + ? pow(2, 20 * x - 10) / 2 + : (2 - pow(2, -20 * x + 10)) / 2; }, easeInCirc: function (x) { return 1 - sqrt(1 - pow(x, 2)); @@ -113,24 +113,24 @@ return x === 0 ? 0 : x === 1 - ? 1 - : -pow(2, 10 * x - 10) * sin((x * 10 - 10.75) * c4); + ? 1 + : -pow(2, 10 * x - 10) * sin((x * 10 - 10.75) * c4); }, easeOutElastic: function (x) { return x === 0 ? 0 : x === 1 - ? 1 - : pow(2, -10 * x) * sin((x * 10 - 0.75) * c4) + 1; + ? 1 + : pow(2, -10 * x) * sin((x * 10 - 0.75) * c4) + 1; }, easeInOutElastic: function (x) { return x === 0 ? 0 : x === 1 - ? 1 - : x < 0.5 - ? -(pow(2, 20 * x - 10) * sin((20 * x - 11.125) * c5)) / 2 - : (pow(2, -20 * x + 10) * sin((20 * x - 11.125) * c5)) / 2 + 1; + ? 1 + : x < 0.5 + ? -(pow(2, 20 * x - 10) * sin((20 * x - 11.125) * c5)) / 2 + : (pow(2, -20 * x + 10) * sin((20 * x - 11.125) * c5)) / 2 + 1; }, easeInBack: function (x) { return c3 * x * x * x - c1 * x * x; diff --git a/chapters/js/vendors/jquery.magnific-popup.min.js b/chapters/js/vendors/jquery.magnific-popup.min.js index b4f628f3..9665de81 100644 --- a/chapters/js/vendors/jquery.magnific-popup.min.js +++ b/chapters/js/vendors/jquery.magnific-popup.min.js @@ -410,12 +410,12 @@ "replaceWith" === g ? f[0] !== d[0] && f.replaceWith(d) : "img" === g - ? f.is("img") - ? f.attr("src", d) - : f.replaceWith( - a("").attr("src", d).attr("class", f.attr("class")) - ) - : f.attr(e[1], d); + ? f.is("img") + ? f.attr("src", d) + : f.replaceWith( + a("").attr("src", d).attr("class", f.attr("class")) + ) + : f.attr(e[1], d); } } else b.find(p + "-" + c).html(d); }); @@ -661,8 +661,8 @@ void (3 === c ? e(10) : 40 === c - ? e(50) - : 100 === c && e(500))); + ? e(50) + : 100 === c && e(500))); }, f)); }; e(1); diff --git a/chapters/js/vendors/jquery.min.js b/chapters/js/vendors/jquery.min.js index 8fa83508..a5912d6b 100644 --- a/chapters/js/vendors/jquery.min.js +++ b/chapters/js/vendors/jquery.min.js @@ -42,8 +42,8 @@ return null == e ? e + "" : "object" == typeof e || "function" == typeof e - ? l[c.call(e)] || "object" - : typeof e; + ? l[c.call(e)] || "object" + : typeof e; } var b = "3.3.1", w = function (e, t) { @@ -62,8 +62,8 @@ return null == e ? o.call(this) : e < 0 - ? this[e + this.length] - : this[e]; + ? this[e + this.length] + : this[e]; }, pushStack: function (e) { var t = w.merge(this.constructor(), e); @@ -336,8 +336,8 @@ return r !== r || n ? t : r < 0 - ? String.fromCharCode(r + 65536) - : String.fromCharCode((r >> 10) | 55296, (1023 & r) | 56320); + ? String.fromCharCode(r + 65536) + : String.fromCharCode((r >> 10) | 55296, (1023 & r) | 56320); }, te = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, ne = function (e, t) { @@ -592,8 +592,8 @@ return "undefined" != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : n.qsa - ? t.querySelectorAll(e) - : void 0; + ? t.querySelectorAll(e) + : void 0; } : function (e, t) { var n, @@ -701,13 +701,13 @@ ? e === d || (e.ownerDocument === w && x(w, e)) ? -1 : t === d || (t.ownerDocument === w && x(w, t)) - ? 1 - : c - ? O(c, e) - O(c, t) - : 0 + ? 1 + : c + ? O(c, e) - O(c, t) + : 0 : 4 & r - ? -1 - : 1) + ? -1 + : 1) ); } : function (e, t) { @@ -722,14 +722,14 @@ return e === d ? -1 : t === d - ? 1 - : i - ? -1 - : o - ? 1 - : c - ? O(c, e) - O(c, t) - : 0; + ? 1 + : i + ? -1 + : o + ? 1 + : c + ? O(c, e) - O(c, t) + : 0; if (i === o) return ce(e, t); n = e; while ((n = n.parentNode)) a.unshift(n); @@ -739,10 +739,10 @@ return r ? ce(a[r], s[r]) : a[r] === w - ? -1 - : s[r] === w - ? 1 - : 0; + ? -1 + : s[r] === w + ? 1 + : 0; }), d) : d; @@ -781,10 +781,10 @@ return void 0 !== o ? o : n.attributes || !g - ? e.getAttribute(t) - : (o = e.getAttributeNode(t)) && o.specified - ? o.value - : null; + ? e.getAttribute(t) + : (o = e.getAttributeNode(t)) && o.specified + ? o.value + : null; }), (oe.escape = function (e) { return (e + "").replace(te, ne); @@ -908,17 +908,19 @@ "=" === t ? i === n : "!=" === t - ? i !== n - : "^=" === t - ? n && 0 === i.indexOf(n) - : "*=" === t - ? n && i.indexOf(n) > -1 - : "$=" === t - ? n && i.slice(-n.length) === n - : "~=" === t - ? (" " + i.replace($, " ") + " ").indexOf(n) > -1 - : "|=" === t && - (i === n || i.slice(0, n.length + 1) === n + "-")); + ? i !== n + : "^=" === t + ? n && 0 === i.indexOf(n) + : "*=" === t + ? n && i.indexOf(n) > -1 + : "$=" === t + ? n && i.slice(-n.length) === n + : "~=" === t + ? (" " + i.replace($, " ") + " ").indexOf(n) > + -1 + : "|=" === t && + (i === n || + i.slice(0, n.length + 1) === n + "-")); }; }, CHILD: function (e, t, n, r, i) { @@ -1010,18 +1012,18 @@ return i[b] ? i(t) : i.length > 1 - ? ((n = [e, e, "", t]), - r.setFilters.hasOwnProperty(e.toLowerCase()) - ? se(function (e, n) { - var r, - o = i(e, t), - a = o.length; - while (a--) e[(r = O(e, o[a]))] = !(n[r] = o[a]); - }) - : function (e) { - return i(e, 0, n); - }) - : i; + ? ((n = [e, e, "", t]), + r.setFilters.hasOwnProperty(e.toLowerCase()) + ? se(function (e, n) { + var r, + o = i(e, t), + a = o.length; + while (a--) e[(r = O(e, o[a]))] = !(n[r] = o[a]); + }) + : function (e) { + return i(e, 0, n); + }) + : i; }, }, pseudos: { @@ -1486,8 +1488,8 @@ return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified - ? r.value - : null; + ? r.value + : null; }), oe ); @@ -1526,14 +1528,14 @@ return !!t.call(e, r, e) !== n; }) : t.nodeType - ? w.grep(e, function (e) { - return (e === t) !== n; - }) - : "string" != typeof t - ? w.grep(e, function (e) { - return u.call(t, e) > -1 !== n; - }) - : w.filter(t, e, n); + ? w.grep(e, function (e) { + return (e === t) !== n; + }) + : "string" != typeof t + ? w.grep(e, function (e) { + return u.call(t, e) > -1 !== n; + }) + : w.filter(t, e, n); } (w.filter = function (e, t, n) { var r = t[0]; @@ -1610,10 +1612,10 @@ return e.nodeType ? ((this[0] = e), (this.length = 1), this) : g(e) - ? void 0 !== n.ready - ? n.ready(e) - : e(w) - : w.makeArray(e, this); + ? void 0 !== n.ready + ? n.ready(e) + : e(w) + : w.makeArray(e, this); }).prototype = w.fn), (q = w(r)); var H = /^(?:parents|prev(?:Until|All))/, @@ -1652,8 +1654,8 @@ ? u.call(w(e), this[0]) : u.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode - ? this.first().prevAll().length - : -1; + ? this.first().prevAll().length + : -1; }, add: function (e, t) { return this.pushStack(w.uniqueSort(w.merge(this.get(), w(e, t)))); @@ -1825,8 +1827,8 @@ e && g((i = e.promise)) ? i.call(e).done(t).fail(n) : e && g((i = e.then)) - ? i.call(e, t, n) - : t.apply(void 0, [e].slice(r)); + ? i.call(e, t, n) + : t.apply(void 0, [e].slice(r)); } catch (e) { n.apply(void 0, [e]); } @@ -2124,8 +2126,8 @@ n = (t = Array.isArray(t) ? t.map(G) : (t = G(t)) in r - ? [t] - : t.match(M) || []).length; + ? [t] + : t.match(M) || []).length; while (n--) delete r[t[n]]; } (void 0 === t || w.isEmptyObject(r)) && @@ -2148,10 +2150,10 @@ ("null" === e ? null : e === +e + "" - ? +e - : Z.test(e) - ? JSON.parse(e) - : e)) + ? +e + : Z.test(e) + ? JSON.parse(e) + : e)) ); } function ne(e, t, n) { @@ -2285,12 +2287,12 @@ arguments.length < n ? w.queue(this[0], e) : void 0 === t - ? this - : this.each(function () { - var n = w.queue(this, e, t); - w._queueHooks(this, e), - "fx" === e && "inprogress" !== n[0] && w.dequeue(this, e); - }) + ? this + : this.each(function () { + var n = w.queue(this, e, t); + w._queueHooks(this, e), + "fx" === e && "inprogress" !== n[0] && w.dequeue(this, e); + }) ); }, dequeue: function (e) { @@ -2435,8 +2437,8 @@ "undefined" != typeof e.getElementsByTagName ? e.getElementsByTagName(t || "*") : "undefined" != typeof e.querySelectorAll - ? e.querySelectorAll(t || "*") - : []), + ? e.querySelectorAll(t || "*") + : []), void 0 === t || (t && N(e, t)) ? w.merge([e], n) : n ); } @@ -2842,14 +2844,14 @@ ? e.charCode : e.keyCode : !e.which && void 0 !== t && Te.test(e.type) - ? 1 & t - ? 1 - : 2 & t - ? 3 - : 4 & t - ? 2 - : 0 - : e.which; + ? 1 & t + ? 1 + : 2 & t + ? 3 + : 4 & t + ? 2 + : 0 + : e.which; }, }, w.event.addProp @@ -3536,16 +3538,17 @@ (null != e.elem[e.prop] && null == e.elem.style[e.prop]) ? e.elem[e.prop] : (t = w.css(e.elem, e.prop, "")) && "auto" !== t - ? t - : 0; + ? t + : 0; }, set: function (e) { w.fx.step[e.prop] ? w.fx.step[e.prop](e) : 1 !== e.elem.nodeType || - (null == e.elem.style[w.cssProps[e.prop]] && !w.cssHooks[e.prop]) - ? (e.elem[e.prop] = e.now) - : w.style(e.elem, e.prop, e.now + e.unit); + (null == e.elem.style[w.cssProps[e.prop]] && + !w.cssHooks[e.prop]) + ? (e.elem[e.prop] = e.now) + : w.style(e.elem, e.prop, e.now + e.unit); }, }, }), @@ -3988,13 +3991,13 @@ ? null === n ? void w.removeAttr(e, t) : i && "set" in i && void 0 !== (r = i.set(e, n, t)) - ? r - : (e.setAttribute(t, n + ""), n) + ? r + : (e.setAttribute(t, n + ""), n) : i && "get" in i && null !== (r = i.get(e, t)) - ? r - : null == (r = w.find.attr(e, t)) - ? void 0 - : r); + ? r + : null == (r = w.find.attr(e, t)) + ? void 0 + : r); }, attrHooks: { type: { @@ -4060,8 +4063,8 @@ ? r : (e[t] = n) : i && "get" in i && null !== (r = i.get(e, t)) - ? r - : e[t] + ? r + : e[t] ); }, propHooks: { @@ -4071,8 +4074,8 @@ return t ? parseInt(t, 10) : gt.test(e.nodeName) || (yt.test(e.nodeName) && e.href) - ? 0 - : -1; + ? 0 + : -1; }, }, }, @@ -4171,24 +4174,24 @@ ? this.addClass(e) : this.removeClass(e) : g(e) - ? this.each(function (n) { - w(this).toggleClass(e.call(this, n, mt(this), t), t); - }) - : this.each(function () { - var t, i, o, a; - if (r) { - (i = 0), (o = w(this)), (a = xt(e)); - while ((t = a[i++])) - o.hasClass(t) ? o.removeClass(t) : o.addClass(t); - } else - (void 0 !== e && "boolean" !== n) || - ((t = mt(this)) && J.set(this, "__className__", t), - this.setAttribute && - this.setAttribute( - "class", - t || !1 === e ? "" : J.get(this, "__className__") || "" - )); - }); + ? this.each(function (n) { + w(this).toggleClass(e.call(this, n, mt(this), t), t); + }) + : this.each(function () { + var t, i, o, a; + if (r) { + (i = 0), (o = w(this)), (a = xt(e)); + while ((t = a[i++])) + o.hasClass(t) ? o.removeClass(t) : o.addClass(t); + } else + (void 0 !== e && "boolean" !== n) || + ((t = mt(this)) && J.set(this, "__className__", t), + this.setAttribute && + this.setAttribute( + "class", + t || !1 === e ? "" : J.get(this, "__className__") || "" + )); + }); }, hasClass: function (e) { var t, @@ -4218,11 +4221,11 @@ (null == (i = r ? e.call(this, n, w(this).val()) : e) ? (i = "") : "number" == typeof i - ? (i += "") - : Array.isArray(i) && - (i = w.map(i, function (e) { - return null == e ? "" : e + ""; - })), + ? (i += "") + : Array.isArray(i) && + (i = w.map(i, function (e) { + return null == e ? "" : e + ""; + })), ((t = w.valHooks[this.type] || w.valHooks[this.nodeName.toLowerCase()]) && @@ -4238,10 +4241,10 @@ void 0 !== (n = t.get(i, "value")) ? n : "string" == typeof (n = i.value) - ? n.replace(bt, "") - : null == n - ? "" - : n; + ? n.replace(bt, "") + : null == n + ? "" + : n; } }, }), @@ -4490,10 +4493,10 @@ return null == n ? null : Array.isArray(n) - ? w.map(n, function (e) { - return { name: t.name, value: e.replace(Dt, "\r\n") }; - }) - : { name: t.name, value: n.replace(Dt, "\r\n") }; + ? w.map(n, function (e) { + return { name: t.name, value: e.replace(Dt, "\r\n") }; + }) + : { name: t.name, value: n.replace(Dt, "\r\n") }; }) .get(); }, @@ -4833,8 +4836,8 @@ 204 === t || "HEAD" === h.type ? (C = "nocontent") : 304 === t - ? (C = "notmodified") - : ((C = b.state), (p = b.data), (l = !(d = b.error)))) + ? (C = "notmodified") + : ((C = b.state), (p = b.data), (l = !(d = b.error)))) : ((d = C), (!t && C) || ((C = "error"), t < 0 && (t = 0))), (E.status = t), (E.statusText = (n || C) + ""), @@ -4972,18 +4975,18 @@ "abort" === e ? s.abort() : "error" === e - ? "number" != typeof s.status - ? o(0, "error") - : o(s.status, s.statusText) - : o( - Vt[s.status] || s.status, - s.statusText, - "text" !== (s.responseType || "text") || - "string" != typeof s.responseText - ? { binary: s.response } - : { text: s.responseText }, - s.getAllResponseHeaders() - )); + ? "number" != typeof s.status + ? o(0, "error") + : o(s.status, s.statusText) + : o( + Vt[s.status] || s.status, + s.statusText, + "text" !== (s.responseType || "text") || + "string" != typeof s.responseText + ? { binary: s.response } + : { text: s.responseText }, + s.getAllResponseHeaders() + )); }; }), (s.onload = n()), @@ -5304,17 +5307,17 @@ ? t["inner" + e] : t.document.documentElement["client" + e] : 9 === t.nodeType - ? ((o = t.documentElement), - Math.max( - t.body["scroll" + e], - o["scroll" + e], - t.body["offset" + e], - o["offset" + e], - o["client" + e] - )) - : void 0 === i - ? w.css(t, n, s) - : w.style(t, n, i, s); + ? ((o = t.documentElement), + Math.max( + t.body["scroll" + e], + o["scroll" + e], + t.body["offset" + e], + o["offset" + e], + o["client" + e] + )) + : void 0 === i + ? w.css(t, n, s) + : w.style(t, n, i, s); }, t, a ? i : void 0, diff --git a/chapters/js/vendors/owl.carousel.min.js b/chapters/js/vendors/owl.carousel.min.js index 9b1e31f6..8f0cc9b7 100644 --- a/chapters/js/vendors/owl.carousel.min.js +++ b/chapters/js/vendors/owl.carousel.min.js @@ -569,10 +569,10 @@ "left" === c && b > i - f && b < i + f ? (e = a) : "right" === c && b > i - g - f && b < i - g + f - ? (e = a + 1) - : this.op(b, "<", i) && - this.op(b, ">", h[a + 1] !== d ? h[a + 1] : i - g) && - (e = "left" === c ? a + 1 : a), + ? (e = a + 1) + : this.op(b, "<", i) && + this.op(b, ">", h[a + 1] !== d ? h[a + 1] : i - g) && + (e = "left" === c ? a + 1 : a), -1 === e ); }, this) @@ -599,13 +599,13 @@ : ""), }) : c - ? this.$stage.animate( - { left: b + "px" }, - this.speed(), - this.settings.fallbackEasing, - a.proxy(this.onTransitionEnd, this) - ) - : this.$stage.css({ left: b + "px" }); + ? this.$stage.animate( + { left: b + "px" }, + this.speed(), + this.settings.fallbackEasing, + a.proxy(this.onTransitionEnd, this) + ) + : this.$stage.css({ left: b + "px" }); }), (e.prototype.is = function (a) { return this._states.current[a] && this._states.current[a] > 0; @@ -747,8 +747,8 @@ d - e > 0 && ((c = d - e), (a = d), this.reset(c))) : this.settings.rewind - ? ((i += 1), (a = ((a % i) + i) % i)) - : (a = Math.max(h, Math.min(i, a))), + ? ((i += 1), (a = ((a % i) + i) % i)) + : (a = Math.max(h, Math.min(i, a))), this.speed(this.duration(c, a, b)), this.current(a), this.isVisible() && this.update(); @@ -774,10 +774,10 @@ this.options.responsiveBaseElement !== b ? (d = a(this.options.responsiveBaseElement).width()) : b.innerWidth - ? (d = b.innerWidth) - : c.documentElement && c.documentElement.clientWidth - ? (d = c.documentElement.clientWidth) - : console.warn("Can not detect viewport width."), + ? (d = b.innerWidth) + : c.documentElement && c.documentElement.clientWidth + ? (d = c.documentElement.clientWidth) + : console.warn("Can not detect viewport width."), d ); }), @@ -1029,8 +1029,8 @@ a.touches && a.touches.length ? a.touches[0] : a.changedTouches && a.changedTouches.length - ? a.changedTouches[0] - : a), + ? a.changedTouches[0] + : a), a.pageX ? ((c.x = a.pageX), (c.y = a.pageY)) : ((c.x = a.clientX), (c.y = a.clientY)), @@ -1191,31 +1191,31 @@ ) .attr("src", g) : f.is("source") - ? f - .one( - "load.owl.lazy", - a.proxy(function () { + ? f + .one( + "load.owl.lazy", + a.proxy(function () { + this._core.trigger( + "loaded", + { element: f, url: g }, + "lazy" + ); + }, this) + ) + .attr("srcset", g) + : ((e = new Image()), + (e.onload = a.proxy(function () { + f.css({ + "background-image": 'url("' + g + '")', + opacity: "1", + }), this._core.trigger( "loaded", { element: f, url: g }, "lazy" ); - }, this) - ) - .attr("srcset", g) - : ((e = new Image()), - (e.onload = a.proxy(function () { - f.css({ - "background-image": 'url("' + g + '")', - opacity: "1", - }), - this._core.trigger( - "loaded", - { element: f, url: g }, - "lazy" - ); - }, this)), - (e.src = g)); + }, this)), + (e.src = g)); }, this) ), this._loaded.push(d.get(0))); @@ -1349,8 +1349,8 @@ return a.attr("data-vimeo-id") ? "vimeo" : a.attr("data-vzaar-id") - ? "vzaar" - : "youtube"; + ? "vzaar" + : "youtube"; })(), d = a.attr("data-vimeo-id") || @@ -1410,25 +1410,25 @@ "youtube" === c.type ? ((f = "//img.youtube.com/vi/" + c.id + "/hqdefault.webp"), l(f)) : "vimeo" === c.type - ? a.ajax({ - type: "GET", - url: "//vimeo.com/api/v2/video/" + c.id + ".json", - jsonp: "callback", - dataType: "jsonp", - success: function (a) { - (f = a[0].thumbnail_large), l(f); - }, - }) - : "vzaar" === c.type && - a.ajax({ - type: "GET", - url: "//vzaar.com/api/videos/" + c.id + ".json", - jsonp: "callback", - dataType: "jsonp", - success: function (a) { - (f = a.framegrab_url), l(f); - }, - }); + ? a.ajax({ + type: "GET", + url: "//vimeo.com/api/v2/video/" + c.id + ".json", + jsonp: "callback", + dataType: "jsonp", + success: function (a) { + (f = a[0].thumbnail_large), l(f); + }, + }) + : "vzaar" === c.type && + a.ajax({ + type: "GET", + url: "//vzaar.com/api/videos/" + c.id + ".json", + jsonp: "callback", + dataType: "jsonp", + success: function (a) { + (f = a.framegrab_url), l(f); + }, + }); }), (e.prototype.stop = function () { this._core.trigger("stop", null, "video"), @@ -1464,12 +1464,15 @@ f.id ) : "vimeo" === f.type - ? c.attr("src", "//player.vimeo.com/video/" + f.id + "?autoplay=1") - : "vzaar" === f.type && - c.attr( - "src", - "//view.vzaar.com/" + f.id + "/player?autoplay=true" - ), + ? c.attr( + "src", + "//player.vimeo.com/video/" + f.id + "?autoplay=1" + ) + : "vzaar" === f.type && + c.attr( + "src", + "//view.vzaar.com/" + f.id + "/player?autoplay=true" + ), a(c) .wrap('
    ') .insertAfter(e.find(".owl-video")), @@ -1867,10 +1870,11 @@ c.dotsData && 0 !== b ? this._controls.$absolute.html(this._templates.join("")) : b > 0 - ? this._controls.$absolute.append( - new Array(b + 1).join(this._templates[0]) - ) - : b < 0 && this._controls.$absolute.children().slice(b).remove(), + ? this._controls.$absolute.append( + new Array(b + 1).join(this._templates[0]) + ) + : b < 0 && + this._controls.$absolute.children().slice(b).remove(), this._controls.$absolute.find(".active").removeClass("active"), this._controls.$absolute .children() diff --git a/chapters/js/vendors/swiper.min.js b/chapters/js/vendors/swiper.min.js index 50ba9221..4c8a55c3 100644 --- a/chapters/js/vendors/swiper.min.js +++ b/chapters/js/vendors/swiper.min.js @@ -13,8 +13,8 @@ "object" == typeof exports && "undefined" != typeof module ? (module.exports = t()) : "function" == typeof define && define.amd - ? define(t) - : (e.Swiper = t()); + ? define(t) + : (e.Swiper = t()); })(this, function () { "use strict"; var e = @@ -449,8 +449,8 @@ ? new i([this[0].nextElementSibling]) : new i([]) : this[0].nextElementSibling - ? new i([this[0].nextElementSibling]) - : new i([]) + ? new i([this[0].nextElementSibling]) + : new i([]) : new i([]); }, nextAll: function (e) { @@ -471,8 +471,8 @@ ? new i([t.previousElementSibling]) : new i([]) : t.previousElementSibling - ? new i([t.previousElementSibling]) - : new i([]); + ? new i([t.previousElementSibling]) + : new i([]); } return new i([]); }, @@ -592,14 +592,14 @@ (a = t.WebKitCSSMatrix ? r.m41 : 16 === s.length - ? parseFloat(s[12]) - : parseFloat(s[4])), + ? parseFloat(s[12]) + : parseFloat(s[4])), "y" === i && (a = t.WebKitCSSMatrix ? r.m42 : 16 === s.length - ? parseFloat(s[13]) - : parseFloat(s[5])), + ? parseFloat(s[13]) + : parseFloat(s[5])), a || 0 ); }, @@ -651,8 +651,8 @@ (d.isObject(i[l]) && d.isObject(a[l]) ? d.extend(i[l], a[l]) : !d.isObject(i[l]) && d.isObject(a[l]) - ? ((i[l] = {}), d.extend(i[l], a[l])) - : (i[l] = a[l])); + ? ((i[l] = {}), d.extend(i[l], a[l])) + : (i[l] = a[l])); } } return i; @@ -1571,23 +1571,23 @@ })) : t.slideTo(n) : n > t.slides.length - r - ? (t.loopFix(), - (n = a - .children( - "." + - i.slideClass + - '[data-swiper-slide-index="' + - e + - '"]:not(.' + - i.slideDuplicateClass + - ")" - ) - .eq(0) - .index()), - d.nextTick(function () { - t.slideTo(n); - })) - : t.slideTo(n); + ? (t.loopFix(), + (n = a + .children( + "." + + i.slideClass + + '[data-swiper-slide-index="' + + e + + '"]:not(.' + + i.slideDuplicateClass + + ")" + ) + .eq(0) + .index()), + d.nextTick(function () { + t.slideTo(n); + })) + : t.slideTo(n); } else t.slideTo(n); }, }; @@ -2260,16 +2260,16 @@ })); })) : t.velocity - ? (t.updateProgress(y), - t.setTransition(b), - t.setTranslate(y), - t.transitionStart(!0, t.swipeDirection), - t.animating || - ((t.animating = !0), - n.transitionEnd(function () { - t && !t.destroyed && t.transitionEnd(); - }))) - : t.updateProgress(y), + ? (t.updateProgress(y), + t.setTransition(b), + t.setTranslate(y), + t.transitionStart(!0, t.swipeDirection), + t.animating || + ((t.animating = !0), + n.transitionEnd(function () { + t && !t.destroyed && t.transitionEnd(); + }))) + : t.updateProgress(y), t.updateActiveIndex(), t.updateSlidesClasses(); } else if (s.freeModeSticky) return void t.slideToClosest(); @@ -2592,12 +2592,12 @@ e.complete && r ? l() : i - ? (((o = new t.Image()).onload = l), - (o.onerror = l), - a && (o.sizes = a), - s && (o.srcset = s), - i && (o.src = i)) - : l(); + ? (((o = new t.Image()).onload = l), + (o.onerror = l), + a && (o.sizes = a), + s && (o.srcset = s), + i && (o.src = i)) + : l(); }, preloadImages: function () { var e = this; @@ -3280,23 +3280,23 @@ t.navigator.userAgent.indexOf("firefox") > -1 ? "DOMMouseScroll" : (function () { - var t = "onwheel" in e; - if (!t) { - var i = e.createElement("div"); - i.setAttribute("onwheel", "return;"), - (t = "function" == typeof i.onwheel); - } - return ( - !t && - e.implementation && - e.implementation.hasFeature && - !0 !== e.implementation.hasFeature("", "") && - (t = e.implementation.hasFeature("Events.wheel", "3.0")), - t - ); - })() - ? "wheel" - : "mousewheel", + var t = "onwheel" in e; + if (!t) { + var i = e.createElement("div"); + i.setAttribute("onwheel", "return;"), + (t = "function" == typeof i.onwheel); + } + return ( + !t && + e.implementation && + e.implementation.hasFeature && + !0 !== e.implementation.hasFeature("", "") && + (t = e.implementation.hasFeature("Events.wheel", "3.0")), + t + ); + })() + ? "wheel" + : "mousewheel", normalize: function (e) { var t = 0, i = 0, @@ -3642,8 +3642,8 @@ ? "vertical" : "horizontal" : this.isHorizontal() - ? "horizontal" - : "vertical"; + ? "horizontal" + : "vertical"; var b = (i + 1) / n, w = 1, y = 1; @@ -3786,8 +3786,8 @@ ? ((l = s - d), (d = 0)) : -d + s > a && (l = a + d) : d < 0 - ? ((l = s + d), (d = 0)) - : d + s > a && (l = a - d), + ? ((l = s + d), (d = 0)) + : d + s > a && (l = a - d), this.isHorizontal() ? (h.transforms3d ? r.transform("translate3d(" + d + "px, 0, 0)") @@ -3855,8 +3855,8 @@ ? e.targetTouches[0].pageX : e.pageX || e.clientX : "touchstart" === e.type || "touchmove" === e.type - ? e.targetTouches[0].pageY - : e.pageY || e.clientY) - + ? e.targetTouches[0].pageY + : e.pageY || e.clientY) - a.offset()[this.isHorizontal() ? "left" : "top"] - r / 2) / (n - r)), @@ -4019,8 +4019,8 @@ (o || l ? ((o = o || "0"), (l = l || "0")) : this.isHorizontal() - ? ((o = n), (l = "0")) - : ((l = n), (o = "0")), + ? ((o = n), (l = "0")) + : ((l = n), (o = "0")), (o = o.indexOf("%") >= 0 ? parseInt(o, 10) * t * r + "%" @@ -5019,20 +5019,20 @@ e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay")) : e.isBeginning - ? e.params.autoplay.stopOnLastSlide - ? e.autoplay.stop() - : (e.slideTo(e.slides.length - 1, e.params.speed, !0, !0), - e.emit("autoplay")) - : (e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay")) + ? e.params.autoplay.stopOnLastSlide + ? e.autoplay.stop() + : (e.slideTo(e.slides.length - 1, e.params.speed, !0, !0), + e.emit("autoplay")) + : (e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay")) : e.params.loop - ? (e.loopFix(), - e.slideNext(e.params.speed, !0, !0), - e.emit("autoplay")) - : e.isEnd - ? e.params.autoplay.stopOnLastSlide - ? e.autoplay.stop() - : (e.slideTo(0, e.params.speed, !0, !0), e.emit("autoplay")) - : (e.slideNext(e.params.speed, !0, !0), e.emit("autoplay")); + ? (e.loopFix(), + e.slideNext(e.params.speed, !0, !0), + e.emit("autoplay")) + : e.isEnd + ? e.params.autoplay.stopOnLastSlide + ? e.autoplay.stop() + : (e.slideTo(0, e.params.speed, !0, !0), e.emit("autoplay")) + : (e.slideNext(e.params.speed, !0, !0), e.emit("autoplay")); }, i)); }, start: function () { @@ -5146,10 +5146,10 @@ f % 4 == 0 ? ((w = 4 * -g * l), (x = 0)) : (f - 1) % 4 == 0 - ? ((w = 0), (x = 4 * -g * l)) - : (f - 2) % 4 == 0 - ? ((w = l + 4 * g * l), (x = l)) - : (f - 3) % 4 == 0 && ((w = -l), (x = 3 * l + 4 * l * g)), + ? ((w = 0), (x = 4 * -g * l)) + : (f - 2) % 4 == 0 + ? ((w = l + 4 * g * l), (x = l)) + : (f - 3) % 4 == 0 && ((w = -l), (x = 3 * l + 4 * l * g)), o && (w = -w), h || ((y = w), (w = 0)); var E = diff --git a/vendor/aos/aos.js b/vendor/aos/aos.js index 4e3bdb92..75b048e8 100644 --- a/vendor/aos/aos.js +++ b/vendor/aos/aos.js @@ -2,10 +2,10 @@ "object" == typeof exports && "object" == typeof module ? (module.exports = t()) : "function" == typeof define && define.amd - ? define([], t) - : "object" == typeof exports - ? (exports.AOS = t()) - : (e.AOS = t()); + ? define([], t) + : "object" == typeof exports + ? (exports.AOS = t()) + : (e.AOS = t()); })(this, function () { return (function (e) { function t(o) { @@ -110,12 +110,12 @@ ["complete", "interactive"].indexOf(document.readyState) > -1 ? j(!0) : "load" === x.startEvent - ? window.addEventListener(x.startEvent, function () { - j(!0); - }) - : document.addEventListener(x.startEvent, function () { - j(!0); - }), + ? window.addEventListener(x.startEvent, function () { + j(!0); + }) + : document.addEventListener(x.startEvent, function () { + j(!0); + }), window.addEventListener( "resize", (0, s.default)(j, x.debounceDelay, !0) diff --git a/vendor/bootstrap/js/bootstrap.bundle.js b/vendor/bootstrap/js/bootstrap.bundle.js index e1b635f2..9b6bd085 100644 --- a/vendor/bootstrap/js/bootstrap.bundle.js +++ b/vendor/bootstrap/js/bootstrap.bundle.js @@ -7,10 +7,10 @@ typeof exports === "object" && typeof module !== "undefined" ? (module.exports = factory()) : typeof define === "function" && define.amd - ? define(factory) - : ((global = - typeof globalThis !== "undefined" ? globalThis : global || self), - (global.bootstrap = factory())); + ? define(factory) + : ((global = + typeof globalThis !== "undefined" ? globalThis : global || self), + (global.bootstrap = factory())); })(this, function () { "use strict"; @@ -3216,8 +3216,8 @@ return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) - ? getInnerBoundingClientRect(clippingParent, strategy) - : rectToClientRect(getDocumentRect(getDocumentElement(element))); + ? getInnerBoundingClientRect(clippingParent, strategy) + : rectToClientRect(getDocumentRect(getDocumentElement(element))); } // A "clipping parent" is an overflowable container with the characteristic of // clipping (or hiding) overflowing elements with a position different from // `initial` @@ -3555,8 +3555,8 @@ ? right : left : isStartVariation - ? bottom - : top; + ? bottom + : top; if (referenceRect[len] > popperRect[len]) { mainVariationSide = getOppositePlacement(mainVariationSide); @@ -4215,8 +4215,8 @@ reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement - ? listScrollParents(reference.contextElement) - : [], + ? listScrollParents(reference.contextElement) + : [], popper: listScrollParents(popper), }; // Orders the modifiers based on their dependencies and `phase` // properties diff --git a/vendor/bootstrap/js/bootstrap.bundle.min.js b/vendor/bootstrap/js/bootstrap.bundle.min.js index eb762a25..19bb3784 100644 --- a/vendor/bootstrap/js/bootstrap.bundle.min.js +++ b/vendor/bootstrap/js/bootstrap.bundle.min.js @@ -7,10 +7,10 @@ "object" == typeof exports && "undefined" != typeof module ? (module.exports = e()) : "function" == typeof define && define.amd - ? define(e) - : ((t = - "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = - e()); + ? define(e) + : ((t = + "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = + e()); })(this, function () { "use strict"; const t = "transitionend", @@ -44,8 +44,8 @@ ? t[0] : t : "string" == typeof t && t.length > 0 - ? document.querySelector(t) - : null, + ? document.querySelector(t) + : null, a = (t) => { if (!o(t) || 0 === t.getClientRects().length) return !1; const e = @@ -75,8 +75,8 @@ return t instanceof ShadowRoot ? t : t.parentNode - ? c(t.parentNode) - : null; + ? c(t.parentNode) + : null; }, h = () => {}, d = (t) => { @@ -440,11 +440,11 @@ a = o(r) ? "element" : null == (i = r) - ? `${i}` - : Object.prototype.toString - .call(i) - .match(/\s([a-z]+)/i)[1] - .toLowerCase(); + ? `${i}` + : Object.prototype.toString + .call(i) + .match(/\s([a-z]+)/i)[1] + .toLowerCase(); if (!new RegExp(s).test(a)) throw new TypeError( `${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".` @@ -902,8 +902,8 @@ return s ? (i.to(s), void i._maybeEnableCycle()) : "next" === B.getDataAttribute(this, "slide") - ? (i.next(), void i._maybeEnableCycle()) - : (i.prev(), void i._maybeEnableCycle()); + ? (i.next(), void i._maybeEnableCycle()) + : (i.prev(), void i._maybeEnableCycle()); } ), P.on(window, "load.bs.carousel.data-api", () => { @@ -1557,8 +1557,8 @@ return ["html", "body", "#document"].indexOf(Wt(t)) >= 0 ? t.ownerDocument.body : zt(t) && Ee(t) - ? t - : Te(ne(t)); + ? t + : Te(ne(t)); } function Ce(t, e) { var i; @@ -1599,47 +1599,47 @@ })(t, i) ) : Ft(e) - ? (function (t, e) { - var i = Gt(t, !1, "fixed" === e); - return ( - (i.top = i.top + t.clientTop), - (i.left = i.left + t.clientLeft), - (i.bottom = i.top + t.clientHeight), - (i.right = i.left + t.clientWidth), - (i.width = t.clientWidth), - (i.height = t.clientHeight), - (i.x = i.left), - (i.y = i.top), - i - ); - })(e, i) - : Oe( - (function (t) { - var e, - i = ie(t), - n = we(t), - s = null == (e = t.ownerDocument) ? void 0 : e.body, - o = Kt( - i.scrollWidth, - i.clientWidth, - s ? s.scrollWidth : 0, - s ? s.clientWidth : 0 - ), - r = Kt( - i.scrollHeight, - i.clientHeight, - s ? s.scrollHeight : 0, - s ? s.clientHeight : 0 - ), - a = -n.scrollLeft + Ae(t), - l = -n.scrollTop; + ? (function (t, e) { + var i = Gt(t, !1, "fixed" === e); return ( - "rtl" === te(s || i).direction && - (a += Kt(i.clientWidth, s ? s.clientWidth : 0) - o), - { width: o, height: r, x: a, y: l } + (i.top = i.top + t.clientTop), + (i.left = i.left + t.clientLeft), + (i.bottom = i.top + t.clientHeight), + (i.right = i.left + t.clientWidth), + (i.width = t.clientWidth), + (i.height = t.clientHeight), + (i.x = i.left), + (i.y = i.top), + i ); - })(ie(t)) - ); + })(e, i) + : Oe( + (function (t) { + var e, + i = ie(t), + n = we(t), + s = null == (e = t.ownerDocument) ? void 0 : e.body, + o = Kt( + i.scrollWidth, + i.clientWidth, + s ? s.scrollWidth : 0, + s ? s.clientWidth : 0 + ), + r = Kt( + i.scrollHeight, + i.clientHeight, + s ? s.scrollHeight : 0, + s ? s.clientHeight : 0 + ), + a = -n.scrollLeft + Ae(t), + l = -n.scrollTop; + return ( + "rtl" === te(s || i).direction && + (a += Kt(i.clientWidth, s ? s.clientWidth : 0) - o), + { width: o, height: r, x: a, y: l } + ); + })(ie(t)) + ); } function ke(t) { var e, @@ -2212,8 +2212,8 @@ reference: Ft(t) ? Ce(t) : t.contextElement - ? Ce(t.contextElement) - : [], + ? Ce(t.contextElement) + : [], popper: Ce(e), }); var r, @@ -2497,9 +2497,9 @@ "parent" === this._config.reference ? (t = this._parent) : o(this._config.reference) - ? (t = r(this._config.reference)) - : "object" == typeof this._config.reference && - (t = this._config.reference); + ? (t = r(this._config.reference)) + : "object" == typeof this._config.reference && + (t = this._config.reference); const e = this._getPopperConfig(); this._popper = Ve(t, this._menu, e); } @@ -2525,8 +2525,8 @@ return "string" == typeof t ? t.split(",").map((t) => Number.parseInt(t, 10)) : "function" == typeof t - ? (e) => t(e, this._element) - : t; + ? (e) => t(e, this._element) + : t; } _getPopperConfig() { const t = { @@ -2797,8 +2797,8 @@ 0 === i.length ? e.focus() : this._lastTabNavDirection === Ai - ? i[i.length - 1].focus() - : i[0].focus(); + ? i[i.length - 1].focus() + : i[0].focus(); } _handleKeydown(t) { "Tab" === t.key && @@ -3268,8 +3268,8 @@ ? o(e) ? this._putElementInTemplate(r(e), n) : this._config.html - ? (n.innerHTML = this._maybeSanitize(e)) - : (n.textContent = e) + ? (n.innerHTML = this._maybeSanitize(e)) + : (n.textContent = e) : n.remove()); } _maybeSanitize(t) { @@ -3551,8 +3551,8 @@ return "string" == typeof t ? t.split(",").map((t) => Number.parseInt(t, 10)) : "function" == typeof t - ? (e) => t(e, this._element) - : t; + ? (e) => t(e, this._element) + : t; } _resolvePossibleFunction(t) { return "function" == typeof t ? t.call(this._element) : t; diff --git a/vendor/bootstrap/js/bootstrap.esm.min.js b/vendor/bootstrap/js/bootstrap.esm.min.js index 0532db0c..3b34b579 100644 --- a/vendor/bootstrap/js/bootstrap.esm.min.js +++ b/vendor/bootstrap/js/bootstrap.esm.min.js @@ -62,8 +62,8 @@ const MAX_UID = 1e6, ? e[0] : e : "string" == typeof e && e.length > 0 - ? document.querySelector(e) - : null, + ? document.querySelector(e) + : null, isVisible = (e) => { if (!isElement(e) || 0 === e.getClientRects().length) return !1; const t = "visible" === getComputedStyle(e).getPropertyValue("visibility"), @@ -92,8 +92,8 @@ const MAX_UID = 1e6, return e instanceof ShadowRoot ? e : e.parentNode - ? findShadowRoot(e.parentNode) - : null; + ? findShadowRoot(e.parentNode) + : null; }, noop = () => {}, reflow = (e) => { @@ -462,11 +462,11 @@ class Config { r = isElement(o) ? "element" : null == (n = o) - ? `${n}` - : Object.prototype.toString - .call(n) - .match(/\s([a-z]+)/i)[1] - .toLowerCase(); + ? `${n}` + : Object.prototype.toString + .call(n) + .match(/\s([a-z]+)/i)[1] + .toLowerCase(); if (!new RegExp(s).test(r)) throw new TypeError( `${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${s}".` @@ -965,8 +965,8 @@ class Carousel extends BaseComponent { ? "prev" : "next" : "left" === e - ? "next" - : "prev"; + ? "next" + : "prev"; } _orderToDirection(e) { return isRTL() @@ -974,8 +974,8 @@ class Carousel extends BaseComponent { ? "left" : "right" : "prev" === e - ? "right" - : "left"; + ? "right" + : "left"; } static jQueryInterface(e) { return this.each(function () { @@ -1003,8 +1003,8 @@ EventHandler.on( return i ? (n.to(i), void n._maybeEnableCycle()) : "next" === Manipulator.getDataAttribute(this, "slide") - ? (n.next(), void n._maybeEnableCycle()) - : (n.prev(), void n._maybeEnableCycle()); + ? (n.next(), void n._maybeEnableCycle()) + : (n.prev(), void n._maybeEnableCycle()); } ), EventHandler.on(window, EVENT_LOAD_DATA_API$3, () => { @@ -1324,9 +1324,9 @@ class Dropdown extends BaseComponent { "parent" === this._config.reference ? (e = this._parent) : isElement(this._config.reference) - ? (e = getElement(this._config.reference)) - : "object" == typeof this._config.reference && - (e = this._config.reference); + ? (e = getElement(this._config.reference)) + : "object" == typeof this._config.reference && + (e = this._config.reference); const t = this._getPopperConfig(); this._popper = Popper.createPopper(e, this._menu, t); } @@ -1347,8 +1347,8 @@ class Dropdown extends BaseComponent { ? PLACEMENT_TOPEND : PLACEMENT_TOP : t - ? PLACEMENT_BOTTOMEND - : PLACEMENT_BOTTOM; + ? PLACEMENT_BOTTOMEND + : PLACEMENT_BOTTOM; } _detectNavbar() { return null !== this._element.closest(".navbar"); @@ -1358,8 +1358,8 @@ class Dropdown extends BaseComponent { return "string" == typeof e ? e.split(",").map((e) => Number.parseInt(e, 10)) : "function" == typeof e - ? (t) => e(t, this._element) - : e; + ? (t) => e(t, this._element) + : e; } _getPopperConfig() { const e = { @@ -1665,8 +1665,8 @@ class FocusTrap extends Config { 0 === n.length ? t.focus() : "backward" === this._lastTabNavDirection - ? n[n.length - 1].focus() - : n[0].focus(); + ? n[n.length - 1].focus() + : n[0].focus(); } _handleKeydown(e) { "Tab" === e.key && @@ -2206,8 +2206,8 @@ class TemplateFactory extends Config { ? isElement(t) ? this._putElementInTemplate(getElement(t), i) : this._config.html - ? (i.innerHTML = this._maybeSanitize(t)) - : (i.textContent = t) + ? (i.innerHTML = this._maybeSanitize(t)) + : (i.textContent = t) : i.remove()); } _maybeSanitize(e) { @@ -2499,8 +2499,8 @@ class Tooltip extends BaseComponent { return "string" == typeof e ? e.split(",").map((e) => Number.parseInt(e, 10)) : "function" == typeof e - ? (t) => e(t, this._element) - : e; + ? (t) => e(t, this._element) + : e; } _resolvePossibleFunction(e) { return "function" == typeof e ? e.call(this._element) : e; diff --git a/vendor/bootstrap/js/bootstrap.js b/vendor/bootstrap/js/bootstrap.js index d7c56586..836b32b1 100644 --- a/vendor/bootstrap/js/bootstrap.js +++ b/vendor/bootstrap/js/bootstrap.js @@ -7,10 +7,10 @@ typeof exports === "object" && typeof module !== "undefined" ? (module.exports = factory(require("@popperjs/core"))) : typeof define === "function" && define.amd - ? define(["@popperjs/core"], factory) - : ((global = - typeof globalThis !== "undefined" ? globalThis : global || self), - (global.bootstrap = factory(global.Popper))); + ? define(["@popperjs/core"], factory) + : ((global = + typeof globalThis !== "undefined" ? globalThis : global || self), + (global.bootstrap = factory(global.Popper))); })(this, function (Popper) { "use strict"; diff --git a/vendor/bootstrap/js/bootstrap.min.js b/vendor/bootstrap/js/bootstrap.min.js index d7faa23f..a4f9015c 100644 --- a/vendor/bootstrap/js/bootstrap.min.js +++ b/vendor/bootstrap/js/bootstrap.min.js @@ -7,10 +7,10 @@ "object" == typeof exports && "undefined" != typeof module ? (module.exports = e(require("@popperjs/core"))) : "function" == typeof define && define.amd - ? define(["@popperjs/core"], e) - : ((t = - "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = - e(t.Popper)); + ? define(["@popperjs/core"], e) + : ((t = + "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = + e(t.Popper)); })(this, function (t) { "use strict"; function e(t) { @@ -62,8 +62,8 @@ ? t[0] : t : "string" == typeof t && t.length > 0 - ? document.querySelector(t) - : null, + ? document.querySelector(t) + : null, h = (t) => { if (!l(t) || 0 === t.getClientRects().length) return !1; const e = @@ -93,8 +93,8 @@ return t instanceof ShadowRoot ? t : t.parentNode - ? u(t.parentNode) - : null; + ? u(t.parentNode) + : null; }, _ = () => {}, g = (t) => { @@ -458,11 +458,11 @@ r = l(o) ? "element" : null == (i = o) - ? `${i}` - : Object.prototype.toString - .call(i) - .match(/\s([a-z]+)/i)[1] - .toLowerCase(); + ? `${i}` + : Object.prototype.toString + .call(i) + .match(/\s([a-z]+)/i)[1] + .toLowerCase(); if (!new RegExp(n).test(r)) throw new TypeError( `${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${r}" but expected type "${n}".` @@ -920,8 +920,8 @@ return s ? (i.to(s), void i._maybeEnableCycle()) : "next" === W.getDataAttribute(this, "slide") - ? (i.next(), void i._maybeEnableCycle()) - : (i.prev(), void i._maybeEnableCycle()); + ? (i.next(), void i._maybeEnableCycle()) + : (i.prev(), void i._maybeEnableCycle()); } ), $.on(window, "load.bs.carousel.data-api", () => { @@ -1192,9 +1192,9 @@ "parent" === this._config.reference ? (t = this._parent) : l(this._config.reference) - ? (t = c(this._config.reference)) - : "object" == typeof this._config.reference && - (t = this._config.reference); + ? (t = c(this._config.reference)) + : "object" == typeof this._config.reference && + (t = this._config.reference); const e = this._getPopperConfig(); this._popper = i.createPopper(t, this._menu, e); } @@ -1220,8 +1220,8 @@ return "string" == typeof t ? t.split(",").map((t) => Number.parseInt(t, 10)) : "function" == typeof t - ? (e) => t(e, this._element) - : t; + ? (e) => t(e, this._element) + : t; } _getPopperConfig() { const t = { @@ -1492,8 +1492,8 @@ 0 === i.length ? e.focus() : this._lastTabNavDirection === Qt - ? i[i.length - 1].focus() - : i[0].focus(); + ? i[i.length - 1].focus() + : i[0].focus(); } _handleKeydown(t) { "Tab" === t.key && @@ -1963,8 +1963,8 @@ ? l(e) ? this._putElementInTemplate(c(e), s) : this._config.html - ? (s.innerHTML = this._maybeSanitize(e)) - : (s.textContent = e) + ? (s.innerHTML = this._maybeSanitize(e)) + : (s.textContent = e) : s.remove()); } _maybeSanitize(t) { @@ -2246,8 +2246,8 @@ return "string" == typeof t ? t.split(",").map((t) => Number.parseInt(t, 10)) : "function" == typeof t - ? (e) => t(e, this._element) - : t; + ? (e) => t(e, this._element) + : t; } _resolvePossibleFunction(t) { return "function" == typeof t ? t.call(this._element) : t; diff --git a/vendor/glightbox/js/glightbox.js b/vendor/glightbox/js/glightbox.js index e1d1a094..64806559 100644 --- a/vendor/glightbox/js/glightbox.js +++ b/vendor/glightbox/js/glightbox.js @@ -2,8 +2,8 @@ typeof exports === "object" && typeof module !== "undefined" ? (module.exports = factory()) : typeof define === "function" && define.amd - ? define(factory) - : ((global = global || self), (global.GLightbox = factory())); + ? define(factory) + : ((global = global || self), (global.GLightbox = factory())); })(this, function () { "use strict"; @@ -1088,8 +1088,8 @@ ? "Left" : "Right" : y1 - y2 > 0 - ? "Up" - : "Down"; + ? "Up" + : "Down"; }, }, { diff --git a/vendor/glightbox/js/glightbox.min.js b/vendor/glightbox/js/glightbox.min.js index f819260f..c43d27a7 100644 --- a/vendor/glightbox/js/glightbox.min.js +++ b/vendor/glightbox/js/glightbox.min.js @@ -2,8 +2,8 @@ "object" == typeof exports && "undefined" != typeof module ? (module.exports = t()) : "function" == typeof define && define.amd - ? define(t) - : ((e = e || self).GLightbox = t()); + ? define(t) + : ((e = e || self).GLightbox = t()); })(this, function () { "use strict"; function e(t) { @@ -678,8 +678,8 @@ ? "Left" : "Right" : i - n > 0 - ? "Up" - : "Down"; + ? "Up" + : "Down"; }, }, { @@ -1010,8 +1010,8 @@ return s.slide.classList.contains("dragging-nav") ? (s.zoomOut(), !1) : s.zoomedIn - ? void (s.zoomedIn && !s.dragging && s.zoomOut()) - : s.zoomIn(); + ? void (s.zoomedIn && !s.dragging && s.zoomOut()) + : s.zoomIn(); }, !1 ), @@ -2717,12 +2717,12 @@ M(x) || -1 !== x.indexOf("px") ? parseInt(x) : -1 !== x.indexOf("vw") - ? (l * parseInt(x)) / 100 - : -1 !== x.indexOf("vh") - ? (o * parseInt(x)) / 100 - : -1 !== x.indexOf("%") - ? (l * parseInt(x)) / 100 - : parseInt(i.clientWidth)) / + ? (l * parseInt(x)) / 100 + : -1 !== x.indexOf("vh") + ? (o * parseInt(x)) / 100 + : -1 !== x.indexOf("%") + ? (l * parseInt(x)) / 100 + : parseInt(i.clientWidth)) / (parseInt(m[0]) / parseInt(m[1])); if ( ((S = Math.floor(S)), @@ -2767,10 +2767,10 @@ ? (h(this.prevButton, "disabled"), h(this.nextButton, "disabled")) : 0 !== this.index || e - ? this.index !== this.elements.length - 1 || - e || - h(this.nextButton, "disabled") - : h(this.prevButton, "disabled"); + ? this.index !== this.elements.length - 1 || + e || + h(this.nextButton, "disabled") + : h(this.prevButton, "disabled"); }, }, { diff --git a/vendor/isotope-layout/isotope.pkgd.min.js b/vendor/isotope-layout/isotope.pkgd.min.js index fef409f7..b283748b 100644 --- a/vendor/isotope-layout/isotope.pkgd.min.js +++ b/vendor/isotope-layout/isotope.pkgd.min.js @@ -14,8 +14,8 @@ return e(t, i); }) : "object" == typeof module && module.exports - ? (module.exports = e(t, require("jquery"))) - : (t.jQueryBridget = e(t, t.jQuery)); + ? (module.exports = e(t, require("jquery"))) + : (t.jQueryBridget = e(t, t.jQuery)); })(window, function (t, e) { "use strict"; function i(i, s, a) { @@ -77,8 +77,8 @@ "function" == typeof define && define.amd ? define("ev-emitter/ev-emitter", e) : "object" == typeof module && module.exports - ? (module.exports = e()) - : (t.EvEmitter = e()); + ? (module.exports = e()) + : (t.EvEmitter = e()); })("undefined" != typeof window ? window : this, function () { function t() {} var e = t.prototype; @@ -131,8 +131,8 @@ "function" == typeof define && define.amd ? define("get-size/get-size", e) : "object" == typeof module && module.exports - ? (module.exports = e()) - : (t.getSize = e()); + ? (module.exports = e()) + : (t.getSize = e()); })(window, function () { "use strict"; function t(t) { @@ -259,8 +259,8 @@ "function" == typeof define && define.amd ? define("desandro-matches-selector/matches-selector", e) : "object" == typeof module && module.exports - ? (module.exports = e()) - : (t.matchesSelector = e()); + ? (module.exports = e()) + : (t.matchesSelector = e()); })(window, function () { "use strict"; var t = (function () { @@ -287,8 +287,8 @@ } ) : "object" == typeof module && module.exports - ? (module.exports = e(t, require("desandro-matches-selector"))) - : (t.fizzyUIUtils = e(t, t.matchesSelector)); + ? (module.exports = e(t, require("desandro-matches-selector"))) + : (t.fizzyUIUtils = e(t, t.matchesSelector)); })(window, function (t, e) { var i = {}; (i.extend = function (t, e) { @@ -400,8 +400,8 @@ e ) : "object" == typeof module && module.exports - ? (module.exports = e(require("ev-emitter"), require("get-size"))) - : ((t.Outlayer = {}), (t.Outlayer.Item = e(t.EvEmitter, t.getSize))); + ? (module.exports = e(require("ev-emitter"), require("get-size"))) + : ((t.Outlayer = {}), (t.Outlayer.Item = e(t.EvEmitter, t.getSize))); })(window, function (t, e) { "use strict"; function i(t) { @@ -696,20 +696,20 @@ } ) : "object" == typeof module && module.exports - ? (module.exports = e( - t, - require("ev-emitter"), - require("get-size"), - require("fizzy-ui-utils"), - require("./item") - )) - : (t.Outlayer = e( - t, - t.EvEmitter, - t.getSize, - t.fizzyUIUtils, - t.Outlayer.Item - )); + ? (module.exports = e( + t, + require("ev-emitter"), + require("get-size"), + require("fizzy-ui-utils"), + require("./item") + )) + : (t.Outlayer = e( + t, + t.EvEmitter, + t.getSize, + t.fizzyUIUtils, + t.Outlayer.Item + )); })(window, function (t, e, i, o, n) { "use strict"; function s(t, e) { @@ -1122,8 +1122,8 @@ "function" == typeof define && define.amd ? define("isotope-layout/js/item", ["outlayer/outlayer"], e) : "object" == typeof module && module.exports - ? (module.exports = e(require("outlayer"))) - : ((t.Isotope = t.Isotope || {}), (t.Isotope.Item = e(t.Outlayer))); + ? (module.exports = e(require("outlayer"))) + : ((t.Isotope = t.Isotope || {}), (t.Isotope.Item = e(t.Outlayer))); })(window, function (t) { "use strict"; function e() { @@ -1163,9 +1163,9 @@ e ) : "object" == typeof module && module.exports - ? (module.exports = e(require("get-size"), require("outlayer"))) - : ((t.Isotope = t.Isotope || {}), - (t.Isotope.LayoutMode = e(t.getSize, t.Outlayer))); + ? (module.exports = e(require("get-size"), require("outlayer"))) + : ((t.Isotope = t.Isotope || {}), + (t.Isotope.LayoutMode = e(t.getSize, t.Outlayer))); })(window, function (t, e) { "use strict"; function i(t) { @@ -1249,8 +1249,8 @@ e ) : "object" == typeof module && module.exports - ? (module.exports = e(require("outlayer"), require("get-size"))) - : (t.Masonry = e(t.Outlayer, t.getSize)); + ? (module.exports = e(require("outlayer"), require("get-size"))) + : (t.Masonry = e(t.Outlayer, t.getSize)); })(window, function (t, e) { var i = t.create("masonry"); i.compatOptions.fitWidth = "isFitWidth"; @@ -1378,11 +1378,11 @@ e ) : "object" == typeof module && module.exports - ? (module.exports = e( - require("../layout-mode"), - require("masonry-layout") - )) - : e(t.Isotope.LayoutMode, t.Masonry); + ? (module.exports = e( + require("../layout-mode"), + require("masonry-layout") + )) + : e(t.Isotope.LayoutMode, t.Masonry); })(window, function (t, e) { "use strict"; var i = t.create("masonry"), @@ -1409,8 +1409,8 @@ "function" == typeof define && define.amd ? define("isotope-layout/js/layout-modes/fit-rows", ["../layout-mode"], e) : "object" == typeof exports - ? (module.exports = e(require("../layout-mode"))) - : e(t.Isotope.LayoutMode); + ? (module.exports = e(require("../layout-mode"))) + : e(t.Isotope.LayoutMode); })(window, function (t) { "use strict"; var e = t.create("fitRows"), @@ -1444,8 +1444,8 @@ "function" == typeof define && define.amd ? define("isotope-layout/js/layout-modes/vertical", ["../layout-mode"], e) : "object" == typeof module && module.exports - ? (module.exports = e(require("../layout-mode"))) - : e(t.Isotope.LayoutMode); + ? (module.exports = e(require("../layout-mode"))) + : e(t.Isotope.LayoutMode); })(window, function (t) { "use strict"; var e = t.create("vertical", { horizontalAlignment: 0 }), @@ -1487,27 +1487,27 @@ } ) : "object" == typeof module && module.exports - ? (module.exports = e( - t, - require("outlayer"), - require("get-size"), - require("desandro-matches-selector"), - require("fizzy-ui-utils"), - require("isotope-layout/js/item"), - require("isotope-layout/js/layout-mode"), - require("isotope-layout/js/layout-modes/masonry"), - require("isotope-layout/js/layout-modes/fit-rows"), - require("isotope-layout/js/layout-modes/vertical") - )) - : (t.Isotope = e( - t, - t.Outlayer, - t.getSize, - t.matchesSelector, - t.fizzyUIUtils, - t.Isotope.Item, - t.Isotope.LayoutMode - )); + ? (module.exports = e( + t, + require("outlayer"), + require("get-size"), + require("desandro-matches-selector"), + require("fizzy-ui-utils"), + require("isotope-layout/js/item"), + require("isotope-layout/js/layout-mode"), + require("isotope-layout/js/layout-modes/masonry"), + require("isotope-layout/js/layout-modes/fit-rows"), + require("isotope-layout/js/layout-modes/vertical") + )) + : (t.Isotope = e( + t, + t.Outlayer, + t.getSize, + t.matchesSelector, + t.fizzyUIUtils, + t.Isotope.Item, + t.Isotope.LayoutMode + )); })(window, function (t, e, i, o, n, s, r) { function a(t, e) { return function (i, o) { @@ -1645,12 +1645,12 @@ return u(e.element).is(t); } : "function" == typeof t - ? function (e) { - return t(e.element); - } - : function (e) { - return o(e.element, t); - }; + ? function (e) { + return t(e.element); + } + : function (e) { + return o(e.element, t); + }; }), (l.updateSortData = function (t) { var e; diff --git a/vendor/purecounter/purecounter_vanilla.js b/vendor/purecounter/purecounter_vanilla.js index df4b0f32..14d57af1 100644 --- a/vendor/purecounter/purecounter_vanilla.js +++ b/vendor/purecounter/purecounter_vanilla.js @@ -9,10 +9,10 @@ "object" == typeof exports && "object" == typeof module ? (module.exports = t()) : "function" == typeof define && define.amd - ? define([], t) - : "object" == typeof exports - ? (exports.PureCounter = t()) - : (e.PureCounter = t()); + ? define([], t) + : "object" == typeof exports + ? (exports.PureCounter = t()) + : (e.PureCounter = t()); })(self, function () { return ( (e = { @@ -51,9 +51,9 @@ "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) - ? n(e, t) - : void 0 + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) + ? n(e, t) + : void 0 ); } })(e) || @@ -171,9 +171,9 @@ ? ((a = t.replace(new RegExp(/,/gi, "gi"), n)), (u = ",")) : void 0 !== r - ? (a = r.replace(new RegExp(/\./gi, "gi"), n)) - : void 0 !== o && - (a = o.replace(new RegExp(/ /gi, "gi"), n)), + ? (a = r.replace(new RegExp(/\./gi, "gi"), n)) + : void 0 !== o && + (a = o.replace(new RegExp(/ /gi, "gi"), n)), void 0 !== i) ) { var c = "," !== u && "," !== n ? "," : "."; @@ -200,10 +200,10 @@ return /^[0-9]+\.[0-9]+$/.test(e) ? parseFloat(e) : /^[0-9]+$/.test(e) - ? parseInt(e) - : /^true|false/i.test(e) - ? /^true/i.test(e) - : e; + ? parseInt(e) + : /^true|false/i.test(e) + ? /^true/i.test(e) + : e; } function f(e) { for ( diff --git a/vendor/swiper/swiper-bundle.min.js b/vendor/swiper/swiper-bundle.min.js index 67e8b8de..167cb840 100644 --- a/vendor/swiper/swiper-bundle.min.js +++ b/vendor/swiper/swiper-bundle.min.js @@ -14,9 +14,10 @@ "object" == typeof exports && "undefined" != typeof module ? (module.exports = t()) : "function" == typeof define && define.amd - ? define(t) - : ((e = "undefined" != typeof globalThis ? globalThis : e || self).Swiper = - t()); + ? define(t) + : ((e = + "undefined" != typeof globalThis ? globalThis : e || self).Swiper = + t()); })(this, function () { "use strict"; function e(e) { @@ -514,8 +515,8 @@ ? d([this[0].nextElementSibling]) : d([]) : this[0].nextElementSibling - ? d([this[0].nextElementSibling]) - : d([]) + ? d([this[0].nextElementSibling]) + : d([]) : d([]); }, nextAll: function (e) { @@ -536,8 +537,8 @@ ? d([t.previousElementSibling]) : d([]) : t.previousElementSibling - ? d([t.previousElementSibling]) - : d([]); + ? d([t.previousElementSibling]) + : d([]); } return d([]); }, @@ -641,14 +642,14 @@ (i = s.WebKitCSSMatrix ? n.m41 : 16 === a.length - ? parseFloat(a[12]) - : parseFloat(a[4])), + ? parseFloat(a[12]) + : parseFloat(a[4])), "y" === t && (i = s.WebKitCSSMatrix ? n.m42 : 16 === a.length - ? parseFloat(a[13]) - : parseFloat(a[5])), + ? parseFloat(a[13]) + : parseFloat(a[5])), i || 0 ); } @@ -682,8 +683,8 @@ ? (e[i] = a[i]) : g(e[i], a[i]) : !m(e[i]) && m(a[i]) - ? ((e[i] = {}), a[i].__swiper__ ? (e[i] = a[i]) : g(e[i], a[i])) - : (e[i] = a[i])); + ? ((e[i] = {}), a[i].__swiper__ ? (e[i] = a[i]) : g(e[i], a[i])) + : (e[i] = a[i])); } } } @@ -874,17 +875,17 @@ return !s.eventsListeners || s.destroyed ? s : s.eventsListeners - ? (e.split(" ").forEach((e) => { - void 0 === t - ? (s.eventsListeners[e] = []) - : s.eventsListeners[e] && - s.eventsListeners[e].forEach((a, i) => { - (a === t || (a.__emitterProxy && a.__emitterProxy === t)) && - s.eventsListeners[e].splice(i, 1); - }); - }), - s) - : s; + ? (e.split(" ").forEach((e) => { + void 0 === t + ? (s.eventsListeners[e] = []) + : s.eventsListeners[e] && + s.eventsListeners[e].forEach((a, i) => { + (a === t || (a.__emitterProxy && a.__emitterProxy === t)) && + s.eventsListeners[e].splice(i, 1); + }); + }), + s) + : s; }, emit() { const e = this; @@ -1808,17 +1809,17 @@ })) : e.slideTo(r) : r > e.slides.length - a - ? (e.loopFix(), - (r = s - .children( - `.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})` - ) - .eq(0) - .index()), - p(() => { - e.slideTo(r); - })) - : e.slideTo(r); + ? (e.loopFix(), + (r = s + .children( + `.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})` + ) + .eq(0) + .index()), + p(() => { + e.slideTo(r); + })) + : e.slideTo(r); } else e.slideTo(r); }, }; @@ -2249,8 +2250,8 @@ (w > 1 - a.longSwipesRatio ? t.slideTo(m + b) : null !== v && w < 0 && Math.abs(w) > a.longSwipesRatio - ? t.slideTo(v) - : t.slideTo(m)); + ? t.slideTo(v) + : t.slideTo(m)); } else { if (!a.shortSwipes) return void t.slideTo(t.activeIndex); t.navigation && @@ -2691,13 +2692,13 @@ d(e).parent("picture")[0] || (e.complete && i) ? c() : t - ? ((o = new l.Image()), - (o.onload = c), - (o.onerror = c), - a && (o.sizes = a), - s && (o.srcset = s), - t && (o.src = t)) - : c(); + ? ((o = new l.Image()), + (o.onload = c), + (o.onerror = c), + a && (o.sizes = a), + s && (o.srcset = s), + t && (o.src = t)) + : c(); }, preloadImages: function () { const e = this; @@ -4247,8 +4248,8 @@ ? "vertical" : "horizontal" : t.isHorizontal() - ? "horizontal" - : "vertical"; + ? "horizontal" + : "vertical"; const a = (p + 1) / u; let i = 1, n = 1; @@ -4446,8 +4447,8 @@ ? ((d = -d), d > 0 ? ((l = o - d), (d = 0)) : -d + o > c && (l = c + d)) : d < 0 - ? ((l = o + d), (d = 0)) - : d + o > c && (l = c - d), + ? ((l = o + d), (d = 0)) + : d + o > c && (l = c - d), t.isHorizontal() ? (i.transform(`translate3d(${d}px, 0, 0)`), (i[0].style.width = `${l}px`)) @@ -4493,8 +4494,8 @@ ? e.targetTouches[0].clientX : e.clientX : "touchstart" === e.type || "touchmove" === e.type - ? e.targetTouches[0].clientY - : e.clientY; + ? e.targetTouches[0].clientY + : e.clientY; } function b(e) { const { scrollbar: s, rtlTranslate: a } = t, @@ -4704,8 +4705,8 @@ (l || o ? ((l = l || "0"), (o = o || "0")) : t.isHorizontal() - ? ((l = n), (o = "0")) - : ((o = n), (l = "0")), + ? ((l = n), (o = "0")) + : ((o = n), (l = "0")), (l = l.indexOf("%") >= 0 ? parseInt(l, 10) * s * r + "%" @@ -6029,25 +6030,26 @@ (e = s.slidePrev(s.params.speed, !0, !0)), n("autoplay")) : s.isBeginning - ? s.params.autoplay.stopOnLastSlide - ? d() - : ((e = s.slideTo( - s.slides.length - 1, - s.params.speed, - !0, - !0 - )), - n("autoplay")) - : ((e = s.slidePrev(s.params.speed, !0, !0)), n("autoplay")) + ? s.params.autoplay.stopOnLastSlide + ? d() + : ((e = s.slideTo( + s.slides.length - 1, + s.params.speed, + !0, + !0 + )), + n("autoplay")) + : ((e = s.slidePrev(s.params.speed, !0, !0)), n("autoplay")) : s.params.loop - ? (s.loopFix(), - (e = s.slideNext(s.params.speed, !0, !0)), - n("autoplay")) - : s.isEnd - ? s.params.autoplay.stopOnLastSlide - ? d() - : ((e = s.slideTo(0, s.params.speed, !0, !0)), n("autoplay")) - : ((e = s.slideNext(s.params.speed, !0, !0)), n("autoplay")), + ? (s.loopFix(), + (e = s.slideNext(s.params.speed, !0, !0)), + n("autoplay")) + : s.isEnd + ? s.params.autoplay.stopOnLastSlide + ? d() + : ((e = s.slideTo(0, s.params.speed, !0, !0)), + n("autoplay")) + : ((e = s.slideNext(s.params.speed, !0, !0)), n("autoplay")), ((s.params.cssMode && s.autoplay.running) || !1 === e) && l(); }, a)); } @@ -6279,14 +6281,14 @@ void 0 === e ? a : void 0 === a - ? e - : a - o == o - e - ? s.params.slidesPerGroup > 1 - ? a - : o - : a - o < o - e - ? a - : e), + ? e + : a - o == o - e + ? s.params.slidesPerGroup > 1 + ? a + : o + : a - o < o - e + ? a + : e), (r = t.activeIndex > t.previousIndex ? "next" : "prev"); } else (i = t.realIndex), (r = i > t.previousIndex ? "next" : "prev"); l && (i += "next" === r ? n : -1 * n), @@ -6445,8 +6447,8 @@ s < a ? r.speed : s < 2 * a - ? 1.5 * r.speed - : 2.5 * r.speed; + ? 1.5 * r.speed + : 2.5 * r.speed; } } else if (r.freeMode.sticky) return void t.slideToClosest(); r.freeMode.momentumBounce && h @@ -6469,17 +6471,17 @@ }, 0)); })) : t.velocity - ? (a("_freeModeNoMomentumRelease"), - t.updateProgress(c), - t.setTransition(e), - t.setTranslate(c), - t.transitionStart(!0, t.swipeDirection), - t.animating || - ((t.animating = !0), - n.transitionEnd(() => { - t && !t.destroyed && t.transitionEnd(); - }))) - : t.updateProgress(c), + ? (a("_freeModeNoMomentumRelease"), + t.updateProgress(c), + t.setTransition(e), + t.setTranslate(c), + t.transitionStart(!0, t.swipeDirection), + t.animating || + ((t.animating = !0), + n.transitionEnd(() => { + t && !t.destroyed && t.transitionEnd(); + }))) + : t.updateProgress(c), t.updateActiveIndex(), t.updateSlidesClasses(); } else { @@ -6681,10 +6683,10 @@ s % 4 == 0 ? ((c = 4 * -n * o), (g = 0)) : (s - 1) % 4 == 0 - ? ((c = 0), (g = 4 * -n * o)) - : (s - 2) % 4 == 0 - ? ((c = o + 4 * n * o), (g = o)) - : (s - 3) % 4 == 0 && ((c = -o), (g = 3 * o + 4 * o * n)), + ? ((c = 0), (g = 4 * -n * o)) + : (s - 2) % 4 == 0 + ? ((c = o + 4 * n * o), (g = o)) + : (s - 3) % 4 == 0 && ((c = -o), (g = 3 * o + 4 * o * n)), l && (c = -c), u || ((m = c), (c = 0)); const v = `rotateX(${u ? 0 : -r}deg) rotateY(${ @@ -7096,8 +7098,8 @@ c < 0 ? `calc(${u}px + (${v * Math.abs(c)}%))` : c > 0 - ? `calc(${u}px + (-${v * Math.abs(c)}%))` - : `${u}px`), + ? `calc(${u}px + (-${v * Math.abs(c)}%))` + : `${u}px`), !t.isHorizontal()) ) { const e = h;