var $jscomp = $jscomp || {}; $jscomp.scope = {}; $jscomp.ASSUME_ES5 = !1; $jscomp.ASSUME_NO_NATIVE_MAP = !1; $jscomp.ASSUME_NO_NATIVE_SET = !1; $jscomp.SIMPLE_FROUND_POLYFILL = !1; $jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function(b, h, d) { b != Array.prototype && b != Object.prototype && (b[h] = d.value) }; $jscomp.getGlobal = function(b) { return "undefined" != typeof window && window === b ? b : "undefined" != typeof global && null != global ? global : b }; $jscomp.global = $jscomp.getGlobal(this); $jscomp.polyfill = function(b, h, d, q) { if (h) { d = $jscomp.global; b = b.split("."); for (q = 0; q < b.length - 1; q++) { var l = b[q]; l in d || (d[l] = {}); d = d[l] } b = b[b.length - 1]; q = d[b]; h = h(q); h != q && null != h && $jscomp.defineProperty(d, b, { configurable: !0, writable: !0, value: h }) } }; $jscomp.polyfill("Array.from", function(b) { return b ? b : function(b, d, q) { d = null != d ? d : function(b) { return b }; var h = [], n = "undefined" != typeof Symbol && Symbol.iterator && b[Symbol.iterator]; if ("function" == typeof n) { b = n.call(b); for (var r = 0; !(n = b.next()).done;) h.push(d.call(q, n.value, r++)) } else for (n = b.length, r = 0; r < n; r++) h.push(d.call(q, b[r], r)); return h } }, "es6", "es3"); $jscomp.owns = function(b, h) { return Object.prototype.hasOwnProperty.call(b, h) }; $jscomp.polyfill("Object.values", function(b) { return b ? b : function(b) { var d = [], h; for (h in b) $jscomp.owns(b, h) && d.push(b[h]); return d } }, "es8", "es3"); $jscomp.findInternal = function(b, h, d) { b instanceof String && (b = String(b)); for (var q = b.length, l = 0; l < q; l++) { var n = b[l]; if (h.call(d, n, l, b)) return { i: l, v: n } } return { i: -1, v: void 0 } }; $jscomp.polyfill("Array.prototype.find", function(b) { return b ? b : function(b, d) { return $jscomp.findInternal(this, b, d).v } }, "es6", "es3"); $jscomp.checkStringArgs = function(b, h, d) { if (null == b) throw new TypeError("The 'this' value for String.prototype." + d + " must not be null or undefined"); if (h instanceof RegExp) throw new TypeError("First argument to String.prototype." + d + " must not be a regular expression"); return b + "" }; $jscomp.polyfill("String.prototype.startsWith", function(b) { return b ? b : function(b, d) { var h = $jscomp.checkStringArgs(this, b, "startsWith"); b += ""; var l = h.length, n = b.length; d = Math.max(0, Math.min(d | 0, h.length)); for (var r = 0; r < n && d < l;) if (h[d++] != b[r++]) return !1; return r >= n } }, "es6", "es3"); $jscomp.polyfill("Object.is", function(b) { return b ? b : function(b, d) { return b === d ? 0 !== b || 1 / b === 1 / d : b !== b && d !== d } }, "es6", "es3"); $jscomp.polyfill("Array.prototype.includes", function(b) { return b ? b : function(b, d) { var h = this; h instanceof String && (h = String(h)); var l = h.length; d = d || 0; for (0 > d && (d = Math.max(d + l, 0)); d < l; d++) { var n = h[d]; if (n === b || Object.is(n, b)) return !0 } return !1 } }, "es7", "es3"); $jscomp.polyfill("String.prototype.includes", function(b) { return b ? b : function(b, d) { return -1 !== $jscomp.checkStringArgs(this, b, "includes").indexOf(b, d || 0) } }, "es6", "es3"); (function() { function b(a, c) { var b = Array.from(a.querySelectorAll(c)); a.matches && a.matches(c) && b.splice(0, 0, a); return b } function h(a) { a = a.getBoundingClientRect(); return { top: a.top + document.body.scrollTop, left: a.left + document.body.scrollLeft } } function d(a) { return parseFloat(getComputedStyle(a, null).height.replace("px", "")) } function q(a) { return parseFloat(getComputedStyle(a, null).width.replace("px", "")) } function l(a) { "loading" != document.readyState ? a() : document.addEventListener("DOMContentLoaded", a) } function n(a) { (function e() { 0 > (a.style.opacity -= .1) ? a.style.display = "none" : requestAnimationFrame(e) })() } function r(a) { a.style.display = "block"; (function e() { var b = parseFloat(a.style.opacity); 1 < (b += .1) || (a.style.opacity = b, requestAnimationFrame(e)) })() } function v(a) { var c = [], b = { blackberry: "BlackBerry", android: "Android", windows: "IEMobile", opera: "Opera Mini", ios: "iPhone|iPad|iPod" }; a = "undefined" == typeof a ? "*" : a.toLowerCase(); "*" === a ? c = Object.values(b) : a in b && c.push(b[a]); return (a = !(!c.find(function(a) { return "iPhone|iPad|iPod" === a }) || !(navigator.userAgent.match(/(iPad)/) || "MacIntel" === navigator.platform && "undefined" !== typeof navigator.standalone))) ? a : !(!c.length || !navigator.userAgent.match(new RegExp(c.join("|"), "i"))) } function A(a) { var c = a.querySelector(".carousel-item"); a = a.querySelector(".carousel-indicators > li"); c.classList.add("active"); a && a.classList.add("active") } function x(a) { var c = a.getAttribute("id") + "-carousel", b = a.getAttribute("data-bs-version") && a.getAttribute("data-bs-version").startsWith("5"); null === a.getAttribute("id") && (c = a.classList.value.match(/cid-.*?(?=\s|$)/) + "-carousel"); a.querySelectorAll(".carousel").forEach(function(a) { a.setAttribute("id", c) }); a.querySelector(".carousel-controls") && a.querySelectorAll(".carousel-controls").forEach(function(a) { a.querySelectorAll("a").forEach(function(a) { a.setAttribute("href", "#" + c); b ? a.setAttribute("data-bs-target", "#" + c) : a.setAttribute("data-target", "#" + c) }) }); a.querySelectorAll(".carousel-indicators > li").forEach(function(a) { b ? a.setAttribute("data-bs-target", "#" + c) : a.setAttribute("data-target", "#" + c) }); A(a) } function E(a) { var c = a.querySelectorAll(".carousel-item").length, b = a.querySelector(".carousel-inner").getAttribute("data-visible"); c < b && (b = c); a.querySelectorAll(".carousel-inner").forEach(function(a) { a.setAttribute("class", "carousel-inner slides" + b) }); a.querySelectorAll(".clonedCol").forEach(function(a) { a.remove() }); a.querySelectorAll(".carousel-item .col-md-12").forEach(function(a) { 2 > b ? a.setAttribute("class", "col-md-12") : "5" == b ? a.setAttribute("class", "col-md-12 col-lg-15") : a.setAttribute("class", "col-md-12 col-lg-" + 12 / b) }); a.querySelectorAll(".carousel-item .row").forEach(function(a) { a.setAttribute("style", "-webkit-flex-grow: 1; flex-grow: 1; margin: 0;") }); a.querySelectorAll(".carousel-item").forEach(function(a) { for (var c = a, e = 1; e < b; e++) { (c = c.nextElementSibling) || (c = a.parentNode.children[0] === a ? a.nextElementSibling : a.parentNode.children[0]); var k; if (k = c) { var d = 0; do d++; while (k = k.previousElementSibling); k = d } else k = -1; d = c.querySelector(".col-md-12").cloneNode(!0); d.classList.add("cloneditem-" + e); d.classList.add("clonedCol"); d.setAttribute("data-cloned-index", k); a.children[0].appendChild(d) } }) } function F(a) { var b = "", e = a.querySelector("svg linearGradient"); if (e) { b = []; e = Array.from(e.children); for (var k = 0; k < e.length; k++) b.push('"' + e[k].getAttribute("stop-color") + '"'); b = '"lineargradient": [' + b + "],"; Array.from(a.querySelectorAll("svg")).some(function(a) { return a.classList.contains("svg-gradient") }) || a.querySelectorAll("svg").forEach(function(a) { a.classList.add("svg-gradient") }) } return b } function y(a, b, e) { var c = a.closest(".card"), f = c.parentElement.classList; c.getAttribute("style") || c.setAttribute("style", "-webkit-flex-basis: auto; flex-basis: auto;"); f.contains("row") && (f.remove("row"), f.add("media-container-row")); a.querySelectorAll(".svg-gradient > *").forEach(function(a) { a.setAttribute("id", b) }); c = a.cloneNode(!0); Array.from(a.children).forEach(function(a) { if ("SVG" !== a.tagName) return a.remove() }); a.setAttribute("data-pie", "{ " + F(a.closest("section")) + ' "percent": ' + e + ', "size": 150, "colorCircle": "#f1f1f1", "stroke": 5, "colorSlice": "url(#' + b + ')", "fontSize": "1.3rem", "number": false }'); Array.from(c.children).forEach(function(b) { switch (!0) { case b.matches("p"): b.innerText = e + "%"; a.appendChild(b); break; case b.matches("svg"): break; default: a.appendChild(b) } }) } function B(a) { var b = a.closest("section").getAttribute("id") + "-svg-gradient", e = +a.getAttribute("data-goal"); y(a, b, e) } function G(a, b) { if (a.classList.contains("circle-progress-section") && b.includes("progress") && "progressCount" != b) if (b.includes("Color")) a.querySelectorAll(".pie_progress").forEach(function(b) { var c = a.getAttribute("id") + "-svg-gradient", e = +b.getAttribute("data-goal"); y(b, c, e) }); else { var c = a.getAttribute("id") + "-svg-gradient"; b = a.querySelector("." + b); var d = +b.getAttribute("data-goal"); y(b, c, d) } } var g, p, t = "function" == typeof jQuery; t && (g = jQuery); g ? p = g("html").hasClass("is-builder") : p = document.querySelector("html").classList.contains("is-builder"); Element.prototype.parents = function(a) { for (var b = [], e = this, d = void 0 !== a; null !== (e = e.parentElement);) e.nodeType === Node.ELEMENT_NODE && (d && !e.matches(a) || b.push(e)); return b }; Element.prototype.footerReveal = function() { function a() { !d && b.offsetHeight <= window.outerHeight ? (b.style.zIndex = "-999", b.style.position = "fixed", b.style.bottom = "0", b.style.width = e.offsetWidth + "px", e.style.marginBottom = b.offsetHeight + "px") : (b.style.zIndex = "", b.style.position = "", b.style.bottom = "", b.style.width = "", e.style.marginBottom = "") } var b = this, e = b.previousElementSibling, d = !!document.documentMode; a(); window.addEventListener("resize", function() { a() }); window.addEventListener("load", function() { a() }); return b }; (function(a) { var b = function(a, b, c) { var e; return function() { var f = this, d = arguments; e ? clearTimeout(e) : c && a.apply(f, d); e = setTimeout(function() { c || a.apply(f, d); e = null }, b || 100) } }; window[a] = function(c) { var e = new CustomEvent(a); return c ? this.addEventListener("resize", b(c)) : this.dispatchEvent(e) } })("smartresize"); var H = function() { var a = document.createElement("div"), b = document.querySelector("body"); a.setAttribute("style", "height: 50vh; position: absolute; top: -1000px; left: -1000px;"); b.appendChild(a); var e = parseInt(window.innerHeight / 2, 10), d = parseInt((window.getComputedStyle ? getComputedStyle(a, null) : a.currentStyle).height, 10); b.removeChild(a); return d == e }(); l(function() { function a(a) { a.style.height = 9 * q(a.parentNode) / 16 + "px" } function c(a) { setTimeout(function() { b(a, ".mbr-parallax-background").forEach(function(a) { jarallax && (jarallax(a, { speed: .6 }), a.style.position = "relative") }) }, 0) } function e(a) { b(a, "[data-bg-video]").forEach(function(a) { var b = a.getAttribute("data-bg-video"); if (b) { var c = b.match(/(http:\/\/|https:\/\/|)?(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/), e = a.querySelector(".mbr-background-video-preview") || document.createElement("div"); e.classList.add("mbr-background-video-preview"); e.style.display = "none"; e.style.backgroundSize = "cover"; e.style.backgroundPosition = "center"; a.querySelector(".mbr-background-video-preview") || a.childNodes[0].before(e); if (c && (/youtu\.?be/g.test(c[3]) || /vimeo/g.test(c[3]))) if (c && /youtu\.?be/g.test(c[3])) { b = "http" + ("https:" === location.protocol ? "s" : "") + ":"; b += "//img.youtube.com/vi/" + c[6] + "/maxresdefault.jpg"; var d = new Image; d.onload = function() { if (120 === (d.naturalWidth || d.width)) { var b = d.src.split("/").pop(); switch (b) { case "maxresdefault.jpg": d.src = d.src.replace(b, "sddefault.jpg"); break; case "sddefault.jpg": d.src = d.src.replace(b, "hqdefault.jpg"); break; default: p && (e.style.backgroundImage = 'url("images/no-video.jpg")', e.style.display = "block") } } else e.style.backgroundImage = 'url("' + d.src + '")', e.style.display = "block"; a.querySelector(".mbr-background-video") && a.querySelector(".mbr-background-video").remove(); a.querySelector(".mbr-background-video-wrapper") && a.querySelector(".mbr-background-video-wrapper").remove(); b = document.createElement("div"); var f = document.createElement("div"); f.classList.add("mbr-background-video-wrapper"); f.appendChild(b); b.classList.add("mbr-background-video"); a.childNodes[1].before(f); var w = d.naturalHeight, k = d.naturalWidth, C = d.naturalHeight / d.naturalWidth, h = b.parentNode.clientHeight, D = b.parentNode.clientWidth; w = w < h ? w : h; k = k > D ? k : D; w / k != C && (w = k * C); var m = new YouTubePlayer(b, { modestBranding: !0, autoplay: !0, controls: !1, origin: "*", iv_load_policy: !1, mute: !0, keyboard: !1, captions: !1, annotations: !1, related: !1 }); f.style.overflow = "hidden"; f.style.position = "absolute"; f.style.minWidth = "100%"; f.style.minHeight = "100%"; f.style.top = "0"; f.style.left = "0"; f.style.transitionProperty = "opacity"; f.style.transitionDuration = "1000ms"; b.style.marginTop = "0"; b.style.maxWidth = "initial"; b.style.transitionProperty = "opacity"; b.style.transitionDuration = "1000ms"; b.style.pointerEvents = "none"; b.style.position = "absolute"; b.style.top = "0"; b.style.left = "0"; b.style.display = "none"; b.style.transform = "scale(1.2)"; m.load(c[6], !0); m.mute(); m.on("playing", function() { m.replayFrom(1); 0 < m.getProgress() && (m._player.i.style.display = "block") }); p && t && (g(document).on("delete.cards", function(a) { m.stopResize(); m.stopReplay(a.target.querySelector(".mbr-background-video-wrapper")) }), g(document).on("changeParameter.cards", function(a, b, c, f) { a = a.target.querySelector(".mbr-background-video-wrapper"); if ("bg" === b) switch (f) { case "type": "video" !== c.type && m.stopReplay(a); break; case "value": "video" === c.type && m.stopReplay(a) } })) }; d.setAttribute("src", b) } else { if (c && /vimeo/g.test(c[3])) { var f = new XMLHttpRequest; f.open("GET", "https://vimeo.com/api/v2/video/" + c[6] + ".json", !0); f.onreadystatechange = function() { if (4 === this.readyState) if (200 <= this.status && 400 > this.status) { var a = JSON.parse(this.responseText); e.style.backgroundImage = 'url("' + a[0].thumbnail_large + '")'; e.style.display = "block" } else p && (e.style.backgroundImage = 'url("images/no-video.jpg")', e.style.display = "block") }; f.send(); f = null; a.querySelector(".mbr-background-video") && a.querySelector(".mbr-background-video").remove(); f = document.createElement("div"); f.classList.add("mbr-background-video"); a.childNodes[1].before(f); b = new Vimeo.Player(f, { id: b, loop: !0, background: !0, responsive: !0, autoplay: !0, byline: !1, title: !1, muted: !0, controls: !1 }); f = b.element.parentNode; f.style.overflow = "hidden"; b.element.style.pointerEvents = "none"; b.element.style.marginLeft = "-" + (b.element.scrollWidth - f.scrollWidth) / 2 + "px"; b.element.style.minHeight = "100vh"; b.element.style.minWidth = "177.77vh" } } else p && (e.style.backgroundImage = 'url("images/video-placeholder.jpg")', e.style.display = "block") } }) } document.querySelector("html").classList.add(v() ? "mobile" : "desktop"); window.addEventListener("scroll", function() { document.querySelectorAll(".mbr-navbar--sticky").forEach(function(a) { var b = 10 < window.scrollTop ? "add" : "remove"; a.classList[b]("mbr-navbar--stuck"); if (!a.classList.contains(".mbr-navbar--open")) a.classList[b]("mbr-navbar--short") }) }); v() && navigator.userAgent.match(/Chrome/i) ? function(a, b) { var c = [a, a ]; c[b > a ? 0 : 1] = b; window.smartresize(function() { var a = window.innerHeight; 0 > c.indexOf(a) && (a = c[window.innerWidth > a ? 1 : 0]); document.querySelector(".mbr-section--full-height").style.height = a + "px" }) }(window.innerWidth, window.innerHeight) : H || (window.smartresize(function() { document.querySelector(".mbr-section--full-height").style.height = window.innerHeight + "px" }), g(document).on("add.cards", function(a) { document.querySelector("html").classList.contains("mbr-site-loaded") && b(a.target, ".mbr-section--full-height").length && window.dispatchEvent(new CustomEvent("resize")) })); window.addEventListener("smartresize", function() { document.querySelectorAll(".mbr-section--16by9").forEach(a) }); if (t) g(document).on("add.cards changeParameter.cards", function(c) { var f = b(c.target, ".mbr-section--16by9"); f.length ? f.forEach(function(b) { b.setAttribute("data-16by9", "true"); a(b) }) : b(c.target, "[data-16by9]").forEach(function(a) { a.styles.height = ""; a.removeAttribute("data-16by9") }) }); if ("undefined" !== typeof jarallax && !v()) { window.addEventListener("update.parallax", function(a) { setTimeout(function() { if (a) { var a = document.querySelector(".mbr-parallax-background"); a.jarallax("coverImage"); a.jarallax("clipContainer"); a.jarallax("onScroll") } }, 0) }); if (p) { if (!t) return; g(document).on("add.cards", function(a) { c(a.target); g(window).trigger("update.parallax") }); g(document).on("changeParameter.cards", function(a, b, f, e) { if ("bg" === b) switch (b = a.target, jarallax && jarallax(b, "destroy"), b.style.position = "", g(a.target).find(".mbr-background-video-preview").remove(), g(a.target).find(".mbr-background-video").remove(), g(a.target).find(".mbr-background-video-wrapper").remove(), g(a.target).find(".mbr-fallback-image").remove(), e) { case "type": !0 === f.parallax && c(a.target); break; case "value": "image" === f.type && !0 === f.parallax && c(a.target); break; case "parallax": !0 === f.parallax && c(a.target) } g(window).trigger("update.parallax") }) } else c(document.body); window.addEventListener("shown.bs.tab", function() { window.dispatchEvent(new CustomEvent("update.parallax")) }) } var k, f, l = 0, m = null, n = !v(); window.addEventListener("scroll", function() { f && clearTimeout(f); var a = document.documentElement.scrollTop, b = a <= l || n; l = a; if (m) { var c = a > m.breakPoint; b ? c != m.fixed && (n ? (m.fixed = c, m.elm.classList.toggle("is-fixed")) : f = setTimeout(function() { m.fixed = c; m.elm.classList.toggle("is-fixed") }, 40)) : (m.fixed = !1, m.elm.classList.remove("is-fixed")) } }); if (t) g(document).on("add.cards delete.cards", function(a) { k && clearTimeout(k); k = setTimeout(function() { m && (m.fixed = !1, m.elm.classList.remove("is-fixed")); var a = document.querySelector(".mbr-fixed-top"); a && (m = { breakPoint: h(a).top + 3 * d(a), fixed: !1, elm: a }, a.dispatchEvent(new CustomEvent("scroll"))) }, 650) }); window.smartresize(function() { document.querySelectorAll(".mbr-embedded-video").forEach(function(a) { a.style.height = (q(a) * parseInt(a.getAttribute("height") || 315) / parseInt(a.getAttribute("width") || 560)).toFixed() + "px" }) }); if (t) g(document).on("add.cards", function(a) { document.querySelector("html").classList.contains("mbr-site-loaded") && b(a.target, "iframe").length && window.dispatchEvent(new CustomEvent("resize")) }); if (p) { if (!t) return; g(document).on("add.cards drag.cards", function(a) { e(a.target) }) } else e(document.body); if (p) g(document).on("changeParameter.cards", function(a, b, c, f) { if ("bg" === b) switch (f) { case "type": "video" === c.type && e(a.target); break; case "value": "video" === c.type && e(a.target) } }); document.querySelector("html").classList.add("mbr-site-loaded"); window.dispatchEvent(new CustomEvent("resize")); window.dispatchEvent(new CustomEvent("scroll")); p || document.addEventListener("click", function(a) { try { var b = a.target; if (!b.parents().some(function(a) { return a.classList.contains("carousel") })) { do if (b.hash) { var c = /#bottom|#top/g.test(b.hash); document.querySelectorAll(c ? "body" : b.hash).forEach(function(c) { a.preventDefault(); b.parents().some(function(a) { return a.classList.contains("navbar-fixed-top") }); var f = "#bottom" == b.hash && d(c) - window.innerHeight; c.classList.contains("panel-collapse") || c.classList.contains("tab-pane") || (f ? window.scrollTo({ top: f, left: 0, behavior: "smooth" }) : c.scrollIntoView()) }); break } while (b = b.parentNode) } } catch (J) {} }); document.querySelectorAll(".cols-same-height .mbr-figure").forEach(function(a) { function b() { c.style.width = ""; c.style.maxWidth = ""; c.style.marginLeft = ""; if (k && e) { var b = k / e; a.style.position = "absolute"; a.style.top = "0"; a.style.left = "0"; a.style.right = "0"; a.style.bottom = "0"; var g = d(f) / q(f); g > b && (b = 100 * (g - b) / b, c.style.width = b + 100 + "%", c.style.maxWidth = b + 100 + "%", c.style.marginLeft = -b / 2 + "%") } } var c = a.querySelector("img"), f = a.parentNode, e = c.width, k = c.height; c.addEventListener("load", function() { e = c.width; k = c.height; b() }, { once: !0 }); window.addEventListener("resize", b); b() }) }); if (!p) { if (t && g.fn.socialLikes) g(document).on("add.cards", function(a) { b(a.target, ".mbr-social-likes").forEach(function(a) { a.addEventListener("counter.social-likes", function(a, b, c) { 999 < c && a.target.querySelectorAll(".social-likes__counter").forEach(function(a) { a.innerHTML = Math.floor(c / 1E3) + "k" }) }); a.socialLikes({ initHtml: !1 }) }) }); Array.from(document.body.children).filter(function(a) { return !a.matches("style, script") }).forEach(function(a) { a.classList.contains("mbr-reveal") && a.addEventListener("add.cards", function() { a.footerReveal() }) }); l(function() { if (v()) { var a = this.querySelectorAll("section[data-bg-video]"); [].forEach.call(a, function(a) { (a = a.querySelector(".mbr-fallback-image")) && a.classList.remove("disabled") }) } else if (document.querySelectorAll("input[name=animation]").length) { a = function() { var a = document.documentElement.scrollTop || document.body.scrollTop, c = a + window.innerHeight - 100; d.forEach(function(f) { var d = f.offsetHeight, k = e(f); (k + d >= a && k - 50 <= c || b(f)) && f.classList.contains("hidden") && (f.classList.remove("hidden"), f.classList.add("animate__fadeInUp"), f.classList.add("animate__delay-1s"), f.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function() { f.classList.remove("animate__animated animate__delay-1s animate__fadeInUp") }, { once: !0 })) }) }; var b = function(a) { if (a.parents(".carousel-item").some(function(a) { return "none" !== getComputedStyle(a, null).display })) return !1; var b = a.parents(".carousel-item").parentNode; if (!b || b.querySelectorAll(".carousel-item.active .hidden.animate__animated").length) return !1; if (1 < b.getAttribute("data-visible")) { var c = b.getAttribute("data-visible"); if (a.parents().some(function(a) { return a.matches(".cloneditem-" + (c - 1)) }) && a.parents(".cloneditem-" + (c - 1)).some(function(a) { return a.getAttribute("data-cloned-index") >= c })) return !0; a.classList.remove("animate__animated animate__delay-1s hidden"); return !1 } return !0 }, e = function(a) { var b = 0; do b += a.offsetTop || 0, a = a.offsetParent; while (a); return b }; document.querySelectorAll("input[name=animation]").forEach(function(a) { a.remove() }); var d = Array.from(document.querySelectorAll("p, h1, h2, h3, h4, h5, a, button, small, img, li, blockquote, .mbr-author-name, em, label, input, select, textarea, .input-group, .form-control, .iconbox, .btn-social, .mbr-figure, .mbr-map, .mbr-testimonial .card-block, .mbr-price-value, .mbr-price-figure, .dataTable, .dataTables_info")); d = d.filter(function(a) { if (!a.parents().filter(function(a) { if (a.matches("a, p, .navbar, .mbr-arrow, footer, .iconbox, .mbr-slider, .mbr-gallery, .mbr-testimonial .card-block, #cookiesdirective, .mbr-wowslider, .accordion, .tab-content, .engine, #scrollToTop")) return !0 }).length) return !0 }); d = d.filter(function(a) { if (!a.parents().filter(function(b) { return b.matches("form") && !a.matches("li") }).length) return !0 }); d.forEach(function(a) { a.classList.add("hidden"); a.classList.add("animate__animated"); a.classList.add("animate__delay-1s") }); window.addEventListener("scroll", a); window.addEventListener("resize", a); window.dispatchEvent(new CustomEvent("scroll")) } }) } l(function() { if (document.querySelectorAll(".mbr-arrow-up").length) { var a = document.querySelector("#scrollToTop"); a.style.display = "none"; window.addEventListener("scroll", function() { window.scrollY > window.innerHeight ? r(a) : n(a) }); a.addEventListener("click", function() { window.scrollTo({ top: 0, left: 0, behavior: "smooth" }); return !1 }) } }); if (!p) { var u = document.querySelector(".mbr-arrow"); u && u.addEventListener("click", function(a) { a = a.target.closest("section").nextElementSibling; a.classList.contains("engine") && (a = a.closest("section").nextElementSibling); window.scrollTo(0, h(a).top) }) } document.querySelectorAll("nav.navbar").length && (u = d(document.querySelector("nav.navbar")), document.querySelector(".mbr-after-navbar.mbr-fullscreen") && (document.querySelector(".mbr-after-navbar.mbr-fullscreen").style.paddingTop = u + "px")); if (!p && (0 < window.navigator.userAgent.indexOf("MSIE ") || navigator.userAgent.match(/Trident.*rv:11\./))) g(document).on("add.cards", function(a) { var b = a.target; b.classList.contains("mbr-fullscreen") && (a = function() { b.style.height = "auto"; b.offsetHeight <= window.innerHeight && (b.style.height = "1px") }, window.addEventListener("load", a), window.addEventListener("resize", a)); if (b.classList.contains("mbr-slider") || b.classList.contains("mbr-gallery")) b.querySelectorAll(".carousel-indicators").forEach(function(a) { a.classList.add("ie-fix"); a.querySelectorAll("li").forEach(function(a) { a.style.display = "inline-block"; a.style.width = "30px" }) }), b.classList.contains("mbr-slider") && b.querySelectorAll(".full-screen .slider-fullscreen-image").forEach(function(a) { a.style.height = "1px" }) }); l(function() { if (!p) { var a = function(a) { b(a.target) }, b = function(b) { var c = b.parents("section")[0].querySelector("iframe"), d = c.getAttribute("src"); b.parents("section").forEach(function(a) { a.style.zIndex = "5000" }); - 1 !== d.indexOf("youtu") && c.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', "*"); if (-1 !== d.indexOf("vimeo")) { var e = new Vimeo.Player(c); e.play() } var g = b.parents("section")[0], h = g.querySelector(g.querySelector("[data-modal]").getAttribute("data-modal")); h.style.display = "table"; h.addEventListener("click", function() { -1 !== d.indexOf("youtu") && c.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', "*"); - 1 !== d.indexOf("vimeo") && e.pause(); h.style.display = "none"; h.removeEventListener("click", a); g.style.zIndex = "0" }) }; document.querySelectorAll(".modalWindow-video > iframe").forEach(function(a) { var b = a.getAttribute("data-src"); a.removeAttribute("data-src"); var c = b.match(/(http:\/\/|https:\/\/|)?(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/); - 1 !== b.indexOf("youtu") ? a.setAttribute("src", "https://youtube.com/embed/" + c[6] + "?rel=0&enablejsapi=1") : -1 !== b.indexOf("vimeo") && a.setAttribute("src", "https://player.vimeo.com/video/" + c[6] + "?autoplay=0&loop=0") }); document.querySelector("[data-modal]") && document.querySelector("[data-modal]").addEventListener("click", a) } }); if (!p) { u = document.querySelectorAll(".dropdown-toggle.show"); var z = document.querySelectorAll(".dropdown-menu.show, .dropdown.open"), I = document.querySelectorAll(".dropdown.open"); u.forEach(function(a) { a.classList.remove("show"); a.ariaExpanded = "false" }); z.forEach(function(a) { return a.classList.remove("show") }); I.forEach(function(a) { return a.classList.remove("open") }); !v() && (u = document.querySelector("section.menu")) && (z = window.innerWidth, !u.querySelector(".navbar").classList.contains("collapsed") && 991 < z && (u.querySelectorAll("ul.navbar-nav li.dropdown").forEach(function(a) { a.addEventListener("mouseenter", function() { a.classList.contains("open") || a.querySelector("a").dispatchEvent(new Event("click", { cancelable: !0 })) }); a.addEventListener("mouseleave", function() { a.classList.contains("open") && a.querySelector("a").dispatchEvent(new Event("click", { cancelable: !0 })) }) }), u.querySelectorAll("ul.navbar-nav li.dropdown .dropdown-menu .dropdown").forEach(function(a) { a.addEventListener("mouseover", function() { a.classList.contains("open") || (a.querySelector("a").dispatchEvent(new Event("click", { cancelable: !0 })), a.classList.add("open")) }); a.addEventListener("mouseout", function() { a.classList.contains("open") && (a.querySelector("a").dispatchEvent(new Event("click", { cancelable: !0 })), a.classList.remove("open")) }) }))) } p || ("undefined" === typeof window.initClientPlugin && 0 != document.body.querySelectorAll(".clients").length && (window.initClientPlugin = !0, document.body.querySelectorAll(".clients").forEach(function(a) { a.getAttribute("data-isinit") || (x(a), E(a)) })), "undefined" === typeof window.initPopupBtnPlugin && 0 != document.body.querySelectorAll("section.popup-btn-cards").length && (window.initPopupBtnPlugin = !0, document.querySelectorAll("section.popup-btn-cards .card-wrapper").forEach(function(a) { a.classList.add("popup-btn") })), "undefined" === typeof window.initTestimonialsPlugin && 0 != document.body.querySelectorAll(".testimonials-slider").length && (window.initTestimonialsPlugin = !0, document.querySelectorAll(".testimonials-slider").forEach(function(a) { x(a) })), "undefined" === typeof window.initSwitchArrowPlugin && (window.initSwitchArrowPlugin = !0, l(function() { 0 != document.querySelectorAll(".accordionStyles").length && document.querySelectorAll('.accordionStyles > .card > .card-header > a[role="button"]').forEach(function(a) { a.classList.contains("collapsed") || a.classList.add("collapsed") }) }), document.querySelectorAll('.accordionStyles > .card > .card-header > a[role="button"]').forEach(function(a) { a.addEventListener("click", function() { var b = a.closest(".accordionStyles").getAttribute("id"), d = a.closest(".card").querySelector(".panel-collapse"), g = a.querySelector("span.sign") ? a.querySelector("span.sign") : a.querySelector("span.mbr-iconfont"); !d.classList.contains("collapsing") || -1 == b.indexOf("toggle") && -1 == b.indexOf("accordion") || (a.classList.contains("collapsed") ? (g.classList.remove("mbri-arrow-up"), g.classList.add("mbri-arrow-down")) : (g.classList.remove("mbri-arrow-down"), g.classList.add("mbri-arrow-up")), -1 != b.indexOf("accordion") && (b = a.closest(".accordionStyles"), Array.from(b.children).filter(function(a) { return a.querySelector("span.sign") !== g }).forEach(function(a) { a = a.querySelector("span.sign") ? a.querySelector("span.sign") : a.querySelector("span.mbr-iconfont"); a.classList.remove("mbri-arrow-up"); a.classList.add("mbri-arrow-down") }))) }) })), 0 != document.querySelectorAll(".mbr-slider.carousel").length && document.querySelectorAll(".mbr-slider.carousel").forEach(function(a) { var b = a.querySelectorAll(".carousel-control"), d = a.querySelectorAll(".carousel-indicators li"), h = function(a) { a.stopPropagation(); a.preventDefault() }; a.addEventListener("slide.bs.carousel", function() { b.forEach(function(a) { a.addEventListener("click", h) }); d.forEach(function(a) { a.addEventListener("click", h) }); t && g(a).carousel({ keyboard: !1 }) }); a.addEventListener("slid.bs.carousel", function() { b.forEach(function(a) { a.removeEventListener("click", h) }); d.forEach(function(a) { a.removeEventListener("click", h) }); t && g(a).carousel({ keyboard: !0 }); 1 < a.querySelectorAll(".carousel-item.active").length && (a.querySelectorAll(".carousel-item.active")[1].classList.remove("active"), a.querySelectorAll(".carousel-control li.active")[1].classList.remove("active")) }) })); if (p) { if (!t) return; g(document).on("add.cards", function(a) { g(a.target).find(".form-with-styler").length && (a = g(a.target).find(".form-with-styler"), g(a).find('select:not("[multiple]")').each(function() { g(this).styler && g(this).styler() }), g(a).find("input[type=number]").each(function() { g(this).styler && (g(this).styler(), g(this).parent().parent().removeClass("form-control")) }), g(a).find("input[type=date]").each(function() { g(this).datetimepicker && g(this).datetimepicker({ format: "Y-m-d", timepicker: !1 }) }), g(a).find("input[type=time]").each(function() { g(this).datetimepicker && g(this).datetimepicker({ format: "H:i", datepicker: !1 }) })) }) } document.querySelectorAll('input[type="range"]').forEach(function(a) { a.addEventListener("change", function(a) { a.target.parents(".form-group").forEach(function(b) { b.querySelector(".value").innerHTML = a.target.value }) }) }); if (p) g(document).on("add.cards changeParameter.cards", function(a, b) { "undefined" !== typeof CircularProgressBar && new CircularProgressBar("pie_progress"); b ? G(a.target, b) : a.target.querySelectorAll(".pie_progress").length && a.target.querySelectorAll(".pie_progress").forEach(function(a) { B(a) }) }); else document.querySelectorAll(".pie_progress").length && ("undefined" !== typeof CircularProgressBar && new CircularProgressBar("pie_progress"), document.querySelectorAll(".pie_progress").forEach(function(a) { B(a) })); if (p && t) g(document).on("add.cards", function(a) { g(a.target).hasClass("testimonials-slider") && x(a.target) }).on("changeParameter.cards", function(a, b, d) { "testimonialsSlides" === b && 0 == g(a.target).find(".carousel-item.active").length && A(a.target) }); else "undefined" === typeof window.initTestimonialsPlugin && (window.initTestimonialsPlugin = !0, document.querySelectorAll(".testimonials-slider").forEach(function(a) { x(a) })); l(function() { p || Array.from(document.body.children).filter(function(a) { return !a.matches("style, script") }).forEach(function(a) { if (window.Event && "function" === typeof window.Event) var b = new Event("add.cards"); else b = document.createEvent("CustomEvent"), b.initEvent("add.cards", !0, !0); a.dispatchEvent(b) }) }) })();