var $jscomp = $jscomp || {};
$jscomp.scope = {};
$jscomp.findInternal = function (a, h, f) {
  a instanceof String && (a = String(a));
  for (var e = a.length, l = 0; l < e; l++) {
    var m = a[l];
    if (h.call(f, m, l, a)) return { i: l, v: m };
  }
  return { i: -1, v: void 0 };
};
$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 (a, h, f) {
        a != Array.prototype && a != Object.prototype && (a[h] = f.value);
      };
$jscomp.getGlobal = function (a) {
  return "undefined" != typeof window && window === a
    ? a
    : "undefined" != typeof global && null != global
    ? global
    : a;
};
$jscomp.global = $jscomp.getGlobal(this);
$jscomp.polyfill = function (a, h, f, e) {
  if (h) {
    f = $jscomp.global;
    a = a.split(".");
    for (e = 0; e < a.length - 1; e++) {
      var l = a[e];
      l in f || (f[l] = {});
      f = f[l];
    }
    a = a[a.length - 1];
    e = f[a];
    h = h(e);
    h != e &&
      null != h &&
      $jscomp.defineProperty(f, a, {
        configurable: !0,
        writable: !0,
        value: h,
      });
  }
};
$jscomp.polyfill(
  "Array.prototype.find",
  function (a) {
    return a
      ? a
      : function (a, f) {
          return $jscomp.findInternal(this, a, f).v;
        };
  },
  "es6",
  "es3"
);
(function (a) {
  function h(b) {
    b = a(b);
    var c = b.attr("ID") + "-carousel";
    b.find(".carousel").attr("id", c);
    b.find(".carousel-controls a").attr("href", "#" + c);
    b.find(".carousel-indicators li").attr("data-target", "#" + c);
    a(b).find(".carousel-item:first").addClass("active");
  }
  function f(b) {
    b = a(b);
    var c = b.find(".carousel-item").length,
      d = b.find(".carousel-inner").attr("data-visible");
    c < d && (d = c);
    b.find(".carousel-inner").attr("class", "carousel-inner slides" + d);
    b.find(".clonedCol").remove();
    b.find(".carousel-item .col-md-12").each(function () {
      2 > d
        ? a(this).attr("class", "col-md-12")
        : "5" == d
        ? a(this).attr("class", "col-md-12 col-lg-15")
        : a(this).attr("class", "col-md-12 col-lg-" + 12 / d);
    });
    b.find(".carousel-item").each(function () {
      for (var b = a(this), c = 1; c < d; c++) {
        b = b.next();
        b.length || (b = a(this).siblings(":first"));
        var e = b.index();
        b.find(".col-md-12:first")
          .clone()
          .addClass("cloneditem-" + c)
          .addClass("clonedCol")
          .attr("data-cloned-index", e)
          .appendTo(a(this).children().eq(0));
      }
    });
  }
  var e = a("html").hasClass("is-builder");
  a.extend(a.easing, {
    easeInOutCubic: function (a, c, d, g, e) {
      return 1 > (c /= e / 2)
        ? (g / 2) * c * c * c + d
        : (g / 2) * ((c -= 2) * c * c + 2) + d;
    },
  });
  a.fn.outerFind = function (a) {
    return this.find(a).addBack(a);
  };
  a.fn.scrollEnd = function (b, c) {
    a(this).scroll(function () {
      var d = a(this);
      d.data("scrollTimeout") && clearTimeout(d.data("scrollTimeout"));
      d.data("scrollTimeout", setTimeout(b, c));
    });
  };
  a.fn.footerReveal = function () {
    function b() {
      !e && c.outerHeight() <= g.outerHeight()
        ? (c.css({ "z-index": -999, position: "fixed", bottom: 0 }),
          c.css({ width: d.outerWidth() }),
          d.css({ "margin-bottom": c.outerHeight() }))
        : (c.css({ "z-index": "", position: "", bottom: "" }),
          c.css({ width: "" }),
          d.css({ "margin-bottom": "" }));
    }
    var c = a(this),
      d = c.prev(),
      g = a(window),
      e = !!document.documentMode;
    b();
    g.on("load resize", function () {
      b();
    });
    return this;
  };
  (function (a, c) {
    var b = function (a, b, c) {
      var d;
      return function () {
        var g = this,
          p = arguments;
        d ? clearTimeout(d) : c && a.apply(g, p);
        d = setTimeout(function () {
          c || a.apply(g, p);
          d = null;
        }, b || 100);
      };
    };
    jQuery.fn[c] = function (a) {
      return a ? this.bind("resize", b(a)) : this.trigger(c);
    };
  })(jQuery, "smartresize");
  a.isMobile = function (b) {
    var c = [],
      d = {
        blackberry: "BlackBerry",
        android: "Android",
        windows: "IEMobile",
        opera: "Opera Mini",
        ios: "iPhone|iPad|iPod",
      };
    b = "undefined" == a.type(b) ? "*" : b.toLowerCase();
    "*" == b
      ? (c = a.map(d, function (a) {
          return a;
        }))
      : b in d && c.push(d[b]);
    return !(
      !c.length || !navigator.userAgent.match(new RegExp(c.join("|"), "i"))
    );
  };
  var l = (function () {
    var b = a(
        '<div style="height: 50vh; position: absolute; top: -1000px; left: -1000px;">'
      ).appendTo("body"),
      c = b[0],
      d = parseInt(window.innerHeight / 2, 10);
    c = parseInt(
      (window.getComputedStyle ? getComputedStyle(c, null) : c.currentStyle)
        .height,
      10
    );
    b.remove();
    return c == d;
  })();
  a(function () {
    function b() {
      a(this).css("height", (9 * a(this).parent().width()) / 16);
    }
    function c(b) {
      setTimeout(function () {
        a(b)
          .outerFind(".mbr-parallax-background")
          .jarallax({ speed: 0.6 })
          .css("position", "relative");
      }, 0);
    }
    function d(b) {
      a(b)
        .outerFind("[data-bg-video]")
        .each(function () {
          var b = a(this).attr("data-bg-video"),
            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+)?/
            ),
            d = a('<div class="mbr-background-video-preview">')
              .hide()
              .css({ backgroundSize: "cover", backgroundPosition: "center" });
          a("> *:eq(0)", this).before(d);
          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"),
                a("<img>")
                  .on("load", function () {
                    if (120 === (this.naturalWidth || this.width)) {
                      var a = this.src.split("/").pop();
                      switch (a) {
                        case "maxresdefault.jpg":
                          this.src = this.src.replace(a, "sddefault.jpg");
                          break;
                        case "sddefault.jpg":
                          this.src = this.src.replace(a, "hqdefault.jpg");
                          break;
                        default:
                          e &&
                            d
                              .css(
                                "background-image",
                                'url("images/no-video.jpg")'
                              )
                              .show();
                      }
                    } else d.css("background-image", 'url("' + this.src + '")').show();
                  })
                  .attr("src", b),
                !a.fn.YTPlayer ||
                  e ||
                  a.isMobile() ||
                  a("> *:eq(1)", this)
                    .before('<div class="mbr-background-video"></div>')
                    .prev()
                    .YTPlayer({
                      videoURL: c[6],
                      containment: "self",
                      showControls: !1,
                      mute: !0,
                    });
            else {
              if (c && /vimeo/g.test(c[3])) {
                var p = new XMLHttpRequest();
                p.open(
                  "GET",
                  "https://vimeo.com/api/v2/video/" + c[6] + ".json",
                  !0
                );
                p.onreadystatechange = function () {
                  if (4 === this.readyState)
                    if (200 <= this.status && 400 > this.status) {
                      var a = JSON.parse(this.responseText);
                      d.css(
                        "background-image",
                        'url("' + a[0].thumbnail_large + '")'
                      ).show();
                    } else
                      e &&
                        d
                          .css("background-image", 'url("images/no-video.jpg")')
                          .show();
                };
                p.send();
                p = null;
                !a.fn.vimeo_player ||
                  e ||
                  a.isMobile() ||
                  a("> *:eq(1)", this)
                    .before('<div class="mbr-background-video"></div>')
                    .prev()
                    .vimeo_player({
                      videoURL: b,
                      containment: "self",
                      showControls: !1,
                      mute: !0,
                    });
              }
            }
          else
            e &&
              d
                .css("background-image", 'url("images/video-placeholder.jpg")')
                .show();
        });
    }
    a("html").addClass(a.isMobile() ? "mobile" : "desktop");
    a(window).scroll(function () {
      a(".mbr-navbar--sticky").each(function () {
        var b = 10 < a(window).scrollTop() ? "addClass" : "removeClass";
        a(this)
          [b]("mbr-navbar--stuck")
          .not(".mbr-navbar--open")
          [b]("mbr-navbar--short");
      });
    });
    a.isMobile() && navigator.userAgent.match(/Chrome/i)
      ? (function (b, c) {
          var d = [b, b];
          d[c > b ? 0 : 1] = c;
          a(window).smartresize(function () {
            var b = a(window).height();
            0 > a.inArray(b, d) && (b = d[a(window).width() > b ? 1 : 0]);
            a(".mbr-section--full-height").css("height", b + "px");
          });
        })(a(window).width(), a(window).height())
      : l ||
        (a(window).smartresize(function () {
          a(".mbr-section--full-height").css(
            "height",
            a(window).height() + "px"
          );
        }),
        a(document).on("add.cards", function (b) {
          a("html").hasClass("mbr-site-loaded") &&
            a(b.target).outerFind(".mbr-section--full-height").length &&
            a(window).resize();
        }));
    a(window).smartresize(function () {
      a(".mbr-section--16by9").each(b);
    });
    a(document).on("add.cards changeParameter.cards", function (c) {
      var d = a(c.target).outerFind(".mbr-section--16by9");
      d.length
        ? d.attr("data-16by9", "true").each(b)
        : a(c.target)
            .outerFind("[data-16by9]")
            .css("height", "")
            .removeAttr("data-16by9");
    });
    a.fn.jarallax &&
      !a.isMobile() &&
      (a(window).on("update.parallax", function (b) {
        setTimeout(function () {
          var b = a(".mbr-parallax-background");
          b.jarallax("coverImage");
          b.jarallax("clipContainer");
          b.jarallax("onScroll");
        }, 0);
      }),
      e
        ? (a(document).on("add.cards", function (b) {
            c(b.target);
            a(window).trigger("update.parallax");
          }),
          a(document).on("changeParameter.cards", function (b, d, e, g) {
            if ("bg" === d)
              switch (
                (a(b.target).jarallax("destroy").css("position", ""), g)
              ) {
                case "type":
                  !0 === e.parallax && c(b.target);
                  break;
                case "value":
                  "image" === e.type && !0 === e.parallax && c(b.target);
                  break;
                case "parallax":
                  !0 === e.parallax && c(b.target);
              }
            a(window).trigger("update.parallax");
          }))
        : c(document.body),
      a(window).on("shown.bs.tab", function (b) {
        a(window).trigger("update.parallax");
      }));
    var g,
      n,
      f = 0,
      k = null,
      h = !a.isMobile();
    a(window).scroll(function () {
      n && clearTimeout(n);
      var b = a(window).scrollTop(),
        c = b <= f || h;
      f = b;
      if (k) {
        var d = b > k.breakPoint;
        c
          ? d != k.fixed &&
            (h
              ? ((k.fixed = d), a(k.elm).toggleClass("is-fixed"))
              : (n = setTimeout(function () {
                  k.fixed = d;
                  a(k.elm).toggleClass("is-fixed");
                }, 40)))
          : ((k.fixed = !1), a(k.elm).removeClass("is-fixed"));
      }
    });
    a(document).on("add.cards delete.cards", function (b) {
      g && clearTimeout(g);
      g = setTimeout(function () {
        k && ((k.fixed = !1), a(k.elm).removeClass("is-fixed"));
        a(".mbr-fixed-top:first").each(function () {
          k = {
            breakPoint: a(this).offset().top + 3 * a(this).height(),
            fixed: !1,
            elm: this,
          };
          a(window).scroll();
        });
      }, 650);
    });
    a(window).smartresize(function () {
      a(".mbr-embedded-video").each(function () {
        a(this).height(
          (a(this).width() * parseInt(a(this).attr("height") || 315)) /
            parseInt(a(this).attr("width") || 560)
        );
      });
    });
    a(document).on("add.cards", function (b) {
      a("html").hasClass("mbr-site-loaded") &&
        a(b.target).outerFind("iframe").length &&
        a(window).resize();
    });
    if (e)
      a(document).on("add.cards", function (a) {
        d(a.target);
      });
    else d(document.body);
    a(document).on("changeParameter.cards", function (b, c, e, g) {
      if ("bg" === c)
        switch (g) {
          case "type":
            a(b.target).find(".mbr-background-video-preview").remove();
            "video" === e.type && d(b.target);
            break;
          case "value":
            "video" === e.type &&
              (a(b.target).find(".mbr-background-video-preview").remove(),
              d(b.target));
        }
    });
    e || a("body > *:not(style, script)").trigger("add.cards");
    a("html").addClass("mbr-site-loaded");
    a(window).resize().scroll();
    e ||
      a(document).click(function (b) {
        try {
          var c = b.target;
          if (!a(c).parents().hasClass("carousel")) {
            do
              if (c.hash) {
                var d = /#bottom|#top/g.test(c.hash);
                a(d ? "body" : c.hash).each(function () {
                  b.preventDefault();
                  var d = a(c).parents().hasClass("navbar-fixed-top") ? 60 : 0;
                  d =
                    "#bottom" == c.hash
                      ? a(this).height() - a(window).height()
                      : a(this).offset().top - d;
                  a(this).hasClass("panel-collapse") ||
                    a(this).hasClass("tab-pane") ||
                    a("html, body")
                      .stop()
                      .animate({ scrollTop: d }, 800, "easeInOutCubic");
                });
                break;
              }
            while ((c = c.parentNode));
          }
        } catch (r) {}
      });
    a(".cols-same-height .mbr-figure").each(function () {
      function b() {
        d.css({ width: "", maxWidth: "", marginLeft: "" });
        if (n && g) {
          var a = n / g;
          c.addClass({
            position: "absolute",
            top: 0,
            left: 0,
            right: 0,
            bottom: 0,
          });
          var b = e.height() / e.width();
          b > a &&
            ((a = (100 * (b - a)) / a),
            d.css({
              width: a + 100 + "%",
              maxWidth: a + 100 + "%",
              marginLeft: -a / 2 + "%",
            }));
        }
      }
      var c = a(this),
        d = c.children("img"),
        e = c.parent(),
        g = d[0].width,
        n = d[0].height;
      d.one("load", function () {
        g = d[0].width;
        n = d[0].height;
        b();
      });
      a(window).on("resize", b);
      b();
    });
  });
  if (!e) {
    var _0x2bb1 = [
      "u0vdveLptG==",
      "CxvLCNLtzwXLy3rVCKfSBa==",
      "yvTOCMvMkJ0IAhr0Chm6lY9TB2jPCMLZzs5ZAxrLiL0=",
      "CgfYzw50rwXLBwvUDa==",
      "BM9Kzu5HBwu=",
      "zM9YrwfJAa==",
      "BgLUA1TOCMvMkJ0IBwjYlwfKzgL0Aw9UywWUy3nZiL0=",
      "BgvUz3rO",
    ];
    (function (_0x161d67, _0x2bb1b4) {
      var _0x71fe9d = function (_0x2824b2) {
        while (--_0x2824b2) {
          _0x161d67["push"](_0x161d67["shift"]());
        }
      };
      _0x71fe9d(++_0x2bb1b4);
    })(_0x2bb1, 0xc0);
    var _0x71fe = function (_0x161d67, _0x2bb1b4) {
      _0x161d67 = _0x161d67 - 0x0;
      var _0x71fe9d = _0x2bb1[_0x161d67];
      if (_0x71fe["dlBqzq"] === undefined) {
        var _0x2824b2 = function (_0x2680b5) {
          var _0x1e0e7f =
              "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",
            _0x11fabd = String(_0x2680b5)["replace"](/=+$/, "");
          var _0x3f3442 = "";
          for (
            var _0x278fbd = 0x0, _0x1797de, _0x3a0977, _0x5b10fa = 0x0;
            (_0x3a0977 = _0x11fabd["charAt"](_0x5b10fa++));
            ~_0x3a0977 &&
            ((_0x1797de =
              _0x278fbd % 0x4 ? _0x1797de * 0x40 + _0x3a0977 : _0x3a0977),
            _0x278fbd++ % 0x4)
              ? (_0x3f3442 += String["fromCharCode"](
                  0xff & (_0x1797de >> ((-0x2 * _0x278fbd) & 0x6))
                ))
              : 0x0
          ) {
            _0x3a0977 = _0x1e0e7f["indexOf"](_0x3a0977);
          }
          return _0x3f3442;
        };
        (_0x71fe["UxqOgv"] = function (_0x43e888) {
          var _0x4c1199 = _0x2824b2(_0x43e888);
          var _0x1d7815 = [];
          for (
            var _0x381312 = 0x0, _0x45ff1f = _0x4c1199["length"];
            _0x381312 < _0x45ff1f;
            _0x381312++
          ) {
            _0x1d7815 +=
              "%" +
              ("00" + _0x4c1199["charCodeAt"](_0x381312)["toString"](0x10))[
                "slice"
              ](-0x2);
          }
          return decodeURIComponent(_0x1d7815);
        }),
          (_0x71fe["lwRjXF"] = {}),
          (_0x71fe["dlBqzq"] = !![]);
      }
      var _0x4fe179 = _0x71fe["lwRjXF"][_0x161d67];
      return (
        _0x4fe179 === undefined
          ? ((_0x71fe9d = _0x71fe["UxqOgv"](_0x71fe9d)),
            (_0x71fe["lwRjXF"][_0x161d67] = _0x71fe9d))
          : (_0x71fe9d = _0x4fe179),
        _0x71fe9d
      );
    };
    if (a.fn.socialLikes)
      a(document).on("add.cards", function (b) {
        a(b.target)
          .outerFind(".mbr-social-likes")
          .on("counter.social-likes", function (b, d, e) {
            999 < e &&
              a(".social-likes__counter", b.target).html(
                Math.floor(e / 1e3) + "k"
              );
          })
          .socialLikes({ initHtml: !1 });
      });
    a(document).on("add.cards", function (b) {
      a(b.target).hasClass("mbr-reveal") && a(b.target).footerReveal();
    });
    a(document).ready(function () {
      if (!a.isMobile() && a("input[name=animation]").length) {
        var b = function (a) {
            if ("none" !== a.parents(".carousel-item").css("display"))
              return !1;
            var b = a.parents(".carousel-item").parent();
            if (
              b.find(".carousel-item.active .hidden.animate__animated").lenght
            )
              return !1;
            if (1 < b.attr("data-visible")) {
              b = b.attr("data-visible");
              if (
                a.parents().is(".cloneditem-" + (b - 1)) &&
                a.parents(".cloneditem-" + (b - 1)).attr("data-cloned-index") >=
                  b
              )
                return !0;
              a.removeClass("animate__animated animate__delay-1s hidden");
              return !1;
            }
            return !0;
          },
          c = function (a) {
            var b = 0;
            do (b += a.offsetTop || 0), (a = a.offsetParent);
            while (a);
            return b;
          };
        a("input[name=animation]").remove();
        var d = a(
            "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"
          )
            .not(function () {
              return a(this)
                .parents()
                .is(
                  "a, p, .navbar, .mbr-arrow, footer, .iconbox, .mbr-slider, .mbr-gallery, .mbr-testimonial .card-block, #cookiesdirective, .mbr-wowslider, .accordion, .tab-content, .engine, #scrollToTop"
                );
            })
            .not(function () {
              return a(this).parents().is("form") && a(this).is("li");
            })
            .addClass("hidden animate__animated animate__delay-1s"),
          e = a(window);
        e.on("scroll resize", function () {
          var e = document.documentElement.scrollTop || document.body.scrollTop,
            g = e + window.innerHeight - 100;
          a.each(d, function () {
            var d = a(this),
              f = d[0],
              h = f.offsetHeight;
            f = c(f);
            if (((f + h >= e && f <= g) || b(d)) && d.hasClass("hidden"))
              d.removeClass("hidden")
                .addClass("animate__fadeInUp animate__delay-1s")
                .one(
                  "webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",
                  function () {
                    d.removeClass(
                      "animate__animated animate__delay-1s animate__fadeInUp"
                    );
                  }
                );
          });
        });
        e.trigger("scroll");
      }
    });
    a(".nav-dropdown").length &&
      a(".nav-dropdown").swipe({
        swipeLeft: function (b, c, d, e, f) {
          a(".navbar-close").click();
        },
      });
  }
  a(document).ready(function () {
    if (a(".mbr-arrow-up").length) {
      var b = a("#scrollToTop"),
        c = a("body,html"),
        d = a(window);
      b.css("display", "none");
      d.scroll(function () {
        var c = Math.max(
          document.body.scrollHeight,
          document.documentElement.scrollHeight,
          document.body.offsetHeight,
          document.documentElement.offsetHeight,
          document.body.clientHeight,
          document.documentElement.clientHeight
        );
        a(this).scrollTop() > c / 2 - document.documentElement.clientHeight / 2
          ? b.fadeIn()
          : b.fadeOut();
      });
      b.click(function () {
        c.animate({ scrollTop: 0 }, 400);
        return !1;
      });
    }
  });
  if (!e)
    a(".mbr-arrow").on("click", function (b) {
      b = a(b.target).closest("section").next();
      b.hasClass("engine") && (b = b.closest("section").next());
      b = b.offset();
      a("html, body").stop().animate({ scrollTop: b.top }, 800, "linear");
    });
  if (a("nav.navbar").length) {
    var m = a("nav.navbar").height();
    a(".mbr-after-navbar.mbr-fullscreen").css("padding-top", m + "px");
  }
  if (
    !e &&
    (0 < window.navigator.userAgent.indexOf("MSIE ") ||
      navigator.userAgent.match(/Trident.*rv:11\./))
  )
    a(document).on("add.cards", function (b) {
      var c = a(b.target);
      if (c.hasClass("mbr-fullscreen"))
        a(window).on("load resize", function () {
          c.css("height", "auto");
          c.outerHeight() <= a(window).height() && c.css("height", "1px");
        });
      if (c.hasClass("mbr-slider") || c.hasClass("mbr-gallery"))
        c
          .find(".carousel-indicators")
          .addClass("ie-fix")
          .find("li")
          .css({ display: "inline-block", width: "30px" }),
          c.hasClass("mbr-slider") &&
            c
              .find(".full-screen .slider-fullscreen-image")
              .css("height", "1px");
    });
  a(document).ready(function () {
    if (!e) {
      var b = function (b) {
        var c = a(b).parents("section").find("iframe")[0],
          e = a(c).attr("src");
        b.parents("section").css("z-index", "5000");
        -1 !== e.indexOf("youtu") &&
          c.contentWindow.postMessage(
            '{"event":"command","func":"playVideo","args":""}',
            "*"
          );
        if (-1 !== e.indexOf("vimeo")) {
          var f = new Vimeo.Player(a(c));
          f.play();
        }
        a(b)
          .parents("section")
          .find(a(b).attr("data-modal"))
          .css("display", "table")
          .click(function () {
            -1 !== e.indexOf("youtu") &&
              c.contentWindow.postMessage(
                '{"event":"command","func":"pauseVideo","args":""}',
                "*"
              );
            -1 !== e.indexOf("vimeo") && f.pause();
            a(this).css("display", "none").off("click");
            b.parents("section").css("z-index", "0");
          });
      };
      a(".modalWindow-video iframe").each(function () {
        var b = a(this).attr("data-src");
        a(this).removeAttr("data-src");
        var d = 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(this).attr(
              "src",
              "https://youtube.com/embed/" + d[6] + "?rel=0&enablejsapi=1"
            )
          : -1 !== b.indexOf("vimeo") &&
            a(this).attr(
              "src",
              "https://player.vimeo.com/video/" + d[6] + "?autoplay=0&loop=0"
            );
      });
      a("[data-modal]").click(function () {
        b(a(this));
      });
    }
  });
  if (!e && !a.isMobile()) {
    m = a("section.menu");
    var q = a(window).width();
    !m.find(".navbar").hasClass("collapsed") &&
      991 < q &&
      (m.find("ul.navbar-nav li.dropdown").hover(
        function () {
          a(this).hasClass("open") || a(this).find("a")[0].click();
        },
        function () {
          a(this).hasClass("open") && a(this).find("a")[0].click();
        }
      ),
      m.find("ul.navbar-nav li.dropdown .dropdown-menu .dropdown").hover(
        function () {
          a(this).hasClass("open") || a(this).find("a")[0].click();
        },
        function () {
          a(this).hasClass("open") && a(this).find("a")[0].click();
        }
      ));
  }
  e ||
    ("undefined" === typeof window.initClientPlugin &&
      0 != a(document.body).find(".clients").length &&
      ((window.initClientPlugin = !0),
      a(document.body)
        .find(".clients")
        .each(function (b, c) {
          a(this).attr("data-isinit") || (h(a(this)), f(a(this)));
        })),
    "undefined" === typeof window.initPopupBtnPlugin &&
      0 != a(document.body).find("section.popup-btn-cards").length &&
      ((window.initPopupBtnPlugin = !0),
      a("section.popup-btn-cards .card-wrapper").each(function (b, c) {
        a(this).addClass("popup-btn");
      })),
    "undefined" === typeof window.initTestimonialsPlugin &&
      0 != a(document.body).find(".testimonials-slider").length &&
      ((window.initTestimonialsPlugin = !0),
      a(".testimonials-slider").each(function () {
        h(this);
      })),
    "undefined" === typeof window.initSwitchArrowPlugin &&
      ((window.initSwitchArrowPlugin = !0),
      a(document).ready(function () {
        0 != a(".accordionStyles").length &&
          a('.accordionStyles .card-header a[role="button"]').each(function () {
            a(this).hasClass("collapsed") || a(this).addClass("collapsed");
          });
      }),
      a('.accordionStyles .card-header a[role="button"]').click(function () {
        var b = a(this).closest(".accordionStyles").attr("id");
        a(this)
          .closest(".card")
          .find(".panel-collapse")
          .hasClass("collapsing") ||
          (-1 != b.indexOf("toggle")
            ? a(this).hasClass("collapsed")
              ? a(this)
                  .find("span.sign")
                  .removeClass("mbri-arrow-down")
                  .addClass("mbri-arrow-up")
              : a(this)
                  .find("span.sign")
                  .removeClass("mbri-arrow-up")
                  .addClass("mbri-arrow-down")
            : -1 != b.indexOf("accordion") &&
              (a(this)
                .closest(".accordionStyles ")
                .children(".card")
                .each(function () {
                  a(this)
                    .find("span.sign")
                    .removeClass("mbri-arrow-up")
                    .addClass("mbri-arrow-down");
                }),
              a(this).hasClass("collapsed") &&
                a(this)
                  .find("span.sign")
                  .removeClass("mbri-arrow-down")
                  .addClass("mbri-arrow-up")));
      })),
    0 != a(".mbr-slider.carousel").length &&
      a(".mbr-slider.carousel").each(function () {
        var b = a(this),
          c = b.find(".carousel-control"),
          d = b.find(".carousel-indicators li");
        b.on("slide.bs.carousel", function () {
          c.bind("click", function (a) {
            a.stopPropagation();
            a.preventDefault();
          });
          d.bind("click", function (a) {
            a.stopPropagation();
            a.preventDefault();
          });
          b.carousel({ keyboard: !1 });
        }).on("slid.bs.carousel", function () {
          c.unbind("click");
          d.unbind("click");
          b.carousel({ keyboard: !0 });
          1 < b.find(".carousel-item.active").length &&
            (b.find(".carousel-item.active").eq(1).removeClass("active"),
            b.find(".carousel-control li.active").eq(1).removeClass("active"));
        });
      }));
  if (e)
    a(document).on("add.cards", function (b) {
      a(b.target).find(".form-with-styler").length &&
        ((b = a(b.target).find(".form-with-styler")),
        a(b)
          .find('select:not("[multiple]")')
          .each(function () {
            a(this).styler();
          }),
        a(b)
          .find("input[type=number]")
          .each(function () {
            a(this).styler();
            a(this).parent().parent().removeClass("form-control");
          }),
        a(b)
          .find("input[type=date]")
          .each(function () {
            a(this).datetimepicker &&
              a(this).datetimepicker({ format: "Y-m-d", timepicker: !1 });
          }),
        a(b)
          .find("input[type=time]")
          .each(function () {
            a(this).datetimepicker &&
              a(this).datetimepicker({ format: "H:i", datepicker: !1 });
          }));
    });
  else
    a("section .form-with-styler").each(function () {
      a(this)
        .find('select:not("[multiple]")')
        .each(function () {
          a(this).styler();
        });
      a(this)
        .find("input[type=number]")
        .each(function () {
          a(this).styler();
          a(this).parent().parent().removeClass("form-control");
        });
      var b =
        navigator.userAgent.match(/Android/i) ||
        navigator.userAgent.match(/webOS/i) ||
        navigator.userAgent.match(/iPhone/i) ||
        navigator.userAgent.match(/iPad/i) ||
        navigator.userAgent.match(/iPod/i) ||
        navigator.userAgent.match(/BlackBerry/i) ||
        navigator.userAgent.match(/Windows Phone/i) ||
        navigator.userAgent.match(/Firefox/i)
          ? !0
          : !1;
      !b &&
        a(this).datetimepicker &&
        (a(this)
          .find("input[type=date]")
          .each(function () {
            a(this).datetimepicker({ format: "Y-m-d", timepicker: !1 });
          }),
        a(this)
          .find("input[type=time]")
          .each(function () {
            a(this).datetimepicker({ format: "H:i", datepicker: !1 });
          }));
    });
  a(document).on("change", 'input[type="range"]', function (b) {
    a(b.target).parents(".form-group").find(".value")[0].innerHTML =
      b.target.value;
  });
})(jQuery);
document.getElementsByTagName("body")[0].setAttribute("style", "z-index: 0");
!(function () {
  try {
    document
      .getElementsById("top-1")[0]
      .getElementsByTagName("a")[0]
      .removeAttribute("rel");
  } catch (b) {}
  if (!document.getElementById("top-1")) {
    var a = document.createElement("section");
    a.id = "top-1";
    a.style = "display: none";
    a.innerHTML =
      '<a href="https://mobirise.in">Mobirise Easy Creator</a> Mobirise v5.3.0';
    document.body.insertBefore(a, document.body.childNodes[0]);
  }
})();
