You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7092 lines
314 KiB

"use strict";
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _defineProperty(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _defineProperty(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _defineProperty(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _defineProperty(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
var liquidIsMobile = function e() {
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
},
liquidMobileNavBreakpoint = function e() {
return window.liquidParams && window.liquidParams.mobileNavBreakpoint ? window.liquidParams.mobileNavBreakpoint : jQuery("body").data("mobile-nav-breakpoint") || 1199
},
liquidWindowWidth = function e() {
return window.innerWidth
},
liquidWindowHeight = function e() {
return window.innerHeight
},
restArguments = function e(t, n) {
return n = null == n ? t.length - 1 : +n,
function() {
for (var e = Math.max(arguments.length - n, 0), i = Array(e), a = 0; a < e; a++) i[a] = arguments[a + n];
switch (n) {
case 0:
return t.call(this, i);
case 1:
return t.call(this, arguments[0], i);
case 2:
return t.call(this, arguments[0], arguments[1], i)
}
var s = Array(n + 1);
for (a = 0; a < n; a++) s[a] = arguments[a];
return s[n] = i, t.apply(this, s)
}
},
liquidDelay = restArguments(function(e, t, n) {
return setTimeout(function() {
return e.apply(null, n)
}, t)
}),
liquidNow = Date.now || function() {
return (new Date).getTime()
},
liquidThrottle = function e(t, n, i) {
var a, s, o, l, r = 0;
i || (i = {});
var u = function e() {
r = !1 === i.leading ? 0 : liquidNow(), a = null, l = t.apply(s, o), a || (s = o = null)
},
c = function e() {
var c = liquidNow();
r || !1 !== i.leading || (r = c);
var d = n - (c - r);
return s = this, o = arguments, d <= 0 || d > n ? (a && (clearTimeout(a), a = null), r = c, l = t.apply(s, o), a || (s = o = null)) : a || !1 === i.trailing || (a = setTimeout(u, d)), l
};
return c.cancel = function() {
clearTimeout(a), r = 0, a = s = o = null
}, c
},
liquidDebounce = function e(t, n, i) {
var a, s, o = function e(n, i) {
a = null, i && (s = t.apply(n, i))
},
l = restArguments(function(e) {
if (a && clearTimeout(a), i) {
var l = !a;
a = setTimeout(o, n), l && (s = t.apply(this, e))
} else a = liquidDelay(o, n, this, e);
return s
});
return l.cancel = function() {
clearTimeout(a), a = null
}, l
};
! function() {
var e = window.navigator.userAgent;
/MSIE|Trident/.test(e) && document.querySelector("html").classList.add("is-ie")
}(),
function() {
function e(e, t) {
t = t || {
bubbles: !1,
cancelable: !1,
detail: null
};
var n = document.createEvent("CustomEvent");
return n.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), n
}
if ("function" == typeof window.CustomEvent) return !1;
e.prototype = window.Event.prototype, window.CustomEvent = e
}();
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
},
_createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidPreloader",
a = {
animationType: "fade",
animationTargets: "self",
stagger: 0
},
s = function() {
function n(e, t) {
_classCallCheck(this, n), this.element = e, this.$element = $(e), this.options = $.extend({}, a, t), this._defaults = a, this._name = i, this.$body = $("body"), this.init(), this.events()
}
return _createClass(n, [{
key: "init",
value: function e() {}
}, {
key: "getAnimationTargets",
value: function e() {
var n = this.options.animationTargets;
return "self" === n ? this.element : t.querySelectorAll(n)
}
}, {
key: "getAnimationProperties",
value: function e() {
return this[this.options.animationType + "Properties"]()
}
}, {
key: "fadeProperties",
value: function e() {
return {
animateIn: {
opacity: [0, 1]
},
animateOut: {
opacity: [1, 0]
}
}
}
}, {
key: "slideProperties",
value: function e() {
return {
animateIn: {
translateX: ["100%", "0%"]
},
animateOut: {
translateX: ["0%", "-100%"]
}
}
}
}, {
key: "events",
value: function t() {
"onpagehide" in e ? (e.addEventListener("pageshow", this.onPageLoad.bind(this), !1), e.addEventListener("pagehide", this.onPageUnload.bind(this), !1)) : e.addEventListener("unload", this.onPageUnload.bind(this), !1)
}
}, {
key: "onPageLoad",
value: function e(t) {
if (("undefined" !== (void 0 === t ? "undefined" : _typeof(t)) || null !== t) && t.persisted) return this.$body.addClass("lqd-page-loaded lqd-preloader-animations-started"), this.$body.removeClass("lqd-page-leaving lqd-page-not-loaded"), void this.hidePreloader();
this.$body.addClass("lqd-page-loaded lqd-preloader-animations-started"), this.$body.removeClass("lqd-page-leaving lqd-page-not-loaded"), this.hidePreloader()
}
}, {
key: "onPageUnload",
value: function e() {
this.$body.addClass("lqd-page-leaving"), this.$body.removeClass("lqd-preloader-animations-done"), this.$body.addClass("lqd-preloader-animations-started"), this.showPreloader()
}
}, {
key: "hidePreloader",
value: function e() {
var t = this,
n = this.getAnimationTargets(),
i = anime.timeline({
targets: n,
duration: 1400,
easing: "easeOutExpo",
delay: anime.stagger(this.options.stagger),
complete: function e(n) {
t.$element.hide(), t.$body.removeClass("lqd-preloader-animations-started"), t.$body.addClass("lqd-preloader-animations-done"), n.animatables.forEach(function(e) {
$(e.target).css("transform", "")
})
}
});
$(n).each(function(e, n) {
var a = $(n);
if (n.hasAttribute("data-animations")) {
var s = a.data("animations"),
o = $.extend({}, s, {
targets: n
});
i.add(o, t.options.stagger * e)
} else {
var l = t.getAnimationProperties().animateOut,
r = $.extend({}, l, {
targets: n
});
i.add(r, t.options.stagger * e)
}
})
}
}, {
key: "showPreloader",
value: function e() {
return this.$element.fadeIn("fast"), null
}
}]), n
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("preloader-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".lqd-preloader-wrap").liquidPreloader()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidMegamenu",
a = {},
s = function() {
function t(e, n) {
var s;
_classCallCheck(this, t), this.element = e, this.$element = $(this.element), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.mobileNavBreakPoint = liquidMobileNavBreakpoint(), this.tabletBreakpoint = this.mobileNavBreakPoint <= 992 ? 992 : this.mobileNavBreakPoint, this.breakpoints = (s = {}, _defineProperty(s, this.mobileNavBreakPoint - 60, [this.mobileNavBreakPoint + 1, 1 / 0]), _defineProperty(s, 940, [992, this.tabletBreakpoint]), s), this.$megamenuContainer = $(".megamenu-container", this.element), this.$innerRow = $(".megamenu-inner-row", this.element), this.isContentStretched = !!this.$innerRow.next(".vc_row-full-width").length, this.$columns = $(".megamenu-column", this.element), this.$submenu = $(".nav-item-children", this.element), this.defaultSidePadding = 15, this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
this.setColumnsNumbers(), this.isContentStretched ? (this.$element.addClass("megamenu-content-stretch"), this.$megamenuContainer.removeClass("container").addClass("container-fluid"), this.$element.addClass("position-applied")) : (this.setContainerWidth(), this.getElementBoundingRect(), this.resizeWindow())
}
}, {
key: "setColumnsNumbers",
value: function e() {
this.$element.addClass("columns-" + this.$columns.length)
}
}, {
key: "getColumnsWidth",
value: function e() {
var t = 0;
return $.each(this.$columns, function(e, n) {
t += Math.round($(n).outerWidth(!0))
}), t
}
}, {
key: "setContainerWidth",
value: function e() {
this.$megamenuContainer.css({
width: ""
});
var t = this.getColumnsWidth();
this.$megamenuContainer.width(t - 2 * this.defaultSidePadding)
}
}, {
key: "getGlobalContainerDimensions",
value: function e() {
var t = liquidWindowWidth(),
n = {};
return $.each(this.breakpoints, function(e, i) {
t >= i[0] && t <= i[1] && (n.width = parseInt(e, 10), n.offsetLeft = (t - e) / 2)
}), n
}
}, {
key: "getElementBoundingRect",
value: function e() {
var t = this;
new IntersectionObserver(function(e) {
e.forEach(function(e) {
e.isIntersecting && (t.elementBoundingRect = e.boundingClientRect, t.getMegamenuBoundingRect())
})
}).observe(this.element)
}
}, {
key: "getMegamenuBoundingRect",
value: function e() {
var t = this;
new IntersectionObserver(function(e) {
e.forEach(function(e) {
e.isIntersecting && (t.megamenuBoundingRect = e.boundingClientRect, t.positioning())
})
}).observe(this.$megamenuContainer.get(0))
}
}, {
key: "positioning",
value: function e() {
var t = this.elementBoundingRect.width,
n = this.elementBoundingRect.left,
i = this.megamenuBoundingRect.width,
a = this.getGlobalContainerDimensions(),
s = a.width,
o = a.offsetLeft,
l = n <= s + o,
r = 0;
this.$submenu.css({
left: "",
marginLeft: ""
}), i === s && l && this.$submenu.css({
left: o - this.defaultSidePadding
}), l && (this.$submenu.css({
left: o - this.defaultSidePadding + (s / 2 - i / 2)
}), r = parseInt(this.$submenu.css("left"), 10)), r > n ? this.$submenu.css({
left: n
}) : r + i < n + t && this.$submenu.css({
left: n + t - (r + i) + r
}), this.$element.addClass("position-applied")
}
}, {
key: "resizeWindow",
value: function t() {
var n = liquidDebounce(this.onResizeWindow, 250);
$(e).on("resize", n.bind(this))
}
}, {
key: "onResizeWindow",
value: function e() {
this.$element.removeClass("position-applied"), this.setContainerWidth(), this.getElementBoundingRect()
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".megamenu").filter(function(e, t) {
return !$(t).closest(".main-nav").hasClass("main-nav-side, main-nav-fullscreen-style-1")
}).liquidMegamenu()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidSubmenu",
a = {
toggleType: "fade",
handler: "mouse-in-out",
animationSpeed: 200
},
s = function() {
function n(e, t) {
_classCallCheck(this, n), this.element = e, this.$element = $(e), this.options = $.extend({}, a, t), this._defaults = a, this._name = i, this.$mainHeader = this.$element.closest(".main-header"), this.modernMobileNav = "modern" == $("body").attr("data-mobile-nav-style"), this.init()
}
return _createClass(n, [{
key: "init",
value: function e() {
var t = this,
n = this.$element.find(".menu-item-has-children, .page_item_has_children"),
i = this.$element.find(".nav-item-children, .children");
return this.positioning(i), n.each(function(e, i) {
t.getMegamenuBackgroundLuminance(i), t.eventHandlers(i), t.offHandlers(n), t.handleWindowResize(n)
}), this
}
}, {
key: "eventHandlers",
value: function e(n) {
var i = this,
a = this,
s = $(n).children("a"),
o = this.options,
l = o.handler,
r = o.toggleType,
u = o.animationSpeed,
c = $(".submenu-expander", s);
return s.off(), $(n).off(), c.off(), "click" == l ? (s.on("click", function(e) {
a.handleToggle.call(a, e, "toggle")
}), $(t).on("click", a.closeActiveSubmenu.bind(n, r, u)), $(t).keyup(function(e) {
27 == e.keyCode && a.closeActiveSubmenu(r, u)
})) : ($(n).on("mouseenter", function(e) {
a.handleToggle.call(a, e, "show")
}), $(n).on("mouseleave", function(e) {
a.handleToggle.call(a, e, "hide")
})), c.on("click", function(e) {
e.preventDefault(), e.stopPropagation(), i.mobileNav.call(i, $(e.currentTarget).closest("li"))
}), this
}
}, {
key: "handleToggle",
value: function e(t, n) {
var i = this,
a = i.options.toggleType,
s = $(t.currentTarget),
o = s.is("a") ? s.siblings(".nav-item-children, .children") : s.children(".nav-item-children, .children"),
l = s.closest(".mainbar-wrap"),
r = !!s.is(".megamenu"),
u = r && s.attr("data-bg-color"),
c = r && s.attr("data-megamenu-bg-scheme");
o.length && (t.preventDefault(), o.closest("li").toggleClass("active").siblings().removeClass("active"), "fade" == a && "show" === n ? i.fadeIn(t, o, r, c, u, l) : "fade" == a && "hide" === n && i.fadeOut(t, o, r, c, u, l), "slide" == a && "show" === n ? i.slideDown(t, o, r, c, u, l) : "slide" == a && "hide" === n && i.slideUp(t, o, r, c, u, l), "fade" == a && "toggle" === n && i.fadeToggle(t, o, r, c, u, l), "slide" == a && "toggle" === n && i.slideToggle(t, o, r, c, u, l))
}
}, {
key: "fadeToggle",
value: function e(t, n, i, a, s, o) {
n.closest("li").siblings().find(".nav-item-children, .children").stop().fadeOut(this.options.animationSpeed), n.stop().fadeToggle(this.options.animationSpeed), i && (o.children(".megamenu-hover-bg").css("background-color", s), this.$mainHeader.removeClass("megamenu-scheme-dark megamenu-scheme-light"), this.$mainHeader.toggleClass("megamenu-item-active megamenu-scheme-" + a))
}
}, {
key: "fadeIn",
value: function e(t, n, i, a, s, o) {
n.closest("li").siblings().find(".nav-item-children, .children").stop().fadeOut(this.options.animationSpeed), n.stop().fadeIn(this.options.animationSpeed), i && (o.children(".megamenu-hover-bg").css("background-color", s), this.$mainHeader.removeClass("megamenu-scheme-dark megamenu-scheme-light"), this.$mainHeader.addClass("megamenu-item-active megamenu-scheme-" + a)), n.find("[data-lqd-flickity]").length && n.find("[data-lqd-flickity]").flickity("resize")
}
}, {
key: "fadeOut",
value: function e(t, n, i, a, s, o) {
n.stop().fadeOut(this.options.animationSpeed), i && (this.$mainHeader.removeClass("megamenu-scheme-dark megamenu-scheme-light"), this.$mainHeader.removeClass("megamenu-item-active"))
}
}, {
key: "slideToggle",
value: function e(t, n, i, a, s, o) {
n.closest("li").siblings().find(".nav-item-children, .children").stop().slideUp(this.options.animationSpeed), n.stop().slideToggle(this.options.animationSpeed), i && (o.children(".megamenu-hover-bg").css("background-color", s), this.$mainHeader.removeClass("megamenu-scheme-dark megamenu-scheme-light"), this.$mainHeader.toggleClass("megamenu-item-active megamenu-scheme-" + a))
}
}, {
key: "slideDown",
value: function e(t, n, i, a, s, o) {
n.closest("li").siblings().find(".nav-item-children, .children").stop().slideUp(this.options.animationSpeed), n.stop().slideDown(this.options.animationSpeed), i && (o.children(".megamenu-hover-bg").css("background-color", s), this.$mainHeader.removeClass("megamenu-scheme-dark megamenu-scheme-light"), this.$mainHeader.addClass("megamenu-item-active megamenu-scheme-" + a))
}
}, {
key: "slideUp",
value: function e(t, n, i, a, s, o) {
n.stop().slideUp(this.options.animationSpeed), i && (this.$mainHeader.removeClass("megamenu-scheme-dark megamenu-scheme-light"), this.$mainHeader.removeClass("megamenu-item-active"))
}
}, {
key: "getMegamenuBackgroundLuminance",
value: function e(t) {
var n = $(t);
if (n.is(".megamenu")) {
var i = n.find(".megamenu-inner-row").first(),
a = tinycolor(i.css("background-color"));
n.closest(".megamenu").attr("data-bg-color", a), a.isLight() ? n.attr("data-megamenu-bg-scheme", "light") : a.isDark() && n.attr("data-megamenu-bg-scheme", "dark")
}
}
}, {
key: "closeActiveSubmenu",
value: function e(t, n) {
if (event.keyCode) {
var i = $(this.element);
"fade" == t ? i.find(".active").removeClass("active").find(".nav-item-children, .children").stop().fadeOut(n) : i.find(".active").removeClass("active").find(".nav-item-children, .children").stop().slideUp(n)
} else {
var a = $(this);
a.is(event.target) || a.has(event.target).length || (a.removeClass("active"), "fade" == t ? a.find(".nav-item-children, .children").stop().fadeOut(n) : a.find(".nav-item-children, .children").stop().slideUp(n))
}
}
}, {
key: "mobileNav",
value: function e(t) {
var n = this,
i = $(t),
a = i.children(".nav-item-children, .children"),
s = i.closest(".navbar-collapse-inner"),
o = i.hasClass("active");
i.toggleClass("active"), i.siblings().removeClass("active").find(".nav-item-children, .children").slideUp(200), a.slideToggle(300, function() {
n.modernMobileNav && !o && s.animate({
scrollTop: s.scrollTop() + (i.offset().top - s.offset().top)
})
})
}
}, {
key: "offHandlers",
value: function e(t) {
liquidWindowWidth() <= liquidMobileNavBreakpoint() ? ($(t).off(), $(t).children("a").off()) : this.eventHandlers(t)
}
}, {
key: "positioning",
value: function e(t) {
var n = this;
$.each(t.get().reverse(), function(e, t) {
var i = $(t),
a = i.parent("li");
a.is(".megamenu") || (i.removeClass("to-left"), a.removeClass("position-applied"), n.initIO(t, a))
})
}
}, {
key: "initIO",
value: function e(t, n) {
var i = function e(i, a) {
i.forEach(function(e) {
var i = $(t),
s = e.boundingClientRect;
s.left + s.width >= e.rootBounds.width && i.addClass("to-left"), n.addClass("position-applied"), a.unobserve(e.target)
})
};
new IntersectionObserver(i).observe(t)
}
}, {
key: "handleWindowResize",
value: function t(n) {
$(e).on("resize", this.onWindowResize.bind(this, n))
}
}, {
key: "onWindowResize",
value: function e(t) {
this.offHandlers(t)
}
}]), n
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("submenu-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".main-nav").liquidSubmenu()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidStickyHeader",
a = {
stickyElement: ".mainbar-wrap",
stickyTrigger: "this"
},
s = function() {
function n(e, t) {
_classCallCheck(this, n), this.element = e, this.$element = $(e), this.options = $.extend({}, a, t), this._defaults = a, this._name = i, this.$stickyElement = $(this.options.stickyElement, this.element).last(), this.sentinel = this.addSentinel(), this.placeholder = this.addPlaceholder(), this.init()
}
return _createClass(n, [{
key: "init",
value: function e() {
this.observeSentinel(), this.observeStickyElement(), this.handleWindowResize(), this.eventListeners()
}
}, {
key: "eventListeners",
value: function e() {
t.addEventListener("lqd-header-sticky-change", function(e) {
var t = $(e.detail.target),
n = e.detail.stuck;
t.toggleClass("is-stuck", n), t.prev(".lqd-sticky-placeholder").toggleClass("hide", !n)
})
}
}, {
key: "addPlaceholder",
value: function e() {
return $('<div class="lqd-sticky-placeholder hide" />').insertBefore(this.$stickyElement).get(0)
}
}, {
key: "addSentinel",
value: function e() {
var t = this.options.stickyTrigger,
n = $('<div class="lqd-sticky-sentinel invisible pos-abs" />'),
i = $("#content > .vc_row:first-of-type"),
a = "body";
if ("first-section" == t) {
var s = $(".titlebar");
a = s.length ? s : i.length ? i : a, n.css("top", this.$stickyElement.outerHeight())
}
return n.appendTo(a).get(0)
}
}, {
key: "observeSentinel",
value: function e() {
var t = this;
new IntersectionObserver(function(e) {
e.forEach(function(e) {
var n = e.boundingClientRect,
i = e.rootBounds,
a = t.$stickyElement.get(0);
i && n.bottom < i.top && t.fireEvent(!0, a), i && n.bottom >= i.top && n.bottom < i.bottom && t.fireEvent(!1, a)
})
}).observe(this.sentinel)
}
}, {
key: "observeStickyElement",
value: function t() {
var n = this;
new IntersectionObserver(function(t, i) {
t.forEach(function(t) {
var a = n.options.stickyTrigger,
s = $(n.sentinel),
o = $(n.placeholder),
l = t.boundingClientRect;
if ($(t.target).hasClass("is-stuck")) return !1;
"this" == a && s.css({
width: l.width,
height: l.height,
top: l.top + e.scrollY,
left: l.left + e.scrollX
}), o.css({
height: l.height
}), i.unobserve(t.target)
})
}).observe(this.$stickyElement.get(0))
}
}, {
key: "fireEvent",
value: function e(n, i) {
var a = new CustomEvent("lqd-header-sticky-change", {
detail: {
stuck: n,
target: i
}
});
t.dispatchEvent(a)
}
}, {
key: "handleWindowResize",
value: function t() {
var n = liquidDebounce(this.onWindowResize, 250);
$(e).on("resize", n.bind(this))
}
}, {
key: "onWindowResize",
value: function e() {
this.observeStickyElement()
}
}]), n
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("sticky-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-sticky-header]").liquidStickyHeader()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidMobileNav",
a = {},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.$mainNavElements = $(".main-nav", this.element), this.$navbarHeader = $(".navbar-header", this.element).first(), this.$firstMainNav = this.$mainNavElements.length && this.$mainNavElements.first(), this.$navItems = [], this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.mergeMenuItems(), this.mobileModules()
}
}, {
key: "mergeMenuItems",
value: function e() {
var t = this;
this.$mainNavElements.length && this.$mainNavElements.length >= 2 && this.$mainNavElements.not(this.$firstMainNav).map(function(e, n) {
$(n).children().clone(!0).addClass("nav-item-cloned").appendTo(t.$firstMainNav)
})
}
}, {
key: "mobileModules",
value: function e() {
var t = $(".lqd-show-on-mobile", this.element);
if (t.length) {
var n = $('<div class="lqd-mobile-modules-container" />');
t.each(function(e, t) {
var i = $(t);
if (!i.children().length) return !1;
var a = i.clone(!0),
s = $("[data-target]", t),
o = s.attr("data-target"),
l = $(o, t);
s.length && l.attr({
id: o.replace("#", "") + "-cloned"
}), s.length && s.attr({
"data-target": o + "-cloned",
"aria-controls": o.replace("#", "") + "-cloned"
}), a.appendTo(n)
}), $(".lqd-mobile-modules-container", this.$navbarHeader).length || n.prependTo(this.$navbarHeader)
}
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("mobilenav-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".main-header").liquidMobileNav()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidToggle",
a = {},
s = function() {
function n(e, s) {
_classCallCheck(this, n), this.options = $.extend({}, a, s), this._defaults = a, this._name = i, this.element = e, this.$element = $(e), this.$body = $("body"), this.elements = this.options, this.targetElement = t.querySelector(this.$element.data("target")), this.$targetElement = $(this.targetElement), this.$mainHeader = $(".main-header"), this.$parentElement = this.$element.parent(), this.isSearchModule = this.$parentElement.is(".ld-module-search"), this.isCartModule = this.$parentElement.is(".ld-module-cart"), this.init()
}
return _createClass(n, [{
key: "init",
value: function e() {
return this.$targetElement.not(".navbar-collapse").css({
visibility: "hidden",
display: "block"
}), this.initIO(), this.addBodyClassnames(), this.eventHandlers(), this.cloneTriggerInTarget(), this.cloneTargetInBody(), this
}
}, {
key: "initIO",
value: function e() {
var t = this,
n = function e(n, i) {
n.forEach(function(e) {
var n = e.boundingClientRect;
n.width + n.left >= liquidWindowWidth() && t.$targetElement.not(".navbar-collapse").removeClass("left").addClass("right"), n.left < 0 && t.$targetElement.not(".navbar-collapse").removeClass("right").addClass("left"), t.$targetElement.not(".navbar-collapse").css({
visibility: "",
display: ""
}), i.unobserve(e.target)
})
},
i = new IntersectionObserver(n);
this.$targetElement.length && i.observe(this.targetElement)
}
}, {
key: "addBodyClassnames",
value: function e() {
this.$parentElement.get(0).hasAttribute("data-module-style") && this.$body.addClass(this.$parentElement.attr("data-module-style"))
}
}, {
key: "eventHandlers",
value: function e() {
var n = this;
return this.$targetElement.on("show.bs.collapse", this.onShow.bind(this)), this.$targetElement.on("shown.bs.collapse", this.onShown.bind(this)), this.$targetElement.on("hide.bs.collapse", this.onHide.bind(this)), this.$targetElement.on("hidden.bs.collapse", this.onHidden.bind(this)), $(t).on("click", function(e) {
n.closeAll.call(n, e)
}), $(t).keyup(function(e) {
27 == e.keyCode && n.closeAll.call(n, e)
}), this
}
}, {
key: "onShow",
value: function e(t) {
return $("html").addClass("module-expanding"), this.isSearchModule ? $("html").addClass("lqd-module-search-expanded") : this.isCartModule && $("html").addClass("lqd-module-cart-expanded"), this.$element.attr("data-target").replace("#", "") === $(t.target).attr("id") && (this.toggleClassnames(t), this.focusOnSearch()), this
}
}, {
key: "onShown",
value: function t() {
return $("html").removeClass("module-expanding"), e.liquidLazyload && e.liquidLazyload.update(), this
}
}, {
key: "onHide",
value: function e(t) {
return $("html").addClass("module-collapsing"), this.$element.attr("data-target").replace("#", "") === $(t.target).attr("id") && this.toggleClassnames(t), this
}
}, {
key: "onHidden",
value: function e() {
$("html").removeClass("module-collapsing lqd-module-search-expanded lqd-module-cart-expanded")
}
}, {
key: "toggleClassnames",
value: function e(t) {
return $.each(this.elements, function(e, t) {
$(e).toggleClass(t)
}), this
}
}, {
key: "focusOnSearch",
value: function e() {
var t = this;
t.$targetElement.find("input[type=search]").length && setTimeout(function() {
t.$targetElement.find("input[type=search]").focus().select()
}, 150)
}
}, {
key: "closeAll",
value: function e(t) {
var n = $(this.element),
i = $(n.attr("data-target"));
t.keyCode ? i.collapse("hide") : i.is(t.target) || i.has(t.target).length || i.collapse("hide")
}
}, {
key: "cloneTriggerInTarget",
value: function e() {
if ($(this.element).is(".nav-trigger:not(.main-nav-trigger)") && "modern" == this.$body.attr("data-mobile-nav-style")) {
$(this.element).clone(!0).prependTo(this.$targetElement).siblings(".nav-trigger").remove()
}
}
}, {
key: "cloneTargetInBody",
value: function e() {
if ($(this.element).is(".nav-trigger:not(.main-nav-trigger)") && "modern" == this.$body.attr("data-mobile-nav-style") && !$(".navbar-collapse-clone").length) {
var t = $(this.$targetElement).clone(!0).addClass("navbar-collapse-clone").attr("id", "main-header-collapse-clone").insertAfter("#wrap");
t.children(".main-nav, .header-module").wrapAll('<div class="navbar-collapse-inner"></div>'), $(this.element).attr("data-target", "#main-header-collapse-clone").addClass("mobile-nav-trigger-cloned"), t.find(".nav-trigger").attr("data-target", "#main-header-collapse-clone")
}
}
}]), n
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("changeclassnames") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".mainbar-wrap .nav-trigger").liquidToggle(), $("[data-ld-toggle]").liquidToggle()
});
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
},
_createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidResponsiveBG",
a = {},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.targetImage = null, this.targetImage = this.element.querySelector("img"), this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
if ("undefined" === _typeof(this.targetImage) || null === this.targetImage) return console.error("There should be an image to get the source from it."), !1;
var t = imagesLoaded(this.targetImage);
this.setBgImage(), t.on("done", this.onLoad.bind(this))
}
}, {
key: "getCurrentSrc",
value: function e() {
var t = this.targetImage.currentSrc ? this.targetImage.currentSrc : this.targetImage.src;
return /data:image\/svg\+xml/.test(t) && (t = this.targetImage.dataset.src), t
}
}, {
key: "setBgImage",
value: function e() {
this.$element.css({
backgroundImage: "url( " + this.getCurrentSrc() + " )"
})
}
}, {
key: "reInitparallaxBG",
value: function e() {
var t = this.$element.children(".liquid-parallax-container").find(".liquid-parallax-figure");
t.length && t.css({
backgroundImage: "url( " + this.getCurrentSrc() + " )"
})
}
}, {
key: "onLoad",
value: function e() {
this.reInitparallaxBG(), this.$element.is("[data-liquid-blur]") && this.$element.liquidBlurImage(), this.$element.addClass("loaded")
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("responsive-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("body").hasClass("lazyload-enabled") || $("[data-responsive-bg=true]").filter(function(e, t) {
return !$(t).parent("[data-reveal]").length
}).liquidResponsiveBG()
}), jQuery(document).ready(function($) {
$("body").hasClass("lazyload-enabled") && (window.liquidLazyload = new LazyLoad({
elements_selector: ".ld-lazyload",
callback_loaded: function e(t) {
var n = $(t),
i = n.closest("[data-liquid-masonry=true]"),
a = n.closest("[data-lqd-flickity]"),
s = n.closest(".flex-viewport");
n.parent().not("#wrap, #content").addClass("loaded"), n.closest("[data-responsive-bg=true]").liquidResponsiveBG(), i.length && i.data("isotope") && i.isotope("layout"), a.length && a.data("flickity") && a.flickity("resize"), s.length && s.parent().data("flexslider") && s.height(n.height())
}
}))
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidMoveElement",
a = {
target: "#selector",
targetRelation: "closest",
type: "prependTo",
includeParent: !1,
clone: !1
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
var t = this.options,
n = t.target,
i = t.type,
a = t.targetRelation;
this.$element[i](this.$element[a](n)), this.$element.addClass("element-was-moved")
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("move-element") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-move-element]").liquidMoveElement()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.$element = $(e), this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidInView",
s = {
delayTime: 0,
onImagesLoaded: !1
};
i.prototype = {
init: function e() {
this.onInview()
},
onInview: function e() {
var t = this,
n = this._getThreshold(),
i = this.options.delayTime,
a = function e(n, a) {
n.forEach(function(e) {
e.isIntersecting && (t.options.onImagesLoaded ? t.$element.imagesLoaded(i <= 0 ? t._doInViewStuff.bind(t) : setTimeout(t._doInViewStuff.bind(t), i)) : i <= 0 ? t._doInViewStuff() : setTimeout(t._doInViewStuff(), i), a.unobserve(e.target))
})
};
new IntersectionObserver(a, {
threshold: n
}).observe(this.element)
},
_getThreshold: function e() {
var t = liquidWindowWidth(),
n = this.$element.outerHeight();
return Math.min(Math.max(t / n / 5, 0), 1)
},
_doInViewStuff: function e() {
$(this.element).addClass("is-in-view")
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("inview-options") || e;
$.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-inview]").liquidInView()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidButton",
a = {},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.gradientBorderRoundness()
}
}, {
key: "gradientBorderRoundness",
value: function e() {
var t = this,
n = $(t.element);
if (n.find(".btn-gradient-border").length && n.hasClass("circle") && n.is(":visible")) {
var i = n.find(".btn-gradient-border").children("rect"),
a = n.height();
i.attr({
rx: a / 2,
ry: a / 2
})
}
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".btn").liquidButton()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidSplitText",
a = {
type: "words",
forceApply: !1
},
s = function() {
function t(e, n) {
_classCallCheck(this, t), this.element = e, this.$element = $(e), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.splittedTextArray = [], this.splitTextInstance = null, this.isRTL = "rtl" == $("html").attr("dir"), this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
this._initIO()
}
}, {
key: "_initIO",
value: function e() {
var t = this;
if (this.options.forceApply) return this._initSplit(), this._windowResize(), !1;
new IntersectionObserver(function(e, n) {
e.forEach(function(e) {
e.isIntersecting && (t._initSplit(), t._windowResize(), n.unobserve(e.target))
})
}, {
rootMargin: "10%"
}).observe(this.element)
}
}, {
key: "_initSplit",
value: function e() {
if (this.options.forceApply) return this.splitTextInstance = this._doSplit(), this._onSplittingDone(), !1;
this._onFontsLoad()
}
}, {
key: "_onFontsLoad",
value: function e() {
var t = this,
n = this.$element.css("font-family").replace(/\"/g, "").replace(/\'/g, "").split(",")[0],
i = this.$element.css("font-weight"),
a = this.$element.css("font-style");
new FontFaceObserver(n, {
weight: i,
style: a
}).load().then(function() {
t.splitTextInstance = t._doSplit(), t._onSplittingDone()
}, function() {
t.splitTextInstance = t._doSplit(), t._onSplittingDone()
})
}
}, {
key: "getSplitTypeArray",
value: function e() {
var t = this.options.type,
n = t.split(",").map(function(e) {
return e.replace(" ", "")
});
return this.isRTL ? n.filter(function(e) {
return "chars" !== e
}) : n
}
}, {
key: "_doSplit",
value: function e() {
var t = this;
if (this.$element.hasClass("split-text-applied") || this.$element.closest(".tabs-pane").length && this.$element.closest(".tabs-pane").is(":hidden")) return !1;
var n = this.getSplitTypeArray(),
i = new SplitText(this.element, {
type: n,
charsClass: "lqd-chars",
linesClass: "lqd-lines",
wordsClass: "lqd-words"
});
return $.each(n, function(e, n) {
$.each(i[n], function(e, n) {
t.splittedTextArray.push(n)
})
}), this._unitsOp(this.splittedTextArray), this.$element.addClass("split-text-applied"), i
}
}, {
key: "_unitsOp",
value: function e(t) {
$.each(t, function(e, t) {
var n = $(t).addClass("split-unit"),
i = n.text();
n.wrapInner('<span data-text="' + i + '" class="split-inner"><span class="split-txt"></span></span>')
})
}
}, {
key: "_onSplittingDone",
value: function e() {
var t = this.$element.closest(".wpb_wrapper, .lqd-column");
this.$element.is("[data-text-rotator]") && !this.element.hasAttribute("data-custom-animations") && t.length && !t.get(0).hasAttribute("data-custom-animations") && this.$element.liquidTextRotator()
}
}, {
key: "_onCollapse",
value: function e() {
var t = this;
$('[data-toggle="tab"]').on("shown.bs.tab", function(e) {
var n = e.target.getAttribute("href");
$(e.target).closest(".tabs").find(n).find(t.element).length && (t.splitText.revert(), t._doSplit())
})
}
}, {
key: "_windowResize",
value: function t() {
var n = liquidDebounce(this._onWindowResize, 500);
$(e).on("resize", n.bind(this))
}
}, {
key: "_onWindowResize",
value: function e() {
$("html").addClass("window-resizing"), this.splitTextInstance && (this.splitTextInstance.revert(), this.$element.removeClass("split-text-applied")), this.$element.data("plugin_liquidTextRotator") && this.$element.data("plugin_liquidTextRotator", ""), this._onAfterWindowResize()
}
}, {
key: "_onAfterWindowResize",
value: function e() {
$("html").removeClass("window-resizing"), this.splitTextInstance = this._doSplit(), this._onSplittingDone(), this.$element.find(".split-unit").addClass("lqd-unit-animation-done")
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = this.options = $.extend({}, $(this).data("split-options"), e);
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-split-text]").filter(function(e, t) {
return !$(t).parents("[data-custom-animations]").length && !t.hasAttribute("data-custom-animations")
}).liquidSplitText()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidFitText",
s = {
compressor: 1,
minFontSize: Number.NEGATIVE_INFINITY,
maxFontSize: Number.POSITIVE_INFINITY
};
i.prototype = {
init: function e() {
this.setMinFontSize(), this.setMaxFontSize(), this.resizer(), this.onWindowResize()
},
setMinFontSize: function e() {
var t = this.options.minFontSize,
n = $(this.element).css("fontSize");
"currentFontSize" == t && (this.options.minFontSize = n)
},
setMaxFontSize: function e() {
var t = this.options.maxFontSize,
n = $(this.element).css("fontSize");
"currentFontSize" == t && (this.options.maxFontSize = n)
},
resizer: function e() {
var t = this.options,
n = t.compressor,
i = t.maxFontSize,
a = t.minFontSize,
s = $(this.element),
o = s.parent(".ld-fancy-heading").length ? s.parent().width() : s.width();
s.css("font-size", Math.max(Math.min(o / (10 * n), parseFloat(i)), parseFloat(a)))
},
onWindowResize: function t() {
$(e).on("resize.fittext orientationchange.fittext", this.resizer.bind(this))
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("fittext-options") || e;
$.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-fittext]").liquidFitText()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidStretchElement",
a = {
to: "right"
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.isStretched = !1, this.boundingClientRect = null, this.rootBounds = null, this.initIO()
}
return _createClass(e, [{
key: "initIO",
value: function e() {
var t = this;
new IntersectionObserver(function(e) {
e.forEach(function(e) {
e.isIntersecting && !t.isStretched && (t.boundingClientRect = e.boundingClientRect, t.rootBounds = e.rootBounds, t.init(), t.isStretched = !0)
})
}).observe(this.element, {
rootMargin: "3%"
})
}
}, {
key: "init",
value: function e() {
this.stretch(), this.$element.addClass("element-is-stretched")
}
}, {
key: "stretch",
value: function e() {
"right" === this.options.to ? this.stretchToRight() : this.stretchToLeft()
}
}, {
key: "stretchToRight",
value: function e() {
var t = this.rootBounds.width - (this.boundingClientRect.width + this.boundingClientRect.left);
this.$element.css("marginRight", -1 * t)
}
}, {
key: "stretchToLeft",
value: function e() {
var t = this.rootBounds.width - this.boundingClientRect.left;
this.$element.css("marginLeft", -1 * t)
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("stretch-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-stretch-element=true]").liquidStretchElement()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidCustomAnimations",
a = {
delay: 0,
startDelay: 0,
offDelay: 0,
direction: "forward",
duration: 300,
offDuration: 300,
easing: "easeOutQuint",
animationTarget: "this",
initValues: {
translateX: 0,
translateY: 0,
translateZ: 0,
rotateX: 0,
rotateY: 0,
rotateZ: 0,
scaleX: 1,
scaleY: 1,
opacity: 1
},
animations: {},
animateTargetsWhenVisible: !1
},
s = function() {
function n(e, t) {
_classCallCheck(this, n), this.element = e, this.$element = $(e), this.options = $.extend({}, a, t), "mouseenter" == this.options.triggerHandler && (this.options.triggerHandler = "mouseenter touchstart"), "mouseleave" == this.options.triggerHandler && (this.options.triggerHandler = "mouseleave touchend"), this._defaults = a, this._name = i, this.splitText = null, this.isTouchMoving = !1, this.isRTL = "rtl" == $("html").attr("dir"), this._initIO()
}
return _createClass(n, [{
key: "_initIO",
value: function e() {
var t = this,
n = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting && (t._build(), i.unobserve(e.target))
})
};
new IntersectionObserver(n, {
rootMargin: "10%"
}).observe(this.element)
}
}, {
key: "_build",
value: function e() {
var t = this,
n = t.element,
i = $(n),
a = i.find("[data-split-text]");
if (a.length) {
this.splitText = a.liquidSplitText({
forceApply: !0
});
var s = {};
$.each(a, function(e, t) {
var n = $(t).css("font-family").replace(/\"/g, "").replace(/\'/g, "").split(",")[0],
i = $(t).css("font-weight"),
a = $(t).css("font-style");
s[n] = {
weight: i,
style: a
}
});
var o = [];
return Object.keys(s).forEach(function(e) {
var t = s[e],
n = new FontFaceObserver(e, t);
o.push(n.load())
}), void Promise.all(o).then(function() {
t._init()
}).catch(function(e) {
console.warn("Some critical fonts are not available:", e), t._init()
})
}
if (i.is("[data-split-text]")) {
this.splitText = i.liquidSplitText({
forceApply: !0
});
var l = i.css("font-family").replace(/\"/g, "").replace(/\'/g, "").split(",")[0],
r = i.css("font-weight"),
u = i.css("font-style");
new FontFaceObserver(l, {
weight: r,
style: u
}).load().then(function() {
t._init()
}, function() {
t._init()
})
} else t._init()
}
}, {
key: "_init",
value: function e() {
this.animationTarget = this._getAnimationTargets(), this._initValues(), this._eventHandlers(), this._handleResize()
}
}, {
key: "_getAnimationTargets",
value: function e() {
var t = this.options.animationTarget;
return "this" == t ? this.element : "all-childs" == t ? this._getChildElments() : this.element.querySelectorAll(t)
}
}, {
key: "_getChildElments",
value: function e() {
var t = $(this.element).children();
return t.is(".wpb_wrapper-inner") && (t = t.children()), this._getInnerChildElements(t)
}
}, {
key: "_getInnerChildElements",
value: function e(t) {
var n = [],
i = $(t).map(function(e, t) {
var n = $(t);
return n.is(".vc_inner") ? n.find(".wpb_wrapper-inner").children().get() : n.is(".row") ? n.find(".lqd-column").children().get() : n.not("style").get()
});
return $.each(i, function(e, t) {
var i = $(t);
i.is("ul") ? $.each(i.children("li"), function(e, t) {
n.push(t)
}) : i.find(".split-inner").length || i.find("[data-split-text]").length ? $.each(i.find(".split-inner"), function(e, t) {
var i = $(t).find(".split-inner");
i.length ? n.push(i.get(0)) : n.push(t)
}) : i.is(".accordion") ? $.each(i.children(), function(e, t) {
n.push(t)
}) : i.is(".vc_inner") ? $.each(i.find(".wpb_wrapper").children(".wpb_wrapper-inner"), function(e, t) {
n.push(t)
}) : i.is(".row") ? $.each(i.find(".lqd-column"), function(e, t) {
n.push(t)
}) : i.is(".fancy-title") ? $.each(i.children(), function(e, t) {
n.push(t)
}) : i.is(".vc_empty_space") || i.is("style") || i.is(".ld-empty-space") || i.is("[data-split-text]") || n.push(i.get(0))
}), n
}
}, {
key: "_eventHandlers",
value: function e() {
var n = this,
i = $(this.element),
a = this.options,
s = a.triggerRelation ? i[a.triggerRelation](a.triggerTarget) : i;
"inview" != a.triggerHandler || a.animateTargetsWhenVisible ? "inview" == a.triggerHandler && a.animateTargetsWhenVisible && this._targetsIO() : this._initInviewAnimations(s), $(t).on("touchmove", function(e) {
return n.isTouchMoving = !0
}), s.on(a.triggerHandler, function(e) {
n._runAnimations.call(n, !1, e)
}), s.on(a.offTriggerHandler, function(e) {
"touchend" === e.type && (n.isTouchMoving = !1), n._offAnimations.call(n, e)
})
}
}, {
key: "_initInviewAnimations",
value: function t(n) {
var i = this,
a = e.liquidParams && "0" == e.liquidParams.tat ? 0 : this._inviewAnimationsThreshold(n),
s = function e(t, n) {
t.forEach(function(e) {
e.isIntersecting && (i._runAnimations(), n.unobserve(e.target))
})
};
new IntersectionObserver(s, {
threshold: a
}).observe(n.get(0))
}
}, {
key: "_inviewAnimationsThreshold",
value: function e(t) {
var n = liquidWindowWidth(),
i = liquidWindowHeight(),
a = t.outerWidth(),
s = t.outerHeight(),
o = t.offset(),
l = n / a,
r = i / s;
return a + o.left >= n && (l = n / (a - (a + o.left - n))), liquidIsMobile() ? .1 : Math.min(Math.max(r / l / 2, 0), .8)
}
}, {
key: "_needPerspective",
value: function e() {
var t = this.options.initValues,
n = ["translateZ", "rotateX", "rotateY", "scaleZ"],
i = !1;
for (var a in t)
for (var s = 0; s <= n.length - 1; s++) {
var o = n[s];
if (a == o) {
i = !0;
break
}
}
return i
}
}, {
key: "_initValues",
value: function e() {
var t = this.options,
n = $(this.animationTarget);
n.css({
transition: "none",
transitionDelay: 0
}), "inview" == t.triggerHandler && n.addClass("will-change");
var i = {
targets: this.animationTarget,
duration: 0,
easing: "linear"
},
a = $.extend({}, t.initValues, i);
anime(a), $(this.element).addClass("ca-initvalues-applied"), this._needPerspective() && "inview" == t.triggerHandler && $(this.element).addClass("perspective")
}
}, {
key: "_targetsIO",
value: function e() {
var t = this,
n = function e(n, i) {
var a = [];
n.forEach(function(e) {
e.isIntersecting && (a.push(e.target), t._runAnimations(a), i.unobserve(e.target))
})
},
i = new IntersectionObserver(n, {
threshold: .35
});
$.each(this.animationTarget, function(e, t) {
i.observe(t)
})
}
}, {
key: "_runAnimations",
value: function e(t, n) {
var i = this;
if (n && "touchstart" === n.type && this.isTouchMoving) return !1;
var a = this.options,
s = parseInt(a.delay, 10),
o = parseInt(a.startDelay, 10),
l = parseInt(a.duration, 10),
r = a.easing,
u = [];
u = t || ($.isArray(this.animationTarget) ? this.animationTarget : $.makeArray(this.animationTarget)), u = "backward" == a.direction ? u.reverse() : u;
var c = {
targets: u,
duration: l,
easing: r,
delay: function e(t, n) {
return n * s + o
},
complete: function e(t) {
i._onAnimationsComplete(t)
}
},
d = $.extend({}, a.animations, c);
anime.remove(u), anime(d)
}
}, {
key: "_onAnimationsComplete",
value: function e(t) {
var n = this;
t && ($.each(t.animatables, function(e, t) {
var i = $(t.target);
i.css({
transition: "",
transitionDelay: ""
}).removeClass("will-change"), "inview" == n.options.triggerHandler && (i.is(".split-inner") ? i.parent().addClass("lqd-unit-animation-done") : i.addClass("lqd-unit-animation-done"), i.is(".btn") && i.css({
transform: ""
}))
}), "inview" == this.options.triggerHandler && this.$element.addClass("lqd-animations-done")), this.$element.find("[data-text-rotator]").liquidTextRotator(), this.$element.is("[data-text-rotator]") && this.$element.liquidTextRotator()
}
}, {
key: "_offAnimations",
value: function e() {
var t = this,
n = this.options,
i = n.delay,
a = n.offDuration,
s = n.offDelay,
o = n.easing,
l = Array.prototype.slice.call(this.animationTarget).reverse();
"this" == n.animationTarget && (l = this.element);
var r = {
targets: l,
easing: o,
duration: a,
delay: function e(t, n, a) {
return n * (i / 2) + s
},
complete: function e() {
t._initValues()
}
},
e = $.extend({}, n.initValues, r);
anime.remove(this.animationTarget), anime(e)
}
}, {
key: "_handleResize",
value: function t() {
var n = liquidDebounce(this._onWindowResize, 500);
$(e).on("resize", n.bind(this))
}
}, {
key: "_onWindowResize",
value: function e() {
"inview" !== this.options.triggerHandler && (this.animationTarget = this._getAnimationTargets(), this._initValues(), this._eventHandlers()), this.$element.find("[data-text-rotator]").length && this.$element.find("[data-text-rotator]").data("plugin_liquidTextRotator") && this.$element.find("[data-text-rotator]").data("plugin_liquidTextRotator", ""), this.$element.is("[data-text-rotator]") && this.$element.data("plugin_liquidTextRotator") && this.$element.data("plugin_liquidTextRotator", ""), this._onAnimationsComplete()
}
}]), n
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("ca-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
if ($("body").hasClass("compose-mode")) return !1;
$("[data-custom-animations]").map(function(e, t) {
var n = $(t);
n.parents(".wpb_wrapper[data-custom-animations], .lqd-column[data-custom-animations]").length && (n.removeAttr("data-custom-animations"), n.removeAttr("data-ca-options"))
}), $("[data-custom-animations]").filter(function(e, t) {
var n = $(t),
i = n.closest(".vc_row[data-row-bg]"),
a = n.closest(".vc_row[data-slideshow-bg]"),
s = n.closest(".vc_row.pp-section");
return !i.length && !a.length && !s.length
}).liquidCustomAnimations()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidSlideshowBG",
a = {
effect: "fade",
delay: 3e3,
imageArray: []
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
var t = this._addMarkup();
this.imageArray = this.options.imageArray, this.slideshowWrap = t.slideshowWrap, this.slideshowInner = t.slideshowInner, this._addImages(), this._initSlideShow(), this._onImagesLoaded()
}
}, {
key: "_addMarkup",
value: function e() {
var t = $('<div class="ld-slideshow-bg-wrap" />'),
n = $('<div class="ld-slideshow-bg-inner" />'),
i = $('<span class="row-bg-loader" />');
return t.append(n), t.append(i), $(this.element).prepend(t), {
slideshowWrap: t,
slideshowInner: n
}
}
}, {
key: "_addImages",
value: function e() {
var t = this;
$.each(this.imageArray, function(e, n) {
var i = $('<img src="' + n + '" alt="Slideshow Image"/>'),
a = $('<figure class="ld-slideshow-figure" style="background-image: url(' + n + ')" />'),
s = $('<div class="ld-slideshow-item" />');
a.append(i), s.append(a), t.slideshowInner.append(s)
})
}
}, {
key: "_initSlideShow",
value: function e() {
this.slideshowInner.children(":first-child").addClass("active"), this.slideshowInner.children().not(":first-child").css({
opacity: 0
})
}
}, {
key: "_onImagesLoaded",
value: function e() {
var t = this;
this.slideshowInner.children().first().imagesLoaded(function() {
$(t.element).addClass("slideshow-applied"), t._initSlideshowAnimations(), !$("body").hasClass("compose-mode") && t._initLiquidCustomAnimations()
})
}
}, {
key: "_getCurrentSlide",
value: function e() {
return this.slideshowInner.children(".active")
}
}, {
key: "_getAllSlides",
value: function e() {
return this.slideshowInner.children()
}
}, {
key: "_setActiveClassnames",
value: function e(t) {
$(t).addClass("active").siblings().removeClass("active")
}
}, {
key: "_getNextSlide",
value: function e() {
return this._getCurrentSlide().is(":last-child") ? this.slideshowInner.children(":first-child") : this._getCurrentSlide().next()
}
}, {
key: "_initSlideshowAnimations",
value: function e() {
this[this.options.effect]()
}
}, {
key: "_setWillChange",
value: function e(t) {
this._getAllSlides().css({
willChange: t.join(", ")
})
}
}, {
key: "fade",
value: function e() {
var t = this;
this._getCurrentSlide().imagesLoaded(function() {
t._fadeOutCurrentSlide()
})
}
}, {
key: "_fadeOutCurrentSlide",
value: function e() {
var t = this,
n = !1;
anime.remove(this._getCurrentSlide().get(0)), anime({
targets: this._getCurrentSlide().get(0),
opacity: [1, 0],
duration: 1e3,
delay: this.options.delay,
easing: "easeInQuad",
change: function e() {
n || t._getNextSlide().imagesLoaded(function() {
n = !0, t._fadeInNextSlide()
})
}
})
}
}, {
key: "_fadeInNextSlide",
value: function e() {
var t = this;
anime.remove(this._getNextSlide().get(0)), anime({
targets: this._getNextSlide().get(0),
opacity: [0, 1],
duration: 1e3,
easing: "easeInOutQuad",
complete: function e(n) {
t._setActiveClassnames(n.animatables[0].target), t._fadeOutCurrentSlide()
}
})
}
}, {
key: "slide",
value: function e() {
var t = this;
this._getCurrentSlide().imagesLoaded(function() {
t._slideOutCurrentSlide()
})
}
}, {
key: "_slideOutCurrentSlide",
value: function e() {
var t = this,
n = !1,
i = "polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)",
a = "polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%)",
s = this._getCurrentSlide().children().get(0);
anime.remove(this._getCurrentSlide().get(0)), anime({
targets: this._getCurrentSlide().get(0),
clipPath: [i, a],
webkitClipPath: [i, a],
duration: 1800,
easing: "easeInOutQuint",
delay: this.options.delay,
change: function e() {
t._getNextSlide().imagesLoaded(function() {
n || (n = !0, anime({
targets: s,
scale: [1, 1.2],
duration: 1800,
easing: "easeInOutQuint"
}), t._slideInNextSlide())
})
}
})
}
}, {
key: "_slideInNextSlide",
value: function e() {
var t = this,
n = !1,
i = this._getNextSlide(),
a = i.get(0),
s = i.children().get(0),
o = "polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%)",
l = "polygon(100% 0%, 0% 0%, 0% 100%, 100% 100%)";
anime.remove(a), anime({
targets: a,
clipPath: [o, l],
webkitClipPath: [o, l],
opacity: [1, 1],
duration: 1600,
easing: "easeInOutQuint",
change: function e(i) {
n || (n = !0, t._setActiveClassnames(i.animatables[0].target))
},
complete: function e() {
t._slideOutCurrentSlide()
}
}), anime({
targets: s,
scale: [1.2, 1],
duration: 3e3,
easing: "easeOutQuint"
})
}
}, {
key: "scale",
value: function e() {
var t = this;
this._getCurrentSlide().imagesLoaded(function() {
t._scaleUpCurrentSlide()
})
}
}, {
key: "_scaleUpCurrentSlide",
value: function e() {
var t = this,
n = !1;
anime.remove(t._getCurrentSlide().get(0)), anime({
targets: t._getCurrentSlide().get(0),
scale: [1, 1.2],
opacity: [1, 1, 0],
zIndex: [0, 0],
duration: 900,
easing: "easeInOutQuint",
delay: t.options.delay,
change: function e() {
n || (n = !0, t._getNextSlide().imagesLoaded(function() {
t._scaleDownNextSlide()
}))
}
})
}
}, {
key: "_scaleDownNextSlide",
value: function e() {
var t = this;
anime.remove(t._getNextSlide().get(0)), anime({
targets: t._getNextSlide().get(0),
scale: [1.2, 1],
opacity: [0, 1],
zIndex: [1, 1],
duration: 900,
easing: "easeInOutQuint",
complete: function e(n) {
t._setActiveClassnames(n.animatables[0].target), t._scaleUpCurrentSlide()
}
})
}
}, {
key: "_initLiquidCustomAnimations",
value: function e() {
var t = $(this.element).find("[data-custom-animations]");
t.length && t.liquidCustomAnimations()
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("slideshow-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-slideshow-bg]").liquidSlideshowBG()
});
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
},
_createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidRowBG",
a = {},
s = function() {
function e(t, n, s) {
_classCallCheck(this, e), this.element = t, this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.callback = s, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this._createElements(), this._addBg(), this._addBgElement(), this._onImagesLoaded()
}
}, {
key: "_createElements",
value: function e() {
this.bgWrap = $('<div class="row-bg-wrap bg-not-loaded" />'), this.bgInner = $('<div class="row-bg-inner" />'), this.rowBg = $('<div class="row-bg" />'), this.bgInner.append(this.rowBg), this.bgWrap.append(this.bgInner)
}
}, {
key: "_addBg",
value: function e() {
var t = $(this.element).attr("data-row-bg");
this.rowBg.css({
backgroundImage: "url(" + t + ")"
})
}
}, {
key: "_addBgElement",
value: function e() {
this.bgWrap.insertAfter($(this.element).children(".row-bg-loader"))
}
}, {
key: "_onImagesLoaded",
value: function e() {
var t = this;
this.rowBg.imagesLoaded({
background: !0
}, function() {
t.bgWrap.removeClass("bg-not-loaded").addClass("bg-loaded"), $(t.element).addClass("row-bg-appended"), t._handleCallback()
})
}
}, {
key: "_handleCallback",
value: function e() {
var t = this;
anime({
targets: this.bgInner.get(0),
opacity: [0, 1],
scale: [1.05, 1],
delay: 450,
easing: "easeOutQuint",
begin: function e() {
t._customAnimations.call(t)
}
})
}
}, {
key: "_customAnimations",
value: function e() {
var t = $(this.element).find("[data-custom-animations]");
t.length && !$("body").hasClass("compose-mode") && t.liquidCustomAnimations()
}
}]), e
}();
$.fn[i] = function(e) {
var t = arguments;
if (void 0 === e || "object" === (void 0 === e ? "undefined" : _typeof(e))) return this.each(function() {
var t = $(this).data("row-bg-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
});
if ("string" == typeof e && "_" !== e[0] && "init" !== e) {
var n;
return this.each(function() {
var a = $.data(this, "plugin_" + i);
a instanceof s && "function" == typeof a[e] && (n = a[e].apply(a, Array.prototype.slice.call(t, 1))), "destroy" === e && $.data(this, "plugin_" + i, null)
}), void 0 !== n ? n : this
}
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-row-bg]:not([data-slideshow-bg])").liquidRowBG()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.$element = $(e), this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidAccordion",
s = {};
i.prototype = {
init: function e() {
this.setHashOnLoad(), this.eventHandlers()
},
setHashOnLoad: function e() {
var t = $(this.element);
if ("" !== location.hash && t.find(location.hash).length) {
var n = t.find(location.hash).closest(".accordion-item");
n.find(location.hash).addClass("in"), n.find(".accordion-heading").find("a").attr("aria-expanded", "true").removeClass("collapsed"), n.siblings().find(".in").removeClass("in"), n.siblings().find(".accordion-heading").find("a").attr("aria-expanded", "false").addClass("collapsed")
}
},
eventHandlers: function e() {
var t = this,
n = $(this.element),
i = n.find(".accordion-collapse");
i.on("show.bs.collapse", function(e) {
t.onShow.call(t, e)
}), i.on("shown.bs.collapse", function(e) {
t.onShown.call(t, e)
}), i.on("hide.bs.collapse", function(e) {
t.onHide.call(t, e)
})
},
onShow: function e(t) {
this.toggleActiveClass(t, "show"), this.setHashOnLoad(t)
},
onHide: function e(t) {
this.toggleActiveClass(t, "hide")
},
toggleActiveClass: function e(t, n) {
var i = $(t.target).closest(".accordion-item");
"show" === n && i.addClass("active").siblings().removeClass("active"), "hide" === n && i.removeClass("active")
},
setHashOnShow: function e(t) {
history.pushState ? history.pushState(null, null, "#" + $(t.target).attr("id")) : location.hash = "#" + $(t.target).attr("id")
},
onShown: function t(n) {
var i = $(n.target),
a = i.closest(".accordion-item"),
s = $(e),
o = a.offset().top;
o <= s.scrollTop() - 15 && $("html, body").animate({
scrollTop: o - 45
}, 800)
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options"),
n;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".accordion").liquidAccordion()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidTab",
a = {
deepLink: !1
},
s = function() {
function t(e, n) {
_classCallCheck(this, t), this.element = e, this.$element = $(e), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.elementOffsetTop = this.$element.offset().top, this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
this.options.deepLink && this.setHash(), this.eventHandlers()
}
}, {
key: "setHash",
value: function e() {
var t = this;
"" !== location.hash && this.$element.find(location.hash).length && ($('a[href="' + location.hash + '"]').tab("show"), $('a[href="' + location.hash + '"]').closest(".tabs-nav").on("shown.bs.tab", function() {
var e = $("[data-sticky-header]"),
n = $(".mainbar-wrap", e),
i = t.elementOffsetTop;
if (n.length) {
i += n.outerHeight()
}
$("html, body").animate({
scrollTop: i - 50
}, 800)
}))
}
}, {
key: "eventHandlers",
value: function e() {
var t = this.$element.find(".tabs-nav");
t.on("show.bs.tab", this.onShow.bind(this)), t.on("shown.bs.tab", this.onShown.bind(this))
}
}, {
key: "onShow",
value: function e(t) {
this.options.deepLink && (history.pushState ? history.pushState(null, null, $(t.target).attr("href")) : location.hash = $(t.target).attr("herf"))
}
}, {
key: "onShown",
value: function t(n) {
var i = $(n.target),
a = $($(i.attr("href")), this.element),
s = $(e);
this.elementOffsetTop <= s.scrollTop() - 15 && $("html, body").animate({
scrollTop: this.elementOffsetTop - 45
}, 800), this.initPlugins(a)
}
}, {
key: "initPlugins",
value: function e(t) {
var n = $(".vc_pie_chart:not(.vc_ready)", t),
i = $(".vc_round-chart", t),
a = $(".vc_line-chart", t);
n.length && $.fn.vcChat && n.vcChat(), i.length && $.fn.vcRoundChart && i.vcRoundChart({
reload: !1
}), a.length && $.fn.vcLineChart && a.vcLineChart({
reload: !1
}), $("[data-lqd-flickity]", t).liquidCarousel(), $("[data-hover3d=true]", t).liquidHover3d()
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options"),
n;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".tabs").liquidTab()
});
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
};
! function($, e, t, n) {
function i(e, t) {
this.element = e, this.$element = $(e), (void 0 === t ? "undefined" : _typeof(t)) !== (void 0 === n ? "undefined" : _typeof(n)) && null !== t && _typeof(t.color) !== (void 0 === n ? "undefined" : _typeof(n)) && null !== t.color && (t.customColorApplied = !0), this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidAnimatedIcon",
s = {
color: "#f42958",
hoverColor: null,
type: "delayed",
delay: 0,
animated: !0,
duration: 100,
resetOnHover: !1,
customColorApplied: !1
};
i.prototype = {
init: function e() {
return this.$iconContainer = this.$element.find(".iconbox-icon-container"), this.$obj = this.$iconContainer.children("svg"), !!this.$obj.length && (this.$element.get(0).hasAttribute("data-animate-icon") ? this.animateIcon() : this.addColors(this.$element), this)
},
animateIcon: function e() {
var t = this,
n = this.options,
i = new Vivus(this.$obj.get(0), {
type: n.type,
duration: n.duration,
start: "manual",
onReady: function e(n) {
t.addColors.call(t, n)
}
}).setFrameProgress(1);
this.animate(i)
},
addColors: function e(i) {
var a = _typeof(i.el) !== (void 0 === n ? "undefined" : _typeof(n)) ? $(i.el) : i.find(".iconbox-icon-container svg"),
s = this.options,
o = Math.round(1e6 * Math.random()),
l = s.hoverColor,
r = t.createElementNS("http://www.w3.org/2000/svg", "style"),
u = _typeof(s.color) !== (void 0 === n ? "undefined" : _typeof(n)) && null !== s.color ? s.color.split(":") : "#000",
c = null;
n === u[1] && (u[1] = u[0]), c = '<defs xmlns="http://www.w3.org/2000/svg"><linearGradient gradientUnits="userSpaceOnUse" id="grad' + o + '" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="' + u[0] + '" /><stop offset="100%" stop-color="' + u[1] + '" /></linearGradient></defs>';
var d = (new DOMParser).parseFromString(c, "text/xml");
return a.prepend(d.documentElement), (void 0 === n ? "undefined" : _typeof(n)) !== (void 0 === l ? "undefined" : _typeof(l)) && null !== l && (l = l.split(":"), n === l[1] && (l[1] = l[0]), r.innerHTML = "#" + this.$element.attr("id") + ":hover .iconbox-icon-container defs stop:first-child{stop-color:" + l[0] + ";}#" + this.$element.attr("id") + ":hover .iconbox-icon-container defs stop:last-child{stop-color:" + l[1] + ";}", a.prepend(r)), s.customColorApplied && a.find("path, rect, ellipse, circle, polygon, polyline, line").attr({
stroke: "url(#grad" + o + ")",
fill: "none"
}), this.$element.addClass("iconbox-icon-animating"), this
},
animate: function e(t) {
var n = this,
i = n.options,
a = parseInt(i.delay, 10),
s = i.animated,
o = i.duration;
if (!liquidIsMobile() && s) {
t.reset().stop();
var l = function e(i, s) {
i.forEach(function(e) {
e.isIntersecting && "start" == t.getStatus() && "progress" != t.getStatus() && (n.resetAnimate(t, a, o), n.eventHandlers(t, a, o), s.unobserve(e.target))
})
};
new IntersectionObserver(l, i).observe(this.element)
}
return this
},
eventHandlers: function e(n, i, a) {
var s = this,
o = s.options;
$(t).on("shown.bs.tab", 'a[data-toggle="tab"]', function(e) {
$($(e.currentTarget).attr("href")).find(s.element).length && s.resetAnimate.call(s, n, i, a)
}), o.resetOnHover && this.$element.on("mouseenter", function() {
"end" == n.getStatus() && s.resetAnimate(n, 0, a)
})
},
resetAnimate: function e(t, n, i) {
t.stop().reset(), setTimeout(function() {
t.play(i / 100)
}, n)
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("body").hasClass("compose-mode") || $(".iconbox").liquidAnimatedIcon()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidSubscribeForm",
s = {
icon: !1,
align: "right"
};
i.prototype = {
init: function e() {
var t = $(this.element);
return this.buttonPlacement(), t.addClass("ld-sf-is-initialized"), this
},
getSubmitButton: function e() {
var t = $(this.element),
n = t.find(".ld_sf_submit");
return {
submit: n,
submitText: "" == n.val() ? "" : '<span class="submit-text">' + n.val() + "</span>"
}
},
createIcon: function e() {
var t = this.options;
return t.icon ? $('<span class="submit-icon"><i class="' + t.icon + '"></i></span>') : ""
},
createButton: function e() {
var t = this.options,
n = this.getSubmitButton().submit,
i = this.getSubmitButton().submitText,
a = this.createIcon(),
s = $('<button class="ld_sf_submit" type="submit">' + i + "</button>");
return "right" === t.align ? a.appendTo(s) : a.prependTo(s), s
},
buttonPlacement: function e() {
var t = $(this.element),
n = t.find(".ld_sf_text").last(),
i = this.createButton.call(this),
a = this.getSubmitButton().submit,
s = "rtl" == $("html").attr("dir");
return t.hasClass("ld-sf-button-inside") ? (n.after(i), s ? n.css("padding-left", i.outerWidth() + parseInt(i.css("right"), 10) + 15) : n.css("padding-right", i.outerWidth() + parseInt(i.css("right"), 10) + 15)) : a.after(i), a.hide(), i
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options"),
n = null;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-plugin-subscribe-form=true]").liquidSubscribeForm()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidFormInputs",
s = {};
i.prototype = {
init: function e() {
this.initDatePicker(), this.initSelect(), this.initSpinner(), this.inputsEventHandlers()
},
initDatePicker: function e() {
$(this.element).find(".date-picker, input.wpcf7-form-control[type=date]").each(function(e, t) {
var n = $(t);
if ("date" === n.attr("type")) {
var i = n.clone(!0);
i.attr("type", "text"), i.insertAfter(n), n.css("display", "none"), i.datepicker({
dateFormat: "yy-mm-dd",
onSelect: function e(t) {
n.val(t)
}
})
} else $(t).datepicker()
})
},
initSelect: function e() {
var t = $(this.element),
n = t.find("select").not(".select2-hidden-accessible, .select, .woo-rating, #bbp_stick_topic_select, #bbp_topic_status_select, #bbp_forum_id");
if (n.closest(".variations").length) {
var i = $('<span class="lqd-select-ext" />');
n.wrap('<span class="lqd-select-wrap" />'), i.insertAfter(n)
} else n.each(function(e, t) {
var n = $(t);
n.selectmenu({
change: function e() {
n.trigger("change")
}
}), n.on("change", function() {
n.selectmenu("refresh")
})
})
},
initSpinner: function e() {
$(this.element).find("input.spinner").each(function(e, t) {
var n = $(t);
n.spinner({
spin: function e(t, i) {
n.val(i.value), n.trigger("change")
}
})
})
},
getInputParent: function e(t) {
return t.closest("p").length ? t.closest("p") : t.closest("div")
},
inputsEventHandlers: function e() {
var t = this,
n = $(t.element);
$("input, textarea", n).on("focus", t.inputOnFocus.bind(this)), $("input, textarea", n).on("blur", t.inputOnBlur.bind(this))
},
inputOnFocus: function e(t) {
this.getInputParent($(t.target)).addClass("input-focused")
},
inputOnBlur: function e(t) {
var n = $(t.target),
i = this.getInputParent(n);
"" !== n.val() ? i.addClass("input-filled") : i.removeClass("input-filled"), i.removeClass("input-focused")
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options"),
n = null;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("form").liquidFormInputs()
});
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
};
! function($, e, t, n) {
function i(e, t) {
this.element = e, this.$element = $(e), this.options = $.extend({}, s, t), this.flickityData = null, this.isRTL = "rtl" == $("html").attr("dir"), this._defaults = s, this._name = a, this.initIO()
}
var a = "liquidCarousel",
s = {
contain: !1,
imagesLoaded: !0,
percentPosition: !0,
prevNextButtons: !1,
pageDots: !1,
adaptiveHeight: !1,
cellAlign: "left",
groupCells: !0,
dragThreshold: 20,
wrapAround: !1,
autoplay: !1,
fullwidthSide: !1,
navArrow: 1,
filters: !1,
equalHeightCells: !1,
randomVerOffset: !1,
parallax: !1,
buttonsAppendTo: null
};
i.prototype = {
initIO: function e() {
var t = this,
n = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting && (t.initFlicky(), i.unobserve(e.target))
})
};
new IntersectionObserver(n, {
rootMargin: "50%"
}).observe(this.element)
},
initFlicky: function e() {
var t = this,
n = $.extend({}, this.options, {
rightToLeft: this.isRTL || this.options.rightToLeft
});
this.$element.imagesLoaded(function() {
t.$element.flickity(n), t.flickityData = $(t.element).data("flickity"), n.adaptiveHeight && $(".flickity-viewport", t.element).css("transition", "height 0.3s"), t.onImagesLoaded()
})
},
onImagesLoaded: function e() {
this.flickityData && (this.addCarouselItemInner(), this.setElementNavArrow(), this.navCarousel(), this.setEqualHeightCells(), this.randomVerOffset(), this.navOffsets(), this.fullwidthSide(), this.controllingCarousels(), this.filtersInit(), this.windowResize(), this.events(), this.addEventListeners())
},
addEventListeners: function e() {
var n = new CustomEvent("lqd-carousel-initialized", {
detail: {
flickityData: this.flickityData
}
});
t.dispatchEvent(n)
},
windowResize: function t() {
var n = this;
$(e).on("resize", function() {
n.doOnWindowResize()
})
},
doOnWindowResize: function e() {
this.fullwidthSide()
},
events: function e() {
var t = this;
this.$element.on("settle.flickity", function() {
t.lastCell.call(t), t.selectedIndex.call(t), $(t.flickityData.viewport).removeClass("is-moving")
}), this.$element.on("change.flickity", function() {
t.lastCell.call(t), t.selectedIndex.call(t), $(t.flickityData.viewport).removeClass("is-moving")
}), this.$element.on("select.flickity", function() {
t.lastCell.call(t), t.selectedIndex.call(t)
}), this.$element.on("scroll.flickity", function() {
t.parallax.call(t), $(t.flickityData.viewport).addClass("is-moving")
})
},
lastCell: function e() {
var t = this.flickityData.selectedElements,
n = this.flickityData.selectedElement,
i = this.flickityData.navSelectedElements ? this.flickityData.navSelectedElements[0] : null,
a = $(t).last();
i && $(i).is(a) ? $(i).addClass("is-last") : $(n).is(":last-child") && $(n).addClass("is-last")
},
selectedIndex: function e() {
for (var t = this.flickityData.cells, n = this.flickityData.selectedElements, i = 0; i < t.length; i++) {
$(t[i].element).removeClass(function(e, t) {
return (t.match(/\bis-selected-i\S+/g) || []).join(" ")
})
}
for (var a = 0; a < n.length; a++) {
var s = $(n[a]),
o = a + 1;
s.addClass("is-selected-i-" + o)
}
},
addCarouselItemInner: function e() {
for (var t = this.flickityData.cells, n = 0; n < t.length; n++) {
$(t[n].element).wrapInner('<div class="carousel-item-inner" />')
}
},
navCarousel: function e() {
var t = this,
n = $(t.element).closest(".carousel-container"),
i = t.options.buttonsAppendTo;
if ("parent_row" == i && (i = $(t.element).closest(".vc_row")), "undefined" !== _typeof(this.flickityData.prevButton) && null !== this.flickityData.prevButton && t.options.prevNextButtons) {
var a = $(this.flickityData.prevButton.element),
s = $(this.flickityData.nextButton.element),
o = $('<div class="carousel-nav"></div>');
if (o.append(a.add(s)), "undefined" !== (void 0 === i ? "undefined" : _typeof(i)) && null !== i && $(i).length) {
var l = [n.attr("id")];
if ($.each($(n.get(0).classList), function(e, t) {
t.indexOf("carousel-nav-") >= 0 && l.push(t)
}), o.addClass(l.join(" ")), $(i).is(".wpb_column")) {
var r = $(i).children(".vc_column-inner ").children(".wpb_wrapper");
o.appendTo(r)
} else o.appendTo(i);
$(i).addClass("carousel-nav-appended")
} else o.appendTo(t.element);
t.options.carouselNav = o.get(0)
}
},
fullwidthSide: function e() {
var t, n;
if (this.options.fullwidthSide) {
var i = this,
a = $(i.element),
s = $(this.flickityData.viewport),
o = this.flickityData.size.width,
l = s.offset(),
r = liquidWindowWidth() - (o + l.left),
u = this.isRTL ? "marginLeft" : "marginRight",
c = this.isRTL ? "paddingLeft" : "paddingRight",
d = $('<div class="flickity-viewport-wrap" />');
s.parent(".flickity-viewport-wrap").length || s.wrap(d), d = s.parent(), d.css((t = {}, _defineProperty(t, u, ""), _defineProperty(t, c, ""), t)), d.css((n = {}, _defineProperty(n, u, r >= 0 ? -1 * (r - 1) : r - 1), _defineProperty(n, c, Math.abs(r - 1)), _defineProperty(n, "overflow", "hidden"), n)), s.css("overflow", "visible"), a.flickity("resize")
}
},
randomVerOffset: function e() {
if (this.options.randomVerOffset)
for (var t = this.flickityData.cells, n = 0, i = 0; i < t.length; i++) {
var a = $(t[i].element),
s = a.height();
s > n && (n = s);
var o = n - s,
l = (Math.random() * o).toFixed();
a.css("top", l + "px")
}
},
navOffsets: function e() {
var t = this,
n = t.options,
e = n.navOffsets,
i = $(n.carouselNav);
if (e && "undefined" !== (void 0 === i ? "undefined" : _typeof(i)) && null !== i && this.flickityData.options.prevNextButtons) {
var a = $(this.flickityData.prevButton.element),
s = $(this.flickityData.nextButton.element);
i.css({
left: e.nav ? e.nav.left : "",
right: e.nav ? e.nav.right : "",
top: e.nav ? e.nav.top : "",
bottom: e.nav ? e.nav.bottom : ""
}), a.css({
left: e.prev
}), s.css({
right: e.next
})
}
},
setElementNavArrow: function e() {
if (!this.options.prevNextButtons) return !1;
var t = this.navArrows,
n = this.flickityData.prevButton ? this.flickityData.prevButton.element : null,
i = this.flickityData.nextButton ? this.flickityData.nextButton.element : null,
a = this.options.navArrow,
s = void 0,
o = void 0;
"object" !== (void 0 === a ? "undefined" : _typeof(a)) ? (a -= 1, this.isRTL ? (s = $(t[a].next), o = $(t[a].prev)) : (s = $(t[a].prev), o = $(t[a].next))) : (s = $(this.options.navArrow.prev), o = $(this.options.navArrow.next)), (n || i) && ($(n).find("svg").remove().end().append(s), $(i).find("svg").remove().end().append(o))
},
navArrows: [{
prev: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" xml:space="preserve" width="32" height="32" style="transform: rotate(180deg);"><g class="nc-icon-wrapper" transform="translate(0.5, 0.5)"><line data-cap="butt" data-color="color-2" fill="none" stroke-width="1" stroke-miterlimit="10" x1="2" y1="16" x2="30" y2="16" stroke-linejoin="miter" stroke-linecap="butt"></line> <polyline fill="none" stroke-width="1" stroke-linecap="square" stroke-miterlimit="10" points="21,7 30,16 21,25 " stroke-linejoin="miter"></polyline></g></svg>',
next: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" xml:space="preserve" width="32" height="32"><g class="nc-icon-wrapper" transform="translate(0.5, 0.5)"><line data-cap="butt" data-color="color-2" fill="none" stroke-width="1" stroke-miterlimit="10" x1="2" y1="16" x2="30" y2="16" stroke-linejoin="miter" stroke-linecap="butt"></line> <polyline fill="none" stroke-width="1" stroke-linecap="square" stroke-miterlimit="10" points="21,7 30,16 21,25 " stroke-linejoin="miter"></polyline></g></svg>'
}, {
prev: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="31px" height="14px" style="transform: rotate(180deg);"> <path fill-rule="evenodd" fill="rgb(24, 27, 49)" d="M30.354,7.353 L30.000,7.707 L30.000,8.000 L29.707,8.000 L24.354,13.354 L23.646,12.646 L28.293,8.000 L0.000,8.000 L0.000,7.000 L29.293,7.000 L29.293,7.000 L23.646,1.353 L24.354,0.646 L30.354,6.647 L30.000,7.000 L30.354,7.353 Z"/> </svg>',
next: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="31px" height="14px"> <path fill-rule="evenodd" fill="rgb(24, 27, 49)" d="M30.354,7.353 L30.000,7.707 L30.000,8.000 L29.707,8.000 L24.354,13.354 L23.646,12.646 L28.293,8.000 L0.000,8.000 L0.000,7.000 L29.293,7.000 L29.293,7.000 L23.646,1.353 L24.354,0.646 L30.354,6.647 L30.000,7.000 L30.354,7.353 Z"/> </svg>'
}, {
prev: '<svg width="15" height="9" xmlns="http://www.w3.org/2000/svg"> <path d="m14.80336,4.99173l0,-1.036l-14.63743,0l0,1.036l14.63743,0z" fill-rule="evenodd"/> <path d="m4.74612,8.277l-0.691,0.733l-3.911,-4.144l0,-0.732l3.911,-4.144l0.691,0.732l-1.7825,1.889l-1.7825,1.889l1.7825,1.8885l1.7825,1.8885z" fill-rule="evenodd"/> </svg>',
next: '<svg width="15" height="9" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" d="m14.80336,4.99173l0,-1.036l-14.63743,0l0,1.036l14.63743,0z"/> <path transform="rotate(-180 12.582813262939453,4.5) " fill-rule="evenodd" d="m14.88382,8.277l-0.691,0.733l-3.911,-4.144l0,-0.732l3.911,-4.144l0.691,0.732l-1.7825,1.889l-1.7825,1.889l1.7825,1.8885l1.7825,1.8885z"/> </svg>'
}, {
prev: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="18.5px" height="20.5px"> <path fill-rule="evenodd" stroke-width="1px" stroke-linecap="butt" stroke-linejoin="miter" fill="none" d="M0.755,10.241 L16.955,19.159 L16.955,1.321 L0.755,10.241 Z"/> </svg>',
next: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.5px" height="19.5px"> <path fill-rule="evenodd" stroke-width="1px" stroke-linecap="butt" stroke-linejoin="miter" fill="none" d="M16.496,9.506 L0.514,18.503 L0.514,0.509 L16.496,9.506 Z"/> </svg>'
}, {
prev: '<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg"> <polygon transform="rotate(180 7.999999999999999,8) " points="9.3,1.3 7.9,2.7 12.2,7 0,7 0,9 12.2,9 7.9,13.3 9.3,14.7 16,8 "/> </svg>',
next: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve" width="16" height="16"><polygon points="9.3,1.3 7.9,2.7 12.2,7 0,7 0,9 12.2,9 7.9,13.3 9.3,14.7 16,8 "></polygon></svg>'
}, {
prev: '<svg width="17" height="17" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <line fill="none" stroke-width="2" stroke-miterlimit="10" x1="2" y1="12" x2="22" y2="12"/> <polyline transform="rotate(180 5.634945869445801,12) " fill="none" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" points="2.1349482387304306,5 9.134950384497643,12 2.1349482387304306,19 "/> </svg>',
next: '<svg width="17" height="17" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <line fill="none" stroke-width="2" stroke-miterlimit="10" x1="2" y1="12" x2="22" y2="12"/> <polyline fill="none" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" points="15,5 22,12 15,19 "/> </svg>'
}],
setEqualHeightCells: function e() {
if (this.options.equalHeightCells) {
this.element.classList.add("flickity-equal-cells"), Flickity.prototype._createResizeClass = function() {
this.element.classList.add("flickity-equal-cells")
}, Flickity.createMethods.push("_createResizeClass");
var t = Flickity.prototype.resize;
Flickity.prototype.resize = function() {
this.element.classList.remove("flickity-equal-cells"), t.call(this), this.element.classList.add("flickity-equal-cells")
}
}
},
parallax: function e() {
if (!this.options.parallax || liquidIsMobile()) return !1;
var t = this.flickityData,
n = t.cells;
$.each(n, function(e, n) {
var i = -1 * (n.target + t.x) / 3,
a = $(n.element),
s = a.find("img");
s.parent(".ld-carousel-parallax-wrap").length || s.wrap('<div class="ld-carousel-parallax-wrap overflow-hidden"></div>'), s.is(":only-child") && s.css({
"-webkit-transform": "translateX(" + i + "px)",
transform: "translateX(" + i + "px)"
})
})
},
controllingCarousels: function e() {
var t = this,
e = this.options.controllingCarousels;
if ("undefined" !== (void 0 === e ? "undefined" : _typeof(e)) && null !== e && e.length) {
var n = $(e.map(function(e) {
return $(e).children("[data-lqd-flickity]")
}));
$.each(n, function(e, n) {
var i = $(n);
i.imagesLoaded(function() {
t.$element.on("change.flickity", function(e, t) {
return i.flickity("select", t)
}), i.on("change.flickity", function(e, n) {
return t.$element.flickity("select", n)
})
})
})
}
},
getCellsArray: function e() {
return this.flickityData.cells.map(function(e) {
return e.element
})
},
filtersInit: function e() {
var t = this,
n = this.options,
i = n.filters;
if (i) {
var a = $(i);
$("[data-filter]", a).on("click", function(e) {
var n = $(e.currentTarget),
i = n.attr("data-filter");
n.hasClass("active") || (n.addClass("active").siblings().removeClass("active"), t.filterAnimateStart(i))
})
}
},
filterAnimateStart: function e(t) {
var n = this,
i = this.getCellsArray().filter(function(e) {
return !e.classList.contains("hidden")
});
anime.remove(i), anime({
targets: i,
translateX: -30,
opacity: 0,
easing: "easeInOutQuint",
duration: 500,
delay: function e(t, n, i) {
return 60 * n
},
begin: function e(t) {
if (n.options.equalHeightCells) {
var i = n.flickityData.cells,
a = n.flickityData.size.height;
i.map(function(e) {
$(e.element).css("minHeight", a)
})
}
$(t.animatables).each(function(e, t) {
$(t.target).css({
transition: "none"
})
})
},
complete: function e(i) {
n.filterItems(t)
}
})
},
filterItems: function e(t) {
var n = this.getCellsArray();
this.$element.find(".hidden").removeClass("hidden"), "*" != t && $(n).not(t).addClass("hidden"), this.$element.flickity("resize"), this.filterAnimateComplete()
},
filterAnimateComplete: function e() {
var t = this.getCellsArray().filter(function(e) {
return !e.classList.contains("hidden")
});
anime.remove(t), anime({
targets: t,
translateX: 0,
opacity: 1,
easing: "easeOutQuint",
delay: function e(t, n, i) {
return 60 * n
},
complete: function e(t) {
$(t.animatables).each(function(e, t) {
$(t.target).css({
transition: "",
transform: "",
opacity: ""
})
})
}
})
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = this.options = $.extend({}, $(this).data("lqd-flickity"), e);
$.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, t))
})
}
}
(jQuery, window, document), jQuery(document).ready(function($) {
if ($("body").hasClass("compose-mode")) return !1;
$("[data-lqd-flickity]").liquidCarousel()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.build()
}
var a = "liquidCarouselV3d",
s = {
itemsSelector: ".carousel-item"
};
i.prototype = {
build: function e() {
this.init()
},
init: function e() {
var t = this,
n = $(t.element),
i = t.options.itemsSelector;
t.prepareitems();
var a = $(i, n).first(),
s = a.next(),
o = s.next();
return t.dragY = 0, t.startY = 0, t.currentY = 0, t.setActive(a, n), t.initAnim(n, a, o, s), t.initDrag(), t.initClicks(), n.addClass("carousel-initialized"), t
},
prepareitems: function e() {
var t = this,
n = $(t.options.itemsSelector, t.element);
if (n.length <= 2 && n.length >= 1)
for (var i = n[0], a = n.length; a <= 2; a++) $(i).clone(!0).appendTo($(t.element).find(".carousel-items"))
},
setActive: function e(t, n) {
var i = this,
a = $(".is-top", n),
s = $(".is-active", n),
o = $(".is-bottom", n);
a.length && a.addClass("was-top"), s.length && s.addClass("was-active"), o.length && o.addClass("was-bottom"), t.addClass("is-active").removeClass("is-top is-bottom").siblings().removeClass("is-active"), i.setBottom(t), i.setTop(t)
},
setBottom: function e(t) {
var n = this,
i = $(n.element),
a = n.options.itemsSelector,
s = $(a, i).first(),
o = t.next();
!o.length && t.is(":last-child") && (o = s), o.addClass("is-bottom").removeClass("is-active is-top was-active").siblings().removeClass("is-bottom")
},
setTop: function e(t) {
var n = this,
i = $(n.element),
a = n.options.itemsSelector,
s = $(a, i).last(),
o = t.prev();
!o.length && t.is(":first-child") && (o = s), o.addClass("is-top").removeClass("is-active is-bottom was-active").siblings().removeClass("is-top")
},
initAnim: function e(t, n, i, a) {
var s = this;
if (s.animInited = !1, !s.animInited) {
anime.timeline({
duration: 0,
easing: "linear"
}).add({
targets: t.get(0).querySelectorAll(".carousel-item:not(.is-active):not(.is-bottom)"),
translateY: "-50%",
translateZ: 0,
scale: .8,
offse: 0
}).add({
targets: n.get(0),
translateZ: 50,
scale: 1,
offse: 0
}).add({
targets: a.get(0),
translateY: "50%",
translateZ: 0,
scale: .8,
offse: 0
}), s.animInited = !0
}
},
initClicks: function e() {
$(this.element).on("click", ".is-top", this.moveItems.bind(this, "prev")), $(this.element).on("click", ".is-bottom", this.moveItems.bind(this, "next"))
},
initDrag: function e() {
var t = this,
n = $(t.element);
n.on("mousedown", t.pointerStart.bind(t)), n.on("mousemove", t.pointerMove.bind(t)), n.on("mouseup", t.pointerEnd.bind(t))
},
pointerStart: function e(t) {
var n = this,
i = $(n.element);
n.startY = t.pageY || t.touches[0].pageY, n.currentY = n.startY, i.addClass("pointer-down")
},
pointerMove: function e(t) {
var n = this;
n.currentY = t.pageY || t.touches[0].pageY, n.dragY = parseInt(n.startY - n.currentY, 10)
},
pointerEnd: function e(t) {
var n = this,
i = $(n.element);
n.dragY = parseInt(n.startY - n.currentY, 10), n.dragY >= 20 ? n.moveItems("next") : n.dragY <= -20 && n.moveItems("prev"), i.removeClass("pointer-down")
},
moveItems: function e(t) {
var n = this;
if (!$(this.element).hasClass("items-moving")) {
var i = this,
a = $(i.element),
s = $(i.options.itemsSelector),
o = $(".is-bottom", a),
l = $(".is-top", a),
r = anime.timeline({
duration: 650,
easing: "easeInOutQuad",
run: function e() {
$(s, a).addClass("is-moving")
},
complete: function e() {
$(s, a).removeClass("is-moving was-top was-active was-bottom"), $(n.element).removeClass("items-moving")
}
});
"next" == t ? i.setActive(o, a) : "prev" == t && i.setActive(l, a);
var u = $(".is-active", a),
c = $(".is-bottom", a),
d = $(".is-top", a);
"next" == t ? i.moveNext(r, u, c, d) : "prev" == t && i.movePrev(r, u, c, d)
}
},
moveNext: function e(t, n, i, a) {
$(this.element).addClass("items-moving"), t.add({
targets: a.get(0),
translateY: [{
value: "-55%"
}, {
value: "-50%",
easing: "linear"
}],
translateZ: 0,
rotateX: [{
value: 12
}, {
value: 0
}],
scale: .8
}, 0).add({
targets: n.get(0),
translateY: "0%",
translateZ: [{
value: 100
}, {
value: 50
}],
rotateX: [{
value: 12
}, {
value: 0
}],
scale: 1
}, 0).add({
targets: i.get(0),
translateY: [{
value: "55%"
}, {
value: "50%",
easing: "linear"
}],
translateZ: 0,
rotateX: [{
value: 12
}, {
value: 0
}],
scale: .8
}, 0)
},
movePrev: function e(t, n, i, a) {
$(this.element).addClass("items-moving"), t.add({
targets: a.get(0),
translateY: [{
value: "-55%"
}, {
value: "-50%",
easing: "linear"
}],
translateZ: 0,
rotateX: [{
value: 12
}, {
value: 0
}],
scale: .8
}, 0).add({
targets: n.get(0),
translateY: "0%",
translateZ: [{
value: 100
}, {
value: 50
}],
rotateX: [{
value: 12
}, {
value: 0
}],
scale: 1
}, 0).add({
targets: i.get(0),
translateY: [{
value: "55%"
}, {
value: "50%",
easing: "linear"
}],
translateZ: 0,
rotateX: [{
value: 12
}, {
value: 0
}],
scale: .8
}, 0)
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options"),
n = null;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}
(jQuery, window, document), jQuery(document).ready(function($) {
$(".carousel-vertical-3d").liquidCarouselV3d()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.build()
}
var a = "liquidSlideElement",
s = {
alignMid: !1
};
i.prototype = {
build: function e() {
this.element = $(this.element), this.hiddenElement = $(this.options.hiddenElement, this.element).wrap('<div class="ld-slideelement-hidden" />'), this.visibleElement = $(this.options.visibleElement, this.element).wrap('<div class="ld-slideelement-visible" />'), this.init()
},
init: function e() {
var t = this;
t.element.imagesLoaded(function() {
t.hiddenElementHeight = t.getHiddenElementHeight.call(t), t.element.addClass("hide-target"), t.moveElements.call(t), t.eventListeners.call(t)
})
},
getHiddenElementHeight: function e() {
return this.hiddenElement.outerHeight()
},
getHiddenElementChilds: function e() {
var t = [];
return $.each(this.hiddenElement, function(e, n) {
var i = $(n).children();
i.length ? $.each(i, function(e, n) {
t.push(n)
}) : t.push($(n).parent(".ld-slideelement-hidden").get(0))
}), t
},
getVisibleElementChilds: function e() {
var t = [];
return $.each(this.visibleElement, function(e, n) {
var i = $(n).children();
i.length ? $.each(i, function(e, n) {
t.push(n)
}) : t.push($(n).parent(".ld-slideelement-visible").get(0))
}), t
},
moveElements: function e() {
var t = this,
n = t.options,
i = n.alignMid ? t.hiddenElementHeight / 2 : t.hiddenElementHeight;
this.visibleElement.css({
transform: "translateY(" + i + "px)"
}), this.hiddenElement.css({
transform: "translateY(" + i + "px)"
})
},
eventListeners: function e() {
var t = this,
n = $(t.element);
n.on("mouseenter", t.onMouseEnter.bind(t)), n.on("mouseleave", t.onMouseLeave.bind(t))
},
onMouseEnter: function e() {
var t = this.options,
n = this.hiddenElementHeight,
i = $.merge(this.getVisibleElementChilds(), this.getHiddenElementChilds()),
a = t.alignMid ? n / 2 : n;
$(i).css({
transition: "none"
}), anime.remove(i), anime({
targets: i,
translateY: -1 * a,
opacity: 1,
easing: "easeInOutQuint",
duration: 650,
delay: function e(t, n, i) {
return 60 * n
},
complete: function e() {
$(i).css({
transition: ""
})
}
})
},
onMouseLeave: function e() {
var t = $(this.getHiddenElementChilds()),
n = $(this.getVisibleElementChilds()),
i = this.getHiddenElementChilds(),
a = this.getVisibleElementChilds(),
s = i.reverse(),
o = a.reverse();
anime.remove(i), anime.remove(a), t.css({
transition: "none"
}), n.css({
transition: "none"
}), anime({
targets: s,
translateY: 0,
opacity: 0,
easing: "easeOutQuint",
duration: 650,
delay: function e(t, n, i) {
return 80 * n
},
complete: function e() {
t.css({
transition: ""
})
}
}), anime({
targets: o,
translateY: 0,
easing: "easeOutQuint",
duration: 650,
delay: function e(t, n, i) {
return 80 * n + 160
},
complete: function e() {
n.css({
transition: ""
})
}
})
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("slideelement-options"),
n = null;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-slideelement-onhover]").liquidSlideElement()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidCounter",
s = {
targetNumber: 0,
startDelay: 0,
blurEffect: !1
};
i.prototype = {
init: function e() {
this.createMarkup(), this.setupIntersectionObserver()
},
formatNumberWithCommas: function e(t) {
return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")
},
formatNumberWithSpaces: function e(t) {
return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ")
},
formatCounterAnimator: function e(t) {
return t.toString().replace(/(\d)/g, '<span class="liquid-counter-animator"><span class="liquid-animator-value">$1</span></span>')
},
createMarkup: function e() {
var t = this,
n = $(t.element).children("span").not(".liquid-counter-element-hover"),
i = t.options,
a = i.targetNumber,
s = /,+/.test(a),
o = /\s+/.test(a);
s ? n.html(t.formatCounterAnimator(t.formatNumberWithCommas(a))) : o ? n.html(t.formatCounterAnimator(t.formatNumberWithSpaces(a))) : n.html(t.formatCounterAnimator(a)), n.find(".liquid-counter-animator").each(function() {
var e = $(this),
t = e.find(".liquid-animator-value").text();
e.append('<div class="liquid-animator-numbers" data-value="' + t + '"><ul><li>0</li><li>1</li><li>2</li><li>3</li><li>4</li><li>5</li><li>6</li><li>7</li><li>8</li><li>9</li></ul></div>')
})
},
addBlurEffect: function e(t) {
if (this.options.blurEffect) {
$(".liquid-animator-numbers ul", this.element).each(function(e, n) {
var i = $(n);
0 != i.parent().data("value") && i.css({
filter: "url('#counter-blur-" + t + "')"
})
})
}
},
animateCounter: function e() {
var t = this,
n = t.options.startDelay,
i = $(t.element),
a = anime.random(0, 100),
s = $('<svg class="counter-blur-svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="0" height="0"><defs><filter id="counter-blur-' + a + '"><feGaussianBlur id="counter-blur-filter-' + a + '" in="SourceGraphic" stdDeviation="0,0" /></filter></defs></svg>');
t.addBlurEffect(a), i.find(".liquid-animator-numbers").each(function() {
var e = $(this),
o = parseInt(e.data("value"), 10),
l = {
x: 0,
y: 0
},
r = void 0;
anime({
targets: e.find("ul").get(0),
translateY: -10 * o + "%",
easing: "easeOutQuint",
delay: n,
duration: 1200,
complete: function e() {
i.addClass("counter-animated")
}
}), t.options.blurEffect && anime({
targets: l,
easing: "easeOutQuint",
duration: 1200,
delay: n,
y: [50 + 10 * o, 0],
round: 1,
begin: function e() {
$(".counter-blur-svg", t.element).length || s.appendTo(t.element), r = s.find("#counter-blur-filter-" + a).get(0)
},
update: function e() {
r.setAttribute("stdDeviation", "0," + l.y), l.y <= 0 && (s.remove(), i.find("ul").css("filter", ""))
}
})
})
},
setupIntersectionObserver: function e() {
var t = this,
n = t.element,
i = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting && (t.animateCounter(), i.unobserve(e.target))
})
},
a = new IntersectionObserver(i, {
threshold: .8
}),
s = n;
a.observe(s)
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("counter-options"),
n = null;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-enable-counter]").liquidCounter()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidProgressbar",
a = {
value: 0,
suffix: null,
prefix: null,
orientation: "horizontal"
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.percentageElement = $(".liquid-progressbar-percentage", t), this.barElement = $(".liquid-progressbar-bar", t), this.titleElement = $(".liquid-progressbar-title", t), this.isRTL = "rtl" == $("html").attr("dir"), this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.addValue(), this.addPrefixSuffix(), this.setupIntersectionObserver()
}
}, {
key: "addValue",
value: function e() {
this.valueEl = $('<span class="liquid-progressbar-value">0</span>'), this.percentageElement.html(""), this.valueEl.appendTo(this.percentageElement)
}
}, {
key: "addPrefixSuffix",
value: function e() {
var t = this,
n = t.options.prefix,
i = t.options.suffix,
a = $('<span class="liquid-progressbar-prefix"></span>'),
s = $('<span class="liquid-progressbar-suffix"></span>');
n && a.text(n), i && s.text(i), a.prependTo(t.percentageElement), s.appendTo(t.percentageElement)
}
}, {
key: "checkValuesEncountering",
value: function e() {
if ("horizontal" == this.options.orientation && this.titleElement.length) {
var t = this.titleElement.width(),
n = this.percentageElement.offset().left || 0,
i = this.percentageElement.width(),
a = this.titleElement.offset().left || 0;
this.isRTL ? n + i <= a ? this.$element.addClass("values-not-encountering") : this.$element.removeClass("values-not-encountering") : n >= a + t ? this.$element.addClass("values-not-encountering") : this.$element.removeClass("values-not-encountering")
} else this.$element.addClass("values-not-encountering")
}
}, {
key: "setupIntersectionObserver",
value: function e() {
var t = this,
n = t.element,
i = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting && (t.animatePercentage(), t.animateProgressbar(), i.unobserve(e.target))
})
},
a = new IntersectionObserver(i, {
threshold: 1
}),
s = n;
a.observe(s)
}
}, {
key: "animatePercentage",
value: function e() {
var t = this,
n = {
value: 0
};
anime({
targets: n,
value: t.options.value,
round: 1,
duration: 1200,
easing: "easeInOutQuint",
update: function e() {
t.valueEl.text(n.value)
}
})
}
}, {
key: "animateProgressbar",
value: function e() {
var t = this,
n = t.barElement.get(0),
i = t.options.value + "%";
"horizontal" == t.options.orientation ? t.animateHorizontal(n, i) : t.initCircleProgressbar(i)
}
}, {
key: "animateHorizontal",
value: function e(t, n) {
var i = this;
anime({
targets: t,
width: n,
duration: 1200,
easing: "easeInOutQuint",
update: function e() {
i.checkValuesEncountering()
}
})
}
}, {
key: "initCircleProgressbar",
value: function e(t) {
var n = $(this.element).find(".ld-prgbr-circle-container"),
i = n.width(),
a = parseInt(t, 10);
n.circleProgress({
value: a / 100,
size: i,
lineCap: "round",
startAngle: -Math.PI / 2
})
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("progressbar-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-progressbar]").liquidProgressbar()
});
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
};
! function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidReveal",
s = {
isContentHidden: !0,
animteWhenInView: !0,
delay: 0,
revealSettings: {
direction: "lr",
bgcolor: "#f0f0f0",
duration: 500,
easing: "easeInOutQuint",
coverArea: 0,
onCover: function e(t, n) {
return !1
},
onStart: function e(t, n) {
return !1
},
onComplete: function e(t, n) {
return !1
},
onCoverAnimations: null
}
};
i.prototype = {
init: function e() {
this._layout(), this.options.animteWhenInView ? this.setIntersectionObserver() : this.doTheReveal()
},
_createDOMEl: function e(n, i, a) {
var s = t.createElement(n);
return s.className = i || "", s.innerHTML = a || "", s
},
_layout: function e() {
var t = getComputedStyle(this.element).position;
"fixed" !== t && "absolute" !== t && "relative" !== t && (this.element.style.position = "relative"), this.content = this._createDOMEl("div", "block-revealer__content", this.element.innerHTML), this.options.isContentHidden && this.content.querySelector("figure") && (this.content.querySelector("figure").style.opacity = 0), this.revealer = this._createDOMEl("div", "block-revealer__element"), this.element.classList.add("block-revealer"), this.element.innerHTML = "", this.element.appendChild(this.content);
var n = this.element.querySelector("[data-parallax=true]");
"undefined" !== (void 0 === n ? "undefined" : _typeof(n)) && null !== n ? n.appendChild(this.revealer) : this.element.appendChild(this.revealer)
},
_getTransformSettings: function e(t) {
var n, i, a;
switch (t) {
case "lr":
n = "scaleX(0)", i = "0 50%", a = "100% 50%";
break;
case "rl":
n = "scaleX(0)", i = "100% 50%", a = "0 50%";
break;
case "tb":
n = "scaleY(0)", i = "50% 0", a = "50% 100%";
break;
case "bt":
n = "scaleY(0)", i = "50% 100%", a = "50% 0";
break;
default:
n = "scaleX(0)", i = "0 50%", a = "100% 50%";
break
}
return {
val: n,
origin: {
initial: i,
halfway: a
}
}
},
reveal: function e(t) {
if (this.isAnimating) return !1;
this.isAnimating = !0;
var n = {
duration: 500,
easing: "easeInOutQuint",
delay: parseInt(this.options.delay, 10) || 0,
bgcolor: "#f0f0f0",
direction: "lr",
coverArea: 0
},
t = t || this.options.revealSettings,
i = t.direction || n.direction,
a = this._getTransformSettings(i);
this.revealer.style.WebkitTransform = this.revealer.style.transform = a.val, this.revealer.style.WebkitTransformOrigin = this.revealer.style.transformOrigin = a.origin.initial, this.revealer.style.background = t.bgcolor || n.bgcolor, this.revealer.style.opacity = 1;
var s = this,
o = {
complete: function e() {
s.isAnimating = !1, "function" == typeof t.onComplete && t.onComplete(s.content, s.revealer), $(s.element).addClass("revealing-ended").removeClass("revealing-started")
}
},
l = {
delay: t.delay || n.delay,
complete: function e() {
s.revealer.style.WebkitTransformOrigin = s.revealer.style.transformOrigin = a.origin.halfway, "function" == typeof t.onCover && t.onCover(s.content, s.revealer), $(s.element).addClass("element-uncovered"), anime(o)
}
};
l.targets = o.targets = this.revealer, l.duration = o.duration = t.duration || n.duration, l.easing = o.easing = t.easing || n.easing;
var r = t.coverArea || n.coverArea;
"lr" === i || "rl" === i ? (l.scaleX = [0, 1], o.scaleX = [1, r / 100]) : (l.scaleY = [0, 1], o.scaleY = [1, r / 100]), "function" == typeof t.onStart && t.onStart(s.content, s.revealer), $(s.element).addClass("revealing-started"), anime(l)
},
animationPresets: function e() {},
setIntersectionObserver: function e() {
var t = this,
n = t.element;
t.isIntersected = !1;
var i = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting && !t.isIntersected && (t.isIntersected = !0, t.doTheReveal())
})
};
new IntersectionObserver(i, {
threshold: .5
}).observe(n)
},
doTheReveal: function t() {
var n = this.options.revealSettings.onCoverAnimations,
i = {
onCover: function t(i) {
if ($("figure", i).css("opacity", 1), $(i).find(".ld-lazyload").length && e.liquidLazyload && e.liquidLazyload.update(), n) {
var a = $.extend({}, {
targets: $("figure", i).get(0)
}, {
duration: 800,
easing: "easeOutQuint"
}, n);
anime(a)
}
}
},
a = $.extend(this.options, i);
this.reveal(a), this.onReveal()
},
onReveal: function e() {
$(this.element).find("[data-responsive-bg]").length && $(this.element).find("[data-responsive-bg]").liquidResponsiveBG()
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("reveal-options"),
n = null;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-reveal]").filter(function(e, t) {
return !$(t).closest(".vc_row.pp-section").length
}).liquidReveal()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidStickyRow",
a = {},
s = function() {
function t(e, n) {
_classCallCheck(this, t), this.element = e, this.$element = $(e), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.markupInitiated = !1, this.$stickyWrap = null, this.$stickyWrapInner = null, this.boundingClientRect = null, this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
this.initMarkup(), this.handleSizes(), this.addEvents(), this.handleWindowResize()
}
}, {
key: "initIO",
value: function e() {
var t = this;
new IntersectionObserver(function(e, n) {
e.forEach(function(e) {
e.isIntersecting && (t.boundingClientRect = e.boundingClientRect, t.initMarkup(), t.handleSizes(), t.addEvents(), t.handleWindowResize(), n.unobserve(e.target))
})
}).observe(this.element, {
rootMargin: "5%"
})
}
}, {
key: "initMarkup",
value: function e() {
if (this.markupInitiated) return !1;
var t = $('<div class="lqd-css-sticky-wrap pos-rel" />'),
n = $('<div class="lqd-css-sticky-wrap-inner pos-abs" />');
this.$element.wrap(t).wrap(n), this.$stickyWrapInner = this.$element.parent(), this.$stickyWrap = this.$element.parent().parent(), this.markupInitiated = !0
}
}, {
key: "handleSizes",
value: function e() {
var t = this.$element.outerHeight();
this.$stickyWrap.css({
height: t
})
}
}, {
key: "addEvents",
value: function e() {
var t = new CustomEvent("lqd-sticky-row-initiated", {
detail: {
$element: this.$element
}
});
this.element.dispatchEvent(t)
}
}, {
key: "handleWindowResize",
value: function t() {
var n = liquidDebounce(this.onWindowResize, 500);
$(e).on("resize", n.bind(this))
}
}, {
key: "onWindowResize",
value: function e() {
this.handleSizes()
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("sticky-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
liquidWindowWidth() <= liquidMobileNavBreakpoint() || liquidIsMobile() || $(".vc_row.lqd-css-sticky").liquidStickyRow()
});
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
},
_createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidParallax",
a = {
duration: 1800,
offset: 0,
triggerHook: "onEnter",
easing: "linear",
parallaxBG: !1,
scaleBG: !0,
overflowHidden: !0
},
s = {},
o = {},
l = function() {
function t(e, n, l, r) {
_classCallCheck(this, t), this.element = e, this.$element = $(e), this.options = $.extend({}, a, n), this.parallaxFromOptions = $.extend({}, s, l), this.parallaxToOptions = $.extend({}, o, r), this.isInitialized = !1, this.parallaxElement = this.element, this.triggerElement = this.parallaxElement, this._defaults = a, this._name = i, this.build()
}
return _createClass(t, [{
key: "build",
value: function e() {
return liquidIsMobile() && this.options.parallaxBG && this.$element.is(".titlebar") ? (this.$element.addClass("liquid-parallax-bg"), !1) : this.$element.is(".vc_row") && this.$element.is(".vc_row:first-of-type") || this.$element.is(".titlebar") && this.options.parallaxBG ? ((this.$element.closest(".lqd-css-sticky").length || this.$element.is(".vc_row[data-pin]") || this.$element.is(".lqd-css-sticky")) && this.handleSentinel(), this.init(), !1) : void this.initIO()
}
}, {
key: "setParallaxFromParams",
value: function e() {
var t = {
targets: this.parallaxElement,
duration: 0,
easing: "linear"
},
n = $.extend({}, this.parallaxFromOptions, t);
anime(n)
}
}, {
key: "createSentinel",
value: function e() {
this.$sentinel = $('<div class="lqd-parallax-sentinel" />').appendTo("body")
}
}, {
key: "handleSentinel",
value: function e() {
this.createSentinel(), this.positionSentinel(), this.handleResize(), this.triggerElement = this.$sentinel.get(0)
}
}, {
key: "positionSentinel",
value: function e() {
this.$sentinel.attr("style", ""), this.$sentinel.css({
width: this.$element.width(),
height: this.$element.height(),
top: this.$element.offset().top,
left: this.$element.offset().left
})
}
}, {
key: "initParallax",
value: function e() {
if (!this.$element.is(".wpb_column")) {
var t = this.options.overflowHidden ? "overflow-hidden" : "";
this.$element.wrap('<div class="ld-parallax-wrap ' + t + '" />')
}
}
}, {
key: "initParallaxBG",
value: function e() {
var t = this.$element.children(".lqd-vbg-wrap");
if (!this.element.hasAttribute("data-slideshow-bg") && !this.element.hasAttribute("data-row-bg") && !t.length) return this.createParallaxBgMarkup(), this.parallaxElement = $(".liquid-parallax-figure", this.element).get(0), !1;
if (this.element.hasAttribute("data-slideshow-bg")) {
var n = $(".ld-slideshow-bg-wrap", this.element),
i = $(".ld-slideshow-bg-inner", n);
return this.updateParallaxBgOptions(i), this.parallaxElement = i.get(0), this.$element.addClass("liquid-parallax-bg"), !1
}
if (this.element.hasAttribute("data-row-bg")) {
var a = $(".row-bg-wrap", this.element),
s = $(".row-bg", a);
this.updateParallaxBgOptions(s), this.parallaxElement = s.get(0), this.$element.addClass("liquid-parallax-bg")
}
t.length && (this.updateParallaxBgOptions(t.children()), this.parallaxElement = t.children().get(0))
}
}, {
key: "createParallaxBgMarkup",
value: function e() {
var t = $('<div class="liquid-parallax-container"></div>'),
n = $('<figure class="liquid-parallax-figure"></figure>'),
i = this.$element.css("background-image"),
a = this.$element.css("background-position");
this.updateParallaxBgOptions(n), i && "none" != i && (n.css("background-image", i), n.css("background-position", a), this.$element.addClass("bg-none")), this.$element.addClass("liquid-parallax-bg"), n.appendTo(t), t.prependTo(this.element)
}
}, {
key: "updateParallaxBgOptions",
value: function e(t) {
var n = this.$element.is(".vc_row") && !liquidIsMobile() ? "-30%" : "-20%",
i = this.$element.is(".vc_row") && !liquidIsMobile() ? "140%" : "120%";
"undefined" === _typeof(this.parallaxFromOptions.translateY) && (this.parallaxFromOptions.translateY = n), "undefined" === _typeof(this.parallaxToOptions.translateY) && (this.parallaxToOptions.translateY = "0%"), this.options.scaleBG && t.css("height", i)
}
}, {
key: "createTimeline",
value: function e() {
var t = $.extend({}, this.parallaxToOptions, {
targets: this.parallaxElement,
duration: this.options.duration,
easing: this.options.easing,
autoplay: !1
});
return anime(t)
}
}, {
key: "initIO",
value: function e() {
var t = this,
n = this.options.parallaxBG,
i = this.$element.closest("[data-pin]"),
a = this.$element.closest(".lqd-css-sticky"),
s = function e(s) {
s.forEach(function(e) {
e.isIntersecting ? (t.isInitialized || (t.isInitialized = !0, n && (t.options.duration = e.rootBounds.height + e.boundingClientRect.height), (i.length || a.length || t.$element.is(".vc_row[data-pin]") || t.$element.is(".lqd-css-sticky")) && t.handleSentinel(), t.init()), $(t.parallaxElement).addClass("will-change")) : $(t.parallaxElement).removeClass("will-change")
})
};
new IntersectionObserver(s, {
rootMargin: "7%"
}).observe(this.element)
}
}, {
key: "init",
value: function e() {
!this.options.parallaxBG && this.initParallax(), this.options.parallaxBG && this.initParallaxBG(), this.setParallaxFromParams();
var t = new ScrollMagic.Controller,
n = this.createTimeline(),
i = new ScrollMagic.Scene({
duration: n.duration,
offset: this.options.offset,
triggerHook: this.options.triggerHook
});
i.triggerElement(this.triggerElement), i.addTo(t), this.$element.is(".vc_row") || this.$element.is(".titlebar") || this.$element.parent().addClass("parallax-applied"), i.on("progress", function(e) {
n.seek(e.progress * n.duration)
})
}
}, {
key: "handleResize",
value: function t() {
$(e).on("resize", this.onWindowResize.bind(this))
}
}, {
key: "onWindowResize",
value: function e() {
this.positionSentinel()
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("parallax-options"),
n = $(this).data("parallax-from"),
a = $(this).data("parallax-to"),
s = null;
t && (s = $.extend(!0, {}, e, t, n, a)), $.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new l(this, s, n, a))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
if ($("body").hasClass("compose-mode")) return !1;
$("[data-parallax]").not("[data-pin]:not(.vc_row)").liquidParallax()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidAnimateOnScroll",
a = {
offset: 0,
triggerHook: "onLeave",
easing: "linear",
staticSentinel: null,
staticSentinelRel: "closest"
},
s = {},
o = {},
l = function() {
function t(e, n, l, r) {
_classCallCheck(this, t), this.element = e, this.$element = $(e), this.options = $.extend({}, a, n), this.animateFromOptions = $.extend({}, s, l), this.animateToOptions = $.extend({}, o, r), this.isInitialized = !1, this.animateElement = this.element, this.triggerElement = this.getTriggerElement(), this.elementOuterHeight = this.getElementOuterHeight(), this._defaults = a, this._name = i, this.build()
}
return _createClass(t, [{
key: "build",
value: function e() {
this.initIO()
}
}, {
key: "getTriggerElement",
value: function e() {
var t = this.options;
return t.staticSentinel ? this.$element[t.staticSentinelRel](t.staticSentinel).get(0) : this.animateElement
}
}, {
key: "getElementOuterHeight",
value: function e() {
return this.$element.outerHeight()
}
}, {
key: "getElementOffset",
value: function e() {
return this.$element.offset()
}
}, {
key: "setAnimateFromParams",
value: function e() {
var t = {
targets: this.animateElement,
duration: 0,
easing: "linear"
},
n = $.extend({}, this.animateFromOptions, t);
anime(n)
}
}, {
key: "createSentinel",
value: function e() {
this.$sentinel = $('<div class="lqd-animate-sentinel invisible pos-abs" />').appendTo("body")
}
}, {
key: "handleSentinel",
value: function e() {
this.createSentinel(), this.positionSentinel(), this.handleEvents(), this.triggerElement = this.$sentinel.get(0)
}
}, {
key: "positionSentinel",
value: function e() {
if (!this.$sentinel) return !1;
this.$sentinel.attr("style", ""), this.$sentinel.css({
width: this.$element.width(),
height: this.elementOuterHeight,
top: this.getElementOffset().top,
left: this.getElementOffset().left
})
}
}, {
key: "createTimeline",
value: function e() {
var t = $.extend({}, this.animateToOptions, {
targets: this.animateElement,
duration: this.elementOuterHeight,
easing: this.options.easing,
autoplay: !1
});
return anime(t)
}
}, {
key: "initIO",
value: function e() {
var t = this,
n = this.$element.closest("[data-pin]"),
i = this.$element.closest(".lqd-css-sticky"),
a = function e(a) {
a.forEach(function(e) {
e.isIntersecting ? (t.isInitialized || (t.isInitialized = !0, !t.options.staticSentinel && (n.length || i.length || t.$element.is(".vc_row[data-pin]") || t.$element.is(".vc_row.lqd-css-sticky")) && t.handleSentinel(), t.init()), $(t.animateElement).addClass("will-change")) : $(t.animateElement).removeClass("will-change")
})
};
new IntersectionObserver(a, {
rootMargin: "3%"
}).observe(this.element)
}
}, {
key: "init",
value: function e() {
this.setAnimateFromParams();
var t = new ScrollMagic.Controller,
n = this.createTimeline(),
i = new ScrollMagic.Scene({
duration: n.duration,
offset: this.options.offset,
triggerHook: this.options.triggerHook
});
i.triggerElement(this.triggerElement), i.addTo(t), i.on("progress", function(e) {
n.seek(e.progress * n.duration)
})
}
}, {
key: "handleEvents",
value: function t() {
$(e).on("load resize", this.positionSentinel.bind(this)), this.element.addEventListener("lqd-sticky-row-initiated", this.positionSentinel.bind(this))
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this),
n = t.data("animate-options"),
a = t.data("animate-from"),
s = t.data("animate-to"),
o = null;
n && (o = $.extend(!0, {}, e, n, a, s)), $.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new l(this, o, a, s))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
if ($("body").hasClass("compose-mode")) return !1;
$("[data-animate-onscroll]").liquidAnimateOnScroll()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidTransitionDelay",
a = {
elements: null,
startDelay: 0,
delayBetween: 250,
delayType: "transition"
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.initIO()
}
return _createClass(e, [{
key: "initIO",
value: function e() {
var t = this;
new IntersectionObserver(function(e, n) {
e.forEach(function(e) {
e.isIntersecting && (t.addDelays(), n.unobserve(e.target))
})
}).observe(this.element, {
rootMargin: "5%"
})
}
}, {
key: "addDelays",
value: function e() {
var t = this.options;
t.elements && $.each($(t.elements, this.element), function(e, n) {
var i, a = e * t.delayBetween + t.startDelay;
$(n).css((i = {}, _defineProperty(i, "-webkit-" + t.delayType + "-delay", a + "ms"), _defineProperty(i, t.delayType + "-delay", a + "ms"), i))
})
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("delay-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-transition-delay=true]").liquidTransitionDelay()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidMasonry",
a = {
layoutMode: "packery",
itemSelector: ".masonry-item",
alignMid: !1
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.onFilterChange = null, this.onLayoutComplete = null, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.onImagesLoad()
}
}, {
key: "onImagesLoad",
value: function e() {
imagesLoaded(this.element, this.handleOnImagesLoaded.bind(this))
}
}, {
key: "handleOnImagesLoaded",
value: function e() {
this.setStamps(), this.initIsotope(), this.onFilterChange = new CustomEvent("lqd-masonry-filter-change", {
detail: {
isotopeData: this.$element.data("isotope")
}
}), this.onLayoutComplete = new CustomEvent("lqd-masonry-layout-complete", {
detail: {
isotopeData: this.$element.data("isotope")
}
}), this.initFilters(), this.eventHandlers()
}
}, {
key: "initIsotope",
value: function e() {
var t = this.options,
n = t.layoutMode,
i = t.itemSelector,
a = t.stamp;
this.$element.isotope({
layoutMode: n,
itemSelector: i,
stamp: a
})
}
}, {
key: "setStamps",
value: function e() {
this.setAlignMidStamps()
}
}, {
key: "setAlignMidStamps",
value: function e() {
var t = this.options;
if (t.alignMid) {
var n = $(t.itemSelector, this.element),
i = this.$element.attr("data-columns"),
a = [],
s = $(".grid-stamp", this.$element);
$.each(n, function(e, t) {
var n = $(t),
i = n.outerHeight();
a.push(i)
}), this.highestHeight = Math.max.apply(Math, a), this.lowestHeight = Math.min.apply(Math, a), i >= 3 && (s.clone().insertBefore(n.eq(i - 1)).addClass("is-right"), s = s.add(".grid-stamp", this.$element)), s.height(this.lowestHeight / 2), t.stamp = ".grid-stamp"
}
}
}, {
key: "initFilters",
value: function e() {
var t = this,
n = t.options,
i = n.filtersID;
i && $(i).on("click", "li", function() {
var e = $(this),
n = e.attr("data-filter");
e.addClass("active").siblings().removeClass("active"), t.$element.isotope({
filter: n
})
})
}
}, {
key: "eventHandlers",
value: function e() {
this.$element.on("arrangeComplete", this.handleArrangeComplete.bind(this)), this.$element.on("layoutComplete", this.handleLayoutComplete.bind(this))
}
}, {
key: "handleArrangeComplete",
value: function e() {
t.dispatchEvent(this.onFilterChange)
}
}, {
key: "handleLayoutComplete",
value: function e() {
t.dispatchEvent(this.onLayoutComplete)
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("masonry-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-liquid-masonry]").liquidMasonry()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.build()
}
var a = "liquidHover3d",
s = {};
i.prototype = {
build: function t() {
this.$icon = $(this.element), this.$icon.length && (this.width = this.$icon.outerWidth(), this.height = this.$icon.outerHeight(), this.maxRotation = 8, this.maxTranslation = 4, this.init(), $(e).on("load resize", this.onWindowLoad.bind(this)), this.$icon.addClass("hover-3d-applied"))
},
init: function e() {
this.eventHandlers()
},
onWindowLoad: function e() {
this.width = this.$icon.outerWidth(), this.height = this.$icon.outerHeight()
},
eventHandlers: function e() {
var t = this;
t.$icon.on("mousemove", function(e) {
t.hover.call(t, e)
}).on("mouseleave", function(e) {
t.leave.call(t, e)
})
},
appleTvAnimate: function e(t, n) {
var i = "rotateX(" + -1 * n.xRotationPercentage * n.maxRotationX + "deg) rotateY(" + -1 * n.yRotationPercentage * n.maxRotationY + "deg)",
a = " translate3d(" + -1 * n.xTranslationPercentage * n.maxTranslationX + "px," + -1 * n.yTranslationPercentage * n.maxTranslationY + "px, 0px)";
anime.remove(t.get(0)), t.css({
transition: "all 0.25s ease-out",
transform: i + a
})
},
calculateRotationPercentage: function e(t, n) {
return -2 / n * t + 1
},
calculateTranslationPercentage: function e(t, n) {
return -2 / n * t + 1
},
hover: function e(t) {
var n = this,
i = {
x: t.pageX - this.$icon.offset().left,
y: t.pageY - this.$icon.offset().top
};
n.$icon.addClass("mouse-in");
var a = this.calculateRotationPercentage(i.y, this.height),
s = -1 * this.calculateRotationPercentage(i.x, this.width),
o = this.calculateTranslationPercentage(i.x, this.width),
l = this.calculateTranslationPercentage(i.y, this.height);
this.$icon.find("[data-stacking-factor]").each(function(e, t) {
var i = $(t).attr("data-stacking-factor");
n.appleTvAnimate($(t), {
maxTranslationX: n.maxTranslation * i,
maxTranslationY: n.maxTranslation * i,
maxRotationX: n.maxRotation * i,
maxRotationY: n.maxRotation * i,
xRotationPercentage: a,
yRotationPercentage: s,
xTranslationPercentage: o,
yTranslationPercentage: l
})
})
},
leave: function e(t) {
var n = this;
n.$icon.removeClass("mouse-in"), this.$icon.find("[data-stacking-factor]").each(function(e, t) {
anime.remove(t), n.appleTvAnimate($(t), {
maxTranslationX: 0,
maxTranslationY: 0,
maxRotationX: 0,
maxRotationY: 0,
xRotationPercentage: 0,
yRotationPercentage: 0,
xTranslationPercentage: 0,
yTranslationPercentage: 0
})
})
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("hover3d-options"),
n = null;
t && (n = $.extend(!0, {}, e, t)), $.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, n))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-hover3d=true]").filter(function(e, t) {
return !$(t).closest(".tabs-pane").not(".active").length
}).liquidHover3d()
});
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
};
! function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, o, t), this._defaults = o, this._name = s, this.init(e, this.options)
}
function a(e, t, n) {
this.latlng_ = e, this.className = n, this.setMap(t)
}
var s = "liquidMap",
o = {
address: "7420 Shore Rd, Brooklyn, NY 11209, USA",
marker: "assets/img/map-marker/marker-1.svg",
style: "wy",
markers: null,
className: "map_marker",
marker_option: "image"
};
"undefined" !== ("undefined" == typeof google ? "undefined" : _typeof(google)) && "undefined" !== _typeof(google.maps) && (a.prototype = new google.maps.OverlayView, a.prototype.draw = function() {
var e = this,
n = this.div_,
i, a;
if (!n) {
n = this.div_ = t.createElement("DIV"), n.className = this.className, i = t.createElement("div"), n.appendChild(i), a = t.createElement("div"), n.appendChild(a), google.maps.event.addDomListener(n, "click", function(t) {
google.maps.event.trigger(e, "click")
});
this.getPanes().overlayImage.appendChild(n)
}
var s = this.getProjection().fromLatLngToDivPixel(this.latlng_);
s && (n.style.left = s.x + "px", n.style.top = s.y + "px")
}, a.prototype.remove = function() {
this.div_ && (this.div_.parentNode.removeChild(this.div_), this.div_ = null)
}, a.prototype.getPosition = function() {
return this.latlng_
}), i.prototype = {
init: function e(t, n) {
return this.options = $.extend(!0, {}, {
map: {
zoom: 16,
mapTypeId: google.maps.MapTypeId.ROADMAP,
panControl: !1,
zoomControl: !0,
mapTypeControl: !1,
streetViewControl: !1,
scrollwheel: !1
}
}, n), this.build(), this.adjustHeight(), this
},
styles: {
wy: [{
featureType: "all",
elementType: "geometry.fill",
stylers: [{
weight: "2.00"
}]
}, {
featureType: "all",
elementType: "geometry.stroke",
stylers: [{
color: "#9c9c9c"
}]
}, {
featureType: "all",
elementType: "labels.text",
stylers: [{
visibility: "on"
}]
}, {
featureType: "landscape",
elementType: "all",
stylers: [{
color: "#f2f2f2"
}]
}, {
featureType: "landscape",
elementType: "geometry.fill",
stylers: [{
color: "#ffffff"
}]
}, {
featureType: "landscape.man_made",
elementType: "geometry.fill",
stylers: [{
color: "#ffffff"
}]
}, {
featureType: "poi",
elementType: "all",
stylers: [{
visibility: "off"
}]
}, {
featureType: "road",
elementType: "all",
stylers: [{
saturation: -100
}, {
lightness: 45
}]
}, {
featureType: "road",
elementType: "geometry.fill",
stylers: [{
color: "#eeeeee"
}]
}, {
featureType: "road",
elementType: "labels.text.fill",
stylers: [{
color: "#7b7b7b"
}]
}, {
featureType: "road",
elementType: "labels.text.stroke",
stylers: [{
color: "#ffffff"
}]
}, {
featureType: "road.highway",
elementType: "all",
stylers: [{
visibility: "simplified"
}]
}, {
featureType: "road.arterial",
elementType: "labels.icon",
stylers: [{
visibility: "off"
}]
}, {
featureType: "transit",
elementType: "all",
stylers: [{
visibility: "off"
}]
}, {
featureType: "water",
elementType: "all",
stylers: [{
color: "#46bcec"
}, {
visibility: "on"
}]
}, {
featureType: "water",
elementType: "geometry.fill",
stylers: [{
color: "#c8d7d4"
}]
}, {
featureType: "water",
elementType: "labels.text.fill",
stylers: [{
color: "#070707"
}]
}, {
featureType: "water",
elementType: "labels.text.stroke",
stylers: [{
color: "#ffffff"
}]
}],
blueEssence: [{
featureType: "landscape.natural",
elementType: "geometry.fill",
stylers: [{
visibility: "on"
}, {
color: "#e0efef"
}]
}, {
featureType: "poi",
elementType: "geometry.fill",
stylers: [{
visibility: "on"
}, {
hue: "#1900ff"
}, {
color: "#c0e8e8"
}]
}, {
featureType: "road",
elementType: "geometry",
stylers: [{
lightness: 100
}, {
visibility: "simplified"
}]
}, {
featureType: "road",
elementType: "labels",
stylers: [{
visibility: "off"
}]
}, {
featureType: "transit.line",
elementType: "geometry",
stylers: [{
visibility: "on"
}, {
lightness: 700
}]
}, {
featureType: "water",
elementType: "all",
stylers: [{
color: "#7dcdcd"
}]
}],
lightMonochrome: [{
featureType: "administrative.locality",
elementType: "all",
stylers: [{
hue: "#2c2e33"
}, {
saturation: 7
}, {
lightness: 19
}, {
visibility: "on"
}]
}, {
featureType: "landscape",
elementType: "all",
stylers: [{
hue: "#ffffff"
}, {
saturation: -100
}, {
lightness: 100
}, {
visibility: "simplified"
}]
}, {
featureType: "poi",
elementType: "all",
stylers: [{
hue: "#ffffff"
}, {
saturation: -100
}, {
lightness: 100
}, {
visibility: "off"
}]
}, {
featureType: "road",
elementType: "geometry",
stylers: [{
hue: "#bbc0c4"
}, {
saturation: -93
}, {
lightness: 31
}, {
visibility: "simplified"
}]
}, {
featureType: "road",
elementType: "labels",
stylers: [{
hue: "#bbc0c4"
}, {
saturation: -93
}, {
lightness: 31
}, {
visibility: "on"
}]
}, {
featureType: "road.arterial",
elementType: "labels",
stylers: [{
hue: "#bbc0c4"
}, {
saturation: -93
}, {
lightness: -2
}, {
visibility: "simplified"
}]
}, {
featureType: "road.local",
elementType: "geometry",
stylers: [{
hue: "#e9ebed"
}, {
saturation: -90
}, {
lightness: -8
}, {
visibility: "simplified"
}]
}, {
featureType: "transit",
elementType: "all",
stylers: [{
hue: "#e9ebed"
}, {
saturation: 10
}, {
lightness: 69
}, {
visibility: "on"
}]
}, {
featureType: "water",
elementType: "all",
stylers: [{
hue: "#e9ebed"
}, {
saturation: -78
}, {
lightness: 67
}, {
visibility: "simplified"
}]
}],
assassinsCreedIV: [{
featureType: "all",
elementType: "all",
stylers: [{
visibility: "on"
}]
}, {
featureType: "all",
elementType: "labels",
stylers: [{
visibility: "off"
}, {
saturation: "-100"
}]
}, {
featureType: "all",
elementType: "labels.text.fill",
stylers: [{
saturation: 36
}, {
color: "#000000"
}, {
lightness: 40
}, {
visibility: "off"
}]
}, {
featureType: "all",
elementType: "labels.text.stroke",
stylers: [{
visibility: "off"
}, {
color: "#000000"
}, {
lightness: 16
}]
}, {
featureType: "all",
elementType: "labels.icon",
stylers: [{
visibility: "off"
}]
}, {
featureType: "administrative",
elementType: "geometry.fill",
stylers: [{
color: "#000000"
}, {
lightness: 20
}]
}, {
featureType: "administrative",
elementType: "geometry.stroke",
stylers: [{
color: "#000000"
}, {
lightness: 17
}, {
weight: 1.2
}]
}, {
featureType: "landscape",
elementType: "geometry",
stylers: [{
color: "#000000"
}, {
lightness: 20
}]
}, {
featureType: "landscape",
elementType: "geometry.fill",
stylers: [{
color: "#4d6059"
}]
}, {
featureType: "landscape",
elementType: "geometry.stroke",
stylers: [{
color: "#4d6059"
}]
}, {
featureType: "landscape.natural",
elementType: "geometry.fill",
stylers: [{
color: "#4d6059"
}]
}, {
featureType: "poi",
elementType: "geometry",
stylers: [{
lightness: 21
}]
}, {
featureType: "poi",
elementType: "geometry.fill",
stylers: [{
color: "#4d6059"
}]
}, {
featureType: "poi",
elementType: "geometry.stroke",
stylers: [{
color: "#4d6059"
}]
}, {
featureType: "road",
elementType: "geometry",
stylers: [{
visibility: "on"
}, {
color: "#7f8d89"
}]
}, {
featureType: "road",
elementType: "geometry.fill",
stylers: [{
color: "#7f8d89"
}]
}, {
featureType: "road.highway",
elementType: "geometry.fill",
stylers: [{
color: "#7f8d89"
}, {
lightness: 17
}]
}, {
featureType: "road.highway",
elementType: "geometry.stroke",
stylers: [{
color: "#7f8d89"
}, {
lightness: 29
}, {
weight: .2
}]
}, {
featureType: "road.arterial",
elementType: "geometry",
stylers: [{
color: "#000000"
}, {
lightness: 18
}]
}, {
featureType: "road.arterial",
elementType: "geometry.fill",
stylers: [{
color: "#7f8d89"
}]
}, {
featureType: "road.arterial",
elementType: "geometry.stroke",
stylers: [{
color: "#7f8d89"
}]
}, {
featureType: "road.local",
elementType: "geometry",
stylers: [{
color: "#000000"
}, {
lightness: 16
}]
}, {
featureType: "road.local",
elementType: "geometry.fill",
stylers: [{
color: "#7f8d89"
}]
}, {
featureType: "road.local",
elementType: "geometry.stroke",
stylers: [{
color: "#7f8d89"
}]
}, {
featureType: "transit",
elementType: "geometry",
stylers: [{
color: "#000000"
}, {
lightness: 19
}]
}, {
featureType: "water",
elementType: "all",
stylers: [{
color: "#2b3638"
}, {
visibility: "on"
}]
}, {
featureType: "water",
elementType: "geometry",
stylers: [{
color: "#2b3638"
}, {
lightness: 17
}]
}, {
featureType: "water",
elementType: "geometry.fill",
stylers: [{
color: "#24282b"
}]
}, {
featureType: "water",
elementType: "geometry.stroke",
stylers: [{
color: "#24282b"
}]
}, {
featureType: "water",
elementType: "labels",
stylers: [{
visibility: "off"
}]
}, {
featureType: "water",
elementType: "labels.text",
stylers: [{
visibility: "off"
}]
}, {
featureType: "water",
elementType: "labels.text.fill",
stylers: [{
visibility: "off"
}]
}, {
featureType: "water",
elementType: "labels.text.stroke",
stylers: [{
visibility: "off"
}]
}, {
featureType: "water",
elementType: "labels.icon",
stylers: [{
visibility: "off"
}]
}],
unsaturatedBrowns: [{
elementType: "geometry",
stylers: [{
hue: "#ff4400"
}, {
saturation: -68
}, {
lightness: -4
}, {
gamma: .72
}]
}, {
featureType: "road",
elementType: "labels.icon"
}, {
featureType: "landscape.man_made",
elementType: "geometry",
stylers: [{
hue: "#0077ff"
}, {
gamma: 3.1
}]
}, {
featureType: "water",
stylers: [{
hue: "#00ccff"
}, {
gamma: .44
}, {
saturation: -33
}]
}, {
featureType: "poi.park",
stylers: [{
hue: "#44ff00"
}, {
saturation: -23
}]
}, {
featureType: "water",
elementType: "labels.text.fill",
stylers: [{
hue: "#007fff"
}, {
gamma: .77
}, {
saturation: 65
}, {
lightness: 99
}]
}, {
featureType: "water",
elementType: "labels.text.stroke",
stylers: [{
gamma: .11
}, {
weight: 5.6
}, {
saturation: 99
}, {
hue: "#0091ff"
}, {
lightness: -86
}]
}, {
featureType: "transit.line",
elementType: "geometry",
stylers: [{
lightness: -48
}, {
hue: "#ff5e00"
}, {
gamma: 1.2
}, {
saturation: -23
}]
}, {
featureType: "transit",
elementType: "labels.text.stroke",
stylers: [{
saturation: -64
}, {
hue: "#ff9100"
}, {
lightness: 16
}, {
gamma: .47
}, {
weight: 2.7
}]
}],
classic: [{
featureType: "administrative.country",
elementType: "geometry",
stylers: [{
visibility: "simplified"
}, {
hue: "#ff0000"
}]
}]
},
build: function e() {
var n = this.options,
i = this,
s = $(this.element),
o = n.map;
o.styles = this.styles[n.style];
var l = new google.maps.Map(s.get(0), o);
return l.zoom = this.options.map.zoom || 16, (new google.maps.Geocoder).geocode({
address: n.address
}, function(e, o) {
if (o == google.maps.GeocoderStatus.OK) {
var r = e[0].geometry.location,
u = e[0].geometry.location.lat(),
c = e[0].geometry.location.lng(),
d;
if ("html" == i.options.marker_option && $(s).addClass("marker-html"), null == i.options.markers) d = "image" == i.options.marker_option ? new google.maps.Marker({
position: r,
map: l,
visible: !0,
icon: n.marker,
zIndex: 9999999
}) : new a(r, l, i.options.className);
else
for (var h = 0; h < i.options.markers.length; h++) d = "image" == i.options.marker_option ? new google.maps.Marker({
position: new google.maps.LatLng(i.options.markers[h][0], i.options.markers[h][1]),
map: l,
visible: !0,
icon: n.marker,
zIndex: 9999999
}) : new a(new google.maps.LatLng(i.options.markers[h][0], i.options.markers[h][1]), l, i.options.className);
l.setCenter(new google.maps.LatLng(u, c)), $(".lightbox-link[data-type=inline]").on("mfpOpen", function(e) {
setTimeout(function() {
l.setCenter(new google.maps.LatLng(u, c))
}, 500)
}), $(t).on("shown.bs.tab", 'a[data-toggle="tab"]', function(e) {
setTimeout(function() {
l.setCenter(new google.maps.LatLng(u, c))
}, 500)
})
}
}), $(t).on("shown.bs.tab", 'a[data-toggle="tab"]', function(e) {
setTimeout(function() {
google.maps.event.trigger(l, "resize")
}, 500)
}), this
},
adjustHeight: function e() {
var t = $(this.element),
n = t.parent(".ld-gmap-container"),
i = n.parents(".vc_row").last();
!n.siblings().length && i.hasClass("vc_row-o-equal-height") && n.height(n.parent().outerHeight())
}
}, $.fn[s] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + s) || $.data(this, "plugin_" + s, new i(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
"undefined" !== ("undefined" == typeof google ? "undefined" : _typeof(google)) && null !== google && $("[data-plugin-map]").liquidMap()
}),
function($, e, t, n) {
function i(e, t) {
this.element = e, this.options = $.extend({}, s, t), this._defaults = s, this._name = a, this.init()
}
var a = "liquidDynamicShape",
s = {};
i.prototype = {
init: function t() {
this.DOM = {}, this.DOM.el = this.element, this.DOM.pathEl = this.DOM.el.querySelector("path"), this.paths = this.DOM.pathEl.getAttribute("pathdata:id").split(";"), this.paths.splice(this.paths.length, 0, this.DOM.pathEl.getAttribute("d")), this.win = {
width: e.innerWidth,
height: e.innerHeight
}, this.animate(), this.initEvents()
},
lineEq: function e(t, n, i, a, s) {
var o = (t - n) / (i - a);
return o * s + (n - o * a)
},
getMousePos: function n(i) {
var a = 0,
s = 0;
if (!i) var o = e.event;
return i.pageX || i.pageY ? (a = i.pageX, s = i.pageY) : (i.clientX || i.clientY) && (a = i.clientX + t.body.scrollLeft + t.documentElement.scrollLeft, s = i.clientY + t.body.scrollTop + t.documentElement.scrollTop), {
x: a,
y: s
}
},
animate: function e() {
anime.remove(this.DOM.pathEl), anime({
targets: this.DOM.pathEl,
duration: 1e4,
easing: "cubicBezier(0.5, 0, 0.5, 1)",
d: this.paths,
loop: !0
})
},
initEvents: function t() {
var n = this,
i = {
tx: this.win.width / 8,
ty: this.win.height / 4,
rz: 45,
sx: [.8, 2],
sy: [.8, 2]
},
a = liquidDebounce(function() {
return n.win = {
width: e.innerWidth,
height: e.innerHeight
}
}, 20);
e.addEventListener("resize", function(e) {
return a.bind(n)
})
}
}, $.fn[a] = function(e) {
return this.each(function() {
var t = $(this).data("mi-options") || e;
$.data(this, "plugin_" + a) || $.data(this, "plugin_" + a, new i(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-dynamic-shape]").filter(function(e, t) {
return !$(t).closest(".vc_row.pp-section").length
}).liquidDynamicShape()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidBlurImage",
a = {
imgSrc: "backgroundImage",
radius: 10,
duration: 200,
handlerElement: "self",
handlerRel: null,
blurHandlerOn: "static",
blurHandlerOff: null
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.currentBlurVal = 0, this.sourceImage = null, this.targetCanvas = null, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.onImageLoad()
}
}, {
key: "onImageLoad",
value: function e() {
var t = this;
imagesLoaded(this.element, {
background: !0
}).on("done", function() {
t.initMarkup(), "static" === t.options.blurHandlerOn && t.initBlur(), t.eventHandlers()
})
}
}, {
key: "getImageSource",
value: function e() {
var t = $(this.element);
return "backgroundImage" == this.options.imgSrc ? t.css("backgroundImage").slice(4, -1).replace(/"/g, "") : t.children("img").attr("src")
}
}, {
key: "createImage",
value: function e() {
var t = "lqd-blur-img-" + Math.floor(1e6 * Math.random()),
n = $('<img class="blur-main-image invisible" id="' + t + '" alt="Blur Image" />');
return n.attr("src", this.getImageSource()), n
}
}, {
key: "createContainer",
value: function e() {
var t = $('<div class="blur-image-container" />'),
n = $('<div class="blur-image-inner" />');
return t.append(n)
}
}, {
key: "createCanvas",
value: function e() {
var t = "lqd-blur-canvas-" + Math.floor(1e6 * Math.random());
return $('<canvas class="blur-image-canvas" id="blur-image-canvas-' + t + '" />')
}
}, {
key: "initMarkup",
value: function e() {
var t = this.createImage(),
n = this.createContainer(),
i = n.find(".blur-image-inner"),
a = this.createCanvas();
i.append(t).append(a), n.prependTo(this.element), this.sourceImage = t, this.targetCanvas = a
}
}, {
key: "initBlur",
value: function e(t) {
var n = this.sourceImage.attr("id"),
i = this.targetCanvas.attr("id"),
a = t || this.options.radius;
stackBlurImage(n, i, a, !1)
}
}, {
key: "eventHandlers",
value: function e() {
var t = this.options,
n = "self" == t.handlerElement ? this.$element : t.handlerElement,
i = t.handlerRel,
a = t.blurHandlerOn,
s = t.blurHandlerOff;
"static" != a && null != i && this.$element[i](n).on(a, this.onHandler.bind(this)), null != s && null != i && this.$element[i](n).on(s, this.offHandler.bind(this))
}
}, {
key: "onHandler",
value: function e() {
this.blurImage()
}
}, {
key: "blurImage",
value: function e() {
var t = this,
n = {
radius: this.currentBlurVal
},
i = this.options.radius,
a = this.sourceImage.attr("id"),
s = this.targetCanvas.attr("id");
anime.remove(n), anime({
targets: n,
radius: i,
easing: "linear",
duration: this.options.duration,
round: 1,
update: function e(n) {
t.currentBlurVal = n.animatables[0].target.radius, stackBlurImage(a, s, n.animatables[0].target.radius, !1)
}
})
}
}, {
key: "offHandler",
value: function e() {
this.unblurImage()
}
}, {
key: "unblurImage",
value: function e() {
var t = this,
n = {
radius: this.currentBlurVal
},
i = this.sourceImage.attr("id"),
a = this.targetCanvas.attr("id");
anime.remove(n), anime({
targets: n,
radius: 0,
easing: "linear",
duration: this.options.duration,
round: 1,
update: function e(n) {
t.currentBlurVal = n.animatables[0].target.radius, stackBlurImage(i, a, n.animatables[0].target.radius, !1)
}
})
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("blur-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-liquid-blur=true]").filter(function(e, t) {
return !$(t).is("[data-responsive-bg]")
}).liquidBlurImage()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidIconboxCircle",
a = {
startAngle: 45,
itemSelector: ".one-ib-circ-icn",
contentsContainer: ".one-ib-circ-inner"
},
s = function() {
function t(e, n) {
_classCallCheck(this, t), this.element = e, this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
var t = this.options;
this.$parent = $(t.contentsContainer), this.$items = $(t.itemSelector, this.element), this.anglesArray = [t.startAngle], this.addAngles(this.$items), this.setTransformOrigin(), this.setIntersectionObserver(), this.animateIcons(), this.windowResize()
}
}, {
key: "getItemsArray",
value: function e() {
for (var t = this.$items, n = t.length, i = [], a = 0; a < n; a++) i.push(t[a]);
return i
}
}, {
key: "getElementDimension",
value: function e(t) {
return {
width: t.width(),
height: t.height()
}
}
}, {
key: "addAngles",
value: function e(t) {
var n = this,
i = t.length;
t.each(function(e) {
n.anglesArray.push(360 / i + n.anglesArray[e])
})
}
}, {
key: "setTransformOrigin",
value: function e() {
var t = this,
n = t.getElementDimension(t.$parent);
t.$items.each(function(e, i) {
var a = $(i);
a.css({
transformOrigin: ""
}), a.css({
transformOrigin: n.width / 2 + "px " + n.height / 2 + "px"
}), a.children().css({
transform: "rotate(" + -1 * t.anglesArray[e] + "deg)"
})
})
}
}, {
key: "setIntersectionObserver",
value: function e() {
var t = this,
n = t.element;
t.isIntersected = !1;
var i = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting && !t.isIntersected && (t.isIntersected = !0, t.animateIcons())
})
};
new IntersectionObserver(i, {
threshold: .5
}).observe(n)
}
}, {
key: "animateIcons",
value: function e() {
var t = this,
n = t.getItemsArray();
anime({
targets: n,
opacity: {
value: 1,
duration: 200,
easing: "linear",
delay: function e(t, n) {
return 220 * n
}
},
duration: 850,
easing: "easeOutQuint",
rotate: function e(n, i) {
return t.anglesArray[i]
},
delay: function e(t, n) {
return 150 * n
}
})
}
}, {
key: "windowResize",
value: function t() {
var n = this;
$(e).on("resize", n.setTransformOrigin.bind(n))
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-spread-incircle]").liquidIconboxCircle()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidTextRotator",
a = {
delay: 2e3,
activeKeyword: 0,
duration: 800,
easing: "easeInOutCirc"
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.$keywordsContainer = $(".txt-rotate-keywords", this.element), this.$keywords = $(".keyword", this.$keywordsContainer), this.keywordsLength = this.$keywords.length, this.$activeKeyword = this.$keywords.eq(this.options.activeKeyword), this.isFirstItterate = !0, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.setContainerWidth(this.$activeKeyword), this.setIntersectionObserver(), this.$element.addClass("text-rotator-activated")
}
}, {
key: "getNextKeyword",
value: function e() {
return this.$activeKeyword.next().length ? this.$activeKeyword.next() : this.$keywords.eq(0)
}
}, {
key: "setContainerWidth",
value: function e(t) {
this.$keywordsContainer.addClass("is-changing ws-nowrap");
var n = this.$keywordsContainer.get(0);
anime.remove(n), anime({
targets: n,
width: t.outerWidth() + 1,
duration: this.options.duration / 1.25,
easing: this.options.easing
})
}
}, {
key: "setActiveKeyword",
value: function e(t) {
this.$activeKeyword = t, t.addClass("active").siblings().removeClass("active")
}
}, {
key: "slideInNextKeyword",
value: function e() {
var t = this,
n = this.getNextKeyword();
this.$activeKeyword.addClass("will-change"), anime.remove(n.get(0)), anime({
targets: n.get(0),
translateY: function e() {
return !liquidIsMobile() && ["65%", "0%"]
},
rotateX: function e() {
return !liquidIsMobile() && [-95, -1]
},
opacity: [0, 1],
duration: this.options.duration,
easing: this.options.easing,
delay: this.isFirstItterate ? this.options.delay / 2 : this.options.delay,
changeBegin: function e() {
t.isFirstItterate = !1, t.setContainerWidth(n), t.slideOutAciveKeyword()
},
complete: function e() {
t.$keywordsContainer.removeClass("is-changing ws-nowrap"), t.setActiveKeyword(n), t.$keywords.removeClass("is-next will-change"), t.getNextKeyword().addClass("is-next will-change")
}
})
}
}, {
key: "slideOutAciveKeyword",
value: function e() {
var t = this,
n = this.$activeKeyword.get(0);
anime.remove(n), anime({
targets: n,
translateY: function e() {
return !liquidIsMobile() && ["0%", "-65%"]
},
rotateX: function e() {
return !liquidIsMobile() && [1, 95]
},
opacity: [1, 0],
duration: this.options.duration,
easing: this.options.easing,
complete: function e() {
t.slideInNextKeyword()
}
})
}
}, {
key: "initAnimations",
value: function e() {
this.slideInNextKeyword()
}
}, {
key: "setIntersectionObserver",
value: function e() {
var t = this,
n = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting && (t.initAnimations(), i.unobserve(e.target))
})
};
new IntersectionObserver(n).observe(this.element)
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-text-rotator]").filter(function(e, t) {
return !$(t).parents("[data-custom-animations]").length && !$(t).is("[data-custom-animations]") && !$(t).is("[data-split-text]")
}).liquidTextRotator()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidCountdown",
a = {
daysLabel: "Days",
hoursLabel: "Hours",
minutesLabel: "Minutes",
secondsLabel: "Seconds",
timezone: null
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
var t = this,
n = $(t.element),
i = t.options,
a = i.until,
s = i.timezone;
return $(n).countdown({
until: new Date(a.replace(/-/g, "/")),
padZeroes: !0,
timezone: s,
layout: '<span class="countdown-row"><span class="countdown-section"><span class="countdown-amount">{dn}</span><span class="countdown-period">' + i.daysLabel + '</span></span><span class="countdown-sep">:</span><span class="countdown-section"><span class="countdown-amount">{hn}</span><span class="countdown-period">' + i.hoursLabel + '</span></span><span class="countdown-sep">:</span><span class="countdown-section"><span class="countdown-amount">{mn}</span><span class="countdown-period">' + i.minutesLabel + '</span></span><span class="countdown-sep">:</span><span class="countdown-section"><span class="countdown-amount">{sn}</span><span class="countdown-period">' + i.secondsLabel + "</span></span></span>"
}), this
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("countdown-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-plugin-countdown=true]").liquidCountdown()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidAjaxLoadMore",
a = {
trigger: "inview"
},
s = function() {
function t(e, n) {
_classCallCheck(this, t), this.element = e, this.$element = $(e), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.observer = null, this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
var t = this.options.trigger;
"inview" == t && this.setupIntersectionObserver(), "click" == t && this.onClick()
}
}, {
key: "onClick",
value: function e() {
this.$element.on("click", this.loadItems.bind(this))
}
}, {
key: "setupIntersectionObserver",
value: function e() {
var t = this;
this.observer = new IntersectionObserver(function(e) {
e.forEach(function(e) {
e.isIntersecting && t.loadItems()
})
}, {
threshold: [1]
}), this.observer.observe(this.element)
}
}, {
key: "loadItems",
value: function e(t) {
t && t.preventDefault();
var n = this,
i = n.options,
a = n.$element.attr("href");
n.$element.addClass("items-loading"), $.ajax({
type: "GET",
url: a,
error: function e(t, n, i) {
alert(i)
},
success: function e(t) {
var s = $(t),
o = s.find(i.wrapper),
l = o.find(i.items),
r = $(i.wrapper),
u = s.find("[data-ajaxify=true]").attr("href");
l.imagesLoaded(function() {
u && a != u ? n.$element.attr("href", u) : (n.observer && n.observer.unobserve(n.element), n.$element.removeClass("items-loading").addClass("all-items-loaded")), l.appendTo(r), r.get(0).hasAttribute("data-liquid-masonry") && r.isotope("appended", l), n.onSuccess(r)
})
}
})
}
}, {
key: "onSuccess",
value: function t(n) {
$("body").hasClass("lazyload-enabled") || $("[data-responsive-bg=true]", n).liquidResponsiveBG(), $("body").hasClass("lazyload-enabled") && (e.liquidLazyload = new LazyLoad({
elements_selector: ".ld-lazyload",
callback_loaded: function e(t) {
$(t).closest("[data-responsive-bg=true]").liquidResponsiveBG(), $(t).parent().not("#wrap, #content").addClass("loaded")
}
})), $("[data-split-text]", n).filter(function(e, t) {
return !$(t).parents("[data-custom-animations]").length && !t.hasAttribute("data-custom-animations")
}).liquidSplitText(), $("[data-fittext]", n).liquidFitText(), $("[data-custom-animations]", n).map(function(e, t) {
var n = $(t);
n.parents(".wpb_wrapper[data-custom-animations]").length && (n.removeAttr("data-custom-animations"), n.removeAttr("data-ca-options"))
}), $("[data-custom-animations]", n).filter(function(e, t) {
var n = $(t),
i = n.closest(".vc_row[data-row-bg]"),
a = n.closest(".vc_row[data-slideshow-bg]");
return !i.length && !a.length
}).liquidCustomAnimations(), $("[data-lqd-flickity]", n).liquidCarousel(), $("[data-parallax]", n).liquidParallax(), $("[data-hover3d=true]", n).liquidHover3d(), this.$element.removeClass("items-loading")
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("ajaxify-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
if ($("body").hasClass("compose-mode")) return !1;
$("[data-ajaxify=true]").liquidAjaxLoadMore()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidStickyFooter",
a = {},
s = function() {
function t(n, s) {
_classCallCheck(this, t), this.element = n, this.$element = $(n), this.$window = $(e), this.$contentsContainer = $("main#content"), this.options = $.extend({}, a, s), this._defaults = a, this._name = i, this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
var t = this;
this.$element.imagesLoaded(function() {
t._addWrapper(), t._addSentinel(), t._setupSentinelIO(), t._setupFooterIO(), t._handleResize()
})
}
}, {
key: "_addWrapper",
value: function e() {
this.$element.wrap('<div class="lqd-sticky-footer-wrap" />')
}
}, {
key: "_addSentinel",
value: function e() {
var t = $('<div class="lqd-sticky-footer-sentinel" />');
this.$sentinel = t.insertBefore(this.element)
}
}, {
key: "_getFooterHeight",
value: function e() {
return this.$element.outerHeight()
}
}, {
key: "_setupSentinelIO",
value: function e() {
var t = this,
n = function e(n) {
n.forEach(function(e) {
e.isIntersecting ? (t.$element.addClass("is-inview"), t.$window.addClass("footer-is-inview")) : (t.$element.removeClass("is-inview"), t.$window.removeClass("footer-is-inview"))
})
};
new IntersectionObserver(n, {
rootMargin: "150px"
}).observe(this.$sentinel.get(0))
}
}, {
key: "_setupFooterIO",
value: function e() {
var t = this,
n = !1;
this.$element.siblings(".lqd-sticky-footer-sentinel").css("height", "").removeClass("height-applied");
var i = function e(i) {
i.forEach(function(e) {
var i = e.rootBounds,
a = e.boundingClientRect;
!n && a.height < i.height && (n = !0, t.$element.siblings(".lqd-sticky-footer-sentinel").css("height", a.height).addClass("height-applied"), t.$element.addClass("footer-stuck"))
})
};
new IntersectionObserver(i).observe(this.element)
}
}, {
key: "_handleResize",
value: function e() {
this.$window.on("resize", this._onResize.bind(this))
}
}, {
key: "_onResize",
value: function e() {
this._setupFooterIO()
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("sticky-footer-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
if ($("body").hasClass("header-style-side")) return !1;
$("[data-sticky-footer=true]").liquidStickyFooter()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidVideoBg",
a = {
startVolume: !1,
controls: !1,
loop: !0,
muted: !0,
hideVideoControlsOnLoad: !0,
hideVideoControlsOnPause: !0,
clickToPlayPause: !1,
disableOnMobile: !1
},
s = {
autoPlay: !0,
showControls: !1,
loop: !0,
mute: !0,
showYTLogo: !1,
stopMovieOnBlur: !1,
disableOnMobile: !1
},
o = function() {
function e(t, n, o) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.inlineVideoOptions = $.extend({}, a, n), this.youtubeOptions = $.extend({}, s, o), this._name = i, this.lqdVBG = null, this.lqdYTPlayer = null, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
var t = liquidIsMobile();
this.$element.is("video") && this.inlineVideoOptions.disableOnMobile && t ? this.$element.closest(".lqd-vbg-wrap").addClass("hidden") : this.$element.is("video") && this.initInlineVideo(), !this.$element.is("video") && this.youtubeOptions.disableOnMobile && t ? this.$element.closest(".lqd-vbg-wrap").addClass("hidden") : this.$element.is("video") || this.initYoutubeVideo()
}
}, {
key: "initInlineVideo",
value: function e() {
var t = $.extend({}, this.inlineVideoOptions, {
stretching: "responsive"
});
this.lqdVBG = new MediaElementPlayer(this.element, t)
}
}, {
key: "initYoutubeVideo",
value: function e() {
var t = this,
n = $.extend({}, this.youtubeOptions, {
containment: this.$element
});
this.lqdYTPlayer = this.$element.YTPlayer(n), this.lqdYTPlayer.on("YTPReady", function() {
t.lqdYTPlayer.YTPPause(), t.initIO()
})
}
}, {
key: "initIO",
value: function e() {
var t = this;
new IntersectionObserver(function(e) {
e.forEach(function(e) {
e.isIntersecting ? t.lqdYTPlayer.YTPPlay() : t.lqdYTPlayer.YTPPause()
})
}).observe(this.element)
}
}]), e
}();
$.fn[i] = function() {
return this.each(function() {
var e = $(this).data("inlinevideo-options") || e,
t = $(this).data("youtube-options") || t;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new o(this, e, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-video-bg]").liquidVideoBg()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidShrinkBorders",
a = {},
s = function() {
function t(e, n) {
_classCallCheck(this, t), this.element = e, this.$element = $(e), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.controller = new ScrollMagic.Controller, this.$parentRow = this.$element.closest(".vc_row"), this.$contents = this.$parentRow.children(".container").length ? this.$parentRow.children(".container") : this.$parentRow.children(".ld-container"), this.contentsHeight = this.$contents.height(), this.$animatables = this.$element.children(), this.init()
}
return _createClass(t, [{
key: "init",
value: function e() {
this.timeline = this._createTimeline(), this.scene = this._initSM(), this._handleResize(), this.$element.addClass("sticky-applied")
}
}, {
key: "_createTimeline",
value: function e() {
var t = anime.timeline(),
n = this.$element.siblings(".lqd-sticky-bg");
return n.length && (this.$animatables = this.$animatables.add(n)), $.each(this.$animatables, function(e, n) {
var i = $(n),
a = i.attr("data-axis"),
s = {
targets: n,
duration: 100,
scaleX: 1,
scaleY: 1,
easing: "linear",
round: 1e3
};
"x" === a ? s.scaleX = [1, 0] : "y" === a ? s.scaleY = [1, 0] : s.scale = [1.05, 1], t.add(s, 0).pause()
}), t
}
}, {
key: "_initSM",
value: function e() {
var t = this,
n = new ScrollMagic.Scene({
triggerElement: this.$element.closest(".vc_row").get(0),
triggerHook: "onLeave",
duration: this.contentsHeight
}).addTo(this.controller);
return n.on("progress", function(e) {
t.timeline.seek(e.progress.toFixed(3) * t.timeline.duration)
}), n
}
}, {
key: "_handleResize",
value: function t() {
var n = liquidDebounce(this._onWindowResize, 250);
$(e).on("resize", n.bind(this))
}
}, {
key: "_onWindowResize",
value: function e() {
this.contentsHeight = this.$contents.height(), this.scene.duration(this.contentsHeight)
}
}]), t
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
if (liquidWindowWidth() <= liquidMobileNavBreakpoint()) return !1;
$("[data-shrink-borders]").liquidShrinkBorders()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidParticles",
a = {
asBG: !1,
particles: {
number: {
value: 40,
density: {
enable: !1,
value_area: 800
}
},
color: {
value: ["#f7ccaf", "#f6cacd", "dbf5f8", "#c5d8f8", "#c5f8ce", "#f7afbd", "#b2d6ef", "#f1ecb7"]
},
shape: {
type: "triangle"
},
size: {
value: 55,
random: !0,
anim: {
enable: !0,
speed: 1
}
},
move: {
direction: "right",
attract: {
enable: !0
}
},
line_linked: {
enable: !1
}
},
interactivity: {
events: {
onhover: {
enable: !1
},
onclick: {
enable: !1
}
}
}
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this.options.particles = $.extend({}, a.particles, n.particles), this.options.interactivity = $.extend({}, a.interactivity, n.interactivity), this._defaults = a, this._name = i, this.build()
}
return _createClass(e, [{
key: "build",
value: function e() {
this.id = this.element.id, this.isInitialized = !1, this.asSectionBg(), this.initIO()
}
}, {
key: "initIO",
value: function e() {
var t = this,
n = function e(n, i) {
n.forEach(function(e) {
e.isIntersecting ? (t.$element.removeClass("invisible"), t.isInitialized || (t.isInitialized = !0, t.init())) : t.$element.addClass("invisible")
})
};
new IntersectionObserver(n, {
rootMargin: "10%"
}).observe(this.element)
}
}, {
key: "init",
value: function e() {
particlesJS(this.id, this.options)
}
}, {
key: "asSectionBg",
value: function e() {
if (this.options.asBG) {
var t = $('<div class="lqd-particles-bg-wrap"></div>'),
n = this.$element.parent(".ld-particles-container"),
i = this.$element.parents(".vc_row").last(),
a = i.children(".ld-container"),
s = i.children(".lqd-sticky-bg-wrap");
t.append(n), s.length ? t.appendTo(s) : i.hasClass("pp-section") ? t.prependTo(i) : t.insertBefore(a)
}
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("particles-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-particles=true]").filter(function(e, t) {
return !$(t).closest(".vc_row.pp-section").length
}).liquidParticles()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidPin",
a = {
duration: "contentsHeight",
offset: 0,
pushFollowers: !0,
spacerClass: "scrollmagic-pin-spacer"
},
s = function() {
function n(e, t) {
_classCallCheck(this, n), this.element = e, this.$element = $(e), this.options = $.extend({}, a, t), this._defaults = a, this._name = i, this.$spacerElement = null, this.elementOuterHeight = this.$element.outerHeight(), this.init(), this.setSpacerWidth(), this.events(), this.handleResize()
}
return _createClass(n, [{
key: "init",
value: function e() {
var t = this.options,
n = t.pushFollowers,
i = t.spacerClass,
a = new ScrollMagic.Controller,
s = this.getDuration(),
o = -1 * this.getOffset();
this.scene = new ScrollMagic.Scene({
triggerElement: this.element,
triggerHook: "onLeave",
offset: o,
duration: s
}).setPin(this.element, {
pushFollowers: n,
spacerClass: i
}).addTo(a), this.$spacerElement = this.$element.parent()
}
}, {
key: "getOffset",
value: function e() {
var t = this.options;
return isNaN(t.offset) ? this.getOffsetElementsHeight() : t.offset
}
}, {
key: "getOffsetElementsHeight",
value: function e() {
var t = this.options,
n = 0;
return $.each($(t.offset), function(e, t) {
var i = $(t);
i.length && (n += i.outerHeight())
}), n
}
}, {
key: "getDuration",
value: function e() {
var t = this.options,
n = t.duration;
if ("contentsHeight" === n && this.$element.is(".lqd-sticky-bg-wrap") || this.$element.is(".lqd-section-borders-wrap")) {
n = (this.scene ? this.$element.parent().siblings(".ld-container") : this.$element.siblings(".ld-container")).height()
}
if ("contentsHeight" === n && (n = this.elementOuterHeight), "last-link" === n) {
var i = $("a", this.element).last();
n = i.get(0).hasAttribute("href") && i.length && i.get(0).getAttribute("href").indexOf("#") >= 0 && $(i.attr("href")).length ? $(i.attr("href")).offset().top : "100%"
}
return "docHeight" === n && (n = $("body").height()), n
}
}, {
key: "setSpacerWidth",
value: function e() {
(this.$element.is(".wpb_column") || this.$element.is(".lqd-column")) && (this.elementWidth = this.$element.width(), this.$element.css("width", ""), this.$spacerElement.css("float", "left"), this.$element.css("width", this.elementWidth))
}
}, {
key: "events",
value: function e() {
t.addEventListener("lqd-header-sticky-change", this.updateOffset.bind(this)), t.addEventListener("lqd-carousel-initialized", this.updateDuration.bind(this)), t.addEventListener("lqd-masonry-layout-complete", this.updateDuration.bind(this)), t.addEventListener("lqd-masonry-filter-change", this.updateDuration.bind(this)), this.scene.on("enter", this.onSceneEnter.bind(this)), this.scene.on("leave", this.onSceneLeave.bind(this))
}
}, {
key: "updateOffset",
value: function e() {
this.scene.offset(-1 * this.getOffset())
}
}, {
key: "updateDuration",
value: function e() {
this.scene.duration(this.getDuration())
}
}, {
key: "onSceneEnter",
value: function e() {
this.$spacerElement.addClass("scene-entered").removeClass("scene-left")
}
}, {
key: "onSceneLeave",
value: function e() {
this.$spacerElement.addClass("scene-left").removeClass("scene-entered")
}
}, {
key: "handleResize",
value: function t() {
var n = liquidDebounce(this.onWindowResize, 250);
$(e).on("resize", n.bind(this))
}
}, {
key: "onWindowResize",
value: function e() {
this.setSpacerWidth()
}
}]), n
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("pin-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$($("[data-pin=true]").get().reverse()).map(function(e, t) {
if (liquidWindowWidth() >= 1200 || $(t).is(".lqd-custom-menu")) return t
}).liquidPin()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidImageComparison",
a = {},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.dragging = !1, this.resizing = !1, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.initIO(), this._drags(this.$element.find(".cd-handle"), this.$element.find(".cd-resize-img"), this.$element)
}
}, {
key: "initIO",
value: function e() {
var t = this;
new IntersectionObserver(function(e, n) {
e.forEach(function(e) {
e.isIntersecting && t.$element.addClass("is-visible")
})
}).observe(this.element, {
threshold: .35
})
}
}, {
key: "_drags",
value: function e(n, i, a) {
var s = this;
n.on("mousedown touchstart", function(e) {
e.preventDefault(), n.addClass("draggable"), i.addClass("resizable");
var o = n.outerWidth(),
l = e.pageX || e.originalEvent.touches[0].pageX,
r = n.offset().left + o - l,
u = a.offset().left,
c = a.outerWidth(),
d = u + 10,
h = u + c - o - 10;
$(t).on("mousemove touchmove", function(e) {
s.dragging || (s.dragging = !0, requestAnimationFrame(function() {
s._animateDraggedHandle(e, r, o, d, h, u, c, i)
}))
})
}), $(t).on("mouseup touchend", function() {
n.removeClass("draggable"), i.removeClass("resizable"), $(t).off("mousemove touchmove"), s.dragging = !1
})
}
}, {
key: "_animateDraggedHandle",
value: function e(t, n, i, a, s, o, l, r) {
var u = t.pageX || t.originalEvent.touches[0].pageX,
c = u + n - i;
c < a ? c = a : c > s && (c = s);
var d = 100 * (c + i / 2 - o) / l + "%";
$(".draggable").css("left", d).on("mouseup touchend", function() {
$(this).removeClass("draggable"), r.removeClass("resizable")
}), $(".resizable").css("width", d), this.dragging = !1
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("plugin-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$(".cd-image-container").liquidImageComparison()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidStack",
a = {
sectionSelector: "#content > .vc_row",
anchors: [],
easing: "linear",
css3: !0,
scrollingSpeed: 1e3,
loopTop: !1,
loopBottom: !1,
navigation: !1,
defaultTooltip: "Section",
prevNextButtons: !0,
animateAnchor: !1,
prevNextLabels: {
prev: "Previous",
next: "Next"
},
pageNumber: !0,
effect: "none",
disableOnMobile: !0
},
s = function() {
function e(t, n) {
if (_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.options.disableOnMobile && (liquidIsMobile() || liquidWindowWidth() <= liquidMobileNavBreakpoint())) return !1;
this.anchors = [], this.tooltips = [], this.sectionsLuminance = [], this.$body = $("body"), this.$sections = $(this.options.sectionSelector), this.$mainHeader = $(".main-header"), this.$mainFooter = $(".main-footer"), this.$ppNav = null, this.$prevNextButtons = $(".lqd-stack-prevnext-wrap"), this.$pageNumber = $(".lqd-stack-page-number"), this.$backToTopButton = $("[data-back-to-top]"), this.timeoutId, this.animationIsFinished = !1, this.build(), this.addClassnames(), this.eachSection(), this.init()
}
return _createClass(e, [{
key: "build",
value: function e() {
this.$mainFooter.length && (this.$sections.push(this.$mainFooter.get(0)), this.$element.append(this.$mainFooter)), this.$element.children("style").appendTo("head"), this.$element.children(".vc_row-full-width").remove()
}
}, {
key: "addClassnames",
value: function e() {
var t = this.options;
this.$mainFooter.length && this.$mainFooter.addClass("vc_row pp-section pp-auto-height"), t.navigation && this.$body.addClass("lqd-stack-has-nav"), t.prevNextButtons && this.$body.addClass("lqd-stack-has-prevnext-buttons"), t.pageNumber && this.$body.addClass("lqd-stack-has-page-numbers"), "none" !== t.effect && this.$body.addClass("lqd-stack-effect-enabled"), this.$body.addClass("lqd-stack-effect-" + t.effect), this.$body.add("html").addClass("overflow-hidden"), $("html").addClass("pp-enabled")
}
}, {
key: "eachSection",
value: function e() {
var t = this;
$.each(this.$sections, function(e, n) {
t.wrapInnerContent(n), t.makeScrollable(n), t.setSectionsLuminance(n), t.setAnchors(e, n), t.setTooltips(e, n)
})
}
}, {
key: "wrapInnerContent",
value: function e(t) {
$(t).wrapInner('<div class="lqd-stack-section-inner" />')
}
}, {
key: "makeScrollable",
value: function e(t) {
var n = $(t);
n.children(".lqd-stack-section-inner").height() > n.height() && n.addClass("pp-scrollable")
}
}, {
key: "setAnchors",
value: function e(t, n) {
n.hasAttribute("id") ? this.anchors[t] = n.getAttribute("id") : n.hasAttribute("data-tooltip") ? this.anchors[t] = n.getAttribute("data-tooltip").replace(new RegExp(" ", "g"), "-").toLowerCase() : n.hasAttribute("data-anchor") ? this.anchors[t] = n.getAttribute("data-anchor") : this.anchors[t] = this.options.defaultTooltip + "-" + (t + 1)
}
}, {
key: "setTooltips",
value: function e(t, n) {
n.hasAttribute("data-tooltip") ? this.tooltips[t] = n.getAttribute("data-tooltip") : this.tooltips[t] = this.options.defaultTooltip + " " + (t + 1)
}
}, {
key: "setSectionsLuminance",
value: function e(t) {
var n = $(t),
i = this.$element.css("backgroundColor"),
a = n.css("backgroundColor") || i || "#fff";
t.hasAttribute("data-section-luminance") ? this.sectionsLuminance.push(n.attr("data-section-luminance")) : this.sectionsLuminance.push(tinycolor(a).getLuminance() <= .5 ? "dark" : "light")
}
}, {
key: "init",
value: function e() {
var t = this.options,
n = t.sectionSelector,
i = t.anchors,
a = t.easing,
s = t.css3,
o = t.scrollingSpeed,
l = t.loopTop,
r = t.loopBottom,
u = t.navigation,
c = t.animateAnchor;
u && this.tooltips.length > 0 && (u = {}, u.tooltips = this.tooltips), i && (i = this.anchors), this.$element.pagepiling({
sectionSelector: n,
anchors: i,
easing: a,
css3: s,
scrollingSpeed: o,
loopTop: l,
loopBottom: r,
animateAnchor: c,
navigation: u,
afterRender: this.afterRender.bind(this),
onLeave: this.onLeave.bind(this),
afterLoad: this.afterLoad.bind(this)
})
}
}, {
key: "appendPrevNextButtons",
value: function e() {
var t = this.options.prevNextLabels;
this.$prevNextButtons = $('<div class="lqd-stack-prevnext-wrap" />');
var n = $('<button class="lqd-stack-prevnext-button lqd-stack-prev-button">\n\t\t\t\t<span class="lqd-stack-button-labbel">' + t.prev + '</span>\n\t\t\t\t<span class="lqd-stack-button-ext">\n\t\t\t\t\t<svg width="36px" height="36px" class="lqd-stack-button-circ" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000">\n\t\t\t\t\t\t<path d="M17.89548,35.29096 C27.5027383,35.29096 35.29096,27.5027383 35.29096,17.89548 C35.29096,8.28822168 27.5027383,0.5 17.89548,0.5 C8.28822168,0.5 0.5,8.28822168 0.5,17.89548 C0.5,27.5027383 8.28822168,35.29096 17.89548,35.29096 Z"></path>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<svg width="36px" height="36px" class="lqd-stack-button-circ lqd-stack-button-circ-clone" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000">\n\t\t\t\t\t\t<path d="M17.89548,35.29096 C27.5027383,35.29096 35.29096,27.5027383 35.29096,17.89548 C35.29096,8.28822168 27.5027383,0.5 17.89548,0.5 C8.28822168,0.5 0.5,8.28822168 0.5,17.89548 C0.5,27.5027383 8.28822168,35.29096 17.89548,35.29096 Z"></path>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" class="lqd-stack-button-arrow" width="12.5px" height="13.5px" viewbox="0 0 12.5 13.5" fill="none" stroke="#000">\n\t\t\t\t\t\t<path d="M11.489,6.498 L0.514,12.501 L0.514,0.495 L11.489,6.498 Z"/>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t</button>'),
i = $('<button class="lqd-stack-prevnext-button lqd-stack-next-button">\n\t\t\t\t<span class="lqd-stack-button-labbel">' + t.next + '</span>\n\t\t\t\t<span class="lqd-stack-button-ext">\n\t\t\t\t\t<svg width="36px" height="36px" class="lqd-stack-button-circ" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000">\n\t\t\t\t\t\t<path d="M17.89548,35.29096 C27.5027383,35.29096 35.29096,27.5027383 35.29096,17.89548 C35.29096,8.28822168 27.5027383,0.5 17.89548,0.5 C8.28822168,0.5 0.5,8.28822168 0.5,17.89548 C0.5,27.5027383 8.28822168,35.29096 17.89548,35.29096 Z"></path>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<svg width="36px" height="36px" class="lqd-stack-button-circ lqd-stack-button-circ-clone" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000">\n\t\t\t\t\t\t<path d="M17.89548,35.29096 C27.5027383,35.29096 35.29096,27.5027383 35.29096,17.89548 C35.29096,8.28822168 27.5027383,0.5 17.89548,0.5 C8.28822168,0.5 0.5,8.28822168 0.5,17.89548 C0.5,27.5027383 8.28822168,35.29096 17.89548,35.29096 Z"></path>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" class="lqd-stack-button-arrow" width="12.5px" height="13.5px" viewbox="0 0 12.5 13.5" fill="none" stroke="#000">\n\t\t\t\t\t\t<path d="M11.489,6.498 L0.514,12.501 L0.514,0.495 L11.489,6.498 Z"/>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t</button>');
this.$prevNextButtons.append(n.add(i)), !this.$body.children(".lqd-stack-prevnext-wrap").length && this.$body.append(this.$prevNextButtons)
}
}, {
key: "prevNextButtonsEvents",
value: function e() {
var t = this.$prevNextButtons.find(".lqd-stack-prev-button"),
n = this.$prevNextButtons.find(".lqd-stack-next-button");
t.on("click", function() {
$.fn.pagepiling.moveSectionUp()
}), n.on("click", function() {
$.fn.pagepiling.moveSectionDown()
})
}
}, {
key: "appendPageNumber",
value: function e() {
var t = this.$sections.not(".main-footer").length;
this.$pageNumber = $('<div class="lqd-stack-page-number" />');
var n = $('<span class="lqd-stack-page-number-counter">\n\t\t\t\t<span class="lqd-stack-page-number-current"></span>\n\t\t\t\t<span class="lqd-stack-page-number-passed"></span>\n\t\t\t</span>'),
i = $('<span class="lqd-stack-page-number-total">' + (t < 10 ? "0" : "") + t + "</span>");
this.$pageNumber.append(n), this.$pageNumber.append(i), !this.$body.children(".lqd-stack-page-number").length && this.$body.append(this.$pageNumber)
}
}, {
key: "setPageNumber",
value: function e(t) {
var n = this.$pageNumber.find(".lqd-stack-page-number-current");
this.$pageNumber.find(".lqd-stack-page-number-passed").html(n.html()), n.html((t < 10 ? "0" : "") + t)
}
}, {
key: "addDirectionClassname",
value: function e(t) {
"down" == t ? this.$body.removeClass("lqd-stack-moving-up").addClass("lqd-stack-moving-down") : "up" == t && this.$body.removeClass("lqd-stack-moving-down").addClass("lqd-stack-moving-up")
}
}, {
key: "addLuminanceClassnames",
value: function e(t) {
this.$body.removeClass("lqd-stack-active-row-dark lqd-stack-active-row-light").addClass("lqd-stack-active-row-" + this.sectionsLuminance[t])
}
}, {
key: "initShortcodes",
value: function e(t) {
$("[data-custom-animations]", t).liquidCustomAnimations(), t.is("[data-custom-animations]") && t.liquidCustomAnimations(), $("[data-dynamic-shape]", t).liquidDynamicShape(), $("[data-reveal]", t).liquidReveal(), $("[data-particles=true]", t).liquidParticles()
}
}, {
key: "initBackToTop",
value: function e(t) {
t > 1 ? this.$backToTopButton.addClass("is-visible") : this.$backToTopButton.removeClass("is-visible"), $("a", this.$backToTopButton).on("click", function(e) {
e.preventDefault(), $.fn.pagepiling.moveTo(1)
})
}
}, {
key: "afterRender",
value: function e() {
this.$body.addClass("lqd-stack-initiated"), this.$ppNav = $("#pp-nav"), this.$mainFooter.length && (this.$ppNav.find("li").last().addClass("hide"), this.$body.addClass("lqd-stack-has-footer")), this.initShortcodes(this.$sections.first()), this.addLuminanceClassnames(0), this.options.prevNextButtons && this.appendPrevNextButtons(), this.options.prevNextButtons && this.prevNextButtonsEvents(), this.options.pageNumber && this.appendPageNumber(), this.options.pageNumber && this.setPageNumber(1)
}
}, {
key: "onLeave",
value: function e(t, n, i) {
var a = $(this.$sections[n - 1]),
s = $(this.$sections[t - 1]);
a.is(".main-footer") || s.is(".main-footer") ? s.is(".main-footer") && s.addClass("lqd-stack-row-leaving") : (this.$body.addClass("lqd-stack-moving"), this.setPageNumber(n), a.removeClass("lqd-stack-row-leaving").addClass("lqd-stack-row-entering"), s.removeClass("lqd-stack-row-entering").addClass("lqd-stack-row-leaving"), this.addLuminanceClassnames(n - 1)), a.is(".main-footer") ? (this.$body.addClass("lqd-stack-footer-active"), s.css("transform", "none")) : this.$body.removeClass("lqd-stack-footer-active"), this.addDirectionClassname(i), this.initShortcodes(a), this.$backToTopButton.length && this.initBackToTop(n)
}
}, {
key: "afterLoad",
value: function e(t, n) {
$(this.$sections).removeClass("will-change lqd-stack-row-entering lqd-stack-row-leaving"), this.$body.removeClass("lqd-stack-moving lqd-stack-moving-up lqd-stack-moving-down")
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("stack-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
if ($("body").hasClass("compose-mode")) return !1;
$("[data-liquid-stack=true]").liquidStack()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidAnimatedFrames",
a = {
direction: "vertical",
animation: {
slides: {
duration: 500,
easing: "easeOutQuint"
},
shape: {
duration: 300,
easing: { in: "easeOutCubic",
out: "easeInOutCirc"
}
}
},
frameFill: "#000"
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.DOM = {}, this.DOM.el = t, this.DOM.slides = Array.from(this.DOM.el.querySelectorAll(".lqd-af-slides > .lqd-af-slide")), this.slidesTotal = this.DOM.slides.length, this.DOM.nav = this.DOM.el.querySelector(".lqd-af-slidenav"), this.DOM.nextCtrl = this.DOM.nav.querySelector(".lqd-af-slidenav__item--next"), this.DOM.prevCtrl = this.DOM.nav.querySelector(".lqd-af-slidenav__item--prev"), this.current = 0, this.init(), this.createFrame(), this.initEvents()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.DOM.slides[this.current].classList.add("lqd-af-slide--current"), this.DOM.el.classList.add("lqd-af--initial")
}
}, {
key: "createFrame",
value: function e() {
var n = this;
this.rect = this.DOM.el.getBoundingClientRect(), this.clipPathID = "lqd-af-clippath-" + anime.random(0, 100), this.maskPositions = ["top", "right", "bottom", "left"], this.DOM.mask = t.createElement("div"), this.DOM.mask.classList.add("lqd-af-mask"), this.maskPositions.forEach(function(e) {
var i = n.DOM.mask[e] = t.createElement("span");
i.classList.add("lqd-af-mask-" + e), i.dataset.position = e, i.style.backgroundColor = n.options.frameFill, n.DOM.mask.appendChild(i)
}), this.DOM.el.appendChild(this.DOM.mask), this.DOM.el.insertBefore(this.DOM.mask, this.DOM.nav)
}
}, {
key: "initEvents",
value: function e() {
var n = this;
this.DOM.nextCtrl.addEventListener("click", function() {
return n.navigate("next")
}), this.DOM.prevCtrl.addEventListener("click", function() {
return n.navigate("prev")
}), t.addEventListener("keydown", function(e) {
var t = e.keyCode || e.which;
37 === t ? n.navigate("prev") : 39 === t && n.navigate("next")
})
}
}, {
key: "navigate",
value: function e() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "next";
if (this.isAnimating) return !1;
this.isAnimating = !0;
var n = anime({
targets: [this.DOM.mask.top, this.DOM.mask.right, this.DOM.mask.bottom, this.DOM.mask.left],
duration: this.options.animation.shape.duration,
easing: this.options.animation.shape.easing.in,
translateX: function e(t) {
var n = t.dataset.position;
return "right" === n ? ["100%", "78%"] : "left" === n ? ["-100%", "-78%"] : void 0
},
translateY: function e(t) {
var n = t.dataset.position;
return "top" === n ? ["-100%", "-78%"] : "bottom" === n ? ["100%", "78%"] : void 0
},
begin: function e(t) {
t.animatables.forEach(function(e) {
e.target.style.willChange = "transform"
})
}
}),
i = this.DOM.slides[this.current],
a = i.querySelector(".lqd-af-slide__img"),
s = a.querySelector("figure");
anime.remove(s), anime({
targets: s,
duration: 1.5 * this.options.animation.shape.duration,
easing: this.options.animation.shape.easing.in,
scale: [1, .6]
}), n.finished.then(this.animateSlides.bind(this, t)).then(this.animateShapeOut.bind(this, t))
}
}, {
key: "animateSlides",
value: function e() {
var t = this,
n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "next";
return new Promise(function(e, i) {
var a, s, o, l, r = t.options.direction,
u = "horizontal" === r ? t.rect.width : t.rect.height,
c = t.DOM.slides[t.current],
d = c.querySelector(".lqd-af-slide__img");
c.classList.add("lqd-af-slide--movin-out"), anime.remove(d), anime((a = {
targets: d,
duration: 4 * t.options.animation.slides.duration,
easing: t.options.animation.slides.easing,
delay: 100
}, _defineProperty(a, "horizontal" === r ? "translateX" : "translateY", "next" === n ? -1 * u / 3 : u / 3), _defineProperty(a, "complete", function e() {
c.classList.remove("lqd-af-slide--movin-out")
}), a));
var h = anime.timeline({
duration: t.options.animation.slides.duration,
easing: t.options.animation.shape.easing.out,
delay: 0,
complete: function n(i) {
c.classList.remove("lqd-af-slide--current"), t.DOM.el.classList.add("lqd-af--initial"), e()
}
});
h.add(_defineProperty({
targets: c.querySelectorAll(".lqd-af-slide__title .lqd-words .split-inner")
}, "horizontal" === r ? "translateX" : "translateY", ["0%", "next" === n ? "-115%" : "115%"])), h.add(_defineProperty({
targets: c.querySelectorAll(".lqd-af-slide__desc .split-inner")
}, "horizontal" === r ? "translateX" : "translateY", [0, "next" === n ? -50 : 50]), 100), h.add((s = {
targets: c.querySelector(".lqd-af-slide__link")
}, _defineProperty(s, "horizontal" === r ? "translateX" : "translateY", [0, "next" === n ? -50 : 50]), _defineProperty(s, "opacity", [1, 0]), s), 150), t.current = "next" === n ? t.current < t.slidesTotal - 1 ? t.current + 1 : 0 : t.current > 0 ? t.current - 1 : t.slidesTotal - 1;
var f = t.DOM.slides[t.current];
f.classList.add("lqd-af-slide--current", "lqd-af-slide--movin-in"), t.DOM.el.classList.add("lqd-af--initial");
var m = f.querySelector(".lqd-af-slide__img");
anime.remove(m), anime((o = {
targets: m,
duration: 2 * t.options.animation.slides.duration,
easing: t.options.animation.slides.easing
}, _defineProperty(o, "horizontal" === r ? "translateX" : "translateY", ["next" === n ? u : -1 * u, 0]), _defineProperty(o, "complete", function e() {
f.classList.remove("lqd-af-slide--movin-in")
}), o));
var p = anime.timeline({
duration: 2 * t.options.animation.slides.duration,
easing: t.options.animation.slides.easing
});
p.add(_defineProperty({
targets: f.querySelectorAll(".lqd-af-slide__title .lqd-words .split-inner")
}, "horizontal" === r ? "translateX" : "translateY", ["next" === n ? "115%" : "-115%", "0%"])), p.add(_defineProperty({
targets: f.querySelectorAll(".lqd-af-slide__desc .split-inner")
}, "horizontal" === r ? "translateX" : "translateY", ["next" === n ? 70 : -70, 0]), 150), p.add((l = {
targets: f.querySelector(".lqd-af-slide__link")
}, _defineProperty(l, "horizontal" === r ? "translateX" : "translateY", ["next" === n ? 70 : -70, 0]), _defineProperty(l, "opacity", [0, 1]), l), 200)
})
}
}, {
key: "animateShapeOut",
value: function e() {
var t = this,
n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "next";
anime({
targets: [this.DOM.mask.top, this.DOM.mask.right, this.DOM.mask.bottom, this.DOM.mask.left],
duration: 1.75 * this.options.animation.shape.duration,
easing: this.options.animation.shape.easing.out,
translateX: function e(t) {
var n = t.dataset.position;
return "right" === n ? ["78%", "100%"] : "left" === n ? ["-78%", "-100%"] : void 0
},
translateY: function e(t) {
var n = t.dataset.position;
return "top" === n ? ["-78%", "-100%"] : "bottom" === n ? ["78%", "100%"] : void 0
},
complete: function e(n) {
t.isAnimating = !1, n.animatables.forEach(function(e) {
e.target.style.willChange = ""
})
}
});
var i = this.DOM.slides[this.current],
a = i.querySelector(".lqd-af-slide__img"),
s = a.querySelector("figure");
anime.remove(s), anime({
targets: s,
duration: 1.45 * this.options.animation.shape.duration,
easing: this.options.animation.shape.easing.out,
scale: [.6, 1]
})
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("animatedframes-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-liquid-animatedframes=true]").liquidAnimatedFrames()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidVideoTrigger",
a = {
triggerType: ["mouseenter", "mouseleave"],
videoPlacement: "parent"
},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.$videoElement = this.$element[this.options.videoPlacement]().find("video"), this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.$videoElement.length && (this.videoElement = this.$videoElement.get(0), this.videoElement.oncanplay = this.events.call(this))
}
}, {
key: "events",
value: function e() {
this.$element.on(this.options.triggerType[0], this.triggerOn.bind(this)), this.$element.on(this.options.triggerType[1], this.triggerOff.bind(this))
}
}, {
key: "triggerOn",
value: function e() {
this.videoElement.play()
}
}, {
key: "triggerOff",
value: function e() {
this.videoElement.pause()
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("trigger-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-video-trigger]").liquidVideoTrigger()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidLightBox",
a = {},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.events()
}
}, {
key: "events",
value: function e() {
var n = this;
$(t).on("lity:close", function(e) {
n.onClose(e)
})
}
}, {
key: "onClose",
value: function e(t) {
var n = $(t.target),
i = n.find("video"),
a = n.find("audio");
if (i.length) {
var s = i.get(0);
s.oncanplay = s.pause()
}
if (a.length) {
var o = a.get(0);
o.oncanplay = o.pause()
}
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("lightbox-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("[data-lity]").liquidLightBox()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidLocalScroll",
a = {
scrollSpeed: 600,
scrollBelowSection: !1,
offsetElements: ".main-header[data-sticky-header] .mainbar-wrap, .lqd-custom-menu[data-pin]"
},
s = function() {
function n(t, s) {
_classCallCheck(this, n), this.element = t, this.$element = $(t), this.$window = $(e), this.$windowHeight = this.$window.height(), this.$mainHeader = $(".main-header"), this.options = $.extend({}, a, s), this._defaults = a, this._name = i, this.getScrollSpeed(), this.getElement(), this.init()
}
return _createClass(n, [{
key: "init",
value: function e() {
var t = this;
this.$element.each(function(e, n) {
t.eventListeners(n), t.onWindowScroll(n)
})
}
}, {
key: "getScrollSpeed",
value: function t() {
e.liquidParams && e.liquidParams.localscrollSpeed ? this.options.scrollSpeed = e.liquidParams.localscrollSpeed : this.options.scrollSpeed = 600
}
}, {
key: "getElement",
value: function e() {
this.$element.is("li") ? this.$element = this.$element.children("a") : this.$element.is(".main-nav") && (this.$element = this.$element.children("li").children("a"))
}
}, {
key: "eventListeners",
value: function e(t) {
var n = this;
$(t).on("click", function(e) {
n.onClick.call(n, e, t)
}), this.$window.on("scroll", this.onWindowScroll.bind(this, t))
}
}, {
key: "getDestinationOffsetTop",
value: function e(t) {
if (!t.length) return 0;
var n = t.offset().top;
return liquidIsMobile() && this.$element.closest(".main-nav").length && !$(".mainbar-wrap", this.$mainHeader).hasClass("is-stuck") && (n -= $(".navbar-collapse").outerHeight()), n
}
}, {
key: "getOffsetElementsHeight",
value: function e() {
var t = this,
n = this.options,
i = n.offsetElements,
a = 0;
return i ? ($.each(i.replace(/, /g, ",").split(","), function(e, n) {
var i = void 0;
i = "parent" == n && t.$element.closest(".lqd-custom-menu").length ? t.$element.closest(".lqd-custom-menu") : "parent" == n && t.$element.closest("ul").length ? t.$element.closest("ul") : "parent" == n ? t.$element.parent() : $(n), i.length && (liquidIsMobile() && (i.is(".main-header") || i.closest(".main-header").length || i.is(".navbar-collapse-clone") || i.closest(".navbar-collapse-clone").length) ? a = $(".navbar-header", t.$mainHeader).outerHeight() - 2 : a += i.outerHeight() - 2)
}), a) : a
}
}, {
key: "onClick",
value: function e(t, n) {
var i = $(this.getTarget(n));
if (!i) return !1;
var a = this.getDestinationOffsetTop(i),
s = this.getOffsetElementsHeight(i),
o = this.$element.closest(".navbar-collapse");
i.length && (t.preventDefault(), t.stopPropagation(), liquidWindowWidth() <= liquidMobileNavBreakpoint() && o.length && o.collapse("hide"), $("html, body").animate({
scrollTop: a - s
}, this.options.scrollSpeed))
}
}, {
key: "getTarget",
value: function e(t) {
var n = $(t),
i = n.parents(".vc_row").last(),
a = i.nextAll(".vc_row").first(),
s = n.attr("href"),
o = s.match(/#/g) && $("#" + s.split("#")[1]).get(0);
return this.options.scrollBelowSection ? a.get(0) : o
}
}, {
key: "onWindowScroll",
value: function e(n) {
var i = n.getAttribute("href");
if (!i.match(/#/g) || !n.hasAttribute("href")) return !1;
if ($("#" + i.split("#")[1]).length) {
var a = $(n),
s = $("#" + i.split("#")[1]),
o = this.getDestinationOffsetTop(s),
l = this.getOffsetElementsHeight(s);
(t.documentElement.scrollTop || t.body.scrollTop) >= o - l - 50 ? a.parent().addClass("is-active").siblings().removeClass("is-active") : a.parent().removeClass("is-active")
}
}
}]), n
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("localscroll-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("html").hasClass("pp-enabled") || $("[data-localscroll]").liquidLocalScroll()
});
var _createClass = function() {
function e(e, t) {
for (var n = 0; n < t.length; n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
return function(t, n, i) {
return n && e(t.prototype, n), i && e(t, i), t
}
}();
! function($, e, t, n) {
var i = "liquidBackToTop",
a = {},
s = function() {
function e(t, n) {
_classCallCheck(this, e), this.element = t, this.$element = $(t), this.$pageContentElement = $("#content"), this.options = $.extend({}, a, n), this._defaults = a, this._name = i, this.init()
}
return _createClass(e, [{
key: "init",
value: function e() {
this.firstSectionIO()
}
}, {
key: "firstSectionIO",
value: function e() {
var t = this,
n = this.$pageContentElement.children().not("style").first();
new IntersectionObserver(function(e) {
e.forEach(function(e) {
var n = e.boundingClientRect,
i = e.rootBounds;
i && i.top >= n.bottom ? t.$element.addClass("is-visible") : t.$element.removeClass("is-visible")
})
}).observe(n.get(0))
}
}]), e
}();
$.fn[i] = function(e) {
return this.each(function() {
var t = $(this).data("back-to-top-options") || e;
$.data(this, "plugin_" + i) || $.data(this, "plugin_" + i, new s(this, t))
})
}
}(jQuery, window, document), jQuery(document).ready(function($) {
$("html").hasClass("pp-enabled") || $("[data-back-to-top]").liquidBackToTop()
});
const carouselSlider = element => {
let carousel = document.getElementById("carousel"),
carouselSlides = Array.from(carousel.querySelectorAll(".carousel__item"));
controls(carousel, carouselSlides, element.keyboard, Math.max(1000,element.delay));
};
const controls = (carousel, carouselSlides, keyboard, delay) => {
let prevControl = carousel.querySelector(".carousel__control--prev"),
nextControl = carousel.querySelector(".carousel__control--next"),
indicators = carousel.querySelector(".carousel__indicators"),
lastIndex = 0,
currentIndex = 0,
mouseEnter = false,
direction,
direction2,
interval;
const autoSlide = () => {
interval = setInterval(() => {
lastIndex = currentIndex;
currentIndex = ++currentIndex % carouselSlides.length;
translate(
carousel,
currentIndex,
lastIndex,
carouselSlides,
"next",
"left"
);
}, delay);
};
autoSlide();
const clearInterv = () => {
clearInterval(interval);
};
const arrowKeys = () => {
window.addEventListener("keydown", e => {
if (e.key === "ArrowLeft") {
prevControl.click();
} else if (e.key === "ArrowRight") {
nextControl.click();
}
});
window.addEventListener("keyup", e => {
clearInterv();
autoSlide();
if (mouseEnter) {
console.log(mouseEnter);
clearInterv();
}
});
};
if (JSON.parse(keyboard)) {
arrowKeys();
}
carousel.addEventListener("mouseenter", (e) => {
mouseEnter = true;
clearInterv();
});
carousel.addEventListener("mouseleave", () => {
mouseEnter = false;
autoSlide();
});
prevControl.addEventListener("click", () => {
if (carousel.dataset.flag === "true") return;
direction = "prev";
direction2 = "right";
lastIndex = currentIndex;
currentIndex--;
if (currentIndex < 0) {
currentIndex = carouselSlides.length - 1;
}
translate(
carousel,
currentIndex,
lastIndex,
carouselSlides,
direction,
direction2
);
});
nextControl.addEventListener("click", () => {
if (carousel.dataset.flag === "true") return;
direction = "next";
direction2 = "left";
lastIndex = currentIndex;
currentIndex = ++currentIndex % carouselSlides.length;
translate(
carousel,
currentIndex,
lastIndex,
carouselSlides,
direction,
direction2
);
});
indicators.addEventListener("click", e => {
let target = e.target;
if (target.tagName === "LI") {
if (
carousel.dataset.flag === "true" ||
target.classList.contains("active")
) {
return;
}
lastIndex = currentIndex;
currentIndex = target.dataset.slideTo;
if (lastIndex > currentIndex) {
direction = "prev";
direction2 = "right";
} else if (lastIndex < currentIndex) {
direction = "next";
direction2 = "left";
}
translate(
carousel,
currentIndex,
lastIndex,
carouselSlides,
direction,
direction2,
target
);
}
});
};
const translate = (
carousel,
currentIndex,
lastIndex,
carouselSlides,
direction,
direction2,
delay
) => {
carousel.dataset.flag = true;
carouselSlides[currentIndex].classList.add(
"active",
`carousel__item--${direction}`
);
const animDirection = () => {
return new Promise((resolve, reject) => {
setTimeout(() => {
carouselSlides[lastIndex].classList.add(
`carousel__item--${direction2}`
);
carouselSlides[currentIndex].classList.add(
"active",
`carousel__item--${direction}`,
`carousel__item--${direction2}`
);
resolve();
}, 100);
});
};
animDirection().then(() => {
setTimeout(() => {
carouselSlides[lastIndex].classList.remove(
"active",
`carousel__item--${direction}`,
`carousel__item--${direction2}`
);
carouselSlides[currentIndex].classList.remove(
`carousel__item--${direction}`,
`carousel__item--${direction2}`
);
carousel.dataset.flag = false;
}, 700);
});
activeIndicators(carousel, currentIndex);
};
const activeIndicators = (carousel, currentIndex) => {
let indicators = Array.from(
carousel.querySelectorAll(".carousel__indicators li")
);
indicators.filter(
indicator =>
indicator === indicators[currentIndex]
? indicator.classList.add("active")
: indicator.classList.remove("active")
);
};
carouselSlider({
keyboard: "true", // active arrows key
delay: 5000 // 1000ms is default
});