"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 $('
').insertBefore(this.$stickyElement).get(0) } }, { key: "addSentinel", value: function e() { var t = this.options.stickyTrigger, n = $('